:root{color:#f6f1e7;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--safe-top:0px;--safe-bottom:0px;--cyan:#31e5d5;--amber:#e8a84e;--muted:#a8b6b9;background:#030b10;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;height:100%;min-height:100%;margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:2px;outline:2px solid #9bfff4}button:active{filter:brightness(1.22);transform:scale(.965)}.stage{background:radial-gradient(circle at 50% 20%,#123342 0,#02090e 68%);justify-content:center;align-items:center;min-height:100dvh;display:flex;overflow:hidden}.app-shell{isolation:isolate;width:min(100%,500px);height:var(--app-height,100dvh);color:#f7f0e4;background:#07131a url(/assets/v046c8fdf376500d7/background.webp) 50%/cover no-repeat;flex-direction:column;min-height:320px;max-height:970px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 70px #000b}.app-shell:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#02090d24,#030c1166 45%,#030a0fb8);position:absolute;inset:0}.topbar{padding:calc(7px + var(--safe-top)) 11px 8px;background:linear-gradient(#030b10e0,#030b108c);border-bottom:1px solid #7ceee329;flex:none}.brand{text-align:center;letter-spacing:.09em;text-shadow:0 1px 15px #000;margin:0 0 9px;font-size:clamp(20px,5.6vw,29px);font-weight:700;line-height:1.2}.resource-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.resource-pill{color:#fff8e9;background:linear-gradient(145deg,#182e3878,#071017dd);border:1px solid #87bfc666;border-radius:15px;justify-content:center;align-items:center;gap:4px;min-width:0;height:49px;padding:2px 5px;display:flex;box-shadow:inset 0 1px #d5ffff1b,0 0 12px #1be6de10}.resource-pill svg{filter:drop-shadow(0 0 5px #13d6ca77);flex:none;width:35px;height:35px}.resource-pill strong{white-space:nowrap;letter-spacing:.025em;font-size:clamp(14px,4.2vw,20px);font-weight:700}.content{overscroll-behavior:contain;scrollbar-width:none;flex:1;min-height:0;overflow-y:auto}.content::-webkit-scrollbar{display:none}.screen{padding:12px 12px 22px;animation:.23s ease-out screen-appear}.screen h1{text-align:center;margin:4px 0 3px;font-size:clamp(27px,7.5vw,39px);font-weight:750;line-height:1.1}.screen-subtitle{text-align:center;color:#b8c3c4;margin:0 0 17px;font-size:15px}.world-summary{background:linear-gradient(110deg,#273d45c9,#0a1820dc);border:1px solid #b0e0e367;border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;min-height:63px;padding:6px 2px;display:grid;box-shadow:inset 0 1px #ecffff36,0 6px 22px #0008}.world-summary>div{justify-content:center;align-items:center;gap:6px;min-width:0;display:flex}.world-summary>div+div{border-left:1px solid #d1d5d568}.world-summary span:not(.world-symbol){min-width:0}.world-summary small{white-space:nowrap;font-size:clamp(9px,2.7vw,13px);display:block}.world-summary strong{white-space:nowrap;letter-spacing:.01em;font-size:clamp(15px,4.4vw,22px);display:block}.world-symbol{color:#e2c68e;text-shadow:0 0 10px #f8c96780;font-size:27px;line-height:1}.globe-symbol,.people-symbol{color:#b8d4d6}.hero-panel{min-height:258px;margin-top:7px;position:relative;overflow:hidden}.hero-panel:before{content:"";pointer-events:none;background:radial-gradient(at 29% 51%,#1fbab62c,#0000 47%);position:absolute;inset:0}.hero-art{filter:drop-shadow(0 0 16px #15dfcf76);justify-content:center;align-items:center;width:59%;height:207px;display:flex;position:absolute;top:-9px;left:-24px}.hero-art img{object-fit:contain;width:122%;height:118%;animation:6s ease-in-out infinite king-breathe}.hero-stat{text-align:center;text-shadow:0 2px 10px #000;flex-direction:column;align-items:center;width:48%;display:flex;position:absolute;top:51px;right:2px}.hero-stat strong{letter-spacing:-.04em;white-space:nowrap;font-size:clamp(43px,13vw,68px);font-weight:500;line-height:1}.hero-stat small{color:#5dfff0;white-space:nowrap;background:#0e373cbb;border:1px solid #6ce7de66;border-radius:16px;margin-top:8px;padding:3px 12px;font-size:clamp(12px,3.4vw,17px);font-weight:600}.hero-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid;position:absolute;bottom:8px;left:0;right:0}.game-button{color:#fbf4e9;white-space:nowrap;border-radius:15px;justify-content:center;align-items:center;gap:7px;min-height:45px;padding:7px 9px;font-size:clamp(13px,3.5vw,18px);font-weight:650;transition:transform .16s,box-shadow .16s,filter .16s;display:flex;box-shadow:inset 0 1px #ffffff59,0 3px 11px #0008}.game-button svg{flex:none;width:27px;height:27px}.game-button.amber{background:linear-gradient(#91571d9c,#2b231aa9);border:1px solid #f5b75a;box-shadow:inset 0 1px #ffe3a8b0,0 0 15px #f0a7444d}.game-button.turquoise{background:linear-gradient(#178f89bb,#0b3237cd);border:1px solid #56f4e3;box-shadow:inset 0 1px #dffff8a6,0 0 15px #20e9da48}.game-button.neutral{background:linear-gradient(#22343ccb,#0a171ecb);border:1px solid #8ca5ab99}.game-button:hover{box-shadow:inset 0 1px #fff9,0 0 22px}.unit-list{gap:9px;display:grid}.unit-row{color:#f7f0e5;background:linear-gradient(110deg,#283d47a9,#08151dbd);border:1px solid #a4d3d566;border-radius:15px;align-items:center;width:100%;height:72px;padding:0 12px 0 3px;transition:transform .16s,box-shadow .16s;display:flex;box-shadow:inset 0 1px #d6ffff27}.unit-row:hover{box-shadow:inset 0 1px #d6ffff60,0 0 12px #1be6db35}.unit-row img{object-fit:contain;object-position:center;filter:drop-shadow(0 0 6px #1ed6d47a);width:33%;height:69px}.unit-row span{text-align:left;border-left:1px solid #b5dade6e;flex:1;padding-left:12px;font-size:clamp(16px,4.6vw,22px);font-weight:650}.unit-row strong{white-space:nowrap;font-size:clamp(17px,4.7vw,22px);font-weight:700}.unit-row b{color:#c4d4d5;margin-left:9px;font-size:30px;font-weight:300}.matter-panel{background:linear-gradient(110deg,#253d46c5,#08151bcf);border:1px solid #a4d3d566;border-radius:16px;grid-template-columns:31% 35% 34%;align-items:center;min-height:106px;margin-top:10px;display:grid;overflow:hidden;box-shadow:inset 0 1px #d8ffff2e}.matter-panel>img{object-fit:contain;filter:drop-shadow(0 0 9px #20d7d377);width:115%;height:105px;transform:translate(-8%)}.matter-amount{border-left:1px solid #b1dade65;padding-left:10px}.matter-amount span{font-size:clamp(15px,4.4vw,21px);font-weight:650;display:block}.matter-amount strong{font-size:clamp(30px,8vw,45px);font-weight:550;line-height:1.1;display:block}.matter-actions{gap:7px;padding:7px;display:grid}.matter-actions .game-button{border-radius:12px;min-height:41px;font-size:clamp(12px,3.4vw,17px)}.season-strip{white-space:nowrap;background:linear-gradient(90deg,#0000,#1a39426c,#0000);border-top:1px solid #79e6dd40;border-bottom:1px solid #79e6dd40;flex:none;justify-content:center;align-items:center;gap:8px;min-height:35px;margin:0 8px 5px;font-size:clamp(13px,3.7vw,17px);display:flex}.season-strip strong{font-weight:650}.bottom-nav{min-height:74px;padding:5px 5px calc(5px + var(--safe-bottom));background:linear-gradient(#0b2029ea,#040d12f8);border-top:1px solid #5eb7b968;border-radius:20px 20px 0 0;flex:none;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;display:grid;box-shadow:0 -5px 21px #0009}.bottom-nav button{color:#e0e4df;background:0 0;border:1px solid #0000;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;padding:3px 1px;transition:transform .16s,background .16s,box-shadow .16s;display:flex}.bottom-nav button svg{filter:drop-shadow(0 0 4px #aed3cf45);width:clamp(25px,7vw,35px);height:clamp(25px,7vw,35px)}.bottom-nav button span{white-space:nowrap;font-size:clamp(10px,2.65vw,14px);font-weight:600}.bottom-nav button.active{color:#88fff0;background:linear-gradient(#1b6668a9,#0b252dc9);border-color:#4feee0b9;box-shadow:inset 0 1px #d4fff794,0 0 12px #1de6d85a}.bottom-nav button.active span{color:#fff9e9}.artifact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.artifact-card{background:linear-gradient(140deg,#1a3039dd,#07131be8);border:1px solid #9ccdd374;border-radius:17px;flex-direction:column;align-items:flex-start;min-width:0;min-height:234px;padding:9px 9px 8px;display:flex;position:relative;box-shadow:inset 0 1px #e2ffff31}.artifact-card.owned{border-color:#51e8dab9;box-shadow:inset 0 1px #aafff653,0 0 15px #0cd1c13b}.artifact-card img{object-fit:contain;filter:drop-shadow(0 0 9px #37e9d634);width:100%;height:95px}.artifact-card h2{min-height:31px;margin:3px 0 4px;font-size:clamp(14px,4vw,19px);line-height:1.08}.artifact-card p{color:#d3dbd9;min-height:27px;margin:0 0 6px;font-size:clamp(11px,3vw,14px);line-height:1.2}.artifact-price,.artifact-protection{background:#3c2a14b0;border:1px solid #c99851aa;border-radius:12px;align-items:center;gap:4px;margin:auto 0 7px;padding:2px 8px;font-size:13px;font-weight:700;display:flex}.artifact-price svg{width:20px;height:20px}.artifact-protection{background:#0b4248a9;border-color:#4ee2d4aa;font-size:11px}.artifact-action{color:#f8efe5;background:linear-gradient(#785124,#28251e);border:1px solid #dba85b;border-radius:11px;width:100%;height:35px;font-size:15px}.artifact-action.details{background:linear-gradient(#1f6667,#0d262d);border-color:#47d5ce}.owned-tag{background:#14766f;border:1px solid #5bfff2;border-radius:8px;padding:2px 6px;font-size:12px;font-weight:700;position:absolute;top:7px;right:7px}.world-screen h1,.wallet-screen h1,.top-screen h1{text-align:left;margin:7px 0 13px}.parameter-card{background:#0b1c24d9;border:1px solid #9acdd06c;border-radius:16px;min-height:101px;margin-bottom:10px;padding:12px 10px 15px;position:relative}.parameter-card>div:first-child{align-items:center;gap:8px;display:flex}.parameter-icon{font-size:33px;line-height:1}.parameter-icon.cyan{color:#5effeb}.parameter-icon.gold{color:#f4b75a}.parameter-card strong{font-size:18px;display:block}.parameter-card b{font-size:24px;display:block}.parameter-control{gap:6px;display:flex;position:absolute;top:16px;right:9px}.parameter-control button{color:#fff;background:#22333c;border:1px solid #90b9bd;border-radius:9px;width:38px;height:38px;font-size:26px;line-height:1}.parameter-control button:last-child{background:#4f361a;border-color:#e3ac57}.parameter-track{background:#22414a;border-radius:5px;height:4px;margin:9px 3px 0}.parameter-track i{background:#39e8d7;border-radius:5px;height:100%;display:block;box-shadow:0 0 8px #32e7da}.parameter-track.gold i{background:#eab05f;box-shadow:0 0 8px #eba94d}.world-locations{grid-template-columns:1fr 1fr;gap:9px;display:grid}.world-locations article{background:linear-gradient(150deg,#12343dbc,#09171de3);border:1px solid #8dc9cc83;border-radius:16px;grid-template-columns:1fr 1fr;align-content:start;gap:3px;min-height:143px;padding:10px;display:grid}.world-locations h2{grid-column:1/-1;margin:0;font-size:19px}.world-locations .location-art{color:#5ff4ea;text-shadow:0 0 13px #36e9df;grid-column:1/-1;min-height:43px;font-size:32px;display:block}.world-locations .altar-art{color:#f1b562}.world-locations strong{align-self:end;font-size:16px}.world-locations button{color:#fff;background:#136c6a;border:1px solid #5deadd;border-radius:9px;align-self:end;min-height:30px;font-size:13px;font-weight:650}.world-locations article:last-child button{background:#745025;border-color:#e4aa5b}.boosts h2,.operations h2{margin:19px 0 7px;font-size:23px}.boost-row{border-bottom:1px solid #99d7d63f;align-items:center;gap:8px;min-height:63px;display:flex}.boost-icon{text-align:center;color:#5af2e6;width:38px;font-size:26px}.boost-row>span:nth-child(2){flex:1;min-width:0}.boost-row strong{font-size:14px;display:block}.boost-row small{color:#b6c6c5;font-size:10px;display:block}.boost-row button{color:#fff0d9;background:#513819;border:1px solid #d7a251;border-radius:9px;padding:6px;font-size:11px}.wallet-card{background:linear-gradient(130deg,#3b291dd4,#111c22e2);border:1px solid #dfac62b0;border-radius:20px;align-items:center;gap:15px;min-height:140px;margin-bottom:14px;padding:18px 16px;display:flex;position:relative}.wallet-card>svg{flex:none;width:65px;height:65px}.wallet-card>div>span{font-size:19px;font-weight:650}.wallet-card>div>strong{font-size:45px;font-weight:600;line-height:1.1;display:block}.wallet-card>div>small{color:#bbc7c6;font-size:12px;display:block}.wallet-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid;position:absolute;bottom:11px;left:14px;right:14px}.wallet-card.primary-wallet{min-height:185px;padding-bottom:65px}.wallet-actions .game-button{min-height:38px}.secondary-wallet{background:linear-gradient(130deg,#123b44d9,#0b1922e2);border-color:#4ecbc6aa}.secondary-wallet>div>strong{font-size:38px}.exchange-card{background:#0c1d25dc;border:1px solid #81bec27a;border-radius:17px;margin-bottom:12px;padding:12px}.exchange-card>div:first-child{grid-template-columns:1fr 1fr;gap:8px;display:grid}.exchange-card input{accent-color:#eeb45d;width:100%;margin-top:20px}.exchange-values{justify-content:space-between;display:flex}.operations{background:#0b1b24db;border:1px solid #84b5b973;border-radius:17px;padding:0 12px 10px}.operations h2{margin:12px 0}.operations>div{border-top:1px solid #81b9bb49;justify-content:space-between;padding:10px 0;font-size:14px;display:flex}.operations strong{color:#e7b771}.prize-timer{text-align:center;background:#432e1a99;border:1px solid #edb868;border-radius:15px;padding:12px;font-size:14px}.prize-timer strong{color:#ffd17d;white-space:nowrap;font-size:18px}.leader-list{gap:9px;margin:0;padding:0;list-style:none;display:grid}.leader-list li{background:#0d2029db;border:1px solid #91bcc27d;border-radius:16px;overflow:hidden}.leader-list li.selected{background:#0c3a3cde;border-color:#4af0df;box-shadow:0 0 15px #1ee4d344}.leader-main{color:#f5eee5;text-align:left;background:0 0;border:0;align-items:center;gap:8px;width:100%;min-height:70px;padding:6px;display:flex}.leader-rank{color:#edb867;flex:none;width:31px;font-size:18px;font-weight:750}.leader-avatar{color:#88eee5;background:#0b3a40;border:1px solid #52dad3;border-radius:50%;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.leader-avatar svg{width:28px;height:28px}.leader-main strong{text-overflow:ellipsis;flex:1;min-width:0;font-size:17px;overflow:hidden}.leader-main b{white-space:nowrap;font-size:16px}.leader-arrow{color:#80e6db;font-size:18px}.leader-expanded p{text-align:center;color:#d1e3df;margin:0 0 9px;font-size:13px}.leader-expanded>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.leader-expanded .game-button{min-height:38px;font-size:13px}.search-player{background:#0b1b23db;border:1px solid #96b7ba88;border-radius:15px;align-items:center;gap:10px;min-height:48px;margin-top:15px;padding:0 14px;display:flex}.search-player span{font-size:25px}.search-player input{color:#fff;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:16px}.back-button{color:#f7eee2;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:20px;font-weight:700;display:flex}.king-portrait{background:radial-gradient(circle,#1bcac26b,#0000 65%);justify-content:center;align-items:center;height:245px;margin-top:-5px;display:flex}.king-portrait img{object-fit:contain;max-width:100%;height:100%;animation:6s ease-in-out infinite king-breathe}.king-screen h1{font-size:26px}.king-upgrades{gap:10px;display:grid}.king-upgrades article{background:#112931da;border:1px solid #79c2c39a;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;min-height:69px;padding:10px;display:flex}.king-upgrades article strong{font-size:17px}.king-upgrades article strong small{color:#b8c5c4;font-size:14px}.king-upgrades article span{color:#e2eee9;margin-top:4px;font-size:13px;display:block}.king-upgrades article button{color:#fff1df;background:#684722;border:1px solid #e3b367;border-radius:10px;flex-direction:column;min-width:85px;padding:6px;font-size:12px;font-weight:650;display:flex}.king-upgrades article button small{font-size:13px}.altar-hero{color:#f3b45e;text-shadow:0 0 50px #d7852f;justify-content:center;align-items:center;height:200px;font-size:150px;display:flex}.altar-actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.modal-backdrop{z-index:8;background:#000b;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.artifact-modal{text-align:center;background:#10242ce9;border:1px solid #71d4ca;border-radius:20px;width:100%;max-width:320px;padding:20px;position:relative;box-shadow:0 0 45px #000}.artifact-modal img{object-fit:contain;width:100%;height:150px}.artifact-modal h2{margin:5px}.artifact-modal p{margin:8px 0 20px}.artifact-modal>.game-button{width:100%}.modal-close{color:#fff;background:0 0;border:0;font-size:28px;position:absolute;top:7px;right:10px}.toast{z-index:10;left:16px;right:16px;bottom:calc(115px + var(--safe-bottom));text-align:center;color:#fff9e8;background:#123c42f2;border:1px solid #5bece0;border-radius:12px;padding:12px;position:absolute;box-shadow:0 0 20px #0bdbca55}@keyframes king-breathe{0%,to{filter:brightness();transform:translateY(0)scale(1)}50%{filter:brightness(1.13);transform:translateY(-4px)scale(1.025)}}@keyframes screen-appear{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width>=540px){.app-shell{border:1px solid #426d74;border-radius:23px}.stage{padding:20px}.resource-pill strong{font-size:20px}.bottom-nav button span{font-size:14px}}@media (width<=365px){.topbar{padding-left:6px;padding-right:6px}.resource-bar{gap:4px}.resource-pill{height:43px}.resource-pill svg{width:29px;height:29px}.hero-panel{min-height:245px}.hero-stat{top:56px}.hero-art{height:195px}.hero-actions{gap:5px}.game-button{padding-left:4px;padding-right:4px}.game-button svg{width:21px;height:21px}.unit-row{height:66px}.unit-row img{height:65px}.matter-panel{grid-template-columns:28% 35% 37%}.matter-panel>img{height:95px}.matter-amount{padding-left:6px}.matter-actions{padding:4px}.world-symbol{font-size:20px}.world-summary{min-height:57px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.reference-sprite{mix-blend-mode:screen;pointer-events:none;flex:none;display:block;overflow:hidden}.resource-icon,.world-summary-icon,.action-sprite,.nav-icon{-webkit-mask-image:radial-gradient(#000 48%,#0000 77%);mask-image:radial-gradient(#000 48%,#0000 77%)}.resource-pill{background:linear-gradient(#0d171dcc,#070e12f2);border-color:#829ca779;border-radius:28px;height:51px;box-shadow:inset 0 1px #d6edf330,0 2px 11px #0008}.resource-pill .resource-icon{filter:drop-shadow(0 0 7px #2be4d356);width:43px;height:41px}.resource-pill strong{letter-spacing:.055em;font-weight:640}.world-summary-icon{filter:drop-shadow(0 0 5px #d4e5db50);width:39px;height:39px}.world-summary{background:linear-gradient(115deg,#354b55dc,#15262ecf);padding:7px 1px;box-shadow:inset 0 1px #e8faff4f,0 7px 22px #0007}.hero-actions .game-button{min-height:51px}.action-sprite{filter:drop-shadow(0 0 6px #f7bc6a82);width:29px;height:31px}.game-button.turquoise .action-sprite{filter:drop-shadow(0 0 5px #76fff1a6)}.matter-actions .game-button svg:not(.reference-sprite){filter:drop-shadow(0 0 5px)}.unit-row{background:linear-gradient(105deg,#263d47d9,#0b1a21e8);border-color:#9abac68f;height:75px}.unit-row img{object-position:left center;filter:drop-shadow(0 0 6px #34cfca67);width:34%;height:73px}.bottom-nav{min-height:84px;padding:6px 5px calc(6px + var(--safe-bottom));background:linear-gradient(#132934f5,#061217fc);border:1px solid #6ba3ae73;border-bottom:0;border-radius:26px 26px 0 0;gap:1px;box-shadow:inset 0 1px #d6f8ff28,0 -8px 28px #000a}.bottom-nav button{border-radius:19px;gap:1px}.bottom-nav button .nav-icon{filter:grayscale()brightness(1.13)drop-shadow(0 1px 3px #0008);width:39px;height:40px}.bottom-nav button.active .nav-icon{filter:sepia()saturate(5)hue-rotate(123deg)brightness(1.25)drop-shadow(0 0 8px #51ffee)}.bottom-nav button span{font-size:clamp(11px,3.25vw,16px);font-weight:520;line-height:1.1}.bottom-nav button.active{background:linear-gradient(#145a61c9,#0b2a31e8);border-color:#4cf2e0c9;box-shadow:inset 0 1px #b4fff9b0,inset 0 -2px #32d8c657,0 0 17px #0bcdbd71}.artifact-card{flex-direction:column;min-height:184px;padding:8px;display:flex}.artifact-main{flex:1;grid-template-columns:48% 52%;align-items:start;width:100%;min-height:0;display:grid}.artifact-art{object-fit:contain;object-position:center;filter:drop-shadow(0 0 8px #3dd7cc56);width:120%;height:124px;transform:translate(-10%)}.artifact-info{flex-direction:column;min-width:0;height:100%;padding:5px 1px 5px 3px;display:flex}.artifact-card h2{overflow-wrap:anywhere;min-height:0;margin:0 0 8px;font-size:clamp(13px,3.2vw,17px);line-height:1.08}.artifact-card p{overflow-wrap:anywhere;min-height:0;margin:0 0 7px;font-size:clamp(11px,2.65vw,14px);line-height:1.2}.artifact-price,.artifact-protection{white-space:nowrap;margin:auto 0 0;padding:2px 5px;font-size:clamp(10px,2.7vw,13px)}.artifact-protection{font-size:clamp(9px,2.5vw,12px)}.artifact-action{border-radius:14px;flex:none;height:37px;font-size:clamp(14px,3.5vw,18px);font-weight:500}.artifact-modal .artifact-art{max-width:200px;height:165px;margin:0 auto}html,body,#root,button{-webkit-tap-highlight-color:transparent}button{appearance:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}button:focus{outline:none}button:focus-visible{outline-offset:-3px;outline:2px solid #90ffef}@media (width<=365px){.resource-pill .resource-icon{width:34px;height:34px}.world-summary-icon{width:31px;height:31px}.bottom-nav button .nav-icon{width:33px;height:34px}.artifact-card{min-height:188px}.artifact-art{height:122px}.hero-art{height:208px}}.access-shell{min-height:var(--app-height,100dvh);align-items:end;display:grid;position:relative;overflow:hidden}.access-panel{z-index:2;text-align:center;background:#051318f0;border:1px solid #427780;border-radius:20px;margin:20px 16px 70px;padding:24px 18px;position:relative}.access-panel h1{color:#f3ead7;margin:0 0 14px;font-size:25px}.access-panel p{color:#bfd3d5;margin:0;font-size:15px;line-height:1.5}.app-shell{background:#061219 url(/assets/v046c8fdf376500d7/background.webp) 50%/cover no-repeat;width:min(100%,440px);max-height:930px}.app-shell:before{background:linear-gradient(#030a0e35,#06141a2b 42%,#02090d78 100%)}.topbar{padding:calc(5px + var(--safe-top)) 10px 6px;background:linear-gradient(#081217ed,#0a1a22d9);border-bottom:1px solid #75d6d13d}.resource-bar{gap:7px}.resource-pill{background:linear-gradient(#111e26d9,#070e13f5);border-color:#8baeb870;border-radius:24px;height:43px;padding:1px 4px}.resource-pill .resource-icon{object-fit:contain;filter:drop-shadow(0 0 5px #2be4d356);flex:none;width:37px;height:35px}.resource-pill strong{letter-spacing:.04em;font-size:clamp(13px,4vw,18px)}.screen{padding:9px 10px 16px}.screen h1{font-size:clamp(25px,6.5vw,32px)}.screen-subtitle{margin-bottom:12px;font-size:13px}.world-summary{background:linear-gradient(100deg,#2b424cdd,#10202add);border-radius:14px;min-height:57px;padding:5px 1px;box-shadow:inset 0 1px #e6ffff47,0 5px 18px #0008}.home-screen .world-summary{min-height:61px}.world-summary>div{gap:4px}.world-summary-icon{width:33px;height:33px}.world-summary small{font-size:clamp(9px,2.6vw,12px)}.world-summary strong{font-size:clamp(15px,4.2vw,20px)}.hero-panel{min-height:245px;margin-top:8px}.hero-panel:before{background:0 0}.hero-art{filter:drop-shadow(0 0 10px #24e7d340);width:59%;height:223px;top:-13px;left:-8px}.hero-art img{object-fit:contain;object-position:center bottom;width:100%;height:100%}.hero-reference-art{mix-blend-mode:screen;width:100%;height:100%;-webkit-mask-image:linear-gradient(90deg,#000 0 77%,#0000 100%);mask-image:linear-gradient(90deg,#000 0 77%,#0000 100%)}.hero-stat{width:48%;top:51px;right:0}.hero-stat strong{font-size:clamp(38px,11.5vw,52px);font-weight:500}.hero-stat span{margin-top:3px;font-size:clamp(17px,4.6vw,22px)}.hero-stat small{margin-top:6px;padding:3px 10px;font-size:clamp(11px,3.25vw,14px)}.hero-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;bottom:4px}.hero-actions .game-button{grid-template-rows:22px 11px;align-content:center;justify-items:center;gap:1px;min-height:47px;padding:5px 4px;display:grid}.hero-actions .hero-button-label{white-space:nowrap;justify-content:center;align-items:center;gap:5px;min-width:0;line-height:1.15;display:flex}.hero-actions .hero-button-label .action-sprite{flex:0 0 22px;width:22px;height:22px;display:block}.hero-actions .hero-button-label .action-icon{object-fit:contain;filter:none;-webkit-mask-image:none;mask-image:none}.game-button{border-radius:14px;min-height:42px;padding:6px 8px;font-size:clamp(12px,3.35vw,16px);font-weight:560}.game-button svg{width:25px;height:25px}.game-button.amber{background:linear-gradient(#73532dca,#28231cbf);border-color:#f2b96a;box-shadow:inset 0 1px #ffe6b798,0 0 10px #dba34b42}.game-button.turquoise{background:linear-gradient(#1a6c6ac2,#082b31e6);border-color:#46efdb;box-shadow:inset 0 1px #b9fff6a3,0 0 11px #22dbc94c}.unit-list{gap:9px}.unit-row{background:linear-gradient(105deg,#2a424bd9,#0b1921eb);border-radius:14px;height:72px;padding:0 10px 0 0}.unit-reference-art{mix-blend-mode:normal;width:32%;height:70px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 10% 75%,#0000 100%);mask-image:linear-gradient(90deg,#0000,#000 10% 75%,#0000 100%)}.unit-row span{padding-left:11px;font-size:clamp(15px,4.2vw,19px)}.unit-row strong{font-size:clamp(16px,4.3vw,20px)}.unit-row b{font-size:27px}.matter-panel{background:linear-gradient(105deg,#253f49d9,#091b23eb);border-radius:14px;grid-template-columns:31% 34% 35%;min-height:101px;margin-top:10px}.matter-panel>img{height:100px}.matter-amount span{font-size:clamp(14px,3.9vw,18px)}.matter-amount strong{font-size:clamp(30px,7.9vw,39px)}.matter-actions{gap:5px;padding:5px}.matter-actions .game-button{min-height:36px;font-size:clamp(11px,3.1vw,14px)}.matter-actions{min-width:0}.matter-actions .game-button{gap:4px;width:100%;min-width:0;padding:4px}.matter-actions .game-button>span{min-width:0;line-height:1.1}.matter-actions .game-button small{margin-top:2px;font-size:10px;display:block}.matter-actions .game-button svg{width:20px;height:20px}.season-strip{isolation:isolate;background:linear-gradient(90deg,#10272c22,#193a42b8 25% 75%,#10272c22);border-color:#6bc9c457;border-radius:50%;min-height:31px;margin:0 6px 4px;font-size:clamp(12px,3.4vw,16px);position:relative}.season-strip>strong,.season-strip>span{z-index:2;text-shadow:0 1px 7px #000;position:relative}.season-strip .season-art{opacity:.7;mix-blend-mode:screen;pointer-events:none;width:31%;height:calc(100% + 26px);position:absolute;top:-13px;bottom:-13px}.season-strip .season-art-left{left:-5px;-webkit-mask-image:linear-gradient(90deg,#000 40%,#0000);mask-image:linear-gradient(90deg,#000 40%,#0000)}.season-strip .season-art-right{right:-5px;-webkit-mask-image:linear-gradient(270deg,#000 40%,#0000);mask-image:linear-gradient(270deg,#000 40%,#0000)}.season-strip:before,.season-strip:after{content:none}.bottom-nav{min-height:71px;padding:4px 5px calc(4px + var(--safe-bottom));background:linear-gradient(#142932f2,#08141afc);border-radius:24px 24px 0 0}.bottom-nav button{border-radius:17px}.bottom-nav button .nav-icon{width:33px;height:34px}.bottom-nav button span{font-size:clamp(10px,3vw,14px)}.bottom-nav button.active{background:linear-gradient(#15535bc7,#0a3136ed);box-shadow:inset 0 1px #b4fff8aa,0 0 13px #11d5c568}.artifacts-screen h1{margin-top:4px}.artifact-grid{gap:8px}.artifact-card{background:linear-gradient(135deg,#172c35ef,#08151ddf);border-color:#8bb8c582;border-radius:15px;min-height:169px;padding:7px;box-shadow:inset 0 1px #ecffff2a,0 4px 15px #0006}.artifact-card.owned{border-color:#45e8d4d1}.artifact-main{grid-template-columns:47% 53%}.artifact-card .artifact-art{object-fit:contain;width:100%;height:113px;transform:none}.artifact-info{padding-top:4px}.artifact-card.owned .artifact-info{padding-top:20px}.artifact-card h2{margin-bottom:5px;font-size:clamp(12px,3.15vw,15px)}.artifact-card p{font-size:clamp(10px,2.65vw,12px)}.artifact-price,.artifact-protection{padding:2px 4px;font-size:clamp(9px,2.55vw,11px)}.artifact-price .resource-icon{width:17px;height:17px}.artifact-action{border-radius:12px;height:32px;font-size:clamp(12px,3.25vw,15px)}.owned-tag{padding:1px 5px;font-size:10px}.artifact-info-trigger{z-index:1;color:#d9f9f4;background:#102831d9;border:1px solid #93bdbe9a;border-radius:50%;width:20px;height:20px;padding:0;font:600 12px/18px Georgia,serif;position:absolute;top:7px;left:7px}.artifact-owner{color:#d8e7e6;align-items:center;gap:4px;min-width:0;max-width:100%;font-size:10px;line-height:1.1;display:flex}.artifact-card button.artifact-owner,.artifact-modal button.artifact-owner{text-align:left;cursor:pointer;background:#102a32af;border:1px solid #6db7b66e;border-radius:9px;width:100%;padding:2px 3px}.artifact-owner-avatar{background:#22434a;border:1px solid #72d3cc8f;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:10px;display:grid;overflow:hidden}.artifact-card .artifact-owner-avatar img,.artifact-modal .artifact-owner-avatar img{object-fit:cover;filter:none;width:100%;height:100%;transform:none}.artifact-owner-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.artifact-card .artifact-info{gap:3px}.artifact-card .artifact-info p{margin-bottom:1px}.artifact-deal-status{color:#cbded9;margin-top:auto;font-size:9px;line-height:1.1;display:block}.artifact-card .artifact-action{flex-direction:column;justify-content:center;align-items:center;gap:2px;height:39px;line-height:1.08;display:flex}.artifact-card .artifact-action strong{font-size:12px;font-weight:650}.artifact-card .artifact-action small{justify-content:center;align-items:center;gap:3px;font-size:10px;font-weight:600;display:flex}.artifact-card .artifact-action small img{object-fit:contain;filter:none;width:16px;height:16px}.artifact-owner-actions{grid-template-columns:1fr 1fr;gap:4px;width:100%;display:grid}.artifact-own-status{background:#0d373ba8;border:1px solid #51cfc6a3;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;display:flex}.artifact-own-status strong{font-size:12px}.artifact-own-status small{color:#b9dcda;font-size:9px}.artifact-no-extension{color:#a8c5c1;text-align:center;place-items:center;font-size:9px;display:grid}.artifact-card .artifact-action:disabled{cursor:default;opacity:.72}.memory-currency{color:#d8b5e3;font-size:inherit;line-height:1}.artifact-market-status{color:#d5eee9;background:#102a32d9;border:1px solid #59b7b09a;border-radius:10px;margin:0 0 8px;padding:6px 9px;font-size:12px}.artifact-modal{scrollbar-width:thin;max-height:min(86vh,700px);overflow:auto}.artifact-modal p{line-height:1.35}.artifact-modal-owner{color:#bcd4d2;justify-content:center;align-items:center;gap:7px;margin:7px 0;font-size:12px;display:flex}.artifact-modal-line{color:#f5e8ce;justify-content:center;align-items:center;gap:5px;margin:5px 0;font-size:13px;display:flex}.artifact-modal-line img{width:20px;height:20px}.artifact-modal .game-button{width:100%;margin-top:8px}.artifact-extension{gap:6px;margin-top:9px;display:grid}.artifact-extension label{justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.artifact-extension select{color:#fff8e8;background:#123842;border:1px solid #51c9c2;border-radius:8px;padding:4px}.artifact-extension small,.artifact-error{color:#c6dad8;font-size:11px}.artifact-error{color:#ffc2a4;margin-top:8px;display:block}.world-screen h1,.wallet-screen h1,.top-screen h1{margin:3px 0 10px}.world-screen .world-summary{margin-bottom:10px}.parameter-card{background:linear-gradient(110deg,#18323bdc,#071820e8);border-color:#7bb9c184;grid-template-columns:58px 1fr 83px;align-items:center;min-height:84px;margin-bottom:7px;padding:6px 8px 14px;display:grid}.parameter-preview{width:53px;height:57px;-webkit-mask-image:radial-gradient(#000 45%,#0000 83%);mask-image:radial-gradient(#000 45%,#0000 83%)}.parameter-copy{min-width:0}.parameter-copy strong{font-size:clamp(14px,3.8vw,18px)}.parameter-copy strong span{color:#b6c9c9;font-size:13px;font-weight:400}.parameter-copy b{font-size:clamp(21px,5.8vw,26px);display:block}.parameter-control{justify-self:end;position:static}.parameter-control button{flex-direction:column;justify-content:center;align-items:center;gap:2px;width:34px;height:auto;min-height:44px;padding:2px;font-size:23px;display:flex}.parameter-control button small{font-size:9px;line-height:1.1}.cataclysm-parameter{grid-template-columns:58px minmax(0,1fr);padding-bottom:8px}.cataclysm-parameter .parameter-control{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;margin-top:7px;display:grid}.cataclysm-parameter .parameter-control button{width:100%;height:auto;min-height:40px;font-size:11px}.cataclysm-parameter .parameter-control small{align-items:center;gap:3px;display:flex}.cataclysm-parameter .resource-icon{object-fit:contain;-webkit-mask-image:none;mask-image:none}.cataclysm-parameter .parameter-control .resource-icon{width:15px;height:15px}.parameter-track{background:repeating-linear-gradient(90deg,#19343b 0 15px,#10252b 15px 19px);border-radius:9px;height:5px;margin:0;position:absolute;bottom:8px;left:74px;right:12px;box-shadow:0 0 0 1px #468b8b55}.parameter-track i{position:relative}.parameter-track i:after{content:"";background:#70fff1;border-radius:50%;width:14px;height:14px;position:absolute;top:-5px;right:-7px;box-shadow:0 0 8px #43fce9}.parameter-track.gold i:after{background:#ffd18a;box-shadow:0 0 8px #eab45d}.world-locations{gap:8px}.world-locations .world-location{background:#10252bdc;border:1px solid #6ab7c18e;border-radius:15px;min-height:110px;padding:8px;display:block;position:relative;overflow:hidden}.location-preview{mix-blend-mode:normal;width:100%;height:100%;position:absolute;inset:0}.world-location:after{content:"";pointer-events:none;background:linear-gradient(#06171fc9,#0000 44%,#06171fe8);position:absolute;inset:0}.location-head,.location-foot{z-index:1;align-items:center;gap:5px;display:flex;position:relative}.location-head h2{text-shadow:0 2px 7px #000;font-size:clamp(16px,4.5vw,21px)}.location-head span{color:#d2dddc;font-size:14px}.location-foot{justify-content:space-between;position:absolute;bottom:7px;left:8px;right:8px}.location-foot strong{text-shadow:0 2px 7px #000;font-size:clamp(13px,3.5vw,17px)}.location-foot button{min-height:29px;padding:2px 8px;font-size:12px}.boosts h2{margin:9px 0 4px;font-size:21px}.boost-list{background:#0b1e26dc;border:1px solid #78aeb67b;border-radius:15px;padding:4px 9px}.boost-row{gap:9px;min-height:68px;padding:7px 0}.boost-row:last-child{border-bottom:0}.boost-icon-art{object-fit:contain;flex:none;width:57px;height:42px;display:block}.boost-row strong{font-size:14px}.boost-row small{font-size:10px}.boost-row button{flex:none;padding:7px 6px;font-size:10px}.boost-row button.boost-active{color:#70f2ca;background:#0d383a;border-color:#55bfa4}.wallet-screen h1{margin-bottom:12px}.wallet-card{margin-bottom:9px;overflow:hidden}.wallet-card.primary-wallet{background:radial-gradient(circle at 15% 25%,#7c4d2633,#0000 50%),linear-gradient(120deg,#26343bdc,#0d1820ed);border:1px solid #e4af63b4;min-height:161px;padding:9px 10px 48px}.wallet-card.secondary-wallet{background:linear-gradient(115deg,#133e43c9,#0b1c25e6);border-color:#45d7d1a2;min-height:108px;padding:8px 10px}.wallet-card>.wallet-preview{mix-blend-mode:screen;width:99px;height:94px;-webkit-mask-image:radial-gradient(#000 52%,#0000 84%);mask-image:radial-gradient(#000 52%,#0000 84%)}.wallet-card.secondary-wallet>.wallet-preview{width:100px;height:92px}.wallet-card>.wallet-resource{filter:drop-shadow(0 0 12px #f3a6496b);background-position:50%;flex:none;width:93px;height:94px}.wallet-card.secondary-wallet>.wallet-resource{filter:drop-shadow(0 0 12px #c276bf8a);width:93px;height:92px}.wallet-card>img.wallet-resource{object-fit:contain}.wallet-info{border-left:1px solid #aec6c078;flex:1;padding-left:12px}.wallet-info span{font-size:clamp(16px,4.4vw,20px);font-weight:650;display:block}.wallet-card .wallet-info strong{font-size:clamp(35px,10vw,47px);font-weight:520;line-height:1.05;display:block}.wallet-info small{color:#bdc6c4;font-size:11px;display:block}.wallet-actions{bottom:9px;left:10px;right:10px}.wallet-actions .game-button{min-height:37px;font-size:15px}.wallet-actions .game-button svg,.exchange-switch .game-button svg{filter:drop-shadow(0 0 4px);flex:none;width:20px;height:20px}.exchange-card{margin-bottom:9px;padding:9px}.exchange-switch{grid-template-columns:1fr 1fr;gap:7px;display:grid}.exchange-switch .game-button{min-height:36px}.exchange-controls{grid-template-columns:82px 1fr 82px;align-items:center;gap:7px;margin-top:11px;display:grid}.exchange-controls>span{background:#101f29db;border:1px solid #7fa8ad89;border-radius:12px;justify-content:center;align-items:center;gap:2px;height:35px;font-size:14px;font-weight:650;display:flex}.exchange-controls .resource-icon{width:24px;height:24px}.exchange-controls input{width:100%;margin:0}.operations{padding:6px 9px 8px}.operations h2{margin:4px 0 5px;font-size:21px}.operations .operation-row{border-top:1px solid #79a2a64d;align-items:center;gap:6px;min-height:58px;padding:3px 0;display:flex}.operation-icon-art{object-fit:contain;flex:none;width:48px;height:48px;display:block}.operation-resource{object-fit:contain;flex:none;width:48px;height:48px}.operation-row>span:not(.reference-sprite){flex:1;min-width:0}.operation-row>.operation-resource{flex:none;width:48px}.operation-row strong,.operation-row small{display:block}.operation-row strong{color:#f3eee2;font-size:13px}.operation-row small{color:#bcc8c7;font-size:10px}.operation-row b{white-space:nowrap;font-size:15px}.operation-row b.negative{color:#edb665}.operation-row b.positive{color:#63e8df}.top-screen h1{text-align:center;margin:9px 0 12px;font-size:30px}.prize-timer{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:58px;padding:5px;font-size:13px;display:flex}.prize-preview{width:39px;height:39px;-webkit-mask-image:radial-gradient(#000 48%,#0000 84%);mask-image:radial-gradient(#000 48%,#0000 84%)}.prize-timer strong{font-size:18px}.prize-timer .nav-icon{flex:0 0 34px;width:34px;height:34px}.prize-timer>span{white-space:normal;text-align:left;min-width:0}.prize-timer{margin-bottom:9px}.top-screen .screen-subtitle{margin:8px 0 11px}.leader-list{gap:7px}.leader-list li{background:linear-gradient(110deg,#233840dd,#0b1a21e6);border-radius:14px}.leader-main{gap:5px;min-height:60px}.leader-rank{width:32px;font-size:16px}.leader-avatar{background:#0c2c32;width:42px;height:42px;overflow:hidden}.leader-avatar img{object-fit:cover;width:100%;height:100%;display:block}.leader-initials{color:#d0fff8;text-shadow:0 0 8px #33ded4;font-size:15px;font-weight:750}.leader-identity{flex:1;gap:2px;min-width:0;display:grid}.leader-identity strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.leader-identity small{color:#a9c8c9;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.leader-main strong{font-size:16px}.leader-main b{font-size:15px}.leader-relic{width:27px;height:32px;-webkit-mask-image:radial-gradient(#000 49%,#0000 86%);mask-image:radial-gradient(#000 49%,#0000 86%)}.leader-arrow{margin-left:1px}.leader-list li.selected{background:linear-gradient(130deg,#0e4c4bcf,#0b242be7)}.leader-expanded{padding:0 9px 8px}.leader-expanded p{justify-content:center;align-items:center;gap:4px;margin:0 0 7px;font-size:12px;display:flex}.leader-expanded p b{color:#f4efe4}.leader-expanded p svg{color:#b9e9e5;flex:none;width:16px;height:16px}.leader-expanded p span{padding:0 2px}.leader-expanded .game-button{min-height:35px}.leader-expanded .game-button svg{flex:none;width:21px;height:21px}.leader-expanded .game-button.turquoise{color:#061b20;background:linear-gradient(#29d3c3,#07968e)}.leader-expanded .game-button:disabled{opacity:.45;cursor:default}.top-status{text-align:center;color:#d6e5e1;background:#0c2028d9;border:1px solid #70b9bd74;border-radius:12px;margin:10px 0;padding:13px;font-size:12px}.top-status.error{color:#ffd5c2;justify-items:center;gap:9px;display:grid}.top-status button{color:#e7fffa;background:#155052;border:1px solid #66dcd0;border-radius:9px;padding:6px 12px}.artifact-protection svg{flex:none;width:15px;height:15px}.search-player{min-height:42px;margin-top:10px}.search-player input{font-size:14px}.back-button{font-size:18px}.back-button svg{width:22px;height:22px}.king-portrait{background:#06161a;border-radius:18px;height:205px;margin-top:1px;overflow:hidden}.king-chamber{mix-blend-mode:normal;width:100%;height:100%;-webkit-mask-image:linear-gradient(#000 83%,#0000);mask-image:linear-gradient(#000 83%,#0000)}.king-screen h1{margin-top:5px;font-size:25px}.king-screen .screen-subtitle{margin-bottom:10px}.king-upgrades{gap:7px}.king-upgrades article{background:linear-gradient(105deg,#18303adc,#08171de8);gap:5px;min-height:74px;padding:6px}.upgrade-preview{width:57px;height:58px;-webkit-mask-image:radial-gradient(#000 49%,#0000 84%);mask-image:radial-gradient(#000 49%,#0000 84%)}.upgrade-copy{flex:1;min-width:0}.king-upgrades article .upgrade-copy strong{font-size:14px}.upgrade-copy strong small{color:#b9c7c5;font-size:12px;font-weight:400}.upgrade-copy span{margin:1px 0 5px;font-size:12px}.upgrade-progress{grid-template-columns:repeat(10,1fr);gap:2px;display:grid}.upgrade-progress i{background:#2a4248;border-radius:2px;height:7px;box-shadow:inset 0 1px #ffffff15}.upgrade-progress i.filled{background:#45e8dc;box-shadow:0 0 5px #41e9d3}.king-upgrades article button{min-width:77px;min-height:53px;font-size:12px}.king-upgrades article button small{justify-content:center;align-items:center;gap:2px;font-size:12px;display:flex}.king-upgrades article button .resource-icon{width:18px;height:18px}.king-bonus{background:#09272ce8;border:1px solid #65c7c498;border-radius:14px;align-items:center;gap:6px;min-height:75px;margin-top:8px;padding:6px;display:flex}.bonus-preview{width:59px;height:59px;-webkit-mask-image:radial-gradient(#000 48%,#0000 83%);mask-image:radial-gradient(#000 48%,#0000 83%)}.king-bonus strong{flex:1;font-size:14px}.king-bonus .game-button{min-height:36px;font-size:12px}.altar-hero{background:#07191f;border-radius:18px;height:183px;overflow:hidden}.altar-preview{mix-blend-mode:normal;width:100%;height:100%}@media (width<=365px){.resource-bar{gap:4px}.resource-pill{height:40px}.resource-pill .resource-icon{width:31px;height:30px}.hero-panel{min-height:211px}.hero-art{height:183px}.hero-stat{top:42px}.hero-actions{gap:5px}.hero-actions .game-button{grid-template-rows:20px 10px;min-width:0;min-height:43px;font-size:10px}.hero-actions .game-button .action-sprite{flex:0 0 20px;width:20px;height:20px}.game-button svg{width:21px;height:21px}.unit-row{height:61px}.unit-reference-art{height:59px}.matter-panel{min-height:88px}.matter-panel>img{height:87px}.matter-amount strong{font-size:23px}.world-summary-icon{flex:none;width:26px;height:28px}.world-summary strong{font-size:13px}.bottom-nav{min-height:66px}.bottom-nav button .nav-icon{width:29px;height:30px}.artifact-card{min-height:164px}.artifact-card .artifact-art{height:108px}.parameter-card{grid-template-columns:49px 1fr 73px}.parameter-preview{width:47px;height:51px}.parameter-control button{width:30px}.cataclysm-parameter{grid-template-columns:49px minmax(0,1fr)}.boost-icon-art{width:48px;height:38px}.boost-row{gap:6px}.boost-row button{padding:6px 4px;font-size:9px}}.loading-shell{padding:20px 18px calc(30px + var(--safe-bottom));text-align:center;background:#06151b;justify-content:flex-end;align-items:center;display:flex}.loading-shell:before{z-index:1;background:linear-gradient(#020b0d1c 0%,#0000 43%,#020b0e68 64%,#02090de8 100%)}.loading-art{z-index:0;object-fit:cover;object-position:center top;width:100%;height:100%;animation:8s ease-in-out infinite alternate loading-art-drift;position:absolute;inset:0}.loading-panel{z-index:2;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:linear-gradient(155deg,#14343fe3,#071820eb 75%);border:1px solid #7acbcc90;border-radius:19px;width:100%;max-width:380px;padding:22px 18px 16px;position:relative;box-shadow:inset 0 1px #c5fff34f,0 8px 36px #000c,0 0 25px #15cfc22b}.loading-panel:before{content:"";background:linear-gradient(90deg,#0000,#96fff3,#0000);height:1px;position:absolute;top:0;left:17%;right:17%;box-shadow:0 0 12px #4affeb}.loading-panel-ornament{justify-content:space-between;align-items:center;width:72px;height:24px;display:flex;position:absolute;top:-12px;left:50%;transform:translate(-50%)}.loading-panel-ornament:before{content:"";background:linear-gradient(90deg,#43d9d7,#a0fff0,#43d9d7);height:1px;position:absolute;top:12px;left:10px;right:10px}.loading-panel-ornament i{background:radial-gradient(circle at 35% 30%,#e6fffa,#46d9d2 45%,#0d5f6c);border:1px solid #a0fff0;border-radius:50%;width:13px;height:13px;position:relative;box-shadow:0 0 9px #51eae0}.loading-panel-ornament i:nth-child(2){width:19px;height:19px}.loading-title>span{color:#7bf0e2;letter-spacing:.26em;font-size:11px;font-weight:750}.loading-title h1{margin:7px 0 16px;font-size:clamp(22px,6.3vw,28px);font-weight:700;line-height:1.12}.loading-progress{background:#06161d;border:1px solid #78c7c38e;border-radius:99px;width:100%;height:10px;overflow:hidden;box-shadow:inset 0 1px 7px #000c,0 0 11px #19cdbd26}.loading-progress i{border-radius:inherit;background:linear-gradient(90deg,#138f90,#69f5e3 75%,#c9fff7);height:100%;display:block;box-shadow:0 0 12px #80fff1}.loading-state{color:#c9d7d6;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-top:8px;font-size:12px;display:flex}.loading-state strong{font-size:20px}.loading-error{color:#ffd2bd;justify-items:center;gap:10px;margin-top:11px;font-size:12px;display:grid}.loading-error .game-button{min-width:130px;min-height:36px;font-size:13px}@keyframes loading-art-drift{to{transform:scale(1.045)translateY(-.6%)}}@media (prefers-reduced-motion:reduce){.loading-art{animation:none}}@media (height<=620px){.loading-shell{padding-bottom:calc(15px + var(--safe-bottom))}.loading-panel{padding-top:17px}.loading-title h1{margin-bottom:10px}}.tab-panel[hidden]{display:none}.hero-actions .game-button small{opacity:.8;margin:0;font-size:10px;line-height:1.1;display:block}.unit-reference-art,.upgrade-preview{object-fit:contain;-webkit-mask-image:none;mask-image:none}.unit-row .unit-reference-art{object-position:center;filter:none}.unit-row .guard-art{height:140%}.artifact-modal .unit-modal-art{object-fit:contain;height:185px}.game-button .resource-icon,.artifact-modal .game-button .resource-icon{object-fit:contain;flex:0 0 20px;width:20px;height:20px}.king-chamber{object-fit:contain}.world-location{position:relative;overflow:hidden}.world-location .location-preview{object-fit:cover;width:100%;height:100%;position:absolute;inset:0;-webkit-mask-image:none;mask-image:none}.location-head{z-index:1;justify-content:space-between;position:relative}.location-foot{z-index:1;position:absolute}.world-locations .location-head .artifact-info-trigger{color:#d9eeea;background:#102126;border:1px solid #9fbfc1;border-radius:50%;flex:0 0 20px;align-self:center;width:20px;height:20px;min-height:20px;padding:0;font:italic 14px Georgia,serif;position:static}.boost-row>button{justify-content:center;align-items:center;gap:3px;min-width:46px;display:flex}.altar-preview{object-fit:cover;width:100%;height:100%}.small-info{color:#d9eeea;background:#102126;border:1px solid #9fbfc1;border-radius:50%;width:20px;height:20px;padding:0;font:italic 14px Georgia,serif}.leader-stats{justify-content:space-around;gap:8px;padding:0 10px 8px;font-size:12px;display:flex}.leader-stats>span{align-items:center;gap:4px;display:flex}.leader-stats img,.leader-stats .nav-icon{object-fit:contain;width:30px;height:27px}.leader-artifacts{flex-wrap:wrap;gap:5px;padding:0 12px 8px;display:flex}.leader-artifacts img{object-fit:contain;width:34px;height:34px}.leader-main{grid-template-columns:30px 42px minmax(0,1fr) 16px;display:grid}.boost-row button .resource-icon{object-fit:contain;width:23px;height:23px}.altar-quantity{gap:8px;margin:16px 0;display:grid}.altar-quantity input{color:#f6efd9;background:#10272c;border:1px solid #53787d;border-radius:10px;padding:10px}.exchange-percent{color:#d0d9d6;margin-top:12px;font-size:12px;display:block}.exchange-percent input{margin:9px 0;display:block}.exchange-quotes{color:#becac9;grid-template-columns:1fr 1fr;gap:8px;font-size:11px;display:grid}.exchange-quotes b{color:#f3eee2;font-weight:600}.exchange-rates{color:#9baead;margin-top:9px;font-size:10px;display:block}
