@property --neon-angle{syntax:"<angle>";inherits:false;initial-value:0deg}.ready-button{color:#e2e9ff;isolation:isolate;background:#10192b;border:1px solid #43516c;border-radius:12px;justify-content:center;align-items:center;gap:14px;min-height:55px;padding:14px 20px;font-weight:700;display:flex;position:relative}.ready-button:not(.ready-active):before{content:"";border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--neon-angle),transparent 62%,#a996ff 78%,#a8f6ff 87%,transparent 98%);padding:2px;animation:3s linear infinite border-orbit;position:absolute;inset:-2px;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.ready-empty{border:1px solid #77859e;border-radius:5px;width:19px;height:19px}.ready-button.ready-active{color:#09271f;background:#76edc3;border-color:#acffdf;box-shadow:0 0 24px #76edc32b}@keyframes border-orbit{to{--neon-angle:360deg}}.editor-link{text-align:center;color:#b9acff;text-underline-offset:4px;margin-top:14px;font-size:12px;display:block}.vote-actions{flex-wrap:wrap;gap:12px;margin-top:25px;display:flex}.vote-actions button{flex:1;min-width:130px}#restart-dialog p:not(.eyebrow){color:#aebdd3;line-height:1.7}#vote-status{color:#84ead6!important}.mechanic-note{color:#a5b4cb;margin:12px 0;font-size:11px;line-height:1.7}.key-inventory{color:#ffd58a;align-items:center;gap:7px;font-size:12px;display:flex}.mechanic-note svg{vertical-align:-2px}.reduced-effects .ready-button:before{animation:none}.ready-button.host-start:before{content:none}.ready-button.host-start:disabled{opacity:.65}.ready-button.start-available{color:#09271f;background:#76edc3;border-color:#acffdf;animation:1.8s ease-in-out infinite host-start-pulse}@keyframes host-start-pulse{0%,to{box-shadow:0 0 #76edc34d,0 0 16px #76edc322}50%{box-shadow:0 0 0 7px #76edc300,0 0 30px #76edc366}}.reduced-effects .ready-button.start-available{animation:none;box-shadow:0 0 18px #76edc344}@media (prefers-reduced-motion:reduce){.ready-button.start-available{animation:none}.ready-button:before{animation:none!important}}.invite-panel .copy-actions{flex-wrap:wrap;gap:8px;width:100%;margin-top:18px;display:flex;position:static;inset:auto}.invite-panel .copy-actions button{white-space:normal;min-height:42px}.countdown-note.is-counting{color:#bcfff5;text-shadow:0 0 8px #5dffdcaa,0 0 24px #58e9ff88,0 0 42px #b597ff55;padding:14px 0 4px;font-size:clamp(24px,5vw,32px);font-weight:800;line-height:1.25;animation:2s ease-in-out infinite start-glow}@keyframes start-glow{50%{text-shadow:0 0 12px #5dffdc,0 0 30px #58e9ffbb,0 0 48px #b597ff88}}.action-button{text-align:center;isolation:isolate;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:92px;padding:16px 8px 12px}.action-symbol{min-width:0;font-size:34px;line-height:1;display:block}.action-label{text-align:center;letter-spacing:.2px;flex:none;width:100%;font-size:15px}.action-label small{margin-top:5px;font-size:9px}.action-button.interaction-ready:before{content:"";border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--neon-angle),transparent 50%,#ff76b8 70%,#c4fff4 85%,transparent 98%);padding:2px;animation:3s linear infinite border-orbit;position:absolute;inset:-2px;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.action-button.interaction-ready{box-shadow:0 0 20px #ff76b822,0 4px #0b111e}.game-tools{flex-wrap:wrap;gap:6px;width:100%;margin-top:12px;display:flex}.game-sidebar .game-tools .secondary{text-align:center;flex:80px;justify-content:center;align-items:center;gap:5px;width:auto;min-height:42px;margin:0;padding:8px 6px;font-size:11px;line-height:1.3;display:flex}.game-tools svg{flex-shrink:0}.help-icon{font-size:15px;font-weight:700}.game-sidebar .key-inventory{margin-top:12px}.game-sidebar .crew-mini{width:100%}#help-dialog{width:min(850px,100vw - 24px);max-width:850px;max-height:calc(100svh - 32px);padding:24px}#help-dialog #close-help{float:right;z-index:1;background:#152238;position:sticky;top:0}#help-dialog .instructions-page{clear:both;margin:0}#help-dialog .field-guide{grid-template-columns:1fr}#help-dialog .rules-intro{font-size:14px}#leave-dialog p:not(.eyebrow){color:#aebdd3;margin-top:15px;line-height:1.7}.reduced-effects .action-button.interaction-ready:before,.reduced-effects .countdown-note.is-counting{animation:none}@media (prefers-reduced-motion:reduce){.action-button.interaction-ready:before,.countdown-note.is-counting{animation:none!important}}@media (max-width:820px){.world-frame{max-width:min(100%,calc((100svh - 300px)*var(--board-ratio,.743)))}.game-sidebar .action-button{gap:5px;min-height:74px;padding:12px 5px 8px}.action-symbol{font-size:30px}.action-label{letter-spacing:0;font-size:13px}.action-label small{display:none}.game-sidebar .game-tools,.game-sidebar .key-inventory{margin:0}.game-sidebar .game-tools .secondary{flex-basis:80px;min-height:40px;font-size:10px}}@media (max-width:360px){.action-label{font-size:11px}.game-tools svg,.game-tools .help-icon{display:none}}@media (max-width:820px) and (max-height:650px) and (orientation:portrait){.world-frame{max-width:min(100%,calc((100svh - 330px)*var(--board-ratio,.743)))}}@media (max-height:600px) and (orientation:landscape){.world-frame{max-width:calc((100svh - 135px)*var(--board-ratio,.743))}}body.in-game{overscroll-behavior:none;height:100dvh;overflow:hidden}body.in-game .site-header,body.in-game .site-footer,body.in-game .ambient-glow{display:none}body.in-game #app{height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);grid-template-rows:auto minmax(0,1fr);display:grid}body.in-game .connection-banner{grid-row:1;padding:7px 12px;font-size:11px;line-height:1.3;position:static}body.in-game #main{grid-row:2;grid-template-rows:auto minmax(0,1fr);gap:8px;width:min(1440px,100% - 24px);min-width:0;height:100%;min-height:0;margin:0 auto;padding:8px 0;display:grid}body.in-game .competition-strip{gap:12px;min-width:0;margin:0;font-size:11px;line-height:16px}body.in-game .competition-strip>span:first-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}body.in-game .competition-strip>span:last-child{white-space:nowrap;flex-shrink:0}body.in-game .game-page{grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0;padding:0;display:grid}body.in-game .game-heading{gap:12px;min-width:0;padding:0}body.in-game .game-heading>div:first-child{min-width:0}body.in-game .game-heading h1{white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0;font-size:clamp(16px,2.2vw,26px);overflow:hidden}body.in-game .game-stats{flex-shrink:0;gap:16px}body.in-game .game-stats strong{font-size:24px}body.in-game .game-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:16px;min-width:0;min-height:0}body.in-game .world-column{place-items:center;min-width:0;min-height:0;display:grid;position:relative;container-type:size}body.in-game .world-frame{width:min(100%, calc(100cqh * var(--board-ratio,.743)));max-width:none;max-height:100%;aspect-ratio:var(--board-ratio,.743);box-shadow:none;border:0}body.in-game #world{width:100%;height:100%}body.in-game .game-sidebar{align-self:start;min-width:0;padding:16px;display:block}body.in-game .game-sidebar .action-buttons{flex-flow:row;gap:8px;width:100%;margin:12px 0 0;display:flex}body.in-game .game-sidebar .action-button{flex:1 1 0;width:0;min-width:0;min-height:76px;padding:12px 4px 8px;container-type:inline-size}body.in-game .action-label{overflow-wrap:anywhere;font-size:clamp(9px,10cqw,14px)}body.in-game .action-label small{display:none}body.in-game .game-tools{flex-wrap:nowrap}body.in-game .game-sidebar .game-tools .secondary{flex:1 1 0;min-width:0;min-height:36px;padding:6px 4px;font-size:10px}body.in-game .key-inventory{min-width:0}body.in-game #key-inventory{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}body.in-game .shield-status:empty{display:none}body.in-game .spectator-badge,body.in-game .sealed-actions{flex:1;min-width:0}body.in-game .game-overlay{border-radius:10px;gap:6px;padding:10px;inset:0;overflow:auto}body.in-game .game-overlay h2{letter-spacing:-.5px;font-size:clamp(16px,6cqh,28px)}body.in-game .game-overlay .eyebrow{font-size:9px}body.in-game .game-overlay p:not(.eyebrow){font-size:12px}body.in-game .game-overlay .overlay-symbol{font-size:clamp(24px,12cqh,44px)}body.in-game .game-overlay .countdown-big{font-size:clamp(28px,22cqh,80px)}body.in-game .game-overlay .running-warning{margin-top:4px;font-size:12px}@media (max-width:820px),(max-height:600px){body.in-game #main{gap:5px;padding:6px 0}body.in-game .competition-strip{font-size:9px;line-height:13px}body.in-game .game-page{gap:6px}body.in-game .game-heading .eyebrow{letter-spacing:1px;font-size:8px}body.in-game .game-heading h1{font-size:17px}body.in-game .game-stats{gap:10px}body.in-game .game-stats>div{gap:3px}body.in-game .game-stats span{letter-spacing:.5px;font-size:6px}body.in-game .game-stats strong{font-size:22px}body.in-game .game-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px}body.in-game .game-sidebar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:8px;display:grid}body.in-game .controls-heading{grid-column:1/-1;display:block}body.in-game .controls-heading>p:last-child{display:none}body.in-game .controls-heading .eyebrow{font-size:7px;line-height:9px}body.in-game .game-sidebar .action-buttons{grid-area:2/1/auto/-1;gap:6px;margin:0}body.in-game .game-sidebar .action-button{gap:4px;min-height:64px;padding:7px 4px}body.in-game .action-symbol{font-size:28px}body.in-game .action-button kbd{display:none}body.in-game .game-sidebar .shield-status{grid-area:3/1;min-height:0;margin:0;font-size:10px;line-height:14px}body.in-game .game-sidebar .key-inventory{grid-area:3/2;margin:0;font-size:10px;line-height:14px}body.in-game .game-sidebar:has(.shield-status:empty) .key-inventory{grid-column:1/-1}body.in-game .game-sidebar .game-tools{grid-area:4/1/auto/-1;margin:0}body.in-game .crew-mini{display:none}}@media (orientation:landscape) and (max-height:600px){body.in-game .game-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) clamp(200px,38vw,320px)}}body.in-game.is-spectating .game-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px}body.in-game.is-spectating .game-sidebar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:8px 12px;display:grid}body.in-game.is-spectating .controls-heading,body.in-game.is-spectating .crew-mini{display:none}body.in-game.is-spectating .game-sidebar .action-buttons{grid-area:1/1;margin:0}body.in-game.is-spectating .spectator-badge{border:0;flex-flow:wrap;justify-content:flex-start;gap:6px 12px;padding:0}body.in-game.is-spectating .spectator-badge strong{font-size:12px}body.in-game.is-spectating .game-sidebar .game-tools{grid-area:1/2;width:auto;margin:0}body.in-game.is-spectating .game-sidebar .game-tools .secondary{padding:6px 10px}body.in-game.is-spectating .game-sidebar .key-inventory{grid-area:2/1/auto/-1;margin:0;font-size:10px;line-height:14px}@media (max-width:600px){body.in-game.is-spectating .spectator-badge span{display:none}}.instructions-page{max-width:72ch;margin:32px auto;padding:0}.instructions-page p,.instructions-page li{color:#bac9db;font-size:16px;line-height:1.75}.instructions-page strong{color:#f0f6ff}.instructions-page>.eyebrow{margin-bottom:12px;font-size:10px;line-height:1.6}.instructions-page h1{letter-spacing:-.7px;margin-bottom:20px;font-size:clamp(27px,4vw,36px);line-height:1.2}.instructions-page h2{margin-bottom:12px;font-size:21px;line-height:1.4}.instructions-page h3{margin-bottom:8px;font-size:17px;line-height:1.4}.instructions-page .instructions-lead{color:#d5e1ef;font-size:18px}.instructions-page .rules-intro{gap:28px;margin:32px 0 40px;display:grid}.instructions-page ul{gap:10px;margin:16px 0 0;padding-left:22px;display:grid}.instructions-page li{padding-left:4px}.instructions-page li::marker{color:var(--accent,var(--cyan))}.instructions-page .scoring-rules{border-top:1px solid var(--line);padding-top:28px}.instructions-page .field-guide{grid-template-columns:minmax(0,1fr);gap:14px;margin:20px 0 0;display:grid}.instructions-page .field-guide article{border:1px solid var(--line);background:#0b1422;border-radius:12px;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:18px;padding:22px;display:grid}.instructions-page .guide-symbol{color:var(--accent,var(--cyan));overflow-wrap:anywhere;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;font-size:25px;line-height:1.3;display:flex}.instructions-page .guide-symbol svg{flex-shrink:0}.instructions-page>.primary{margin-top:28px}#help-dialog{overscroll-behavior:contain;width:min(800px,100vw - 24px);max-width:800px;max-height:calc(100dvh - 24px);padding:0;scroll-padding-top:80px;overflow-y:auto}#help-dialog .help-dialog-header{z-index:2;border-bottom:1px solid var(--line);background:#111c2e;justify-content:space-between;align-items:center;gap:16px;padding:12px 28px;display:flex;position:sticky;top:0}#help-dialog .help-dialog-header>span{color:#bac9db;font-size:13px;font-weight:700}#help-dialog #close-help{float:none;flex-shrink:0;width:44px;height:44px;font-size:23px;position:static}#help-dialog .instructions-page{clear:none;margin:0 auto;padding:28px 32px 36px}#help-dialog .instructions-page h1{font-size:clamp(27px,4vw,36px)}@media (max-width:600px){#help-dialog .help-dialog-header{padding:8px 16px}#help-dialog .instructions-page{padding:24px 20px 28px}.instructions-page p,.instructions-page li{font-size:15px;line-height:1.75}.instructions-page .instructions-lead{font-size:17px}.instructions-page h2{font-size:19px}.instructions-page .field-guide article{grid-template-columns:32px minmax(0,1fr);gap:12px;padding:18px 14px}.instructions-page .guide-symbol{font-size:22px}}
