:root{font-family:Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-synthesis:none;color:#e8ecdf;background:#17231e;--gold: #e6ca8f;--muted: #a6b7a4;--line: #45594a}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit;transition:background .15s,border-color .15s,filter .15s}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled){filter:brightness(1.12)}button:focus-visible,input:focus-visible{outline:2px solid #edce8c;outline-offset:3px}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}.app{min-height:100vh;background:radial-gradient(ellipse at 0 0,#30423655,transparent 50%),#19271f}.topbar{height:68px;padding:0 24px;display:flex;gap:30px;align-items:center;border-bottom:1px solid #4a5f453d;background:#1c2b23}.brand{display:flex;align-items:center;gap:12px}.brand-mark{font:34px Georgia;color:#e3c98f}.brand strong{font-size:17px;font-weight:600;letter-spacing:-.3px}.current-stage{display:flex;gap:12px;align-items:center;border-left:1px solid #52694777;padding-left:27px;flex:1}.current-stage>span{font-size:12px;color:#adc29e}.current-stage h1{font-size:14px;font-weight:400;color:#cfd8c1}.top-actions{display:flex;align-items:center;gap:22px}.gold-counter{display:flex;gap:9px;align-items:center;color:#e7ce93}.gold-counter strong{font-size:23px;font-variant-numeric:tabular-nums;font-weight:500}.main-menu-wrap{position:relative}.main-menu-button,.camera-menu-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #5e765055;background:#394d3477;border-radius:5px;color:#d5dec4;font-size:12px}.main-menu{position:absolute;right:0;top:47px;min-width:170px;z-index:100;display:flex;flex-direction:column;padding:7px;border:1px solid #74856b;background:#273b2e;border-radius:7px;box-shadow:0 12px 30px #08160f55}.main-menu button,.camera-menu button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:12px;color:#e0e5cf;text-align:left;border-radius:4px;font-size:13px}.main-menu button:hover,.camera-menu button:hover{background:#6e815033}.game-shell{height:calc(100dvh - 68px);min-height:660px;max-width:2000px;margin:auto;padding:20px 22px 8px;display:flex;flex-direction:column;gap:10px}.game-grid{display:grid;grid-template-columns:264px minmax(0,1fr);gap:20px;flex:1;min-height:0;align-items:stretch}.machine{align-self:start;border:1px solid #5e6b5155;background:#2a382d;border-radius:9px;padding:18px 16px;box-shadow:0 5px 18px #0a190c11}.machine>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.machine h2{font-size:17px;font-weight:600}.machine>header>span{display:flex;gap:5px;align-items:center;color:#d7be88;font-size:13px}.reel-frame{padding:5px;border:1px solid #526442;background:#162b20;border-radius:4px}.reel-matrix{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.reel-column{display:flex;flex-direction:column;gap:4px}.reel-cell{position:relative;overflow:hidden;aspect-ratio:1;background:linear-gradient(#b5c3a3,#95ac85);border:1px solid #c4cba066;border-radius:2px}.still-symbol{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.unit-art{display:block;aspect-ratio:1;background-image:url(../art/allies-v2.png);background-size:400% 600%;background-position:0% var(--row-y);background-repeat:no-repeat;image-rendering:pixelated;flex-shrink:0}.reel-cell .unit-art{width:91%;filter:drop-shadow(1px 2px 0 #405b3c55)}.reel-cell.winning{border-color:#ffe1a1;background:linear-gradient(#f3de9e,#d1b878);box-shadow:inset 0 0 9px #ffeab366}.reel-column.held .reel-cell{border-color:#edca88}.rolling-strip{position:absolute;inset:0;z-index:2;animation:reel-roll .23s linear infinite;animation-delay:calc(var(--col) * -.07s);background:#b1c39d}.rolling-strip>div{height:100%;display:flex;align-items:center;justify-content:center}.reel-column.rolling .still-symbol{visibility:hidden}.spin-readout{min-height:49px;display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:11px;color:#afc09f;padding:10px 0}.spin-readout strong{color:#e5d3a1;font-size:12px;font-weight:500}.spin-button{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 11px;border:1px solid #a4996c;border-radius:5px;background:#4b5c37;color:#ecdfb5;font-size:14px;font-weight:600}.spin-button b{display:flex;align-items:center;gap:4px;margin-left:7px;padding-left:12px;border-left:1px solid #9f9b6c66;font-size:15px;font-weight:500}.first-draw .spin-button{background:#e2c68a;border-color:#f3dca6;color:#2c3a24;box-shadow:0 3px 10px #0b210f22}.draw-unavailable{font-size:11px;color:#adbea0;text-align:center;margin:12px 0 0}.options-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;color:#9bb18f;padding:17px 1px 0;font-size:11px}.draw-options{margin-top:14px;border-top:1px solid #69835744;padding-top:14px}.reel-locks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}.reel-locks button{display:flex;justify-content:center;gap:5px;align-items:center;min-height:38px;border:1px solid #63764d;background:#3a5036;border-radius:4px;color:#bdc8a5;font-size:11px}.reel-locks button[aria-pressed=true]{background:#8d7b4b;color:#ffe4ae;border-color:#e0bf7a}.draw-options p{font-size:11px;line-height:1.8;color:#a2b695;margin-top:7px}.war-room{display:flex;flex-direction:column;gap:13px;min-width:0;min-height:0}.battle-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#263c2d;border:1px solid #61794f77;border-radius:8px;overflow:hidden}.battle-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;height:44px;padding:0 16px;flex-shrink:0;border-bottom:1px solid #7d935c44;color:#dbe6cc}.battle-topline>strong{font-size:13px;font-weight:500}.battle-topline>div{display:flex;gap:16px;font-size:12px}.ally-count{color:#c0d5a6}.enemy-count{color:#d8b5a2}.battle-stage{position:relative;flex:1;min-height:280px;isolation:isolate;background:#bed0c6;overflow:hidden}.world-host{position:absolute;inset:0;z-index:2;touch-action:none;outline:0}.world-host>div:first-child{width:100%;height:100%}.world-host canvas{display:block;touch-action:none;image-rendering:auto}.world-host:focus-visible{outline:2px solid #e5c990;outline-offset:-3px}.world-host.has-selection canvas{cursor:crosshair!important}.battle-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;min-height:71px;padding:12px 15px;flex-shrink:0;border-top:1px solid #78915944}.battle-state-hint{font-size:12px;color:#a2bc94}.battle-actions{display:flex;align-items:center;gap:9px}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border-radius:5px;font-size:14px;font-weight:600;padding:11px 20px}.primary{background:#e5c88d;color:#293821;border:1px solid #f0d9a3;box-shadow:0 2px 7px #152a1722}.secondary{background:#3c5536;color:#d8dfb8;border:1px solid #879967}.battle-button{min-width:157px}.speed-button{min-height:44px;min-width:44px;background:#3c5635;border:1px solid #7f925e88;border-radius:5px;color:#d6dfb7;font-size:13px}.army-panel{padding:13px 0 0;flex-shrink:0}.army-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.army-panel>header>div{display:flex;gap:8px;align-items:center;color:#b6c9a5}.army-panel h2{font-size:13px;font-weight:500;color:#e0e6d1}.army-panel header span{font-size:11px;color:#8fa987;margin-left:3px}.army-panel header b{font-weight:500;color:#cbd9b3;padding-right:3px}.army-groups{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.army-group{position:relative;border:1px solid #667e4a77;background:#2b412d;border-radius:6px;overflow:hidden}.army-group.selected{border-color:#e9cc84;box-shadow:0 0 0 1px #ebd59877;background:#45583b}.army-group.absent{opacity:.45}.group-select{display:flex;align-items:center;gap:7px;width:100%;min-height:68px;border:0;background:none;padding:9px 7px;text-align:left}.group-select .unit-art{width:45px;height:45px}.group-select>div{min-width:0;flex:1}.group-select h3{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px;color:#dde7cb;white-space:nowrap;font-weight:500}.group-select h3 b{font-size:13px;color:#d5dcaa;font-weight:500}.unit-stars{font-size:10px;letter-spacing:1px;display:block;color:#e5cc86;margin-top:6px}.group-upgrade{display:flex;gap:4px;align-items:center;justify-content:center;min-height:34px;border:0;border-top:1px solid #71865644;border-radius:0;background:#67834d16;width:100%;font-size:11px;color:#c1cfaa;padding:7px 2px}.group-upgrade small{font-size:9px;color:#97ae87;margin-left:1px}.upgrade-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#35502c}.upgrade-progress i{display:block;height:100%;background:#d0bd75}.relic-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#bdbb87;font-size:11px;padding-top:4px}.equipped-relic{display:flex;gap:6px;align-items:center;border:1px solid #8c935244;border-radius:4px;padding:5px 8px;font-size:11px}.game-footer{display:flex;justify-content:flex-end;min-height:17px;flex-shrink:0;font-size:10px;color:#75996f}.game-footer>span{display:flex;align-items:center;gap:4px}.camera-menu-wrap{position:absolute;right:12px;top:12px;z-index:8}.camera-menu-button{background:#2a4838dd;border-color:#d5dfb344;min-height:37px;font-size:11px;padding:0 10px;color:#e1e7cf}.camera-menu{position:absolute;right:0;top:44px;width:185px;padding:7px;border:1px solid #8b9a6c;background:#294533f5;border-radius:6px;box-shadow:0 8px 25px #15382633}.camera-menu button{width:100%;padding:10px;font-size:12px}.camera-menu p{font-size:10px;color:#9fba94;border-top:1px solid #6e875244;padding:11px 7px 6px}.camera-menu>div{display:flex;gap:12px;align-items:center;padding:5px 8px;font-size:10px;color:#9ebc8f}.camera-menu>div>span{display:inline-block;font-size:18px;color:#dbd19a}.selection-cue{position:absolute;bottom:18px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;min-height:43px;background:#2c4b36e8;border:1px solid #bdcd9a88;border-radius:22px;color:#e5ebd1;font-size:12px;padding:10px 17px;box-shadow:0 3px 12px #19341d22;z-index:5;white-space:nowrap}.command-strip{position:absolute;bottom:15px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:7px;padding:9px 11px 31px;background:#284733f5;border:1px solid #c5d29a99;border-radius:8px;box-shadow:0 7px 20px #12302333;z-index:5;max-width:96%;white-space:nowrap}.selected-summary{padding:0 10px 0 3px;max-width:180px;overflow:hidden}.selected-summary strong{font-size:12px;display:block;font-weight:500;color:#ecedd3;text-overflow:ellipsis;overflow:hidden}.selected-summary span{display:block;margin-top:5px;font-size:10px;color:#a7c295}.command-strip>button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;min-width:38px;border:1px solid #6d915f88;border-radius:4px;padding:8px 10px;background:#36593c;color:#c4d8b1;font-size:12px}.command-strip>button.active{background:#d9c88f;color:#30412a;border-color:#f2dfa9}.command-strip>p{position:absolute;bottom:8px;left:12px;right:12px;text-align:center;font-size:11px;color:#b8cea5}.command-feedback{position:absolute;top:19px;left:50%;transform:translate(-50%);display:flex;gap:7px;align-items:center;font-size:12px;color:#e9efd4;background:#2a4a35eb;padding:10px 15px;border:1px solid #b6c99577;border-radius:5px;z-index:7;white-space:nowrap}.pause-indicator{position:absolute;top:15px;left:15px;display:flex;align-items:center;gap:6px;padding:7px 10px;background:#2c4938cc;color:#d8e5c2;font-size:11px;border-radius:4px;pointer-events:none;z-index:4}.summon-banner{position:absolute;left:50%;bottom:21px;transform:translate(-50%);z-index:6;font-size:12px;background:#325136ec;color:#e5e5bf;border:1px solid #c3c68c77;border-radius:5px;padding:12px 18px;pointer-events:none;white-space:nowrap}.unit-inspector{position:absolute;left:14px;bottom:18px;z-index:5;background:#294833ed;border:1px solid #9fb483;border-radius:5px;padding:12px 38px 12px 13px;color:#dce6c8}.unit-inspector strong{font-size:13px;font-weight:500}.unit-inspector p{font-size:11px;color:#a9c296;margin-top:7px}.unit-inspector button{position:absolute;right:7px;top:8px;background:none;border:0;color:#b6d0a5}.world-loading{background:#294a37f5;border:1px solid #b6bd8f;border-radius:7px;padding:22px;text-align:center;min-width:250px;color:#e7e8cc}.world-loading strong{display:block;font-size:13px;font-weight:500;margin:12px 0 9px}.world-loading small{font-size:10px;color:#a9c397}.loading-orbit{display:inline-block;height:24px;width:24px;border:2px solid #597b4c;border-top-color:#e4ca87;border-radius:100%;animation:load-orbit 1s linear infinite}.world-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:16px;flex-direction:column;background:#2d4836;color:#e2dfba;padding:25px;text-align:center}.world-error strong{font-size:14px;font-weight:500}.world-error button{min-height:44px;border:1px solid #a8b97f;background:#46643e;border-radius:4px;color:#e2e3bd;padding:10px 20px}.icon-btn{display:flex;align-items:center;justify-content:center;border:0;background:none;padding:6px;color:#b6cba7}.eyebrow{font:9px Georgia;letter-spacing:1.5px;color:#b7ad7a}@keyframes reel-roll{0%{transform:translateY(-600%)}to{transform:translateY(0)}}@keyframes load-orbit{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;background:#101c1cea;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);overflow:auto}.reward-modal{text-align:center;width:100%;max-width:850px}.reward-emblem{width:66px;height:66px;border:1px solid #b3a06b;color:#e6c482;background:radial-gradient(#d2ad4b1a,transparent);border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;box-shadow:0 0 30px #c0a3490a}.eyebrow{font:9px Georgia;letter-spacing:2px;color:#bca56f}.reward-modal h2{font-size:31px;font-weight:500;margin:13px 0 18px;color:#f0e6c8}.reward-caption{font-size:12px;display:flex;gap:6px;align-items:center;justify-content:center;color:#e5c784;flex-wrap:wrap}.reward-caption>span{width:100%;font-size:11px;color:#a6b49a;margin-top:8px}.reward-options{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:30px 0 22px}.reward-option{border:2px solid #697351;background:linear-gradient(140deg,#344333,#25322a);border-radius:5px;padding:28px 20px 0;text-align:center;box-shadow:4px 5px #0f1d18;transition:transform .15s}.reward-option:hover{border-color:#dfc687;transform:translateY(-4px)}.relic-emblem{width:75px;height:75px;display:grid;place-items:center;border:1px solid #b6a266;color:#e6c981;margin:0 auto 25px;transform:rotate(45deg);background:#b79a4a0a}.relic-emblem>svg{transform:rotate(-45deg)}.reward-option>small{font:8px Georgia;letter-spacing:1px;color:#9fa97e}.reward-option h3{font-size:17px;font-weight:500;color:#ece2be;margin:12px 0}.reward-option p{min-height:42px;font-size:11px;line-height:1.8;color:#a5b494}.choose-label{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:17px 0;border-top:1px solid #64714d;color:#dec58b;font-size:11px}.reward-footnote{font-size:10px;color:#7c9679}.info-modal{position:relative;max-width:560px;width:100%;max-height:90vh;overflow:auto;background:linear-gradient(135deg,#344030,#202e27);border:2px solid #818463;border-radius:6px;padding:33px;color:#c8d0b1;box-shadow:7px 7px #0b1917,0 30px 90px #0005}.info-modal>h2{font-size:25px;font-weight:500;color:#e8e2bf;margin:12px 0 25px}.modal-close{position:absolute;top:12px;right:12px}.info-modal>p,.modal-note{font-size:12px;line-height:1.9;color:#a9b79a}.info-modal>.primary{margin-top:25px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #586e48;font-size:13px}.setting-row small{display:block;font-size:10px;color:#90a483;margin-top:7px}.setting-row input{width:19px;height:19px;accent-color:#c6ad70}.modal-note{font-size:11px;margin-top:25px}.guide-steps{display:flex;flex-direction:column;gap:25px}.guide-steps>div{display:flex;gap:18px}.guide-steps b{font:22px Georgia;color:#d0b979}.guide-steps h3{font-size:13px;font-weight:500;color:#dddcb5;margin-bottom:7px}.guide-steps p{font-size:11px;color:#a8b895;line-height:1.9}.codex-modal{max-width:860px}.codex-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.codex-grid article{background:#1d332555;border:1px solid #586d48;padding:14px}.codex-grid .unit-art{width:100px;margin:0 auto 12px}.codex-grid h3{font-size:13px;font-weight:500;margin-bottom:7px;color:#e1dcb8}.codex-grid small{color:#c0ae76;font-size:10px}.codex-grid p{font-size:10px;line-height:1.9;color:#a2b391;margin-top:8px}.end-modal{text-align:center;max-width:600px;padding:40px}.end-modal .eyebrow{margin-top:25px}.end-modal h2{margin-top:15px;font-size:27px}.end-stats{display:flex;justify-content:center;gap:40px;margin:30px 0}.end-stats small{display:block;color:#8fa780;font-size:10px;margin-bottom:10px}.end-stats strong{font:26px Georgia;color:#ddd2a0}.end-modal .primary{margin:auto}.notice{position:fixed;bottom:18px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;background:#2c4530f5;border:1px solid #8a9b6e;color:#d2d9b5;z-index:120;padding:12px 15px;max-width:90vw;box-shadow:3px 4px #14261c;font-size:10px;line-height:1.7}.notice>svg{flex-shrink:0}.notice button{border:0;background:none;display:flex;color:#acbc98;padding:0}.save-warning{position:fixed;bottom:0;left:0;right:0;background:#805133;color:#ffe4ae;z-index:150;text-align:center;padding:10px;font-size:11px}.info-modal h2{font-size:24px}.info-modal p,.guide-steps p{font-size:12px;line-height:1.85}.reduced *{animation:none!important;transition:none!important}@media(min-width:1700px){.game-grid{grid-template-columns:290px minmax(0,1fr);gap:24px}.game-shell{padding:23px 28px 10px}.group-select{padding:12px;gap:10px}.group-select .unit-art{width:54px;height:54px}.group-select h3{font-size:14px}.group-select h3 b{font-size:15px}.group-upgrade{font-size:12px;min-height:38px}.group-upgrade small{font-size:10px}}@media(max-width:1200px){.game-grid{grid-template-columns:235px minmax(0,1fr);gap:16px}.game-shell{padding:16px 16px 8px}.machine{padding:16px 12px}.machine h2{font-size:16px}.group-select{flex-direction:column;gap:5px;text-align:center;min-height:93px;padding:7px}.group-select .unit-art{height:39px;width:39px}.group-select>div{width:100%}.group-select h3{font-size:11px;justify-content:center;gap:7px}.group-select h3 b{font-size:11px}.unit-stars{font-size:8px;margin-top:4px}.group-upgrade{font-size:10px;gap:2px}.group-upgrade small{font-size:8px}.group-upgrade>svg{width:11px}.army-groups{gap:6px}.battle-state-hint{font-size:11px;max-width:240px;line-height:1.6}.battle-button{min-width:135px}.selected-summary{max-width:140px}}@media(max-width:900px){.game-shell{height:auto;min-height:calc(100dvh - 68px)}.game-grid{grid-template-columns:220px minmax(0,1fr);align-items:start}.battle-stage{height:350px;flex:none}.battle-panel{flex:none}.army-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.group-select{flex-direction:row;text-align:left;min-height:65px;padding:7px}.group-select>div{width:auto}.group-select h3{justify-content:space-between;font-size:11px}.group-select .unit-art{width:35px;height:35px}.group-upgrade{font-size:10px}.current-stage{gap:8px;padding-left:20px}.current-stage h1{font-size:12px}.current-stage>span{font-size:11px}.brand strong{font-size:16px}.topbar{gap:22px;padding:0 18px}.battle-toolbar{gap:8px;padding:10px;min-height:66px}.battle-state-hint{font-size:10px;max-width:155px}.battle-button{min-width:121px;font-size:12px;padding:10px}.command-strip{gap:4px;padding:8px 7px 31px}.command-strip>button{padding:7px;gap:4px;font-size:11px;min-height:37px;min-width:33px}.selected-summary{padding-right:5px;max-width:110px}.selected-summary strong{font-size:11px}.command-strip>p{font-size:10px}}@media(max-width:650px){.topbar{height:62px;padding:0 13px;gap:14px}.brand{gap:6px}.brand-mark{font-size:28px}.brand strong{font-size:14px}.current-stage{padding-left:0;border:0;gap:0;justify-content:center}.current-stage>span{font-size:11px}.current-stage h1{display:none}.top-actions{gap:12px}.gold-counter{gap:5px}.gold-counter>svg{width:18px}.gold-counter strong{font-size:21px}.main-menu-button{font-size:0;padding:8px;min-height:38px}.main-menu-button svg{width:20px}.game-shell{padding:14px 11px 8px;gap:8px}.game-grid{grid-template-columns:1fr;gap:17px}.machine{width:100%;max-width:none;padding:14px 15px;display:grid;grid-template-columns:144px minmax(0,1fr);column-gap:16px;align-items:start}.machine>header{grid-column:2;margin-bottom:12px;gap:6px}.machine h2{font-size:16px}.machine>header>span{display:none}.reel-frame{grid-row:1/5;grid-column:1;padding:3px}.reel-matrix,.reel-column{gap:3px}.reel-cell .unit-art{width:95%}.spin-readout{grid-column:2;min-height:0;padding:0;justify-content:flex-start;text-align:left;font-size:10px;line-height:1.6;margin-bottom:11px}.spin-readout strong{font-size:11px}.spin-readout>svg{width:12px}.spin-button{grid-column:2;min-height:46px;gap:6px;padding:0 8px;font-size:12px}.spin-button>svg{width:16px}.spin-button b{font-size:13px;padding-left:7px;margin-left:1px;gap:3px}.spin-button b svg{width:12px}.draw-unavailable{grid-column:2;font-size:10px;text-align:left;margin-top:8px}.options-toggle{grid-column:2;padding:12px 0 0;font-size:10px}.draw-options{grid-column:1/3}.draw-options p{font-size:10px}.war-room{gap:12px}.battle-stage{height:auto;min-height:290px;aspect-ratio:1.2}.battle-topline{height:39px;padding:0 12px}.battle-topline>strong{font-size:12px}.battle-topline>div{font-size:11px;gap:11px}.battle-toolbar{min-height:67px;padding:10px}.battle-state-hint{font-size:10px;line-height:1.7;max-width:160px}.battle-button{min-width:125px;min-height:44px;font-size:12px;padding:9px 11px;gap:7px}.speed-button{min-width:36px;min-height:42px;font-size:12px}.battle-actions{gap:5px}.army-panel{padding-top:4px}.army-panel>header{margin-bottom:10px}.army-groups{gap:7px}.group-select{min-height:65px;gap:5px;padding:8px 6px}.group-select .unit-art{width:36px;height:36px}.group-select h3,.group-select h3 b{font-size:11px}.group-upgrade{min-height:32px;font-size:10px}.group-upgrade small,.unit-stars{font-size:8px}.camera-menu-wrap{top:10px;right:10px}.camera-menu-button{font-size:10px;min-height:34px;gap:5px;padding:0 8px}.camera-menu-button svg{width:13px}.camera-menu{top:41px;width:165px}.camera-menu button{padding:10px;font-size:11px}.camera-menu p{font-size:9px}.selection-cue{min-height:40px;font-size:11px;bottom:15px;padding:9px 14px}.selection-cue>svg{width:14px}.command-strip{bottom:12px;max-width:96%;gap:4px;padding:8px 7px 30px}.selected-summary{max-width:110px;min-width:70px;padding-right:5px}.selected-summary strong{font-size:10px}.selected-summary span{font-size:9px;margin-top:4px}.command-strip>button{min-width:31px;min-height:36px;padding:7px 6px;gap:4px;font-size:10px}.command-strip>button>svg{width:13px}.command-strip>p{font-size:9px}.command-strip .focus-selection{display:none}.command-feedback{font-size:11px;top:13px;padding:9px 12px}.pause-indicator{font-size:10px;top:13px;left:10px;padding:6px 8px}.unit-inspector{left:11px;bottom:15px;padding:11px 34px 11px 12px}.unit-inspector strong{font-size:12px}.unit-inspector p{font-size:10px}.world-loading{min-width:220px;padding:18px}.world-loading strong{font-size:11px}.world-loading small{font-size:9px}.summon-banner{font-size:11px;padding:10px 14px}.game-footer{font-size:9px}.modal-backdrop{padding:16px}.info-modal{padding:27px 22px}.info-modal>h2{font-size:23px}.guide-steps p{font-size:11px}.reward-modal{padding:15px 0}.reward-emblem{width:50px;height:50px;margin-bottom:14px}.reward-modal h2{font-size:25px}.reward-caption{font-size:11px}.reward-caption>span{font-size:10px}.reward-options{grid-template-columns:1fr;gap:10px;margin:24px 0 20px}.reward-option{display:grid;grid-template-columns:50px 1fr 50px;column-gap:14px;text-align:left;padding:16px;align-items:center}.relic-emblem{width:40px;height:40px;grid-row:span 3;margin:0 5px}.relic-emblem>svg{width:21px}.reward-option>small{font-size:6px;letter-spacing:.8px}.reward-option h3{grid-column:2;font-size:14px;margin:6px 0}.reward-option p{grid-column:2;min-height:0;font-size:10px}.choose-label{grid-column:3;grid-row:1/4;flex-direction:column;border:0;margin:0;padding:0;gap:10px;font-size:9px}.reward-footnote{font-size:9px;line-height:1.8}.codex-grid{grid-template-columns:repeat(2,1fr);gap:10px}.codex-grid article{padding:10px}.codex-grid .unit-art{width:85px}.codex-grid h3{font-size:12px}.codex-grid p{font-size:10px}.end-modal h2{font-size:23px}.end-stats{gap:25px}.end-stats small{font-size:10px}.end-stats strong{font-size:23px}.end-modal>p{font-size:12px}.notice{width:92vw;font-size:10px;padding:10px;bottom:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.army-actions{position:absolute;top:16px;left:16px;display:flex;gap:6px;z-index:3;flex-wrap:wrap;max-width:calc(100% - 130px)}.army-actions button{background:#202d29ee;color:#f4efd9;border:1px solid #718477;border-radius:9px;padding:10px 14px;font-weight:700;min-height:42px;box-shadow:0 3px 12px #0003}.army-actions button:disabled{opacity:.48;cursor:default}.army-actions .aiming{background:#a16b20;border-color:#ffce70;color:#fff}.aim-cue{position:absolute;left:50%;top:72px;transform:translate(-50%);background:#312619ed;border:1px solid #efbf6b;border-radius:20px;padding:10px 18px;color:#ffe9b5;white-space:nowrap;font-size:12px;pointer-events:none}.mode-bomb canvas{cursor:crosshair}@media(max-width:650px){.army-actions{left:8px;top:8px;gap:4px}.army-actions button{padding:8px;font-size:11px;min-height:36px}.aim-cue{top:100px;font-size:10px;padding:8px}}.army-actions .tactical-button{position:relative;min-width:145px;display:flex;flex-direction:column;gap:5px;padding:10px 12px 12px;text-align:left;overflow:hidden}.tactic-heading{display:flex;align-items:center;gap:7px;width:100%;font-size:13px}.tactic-heading>span{margin-left:auto;font-size:10px;color:#d1c8ac}.tactical-button small{font-size:10px;font-weight:400;color:#d2ddcd;white-space:nowrap}.tactic-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#0b1916}.tactic-progress i{display:block;height:100%;background:#c5d899}.army-actions .empowered{border-color:#ffe298;box-shadow:0 0 18px #ffd96545}.army-actions .tactical-button:disabled{opacity:.78}.combat-number{display:block;white-space:nowrap;font-size:20px;font-weight:900;color:#fff5df;text-shadow:0 2px 2px #17291e,1px 0 2px #17291e;line-height:1.2;pointer-events:none}.combat-number.heal{color:#a9ffc8;font-size:17px}.combat-number.critical{color:#ffe27a;font-size:23px}@media(max-width:800px){.army-actions .tactical-button{min-width:90px;padding:8px 8px 10px}.tactical-button small{display:none}.tactic-heading{font-size:11px;gap:4px}.tactic-heading>span{font-size:9px}.army-actions{max-width:calc(100% - 110px)}}@media(max-width:500px){.army-actions{max-width:calc(100% - 105px)}.army-actions .tactical-button{min-width:78px}.tactic-heading svg{display:none}.aim-cue{max-width:90%;white-space:normal;text-align:center}}.command-feedback{top:88px;pointer-events:none}@media(max-width:800px){.command-feedback{top:104px;font-size:10px;padding:7px 10px}}.combat-number{font-size:17px}.combat-number.critical{font-size:19px}.army-movement{position:absolute;bottom:84px;left:18px;z-index:4;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px;border:1px solid #a6b69c77;border-radius:12px;background:#1f342de8;color:#eef0d7;pointer-events:auto;-webkit-user-select:none;user-select:none}.movement-caption{font-size:10px;font-weight:700}.army-movement small{font-size:9px;color:#c4d1b9}.army-movement.moving{border-color:#ffe29b}.direction-pad{display:grid;grid-template-columns:repeat(3,34px);grid-template-rows:repeat(2,32px);gap:4px}.direction-pad button{display:flex;align-items:center;justify-content:center;background:#425c47;border:1px solid #93a589;border-radius:6px;color:#fff7d5;touch-action:none;padding:0}.direction-pad button:active{background:#a27c38}.direction-pad .up{grid-column:2}.direction-pad .left{grid-column:1;grid-row:2}.direction-pad .down{grid-column:2;grid-row:2}.direction-pad .right{grid-column:3;grid-row:2}@media(max-width:650px){.army-movement{left:8px;bottom:78px;padding:7px}.movement-caption{max-width:108px;text-align:center;font-size:9px}.direction-pad{grid-template-columns:repeat(3,28px);grid-template-rows:repeat(2,28px)}}.relic-record-link{display:flex;gap:6px;align-items:center;border:0;background:transparent;color:#e8d397;font-size:12px;cursor:pointer}.equipped-relic{cursor:pointer}.journal-backdrop{z-index:100}.relic-journal{width:min(1000px,94vw);max-height:90vh;display:flex;flex-direction:column;background:#182b24;border:1px solid #87956a;border-radius:16px;box-shadow:0 25px 90px #0008;color:#e8eddb;overflow:hidden}.relic-journal>header{padding:25px 30px;display:flex;justify-content:space-between;border-bottom:1px solid #526147;gap:16px}.relic-journal h2{display:flex;gap:10px;align-items:center;font-size:27px;margin:8px 0}.relic-journal header p,.journal-caption{color:#bbcab6;font-size:13px;line-height:1.8}.relic-journal button{cursor:pointer}.relic-journal header button{background:transparent;border:0;color:#e8eddb;align-self:flex-start}.journal-body{overflow:auto;padding:24px 30px}.journal-explainer{padding:18px 22px;background:#304035;border-left:3px solid #c9b571;border-radius:6px;line-height:1.8;font-size:13px}.journal-explainer p{margin:8px 0}.journal-explainer small{color:#b4c3af}.journal-body h3{font-size:17px;margin:28px 0 14px}.journal-body h3>span{font-size:12px;color:#dfc67c;margin-left:8px}.journal-relics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.journal-relics article{display:flex;gap:15px;padding:18px;border:1px solid #546046;border-radius:10px;background:#21362b}.journal-icon{color:#ddc883}.journal-relics h4{margin:0 0 8px;font-size:15px}.journal-relics h4 span{color:#ddc883;margin-left:8px}.journal-relics strong{font-size:13px;color:#c9e5ad}.journal-relics p,.journal-empty{font-size:12px;color:#b6c5af;line-height:1.7}.journal-table{overflow-x:auto}.journal-table table{width:100%;border-collapse:collapse;min-width:620px;text-align:left;font-size:12px}.journal-table th,.journal-table td{padding:13px 10px;border-bottom:1px solid #41513e;white-space:nowrap}.journal-table th small{display:block;font-size:10px;color:#a8b89e;margin-top:4px}.journal-table b{color:#e8d195}.journal-history{list-style:none;padding:0}.journal-history li{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 0;border-bottom:1px solid #41513e;font-size:13px}.journal-history li>span{color:#bfc6ab;font-size:12px}.journal-history p{margin:0;color:#bbcca9}.relic-journal>footer{padding:18px 30px;border-top:1px solid #526147;display:flex;justify-content:space-between;align-items:center;gap:12px}.relic-journal footer span{font-size:11px;color:#aabb9e}.relic-journal footer button{display:flex;gap:8px;align-items:center;background:#d7bd78;color:#263320;border:0;border-radius:7px;padding:12px 17px;font-weight:700}@media(max-width:650px){.relic-journal>header,.journal-body{padding:16px}.relic-journal h2{font-size:22px}.journal-relics{grid-template-columns:1fr}.relic-journal>footer{padding:12px 16px}.relic-journal footer span{max-width:100px}.journal-explainer{padding:14px}.journal-history li p{width:100%}}.equipped-relic{background:#23352b;color:#ded49f;font:inherit;font-size:12px}.equipped-relic:hover,.relic-record-link:hover{background:#394932;color:#fff0bb}.visual-journal{width:min(960px,94vw)}.visual-journal>header{align-items:center;padding:20px 26px}.visual-journal h2{margin-bottom:0}.visual-journal header>button{margin-left:0;align-self:center}.auto-relic{margin-left:auto;display:flex;gap:5px;align-items:center;font-size:11px;color:#bddb9a}.visual-journal .journal-body{padding:22px 26px}.visual-relic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.visual-relic-card{position:relative;text-align:center;border:1px solid #827448;border-radius:15px;background:radial-gradient(ellipse at 50% 20%,#4d5333,#21392e 60%,#1b3028);overflow:hidden;padding:22px 14px 12px}.relic-count{position:absolute;right:14px;top:14px;padding:4px 9px;border:1px solid #ac975b;border-radius:20px;background:#1b2a22;color:#f6dc8f;font-size:15px;font-weight:800}.relic-card-art{height:125px;width:125px;display:grid;place-items:center;position:relative;color:#ffe6a0;margin:0 auto;filter:drop-shadow(0 5px 6px #0005)}.relic-card-art>svg{z-index:1;stroke-width:1.4;filter:drop-shadow(0 0 8px #f8d77866)}.relic-art-halo{position:absolute;inset:10px;border-radius:50%;background:radial-gradient(circle,#edd78b22,#edd78b05 65%,transparent);border:1px solid #c0ac6855;box-shadow:inset 0 0 25px #c6ac3814,0 0 20px #b19e2922}.relic-art-orbit{position:absolute;inset:2px;border:1px dashed #b5a56955;transform:rotate(45deg);border-radius:20px}.relic-art-star{position:absolute;right:10px;bottom:9px;font-size:20px;color:#ffecb4}.visual-relic-card h3{font-size:17px;margin:15px 0 10px;color:#f4e8c6}.relic-big-effects{display:flex;justify-content:center;gap:22px}.relic-big-effects>div{display:flex;flex-direction:column;gap:2px}.relic-big-effects strong{font-size:36px;letter-spacing:-1px;color:#d8efb2;line-height:1.2}.relic-big-effects span{font-size:11px;color:#c0cfb4}.relic-targets{display:flex;justify-content:center;gap:3px;min-height:65px;margin:16px 0 8px;flex-wrap:wrap}.relic-targets>div{display:flex;flex-direction:column;align-items:center}.relic-targets .unit-art{width:39px}.relic-targets small{font-size:9px;color:#c3ccb7}.relic-targets .gold-received{justify-content:center;gap:6px;color:#f0d78c;font-size:12px}.relic-card-detail{border-top:1px solid #a18d4633;padding-top:8px;font-size:11px;color:#c9d2ba}.relic-card-detail summary,.journal-numbers summary,.journal-rules summary{cursor:pointer;padding:6px}.relic-card-detail p{line-height:1.7}.visual-section-title{margin:25px 0 12px!important}.visual-history{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0}.visual-history li{border:1px solid #5e6e4e;border-radius:10px;background:#22382c;display:flex;flex-direction:column;gap:5px;padding:12px 5px;text-align:center}.visual-history .history-wave{font-size:10px;color:#bac6a8}.relic-card-art.mini{height:58px;width:58px}.mini .relic-art-halo{inset:4px}.mini .relic-art-orbit{inset:1px;border-radius:9px}.mini .relic-art-star{font-size:10px;right:1px;bottom:1px}.visual-history strong{font-size:11px;color:#e4dbb8}.visual-unit-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.visual-unit-stats article{background:#243b2e;border:1px solid #4d6146;border-radius:10px;padding:12px}.visual-unit-heading{display:flex;align-items:center;gap:8px;font-size:12px}.visual-unit-heading .unit-art{width:47px}.visual-stat-list{display:flex;flex-direction:column;gap:9px;margin-top:8px}.visual-stat{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.visual-stat>span{color:#b7cb9f;display:flex}.visual-stat del{text-decoration:none;color:#a7b5a0;font-size:11px;margin-left:auto}.visual-stat b{color:#d8edab}.journal-numbers,.journal-rules{margin-top:18px;padding:10px 12px;border:1px solid #4b5c43;border-radius:8px;font-size:12px;color:#bdcbb2}.journal-numbers p,.journal-rules p{line-height:1.8}.visual-empty{text-align:center;padding:28px 0}.visual-empty p{font-size:15px;color:#e8ddba}.visual-empty>span{display:flex;justify-content:center;align-items:center;gap:9px;font-size:12px;color:#b9c9a9}@media(max-width:650px){.visual-journal>header,.visual-journal .journal-body{padding:16px}.visual-relic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.visual-relic-card{padding:18px 7px 9px}.relic-card-art{height:90px;width:90px}.relic-card-art>svg{width:48px;height:48px}.relic-count{right:7px;top:7px;font-size:11px}.visual-relic-card h3{font-size:12px}.relic-big-effects strong{font-size:28px}.relic-targets .unit-art{width:27px}.relic-targets small{font-size:8px}.visual-history{grid-template-columns:repeat(2,1fr)}.visual-unit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-unit-stats article{padding:9px}.visual-stat{gap:3px;font-size:11px}.visual-stat del{font-size:10px}.visual-unit-heading .unit-art{width:35px}.auto-relic{font-size:9px}.mini>svg{width:28px;height:28px}.relic-big-effects{gap:9px}}@media(max-width:380px){.visual-relic-grid{grid-template-columns:1fr}.visual-relic-card .relic-card-art{height:110px;width:110px}.visual-relic-card h3{font-size:15px}.visual-unit-stats{grid-template-columns:1fr}}.expedition-map{display:flex;align-items:center;gap:18px;padding:12px 17px;margin-bottom:15px;border:1px solid #4c6045;border-radius:11px;background:#213729;color:#bacaa7;font-size:12px}.expedition-map>span{display:flex;align-items:center;gap:6px;font-weight:700}.expedition-map ol{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0;flex:1;justify-content:space-around}.expedition-map li{display:flex;align-items:center;gap:6px;position:relative;opacity:.48}.expedition-map li.current{opacity:1;color:#f3d994;font-weight:800}.expedition-map li.visited{opacity:1;color:#a8cc9b}.route-arrow{position:absolute;right:-27px;color:#8fa67c}.expedition-map>small{color:#dfd19c;white-space:nowrap}.journey-overlay{position:absolute;inset:0;z-index:9;pointer-events:auto}.journey-veil{position:absolute;inset:0;background:#17231e;pointer-events:none}.journey-caption{position:absolute;left:50%;bottom:30px;transform:translate(-50%);width:min(90%,650px);display:flex;align-items:center;gap:16px;padding:18px 20px;background:#20382ef2;border:1px solid #adb785;border-radius:12px;color:#edf0d6;box-shadow:0 8px 30px #0004}.journey-caption>div{flex:1}.journey-caption small{display:block;font-size:11px;color:#c3ceae;margin-bottom:6px}.journey-caption strong{font-size:14px}.journey-caption progress{display:block;width:100%;height:4px;accent-color:#d6c58a;margin-top:12px}.journey-caption button{border:1px solid #a9b385;border-radius:6px;background:#3b523b;color:#eee5bc;padding:9px 12px;font-size:11px;white-space:nowrap}@media(max-width:650px){.expedition-map{padding:11px 8px;gap:8px;font-size:10px}.expedition-map>span{display:none}.expedition-map ol{gap:12px}.expedition-map li{flex-direction:column;gap:4px}.route-arrow{right:-17px;top:6px}.journey-caption{padding:12px;gap:9px;bottom:18px}.journey-caption strong{font-size:11px}.journey-caption small{font-size:9px}.journey-caption button{font-size:9px;padding:8px}.expedition-map>small{display:none}}.draw-sidebar{display:flex;flex-direction:column;gap:12px;align-self:start;min-width:0}.simple-game .battle-stage{height:clamp(470px,calc(100dvh - 285px),820px);min-height:470px;flex:auto}.compact-army{padding:0}.compact-army>header{display:flex;align-items:center;gap:10px;margin:0;min-height:53px}.compact-army .army-quick-select{display:flex;flex:1;justify-content:center;gap:5px}.army-quick-select button{display:flex;align-items:center;gap:4px;border:1px solid #4d6546;background:#29412e;border-radius:7px;color:#e1e8cc;padding:3px 9px;font-size:11px}.army-quick-select button[aria-pressed=true]{border-color:#e1c77e;background:#4c6039}.army-quick-select .unit-art{width:32px}.army-manage-toggle{border:1px solid #6e7c58;background:#344b32;color:#d9e0bb;border-radius:6px;padding:8px 11px;white-space:nowrap;font-size:11px}.compact-army.expanded .army-groups{margin-top:10px}.compact-army h2{font-size:12px}.weapon-draw{border:1px solid #536345;background:#283d2e;border-radius:11px;padding:14px}.weapon-draw>header{display:flex;justify-content:space-between;align-items:center}.weapon-draw h2{display:flex;align-items:center;gap:7px;font-size:14px;margin:0;color:#e7ead4}.weapon-draw header>span{display:flex;align-items:center;gap:5px;color:#e5ca84;font-size:11px}.weapon-art{display:block;flex-shrink:0;aspect-ratio:1;background-image:url(../art/journal/weapons-v1.png);background-size:300% 200%;background-position:var(--weapon-x) var(--weapon-y);background-repeat:no-repeat;filter:drop-shadow(0 3px 3px #101e1888)}.weapon-showcase{min-height:98px;display:flex;align-items:center;justify-content:center}.weapon-placeholder{display:flex;align-items:center;justify-content:center}.weapon-placeholder .weapon-art{width:72px}.weapon-reveal{display:flex;align-items:center;gap:10px;width:100%;animation:weapon-reveal .35s ease-out}.weapon-reveal>.weapon-art{width:88px}.weapon-reveal>div{display:flex;flex-direction:column;gap:5px}.weapon-reveal strong{font-size:12px;color:#f1dfb0}.weapon-reveal span{font-size:9px;color:#c2cca9}.weapon-reveal b{font-size:12px;color:#d3e8ad}.weapon-draw-button{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;justify-content:center;gap:8px;padding:12px 9px;border:1px solid #c1ad70;border-radius:7px;background:#687747;color:#fff0c4;font-weight:700;font-size:13px}.weapon-draw-button>.weapon-draw-cost{grid-column:3;justify-self:end;display:flex;align-items:center;gap:5px;margin:0;font-size:11px}.weapon-draw-button:disabled{opacity:.45}.weapon-draw>p{font-size:10px;color:#bdc9aa;margin:9px 0 4px;text-align:center}.weapon-draw details{margin-top:8px;font-size:10px;color:#c8d1b5}.weapon-draw summary{display:flex;gap:4px;cursor:pointer;align-items:center;padding:4px 0}.weapon-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.weapon-collection>div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px;border:1px solid #5e6c49;border-radius:6px}.weapon-collection .weapon-art{width:48px}.weapon-collection span{font-size:9px}.weapon-collection b{font-size:9px;color:#e1cc86}.weapon-collection .not-owned{opacity:.4}.weapon-draw details>small{display:block;line-height:1.7;color:#b2c19f;font-size:9px}@keyframes weapon-reveal{0%{transform:translateY(8px) scale(.94);opacity:.4}to{transform:none;opacity:1}}@media(max-width:1050px){.army-quick-select button{padding:3px 5px}.army-quick-select .unit-art{width:27px}.compact-army>header{gap:7px}}@media(max-width:760px){.draw-sidebar{display:grid;grid-template-columns:1fr;gap:10px}.simple-game .battle-stage{height:clamp(440px,65dvh,620px);min-height:440px}.compact-army>header{flex-wrap:wrap}.compact-army .army-quick-select{order:3;flex-basis:100%;justify-content:space-between}.army-manage-toggle{margin-left:auto}.weapon-showcase{min-height:80px}.weapon-placeholder .weapon-art{width:66px}.weapon-draw{padding:12px}.weapon-reveal>.weapon-art{width:72px}}@media(prefers-reduced-motion:reduce){.weapon-reveal{animation:none}}.simple-game .battle-stage{height:clamp(360px,calc(100dvh - 340px),900px);min-height:360px}@media(max-width:760px){.game-grid>.war-room{order:1}.game-grid>.draw-sidebar{order:2}.simple-game .battle-stage{height:clamp(360px,60dvh,620px);min-height:360px}}.simple-game .game-grid{grid-template-columns:220px minmax(0,1fr);gap:14px}.draw-sidebar .machine{align-self:stretch;width:auto;min-width:0}.draw-sidebar .machine h2{font-size:14px}.draw-sidebar .machine{padding:14px}.draw-sidebar .weapon-placeholder .weapon-art{width:56px}.draw-sidebar .weapon-reveal>.weapon-art{width:70px}@media(max-width:1200px)and (min-width:761px){.simple-game .game-grid{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:760px){.simple-game .game-grid{grid-template-columns:1fr}.draw-sidebar .machine{width:100%}}.weapon-reel{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:9px 0}.weapon-reel-pointer{color:#e7cc81;font-size:16px}.weapon-reel-window{height:104px;width:110px;overflow:hidden;position:relative;background:#172a21;border:2px solid #c2a46b;border-radius:9px;box-shadow:inset 0 8px 14px #0008,inset 0 -8px 14px #0007}.weapon-reel-window:after{content:"";position:absolute;inset:0;background:linear-gradient(#10251b99,transparent 30%,transparent 70%,#10251b99);pointer-events:none}.weapon-reel-track{display:flex;flex-direction:column;align-items:center;animation:weapon-reel-roll .13s linear infinite}.weapon-reel-track .weapon-art{width:100px;height:100px;min-height:100px;filter:blur(.5px) drop-shadow(0 2px 3px #0005)}@keyframes weapon-reel-roll{0%{transform:translateY(-20px)}to{transform:translateY(-120px)}}@media(prefers-reduced-motion:reduce){.weapon-reel-track{animation:none}.weapon-reel-track .weapon-art{filter:none}}.simple-game .topbar{height:44px;padding:0 18px;gap:20px}.simple-game .brand{gap:7px}.simple-game .brand-mark{font-size:25px}.simple-game .brand strong{font-size:14px}.simple-game .current-stage{padding-left:17px;gap:9px}.simple-game .current-stage h1{font-size:12px}.simple-game .current-stage>span{font-size:10px}.simple-game .top-actions{gap:15px}.simple-game .gold-counter{gap:6px}.simple-game .gold-counter strong{font-size:18px}.simple-game .gold-counter>svg{width:17px;height:17px}.simple-game .main-menu-button{min-height:30px;height:30px;padding:0 9px;font-size:11px}.simple-game .main-menu-button>svg{width:15px;height:15px}.simple-game .main-menu{top:35px}.simple-game .game-shell{height:calc(100dvh - 44px);padding-top:8px;gap:8px}.simple-game .battle-stage{height:clamp(360px,calc(100dvh - 288px),950px);min-height:360px}.compact-route.expedition-map{height:36px;min-height:36px;box-sizing:border-box;padding:3px 12px;margin-bottom:3px;border-radius:7px;gap:14px;font-size:10px}.compact-route>.route-image{display:block}.route-image{display:block;width:26px;height:26px;min-width:26px;flex-shrink:0;background-image:url(../art/journal/route-landmarks-v1.png);background-size:300% 200%;background-position:var(--route-x) var(--route-y);background-repeat:no-repeat;filter:drop-shadow(0 2px 1px #08190b66)}.compact-route.expedition-map>span{display:flex;gap:5px;font-size:10px;align-items:center}.compact-route.expedition-map ol{gap:20px}.compact-route.expedition-map li{flex-direction:row;gap:5px;opacity:.7;white-space:nowrap}.compact-route.expedition-map li.visited{opacity:.95}.compact-route.expedition-map li.current{opacity:1;color:#f2da99}.compact-route li.current .route-image{filter:drop-shadow(0 0 3px #e8cf7966)}.compact-route .route-arrow{top:auto;right:-26px;width:10px;height:10px;opacity:.65}@media(max-width:650px){.simple-game .topbar{height:40px;padding:0 11px;gap:10px}.simple-game .brand{gap:5px}.simple-game .brand-mark{font-size:22px}.simple-game .brand strong{font-size:12px}.simple-game .current-stage{padding-left:0;border:0;margin-left:auto}.simple-game .top-actions{gap:9px}.simple-game .gold-counter strong{font-size:16px}.simple-game .main-menu-button{width:29px;height:28px;min-height:28px;padding:0;font-size:0}.simple-game .game-shell{height:auto;min-height:calc(100dvh - 40px);padding-top:7px}.simple-game .battle-stage{height:clamp(360px,65dvh,650px);min-height:360px}.compact-route.expedition-map{padding:3px 5px;gap:5px;height:36px;min-height:36px;margin-bottom:1px}.compact-route .route-image{width:23px;height:23px;min-width:23px}.compact-route.expedition-map ol{gap:11px;justify-content:space-between}.compact-route.expedition-map li{gap:2px;font-size:9px}.compact-route.expedition-map>span{font-size:9px;gap:1px}.compact-route .route-arrow{right:-10px;width:8px;height:8px}.compact-route>small{display:none}}@media(max-width:360px){.compact-route.expedition-map>span{font-size:0;gap:0}.compact-route .route-image{width:21px;height:21px;min-width:21px}.compact-route.expedition-map li{font-size:8px}.compact-route.expedition-map ol{gap:8px}.simple-game .brand strong{font-size:11px}}.army-ranks{display:flex;flex-wrap:wrap;gap:8px 16px;color:#adb693;font-size:12px;margin:8px 0}.army-group .group-training{color:#ffe2a1;background:#43583b;border-top:1px solid #788557;min-height:34px}.army-group .unit-stars{font-size:11px;white-space:normal}.group-training{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.simple-game .brand{flex-shrink:0;white-space:nowrap}.brand-emblem{display:block;width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 1px 2px #081a10aa)}.simple-game .brand strong{color:#f0deb0;font-weight:800}.menu-brand{display:grid;justify-items:center;gap:3px;padding:8px 5px 12px;margin-bottom:4px;border-bottom:1px solid #79906455;background:radial-gradient(ellipse,#52683e44,transparent 75%)}.menu-brand img{display:block;width:164px;max-width:100%;height:auto}.menu-brand span{font-size:11px;color:#e1d5a6;font-weight:700;letter-spacing:.5px}@media(max-width:650px){.brand-emblem{width:30px;height:30px}}.battle-toolbar{flex:0 0 auto;height:auto;min-height:69px;padding-block:10px}.battle-toolbar .battle-actions{align-items:stretch;flex-shrink:0;min-width:0}.battle-toolbar .battle-actions>button{display:flex;align-items:center;justify-content:center;align-self:stretch;box-sizing:border-box;height:48px;min-height:48px;margin:0;line-height:1.2}.weapon-draw-button>.weapon-draw-label{grid-column:2;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;font-size:inherit;line-height:1.3;text-align:center}.weapon-draw-label>svg{flex-shrink:0}.field-journal{--ink: #3b4e37;--paper: #e8dfbe;--edge: #8c7548;color:var(--ink);border:7px solid #65513b;border-radius:22px 14px 17px 24px;background:#d7c99f;box-shadow:0 0 0 2px #b3965f,0 0 0 5px #354e38,0 25px 90px #0009,inset 9px 0 #b19c70}.field-journal>header{position:relative;background:linear-gradient(100deg,#3c5d42,#506c46 60%,#3c5940);border-bottom:5px solid #b29961;color:#f7ebc8;padding:22px 28px;box-shadow:inset 0 2px #afbb8555}.field-journal>header:before{content:"";position:absolute;left:9px;top:0;bottom:0;border-left:2px dashed #adba8666}.field-journal>header small{color:#d2d6ac;font-weight:500}.field-journal h2{font-size:27px;letter-spacing:-1px;text-shadow:0 2px #263e2e55}.field-journal header>button{color:#eae0b8;background:#263e2c77;border:1px solid #b2ba8266;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.field-journal .auto-relic{color:#e7e6b6;border:1px dashed #c9ce9a88;border-radius:6px;padding:7px 10px;transform:rotate(-3deg);font-weight:600}.field-journal .journal-body{padding:25px 28px 26px 34px;background:radial-gradient(ellipse at 5% 0%,#a5966255,transparent 45%),repeating-linear-gradient(0deg,#735c2405 0 1px,transparent 1px 5px),linear-gradient(95deg,#cab88b 0,#ede3c5 3%,#e8ddba 51%,#e0d2ab);scrollbar-color:#8c9867 #d1c299}.field-journal .visual-relic-grid{gap:22px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));padding:10px 4px 8px}.field-journal .visual-relic-card{background:radial-gradient(ellipse at 50% 26%,#faf2d8 5%,#e8dbad 70%);border:2px solid #ab9868;border-radius:8px 12px 7px 10px;padding:25px 16px 12px;box-shadow:2px 5px #9e8d6244,inset 0 0 0 4px #f6ecc766;transform:rotate(-1deg);overflow:visible;transition:transform .18s,box-shadow .18s}.field-journal .visual-relic-card:nth-child(2n){transform:rotate(1deg)}.field-journal .visual-relic-card:hover{transform:translateY(-3px) rotate(0);box-shadow:2px 8px #9e8d6233}.field-journal .visual-relic-card:before{content:"";position:absolute;left:calc(50% - 27px);top:-9px;width:54px;height:18px;background:#9aaf8180;border-left:1px solid #71896933;border-right:1px solid #71896933;transform:rotate(-5deg);box-shadow:0 1px 2px #80734b22}.field-journal .relic-count{background:#52704c;color:#fff1c5;border:2px solid #e8d8a8;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;padding:0;right:10px;top:11px;box-shadow:1px 2px #7c775c44;z-index:2;transform:rotate(7deg)}.field-journal .relic-card-art{width:180px;height:160px;filter:none;color:inherit}.field-journal .relic-card-art>.relic-object{width:100%;height:100%;filter:drop-shadow(0 5px 3px #5b542333);stroke-width:1}.field-journal .relic-art-orbit,.field-journal .relic-art-star{display:none}.field-journal .relic-art-halo{inset:17px 6px 8px;background:radial-gradient(ellipse,#b5c39166 5%,#cccb9455 40%,transparent 72%);border:0;box-shadow:none}.field-journal .visual-relic-card h3{color:#4a5737;font-size:18px;margin:9px 0;font-weight:800}.field-journal .relic-big-effects strong{color:#48693e;font-size:35px;text-shadow:0 2px #fff5d8;letter-spacing:-1.5px}.field-journal .relic-big-effects span{color:#7a7354;font-weight:600}.field-journal .relic-targets{padding:9px 6px 6px;margin:12px 0 6px;background:#b4be8d44;border-radius:8px;border-bottom:2px solid #9eac7f44}.field-journal .relic-targets .unit-art{filter:drop-shadow(0 2px 1px #60714e33)}.field-journal .relic-targets small{color:#566747;font-weight:600}.field-journal .relic-targets .gold-received{color:#8f6b2e}.field-journal .relic-card-detail{border-color:#b3a27488;color:#77704f}.field-journal .relic-card-detail p{color:#596143}.field-journal .visual-section-title{position:relative;color:#536145;font-size:17px;padding:0 0 8px;border-bottom:2px dashed #9ca47588;margin-top:26px!important}.field-journal .visual-section-title:after{content:"✦";float:right;color:#9fa575;font-size:13px}.field-journal .visual-history{gap:14px}.field-journal .visual-history li{position:relative;background:#f1e7c6;border:1px solid #b7a679;border-radius:5px;box-shadow:1px 3px #9a8e6644;transform:rotate(-2deg);padding:13px 6px 9px;gap:3px}.field-journal .visual-history li:nth-child(2n){transform:rotate(2deg)}.field-journal .visual-history .history-wave{background:#8d9c6c;color:#30452d;padding:3px 9px;border-radius:3px;font-size:9px}.field-journal .visual-history strong{color:#646342;font-size:11px}.field-journal .relic-card-art.mini{width:75px;height:68px}.field-journal .mini .relic-art-halo{inset:8px}.field-journal .mini>.relic-object{width:100%;height:100%}.field-journal .visual-unit-stats{gap:12px}.field-journal .visual-unit-stats article{border:1px solid #a7ad7f;border-radius:8px;background:#cbd0a366;box-shadow:inset 0 0 0 3px #e9e5bb77}.field-journal .visual-unit-heading{color:#4e6040}.field-journal .visual-unit-heading .unit-art{filter:drop-shadow(0 2px 0 #74875a33)}.field-journal .visual-stat>span{color:#779059}.field-journal .visual-stat del{color:#596344}.field-journal .visual-stat b{color:#42623a}.field-journal .journal-numbers,.field-journal .journal-rules{border:1px dashed #9a9a6c;color:#6e7351;background:#f2e8c333;border-radius:5px;padding:7px 10px}.field-journal .journal-table th,.field-journal .journal-table td{border-color:#abb18b66}.field-journal .journal-table b{color:#456c3c}.field-journal .journal-table th small{color:#8b8b65}.field-journal .visual-empty p{color:#536445}.field-journal .visual-empty>span{color:#878460}.field-journal>footer{padding:16px 25px;border-top:3px solid #baa779;background:linear-gradient(#d9c99e,#c6b58a);box-shadow:inset 0 2px #f2e7bd}.field-journal footer>span{color:#596044}.field-journal footer>button{background:linear-gradient(#7b925f,#506b45);border:1px solid #466340;border-bottom:3px solid #324e34;color:#fff1ca;box-shadow:inset 0 1px #b3c38d;border-radius:7px;padding:12px 20px}.field-journal footer>button:hover{filter:brightness(1.08)}@media(max-width:650px){.field-journal{border-width:5px;width:95vw;max-height:92vh}.field-journal>header{padding:17px 13px 17px 20px;gap:9px}.field-journal h2{font-size:21px}.field-journal header small{font-size:10px}.field-journal .auto-relic{font-size:8px;padding:5px}.field-journal .journal-body{padding:19px 14px 20px 19px}.field-journal .visual-relic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-left:0;padding-right:0}.field-journal .visual-relic-card{padding:19px 7px 9px}.field-journal .relic-card-art{width:120px;max-width:100%;height:110px}.field-journal .visual-relic-card h3{font-size:12px}.field-journal .relic-big-effects strong{font-size:25px}.field-journal .relic-count{width:27px;height:27px;font-size:11px;top:7px;right:6px}.field-journal .relic-targets{padding:8px 2px 5px;gap:2px}.field-journal .relic-targets .unit-art{width:26px}.field-journal .relic-targets small{font-size:8px}.field-journal>footer{padding:12px}.field-journal footer>button{padding:10px 12px;font-size:11px}.field-journal .visual-stat{font-size:11px}.field-journal .visual-stat del{font-size:10px}.field-journal .visual-history{gap:11px}}@media(max-width:380px){.field-journal .visual-relic-grid{grid-template-columns:1fr}.field-journal .visual-relic-card .relic-card-art{width:160px;height:140px}.field-journal .visual-relic-card h3{font-size:16px}.field-journal .relic-big-effects strong{font-size:32px}}@media(prefers-reduced-motion:reduce){.field-journal .visual-relic-card{transition:none}.field-journal .visual-relic-card:hover{transform:none}}.field-journal{background:#253d30;border-color:#4f4333;border-radius:16px;box-shadow:0 0 0 2px #8b7953,0 20px 80px #000a}.field-journal>header{background:#314c37;border-bottom:2px solid #8e7f50;padding:18px 24px}.field-journal .journal-body{background:radial-gradient(ellipse at 50% 0%,#48604466,transparent 75%),#263d30;padding:22px 24px;color:#d4dec0;scrollbar-color:#79835d #263d30}.field-journal .visual-relic-grid{grid-template-columns:repeat(auto-fit,minmax(240px,276px));justify-content:center;align-items:start;gap:16px;padding:5px 0 10px}.field-journal .visual-relic-card{position:relative;isolation:isolate;box-sizing:border-box;min-width:0;width:100%;background:none;border:0;border-radius:0;box-shadow:none;transform:none;padding:25px 24px 22px;overflow:visible;transition:transform .18s}.field-journal .visual-relic-card:nth-child(2n){transform:none}.field-journal .visual-relic-card:hover{transform:translateY(-3px);box-shadow:none}.field-journal .visual-relic-card:before{content:"";position:absolute;inset:0;width:100%;height:100%;z-index:-1;background:url(../art/journal/parchment-v1.png) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;transform:none;filter:drop-shadow(0 5px 4px #0b1a2080);pointer-events:none}.field-journal .relic-card-art{height:155px;width:155px;max-width:100%;margin:0 auto;filter:none}.field-journal .relic-art-halo{display:none}.field-journal .relic-card-art>.relic-painted-object{display:block;position:relative;width:100%;height:100%;background-image:url(../art/journal/relic-atlas-v1.png);background-size:500% 200%;background-position:var(--relic-x) var(--relic-y);background-repeat:no-repeat;filter:drop-shadow(0 4px 3px #685d4022)}.field-journal .visual-relic-card h3{font-size:16px;color:#51432c;margin:10px 0 7px;line-height:1.4}.field-journal .relic-big-effects strong{font-size:32px;color:#3b5b35;text-shadow:none}.field-journal .relic-big-effects span{font-size:10px;color:#6b593b}.field-journal .relic-count{top:21px;right:20px;background:#567046;border:1px solid #e1cc9c;width:28px;height:28px;font-size:12px;box-shadow:0 2px 2px #4a421f33}.field-journal .relic-targets{margin:10px 0 4px;padding:8px 0 4px;min-height:56px;background:none;border:0;border-radius:0;gap:2px}.field-journal .relic-targets .unit-art{width:31px}.field-journal .relic-targets small{font-size:8px;color:#5d573a}.field-journal .relic-card-detail{border-top:1px solid #95784744;padding-top:3px;color:#6c5738}.field-journal .relic-card-detail summary{font-size:10px}.field-journal .relic-card-detail p{color:#4a5135;font-size:11px}.field-journal .visual-section-title{color:#d9dfb9;border-color:#7b8b5d66;font-size:15px}.field-journal .visual-history{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.field-journal .visual-history li{transform:none!important;background:#344e37;border:1px solid #71815b;border-radius:8px;box-shadow:none;padding:12px 5px 8px}.field-journal .visual-history .history-wave{background:none;color:#c2d0a7;padding:0;font-size:10px}.field-journal .visual-history strong{color:#d7d8b3}.field-journal .relic-card-art.mini{width:62px;height:62px}.field-journal .visual-unit-stats article{background:#334d38;box-shadow:none;border-color:#637957;color:#d7dfbd}.field-journal .visual-unit-heading{color:#d7dfbd}.field-journal .visual-stat>span{color:#afc799}.field-journal .visual-stat del{color:#bac5aa}.field-journal .visual-stat b{color:#e0e8b4}.field-journal .journal-numbers,.field-journal .journal-rules{color:#c7d2b5;border-color:#7b8d6266;background:#344c3522}.field-journal .journal-table b{color:#e6d591}.field-journal .journal-table th small{color:#bbcaab}.field-journal>footer{background:#2e4834;border-top:1px solid #657650;box-shadow:none;padding:14px 24px}.field-journal footer>span{color:#c2cba9}.field-journal footer>button{background:linear-gradient(#ddc98f,#bba365);color:#30492e;border-color:#b49f65;border-bottom-color:#8b794e;box-shadow:inset 0 1px #fff1b7}.field-journal .visual-empty p{color:#d8ddba}.field-journal .visual-empty>span{color:#bdcbaa}@media(max-width:650px){.field-journal>header{padding:16px;gap:7px}.field-journal h2{font-size:20px}.field-journal .journal-body{padding:16px 10px}.field-journal .visual-relic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.field-journal .visual-relic-grid:has(>.visual-relic-card:only-child){grid-template-columns:minmax(0,260px)}.field-journal .visual-relic-card{padding:23px 12px 17px}.field-journal .relic-card-art{width:120px;height:120px}.field-journal .visual-relic-card h3{font-size:12px}.field-journal .relic-big-effects strong{font-size:25px}.field-journal .relic-count{top:15px;right:12px;width:23px;height:23px;font-size:10px}.field-journal .relic-targets .unit-art{width:24px}.field-journal .relic-targets small{font-size:7px}.field-journal .visual-history{grid-template-columns:repeat(2,minmax(0,1fr))}.field-journal>footer{padding:12px 14px}}@media(max-width:380px){.field-journal .visual-relic-grid{grid-template-columns:minmax(0,260px)}.field-journal .visual-relic-card{padding:25px 24px 22px}.field-journal .visual-relic-card .relic-card-art{width:155px;height:155px}.field-journal .visual-relic-card h3{font-size:16px}.field-journal .relic-big-effects strong{font-size:30px}}.illustrated-reward{padding:25px 18px;background:#10241ee8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow-y:auto;align-items:center}.illustrated-reward .reward-modal{width:min(970px,100%);text-align:center;padding:12px 0 18px;max-height:none}.illustrated-reward .reward-victory-art{height:96px;display:flex;justify-content:center;align-items:flex-end;gap:6px;margin:0 auto 8px}.illustrated-reward .relic-painted-object{display:block;background-image:url(../art/journal/relic-atlas-v1.png);background-size:500% 200%;background-position:var(--relic-x) var(--relic-y);background-repeat:no-repeat;filter:drop-shadow(0 6px 5px #10251b55)}.reward-victory-art>.relic-painted-object{width:96px;height:96px}.reward-victory-art>.unit-art{width:62px;height:62px;filter:drop-shadow(0 4px 2px #08170e66)}.illustrated-reward .eyebrow{letter-spacing:2px;font-size:11px;margin:7px 0;color:#bdce9d}.illustrated-reward .reward-modal h2{font-size:30px;margin:7px 0 4px;color:#f4e7b8;letter-spacing:-1px}.illustrated-reward .reward-caption{margin:0 0 15px;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;font-size:13px;color:#ead294}.illustrated-reward .reward-caption>span:last-child{font-size:11px;color:#c1cdaf;margin-left:10px}.reward-gold-art{width:36px;height:36px;display:block}.reward-gold-art>.relic-painted-object{width:100%;height:100%}.illustrated-reward .reward-options{display:grid;grid-template-columns:repeat(3,minmax(0,276px));justify-content:center;align-items:stretch;gap:18px;margin:0 auto;max-width:900px}.illustrated-reward .reward-option{position:relative;isolation:isolate;min-width:0;width:100%;border:0;border-radius:0;padding:28px 24px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;background:none;box-shadow:none;color:#4f4c30;cursor:pointer;transition:transform .18s,filter .18s;overflow:visible;font:inherit}.illustrated-reward .reward-option:before{content:"";position:absolute;inset:0;z-index:-1;background:url(../art/journal/parchment-v1.png) center/100% 100% no-repeat;filter:drop-shadow(0 8px 6px #07170b66);pointer-events:none}.illustrated-reward .reward-option:hover{transform:translateY(-7px);border:0;background:none;filter:brightness(1.05)}.illustrated-reward .reward-option:focus-visible{outline:3px solid #ffe2a0;outline-offset:4px;border-radius:8px}.reward-item-art{display:block;width:145px;height:145px;max-width:100%;margin:0 0 7px}.reward-item-art>.relic-painted-object{width:100%;height:100%}.illustrated-reward .reward-option h3{font-size:17px;color:#54442b;margin:7px 0 10px;line-height:1.4}.reward-effect-numbers{display:flex;justify-content:center;gap:15px}.reward-effect-numbers>span{display:flex;flex-direction:column;gap:2px}.reward-effect-numbers strong{font-size:33px;letter-spacing:-1px;color:#3d6038;line-height:1.15}.reward-effect-numbers small{font-size:10px;color:#6c5c3d}.reward-targets{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;margin:15px 0 10px;min-height:50px;align-items:center}.reward-targets>span{display:flex;flex-direction:column;align-items:center}.reward-targets .unit-art{width:30px}.reward-targets small{font-size:8px;color:#5e5b3e}.reward-short-description{font-size:10px;line-height:1.7;color:#5b563a;margin:0 0 12px;max-width:100%}.illustrated-reward .choose-label{margin-top:auto;width:100%;border-top:1px solid #96784355;display:flex;justify-content:space-between;align-items:center;padding-top:11px;font-size:12px;color:#42603a;font-weight:800}.illustrated-reward .reward-footnote{display:block;margin:18px 0 0;font-size:11px;color:#bac9a7}@media(max-width:650px){.illustrated-reward{align-items:flex-start;padding:15px 10px}.illustrated-reward .reward-modal{padding:0}.illustrated-reward .reward-victory-art{height:62px;margin-bottom:3px}.reward-victory-art>.relic-painted-object{width:62px;height:62px}.reward-victory-art>.unit-art{width:40px;height:40px}.illustrated-reward .reward-modal h2{font-size:23px}.illustrated-reward .reward-caption{font-size:12px;margin-bottom:9px}.illustrated-reward .reward-caption>span:last-child{width:100%;margin:0;font-size:10px}.illustrated-reward .reward-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.illustrated-reward .reward-option{padding:19px 9px 20px}.reward-item-art{width:95px;height:95px}.illustrated-reward .reward-option h3{font-size:11px;margin:5px 0 8px;word-break:keep-all}.reward-effect-numbers{gap:5px}.reward-effect-numbers strong{font-size:22px}.reward-effect-numbers small{font-size:8px}.reward-targets{gap:1px;margin:10px 0 8px;min-height:54px}.reward-targets .unit-art{width:22px}.reward-targets small{font-size:7px}.reward-short-description{font-size:8px;line-height:1.6;margin-bottom:8px}.illustrated-reward .choose-label{font-size:9px;padding-top:9px}.illustrated-reward .choose-label svg{width:12px}.illustrated-reward .reward-footnote{font-size:9px;line-height:1.7}}@media(max-width:350px){.illustrated-reward .reward-options{grid-template-columns:minmax(0,245px);gap:12px}.illustrated-reward .reward-option{padding:25px}.reward-item-art{width:130px;height:130px}.illustrated-reward .reward-option h3{font-size:16px}.reward-effect-numbers strong{font-size:29px}.reward-targets .unit-art{width:28px}.reward-short-description{font-size:10px}.illustrated-reward .choose-label{font-size:11px}}@media(prefers-reduced-motion:reduce){.illustrated-reward .reward-option{transition:none}.illustrated-reward .reward-option:hover{transform:none}}.illustrated-reward{align-items:flex-start}.illustrated-reward .reward-caption>.reward-gold-art{width:36px;height:36px;flex:0 0 36px;margin:0;display:block}.illustrated-reward{align-items:center;padding:12px 10px}.illustrated-reward .reward-modal{padding:0}.illustrated-reward .reward-victory-art{height:64px;margin-bottom:3px}.reward-victory-art>.relic-painted-object{width:64px;height:64px}.reward-victory-art>.unit-art{width:44px;height:44px}.illustrated-reward .eyebrow{margin:3px 0;line-height:1.25}.illustrated-reward .reward-modal h2{margin:3px 0;line-height:1.2}.illustrated-reward .reward-caption{margin:3px 0 9px;line-height:1.35}.illustrated-reward .reward-option{padding:20px 22px 18px}.reward-item-art{width:130px;height:130px;margin-bottom:3px}.illustrated-reward .reward-option h3{margin:3px 0 6px;line-height:1.25}.reward-targets{margin:7px 0 6px;min-height:40px}.reward-short-description{line-height:1.35;margin-bottom:7px}.illustrated-reward .choose-label{flex-direction:row;gap:4px;padding-top:8px;line-height:1.25}.illustrated-reward .reward-footnote{margin-top:8px;line-height:1.35}@media(max-height:700px)and (min-width:651px){.illustrated-reward .reward-victory-art{height:48px}.reward-victory-art>.relic-painted-object{width:48px;height:48px}.reward-victory-art>.unit-art{width:36px;height:36px}.reward-item-art{width:104px;height:104px}.illustrated-reward .reward-option{padding-block:16px}}@media(max-width:650px){.illustrated-reward .reward-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.illustrated-reward .reward-option{padding:16px 8px}.reward-item-art{width:80px;height:80px}.illustrated-reward .reward-option h3{font-size:11px;margin:3px 0 5px}.reward-effect-numbers strong{font-size:22px}.reward-targets{margin:6px 0;min-height:48px}.reward-targets .unit-art{width:22px}.reward-short-description{font-size:8px}.illustrated-reward .choose-label{font-size:9px;padding-top:7px}.illustrated-reward .reward-footnote{font-size:9px}}.illustrated-end-backdrop{padding:20px 12px;background:#10251de8;align-items:flex-start;overflow-y:auto}.illustrated-end{width:min(740px,94vw);max-height:calc(100dvh - 40px);margin:auto;display:flex;flex-direction:column;border:2px solid #8d8b5c;border-radius:17px;overflow:hidden;background:#263d2d;box-shadow:0 25px 90px #0008,inset 0 0 0 3px #b9ad7055;color:#f0e7c5}.end-screen-scroll{overflow:auto;min-height:0;scrollbar-color:#859467 #263d2d}.end-scene-image{width:100%;height:auto;aspect-ratio:16/9;display:block;object-fit:cover}.end-scene-caption{position:relative;text-align:center;padding:20px 18px 14px;background:linear-gradient(#304a35,#263d2d)}.end-scene-caption:before{content:"";position:absolute;left:0;right:0;top:-27px;height:28px;background:linear-gradient(transparent,#304a35);pointer-events:none}.end-scene-caption>small{font-size:11px;color:#c2d4a5}.end-scene-caption h2{font-size:27px;margin:6px 0 5px;letter-spacing:-.5px;color:#f4e5b4}.end-scene-caption p{font-size:12px;color:#bdcdaa;line-height:1.7}.end-visual-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 22px 20px}.end-summary-card{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;padding:13px 8px;background:#39513a;border:1px solid #657b50;border-radius:10px}.end-summary-card>div{display:flex;flex-direction:column;gap:3px}.end-summary-card small{font-size:10px;color:#c0d1aa}.end-summary-card strong{font-size:25px;line-height:1.1;color:#efdfa9;font-variant-numeric:tabular-nums}.end-summary-card em{font-size:12px;font-style:normal;margin-left:4px;color:#d3d8b6}.end-summary-card>div>span{font-size:9px;color:#aeca9b}.end-summary-card .end-route-image{width:54px;height:54px;min-width:54px}.end-slot-picture{width:53px;height:42px;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;padding:3px;border:2px solid #b49d61;border-radius:6px;background:#1b3125;box-shadow:inset 0 2px 4px #071a1466}.end-slot-picture .unit-art{width:16px}.end-army-picture{width:54px;height:54px;position:relative;display:flex;align-items:center}.end-army-picture .unit-art{width:32px;margin-left:-19px;filter:drop-shadow(0 2px 1px #13271b66)}.end-army-picture .unit-art:first-child{margin-left:0}.illustrated-end>footer{padding:14px 20px;background:#203628;border-top:1px solid #6c7b50;display:flex;justify-content:center;flex-shrink:0}.illustrated-end footer button{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px 28px;min-height:46px;border:1px solid #d9c58b;border-bottom:3px solid #92804f;border-radius:8px;background:linear-gradient(#e4d29c,#c6ae6b);color:#30452c;font-size:14px;font-weight:800;box-shadow:inset 0 1px #fff2bf;cursor:pointer}.illustrated-end footer button:hover{filter:brightness(1.08)}.illustrated-end footer button:focus-visible{outline:3px solid #f3e7b5;outline-offset:3px}.expedition-won{border-color:#b7a267}@media(max-width:650px){.illustrated-end-backdrop{padding:14px 8px}.illustrated-end{max-height:calc(100dvh - 28px);width:96vw;border-radius:12px}.end-scene-caption{padding:14px 10px 13px}.end-scene-caption h2{font-size:23px}.end-scene-caption p{font-size:10px}.end-scene-caption>small{font-size:9px}.end-visual-summary{gap:6px;padding:0 10px 14px}.end-summary-card{flex-direction:column;gap:4px;padding:9px 3px;text-align:center}.end-summary-card>div{gap:3px}.end-summary-card small{font-size:9px}.end-summary-card strong{font-size:24px}.end-summary-card .end-route-image{width:43px;height:43px;min-width:43px}.end-slot-picture{width:49px;height:37px}.end-army-picture{width:49px;height:43px}.illustrated-end>footer{padding:12px}.illustrated-end footer button{width:100%;font-size:13px;padding:11px 15px;min-height:44px}}.defeat-cause{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 9px;width:fit-content;max-width:100%;margin:14px auto 10px;padding:12px 18px;border:1px solid #cf9b6e88;border-radius:12px;background:#302d20d9;color:#f2c693}.defeat-cause strong{font-size:20px}.defeat-cause span{flex-basis:100%;color:#e1d8bc;font-size:13px;line-height:1.5}@media(max-width:600px){.defeat-cause{padding:10px 12px;margin:10px auto}.defeat-cause strong{font-size:17px}.defeat-cause span{font-size:11px}}.end-battle-time{display:flex;justify-content:center;align-items:center;gap:8px;margin:12px auto;color:#d4d9b7;font-size:13px}.end-battle-time strong{font-size:20px;font-variant-numeric:tabular-nums;color:#f3dc9d}.illustrated-end footer{flex-wrap:wrap}.restart-note{flex-basis:100%;text-align:center;color:#bdc9a5;font-size:11px;margin-bottom:9px}.encounter-brief{display:flex;align-items:center;gap:12px;padding:7px 14px;background:#1a3026;color:#d8d1a9;border-top:1px solid #63704d66;font-size:12px}.encounter-brief strong{color:#eee2b6;font-size:13px}.encounter-brief span{flex:1;color:#a9b79a}.encounter-brief small{white-space:nowrap}.boss-brief{background:#3a2b2b}.boss-brief strong{color:#f3cd8c}.route-encounters{display:flex;gap:3px;margin-top:3px}.route-encounters i{width:9px;height:3px;border-radius:2px;background:#75826755}.route-encounters i.cleared{background:#8fb47b}.route-encounters i.active{background:#f3cd8c;box-shadow:0 0 5px #e2ba6980}.supply-modal{max-width:1000px}.supply-scene{position:relative;overflow:hidden;border-radius:18px;min-height:190px;margin-bottom:18px;background:#182a22;display:flex;align-items:end;text-align:left}.supply-scene>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 60%}.supply-scene>div{position:relative;width:100%;padding:45px 24px 20px;background:linear-gradient(transparent,#10231ce8)}.supply-scene h2{margin:6px 0;font-size:30px}.supply-scene p{margin:0;font-size:13px;color:#d4dac3}.supply-scene small{color:#f5d38e}.supply-picture{display:flex;align-items:center;justify-content:center;height:105px}.supply-picture .unit-art{width:72px;height:85px}.supply-picture .weapon-art{width:85px;height:90px}.supply-picture .relic-painted-object{width:110px;height:110px}.supply-value{display:block;font-size:28px;color:#476340;margin:10px 0}.supply-option.reward-option{min-height:300px}.supply-option .reward-short-description{display:block;min-height:38px;margin-top:8px}@media(max-width:350px){.supply-picture{width:100%;gap:0;min-width:0}.supply-picture .unit-art{width:20px;height:40px;flex:0 0 20px}.supply-picture .weapon-art{width:28px;height:44px;flex:0 0 28px}.supply-picture .relic-painted-object{width:50px;height:50px}.supply-value{font-size:20px}}@media(max-width:600px){.encounter-brief{flex-wrap:wrap;gap:3px 8px;padding:6px 10px}.encounter-brief span{order:3;flex-basis:100%;font-size:11px}.encounter-brief small{margin-left:auto}.route-encounters{gap:2px}.route-encounters i{width:6px}.supply-scene{min-height:155px;margin-bottom:12px}.supply-scene>div{padding:30px 14px 14px}.supply-scene h2{font-size:23px}.supply-option.reward-option{min-height:245px}.supply-picture{height:85px}}@media(min-width:351px)and (max-width:650px){.supply-picture .unit-art{width:28px;height:52px;flex:0 0 28px}.supply-picture .weapon-art{width:42px;height:65px;flex:0 0 42px}.supply-picture .relic-painted-object{width:80px;height:80px}.supply-value{font-size:20px}}@media(max-width:360px){.route-encounters i{width:4px}.compact-route.expedition-map ol{gap:4px}.compact-route .route-image{width:18px;min-width:18px;height:18px}.army-quick-select button{padding:3px;gap:2px}.army-quick-select .unit-art{width:24px}}.battle-clock{font-variant-numeric:tabular-nums;color:#e6d59f;font-size:12px;white-space:nowrap}.battle-clock.time-urgent{color:#ffc28d}@media(max-width:600px){.battle-topline>div{gap:8px}.battle-clock{font-size:10px}}.illustrated-end footer{gap:8px}.illustrated-end footer .resupply-entry,.resupply-prepare-button,.resupply-secondary{background:#344e36;color:#e1e7c6;border:1px solid #879369;border-radius:8px;padding:10px 14px;cursor:pointer}.resupply-result{width:min(650px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;border:2px solid #9e9c6c;border-radius:18px;background:#233d2c;text-align:center;color:#eee1b6}.resupply-result-scene{width:100%;height:210px;object-fit:cover;object-position:center 60%;display:block}.resupply-result-content{padding:18px 24px 24px}.resupply-result-content h2{font-size:28px;margin:8px 0}.resupply-result-content small{color:#bdc9a1;font-size:12px}.resupply-result-content p{font-size:13px;color:#c7d0b0;line-height:1.6}.resupply-coin{display:flex;align-items:center;justify-content:center;gap:10px}.resupply-coin .relic-painted-object{width:90px;height:90px;flex-shrink:0}.resupply-coin strong{font-size:30px;color:#f2d68e}.resupply-result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0 14px}.resupply-result-actions button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dac58e;border-radius:8px;background:#e3ce97;color:#2a442b;font-weight:700;padding:13px 18px;cursor:pointer}.resupply-result-actions .resupply-secondary{background:#344e36;color:#e1e7c6;border-color:#879369}@media(max-width:600px){.resupply-result-scene{height:155px}.resupply-result-content{padding:14px 14px 18px}.resupply-result-content h2{font-size:22px}.resupply-result-actions{flex-direction:column}.resupply-prepare-button{padding:9px 7px;font-size:10px}}.growth-feedback{display:flex;align-items:center;gap:9px;margin:10px 0;padding:9px 10px;border:1px solid #b49c5e88;border-radius:10px;background:linear-gradient(110deg,#405738,#293e2a);color:#f0ddb0;animation:growth-arrive .35s ease-out}.growth-feedback .unit-art{width:40px;height:52px;flex-shrink:0}.growth-feedback>div{display:flex;flex-direction:column;min-width:0;gap:3px}.growth-feedback strong{font-size:19px;font-variant-numeric:tabular-nums;color:#f4dda2;line-height:1.2}.growth-feedback strong span{color:#b3c69e;font-size:15px;margin:0 3px}.growth-feedback small{font-size:10px;line-height:1.5;color:#d1ddba}.compact-army>.growth-feedback{width:fit-content;max-width:100%;margin:4px 0 10px}@keyframes growth-arrive{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.growth-feedback{animation:none}}.legion-cap{margin:0 0 10px;color:#d1ddba;font-size:12px;line-height:1.5}.soldier-growth{margin:10px 0;padding:10px;color:#f0ddb0;background:linear-gradient(130deg,#354b30,#203a2a);border:1px solid #b49c5e88;border-radius:12px;animation:growth-arrive .35s ease-out}.soldier-growth>header{display:flex;align-items:center;gap:6px;margin-bottom:10px;font-size:13px}.soldier-growth>header>span{margin-left:auto;color:#ffda82;font-size:11px}.soldier-growth-list{display:grid;gap:8px;max-height:310px;overflow-y:auto;scrollbar-color:#a18b56 #243d2b;scrollbar-width:thin;padding:2px}.soldier-growth-card{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 7px;border:1px solid #81956866;border-radius:9px;background:#203628}.soldier-growth-card.is-promoted{border-color:#d4b875;background:radial-gradient(ellipse at 5% 40%,#75834588,transparent 75%),#2d422c}.growth-portrait{position:relative;flex:0 0 48px;height:65px;border-radius:8px;background:radial-gradient(ellipse,#9caa6688,#253c2700 75%)}.growth-portrait .unit-art{display:block;width:48px;height:58px}.growth-portrait>b{position:absolute;bottom:-2px;left:50%;transform:translate(-50%);padding:1px 5px;border-radius:5px;background:#182e23;font-size:10px;color:#d5deb9}.soldier-growth-details{flex:1;min-width:0}.growth-card-title,.growth-rank,.growth-stat-pair>span,.growth-xp-line{display:flex;align-items:center;gap:4px}.growth-card-title{justify-content:space-between;font-size:12px}.growth-card-title em{color:#ffe4a3;font-size:11px;font-style:normal;white-space:nowrap}.growth-rank{margin:3px 0;font-size:12px;color:#b5ba8f}.growth-rank strong{color:#ffda78}.growth-stat-pair{display:flex;flex-wrap:wrap;gap:3px 9px;font-size:10px;color:#c9d7b7}.growth-stat-pair b{color:#f7d586}.soldier-growth-details>small{font-size:11px;color:#bccfa8}.soldier-growth-details>small b{color:#e9d99f}.growth-xp-line{margin-top:5px}.growth-xp-line>small{font-size:10px;color:#d4dabc;min-width:25px;text-align:right}.growth-xp{flex:1;height:6px;overflow:hidden;border-radius:4px;background:#14291e;border:1px solid #6b835877}.growth-xp i{display:block;height:100%;background:linear-gradient(90deg,#8ba85e,#e0d48a)}.is-promoted .growth-xp i{background:linear-gradient(90deg,#d3a959,#ffe3a0)}@media(prefers-reduced-motion:reduce){.soldier-growth{animation:none}}.soldier-growth .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.expanded-view-controls{position:absolute;z-index:40;top:8px;right:8px;display:flex;gap:6px}.expanded-view-controls button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:64px;min-height:48px;padding:4px;border:1px solid #9eaf8b;border-radius:9px;background:#203b30f5;color:#f5e9bb;font-size:11px}.simple-game .battle-panel.battle-expanded{position:fixed;inset:0;z-index:60;display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:auto auto minmax(0,auto) auto minmax(0,1fr);width:100%;height:100dvh;padding:0;border:0;border-radius:0;box-sizing:border-box;overflow:hidden}.simple-game .battle-panel.battle-expanded>.battle-stage{display:contents}.battle-panel.battle-expanded>.battle-stage>.world-host{position:relative;inset:auto;grid-column:1 / -1;grid-row:1 / -1;width:100%;height:100%;min-height:0;isolation:isolate;overflow:hidden;background:#bed0c6}.battle-panel.battle-expanded>.battle-topline{grid-column:2;grid-row:1;flex-wrap:wrap;height:auto;padding:10px;margin-top:64px;gap:8px;border-left:1px solid #829068}.battle-panel.battle-expanded>.encounter-brief{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;height:auto;padding:8px 10px;border-left:1px solid #829068}.battle-panel.battle-expanded .contract-hud{position:relative;inset:auto;transform:none;grid-column:2;grid-row:3;align-self:start;box-sizing:border-box;width:100%;max-width:none;max-height:min(360px,calc(100dvh - 390px));margin:0;padding:10px;border-radius:0;overflow-y:auto;box-shadow:none}.battle-panel.battle-expanded>.battle-toolbar{grid-column:2;grid-row:4;display:grid;padding:12px;min-height:0;gap:8px;border-left:1px solid #829068}.battle-panel.battle-expanded .battle-state-hint{display:none}.battle-panel.battle-expanded .battle-actions{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;width:100%}.battle-panel.battle-expanded .battle-actions>.battle-button{grid-column:1 / -1}.battle-panel.battle-expanded .battle-toolbar button,.battle-panel.battle-expanded .contract-hud button{min-height:48px;min-width:48px;font-size:14px}.battle-panel.battle-expanded .camera-menu-wrap{top:8px;right:148px}.battle-panel.battle-expanded:has(.expanded-quick-pause) .camera-menu-wrap{right:218px}.battle-panel.battle-expanded .camera-menu-button{min-height:48px;min-width:64px;font-size:12px}.battle-panel.battle-expanded .army-actions{display:grid;grid-template-columns:1fr;left:8px;top:72px;width:76px;max-width:76px;gap:6px}.battle-panel.battle-expanded .army-actions>button{width:76px;min-width:0;min-height:48px;padding:5px;font-size:12px}.battle-panel.battle-expanded .tactic-heading{flex-direction:column;gap:2px}.battle-panel.battle-expanded .tactical-button small,.battle-panel.battle-expanded .selection-cue{display:none}.battle-expanded.battle-rail-closed>.battle-topline,.battle-expanded.battle-rail-closed>.encounter-brief,.battle-expanded.battle-rail-closed>.battle-toolbar,.battle-expanded.battle-rail-closed .contract-hud{display:none}@media(max-width:700px){.simple-game .battle-panel.battle-expanded{grid-template-columns:minmax(0,1fr) min(220px,calc(100vw - 88px))}.battle-panel.battle-expanded>.battle-stage>.world-host{grid-column:1 / -1}.battle-panel.battle-expanded>.battle-topline,.battle-panel.battle-expanded>.encounter-brief,.battle-panel.battle-expanded>.battle-toolbar,.battle-panel.battle-expanded .contract-hud{z-index:30;background-color:#20382cf7}}.camera-menu-wrap{display:flex;flex-direction:column;align-items:stretch;gap:6px}.expand-field-button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:72px;min-height:48px;padding:7px;color:#fff0bd;background:#274937ef;border:1px solid #cbb474;border-radius:8px;font-size:11px}.camera-menu-wrap .camera-menu{top:100%;margin-top:6px}.battle-side-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;width:100%;font-size:11px;color:#bacda8}.battle-side-meta span{display:flex;align-items:center;gap:4px;color:#e8ce87}.battle-expanded .battle-topline{align-content:start}.relic-strip{margin:0}.relic-record-link{display:inline-flex;align-items:center;gap:7px;min-height:36px}.relic-record-link b{padding:2px 7px;background:#405633;border-radius:20px;color:#efdda5;font-size:11px}.side-relic-link{width:100%;justify-content:center}.app:has(.battle-expanded) .journal-backdrop{z-index:90}@media(min-width:1000px){.simple-game .battle-panel:not(.battle-expanded){display:grid;grid-template-columns:minmax(0,1fr) 210px;grid-template-rows:auto auto minmax(0,auto) auto minmax(0,1fr);flex:0 0 auto;height:clamp(500px,calc(100dvh - 205px),900px)}.simple-game .battle-panel:not(.battle-expanded)>.battle-stage{display:contents}.simple-game .battle-panel:not(.battle-expanded)>.battle-stage>.world-host{position:relative;inset:auto;grid-column:1 / -1;grid-row:1 / -1;width:100%;height:100%;min-height:0;overflow:hidden;isolation:isolate}.battle-panel:not(.battle-expanded)>.battle-topline{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;height:auto;padding:14px 12px;gap:8px;border-left:1px solid #82906855}.battle-panel:not(.battle-expanded)>.battle-topline>div{flex-wrap:wrap;gap:8px}.battle-panel:not(.battle-expanded)>.encounter-brief{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;padding:12px;height:auto;gap:8px;border-left:1px solid #82906855}.battle-panel:not(.battle-expanded) .contract-hud{position:relative;inset:auto;transform:none;grid-column:2;grid-row:3;align-self:start;width:100%;max-width:none;max-height:clamp(80px,calc(100dvh - 540px),300px);margin:0;padding:8px;box-sizing:border-box;border-radius:0;overflow-y:auto;box-shadow:none}.battle-panel:not(.battle-expanded)>.battle-toolbar{grid-column:2;grid-row:4;display:grid;padding:12px;gap:10px;height:auto;min-height:0;border-left:1px solid #82906855}.battle-panel:not(.battle-expanded) .battle-state-hint{font-size:11px}.battle-panel:not(.battle-expanded) .battle-actions{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;width:100%}.battle-panel:not(.battle-expanded) .battle-actions>.battle-button{grid-column:1 / -1}.battle-panel:not(.battle-expanded) .battle-toolbar .battle-actions>button{min-width:0;padding-inline:8px;font-size:13px}}.battle-panel.battle-expanded>.encounter-brief{flex-direction:column;align-items:flex-start}@media(min-width:1000px){.battle-panel:not(.battle-expanded)>.encounter-brief{flex-direction:column;align-items:flex-start}}.battle-panel.battle-expanded>.battle-topline,.battle-panel.battle-expanded>.encounter-brief,.battle-panel.battle-expanded>.battle-toolbar,.battle-panel.battle-expanded .contract-hud{z-index:30;align-self:start;margin-right:8px;margin-bottom:6px;border:1px solid #91a47a77;border-radius:10px;background-color:#20382cf2;box-shadow:0 4px 14px #10251b33}.battle-panel.battle-expanded>.encounter-brief{flex-direction:row;align-items:center;justify-content:space-between;gap:6px}.battle-panel.battle-expanded>.encounter-brief>span{display:none}.battle-panel.battle-expanded>.encounter-brief strong{font-size:11px}.battle-panel.battle-expanded>.battle-topline>div{flex-wrap:wrap;gap:6px 10px;font-size:11px}.battle-panel.battle-expanded>.battle-toolbar{padding:10px}.battle-panel.battle-expanded .side-relic-link{min-height:32px;font-size:11px}@media(min-width:1000px){.simple-game .battle-panel:not(.battle-expanded){grid-template-columns:minmax(0,1fr) 200px}.battle-panel:not(.battle-expanded)>.battle-topline,.battle-panel:not(.battle-expanded)>.encounter-brief,.battle-panel:not(.battle-expanded)>.battle-toolbar,.battle-panel:not(.battle-expanded) .contract-hud{z-index:10;align-self:start;margin-right:8px;margin-bottom:6px;border:1px solid #91a47a77;border-radius:10px;background-color:#20382cf2;box-shadow:0 4px 14px #10251b33}.battle-panel:not(.battle-expanded)>.battle-topline{margin-top:8px;padding:10px}.battle-panel:not(.battle-expanded)>.encounter-brief{flex-direction:row;align-items:center;justify-content:space-between;padding:8px 10px}.battle-panel:not(.battle-expanded)>.encounter-brief>span,.battle-panel:not(.battle-expanded) .battle-state-hint{display:none}.battle-panel:not(.battle-expanded)>.encounter-brief strong{font-size:11px}.battle-panel:not(.battle-expanded)>.battle-toolbar{padding:10px}.battle-panel:not(.battle-expanded) .camera-menu-wrap{right:208px}}.simple-game .battle-panel{position:relative}.simple-game .battle-panel.battle-expanded{position:fixed}.battle-panel.battle-rail-closed>.battle-topline,.battle-panel.battle-rail-closed>.encounter-brief,.battle-panel.battle-rail-closed>.battle-toolbar,.battle-panel.battle-rail-closed .contract-hud{display:none}.battle-bookmarks{position:absolute;right:8px;top:72px;z-index:42;display:flex;flex-direction:column;gap:8px}.battle-bookmarks button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:48px;min-height:64px;padding:7px 4px 12px;color:#f1dfad;background:#254333f5;border:1px solid #b9ad75;border-radius:6px 6px 13px 13px;box-shadow:0 3px 8px #10251944;font-size:11px}.battle-bookmarks button.is-active{color:#203329;background:#dfc888}.battle-primary-controls{position:absolute;right:8px;bottom:10px;z-index:42}.battle-primary-controls button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:104px;min-height:48px;padding:8px 12px;background:#e4cc8f;color:#243b2d;border:1px solid #f5e0a6;border-radius:9px;font-weight:700;font-size:13px}.battle-primary-controls button:disabled{opacity:.5}.command-dock{display:none;position:absolute;right:64px;top:72px;z-index:38;width:min(224px,calc(100% - 80px));max-height:calc(100% - 140px);overflow-y:auto;padding:10px;box-sizing:border-box;border:1px solid #a7ad7a;border-radius:12px;background:#233f30f5;color:#ecdba7;box-shadow:0 5px 18px #14261c55}.command-dock.is-open{display:flex;flex-direction:column;gap:10px}.command-dock>header{display:flex;align-items:center;gap:6px;font-size:12px}.battle-panel .command-dock .army-actions{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;gap:6px}.battle-panel .command-dock .army-actions>button{width:100%;min-width:0;min-height:48px;padding:5px;font-size:11px}.command-dock .army-actions>button:first-child{grid-column:1 / -1}.command-dock .tactic-heading{flex-direction:column;gap:2px}.command-dock .tactical-button small,.command-dock .selection-cue{display:none}.battle-panel .command-dock .army-movement{position:static;width:100%;padding:8px;box-sizing:border-box;border-radius:8px;margin:0;transform:none}.command-dock .direction-pad{grid-template-columns:repeat(3,48px);justify-content:center}.command-dock .direction-pad button{min-width:48px;min-height:48px}.battle-panel .command-dock .command-strip{position:static;transform:none;width:100%;min-width:0;max-width:none;display:flex;flex-wrap:wrap;padding:8px;box-sizing:border-box;gap:6px}.command-dock .command-strip .selected-summary{width:100%}.command-dock .command-strip button{min-height:48px;min-width:48px}.command-dock .command-strip p{width:100%;margin:0;font-size:10px}.battle-panel .selection-cue{display:none}.battle-panel.battle-expanded .camera-menu-wrap,.battle-panel.battle-expanded:has(.expanded-quick-pause) .camera-menu-wrap{right:80px}.battle-panel.battle-expanded>.battle-topline,.battle-panel.battle-expanded>.encounter-brief,.battle-panel.battle-expanded>.battle-toolbar,.battle-panel.battle-expanded .contract-hud{margin-right:64px}.simple-game .battle-panel.battle-expanded{grid-template-columns:minmax(0,1fr) 288px}.simple-game .battle-panel.battle-expanded.battle-rail-closed{grid-template-columns:minmax(0,1fr) 0}@media(min-width:1000px){.simple-game .battle-panel:not(.battle-expanded){grid-template-columns:minmax(0,1fr) 288px}.battle-panel:not(.battle-expanded)>.battle-topline,.battle-panel:not(.battle-expanded)>.encounter-brief,.battle-panel:not(.battle-expanded)>.battle-toolbar,.battle-panel:not(.battle-expanded) .contract-hud{margin-right:64px}.battle-panel:not(.battle-expanded) .camera-menu-wrap{right:8px;top:8px}.battle-panel:not(.battle-expanded) .camera-menu-button{display:none}}@media(max-width:999px){.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-topline,.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.encounter-brief,.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-toolbar,.battle-panel:not(.battle-expanded):not(.battle-rail-closed) .contract-hud{position:relative;z-index:30;align-self:flex-end;width:calc(100% - 80px);margin-right:64px;box-sizing:border-box;flex-shrink:0}}.command-dock .direction-pad{grid-template-rows:repeat(2,48px)}.command-dock .movement-caption{max-width:none;font-size:10px}.command-dock .army-movement small{font-size:9px}@media(max-width:999px){.simple-game .battle-panel:not(.battle-expanded){display:grid;grid-template-columns:minmax(0,1fr) 288px;grid-template-rows:auto auto minmax(0,auto) auto minmax(0,1fr);height:clamp(500px,calc(100dvh - 150px),700px);flex:0 0 auto}.simple-game .battle-panel:not(.battle-expanded)>.battle-stage{display:contents}.simple-game .battle-panel:not(.battle-expanded)>.battle-stage>.world-host{position:relative;inset:auto;grid-column:1/-1;grid-row:1/-1;height:100%;width:100%;min-height:0;overflow:hidden;isolation:isolate}.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-topline,.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.encounter-brief,.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-toolbar,.battle-panel:not(.battle-expanded):not(.battle-rail-closed) .contract-hud{grid-column:2;width:auto;align-self:start;margin:0 64px 6px 0;border:1px solid #91a47a77;border-radius:10px;background:#20382cf5;box-shadow:0 4px 14px #10251b33;padding:10px;height:auto;min-height:0}.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-topline{grid-row:1;margin-top:64px;flex-wrap:wrap;gap:6px}.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.encounter-brief{grid-row:2;display:flex;flex-wrap:wrap}.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.encounter-brief span{display:none}.battle-panel:not(.battle-expanded):not(.battle-rail-closed) .contract-hud{grid-row:3;position:relative;inset:auto;transform:none;max-height:calc(100dvh - 460px);overflow:auto}.battle-panel:not(.battle-expanded):not(.battle-rail-closed)>.battle-toolbar{grid-row:4;display:grid}.battle-panel:not(.battle-expanded) .battle-state-hint{display:none}.battle-panel:not(.battle-expanded) .camera-menu-wrap{right:8px;top:8px}.battle-panel:not(.battle-expanded) .camera-menu-button{display:none}}@media(max-width:999px){.battle-panel:not(.battle-expanded) .battle-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}.battle-panel:not(.battle-expanded) .battle-actions>button{width:100%;min-width:0;padding-inline:6px}}.battle-bookmarks button{clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 8px),0 100%);border-radius:6px 6px 0 0}@media(min-width:1000px){.battle-panel:not(.battle-expanded)>.battle-topline{margin-top:64px}}.command-dock .command-strip>p{position:static;inset:auto;line-height:1.4}@media(min-width:1000px){.simple-game .game-grid{grid-template-rows:auto auto;align-content:start;flex:0 0 auto}.simple-game .game-grid>.war-room{display:contents}.simple-game .game-grid>.draw-sidebar{grid-column:1;grid-row:1}.simple-game .war-room>.battle-panel:not(.battle-expanded){grid-column:2;grid-row:1;height:auto;min-height:500px;align-self:stretch}.simple-game .war-room>.compact-army{grid-column:1 / -1;grid-row:2;min-width:0}}@media(min-width:1000px){.simple-game .war-room>.battle-panel:not(.battle-expanded)>.battle-stage>.world-host{contain:size}}.compact-army .army-summary{flex-shrink:0;white-space:nowrap}.compact-army .army-relic-link{flex-shrink:0;white-space:nowrap;font-size:11px;padding:6px 8px;margin:0;gap:5px}@media(max-width:760px){.compact-army .army-relic-link{min-height:48px;padding:5px}.compact-army>header{column-gap:6px}}.action-art{display:inline-block;width:32px;height:32px;flex:0 0 auto;background:url(../art/controls/action-atlas-v1.png) var(--action-x) var(--action-y) / 400% 400% no-repeat;filter:drop-shadow(0 2px 2px #10241966);vertical-align:middle;pointer-events:none}.action-art-small{width:24px;height:24px}.action-label-text{min-width:0;text-align:center;line-height:1.3}.weapon-draw-button{gap:4px;min-height:52px}.spin-button{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}.spin-label{grid-column:2;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.spin-button>b{grid-column:3;justify-self:end;margin:0;padding:0;border:0;font-size:11px}.spin-label .action-label-text{font-size:13px}.spin-button,.weapon-draw-button,.battle-bookmarks button,.command-dock .army-actions>button,.command-dock .direction-pad button,.battle-actions>button,.battle-primary-controls button,.expanded-view-controls button{box-shadow:inset 0 1px #fff3cc30,inset 0 -3px #122a2144,0 3px 7px #0b1f1826}.spin-button:not(:disabled):hover,.weapon-draw-button:not(:disabled):hover,.battle-primary-controls button:not(:disabled):hover{border-color:#f4db97;filter:brightness(1.07)}.resupply-prepare-button,.battle-button,.side-relic-link,.army-relic-link{display:inline-flex;align-items:center;justify-content:center;gap:7px}.battle-bookmarks button{gap:3px;padding-top:6px;padding-bottom:12px}.battle-bookmarks .action-art{width:28px;height:28px}.command-dock>header .action-art{width:24px;height:24px}.battle-panel .command-dock .army-actions>button:first-child{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px}.command-dock .army-actions>button:first-child .action-art{width:28px;height:28px}.command-dock .tactical-button{position:relative;min-height:56px!important}.command-dock .tactic-heading{align-items:center;justify-content:center;gap:2px;width:100%}.command-dock .tactic-heading .action-art{width:28px;height:28px}.command-dock .tactic-heading>strong{font-size:11px;line-height:1.2}.tactic-time{position:absolute;right:3px;top:3px;padding:1px 3px;border-radius:4px;background:#163427e8;color:#ffe1a1;font-size:9px;line-height:1.2}.tactic-time[data-ready=true]{display:none}.command-dock .direction-pad .action-art{width:30px;height:30px}.direction-pad .right .action-art{transform:rotate(90deg)}.direction-pad .down .action-art{transform:rotate(180deg)}.direction-pad .left .action-art{transform:rotate(-90deg)}.command-dock .command-strip .action-art{width:24px;height:24px}.battle-primary-controls .action-art{width:28px;height:28px}.expanded-view-controls .action-art{width:26px;height:26px}.camera-menu-button .action-art{width:24px;height:24px}@media(prefers-reduced-motion:reduce){.spin-button:hover,.weapon-draw-button:hover,.battle-primary-controls button:hover{filter:none}}.spin-button,.weapon-draw-button{display:flex;align-items:center;justify-content:center;gap:14px;padding-inline:12px;font-size:13px;font-weight:700}.spin-label,.weapon-draw-label{flex:0 1 auto;width:auto;justify-content:center;gap:8px}.spin-button>b,.weapon-draw-cost{flex:0 0 auto;margin:0;padding:0;border:0}.army-summary>.action-art{margin:0}.army-manage-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px}.army-manage-toggle>.action-art{margin:0}.army-manage-toggle>.army-manage-label{margin:0;color:inherit;font-size:inherit;white-space:nowrap}@media(max-width:760px){.compact-army .army-summary{gap:4px}.compact-army .army-summary h2{font-size:11px}.compact-army .army-relic-link{gap:4px;padding-inline:4px;font-size:10px}.compact-army .army-relic-link b{padding-inline:5px}.compact-army .army-manage-toggle{padding-inline:6px;gap:4px;font-size:10px;min-height:48px}}.spin-button>.spin-label,.weapon-draw-button>.weapon-draw-label{gap:8px}.world-host{display:grid;grid-template-columns:minmax(0,1fr)}.world-viewport{grid-area:1 / 1;position:relative;min-width:0;min-height:0;overflow:hidden}.world-host.has-command-dock{grid-template-columns:minmax(0,1fr) 280px}.world-host>.command-dock.is-open{position:relative;inset:auto;grid-area:1 / 2;align-self:stretch;width:100%;max-width:none;height:100%;max-height:none;box-sizing:border-box;margin:0;padding:12px 62px 12px 10px;border:0;border-left:1px solid #78865c;border-radius:0;box-shadow:none;background:#20372cf5;overflow:auto}.battle-panel:has(.has-command-dock) .battle-primary-controls{right:290px}.world-host>.command-dock .movement-caption{font-size:10px}.world-host>.command-dock .army-movement>small{display:none}.world-host>.command-dock .command-strip{gap:5px;padding:7px}.world-host>.command-dock .command-strip>p{margin:2px 0;font-size:10px}.world-host>.command-dock .selected-summary{display:none}@media(min-width:1000px){.simple-game .game-shell{height:calc(100dvh - 44px);min-height:0;box-sizing:border-box;padding:8px 16px;gap:8px}.simple-game .game-grid{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr) auto;gap:10px 14px}.simple-game .game-grid>.draw-sidebar{height:100%;min-height:0;align-self:stretch;gap:8px;overflow-y:auto;scrollbar-width:thin}.simple-game .war-room>.battle-panel:not(.battle-expanded){min-height:0;height:100%}.draw-sidebar .machine,.draw-sidebar .weapon-draw{position:relative;padding:10px;flex-shrink:0}.draw-sidebar .machine>header{margin-bottom:6px}.draw-sidebar .reel-cell{aspect-ratio:auto;height:clamp(32px,6.2dvh,62px)}.draw-sidebar .reel-cell .unit-art{width:auto;height:96%}.draw-sidebar .legion-cap{margin:4px 0 7px;font-size:10px}.draw-sidebar .spin-readout{min-height:24px;margin:3px 0;font-size:10px}.draw-sidebar .spin-button,.draw-sidebar .weapon-draw-button{min-height:48px;margin-top:5px;padding-block:7px}.draw-sidebar .options-toggle{min-height:25px;margin-top:4px;padding-block:3px}.draw-sidebar .weapon-showcase{min-height:60px}.draw-sidebar .weapon-reveal>.weapon-art,.draw-sidebar .weapon-placeholder .weapon-art{width:52px}.draw-sidebar .weapon-draw>p{display:none}.draw-sidebar .weapon-inventory{margin-top:4px}.simple-game .game-footer{display:none}.compact-army>header{min-height:48px}.compact-army.expanded .army-groups{max-height:200px;overflow-y:auto}}.illustrated-end-backdrop{align-items:center;padding:12px;overflow:hidden}.illustrated-end{width:min(840px,96vw);height:min(820px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}.end-screen-scroll{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;flex:1;overflow:hidden}.end-scene-image{height:100%;min-height:0;aspect-ratio:auto;object-position:center 55%}.end-scene-caption{display:flex;flex-direction:column;justify-content:center;padding:14px 18px}.end-scene-caption:before{display:block}.end-scene-caption h2{font-size:28px}.end-scene-caption p{margin:6px 0 0}.defeat-cause{margin:12px auto 4px;padding:10px}.defeat-cause strong{font-size:19px}.defeat-cause span{font-size:11px}.end-battle-time{margin:10px 0}.end-visual-summary{grid-column:1/-1;padding:10px 16px}.illustrated-end>footer{padding:12px;gap:8px}.illustrated-end .restart-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:0}.illustrated-end footer button{flex:1 1 0;min-width:0;gap:7px;padding:10px;font-size:13px;min-height:54px}.illustrated-end footer button.resupply-entry{background:#395238;color:#f0e5bd}@media(max-width:650px){.end-screen-scroll{grid-template-columns:1fr}.end-scene-image{min-height:0;height:100%;object-position:center 55%}.end-scene-caption{padding:12px}.end-scene-caption h2{font-size:24px}.end-scene-caption p{display:none}.defeat-cause{margin:7px auto 0;padding:8px 12px}.end-battle-time{margin:8px 0 0}.illustrated-end>footer{display:grid;grid-template-columns:1fr;gap:8px}.illustrated-end .restart-note{font-size:10px}.illustrated-end footer button{width:100%;min-height:50px}.end-visual-summary{padding:7px}.end-summary-card{padding:5px 2px}.end-summary-card>span{display:none}}@media(max-width:760px){.world-host.has-command-dock{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 218px}.world-host>.command-dock.is-open{grid-area:2 / 1;padding:6px;border-left:0;border-top:1px solid #78865c;display:grid;grid-template-columns:148px minmax(0,1fr);grid-template-rows:auto auto;gap:5px;overflow:hidden}.world-host>.command-dock>header{display:none}.world-host>.command-dock .army-movement{grid-area:1 / 1;padding:3px}.world-host>.command-dock .direction-pad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:3px}.world-host>.command-dock .direction-pad button{min-height:44px;width:44px;height:44px}.world-host>.command-dock .movement-caption{font-size:9px;margin-bottom:3px}.world-host>.command-dock .army-actions{grid-area:1 / 2;gap:3px}.world-host>.command-dock .army-actions button{min-height:44px;padding:3px;font-size:11px}.world-host>.command-dock .army-actions .tactical-button{min-width:0}.world-host>.command-dock .army-actions .action-art{width:24px;height:24px}.world-host>.command-dock .command-strip{grid-column:1/-1;padding:3px;margin:0;flex-wrap:nowrap}.world-host>.command-dock .command-strip button{min-height:44px;min-width:44px;padding:4px 7px}.world-host>.command-dock .command-strip>p{display:none}.world-host>.command-dock .aim-cue{position:absolute;bottom:220px;left:8px;width:auto}.battle-panel:has(.has-command-dock) .battle-primary-controls{bottom:228px;right:8px}}.draw-shelf-toggle,.draw-shelf-close{display:none}.battle-panel:has(.has-command-dock) .camera-menu-wrap{right:290px;z-index:45}@media(max-width:999px){.simple-game .game-shell{height:calc(100dvh - 44px);min-height:0;padding:6px 8px;gap:6px;box-sizing:border-box}.simple-game .game-grid{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px;gap:6px}.simple-game .war-room{grid-area:1/1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px}.simple-game .war-room>.battle-panel:not(.battle-expanded){height:100%;min-height:0;max-height:none}.simple-game .game-footer,.simple-game .draw-sidebar{display:none}.draw-shelf-toggle{display:flex;grid-area:2/1;align-items:center;justify-content:center;gap:8px;border:1px solid #80915e;border-radius:7px;background:#354b30;color:#eee2b5;min-height:44px}.simple-game .draw-sidebar.draw-shelf-open{display:flex;position:absolute;z-index:55;inset:0 0 50px;margin:0;padding:10px;overflow-y:auto;background:#192e24;border:1px solid #8c9664;border-radius:9px}.draw-shelf-close{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;flex-shrink:0;color:#f3e3b4;border:1px solid #829567;background:#354b30;border-radius:6px}.compact-army.expanded .army-groups{max-height:180px;overflow-y:auto}}@media(max-width:760px){.simple-game .game-shell{height:calc(100dvh - 40px)}.world-host>.world-viewport{height:auto}.battle-panel:has(.has-command-dock) .camera-menu-wrap{right:8px}}@media(max-width:999px){.simple-game .game-grid>.war-room{height:100%;max-height:none;align-self:stretch}}@media(max-width:760px){.battle-panel:has(.has-command-dock) .battle-bookmarks{top:8px;flex-direction:row}.battle-panel:has(.has-command-dock) .battle-bookmarks button{width:44px;min-height:54px;height:54px}.battle-panel:has(.has-command-dock) .camera-menu-wrap{right:auto;left:8px}.battle-panel:has(.has-command-dock) .expand-field-button{min-height:44px;font-size:10px}}.simple-game .battle-panel .battle-toolbar .battle-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%}.simple-game .battle-panel .battle-toolbar .battle-actions>button{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;box-sizing:border-box;text-align:center}.simple-game .battle-panel .battle-toolbar .battle-actions>button>span:not(.action-art){flex:0 1 auto;line-height:1.25;text-align:center}.simple-game .battle-panel>.battle-toolbar{grid-template-columns:minmax(0,1fr)}.simple-game .battle-panel .battle-toolbar .battle-actions{grid-column:1 / -1;justify-self:stretch}.world-host.has-command-dock{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 152px}.world-host>.world-viewport{height:auto}.world-host>.command-dock.is-open{grid-area:2 / 1;display:grid;grid-template-columns:158px 190px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:8px;padding:8px 148px 8px 10px;overflow:hidden;border:0;border-top:1px solid #7d8e60}.world-host>.command-dock>header{display:none}.world-host>.command-dock .army-movement{grid-area:1/1;margin:0;padding:4px}.world-host>.command-dock .direction-pad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:3px}.world-host>.command-dock .direction-pad button{width:44px;height:44px;min-height:44px}.world-host>.command-dock .movement-caption{margin:0 0 3px;font-size:9px}.world-host>.command-dock .army-actions{grid-area:1/2;margin:0;align-content:center;gap:4px}.world-host>.command-dock .army-actions>button{min-height:44px;padding:4px}.world-host>.command-dock .army-actions .tactical-button{min-width:0;min-height:56px}.world-host>.command-dock .command-strip{grid-area:1/3;margin:0;align-self:center;padding:6px;gap:5px}.world-host>.command-dock .command-strip button{min-width:44px;min-height:44px;padding:5px 8px}.world-host>.command-dock .command-strip p{width:100%}.world-host>.command-dock .aim-cue{position:absolute;bottom:160px;left:12px;width:auto}.battle-panel .battle-primary-controls,.battle-panel:has(.has-command-dock) .battle-primary-controls{right:8px;bottom:8px;display:flex;gap:6px;align-items:center}.battle-panel:has(.has-command-dock) .battle-primary-controls{flex-direction:column;width:126px}.battle-panel .battle-primary-controls .command-toggle{background:#314b33;color:#f1e5b8;border:1px solid #9da46f;min-height:48px;min-width:104px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:6px 10px}.battle-panel .battle-primary-controls .command-toggle.is-active{border-color:#e7ce85;box-shadow:inset 0 -3px #0f2b2044}.battle-panel:has(.has-command-dock) .battle-primary-controls>button{width:100%}.battle-panel:has(.has-command-dock) .camera-menu-wrap{right:8px;left:auto}.battle-panel:has(.has-command-dock) .battle-bookmarks{top:72px;flex-direction:column}.battle-primary-controls .command-toggle .action-art{width:26px;height:26px}@media(max-width:760px){.world-host.has-command-dock{grid-template-rows:minmax(0,1fr) 266px}.world-host>.command-dock.is-open{grid-template-columns:148px minmax(0,1fr);grid-template-rows:auto auto;padding:6px 6px 54px;gap:5px}.world-host>.command-dock .army-actions{grid-area:1/2}.world-host>.command-dock .command-strip{grid-area:2/1/3/-1;padding:3px;flex-wrap:nowrap}.world-host>.command-dock .command-strip p{display:none}.battle-panel:has(.has-command-dock) .battle-primary-controls{flex-direction:row;width:auto}.battle-panel:has(.has-command-dock) .battle-primary-controls>button{width:auto;min-height:44px}.battle-panel:has(.has-command-dock) .battle-bookmarks{top:72px}.world-host>.command-dock .aim-cue{bottom:274px}}.army-workshop-backdrop{z-index:110;padding:12px}.army-workshop{width:min(920px,96vw);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;background:#203b2d;border:2px solid #9c9864;border-radius:14px;color:#eee3bb;box-shadow:0 20px 80px #0008}.army-workshop>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:10px;border-bottom:1px solid #687c4e}.army-workshop h2{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:22px}.army-workshop>header small{color:#b8ca9f}.army-workshop button{display:flex;justify-content:center;align-items:center;gap:6px;min-height:44px;background:#3d5437;color:#f1e3b8;border:1px solid #8b9b67;border-radius:7px;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}.army-workshop button:disabled{opacity:.45;cursor:default}.army-workshop button:focus-visible{outline:3px solid #ffe6a1;outline-offset:2px}.formation-presets{display:flex;align-items:center;gap:8px;padding:10px 16px;flex-wrap:wrap}.formation-presets>span{font-size:12px;color:#cfdbb3}.army-workshop-body{overflow-y:auto;padding:0 14px 12px;min-height:0}.army-workshop .workshop-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:none;overflow:visible}.army-workshop .workshop-group{display:flex;flex-direction:column;padding:12px;gap:7px;border:1px solid #6b8050;border-radius:10px;background:linear-gradient(135deg,#354e32,#233b2a)}.workshop-class-heading{display:flex;align-items:center;gap:8px}.workshop-class-heading .unit-art{width:48px;height:48px}.workshop-class-heading h3{margin:0 0 4px;font-size:15px}.workshop-class-heading h3 b{font-size:12px;color:#e6d194;margin-left:5px}.workshop-class-heading small,.workshop-note{font-size:10px;color:#bed0a6}.workshop-current{display:flex;justify-content:space-between;gap:6px;font-size:10px;padding:7px 0;border-block:1px solid #7f946144}.workshop-current b{font-size:13px;color:#f4dda4}.training-preview{display:flex;flex-direction:column;gap:4px;min-height:76px;font-size:11px;color:#c9d8b4}.training-preview b{color:#efe3bc}.training-preview small{color:#e1c982}.army-workshop .workshop-train{margin-top:auto;background:linear-gradient(#dacc94,#bfa768);color:#263f2a;font-weight:800}.workshop-advanced{font-size:10px;color:#a9bc98}.workshop-advanced summary{cursor:pointer;padding:4px 0}.army-workshop .workshop-advanced button{min-height:36px;font-size:10px;width:100%}.army-workshop>footer{padding:10px 16px;text-align:center;font-size:11px;color:#baccaa;border-top:1px solid #667a4d}.relic-trade{width:100%;margin-top:10px}.relic-trade button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;border:1px solid #77834f;border-radius:7px;background:#405b39;color:#f4e6b9;font-weight:700;font-size:12px;cursor:pointer}.relic-trade button:disabled{opacity:.5;cursor:default}.relic-trade small{display:block;margin-top:5px;font-size:10px}.relic-sale-preview{padding:8px;border:1px solid #9a7d4a;border-radius:8px;background:#ead9a1}.relic-sale-preview p{margin:5px 0 8px;font-size:11px;line-height:1.5}.relic-sale-preview button+button{background:transparent;color:#51623b;margin-top:5px}@media(max-width:650px){.army-workshop .workshop-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.army-workshop>header{padding:10px}.army-workshop h2{font-size:18px}.formation-presets{padding:8px;gap:5px}.formation-presets>span{width:100%}.formation-presets button{flex:1;font-size:10px;padding:4px}.army-workshop-body{padding:0 8px 8px}.army-workshop .workshop-group{padding:8px}.workshop-class-heading{gap:4px}.workshop-class-heading .unit-art{width:36px;height:36px}.workshop-class-heading h3{font-size:12px}.workshop-current{flex-direction:column;font-size:10px}.training-preview{font-size:10px}.army-workshop button{font-size:11px}.relic-journal>footer>span{font-size:10px}}.compact-army.expanded .army-workshop .workshop-groups{max-height:none;overflow:visible;margin-top:0}.army-workshop .workshop-group{flex-shrink:0}.army-workshop .army-ranks{display:flex;gap:10px;margin:5px 0 0;padding:0;font-size:10px}.journal-owned-details{margin-top:12px;color:#d5dfba}.journal-owned-details>summary{cursor:pointer;padding:10px 0;font-size:12px}.start-screen{min-height:100dvh;height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,410px);align-items:center;gap:clamp(24px,6vw,110px);padding:36px clamp(28px,7vw,120px) 60px;position:relative;isolation:isolate;overflow:hidden;background:#12271e;color:#f6edcf}.start-atmosphere{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#0d211908 5%,#10271b55 48%,#10271bee 75%),linear-gradient(0deg,#10271b,transparent 35%),url(../art/journal/return-to-camp-v1.png) 36% 55% / cover no-repeat}.start-brand{align-self:start;margin-top:clamp(12px,5dvh,60px);max-width:650px;filter:drop-shadow(0 12px 14px #0a180b99)}.start-brand img{display:block;width:clamp(260px,42vw,650px);max-width:100%;height:auto}.start-brand p{margin:12px 0 0;font-weight:800;font-size:20px;text-align:center;letter-spacing:3px;color:#fff0b8;text-shadow:0 2px 6px #102514}.start-card{padding:28px;border:1px solid #e5d29566;border-radius:18px;background:linear-gradient(145deg,#2f4934f0,#172e23f5);box-shadow:0 24px 70px #07180c88,inset 0 1px #fff5c32b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.start-kicker{font-size:11px;letter-spacing:1.3px;color:#d6cd95}.start-card h1{font-size:clamp(27px,2.7vw,37px);line-height:1.3;letter-spacing:-1px;margin:12px 0;color:#f8e8b9}.start-description{color:#c1d0af;font-size:13px;margin:0 0 20px;line-height:1.6}.start-save{display:flex;justify-content:space-between;gap:6px;padding:12px 0;margin:0 0 10px;border-block:1px solid #74875b66;font-size:11px}.start-save>span{display:flex;align-items:center;gap:4px;white-space:nowrap}.start-primary,.start-secondary,.start-help{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;border-radius:9px;font-weight:800}.start-primary{background:linear-gradient(#f6dfa0,#d4b875);color:#25412a;border:1px solid #ffe6a9;box-shadow:inset 0 -4px #9d855040,0 4px 12px #07190c33;font-size:17px;padding:10px}.start-secondary{margin-top:10px;background:#3a5237;color:#ede3bf;border:1px solid #95a174;font-size:14px;padding:8px}.start-help{min-height:44px;margin-top:10px;border:0;background:transparent;color:#d6ddbe;font-size:12px;font-weight:500}.start-storage{display:block;color:#9fb095;text-align:center;font-size:10px;margin-top:7px}.start-footer{position:absolute;bottom:20px;left:clamp(28px,7vw,120px);right:clamp(28px,7vw,120px);display:flex;align-items:center;justify-content:space-between;color:#d2ddc3a8;font-size:10px;letter-spacing:1px}.start-dialog-backdrop{position:fixed;inset:0;z-index:100;background:#081d17dc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px}.start-dialog{width:min(420px,100%);border:1px solid #a0a571;border-radius:14px;padding:24px;background:#263f2c;text-align:center}.start-dialog>.action-art{margin:auto}.start-dialog h2{font-size:22px;margin:12px 0}.start-dialog p{font-size:13px;color:#c6d2b4;line-height:1.6}.start-dialog .start-primary{margin-top:20px}.start-steps{list-style:none;padding:0;margin:18px 0;display:grid;gap:12px}.start-steps li{display:grid;grid-template-columns:36px 70px 1fr;align-items:center;gap:7px;text-align:left;font-size:12px}.start-steps span{color:#c2d1b0}.start-error{padding:12px;background:#543c2d;border-radius:8px;font-size:12px}.start-error button{display:block;margin:10px auto 0;min-height:44px;color:#f2dfac;background:#374e34;border:1px solid #9da46d;border-radius:6px}.game-boot{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#152d20;color:#eddfb2}.game-boot img{width:96px;height:96px;object-fit:contain}@media(max-width:760px){.start-screen{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:12px;padding:12px 20px 40px}.start-atmosphere{background:linear-gradient(0deg,#10271b 4%,#10271bb0 35%,#10271b00 70%),url(../art/journal/return-to-camp-v1.png) 46% 15% / auto 85% no-repeat}.start-brand{margin:0;align-self:start;padding-top:12px;justify-self:center;width:min(76vw,340px)}.start-brand img{width:100%}.start-brand p{margin-top:0;font-size:13px;letter-spacing:2px}.start-card{width:min(410px,100%);justify-self:center;padding:20px;border-radius:14px}.start-card h1{font-size:27px;margin:8px 0}.start-description{margin-bottom:13px;font-size:12px}.start-save{padding:9px 0;font-size:10px}.start-save .action-art{width:21px;height:21px}.start-kicker{font-size:10px}.start-footer{bottom:12px;left:20px;right:20px;font-size:8px;letter-spacing:0}}@media(max-height:690px)and (max-width:760px){.start-screen{gap:5px;padding-bottom:30px}.start-brand{width:180px;padding-top:0}.start-brand p{font-size:11px}.start-card{padding:15px 18px}.start-card h1{font-size:24px;line-height:1.2}.start-help{margin-top:4px}.start-primary,.start-secondary{min-height:48px}.start-storage{margin-top:3px;font-size:9px}}@media(max-height:500px)and (max-width:1000px){.start-screen{grid-template-columns:minmax(0,1fr) minmax(290px,380px);grid-template-rows:1fr;gap:24px;padding:12px 24px 28px}.start-brand{width:100%;max-width:330px;align-self:center;justify-self:center;margin:0;padding:0}.start-brand img{width:100%}.start-brand p{font-size:13px;letter-spacing:1px;margin-top:0}.start-card{padding:14px 18px}.start-card h1{font-size:22px;line-height:1.25;margin:0 0 8px}.start-kicker,.start-description,.start-storage{display:none}.start-save{padding:6px 0;margin-bottom:8px}.start-primary,.start-secondary{min-height:48px}.start-help{min-height:36px;margin-top:4px}.start-footer{bottom:8px;left:24px;right:24px}}.mobile-field-draws,.mobile-battle-zoom{display:none}@media(max-width:760px),(max-height:500px)and (max-width:1000px){.simple-game .compact-route.expedition-map,.simple-game .draw-shelf-toggle{display:none}.simple-game .game-grid{grid-template-rows:minmax(0,1fr)}.simple-game .war-room{gap:6px}.compact-army .army-quick-select{display:none}.compact-army>header{min-height:48px}.compact-army .army-summary h2{font-size:12px}.compact-army .army-manage-toggle{min-height:48px;font-size:12px}.simple-game .draw-sidebar.draw-shelf-open{position:fixed;inset:50px 8px 12px;z-index:90}.mobile-field-draws,.mobile-battle-zoom{position:absolute;z-index:45;top:8px;min-height:48px;height:48px;width:calc((100% - 32px) / 3);padding:4px;border:1px solid #9ca776;border-radius:8px;background:#294833ed;color:#f4e7bd;display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:700}.mobile-field-draws{left:8px}.mobile-battle-zoom{left:calc((100% - 32px) / 3 + 16px)}.battle-panel .camera-menu-wrap,.battle-panel:has(.has-command-dock) .camera-menu-wrap{top:8px;right:8px;left:auto;width:calc((100% - 32px) / 3)}.battle-panel .camera-menu-wrap .expand-field-button{width:100%;min-width:0;min-height:48px;font-size:11px;padding:4px;gap:4px}.battle-panel .camera-menu-button{display:none}.battle-panel .battle-bookmarks,.battle-panel:has(.has-command-dock) .battle-bookmarks{top:64px}.battle-bookmarks button{width:44px;min-height:52px;height:52px;font-size:11px}.world-host.has-command-dock{grid-template-rows:minmax(0,1fr) 242px}.world-host>.command-dock.is-open{grid-template-columns:156px minmax(0,1fr);padding:6px 6px 60px}.world-host>.command-dock .movement-caption{display:none}.world-host>.command-dock .army-movement{padding:3px}.world-host>.command-dock .direction-pad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:3px}.world-host>.command-dock .direction-pad button{width:48px;height:48px;min-height:48px}.world-host>.command-dock .direction-pad .action-art{width:32px;height:32px}.world-host>.command-dock .army-actions>button{min-height:48px;font-size:12px}.world-host>.command-dock .army-actions .tactical-button{min-height:56px}.world-host>.command-dock .army-actions .action-art{width:28px;height:28px}.world-host>.command-dock .command-strip button{min-height:48px;font-size:13px}.battle-panel:has(.has-command-dock) .battle-primary-controls>button{min-height:48px;font-size:13px}.battle-panel .battle-primary-controls .command-toggle{min-height:48px;font-size:13px}.army-workshop button{min-height:48px}.army-workshop .workshop-current{font-size:12px}.army-workshop .workshop-current b{font-size:15px}.army-workshop .training-preview{font-size:12px;line-height:1.45}}@media(max-width:380px){.army-workshop .workshop-groups{grid-template-columns:1fr}.army-workshop .workshop-class-heading .unit-art{width:56px;height:56px}.army-workshop .workshop-class-heading h3{font-size:16px}.army-workshop .workshop-current{flex-direction:row}.army-workshop .workshop-group{padding:12px}.army-workshop .workshop-train{font-size:14px}}.mobile-battle-status{display:none}@media(max-width:760px),(max-height:500px)and (max-width:1000px){.mobile-battle-status{display:flex;align-items:center;gap:12px;position:absolute;left:8px;top:64px;z-index:30;padding:6px 9px;border:1px solid #91a27188;border-radius:7px;background:#19372ce8;color:#f5e6b7;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}}@media(max-height:500px)and (max-width:1000px){.simple-game .topbar,.simple-game .compact-army{display:none}.simple-game .game-shell{height:100dvh;min-height:0;padding:0}.simple-game .war-room{grid-template-rows:minmax(0,1fr)}.simple-game .war-room>.battle-panel:not(.battle-expanded){border:0;border-radius:0}.world-host.has-command-dock{grid-template-rows:minmax(0,1fr) 124px}.world-host>.command-dock.is-open{grid-template-columns:156px 190px minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:8px 140px 8px 8px;gap:6px}.world-host>.command-dock .army-movement{grid-area:1/1}.world-host>.command-dock .army-actions{grid-area:1/2}.world-host>.command-dock .command-strip{grid-area:1/3;flex-wrap:wrap}.battle-panel:has(.has-command-dock) .battle-primary-controls{flex-direction:column;width:124px}.battle-panel:has(.has-command-dock) .battle-primary-controls>button{width:100%}.mobile-field-draws,.mobile-battle-zoom{width:116px}.mobile-field-draws{left:8px}.mobile-battle-zoom{left:132px}.battle-panel .camera-menu-wrap,.battle-panel:has(.has-command-dock) .camera-menu-wrap{width:110px}}.battle-panel .world-host>.command-dock .army-actions{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}.world-host.has-mission{grid-template-rows:minmax(0,1fr) auto}.world-host.has-mission.has-command-dock{grid-template-rows:minmax(0,1fr) auto 152px}.world-host.has-mission>.world-viewport{grid-area:1/1}.world-host.has-mission>.command-dock.is-open{grid-area:3/1}.mission-guide{grid-area:2/1;position:relative;z-index:4;display:flex;align-items:center;gap:10px;padding:8px 148px 8px 12px;min-height:64px;border-top:1px solid #829669;background:#233e2e;color:#f0e3b8}.mission-guide>.contract-art{flex:0 0 44px;width:44px;height:44px}.mission-guide-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.mission-guide strong{font-size:15px}.mission-guide-copy>span{font-size:11px;color:#c1d0ac;line-height:1.35}.mission-guide button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:8px 12px;border:1px solid #f0d79e;border-radius:8px;background:linear-gradient(#f2dca2,#c5aa6c);color:#28432c;font-size:13px;font-weight:800}.mission-guide .mission-extract{background:#3d5438;color:#e9dfba;font-size:11px;border-color:#93a171}.mission-choice-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:14px;background:#10271ed9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mission-choice-dialog{width:min(440px,100%);max-height:calc(100% - 16px);overflow-y:auto;padding:24px;border:2px solid #b5a970;border-radius:16px;background:linear-gradient(#355239,#1f382b);text-align:center;box-shadow:0 14px 60px #05180c88}.mission-choice-dialog>.contract-art{display:block;width:84px;height:84px;margin:0 auto 10px}.mission-choice-state{font-size:12px;color:#d2dcae}.mission-choice-dialog h2{margin:9px 0;font-size:27px;color:#f5e5b3}.mission-choice-dialog p{margin:0 0 18px;color:#d6e0c1;font-size:15px;line-height:1.45;white-space:normal;overflow:visible}.battle-panel>.battle-topline .battle-secondary-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;width:100%;margin-top:6px}.battle-secondary-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;min-width:48px;padding:6px 10px;border:1px solid #8a9b6e;border-radius:8px;background:#314b33;color:#f1e5b8;white-space:nowrap}.mission-choice-dialog>button{width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:10px;padding:10px;background:linear-gradient(#f1d99c,#c6ab6c);color:#26412b;border:1px solid #f9df9c;border-radius:9px;font-size:17px;font-weight:800}.mission-choice-dialog>.mission-risk{background:#435d3b;color:#f1e7c3;border-color:#b7b57d}.mission-choice-dialog>small{display:block;margin-top:14px;font-size:11px;color:#bccaab}.command-dock .command-strip .attack-command{min-height:52px;min-width:110px;flex:1;background:linear-gradient(#f5dfa0,#d1b574);border:2px solid #fbe5ac;color:#24412b;font-size:17px;font-weight:800;box-shadow:inset 0 -3px #9d804233}.command-dock .attack-command small{display:block;font-size:10px}.command-dock .command-strip .move-command{flex:1;min-height:48px}.command-dock .command-strip .focus-selection,.command-dock .command-strip .clear-selection{min-height:32px;font-size:10px;padding:3px 6px}.command-dock .command-strip .focus-selection .action-art{width:20px;height:20px}@media(max-width:760px){.world-host.has-mission.has-command-dock{grid-template-rows:minmax(0,1fr) auto 242px}.mission-guide{padding:7px 9px;gap:6px;min-height:76px;flex-wrap:wrap}.mission-guide>.contract-art{width:36px;height:36px;flex-basis:36px}.mission-guide strong{font-size:13px}.mission-guide-copy>span{font-size:10px}.mission-guide button{width:100%;min-height:48px}.mission-guide .mission-extract{min-height:40px}.mission-choice-dialog{padding:16px}.mission-choice-dialog h2{font-size:23px}.mission-choice-dialog>button{font-size:15px}.world-host>.command-dock .command-strip .attack-command{min-width:0;font-size:16px}.world-host>.command-dock .command-strip .clear-selection{min-height:48px}.command-strip .clear-selection>span{display:none}}@media(max-height:500px)and (max-width:1000px){.world-host.has-mission.has-command-dock{grid-template-rows:minmax(0,1fr) auto 124px}.mission-guide{min-height:54px;padding:4px 140px 4px 8px;flex-wrap:nowrap}.mission-guide-copy>span{display:none}.mission-guide button{width:auto;font-size:12px}.mission-choice-dialog{padding:10px 18px}.mission-choice-dialog>.contract-art{width:48px;height:48px;margin-bottom:3px}.mission-choice-dialog h2{font-size:21px;margin:4px 0}.mission-choice-dialog p{font-size:13px;margin-bottom:6px}.mission-choice-dialog>button{min-height:48px;margin-top:6px}.mission-choice-dialog>small{margin-top:6px}}.guarded-reward .reward-option:hover,.guarded-reward .reward-option.is-selected{transform:none}.guarded-reward .reward-option:disabled{opacity:1;filter:none;cursor:wait}.guarded-reward .reward-option.is-selected{outline:3px solid #edce77;outline-offset:-4px;border-radius:10px;filter:brightness(1.05)}.guarded-reward .reward-option.is-selected .choose-label{color:#294c2c;font-weight:900}.reward-confirmation{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:600px;min-height:64px;margin:10px auto 0;padding:6px 10px;border:1px solid #7f9564;border-radius:12px;background:#233e2f;box-sizing:border-box}.reward-selection-status{display:flex;align-items:center;gap:8px;color:#e8dfb6;font-size:14px;font-weight:700;text-align:left;line-height:1.3}.reward-selection-status .relic-painted-object{width:34px;height:34px;flex:0 0 34px}.reward-confirm-button{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:170px;min-height:48px;border:1px solid #f5dfa5;border-radius:9px;background:linear-gradient(#f1da9f,#c4a76a);color:#28452d;font-size:16px;font-weight:800;padding:8px 14px}.reward-confirm-button:disabled{opacity:.6;cursor:default}@media(max-width:650px){.reward-confirmation{gap:6px;min-height:60px;padding:5px 7px;margin-top:7px}.reward-selection-status{font-size:11px;gap:4px}.reward-selection-status .relic-painted-object{width:26px;height:26px;flex-basis:26px}.reward-confirm-button{min-width:130px;font-size:13px;padding:6px 9px}}@media(max-height:700px)and (min-width:651px){.guarded-reward .reward-item-art{width:76px;height:76px}.guarded-reward .reward-option{padding-block:12px}}@media(max-height:500px){.guarded-reward{padding-block:6px}.guarded-reward .reward-victory-art{display:none}.guarded-reward .reward-modal h2{font-size:22px}.guarded-reward .reward-item-art{width:48px;height:48px}.guarded-reward .reward-option{padding:8px 16px}.guarded-reward .reward-option h3{font-size:13px;margin:2px 0}.guarded-reward .reward-effect-numbers strong{font-size:25px}.guarded-reward .reward-targets{min-height:24px;margin:3px 0}.guarded-reward .reward-targets .unit-art{width:23px;height:25px}.guarded-reward .reward-targets small{font-size:8px}.guarded-reward .reward-short-description{display:none}.guarded-reward .choose-label{padding-top:4px;font-size:11px}.guarded-reward .reward-caption{margin-bottom:0}.guarded-reward .reward-caption>span:last-child{width:auto;margin:0}.guarded-reward .reward-caption>.reward-gold-art{width:20px;height:20px;flex-basis:20px}.guarded-reward .reward-confirmation{min-height:54px;margin-top:6px;padding-block:3px}.guarded-reward .reward-footnote{font-size:9px;margin-top:4px}}.victory-celebration{position:fixed;inset:0;z-index:110;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:clamp(18px,5vh,48px) 14px 24px;background:linear-gradient(#10251e60,transparent 25%,transparent 76%,#10251e88)}.victory-celebration header{text-align:center;filter:drop-shadow(0 3px 3px #10251e)}.victory-celebration header>span{font-size:clamp(12px,2vw,17px);font-weight:800;letter-spacing:2px;color:#f7e6ad}.victory-celebration h2{font-size:clamp(40px,7vw,76px);color:#ffe4a0;line-height:1.1;margin:5px 0 0;text-shadow:0 4px 0 #725526}.victory-celebration button{pointer-events:auto;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 20px;border:1px solid #f3dda0;border-radius:10px;background:linear-gradient(#f3dca2,#c6ab6f);color:#29432c;font-size:16px;font-weight:800;box-shadow:0 4px #7d693b}.victory-celebration button:disabled{opacity:.5}.is-celebrating .battle-bookmarks,.is-celebrating .battle-primary-controls,.is-celebrating .expanded-view-controls,.is-celebrating .camera-menu-wrap,.is-celebrating .mobile-field-draws,.is-celebrating .mobile-battle-zoom{display:none!important}@media(max-height:500px){.victory-celebration{padding:10px 14px 12px}.victory-celebration h2{font-size:38px}.victory-celebration header>span{font-size:11px}}.battle-panel .battle-summary{display:flex;align-items:center;gap:12px;position:absolute;left:10px;top:10px;z-index:30;max-width:calc(100% - 160px);padding:7px 10px;border:1px solid #99ad7988;border-radius:8px;background:#1a352dec;color:#f0e5bc;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;box-sizing:border-box}.battle-summary-phase{font-size:11px;color:#cfddb7}.battle-summary span{display:inline-flex;align-items:baseline;gap:4px}.battle-summary b{font-size:15px;line-height:1.2}.battle-summary-allies b{color:#d6edb3}.battle-summary-enemies b{color:#f1bdb0}.battle-summary time{border-left:1px solid #8d9f7255;padding-left:10px;color:#ead59a}.battle-summary[data-paused=true] .battle-summary-phase{color:#ffdc93}.battle-panel .battle-bookmarks button{width:52px;min-height:80px;height:auto}.battle-bookmarks button>span:last-child{white-space:normal;line-height:1.12;word-break:keep-all;text-align:center}@media(max-width:760px),(max-height:500px)and (max-width:1000px){.battle-panel .battle-summary{top:64px;left:8px;max-width:calc(100% - 80px);gap:8px;padding:6px 8px;font-size:11px}.battle-summary b{font-size:13px}.battle-summary-phase{font-size:10px}.battle-summary time{padding-left:6px}.battle-panel .battle-bookmarks button,.battle-panel:has(.has-command-dock) .battle-bookmarks button{width:48px;min-height:72px;height:72px;gap:2px;font-size:11px;padding:5px 3px 10px}.battle-panel .battle-bookmarks .action-art{width:26px;height:26px}}@media(max-width:600px){.simple-game .battle-panel:not(.battle-rail-closed)>.battle-topline{margin-top:108px}}
