@font-face{font-family:Samguk;src:url(/assets/samgukpa/fonts/Galmuri11.woff2)format("woff2");font-display:swap}.command-shell .cloud-controls{background:#1c3123;border:1px solid #63764f;margin:10px 0 14px;padding:10px;font-size:10px}.command-shell .cloud-controls>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:4px;display:flex}.command-shell .cloud-controls span{color:#a6b196;font-size:8px}.command-shell .cloud-controls p{overflow-wrap:anywhere;margin:6px 0}.command-shell .cloud-actions{flex-wrap:wrap;gap:4px;display:flex}.command-shell .cloud-actions button{flex:40% 1;min-height:40px;padding:5px;font-size:9px}.command-shell{color:#e6dec4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--gold:#dcc38a;--ink:#102219;--quiet:#9cab8b;--panel:url(/assets/samgukpa/pixel/ui-panel.png);--button:url(/assets/samgukpa/pixel/ui-button.png);--selected:url(/assets/samgukpa/pixel/ui-button-active.png);--modal:url(/assets/samgukpa/pixel/ui-modal.png);background:#0e1915;font-family:Samguk,Apple SD Gothic Neo,sans-serif}.command-shell,.command-shell *{box-sizing:border-box}.command-shell{min-width:280px;margin:0;scroll-padding-block:8px;font-size:12px;line-height:1.65}.command-shell button,.command-shell select{font:inherit}.command-shell a,.command-shell button,.command-shell select{-webkit-tap-highlight-color:transparent}.command-shell button{min-height:44px;color:inherit;border:8px solid #0000;border-image:var(--button) 12 fill /8px /0 stretch;cursor:pointer;touch-action:manipulation;image-rendering:pixelated;background:#263b2b;padding:8px 12px}.command-shell button:hover:not(:disabled){filter:brightness(1.12)}.command-shell button:active:not(:disabled){filter:brightness(1.2)}.command-shell button:disabled{opacity:.43;cursor:default}.command-shell button:focus-visible,.command-shell select:focus-visible{outline-offset:2px;outline:2px solid #f2d595}.command-shell button.chosen,.command-shell button[aria-pressed=true]{border-image-source:var(--selected);color:#ffedb5;background:#455431}.command-shell .primary{border-image-source:var(--selected);color:#fff0bd;background:#6b6640;min-height:48px;padding:10px 18px;font-size:13px}.command-shell button.primary:disabled{opacity:.45}.command-shell{width:100%;max-width:480px;min-height:100svh;padding:0 10px calc(22px + env(safe-area-inset-bottom));background:#15271d;margin-inline:auto}.command-shell .masthead{border-bottom:1px solid #7a825055;justify-content:space-between;align-items:center;gap:8px;height:65px;padding:6px 2px;display:flex}.command-shell .wordmark{color:#e9d9a7;white-space:nowrap;align-items:center;gap:9px;font-size:22px;display:flex}.command-shell .wordmark small{letter-spacing:.8px;color:#9ca985;margin-top:2px;font-size:7px;display:block}.command-shell .seal{border:7px solid #0000;border-image:var(--button) 12 fill /7px /0 stretch;color:#e9d29a;background:#243625;place-items:center;width:34px;height:38px;font-size:19px;display:grid}.command-shell .masthead nav{gap:4px;display:flex}.command-shell .masthead nav button{border-width:6px;white-space:nowrap;border-image-width:6px;min-height:38px;padding:5px 6px;font-size:9px}.command-shell .brief{padding:20px 3px 22px}.command-shell .eyebrow{letter-spacing:1px;color:#c5b17b;font-size:10px}.command-shell .brief h1{letter-spacing:-.8px;margin:13px 0;font-size:25px;font-weight:400;line-height:1.65}.command-shell .brief h1 em{color:#d7c28e;font-style:normal}.command-shell .brief>p:last-of-type{color:#a6b196;font-size:11px;line-height:1.9}.command-shell .brief-facts{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#1c3123;justify-content:space-between;gap:12px;margin-top:22px;padding:12px 8px;display:flex}.command-shell .brief-facts>span{color:#9baa85;font-size:9px}.command-shell .brief-facts b{color:#e2ce96;font-size:18px;font-weight:400;line-height:1.5;display:block}.command-shell .section-title{justify-content:space-between;align-items:center;gap:10px;margin:0 2px 12px;display:flex}.command-shell .section-title h2{color:#dfd0a4;margin:0;font-size:12px;font-weight:400}.command-shell .section-title>span{color:#93a57e;text-align:right;font-size:8px}.command-shell .planning,.command-shell .setup-layout{grid-template-columns:minmax(0,1fr);gap:25px;display:grid}.command-shell .roster{gap:10px;display:grid}.command-shell .roster-card{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#1c3022;gap:12px;min-height:128px;padding:10px 11px 10px 7px;display:flex}.command-shell .roster-card.deploying{border-image-source:var(--selected)}.command-shell .roster-portrait{background:0 0;border:0;flex:0 0 69px;justify-content:center;align-items:center;min-height:96px;padding:0;display:flex;position:relative;filter:none!important}.command-shell .roster-portrait .hero-sheet,.command-shell .roster-portrait img{object-fit:contain;width:69px;height:92px;image-rendering:pixelated}.command-shell .roster-portrait>span:last-child{text-align:center;color:#d2bd86;text-shadow:1px 1px #102219;font-size:8px;position:absolute;bottom:-2px;left:0;right:0}.command-shell .roster-info{flex:1 1;min-width:0}.command-shell .roster-info h3{color:#eadbb1;margin:0 0 6px;font-size:21px;font-weight:400;line-height:1.4}.command-shell .roster-info h3 small{color:#aac08f;margin-left:9px;font-size:9px;font-weight:400}.command-shell .roster-info p{color:#a7b597;margin:0 0 9px;font-size:10px;line-height:1.8}.command-shell .roster-info label{font-size:0;display:block}.command-shell .roster-info select{color:#e0d6b4;background:#172b1d;border:1px solid #83936a;border-radius:0;width:100%;min-height:44px;padding:6px 9px;font-size:11px;display:block}.command-shell .deployment-map{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#14291c;padding:7px}.command-shell .board,.command-shell .board-surface{aspect-ratio:1;width:100%;position:relative}.command-shell .board{border:7px solid #0000;border-image:var(--panel) 12 fill /7px /0 stretch;isolation:isolate;image-rendering:pixelated;background:#17271a;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:5px;display:grid}.command-shell .board-surface>.board{height:100%}.command-shell .cell{aspect-ratio:1;cursor:pointer;touch-action:manipulation;min-width:0;min-height:0;image-rendering:pixelated;background:#3b5131 url(/assets/samgukpa/pixel/ground.png) 50%/100% 100% no-repeat;border:0;padding:0;display:block;position:relative;overflow:visible}.command-shell .cell.forest{background-image:url(/assets/samgukpa/pixel/forest.png)}.command-shell .cell.high,.command-shell .cell.highland,.command-shell .cell.hill{background-image:url(/assets/samgukpa/pixel/high.png)}.command-shell .cell.rock{cursor:default;background-image:url(/assets/samgukpa/pixel/rock.png)}.command-shell .cell.objective{background-image:url(/assets/samgukpa/pixel/objective.png),url(/assets/samgukpa/pixel/ground.png)}.command-shell .cell:after,.command-shell .cell:before{pointer-events:none}.command-shell .cell:hover:not(:disabled){filter:none}.command-shell .cell:focus-visible{z-index:8;outline-offset:-2px;outline:2px solid #e9cc84}.command-shell .cell.deploy-zone{box-shadow:inset 0 0 0 1px #a3c58077}.command-shell .cell.active,.command-shell .cell.deploy-selected{outline-offset:-2px;z-index:5;outline:2px solid #f0ce82}.command-shell .cell.target{outline-offset:-2px;z-index:4;outline:2px solid #c1dfa0}.command-shell .cell.target.enemy-cell{outline-color:#f2b08a}.command-shell .cell.path-cell{box-shadow:inset 0 0 0 2px #efcf91aa}.command-shell .cell.path-cell.fire-cell{outline-color:#f1a96b}.command-shell .objective-flag,.command-shell .terrain-mark{display:none!important}.command-shell .unit-token{z-index:3;pointer-events:none;image-rendering:pixelated;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.command-shell .unit-token>.hero-sheet,.command-shell .unit-token>img{object-fit:contain;width:67%;height:88%;image-rendering:pixelated;margin-top:5px}.command-shell .unit-name{z-index:2;white-space:nowrap;color:#f0edc7;text-shadow:1px 1px #1c3121;background:#244b30e8;justify-content:center;align-items:center;gap:3px;min-height:12px;font-size:9px;line-height:1.4;display:flex;position:absolute;top:0;left:1px;right:1px}.command-shell .side-1 .unit-name{color:#ffe4c0;background:#743f2be8}.command-shell .unit-name i{color:#c6dda3;font-size:7px;font-style:normal;line-height:1;display:inline-block}.command-shell .side-1 .unit-name i{color:#edb795}.command-shell .motion-unit[data-troop] .unit-name i,.command-shell .unit-token[data-troop] .unit-name i{width:11px;height:11px;image-rendering:pixelated;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 11px;font-size:0}.command-shell .motion-unit[data-troop=shield] .unit-name i,.command-shell .unit-token[data-troop=shield] .unit-name i{background-image:url(/assets/samgukpa/pixel/shield.png)}.command-shell .motion-unit[data-troop=spear] .unit-name i,.command-shell .unit-token[data-troop=spear] .unit-name i{background-image:url(/assets/samgukpa/pixel/spear.png)}.command-shell .motion-unit[data-troop=cavalry] .unit-name i,.command-shell .unit-token[data-troop=cavalry] .unit-name i{background-image:url(/assets/samgukpa/pixel/cavalry.png)}.command-shell .motion-unit[data-troop=archer] .unit-name i,.command-shell .unit-token[data-troop=archer] .unit-name i{background-image:url(/assets/samgukpa/pixel/archer.png)}.command-shell .hp-track{box-sizing:content-box;background:#14271a;border:1px solid #19251a;height:3px;position:absolute;bottom:2px;left:9%;right:9%}.command-shell .hp-track>span{background:#c3db91;height:100%;display:block}.command-shell .side-1 .hp-track>span{background:#dda07a}.command-shell .guard-badge{width:14px;height:14px;image-rendering:pixelated;background:url(/assets/samgukpa/pixel/guard.png) 50%/contain no-repeat;font-size:0;position:absolute;bottom:6px;right:1px}.command-shell .cell.acted .unit-token{opacity:.56}.command-shell .cell[data-motion-hidden=true] .unit-token{visibility:hidden}.command-shell .move-dot{pointer-events:none;image-rendering:pixelated;background:url(/assets/samgukpa/pixel/target.png) 50%/contain no-repeat;display:block;position:absolute;inset:22%}.command-shell .setup-board .unit-name{min-height:10px;font-size:8px}.command-shell .setup-board .unit-name i{font-size:7px}.command-shell .setup-board .hp-track{height:2px;bottom:1px}.command-shell .setup-board .unit-token>.hero-sheet,.command-shell .setup-board .unit-token>img{height:84%}.command-shell .deploy-hint{color:#a2b38d;margin:10px 3px;font-size:10px;line-height:1.9}.command-shell .deploy-hint b{color:#e2cb90;font-weight:400}.command-shell .enemy-brief{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#2c3020;gap:5px;padding:12px;display:grid}.command-shell .enemy-brief b{color:#d2b38b;font-size:11px;font-weight:400}.command-shell .enemy-brief span{color:#a9ac8a;font-size:10px;line-height:1.8}.command-shell .planning{margin-top:26px}.command-shell .formation-options,.command-shell .tactic-options{grid-template-columns:minmax(0,1fr);gap:9px;display:grid}.command-shell .formation-options>button,.command-shell .tactic-options>button{text-align:left;min-height:66px;padding:10px 12px}.command-shell .formation-options b,.command-shell .tactic-options b{color:#e2d4aa;font-size:12px;font-weight:400}.command-shell .formation-options p,.command-shell .tactic-options p{color:#aebc96;margin:5px 0 0;font-size:10px;line-height:1.8}.command-shell .tactic-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.command-shell .tactic-options>button{min-height:113px;padding:10px}.command-shell .tactic-options b{justify-content:space-between;align-items:baseline;gap:4px;display:flex}.command-shell .tactic-options small{color:#d2bc81;white-space:nowrap;font-size:8px}.command-shell .sortie{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#203924;justify-content:space-between;align-items:center;gap:10px;margin-top:22px;padding:12px;display:flex}.command-shell .sortie p{color:#ded1aa;margin:0;font-size:11px;line-height:1.8}.command-shell .sortie p span{color:#a7b08c;font-size:9px}.command-shell .sortie>.primary{flex-shrink:0;min-width:116px}.command-shell .notice{color:#e8bd82;margin:12px 3px;font-size:11px}.command-shell .battle-summary{border-bottom:1px solid #77865755;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;gap:8px;min-height:81px;padding:8px 6px;display:grid}.command-shell .score{flex-direction:column;align-items:flex-start;gap:0;display:flex}.command-shell .score.enemy{text-align:right;align-items:flex-end}.command-shell .score>span{color:#b7cb9b;font-size:9px;line-height:1.4}.command-shell .score.enemy>span{color:#d8b08c}.command-shell .score>b{color:#e9d5a0;font-size:23px;font-weight:400;line-height:1.4}.command-shell .score>b small{color:#93a579;margin-left:3px;font-size:10px}.command-shell .score>small{color:#a1ad86;font-size:8px;line-height:1.4}.command-shell .score-dots{gap:3px;margin:2px 0 3px;display:flex}.command-shell .score-dots i{background:#546044;width:7px;height:4px;display:block}.command-shell .score-dots i.filled{background:#ddc382}.command-shell .round{text-align:center;min-width:0}.command-shell .round>span{color:#c9b87d;font-size:9px}.command-shell .round strong{color:#e6d5a8;margin:3px 0;font-size:15px;font-weight:400;line-height:1.6;display:block}.command-shell .round>small{color:#9eaf86;font-size:8px;line-height:1.6;display:block}.command-shell .battle-layout{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:9px;display:grid}.command-shell .battlefield{min-width:0}.command-shell .map-caption{color:#d0c799;justify-content:space-between;align-items:center;gap:8px;margin:0 3px 6px;font-size:10px;display:flex}.command-shell .map-caption>span:last-child{color:#9eac81;font-size:8px}.command-shell .battlefield>.board,.command-shell .battlefield>.board-surface{width:min(100%,max(280px,100svh - 210px));margin-inline:auto}.command-shell .map-legend{color:#a0b087;flex-wrap:wrap;align-items:center;gap:3px 10px;margin:7px 2px;font-size:8px;line-height:1.8;display:flex}.command-shell .swatch{vertical-align:-1px;width:10px;height:10px;image-rendering:pixelated;background-position:50%;background-size:contain;margin-right:4px;display:inline-block}.command-shell .swatch.forest{background-image:url(/assets/samgukpa/pixel/forest.png)}.command-shell .swatch.high{background-image:url(/assets/samgukpa/pixel/high.png)}.command-shell .turn-strip{border:6px solid #0000;border-image:var(--panel) 12 fill /6px /0 stretch;color:#dfcb91;background:#293d26;min-height:32px;padding:7px 10px;font-size:10px;line-height:1.7}.command-shell .orders{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#1a3021;padding:12px}.command-shell .orders-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.command-shell .orders-heading h2{color:#dfc98e;margin:0;font-size:12px;font-weight:400}.command-shell .orders-heading>span{color:#afbd95;font-size:10px}.command-shell .unit-detail{border-bottom:1px solid #82916455;align-items:center;gap:10px;margin-top:10px;padding:0 0 10px;display:flex}.command-shell .unit-detail>.hero-sheet,.command-shell .unit-detail>img{object-fit:contain;width:48px;height:64px;image-rendering:pixelated;flex:0 0 48px}.command-shell .unit-detail>div{flex:1 1;min-width:0}.command-shell .unit-detail h3{color:#e3d5ae;margin:0;font-size:19px;font-weight:400}.command-shell .unit-detail h3 small{color:#aebc93;margin-left:9px;font-size:9px;display:inline}.command-shell .unit-detail p{color:#d3c69b;margin:4px 0;font-size:10px}.command-shell .unit-detail .detail-ability{color:#a2b58c;font-size:10px;line-height:1.7}.command-shell .formation-off,.command-shell .formation-on{color:#c4db9a;margin-top:5px;font-size:9px;display:block}.command-shell .formation-off{color:#839e73}.command-shell .empty-order{color:#9daf88;margin:12px 0;font-size:11px;line-height:1.8}.command-shell .command-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:11px;display:grid}.command-shell .command-grid>button{border-width:6px;border-image-width:6px;min-height:44px;padding:6px 2px;font-size:11px}.command-shell .order-instruction{border:6px solid #0000;border-image:var(--panel) 12 fill /6px /0 stretch;background:#13291b;margin:10px 0;padding:10px;font-size:10px}.command-shell .order-instruction>b{color:#e2c58a;font-size:11px;font-weight:400}.command-shell .order-instruction p{color:#afbf97;margin:5px 0 0;font-size:10px;line-height:1.8}.command-shell .attack-confirm{border-image-source:var(--selected);color:#ffe0ae;background:#734631;width:100%;margin-top:10px;font-size:12px;display:block}.command-shell .battle-tactics h3{color:#d2c394;justify-content:space-between;gap:10px;margin:11px 0 6px;font-size:11px;font-weight:400;display:flex}.command-shell .battle-tactics h3>span{color:#95a87d;font-size:8px}.command-shell .battle-tactics>button{border-width:6px;border-image-width:6px;justify-content:space-between;align-items:center;gap:4px;width:calc(33.3333% - 4px);min-height:44px;margin:0 6px 0 0;padding:7px 6px;display:inline-flex}.command-shell .battle-tactics>button:last-child{margin-right:0}.command-shell .battle-tactics>button>b{font-size:11px;font-weight:400}.command-shell .battle-tactics>button>span{color:#c6ba83;white-space:nowrap;font-size:8px}.command-shell .end-order{width:100%;min-height:48px;margin-top:11px;font-size:12px;display:block}.command-shell .surrender{color:#a7b18d;border-width:6px;border-image-width:6px;min-height:40px;margin:9px auto 0;padding:5px 14px;font-size:10px;display:block}.command-shell .bottom-panels{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:14px;display:grid}.command-shell .bottom-panels h3{color:#d1bf8c;margin:0 0 9px;font-size:11px;font-weight:400}.command-shell .army-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.command-shell .army-list>h3{grid-column:1/-1}.command-shell .army-list>button{text-align:left;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 6px;min-height:57px;padding:7px 9px;display:flex}.command-shell .army-list>button>span:first-child{font-size:11px}.command-shell .army-list>button>span:nth-child(2){color:#d0bf85;font-size:9px}.command-shell .army-list>button>small{color:#a6b68a;flex-basis:100%;font-size:8px}.command-shell .battle-log,.command-shell .enemy-intel{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#182e20;padding:12px}.command-shell .battle-log ol{margin:0;padding:0;list-style:none}.command-shell .battle-log li{color:#a3b48b;font-size:10px;line-height:1.9}.command-shell .enemy-intel h3{color:#d1b48a}.command-shell .enemy-intel p{color:#b0ad89;margin:4px 0;font-size:10px;line-height:1.9}.command-shell .overlay{z-index:40;padding:max(16px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom));background:#07130de8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:auto}.command-shell .modal{width:min(456px,100%);max-height:calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:12px solid #0000;border-image:var(--modal) 12 fill /12px /0 stretch;text-align:center;image-rendering:pixelated;background:#213b29;padding:21px 17px;overflow:auto}.command-shell .modal>h2{color:#eddaab;margin:0 0 14px;font-size:22px;font-weight:400;line-height:1.6}.command-shell .modal>p{color:#b5c29f;font-size:11px;line-height:1.9}.command-shell .modal>button{width:100%;margin-top:10px;display:block}.command-shell .result-scores{justify-content:center;gap:42px;margin:22px 0;display:flex}.command-shell .result-scores span{color:#adbd96;font-size:11px}.command-shell .result-scores b{color:#ebd49c;font-size:32px;font-weight:400;display:block}.command-shell .help-copy{text-align:left;color:#b0c09b;font-size:11px;line-height:1.9}.command-shell .help-copy b{color:#e2ca91;font-weight:400}.command-shell .help-copy p{margin:12px 0}.command-shell .hero-sheet{aspect-ratio:3/4;width:96px;height:128px;image-rendering:pixelated;vertical-align:middle;background-position:0 0;background-repeat:no-repeat;background-size:600% 100%;display:inline-block}.command-shell .hero-sheet[data-pose=idle]{background-position:0 0;animation:none}.command-shell .hero-sheet[data-pose=move]{animation:samgukpa-hero-walk .24s step-end infinite}.command-shell .hero-sheet[data-pose=attack]{animation:samgukpa-hero-attack .32s step-end both}.command-shell .hero-sheet[data-pose=hit]{background-position:100% 0;animation:samgukpa-hero-hit .24s step-end both}@keyframes samgukpa-hero-walk{0%,49.999%{background-position:20% 0}50%,to{background-position:40% 0}}@keyframes samgukpa-hero-attack{0%,49.999%{background-position:60% 0}50%,to{background-position:80% 0}}@keyframes samgukpa-hero-hit{0%,35%,70%,to{opacity:1}36%,69%{opacity:.62}}.command-shell .fx-layer,.command-shell .motion-layer{z-index:12;pointer-events:none;image-rendering:pixelated;position:absolute;inset:0}.command-shell .motion-unit{pointer-events:none;width:14.2857%;height:14.2857%;image-rendering:pixelated;will-change:transform;justify-content:center;align-items:center;display:flex;position:absolute}.command-shell .motion-unit>.hero-sheet{width:67%;height:88%;margin-top:5px}.command-shell .pixel-fx{aspect-ratio:1;pointer-events:none;width:100%;height:100%;image-rendering:pixelated;background-position:0 0;background-repeat:no-repeat;background-size:400% 100%;animation:samgukpa-effect-frames .32s step-end both;display:block;position:absolute}.command-shell .fx-hit,.command-shell .pixel-fx[data-kind=hit]{background-image:url(/assets/samgukpa/pixel/fx-hit.png)}.command-shell .fx-slash,.command-shell .pixel-fx[data-kind=slash]{background-image:url(/assets/samgukpa/pixel/fx-slash.png)}.command-shell .fx-fire,.command-shell .pixel-fx[data-kind=fire]{background-image:url(/assets/samgukpa/pixel/fx-fire.png)}.command-shell .fx-magic,.command-shell .pixel-fx[data-kind=magic]{background-image:url(/assets/samgukpa/pixel/fx-magic.png)}@keyframes samgukpa-effect-frames{0%,24.999%{background-position:0 0}25%,49.999%{background-position:33.3333% 0}50%,74.999%{background-position:66.6667% 0}75%,to{background-position:100% 0}}.command-shell .fire-cell:before{content:"";z-index:2;image-rendering:pixelated;background:url(/assets/samgukpa/pixel/fx-fire.png) 0 0/400% 100% no-repeat;animation:samgukpa-effect-frames .64s step-end infinite;position:absolute;inset:7%}.command-shell .damage-number{z-index:16;color:#ffe5b1;text-shadow:1px 1px #632f21,-1px 1px #632f21;pointer-events:none;font-size:16px;animation:samgukpa-damage-lift .48s ease-out both;position:absolute;top:6%;left:50%;transform:translate(-50%)}@keyframes samgukpa-damage-lift{0%{opacity:0;translate:0 3px}15%,70%{opacity:1}to{opacity:0;translate:0 -8px}}.command-shell .animation-label{color:#c9bc8d;text-align:center;min-height:15px;font-size:9px}.command-shell .command-dock{bottom:env(safe-area-inset-bottom);z-index:18;border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#1a3022;padding:7px;position:sticky}.command-shell .command-dock .command-grid{margin-top:0}.command-shell .command-dock .end-order{margin-top:6px}@media (max-width:350px){.command-shell{padding-inline:8px}.command-shell .masthead{gap:5px;height:60px}.command-shell .wordmark{gap:7px;font-size:20px}.command-shell .wordmark small{letter-spacing:.4px;font-size:6px}.command-shell .seal{width:30px;height:34px;font-size:18px}.command-shell .masthead nav{gap:2px}.command-shell .masthead nav button{border-width:5px;border-image-width:5px;min-height:36px;padding:4px 5px;font-size:8px}.command-shell .brief{padding:17px 2px 20px}.command-shell .brief h1{font-size:22px}.command-shell .brief-facts{gap:7px;padding:10px 5px}.command-shell .brief-facts b{font-size:16px}.command-shell .roster-card{gap:9px;padding:9px 8px 9px 5px}.command-shell .roster-portrait{flex-basis:61px}.command-shell .roster-portrait .hero-sheet,.command-shell .roster-portrait img{width:63px;height:84px}.command-shell .roster-info h3{font-size:19px}.command-shell .roster-info h3 small{margin-left:7px;font-size:8px}.command-shell .roster-info p{font-size:10px}.command-shell .section-title>span{font-size:7px}.command-shell .tactic-options>button{min-height:120px;padding:9px 8px}.command-shell .tactic-options b{font-size:11px}.command-shell .tactic-options small{font-size:7px}.command-shell .sortie{gap:8px;padding:10px 8px}.command-shell .sortie p{font-size:10px}.command-shell .sortie p span{font-size:8px}.command-shell .sortie>.primary{min-width:103px;padding:10px;font-size:12px}.command-shell .battle-summary{grid-template-columns:58px minmax(0,1fr) 58px;gap:5px;min-height:77px;padding-inline:3px}.command-shell .score>span{font-size:8px}.command-shell .score>b{font-size:21px}.command-shell .score>small{font-size:7px}.command-shell .score-dots{gap:2px}.command-shell .score-dots i{width:6px}.command-shell .round strong{font-size:13px}.command-shell .round>small{font-size:7px}.command-shell .round>span{font-size:8px}.command-shell .map-caption{font-size:9px}.command-shell .map-caption>span:last-child{font-size:7px}.command-shell .board{border-width:5px;border-image-width:5px;gap:1px;padding:3px}.command-shell .unit-name{gap:2px;min-height:10px;font-size:8px}.command-shell .unit-name i{font-size:6px}.command-shell .motion-unit[data-troop] .unit-name i,.command-shell .unit-token[data-troop] .unit-name i{flex-basis:9px;width:9px;height:9px}.command-shell .hp-track{height:2px;bottom:1px}.command-shell .guard-badge{width:11px;height:11px;bottom:5px}.command-shell .map-legend{gap:2px 7px;font-size:7px}.command-shell .turn-strip{padding:6px 8px;font-size:9px}.command-shell .orders{padding:10px}.command-shell .unit-detail h3{font-size:18px}.command-shell .unit-detail h3 small{margin-left:7px;font-size:8px}.command-shell .unit-detail .detail-ability{font-size:9px}.command-shell .command-grid>button{font-size:10px}.command-shell .battle-tactics>button{padding:7px 4px}.command-shell .battle-tactics>button>b{font-size:10px}.command-shell .battle-tactics>button>span{font-size:7px}.command-shell .modal{border-width:10px;border-image-width:10px;padding:18px 13px}.command-shell .modal>h2{font-size:20px}}@media (prefers-reduced-motion:reduce){.command-shell,.command-shell *,.command-shell :after,.command-shell :before{scroll-behavior:auto!important}.command-shell .hero-sheet[data-pose=move]{background-position:20% 0;animation:none}.command-shell .hero-sheet[data-pose=attack]{background-position:80% 0;animation:none}.command-shell .hero-sheet[data-pose=hit]{opacity:1;animation:none}.command-shell .fire-cell:before,.command-shell .pixel-fx{background-position:66.6667% 0;animation:none}.command-shell .damage-number{opacity:1;animation:none;translate:0}.command-shell .motion-unit{will-change:auto}}.command-shell .hero-sheet{flex-shrink:0;position:relative;overflow:visible;background-image:none!important}.command-shell .hero-sheet:before{content:"";background-image:var(--hero-image);background-size:600% 100%;background-position:inherit;width:166.667%;height:100%;image-rendering:pixelated;pointer-events:none;background-repeat:no-repeat;position:absolute;top:0;left:-33.3333%}.command-shell[data-paused=true] .damage-number,.command-shell[data-paused=true] .fire-cell:before,.command-shell[data-paused=true] .hero-sheet,.command-shell[data-paused=true] .pixel-fx{animation-play-state:paused}.command-shell .motion-unit[data-dead=true]{opacity:.3}.command-shell .effect-cell{pointer-events:none;position:absolute}.command-shell .unit-token .hero-sheet{pointer-events:none}.command-shell{padding-bottom:calc(95px + env(safe-area-inset-bottom))}.command-shell .mobile-command-dock{z-index:18;width:min(100%,480px);padding:7px 6px calc(7px + env(safe-area-inset-bottom));border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#11251def;gap:3px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.command-shell .mobile-command-dock>button{border-width:6px;white-space:nowrap;border-image-width:6px;flex:1 1;min-width:0;min-height:44px;padding:4px 1px;font-size:10px}.command-shell .quick-tactics{border:8px solid #0000;border-image:var(--panel) 12 fill /8px /0 stretch;background:#132d20;gap:5px;padding:9px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0}.command-shell .quick-tactics>button{flex:1 1;min-width:0;padding:7px 4px;font-size:11px}.command-shell .quick-tactics small{color:#c8b87c;font-size:8px;display:block}.command-shell .quick-confirm{align-items:center;gap:7px;width:100%;display:flex}.command-shell .quick-confirm>span{color:#e9d49b;flex:1 1;font-size:10px}.command-shell .quick-confirm>button{min-height:44px;padding:5px 10px;font-size:11px}.command-shell .mobile-command-dock>button[aria-label="빠른 행동 마침"]:before,.command-shell .mobile-command-dock>button[aria-label=빠른\ 이동]:before{content:"";vertical-align:-2px;width:13px;height:13px;image-rendering:pixelated;background:url(/assets/samgukpa/pixel/move.png) 50%/contain no-repeat;margin-right:2px;display:inline-block}.command-shell .mobile-command-dock>button[aria-label="빠른 행동 마침"]:before{background-image:url(/assets/samgukpa/pixel/end.png)}.command-shell .hero-sheet[data-pose=hit]{animation-duration:.18s}.command-shell .fire-cell:before,.command-shell .pixel-fx{animation-duration:.28s}.command-shell .pixel-fx{opacity:0;animation-name:samgukpa-pixel-effect-frames}@keyframes samgukpa-pixel-effect-frames{0%,24.999%{opacity:1;background-position:0 0}25%,49.999%{opacity:1;background-position:33.3333% 0}50%,74.999%{opacity:1;background-position:66.6667% 0}75%,to{opacity:1;background-position:100% 0}}@media (prefers-reduced-motion:reduce){.command-shell .fire-cell:before,.command-shell .pixel-fx{opacity:1;background-position:66.6667% 0;animation:none!important}.command-shell .hero-sheet[data-pose]{animation:none!important}}.command-shell .order-instruction[data-free-move]{border-image-source:var(--selected)}.command-shell .free-command-label{color:#e6cf91;font-size:7px;line-height:1.4;display:block}.command-shell .mobile-command-dock[data-free-move=move]>button[aria-label=빠른\ 이동]:before,.command-shell .mobile-command-dock[data-free-move]>button[aria-label="빠른 행동 마침"]:before{display:none}.command-shell .audio-controls{border-bottom:1px solid #7a825033;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:7px 2px;font-size:10px;display:flex}.command-shell .audio-controls>button{white-space:nowrap;min-height:44px;padding:5px 7px;font-size:10px}.command-shell .audio-controls>label{white-space:nowrap;flex:1 1;align-items:center;gap:5px;min-width:0;display:flex}.command-shell .audio-controls input{accent-color:#d7c28e;touch-action:manipulation;width:100%;min-width:50px;max-width:120px;min-height:44px;margin:0}.command-shell .audio-controls input:focus-visible{outline-offset:2px;outline:2px solid #f2d595}.command-shell .audio-controls label>span{min-width:27px;font-size:9px}.command-shell .audio-controls>small{color:#a6b196;font-size:8px}.command-shell .audio-notice{color:#e4c590;flex-basis:100%;margin:3px 0;line-height:1.7}.command-shell .board.phaser-accessibility{pointer-events:none;background:0 0;border-image-slice:12;gap:0}.command-shell .phaser-accessibility .cell{pointer-events:none;outline:none;box-shadow:none!important;background:0 0!important}.command-shell .phaser-accessibility .cell:after,.command-shell .phaser-accessibility .cell:before{display:none!important}.command-shell .phaser-accessibility .cell:focus-visible{outline:2px solid #e9cc84}.command-shell .cell-accessible-text{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.command-shell .phaser-host{z-index:1;touch-action:none;image-rendering:pixelated;position:absolute;inset:12px;overflow:hidden}.command-shell .phaser-host canvas{max-width:100%;max-height:100%;image-rendering:pixelated;display:block!important}.command-shell .phaser-accessibility{z-index:2}@media (max-width:350px){.command-shell .phaser-host{inset:8px}}