#app :is(.desktop-battle-brand,.desktop-battle-toolbar,.desktop-battle-only){display:none}@media(min-width:860px)and (min-height:520px)and (pointer:fine){#app[data-battle-layout]{--desktop-pad: clamp(6px, .9dvh, 12px);--desktop-gap: clamp(5px, .9dvh, 10px);--desktop-brand-height: clamp(40px, 7.4dvh, 66px);--desktop-top: calc(var(--desktop-pad) + var(--desktop-brand-height) + var(--desktop-gap));--desktop-aspect: calc(12 / 19);--desktop-rail-min: clamp(166px, 14vw, 264px);--desktop-field-width: min( calc((100dvh - var(--desktop-top) - var(--desktop-pad)) * var(--desktop-aspect)), calc(100dvw - 2 * (var(--desktop-pad) + var(--desktop-rail-min) + var(--desktop-gap))) );--desktop-field-edge: calc(50% + var(--desktop-field-width) / 2 + var(--desktop-gap));--desktop-edge: #c7d1a93d;--desktop-panel: linear-gradient(145deg, #26382e, #182820);--desktop-card-caption: clamp(14px, 2.5dvh, 24px);--desktop-card-text: clamp(11px, 1.8dvh, 16px);--desktop-toolbar-size: clamp(34px, 5.5dvh, 50px);background:radial-gradient(ellipse at center,#283b30,#14241c 61%,#101d17)}#app[data-battle-layout=landscape]{--desktop-aspect: calc(19 / 12)}#app[data-battle-layout] .desktop-battle-brand{position:absolute;inset:var(--desktop-pad) var(--desktop-pad) auto;display:flex;align-items:center;justify-content:center;gap:clamp(7px,1.3dvh,14px);height:var(--desktop-brand-height);color:#f3e7c7;font-size:clamp(23px,4dvh,37px);font-weight:750;letter-spacing:.02em;pointer-events:none}#app[data-battle-layout] .desktop-battle-brand img{width:auto;height:100%;border-radius:10px}#app[data-battle-layout] .desktop-battle-toolbar{position:absolute;top:var(--desktop-pad);left:var(--desktop-pad);z-index:32;display:flex;align-items:center;height:var(--desktop-brand-height)}#app[data-battle-layout] .battle-header-controls,#app[data-battle-layout] .battle-header-controls>.dock-tools{display:flex;gap:clamp(3px,.65dvh,7px);min-height:0}#app[data-battle-layout] .battle-header-controls>.battle-clock{width:auto;min-width:clamp(65px,10dvh,102px);height:var(--desktop-toolbar-size);font-size:clamp(17px,3dvh,29px);background:#13251d}#app[data-battle-layout] .battle-header-controls>.battle-clock:is(.burning,.boss-assault){color:#ffdb94;background:#4c271c;font-size:clamp(12px,2.2dvh,20px)}#app[data-battle-layout] .dock-tools>:is([data-action=pause],[data-action=sound],[data-action=settings],[data-action=fullscreen],.battle-layout-toggle){position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:var(--desktop-toolbar-size);height:var(--desktop-toolbar-size);min-height:0;margin:0;padding:0 0 5px;border:1px solid #b7bd9063;border-radius:6px;background:#182e23;color:#e8e8ce}#app[data-battle-layout] .dock-tools>.battle-layout-toggle{width:auto;padding:0 7px;border-color:#c4a96885;color:#f1d79a;background:#3c3b29;font-size:12px;font-weight:650;white-space:nowrap}#app[data-battle-layout] .dock-tools>.battle-layout-toggle .icon{width:14px;height:14px}#app[data-battle-layout] .dock-tools>:enabled:hover{background:#40513c}#app[data-battle-layout] .battle-key{position:absolute;z-index:6;top:3px;left:3px;display:grid;place-items:center;min-width:clamp(14px,2.1dvh,20px);height:clamp(14px,2.1dvh,20px);padding-inline:2px;border:1px solid #b8cfb280;border-radius:4px;background:#11251de8;color:#f3ebd5;font-family:inherit;font-size:clamp(9px,1.4dvh,13px);font-weight:750;line-height:1;pointer-events:none}#app[data-battle-layout] .dock-tools .battle-key{inset:auto 0 2px;height:auto;padding:0;border:0;background:transparent;color:#c5d4bc;font-size:clamp(8px,1.2dvh,11px)}#app[data-battle-layout] .command-room{inset:var(--desktop-top) var(--desktop-pad) var(--desktop-pad);display:flex;align-items:center;justify-content:center}#app[data-battle-layout] .game-column{flex:none;width:var(--desktop-field-width);aspect-ratio:var(--desktop-aspect)}#app[data-battle-layout] .game-frame{overflow:visible}#app[data-battle-layout] .battlefield{border-radius:9px;outline:1px solid #b7c79b76;box-shadow:0 14px 44px #08150cb6;isolation:isolate}#app[data-battle-layout] .battle-overlay{padding:16px}#app[data-battle-layout] .battle-header-scenery{display:none}#app[data-battle-layout] :is(.battle-header,.battle-dock){position:fixed;top:var(--desktop-top);bottom:var(--desktop-pad);width:auto;min-width:0;padding:var(--desktop-gap);border:1px solid var(--desktop-edge);border-radius:10px;background:var(--desktop-panel);box-shadow:0 9px 25px #101a13a6;backdrop-filter:none}#app[data-battle-layout] .battle-header{left:var(--desktop-field-edge);right:var(--desktop-pad);z-index:31;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;border-color:#c3a07776}#app[data-battle-layout] .battle-header-opponent{--portrait-size: clamp(43px, 7.6dvh, 78px);display:grid;align-items:stretch;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:var(--portrait-size) minmax(0,1fr);max-width:none;gap:var(--desktop-gap)}#app[data-battle-layout] .battle-header-opponent:has(.battle-opponent-portrait[hidden]){grid-template-columns:minmax(0,1fr)}#app[data-battle-layout] .battle-opponent-info{display:contents}#app[data-battle-layout] .battle-header-opponent .battle-readout{grid-area:1 / 1}#app[data-battle-layout] .battle-header-opponent .enemy-label{flex-direction:column;align-items:flex-start;justify-content:center;height:100%;padding-inline:clamp(7px,1.4dvh,16px);border:1px solid #bb876253;background:#362521}#app[data-battle-layout] .battle-header-opponent #opponent-label{max-width:100%;font-size:clamp(13px,2.05dvh,21px)}#app[data-battle-layout] .battle-header-opponent #enemy-tier{font-size:clamp(10px,1.45dvh,14px)}#app[data-battle-layout] .battle-opponent-portrait{grid-area:1 / 2;width:var(--portrait-size);height:100%}#app[data-battle-layout] .enemy-hand{grid-area:2 / 1 / 3 / -1;min-height:0}#app[data-battle-layout] .battle-dock{--desktop-command-height: clamp(54px, 9.4dvh, 101px);inset-inline:var(--desktop-pad) var(--desktop-field-edge);transform:none;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(0,1fr) clamp(24px,4.2dvh,44px) clamp(44px,7.9dvh,81px) var(--desktop-command-height);align-content:stretch;gap:var(--desktop-gap);border-color:#8db9ba62}#app[data-battle-layout] .battle-dock .dock-status{inset:6px auto auto calc(100% + var(--desktop-gap) + 8px);width:max-content;max-width:min(270px,calc(var(--desktop-field-width) - 16px))}#app[data-battle-layout] .battle-dock :is(.resources,.construction-controls){display:contents}#app[data-battle-layout] .battle-dock .resources .resource{grid-row:2;gap:clamp(3px,1dvh,9px);border-color:#a8cdb034;background:#162820}#app[data-battle-layout] .battle-dock .resources #resource-mana{grid-area:2 / 1 / 3 / 4}#app[data-battle-layout] .battle-dock .resources #resource-population{grid-area:2 / 4 / 3 / -1}#app[data-battle-layout] .battle-dock .resources :is(.resource b,#population){font-size:clamp(14px,2.65dvh,28px)}#app[data-battle-layout] .battle-dock .resources .resource :is([data-icon],.icon){width:clamp(12px,2.2dvh,24px);height:clamp(13px,2.3dvh,25px)}#app[data-battle-layout] .battle-dock .resources #tier-button{grid-area:3 / 1 / 4 / 3}#app[data-battle-layout] .battle-dock #tier-button #tier-name{inset:4px 4px auto 19px;font-size:clamp(7px,1.28dvh,13px);text-align:right}#app[data-battle-layout] #camp-button{grid-area:3 / 3 / 4 / 5}#app[data-battle-layout] #sanctum-button{grid-area:3 / 5 / 4 / -1}#app[data-battle-layout] .battle-dock :is(.tier-button,.construction-controls>.command-button){min-width:0}#app[data-battle-layout] .battle-dock .construction-controls>.command-button{border:1px solid #adc6a05c;background:linear-gradient(145deg,#344a37,#23372c)}#app[data-battle-layout] .battle-dock .construction-controls>.command-button:is(:hover,.active){border-color:#abd1d0ac;background:#345257}#app[data-battle-layout] .battle-commands{grid-area:4 / 1 / 5 / -1;grid-template-columns:minmax(50px,1.55fr) repeat(2,minmax(38px,1fr));gap:var(--desktop-gap)}#app[data-battle-layout] .battle-utilities{height:var(--desktop-command-height);grid-template-rows:var(--desktop-command-height)}#app[data-battle-layout] .battle-utilities :is(.hero-button,.hero-utility,.retreat-button){min-width:0}#app[data-battle-layout] .battle-utilities :is(.utility-name,.retreat-button #retreat-label,#hero-ability-label){font-size:clamp(10px,1.75dvh,16px)}#app[data-battle-layout] .battle-utilities :is(.hero-utility,.retreat-button) [data-icon]>.icon{width:clamp(19px,3dvh,31px);height:clamp(19px,3dvh,31px)}#app[data-battle-layout] .battle-utilities .hero-button #hero-label{font-size:clamp(10px,1.7dvh,16px)}#app[data-battle-layout] .battle-utilities .hero-button #hero-label small{font-size:inherit}#app[data-battle-layout] .battle-utilities .hero-button:not(.on-field):not(.respawning) #hero-label{font-size:0}#app[data-battle-layout] .battle-utilities .hero-button:not(.on-field):not(.respawning) #hero-label small{font-size:clamp(10px,1.7dvh,16px)}#app[data-battle-layout] #hero-ability-icon>.icon{width:clamp(17px,2.75dvh,26px);height:clamp(17px,2.75dvh,26px)}#app[data-battle-layout] .battle-hand{grid-area:1 / 1 / 2 / -1;height:100%}#app[data-battle-layout] :is(.battle-hand>.card-tray,.enemy-hand-cards){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:var(--desktop-gap);height:100%}#app[data-battle-layout=landscape] :is(.battle-hand>.card-tray,.enemy-hand-cards){grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,minmax(0,1fr))}#app[data-battle-layout] :is(.battle-hand .unit-card,.enemy-hand-card){width:100%;height:100%;min-width:0;min-height:0;border-radius:6px}#app[data-battle-layout] .battle-hand .unit-card.empty .icon{width:clamp(17px,3.2dvh,32px);height:clamp(17px,3.2dvh,32px)}#app[data-battle-layout] :is(.desktop-card-name,.enemy-hand-name){position:absolute;inset:auto 0 0;z-index:5;display:block;width:auto;height:var(--desktop-card-caption);padding-inline:5px;background:#10251fef;color:#f5f0de;font-size:var(--desktop-card-text);font-weight:700;line-height:var(--desktop-card-caption);text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;clip-path:none}#app[data-battle-layout] :is(.battle-hand .unit-card,.enemy-hand-card)>.card-portrait.card-portrait>.card-portrait-image{padding:2px 3px calc(var(--desktop-card-caption) + 1px)}#app[data-battle-layout] .battle-hand :is(.spell-cooldown,.card-lock,.card-ready-timer){inset:0 0 var(--desktop-card-caption)}#app[data-battle-layout] .battle-dock .battle-hand .unit-card :is(.card-cost,.card-population){z-index:5;bottom:calc(var(--desktop-card-caption) + 3px);min-height:clamp(13px,1.9dvh,19px);padding-inline:3px;font-size:clamp(9px,1.45dvh,14px)}#app[data-battle-layout] #battle-emote-button,#app[data-battle-layout] #battle-emote-picker,#app[data-battle-layout] #battle-emotes .battle-emote-ally{left:8px}}
