@font-face{font-family:Changa;src:url(./ChangaOne-Regular-BKBjfUqJ.ttf)format("truetype");font-display:swap}@font-face{font-family:Nunito;src:url(./nunito_sans_400-1W9cORAO.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Nunito;src:url(./nunito_sans_700-F6zLoD2r.ttf)format("truetype");font-weight:700;font-display:swap}:root{color:#f0e6c9;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#112c2b;font-family:Nunito,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at top,#244a40 0,#0000 65%);margin:0}button,select,input{font:inherit}button,select{cursor:pointer}button{color:inherit;background:#284a42;border:1px solid #6e8b77;border-radius:6px;min-height:44px;padding:8px 14px;transition:background .15s}button:hover{background:#365d50}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #f3ce70}button[aria-pressed=true]{background:#34564a;border-color:#e3c17a}kbd{color:#b4c9b8;border:1px solid #729182;border-radius:3px;padding:1px 5px;font:11px Nunito}.masthead{align-items:center;gap:28px;max-width:1600px;margin:auto;padding:26px 36px 22px;display:flex}.brand{color:#e5c58a;letter-spacing:-.5px;min-width:165px;font:24px/.86 Changa}.brand span{letter-spacing:1px;color:#9daf9b;margin-top:10px;font:8px Nunito;display:block}.title{border-left:1px solid #58705b;flex:1;padding-left:28px}.title p{letter-spacing:2.1px;color:#a2b6a0;margin:0 0 5px;font-size:9px}h1{letter-spacing:.2px;margin:0;font:clamp(28px,3vw,47px)/1 Changa}.quiet{color:#c5d0ba;background:0 0;border-color:#0000;font-size:12px}main{max-width:1600px;margin:auto;padding:0 28px 20px}.battle{border:1px solid #75866a;border-radius:11px;overflow:hidden;box-shadow:0 12px 35px #06161455}.field-header{letter-spacing:1px;background:#1c3d35;justify-content:space-between;align-items:center;height:53px;padding:0 22px;font-size:11px;display:flex}.live-dot{background:#e9c56d;border-radius:50%;width:6px;height:6px;margin-right:9px;display:inline-block}.prototype{letter-spacing:1px;color:#a8b998;margin-left:20px;font-size:9px}.resources{color:#acb99e;gap:28px;font-size:9px;display:flex}.resources b{color:#f0d693;margin-left:8px;font-family:Changa;font-size:20px;font-weight:400}#board{aspect-ratio:2;background:#7f9144;width:100%;max-height:65vh}#board canvas{display:block}#asset-error:empty{display:none}#asset-error{background:#8c332b;padding:15px}.field-footer{letter-spacing:.5px;color:#c6cfb0;background:#203e34;justify-content:space-between;align-items:center;min-height:44px;padding:0 16px;font-size:10px;display:flex}.field-footer button{min-height:38px;padding:5px 12px}.command-bar{border-bottom:1px solid #3c594a;grid-template-columns:1fr 235px;gap:24px;padding:21px 0 17px;display:grid}.eyebrow,.launch label{letter-spacing:1.4px;color:#d9c58e;font-size:10px;font-weight:700}.eyebrow>span{letter-spacing:0;color:#92ab97;margin-left:14px;font-size:10px;font-weight:400}.recruits{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px;display:grid}.recruit{text-align:left;background:#203e35;border-color:#4c6d5c;align-items:center;gap:10px;min-height:104px;padding:10px 12px;display:flex;position:relative}.recruit.selected{background:linear-gradient(120deg,#3d5b45,#294b3c);border-color:#d4b76e;box-shadow:inset 0 0 0 1px #d4b76e44}.recruit img{object-fit:contain;width:58px;height:82px}.recruit strong{color:#f0dfb2;font:400 23px Changa;display:block}.recruit small{letter-spacing:.8px;color:#b7cbb2;margin-top:4px;font-size:9px;display:block}.recruit em{color:#95ad99;margin-top:8px;font-size:10px;font-style:normal;display:block}.recruit kbd{position:absolute;top:8px;right:8px}.launch{flex-direction:column;gap:9px;display:flex}.launch select{color:#c5d4b7;background:#1d3a32;border:1px solid #50705a;border-radius:4px;min-height:34px;padding:7px 9px;font-size:12px}.primary{color:#25392f;background:#d8b767;border:1px solid #f1d38b;min-height:49px;font-weight:700;box-shadow:inset 0 -3px #b2934e}.primary:hover{background:#e8c87c}.primary span{float:right;margin-left:12px}.debrief{grid-template-columns:1fr 1fr;gap:44px;padding:19px 0 9px;display:grid}.debrief p{color:#bacab1;margin:8px 0;font-size:12px;line-height:1.6}.dispatch{border-left:1px solid #3c594a;padding-left:24px}.dispatch #event{color:#e4dfc2;min-height:44px;margin-bottom:4px;font-size:14px}#clock{float:right;font-variant-numeric:tabular-nums}.muted{color:#8da890!important;font-size:10px!important}.slot-controls{color:#a8bea6;align-items:center;gap:16px;font-size:11px;display:flex}.slot-controls label{align-items:center;gap:7px;min-height:44px;display:flex}.slot-controls input{accent-color:#d8b767;width:17px;height:17px}.slot-controls select{color:#d7dfc4;background:#203e35;border:1px solid #6e8b77;border-radius:4px;max-width:220px;min-height:44px}.footnote{letter-spacing:.3px;color:#73917e;margin:10px 0;font-size:9px}.footnote span{float:right}.rotate{display:none}dialog{color:#d8e0c7;background:#193e35;border:1px solid #bca66d;border-radius:12px;max-width:570px;padding:30px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#061d1bc9}dialog h2{color:#f0d693;font:32px Changa}dialog p,dialog li{font-size:14px;line-height:1.65}dialog li{margin:8px 0}.close{float:right}dialog .primary{width:100%}@media (width>=1600px){#board{max-height:720px}}@media (width<=1100px){.masthead{gap:20px;padding:18px 24px}.brand{min-width:135px;font-size:20px}.title{padding-left:20px}.prototype{display:none}.command-bar{grid-template-columns:1fr 200px;gap:14px}.recruit{gap:4px;padding:7px}.recruit img{width:44px;height:72px}.recruit strong{font-size:20px}.recruit em{font-size:9px}.recruit kbd{display:none}.resources{gap:16px}}@media (height<=550px) and (orientation:landscape){.masthead{gap:14px;padding:8px 16px}.brand{min-width:100px;font-size:15px}.brand span,.title p,.prototype{display:none}h1{font-size:25px}.title{padding-left:14px}main{padding:0 12px 12px}.field-header{height:34px;padding:0 12px}.resources b{font-size:16px}.field-header strong{font-size:10px}#board{aspect-ratio:2.65;height:auto;max-height:none}.field-footer{min-height:38px;font-size:9px}.field-footer button{min-height:44px;padding:3px 8px}.command-bar{grid-template-columns:1fr 180px;gap:12px;padding:10px 0}.eyebrow{font-size:9px}.eyebrow>span{display:none}.recruits{gap:6px;margin-top:6px}.recruit{min-height:66px;padding:3px}.recruit img{width:39px;height:58px}.recruit strong{font-size:18px}.recruit small{letter-spacing:0;font-size:8px}.recruit em{display:none}.launch{gap:4px}.launch label{font-size:9px}.launch select{min-height:44px}.launch .primary{min-height:44px;padding:6px}.debrief{gap:15px;padding-top:12px}.debrief p{font-size:11px}.dispatch{padding-left:15px}.footnote{margin:8px 0}.masthead .quiet{min-height:44px}}@media (width<=650px) and (orientation:portrait){.masthead{gap:12px;padding:18px}.brand{min-width:90px;font-size:17px}.brand span,.title p{display:none}.title{padding-left:12px}h1{font-size:25px}.masthead #help{padding:5px;font-size:0}.masthead #help kbd{font-size:16px}main{padding:0 12px}.field-header{padding:0 10px;font-size:9px}.resources{gap:9px;font-size:8px}.resources span:first-child{display:none}.resources b{margin-left:4px;font-size:16px}.command-bar{grid-template-columns:1fr}.recruits{gap:6px}.recruit{text-align:center;flex-direction:column;gap:3px}.recruit small{font-size:8px}.recruit em{display:none}.launch{grid-template-columns:1fr 1fr;align-items:end;display:grid}.launch label{grid-column:1/-1}.debrief{grid-template-columns:1fr;gap:16px}.dispatch{border-left:none;padding-left:0}.field-footer{flex-direction:column;padding:8px}.rotate{text-align:center;color:#e4cb90;font-size:12px;display:block}.footnote span{float:none;margin-top:5px;display:block}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}#board{aspect-ratio:auto;height:min(65vh,50vw - 29px);position:relative;overflow:hidden}#board canvas{position:absolute;inset:0;width:100%!important;height:100%!important}#phone-start{display:none}@media (width>=1600px){#board{height:720px}}@media (height<=550px) and (orientation:landscape){.masthead{height:52px;padding:4px 16px}.field-header{height:30px}#board{height:calc(100dvh - 130px);max-height:none}.field-footer{justify-content:flex-end;height:44px;padding:0 8px}.field-footer>span{display:none}.field-footer>div{align-items:center;gap:4px;display:flex}#phone-start{min-height:38px;padding:5px 18px;font-size:12px;display:inline-block}.field-footer .primary{min-height:44px}.field-header strong:after{content:" · ENCOUNTER / MAP VIEW";color:#adbea6;letter-spacing:0;font:8px Nunito}.field-footer button{min-width:44px}}[hidden]{display:none!important}.quick-hire,#view{display:none}.context{background:#1c3e34;border:1px solid #4e705a;border-radius:8px;margin:12px 0;padding:14px 18px}.context-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.context-heading strong{letter-spacing:1px;color:#e9cf8c;font-size:12px}.context p{color:#bfcfb4;margin:7px 0;font-size:12px;line-height:1.5}.context #notice:empty,.context #slot-detail:empty{display:none}.context #notice{color:#f0d393;margin-top:10px}.context.floating{z-index:20;border-color:#a99055;width:min(620px,100vw - 32px);max-height:46vh;position:fixed;bottom:12px;right:28px;overflow:auto;box-shadow:0 8px 45px #001a16c9}.context .quiet{min-height:44px}.context .slot-controls{flex-wrap:wrap;gap:8px}.context .slot-controls select{flex:1;min-width:170px;max-width:none}.context .slot-controls .primary{min-height:44px}.action-buttons{flex-wrap:wrap;gap:8px;display:flex}.action-buttons button{min-height:44px;font-size:12px}.wave-preview{border-bottom:1px solid #3c594a;justify-content:space-between;align-items:center;gap:18px;padding:12px 0;font-size:12px;display:flex}.wave-preview strong{letter-spacing:.5px;color:#e3cf96;font-size:11px;display:block}.wave-preview span{color:#a8c0a5;font-size:11px}.wave-preview>div>span{max-width:650px;margin-top:5px;display:block}.enemy-preview{flex-shrink:0;align-items:center;gap:16px;display:flex}.enemy-preview span{white-space:nowrap;align-items:center;gap:4px;display:flex}.enemy-preview img{object-fit:contain;width:24px;height:35px}#unit-chooser{color:#e0e5cf;background:#203e35;border:1px solid #6e8b77;border-radius:5px;width:100%;max-width:450px;min-height:44px;margin-top:10px;padding:7px 10px;display:block}.recruit:disabled{opacity:.5}@media (width<=1100px){.wave-preview{flex-direction:column;align-items:flex-start;gap:8px}.enemy-preview{gap:12px}.context.floating{right:12px}}@media (height<=550px) and (orientation:landscape){.quick-hire{gap:3px;display:flex}.quick-hire button{border-color:#486b55;border-radius:3px;min-height:44px;padding:3px 7px;font-size:10px}#view{display:inline-block}.field-footer .quiet{padding:4px 7px;font-size:10px}.field-footer #phone-start{min-width:65px;padding:4px 12px}.field-footer>div{justify-content:flex-end;gap:3px;width:100%}.field-footer .quick-hire{margin-right:auto}.field-header strong:after{content:" · M2 PRACTICE"}.context.floating{width:min(590px,100vw - 16px);max-height:45vh;padding:8px 12px;bottom:5px;right:8px}.context p{margin:4px 0;font-size:11px}.context-heading strong{font-size:10px}.context-heading .quiet{min-height:44px;padding:3px 8px;font-size:10px}.context .muted{font-size:9px!important}.wave-preview{padding:8px 0}.enemy-preview img{height:28px}.context .slot-controls{flex-wrap:nowrap}.context .slot-controls select{min-width:120px}.context .primary{min-height:44px;font-size:11px}.action-buttons{gap:5px}.action-buttons button{padding:5px 9px;font-size:11px}.quick-hire button.selected{background:#43654b;border-color:#dfbd76}}@media (width<=650px) and (orientation:portrait){.context.floating{max-height:50vh;bottom:8px;right:8px}.context .slot-controls{flex-direction:column;align-items:stretch}.enemy-preview{flex-wrap:wrap;gap:8px}.enemy-preview span{font-size:10px}.context{padding:10px}.wave-preview{font-size:11px}}.battle{position:relative}.quick-hire{gap:4px;display:flex}.quick-hire button{white-space:nowrap;padding:5px 10px;font-size:11px}.field-footer>div{align-items:center;gap:4px;display:flex}.field-footer{flex-wrap:wrap;gap:8px}.field-footer>span{flex:1;min-width:200px}#field-hint{color:#e9dfbc;pointer-events:none;background:#183b38e8;border-radius:5px;max-width:calc(100% - 24px);margin:0;padding:7px 11px;font-size:11px;position:absolute;top:61px;left:12px}#field-feedback{z-index:25;color:#ffe3a0;pointer-events:none;background:#173d35;border:1px solid #d8bc72;border-radius:6px;width:max-content;max-width:calc(100% - 24px);padding:9px 14px;font-size:12px;position:absolute;top:61px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #071e2766}.context.floating{z-index:20;overscroll-behavior:contain;scrollbar-width:thin;border-color:#c5a661;border-radius:9px;width:330px;max-height:none;margin:0;padding:10px 12px;position:fixed;bottom:auto;right:auto;overflow:auto;box-shadow:0 8px 28px #001a1699}.context.floating .context-heading{gap:4px;min-height:44px}.context.floating .context-heading strong{letter-spacing:.4px;font-size:11px}.context.floating .context-heading .quiet{flex-shrink:0;padding:5px 7px;font-size:11px}.context.floating p{margin:5px 0;font-size:11px;line-height:1.4}.context.floating .slot-controls{flex-direction:column;align-items:stretch;gap:6px;display:flex}.context.floating .slot-controls select{width:100%;min-width:0;min-height:44px;font-size:12px}.context.floating .primary{min-height:44px;font-size:12px}.context.floating #slot-detail,.context.floating #notice:empty{display:none}#position-classes{gap:8px;margin:5px 0 8px;display:flex}#position-classes button{text-align:left;flex:1;align-items:center;gap:7px;min-height:62px;padding:5px 8px;display:flex}#position-classes img{object-fit:contain;width:29px;height:47px}#position-classes span{font-size:13px;font-weight:700}#position-classes small{color:#e8cb89;font-size:11px;font-weight:400;display:block}.gold-spent{animation:.7s ease-out gold-spent}@keyframes gold-spent{0%{color:#fff;background:#637b4a;box-shadow:0 0 0 6px #637b4a}to{background:0 0;box-shadow:0 0 #0000}}@media (height<=550px) and (orientation:landscape){#field-hint,#field-feedback{padding:5px 9px;font-size:10px;top:38px}.context.floating{width:310px;padding:5px 10px}.context.floating .slot-controls{flex-flow:row}.context.floating .slot-controls select{flex:1;min-width:90px;font-size:11px}.context.floating .slot-controls .primary{flex:1;padding:5px 8px;font-size:11px}.context.floating .context-heading strong{font-size:10px}.context.floating .action-buttons{gap:4px}.context.floating .action-buttons button{padding:5px 7px;font-size:10px}}@media (width<=650px) and (orientation:portrait){.context.floating.inline-sheet{width:auto;max-width:none;max-height:260px;box-shadow:none;border-width:1px 0;border-radius:0;margin:0;padding:8px 12px;position:relative;inset:auto}.context.floating.inline-sheet .slot-controls{flex-flow:wrap}.context.floating.inline-sheet .slot-controls select{flex:1;min-width:110px}.context.floating.inline-sheet .slot-controls .primary{flex:1}.field-footer>span{min-width:0}.field-footer>div{flex-wrap:wrap;justify-content:center}.quick-hire{justify-content:center;width:100%}#field-hint{padding:4px 7px;font-size:10px;top:60px}}@media (prefers-reduced-motion:reduce){.gold-spent{animation:none}}#keyboard-position{flex:1 0 100%;width:100%}#keyboard-position summary{cursor:pointer;color:#bfcfb4;border-radius:4px;align-items:center;gap:7px;min-height:44px;font-size:11px;display:flex}#keyboard-position summary:before{content:"›";font-size:18px}#keyboard-position[open] summary:before{transform:rotate(90deg)}#keyboard-position summary:focus-visible{outline-offset:2px;outline:3px solid #f3ce70}#keyboard-position select{margin:0 0 6px}.context.floating .slot-controls{flex-wrap:wrap}.context.floating #confirm-placement{flex:1 0 100%;width:100%}.command-bar .launch{grid-area:1/2}.command-bar .roster{grid-area:1/1;min-width:0}.command-bar .wave-preview{grid-area:2/1/auto/-1}.launch #launch-hint{color:#a9bfa6;margin:0;font-size:11px;line-height:1.4}.roster-note{color:#9fb89e;margin:10px 0 0;font-size:11px;line-height:1.5}.tool-controls{flex-direction:column;gap:8px;padding:0 12px 10px;display:flex}.tool-controls label{letter-spacing:.6px;color:#a8bea6;font-size:9px}.tool-controls select{color:#e0e5cf;background:#203e35;border:1px solid #6e8b77;border-radius:5px;width:100%;max-width:100%;min-height:44px;padding:6px;font-size:11px}.tool-controls #debug{border-color:#486b55}@media (width>=1000px) and (height>=551px){.masthead{gap:20px;padding:16px 24px}.brand{min-width:140px;font-size:20px}.brand span{display:none}.title{padding-left:20px}.title p{margin-bottom:3px;font-size:8px}h1{font-size:34px}main{padding:0 24px 16px}.play-layout{grid-template-columns:minmax(0,1fr) clamp(260px,23vw,310px);align-items:stretch;gap:16px;display:grid}.battle{flex-direction:column;min-width:0;display:flex}#board{aspect-ratio:1440/820;flex-grow:1;height:auto;max-height:calc(100dvh - 210px)}.field-header{height:48px;padding:0 14px}.prototype{display:none}.resources{gap:16px}.resources b{margin-left:5px;font-size:20px}.field-footer{flex-wrap:nowrap;gap:8px;min-height:52px;padding:4px 10px;font-size:9px}.field-footer>span{min-width:0;line-height:1.5}.field-footer .quick-hire{display:none}.field-footer>div{flex-shrink:0}.field-footer button{min-height:44px}.field-footer{margin-top:auto}#field-hint,#field-feedback{top:56px}#field-hint{display:none}.command-bar{background:linear-gradient(145deg,#24483b,#1a382f);border:1px solid #526e58;border-radius:10px;flex-direction:column;gap:16px;min-width:0;padding:16px;display:flex;box-shadow:0 8px 24px #06161433}.command-bar .launch{gap:8px}.command-bar .launch .eyebrow{letter-spacing:1.6px;font-size:9px}.command-bar #start{width:100%;min-height:54px;font-size:16px}.command-bar .launch.in-progress #start{opacity:1;box-shadow:none;color:#c7ddc8;background:#2a4e43;border-color:#628573;font-size:14px}.command-bar .wave-preview{border-top:1px solid #48634e;border-bottom:1px solid #48634e;flex-direction:column;align-items:stretch;gap:8px;padding:12px 0;font-size:11px;display:flex}.command-bar .wave-preview strong{letter-spacing:.6px;font-size:10px}.command-bar .wave-preview>div>span{margin-top:5px;font-size:11px;line-height:1.45}.command-bar .enemy-preview{flex-wrap:wrap;gap:4px 10px}.command-bar .wave-preview .enemy-preview>span{white-space:normal;margin-top:0;font-size:10px;display:flex}.command-bar .enemy-preview img{flex-shrink:0;width:20px;height:28px}.command-bar .roster>.eyebrow{letter-spacing:1.4px;font-size:9px}.command-bar .roster>.eyebrow>span{display:none}.command-bar .recruits{grid-template-columns:1fr;gap:8px;margin-top:10px}.command-bar .recruit{text-align:left;flex-direction:row;gap:10px;min-height:82px;padding:7px 10px}.command-bar .recruit img{width:44px;height:66px}.command-bar .recruit strong{font-size:23px}.command-bar .recruit small{letter-spacing:.2px;margin-top:3px;font-size:9px}.command-bar .recruit small b{color:#e9cf8c;letter-spacing:.3px;margin-top:3px;font-size:12px;display:block}.command-bar .recruit em{display:none}.command-bar .recruit kbd{font-size:10px;display:block;top:8px;right:8px}.command-bar .roster-note{margin-top:10px;font-size:10px;line-height:1.5}.command-bar .defense-inspector{margin-top:auto}.footnote{margin-top:0}}@media (width<=999px),(height<=550px){.command-bar .roster-note{display:none}.command-bar .launch .eyebrow{font-size:9px}.command-bar .launch #start{min-height:44px}}@media (width>=1000px) and (height>=551px) and (height<=850px){.masthead{padding-top:12px;padding-bottom:12px}.command-bar{gap:8px;padding:12px}.command-bar #start{min-height:44px}.command-bar .wave-preview{gap:4px;padding:8px 0}.command-bar .enemy-preview{gap:2px 8px}.command-bar .wave-preview .enemy-preview>span{font-size:9px;line-height:1.25}.command-bar .enemy-preview img{width:16px;height:22px}.command-bar .launch #launch-hint,.command-bar .roster-note{display:none}.command-bar .recruit{min-height:58px;padding:5px 8px}.command-bar .recruit strong{font-size:21px}.command-bar .recruit img{width:30px;height:44px}.command-bar .recruits{gap:6px;margin-top:6px}}@media (width<=650px) and (orientation:portrait){.command-bar{grid-template-columns:1fr}.command-bar .roster{grid-area:1/1}.command-bar .launch{grid-area:2/1;display:flex}.command-bar .wave-preview{grid-area:3/1}.defense-inspector .eyebrow{font-size:9px}}.command-bar .defense-inspector{border-top:1px solid #48634e;flex-direction:column;grid-area:3/1/auto/-1;align-items:stretch;gap:8px;min-width:0;padding-top:12px;display:flex}.defense-inspector .eyebrow{letter-spacing:1.4px;font-size:9px}.defense-inspector #unit-chooser{width:100%;min-width:0;max-width:none;margin:0;font-size:11px}#monster-inspector{min-width:0}#monster-inspector label{margin:6px 0;display:block}#monster-chooser{color:#e0e5cf;background:#203e35;border:1px solid #6e8b77;border-radius:5px;width:100%;min-width:0;min-height:44px;padding:7px 10px;font-size:11px}.context.monster-context #detail{white-space:pre-line;line-height:1.5}.context.monster-context .slot-controls{display:none}.field-footer .field-notes{flex:1;align-self:center;min-width:0;position:relative}.field-notes summary{cursor:pointer;color:#c5d0ba;border-radius:4px;align-items:center;gap:8px;min-height:44px;padding:4px 0;list-style:none;display:flex}.field-notes summary:focus-visible,#developer-tools>summary:focus-visible{outline-offset:2px;outline:3px solid #f3ce70}.field-notes #event{text-overflow:ellipsis;white-space:nowrap;letter-spacing:0;color:#d4dfc5;flex:1;min-width:0;margin:0;font-size:11px;line-height:1.4;overflow:hidden}.field-notes #clock{float:none;font-variant-numeric:tabular-nums;color:#94b09b;flex-shrink:0;font-size:10px}.notes-toggle{color:#d5bd7a;font-size:13px}.field-notes[open] .notes-toggle{transform:rotate(-90deg)}.field-notes .dispatch{z-index:24;letter-spacing:0;background:#193c33;border:1px solid #8f925f;border-radius:7px;width:min(420px,100vw - 56px);max-width:100%;padding:12px;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 -6px 24px #06161466}.field-notes .dispatch p{color:#c7d4bb;margin:7px 0 0;font-size:12px;line-height:1.5}#developer-tools{flex-shrink:0;position:relative}#developer-tools>summary{cursor:pointer;color:#d5ddc5;border:1px solid #486657;border-radius:6px;place-items:center;width:44px;height:44px;font-size:26px;line-height:1;list-style:none;display:grid}#developer-tools>summary:hover,#developer-tools[open]>summary{background:#34564a;border-color:#bca66d}#developer-tools>summary::-webkit-details-marker{display:none}.field-notes summary::-webkit-details-marker{display:none}#developer-tools .tool-controls{z-index:50;background:#193c33;border:1px solid #8f925f;border-radius:8px;gap:10px;width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 90px);padding:14px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 12px 36px #061614aa}.tool-controls #reset{text-align:left;border-color:#486b55}.tool-controls label{margin-top:4px}.footnote{padding-top:10px}.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}.map-control{align-items:center;gap:7px;min-width:0;display:flex}.map-control .live-dot{flex-shrink:0;margin:0}#map-chooser{color:#f0d693;background:#203f35;border:1px solid #617b63;border-radius:5px;width:clamp(160px,18vw,220px);max-width:100%;min-height:44px;padding:5px 7px;font-size:11px}.field-header .resources{flex-shrink:0}.branch-preview{gap:6px;width:100%;min-width:0;display:grid}.branch-preview>div{border-left:2px solid #d3bd7c;padding-left:8px}.branch-preview>div+div{border-left-color:#9cd6cd}.branch-preview strong{font-size:10px}.branch-preview span{align-items:center;gap:5px;margin-top:2px;font-size:10px;display:flex}.branch-preview img{object-fit:contain;width:18px;height:24px}.branch-preview .branch-monsters{flex-wrap:wrap;gap:5px 12px;display:flex}.branch-preview .branch-monster{align-items:center;gap:5px;margin:0;display:flex}.branch-monster>span{margin:0;display:block}.branch-monster small{color:#b9d2bd;font-size:9px;line-height:1.4;display:block}.map-result strong{color:#f3d694}.map-result span{line-height:1.5}.defeat-debrief{border-top:1px solid #64836b;min-width:0;padding-top:12px}.defeat-debrief p,.defeat-debrief li{color:#c7d4bb;font-size:11px;line-height:1.5}.defeat-debrief ul{margin:12px 0;padding-left:18px}.defeat-debrief li+li{margin-top:7px}.debrief-totals{flex-wrap:wrap;gap:24px;margin:12px 0;display:flex}.debrief-totals dt{color:#bdd1ba;font-size:10px}.debrief-totals dd{color:#f1ddb0;margin:3px 0 0;font:22px Changa}.campaign-progress{background:#1c3b32;border:1px solid #526e58;border-radius:10px;min-width:0;margin:16px 0;padding:16px}.campaign-progress-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.campaign-progress h2{color:#f0d693;margin:0;font:23px Changa}.campaign-progress-heading p{color:#b9cbb5;margin:0;font-size:11px}.progress-maps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.campaign-map{background:#24483b;border:1px solid #64836b;border-radius:7px;min-width:0;padding:14px}.campaign-map.locked{background:#203c34;border-style:dashed}.campaign-map-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.campaign-map h3{color:#e9d59d;margin:0;font:20px Changa}.campaign-map-title>span:not(.medal){color:#bdcdb8;font-size:11px}.campaign-map p,.campaign-progress .progress-rules{color:#bdcdb8;margin:10px 0 0;font-size:11px;line-height:1.5}.medal{white-space:nowrap;border:1px solid;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-block}.medal-gold{color:#ffe293;background:#594c23}.medal-silver{color:#e1edf2;background:#3e5158}.medal-bronze{color:#f0c4a0;background:#594132}.personal-bests{flex-wrap:wrap;gap:12px;margin:12px 0 0;display:flex}.personal-bests>div{flex:1;min-width:70px}.personal-bests dt{color:#bdd1ba;font-size:10px;line-height:1.4}.personal-bests dd{color:#f1ddb0;overflow-wrap:anywhere;margin:4px 0 0;font:20px Changa}.victory-progress{border-top:1px solid #64836b;min-width:0;padding-top:10px}.victory-progress p{color:#c7d4bb;margin:9px 0;font-size:11px;line-height:1.5}#progress-warning{color:#ffe2b8;background:#4a3929;border-left:3px solid #efba75;padding:10px;font-size:12px;line-height:1.5}#next-map{width:100%;min-height:44px}@media (width<=650px){.progress-maps{grid-template-columns:1fr}.campaign-progress{padding:12px}.personal-bests{gap:8px}}#early-send{width:100%;min-width:0;position:relative}#early-send>summary{color:#d4dfc5;cursor:pointer;text-align:center;background:#2a4e43;border:1px solid #718a6b;border-radius:6px;justify-content:center;align-items:center;min-height:44px;padding:8px;font-size:12px;line-height:1.4;list-style:none;display:flex}#early-send>summary::-webkit-details-marker{display:none}#early-send.ready>summary{color:#213d32;background:#d9bd72;border-color:#f0d58c}#early-send>summary:focus-visible{outline-offset:3px;outline:3px solid #f3ce70}.early-send-body{z-index:45;overscroll-behavior:contain;text-align:left;background:#193c33;border:1px solid #a99055;border-radius:8px;width:min(420px,100vw - 32px);max-height:min(460px,60dvh);padding:12px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 10px 30px #061614aa}.early-send-body p{color:#c7d4bb;margin:10px 0;font-size:11px;line-height:1.5}.early-send-body #early-reason{color:#f0d693}.early-send-body #send-early{white-space:normal;width:100%;font-size:12px;line-height:1.5}.early-send-body .wave-preview{border-top:0;flex-direction:column;align-items:stretch;gap:8px;max-height:none;margin:0;padding:0 0 10px;overflow:visible}.early-send-body .branch-preview{grid-template-columns:1fr}.command-bar .overlap-preview{overscroll-behavior:contain;flex-shrink:0;max-height:240px;overflow:auto}.overlap-preview>section{border-left:2px solid #bda464;min-width:0;padding-left:8px}.overlap-preview>section>div{margin-top:6px}.overlap-preview>section>div>span{font-size:10px;line-height:1.4;display:block}#run-caption{float:none}@media (height<=550px) and (orientation:landscape){.field-header{flex-shrink:0;height:46px}#field-hint,#field-feedback{top:54px}#map-chooser{width:190px}.branch-preview{grid-template-columns:1fr 1fr;gap:10px}body.cards-live #board{height:max(210px,100dvh - 310px)}body.cards-live .context.floating .slot-controls #confirm-placement{order:-1}}@media (width<=650px) and (orientation:portrait){#map-chooser{width:160px;font-size:10px}.map-control{gap:4px}.field-header,.field-header .resources{gap:7px}}@media (width>=1000px) and (height>=551px) and (height<=740px){.command-bar .wave-preview>div:first-child>span{display:none}.command-bar .defense-inspector{gap:6px;padding-top:8px}}@media (height<=550px) and (orientation:landscape){.field-header strong:after{content:" · DEFENSE"}#board{height:calc(100dvh - 168px)}.field-footer{flex-wrap:wrap;gap:0;height:auto;padding:0 8px}.field-footer .field-notes{flex:1 0 100%;width:100%}.field-notes summary{gap:6px;height:22px;min-height:22px;padding:0}.field-notes #event,.field-notes #clock{font-size:9px}.field-footer .battle-controls{flex:1 0 100%;height:44px}#developer-tools .tool-controls{max-height:calc(100dvh - 68px)}}@media (width<=650px) and (orientation:portrait){.command-bar .defense-inspector{grid-row:4}.field-footer .field-notes{width:100%}.field-notes #event{font-size:10px}.field-notes #clock{display:none}.masthead{gap:8px;padding:12px}.masthead .brand{min-width:65px;font-size:14px}.masthead .title{min-width:0;padding-left:10px}.masthead #help{flex-shrink:0}}.command-bar .wave-preview{min-width:0}.enemy-preview{flex-wrap:wrap;min-width:0;max-width:100%}.enemy-preview span{white-space:normal}dialog{max-height:calc(100dvh - 32px);overflow:auto}dialog h3{color:#e9cf8c;margin:22px 0 8px;font-size:15px}dialog .save-notice{color:#f0dfb2;background:#284a3d;border-left:3px solid #d8b767;border-radius:3px;padding:10px 12px}.battle{--academy-hit-alpha:0;position:relative}.battle:after{content:"";z-index:19;border-radius:inherit;box-shadow:inset 0 0 36px 9px rgb(208 68 44/var(--academy-hit-alpha));pointer-events:none;position:absolute;inset:0}.resources #health{transform-origin:50%;display:inline-block}.resources .academy-health.hit #health{color:#fff0da;text-shadow:0 0 12px #f27651}.resources .academy-health.critical #health{color:#ffa98d}.academy-hit{z-index:22;color:#ffe6c8;pointer-events:none;background:#562b24f2;border:1px solid #f2a078;border-left:5px solid #ef8058;border-radius:6px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:12px 16px;display:flex;position:absolute;top:62px;right:16px;box-shadow:0 5px 22px #351b1a66}.academy-hit strong{letter-spacing:.5px;font:20px/1 Changa}.academy-hit span{white-space:nowrap;color:#ffc397;font-size:12px;font-weight:800}.academy-hit.heavy{background:#692a23f5;border-left-width:7px}.academy-hit.heavy strong{font-size:23px}@media (height<=550px) and (orientation:landscape){.academy-hit{gap:10px;padding:9px 12px;top:56px;right:10px}.academy-hit strong{font-size:17px}.academy-hit.heavy strong{font-size:19px}.academy-hit span{font-size:11px}}@media (width<=650px) and (orientation:portrait){.academy-hit{gap:8px;padding:9px 10px;top:62px;right:10px}.academy-hit strong,.academy-hit.heavy strong{font-size:17px}.academy-hit span{font-size:10px}}.sound-controls{border-top:1px solid #587464;gap:8px;padding-top:12px;display:grid}.sound-controls input{accent-color:#e6bc65;width:100%;min-height:44px}.final-victory{text-align:center;color:#f5e7bd;background:radial-gradient(at top,#456b48,#153c33 75%);border-top:2px solid #e8cc80;padding:28px 20px;position:relative}.final-victory h2{color:#ffe19b;margin:8px 0;font:clamp(28px,5vw,44px) Changa}.final-victory p{font-size:13px;line-height:1.6}.final-victory>div:last-child{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.final-victory button{min-height:44px}.victory-stars{color:#ffdf86;font-size:32px;animation:1s ease-out both victory-arrive}@keyframes victory-arrive{0%{opacity:0;transform:translateY(12px)scale(.8)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.victory-stars{animation:none}}.card-hand{background:linear-gradient(120deg,#213c32,#142e29);border-top:1px solid #7d8056;flex-shrink:0;min-width:0;padding:10px 14px 12px;box-shadow:inset 0 12px 24px #071c192e}.hand-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.hand-heading>div{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.hand-heading .eyebrow{letter-spacing:1.3px;color:#e6ce90;font-size:10px}.hand-heading b{letter-spacing:0;color:#a8c0aa;margin-left:8px;font:10px Nunito}.mock-label{letter-spacing:.8px;color:#9db2a0;font-size:8px}.hand-heading button{text-underline-offset:3px;min-height:32px;padding:3px 7px;font-size:10px;text-decoration:underline}.hand-body{grid-template-columns:minmax(0,1fr) 220px;align-items:stretch;gap:16px;min-height:160px;display:grid}.hand-scroll{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#79866a #203d32;min-width:0;padding:10px 4px 5px;overflow-x:auto}.hand-cards{justify-content:center;align-items:flex-end;gap:8px;min-width:max-content;display:flex}.hand-card{isolation:isolate;border:0;border-radius:6px;flex:0 0 78px;width:78px;height:111px;min-height:44px;padding:0;transition:transform .15s;position:relative;background:0 0!important}.card-face{filter:drop-shadow(0 4px 3px #0006);border-radius:5px;display:block;position:absolute;inset:0}.card-paper,.card-illustration{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.card-illustration{transform:translateY(-8%)}.card-rank{object-fit:contain;pointer-events:none;width:13%;height:15%;position:absolute;top:8%;left:9%}.card-caption{text-align:center;color:#263a33;line-height:1.1;display:grid;position:absolute;bottom:9%;left:6%;right:6%}.card-caption strong{font:15px/1 Changa}.card-caption small{margin-top:3px;font-size:8px}.card-chosen{color:#e9ffe3;text-align:center;background:#183f38;border-radius:50%;width:18px;height:18px;font-size:12px;line-height:18px;display:none;position:absolute;top:7px;right:7px}.hand-card:hover{transform:translateY(-4px)}.hand-card[aria-pressed=true]{transform:translateY(-8px)}.hand-card[aria-pressed=true] .card-face{outline-offset:0;filter:drop-shadow(0 5px 5px #081e18);outline:3px solid #8ad8c6}.hand-card[aria-pressed=true] .card-chosen{display:block}.hand-card:focus-visible{outline-offset:4px;outline:3px solid #f3ce70}.hand-resolution{border-left:1px solid #49604d;flex-direction:column;justify-content:space-between;gap:8px;min-width:0;padding:8px 0 0 14px;display:flex}.hand-kicker{letter-spacing:1px;color:#a8c8b7;font-size:8px}.hand-summary h2{color:#f3dc9e;margin:5px 0;font:21px/1.05 Changa}.hand-summary p{color:#bbceb8;min-height:28px;margin:0;font-size:10px;line-height:1.4}.hand-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.hand-actions button{min-height:36px;padding:5px 9px;font-size:11px}.hand-actions .primary{flex:1}.mock-result{color:#f1d393;border:1px dashed #857950;border-radius:4px;margin:8px 0 0;padding:8px 10px;font-size:11px}@media (width>=1000px) and (height>=551px){.card-mock #board{aspect-ratio:auto;flex-grow:1;height:clamp(220px,100dvh - 410px,620px);max-height:none}.card-mock .battle{align-self:start}}@media (width>=1000px) and (width<=1199px) and (height>=551px){.hand-body{grid-template-columns:minmax(0,1fr) 180px;gap:10px}.hand-card{flex-basis:64px;width:64px;height:91px}.hand-cards{gap:5px}.hand-summary h2{font-size:18px}}@media (width<=999px),(height<=550px){.hand-card{flex-basis:70px;width:70px;height:100px}.hand-actions button,.hand-heading button{min-height:44px}.hand-cards{justify-content:flex-start}}@media (height<=550px) and (orientation:landscape){.card-mock #board{height:max(150px,100dvh - 310px)}.card-hand{padding:4px 10px 7px}.hand-heading{height:29px;margin-bottom:0}.hand-heading button{min-height:29px}.hand-body{grid-template-columns:minmax(0,1fr) 230px;gap:10px;min-height:110px}.hand-card{flex-basis:61px;width:61px;height:87px}.hand-cards{justify-content:center;gap:8px}.card-caption strong{font-size:12px}.card-caption small{font-size:7px}.hand-summary h2{margin:3px 0;font-size:18px}.hand-summary p{font-size:9px}.hand-resolution{gap:3px;padding-top:4px}.hand-actions button{font-size:10px}}@media (width<=650px) and (orientation:portrait){.card-hand{padding:8px 10px 10px}.hand-heading{align-items:flex-start;gap:4px}.hand-heading>div{flex-direction:column;align-items:flex-start;gap:3px;padding-top:5px}.hand-heading button{white-space:nowrap;font-size:9px}.hand-body{grid-template-columns:minmax(0,1fr);gap:4px;min-height:0}.hand-cards{gap:8px}.hand-card{flex-basis:74px;width:74px;height:105px}.hand-resolution{border-top:1px solid #49604d;border-left:none;gap:6px;padding:8px 0 0}.hand-summary{min-height:90px}.hand-summary h2{font-size:20px}.hand-summary p{min-height:0}.hand-actions{justify-content:stretch}.hand-actions .primary{flex:1}}@media (prefers-reduced-motion:reduce){.hand-card{transition:none}}.live-hand .hand-actions button{min-height:44px}.live-hand #card-reason{color:#f3dc9e;margin-top:5px}.first-card-hint{background:#2b493a;border-left:3px solid #d8bc72;border-radius:4px;align-items:center;gap:12px;margin:8px 0;padding:6px 10px;display:flex}.first-card-hint p{color:#e5dbb9;flex:1;min-width:0;margin:0;font-size:11px;line-height:1.5}.first-card-hint button{white-space:nowrap;border-color:#6e8b77;flex-shrink:0;min-height:44px;font-size:11px}.live-hand .hand-summary{min-height:125px}.live-hand .hand-summary p{font-size:11px}.live-hand .hand-body{grid-template-columns:minmax(0,1fr) 250px}@media (width>=1000px) and (height>=551px){.cards-live #board{aspect-ratio:auto;flex-grow:1;height:clamp(220px,100dvh - 440px,620px);max-height:none}.live-hand .hand-body{height:190px;min-height:190px}.live-hand .hand-resolution{min-height:0}.live-hand .hand-summary{scrollbar-width:thin;min-height:0;overflow-y:auto}.live-hand .hand-actions{flex-shrink:0}}@media (width<=1199px){.live-hand .hand-body{grid-template-columns:minmax(0,1fr) 220px}}@media (height<=550px) and (orientation:landscape){.cards-live #board{height:max(210px,100dvh - 310px)}.live-hand .hand-summary{min-height:125px}}@media (width<=650px) and (orientation:portrait){.live-hand .hand-body{grid-template-columns:minmax(0,1fr)}.live-hand .hand-summary{min-height:100px}}
