/* Additive presentation only. The game engine and assignment bridge remain unchanged. */
body.game-room{--ink:#112d35;--ink-mid:#435b60;--ink-light:#586d71;--border:#d9e3df;--teal:#176b77;--teal-dark:#125863;--teal-deep:#124651;--teal-bright:#29929a;--cream:#f7f6ef;background:var(--cream)}
.game-room .wrap,.game-room .wrap-narrow{max-width:1240px}
.game-room nav.top{background:rgba(247,246,239,.97)}
.room-skip{position:absolute;left:16px;top:-90px;padding:12px 20px;background:#fff;color:#112d35;z-index:100}
.room-skip:focus{top:12px}
.room-hero{padding:34px 0 38px;background:radial-gradient(ellipse at 90% 40%,#d9ebe1 0,transparent 52%)}
.room-hero-inner{display:grid;grid-template-columns:1fr 1.05fr;gap:52px;align-items:center}
.room-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.19em;color:#466f6b;margin-bottom:14px}
.game-room .room-hero h1{font-family:var(--serif);font-weight:700;font-size:clamp(38px,4.8vw,64px);line-height:1.07;letter-spacing:-2px}
.game-room .room-hero h1 em{color:#176b77;font-weight:400}
.game-room .room-hero p.lede{font-size:16px;max-width:390px;line-height:1.7;margin-top:18px}
.room-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;font-size:11px;font-weight:700;color:#42635f}
.room-pills span{padding:6px 11px;background:#e6ece2;border:1px solid #d4dfd1;border-radius:7px}
.room-hero-art{position:relative;overflow:hidden;border-radius:28px;background:#123f47;box-shadow:0 25px 50px -25px #12465199;min-height:305px;isolation:isolate}
.room-hero-art img{display:block;width:100%;height:345px;object-fit:cover}
.room-hero-art:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#082c35e6);z-index:0}
.room-hero-art figcaption{position:absolute;bottom:24px;left:26px;color:#fff;z-index:1;display:grid;gap:3px;font-size:12px}
.room-hero-art figcaption>span:first-child{font-size:9px;letter-spacing:.18em;color:#d8ebc7}
.room-hero-art strong{font-family:var(--serif);font-size:28px;font-weight:500}
.room-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}
.room-section-heading .room-eyebrow{margin-bottom:7px}
.room-section-heading h2{font-family:var(--serif);font-size:28px;font-weight:500}
.room-section-heading a{color:#175b66;font-size:12px;font-weight:700;text-underline-offset:4px;white-space:nowrap}
.game-room [data-panel=setup]>.card{padding:28px;border-radius:22px;box-shadow:0 12px 40px #153c4010}
.game-room .mode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:4px}
.game-room .mode{position:relative;display:flex;flex-direction:column;padding:0;gap:0;border:2px solid #e0e5dd;border-radius:17px;overflow:hidden;min-width:0;background:#fff;transition:transform .18s,box-shadow .18s,border-color .18s}
.game-room .mode:hover{transform:translateY(-3px);box-shadow:0 12px 25px #183f4320;border-color:#91b8af}
.game-room .mode.on{border-color:#176b77;box-shadow:0 0 0 3px #176b7717;background:#f1f7f3}
.game-room .mode .emoji{display:none}
.room-card-art{display:block;width:100%;height:190px;object-fit:cover;background:linear-gradient(145deg,#0e3440,#3a756e)}
.game-room .mode>div:not(.emoji){padding:17px 16px 20px;flex:1}
.game-room .mode strong{font-family:var(--serif);font-size:22px;line-height:1.13;letter-spacing:-.45px;margin:4px 0 9px;font-weight:500}
.game-room .mode .d{font-size:12px;line-height:1.6}
.game-room .mode .mtag{font-size:8px;letter-spacing:.09em;padding:3px 7px;background:#e0ede6;color:#285c51}
.game-room .mode .mtag.solo{background:#f2e9d5;color:#755421}
.room-selected{position:absolute;right:10px;top:10px;border-radius:50%;background:#fff;color:#125863;border:1px solid #d5e8dd;width:27px;height:27px;display:grid;place-items:center;box-shadow:0 2px 6px #0002;font-weight:900}
.mode:not(.on) .room-selected{visibility:hidden}
.room-guidance{max-width:720px;font-size:12px;line-height:1.65;color:#586d71;margin-top:24px}
.game-room #startBtn{max-width:300px;min-height:52px;border-radius:13px;margin-top:18px!important;font-size:15px;box-shadow:0 6px 15px #176b7720}
.game-room .pick{border-radius:10px;min-height:44px;font-size:13px}
.game-room .field{max-width:620px;min-height:48px}
.game-room :is(button,a,[role=radio],select):focus-visible{outline:3px solid #ac6721;outline-offset:4px}
.game-room.room-playing .room-hero,.game-room.room-playing .room-section-heading,.game-room.room-results .room-hero{display:none}
.game-room [data-panel=play].on{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.25fr);column-gap:26px;padding-top:24px;align-items:start}
.game-room .play-top,.game-room .bar,.game-room #progText{grid-column:1/-1}
.game-room .stage{grid-column:1;grid-row:4;border-radius:20px;overflow:hidden;background:#e7eee6;border:1px solid #d2dfd3;padding:0 18px 20px}
.room-world{margin:0 -18px 18px;background:#153d44;position:relative}
.room-world img{width:100%;height:270px;object-fit:cover;display:block}
.room-world-name{position:absolute;bottom:0;left:0;right:0;padding:35px 19px 15px;background:linear-gradient(transparent,#092e39e8);color:#fff;font-family:var(--serif);font-size:24px}
.game-room .q-card{grid-column:2;grid-row:4;padding:28px;min-width:0;border-radius:20px}
.game-room .sentence{font-size:clamp(20px,2.2vw,27px);line-height:1.5}
.game-room .opt{min-height:56px;font-size:15px;border-radius:12px;line-height:1.45}
.game-room .opt.correct:after{content:'\2713';font-weight:bold;margin-left:auto;color:#1f5133}
.game-room .opt.wrong:after{content:'\00d7';font-size:20px;font-weight:bold;margin-left:auto;color:#7f1d1d}
.game-room .opt:disabled{opacity:1}
.game-room .garden{background:#f8fbf4;border:1px solid #ccdcc3;padding:12px;gap:8px}
.game-room .plot{width:29px;height:38px;border-radius:8px}.game-room .plot.grown{box-shadow:0 4px 7px #38672d22}
.game-room .tower{min-height:190px;max-height:260px;overflow:auto;gap:4px;padding:12px;background:#e8f2ee}
.game-room .tower .block{height:8px;flex-shrink:0;background:linear-gradient(90deg,#176b77,#88b3a2,#d8b55c);border-radius:3px}
.game-room .tower-stat{width:93px}.game-room .tower-stat .ts{padding:10px}
.game-room .class-score{gap:8px}.game-room .class-score .cs{min-width:75px;padding:13px 6px}.game-room .class-score .cs .l{font-size:9px}
.game-room .case-dot{color:#4e6568;border-color:#cad8d1}.game-room .case-dot.closed:before{content:'\2713'}
.game-room [data-panel=results]{max-width:820px;margin:35px auto 0}
.game-room.room-results .room-section-heading{margin-top:28px}
.game-room.is-embed .room-section-heading{display:none}
.game-room.is-assigned .room-guidance{display:none}
@media(min-width:900px){.game-room [data-panel=setup]>.card{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.game-room [data-panel=setup]>.card>.lbl:nth-of-type(1){grid-column:1;grid-row:1}.game-room #bandChips{grid-column:1;grid-row:2;align-self:start}.game-room [data-panel=setup]>.card>.lbl:nth-of-type(2){grid-column:2;grid-row:1}.game-room #skillSel{grid-column:2;grid-row:2;align-self:start}.game-room #skillNote{grid-column:2;grid-row:3}.game-room #assignedNote{grid-column:1/-1}.game-room [data-panel=setup]>.card>.lbl:nth-of-type(3),.game-room #modes,.game-room .room-guidance{grid-column:1/-1}.game-room #startBtn{grid-column:1/-1}}
@media(max-width:1000px){.game-room .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-card-art{aspect-ratio:1.9}.room-hero-inner{gap:26px}.room-hero-art img{height:320px}}
@media(max-width:720px){.game-room .wrap,.game-room .wrap-narrow{padding-left:18px;padding-right:18px}.room-hero-inner{grid-template-columns:1fr;gap:24px}.room-hero{padding-top:24px}.room-hero-art{min-height:200px}.room-hero-art img{height:230px}.game-room .room-hero h1{font-size:44px}.room-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.game-room [data-panel=setup]>.card{padding:18px}.game-room [data-panel=play].on{display:flex;flex-direction:column}.game-room [data-panel=play].on>*{width:100%}.game-room .stage{order:5;margin-top:20px}.game-room .q-card{order:4;padding:20px}.room-world img{height:200px}.game-room .mode strong{font-size:20px}.game-room .mode>div:not(.emoji){padding:14px 12px}.game-room .mode-grid{gap:10px}.game-room .room-pills{gap:6px}.game-room #startBtn{max-width:none}.game-room .play-top{gap:10px}.game-room .play-top .btn{font-size:12px}}
@media(max-width:400px){.game-room .mode-grid{grid-template-columns:1fr}.room-card-art{aspect-ratio:1.8}.game-room .room-hero h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.game-room *{animation:none!important;transition:none!important}.game-room .mode:hover{transform:none}}
/* Original pixel edition. Flat colors, hard edges, no rendered illustration effects. */
body.game-room{--pixel:'Silkscreen','Courier New',monospace;--ink:#f6edcd;--ink-mid:#c3d6d4;--ink-light:#a7c0c2;--border:#345564;--teal:#63c5c8;--teal-dark:#a3ded7;--teal-deep:#193a46;--teal-soft:#244a56;--teal-tint:#173847;--teal-bright:#63c5c8;--cream:#102732;background:#102732;color:#f6edcd}
.game-room nav.top{background:#102732;border-bottom:2px solid #345564;backdrop-filter:none}
.game-room .nav-logo em{color:#63c5c8}.game-room .nav-links a{color:#c3d6d4}.game-room .nav-links a:hover{color:#fff}
.game-room .nav-cta{background:#63c5c8;color:#102732!important;border-radius:0;box-shadow:3px 3px 0 #345564}
.room-hero{background:none;padding-top:36px;padding-bottom:34px}
.room-eyebrow{color:#63c5c8;font-family:var(--pixel);font-weight:400;letter-spacing:.03em;font-size:11px}
.game-room .room-hero h1{font-family:var(--pixel);font-size:clamp(30px,3.5vw,46px);font-weight:400;line-height:1.2;letter-spacing:-1.5px;text-shadow:3px 3px #294e59}
.game-room .room-hero h1 em{font-style:normal;font-weight:400;color:#efb65d;text-shadow:3px 3px #60453f}
.game-room .room-hero p.lede{color:#c3d6d4;font-size:15px}
.room-pills{color:#b7d4ce;font-size:10px;gap:12px}.room-pills span{border:0;border-radius:0;background:none;padding:0}.room-pills span:before{content:'\25aa';color:#d86879;margin-right:7px}
.room-hero-art{min-height:310px;border-radius:0;background:#102732;border:3px solid #345564;box-shadow:6px 6px 0 #081b24;overflow:hidden}
.room-hero-art img{height:285px;object-fit:contain;image-rendering:pixelated}
.room-hero-art:after{display:none}
.room-hero-art figcaption{position:static;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;border-top:2px solid #345564;padding:12px 16px;background:#173847;color:#c3d6d4;font-size:10px}
.room-hero-art figcaption>span:first-child{color:#efb65d;font-family:var(--pixel);font-size:8px;letter-spacing:0}
.room-hero-art strong{font-family:var(--pixel);font-size:12px;color:#f6edcd;font-weight:400}
.room-section-heading{border-top:2px solid #345564;padding-top:28px;margin-top:10px}.room-section-heading h2{font-family:var(--pixel);font-size:19px;font-weight:400;line-height:1.5}.room-section-heading a{color:#a3ded7}
.game-room [data-panel=setup]>.card{background:#142f3c;border:2px solid #345564;border-radius:0;box-shadow:5px 5px #081b24}
.game-room .lbl{font-family:var(--pixel);font-size:11px;font-weight:400;color:#f6edcd}
.game-room .pick{border:2px solid #345564;border-radius:0;background:#102732;color:#c3d6d4;font-size:12px;box-shadow:2px 2px #081b24}
.game-room .pick.on{background:#63c5c8;border-color:#63c5c8;color:#102732}
.game-room .field{background:#102732;color:#f6edcd;border:2px solid #527582;border-radius:0;font-size:14px}
.game-room .mode{border:2px solid #345564;border-radius:0;background:#102732;box-shadow:3px 3px #081b24;transition:none}
.game-room .mode:hover{transform:none;border-color:#a3ded7;box-shadow:3px 3px #081b24}
.game-room .mode.on{border-color:#efb65d;background:#193a46;box-shadow:3px 3px #efb65d}
.room-card-art{background:#102732;object-fit:contain;image-rendering:pixelated;height:164px;border-bottom:2px solid #345564}
.game-room .mode strong{font-family:var(--pixel);font-size:16px;font-weight:400;line-height:1.4;letter-spacing:-.5px;color:#f6edcd;margin-top:9px;margin-bottom:11px}
.game-room .mode .d{color:#b8cfcd;font-size:12px}
.game-room .mode .mtag,.game-room .mode .mtag.solo{border-radius:0;background:#244a56;color:#a3ded7;font-family:var(--pixel);font-size:8px;letter-spacing:0;font-weight:400}
.game-room .mode .mtag.solo{background:#433e33;color:#efce8d}
.room-selected{border:0;border-radius:0;background:#efb65d;color:#102732;box-shadow:2px 2px #081b24;width:23px;height:23px;right:7px;top:7px;font-family:monospace}
.room-guidance{color:#abc3c4}
.game-room .btn,.game-room #startBtn{border-radius:0;background:#63c5c8;border:2px solid #63c5c8;color:#102732;box-shadow:4px 4px #081b24;font-family:var(--pixel);font-size:12px;font-weight:400}
.game-room .btn:hover,.game-room #startBtn:hover{background:#a3ded7;border-color:#a3ded7}
.game-room .btn.ghost{background:transparent;border-color:#6d939b;color:#c3e5d2;box-shadow:none}
.game-room .btn.ghost:hover{border-color:#c3e5d2;background:#244a56}
.game-room :is(button,a,[role=radio],select):focus-visible{outline:3px solid #efb65d;outline-offset:4px}
.game-room .bar{border-radius:0;height:10px;background:#244a56}.game-room .bar>span{background:#63c5c8}
.game-room .case-badge{border-radius:0;background:#433e33;color:#efce8d;font-family:var(--pixel);font-size:10px;font-weight:400;letter-spacing:0}
.game-room .stage{border:2px solid #345564;border-radius:0;background:#142f3c;box-shadow:4px 4px #081b24}
.room-world{background:#102732;border-bottom:2px solid #345564}.room-world img{height:240px;object-fit:contain;image-rendering:pixelated}
.room-world-name{position:static;padding:10px 14px;border-top:2px solid #345564;background:#173847;color:#a3ded7;font-family:var(--pixel);font-size:14px;text-align:center}
.game-room .q-card,.game-room [data-panel=results]>.card{--ink:#18353e;--ink-mid:#435b60;--ink-light:#52676b;--teal-dark:#17536c;--teal-tint:#e9eee3;--border:#c3ccbd;background:#f6f3e7;color:#18353e;border:0;border-radius:0;box-shadow:5px 5px #081b24}
.game-room .q-stem{font-family:var(--pixel);font-size:10px;line-height:1.6;color:#466c70;font-weight:400}
.game-room .sentence{font-family:var(--sans);font-size:24px;font-weight:700;letter-spacing:0}
.game-room .opt{background:#fffdf6;border:2px solid #c3ccbd;border-radius:0;font-size:15px;color:#18353e}.game-room .opt .key{border-radius:0;background:#e4ecdf;color:#17536c}
.game-room .opt.correct{background:#e4f0dd;border-color:#497750}.game-room .opt.wrong{background:#fbe4dc;border-color:#a64f48}
.game-room .feedback{border-radius:0;border-left:4px solid currentColor}
.game-room .q-card .btn.ghost,.game-room [data-panel=results] .btn.ghost{color:#17536c;border-color:#17536c}
.game-room .garden{background:#102732;border:2px solid #345564;border-radius:0}.game-room .plot{border:1px solid #345564;border-radius:0;background:#173847}.game-room .plot.grown{background:#244b40;border-color:#7ca775;box-shadow:none}
.game-room .tower{background:#102732;border:2px solid #345564;border-radius:0}.game-room .tower .block{border-radius:0;background:#63c5c8;border-top:2px solid #c3e5d2;box-shadow:2px 2px #081b24}
.game-room .tower-stat .ts,.game-room .class-score .cs{background:#102732;border:1px solid #345564;border-radius:0}.game-room .tower-stat .n,.game-room .class-score .cs .n{color:#efb65d;font-family:var(--pixel);font-size:22px}.game-room .tower-stat .l,.game-room .class-score .cs .l{color:#c3d6d4}
.game-room .case-dot{border-radius:0;background:#102732;border:1px solid #527582;color:#c3d6d4}.game-room .case-dot.closed{background:#244b40;border-color:#7ca775;color:#e1efce}
.game-room .sum{background:#fffdf6;border:2px solid #d5d9c9;border-radius:0}.game-room .sum .big{font-family:var(--pixel);font-weight:400;font-size:28px}
.game-room footer{background:#081b24;border-top:2px solid #345564}
.game-room #fx-done-wrap{color:#1a1a1a}
@media(max-width:1000px){.game-room .mode strong{font-size:16px}.room-hero-art img{height:255px}.room-hero-art{min-height:0}}
@media(max-width:720px){.game-room .room-hero h1{font-size:36px;letter-spacing:-1px}.room-hero-art img{height:210px}.room-hero-art figcaption{gap:6px 12px}.room-card-art{height:145px}.room-section-heading h2{font-size:16px}.game-room .mode strong{font-size:13px;letter-spacing:-.5px}.game-room .sentence{font-size:22px}.room-world img{height:205px}.room-hero{padding-top:25px}.game-room .nav-cta{font-size:11px}.game-room .room-hero p.lede{font-size:14px}}
@media(max-width:400px){.game-room .room-hero h1{font-size:31px}.room-card-art{height:180px}.game-room .mode strong{font-size:17px}}
/* ── Eight named games: card accents and the world layer on the stage ── */
.game-room .mode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.game-room .mode[data-accent=coral].on{border-color:#d86879;box-shadow:3px 3px #d86879}
.game-room .mode[data-accent=gold].on{border-color:#efb65d;box-shadow:3px 3px #efb65d}
.game-room .mode[data-accent=green].on{border-color:#7ca775;box-shadow:3px 3px #7ca775}
.game-room .mode[data-accent=cyan].on{border-color:#63c5c8;box-shadow:3px 3px #63c5c8}
.room-theme{margin:0 0 16px;padding:14px;border:2px solid #345564;background:#102732;color:#c3d6d4;font-size:12px}
.room-theme > div:last-child{margin-top:10px;font-family:var(--pixel);font-size:10px;color:#f6edcd;line-height:1.6}
.boss-name{font-family:var(--pixel);font-size:14px;color:#d86879;margin-bottom:8px}
.boss-hp{height:16px;border:2px solid #345564;background:#173847;padding:2px}
.boss-hp>span{display:block;height:100%;width:100%;background:#d86879;border-right:2px solid #f6edcd;transition:width .25s steps(4)}
.vault-code{display:flex;flex-wrap:wrap;gap:6px}
.vault-slot{width:26px;height:32px;display:grid;place-items:center;border:2px solid #345564;background:#173847;color:#527582;font-family:var(--pixel);font-size:14px}
.vault-slot.lit{background:#efb65d;border-color:#f6edcd;color:#102732;box-shadow:2px 2px #081b24}
.ride-track{display:flex;flex-wrap:wrap;gap:4px;align-items:flex-end;position:relative;min-height:40px}
.ride-piece{width:22px;height:10px;border:2px solid #345564;background:#173847}
.ride-piece.laid{background:#d86879;border-color:#f6edcd}
.ride-piece.laid:nth-child(even){background:#efb65d}
.ride-car{position:absolute;left:0;top:-18px;width:18px;height:12px;background:#63c5c8;border:2px solid #c3e5d2;visibility:hidden}
.ride-car.running{visibility:visible;animation:ride-run 3s steps(12) infinite}
@keyframes ride-run{from{left:0}to{left:calc(100% - 18px)}}
.sticker-sheet{display:flex;flex-wrap:wrap;gap:6px;min-height:34px;padding:8px;background:#f6f3e7;border:2px solid #d5d9c9}
.sticker{width:26px;height:26px;display:grid;place-items:center;border:2px solid #7ca775;background:#e4f0dd;color:#496e5d;font-size:14px}
.sticker.shiny{background:#efb65d;border-color:#d86879;color:#7f1d1d;box-shadow:2px 2px #081b24}
.game-room .plot{font-size:0}.game-room .plot.grown{font-size:0;background:#7ca775;border-color:#c3e5d2}
@media(max-width:1000px){.game-room .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.game-room .mode-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ride-car.running{animation:none;left:calc(100% - 18px)}.boss-hp>span{transition:none}}
/* A themed world replaces the plain mechanic strip; the counters stay. */
.game-room .stage.room-themed > .lbl,.game-room .stage.room-themed .garden,.game-room .stage.room-themed .case-strip,.game-room .stage.room-themed .tower{display:none}
.game-room .stage.room-themed .tower-wrap{display:block}.game-room .stage.room-themed .tower-stat{width:auto;display:flex;gap:8px}.game-room .stage.room-themed .tower-stat .ts{flex:1}
/* ── Team Tug, Grid Showdown, Fragment Blasters ── */
.rope-wrap{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px;border:2px solid #345564;background:#102732}
.rope-team{font-family:var(--pixel);font-size:10px;color:#c3d6d4}.rope-team b{display:block;font-size:20px;color:#efb65d;font-weight:400}
.rope{position:relative;height:14px;background:repeating-linear-gradient(90deg,#8a6d4a 0 6px,#654e4b 6px 12px);border:2px solid #345564}
.rope:before{content:'';position:absolute;left:50%;top:-8px;bottom:-8px;width:2px;background:#f6edcd}
.knot{position:absolute;top:-6px;width:14px;height:22px;margin-left:-7px;background:#d86879;border:2px solid #f6edcd;box-shadow:2px 2px #081b24;transition:left .3s steps(6)}
.grid-score{display:flex;gap:8px;margin-bottom:10px}.grid-score .cs{flex:1;background:#102732;border:1px solid #345564;padding:10px;text-align:center}.grid-score .n{color:#efb65d;font-family:var(--pixel);font-size:22px}.grid-score .l{color:#c3d6d4;font-size:10px}
.tile-board{display:grid;gap:6px}
.tile{min-height:44px;border:2px solid #efb65d;background:#173847;color:#efb65d;font-family:var(--pixel);font-size:13px;cursor:pointer;box-shadow:2px 2px #081b24}
.tile:hover:not(:disabled){background:#244a56}.tile.used,.tile:disabled{background:#102732;border-color:#345564;color:#527582;box-shadow:none;cursor:default}
.tile:focus-visible{outline:3px solid #f6edcd;outline-offset:2px}
.game-room #classControls .team-lbl{font-family:var(--pixel);font-size:10px;color:#c3d6d4;align-self:center}
.game-room #classControls .pick.team.on{background:#efb65d;border-color:#efb65d;color:#102732}
/* Comma Chomper lives in assets/game-room/worlds/chomper.js and carries its own CSS. */
.invader-sky{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:12px;background:#102732;border:2px solid #345564}
.invader{height:24px;display:grid;place-items:center;background:#d86879;color:#102732;font-family:var(--pixel);font-size:11px;border:2px solid #f6edcd}
.invader:nth-child(5n+2),.invader:nth-child(5n+4){background:#efb65d}.invader:nth-child(5n+3){background:#63c5c8}
.invader.hit{visibility:hidden}
.blaster{width:26px;height:12px;margin:8px auto 0;background:#c3e5d2;border:2px solid #63c5c8;position:relative}.blaster:after{content:'';position:absolute;left:9px;top:-8px;width:6px;height:8px;background:#c3e5d2}
@media(prefers-reduced-motion:reduce){.knot{transition:none}}
/* ── Picker cards as cabinets: the name sits on a colored marquee under the art ── */
.game-room .mode{--ac:#63c5c8;--on:#102732}
.game-room .mode[data-accent=coral]{--ac:#d86879;--on:#f6edcd}.game-room .mode[data-accent=gold]{--ac:#efb65d}.game-room .mode[data-accent=green]{--ac:#7ca775}
.game-room .mode strong{display:block;margin:0 -16px 10px;padding:8px 12px;background:var(--ac);color:var(--on);border-top:2px solid #345564;border-bottom:2px solid #345564;font-size:13px;letter-spacing:0}
.game-room .mode>div:not(.emoji){padding-top:0}
.game-room .mode .mtag{margin:10px 0 0}
.game-room .mode:hover{border-color:var(--ac)}
/* ── Live arena: join panel, status bar ── */
.arena-join{margin:0 0 18px;border:2px solid #345564;background:#142f3c;box-shadow:4px 4px #081b24}
.arena-join summary{cursor:pointer;padding:12px 14px;font-family:var(--pixel);font-size:11px;color:#efb65d;list-style:none}
.arena-join summary::-webkit-details-marker{display:none}
.arena-join summary:before{content:'\25b6';margin-right:8px;font-size:9px}.arena-join[open] summary:before{content:'\25bc'}
.arena-join-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:10px;align-items:end;padding:0 14px 12px}
.arena-join-row label{font-size:11px;color:#c3d6d4;display:grid;gap:5px}
.arena-join-row .field{max-width:none;min-height:44px}
.arena-msg{padding:0 14px 12px;font-size:12px;color:#efce8d;min-height:1em}
.arena-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 18px;padding:12px 14px;border:2px solid #efb65d;background:#193a46;color:#f6edcd;font-size:12.5px}
.arena-bar .arena-lbl{font-family:var(--pixel);font-size:10px;color:#efb65d}
.arena-bar b{font-weight:600;color:#f6edcd}
.arena-bar span:not(.arena-lbl){color:#c3d6d4;flex:1;min-width:200px}
@media(max-width:720px){.arena-join-row{grid-template-columns:1fr}}
.arena-bar[hidden]{display:none}
.arena-join{scroll-margin-top:84px}
