/* Supremacy's game shell: one world, with menus layered over it. */
:root{--bg:#174f61;--panel:#123e50;--panel2:#1b5060;--line:#397082;--muted:#aed1d3;--white:#fff7dc;--orange:#ffd15b;--green:#bfe993;--font:'Nunito',sans-serif;--heading:'Lilita One','Barlow Condensed',sans-serif;color-scheme:dark}
body{background:#155b73 url('assets/conquest-world.png') center center/cover fixed no-repeat;font-weight:700;min-height:var(--app-height,100dvh)}body:before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#07344762,transparent 70%),linear-gradient(0deg,#092f44ad,transparent 60%)}button{font-weight:800}button svg{stroke-width:1.8}.sidebar{background:none;border:0;width:90px;padding:0;inset:120px auto 80px 24px;z-index:20}.sidebar .brand,.nav-label,.sidebar-bottom{display:none!important}.nav-item{flex-direction:column;justify-content:center;gap:6px;padding:12px 4px;width:72px;height:71px;background:linear-gradient(#266376,#154458);border:2px solid #70b5c675;border-bottom:5px solid #092e43;border-radius:15px;box-shadow:0 3px 9px #03273661,inset 0 1px 0 #c2f1f466;margin-bottom:14px;color:#d2eeec;font-size:10px;text-shadow:0 1px 1px #002e48}.nav-item:hover{background:linear-gradient(#367f8d,#20576c);transform:translateY(-2px)}.nav-item svg{width:25px;height:25px}.nav-item.active{padding:12px 4px;background:linear-gradient(#ffe6a0,#f6b83c);border:2px solid #fff0b5;border-bottom:5px solid #bd7929;color:#473722;box-shadow:0 3px 15px #0836476b,inset 0 2px 0 #fff8d1;text-shadow:none}.nav-item.active:after{display:none}.nav-item>span{display:block!important}.shell{margin:0}.topbar{height:94px;background:linear-gradient(#0b334473,#09374a00);border:0;padding:17px 34px;position:relative;z-index:21}.breadcrumb{display:none}.topbar .mobile-brand{display:block;position:absolute;left:50%;top:21px;transform:translateX(-50%) rotate(-2deg);font:36px/.9 var(--heading);color:#ffe491;letter-spacing:.8px;text-shadow:0 3px 0 #684d2e,0 5px 0 #184956,2px 0 #6e5936,-2px 0 #6e5936;filter:drop-shadow(0 3px 3px #123e4499);white-space:nowrap}.topbar .mobile-brand:before{content:'★';font-size:32px;color:#ffd271;margin-right:8px;vertical-align:middle}.topbar .mobile-brand span{font:12px var(--heading);display:block;text-align:center;letter-spacing:7px;color:#f3f5cd;margin-top:7px;text-shadow:0 2px #0b3346}.topbar-right{width:100%;justify-content:flex-end;gap:15px}.build-label{position:absolute;left:35px;top:34px;color:#e7f7e8;font-weight:900;letter-spacing:1px;text-shadow:0 1px #00334d;font-size:10px}.balance{padding:9px 12px;background:linear-gradient(#173f50,#0a2d40);border:2px solid #70aebb;border-bottom:4px solid #07263c;border-radius:11px;box-shadow:inset 0 1px #bbe4d333;gap:9px}.balance strong{font:18px var(--heading);color:#fff0bb;text-shadow:0 2px #102f3e}.credit-symbol{background:linear-gradient(#ffe79e,#efb333);border:2px solid #fff3c5;border-bottom-color:#d7901f;color:#875615;width:22px;height:22px;font:14px var(--heading);box-shadow:0 2px 0 #a47625}.balance>span:nth-child(3){color:#c0d6d3;font-size:10px}.balance-add{background:linear-gradient(#b0db62,#77ac43);border:1px solid #d2ed8a;border-bottom:2px solid #496e2c;color:#efffbe;width:23px;height:23px;border-radius:5px;line-height:19px;text-shadow:0 1px #4e7032}.avatar{height:44px;width:44px;border-radius:13px;border:2px solid #b9d3c4;border-bottom:4px solid #073345;background:linear-gradient(#679b96,#376c75);color:#fff3c5;font:22px var(--heading);box-shadow:inset 0 2px #defff54a}.avatar span{border-color:#225269}.footer{display:none}main{padding:22px 50px 45px 137px;max-width:1450px;min-height:calc(var(--app-height,100dvh) - 94px)}body[data-screen=play]{overflow:hidden}body[data-screen=play] main{padding:0;margin:0;max-width:none;height:calc(var(--app-height,100dvh) - 94px);min-height:0}.game-lobby{height:100%;position:relative;padding:32px 44px 26px 139px;display:flex;flex-direction:column;justify-content:space-between}.lobby-intro{margin-top:17px;max-width:450px}.season-ribbon{display:inline-flex;align-items:center;gap:9px;color:#fff0c1;background:#194d5dc4;border:1px solid #a9d1cf70;box-shadow:0 3px 0 #082f443d;border-radius:20px;padding:7px 13px;font-size:9px;letter-spacing:1.7px;font-weight:900;text-shadow:0 1px #1c414d}.season-ribbon span{color:#ffdc79}.lobby-intro h1{font:clamp(46px,5.2vw,78px)/.94 var(--heading);margin:20px 0 14px;color:#fff6d6;text-shadow:0 4px #27616a,0 7px #164b5a,2px 0 #326771,-2px 0 #326771;letter-spacing:0}.lobby-intro h1 em{font-style:normal;color:#ffe282;text-shadow:0 4px #986522,0 7px #194d5a,2px 0 #88672e,-2px 0 #88672e}.lobby-intro>p{max-width:295px;font-size:13px;line-height:1.6;color:#e7f9ed;text-shadow:0 2px 3px #093d53;margin-bottom:16px}.lobby-intro .ghost{color:#fbf1cd;text-shadow:0 2px #164655;font-size:11px;gap:8px;background:#07384c64;padding:8px 12px;border-radius:15px;border:1px solid #88bbbd48}.lobby-intro .ghost svg{color:#ffe097}.lobby-world-label{position:absolute;right:21%;top:39%;transform:rotate(-4deg);display:flex;flex-direction:column;align-items:center;color:white;filter:drop-shadow(0 2px 2px #13434c)}.lobby-world-label strong{font:20px var(--heading);color:#fff0c1;text-shadow:0 2px #795b2b;letter-spacing:1px}.lobby-world-label span{font-size:9px;padding:4px 10px;background:#173e4cb5;border:1px solid #d3e2b75c;border-radius:14px;margin-top:5px}.lobby-side-buttons{position:absolute;right:29px;top:27px;display:flex;flex-direction:column;gap:11px}.round-game-button{width:49px;height:49px;display:flex;align-items:center;justify-content:center;border:2px solid #9ecdd7;border-bottom:5px solid #113b51;border-radius:15px;background:linear-gradient(#397c8c,#1b5369);box-shadow:inset 0 2px #c4efff3d;color:#e9f3d2}.round-game-button:hover{filter:brightness(1.17)}.round-game-button svg{width:24px;height:24px}.lobby-bottom{width:100%;max-width:1075px;align-self:center}.mode-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0 4px}.mode-heading h2{font:21px var(--heading);color:#fff0c7;margin:0;text-shadow:0 3px #173e4c;font-weight:400;letter-spacing:.2px}.mode-heading>span{font-size:10px;color:#d7eae2;text-shadow:0 1px 2px #113c4f}.lobby-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.game-mode-card{position:relative;border:2px solid #94c4bc;border-bottom:6px solid #143e46;border-radius:15px;padding:14px 17px;min-height:154px;box-shadow:0 6px 15px #032c454f,inset 0 2px 0 #e2fff529;background:linear-gradient(125deg,#397065f0,#1b4c5aeF);overflow:hidden;display:grid;grid-template-columns:48px 1fr;column-gap:13px;align-content:start}.game-mode-card:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#c5ffff09 30%,transparent 55%);pointer-events:none}.game-mode-card.paid{background:linear-gradient(120deg,#534e57f5,#263e57f5);border-color:#969baa;border-bottom-color:#162c40}.game-mode-card.teams{background:linear-gradient(120deg,#446370f5,#263f5af5);border-color:#94aabb;border-bottom-color:#163243}.game-mode-card .mode-badge{position:absolute;right:10px;top:10px;font-size:7px;font-weight:900;letter-spacing:.6px;color:#d9e2df;background:#223c47;border:1px solid #90a39e7a;border-radius:5px;padding:2px 6px}.game-mode-card .mode-badge.ready{background:#8dbb4d;color:#213d26;border-color:#c7e893}.mode-emblem{grid-row:span 2;display:flex;align-items:center;justify-content:center;width:49px;height:57px;background:linear-gradient(#dfae55,#a67738);border:2px solid #ffe49c;border-bottom:5px solid #6b5633;border-radius:9px 9px 16px 16px;box-shadow:0 3px 0 #103e4966;transform:rotate(-5deg);color:#fff4c7;text-shadow:0 2px #7b6437;margin-top:12px}.mode-emblem svg{width:28px;height:28px;filter:drop-shadow(0 2px #766443)}.game-mode-card.paid .mode-emblem{background:linear-gradient(#688fac,#456b8a);border-color:#b2cdda;border-bottom-color:#29445f}.game-mode-card.teams .mode-emblem{background:linear-gradient(130deg,#d3746b 50%,#648fc2 50%);border-color:#d6c1b4;border-bottom-color:#694b4e}.game-mode-card h3{font:23px var(--heading);font-weight:400;margin:13px 0 3px;text-shadow:0 2px #1b3e47;letter-spacing:.25px}.game-mode-card p{font-size:9px;font-weight:700;color:#d0e4d8;margin:0;line-height:1.5}.game-card-action{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;margin-top:14px;gap:10px}.game-card-action .entry-label{font-size:7px;color:#b3cebc;margin:0;letter-spacing:1px}.game-card-action .entry-value{font-size:12px;font-weight:900;color:#fff3c1}.game-card-action button{padding:8px 17px;font:15px var(--heading);min-width:134px;gap:9px;border-radius:9px;border:2px solid #fff1b5;border-bottom:4px solid #bc7826;color:#513914;background:linear-gradient(#ffe691,#ffc546);box-shadow:inset 0 2px #fff9c2;display:flex;align-items:center;justify-content:center;text-shadow:0 1px #ffefa2}.game-card-action button:hover{filter:brightness(1.08);transform:translateY(-1px)}.game-card-action button svg{width:16px;height:16px}.game-card-action button.soon{background:linear-gradient(#638a9a,#426574);border:2px solid #98b1b7;border-bottom:4px solid #203e4c;color:#d5e6df;box-shadow:inset 0 1px #abd1cf66;text-shadow:0 2px #365364;font-size:13px}.lobby-fineprint{display:flex;justify-content:center;gap:25px;margin-top:17px;line-height:1;font-size:9px;color:#d3e8da;text-shadow:0 1px #0c3d51}.lobby-fineprint button{padding:0;background:none;color:#e5efd6;font-size:9px;display:flex;gap:6px;align-items:center}.lobby-fineprint button:hover{color:#ffdf82}.lobby-fineprint svg{width:12px;height:12px}.page-heading{margin-bottom:25px;text-shadow:0 2px #134d5a}.page-heading h1{font:35px var(--heading);font-weight:400;letter-spacing:.5px;margin-bottom:4px}.page-heading p{color:#d9eadd;font-size:12px}.small-pill{background:#154052b5;border:1px solid #a4cbc666;color:#dbecc9;border-radius:20px;box-shadow:0 2px 0 #11384870;font-size:8px}.content-panel{border:2px solid #80a8ae;border-bottom:6px solid #082f43;border-radius:15px;background:linear-gradient(140deg,#1d4c5deF,#13364bec);box-shadow:inset 0 2px #bedbca55,0 6px 15px #0834457d;backdrop-filter:blur(12px);padding:24px}.content-panel h2{font:22px var(--heading);letter-spacing:.3px;font-weight:400}.content-panel h3{font-weight:900}.primary{border:2px solid #fff0b1;border-bottom:5px solid #b77a25;box-shadow:inset 0 2px #fff4bc,0 3px 4px #092f3a33;background:linear-gradient(#ffe593,#ffc343);color:#4e381a;border-radius:10px;padding:11px 21px;font:17px var(--heading);font-weight:400;letter-spacing:.2px;text-shadow:0 1px #fff0a0}.primary:hover{background:linear-gradient(#fff0b5,#ffcd5c)}.secondary{border:2px solid #90b9c2;border-bottom:4px solid #173c51;border-radius:9px;background:linear-gradient(#4c7c8d,#2b5c73);box-shadow:inset 0 1px #c2e4e133;color:#eef4d9;text-shadow:0 1px #17425b;font-weight:800}.secondary:hover{background:linear-gradient(#6798a3,#3a6c81)}.ghost{color:#edf0d2}.muted{color:#b6d3d0}.summary-row,.account-row{border-color:#81b5bb33}.callout{border:1px solid #a3c4ab77;background:#7fbda021;color:#d1e9ce;border-radius:9px;font-weight:650;font-size:12px}.callout.orange{background:#ffc86614;border-color:#d6bb715e;color:#ffe4b3}.process-step{gap:13px}.step-num{font:27px var(--heading);width:32px;color:#ffe183;text-shadow:0 2px #754c28}.process-step p{color:#b6d4d0}.process-step h3{font-size:14px}.pill{border-radius:8px;background:#173f5177;color:#d5e8c3;border-color:#a0c1a377}.coming{color:#e5d6ba;border-color:#879ba075}.stats-row .stat-box{background:linear-gradient(#285c6be8,#123c50e8);border:2px solid #7aa5b1;border-bottom:5px solid #0e3047;border-radius:12px;box-shadow:inset 0 2px #9fd0c044}.stat-box strong{font-family:var(--heading);color:#ffe5a0;text-shadow:0 3px #514827}.stat-box span{color:#c0d8cf;font-weight:900}.coin{background:#254f61;border:1px solid #85afad7a;border-bottom:3px solid #0e3041;border-radius:8px;color:#edf2d5;font-weight:900}.coin span{background:linear-gradient(#ecd28c,#bca365);border:1px solid #f8e1a9;color:#785b2b;font-weight:900}.coin.active{background:#796e46;border-color:#ffe196}.large-number{font-family:var(--heading);color:#ffe294;text-shadow:0 3px #3d492f}.empty-state{background:#133b4855;color:#c6ded3;border-color:#9cc9c065}.empty-state>svg{margin:0 auto;width:35px;height:35px;color:#e9d394}.text-button:hover,.info-link{color:#ffe39d}.field label,label{color:#d0e6d5;font-weight:800}input:not([type=range]):not([type=checkbox]),select{border:2px solid #66909d;background:#0d3445;border-radius:9px;color:#ffefc7;box-shadow:inset 0 2px 3px #09233466;font-weight:800}input[type=range]{height:7px;accent-color:#ffd36b}.tiny-tag{background:#102e3f;color:#cbe7df;border:1px solid #7b9e9e70;border-radius:4px;font-weight:900}.check-note{color:#c4dba5}.info-link{color:#f3d798}.divider{background:#7c9e9438}dialog{background:linear-gradient(130deg,#245c6b,#153d53);border:3px solid #a5c5bf;border-bottom:7px solid #0d3043;border-radius:18px;box-shadow:0 0 0 3px #0d3a4e55,0 30px 100px #001a2ebb,inset 0 2px #e0eacd88;max-width:530px}dialog::backdrop{background:#082e40b8;backdrop-filter:blur(7px)}.modal-head{border-bottom:1px solid #91b4a82e;margin-bottom:17px}.modal-head h2{font:26px var(--heading);font-weight:400;color:#fff1c6;text-shadow:0 2px #214550;letter-spacing:.4px}.close-modal{width:30px;height:30px;border-radius:9px;background:linear-gradient(#bb6c60,#924e4f);border:2px solid #e9b698;border-bottom:4px solid #603949;color:#ffe9c2;font-weight:900;line-height:20px}.modal-body p{color:#cde2d8}.modal-map{border-top:2px solid #d6c99c66;border-bottom:3px solid #153d4b}.result-title{font-family:var(--heading);color:#ffe5a0;text-shadow:0 3px #916326;font-size:42px}.result-stats strong{font-family:var(--heading);color:#ffe6a3;text-shadow:0 2px #3f4f39}#toast{left:50%;background:linear-gradient(#3f766f,#205463);border:2px solid #b6d4b9;border-bottom:5px solid #153b4d;color:#f5f5d4;border-radius:12px;font-size:12px;font-weight:800}
/* The playable scene occupies the viewport, with floating HUD and commands. */
body[data-screen=arena]{overflow:hidden;background:#31a4ba}body[data-screen=arena] .topbar,body[data-screen=arena] .sidebar,body[data-screen=arena] .mobile-nav{display:none!important}body[data-screen=arena] main{height:var(--app-height,100dvh);min-height:0;max-width:none;padding:0;margin:0}.arena-header{position:absolute;left:25px;top:17px;right:25px;z-index:10;pointer-events:none;margin:0}.arena-header>*{pointer-events:auto}.arena-header h1{font:26px var(--heading);text-shadow:0 3px #1b6f76}.arena-header h1>span{color:#e7f6d4!important;font-family:var(--font);font-weight:900;font-size:10px!important}.arena-header p{font-size:9px;color:#d4f7e3;text-shadow:0 1px #217280}.arena-header .secondary{padding:7px 12px;font-size:10px}.arena{height:var(--app-height,100dvh);min-height:0;width:100vw;display:block;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 50%,#57c7ce,#269aac 65%,#197e98);position:relative;overflow:hidden}.battlefield{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background-image:radial-gradient(ellipse at 18% 32%,#a3ffff14,transparent 36%),repeating-linear-gradient(170deg,transparent 0 53px,#94e8df10 54px 55px,transparent 56px 80px)}.battlefield>svg{position:absolute;width:calc(100% - 265px);height:calc(100% - 65px);top:58px;left:5px;filter:drop-shadow(0 10px 10px #155a664d)}.game-hud{left:28px;top:96px;background:linear-gradient(#225c66eF,#184958eF);border:2px solid #add4bb;border-bottom:5px solid #184357;box-shadow:inset 0 2px #d4ffe733,0 4px 12px #19718177;border-radius:13px;padding:10px 16px;gap:23px}.game-hud>span{font-size:8px;color:#c6e6d5;font-weight:900;letter-spacing:.8px}.game-hud strong{font:29px var(--heading);color:#ffe39c;text-shadow:0 2px #584d2d;letter-spacing:0}.arena-side{position:absolute;right:23px;top:94px;bottom:24px;width:227px;background:linear-gradient(#245967f5,#123d52f5);border:2px solid #92bcb6;border-bottom:6px solid #143b4e;box-shadow:0 4px 12px #104c6666,inset 0 2px #d6f1d455;border-radius:16px;padding:17px;overflow:auto}.arena-side h3{font:20px var(--heading);color:#fff1bb;text-shadow:0 2px #31534a;font-weight:400;margin-bottom:9px}.army-line{color:#e1ead5;font-size:10px;font-weight:800;padding:7px 0}.army-line strong{color:#fff0b7;font-weight:900}.army-color{height:9px;width:9px;border:1px solid #e9f2d99c;box-shadow:0 2px #0a33486b}.game-bar{height:4px;background:#113743}.game-bar>div{border-top:1px solid #fff3}.target-box{border-top:1px solid #b0cdaf4d;margin-top:14px;padding-top:14px}.target-box h4{font:18px var(--heading);font-weight:400;letter-spacing:.2px}.target-box p{color:#c1d9c7;font-size:10px}.target-box select{font-size:10px;padding:8px}.target-box .field{margin-bottom:10px}.target-box label{font-size:10px}.target-box .primary{font-size:16px;padding:9px!important}.battle-log{color:#c5dfc7;font:700 10px/1.7 var(--font);border-color:#9ab9a133}.map-help{left:28px;bottom:24px;right:282px;width:max-content;max-width:calc(100% - 330px);color:#eef4d0;font-size:10px;background:#1a5267d9;border:1px solid #b5cbbc96;border-bottom:3px solid #154354;box-shadow:0 2px 10px #14607033;border-radius:10px;padding:10px 15px}.arena polygon.region{stroke:#eef3b4;stroke-opacity:.5;stroke-width:1.4}.arena polygon.region:hover{filter:brightness(1.08);stroke:#fff9c4;stroke-width:3}.arena polygon.player-region{stroke:#fff1a0;stroke-opacity:1;stroke-width:2}.arena polygon.selected{stroke:#fffbd4!important;stroke-width:4!important;filter:brightness(1.18)}.territory-decor{pointer-events:none}.reduced-hint{color:#add0ba;font-size:9px}.map-zoom{position:absolute;left:28px;bottom:83px;display:flex;gap:7px}.map-zoom button{width:35px;height:34px;background:linear-gradient(#397884,#225366);border:2px solid #a4c9bf;border-bottom:4px solid #184357;border-radius:9px;color:#f4f7cf;font:22px var(--heading);text-shadow:0 2px #285153}.map-zoom button:last-child{font-size:13px;width:42px}.game-map-dragging{cursor:grabbing!important}.battlefield>svg{touch-action:none;cursor:grab}.battlefield>svg polygon{touch-action:none}.floating-particle{animation:floatUp .6s ease-out forwards;pointer-events:none;font-family:var(--heading);font-size:18px;font-weight:400;fill:#fff5b2;paint-order:stroke;stroke:#497340;stroke-width:2px}@keyframes floatUp{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-23px)}}
@media(min-width:1500px){.game-lobby{padding-top:55px;padding-bottom:33px}.lobby-intro{margin-top:25px}.game-mode-card{min-height:169px;padding:18px 20px}.game-mode-card h3{font-size:27px}.game-mode-card p{font-size:11px}.game-card-action button{padding:10px 20px;font-size:17px}.lobby-modes{gap:20px}.lobby-fineprint{margin-top:22px}.lobby-world-label{top:41%;right:21%}}
@media(max-width:1150px){.sidebar{left:17px;width:72px}.topbar{padding:17px 26px}.build-label{left:25px;font-size:9px}.game-lobby{padding:17px 29px 23px 109px}.lobby-intro{margin-top:15px}.lobby-intro h1{font-size:62px}.lobby-intro>p{font-size:12px}.game-mode-card{padding:12px;column-gap:10px;grid-template-columns:41px 1fr}.mode-emblem{width:42px;height:51px}.game-mode-card h3{font-size:21px;margin-top:16px}.game-mode-card p{font-size:8px}.game-card-action button{min-width:110px;font-size:14px;padding:8px 13px}.game-card-action button.soon{font-size:12px}.game-card-action .entry-value{font-size:11px}.lobby-fineprint{gap:18px;font-size:8px}.lobby-fineprint button{font-size:8px}.lobby-world-label{right:19%;top:35%}main{padding-left:110px;padding-right:25px}.sidebar #nav{margin-top:0}.nav-item{margin-top:0}}
@media(max-width:900px){.lobby-intro h1{font-size:53px}.lobby-intro{max-width:345px}.lobby-intro>p{max-width:245px;font-size:11px}.game-mode-card{grid-template-columns:34px 1fr;gap:5px;padding:10px}.mode-emblem{width:34px;height:45px}.mode-emblem svg{width:22px}.game-mode-card h3{font-size:19px;margin-top:20px}.game-mode-card p{font-size:8px}.game-card-action{margin-top:10px;gap:4px;flex-wrap:wrap}.game-card-action button{width:100%;min-width:0;margin-top:4px}.game-card-action>div{display:flex;gap:7px;align-items:center}.game-card-action .entry-label{font-size:7px}.game-card-action .entry-value{font-size:9px}.mode-heading h2{font-size:18px}.mode-heading>span{font-size:8px}.lobby-fineprint{gap:12px}.lobby-fineprint>span{display:none}.topbar .mobile-brand{font-size:29px;top:23px}.topbar .mobile-brand:before{font-size:25px}.topbar .mobile-brand span{font-size:10px;letter-spacing:5px}.balance>span:nth-child(3){display:none}.balance{gap:7px;padding:8px}.build-label{font-size:8px}.topbar-right{gap:10px}.lobby-side-buttons{right:20px}.round-game-button{width:41px;height:42px;border-radius:12px}.round-game-button svg{width:21px}.arena-side{right:16px;width:202px;padding:13px}.battlefield>svg{width:calc(100% - 220px)}.game-hud{left:20px;gap:16px;padding:8px 13px}.map-help{left:20px;max-width:calc(100% - 260px);font-size:9px}.map-zoom{left:20px}.arena-header{left:20px;right:20px}}
@media(max-width:680px){body{background-position:58% center;background-size:auto var(--app-height,100dvh)}body:before{background:linear-gradient(0deg,#092f45dc 0%,#113f5122 50%,#0a375434 100%)}.sidebar{display:none}.topbar{height:77px;padding:10px 13px}.topbar .mobile-brand{left:15px;top:15px;transform:rotate(-2deg);font-size:25px;letter-spacing:.2px}.topbar .mobile-brand:before{display:none}.topbar .mobile-brand span{font-size:8px;letter-spacing:4px;margin-top:5px}.balance{padding:7px;gap:5px;border-radius:9px}.balance strong{font-size:17px}.credit-symbol{width:19px;height:19px;font-size:11px}.balance-add{width:20px;height:20px;font-size:14px;line-height:17px}.topbar-right{gap:9px}.avatar{width:35px;height:37px;border-radius:11px;font-size:18px}.mobile-nav{display:flex;left:12px;right:12px;bottom:calc(9px + var(--app-safe-bottom, env(safe-area-inset-bottom)));padding:4px 6px;background:linear-gradient(#2a6777ed,#17465cee);border:2px solid #93bfbba6;border-bottom:5px solid #14364c;box-shadow:inset 0 2px #d3f0d736,0 5px 15px #073d5077;border-radius:16px;backdrop-filter:blur(10px);gap:3px;z-index:24}.mobile-nav button{padding:5px 11px;border-radius:9px;font-size:7px;color:#d2eadd;gap:2px;font-weight:900;min-width:47px}.mobile-nav button.active{background:linear-gradient(#ffe5a0,#ffc14b);border:1px solid #fff4b8;border-bottom:3px solid #ab7431;color:#5b4321;padding:3px 10px}.mobile-nav svg{width:20px;height:20px}main{padding:12px 14px 100px;min-height:calc(var(--app-height,100dvh) - 77px)}body[data-screen=play] main{height:calc(var(--app-height,100dvh) - 77px);padding:0}.game-lobby{padding:7px 15px calc(92px + var(--app-safe-bottom, env(safe-area-inset-bottom)));min-height:0}.lobby-intro{max-width:100%;margin-top:0}.season-ribbon{font-size:7px;padding:5px 9px;letter-spacing:1.2px;gap:5px}.lobby-intro h1{font-size:clamp(40px,10.5vw,51px);line-height:.97;margin:14px 0 9px;max-width:300px;text-shadow:0 3px #27616a,0 5px #164b5a,1px 0 #326771,-1px 0 #326771}.lobby-intro h1 em{text-shadow:0 3px #956528,0 5px #194d5a,1px 0 #88672e,-1px 0 #88672e}.lobby-intro>p{max-width:213px;font-size:10px;line-height:1.6;margin-bottom:9px}.lobby-intro .ghost{font-size:8px;padding:5px 9px;border-radius:11px}.lobby-intro .ghost svg{width:12px;height:12px}.lobby-world-label{display:none}.lobby-side-buttons{right:14px;top:5px;gap:9px}.round-game-button{width:36px;height:38px;border-radius:11px;border-bottom-width:4px}.round-game-button svg{width:18px;height:18px}.lobby-bottom{margin-top:15px}.mode-heading{margin-bottom:8px}.mode-heading h2{font-size:17px}.mode-heading>span{font-size:7px}.lobby-modes{grid-template-columns:1fr 1fr;gap:9px}.game-mode-card{min-height:0;border-radius:11px;border-bottom-width:4px;padding:9px 10px;grid-template-columns:30px 1fr;column-gap:8px}.game-mode-card.featured-mode{grid-column:1/-1;grid-template-columns:42px 1fr 112px;padding:12px 13px;column-gap:10px;align-items:center}.game-mode-card.featured-mode .mode-emblem{width:41px;height:49px;grid-row:1/3;margin:0}.game-mode-card.featured-mode h3{margin:0;font-size:24px}.game-mode-card.featured-mode p{font-size:8px;grid-column:2;grid-row:2}.game-mode-card.featured-mode .mode-badge{right:auto;left:65px;top:-9px;font-size:6px;padding:2px 5px;border-radius:4px}.game-mode-card.featured-mode{overflow:visible}.game-mode-card.featured-mode .game-card-action{grid-column:3;grid-row:1/3;margin:0}.game-mode-card.featured-mode .game-card-action>div{display:none}.game-mode-card.featured-mode .game-card-action button{min-width:110px;padding:11px 8px;font-size:20px;margin:0;border-bottom-width:4px;gap:7px}.game-mode-card.featured-mode .game-card-action button svg{width:14px}.game-mode-card:not(.featured-mode) .mode-emblem{width:29px;height:35px;margin-top:12px;border-radius:6px 6px 10px 10px;border-width:1px;border-bottom-width:3px;grid-row:1/3}.game-mode-card:not(.featured-mode) .mode-emblem svg{width:19px}.game-mode-card:not(.featured-mode) h3{font-size:17px;margin-top:13px;line-height:1.1;margin-bottom:3px}.game-mode-card:not(.featured-mode) p{font-size:6px;line-height:1.4;grid-column:2}.game-mode-card:not(.featured-mode) .mode-badge{font-size:5px;top:5px;right:6px;padding:1px 4px}.game-mode-card:not(.featured-mode) .game-card-action{margin-top:8px}.game-card-action button.soon{font-size:10px;padding:5px 8px;border-width:1px;border-bottom-width:3px;border-radius:6px;margin-top:0}.game-card-action button.soon svg{width:11px;height:11px}.game-card-action .entry-value{font-size:8px}.game-card-action .entry-label{font-size:5px}.game-mode-card:not(.featured-mode) .game-card-action>div{display:none}.lobby-fineprint{gap:13px;flex-wrap:wrap;margin-top:10px}.lobby-fineprint button{font-size:7px;gap:4px}.lobby-fineprint svg{width:10px;height:10px}.page-heading h1{font-size:29px}.page-heading p{font-size:10px;max-width:230px}.page-heading{margin-bottom:20px}.small-pill{font-size:6px;padding:5px 8px;letter-spacing:.3px}.content-panel{padding:19px;border-radius:13px}.content-panel h2{font-size:22px}.content-panel h3{font-size:12px}.callout{font-size:11px}.summary-row{font-size:11px;gap:15px}.large-number{font-size:48px}.wallet-actions .primary{font-size:16px;gap:12px;padding:10px 17px}.coin{padding:8px;font-size:10px}.account-row p{font-size:9px}.account-row>span{font-size:10px}.account-row>.pill{font-size:7px}.mode-select{width:108px}.mode-select select{font-size:10px;padding:10px 7px}.stats-row .stat-box{padding:12px 10px}.stat-box strong{font-size:27px}.stat-box span{font-size:7px}.content-panel .section-heading{gap:10px}.content-panel .section-heading .pill{font-size:7px}.modal-head h2{font-size:24px}.modal-body p{font-size:11px}.modal-head{padding:17px 17px 13px}.modal-body{padding:0 18px 20px}.primary{font-size:17px}.secondary{font-size:11px}.admin-note{font-size:10px}.result-title{font-size:37px}#toast{bottom:91px;font-size:11px}.arena-header{left:12px;right:12px;top:calc(12px + var(--app-safe-top, env(safe-area-inset-top)));align-items:flex-start}.arena-header h1{font-size:24px;margin-bottom:3px}.arena-header h1>span{display:none}.arena-header p{font-size:7px;max-width:230px}.arena-header .secondary{padding:6px 8px;font-size:8px;border-radius:8px;gap:4px;border-bottom-width:3px}.arena-header .secondary svg{width:12px;height:12px}.arena-header>div:last-child{gap:5px!important}.battlefield>svg{top:116px;left:0;width:100%;height:calc(100% - 278px);filter:drop-shadow(0 5px 4px #1464774d)}.game-hud{top:65px;left:12px;right:12px;justify-content:space-between;padding:7px 16px;border-radius:12px;border-bottom-width:4px;gap:12px}.game-hud strong{font-size:24px}.game-hud>span{font-size:7px}.arena-side{left:11px;right:11px;bottom:calc(10px + var(--app-safe-bottom, env(safe-area-inset-bottom)));top:auto;width:auto;padding:10px 13px;border-radius:14px;border-bottom-width:5px;overflow:visible;display:grid;grid-template-columns:1fr}.arena-side h3,.arena-side .standings{display:none}.target-box{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr 124px;gap:0 13px}.target-box h4{display:none}.target-box .field{margin:0;grid-column:1;grid-row:1}.target-box .field label{display:none}.target-box select{padding:6px 8px;font-size:10px;border-radius:7px;height:31px}.target-box p#target-info{font-size:8px;margin:4px 0 5px;grid-row:2;grid-column:1;line-height:1.4;min-height:21px}.target-box>label{font-size:9px;grid-column:1;grid-row:3;margin:0 0 4px}.target-box>input{grid-column:1;grid-row:4;margin:3px 0 7px}.target-box .primary{grid-column:2;grid-row:1/5;align-self:center;height:63px;font-size:18px;border-radius:11px;line-height:1.1;gap:5px;padding:7px!important;margin:0!important;flex-direction:column}.target-box .primary svg{width:19px;height:19px}.target-box .reduced-hint{display:none}.battle-log{grid-column:1/-1;border-top:1px solid #8cab994a;padding-top:5px;margin-top:3px;font-size:8px;min-height:17px;line-height:1.4}.map-help{left:50%;bottom:174px;transform:translateX(-50%);max-width:calc(100% - 30px);font-size:7px;padding:5px 9px;border-radius:7px;text-align:center;right:auto;line-height:1.3}.map-zoom{left:auto;right:12px;bottom:207px;gap:5px}.map-zoom button{width:29px;height:29px;font-size:20px;border-radius:7px}.map-zoom button:last-child{font-size:11px;width:35px}.arena polygon.region{stroke-width:1.8}.arena polygon.player-region{stroke-width:2.5}}
@media(max-width:680px) and (max-height:720px){.lobby-intro h1{font-size:38px;margin-top:9px}.lobby-intro>p{font-size:9px;max-width:205px;margin-bottom:6px}.lobby-intro .ghost{font-size:7px}.game-lobby{padding-top:0;padding-bottom:84px}.lobby-bottom{margin-top:6px}.game-mode-card.featured-mode{padding:9px 12px}.game-mode-card.featured-mode h3{font-size:21px}.game-mode-card.featured-mode .game-card-action button{padding:9px 8px;font-size:17px}.game-mode-card:not(.featured-mode) h3{font-size:15px}.game-mode-card:not(.featured-mode){padding:7px 9px}.lobby-fineprint{margin-top:7px}.mode-heading{margin-bottom:7px}.mode-heading h2{font-size:15px}.game-mode-card:not(.featured-mode) .mode-emblem{height:29px;width:26px}.game-mode-card:not(.featured-mode) p{display:none}.game-card-action button.soon{padding:4px}.lobby-modes{gap:8px}.season-ribbon{font-size:6px}}
@media(max-height:650px) and (min-width:681px){.topbar{height:77px}.topbar .mobile-brand{top:16px}.game-lobby{padding-top:0;padding-bottom:17px}.lobby-intro{margin-top:5px}.lobby-intro h1{font-size:48px;margin-top:12px;margin-bottom:9px}.lobby-intro>p{font-size:10px;line-height:1.6;margin-bottom:8px}.lobby-intro .ghost{font-size:9px;padding:6px 9px}.season-ribbon{font-size:8px;padding:5px 10px}.game-mode-card{min-height:137px}.game-mode-card h3{font-size:20px}.lobby-fineprint{margin-top:11px}.mode-heading h2{font-size:18px}body[data-screen=play] main{height:calc(var(--app-height,100dvh) - 77px)}.lobby-world-label{top:34%}.arena-side{top:76px;bottom:15px}.arena-side h3{font-size:17px}.army-line{padding:4px 0;font-size:9px}.target-box{margin-top:10px;padding-top:10px}.battle-log{margin-top:10px;font-size:9px}.game-hud{top:77px}}
.modal-map{background:#286d75 url('assets/conquest-world.png') center 40%/cover}.modal-map svg{display:none}
/* Keep interface text and panels crisp; no frosted-glass compositing. */
.content-panel,.mobile-nav{backdrop-filter:none;-webkit-backdrop-filter:none}.content-panel{background:linear-gradient(140deg,#1d4c5d,#13364b)}dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;background:#082e40d9}.topbar .mobile-brand{filter:none;text-shadow:0 2px #684d2e,0 4px #184956}.topbar .mobile-brand span{text-shadow:0 1px #0b3346}.lobby-world-label{filter:none}.lobby-intro h1{text-shadow:0 3px #164b5a,1px 0 #326771,-1px 0 #326771}.lobby-intro h1 em{text-shadow:0 3px #986522,1px 0 #88672e,-1px 0 #88672e}.content-panel p{font-size:12px;font-weight:600}.content-panel h3{font-size:14px}.account-row>svg{width:22px;height:22px;flex-shrink:0;color:#f1d99c}.summary-row{font-size:13px}.modal-body p{font-weight:600}.mode-heading,.game-mode-card h3,.page-heading{filter:none}.page-heading h1{text-shadow:0 2px #134d5a}.game-mode-card h3{text-shadow:0 1px #1b3e47}
@media(max-width:680px){.round-game-button{width:42px;height:43px}.map-zoom button{width:36px;height:36px}.map-zoom button:last-child{width:39px}.game-mode-card:not(.featured-mode) .mode-badge{font-size:7px;top:4px}.game-mode-card:not(.featured-mode) h3{margin-top:17px}.game-mode-card:not(.featured-mode) p{font-size:8px}.game-card-action button.soon{font-size:12px;padding:6px 8px}.game-mode-card:not(.featured-mode) .game-card-action{margin-top:7px}.mode-heading>span{font-size:8px}.lobby-fineprint button{font-size:8px}.lobby-intro .ghost{font-size:10px}.arena-header .secondary{min-height:32px}.target-box select{min-height:35px}.target-box>label{font-size:10px}}
@media(prefers-reduced-motion:reduce){.floating-particle{animation:none;display:none}}
