.combat-die[data-die],.combat-roll-list .combat-die[data-die],.resolution-stage .cinema-dice .combat-die[data-die]{color:#f2dfb6;width:56px;height:56px;box-shadow:none;perspective:none;transform-style:flat;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;margin:4px;animation:none;display:inline-grid;position:relative;scale:1}.combat-die[data-die]:before,.combat-die[data-die]:after{display:none}.combat-die[data-die] .die-face{filter:drop-shadow(0 5px #8b7448)drop-shadow(0 9px 10px #0005);transform-origin:50% 65%;width:100%;height:100%;animation:.48s cubic-bezier(.2,.7,.3,1) both die-settle;display:block;overflow:visible}.resolution-stage .cinema-dice .combat-die[data-die]{width:72px;height:72px}@keyframes die-settle{0%{opacity:0;transform:translateY(-18px)rotate(-24deg)scale(.86)}35%{opacity:1;transform:translateY(0)rotate(9deg)}65%{transform:translateY(-5px)rotate(-4deg)}to{transform:translateY(0)rotate(0)}}@media (prefers-reduced-motion:reduce){.combat-die[data-die] .die-face{animation:none}}.manual-reduced-motion .combat-die[data-die] .die-face{animation:none}.audited-features{z-index:2;pointer-events:none;display:block;position:absolute;inset:0}.audited-features .hex-challenge-overlay,.audited-features .hex-lair-overlay{object-fit:fill;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);width:100%;height:100%;position:absolute;inset:0}.audited-features .hex-upper-features{justify-content:center;align-items:flex-end;height:42%;display:flex;position:absolute;top:5%;left:16%;right:16%;overflow:hidden}.audited-features .hex-feature-symbol{object-fit:contain;object-position:center bottom;width:100%;min-width:0;height:100%;display:block}.audited-features .hex-lower-bases{flex-wrap:nowrap;justify-content:center;align-items:center;gap:3%;height:24%;display:flex;position:absolute;top:63%;left:20%;right:20%;overflow:hidden}.audited-features .hex-base-star{object-fit:contain;width:22%;min-width:0;height:100%;display:block}@media (width<=600px){.audited-features .hex-upper-features{height:43%;top:3%;left:7%;right:7%}.audited-features .hex-feature-symbol{filter:drop-shadow(0 1px 1px #101a12)drop-shadow(0 0 1px #fff4ce)}.audited-features .hex-lower-bases{gap:1%;height:27%;top:62%;left:14%;right:14%}.audited-features .hex-base-star{filter:drop-shadow(0 1px 1px #101a12)drop-shadow(0 0 1px #fff4ce);width:30%}}.audited-features .hex-challenge-overlay,.audited-features .hex-lair-overlay{opacity:.48;filter:saturate(.45)}.audited-grid .hex-tile[data-occupied=true] .hex-lair-overlay{opacity:.2}.audited-grid .hex-tile[data-stomped=true] .hex-upper-features{opacity:.4;filter:saturate(.25)}.audited-grid .hex-tile .board-stomp-marker{z-index:3;pointer-events:none;filter:drop-shadow(0 1px 1px #18241c80);flex-direction:column;align-items:center;width:82%;height:82%;display:flex;position:absolute;bottom:9%;left:9%}.board-stomp-marker img{object-fit:contain;width:100%;height:90%;display:block}.board-stomp-marker>span{letter-spacing:.1px;color:#ffe5b9;background:#392c22e6;border-radius:1px;padding:0 1px;font-size:3px;font-weight:900;line-height:1.2}.audited-grid .hex-tile[data-occupied=true] .tile-content{pointer-events:none;justify-content:center;width:100%;max-width:100%;height:100%;max-height:100%;position:absolute;inset:0}.audited-grid .hex-tile .tile-content .tile-occupants{grid-auto-rows:minmax(0,1fr);gap:1%;width:70%;max-width:none;height:70%}.audited-grid .hex-tile .tile-content .tile-occupants .tile-occupant{object-fit:contain;width:100%;max-width:none;height:100%;max-height:100%}.audited-grid .hex-tile .tile-content .tile-occupants.stack-count-3 .tile-occupant:last-child,.audited-grid .hex-tile .tile-content .tile-occupants.stack-count-5 .tile-occupant:last-child,.audited-grid .hex-tile .tile-content .tile-occupants.stack-count-7 .tile-occupant:last-child{grid-column:1/-1;justify-self:center;width:50%}.audited-grid .hex-tile .tile-content .tile-monster{filter:drop-shadow(0 1px 1px #12251c)drop-shadow(0 0 1px #fff2cd80)}.resolution-fight .resolution-content{justify-content:flex-start;gap:18px;padding-top:20px}.resolution-fight .resolution-header h2{font-size:clamp(28px,3.5vw,48px)}.battle-rounds{grid-template-columns:1fr 1fr .75fr;gap:8px;display:grid}.battle-rounds>div{color:#a8b5aa;background:#ffffff03;border:1px solid #b7c6b52b;border-radius:4px;padding:11px 15px}.battle-rounds>div.is-current{color:#f5e4b4;background:#d7bd7b10;border-color:#d7bd7b}.battle-rounds b{letter-spacing:.15em;margin-bottom:4px;font-size:10px;display:block}.battle-rounds span{font-size:12px}.battle-rounds i{color:#dbc582;margin:0 5px;font-style:normal}.battle-turn{justify-content:space-between;align-items:center;gap:14px;display:flex}.battle-turn>span{letter-spacing:.13em;text-transform:uppercase;color:#eed294;font-size:12px;font-weight:800}.battle-turn small{color:#bdcabe;font-size:12px}.battle-arena{grid-template-columns:minmax(0,1fr) 80px minmax(0,1.6fr);align-items:stretch;gap:18px;display:grid}.battle-side{text-align:center;background:#ffffff03;border:1px solid #8baf9a30;border-radius:10px;min-width:0;padding:14px;transition:border-color .2s,background .2s;position:relative}.battle-side.is-attacker{background:radial-gradient(at 50% 20%,#edd58e18,#0000 75%);border-color:#ebcf86}.battle-side.is-target{background:radial-gradient(at 50% 20%,#e28c6e18,#0000 75%);border-color:#de9575}.battle-role{letter-spacing:.18em;color:#adbeaf;min-height:14px;font-size:9px;font-weight:850;display:block}.is-attacker .battle-role{color:#f1d38d}.is-target .battle-role{color:#ffc2a0}.battle-portrait{place-items:center;min-width:0;height:clamp(110px,20vh,230px);margin:6px 0;display:grid;position:relative}.battle-portrait img{object-fit:contain;filter:drop-shadow(0 10px 18px #0006);width:100%;height:100%;min-height:0;transition:filter .3s,opacity .3s}.battle-side h3{text-transform:capitalize;margin:8px 0 12px;font:400 clamp(22px,2.5vw,38px)/1.12 Georgia,serif}.battle-direction{color:#e6cc8e;text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.battle-direction>span{font:400 60px/1 Georgia,serif}.battle-direction small{letter-spacing:.12em;margin-top:12px;font-size:10px;font-weight:800}.battle-forces{scroll-snap-type:x proximity;align-items:stretch;gap:12px;padding-bottom:5px;display:flex;overflow-x:auto}.battle-unit{scroll-snap-align:start;flex:1 0 165px}.battle-unit:only-child{flex-basis:100%}.battle-unit h3{margin:10px 0;font-family:inherit;font-size:15px;font-weight:700;line-height:1.35}.battle-unit .battle-portrait{height:clamp(90px,17vh,195px)}.battle-unit.is-destroyed img{filter:grayscale();opacity:.32}.battle-unit.is-destroyed{border-style:dashed}.battle-unit.is-destroyed .battle-role{color:#efb097}.battle-unit-status{color:#d7e1d0;font-size:12px;line-height:1.4;display:block}.is-destroyed .battle-unit-status{color:#efb097}.battle-side-meta{color:#b8c6b9;margin:8px 0 0;font-size:12px;line-height:1.5}.battle-impact{color:#ffd4bb;white-space:nowrap;background:#321c16eb;border:1px solid #ffa981;border-radius:6px;padding:7px 12px;font-size:clamp(24px,4vw,44px);animation:.3s ease-out both battle-impact-in;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 30px #c54b262c}.battle-impact.miss{color:#dbe7df;background:#182b29eb;border-color:#a4c5b8;font-size:22px}@keyframes battle-impact-in{0%{opacity:0;transform:translate(-50%,-25%)scale(.85)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.battle-health{color:#dcebd7;max-width:320px;margin:0 auto;font-size:16px}.battle-health-track{background:#ffffff15;border-radius:8px;height:8px;margin:10px 0;position:relative;overflow:hidden}.battle-health-track>span{background:#a8d09a;border-radius:8px;transition:width .45s ease-out;position:absolute;inset:0 auto 0 0}.battle-health-track>.battle-health-lost{background:#eaa27e}.battle-health del{color:#cfb6a1;margin-right:7px;font-size:13px}.battle-health small{color:#b8c7b9;font-size:11px}.battle-health b{font-variant-numeric:tabular-nums}.battle-playback{background:#060f11b3;border:1px solid #b6c5ac40;border-radius:10px;grid-template-columns:minmax(0,1.7fr) minmax(160px,1fr);gap:24px;padding:22px;display:grid}.battle-roll{min-width:0}.battle-roll-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.battle-roll-heading .resolution-eyebrow{letter-spacing:.12em;margin:0}.battle-roll-heading>strong{letter-spacing:.1em;color:#edd398;font-size:13px}.battle-roll-equation{align-items:center;gap:24px;margin:18px 0;display:flex}.battle-roll .combat-die[data-die]{width:76px;height:76px}.battle-roll-math>b{color:#f5e6c3;font-variant-numeric:tabular-nums;font:400 40px/1.1 Georgia,serif;display:block}.battle-roll-math>b>span{color:#c1cdbb}.battle-roll-math small{text-transform:capitalize;color:#c0cebe;margin-top:7px;font-size:12px;line-height:1.4;display:block}.battle-hit-range{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.battle-hit-range>span{color:#b5c1b3;border:1px solid #a4b7a435;border-radius:4px;place-items:center;width:29px;height:27px;font-size:12px;font-weight:800;display:grid}.battle-hit-range .can-hit{color:#d1e7b9;background:#749b6830;border-color:#9abd6d70}.battle-hit-range .rolled{outline-offset:2px;color:#fff1c8;background:#ab884b55;outline:2px solid #edd699}.battle-hit-range small{color:#d0d9c4;margin-left:6px;font-size:11px}.battle-roll-explanation{color:#c2cfbe;margin:14px 0 0;font-size:13px;line-height:1.5}.battle-modifiers{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.battle-modifiers>span{color:#e5c992;border:1px solid #d2b77755;border-radius:4px;padding:5px 8px;font-size:11px}.battle-special{color:#e7ce93;font-size:13px;line-height:1.5}.battle-consequence{opacity:0;border-left:1px solid #bacba735;flex-direction:column;justify-content:center;gap:8px;padding-left:24px;display:flex}.battle-consequence.is-visible{opacity:1;animation:.25s both battle-consequence-in}.battle-consequence small{text-transform:capitalize;color:#bfcbb7;font-size:13px}.battle-consequence>strong{color:#f0d4a4;font:400 clamp(26px,3.5vw,48px)/1.1 Georgia,serif}.battle-consequence>span{color:#c5e0b7;font-size:20px}.battle-consequence p{color:#c2ceba;margin:0;font-size:12px;line-height:1.5}@keyframes battle-consequence-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.battle-playback-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.battle-playback-controls>button,.battle-target-button{color:#f0dbac;cursor:pointer;background:#172b27;border:1px solid #cdb77977;border-radius:5px;min-height:44px;padding:12px 18px;font-size:13px}.battle-playback-controls>span{color:#b9c9b7;margin:auto;font-size:12px}.battle-target-button{color:#18251f;background:#ddc78e;border-color:#dec589;width:100%;margin-top:14px;font-weight:800}.battle-ready{background:#d4c68a08;border-left:2px solid #dfc285;padding:12px 20px}.battle-ready>strong{font:400 22px/1.3 Georgia,serif}.battle-ready p{color:#c7d1c1;margin-bottom:0;font-size:13px;line-height:1.7}.battle-history{border:1px solid #b1c2a533;border-radius:6px;padding:12px 16px}.battle-history summary{color:#cfdbc6;cursor:pointer;min-height:24px;font-size:12px}.battle-history ol{margin:12px 0 0;padding:0;list-style:none}.battle-history li+li{border-top:1px solid #b1c2a520}.battle-history button{text-align:left;color:#c4d0bd;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;padding:12px 6px;font-size:12px;display:flex}.battle-history b{text-transform:capitalize;flex:1;font-weight:500}.battle-history [aria-current=step]{color:#f4dda9;background:#d6b87110}.battle-history button>span:last-child{text-align:right;white-space:nowrap}.battle-next{border-top:1px solid #c1ceb333;padding:18px 0 8px}.battle-summary{margin-bottom:18px}.battle-summary>strong{color:#e2cf9c;font-size:16px}.battle-summary p{color:#c3d0bd;font-size:13px;line-height:1.6}.battle-empty{color:#c3d0bd;font-size:15px}.resolution-fight .cinema-battle-actions{max-width:100%}.resolution-fight .resolution-footer{padding-bottom:env(safe-area-inset-bottom);margin-top:20px}@media (width<=760px){.resolution-fight{padding:18px 16px}.resolution-fight .resolution-header{gap:12px;padding-bottom:16px}.resolution-fight .resolution-header h2{font-size:30px}.resolution-fight .resolution-content{gap:14px;padding:14px 0}.resolution-fight .resolution-eyebrow{font-size:9px}.battle-rounds{grid-template-columns:1fr 1fr;gap:5px}.battle-rounds>div{padding:8px 10px}.battle-rounds>div:last-child{display:none}.battle-rounds b{font-size:9px}.battle-rounds span{font-size:10px}.battle-rounds i{margin:0 1px}.battle-turn>span{letter-spacing:.06em;font-size:10px}.battle-turn small{white-space:nowrap;font-size:10px}.battle-arena{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:6px}.battle-side{border-radius:7px;padding:10px 8px}.battle-role{letter-spacing:.08em;font-size:8px}.battle-portrait{height:120px}.battle-unit .battle-portrait{height:108px}.battle-side h3{margin:6px 0 10px;font-size:24px}.battle-unit h3{min-height:30px;margin:6px 0;font:700 12px/1.3 sans-serif}.battle-forces{gap:7px}.battle-unit{flex:0 0 100%;width:100%}.battle-direction>span{font-size:30px}.battle-direction small{letter-spacing:0;font-size:8px}.battle-unit-status,.battle-side-meta{font-size:10px}.battle-health{font-size:15px}.battle-health small{font-size:9px}.battle-health-track{height:6px}.battle-impact{padding:5px 8px;font-size:28px}.battle-impact.miss{font-size:18px}.battle-playback{grid-template-columns:1fr;gap:14px;padding:16px}.battle-roll-equation{gap:20px;margin:14px 0}.battle-roll .combat-die[data-die]{width:64px;height:64px}.battle-roll-math>b{font-size:34px}.battle-roll-heading>strong,.battle-roll-explanation{font-size:12px}.battle-hit-range>span{width:27px;height:24px}.battle-hit-range small{font-size:10px}.battle-consequence{border-top:1px solid #bacba735;border-left:0;grid-template-columns:1fr auto;gap:4px 12px;min-height:60px;padding:12px 0 0;display:grid}.battle-consequence small{grid-column:1/-1;font-size:11px}.battle-consequence>strong{font-size:27px}.battle-consequence>span{align-self:center;font-size:16px}.battle-consequence p{grid-column:1/-1;font-size:11px}.battle-playback-controls{gap:8px}.battle-playback-controls>button{padding:10px 14px;font-size:12px}.battle-playback-controls .cinema-primary{margin-left:auto;padding:10px 16px;font-size:12px}.battle-history{padding:10px 12px}.battle-history button{flex-wrap:wrap;gap:8px}.battle-history b{min-width:150px}.battle-ready{padding:10px 14px}.battle-ready>strong{font-size:20px}.battle-target-button{padding:9px 5px;font-size:11px}.battle-summary>strong{font-size:14px}}@media (prefers-reduced-motion:reduce){.resolution-fight *{transition:none!important;animation:none!important}}.manual-reduced-motion .resolution-fight *{transition:none!important;animation:none!important}.battle-roster-hint{color:#b9c9b7;text-align:right;margin:0;font-size:11px}@media (width>=960px){.resolution-fight{padding:28px 36px}.resolution-fight .resolution-header{padding-bottom:16px}.resolution-fight .resolution-content{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);align-content:start;align-items:start;gap:14px 24px;display:grid}.battle-rounds{grid-area:1/1/auto/-1}.battle-turn{grid-area:2/1/auto/-1}.battle-arena{grid-area:3/1;grid-template-columns:minmax(0,1fr) 42px minmax(0,1.5fr);gap:10px;height:100%}.battle-direction>span{font-size:44px}.battle-side{padding:12px}.battle-portrait{height:clamp(135px,22vh,220px)}.battle-unit{flex-basis:150px}.battle-unit .battle-portrait{height:clamp(110px,19vh,185px)}.battle-side h3{font-size:30px}.battle-unit h3{font-size:14px}.battle-playback,.battle-ready{grid-area:3/2;height:100%;margin:0}.battle-playback{grid-template-columns:1fr;gap:16px;padding:20px}.battle-consequence{border-top:1px solid #bacba735;border-left:0;gap:6px;padding:16px 0 0}.battle-consequence>strong{font-size:34px}.battle-playback-controls{grid-area:4/2}.battle-history{grid-area:4/1}.battle-next{grid-area:5/1/auto/-1;justify-content:space-between;align-items:center;gap:24px;display:flex}.battle-summary{flex:1;margin:0}.battle-roster-hint{display:none}.resolution-fight .resolution-footer{margin-top:8px}}.resolution-challenge .resolution-content{justify-content:flex-start;gap:18px;max-width:1200px;margin:auto}.challenge-live-turn{text-align:center;color:#ead097;letter-spacing:.12em;text-transform:uppercase;min-height:20px;font-size:12px}.challenge-live-arena{grid-template-columns:1fr 1fr;gap:100px;width:100%;display:grid;position:relative}.challenge-live-side{text-align:center;min-width:0;position:relative}.challenge-live-side.is-attacker{background:radial-gradient(#e4c78716,#0000 70%)}.challenge-live-portrait{place-items:center;height:clamp(180px,34vh,380px);display:grid;position:relative}.challenge-live-portrait img{object-fit:contain;filter:drop-shadow(0 16px 24px #0008);width:100%;height:100%}.challenge-live-side h3{text-transform:capitalize;margin:8px;font:400 clamp(26px,3vw,42px)/1.1 Georgia,serif}.challenge-live-vs{color:#d8c294;font:italic 48px Georgia,serif;position:absolute;top:38%;left:50%;transform:translate(-50%,-50%)}.challenge-silhouette{color:#aab9a838;font:150px Georgia,serif}.challenge-table{background:#081515c9;border:1px solid #d7c39738;border-radius:16px;width:min(760px,100%);margin:8px auto;padding:20px 28px}.challenge-dice-action{justify-content:center;align-items:center;gap:30px;min-height:110px;display:flex}.challenge-dice-action strong{color:#efdbb4;font:400 30px Georgia,serif}.challenge-dice-action p,.challenge-turn-actions p{color:#c6cfbf;font-size:13px;line-height:1.5}.roll-die-button{cursor:pointer;background:0 0;border:0;border-radius:18px;place-items:center;padding:12px;transition:transform .2s;display:inline-grid}.roll-die-button:not(:disabled):hover{transform:rotate(-8deg)scale(1.08)}.roll-die-button:focus-visible{outline-offset:5px;outline:3px solid #f2d193}.roll-die-button:disabled{opacity:1;cursor:default}.roll-die-button .combat-die[data-die]{width:86px;height:86px}.roll-die-button.is-rolling .combat-die{animation:.3s ease-in-out 3 alternate challenge-die-tumble}@keyframes challenge-die-tumble{0%{transform:translateY(-10px)rotate(-25deg)}to{transform:translateY(5px)rotate(30deg)}}.challenge-turn-actions{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.challenge-turn-actions p{width:100%;margin:12px 0 2px}.challenge-turn-actions button,.challenge-opponents button{color:#f1ddac;cursor:pointer;background:#24332a;border:1px solid #d7bd7b70;border-radius:8px;min-height:46px;padding:12px 18px}.challenge-turn-actions button:disabled,.challenge-opponents button:disabled{opacity:.5;cursor:default}.challenge-opponents{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.challenge-opponents button{text-transform:capitalize;flex:1;justify-items:center;gap:6px;min-width:130px;display:grid}.challenge-opponents img{object-fit:contain;width:110px;height:130px}.challenge-opponents span{font-size:12px}.resolution-challenge .mutation-strip,.resolution-fight .mutation-strip{justify-content:center;max-width:100%;margin:14px auto 0}.resolution-challenge .battle-history{color:#b7c7b9;width:100%;font-size:12px}.resolution-challenge .battle-history p{line-height:1.7}.resolution-challenge .battle-history li{padding:9px}.battle-playback-controls .combat-die[data-die],.cinema-battle-actions .combat-die[data-die]{vertical-align:middle;width:38px;height:38px}@media (width<=700px){.challenge-live-arena{gap:32px}.challenge-live-portrait{height:200px}.challenge-live-vs{font-size:28px}.challenge-live-side h3{font-size:27px}.challenge-table{padding:14px}.challenge-dice-action{gap:16px}.challenge-dice-action strong{font-size:24px}.roll-die-button .combat-die[data-die]{width:68px;height:68px}.challenge-live-side .battle-side-meta{font-size:10px}.challenge-live-side .mutation-strip button{width:34px}.challenge-live-side .mutation-strip{gap:5px}}@media (prefers-reduced-motion:reduce){.resolution-challenge *{transition:none!important;animation:none!important}}.manual-reduced-motion .resolution-challenge *{transition:none!important;animation:none!important}.resolution-challenge .resolution-content{width:100%}.challenge-live-portrait{overflow:hidden}.challenge-live-portrait img{min-width:0;min-height:0;max-height:100%;display:block}.challenge-live-side .mutation-strip>div,.battle-monster .mutation-strip>div{justify-content:center}.resolution-challenge .roll-die-button:disabled{opacity:1}.battle-target-roll{color:#ead7aa;background:#0a1718;border:1px solid #d8c58c38;border-radius:12px;justify-content:center;align-items:center;gap:20px;padding:12px;font-size:13px;display:flex}.battle-target-button[aria-pressed=true]{color:#192921;background:#dfe8ca}.battle-order summary{cursor:pointer;color:#b8c7b9;letter-spacing:.08em;padding:8px 0;font-size:11px}.battle-order .battle-rounds{margin-top:8px}.resolution-fight .battle-side{background:0 0;border-color:#0000}.resolution-fight .battle-side.is-attacker{background:radial-gradient(at 50% 30%,#edd58e18,#0000 75%)}@media (width>=960px){.battle-order{grid-area:1/1/auto/-1}.battle-target-roll{grid-area:5/2}.resolution-fight .battle-next{grid-row:6}.resolution-fight .battle-portrait{height:clamp(160px,28vh,290px)}}.resolution-challenge{padding:22px 32px}.resolution-challenge .resolution-header{padding-bottom:14px}.resolution-challenge .resolution-header h2{font-size:clamp(30px,3.3vw,46px)}.resolution-challenge .resolution-eyebrow{margin-bottom:6px}.resolution-challenge .resolution-content{gap:12px;padding:14px 0}.resolution-challenge .challenge-live-portrait{height:clamp(170px,24vh,310px)}.resolution-challenge .challenge-live-side h3{margin:4px;font-size:clamp(26px,2.8vw,38px)}.resolution-challenge .challenge-table{margin:0 auto;padding:12px 22px}.resolution-challenge .challenge-dice-action{min-height:90px}.resolution-challenge .challenge-turn-actions p{margin-top:4px}.resolution-challenge .mutation-strip{margin-top:8px;padding-bottom:0}.resolution-challenge .battle-health-track{margin:8px 0}@media (width<=700px){.resolution-challenge{padding:18px 16px}.resolution-challenge .challenge-live-portrait{height:180px}.challenge-turn-actions button{padding:10px 12px;font-size:12px}}.resolution-stage.resolution-challenge{padding:22px 32px}@media (width>=1100px){.resolution-challenge .resolution-content{grid-template-rows:auto 1fr auto;grid-template-columns:1fr;align-content:center;align-items:center;gap:14px;display:grid}.challenge-live-turn{grid-area:1/1}.challenge-live-arena{grid-area:2/1;gap:360px}.resolution-challenge .challenge-live-portrait{height:clamp(230px,37vh,430px)}.challenge-live-vs{font-size:48px;top:9%}.resolution-challenge .challenge-table{grid-area:2/1;align-self:center;width:340px;padding:18px;position:relative;transform:translateY(28px)}.challenge-dice-action{text-align:center;flex-direction:column;gap:16px}.challenge-turn-actions{gap:8px}.challenge-turn-actions button{width:100%;font-size:12px}.resolution-challenge .battle-history{grid-area:3/1}.challenge-opponents{gap:8px}.challenge-opponents button{min-width:110px;padding:10px}.challenge-opponents img{width:80px;height:100px}}@media (width<=700px){.resolution-stage.resolution-challenge{padding:18px 16px}}.resolution-stage.resolution-fight{padding:24px 32px}.battle-ready .battle-target-roll{text-align:center;background:0 0;border:0;flex-direction:column;margin:24px 0;padding:8px}.battle-ready .battle-target-roll .combat-die[data-die]{width:100px;height:100px}@media (width<=760px){.resolution-stage.resolution-fight{padding:18px 16px}.battle-ready .battle-target-roll{flex-direction:row;margin:12px 0}.battle-ready .battle-target-roll .combat-die[data-die]{width:64px;height:64px}}.resolution-fight .resolution-content{flex-direction:column;display:flex}.resolution-fight .battle-arena{grid-template-columns:minmax(0,1fr) minmax(240px,320px) minmax(0,1fr);align-items:start;gap:24px;width:100%;display:grid}.battle-center{text-align:center;align-self:center;min-width:0}.battle-center-vs{color:#dfc48d;margin-bottom:20px;font:400 28px/1 Georgia,serif;display:block}.resolution-fight .battle-center .battle-playback{background:0 0;border:0;flex-direction:column;gap:14px;padding:16px;display:flex}.battle-center .battle-roll-equation{flex-direction:column;justify-content:center;gap:14px}.battle-center .battle-roll .combat-die[data-die],.battle-center .battle-ready>.combat-die[data-die]{width:90px;height:90px;margin:18px auto}.battle-center .battle-hit-range{justify-content:center}.battle-center .battle-consequence{border:0;border-top:1px solid #bacba735;padding:12px 0 0}.battle-center .battle-consequence>strong{font-size:28px}.battle-center .battle-ready{background:0 0;border:0;padding:12px}.resolution-fight .battle-monster .battle-portrait{height:clamp(180px,32vh,360px)}.resolution-fight .battle-forces{flex-wrap:wrap;justify-content:flex-end;gap:12px;overflow:visible}.resolution-fight .battle-unit{flex:140px;min-width:0;max-width:220px}.resolution-fight .battle-unit:only-child{flex-basis:100%;max-width:none}.resolution-fight .battle-unit:only-child .battle-portrait{height:clamp(180px,32vh,360px)}.battle-target-actions{gap:8px;margin-top:14px;display:grid}.battle-target-actions .battle-target-button{margin:0}.battle-target-button:disabled{opacity:.45;cursor:default}.battle-infamy-target{color:#e7ce93;background:0 0;font-size:12px}.combat-die-display{cursor:default;pointer-events:none}.battle-selection{flex-wrap:wrap;gap:8px;display:flex}.battle-selection button{color:#e7ce93;background:0 0;border:1px solid #cdb77977;border-radius:5px;min-height:44px;padding:10px 16px}.battle-selection [aria-pressed=true]{color:#18251f;background:#ddc78e}@media (width<=900px){.resolution-fight .battle-arena{grid-template-columns:minmax(0,1fr) minmax(140px,.85fr) minmax(0,1fr);gap:8px}.battle-center .battle-roll-heading{flex-direction:column;gap:6px}.battle-center .battle-roll-math>b{font-size:28px}.resolution-fight .battle-center .battle-playback{padding:6px}.battle-center .battle-hit-range>span{width:22px;height:24px}.resolution-fight .battle-unit{flex-basis:100%;max-width:none}.battle-target-button{padding:10px 8px;font-size:12px}}@media (width<=560px){.resolution-fight .battle-arena{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:2px}.resolution-fight .battle-side{padding:6px 2px}.resolution-fight .battle-monster .battle-portrait,.resolution-fight .battle-unit:only-child .battle-portrait{height:150px}.resolution-fight .battle-side h3{font-size:19px}.resolution-fight .battle-unit h3{overflow-wrap:anywhere;font-size:11px}.battle-center{align-self:start;padding-top:25px}.battle-center-vs{margin-bottom:12px;font-size:22px}.battle-center .battle-roll .combat-die[data-die],.battle-center .battle-ready>.combat-die[data-die]{width:60px;height:60px}.battle-center .battle-ready{padding:4px}.battle-center .battle-ready>strong{font:500 12px/1.5 sans-serif}.battle-center .battle-ready p,.battle-center .battle-roll-explanation,.battle-center .battle-roll-math small{font-size:10px;line-height:1.5}.battle-center .battle-consequence>strong{font-size:19px}.battle-center .battle-hit-range{gap:4px}.battle-center .battle-hit-range small{margin:0}.battle-center .battle-roll-heading .resolution-eyebrow{overflow-wrap:anywhere;font-size:8px}.battle-center .battle-roll-heading>strong{font-size:10px}.battle-center .battle-modifiers>span,.battle-center .battle-special{overflow-wrap:anywhere;font-size:10px}.battle-target-button{font-size:11px;line-height:1.4}.battle-center .battle-roll-math>b{font-size:23px}}.replay-shell{color:#f4f1e7;background:#0d171a;flex-direction:column;gap:1rem;min-height:100dvh;padding:clamp(1rem,3vw,2rem);display:flex}.replay-header{border-bottom:1px solid #496168;justify-content:space-between;align-items:end;gap:1rem;padding-bottom:.9rem;display:flex}.replay-header h1{margin:.2rem 0 0;font-size:clamp(1.35rem,3vw,2rem)}.replay-header p{color:#b9c9c8;margin:0;font-size:.84rem}.replay-controls{background:#172528;border:1px solid #355057;border-radius:.75rem;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.7rem;display:flex}.replay-controls button,.replay-bookmarks select{color:#fff;min-height:2.6rem;font:inherit;background:#203438;border:1px solid #69868a;border-radius:.45rem;padding:.45rem .8rem}.replay-controls button:disabled{opacity:.45}.replay-controls .is-bookmarked{color:#f7d77a;border-color:#f0cb65}.replay-position{flex-direction:column;gap:.15rem;min-width:10rem;margin:0 auto 0 .5rem;display:flex}.replay-position span{color:#b9c9c8;font-size:.75rem}.replay-bookmarks{color:#d4dedb;align-items:center;gap:.45rem;font-size:.78rem;display:flex}.replay-notice{color:#f4f1e7;background:#172528;border:1px solid #496168;border-radius:.8rem;max-width:42rem;margin:2rem auto;padding:1.4rem}.replay-notice h2{margin-top:0}.replay-error{border-color:#b87569}.replay-board-panel{background:#162225;border:1px solid #355057;border-radius:.8rem;flex-direction:column;min-height:55vh;display:flex;overflow:hidden}.replay-board-heading{background:#1b2b2e;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 1rem;display:flex}.replay-board-heading strong{color:#d4dedb;font-size:.8rem}.replay-board-panel .board-viewport{flex:1;min-height:55vh}.replay-shell .board-minimap{bottom:1rem;right:1rem}@media (width<=600px){.replay-header{flex-direction:column;align-items:start}.replay-position{order:-1;width:100%;margin:.2rem 0}.replay-controls{gap:.4rem}.replay-controls button{flex:1}.replay-bookmarks{justify-content:space-between;width:100%}.replay-board-panel,.replay-board-panel .board-viewport{min-height:62vh}}:root{color:#f4f1ea;font-synthesis:none;background:#171514;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 75% 10%,#413328 0,#211b19 35%,#121111 75%);min-height:100vh;margin:0}button{font:inherit;color:inherit;cursor:pointer}main{max-width:1380px;margin:auto;padding:42px 48px}header{justify-content:space-between;align-items:flex-start;gap:32px;display:flex}h1,h2,p{margin:0}h1{letter-spacing:-.05em;max-width:760px;font-family:Georgia,serif;font-size:clamp(2.4rem,5vw,5.7rem);font-weight:400;line-height:.94}h2{font-family:Georgia,serif;font-size:2rem;font-weight:400}.eyebrow,.label{letter-spacing:.16em;color:#b7a896;font-size:.69rem;font-weight:700}.eyebrow{color:#e8a649;margin-bottom:18px}.lede{color:#a99c91;max-width:520px;margin-top:22px;line-height:1.5}.ghost{background:#2a2421;border:1px solid #65574c;border-radius:4px;padding:12px 18px}.status{border-block:1px solid #4a3e37;grid-template-columns:repeat(4,1fr);margin:48px 0 28px;padding:17px 0;display:grid}.status div{border-left:1px solid #4a3e37;padding:0 20px}.status div:first-child{border-left:0;padding-left:0}.status strong{color:#fff1dc;margin-top:6px;font-size:1.25rem;display:block}.layout{grid-template-columns:minmax(0,1fr) 340px;gap:28px;display:grid}.board-panel,.card{background:#201b18c7;border:1px solid #51433a;border-radius:5px}.board-panel{padding:24px}.panel-heading{justify-content:space-between;align-items:start;display:flex}.chip{letter-spacing:.1em;color:#efb86d;border:1px solid #78644f;padding:7px 9px;font-size:.68rem}.map{background:#26769a;border:7px solid #d0b58a;border-radius:3px;height:620px;margin-top:22px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #243d43,0 8px 22px #09080780}.map:before{content:"";pointer-events:none;z-index:1;background:radial-gradient(circle at 45% 35%,#799b6b33,#0000 44%),linear-gradient(155deg,#87a87626,#0000 55%);position:absolute;inset:0}.hex-grid{filter:drop-shadow(0 0 1px #eff0c880);grid-template-rows:repeat(12,minmax(0,1fr));grid-template-columns:repeat(19,minmax(0,1fr));gap:1px 0;display:grid;position:absolute;inset:4% 2.2% 5%;transform:perspective(900px)rotateX(1deg)}.hex{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:#6f9a65;height:104%;margin:0 -1px;position:relative}.hex:nth-child(2n){transform:translateY(5%)}.hex.ridge{background:linear-gradient(135deg,#8a9b67,#718c60)}.hex.park{background:linear-gradient(135deg,#86a874,#698e63)}.location{color:#f7f1d8;text-shadow:0 1px 2px #16251f;z-index:3;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;font-size:.76rem;display:flex;position:absolute;transform:translate(-50%,-50%)}.node{background:#304d40cc;border:2px solid #e4cd90;border-radius:50%;place-items:center;width:32px;height:32px;font-size:1.15rem;display:grid}.location.active .node{color:#1d1713;background:#db7b31;box-shadow:0 0 0 5px #db7b3140}.location b{background:#b34c3e;border-radius:3px;padding:2px 5px;font-size:.65rem}.map-copy{z-index:2;text-align:right;color:#e8bd62;text-shadow:2px 2px #3b2a20;font-family:Georgia,serif;font-weight:800;line-height:.88;position:absolute;top:2%;right:4%;transform:rotate(-3deg)}.map-copy strong{font-size:clamp(1.25rem,3vw,2.7rem);display:block}.map-copy span{color:#ee7342;font-size:clamp(.65rem,1.6vw,1.25rem)}.region-label{z-index:2;letter-spacing:.17em;color:#e9dfbd;text-shadow:0 1px 2px #183c48;font-size:.55rem;font-weight:800;position:absolute}.west{bottom:8%;left:4%}.north-east{bottom:17%;right:5%;transform:rotate(-6deg)}.map-note{color:#9f958c;margin-top:16px;font-size:.8rem}.card{padding:22px}.monster-card h2{margin:7px 0 18px;font-size:2.7rem}.meter{background:#453a34;height:8px;margin-bottom:12px}.meter span{background:#d9743c;height:100%;display:block}.stats{color:#a99c91;justify-content:space-between;font-size:.75rem;display:flex}.stats b{color:#f4f1ea;font-size:1rem}.action-card{margin-top:14px}.action-card h2{margin:7px 0 10px}.action-card p{color:#a99c91;font-size:.88rem;line-height:1.5}.action-card button{color:#201611;background:#d77939;border:0;border-radius:3px;width:100%;margin-top:18px;padding:13px;font-weight:800}.log{margin-top:14px}.log p{color:#b9afa7;border-top:1px solid #413832;margin-top:8px;padding-top:8px;font-size:.78rem;line-height:1.4}@media (width<=900px){main{padding:28px 20px}.layout{grid-template-columns:1fr}.map{height:450px}.status{margin-top:34px}}@media (width<=560px){header{display:block}.ghost{margin-top:20px}.status{grid-template-columns:repeat(2,1fr);gap:15px}.status div:nth-child(3){border-left:0;padding-left:0}}.lobby{color:#b9afa7;background:#211b18;border:1px solid #51433a;border-radius:4px;justify-content:space-between;align-items:center;gap:20px;margin-top:34px;padding:14px 16px;display:flex;position:relative}.lobby p{margin-top:6px;font-size:.82rem}.lobby strong{color:#efb86d;letter-spacing:.12em}.lobby-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.lobby input{color:#f4f1ea;background:#171514;border:1px solid #625247;border-radius:3px;width:125px;padding:10px}.lobby button{color:#201611;background:#d77939;border:0;border-radius:3px;padding:10px 13px;font-weight:800}.lobby button.subtle{color:#f4f1ea;background:#5b4b40}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.error{color:#f09072!important}.location:disabled{cursor:not-allowed;opacity:.55}.action-card button:disabled{opacity:.45;cursor:not-allowed}.onboarding{background:#2c231d;border:1px solid #8a6a42;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:22px;margin-top:18px;padding:20px;display:grid}.onboarding h2{margin:7px 0 8px}.onboarding p{color:#d6c8b8;max-width:860px;font-size:.86rem;line-height:1.5}.onboarding-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.onboarding-grid div{background:#241c18;border:1px solid #65513a;gap:5px;padding:11px;display:grid}.onboarding-grid strong{color:#efb86d}.onboarding-grid span,.onboarding-actions span{color:#b9afa7;font-size:.74rem;line-height:1.4}.onboarding-actions{gap:10px;min-width:170px;display:grid}.onboarding-actions button{color:#201611;background:#d77939;border:0;border-radius:3px;padding:10px 13px;font-weight:800}.onboarding-actions .subtle{color:#f4f1ea;background:#5b4b40}.city-hp{letter-spacing:.06em;color:#fff3bb;text-shadow:none;background:#a5523f;border:1px solid #f0c878;border-radius:3px;padding:2px 4px;font-size:.58rem;font-style:normal}.location.selected .node{color:#201611;background:#f0b14e;box-shadow:0 0 0 5px #f0b14e80}.location.path-selected:not(.selected){opacity:1}.location.path-selected:not(.selected) .node{background:#6b5134;border-color:#f0b14e}.path-controls{grid-template-columns:1fr auto;gap:8px;display:grid}.path-controls .cancel{color:#f4f1ea;background:#5b4b40}:focus-visible{outline-offset:3px;outline:3px solid #f4c15d}.location.unreachable{opacity:.35}.location.legal .node{box-shadow:0 0 0 3px #f4c15d66}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}body{min-height:100dvh}@supports (padding:max(0px)){main{padding-block-end:max(42px,env(safe-area-inset-bottom));padding-inline-start:max(20px,env(safe-area-inset-left));padding-inline-end:max(20px,env(safe-area-inset-right))}}.log details{color:#b9afa7;border-top:1px solid #413832;margin-top:8px;padding-top:8px;font-size:.78rem;line-height:1.4}.log summary{cursor:pointer;color:#e8bd62}.log pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#a99c91;font:inherit;margin:8px 0 0}.lobby select{color:#f4f1ea;background:#171514;border:1px solid #625247;border-radius:3px;padding:10px}.connection{text-transform:uppercase;letter-spacing:.08em;color:#a99c91;font-size:.72rem}.connection.online{color:#8bc486}.connection.reconnecting{color:#efb86d}.connection.stale,.connection.offline{color:#f09072}.ready-button{border-radius:3px;padding:10px 13px;font-weight:800;color:#201611!important;background:#d77939!important;border:1px solid #d77939!important}.setup-panel{background:#2a211b;border:1px solid #9b713d;border-radius:4px;margin-top:18px;padding:22px}.setup-panel h2{margin:8px 0}.setup-panel p{color:#c5b7a8;max-width:760px;line-height:1.5}.setup-turn{margin-top:12px;color:#efb86d!important}.setup-options{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.setup-options button{color:#201611;background:#d77939;border:0;border-radius:3px;padding:10px 13px;font-weight:800}.setup-progress{margin-top:14px;font-size:.8rem}.monster-options{flex-wrap:nowrap;gap:10px;margin-inline:-4px;padding:12px 4px 18px;display:flex;overflow-x:auto}.monster-choice{flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:center;gap:5px;min-width:132px;min-height:190px;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex;position:relative;overflow:visible;color:#f4f1ea!important;background:linear-gradient(#4a3428,#2a211b)!important;border:1px solid #76583d!important;border-radius:5px!important;padding:8px 7px 10px!important}.monster-choice img{object-fit:contain;filter:drop-shadow(0 5px 5px #100b08aa);width:100%;height:105px;transition:transform .16s}.monster-choice strong{color:#ffe0a4;font-family:Georgia,serif;font-size:1.02rem}.monster-choice-stats{color:#c9b7a5;white-space:nowrap;font-size:.62rem}.monster-choice:hover:not(:disabled),.monster-choice:focus-visible{z-index:4;transform:translateY(-5px);box-shadow:0 0 0 2px #f0b14e55,0 10px 18px #0b080680;border-color:#f0b14e!important}.monster-choice:hover:not(:disabled) img,.monster-choice:focus-visible img{transform:scale(1.08)}.monster-choice-selected{background:linear-gradient(#36513a,#202b20)!important;border-color:#8bc486!important}.monster-choice-selected:after{content:"✓ SELECTED";color:#172117;background:#8bc486;border-radius:3px;padding:3px 5px;font-size:.52rem;font-weight:900;position:absolute;top:7px;right:7px}.monster-choice:disabled:not(.monster-choice-selected){opacity:.45;filter:saturate(.55);cursor:not-allowed}.monster-choice em{color:#8bc486;font-size:.58rem;font-style:normal}.monster-choice-hover{z-index:8;text-align:left;color:#f4f1ea;opacity:0;pointer-events:none;background:#211813;border:1px solid #e2a04f;border-radius:4px;gap:5px;width:230px;padding:10px;transition:opacity .14s,transform .14s;display:grid;position:absolute;bottom:calc(100% - 2px);left:50%;transform:translate(-50%,4px);box-shadow:0 8px 18px #090807cc}.monster-choice:hover .monster-choice-hover,.monster-choice:focus-visible .monster-choice-hover{opacity:1;transform:translate(-50%)}.monster-choice-hover b{color:#efb86d;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem}.monster-choice-hover span{color:#e2d3c3;font-size:.7rem;line-height:1.35}.monster-choice-hover small{color:#b9afa7;font-size:.62rem}@media (width<=700px){.monster-choice{flex:0 0 132px}.monster-choice-hover{position:fixed;bottom:12px;left:50%;transform:translate(-50%,4px)}.monster-choice:hover .monster-choice-hover,.monster-choice:focus-visible .monster-choice-hover{transform:translate(-50%)}}.setup-summary{background:#202b20;border:1px solid #526e4c;border-radius:4px;margin-top:18px;padding:22px}.setup-summary h2{margin:8px 0}.setup-summary p{color:#c5d3bf;line-height:1.5}.setup-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:16px;display:grid}.setup-summary-grid div{background:#172117;border:1px solid #526e4c;gap:4px;padding:12px;display:grid}.setup-summary-grid span{color:#b8c7b1;font-size:.8rem}.setup-summary-grid span:last-child{color:#efb86d}.setup-ready-toggle{color:#182218;cursor:pointer;background:#dfb04f;border:1px solid #d9c278;border-radius:4px;min-width:180px;margin:16px auto 0;padding:12px 20px;font-weight:800;display:block}.setup-ready-toggle:disabled{opacity:.65;cursor:wait}.unit-card{margin-top:14px}.unit-card button{color:#dce8d8;text-align:left;background:#263226;border:1px solid #526e4c;border-radius:3px;width:100%;margin-top:8px;padding:9px;font-size:.78rem;display:block}.unit-card button:disabled{opacity:.5;cursor:not-allowed}.unit-card button.unit-selected{color:#f0c878;border-color:#f0b14e}.unit-mark{text-shadow:none;background:#466848;border:1px solid #c3d692;border-radius:3px;padding:2px 4px;font-size:.58rem;font-style:normal}.hex-grid{filter:drop-shadow(0 0 2px #eff0c880);flex-direction:column;gap:0;display:flex;transform:none}.hex-row{flex:1;align-items:center;min-height:0;display:flex}.hex-row:nth-child(2n){transform:translate(2.63%)}.hex{aspect-ratio:1.1547;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);opacity:.94;background:#6f9a65;border:1px solid #d7db9a66;flex:1 1 0;width:auto;min-width:0;height:122%;margin:0 -.35%}.hex.land{background:linear-gradient(135deg,#769d68,#5e885f)}.hex.water{background:linear-gradient(135deg,#3294b9,#19749f)}.hex-grid{display:block;transform:none}.hex-row{display:none}.hex{aspect-ratio:1.1547;opacity:1;border:2px solid #d7db9a99;width:7.2%;height:auto;margin:0;display:block;position:absolute;transform:translate(-50%,-50%);box-shadow:inset 0 0 0 2px #31584666,0 3px 4px #0a171280}.board-lattice{opacity:1;filter:drop-shadow(0 0 1px #e8e3a866);flex-direction:column;align-items:flex-start;gap:0;display:flex;position:absolute;inset:4% 2.5% 5%;overflow:hidden}.lattice-row{flex:0 0 7.25%;align-items:center;gap:0;height:7.25%;margin-top:-.4%;display:flex}.lattice-row:nth-child(2n){padding-left:2.6%}.lattice-hex{aspect-ratio:1.1547;clip-path:polygon(25% 2%,75% 2%,98% 50%,75% 98%,25% 98%,2% 50%);background:linear-gradient(145deg,#8da66f,#748f64);flex:0 0 5.25%;width:5.25%;height:auto;margin:0 -.22%;display:block;box-shadow:inset 0 0 0 1px #f0e9a988,0 0 0 1px #385b4d88}.lattice-hex:nth-child(3n){background:linear-gradient(145deg,#829c6c,#6b8962)}.map{background:#6f8b62}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hex-tile{z-index:3;aspect-ratio:1.1547;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);color:#f7f1d8;text-shadow:0 1px 2px #16251f;filter:drop-shadow(0 0 2px #e9dc9b)drop-shadow(0 4px 4px #0a171280);background:linear-gradient(145deg,#789f69,#527f5a);border:0;justify-content:center;align-items:center;width:5.25%;height:auto;padding:0;transition:filter .18s,transform .18s,background .18s;display:flex;position:absolute;transform:translate(-50%,-50%)}.hex-tile:before{content:"";clip-path:inherit;pointer-events:none;border:2px solid #d9dd9a99;position:absolute;inset:7%}.hex-tile .tile-content{z-index:1;text-align:center;flex-direction:column;align-items:center;gap:1px;min-width:0;max-width:90%;font-size:.43rem;font-weight:700;display:flex;position:relative}.hex-tile .node{background:#304d40dd;border-color:#f1d997;width:18px;height:18px;font-size:.7rem}.hex-tile .city-hp,.hex-tile b,.hex-tile .unit-mark{background:#b34c3e;border-radius:3px;padding:1px 3px;font-size:.42rem;font-style:normal}.hex-tile .unit-mark{background:#486b99}.hex-tile.unreachable{filter:drop-shadow(0 0 1px #e9dc9b99)drop-shadow(0 3px 3px #0a171280)}.hex-tile.legal{filter:drop-shadow(0 0 4px #ffe2a0)drop-shadow(0 4px 4px #0a171280);background:linear-gradient(145deg,#a9bd71,#678f61)}.hex-tile.active{filter:drop-shadow(0 0 6px #ffd27a)drop-shadow(0 4px 4px #0a171280);background:linear-gradient(145deg,#d9863e,#a95132)}.hex-tile.selected,.hex-tile.path-selected{background:linear-gradient(145deg,#e1b25f,#bc7139)}.hex-tile:hover:not(:disabled),.hex-tile:focus-visible{filter:drop-shadow(0 0 7px #ffe7a8)drop-shadow(0 4px 4px #0a171280);transform:translate(-50%,-50%)scale(1.05)}.hex-tile:disabled{cursor:default}.hex-tile:focus-visible{outline-offset:4px;outline:3px solid #fff1b5}.development-notice{color:#d6c8b8;background:#2c231d;border:1px solid #8a6a42;border-left:4px solid #e2a04f;margin:0 0 22px;padding:13px 16px}.development-notice p{max-width:920px;margin-top:6px;font-size:.82rem;line-height:1.45}.victory-summary{color:#f5d28b;background:#39291d;border:1px solid #c89b51;gap:7px;margin-top:18px;padding:14px;display:grid}.victory-summary strong{font-family:Georgia,serif;font-size:1.35rem}.victory-summary span{color:#d6c8b8;overflow-wrap:anywhere;font-size:.76rem}.battle-choice{gap:8px;display:grid}.battle-choice button{text-align:left;margin-top:0}.laser-fence-controls{background:#211d19;border:1px solid #a47a42;border-radius:6px;gap:8px;padding:8px;display:grid}.laser-fence-controls>strong{color:#e8bd76}.laser-fence-target{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.laser-fence-target>span{flex:180px}.laser-fence-target button{margin:0}.chopper-lift-choice{background:#211d19;border:1px solid #a47a42;border-radius:6px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:8px;padding:10px;display:grid}.chopper-lift-choice>strong{color:#e8bd76;grid-column:1/-1}.chopper-lift-choice label{gap:4px;display:grid}.chopper-lift-choice select{min-height:40px}.chopper-lift-pending{border:1px solid #655536;border-radius:5px;padding:8px}.combat-result{background:#2c231d;border:1px solid #8a6a42;margin-top:16px;padding:12px;animation:.42s both combat-result-in}.combat-roll-list{perspective:520px;flex-wrap:wrap;gap:9px;margin-top:9px;display:flex}.combat-roll-list .combat-die{color:#271913;width:36px;height:36px;transform-style:preserve-3d;background:linear-gradient(145deg,#f2c66e,#9b572f);border:1px solid #f0c878;border-radius:6px;place-items:center;font-weight:900;animation:.48s cubic-bezier(.2,.75,.25,1) both combat-die-in;display:grid;position:relative;box-shadow:3px 4px #633522,0 3px 8px #09080780}.combat-roll-list .combat-die:before,.combat-roll-list .combat-die:after{content:"";z-index:-1;pointer-events:none;position:absolute}.combat-roll-list .combat-die:before{background:#7e432b;border-radius:4px;inset:3px -5px -5px 3px;transform:translateZ(-5px)skewY(20deg)}.combat-roll-list .combat-die:after{background:#c17a3b;border-radius:4px;inset:-5px 3px 3px -5px;transform:translateZ(-5px)skew(20deg)}.combat-roll-list .combat-die:nth-child(2){animation-delay:60ms}.combat-roll-list .combat-die:nth-child(3){animation-delay:.12s}.combat-roll-list .combat-die:nth-child(4){animation-delay:.18s}.combat-roll-list .combat-die:nth-child(5){animation-delay:.24s}.combat-roll-list .combat-die:nth-child(6){animation-delay:.3s}.combat-outcomes{color:#d6c8b8;gap:3px;margin:10px 0 0;padding-left:18px;font-size:.68rem;line-height:1.35;display:grid}.combat-result small{color:#b9afa7;margin-top:9px;font-size:.68rem;line-height:1.4;display:block}@keyframes combat-result-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes combat-die-in{0%{opacity:0;transform:scale(.7)rotateX(-35deg)rotateY(25deg)}to{opacity:1;transform:scale(1)rotateX(0)rotateY(0)}}.retreat-choice{gap:10px;display:grid}.retreat-unit{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.retreat-unit>span{color:#d6c8b8;width:100%;font-size:.75rem}.retreat-unit button{color:#f4f1ea;background:#5b4b40;width:auto;margin-top:0;padding:8px 10px}.retreat-unit button.selected-choice{color:#201611;background:#d77939}.retreat-unit strong{color:#efb86d;font-size:.75rem}.lattice-row{width:100%}.hex-tile.unresolved{color:#d5e2e5;opacity:.9;background:linear-gradient(145deg,#7895a0,#5d7782)}.revealed-card-panel{margin-top:14px}.card-privacy-note{color:#9f958c;margin-top:8px;font-size:.72rem;line-height:1.4}.revealed-card-group{gap:6px;margin-top:13px;display:grid}.revealed-card-group strong{color:#efb86d;font-size:.72rem}.revealed-card-group ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.revealed-card-group li,.empty-card-state{color:#dce8d8;background:#263226;border:1px solid #526e4c;border-radius:3px;padding:7px 9px;font-size:.76rem;display:block}.empty-card-state{color:#9f958c}.revealed-card-art{object-fit:cover;object-position:center;opacity:.9;border:1px solid #78644f;border-radius:3px;width:100%;max-height:150px;display:block}.hand-card-list{gap:5px;display:grid}.hand-card{color:#dce8d8;background:#263226;border:1px solid #526e4c;border-radius:3px;font-size:.76rem}.hand-card summary{cursor:pointer;padding:7px 9px}.hand-card-detail{color:#b8c7b1;gap:5px;padding:0 9px 9px;font-size:.68rem;line-height:1.4;display:grid}.hand-card-detail strong{color:#efc477;font-size:.68rem}.hand-card-detail p{color:#b8c7b1;font-size:.68rem;line-height:1.4}.hand-card-detail small{color:#9fbe98}.hand-card-action-status{color:#ffe0a4;background:#30251d;border-left:2px solid #e2a04f;padding:5px 6px;font-size:.66rem}.hand-card-meta{color:#d8e2d3;background:#202b22;border-left:2px solid #8f6e43;gap:2px;padding:5px 6px;font-size:.64rem;display:grid}.hand-card-play{color:#201611;text-align:left;background:#d77939;border:1px solid #d99a4b;border-radius:3px;padding:6px 8px;font-size:.7rem;font-weight:800}.hand-card-play:disabled{opacity:.5;cursor:not-allowed}.hand-card-art{object-fit:contain;object-position:center;background:#171514;border:1px solid #78644f;border-radius:3px;width:min(100%,260px);max-height:325px;display:block}.hand-card-rules-box{color:#f4f1ea;white-space:pre-line;background:#1b2428;border:1px solid #78644f;border-radius:3px;padding:9px 10px}.revealed-card-face{width:min(260px,100%)}.hand-card-detail .revealed-card-face .digital-card-rules p{color:#f4f1ea;font-size:13px;line-height:1.45}.board-reference-card{margin-top:14px}.board-reference-status{color:#d6c8b8;margin-top:12px;font-size:.78rem;line-height:1.45}.board-reference-card figcaption{color:#9f958c;margin-top:9px;font-size:.72rem;line-height:1.4}.map-controls{color:#b7a896;flex-wrap:wrap;align-items:center;gap:5px;margin-top:14px;display:flex}.map-controls button{color:#f4f1ea;background:#2a2421;border:1px solid #625247;border-radius:3px;min-width:32px;padding:6px 9px}.map-controls button:hover,.map-controls button:focus-visible{border-color:#e2a04f}.map-controls .map-reset{padding-inline:10px}.map-zoom{text-align:center;color:#efb86d;min-width:43px;font-size:.72rem}.map-camera-mode{color:#d9c5a7;white-space:nowrap;border-left:1px solid #625247;padding-left:9px;font-size:.68rem}.map-canvas{transform-origin:50%;transition:transform .18s;position:absolute;inset:0}.stack-inspector{border-top:1px solid #51433a;margin-top:18px;padding-top:16px}.stack-inspector-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.stack-inspector-heading p{color:#9f958c;margin-top:6px;font-size:.76rem;line-height:1.4}.stack-clear{background:#2a2421;border:1px solid #625247;border-radius:3px;padding:6px 9px;font-size:.72rem}.stack-location-list{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.stack-location-list button{color:#dce8d8;background:#263226;border:1px solid #526e4c;border-radius:3px;padding:7px 9px;font-size:.72rem}.stack-location-list button.selected-choice{color:#201611;background:#d77939;border-color:#f0b14e}.stack-details{background:#172117;border:1px solid #526e4c;gap:7px;margin-top:12px;padding:10px;display:grid}.stack-details>strong{color:#efb86d;font-size:.8rem}.stack-details div{gap:2px;display:grid}.stack-details span{color:#f4f1ea;font-size:.76rem}.stack-details small{color:#b8c7b1;font-size:.68rem}.piece-legend{color:#b9afa7;flex-wrap:wrap;gap:9px;margin-top:11px;font-size:.68rem;display:flex}.piece-legend span{align-items:center;gap:4px;display:inline-flex}.legend-dot{border:1px solid #f0d18b;border-radius:50%;width:9px;height:9px;display:inline-block}.legend-dot.own{background:#d77939}.legend-dot.allied{background:#759dce}.legend-dot.enemy{background:#b34c3e}.legend-dot.neutral{background:#8d8a82}@media (prefers-reduced-motion:reduce){.map-canvas{transition:none}}.hex-tile .tile-content{max-height:88%;line-height:1.05;overflow:hidden}.hex-tile .tile-name{text-overflow:ellipsis;overflow-wrap:anywhere;min-width:0;overflow:hidden}.hex-tile.unresolved .tile-content{font-size:.38rem}.hex-tile.unresolved .tile-name{letter-spacing:.02em}.settings-audio{border-top:1px solid #526e4c;gap:8px;margin-top:14px;padding-top:12px;display:grid}.settings-audio label{color:#dce8d8;background:0 0;border:0;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;padding:0;font-size:.78rem;display:grid}.settings-audio input[type=range]{accent-color:#d77939;width:100%}@media (prefers-reduced-motion:reduce){.combat-result,.combat-roll-list .combat-die{animation:none;transform:none}}@media (width<=900px){.onboarding{grid-template-columns:1fr}.onboarding-actions{grid-template-columns:1fr auto;align-items:center}.onboarding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.header-actions{justify-content:flex-start;margin-top:20px}.onboarding-grid,.onboarding-actions{grid-template-columns:1fr}}.game-screen>header .header-actions>.status{border:0;order:-1;align-items:center;gap:8px;max-width:390px;margin:0;padding:0;display:flex;overflow:hidden}.game-screen>header .header-actions>.status div{border:0;min-width:auto;padding:0;display:none}.game-screen>header .header-actions>.status div:first-child,.game-screen>header .header-actions>.status div:nth-child(5),.game-screen>header .header-actions>.status div:nth-child(6),.game-screen>header .header-actions>.status div:nth-child(7),.game-screen>header .header-actions>.status div:nth-child(8){display:block}.game-screen>header .header-actions>.status .label{letter-spacing:.08em;white-space:nowrap;font-size:.48rem;display:block}.game-screen>header .header-actions>.status strong{white-space:nowrap;margin-top:2px;font-size:.72rem;display:block}.game-screen>header .header-actions>.status .metric-icon{font-size:.65rem}@media (width<=560px){main,#root{width:calc(100vw - 2px)}}html,body,#root{width:100%;max-width:100%;overflow-x:clip}main{width:100%}.unavailable-reason{background:#2a211d;border-left:3px solid #b97b4a;padding:8px 10px;color:#e1c8ad!important;margin-top:10px!important;font-size:.76rem!important}.unsupported-browser{align-content:center;gap:18px;max-width:760px;min-height:100dvh;display:grid}.unsupported-browser h1{max-width:720px}.unsupported-browser .settings-note{margin-top:0}.settings-panel{background:#202b20;border:1px solid #526e4c;border-radius:4px;margin-top:18px;padding:20px}.settings-panel h2{margin:7px 0 12px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-grid label{color:#dce8d8;background:#172117;border:1px solid #526e4c;align-items:center;gap:8px;padding:10px;font-size:.8rem;display:flex}.settings-grid input{accent-color:#d77939;width:18px;height:18px}.settings-grid .settings-theme-control{grid-template-columns:minmax(0,1fr) minmax(100px,.8fr);align-items:center;gap:10px;display:grid}.settings-theme-control select{color:#f4f1ea;min-height:38px;font:inherit;background:#172117;border:1px solid #526e4c;border-radius:3px;padding:6px 8px}.settings-note{color:#b8c7b1;margin-top:12px;font-size:.75rem!important}.large-text{font-size:1.08rem}.large-text .hex-tile .tile-content{font-size:.52rem}.board-labels-hidden .hex-tile .tile-content>span:nth-child(2){display:none}.manual-reduced-motion *,.manual-reduced-motion :before,.manual-reduced-motion :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}@media (width<=560px){.settings-grid{grid-template-columns:1fr}}.map-controls button{touch-action:manipulation;min-width:44px;min-height:44px}.pwa-update-prompt{z-index:40;color:#f4f1ea;background:#2b211a;border:1px solid #d09b52;border-radius:5px;gap:6px;max-width:320px;padding:14px 16px;display:grid;position:fixed;bottom:18px;right:18px;box-shadow:0 12px 30px #090807aa}.pwa-update-prompt strong{color:#ffe0a4}.pwa-update-prompt span{color:#d6c8b8;font-size:.76rem;line-height:1.4}.pwa-update-prompt button{color:#201611;background:#d77939;border:0;border-radius:3px;min-height:44px;margin-top:4px;padding:10px 12px;font-weight:800}.hex-tile .tile-art{object-fit:contain;object-position:center}.revealed-card-art{object-fit:contain;object-position:center;background:#171514}.map-canvas{z-index:2}.hex-tile{background:linear-gradient(145deg,#789f69b8,#527f5aaf)}.hex-tile.water{background:linear-gradient(145deg,#3294b9b8,#19749faf)}.hex-tile.unresolved{background:linear-gradient(145deg,#7895a099,#5d7782a8)}.hex-tile{aspect-ratio:1.1547;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);border:1px solid #d7db9a99;width:4.6%}.hex-tile.selectable{filter:drop-shadow(0 0 4px #8eb7ba)drop-shadow(0 3px 3px #0a171280)}.hex-tile.development-fixture{background:linear-gradient(145deg,#789f69e6,#527f5ad9);border-color:#f0b14e;box-shadow:inset 0 0 0 2px #f0b14e66,0 0 0 1px #312219}.hex-tile .tile-base{z-index:0;object-fit:cover;opacity:.72;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.hex-tile .tile-art{z-index:1;object-fit:cover;opacity:.48;mix-blend-mode:multiply;pointer-events:none;width:82%;height:82%;position:absolute;inset:9%}.hex-tile .tile-stomp{z-index:2;object-fit:contain;filter:drop-shadow(0 1px 1px #101a12);width:24%;height:24%;position:absolute;bottom:8%;right:7%}.hex-tile .tile-infamy{z-index:2;object-fit:contain;filter:drop-shadow(0 1px 1px #101a12);width:24%;height:24%;position:absolute;top:8%;right:7%}.hex-tile .tile-occupants{z-index:4;pointer-events:none;place-items:center;gap:1px;width:74%;max-width:30px;display:grid;position:relative}.hex-tile .tile-occupant{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 1px 1px #101a12);width:100%;min-width:0;max-width:24px;height:auto;min-height:0;max-height:24px;display:block;position:relative}.hex-tile .tile-occupants[class*=stack-count-]{grid-template-columns:repeat(2,minmax(0,1fr))}.hex-tile .tile-occupants.stack-count-1{grid-template-columns:1fr}.hex-tile .tile-occupants.stack-count-2,.hex-tile .tile-occupants.stack-count-3{max-width:28px}.hex-tile .tile-occupants.stack-count-4,.hex-tile .tile-occupants.stack-count-5,.hex-tile .tile-occupants.stack-count-6{gap:0;max-width:30px}.hex-tile .tile-occupants.stack-count-4 .tile-occupant,.hex-tile .tile-occupants.stack-count-5 .tile-occupant,.hex-tile .tile-occupants.stack-count-6 .tile-occupant{max-width:15px;max-height:15px}.hex-tile .tile-piece.selected-piece{filter:drop-shadow(0 0 4px #ffe2a0)drop-shadow(0 1px 1px #101a12);transform:scale(1.15)}.piece-detail-tray{background:#30251d;border:1px solid #d09b52;border-radius:4px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;margin-top:14px;padding:14px 16px;display:grid}.piece-detail-tray h3{margin:5px 0 4px;font-family:Georgia,serif;font-size:1.2rem;font-weight:400}.piece-detail-tray p{color:#d6c8b8;font-size:.76rem;line-height:1.4}.piece-detail-stats{color:#b9afa7;flex-wrap:wrap;gap:10px;font-size:.72rem;display:flex}.piece-detail-stats b{color:#ffe0a4;margin-right:3px;font-size:.9rem}.piece-detail-tray .stack-clear{white-space:nowrap}@media (width<=700px){.piece-detail-tray{grid-template-columns:1fr}.piece-detail-stats{justify-content:space-between}}.bottom-context-dock{z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(#2b211bef,#181412f5);border:1px solid #8d673e;border-radius:6px;gap:8px;width:min(920px,100vw - 420px);padding:10px;display:grid;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #080605bb}.bottom-context-dock .piece-detail-tray{background:0 0;border:0;grid-template-columns:minmax(180px,1fr) auto auto;margin:0;padding:4px 6px}.bottom-context-dock .piece-detail-tray img{object-fit:contain;float:left;filter:drop-shadow(0 3px 3px #080605);width:52px;height:52px;margin-right:10px}.bottom-context-dock .path-controls,.bottom-context-dock .move-actions,.bottom-context-dock>.battle-choice,.bottom-context-dock>.retreat-choice{border-top:1px solid #5a4633;flex-wrap:wrap;gap:7px;padding:4px 6px;display:flex}.bottom-context-dock .path-controls button,.bottom-context-dock .move-actions button,.bottom-context-dock>.battle-choice button,.bottom-context-dock>.retreat-choice button{flex:180px;width:auto;margin:0}.bottom-context-dock:has(.piece-detail-tray) .path-controls button:first-child{color:#201611;background:#d77939;font-weight:800}.bottom-context-dock:has(.piece-detail-tray) .move-actions button{color:#201611;background:#d77939;font-weight:800}.bottom-context-dock .piece-detail-tray+.path-controls,.bottom-context-dock .piece-detail-tray+.move-actions{min-height:48px}@media (width<=900px){.bottom-context-dock{width:auto;bottom:10px;left:12px;right:12px;transform:none}.bottom-context-dock .piece-detail-tray{grid-template-columns:1fr}.bottom-context-dock .piece-detail-tray .stack-clear{justify-self:start}}@media (width<=560px){.bottom-context-dock{padding:7px;bottom:6px;left:6px;right:6px}.bottom-context-dock .piece-detail-tray p{font-size:.7rem}.bottom-context-dock .piece-detail-stats{gap:6px}}.hex-tile.development-fixture{aspect-ratio:1.1547;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);z-index:4;background:linear-gradient(145deg,#789f69e6,#527f5ad9);border:2px solid #f0d89a;width:3.2%;box-shadow:inset 0 0 0 2px #f6d18466,0 0 0 1px #211812,0 2px 5px #0a171280}.hex-tile.development-fixture:before{clip-path:inherit;border:1px solid #f6d184;border-radius:0;inset:8%}.hex-tile.development-fixture .tile-content{background:#211812d9;max-width:92%;padding:1px;font-size:.3rem;line-height:1}.hex-tile.development-fixture .node{border-color:#f6d184;width:12px;height:12px;font-size:.5rem}.hex-tile.development-fixture:hover:after,.hex-tile.development-fixture:focus-visible:after{content:attr(data-location-name);z-index:8;color:#fff0c9;white-space:nowrap;pointer-events:none;text-shadow:none;background:#211812f2;border:1px solid #f0d89a;border-radius:3px;padding:4px 6px;font-size:.68rem;font-weight:800;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.hex-tile.unresolved{color:#dbe6e7;background:repeating-linear-gradient(135deg,#546c72 0 4px,#3b5158 4px 8px)}.turn-progress{background:#211b18;border:1px solid #51433a;border-radius:4px;gap:9px;margin:18px 0 22px;padding:14px 16px;display:grid}.turn-progress ol{grid-template-columns:repeat(4,1fr);gap:7px;margin:0;padding:0;list-style:none;display:grid}.turn-progress li{color:#8f8379;text-transform:uppercase;letter-spacing:.1em;border-top:3px solid #51433a;align-items:center;gap:7px;padding:8px 9px;font-size:.68rem;display:flex}.turn-progress li span{border:1px solid;border-radius:50%;place-items:center;width:20px;height:20px;font-size:.62rem;display:grid}.turn-progress li.complete{color:#abc99b;border-color:#6d9666}.turn-progress li.current{color:#f2c87c;background:#30251d;border-color:#e2a04f}.turn-progress p{color:#d6c8b8;font-size:.76rem}.turn-progress p:first-letter{text-transform:uppercase}@media (width<=560px){.turn-progress li{letter-spacing:.04em;padding-inline:5px;font-size:.55rem}.turn-progress li span{flex:0 0 17px;width:17px;height:17px}}.home-screen{max-width:1180px;margin:auto;padding:42px 48px}.home-hero{background:#211b18;border:1px solid #68533d;border-radius:6px;align-items:end;min-height:560px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 50px #09080780}.home-hero>img{object-fit:cover;opacity:.62;filter:saturate(.82)contrast(1.05);width:100%;height:100%;position:absolute;inset:0}.home-hero:after{content:"";background:linear-gradient(90deg,#171210ee 0%,#171210b8 44%,#17121020 100%);position:absolute;inset:0}.home-hero-copy{z-index:1;max-width:700px;padding:54px;position:relative}.home-hero h1{color:#fff0d4;font-size:clamp(3rem,7vw,6.8rem)}.home-hero .lede{color:#e0d0bb;max-width:560px}.home-actions{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.home-actions button{color:#201611;background:#d77939;border:0;border-radius:3px;padding:13px 17px;font-weight:800}.home-actions .ghost{color:#f4f1ea;background:#2a2421;border:1px solid #c09a69}.home-screen .lobby{margin-top:18px}.home-rules{background:#2c231d;border:1px solid #8a6a42;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin-top:18px;padding:20px;display:grid}.home-rules h2{margin:7px 0}.home-rules p{color:#d6c8b8;max-width:760px;font-size:.86rem;line-height:1.5}.home-rules .ghost{background:#2a2421;border:1px solid #78644f;border-radius:3px;padding:10px 13px}@media (width<=700px){.home-screen{padding:24px 18px}.home-hero{min-height:540px}.home-hero-copy{padding:32px 24px}.home-rules{grid-template-columns:1fr}}.player-status-controls{gap:12px;margin-top:16px;padding:4px 0;display:flex;position:relative}.status-control{color:#f4f1ea;text-align:left;background:#211b18;border:1px solid #6b5846;border-radius:30px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;min-width:190px;padding:9px 12px;display:grid}.status-control-icon{color:#ffd995;background:#533a2a;border:2px solid #e6bd72;border-radius:50%;grid-row:span 2;place-items:center;width:34px;height:34px;font-family:Georgia,serif;font-size:1.1rem;display:grid;overflow:hidden}.status-control-icon img{object-fit:contain;width:100%;height:100%}.status-control strong{font-size:.78rem}.status-control small{color:#c5b7a8;font-size:.66rem}.status-control:hover,.status-control:focus-visible{background:#30251d;border-color:#f0b14e}.branch-control .status-control-icon{background:#294c59;border-color:#8eb7ba}.status-lightbox{z-index:8;background:#2b211a;border:1px solid #d09b52;border-radius:5px;width:min(390px,100%);padding:18px;position:absolute;bottom:calc(100% + 9px);left:0;box-shadow:0 12px 30px #090807aa}.status-lightbox h3{margin:6px 0 3px;font-family:Georgia,serif;font-size:1.5rem;font-weight:400}.status-lightbox p{color:#d6c8b8;font-size:.78rem}.lightbox-close{color:#f4f1ea;background:#41342a;border:1px solid #78644f;border-radius:3px;padding:5px 8px;font-size:.7rem;position:absolute;top:10px;right:12px}.lightbox-stats{color:#c5b7a8;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:.72rem;display:flex}.lightbox-stats b{color:#ffe0a4;margin-right:3px;font-size:.9rem}@media (width<=560px){.player-status-controls{flex-direction:column}.status-control{width:100%}.status-lightbox{width:100%;top:0;bottom:auto}}.path-preview{z-index:6;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.path-preview polyline{fill:none;stroke:#ffe2a0;stroke-width:.55px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1.8 1.1;filter:drop-shadow(0 0 1px #201611)}.path-preview marker path{fill:#ffe2a0}.accepted-path{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.accepted-path polyline{fill:none;stroke:#f0b14e;stroke-width:.9px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:5 3;opacity:0;animation:.72s ease-out both accepted-path-in}.accepted-arrival{animation:.72s ease-out both accepted-arrival-in}@keyframes accepted-path-in{0%{opacity:0;stroke-dashoffset:28px}20%{opacity:.95}to{opacity:0;stroke-dashoffset:0}}@keyframes accepted-arrival-in{0%{filter:drop-shadow(0 0 #ffe2a0);opacity:.25;transform:scale(.72)}45%{filter:drop-shadow(0 0 8px #ffe2a0);opacity:1;transform:scale(1.2)}to{filter:drop-shadow(0 1px 1px #101a12);opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.accepted-path polyline,.accepted-arrival{filter:none;opacity:1;animation:none;transform:none}}.manual-reduced-motion .accepted-path polyline,.manual-reduced-motion .accepted-arrival{filter:none;opacity:1;animation:none;transform:none}.action-dock{z-index:9;background:#211812e8;border:1px solid #e2a04f;border-radius:5px;gap:5px;min-width:190px;padding:10px 12px;display:grid;position:absolute;bottom:18px;right:18px;box-shadow:0 8px 20px #09080799}.action-dock .label{color:#f0b14e}.action-dock button{color:#201611;background:#d77939;border:0;border-radius:3px;width:100%;margin:0;padding:11px 12px;font-weight:800}.action-dock>button:first-of-type:before{content:attr(data-action-icon);color:#ffe0a4;margin-right:7px;font-weight:700;display:inline-block}.action-dock button:disabled{color:#c5b7a8;opacity:.86;cursor:not-allowed;background:#5b4b40}.action-dock-status{color:#c5b7a8;font-size:.66rem;line-height:1.35}@media (width<=560px){.action-dock{min-width:160px;bottom:10px;right:10px}.action-dock button{padding:9px 10px;font-size:.76rem}}.board-action-bar{z-index:40;justify-content:flex-end;min-height:0;display:flex;position:fixed;bottom:24px;right:24px}.board-action-bar .action-dock{border-color:#e2a04f;min-width:250px;position:static;box-shadow:0 10px 26px #090807aa}.board-action-bar .action-dock>button:first-of-type{padding:14px 16px;font-size:.95rem}.board-action-bar .action-dock>button:nth-of-type(2){display:none}@media (width<=560px){.board-action-bar{bottom:10px;left:10px;right:10px}.board-action-bar .action-dock{width:100%;min-width:0}}.map{background-color:#20799b;background-image:radial-gradient(at 45% 43%,#83a66d 0 24%,#0000 25%),radial-gradient(at 64% 56%,#769861 0 19%,#0000 20%),repeating-linear-gradient(30deg,#ffffff08 0 1px,#0000 1px 24px),repeating-linear-gradient(150deg,#ffffff06 0 1px,#0000 1px 24px)}.map:after{content:"";z-index:1;clip-path:polygon(17% 3%,34% 0,44% 8%,57% 6%,68% 14%,79% 12%,92% 25%,87% 39%,96% 51%,84% 60%,87% 74%,73% 72%,66% 88%,53% 82%,43% 95%,31% 84%,18% 87%,20% 72%,7% 61%,14% 48%,5% 36%,16% 27%);opacity:.32;filter:blur(.5px);pointer-events:none;background:linear-gradient(145deg,#8eaa70,#557c59);width:75%;height:70%;position:absolute;top:13%;left:12%}.map:before{background:radial-gradient(circle at 45% 35%,#b5d28c22,#0000 44%),repeating-linear-gradient(30deg,#e5f1d40b 0 1px,#0000 1px 18px),repeating-linear-gradient(150deg,#e5f1d40b 0 1px,#0000 1px 18px)}.game-screen .board-panel{position:relative}.game-screen .board-action-bar{z-index:9;position:static;bottom:auto;right:auto}.encounter-result{background:#2c231d;border:1px solid #8a6a42;margin-top:16px;padding:12px}.encounter-effects{color:#f0d28f;gap:3px;margin:9px 0 0;padding-left:18px;font-size:.72rem;line-height:1.4;display:grid}.encounter-choice-note,.encounter-no-effect,.encounter-state{color:#d6c8b8;margin-top:8px;font-size:.72rem;line-height:1.4}.encounter-result small{color:#b9afa7;margin-top:9px;font-size:.68rem;line-height:1.4;display:block}.action-resolution-feedback{background:#3a291f;border:1px solid #d09b52;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;margin-top:14px;padding:10px 12px;animation:.42s both action-resolution-in;display:grid}.action-resolution-feedback>span{color:#211812;background:#e2a04f;border-radius:50%;grid-row:span 2;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.action-resolution-feedback strong{color:#ffe0a4;font-size:.78rem}.action-resolution-feedback small{color:#c5b7a8;font-size:.68rem}@keyframes action-resolution-in{0%{opacity:0;transform:translateY(5px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.action-resolution-feedback{animation:none}}.hex-tile .location-kind{letter-spacing:.04em;background:#7154a3;border-radius:3px;padding:1px 3px;font-size:.42rem;font-style:normal}.hex-tile .tile-content{background:#243d35d9;border-radius:3px;padding:2px 3px}.game-screen .setup-options button,.game-screen .path-controls button,.game-screen .battle-choice button,.game-screen .retreat-choice button,.game-screen .action-dock button,.game-screen .game-panel-toggle,.game-screen header .ghost,.game-screen .settings-grid label{min-height:44px}.map{touch-action:none;cursor:grab}.map:active{cursor:grabbing}.game-screen .board-panel>.map{aspect-ratio:1.77646;flex:none;height:auto;min-height:0}.game-screen .hex-grid{aspect-ratio:1.77646;height:auto;inset:50% 2.2% auto;transform:translateY(-50%)}.challenge-duel-panel{background:linear-gradient(110deg,#211a17,#30241c 50%,#1d1715);border:1px solid #b98b4e;margin-top:16px;padding:14px;animation:.42s both combat-result-in;box-shadow:0 8px 22px #05040366}.challenge-duel-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.challenge-duel-heading strong{color:#f5d28e;font-size:.82rem}.challenge-duel-sides{grid-template-columns:1fr auto 1fr;align-items:stretch;gap:10px;margin-top:12px;display:grid}.challenge-duel-side{background:#171311cc;border:1px solid #8a6a42;align-content:center;gap:4px;min-width:0;padding:11px;display:grid}.challenge-duel-side strong{color:#f3d7a1;font-size:1rem}.challenge-duel-side span:last-child{color:#cbb9a4;font-size:.68rem}.challenge-duel-monster-art{object-fit:contain;filter:drop-shadow(0 5px 8px #05040399);justify-self:center;width:min(100%,150px);height:96px}.challenge-duel-winner{border-color:#c69751;transform:skew(-2deg)}.challenge-duel-defeated{border-color:#7e5142;transform:skew(2deg)}.challenge-duel-rolls{align-content:center;justify-items:center;min-width:78px;padding:4px;display:grid}.challenge-duel-rolls .combat-roll-list{justify-content:center;max-height:82px;overflow:hidden}.challenge-duel-attacks{gap:4px;margin:12px 0 0;padding:0;list-style:none;display:grid}.challenge-duel-attacks li{background:#17131199;border-left:2px solid #987044;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:6px 8px;font-size:.66rem;animation:.38s both challenge-health-drop;display:grid}.challenge-duel-attacks li strong{color:#f2bf77}.challenge-duel-attacks li small{color:#cbb9a4}.challenge-duel-note{color:#b9afa7;margin-top:10px;font-size:.65rem;line-height:1.4;display:block}@keyframes challenge-health-drop{0%{opacity:0;transform:translate(-5px)}to{opacity:1;transform:translate(0)}}.challenge-duel-panel{isolation:isolate;background:linear-gradient(112deg,#17110f 0 47%,#3b291d 48% 52%,#15100f 53% 100%);position:relative;overflow:hidden}.challenge-duel-panel:before,.challenge-duel-panel:after{content:"";z-index:-1;pointer-events:none;opacity:.28;filter:blur(1px);position:absolute;inset:28% 38% 20%}.challenge-duel-panel:before{clip-path:polygon(50% 0,58% 38%,100% 50%,58% 62%,50% 100%,42% 62%,0 50%,42% 38%);background:#d77939;transform:rotate(9deg)}.challenge-duel-panel:after{clip-path:polygon(50% 0,56% 40%,100% 50%,56% 60%,50% 100%,44% 60%,0 50%,44% 40%);background:#79aeb7;transform:rotate(-11deg)}.challenge-duel-panel>.challenge-duel-heading,.challenge-duel-panel>.challenge-duel-sides,.challenge-duel-panel>.challenge-duel-attacks,.challenge-duel-panel>.challenge-duel-note{z-index:1;position:relative}.challenge-duel-rolls{background:#17131199;border-inline:1px solid #f0c87866;box-shadow:0 0 22px #e5a04f33}.challenge-duel-rolls .label{color:#ffe0a4}.challenge-duel-overlay{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#080706d9;place-items:center;padding:clamp(14px,4vw,48px);display:grid;position:fixed;inset:0}.challenge-duel-fullscreen{border:2px solid #d09b52;width:min(1080px,100%);max-height:min(900px,100dvh - 28px);padding:clamp(18px,3vw,34px);overflow:auto;box-shadow:0 18px 70px #000c}.challenge-duel-return{color:#ffe0a4;background:#30251d;border:1px solid #d09b52;border-radius:3px;padding:9px 12px;font-size:.74rem;font-weight:800;position:absolute;top:14px;right:14px}.challenge-duel-fullscreen .challenge-duel-heading{padding-right:150px}.challenge-duel-fullscreen .challenge-duel-monster-art{width:min(100%,260px);height:clamp(150px,25vh,250px)}.challenge-duel-fullscreen .challenge-duel-sides{gap:clamp(16px,3vw,34px)}.challenge-duel-fullscreen .challenge-duel-attacks{max-height:30vh;overflow:auto}.fight-resolution-panel{background:linear-gradient(112deg,#1b1714,#282018 50%,#171312);border:1px solid #8a6a42;margin-top:16px;padding:14px;box-shadow:0 7px 18px #05040355}.fight-resolution-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.fight-resolution-heading h3{color:#f5d28e;margin:5px 0 0;font-size:.92rem;font-weight:500}.fight-resolution-status{color:#cbb9a4;text-transform:uppercase;letter-spacing:.08em;border:1px solid #625247;padding:5px 7px;font-size:.65rem}.fight-resolution-status.ready{color:#ffe0a4;border-color:#d09b52}.fight-resolution-sides{grid-template-columns:minmax(0,1fr) minmax(90px,.4fr) minmax(0,1fr);align-items:stretch;gap:10px;margin-top:12px;display:grid}.fight-resolution-side{background:#171311cc;border:1px solid #625247;align-content:start;gap:5px;min-width:0;padding:10px;display:grid}.fight-resolution-side>.label{color:#b7a896}.fight-resolution-side strong{color:#f3d7a1;font-size:.78rem}.fight-resolution-side small,.fight-resolution-dice strong{color:#cbb9a4;font-size:.66rem;line-height:1.35}.fight-resolution-unit{border-top:1px solid #51433a;gap:2px;padding:5px 0;display:grid}.fight-resolution-unit:first-of-type{border-top:0;padding-top:0}.fight-resolution-dice{text-align:center;background:#17131199;border-inline:1px solid #f0c87855;align-content:center;justify-items:center;gap:8px;padding:6px;display:grid}.fight-resolution-dice .combat-roll-list{justify-content:center;max-height:76px;overflow:auto}.fight-resolution-monster{border-color:#8a5547}.fight-resolution-outcomes{gap:4px;margin:10px 0 0;padding:0;list-style:none;display:grid}.fight-resolution-outcomes li{color:#f0d7a8;background:#17131199;border-left:2px solid #d09b52;padding:5px 7px;font-size:.67rem}.fight-resolution-note{color:#b9afa7;margin:10px 0 0;font-size:.65rem;line-height:1.4}.decision-rules-help{color:#dce8d8;background:#202b20;border-left:3px solid #6d9666;gap:4px;margin-top:14px;padding:10px 12px;display:grid}.decision-rules-help strong{color:#efc477;font-size:.78rem}.decision-rules-help p{color:#b8c7b1;font-size:.72rem;line-height:1.45}@media (width<=680px){.fight-resolution-sides{grid-template-columns:1fr}.fight-resolution-dice{border:1px solid #f0c87855;border-inline:0;order:3}.fight-resolution-monster{order:2}.challenge-duel-sides{grid-template-columns:1fr}.challenge-duel-rolls{order:3}.challenge-duel-winner,.challenge-duel-defeated{transform:none}.challenge-duel-attacks li{grid-template-columns:1fr auto}.challenge-duel-attacks li small{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.challenge-duel-panel,.challenge-duel-attacks li{animation:none}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.game-screen{flex-direction:column;gap:8px;height:100dvh;max-height:100dvh;padding:14px 20px;display:flex;overflow:hidden}.game-screen>header{flex:none;min-height:48px}.game-screen>header .lede{display:none}.game-screen>.lobby{flex:none;margin-top:0;padding:8px 12px}.game-screen>.status{flex:none;margin:0;padding:7px 0}.game-screen>.turn-progress,.game-screen>.development-notice{flex:none;margin:0;padding:8px 12px}.game-screen>.layout{flex:auto;min-height:0;overflow:hidden}.game-screen .board-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.game-screen .board-panel>.map{flex:auto;height:auto;min-height:240px;margin-top:8px}.game-screen .layout>aside{overscroll-behavior:contain;min-height:0;overflow-y:auto}.game-screen .onboarding,.game-screen .setup-panel,.game-screen .setup-summary,.game-screen .settings-panel{overscroll-behavior:contain;flex:none;max-height:22dvh;overflow:auto}.game-screen .map-controls{margin-top:4px}.game-screen .layout{position:relative}.game-screen .layout.panel-closed{grid-template-columns:minmax(0,1fr)}.game-screen .layout.panel-closed>.game-side-panel{display:contents}.game-screen .layout.panel-closed>.game-side-panel>:not(.action-card){display:none}.game-screen .layout.panel-closed>.game-side-panel>.action-card{width:auto;max-height:none;margin-top:8px;display:block;position:static;overflow:visible}.game-screen .layout.panel-closed .board-secondary{display:none}.game-screen .game-panel-toggle{color:#ffe0a4;border-color:#d09b52}.game-screen .game-side-panel{min-width:0}.game-screen>.lobby,.game-screen>.development-notice{display:none}.game-screen>header{min-height:38px}.game-screen>header h1{max-width:620px;font-size:clamp(1.7rem,3vw,2.6rem)}.game-screen.game-panel-closed>.turn-progress{display:none}.game-screen>.onboarding{grid-template-columns:minmax(0,1fr) auto;align-items:center;max-height:52px;margin:0;padding:7px 10px;overflow:hidden}.game-screen>.onboarding .onboarding-actions{margin:0}.game-screen>.onboarding .onboarding-actions span{font-size:.7rem}.game-screen>.turn-progress{max-height:58px;overflow:hidden}@media (width<=900px){.game-screen{gap:6px;padding:10px 14px}.game-screen>header{min-height:42px}.game-screen>.lobby{display:none}.game-screen>.status{font-size:.78rem}.game-screen>.turn-progress{padding:6px 8px}.game-screen>.development-notice{font-size:.68rem}.game-screen>.layout.panel-open{grid-template-columns:minmax(0,1fr) 280px;gap:10px}.game-screen .board-panel{padding:12px}.game-screen .layout>aside{font-size:.9rem}}@media (width<=700px){.game-screen{height:100dvh;padding:8px 10px}.game-screen>header{align-items:center;display:flex}.game-screen>header h1{font-size:1.8rem}.game-screen>.status{grid-template-columns:repeat(4,1fr);gap:3px}.game-screen>.status div{padding:0 5px}.game-screen>.turn-progress ol{gap:3px}.game-screen>.development-notice{display:none}.game-screen>.layout{grid-template-rows:minmax(0,1fr);grid-template-columns:1fr;display:grid;overflow:hidden}.game-screen>.layout.panel-open{grid-template-rows:minmax(0,1fr) minmax(140px,32dvh)}.game-screen .layout>aside{overflow-y:auto}.game-screen .board-panel{overscroll-behavior:contain;padding:8px;overflow-y:auto}.game-screen .board-panel>.map{flex:auto;height:210px;min-height:210px}.game-screen .map-controls{gap:3px}.game-screen .map-controls .label{display:none}}.game-screen{height:auto;min-height:100dvh;max-height:none;overflow:visible}.game-screen>.layout{flex:none;overflow:visible}.game-screen .board-panel{overflow:visible}.game-screen .board-panel>.map{aspect-ratio:1.77646;flex:none;width:100%;height:auto;min-height:0}.game-screen .board-action-bar{position:static}.board-unavailable{z-index:5;text-align:center;color:#f7e7c9;background:#1d1714e8;border:1px solid #d0b58a;border-radius:6px;place-items:center;padding:24px;font-weight:700;display:grid;position:absolute;inset:12% 8%}.board-review-screen{background:radial-gradient(circle at 75% 18%,#2d4f47 0,#171514 55%);max-width:1440px;min-height:100dvh;margin:auto;padding:36px 44px}.board-review-header{justify-content:space-between;align-items:flex-start;gap:28px;display:flex}.board-review-header h1{color:#fff0d4;margin-top:8px}.board-review-lede{color:#c9bdae;max-width:720px;margin-top:18px;line-height:1.5}.board-review-warning{color:#f3d7a1;background:#30251d;border:1px solid #b98b4e;gap:4px;margin-top:24px;padding:14px 16px;display:grid}.board-review-warning span{color:#d6c8b8;font-size:.82rem}.board-review-frame{background:#1c464e;border:1px solid #d0b58a;margin-top:18px;padding:12px;overflow:hidden;box-shadow:0 16px 40px #09080799}.board-review-canvas{aspect-ratio:1.77646;background:linear-gradient(145deg,#356e73,#244c56);width:100%;position:relative}.board-review-hex{aspect-ratio:1.1547;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(145deg,#f0e5c2,#c6b98f);width:4.45%;position:absolute;transform:translate(-50%,-50%);box-shadow:inset 0 0 0 2px #fff6d8,0 2px 4px #10181399}.board-review-count{color:#c9bdae;letter-spacing:.04em;margin-top:12px;font-size:.78rem}@media (width<=700px){.board-review-screen{padding:24px 18px}.board-review-header{display:block}.board-review-header .ghost{margin-top:20px}.board-review-frame{padding:7px}}.board-review-visuals{grid-template-columns:minmax(0,1fr) minmax(260px,.52fr);align-items:start;gap:10px;display:grid}.board-review-frame{margin-top:0}.board-review-sources{grid-template-columns:1fr;gap:10px;display:grid}.board-review-source{background:#211c18;border:1px solid #6b5945;margin:0;padding:10px}.board-review-source img{object-fit:contain;width:100%;height:auto;max-height:520px;display:block}.board-review-source figcaption{color:#c9bdae;margin-top:8px;font-size:.72rem;line-height:1.4}@media (width<=1100px){.board-review-visuals{grid-template-columns:1fr}.board-review-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.board-review-sources{grid-template-columns:1fr}}.hex-tile.unresolved{color:#514936;opacity:1;background:linear-gradient(145deg,#eee7cb,#cfc5a2);border:1px solid #fff7d8;box-shadow:inset 0 0 0 1px #a79b76,0 2px 4px #0a171280}.hex-tile.unresolved:before{border-color:#fff9df;inset:8%}.hex-tile.unresolved .node{color:#fff7d8;background:#766b4ccc;border-color:#847857}.status{grid-template-columns:repeat(7,minmax(0,1fr))}.status div{min-width:0;padding-inline:12px}.status strong{overflow-wrap:anywhere;font-size:1.05rem}.game-screen>.status{max-height:58px}@media (width<=700px){.game-screen>.status{grid-template-columns:repeat(4,minmax(0,1fr))}.game-screen>.status div{padding-inline:5px}.game-screen>.status strong{font-size:.78rem}}.board-review-layout{grid-template-columns:minmax(0,1fr) minmax(220px,280px);align-items:start;gap:16px;display:grid}.board-review-hex{cursor:pointer;border:0;padding:0}.board-review-hex[data-selected=true]{outline-offset:2px;z-index:2;outline:3px solid #e28b43}.board-review-inspector{color:#f4f1ea;background:#2b211a;border:1px solid #d09b52;border-radius:5px;padding:18px}.board-review-inspector h2{color:#fff0d4;margin:7px 0 14px}.board-review-inspector dl{gap:10px;margin:0;display:grid}.board-review-inspector dl div{border-top:1px solid #59473a;padding-top:7px}.board-review-inspector dt{color:#b7a896;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem}.board-review-inspector dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:.8rem}.board-review-inspector p{color:#d6c8b8;overflow-wrap:anywhere;margin-top:16px;font-size:.75rem;line-height:1.45}.board-review-inspector small{color:#b7a896;margin-top:14px;line-height:1.4;display:block}@media (width<=900px){.board-review-layout{grid-template-columns:1fr}.board-review-inspector{grid-template-columns:1fr 1fr;gap:8px 16px;display:grid}.board-review-inspector h2{margin:0}.board-review-inspector dl,.board-review-inspector p,.board-review-inspector small{grid-column:1/-1}}@media (width<=700px){.game-screen>header{display:block}.game-screen>header .header-actions{justify-content:flex-start;margin-top:8px}.game-screen>header .header-actions .ghost{margin-top:0}}.challenge-duel-timeline-heading{color:#f5d28e;letter-spacing:.14em;text-transform:uppercase;margin:12px 0 0;font-size:.68rem}.board-review-hex{width:4.6%}.board-context-tray{color:#f4f1ea;background:#211b18;border:1px solid #6b5846;border-radius:4px;grid-template-columns:minmax(170px,.8fr) minmax(0,1.6fr) minmax(180px,1fr);align-items:center;gap:12px;margin-top:10px;padding:10px 12px;display:grid}.board-context-heading h3{color:#fff0d4;margin:4px 0 2px;font-family:Georgia,serif;font-size:1rem;font-weight:400}.board-context-heading p,.board-context-note,.board-context-edges{color:#c5b7a8;font-size:.68rem;line-height:1.35}.board-context-facts{color:#b9afa7;flex-wrap:wrap;gap:8px;font-size:.68rem;display:flex}.board-context-facts span{background:#2b211c;border:1px solid #51433a;border-radius:3px;padding:5px 7px}.board-context-facts b{color:#ffe0a4;font-weight:700}.board-context-occupants{color:#f0d7a8;flex-wrap:wrap;grid-column:1/-1;gap:6px;font-size:.7rem;display:flex}.board-context-occupants span{background:#2b211c;border-left:2px solid #d99b4a;padding:5px 7px}.board-context-occupants b{color:#fff0d4}.board-context-edges{border-top:1px solid #51433a;grid-column:1/-1;margin:0;padding-top:6px}.board-context-edges b{color:#ffe0a4}.board-context-note{margin:0}@media (width<=700px){.board-context-tray{grid-template-columns:1fr;gap:7px}.board-context-facts{gap:5px}.board-context-facts span{padding:4px 6px}}.attention-banner{color:#dce8d8;background:#202b20;border-left:3px solid #6d9666;align-items:baseline;gap:8px;margin-top:8px;padding:7px 10px;font-size:.7rem;line-height:1.35;display:flex}.attention-banner strong{color:#efc477;white-space:nowrap}.attention-banner.waiting{border-left-color:#8eb7ba}.attention-banner.complete,.attention-banner.event{border-left-color:#d09b52}.attention-banner.complete strong,.attention-banner.event strong{color:#ffe0a4}@media (width<=700px){.attention-banner{gap:2px;display:grid}}.metric-icon{color:#efc477;text-align:center;min-width:1em;font-weight:700;display:inline-block}.hex-tile.adjacent{box-shadow:inset 0 0 0 2px #8eb7ba99,0 2px 4px #0a171280}.hex-tile .tile-occupants.stack-count-7,.hex-tile .tile-occupants.stack-count-8{gap:0;max-width:30px}.hex-tile .tile-occupants.stack-count-7 .tile-occupant,.hex-tile .tile-occupants.stack-count-8 .tile-occupant{max-width:12px;max-height:12px}.hex-tile:focus-visible{z-index:8}.game-screen>.status{max-height:none;overflow:visible}.invite-status{overflow-wrap:anywhere;color:#c5b7a8;max-width:260px;font-size:.68rem}.public-room-list{gap:5px;margin-top:8px;display:grid}.public-room{text-align:left;color:#f4f1ea;background:#211b18;border:1px solid #51433a;border-radius:3px;grid-template-columns:auto 1fr;align-items:baseline;gap:8px;padding:6px 8px;display:grid}.public-room strong{color:#ffe0a4}.public-room span{color:#b7a896;font-size:.68rem}.dense-stack-review{color:#f4f1ea;background:#211b18;border:1px solid #6b5846;border-radius:5px;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);align-items:center;gap:18px;margin-top:18px;padding:16px;display:grid}.dense-stack-review h2{color:#fff0d4;margin:5px 0;font-family:Georgia,serif;font-weight:400}.dense-stack-review p{color:#c9bdae;font-size:.75rem;line-height:1.4}.dense-stack-fixtures{grid-template-columns:repeat(8,minmax(42px,1fr));align-items:center;gap:8px;display:grid}.dense-stack-fixture{aspect-ratio:1;background:linear-gradient(145deg,#eee7cb,#cfc5a2);border:1px solid #d9c993;border-radius:50%;grid-template-columns:repeat(2,minmax(0,1fr));place-items:center;width:100%;padding:8px;display:grid;overflow:hidden}.dense-stack-fixture.stack-count-1{grid-template-columns:1fr}.dense-stack-fixture img{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 1px 1px #101a12);width:100%;max-width:30px}.dense-stack-fixture.stack-count-4 img,.dense-stack-fixture.stack-count-5 img,.dense-stack-fixture.stack-count-6 img{max-width:22px}.dense-stack-fixture.stack-count-7 img,.dense-stack-fixture.stack-count-8 img{max-width:17px}@media (width<=900px){.dense-stack-review{grid-template-columns:1fr}.dense-stack-fixtures{grid-template-columns:repeat(4,minmax(42px,1fr))}}@media (width<=450px){.dense-stack-fixtures{grid-template-columns:repeat(2,minmax(42px,1fr))}}.hex-tile,.board-review-hex,.hex-tile.development-fixture{aspect-ratio:1.1547;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.military-sheet-backdrop{z-index:150;background:#071014b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.military-sheet{color:#202c25;background:#eee6cc;border:3px solid #728168;border-radius:12px;width:min(760px,100%);max-height:85dvh;padding:24px;overflow:auto;box-shadow:0 20px 80px #0009}.military-sheet .label{color:#46553e}.military-sheet h2{margin:8px 0;font-size:32px}.military-sheet h3{margin-top:24px;font-size:16px}.military-sheet-close{float:right}.military-sheet-pieces{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.military-sheet-pieces button{color:#202c25;text-transform:capitalize;background:#fff9e8;border:2px solid #77866c;border-radius:8px;flex-direction:column;align-items:center;gap:8px;padding:12px;display:flex}.military-sheet-pieces button:hover,.military-sheet-pieces button:focus-visible{background:#d8edbc;border-color:#355d24;outline:3px solid #7aa251}.military-sheet-pieces img{object-fit:contain;width:100px;height:90px}.military-sheet-pieces small{font-size:12px}.deployment-prompt{z-index:30;color:#f8f6d3;background:#172c26;border:1px solid #e2e899;border-radius:10px;max-width:90%;padding:12px 18px;position:absolute;top:90px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0008}.deployment-prompt button{margin-left:12px}.hex-tile.deployment-legal{filter:drop-shadow(0 0 8px #e2ff76);outline:3px solid #e2ff76}.trophy-prompt{pointer-events:none;text-align:center;line-height:1.45}.trophy-record-piece{animation:1.25s ease-in-out 3 alternate trophy-card-pulse;background:#fff1bd!important;border-color:#b48733!important;box-shadow:0 0 0 3px #f1c64a,0 0 18px #ffd86a!important}.trophy-record-piece span{color:#573d13;font-weight:800}@keyframes trophy-card-pulse{0%,to{transform:translateY(0);box-shadow:0 0 0 2px #f1c64a,0 0 9px #ffd86a}50%{transform:translateY(-2px);box-shadow:0 0 0 4px #ffe58b,0 0 18px #ffd86a}}@media (prefers-reduced-motion:reduce){.trophy-record-piece{animation:none}}.hex-tile.retreat-legal{filter:drop-shadow(0 0 10px #8ff7ff)drop-shadow(0 0 18px #55d8ff);outline:3px solid #8ff7ff;animation:1.35s ease-in-out infinite retreat-hex-pulse}@keyframes retreat-hex-pulse{0%,to{filter:drop-shadow(0 0 6px #8ff7ff)drop-shadow(0 0 12px #55d8ff)}50%{filter:drop-shadow(0 0 13px #d9ffff)drop-shadow(0 0 25px #55d8ff)}}@media (prefers-reduced-motion:reduce){.hex-tile.retreat-legal{animation:none}}.audited-grid .hex-tile.deployment-legal .hex-highlight{fill:#dfff6544;stroke:#e4ff81;stroke-width:5px}.hex-tile .tile-occupants .tile-piece,.hex-tile .tile-occupants .tile-monster{pointer-events:auto;cursor:pointer}.hex-tile .tile-occupants.stack-count-3 .tile-occupant:last-child,.hex-tile .tile-occupants.stack-count-5 .tile-occupant:last-child,.hex-tile .tile-occupants.stack-count-7 .tile-occupant:last-child,.dense-stack-fixture.stack-count-3 img:last-child,.dense-stack-fixture.stack-count-5 img:last-child,.dense-stack-fixture.stack-count-7 img:last-child{grid-column:1/-1;justify-self:center;width:50%}.deployment-prompt{pointer-events:none}.deployment-prompt button{pointer-events:auto}.military-sheet-close,.deployment-prompt button{color:#203b29;cursor:pointer;background:#e9efd7;border:1px solid #728168;border-radius:6px;min-height:36px;padding:8px 12px;font-weight:700}.hex-grid.audited-grid .hex-tile.deployment-legal .hex-highlight{fill:#dfff6538;stroke:#e4ff81;stroke-width:5px;filter:drop-shadow(0 0 4px #caff57)}@media (width<=600px){.deployment-prompt{width:calc(100% - 28px);font-size:13px;top:160px}.deployment-prompt button{margin:8px 0 0;display:block}.military-sheet{padding:18px}.military-sheet-pieces{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}.military-hand{isolation:isolate;background:#263a30;border-radius:14px;flex-direction:column;width:min(760px,100%);min-height:0;max-height:90dvh;padding:12px;display:flex;position:relative;box-shadow:0 20px 80px #0009}.military-hand.multiple-sheets:before,.military-hand.multiple-sheets:after{content:"";z-index:-1;pointer-events:none;background:#bbbca0;border:2px solid #839579;border-radius:14px;position:absolute;inset:12px 0 0;transform:rotate(-3deg)}.military-hand.multiple-sheets:after{z-index:-2;background:#d5d0ae;transform:rotate(3deg)}.military-hand-toolbar{justify-content:space-between;align-items:center;gap:12px;padding:0 4px 10px;display:flex}.military-hand-toolbar .label{color:#edf1d6}.military-hand .military-sheet{width:100%;min-height:0;max-height:none;box-shadow:none;overscroll-behavior:contain;touch-action:pan-y;animation:.18s ease-out military-card-enter}.military-sheet-tabs{flex-shrink:0;gap:6px;padding:3px 3px 10px;display:flex;overflow-x:auto}.military-sheet-tabs button,.military-hand-navigation button{color:#f0efd8;white-space:nowrap;cursor:pointer;background:#334d3e;border:1px solid #889b79;border-radius:8px;min-height:44px;padding:10px 14px;font-weight:700}.military-sheet-tabs button[aria-pressed=true]{color:#203b29;background:#eee6cc;border-color:#eee6cc;box-shadow:0 3px #d6e78e}.military-hand-navigation{color:#f0efd8;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding-top:10px;font-size:12px;display:flex}.military-hand button:focus-visible{outline-offset:2px;outline:3px solid #c9ee91}@keyframes military-card-enter{0%{opacity:.65;transform:translate(12px)rotate(1deg)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.military-hand .military-sheet{animation:none}}.manual-reduced-motion .military-hand .military-sheet{animation:none}@media (width<=600px){.military-hand,.military-hand-navigation button{padding:8px}.military-hand-navigation span{text-align:center}.military-hand.multiple-sheets:before{transform:rotate(-2deg)}.military-hand.multiple-sheets:after{transform:rotate(2deg)}}.military-hand-toolbar,.military-sheet-tabs,.military-hand-navigation{background:#263a30;border-radius:8px;position:relative}.military-hand-toolbar{padding:6px 8px 10px}.military-hand-navigation{padding:10px 6px 6px}.player-sheet-controls{flex-wrap:wrap;gap:6px;display:flex}.sheet-reference{background:#fff9e8;border:1px solid #9aa182;border-radius:8px;margin:18px 0;padding:14px}.sheet-reference article+article{border-top:1px solid #adb399;margin-top:14px;padding-top:4px}.sheet-reference h3{margin:12px 0 8px}.sheet-reference h3 small{font-size:13px;font-weight:400}.sheet-reference p,.monster-reference-sheet p{font-size:14px;line-height:1.5}.sheet-reference-note{color:#4b5845;font-size:12px!important}.sheet-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:12px 0;display:grid}.sheet-stats>div{color:#203626;background:#dfe6ca;border-radius:6px;padding:10px}.sheet-stats dt{font-size:12px}.sheet-stats dd{margin:5px 0 0;font-size:17px;font-weight:700}.sheet-source{margin-top:14px}.sheet-source summary{cursor:pointer;padding:10px 0;font-size:13px;font-weight:700}.sheet-source img{border-radius:8px;width:100%;height:auto;margin-top:10px;display:block}.monster-sheet-portrait{float:right;object-fit:contain;width:110px;height:110px;margin-left:14px}.game-screen{background:radial-gradient(circle at 52% 12%,#3b3028 0,#211b18 34%,#121111 78%);gap:10px}.game-screen .layout{gap:18px}.game-screen .board-panel{background:#191614b8;border-color:#58483b;padding:18px;box-shadow:0 12px 30px #09080735}.game-screen .panel-heading h2{font-size:1.55rem}.game-screen .panel-heading .label{color:#d9a15b}.game-screen .game-side-panel{padding:0 2px}.game-screen .card,.game-screen .hud-section,.game-screen .movement-checklist{background:#1d1916d1;border-color:#4d4138;box-shadow:0 6px 18px #09080722}.game-screen .action-card{padding:18px}.game-screen button{transition:background-color .15s,border-color .15s,transform .15s,box-shadow .15s}.game-screen button:hover:not(:disabled){filter:none;transform:translateY(-1px);box-shadow:0 4px 10px #09080735}.game-screen button:active:not(:disabled){box-shadow:none;transform:translateY(0)}.game-screen .map-note{color:#82776e;font-size:.7rem}.game-screen .turn-progress{background:#211b18;border-color:#59483a}.game-screen .status{opacity:.9}.game-screen .movement-checklist-heading{color:#e8bd76}.game-screen .movement-piece-list{gap:5px}.game-screen .movement-piece{background:#25211e;border-color:#463d36}.game-screen .movement-piece.selected{background:#3a2b20;border-color:#e2a04f;box-shadow:inset 3px 0 #e2a04f}.game-screen .movement-piece.completed{opacity:.55}.game-screen .hud-section summary{color:#9d9187}.game-screen .hud-section[open] summary{color:#e8bd76}.game-screen .board-secondary{opacity:.78}.game-screen .setup-panel{box-shadow:0 8px 24px #09080735}.game-screen .bottom-context-dock{background:linear-gradient(#30231bf2,#181412f7);border-color:#b37a3d}.board-viewport{background:radial-gradient(#2b91ad 0,#176b88 64%,#0f4e68 100%)}.board-viewport:before{background:radial-gradient(circle at 35% 30%,#8fc4c833,#0000 28%),repeating-linear-gradient(155deg,#0000 0 24px,#ffffff08 25px 26px),linear-gradient(155deg,#83b7c322,#0000 55%)}.game-screen .layout.panel-open{grid-template-columns:minmax(0,1fr)}.game-screen .layout.panel-open>.game-side-panel{z-index:35;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1c1714f2;border:1px solid #67503c;border-radius:6px;width:min(360px,100% - 16px);max-height:calc(100% - 16px);padding:0 0 10px;position:absolute;top:8px;right:8px;overflow-y:auto;box-shadow:0 14px 34px #090807aa}.game-screen .layout.panel-open>.game-side-panel>.board-action-bar,.game-screen .layout.panel-closed>.game-side-panel>.action-card{display:none}.game-screen .layout.panel-open .board-secondary{display:block}@media (width<=700px){.game-screen .layout.panel-open{grid-template-rows:minmax(0,1fr)}.game-screen .layout.panel-open>.game-side-panel{width:auto;max-height:min(58dvh,520px);inset:auto 6px 6px}}.pre-match-lobby{max-width:860px;margin:0 auto;padding:32px 24px 56px}.pre-match-lobby-heading{text-align:center;margin:clamp(32px,8vh,80px) auto 24px}.pre-match-lobby-heading h1{color:#fff0d4;margin:8px 0;font-size:clamp(2.4rem,7vw,4.5rem)}.pre-match-lobby-heading>p:last-of-type{color:#d6c8b8}.pre-match-room-code{color:#fff0d4;letter-spacing:.2em;background:#2c231d;border:1px solid #8a6a42;border-radius:4px;margin-top:14px;padding:10px 24px;font-size:clamp(1.5rem,5vw,2.3rem);font-weight:900;display:inline-block}.pre-match-lobby .lobby{margin-top:20px}.lobby-waiting-room{border-top:1px solid #65513d;grid-column:1/-1;margin-top:16px;padding-top:18px}.lobby-waiting-room h2{color:#fff0d4;margin:0 0 6px}.lobby-waiting-room>p{color:#d6c8b8}.lobby-player-seats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0;display:grid}.lobby-player-seat{background:#211b18;border:1px solid #65513d;border-radius:4px;gap:5px;padding:13px;display:grid}.lobby-player-seat span,.lobby-player-seat small{color:#c5b5a2}.lobby-player-seat strong{color:#fff0d4}.lobby-waiting-note{font-size:.9rem}@media (width<=700px){.pre-match-lobby{padding:20px 14px 36px}.pre-match-lobby-heading{margin:36px auto 18px}}.lobby-room-management{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:12px;display:flex}.lobby-delete-room{color:#f2b6a4!important;border-color:#a34932!important}.room-leave-backdrop{z-index:1000;background:#090807c9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.room-leave-dialog{background:#211b18;border:1px solid #8a6a42;border-radius:5px;gap:12px;width:min(440px,100%);padding:26px;display:grid;box-shadow:0 20px 70px #0009}.room-leave-dialog h2{color:#fff0d4;margin:0}.room-leave-dialog p{color:#d6c8b8;margin:0 0 6px;line-height:1.5}.room-leave-dialog button{justify-self:stretch}.room-leave-dialog button.subtle{color:#f4f1ea;background:#2a2421;border:1px solid #78644f}.room-leave-dialog button.subtle:hover:not(:disabled){background:#3a3029;border-color:#c09a69}.room-leave-dialog button.lobby-delete-room{color:#ffd0c6;background:#3b211f}.general-avatar{background:#211914;border:1px solid #c39a58;border-radius:50%;flex:none;place-items:center;display:inline-grid;overflow:hidden;box-shadow:0 3px 10px #0005}.general-avatar img{object-fit:cover;width:100%;height:100%;display:block}.account-panel>summary .general-avatar{margin-left:auto}.account-identity{align-items:center!important}.account-identity>div{gap:4px;display:grid}.pre-match-lobby{max-width:760px}.pre-match-lobby .lobby{background:radial-gradient(at 50% 0,#34271f 0,#211b18 62%);border-color:#70563d;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;padding:clamp(16px,3vw,28px);display:grid;box-shadow:0 18px 55px #09080770}.pre-match-lobby .lobby-room-summary{text-align:center;border-bottom:1px solid #65513d;padding:0 0 14px}.pre-match-lobby .lobby-waiting-room{border:0;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:10px;margin-top:0;padding-top:16px;display:grid}.pre-match-lobby .lobby-waiting-room h2{text-align:center;font-size:1.65rem}.pre-match-lobby .lobby-waiting-room>p{text-align:center;margin:0}.pre-match-lobby .lobby-room-management{align-items:center}.lobby-room-privacy{color:#cdbba7;justify-content:center;align-items:center;gap:10px;font-size:.82rem;display:flex}.lobby-player-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0}.lobby-player-seat{background:linear-gradient(145deg,#29211c,#1d1917);border-color:#66503c;align-content:center;gap:8px;min-height:100px;padding:14px;box-shadow:inset 0 1px #ffffff08}.lobby-player-seat.occupied{border-color:#856743}.lobby-player-seat.open{background:#1e1a17;border-style:dashed}.lobby-player-seat>span{letter-spacing:.1em;text-transform:uppercase;font-size:.72rem}.lobby-seat-identity{align-items:center;gap:11px;min-width:0;display:flex}.lobby-seat-identity>div{gap:5px;min-width:0;display:grid}.lobby-seat-identity strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:.02em;overflow:hidden}.lobby-seat-identity small{color:#c5b5a2}.pre-match-lobby .lobby-room-qr{color:#bcae9d;justify-items:center;gap:8px;margin:4px auto 0;font-size:.75rem;display:grid}.pre-match-lobby .lobby-room-qr svg{shape-rendering:crispedges;background:#fff;border:1px solid #765d42;border-radius:5px;width:148px;height:148px;padding:8px;box-shadow:0 9px 24px #0005}.pre-match-lobby .ready-button{justify-self:center;min-width:170px;margin-top:2px;padding:13px 20px;box-shadow:0 5px 15px #d7793940}@media (width<=540px){.pre-match-lobby .lobby{padding:16px}.pre-match-lobby .lobby-room-management{margin-bottom:2px}.lobby-player-seats{gap:8px}.lobby-player-seat{padding:10px}.lobby-seat-identity{gap:8px}.lobby-seat-identity .general-avatar{width:40px!important;height:40px!important}}:is(html:has(.pre-match-lobby),body:has(.pre-match-lobby)){width:100%;height:100%;overflow:hidden}body:has(.pre-match-lobby){margin:0}.pre-match-lobby{width:100%;height:100dvh;min-height:0;max-height:100dvh;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));flex-direction:column;align-items:center;gap:clamp(6px,1vh,12px);display:flex;overflow:hidden}.pre-match-lobby-heading{text-align:center;flex:none;width:min(760px,100%);margin:0 auto}.pre-match-lobby-heading h1{margin:4px 0;font-size:clamp(2rem,6vh,3.8rem);line-height:.98}.pre-match-lobby-heading>p:last-of-type{font-size:clamp(.75rem,1.7vh,.95rem);line-height:1.25}.pre-match-room-code{margin-top:clamp(5px,1vh,10px);padding:6px 18px;font-size:clamp(1.2rem,3.7vh,1.8rem)}.pre-match-lobby .lobby{flex:auto;width:min(760px,100%);min-height:0;margin:0 auto;padding:clamp(10px,1.7vh,20px);overflow:hidden}.pre-match-lobby .lobby-room-summary{flex:none;padding-bottom:clamp(4px,.7vh,8px)}.pre-match-lobby .lobby-room-summary p{font-size:.72rem}.pre-match-lobby .lobby-waiting-room{flex:auto;gap:clamp(3px,.65vh,8px);min-height:0;padding-top:clamp(6px,1vh,12px)}.pre-match-lobby .lobby-waiting-room h2{font-size:clamp(1.2rem,3vh,1.6rem);line-height:1}.pre-match-lobby .lobby-waiting-room>p{font-size:clamp(.7rem,1.5vh,.86rem);line-height:1.2}.pre-match-lobby .lobby-room-management{margin:0}.pre-match-lobby .lobby-room-management button{padding:7px 10px;font-size:.8rem}.pre-match-lobby .lobby-room-privacy select{padding:5px 8px}.pre-match-lobby .lobby-player-seats{flex:none;gap:clamp(5px,.8vh,10px);margin:0}.pre-match-lobby .lobby-player-seat{gap:4px;height:clamp(62px,10vh,92px);min-height:0;padding:clamp(6px,1vh,12px)}.pre-match-lobby .lobby-player-seat>span{font-size:.62rem}.pre-match-lobby .lobby-seat-identity{gap:clamp(6px,1vw,10px)}.pre-match-lobby .lobby-seat-identity .general-avatar{width:clamp(34px,5.2vh,46px)!important;height:clamp(34px,5.2vh,46px)!important}.pre-match-lobby .lobby-seat-identity strong{font-size:clamp(.7rem,1.5vh,.9rem)}.pre-match-lobby .lobby-seat-identity small,.pre-match-lobby .lobby-player-seat>small{font-size:.68rem}.pre-match-lobby .lobby-room-qr{gap:3px;margin:0;font-size:.66rem;line-height:1}.pre-match-lobby .lobby-room-qr svg{width:clamp(76px,12vh,120px);height:clamp(76px,12vh,120px);padding:5px}.pre-match-lobby .ready-button{min-height:38px;margin:0;padding:8px 18px;font-size:.9rem}:root{--aaa-paper:#efede2;--aaa-panel:#e4e1d5;--aaa-card:#faf6ec;--aaa-ink:#252923;--aaa-muted:#626658;--aaa-line:#c7c8b9;--aaa-rust:#ac3d24;--aaa-olive:#62694e}.game-screen{--hud-bg:#efede2f7;--hud-border:#aaa99d;--civ-brass:var(--aaa-rust);--civ-ivory:#f4f1ea;--civ-muted:#b8b0a1;color:#f4f1ea}.game-screen>header,.game-screen>.status,.game-screen>.settings-panel,.game-screen>.onboarding,.game-screen>.setup-panel,.game-screen>.setup-summary,.game-screen .action-dock,.game-screen .board-context-tray,.game-screen .board-minimap,.game-screen .board-stack-inspector,.game-screen .command-station,.game-screen .phase-actions,.game-screen .setup-command,.game-screen .turn-prompt,.game-screen .challenge-arena,.game-screen .encounter-overlay,.game-screen .terminal-summary,.game-screen .selected-piece-tray,.game-screen .board-reference-card,.game-screen .log-panel{border-color:var(--aaa-line);background-color:var(--aaa-paper);color:var(--aaa-ink);box-shadow:0 5px 20px #25292318}.game-screen .map-controls,.game-screen>.board-map-controls>summary,.game-screen>.board-map-controls .map-controls{border-color:var(--aaa-line);background-color:var(--aaa-paper);color:var(--aaa-ink)}.game-screen :is(.button,select,input,textarea){color:var(--aaa-ink);border-color:#a8aa9c;border-radius:2px}.game-screen :is(select,input,textarea){background-color:var(--aaa-card)}.game-screen button.primary,.game-screen button[aria-pressed=true],.game-screen .action-dock button.primary,.game-screen .setup-command button.primary{border-color:var(--aaa-ink);background-color:var(--aaa-ink);color:var(--aaa-card)}.game-screen .error,.game-screen [role=alert]{color:#9f3020}.game-screen :is(button,input,select,textarea,summary):focus-visible{outline-color:var(--aaa-rust)}.game-screen .settings-room-invite{border-top:1px solid var(--aaa-line);justify-items:start;gap:9px;margin-top:18px;padding-top:16px;display:grid}.game-screen .settings-room-invite h3{margin:0;font:700 1.05rem/1.2 Georgia,serif}.game-screen .settings-room-invite p{max-width:38rem;color:var(--aaa-muted);font-size:.82rem;line-height:1.45}.game-screen .settings-room-invite svg{shape-rendering:crispedges;background:#fff;width:160px;height:160px;padding:6px}.game-screen .settings-room-invite button{border:1px solid var(--aaa-ink);background:var(--aaa-ink);min-height:38px;color:var(--aaa-card);padding:8px 12px}.game-screen .settings-room-invite [role=status]{color:var(--aaa-muted);overflow-wrap:anywhere;font-size:.75rem}.lobby-room-qr{color:var(--aaa-muted);justify-items:start;gap:6px;margin-top:12px;font-size:.75rem;display:grid}.lobby-room-qr svg{shape-rendering:crispedges;background:#fff;width:144px;height:144px;padding:6px}.game-screen .board-viewport,.game-screen .board-viewport .map-canvas{color:var(--aaa-ink)}.game-screen>.setup-summary{background:var(--aaa-paper);color:var(--aaa-ink)}.game-screen>.setup-summary>.label{color:var(--aaa-olive)}.game-screen>.setup-summary>h2{color:var(--aaa-ink)}.game-screen>.setup-summary>p{color:#454a40}.game-screen .setup-summary-grid>div{background:var(--aaa-card);border-color:#b7b9a9}.game-screen .setup-summary-grid>div>strong,.game-screen .setup-summary-grid>div>span{color:#30352c}.game-screen .setup-summary-grid>div>span:last-child{color:#66531e}.game-screen .hud-menu-items{color:#f4f1ea}.game-screen .account-panel{color:#f7ecce}.game-screen .account-panel-content{color:#f7ecce;background:0 0}.game-screen .account-panel :is(h1,h2,h3,.label,.eyebrow){color:#f7ecce}.game-screen{z-index:0;isolation:isolate;--hud-bg:#171f1df0;--hud-border:#a69b694d;--action-dock-bottom:16px;--action-dock-height:130px;width:100%;max-width:none;height:100dvh;min-height:0;max-height:100dvh;margin:0;padding:0;display:block;position:fixed;inset:0;overflow:hidden}.game-screen>.layout,.game-screen>.layout.panel-open,.game-screen>.layout.panel-closed{pointer-events:none;width:100%;height:100%;min-height:0;margin:0;display:block;position:absolute;inset:0;overflow:hidden}.game-screen .board-panel{pointer-events:none;background:0 0;border:0;border-radius:0;width:100%;height:100%;min-height:0;padding:0;display:block;position:absolute;inset:0;overflow:hidden}.game-screen .board-panel>.map.board-viewport{aspect-ratio:auto;width:100%;height:100%;min-height:0;box-shadow:none;touch-action:none;pointer-events:auto;cursor:grab;-webkit-user-select:none;user-select:none;background:#287382;border:0;border-radius:0;margin:0;padding:0;position:absolute;inset:0;overflow:hidden}.game-screen .board-viewport.is-dragging,.game-screen .board-viewport.is-dragging *{cursor:grabbing!important}.game-screen .board-viewport:before{display:none}.game-screen .board-viewport .map-canvas{transform-origin:0 0;will-change:transform;background:#287382;transition:none;position:absolute;inset:0 auto auto 0}.game-screen .board-viewport .hex-grid{aspect-ratio:auto;filter:none;width:100%;height:100%;position:absolute;inset:0;transform:none}.game-screen>header{z-index:20;top:max(12px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));background:var(--hud-bg);border:1px solid var(--hud-border);border-radius:8px;align-items:center;gap:16px;min-height:0;padding:10px 14px;display:flex;position:absolute;box-shadow:0 5px 24px #06131144}.game-screen>header h1{letter-spacing:-.02em;max-width:none;font-size:1.3rem;line-height:1.1}.game-screen>header .eyebrow,.game-screen>header .lede{display:none}.game-screen>header .header-actions{flex-wrap:wrap;gap:6px;margin:0}.game-screen>header .ghost{background:#27352e;border-color:#9caa7444;min-height:36px;margin:0;padding:7px 10px;font-size:.72rem}.game-screen>.status{z-index:15;border:1px solid var(--hud-border);background:var(--hud-bg);border-radius:6px;justify-content:space-between;gap:6px;max-height:none;margin:0;padding:9px 12px;display:flex;position:absolute;top:76px;left:14px;right:14px;overflow:hidden}.game-screen>.status strong{margin-top:3px;font-size:.88rem}.game-screen>.turn-progress,.game-screen.game-panel-closed>.turn-progress,.game-screen>.lobby,.game-screen>.development-notice,.game-screen .board-panel>.panel-heading,.game-screen .board-secondary{display:none}.game-screen>.settings-panel,.game-screen>.onboarding,.game-screen>.setup-panel,.game-screen>.setup-summary{z-index:35;overscroll-behavior:contain;background:var(--hud-bg);border:1px solid #b4b186;border-radius:8px;width:min(760px,100% - 28px);max-height:calc(100dvh - 175px);margin:0;position:absolute;top:140px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 16px 60px #07120dbb}.game-screen>.onboarding{padding:18px;display:block}.game-screen>.onboarding h2,.game-screen>.onboarding p,.game-screen>.onboarding-grid{display:revert}.game-screen>.onboarding .onboarding-grid{display:grid}.game-screen>.onboarding .onboarding-actions{margin-top:12px}.game-screen .map-controls{z-index:15;left:50%;bottom:max(16px,env(safe-area-inset-bottom));background:var(--hud-bg);border:1px solid var(--hud-border);pointer-events:auto;border-radius:8px;flex-wrap:nowrap;gap:3px;margin:0;padding:6px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 5px 24px #06131155}.game-screen .map-controls button{background:#2c3b32;border-color:#91a16d55;min-width:36px;min-height:40px;padding:5px}.game-screen .map-controls button:disabled{opacity:.4;cursor:default}.game-screen .map-controls .map-camera-mode{display:none}.game-screen .map-controls .map-reset{white-space:nowrap;padding-inline:9px;font-size:.7rem}.game-screen .board-minimap{z-index:15;background:var(--hud-bg);border:1px solid var(--hud-border);pointer-events:auto;border-radius:8px;width:180px;padding:7px;position:absolute;bottom:16px;left:14px;box-shadow:0 5px 24px #06131155}.board-minimap>span{letter-spacing:.14em;color:#d5d7ab;margin-bottom:6px;font-size:.51rem;display:block}.board-minimap button{cursor:crosshair;background:#287382;border:0;width:100%;padding:0;display:block}.board-minimap svg{width:100%;height:auto;display:block}.board-minimap .minimap-view{fill:#f9e6ad19;stroke:#fff2bd;stroke-width:2px;vector-effect:non-scaling-stroke}.game-screen .board-action-bar{z-index:30;pointer-events:auto;width:min(330px,28vw);margin:0;position:absolute;bottom:16px;right:14px}.game-screen .board-action-bar .action-dock{background:var(--hud-bg);border-color:var(--hud-border);border-radius:8px;width:100%;min-width:0;margin:0;position:static}.game-screen .board-context-tray{z-index:14;background:var(--hud-bg);border:1px solid var(--hud-border);pointer-events:auto;overscroll-behavior:contain;border-radius:7px;width:240px;max-height:145px;margin:0;padding:10px;display:block;position:absolute;bottom:177px;left:14px;overflow:auto}.game-screen .board-context-facts{margin-top:6px}.game-screen .board-context-facts span{padding:3px;font-size:.6rem}.game-screen .board-context-edges,.game-screen .board-context-note{display:none}.game-screen .attention-banner{z-index:14;background:var(--hud-bg);pointer-events:auto;border-radius:6px;width:max-content;max-width:min(620px,80vw);margin:0;padding:8px 12px;position:absolute;top:143px;left:50%;transform:translate(-50%)}.game-screen .board-stack-inspector{z-index:24;overscroll-behavior:contain;pointer-events:auto;border:1px solid var(--hud-border);background:var(--hud-bg);border-radius:8px;width:min(340px,100% - 24px);max-height:34vh;position:absolute;top:12px;right:12px;overflow:auto;box-shadow:0 8px 28px #06131188}.game-screen .board-stack-inspector .stack-inspector{border:0;margin:0;padding:10px}.game-screen .board-stack-inspector .stack-inspector.has-selection .stack-location-list,.game-screen .board-stack-inspector .stack-inspector.has-selection .piece-legend{display:none}.game-screen .board-stack-inspector .stack-location-list{max-height:76px;overflow:auto}.game-screen .board-stack-inspector .stack-details{max-height:18vh;overflow:auto}.game-screen .piece-detail-tray{z-index:17;pointer-events:auto;background:var(--hud-bg);width:min(330px,32vw);max-height:35vh;position:absolute;bottom:140px;right:14px;overflow:auto}.game-screen>.layout.panel-open>.game-side-panel{z-index:25;overscroll-behavior:contain;background:var(--hud-bg);border:1px solid var(--hud-border);pointer-events:auto;border-radius:8px;width:min(360px,100vw - 28px);height:auto;padding:10px;display:block;position:absolute;inset:140px 14px 110px auto;overflow-y:auto;box-shadow:-8px 8px 40px #06131166}.game-screen>.layout.panel-closed>.game-side-panel{display:none}@media (width<=900px){.game-screen{--action-dock-bottom:82px}.game-screen>header h1{font-size:1.05rem}.game-screen>header .header-actions .ghost{padding:6px;font-size:.65rem}.game-screen .map-controls{justify-content:center;width:auto;bottom:16px;left:205px;right:14px;transform:none}.game-screen .board-action-bar{width:300px;bottom:82px}.game-screen .piece-detail-tray{width:300px;bottom:195px}}@media (width<=600px){.game-screen>header{flex-wrap:wrap;gap:7px;padding:8px;top:8px;left:8px;right:8px}.game-screen>header h1{font-size:1.1rem}.game-screen>header .header-actions{justify-content:space-between;width:100%}.game-screen>header .ghost{min-height:34px}.game-screen>.status{padding:7px 5px;top:100px;left:8px;right:8px}.game-screen>.status div{padding:0 4px}.game-screen>.status div:nth-child(n+5){display:none}.game-screen>.status strong{font-size:.75rem}.game-screen .attention-banner{max-width:calc(100% - 16px);padding:6px 8px;font-size:.65rem;top:166px}.game-screen .board-minimap{width:112px;padding:5px;bottom:82px;left:8px}.game-screen .board-minimap>span{letter-spacing:.08em;font-size:.4rem}.game-screen .map-controls{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));gap:3px;padding:5px}.game-screen .map-controls button{min-width:36px;min-height:44px}.game-screen .map-zoom{min-width:37px}.game-screen .board-action-bar{width:calc(100% - 136px);bottom:82px;right:8px}.game-screen .board-context-tray{width:190px;max-height:115px;padding:7px;bottom:190px;left:8px}.game-screen .board-stack-inspector{width:auto;max-height:30vh;top:8px;left:66px;right:8px}.game-screen .board-stack-inspector .stack-location-list{max-height:54px}.game-screen .board-stack-inspector .stack-details{max-height:16vh}.game-screen .board-context-tray .board-context-facts{display:block}.game-screen .board-context-tray .board-context-facts span:not(:nth-child(2)){display:none}.game-screen .piece-detail-tray{width:calc(100% - 24px);bottom:202px;right:8px}.game-screen>.layout.panel-open>.game-side-panel{width:auto;inset:205px 8px 82px}.game-screen>.settings-panel,.game-screen>.onboarding,.game-screen>.setup-panel,.game-screen>.setup-summary{max-height:calc(100dvh - 185px);top:165px}}@media (height<=540px) and (width>=601px){.game-screen{--action-dock-bottom:78px}.game-screen>header{padding:5px 10px;top:5px}.game-screen>.status{padding:5px 8px;top:55px}.game-screen .attention-banner{top:111px}.game-screen .board-context-tray{display:none}.game-screen .board-minimap{width:130px;bottom:10px}.game-screen .map-controls{bottom:10px;left:155px;right:auto}.game-screen .board-action-bar{width:240px;bottom:78px}.game-screen>.layout.panel-open>.game-side-panel{top:112px;bottom:75px}}.game-screen>.layout.panel-open>.game-side-panel{bottom:calc(var(--action-dock-bottom) + var(--action-dock-height) + 12px)}.game-screen .global-game-error{z-index:45;background:#532b24;border:1px solid #eaac8d;border-radius:6px;max-width:calc(100% - 28px);margin:0;padding:12px 18px;position:absolute;top:140px;left:50%;transform:translate(-50%)}.room-hud-status{color:#d5d7ab;align-self:center;font-size:.65rem}.game-screen .map-controls button{min-width:44px;min-height:44px}@media (width<=600px){.game-screen .map-controls{gap:1px;padding:3px}.game-screen .map-controls .map-reset{padding-inline:4px}.game-screen .map-zoom{min-width:32px}.game-screen.online-game>header h1{font-size:.9rem}.game-screen.online-game>header .header-actions{gap:3px}.game-screen.online-game>header .ghost{padding:5px;font-size:.58rem}.game-screen.online-game>header .room-hud-status{font-size:.55rem}.game-screen .global-game-error{top:166px}}@media (width<=420px){.game-screen .map-controls button:nth-child(-n+4){display:none}.game-screen .map-controls{justify-content:center}}.giant-placement-choice{z-index:32;overscroll-behavior:contain;background:var(--hud-bg);pointer-events:auto;border:1px solid #d1b97699;border-radius:9px;width:min(460px,100vw - 24px);max-height:42dvh;padding:14px 16px;position:absolute;top:148px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 8px 30px #06131177}.giant-placement-choice h2{color:#f1d995;margin:0;font-size:1.05rem}.giant-placement-choice p{color:#e1ddc9;margin:6px 0 10px;font-size:.82rem}.giant-placement-options{flex-wrap:wrap;gap:7px;display:flex}.giant-placement-options button{color:#f4edda;background:#293a31;border:1px solid #c3ab6e77;min-height:44px;margin:0;padding:8px 11px}.giant-placement-options button:focus-visible{outline-offset:2px;outline:2px solid #ffe69d}@media (width<=600px){.giant-placement-choice{width:calc(100vw - 16px);max-height:38dvh;padding:10px;top:170px}.giant-placement-choice h2{font-size:.92rem}.giant-placement-options{grid-template-columns:1fr 1fr;display:grid}.giant-placement-options button{min-width:0;padding:7px;font-size:.72rem}}.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{z-index:25;overscroll-behavior:contain;pointer-events:auto;background:var(--hud-bg);border:1px solid var(--hud-border);border-radius:10px;width:min(350px,100vw - 28px);height:auto;max-height:calc(100dvh - 230px);padding:0;display:block;position:absolute;inset:140px 14px auto auto;overflow:auto;box-shadow:0 8px 30px #06131155}.game-screen .layout.panel-closed>.game-side-panel>.turn-hud-heading,.game-screen .layout.panel-closed>.game-side-panel>.board-action-bar{display:flex}.turn-hud-heading{justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}.turn-hud-heading h2{margin:4px 0 0;font-size:1.05rem}.turn-hud-heading .label{color:#d8c58d;font-size:.6rem}.turn-hud-heading button{min-width:44px;min-height:44px;margin:0;padding:6px;font-size:1.3rem}#turn-hud-body{padding:0 14px 14px}#turn-hud-body[hidden]{display:none}#turn-hud-body .card{box-shadow:none;background:0 0;border:0;margin:0;padding:12px 0}#turn-hud-body .action-card>.label,#turn-hud-body .action-card>h2{display:none}#turn-hud-body .action-card>p{margin:0 0 12px;font-size:.85rem;line-height:1.5}#turn-hud-body .turn-progress{background:0 0;border:0;margin:0;padding:0 0 10px;display:block}#turn-hud-body .turn-progress>.label,#turn-hud-body .turn-progress>p{display:none}#turn-hud-body .turn-progress ol{gap:4px;margin:0;display:flex}#turn-hud-body .turn-progress li{text-align:center;flex:1;min-width:0;padding:6px 2px;font-size:.6rem}#turn-hud-body .turn-progress li>span{display:none}#turn-hud-body .path-controls,#turn-hud-body .move-actions{gap:7px;margin:12px 0;display:grid}#turn-hud-body button{min-height:44px}.hud-section{border-top:1px solid #a69b6933;padding:10px 0}.hud-section>summary,.decision-rules-help>summary{cursor:pointer;color:#ded5b9;padding:5px 0;font-size:.75rem}#turn-hud-body .decision-rules-help{margin:8px 0;padding:7px 10px}#turn-hud-body .decision-rules-help>.label{display:none}.game-screen .game-side-panel .board-action-bar{width:auto;margin:0 14px 14px;position:static}.game-screen .game-side-panel .action-dock{box-shadow:none;background:0 0;border:0;padding:0}.game-screen .game-side-panel .action-dock>.label,.game-screen .game-side-panel .action-dock-status{display:none}.game-screen .map-controls{justify-content:center;width:180px;bottom:16px;left:14px;right:auto;transform:none}.game-screen .map-controls .map-zoom{display:none}.game-screen .map-controls .map-reset{padding:5px;font-size:.65rem}.game-screen .board-minimap{bottom:80px}.game-screen .board-context-tray{bottom:245px}.game-screen .piece-detail-tray{width:280px;bottom:100px;right:378px}@media (width<=600px){.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{width:min(310px,100vw - 16px);max-height:calc(100dvh - 270px);inset:170px 8px auto auto}.game-screen .map-controls{width:150px;bottom:12px;left:8px;right:auto}.game-screen .map-controls button:nth-child(-n+4){display:block}.game-screen .board-minimap{bottom:72px}.game-screen .board-context-tray{display:none}.game-screen .piece-detail-tray{width:calc(100% - 144px);max-height:100px;bottom:75px;right:8px}.game-screen>.status div:nth-child(n+5){display:block}.game-screen>.status div:nth-child(3),.game-screen>.status div:nth-child(4),.game-screen>.status div:nth-child(n+7){display:none}}@media (height<=540px) and (width>=601px){.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{max-height:calc(100dvh - 185px);top:110px}}#turn-hud-body .turn-progress li{letter-spacing:0;display:block}#turn-hud-body .turn-progress strong{font-size:.56rem}#turn-hud-body .action-card button{margin-top:0}#turn-hud-body .hud-section{padding:8px 0}@media (width<=600px){.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{max-height:calc(100dvh - 285px)}}.game-screen.setup-in-progress>.layout>.game-side-panel{display:none}.game-screen.setup-in-progress>.setup-panel{width:min(350px,100% - 28px);max-height:calc(100dvh - 240px);padding:18px;top:140px;left:auto;right:14px;transform:none}.game-screen .setup-panel h2{text-transform:capitalize;font-size:1.4rem}.game-screen .setup-panel .setup-options{gap:8px;display:grid}.game-screen .setup-panel button{min-height:44px}@media (width<=600px){.game-screen.setup-in-progress>.setup-panel{width:240px;max-height:calc(100dvh - 260px);padding:12px;top:170px;right:8px}}.game-screen.setup-in-progress .board-context-tray,.game-screen .board-context-tray-focus{display:none}.game-screen .board-context-tray-focus{grid-template-columns:minmax(0,1fr)}.game-screen.game-panel-closed:has(.hex-tile:focus) .board-context-tray-focus{display:grid}.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{max-height:calc(100dvh - 165px);inset:auto 14px 16px auto}.movement-checklist{margin:12px 0}.movement-checklist-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;font-size:.8rem;display:flex}.movement-checklist-heading>span{color:#dbc991;font-size:.68rem}.movement-piece-list{gap:5px;max-height:230px;padding:2px;display:grid;overflow-y:auto}#turn-hud-body .movement-piece{color:#f4f1ea;text-align:left;background:#2b3931;border:1px solid #778b684f;align-items:center;gap:9px;margin:0;padding:10px;display:flex}#turn-hud-body .movement-piece.selected{background:#4b412b;border-color:#eeb968;box-shadow:inset 3px 0 #eeb968}#turn-hud-body .movement-piece.completed{opacity:.7}.movement-piece>span:nth-child(2){flex:1;min-width:0}.movement-piece strong{text-transform:capitalize;font-size:.79rem;display:block}.movement-piece small{color:#c0c6b2;margin-top:3px;font-size:.65rem;font-weight:400;display:block}.movement-piece-icon{color:#dbce96;font-size:1rem}.movement-piece-status{white-space:nowrap;font-size:.65rem}#turn-hud-body .movement-context{color:#d4d0bf;margin:10px 0;font-size:.74rem;line-height:1.45}#turn-hud-body .end-movement{width:100%;margin:0}@media (width<=900px){.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{width:min(310px,100vw - 80px);max-height:calc(100dvh - 290px);inset:auto 8px 116px auto}.game-screen .map-controls{flex-direction:column;width:48px;inset:174px auto auto 8px}.game-screen .map-controls .map-reset{white-space:normal;font-size:.55rem}.game-screen .board-minimap{display:none}.movement-piece-list{max-height:180px}}.game-screen #turn-hud-body .piece-detail-tray{background:#2b3931;border:1px solid #778b684f;border-radius:6px;width:100%;max-height:none;margin:10px 0;padding:10px;position:static}#turn-hud-body .piece-detail-tray h3{font-size:.85rem}#turn-hud-body .piece-detail-tray p{font-size:.72rem}#turn-hud-body .piece-detail-tray .piece-detail-stats{flex-wrap:wrap}.game-screen>header{align-items:center;gap:24px}.top-turn-summary .turn-hud-heading h2{font-size:1.65rem}.top-turn-summary .turn-hud-heading .label{letter-spacing:.16em;font-size:.72rem}.top-turn-summary .turn-progress{background:0 0;border:0;margin:0;padding:0;display:block}.top-turn-summary .turn-progress>.label,.top-turn-summary .turn-progress>p{display:none}.top-turn-summary .turn-progress ol{gap:7px;display:flex}.top-turn-summary .turn-progress li{text-align:center;letter-spacing:.025em;flex:1;padding:8px 2px;display:block}.top-turn-summary .turn-progress li>span{display:none}.game-screen>header .header-actions{max-width:440px}.game-screen>.status{width:max-content;max-width:calc(100% - 28px);top:150px;right:auto}.game-screen>.status div:nth-child(2),.game-screen>.status div:nth-child(3),.game-screen>.status div:nth-child(4){display:none}.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{max-height:calc(100dvh - 225px)}#turn-hud-body{padding-top:12px}.unit-detail-heading{align-items:center;gap:14px;display:flex}.unit-detail-heading img{object-fit:contain;flex:none;width:84px;height:84px}.unit-detail-heading .label{font-size:.6rem}#turn-hud-body .piece-detail-tray h3{text-transform:capitalize;margin:6px 0;font-family:Georgia,serif;font-size:1.2rem}.piece-detail-tray .sheet-stats{grid-template-columns:repeat(4,1fr);gap:4px;margin:12px 0;display:grid}.piece-detail-tray .sheet-stats>div{background:#13251e;padding:6px}.piece-detail-tray .sheet-stats dt{color:#d8c58d;font-size:.65rem}.piece-detail-tray .sheet-stats dd{color:#fff5d8;margin:4px 0 0;font-size:1.1rem}.unit-special-rules{border-top:1px solid #a69b694d;margin-top:10px;padding-top:10px}#turn-hud-body .unit-special-rules p{color:#f0ead7;margin-top:6px;font-size:.8rem;line-height:1.55}.unit-selection-status{margin-top:10px}@media (width<=900px){.game-screen>header{flex-wrap:wrap;gap:10px}.top-turn-summary{flex-basis:100%;width:100%;max-width:none}.top-turn-summary .turn-hud-heading h2{font-size:1.25rem}.top-turn-summary .turn-hud-heading .label{font-size:.6rem}.top-turn-summary .turn-progress li{padding:6px 1px;font-size:.6rem}.game-screen>header .header-actions{width:100%;max-width:none}.game-screen>.status{top:195px}.game-screen>.status div:nth-child(5),.game-screen>.status div:nth-child(6){display:block}.game-screen .map-controls{top:264px}.game-screen>.layout.panel-open>.game-side-panel,.game-screen>.layout.panel-closed>.game-side-panel{max-height:calc(100dvh - 365px)}.game-screen.setup-in-progress>.setup-panel{max-height:calc(100dvh - 350px);top:260px}}.game-screen #turn-hud-body .piece-detail-tray{display:block}.game-screen>.status div{flex:none;min-width:80px}.game-screen>.status strong{white-space:nowrap}.game-screen .layout>.bottom-context-dock,.game-screen .layout>.board-action-bar{pointer-events:auto}.game-screen .setup-panel:has(.monster-options){width:auto;max-height:calc(100dvh - 175px);top:150px;left:20px;right:20px}.game-screen .setup-panel .monster-options{flex-flow:row;align-items:stretch;display:flex;overflow-x:auto}.game-screen .setup-panel .monster-choice{flex:1 0 165px;justify-content:flex-start;width:auto;min-width:165px;min-height:285px}.game-screen .setup-panel .monster-choice-hover{opacity:0;width:auto;box-shadow:none;pointer-events:none;margin-top:8px;padding:8px;position:static;transform:none}.game-screen .setup-panel .monster-choice:hover .monster-choice-hover,.game-screen .setup-panel .monster-choice:focus-visible .monster-choice-hover{opacity:1;transform:none}@media (hover:none){.game-screen .setup-panel .monster-choice-hover{opacity:1}}.game-screen .layout>.board-action-bar{z-index:45;display:flex;position:fixed;bottom:16px;right:16px}.game-screen .layout>.bottom-context-dock{z-index:40;width:auto;max-height:25dvh;position:fixed;bottom:90px;left:210px;right:360px;overflow:auto;transform:none}.game-screen .bottom-context-dock:empty{display:none}.game-screen .bottom-context-dock .piece-detail-tray{flex-wrap:wrap;gap:12px;width:auto;max-height:none;display:flex;position:static}.game-screen .bottom-context-dock .unit-detail-heading{min-width:170px}.game-screen .bottom-context-dock .sheet-stats{flex-wrap:wrap;gap:6px;margin:0;display:flex}.game-screen .bottom-context-dock .piece-detail-tray{background:0 0;padding:6px}.game-screen .bottom-context-dock .unit-detail-heading img{width:44px;height:44px}.game-screen .bottom-context-dock .move-actions{min-height:0}.game-screen .bottom-context-dock .move-actions button{background:#45392f;flex:0 auto;font-size:.75rem}.game-screen .bottom-context-dock button:disabled{color:#c8bcae;opacity:.7;cursor:not-allowed}.game-screen .bottom-context-dock button{color:#fff0d4;background:#483424;border:1px solid #987244;border-radius:4px;min-height:44px;padding:8px 12px}.game-screen .board-action-bar .action-dock>button:nth-of-type(2){color:#eee1cf;background:#45392f;font-size:.75rem;display:block}.game-screen .layout:has(>.bottom-context-dock :is(.path-controls:not([aria-label="Available Military Research"]),.battle-choice,.retreat-choice))>.board-action-bar{display:none}.game-screen .layout>.bottom-context-dock:has(:is(.path-controls:not([aria-label="Available Military Research"]),.battle-choice,.retreat-choice)){z-index:45;width:min(520px,100vw - 230px);max-height:45dvh;bottom:16px;left:auto;right:16px}@media (width<=700px){.game-screen .layout>.board-action-bar{width:190px;bottom:8px;left:auto;right:8px}.game-screen .board-action-bar .action-dock{width:100%;min-width:0}.game-screen .layout>.bottom-context-dock{max-height:22dvh;bottom:205px;left:8px;right:8px}.game-screen .layout>.bottom-context-dock:has(:is(.path-controls:not([aria-label="Available Military Research"]),.battle-choice,.retreat-choice)){width:auto;max-height:40dvh;bottom:78px;left:8px;right:8px}.game-screen .bottom-context-dock .piece-detail-tray{gap:6px}.game-screen .bottom-context-dock .sheet-stats>div{padding:3px}.game-screen .bottom-context-dock .sheet-stats dd{font-size:.85rem}.game-screen .player-sheet-peeks{flex-direction:column;gap:4px;width:auto;display:flex;bottom:8px;left:8px;right:208px;transform:none}.game-screen .player-sheet-peeks .sheet-peek{width:100%;min-height:44px;padding:5px}.game-screen .player-sheet-peeks .sheet-peek small,.game-screen .player-sheet-peeks .sheet-peek-invite{display:none}}.game-screen #turn-hud-body .board-context-tray{width:100%;max-height:none;margin:8px 0;padding:10px;display:block;position:static}.hex-grid.audited-grid{aspect-ratio:auto;filter:none;background:#497c83 url(/assets/board/audited/overview.webp) 50%/100% 100% no-repeat;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:hidden;transform:none}.audited-grid .hex-tile{filter:none;box-shadow:none;opacity:1;background:#839044;border:0;padding:0;transition:none;overflow:hidden}.audited-grid .hex-tile.water{background:#497c83}.audited-grid .hex-tile:before{display:none}.audited-grid .hex-tile:hover:not(:disabled),.audited-grid .hex-tile:focus-visible{filter:none;transform:translate(-50%,-50%)}.audited-grid .hex-tile .audited-terrain{opacity:1;object-fit:fill;pointer-events:none;width:100%;height:100%;inset:0}.game-screen[data-board-theme=moonlit] .audited-grid .hex-tile .audited-terrain{filter:hue-rotate(158deg)saturate(.7)brightness(.8)contrast(1.06)}.game-screen[data-board-theme=desert] .audited-grid .hex-tile .audited-terrain{filter:sepia(.42)saturate(1.12)hue-rotate(338deg)brightness(.9)contrast(1.04)}.audited-grid .hex-highlight{z-index:7;pointer-events:none;fill:#0000;stroke:#0000;stroke-width:3px;stroke-linejoin:round;width:100%;height:100%;position:absolute;inset:0}.audited-grid .hex-tile.legal .hex-highlight{fill:#f1eab51a;stroke:#d0c68a}.audited-grid .hex-tile.selected .hex-highlight,.audited-grid .hex-tile.path-selected .hex-highlight{fill:#ffd07833;stroke:#ffdd84}.audited-grid .hex-tile:hover .hex-highlight,.audited-grid .hex-tile:focus-visible .hex-highlight{fill:#fff0b82b;stroke:#fff1b5;stroke-width:4px}.audited-grid .hex-tile:focus-visible{outline:none}.audited-grid-lines{z-index:6;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.terrain-grid polygon{fill:none;stroke:#dedbb447;stroke-width:.065px}.terrain-barriers line{stroke:#1d6796;stroke-width:.22px;stroke-linecap:round}.terrain-barriers .barrier-lake{stroke:#286e91}.audited-grid .hex-tile .tile-content{z-index:4;color:#fff7dc;text-shadow:0 1px 2px #132522,0 0 3px #132522;background:0 0;gap:1px;width:86%;max-width:86%;max-height:93%;padding:0;font-size:3px;overflow:visible}.audited-grid .hex-tile .tile-name{letter-spacing:0;background:#172821b8;border-radius:2px;max-width:100%;padding:1px 2px;font-size:4px;font-weight:800;line-height:1.1}.audited-grid .hex-tile{container-type:inline-size}.audited-grid .hex-tile .audited-city-name{z-index:4;color:#fff8df;text-align:center;letter-spacing:.02px;text-shadow:0 1px 1px #132522;pointer-events:none;white-space:normal;overflow-wrap:normal;background:#18372fee;border-radius:1px;width:96%;padding:.8px .5px;font-size:clamp(4.5px,11.5cqw,8.5px);font-weight:700;line-height:1.15;position:absolute;top:46%;left:2%}.large-text .audited-grid .hex-tile .audited-city-name{overflow-wrap:normal;font-size:clamp(5px,13cqw,9.5px);line-height:1.12}@media (width<=600px){.audited-grid .hex-tile .audited-city-name{display:none}}.board-labels-hidden .audited-city-name{display:none}.audited-grid .hex-tile .tile-occupants{gap:0;width:70%;max-width:30px}.audited-grid .hex-tile .tile-occupant{width:100%;max-width:24px;max-height:24px}.board-labels-hidden .audited-grid .tile-name{display:none}.board-review-canvas.audited-review{aspect-ratio:1.45333;background:#497c83;overflow:hidden}.audited-review .board-review-hex{width:5.47945%;box-shadow:none;background:0 0;border:0}.audited-review .board-review-hex img{object-fit:fill;width:100%;height:100%;display:block}.audited-review .board-review-hex[data-selected=true]{filter:brightness(1.3)}.audited-review .board-review-hex{padding:0}.physical-military-sheet{--sheet-color:#526e24;--sheet-ink:#fffde3;--sheet-dark:#253a12;--sheet-accent:#fff8d6}.physical-military-sheet[data-branch=Navy]{--sheet-color:#17679a;--sheet-dark:#10384e;--sheet-accent:#ffe083}.physical-military-sheet[data-branch=Marines]{--sheet-color:#a3392d;--sheet-dark:#551f1c;--sheet-accent:#ffe090}.physical-military-sheet[data-branch=Air\ Force]{--sheet-color:#ddc549;--sheet-dark:#6d591c;--sheet-ink:#252819;--sheet-accent:#252819}.physical-military-sheet[data-branch=National\ Guard]{--sheet-color:#d48d2d;--sheet-dark:#714317;--sheet-ink:#251e14;--sheet-accent:#251e14}.physical-military-sheet[data-branch=Giant],.physical-military-sheet[data-branch=X-Fighters]{--sheet-color:#656b6d;--sheet-dark:#303b3d;--sheet-accent:#fff8d6}.military-hand .physical-military-sheet{color:var(--sheet-ink);background-color:var(--sheet-color);background-image:radial-gradient(52px 22px at 14% 24%,#00000016 98%,#0000),radial-gradient(37px 62px at 75% 58%,#ffffff0c 98%,#0000),radial-gradient(58px 24px at 45% 80%,#00000012 98%,#0000);background-size:170px 140px,210px 170px,190px 160px;background-attachment:local;border:3px solid #ded9ba;border-radius:8px 8px 30px 30px;box-shadow:inset 0 0 0 5px #ffffff16}.physical-military-sheet>h2{letter-spacing:2px;text-transform:uppercase;color:#fffdeb;text-shadow:2px 2px #000;background:#151c1cec;border-block:1px solid #e4dfbd;margin:4px -24px 16px;padding:12px 24px;font-family:Georgia,serif;font-size:38px;font-weight:900}.physical-military-sheet>.label{color:var(--sheet-ink);letter-spacing:3px}.physical-military-sheet .sheet-reference{background:0 0;border:0;margin-top:12px;padding:0}.physical-military-sheet .sheet-reference-note{color:var(--sheet-ink);opacity:.9}.physical-military-sheet h3{text-transform:uppercase;letter-spacing:.6px;color:var(--sheet-ink);font-family:Georgia,serif;font-size:22px}.physical-military-sheet h3 small{letter-spacing:0;text-transform:none;font-family:Arial,sans-serif;font-size:12px}.physical-military-sheet .sheet-reference article+article{border-top:2px solid #f9f3d466;margin-top:22px;padding-top:12px}.physical-military-sheet .sheet-stats{border-block:1px solid #fff4;gap:0}.physical-military-sheet .sheet-stats>div{color:var(--sheet-ink);background:#00000017;border-radius:0;padding:8px}.physical-military-sheet .sheet-stats dt{text-transform:uppercase;color:var(--sheet-accent);font-size:11px;font-weight:800}.physical-military-sheet .sheet-stats dd{font-size:18px}.record-reserve{align-items:center;gap:16px;margin:16px 0;display:flex}.record-reserve-slots{flex-wrap:wrap;flex:1;gap:12px;display:flex}.record-piece-slot{filter:drop-shadow(1px 0 #fff7)drop-shadow(-1px 0 #fff7)drop-shadow(0 1px #fff7)drop-shadow(0 -1px #fff7);place-items:center;width:54px;height:66px;display:grid;position:relative}.record-piece-slot:before{content:"";-webkit-mask:var(--piece-mask) center/contain no-repeat;mask:var(--piece-mask) center/contain no-repeat;background:#17201990;position:absolute;inset:0}.record-piece-slot img{object-fit:contain;filter:drop-shadow(0 2px 2px #0009);width:100%;height:100%;position:relative}.record-reserve-count{white-space:nowrap;font-size:16px}.record-reserve-count b{font-family:Georgia,serif;font-size:42px}.record-reserve-count small{letter-spacing:1px;font-size:10px;display:block}.physical-military-sheet .military-sheet-pieces button{color:#202c25;background:#fff6ddea;border-color:#fff6d6;border-radius:10px;box-shadow:inset 0 0 0 3px #4d563d33}.physical-military-sheet .military-sheet-pieces button:hover,.physical-military-sheet .military-sheet-pieces button:focus-visible{background:#f2ffc4;outline:3px solid #fff}.physical-military-sheet .sheet-source summary{color:var(--sheet-ink)}.monster-reference-sheet,.monster-reference-sheet .military-hand-toolbar{background:#232629}.military-hand .physical-monster-sheet{color:#202526;background:linear-gradient(125deg,#c5c6bd,#9da4a0);border:3px solid #f0eccf;border-radius:12px;padding-inline:30px;box-shadow:inset 8px 0 #32383b,inset -8px 0 #32383b}.physical-monster-sheet h2{text-transform:uppercase;letter-spacing:2px;color:#f2d85d;text-shadow:2px 2px #171a1c,-1px -1px #171a1c;margin-top:0;font-family:Impact,Arial Black,sans-serif;font-size:42px}.physical-monster-sheet h3{text-transform:uppercase;letter-spacing:1px;color:#242b2c;margin-top:22px;font-size:14px}.physical-monster-sheet .sheet-stats>div{background:#e9e8d680;border:1px solid #555b5340;border-radius:2px}.physical-monster-sheet .sheet-stats dt{text-transform:uppercase;font-size:10px;font-weight:800}.physical-monster-sheet .sheet-reference-note{color:#303a34}.physical-monster-sheet .monster-sheet-portrait{filter:drop-shadow(4px 4px #e8e7da)drop-shadow(-2px -2px #e8e7da);width:135px;height:150px}.monster-health-track{clear:both;color:#f5df78;background:#272d2e;border:1px solid #ebe5c1;margin-top:16px;padding:12px 14px 24px}.monster-health-track>div:first-child{letter-spacing:2px;justify-content:space-between;align-items:baseline;font-size:12px;font-weight:800;display:flex}.monster-health-track strong{font-size:26px}.monster-health-track small{font-size:14px}.monster-health-ticks{gap:2px;margin:8px 4px 0;display:flex}.monster-health-ticks i{background:#535a57;border-radius:1px;flex:1;height:14px;position:relative}.monster-health-ticks i.filled{background:#e6c655}.monster-health-ticks i span{color:#fff1b5;font-size:9px;font-style:normal;position:absolute;top:18px;left:50%;transform:translate(-50%)}.monster-record-skyline{background:linear-gradient(#0000,#d8cd7780);height:88px;margin:24px -30px 0;position:relative;overflow:hidden}.monster-record-skyline svg{fill:#24282a;width:100%;height:70px;position:absolute;bottom:0}.monster-record-skyline span{text-align:center;letter-spacing:2px;color:#ede7b3;width:100%;font-size:10px;font-weight:800;position:absolute;bottom:7px}@media (width<=600px){.physical-military-sheet>h2{margin-inline:-18px;padding-inline:18px;font-size:30px}.record-reserve-slots{gap:8px}.record-piece-slot{width:35px;height:48px}.record-reserve{gap:8px}.record-reserve-count b{font-size:30px}.physical-military-sheet .sheet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.military-hand .physical-monster-sheet{padding-inline:20px}.physical-monster-sheet .monster-sheet-portrait{width:80px;height:95px}.physical-monster-sheet h2{font-size:32px}.monster-record-skyline{margin-inline:-20px}}.military-hand .physical-military-sheet{background-image:url(/assets/reference-sheets/camouflage.svg);background-size:240px 190px}.sheet-held-cards{clear:both;border-top:2px solid #e9dfa377;margin:24px 0;padding-top:14px}.sheet-held-card-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:start;gap:16px;display:grid}.digital-card{--card-paper:#f0ead7;--card-ink:#202721;--card-edge:#9b916e;--card-accent:#385f3d;color:var(--card-ink);border:2px solid var(--card-edge);background:#171b19;border-radius:11px;flex-direction:column;min-width:0;padding:0;display:flex;position:relative;overflow:hidden;box-shadow:2px 4px 8px #0003}.digital-card-mutation{--card-paper:#f1e2c2;--card-ink:#2a1815;--card-edge:#762f28;--card-accent:#8f2920}.digital-card-research{--card-paper:#e9e4c7;--card-ink:#14231f;--card-edge:#74703e;--card-accent:#2d5446}.digital-card-heading{background:linear-gradient(115deg,var(--card-accent),color-mix(in srgb,var(--card-accent) 72%,#101512));color:#fff6d7;border-bottom:2px solid color-mix(in srgb,var(--card-edge) 72%,#16110f);padding:11px 13px 10px}.digital-card-heading span{letter-spacing:.13em;text-transform:uppercase;opacity:.8;font-size:10px;font-weight:800;display:block}.digital-card-heading h4{color:inherit;margin:4px 0 0;font-family:Georgia,serif;font-size:20px;line-height:1.05}.digital-card-art{aspect-ratio:930/1070;background:#181b19;border-block:1px solid #17130f;width:100%;height:auto;position:relative;overflow:hidden}.digital-card-art img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.digital-card-art-mutation img,.digital-card-art-research img{top:0}.digital-card-rules{background:linear-gradient(135deg,#ffffff3d,#0000 60%);flex:1;padding:10px 13px 11px}.digital-card-rules p{white-space:pre-line;margin:5px 0 0;font-size:14px;line-height:1.45}.digital-card-rules .digital-card-timing{color:var(--card-accent);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.digital-card-status{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.digital-card-actions{gap:8px;padding:0 13px 13px;display:grid}.digital-card-actions button,.digital-card-actions select{color:#fff7d5;cursor:pointer;background:#294532;border:1px solid #536047;border-radius:6px;width:100%;min-height:44px;padding:10px;font-weight:700}.digital-card-actions select{color:#243226;background:#fffbed;max-width:100%}.digital-card-actions label{font-size:12px}.digital-card-actions button:disabled{opacity:.5;cursor:default}.sheet-held-card{min-width:0}.sheet-held-card h4{font-size:18px}.sheet-held-card>img{object-fit:contain;border-radius:6px;width:100%;max-height:300px;display:block}.sheet-held-card details{margin-top:10px}.sheet-held-card summary{cursor:pointer;font-size:13px;font-weight:700}.sheet-held-card p{white-space:pre-line;font-size:13px;line-height:1.5}.sheet-held-card .sheet-card-status{color:#40513f;font-size:12px}.sheet-held-card button,.sheet-held-card select{color:#fff7d5;cursor:pointer;background:#294532;border:1px solid #536047;border-radius:6px;width:100%;min-height:44px;margin-top:8px;padding:10px;font-weight:700}.sheet-held-card select{color:#243226;background:#fffbed;max-width:100%}.sheet-held-card label{font-size:12px}.sheet-held-card button:disabled{opacity:.5;cursor:default}@media (width<=600px){.sheet-held-card-grid{grid-template-columns:minmax(0,1fr)}}.player-sheet-peeks{z-index:24;pointer-events:none;scrollbar-width:thin;flex-direction:column;gap:9px;width:190px;max-height:calc(100dvh - 410px);padding:5px 0 12px 6px;display:flex;position:fixed;top:190px;right:0;overflow:hidden auto}.sheet-peek{text-align:left;border:2px solid #e8dfae;color:#fff7d1;cursor:pointer;pointer-events:auto;background:#526e24 url(/assets/reference-sheets/camouflage.svg) 50%/190px;border-right:0;border-radius:10px 0 0 10px;flex-shrink:0;width:182px;min-height:76px;padding:12px 10px;transition:transform .18s,box-shadow .18s;position:relative;transform:translate(64px);box-shadow:-4px 5px 14px #0007}.sheet-peek[data-sheet=monster],.sheet-peek[data-sheet=Mecha-Monster],.sheet-peek[data-sheet=Captain\ Colossal],.sheet-peek[data-sheet=X-Fighters]{background-color:#646c6c}.sheet-peek[data-sheet=Navy]{background-color:#17679a}.sheet-peek[data-sheet=Marines]{background-color:#a3392d}.sheet-peek[data-sheet=Air\ Force]{color:#252819;background-color:#ddc549}.sheet-peek[data-sheet=National\ Guard]{color:#251e14;background-color:#d48d2d}.sheet-peek-title{max-width:104px;font-family:Georgia,serif;font-size:16px;font-weight:900;line-height:1.1;display:block}.sheet-peek small{max-width:104px;margin-top:5px;font-size:10px;display:block}.sheet-peek-invite{writing-mode:vertical-rl;opacity:0;font-size:10px;font-weight:800;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.sheet-peek:hover,.sheet-peek:focus-visible{outline-offset:-4px;outline:2px solid #fff4ae;transform:translate(0);box-shadow:-5px 5px 22px #d4ec8470}.sheet-peek:hover .sheet-peek-invite,.sheet-peek:focus-visible .sheet-peek-invite{opacity:1}@media (width<=600px){.player-sheet-peeks{gap:6px;width:145px;max-height:calc(100dvh - 420px);top:205px}.sheet-peek{width:140px;min-height:66px;padding:9px 7px;transform:translate(42px)}.sheet-peek-title,.sheet-peek small{max-width:86px}.sheet-peek-title{font-size:13px}}@media (height<=580px){.player-sheet-peeks{max-height:calc(100dvh - 260px);top:135px}}@media (prefers-reduced-motion:reduce){.sheet-peek{transition:none}}.manual-reduced-motion .sheet-peek{transition:none}.military-hand .physical-monster-sheet{box-shadow:none;background:#acb0a7;border:0;padding:16px}.monster-physical-record{background:linear-gradient(115deg,#999f96,#7d8780);border:2px solid #e6e1c9;border-radius:14px;grid-template-columns:42px minmax(0,1fr) 42px;min-height:390px;display:grid;overflow:hidden}.record-health-rail{color:#e5e5d5;clip-path:polygon(0 0,70% 0,100% 6%,60% 12%,100% 18%,60% 24%,100% 30%,60% 36%,100% 42%,60% 48%,100% 54%,60% 60%,100% 66%,60% 72%,100% 78%,60% 84%,100% 90%,70% 100%,0 100%);background:#22262a;flex-direction:column;justify-content:space-around;align-items:center;padding:12px 0 6px;font-size:19px;font-weight:900;display:flex}.record-health-rail.ones{clip-path:polygon(100% 0,30% 0,0 6%,40% 12%,0 18%,40% 24%,0 30%,40% 36%,0 42%,40% 48%,0 54%,40% 60%,0 66%,40% 72%,0 78%,40% 84%,0 90%,30% 100%,100% 100%)}.record-health-rail span{z-index:1;text-shadow:1px 1px #000;position:relative}.record-health-rail .health-marker{color:#ffe263;filter:drop-shadow(0 0 3px #e4a630);font-size:24px}.record-health-rail small{color:#f8df64;font-size:8px}.monster-record-face{min-width:0;padding:16px 16px 0}.physical-monster-sheet .monster-record-face h2{color:#ffce31;letter-spacing:1px;text-shadow:2px 3px #111,-1px -1px #111;margin:0 0 12px;font-size:40px}.monster-record-columns{grid-template-columns:1fr 1fr;gap:24px;display:grid}.monster-record-face .sheet-stats{margin:0;display:block}.monster-record-face .sheet-stats>div{color:#fff9de;background:0 0;border:0;align-items:baseline;gap:8px;padding:3px 0;display:flex}.monster-record-face .sheet-stats dt{color:#fff18b;flex:0 0 108px;font-size:12px}.monster-record-face .sheet-stats dd{margin:0;font-size:17px}.physical-monster-sheet .monster-record-face h3{color:#fff18b;margin:14px 0 6px;font-size:12px}.monster-record-face p{color:#fffbe8;margin-top:0;font-size:14px;line-height:1.5}.monster-record-face .record-live-health{margin-top:16px;font-size:12px}.record-live-health b{color:#ffdc6e;font-size:23px}.monster-record-portrait{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 2px #2228);width:100%;height:155px;margin-top:12px;display:block}.monster-record-face .monster-record-skyline{background:linear-gradient(#0000,#d7c644);height:64px;margin:0 -16px}.monster-current-values{margin-top:14px}.monster-current-values summary{cursor:pointer;color:#fff6d5;background:#343d38;border-radius:4px;padding:10px;font-size:13px}@media (width<=600px){.military-hand .physical-monster-sheet{padding:8px}.monster-physical-record{grid-template-columns:25px minmax(0,1fr) 25px;min-height:410px}.monster-record-face{padding:12px 8px 0}.monster-record-columns{grid-template-columns:1fr 1fr;gap:12px}.physical-monster-sheet .monster-record-face h2{font-size:29px}.monster-record-face .sheet-stats>div{padding-bottom:7px;display:block}.monster-record-face .sheet-stats dt{font-size:9px}.monster-record-face .sheet-stats dd{font-size:13px}.monster-record-face p{font-size:11px}.physical-monster-sheet .monster-record-face h3{font-size:10px}.record-health-rail{font-size:13px}.record-health-rail .health-marker{font-size:17px}.record-health-rail small{font-size:6px}.monster-record-portrait{height:105px}.monster-record-face .monster-record-skyline{margin-inline:-8px}}.physical-military-sheet[data-branch=Mecha-Monster],.physical-military-sheet[data-branch=Captain\ Colossal]{--sheet-color:#656b6d;--sheet-dark:#303b3d;--sheet-accent:#ffe083}.monster-physical-record{background:linear-gradient(115deg,#747b70,#59635c)}@media (width<=600px){.sheet-peek{min-height:60px}.player-sheet-peeks{gap:5px}}.sheet-peek[data-sheet=monster],.sheet-peek[data-sheet=Mecha-Monster],.sheet-peek[data-sheet=Captain\ Colossal]{background-image:linear-gradient(115deg,#89908755,#343d3d55)}@media (width>=901px) and (hover:hover){.sheet-held-card-grid{isolation:isolate;align-items:flex-start;gap:0;padding:30px 42px 28px;scroll-padding-inline:42px;display:flex;overflow-x:auto}.sheet-held-card-grid .sheet-held-card{transform-origin:50% 90%;z-index:1;flex:0 0 220px;width:220px;min-height:420px;margin-left:-90px;transition:transform .22s,box-shadow .22s;position:relative;transform:rotate(-2deg);box-shadow:-5px 4px 12px #0005}.sheet-held-card-grid .sheet-held-card:first-child{margin-left:0}.sheet-held-card-grid .sheet-held-card:nth-child(2n){transform:rotate(2deg)}.sheet-held-card-grid .sheet-held-card:is(:hover,:focus-within){z-index:5;transform:translateY(-18px)rotate(0);box-shadow:0 12px 24px #0008,0 0 0 2px #f4dc89}.sheet-held-card-grid .sheet-held-card:has(~.sheet-held-card:is(:hover,:focus-within)){transform:translate(-26px)rotate(-4deg)}.sheet-held-card-grid .sheet-held-card:is(:hover,:focus-within)~.sheet-held-card{transform:translate(92px)rotate(3deg)}.sheet-held-card-grid:has(.sheet-held-card:is(:hover,:focus-within)){padding-right:134px}.sheet-held-card-grid .sheet-held-card h4{min-height:36px;font-size:15px}}@media (prefers-reduced-motion:reduce){.sheet-held-card-grid .sheet-held-card{transition:none}}.manual-reduced-motion .sheet-held-card-grid .sheet-held-card{transition:none}.guard-sheet-action{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.guard-sheet-action button{color:#263925;cursor:pointer;background:#f5e9bb;border:1px solid #d6d5a0;border-radius:6px;min-height:44px;padding:10px 14px;font-weight:700}.guard-sheet-action button:disabled{opacity:.55;cursor:default}.guard-sheet-action small{font-size:12px}.game-screen .player-sheet-peeks{flex-direction:row;justify-content:flex-end;align-items:flex-end;gap:8px;width:auto;max-height:112px;padding:8px 4px 0;inset:auto 14px 0 210px;overflow:auto hidden}.game-screen .sheet-peek{border:2px solid #e8dfae;border-bottom:0;border-radius:10px 10px 0 0;width:150px;min-height:96px;padding:12px 10px 28px;transform:translateY(24px)}.game-screen .sheet-peek:hover,.game-screen .sheet-peek:focus-visible{transform:translateY(0)}.game-screen .sheet-peek-invite{writing-mode:horizontal-tb;inset:auto auto 9px 10px;transform:none}@media (width<=600px){.game-screen .player-sheet-peeks{justify-content:flex-start;gap:5px;max-height:100px;left:166px;right:4px}.game-screen .sheet-peek{width:98px;min-height:90px;padding:10px 7px 24px}}.game-screen .player-sheet-peeks{justify-content:safe center;width:clamp(160px,100vw - 760px,600px);left:50%;right:auto;transform:translate(-50%)}@media (width<=900px){.game-screen .player-sheet-peeks{justify-content:safe center;width:calc(100vw - 24px)}}.physical-military-sheet button.selectable-record-piece{cursor:pointer;background:#ffffff12;border:1px solid #fff8;border-radius:8px;min-width:54px;height:76px;margin:0;padding:5px}.physical-military-sheet button.selectable-record-piece:hover,.physical-military-sheet button.selectable-record-piece:focus-visible{background:#f5efac44;outline:3px solid #fff1a7;transform:translateY(-4px)}.selectable-record-piece>span{color:var(--sheet-ink);font-size:9px;position:absolute;bottom:-15px}.record-piece-slot.on-board img{opacity:.55}.record-reserve{margin-bottom:26px}.monster-reference-sheet{width:min(1320px,100vw - 24px)}.monster-sheet-workspace{grid-template-columns:minmax(460px,1.45fr) minmax(300px,1fr);align-items:start;gap:20px;min-height:0;padding-bottom:10px;display:grid;overflow:auto}.monster-sheet-workspace>.physical-monster-sheet{max-height:none;margin:0;overflow:visible}.monster-sheet-workspace>.sheet-held-cards{border:0;min-width:0;margin:0;padding:12px 0}.monster-sheet-workspace>.sheet-held-cards>h3{color:#fff1cd;margin:0 0 8px}.sheet-card-art{aspect-ratio:1.45;background:#292e24;border-radius:6px;width:100%;position:relative;overflow:hidden}.sheet-card-art img{width:100%;height:auto;max-height:none;position:absolute;top:50%;left:0;transform:translateY(-50%)}.sheet-held-card .digital-card-rules p{color:#18241b;font-size:15px;line-height:1.55}.sheet-held-card .digital-card-status{font-size:13px}@media (width>=901px) and (hover:hover){.sheet-held-card-grid .sheet-held-card{flex-basis:280px;width:280px}.monster-sheet-workspace .sheet-held-card-grid{padding:28px 12px 24px}.monster-sheet-workspace .sheet-held-card-grid:has(.sheet-held-card:is(:hover,:focus-within)){padding-right:110px}}@media (width<=900px){.monster-sheet-workspace{grid-template-columns:460px 280px;gap:16px}.monster-sheet-workspace .sheet-held-card-grid{grid-template-columns:280px}}.sheet-held-card:focus-visible{outline-offset:3px;outline:3px solid #ffe295}.monster-sheet-scroll-hint{display:none}@media (width<=900px){.monster-sheet-scroll-hint{color:#f3e8c9;margin:0 0 10px;display:block;font-size:12px!important}}.military-drawer-layer{z-index:150;pointer-events:none;position:fixed;inset:0}.military-hand.military-drawer{pointer-events:auto;background:#263a30;border:1px solid #8c997d;border-right:0;border-radius:14px 0 0 14px;width:min(390px,42vw);max-height:none;padding:8px 0 0 8px;animation:.2s ease-out military-drawer-enter;position:absolute;top:88px;bottom:24px;right:0;box-shadow:-8px 10px 28px #0005}.military-drawer .military-hand-toolbar{flex-wrap:wrap;flex-shrink:0;gap:8px;padding:4px 10px 10px}.military-drawer .military-hand-toolbar .label{letter-spacing:1.8px;font-size:10px}.military-drawer .military-sheet-close{min-height:40px;font-size:12px}.military-drawer .military-sheet-tabs{border-radius:0;gap:4px;padding:0 8px}.military-drawer .military-sheet-tabs button{border-bottom:0;border-radius:9px 9px 0 0;padding:8px 12px;font-size:12px}.military-drawer .military-sheet-tabs button[aria-pressed=true]{box-shadow:none;background:#eee6cc}.military-hand.military-drawer .physical-military-sheet{color:#28362b;box-shadow:none;--sheet-ink:#28362b;--sheet-accent:#46553e;background:#eee6cc;border:0;border-radius:0 0 0 8px;padding:14px 16px 20px;font-size:13px;line-height:1.5;animation:none}.military-drawer .physical-military-sheet>.label{display:none}.military-drawer .physical-military-sheet>h2{background-color:var(--sheet-color);letter-spacing:1px;color:#fffdeb;text-shadow:0 1px 2px #000;background-image:url(/assets/reference-sheets/camouflage.svg);background-size:240px 190px;border:0;margin:-14px -16px 12px;padding:14px 16px;font-size:25px}.military-drawer .physical-military-sheet[data-branch=Air\ Force]>h2,.military-drawer .physical-military-sheet[data-branch=National\ Guard]>h2{color:#252819;text-shadow:none}.military-drawer .physical-military-sheet h3{margin:14px 0 8px;font-size:16px}.military-drawer .sheet-stats{border-color:#63714e44;grid-template-columns:repeat(3,minmax(0,1fr))}.military-drawer .physical-military-sheet .sheet-stats dd{font-size:14px}.military-drawer .record-reserve{flex-wrap:wrap;gap:10px}.military-drawer .record-reserve-slots{flex-wrap:wrap;gap:6px}.military-drawer .record-reserve-count b{font-size:24px}.military-drawer .physical-military-sheet .sheet-reference article+article{border-color:#63714e44;margin-top:16px}.military-drawer .physical-military-sheet button.selectable-record-piece{background:#d6d8b8;border-color:#71805d}.military-drawer-research{border-top:1px solid #63714e55;margin-top:18px;padding-top:12px}.military-drawer-research>summary{cursor:pointer;min-height:36px;font-weight:700}.military-drawer .sheet-held-card-grid{grid-template-columns:minmax(0,1fr);display:grid}.military-drawer-grab{display:none}@keyframes military-drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}@media (width<=600px){.military-hand.military-drawer{width:auto;height:var(--mobile-drawer-height,min(58dvh,560px));border:1px solid #8c997d;border-bottom:0;border-radius:14px 14px 0 0;max-height:none;padding:8px 8px 0;animation-name:military-drawer-rise;inset:auto 8px 0;overflow:hidden}.military-drawer-grab{cursor:ns-resize;touch-action:none;outline-offset:2px;place-items:center;height:18px;margin:-5px 0 2px;display:grid}.military-drawer-grab>span{background:#dce2c6;border-radius:99px;width:42px;height:4px}.military-drawer-grab:focus-visible{border-radius:4px;outline:2px solid #f4eabd}.military-drawer .military-hand-toolbar{grid-template-columns:1fr auto;align-items:center;gap:6px;padding:0 2px 7px;display:grid}.military-drawer .military-hand-toolbar .label{font-size:11px}.military-drawer .military-hand-toolbar button[type=button]:not(.military-sheet-close){color:#20362a;background:#f4eabd;border-color:#f4eabd;grid-area:2/1/auto/-1;width:100%;min-height:44px;font-size:15px}.military-drawer .military-sheet-close{grid-area:1/2;min-height:34px;padding:6px 9px}.desktop-close-label{display:none}.mobile-close-label{display:inline}.military-drawer .military-sheet-tabs{gap:4px;padding:0 2px}.military-drawer .military-sheet-tabs button{min-height:38px;padding:7px 11px}.military-hand.military-drawer .physical-military-sheet{padding:10px 12px calc(20px + env(safe-area-inset-bottom));border-radius:0;overflow-y:auto}.military-drawer .physical-military-sheet>h2{display:none}.military-drawer .deployment-instruction{color:#31472f;margin:0 0 10px;font-size:13px;font-weight:700}.military-drawer .sheet-reference{margin:0}.military-drawer .sheet-reference-note,.military-drawer .deployment-reference,.military-drawer .sheet-source{display:none}.military-drawer .physical-military-sheet .sheet-reference article+article{margin-top:12px;padding-top:10px}.military-drawer .physical-military-sheet h3{margin:0 0 5px;font-size:15px}.military-drawer .record-reserve{flex-wrap:nowrap;align-items:center;margin:4px 0 8px}.military-drawer .record-reserve-slots{flex-wrap:nowrap;gap:8px;padding:3px 1px 14px;overflow-x:auto}.military-drawer .physical-military-sheet button.selectable-record-piece{min-width:58px;height:70px}.military-drawer .record-reserve-count{font-size:13px}.military-drawer .record-reserve-count b{font-size:28px}.military-drawer .unit-reference-details{margin:0}.military-drawer .unit-reference-details>summary{min-height:34px;padding:7px 0;display:inline-block}.military-drawer .unit-reference-details[open]{border-top:1px solid #63714e55;padding:6px 0 8px}.military-drawer-research{margin-top:12px;padding-top:10px}}@keyframes military-drawer-rise{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.military-hand.military-drawer{animation:none}}.manual-reduced-motion .military-hand.military-drawer{animation:none}:is(.military-drawer .sheet-held-card-grid,.military-drawer .sheet-held-card-grid:has(.sheet-held-card:is(:hover,:focus-within))){gap:12px;padding:0;overflow:visible}.military-drawer .sheet-held-card-grid .sheet-held-card{width:auto;min-height:0;margin:0;transition:none;transform:none}.military-drawer .sheet-held-cards{border:0;margin:0;padding:0}.mobile-close-label{display:none}.unit-reference-details{margin-top:10px}.unit-reference-details>summary{cursor:pointer;color:#3d5039;font-size:12px;font-weight:700}@media (width<=600px){.mobile-close-label{display:inline}}.military-section-nav{flex-shrink:0;gap:6px;padding:0 8px 10px;display:flex}.military-section-nav button{color:#f4efd9;cursor:pointer;background:0 0;border:1px solid #87977f;border-radius:6px;flex:1;min-height:44px;padding:8px;font-size:13px;font-weight:700}.military-section-nav button[aria-pressed=true]{color:#28362b;background:#eee6cc;border-color:#eee6cc}.military-section-nav button:focus-visible{outline-offset:2px;outline:3px solid #ffe295}.military-section-nav button span{font-variant-numeric:tabular-nums;margin-left:4px}.military-drawer .physical-military-sheet button.selectable-record-piece{width:54px;min-width:54px;height:66px;box-shadow:none;background:0 0;border:0;border-radius:4px;padding:0}.military-drawer .physical-military-sheet button.selectable-record-piece:hover{background:0 0;outline:none;transform:translateY(-3px)}.military-drawer .physical-military-sheet button.selectable-record-piece:focus-visible{outline-offset:3px;background:0 0;outline:2px solid #355d24}.military-drawer .record-reserve{gap:10px;margin:8px 0}.military-drawer .record-reserve-slots{gap:8px;padding:4px 2px 14px}.military-drawer .record-piece-slot{flex-shrink:0}.military-drawer .record-reserve-count{font-size:13px}.military-drawer .record-reserve-count small{letter-spacing:.5px;font-size:9px}.military-drawer .unit-reference-details{margin:0}.military-drawer .unit-reference-details>summary,.military-reference-details>summary{cursor:pointer;color:#46553e;min-height:32px;padding:6px 0;font-size:11px}.military-drawer .unit-reference-details p,.military-reference-details p{font-size:12px;line-height:1.5}.military-drawer .deployment-instruction{margin:0 0 6px;font-size:12px}.military-drawer .physical-military-sheet>h2{margin-bottom:8px;padding-block:9px;font-size:20px}.military-drawer .physical-military-sheet .sheet-reference article+article{border-top-width:1px;margin-top:10px;padding-top:10px}.military-drawer .military-drawer-research{border:0;margin:0;padding:0}.military-drawer .military-reference-details[open] .sheet-reference-note,.military-drawer .military-reference-details[open] .deployment-reference{display:block}@media (width<=600px){.military-section-nav{padding:0 2px 8px}.military-section-nav button{font-size:12px}}@media (width>=601px){.military-drawer .record-piece-slot,.military-drawer .physical-military-sheet button.selectable-record-piece{width:44px;min-width:44px;height:58px}.military-drawer .record-reserve-count{font-size:12px}.military-drawer .record-reserve-count b{font-size:22px}.military-drawer .physical-military-sheet h3{margin-top:10px}}.military-drawer .unit-reference-details p,.military-drawer .military-reference-details p,.military-drawer .deployment-reference{margin:6px 0;font-size:11px;line-height:1.4}.military-drawer .physical-military-sheet .sheet-stats{gap:0;margin:6px 0}.military-drawer .physical-military-sheet .sheet-stats>div{background:0 0;padding:4px 6px}.military-drawer .physical-military-sheet .sheet-stats dt{font-size:9px}.military-drawer .physical-military-sheet .sheet-stats dd{font-size:12px;line-height:1.35}.military-drawer .sheet-reference-note,.military-drawer .deployment-reference{display:block}.military-drawer .digital-deployment-sheet{color:#28362b;box-shadow:none;background:#eee6cc;border:0;border-radius:0 0 0 8px;padding:14px 16px 20px;font-size:13px;line-height:1.5}.digital-deployment-sheet>h2{color:#28362b;letter-spacing:0;text-shadow:none;background:0 0;border:0;margin:0 0 10px;padding:0;font-size:22px}.compact-deployment-list{gap:10px;margin:8px 0 4px;display:grid}.compact-deployment-card{color:#26342c;background:#f8f5e8;border:1px solid #b4b99e;border-radius:10px;min-width:0;padding:12px;box-shadow:0 2px 4px #26342c12}.compact-deployment-card-empty{background:#eeeddf}.compact-deployment-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.compact-deployment-heading h3{margin:0;font-size:16px;line-height:1.2}.compact-deployment-heading>div>small{color:#53634e;margin-top:3px;font-weight:700;display:block}.compact-deployment-count{white-space:nowrap;color:#263b2a;align-items:center;gap:5px;display:flex}.compact-deployment-count b{font-size:23px;line-height:1}.compact-deployment-count small{letter-spacing:.8px;font-size:9px;font-weight:800}.compact-deployment-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:9px 0 0;display:grid}.compact-deployment-stats>div{background:#e8ead8;border-radius:6px;min-width:0;padding:6px}.compact-deployment-stats dt{letter-spacing:.35px;text-transform:uppercase;color:#53634e;font-size:9px;font-weight:800}.compact-deployment-stats dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:12px;font-weight:750;line-height:1.3}.compact-deployment-ability{overflow-wrap:anywhere;margin:8px 0 0;font-size:12px;line-height:1.4}.compact-deployment-actions{gap:8px;margin-top:10px;display:flex}.compact-deployment-actions button{color:#fff9df;cursor:pointer;background:#38533d;border:1px solid #526b43;border-radius:7px;flex:1;min-height:40px;padding:8px 12px;font-weight:800}.compact-deployment-actions button:hover,.compact-deployment-actions button:focus-visible{outline-offset:2px;background:#203f2b;outline:3px solid #9aae75}.compact-deployment-actions .compact-redeploy-button{color:#263b2a;background:#e8ead8}.compact-deployment-actions .compact-redeploy-button:hover,.compact-deployment-actions .compact-redeploy-button:focus-visible{background:#d8e2c1}.compact-deployment-unavailable{color:#65705f;align-self:center;font-size:12px;font-weight:700}.compact-deployment-empty{color:#394a3b;background:#e8ead8;border-radius:7px;margin:4px 0;padding:10px;font-size:12px;line-height:1.4}@media (width<=600px){.compact-deployment-list{gap:8px}.digital-deployment-sheet>h2{display:none}.compact-deployment-card{padding:10px}.compact-deployment-stats dd,.compact-deployment-ability{font-size:11px}}.giant-record{grid-template-columns:minmax(100px,36%) minmax(0,1fr);align-items:center;gap:16px;display:grid}.giant-record-portrait{object-fit:contain;filter:drop-shadow(0 6px 5px #0004);width:100%;height:250px}.giant-record-details{min-width:0}@media (width<=600px){.giant-record{grid-template-columns:100px minmax(0,1fr);gap:10px}.giant-record-portrait{height:180px}}.mutation-strip{color:#d8d9bd;padding:0 12px 10px;font-size:10px}.mutation-strip>div{gap:5px;margin-top:5px;display:flex;overflow-x:auto}.mutation-strip>div>button{flex-shrink:0}.mutation-strip button{background:#263329;border:1px solid #cfbb73;border-radius:4px;width:38px;height:38px;padding:0;overflow:hidden}.mutation-strip button .digital-card-art{border:0;height:100%}.mutation-card-preview{z-index:150;box-sizing:border-box;color:#fff1c9;background:#202b28;border:1px solid #ddc17e;border-radius:6px;width:280px;max-height:min(400px,100dvh - 16px);padding:10px;position:fixed;overflow:auto;box-shadow:0 10px 30px #0009}.mutation-card-preview>button{float:right;color:#fff;background:#3c493c;border:0;font-size:20px}.mutation-card-preview-heading{gap:2px;margin:4px 34px 8px 0;display:grid}.mutation-card-preview-heading small{color:#ddc88c;letter-spacing:.08em;text-transform:uppercase;font-size:10px}.mutation-card-preview-heading strong{color:#fff1c9;font:20px Georgia,serif}.mutation-card-preview .digital-card-art{border-radius:3px;height:auto;margin:7px 0}.mutation-card-preview p{font-size:12px;line-height:1.4}.mutation-card-preview .digital-card-timing{color:#e1bf69;letter-spacing:.06em;text-transform:uppercase;margin:5px 0;font-size:10px;font-weight:800}.mutation-card-preview-rules{color:#fff1c9;white-space:pre-line;margin:7px 0 2px}.board-monster-peek{z-index:90;box-sizing:border-box;color:#fff2d3;pointer-events:none;background:#1d2925ed;border:1px solid #c9b67e;border-radius:6px;width:320px;padding:10px;position:fixed;box-shadow:0 8px 24px #0008}.board-monster-peek>span{margin:5px 0;font-size:11px;line-height:1.5;display:block}.board-monster-peek>div{gap:5px;display:flex;overflow:hidden}.board-monster-peek img{object-fit:contain;flex:0 85px;width:85px;min-width:0;height:125px}.board-monster-peek small{color:#c4c9b3;font-size:10px}.persistent-record{pointer-events:auto;background:#35403e;border:1px solid #b6b5a2;border-radius:6px;width:360px;position:fixed;bottom:78px;left:14px;box-shadow:0 5px 20px #0007}.mobile-record-toggle{display:none}.record-tabs{border-bottom:1px solid #a8aa8866;display:flex}.record-tabs button{color:#c5c7b6;background:#202a29;border:0;flex:1;padding:8px;font-size:11px}.record-tabs button[aria-selected=true]{color:#ffe076;box-shadow:inset 0 -3px #e6c655}.record-preview{color:#f2eed8;text-align:left;background:0 0;border:0;gap:10px;width:100%;padding:12px;display:flex}.record-preview img{object-fit:contain;width:76px;height:115px}.record-preview-body{flex:1;gap:6px;font-size:11px;display:grid}.record-preview-body>strong{text-transform:uppercase;color:#f2d85d;letter-spacing:1px;font:24px Impact,Arial Black,sans-serif}.record-preview-body small{letter-spacing:.7px;color:#d6d8c5;font-size:8px}.record-preview-body meter{accent-color:#e6c655;width:100%;height:8px}.record-mini-stats{line-height:1.5}.record-map-space{color:#b9c5b8;margin:0;padding:8px 12px;font-size:.68rem;display:block}.game-screen:has(.persistent-record) .player-sheet-peeks{display:none}.game-screen:has(.persistent-record) .bottom-context-dock .monster-command-record{display:none}.game-screen:has(.persistent-record) .layout>.bottom-context-dock{bottom:90px;left:390px}.game-screen:has(.persistent-record:not([data-record-tab=map])) .board-minimap{display:none}.game-screen:has([data-record-tab=map]) .board-minimap{z-index:21;width:340px;height:160px;box-shadow:none;border:0;position:fixed;bottom:88px;left:24px}.game-screen:has([data-record-tab=map]) .board-minimap svg{height:135px}.game-screen:has(.persistent-record.mobile-record-closed) .board-minimap{display:none}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{bottom:244px}@media (width<=700px){.persistent-record{width:calc(100vw - 16px);bottom:205px;left:8px}.persistent-record.mobile-record-closed{width:56px;height:56px;left:8px;bottom:max(76px, calc(8px + env(safe-area-inset-bottom)));background:#202a29;border:0;border-radius:50%;box-shadow:0 5px 20px #0009}.persistent-record.mobile-record-closed>:not(.mobile-record-toggle){display:none}.mobile-record-toggle{z-index:2;color:#ffe076;background:#35403e;border:1px solid #e6c655;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:56px;height:56px;margin:0;padding:0;display:flex;position:absolute;box-shadow:inset 0 0 0 2px #171f20aa}.mobile-record-toggle span{font-size:1.35rem;line-height:1}.mobile-record-toggle small{letter-spacing:.04em;text-transform:uppercase;font-size:8px}.persistent-record.mobile-record-open .mobile-record-toggle{left:8px;bottom:max(76px, calc(8px + env(safe-area-inset-bottom)));display:flex;position:fixed}.game-screen:has(.persistent-record) .layout>.bottom-context-dock{width:calc(100vw - 215px);max-height:120px;bottom:80px;left:8px}.game-screen:has([data-record-tab=map]) .board-minimap{width:calc(100vw - 36px);max-height:auto;bottom:215px;left:18px}.game-screen:has([data-record-tab=map]) .board-minimap svg{height:145px}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{width:calc(100vw - 36px);height:auto;max-height:135px;display:block;top:140px;bottom:auto;left:18px}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap svg{height:110px}}@media (width<=360px){.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{width:144px;height:66px;max-height:66px;padding:3px;top:126px;left:auto;right:8px}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap>span{letter-spacing:.08em;margin-bottom:2px;font-size:.4rem}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap svg{height:44px}}@media (width<=600px){.game-screen>header{border-radius:6px;gap:3px;padding:5px 7px;top:6px;left:6px;right:6px}.game-screen>header .top-turn-summary{flex:auto;width:auto}.top-turn-summary .turn-hud-heading{gap:4px;padding:0}.top-turn-summary .turn-hud-heading>div{min-width:0}.top-turn-summary .turn-hud-heading .label{text-overflow:ellipsis;white-space:nowrap;letter-spacing:.06em;font-size:.48rem;display:block;overflow:hidden}.top-turn-summary .turn-hud-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:1px 0 0;font-size:.78rem;overflow:hidden}.top-turn-summary .turn-progress{display:none}.top-turn-details{gap:3px 9px;margin-top:4px;font-size:.58rem}.top-turn-details b{font-size:.52rem}.game-screen>header .header-actions{flex:none;gap:2px;width:auto}.game-screen>header .header-actions .ghost{min-height:30px;padding:4px 6px;font-size:.55rem}.game-screen>header .how-to-play-action,.game-screen>header .new-game-action,.game-screen>header .leave-room-action,.game-screen>header .room-hud-status{display:none}.game-screen>.status{border-radius:5px;padding:4px;top:57px;left:6px;right:6px}.game-screen>.status div{min-width:0;padding:0 3px}.game-screen>.status div:nth-child(n+3){display:none}.game-screen>.status strong{font-size:.62rem}.game-screen>.status .label{font-size:.45rem}.game-screen .attention-banner{top:100px}}.game-screen .layout>.bottom-context-dock{background:linear-gradient(120deg,#555e5b,#303839);border:1px solid #b6b5a2;border-radius:6px;gap:0;width:min(510px,100vw - 580px);max-height:38dvh;padding:0;bottom:90px;left:210px;right:auto;box-shadow:0 8px 24px #0008,inset 0 0 0 3px #191f204d}.game-screen .bottom-context-dock .monster-command-record{border:0;grid-template-columns:98px minmax(0,1fr);gap:0;margin:0;padding:0;display:grid}.command-portrait{background:radial-gradient(#b3b49a55,#0000 75%);border-right:1px solid #ffffff1c;justify-content:center;align-items:center;display:flex;overflow:hidden}.game-screen .command-portrait img{object-fit:contain;float:none;filter:drop-shadow(0 3px 3px #0008);width:96px;height:145px;margin:0}.command-record-body{min-width:0;padding:10px 12px 8px}.command-identity{justify-content:space-between;align-items:center;gap:8px;display:flex}.command-eyebrow{letter-spacing:1.4px;color:#d1d2c3;font-size:8px;font-weight:800}.game-screen .monster-command-record h3{text-transform:uppercase;letter-spacing:1px;color:#f2d85d;text-shadow:1px 2px #171a1c;margin:2px 0 5px;font-family:Impact,Arial Black,sans-serif;font-size:25px}.command-infamy{color:#f2d85d;white-space:nowrap;font-size:17px}.command-infamy small{letter-spacing:1px;font-size:7px;display:block}.command-health{align-items:center;gap:8px;margin:2px 0 8px;display:flex}.command-health>span{color:#eee9c9;white-space:nowrap;font-size:8px}.command-health b{margin-left:4px;font-size:16px}.command-health small{color:#bfc3b7;font-size:9px}.command-health meter{flex:1;min-width:30px;height:9px}.command-health meter::-webkit-meter-bar{background:#1d2525;border:0;border-radius:1px}.command-health meter::-webkit-meter-optimum-value{background:#e6c655}.game-screen .monster-command-record .sheet-stats{border-block:1px solid #d5d3ba44;grid-template-columns:repeat(4,1fr);gap:1px;display:grid}.game-screen .monster-command-record .sheet-stats>div{background:#171f2055;border-radius:0;padding:4px 6px}.game-screen .monster-command-record .sheet-stats dt{text-transform:uppercase;letter-spacing:.5px;color:#cccdbb;font-size:8px}.game-screen .monster-command-record .sheet-stats dd{color:#fff4c6;margin:0;font-size:18px}.command-movement{color:#d4d8c8;justify-content:space-between;gap:8px;margin-top:6px;font-size:9px;display:flex}.command-movement span{color:#f0d475}.command-ability{color:#ede4bb;margin-top:5px;font-size:10px}.command-ability summary{cursor:pointer}.game-screen .command-ability p{color:#f0edd9;margin:5px 0 0;font-size:11px}.game-screen .bottom-context-dock .move-actions,.game-screen .bottom-context-dock .path-controls{background:#1b2324;border-top:1px solid #b7b28c55;margin:0;padding:6px 8px}.game-screen .bottom-context-dock .move-actions button,.game-screen .bottom-context-dock .path-controls button{color:#f4e5b6;background:#424a43;border-color:#a5a08066;min-height:32px;padding:5px 9px;font-size:11px}@media (width<=900px){.game-screen .layout>.bottom-context-dock{width:min(440px,100vw - 16px);max-height:30dvh;bottom:205px;left:8px;right:auto}.game-screen .bottom-context-dock .monster-command-record{grid-template-columns:76px minmax(0,1fr)}.game-screen .command-portrait img{width:74px;height:130px}}.game-screen.setup-in-progress>.setup-panel:has(.branch-options){width:auto;max-height:calc(100dvh - 165px);top:145px;left:20px;right:20px;transform:none}.game-screen .setup-panel .branch-options{flex-wrap:nowrap;align-items:stretch;gap:12px;padding:4px 2px 12px;display:flex;overflow-x:auto}.game-screen .setup-panel .branch-choice{text-align:left;color:#f7efda;background:#24362e;border:1px solid #829177;border-radius:6px;flex-direction:column;flex:1 0 230px;gap:10px;padding:16px;font-weight:400;display:flex}.branch-title{color:#ffe1a0;font:700 1.5rem Georgia,serif}.branch-description{min-height:3.4em;font-size:.82rem;line-height:1.4}.branch-roster{flex:1;gap:12px;display:grid}.branch-unit{border-top:1px solid #65735d;gap:5px;padding-top:10px;font-size:.75rem;line-height:1.4;display:grid}.branch-unit img{object-fit:contain;width:100%;height:65px}.branch-unit small{color:#c9d2bd;font-size:.7rem}.branch-select-label{color:#ffe1a0;padding-top:8px;font-weight:700}.game-screen .setup-panel .branch-claimed{opacity:.65;border-color:#a8cf97}@media (width<=700px){.game-screen.setup-in-progress>.setup-panel:has(.branch-options){max-height:calc(100dvh - 180px);padding:12px;top:165px;left:8px;right:8px}}.game-screen.setup-in-progress>.setup-panel.lair-selection-prompt{flex-wrap:wrap;align-items:center;gap:8px 16px;width:max-content;max-width:calc(100vw - 32px);max-height:35dvh;margin:0;padding:10px 16px;font-size:.8rem;display:flex;position:fixed;inset:auto auto 16px 50%;overflow:auto;transform:translate(-50%)}.lair-selection-prompt>span{color:#d9d6bd}.lair-selection-prompt summary{cursor:pointer;color:#ffe0a4;align-items:center;min-height:32px;display:flex}.lair-selection-prompt details[open]{flex-basis:100%}.game-screen .lair-selection-prompt .setup-options{flex-wrap:wrap;margin-top:6px;display:flex}@media (width<=700px){.game-screen.setup-in-progress>.setup-panel.lair-selection-prompt{gap:4px 12px;padding:8px 12px;bottom:8px}.game-screen .player-sheet-peeks{flex-direction:column;gap:4px;width:auto;max-height:160px;padding:0;display:flex;inset:auto 208px 8px 8px;overflow:auto;transform:none}.game-screen .player-sheet-peeks .sheet-peek{border:1px solid #e8dfae;border-radius:5px;width:100%;min-height:44px;padding:5px;transform:none}.game-screen .player-sheet-peeks .sheet-peek small,.game-screen .player-sheet-peeks .sheet-peek-invite{display:none}}.game-screen .layout>.bottom-context-dock:has(.movement-orders){background:linear-gradient(135deg,#263332,#151f20);border:1px solid #7e897b;border-radius:8px;width:min(440px,100vw - 230px);padding:0;overflow:auto;box-shadow:0 12px 36px #07111280,inset 0 1px #ffffff12}.game-screen .bottom-context-dock .movement-orders{background:0 0;border-top:1px solid #93a38f30;flex-wrap:wrap;gap:8px;margin:0;padding:16px;display:flex}.orders-heading{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.orders-kicker{color:#d6c788;text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800}.orders-count{color:#c2cec4;font-variant-numeric:tabular-nums;font-size:11px}.game-screen .movement-orders .orders-instruction{color:#f2f0df;flex-basis:100%;margin:3px 0 6px;font-size:16px;line-height:1.4}.game-screen .bottom-context-dock .movement-orders button{border-radius:4px;flex:0 auto;width:auto;min-height:40px;margin:0;padding:9px 13px;font-size:12px;font-weight:600;line-height:1.3;transition:background .15s,color .15s}.game-screen .bottom-context-dock .movement-orders .order-primary{color:#182322;background:#e4ca79;border:1px solid #f3dea0;flex:60%;justify-content:space-between;align-items:center;display:flex}.game-screen .bottom-context-dock .movement-orders .order-secondary{color:#eee9d3;background:#ffffff08;border:1px solid #9aa88a60}.game-screen .bottom-context-dock .movement-orders .order-quiet,.game-screen .bottom-context-dock .movement-orders .order-end{color:#c3cbbf;background:0 0;border:1px solid #0000}.game-screen .bottom-context-dock .movement-orders button:hover:not(:disabled){color:#fff4cc;background:#42534c}.game-screen .bottom-context-dock .movement-orders .order-primary:hover:not(:disabled){color:#182322;background:#f3dea0}.game-screen .bottom-context-dock .movement-orders button:disabled{opacity:.45}.game-screen .bottom-context-dock :is(button,summary):focus-visible{outline-offset:3px;outline:2px solid #f3dea0}.orders-footer{border-top:1px solid #93a38f30;flex-basis:100%;justify-content:space-between;align-items:center;gap:8px;margin-top:5px;padding-top:7px;display:flex}.orders-footer>span{color:#a6b4aa;font-size:11px}.game-screen .bottom-context-dock .movement-orders .order-end{color:#e1d8ae;padding-right:0}.game-screen .bottom-context-dock .unit-command-record{background:linear-gradient(120deg,#81927e15,#0000);border:0;border-radius:0;grid-template-columns:1fr auto;gap:10px;padding:16px;display:grid;position:relative;inset:auto}.game-screen .bottom-context-dock .unit-command-record .unit-detail-heading{grid-column:1/-1;gap:12px;min-width:0;padding-right:26px}.game-screen .bottom-context-dock .unit-command-record .unit-detail-heading img{filter:drop-shadow(0 4px 5px #0008);width:60px;height:60px;margin:0}.game-screen .unit-command-record .label{letter-spacing:1.5px;text-transform:uppercase;color:#b3c1b7;font-size:9px}.game-screen .unit-command-record h3{text-transform:uppercase;letter-spacing:1px;color:#f2ecd5;margin:4px 0 0;font-family:Impact,Arial Narrow,sans-serif;font-size:26px}.game-screen .bottom-context-dock .unit-command-record .sheet-stats{border-block:1px solid #93a38f30;grid-column:1/-1;gap:0;margin:0;padding:9px 0;display:flex}.game-screen .bottom-context-dock .unit-command-record .sheet-stats>div{background:0 0;border-right:1px solid #93a38f30;border-radius:0;flex:1;padding:0 12px}.game-screen .bottom-context-dock .unit-command-record .sheet-stats>div:first-child{padding-left:0}.game-screen .bottom-context-dock .unit-command-record .sheet-stats>div:last-child{border:0}.game-screen .unit-command-record .sheet-stats dt{text-transform:uppercase;letter-spacing:1px;color:#b3c1b7;font-size:9px}.game-screen .unit-command-record .sheet-stats dd{color:#f2ecd5;margin:3px 0 0;font-size:22px}.unit-movement-type{color:#bacaba;font-size:11px}.game-screen .unit-command-record .unit-selection-status{color:#bacaba;grid-column:1/-1;margin:0;font-size:12px}.game-screen .unit-command-record .unit-special-rules{color:#bacaba;grid-column:1/-1;font-size:12px}.unit-command-record summary{cursor:pointer;padding:8px 0}.game-screen .bottom-context-dock .unit-command-record .stack-clear{color:#bacaba;background:0 0;border:0;min-width:36px;min-height:36px;padding:0;font-size:24px;position:absolute;top:8px;right:8px}@media (width<=700px){.game-screen .layout>.bottom-context-dock:has(.movement-orders){width:auto}.game-screen .bottom-context-dock .movement-orders,.game-screen .bottom-context-dock .unit-command-record{padding:12px}}@media (prefers-reduced-motion:reduce){.game-screen .bottom-context-dock .movement-orders button{transition:none}}.game-screen .layout>.command-station{z-index:45;pointer-events:auto;width:min(480px,100vw - 32px);height:84px;position:absolute;bottom:16px;right:16px}.game-screen .command-station>.board-action-bar{width:100%;height:84px;margin:0;padding:0;display:block;position:static;transform:none}.game-screen .command-station .action-dock{box-sizing:border-box;background:#1b2929;border:1px solid #82917e;border-radius:0 6px 6px;grid-template-columns:minmax(0,1fr) 156px;align-items:center;gap:16px;width:100%;min-width:0;height:84px;min-height:84px;padding:14px 16px;display:grid;box-shadow:0 8px 24px #07111270}.game-screen .command-station .action-dock-info{gap:7px;min-width:0;display:grid}.game-screen .command-station .action-dock-info .label{color:#cabc87;letter-spacing:1.5px;text-transform:uppercase;font-size:10px;display:block}.game-screen .command-station .action-dock-status{color:#e3e7dc;max-height:36px;margin:0;font-size:13px;line-height:1.35;display:block;overflow:auto}.game-screen .command-station .action-dock>button{color:#182523;width:156px;height:48px;min-height:48px;box-shadow:none;background:#ddc77e;border:1px solid #eedb9d;border-radius:4px;margin:0;padding:8px 12px;font-size:13px;font-weight:750;line-height:1.2}.game-screen .command-station .action-dock>button:before{display:none}.game-screen .command-station .action-dock>button:hover:not(:disabled){background:#f0dc98}.game-screen .command-station .action-dock>button:disabled{opacity:.5}.game-screen .command-station>.bottom-context-dock{width:100%;max-height:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;display:block;position:absolute;inset:auto 0 84px;overflow:visible;transform:none}.game-screen .command-station.routine-stomp-pending>.board-action-bar,.game-screen .command-station.routine-stomp-pending>.bottom-context-dock{display:none}.piece-context-tab{flex-direction:column-reverse;margin:0;display:flex}.piece-context-tab>summary{cursor:pointer;box-sizing:border-box;color:#e0e5d7;background:#293b37;border:1px solid #82917e;border-bottom:0;border-radius:6px 6px 0 0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:38px;padding:9px 14px;font-size:12px;list-style:none;display:flex}.piece-context-tab>summary::-webkit-details-marker{display:none}.piece-context-tab>summary>span{text-transform:capitalize;font-weight:650}.piece-context-tab>summary small{color:#b5c3b5;white-space:nowrap;font-size:10px}.piece-context-tab[open]>summary{background:#35483e}.piece-context-tab[open]>summary small span{display:inline-block;transform:rotate(180deg)}.context-tab-body{background:#1b2929;border-inline:1px solid #82917e;max-height:min(380px,50dvh);overflow:auto}.game-screen .command-station .bottom-context-dock .monster-command-record{display:grid}.game-screen .command-station .piece-context-options{border-top:1px solid #82917e40;flex-wrap:wrap;gap:6px;padding:10px 14px;display:flex}.game-screen .command-station .piece-context-options button{color:#d7ddcb;background:0 0;border:1px solid #82917e60;min-height:36px;padding:7px 10px;font-size:11px}.game-screen .command-station :is(button,summary):focus-visible{outline-offset:3px;outline:2px solid #f3dea0}@media (width<=700px){.game-screen .layout>.command-station{right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100vw - 16px)}.game-screen .command-station .action-dock{grid-template-columns:minmax(0,1fr) 128px;gap:10px;padding:12px}.game-screen .command-station .action-dock>button{width:128px;font-size:12px}.game-screen .command-station .action-dock-status{font-size:12px}.context-tab-body{max-height:45dvh}}.resolution-stage{box-sizing:border-box;color:#f6edda;isolation:isolate;background:radial-gradient(at 20% 60%,#385b4b55,#0000 55%),radial-gradient(at 90% 20%,#bb713026,#0000 45%),#0d1718;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(20px,4vw,64px);font-family:inherit;position:fixed;inset:0;overflow:auto}.resolution-stage::backdrop{background:#0d1718}.resolution-stage[open]{flex-direction:column;display:flex}.resolution-stage *{box-sizing:border-box}.resolution-stage:before{content:"";pointer-events:none;z-index:-1;opacity:.22;background:repeating-linear-gradient(0deg,#0000,#0000 3px,#0003 4px);position:fixed;inset:0}.resolution-stage.resolution-encounter{background:radial-gradient(at 20% 60%,#385b4b55,#0000 55%),#0d1718;border:1px solid #c6ad6d;border-radius:9px;width:min(820px,100vw - 32px);height:auto;max-height:calc(100dvh - 24px);padding:22px 26px;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 22px 70px #000b}.resolution-stage.resolution-encounter::backdrop{background:#08120d88}.resolution-stage.resolution-encounter:before{display:none}.resolution-encounter .resolution-header{padding-bottom:14px}.resolution-encounter .resolution-header h2{font-size:clamp(27px,3vw,40px)}.resolution-encounter .resolution-content{flex:auto;justify-content:flex-start;min-height:0;padding:10px 0;overflow:auto}.resolution-encounter .resolution-footer{padding-top:10px}.resolution-encounter .cinema-encounter{grid-template-columns:minmax(150px,.7fr) minmax(260px,1.3fr);gap:clamp(14px,3vw,36px)}.resolution-encounter .cinema-monster>img{height:min(30vh,220px)}.resolution-encounter .cinema-monster>div{margin-top:-18px}.resolution-encounter .cinema-monster h3{font-size:clamp(28px,3vw,42px)}.resolution-encounter .cinema-intro h3,.resolution-encounter .cinema-choice h3{margin:12px 0 20px;font-size:clamp(28px,3.5vw,44px)}.resolution-encounter .cinema-roll-stage{padding:6px 0}.resolution-encounter .cinema-card-back{width:190px;min-height:250px;padding:20px}.resolution-encounter .cinema-card-back>span{font-size:78px}.resolution-encounter .cinema-digital-card{width:min(260px,100%)}.resolution-encounter .cinema-digital-card .digital-card-art{height:auto}.resolution-encounter .cinema-reward{margin:12px 0;padding:12px 0}.resolution-header{border-bottom:1px solid #cfc59c30;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;display:flex}.resolution-eyebrow{color:#d3b877;letter-spacing:.22em;text-transform:uppercase;margin:0 0 12px;font-size:11px;font-weight:800;line-height:1.5}.resolution-header h2{letter-spacing:-.04em;margin:0;font-family:Georgia,serif;font-size:clamp(30px,4vw,62px);font-weight:400;line-height:1.05}.resolution-close{cursor:pointer;white-space:nowrap;border-radius:50px;min-height:44px;padding:12px 18px;color:#f6edda!important;background:#ffffff08!important;border:1px solid #b8c1ad55!important}.resolution-close span{margin-left:10px}.resolution-content{flex-direction:column;flex:1;justify-content:center;width:100%;max-width:1500px;margin:0 auto;padding:24px 0;display:flex}.resolution-footer{color:#a9b6aa;letter-spacing:.18em;border-top:1px solid #cfc59c30;justify-content:space-between;gap:20px;padding-top:16px;font-size:9px;display:flex}.cinema-encounter{grid-template-columns:minmax(240px,1fr) minmax(320px,1fr);align-items:center;gap:clamp(24px,5vw,90px);display:grid}.cinema-monster{min-width:0;position:relative}.cinema-monster>img{object-fit:contain;filter:drop-shadow(0 25px 50px #0009);width:100%;height:clamp(240px,48vh,560px);display:block;-webkit-mask-image:linear-gradient(#000 75%,#0000);mask-image:linear-gradient(#000 75%,#0000)}.cinema-monster>div{text-align:center;margin-top:-45px;position:relative}.cinema-monster h3,.cinema-combatant h3{margin:0;font:400 clamp(32px,4vw,62px)/1.05 Georgia,serif}.cinema-monster p:last-child,.cinema-combatant>p:last-child{color:#b4c1b5;font-size:15px}.cinema-event{min-width:0;padding:20px 0}.cinema-intro h3,.cinema-choice h3{letter-spacing:-.045em;margin:20px 0;font:400 clamp(36px,5vw,76px)/1.05 Georgia,serif}.cinema-intro>p:not(.resolution-eyebrow){color:#bec9bf;margin-bottom:30px;font-size:16px;line-height:1.8}.resolution-stage button{font-family:inherit}.resolution-stage .cinema-primary,.cinema-battle-actions button{color:#182421;cursor:pointer;background:#e6cd91;border:1px solid #d5bf86;border-radius:3px;justify-content:center;align-items:center;gap:20px;min-height:48px;padding:14px 22px;font-size:14px;font-weight:750;transition:background .18s,transform .18s;display:inline-flex}.resolution-stage button:hover:not(:disabled){filter:brightness(1.12)}.resolution-stage button:focus-visible{outline-offset:5px;outline:3px solid #f6e0a5}.resolution-stage button:disabled{opacity:.45;cursor:not-allowed}.cinema-choice>div{flex-wrap:wrap;gap:12px;display:flex}.cinema-roll-stage{padding:20px 0}.resolution-stage .cinema-dice{align-items:center;gap:28px;min-height:90px;margin:20px 0 30px}.resolution-stage .cinema-dice .combat-die{width:72px;height:72px;margin:8px;scale:1.5}.resolution-stage .combat-die:before,.resolution-stage .combat-die:after{display:none}.resolution-stage .die-value{color:#f6edda;background:#182421;border:1px solid #d5bf86;position:absolute;bottom:-7px}.cinema-rewards{flex-wrap:wrap;gap:16px;margin:24px 0;display:flex}.cinema-reward{color:#bce5b0;border-top:1px solid #aecda665;flex:1;align-items:center;gap:16px;min-width:210px;padding:24px 0;animation:.6s both cinema-reward-in;display:flex}.cinema-reward>span{font-size:26px}.cinema-reward>strong{font:400 clamp(48px,6vw,90px)/1 Georgia,serif}.cinema-reward b{text-transform:uppercase;letter-spacing:.15em;font-size:12px}.cinema-reward small{color:#bdc9bd;margin-top:8px;font-size:13px;display:block}.reward-infamy{color:#e8bd77;border-color:#e8bd7755}@keyframes cinema-reward-in{0%{opacity:0;transform:translateY(20px)scale(.94)}to{opacity:1;transform:none}}.cinema-card-reveal{perspective:1200px;justify-content:center;align-items:center;gap:clamp(20px,3vw,48px);padding:20px 0;display:flex}.cinema-card-back{outline-offset:-12px;color:#ead69e;cursor:pointer;background:repeating-linear-gradient(45deg,#254b4133 0 2px,#0000 2px 12px),radial-gradient(#24473d,#101d1b);border:1px solid #d9bd7a;border-radius:12px;outline:1px solid #b7955266;flex-direction:column;justify-content:space-around;align-items:center;width:260px;min-height:360px;padding:25px;transition:transform .3s;display:flex;box-shadow:0 25px 60px #0008}.cinema-card-back:hover{transform:translateY(-6px)rotate(-2deg)}.cinema-card-back>span{font-size:110px}.cinema-card-back small{letter-spacing:.18em;font-size:10px}.cinema-card-back strong{font:400 28px Georgia,serif}.cinema-digital-card{width:min(340px,100%);animation:.65s both cinema-card-in;box-shadow:0 20px 35px #0009}.cinema-digital-card .digital-card-art{height:auto}.cinema-tag{color:#d3b877;border:1px solid #d3b87755;padding:8px 12px;font-size:12px;display:inline-block}.has-card{grid-template-columns:minmax(180px,.65fr) minmax(400px,1.5fr)}@keyframes cinema-card-in{0%{opacity:0;transform:rotateY(-95deg)translateY(20px)}to{opacity:1;transform:none}}.resolution-fight{background:radial-gradient(at 10% 35%,#51794b44,#0000 50%),radial-gradient(at 90% 35%,#b7683f44,#0000 50%),#0d1718}.cinema-versus{text-align:center;grid-template-columns:1fr 130px 1fr;align-items:center;gap:24px;display:grid}.cinema-combatant{min-width:0}.cinema-fighter-art{object-fit:contain;filter:drop-shadow(0 15px 30px #0008);width:100%;height:clamp(160px,28vh,330px)}.cinema-combatant h3{font-size:clamp(26px,3vw,44px)}.cinema-vs{color:#e8cc90;text-shadow:0 0 50px #d3965066;font:italic 400 clamp(64px,8vw,120px)/1 Georgia,serif}.cinema-vs small{letter-spacing:.15em;margin-top:18px;font:700 9px/1.5 sans-serif;display:block}.cinema-unit-art{flex-wrap:wrap;justify-content:center;gap:16px;max-height:32vh;display:flex;overflow:auto}.cinema-unit-art>div{flex-direction:column;flex:130px;justify-content:center;max-width:220px;display:flex}.cinema-unit-art img{object-fit:contain;filter:drop-shadow(0 12px 20px #0009);width:100%;height:clamp(90px,16vh,190px)}.cinema-unit-art strong{text-transform:capitalize;font-size:12px}.cinema-unit-art small{color:#bcc8be;margin:6px 0 14px;font-size:11px;line-height:1.6}.cinema-stats{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.cinema-battle-console{background:#060e1088;border:1px solid #b5c6a933;border-radius:8px;grid-template-columns:1fr 1fr;gap:32px;margin-top:26px;padding:26px;display:grid}.cinema-battle-result{min-width:0}.cinema-battle-result ul{color:#d4ddcf;max-height:140px;padding-left:18px;font-size:14px;line-height:1.7;overflow:auto}.cinema-battle-actions{align-self:center}.cinema-battle-actions button{margin:6px 6px 6px 0;font-size:13px}.cinema-battle-actions p,.cinema-battle-actions span{font-size:14px;line-height:1.6}.cinema-battle-actions .battle-choice,.cinema-battle-actions .path-controls,.cinema-battle-actions .retreat-choice{display:block}@media (width>=1500px){.cinema-card-art{flex-basis:360px}}@media (width<=760px){.resolution-stage{padding:20px}.resolution-header{padding-bottom:18px}.resolution-eyebrow{font-size:9px}.resolution-close span{display:none}.resolution-footer{font-size:8px}.resolution-footer span:last-child{display:none}.cinema-encounter,.has-card{grid-template-columns:1fr;gap:0}.cinema-monster{align-items:center;gap:12px;display:flex}.cinema-monster>img{width:130px;height:140px;-webkit-mask-image:none;mask-image:none}.cinema-monster>div{text-align:left;margin:0}.cinema-monster h3{font-size:32px}.cinema-intro h3{font-size:46px}.cinema-event{padding:20px 0}.cinema-card-reveal{flex-wrap:wrap}.cinema-card-art{flex-basis:230px}.cinema-card-copy{flex-basis:100%}.cinema-card-copy>p:last-child{font-size:16px}.cinema-versus{grid-template-columns:1fr 45px 1fr;gap:6px}.cinema-vs{font-size:42px}.cinema-vs small{font-size:8px}.cinema-fighter-art{height:auto}.cinema-unit-art{max-height:210px}.cinema-unit-art>div{flex-basis:100px}.cinema-combatant h3{font-size:25px}.cinema-stats{gap:6px;font-size:12px!important}.cinema-battle-console{grid-template-columns:1fr;gap:12px;padding:18px}.cinema-battle-result .cinema-dice{gap:16px}.cinema-unit-art small{font-size:10px}.resolution-stage.resolution-encounter{border-radius:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.resolution-stage.resolution-encounter .resolution-header{padding-bottom:9px}.resolution-stage.resolution-encounter .resolution-header h2{font-size:clamp(24px,7vw,32px)}.resolution-stage.resolution-encounter .resolution-content{padding:6px 0}.resolution-stage.resolution-encounter .cinema-encounter{grid-template-columns:minmax(0,1fr);gap:0}.resolution-stage.resolution-encounter .cinema-monster{align-items:center;display:flex}.resolution-stage.resolution-encounter .cinema-monster>div{text-align:left;margin:0}.resolution-stage.resolution-encounter .cinema-monster{gap:8px}.resolution-stage.resolution-encounter .cinema-monster>img{width:82px;height:92px}.resolution-stage.resolution-encounter .cinema-monster h3{font-size:25px}.resolution-stage.resolution-encounter .cinema-event{padding:8px 0}.resolution-stage.resolution-encounter .cinema-intro h3,.resolution-stage.resolution-encounter .cinema-choice h3{margin:8px 0 14px;font-size:clamp(27px,8vw,38px)}.resolution-stage.resolution-encounter .cinema-card-back{width:150px;min-height:195px;padding:14px}.resolution-stage.resolution-encounter .cinema-card-back>span{font-size:58px}.resolution-stage.resolution-encounter .cinema-digital-card{width:min(220px,100%)}.resolution-stage.resolution-encounter .cinema-primary{min-height:44px;padding:10px 14px}}@media (prefers-reduced-motion:reduce){.resolution-stage *,.resolution-stage :before,.resolution-stage :after{transition:none!important;animation:none!important}}.has-card .cinema-roll-stage{flex-wrap:wrap;align-items:center;gap:16px;padding:0;display:flex}.resolution-stage .has-card .cinema-dice{gap:12px;min-height:48px;margin:0}.resolution-stage .has-card .cinema-dice .combat-die{width:48px;height:48px;margin:0;scale:1}.has-card .cinema-card-art img{max-height:40vh}.has-card .cinema-reward{padding:12px 0}.has-card .cinema-reward>strong{font-size:48px}.manual-reduced-motion .resolution-stage *{transition:none!important;animation:none!important}.resolution-stage .cinema-reward{animation-delay:.65s}@media (width<=760px){.has-card .cinema-card-art img{max-height:45vh}}.toxicor-mutation-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px!important;display:grid!important}.toxicor-mutation-options>section{flex-direction:column;align-items:center;gap:12px;min-width:0;display:flex}.toxicor-mutation-options .cinema-digital-card{width:min(260px,100%)}.toxicor-mutation-options .cinema-primary{width:100%;padding:12px 8px}.resolution-stage.resolution-mutation-reveal{width:min(560px,100vw - 24px);max-height:calc(100dvh - 24px);padding:clamp(16px,3vw,30px);overflow-y:auto}.resolution-stage.resolution-mutation-reveal .resolution-content{justify-items:center;gap:10px;padding:16px 0;display:grid}.mutation-reveal-content{text-align:center;justify-items:center;gap:14px;width:100%;display:grid}.mutation-reveal-content .cinema-card-reveal{justify-content:center;width:100%}.mutation-reveal-content .cinema-digital-card{width:min(310px,100%)}.mutation-reveal-content .cinema-digital-card .digital-card-art{height:auto}.mutation-reveal-content>p{color:#dbe4d8;min-height:1.4em;margin:0;font-size:14px;font-weight:750}.mutation-reveal-dismiss{color:#182623;cursor:pointer;background:#e2ca7e;border:1px solid #f0dda0;border-radius:6px;min-width:150px;min-height:44px;padding:10px 18px;font-size:14px;font-weight:900}.mutation-reveal-dismiss:hover:not(:disabled){filter:brightness(1.12)}.mutation-reveal-dismiss:disabled{opacity:.55;cursor:wait}.mutation-reveal-dismiss:focus-visible{outline-offset:3px;outline:3px solid #fff1b5}@media (width<=760px){.resolution-stage.resolution-mutation-reveal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}.mutation-reveal-content .cinema-digital-card{width:min(255px,100%)}.mutation-reveal-content .cinema-digital-card .digital-card-art{height:auto}}.resolution-stage.resolution-research .resolution-header h2{color:#f6edda}.resolution-stage.resolution-research .digital-card-rules{color:#f4f1ea;background:linear-gradient(135deg,#ffffff14,#0000 60%),#182421}.resolution-stage.resolution-research .digital-card-rules p{color:#f4f1ea}.resolution-stage.resolution-research .digital-card-rules .digital-card-timing{color:#e6c77e}.board-event-playback{z-index:86;color:#f2ecd7;pointer-events:none;background:linear-gradient(145deg,#26372ff5,#12201ef7);border:1px solid #d9bd7a;border-radius:8px;gap:6px;width:max-content;min-width:154px;max-width:min(286px,100vw - 20px);padding:8px 10px;animation:.32s cubic-bezier(.18,.8,.25,1) both board-event-arrive;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 8px 22px #07110f9c}.board-event-playback.is-interactive{pointer-events:auto}.board-event-playback.is-above{transform:translate(-50%)}.board-event-heading{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.board-event-heading>span{gap:1px;min-width:0;display:grid}.board-event-heading small{color:#e3cc8a;letter-spacing:.12em;font-size:8px;font-weight:900}.board-event-heading strong{color:#fff4d5;text-overflow:ellipsis;white-space:nowrap;font:700 13px/1.2 Georgia,serif;overflow:hidden}.board-event-heading .board-event-location{color:#bbc5ad;text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:90px;overflow:hidden}.board-event-dice{justify-content:center;gap:4px;min-height:42px;padding:2px 4px;display:flex}.board-event-die{place-items:center;width:40px;height:40px;animation:.35s cubic-bezier(.2,.8,.2,1) both board-event-die-pop;display:inline-grid}.board-event-die .combat-die[data-die]{width:36px;height:36px;margin:0}.board-event-outcome{border-top:1px solid #e1d49a36;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding-top:6px;animation:.26s both board-event-outcome-in;display:flex}.board-event-prompt-dice{justify-content:center;gap:5px;padding:3px 0;display:flex}.board-event-prompt-dice>span{color:#24302a;background:linear-gradient(145deg,#f2d88e,#b47a3c);border:1px solid #e2ca84;border-radius:5px;place-items:center;width:30px;height:30px;font-size:17px;font-weight:900;display:grid;box-shadow:2px 3px #6e4a2c}.board-event-prompt-copy{color:#dfe6d5;text-align:center;margin:2px 0;font-size:11px}.board-event-roll-all{color:#182623;cursor:pointer;background:#e2ca7e;border:1px solid #f0dda0;border-radius:5px;min-height:34px;padding:7px 10px;font-size:11px;font-weight:850}.board-event-choice-actions{grid-template-columns:1fr 1fr;gap:5px;display:grid}.board-event-choice-actions button{color:#182623;cursor:pointer;background:#e2ca7e;border:1px solid #f0dda0;border-radius:5px;min-height:34px;padding:6px 8px;font-size:10px;font-weight:850}.board-event-choice-actions button:last-child{color:#f4ad62;background:#3e2b20;border-color:#e3984b}.board-event-choice-actions button:hover:not(:disabled){filter:brightness(1.12)}.board-event-choice-actions button:disabled{opacity:.55;cursor:default}.board-event-choice-actions button:focus-visible{outline-offset:2px;outline:2px solid #fff1b5}.board-event-roll-all:hover:not(:disabled){background:#f1dfa0}.board-event-roll-all:disabled{opacity:.55;cursor:default}.board-event-roll-all:focus-visible{outline-offset:2px;outline:2px solid #fff1b5}.board-event-reward{color:#eaf1dc;background:#111b1ad9;border:1px solid #fff2;border-radius:7px;grid-template-columns:auto auto;align-items:center;gap:0 4px;padding:4px 6px;display:grid}.board-event-reward>span{grid-row:1/span 2;font-size:16px;line-height:1}.board-event-reward>strong{font-size:14px;font-weight:900;line-height:1}.board-event-reward>small{text-transform:uppercase;letter-spacing:.06em;font-size:8px;line-height:1.2}.board-event-reward.health-gain{color:#a6efab;border-color:#71c9808c}.board-event-reward.health-loss{color:#ff9191;background:#391d22e8;border-color:#eb676a9c}.board-event-reward.infamy{color:#f4ad62;border-color:#e3984b8c}.board-event-reward.stomp{color:#f0dc8d;border-color:#dfca7c8c}.board-event-card{outline-offset:-4px;color:#f1dfa8;text-align:center;background:repeating-linear-gradient(45deg,#f3e2a012 0 2px,#0000 2px 8px),linear-gradient(145deg,#284b3f,#142522);border:1px solid #e5d18a;border-radius:6px;outline:1px solid #e5d18a55;place-content:center;gap:2px;width:55px;height:70px;animation:.48s cubic-bezier(.2,.8,.2,1) both board-event-card-in;display:grid;position:relative;overflow:hidden;box-shadow:0 2px 5px #0007}.board-event-card:before{content:"";border:1px solid #e2cf8b55;border-radius:3px;position:absolute;inset:5px}.board-event-card>span{z-index:1;color:#f5d779;font-size:23px;font-weight:900;line-height:1}.board-event-card>small{z-index:1;letter-spacing:.06em;max-width:47px;font-size:6px;font-weight:900;line-height:1.2}.board-event-card.research{background:repeating-linear-gradient(135deg,#dca65c12 0 2px,#0000 2px 8px),linear-gradient(145deg,#66502e,#22251e)}.board-event-note{color:#e8dfc4;text-align:center;font-size:10px}.board-event-playback[data-event-action=fight\.resolved],.board-event-playback[data-event-action=battle\.target-required]{gap:5px;min-width:230px;max-width:min(286px,100vw - 20px);padding:8px 9px}.board-battle-step{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:4px;min-width:0;padding:3px 0 1px;display:grid}.board-battle-actor{text-align:center;justify-items:center;gap:3px;min-width:0;display:grid}.board-battle-avatar{background:radial-gradient(circle at 35% 28%,#6c7b60,#25332d 72%);border:1px solid #d9bd7a99;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:relative;overflow:visible;box-shadow:0 2px 6px #0008}.board-battle-avatar.impact-is-hit,.board-battle-avatar.impact-is-destroyed{animation:.46s ease-out both board-battle-impact-flash}.board-battle-avatar.impact-is-hit:after,.board-battle-avatar.impact-is-destroyed:after{content:"";pointer-events:none;border:2px solid #ff8b6b;border-radius:50%;animation:.46s ease-out both board-battle-impact-ring;position:absolute;inset:-4px;box-shadow:0 0 12px #ff674fcc}.board-battle-avatar.impact-is-destroyed:after{border-color:#ffd27a;box-shadow:0 0 15px #ff9f42}.board-battle-avatar img{object-fit:contain;border-radius:50%;width:100%;height:100%;animation:.3s both board-event-die-pop}.board-battle-actor strong{color:#eee7d3;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap;width:100%;font-size:9px;font-weight:850;line-height:1.15;overflow:hidden}.board-battle-roll{color:#e7d28e;justify-items:center;gap:0;display:grid}.board-battle-roll>small{letter-spacing:.12em;font-size:7px;font-weight:900}.board-battle-roll>span{height:12px;font-size:13px;line-height:12px}.board-battle-roll .combat-die[data-die]{width:30px;height:30px;margin:0;animation:.36s cubic-bezier(.2,.8,.2,1) both board-event-die-pop}.board-battle-result{text-align:center;letter-spacing:.05em;border-top:1px solid #e1d49a36;grid-column:1/-1;margin:0;padding:4px 0 1px;font-size:10px;font-weight:950;animation:.2s both board-event-outcome-in}.board-battle-result.is-hit{color:#ff9191}.board-battle-result.is-miss{color:#bbc5ad}.board-battle-result.is-destroyed{color:#ffad72}@keyframes board-event-arrive{0%{opacity:0;translate:0 8px;scale:.94}to{opacity:1;translate:0;scale:1}}@keyframes board-event-die-pop{0%{opacity:0;translate:0 -12px;rotate:-10deg}to{opacity:1;translate:0;rotate:0}}@keyframes board-event-outcome-in{0%{opacity:0;translate:0 7px}to{opacity:1;translate:0}}@keyframes board-event-card-in{0%{opacity:0;rotateY:85deg;translate:0 6px}to{opacity:1;rotateY:0;translate:0}}@keyframes board-battle-impact-flash{0%,to{filter:brightness();scale:1}38%{filter:brightness(1.8);scale:1.12}}@keyframes board-battle-impact-ring{0%{opacity:.95;scale:.55}to{opacity:0;scale:1.4}}@media (width<=700px){.board-event-playback{gap:5px;padding:7px 8px}.board-event-heading strong{font-size:12px}.board-event-dice{min-height:38px}.board-event-die{width:36px;height:36px}.board-event-die .combat-die[data-die]{width:32px;height:32px}}@media (prefers-reduced-motion:reduce){.board-event-playback,.board-event-die,.board-event-outcome,.board-event-card,.board-battle-avatar img,.board-battle-avatar.impact-is-hit,.board-battle-avatar.impact-is-destroyed,.board-battle-avatar.impact-is-hit:after,.board-battle-avatar.impact-is-destroyed:after,.board-battle-roll .combat-die,.board-battle-result{animation:none}}.reduced-motion .board-battle-avatar img,.reduced-motion .board-battle-avatar.impact-is-hit,.reduced-motion .board-battle-avatar.impact-is-destroyed,.reduced-motion .board-battle-avatar.impact-is-hit:after,.reduced-motion .board-battle-avatar.impact-is-destroyed:after,.reduced-motion .board-battle-roll .combat-die,.reduced-motion .board-battle-result,.manual-reduced-motion .board-event-playback,.manual-reduced-motion .board-event-die,.manual-reduced-motion .board-event-outcome,.manual-reduced-motion .board-event-card,.manual-reduced-motion .board-battle-avatar img,.manual-reduced-motion .board-battle-avatar.impact-is-hit,.manual-reduced-motion .board-battle-avatar.impact-is-destroyed,.manual-reduced-motion .board-battle-avatar.impact-is-hit:after,.manual-reduced-motion .board-battle-avatar.impact-is-destroyed:after,.manual-reduced-motion .board-battle-roll .combat-die,.manual-reduced-motion .board-battle-result{animation:none}.game-screen .setup-panel:has(.monster-options){background:linear-gradient(135deg,#1b2929ee,#202923ee);border:1px solid #82917e;border-radius:8px;box-shadow:0 14px 34px #07111280,inset 0 1px #ffffff12}.game-screen .setup-panel:has(.monster-options) .monster-options{gap:12px;margin-inline:-4px;padding:14px 4px 18px}.game-screen .setup-panel .monster-choice{flex:1 0 190px;justify-content:flex-start;gap:0;min-width:190px;min-height:420px;overflow:hidden;box-shadow:inset 8px 0 #252c2d,inset 0 0 0 5px #ffffff16,0 8px 16px #07111270;color:#fff7d1!important;background-color:#59645f!important;background-image:radial-gradient(70px 36px at 18% 18%,#c9d0a52b 0 58%,#0000 60%),radial-gradient(96px 52px at 82% 38%,#1c282433 0 62%,#0000 64%),radial-gradient(120px 42px at 42% 88%,#bec99b1f 0 55%,#0000 57%),linear-gradient(145deg,#68736c,#3d4946)!important;background-size:auto!important;border:2px solid #ded9ba!important;border-radius:10px!important;padding:12px 12px 14px!important}.game-screen .setup-panel .monster-choice:before{content:"MONSTER RECORD";text-align:left;color:#e8dfae;letter-spacing:1.5px;align-self:stretch;margin:0 0 7px 2px;font-size:9px;font-weight:900}.game-screen .setup-panel .monster-choice img{object-fit:contain;filter:drop-shadow(0 5px 5px #172019aa);width:100%;height:150px;transition:transform .16s}.game-screen .setup-panel .monster-choice strong{color:#ffce31;text-align:left;text-shadow:2px 2px #222;border-top:1px solid #f5efc044;align-self:stretch;padding:8px 0 5px;font:900 1.35rem Georgia,serif}.game-screen .setup-panel .monster-choice-stats{color:#fff9de;text-align:left;border-bottom:1px solid #f5efc044;align-self:stretch;padding:5px 0 9px;font-size:.68rem}.game-screen .setup-panel .monster-choice-ability{text-align:left;color:#fff9de;opacity:1;pointer-events:auto;width:auto;box-shadow:none;background:#252c2dcc;border:1px solid #e8dfae;border-radius:5px;gap:5px;margin-top:10px;padding:10px;display:grid;position:static;transform:none}.game-screen .setup-panel .monster-choice-ability b{color:#fff18b;text-transform:uppercase;letter-spacing:.1em;font-size:.66rem}.game-screen .setup-panel .monster-choice-ability span{color:#fffbe8;font-size:.72rem;line-height:1.35}.game-screen .setup-panel .monster-choice-ability small{color:#d9d8c3;font-size:.62rem}.game-screen .setup-panel .monster-choice:hover:not(:disabled),.game-screen .setup-panel .monster-choice:focus-visible{transform:translateY(-5px);box-shadow:inset 8px 0 #252c2d,0 0 0 2px #ffe08355,0 14px 22px #071112aa;border-color:#ffe083!important}.game-screen .setup-panel .monster-choice:hover:not(:disabled) img,.game-screen .setup-panel .monster-choice:focus-visible img{transform:scale(1.06)}.game-screen .setup-panel .monster-choice-selected{background-color:#3f6323!important;border-color:#f4da69!important}.game-screen .setup-panel .monster-choice-selected:after{color:#172117;background:#a8cf97}.game-screen .setup-panel .monster-choice em{color:#c9edaa;align-self:flex-start;font-size:.62rem}@media (width<=700px){.game-screen.setup-in-progress>.setup-panel:has(.monster-options){height:auto;max-height:none;padding:12px 0 10px;top:165px;bottom:8px;overflow:hidden}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>:not(.monster-options){margin-inline:12px}.game-screen .setup-panel:has(.monster-options) .monster-options{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x;align-items:stretch;gap:12px;height:calc(100% - 158px);min-height:0;margin:0;padding:10px 12px 14px;scroll-padding-inline:12px;overflow:auto hidden}.game-screen .setup-panel .monster-choice{scroll-snap-align:start;flex:0 0 calc(100vw - 92px);width:calc(100vw - 92px);min-width:0;height:100%;min-height:0;max-height:none}.game-screen .setup-panel .monster-choice img{height:clamp(132px,22dvh,190px)}.game-screen .setup-panel .monster-choice-ability{flex:1;min-height:0}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>.label{display:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>h2{display:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>p:not(.setup-progress){display:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options){padding-top:8px;top:165px}.game-screen .setup-panel:has(.monster-options) .monster-options{height:calc(100% - 42px);padding-top:4px}.game-screen .setup-panel:has(.monster-options)>.setup-progress{color:#aebcaf;margin:0;padding:4px 12px 0;font-size:.68rem}}.game-screen.setup-in-progress>.setup-panel:has(.branch-options){background:#1b2929f5;border:1px solid #82917e;border-radius:8px;max-height:none;margin:0;bottom:16px;overflow-y:auto;box-shadow:0 14px 34px #07111280}.game-screen .setup-panel .branch-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:4px 2px 12px;display:grid;overflow:visible}.game-screen .setup-panel .branch-choice{--branch-color:#526e24;--branch-ink:#fffde3;min-width:0;color:var(--branch-ink);background:linear-gradient(#00000018,#00000018),url(/assets/reference-sheets/camouflage.svg),var(--branch-color);background-size:auto,240px 190px,auto;border:2px solid #ded9ba;border-radius:10px;justify-content:flex-start;gap:14px;padding:20px;position:relative;box-shadow:inset 0 0 0 4px #ffffff12}.game-screen .setup-panel .branch-choice[data-branch=Navy]{--branch-color:#17679a}.game-screen .setup-panel .branch-choice[data-branch=Marines]{--branch-color:#a3392d}.game-screen .setup-panel .branch-choice[data-branch=Air\ Force]{--branch-color:#ddc549;--branch-ink:#252819}.game-screen .setup-panel .branch-title{color:inherit;font:700 1.65rem Georgia,serif}.game-screen .setup-panel .branch-description{min-height:4.2em;color:inherit;font-size:.85rem;line-height:1.5}.game-screen .setup-panel .branch-roster{flex:none;align-content:start;gap:0;display:grid}.game-screen .setup-panel .branch-unit{border-top:1px solid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:12px;padding:16px 0;font-size:.82rem;line-height:1.5;display:grid}.game-screen .setup-panel .branch-unit img{object-fit:contain;filter:drop-shadow(0 2px 2px #0006);width:52px;height:68px}.game-screen .setup-panel .branch-unit-details{gap:6px;min-width:0;display:grid}.game-screen .setup-panel .branch-unit strong{font-size:.88rem}.game-screen .setup-panel .branch-unit small{color:inherit;font-size:.78rem;line-height:1.5}.game-screen .setup-panel .branch-select-label{color:#fff1bd;text-align:center;background:#131e20;border-radius:5px;margin-top:auto;padding:12px;font-size:.9rem;display:block}.game-screen .setup-panel .branch-choice:hover:not(:disabled){border-color:#ffe083;box-shadow:0 0 0 2px #ffe08355}.game-screen .setup-panel .branch-choice:focus-visible{outline-offset:3px;outline:3px solid #ffe083}.game-screen .setup-panel .branch-claimed{opacity:.65}@media (width<=1200px){.game-screen .setup-panel .branch-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.game-screen.setup-in-progress>.setup-panel:has(.branch-options){max-height:none;padding:16px;bottom:8px}.game-screen .setup-panel .branch-options{grid-template-columns:minmax(0,1fr);gap:14px}.game-screen .setup-panel .branch-choice{padding:16px}.game-screen .setup-panel .branch-description{min-height:0}}.game-screen.setup-in-progress>.setup-command-panel{z-index:45;color:#e3e7dc;background:#1b2929;border:1px solid #82917e;border-radius:0 6px 6px;width:min(480px,100vw - 28px);max-height:calc(100dvh - 165px);margin:0;padding:0;position:fixed;top:auto;bottom:16px;right:14px;overflow:auto;box-shadow:0 8px 24px #07111270}.game-screen .setup-command-panel>.label{color:#cabc87;letter-spacing:1.5px;padding:14px 16px 0;font-size:10px;display:block}.game-screen .setup-command-panel>h2{color:#f2ecd5;text-transform:capitalize;margin:4px 0 0;padding:0 16px;font-size:1.35rem}.game-screen .setup-command-panel>p:not(.setup-turn):not(.setup-progress){color:#b5c3b5;margin:8px 0 0;padding:0 16px;font-size:.82rem;line-height:1.45}.game-screen .setup-command-panel>.setup-turn{margin:12px 0 0;padding:0 16px;font-size:.82rem;color:#e8bd76!important}.game-screen .setup-command-panel>.setup-options{border-top:1px solid #82917e40;gap:8px;margin:16px 0 0;padding:12px 16px;display:grid}.game-screen .setup-command-panel>.setup-options>button{color:#182523;min-height:48px;box-shadow:none;background:#ddc77e;border:1px solid #eedb9d;border-radius:4px;margin:0;padding:10px 14px;font-size:.9rem;font-weight:750;line-height:1.2}.game-screen .setup-command-panel>.setup-options>button:hover:not(:disabled){background:#f0dc98}.game-screen .setup-command-panel>.setup-options>button:disabled{opacity:.5}.game-screen .setup-command-panel>.setup-options>p{color:#b5c3b5;grid-column:1/-1;margin:0;padding:4px 0;font-size:.75rem;line-height:1.4}.game-screen .setup-command-panel>.setup-progress{color:#aebcaf;border-top:1px solid #82917e40;margin:0;padding:10px 16px 14px;font-size:.72rem}.game-screen .setup-options-waiting button:disabled{cursor:default!important;filter:saturate(.35)!important;opacity:.32!important;box-shadow:none!important;transform:none!important}@media (width<=700px){.game-screen.setup-in-progress>.setup-command-panel{width:calc(100vw - 16px);max-height:min(430px,100dvh - 180px);padding:0;bottom:8px;right:8px}.game-screen .setup-command-panel>.setup-options{padding:10px 12px}.game-screen .setup-command-panel>.setup-options>button{min-height:48px;font-size:.86rem}.game-screen .setup-command-panel>.setup-progress{padding-inline:12px}}body:has(.home-screen){background:#eee9dd}.home-screen{color:#252923;max-width:1200px;min-height:100svh;padding:32px 56px 24px}.home-masthead{border-bottom:1px solid #252923;align-items:center;gap:24px;padding-bottom:24px;display:flex}.home-wordmark{letter-spacing:-.05em;font:900 32px/.9 Impact,Arial Narrow,sans-serif}.home-edition{margin-right:auto;font-size:12px}.home-screen .home-text-button{color:inherit;background:0 0;border:0;padding:8px 0;font-size:13px}.home-text-button span{margin-left:16px}.home-intro{grid-template-columns:minmax(0,1fr);justify-items:center;padding:52px 0 40px;display:grid}.home-intro-copy{width:min(100%,760px)}.home-kicker{text-transform:uppercase;letter-spacing:.12em;margin-bottom:25px;font-size:11px;font-weight:600}.home-screen h1{letter-spacing:-.025em;text-transform:uppercase;font-family:Impact,Arial Narrow,Helvetica Neue,sans-serif;font-size:clamp(48px,6.4vw,84px);font-weight:900;line-height:.98}.home-description{color:#55594e;margin-top:26px;font-size:15px;line-height:1.65}.home-start-panel{background:#e4e1d5;border:1px solid #c7c8b9;max-width:560px;margin-top:24px;padding:20px}.home-start-panel h2{margin-bottom:14px;font:700 20px/1.2 system-ui,sans-serif}.home-mode-options{gap:10px;display:grid}.home-mode-choice{color:#252923;text-align:left;cursor:pointer;background:#faf6ec;border:1px solid #a8aa9c;gap:5px;width:100%;padding:16px;display:grid}.home-back{color:#55594e;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;margin:0 0 12px;padding:0;text-decoration:underline}.home-start-panel .home-player-count{margin-top:12px}.home-start-panel .home-bot-difficulty{max-width:none;margin:0}.home-start-panel .home-start{width:100%;margin-top:0}.home-start-panel .home-start-solo{margin-top:0}.home-auth-choice{border-top:1px solid #c7c8b9;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;padding-top:14px;display:flex}.home-auth-choice>span{color:#626658;text-transform:uppercase;letter-spacing:.08em;flex:1 0 100%;font-size:11px}.home-auth-choice button{color:#252923;min-height:40px;font:inherit;cursor:pointer;background:0 0;border:1px solid #a8aa9c;padding:8px 12px;font-size:12px}.home-account-form .account-panel{width:100%;box-shadow:none;background:#252923;border:0;border-radius:0;margin:0}.home-account-form .account-matches,.home-account-form .account-social,.home-account-form .account-stats,.home-account-form .account-identity,.home-account-form .account-link-seat{display:none}.home-account-form .account-form{display:grid}.home-account-form .account-form button{justify-self:start}.home-player-count{color:#55594e;border-block:1px solid #c7c8b9;justify-content:space-between;align-items:center;gap:20px;max-width:320px;margin-top:28px;padding:11px 0;font-size:13px;display:flex}.home-player-count span{font-weight:650}.home-player-count select{color:#252923;min-height:38px;font:inherit;background:#faf6ec;border:1px solid #a8aa9c;border-radius:2px;padding:0 32px 0 11px}.home-bot-difficulty{color:#55594e;gap:6px;max-width:320px;margin-top:16px;font-size:12px;font-weight:700;display:grid}.home-bot-difficulty select{color:#252923;width:100%;min-height:40px;font:inherit;background:#faf6ec;border:1px solid #a8aa9c;border-radius:2px;padding:0 34px 0 11px;font-weight:600}.home-screen .home-start{color:#faf6ec;background:#252923;border:1px solid #252923;border-radius:2px;justify-content:space-between;align-items:center;gap:50px;margin-top:30px;padding:16px 22px;font-size:14px;font-weight:650;display:flex}.home-start:hover{background:#ac3d24;border-color:#ac3d24}.home-screen .home-start-solo{color:#252923;background:#eee9dd;margin-top:12px}.home-screen .home-start-scenario{color:#252923;background:0 0;margin-top:10px}.home-screen .home-start-scenario:hover{background:#e4e1d5;border-color:#252923}.solo-strategy-guide{border-block:1px solid #b4b6a7}.rules-challenge{border-bottom:1px solid #b4b6a7}.rules-challenge>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;padding:22px 0;list-style:none;display:flex}.rules-challenge>summary::-webkit-details-marker{display:none}.rules-challenge>summary>span{color:#77796e;letter-spacing:.12em;font-size:10px}.rules-challenge>summary strong{font-size:14px}.rules-challenge>summary strong span{margin-left:24px;font-size:19px;display:inline-block}.rules-challenge[open]>summary strong span{transform:rotate(45deg)}.rules-challenge-content{color:#55594e;max-width:720px;padding:0 0 24px;font-size:13px;line-height:1.55}.rules-challenge-question,.rules-challenge-result{background:#e4e1d5;border:1px solid #c7c8b9;margin-top:18px;padding:18px}.rules-challenge-progress{color:#77796e;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px;font-size:10px}.rules-challenge-question h2{color:#252923;margin-bottom:14px;font:700 18px/1.3 system-ui,sans-serif}.rules-challenge-choices{flex-wrap:wrap;gap:8px;display:flex}.rules-challenge-choices button,.rules-challenge-feedback button,.rules-challenge-result button{color:#252923;min-height:40px;font:inherit;cursor:pointer;background:#faf6ec;border:1px solid #a8aa9c;border-radius:2px;padding:8px 12px}.rules-challenge-choices button:disabled{cursor:default;opacity:.72}.rules-challenge-choices button.is-correct{opacity:1;background:#e1eadc;border-color:#426344}.rules-challenge-choices button.is-incorrect{opacity:1;background:#f3e0d8;border-color:#ac3d24}.rules-challenge-feedback{justify-content:space-between;align-items:center;gap:16px;margin-top:14px;display:flex}.rules-challenge-feedback p,.rules-challenge-result p{margin:0}.rules-challenge-result button{margin-top:14px}.solo-strategy-guide>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;padding:22px 0;list-style:none;display:flex}.solo-strategy-guide>summary::-webkit-details-marker{display:none}.solo-strategy-guide>summary>span{color:#77796e;letter-spacing:.12em;font-size:10px}.solo-strategy-guide>summary strong{font-size:14px}.solo-strategy-guide>summary strong span{margin-left:24px;font-size:19px;display:inline-block}.solo-strategy-guide[open]>summary strong span{transform:rotate(45deg)}.solo-strategy-content{color:#55594e;max-width:1000px;padding:2px 0 30px;font-size:13px;line-height:1.55}.strategy-columns{grid-template-columns:1fr 1fr;gap:34px;margin-top:24px;display:grid}.strategy-columns h2{color:#252923;margin-bottom:12px;font:700 19px/1.15 Georgia,serif}.strategy-columns article{border-top:1px solid #c7c8b9;padding:12px 0}.strategy-columns article strong{color:#252923}.strategy-columns article p{margin:4px 0 0}.strategy-note{background:#e6e1d5;border-left:3px solid #ac3d24;margin:18px 0 0;padding:14px 16px}.bot-turn-guidance{color:#42463d;background:#eee9ddeb;border-left:3px solid #ac3d24;align-items:baseline;gap:14px;margin:10px 18px;padding:10px 14px;font-size:12px;display:flex}.bot-turn-guidance strong{text-transform:uppercase;letter-spacing:.06em;flex:none}@media (width<=680px){.strategy-columns{grid-template-columns:1fr;gap:20px}.bot-turn-guidance{flex-direction:column;align-items:flex-start;gap:3px;margin:8px 10px}}.home-local-note{color:#66695f;margin-top:10px;font-size:11px}.home-online{border-block:1px solid #b4b6a7}.home-online>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;font-size:14px;list-style:none;display:flex}.home-online>summary::-webkit-details-marker{display:none}.home-online>summary>span{color:#55594e}.home-online summary strong{font-weight:600}.home-online summary strong span{margin-left:30px;font-size:20px;display:inline-block}.home-online[open] summary strong span{transform:rotate(45deg)}.home-screen .lobby{color:#55594e;background:#e4e1d5;border:1px solid #c7c8b9;flex-direction:column;align-items:stretch;margin:0 0 24px;padding:24px}.home-screen .lobby-actions{justify-content:flex-start}.home-screen .lobby .label{color:#55594e}.home-screen .lobby input,.home-screen .lobby select{color:#252923;font:inherit;background:#faf6ec;border-color:#a8aa9c;min-height:42px;font-size:13px}.home-screen .lobby input::placeholder{color:#626658}.home-screen .lobby button{color:#faf6ec;background:#252923;font-size:13px;font-weight:600}.home-screen .lobby button.subtle{color:#252923;background:0 0;border:1px solid #a8aa9c}.home-screen .lobby strong{color:#ac3d24}.home-screen .error{color:#a02e20!important}.home-screen .home-rules{background:#e4e1d5;border-color:#b4b6a7;margin-top:24px}.home-screen .home-rules h2{letter-spacing:-.03em;font:700 22px/1.2 system-ui,sans-serif}.home-screen .home-rules .ghost{color:#252923;background:0 0;border-color:#a8aa9c}.home-extras{border-block:1px solid #b4b6a7;max-width:760px;margin:12px auto 0}.home-extras>summary{cursor:pointer;color:#55594e;padding:16px 0;font-size:12px}.home-extras-content{padding-bottom:20px}.home-extras-content>.rules-challenge{border-top:1px solid #b4b6a7}.home-footer{color:#63665b;justify-content:flex-start;align-items:baseline;max-width:760px;margin:0 auto;padding-top:16px;font-size:11px;display:flex}.home-tools{text-align:right}.home-tools summary{cursor:pointer}.home-tools>div{flex-wrap:wrap;justify-content:flex-end;gap:14px;margin-top:16px;display:flex}.home-tools button{text-underline-offset:4px;color:#55594e;background:0 0;border:0;padding:6px 0;font-size:11px;text-decoration:underline}@media (width>=1500px){.home-screen{padding-top:48px}.home-intro{padding-block:80px}}@media (width<=700px){.home-screen{padding:24px}.home-masthead{gap:16px;padding-bottom:20px}.home-edition{display:none}.home-text-button{margin-left:auto}.home-intro{grid-template-columns:1fr;gap:8px;padding-block:40px}.home-screen h1{font-size:clamp(44px,11.8vw,78px)}.home-kicker{font-size:10px}.home-start-panel{max-width:none;padding:16px}.home-account-form{margin:12px -16px -16px}.home-account-form .account-panel-content{padding-inline:16px}.home-online>summary{font-size:12px}.home-online summary strong span{margin-left:12px}.home-screen .lobby{padding:16px}.home-screen .lobby-actions>*{flex:120px;min-width:0}.home-footer{font-size:10px}}:is(html:has(.home-screen),body:has(.home-screen)){background:#071321;width:100%;height:100%;overflow:hidden}body:has(.home-screen){margin:0}.home-screen{z-index:20;color:#f5edda;isolation:isolate;background:#071321;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;padding:0;display:flex;position:fixed;inset:0;overflow:hidden}.home-backdrop{z-index:-2;background:0 0;position:absolute;inset:0}.home-screen:before{z-index:-1;content:"";pointer-events:none;background:linear-gradient(90deg,#06111eee 0%,#071321e8 28%,#071321a8 47%,#0713211c 75%),linear-gradient(#06111e40,#0000 66%,#06111e88);position:absolute;inset:0}.home-frame{flex-direction:column;flex:auto;min-height:0;display:flex}.home-masthead{border-bottom:1px solid #e4ce9a66;flex:none;align-items:center;gap:16px;min-height:64px;margin:0 clamp(18px,5vw,72px);padding:0}.home-wordmark{color:#f2c86e;letter-spacing:.08em;border:1px solid #e4ce9a;place-items:center;width:38px;height:38px;font:900 13px/1 system-ui,sans-serif;display:grid}.home-edition{color:#e8dec7;letter-spacing:.14em;text-transform:uppercase;margin-right:auto;font-size:11px}.home-screen .home-text-button{color:#f2c86e;padding:9px 0;font-size:12px}.home-intro{align-items:center;justify-items:initial;flex:auto;min-height:0;padding:14px clamp(18px,5vw,72px) 20px;display:flex;overflow:hidden}.home-intro-copy{flex-direction:column;flex:0 455px;width:min(100%,455px);max-height:100%;display:flex}.home-kicker{color:#d6c191;letter-spacing:.16em;margin:0 0 12px;font-size:10px}.home-screen h1{color:#fff0d4;letter-spacing:.005em;text-shadow:0 3px #09101a,0 7px 24px #000a;margin:0;font-family:Impact,Arial Narrow,sans-serif;font-size:clamp(42px,5.1vw,72px);line-height:.85}.home-description{display:none}.home-menu-panel{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#071321df;border:1px solid #d8bd7b99;flex-direction:column;width:min(100%,400px);max-height:min(48dvh,460px);margin-top:clamp(14px,2.5vh,24px);display:flex;box-shadow:0 14px 40px #0009,inset 0 0 0 4px #07132188}.home-menu-scroll{overscroll-behavior:contain;scrollbar-color:#a68b57 #111b24;min-height:0;padding:14px;overflow:auto}.home-menu-scroll h2{color:#f5edda;margin:0 0 11px;font:700 18px/1.2 Georgia,serif}.home-primary-menu,.home-submenu-options{gap:8px;display:grid}.home-menu-button{color:#f5edda;text-align:left;cursor:pointer;background:linear-gradient(#27302d,#171f20);border:1px solid #b99c63;border-radius:2px;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:46px;padding:11px 14px;font:650 13px/1.2 system-ui,sans-serif;transition:background-color .13s,border-color .13s,transform .13s;display:flex}.home-menu-button:hover,.home-menu-button:focus-visible{background:#30372f;border-color:#f2c86e;transform:translate(2px)}.home-menu-button-primary{color:#161715;background:linear-gradient(#e67a43,#b8432d);border-color:#f2c86e;font-weight:800}.home-mode-choice{color:#f5edda;background:#111c23;border-color:#8c794f;gap:4px;min-height:54px;padding:11px 13px}.home-mode-choice strong{font-size:13px}.home-mode-choice span{color:#c8bea9;font-size:11px}.home-mode-choice:hover{background:#1b292b;border-color:#f2c86e}.home-back{color:#e1c986;margin:0 0 10px;padding:4px 0;text-decoration-color:#e1c98666;display:block}.home-screen .home-start{color:#fff4df;background:#c34d33;border-color:#d6b86b;border-radius:2px;min-height:44px;margin:0;padding:11px 14px;font-size:12px}.home-screen .home-start:hover{background:#e1693b}.home-screen .home-start-solo{color:#f5edda;background:#172321;border-color:#73674e;margin:0}.home-screen .home-start-solo:hover{background:#25352c;border-color:#d6b86b}.home-player-count{color:#ddd2b9;border-color:#6f664f;max-width:none;margin:4px 0;padding:9px 0;font-size:11px}.home-player-count select,.home-bot-difficulty select{color:#f5edda;background:#111b20;border-color:#8b7957;min-height:38px}.home-bot-difficulty{color:#ddd2b9;max-width:none;margin:0}.home-auth-choice{border-color:#756748;gap:8px;margin-top:10px;padding-top:10px;display:grid}.home-auth-choice>span{color:#d6c191}.home-auth-choice button{color:#f5edda;border-color:#927e54;min-height:40px}.home-auth-choice .home-guest-button{color:#f5edda;background:#344b35;border-color:#63805e}.home-auth-choice .home-local-note{color:#d6c191;text-transform:uppercase;letter-spacing:.12em;margin:0;font-size:10px}.home-account-form{margin:0}.home-account-form .account-panel{background:#111b20}.home-account-form .account-panel-content{padding:10px}.home-account-form .account-private-note{color:#c8bea9;margin:0 0 8px;font-size:11px}.home-settings-links{border-top:1px solid #756748;gap:7px;margin-top:12px;padding-top:10px;display:grid}.home-menu-footer{color:#bdb29c;letter-spacing:.08em;text-transform:uppercase;border-top:1px solid #d8bd7b55;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:6px 12px;font-size:9px;display:flex}.home-menu-footer button{color:#f2c86e;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0}.home-menu-scroll .lobby{color:#ddd2b9;background:#111c23;border-color:#8c794f;gap:10px;margin:0;padding:12px;display:flex}.home-menu-scroll .lobby input,.home-menu-scroll .lobby select{color:#f5edda;background:#09141d;border-color:#8b7957;min-height:38px}.home-menu-scroll .lobby button{color:#fff4df;background:#bd4a32;border:1px solid #d6b86b}.home-screen .home-rules{background:0 0;border:0;margin:0;padding:0}.home-screen .home-rules h2{color:#fff0d4;margin-bottom:7px}.home-screen .home-rules p,.home-screen .home-rules .label{color:#d3c7ae}.home-screen .home-tools{text-align:left;margin-top:14px}.home-screen .home-tools summary{color:#e5d29e}.home-screen .home-tools>div{justify-content:flex-start}.home-screen .home-tools button{color:#f0d89d}.home-menu-scroll .rules-challenge,.home-menu-scroll .rules-challenge-question,.home-menu-scroll .rules-challenge-result{color:#ddd2b9;background:#111c23;border-color:#756748}.home-menu-scroll .rules-challenge h2{color:#f5edda}.home-menu-scroll .rules-challenge-choices button,.home-menu-scroll .rules-challenge-feedback button,.home-menu-scroll .rules-challenge-result button{color:#f5edda;background:#172321;border-color:#8b7957}.home-menu-scroll .solo-strategy-content{color:#ddd2b9;padding:0}.home-auth-intro{color:#d3c7ae;margin:-4px 0 12px;font-size:11px;line-height:1.5}.home-screen .home-account-form .account-private-note{color:#d3c7ae}.home-screen .home-account-link{text-align:left;width:100%}.home-menu-scroll .lobby-entry-options{gap:8px;display:grid}.home-menu-scroll .lobby-entry-options button{color:#f5edda;text-align:left;cursor:pointer;background:#111c23;border:1px solid #8c794f;justify-content:space-between;align-items:center;min-height:48px;padding:10px 12px;display:flex}.home-menu-scroll .lobby-qr{color:#ddd2b9;justify-items:start;gap:5px;font-size:10px;display:grid}.home-menu-scroll .lobby-qr svg{shape-rendering:crispedges;background:#fff;width:116px;height:116px;padding:5px}.home-menu-scroll .strategy-columns{gap:16px;margin-top:12px}.home-menu-scroll .strategy-columns h3{color:#f5edda;margin:0 0 8px;font:700 14px/1.2 Georgia,serif}.home-menu-scroll .strategy-columns article{border-color:#6f664f}.home-menu-scroll .strategy-columns article strong{color:#f2c86e}.home-menu-scroll .strategy-note{background:#18231e}.home-screen :is(button,summary,input,select):focus-visible{outline-offset:3px;outline:2px solid #ffe08a}@media (width<=700px){.home-screen:before{background:linear-gradient(90deg,#06111edb,#071321a3 70%,#07132170),linear-gradient(#06111e66,#06111e15 35%,#06111eee 100%)}.home-backdrop{background-position:68%}.home-masthead{min-height:54px;margin-inline:18px}.home-edition{letter-spacing:.1em;font-size:9px}.home-intro{align-items:center;padding:12px 18px 16px}.home-intro-copy{flex-basis:410px;width:min(100%,410px)}.home-kicker{margin-bottom:9px;font-size:9px}.home-screen h1{font-size:clamp(39px,11vw,58px)}.home-menu-panel{width:100%;max-height:min(51dvh,480px);margin-top:13px}.home-menu-scroll{padding:11px}.home-menu-footer{min-height:30px;font-size:8px}.home-menu-scroll .strategy-columns{grid-template-columns:1fr}}@media (height<=650px) and (width>=701px){.home-masthead{min-height:48px}.home-kicker{margin-bottom:6px}.home-screen h1{font-size:clamp(38px,7vh,54px)}.home-menu-panel{max-height:43dvh;margin-top:10px}.home-menu-scroll{padding:9px}}@media (prefers-reduced-motion:reduce){.home-menu-button{transition:none}}.home-masthead{border-color:#aaa99d #aaa99d currentColor;border-bottom-style:none;border-bottom-width:0}.home-wordmark{color:#252923;letter-spacing:-.08em;border:0;font-size:18px}.home-edition,.home-screen .home-text-button{color:#55594e}.home-screen h1{color:#252923;text-shadow:none}.home-menu-panel{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#e4e1d5;border-color:#c7c8b9}.home-menu-scroll h2{color:#252923}.home-menu-button{color:#252923;background:#faf6ec;border-color:#a8aa9c}.home-menu-button:hover,.home-menu-button:focus-visible{background:#f4eee2;border-color:#ac3d24}.home-menu-button-primary{color:#faf6ec;background:#252923;border-color:#252923}.home-menu-button-primary:hover,.home-menu-button-primary:focus-visible{background:#ac3d24;border-color:#ac3d24}.home-back{color:#55594e}.home-screen .home-start{color:#faf6ec;background:#252923;border-color:#252923}.home-screen .home-start:hover{background:#ac3d24;border-color:#ac3d24}.home-screen .home-start-solo{color:#252923;background:#faf6ec;border-color:#a8aa9c}.home-menu-scroll .lobby{color:#42463d;background:#faf6ec;border-color:#c7c8b9}.home-menu-scroll .lobby .label{color:#77796e}.home-menu-scroll .lobby input,.home-menu-scroll .lobby select{color:#252923;background:#fffdf7;border-color:#a8aa9c}.home-menu-scroll .lobby button{color:#faf6ec;background:#252923;border-color:#252923}.home-menu-scroll .lobby button.subtle{color:#252923;background:#efede2;border-color:#a8aa9c}.home-menu-scroll .lobby strong{color:#ac3d24}.home-menu-scroll .lobby-entry-options button{color:#252923;background:#faf6ec;border-color:#a8aa9c}.home-menu-scroll .lobby-entry-options button:hover{background:#f4eee2;border-color:#ac3d24}.home-menu-scroll .lobby-qr{color:#55594e}.home-menu-footer{color:#63665b;border-color:#c7c8b9}.home-screen .home-menu-scroll .account-panel{background:#252923}.home-screen .home-menu-scroll .account-panel-content{color:#f5edda}.home-screen .home-auth-intro{color:#55594e}.home-screen .home-guest-button{color:#252923;min-height:40px;font:inherit;cursor:pointer;background:0 0;border:1px solid #a8aa9c;padding:8px 12px;font-size:12px}:is(html:has(.home-screen),body:has(.home-screen)){background:#171311}body:has(.home-screen){color:#f3ead9}.home-screen{color:#f3ead9;background:radial-gradient(at 55% 30%,#30231d 0%,#211a17 50%,#151211 100%)}.home-screen .home-backdrop,.home-screen:before{display:none}.home-frame{width:min(100%,960px);margin-inline:auto}.home-masthead{border-color:#66544888;justify-content:center;min-height:68px;margin-inline:clamp(20px,5vw,56px)}.home-wordmark{color:#f3ead9;letter-spacing:-.08em;width:auto;height:auto;font:900 16px/1 system-ui,sans-serif}.home-intro{justify-content:center;align-items:center;padding:28px 20px 56px}.home-intro-copy{text-align:center;flex:0 440px;align-items:center;width:min(100%,440px);max-height:100%}.home-screen h1{color:#f3ead9;letter-spacing:0;text-align:center;font-size:clamp(48px,8vw,78px);line-height:.83}.home-screen h1 span{color:#d77939}.home-menu-panel{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;margin-top:30px}.home-menu-scroll{padding:0;overflow:visible}.home-menu-scroll section[aria-labelledby=auth-menu-title]{text-align:left}.home-menu-scroll h2{color:#f3ead9;text-align:center;margin:0 0 16px;font:700 22px/1.2 Georgia,serif}.home-account-form{width:100%;margin:0}.home-account-form .account-panel{background:#211a17;border:1px solid #635044;border-radius:3px;width:100%;margin:0;box-shadow:0 18px 48px #0005}.home-account-form .account-panel>summary{display:none}.home-account-form .account-panel-content{color:#e8ddca;padding:22px}.home-account-form .account-private-note{color:#cbbba5;font-size:12px;line-height:1.45}.home-account-form .account-mode-tabs{justify-content:center;gap:8px;margin:0 0 16px;display:flex}.home-account-form .account-mode-tabs button{color:#e8ddca;min-height:40px;font:inherit;background:0 0;border:1px solid #66564a;border-radius:22px;padding:8px 16px}.home-account-form .account-mode-tabs button.selected{color:#211813;background:#d77939;border-color:#d77939}.home-account-form .account-form{gap:12px;margin:0;display:grid}.home-account-form .account-form label{color:#cbbba5;gap:6px;font-size:12px;display:grid}.home-account-form .account-form input{color:#f3ead9;background:#111416;border:1px solid #574b43;border-radius:4px;width:100%;min-height:42px;padding:9px 11px}.home-account-form .account-form button{color:#201611;background:#d77939;border:1px solid #d77939;border-radius:4px;justify-self:start;min-height:42px;padding:9px 18px;font-weight:750}.home-account-form .account-action-link{color:#e3b06d}.home-screen .home-guest-button{display:none}.home-screen :is(button,summary,input,select):focus-visible{outline-color:#e3b06d}@media (width<=700px){.home-masthead{min-height:56px;margin-inline:20px}.home-intro{padding:22px 20px 36px}.home-intro-copy{flex-basis:420px;width:min(100%,420px)}.home-screen h1{font-size:clamp(46px,13vw,68px)}.home-menu-panel{margin-top:24px}.home-account-form .account-panel-content{padding:18px}}.home-screen .lobby:has(.lobby-entry){color:#e8ddca;background:#211a17;border-color:#59463b;grid-template-columns:1fr;gap:18px;margin-top:24px;padding:20px;display:grid}.home-screen .lobby:has(.lobby-entry)>div:first-child{text-align:center}.home-screen .lobby:has(.lobby-entry)>div:first-child .label{color:#c3ad96}.home-screen .lobby:has(.lobby-entry)>div:first-child p{color:#cbbba5;margin-top:6px;font-size:13px}.home-screen .lobby-entry-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.home-screen .lobby-entry-options button{color:#f3ead9;text-align:left;background:#30231d;border:1px solid #735c4b;border-radius:4px;justify-content:space-between;align-items:center;min-height:54px;padding:13px 16px;font-weight:700;display:flex}.home-screen .lobby-entry-options button:hover{background:#3b2a21;border-color:#d77939}.home-screen .lobby-entry-options button:disabled{cursor:wait;opacity:.6}.home-screen .lobby-entry-form{gap:12px;display:grid}.home-screen .lobby-entry-form label{color:#cbbba5;text-align:left;gap:6px;font-size:12px;display:grid}.home-screen .lobby-entry-form :is(input,select){color:#f3ead9;background:#111416;border:1px solid #574b43;border-radius:4px;width:100%;min-height:42px;padding:9px 11px}.home-screen .lobby-entry-form button{color:#201611;background:#d77939;border:1px solid #d77939;border-radius:4px;min-height:42px;padding:9px 14px;font-weight:750}.home-screen .lobby-entry-form button.subtle,.home-screen .lobby-entry-form .lobby-entry-back{color:#e8ddca;background:0 0;border-color:#66564a;justify-self:start}.home-screen .lobby-entry-form .lobby-entry-note{color:#cbbba5;font-size:12px;line-height:1.4}@media (width<=540px){.home-screen .lobby-entry-options{grid-template-columns:1fr}}.game-screen{--hud-bg:#142221f0;--hud-border:#cbb67b61;--civ-brass:#c6ad6d;--civ-ivory:#f3edd8;--civ-muted:#b9c5b8}.game-screen>header{flex-wrap:nowrap;justify-content:space-between;gap:12px;min-height:56px;padding:6px 12px}.top-turn-summary{flex:auto;min-width:0;max-width:none}.top-turn-summary .turn-hud-heading{padding:0}.top-turn-summary .turn-hud-heading h2{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font:400 1.05rem/1.1 Georgia,serif;overflow:hidden}.top-turn-summary .turn-hud-heading .label{color:var(--civ-brass)}.top-turn-details{color:#d6ded4;flex-wrap:wrap;gap:4px 16px;margin-top:6px;font-size:.68rem;line-height:1.25;display:flex}.top-turn-details span{white-space:nowrap}.top-turn-details b{color:var(--civ-brass);letter-spacing:.06em;margin-right:4px;font-size:.58rem}.top-turn-summary .turn-progress{display:none}.game-screen>header .header-actions{align-items:center;min-width:max-content;margin-left:auto}.room-hud-menu-status{border-bottom:1px solid var(--hud-border);color:var(--civ-muted);padding:7px 9px;font-size:.66rem;display:block}.game-screen>.status{gap:3px;width:auto;max-width:390px;padding:5px 8px;top:76px;left:auto;right:14px}.game-screen>.status div{flex:none;padding:0 5px}.game-screen>.status div:nth-child(2),.game-screen>.status div:nth-child(3),.game-screen>.status div:nth-child(4),.game-screen>.status div:nth-child(5),.game-screen>.status div:nth-child(6){display:none}.game-screen>.status strong{margin:0;font-size:.72rem}.game-screen>.status .label{font-size:.48rem}.game-screen.setup-in-progress>.turn-progress,.game-screen.setup-in-progress .top-turn-summary .turn-progress{display:none}.hud-menu{z-index:50;position:relative}.hud-menu>summary{border:1px solid var(--hud-border);min-height:36px;color:var(--civ-ivory);cursor:pointer;background:#263b37;border-radius:5px;padding:8px 11px;font-size:.75rem;list-style:none}.hud-menu>summary::-webkit-details-marker{display:none}.hud-menu-items{border:1px solid var(--hud-border);background:#172625;border-radius:6px;min-width:170px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 26px #0008}.hud-menu-items .ghost{text-align:left}.hud-menu:focus-within>summary,.hud-menu[open]>summary{outline:2px solid var(--civ-brass);outline-offset:2px}.opponent-portrait-rail{z-index:22;pointer-events:none;flex-direction:column;gap:7px;display:flex;position:fixed;top:130px;right:14px}.opponent-portrait{background:#182725;border:2px solid #7f9180;border-radius:50%;width:48px;height:48px;position:relative;box-shadow:0 3px 12px #0008}.opponent-portrait img{object-fit:contain;border-radius:50%;width:100%;height:100%}.opponent-portrait>span{min-width:17px;height:17px;color:var(--civ-ivory);text-align:center;background:#233633;border-radius:10px;padding:1px 4px;font-size:10px;position:absolute;bottom:-3px;right:-3px}.opponent-portrait>i{border:2px solid #e3c474;border-radius:50%;position:absolute;inset:-4px}.opponent-portrait{cursor:pointer;pointer-events:auto;padding:2px}.opponent-portrait:hover,.opponent-portrait:focus-visible,.opponent-portrait[aria-expanded=true]{outline-offset:2px;border-color:#f0d98e;outline:2px solid #e2c77e}.player-public-status{border:1px solid var(--civ-brass);width:210px;color:var(--civ-ivory);pointer-events:auto;background:#172625f5;border-radius:7px;align-items:center;gap:10px;padding:10px;display:flex;position:absolute;top:0;right:58px;box-shadow:0 8px 24px #0008}.player-public-status>img{object-fit:contain;width:52px;height:58px}.player-public-status>div{gap:3px;font-size:.68rem;display:grid}.player-public-status small{color:var(--civ-brass);letter-spacing:.08em;font-size:.52rem}.military-research-turn-action{gap:5px;margin:0 0 16px;display:grid}.military-research-draw-choice{text-align:left;color:#26352c;cursor:pointer;background:linear-gradient(110deg,#f8f0d8,#ede7ce);border:1px solid #8b966f;border-left:4px solid #b69853;border-radius:7px;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:10px;width:100%;min-height:70px;padding:10px 13px;display:grid;box-shadow:0 2px 6px #101b1630}.military-research-draw-choice:hover:not(:disabled){background:#fff5db;border-color:#b69853;box-shadow:0 3px 10px #101b1640}.military-research-draw-choice:focus-visible{outline-offset:2px;outline:3px solid #d7bc72}.military-research-draw-choice:disabled{opacity:.62;cursor:not-allowed;box-shadow:none}.military-research-draw-icon{color:#f8edc9;background:#273d34;border:1px solid #c9b778;border-radius:50%;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.military-research-draw-copy{gap:3px;min-width:0;display:grid}.military-research-draw-copy strong{color:#26352c;font:700 .95rem Georgia,serif}.military-research-draw-copy small{color:#586354;font-size:.72rem;line-height:1.35}.military-research-draw-arrow{color:#526142;text-align:center;font-size:1.2rem}.military-research-turn-action>small{color:#586354;padding-left:6px;font-size:.72rem}.game-screen .map-controls{border-radius:7px;gap:4px;width:auto;padding:4px;inset:98px auto auto 14px;transform:none}.game-screen .map-controls button{border-radius:5px;min-width:44px;min-height:44px}.game-screen .map-controls .map-reset{width:44px;padding:4px;font-size:1.1rem;line-height:1}.game-screen .map-controls .map-zoom{min-width:40px;font-size:.68rem}.map-control-slot{flex:none;align-items:center;width:max-content;min-width:0;display:flex}.game-screen>.board-map-controls{z-index:22;top:calc(max(12px,env(safe-area-inset-top)) + 64px);left:max(14px,env(safe-area-inset-left));pointer-events:auto;width:44px;position:fixed}.game-screen>.board-map-controls>summary{border:1px solid var(--hud-border);background:var(--hud-bg);width:44px;height:44px;color:var(--civ-ivory);cursor:pointer;border-radius:6px;place-items:center;font-size:1.2rem;list-style:none;display:grid;box-shadow:0 4px 14px #06131170}.game-screen>.board-map-controls>summary::-webkit-details-marker{display:none}.game-screen>.board-map-controls[open]>summary{border-color:var(--civ-brass)}.game-screen>.board-map-controls>.map-control-slot{position:absolute;top:calc(100% + 4px);left:0}.game-screen>.board-map-controls .map-controls{z-index:auto;border:1px solid var(--hud-border);background:var(--hud-bg);pointer-events:auto;border-radius:6px;flex-direction:row;align-items:center;gap:2px;width:max-content;margin:0;padding:3px;display:flex;position:static;transform:none;box-shadow:0 4px 14px #06131170}.game-screen>.board-map-controls .map-controls button{border-color:var(--hud-border);background:#263b37;width:44px;min-width:44px;min-height:44px;padding:4px}.game-screen>.board-map-controls .map-controls .map-zoom{min-width:38px;color:var(--civ-ivory)}.game-screen>.board-map-controls .map-camera-mode{display:none}.player-public-status strong{font:400 1rem Georgia,serif}.player-public-status .player-public-close{width:30px;height:30px;color:var(--civ-ivory);cursor:pointer;background:0 0;border:0;font-size:1.2rem;position:absolute;top:2px;right:3px}.opponent-portrait.is-you{border-color:#d2bc78}.persistent-record.mobile-record-closed{z-index:35;left:max(12px, env(safe-area-inset-left));bottom:max(12px, env(safe-area-inset-bottom));width:82px;height:82px;box-shadow:none;background:0 0;border:0;border-radius:50%;position:fixed}.persistent-record.mobile-record-closed>:not(.mobile-record-toggle){display:none}.persistent-record.mobile-record-closed .mobile-record-toggle{border:2px solid var(--civ-brass);width:78px;height:78px;color:var(--civ-ivory);background:#182725;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;margin:0;padding:4px;display:flex;box-shadow:0 5px 18px #0009}.record-medallion{background:linear-gradient(#182725,#182725) padding-box, conic-gradient(#e6cc83 var(--health-percent),#45544b 0) border-box;border:3px solid #0000;border-radius:50%;place-items:center;width:58px;height:58px;display:grid;position:relative}.record-medallion img{object-fit:contain;width:44px;height:44px}.record-medallion b{background:#172624;border:1px solid #d7c486;border-radius:8px;min-width:22px;padding:1px 3px;font-size:10px;position:absolute;bottom:-2px;right:-6px}.persistent-record.mobile-record-closed .mobile-record-toggle small{font-size:10px}.persistent-record.mobile-record-closed .mobile-record-toggle>span:not(.record-medallion){display:none}.persistent-record.mobile-record-open{border-color:var(--hud-border);background:#172625;width:min(350px,100vw - 28px);max-height:45dvh;bottom:84px;left:14px;overflow:auto}.persistent-record.mobile-record-open>.mobile-record-toggle{z-index:3;width:36px;height:36px;color:var(--civ-ivory);box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;display:flex;position:absolute;top:2px;right:2px}.persistent-record.mobile-record-open>.mobile-record-toggle span{font-size:1.2rem;line-height:1}.game-screen:has(.persistent-record.mobile-record-closed) .layout>.bottom-context-dock{left:110px}.game-screen:has(.persistent-record.mobile-record-open) .layout>.bottom-context-dock{left:380px}.game-screen .board-minimap{transition:left .16s}@media (width>=701px){.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{left:380px}}.game-screen .layout>.command-station{width:min(440px,100vw - 32px)}.game-screen .command-station .action-dock{grid-template-columns:minmax(0,1fr) 164px}.game-screen .command-station .action-dock>button{border-radius:5px;width:164px}.game-screen .command-station .action-dock>button[aria-pressed=true]:not(:disabled){color:#fff0cc;background:#965022;box-shadow:inset 0 0 0 2px #f0d98e,0 2px 8px #0008}.game-screen .command-station .action-dock-status{font-size:.76rem}.game-screen>header .header-actions>.status div:nth-child(5),.game-screen>header .header-actions>.status div:nth-child(6){display:none}.game-screen .command-station .bottom-context-dock .monster-command-record{border:1px solid var(--hud-border);background:#172625f2;border-radius:7px 7px 0 0;grid-template-columns:66px minmax(0,1fr);max-height:150px;overflow:auto}.game-screen .command-station .bottom-context-dock .command-portrait img{width:62px;height:90px}.game-screen .command-station .bottom-context-dock .command-record-body{padding:6px 9px}.game-screen .command-station .bottom-context-dock .monster-command-record h3{letter-spacing:0;color:var(--civ-ivory);font:400 1.05rem Georgia,serif}.game-screen .command-station .bottom-context-dock .monster-command-record .sheet-stats,.game-screen .command-station .bottom-context-dock .command-movement{display:none}.game-screen .movement-checklist{padding:8px 0}.game-screen .movement-checklist-heading{color:var(--civ-ivory);justify-content:space-between;align-items:center;padding:0 10px 7px;font-size:.76rem;display:flex}.game-screen .movement-checklist-heading span{color:var(--civ-brass);font-variant-numeric:tabular-nums}.game-screen .movement-piece-list{gap:5px;width:max-content;max-width:100%;padding:4px 9px 8px;display:flex;overflow-x:auto}.game-screen .movement-piece{min-height:84px;color:var(--civ-ivory);background:#263934;border:1px solid #0000;border-radius:7px;flex:0 0 92px;grid-template-rows:48px minmax(30px,auto);justify-items:center;gap:3px;padding:4px;display:grid}.game-screen .movement-piece.selected{background:#394b3d;border-color:#e4ca79}.game-screen .movement-piece-portrait{background:#142321;border:1px solid #82917e;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;position:relative}.game-screen .movement-piece-portrait img{object-fit:contain;width:40px;height:40px}.game-screen .movement-piece-portrait i{color:#172523;text-align:center;background:#d9c47d;border-radius:50%;min-width:17px;height:17px;font-size:11px;font-style:normal;font-weight:800;position:absolute;bottom:-3px;right:-4px}.game-screen .movement-piece-label{text-align:center;max-width:84px}.game-screen .movement-piece-label strong{overflow-wrap:anywhere;max-width:84px;font-size:.62rem;line-height:1.15;display:block}.game-screen .movement-piece-label small,.game-screen .movement-piece-status{display:none}.game-screen .movement-checklist .movement-context{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.game-screen .command-station>.movement-checklist{pointer-events:auto;border:1px solid var(--hud-border);background:#172625ed;border-radius:7px;width:max-content;max-width:min(520px,100vw - 500px);max-height:136px;position:absolute;bottom:0;right:calc(100% + 10px);overflow:hidden;box-shadow:0 8px 24px #07111270}.mobile-command-toggle,.game-screen .movement-checklist .end-movement{display:none}.setup-step-track{gap:4px;margin:0 0 12px;padding:0;list-style:none;display:flex}.setup-step-track li{color:#aeb9ad;text-align:center;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #59685d;flex:1;padding:6px 3px;font-size:.58rem}.setup-step-track li.current{color:#f1e5bc;border-color:#e2c77e}.setup-step-track li.complete{color:#c1d2bb;border-color:#819e7b}.game-screen .setup-panel .setup-command-panel{max-height:55dvh}.game-screen .setup-panel.setup-command-panel{width:min(520px,100% - 30px);padding:16px}.game-screen .setup-command-panel .setup-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.game-screen .setup-panel:has(.monster-options) .monster-choice{flex:1 0 165px;min-width:165px;height:318px;min-height:318px;padding:9px 10px 10px!important}.game-screen .setup-panel:has(.monster-options) .monster-choice img{height:112px}.game-screen .setup-panel:has(.monster-options) .monster-choice-ability{max-height:78px;margin-top:6px;padding:7px;overflow:auto}.game-screen .setup-panel:has(.monster-options) .monster-choice-ability span{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.game-screen .setup-panel:has(.monster-options) .monster-choice{overflow:visible}:is(.game-screen .setup-panel:has(.monster-options) .monster-choice:hover,.game-screen .setup-panel:has(.monster-options) .monster-choice:focus-visible){z-index:5;height:auto}:is(.game-screen .setup-panel:has(.monster-options) .monster-choice:hover .monster-choice-ability,.game-screen .setup-panel:has(.monster-options) .monster-choice:focus-visible .monster-choice-ability){max-height:220px}:is(.game-screen .setup-panel:has(.monster-options) .monster-choice:hover .monster-choice-ability span,.game-screen .setup-panel:has(.monster-options) .monster-choice:focus-visible .monster-choice-ability span){display:block;overflow:visible}.game-screen>.setup-panel:has(.monster-options){height:auto;max-height:min(495px,100dvh - 165px);overflow-y:auto}.game-screen>.setup-panel:has(.monster-options){max-height:min(405px,100dvh - 165px)}.game-screen>.setup-panel:has(.monster-options)>.label{display:none}.game-screen>.setup-panel:has(.monster-options)>h2{display:none}.game-screen>.setup-panel:has(.monster-options)>p:not(.setup-progress):not(.setup-turn){display:none}.game-screen>.setup-panel:has(.monster-options) .monster-choice{height:260px;min-height:260px}.game-screen>.setup-panel:has(.monster-options) .monster-choice:hover{height:260px;min-height:260px}.game-screen>.setup-panel:has(.monster-options) .monster-choice:focus-visible{height:260px;min-height:260px}.game-screen>.setup-panel:has(.monster-options) .monster-choice img{height:88px}.game-screen>.setup-panel:has(.monster-options) .monster-choice-ability{max-height:64px;overflow:auto}.game-screen.setup-in-progress>.setup-panel:has(.branch-options){max-height:min(410px,100dvh - 165px);padding:12px;overflow:hidden}.game-screen.setup-in-progress>.setup-panel:has(.branch-options)>.label{display:none}.game-screen.setup-in-progress>.setup-panel:has(.branch-options)>h2{display:none}.game-screen.setup-in-progress>.setup-panel:has(.branch-options)>p:not(.setup-progress):not(.setup-turn){display:none}.game-screen>.setup-panel:has(.branch-options) .branch-options{height:280px;min-height:0;padding:4px 2px 8px;overflow:hidden}.game-screen>.setup-panel:has(.branch-options) .branch-choice{gap:6px;min-height:0;max-height:266px;padding:10px;overflow-y:auto}.game-screen>.setup-panel:has(.branch-options)>.setup-step-track{margin-bottom:6px}.game-screen>.setup-panel:has(.branch-options)>.setup-turn{margin:4px 0 6px}:is(.game-screen>.setup-panel:has(.branch-options) .branch-title,.game-screen>.setup-panel:has(.branch-options) .branch-description){flex:none}.game-screen>.setup-panel:has(.branch-options) .branch-description{min-height:0;font-size:.72rem;line-height:1.3}.game-screen>.setup-panel:has(.branch-options) .branch-unit{grid-template-columns:36px minmax(0,1fr);gap:7px;padding:5px 0;font-size:.72rem;line-height:1.28}.game-screen>.setup-panel:has(.branch-options) .branch-unit img{width:36px;height:38px}.game-screen>.setup-panel:has(.branch-options) .branch-unit-details{gap:4px}.game-screen>.setup-panel:has(.branch-options) .branch-unit-details>small{display:none}.game-screen>.setup-panel:has(.branch-options) .branch-select-label{text-align:center;background:#131e20;border-radius:4px;margin-top:auto;padding:8px;display:block;position:sticky;bottom:0}@media (width<=700px){.game-screen.setup-in-progress>.setup-panel:has(.monster-options){height:auto;max-height:min(52dvh,100dvh - 185px);padding:8px 0 6px;top:165px;bottom:auto;overflow-y:auto}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>:not(.monster-options){margin-inline:12px}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>.label{display:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>h2{display:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>p:not(.setup-progress){display:none}.game-screen>.setup-panel:has(.monster-options) .monster-options{scroll-snap-type:x mandatory;align-items:stretch;height:298px;min-height:0;margin:0;padding:4px 12px 8px;overflow:auto hidden}.game-screen>.setup-panel:has(.monster-options) .monster-choice{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);min-width:0;height:278px;min-height:278px;max-height:278px;transform:none}.game-screen>.setup-panel:has(.monster-options) .monster-choice:hover{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);min-width:0;height:278px;min-height:278px;max-height:278px;transform:none}.game-screen>.setup-panel:has(.monster-options) .monster-choice:focus-visible{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);min-width:0;height:278px;min-height:278px;max-height:278px;transform:none}.game-screen>.setup-panel:has(.monster-options) .monster-choice img{height:92px}.game-screen>.setup-panel:has(.monster-options) .monster-choice-ability{flex:none;max-height:62px;margin-top:4px;padding:5px 7px}.game-screen>.setup-panel:has(.monster-options) .monster-choice-ability span{-webkit-line-clamp:2;font-size:.66rem}.game-screen>.setup-panel:has(.monster-options) .monster-choice:focus-visible .monster-choice-ability{max-height:62px}.game-screen.setup-in-progress>.setup-panel:has(.monster-options)>.setup-progress{margin:0;padding:2px 12px 0}.game-screen.setup-in-progress>.setup-panel:has(.branch-options){width:auto;max-height:min(54dvh,100dvh - 185px);padding:8px 0 6px;inset:165px 8px auto;overflow-y:auto}.game-screen.setup-in-progress>.setup-panel:has(.branch-options)>:not(.branch-options):not(.setup-progress):not(.setup-turn){display:none}.game-screen.setup-in-progress>.setup-panel:has(.branch-options)>.setup-turn{margin:0;padding:2px 12px 6px;font-size:.76rem}.game-screen>.setup-panel:has(.branch-options) .branch-options{scroll-snap-type:x mandatory;flex-wrap:nowrap;gap:10px;height:min(350px,42dvh);min-height:0;padding:4px 12px 8px;display:flex;overflow:auto hidden}.game-screen>.setup-panel:has(.branch-options) .branch-choice{scroll-snap-align:start;flex:0 0 min(310px,100vw - 64px);gap:7px;min-width:0;height:100%;max-height:100%;padding:12px;overflow-y:auto}.game-screen>.setup-panel:has(.branch-options) .branch-title{font-size:1.2rem}.game-screen>.setup-panel:has(.branch-options) .branch-description{min-height:0;font-size:.72rem}.game-screen>.setup-panel:has(.branch-options) .branch-unit{grid-template-columns:34px minmax(0,1fr);gap:7px;padding:7px 0;font-size:.67rem;line-height:1.3}.game-screen>.setup-panel:has(.branch-options) .branch-unit img{width:34px;height:38px}.game-screen>.setup-panel:has(.branch-options) .branch-unit-details{gap:3px}.game-screen>.setup-panel:has(.branch-options) .branch-unit small{font-size:.62rem;display:block}.game-screen>.setup-panel:has(.branch-options) .branch-select-label{padding:7px;font-size:.78rem}.game-screen.setup-in-progress>.setup-command-panel{max-height:280px;padding:0;top:auto;bottom:8px}.game-screen.setup-in-progress>.setup-command-panel>.label,.game-screen.setup-in-progress>.setup-command-panel>h2,.game-screen.setup-in-progress>.setup-command-panel>p:not(.setup-turn):not(.setup-progress){display:none}.game-screen.setup-in-progress>.setup-command-panel>.setup-step-track{margin:0;padding:7px 12px 0}.game-screen .setup-command-panel>.setup-turn{margin-top:5px;padding-inline:12px;font-size:.76rem}.game-screen .setup-command-panel>.setup-options{margin-top:6px;padding:8px 12px}}.cinema-reveal-all{min-height:44px;color:var(--civ-ivory);cursor:pointer;background:#ffffff08;border:1px solid #9aa88a60;border-radius:4px;margin-left:8px;padding:10px 14px}@media (width<=900px){.game-screen>header{flex-wrap:wrap;gap:5px 10px;min-height:50px}.top-turn-summary{flex:auto;order:1;width:auto}.map-control-slot{order:2}.game-screen>header .header-actions{flex:1 0 100%;order:3;justify-content:space-between;width:100%;max-width:none}.top-turn-summary .turn-progress{display:none}.game-screen>.status{top:62px}}@media (width<=700px){.game-screen>header{top:max(5px,env(safe-area-inset-top));gap:3px 4px;padding:4px 6px;left:5px;right:5px}.top-turn-summary{flex:100%;min-width:0}.game-screen>header .header-actions{flex:none;order:2;justify-content:flex-start;width:auto;max-width:none}.map-control-slot{order:3}.top-turn-summary .turn-hud-heading h2{font-size:.9rem}.top-turn-summary .turn-hud-heading .label{font-size:.49rem}.hud-menu>summary{text-align:center;min-width:42px;min-height:38px;padding:8px}.hud-menu>summary span{display:none}.game-screen>header .map-control-slot .map-controls{gap:2px}.game-screen>header .map-control-slot .map-controls button{width:44px;min-width:44px;min-height:44px}.game-screen>header .map-control-slot .map-controls .map-zoom{min-width:32px}.game-screen .opponent-portrait-rail{top:112px}.game-screen>.status{top:57px;left:auto;right:5px}.game-screen .opponent-portrait-rail{flex-direction:row;gap:4px;top:86px;right:7px}.game-screen .opponent-portrait{width:36px;height:36px}.player-public-status{width:200px;top:44px;right:0}.persistent-record.mobile-record-closed{left:7px;bottom:calc(86px + env(safe-area-inset-bottom));width:66px;height:66px}.persistent-record.mobile-record-closed .mobile-record-toggle{width:64px;height:64px}.record-medallion{width:46px;height:46px}.record-medallion img{width:35px;height:35px}.persistent-record.mobile-record-open{left:6px;right:6px;bottom:calc(82px + env(safe-area-inset-bottom));width:auto;max-height:48dvh}.persistent-record.mobile-record-open .mobile-record-toggle{float:right;border-radius:50%;width:44px;height:44px;position:sticky;top:0}:is(.game-screen:has(.persistent-record.mobile-record-closed) .layout>.bottom-context-dock,.game-screen:has(.persistent-record.mobile-record-open) .layout>.bottom-context-dock){width:auto;bottom:82px;left:6px;right:6px}.game-screen .layout>.command-station{left:6px;right:6px;bottom:calc(6px + env(safe-area-inset-bottom));width:auto}.game-screen .map-controls{gap:3px;padding:3px;inset:102px auto auto 8px}.game-screen .map-controls button{min-width:44px;min-height:44px}.game-screen .map-controls .map-reset{width:44px;min-height:44px}.game-screen .command-station{height:118px}.game-screen .command-station>.mobile-command-toggle{border:1px solid var(--hud-border);width:100%;height:40px;color:var(--civ-ivory);text-align:left;background:#172625f5;border-bottom:0;border-radius:7px 7px 0 0;align-items:center;gap:9px;padding:4px 9px;display:flex;position:absolute;bottom:72px;left:0;right:0}.mobile-command-toggle img{object-fit:contain;width:32px;height:32px}.mobile-command-toggle>span{flex:1;min-width:0;line-height:1.15;display:grid}.mobile-command-toggle strong{text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap;font-size:.72rem;overflow:hidden}.mobile-command-toggle small{color:var(--civ-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.57rem;overflow:hidden}.mobile-command-toggle>b{color:var(--civ-brass);font-size:1rem}.game-screen .command-station:not(.mobile-command-expanded)>.movement-checklist,.game-screen .command-station:not(.mobile-command-expanded)>.bottom-context-dock{display:none}.game-screen .command-station .action-dock{grid-template-columns:minmax(0,1fr) 136px;gap:7px;height:72px;min-height:72px;padding:8px}.game-screen .command-station>.board-action-bar{height:72px;position:absolute;bottom:0;left:0;right:0}.game-screen .command-station .action-dock{height:72px;min-height:72px}.game-screen .command-station .action-dock>button{width:136px;height:auto;min-height:48px;padding:6px;font-size:.7rem}.game-screen .command-station .action-dock-status{max-height:34px;font-size:.65rem}.game-screen .command-station>.movement-checklist{width:100%;max-height:110px;bottom:calc(118px + min(42dvh,330px));left:0;right:0}.game-screen .command-station>.bottom-context-dock{border:1px solid var(--hud-border);background:#172625f5;border-radius:7px;max-height:min(42dvh,330px);bottom:118px;overflow-y:auto}.game-screen .command-station .context-tab-body{max-height:min(42dvh,330px)}.game-screen .movement-piece{flex-basis:88px;grid-template-rows:42px minmax(28px,auto);min-height:72px}.game-screen .movement-piece-portrait{width:40px;height:40px}.game-screen .movement-piece-portrait img{width:35px;height:35px}.game-screen .movement-piece-label{max-width:80px}.game-screen .movement-piece-label strong{max-width:80px;font-size:.6rem}.cinema-reveal-all{margin:8px 0 0}}@media (width<=360px){.game-screen>header .map-control-slot .map-controls .map-zoom{display:none}}@media (width<=700px){.game-screen .layout>.command-station{height:72px;min-height:72px;overflow:visible}.game-screen .command-station:not(.mobile-command-expanded) .mobile-record-slot,.game-screen .command-station:not(.mobile-command-expanded)>.movement-checklist,.game-screen .command-station:not(.mobile-command-expanded)>.bottom-context-dock{display:none}.game-screen .command-station>.mobile-command-toggle{border-right:0;border-bottom:1px solid var(--hud-border);border-radius:7px 0 0 7px;justify-content:flex-start;gap:6px;width:110px;height:72px;min-height:72px;padding:5px;inset:auto auto 0 0}.game-screen .command-station .command-medallion{border-width:2px;flex:0 0 44px;width:44px;height:44px}.game-screen .command-station .command-medallion img{width:34px;height:34px}.game-screen .command-station .command-medallion b{min-width:19px;font-size:9px;right:-5px}.game-screen .mobile-command-toggle>span{flex:1;gap:2px;min-width:0;display:grid}.game-screen .mobile-command-toggle strong{font-size:.62rem}.game-screen .mobile-command-toggle small{white-space:normal;font-size:.52rem}.game-screen .mobile-command-toggle>b{display:none}.game-screen .command-station>.board-action-bar{width:auto;height:72px;bottom:0;left:110px;right:0}.game-screen .command-station>.board-action-bar .action-dock{border-radius:0 7px 7px 0;grid-template-columns:minmax(0,1fr) 136px;gap:5px;height:72px;min-height:72px;padding:6px}.game-screen .command-station>.board-action-bar .action-dock>button{width:136px;height:auto;min-height:48px;padding:5px;font-size:.68rem}.game-screen .command-station>.board-action-bar .action-dock-status{max-height:34px;font-size:.58rem}.game-screen .command-station.mobile-command-expanded{border:1px solid var(--hud-border);background:#142322f7;border-radius:8px;flex-direction:column;gap:8px;height:auto;min-height:240px;max-height:min(72dvh,560px);padding:56px 8px 8px;display:flex;overflow:hidden auto;box-shadow:0 12px 36px #061311b0}.game-screen .command-station.mobile-command-expanded>.mobile-command-toggle{border:0;border-bottom:1px solid var(--hud-border);border-radius:7px 7px 0 0;width:100%;height:48px;min-height:48px;padding-inline:8px;inset:0 0 auto}.game-screen .command-station.mobile-command-expanded .mobile-command-toggle>b{display:block}.game-screen .command-station.mobile-command-expanded .mobile-record-slot{flex:none;width:100%;display:block}.game-screen .command-station.mobile-command-expanded .persistent-record.mobile-record-open{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;margin:0;padding:0;position:static;inset:auto;overflow:visible}.game-screen .command-station.mobile-command-expanded .persistent-record.mobile-record-open>.mobile-record-toggle{display:none}.game-screen .command-station.mobile-command-expanded .record-tabs{gap:5px;margin:0 0 7px;display:flex}.game-screen .command-station.mobile-command-expanded .record-tabs button{border:1px solid var(--hud-border);min-height:44px;color:var(--civ-ivory);background:#263b37;border-radius:5px;flex:1}.game-screen .command-station.mobile-command-expanded .record-tabs button[aria-selected=true]{border-color:var(--civ-brass);background:#3d4b3c}.game-screen .command-station.mobile-command-expanded #record-panel{gap:6px;display:grid}.game-screen .command-station.mobile-command-expanded #record-panel .record-preview{min-height:64px}.game-screen .command-station.mobile-command-expanded>.movement-checklist{order:2;width:100%;max-width:none;max-height:none;position:static;overflow:visible;transform:none}.game-screen .command-station.mobile-command-expanded>.bottom-context-dock{background:0 0;border:0;flex:0 auto;order:3;width:100%;min-height:0;max-height:none;position:static;inset:auto;overflow:visible}.game-screen .command-station.mobile-command-expanded .context-tab-body{max-height:24dvh;overflow:auto}.game-screen .command-station.mobile-command-expanded>.board-action-bar{flex:none;order:4;align-self:stretch;width:100%;height:72px;margin:0;position:sticky;inset:auto}.game-screen .command-station.mobile-command-expanded>.board-action-bar .action-dock{border-radius:0 0 7px 7px}.game-screen .player-sheet-peeks{display:none}}@media (width>=320px) and (width<=700px){.game-screen .command-station>.mobile-command-toggle{width:128px}.game-screen .command-station>.board-action-bar{left:128px}.game-screen .mobile-command-toggle strong{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}}@media (width>=320px) and (width<=380px){.game-screen .command-station>.board-action-bar .action-dock{grid-template-columns:minmax(0,1fr) 116px}.game-screen .command-station>.board-action-bar .action-dock>button{width:116px}}@media (height<=540px) and (width>=601px){.game-screen .map-controls{inset:92px auto auto 12px}}.game-screen>header{flex-wrap:nowrap;justify-content:space-between}.game-screen>header .top-turn-summary{flex:auto;min-width:0;max-width:none}.game-screen>header .top-turn-summary .turn-progress{display:none}.game-screen>header .header-actions{flex:none;order:0;justify-content:flex-end;width:auto;max-width:none}.game-screen>.board-map-controls{top:calc(max(12px,env(safe-area-inset-top)) + 64px)}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{top:190px;bottom:auto;left:max(14px,env(safe-area-inset-left));width:min(260px,100vw - 40px);height:auto;max-height:140px;display:block}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap svg{height:100px}.game-screen #turn-hud-body>.turn-progress{border:1px solid var(--hud-border);background:#172625;border-radius:6px;margin:0 0 10px;padding:8px;display:block}.game-screen #turn-hud-body>.status{border:1px solid var(--hud-border);background:#172625;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));width:auto;max-width:none;max-height:none;margin:8px 0;padding:8px;display:grid;position:static;overflow:visible}.game-screen #turn-hud-body>.status div{min-width:0}.game-screen .command-station>.movement-checklist{z-index:42;width:max-content;max-width:min(360px,100vw - 48px);max-height:112px;position:fixed;bottom:112px;left:50%;right:auto;overflow:hidden;transform:translate(-50%)}.game-screen .movement-piece-list{box-sizing:border-box;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain;width:max-content;max-width:100%;padding-left:14px;padding-right:14px;scroll-padding-inline:14px;overflow:auto hidden}.game-screen .movement-piece{scroll-snap-align:center}@media (width>=701px) and (width<=900px){.game-screen .command-station>.movement-checklist{bottom:300px}}@media (height<=540px) and (width>=1640px){.game-screen .command-station>.movement-checklist{bottom:max(16px,env(safe-area-inset-bottom));margin:0}}@media (height<=540px) and (width>=601px) and (width<=1100px){.game-screen .command-station>.movement-checklist{top:max(64px,calc(env(safe-area-inset-top) + 56px));right:max(12px,env(safe-area-inset-right));max-width:calc(100vw - 172px);bottom:auto;left:160px;transform:none}}.opponent-portrait-rail [data-branch=Army],.record-medallion[data-branch=Army]{--branch-color:#a65d3a}.opponent-portrait-rail [data-branch=Navy],.record-medallion[data-branch=Navy]{--branch-color:#397b9b}.opponent-portrait-rail [data-branch=Air\ Force],.record-medallion[data-branch=Air\ Force]{--branch-color:#8497a9}.opponent-portrait-rail [data-branch=Marines],.record-medallion[data-branch=Marines]{--branch-color:#a13c32}.opponent-portrait-rail{gap:10px}.opponent-player-card,.opponent-portrait{overflow:visible}.opponent-player-card .opponent-portrait>img{width:100%;height:100%}.record-medallion img{width:42px;height:42px}.record-branch-mark{z-index:2;background:var(--branch-color,#526e24);color:#fffde3;border:1px solid #e9d99e;border-radius:50%;place-items:center;width:19px;height:19px;font-size:8px;font-style:normal;font-weight:900;line-height:1;display:grid;position:absolute;top:-6px;left:-6px}.player-public-branch{color:var(--branch-color,#c6ad6d);align-items:center;gap:5px;font-weight:700;display:flex}.player-public-branch i{background:var(--branch-color,#526e24);color:#fffde3;border-radius:50%;place-items:center;width:18px;height:18px;font-size:.52rem;font-style:normal;display:grid}.player-public-controls{color:#f3d58b;line-height:1.35}.game-screen.setup-in-progress>.setup-panel:has(.monster-options){max-height:min(495px,100dvh - 165px);overflow-y:auto}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-options{align-items:stretch;height:auto;min-height:0;overflow:auto visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice{height:auto;min-height:320px;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:hover{height:auto;min-height:320px;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:focus-visible{height:auto;min-height:320px;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice img{height:88px}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice-ability{flex:none;min-height:0;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:hover .monster-choice-ability{flex:none;min-height:0;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:focus-visible .monster-choice-ability{flex:none;min-height:0;max-height:none;overflow:visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice-ability span{-webkit-line-clamp:unset;display:block;overflow:visible}@media (width<=900px){.game-screen>header{flex-wrap:nowrap;gap:8px}.game-screen>header .header-actions{flex:none;order:0;width:auto}.game-screen>.board-map-controls{top:calc(max(5px,env(safe-area-inset-top)) + 60px);left:max(7px,env(safe-area-inset-left))}}@media (width<=700px){.game-screen>header{flex-wrap:nowrap}.game-screen>header .top-turn-summary{flex:auto;width:auto;min-width:0}.game-screen>header .top-turn-summary .turn-hud-heading h2{max-width:100%;font-size:.82rem}.game-screen>header .header-actions{flex:none;order:0;width:auto;max-width:none}.game-screen>.board-map-controls{top:calc(max(5px,env(safe-area-inset-top)) + 61px)}.game-screen>.board-map-controls .map-controls{gap:1px;padding:2px}.game-screen>.board-map-controls>summary{width:44px;height:44px}.game-screen>.board-map-controls .map-controls button{width:44px;min-width:44px;min-height:44px}.game-screen>.board-map-controls .map-controls .map-zoom{min-width:32px}.game-screen>.board-map-controls .map-controls{flex-direction:column;align-items:stretch;width:50px}.game-screen>.board-map-controls .map-controls .map-zoom{min-height:20px}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{width:min(220px,100vw - 36px);height:auto;max-height:135px;display:block;inset:140px 8px auto auto}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap svg{height:110px}.opponent-portrait-rail{top:calc(max(5px,env(safe-area-inset-top)) + 61px);right:max(7px,env(safe-area-inset-right));flex-direction:row;align-items:flex-start;gap:4px;left:auto}.opponent-player-card{width:62px;min-height:64px;padding:1px}.opponent-portrait{width:46px;height:46px;padding:3px}.opponent-portrait .opponent-active-ring{inset:-7px}.opponent-health-badge,.opponent-player-number,.opponent-branch-mark{min-width:16px;min-height:15px;padding:1px 3px;font-size:7px}.opponent-control-badges{gap:1px;top:-6px;right:-6px}.opponent-control-badges i{width:15px;height:13px;font-size:6px}.player-public-status{width:min(244px,100vw - 16px);top:64px;right:0}.game-screen>header .hud-menu-items .how-to-play-action,.game-screen>header .hud-menu-items .new-game-action,.game-screen>header .hud-menu-items .leave-room-action{display:block}.game-screen.setup-in-progress>.setup-panel:has(.monster-options){max-height:min(65dvh,100dvh - 185px);overflow-y:auto}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-options{align-items:stretch;height:auto;min-height:0;max-height:none;overflow:auto visible}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);height:auto;min-height:350px;max-height:none;transform:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:hover{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);height:auto;min-height:350px;max-height:none;transform:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice:focus-visible{scroll-snap-align:start;flex:0 0 min(278px,100vw - 72px);width:min(278px,100vw - 72px);height:auto;min-height:350px;max-height:none;transform:none}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice img{height:78px}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice-ability{margin-top:5px;padding:7px}.game-screen.setup-in-progress>.setup-panel:has(.monster-options) .monster-choice-ability span{font-size:.7rem;line-height:1.3}}@media (width<=360px){.game-screen>.board-map-controls .map-controls{flex-direction:row;width:max-content}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap{width:144px;height:66px;max-height:66px;padding:3px;top:126px;left:auto;right:8px}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap>span{letter-spacing:.08em;margin-bottom:2px;font-size:.4rem}.game-screen:has(.persistent-record.mobile-record-open[data-record-tab=map]) .board-minimap svg{height:44px}.opponent-player-card{width:54px;min-height:60px}.opponent-portrait{width:42px;height:42px}.opponent-control-badges i{width:13px}}.game-screen>header:has(.hud-menu[open]){z-index:60}.game-screen>header .hud-menu>summary .hud-menu-close-icon{font-size:1.35rem;line-height:1;display:none}.game-screen>header .hud-menu[open]>summary .hud-menu-open-icon{display:none}.game-screen>header .hud-menu[open]>summary .hud-menu-close-icon{display:inline}@media (width<=700px){.game-screen>header .hud-menu{z-index:61}.game-screen>header .hud-menu-items{width:min(320px,calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)));min-width:0;max-height:calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;padding:8px;left:0;right:auto;overflow-y:auto}.game-screen>header .hud-menu>summary .hud-menu-open-icon{display:inline}.game-screen>header .hud-menu>summary .hud-menu-close-icon,.game-screen>header .hud-menu>summary .hud-menu-label{display:none}.game-screen>header .hud-menu-items>.ghost{min-height:44px;padding:10px 12px}.game-screen>header .hud-menu-items>.account-panel{box-sizing:border-box;width:100%;max-height:none;margin:4px 0 0}.game-screen>header .hud-menu-items>.account-panel .account-panel-content{max-height:none}}.game-screen .opponent-portrait-rail{align-items:center;gap:10px}.game-screen .opponent-player-card{width:72px;min-height:80px;box-shadow:none;color:var(--civ-ivory);background:0 0;border:0;border-radius:8px;place-items:center;padding:4px;display:grid;position:relative;overflow:visible}.game-screen .opponent-player-card.has-trophies{min-height:94px}.game-screen .opponent-player-card.has-trophies .opponent-portrait{transform:translateY(-7px)}.game-screen .opponent-player-card .opponent-trophy-badge{color:#e8d69d;white-space:nowrap;pointer-events:none;background:#172624ed;border:1px solid #9b8b59;border-radius:8px;justify-content:center;align-items:center;gap:3px;min-width:37px;height:15px;padding:0 4px;font-size:9px;font-weight:800;line-height:1;display:flex;position:absolute;bottom:-6px;right:50%;transform:translate(50%);box-shadow:0 2px 5px #0006}.game-screen .opponent-player-card .opponent-trophy-icons{align-items:center;padding-left:2px;display:flex}.game-screen .opponent-player-card .opponent-trophy-icons img{object-fit:contain;filter:drop-shadow(0 1px 1px #0009);width:12px;height:12px;margin-left:-2px;display:block}.game-screen .opponent-player-card .opponent-trophy-icons img:first-child{margin-left:0}.game-screen .opponent-player-card .opponent-trophy-badge b{font-size:9px;line-height:1}.game-screen .opponent-player-card .opponent-portrait{border:2px solid var(--branch-color,#879079);background:#182725;border-radius:50%;place-items:center;width:62px;height:62px;padding:4px;display:grid;position:relative;overflow:visible;box-shadow:0 3px 12px #0008}.game-screen .opponent-player-card .opponent-portrait:before{z-index:0;background:linear-gradient(#182725,#182725) padding-box,conic-gradient(#e6cc83 var(--health-percent),#45544b 0) border-box;content:"";pointer-events:none;border:2px solid #0000;border-radius:50%;position:absolute;inset:-5px}.game-screen .opponent-player-card .opponent-portrait img{z-index:1;object-fit:contain;border-radius:50%;width:100%;height:100%;position:relative}.game-screen .opponent-player-card .opponent-portrait>.opponent-health-badge,.game-screen .opponent-player-card .opponent-portrait>.opponent-player-number,.game-screen .opponent-player-card .opponent-portrait>.opponent-branch-mark{z-index:2;min-width:20px;min-height:18px;color:var(--civ-ivory);background:#172624;border:1px solid #d7c486;border-radius:10px;place-items:center;padding:1px 4px;font-size:9px;font-weight:800;line-height:1;display:grid;position:absolute}.game-screen .opponent-player-card .opponent-portrait>.opponent-health-badge{bottom:-5px;left:-7px;right:auto}.game-screen .opponent-player-card .opponent-portrait>.opponent-player-number{min-width:17px;bottom:-5px;left:auto;right:-6px}.game-screen .opponent-player-card .opponent-portrait>.opponent-branch-mark{background:var(--branch-color,#526e24);color:#fffde3;min-width:21px;inset:-7px auto auto -6px}.game-screen .opponent-player-card .opponent-control-badges{z-index:3;gap:2px;display:grid;position:absolute;top:-7px;right:-7px}.game-screen .opponent-player-card .opponent-control-badges i{color:#f7edcf;background:#24342c;border:1px solid #e5d599;border-radius:5px;place-items:center;width:18px;height:16px;font-size:7px;font-style:normal;font-weight:900;line-height:1;display:grid}.game-screen .opponent-player-card .opponent-control-badges [data-control=national-guard]{background:#7e512e}.game-screen .opponent-player-card .opponent-control-badges [data-control=mecha-monster]{background:#7c3c2f}.game-screen .opponent-player-card .opponent-control-badges [data-control=captain-colossal]{background:#425572}.game-screen .opponent-player-card .opponent-portrait>.opponent-active-ring{pointer-events:none;border:2px solid #e3c474;border-radius:50%;position:absolute;inset:-9px}.game-screen .opponent-player-card:hover .opponent-portrait,.game-screen .opponent-player-card:focus-visible .opponent-portrait,.game-screen .opponent-player-card[aria-expanded=true] .opponent-portrait{outline-offset:4px;outline:2px solid #e2c77e}.game-screen .opponent-player-card.is-active{background:#e3c47412}.game-screen .opponent-player-card.is-you .opponent-portrait{box-shadow:0 0 0 2px #d2bc78,0 3px 12px #0008}.game-screen .player-public-status{width:244px;right:76px}.game-screen .persistent-record.mobile-record-closed .record-medallion .record-branch-mark{width:17px;height:17px;font-size:7px;top:-5px;left:-5px}.game-screen .command-station .command-medallion .record-branch-mark{width:16px;height:16px;font-size:6px;top:-5px;left:-5px}.game-screen .travelling-piece{object-fit:contain;transform-origin:50%;will-change:transform;filter:drop-shadow(0 2px 3px #101a12);display:block}.game-screen .travelling-military-unit{filter:drop-shadow(0 0 5px #f4d780)drop-shadow(0 2px 2px #101a12)}@media (width<=700px){.game-screen .opponent-portrait-rail{top:calc(max(5px,env(safe-area-inset-top)) + 61px);right:max(7px,env(safe-area-inset-right));flex-direction:row;align-items:flex-start;gap:4px;left:auto}.game-screen .opponent-player-card.has-trophies{min-height:64px}.game-screen .opponent-player-card.has-trophies .opponent-portrait{transform:none}.game-screen .opponent-player-card .opponent-trophy-badge{display:none}.game-screen .opponent-player-card{width:62px;min-height:64px;padding:1px}.game-screen .opponent-player-card .opponent-portrait{width:46px;height:46px;padding:3px}.game-screen .opponent-player-card .opponent-portrait>.opponent-health-badge,.game-screen .opponent-player-card .opponent-portrait>.opponent-player-number,.game-screen .opponent-player-card .opponent-portrait>.opponent-branch-mark{min-width:16px;min-height:15px;padding:1px 3px;font-size:7px}.game-screen .opponent-player-card .opponent-control-badges{gap:1px;top:-6px;right:-6px}.game-screen .opponent-player-card .opponent-control-badges i{width:15px;height:13px;font-size:6px}.game-screen .opponent-player-card .opponent-portrait>.opponent-active-ring{inset:-7px}.game-screen .player-public-status{width:min(244px,100vw - 16px);top:64px;right:0}}@media (width<=360px){.game-screen .opponent-player-card{width:54px;min-height:60px}.game-screen .opponent-player-card.has-trophies{min-height:60px}.game-screen .opponent-player-card .opponent-portrait{width:42px;height:42px}.game-screen .opponent-player-card .opponent-control-badges i{width:13px}}@media (hover:none),(pointer:coarse){.game-screen .setup-panel .monster-choice:hover:not(:disabled){z-index:auto;transform:none;box-shadow:inset 8px 0 #252c2d,inset 0 0 0 5px #ffffff16,0 8px 16px #07111270}.game-screen .setup-panel .monster-choice:hover:not(:disabled):not(.monster-choice-selected){border-color:#ded9ba!important}.game-screen .setup-panel .monster-choice:hover:not(:disabled) img{transform:none}.game-screen .setup-panel .branch-choice:hover:not(:disabled){border-color:#ded9ba;box-shadow:inset 0 0 0 4px #ffffff12}}.game-screen .command-station .action-dock:has(.action-dock-secondary){grid-template-columns:minmax(0,1fr) 132px 132px}.game-screen .command-station .action-dock:has(.action-dock-secondary)>button{width:100%}@media (width<=700px){.game-screen .command-station:has(.action-dock-secondary){height:112px;min-height:112px}.game-screen .command-station:has(.action-dock-secondary)>.board-action-bar{height:112px}.game-screen .command-station .action-dock:has(.action-dock-secondary){grid-template-rows:auto 48px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;height:112px;min-height:112px;padding:7px}.game-screen .command-station .action-dock:has(.action-dock-secondary) .action-dock-info{grid-column:1/-1;gap:2px}.game-screen .command-station .action-dock:has(.action-dock-secondary) .action-dock-status{max-height:26px;font-size:.62rem}.game-screen .command-station .action-dock:has(.action-dock-secondary)>button{width:100%;min-width:0;height:48px;min-height:48px;padding:4px;font-size:.64rem;line-height:1.1}}.account-panel{color:#f7ecce;text-align:left;background:#191e25f2;border:1px solid #eecb8147;border-radius:.9rem;width:min(100% - 2rem,52rem);margin:1rem auto;box-shadow:0 12px 36px #0000003d}.account-panel>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;list-style:none;display:flex}.account-panel>summary::-webkit-details-marker{display:none}.account-panel>summary span{color:#dfb970;letter-spacing:.13em;font-size:.7rem}.account-panel>summary strong{font-size:.95rem}.account-panel-content{padding:0 1rem 1rem}.account-private-note,.account-message,.account-choices{color:#d2c7b2;font-size:.85rem}.account-message{color:#b9d4a4}.account-mode-tabs,.account-secondary-actions{flex-wrap:wrap;gap:.5rem;margin:.7rem 0;display:flex}.account-mode-tabs button,.account-secondary-actions button{color:#eadfc8;cursor:pointer;background:0 0;border:1px solid #eecb813d;border-radius:99px;padding:.45rem .8rem}.account-mode-tabs button.selected{color:#201b15;background:#dfb970}.account-form,.account-inline-form{flex-wrap:wrap;align-items:end;gap:.65rem;margin:.8rem 0;display:flex}.account-form label,.account-inline-form label{color:#d2c7b2;flex:12rem;gap:.35rem;font-size:.8rem;display:grid}.account-form input,.account-inline-form input,.account-leaderboard select{color:#f7ecce;background:#11171d;border:1px solid #eecb814d;border-radius:.45rem;min-width:0;padding:.6rem .7rem}.account-form button,.account-inline-form button,.account-link-seat,.account-matches button{color:#201b15;cursor:pointer;background:#dfb970;border:0;border-radius:.45rem;padding:.65rem .9rem;font-weight:700}.account-action-link{color:#dfb970;margin:.3rem 0;display:inline-block}.account-email-recovery{color:#d2c7b2;margin:.8rem 0;font-size:.8rem}.account-email-recovery summary{cursor:pointer;text-underline-offset:.2em;width:fit-content;text-decoration:underline}.account-identity{flex-wrap:wrap;align-items:baseline;gap:.55rem 1rem;margin:.8rem 0;display:flex}.account-identity span{color:#d2c7b2;font-size:.8rem}.account-identity strong{font-size:1.15rem}.account-link-seat{margin:.3rem 0 .7rem}.account-stats{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.55rem;margin:.8rem 0;display:grid}.account-stats span{color:#d2c7b2;border:1px solid #eecb8129;border-radius:.5rem;gap:.1rem;padding:.55rem;font-size:.75rem;display:grid}.account-stats strong{color:#f7ecce;font-size:1rem}.account-privacy-control{color:#eadfc8;cursor:pointer;border:1px solid #eecb8133;border-radius:.55rem;align-items:flex-start;gap:.65rem;margin:.9rem 0;padding:.7rem;display:flex}.account-privacy-control input{accent-color:#dfb970;flex:none;width:1.15rem;height:1.15rem;margin:.15rem 0 0}.account-privacy-control span{gap:.25rem;display:grid}.account-privacy-control strong{font-size:.82rem}.account-privacy-control small{color:#d2c7b2;font-size:.75rem;line-height:1.4}.account-matches,.account-leaderboard{margin:1rem 0}.account-social{background:#0a0e115c;border:1px solid #eecb812e;border-radius:.6rem;margin:1rem 0;padding:.8rem}.account-social h3{margin:0 0 .6rem;font-size:.95rem}.account-invite-link-tools{flex-wrap:wrap;align-items:end;gap:.5rem;margin:.7rem 0;display:flex}.account-invite-link-tools label{color:#d2c7b2;flex:14rem;gap:.35rem;font-size:.78rem;display:grid}.account-invite-link-tools input{color:#f7ecce;background:#11171d;border:1px solid #eecb814d;border-radius:.45rem;width:100%;min-width:0;padding:.6rem .7rem}.account-invite-link-tools button{color:#eadfc8;cursor:pointer;background:0 0;border:1px solid #eecb813d;border-radius:.45rem;min-height:40px;padding:.55rem .8rem}.account-social-group{margin:.8rem 0}.account-social-group h4{color:#dfc88f;margin:0 0 .25rem;font-size:.78rem}.account-social-group p{color:#d2c7b2;margin:.2rem 0;font-size:.78rem}.account-presence{color:#d2c7b2;align-items:center;gap:.6rem;font-size:.78rem;display:flex}.account-presence input{accent-color:#dfb970;width:1rem;height:1rem}.account-social-row{color:#d2c7b2;border-bottom:1px solid #eecb811f;justify-content:space-between;align-items:center;gap:.6rem;padding:.4rem 0;font-size:.8rem;display:flex}.account-social-row button{color:#eadfc8;cursor:pointer;background:0 0;border:1px solid #eecb813d;border-radius:.4rem;min-height:36px;padding:.4rem .7rem}.account-social-buttons{flex-wrap:wrap;gap:.35rem;display:flex}.account-matches h3,.account-leaderboard h3{margin:0 0 .5rem;font-size:.9rem}.account-match,.leaderboard-row{color:#d2c7b2;border-bottom:1px solid #eecb811f;justify-content:space-between;align-items:center;gap:.7rem;padding:.45rem 0;font-size:.82rem;display:flex}.account-match button{padding:.4rem .65rem}.account-leaderboard select{width:100%}.leaderboard-row strong{color:#f7ecce}.leaderboard-profile-button{color:#dfb970;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.account-public-profile{color:#d2c7b2;border:1px solid #eecb812e;border-radius:.5rem;gap:.35rem;margin:.7rem 0;padding:.7rem;font-size:.82rem;display:grid}.account-public-profile strong{color:#f7ecce;font-size:1rem}.account-signout,.account-delete{color:#eadfc8;cursor:pointer;background:0 0;border:1px solid #eecb813d;border-radius:.45rem;margin:.5rem .5rem 0 0;padding:.5rem .75rem}.account-delete{color:#e6a19a;border-color:#e6a19a66}.hud-menu-items>.account-panel{width:min(30rem,100vw - 2rem);max-height:min(75vh,42rem);overflow:auto}.hud-menu-items>.account-panel .account-panel-content{max-height:35rem;overflow:auto}@media (width<=640px){.account-panel{width:calc(100% - 1rem)}.account-form button{flex:100%}.account-match{align-items:flex-start}}
