/* Game UI keeps the shared silver controls; suit colour belongs to the crew. */
.game-shell{max-width:1280px;display:flex;flex-direction:column;gap:28px;padding-top:20px}
.game-toolbar{order:0;margin:0;min-height:48px}.play-board{order:1;width:100%;max-width:860px;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
.board-top,.board-top.match{background:transparent;border:0;padding:12px 0}.board-top .eyebrow,.board-top.match .eyebrow{font:500 12px/1.5 var(--body);letter-spacing:.02em;color:#aaa}
.timer-track{height:2px;background:#ffffff18}.timer-progress{background:#eee}.timer{font:500 28px/1 var(--body);letter-spacing:-.05em}
.board-body{padding:30px 0 0}.board-body h1{font:500 clamp(30px,3.5vw,48px)/1.15 var(--body);letter-spacing:-.05em}.turn-label{margin-bottom:12px;color:#d4d4d7;font-size:14px}.board-subtitle{font-size:14px;margin-top:15px}
.answer-form{max-width:640px;margin:28px auto 0}.answer-form input{border:1px solid #ffffff24;border-radius:6px;background:#111214;padding:16px 20px;font:400 17px/1.5 var(--body)}.answer-form input::placeholder{color:#767980}.answer-form .btn{font-size:15px;min-width:145px;gap:16px}.feedback{max-width:640px;margin:10px auto 0;font-size:13px;color:#ddd}.feedback.good{color:#c2dfca}
.board-bottom{background:none;border:0;padding:0;margin-top:4px;color:#8e9198;font-size:12px}.board-bottom .text-btn{font-size:12px;color:#b6b7bc}.opponent-lock{margin-top:8px;font-size:13px;min-height:46px;gap:12px;color:#aaa}.opponent-lock .alien-host{width:42px;height:46px;object-fit:contain}
.crew-stage{order:2;display:grid;grid-template-columns:repeat(min(var(--crew-count),4),minmax(0,1fr));gap:16px;max-width:1180px;width:100%;margin:0 auto;padding-top:18px;border-top:1px solid #ffffff12}
.crew-member{display:flex;align-items:center;gap:16px;min-width:0;min-height:164px;padding:12px 16px;position:relative;border-radius:8px;background:#ffffff03;transition:none}
.crew-member.is-active{background:#ffffff08}.crew-member.is-active:before{content:'';position:absolute;left:0;top:28px;bottom:28px;width:2px;background:var(--suit);border-radius:2px}
.crew-figure{width:74px;flex:0 0 74px;position:relative}.crew-figure img{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 6px #0005);transition:none}.is-active .crew-figure img{transform:none}
.crew-info{min-width:0;flex:1}.crew-info>strong{display:block;font:500 14px/1.4 var(--body);letter-spacing:-.02em;overflow-wrap:anywhere;color:#ededee}.crew-info .hearts{margin-top:8px;gap:5px}.crew-info .heart{width:13px;height:13px;fill:var(--suit);stroke:var(--suit)}.crew-info .heart.empty{fill:none;stroke:#4a4b50}.crew-state{display:block;font:400 11px/1.5 var(--body);color:#868990;margin-top:7px}.is-active .crew-state{color:var(--suit)}
.crew-transmission{display:flex;align-items:center;gap:6px;padding:7px 9px;margin-top:10px;font:500 13px/1.4 var(--body);color:#e0e2e5;background:#ffffff09;border-radius:4px;max-width:100%;overflow-wrap:anywhere;animation:none}.crew-transmission svg{width:13px;height:13px;flex-shrink:0;color:#adb9b0}.crew-transmission.hit{color:#d3bab6}.crew-transmission.hit svg{color:#c29d97}.crew-transmission.locked{font-size:11px;color:#9b9da4}.crew-transmission span{min-width:0}.is-spectating .crew-figure{opacity:.4;filter:grayscale(.8)}.is-spectating .crew-info>strong{color:#999}.is-spectating .crew-state{color:#aaa}
.crew-stage[style*="--crew-count:1"]{max-width:320px}.crew-stage[style*="--crew-count:2"]{max-width:640px}.crew-stage[style*="--crew-count:3"]{max-width:920px}.used-section{order:3;width:100%;max-width:860px;margin:0 auto}.used-heading{font:400 11px/1.5 var(--body)}.used-chips>span{border:0;border-radius:4px;background:#ffffff07;text-decoration:none;font-size:12px}.used-empty{padding:0;font-size:12px}
.handoff{padding:12px 0 8px}.handoff-pilot{display:block;width:80px;height:130px;object-fit:contain;margin:0 auto 20px}.handoff h1{font:500 clamp(28px,3vw,42px)/1.15 var(--body)}.handoff p{font-size:14px;max-width:460px}.ready-note{font-size:12px}.reveal-body{padding:26px 0;min-height:0}.reveal-body h2{font-size:34px}.reveal-cards{gap:10px}.reveal-card{min-width:150px;padding:18px;border:0;border-radius:6px;background:#141517}.reveal-card.hit{background:#211c1c;border:0}.reveal-card.opponent{border:0}.reveal-card strong{font-size:23px;font-weight:500}.alien-reveal{display:block;width:68px;height:73px;object-fit:contain;margin:0 auto 12px}.reveal-card em{font-size:12px}.result-page .result-name .avatar{border-radius:5px}.rooms-empty{padding:40px 0;color:#7e828c;font:400 14px/1.6 var(--body);text-align:center}.lobby-rooms .public-room-list:empty{display:none}.crew-counts{grid-template-columns:repeat(4,minmax(0,1fr))}
@keyframes transmit{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.crew-member{min-height:182px}.crew-figure{width:88px;flex-basis:88px}}
@media(max-width:1050px){.crew-stage{grid-template-columns:repeat(min(var(--crew-count),2),minmax(0,1fr));max-width:720px}.game-shell{gap:24px}.crew-member{min-height:148px}.crew-figure{width:68px;flex-basis:68px}}
@media(max-width:600px){.game-shell{padding-top:8px;gap:20px}.game-toolbar{flex-wrap:wrap;gap:4px}.game-toolbar .round-tag{order:3;width:100%;text-align:left;font-size:11px}.game-toolbar .text-btn{margin-left:auto}.board-body{padding-top:20px}.board-body h1{font-size:32px}.board-subtitle{font-size:13px;max-width:300px;margin:14px auto 0}.answer-form{gap:8px;flex-wrap:nowrap}.answer-form input{padding:14px 12px;font-size:16px}.answer-form .btn{min-width:100px;font-size:13px;padding:14px 12px;gap:8px}.board-bottom{gap:8px}.board-bottom>span{max-width:220px;font-size:11px}.crew-stage{gap:10px;padding-top:12px}.crew-member{gap:10px;padding:10px 6px;min-height:148px;align-items:flex-start}.crew-figure{width:44px;flex-basis:44px;margin-top:6px}.crew-info>strong{font-size:12px}.crew-transmission{padding:6px;font-size:11px;gap:4px}.crew-transmission svg{width:11px;height:11px}.crew-info .heart{width:11px;height:11px}.crew-info .hearts{gap:3px}.crew-state{font-size:10px}.crew-member.is-active:before{top:12px;bottom:12px;left:-3px}.reveal-body h2{font-size:28px}.reveal-card{min-width:130px;flex:1}.reveal-card strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.crew-transmission{animation:none}.crew-figure img,.crew-member{transition:none}}body.no-motion .crew-transmission{animation:none}body.no-motion .crew-figure img{transition:none}

@media(max-width:600px){.game-toolbar .round-tag{flex:0 0 100%;max-width:none;margin-top:8px;line-height:1.5}.crew-member{min-height:120px}.crew-stage[style*="--crew-count:1"] .crew-member{align-items:center;justify-content:center;min-height:135px}.crew-stage[style*="--crew-count:1"] .crew-info{flex:0 1 170px}.opponent-lock .alien-host{width:52px;height:56px}}

/* Updates are immediate: rerenders must not replay entrances or answer fades. */
.game-shell,.game-shell *,.result-page,.result-page *{animation:none!important}

/* A standalone queue page: no dialog, navigation, card or entrance animation. */
.queue-main{min-height:100svh;position:relative;z-index:1}.queue-page{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;gap:56px}.queue-page-metrics{display:grid;grid-template-columns:1fr 1fr;gap:clamp(56px,10vw,180px);text-align:center;align-items:start}.queue-page-metrics>div>span{display:block;font:400 14px/1.5 var(--body);color:#999da5}.queue-page-metrics strong{display:block;font:500 clamp(64px,8vw,112px)/1.1 var(--body);letter-spacing:-.065em;font-variant-numeric:tabular-nums;color:#eee;margin-top:20px;min-width:1.8em}.queue-back{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 16px;font:400 14px/1.5 var(--body);color:#a4a7af}.queue-back:hover{color:#fff}.queue-back svg{width:17px;height:17px}.queue-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.queue-page h1{font:500 36px/1.2 var(--body);letter-spacing:-.04em}.joined-room-status{color:#aaa;font-size:15px}
@media(max-width:600px){.queue-page{gap:40px;padding:24px 16px}.queue-page-metrics{gap:36px}.queue-page-metrics strong{font-size:64px;margin-top:16px}.queue-page-metrics>div>span{font-size:13px}}

.queue-brand{position:absolute;top:32px;left:50%;transform:translateX(-50%);font-size:32px;min-height:44px;z-index:2;text-decoration:none}.queue-main .queue-page{padding-top:100px}.room-waiting{order:1;text-align:center;padding:40px 0 24px}.room-waiting h1{font:500 clamp(30px,4vw,48px)/1.2 var(--body);letter-spacing:-.045em}.room-waiting>p{color:#a1a4ac;font-size:15px;margin-top:16px}.room-waiting>.btn{margin-top:28px}.room-host-status{font:400 14px/1.6 var(--body);color:#999ea8}.room-loading{min-height:calc(100svh - 100px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;text-align:center;font:400 16px/1.7 var(--body);color:#aaa}.online-status{order:3;text-align:center;min-height:24px;color:#bbb;font:400 13px/1.6 var(--body)}.online-alien-reveal{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0}.online-alien-reveal img{width:64px;height:69px;object-fit:contain}.online-alien-reveal span{font-size:14px;color:#aaa}.online-alien-reveal strong{color:#eee;font-weight:500}.room-preview-row strong{font-size:12px;letter-spacing:.01em}.join-code-form input{letter-spacing:.08em;font-size:15px}#active-room:not(:empty){text-align:center;margin-bottom:12px}#active-room a{font-size:13px;color:#c4c6cd}.online-game .game-toolbar{flex-shrink:0}
@media(max-width:600px){.queue-brand{top:22px;font-size:27px}.room-waiting{padding-top:24px}.room-waiting h1{font-size:32px}.online-game .game-toolbar .round-tag{order:3}.online-game .game-toolbar .text-btn{font-size:12px}.online-alien-reveal{gap:12px}}
