/* Menu-only presentation. Battle selectors and geometry are intentionally absent. */
#main-menu{--ink:#e9ede4;--muted:#a3b9bb;--gold:#e7c485;--line:#a4b9ae2b;background:radial-gradient(ellipse at 75% -20%,#27555370,transparent 60%),radial-gradient(ellipse at 0 100%,#29484c45,transparent 60%),#0b1e28;color:var(--ink)}
#main-menu .menu-shell{max-width:1480px;padding-inline:clamp(16px,3vw,48px)}
#main-menu .menu-header{border-bottom-color:var(--line)}
#main-menu .menu-brand{letter-spacing:3px}#main-menu .menu-brand img{filter:drop-shadow(0 0 12px #6cd5db25)}
#main-menu .menu-currencies>span{background:linear-gradient(135deg,#25444b80,#112c36);border-color:#a8b8a42e;box-shadow:inset 0 1px #f1dfb408}
#main-menu .menu-currencies small{color:#a8c0bf}
#main-menu .menu-nav{gap:32px;border-color:var(--line)}#main-menu .menu-nav button{font-size:13px;color:#9eb7bb}#main-menu .menu-nav button.active{color:#f5dba4}#main-menu .menu-nav button.active:after{height:3px;box-shadow:0 -4px 18px #e3be6240}
#main-menu .menu-primary,.game-sheet .menu-primary{background:linear-gradient(160deg,#f4dca0,#d3a75e);border-color:#ffe3a5;color:#243032;font-weight:700;min-height:48px;border-radius:9px;box-shadow:0 3px 0 #71552e,0 7px 20px #0002}
#main-menu .menu-secondary,.game-sheet .menu-secondary{min-height:44px;border-radius:9px;color:#e5d4ad;background:#bca4650b;border-color:#bda66d57}
#main-menu button,.game-sheet button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#main-menu button:focus-visible,.game-sheet button:focus-visible{outline:2px solid #c4f5eb;outline-offset:3px}
#main-menu button:disabled,.game-sheet button:disabled{cursor:default;opacity:.45;filter:saturate(.5)}
#main-menu .eyebrow{font-size:10px;letter-spacing:1.6px;color:#b2c4be}
#main-menu .menu-text{font-size:12px;color:#e3c996;min-height:36px;padding:6px 0}
#main-menu .menu-progress{height:5px;background:#728e8d2e;border-radius:8px;overflow:hidden}#main-menu .menu-progress i{background:linear-gradient(90deg,#8bc9bb,#e7ca89)}
#main-menu .play-mode-tabs{flex-shrink:0;display:flex;gap:6px;max-width:580px;width:100%;margin:0 auto 18px;border:1px solid #9eafa431;background:#081a2380;padding:5px;border-radius:12px}
.play-mode-tabs button{flex:1;display:grid;grid-template-columns:26px auto;gap:4px 10px;align-content:center;justify-content:center;align-items:center;background:none;border:1px solid transparent;border-radius:8px;min-height:52px;color:#9db4ba;font-size:16px}
.play-mode-tabs button>span{grid-row:1/3;font:26px Georgia;color:#c7b589}.play-mode-tabs small{font-size:8px;letter-spacing:1.4px;text-align:left}
.play-mode-tabs button[aria-pressed=true]{background:linear-gradient(130deg,#35514f,#213e44);border-color:#c4b17a70;box-shadow:inset 0 1px #e5d7ac12;color:#f4dfb2}
#main-menu .home-scroll{padding:1px 5px 12px 1px}
.lobby-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;min-width:0}
.lobby-main,.lobby-aside{min-width:0;display:flex;flex-direction:column;gap:15px}
.lobby-cover{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;border:1px solid #c2b37b50;min-height:clamp(280px,37vh,420px);background:linear-gradient(90deg,#102d36ed 10%,#1029349c 65%,#15363c77),url('../assets/arena-v2-runtime.webp') center 36%/cover;box-shadow:inset 0 1px #e7eac312,0 18px 45px #0002}
.lobby-cover:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 82% 52%,#82e7e33b,transparent 45%),linear-gradient(0deg,#0a2531bb,transparent 45%);pointer-events:none}
.lobby-cover-copy{padding:clamp(24px,3vw,44px);position:relative;z-index:2;width:70%}
#main-menu .lobby-cover h1{font-size:clamp(36px,4.3vw,64px);line-height:1.05;letter-spacing:-1.4px;margin:16px 0 14px;color:#f3e9cc;text-shadow:0 2px 12px #071d2d70}.lobby-cover h1 em{color:#e5c789;font-style:normal}
#main-menu .lobby-cover p{color:#b4c9c8;font-size:13px;line-height:1.7;margin:0 0 22px}
.lobby-play{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.lobby-play>.menu-primary{min-width:230px;justify-content:space-between;gap:22px}.lobby-play>small{color:#b4c3b9;font-size:11px}
.lobby-cover-foot{color:#a9bbb9;letter-spacing:1.3px;font-size:8px;margin-top:24px;display:flex;align-items:center;gap:12px}.lobby-cover-foot>span{font:16px Georgia;color:#e6c78b;letter-spacing:1px}
.lobby-cover-art{position:absolute;right:-1%;top:5%;width:47%;height:90%;display:grid;place-items:center;pointer-events:none;z-index:1}
.lobby-cover-art>.tower-icon{width:100%;height:80%;max-height:310px;filter:drop-shadow(0 18px 22px #0006);transform:rotate(-7deg)}
.lobby-cover-art>span{position:absolute;bottom:0;left:0;right:0;text-align:center;color:#b7cdc1;font-size:7px;letter-spacing:2px;opacity:.65}
.lobby-orbit{position:absolute;width:85%;aspect-ratio:1;border:1px solid #bce7cc30;border-radius:50%;box-shadow:0 0 0 16px #a0c7b007,0 0 0 17px #9fcdbe16,0 0 60px #7fd8cb14}.lobby-orbit:after{content:'✦';position:absolute;left:50%;top:-10px;color:#f1dfb0;font-size:19px}
.lobby-pvp .lobby-cover{background-image:linear-gradient(90deg,#1e2438f5 5%,#272b40bb 60%,#2b273f77),url('../assets/arena-pvp-v1-runtime.webp');border-color:#b8a1d951}.lobby-pvp .lobby-cover:after{background:radial-gradient(ellipse at 80% 50%,#f1658840,transparent 50%)}.lobby-pvp .lobby-orbit{border-color:#d897bf50}
.chapter-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#94b1b6;margin:2px 0 -6px}.chapter-caption b{font-weight:400;color:#d9c391;margin-left:12px}
.chapter-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.chapter-node{position:relative;display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #96b1ae30;background:linear-gradient(135deg,#24414977,#18313a90);border-radius:11px;padding:16px 12px;color:#e0dfc8;min-width:0}.chapter-node>span:nth-child(2){min-width:0;flex:1}.chapter-number{font:23px Georgia;color:#90b5ad;flex-shrink:0}.chapter-node small{display:block;font-size:7px;letter-spacing:1.2px;color:#a5b9b4}.chapter-node strong{display:block;font:16px/1.2 Georgia;margin:5px 0 7px}.chapter-node b{display:block;font-size:9px;font-weight:400;color:#c9b782}.chapter-node i{font-style:normal;color:#cdb684}.chapter-node.current{border-color:#c6ac68a6;background:linear-gradient(135deg,#c5a35f1d,#23404777)}.chapter-node.completed .chapter-number{color:#a8dec5}
#main-menu .lobby-loadout{padding:12px 16px;border:1px solid #94ada62e;border-radius:12px;background:#1a353c80}.lobby-loadout .section-caption{font-size:12px;margin:0}.lobby-loadout-row{display:flex;align-items:center;gap:18px}.lobby-loadout .menu-deck-strip{flex:1;min-width:0;margin:0;height:72px}.lobby-loadout .menu-deck-strip .tower-icon{max-height:54px}.lobby-loadout .menu-deck-strip>button>span{font-size:8px}
.lobby-hero{display:flex;align-items:center;gap:12px;padding:8px 18px 8px 0;background:none;color:#e4d7b8;border-right:1px solid #acc5b12b;flex-shrink:0;text-align:left;font:20px Georgia}.lobby-hero>b{font:36px Georgia;color:var(--hero-color);text-shadow:0 0 20px #a3f8ea44}.lobby-hero small{display:block;color:#9fb4ad;font:7px Arial;letter-spacing:1.5px;margin-top:6px}
.lobby-aside{gap:16px}.lobby-chest{position:relative;display:flex;flex-direction:column;align-items:center;gap:13px;border:1px solid #c9ae6e60;border-radius:16px;background:radial-gradient(ellipse at 50% 40%,#b7b56518,transparent 65%),linear-gradient(145deg,#2b4547,#142f38);padding:23px 18px;text-align:center;color:#e9dfc1;overflow:hidden;min-width:0}
#main-menu .lobby-chest>.eyebrow{font-size:8px;letter-spacing:1.6px}.lobby-chest>strong{font:27px Georgia}.lobby-chest>span:not(.eyebrow):not(.chest-emblem){font:12px/1.7 Arial;color:#b3c3bb}.lobby-chest>b{width:100%;font-size:12px;display:flex;justify-content:center;align-items:center;gap:12px;border-top:1px solid #c5af712c;padding-top:16px;color:#eed7a1}.lobby-chest>b>i{font-style:normal;border:1px solid #d6bd7c55;border-radius:5px;padding:3px 7px;background:#c8b36c1c}
.chest-emblem{display:block;position:relative;width:130px;height:100px;margin:16px 0 8px;filter:drop-shadow(0 14px 15px #0005)}.chest-emblem:before{content:'';position:absolute;inset:21px 5px 0;border:2px solid #d2b37b;border-radius:12px;background:linear-gradient(100deg,#365761,#173744);box-shadow:inset 0 0 0 6px #122e39,inset 17px 0 #bd9a60,inset -17px 0 #bd9a60}.chest-emblem i{position:absolute;top:1px;left:2px;right:2px;height:39px;border:2px solid #e4c58c;border-radius:25px 25px 5px 5px;background:linear-gradient(#557879,#294b56);box-shadow:inset 0 0 0 5px #203d45}.chest-emblem b{position:absolute;left:48px;top:37px;color:#b7fff1;background:#29505b;border:2px solid #e0c18a;border-radius:8px;font:27px Georgia;width:35px;height:35px;line-height:32px;box-shadow:0 0 23px #81f4e866}
#main-menu .season-teaser{flex-direction:row;align-items:center;text-align:left;padding:20px;border-radius:13px;border-color:#b9a4cf40;background:radial-gradient(ellipse at top left,#b99de21b,transparent 80%),#19313d}.season-teaser .season-symbol{color:#d2b6eb;font-size:42px}.season-teaser .season-copy{gap:9px}.season-teaser .season-copy>strong{font-size:22px}.season-teaser .season-copy>small{font-size:8px}.season-teaser .season-copy>span:last-child{font-size:11px}.season-teaser>b{align-self:center}
.lobby-quote{font:italic 22px/1.6 Georgia;color:#a5b8ac;text-align:center;margin:20px 0;opacity:.65}.lobby-quote>span{display:block;font:7px Arial;letter-spacing:2px;margin-top:14px}
.pvp-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pvp-rules>div{border:1px solid #b6a1ca35;border-radius:10px;padding:15px;background:#322d471f}.pvp-rules span{font:18px Georgia;color:#bca4d1}.pvp-rules strong{display:block;font:18px Georgia;color:#dfd5dc;margin-top:8px}#main-menu .pvp-rules p{font-size:11px;line-height:1.6;margin:7px 0 0}#main-menu .mode-footnote{font-size:10px;margin:0;color:#b1bdc5}
/* The collection and the five-slot deck are one screen. */
#main-menu .arsenal-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-shrink:0}.arsenal-heading h1{font:34px Georgia;margin:6px 0 0}.arsenal-heading>span{font-size:13px;color:#a9beb9;text-align:right}.arsenal-heading>span>b{font:26px Georgia;color:#e4ce9c}.arsenal-heading>span>small{display:block;font-size:7px;letter-spacing:1px;margin-top:4px}
#main-menu .equipped-section{padding:12px 16px;background:linear-gradient(120deg,#2b464a8c,#17313a77);border:1px solid #b9a77250;border-radius:13px;margin:0 0 8px}.equipped-section .section-caption{font-size:12px}.section-caption>span>b{font-size:10px;color:#d2b87f;margin-left:8px;font-weight:400}.equipped-section .section-caption small{font-size:10px;color:#a3b9b8}
#main-menu .deck-editor{max-width:850px;height:116px;display:grid;gap:12px}#main-menu .deck-editor>.deck-slot{grid-template-rows:12px minmax(0,1fr) 22px 14px;padding:6px 10px;background:linear-gradient(140deg,#2d4a4d88,#102d36);border-color:#abc2b636;border-radius:9px;box-shadow:inset 0 1px #f4e5b50a}#main-menu .deck-slot>small{font-size:8px}#main-menu .deck-slot>strong{font-size:13px}.slot-level{font-size:9px;color:#b3c3b8}
#main-menu .awaiting-slot .deck-slot{border-color:#f4d596;box-shadow:inset 0 0 18px #cfad4d15}#main-menu .awaiting-slot .deck-slot:after{content:'УСТАНОВИТЬ';font-size:8px;font-weight:700;letter-spacing:.5px;background:linear-gradient(0deg,#c4a25be8,#17353b66);color:#fff2d6;align-items:end;padding-bottom:12px}
#main-menu .deck-prompt{min-height:40px;border-radius:8px;margin-bottom:8px;font-size:12px;padding:7px 12px;gap:12px}#main-menu .deck-prompt.selecting{background:#b9984d19;border-color:#dec17c88;color:#eed9a9}.deck-prompt b{font-weight:500;color:#ffe7ab}.deck-prompt-mark{font-size:22px;color:#779b9c}
.collection-tools{flex-shrink:0;display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:space-between;padding:4px 0 10px}.scope-strip{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.scope-strip button{white-space:nowrap;min-height:40px;padding:8px 12px;border-bottom:2px solid transparent;background:none;font-size:12px;color:#a7bdbc}.scope-strip button[aria-pressed=true]{color:#f0d49b;border-bottom-color:#dcc089}
#main-menu .filter-strip{height:40px;margin:0;gap:5px;max-width:100%}#main-menu .filter-strip button{padding:9px 11px;min-height:36px;font-size:10px;border-radius:8px}#main-menu .filter-strip button.active{background:#d0b57915}
#main-menu .inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;align-items:start}.tower-card-wrap{position:relative;min-width:0;scroll-margin:10px}.tower-card-wrap .tower-card{width:100%;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--rarity),transparent 89%),transparent 65%),linear-gradient(140deg,#24404a,#142d38);border-color:color-mix(in srgb,var(--rarity),transparent 65%);border-radius:12px;padding:12px;box-shadow:inset 0 1px #f0e6be0c;transition:border-color .15s}
#main-menu .tower-card:hover{transform:none;border-color:var(--rarity)}#main-menu .tower-card-art{height:110px}#main-menu .tower-card-art .tower-icon{max-width:140px;filter:drop-shadow(0 8px 8px #0003)}#main-menu .tower-card>strong{font-size:18px;line-height:1.2;min-height:44px}#main-menu .tower-card .rarity-label{font-size:9px;letter-spacing:.4px}#main-menu .tower-card-level{font-size:11px;margin:6px 0 10px}#main-menu .shard-count{font-size:10px;color:#afc1ba;margin-top:7px}#main-menu .shard-track{height:4px}
#main-menu .tower-card.chosen{border-color:#f1d18f;box-shadow:0 0 0 1px #e9ca7544,inset 0 0 26px #e1ba5110}#main-menu .tower-card.locked .tower-icon{filter:saturate(.15);opacity:.4}
/* The action panel floats over subsequent rows; its space never enters grid sizing. */
#main-menu .inventory-grid{padding-bottom:72px}
.tower-card-wrap.is-selected{z-index:5}
.card-inline-actions{position:absolute;top:calc(100% + 7px);left:0;right:0;display:flex;gap:4px;margin:0;padding:3px 0;border:1px solid #c9b47770;border-radius:10px;background:#102b35;box-shadow:0 9px 22px #020d18a6;scroll-margin-block:14px;transform-origin:50% 0;animation:card-actions-in .28s cubic-bezier(.2,.8,.2,1) both}
.card-inline-actions[hidden]{display:none}.card-inline-actions button{flex:1;min-width:0;min-height:44px;border:1px solid #afc4af40;border-radius:7px;background:#2c4b4f;color:#f6dfb2;padding:7px 3px;font-size:11px}.card-inline-actions .card-improve{background:linear-gradient(135deg,#ddc28b,#b99860);border-color:#ecd3a0;color:#1e3338;font-weight:700}
@keyframes card-actions-in{from{opacity:0;transform:translateY(-7px) scale(.97)}to{opacity:1;transform:none}}
.collection-empty{grid-column:1/-1;text-align:center;padding:32px 20px;color:#aac2bd}.collection-empty>span{font:45px Georgia;color:#d2bd8b}.collection-empty h2{font:26px Georgia}.collection-empty p{font-size:12px}
#main-menu .section-actions{min-height:52px}.section-actions>span>b{margin:0 8px;font-weight:400}#main-menu .section-actions>span{font-size:11px;color:#a3b8b6}#main-menu .section-actions .menu-secondary{min-height:42px;font-size:12px}
#main-menu .menu-page-title h1,#main-menu .pass-header h1{color:#ede2c5;font-size:36px}#main-menu .menu-page-title p{color:#b0c1bd;font-size:12px}
#main-menu .hero-stage{padding:20px;max-width:700px;background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--hero-color),transparent 92%),transparent 65%);border:1px solid #a4baad24;border-radius:16px}#main-menu .hero-stage>.hero-orbit{height:190px;width:190px;margin-bottom:20px}#main-menu .hero-stage>.hero-orbit i{width:140px;height:140px}#main-menu .hero-stage>.hero-orbit i:last-child{width:175px;height:175px}#main-menu .hero-stage h2{font-size:40px}#main-menu .hero-stage>small{font-size:12px}#main-menu .hero-skill{border-color:#a9c4b53c;border-radius:12px;padding:20px}#main-menu .hero-skill p{font-size:13px;color:#b4c6c1}#main-menu .hero-stats{font-size:12px;color:#a4beb9}#main-menu .hero-roster>button{min-width:185px;padding:15px;border-radius:10px}#main-menu .hero-roster small{font-size:10px}#main-menu .hero-roster strong{font-size:21px}#main-menu .hero-actions>span{font-size:11px;color:#a8bcb9}
#main-menu .pass-header{padding-bottom:20px}#main-menu .pass-meter{background:linear-gradient(130deg,#35424688,#23333f);border-radius:12px;padding:18px;border-color:#c9b17450}#main-menu .pass-meter>small{font-size:12px;color:#bdc9bb}#main-menu .pass-step,#main-menu .pass-reward-card{min-height:115px}#main-menu .pass-reward-card{border-radius:12px;background:linear-gradient(130deg,#29424980,#1a303c);border-color:#b0b9aa30}#main-menu .pass-step.ready .pass-reward-card{border-color:#e1c37e99;background:linear-gradient(120deg,#ad945925,#233c43)}#main-menu .pass-reward-card small{font-size:9px}#main-menu .pass-reward-card>div>span{font-size:11px;color:#afc1b7}#main-menu .pass-reward-card h2{font-size:24px}#main-menu .pass-node{border-radius:50%}
#main-menu .arena-choices>button{border-radius:14px;overflow:hidden;padding:10px 10px 20px;background:#1b353f;border-color:#a4b5a436}#main-menu .arena-choices>button.selected{border-color:#e0c187}#main-menu .arena-swatch{border-radius:8px;height:230px}#main-menu .arena-choices small{font-size:10px}#main-menu .weather-choices button{min-height:48px;font-size:13px;border-radius:9px}#main-menu .menu-note{font-size:12px;color:#a5b9b6}
#main-menu .balance-form,#main-menu .lab-callout{background:#1a343e;border-color:#a5b5a637;border-radius:13px;max-width:800px;padding:24px}#main-menu .balance-form label{font-size:13px;color:#c4d0c6}#main-menu .balance-form input,#main-menu .balance-form select{min-height:44px;background:#102832;border-color:#9ebbaa55;border-radius:7px;color:#f0dfb7}#main-menu .lab-callout p{font-size:12px}#main-menu .lab-callout button{min-height:44px}
/* Sheets: anticipation, reveal, then a readable result. */
.game-sheet{border-color:#cfb77973;border-radius:20px;background:radial-gradient(ellipse at 50% 0,#31545266,transparent 75%),#142d38;box-shadow:0 30px 100px #000a,inset 0 1px #f3e3b616;width:min(800px,calc(100% - 32px))}.game-sheet::backdrop{background:#061720d9;backdrop-filter:blur(8px)}
.game-sheet .sheet-frame{height:min(690px,calc(var(--game-height,100dvh) - 32px));max-height:calc(var(--game-height,100dvh) - 32px)}
.game-sheet .sheet-header{padding:24px 28px 20px;border-color:#b6b99a2e}.game-sheet .sheet-header h2{font-size:30px;color:#efe1bb}.game-sheet .sheet-header small{font-size:10px;letter-spacing:1.2px;color:#b5c7bb}.game-sheet .sheet-close{min-width:44px;min-height:44px;width:44px;height:44px;border-radius:50%;background:#0c25316b;border-color:#b8c2ab44;font-size:26px}.game-sheet .sheet-scroll{padding:24px 28px}.game-sheet .sheet-actions{padding:18px 28px;border-color:#b6b99a2e;background:#0b242e88}
.game-sheet .tower-details{grid-template-columns:240px minmax(0,1fr);gap:26px}.game-sheet .detail-portrait{height:300px;padding-bottom:45px;display:grid;place-items:center;isolation:isolate;background:radial-gradient(ellipse,color-mix(in srgb,var(--rarity),transparent 84%),transparent 65%);border:1px solid color-mix(in srgb,var(--rarity),transparent 72%);border-radius:14px;overflow:hidden}.game-sheet .detail-portrait>.tower-icon{width:100%;height:90%;max-width:245px;filter:drop-shadow(0 12px 14px #0005);z-index:1}.detail-rune{position:absolute;inset:34px 20px 70px;border:1px solid color-mix(in srgb,var(--rarity),transparent 60%);border-radius:50%;box-shadow:0 0 0 13px #a4c6b407,0 0 0 14px #a4c6b41a;transform:rotate(-20deg)}
.game-sheet .detail-level{bottom:15px;min-width:110px;padding:8px 18px;font:30px Georgia;text-align:center;background:#12323c;border-color:#c5b77865;border-radius:9px;z-index:2}.detail-level>small{display:block;font:7px Arial;letter-spacing:1.5px;color:#a9c1b7;margin:2px 0 4px}.game-sheet .detail-copy p{font-size:13px;line-height:1.75;color:#b3c7c1;margin-top:9px}.game-sheet .detail-copy>.eyebrow{font-size:9px;letter-spacing:1px}.stat-table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:8px;letter-spacing:1.1px;color:#a9bfb3;padding-bottom:12px}.stat-table-heading>b{font:18px Georgia;color:#f0d9a5;letter-spacing:0}
.game-sheet .detail-stat{font-size:12px;padding:13px 0;border-color:#8bada231}.game-sheet .detail-stat>strong{font:22px Georgia}.game-sheet .detail-stat .stat-after{color:#b4f0ca;font-weight:400}.game-sheet .detail-stat i{font-size:14px;color:#829c97}.game-sheet .detail-shards{font-size:12px;margin-top:4px}.game-sheet .menu-progress{height:5px;border-radius:6px;overflow:hidden;background:#829d8c30}.game-sheet .menu-progress>i{background:linear-gradient(90deg,#72bdb5,#d4d296)}
.upgrade-cost{display:flex;gap:12px;margin-top:18px}.upgrade-cost>span{flex:1;padding:10px 12px;border:1px solid #a2b99d36;border-radius:8px;background:#0c26306b;font-size:20px;color:#ebd39d}.upgrade-cost b{font:22px Georgia}.upgrade-cost small{display:block;color:#abc0b6;font-size:10px;margin-top:6px}.upgrade-cost .insufficient{border-color:#d5978050;color:#ecc0a6}.game-sheet .upgrade-availability{font-size:11px;color:#b7d7b6;margin:10px 0}.game-sheet .detail-copy>.menu-note{font-size:10px;color:#92ada8;margin:14px 0 0}
.upgrade-status{margin-top:22px;border:1px solid #9de8bc5c;background:#81bf9910;border-radius:8px;padding:14px;color:#c2f1cd;text-align:center;font-size:13px}
.upgrade-sequence .detail-portrait>.tower-icon{animation:forge-tower 1.4s ease both}.upgrade-sequence .detail-rune{animation:forge-ring 1.4s ease both}.upgrade-sequence .level-before{display:inline-block;animation:old-level .5s .65s both}.upgrade-sequence .level-after{display:inline-block;position:absolute;left:0;right:0;top:8px;animation:new-stat .5s .85s both}.upgrade-sequence .detail-level>small{margin-top:6px}.upgrade-sequence .stat-changing .stat-after{display:inline-block;animation:new-stat .55s 1s both}.upgrade-sequence .stat-changing .stat-before{display:inline-block;animation:dim-stat .7s .8s both}.upgrade-sequence .reward-sparkles{z-index:2}.upgrade-sequence .reward-sparkles i{animation-delay:calc(.5s + var(--i)*.03s)}
.game-sheet .chest-opening h3{font:28px Georgia;color:#f1d9a4;margin:8px 0}.game-sheet .chest-opening>p,.game-sheet .reward-reveal>p,.game-sheet .reward-note{font-size:12px;color:#adc6bb}
.game-sheet .opening-chest{width:210px;height:210px;animation:chest-wake 1.35s ease-in-out both;margin:25px 0}.game-sheet .chest-box{height:103px;bottom:24px;border-color:#dab777;box-shadow:inset 0 0 0 8px #132c3a,0 18px 30px #0006}.game-sheet .chest-lid{top:40px;height:45px;animation:chest-lid 1.35s ease both;box-shadow:inset 0 0 0 6px #183443,0 -6px 25px #e8d89338}.game-sheet .chest-lock{top:89px;left:85px;box-shadow:0 0 28px #b0ffed70}.game-sheet .chest-light{inset:-70px;animation:chest-light 1.35s ease both;background:radial-gradient(#e7e8ab88,transparent 63%)}
.reward-rays{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--rarity,#e9d39c),transparent 76%),transparent 65%);pointer-events:none;animation:reveal-halo .9s ease both}.reward-rays:before{content:'';position:absolute;inset:3%;background:repeating-conic-gradient(from 10deg,transparent 0deg 16deg,#ddf2d608 17deg 26deg,transparent 27deg 45deg);mask-image:radial-gradient(circle,#000,transparent 65%)}
.game-sheet .reward-reveal>.reward-tile{width:260px;padding:22px;background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--rarity),transparent 83%),transparent 80%),linear-gradient(145deg,#2b4a51,#17323f);border-radius:15px;box-shadow:0 15px 35px #0005,0 0 35px color-mix(in srgb,var(--rarity),transparent 88%);animation:loot-arrive .65s cubic-bezier(.18,.8,.25,1) both}
.game-sheet .reward-reveal .reward-tile-art{height:170px}.game-sheet .reward-reveal .reward-tile>strong{font-size:27px}.game-sheet .reward-tile>b{animation:amount-arrive .4s .35s both;color:#fae0a7}.game-sheet .reward-tile>small{font-size:10px}.reward-new{display:inline-block;margin-top:12px;font-size:8px;letter-spacing:1.4px;color:#163739;border-radius:4px;background:#c2ecd2;padding:5px 9px;animation:amount-arrive .4s .5s both}
.reveal-dots{display:flex;gap:8px;margin:0 0 24px}.reveal-dots i{height:5px;width:28px;background:#81988d40;border-radius:5px}.reveal-dots .lit{background:#dac38b;box-shadow:0 0 12px #dec68535}.game-sheet .reward-summary{gap:14px;min-height:85%}.game-sheet .reward-summary .reward-tile{border-radius:12px;animation-delay:calc(var(--reward-index)*.12s);background:linear-gradient(140deg,#294750,#18333d)}.game-sheet .reward-summary .reward-tile>strong{font-size:20px}.game-sheet .reward-summary .reward-tile-art{height:140px}.game-sheet .reward-tile-art>.tower-icon{max-width:180px}.game-sheet .reward-summary .reward-tile>b{font-size:32px}.game-sheet .more-list strong{font-size:22px}.game-sheet .more-list small{font-size:12px;line-height:1.5}.game-sheet .more-list>button{padding:18px;border-radius:11px;border-color:#aab6a63a;background:linear-gradient(135deg,#29454d,#19333e)}
@keyframes forge-tower{0%{transform:scale(1);filter:brightness(1)}35%{transform:scale(.94);filter:brightness(1.4) drop-shadow(0 0 8px #c4ffe9)}57%{transform:scale(1.1);filter:brightness(1.8) drop-shadow(0 0 20px #ddffdf)}100%{transform:scale(1);filter:drop-shadow(0 12px 14px #0005)}}
@keyframes forge-ring{0%{transform:rotate(-20deg) scale(.9);opacity:.4}55%{transform:rotate(70deg) scale(1.1);opacity:1}100%{transform:rotate(160deg) scale(1);opacity:.6}}
@keyframes old-level{to{transform:translateY(-10px);opacity:0}}@keyframes new-stat{from{opacity:0;transform:translateY(10px);filter:blur(2px)}to{opacity:1;transform:none;filter:none}}@keyframes dim-stat{to{opacity:.45}}
@keyframes loot-arrive{0%{opacity:0;transform:translateY(65px) scale(.7) rotateY(30deg)}65%{opacity:1;transform:translateY(-8px) scale(1.03)}100%{opacity:1;transform:none}}@keyframes amount-arrive{from{opacity:0;transform:translateY(9px) scale(.9)}to{opacity:1;transform:none}}@keyframes reveal-halo{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}
@media(hover:hover){#main-menu .menu-primary:hover,.game-sheet .menu-primary:hover{filter:brightness(1.08)}#main-menu .chapter-node:hover:not(:disabled){border-color:#c5b47c99}#main-menu .lobby-chest:hover:not(:disabled) .chest-emblem{filter:drop-shadow(0 10px 20px #a8e3c333)}.card-inline-actions button:hover:not(:disabled){filter:brightness(1.12)}}
@media(max-width:1050px){.lobby-layout{grid-template-columns:minmax(0,1fr) 220px;gap:16px}.lobby-cover-copy{padding:28px;width:73%}#main-menu .lobby-cover h1{font-size:46px}.chapter-node{padding:12px 9px;gap:8px}.chapter-node strong{font-size:14px}.chapter-node i{display:none}#main-menu .lobby-chest>.eyebrow{font-size:7px}.lobby-chest>strong{font-size:23px}#main-menu .season-teaser{padding:15px}.season-teaser .season-copy>strong{font-size:19px}.lobby-quote{font-size:20px}}
@media(max-width:760px){
 #main-menu .menu-shell{padding-inline:14px;grid-template-rows:calc(64px + env(safe-area-inset-top,0px)) minmax(0,1fr) calc(66px + env(safe-area-inset-bottom,0px))}#main-menu .menu-brand{font-size:7px;letter-spacing:2px}#main-menu .menu-brand strong{font-size:16px;letter-spacing:3px}#main-menu .menu-currencies>span{min-width:67px}#main-menu .menu-currencies small{font-size:6px}#main-menu .menu-content{padding-block:12px}#main-menu .mobile-menu-nav{background:#102b34;border-color:#adbb9e33}#main-menu .mobile-menu-nav button{font-size:10px;gap:5px}#main-menu .mobile-menu-nav svg{width:23px;height:23px}#main-menu .mobile-menu-nav button.active{color:#f0d49a}
 #main-menu .play-mode-tabs{margin-bottom:12px;padding:4px;border-radius:10px}.play-mode-tabs button{min-height:48px;font-size:15px;gap:3px 8px}.play-mode-tabs small{font-size:7px;letter-spacing:1px}.play-mode-tabs button>span{font-size:23px}
 .lobby-layout{grid-template-columns:minmax(0,1fr);gap:16px}.lobby-main{gap:12px}.lobby-cover{min-height:305px;border-radius:14px}.lobby-cover-copy{padding:25px 20px;width:80%}#main-menu .lobby-cover h1{font-size:42px;letter-spacing:-1px;margin:14px 0}#main-menu .lobby-cover p{display:block;font-size:11px;max-width:210px;line-height:1.7;margin-bottom:20px}.lobby-cover .eyebrow{font-size:8px!important;letter-spacing:1.2px!important}.lobby-cover-art{width:52%;right:-10%;height:77%;top:10%;opacity:.8}.lobby-cover-art>.tower-icon{height:90%}.lobby-cover-art>span{display:none}.lobby-orbit{width:95%}.lobby-play>.menu-primary{min-width:210px;font-size:12px;min-height:46px}.lobby-play>small{font-size:10px}.lobby-cover-foot{margin-top:19px;font-size:7px;letter-spacing:1px}.lobby-cover-foot>span{font-size:15px}
 .chapter-caption{font-size:10px;margin-bottom:-5px}#main-menu .chapter-caption .eyebrow{font-size:8px}.chapter-path{gap:6px}.chapter-node{display:block;padding:11px 9px;border-radius:9px}.chapter-number{display:block;font-size:18px;margin-bottom:9px}.chapter-node>span:nth-child(2){display:block}.chapter-node small{font-size:6px;letter-spacing:.5px}.chapter-node strong{font-size:14px;min-height:34px;margin:5px 0;line-height:1.2}.chapter-node b{font-size:8px;line-height:1.4}.chapter-node i{display:none}
 #main-menu .lobby-loadout{padding:10px 12px}.lobby-loadout .section-caption{font-size:11px}.lobby-loadout .menu-text{font-size:10px;min-height:28px}.lobby-loadout-row{gap:10px}.lobby-hero{gap:6px;font-size:17px;padding-right:10px}.lobby-hero>b{font-size:28px}.lobby-hero small{font-size:6px;letter-spacing:1px}.lobby-loadout .menu-deck-strip{height:64px;gap:4px}.lobby-loadout .menu-deck-strip .tower-icon{max-height:45px}.lobby-loadout .menu-deck-strip>button>span{font-size:6px}
 .lobby-aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lobby-chest{padding:12px 10px;gap:8px;border-radius:12px;grid-row:1/3}#main-menu .lobby-chest>.eyebrow{font-size:6px;letter-spacing:.6px}.lobby-chest .chest-emblem{transform:scale(.7);margin:-2px 0 -14px}.lobby-chest>strong{font-size:21px}.lobby-chest>span:not(.eyebrow):not(.chest-emblem){font-size:9px}.lobby-chest>b{font-size:10px;padding-top:12px;gap:7px}.lobby-chest>b>i{padding:2px 5px}#main-menu .season-teaser{flex-direction:column;gap:9px;padding:15px 12px;text-align:center}.season-teaser .season-symbol{font-size:33px}.season-teaser .season-copy>strong{white-space:normal;font-size:20px}.season-teaser .season-copy>small{font-size:6px}.season-teaser .season-copy>span:last-child{font-size:9px}.lobby-quote{font-size:14px;margin:0;align-self:center}.lobby-quote>span{font-size:5px;margin-top:5px}.pvp-rules{gap:6px}.pvp-rules>div{padding:12px 9px}.pvp-rules span{font-size:16px}.pvp-rules strong{font-size:15px;line-height:1.2;min-height:36px}#main-menu .pvp-rules p{font-size:10px;line-height:1.6}#main-menu .mode-footnote{font-size:9px}
 #main-menu .arsenal-heading{margin-bottom:10px}.arsenal-heading h1{font-size:27px}.arsenal-heading>span>b{font-size:22px}.arsenal-heading>span{font-size:11px}.arsenal-heading>span>small{font-size:6px;letter-spacing:.5px}#main-menu .arsenal-heading .eyebrow{font-size:7px}
 #main-menu .equipped-section{padding:9px 8px;margin-bottom:6px;border-radius:10px}.equipped-section .section-caption{font-size:10px;padding-inline:3px;margin-bottom:7px}.equipped-section .section-caption small{font-size:8px}.section-caption>span>b{font-size:8px;margin-left:4px}#main-menu .deck-editor{height:94px;gap:5px}#main-menu .deck-editor>.deck-slot{padding:5px 3px;grid-template-rows:8px minmax(0,1fr) 23px 11px;border-radius:7px}#main-menu .deck-slot>small{font-size:6px}#main-menu .deck-slot>strong{font-size:10px;line-height:1.15}.slot-level{font-size:7px}#main-menu .awaiting-slot .deck-slot:after{font-size:6px;letter-spacing:0;padding-bottom:13px}
 #main-menu .deck-prompt{min-height:42px;font-size:10px;line-height:1.5;padding:6px 9px;margin-bottom:4px}#main-menu .deck-prompt .menu-text{font-size:10px;min-height:32px}.deck-prompt-mark{display:none}.collection-tools{display:block;padding:0 0 6px}.scope-strip{gap:0}.scope-strip button{font-size:10px;min-height:38px;padding:7px 10px}#main-menu .filter-strip{height:38px;gap:5px}#main-menu .filter-strip button{font-size:9px;min-height:34px;padding:8px 9px}
 #main-menu .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#main-menu .tower-card-wrap .tower-card{padding:9px 7px;border-radius:9px}#main-menu .tower-card-art{height:82px}#main-menu .tower-card>strong{font-size:14px;min-height:34px}#main-menu .tower-card .rarity-label{font-size:7px;letter-spacing:0}#main-menu .tower-card-level{font-size:9px;margin:5px 0 8px}#main-menu .shard-count{font-size:9px;margin-top:6px}.card-inline-actions{gap:3px}.card-inline-actions button{font-size:9px;padding:5px 1px;min-height:44px;border-radius:6px}#main-menu .section-actions{min-height:48px}#main-menu .section-actions>span{font-size:9px}#main-menu .section-actions .menu-secondary{font-size:10px;min-height:40px;padding:8px 10px}
 #main-menu .menu-page-title h1,#main-menu .pass-header h1{font-size:29px}#main-menu .menu-page-title .eyebrow,#main-menu .pass-header .eyebrow{font-size:8px}#main-menu .hero-stage{padding:15px}#main-menu .hero-stage>.hero-orbit{height:155px;width:150px;margin-bottom:14px}#main-menu .hero-stage>.hero-orbit i{height:112px;width:112px}#main-menu .hero-stage>.hero-orbit i:last-child{height:140px;width:140px}#main-menu .hero-stage h2{font-size:34px}#main-menu .hero-stage>small{font-size:10px}#main-menu .hero-skill{padding:14px}#main-menu .hero-skill p{font-size:11px}#main-menu .hero-stats{font-size:10px;gap:16px}#main-menu .hero-roster>button{min-width:140px;padding:11px}#main-menu .hero-roster strong{font-size:19px}#main-menu .hero-roster small{font-size:8px}#main-menu .hero-actions>.menu-primary{min-width:170px;font-size:11px;min-height:44px}#main-menu .hero-actions>span{font-size:9px;line-height:1.5}
 #main-menu .pass-header{padding-bottom:14px}#main-menu .pass-meter{padding:13px}#main-menu .pass-meter>small{font-size:10px}#main-menu .pass-step,#main-menu .pass-reward-card{min-height:106px}#main-menu .pass-reward-card{padding:12px;gap:9px}#main-menu .pass-reward-card h2{font-size:19px}#main-menu .pass-reward-card small{font-size:8px}#main-menu .pass-reward-card>div>span{font-size:10px}#main-menu .pass-reward-card button{min-height:44px;min-width:62px}#main-menu .arena-swatch{height:175px}#main-menu .arena-choices>button{padding:9px 9px 17px}#main-menu .weather-choices button{min-height:46px;font-size:12px}#main-menu .menu-note{font-size:11px}#main-menu .balance-form,#main-menu .lab-callout{padding:16px}#main-menu .balance-form label{font-size:11px}
 .game-sheet{width:calc(100% - 16px);border-radius:15px}.game-sheet .sheet-frame{height:calc(var(--game-height,100dvh) - 16px);max-height:calc(var(--game-height,100dvh) - 16px)}.game-sheet .sheet-header{padding:16px}.game-sheet .sheet-header h2{font-size:25px}.game-sheet .sheet-header small{font-size:8px}.game-sheet .sheet-scroll{padding:18px 16px}.game-sheet .sheet-actions{padding:13px 16px calc(13px + env(safe-area-inset-bottom,0px));gap:8px}.game-sheet .sheet-actions button{min-height:46px;font-size:11px;padding:10px 8px}.game-sheet .tower-details{grid-template-columns:1fr;gap:20px}.game-sheet .detail-portrait{height:215px;max-width:280px;width:100%;margin:auto;padding-bottom:35px}.game-sheet .detail-portrait>.tower-icon{max-width:200px}.game-sheet .detail-level{font-size:25px;bottom:10px;padding:6px 14px}.game-sheet .detail-level small{font-size:6px}.game-sheet .detail-copy p{font-size:12px}.game-sheet .detail-stat{font-size:11px;padding:12px 0}.game-sheet .detail-stat>strong{font-size:21px}.game-sheet .detail-shards{font-size:11px}.game-sheet .detail-copy>.menu-note{font-size:10px}.stat-table-heading{font-size:8px}.upgrade-sequence .level-after{top:6px}.game-sheet .reward-summary{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}.game-sheet .reward-summary .reward-tile{padding:11px 7px}.game-sheet .reward-summary .reward-tile-art{height:110px}.game-sheet .reward-summary .reward-tile>strong{font-size:16px}.game-sheet .reward-summary .reward-tile>b{font-size:28px}.game-sheet .reward-tile>small{font-size:8px}.reward-new{font-size:6px;padding:5px;letter-spacing:.5px}.game-sheet .reward-reveal>.reward-tile{max-width:90%;width:250px}.game-sheet .more-list small{font-size:11px}
}
@media(max-width:380px){#main-menu .menu-shell{padding-inline:10px}#main-menu .menu-brand{gap:5px;font-size:6px}#main-menu .menu-brand strong{font-size:14px}#main-menu .menu-currencies>span{min-width:60px;padding-inline:6px}#main-menu .menu-currencies b{font-size:13px}#main-menu .menu-currencies small{left:21px;font-size:5px}#main-menu .lobby-cover h1{font-size:36px}.lobby-cover-copy{padding:22px 16px}.lobby-cover-art{opacity:.6}.arsenal-heading h1{font-size:24px}#main-menu .inventory-grid{gap:6px}#main-menu .tower-card-art{height:67px}#main-menu .tower-card>strong{font-size:12px;min-height:30px}#main-menu .tower-card .rarity-label{font-size:6px}#main-menu .tower-card-wrap .tower-card{padding:8px 6px}.card-inline-actions{flex-direction:column}.scope-strip button{padding-inline:7px;font-size:9px}#main-menu .section-actions>span{font-size:8px}.arsenal-heading>span>small{font-size:5px}.lobby-chest>strong{font-size:18px}}
@media(max-height:650px){#main-menu .arsenal-heading{margin-bottom:8px}.arsenal-heading h1{font-size:26px}#main-menu .equipped-section{padding-block:7px}#main-menu .deck-editor{height:87px}#main-menu .deck-slot>strong{font-size:10px}#main-menu .collection-tools{padding-bottom:4px}#main-menu .deck-prompt{min-height:36px;margin-bottom:2px}#main-menu .section-actions{min-height:44px}#main-menu .hero-stage>.hero-orbit{height:125px;width:125px;margin-bottom:8px}#main-menu .hero-stage>.hero-orbit i{width:90px;height:90px}#main-menu .hero-stage>.hero-orbit i:last-child{width:115px;height:115px}#main-menu .hero-stage h2{font-size:29px}#main-menu .hero-stage{padding:12px}.game-sheet .detail-portrait{height:195px}}
@media(max-height:500px) and (max-width:900px) and (orientation:landscape){
 #main-menu .menu-shell{grid-template-rows:48px minmax(0,1fr) 46px;padding-inline:14px}#main-menu .menu-content{padding-block:7px}#main-menu .mobile-menu-nav button{flex-direction:row;font-size:9px}#main-menu .mobile-menu-nav svg{height:19px;width:19px}#main-menu .menu-header{min-height:0}#main-menu .play-mode-tabs{max-width:440px;margin-bottom:8px;padding:3px}.play-mode-tabs button{min-height:36px;font-size:13px;display:flex;gap:8px}.play-mode-tabs small{font-size:6px}.play-mode-tabs button>span{font-size:18px}.lobby-layout{grid-template-columns:minmax(0,1fr) 190px;gap:12px}.lobby-aside{display:flex}.lobby-cover{min-height:245px}.lobby-cover-copy{padding:20px}#main-menu .lobby-cover h1{font-size:36px}.lobby-cover-art{right:0;width:43%;top:5%;opacity:1}#main-menu .lobby-cover p{font-size:10px}.lobby-quote{display:none}#main-menu .season-teaser{flex-direction:row;text-align:left}.lobby-chest .chest-emblem{margin:-5px 0 -15px;transform:scale(.7)}.lobby-chest{padding:14px}.chapter-node{display:flex}.chapter-node strong{min-height:0}.lobby-play>.menu-primary{min-height:42px}
 #main-menu .collection-page{position:relative;padding-left:232px}#main-menu .arsenal-heading{position:absolute;top:0;left:0;width:218px;align-items:start}.arsenal-heading h1{font-size:24px}.arsenal-heading>span{display:none}#main-menu .equipped-section{position:absolute;top:56px;left:0;width:218px;padding:9px}#main-menu .equipped-section .section-caption small{display:none}#main-menu .deck-editor{height:96px;gap:3px}#main-menu .deck-slot>strong{font-size:8px}#main-menu .deck-editor>.deck-slot{padding:4px 2px}#main-menu .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#main-menu .tower-card-art{height:65px}#main-menu .tower-card>strong{font-size:13px}#main-menu .tower-card-wrap .tower-card{padding:8px}.scope-strip button{min-height:32px;font-size:10px}#main-menu .filter-strip{height:33px}#main-menu .filter-strip button{min-height:30px}#main-menu .deck-prompt{font-size:9px;min-height:32px}#main-menu .collection-page>.section-actions{position:absolute;top:192px;left:0;width:218px;display:block}#main-menu .collection-page>.section-actions>span{display:none}#main-menu .collection-page>.section-actions button{width:100%;min-height:36px}
 #main-menu .hero-stage{display:block}#main-menu .hero-stage>.hero-orbit{float:left;margin:8px 20px 10px 0;width:110px;height:155px}#main-menu .hero-skill{padding:10px}#main-menu .hero-skill p{font-size:10px}#main-menu .hero-stage h2{font-size:28px}#main-menu .hero-roster>button{min-width:0;padding:9px}#main-menu .hero-roster strong{font-size:17px}#main-menu .hero-actions>.menu-primary{min-width:0;width:100%;font-size:10px}#main-menu .hero-stats{font-size:9px;gap:10px}
 .game-sheet{width:min(740px,calc(100% - 20px))}.game-sheet .sheet-frame{height:calc(var(--game-height,100dvh) - 20px);max-height:calc(var(--game-height,100dvh) - 20px)}.game-sheet .sheet-header{padding:10px 18px}.game-sheet .sheet-header h2{font-size:23px;margin-top:4px}.game-sheet .sheet-header small{font-size:7px}.game-sheet .sheet-close{min-width:36px;min-height:36px;width:36px;height:36px}.game-sheet .sheet-scroll{padding:14px 18px}.game-sheet .sheet-actions{padding:10px 18px}.game-sheet .sheet-actions button{min-height:40px}.game-sheet .tower-details{grid-template-columns:180px minmax(0,1fr);gap:20px}.game-sheet .detail-portrait{height:200px}.game-sheet .detail-copy p{font-size:11px}.game-sheet .detail-stat{font-size:10px;padding:10px 0}.game-sheet .reward-reveal>.reward-tile{width:320px;display:grid;grid-template-columns:110px 1fr;gap:4px 15px;padding:12px}.game-sheet .reward-reveal .reward-tile-art{grid-row:1/5;height:120px}.game-sheet .reward-reveal .reward-tile>strong{font-size:23px;min-height:0}.game-sheet .reward-reveal .reward-tile>b{font-size:31px}.game-sheet .reward-summary .reward-tile-art{height:75px}.game-sheet .reward-summary .reward-tile>strong{font-size:17px}.game-sheet .reward-summary .reward-tile>b{font-size:25px}.game-sheet .opening-chest{margin:-25px 0 -30px}.game-sheet .chest-opening h3{font-size:22px}.game-sheet .chest-opening>p{margin:0}.reveal-dots{margin-bottom:12px}.game-sheet .reward-reveal>p{font-size:10px;margin-top:10px}
}
@media(prefers-reduced-motion:reduce){#main-menu *,#main-menu *:before,#main-menu *:after,.game-sheet *,.game-sheet *:before,.game-sheet *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.upgrade-sequence .level-before{opacity:0}.upgrade-sequence .level-after{opacity:1}}
#main-menu.calm-ui *,#main-menu.calm-ui *:before,#main-menu.calm-ui *:after,.game-sheet.calm-ui *,.game-sheet.calm-ui *:before,.game-sheet.calm-ui *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.game-sheet.calm-ui .level-before{opacity:0}.game-sheet.calm-ui .level-after{opacity:1}
/* Keep the active collection useful at laptop heights. */
@media(min-width:761px){#main-menu .arsenal-heading{margin-bottom:10px}.arsenal-heading h1{font-size:29px}#main-menu .equipped-section{padding:8px 12px}#main-menu .deck-editor{height:92px}#main-menu .tower-card-art{height:90px}#main-menu .tower-card-wrap .tower-card{padding:10px}#main-menu .deck-prompt{min-height:36px;margin-bottom:4px}}
@media(min-width:761px) and (max-height:850px){.lobby-cover-copy{padding:23px 28px}#main-menu .lobby-cover h1{font-size:46px;margin:12px 0 16px}#main-menu .lobby-cover p{display:none}.lobby-cover-foot{margin-top:18px}.lobby-cover{min-height:280px}.chapter-node{padding:12px}.chapter-node strong{font-size:15px}.lobby-main{gap:12px}}
#main-menu .menu-settings{min-width:44px;width:44px;height:44px;border-radius:50%;border:1px solid #a8b8a42e;background:#16343c;color:#d8ca9f;display:grid;place-items:center;align-self:center}#main-menu .menu-settings>svg{height:21px;width:21px}
.game-sheet .detail-stat>span{min-width:0;flex:1;line-height:1.5}.game-sheet .detail-stat:not(.stat-changing)>strong{white-space:normal;font-size:17px;text-align:right;max-width:65%}
body.menu-open #modal{border:1px solid #cbb27877;border-radius:16px;background:linear-gradient(140deg,#25434b,#112d38);color:#e7dfc8;box-shadow:0 20px 90px #0009}body.menu-open #modal h2{font:30px Georgia;color:#efdbac}body.menu-open #modal .setting-line{border-color:#a6bba72e}body.menu-open #modal .setting-line strong{font-size:14px}body.menu-open #modal .setting-line p{font-size:12px;color:#b6c7bb}body.menu-open #modal .setting-line button,body.menu-open #modal .setting-line select{min-height:44px;border-radius:8px}body.menu-open #modal .modal-close{min-width:44px;min-height:44px}
@media(max-width:760px){#main-menu .menu-currencies{gap:5px}#main-menu .menu-settings{width:36px;min-width:36px;height:36px}#main-menu .menu-settings>svg{width:19px;height:19px}.game-sheet .upgrade-sequence .detail-portrait{height:175px}.game-sheet .upgrade-sequence .detail-copy>p:not(.menu-note){display:none}.game-sheet .upgrade-sequence .detail-copy>.eyebrow{display:block;margin:2px 0 14px}.game-sheet .upgrade-sequence .detail-copy>.menu-note{display:none}}
@media(max-width:380px){#main-menu .menu-currencies>span{min-width:49px;gap:3px}#main-menu .menu-currencies small{font-size:4px;left:17px}#main-menu .menu-settings{width:32px;min-width:32px;height:36px}#main-menu .menu-brand strong{font-size:12px}#main-menu .menu-brand img{width:26px;height:26px}}
@media(max-height:650px) and (max-width:760px){.game-sheet .upgrade-sequence{gap:12px}.game-sheet .upgrade-sequence .detail-portrait{height:110px;padding:0 0 25px}.game-sheet .upgrade-sequence .detail-portrait>.tower-icon{height:90px;margin-top:-10px}.game-sheet .upgrade-sequence .detail-level{font-size:20px;padding:3px 10px;bottom:5px;min-width:95px}.game-sheet .upgrade-sequence .detail-level small{font-size:5px}.game-sheet .upgrade-sequence .level-after{top:3px}.game-sheet .upgrade-sequence .detail-copy>.eyebrow{margin-bottom:8px}.game-sheet .upgrade-sequence .stat-table-heading{padding-bottom:7px}.game-sheet .upgrade-sequence .detail-stat{padding:8px 0}.game-sheet .upgrade-sequence .detail-shards{display:none}.game-sheet .upgrade-sequence .upgrade-status{margin-top:12px;padding:10px}}
.pvp-laboratory{border-radius:18px;background:radial-gradient(ellipse at top,#3a625945,transparent 65%),#142e3a;border-color:#c9b77d66;box-shadow:0 24px 85px #0008}.pvp-laboratory header{padding:22px 24px}.pvp-laboratory header>button{min-width:44px;min-height:44px;border:1px solid #a6b9a839;border-radius:50%}.pvp-laboratory h2{font-size:29px}.pvp-laboratory fieldset{border-radius:11px;padding:16px;border-color:#9fb59e40}.pvp-laboratory label{font-size:12px}.pvp-laboratory input,.pvp-laboratory select{min-height:44px;border-radius:7px}.pvp-laboratory footer button{min-height:44px;font-size:12px;border-radius:8px}.pvp-laboratory .pvp-bot-setup{border-radius:12px;padding:18px}.pvp-laboratory .pvp-bot-setup p{font-size:12px}.pvp-laboratory .pvp-bot-setup .pvp-bot-note{font-size:10px}
@media(max-width:480px){.pvp-laboratory header{padding:15px}.pvp-laboratory h2{font-size:25px}.pvp-laboratory label{font-size:11px}.pvp-laboratory fieldset{padding:12px}.pvp-laboratory footer button{font-size:10px;padding-inline:9px}.pvp-laboratory .pvp-bot-setup{padding:14px}}
@media(min-width:761px) and (min-height:501px){
 #main-menu .arsenal-heading{margin-bottom:8px;align-items:center}.arsenal-heading h1{font-size:26px;margin-top:3px}#main-menu .arsenal-heading .eyebrow{font-size:8px}#main-menu .arsenal-heading>span>b{font-size:22px}
 #main-menu .deck-editor{height:72px;max-width:100%}#main-menu .deck-editor>.deck-slot{grid-template-columns:45px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 16px;padding:8px 10px;gap:0 9px}#main-menu .deck-slot>.tower-icon{grid-row:1/3;grid-column:1;width:45px;height:50px}#main-menu .deck-slot>small{position:absolute;top:4px;left:5px;font-size:6px}#main-menu .deck-slot>strong{grid-row:1;grid-column:2;text-align:left;font-size:13px;justify-self:start}#main-menu .deck-slot>.slot-level{grid-column:2;grid-row:2;justify-self:start}
 #main-menu .deck-prompt{padding:4px 10px;min-height:32px}.deck-prompt-mark{font-size:16px}.collection-tools{padding-top:0;padding-bottom:6px}#main-menu .section-actions{min-height:46px}#main-menu .tower-card-art{height:72px}#main-menu .tower-card-wrap .tower-card{padding:8px}#main-menu .tower-card>strong{font-size:16px;min-height:36px}#main-menu .tower-card-level{margin:4px 0 7px;font-size:10px}#main-menu .shard-count{font-size:9px;margin-top:5px}#main-menu .tower-card .rarity-label{font-size:8px}
}
@media(min-width:761px) and (max-height:850px){#main-menu .arsenal-heading .eyebrow{display:none}#main-menu .equipped-section .section-caption{min-height:16px}#main-menu .section-actions{min-height:42px}}
@media(max-width:380px){.card-inline-actions{flex-direction:row}.card-inline-actions button{font-size:8px;min-height:44px}}
@media(max-width:760px) and (max-height:650px) and (orientation:portrait){
 #main-menu .arsenal-heading .eyebrow{display:none}#main-menu .arsenal-heading h1{font-size:22px;margin:0}#main-menu .arsenal-heading{margin-bottom:7px}#main-menu .arsenal-heading>span>b{font-size:20px}#main-menu .arsenal-heading>span>small{display:none}
 #main-menu .equipped-section{padding:6px;margin-bottom:5px}#main-menu .equipped-section .section-caption{min-height:12px;margin-bottom:4px;font-size:9px}#main-menu .equipped-section .section-caption small{font-size:7px}#main-menu .deck-editor{height:65px}#main-menu .deck-editor>.deck-slot{grid-template-rows:5px minmax(0,1fr) 19px 9px;padding:3px}#main-menu .deck-slot>strong{font-size:8px}#main-menu .deck-slot>small{font-size:5px}.slot-level{font-size:6px}
 #main-menu .deck-prompt:not(.selecting){display:none}#main-menu .deck-prompt.selecting{min-height:32px;font-size:9px;margin-bottom:2px}.scope-strip button{min-height:33px;padding:6px 7px}#main-menu .filter-strip{height:33px}#main-menu .filter-strip button{min-height:30px;padding:6px 8px;font-size:8px}.collection-tools{padding-bottom:4px}#main-menu .section-actions{min-height:42px}#main-menu .tower-card-art{height:66px}
}
/* Calm mode keeps a short fade without any movement. OS reduced-motion stays immediate. */
@media(prefers-reduced-motion:no-preference){#main-menu.calm-ui .card-inline-actions{animation:card-actions-fade .22s ease-out both!important}}
@keyframes card-actions-fade{from{opacity:0}to{opacity:1}}
