:root{font-family:Inter,ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;color:var(--ngs-text);background:var(--ngs-bg);font-synthesis:none;--ngs-bg:#090909;--ngs-surface:#181818;--ngs-surface-raised:#272727;--ngs-bronze:#916947;--ngs-bronze-highlight:#b27a4f;--ngs-text:#f2eee8;--ngs-muted:#aaa29a;--ngs-red:#c94b42;--ngs-blue:#4a82bd;--ngs-green:#62a36d;--ngs-yellow:#dfbb3d}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 50% -15%,#383028 0,transparent 36rem),linear-gradient(135deg,#090909,#111 60%,#080808)}button,input{font:inherit}.play-shell{min-height:100vh}.shell-header{height:104px;padding:18px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12;background:#090909d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:18px;color:var(--ngs-muted);text-decoration:none;font-size:.68rem;letter-spacing:.25em}.brand img{width:min(230px,55vw);height:auto;display:block}.game-mark{letter-spacing:.12em;color:#ddd4ca}.shell-main{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:clamp(42px,8vw,96px) 0}.panel,.status-panel,.room-banner{border:1px solid #ffffff14;background:linear-gradient(145deg,#24211f,#151515);border-radius:20px;box-shadow:0 24px 70px #0009,inset 0 1px #ffffff0b}.identity{max-width:600px;margin:4vh auto;padding:clamp(28px,6vw,60px)}.eyebrow{color:var(--ngs-bronze-highlight);font-size:.72rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.identity h1,.section-heading h1,.game-hero h1,.room-banner h1{font-size:clamp(2.4rem,7vw,5rem);line-height:.92;margin:.2em 0;font-weight:900;letter-spacing:-.04em}.lede,.section-heading>p,.hero-copy{color:var(--ngs-muted);font-size:1.05rem;line-height:1.7}.identity form{display:grid;gap:12px;margin-top:36px}.identity label{font-weight:800}.identity input{width:100%;padding:17px 18px;border:1px solid #ffffff25;border-radius:11px;color:var(--ngs-text);background:#0d0d0d;outline:none;font-size:1.05rem}.identity input:focus{border-color:var(--ngs-bronze-highlight);box-shadow:0 0 0 4px #b27a4f30}.primary-button,.secondary-button{border-radius:10px;border:1px solid transparent;padding:15px 22px;font-weight:900;letter-spacing:.08em;cursor:pointer}.primary-button{color:#fff8ef;background:linear-gradient(#b27a4f,#7d5638);box-shadow:0 8px 24px #0008,inset 0 1px #ffffff38}.secondary-button{color:var(--ngs-text);background:#242424;border-color:#ffffff20}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.12)}button:focus-visible,a:focus-visible{outline:3px solid var(--ngs-yellow);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.48}.primary-button small,.secondary-button small{display:block;font-size:.55rem;margin-top:4px;letter-spacing:.12em}.form-message{min-height:1.4em;color:#ef9b8d;margin:2px 0}.section-heading{margin-bottom:32px}.status-panel{padding:40px;text-align:center;color:var(--ngs-muted)}.spinner{display:inline-block;width:18px;height:18px;border:2px solid #ffffff22;border-top-color:var(--ngs-bronze-highlight);border-radius:50%;animation:spin .75s linear infinite;margin-right:8px;vertical-align:-3px}@keyframes spin{to{transform:rotate(360deg)}}.game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:24px}.game-card{min-height:330px;padding:34px;display:flex;align-items:flex-end;position:relative;overflow:hidden;border:1px solid #ffffff18;border-radius:22px;color:var(--ngs-text);text-decoration:none;background:radial-gradient(circle at 70% 15%,#70543c55,transparent 35%),linear-gradient(145deg,#2b2723,#111);box-shadow:0 25px 70px #0008;transition:.2s}.game-card:hover{transform:translateY(-4px);border-color:#b27a4f88}.game-card h2{font-size:2.5rem;margin:.2em 0}.game-card p{color:var(--ngs-muted)}.card-action{font-size:.8rem;font-weight:900;letter-spacing:.12em;color:var(--ngs-bronze-highlight)}.token-orbit{position:absolute;right:-30px;top:-36px;width:230px;height:230px;border:1px solid #ffffff15;border-radius:50%;transform:rotate(-14deg)}.token-orbit i{position:absolute;width:34px;height:34px;border-radius:8px;box-shadow:0 6px 18px #0008}.token-orbit i:nth-child(1){background:var(--ngs-red);top:35px;left:12px}.token-orbit i:nth-child(2){background:var(--ngs-blue);top:14px;right:44px}.token-orbit i:nth-child(3){background:var(--ngs-green);bottom:18px;left:48px}.token-orbit i:nth-child(4){background:var(--ngs-yellow);bottom:48px;right:8px}.back-link,.text-link{color:var(--ngs-muted);text-decoration:none}.back-link:hover,.text-link:hover{color:var(--ngs-bronze-highlight)}.game-hero{max-width:800px;margin:auto;text-align:center}.worship-emblem{margin:35px auto 20px;width:118px;height:118px;border-radius:30px;display:grid;place-items:center;font:900 4rem Georgia,serif;color:#24170d;background:radial-gradient(circle at 35% 25%,#ffe99b,#d49e30 45%,#845d21);box-shadow:0 20px 50px #000b,0 0 0 7px #31271f}.game-hero h1{font-family:Georgia,serif;letter-spacing:.04em;text-shadow:0 4px 0 #4b2c16}.hero-tagline{font-size:1.5rem;color:#e3c86a}.hero-copy{max-width:610px;margin:20px auto 34px}.hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.room-banner{padding:28px 32px;margin:28px 0;display:flex;align-items:center;justify-content:space-between}.room-banner h1{font-variant-numeric:tabular-nums;letter-spacing:.12em;margin-bottom:0}.compact{padding:11px 15px}.lobby-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.lobby-grid>.panel{padding:26px}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel h2{margin-top:0}.text-button{border:0;background:none;color:var(--ngs-bronze-highlight);cursor:pointer}.player-list{list-style:none;padding:0;margin:0}.player-list li{min-height:58px;display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff13}.ready-icon{color:var(--ngs-green);font-size:1.15rem}.host-badge,.coming,.color-label{margin-left:auto;padding:5px 8px;border-radius:999px;background:#91694733;color:#d7aa7e;font-size:.65rem;font-weight:900;letter-spacing:.1em}.color-label{margin-left:0}.color-options{display:flex;gap:8px;flex-wrap:wrap}.color-options button{padding:9px 12px;border:1px solid #ffffff15;border-radius:8px;background:#111;color:var(--ngs-muted)}.future-panel .coming,.chat-panel .coming{display:inline-block;margin:20px 0 0}.chat-panel{grid-column:1/-1;min-height:160px}.chat-panel p{color:var(--ngs-muted)}.lobby-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px}.centered{max-width:650px;margin:auto;padding:50px;text-align:center}.error h1,.error h2{color:var(--ngs-text)}@media(max-width:700px){.shell-header{height:86px}.brand span{display:none}.game-mark{font-size:.75rem}.shell-main{padding:38px 0}.lobby-grid{grid-template-columns:1fr}.chat-panel{grid-column:auto}.lobby-actions{grid-column:auto;flex-direction:column}.room-banner{align-items:flex-start;gap:18px}.room-banner h1{font-size:2.4rem}.identity h1,.section-heading h1,.game-hero h1{font-size:2.7rem}}.playtest-community{margin-top:28px;padding-top:24px;border-top:1px solid #ffffff20}.playtest-community h2{font-size:1.2rem;line-height:1.35;margin-bottom:10px}.playtest-community p{color:var(--ngs-muted);line-height:1.6;margin:0 0 18px}.playtest-community .secondary-button{display:block;text-align:center;text-decoration:none;line-height:1.5;letter-spacing:.04em}.playtest-community small{display:block;margin-top:10px;color:var(--ngs-muted);font-size:.75rem;text-align:center}.worship-help-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:clamp(.75rem,3vw,2rem);background:#08090ad1;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.worship-help{display:flex;flex-direction:column;width:min(760px,100%);max-height:calc(100dvh - 2rem);overflow:hidden;border:1px solid rgba(181,132,75,.7);border-radius:14px;background:linear-gradient(150deg,#25282a,#151719);box-shadow:0 24px 80px #000000a6;color:#f4efe5}.worship-help__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;border-bottom:1px solid rgba(181,132,75,.28)}.worship-help__header h1,.worship-help__header p{margin:0}.worship-help__header .eyebrow{color:#c99a62}.worship-help__body{min-height:0;overflow-y:auto;padding:1.25rem;overscroll-behavior:contain}.worship-help__body h2{margin:0 0 .75rem;color:#d6aa73}.worship-help__body p{line-height:1.58}.worship-help__body ul{padding-left:1.25rem}.worship-help__body li{margin:.45rem 0;line-height:1.5}.worship-help__section+.worship-help__section{margin-top:1.4rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.09)}.worship-help__progress{font-weight:800;letter-spacing:.12em;color:#d6aa73}.worship-help__footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:1rem 1.25rem;border-top:1px solid rgba(181,132,75,.28);background:#191b1d}.worship-help__nav{display:flex;gap:.65rem;flex-wrap:wrap}.worship-help__close{min-width:44px;min-height:44px;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:transparent;color:#f4efe5;font-size:1.2rem;cursor:pointer}.worship-help__close:hover,.worship-help__close:focus-visible{border-color:#d6aa73;color:#d6aa73}body:has(.worship-help-backdrop){overflow:hidden}@media(max-width:600px){.worship-help-backdrop{padding:.5rem}.worship-help{max-height:calc(100dvh - 1rem)}.worship-help__header,.worship-help__body,.worship-help__footer{padding:.9rem}.worship-help__footer{align-items:stretch}.worship-help__footer>button,.worship-help__nav,.worship-help__nav button{flex:1}.worship-help__nav button{min-height:44px}}.vivos-help-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:clamp(.75rem,3vw,2rem);background:#050807db;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.vivos-help{display:flex;flex-direction:column;width:min(760px,100%);max-height:calc(100dvh - 2rem);overflow:hidden;border:1px solid rgba(184,217,74,.65);border-radius:14px;background:linear-gradient(150deg,#202923,#101411);box-shadow:0 24px 80px #000000b3;color:#e8ede9}.vivos-help__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;border-bottom:1px solid rgba(184,217,74,.25)}.vivos-help__header h1,.vivos-help__header p{margin:0}.vivos-help__header .eyebrow{color:#b8d94a}.vivos-help__body{min-height:0;overflow-y:auto;padding:1.25rem;overscroll-behavior:contain}.vivos-help__body h2{margin:0 0 .7rem;color:#cfe66f;font-size:1.05rem;letter-spacing:.05em}.vivos-help__body p{line-height:1.55}.vivos-help__body ul{padding-left:1.25rem}.vivos-help__body li{margin:.45rem 0;line-height:1.5}.vivos-help__section+.vivos-help__section{margin-top:1.35rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.09)}.vivos-help__footer{display:flex;justify-content:flex-end;padding:1rem 1.25rem;border-top:1px solid rgba(184,217,74,.25);background:#111713}.vivos-help__close{min-width:44px;min-height:44px;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:transparent;color:#e8ede9;font-size:1.2rem;cursor:pointer}.vivos-help__close:hover,.vivos-help__close:focus-visible{border-color:#b8d94a;color:#b8d94a}body:has(.vivos-help-backdrop){overflow:hidden}@media(max-width:600px){.vivos-help-backdrop{padding:.5rem}.vivos-help{max-height:calc(100dvh - 1rem)}.vivos-help__header,.vivos-help__body,.vivos-help__footer{padding:.9rem}.vivos-help__footer button{width:100%;min-height:44px}}.vivos-mount{display:block;width:100vw;max-width:none;min-width:0;margin-inline:calc(50% - 50vw);container-type:inline-size;--vivos-panel:#151b18;--vivos-panel-2:#1c2420;--vivos-line:#35433b;--vivos-muted:#92a098;--vivos-acid:#b8d94a;--vivos-blue:#3978dc;--vivos-red:#c9433f;--vivos-orange:#df8a37;--vivos-green:#4b9b5a;--vivos-black:#171918}.vivos-game{min-width:0;padding:20px 26px;color:#e8ede9;background:#0a0d0c;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.vivos-game *{box-sizing:border-box}.vivos-game button{font:inherit;cursor:pointer}.vivos-game .eyebrow{margin:0 0 5px;color:var(--vivos-acid);font-size:.72rem;font-weight:800;letter-spacing:.18em}.vivos-game>header{display:flex;justify-content:space-between;align-items:end;padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--vivos-line)}.vivos-game>header h1{margin:0;font-size:1.9rem;letter-spacing:.04em}.vivos-game .legend{display:flex;gap:15px;color:var(--vivos-muted);font-size:.76rem}.vivos-game .legend span{display:flex;align-items:center;gap:5px;text-transform:capitalize}.vivos-game .dot{width:10px;height:10px;border-radius:50%}.vivos-game .blue,.vivos-game .dot.blue{color:var(--vivos-blue);background-color:var(--vivos-blue)}.vivos-game .red,.vivos-game .dot.red{color:var(--vivos-red);background-color:var(--vivos-red)}.vivos-game .orange,.vivos-game .dot.orange{color:var(--vivos-orange);background-color:var(--vivos-orange)}.vivos-game .green,.vivos-game .dot.green{color:var(--vivos-green);background-color:var(--vivos-green)}.vivos-game .black,.vivos-game .dot.black{color:#6e756f;background-color:var(--vivos-black)}.vivos-game .game-area{width:100%;min-width:0;display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr) minmax(230px,330px);gap:18px;align-items:start;overflow:visible}.vivos-game .pending-rail{grid-column:1;grid-row:1}.vivos-game .play-column{grid-column:2;grid-row:1;overflow:hidden}.vivos-game .status-rail{grid-column:3;grid-row:1}.vivos-game .play-column,.vivos-game .pending-rail,.vivos-game .status-rail{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-width:100%;min-width:0;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;transform:none!important;float:none!important;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-self:start;align-content:start}.vivos-game .play-column,.vivos-game .pending-rail,.vivos-game .status-rail{overflow:hidden}.vivos-game aside>section,.vivos-game .hand,.vivos-game .turn-panel{background:var(--vivos-panel);border:1px solid #29332e;padding:14px}.vivos-game .section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;text-transform:uppercase;font-size:.78rem;letter-spacing:.09em}.vivos-game .section-title small{color:var(--vivos-muted);text-transform:none;letter-spacing:0}.vivos-game .turn-panel{min-height:92px;border-left:4px solid var(--vivos-acid);display:flex;justify-content:space-between;gap:14px}.vivos-game .turn-panel h2{margin:0;font-size:1.05rem}.vivos-game .turn-panel p:not(.eyebrow){margin:4px 0 0;color:var(--vivos-muted);font-size:.8rem}.vivos-game .turn-buttons{display:flex;align-items:center;gap:7px}.vivos-game .turn-buttons button,.vivos-game .card-actions button,.vivos-game .pending-objectives button{padding:8px 10px;border:0;background:var(--vivos-acid);color:#11160e;font-size:.68rem;font-weight:800;text-transform:uppercase}.vivos-game .board{width:83.3333%;aspect-ratio:3/2;justify-self:center;display:grid;grid-template:repeat(3,minmax(0,1fr))/repeat(3,minmax(0,1fr));gap:8px;padding:8px;background:#070a09;border:1px solid #28322d}.vivos-game .room{min-width:0;min-height:0;padding:10px;display:flex;flex-direction:column;justify-content:space-between;color:#e9efeb;background:#18201c;border:1px solid #3a4740;overflow:hidden;text-align:left;font:inherit}.vivos-game .room:disabled{opacity:1;cursor:default}.vivos-game .room.selected{outline:4px solid #fff;z-index:2}.vivos-game .room.reachable{outline:3px solid var(--vivos-acid);z-index:1}.vivos-game .room.unavailable{opacity:.48;text-transform:capitalize}.vivos-game .room.resolving{outline:5px solid var(--vivos-acid)}.vivos-game .room-head{display:flex;justify-content:space-between;gap:8px}.vivos-game .room-head strong{font-size:.86rem;text-transform:uppercase;letter-spacing:.05em}.vivos-game .room-head em{color:var(--vivos-muted);font-size:.7rem;font-style:normal}.vivos-game .room-effect{color:#9baaa1;font-size:.65rem;text-transform:uppercase;letter-spacing:.06em}.vivos-game .pawns{display:flex;flex-wrap:wrap;gap:6px}.vivos-game .pawn-stack{display:inline-flex;align-items:center;gap:4px;padding:3px 6px 3px 4px;border-radius:999px;background:#0b0e0d;border:1px solid #ffffff20}.vivos-game .pawn-stack i{width:16px;height:16px;border-radius:50%;background:currentColor;border:2px solid #ffffffaa}.vivos-game .pawn-stack b{color:#fff;font-size:.72rem}.vivos-game .cards{width:100%;min-width:0;display:flex;flex-wrap:nowrap;gap:11px;padding:4px 3px 12px;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:stable}.vivos-game .card{position:relative;flex:0 0 156px;width:156px;height:213px;border:2px solid #66736c;border-radius:7px;overflow:hidden;background:#111614}.vivos-game .card>img{width:100%;height:100%;object-fit:cover;display:block;opacity:.48}.vivos-game .card-copy{position:absolute;inset:auto 0 0;padding:42px 12px 12px;display:grid;gap:5px;background:linear-gradient(transparent,#090c0b 32%)}.vivos-game .card-copy b{color:var(--vivos-acid);font-size:.72rem;text-transform:uppercase}.vivos-game .card-copy strong{color:#fff;font-size:.82rem;line-height:1.25}.vivos-game .card-copy small{color:#aeb9b2;text-transform:capitalize}.vivos-game .card-actions{position:absolute;top:0;right:0;bottom:0;left:0;padding:14px;display:flex;flex-direction:column;justify-content:center;gap:8px;background:#070a09ee;opacity:0;pointer-events:none}.vivos-game .card:hover .card-actions,.vivos-game .card:focus-within .card-actions{opacity:1;pointer-events:auto}.vivos-game .hidden-card-label{position:absolute;inset:auto 8px 8px;padding:4px 7px;background:#090c0b;color:#dce5df;font-size:.62rem;font-weight:800;text-transform:uppercase}.vivos-game .pending-objectives{display:grid;gap:9px;max-height:760px;overflow:auto}.vivos-game .pending-objectives article{display:grid;grid-template-columns:46px 1fr;gap:9px;padding:8px;background:#222a26;border:1px solid var(--vivos-line)}.vivos-game .pending-objectives img{width:46px;height:64px;object-fit:cover}.vivos-game .pending-objectives article div{display:grid;align-content:center;gap:4px}.vivos-game .pending-objectives small,.vivos-game .empty{color:var(--vivos-muted);font-size:.7rem}.vivos-game .supply{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.vivos-game .supply div{padding:9px;background:var(--vivos-panel-2)}.vivos-game .supply small,.vivos-game .supply b{display:block}.vivos-game .supply small{color:var(--vivos-muted);font-size:.64rem}.vivos-game .player-row{display:flex;justify-content:space-between;gap:8px;padding:9px 7px;border-top:1px solid #28322d;font-size:.78rem}.vivos-game .player-row.active{background:#2a342f;color:#dcee9e}.vivos-game .player-row small{display:block;margin-top:3px;color:var(--vivos-muted)}.vivos-game .log{max-height:610px;overflow:auto}.vivos-game .log p{margin:0;padding:7px 0;border-top:1px solid #28322d;color:#b5c0b9;font-size:.72rem;line-height:1.4}.vivos-state{max-width:720px;margin:8vh auto;padding:28px;background:var(--vivos-panel);border-left:4px solid var(--vivos-acid)}.vivos-state h2{margin:0 0 8px}.vivos-state p:last-child{color:var(--vivos-muted)}[data-vivos-command-pending=true] [data-vivos-command]{pointer-events:none;opacity:.45}@container (max-width:1180px){.vivos-game .game-area{grid-template-columns:minmax(150px,180px) minmax(0,1fr) minmax(220px,250px);gap:12px}.vivos-game .board{width:100%}}@container (max-width:1050px){.vivos-game .game-area{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}.vivos-game .pending-rail{grid-column:1;grid-row:1}.vivos-game .play-column{grid-column:2;grid-row:1}.vivos-game .status-rail{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}.vivos-game .status-rail .log{max-height:220px}}@container (max-width:760px){.vivos-game{padding:12px}.vivos-game>header{align-items:flex-start;gap:10px}.vivos-game .legend{flex-wrap:wrap}.vivos-game .game-area{grid-template-columns:1fr}.vivos-game .pending-rail,.vivos-game .play-column,.vivos-game .status-rail{grid-column:1;grid-template-columns:minmax(0,1fr)}.vivos-game .play-column{grid-row:1}.vivos-game .pending-rail{grid-row:2}.vivos-game .status-rail{grid-row:3}.vivos-game .board{width:100%}.vivos-game .turn-panel{display:grid}.vivos-game .turn-buttons{flex-wrap:wrap}}@media(max-width:1050px){.vivos-game .game-area{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}.vivos-game .pending-rail{grid-column:1;grid-row:1}.vivos-game .play-column{grid-column:2;grid-row:1}.vivos-game .status-rail{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}.vivos-game .status-rail .log{max-height:220px}}@media(max-width:760px){.vivos-game .game-area{grid-template-columns:1fr}.vivos-game .pending-rail,.vivos-game .play-column,.vivos-game .status-rail{grid-column:1;grid-template-columns:minmax(0,1fr)}.vivos-game .play-column{grid-row:1}.vivos-game .pending-rail{grid-row:2}.vivos-game .status-rail{grid-row:3}}.shell-main:has(.mutineers-host){width:min(1880px,calc(100% - 24px));padding:1rem 0}.game-card.mutineers-card{background:radial-gradient(circle at 78% 18%,#d4a53f33,transparent 28%),linear-gradient(145deg,#173c3f,#161412 70%)}.mutineers-host{max-width:none;width:100%}.mutineers-game{--mut-ink:#101515;--mut-paper:#e8d9ba;--mut-rust:#b64f2e;--mut-gold:#d4a53f;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:.75rem;color:#f4ead6}.mutineers-main{display:grid;gap:.65rem;min-width:0}.mutineers-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.65rem;min-width:0}.mutineers-status{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(212,165,63,.35);background:#d4a53f59;gap:1px}.mutineers-status div{display:flex;flex-direction:column;padding:.55rem .75rem;background:#132527}.mutineers-status span,.mutineers-crew-card small{font-size:.68rem;letter-spacing:.12em;color:#aa9d86}.mutineers-status strong{margin-top:.2rem;color:var(--mut-paper)}.mutineers-crew{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.5rem}.mutineers-crew-card{display:grid;gap:.28rem;padding:.65rem;border:1px solid #3e4c49;border-radius:.45rem;background:#151c1c}.mutineers-crew-card div{display:flex;justify-content:space-between;gap:.4rem}.mutineers-crew-card small{display:block}.mutineers-crew-card>span{font-size:.75rem;color:#bfb39f}.mutineers-crew-card b{color:var(--mut-gold);font-size:.7rem;letter-spacing:.1em}.mutineers-crew-card.captain{border-color:var(--mut-gold);background:linear-gradient(135deg,#352819,#171c1b)}.mutineers-crew-card.active{box-shadow:0 0 0 2px var(--mut-rust)}.mutineers-crew-card.passed{opacity:.5;border-style:dashed}.mutineers-play-panel,.mutineers-hand,.mutineers-distribution,.mutineers-log{border:1px solid rgba(212,165,63,.3);border-radius:.65rem;background:linear-gradient(145deg,#173c3feb,#0f1c1df2);padding:1rem}.mutineers-play-panel{min-height:110px}.mutineers-play-panel h2,.mutineers-hand h2{margin:.1rem 0;font-family:Georgia,serif;color:var(--mut-paper)}.mutineers-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}.mutineers-hand header{display:flex;align-items:end;justify-content:space-between}.mutineers-card-row{display:flex;gap:.55rem;overflow-x:auto;padding:.55rem .2rem .85rem;scrollbar-color:var(--mut-rust) #152020}.mutineers-playing-card{flex:0 0 118px;min-width:0;padding:0;overflow:hidden;aspect-ratio:5/7;border:3px solid #7f6c4e;border-radius:.5rem;background:#090b0b;box-shadow:0 .4rem .8rem #00000059}.mutineers-playing-card img{display:block;width:100%;height:100%;object-fit:contain}.mutineers-playing-card:disabled{opacity:.86}.mutineers-playing-card:not(:disabled):hover{transform:translateY(-2px)}.mutineers-playing-card.selected{border-color:var(--mut-gold);outline:3px solid var(--mut-rust);transform:translateY(-4px)}.mutineers-card-row.locked{opacity:.76}.mutineers-lock-label{color:var(--mut-gold);font-size:.7rem;letter-spacing:.12em}.mutineers-distribution{text-align:center}.mutineers-distribution img{display:block;width:90px;aspect-ratio:5/7;object-fit:contain;margin:.6rem auto;border:3px solid #8a704b;border-radius:.5rem}.mutineers-distribution strong{display:inline-block;padding:.35rem .6rem;border-radius:.35rem;color:#21150d;background:#f4ead6}.mutineers-empty-card{display:grid;place-items:center;width:90px;aspect-ratio:5/7;margin:.6rem auto;border:2px dashed #665a46;color:#8e8371;font-size:.65rem}.mutineers-log{min-height:0}.mutineers-log ol{max-height:55vh;margin:.5rem 0 0;padding-left:1.25rem;overflow:auto;color:#c8bda8;font-size:.78rem;line-height:1.4}.mutineers-log li+li{margin-top:.45rem}.mutineers-recap{display:grid;grid-template-columns:1fr 120px;align-items:center;gap:1rem}.mutineers-targets{display:flex;gap:.5rem;overflow-x:auto}.mutineers-help-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:#030707db}.mutineers-help{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(850px,100%);max-height:calc(100vh - 2rem);border:1px solid var(--ngs-bronze-highlight);border-radius:.75rem;color:#f4ead6;background:#111b1b;box-shadow:0 2rem 6rem #000}.mutineers-help header,.mutineers-help footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}.mutineers-help header{border-bottom:1px solid #5c4935}.mutineers-help footer{border-top:1px solid #5c4935}.mutineers-help header button{font-size:1.6rem;background:transparent}.mutineers-help h1{margin:0}.mutineers-help__body{overflow-y:auto;padding:1rem 1.25rem}.mutineers-help__body h2{font-family:Georgia,serif;color:var(--mut-gold);font-size:1.2rem}.mutineers-help__body p{color:#d0c5b1;line-height:1.55}.mutineers-target{display:grid;gap:.35rem;justify-items:center;flex:0 0 118px}.mutineers-target>span{width:100%;overflow:hidden;color:var(--mut-gold);font-size:.68rem;font-weight:700;letter-spacing:.06em;text-align:center;text-overflow:ellipsis;white-space:nowrap}.mutineers-target .mutineers-playing-card{width:118px}.mutineers-status{grid-template-columns:repeat(5,1fr)}.mutineers-status div{justify-content:center;height:3.5rem;padding:.35rem .75rem;overflow:hidden}.mutineers-status span{line-height:1}.mutineers-status strong{margin-top:.3rem;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:1050px){.mutineers-game{grid-template-columns:1fr}.mutineers-sidebar{grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto}.mutineers-log ol{max-height:180px}}@media(max-width:700px){.mutineers-status{grid-template-columns:repeat(2,1fr)}.mutineers-sidebar{grid-template-columns:1fr}.mutineers-crew{grid-template-columns:1fr 1fr}.mutineers-playing-card{flex-basis:104px}.mutineers-recap{grid-template-columns:1fr}.mutineers-actions>*{flex:1}.mutineers-log ol{max-height:220px}}@media(max-width:430px){.mutineers-crew{grid-template-columns:1fr}.mutineers-status{font-size:.85rem}}.shell-main:has(.lobby){padding:22px 0 42px}.lobby{display:grid;gap:14px}.lobby-controls{padding:15px 18px 12px;border:1px solid #ffffff18;border-radius:14px;background:linear-gradient(145deg,#292521,#141414);box-shadow:0 14px 36px #0008,inset 0 1px #ffffff0c}.lobby-controls h1{margin:0 0 10px;color:#d7aa7e;font-size:.75rem;letter-spacing:.18em}.lobby-controls__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.lobby-controls__heading h1{margin:0 0 10px}.lobby-room-name{display:block;margin:-3px 0 9px;color:var(--ngs-text);font-size:clamp(1.1rem,2vw,1.55rem);letter-spacing:.06em;text-transform:uppercase}.lobby-controls__bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.lobby-controls__room,.lobby-controls__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.lobby-controls__actions{justify-content:flex-end}.ready-control{display:inline-flex;flex-direction:column;align-items:center;gap:3px}.ready-help{color:var(--ngs-muted);font-size:.62rem;white-space:nowrap}.lobby-controls__label{color:var(--ngs-muted);font-size:.68rem;font-weight:900;letter-spacing:.16em}.lobby-controls__code{font-size:1.35rem;font-variant-numeric:tabular-nums;letter-spacing:.12em}.lobby-controls__help{margin:8px 0 0;color:var(--ngs-muted);font-size:.76rem;line-height:1.35}.lobby-controls__messages{min-height:0}.lobby-controls__messages .form-message{min-height:0;margin:5px 0 0}.future-control small{font-size:.5rem}.room-name-editor{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin-top:11px;padding-top:11px;border-top:1px solid #ffffff12}.room-name-editor label{display:grid;gap:4px;min-width:min(100%,280px)}.room-name-editor label span{color:var(--ngs-muted);font-size:.66rem;font-weight:900;letter-spacing:.14em}.room-name-editor input{min-height:40px;padding:8px 10px;border:1px solid #ffffff20;border-radius:8px;color:var(--ngs-text);background:#161616}.room-name-editor input:focus{outline:0;border-color:var(--ngs-bronze-highlight);box-shadow:0 0 0 3px #b27a4f30}.room-name-editor input:disabled{opacity:.65}.room-directory__name{display:block;margin-bottom:4px;color:#e0bd98;font-size:1rem;letter-spacing:.05em;text-transform:uppercase}.lobby-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch}.lobby-content-grid>.panel{padding:18px 20px;border-radius:16px;box-shadow:0 14px 38px #0008,inset 0 1px #ffffff0b}.lobby-content-grid .panel-title h2,.chat-panel h2{margin:0;font-size:.86rem;letter-spacing:.14em}.players-panel,.chat-panel{min-width:0;min-height:250px}.lobby-content-grid .player-list li{min-height:48px}.lobby-content-grid .chat-panel{grid-column:auto;display:flex;flex-direction:column}.chat-panel__placeholder{display:grid;place-content:center;flex:1;text-align:center;color:var(--ngs-muted)}.chat-panel__placeholder p{margin:0 0 12px}.chat-panel__placeholder .coming{margin:0 auto}.player-row-meta{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.player-color-control,.player-color-readonly{display:inline-flex;align-items:center;gap:9px;min-width:140px}.player-color-control{padding:5px 8px;border:1px solid #ffffff20;border-radius:10px;background:linear-gradient(145deg,#25211e,#111)}.player-color-control:focus-within{border-color:var(--ngs-bronze-highlight);box-shadow:0 0 0 3px #b27a4f30}.player-color-control select{min-width:0;width:132px;padding:8px 28px 8px 8px;border:0;border-radius:7px;color:var(--ngs-text);background:#161616;cursor:pointer;font:inherit;color-scheme:dark}.player-color-control select:focus{outline:0}.player-color-control select:disabled{cursor:wait;opacity:.6}.player-color-swatch{flex:0 0 auto;width:17px;height:17px;border:2px solid #ffffff8c;border-radius:50%;background:var(--player-color);box-shadow:0 2px 8px #000b}.player-color-readonly{color:var(--ngs-muted);font-size:.9rem}.ready-badge{min-width:76px;padding:5px 7px;border:1px solid #ffffff1f;border-radius:999px;text-align:center;font-size:.6rem;font-weight:900;letter-spacing:.08em}.ready-badge.is-ready{border-color:#62a36d77;background:#62a36d20;color:#a7d8ae}.ready-badge.is-not-ready{color:var(--ngs-muted);background:#ffffff08}.ai-badge{padding:5px 7px;border:1px solid #b27a4f66;border-radius:999px;background:#91694724;color:#e0bd98;font-size:.6rem;font-weight:900;letter-spacing:.1em}.ai-strategy-select{min-height:38px;padding:7px 28px 7px 9px;border:1px solid #ffffff20;border-radius:8px;color:var(--ngs-text);background:#161616;color-scheme:dark}.ai-strategy-readonly{min-width:92px;color:var(--ngs-muted);font-size:.85rem}.ai-remove{white-space:nowrap}.active-game-placeholder{max-width:720px;margin:0 auto;padding:30px}.active-game-placeholder h1{margin:.2em 0 0;font-size:clamp(2rem,5vw,3.6rem)}.active-player-list{list-style:none;padding:0;margin:18px 0}.active-player-list li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #ffffff13}.player-color-message{margin:12px 0 0;text-align:right}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:840px){.lobby-controls__bar{align-items:flex-start;flex-direction:column}.lobby-controls__actions{justify-content:flex-start}}@media(max-width:700px){.shell-main:has(.lobby){padding:16px 0 30px}.lobby-controls{padding:14px}.lobby-controls__room,.lobby-controls__actions{width:100%}.lobby-controls__actions .compact{flex:1 1 135px}.lobby-content-grid{grid-template-columns:1fr}.lobby-content-grid>.panel{padding:16px}.players-panel,.chat-panel{min-height:0}.chat-panel__placeholder{min-height:130px}.player-list li{flex-wrap:wrap;padding:8px 0}.player-name{min-width:calc(100% - 42px)}.player-row-meta{width:100%;margin-left:30px;justify-content:space-between}.player-color-control{flex:1}.player-color-control select{width:100%}.player-color-message{text-align:left}}.active-game{display:grid;gap:16px}.active-game__status{padding:18px 20px}.active-game__status-top,.active-game__turns{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.active-game__status h1{margin:3px 0;font-size:1.35rem;letter-spacing:.08em}.active-game__status p{margin:4px 0;color:var(--ngs-muted)}.active-game__version{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#d7aa7e}.active-game__board-scroll{overflow-x:auto;padding:10px 4px 20px}.multiplayer-board{--mp-tile:clamp(92px,10vw,116px);--mp-gap:7px;width:max-content;margin:auto}.multiplayer-board .board{display:grid;grid-template-columns:repeat(5,var(--mp-tile));grid-template-rows:repeat(5,var(--mp-tile));gap:var(--mp-gap)}.multiplayer-board .cell{position:relative;width:var(--mp-tile);height:var(--mp-tile);border:2px solid #5e5546;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;overflow:hidden;color:#24211d;font-size:12px}.multiplayer-board .cell.hidden{background:#3c3832;color:#fff}.multiplayer-board .cell.farm{background:#d7cb65}.multiplayer-board .cell.bakery{background:#d99a5e}.multiplayer-board .cell.home{background:#b8cbe1}.multiplayer-board .cell.square{background:#eee}.multiplayer-board .cell.temple{background:#b898d1;outline:5px solid var(--temple-color);outline-offset:-6px}.multiplayer-board .cell.round-marked{box-shadow:0 0 0 4px var(--marker-color),0 0 13px 5px var(--marker-color)}.multiplayer-board .cell:has(.edge-smite),.multiplayer-board .cell.has-edge-token{overflow:visible}.multiplayer-board .tile-coordinate{position:absolute;z-index:6;top:4px;left:4px;padding:2px 4px;border-radius:4px;background:#121212b8;color:#fff;font:700 10px/1 system-ui,sans-serif}.multiplayer-board .occupancy{position:absolute;right:4px;top:4px;padding:1px 4px;border-radius:8px;background:#fffbd9;color:#222;font-size:9px;font-weight:700;z-index:2}.multiplayer-board .occupancy.at-capacity{background:#191919;color:#fff}.multiplayer-board .pawn{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--c);border:1px solid #fff;color:#fff;font-size:10px;font-weight:700}.multiplayer-board .pawn[style*=neutral]{background:#aaa}.multiplayer-board .priest{box-shadow:0 0 0 2px gold}.multiplayer-board .equation{font-size:9px;line-height:1.05;max-width:105px}.multiplayer-board .action-token{--action-token-size:30px;position:absolute;z-index:10;width:var(--action-token-size);height:var(--action-token-size);border:3px solid var(--action-owner,#555);border-radius:50%;background:#fff;box-shadow:0 1px 4px #0009;pointer-events:none}.multiplayer-board .action-token img{display:block;width:100%;height:100%;border-radius:50%}.multiplayer-board .tile-action-token{top:5px;right:27px}.multiplayer-board .edge-action-token{transform:translate(-50%,-50%)}.multiplayer-board .edge-token-right{top:50%;left:calc(100% + var(--mp-gap)/2)}.multiplayer-board .edge-token-down{top:calc(100% + var(--mp-gap)/2);left:50%}.multiplayer-board .direction-arrow{position:absolute;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#fff;color:#111;font-weight:900}.multiplayer-board .direction-right .direction-arrow{left:calc(100% - 3px);top:50%;transform:translateY(-50%)}.multiplayer-board .direction-left .direction-arrow{right:calc(100% - 3px);top:50%;transform:translateY(-50%)}.multiplayer-board .direction-down .direction-arrow{top:calc(100% - 3px);left:50%;transform:translate(-50%)}.multiplayer-board .direction-up .direction-arrow{bottom:calc(100% - 3px);left:50%;transform:translate(-50%)}.multiplayer-board .edge-smite{position:absolute;z-index:8;display:block;background:#000;pointer-events:none}.multiplayer-board .edge-smite-right{top:8%;left:100%;width:var(--mp-gap);height:84%}.multiplayer-board .edge-smite-down{top:100%;left:8%;width:84%;height:var(--mp-gap)}.active-game__players{padding:18px 20px}.active-game__players h2{font-size:.85rem;letter-spacing:.14em}.active-game__players ol{list-style:none;margin:0;padding:0}.active-game__players li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #ffffff13}.active-game__players li span:first-of-type{margin-left:auto;text-transform:capitalize}.active-game__badge{padding:4px 7px;border-radius:999px;background:#91694733;color:#d7aa7e;font-size:.62rem;font-weight:900;letter-spacing:.08em}.active-game__readonly{text-align:center;color:var(--ngs-muted);font-size:.72rem;font-weight:800;letter-spacing:.12em}@media(max-width:700px){.multiplayer-board{--mp-tile:92px;margin-left:0}.active-game__status-top,.active-game__turns{align-items:flex-start;flex-direction:column}.active-game__status-top .primary-button{width:100%}}.active-game__status-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.room-sync-status{display:inline-block;margin-left:10px;font-size:.66rem;font-weight:900;letter-spacing:.09em;color:#d7aa7e}.room-sync-status[data-sync-state=live]{color:#92c98b}.room-sync-status[data-sync-state=unavailable]{color:#d99783}.active-game__actions{padding:14px 18px}.active-game__actions h2{margin:0 0 10px;font-size:.8rem;letter-spacing:.14em}.active-game__actions p{margin:8px 0 0;color:var(--ngs-muted)}.active-game__action-buttons,.active-game__decision-list,.active-game__confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.active-game__actions .secondary-button{width:auto;min-height:42px;padding:9px 13px}.active-game__actions .secondary-button.selected{border-color:#d7aa7e;background:#91694733;color:#fff}.multiplayer-board button.cell{cursor:pointer}.multiplayer-board button.cell:hover,.multiplayer-board button.cell:focus-visible{border-color:#d7aa7e;box-shadow:0 0 0 3px #d7aa7e55}.multiplayer-board .cell.selected{outline:4px solid #d7aa7e;outline-offset:-5px}@media(max-width:700px){.active-game__action-buttons>*{flex:1 1 130px}}.join-page{max-width:780px;margin:0 auto;display:grid;gap:20px}.join-page>h1{margin:.1em 0;font-size:clamp(2.3rem,6vw,4.3rem)}.join-page>.lede{margin-top:-18px}.join-page__notice{padding:18px;color:var(--ngs-text);border-color:#b27a4f88}.room-directory,.join-by-code{padding:24px}.room-directory__row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid #ffffff13}.room-directory__row:first-child{border-top:0}.room-directory__row div{display:grid;gap:4px}.room-directory__row span,.room-directory__row small{color:var(--ngs-muted)}.join-by-code form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.join-by-code label,.join-by-code .form-message{grid-column:1/-1}.join-by-code input{padding:13px 15px;border:1px solid #ffffff25;border-radius:10px;background:#0d0d0d;color:var(--ngs-text);text-transform:uppercase}.room-access-control{display:grid;gap:3px;color:var(--ngs-muted);font-size:.62rem;font-weight:900;letter-spacing:.1em}.room-access-control select{min-height:40px;border:1px solid #ffffff25;border-radius:8px;background:#171717;color:var(--ngs-text);font-weight:800;padding:7px 30px 7px 10px}.room-access-badge{display:grid;gap:2px;padding:7px 10px;border:1px solid #91694766;border-radius:8px;color:#d7aa7e;font-size:.72rem;font-weight:900;letter-spacing:.08em}.room-access-badge small{color:var(--ngs-muted);font-size:.54rem}.player-kick{font-size:.7rem;border:1px solid #b27a4f55;border-radius:7px;padding:7px 9px}.player-kick:hover:not(:disabled){background:#b27a4f1c}@media(max-width:700px){.join-by-code form{grid-template-columns:1fr}.join-by-code label,.join-by-code .form-message{grid-column:auto}.room-directory__row{align-items:flex-start}.room-directory__row .primary-button{padding:11px 13px}}.room-chat{display:flex;min-height:280px;flex-direction:column;gap:10px}.room-chat h2{margin:0;font-size:.86rem;letter-spacing:.14em}.room-chat__body{min-height:150px;max-height:260px;overflow:auto;padding:8px;border:1px solid #ffffff12;border-radius:9px;background:#101010}.room-chat__message{padding:7px 5px;border-bottom:1px solid #ffffff0b}.room-chat__message:last-child{border-bottom:0}.room-chat__message strong{display:block;color:#d7aa7e;font-size:.76rem}.room-chat__message p{margin:3px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.room-chat__empty{color:var(--ngs-muted)}.room-chat__form{display:flex;gap:8px}.room-chat__form input{min-width:0;flex:1}.room-chat [data-chat-status]{min-height:18px;color:var(--ngs-muted);font-size:.74rem}.active-game>.room-chat{width:min(100%,900px);margin-inline:auto}@media(max-width:700px){.room-chat__form{align-items:stretch;flex-direction:column}.room-chat__form button{min-height:44px}}
