/* The basement: brick, felt, a bare bulb. Shared by the room and the three games. */
.bsmt{max-width:1120px;padding-bottom:calc(120px + env(safe-area-inset-bottom))}
.bsmt [hidden]{display:none!important}
.bsmt h2{font:400 24px/1.1 var(--f-word);margin:0 0 8px}

.code{display:grid;gap:8px;margin:24px 0;padding:16px 18px;border-radius:14px;border:2px solid #e0b15a;background:linear-gradient(180deg,rgba(224,177,90,.14),rgba(11,6,16,.3))}
.code__lbl{font:400 19px/1 var(--f-led);letter-spacing:.14em;color:#e0b15a}
.code__slots{display:flex;flex-wrap:wrap;gap:10px}
.code__slots span{min-width:96px;padding:8px 12px;border-radius:8px;background:#0b0610;border:2px solid #6b4a12;color:#6d5a44;font:400 34px/1 var(--f-led);letter-spacing:.08em;text-align:center}
.code__slots span.is-found{color:#ffd23d;border-color:#e0b15a;box-shadow:0 0 14px rgba(255,210,61,.35)}
.code__say{font-size:15px;color:#e6d6bd;min-height:22px}.code__say a{color:var(--lime)}

.stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.st,.board{display:grid;gap:10px;align-content:start;padding:16px;border-radius:16px;border:1px solid rgba(255,79,163,.3);background:linear-gradient(180deg,#3a1d1a,#22100f)}
.st h2{color:#f5e9d6}
.st__lore{font-size:15px;line-height:1.45;color:#e2cfc4}
.st__best{font:400 20px/1.2 var(--f-led);letter-spacing:.05em;color:#ffb347}.st__best b{font-weight:400;color:#fff}
.st .btn{justify-self:start}
.st__art{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0b0610}
.st__art--pool{background:#1f6b3a;border:12px solid #5a3418;box-shadow:inset 0 0 40px rgba(0,0,0,.5)}
.st__art--pool::before{content:"";position:absolute;left:50%;top:6%;bottom:6%;width:2px;background:rgba(182,255,90,.18)}
.st__art--pool i{position:absolute;width:9%;aspect-ratio:1;border-radius:50%;box-shadow:inset -3px -4px 6px rgba(0,0,0,.4)}
.st__art--pool i:nth-child(1){left:22%;top:44%;background:#f5e9d6}.st__art--pool i:nth-child(2){left:64%;top:30%;background:#ff4fa3}
.st__art--pool i:nth-child(3){left:72%;top:46%;background:#ffb347}.st__art--pool i:nth-child(4){left:64%;top:60%;background:#6ff3ff}
.st__art--cube{display:grid;place-items:end center;padding:10px;background:linear-gradient(180deg,#111 0,#111 62%,#0d2a12 62%);border:3px solid #1f6b3a}
.st__art--cube::before{content:"";position:absolute;left:12%;right:12%;top:10%;height:46%;border-radius:8px;border:3px solid #333;
  background:repeating-conic-gradient(#ff4fa3 0 25%,#b6ff5a 0 50%,#ffb347 0 75%,#6ff3ff 0) 0 0/25% 50%;opacity:.85}
.st__art--cube span{position:relative;padding:4px 8px;background:#f5e9d6;color:#2a2018;font:400 15px/1 var(--f-led);letter-spacing:.06em;rotate:-2deg}
.st__art--darts{display:grid;place-items:center;align-content:center;gap:6px;background:#22100f}
.st__art--darts b{font:400 17px/1 var(--f-word);letter-spacing:.08em;color:#ff4fa3;font-weight:400}.st__art--darts b:last-child{color:#f5e9d6}
.st__art--darts i{width:38%;aspect-ratio:1;border-radius:50%;border:5px solid #111;
  background:radial-gradient(circle,#b6ff5a 0 6%,#ff4fa3 6% 12%,transparent 12%),repeating-conic-gradient(from -9deg,#1a1a1a 0 18deg,#f5e9d6 18deg 36deg)}
.st__date{justify-self:start;min-height:44px;padding:8px 12px;border-radius:6px;border:2px solid #6b4a12;background:linear-gradient(180deg,#f3d58a,#b98a2f);color:#2a1808;font:400 18px/1.1 var(--f-led);letter-spacing:.07em;text-align:left;cursor:pointer}
.st__date--crt{background:#0f1f0c;border-color:#1f6b3a;color:#b6ff5a;white-space:pre-wrap}
.st__date.is-found{box-shadow:0 0 0 3px #b6ff5a}
.board{border-color:#e0b15a;background:#16100c}
.board h2{color:#e0b15a}
.board dl{margin:0;display:grid;gap:10px;font:400 20px/1.25 var(--f-led);letter-spacing:.04em}
.board dt{color:#ff4fa3}.board dd{margin:0;display:flex;gap:8px;color:#f5e9d6}
.board dd i{flex:1;border-bottom:2px dotted #6d5a44;translate:0 -6px}
.board__tab{font-size:14px;color:#b9a482}
.board__reset{justify-self:start;min-height:44px;padding:0;border:0;background:none;color:#b9a482;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}

.pins{margin:26px 0}.pins h2{color:#e0b15a}
.pins ul{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.pins li{display:grid;gap:3px;padding:10px 12px;border-radius:12px;border:1px dashed #6d5a44;color:#8a7a66}
.pins li b{font:400 15px/1.1 var(--f-word);letter-spacing:.05em;font-weight:400}.pins li span{font-size:13px;line-height:1.35}
.pins li.is-on{border:2px solid #6b4a12;background:linear-gradient(180deg,#f3d58a,#b98a2f);color:#2a1808}
.chalk{max-width:560px;margin:0 0 26px;padding:18px 20px;border-radius:10px;border:8px solid #5a3418;background:#141a17;font:400 19px/1.5 var(--f-chalk);color:#e8f1ea}
.chalk h2{font:400 22px/1 var(--f-chalk);color:#ffb347;margin-bottom:8px}
.chalk p{margin:0}

/* a game on the floor */
.stage__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.stage__top h1{font:400 clamp(26px,6vw,40px)/1 var(--f-word);color:#f5e9d6;margin:0}
.stage__cost{font:400 19px/1.2 var(--f-led);letter-spacing:.05em;color:#ffb347;margin:0 0 12px}
.g{display:grid;gap:12px;justify-items:center}
.g__hud{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;font:400 22px/1 var(--f-led);letter-spacing:.06em;color:#b9a482}
.g__hud b{font-weight:400;color:#fff}
.g__cv{display:block;max-width:100%;border-radius:12px;touch-action:none;-webkit-user-select:none;user-select:none;outline-offset:4px}
.g__cv:focus-visible{outline:3px solid #b6ff5a}
.g__say{min-height:24px;font:400 21px/1.2 var(--f-led);letter-spacing:.05em;color:#b6ff5a;text-align:center}
.g__ctl{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}
.gb{min-height:48px;min-width:56px;padding:0 14px;border-radius:10px;border:2px solid #6b4a12;background:linear-gradient(180deg,#f3d58a,#c9993a);color:#2a1808;font:400 21px/1 var(--f-led);letter-spacing:.06em;cursor:pointer}
.gb:disabled{opacity:.45;cursor:default}
.gb[aria-pressed="true"]{background:linear-gradient(180deg,#d8ff9a,#7bbf2a)}
.gb--go{background:linear-gradient(180deg,#ff8ac0,#ff2e9a);border-color:#7a0f47;color:#fff;min-width:120px}
.gb:focus-visible{outline:3px solid #b6ff5a;outline-offset:2px}
.g__power{display:flex;align-items:center;gap:10px;width:min(100%,420px);font:400 20px/1 var(--f-led);color:#b9a482}
.g__power input{flex:1;min-height:44px;accent-color:#ff2e9a}
.rules{width:min(100%,560px);padding:10px 14px;border-radius:12px;border:1px solid rgba(255,79,163,.3);font-size:14px;line-height:1.5;color:#e2cfc4}
.rules summary{cursor:pointer;min-height:32px;font:400 20px/1.5 var(--f-led);letter-spacing:.06em;color:#ffb347}
.rules ul{margin:6px 0 4px;padding-left:20px;display:grid;gap:4px}

.result{max-width:520px;margin:10px auto 0;padding:20px;border-radius:16px;border:2px solid #e0b15a;background:#16100c}
.result h2{color:#e0b15a}
.result dl{margin:0 0 12px;display:grid;gap:4px;font:400 22px/1.2 var(--f-led);letter-spacing:.05em}
.result dl div{display:flex;justify-content:space-between;gap:12px}.result dt{color:#b9a482}.result dd{margin:0;color:#fff;text-align:right}
.result__quip{font:400 20px/1.3 var(--f-chalk);color:#f5e9d6;margin:0 0 6px}
.result__new{min-height:20px;font-size:15px;color:#b6ff5a;margin:0 0 14px}
.result__out{min-height:20px;font-size:14px;color:#b6ff5a;margin:10px 0 0}
.ask{width:min(92vw,400px);padding:22px;border:2px solid #e0b15a;border-radius:16px;background:#16100c;color:#f5e9d6;font:400 22px/1.3 var(--f-led)}
.ask::backdrop{background:rgba(7,3,11,.8)}

@media (max-width:719px){
  .stations{grid-template-columns:minmax(0,1fr)}
  .code__slots span{min-width:0;flex:1;font-size:28px;padding:8px 6px}
  .gb{padding:0 10px;font-size:19px}
}
.cubemeter{width:min(100%,400px);height:14px;border-radius:7px;border:2px solid #1f6b3a;background:#0f1f0c;overflow:hidden}
.cubemeter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#b6ff5a,#6ff3ff);transition:width .2s}
.is-playing .pk{display:none}
.stage,.result{scroll-margin-top:84px}
[data-mount]{scroll-margin-top:66px}
