/* Tactile faces; dimensions and game colours remain controlled by each game. */
.common-ground-page #board{position:relative;display:block!important;width:100%;isolation:isolate}.common-ground-page #board .plot{position:absolute;aspect-ratio:auto;min-height:0;min-width:0;border:0!important;border-radius:0;background:none!important;padding:0;box-shadow:none!important;pointer-events:none;outline-offset:-2px}.common-ground-page #board .plot svg{display:block;width:100%;height:100%;overflow:visible;filter:none;pointer-events:none}.common-ground-page #board .plot svg path,.common-ground-page #board .plot svg image,.common-ground-page #board .plot svg text,.common-ground-page #board .plot svg circle{pointer-events:visiblePainted}.common-ground-page #board .plot.empty svg>path{opacity:.35}.common-ground-page #board .plot.legal svg>path{opacity:.85}.common-ground-page #board .plot.legal svg{filter:drop-shadow(0 0 3px #a8d985)}.common-ground-page #board .plot strong{bottom:9%;left:42%;font-size:9px;pointer-events:none}.common-ground-page #board .claim{bottom:18%;left:18%;right:18%;font-size:8px;pointer-events:none}.common-ground-page #board .plot.burnt svg{filter:grayscale(1) brightness(.65)}body.cg-playing .stage,body.cg-playing:has(#role-cards:not([hidden])) .stage{width:min(100%,calc((100dvh - 280px)*1.65))}.common-ground-page .world-options>label:has(#events){display:flex;align-items:center;gap:10px;min-height:48px}.common-ground-page #events{width:24px;height:24px;flex:none;accent-color:#9dc47d}.common-ground-page .stage{overflow:visible}
body.cg-playing #role-cards{position:static!important;top:auto!important}body.cg-playing .role-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center}body.cg-playing .role-card small,body.cg-playing .role-card h2,body.cg-playing .role-card p{grid-column:1;margin:0}body.cg-playing .role-card h2{font-size:22px}body.cg-playing .role-card button{grid-column:2;grid-row:1/4}body.cg-playing .role-card strong{grid-column:2;font-size:12px}body.cg-playing:has(#role-cards:not([hidden])) #rack{display:none}
.common-ground-page [hidden]{display:none!important}body.cg-playing #role-cards{order:1;position:sticky;top:0;z-index:3;background:#102c32;padding:8px;border-radius:10px}body.cg-playing #stats{order:0}body.cg-playing:has(#role-cards:not([hidden])) .stage{width:min(100%,calc(100dvh - 320px))}body.cg-playing:has(#role-cards:not([hidden])) #rotate,body.cg-playing:has(#role-cards:not([hidden])) #hint{display:none}body.cg-playing .role-card>strong{margin-right:14px}body.cg-playing .role-card .control{min-height:40px;padding:8px 12px}body.cg-playing .role-card p{font-size:13px}body.cg-playing .scoreboard{margin-bottom:6px}body.cg-playing .scoreboard span{padding:4px 10px}
.sudoku-tap-tools p{color:#f4eed9!important;-webkit-text-fill-color:#f4eed9!important}body.cg-playing #start-play{display:none}body.cg-playing .role-card{border-width:2px;box-shadow:inset 0 0 0 3px #f6eed9,0 5px 0 #6c7c5d}.common-ground-page #role-cards>p{font-size:13px;color:#ecdfbc}.common-ground-page .plot .claim{line-height:1.3;font-weight:700}.common-ground-page .plot.burnt .claim{background:#623e38;color:#fff0d7}
.common-ground-page #brief small{color:#34513d;font-size:13px;line-height:1.7}.common-ground-page #brief strong{color:#233c30}
html body a.cg-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid #8dab84;border-radius:5px 13px;background:#24483f;color:#f1efd9!important;-webkit-text-fill-color:#f1efd9!important;text-decoration:none;font:600 12px/1.3 system-ui;white-space:nowrap;box-sizing:border-box}
@media(max-width:650px){.universe-page .universe-header{flex-wrap:wrap}.universe-page .universe-header nav{max-width:none;width:100%;justify-content:flex-start;align-items:center;gap:10px 14px}.universe-page .universe-header nav>a{min-height:44px;display:inline-flex;align-items:center}}
body[data-play-game="chroma"] #board .cell,body[data-play-game="sudoku"] #board .cell{box-shadow:inset 0 1px 1px #ffffff55,inset 0 -2px 2px #162a2320}
body[data-play-game="chroma"] #board .token.pigment{box-shadow:inset 0 3px 3px #ffffff66,inset 0 -4px 4px #081e2d44,0 3px 4px #102d322a!important}
body[data-play-game="wordloom"] .loom-tile:not(.gone){box-shadow:inset 0 2px #fff9df,inset 0 0 0 3px #c7c4a344,0 5px 0 #6c7b60,0 10px 18px #06182044!important}
body[data-play-game="cross"] #board button,body[data-play-game="mind"] .answer,body[data-play-game="logic"] .sudoku .cell{box-shadow:inset 0 2px 2px #ffffff44,inset 0 -2px 2px #15302b22}
@media(prefers-reduced-motion:no-preference){body[data-play-game="wordloom"] .loom-tile:not(.gone):active{transform:translateY(2px)}}
