/* Mythology UI 0.14 — obsidian, electrum and aether. */
@font-face{font-family:Manrope;src:url('/assets/ui-manrope-regular.ttf') format('truetype');font-weight:400 500;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/ui-manrope-semibold.ttf') format('truetype');font-weight:600 900;font-display:swap}
@font-face{font-family:'Russo One';src:url('/assets/ui-russo-one.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--ui-panel:#10252ed9;--ui-edge:#a9d3c727;--ui-gold:#ebc77f;--ui-aether:#8cd7cf;--ui-text:#eceee4;--ui-title:'Russo One',Manrope,sans-serif;--paper:#edf0e8;--muted:#a7bdbf}
body{font-family:Manrope,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;background:#08151f}h1,h2,h3{font-family:var(--ui-title);font-weight:400;letter-spacing:.015em}button,select{font-family:Manrope,'Segoe UI',sans-serif;font-weight:600}button{border-radius:10px;border-color:#9dbbae3b;background:linear-gradient(145deg,#28414bbf,#132b35ed);box-shadow:inset 0 1px #e2f9e50b,0 3px 9px #0002;transition:background .18s,border-color .18s,box-shadow .18s,filter .18s}button:hover:not(:disabled){border-color:#a7e3d396;filter:brightness(1.08);box-shadow:inset 0 1px #e2f9e51c,0 0 20px #7fcbbd14}button:focus-visible{outline:2px solid #9de6d5;outline-offset:4px}button:disabled{opacity:.46}button .icon{stroke-width:1.75}.icon-body{fill:currentColor;fill-opacity:.07}.icon-coin{color:#f1ca7d}.icon-mana{color:#beabf2}.icon-crystal{color:#76e2bd}.icon-bolt{color:#92d6f7}.icon-heart{color:#e9a599}.icon-effects{color:#9bdcce}.icon-compass,.icon-market,.icon-castle,.icon-cards,.icon-swords{color:#dbc68f}.myth-shell{background:radial-gradient(ellipse at 85% 0,#18404966,transparent 55%),radial-gradient(ellipse at 0 100%,#2d2b3244,transparent 60%),#0b1922}.myth-hud{background:linear-gradient(115deg,#101e29f5,#18303af5 70%,#11212df5);border-bottom:1px solid #bda76e63;box-shadow:0 8px 24px #0004,inset 0 -1px #f5deb110;isolation:isolate}.myth-hud:after{content:'';position:absolute;bottom:-1px;left:18%;width:40%;height:1px;background:linear-gradient(90deg,transparent,#c7e6d3cc,transparent);pointer-events:none}.myth-logo{border-radius:0;box-shadow:none!important;background:none!important}.myth-logo>span{width:43px;height:43px;display:flex;align-items:center;justify-content:center;font-size:39px;color:#f5d595;border:1px solid #b9a26766;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);background:radial-gradient(#b5974440,transparent);text-shadow:0 0 19px #e0bd7055;animation:sigil-breathe 7s ease-in-out infinite}.myth-logo b{font:17px var(--ui-title);letter-spacing:2px;color:#f2dfb4}.myth-logo small{font:7px Manrope,sans-serif;letter-spacing:3.4px;color:#a9c2bf;margin-top:7px}.hud-wallet{gap:8px}.hud-resource{border-radius:10px;min-height:42px;padding:8px 12px;background:linear-gradient(125deg,#0b1b27cc,#243c4266);border:1px solid #9bbca52e;box-shadow:inset 0 1px #d8f3e30c;gap:8px;position:relative}.hud-resource:after{content:'';position:absolute;left:12px;right:12px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#e2cf8a55,transparent)}.hud-resource b{font:14px var(--ui-title);letter-spacing:.4px;font-variant-numeric:tabular-nums;color:#f1ead6}.hud-resource small{font-size:8px;color:#afc4c1}.hud-resource .icon{width:22px;height:22px;filter:drop-shadow(0 0 7px #d9bd772b)}.player-level{padding:7px 10px;background:#243c3c7a;border:1px solid #b4c88f38;border-radius:9px;color:#e8d5a5}.effects-toggle,.sound{width:32px;height:34px;display:flex;align-items:center;justify-content:center;background:#132a3290;border:1px solid #9fbda832;padding:6px;border-radius:9px;box-shadow:none}.effects-toggle[aria-pressed=false]{opacity:.5}.effects-toggle .icon{width:18px;height:18px}
.myth-nav{gap:7px;background:linear-gradient(180deg,#0a1b25d9,#0b1923fa);border-top:1px solid #c7b87a3d;box-shadow:0 -10px 35px #07151b44;backdrop-filter:blur(18px)}.myth-nav button{min-width:130px;border:1px solid transparent;border-radius:12px;background:transparent;position:relative;padding:12px 18px;gap:11px;color:#a8bfbd;box-shadow:none}.myth-nav button .icon{width:23px;height:23px;color:#98afa8;transition:color .2s,filter .2s,transform .2s}.myth-nav button:hover:not(:disabled){background:#29443f66;border-color:#bad8c32e;color:#f1e7cc;transform:translateY(-2px);box-shadow:none}.myth-nav button.active{background:linear-gradient(120deg,#74634240,#31473d44);border-color:#c2a76b78;color:#f9dfab;box-shadow:inset 0 1px #f3d08a24,0 0 24px #bea35e0b}.myth-nav button.active:before{content:'';position:absolute;top:-1px;left:30%;right:30%;height:2px;background:#eed397;box-shadow:0 0 12px #eed39777;border-radius:2px}.myth-nav button.active .icon{color:#edd394;filter:drop-shadow(0 0 7px #f5d17d66)}.myth-nav button:hover .icon{transform:translateY(-1px)}.alpha-label{font-size:6px;letter-spacing:.3px;opacity:.65}
.gold-button{position:relative;overflow:hidden;color:#2d281b;background:linear-gradient(125deg,#f0dfb1 0%,#ddbd79 45%,#b8904f 100%);border-color:#f7d99d;border-radius:10px;box-shadow:inset 0 1px #fff3d6b0,inset 0 -2px #7e5c3933,0 4px 12px #0003;font-weight:800}.gold-button:after{content:'';position:absolute;pointer-events:none;inset:-80% -40%;background:linear-gradient(110deg,transparent 40%,#ffffff44 49%,transparent 58%);transform:translateX(-100%) skewX(-12deg);transition:transform .65s}.gold-button:hover:not(:disabled):after{transform:translateX(100%) skewX(-12deg)}.gold-button:hover:not(:disabled){background:linear-gradient(125deg,#f6e7bb,#e9cd8d 60%,#c6a15f);border-color:#fff0c1;box-shadow:inset 0 1px #fff7dccc,0 4px 20px #e8bf6330}.gold-button .icon{color:inherit}
.world-chrome{top:21px}.world-chrome h1{font:24px var(--ui-title);letter-spacing:.02em;color:#f5e4bd;text-shadow:0 3px 14px #06121ce6}.world-chrome small{letter-spacing:2.6px;font-size:8px;color:#d6dec4;text-shadow:0 2px 4px #000}.map-tools{padding:4px;background:#11252ba8;border:1px solid #b5c6ac33;border-radius:12px;backdrop-filter:blur(10px);gap:4px}.map-tools button{background:#163038a8;border:0;border-radius:8px;box-shadow:none;color:#e2d5aa}.worker-badge,.map-hint{border:1px solid #9cbfb32b;background:#10272ed4;backdrop-filter:blur(12px);border-radius:8px;color:#d2dfcf}.campaign-toolbar button,.city-switcher button{background:linear-gradient(140deg,#18343bf0,#12252ce8);border:1px solid #b0c4aa42;box-shadow:0 5px 14px #07182135,inset 0 1px #d7e7c70c;border-radius:10px;color:#c9d5c7;backdrop-filter:blur(14px)}.campaign-toolbar button.active,.city-switcher button.active{background:linear-gradient(120deg,#685b3bdc,#30443adf);border-color:#e5cc8a96;color:#f6e1ad}.campaign-toolbar button:hover:not(:disabled){background:linear-gradient(120deg,#425448ed,#173b41ed);border-color:#bce4cc}.atlas-caption{border-left:2px solid #b1d9c99c;border-radius:0 10px 10px 0;background:linear-gradient(90deg,#0c202bd9,#112a3244);font-size:10px}.city-income,.town-toolbar{border:1px solid #b3cfb43b;background:linear-gradient(120deg,#0e2530eb,#1d373aeb);border-radius:12px;box-shadow:0 8px 25px #0003;backdrop-filter:blur(14px)}.town-toolbar button{border-radius:8px}.object-label{border-radius:8px;background:#102b31e8;border-color:#c4d1a636;box-shadow:0 4px 12px #0004}.journey-panel{background:radial-gradient(ellipse at 100% 0,#3b554954,transparent 65%),linear-gradient(125deg,#182e37f5,#0d222cf5);border:1px solid #b7c8a550;border-top-color:#dbcb9d88;box-shadow:0 12px 38px #02111766,inset 0 1px #d5e7c811;border-radius:15px}.journey-panel h3{font:18px var(--ui-title);line-height:1.4}.journey-panel>small{color:#acd4c6;letter-spacing:1.3px}.journey-panel p{font-size:11px}.journey-disc{font-family:var(--ui-title)}.journey-current{font-family:Manrope;border-radius:7px;background:#183a3ae6}
.content-page{max-width:1360px;padding-top:40px}.page-heading{position:relative;padding:26px 30px;margin-bottom:30px;border:1px solid #aac6af29;border-left:3px solid #dfc58a99;border-radius:0 18px 18px 0;background:radial-gradient(ellipse at 90% 0,#23575840,transparent 60%),linear-gradient(105deg,#19333deb,#10232d55)}.page-heading>span{color:#9fc8c1;letter-spacing:2.5px;font-size:9px}.page-heading h1{font:27px var(--ui-title);line-height:1.4;color:#f3e3be;margin:13px 0 15px;max-width:950px}.page-heading p{max-width:880px;font-size:11px;line-height:1.9;margin:0;color:#adc1c0}.content-page>h2{font-size:18px;display:flex;align-items:center;gap:16px}.content-page>h2:after{content:'';height:1px;background:linear-gradient(90deg,#b4c4aa3b,transparent);flex:1}.content-page>h2 small{font:10px Manrope;color:#a3bcb9}.catalog-filters{padding:16px 20px;border:1px solid #a9c7b12e;background:linear-gradient(120deg,#19313bcc,#10262dcc);border-radius:14px;gap:18px}.catalog-filters label{font-size:10px;letter-spacing:.4px;color:#b8ceca}.catalog-filters select{padding:11px 14px;border:1px solid #a1c0b142;background:#0b202c;color:#ede5cf;border-radius:9px;font-size:11px;min-height:39px}.catalog-pagination{color:#a8c5be;font-size:11px}.catalog-pagination button{font-size:11px;border-radius:9px}.collection-card,.card-wrap{border-radius:14px}.card-actions button{font-size:10px;border-radius:8px;padding:9px 7px}.card-actions button:hover:not(:disabled){border-color:#dac482}.myth-card{border-radius:15px;box-shadow:0 10px 22px #020b145e,inset 0 0 0 1px #e6d8aa33}.card-caption{background:linear-gradient(transparent,#061b24e8 20%,#061922fa);padding-top:26px}.card-caption h3{font-family:Manrope;font-size:12px;font-weight:800;line-height:1.4;letter-spacing:0}.card-numbers{font-weight:800;font-variant-numeric:tabular-nums}.rarity-seal{letter-spacing:.8px;font-size:8px}.hp-bar{height:4px;border-radius:5px;background:#04151b;overflow:hidden}.hp-bar i{background:linear-gradient(90deg,#57b994,#b3dba1);box-shadow:0 0 8px #89d4ab44}.card-ability{font-size:9px}.card-inspect{border-radius:50%;background:#0d2937d9;border-color:#b4d4ba70}
.category-grid{gap:18px}.category-tile{border:1px solid #c0d0af36;border-radius:16px;background:radial-gradient(ellipse at 50% 10%,#487b672b,transparent 65%),linear-gradient(145deg,#203b43,#102630);box-shadow:inset 0 1px #deefcc12,0 8px 25px #0003;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}.category-tile:after{content:'✧';font:80px Georgia;position:absolute;right:-8px;bottom:-15px;opacity:.035;color:#ddedcc;pointer-events:none}.category-tile:hover:not(:disabled){transform:translateY(-5px);border-color:#d9c58e9c;box-shadow:0 14px 30px #0005,0 0 30px #83ceb715}.category-tile .icon{width:46px;height:46px;padding:8px;box-sizing:content-box;background:radial-gradient(#b7cf8d1c,transparent 72%);filter:drop-shadow(0 0 14px #c3d58433);color:#e4ce98;transition:transform .3s}.category-tile:hover .icon{transform:scale(1.08)}.category-tile h3,.category-tile b{font-family:var(--ui-title);font-size:14px;letter-spacing:.02em}.shop-grid{gap:20px}.shop-offer,.building-offers article{border:1px solid #c0d0ad3b;border-top-color:#dcc59270;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#54745b26,transparent 60%),linear-gradient(145deg,#20363f,#10232f);box-shadow:inset 0 1px #d9efc70a,0 10px 24px #0003;transition:border-color .2s,box-shadow .2s}.shop-offer:hover,.building-offers article:hover{border-color:#c9c69780;box-shadow:0 12px 28px #0005}.shop-offer h3{font:16px var(--ui-title);line-height:1.45}.shop-offer p{font-size:11px}.offer-symbol{display:flex;align-items:center;justify-content:center;width:82px;height:82px;margin:10px auto 20px;border:1px solid #d1b98147;border-radius:24px;background:linear-gradient(140deg,#53664e33,#173543);box-shadow:0 0 30px #d4ba6310,inset 0 0 25px #c8d4a711;transform:rotate(-6deg)}.offer-symbol .icon{width:41px;height:41px;transform:rotate(6deg);filter:drop-shadow(0 0 9px #d9cc9c33)}
.modal-backdrop{background:#04121bb8;backdrop-filter:blur(9px);animation:veil-open .18s ease-out}.game-modal{position:relative;background:radial-gradient(ellipse at 100% 0,#34564b44,transparent 55%),linear-gradient(135deg,#20373f,#0e2430 75%);border:1px solid #c6c19580;border-top:2px solid #e0c894;border-radius:19px;box-shadow:0 30px 90px #0009,0 0 0 5px #071a2355,inset 0 1px #eff7d312;padding:35px;animation:relic-open .24s cubic-bezier(.2,.8,.2,1)}.game-modal:before{content:'';position:absolute;top:8px;left:22px;right:22px;height:3px;pointer-events:none;opacity:.4;background:repeating-linear-gradient(90deg,transparent 0 10px,#d8c38c 10px 12px,transparent 12px 17px,#d8c38c 17px 23px,transparent 23px 28px)}.game-modal h2{font:24px var(--ui-title);line-height:1.45;color:#f0ddb2;padding-right:32px;margin-bottom:19px}.game-modal h3{font-size:17px;line-height:1.5}.game-modal p{font-size:12px;color:#b6c9c7;line-height:1.85}.game-modal>small{font-size:9px;letter-spacing:1.6px;color:#a7cfc3}.modal-close{width:33px;height:33px;top:17px;right:17px;padding:0;font:25px Manrope;border-radius:10px;background:#3d474345;border:1px solid #c5d1b53b;color:#d5decd;box-shadow:none}.modal-close:hover{background:#8b59424d;border-color:#dfc597}.modal-emblem{display:grid;place-items:center;width:70px;height:70px;border:1px solid #c9b47d6b;border-radius:19px;background:radial-gradient(#bad49d22,#18364166);box-shadow:0 0 25px #d2c07914}.modal-emblem .icon{width:35px;height:35px;color:#e6ce8c}.route-panel,.building-benefit,.quest-completion{background:#0a202b8c;border:1px solid #b7c9a72e;border-radius:12px}.route-panel{padding:20px}.route-panel h3{color:#e5d5b1}.route-options button{border-radius:11px;background:linear-gradient(135deg,#34534a66,#19313d)}.route-options span{color:#acc5bc}.quest-reward-preview,.reward-strip{background:linear-gradient(110deg,#182e38c9,#22403b6b);border:1px solid #bacaab38;border-radius:13px}.reward-strip{padding:18px}.result-heading h1{font-family:var(--ui-title);font-size:33px;color:#f4d698}.result-heading>div .icon{filter:drop-shadow(0 0 22px #dfc76b66)}.perfect-bonus{border-radius:13px;border-color:#d3b97870;background:linear-gradient(110deg,#4e493433,#263e3933)}.rank-path span{border-radius:9px;background:#122a35;border-color:#a7c7b532}.rank-path span.unlocked{background:#4c523661;border-color:#dbc1818a;color:#f0d9a5}
.duel-center{background:linear-gradient(180deg,#102733e6,#102632bb);border:1px solid #aec9b238;border-radius:15px;padding:20px 14px;backdrop-filter:blur(12px)}.duel-center .versus{font-family:var(--ui-title);color:#e8ce93}.duel-center button{border-radius:9px;font-size:11px}.duel-center>p{font-size:10px;line-height:1.7}.duel-notice{border:1px solid #a1cbbf38;background:#0d202a9e;border-radius:9px;color:#d0ded1}.spell-rack button{border-radius:12px;background:linear-gradient(125deg,#1d3a43,#122633);border:1px solid #bbccaa40;box-shadow:inset 0 1px #eef7db0d}.spell-rack button:hover:not(:disabled){border-color:#d2c292;box-shadow:0 0 18px #a9d9bc22}.spell-rack button>span{border-radius:10px;background:radial-gradient(#63836f55,#17313b)}#toast{border-radius:12px;background:#15343af2;border:1px solid #b5d5bd77;box-shadow:0 8px 32px #0006;backdrop-filter:blur(12px);color:#f2e4bf;font-family:Manrope;font-size:12px}
@keyframes sigil-breathe{50%{text-shadow:0 0 26px #e0bd7099;background-color:#b5974412}}@keyframes veil-open{from{opacity:0}to{opacity:1}}@keyframes relic-open{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.reduced-effects *,.reduced-effects~.modal-backdrop,.reduced-effects~.modal-backdrop *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced-effects *:before,.reduced-effects *:after{animation:none!important;transition:none!important}.reduced-effects .gold-button:after{display:none}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.gold-button:after{display:none}}
@media(max-width:1000px){.hud-wallet{gap:5px}.hud-resource{padding:7px 9px;gap:6px}.hud-resource small{display:none}.myth-logo b{font-size:14px}.myth-logo small{font-size:6px;letter-spacing:2.5px}.myth-nav button{min-width:110px}.world-chrome h1{font-size:21px}.page-heading h1{font-size:23px}}@media(max-width:650px){.myth-hud{padding:0 10px;gap:6px}.myth-logo>span{width:29px;height:32px;font-size:28px}.myth-logo{gap:6px}.myth-logo b{font-size:10px;letter-spacing:.7px}.myth-logo small{font-size:5px;letter-spacing:1px}.hud-wallet{gap:3px}.hud-resource{padding:5px;min-height:31px;gap:4px;border-radius:7px}.hud-resource b{font-size:10px}.hud-resource .icon{width:14px;height:14px}.effects-toggle,.sound{width:26px;height:29px;padding:5px}.effects-toggle .icon{width:15px;height:15px}.player-level{padding:4px;font-size:8px}.myth-nav{gap:3px}.myth-nav button{min-width:0;width:18%;padding:8px 5px;gap:5px;border-radius:10px;flex-direction:column;font-size:9px}.myth-nav button .icon{width:20px;height:20px}.page-heading{padding:20px}.page-heading h1{font-size:20px}.world-chrome h1{font-size:18px}.game-modal{padding:27px 20px;border-radius:15px}.game-modal h2{font-size:20px}.journey-panel h3{font-size:16px}.catalog-filters{padding:12px;gap:9px}.category-tile h3,.category-tile b{font-size:12px}.myth-logo small{margin-top:4px}}
.myth-logo>span>.icon{width:34px;height:34px;color:#efd39a;filter:drop-shadow(0 0 7px #e4bf6955);stroke-width:1.2}.town-toolbar{right:auto;max-width:calc(100% - 360px);padding:5px;gap:5px}.category-tile>div{position:relative;width:82px;height:82px;margin:0 auto 17px;display:grid;place-items:center;border:1px solid #cfbc8542;border-radius:22px;background:linear-gradient(140deg,#bbcd9820,#0b243254);box-shadow:inset 0 1px #e1eac81a,0 5px 18px #0002;transform:rotate(-5deg)}.category-tile>div:after{content:'';position:absolute;inset:5px;border:1px solid #d1c18b22;border-radius:17px;pointer-events:none}.category-tile>div .icon{width:43px;height:43px;padding:0;transform:rotate(5deg);background:none}.category-tile:hover>div .icon{transform:rotate(5deg) scale(1.08)}.category-tile>span .icon{width:14px;height:14px;padding:0;background:none;filter:none}.category-tile>span{font-size:9px;color:#a6bfb7;letter-spacing:.3px}.category-tile .icon-amulet,.category-tile .icon-scroll{color:#e2bbef}.category-tile .icon-effects,.category-tile .icon-portal{color:#a3dbd3}.category-tile .icon-shards,.category-tile .icon-crystal{color:#addcb4}.shop-offer .icon-coin,.shop-offer .icon-chest{color:#f0d398}.game-modal:after{content:'◇';position:absolute;bottom:13px;right:19px;font:19px Georgia;color:#cbb48077;pointer-events:none}@media(max-width:650px){.town-toolbar{max-width:calc(100% - 20px);bottom:110px}.myth-logo>span>.icon{width:25px;height:25px}.category-tile>div{width:60px;height:60px;border-radius:17px}.category-tile>div .icon{width:34px;height:34px}}
.category-tile{animation:relic-open .3s ease-out both;animation-delay:calc(var(--tile-order,0)*25ms)}.myth-nav button:active,.category-tile:active:not(:disabled){transform:translateY(0) scale(.98)}.game-modal button:active:not(:disabled){filter:brightness(.96)}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#0b2029}::-webkit-scrollbar-thumb{background:#48645c;border:2px solid #0b2029;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#9eaa7b}@media(max-width:480px){.myth-logo>b{display:none}.hud-resource{padding:5px 4px;gap:3px}.hud-resource b{font-size:10px}.myth-hud{gap:5px}.player-level{font-size:7px}.hud-wallet{gap:3px}}
.myth-hud{position:sticky;top:0;z-index:5}
/* 0.15 — illustrated game assets replace schematic category/navigation graphics. */
.raster-icon{display:inline-block;flex-shrink:0;background-image:url('/assets/ui-icons-v15.webp');background-size:300% 300%;background-repeat:no-repeat;vertical-align:middle;border-radius:5px;mix-blend-mode:screen;filter:drop-shadow(0 2px 3px #0006)}.hud-resource .raster-icon{width:30px;height:30px;filter:drop-shadow(0 0 7px #dcbe6533)}.myth-nav button .raster-icon{width:35px;height:35px;filter:drop-shadow(0 2px 4px #0007)}.myth-nav button.active .raster-icon{filter:drop-shadow(0 0 7px #f4db8d70)}.myth-shell[data-screen=shop]{background:linear-gradient(#08162780,#0a1922cc),url('/assets/ui-vault-v15.webp') center top/cover fixed}.myth-shell[data-screen=shop] .page-heading{background:linear-gradient(90deg,#0b1b2cef,#0f24339c);border-left:0;border:12px solid transparent;border-image:url('/assets/ui-panel-v15.webp') 115 stretch;box-shadow:0 10px 40px #0006;padding:20px 25px}.myth-shell[data-screen=shop] .page-heading h1{color:#ffe7ae;text-shadow:0 2px 6px #0008}.category-grid{gap:21px}.category-tile{height:235px;min-height:235px;position:relative;display:flex;align-items:stretch;justify-content:flex-end;flex-direction:column;padding:0;border:9px solid transparent;border-image:url('/assets/ui-panel-v15.webp') 115 stretch;border-radius:0;background:#102131;box-shadow:0 10px 28px #0009;isolation:isolate;overflow:visible}.category-tile:after{display:none}.category-tile:hover:not(:disabled){border-image-source:url('/assets/ui-panel-v15.webp');box-shadow:0 12px 32px #000a,0 0 20px #dcb86b44;filter:brightness(1.12);transform:translateY(-4px)}.category-tile>.category-art{position:absolute;inset:0;z-index:-1;width:100%;height:100%;margin:0;transform:none;border:0;border-radius:0;background-image:url('/assets/ui-shop-atlas-v15.webp');background-size:400% 300%;background-repeat:no-repeat;box-shadow:none;transition:filter .25s}.category-tile>.category-art:after{content:'';position:absolute;inset:0;border:0;border-radius:0;background:linear-gradient(180deg,transparent 42%,#0716268c 66%,#061421f5 100%)}.category-tile>.category-caption{position:relative;display:block;transform:none;width:auto;height:auto;margin:0;border:0;border-radius:0;background:none;box-shadow:none;padding:15px 12px 13px;text-align:center}.category-tile>.category-caption:after{display:none}.category-caption h3{font:15px var(--ui-title);color:#ffe5ae;margin:0 0 8px;text-shadow:0 2px 5px #000}.category-caption>span{font-size:9px;color:#bcd6d7;letter-spacing:.5px}.category-caption .icon{width:13px;height:13px;padding:0;filter:none;transform:none;background:none;color:#ead397}.game-modal{border:20px solid transparent;border-image:url('/assets/ui-panel-v15.webp') 115 fill stretch;background:none;border-radius:0;box-shadow:0 30px 90px #000c;padding:24px}.game-modal:before,.game-modal:after{display:none}.game-modal p{color:#d0dcdf}.game-modal h2{color:#ffe5a9;text-shadow:0 2px 6px #0006}.modal-close{top:4px;right:4px;background:#132d40e8;border:1px solid #d2af63;color:#ffe7a9;z-index:2}.shop-offer,.journey-panel{border:12px solid transparent;border-image:url('/assets/ui-panel-v15.webp') 115 fill stretch;border-radius:0;background:none;box-shadow:0 12px 30px #0007}.journey-panel{padding:14px}.shop-offer{padding:18px}.offer-symbol{background:radial-gradient(#698b6a33,#122a3c66);border:1px solid #b49a5c66}.offer-symbol .raster-icon{width:62px;height:62px}.gold-button{border-radius:6px;border:2px solid #f5d18b;background:linear-gradient(110deg,#e9c980,#c5964e 55%,#e3bb70);box-shadow:inset 0 0 0 2px #70512b55,inset 0 2px #ffeec8,0 4px 12px #0006}.myth-nav button.active{background:linear-gradient(125deg,#79614066,#243d3e88);border-color:#e2bc70;box-shadow:inset 0 0 0 2px #b59a5b20,0 0 15px #d5b66c13}.myth-hud{background:linear-gradient(90deg,#10283aeb,#132b35eb),url('/assets/ui-panel-v15.webp') center/100% 100%;border-bottom:2px solid #c5a363}.hud-resource{border:1px solid #b09b5c70;background:linear-gradient(130deg,#243b49ed,#102337ed);box-shadow:inset 0 0 0 2px #d6bd7811}.myth-shell[data-screen=cards] .page-heading{background:linear-gradient(100deg,#0e2431eb,#112635bb),url('/assets/ui-vault-v15.webp') center 30%/cover}.duel-center{border:10px solid transparent;border-image:url('/assets/ui-panel-v15.webp') 115 fill stretch;background:none;border-radius:0}.category-caption h3{line-height:1.4}@media(max-width:900px){.category-tile{height:215px;min-height:215px}.category-caption h3{font-size:13px}.hud-resource .raster-icon{width:24px;height:24px}}@media(max-width:650px){.category-grid{gap:12px}.category-tile{height:200px;min-height:200px;border-width:6px}.category-caption h3{font-size:11px}.category-tile>.category-caption{padding:12px 5px}.category-caption>span{font-size:8px}.game-modal{border-width:12px;padding:20px 15px}.hud-resource .raster-icon{width:17px;height:17px}.myth-nav button .raster-icon{width:29px;height:29px}.journey-panel{border-width:8px}.myth-shell[data-screen=shop] .page-heading{border-width:8px;padding:17px 15px}}
.category-tile>.category-caption .icon{width:14px;height:14px;padding:0;background:none;transform:none;filter:none;vertical-align:middle}.category-tile>.category-caption{background:linear-gradient(transparent,#06132299);text-shadow:0 2px 5px #000}.category-tile>.category-caption>span{display:inline-flex;align-items:center;gap:7px}.game-modal .ability-timing{background:#08213bbe;border-left-color:#ddc17d}.shop-offer p{color:#cad9df}.offer-symbol.offer-paint{background-image:url('/assets/ui-shop-atlas-v15.webp');background-size:400% 300%;background-repeat:no-repeat;transform:none;border-radius:14px;width:110px;height:100px;border-color:#dfbb6c;box-shadow:0 0 18px #d8af6133}.offer-paint .icon{display:none}
/* 0.16: fixed-size ornament sprites, no stretched all-purpose frame. */
.game-modal,.shop-offer,.journey-panel,.category-tile,.duel-center,.myth-shell[data-screen=shop] .page-heading{border-image:none!important;background-image:none;border:1px solid #d0ab61;border-radius:9px;box-shadow:inset 0 0 0 3px #081b29,inset 0 0 0 4px #ad87444d,0 12px 35px #0008}.game-modal{background:radial-gradient(ellipse at 100% 0,#16416a55,transparent 70%),#0b2031;padding:34px;max-height:88vh}.category-tile{border-width:2px;background:#0c2030;isolation:isolate;overflow:visible}.category-tile>.category-art{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px)}.shop-offer{position:relative;background:linear-gradient(130deg,#16334c,#0a1d2c);padding:24px}.journey-panel{background:linear-gradient(120deg,#14324aee,#0a2030f5);padding:20px}.duel-center{background:#0a2333ee;padding:18px}.myth-shell[data-screen=shop] .page-heading{background:linear-gradient(100deg,#0a2031ed,#102c3acc);padding:28px 32px}.frame-corner{position:absolute;z-index:8;pointer-events:none;width:30px;height:30px;background-image:url('/assets/ui-corners-v16.webp');background-size:200% 200%;background-repeat:no-repeat}.corner-tl{top:-3px;left:-3px;background-position:0 0}.corner-tr{top:-3px;right:-3px;background-position:100% 0}.corner-bl{bottom:-3px;left:-3px;background-position:0 100%}.corner-br{bottom:-3px;right:-3px;background-position:100% 100%}.game-modal>.frame-corner{width:44px;height:44px}.category-tile>.frame-corner{width:26px;height:26px}.game-modal>.frame-corner{z-index:1}.modal-close{z-index:10;top:12px;right:12px}.myth-hud{position:fixed;inset:0 0 auto;height:0!important;min-height:0;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;pointer-events:none;z-index:15}.myth-hud:after{display:none}.myth-logo{position:absolute;top:18px;left:18px;pointer-events:auto}.myth-logo>b{display:none}.myth-logo>span{width:46px;height:46px;background:#0b2630e8;border-color:#e2be77}.hud-wallet{position:absolute;top:16px;right:105px;display:flex;align-items:center;gap:9px;pointer-events:auto}.hud-resource{position:relative;min-height:44px;padding:4px 10px 4px 4px;border-radius:10px;background:#0b2031ed;gap:4px;outline:none;box-shadow:0 5px 12px #0004,inset 0 1px #dcc38222}.hud-resource .raster-icon{width:40px;height:40px}.hud-resource b{font-size:13px}.hud-resource>small{display:none}.resource-tip{display:none;position:absolute;z-index:100;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:205px;padding:13px 16px;border:1px solid #e7c582;border-radius:9px;background:linear-gradient(135deg,#173e58,#0c2233);box-shadow:0 8px 26px #0009;pointer-events:none;text-align:left;line-height:1.6}.resource-tip:before{content:'';position:absolute;top:-5px;left:calc(50% - 5px);width:8px;height:8px;transform:rotate(45deg);border-left:1px solid #e7c582;border-top:1px solid #e7c582;background:#15394f}.resource-tip strong{display:block;font:12px var(--ui-title);color:#ffe3a0;margin-bottom:5px}.resource-tip>span{font:11px Manrope;color:#d1e0e5}.hud-resource:hover>.resource-tip,.hud-resource:focus-visible>.resource-tip{display:block;animation:veil-open .15s ease-out}.hud-resource:focus-visible{outline:2px solid #9de6d5}.myth-nav{position:fixed;top:50%;bottom:auto;right:14px;left:auto;width:77px;height:auto;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;padding:0;background:none!important;border:0;box-shadow:none;backdrop-filter:none;pointer-events:none;z-index:14}.myth-nav button{pointer-events:auto;display:flex;flex-direction:column;width:74px;min-width:0;height:79px;gap:2px;padding:4px 3px;border:1px solid #d3b67688;border-radius:14px;background:radial-gradient(ellipse at 50% 0,#47605a77,transparent 80%),#0c2434e8;box-shadow:inset 0 0 0 3px #152f3b,0 6px 15px #0007;color:#f0dfb4}.myth-nav button .raster-icon{width:48px;height:48px}.myth-nav button>span:last-child{font-size:9px}.myth-nav button:hover:not(:disabled){transform:translateX(-3px);background:#24464b}.myth-nav button.active{border-color:#ffe3a1;background:#534d2fe8}.developer-toggle{position:fixed;bottom:18px;left:18px;z-index:16;display:flex;gap:8px;align-items:center;background:#102b3be8;border:1px solid #ae9f6b;border-radius:10px;padding:9px 12px;font-size:10px;box-shadow:0 4px 15px #0006}.developer-toggle.enabled{background:#553c1fed;border-color:#f0c66e;color:#ffe4a4}.developer-toggle .icon{width:17px;height:17px}.alpha-label{display:none}.myth-main{min-height:100vh}.world-viewport{height:100vh!important;min-height:0}.world-chrome{left:86px;top:25px}.world-chrome h1{font-size:22px}.world-chrome small{font-size:7px}.world-chrome .map-tools{position:fixed;right:15px;top:16px;display:flex;flex-direction:column}.map-tools button{width:32px;height:30px;font-size:15px;padding:0}.city-switcher{top:109px;left:22px}.campaign-toolbar{top:100px;right:112px}.town-toolbar{bottom:65px;left:20px}.city-income{bottom:20px;right:110px}.map-hint{left:20px;bottom:112px;max-width:350px;font-size:8px}.content-page{padding:100px 112px 50px 28px;max-width:none}.journey-panel{right:110px;bottom:22px}.page-heading{padding:25px;position:relative}.page-heading h1{font-family:Prata,Georgia,serif;font-size:31px;font-weight:600;color:#ffe4a8;letter-spacing:.02em}.game-modal h2{font-family:Prata,Georgia,serif;font-size:27px;color:#ffe4a8}.category-caption h3{font-size:15px;margin:0}.category-caption{min-height:55px}.category-caption>span{display:none!important}.developer-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.developer-fields label{font-size:10px;color:#c8d9df;display:flex;flex-direction:column;gap:6px}.developer-fields input{width:100%;background:#071a29;border:1px solid #9db7ae66;border-radius:7px;color:#f5dfad;padding:10px;font:13px Manrope}.developer-options{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0 22px;font-size:11px}.developer-options label{display:flex;align-items:center;gap:6px}.developer-options input{accent-color:#d7ba75}.developer-modal{max-width:850px}.side-trails{position:absolute;inset:0;width:2400px;height:1600px;pointer-events:none}.side-trails path{fill:none;stroke:#9de9e0bc;stroke-width:3;stroke-dasharray:6 8;filter:drop-shadow(0 0 4px #89dace66)}.side-node{position:absolute;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:16px;border:2px solid #b5eee1;background:radial-gradient(#3c9a98,#163849);box-shadow:0 0 16px #b4f4d444,0 4px 10px #0007;display:grid;place-items:center;padding:0;z-index:4;opacity:1!important}.side-node .icon{width:27px;height:27px;color:#e2fff4}.side-node:disabled{filter:grayscale(.7) brightness(.6)}.side-node.repeat-node{background:radial-gradient(#8762ac,#292448);border-color:#e5c6ff}.side-node small{position:absolute;top:62px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:5px 7px;background:#122d41ed;border:1px solid #b6c5bf55;border-radius:6px;font-size:11px;color:#e7f2ea}.side-guide{position:absolute;left:300px;top:200px;background:#0c283ee8;border:1px solid #9abbb5;padding:20px;border-radius:12px;color:#cde2dc;font:16px Manrope;line-height:1.8}.inspect-layout .myth-card{width:270px;max-width:100%;height:390px}.living-portrait{background-size:cover!important}.inspect-layout{grid-template-columns:270px 1fr;gap:25px}.myth-card{box-shadow:0 12px 28px #0008,0 0 0 1px #ffe1a33b}.living-portrait:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,#fff2c410,transparent 50%,#80d8ff0c);mix-blend-mode:screen}.duel-stage{min-height:100vh;padding-top:85px;padding-right:100px}.battle-heading{padding-top:76px}.spell-rack{right:12px}.shop-grid{padding-top:10px}@media(max-width:1000px){.world-chrome h1{font-size:18px}.hud-wallet{gap:5px}.hud-resource{padding-right:7px}.hud-resource .raster-icon{width:31px;height:31px}.hud-resource b{font-size:11px}.player-level{display:none}.world-chrome{max-width:290px}.world-chrome small{display:none}.content-page{padding-left:20px}.category-caption h3{font-size:12px}}@media(max-width:650px){.myth-logo{display:none}.hud-wallet{left:8px;right:8px;top:9px;justify-content:center;gap:4px}.hud-resource{padding:3px 5px 3px 2px;min-height:35px;gap:2px}.hud-resource .raster-icon{width:25px;height:25px}.hud-resource b{font-size:10px}.effects-toggle,.sound{width:25px;height:28px}.myth-nav{top:auto;bottom:13px;left:50%;right:auto;transform:translateX(-50%);width:auto;flex-direction:row;gap:9px}.myth-nav button{width:61px;height:65px;padding:3px}.myth-nav button .raster-icon{width:37px;height:37px}.myth-nav button>span:last-child{font-size:8px}.world-chrome{top:67px;left:16px}.world-chrome .map-tools{top:65px;right:9px}.campaign-toolbar{top:115px;right:55px;left:10px}.city-switcher{top:112px;left:10px}.journey-panel{right:14px;bottom:90px;width:215px}.content-page{padding:82px 12px 110px}.game-modal{padding:28px 18px}.developer-toggle{bottom:88px;left:10px;padding:7px;font-size:8px}.developer-fields{grid-template-columns:repeat(2,1fr)}.developer-options{font-size:10px;gap:9px}.town-toolbar{bottom:144px;left:12px}.city-income{bottom:89px;right:12px;max-width:205px}.map-hint{display:none}.resource-tip{width:160px;font-size:10px}.hud-resource:first-of-type .resource-tip{left:0;transform:none}.inspect-layout{grid-template-columns:1fr;justify-items:center}.inspect-layout .myth-card{width:240px;height:350px}.duel-stage{padding-right:8px}.category-tile>.frame-corner{width:21px;height:21px}}
@font-face{font-family:'Cormorant UI';src:url('/assets/ui-cormorant.ttf') format('truetype');font-weight:600;font-display:swap}.page-heading h1,.game-modal h2,.world-chrome h1{font-family:'Cormorant UI',Georgia,serif;font-weight:600}.page-heading h1{font-size:37px;line-height:1.15}.world-chrome h1{font-size:30px}.game-modal h2{font-size:30px}.category-caption h3{font-family:'Cormorant UI',Georgia,serif;font-weight:600;font-size:21px;text-shadow:0 2px 5px #000}.resource-tip strong{font-family:'Cormorant UI',Georgia,serif;font-size:18px}@media(max-width:650px){.world-chrome h1{font-size:26px}.page-heading h1{font-size:29px}.category-caption h3{font-size:17px}.game-modal h2{font-size:27px}}
.art-modal{width:min(1040px,96vw);padding:24px;max-height:96vh}.art-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 35px 16px 0;font-size:11px}.art-controls b{font:26px 'Cormorant UI',Georgia;color:#ffe4a8;margin-right:auto}.art-controls button{padding:7px 11px;font-size:10px}.art-viewport{max-height:75vh;overflow:auto;text-align:center;background:#061622;border:1px solid #c6ac7133;border-radius:6px}.art-viewport img{width:auto;max-width:none;display:block;margin:0 auto;object-fit:contain}.inspect-art{margin-top:18px;font-size:11px}.myth-hud .resource-tip{font-weight:400}.myth-shell[data-screen=battle] .developer-toggle{opacity:.8}.world-chrome{pointer-events:none}.world-chrome .map-tools{pointer-events:auto}
.myth-battle{padding:92px 20px 25px;min-height:100vh}.myth-battle .battle-heading{padding-top:0}.myth-battle .duel-stage:not(.cinematic-stage){min-height:145px;height:145px;padding:0;margin:12px auto}.myth-battle .team-row .myth-card,.myth-battle .team-row .card-back{height:220px;min-height:220px}.myth-battle .duel-message{padding:10px 18px}.myth-battle .duel-message h2{font-size:22px;margin-bottom:7px}.myth-battle .duel-message p{font-size:10px;margin-bottom:7px}.myth-battle .duel-message>span>.icon{width:28px;height:28px;margin-bottom:5px}.myth-battle .spell-rack{max-height:calc(100vh - 185px);overflow:auto}.myth-battle .cinematic-stage{inset:72px 0 0;height:auto;padding:35px 170px 25px 25px;min-height:0}.myth-battle .battle-journal{margin-top:12px}@media(max-width:650px){.myth-battle{padding:80px 8px 110px}.myth-battle .team-row .myth-card,.myth-battle .team-row .card-back{height:155px;min-height:155px}.myth-battle .duel-stage:not(.cinematic-stage){min-height:130px;height:130px}.myth-battle .duel-message h2{font-size:18px}.myth-battle .duel-message p{font-size:9px}.myth-battle .duel-message small{display:none}.myth-battle .spell-rack{max-height:none;overflow:visible}.myth-battle .cinematic-stage{inset:65px 0 0;padding:18px 8px 160px}.myth-battle:has(.cinematic-stage) .spell-rack{max-height:110px;overflow:auto}}

/* Terrain paintings retain their authored ground detail. */
.city-scene .terrain-detail{opacity:.1;mix-blend-mode:soft-light}.settlement-forge .terrain-detail,.settlement-astral .terrain-detail{opacity:.08}

/* Obsidian and solar gold. Textures tile at a fixed scale; ornaments never stretch. */
:root{--relic-surface:linear-gradient(135deg,#122b40b8,#080f20e8),url('/assets/ui-obsidian-v18.webp');--relic-line:#c9a4618a;--relic-shadow:0 12px 30px #03071366,inset 0 1px #fff0c32b,inset 0 -2px #0006;--relic-text:#f7e9cb}
.game-modal,.journey-panel,.shop-offer,.building-offers article,.page-heading,.catalog-filters,.route-panel,.building-benefit,.quest-completion,.duel-center,.battle-journal,.spell-rack,.reward-stat,.quest-reward-preview,.reward-stats>div,.arena-panel,.resource-tip{background-image:var(--relic-surface);background-size:auto,480px 480px;background-color:#0b1728;border:1px solid var(--relic-line);border-radius:18px 5px 18px 5px;box-shadow:var(--relic-shadow);color:var(--relic-text)}
.game-modal{padding:38px;isolation:isolate;box-shadow:0 35px 100px #000b,0 0 50px #5589bc15,inset 0 0 0 4px #0b1525,inset 0 0 0 5px #d9bb7040}
.game-modal:before{height:54px;width:54px;left:calc(50% - 27px);top:-27px;right:auto;opacity:1;background:url('/assets/ui-sigil-v18.svg') center/54px 54px no-repeat;filter:drop-shadow(0 3px 7px #000);border:0}
.game-modal:after{content:'';inset:14px;position:absolute;border:1px solid #d7bc7024;border-radius:10px 2px;pointer-events:none;z-index:-1}
.game-modal>.frame-corner,.journey-panel>.frame-corner,.shop-offer>.frame-corner,.page-heading>.frame-corner{background:none;width:18px;height:18px;border:0;border-top:2px solid #efce89;border-left:2px solid #efce89;opacity:.8;top:6px;left:6px;right:auto;bottom:auto;transform:none}
.game-modal>.corner-tr,.journey-panel>.corner-tr,.shop-offer>.corner-tr,.page-heading>.corner-tr{left:auto;right:6px;transform:rotate(90deg)}
.game-modal>.corner-bl,.journey-panel>.corner-bl,.shop-offer>.corner-bl,.page-heading>.corner-bl{top:auto;bottom:6px;transform:rotate(-90deg)}
.game-modal>.corner-br,.journey-panel>.corner-br,.shop-offer>.corner-br,.page-heading>.corner-br{top:auto;left:auto;bottom:6px;right:6px;transform:rotate(180deg)}
.game-modal h2{font-size:34px;line-height:1.1;letter-spacing:.01em;margin:9px 0 23px;padding-bottom:18px;border-bottom:1px solid #e0bd5d35;text-shadow:0 2px 12px #eabf5f22}
.game-modal h3,.journey-panel h3{color:#ffe5b0}.game-modal p{color:#c2ccda}.modal-backdrop,.modal-overlay{backdrop-filter:blur(12px)}
button:not(.map-object):not(.lot-cell):not(.category-tile):not(.card-inspect):not(.myth-logo):not(.journey-node):not(.side-node){border-radius:10px 3px 10px 3px}
.game-modal button:not(.modal-close):not(.card-inspect),.town-toolbar button,.campaign-toolbar button,.city-switcher button,.catalog-pagination button,.card-actions button,.developer-toggle{background-image:linear-gradient(150deg,#25445ed9,#101b2af5),url('/assets/ui-obsidian-v18.webp');background-size:auto,320px 320px;border-color:#a8bcd75e;box-shadow:inset 0 1px #eff9ff24,0 3px 8px #0004;color:#dce8f5}
.gold-button,.game-modal .gold-button{background:linear-gradient(110deg,#fff0bd,#d2a54f 65%,#a77230);color:#33220b;border:1px solid #ffe8a4;box-shadow:inset 0 1px #fff7dd,inset 0 -3px #82541970,0 3px 14px #0005;text-shadow:0 1px #fff2c560}
button:hover:not(:disabled):not(.map-object):not(.lot-cell){border-color:#ffe0a0;box-shadow:0 0 18px #f5c37022,inset 0 1px #fff3ce45}.modal-close{border-radius:50%!important;background:#0a1627;border-color:#ddba6b88;color:#ffe5ba;box-shadow:0 4px 10px #0008}
.world-chrome>div:first-child{position:relative;padding:10px 23px 12px 18px;background:linear-gradient(90deg,#0a1428ed,#122a3bdd 75%,transparent);border-left:2px solid #e4ba69;min-width:160px;border-radius:0 0 20px 0}
.world-chrome h1{margin:2px 0 5px;color:#ffedc8;font-size:31px}.world-chrome small{color:#dcb974;letter-spacing:2px}.world-chrome{left:85px;top:17px}
.worker-badge{display:block;background:none;border:0;padding:0;backdrop-filter:none;color:#b9cce0;font-size:8px;white-space:nowrap}.world-chrome .worker-badge .icon{color:#f2cf87}
.city-switcher{top:126px;gap:5px}.city-switcher button{padding:8px 13px;min-height:43px}.city-switcher button.active,.campaign-toolbar button.active{background:linear-gradient(130deg,#73572c,#282538)!important;border-color:#edcb86;color:#fff0c6;box-shadow:inset 0 -2px #efc27266,0 4px 12px #0005}.city-switcher small{color:#b4c5d8;font-size:8px}
.hud-resource{background:linear-gradient(130deg,#1c3449f2,#091525f5);border:1px solid #d9b56680;border-radius:13px 4px 13px 4px;box-shadow:inset 0 1px #fff3cc35,inset 0 -2px #0005,0 4px 12px #0006;padding:4px 11px 4px 4px;gap:5px}.hud-resource b{font-family:Manrope;font-size:13px;letter-spacing:.2px;color:#fff1cd}.hud-resource:after{background:linear-gradient(90deg,transparent,#f6d28a99,transparent)}
.hud-resource .raster-icon{width:38px;height:38px;filter:drop-shadow(0 2px 4px #0009)}.player-level{background:#0e1d30e8;border:1px solid #c7a26488;border-radius:50%;width:43px;height:43px;padding:0;display:flex;align-items:center;justify-content:center;gap:2px;font-size:9px;color:#ffe7b2}.player-level .icon{width:12px}
.effects-toggle,.sound{background:#0b1a2bea;border:1px solid #d0af6a66;box-shadow:inset 0 1px #fff1c322}.myth-logo>span{background:url('/assets/ui-sigil-v18.svg') center/contain no-repeat;border:0;clip-path:none;width:47px;height:58px;animation:none}.myth-logo>span>.icon{opacity:0}
.myth-nav{gap:12px}.myth-nav button{position:relative;border:1px solid #c3a15c;border-radius:18px 5px 18px 5px!important;background:linear-gradient(145deg,#26415fe8,#0a1426f5 75%);box-shadow:inset 0 0 0 3px #081727,inset 0 0 0 4px #d7b77344,0 6px 15px #0008;overflow:visible}.myth-nav button:after{content:'';position:absolute;bottom:-4px;left:calc(50% - 4px);width:7px;height:7px;background:#dec17f;transform:rotate(45deg);border:1px solid #fff0bd}.myth-nav button .raster-icon{filter:drop-shadow(0 3px 5px #0008);transition:transform .2s}.myth-nav button:hover .raster-icon{transform:translateY(-3px) scale(1.08)}.myth-nav button>span:last-child{font-family:Manrope;font-size:9px;color:#ffe6b6}
.map-tools{background:none;border:0;box-shadow:none;backdrop-filter:none;padding:0;gap:6px}.map-tools button{width:34px;height:34px;background:linear-gradient(140deg,#28435a,#0c1a2c);border:1px solid #d0b17499;border-radius:50%!important;box-shadow:inset 0 0 0 3px #102337,0 3px 9px #0008;color:#ffe7b3}.map-tools button:nth-child(2){font-size:20px;color:#c8f0f3}
.object-label{background:linear-gradient(90deg,#081220d9,#162d40f5 18%,#162d40f5 82%,#081220d9);border:0;border-bottom:1px solid #dbbd7777;border-radius:3px 3px 12px 12px;padding:5px 13px;font-family:Manrope;font-size:11px;font-weight:600;color:#fff0cb;box-shadow:0 4px 8px #0005;backdrop-filter:blur(4px);text-shadow:0 1px 2px #000}.object-label small{font-size:8px;letter-spacing:.5px;font-weight:400;color:#afc4d8}.map-object:hover .object-label{border-bottom-color:#ffe2a0;background:#152f46;color:#fff5db}.build-timer{border-radius:9px 2px!important;background:#302b1ef2!important;border:1px solid #f0cd7c!important;color:#ffe9b1!important}
.town-toolbar,.city-income{background-image:var(--relic-surface);background-size:auto,480px 480px;border:1px solid #d1af6b80;border-radius:14px 4px 14px 4px;box-shadow:var(--relic-shadow);backdrop-filter:blur(8px)}.town-toolbar{padding:6px;gap:6px}.town-toolbar button{padding:10px 13px}.city-income{padding:13px;gap:14px}.city-income>div{color:#b9ccde;font-size:10px}.city-income b{color:#fff0c7;font-size:14px}.map-hint{background:linear-gradient(90deg,#091628e8,#12283ac4);border:0;border-left:2px solid #d6b16c;border-radius:0 9px 9px 0;color:#c1cede;padding:8px 12px;line-height:1.6}
.resource-tip{border-radius:13px 3px;padding:16px 18px}.resource-tip:before{background:#112238;border-color:#d1af6b}.resource-tip strong{color:#ffe5ac;font-size:21px}.resource-tip>span{color:#c5d4e6}.journey-panel{padding:23px}.journey-panel>small{color:#d3b878}.journey-panel h3{font-size:24px}.journey-panel p{color:#b8cee0}.journey-tooltip,.side-node small,.journey-current,.atlas-caption{background:linear-gradient(135deg,#182f45f5,#091523f2);border:1px solid #c5a56980;border-radius:9px 2px;box-shadow:0 4px 15px #0006;color:#e7d9ba}.page-heading{border-left:2px solid #eac578}.catalog-filters select,.developer-fields input{background:#081425;border-color:#9daec666;border-radius:7px 2px;color:#e6e7df}.route-options button{border-left:2px solid #bf9d5d!important}
@media(max-width:1000px){.hud-resource .raster-icon{width:30px;height:30px}.hud-resource{padding-right:7px}.hud-resource b{font-size:11px}.player-level{display:none}.world-chrome>div:first-child{min-width:140px;padding-left:10px}.world-chrome h1{font-size:27px}}
@media(max-width:650px){.world-chrome{left:12px;top:65px}.world-chrome>div:first-child{padding:5px 12px;min-width:110px}.world-chrome h1{font-size:25px;margin:1px 0}.worker-badge{font-size:7px}.city-switcher{top:127px}.city-switcher button{padding:6px 8px;min-height:36px}.hud-resource .raster-icon{width:26px;height:26px}.hud-resource{padding:3px 5px 3px 2px;gap:2px}.hud-resource b{font-size:10px}.game-modal{padding:28px 22px}.game-modal h2{font-size:28px}.game-modal:before{width:40px;height:40px;top:-20px;left:calc(50% - 20px);background-size:40px}.myth-nav{gap:8px}.myth-nav button{border-radius:13px 4px!important}.journey-panel h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.myth-nav button .raster-icon{transition:none}}

/* Solar seals are fixed-size artwork, independent of panel dimensions. */
.game-modal:before{top:26px;left:auto;right:65px;width:84px;height:84px;background-size:84px;opacity:.3;filter:drop-shadow(0 0 14px #d7bd5b33);z-index:-1}
.modal-emblem{border:0;border-radius:0;background:url('/assets/ui-sigil-v18.svg') center/76px 76px no-repeat;width:76px;height:76px;box-shadow:none}.modal-emblem .raster-icon{width:43px;height:43px;filter:drop-shadow(0 3px 4px #000)}
.object-label:before{content:'';position:absolute;left:-4px;top:8px;width:6px;height:6px;background:#dfbd73;transform:rotate(45deg);box-shadow:0 0 4px #0008}.object-label:after{content:'';position:absolute;right:-4px;top:8px;width:6px;height:6px;background:#dfbd73;transform:rotate(45deg);box-shadow:0 0 4px #0008}
.journey-panel:before{content:'';position:absolute;right:15px;top:15px;width:42px;height:42px;background:url('/assets/ui-sigil-v18.svg') center/contain;opacity:.25;pointer-events:none}
@media(max-width:650px){.game-modal:before{width:56px;height:56px;background-size:56px;right:55px;top:24px}.object-label:before,.object-label:after{width:4px;height:4px}}


/* Cohesive painted city worlds, without the repeated-material experiment. */
.city-objective{position:absolute;left:22px;top:190px;width:238px;padding:15px 16px;background:linear-gradient(120deg,#0b192cf5,#172e3fe8);border:1px solid #d8b67477;border-left:2px solid #edc776;border-radius:3px 15px 15px 3px;box-shadow:0 8px 25px #0005;z-index:5}.city-objective>small{display:block;font-size:7px;letter-spacing:2px;color:#c8ac75;margin-bottom:7px}.city-objective>b{display:block;font:23px 'Cormorant UI',Georgia;color:#ffebbd;line-height:1.1}.city-objective>span{display:block;color:#a8bdce;font-size:9px;margin:8px 0 13px}.city-objective>div{display:flex;gap:6px}.city-objective button{font-size:9px;padding:8px}.city-objective button:last-child{padding:7px;min-width:30px}.city-objective .icon{width:15px;height:15px}.chronicle-modal{max-width:900px}.chronicle-cover{position:relative;padding:25px 24px;background:linear-gradient(90deg,#071423f0,#0c1b2b66),url('/assets/island-journey-v17.webp') center 40%/cover;border:1px solid #d9b87066;border-radius:12px 3px;overflow:hidden}.chronicle-cover>small{font-size:8px;letter-spacing:3px;color:#e8c88d}.chronicle-cover h2{border:0;margin:14px 0 10px;padding:0;font-size:40px}.chronicle-cover p{max-width:430px;margin:0;color:#dae0d8}.chronicle-progress{display:flex;gap:20px;align-items:center;margin:20px 0}.chronicle-progress>b{font:30px 'Cormorant UI',Georgia;color:#ffe6b2;white-space:nowrap}.chronicle-progress small{font:11px Manrope;color:#adbecb}.chronicle-progress .track{flex:1;height:5px}.chronicle-islands{display:grid;grid-template-columns:1fr 1fr;gap:9px}.chronicle-islands>button{display:flex;gap:13px;align-items:center;text-align:left;padding:12px}.chronicle-islands>button>span{font:26px 'Cormorant UI',Georgia;color:#e2c085}.chronicle-islands>button>div{flex:1}.chronicle-islands b,.chronicle-islands small{display:block}.chronicle-islands b{font-size:11px;color:#f0e1c3}.chronicle-islands small{font-size:8px;margin-top:5px;color:#a5bacc}.chronicle-islands .icon{width:19px;height:19px;color:#c3d4d8}.chronicle-next{margin-top:20px;border-top:1px solid #d2b27044;padding-top:18px}.chronicle-next>small{font-size:8px;letter-spacing:2px;color:#cfb782}.chronicle-next h3{font:26px 'Cormorant UI',Georgia;margin:8px 0}.chronicle-next p{margin-bottom:17px}.chronicle-tip{font-size:10px!important;margin-bottom:0}.expedition-preparation{padding:16px 18px;margin:18px 0;border:1px solid #829ca055;border-radius:12px;background:#0614207a}.expedition-preparation h3{font:23px 'Cormorant UI',Georgia;margin:0 0 12px}.preparation-checks{display:flex;flex-wrap:wrap;gap:7px}.preparation-checks>span{font-size:10px;padding:7px 9px;border:1px solid #9bb4b53d;border-radius:7px;color:#c4d1de;display:flex;gap:5px;align-items:center}.preparation-checks .icon{width:14px;height:14px}.preparation-checks .ready{border-color:#72c4a957;color:#b1e7c5}.warning,.preparation-checks .warning{color:#f3c991;border-color:#d1a46888}.expedition-preparation p{font-size:11px;margin:11px 0}.preparation-links{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.preparation-links button{font-size:10px;padding:8px 12px}.expedition-preparation>small{font-size:9px;color:#9eb2c5;line-height:1.7}.pair-briefing{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1100px;margin:0 auto 14px;padding:14px 18px;background:linear-gradient(110deg,#152c3df0,#091724f0);border:1px solid #c9ae6e6b;border-radius:10px 3px;box-shadow:0 5px 18px #0003}.pair-briefing>div{flex:1}.pair-briefing small{font-size:8px;letter-spacing:1.5px;color:#cbb17a;display:block;margin-bottom:6px}.pair-briefing b{font-size:14px;color:#ffe5b5}.pair-briefing b>span{font-size:10px;color:#b7cad7;margin-left:8px;font-weight:400}.pair-briefing p{font-size:10px;margin:6px 0;color:#d6dddc;line-height:1.6}.pair-briefing .tactical-note{color:#9dcebe}.pair-briefing>button{font-size:11px;white-space:nowrap;padding:13px 18px}.pair-briefing.empty{justify-content:center;padding:12px;gap:30px;color:#a3b8c8;font-size:10px}.matchup-tag{position:absolute;left:3px;right:3px;bottom:-10px;z-index:5;padding:5px 2px;border:1px solid #8ecea8;background:#163b30ef;color:#c8f6d7;font-size:8px;border-radius:5px;box-shadow:0 3px 8px #0008}.matchup-tag.dangerous{background:#492b25ef;border-color:#d4a273;color:#f5c5a2}.board-card:has(.matchup-tag){margin-bottom:10px}.board-card.pair-active .myth-card{box-shadow:0 0 0 2px #f3d28c,0 0 25px #e4bf5a55}.reward-celebration{position:fixed;inset:0;z-index:100;pointer-events:none;overflow:hidden}.reward-celebration i{position:absolute;left:50%;top:48%;font:22px Georgia;color:#f9d580;text-shadow:0 0 15px #ffe3a0;animation:reward-spark .9s ease-out both;--dx:0px;--dy:0px;animation-delay:calc(var(--n)*15ms)}@keyframes reward-spark{from{opacity:0;transform:translate(0,0) scale(.3)}20%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(140deg) scale(.6)}}
@media(max-width:650px){.city-objective{top:177px;left:10px;width:190px;padding:10px 12px}.city-objective>b{font-size:20px}.city-objective>span{font-size:8px;margin:7px 0}.city-objective button{font-size:8px;padding:6px}.chronicle-islands{grid-template-columns:1fr}.chronicle-cover{padding:18px}.chronicle-cover h2{font-size:31px}.chronicle-cover p{font-size:11px}.pair-briefing{padding:10px;gap:7px;flex-wrap:wrap}.pair-briefing b>span{display:block;margin:5px 0}.pair-briefing>button{width:100%}.pair-briefing.empty{gap:8px;flex-wrap:wrap;font-size:8px}.matchup-tag{font-size:6px;padding:4px 1px}.preparation-checks>span{font-size:9px}.chronicle-modal{padding:28px 18px}}
@media(prefers-reduced-motion:reduce){.reward-celebration{display:none}}
.world-viewport[data-world=city] .world-camera,.world-viewport[data-world=city] .world-scene{width:4800px;height:3200px}
.world-camera .city-scene.settlement-haven{background-image:url('/assets/world-haven-v21.webp')}.world-camera .city-scene.settlement-forge{background-image:url('/assets/world-forge-v21.webp')}.world-camera .city-scene.settlement-astral{background-image:url('/assets/world-astral-v21.webp')}
.world-camera .city-scene{background-size:4800px 3200px;background-position:0 0;isolation:isolate}.world-camera .city-scene .terrain-detail{display:none}.settlement-grid{z-index:2}.planning .lot-cell path{stroke:#f5efc043;fill:#b7d88608}

.game-modal button.gold-button:not(.modal-close):not(.card-inspect){background:linear-gradient(110deg,#fff0bd,#d2a54f 65%,#a77230);color:#33220b;border:1px solid #ffe8a4;box-shadow:inset 0 1px #fff7dd,inset 0 -3px #82541970,0 3px 14px #0005;text-shadow:0 1px #fff2c560}

.result-heading{position:relative;padding:24px!important;min-height:180px;border:1px solid #c8a66777;border-radius:17px 4px;background:linear-gradient(90deg,#071727ed,#102c3fd9),url('/assets/island-sanctum-v17.webp') center 42%/cover;overflow:hidden}.result-heading h1{font:600 43px 'Cormorant UI',Georgia;color:#ffe7b4;margin:10px 0}.result-heading>small{color:#cdbb91;letter-spacing:1px}.result-heading p{font-size:12px;line-height:1.7;color:#d6dfdf}.result-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:18px 0}.result-actions button{padding:12px 20px;font-size:11px}.result-page .reward-strip{margin:18px 0 24px;padding:20px;background:linear-gradient(100deg,#182d3de8,#0b1927e8);border-color:#c4a86c70}.result-page .perfect-bonus{font-size:11px}.result-page h2{font-family:'Cormorant UI',Georgia;font-size:26px}.result-page h2 small{font-family:Manrope;font-size:10px}@media(max-width:650px){.result-heading h1{font-size:31px}.result-heading{padding:18px!important}.result-actions button{padding:10px 14px}.result-page .reward-strip{gap:6px;padding:14px}}
.growth-preview{display:grid;gap:4px;padding:10px 12px;margin:6px 0;background:linear-gradient(120deg,#102d3c,#172338);border-left:2px solid #d9b265;border-radius:4px 10px 10px 4px;font-size:12px;color:#dbe6eb}.growth-preview>span{color:#e9c981;font-weight:700}.growth-preview>b{font-weight:500}.encounter-scouting{margin:16px 0;border:1px solid #bb9b5366;border-radius:12px;background:linear-gradient(135deg,#152c3c,#111d2d);padding:12px 16px}.encounter-scouting summary{cursor:pointer;color:#f1d79b;font-weight:700;display:flex;gap:10px;align-items:center}.encounter-scouting summary span{margin-left:auto;font-size:12px;color:#b8cbd3}.encounter-scouting summary .icon{width:22px;height:22px}.encounter-scouting>p{font-size:12px;color:#bdd0d9}.scouting-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:12px}.scouting-roster>div{display:grid;align-content:start;gap:6px;padding:12px;border:1px solid #9bb5c522;border-radius:8px;background:#ffffff04}.scouting-roster b{color:#f2e4bf}.scouting-roster small{color:#a9becb;font-size:11px;line-height:1.5}.scouting-roster span{font-size:12px;color:#e6edf0}.scouting-roster strong{font-size:12px;color:#e9c981}
.encounter-advice{margin:12px 0;padding:12px 15px;border-left:2px solid #d8b572;background:linear-gradient(100deg,#b5934420,transparent);border-radius:0 10px 10px 0}.encounter-advice b{color:#e9cb8e;font-family:Georgia,serif;font-size:16px}.encounter-advice p{margin:6px 0 0;color:#cbdbe3;font-size:13px;line-height:1.6}
.kit-team,.kit-spells{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:14px 0}.kit-team>div,.kit-spells>div{padding:12px;display:flex;flex-direction:column;gap:8px;background:#ffffff05;border:1px solid #b6c6d222;border-radius:10px}.kit-team button:first-child{display:grid;text-align:left;gap:4px;background:transparent;border:0;padding:0;color:#edd4a0}.kit-team small,.kit-spells small{color:#a9bfcd;font-size:11px;line-height:1.5}.kit-team span{font-size:12px}.kit-team button:last-child,.kit-spells button{margin-top:auto;font-size:12px;min-height:36px}.kit-spells p{font-size:12px;line-height:1.5;margin:0}.expedition-kit h4{color:#edcf90;margin-bottom:8px}
.energy-recovery{padding:10px 12px;background:#4687af15;border:1px solid #7dbfdf33;border-radius:8px;color:#bbdbe9!important;font-size:12px!important;line-height:1.6}.energy-recovery .icon{width:18px;height:18px;vertical-align:middle}
.preparation-modal{display:flex!important;flex-direction:column;max-height:88vh;overflow:hidden!important}.preparation-modal>h2{flex-shrink:0}.preparation-tabs{display:flex;gap:8px;flex-shrink:0;margin:10px 0 16px}.preparation-tabs button{flex:1;min-height:42px}.preparation-tabs button.active{border-color:#e5c381;color:#ffe1a6;background:linear-gradient(135deg,#65502e,#293848)}.preparation-body{overflow-y:auto;min-height:0;padding-right:8px;overscroll-behavior:contain}.preparation-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding-top:14px;margin-top:10px;border-top:1px solid #cfb27455;background:#10202ddf}.preparation-footer>span{font-size:12px;color:#bed2dd}.preparation-footer .gold-button{min-width:180px}.preparation-body .encounter-scouting{margin-top:0}.preparation-body .encounter-scouting>summary{pointer-events:none;list-style:none}.preparation-body .encounter-scouting>summary::-webkit-details-marker{display:none}@media(max-width:600px){.preparation-footer{flex-wrap:wrap}.preparation-footer .gold-button{width:100%}.preparation-tabs{gap:4px}.preparation-tabs button{font-size:11px;padding:8px}}
.combat-status{position:absolute;left:8px;right:8px;top:calc(100% + 8px);display:flex;justify-content:center;gap:5px;flex-wrap:wrap;z-index:3}.combat-status>span{padding:5px 8px;border-radius:7px;background:#142c3ef0;border:1px solid #8ab8d066;color:#d8edf9;font-size:11px;box-shadow:0 3px 9px #0006}.combat-status .icon{width:14px;height:14px;vertical-align:middle}.combat-status .status-seal{color:#e7c9fb;border-color:#bd8ddd66}.combat-status .status-poison{color:#cee8a5;border-color:#9dbd6266}.combat-status .status-clear{opacity:.65;border-color:transparent}.battle-event-strip{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;min-height:26px;margin:12px auto;font-size:12px;color:#e8c98d}.battle-event-strip span{padding:6px 10px;background:#102537df;border:1px solid #a68a4c55;border-radius:8px}
/* Art direction v30: aged bronze, ivory lettering, restrained teal magic.
   Rank uses a rim accent; illumination belongs to an event, not the whole screen. */
.myth-shell{--art-bronze:#bea16b;--art-ivory:#efe3c9;--art-teal:#78b9bd;--art-shadow:#101b25}
.myth-card{border-color:#af986c!important;box-shadow:0 5px 14px #0006!important;isolation:isolate;background:#111c27}.myth-card:after{pointer-events:none}.myth-card .card-caption{background:linear-gradient(0deg,#07111af5 0%,#0b1727ed 55%,#0b172700 100%);color:var(--art-ivory)}.myth-card .card-caption h3{text-shadow:0 2px 3px #000;font-weight:700;color:#f2e5c8}.myth-card .rarity-seal{color:#d5c19b}.myth-card .card-ability{color:#d9e0dd}.myth-card .hp-bar{height:3px;background:#19242a}.myth-card .hp-bar i{background:#78b5a1;box-shadow:none}.myth-card .rank-crown{background:#0c1724c9;border-bottom:1px solid var(--rank-color);text-shadow:none}.myth-card .portrait-aura{animation:none!important;opacity:.035!important;background:radial-gradient(ellipse at 50% 95%,var(--rank-glow),transparent 55%)}.myth-card .portrait-light{display:none!important}.myth-card .living-portrait{filter:none!important;animation:art-breathe 13s ease-in-out infinite!important;transform-origin:50% 60%}.myth-card .living-portrait:after{background:linear-gradient(160deg,#f1d9aa08,transparent 45%,#07203012);mix-blend-mode:normal}.collection-item:nth-child(3n+2) .living-portrait{animation-delay:-4s!important}.collection-item:nth-child(3n) .living-portrait{animation-delay:-8s!important}.collection-item .myth-card:hover{border-color:#e7c992!important;box-shadow:0 8px 22px #0008!important}.portrait-motes{position:absolute;inset:8% 12% 25%;pointer-events:none;opacity:0;background:radial-gradient(circle at 18% 65%,#d8ede9 0 1px,transparent 2px),radial-gradient(circle at 80% 80%,#c5e3de 0 1px,transparent 2px),radial-gradient(circle at 63% 40%,#c9e7df 0 1px,transparent 2px)}.myth-card[data-weapon=staff] .portrait-motes,.myth-card[data-weapon=fire] .portrait-motes{opacity:.3;animation:quiet-motes 9s ease-in-out infinite}.myth-card[data-weapon=fire] .portrait-motes{filter:sepia(1)}.board-card .living-portrait{animation:none!important}.battle-atmosphere{opacity:.13!important}.battle-atmosphere i{box-shadow:none!important}.cinematic-stage:before{opacity:.08!important}.board-card.pair-active .myth-card{border-color:#e1c383!important;box-shadow:0 0 0 1px #e1c383,0 8px 20px #0008!important}.structure-picture{filter:drop-shadow(0 8px 5px #18202266)!important}.map-object:hover .structure-picture{filter:drop-shadow(0 8px 5px #18202288) brightness(1.04)!important}.duel-pair .duelist{transform-origin:50% 75%}.duel-pair .duelist .living-portrait{animation:none!important}.duel-center{position:relative;overflow:visible}.impact-caption{display:block;font-size:12px;letter-spacing:.5px;color:#e7dbbf;min-height:18px}.impact-mark{position:absolute;inset:15% -12%;pointer-events:none;z-index:8;display:grid;place-items:center}.impact-mark i{position:absolute;width:85%;height:3px;background:linear-gradient(90deg,transparent,#f2e5bf,transparent);transform:rotate(-28deg);animation:weapon-trace .35s ease-out both;box-shadow:0 0 6px #f9df9e55}.impact-mark i:nth-child(2),.impact-mark i:nth-child(3){display:none}.impact-critical i{height:5px;box-shadow:0 0 15px #ffd77899}.impact-critical i:nth-child(2){display:block;transform:rotate(32deg);animation-delay:45ms}.impact-critical+.impact-caption{color:#ffdb8b;font-size:14px}.impact-ability i{width:110px;height:110px;border:2px solid #96d8da;background:none;border-radius:50%;box-shadow:0 0 15px #73c7cd66;animation:magic-ring .55s ease-out both}.impact-ability i:nth-child(2){display:block;animation-delay:.1s}.impact-evade i{background:linear-gradient(90deg,transparent,#8db2c455,transparent);height:1px;opacity:.5}.impact-blocked i{width:60px;height:60px;border:1px solid #b0d4e7;border-radius:50%;background:none;animation:magic-ring .3s ease-out both}.duel-pair[data-attack-weapon=hammer] .impact-normal i,.duel-pair[data-attack-weapon=siege] .impact-normal i{width:75px;height:75px;border:2px solid #d2bc90;border-radius:50%;background:none;animation:magic-ring .35s ease-out both}.duel-pair[data-attack-weapon=bow] .impact-normal i,.duel-pair[data-attack-weapon=spear] .impact-normal i{height:2px;transform:rotate(0);width:120%}.duel-pair[data-impact=critical].striking-player>.duelist:first-child{animation:heavy-lunge-right .62s ease-in-out}.duel-pair[data-impact=critical].striking-enemy>.duelist:last-child{animation:heavy-lunge-left .62s ease-in-out}.myth-card.card-defeated{filter:grayscale(.9) brightness(.57);animation:card-fall .65s ease-out both!important;border-color:#68645c!important;box-shadow:0 2px 4px #0006!important}.card-defeated .living-portrait,.card-defeated .portrait-motes{animation:none!important}.card-defeated .portrait-motes{display:none}.duel-enter .duelist{animation-duration:.85s!important}.reduced-effects .living-portrait,.reduced-effects .portrait-motes,.reduced-effects .impact-mark i,.reduced-effects .card-defeated{animation:none!important}.reduced-effects .portrait-motes,.reduced-effects .impact-mark{display:none!important}
@keyframes art-breathe{0%,100%{transform:scale(1.015) translateY(0)}50%{transform:scale(1.028) translateY(-.2%)}}
@keyframes quiet-motes{0%,100%{transform:translateY(6px);opacity:.08}50%{transform:translateY(-6px);opacity:.3}}
@keyframes weapon-trace{0%{opacity:0;scale:.25 1}25%{opacity:.95}100%{opacity:0;scale:1.3 1}}
@keyframes magic-ring{from{opacity:.8;scale:.3}to{opacity:0;scale:1.8}}
@keyframes card-fall{from{transform:translateY(0) rotate(0)}to{transform:translateY(7px) rotate(-2deg)}}
@keyframes heavy-lunge-right{0%,100%{transform:translateX(0) rotate(0)}30%{transform:translateX(-8px) rotate(-2deg)}50%{transform:translateX(28px) rotate(3deg)}}
@keyframes heavy-lunge-left{0%,100%{transform:translateX(0) rotate(0)}30%{transform:translateX(8px) rotate(2deg)}50%{transform:translateX(-28px) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){.myth-shell .living-portrait,.myth-shell .portrait-motes,.myth-shell .impact-mark i,.myth-shell .duelist,.myth-shell .card-defeated{animation:none!important}.myth-shell .impact-mark,.myth-shell .portrait-motes{display:none!important}}
/* Accessibility: disable movement while retaining outcome and status labels. */
.myth-shell.reduced-effects .duelist,.myth-shell.reduced-effects .battle-atmosphere i,.myth-shell.reduced-effects .victory-rays{animation:none!important}.myth-shell.reduced-effects .portrait-aura{display:none!important}
.mastery-panel{margin:14px 0;padding:13px 15px;border:1px solid #7a91a644;border-left:2px solid #8099a7;border-radius:3px 10px 10px 3px;background:#11293a88}.mastery-panel>small{display:block;color:#8ea6b7;font-size:9px;letter-spacing:1px}.mastery-panel>b{display:flex;align-items:center;gap:7px;margin:7px 0;color:#c8d5db}.mastery-panel .icon{width:18px;height:18px}.mastery-panel p{font-size:12px!important;margin:0!important;line-height:1.6!important}.mastery-panel.mastery-unlocked{border-color:#bfa16966;border-left-color:#d7b56f;background:linear-gradient(110deg,#aa874518,#122c3b88)}.mastery-unlocked>b{color:#efd29b}.mastery-seal{position:absolute;top:28px;left:50%;transform:translateX(-50%);z-index:3;white-space:nowrap;max-width:80%;overflow:hidden;text-overflow:ellipsis;color:#edcf91;background:#132330de;border:1px solid #d4b67766;border-radius:4px;padding:3px 6px;font-size:8px;letter-spacing:.2px}.compact .mastery-seal{display:none}
.replacement-modal{max-width:1050px!important}.replacement-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.replacement-options article{display:flex;flex-direction:column;gap:8px;border:1px solid #a3906255;background:#10233388;border-radius:9px;padding:8px}.replacement-options p{font-size:11px;margin:0!important}.replacement-options small{font-size:10px;color:#b1c6d3;line-height:1.6}.replacement-options button{font-size:11px;margin-top:auto;padding:9px 6px}.replacement-portrait .myth-card{width:100%;height:auto;aspect-ratio:2/3}.replacement-portrait .card-caption h3{font-size:12px}.replacement-portrait .card-numbers{font-size:11px}.replacement-portrait .rank-crown{font-size:8px}@media(max-width:700px){.replacement-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.quest-challenge{margin:14px 0;padding:14px 16px;border:1px solid #a1a98c66;border-left:2px solid #bbbc84;background:linear-gradient(120deg,#35443955,#112b3188);border-radius:3px 12px 12px 3px}.quest-challenge small{display:block;font-size:9px;color:#adbfad;line-height:1.6}.quest-challenge>b{display:flex;align-items:center;gap:8px;font-size:16px;color:#e0dfbc;margin:7px 0}.quest-challenge .icon{width:18px;height:18px}.quest-challenge p{font-size:12px;line-height:1.6;margin:6px 0}.quest-challenge>span{display:block;color:#e5c78c;font-size:12px;margin:8px 0}.quest-challenge.challenge-completed{border-left-color:#83caa3}
/* Usability pass 0.32: consistent scale, clear hierarchy, restrained materials. */
:root{--ux-text:#e5e8e8;--ux-muted:#adbdc9;--ux-edge:#8da8bb3d;--ux-panel:#102334;--ux-accent:#dcc28c;--ux-radius:12px}
.myth-main>.content-page{padding-top:92px;padding-bottom:60px}.content-page .page-heading{padding:20px 24px!important;margin-bottom:22px!important}.content-page .page-heading h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.15!important;margin:10px 0!important}.content-page .page-heading>span{font-size:10px!important;letter-spacing:1.5px!important}.content-page .page-heading p{font-size:13px!important;line-height:1.7!important;max-width:800px!important;margin:8px 0 0!important;color:var(--ux-muted)}.content-page button,.game-modal button{min-height:38px;font-size:12px;line-height:1.4}.content-page button:disabled,.game-modal button:disabled{opacity:.65;filter:saturate(.5);cursor:not-allowed}.myth-hud .hud-wallet{background:#0b1b2de8;padding:6px 8px;border:1px solid var(--ux-edge);border-radius:12px;backdrop-filter:blur(12px)}.hud-resource .resource-tip{font-size:12px!important;line-height:1.6!important;z-index:100}.hud-resource:focus-within .resource-tip{visibility:visible;opacity:1}.myth-nav{gap:9px!important}.myth-nav button{min-height:66px!important;border-radius:12px!important}.myth-nav button>small,.myth-nav button>span{font-size:11px!important}.game-modal{border-radius:14px!important}.game-modal h2{font-size:clamp(25px,3vw,35px)!important;line-height:1.2!important}.game-modal p{line-height:1.7!important}.modal-close{width:38px!important;height:38px!important;min-height:38px!important;font-size:24px!important}.game-modal>small{font-size:10px!important;letter-spacing:1px!important}.team-overview{margin:0 0 22px}.team-overview>summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:12px 0 18px;font-size:21px;color:#f1dfba;font-family:'Cormorant UI',Georgia}.team-overview>summary small{font:12px Manrope;color:var(--ux-muted)}.team-overview>summary>span{font:11px Manrope;color:#acc3cc;margin-left:auto}.team-overview>summary:before{content:'▾';font:14px Manrope}.team-overview:not([open])>summary:before{content:'▸'}.team-overview:not([open]){border-bottom:1px solid var(--ux-edge)}.collection-item{align-self:start}.collection-item>button[data-deck]{width:100%;font-size:11px;min-height:36px;margin:7px 0 0}.card-development{margin:7px 0 0;border:1px solid var(--ux-edge);border-radius:9px;background:#10283b55}.card-development>summary{cursor:pointer;list-style:none;padding:11px 10px;font-size:11px;color:#d8ccaf;min-height:38px;display:flex;gap:5px;align-items:center;justify-content:space-between}.card-development>summary:after{content:'+';font-size:17px;color:#a6c0cc}.card-development[open]>summary:after{content:'−'}.card-development .growth-preview{margin:0 8px 8px;padding:9px;font-size:11px}.card-development .card-actions{padding:0 8px 8px;gap:6px}.card-development .card-actions>button{font-size:11px;min-height:36px}.collection-item .xp-info{font-size:11px;margin-top:8px}.collection-item .craft-info{color:var(--ux-muted);font-size:10px;line-height:1.6;padding:8px 4px 5px;min-height:38px}.collection-item.unowned>.gold-button{font-size:11px;min-height:40px;width:100%}.catalog-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:16px!important;border-radius:12px!important;background:#102334!important;border:1px solid var(--ux-edge)!important;position:relative;z-index:3}.catalog-filters label,.shop-context label{font-size:11px!important;color:var(--ux-muted);display:grid;gap:7px}.catalog-filters select,.shop-context select{height:42px!important;min-width:0;width:100%;padding:8px 10px;font:12px Manrope;color:#e1e8ec;border-radius:8px;border:1px solid #8ba5b555;background:#0a1a29}.catalog-pagination{margin:14px 0 20px;gap:12px}.catalog-pagination>span{font-size:12px;color:var(--ux-muted)}.catalog-pagination button{font-size:12px;min-height:38px;padding:8px 16px}.content-page .info-strip{font-size:12px;line-height:1.7;border-radius:10px}.shop-context{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px}.shop-context label{min-width:230px}.shop-context .back-button{margin:0!important;min-height:42px}.shop-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;align-items:stretch;gap:18px!important}.shop-offer{display:flex;flex-direction:column;align-items:start;padding:22px!important;border-color:var(--ux-edge)!important;border-radius:12px!important;background:linear-gradient(140deg,#19364a,#0e2132)!important;min-height:260px}.shop-offer .offer-symbol{align-self:center;margin:0 auto 10px}.shop-offer h3{font:25px 'Cormorant UI',Georgia!important;line-height:1.2!important;color:#eedbb8}.shop-offer p{font-size:13px!important;line-height:1.7!important;color:#bdcbd5;margin:8px 0 14px}.shop-offer>small{font-size:11px;color:var(--ux-muted);margin:6px 0}.shop-offer>button{margin-top:auto;width:100%;min-height:42px}.shop-offer .offer-price{font-size:11px;color:#c5b58d;margin-top:8px}.category-grid{gap:18px!important}.category-caption h3{font-size:18px!important;line-height:1.25!important}.city-objective{border-radius:12px!important}.city-objective button,.town-toolbar button,.income-collect button{font-size:12px!important;min-height:38px!important}.city-objective>small,.world-chrome small{font-size:10px!important}.city-objective>span{font-size:12px!important}.worker-badge{font-size:11px!important}.object-label{font-size:11px!important;line-height:1.4!important;padding:6px 10px!important;border-radius:7px!important;background:#102b3ee8!important;border:1px solid #a9b5b644!important}.object-label small{font-size:9px!important}.map-tools button{min-width:36px;min-height:36px;font-size:18px}.journey-panel p{font-size:12px!important;line-height:1.7!important}.journey-panel>small{font-size:10px!important}.journey-panel button{font-size:12px!important;min-height:40px}.resource-tip{pointer-events:none}.result-heading p{font-size:14px!important}.result-actions button{min-height:44px}.perfect-bonus{font-size:12px;line-height:1.7}.battle-journal summary{cursor:pointer;min-height:38px;font-size:12px;padding:10px}.battle-journal p{font-size:12px;line-height:1.6}.spell-rack>button{min-height:56px}.spell-rack>button>strong{font-size:11px!important}.spell-rack>button>b{font-size:12px!important}.duel-center button{min-height:38px;font-size:11px!important}.duel-center p,.duel-center>small{font-size:10px!important}.duel-notice{font-size:11px!important;line-height:1.6!important}.battle-heading>button{font-size:12px!important;min-height:38px}.pair-briefing p{font-size:12px!important}.pair-briefing small{font-size:10px!important}.preparation-body{scrollbar-width:thin;scrollbar-color:#8ba9b444 transparent}.preparation-tabs button{min-height:42px;font-size:12px!important}.preparation-footer{min-height:58px}.preparation-footer>span{font-size:12px!important}button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #9ed5d8!important;outline-offset:3px}summary::-webkit-details-marker{display:none}
@media(max-width:1000px){.five-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.content-page .page-heading h1{font-size:30px!important}.hud-wallet{gap:4px!important}.hud-resource{padding:7px!important}.hud-resource b{font-size:12px!important}.myth-nav button{min-height:58px!important}.myth-main>.content-page{padding-right:80px!important}}
@media(max-width:700px){.myth-main>.content-page{padding:100px 12px 100px!important}.five-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.content-page .page-heading{padding:17px!important}.content-page .page-heading h1{font-size:28px!important}.content-page .page-heading p{font-size:12px!important}.team-overview>summary{flex-wrap:wrap;font-size:20px;gap:8px}.team-overview>summary>span{display:none}.catalog-filters{gap:9px!important;padding:12px!important}.catalog-pagination button{padding:8px 10px}.shop-context{align-items:stretch;flex-direction:column;gap:12px}.shop-context label{min-width:0}.shop-grid{grid-template-columns:1fr!important}.shop-offer{min-height:220px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.category-caption h3{font-size:15px!important}.myth-nav{position:fixed!important;inset:auto 8px 8px!important;width:auto!important;display:flex!important;justify-content:center;background:#0b1d2deb!important;padding:6px!important;border:1px solid #96a9b544;border-radius:14px!important;backdrop-filter:blur(12px)}.myth-nav button{flex:1;max-width:100px;min-height:48px!important;padding:6px!important}.myth-nav button .nav-icon{width:30px!important;height:30px!important}.myth-nav button:after{display:none}.myth-hud .hud-wallet{top:10px!important;right:8px!important;left:58px!important;padding:5px!important;gap:3px!important}.hud-resource{min-height:34px!important;padding:5px!important;gap:3px!important}.hud-resource .icon{width:20px!important;height:20px!important}.hud-resource b{font-size:11px!important}.player-level{font-size:10px!important;padding:5px!important}.effects-toggle,.sound{width:28px!important;min-width:28px!important}.myth-logo{top:12px!important;left:9px!important}.myth-logo>span{width:34px!important;height:34px!important}.game-modal{padding:42px 16px 18px!important;max-height:90svh!important;width:calc(100vw - 20px)!important}.game-modal h2{font-size:27px!important}.game-modal p{font-size:12px!important}.game-modal button{font-size:12px!important;min-height:40px!important}.preparation-modal{height:88svh}.preparation-tabs{gap:5px}.preparation-tabs button{font-size:11px!important;padding:8px 5px}.preparation-footer>button{min-height:44px!important}.team-row{display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;gap:8px!important;padding:8px 0}.team-row .board-card{flex:0 0 110px;scroll-snap-align:center}.compact .card-caption h3{font-size:11px!important}.compact .card-numbers{font-size:10px!important}.compact .card-art{height:95px!important}.card-back{height:160px!important}.cinematic-stage{inset:65px 0 0!important;padding:12px 10px 90px!important;overflow-y:auto!important}.duel-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important;max-width:540px!important;margin:auto!important}.duel-pair>.duelist:first-child{grid-row:1;grid-column:1}.duel-pair>.duelist:last-child{grid-row:1;grid-column:2}.duel-pair>.duel-center{grid-row:2;grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin-top:26px!important;padding:12px!important}.duel-center>.versus{display:none}.duel-center>.duel-notice,.duel-center>p,.duel-center>small,.duel-center>.impact-caption{grid-column:1/-1}.duel-center button{font-size:11px!important;min-height:40px}.duelist .myth-card{width:100%!important;height:auto!important;aspect-ratio:2/3}.duelist .card-caption h3{font-size:15px!important}.duelist .card-numbers{font-size:13px!important}.duelist .card-ability{font-size:10px!important}.duelist .card-ability span{font-size:9px!important}.spell-rack{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}.spell-rack>button{font-size:11px!important;min-height:60px}.spell-rack>small{font-size:11px!important}.combat-status>span{font-size:10px}.battle-heading{flex-wrap:wrap;gap:8px!important}.battle-heading h1{font-size:23px!important}.battle-heading small{font-size:11px!important}.city-objective{left:10px!important;top:175px!important;width:195px!important;padding:12px!important}.town-toolbar{bottom:80px!important}.income-collect{bottom:80px!important}.world-chrome h1{font-size:27px!important}.city-switcher{max-width:calc(100% - 65px);overflow-x:auto}.city-switcher button{font-size:11px!important;min-height:42px}.result-actions{flex-wrap:wrap}.result-actions button{flex:1}.mastery-panel p,.quest-challenge p{font-size:12px!important}#toast{bottom:86px!important;font-size:12px!important}}
.collection-item>button.equipped{background:#183344!important;border:1px solid #74988f66!important;color:#b7d7ca!important;box-shadow:none!important}.content-page[data-screen=cards] .equipped{color:#b7d7ca}.myth-nav button .icon{flex-shrink:0}@media(max-width:700px){.myth-nav button .icon{width:28px!important;height:28px!important}.myth-nav button>span:not(.icon){font-size:10px!important}.map-tools{right:8px!important}.replacement-options{gap:8px}.replacement-options .myth-card{min-height:0}}@media(max-width:420px){.myth-hud .hud-wallet{flex-wrap:wrap!important;justify-content:flex-end}.hud-wallet .hud-resource{order:0;flex:1 1 22%;justify-content:center}.hud-wallet .player-level,.hud-wallet .effects-toggle,.hud-wallet .sound{order:1}.myth-main>.content-page{padding-top:118px!important}.cinematic-stage{top:95px!important}.category-grid{gap:9px!important}.category-caption h3{font-size:13px!important}}
/* Keep city labels readable at any camera scale without covering neighbouring models. */
.world-camera .map-object .object-label{opacity:0;transform:translateX(-50%) scale(var(--label-scale,1));transform-origin:50% 0;transition:opacity .15s ease-out;white-space:nowrap;z-index:30;bottom:-22px}.world-camera .map-object:hover,.world-camera .map-object:focus-visible{z-index:5000!important}.world-camera .map-object:hover .object-label,.world-camera .map-object:focus-visible .object-label{opacity:1}.map-object:focus-visible{outline:2px solid #e4cd91;outline-offset:4px}.map-hint{font-size:11px!important;line-height:1.6!important}.income-collect{font-size:12px!important;line-height:1.6!important}.income-collect strong{font-size:14px!important}
.campaign-toolbar{font-size:12px!important;line-height:1.6!important;border-radius:12px!important;max-width:calc(100vw - 170px)}.campaign-toolbar>span{font-size:10px!important}.campaign-toolbar button{min-height:38px;font-size:12px!important}.campaign-toolbar select{min-height:38px;font-size:12px!important}.journey-tooltip b{font-size:14px!important}.journey-tooltip small{font-size:11px!important}.journey-current{font-size:11px!important;letter-spacing:.6px!important}.atlas-caption{padding:13px 16px!important;background:#0c2232e8!important;border:1px solid #b09b6d55!important}@media(max-width:700px){.campaign-toolbar{max-width:calc(100vw - 24px);left:12px!important;right:12px!important;top:105px!important;font-size:11px!important}.campaign-toolbar button{font-size:11px!important}.journey-panel{max-width:220px!important;bottom:85px!important;left:10px!important;padding:14px!important}.journey-panel h3{font-size:22px!important}}
.shop-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}@media(max-width:700px){.shop-grid{grid-template-columns:1fr!important}}
.icon-fire{color:#e6a16e}.shop-offer .offer-symbol:has(.icon-fire){border-color:#c98a5355;background:radial-gradient(#bd6a2522,transparent)}
.catalog-search{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;align-items:end;gap:12px;margin:18px 0 12px}.catalog-search label{display:grid;gap:7px;font-size:11px;color:#adbdc9}.catalog-search input,.catalog-search select{min-width:0;width:100%;min-height:42px;padding:10px 12px;border:1px solid #8ba5b555;border-radius:9px;background:#0b1d2c;color:#e4e9eb;font:12px Manrope}.catalog-search input:focus{outline:2px solid #83bdc3;outline-offset:2px}.catalog-search>button{min-height:42px}.catalog-empty{padding:35px 24px;text-align:center;border:1px dashed #93a9b455;border-radius:14px;background:linear-gradient(120deg,#132b3b,#0c1e2d);margin:20px 0}.catalog-empty>span .icon{width:42px;height:42px;color:#b9a375}.catalog-empty h2{font:29px 'Cormorant UI',Georgia;color:#e9d9b5;margin:13px 0}.catalog-empty p{color:#aebfca;font-size:13px;line-height:1.7}.catalog-empty button{margin-top:10px}.preparation-return{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;margin:0 0 16px;border:1px solid #b7a06c77;border-left:3px solid #dbc18a;border-radius:5px 12px 12px 5px;background:linear-gradient(110deg,#38413277,#122b3c)}.preparation-return>div{display:grid;gap:5px}.preparation-return small{font-size:9px;letter-spacing:1px;color:#c0b594}.preparation-return b{font:25px 'Cormorant UI',Georgia;color:#f1dfb6}.preparation-return span{font-size:12px;color:#b2c5d0}.preparation-return button{white-space:nowrap}.building-comparison{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:18px;border:1px solid #8199ad44;border-radius:12px;background:#112c3a88;margin:18px 0}.building-comparison>div{display:grid;gap:9px}.building-comparison small{font-size:10px;color:#9eb4c1}.building-comparison b{font-size:15px;color:#e9d9b5}.building-comparison>span{color:#bdb18b;font-size:22px}.building-price{font-size:12px!important;color:#b8c8d0}@media(max-width:700px){.catalog-search{grid-template-columns:1fr 1fr;gap:10px}.catalog-search label:first-child{grid-column:1/-1}.catalog-search>button{font-size:11px}.preparation-return{align-items:stretch;flex-direction:column;padding:14px}.preparation-return button{width:100%}.building-comparison{gap:10px;padding:12px}.building-comparison b{font-size:12px}}
.preparation-return{position:sticky;top:84px;z-index:9;background:linear-gradient(110deg,#20362df5,#122b3cf7);backdrop-filter:blur(12px);box-shadow:0 7px 20px #0004}.preparation-return b{font-size:22px}.preparation-return>div>span{font-size:11px}@media(max-width:700px){.preparation-return{top:94px;gap:10px}.preparation-return>div>span{display:none}.preparation-return b{font-size:20px}}
/* Reserve selection keeps preparation in context. */
.team-composition{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px;margin:18px 0;border:1px solid #b9a06b55;border-radius:12px;background:linear-gradient(120deg,#34413266,#112a3c)}.team-composition>div{display:grid;gap:7px}.team-composition small{font-size:9px;letter-spacing:1.3px;color:#c5b586}.team-composition b{font-size:14px;color:#eddfbf}.team-composition span{font-size:11px;line-height:1.7;color:#afc3cf}.kit-team .reserve-button{border-color:#819fac66!important;color:#c9dce2!important;background:#142f40!important}.reserve-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:22px 0}.reserve-grid article{display:grid;grid-template-columns:100px 1fr;gap:14px;padding:14px;border:1px solid #8ca9ba44;border-radius:12px;background:linear-gradient(145deg,#1c3748,#0b1e2d)}.reserve-grid .replacement-portrait{width:100px;align-self:start}.reserve-grid .myth-card{width:100%!important;min-height:0!important}.reserve-description{display:flex;flex-direction:column;gap:8px;min-width:0}.reserve-description>small{color:#a6bbc8;font-size:10px}.reserve-description>b{color:#e8d8af;font-size:12px}.reserve-description p,.reserve-description>span{font-size:11px!important;line-height:1.65!important;margin:0!important;color:#bdd0da}.reserve-description button{margin-top:auto;min-height:42px;font-size:11px!important}.reserve-empty{text-align:center;padding:35px 20px;margin:20px 0;border:1px dashed #849ca355;border-radius:12px;background:#142b3a}.reserve-empty>.icon{width:42px;height:42px}.reserve-empty h3{font:28px 'Cormorant UI',Georgia;color:#e5d0a3}.team-picker-modal>p{max-width:680px}.team-picker-modal>.gold-button{min-height:44px}@media(max-width:700px){.team-composition{grid-template-columns:1fr;gap:14px;padding:14px}.reserve-grid{grid-template-columns:1fr}.reserve-grid article{grid-template-columns:90px 1fr}.reserve-grid .replacement-portrait{width:90px}}
/* Player guide: quiet reading layout with a clear return path. */
.guide-modal{max-width:820px!important}.guide-lead{display:flex;gap:18px;align-items:center;padding:18px;margin:20px 0;background:linear-gradient(110deg,#37443577,#122e40);border:1px solid #bba37044;border-radius:12px}.guide-lead>.icon,.guide-lead>span>.icon{width:48px;height:48px;flex-shrink:0}.guide-modal h3{color:#ebd7a8;font:24px 'Cormorant UI',Georgia;margin:0 0 8px}.guide-modal p{font-size:13px!important;line-height:1.8!important;color:#b9cbd5;margin:0!important}.guide-steps{list-style:none;counter-reset:guide;display:grid;gap:14px;padding:0;margin:20px 0}.guide-steps li{counter-increment:guide;position:relative;padding:16px 18px 16px 62px;border:1px solid #879eac44;border-radius:10px;background:#142e3b88}.guide-steps li:before{content:counter(guide);position:absolute;left:17px;top:16px;color:#e5ca8e;border:1px solid #c8aa6866;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font:20px Georgia}.guide-steps b{display:block;color:#e6ddc9;font-size:14px;margin-bottom:8px}.guide-rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.guide-rule-grid article{padding:20px;border:1px solid #829aa744;border-radius:12px;background:linear-gradient(145deg,#193647aa,#0d2132)}.guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top:1px solid #b8a16c44;padding-top:18px}.guide-actions>span{width:100%;font-size:12px;color:#b1c6d0}.guide-paused{padding:14px;border:1px solid #9eb99c44;border-radius:10px;background:#203a3288}.preparation-help{margin-top:20px!important;background:transparent!important;border:1px solid #819caa55!important;color:#c9dce4!important;font-size:12px!important}.city-objective [data-action=guide]{min-width:38px;font:bold 18px Georgia}.battle-heading [data-action=guide]{min-width:38px;min-height:38px}@media(max-width:700px){.guide-rule-grid{grid-template-columns:1fr}.guide-lead{padding:14px;gap:12px}.guide-steps li{padding-right:12px}.guide-actions button{flex:1}.guide-modal h3{font-size:23px}}
.duel-recap{margin:24px 0;padding:22px;border:1px solid #8b9faa44;border-radius:14px;background:linear-gradient(130deg,#173244bb,#0d2131)}.duel-recap h2{font-size:28px!important;margin:0 0 16px!important}.duel-recap ol{list-style:none;padding:0;margin:0;display:grid;gap:8px}.duel-recap li{display:grid;grid-template-columns:30px 1fr auto;gap:14px;align-items:center;padding:12px;border-left:2px solid #7a8d9a;background:#18334388;border-radius:4px 8px 8px 4px}.duel-recap .recap-player{border-left-color:#81bda6}.duel-recap .recap-enemy{border-left-color:#cb8d80}.recap-number{font:24px Georgia;color:#d9c28c}.duel-recap li>div{display:grid;gap:6px}.duel-recap b{font-size:13px;color:#e9dfca}.duel-recap b small{font-weight:400;color:#96adba;font-size:10px}.duel-recap li>div>span,.duel-recap li>small{font-size:11px;color:#b5c9d3;line-height:1.6}.duel-recap>p{font-size:12px!important;line-height:1.7;color:#b2c5d0;margin-bottom:0}.victory-pips i.drawn{background:#a3acb7!important;box-shadow:none!important}@media(max-width:700px){.duel-recap{padding:14px}.duel-recap li{grid-template-columns:22px 1fr;gap:10px}.duel-recap li>small{grid-column:2}.duel-recap li>small br{display:none}.duel-recap b{font-size:12px}}
/* Direct card selection, enlarged arena and contextual information. */
.battle-card-hover{position:relative;width:100%;outline:none}.battle-card-tip,.spell-tip{display:none;position:absolute;z-index:500;padding:20px;background:linear-gradient(145deg,#19384b,#091c2bf5);border:1px solid #d1b278;border-radius:12px;box-shadow:0 16px 48px #000b;color:#d7e1e4;text-align:left;pointer-events:none;white-space:normal}.battle-card-tip{left:calc(100% + 10px);top:0;width:clamp(190px,16vw,290px);min-height:270px}.battle-card-hover:hover>.battle-card-tip,.battle-card-hover:focus>.battle-card-tip,.board-card:focus-visible .battle-card-tip{display:block}.team-row>.board-card:nth-child(n+4) .battle-card-tip,.duelist:last-child .battle-card-tip{left:auto;right:calc(100% + 10px)}.battle-card-tip h3,.spell-tip h3{font:25px 'Cormorant UI',Georgia;color:#eddbb4;margin:10px 0}.battle-card-tip b{display:block;font-size:13px;color:#e1c894;margin-top:16px}.battle-card-tip p,.spell-tip p{font-size:12px;line-height:1.8;color:#c1d1dc}.battle-card-tip small,.spell-tip small{font-size:10px;color:#9fb9c9;line-height:1.7}.tip-stats{font-size:13px;line-height:1.8;padding:10px 0;border-block:1px solid #ad986044}.battle-board,.team-row,.board-card,.duelist{overflow:visible!important}.board-card:hover,.board-card:focus-within,.duelist:hover,.duelist:focus-within{z-index:100!important}.team-row .board-card{position:relative}.battle-layout{grid-template-columns:minmax(0,1fr) 66px!important;gap:18px!important}.spell-rack{width:66px!important;padding:6px!important;overflow:visible!important;display:flex!important;flex-direction:column;gap:10px!important;background:none!important;border:0!important;box-shadow:none!important}.spell-slot{position:relative;outline:none}.spell-slot>button{position:relative;width:58px!important;height:62px!important;min-height:0!important;padding:10px!important;display:grid!important;place-items:center!important;border:1px solid #bca16b88!important;background:linear-gradient(135deg,#25465b,#0a2233)!important;border-radius:12px!important}.spell-slot>button>.icon{width:34px!important;height:34px!important}.spell-slot>button>b{position:absolute;right:3px;bottom:2px;font-size:12px!important;background:#071b2b;border-radius:4px;padding:1px 4px;color:#e5d6b1}.spell-tip{right:calc(100% + 12px);top:0;width:240px;min-height:140px}.spell-slot:hover>.spell-tip,.spell-slot:focus>.spell-tip,.spell-slot:focus-within>.spell-tip{display:block}.spell-slot>button:disabled{opacity:.5!important}.myth-battle .duel-stage:not(.cinematic-stage){min-height:28px!important;height:28px!important;margin:8px 0!important}.team-row .compact .card-art{height:clamp(175px,24vh,290px)!important}.team-row .card-back{height:clamp(220px,30vh,340px)!important}.duel-pair{grid-template-columns:minmax(0,1fr) 145px minmax(0,1fr)!important;max-width:1150px!important;gap:24px!important}.duel-center{padding:12px 8px!important;background:#0b2132b3!important;border-color:#baa16d44!important}.duel-center .versus{font-size:25px!important}.duelist .myth-card{width:100%!important;max-width:420px!important;height:auto!important;aspect-ratio:2/3;margin:auto}.duelist .battle-card-hover{max-width:420px;margin:auto}.duelist .card-art{height:100%!important}.duel-pair .battle-card-tip{width:260px;min-height:330px;top:25px}.duel-notice{font-size:11px!important}.battle-heading{gap:12px!important}.battle-heading h1{font-size:27px!important}@media(max-width:700px){.battle-layout{grid-template-columns:minmax(0,1fr)!important}.team-row{overflow-x:auto!important;padding:8px 0!important}.team-row .board-card{flex:0 0 140px!important}.team-row .compact .card-art{height:170px!important}.team-row .card-back{height:220px!important}.battle-card-tip{position:fixed!important;left:12px!important;right:auto!important;top:120px!important;width:calc(100vw - 24px)!important;max-height:65vh;min-height:0;overflow:auto}.spell-rack{position:fixed!important;right:6px!important;bottom:8px!important;top:auto!important;width:auto!important;flex-direction:row!important;z-index:80;gap:4px!important;padding:4px!important;background:#0a1c2de8!important;border-radius:12px}.spell-slot>button{width:40px!important;height:46px!important;padding:6px!important}.spell-slot>button>.icon{width:26px!important;height:26px!important}.spell-tip{position:fixed;right:10px;top:auto;bottom:66px;width:min(300px,calc(100vw - 20px))}.duel-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.duel-pair>.duel-center{grid-template-columns:repeat(3,minmax(0,1fr))!important}.duel-pair .battle-card-tip{width:calc(100vw - 24px);min-height:0}.duel-center .duel-notice{grid-column:1/-1}}
@media(min-width:701px){.team-row{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}.team-row .board-card{width:100%!important;padding:0!important}.team-row .myth-card.compact{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:2/3}.team-row .compact .card-art{height:100%!important}.team-row .card-back{height:auto!important;aspect-ratio:2/3}.battle-card-tip{width:100%;min-height:100%;box-sizing:border-box;padding:16px}.battle-card-tip h3{font-size:23px}.battle-card-tip p{font-size:11px}.battle-card-tip b{font-size:12px}}
/* Combat uses the full viewport; wallet returns on the result screen. */
.battle-active .myth-hud{display:none!important}.battle-active .myth-battle{padding:18px 20px 20px!important;min-height:100svh!important}.battle-active .battle-heading{min-height:50px;margin-bottom:12px!important}.battle-active .team-row{max-width:1100px;width:min(100%,calc((100svh - 180px)*1.6667));margin-inline:auto}.battle-active .myth-battle .cinematic-stage{inset:0!important;padding:38px 95px 30px 22px!important}.battle-active .cinematic-stage:before{top:12px;right:75px}.battle-active .cinematic-stage .duel-pair{width:100%;max-width:1250px!important}.battle-active .cinematic-stage .duelist{max-width:min(470px,calc((100svh - 110px)*.6667))!important}.battle-active .cinematic-stage .battle-card-hover,.battle-active .cinematic-stage .myth-card{max-width:none!important;max-height:calc(100svh - 110px)!important}.battle-active .myth-battle:has(.cinematic-stage) .spell-rack{top:35px!important;right:14px!important;max-height:calc(100svh - 60px)!important}@media(max-width:700px){.battle-active .myth-battle{padding:12px 8px 75px!important}.battle-active .team-row{width:100%;max-width:none}.battle-active .team-row .board-card{flex-basis:160px!important}.battle-active .myth-battle .cinematic-stage{padding:25px 10px 85px!important}.battle-active .cinematic-stage .duelist{max-width:100%!important}.battle-active .myth-battle:has(.cinematic-stage) .spell-rack{top:auto!important;right:6px!important;bottom:8px!important;max-height:none!important}.battle-active .cinematic-stage .myth-card{max-height:none!important}}
/* v39: original heraldry, tier tab and readable combat statistics. */
.card-glyph{width:25px;height:25px;display:block;flex:none;filter:drop-shadow(0 1px 1px #0008)}.card-identity{position:absolute;top:12px;right:7px;z-index:6;display:flex;flex-direction:column;gap:7px}.identity-badge{width:34px;height:34px;display:grid;place-items:center;border:1px solid #c5ad76;border-radius:50%;background:radial-gradient(ellipse at 35% 15%,#436477,#091a2a 80%);box-shadow:0 2px 5px #0009,inset 0 0 0 2px #0b1d2a}.identity-faction{color:#f0d69a}.identity-race{color:#badbe6;border-color:#86aabd;border-radius:9px}.identity-role{color:#c2ddbe;border-color:#91af88;clip-path:polygon(15% 0,85% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);border-radius:7px}.identity-badge .card-glyph{width:24px;height:24px}.level-badge{top:7px!important;left:7px!important;width:43px!important;height:49px!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:1px!important;border:1px solid #eed6a0!important;border-radius:9px 9px 15px 15px!important;background:linear-gradient(135deg,#567b83,#173342 60%,#091b2a)!important;box-shadow:0 3px 8px #0009,inset 0 0 0 3px #e6d19b33!important;color:#fff0c9!important;z-index:7;font-family:Georgia!important}.level-badge small{font:8px Manrope!important;letter-spacing:1px}.level-badge b{font:bold 24px Georgia!important;line-height:1!important}.ascension-sigil{position:absolute;left:-6px;top:35%;width:35px;height:62px;z-index:8;filter:drop-shadow(0 3px 4px #000b);color:#f0d49a}.ascension-sigil>svg{position:absolute;inset:0;width:100%;height:100%;fill:#112d3b;stroke:#d5b36a;stroke-width:1.5}.ascension-sigil>b{position:absolute;inset:12px 0 auto;text-align:center;font:bold 19px Georgia;color:inherit}.ascension-sigil>span{position:absolute;bottom:9px;left:0;right:0;display:flex;justify-content:center;gap:2px}.ascension-sigil i{width:3px;height:5px;background:#526574;transform:rotate(30deg)}.ascension-sigil i.lit{background:#f5d799;box-shadow:0 0 3px #efbc5b66}.ascension-3 .ascension-sigil>svg,.ascension-4 .ascension-sigil>svg,.ascension-5 .ascension-sigil>svg{fill:#253e50;stroke:#f3da97}.card-numbers{display:flex!important;justify-content:center!important;gap:7px!important;margin:7px 0!important;font-variant-numeric:tabular-nums}.card-numbers>span{display:flex!important;align-items:center;justify-content:center;gap:5px!important;padding:5px 7px!important;border:1px solid #a68d5f66;border-radius:7px;background:linear-gradient(#1d3443ed,#081b2bf5);box-shadow:inset 0 1px #fbebc41a;min-width:0}.card-numbers .card-glyph{width:22px;height:22px}.card-numbers .stat-attack{color:#efcb8c}.card-numbers .stat-health{color:#edb3ac;border-color:#c7847655}.stat-health .card-glyph{fill:#8e343366;color:#e58b83}.card-numbers b{font:bold 17px Georgia!important;color:inherit;white-space:nowrap}.compact .card-numbers{gap:4px!important;margin:4px 0!important}.compact .card-numbers>span{padding:3px 5px!important;gap:3px!important}.compact .card-numbers b{font-size:12px!important}.compact .card-numbers .card-glyph{width:16px;height:16px}.compact .card-identity{top:8px;right:5px;gap:5px}.compact .identity-badge{width:26px;height:26px}.compact .identity-badge .card-glyph{width:18px;height:18px}.compact .level-badge{width:31px!important;height:39px!important;left:5px!important;top:5px!important}.compact .level-badge b{font-size:19px!important}.compact .level-badge small{font-size:6px!important}.compact .ascension-sigil{width:29px;height:53px;left:-5px;top:33%}.compact .ascension-sigil>b{font-size:16px;top:11px}.compact .ascension-sigil>span{bottom:9px}.card-identity+.amulet-badge{left:8px!important;right:auto!important;bottom:100px!important}.painted-back{background-size:100% 100%!important;background-position:center!important;border:0!important;box-shadow:0 6px 18px #0008!important;border-radius:12px!important}.painted-back:before,.painted-back:after{display:none!important}.spell-art{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.spell-slot>button{padding:0!important;overflow:hidden}.spell-slot>button>b{z-index:2;font-size:14px!important;border:1px solid #bca87988;padding:1px 5px!important}.spell-offer-art{width:104px!important;height:104px!important;padding:0!important;border-radius:16px!important;overflow:hidden;box-shadow:0 8px 24px #0005}.spell-offer-art .spell-art{border-radius:14px}.card-back-modal{max-width:1050px!important}.card-back-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:24px}.card-back-gallery article{display:flex;flex-direction:column;gap:10px;text-align:center}.card-back-gallery img{width:100%;aspect-ratio:2/3;object-fit:fill;border-radius:12px;box-shadow:0 10px 22px #0007}.card-back-gallery small{font-size:9px;letter-spacing:1.5px;color:#c2b28d}.card-back-gallery h3{font:25px 'Cormorant UI',Georgia;color:#e5d0a2;margin:0}.card-back-gallery button{margin-top:auto;min-height:42px;font-size:11px!important}.card-back-open{margin:15px 0!important;min-height:42px!important;background:linear-gradient(120deg,#273d46,#10283a)!important;border:1px solid #baa57577!important;color:#e4d3ad!important}@media(max-width:700px){.card-back-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.identity-badge{width:28px;height:28px}.identity-badge .card-glyph{width:20px;height:20px}.card-numbers b{font-size:13px!important}.card-numbers .card-glyph{width:18px;height:18px}.card-numbers>span{padding:4px!important}.card-back-gallery h3{font-size:23px}}
.kit-spells>div>b{display:flex;align-items:center;gap:9px}.kit-spells>div>b>.spell-art{width:38px;height:38px;flex:none;border-radius:8px}.compact .rarity-seal{display:block!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.2px!important;margin-bottom:3px!important;color:#c8b896!important}
.spell-slot>button:disabled{opacity:.78!important;filter:saturate(.85)}
/* v40: enamel-and-metal pictograms, vertical ascension and contextual role light. */
.engraved-glyph{overflow:visible;filter:drop-shadow(0 2px 2px #000b)}.glyph-metal-rim{fill:#71532c;stroke:#e8cb8b;stroke-width:1.1;stroke-linejoin:round}.glyph-enamel{fill:#102c3d;stroke:#314e60;stroke-width:.7}.glyph-shadow{fill:none;stroke:#020b13;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.glyph-symbol{fill:#d3b06d33;stroke:#f1d398;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.glyph-glint{fill:none;stroke:#fff0c3;stroke-width:.8;opacity:.8}.glyph-race .glyph-enamel{fill:#152c41}.glyph-race .glyph-metal-rim{fill:#536978;stroke:#c9e4eb}.glyph-race .glyph-symbol{stroke:#d5edf1;fill:#93c2cc33}.glyph-role .glyph-enamel{fill:#142f2a}.glyph-role .glyph-metal-rim{fill:#526b4e;stroke:#b6d39b}.glyph-role .glyph-symbol{stroke:#deedc7;fill:#99c17c33}.identity-badge{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;position:relative}.identity-badge .card-glyph{width:35px!important;height:35px!important}.compact .identity-badge .card-glyph{width:28px!important;height:28px!important}.card-identity{gap:8px!important;right:9px!important}.level-badge{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}.level-badge>.card-glyph{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.level-badge .glyph-enamel{fill:#123e49}.level-badge .glyph-symbol{display:none}.level-badge b{color:#ffedbb!important;text-shadow:0 2px 3px #000}.level-badge small{color:#d7dcd3}.card-numbers .card-glyph{width:27px!important;height:27px!important;fill:none!important}.compact .card-numbers .card-glyph{width:21px!important;height:21px!important}.stat-health .glyph-symbol{fill:#b7504c;stroke:#f4b5a5}.stat-health .glyph-enamel{fill:#3b1c29}.stat-health .glyph-metal-rim{fill:#735348;stroke:#cf9b80}.stat-attack .glyph-symbol{fill:#c6d8dd55;stroke:#eff0db}.card-numbers>span{padding:3px 7px!important}.ascension-sigil.ascension-ladder{top:31%!important;left:-7px!important;width:29px!important;height:139px!important;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 3px 4px #000b)}.ascension-ladder>.card-glyph{position:relative!important;inset:auto!important;width:27px!important;height:27px!important;flex:none}.ascension-ladder>.tier-steps{position:relative!important;inset:auto!important;width:25px;display:flex!important;flex-direction:column-reverse;gap:3px!important;padding:5px 3px;border:1px solid #8c794d;border-radius:5px 5px 10px 10px;background:linear-gradient(90deg,#071a29,#213b47,#071a29)}.ascension-ladder .tier-steps>i{display:grid;place-items:center;width:17px!important;height:17px!important;min-height:17px;transform:none!important;font:bold 10px Georgia;font-style:normal;border:1px solid #3e5660;border-radius:3px;background:#142431!important;color:#718591;box-shadow:none!important}.ascension-ladder .tier-steps>i.lit{color:#fff0b4;background:linear-gradient(135deg,#b58d47,#54402b)!important;border-color:#e6c477;box-shadow:inset 0 1px #f7e7b066!important}.compact .ascension-sigil.ascension-ladder{width:23px!important;height:112px!important;left:-5px!important;top:29%!important}.compact .ascension-ladder>.card-glyph{width:23px!important;height:23px!important}.compact .ascension-ladder>.tier-steps{width:21px;padding:4px 2px;gap:2px!important}.compact .ascension-ladder .tier-steps>i{width:15px!important;height:14px!important;min-height:14px;font-size:8px}.role-advantage-active>.card-glyph{animation:role-advantage-pulse 1.7s ease-in-out infinite}.role-advantage-active .glyph-metal-rim{stroke:#f7df98;fill:#95712c}.role-advantage-active .glyph-symbol{stroke:#fff3b9;fill:#ecc45c44}.role-bonus-tip{display:none;position:absolute;right:calc(100% + 7px);top:0;z-index:80;width:max-content;max-width:160px;padding:8px 10px;color:#ffe8ac;background:#0b2032f5;border:1px solid #d6b66c;border-radius:7px;box-shadow:0 5px 18px #0009;font:11px Manrope;white-space:nowrap;pointer-events:none}.role-advantage-active:hover>.role-bonus-tip,.role-advantage-active:focus-visible>.role-bonus-tip{display:block}.battle-card-hover:has(.identity-role:hover)>.battle-card-tip{display:none}.matchup-tag{display:none!important}@keyframes role-advantage-pulse{0%,100%{filter:drop-shadow(0 0 2px #f7d66c77)}50%{filter:drop-shadow(0 0 9px #ffdc73dd) brightness(1.2)}}.reduced-effects .role-advantage-active>.card-glyph{animation:none;filter:drop-shadow(0 0 5px #f7d66caa)}@media(prefers-reduced-motion:reduce){.role-advantage-active>.card-glyph{animation:none;filter:drop-shadow(0 0 5px #f7d66caa)}}
.rarity-seal,.compact .rarity-seal{display:flex!important;align-items:center;justify-content:center;gap:4px}.rarity-seal>.card-glyph{width:23px;height:23px}.compact .rarity-seal>.card-glyph{width:17px;height:17px}.amulet-badge{background:none!important;border:0!important;box-shadow:none!important}.amulet-badge>.card-glyph{width:32px;height:32px}
.card-ability>b>.card-glyph,.combat-status .card-glyph{display:inline-block;width:20px!important;height:20px!important;vertical-align:middle;margin-right:4px}
.icon-legend-modal{max-width:1000px!important}.icon-legend-modal>h3{font:27px 'Cormorant UI',Georgia;color:#e8d3a9;margin:26px 0 14px}.icon-legend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.icon-legend-grid article{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #9a8c6744;border-radius:10px;background:linear-gradient(130deg,#1a3443,#0d2131)}.icon-legend-grid .card-glyph{width:56px!important;height:56px!important;flex:none;object-fit:contain}.icon-legend-grid span{font-size:12px;line-height:1.5;color:#ded8c7}.card-back-open+.card-back-open{margin-left:10px!important}@media(max-width:700px){.icon-legend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.icon-legend-grid article{padding:9px;gap:8px}.icon-legend-grid .card-glyph{width:42px!important;height:42px!important}.icon-legend-grid span{font-size:11px}.card-back-open+.card-back-open{margin-left:0!important}}

/* Applied after the complete imagegen pack is installed. */
.painted-glyph{object-fit:contain;object-position:center;display:block;fill:none!important;stroke:none!important;background:none;border:0;filter:drop-shadow(0 2px 2px #000a)}
.identity-badge{border:0!important;background:none!important;box-shadow:none!important;clip-path:none!important}
.identity-badge .painted-glyph{width:39px!important;height:39px!important}
.compact .identity-badge{width:30px!important;height:30px!important}
.compact .identity-badge .painted-glyph{width:33px!important;height:33px!important}
.card-identity{right:10px!important;gap:8px!important}
.card-numbers .painted-glyph{width:30px!important;height:30px!important}
.compact .card-numbers .painted-glyph{width:25px!important;height:25px!important}
.rarity-seal>.painted-glyph{width:27px;height:27px}
.compact .rarity-seal>.painted-glyph{width:20px;height:20px}
.level-badge>.painted-glyph{position:absolute;inset:-4px;width:calc(100% + 8px)!important;height:calc(100% + 8px)!important;z-index:-1;object-fit:contain}
.level-badge b{position:relative;z-index:1;font-size:23px!important;color:#fff2c8!important;text-shadow:0 1px 3px #000,0 0 4px #000}
.level-badge small{position:relative;z-index:1;color:#d6dfeb;text-shadow:0 1px 2px #000}
.compact .level-badge b{font-size:18px!important}
.ascension-ladder>.painted-glyph{width:29px!important;height:29px!important;object-fit:contain}
.ascension-ladder>.tier-steps{border-color:#8a795344;background:linear-gradient(90deg,#061421d9,#233746ba,#061421d9)}
.ascension-ladder .tier-steps>i{position:relative;isolation:isolate;background:none!important;border:0!important;box-shadow:none!important;color:#627787;text-shadow:0 1px 3px #000}
.ascension-ladder .tier-steps>i:before{content:'';position:absolute;inset:-1px;z-index:-1;background:url('/assets/insignia-stat-ascension-v41.webp') center/contain no-repeat;filter:grayscale(1) brightness(.45);opacity:.4}
.ascension-ladder .tier-steps>i.lit{background:none!important;border:0!important;box-shadow:none!important;color:#fff7cf}
.ascension-ladder .tier-steps>i.lit:before{filter:none;opacity:1}
.role-advantage-active>.painted-glyph{animation:role-advantage-pulse 1.7s ease-in-out infinite}
.reduced-effects .role-advantage-active>.painted-glyph{animation:none;filter:drop-shadow(0 0 6px #ffd67e)}
.icon-legend-grid .painted-glyph{width:66px!important;height:66px!important}
@media(prefers-reduced-motion:reduce){.role-advantage-active>.painted-glyph{animation:none;filter:drop-shadow(0 0 6px #ffd67e)}}
@media(max-width:700px){.identity-badge .painted-glyph{width:31px!important;height:31px!important}.compact .identity-badge .painted-glyph{width:29px!important;height:29px!important}.icon-legend-grid .painted-glyph{width:49px!important;height:49px!important}}

/* Card insignia: readable silhouettes and an unclipped top-edge rarity medal. */
.myth-card{overflow:visible!important}
.myth-card>.rarity-seal,.myth-card.compact>.rarity-seal{position:absolute!important;left:50%!important;top:0!important;bottom:auto!important;transform:translate(-50%,-50%);width:64px;height:64px;margin:0!important;padding:0!important;z-index:10;pointer-events:auto;background:none!important;border:0!important;filter:drop-shadow(0 3px 3px #000b)}
.myth-card>.rarity-seal>.painted-glyph{width:100%!important;height:100%!important}
.myth-card.compact>.rarity-seal{width:52px;height:52px}
.card-identity .identity-badge{width:42px;height:42px;border:1px solid #b5a578!important;border-radius:50%!important;background:radial-gradient(circle at 35% 20%,#294353,#071522 78%)!important;box-shadow:0 2px 6px #000d,inset 0 0 0 2px #071724!important}
.card-identity .identity-race{border-radius:10px!important;border-color:#91aebb!important}
.card-identity .identity-role{border-radius:10px 10px 15px 15px!important;border-color:#a9b48e!important}
.card-identity .identity-badge>.painted-glyph{width:36px!important;height:36px!important}
.compact .card-identity .identity-badge{width:35px!important;height:35px!important}
.compact .card-identity .identity-badge>.painted-glyph{width:30px!important;height:30px!important}
.myth-card .level-badge,.myth-card.compact .level-badge{width:49px!important;height:49px!important;left:5px!important;top:5px!important;display:block!important;padding:0!important}
.myth-card .level-badge>.painted-glyph{inset:0!important;width:100%!important;height:100%!important;z-index:0}
.myth-card .level-badge>.level-number{position:absolute!important;left:50%;top:52%;transform:translate(-50%,-50%);display:block;width:30px;text-align:center;font:800 20px/1 Manrope,'Segoe UI',sans-serif!important;letter-spacing:-.7px;font-variant-numeric:tabular-nums;z-index:1}
.team-row{padding-top:26px!important}
.collection-card,.card-wrap,.ascension-preview{margin-top:27px}
.cinematic-stage .duel-pair{padding-top:32px}
@media(max-width:700px){.myth-card.compact>.rarity-seal{width:44px;height:44px}.compact .card-identity .identity-badge{width:30px!important;height:30px!important}.compact .card-identity .identity-badge>.painted-glyph{width:26px!important;height:26px!important}.myth-card.compact .level-badge{width:40px!important;height:40px!important}.myth-card.compact .level-badge>.level-number{font-size:16px!important;width:25px}}

/* V43: imagegen glass fittings; preserve the portrait under each insignia. */
.card-identity .identity-badge,.card-identity .identity-race,.card-identity .identity-role{border:0!important;background:url('/assets/card-identity-frame-v43.webp') center/contain no-repeat!important;box-shadow:none!important;border-radius:0!important}
.myth-card .card-numbers>span{position:relative;isolation:isolate;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:4px 9px!important}
.myth-card .card-numbers>span:before{content:'';position:absolute;inset:-3px -4px;z-index:-1;background:url('/assets/card-stat-frame-v43.webp') center/100% auto no-repeat;pointer-events:none}
.myth-card .card-numbers b{text-shadow:0 1px 2px #000,0 0 3px #000}

/* V44: 15% transparent fittings, one shared stat plate and direct next-pair selection. */
.card-identity .identity-badge{isolation:isolate;width:46.2px;height:46.2px;background:none!important}
.compact .card-identity .identity-badge{width:38.5px!important;height:38.5px!important}
.card-identity .identity-badge:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:50%;background: url('/assets/card-identity-frame-v43.webp') center/contain no-repeat,radial-gradient(circle,#31434bd9 0 65%,transparent 67%);pointer-events:none}
.card-identity .identity-badge>.painted-glyph{width:39.6px!important;height:39.6px!important}
.compact .card-identity .identity-badge>.painted-glyph{width:33px!important;height:33px!important}
.myth-card .card-numbers,.myth-card.compact .card-numbers{position:relative;isolation:isolate;width:86%!important;margin:7px auto!important;padding:4px 1px!important;min-height:33px;gap:3px!important}
.myth-card .card-numbers:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:18px;background:url('/assets/card-stat-frame-v43.webp') center/100% 100% no-repeat,#31434bd9;pointer-events:none}
.myth-card .card-numbers>span,.myth-card.compact .card-numbers>span{padding:0!important;background:none!important;box-shadow:none!important;border:0!important;gap:3px!important}
.myth-card .card-numbers>span:before{display:none!important}
.myth-card .card-numbers .painted-glyph{width:33px!important;height:33px!important}
.compact .card-numbers .painted-glyph{width:27.5px!important;height:27.5px!important}
.battle-intermission{display:flex;align-items:center;justify-content:center;min-height:65px;margin:5px auto 0;position:relative;z-index:4}
.battle-intermission .score{margin:0!important;text-align:center}
.battle-intermission .score small{display:block;font-size:10px;color:#d8e1e5}
.myth-battle .duel-stage:not(.cinematic-stage){display:none!important}
.battle-active .team-row{width:min(100%,calc((100svh - 240px)*1.6667))}
@media(max-width:700px){.compact .card-identity .identity-badge{width:33px!important;height:33px!important}.compact .card-identity .identity-badge>.painted-glyph{width:28.6px!important;height:28.6px!important}}

/* V45: newly painted fittings, sized for their card slots without distorting the artwork. */
.card-identity .identity-badge:before{background:url('/assets/card-identity-frame-v45.webp') center/contain no-repeat!important;border-radius:0;z-index:-1}
.card-identity .identity-badge:after{content:'';position:absolute;inset:12%;z-index:-2;background:#243c43d9;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);pointer-events:none}
.card-identity .identity-badge>.painted-glyph{width:76%!important;height:76%!important}
.myth-card .card-numbers,.myth-card.compact .card-numbers{width:86%!important;aspect-ratio:4.5/1;min-height:0!important;padding:0!important;display:grid!important;grid-template-columns:1fr 1fr;gap:0!important;align-items:center}
.myth-card .card-numbers:before{inset:-20% 0!important;background:url('/assets/card-stats-frame-v45.webp') center/104% auto no-repeat!important;border-radius:0}
.myth-card .card-numbers:after{content:'';position:absolute;inset:0 2%;z-index:-2;border-radius:12px;background:#28383fd9;pointer-events:none}
.myth-card .card-numbers>span{min-width:0;gap:3px!important}
.myth-card .card-numbers .painted-glyph{width:clamp(18px,2.2vw,33px)!important;height:clamp(18px,2.2vw,33px)!important}
.compact .card-numbers b{font-size:clamp(10px,1vw,14px)!important}

.myth-card .card-caption{left:0!important;right:0!important;padding-inline:0!important}
.myth-card .card-caption>.hp-bar,.myth-card .card-caption>.card-ability{margin-inline:7%!important}
.myth-card .card-numbers b{font-size:clamp(11px,1.2vw,17px)!important}

/* Account for the card's two 2px border edges when measuring the 7% inset. */
.myth-card .card-numbers,.myth-card.compact .card-numbers{width:calc(86% + 3.44px)!important}

/* V46: one proportional card composition. Every measurement follows its own card width. */
.myth-card.myth-card{container-type:inline-size;aspect-ratio:2/3!important}
.myth-card.myth-card>.rarity-seal{width:14cqw!important;height:14cqw!important}
.myth-card.myth-card .card-art{overflow:visible!important}
.myth-card.myth-card .level-badge{width:15.6cqw!important;height:15.6cqw!important;top:2cqw!important;left:2cqw!important}
.myth-card.myth-card .level-badge>.level-number{font-size:6.4cqw!important;line-height:1!important;width:10cqw!important;letter-spacing:-.15cqw!important}
.myth-card.myth-card .card-identity{top:2.5cqw!important;right:2.5cqw!important;gap:1.3cqw!important}
.myth-card.myth-card .identity-badge{width:12.8cqw!important;height:12.8cqw!important}
.myth-card.myth-card .identity-badge:before{background:url('/assets/card-identity-white-v46.webp') center/contain no-repeat!important}
.myth-card.myth-card .identity-badge:after{inset:12%!important;background:#f4f1e8d9!important}
.myth-card.myth-card .identity-badge>.painted-glyph{width:76%!important;height:76%!important}
.myth-card.myth-card .ascension-sigil.ascension-ladder{left:-1.5cqw!important;top:33%!important;width:9.3cqw!important;height:44.4cqw!important;gap:0!important}
.myth-card.myth-card .ascension-ladder>.painted-glyph{width:9.3cqw!important;height:9.3cqw!important}
.myth-card.myth-card .ascension-ladder>.tier-steps{width:8cqw!important;padding:1cqw .6cqw!important;gap:.65cqw!important;border-radius:1cqw}
.myth-card.myth-card .ascension-ladder .tier-steps>i{width:6.4cqw!important;height:6.4cqw!important;min-height:6.4cqw!important;font-size:3.2cqw!important;line-height:1!important}
.myth-card.myth-card .card-caption{bottom:2cqw!important;left:-2px!important;right:-2px!important;padding:12cqw 0 0!important}
.myth-card.myth-card .card-caption h3{font-size:5cqw!important;line-height:1.12!important;margin:0 5% 2cqw!important;min-height:0!important;font-weight:800!important}
.myth-card.myth-card .card-numbers{width:86%!important;aspect-ratio:4.5/1!important;margin:0 auto 1.8cqw!important;gap:0!important}
.myth-card.myth-card .card-numbers>span{width:100%;height:100%;padding:0 7%!important;gap:1cqw!important;overflow:hidden;justify-content:center!important;align-items:center!important}
.myth-card.myth-card .card-numbers b{font-size:4cqw!important;line-height:1!important;letter-spacing:-.1cqw!important;font-variant-numeric:tabular-nums}
.myth-card.myth-card .card-numbers .painted-glyph{width:6.5cqw!important;height:6.5cqw!important;flex-shrink:0}
.myth-card.myth-card .card-numbers:after{display:none!important}
.myth-card.myth-card .card-ability{margin:0 7%!important;padding:0!important;font-size:2.7cqw!important;line-height:1.25!important;min-height:3.5cqw!important;border:0!important}
.myth-card.myth-card .card-ability>b{display:flex;align-items:center;justify-content:center;gap:.7cqw;font-size:inherit!important;line-height:inherit!important}
.myth-card.myth-card .card-ability>b>.painted-glyph{width:4cqw!important;height:4cqw!important;flex-shrink:0}
.myth-card.myth-card .card-ability>b>span{font:inherit!important;color:inherit!important;display:block!important}
.myth-card.myth-card .amulet-badge{left:4cqw!important;top:18cqw!important;bottom:auto!important;width:7cqw!important;height:7cqw!important}
.myth-card.myth-card .amulet-badge>.painted-glyph{width:100%!important;height:100%!important}

/* V47: centered amulet and stat groups aligned to the painted window centers. */
.myth-card.myth-card .amulet-badge{left:4.55cqw!important;top:18.6cqw!important;width:10.5cqw!important;height:10.5cqw!important;transform:none!important;padding:0!important;display:grid;place-items:center}
.myth-card.myth-card .card-numbers>span{position:absolute!important;top:44%;width:40%!important;height:auto!important;padding:0!important;transform:translateY(-50%);gap:1.05cqw!important}
.myth-card.myth-card .card-numbers>.stat-attack{left:8%!important}
.myth-card.myth-card .card-numbers>.stat-health{right:8%!important}
.myth-card.myth-card .card-numbers b{font-size:4.2cqw!important}
.myth-card.myth-card .card-numbers .painted-glyph{width:6.825cqw!important;height:6.825cqw!important}

/* V49: a single fixed card silhouette; only the portrait moves inside its clipped window. */
.myth-card.myth-card{padding:0!important;border:0!important;border-radius:2.5% / 1.6667%!important;height:auto!important;min-height:0!important;aspect-ratio:2/3!important;box-shadow:0 5px 14px #0006!important;background:#09121c!important}
.myth-card.myth-card::after{display:none!important}
.myth-card.myth-card .card-art{inset:0!important;border-radius:inherit!important}
.myth-card.myth-card .portrait-window{position:absolute;inset:1cqw;overflow:hidden;border-radius:2cqw;isolation:isolate}
.myth-card.myth-card .card-face-frame{position:absolute;inset:0;z-index:5;pointer-events:none;background:var(--card-face-art) center/100% 100% no-repeat;border-radius:inherit}
.myth-card[data-face-theme="dawn"]{--card-face-art:url('/assets/card-face-dawn-v49.webp')}
.myth-card[data-face-theme="runes"]{--card-face-art:url('/assets/card-face-runes-v49.webp')}
.myth-card[data-face-theme="eclipse"]{--card-face-art:url('/assets/card-face-eclipse-v49.webp')}
.myth-card[data-face-theme="dragon"]{--card-face-art:url('/assets/card-face-dragon-v49.webp')}
.myth-card.myth-card .card-caption{left:0!important;right:0!important}

.myth-card.myth-card .card-art{z-index:auto!important}
.myth-card.myth-card .portrait-window{z-index:0}
.myth-card.myth-card .card-caption{bottom:8cqw!important}

.myth-card.myth-card .card-art{isolation:auto!important}
.myth-card.myth-card .level-badge{z-index:7!important}

/* V50: extend the footer shade to the frame so the portrait cannot reappear beneath it. */
.myth-card.myth-card .card-caption{bottom:0!important;padding:12cqw 0 5cqw!important;background:linear-gradient(0deg,#07111aff 0%,#07111afa 48%,#0b1727ed 65%,#0b172700 100%)!important}
.myth-card.myth-card .card-numbers{margin-bottom:1cqw!important}
.myth-card.myth-card .card-ability{font-size:4.05cqw!important;line-height:1.1!important;min-height:9cqw!important;height:9cqw;display:flex;align-items:center;justify-content:center;text-align:center}
.myth-card.myth-card .card-ability>b{width:100%;max-width:100%;align-items:center;justify-content:center;line-height:1.1!important}
.myth-card.myth-card .card-ability>b>span{min-width:0;overflow-wrap:normal}
.myth-card.myth-card .card-ability>b>.painted-glyph{width:6cqw!important;height:6cqw!important}

/* V51: a slightly larger ability label, raised within its existing footer slot. */
.myth-card.myth-card .card-ability{font-size:4.455cqw!important}
.myth-card.myth-card .card-ability>b{transform:translateY(-1.5cqw)}
.myth-card.myth-card .card-ability>b>.painted-glyph{width:6.6cqw!important;height:6.6cqw!important}

/* Local, low-amplitude motion. The original full-resolution painting stays intact. */
.myth-card .valkyrie-living.valkyrie-living{background-size:cover;background-position:center;animation:none!important;transform:none!important}
.valkyrie-motion{position:absolute;inset:0;background-image:var(--valkyrie-art);background-size:cover;background-position:center;pointer-events:none;will-change:transform}
.valkyrie-breath{mask-image:radial-gradient(ellipse 15% 15% at 42% 34%,#000 20%,transparent 100%);transform-origin:42% 42%;animation:valkyrie-breath 5.8s ease-in-out infinite}
.valkyrie-hair{mask-image:radial-gradient(ellipse 23% 9% at 29% 24%,#000 15%,transparent 100%);transform-origin:48% 23%;animation:valkyrie-hair 7.3s ease-in-out infinite}
.valkyrie-horse{mask-image:radial-gradient(ellipse 16% 19% at 65% 45%,#000 25%,transparent 100%);transform-origin:62% 58%;animation:valkyrie-horse 8.2s ease-in-out infinite}
@keyframes valkyrie-breath{0%,100%{transform:scale(1)}50%{transform:scale(1.009,1.006)}}
@keyframes valkyrie-hair{0%,100%{transform:rotate(-.12deg)}50%{transform:rotate(.22deg) translateX(.12%)}}
@keyframes valkyrie-horse{0%,100%{transform:rotate(0)}50%{transform:rotate(.22deg)}}
.reduced-effects .valkyrie-motion,.card-defeated .valkyrie-motion{display:none}
.art-tier-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:8px 0 14px}
.art-tier-controls button{min-width:42px;padding:8px 12px}
.art-tier-controls button[aria-pressed=true]{border-color:#f0ce88;background:#785d30;color:#fff0cd}
.art-tier-controls small{font-size:11px;opacity:.75}
@media(prefers-reduced-motion:reduce){.valkyrie-motion{display:none}}
.valkyrie-art-preview{position:relative;aspect-ratio:2/3;flex:none;overflow:hidden}.valkyrie-art-preview>.valkyrie-living{position:absolute;inset:0;background-size:cover;background-position:center;animation:none!important;transform:none!important}
.valkyrie-art-preview{margin-inline:auto}.art-tier-controls button[aria-pressed="true"]{border-color:#f0ce88!important;background:#785d30!important;color:#fff0cd!important}
/* V55: motion regions follow the new standing celestial figure. */
.valkyrie-breath{mask-image:radial-gradient(ellipse 16% 13% at 47% 34%,#000 20%,transparent 100%);transform-origin:47% 43%}
.valkyrie-hair{mask-image:radial-gradient(ellipse 18% 10% at 33% 24%,#000 10%,transparent 100%);transform-origin:49% 21%}
.valkyrie-wings{mask-image:radial-gradient(ellipse 24% 16% at 82% 27%,#000 10%,transparent 100%);transform-origin:61% 29%;animation:valkyrie-feathers 8s ease-in-out infinite}
@keyframes valkyrie-feathers{0%,100%{transform:rotate(-.1deg)}50%{transform:rotate(.18deg)}}
/* V56: manuscript art keeps its native 2:3 proportions; prose stays selectable. */
.art-tier-controls .lore-open{padding:0!important;width:48px;height:48px;min-width:48px;background:#112b3b!important;border:1px solid #b69b65!important;border-radius:10px}
.lore-open img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px #0008)}
.lore-open:hover{filter:brightness(1.18);transform:translateY(-2px)}
.game-modal.lore-modal{width:min(570px,94vw,60svh);max-height:94svh;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible}
.game-modal.lore-modal:before,.game-modal.lore-modal:after{display:none!important}
.lore-sheet{position:relative;aspect-ratio:2/3;background:url('/assets/valkyrie-manuscript-v56.webp') center/contain no-repeat;filter:drop-shadow(0 12px 25px #0008)}
.lore-writing{position:absolute;inset:13% 13% 16%;overflow:auto;scrollbar-width:thin;scrollbar-color:#886137 #ead9b4;color:#422d1c;text-shadow:none!important}
.lore-writing>small{font:700 10px Manrope,sans-serif;letter-spacing:1.5px;color:#77522c}
.lore-writing h2{font:700 clamp(23px,3vw,31px)/1.05 'Cormorant UI',Georgia,serif!important;color:#382518!important;margin:12px 0 7px!important;text-shadow:none!important}
.lore-writing em{display:block;font:italic 15px Georgia,serif;color:#80542c;margin:0 0 19px}
.lore-writing p{font:16px/1.65 Georgia,serif!important;color:#422d1c!important;margin:0 0 16px!important;text-shadow:none!important}
.lore-writing p:first-of-type:first-letter{font-size:2.5em;line-height:.85;float:left;margin:6px 6px 0 0;color:#88542a}
.lore-pages{position:absolute;bottom:8%;left:20%;right:20%;display:flex;align-items:center;justify-content:space-between;color:#654523;font:15px Georgia}
.lore-pages button{background:#d4b780!important;color:#412b18!important;border:1px solid #a07b42!important;padding:6px 14px!important}
.lore-close{top:7%!important;right:7%!important;background:#513b24!important;color:#fff0c4!important;border-color:#b29560!important}
@media(max-width:600px){.game-modal.lore-modal{width:min(94vw,60svh)}.lore-writing{inset:12% 12% 17%}.lore-writing p{font-size:14px!important;line-height:1.5!important}.lore-writing em{font-size:13px;margin-bottom:12px}.lore-writing h2{font-size:24px!important}.lore-writing>small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.lore-open:hover{transform:none}}
/* V57: a one-shot reveal, reserved for a successful ascension. */
.art-tier-controls .lore-open:disabled{opacity:.35;filter:grayscale(1);cursor:not-allowed;transform:none}
.game-modal.ascension-reward{width:min(540px,94vw);text-align:center;padding:24px 28px!important;overflow-y:auto}
.ascension-reward h2{margin:8px 0 16px!important;font-size:30px!important}
.ascension-reward>small{color:#e9ce90;letter-spacing:2px}
.ascension-reveal{position:relative;width:min(220px,35vh);aspect-ratio:2/3;margin:0 auto 16px;isolation:isolate}
.ascension-reveal>div{position:absolute;inset:0}
.ascension-reveal .myth-card{width:100%;height:100%}
.ascension-before{animation:ascension-old 1.5s ease both;pointer-events:none}
.ascension-after{animation:ascension-arrive 1.65s cubic-bezier(.16,.8,.25,1) both}
.ascension-reveal:after{content:'';position:absolute;inset:-8%;pointer-events:none;z-index:-1;border:1px solid #f4d89188;border-radius:50%;animation:ascension-ring 1.8s ease-out both}
@keyframes ascension-old{0%,25%{opacity:1;filter:brightness(1)}55%{opacity:.7;filter:brightness(1.5)}100%{opacity:0}}
@keyframes ascension-arrive{0%,25%{opacity:0;transform:translateY(18px) scale(.9);filter:brightness(1)}55%{opacity:1;filter:brightness(1.3)}100%{opacity:1;transform:none;filter:none}}
@keyframes ascension-ring{0%,20%{opacity:0;transform:scale(.6)}45%{opacity:.8}100%{opacity:0;transform:scale(1.3)}}
.ascension-gains{font-size:13px!important;line-height:1.6!important}.ascension-gains b{color:#b7e4ba}
.chapter-unlocked{color:#f8db9d!important;font-size:14px!important}
.ascension-reward>button{margin:5px 4px}.ascension-reward .gold-button{display:inline-flex;align-items:center;gap:8px}.ascension-reward .gold-button img{width:32px;height:32px;object-fit:contain}
.reduced-effects .ascension-before{display:none}.reduced-effects .ascension-after,.reduced-effects .ascension-reveal:after{animation:none}
@media(prefers-reduced-motion:reduce){.ascension-before{display:none}.ascension-after,.ascension-reveal:after{animation:none}}
/* V58: Odysseus keeps the original painting, with restrained local breathing and cloth motion. */
.myth-card .odysseus-living.odysseus-living,.valkyrie-art-preview>.odysseus-living{position:absolute;inset:0;background-size:cover;background-position:center;animation:none!important;transform:none!important}
.odysseus-motion{position:absolute;inset:0;background:var(--odysseus-art) center/cover no-repeat;pointer-events:none}
.odysseus-breath{mask-image:radial-gradient(ellipse 18% 14% at 48% 37%,#000 15%,transparent 100%);transform-origin:48% 47%;animation:odysseus-breathe 6s ease-in-out infinite}
.odysseus-cloak{mask-image:radial-gradient(ellipse 18% 30% at 76% 55%,#000 10%,transparent 100%);transform-origin:62% 31%;animation:odysseus-cloth 8s ease-in-out infinite}
@keyframes odysseus-breathe{0%,100%{transform:none}50%{transform:scale(1.008,1.005)}}
@keyframes odysseus-cloth{0%,100%{transform:rotate(-.1deg)}50%{transform:rotate(.2deg)}}
.lore-sheet.odysseus-manuscript{background-image:url('/assets/odysseus-manuscript-v58.webp')}
.reduced-effects .odysseus-motion,.card-defeated .odysseus-motion{display:none}
@media(prefers-reduced-motion:reduce){.odysseus-motion{display:none}}
.odysseus-manuscript .lore-writing{left:19%;right:19%}.odysseus-manuscript .lore-writing h2{font-size:27px!important}@media(max-width:600px){.odysseus-manuscript .lore-writing h2{font-size:22px!important}}
/* V59: celestial drift is local; the original painting remains untouched. */
.myth-card .chiron-living.chiron-living,.valkyrie-art-preview>.chiron-living{position:absolute;inset:0;background-size:cover;background-position:center;animation:none!important;transform:none!important}
.chiron-nebula{position:absolute;inset:0;background:var(--chiron-art) center/cover no-repeat;mask-image:radial-gradient(ellipse 35% 24% at 54% 70%,#000 5%,transparent 100%);transform-origin:50% 50%;animation:chiron-drift 10s ease-in-out infinite;pointer-events:none}
.chiron-stars{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 28% 39%,#d7f8ff 0 .2%,transparent .55%),radial-gradient(circle at 65% 54%,#c5eaff 0 .2%,transparent .6%),radial-gradient(circle at 47% 73%,#fff3c9 0 .15%,transparent .5%);animation:chiron-starlight 5s ease-in-out infinite;opacity:.4}
@keyframes chiron-drift{0%,100%{transform:none}50%{transform:translate(.15%,-.2%)}}
@keyframes chiron-starlight{0%,100%{opacity:.12}50%{opacity:.65}}
.reduced-effects .chiron-nebula,.reduced-effects .chiron-stars,.card-defeated .chiron-nebula,.card-defeated .chiron-stars{display:none}
@media(prefers-reduced-motion:reduce){.chiron-nebula,.chiron-stars{display:none}}
/* V60: lunar precision is distinct from critical hits; the painting remains sharp. */
.myth-card .toxotes-living.toxotes-living,.valkyrie-art-preview>.toxotes-living{position:absolute;inset:0;background-size:cover;background-position:center;animation:none!important;transform:none!important}
.toxotes-mantle{position:absolute;inset:0;background:var(--toxotes-art) center/cover no-repeat;mask-image:radial-gradient(ellipse 23% 20% at 55% 59%,#000 10%,transparent 100%);transform-origin:50% 40%;animation:toxotes-cloth 8s ease-in-out infinite;pointer-events:none}
.toxotes-moonlight{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 69% 25%,#c4edff 0 .15%,transparent .5%),radial-gradient(circle at 45% 41%,#d3f3ff 0 .2%,transparent .65%);animation:toxotes-lunar 5s ease-in-out infinite;opacity:.4}
@keyframes toxotes-cloth{0%,100%{transform:none}50%{transform:translate(.15%,-.1%) rotate(.12deg)}}
@keyframes toxotes-lunar{0%,100%{opacity:.1}50%{opacity:.6}}
.impact-precision i{height:2px!important;width:110%!important;background:linear-gradient(90deg,transparent,#bbf0ff,transparent)!important;box-shadow:0 0 7px #a3e4ff77!important;transform:rotate(-15deg);animation:weapon-trace .45s ease-out both}
.impact-precision i:nth-child(2),.impact-precision i:nth-child(3){display:block!important}
.impact-precision i:nth-child(2){margin-top:18px;animation-delay:.04s}.impact-precision i:nth-child(3){margin-top:-18px;animation-delay:.08s}
.reduced-effects .toxotes-mantle,.reduced-effects .toxotes-moonlight,.card-defeated .toxotes-mantle,.card-defeated .toxotes-moonlight{display:none}
@media(prefers-reduced-motion:reduce){.toxotes-mantle,.toxotes-moonlight{display:none}}
.ajax-living{background-size:cover;background-position:center;overflow:hidden}
.ajax-barrier{position:absolute;inset:24% 5% 17%;border-radius:48% 48% 20% 20%;border:1px solid #bdefff70;box-shadow:inset 0 0 24px #6ad7ff25;opacity:.15;animation:ajax-breath 7s ease-in-out infinite;pointer-events:none}
.ajax-storm{position:absolute;inset:0;background:radial-gradient(ellipse at 28% 45%,#a9e9ff20,transparent 38%);opacity:.2;animation:ajax-breath 9s ease-in-out infinite reverse;pointer-events:none}
@keyframes ajax-breath{50%{opacity:.5;transform:translateY(-.5%) scale(1.015)}}
.reduced-effects .ajax-living span,.card-defeated .ajax-living span{animation:none;opacity:0}
@media(prefers-reduced-motion:reduce){.ajax-living span{animation:none;opacity:.15}}
.cyclops-living{background-size:cover;background-position:center;overflow:hidden}
.cyclops-cloud{position:absolute;inset:25% -10% 10%;background:radial-gradient(ellipse at 40% 70%,#a5c6df25,transparent 55%);animation:cyclops-cloud-drift 11s ease-in-out infinite;pointer-events:none}
.cyclops-sparks{position:absolute;inset:0;background:radial-gradient(circle at 62% 31%,#e1faff 0 .14%,transparent .5%),radial-gradient(circle at 35% 67%,#8bd4ff 0 .18%,transparent .55%);opacity:.35;animation:cyclops-charge 6s ease-in-out infinite;pointer-events:none}
@keyframes cyclops-cloud-drift{50%{transform:translateX(3%);opacity:.45}}
@keyframes cyclops-charge{50%{opacity:.7}80%{opacity:.25}}
.reduced-effects .cyclops-living span,.card-defeated .cyclops-living span{display:none}
@media(prefers-reduced-motion:reduce){.cyclops-living span{animation:none;opacity:.2}}
.impact-thunder i{position:absolute;left:45%;top:8%;width:6%;height:80%;background:#d6faff;clip-path:polygon(55% 0,0 55%,48% 51%,12% 100%,100% 38%,55% 43%);filter:drop-shadow(0 0 9px #62caff);animation:cyclops-impact .55s ease-out both}
.impact-thunder i:nth-child(2){transform:translateX(-25px) rotate(-20deg);opacity:.45}
.impact-thunder i:nth-child(3){transform:translateX(25px) rotate(20deg);opacity:.45}
@keyframes cyclops-impact{0%{opacity:0;scale:.6}30%{opacity:1}100%{opacity:0;scale:1.2}}
.reduced-effects .impact-thunder{display:none}
@media(prefers-reduced-motion:reduce){.impact-thunder{display:none}}
.minotaur-living{background-size:cover;background-position:center;overflow:hidden}
.minotaur-maze{position:absolute;inset:28% 10% 15%;border:1px solid #6cdce52b;clip-path:polygon(0 0,100% 0,100% 100%,65% 100%,65% 55%,35% 55%,35% 100%,0 100%);box-shadow:inset 0 0 28px #63bac219;animation:minotaur-space 9s ease-in-out infinite;pointer-events:none}
.minotaur-dust{position:absolute;inset:0;background:radial-gradient(circle at 25% 40%,#b6e5e2 0 .12%,transparent .4%),radial-gradient(circle at 75% 62%,#adc6c2 0 .15%,transparent .5%);opacity:.3;animation:minotaur-space 12s ease-in-out infinite reverse;pointer-events:none}
@keyframes minotaur-space{50%{transform:translateY(-1%);opacity:.6}}
.impact-labyrinth i{position:absolute;inset:20%;border:3px solid #95ddd6;box-shadow:0 0 12px #6db8b3;animation:minotaur-impact .6s ease-out both}
.impact-labyrinth i:nth-child(2){inset:30%;animation-delay:.05s}.impact-labyrinth i:nth-child(3){inset:40%;animation-delay:.1s}
@keyframes minotaur-impact{0%{opacity:0;transform:rotate(-12deg) scale(.7)}35%{opacity:.8}100%{opacity:0;transform:rotate(0) scale(1.3)}}
.reduced-effects .minotaur-living span,.card-defeated .minotaur-living span,.reduced-effects .impact-labyrinth{display:none}
@media(prefers-reduced-motion:reduce){.minotaur-living span,.impact-labyrinth{display:none}}
.centaur-living{background-size:cover;background-position:center;overflow:hidden}
.centaur-spores{position:absolute;inset:0;background:radial-gradient(circle at 22% 47%,#cdf299 0 .15%,transparent .5%),radial-gradient(circle at 77% 36%,#ccabff 0 .18%,transparent .55%),radial-gradient(circle at 65% 70%,#b7ed88 0 .12%,transparent .45%);animation:centaur-spores-drift 10s ease-in-out infinite;opacity:.45;pointer-events:none}
.centaur-breath{position:absolute;inset:30% 0 15%;background:radial-gradient(ellipse at 45% 60%,#885daa1f,transparent 60%);animation:centaur-spores-drift 13s ease-in-out infinite reverse;pointer-events:none}
@keyframes centaur-spores-drift{50%{transform:translateY(-1.5%);opacity:.7}}
.impact-wildmark i{position:absolute;inset:26%;border:2px solid #d0e893;border-radius:50%;box-shadow:0 0 10px #a1ba74;animation:centaur-mark .6s ease-out both}
.impact-wildmark i:nth-child(2){inset:37%;border-radius:0;transform:rotate(45deg)}.impact-wildmark i:nth-child(3){inset:44%;background:#e4f5bd}
@keyframes centaur-mark{0%{opacity:0;scale:1.5}40%{opacity:.9}100%{opacity:0;scale:.9}}
.reduced-effects .centaur-living span,.card-defeated .centaur-living span,.reduced-effects .impact-wildmark{display:none}
@media(prefers-reduced-motion:reduce){.centaur-living span,.impact-wildmark{display:none}}
.hoplite-living{background-size:cover;background-position:center;overflow:hidden}
.hoplite-sun{position:absolute;inset:20% 7% 17%;background:radial-gradient(ellipse at 44% 62%,#f8d97e25,transparent 49%);animation:hoplite-solar-breath 9s ease-in-out infinite;pointer-events:none}
.hoplite-dust{position:absolute;inset:0;background:radial-gradient(circle at 25% 45%,#fff1ba 0 .13%,transparent .4%),radial-gradient(circle at 72% 37%,#fff0be 0 .15%,transparent .5%);opacity:.35;animation:hoplite-solar-breath 12s ease-in-out infinite reverse;pointer-events:none}
@keyframes hoplite-solar-breath{50%{opacity:.6;transform:translateY(-.6%)}}
.reduced-effects .hoplite-living span,.card-defeated .hoplite-living span{display:none}
@media(prefers-reduced-motion:reduce){.hoplite-living span{display:none}}
.hypaspist-living{background-size:cover;background-position:center;overflow:hidden}
.hypaspist-cloud{position:absolute;inset:35% 0 0;background:radial-gradient(ellipse at 65% 60%,#c1e6ff20,transparent 65%);animation:hypaspist-drift 11s ease-in-out infinite;pointer-events:none}
.hypaspist-stars{position:absolute;inset:0;background:radial-gradient(circle at 20% 32%,#d7f3ff 0 .13%,transparent .4%),radial-gradient(circle at 72% 22%,#d7f3ff 0 .15%,transparent .45%);opacity:.35;animation:hypaspist-drift 8s ease-in-out infinite reverse;pointer-events:none}
@keyframes hypaspist-drift{50%{opacity:.65;transform:translateY(-1%)}}
.impact-breach i{position:absolute;inset:25%;border:3px solid #d0eaff;border-radius:50%;animation:hypaspist-breach .55s ease-out both}
.impact-breach i:nth-child(2){inset:33%;animation-delay:.05s}.impact-breach i:nth-child(3){inset:41%;animation-delay:.1s}
@keyframes hypaspist-breach{0%{opacity:0;scale:.5}30%{opacity:1}100%{opacity:0;scale:1.6}}
.reduced-effects .hypaspist-living span,.card-defeated .hypaspist-living span,.reduced-effects .impact-breach{display:none}
@media(prefers-reduced-motion:reduce){.hypaspist-living span,.impact-breach{display:none}}
.peltast-living{background-size:cover;background-position:center;overflow:hidden}
.peltast-wind{position:absolute;inset:20% 0 15%;background:radial-gradient(ellipse at 75% 65%,#a7dfff25,transparent 58%);animation:peltast-drift 10s ease-in-out infinite;pointer-events:none}
.peltast-stardust{position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,#d2f3ff 0 .13%,transparent .4%),radial-gradient(circle at 75% 55%,#c7eaff 0 .15%,transparent .45%);opacity:.35;animation:peltast-drift 13s ease-in-out infinite reverse;pointer-events:none}
@keyframes peltast-drift{50%{transform:translate(1%,-1%);opacity:.6}}
.impact-harry i{position:absolute;left:20%;top:45%;width:60%;height:3px;background:#b0e2ff;box-shadow:0 0 8px #70b9df;animation:peltast-hit .5s ease-out both;rotate:-20deg}
.impact-harry i:nth-child(2){top:50%;animation-delay:.05s}.impact-harry i:nth-child(3){top:55%;animation-delay:.1s}
.impact-skirmish i{position:absolute;inset:25%;border:2px solid #b3dce9;border-radius:50%;animation:peltast-hit .5s ease-out both}
@keyframes peltast-hit{0%{opacity:0;translate:-20% 0}35%{opacity:.9}100%{opacity:0;translate:20% 0}}
.reduced-effects .peltast-living span,.card-defeated .peltast-living span,.reduced-effects .impact-harry,.reduced-effects .impact-skirmish{display:none}
@media(prefers-reduced-motion:reduce){.peltast-living span,.impact-harry,.impact-skirmish{display:none}}
.duel-pair[data-attack-weapon=javelin] .impact-normal i{height:2px;transform:rotate(0);width:120%}
.phoenix-living{background-size:cover;background-position:center;overflow:hidden}
.phoenix-plasma{position:absolute;inset:15% 5% 20%;background:radial-gradient(ellipse at 50% 45%,#c7a2ff24,transparent 60%);animation:phoenix-flow 10s ease-in-out infinite;pointer-events:none}
.phoenix-embers{position:absolute;inset:0;background:radial-gradient(circle at 24% 53%,#ffdc97 0 .13%,transparent .45%),radial-gradient(circle at 73% 37%,#b9dfff 0 .14%,transparent .4%);animation:phoenix-flow 13s ease-in-out infinite reverse;opacity:.5;pointer-events:none}
@keyframes phoenix-flow{50%{transform:translateY(-1.3%);opacity:.7}}
.impact-rebirth i,.impact-flameheal i{position:absolute;inset:22%;border:3px solid #ffdba6;border-radius:50%;box-shadow:0 0 15px #e5ab56;animation:phoenix-reveal .65s ease-out both}
.impact-rebirth i:nth-child(2),.impact-flameheal i:nth-child(2){inset:32%;animation-delay:.07s}.impact-rebirth i:nth-child(3),.impact-flameheal i:nth-child(3){inset:42%;animation-delay:.14s}
@keyframes phoenix-reveal{0%{opacity:0;scale:.4}30%{opacity:1}100%{opacity:0;scale:1.5}}
.duel-pair[data-attack-weapon=fire] .impact-normal i{background:linear-gradient(90deg,transparent,#f7b35c,#fff1d3);box-shadow:0 0 10px #d27339}
.reduced-effects .phoenix-living span,.card-defeated .phoenix-living span,.reduced-effects .impact-rebirth,.reduced-effects .impact-flameheal{display:none}
@media(prefers-reduced-motion:reduce){.phoenix-living span,.impact-rebirth,.impact-flameheal{display:none}}
/* v74 — owned collection and acquisition gallery */
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:18px 24px;background:#102331df;border:1px solid #b49b684d;border-radius:16px}
.collection-heading h1{margin:4px 0;font-family:Georgia,serif;font-size:32px;color:#f0dfb5}.collection-heading small{letter-spacing:.18em;color:#c4ad77}.collection-heading span{color:#b7cfdb}.collection-heading nav{display:flex;gap:8px;align-items:center}.collection-heading nav button{min-height:42px;display:flex;gap:8px;align-items:center;border-radius:12px}.collection-heading nav button .icon{width:26px;height:26px}
.collection-console{background:#eee7d7 url('/assets/collection-panel-v74.webp') center/cover;border:1px solid #c4b18b;border-radius:16px;padding:16px 22px;color:#263a48;box-shadow:0 8px 25px #0003}
.collection-console .catalog-search{display:flex;align-items:end;gap:12px;margin:0;padding:0;background:none;border:0;box-shadow:none}.collection-console label{display:flex;flex-direction:column;gap:5px;color:#344656;font-size:12px;font-weight:700}.collection-console .catalog-search label:first-child{flex:1}.collection-console input,.collection-console select{background:#fffaf0ed!important;color:#203645!important;border:1px solid #b3a17e!important;border-radius:9px!important;min-height:38px;padding:8px 12px;width:100%}.collection-console select option{color:#203645;background:#fffaf0}.collection-console button{color:#294351;background:#fff9e8;border-color:#bba57d;min-height:38px}.collection-filter-drawer{margin-top:10px}.collection-filter-drawer summary{font-size:12px;cursor:pointer;color:#3c5260}.collection-console .catalog-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:none;border:0;padding:12px 0 0;box-shadow:none}.catalog-pagination{justify-content:center!important;margin:10px 0 20px!important}.catalog-pagination button{min-width:38px}
.owned-collection .collection-grid,.shop-card-catalog .collection-grid{gap:28px 22px;align-items:start}.streamlined-card{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-width:0}.collection-card-stage{position:relative}.streamlined-card .card-inspect{display:block;width:100%;padding:0!important;background:none!important;border:0!important}.streamlined-card .card-inspect .myth-card{width:100%;margin:0}.card-ready-badges{position:absolute;z-index:8;right:-9px;bottom:18%;display:flex;flex-direction:column;gap:3px}.ready-medallion{width:44px;height:44px;padding:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:50%;animation:ready-medallion-pulse 2.8s ease-in-out infinite;filter:drop-shadow(0 2px 3px #0009)}.ready-medallion img{width:100%;height:100%;object-fit:contain}.ready-medallion:nth-child(2){animation-delay:-.8s}.ready-medallion:nth-child(3){animation-delay:-1.6s}.ready-medallion:hover,.ready-medallion:focus-visible{filter:drop-shadow(0 0 7px #ffe4a6);outline:2px solid #fff0b9;outline-offset:2px}.deck-toggle{width:100%;margin-top:10px;border-radius:9px!important;min-height:32px!important;font-size:12px!important;background:#122a37de!important;color:#d5e0df!important;border:1px solid #66859080!important}.deck-toggle.equipped{background:#254e50df!important;color:#f0e3bb!important;border-color:#9b9b67!important}
@keyframes ready-medallion-pulse{50%{scale:1.08;filter:drop-shadow(0 0 5px #f0d592)}}
.shop-card-catalog{grid-column:1/-1;width:100%;min-width:0}.shop-grid:has(.shop-card-catalog){display:block}.unlock-objectives{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0}.unlock-goal{position:relative;background:#182f3ce8;border:1px solid #7b8b974f;border-radius:10px;display:flex;flex-direction:column;align-items:center;padding:7px 4px 10px;overflow:hidden;gap:2px}.unlock-goal>.icon,.unlock-goal>span .icon{width:28px;height:28px}.unlock-goal b{font-size:12px;color:#dbe9e8;z-index:1;font-variant-numeric:tabular-nums}.unlock-goal i{position:absolute;bottom:0;left:0;width:var(--progress);height:3px;background:#92bcd2}.unlock-goal.complete{border-color:#b6a46a;background:#254942df}.unlock-goal.complete i{background:#d8c47e}.unlock-goal em{position:absolute;top:2px;right:5px;font-style:normal;color:#e8d49b;font-size:11px}.unlock-card{width:100%;min-height:36px!important;font-size:12px!important;border-radius:9px!important}.unlock-card:not(:disabled){animation:unlock-breathe 3s ease-in-out infinite}.streamlined-card.unowned .card-inspect{opacity:1!important;filter:none!important}.streamlined-card.unowned .myth-card{filter:none!important}
@keyframes unlock-breathe{50%{box-shadow:0 0 12px #c4a45955}}
.inspect-development{border-top:1px solid #aa946044;padding-top:12px;margin-top:14px}.inspect-development h3{margin:0 0 8px}.inspect-development .growth-preview{display:flex;flex-wrap:wrap;gap:5px 14px;padding:9px 12px;border-radius:9px;background:#142e3b;color:#d9e4df;font-size:12px}.inspect-development .growth-preview>span:last-child{flex-basis:100%}.inspect-upgrade-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}.inspect-upgrade-actions button{display:flex;align-items:center;gap:10px;text-align:left;border-radius:10px;padding:7px 12px!important;min-height:50px;background:#25414d}.inspect-upgrade-actions button img{width:40px;height:40px;object-fit:contain}.inspect-upgrade-actions button span{font-size:14px}.inspect-upgrade-actions button small{display:block;margin-top:3px;font-size:11px;color:#c7d8d8}.inspect-art.compact-art{width:50px;height:50px;padding:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important;margin-top:10px}.inspect-art.compact-art img{width:100%;height:100%;object-fit:contain}.inspect-layout:has(.inspect-development){align-items:start}.inspect-layout:has(.inspect-development)>div{min-width:0}.inspect-unlock .unlock-objectives{max-width:340px}
.reduced-effects .ready-medallion,.reduced-effects .unlock-card{animation:none!important}@media(prefers-reduced-motion:reduce){.ready-medallion,.unlock-card{animation:none!important}}
@media(max-width:760px){.collection-heading{align-items:start;padding:14px;gap:10px}.collection-heading h1{font-size:25px}.collection-heading nav{flex-wrap:wrap;justify-content:end}.collection-heading nav button{font-size:11px}.collection-console{padding:12px}.collection-console .catalog-search{flex-wrap:wrap}.collection-console .catalog-search label:first-child{flex-basis:100%}.collection-console .catalog-search label{flex:1}.collection-console .catalog-filters{grid-template-columns:1fr}.ready-medallion{width:36px;height:36px}.owned-collection .collection-grid,.shop-card-catalog .collection-grid{gap:24px 16px}}
.collection-heading{background:#eee7d7 url('/assets/collection-panel-v74.webp') center/cover;color:#263a48;border-color:#c4b18b}.collection-heading h1{color:#263d4b}.collection-heading small{color:#79633f}.collection-heading span{color:#4b6271}.collection-heading nav button{background:#fff9e8e6;color:#294351;border:1px solid #bba57d}.collection-heading nav button:hover{background:#fff8e4}
.collection-heading,.collection-console{background-size:auto 340%;background-position:center;border:1px solid #c4b18b;box-shadow:inset 0 0 0 3px #fff8e34d,0 6px 24px #0003}.collection-heading nav button img{width:28px;height:28px;object-fit:contain}.collection-heading{padding:18px 24px}.collection-heading nav button{box-shadow:0 2px 5px #5b49271f!important}.card-ready-badges{right:-6px;bottom:22%}.ready-medallion{width:38px;height:38px}
.game-modal:has(.inspect-development){max-width:900px}.inspect-layout:has(.inspect-development){grid-template-columns:minmax(200px,280px) 1fr;gap:24px}.inspect-layout:has(.inspect-development) h2{margin:10px 60px 10px 0}.inspect-layout:has(.inspect-development)>div{position:relative}.inspect-layout .inspect-art.compact-art{position:absolute;right:0;top:8px;width:44px;height:44px;margin:0}.inspect-layout:has(.inspect-development) p{margin:9px 0;font-size:12px;line-height:1.55}.inspect-layout:has(.inspect-development) .mastery-panel{padding:10px;margin:10px 0}.inspect-layout:has(.inspect-development) .ability-timing{padding:8px 10px;font-size:11px}.inspect-development .growth-preview{background:#183440!important;border:0!important;padding:8px!important;font-size:11px}.inspect-development .inspect-upgrade-actions button{padding:5px 10px!important;min-height:45px!important}.inspect-development .inspect-upgrade-actions button img{width:32px;height:32px}.inspect-upgrade-actions{gap:5px;margin-top:7px}.inspect-development{margin-top:10px;padding-top:10px}
.collection-heading,.collection-console{background-size:auto 340%!important;background-position:center!important}.collection-heading{position:relative}
@media(max-width:650px){.inspect-layout:has(.inspect-development){grid-template-columns:1fr}.inspect-layout:has(.inspect-development)>.myth-card{width:180px;justify-self:center}}
.collection-heading,.collection-console{background-size:auto 620%!important}.unlock-goal.complete>span{animation:goal-ready-glint 4s ease-in-out infinite}@keyframes goal-ready-glint{50%{filter:brightness(1.18)}}.reduced-effects .unlock-goal.complete>span{animation:none}@media(prefers-reduced-motion:reduce){.unlock-goal.complete>span{animation:none}}
/* v75 Sacred archive: fully scoped to owned collection */
.myth-shell[data-screen=cards]{background:linear-gradient(180deg,#06121b33,#06121b70 38%,#050e17b8),url('/assets/collection-hall-v75.webp') center top/cover fixed!important;min-height:100vh}
.myth-shell[data-screen=cards] .myth-main{background:transparent!important}.sacred-archive{position:relative;max-width:1440px!important;padding:24px 30px 60px!important;isolation:isolate}.archive-hero{position:relative;display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:20px;padding:10px 0 22px;margin-bottom:12px;border-bottom:1px solid #c7aa654d;background:none;min-height:130px}.archive-crest{width:100px;height:100px;object-fit:contain;filter:drop-shadow(0 5px 15px #000a)}.archive-title small{font-size:9px;letter-spacing:.28em;color:#c4b17e}.archive-title h1{font-family:Georgia,serif;font-size:42px;font-weight:400;line-height:1.1;color:#ffebc1;margin:6px 0;text-shadow:0 3px 15px #0009}.archive-title p{font-size:11px;color:#afc1cd;margin:5px 0 12px}.archive-counters{display:flex;gap:16px;flex-wrap:wrap;color:#d3dcd8;font-size:11px}.archive-counters span+span{border-left:1px solid #baab774d;padding-left:16px}.archive-ready-count{color:#e7c984}.archive-tools{display:flex;gap:8px;align-items:center}.archive-tools button{display:flex;align-items:center;gap:7px;padding:9px 11px!important;border:1px solid #9eacb34d!important;border-radius:10px!important;background:#0e2432bc!important;min-height:44px;box-shadow:inset 0 1px #ffffff0a!important;color:#c7d9de;font-size:10px}.archive-tools button img,.archive-tools button .icon{width:28px;height:28px;object-fit:contain}.archive-tools button:hover{background:#244456e8!important;border-color:#d6bd7a!important;translate:0 -1px}.archive-tools .archive-discover{border-color:#bd9c5d99!important;color:#f3dfb3;background:linear-gradient(130deg,#4e4125d9,#1e2c30dc)!important}
.archive-scopes{display:flex;align-items:center;gap:24px;margin:0 0 16px;border-bottom:1px solid #b9c5c51f}.archive-scopes button{position:relative;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:13px 2px!important;color:#a6bdcc;font-size:12px}.archive-scopes button.active{color:#f4dfac}.archive-scopes button.active:after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:linear-gradient(90deg,#94703c,#f6d995,#94703c);box-shadow:0 0 12px #e8bc5d55}.archive-scopes button:hover{color:#fff0ca}
.sacred-archive .collection-console{background:#0c2232b8!important;background-image:none!important;border:1px solid #9caeae33!important;border-radius:12px!important;padding:12px 16px!important;box-shadow:inset 0 1px #ffffff08,0 8px 22px #0002!important;backdrop-filter:blur(8px);color:#b8cdd8}.sacred-archive .collection-console label{color:#a9c0ce;font-size:9px;letter-spacing:.06em}.sacred-archive .collection-console input,.sacred-archive .collection-console select{background:#061722a6!important;border:1px solid #7796a34d!important;color:#e7e8dc!important;border-radius:7px!important;min-height:35px!important;font-size:11px}.sacred-archive .collection-console input::placeholder{color:#7494a7}.sacred-archive .collection-console input:focus,.sacred-archive .collection-console select:focus{outline:1px solid #dfc487;outline-offset:2px}.sacred-archive .collection-console select option{background:#0d2432;color:#e8dfc7}.sacred-archive .catalog-reset{background:#193543!important;color:#d2e1e1!important;border:1px solid #7796a34d!important;border-radius:7px!important;min-height:35px!important}.sacred-archive .collection-filter-drawer{margin-top:9px}.sacred-archive .collection-filter-drawer summary{color:#98b2c2;font-size:10px}.sacred-archive .collection-filter-drawer[open] summary{color:#e3cd98}.sacred-archive .catalog-pagination{margin:10px 0 27px!important;font-size:10px;color:#afc4cd}.sacred-archive .catalog-pagination button{background:#0d2432a6;border:1px solid #9caeae33;min-height:28px;padding:4px 9px}.sacred-archive .collection-grid{gap:30px 26px!important}.sacred-archive .collection-card-stage{transition:transform .24s ease,filter .24s ease}.sacred-archive .collection-card-stage:hover{transform:translateY(-5px);filter:drop-shadow(0 10px 14px #0005)}.sacred-archive .collection-item{position:relative;animation:archive-card-enter .45s ease both}.sacred-archive .collection-item:nth-child(5n+2){animation-delay:.04s}.sacred-archive .collection-item:nth-child(5n+3){animation-delay:.08s}.sacred-archive .collection-item:nth-child(5n+4){animation-delay:.12s}.sacred-archive .collection-item:nth-child(5n+5){animation-delay:.16s}.sacred-archive .deck-toggle{background:#0e2732b8!important;border:1px solid #809c9d4d!important;color:#9ebbc7!important;border-radius:0 0 10px 10px!important;margin-top:8px!important;min-height:29px!important;font-size:10px!important;letter-spacing:.03em}.sacred-archive .deck-toggle.equipped{background:linear-gradient(90deg,#12363cd9,#1f4548de,#12363cd9)!important;border-color:#aca77366!important;color:#e4d5a5!important}.sacred-archive .deck-toggle:hover{border-color:#dfc487!important;color:#fff0bd!important}.archive-atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.archive-atmosphere i{position:absolute;left:15%;top:46%;width:3px;height:3px;border-radius:50%;background:#ffe3a8;box-shadow:0 0 10px #f2cc70;opacity:.3;animation:archive-mote 14s ease-in-out infinite}.archive-atmosphere i:nth-child(2){left:77%;top:32%;animation-delay:-5s}.archive-atmosphere i:nth-child(3){left:54%;top:75%;animation-delay:-9s}.sacred-archive .catalog-empty{background:#102a3bca;border-color:#bdad704d;border-radius:14px}
@keyframes archive-mote{50%{translate:12px -50px;opacity:.65}}@keyframes archive-card-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.reduced-effects .archive-atmosphere,.reduced-effects .sacred-archive .collection-item{animation:none!important}.reduced-effects .archive-atmosphere{display:none}.reduced-effects .sacred-archive .collection-card-stage{transition:none!important}
@media(min-width:1600px){.sacred-archive .collection-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1050px){.archive-hero{grid-template-columns:72px 1fr;gap:14px}.archive-crest{width:72px;height:72px}.archive-title h1{font-size:34px}.archive-tools{grid-column:1/-1;justify-content:flex-end}.archive-hero{min-height:0}.sacred-archive{padding:18px 20px 50px!important}.sacred-archive .collection-grid{gap:26px 20px!important}}
@media(max-width:650px){.archive-title h1{font-size:29px}.archive-title p{display:none}.archive-counters{font-size:9px;gap:8px}.archive-counters span+span{padding-left:8px}.archive-tools{justify-content:stretch}.archive-tools button{flex:1;justify-content:center;font-size:9px;padding:6px!important}.archive-tools button img,.archive-tools button .icon{width:22px;height:22px}.archive-scopes{gap:14px}.archive-scopes button{font-size:10px}.sacred-archive{padding:16px 14px 50px!important}.sacred-archive .collection-grid{gap:26px 18px!important}}
@media(prefers-reduced-motion:reduce){.archive-atmosphere{display:none}.sacred-archive .collection-item{animation:none!important}.sacred-archive .collection-card-stage{transition:none!important}}
.sacred-archive{padding-right:130px!important}.sacred-archive .archive-hero{gap:16px}.sacred-archive .archive-tools{gap:6px}.sacred-archive .archive-tools button{padding:8px!important}.sacred-archive .catalog-pagination{margin:8px 0 22px!important}.sacred-archive .catalog-pagination button:disabled{opacity:.25}
@media(max-width:1050px){.sacred-archive{padding-right:110px!important}.archive-hero{grid-template-columns:72px 1fr}.archive-tools{grid-column:1/-1}}
@media(max-width:650px){.sacred-archive{padding-right:88px!important}.archive-tools button span{display:none}.archive-scopes{gap:10px;flex-wrap:wrap}.archive-scopes button{font-size:9px}.sacred-archive .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.deck-status{display:flex;justify-content:center;align-items:center;box-sizing:border-box;cursor:default}.unlock-objectives{grid-template-columns:repeat(2,1fr)}.dismantle-open{float:right;margin-top:-30px;border:1px solid #a77762!important;color:#efb99b!important;background:#322826!important;font-size:11px!important;padding:5px 10px!important;min-height:0!important}
/* v77: crafted archive controls and card displays */
.myth-shell[data-screen=cards]{background-image:linear-gradient(180deg,#030b1259,#06121b88 35%,#050e17cc),url('/assets/collection-hall-v75.webp')!important}.archive-v77{padding-top:16px!important}.archive-v77 .archive-hero{grid-template-columns:80px 1fr auto;min-height:106px;padding:4px 0 16px;margin-bottom:4px;gap:16px}.archive-v77 .archive-crest{width:80px;height:80px}.archive-v77 .archive-title h1{font-family:'Cormorant UI',Georgia,serif;font-size:43px;letter-spacing:.015em;margin:3px 0}.archive-v77 .archive-title p{margin:4px 0 9px;color:#b9c6cc;font-size:10px}.archive-v77 .archive-title small{letter-spacing:.25em;font-size:8px}.archive-v77 .archive-counters{font-size:10px;gap:12px}.archive-v77 .archive-counters span+span{padding-left:12px}.archive-v77 .archive-tools{gap:10px;align-self:center}.archive-v77 .archive-tools button{display:flex;flex-direction:column;gap:2px;justify-content:center;width:82px;min-height:80px;padding:6px!important;border-radius:12px!important;background:linear-gradient(145deg,#1c3441cc,#071720e8)!important;border:1px solid #b2a47366!important;color:#dbcda8;font-size:9px;transition:background .2s,transform .2s,box-shadow .2s;box-shadow:inset 0 1px #e8d8a021,0 4px 12px #0004!important}.archive-v77 .archive-tools button img{width:48px;height:48px;filter:drop-shadow(0 3px 4px #0009);object-fit:contain}.archive-v77 .archive-tools button:hover{transform:translateY(-3px);background:linear-gradient(145deg,#334f5dcc,#152a36f0)!important;box-shadow:0 0 14px #d0b56622,inset 0 1px #e8d8a044!important}.archive-v77 .archive-tools .archive-discover{border-color:#d3b46ca6!important;background:linear-gradient(145deg,#56472ccc,#172b36f0)!important;color:#ffe6b0}
.archive-v77 .archive-scopes{gap:8px;margin-bottom:12px;border:0;padding:4px 0}.archive-v77 .archive-scopes button{display:flex;gap:10px;align-items:center;padding:9px 14px!important;border-radius:8px!important;background:#071823b3!important;border:1px solid #6d8b9c42!important;font-size:11px;color:#a7bdc9;transition:background .2s,border-color .2s}.archive-v77 .archive-scopes button b{display:grid;place-items:center;min-width:22px;height:21px;border-radius:6px;background:#29435180;color:#acbfc9;font-size:10px;font-variant-numeric:tabular-nums}.archive-v77 .archive-scopes button.active{color:#f4dfaa;border-color:#d7b56e9c!important;background:linear-gradient(135deg,#5a4929b3,#142d3ae0)!important}.archive-v77 .archive-scopes button.active b{background:#b5985033;color:#ffe4a6}.archive-v77 .archive-scopes button.active:after{display:none}.archive-v77 .archive-scopes button:hover{border-color:#b6b29480!important;color:#f6e8bf}
.archive-v77 .collection-console{position:relative;background:linear-gradient(120deg,#182d3bdd,#091d2bdf)!important;border-color:#76919e4d!important;padding:10px 14px!important;border-radius:10px!important;box-shadow:inset 0 1px #d6e6e610,0 5px 18px #0004!important}.archive-v77 .collection-console:before{content:'';position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#dfc68a66,transparent);pointer-events:none}.archive-v77 .catalog-search{gap:10px}.archive-v77 .collection-console input{padding-left:13px;min-height:34px!important}.archive-v77 .collection-console label{font-size:9px;letter-spacing:.04em}.archive-v77 .collection-filter-drawer summary{font-size:10px;min-height:19px;padding-top:3px;color:#c3c5b4}.archive-v77 .catalog-pagination{margin:8px 0 20px!important;justify-content:flex-end!important;height:24px;font-size:10px}.archive-v77 .catalog-pagination button{min-height:24px;min-width:29px}.archive-v77 .collection-grid{gap:26px 24px!important}.archive-v77 .collection-card-stage .myth-card{box-shadow:0 10px 18px #0008!important}.archive-v77 .collection-card-stage:hover .myth-card{box-shadow:0 13px 25px #000a,0 0 12px #cfac6533!important}.archive-v77 .deck-toggle{display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:transparent url('/assets/archive-plinth-v77.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:36px!important;height:auto;aspect-ratio:3/1;max-height:52px;margin-top:0!important;position:relative;color:#ead9a7!important;font-size:10px!important;text-shadow:0 2px 3px #000;letter-spacing:.03em}.archive-v77 .deck-toggle.equipped{background:transparent url('/assets/archive-plinth-v77.webp') center/contain no-repeat!important;border:0!important}.archive-v77 button.deck-toggle{color:#b9f0ee!important;filter:brightness(1.12)}.archive-v77 button.deck-toggle:hover{filter:brightness(1.4)}.archive-v77 .card-ready-badges{right:-5px;bottom:24%;gap:1px}.archive-v77 .ready-medallion{width:34px;height:34px}.archive-active-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.archive-active-filters button{background:#1b3942cc!important;color:#d8e7e1!important;border:1px solid #87b5ac55!important;border-radius:20px!important;min-height:25px!important;padding:3px 10px!important;font-size:10px!important}.archive-active-filters button span{color:#dfc28a;font-size:14px;margin-left:7px}.archive-v77 button:focus-visible{outline:2px solid #f1cd82!important;outline-offset:3px}.archive-v77 .card-inspect:focus-visible{border-radius:12px;outline-offset:4px!important}.archive-v77 .archive-tools button:active{transform:translateY(0) scale(.97)}
@media(max-width:1050px){.archive-v77 .archive-hero{grid-template-columns:64px 1fr auto;gap:12px}.archive-v77 .archive-crest{width:64px;height:64px}.archive-v77 .archive-tools{grid-column:auto;gap:5px}.archive-v77 .archive-tools button{width:64px;min-height:69px;font-size:8px}.archive-v77 .archive-tools button img{width:39px;height:39px}.archive-v77 .archive-title h1{font-size:34px}.archive-v77 .archive-title p{max-width:220px}.archive-v77 .archive-scopes button{padding:8px 10px!important;font-size:10px}}
@media(max-width:700px){.archive-v77 .archive-hero{grid-template-columns:58px 1fr}.archive-v77 .archive-tools{grid-column:1/-1;justify-content:stretch}.archive-v77 .archive-tools button{flex:1;width:auto;min-height:48px;flex-direction:row}.archive-v77 .archive-tools button img{width:32px;height:32px}.archive-v77 .archive-tools button span{display:inline}.archive-v77 .archive-title p{display:none}.archive-v77 .archive-scopes{gap:5px}.archive-v77 .archive-scopes button{font-size:9px;padding:7px!important;gap:5px}.archive-v77 .archive-scopes button b{min-width:18px;height:18px;font-size:9px}.archive-v77 .ready-medallion{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){.archive-v77 .archive-tools button,.archive-v77 .archive-scopes button{transition:none!important}}.reduced-effects .archive-v77 .archive-tools button,.reduced-effects .archive-v77 .archive-scopes button{transition:none!important}
.archive-v77 .deck-toggle{background-size:contain!important}
.game-modal:has(.inspect-development){border:1px solid #a68d5d99!important;border-image:none!important;border-radius:18px!important;background:linear-gradient(115deg,#06121bed,#0a2033f2),url('/assets/collection-hall-v75.webp') center/cover!important;box-shadow:0 25px 90px #000c,inset 0 1px #e8d9ab22!important;padding:28px!important}.game-modal:has(.inspect-development) h2{font-family:'Cormorant UI',Georgia,serif;color:#ffe6ab;letter-spacing:.02em}.game-modal:has(.inspect-development) .mastery-panel{border:1px solid #9aa89440!important;border-radius:10px!important;background:linear-gradient(125deg,#193342b3,#0c1d2b99)!important;box-shadow:none!important}.game-modal:has(.inspect-development) .inspect-development{border-color:#b9a57733}.game-modal:has(.inspect-development) .growth-preview{background:linear-gradient(110deg,#183c4a,#102a38)!important;border-radius:9px}.game-modal:has(.inspect-development) .inspect-upgrade-actions button{background:linear-gradient(120deg,#203746e8,#102632e8)!important;border:1px solid #8aa5ad44!important;border-radius:10px!important;transition:border-color .2s,background .2s}.game-modal:has(.inspect-development) .inspect-upgrade-actions button:not(:disabled):hover{border-color:#d9be7a!important;background:linear-gradient(120deg,#3b4c4ee8,#1c3643e8)!important}.game-modal:has(.inspect-development) .inspect-upgrade-actions button[data-level]:not(:disabled){border-color:#d2b46e88!important}.game-modal:has(.inspect-development) .inspect-upgrade-actions button:disabled{opacity:.46}.game-modal:has(.inspect-development) .inspect-upgrade-actions button:disabled img{filter:grayscale(.65)}.game-modal:has(.inspect-development) .inspect-role{color:#8fafbf}.game-modal:has(.inspect-development) .ability-timing{border-left:2px solid #d9bd78!important;background:#14304180!important;border-radius:0 7px 7px 0}.game-modal:has(.inspect-development) button:focus-visible{outline:2px solid #f1cd82;outline-offset:3px}
.archive-v77 .archive-hero{position:relative}.archive-v77 .archive-tools{position:absolute;right:0;bottom:-49px;z-index:3;gap:6px}.archive-v77 .archive-tools button{width:86px;min-height:40px;flex-direction:row;gap:5px;padding:5px!important;border-radius:8px!important;font-size:8px}.archive-v77 .archive-tools button img{width:27px;height:27px}.archive-v77 .archive-scopes{padding-right:285px;min-height:44px}
@media(max-width:1050px){.archive-v77 .archive-tools{position:static;grid-column:1/-1;justify-content:flex-end}.archive-v77 .archive-scopes{padding-right:0}.archive-v77 .archive-tools button{width:auto;min-width:86px;min-height:40px}}
@media(max-width:700px){.archive-v77 .archive-tools{justify-content:stretch}.archive-v77 .archive-tools button{min-width:0;flex:1}.archive-v77 .archive-scopes{flex-wrap:wrap}}
/* v78 Card chamber and squad exchange */
.exchange-v78{max-width:1120px!important;width:calc(100vw - 64px)!important;padding:24px!important;border:1px solid #b4996380!important;border-image:none!important;border-radius:18px!important;background:linear-gradient(120deg,#071520eb,#0c2130e8),url('/assets/archive-altar-v78.webp') center/cover!important;box-shadow:0 28px 90px #000c,inset 0 1px #f0daaa1c!important}.exchange-heading{display:flex;gap:16px;align-items:center;padding:0 35px 17px 0;border-bottom:1px solid #b4a47233;margin-bottom:18px}.exchange-heading>img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 3px 7px #0008)}.exchange-heading small{font-size:8px;letter-spacing:.16em;color:#b4baab}.exchange-heading h2{font:32px 'Cormorant UI',Georgia,serif;color:#ffe4af;margin:5px 0!important}.exchange-heading p{font-size:11px!important;color:#b2c9cf;line-height:1.55;margin:5px 0 0}.exchange-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:22px;align-items:start}.exchange-incoming{position:sticky;top:0;padding:12px 12px 14px;border:1px solid #b8a57766;border-radius:12px;background:linear-gradient(160deg,#1c3b48b3,#0b1e2ce6);text-align:center}.exchange-incoming>small{font-size:8px;letter-spacing:.15em;color:#d8bb78;display:block;margin-bottom:14px}.exchange-new-portrait{width:136px;margin:0 auto 12px}.exchange-new-portrait .myth-card{width:100%!important;margin:0!important}.exchange-incoming>strong{display:block;font-size:15px;color:#f1dca5}.exchange-incoming>span{display:block;font-size:9px;color:#9bb9c6;margin:5px 0 12px}.exchange-incoming-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #aabdba33;border-bottom:1px solid #aabdba33;padding:9px 0}.exchange-incoming-stats>b{font-size:15px;color:#e9d9ae;font-variant-numeric:tabular-nums}.exchange-incoming-stats small{display:block;font-size:8px;color:#a7bdc5;margin-top:2px;font-weight:400}.exchange-incoming>p{font-size:11px;color:#e2d4b0;line-height:1.6;margin:12px 0 0}.exchange-incoming>p small{font-size:10px;color:#9fbbc5}.exchange-guide{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px}.exchange-guide>span{font-size:9px;letter-spacing:.12em;color:#c3b37e}.exchange-guide small{font-size:9px;color:#9fbebf}.exchange-v78 .replacement-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:23px 12px!important}.exchange-v78 .exchange-option{padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}.exchange-v78 .replacement-portrait{width:100%!important;max-width:none!important;margin:0!important}.exchange-v78 .replacement-portrait>.myth-card{width:100%!important;margin:0!important}.exchange-deltas{display:grid;grid-template-columns:1fr;gap:3px;margin:7px 0;font-size:8px;color:#9bb1bc}.exchange-deltas>span{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 3px}.exchange-deltas b{font-size:10px;font-variant-numeric:tabular-nums}.exchange-deltas .up b{color:#a0dbbd}.exchange-deltas .down b{color:#e8aa8c}.exchange-deltas .same b{color:#c1ccce}.exchange-option>button{width:100%;padding:6px 4px!important;min-height:31px!important;font-size:9px!important;border-radius:7px!important;background:linear-gradient(120deg,#254653,#173340)!important;color:#eee0ba!important;border:1px solid #b6a36866!important}.exchange-option>button:hover:not(:disabled){background:linear-gradient(120deg,#6a5530,#31444c)!important;border-color:#ead08a!important}.exchange-option>button:disabled{opacity:.45;color:#a9b0b0!important}.exchange-blocked .replacement-portrait{filter:saturate(.35) brightness(.65)}.exchange-footnote{font-size:9px!important;line-height:1.6;color:#8daab8;margin:15px 0 0}.exchange-v78 button:focus-visible{outline:2px solid #efcc86;outline-offset:3px}
.inspect-xp-track{height:4px;flex-basis:100%;border-radius:3px;background:#04141e;overflow:hidden;box-shadow:inset 0 1px 2px #0005}.inspect-xp-track i{display:block;height:100%;background:linear-gradient(90deg,#5c98af,#b0e2d0);border-radius:3px}.game-modal:has(.inspect-development){background:linear-gradient(115deg,#06121be8,#0a2033ee),url('/assets/archive-altar-v78.webp') center/cover!important}.game-modal:has(.inspect-development) .inspect-layout>.myth-card{box-shadow:0 12px 28px #0009!important}.game-modal:has(.inspect-development) .growth-preview{gap:7px 12px!important}.team-picker-modal{border:1px solid #b4996380!important;border-image:none!important;border-radius:18px!important;background:linear-gradient(120deg,#071520ed,#0c2130ed),url('/assets/archive-altar-v78.webp') center/cover!important}.team-picker-modal .reserve-grid>article{background:#112c3ab3!important;border:1px solid #95a9a83d!important;border-radius:12px!important}.team-picker-modal h2{font-family:'Cormorant UI',Georgia,serif;color:#ffe4af}
@media(max-width:1000px){.exchange-v78 .replacement-options{grid-template-columns:repeat(4,minmax(0,1fr))!important}.exchange-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}.exchange-incoming{padding:10px}.exchange-new-portrait{width:120px}}
@media(max-width:720px){.exchange-v78{width:calc(100vw - 24px)!important;padding:16px!important}.exchange-heading h2{font-size:25px}.exchange-heading>img{width:44px;height:44px}.exchange-layout{grid-template-columns:1fr}.exchange-incoming{position:static;display:grid;grid-template-columns:70px 1fr;gap:6px 12px;text-align:left}.exchange-incoming>small{grid-column:1/-1;margin-bottom:6px}.exchange-new-portrait{grid-column:1;grid-row:2/6;width:70px;margin:0}.exchange-incoming>strong,.exchange-incoming>span,.exchange-incoming-stats,.exchange-incoming>p{grid-column:2;margin:0}.exchange-incoming-stats{padding:5px 0}.exchange-incoming>p{display:none}.exchange-v78 .replacement-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}.exchange-guide{margin-top:7px;gap:10px}.exchange-guide small{font-size:8px}}
/* v79 — Collection workshop and field guide */
.archive-gallery-v79,.archive-guide-v79{padding:26px!important;border:1px solid #b4996370!important;border-image:none!important;border-radius:18px!important;background:linear-gradient(120deg,#071520ed,#0c2130e8),url('/assets/archive-altar-v78.webp') center/cover!important}.archive-window-heading{display:flex;align-items:center;gap:16px;padding:0 35px 18px 0;border-bottom:1px solid #c2aa7133}.archive-window-heading>img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 8px #0007)}.archive-window-heading small{font-size:8px;letter-spacing:.18em;color:#c5b587}.archive-window-heading h2{font:34px 'Cormorant UI',Georgia,serif!important;color:#ffe4af;margin:4px 0!important}.archive-window-heading span{font-size:11px;color:#aac3ce}.archive-gallery-v79>p,.archive-guide-v79>p{color:#aac1cb;font-size:11px;line-height:1.7;max-width:760px}.archive-gallery-v79 .card-back-gallery{gap:16px;margin-top:20px}.archive-gallery-v79 .back-choice{padding:12px;border:1px solid #8ea4ac33;border-radius:12px;background:#10273499;gap:9px;min-width:0}.archive-gallery-v79 .back-choice.is-selected{border-color:#e0c27b;background:linear-gradient(160deg,#4b422b66,#102734c9);box-shadow:inset 0 0 0 1px #e0c27b22}.back-art-stage{position:relative;display:grid;place-items:center;padding:7px 4px 14px;min-width:0}.archive-gallery-v79 .back-art-stage img{width:100%;max-height:290px;aspect-ratio:2/3;object-fit:contain;box-shadow:none;filter:drop-shadow(0 7px 8px #0008);transition:transform .25s}.back-choice:hover .back-art-stage img{transform:translateY(-4px)}.back-equipped{position:absolute;bottom:0;left:50%;translate:-50% 0;white-space:nowrap;background:#213c39f2;border:1px solid #9ec5a6;color:#d6edd6;font-size:9px;padding:4px 10px;border-radius:20px}.archive-gallery-v79 .card-back-gallery h3{font-size:23px}.archive-gallery-v79 .card-back-gallery button{background:#1b3948!important;border:1px solid #9eb6be55!important;border-radius:8px!important;color:#eddfbc!important;min-height:38px}.archive-gallery-v79 .card-back-gallery button:disabled{opacity:.65}.archive-gallery-v79 .is-selected button:disabled{color:#d8e6c9!important;opacity:1}.legend-chapter{margin:10px 0;border:1px solid #97acb333;border-radius:10px;background:#0c2431a6;overflow:hidden}.legend-chapter>summary{cursor:pointer;display:flex;align-items:center;gap:12px;padding:15px 18px;color:#ead7ab;list-style:none}.legend-chapter>summary::-webkit-details-marker{display:none}.legend-chapter>summary:before{content:'+';font-size:20px;color:#bca66f;width:16px}.legend-chapter[open]>summary:before{content:'−'}.legend-chapter>summary span{font:22px 'Cormorant UI',Georgia,serif}.legend-chapter>summary small{margin-left:auto;font-size:9px;color:#8faebd}.legend-chapter[open]>summary{border-bottom:1px solid #97acb322}.legend-chapter .icon-legend-grid{padding:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.legend-chapter .icon-legend-grid article{background:#19354380;border:0;padding:9px;gap:10px}.legend-chapter .icon-legend-grid .card-glyph{width:44px!important;height:44px!important}.archive-guide-v79 summary:focus-visible,.archive-gallery-v79 button:focus-visible{outline:2px solid #f1cd83;outline-offset:3px}@media(max-width:700px){.archive-gallery-v79,.archive-guide-v79{padding:18px!important}.archive-window-heading>img{width:48px;height:48px}.archive-window-heading h2{font-size:28px!important}.archive-window-heading span{font-size:10px}.archive-gallery-v79 .card-back-gallery{gap:10px}.archive-gallery-v79 .back-choice{padding:8px}.legend-chapter .icon-legend-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.legend-chapter>summary{padding:12px}.legend-chapter .icon-legend-grid span{font-size:10px}}@media(prefers-reduced-motion:reduce){.back-choice:hover .back-art-stage img{transform:none}}.reduced-effects .back-choice:hover .back-art-stage img{transform:none}
/* v80 — Card acquisition gallery */
.acquisition-heading{display:flex;align-items:center;gap:16px;padding:18px 22px;margin:0 0 20px;border:1px solid #c4aa6540;border-radius:14px;background:linear-gradient(115deg,#071923e8,#152f3ce3),url('/assets/archive-altar-v78.webp') center/cover;box-shadow:0 8px 24px #0003}.acquisition-heading>img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 8px #0008)}.acquisition-heading>div{flex:1;min-width:0}.acquisition-heading small{color:#b8a875;font-size:8px;letter-spacing:.12em}.acquisition-heading h2{font:31px 'Cormorant UI',Georgia,serif;color:#f8e0a8;margin:4px 0}.acquisition-heading p{font-size:11px;color:#a8c3cc;margin:5px 0;line-height:1.6}.acquisition-heading aside{display:flex;gap:20px;padding-left:20px;border-left:1px solid #bea76f40}.acquisition-heading aside>span{display:grid;grid-template-columns:30px auto;align-items:center;gap:2px 7px}.acquisition-heading aside .icon{width:30px;height:30px;grid-row:1/3}.acquisition-heading aside b{font-size:18px;color:#eee1c4;font-variant-numeric:tabular-nums}.acquisition-heading aside small{font-size:9px;letter-spacing:0;color:#a5bac0}.acquisition-v80 .collection-console{padding:12px 16px!important;background:#102838e8!important;background-image:none!important;border:1px solid #8da5ad44!important;border-radius:12px!important;box-shadow:inset 0 1px #ffffff09,0 5px 15px #0002!important;color:#c4d5dc}.acquisition-v80 .collection-console label{font-size:10px;color:#a9c0cb}.acquisition-v80 .collection-console input,.acquisition-v80 .collection-console select{background:#071c29!important;color:#e1e6de!important;border:1px solid #89a6b14d!important;border-radius:7px!important;min-height:35px!important}.acquisition-v80 .collection-console select option{background:#102838;color:#e1e6de}.acquisition-v80 .catalog-reset,.acquisition-v80 .catalog-pagination button{border:1px solid #8da5ad44!important;border-radius:7px!important;background:#183544!important;color:#d6e2de!important}.acquisition-v80 .catalog-pagination{margin:12px 0 26px;font-size:10px;color:#a9c2cc}.acquisition-v80 .collection-filter-drawer{margin-top:8px}.acquisition-v80 .collection-filter-drawer summary{font-size:10px;color:#b8cbd1;cursor:pointer}.acquisition-v80 .collection-grid{gap:28px 24px}.acquisition-v80 .collection-item{padding-bottom:4px!important}.acquisition-v80 .unlock-objectives,.inspect-unlock .unlock-objectives{gap:7px;margin:12px 0 8px}.acquisition-v80 .unlock-goal,.inspect-unlock .unlock-goal{display:grid;grid-template-columns:29px 1fr;grid-template-rows:auto auto;gap:2px 5px;text-align:left;align-items:center;padding:9px 7px 12px;border:1px solid #839ca544;background:linear-gradient(120deg,#1a3646ee,#102532ed);border-radius:9px}.unlock-goal>small{font-size:8px;color:#a4bcc5;line-height:1.2}.unlock-goal>b>small{font-size:9px;color:#a4bcc5;font-weight:400}.acquisition-v80 .unlock-goal>span,.inspect-unlock .unlock-goal>span{grid-row:1/3;display:grid;place-items:center}.acquisition-v80 .unlock-goal>span .icon,.inspect-unlock .unlock-goal>span .icon{width:27px;height:27px}.acquisition-v80 .unlock-goal b,.inspect-unlock .unlock-goal b{font-size:13px;line-height:1.3}.acquisition-v80 .unlock-goal.complete,.inspect-unlock .unlock-goal.complete{border-color:#8eae795c;background:linear-gradient(120deg,#294b43e8,#102f34ed)}.acquisition-v80 .unlock-goal em,.inspect-unlock .unlock-goal em{font-size:9px;top:2px;right:4px;color:#b6dfb3}.acquisition-v80 .unlock-card{min-height:34px!important;border:1px solid #c6ac6866!important;border-radius:8px!important;background:linear-gradient(110deg,#71603b,#364a4c)!important;color:#f8e8be!important;font-size:11px!important}.acquisition-v80 .unlock-card:disabled{animation:none;opacity:1;background:#152e3b!important;border-color:#7e96a33d!important;color:#829eac!important}.acquisition-v80 .card-inspect{transition:transform .22s,filter .22s}.acquisition-v80 .card-inspect:hover{transform:translateY(-4px);filter:drop-shadow(0 8px 10px #0007)}.unlock-goal:focus-visible,.acquisition-v80 button:focus-visible,.acquisition-v80 input:focus-visible,.acquisition-v80 select:focus-visible{outline:2px solid #e6c781;outline-offset:3px}@media(max-width:850px){.acquisition-heading{flex-wrap:wrap;padding:15px}.acquisition-heading aside{border-left:0;border-top:1px solid #bea76f40;padding:12px 0 0;width:100%}.acquisition-heading>img{width:52px;height:52px}.acquisition-heading h2{font-size:27px}}@media(max-width:600px){.acquisition-v80 .collection-grid{gap:24px 14px}.acquisition-v80 .unlock-goal{grid-template-columns:1fr;text-align:center;padding:7px 3px 11px}.acquisition-v80 .unlock-goal>span{grid-row:auto}.acquisition-v80 .unlock-goal>small{font-size:8px}.acquisition-heading h2{font-size:23px}.acquisition-v80 .catalog-search{flex-wrap:wrap}.acquisition-v80 .catalog-search label:first-child{flex-basis:100%}.acquisition-v80 .catalog-filters{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.acquisition-v80 .card-inspect:hover{transform:none}}.reduced-effects .acquisition-v80 .card-inspect:hover{transform:none}
.cardshop-v80{padding-top:14px!important;padding-right:130px!important}.cardshop-v80 .shop-context{margin:0 0 14px!important;align-items:center}.cardshop-v80 .shop-context label{display:flex;align-items:center;gap:10px;font-size:10px;color:#b3c9d1}.cardshop-v80 .shop-context select{min-height:34px!important;padding:5px 10px!important;width:180px;background:#112937!important;border:1px solid #98b0b54d!important;border-radius:8px!important}.cardshop-v80 .shop-context .back-button{font-size:10px;min-height:34px!important;padding:7px 12px!important;border-radius:8px!important;background:#112937e8!important;border:1px solid #98b0b54d!important}.acquisition-heading h1{font:31px 'Cormorant UI',Georgia,serif;color:#f8e0a8;margin:4px 0}.cardshop-v80 .acquisition-heading{padding:14px 18px;margin-bottom:14px}.cardshop-v80 .acquisition-heading>img{width:60px;height:60px}@media(max-width:700px){.cardshop-v80{padding-right:18px!important;padding-bottom:100px!important}.cardshop-v80 .shop-context{flex-wrap:wrap;gap:10px}.cardshop-v80 .shop-context label{font-size:9px}.cardshop-v80 .shop-context select{width:145px}.acquisition-heading h1{font-size:25px}}
.cardshop-v80{padding-top:94px!important}.cardshop-v80 .shop-context{position:relative;z-index:1}.cardshop-v80 .acquisition-heading{margin-top:0}.cardshop-v80 .shop-context label{margin:0}.cardshop-v80 .acquisition-heading p{margin-bottom:0}@media(max-width:700px){.cardshop-v80{padding-top:105px!important}}
/* v81 — Supplies and spell workshop */
.market-v81{padding-right:130px!important}.market-v81 .page-heading{background:linear-gradient(110deg,#081b28ed,#163242e3),url('/assets/archive-altar-v78.webp') center/cover!important;border:1px solid #b5a06a55!important;border-image:none!important;border-radius:14px!important;padding:18px 22px!important;box-shadow:0 8px 24px #0003!important}.market-v81 .page-heading:before,.market-v81 .page-heading:after{display:none!important}.market-v81 .page-heading h1{margin:6px 0!important;font-size:32px!important}.market-v81 .page-heading p{font-size:11px!important;margin-top:5px!important}.market-v81 .shop-context select{background:#102735!important;border-radius:8px;border:1px solid #8ba7b24d}.market-v81 .shop-context .back-button{border-radius:8px!important;background:#102735e6!important;border:1px solid #8ba7b24d!important}.market-v81 .shop-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:18px!important}.market-offer-v81{position:relative;border:1px solid #97adb54d!important;border-image:none!important;border-radius:14px!important;background:linear-gradient(140deg,#153342ed,#0b202fe8),url('/assets/archive-altar-v78.webp') center/cover!important;box-shadow:inset 0 1px #f5dfad0d,0 8px 24px #0004!important;padding:20px!important;min-width:0;overflow:hidden}.market-offer-v81:before,.market-offer-v81:after{display:none!important}.market-offer-v81 .offer-symbol{box-shadow:none!important;border:0!important;filter:drop-shadow(0 5px 8px #0006);margin-bottom:16px}.market-offer-v81 .offer-kicker{font-size:8px!important;letter-spacing:.12em;color:#aaac91!important;margin:0!important}.market-offer-v81 h3{font-size:28px!important;margin:7px 0 0!important;min-height:34px}.market-offer-v81 p{font-size:12px!important;line-height:1.7!important;color:#b6cbd4!important;margin:8px 0 18px!important;flex:1}.market-offer-v81 .offer-cost{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #9db2b22b;margin-top:auto;box-sizing:border-box}.offer-cost>small{font-size:10px;color:#8fadb9}.offer-cost>b{display:flex;align-items:center;gap:6px;font-size:13px;color:#ecd9a8;font-weight:600;text-align:right}.offer-cost .icon{width:23px;height:23px}.market-offer-v81>button{margin-top:0!important;min-height:38px!important;background:linear-gradient(115deg,#77613b,#3b5050)!important;border:1px solid #c9af6f77!important;border-radius:8px!important;color:#f9e8bd!important;box-shadow:inset 0 1px #fff2bf1a!important}.market-offer-v81>button:hover:not(:disabled){filter:brightness(1.15);border-color:#e3c881!important}.market-offer-v81>button:disabled{opacity:1!important;background:#1b3240!important;color:#7897a8!important;border-color:#7897a833!important;filter:none!important}.market-offer-v81 .offer-price{margin:8px 0 0!important;color:#bfaf98!important;font-size:10px!important;line-height:1.5}.market-offer-v81.offer-planned{border-style:dashed!important}.spell-offer-heading{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.spell-offer-heading .offer-symbol{margin:0!important;width:88px!important;height:88px!important;border-radius:14px!important;overflow:hidden}.spell-stock-count{display:flex;flex-direction:column;align-items:center;padding:10px 12px;min-width:45px;background:#081c2980;border:1px solid #92afb233;border-radius:10px}.spell-stock-count b{font:30px 'Cormorant UI',Georgia,serif;color:#f2dfb2;font-variant-numeric:tabular-nums}.spell-stock-count small{font-size:9px;color:#97b5c4}.spell-stock-v81{grid-column:1/-1;display:flex;gap:12px;align-items:center;padding:13px 18px;border:1px solid #9fb6b440;border-radius:10px;background:#0c2432e6}.spell-stock-v81>.icon{width:35px;height:35px;color:#d6bc7e}.spell-stock-v81>div{display:flex;flex-direction:column;gap:4px}.spell-stock-v81 b{font-size:12px;color:#eadbb9}.spell-stock-v81 span{font-size:10px;color:#a6c0cc}.spell-stock-v81 p{margin:0 0 0 auto;max-width:270px;font-size:10px;line-height:1.6;color:#92b1bf}.market-v81 button:focus-visible,.market-v81 select:focus-visible{outline:2px solid #e5c77f;outline-offset:3px}@media(max-width:700px){.market-v81{padding-right:18px!important;padding-bottom:100px!important}.market-v81 .page-heading h1{font-size:28px!important}.spell-stock-v81{flex-wrap:wrap}.spell-stock-v81 p{max-width:none;flex-basis:100%;margin:0}.market-v81 .shop-context{flex-wrap:wrap;gap:12px}.market-v81 .shop-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}.market-offer-v81{padding:16px!important}}

/* v83/v85 — Shop sections use four / three / two columns. */
.shop-sections-v83{max-width:1440px!important;padding-left:30px!important;padding-right:130px!important}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:30px 26px!important;align-items:start!important;justify-items:stretch}
.category-grid>.category-tile{width:100%;max-width:none;height:auto!important;min-height:0!important;aspect-ratio:9/8;align-self:start;box-sizing:border-box}
.category-grid>.category-tile>.category-art{inset:2px 2px auto!important;width:calc(100% - 4px)!important;height:auto!important;aspect-ratio:9/8;background-size:400% 300%;border-radius:6px}
.category-grid>.category-tile>.category-caption{width:100%;min-height:44px;box-sizing:border-box;margin:0;padding:10px 6px!important}
.category-grid .category-caption h3{font-size:clamp(12px,1.3vw,18px)!important;overflow-wrap:anywhere}
@media(max-width:1050px){.shop-sections-v83{padding-left:20px!important;padding-right:110px!important}.category-grid{gap:26px 20px!important}}
@media(max-width:1000px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 18px!important}}
@media(max-width:650px){.shop-sections-v83{padding-left:14px!important;padding-right:88px!important}.category-grid .category-caption h3{font-size:12px!important}}
/* v84 — One responsive width for every shop section, including its navigation. */
.myth-shell[data-screen=shop] .myth-main>.content-page{width:100%!important;max-width:1440px!important;min-width:0;margin:0 auto!important;padding:92px 130px 70px 30px!important;box-sizing:border-box}
.myth-shell[data-screen=shop] .content-page>.page-heading,.myth-shell[data-screen=shop] .shop-context,.myth-shell[data-screen=shop] .shop-grid{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
.myth-shell[data-screen=shop] .shop-grid:not(:has(.shop-card-catalog)){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch}
.myth-shell[data-screen=shop] .shop-grid>.shop-offer{width:100%;min-width:0;max-width:none!important;box-sizing:border-box;overflow-wrap:anywhere}
.myth-shell[data-screen=shop] .shop-grid:has(.shop-card-catalog){display:block!important}
.myth-shell[data-screen=shop] .spell-stock-v81{width:100%;max-width:none!important;min-width:0;box-sizing:border-box}
.myth-shell[data-screen=shop] .shop-context{align-items:center;gap:16px}
.myth-shell[data-screen=shop] .shop-context label{min-width:0;max-width:260px;width:100%}
.myth-shell[data-screen=shop] .shop-context select{width:100%!important;min-width:0;max-width:100%}
.fullscreen-toggle{display:grid;place-items:center;flex:none;width:32px;height:36px;min-height:32px!important;padding:0!important;border:1px solid #8ca8b54d!important;background:#0a1d2be6!important;color:#c6dddf;border-radius:8px!important}.fullscreen-toggle>span{font:25px/1 'Segoe UI Symbol',sans-serif}.fullscreen-toggle[aria-pressed=true]{color:#f2d28f;border-color:#d6b56b99!important}.fullscreen-toggle:focus-visible{outline:2px solid #e5ca89;outline-offset:3px}
:fullscreen{background:#07131e;overflow:auto}
@media(max-width:1100px){.myth-shell[data-screen=shop] .myth-main>.content-page{padding-right:110px!important;padding-left:20px!important}.myth-shell[data-screen=shop] .shop-grid:not(:has(.shop-card-catalog)){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:800px){.myth-shell[data-screen=shop] .shop-grid:not(:has(.shop-card-catalog)){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.myth-shell[data-screen=shop] .myth-main>.content-page{padding:110px 14px 110px!important}.myth-shell[data-screen=shop] .shop-context{flex-direction:row;flex-wrap:wrap;align-items:center}.myth-shell[data-screen=shop] .shop-context label{max-width:100%;flex:1 1 160px}.fullscreen-toggle{width:28px;height:30px}.fullscreen-toggle>span{font-size:22px}.myth-hud .hud-wallet{flex-wrap:wrap!important}}
@media(max-width:450px){.myth-shell[data-screen=shop] .shop-grid:not(:has(.shop-card-catalog)){grid-template-columns:minmax(0,1fr)!important}}
/* v85 — Painted enamel controls, original art proportions retained. */
.fullscreen-toggle{width:36px;height:36px;background:#112a37e6!important;border-color:#c6aa6c66!important}.fullscreen-art{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 2px 2px #0008)}.fullscreen-art.is-fullscreen{transform:scale(.82)}
.myth-shell[data-screen=shop] .shop-context .back-button{display:inline-flex;align-items:center;gap:7px;padding:7px 12px!important;background:#102b38e8!important;border:1px solid #c5aa6666!important;border-radius:9px!important}.shop-back-art{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 2px 2px #0008)}
.myth-shell[data-screen=shop] .market-offer-v81>.gold-button,.myth-shell[data-screen=shop] .unlock-card{background:transparent url('/assets/ui-action-button-v85.webp') center/contain no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;aspect-ratio:5/1;height:auto!important;min-height:44px!important;max-height:60px;padding:8px 20px!important;color:#f6e6bb!important;text-shadow:0 1px 2px #000;font-weight:600;filter:drop-shadow(0 3px 3px #0005)}
.myth-shell[data-screen=shop] .market-offer-v81>.gold-button:hover:not(:disabled),.myth-shell[data-screen=shop] .unlock-card:hover:not(:disabled){filter:brightness(1.18) drop-shadow(0 3px 5px #0007)}
.myth-shell[data-screen=shop] .market-offer-v81>.gold-button:disabled,.myth-shell[data-screen=shop] .unlock-card:disabled{background:transparent url('/assets/ui-action-button-v85.webp') center/contain no-repeat!important;filter:grayscale(.7) brightness(.7)!important;color:#c0caca!important;opacity:1!important}
@media(max-width:700px){.fullscreen-toggle{width:28px;height:30px}.fullscreen-art{width:24px;height:24px}.myth-shell[data-screen=shop] .unlock-card{font-size:10px!important;padding:6px 12px!important}}
.myth-shell[data-screen=shop] .market-offer-v81>.gold-button,.myth-shell[data-screen=shop] .unlock-card,.myth-shell[data-screen=shop] .market-offer-v81>.gold-button:disabled,.myth-shell[data-screen=shop] .unlock-card:disabled{background-size:100% auto!important}
/* v86 — Celestial city HUD: quieter materials, stronger hierarchy. */
.myth-shell:not(.battle-active) .myth-hud .hud-wallet{padding:9px 15px!important;gap:6px!important;background:#09212de8!important;border:1px solid #c9b17680!important;border-radius:12px!important;box-shadow:0 7px 20px #0005,inset 0 1px #f5e1ac22;backdrop-filter:blur(8px)}
.hud-wallet .hud-resource{background:#06192399!important;border:1px solid #a0b9bc29!important;border-radius:7px!important;padding:4px 7px!important;gap:5px!important}.hud-wallet .hud-resource b{font-family:Manrope,'Segoe UI',sans-serif!important;font-size:14px!important;font-weight:700;font-variant-numeric:tabular-nums;color:#f8e8c2;letter-spacing:.01em}.hud-wallet .hud-resource .raster-icon{width:33px!important;height:33px!important}.hud-wallet .player-level{background:none!important;border:0!important;color:#d7be83;font-size:11px!important;padding:5px!important}
.world-chrome>div:first-child{background:#0a2432ed!important;border:1px solid #c7aa6b88!important;border-radius:12px!important;padding:13px 18px!important;min-width:238px!important;box-shadow:0 8px 24px #0004}.world-chrome h1{font-family:Prata,Georgia,serif!important;font-size:28px!important;line-height:1.3;color:#fff0c8;margin:5px 0 9px!important;letter-spacing:.015em}.world-chrome small{font:8px Manrope,'Segoe UI',sans-serif!important;color:#d5b974!important;letter-spacing:.2em!important}.world-chrome .worker-badge{display:flex;align-items:center;gap:5px;background:none!important;border:0!important;padding:0!important;font-size:10px;color:#b3cdd3;white-space:nowrap}
.city-switcher{left:18px!important;top:145px!important;gap:6px!important}.city-switcher button{border:1px solid #a1b7b650!important;background:#0b2634ed!important;border-radius:8px!important;padding:8px 10px!important;min-height:45px!important;box-shadow:0 3px 8px #0004}.city-switcher button b{font-size:10px;color:#c8d9dc}.city-switcher button small{font-size:8px;color:#86a9b8}.city-switcher button.active{border-color:#e2c37e!important;background:linear-gradient(140deg,#5d5032,#203d44)!important}.city-switcher button.active b{color:#ffebbc}
.city-objective{left:18px!important;top:205px!important;width:252px!important;padding:18px!important;border:1px solid #b9a16c88!important;border-radius:12px!important;background:#0a2331ed!important;box-shadow:0 8px 24px #0004}.city-objective>small{font-size:8px!important;letter-spacing:.17em;color:#c9b078}.city-objective>b{font:25px/1.15 'Cormorant UI',Georgia,serif!important;font-weight:600!important;color:#ffe6af;margin:9px 0}.city-objective>span{font-size:10px!important;color:#9fbfc9;margin:8px 0 14px}.city-objective>div{gap:7px;align-items:center}.city-objective>div>button:not(.gold-button){width:34px;min-width:34px!important;height:38px;min-height:38px!important;padding:6px!important;border:1px solid #bba36b55!important;border-radius:8px!important;background:#143440!important;color:#e5cea1}
.world-chrome .map-tools{gap:6px!important;padding:7px!important;border:1px solid #bca66b70;background:#0b2635e8;border-radius:12px}.map-tools button{width:32px!important;height:32px!important;min-height:32px!important;background:#183b48!important;border:1px solid #99b6bd40!important;border-radius:7px!important;color:#edd9a7;font-size:19px!important}
.myth-nav button{position:relative;min-width:0!important;width:77px!important;min-height:87px!important;border:0!important;background:transparent url('/assets/city-nav-pedestal-v86.webp') center/contain no-repeat!important;border-radius:0!important;box-shadow:none!important;padding:7px 5px 12px!important;gap:2px!important;transition:filter .2s,transform .2s}.myth-nav button:after{display:none!important}.myth-nav button .nav-icon{width:44px!important;height:44px!important}.myth-nav button>span:not(.icon){font-size:10px!important;color:#ecdcba;text-shadow:0 1px 3px #000}.myth-nav button.active{filter:brightness(1.25) drop-shadow(0 0 5px #e2c17555)}.myth-nav button:hover{transform:translateX(-3px);filter:brightness(1.2)}
.map-hint{left:18px!important;bottom:103px!important;max-width:280px!important;display:flex;align-items:center;gap:7px;padding:8px 10px!important;background:#0a2331df!important;border:1px solid #90adb13d!important;border-radius:8px!important;font-size:9px!important;color:#a3bdc9!important;box-shadow:0 3px 10px #0003}.map-hint .icon{width:18px;height:18px}.town-toolbar{left:18px!important;bottom:49px!important;padding:6px!important;gap:6px!important;border:1px solid #bba36b66!important;border-radius:10px!important;background:#092431eb!important;box-shadow:0 5px 16px #0005}.town-toolbar button{padding:7px 11px!important;font-size:11px!important;min-height:35px!important;border-radius:7px!important;background:#183b48!important;border:1px solid #9db7b93d!important;color:#e3d9bd}.developer-toggle{border:1px solid #99b0b343!important;background:#0c2533dd!important;border-radius:8px!important;box-shadow:none!important;font-size:10px!important}
.city-income{left:auto!important;right:108px!important;bottom:18px!important;padding:13px 16px!important;gap:16px!important;border:1px solid #c8ad7380!important;border-radius:12px!important;background:#0a2431ed!important;box-shadow:0 8px 24px #0005}.city-income-values>small{display:block;font-size:7px;letter-spacing:.13em;color:#c0ab7b;margin-bottom:7px}.city-income-values>span{display:flex;align-items:center;gap:6px!important}.city-income-values .icon{width:23px!important;height:23px!important}.city-income-values b{font:700 15px Manrope,'Segoe UI',sans-serif!important;color:#fff0ca;font-variant-numeric:tabular-nums}.city-income-values .icon:not(:first-child){margin-left:6px}.city-income>button,.city-objective .gold-button{background:transparent url('/assets/ui-action-button-v85.webp') center/100% auto no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#f9e9bc!important;text-shadow:0 1px 3px #000;font-size:11px!important;min-height:40px!important;padding:8px 15px!important}.city-income>button{width:114px}.city-objective .gold-button{width:142px;white-space:normal;line-height:1.3}
@media(max-width:1050px) and (min-width:701px){.world-chrome{left:18px!important;top:87px!important}.city-switcher{top:223px!important}.city-objective{top:281px!important}.myth-hud .hud-wallet{right:90px!important}.city-income{right:100px!important}}
@media(max-width:700px){.myth-shell:not(.battle-active) .myth-hud .hud-wallet{padding:5px!important;gap:3px!important}.hud-wallet .hud-resource .raster-icon{width:23px!important;height:23px!important}.hud-wallet .hud-resource b{font-size:11px!important}.world-chrome{left:12px!important;top:105px!important}.world-chrome>div:first-child{padding:10px 13px!important;min-width:205px!important}.world-chrome h1{font-size:23px!important}.world-chrome .worker-badge{font-size:8px}.city-switcher{top:216px!important;left:12px!important;max-width:calc(100% - 65px)}.city-switcher button{min-height:39px!important;padding:6px!important}.city-objective{left:12px!important;top:269px!important;width:205px!important;padding:12px!important}.city-objective>b{font-size:21px!important}.city-objective>span{font-size:9px!important}.city-objective .gold-button{width:116px;font-size:10px!important}.city-objective>div>button:not(.gold-button){width:28px!important;min-width:28px!important;padding:4px!important}.myth-nav button{width:65px!important;min-height:72px!important;max-width:80px;flex:1}.myth-nav button .nav-icon{width:34px!important;height:34px!important}.myth-nav button>span:not(.icon){font-size:9px!important}.myth-nav button:hover{transform:none}.map-hint{display:none!important}.town-toolbar{bottom:92px!important;left:12px!important}.city-income{bottom:145px!important;right:12px!important;padding:10px!important;gap:8px!important;max-width:calc(100% - 24px)}.city-income>button{width:95px}.city-income-values>small{font-size:6px}.world-chrome .map-tools{top:106px!important}}
@media(min-width:701px){.myth-shell:not(.battle-active) .myth-hud .hud-wallet{background:transparent url('/assets/city-resource-tray-v86.webp') center/100% auto no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:11px 20px!important}.city-objective{width:270px!important;min-height:180px;padding:23px 24px!important;background:transparent url('/assets/city-objective-plaque-v86.webp') center/100% auto no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important}.city-objective>small{font-size:7px!important}.city-objective>b{font-size:24px!important}.city-objective>span{font-size:10px!important}.city-objective>div{gap:5px}.city-objective .gold-button{width:137px;font-size:10px!important}}
.city-income{width:auto!important;max-width:none!important;min-width:320px}.city-income>button{flex:0 0 114px;white-space:nowrap}.city-income-values{flex:1;min-width:0}@media(max-width:700px){.city-income{min-width:0;max-width:calc(100% - 24px)!important}.city-income>button{flex-basis:95px}}
/* v87 — Readability and touch-first city layout. */
.hud-settings,.hud-settings-menu{display:contents}.hud-settings>summary,.settings-level{display:none}
.world-chrome .worker-badge{font-size:12px!important;line-height:1.5}.world-chrome small{font-size:10px!important;letter-spacing:.12em!important}.city-switcher button b{font-size:12px}.city-switcher button small{font-size:10px}.city-objective>small{font-size:10px!important;letter-spacing:.12em}.city-objective>span{font-size:12px!important}.city-objective>b{font-size:26px!important}.city-objective .gold-button{font-size:12px!important;min-height:44px!important}.city-objective>div>button:not(.gold-button){min-width:40px!important;width:40px!important;min-height:44px!important;height:44px}.city-income-values>small{font-size:10px;letter-spacing:.07em}.city-income-values b{font-size:17px!important}.city-income>button{font-size:13px!important;min-height:44px!important}.town-toolbar button{font-size:13px!important;min-height:44px!important}.map-tools button{width:40px!important;height:40px!important;min-height:40px!important}.map-hint{font-size:11px!important}.myth-nav button>span:not(.icon){font-size:12px!important}.developer-toggle{min-height:38px!important}.map-tools button,.hud-settings summary{touch-action:manipulation}
@media(min-width:701px){.city-objective{width:300px!important;min-height:200px;padding:24px 27px!important}.city-objective .gold-button{width:155px}.city-objective>div{gap:5px}.town-toolbar{bottom:55px!important}.map-hint{bottom:118px!important}.world-chrome>div:first-child{min-width:260px!important}}
@media(max-width:700px){
 .myth-hud .myth-logo{display:none!important}.myth-shell:not(.battle-active) .myth-hud .hud-wallet{left:8px!important;right:8px!important;top:8px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;padding:6px!important;background:#09212ef2!important;border:1px solid #bca67666!important;border-radius:11px!important;min-width:0;box-shadow:0 4px 14px #0005!important}
 .hud-wallet>.player-level{display:none!important}.hud-wallet .hud-resource{min-width:0;padding:5px 3px!important;gap:3px!important;justify-content:center;min-height:38px!important}.hud-wallet .hud-resource b{font-size:12px!important;letter-spacing:0}.hud-wallet .hud-resource .raster-icon{width:26px!important;height:26px!important;flex:none}
 .hud-settings{display:block;position:fixed;right:10px;top:70px;z-index:100;pointer-events:auto}.hud-settings>summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;border:1px solid #c5ac6d88;border-radius:10px;background:#0b2837f2;color:#e8cf98;box-shadow:0 3px 10px #0004;cursor:pointer}.hud-settings>summary .icon{width:25px;height:25px}.hud-settings-menu{display:none}.hud-settings[open] .hud-settings-menu{position:absolute;top:51px;right:0;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:12px;width:184px;border:1px solid #c5ac6d88;border-radius:12px;background:#0a2434f5;box-shadow:0 6px 20px #0007}.hud-settings-menu .settings-level{display:block;flex-basis:100%;font-size:13px;text-align:center;color:#ebd8aa;margin-bottom:4px}.hud-settings-menu button{width:44px!important;height:44px!important;min-height:44px!important;padding:7px!important;border:1px solid #9eb5b955!important;border-radius:8px!important;background:#183846!important}.hud-settings-menu button .icon,.hud-settings-menu .fullscreen-art{width:26px!important;height:26px!important}
 .world-chrome{left:10px!important;top:73px!important;max-width:calc(100% - 74px)!important}.world-chrome>div:first-child{min-width:0!important;width:auto!important;padding:10px 12px!important;border-radius:10px!important}.world-chrome small{display:none!important}.world-chrome h1{font-size:23px!important;margin:0 0 4px!important}.world-chrome .worker-badge{font-size:11px!important;white-space:normal;max-width:235px}.world-chrome .worker-badge .icon{display:none}.world-chrome .map-tools{position:fixed!important;top:124px!important;right:10px!important;padding:4px!important;gap:5px!important}.map-tools button{width:36px!important;height:36px!important;min-height:36px!important}
 .city-switcher{top:170px!important;left:10px!important;right:66px!important;max-width:none!important;gap:5px!important;overflow-x:auto;scrollbar-width:none}.city-switcher button{flex:0 0 auto;min-height:44px!important;padding:7px 9px!important}.city-switcher button b{font-size:11px}.city-switcher button small{font-size:10px}
 .city-objective{top:231px!important;left:10px!important;right:66px!important;width:auto!important;min-height:0!important;padding:12px!important;background:#0a2634f0!important;border:1px solid #c3a77088!important;border-radius:10px!important}.city-objective>small{display:none}.city-objective>b{font-size:23px!important;margin:0 0 5px!important}.city-objective>span{font-size:11px!important;margin:0 0 8px!important}.city-objective>div{display:grid;grid-template-columns:minmax(0,1fr) 40px 40px;gap:5px}.city-objective .gold-button{width:100%!important;font-size:11px!important;min-height:44px!important;line-height:1.2}.city-objective>div>button:not(.gold-button){width:40px!important;min-width:40px!important;min-height:44px!important;padding:6px!important}
 .myth-nav{bottom:calc(8px + env(safe-area-inset-bottom))!important;left:8px!important;right:8px!important;top:auto!important;transform:none!important;flex-direction:row!important;height:76px!important;gap:5px!important;align-items:center;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}.myth-nav button{width:auto!important;max-width:none!important;flex:1!important;min-height:76px!important;height:76px!important;padding:5px 4px 11px!important}.myth-nav button .nav-icon{width:33px!important;height:33px!important}.myth-nav button>span:not(.icon){font-size:11px!important}
 .town-toolbar{left:10px!important;right:auto!important;bottom:calc(92px + env(safe-area-inset-bottom))!important;max-width:calc(100% - 20px)!important;padding:5px!important;gap:5px!important;flex-wrap:wrap}.town-toolbar button{font-size:12px!important;min-height:44px!important;padding:7px 10px!important}.town-toolbar>span:empty{display:none}.town-toolbar>span:not(:empty){flex-basis:100%;font-size:11px;max-width:260px}
 .city-income{left:10px!important;right:10px!important;bottom:calc(158px + env(safe-area-inset-bottom))!important;min-width:0!important;max-width:none!important;padding:10px 12px!important;gap:10px!important;min-height:64px;box-sizing:border-box}.city-income-values>small{font-size:9px}.city-income-values b{font-size:15px!important}.city-income-values .icon{width:22px!important;height:22px!important}.city-income>button{flex-basis:110px!important;min-height:44px!important;font-size:13px!important}
 .developer-toggle{bottom:calc(94px + env(safe-area-inset-bottom))!important;left:auto!important;right:10px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:9px!important}.developer-toggle>span{display:none}.map-hint{display:none!important}
 .resource-tip{max-width:min(260px,80vw)!important;white-space:normal!important;font-size:12px!important}.hud-wallet .hud-resource:focus .resource-tip{opacity:1;visibility:visible}.city-switcher button:focus-visible,.hud-settings summary:focus-visible{outline:2px solid #ffe0a0;outline-offset:2px}
}
@media(max-width:700px) and (max-height:700px){.city-objective{top:224px!important;padding:9px!important}.city-objective>b{font-size:20px!important}.city-objective>span{display:none}.city-income{bottom:calc(150px + env(safe-area-inset-bottom))!important}.world-chrome .worker-badge{font-size:10px!important}}
/* v87 — Phone target is landscape, not a squeezed portrait desktop. */
.city-income{top:auto!important;height:auto!important}
.orientation-notice{display:none}
@media(max-width:700px) and (orientation:portrait){.orientation-notice{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;background:radial-gradient(ellipse at 50% 35%,#214859,#071623 75%);color:#f4e3ba}.orientation-notice>span{font:80px Georgia;color:#dfbd79}.orientation-notice h2{font:32px 'Cormorant UI',Georgia,serif;margin:18px 0 10px}.orientation-notice p{max-width:260px;font-size:16px;line-height:1.6;color:#c1d3dc}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){
 .myth-hud .myth-logo{display:none!important}.myth-shell:not(.battle-active) .myth-hud .hud-wallet{position:fixed;left:auto!important;right:86px!important;top:7px!important;display:flex!important;width:auto;max-width:calc(100% - 148px);gap:4px!important;padding:5px 9px!important;background:#0b2432f2!important;border:1px solid #baa36a66!important;border-radius:10px!important;box-shadow:0 3px 12px #0005!important}.hud-wallet>.player-level{display:none!important}.hud-wallet .hud-resource{flex:0 1 auto!important;padding:4px 6px!important;min-height:35px!important;min-width:0}.hud-wallet .hud-resource b{font-size:12px!important}.hud-wallet .hud-resource .raster-icon{width:26px!important;height:26px!important}
 .hud-settings{display:block;position:fixed;left:10px;right:auto;top:8px;z-index:100;pointer-events:auto}.hud-settings>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;border:1px solid #bda66e88;border-radius:9px;background:#0b2837f2;color:#ead39e;cursor:pointer}.hud-settings>summary .icon{width:25px;height:25px}.hud-settings-menu{display:none}.hud-settings[open] .hud-settings-menu{display:flex;position:absolute;left:0;right:auto;top:50px;width:184px;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #c5ac6d88;border-radius:10px;background:#0a2434f5;box-shadow:0 6px 20px #0007}.hud-settings-menu .settings-level{display:block;flex-basis:100%;text-align:center;font-size:13px;color:#efd9a6}.hud-settings-menu button{width:44px!important;height:44px!important;min-height:44px!important;padding:7px!important;background:#173b48!important;border:1px solid #9fb6bb55!important;border-radius:8px!important}
 .world-chrome{left:10px!important;top:65px!important;max-width:225px!important}.world-chrome>div:first-child{min-width:0!important;width:225px!important;padding:10px 12px!important}.world-chrome small{display:none!important}.world-chrome h1{font-size:23px!important;margin:0 0 5px!important}.world-chrome .worker-badge{font-size:11px!important;line-height:1.4;white-space:normal}.world-chrome .worker-badge .icon{display:none}.world-chrome .map-tools{position:fixed!important;left:auto!important;right:86px!important;top:66px!important;display:flex!important;flex-direction:row!important;gap:5px!important;padding:4px!important}.map-tools button{width:38px!important;height:38px!important;min-height:38px!important;font-size:22px!important}
 .city-switcher{top:150px!important;left:10px!important;right:auto!important;max-width:225px!important;gap:5px!important;overflow-x:auto;scrollbar-width:none}.city-switcher button{flex:0 0 auto;min-height:44px!important;padding:6px 8px!important}.city-switcher button b{font-size:11px}.city-switcher button small{font-size:10px}
 .city-objective{left:10px!important;right:auto!important;top:205px!important;width:225px!important;min-height:0!important;padding:11px 12px!important;border:1px solid #bba36b77!important;border-radius:10px!important;background:#0a2735ed!important;box-shadow:0 4px 15px #0004!important}.city-objective>small{display:none}.city-objective>b{font-size:22px!important;margin:0 0 4px!important}.city-objective>span{display:none!important}.city-objective>div{display:grid;grid-template-columns:minmax(0,1fr) 36px 36px;gap:4px}.city-objective .gold-button{width:100%!important;font-size:11px!important;min-height:44px!important;padding:5px 8px!important}.city-objective>div>button:not(.gold-button){min-width:36px!important;width:36px!important;height:44px!important;min-height:44px!important;padding:5px!important}
 .myth-nav{position:fixed!important;inset:60px 8px auto auto!important;width:64px!important;height:auto!important;display:flex!important;flex-direction:column!important;gap:4px!important;transform:none!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important}.myth-nav button{width:64px!important;max-width:64px!important;min-height:64px!important;height:64px!important;padding:4px 3px 9px!important;flex:none!important}.myth-nav button .nav-icon{width:31px!important;height:31px!important}.myth-nav button>span:not(.icon){font-size:11px!important}.myth-nav button:hover{transform:none}
 .map-hint{display:none!important}.town-toolbar{position:fixed!important;left:10px!important;right:auto!important;bottom:10px!important;max-width:calc(100% - 350px)!important;padding:5px!important;gap:5px!important;flex-wrap:wrap}.town-toolbar button{min-height:44px!important;font-size:12px!important;padding:6px 10px!important}.town-toolbar>span:empty{display:none}.town-toolbar>span:not(:empty){font-size:11px;flex-basis:100%;max-width:220px}.city-income{position:fixed!important;left:auto!important;right:86px!important;top:auto!important;bottom:10px!important;width:286px!important;max-width:286px!important;min-width:0!important;height:auto!important;min-height:58px!important;padding:8px 10px!important;gap:8px!important}.city-income-values>small{font-size:9px}.city-income-values b{font-size:15px!important}.city-income-values .icon{width:21px!important;height:21px!important}.city-income>button{flex:0 0 100px!important;min-height:44px!important;font-size:12px!important}.developer-toggle{position:fixed!important;left:auto!important;right:17px!important;top:8px!important;bottom:auto!important;width:44px!important;height:44px!important;min-height:44px!important;padding:9px!important}.developer-toggle>span{display:none}
 .myth-shell[data-screen=shop] .myth-main>.content-page{padding:68px 86px 50px 12px!important}.myth-main>.sacred-archive{padding-top:68px!important;padding-right:86px!important}.game-modal{max-height:calc(100svh - 20px)!important;overflow-y:auto}
}
@media(orientation:landscape) and (max-height:350px) and (max-width:1200px){.city-objective{top:198px!important}.city-objective>b{font-size:20px!important}.world-chrome{top:61px!important}.city-switcher{top:143px!important}.city-income{bottom:7px!important}.town-toolbar{bottom:7px!important}}
.objective-action-short{display:none}
@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.hud-settings{left:10px!important;right:auto!important;top:8px!important;width:44px!important;height:44px!important}.objective-action-long{display:none}.objective-action-short{display:inline}.myth-nav button>.icon{width:32px!important;height:32px!important;min-width:32px!important;flex:none!important}.myth-nav button>span:not(.icon){font-size:10px!important;line-height:1.1!important}.myth-nav button{gap:1px!important;justify-content:center!important;padding:4px 3px 9px!important}.city-objective .gold-button{white-space:nowrap!important;font-size:12px!important}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.myth-shell:not(.battle-active) .myth-hud .hud-wallet{backdrop-filter:none!important;filter:none!important;transform:none!important}}
@media(min-width:701px) and (min-height:601px){.hud-settings{display:block;position:relative;pointer-events:auto}.hud-settings>summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;border:1px solid #c2aa6d66;border-radius:8px;background:#102f3d;color:#ead19b;cursor:pointer}.hud-settings>summary .icon{width:25px;height:25px}.hud-settings-menu{display:none}.hud-settings[open] .hud-settings-menu{display:flex;position:absolute;top:51px;right:0;width:190px;padding:12px;gap:8px;justify-content:center;flex-wrap:wrap;background:#0a2636f5;border:1px solid #c2aa6d88;border-radius:10px;box-shadow:0 7px 20px #0006}.hud-settings-menu .settings-level{display:block;flex-basis:100%;text-align:center;color:#ead8b2;font-size:13px}.hud-settings-menu button{width:44px!important;height:44px!important;min-height:44px!important;padding:7px!important;border-radius:8px!important;background:#173946!important}}
/* v88 — City as a coherent home and management hub. */
.city-management-v88,.city-construction-v88{max-width:980px!important;width:calc(100vw - 48px)!important;background:linear-gradient(115deg,#081c29f5,#112e3bf2),url('/assets/archive-altar-v78.webp') center/cover!important;border:1px solid #bba56c88!important;border-image:none!important;border-radius:16px!important;padding:28px!important}.city-management-heading{padding:0 42px 18px 0;border-bottom:1px solid #a9b8b433;margin-bottom:22px}.city-management-heading>small{font-size:10px;letter-spacing:.16em;color:#d1b97f}.city-management-heading h2{font:38px 'Cormorant UI',Georgia,serif!important;color:#ffe9b5;margin:6px 0!important}.city-management-heading p{font-size:13px!important;margin:6px 0 0;color:#abc7d2!important;max-width:700px}.city-management-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px}.city-management-v88 h3{font:25px 'Cormorant UI',Georgia,serif;color:#eddbb0;margin:0 0 14px}.city-economy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.city-economy-grid>div{display:grid;justify-items:center;gap:5px;background:#051a2680;border:1px solid #9bb1b13d;border-radius:10px;padding:13px 5px}.city-economy-grid .icon{width:35px;height:35px}.city-economy-grid small{font-size:11px;color:#aac2cb}.city-economy-grid b{font-size:25px;color:#fae6b7;font-variant-numeric:tabular-nums}.city-economy-grid span{font-size:12px;color:#a3cfba}.city-economy>p,.city-builder-status p{font-size:12px!important;color:#9db9c6!important;line-height:1.6!important}.city-economy>.gold-button{width:100%;min-height:44px}.city-builder-status{padding:18px;margin-top:20px;border:1px solid #b0b59733;border-radius:10px;background:#18364199}.city-builder-status h3{font-size:22px}.city-builder-status .track{margin:12px 0;height:6px}.city-builder-status button{min-height:44px;width:100%}.city-main-buildings{display:grid;gap:7px}.city-main-buildings button{display:flex;align-items:center;gap:12px;padding:10px!important;min-height:62px!important;background:#0b2331!important;border:1px solid #8ba5ac33!important;border-radius:9px!important;text-align:left}.city-main-buildings .icon{width:31px;height:31px;flex:none}.city-main-buildings span{flex:1;min-width:0}.city-main-buildings b{display:block;font-size:13px;color:#f1dfb4}.city-main-buildings small{display:block;font-size:11px;color:#98b7c5;margin-top:5px}.city-main-buildings em{font:25px Georgia;color:#c2ad76}.city-next-adventure{border-top:1px solid #96aeb433;margin-top:18px;padding-top:18px}.city-next-adventure>small{display:block;font-size:10px;color:#bba977;letter-spacing:.1em}.city-next-adventure>b{display:block;font:25px 'Cormorant UI',Georgia;color:#ecd6a5;margin-top:7px}.city-next-adventure p{font-size:12px!important}.city-next-adventure button{min-height:44px}.city-management-note{display:flex;flex-wrap:wrap;gap:9px;padding-top:20px;margin-top:22px;border-top:1px solid #a1b1b333;font-size:12px;color:#a2b9c3;line-height:1.6}.city-management-note button{flex:1;min-height:52px;padding:9px 12px!important;border:1px solid #b59f6555!important;border-radius:9px!important;background:#14313e!important;text-align:left}.city-management-note button b{display:block;font-size:12px;color:#e2d2aa}.city-management-note button span{display:block;font-size:11px;color:#91b5c4;margin-top:4px}.city-build-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.city-build-offers>article{background:#0a2231;border:1px solid #a8b4a744;border-radius:12px;overflow:hidden}.city-building-portrait{height:155px;position:relative;background:radial-gradient(ellipse at 50% 80%,#6a876c50,transparent 65%)}.city-building-portrait .town-model{position:absolute;inset:auto;bottom:4px;left:50%;transform:translateX(-50%);width:155px;height:145px;max-width:100%;margin:0;filter:drop-shadow(0 6px 7px #0005)}.city-building-portrait>span{position:absolute;right:10px;top:10px;background:#071b29ce;padding:4px 7px;border:1px solid #9bb1aa44;border-radius:6px;font-size:12px;color:#dacda7}.city-building-copy{padding:16px}.city-building-copy>small{font-size:10px;color:#91b0be}.city-building-copy h3{font:26px 'Cormorant UI',Georgia;color:#f2deb1;margin:8px 0}.city-building-copy>b{font-size:12px;color:#a8d0ba}.city-building-copy p{font-size:13px!important;margin:13px 0!important}.city-building-copy p .icon{width:23px;height:23px}.city-building-copy p>span{display:block;font-size:11px;margin-top:8px;color:#94b3c0}.city-building-copy button{width:100%;min-height:44px!important;font-size:12px!important}.myth-shell[data-screen=city] .city-objective{background:#0a2532eb!important;border:1px solid #bda66977!important;border-radius:12px!important;box-shadow:0 6px 20px #0004!important;min-height:0!important;padding:16px!important;width:270px!important}.myth-shell[data-screen=city] .city-objective>b{font-size:24px!important}.myth-shell[data-screen=city] .city-objective>small{color:#d4b97c}.town-toolbar [data-action=city-management]{color:#f3dca7!important;border-color:#c4a96188!important;background:linear-gradient(120deg,#4d4934,#1e424b)!important}
@media(max-width:800px){.city-management-layout{gap:18px}.city-build-offers{grid-template-columns:repeat(2,minmax(0,1fr))}.city-management-v88,.city-construction-v88{padding:20px!important}.city-management-heading h2{font-size:31px!important}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.city-management-v88,.city-construction-v88{max-height:calc(100svh - 16px)!important;padding:18px!important}.city-management-heading{padding-bottom:12px;margin-bottom:15px}.city-management-heading h2{font-size:29px!important}.city-management-heading p{font-size:12px!important}.city-build-offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.city-building-portrait{height:120px}.city-building-portrait .town-model{height:115px;width:130px}.city-building-copy{padding:12px}.city-building-copy h3{font-size:23px}.city-management-layout{gap:18px}.city-economy-grid b{font-size:21px}.myth-shell[data-screen=city] .city-objective{width:225px!important;padding:11px 12px!important}.town-toolbar{width:225px!important;max-width:225px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important}.town-toolbar button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 2px!important;gap:3px;font-size:10px!important;min-height:50px!important}.town-toolbar button .icon{width:18px;height:18px}.town-toolbar>span:not(:empty){grid-column:1/-1}}
.city-management-v88>.city-management-heading{background:linear-gradient(90deg,#071b29f2 15%,#0a2132aa 65%,#07172544),url('/assets/city-sanctuary-v88.webp') center 40%/cover;border-radius:10px;padding:22px 50px 22px 22px;min-height:150px;display:flex;flex-direction:column;justify-content:center}.city-management-v88>.city-management-heading p{max-width:500px}.city-management-v88 .modal-close{z-index:4}.myth-shell[data-screen=city] .city-scene .scene-shade{background:linear-gradient(180deg,#0c25342e,transparent 25%,transparent 75%,#0b223c30);pointer-events:none}.myth-shell[data-screen=city] .map-object:not(.obstacle-object):hover .structure-picture,.myth-shell[data-screen=city] .map-object:not(.obstacle-object):focus-visible .structure-picture{filter:drop-shadow(0 9px 7px #0005) drop-shadow(0 0 5px #ffe5b666)}
@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.city-management-v88>.city-management-heading{min-height:120px;padding:16px 48px 16px 18px}}
.city-building-copy p{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.city-building-copy p>span{flex-basis:100%;margin-top:5px}.city-building-copy p .icon{display:inline-block;flex:none}.city-building-copy p .raster-icon{vertical-align:middle}
.town-toolbar [data-action=city-management]{position:relative}.city-ready-badge{position:absolute;right:-3px;top:-5px;display:grid;place-items:center;width:19px;height:19px;font:700 12px Manrope,sans-serif;color:#17352c;background:#c9e3a0;border:1px solid #eef7d3;border-radius:50%;box-shadow:0 2px 6px #0005}.city-management-v88 .city-economy>.gold-button{width:240px;max-width:100%;min-height:48px!important;background:transparent url('/assets/ui-action-button-v85.webp') center/100% auto no-repeat!important;border:0!important;box-shadow:none!important;color:#f6e7bd!important}.city-build-offers>article{display:flex;flex-direction:column}.city-building-copy{display:flex;flex-direction:column;flex:1}.city-building-copy button{margin-top:auto}.city-management-v88 .city-management-heading h2{border:0!important;padding-bottom:0!important}
.construction-surface{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;z-index:0;clip-path:polygon(50% 12.125%,90% 42.125%,50% 72.125%,10% 42.125%);pointer-events:auto;cursor:crosshair}.construction-surface>svg{display:block;width:100%;height:100%;pointer-events:none}.construction-surface path{stroke:#fff5d452;stroke-width:1.5;fill:none;vector-effect:non-scaling-stroke}.construction-surface:hover{filter:none!important;transform:none!important}.construction-surface:focus-visible{outline:none!important}.construction-surface:focus-visible path{stroke:#ffe6a17a}
.hud-settings-menu .progress-backup-open{flex:0 0 100%;width:100%!important;min-height:44px!important;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px!important}.progress-backup-open .icon{width:20px!important;height:20px!important}.progress-backup-modal{max-width:700px!important}.progress-backup-modal textarea{display:block;width:100%;box-sizing:border-box;padding:12px;margin:16px 0;color:#acc5d1;background:#061724;border:1px solid #8fa7b34d;border-radius:8px;font:11px/1.5 Consolas,monospace;resize:vertical}.progress-backup-modal>button.gold-button{min-height:44px}.progress-import-label{display:block;margin:18px 0 8px;font-size:13px;color:#e1d3af}.progress-import-label input{display:block;margin-top:9px;max-width:100%;min-height:44px;font:12px Manrope,sans-serif}
.plot-details-v89{max-width:800px!important;display:grid;grid-template-columns:260px 1fr;gap:24px;background:linear-gradient(120deg,#0b2231f5,#153847ef)!important;border:1px solid #bea66c77!important;border-radius:14px!important;padding:26px!important}.plot-details-art{display:grid;place-items:center;min-height:260px;background:radial-gradient(ellipse,#5a8b7250,transparent 70%)}.plot-details-art .town-model{width:240px;height:240px;position:relative;inset:auto;transform:none;max-width:100%;margin:0;filter:drop-shadow(0 8px 10px #0006)}.plot-details-copy>small{font-size:10px;letter-spacing:.12em;color:#bba775}.plot-details-copy h2{margin:8px 30px 10px 0!important;font:34px 'Cormorant UI',Georgia!important;color:#f8e3b4}.plot-level-badge{display:inline-block;padding:5px 10px;border:1px solid #92b0a755;border-radius:15px;background:#244842;color:#bfdfc2;font-size:12px}.plot-details-copy h3{font-size:19px;color:#d9ead5;margin:18px 0 8px}.plot-details-copy p{font-size:12px!important;color:#a6c2ce!important}.plot-growth-preview{padding:12px;background:#0a2232;border:1px solid #9eb5b633;border-radius:9px;margin:15px 0}.plot-growth-preview>small{display:block;color:#a6b598;font-size:9px}.plot-growth-preview>b{display:block;margin:7px 0;color:#d4e7c0;font-size:15px}.plot-growth-preview>span{display:flex;align-items:center;gap:6px;color:#e8d4a0;font-size:13px}.plot-growth-preview .icon{width:23px;height:23px}.plot-details-copy>.gold-button{min-height:44px;width:100%;font-size:12px!important}.plot-upgrade-note{display:block;letter-spacing:0!important;color:#90aebe!important;font-size:10px!important;margin-top:10px}.structure-picture.model-storehouse,.town-model.model-storehouse{background-image:url('/assets/building-storehouse-v89.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}.structure-picture.model-garden,.town-model.model-garden{background-image:url('/assets/building-garden-v89.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}.structure-picture.model-quarry,.town-model.model-quarry{background-image:url('/assets/building-quarry-v89.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
@media(orientation:landscape) and (max-height:600px){.plot-details-v89{grid-template-columns:190px 1fr;padding:18px!important;gap:18px}.plot-details-art{min-height:190px}.plot-details-art .town-model{width:190px;height:190px}.plot-details-copy h2{font-size:29px!important}}
/* v90 — Geometry is authoritative; textures supply material, not collision. */
.world-camera .city-scene{background-image:url('/assets/city-water-v90.webp')!important;background-size:1050px 1050px!important;background-repeat:repeat!important;background-position:0 0!important}.city-terrain-v90{position:absolute;inset:0;width:4800px;height:3200px;z-index:0;pointer-events:none;overflow:visible}.city-shallows{fill:#75d7cd77;stroke:#78d6c59c;stroke-width:110;stroke-linejoin:round}.city-stone-mass{stroke:#254b5355;stroke-width:8;stroke-linejoin:round}.city-limestone-rim{fill:none;stroke:#b7b18c;stroke-width:9;stroke-linejoin:round}.city-meadow{filter:none}.settlement-forge .city-meadow{filter:sepia(.24) saturate(.7)}.settlement-astral .city-meadow{filter:hue-rotate(14deg) saturate(.8)}.world-camera .city-scene .scene-shade{z-index:1}.world-camera .city-scene .settlement-grid{z-index:2}
.city-road-shadow{fill:none;stroke:#5d62554d;stroke-width:30;stroke-linejoin:round}.city-road{fill:none;stroke:#c7bfa0;stroke-width:22;stroke-linejoin:round;stroke-dasharray:3 1;opacity:.8}

/* Natural outer coast surrounds the exact construction terrace. */
.world-camera .city-scene{background-image:linear-gradient(#194b6e55,#194b6e55),url(/assets/city-water-v90.webp)!important;background-size:auto,1800px 1800px!important}.city-shallows{fill:#79b5ac44;stroke:#87beb066;stroke-width:60}.city-limestone-rim{stroke:#c7bc97;stroke-width:7;stroke-dasharray:16 3;filter:drop-shadow(0 4px 1px #34443c88)}

.structure-picture.building-core{background-image:url('/assets/building-core-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.structure-picture.building-mine{background-image:url('/assets/building-mine-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.structure-picture.building-academy{background-image:url('/assets/building-academy-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.structure-picture.building-temple{background-image:url('/assets/building-temple-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.structure-picture.building-market{background-image:url('/assets/building-market-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.structure-picture.building-obelisk{background-image:url('/assets/building-obelisk-v90.webp')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;clip-path:none!important}

.city-meadow{filter:saturate(.72) brightness(.95)}.city-terrain-v90{background:transparent}.world-camera .city-scene{background-image:linear-gradient(#123e6388,#123e6388),url(/assets/city-water-v90.webp)!important}

/* Placement actions keep their screen size while the world zooms. */
.placement-controls{transform:translateX(-50%) scale(var(--label-scale,1))!important;transform-origin:50% 0}.placement-controls button{width:48px!important;height:48px!important;min-width:48px!important;font-size:25px!important;touch-action:manipulation}.placement-ghost{touch-action:none}.placement-ghost>strong,.placement-ghost>small{pointer-events:none}.map-object:focus-visible .object-footprint polygon{stroke:#ffe3a2;stroke-width:4;fill:#ffe3a222}

.construction-ready .build-timer{background:#2d573e!important;color:#e2f2bf!important;border:1px solid #c2df8c;animation:city-ready-v90 3s ease-in-out infinite}.constructing .scaffold{animation:city-work-v90 4s ease-in-out infinite}@keyframes city-ready-v90{0%,80%,100%{box-shadow:0 0 0 0 #c6e89400}90%{box-shadow:0 0 0 6px #c6e89444}}@keyframes city-work-v90{0%,100%{opacity:.65}50%{opacity:.85}}.reduced-effects .construction-ready .build-timer,.reduced-effects .constructing .scaffold{animation:none!important}@media(prefers-reduced-motion:reduce){.construction-ready .build-timer,.constructing .scaffold{animation:none!important}}

.building-modal-art.structure-picture{position:relative!important;inset:auto!important;transform:none!important;margin:0 auto 18px!important;width:240px!important;height:180px!important;display:block!important}.city-switcher button{min-width:0!important}.city-switcher button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}@media(orientation:landscape) and (max-height:600px){.building-modal-art.structure-picture{width:180px!important;height:120px!important;margin-bottom:8px!important}}

.city-road{stroke-dasharray:none;stroke:#bfb79b;opacity:.75;stroke-width:18}.city-road-shadow{stroke-width:23;stroke:#56614e55}

/* V91: one authored landscape, derived from the complete city master. */
.world-camera .city-scene{background:#4f6551!important;background-image:none!important}.city-painted-landscape{position:absolute;inset:0;display:block;width:4800px;height:3200px;max-width:none;pointer-events:none;user-select:none;z-index:0;object-fit:fill}.city-scene>.terrain-detail{display:none!important}.world-camera .city-scene .scene-shade{opacity:.3}.construction-surface path{stroke:#fff2cb66;stroke-width:1.3}

@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.city-switcher{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:225px!important;gap:4px!important}.city-switcher button{width:auto!important;padding:6px!important;min-height:46px;box-sizing:border-box}.city-switcher button b{white-space:normal!important;font-size:9px!important;line-height:1.15}.city-switcher button small{font-size:8px!important}.world-chrome h1{font-size:21px!important}}

/* Fixed city: no construction grid or building relocation. */
.fixed-city-buildings{position:absolute;inset:0;z-index:2;pointer-events:none}.fixed-city-building{position:absolute;transform:translate(-50%,-100%);background:none!important;border:0!important;box-shadow:none!important;padding:0;pointer-events:auto;overflow:visible}.fixed-city-building>.structure-picture{inset:0!important;width:100%!important;height:100%!important;transform:none!important;background-position:center bottom!important;filter:drop-shadow(0 12px 8px #0004)}.fixed-building-label{position:absolute;left:50%;bottom:0;transform:translate(-50%,100%) scale(var(--label-scale,1));transform-origin:50% 0;white-space:nowrap;background:#0d2534eb;border:1px solid #bea56c88;border-radius:7px;padding:5px 9px;font-size:12px;color:#f5dfb2;opacity:0;pointer-events:none}.fixed-building-label small{display:block;font-size:10px;color:#b7cbd1}.fixed-city-building:hover .fixed-building-label,.fixed-city-building:focus-visible .fixed-building-label{opacity:1}.fixed-city-building:hover>.structure-picture,.fixed-city-building:focus-visible>.structure-picture{filter:drop-shadow(0 12px 8px #0004) drop-shadow(0 0 5px #ffe3a477)}.fixed-city-building .build-timer{position:absolute;bottom:5%;left:50%;transform:translateX(-50%) scale(var(--label-scale,1));font-size:14px;white-space:nowrap}.city-building-portrait>.structure-picture{position:absolute;inset:8px;transform:none;width:calc(100% - 16px);height:calc(100% - 16px);background-position:center!important}.town-toolbar>span{display:none!important}

@media(orientation:landscape) and (max-height:600px) and (max-width:1200px){.town-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V93: reveal the exact approved master at its original coordinates. */
.city-master-piece{transform:none!important;border-radius:0!important}.master-piece-image{position:absolute;inset:0;background-image:url('/assets/city-master-v91.webp');background-size:4800px 3200px;background-repeat:no-repeat;pointer-events:none}.city-master-piece:hover,.city-master-piece:focus-visible{filter:brightness(1.08)}.city-master-piece:focus-visible{outline:4px solid #f9dea1!important}.master-piece-job{position:absolute;bottom:12%;left:35%;background:#0c2937e8;padding:8px;color:#f2dab0;font-size:22px;border:1px solid #b69a62}.city-master-piece.constructing .master-piece-image{filter:saturate(.5) brightness(.85)}

svg.master-piece-image{display:block;width:100%;height:100%;background:none!important}.settlement-haven>.scene-shade{display:none!important}.city-master-piece>.master-piece-job{top:auto!important;right:auto!important;bottom:12%;left:35%}

/* Whole painted cities: architecture and terrain share one image. */
.painted-city-sites{position:absolute;inset:0;pointer-events:none}.painted-city-site{position:absolute;width:11%;height:12%;transform:translate(-50%,-80%);pointer-events:auto;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:40%;padding:0}.painted-city-site>span{position:absolute;top:95%;left:50%;transform:translateX(-50%) scale(var(--city-label-scale,1));transform-origin:top center;white-space:nowrap;padding:5px 10px;border:1px solid #c7ad73a6;border-radius:9px;background:#142733e8;color:#fff0c6;font-size:13px;line-height:1.2;box-shadow:0 3px 9px #0006}.painted-city-site small{display:block;font-size:11px;color:#b7d7d4;margin-top:3px}.painted-city-site:hover,.painted-city-site:focus-visible{outline:3px solid #fff0bf99;outline-offset:5px}.painted-city-site.inactive small{color:#f4cf8f}.painted-city-site.reserved small{color:#c1bccf}.painted-site-details button{margin:8px}.city-switcher{max-width:min(660px,70vw);flex-wrap:wrap}.city-switcher button{min-width:100px}
@media(max-height:500px) and (orientation:landscape){.world-chrome>div:first-child{max-width:210px!important;padding:9px 12px!important}.world-chrome h1{font-size:20px!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.city-switcher{top:132px!important;left:10px!important;max-width:310px!important;width:310px!important;display:flex!important;flex-wrap:nowrap!important;gap:3px!important}.city-switcher button{min-width:0!important;width:75px!important;padding:6px 4px!important;min-height:48px!important}.city-switcher b{font-size:10px!important;line-height:1.1!important}.city-switcher small{font-size:9px!important}.city-objective{display:none!important}.painted-city-site>span{font-size:12px;padding:4px 7px}.painted-city-site small{font-size:10px}}
/* V95 — island-specific artwork and shared, readable interaction rules. */
.island-ui{--island-panel:url('/assets/ui-haven-panel-v95.webp');--island-icons:url('/assets/ui-haven-icons-v95.webp');--island-accent:#e7c57e;--island-text:#fff3d4;--island-muted:#d1d6d3;--island-light:#8dc6ed;--island-base:#142737;--island-heading:Georgia,'Times New Roman',serif;--ui-gold:var(--island-accent);--ui-aether:var(--island-light)}
.theme-forge{--island-panel:url('/assets/ui-forge-panel-v95.webp');--island-icons:url('/assets/ui-forge-icons-v95.webp');--island-accent:#d3ad78;--island-text:#fff0d6;--island-muted:#cad7db;--island-light:#a1d9ed;--island-base:#17252b;--island-heading:'Russo One',Manrope,sans-serif}
.theme-astral{--island-panel:url('/assets/ui-astral-panel-v95.webp');--island-icons:url('/assets/ui-astral-icons-v95.webp');--island-accent:#f4d18b;--island-text:#fff1ce;--island-muted:#c3dedb;--island-light:#79d8d3;--island-base:#102f34}
.theme-underworld{--island-panel:url('/assets/ui-underworld-panel-v95.webp');--island-icons:url('/assets/ui-underworld-icons-v95.webp');--island-accent:#cfbddf;--island-text:#f5ecff;--island-muted:#d2c7dc;--island-light:#b6a2ef;--island-base:#211e2e}
.island-ui-icon{display:inline-block!important;flex-shrink:0;width:28px;height:28px;background-image:var(--island-icons)!important;background-size:300% 300%!important;background-position:var(--icon-x) var(--icon-y)!important;background-repeat:no-repeat;vertical-align:middle;filter:drop-shadow(0 2px 2px #0006)}
.island-ui .myth-shell[data-screen=city] :is(.hud-wallet,.world-chrome>div:first-child,.city-objective,.city-income,.town-toolbar,.map-hint,.hud-settings-menu),.island-ui .game-modal{border:12px solid transparent!important;border-image:var(--island-panel) 8% fill / 12px / 0 stretch!important;border-radius:0!important;background:var(--island-base)!important;box-shadow:0 7px 22px #0005!important;color:var(--island-text)!important;backdrop-filter:none!important}
.island-ui .myth-shell[data-screen=city] :is(button,.hud-settings summary,.player-level,.hud-resource),.island-ui .game-modal button{border:8px solid transparent!important;border-image:var(--island-panel) 8% fill / 8px / 0 stretch!important;border-radius:0!important;background:var(--island-base)!important;color:var(--island-text)!important;box-shadow:0 3px 8px #0004!important;text-shadow:0 1px 2px #0008;transition:filter .16s,transform .16s;box-sizing:border-box}
.island-ui .myth-shell[data-screen=city] button:disabled,.island-ui .game-modal button:disabled{filter:saturate(.35);opacity:.55}
.island-ui .myth-shell[data-screen=city] button:hover:not(:disabled),.island-ui .game-modal button:hover:not(:disabled){filter:brightness(1.2)}
.island-ui .myth-shell[data-screen=city] button:focus-visible,.island-ui .game-modal button:focus-visible{outline:2px solid var(--island-light)!important;outline-offset:3px}
.island-ui .myth-shell[data-screen=city] :is(button,.hud-resource,.hud-wallet,.world-chrome>div:first-child,.city-income,.city-objective,.town-toolbar)::before,.island-ui .myth-shell[data-screen=city] :is(button,.hud-resource,.hud-wallet,.city-income,.city-objective)::after{background:none!important;box-shadow:none!important;border:0!important}
.island-ui .myth-shell[data-screen=city] .myth-logo{border:0!important;background:none!important;box-shadow:none!important}.island-ui .myth-shell[data-screen=city] .myth-logo>span{clip-path:none;background:none;border:0;animation:none}.island-ui .myth-shell[data-screen=city] .myth-logo .icon{color:var(--island-accent);width:38px;height:38px}
.island-ui .myth-shell[data-screen=city] .hud-wallet{gap:4px;padding:1px 4px!important;min-height:58px}.island-ui .myth-shell[data-screen=city] .hud-resource{padding:2px 6px 2px 2px!important;min-height:40px;gap:3px}.island-ui .myth-shell[data-screen=city] .hud-resource b{font-family:Manrope,sans-serif;font-size:14px;color:var(--island-text);font-variant-numeric:tabular-nums}.island-ui .myth-shell[data-screen=city] .hud-resource .raster-icon{width:34px;height:34px}
.island-ui .myth-shell[data-screen=city] .player-level{padding:4px!important;font-size:12px;white-space:nowrap}.island-ui .myth-shell[data-screen=city] .hud-settings summary{width:36px;height:36px;padding:0!important;display:grid;place-items:center}.island-ui .hud-settings summary .island-ui-icon{width:28px;height:28px}
.island-ui .myth-shell[data-screen=city] :is(h1,.city-objective>b),.island-ui .game-modal :is(h2,h3){font-family:var(--island-heading)!important;color:var(--island-text)!important;font-weight:500;text-shadow:0 2px 4px #0007;letter-spacing:.01em}.island-ui .myth-shell[data-screen=city] :is(small,.worker-badge,.city-objective>span,.city-income-values),.island-ui .game-modal p{color:var(--island-muted)!important}
.island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{padding:10px 16px!important;min-width:210px}.island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:28px!important;margin:5px 0 8px;line-height:1.1}.island-ui .myth-shell[data-screen=city] .world-chrome small{font-size:9px;letter-spacing:.15em}.island-ui .myth-shell[data-screen=city] .worker-badge{background:none!important;border:0!important;font-size:11px}
.island-ui .myth-shell[data-screen=city] .city-switcher{top:154px;left:18px;gap:4px;max-width:500px}.island-ui .myth-shell[data-screen=city] .city-switcher button{padding:9px 12px!important;min-height:52px}.island-ui .myth-shell[data-screen=city] .city-switcher button.active{filter:brightness(1.3);box-shadow:0 0 0 1px var(--island-light),0 4px 12px #0006!important}.island-ui .myth-shell[data-screen=city] .city-switcher b{font-size:11px}.island-ui .myth-shell[data-screen=city] .city-switcher small{font-size:10px}
.island-ui .myth-shell[data-screen=city] .city-objective{top:222px;padding:12px 15px!important;width:265px}.island-ui .city-objective>b{font-size:23px!important}.island-ui .city-objective>small{font-size:9px;letter-spacing:.1em}.island-ui .city-objective>span{font-size:12px}.island-ui .city-objective button{min-height:42px!important;padding:5px 10px!important}.island-ui .city-objective .icon{width:24px;height:24px}
.island-ui .myth-shell[data-screen=city] .myth-nav{width:82px;gap:10px;right:12px}.island-ui .myth-shell[data-screen=city] .myth-nav button{height:82px;width:80px;padding:2px 4px!important;gap:0}.island-ui .myth-nav .island-ui-icon{width:48px;height:48px}.island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{font-size:11px;color:var(--island-text)}
.island-ui .myth-shell[data-screen=city] .map-tools{gap:4px;background:none!important;border:0!important;padding:0!important}.island-ui .myth-shell[data-screen=city] .map-tools button{width:42px;height:42px;font-size:23px!important;padding:0!important;display:grid;place-items:center;line-height:1}
.island-ui .myth-shell[data-screen=city] .town-toolbar{padding:4px!important;gap:4px}.island-ui .town-toolbar button{min-height:44px;padding:4px 12px!important;font-size:12px;display:flex;gap:7px;align-items:center;justify-content:center}.island-ui .town-toolbar .icon{width:28px;height:28px}.island-ui .myth-shell[data-screen=city] .map-hint{padding:4px 7px!important;font-size:11px}.island-ui .myth-shell[data-screen=city] .city-income{padding:8px 12px!important;gap:14px}.island-ui .city-income button{min-height:44px;display:flex;gap:5px;align-items:center;justify-content:center;padding:4px 10px!important;font-size:13px}.island-ui .city-income button .icon{width:30px;height:30px}
.island-ui .myth-shell[data-screen=city] .developer-toggle{padding:3px 9px!important;min-height:40px;gap:6px;font-size:11px}.island-ui .developer-toggle .island-ui-icon{width:23px;height:23px}
.island-ui .painted-city-site{border:0!important;border-image:none!important;background:none!important;box-shadow:none!important}.island-ui .painted-city-site>span{border:8px solid transparent!important;border-image:var(--island-panel) 8% fill / 8px / 0 stretch!important;background:var(--island-base)!important;border-radius:0!important;color:var(--island-text);padding:3px 8px;font:600 12px Manrope,sans-serif}.island-ui .painted-city-site small{color:var(--island-muted)!important}.island-ui .painted-city-site.inactive small{color:var(--island-accent)!important}
.island-ui .game-modal>.frame-corner{display:none!important}.island-ui .game-modal{padding:25px 28px!important}.island-ui .game-modal :is(article,.city-economy,.city-development,.city-builder-status,.city-next-adventure,.plot-growth-preview,.city-main-buildings button,.city-economy-grid>div,.city-management-note button){background:color-mix(in srgb,var(--island-base) 88%,var(--island-light))!important;border-color:color-mix(in srgb,var(--island-accent) 50%,transparent)!important;color:var(--island-text)!important}.island-ui .game-modal button{padding:8px 15px;min-height:42px}.island-ui .game-modal .modal-close{width:38px;height:38px;min-height:38px;padding:0;display:grid;place-items:center;font-size:24px}.island-ui .game-modal :is(input,select,textarea){background:var(--island-base)!important;color:var(--island-text)!important;border-color:var(--island-accent)!important;accent-color:var(--island-accent)}.island-ui .game-modal .track{background:var(--island-base)!important}.island-ui .game-modal .track i{background:var(--island-light)!important}
.island-ui .myth-shell[data-screen=city] .resource-tip{border:10px solid transparent!important;border-image:var(--island-panel) 8% fill / 10px / 0 stretch!important;background:var(--island-base)!important;color:var(--island-text)!important}.island-ui .resource-tip:before{display:none}.island-ui .resource-tip strong{color:var(--island-accent)}
@media(max-height:600px) and (orientation:landscape){.island-ui .myth-shell[data-screen=city] .hud-wallet{top:6px;right:86px;min-height:44px;border-width:8px!important;border-image-width:8px!important;padding:0!important;gap:2px}.island-ui .myth-shell[data-screen=city] .hud-resource{min-height:32px;padding:0 4px!important;border-width:5px!important;border-image-width:5px!important}.island-ui .myth-shell[data-screen=city] .hud-resource b{font-size:12px}.island-ui .myth-shell[data-screen=city] .hud-resource .raster-icon{width:26px;height:26px}.island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{min-width:0!important;max-width:210px!important;padding:5px 10px!important}.island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:19px!important;margin:2px 0 4px}.island-ui .myth-shell[data-screen=city] .city-switcher{top:130px!important;width:310px!important;max-width:310px!important;gap:2px!important}.island-ui .myth-shell[data-screen=city] .city-switcher button{width:76px!important;padding:4px!important;min-height:48px!important;border-width:5px!important;border-image-width:5px!important}.island-ui .myth-shell[data-screen=city] .city-switcher b{font-size:10px!important}.island-ui .myth-shell[data-screen=city] .city-switcher small{font-size:9px!important}.island-ui .myth-shell[data-screen=city] .city-objective,.island-ui .myth-shell[data-screen=city] .map-hint{display:none!important}.island-ui .myth-shell[data-screen=city] .myth-nav{width:62px;gap:4px;right:7px}.island-ui .myth-shell[data-screen=city] .myth-nav button{height:61px;width:62px;border-width:6px!important;border-image-width:6px!important;padding:0!important}.island-ui .myth-nav .island-ui-icon{width:36px;height:36px}.island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{font-size:9px}.island-ui .myth-shell[data-screen=city] .map-tools{right:80px!important;top:62px!important;flex-direction:row!important;gap:3px}.island-ui .myth-shell[data-screen=city] .map-tools button{width:40px;height:40px}.island-ui .myth-shell[data-screen=city] .city-income{bottom:9px;right:80px;padding:4px 8px!important;gap:6px;max-width:270px}.island-ui .city-income button{font-size:12px;min-height:40px;padding:2px 7px!important}.island-ui .city-income button .icon{width:25px;height:25px}.island-ui .city-income-values>small{display:none!important}.island-ui .myth-shell[data-screen=city] .town-toolbar{left:10px;bottom:47px;padding:2px!important;width:auto!important;display:flex!important}.island-ui .town-toolbar button{padding:2px 7px!important;font-size:11px;min-height:40px}.island-ui .town-toolbar .icon{width:25px;height:25px}.island-ui .myth-shell[data-screen=city] .developer-toggle{bottom:5px;left:10px;min-height:34px;font-size:10px}.island-ui .game-modal{max-height:94vh!important;padding:14px 20px!important}.island-ui .game-modal h2{font-size:23px!important}.island-ui .game-modal p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.island-ui button{transition:none!important}}
.island-ui .myth-shell[data-screen=city] .painted-city-site{border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important;padding:0!important}.island-ui .myth-shell[data-screen=city] .painted-city-site>span{transform:translateX(-50%) scale(var(--label-scale,1))!important;box-sizing:content-box;font-size:12px}.island-ui .myth-shell[data-screen=city] .myth-logo>span{border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important}.island-ui .myth-shell[data-screen=city] .city-switcher{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:500px!important;max-width:500px!important}.island-ui .myth-shell[data-screen=city] .city-switcher button{min-width:0!important;padding:7px 9px!important}.island-ui .myth-shell[data-screen=city] .city-switcher b{white-space:normal!important}.island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{white-space:nowrap!important;font-size:10px!important}
@media(max-height:600px) and (orientation:landscape){.island-ui .myth-shell[data-screen=city] .city-switcher{width:310px!important;max-width:310px!important}.island-ui .myth-shell[data-screen=city] .city-switcher button{padding:4px!important}.island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{font-size:9px!important}}
.island-ui .myth-shell[data-screen=city] button.painted-city-site{border:0!important;border-image:none!important;border-image-source:none!important;background:none!important;background-image:none!important;box-shadow:none!important;padding:0!important}.island-ui .myth-shell[data-screen=city] button.myth-logo{border:0!important;border-image:none!important;background:none!important;box-shadow:none!important}.island-ui .myth-shell[data-screen=city] button.myth-logo>span{width:44px;height:44px;display:block!important}.island-ui .myth-shell[data-screen=city] button.myth-logo .island-ui-icon{width:44px;height:44px}
.theme-haven{--island-scene:url('/assets/island-greek-complete-v94.webp')}.theme-forge{--island-scene:url('/assets/island-norse-complete-v94.webp')}.theme-astral{--island-scene:url('/assets/island-egypt-complete-v94.webp')}.theme-underworld{--island-scene:url('/assets/island-underworld-complete-v94.webp')}.island-ui .city-portrait-v95{width:100%;height:180px;background-image:var(--island-scene);background-size:330% auto;background-position:var(--portrait-x) var(--portrait-y);background-repeat:no-repeat;border-radius:8px;box-shadow:inset 0 0 0 1px #ffffff25}.island-ui .city-building-portrait .city-portrait-v95{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}.island-ui .plot-details-art>.city-portrait-v95{height:100%;min-height:220px}.island-ui .game-modal>.city-portrait-v95{max-width:400px;margin:0 auto 18px}.island-ui .myth-shell[data-screen=city] .painted-city-site.active>span{opacity:0;transition:opacity .15s}.island-ui .myth-shell[data-screen=city] .painted-city-site.active:hover>span,.island-ui .myth-shell[data-screen=city] .painted-city-site:focus-visible>span{opacity:1}.island-ui .myth-shell[data-screen=city] button.painted-city-site:hover{filter:none!important}.island-ui .myth-shell[data-screen=city] button.painted-city-site:focus-visible{outline:2px solid var(--island-light)!important}
@media(hover:none){.island-ui .myth-shell[data-screen=city] .painted-city-site.active>span{opacity:1}}
.island-ui .game-modal{scrollbar-color:var(--island-accent) var(--island-base);animation:island-window-v95 .17s ease-out}.island-ui .game-modal .city-portrait-v95{margin-bottom:16px}.island-ui .painted-site-details>.city-portrait-v95{height:150px;float:right;width:40%;margin:0 0 14px 20px}.island-ui .painted-site-details:after{content:'';display:block;clear:both}@keyframes island-window-v95{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
#toast[data-island-theme]{border:10px solid transparent!important;border-image:url('/assets/ui-haven-panel-v95.webp') 8% fill / 10px / 0 stretch!important;border-radius:0!important;background:#142737!important;color:#fff1d4!important;font:600 13px Manrope,sans-serif;padding:12px 20px;box-shadow:0 7px 24px #0008}#toast[data-island-theme=forge]{border-image-source:url('/assets/ui-forge-panel-v95.webp')!important}#toast[data-island-theme=astral]{border-image-source:url('/assets/ui-astral-panel-v95.webp')!important}#toast[data-island-theme=underworld]{border-image-source:url('/assets/ui-underworld-panel-v95.webp')!important}
@media(prefers-reduced-motion:reduce){.island-ui .game-modal{animation:none}}.island-ui .reduced-effects~.modal-backdrop .game-modal{animation:none}
@media(max-height:600px) and (orientation:landscape){.island-ui .painted-site-details>.city-portrait-v95{height:115px;min-height:0;width:34%}}
.island-ui .myth-shell[data-screen=city] .map-tools::before,.island-ui .myth-shell[data-screen=city] .map-tools::after{display:none!important;content:none!important}.island-ui .myth-shell[data-screen=city] .map-tools{background-image:none!important;box-shadow:none!important}.island-ui .myth-shell[data-screen=city] .map-tools button{margin:0!important}.island-ui .myth-shell[data-screen=city] .hud-settings-menu button{min-height:40px!important}
@media(max-height:600px) and (orientation:landscape){.island-ui .myth-shell[data-screen=city] .map-tools{top:76px!important}.island-ui .myth-shell[data-screen=city] .hud-settings-menu{right:0!important;top:50px!important}.island-ui .myth-shell[data-screen=city] .painted-city-site>span{font-size:11px!important;padding:2px 6px!important}.island-ui .myth-shell[data-screen=city] .painted-city-site>span small{font-size:10px!important}}
/* V96 — quiet glass UI. City artwork remains unchanged. */
#app .island-ui .myth-shell[data-screen=city]{--glass:rgba(12,22,29,.76);--line:rgba(236,228,206,.15);--ink:#f4f1e9;--quiet:#bac4c8;--accent:var(--island-accent)}
#app .island-ui .myth-shell[data-screen=city] :is(.hud-wallet,.world-chrome>div:first-child,.city-objective,.city-income,.town-toolbar,.map-hint,.hud-settings-menu,.myth-nav){border:1px solid var(--line)!important;border-image:none!important;border-radius:14px!important;background:var(--glass)!important;background-image:none!important;box-shadow:0 8px 28px #0002!important;backdrop-filter:blur(14px) saturate(.85)!important;-webkit-backdrop-filter:blur(14px) saturate(.85)!important;color:var(--ink)!important}
#app .island-ui .myth-shell[data-screen=city] :is(button,.hud-settings summary,.player-level,.hud-resource){border:1px solid transparent!important;border-image:none!important;border-radius:9px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--ink)!important;text-shadow:none!important;font-family:Manrope,'Segoe UI',sans-serif!important;font-weight:500!important}
#app .island-ui .myth-shell[data-screen=city] :is(button,.hud-resource,.hud-wallet,.world-chrome>div:first-child,.city-income,.city-objective,.town-toolbar)::before,#app .island-ui .myth-shell[data-screen=city] :is(button,.hud-resource,.hud-wallet,.city-income,.city-objective)::after{display:none!important;content:none!important}
#app .island-ui .myth-shell[data-screen=city] button:hover:not(:disabled){background:rgba(255,255,255,.07)!important;filter:none!important;transform:none!important}
#app .island-ui .myth-shell[data-screen=city] button:focus-visible{outline:2px solid var(--island-light)!important;outline-offset:3px}
#app .island-ui .myth-shell[data-screen=city] :is(h1,.city-objective>b){font-family:Manrope,'Segoe UI',sans-serif!important;font-weight:500!important;letter-spacing:-.025em!important;color:var(--ink)!important;text-shadow:none!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet{top:18px!important;right:24px!important;padding:6px 10px!important;gap:0!important;min-height:42px!important;border-radius:12px!important;display:flex!important;align-items:center}
#app .island-ui .myth-shell[data-screen=city] .hud-resource{padding:0 14px!important;min-height:30px!important;border:0!important;border-left:1px solid var(--line)!important;border-radius:0!important;gap:7px!important;background:none!important}
#app .island-ui .myth-shell[data-screen=city] .hud-resource b{font:500 13px Manrope,sans-serif!important;letter-spacing:0!important;color:var(--ink)!important;font-variant-numeric:tabular-nums}
#app .island-ui .myth-shell[data-screen=city] .hud-resource .raster-icon{width:27px!important;height:27px!important;filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .player-level{padding:0 12px 0 4px!important;border:0!important;font-size:11px!important;color:var(--quiet)!important;white-space:nowrap}
#app .island-ui .myth-shell[data-screen=city] .hud-settings{margin-left:5px!important}#app .island-ui .myth-shell[data-screen=city] .hud-settings summary{width:32px!important;height:30px!important;padding:0!important;border:0!important;display:grid!important;place-items:center}
#app .island-ui .myth-shell[data-screen=city] .hud-settings summary .icon{width:23px!important;height:23px!important;opacity:.85}
#app .island-ui .myth-shell[data-screen=city] .hud-settings-menu{padding:14px!important;top:48px!important;right:0!important}
#app .island-ui .myth-shell[data-screen=city] .myth-logo{top:22px!important;left:26px!important;width:36px!important;height:36px!important;padding:0!important;border:0!important;background:none!important}
#app .island-ui .myth-shell[data-screen=city] .myth-logo>span,#app .island-ui .myth-shell[data-screen=city] .myth-logo .island-ui-icon{width:36px!important;height:36px!important;background-color:transparent!important;box-shadow:none!important}
#app .island-ui .myth-shell[data-screen=city] .world-chrome{left:24px!important;top:88px!important;right:auto!important}
#app .island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{width:284px!important;min-width:0!important;max-width:284px!important;padding:18px 20px!important;box-sizing:border-box}
#app .island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:24px!important;line-height:1.25!important;margin:7px 0 12px!important;white-space:normal!important;max-width:none!important;overflow:visible!important}
#app .island-ui .myth-shell[data-screen=city] .world-chrome small{font:500 9px Manrope,sans-serif!important;letter-spacing:.14em!important;color:var(--quiet)!important}
#app .island-ui .myth-shell[data-screen=city] .worker-badge{font:400 11px Manrope,sans-serif!important;color:var(--quiet)!important;padding:0!important;background:none!important;border:0!important;gap:5px}
#app .island-ui .myth-shell[data-screen=city] .worker-badge .icon{width:15px!important;height:15px!important;opacity:.7}
#app .island-ui .myth-shell[data-screen=city] .city-switcher{top:246px!important;left:24px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:360px!important;max-width:360px!important;gap:4px!important;background:transparent!important}
#app .island-ui .myth-shell[data-screen=city] .city-switcher button{width:auto!important;min-height:48px!important;padding:8px 9px!important;background:rgba(12,22,29,.73)!important;border:1px solid var(--line)!important;backdrop-filter:blur(12px);border-radius:10px!important;text-align:left}
#app .island-ui .myth-shell[data-screen=city] .city-switcher b{font:500 10px/1.35 Manrope,sans-serif!important;white-space:normal!important;color:var(--ink)!important}.island-ui .myth-shell[data-screen=city] .city-switcher small{font-weight:400!important}
#app .island-ui .myth-shell[data-screen=city] .city-switcher button.active{background:rgba(42,54,59,.88)!important;border-color:color-mix(in srgb,var(--accent) 55%,transparent)!important;filter:none!important;box-shadow:none!important}
#app .island-ui .myth-shell[data-screen=city] .city-switcher small{font-size:9px!important;margin-top:3px;color:var(--quiet)!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective{top:330px!important;left:24px!important;width:244px!important;padding:18px 20px!important;box-sizing:border-box}
#app .island-ui .myth-shell[data-screen=city] .city-objective>small{font:500 9px Manrope,sans-serif!important;letter-spacing:.12em;color:var(--quiet)!important}.island-ui .myth-shell[data-screen=city] .city-objective>b{display:block}
#app .island-ui .myth-shell[data-screen=city] .city-objective>b{font-size:21px!important;line-height:1.35!important;margin:9px 0!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective>span{font:400 11px/1.6 Manrope,sans-serif!important;color:var(--quiet)!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective>div{margin-top:15px!important;gap:5px!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective button{min-height:36px!important;padding:6px 10px!important;font-size:11px!important;background:rgba(255,255,255,.06)!important}.island-ui .city-objective .icon{width:20px!important;height:20px!important}
#app .island-ui .myth-shell[data-screen=city] .myth-nav{right:20px!important;width:76px!important;top:50%!important;transform:translateY(-50%)!important;padding:6px!important;gap:4px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box;pointer-events:auto}
#app .island-ui .myth-shell[data-screen=city] .myth-nav button{width:62px!important;height:64px!important;min-height:64px!important;min-width:62px!important;padding:5px 3px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border-radius:9px!important}
#app .island-ui .myth-shell[data-screen=city] .myth-nav .island-ui-icon{width:31px!important;height:31px!important;filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{font:400 10px/1.2 Manrope,sans-serif!important;white-space:nowrap!important;color:var(--ink)!important}
#app .island-ui .myth-shell[data-screen=city] .map-tools{right:116px!important;top:86px!important;display:flex!important;flex-direction:row!important;gap:3px!important;padding:4px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--glass)!important;backdrop-filter:blur(12px)!important;box-shadow:none!important}
#app .island-ui .myth-shell[data-screen=city] .map-tools button{width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font:400 19px Manrope,sans-serif!important}
#app .island-ui .myth-shell[data-screen=city] .town-toolbar{left:24px!important;bottom:72px!important;padding:5px!important;gap:4px!important;display:flex!important;width:auto!important}
#app .island-ui .myth-shell[data-screen=city] .town-toolbar button{min-height:38px!important;padding:5px 12px!important;font-size:12px!important;gap:7px!important}
#app .island-ui .myth-shell[data-screen=city] .town-toolbar .icon{width:23px!important;height:23px!important;filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .map-hint{display:none!important}
#app .island-ui .myth-shell[data-screen=city] .city-income{right:116px!important;bottom:24px!important;padding:12px 16px!important;gap:18px!important;border-radius:13px!important}
#app .island-ui .myth-shell[data-screen=city] .city-income-values>small{font:500 8px Manrope,sans-serif!important;letter-spacing:.1em;color:var(--quiet)!important}
#app .island-ui .myth-shell[data-screen=city] .city-income button{padding:7px 12px!important;min-height:38px!important;background:rgba(228,202,142,.12)!important;border:1px solid rgba(228,202,142,.2)!important;font-size:12px!important}.island-ui .city-income button .icon{width:23px!important;height:23px!important}
#app .island-ui .myth-shell[data-screen=city] .developer-toggle{left:24px!important;bottom:22px!important;padding:5px 9px!important;min-height:32px!important;font:400 10px Manrope,sans-serif!important;opacity:.8;background:rgba(12,22,29,.65)!important;border-radius:8px!important}
#app .island-ui .myth-shell[data-screen=city] .developer-toggle .icon{width:17px!important;height:17px!important;filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .painted-city-site>span{border:1px solid var(--line)!important;border-image:none!important;background:rgba(12,22,29,.82)!important;backdrop-filter:blur(10px)!important;border-radius:7px!important;padding:7px 11px!important;font:500 11px/1.4 Manrope,sans-serif!important;box-shadow:0 3px 12px #0002!important;color:var(--ink)!important}
#app .island-ui .myth-shell[data-screen=city] .painted-city-site small{font:400 10px/1.4 Manrope,sans-serif!important;color:var(--quiet)!important}.island-ui .myth-shell[data-screen=city] .painted-city-site.reserved>span{opacity:0}.island-ui .myth-shell[data-screen=city] .painted-city-site.reserved:hover>span,.island-ui .myth-shell[data-screen=city] .painted-city-site.reserved:focus-visible>span{opacity:1}
#app .island-ui .myth-shell[data-screen=city] .resource-tip{border:1px solid var(--line)!important;border-image:none!important;background:rgba(12,22,29,.92)!important;border-radius:10px!important;padding:13px 15px!important;box-shadow:0 8px 22px #0003!important;backdrop-filter:blur(14px)!important}
#app .island-ui .game-modal{border:1px solid #e6dfce24!important;border-image:none!important;background:rgba(16,25,31,.93)!important;backdrop-filter:blur(20px)!important;border-radius:16px!important;box-shadow:0 20px 70px #0005!important;padding:30px!important;color:#f4f1e9!important}
#app .island-ui .game-modal :is(h2,h3){font-family:Manrope,sans-serif!important;font-weight:500!important;text-shadow:none!important;line-height:1.35!important;letter-spacing:-.02em!important}#app .island-ui .game-modal h2{font-size:25px!important;padding-right:38px!important;margin:12px 0 22px!important}
#app .island-ui .game-modal button{border:1px solid #f0e6cf26!important;border-image:none!important;border-radius:8px!important;background:#ffffff09!important;box-shadow:none!important;color:#f4f1e9!important;font-family:Manrope,sans-serif!important;font-weight:500!important;text-shadow:none!important;padding:10px 14px;min-height:40px}
#app .island-ui .game-modal :is(article,.city-economy,.city-development,.city-builder-status,.city-next-adventure,.plot-growth-preview,.city-economy-grid>div){border:1px solid #f0e6cf1a!important;border-image:none!important;background:#ffffff04!important;border-radius:10px!important;box-shadow:none!important}
#app .island-ui .game-modal .frame-corner{display:none!important}#app .island-ui .game-modal .modal-close{padding:0!important;min-height:36px!important;width:36px!important;height:36px!important;font-weight:400!important}
#toast[data-island-theme]{border:1px solid #e6dfce24!important;border-image:none!important;background:rgba(12,22,29,.9)!important;backdrop-filter:blur(16px)!important;border-radius:10px!important;box-shadow:0 6px 22px #0003!important;font-weight:400!important}
@media(max-height:600px) and (orientation:landscape){
#app .island-ui .myth-shell[data-screen=city] .hud-wallet{top:8px!important;right:12px!important;min-height:36px!important;padding:3px 6px!important;gap:0!important;border-radius:10px!important}
#app .island-ui .myth-shell[data-screen=city] .hud-resource{padding:0 8px!important;min-height:27px!important;gap:4px!important}#app .island-ui .myth-shell[data-screen=city] .hud-resource b{font-size:11px!important}#app .island-ui .myth-shell[data-screen=city] .hud-resource .raster-icon{width:23px!important;height:23px!important}
#app .island-ui .myth-shell[data-screen=city] .player-level{padding:0 7px!important;font-size:10px!important}#app .island-ui .myth-shell[data-screen=city] .hud-settings summary{width:26px!important;height:26px!important}
#app .island-ui .myth-shell[data-screen=city] .myth-logo{top:9px!important;left:14px!important;width:28px!important;height:28px!important}#app .island-ui .myth-shell[data-screen=city] .myth-logo .island-ui-icon{width:28px!important;height:28px!important}
#app .island-ui .myth-shell[data-screen=city] .world-chrome{left:12px!important;top:58px!important}#app .island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{width:218px!important;max-width:218px!important;padding:12px 15px!important}#app .island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:17px!important;line-height:1.3!important;margin:0 0 7px!important;white-space:normal!important}#app .island-ui .myth-shell[data-screen=city] .worker-badge{font-size:10px!important}
#app .island-ui .myth-shell[data-screen=city] .city-switcher{top:166px!important;left:12px!important;width:290px!important;max-width:290px!important;gap:3px!important}#app .island-ui .myth-shell[data-screen=city] .city-switcher button{padding:6px 7px!important;min-height:46px!important;border-radius:8px!important}#app .island-ui .myth-shell[data-screen=city] .city-switcher b{font-size:9px!important}#app .island-ui .myth-shell[data-screen=city] .city-switcher small{font-size:8px!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective{display:none!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav{right:10px!important;width:62px!important;padding:4px!important;gap:2px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav button{width:52px!important;min-width:52px!important;height:55px!important;min-height:55px!important;gap:3px!important;padding:4px 2px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav .island-ui-icon{width:26px!important;height:26px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav button>span:last-child{font-size:9px!important}
#app .island-ui .myth-shell[data-screen=city] .map-tools{right:84px!important;top:59px!important;padding:3px!important;gap:2px!important}#app .island-ui .myth-shell[data-screen=city] .map-tools button{width:30px!important;height:30px!important;min-height:30px!important}
#app .island-ui .myth-shell[data-screen=city] .town-toolbar{bottom:46px!important;left:12px!important;padding:3px!important}#app .island-ui .myth-shell[data-screen=city] .town-toolbar button{padding:5px 8px!important;min-height:36px!important;font-size:11px!important}#app .island-ui .myth-shell[data-screen=city] .town-toolbar .icon{width:20px!important;height:20px!important}
#app .island-ui .myth-shell[data-screen=city] .city-income{right:84px!important;bottom:12px!important;padding:8px 11px!important;gap:10px!important;max-width:250px!important}#app .island-ui .myth-shell[data-screen=city] .city-income button{padding:5px 8px!important;min-height:34px!important;font-size:11px!important}#app .island-ui .myth-shell[data-screen=city] .developer-toggle{left:12px!important;bottom:7px!important;padding:3px 7px!important;min-height:28px!important;font-size:9px!important}
#app .island-ui .game-modal{padding:20px!important;border-radius:13px!important}#app .island-ui .game-modal h2{font-size:21px!important;margin:8px 0 16px!important}
}
#app .island-ui .myth-shell[data-screen=city] .hud-settings{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:32px!important;height:30px!important;flex:0 0 32px!important;margin-left:4px!important}#app .island-ui .myth-shell[data-screen=city] .hud-settings summary{position:static!important;inset:auto!important}#app .island-ui .myth-shell[data-screen=city] .town-toolbar button{flex-direction:row!important}#app .island-ui .myth-shell[data-screen=city] .painted-city-site.inactive>span{opacity:0}#app .island-ui .myth-shell[data-screen=city] .painted-city-site.inactive:hover>span,#app .island-ui .myth-shell[data-screen=city] .painted-city-site.inactive:focus-visible>span{opacity:1}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97{display:block!important;margin-top:14px!important;padding-top:12px;border-top:1px solid #ffffff12}.city-guidance-v97>span{display:block;color:#b7c4c8;font:400 10px/1.5 Manrope,sans-serif}.city-guidance-v97 b{display:block;color:#e7e9df;font-weight:500;margin-top:4px}.city-guidance-v97 button{width:100%;text-align:left;display:block;line-height:1.5!important}.city-guidance-v97 button>span{font-size:9px;color:#b2c7c4}.city-guidance-v97 button>b{font-size:11px}.city-guidance-v97 button>small{font-size:10px;color:#b2c7c4}.building-development-v97{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.building-development-v97>div{padding:13px 15px;border:1px solid #ffffff12;border-radius:9px;background:#ffffff03}.building-development-v97 small{display:block;color:#aebdc1;font-size:10px;margin-bottom:7px}.building-development-v97 b{display:block;font:500 13px/1.6 Manrope,sans-serif;color:#eef0e8}.building-development-v97 button{margin:0!important}.building-development-v97>button:first-of-type{grid-column:1/-1}[data-city-ready-signal]:not(:empty){display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;background:#87c4b322;border:1px solid #87c4b344;border-radius:6px;color:#d5eee6;font:600 10px Manrope,sans-serif}
@media(max-height:600px) and (orientation:landscape){.building-development-v97{gap:7px;margin-top:12px}.building-development-v97>div{padding:9px 11px}.building-development-v97 b{font-size:12px}}
.city-management-heading>.city-guidance-v97{margin:14px 0 0;max-width:440px}.city-management-heading>.city-guidance-v97 button{padding:10px 14px!important;border-color:#87c4b333!important;background:#87c4b309!important}.building-development-v97>div:first-of-type:last-of-type{grid-column:1/-1}
#app .island-ui .myth-shell[data-screen=city] button.income-details-v98{display:block!important;padding:0!important;border:0!important;background:transparent!important;text-align:left;min-height:36px!important}.income-details-v98>small{display:block;font:500 8px Manrope,sans-serif!important;letter-spacing:.1em;color:#b6c3c7;margin-bottom:5px}.income-details-v98>span{display:flex;align-items:center;gap:5px}.income-details-v98 b{font:500 14px Manrope,sans-serif;font-variant-numeric:tabular-nums}.income-details-v98 .icon{width:22px!important;height:22px!important}.economy-v98{max-width:860px!important}.economy-pending-v98{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border:1px solid #ffffff15;border-radius:11px;background:#ffffff04}.economy-pending-v98>small{font-size:10px;color:#b9c7cb}.economy-pending-v98>span{display:flex;gap:8px;align-items:center}.economy-pending-v98 b{font:500 18px Manrope,sans-serif;font-variant-numeric:tabular-nums}.economy-pending-v98 .icon{width:25px;height:25px}.economy-rows-v98{display:grid;gap:9px;margin:18px 0}.economy-rows-v98 article{padding:14px 17px;display:grid;grid-template-columns:1fr 1.2fr;gap:18px;align-items:center}.economy-rows-v98 h3{font-size:15px!important;margin:0 0 5px}.economy-rows-v98 small{color:#b7c3c8;font-size:10px}.economy-rows-v98 dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.economy-rows-v98 dt{font:400 9px Manrope,sans-serif;color:#b7c3c8}.economy-rows-v98 dd{margin:7px 0 0;font:500 16px Manrope,sans-serif;color:#f0eee6;font-variant-numeric:tabular-nums}.economy-v98 footer{display:flex;gap:20px;align-items:center;justify-content:space-between}.economy-v98 footer p{font-size:11px!important;line-height:1.7;max-width:470px}.economy-v98 footer button{white-space:nowrap}.economy-v98 [data-economy-storage]{font-size:12px;line-height:1.6}
@media(max-height:600px) and (orientation:landscape){.economy-pending-v98{padding:9px 12px}.economy-rows-v98{margin:10px 0;gap:6px}.economy-rows-v98 article{padding:10px 12px}.economy-rows-v98 h3{font-size:13px!important}.economy-rows-v98 dd{font-size:14px}.economy-v98 footer{gap:12px}.income-details-v98>small{display:none}}
.economy-v98 [data-economy-storage]{margin:12px 0 18px!important}.economy-rows-v98 dt{font-size:10px}.economy-v98>small{letter-spacing:.08em}
/* V99 — connect earned rewards to deliberate, reviewable progression. */
.squad-upgrade-prompt-v99,.reward-discoveries-v99{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#14252bba;border:1px solid #a8c9bd26;border-radius:13px;padding:20px 24px;margin:20px 0;backdrop-filter:blur(12px)}.squad-upgrade-prompt-v99 small,.reward-discoveries-v99>small{font:500 9px Manrope,sans-serif;letter-spacing:.12em;color:#b7d1ca}.squad-upgrade-prompt-v99 h3,.reward-discoveries-v99 h3{font:500 20px/1.4 Manrope,sans-serif;margin:6px 0;color:#f1eee5}.squad-upgrade-prompt-v99 p,.reward-discoveries-v99 p{font:400 12px/1.7 Manrope,sans-serif;color:#c3ced0;margin:5px 0}.squad-upgrade-prompt-v99 button,.reward-discoveries-v99 button,.prep-upgrade-prompt-v99 button{border:1px solid #d2c29344;border-radius:8px;padding:10px 14px;font:500 12px Manrope,sans-serif;background:#d2c29313;color:#eee6d5;white-space:nowrap}.reward-discoveries-v99{display:block;border-color:#ddc6863a}.reward-discoveries-v99 button{margin-top:9px}.prep-upgrade-prompt-v99{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;margin:14px 0;border:1px solid #aacbb526;border-radius:9px;background:#aacbb509}.prep-upgrade-prompt-v99 span{font-size:12px;color:#d0ddd6}.squad-upgrade-v99{max-width:920px!important}.squad-upgrade-v99>p{font-size:12px;line-height:1.8}.squad-upgrade-list-v99{display:grid;gap:8px;margin:20px 0}.squad-upgrade-list-v99 article{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:16px;align-items:center;padding:14px 16px}.squad-upgrade-list-v99 h3{font-size:14px!important;margin:0 0 5px!important}.squad-upgrade-list-v99 span,.squad-upgrade-list-v99 small{display:block;font-size:10px;color:#b7c4c7}.squad-upgrade-list-v99 b{display:block;font:500 12px Manrope,sans-serif;color:#eeeae0;margin-top:6px;font-variant-numeric:tabular-nums}.squad-upgrade-list-v99 strong{font:500 12px Manrope,sans-serif;color:#e2cca2}.squad-upgrade-v99 footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #ffffff14;padding-top:17px}.squad-upgrade-v99 footer b{font:500 15px Manrope,sans-serif}.squad-upgrade-v99 footer small{display:block;font-size:11px;color:#b7c4c7;margin-top:6px}
@media(max-height:600px) and (orientation:landscape){.squad-upgrade-prompt-v99,.reward-discoveries-v99{padding:13px 16px;margin:12px 0;gap:14px}.squad-upgrade-prompt-v99 h3,.reward-discoveries-v99 h3{font-size:17px}.squad-upgrade-list-v99{margin:12px 0;gap:6px}.squad-upgrade-list-v99 article{gap:10px;padding:10px 12px}.squad-upgrade-list-v99 h3{font-size:12px!important}.squad-upgrade-list-v99 b,.squad-upgrade-list-v99 strong{font-size:11px}.squad-upgrade-v99 footer{position:sticky;bottom:-20px;background:#10191ff5;padding:12px 0;margin-bottom:-5px}.prep-upgrade-prompt-v99{gap:10px;padding:10px}}
.touch-battle-info-v99{max-width:680px!important}.touch-battle-info-v99 p{line-height:1.8}.touch-battle-info-v99>small:last-child{display:block;color:#b8c6c9;font-size:11px;line-height:1.7}.touch-spell-art-v99{width:80px;height:80px;float:right;margin:0 0 15px 20px}.touch-spell-art-v99>*{width:100%!important;height:100%!important}.board-card,.spell-slot{-webkit-touch-callout:none}
/* V100 isolated layout prototype: no game economy mutation. */
#app .island-ui .city-switcher{display:none!important}
#app .city-prototype-v100{position:relative;width:min(1440px,98vw);max-height:98dvh;overflow:auto;background:#10252ceF;border:1px solid #e3d4aa55;border-radius:16px;color:#f3ead7;box-shadow:0 24px 90px #0009;font-family:Manrope,sans-serif}
.city-prototype-v100 header,.city-prototype-v100 footer{display:flex;align-items:center;gap:16px;padding:12px 20px}
.city-prototype-v100 header div,.city-prototype-v100 footer div{flex:1;min-width:0}
.city-prototype-v100 header h2{font-size:22px;font-weight:500;margin:3px 0}
.city-prototype-v100 small{display:block;color:#c4d1d3;font-size:12px}
.city-prototype-v100 footer b{font-size:14px;font-weight:500;display:block;margin-bottom:4px}
.city-prototype-v100 button{min-height:44px;padding:8px 15px;border:1px solid #e3d4aa55;border-radius:8px;background:#17333e;color:#f4e7c6;cursor:pointer}
.prototype-stage-v100{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;isolation:isolate}
.prototype-terrain-v100,.prototype-grid-v100{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.prototype-grid-v100{opacity:0;pointer-events:none;transition:opacity .2s;z-index:1}
.prototype-grid-v100.editing{opacity:1}
.prototype-grid-v100 path{stroke:#f9edc67a;stroke-width:.08;fill:none}
.prototype-grid-v100 polygon{fill:#64e5db55;stroke:#c8fffa;stroke-width:.2}
#app .city-prototype-v100 .prototype-building-v100{position:absolute;transform:translate(-50%,-86%);padding:0;min-height:0;border:0;background:none;box-shadow:none;border-radius:0;z-index:2;touch-action:manipulation}
.prototype-building-v100 img{display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(4px 8px 5px #24211355)}
.prototype-building-v100.selected img{filter:drop-shadow(0 0 7px #c5fffc)}
.prototype-building-v100 span{position:absolute;bottom:0;left:50%;transform:translate(-50%,80%);white-space:nowrap;background:#10252cdb;border:1px solid #cfddda44;border-radius:6px;padding:4px 9px;font-size:12px;opacity:0}
.prototype-building-v100:hover span,.prototype-building-v100:focus-visible span,.prototype-building-v100.selected span{opacity:1}
@media(max-height:600px){#app .city-prototype-v100{width:98vw}.city-prototype-v100 header,.city-prototype-v100 footer{padding:6px 12px;gap:8px}.city-prototype-v100 header h2{font-size:17px}.city-prototype-v100 header small,.city-prototype-v100 footer small{display:none}.prototype-stage-v100{width:min(100%,calc((100dvh - 116px)*1.5));margin:auto}.city-prototype-v100 footer b{font-size:12px}.city-prototype-v100 footer button{font-size:12px;padding:6px 10px}}
#app .city-prototype-v100 header h2{font-family:Manrope,sans-serif;font-weight:500}
#app .city-prototype-v100 .prototype-stage-v100{width:min(100%,calc((100dvh - 176px)*1.5));margin:auto}
#app .city-prototype-v100{overflow:hidden}
@media(max-height:600px){#app .city-prototype-v100 .prototype-stage-v100{width:min(100%,calc((100dvh - 120px)*1.5))}}
.prototype-canvas-v100{position:relative;width:100%;aspect-ratio:3/2}
#app .prototype-backdrop-v100{padding:8px;box-sizing:border-box}
@media(max-height:600px){#app .city-prototype-v100 .prototype-stage-v100{width:100%;height:calc(100dvh - 120px);aspect-ratio:auto}.prototype-canvas-v100{transform:translateY(-18%)}#app .city-prototype-v100{width:100%;max-width:100%;margin:0}.city-prototype-v100 footer{flex-wrap:wrap}.city-prototype-v100 footer div{min-width:220px}.city-prototype-v100 header{min-height:44px;box-sizing:border-box}}
/* V101: consistent ground anchors, quieter contact light and balanced composition. */
.prototype-ground-v101{position:absolute;inset:0;pointer-events:none;z-index:0}
.prototype-ground-v101 img{position:absolute;height:auto;transform:translate(-50%,-50%);pointer-events:none;opacity:.86}
#app .city-prototype-v100 .prototype-building-v100{transform:translate(-50%,calc(-1 * var(--foundation-anchor,78%)))}
.prototype-building-v100 img{filter:drop-shadow(2px 3px 2px #302b2340);transition:filter .18s}
.prototype-building-v100.selected img{filter:drop-shadow(0 0 4px #c5fffc)}
/* V102: generated paving material; pedestrian routes follow current footprints. */
.prototype-streets-v102{position:absolute;inset:0;z-index:0;pointer-events:none}
.prototype-streets-v102 svg{width:100%;height:100%;overflow:visible}
.prototype-streets-v102 polyline{fill:none;stroke-linejoin:round;stroke-linecap:round}
.street-earth-v102{stroke:#8c794f;stroke-width:36;opacity:.32;filter:url(#quarter-edge-v102)}
.street-paving-v102{stroke:url(#quarter-paving-v102);stroke-width:26;opacity:.9}
.quarter-square-v102{position:absolute;height:auto;transform:translate(-50%,-50%);opacity:.95}
/* V104: full composition proposals, separate from gameplay and layout state. */
#app .concept-backdrop-v104{padding:12px;overflow:auto;align-items:flex-start}
.city-concept-v104{width:min(1500px,100%);margin:auto;background:#10252cf5;border:1px solid #c6b78b55;border-radius:14px;color:#f3ead7;box-shadow:0 20px 80px #0008;font-family:Manrope,sans-serif;overflow:hidden}
.city-concept-v104 header,.city-concept-v104 footer{display:flex;align-items:center;gap:20px;padding:16px 22px}
.city-concept-v104 header>div{flex:1}
#app .city-concept-v104 h2{font:500 24px/1.3 Manrope,sans-serif;margin:5px 0}
.city-concept-v104 small{font:500 10px/1.5 Manrope,sans-serif;letter-spacing:.1em;color:#bfcfc8}
.city-concept-v104 button{padding:10px 15px;min-height:44px;border:1px solid #cfbc8c55;border-radius:8px;color:#f4e9d2;background:#183540;cursor:pointer;font:500 13px Manrope,sans-serif}
.city-concept-v104 button[aria-pressed=true]{background:#d9c28a24;border-color:#e4c98e}
.city-concept-v104 nav{display:flex;gap:8px;padding:0 22px 16px}
.concept-options-v104{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 22px}
.city-concept-v104.enlarged .concept-options-v104{grid-template-columns:1fr}
.concept-options-v104 article{overflow:hidden;border:1px solid #c5d1c72b;border-radius:10px;background:#071a2233}
#app .city-concept-v104 .concept-image-v104{display:block;width:100%;padding:0;border:0;border-radius:0;background:none}
.concept-image-v104 img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#10252c}
.city-concept-v104.enlarged .concept-image-v104 img{max-height:70dvh}
.concept-description-v104{padding:17px 20px}
#app .city-concept-v104 h3{font:500 21px/1.3 Manrope,sans-serif;margin:5px 0 10px}
.concept-description-v104 p,.city-concept-v104 footer p{font:400 12px/1.7 Manrope,sans-serif;color:#cbd6d3;margin:7px 0}
.concept-description-v104 b{font-weight:600;color:#eadbc0}
.city-concept-v104 footer p{flex:1;max-width:760px}
.city-concept-v104 footer button{flex-shrink:0}
@media(max-height:600px){#app .concept-backdrop-v104{padding:6px}.city-concept-v104 header,.city-concept-v104 footer{padding:8px 12px;gap:12px}#app .city-concept-v104 h2{font-size:18px}.city-concept-v104 header small{display:none}.city-concept-v104 nav{padding:0 12px 8px}.concept-options-v104{gap:10px;padding:0 12px}.concept-description-v104{padding:12px}#app .city-concept-v104 h3{font-size:17px}.city-concept-v104.enlarged .concept-image-v104 img{max-height:none}.city-concept-v104 footer p{font-size:11px}}
@media(max-width:600px) and (orientation:portrait){.concept-options-v104{grid-template-columns:1fr}}
/* V105 fixed-city progression and shared production queues. */
.settlement-modal-v105{max-width:920px!important}
.settlement-modal-v105 p{font-size:13px;line-height:1.7;color:#c6d2d0}
.settlement-queues-v105{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.settlement-queues-v105>div,.settlement-benefit-v105{padding:13px 16px;border:1px solid #c2d0c52c;border-radius:10px;background:#081d2666}
.settlement-queues-v105 small,.settlement-benefit-v105 small{display:block;font-size:10px;color:#b5c6be;letter-spacing:.08em;margin-bottom:5px}
.settlement-queues-v105 b,.settlement-benefit-v105 b{display:block;font-size:14px;font-weight:500}
.settlement-queues-v105 span{display:block;font-size:12px;color:#e4cc91;margin-top:5px;font-variant-numeric:tabular-nums}
.settlement-benefit-v105 small:not(:first-child){margin-top:14px}
.settlement-list-v105{display:grid;gap:8px}
#app .settlement-list-v105 button{display:grid;grid-template-columns:minmax(150px,.8fr) 1.5fr 14px;gap:16px;align-items:center;text-align:left;padding:14px 16px;border-radius:9px;background:#102b354f;border:1px solid #c2d0c52c;color:#e6e4d7}
.settlement-list-v105 small{display:block;font-size:11px;margin-top:5px;color:#b6c8bf}
.settlement-list-v105 button>span:nth-child(2){font-size:12px;line-height:1.5;color:#c6d2d0}
.settlement-list-v105 b{font-weight:500;font-size:15px}.settlement-list-v105 em{font-style:normal;color:#dec793}
.settlement-recipes-v105{margin:22px 0}
.settlement-recipes-v105 article{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 0;border-top:1px solid #cad5c524}
.settlement-recipes-v105 small{display:block;font-size:11px;line-height:1.6;color:#b6c8bf;margin-top:5px}
.settlement-recipes-v105 button{max-width:230px;font-size:12px;flex-shrink:0}
.settlement-reserve-v105{margin-top:20px;font-size:13px;color:#c0c9c0}
@media(max-height:600px){.settlement-queues-v105{margin:10px 0;gap:8px}.settlement-queues-v105>div{padding:10px}.settlement-list-v105 b{font-size:13px}#app .settlement-list-v105 button{padding:10px 12px;gap:12px}.settlement-modal-v105 .modal-close{position:sticky;top:0;float:right;z-index:2}}
.fixed-valley-v105 .settlement-art-v105,.settlement-sites-v105{position:absolute;inset:0;width:100%;height:100%}
.settlement-art-v105{pointer-events:none}
#app .settlement-site-v105{position:absolute;transform:translate(-50%,-50%);width:13%;height:13%;border:0;background:transparent;box-shadow:none;cursor:pointer;border-radius:30%;padding:0}
.settlement-site-v105>span{position:absolute;top:90%;left:50%;transform:translate(-50%,0) scale(var(--label-scale,1));transform-origin:top center;min-width:115px;white-space:nowrap;border:1px solid #d0c19350;border-radius:8px;background:#10262edc;padding:7px 12px;font:500 12px Manrope,sans-serif;color:#f2e7ce;opacity:0;pointer-events:none;backdrop-filter:blur(8px)}
.settlement-site-v105 small{display:block;font:400 10px Manrope,sans-serif;color:#c5d3ca;margin-top:3px}
.settlement-site-v105:hover>span,.settlement-site-v105:focus-visible>span{opacity:1}
.settlement-site-v105.locked{cursor:help}
.settlement-site-v105>i{display:block;width:32px;height:32px;line-height:30px;border:1px solid #e1cf94aa;border-radius:50%;background:#18373de8;box-shadow:0 3px 12px #0004;color:#f0d99b;font-style:normal;font-size:24px;margin:auto;transform:scale(var(--label-scale,1));transform-origin:center}
.settlement-site-v105 .settlement-work-v105{font-size:17px;animation:settlement-work-v105 2s ease-in-out infinite}
@keyframes settlement-work-v105{50%{box-shadow:0 0 15px #e4c28366}}
@media(prefers-reduced-motion:reduce){.settlement-site-v105 .settlement-work-v105{animation:none}}
#app .island-ui .myth-shell[data-screen=city] .city-switcher{display:none!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97 button{width:100%;white-space:normal;text-align:left;display:block;line-height:1.5}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97 button>b{font-size:12px;display:block}
#app .island-ui .myth-shell[data-screen=city] .city-objective{height:auto!important;max-height:none!important}
.reduced-effects .settlement-site-v105 .settlement-work-v105{animation:none}
#app .island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{width:190px!important;padding:12px 14px!important}
#app .island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:22px!important;margin:5px 0!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective{width:210px!important;top:270px!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97{margin-top:10px!important}
@media(max-height:600px){#app .island-ui .myth-shell[data-screen=city] .world-chrome>div:first-child{width:150px!important;padding:8px 10px!important}#app .island-ui .myth-shell[data-screen=city] .world-chrome h1{font-size:18px!important}#app .island-ui .myth-shell[data-screen=city] .city-objective{display:none!important}}
.settlement-building-fold-v105{margin:14px 0;border:1px solid #c2d0c52c;border-radius:9px;padding:12px 14px}
.settlement-building-fold-v105 summary{cursor:pointer;font-size:13px;color:#e0d2b0}
.settlement-building-fold-v105 .settlement-benefit-v105{margin-top:12px}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97 button{width:100%!important;max-width:none!important;height:auto!important;min-height:44px!important;box-sizing:border-box!important;padding:8px 10px!important;display:block!important;white-space:normal!important}
#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97 button>b,#app .island-ui .myth-shell[data-screen=city] .city-objective .city-guidance-v97 button>span{width:auto!important;max-width:none!important;white-space:normal!important;line-height:1.5!important}
/* V106: hover never moves the hit target. Labels and light cannot intercept input. */
.settlement-sites-v105,.settlement-target-v106{pointer-events:none}
.settlement-target-v106{position:absolute;inset:0}
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105:hover,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105:active,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105:focus-visible{pointer-events:auto;transform:translate(-50%,-50%)!important;translate:none!important;scale:none!important;rotate:none!important;background:transparent!important;filter:none!important;box-shadow:none!important;transition:none!important}
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105.contour-target-v106,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105.contour-target-v106:hover,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105.contour-target-v106:active,
#app .island-ui .myth-shell[data-screen=city] button.settlement-site-v105.contour-target-v106:focus-visible{transform:none!important;border:0!important;border-radius:0!important;padding:0!important;outline:none!important}
.settlement-highlight-v106{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:0;pointer-events:none;transition:opacity .16s ease}
.settlement-target-v106:has(>button:hover) .settlement-highlight-v106,
.settlement-target-v106:focus-within .settlement-highlight-v106{opacity:1}
.settlement-label-v106{position:absolute;transform:translate(-50%,6px) scale(var(--label-scale,1));transform-origin:top center;padding:7px 12px;border:1px solid #d0c19370;border-radius:8px;background:#10262ee8;color:#f2e7ce;font:500 12px/1.4 Manrope,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .16s ease;backdrop-filter:blur(8px);z-index:2}
.settlement-label-v106 small{display:block;font-size:10px;color:#c5d3ca;margin-top:3px}
.settlement-target-v106:has(>button:hover) .settlement-label-v106,
.settlement-target-v106:focus-within .settlement-label-v106{opacity:1}
.settlement-progress-v106{position:absolute;transform:translate(-50%,-50%) scale(var(--label-scale,1));pointer-events:none;color:#f0d99b;background:#18373de8;border:1px solid #e1cf94aa;border-radius:50%;width:30px;height:30px;text-align:center;line-height:28px;font-size:16px}
@media(prefers-reduced-motion:reduce){.settlement-highlight-v106,.settlement-label-v106{transition:none}}
.reduced-effects .settlement-highlight-v106,.reduced-effects .settlement-label-v106{transition:none}
/* Light the painted object itself instead of drawing a polygon around its ground patch. */
.settlement-highlight-v106 image{filter:brightness(1.14) saturate(1.06)}
/* V107: independent HUD elements and large readable city actions. */
.ui-art-v107{display:inline-block;flex:none;width:56px;height:56px;background:url('/assets/ui-city-icons-v107.webp') var(--art-x) var(--art-y)/300% 200% no-repeat;vertical-align:middle}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet,#app .island-ui .myth-shell[data-screen=city] .myth-nav{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet{display:flex!important;gap:8px!important;padding:0!important;right:16px!important;top:8px!important;max-width:calc(100% - 180px)!important}
#app .island-ui .myth-shell[data-screen=city] .hud-resource,#app .island-ui .myth-shell[data-screen=city] .player-level{display:flex!important;align-items:center;gap:2px;padding:0 7px 0 0!important;min-height:56px!important;background:#10252bd9!important;border:0!important;border-image:none!important;border-radius:12px;box-shadow:none!important;color:#fff}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet .raster-icon,#app .island-ui .myth-shell[data-screen=city] .hud-wallet .ui-art-v107{width:56px!important;height:56px!important}
#app .island-ui .myth-shell[data-screen=city] .hud-settings>summary{background:#10252bd9!important;border:0!important;border-image:none!important;padding:0!important;width:56px!important;height:56px!important;border-radius:12px}
#app .island-ui .myth-shell[data-screen=city] .myth-nav{width:88px!important;gap:8px!important;padding:0!important;right:12px!important}
#app .island-ui .myth-shell[data-screen=city] .myth-nav button{width:88px!important;min-width:88px!important;height:86px!important;min-height:86px!important;padding:0!important;background:#10252bd4!important;border:0!important;border-image:none!important;border-radius:14px!important;gap:0!important}
#app .island-ui .myth-shell[data-screen=city] .myth-nav .island-ui-icon{width:62px!important;height:62px!important}
#app .island-ui .myth-shell[data-screen=city] .settlement-available-v105{background:none!important;border:0!important;box-shadow:none!important;width:64px!important;height:64px!important}
.settlement-available-v105 .ui-art-v107{width:64px;height:64px}
#app .island-ui .myth-shell[data-screen=city] .objective-v107{display:block!important;padding:0!important;width:240px!important;min-height:0!important;background:#10252bd9 url('/assets/ui-city-objective-v107.webp') center/cover!important;border:1px solid #c5b58b30!important;border-image:none!important;border-radius:14px!important;box-shadow:0 8px 24px #0003!important;overflow:hidden;backdrop-filter:blur(12px)}
.objective-toggle-v107{display:flex;align-items:center;gap:8px;width:100%;padding:4px 12px!important;border:0!important;background:none!important;color:#f2dfb4}.objective-toggle-v107 .ui-art-v107{width:38px;height:38px}.objective-toggle-v107 b{margin-left:auto}.objective-content-v107{padding:0 16px 16px}.objective-content-v107>b{font-size:21px;font-weight:500;color:#f5e9cf}.objective-content-v107 p{font-size:12px;line-height:1.5;color:#c9d7d9;margin:10px 0}.objective-content-v107 .gold-button{width:100%!important;min-height:42px}.building-production-v107{padding:18px;background:#142f39;border-radius:12px;margin:16px 0}.building-production-v107 strong{display:block;font-size:26px;margin:8px 0}
@media(max-height:600px) and (orientation:landscape){#app .island-ui .myth-shell[data-screen=city] .hud-wallet{max-width:calc(100% - 115px)!important;right:8px!important;gap:4px!important}#app .island-ui .myth-shell[data-screen=city] .hud-wallet .raster-icon,#app .island-ui .myth-shell[data-screen=city] .hud-wallet .ui-art-v107{width:52px!important;height:52px!important}#app .island-ui .myth-shell[data-screen=city] .hud-resource b{font-size:12px!important}#app .island-ui .myth-shell[data-screen=city] .player-level{font-size:12px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav{width:70px!important;gap:4px!important;right:7px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav button{width:70px!important;min-width:70px!important;height:68px!important;min-height:68px!important}#app .island-ui .myth-shell[data-screen=city] .myth-nav .island-ui-icon{width:52px!important;height:52px!important}#app .island-ui .myth-shell[data-screen=city] .objective-v107{left:8px!important;top:120px!important;width:210px!important}.objective-content-v107{max-height:170px;overflow:auto}.objective-content-v107>b{font-size:18px}}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet::before,#app .island-ui .myth-shell[data-screen=city] .hud-wallet::after,#app .island-ui .myth-shell[data-screen=city] .myth-nav::before,#app .island-ui .myth-shell[data-screen=city] .myth-nav::after{display:none!important;content:none!important}
#app .island-ui .myth-shell[data-screen=city] .objective-content-v107{display:block!important;padding:0 16px 16px!important}.objective-content-v107>b{display:block!important}.objective-content-v107 .city-guidance-v97{display:block!important;margin-top:12px!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet{right:14px!important;gap:5px!important;max-width:calc(100% - 190px)!important}.hud-wallet>.player-level{position:relative;padding:0!important;min-width:56px}.hud-wallet>.player-level>b{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;color:#fff}
#app .island-ui .myth-shell[data-screen=city] .hud-settings{flex:none;width:56px!important;margin:0!important;align-self:center}
#app .island-ui .myth-shell[data-screen=city] .objective-toggle-v107{display:flex!important;flex-direction:row!important;justify-content:flex-start!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet.hud-wallet,#app .island-ui .myth-shell[data-screen=city] .myth-nav.myth-nav{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .objective-v107.objective-v107{background:#10252be8 url('/assets/ui-city-objective-v107.webp') center/cover!important}
#app .island-ui .myth-shell[data-screen=city] .objective-v107 .gold-button{background:linear-gradient(110deg,#dbc18a,#af8b4d)!important;color:#162329!important}
/* V108 — quiet silhouettes and bottom-left L navigation. */
.clean-icon-v108{width:56px;height:56px;color:#f2d69a;filter:drop-shadow(0 2px 2px #07151ee6)}.clean-icon-v108.tone-violet{color:#ccb0f7}.clean-icon-v108.tone-teal{color:#8be1cb}.clean-icon-v108.tone-blue{color:#a2d7fa}
#app .island-ui .myth-shell .myth-nav.myth-nav{position:fixed!important;left:calc(14px + env(safe-area-inset-left))!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;right:auto!important;top:auto!important;transform:none!important;width:276px!important;height:172px!important;display:grid!important;grid-template-columns:repeat(3,84px)!important;grid-template-rows:80px 80px!important;gap:8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important}
#app .island-ui .myth-shell .myth-nav.myth-nav::before,#app .island-ui .myth-shell .myth-nav.myth-nav::after{display:none!important;content:none!important}
#app .island-ui .myth-shell .myth-nav.myth-nav button{width:84px!important;min-width:84px!important;height:80px!important;min-height:80px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:2px!important;gap:3px!important;background:transparent!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:12px!important;text-shadow:0 1px 4px #000,0 0 8px #000!important}
#app .island-ui .myth-shell .myth-nav.myth-nav button:nth-child(1){grid-column:1;grid-row:2}#app .island-ui .myth-shell .myth-nav.myth-nav button:nth-child(2){grid-column:2;grid-row:2}#app .island-ui .myth-shell .myth-nav.myth-nav button:nth-child(3){grid-column:3;grid-row:2}#app .island-ui .myth-shell .myth-nav.myth-nav button:nth-child(4){grid-column:1;grid-row:1}
#app .island-ui .myth-shell .myth-nav.myth-nav button .icon{width:52px!important;height:52px!important;background:none!important;filter:drop-shadow(0 2px 3px #07151e)!important}
#app .island-ui .myth-shell .myth-nav.myth-nav button>span:last-child{font:600 12px/1.2 Manrope,'Segoe UI',sans-serif!important;color:#fff6df!important}
#app .island-ui .myth-shell .myth-nav.myth-nav button:hover{background:transparent!important;color:#fff!important;filter:brightness(1.2)!important;transform:none!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet .clean-icon-v108{width:48px!important;height:48px!important;flex:none}#app .island-ui .myth-shell[data-screen=city] .hud-resource.hud-resource,#app .island-ui .myth-shell[data-screen=city] .player-level.player-level,#app .island-ui .myth-shell[data-screen=city] .hud-settings>summary{background:transparent!important;backdrop-filter:none!important}
#app .island-ui .myth-shell[data-screen=city] .hud-wallet b{text-shadow:0 1px 3px #000,0 0 7px #000;color:#fff!important}.hud-wallet>.player-level .clean-icon-v108{opacity:.85}.hud-wallet>.player-level>b{font-size:12px!important;text-shadow:0 1px 3px #000}
#app .island-ui .myth-shell[data-screen=city] .objective-toggle-v107 .clean-icon-v108{width:30px!important;height:30px!important;margin:5px}
#app .island-ui .myth-shell[data-screen=city] .developer-toggle{left:auto!important;right:12px!important;bottom:10px!important}
@media(max-height:600px) and (orientation:landscape){#app .island-ui .myth-shell .myth-nav.myth-nav{left:8px!important;bottom:8px!important;width:216px!important;height:132px!important;grid-template-columns:repeat(3,68px)!important;grid-template-rows:64px 64px!important;gap:4px!important}#app .island-ui .myth-shell .myth-nav.myth-nav button{width:68px!important;min-width:68px!important;height:64px!important;min-height:64px!important}#app .island-ui .myth-shell .myth-nav.myth-nav button .icon{width:42px!important;height:42px!important}#app .island-ui .myth-shell .myth-nav.myth-nav button>span:last-child{font-size:11px!important}#app .island-ui .myth-shell[data-screen=city] .objective-v107.objective-v107{top:85px!important;left:auto!important;right:10px!important;width:210px!important}}
#app#app .island-ui .myth-shell .myth-nav.myth-nav,#app#app .island-ui .myth-shell .myth-nav.myth-nav button,#app#app .island-ui .myth-shell .myth-nav.myth-nav button:hover{background:transparent!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#app#app .island-ui .clean-icon-v108.tone-gold{color:#f2d69a!important}#app#app .island-ui .clean-icon-v108.tone-violet{color:#ccb0f7!important}#app#app .island-ui .clean-icon-v108.tone-teal{color:#8be1cb!important}#app#app .island-ui .clean-icon-v108.tone-blue{color:#a2d7fa!important}
#app#app .island-ui .myth-shell .myth-nav .clean-icon-v108{stroke-width:2.6!important;color:#f5ddb0!important}
#app#app .island-ui .myth-shell[data-screen=city] .hud-settings>summary .clean-icon-v108{width:48px!important;height:48px!important}
#app#app .island-ui .myth-shell[data-screen=city] .settlement-available-v105 .clean-icon-v108{width:56px!important;height:56px!important;display:block!important}
/* V109: restore illustrated icon art; retain transparent corner navigation. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .island-ui-icon{background-image:var(--island-icons)!important;background-size:300% 300%!important;background-position:var(--icon-x) var(--icon-y)!important;width:62px!important;height:62px!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .raster-icon{background-image:url('/assets/ui-icons-v15.webp')!important;background-size:300% 300%!important}

/* V110: restore the right-side vertical navigation. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav{left:auto!important;right:12px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;flex-direction:column!important;width:88px!important;height:auto!important;gap:8px!important;padding:0!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button{width:88px!important;min-width:88px!important;height:86px!important;min-height:86px!important;flex:none!important}
/* V111 — illustrated navigation with silhouette separation from terrain. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-art-v111{display:block!important;flex:none!important;width:70px!important;height:70px!important;background:transparent url('/assets/ui-nav-v111.webp') var(--nav-x) var(--nav-y)/200% 200% no-repeat!important;filter:drop-shadow(0 2px 2px #06141ffc) drop-shadow(0 0 4px #06141fc9)!important;mix-blend-mode:normal!important;transition:filter .18s ease}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button{height:94px!important;min-height:94px!important;gap:0!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button>span:last-child{color:#fff4d5!important;text-shadow:0 2px 2px #06141f,1px 0 3px #06141f,-1px 0 3px #06141f,0 0 8px #06141f!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button:hover .nav-art-v111,#app#app .island-ui .myth-shell .myth-nav.myth-nav button:focus-visible .nav-art-v111{filter:drop-shadow(0 2px 2px #06141f) drop-shadow(0 0 6px #e8cc84b3)!important}
/* V112: preserve the 768x512 sprite cell aspect ratio. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-art-v111{width:88px!important;height:58.6667px!important;aspect-ratio:3/2!important;background-size:200% 200%!important}
/* V113: 25% larger navigation artwork, shared vertical centerline. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav{width:110px!important;align-items:center!important;gap:8px!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button{width:110px!important;min-width:110px!important;height:106px!important;min-height:106px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-art-v111{width:110px!important;height:73.3333px!important;flex:0 0 auto!important;margin:0!important;align-self:center!important;aspect-ratio:3/2!important}
/* V114: optical alignment compensates for unequal transparent margins in the atlas. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-art-v111{position:relative!important;left:var(--nav-optical-x,0px)!important;top:0!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button[data-page=quests] .nav-art-v111{--nav-optical-x:-14px}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button[data-page=cards] .nav-art-v111{--nav-optical-x:7px}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button[data-page=shop] .nav-art-v111{--nav-optical-x:-11px}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button[data-page=arena] .nav-art-v111{--nav-optical-x:10px}
/* V115 — matching city navigation illustration. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-city-v115{display:block!important;width:88px!important;height:73.3333px!important;object-fit:contain!important;flex:none!important;align-self:center!important;margin:0!important;background:none!important;filter:drop-shadow(0 2px 2px #06141ffc) drop-shadow(0 0 4px #06141fc9)!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button:hover .nav-city-v115,#app#app .island-ui .myth-shell .myth-nav.myth-nav button:focus-visible .nav-city-v115{filter:drop-shadow(0 2px 2px #06141f) drop-shadow(0 0 6px #e8cc84b3)!important}
/* V116: match the visible temple silhouette to other navigation items. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-city-v115{width:94px!important;height:90px!important;margin:-8px 0 -8.6667px!important;object-fit:contain!important}
/* V117: one illustrated HUD and settings menu across every location. */
.hud-art-v117{display:inline-block;flex:none;width:64px;height:64px;background:transparent url('/assets/ui-hud-v117.webp') var(--hud-x) var(--hud-y)/300% 200% no-repeat;vertical-align:middle;filter:drop-shadow(0 2px 2px #04111ff0)}
#app#app .island-ui .myth-shell .myth-hud{position:fixed!important;left:0!important;right:0!important;top:0!important;height:78px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;pointer-events:none;z-index:40}
#app#app .island-ui .myth-shell .myth-hud .myth-logo{pointer-events:auto;top:12px!important;left:16px!important}
#app#app .island-ui .myth-shell .hud-wallet.hud-wallet{position:absolute!important;left:auto!important;right:16px!important;top:8px!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;max-width:calc(100% - 110px)!important;min-height:64px!important;height:64px!important;padding:0!important;background:transparent!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;pointer-events:auto}
#app#app .island-ui .myth-shell .hud-wallet::before,#app#app .island-ui .myth-shell .hud-wallet::after,#app#app .island-ui .myth-shell .hud-resource::before,#app#app .island-ui .myth-shell .hud-resource::after{display:none!important;content:none!important}
#app#app .island-ui .myth-shell .hud-wallet>.hud-resource{display:flex!important;align-items:center!important;gap:2px!important;min-width:96px!important;height:64px!important;min-height:64px!important;padding:0 6px 0 0!important;background:transparent!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
#app#app .island-ui .myth-shell .hud-wallet .hud-art-v117{width:64px!important;height:64px!important;flex:none!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:64px!important;min-width:64px!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level>b{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;padding:0!important;font:700 14px/1 Manrope,'Segoe UI',sans-serif!important;color:#fff5d9!important;text-shadow:0 2px 3px #07131f!important}
#app#app .island-ui .myth-shell .hud-wallet>.hud-resource>b{font:600 14px/1.2 Manrope,'Segoe UI',sans-serif!important;font-variant-numeric:tabular-nums;color:#fff4d9!important;text-shadow:0 2px 3px #03101f,0 0 7px #03101f!important;white-space:nowrap}
#app#app .island-ui .myth-shell .hud-settings{position:relative!important;flex:none!important;width:64px!important;height:64px!important;margin:0!important}
#app#app .island-ui .myth-shell .hud-settings>summary{display:flex!important;align-items:center!important;justify-content:center!important;width:64px!important;height:64px!important;min-height:64px!important;padding:0!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important;cursor:pointer;list-style:none!important}
#app#app .island-ui .myth-shell .hud-settings>summary::marker{content:''}#app#app .hud-settings>summary::-webkit-details-marker{display:none}
#app#app .island-ui .myth-shell .hud-settings-menu{position:absolute!important;right:0!important;left:auto!important;top:74px!important;bottom:auto!important;display:grid!important;grid-template-columns:1fr!important;width:260px!important;gap:7px!important;padding:16px!important;background:#102331f2!important;background-image:none!important;border:1px solid #d8c18b55!important;border-image:none!important;border-radius:16px!important;box-shadow:0 12px 34px #0007!important;backdrop-filter:blur(18px)!important;color:#f6e7c8!important;z-index:90}
#app#app .hud-settings-menu .settings-level{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 12px;font:600 17px Manrope,sans-serif;border-bottom:1px solid #d8c18b30}.settings-level small{font:400 11px Manrope,sans-serif;color:#b9c9d1}
#app#app .island-ui .myth-shell .hud-settings-menu button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:48px!important;padding:6px 10px!important;margin:0!important;background:#ffffff06!important;border:1px solid #cdb67a20!important;border-image:none!important;border-radius:10px!important;box-shadow:none!important;font:500 12px/1.4 Manrope,sans-serif!important;color:#f5e8cd!important}
#app#app .hud-settings-menu button:not(.progress-backup-open)::after{content:attr(aria-label)!important;display:block!important;position:static!important;width:auto!important;height:auto!important;background:none!important;border:0!important;transform:none!important;flex:1;text-align:left}
#app#app .island-ui .myth-shell .hud-settings-menu button .icon,#app#app .island-ui .myth-shell .hud-settings-menu button .hud-art-v117,#app#app .island-ui .myth-shell .hud-settings-menu button img{width:32px!important;height:32px!important;flex:none!important;object-fit:contain!important}
#app#app .island-ui .myth-shell .hud-settings-menu button:hover{background:#d8c18b18!important;border-color:#d8c18b77!important}
#app#app .island-ui .myth-shell .hud-wallet .resource-tip{top:70px!important;bottom:auto!important;background:#102331f5!important;border:1px solid #d8c18b44!important;border-image:none!important;border-radius:12px!important;padding:14px!important;box-shadow:0 10px 25px #0005!important;color:#e8e4d8!important;font:400 12px/1.5 Manrope,sans-serif!important;z-index:80}
/* V118: prevent neighbouring atlas artwork bleeding into the card icon. */
#app#app .island-ui .myth-shell .myth-nav.myth-nav button[data-page=cards] .nav-art-v111{clip-path:inset(0 4% 0 9%)}
/* V118: imagegen glass resource tray shared by all locations. */
#app#app .island-ui .myth-shell .hud-wallet.hud-wallet{background:transparent url('/assets/ui-resource-tray-v118.webp') center/105% 307% no-repeat!important;border:0!important;box-shadow:none!important;padding:0 10px!important;height:68px!important;min-height:68px!important;gap:6px!important;isolation:isolate}
#app#app .island-ui .myth-shell .hud-wallet>.hud-resource{min-width:96px!important}
/* V119: ivory resource-only tray; level and settings remain separate. */
#app#app .island-ui .myth-shell .hud-wallet.hud-wallet{background:transparent!important;background-image:none!important;padding:0!important;height:88px!important;min-height:88px!important;gap:12px!important;top:4px!important}
#app#app .island-ui .myth-shell .resource-tray-v119{display:flex!important;align-items:center!important;gap:6px!important;position:relative;isolation:isolate;min-height:84px!important;height:84px!important;padding:10px 20px!important;background:transparent url('/assets/ui-resource-tray-v119.webp') center/106.4% 211% no-repeat!important;overflow:visible!important}
#app#app .island-ui .myth-shell .resource-tray-v119>.hud-resource{position:relative;display:flex!important;align-items:center!important;gap:1px!important;min-width:96px!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0 4px 0 0!important;background:transparent!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
#app#app .island-ui .myth-shell .resource-tray-v119>.hud-resource>b{font:700 14px/1.2 Manrope,'Segoe UI',sans-serif!important;font-variant-numeric:tabular-nums;color:#263a46!important;text-shadow:0 1px 0 #fff8!important;white-space:nowrap}
#app#app .island-ui .myth-shell .resource-tray-v119 .hud-art-v117{width:64px!important;height:64px!important;filter:drop-shadow(0 2px 1px #563f2738)!important}
#app#app .island-ui .myth-shell .hud-settings-menu{top:78px!important}
#app#app .island-ui .myth-shell:not([data-screen=city]):not([data-screen=quests]) .content-page{padding-top:104px!important}
/* V120: matte Aegean enamel tray, compact visual centering of resource art. */
#app#app .island-ui .myth-shell .resource-tray-v119{height:74px!important;min-height:74px!important;padding:5px 20px!important;background:transparent url('/assets/ui-resource-tray-v120.webp') center/106% 334% no-repeat!important}
#app#app .island-ui .myth-shell .resource-tray-v119>.hud-resource>b{color:#fff0c9!important;text-shadow:0 1px 2px #071724!important}
#app#app .island-ui .myth-shell .resource-tray-v119 .hud-art-v117{position:relative;top:0;filter:drop-shadow(0 2px 1px #03111b88)!important}
#app#app .island-ui .myth-shell .resource-tray-v119 [data-resource="Золото"] .hud-art-v117{top:-5px;left:-3px}
#app#app .island-ui .myth-shell .resource-tray-v119 [data-resource="Энергия"] .hud-art-v117{top:2px}
/* V121: asymmetric expansion of tray art without moving resource contents. */
#app#app .island-ui .myth-shell .resource-tray-v119{background:none!important;transform:translateX(-38px);margin-left:0!important}
#app#app .island-ui .myth-shell .resource-tray-v119::before{content:''!important;display:block!important;position:absolute!important;left:-7%!important;right:-7%!important;top:-5%!important;bottom:-7%!important;z-index:-1!important;pointer-events:none!important;background:transparent url('/assets/ui-resource-tray-v120.webp') center/106% 334% no-repeat!important;border:0!important;box-shadow:none!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level{transform:translateX(-74px)!important}
/* V122: refine tray insets and gold optical size. */
#app#app .island-ui .myth-shell .resource-tray-v119::before{left:-4%!important;right:-4%!important;bottom:-10%!important}
#app#app .island-ui .myth-shell .resource-tray-v119 [data-resource="Золото"] .hud-art-v117{transform:translateY(2%) scale(1.04)!important;transform-origin:center!important}
/* V123 — Aegean architectural interface, shared across locations. */
#app#app .island-ui{--panel-ink:#eee9dc;--panel-muted:#b5c6cd;--panel-gold:#ddc28b;--panel-line:#bdac8060;--ui-title:'Cormorant UI',Georgia,serif}
#app#app .island-ui :is(.game-modal,.page-heading,.objective-v107,.collection-console,.shop-context,.journey-panel,.route-panel,.preparation-help,.pair-briefing,.mastery-panel,.duel-recap,.catalog-empty,.spell-stock-v81,.acquisition-heading,.archive-window-heading,.city-management-heading,.exchange-heading,.building-production-v107){background:linear-gradient(#102b3c24,#071b2e35),url('/assets/ui-panel-aegean-v123.webp') center/100% 100% no-repeat!important;border:1px solid #d2c3a25c!important;border-image:none!important;border-radius:8px!important;box-shadow:0 8px 28px #03111e44,inset 0 0 0 1px #f3e5c40c!important;backdrop-filter:none!important;color:var(--panel-ink)!important}
#app#app .island-ui :is(.game-modal,.page-heading,.shop-offer,.category-tile,.journey-panel)>.frame-corner{display:none!important}
#app#app .island-ui .game-modal{padding:32px!important;line-height:1.6!important;max-height:calc(100svh - 40px)!important;scrollbar-color:#9c8b64 #122d3e}
#app#app .island-ui :is(.page-heading,.acquisition-heading,.archive-window-heading,.city-management-heading,.exchange-heading){padding:24px 28px!important}
#app#app .island-ui :is(.page-heading h1,.game-modal h2,.archive-window-heading h1,.acquisition-heading h1,.city-management-heading h1,.exchange-heading h1,.result-heading h1,.battle-heading h1){font-family:'Cormorant UI',Georgia,serif!important;font-weight:600!important;font-size:36px!important;line-height:1.12!important;letter-spacing:.01em!important;color:#f2e5c6!important;text-shadow:0 2px 3px #0003!important;margin:8px 0 14px!important}
#app#app .island-ui :is(.game-modal h3,.shop-offer h3,.duel-recap h2,.mastery-panel h2,.catalog-empty h2,.route-panel h3){font-family:'Cormorant UI',Georgia,serif!important;font-weight:600!important;line-height:1.15!important;letter-spacing:.01em!important;font-size:27px!important;color:#eedcb2!important}
#app#app .island-ui :is(.page-heading p,.game-modal p,.shop-offer p,.route-panel p,.preparation-help p,.journey-panel p){font-family:Manrope,'Segoe UI',sans-serif!important;font-size:13px!important;line-height:1.65!important;color:#c6d2d7!important;font-weight:400!important}
#app#app .island-ui :is(.page-heading>span,.game-modal>small,.offer-kicker,.objective-toggle-v107>span){font:600 10px/1.5 Manrope,'Segoe UI',sans-serif!important;letter-spacing:.12em!important;color:#d8c397!important;text-transform:uppercase}
#app#app .island-ui :is(.collection-console,.shop-context){padding:18px 22px!important;margin-bottom:18px!important}
#app#app .island-ui :is(.catalog-search,.catalog-filters){background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;padding:0!important;gap:14px!important}
#app#app .island-ui :is(.catalog-search,.catalog-filters,.shop-context) label{display:flex;flex-direction:column;gap:7px!important;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;padding:0!important;font:500 11px/1.4 Manrope,'Segoe UI',sans-serif!important;letter-spacing:.02em!important;color:#c8c8b8!important}
#app#app .island-ui :is(input[type=search],input[type=text],input[type=number],select,textarea){background:#0a2130ed!important;background-image:none!important;border:1px solid #b9ac834d!important;border-image:none!important;border-radius:6px!important;box-shadow:inset 0 2px 5px #0003!important;padding:11px 14px!important;min-height:44px!important;font:500 13px/1.4 Manrope,'Segoe UI',sans-serif!important;letter-spacing:0!important;color:#f0ebdd!important;outline-offset:3px;max-width:100%}
#app#app .island-ui input::placeholder{color:#8da4b0!important;opacity:1}#app#app .island-ui :is(input,select,textarea):focus-visible{outline:2px solid #d9c18b!important;border-color:#d9c18b!important}
#app#app .island-ui option{background:#102a3a;color:#f0ebdd}
#app#app .island-ui .collection-filter-drawer{background:none!important;border:0!important;border-top:1px solid #bfac7633!important;border-image:none!important;box-shadow:none!important;margin-top:16px!important;padding:0!important}
#app#app .island-ui .collection-filter-drawer>summary{padding:12px 0!important;font:500 12px Manrope,sans-serif!important;color:#decc9f!important;min-height:42px}
#app#app .island-ui .catalog-filters{padding:6px 0 0!important}
#app#app .island-ui :is(.settlement-benefit-v105,.building-benefit,.offer-cost,.spell-stock-count,.expedition-preparation,.preparation-links,.reserve-empty,.empty-side-story){background:#0b2332b8!important;border:1px solid #bbac7b30!important;border-image:none!important;border-radius:6px!important;box-shadow:none!important;color:#dfdfd1!important}
#app#app .island-ui :is(.shop-offer,.market-offer-v81){background:linear-gradient(#17384bbf,#0c2234ee),url('/assets/ui-panel-aegean-v123.webp') center/100% 100% no-repeat!important;border:1px solid #c1b18c60!important;border-image:none!important;border-radius:8px!important;box-shadow:0 5px 18px #0003!important;padding:22px!important}
#app#app .island-ui .objective-v107.objective-v107{width:264px!important;overflow:hidden!important;padding:10px!important}
#app#app .island-ui .objective-toggle-v107{padding:4px 7px 8px!important;background:transparent!important;border:0!important;border-bottom:1px solid #c7b58435!important;border-radius:0!important;box-shadow:none!important}
#app#app .island-ui .objective-content-v107{padding:14px 10px 10px!important}
#app#app .island-ui .objective-content-v107>b{font:600 28px/1.12 'Cormorant UI',Georgia,serif!important;letter-spacing:.01em!important;color:#f2e5c6!important}
#app#app .island-ui .objective-content-v107 p{font:400 12px/1.6 Manrope,sans-serif!important;color:#c2d0d5!important;margin:10px 0 16px!important}
#app#app .island-ui .city-guidance-v97{margin-top:16px!important;padding-top:12px!important;border-top:1px solid #bca77435!important}
#app#app .island-ui .city-guidance-v97 button{background:#0b2332a8!important;border:1px solid #bdac7640!important;border-image:none!important;border-radius:6px!important;padding:12px!important;box-shadow:none!important;line-height:1.5!important}
#app#app .island-ui :is(.game-modal,.shop-offer,.collection-console,.shop-context,.journey-panel,.route-panel) button:not(.modal-close):not(.card-art-trigger):not(.inspect-art):not(.collection-card-open){border-image:none!important;border-radius:6px!important;font-family:Manrope,'Segoe UI',sans-serif!important;letter-spacing:0!important}
#app#app .island-ui :is(.game-modal,.shop-offer,.shop-context,.collection-console) .gold-button,#app#app .island-ui .objective-v107 .gold-button{background:linear-gradient(115deg,#e2cc99,#b99a5d)!important;border:1px solid #ead9b0!important;border-image:none!important;color:#172a36!important;box-shadow:inset 0 1px #fff5,0 3px 8px #0002!important;font:600 12px/1.4 Manrope,sans-serif!important;min-height:44px!important;padding:11px 16px!important;border-radius:6px!important}
#app#app .island-ui .modal-close{position:absolute!important;top:14px!important;right:14px!important;width:36px!important;height:36px!important;border:1px solid #cdbb8955!important;background:#0b2232!important;border-image:none!important;border-radius:50%!important;color:#e3d1a5!important;font:24px/1 Manrope,sans-serif!important;padding:0!important;box-shadow:none!important}
#app#app .island-ui .modal-backdrop{background:#03121db8!important;backdrop-filter:blur(5px)!important}
#app#app .island-ui .shop-context .shop-back-art{display:none!important}
#app#app .island-ui .shop-context .back-button{background:#112c3c!important;border:1px solid #c1b18c60!important;box-shadow:none!important;min-height:44px!important;padding:10px 16px!important;color:#e6d5ac!important}
#app#app .island-ui .shop-context .back-button>span::before{content:'← ';margin-right:6px}
/* Keep architectural edge thickness fixed instead of stretching the frame. */
#app#app .island-ui :is(.game-modal,.page-heading,.objective-v107,.collection-console,.shop-context,.journey-panel,.route-panel,.preparation-help,.pair-briefing,.mastery-panel,.duel-recap,.catalog-empty,.spell-stock-v81,.acquisition-heading,.archive-window-heading,.city-management-heading,.exchange-heading,.building-production-v107){background:#102f46!important;border:7px solid transparent!important;border-image:url('/assets/ui-panel-aegean-v123.webp') 44 fill stretch!important;border-radius:4px!important}
#app#app .island-ui .myth-shell .world-chrome>div:first-child,#app#app .island-ui .myth-shell .hud-settings-menu{background:#102f46!important;border:7px solid transparent!important;border-image:url('/assets/ui-panel-aegean-v123.webp') 44 fill stretch!important;border-radius:4px!important;box-shadow:0 6px 20px #03111e44!important}
#app#app .island-ui .myth-shell .world-chrome>div:first-child{padding:14px 18px!important}
#app#app .island-ui .myth-shell .world-chrome h1{font:600 30px/1.1 'Cormorant UI',Georgia,serif!important;color:#f0dfb6!important;margin:6px 0 10px!important}
#app#app .island-ui .objective-v107.objective-v107{background:#102f46!important;border:7px solid transparent!important;border-image:url('/assets/ui-panel-aegean-v123.webp') 44 fill stretch!important}
#app#app .island-ui .shop-context{min-height:84px!important}
#app#app .island-ui .catalog-empty{padding:28px!important;text-align:center!important}
#app#app .island-ui .catalog-empty h2{text-align:center!important}
#app#app .island-ui .modal-backdrop{z-index:1000!important}
#app#app .island-ui .game-modal{position:relative!important;z-index:1!important}
#app#app .island-ui .catalog-empty h2{display:block!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
/* Nested information stays quiet; architectural frames belong to outer windows. */
#app#app .island-ui .game-modal :is(.building-production-v107,.mastery-panel,.duel-recap,.route-panel,.preparation-help){background:#0b2435c9!important;border:1px solid #c2b17e45!important;border-image:none!important;border-radius:6px!important;box-shadow:none!important}
/* V124 — map-first composition and quiet constant-width surfaces. */
#app#app .island-ui :is(.game-modal,.page-heading,.objective-v107,.collection-console,.shop-context,.journey-panel,.route-panel,.preparation-help,.pair-briefing,.mastery-panel,.duel-recap,.catalog-empty,.spell-stock-v81,.acquisition-heading,.archive-window-heading,.city-management-heading,.exchange-heading,.building-production-v107),#app#app .island-ui .myth-shell .hud-settings-menu{background:linear-gradient(140deg,#193849f5,#102635f5)!important;border:1px solid #c6b27e66!important;border-image:none!important;border-radius:10px!important;box-shadow:0 8px 24px #02111c44!important}
#app#app .island-ui .myth-shell .world-chrome{top:18px!important;left:24px!important;right:auto!important;max-width:390px!important}
#app#app .island-ui .myth-shell .world-chrome>div:first-child{background:none!important;border:0!important;border-image:none!important;border-radius:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;min-width:0!important;text-shadow:0 2px 4px #071521,0 0 12px #071521!important}
#app#app .island-ui .world-chrome>div>small{display:none!important}
#app#app .island-ui .myth-shell .world-chrome h1{font:600 27px/1.1 'Cormorant UI',Georgia,serif!important;margin:0 0 6px!important;color:#fff0c8!important}
#app#app .island-ui .world-chrome .worker-badge{display:inline-flex!important;align-items:center;gap:5px;font:500 10px/1.3 Manrope,sans-serif!important;color:#e9e1c8!important;background:none!important;border:0!important;padding:0!important}
#app#app .island-ui .worker-badge .icon{width:18px!important;height:18px!important}
#app#app .island-ui .myth-shell .compact-objective-v124.compact-objective-v124{position:absolute!important;left:24px!important;top:auto!important;bottom:22px!important;width:264px!important;min-height:0!important;height:auto!important;padding:0!important;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
#app#app .map-disclosure-v124>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:9px 13px;background:#102c3bec;border:1px solid #d2bc805c;border-radius:9px;box-shadow:0 4px 16px #02111c55;color:#f1e0b6;font:600 12px/1.3 Manrope,sans-serif;min-height:48px}
#app#app .map-disclosure-v124>summary::-webkit-details-marker{display:none}#app#app .map-disclosure-v124>summary:focus-visible{outline:2px solid #e4cb90;outline-offset:3px}
#app#app .map-disclosure-v124>summary .ui-art-v107{width:34px;height:34px;flex:none}#app#app .map-disclosure-v124>summary>span:not(.goal-count-v124){min-width:0;flex:1}#app#app .map-disclosure-v124 summary small{display:block;font:500 9px/1.4 Manrope,sans-serif;color:#b6c7ca;margin-bottom:2px}#app#app .map-disclosure-v124 summary b{display:block;font:600 13px/1.3 Manrope,sans-serif;color:#f0e6cc}#app#app .goal-count-v124{font:600 12px Manrope,sans-serif;color:#e8cf95}
#app#app .map-popover-v124{position:absolute;bottom:calc(100% + 10px);left:0;width:294px;max-height:calc(100svh - 150px);overflow:auto;padding:20px;background:#102b3bf5;border:1px solid #ceb88666;border-radius:10px;box-shadow:0 12px 30px #02101d66;z-index:12}
#app#app .map-popover-v124 h3{font:600 26px/1.1 'Cormorant UI',Georgia,serif;color:#f0dfba;margin:0 0 12px}#app#app .map-popover-v124 p{font:400 12px/1.6 Manrope,sans-serif;color:#c2d0d5}#app#app .map-popover-v124>button{width:100%;min-height:42px}
#app#app .island-ui .myth-shell .map-hint{display:none!important}
#app#app .island-ui .myth-shell .compact-atlas-v124{position:absolute!important;top:auto!important;left:24px!important;bottom:22px!important;right:auto!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#app#app .compact-atlas-v124 button{min-height:42px;padding:9px 14px;background:#102c3be8;border:1px solid #ceb88666;border-radius:8px;color:#ead8af;font:500 12px Manrope,sans-serif}
#app#app .island-ui .myth-shell .compact-campaign-v124{position:absolute!important;top:auto!important;bottom:22px!important;left:24px!important;right:auto!important;width:auto!important;max-width:calc(100% - 160px)!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;padding:8px 12px!important;background:#102c3bf0!important;border:1px solid #c6b27e66!important;border-image:none!important;border-radius:9px!important;box-shadow:0 5px 20px #02111c44!important;min-height:56px!important}
#app#app .compact-campaign-v124 label{display:flex;align-items:center;gap:7px;font:500 10px Manrope,sans-serif;color:#bfcece}#app#app .compact-campaign-v124 select{min-height:36px!important;padding:6px 10px!important;font-size:12px!important;width:200px!important}#app#app .compact-campaign-v124 button{min-height:36px!important;padding:6px 10px!important;font-size:11px!important}#app#app .compact-campaign-v124 .island-counter{font:500 11px Manrope,sans-serif!important;white-space:nowrap!important}
#app#app .island-ui .myth-shell .compact-journey-v124{position:absolute!important;top:auto!important;right:142px!important;left:auto!important;bottom:94px!important;width:225px!important;min-height:0!important;height:auto!important;padding:0!important;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important}
#app#app .compact-journey-v124 .map-popover-v124{left:auto;right:0}#app#app .compact-journey-v124 summary{font-size:11px;min-height:42px}
#app#app .island-ui .collection-console{padding:12px 16px!important;background:#102b3be8!important;border:1px solid #bba97844!important;box-shadow:none!important}
#app#app .island-ui .catalog-search{display:flex!important;flex-wrap:wrap;align-items:flex-end!important;gap:12px!important}
#app#app .island-ui .catalog-search>label:first-child{flex:1!important;min-width:240px!important}#app#app .island-ui .catalog-search>label:not(:first-child){flex:0 1 180px!important}#app#app .island-ui .catalog-search input{width:100%!important}
#app#app .island-ui .collection-filter-drawer{margin-top:8px!important}#app#app .island-ui .collection-filter-drawer>summary{padding:8px 0 2px!important;min-height:28px!important}
#app#app .island-ui .page-heading{background:none!important;border:0!important;box-shadow:none!important;padding:16px 0!important}
#app#app .island-ui .compact-objective-v124 .map-popover-v124{position:fixed!important;left:24px!important;right:auto!important;bottom:92px!important;top:auto!important}
#app#app .island-ui .compact-journey-v124 .map-popover-v124{position:fixed!important;left:auto!important;right:142px!important;bottom:150px!important;top:auto!important}
#app#app .island-ui .myth-shell[data-screen=quests] .myth-logo{display:none!important}
#app#app .island-ui .myth-shell .developer-toggle{left:auto!important;right:12px!important;bottom:10px!important}
#app#app .island-ui .myth-shell .world-chrome h1,#app#app .island-ui .world-chrome .worker-badge{text-shadow:0 2px 3px #03101f,0 0 8px #03101f,1px 0 2px #03101f!important}
#app#app .island-ui .myth-shell .compact-journey-v124{bottom:22px!important}
#app#app .island-ui .compact-journey-v124 .map-popover-v124{bottom:82px!important}
#app#app .island-ui .myth-shell:is([data-screen=city],[data-screen=quests]) .world-viewport{position:fixed!important;inset:0!important;width:100%!important;height:100svh!important;min-height:0!important;overflow:hidden!important}
/* V125 — resource illustrations derived from the actual shop category art. */
#app#app .island-ui .hud-art-v117[data-resource-art-v125]{background:transparent url('/assets/ui-resources-shop-v125.webp') var(--resource-x) var(--resource-y)/200% 200% no-repeat!important;position:relative;top:0!important;left:0!important;transform:none!important;filter:drop-shadow(0 2px 2px #031320b3)!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Золото"] .hud-art-v117[data-resource-art-v125]{transform:translate(-3px,-4px) scale(1.04)!important}
#app#app .island-ui .hud-art-v117[data-resource-art-v125="1"]{clip-path:inset(0 0 0 8%)}
#app#app .island-ui .hud-art-v117[data-resource-art-v125="2"]{transform:translateX(-2px)!important}
#app#app .island-ui .hud-art-v117[data-resource-art-v125="3"]{clip-path:inset(0 0 0 4%);transform:translateY(1px)!important}
/* V126: energy designed around large readable forms at HUD size. */
#app#app .island-ui .resource-tray-v119 [data-resource="Энергия"] .hud-art-v117[data-energy-art-v126],#app#app .island-ui .hud-art-v117[data-energy-art-v126]{background:transparent url('/assets/ui-energy-v126.webp') center/contain no-repeat!important;position:relative;top:0!important;left:0!important;transform:none!important;clip-path:none!important;filter:drop-shadow(0 2px 2px #03132088)!important;image-rendering:auto}
/* V127: shared low-detail illustrated icon family designed for small display. */
#app#app .island-ui .quiet-icon-v127{display:inline-block;flex-shrink:0;background:transparent url('/assets/ui-icons-readable-v127.webp') var(--quiet-x) var(--quiet-y)/400% 400% no-repeat!important;mix-blend-mode:normal!important;image-rendering:auto;border-radius:0!important;filter:drop-shadow(0 2px 2px #051725a6)!important;vertical-align:middle}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button .nav-art-v111.quiet-icon-v127{width:88px!important;height:88px!important;aspect-ratio:1!important;left:0!important;top:0!important;margin:0!important;transform:none!important;clip-path:none!important;background:transparent url('/assets/ui-icons-readable-v127.webp') var(--quiet-x) var(--quiet-y)/400% 400% no-repeat!important;filter:drop-shadow(0 2px 2px #03111ed9)!important}
#app#app .island-ui .myth-shell .myth-nav.myth-nav button:hover .quiet-icon-v127{filter:drop-shadow(0 2px 2px #03111e) drop-shadow(0 0 4px #dec78a70)!important}
#app#app .island-ui .resource-tray-v119 .hud-art-v117.quiet-icon-v127{width:64px!important;height:64px!important;left:0!important;top:0!important;transform:none!important;clip-path:none!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level>b{font-size:13px!important}
#app#app .island-ui .myth-shell .hud-settings-menu .quiet-icon-v127{width:32px!important;height:32px!important}
#app#app .island-ui .myth-shell .worker-badge .quiet-icon-v127{width:22px!important;height:22px!important}
#app#app .island-ui .myth-shell .settlement-available-v105 .quiet-icon-v127{width:64px!important;height:64px!important}
#app#app .map-disclosure-v124>summary .quiet-icon-v127{width:34px!important;height:34px!important}
#app#app .island-ui .map-disclosure-v124>summary>.quiet-icon-v127{flex:0 0 34px!important;min-width:34px!important;max-width:34px!important;width:34px!important;height:34px!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Золото"] .quiet-icon-v127{transform:translateY(-2px)!important}
/* V129 — game dialogs: cinematic heading, tactical tiles, clear action rail. */
#app#app .island-ui .game-modal{background:radial-gradient(ellipse at 90% 0,#27475a66,transparent 55%),linear-gradient(135deg,#132c3e,#0a1c2b)!important;border:1px solid #baa477!important;border-image:none!important;border-radius:5px!important;box-shadow:0 20px 80px #0009,inset 0 0 0 3px #071624,inset 0 0 0 4px #b99d5b36!important;padding:32px!important}
#app#app .island-ui .game-modal>h2{padding-bottom:18px!important;border-bottom:1px solid #c4aa653d!important;margin-bottom:22px!important;font-size:35px!important}
#app#app .island-ui .game-modal>small{color:#d4b978!important;letter-spacing:.13em!important}
#app#app .island-ui .modal-close{z-index:8!important;width:36px!important;height:36px!important;background:linear-gradient(145deg,#bfa577,#6d5939)!important;border:1px solid #e4cf9f!important;color:#102330!important;box-shadow:0 3px 10px #0005,inset 0 1px #fff5!important;font-size:23px!important}
#app#app .island-ui .game-modal .preparation-tabs{display:flex!important;gap:0!important;border:0!important;border-bottom:1px solid #c6ac6a55!important;background:#06162266!important;border-radius:0!important;padding:0!important;margin:4px 0 20px!important}
#app#app .island-ui .game-modal .preparation-tabs button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px!important;padding:9px 16px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font:600 13px/1.3 Manrope,sans-serif!important;color:#a9bec8!important}
#app#app .island-ui .game-modal .preparation-tabs button .icon{width:32px!important;height:32px!important;filter:drop-shadow(0 1px 2px #0004)!important}
#app#app .island-ui .game-modal .preparation-tabs button.active,#app#app .island-ui .game-modal .preparation-tabs button[aria-pressed=true]{color:#f7e2ad!important;background:linear-gradient(0deg,#b8944d2e,transparent)!important;box-shadow:inset 0 -3px #e1c17c!important}
#app#app .island-ui .game-modal .preparation-tabs button:hover{color:#f2e2bb!important;background:#ffffff06!important}
#app#app .island-ui .game-modal.preparation-modal{width:min(960px,calc(100vw - 64px))!important;max-width:960px!important;height:min(820px,calc(100svh - 42px))!important;max-height:calc(100svh - 42px)!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;overflow:hidden!important}
#app#app .mission-hero-v129{position:relative;flex:none;min-height:150px;padding:28px 34px 22px;background:linear-gradient(90deg,#071b2a9e,#071b2a33 70%,transparent),url('/assets/ui-mission-header-v129.webp') center/cover no-repeat;border-bottom:1px solid #cfb67666}
#app#app .mission-hero-v129>div{position:relative;z-index:1;max-width:80%}
#app#app .mission-hero-v129 small{font:600 10px/1.4 Manrope,sans-serif;letter-spacing:.13em;color:#e7c98e;text-transform:uppercase;text-shadow:0 1px 3px #000}
#app#app .island-ui .mission-hero-v129 h2{font:600 40px/1.1 'Cormorant UI',Georgia,serif!important;color:#ffedc2!important;margin:7px 0 10px!important;text-shadow:0 2px 4px #0007!important;border:0!important;padding:0!important}
#app#app .mission-progress-v129{font:500 11px/1.5 Manrope,sans-serif;color:#becdd1;text-shadow:0 1px 3px #000}
#app#app .island-ui .preparation-modal>.preparation-tabs{flex:none;margin:0 0 0!important;padding:0 24px!important}
#app#app .island-ui .preparation-modal .preparation-body{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:22px 30px!important;margin:0!important;scrollbar-width:thin;scrollbar-color:#967c48 #0c2233}
#app#app .mission-brief-v129{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}
#app#app .mission-brief-v129>article{position:relative;display:flex;align-items:center;gap:7px;padding:12px 10px;background:linear-gradient(145deg,#1c3d50,#102b3b);border:1px solid #55728266;border-top-color:#bda77766;border-radius:5px;min-width:0}
#app#app .mission-brief-v129>article>.icon{width:42px;height:42px;flex:none}#app#app .mission-brief-v129 article small{display:block;font:500 10px/1.4 Manrope,sans-serif;color:#adc1c9;margin-bottom:5px}#app#app .mission-brief-v129 article b{display:block;font:700 18px/1.1 Manrope,sans-serif;color:#f1e6c9;font-variant-numeric:tabular-nums}
#app#app .brief-status-v129{position:absolute;right:7px;top:5px;font:700 10px Manrope,sans-serif;color:#9bcbb5}#app#app .mission-brief-v129 .warning .brief-status-v129{color:#edb575}
#app#app .island-ui .game-modal .mission-prepare-v129{grid-column:1/-1;justify-self:end;background:none!important;border:0!important;box-shadow:none!important;padding:2px 0!important;min-height:24px;color:#dfc68f;font:500 11px Manrope,sans-serif!important}
#app#app .mission-story-v129{padding:0 0 16px;border-bottom:1px solid #9eb5ba20;margin-bottom:16px}#app#app .mission-story-v129>small,#app#app .mission-rewards-v129>small{font:600 9px/1.4 Manrope,sans-serif;letter-spacing:.12em;color:#bda87a}#app#app .island-ui .mission-story-v129 p{font-size:13px!important;line-height:1.7!important;margin:8px 0 0!important;color:#d0dadd!important}
#app#app .mission-rule-v129{display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#a6884421,transparent)!important;border:0!important;border-left:3px solid #c7a762!important;padding:12px 16px!important;margin:0 0 20px!important}.mission-rule-v129>.icon{width:38px;height:38px;flex:none}#app#app .mission-rule-v129 b{font:600 22px/1.2 'Cormorant UI',Georgia,serif;color:#eed3a1}#app#app .mission-rule-v129 p{margin:5px 0 0!important;font-size:12px!important}
#app#app .mission-rewards-v129{display:flex;align-items:center;gap:18px;padding:0 0 18px;margin-bottom:16px;border-bottom:1px solid #9eb5ba20}.mission-rewards-v129>small{max-width:100px}#app#app .mission-rewards-v129>div{display:flex;gap:12px;flex:1}#app#app .mission-rewards-v129 .hud-resource{background:#082232!important;border:1px solid #bbaa6c3b!important;border-radius:5px!important;box-shadow:none!important;padding:3px 12px 3px 3px!important;min-height:46px!important;gap:5px!important;flex:1}#app#app .mission-rewards-v129 .icon{width:40px;height:40px}#app#app .mission-rewards-v129 b{font:600 15px Manrope,sans-serif!important;color:#f2dfb3!important}
#app#app .mission-optional-v129{border:0;border-top:1px solid #a8b8b51f;margin-top:6px}#app#app .mission-optional-v129>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;min-height:44px;font:500 12px Manrope,sans-serif;color:#dac494}#app#app .mission-optional-v129 summary>.icon{width:24px;height:24px}#app#app .mission-optional-v129 summary>span{margin-left:auto;font-size:10px;color:#8faab8}#app#app .mission-optional-v129 summary::after{content:'⌄';font-size:17px;margin-left:8px}#app#app .mission-optional-v129[open] summary::after{content:'⌃'}#app#app .mission-optional-v129 summary::-webkit-details-marker{display:none}
#app#app .island-ui .preparation-modal .preparation-footer{flex:none!important;margin:0!important;padding:16px 30px!important;border:0!important;border-top:1px solid #b99e5b66!important;background:linear-gradient(90deg,#081b2c,#142f40)!important;min-height:82px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
#app#app .island-ui .preparation-footer>span{font:500 11px Manrope,sans-serif;color:#b8cbd2;display:flex;align-items:center;gap:5px}#app#app .preparation-footer .icon{width:24px!important;height:24px!important}
#app#app .island-ui .game-modal .preparation-footer>.gold-button{min-width:220px!important;min-height:50px!important;justify-content:center!important;display:flex!important;align-items:center!important;gap:10px!important;font:700 14px Manrope,sans-serif!important;background:linear-gradient(#f0d89d,#b98b42)!important;border:1px solid #efdcad!important;box-shadow:inset 0 2px #fff6,inset 0 -3px #6c4e2140,0 4px 10px #0005!important;border-radius:4px!important;color:#182a34!important}
#app#app .island-ui .game-modal .preparation-help{display:block!important;width:auto!important;min-height:28px!important;padding:6px 0!important;margin:14px 0 0!important;background:none!important;border:0!important;box-shadow:none!important;font:400 10px Manrope,sans-serif!important;color:#89a5b5!important}
#app#app .mission-rewards-v129{flex-wrap:wrap}#app#app .island-ui .mission-rewards-v129>.mission-completion-v129{flex-basis:100%;margin:0!important;font:400 10px/1.5 Manrope,sans-serif!important;color:#94adb9!important}
#app#app .dialog-title-v129{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 44px 22px 0;margin-bottom:22px;border-bottom:1px solid #c8ad6855;background:radial-gradient(ellipse at right,#b89a4f10,transparent 65%)}#app#app .dialog-title-v129>.icon{width:68px;height:68px;flex:none}#app#app .dialog-title-v129 small{display:block;font:600 10px/1.5 Manrope,sans-serif;letter-spacing:.12em;color:#cdb582;text-transform:uppercase}#app#app .island-ui .dialog-title-v129 h2{font:600 36px/1.12 'Cormorant UI',Georgia,serif!important;color:#f2dfb3!important;margin:7px 0 0!important;border:0!important;padding:0!important}
/* V130: explicit experience symbol, labelled rewards, playable team/scout layouts. */
#app#app .island-ui .exp-icon-v130{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;min-width:28px;vertical-align:middle;background:none!important;isolation:isolate;filter:drop-shadow(0 2px 2px #04111d77)!important}
#app#app .exp-icon-v130::before{content:'';position:absolute;inset:18% 1%;background:linear-gradient(145deg,#276eb7,#163763);border:1.5px solid #e8c86e;border-radius:4px;box-shadow:inset 0 1px #a8dbff80,inset 0 -2px #03183366;z-index:-1}
#app#app .island-ui .exp-icon-v130>span{font:800 13px/1 Manrope,'Segoe UI',sans-serif!important;letter-spacing:-.03em;color:#fff0bd;text-shadow:0 1px 2px #051b38}
#app#app .island-ui .reward-label-v130{font:500 10px/1.3 Manrope,sans-serif!important;letter-spacing:0!important;color:#a2bcc8!important}
#app#app .island-ui .mission-rewards-v129 .hud-resource{display:grid!important;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:10px!important;row-gap:1px!important;align-items:center!important;padding:7px 12px 7px 6px!important;min-height:57px!important}
#app#app .mission-rewards-v129 .hud-resource>.icon{grid-column:1;grid-row:1/3}#app#app .mission-rewards-v129 .hud-resource>b{grid-column:2;grid-row:1;align-self:end}#app#app .mission-rewards-v129 .hud-resource>.reward-label-v130{grid-column:2;grid-row:2;align-self:start;display:block!important}
#app#app .mission-brief-v129 article em{display:block;font:400 9px/1.5 Manrope,sans-serif;color:#9cb3bf;margin-top:6px;font-style:normal}
#app#app .island-ui .preparation-body>.encounter-scouting{border:0!important;background:none!important;padding:0!important;box-shadow:none!important}
#app#app .island-ui .preparation-body>.encounter-scouting>summary{display:none!important}
#app#app .island-ui .preparation-body>.encounter-scouting>p{margin:0 0 18px!important;font-size:12px!important;color:#a6bdc8!important}
#app#app .island-ui .preparation-body .team-composition{display:flex!important;gap:16px!important;padding:14px 16px!important;background:#0b2232!important;border:1px solid #a9b7ab29!important;border-radius:5px!important;margin-bottom:18px!important}
#app#app .island-ui .team-composition>div{flex:1}#app#app .island-ui .team-composition small{font-size:9px!important;letter-spacing:.08em;color:#bca570}#app#app .island-ui .team-composition b{font-size:12px!important;line-height:1.5!important;color:#decfae!important}#app#app .island-ui .team-composition span{font-size:10px!important;color:#8eaab9!important;line-height:1.6!important}
#app#app .island-ui .kit-v130 .kit-team{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important}
#app#app .island-ui :is(.kit-unit-v130,.scout-unit-v130){background:linear-gradient(135deg,#1b3748,#0c2536)!important;border:1px solid #b9a46b55!important;border-radius:6px!important;padding:15px!important;box-shadow:inset 0 1px #d7e8ef0c,0 4px 10px #0002!important;min-width:0}
#app#app .island-ui .game-modal .kit-unit-head-v130{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;gap:12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;text-align:left!important;min-height:66px!important}
#app#app .unit-thumb-v130{display:flex;align-items:center;justify-content:center;width:56px;height:66px;flex:none;overflow:hidden;border:1px solid #bd9e5b88;border-radius:4px;background:radial-gradient(#31516a,#102637)}#app#app .unit-thumb-v130 img{width:100%;height:100%;object-fit:cover;object-position:50% 28%}#app#app .unit-thumb-v130>.icon{width:44px!important;height:44px!important}
#app#app .kit-unit-head-v130>span:last-child{display:block;flex:1;min-width:0}#app#app .kit-unit-head-v130 b,#app#app .scout-unit-head-v130 b{display:block;font:600 23px/1.05 'Cormorant UI',Georgia,serif!important;color:#ecd7aa!important;white-space:normal!important}#app#app .kit-unit-head-v130 small,#app#app .scout-unit-head-v130 small{display:block;font:500 10px/1.5 Manrope,sans-serif!important;color:#a9bec7!important;margin-top:7px!important}
#app#app .unit-stats-v130{display:flex;align-items:center;gap:14px;margin:12px 0;padding:10px 0;border-top:1px solid #b4c5c31c;border-bottom:1px solid #b4c5c31c}#app#app .unit-stats-v130>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px;flex:1;min-width:0}#app#app .unit-stats-v130 .icon{width:22px;height:22px;flex:none;color:#e0cba1}#app#app .unit-stats-v130 b{font:600 14px Manrope,sans-serif;color:#f2e6cb}#app#app .unit-stats-v130 small{font:400 9px Manrope,sans-serif;color:#91aebb}
#app#app .kit-role-v130{display:block;font:400 10px/1.5 Manrope,sans-serif;color:#a9c6b9;min-height:30px}
#app#app .kit-unit-actions-v130{display:flex;align-items:stretch;gap:8px;margin-top:12px}#app#app .island-ui .game-modal .kit-unit-actions-v130 button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:1!important;background:#0b2333!important;border:1px solid #b8a57555!important;border-radius:4px!important;min-height:38px!important;padding:7px 9px!important;font:500 10px/1.4 Manrope,sans-serif!important;color:#e4d4ae!important}#app#app .kit-unit-actions-v130 .icon{width:20px;height:20px}
#app#app .kit-stock-heading-v130{display:flex;align-items:center;justify-content:space-between;font:600 27px/1.2 'Cormorant UI',Georgia,serif;color:#e9d4a5;border-bottom:1px solid #bba76a44;margin:30px 0 18px;padding-bottom:12px}#app#app .kit-stock-heading-v130>span{font:500 11px Manrope,sans-serif;color:#94b1bf}
#app#app .island-ui .kit-v130 .kit-spells{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
#app#app .kit-spell-v130{display:flex;flex-direction:column;background:#102c3e;border:1px solid #9baea533;border-radius:5px;padding:14px;min-width:0}#app#app .kit-spell-v130 header{display:flex;align-items:center;gap:11px}#app#app .kit-spell-v130 .spell-art{width:50px;height:50px;flex:none;object-fit:contain}#app#app .kit-spell-v130 b{display:block;font:600 21px/1.1 'Cormorant UI',Georgia,serif;color:#eeddb6}#app#app .kit-spell-v130 small{display:block;font:500 10px/1.5 Manrope,sans-serif;color:#93b4c2;margin-top:5px}#app#app .island-ui .kit-spell-v130 p{font-size:11px!important;line-height:1.5!important;flex:1}#app#app .island-ui .game-modal .kit-spell-v130 button{min-height:36px!important;padding:8px!important;font:500 10px/1.4 Manrope,sans-serif!important}
#app#app .island-ui .scout-v130 .scouting-roster{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important}#app#app .scout-unit-head-v130{display:flex;align-items:center;gap:12px}#app#app .scout-unit-head-v130>div{min-width:0}#app#app .unit-ability-v130{background:#061f2e66;border-left:2px solid #baa46d;padding:10px 12px}#app#app .unit-ability-v130 strong{display:block;font:600 12px/1.5 Manrope,sans-serif;color:#e2c78f}#app#app .island-ui .unit-ability-v130 p{font-size:11px!important;line-height:1.6!important;margin:6px 0!important;color:#b7cbd5!important}#app#app .unit-ability-v130>small{font:400 9px/1.5 Manrope,sans-serif;color:#8aabbc}
/* V131: mission briefing only; preparation and enemy study happen elsewhere. */
#app#app .island-ui .game-modal.preparation-modal{height:auto!important;max-height:calc(100svh - 60px)!important;min-height:0!important}
#app#app .island-ui .preparation-modal .preparation-body{flex:0 1 auto!important;min-height:0!important;padding:24px 30px!important}
#app#app .island-ui .mission-unready-v131{color:#e8be87!important;border-left:2px solid #ba854b;padding:10px 14px;background:#a77a3217}
#app#app .mission-optional-v129 summary>.icon{margin-left:0!important;flex:none!important}
#app#app .mission-optional-v129 summary>span:not(.icon){margin-left:auto!important}
/* V132: resources left, player progression beside them, settings at far right. */
#app#app .island-ui .myth-shell .hud-wallet.hud-wallet{left:44px!important;right:16px!important;top:4px!important;width:auto!important;max-width:none!important;justify-content:flex-start!important;gap:14px!important}
#app#app .island-ui .myth-shell .resource-tray-v119{order:0!important;flex:none!important;transform:none!important;margin-left:0!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level.player-level-v132{order:1!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:204px!important;min-width:204px!important;height:64px!important;min-height:64px!important;padding:0!important;margin:0 0 0 18px!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important}
#app#app .level-badge-v132{position:relative;display:flex;align-items:center;justify-content:center;width:58px;height:58px;flex:none}#app#app .island-ui .myth-shell .level-badge-v132>.hud-art-v117{width:58px!important;height:58px!important}#app#app .level-badge-v132>b{position:absolute;inset:0;display:grid;place-items:center;font:700 17px/1 Manrope,sans-serif;color:#fff0bd;text-shadow:0 2px 3px #000a}
#app#app .level-summary-v132{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0;padding:7px 8px 7px 0;text-shadow:0 1px 3px #031222,0 0 6px #031222}#app#app .level-summary-v132>small{font:600 8px/1.3 Manrope,sans-serif;letter-spacing:.1em;color:#decb99}#app#app .level-summary-v132>strong{font:600 11px/1.3 Manrope,sans-serif;color:#f2ebd7;white-space:nowrap}#app#app .level-track-v132{display:block;height:5px;width:100%;overflow:hidden;background:#0a2030d9;border:1px solid #ceae6366;border-radius:3px;box-shadow:0 1px 3px #0005}#app#app .level-track-v132>i{display:block;height:100%;background:linear-gradient(90deg,#9c7736,#f1d08b);border-radius:2px}
#app#app .island-ui .myth-shell .hud-settings{order:2!important;margin-left:auto!important}
#app#app .island-ui .myth-shell .world-chrome{top:108px!important;left:24px!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level.player-level-v132{width:228px!important;min-width:228px!important}
#app#app .level-summary-v132{gap:5px;padding:8px 11px;background:linear-gradient(90deg,#102d3ce6,#102d3c9c);border-left:1px solid #d8b97077;border-radius:0 6px 6px 0;text-shadow:0 1px 2px #031222}
#app#app .level-summary-v132>small{font-size:9px;letter-spacing:.08em}
#app#app .level-summary-v132>strong{font-size:12px}
/* V133: optical centers use visible art bounds, not sprite cell centers. */
#app#app .island-ui .resource-tray-v119 [data-resource="Золото"] .quiet-icon-v127{transform:translateY(-3.25px)!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Мана"] .quiet-icon-v127{transform:translateY(-2px)!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Кристаллы"] .quiet-icon-v127{transform:translateY(-4.1px)!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Энергия"] .quiet-icon-v127{transform:translateY(-2.8px)!important}
#app#app .level-badge-v132>b{transform:translate(1px,-2px)!important}
/* Compact quest log: medallion, ribbon edge, progress and a fold-out quest card. */
#app#app .island-ui .objective-v133.compact-objective-v124{width:290px!important}
#app#app .objective-v133 .map-disclosure-v124>summary{position:relative;isolation:isolate;padding:9px 13px 9px 9px!important;gap:10px!important;min-height:68px!important;background:linear-gradient(110deg,#23475bee,#112d40f5 60%,#0b2234f5)!important;border:1px solid #c2a263!important;border-radius:3px 12px 3px 3px!important;box-shadow:0 7px 18px #02101a66,inset 0 1px #e3d5ae38,inset 0 -3px #051b2a88!important}
#app#app .objective-v133 summary::after{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;background:linear-gradient(#f0d69d,#a58140);box-shadow:0 0 6px #d3b77433;pointer-events:none}
#app#app .objective-v133 summary .quest-medallion-v133{display:grid;place-items:center;flex:0 0 45px!important;width:45px;max-width:45px;min-width:45px;height:45px;margin:0!important;border:1px solid #d3b87599;border-radius:50%;background:radial-gradient(#38617b,#0b263c 72%);box-shadow:inset 0 1px #ecdaad44,0 2px 5px #0006}
#app#app .objective-v133 .quest-medallion-v133 .icon{width:36px!important;height:36px!important;flex:none!important}
#app#app .objective-v133 summary .quest-caption-v133{flex:1!important;min-width:0;margin:0!important;display:block}
#app#app .objective-v133 summary small{font:600 8px/1.5 Manrope,sans-serif!important;letter-spacing:.1em!important;color:#c4af80!important;text-transform:uppercase;margin-bottom:3px!important}
#app#app .objective-v133 summary b{font:600 20px/1.05 'Cormorant UI',Georgia,serif!important;color:#f7e5bd!important;white-space:normal!important}
#app#app .quest-mini-track-v133{display:block;height:3px;max-width:140px;margin-top:7px;background:#061c2a;border-radius:2px;box-shadow:inset 0 1px #0004}#app#app .quest-mini-track-v133 i{display:block;height:100%;background:#d9bb78;border-radius:2px}
#app#app .objective-v133 summary .goal-count-v124{margin:0!important;flex:none;font:600 11px Manrope,sans-serif;color:#ddc589}
#app#app .objective-v133 summary .quest-chevron-v133{margin:0!important;flex:none!important;max-width:10px;font:15px Manrope,sans-serif;color:#bda875;transition:transform .15s}
#app#app .objective-v133 details[open] summary .quest-chevron-v133{transform:rotate(180deg)}
#app#app .island-ui .objective-v133 .quest-card-v133{width:312px!important;bottom:106px!important;max-height:calc(100svh - 180px)!important;padding:0!important;overflow:auto!important;background:linear-gradient(135deg,#183548,#0a2334)!important;border:1px solid #cfb675!important;border-radius:4px!important;box-shadow:0 14px 36px #020e1b88,inset 0 0 0 3px #051725,inset 0 0 0 4px #b5944b3d!important}
#app#app .quest-card-head-v133{min-height:104px;padding:20px 20px 16px;background:linear-gradient(90deg,#061c2ae0,#061c2a44),url('/assets/ui-mission-header-v129.webp') center/cover no-repeat;border-bottom:1px solid #c7ab6855}
#app#app .quest-card-head-v133>small{font:600 8px/1.5 Manrope,sans-serif;letter-spacing:.14em;color:#d5b77e}#app#app .quest-card-head-v133 h3{font:600 29px/1.08 'Cormorant UI',Georgia,serif!important;margin:7px 0 0!important;color:#ffebc0!important;text-shadow:0 2px 3px #0008}
#app#app .quest-card-body-v133{padding:17px 20px 20px}#app#app .quest-card-body-v133>p{font:500 11px/1.5 Manrope,sans-serif;color:#b1c5d0;margin:0 0 16px}
#app#app .quest-progress-v133{display:flex;justify-content:space-between;align-items:center;font:500 10px Manrope,sans-serif;color:#a5bdc7}.quest-progress-v133 b{font:600 12px Manrope,sans-serif;color:#e6cd96}
#app#app .quest-track-v133{height:6px;margin:8px 0 20px;background:#061a29;border:1px solid #c3a35b44;border-radius:3px;overflow:hidden}#app#app .quest-track-v133 i{display:block;height:100%;background:linear-gradient(90deg,#a6803c,#e5c884)}
#app#app .island-ui .quest-card-body-v133>.gold-button{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px!important;background:linear-gradient(#e9d19b,#b58d49)!important;border:1px solid #ead6a6!important;border-radius:4px!important;color:#152e3d!important;box-shadow:inset 0 1px #fff5,0 3px 7px #0003!important;font:600 11px Manrope,sans-serif!important}
#app#app .quest-card-body-v133>.gold-button .icon{width:26px;height:26px}
#app#app .objective-v133 .city-guidance-v97{padding-top:14px!important;margin-top:16px!important;border-top:1px solid #bca57130!important}
#app#app .island-ui .objective-v133 .city-guidance-v97 button{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:34px!important;width:100%;color:#c1cfd1!important;text-align:left;font:500 11px/1.5 Manrope,sans-serif!important}
#app#app .objective-v133 .city-guidance-v97 small{color:#aa986e!important;letter-spacing:.05em;font-size:8px!important}
/* V134 — shared game chrome for the remaining compact windows and controls. */
#app#app .island-ui .game-panel-v134{background:radial-gradient(ellipse at 20% 0,#31566a55,transparent 65%),linear-gradient(145deg,#173448f5,#0a2032f8)!important;border:1px solid #bda36b99!important;border-image:none!important;border-radius:4px!important;box-shadow:0 9px 28px #020f1c66,inset 0 0 0 2px #051b2e,inset 0 0 0 3px #d1b67522,inset 0 1px #f4e1aa38!important;backdrop-filter:blur(8px)!important;color:#e2dac4!important}
#app#app .island-ui .game-tooltip-v134{background:linear-gradient(135deg,#203c50f9,#081d2ffb)!important;border:1px solid #c6ad7399!important;border-image:none!important;border-radius:4px!important;padding:16px!important;box-shadow:0 8px 24px #0008,inset 0 0 0 2px #071929,inset 0 0 0 3px #d4b56b1f!important;color:#c4d3d9!important;backdrop-filter:blur(10px)!important;font:400 11px/1.6 Manrope,sans-serif!important}
#app#app .island-ui .game-tooltip-v134 strong{display:block;font:600 22px/1.1 'Cormorant UI',Georgia,serif!important;color:#f4dcaa!important;padding-bottom:9px!important;margin-bottom:9px!important;border-bottom:1px solid #c4a96a44!important}
#app#app .island-ui .game-tooltip-v134::before,#app#app .island-ui .game-tooltip-v134::after{border-image:none!important;box-shadow:none!important}
#app#app .island-ui .hud-settings-menu.game-panel-v134{padding:20px!important;border-radius:4px!important}
#app#app .island-ui .settings-level{font:600 26px/1.1 'Cormorant UI',Georgia,serif!important;color:#eed6a2!important;padding-bottom:13px!important;margin-bottom:3px!important;border-bottom:1px solid #c7a96555!important}
#app#app .settings-level>span{display:flex;align-items:center;gap:8px}#app#app .settings-level .icon{width:30px;height:30px}#app#app .settings-level small{font:500 10px Manrope,sans-serif!important;color:#adbdc5!important}
#app#app .island-ui .myth-shell .hud-settings-menu button{background:linear-gradient(100deg,#294a5a88,#102838aa)!important;border:1px solid #c2aa703b!important;border-left:2px solid #c2a36588!important;border-radius:3px!important;box-shadow:inset 0 1px #ddeaf00c!important;min-height:48px!important;font-size:11px!important}
#app#app .island-ui .myth-shell .hud-settings-menu button:hover{background:linear-gradient(100deg,#4c5d4f77,#163649)!important;border-color:#dbc187aa!important}
#app#app .island-ui .collection-console.game-panel-v134{padding:16px 20px!important;border-radius:4px!important}
#app#app .island-ui .field-caption-v134{display:flex;align-items:center;gap:6px;font:600 10px/1.5 Manrope,sans-serif;color:#d3bc88;letter-spacing:.04em}#app#app .field-caption-v134>.icon{width:22px;height:22px;flex:none}
#app#app .island-ui :is(.catalog-search,.catalog-filters,.shop-context) :is(input,select){background:linear-gradient(#081b2af7,#102a3af5)!important;border:1px solid #a9935b80!important;border-bottom-color:#d6bd8277!important;border-radius:3px!important;box-shadow:inset 0 2px 4px #0004,0 1px #e4d0a61a!important;color:#efe5cc!important;min-height:44px!important}
#app#app .island-ui .catalog-reset{width:44px!important;height:44px!important;border:1px solid #b8a06c88!important;background:linear-gradient(#2b4655,#112a3b)!important;color:#e2c98e!important;border-radius:3px!important;box-shadow:inset 0 1px #f0e0b326!important}
#app#app .island-ui .collection-filter-drawer>summary{display:flex;align-items:center;gap:8px;color:#ccb582!important;font:500 11px Manrope,sans-serif!important;min-height:38px!important}#app#app .collection-filter-drawer>summary .icon{width:23px;height:23px;flex:none}
#app#app .island-ui :is(.archive-scopes,.preparation-tabs){border:0!important;border-bottom:1px solid #bfa57266!important;border-radius:0!important;background:#071a29a8!important;padding:0!important;box-shadow:none!important;gap:0!important}
#app#app .island-ui .archive-scopes>button{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#a9c0cc!important;min-height:48px!important;padding:10px 18px!important}
#app#app .island-ui .archive-scopes>button.active,#app#app .island-ui .archive-scopes>button[aria-pressed=true]{background:linear-gradient(0deg,#cba65f29,transparent)!important;box-shadow:inset 0 -3px #d9b975!important;color:#f2dfb3!important}#app#app .archive-scopes>button b{background:#071d2b!important;border:1px solid #b49a5f66!important;color:#e5cd98!important;border-radius:4px!important}
#app#app .island-ui .shop-context.game-panel-v134{padding:14px 20px!important;border-radius:4px!important;min-height:80px!important}
#app#app .island-ui .shop-context .back-button{background:linear-gradient(#34515e,#183443)!important;border:1px solid #baa06a88!important;border-radius:3px!important;box-shadow:inset 0 1px #e8d7ad22,0 2px 6px #0003!important;color:#ecd9ae!important}
#app#app .island-ui .settlement-queues-v105{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0!important}
#app#app .island-ui .settlement-queues-v105>div{position:relative;display:grid!important;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:5px;align-items:center!important;padding:15px!important;background:linear-gradient(120deg,#22415477,#0a2132dd)!important;border:1px solid #bc9f6455!important;border-radius:4px!important;box-shadow:inset 0 1px #e4ddb01a!important;min-width:0}
#app#app .settlement-queues-v105>div>.icon{grid-column:1;grid-row:1/3;width:42px;height:42px}#app#app .settlement-queues-v105>div>small{grid-column:2;grid-row:1;font:600 8px/1.4 Manrope,sans-serif!important;letter-spacing:.12em;color:#b79f70!important}#app#app .settlement-queues-v105>div>b{grid-column:2;grid-row:2;font:600 13px/1.4 Manrope,sans-serif!important;color:#e1d6b7!important}#app#app .settlement-queues-v105>div>[data-settlement-timer]{grid-column:2;font:700 12px Manrope,sans-serif;color:#e7cb8c}
#app#app .island-ui .settlement-list-v105{display:grid!important;gap:10px!important}
#app#app .island-ui .game-modal .settlement-list-v105>button{display:grid!important;grid-template-columns:48px 1fr 1.1fr 14px!important;align-items:center;gap:12px!important;padding:13px 16px!important;min-height:86px!important;background:linear-gradient(110deg,#27465877,#0c2638dd)!important;border:1px solid #b59b5e66!important;border-radius:4px!important;box-shadow:inset 0 1px #e5d29e17!important;text-align:left!important;color:#bbccd3!important}
#app#app .settlement-list-v105>button>.icon{width:48px;height:48px}#app#app .settlement-list-v105>button>span>b{display:block;font:600 23px/1.12 'Cormorant UI',Georgia,serif;color:#ead4a2}#app#app .settlement-list-v105>button>span>small{display:block;font:400 10px/1.5 Manrope,sans-serif;color:#91b0bf;margin-top:5px}#app#app .settlement-list-v105>button>span:nth-of-type(3){font:400 11px/1.5 Manrope,sans-serif;color:#b1c6d1}
#app#app .island-ui .game-modal .settlement-list-v105>button:hover{border-color:#dabe83!important;background:linear-gradient(110deg,#38565d88,#16384b)!important}
#app#app .island-ui .game-modal :is(.settlement-building-fold-v105,.settlement-reserve-v105){background:#071d2c66!important;border:0!important;border-top:1px solid #b9a46c55!important;border-bottom:1px solid #b9a46c33!important;border-radius:0!important;padding:0 12px!important}
#app#app .island-ui .game-modal :is(.settlement-building-fold-v105,.settlement-reserve-v105)>summary{font:500 12px/1.5 Manrope,sans-serif;color:#d4be8e!important;padding:13px 0!important;cursor:pointer}
#app#app .island-ui .settlement-recipes-v105 article{background:linear-gradient(110deg,#1c3c4e99,#0c2536)!important;border:1px solid #c0a56a44!important;border-radius:4px!important;padding:14px 16px!important;margin-bottom:10px!important;box-shadow:inset 0 1px #e6dbc511!important}
#app#app .island-ui .settlement-recipes-v105 article b{font:600 21px/1.2 'Cormorant UI',Georgia,serif!important;color:#e6d0a1!important}#app#app .island-ui .settlement-recipes-v105 article small{font:400 11px/1.6 Manrope,sans-serif!important;color:#9bb9c7!important}
#app#app .island-ui :is(.settlement-benefit-v105,.growth-preview,.plot-growth-preview){background:linear-gradient(120deg,#183c4eaa,#0b2335)!important;border:1px solid #bea06766!important;border-radius:4px!important;box-shadow:inset 2px 0 #b69b5b55!important;padding:16px!important}
#app#app .island-ui :is(.guide-rule-grid>article,.guide-steps>li,.chronicle-next,.route-options>button){background:linear-gradient(120deg,#213e4f88,#0b2233c9)!important;border:1px solid #b69f6a4d!important;border-radius:4px!important;box-shadow:inset 0 1px #e5d6b11a!important;padding:18px!important}
#app#app .island-ui .guide-steps>li::marker{color:#dfc184;font:600 24px 'Cormorant UI',Georgia,serif}
#app#app .island-ui :is(.guide-rule-grid h3,.guide-steps b,.route-options b){color:#e5cda0!important;font-family:'Cormorant UI',Georgia,serif!important;font-size:23px!important;line-height:1.15!important}
#app#app .island-ui .compact-journey-v124 .map-disclosure-v124>summary,#app#app .island-ui .compact-campaign-v124{background:linear-gradient(130deg,#244454f2,#0b2436f5)!important;border:1px solid #c1a46b99!important;border-radius:4px!important;box-shadow:0 5px 18px #02111b55,inset 0 1px #e4d29e22,inset 0 -2px #04172566!important;color:#e4cea0!important}
#app#app .island-ui .compact-journey-v124 .map-popover-v124{background:linear-gradient(130deg,#203e50f7,#0a2234fa)!important;border:1px solid #c5a870!important;border-radius:4px!important;box-shadow:0 10px 26px #0007,inset 0 0 0 3px #051b2c!important;padding:24px!important}
#app#app .island-ui .game-modal button:not(.modal-close):not(.gold-button):not(.card-art-trigger):not(.collection-card-open):not(.inspect-art):not(.kit-unit-head-v130):not([data-preptab]):not([data-guide-tab]){background:linear-gradient(135deg,#29495a88,#0a2638cc)!important;border:1px solid #c0a56a66!important;border-radius:4px!important;box-shadow:inset 0 1px #e6d8b41c,0 2px 5px #03111b33!important;color:#dcca9d!important}
#app#app .island-ui .game-modal button:not(:disabled):hover{border-color:#e2c588!important}
#app#app .island-ui .game-modal button:disabled{filter:saturate(.4)!important;opacity:.48!important}
/* V134: true emerald rather than pale cyan; shared across locations. */
#app#app .island-ui .quiet-icon-v127[data-quiet-icon=crystal],#app#app .island-ui .quiet-icon-v127[data-quiet-icon=shards]{background:transparent url('/assets/ui-crystal-emerald-v134.webp') center/contain no-repeat!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Кристаллы"] .quiet-icon-v127{transform:none!important}
/* Prevent browser focus from internally scrolling the fixed map canvas. */
#app#app .island-ui .myth-shell:is([data-screen=city],[data-screen=quests]) .world-viewport{overflow:clip!important}
#app#app .island-ui .myth-shell .compact-objective-v124.objective-v133{width:290px!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Золото"] .hud-art-v117.quiet-icon-v127{transform:translateY(-3.25px)!important}
#app#app .island-ui .resource-tray-v119 [data-resource="Кристаллы"] .hud-art-v117.quiet-icon-v127{transform:translate(-.7px,1px)!important}
/* Fixed-size metal corner joints, never stretched with a panel's aspect ratio. */
#app#app .island-ui .game-panel-v134{position:relative}
#app#app .island-ui .myth-shell .game-panel-v134.game-panel-v134::before{content:''!important;display:block!important;position:absolute!important;inset:5px!important;width:auto!important;height:auto!important;border:0!important;background:linear-gradient(#d7bb80,#d7bb80) left top/16px 2px no-repeat,linear-gradient(#d7bb80,#d7bb80) left top/2px 10px no-repeat,linear-gradient(#d7bb80,#d7bb80) right top/16px 2px no-repeat,linear-gradient(#d7bb80,#d7bb80) right top/2px 10px no-repeat,linear-gradient(#a78a50,#a78a50) left bottom/12px 1px no-repeat,linear-gradient(#a78a50,#a78a50) right bottom/12px 1px no-repeat!important;pointer-events:none!important;opacity:.85!important;transform:none!important;z-index:0!important}
#app#app .island-ui .myth-shell .hud-settings-menu.game-panel-v134{width:286px!important}
#app#app .island-ui .settings-level{gap:10px!important}#app#app .settings-level>small{white-space:nowrap}
#app#app .island-ui .game-modal .settlement-list-v105>button>span:nth-of-type(3){font:400 11px/1.6 Manrope,sans-serif!important;color:#b1c6d1!important}
#app#app .island-ui .quiet-icon-v127[data-quiet-icon=hammer]{clip-path:inset(0 0 8% 0)!important}
/* V135 — circular player portrait with an attached level seal. */
#app#app .island-ui .myth-shell .hud-wallet.hud-wallet{left:148px!important;right:16px!important;gap:14px!important}
#app#app .island-ui .myth-shell .hud-wallet>.player-level.player-avatar-v135{position:fixed!important;left:24px!important;top:10px!important;right:auto!important;bottom:auto!important;width:78px!important;min-width:78px!important;max-width:78px!important;height:78px!important;min-height:78px!important;padding:4px!important;margin:0!important;display:block!important;background:radial-gradient(#2a4c63,#071e31)!important;border:1px solid #e0c384!important;border-radius:50%!important;box-shadow:0 4px 12px #03111b88,inset 0 1px #fff4!important;transform:none!important;cursor:pointer;overflow:visible!important}
#app#app .island-ui .myth-shell .player-avatar-v135:hover{background:radial-gradient(#355e74,#0e293e)!important;border-color:#fff0bc!important;filter:none!important;transform:none!important}
#app#app .avatar-picture-v135{position:relative;display:block;overflow:hidden;width:72px;height:72px;border-radius:50%;background:#14324b;flex:none}
#app#app .avatar-picture-v135>img,#app#app .avatar-preset-art-v135{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
#app#app .avatar-preset-art-v135{background-image:url('/assets/ui-player-avatars-v135.webp');background-size:500% 200%;background-repeat:no-repeat}
#app#app .player-avatar-picture-v135{width:68px!important;height:68px!important;border:1px solid #d5bb7b99}
#app#app .avatar-level-v135{position:absolute;right:-3px;bottom:-2px;z-index:2;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:linear-gradient(#345c79,#102e49);border:2px solid #edce86;box-shadow:0 2px 5px #03111baa,inset 0 1px #f7e4b133;font:700 15px/1 Manrope,sans-serif;color:#fff0bf;text-shadow:0 1px 2px #000}
#app#app .avatar-xp-track-v135{position:absolute;left:12px;right:12px;bottom:-10px;height:4px;border:1px solid #c0a46b88;border-radius:4px;background:#071b2b;overflow:hidden;box-shadow:0 2px 3px #03111b88}
#app#app .avatar-xp-track-v135>i{display:block;height:100%;background:linear-gradient(90deg,#a68448,#ead195)}
#app#app .island-ui .game-modal.avatar-profile-modal-v135{width:min(800px,calc(100vw - 64px))!important;max-width:800px!important}
#app#app .avatar-profile-head-v135{display:flex;align-items:center;gap:22px;padding:0 44px 22px 0;margin-bottom:20px;border-bottom:1px solid #c8ac6b55}
#app#app .avatar-profile-preview-v135{width:92px;height:92px;border:2px solid #d2b373;box-shadow:0 4px 14px #0005}
#app#app .avatar-profile-head-v135 small{font:600 9px/1.4 Manrope,sans-serif;color:#cdb582;letter-spacing:.14em}
#app#app .island-ui .avatar-profile-head-v135 h2{font:600 34px/1.1 'Cormorant UI',Georgia,serif!important;color:#f4dfb2!important;margin:7px 0 8px!important;border:0!important;padding:0!important}
#app#app .island-ui .avatar-profile-head-v135 p{margin:0!important;font-size:12px!important;color:#9db9c8!important}
#app#app .avatar-choice-heading-v135{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#app#app .island-ui .avatar-choice-heading-v135 h3{font:600 26px/1.2 'Cormorant UI',Georgia,serif!important;color:#e8d2a3!important;margin:0!important}
#app#app .avatar-choice-heading-v135 button{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;font:600 12px Manrope,sans-serif}
#app#app .avatar-choice-heading-v135 .icon{width:25px;height:25px}
#app#app .avatar-choices-v135{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#app#app .island-ui .game-modal .avatar-choice-v135{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;padding:10px 6px!important;min-height:112px!important;border:1px solid transparent!important;background:#102a3a88!important;border-radius:6px!important;box-shadow:none!important;color:#becdd3!important}
#app#app .avatar-choice-v135 .avatar-picture-v135{width:76px;height:76px;border:2px solid #537086;box-shadow:0 2px 6px #03121b55}
#app#app .avatar-choice-v135>span:last-of-type{font:500 10px/1.4 Manrope,sans-serif;text-align:center}
#app#app .island-ui .game-modal .avatar-choice-v135.selected{border-color:#e0bf78!important;background:linear-gradient(#3f4b3f88,#153244)!important;color:#f4dfb4!important}
#app#app .avatar-choice-v135.selected .avatar-picture-v135{border-color:#e8c779}
#app#app .avatar-choice-v135>i{position:absolute;right:8px;top:8px;width:21px;height:21px;border:1px solid #e2c17b;border-radius:50%;background:#294f47;color:#f8e2aa;display:grid;place-items:center;font:700 12px Manrope,sans-serif}
#app#app .avatar-platform-v135{display:flex;align-items:center;gap:18px;padding:18px 0;margin-top:20px;border-top:1px solid #b8a36b3d}
#app#app .avatar-platform-v135>div{flex:1}#app#app .avatar-platform-v135 b{font:600 20px/1.2 'Cormorant UI',Georgia,serif;color:#e4cc9b}#app#app .island-ui .avatar-platform-v135 p{font-size:11px!important;line-height:1.5!important;margin:6px 0 0!important;color:#96b1c0!important}
#app#app .avatar-platform-v135 button{min-width:145px;min-height:40px;padding:8px 12px;font:500 11px Manrope,sans-serif}
#app#app .island-ui .avatar-save-note-v135{font-size:10px!important;color:#91aab6!important;border-top:1px solid #abc1c51a;padding-top:12px}
#app#app .island-ui .avatar-profile-modal-v135>.gold-button{display:block;margin:16px 0 0 auto;min-width:120px}

#app#app .avatar-slot-0{background-position:0% 0%}
#app#app .avatar-slot-1{background-position:25% 0%}
#app#app .avatar-slot-2{background-position:50% 0%}
#app#app .avatar-slot-3{background-position:75% 0%}
#app#app .avatar-slot-4{background-position:100% 0%}
#app#app .avatar-slot-5{background-position:0% 100%}
#app#app .avatar-slot-6{background-position:25% 100%}
#app#app .avatar-slot-7{background-position:50% 100%}
#app#app .avatar-slot-8{background-position:75% 100%}
#app#app .avatar-slot-9{background-position:100% 100%}
/* V136: carved ivory and gold avatar frame, matching the resource tray. */
#app#app .island-ui .myth-shell .hud-wallet>.player-level.player-avatar-v135{padding:5px!important;border:3px solid #d6bb7c!important;background:linear-gradient(135deg,#fff1c9 0%,#b08a44 24%,#f4dfaa 45%,#806234 70%,#ead4a0 100%)!important;box-shadow:0 0 0 2px #34404a,0 0 0 5px #e4d7b9,0 0 0 6px #8a795c,0 5px 14px #03111b99,inset 0 0 0 2px #483b24!important}
#app#app .player-avatar-picture-v135{width:62px!important;height:62px!important;border:2px solid #162f44!important;box-shadow:0 0 0 1px #ffe6a5,inset 0 2px 5px #0008}
#app#app .player-nickname-v136{position:absolute;top:88px;left:50%;transform:translateX(-50%);width:max-content;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 18px/1.2 'Cormorant UI',Georgia,serif;color:#fff0c7;text-shadow:0 2px 3px #001321,0 0 5px #001321,0 0 10px #001321;pointer-events:none}
#app#app .avatar-level-v135{right:-6px;bottom:-3px;border-color:#f1d494;box-shadow:0 0 0 1px #705b36,0 2px 5px #03111baa,inset 0 1px #f7e4b155;background:linear-gradient(#244f70,#071f38)}
#app#app .avatar-xp-track-v135{bottom:-12px}
#app#app .island-ui .myth-shell .world-chrome{top:138px!important}
/* V137: one clean frame and a larger portrait. */
#app#app .island-ui .myth-shell .hud-wallet>.player-level.player-avatar-v135{width:98px!important;min-width:98px!important;max-width:98px!important;height:98px!important;min-height:98px!important;padding:3px!important;border:2px solid #dfc58a!important;background:#132f45!important;box-shadow:0 4px 12px #03111b88!important}
#app#app .player-avatar-picture-v135{width:88px!important;height:88px!important;border:0!important;box-shadow:none!important}
#app#app .player-nickname-v136{top:108px}
#app#app .avatar-level-v135{right:-2px;bottom:0}
#app#app .island-ui .myth-shell .world-chrome{top:158px!important}
#app#app .island-ui .myth-shell .hud-wallet{left:168px!important}
/* Ready actions share the readable blue/gold icon family used by navigation. */
#app#app .city-notifications-v138{position:absolute;inset:0;pointer-events:none;z-index:8}
#app#app .city-notification-v138{position:absolute;width:54px;height:54px;min-height:0;padding:5px;display:grid;place-items:center;pointer-events:auto;transform:translate(-50%,-100%) scale(var(--label-scale,1));transform-origin:50% 100%;border:2px solid #dfbd72;border-radius:50%;background:radial-gradient(#244f69,#09263c);box-shadow:0 3px 9px #00121dbb,inset 0 1px 2px #fff3;cursor:pointer}
#app#app .city-notification-v138 .icon{width:40px;height:40px;flex:none}
#app#app .city-notification-v138 i{position:absolute;right:-3px;bottom:-2px;width:19px;height:19px;display:grid;place-items:center;border:1px solid #efd38e;border-radius:50%;background:#235d45;color:#fff0bc;font:700 12px/1 sans-serif}
#app#app .city-notification-v138:hover{filter:brightness(1.2)}
/* V139: speech bubbles anchored to buildings; hover never changes geometry. */
#app#app .island-ui .myth-shell .city-notifications-v138 .city-notification-v138,
#app#app .island-ui .myth-shell .city-notifications-v138 .city-notification-v138:hover,
#app#app .island-ui .myth-shell .city-notifications-v138 .city-notification-v138:focus-visible,
#app#app .island-ui .myth-shell .city-notifications-v138 .city-notification-v138:active{width:72px!important;height:62px!important;min-height:62px!important;padding:7px 12px!important;display:grid!important;place-items:center!important;border:2px solid #b68c42!important;border-radius:48% 48% 43% 43%!important;background:linear-gradient(145deg,#fff7dc,#ebd8a7)!important;box-shadow:0 0 0 2px #15354a,0 5px 10px #00182788,inset 0 1px 2px #fff!important;transform:translate(-50%,calc(-100% - 16px)) scale(var(--label-scale,1))!important;transform-origin:50% 100%!important;transition:filter .15s ease!important;animation:none!important;overflow:visible!important;cursor:pointer}
#app#app .island-ui .myth-shell .city-notification-v138::after{content:'';position:absolute;left:calc(50% - 8px);bottom:-12px;width:16px;height:18px;background:#ebd8a7;clip-path:polygon(0 0,100% 0,45% 100%);filter:drop-shadow(1px 2px 0 #15354a);pointer-events:none}
#app#app .island-ui .myth-shell .city-notification-v138 .icon{width:46px!important;height:46px!important;filter:drop-shadow(0 1px 1px #18324488)!important;transform:none!important}
#app#app .island-ui .myth-shell .city-notification-v138 i{right:-4px!important;bottom:0!important;z-index:1;width:21px;height:21px;border:2px solid #f5dd9e;box-shadow:0 1px 3px #001b2c88}
#app#app .island-ui .myth-shell .city-notification-v138:hover{filter:brightness(1.08)!important}
#app#app .island-ui .myth-shell .city-notification-v138:focus-visible{outline:3px solid #fff3bd!important;outline-offset:4px!important}
#app#app .island-ui .myth-shell .city-notifications-v138 .city-notification-v138::after{display:block!important;content:''!important;position:absolute!important;left:calc(50% - 8px)!important;top:auto!important;bottom:-15px!important;width:16px!important;height:19px!important;background:#ebd8a7!important;border:0!important;border-radius:0!important;opacity:1!important;transform:none!important;clip-path:polygon(0 0,100% 0,45% 100%)!important;box-shadow:none!important}
/* V140: unread events, a small enamel seal in the navigation corner. */
#app#app .island-ui .myth-shell .myth-nav button{position:relative!important}
#app#app .island-ui .myth-shell .myth-nav .section-badge-v140{position:absolute!important;top:5px!important;left:7px!important;z-index:5;display:grid!important;place-items:center;min-width:24px;height:25px;padding:0 5px;border:2px solid #e6c780;border-radius:7px;background:linear-gradient(#c94b3e,#85261e);box-shadow:0 0 0 1px #3b241b,0 2px 5px #001827aa,inset 0 1px #ffdcac66;color:#fff3d1;font:800 13px/1 Manrope,sans-serif;text-shadow:0 1px 2px #48120e;pointer-events:none;transform:none!important}
#app#app .island-ui .myth-shell .myth-nav .section-badge-v140[hidden]{display:none!important}
#app#app button[data-new-reason]:not(.journey-node):not(.side-node){position:relative}
#app#app .detail-notice-v141{position:absolute;right:4px;top:4px;z-index:30;display:grid;place-items:center;width:24px;height:25px;border:2px solid #e8c77e;border-radius:7px;background:linear-gradient(#cb4a3b,#85271e);box-shadow:0 1px 4px #001827aa;color:#fff0c3;font:800 17px/1 Manrope,sans-serif;pointer-events:none;transform:none;text-shadow:0 1px #602014}
#app#app .quest-notice-v141{pointer-events:none}
/* Context-sized seals sit outside compact controls instead of covering their art. */
#app#app .card-inspect>.detail-notice-v141{width:30px;height:31px;font-size:21px;top:7px;right:7px}
#app#app .category-tile>.detail-notice-v141{width:32px;height:33px;font-size:22px;top:10px;right:10px}
#app#app .inspect-upgrade-actions>button>.detail-notice-v141{width:22px;height:23px;font-size:16px;right:-7px;top:-8px}
#app#app .journey-node>.detail-notice-v141,#app#app .side-node>.detail-notice-v141{width:22px;height:23px;font-size:16px;right:-9px;top:-10px}
#app#app .ready-medallion>.detail-notice-v141{display:none}
.collection-flight-v143{position:fixed;inset:0;z-index:10000;pointer-events:none;overflow:hidden}
.collection-particle-v143{position:absolute;width:32px;height:32px;filter:drop-shadow(0 2px 3px #08233399)}
.collection-particle-v143 .icon{display:block;width:32px;height:32px}
.collection-gain-v143{position:absolute;color:#fff0b3;text-shadow:0 2px 2px #092436,0 0 5px #092436;font:800 24px/1 Manrope,sans-serif;white-space:nowrap}
/* V146 authored campaign journal and contextual onboarding. */
#app#app .story-board-v146{padding-top:122px!important;max-width:1220px;margin:auto;padding-right:130px!important;min-height:100vh}
#app#app .story-board-v146 .page-heading{display:block;margin-bottom:22px}
#app#app .story-board-v146 .page-heading h1{font:600 42px/1.1 'Cormorant UI',Georgia,serif;color:#f2dbab;margin:8px 0}
#app#app .story-board-v146 .page-heading>button{margin-top:14px;display:block}
#app#app .story-route-v146{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}
#app#app .story-route-v146>section{border-top:2px solid #b79a60;padding-top:12px}
#app#app .story-route-v146 h2{font:600 25px 'Cormorant UI',Georgia,serif;color:#e6c98f}
#app#app .story-node-v146{width:100%;display:flex;align-items:center;gap:10px;text-align:left;min-height:86px;margin:10px 0;padding:12px;background:linear-gradient(120deg,#163a4deb,#0a2132f5);border:1px solid #9e8657;border-radius:5px;color:#f2dfb5}
#app#app .story-node-v146>.icon{width:30px;height:30px;flex:none}
#app#app .story-node-v146>span{flex:1;min-width:0;display:grid;gap:5px}
#app#app .story-node-v146 small{font:500 9px/1.3 Manrope,sans-serif;color:#a3bac4}
#app#app .story-node-v146 b{font:600 18px/1.1 'Cormorant UI',Georgia,serif}
#app#app .story-node-v146 em{font:500 10px/1.4 Manrope,sans-serif;color:#c3b18b;font-style:normal}
#app#app .story-node-v146>i{font:700 20px Manrope;color:#f1ce78;font-style:normal}
#app#app .story-node-v146:disabled{opacity:.45;cursor:default}
#app#app .story-node-v146.completed{border-color:#58796e}
#app#app .story-training-v146{padding:16px 20px;border-left:3px solid #e3bd70;background:linear-gradient(100deg,#153c50f5,#102b3eea);color:#d1e1e6;max-width:760px;margin:14px 0}
#app#app .story-training-v146 small,#app#app .story-training-v146 b,#app#app .story-training-v146>span{display:block}
#app#app .story-training-v146 small{color:#d6b471;font:700 10px Manrope;letter-spacing:.1em;margin-bottom:7px}
#app#app .story-training-v146 b{font:600 23px 'Cormorant UI',Georgia,serif;color:#f4dfae}
#app#app .story-training-v146 p{font:12px/1.6 Manrope,sans-serif;margin:7px 0}
#app#app .story-training-v146>span{font:10px/1.4 Manrope;color:#90aebb;margin-top:8px}
#app#app .story-training-v146 button{padding:7px 12px;border:1px solid #b7a372;background:#233f4f;color:#f6dfaa}
#app#app .stories-library-v146{max-width:850px!important}
#app#app .stories-library-v146 article{display:flex;align-items:center;gap:24px;padding:16px 0;border-top:1px solid #ba9a5d55}
#app#app .stories-library-v146 article>div{flex:1}
#app#app .stories-library-v146 article .icon{width:30px;height:30px;float:left;margin-right:14px}
#app#app .stories-library-v146 article h3{margin:0 0 8px;color:#e8d19f;font:600 23px 'Cormorant UI',Georgia,serif}
#app#app .stories-library-v146 article p{font-size:12px;margin:7px 0}
#app#app .stories-library-v146 article small,#app#app .stories-library-v146 footer small{display:block;font-size:10px;color:#9ab6c4}
#app#app .stories-library-v146 footer{border-top:1px solid #ba9a5d55;padding-top:16px}
#app#app .stories-library-v146 footer button{margin-bottom:10px}
#app#app .story-scene-v146{padding:0!important;max-width:820px!important;overflow:auto}
#app#app .story-scene-v146 .mission-hero-v129{min-height:160px}
#app#app .story-scene-body-v146{padding:26px 30px}
#app#app .story-scene-body-v146>p{font:14px/1.8 Manrope,sans-serif;margin:0 0 22px}
#app#app .story-scene-body-v146>button{display:block;width:100%;margin:12px 0;padding:14px;text-align:left}
#app#app .story-scene-body-v146>button>span{display:block;font:11px/1.6 Manrope,sans-serif;margin-top:7px;color:#adbfca}
#app#app .story-outcome-v146{padding:16px;border-left:2px solid #b9a16c;background:#3e5c4c44}
#app#app .story-name-v146{max-width:560px!important}
#app#app .story-name-v146 label{display:grid;gap:8px;margin:22px 0}
#app#app .story-name-v146 input{padding:12px;background:#0c2638;border:1px solid #b8a16b;border-radius:4px;color:#f4dfac;font:16px Manrope}
#app#app .story-consequences-v146{padding:20px;background:#102c3bed;border:1px solid #b99c6155;color:#c8d9dd}
#app#app .story-consequences-v146 p{font:12px/1.7 Manrope}
#app#app .story-future-v146{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0;color:#b1bfbb;font:11px Manrope}
#app#app .story-chapter-end-v146{padding:24px;border:1px solid #bb9d63;background:#183e4be8;margin:20px 0}
#app#app .story-city-next-v146{display:flex;gap:10px;align-items:center;padding:14px 20px;background:#0d2c3ded;color:#ead3a2;border:1px solid #b69a60;border-radius:5px;text-align:left}
#app#app .story-city-next-v146>.icon{width:32px;height:32px}
#app#app .story-city-next-v146 span{display:grid;gap:5px}
#app#app .story-city-next-v146 small{font:9px Manrope}
#app#app .story-city-next-v146 b{font:600 21px 'Cormorant UI',Georgia,serif}
#app#app .city-training-v146{position:fixed;bottom:110px;left:24px;width:285px;z-index:25}
#app#app .battle-training-v146{margin:0 0 12px;padding:10px 16px;background:#163c50e8;border-left:3px solid #dab66d;font:12px/1.5 Manrope;color:#e4d5ad}
/* V147: the authored story lives on the same atlas and inside its island. */
#app#app .world-camera .story-island-v147{background-image:url('/assets/island-hellas-story-v147.webp')!important;background-size:100% 100%!important;animation:story-island-arrival-v147 .55s ease-out}
@keyframes story-island-arrival-v147{from{opacity:.2;filter:brightness(1.2)}to{opacity:1;filter:brightness(1)}}
#app#app .story-trails-v147{position:absolute;inset:0;width:2400px;height:1600px;pointer-events:none}
#app#app .story-trails-v147 path{fill:none;stroke-linecap:round;stroke-linejoin:round}
#app#app .story-road-v147{stroke:#f3dfaa77;stroke-width:3;stroke-dasharray:2 9}
#app#app .story-road-done-v147{stroke:#f0ca77;stroke-width:4;filter:drop-shadow(0 1px 2px #34402c)}
#app#app .story-side-road-v147{stroke:#e0d1ae66;stroke-width:2;stroke-dasharray:2 11}
#app#app .story-map-nodes-v147{position:absolute;inset:0;pointer-events:none}
#app#app .island-ui .myth-shell .story-map-node-v147,
#app#app .island-ui .myth-shell .story-map-node-v147:hover,
#app#app .island-ui .myth-shell .story-map-node-v147:focus-visible{position:absolute!important;display:block!important;width:44px!important;height:44px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;pointer-events:auto;transform:translate(-50%,-50%) scale(var(--label-scale,1))!important;transform-origin:50% 50%!important;transition:filter .15s!important;opacity:1!important}
#app#app .story-map-medallion-v147{position:absolute;inset:0;display:grid;place-items:center;border:2px solid #cfaf6b;border-radius:50%;background:radial-gradient(#2e5570,#092739);box-shadow:0 3px 8px #001c2abb,inset 0 1px #fff4}
#app#app .story-map-medallion-v147>.icon{width:28px;height:28px}
#app#app .story-map-medallion-v147>b{position:absolute;bottom:-7px;right:-5px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #e3c78e;border-radius:50%;background:#102e42;color:#fff0bb;font:700 10px/1 Manrope,sans-serif}
#app#app .story-map-node-v147.optional{width:32px!important;height:32px!important}
#app#app .story-map-node-v147.optional .icon{width:21px;height:21px}
#app#app .story-map-node-v147.completed .story-map-medallion-v147{background:radial-gradient(#416951,#193d36);border-color:#b1c18c}
#app#app .story-map-node-v147:disabled .story-map-medallion-v147{background:#19303ace;border-color:#61716b;filter:saturate(.2);opacity:.65}
#app#app .story-map-node-v147.current .story-map-medallion-v147{box-shadow:0 0 0 4px #ebd39144,0 0 15px #f0c75a99,0 3px 6px #001c2a;border-color:#ffe2a0}
#app#app .story-map-label-v147{position:absolute;left:50%;top:54px;transform:translateX(-50%);display:none;min-width:90px;max-width:175px;width:max-content;padding:6px 10px;background:#0b293ce8;border:1px solid #b59c64aa;border-radius:4px;color:#f4dfaf;font:600 14px/1.3 'Cormorant UI',Georgia,serif;text-align:center;pointer-events:none;box-shadow:0 2px 6px #001b2b66}
#app#app .story-map-node-v147.current .story-map-label-v147,#app#app .story-map-node-v147:hover .story-map-label-v147,#app#app .story-map-node-v147:focus-visible .story-map-label-v147{display:block}
#app#app .story-map-unread-v147{position:absolute;top:-7px;left:-7px;display:grid;place-items:center;width:20px;height:21px;border:1px solid #f0d093;border-radius:6px;background:linear-gradient(#c34b39,#872b23);box-shadow:0 2px 3px #082536aa;color:#fff0bd;font:800 14px/1 Manrope;font-style:normal}
#app#app .story-area-v147{position:absolute;transform:translate(-50%,-50%) scale(var(--label-scale,1));transform-origin:center;color:#fff1c6;font:600 21px 'Cormorant UI',Georgia,serif;letter-spacing:.03em;text-shadow:0 2px 3px #183c32,0 0 8px #183c32;pointer-events:none;white-space:nowrap}
#app#app .story-island-toolbar-v147{position:absolute!important;bottom:24px!important;top:auto!important;left:24px!important;right:auto!important;display:flex!important;flex-direction:row!important;align-items:center;gap:10px;max-width:calc(100vw - 160px);background:#0a293be6!important;border:1px solid #b39b65!important;border-radius:5px;padding:8px 12px;color:#eed9a8}
#app#app .story-island-toolbar-v147>span{font:11px Manrope}
#app#app .story-map-guide-v147{position:relative;font:11px Manrope}
#app#app .story-map-guide-v147 summary{cursor:pointer;padding:9px;color:#e4c989}
#app#app .story-map-guide-v147>div{position:absolute;bottom:48px;left:0;width:320px;max-height:55vh;overflow:auto;background:#0d2a3cef;border:1px solid #b39b65;padding:14px;box-shadow:0 8px 24px #00182699}
#app#app .story-map-guide-v147 .story-training-v146{padding:8px;margin:0 0 16px;border:0;background:transparent}
#app#app .story-map-guide-v147 p{font:11px/1.6 Manrope}
@media(prefers-reduced-motion:reduce){#app#app .story-island-v147{animation:none}}
/* Keep the full route clear of the fixed navigation rail. */
#app#app .world-viewport:has(.story-island-v147){background:#06405b}
#app#app .island-ui .myth-shell .story-map-node-v147>.story-map-medallion-v147{display:grid!important;border:2px solid #cfaf6b!important;border-radius:50%!important;background:radial-gradient(#2e5570,#092739)!important;box-shadow:0 3px 8px #001c2abb,inset 0 1px #fff4!important}
#app#app .island-ui .myth-shell .story-map-node-v147:disabled>.story-map-medallion-v147{background:#19303ade!important;border-color:#78877a!important;opacity:.55!important}
#app#app .island-ui .myth-shell .story-map-node-v147.completed>.story-map-medallion-v147{background:radial-gradient(#416951,#193d36)!important;border-color:#b1c18c!important}
#app#app .island-ui .myth-shell .story-map-node-v147.current>.story-map-medallion-v147{box-shadow:0 0 0 4px #ebd39144,0 0 15px #f0c75a99,0 3px 6px #001c2a!important;border-color:#ffe2a0!important}
#app#app .island-ui .myth-shell .story-map-node-v147.optional,#app#app .island-ui .myth-shell .story-map-node-v147.optional:hover{width:32px!important;height:32px!important}
/* Blend the surrounding sea instead of exposing the camera's logical padding. */
#app#app .world-viewport:has(.story-island-v147){background-image:url('/assets/island-hellas-story-v147.webp');background-size:24000px 16000px;background-position:50% 0;background-repeat:no-repeat}
#app#app .world-camera .story-island-v147{mask-image:linear-gradient(to right,#000 92%,transparent 100%),linear-gradient(to bottom,#000 91%,transparent 100%);mask-composite:intersect}
#app#app .world-camera .story-island-v147{background-image:var(--story-map-image,url('/assets/island-hellas-story-v147.webp'))!important}
#app#app .world-viewport:has([data-story-chapter="1"]){background-image:url('/assets/island-river-story-v148.webp')}
#app#app .world-viewport:has([data-story-chapter="2"]){background-image:url('/assets/island-north-story-v148.webp')}
#app#app .world-viewport:has([data-story-chapter="3"]){background-image:url('/assets/island-desert-story-v148.webp')}
#app#app .world-viewport:has([data-story-chapter="4"]){background-image:url('/assets/island-forest-story-v148.webp')}
#app#app .world-viewport:has([data-story-chapter="5"]){background-image:url('/assets/island-volcano-story-v148.webp')}
#app#app .story-ending-v148{border:1px solid #d0af67;padding:20px;background:linear-gradient(120deg,#2c504c,#102e45);margin-top:20px}
/* Summit encounters remain below the fixed HUD. */
#app#app .world-camera .story-island-v147[data-story-chapter="5"]{top:150px}
#app#app .island-label{pointer-events:all}
#app#app .island-ui .game-modal.comic-modal-v149{position:relative;width:min(960px,calc(100vw - 60px))!important;max-width:960px!important;padding:26px 30px 22px!important;overflow:hidden;min-height:650px;border:2px solid #d3b571!important;isolation:isolate}
.comic-background-v149,.battle-background-v149{position:absolute;inset:0;background-image:var(--scene-image,url('/assets/battle-scenes-v149.webp'));background-size:var(--scene-size,400% 200%);background-position:var(--scene-x) var(--scene-y);pointer-events:none}
.comic-background-v149{z-index:-2;filter:brightness(.5)}
.comic-modal-v149:after{content:'';position:absolute;inset:0;background:linear-gradient(#051b2c99,transparent 35%,#051b2cdd);z-index:-1;pointer-events:none}
#app#app .comic-modal-v149 header{position:relative;z-index:2;padding-right:35px}
#app#app .comic-modal-v149 header small{color:#ead09a;letter-spacing:.1em;font:700 10px Manrope}
#app#app .comic-modal-v149 header h2{font:600 36px 'Cormorant UI',Georgia,serif;color:#fff0c9;margin:10px 0!important}
.comic-cast-stage-v149{display:flex;justify-content:space-between;align-items:flex-end;padding:0 20px;height:310px}
.comic-actor-v149{width:310px;height:calc(310px * var(--cast-aspect,1));background-image:var(--cast-image,url('/assets/story-cast-v149.webp'));background-size:var(--cast-size,300% 400%);background-position:var(--cast-x) var(--cast-y);background-repeat:no-repeat;filter:drop-shadow(0 5px 8px #00121c99)}
.comic-actor-v149.listening{width:260px;height:calc(260px * var(--cast-aspect,1));filter:brightness(.68) drop-shadow(0 5px 7px #00121c88);transform:scaleX(-1)}
#app#app .comic-bubble-v149{position:relative;background:linear-gradient(125deg,#fff5d9,#e9d6a4);border:2px solid #b98e46;border-radius:20px 20px 20px 6px;padding:18px 24px;box-shadow:0 0 0 2px #153449,0 5px 15px #00152288;min-height:110px;color:#20333d}
#app#app .comic-bubble-v149:before{content:'';position:absolute;top:-23px;left:80px;width:30px;height:25px;background:#fbefd0;clip-path:polygon(0 100%,90% 0,100% 100%)}
#app#app .comic-bubble-v149 b{font:700 20px 'Cormorant UI',Georgia,serif;color:#725026}
#app#app .island-ui .game-modal.comic-modal-v149 .comic-bubble-v149 p{color:#243844!important;font:500 14px/1.7 Manrope,sans-serif!important;margin:7px 0 0!important}
#app#app .comic-modal-v149 footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px}
#app#app .comic-modal-v149 footer>span{margin-right:auto;font:11px Manrope;color:#e3c989}
#app#app .comic-modal-v149 footer button{padding:11px 18px}
#app#app .encounter-brief-v149{padding:14px 18px;border-left:3px solid #d1b16d;background:#25475888;margin-bottom:20px}
#app#app .encounter-brief-v149 small{font:700 10px Manrope;letter-spacing:.1em;color:#dcc083}
#app#app .encounter-brief-v149 h3{font:600 24px 'Cormorant UI',Georgia,serif;margin:6px 0;color:#eed7a4}
#app#app .encounter-brief-v149 p{font:12px/1.7 Manrope;margin:7px 0}
#app#app .encounter-brief-v149>span{font:10px/1.5 Manrope;color:#94b2c0}
.battle-stage-v149{position:relative;min-height:100vh;isolation:isolate}
.battle-background-v149{position:fixed;z-index:-1;filter:brightness(.55) saturate(.8)}
#app#app .myth-battle{background:transparent!important}
#app#app .battle-goal-v149{padding:9px 16px;background:#09283ce8;border:1px solid #b7a06a77;border-radius:5px;color:#e5d1a0;font:12px/1.5 Manrope;margin-bottom:12px}
#app#app .trials-modal-v149{max-width:850px!important}
#app#app .trials-modal-v149 article{padding:16px 0;border-top:1px solid #b69c6055}
#app#app .trials-modal-v149 article h3{font:600 25px 'Cormorant UI',Georgia,serif;color:#e4cd9b;margin:0 0 9px}
#app#app .trials-modal-v149 article p{font:12px/1.7 Manrope;margin-bottom:9px}
#app#app .trials-modal-v149 article>span{display:block;color:#e3c17a;font:700 13px Manrope;margin-bottom:8px}
#app#app .trials-modal-v149 article>small{display:block;color:#97b2c0;font:10px Manrope;margin-bottom:12px}

#app#app .trial-battle-timer-v149{position:sticky;top:0;z-index:8;padding:10px 20px;background:#102d40;border-bottom:1px solid #d1b16d;color:#ffe1a0;font:700 13px Manrope;text-align:center}

#app#app .island-ui .trials-modal-v149 article{position:relative;isolation:isolate;overflow:hidden;padding:16px 20px!important;margin:12px 0;border:1px solid #bfa76c66!important;border-radius:5px;background:#0a2637!important}
.trial-scene-v149{position:absolute;z-index:-1;top:0;right:0;width:48%;height:100%;background-image:url(/assets/battle-scenes-v149.webp);background-size:400% 200%;background-position:var(--scene-x) var(--scene-y);mask-image:linear-gradient(90deg,transparent,#000b);opacity:.55}
#app#app .island-ui .trials-modal-v149 article p{max-width:70%;text-shadow:0 1px 3px #061c2c}
#app#app .island-ui .story-support-v150{display:block;margin-top:12px!important;padding:8px 12px;border-left:2px solid #c8ab68;background:#42634d33;color:#d6dfbb!important;font:500 12px/1.6 Manrope,sans-serif!important}

/* V164 — scalable parchment, bronze controls and carved dark frames. */
#app#app .island-ui{--game-bronze:#a68146;--game-gold:#dfbf78;--game-ink:#302a20;--game-cream:#f1dfb1}
#app#app .island-ui :is(.battle-goal-v149,.battle-training-v146,.encounter-brief-v149,.preparation-return,.guide-lead){position:relative!important;background:radial-gradient(ellipse at 40% 0,#fff5d4b3,transparent 75%),linear-gradient(100deg,#d4b67c,#f1dfb1 18%,#e5cc96 80%,#cfaf74)!important;border:1px solid #92703c!important;border-top:2px solid #f1d79b!important;border-bottom:3px solid #846333!important;border-radius:3px 12px 3px 12px!important;box-shadow:inset 0 0 0 2px #f9e9bc, inset 0 0 0 3px #8c6b3838,0 3px 9px #0006!important;color:#342c20!important;text-shadow:none!important;padding:12px 20px!important;font:600 12px/1.6 Manrope,sans-serif!important}
#app#app .island-ui :is(.battle-goal-v149,.battle-training-v146){margin:0 0 10px!important}
#app#app .island-ui .battle-training-v146{background:linear-gradient(100deg,#35392eea,#252d27ef)!important;border-color:#987c45!important;border-top-color:#cead69!important;color:#ebd5a4!important;font-weight:400!important;box-shadow:inset 0 0 0 2px #171e18,inset 0 0 0 3px #ae8c463d,0 3px 8px #0005!important}
#app#app .island-ui .battle-goal-v149 .story-support-v150{background:#a88a4730!important;color:#453c29!important;border-color:#8e713d!important;margin-top:8px!important}
#app#app .island-ui :is(.game-modal,.game-panel-v134,.map-popover-v124,.map-disclosure-v124>summary,.encounter-readiness-v149){background:radial-gradient(ellipse at 25% 0,#82734d30,transparent 65%),linear-gradient(125deg,#30372d,#191f1c)!important;border:1px solid #a8884b!important;border-top:2px solid #d5b875!important;border-bottom:3px solid #705632!important;border-radius:5px 15px 5px 15px!important;box-shadow:0 12px 32px #0008,inset 0 0 0 3px #141c18,inset 0 0 0 4px #b89a5147!important;color:#e9dcc0!important;backdrop-filter:none!important}
#app#app .island-ui .game-modal.comic-modal-v149{background:#1d2922!important}
#app#app .island-ui .game-modal>.frame-corner{opacity:.7;width:29px;height:29px}
#app#app .island-ui .game-modal .modal-close{background:radial-gradient(circle at 35% 25%,#efd296,#a17b3c)!important;border:2px solid #f3d99a!important;box-shadow:0 0 0 2px #3e3826,0 3px 8px #0007!important;color:#342a1b!important;border-radius:50%!important}
#app#app .island-ui .game-modal button:not(.modal-close):not(.gold-button):not(.card-art-trigger):not(.collection-card-open):not(.inspect-art):not(.kit-unit-head-v130):not([data-preptab]):not([data-guide-tab]):not(.avatar-choice-v135),
#app#app .island-ui :is(.battle-heading,.battle-intermission) button,
#app#app .island-ui :is(.collection-console,.shop-context) :is(button,select,input),
#app#app .island-ui .hud-settings-menu.game-panel-v134 button{background:linear-gradient(180deg,#716347,#4c4834 48%,#343a2c)!important;border:1px solid #b79b61!important;border-top:2px solid #ddc48a!important;border-bottom:3px solid #282b21!important;border-radius:3px 9px 3px 9px!important;box-shadow:inset 0 0 0 1px #1e281c,inset 0 2px 0 #e8d9ab2e,0 3px 5px #0005!important;color:#f3e4bf!important;text-shadow:0 1px 2px #0008!important;transition:background .15s,border-color .15s,box-shadow .15s!important}
#app#app .island-ui :is(.battle-heading,.battle-intermission) button{min-height:36px;padding:8px 14px!important;font-weight:600}
#app#app .island-ui :is(.game-modal,.battle-heading,.battle-intermission,.collection-console,.shop-context,.hud-settings-menu) button:not(:disabled):hover{border-color:#f1d695!important;box-shadow:inset 0 0 0 1px #342d1d,inset 0 0 14px #e3bd4826,0 3px 8px #0007!important;filter:brightness(1.1)}
#app#app .island-ui :is(button,input,select):focus-visible{outline:2px solid #ffe3a3!important;outline-offset:3px!important}
#app#app .island-ui .gold-button.gold-button{background:linear-gradient(180deg,#fff0c0 0,#e6c477 12%,#c89b47 75%,#b18436)!important;border:1px solid #f4daa0!important;border-bottom:3px solid #765025!important;border-radius:3px 10px 3px 10px!important;box-shadow:inset 0 0 0 1px #9b7439,inset 0 2px #fff4cc99,0 3px 7px #0006!important;color:#342b1b!important;text-shadow:0 1px #fff1!important;font-weight:700!important}
#app#app .island-ui .story-scene-body-v146 button[data-story-choice]{padding:17px 22px!important;min-height:74px!important;text-align:left!important;border-left:4px solid #cba65d!important}
#app#app .island-ui .story-scene-body-v146 button[data-story-choice]>b{color:#ffe5ac!important;font:600 22px/1.2 'Cormorant UI',Georgia,serif!important}
#app#app .island-ui .story-scene-body-v146 button[data-story-choice]>span{display:block;margin-top:7px;color:#dfd4b9!important;font-size:12px!important;line-height:1.6!important}
#app#app .island-ui :is(.game-tooltip-v134,.battle-card-tip,.spell-tip){background:linear-gradient(135deg,#f6e9c7,#d9c18d)!important;border:1px solid #97733c!important;border-top:2px solid #f7e2af!important;border-radius:3px 11px 3px 11px!important;box-shadow:0 6px 20px #0008,inset 0 0 0 2px #f7e9bd!important;color:#3b3326!important;text-shadow:none!important;backdrop-filter:none!important}
#app#app .island-ui .game-tooltip-v134 :is(strong,p,span,small,b){color:inherit!important;text-shadow:none!important}
#app#app .island-ui .game-tooltip-v134 strong{color:#694922!important;border-bottom-color:#97774466!important}
#app#app .island-ui :is(.story-outcome-v146,.mission-rule-v129,.mission-modifier-v129,.preparation-warning,.preparation-notice){background:#98835320!important;border-color:#b89a58!important;color:#ead8ab!important}

#app#app .island-ui .battle-goal-v149{padding-left:46px!important}
#app#app .island-ui .battle-goal-v149::before{content:'';position:absolute;left:17px;top:50%;width:12px;height:12px;transform:translateY(-50%) rotate(45deg);background:linear-gradient(135deg,#fff0b4,#a37a35);border:1px solid #795426;box-shadow:0 0 0 3px #9d783433,inset 0 0 0 2px #e8cc82;pointer-events:none}
#app#app .island-ui .story-scene-body-v146 button[data-story-choice]{position:relative;padding-left:46px!important}
#app#app .island-ui .story-scene-body-v146 button[data-story-choice]::before{content:'';position:absolute;top:23px;left:19px;width:10px;height:10px;background:linear-gradient(135deg,#f4db94,#987138);border:1px solid #e9c985;transform:rotate(45deg);box-shadow:0 0 0 3px #262e23;pointer-events:none}
#app#app .island-ui :is(.archive-scopes,.archive-tools,.catalog-toolbar,.collection-toolbar) button{background:linear-gradient(#6d5e40,#383e2e)!important;border:1px solid #b69a5d!important;border-bottom:3px solid #242a1f!important;border-radius:3px 9px 3px 9px!important;box-shadow:inset 0 1px #f0dba74d,0 3px 5px #0005!important;color:#f0dfb6!important}
#app#app .island-ui .archive-scopes button.active{background:linear-gradient(#c7a65f,#806332)!important;border-color:#efd08b!important}
#app#app .island-ui :is(.shop-offer,.journey-panel){background:radial-gradient(ellipse at 20% 0,#7b714a44,transparent 70%),linear-gradient(125deg,#30372d,#191f1c)!important;border-color:#a98a50!important;box-shadow:0 6px 16px #0006,inset 0 0 0 2px #1a231c,inset 0 0 0 3px #baa06444!important;border-radius:4px 14px 4px 14px!important}

#app#app .island-ui .shop-context.game-panel-v134 .back-button,
#app#app .island-ui .catalog-pagination button,
#app#app .island-ui .world-viewport :is(.world-return,.quest-help),
#app#app .island-ui .trials-modal-v149 article button{background:linear-gradient(#716347,#383e2e)!important;border:1px solid #b79b61!important;border-top:2px solid #ddc48a!important;border-bottom:3px solid #282b21!important;border-radius:3px 9px 3px 9px!important;box-shadow:inset 0 0 0 1px #1e281c,0 3px 5px #0005!important;color:#f3e4bf!important}
#app#app .island-ui .catalog-pagination button:disabled{opacity:.45}

/* V165 — a cohesive illustrated adventure sheet, with explicit ink contrast. */
#app#app#app .island-ui .adventure-sheet-v165{width:min(820px,calc(100vw - 64px))!important;max-width:820px!important;padding:0!important;border:1px solid #d5b77b!important;border-radius:12px!important;background:#eee0bd!important;box-shadow:0 22px 70px #000a,inset 0 0 0 3px #3a3829!important;overflow:auto;max-height:calc(100svh - 48px)!important}
#app#app#app .adventure-sheet-v165>.frame-corner{display:none!important}
#app#app#app .adventure-sheet-v165 .adventure-hero-v165{position:relative;overflow:hidden;isolation:isolate;height:210px;min-height:210px;padding:0;background:#192b2b;border-bottom:3px solid #b79654}
#app#app#app .adventure-sheet-v165 .adventure-scene-v165{position:absolute;z-index:-2;width:100%;aspect-ratio:3/2;top:50%;transform:translateY(-50%);background-image:var(--scene-image,url('/assets/battle-scenes-v149.webp'));background-size:var(--scene-size,400% 200%);background-position:var(--scene-x) var(--scene-y);background-repeat:no-repeat}
#app#app#app .adventure-sheet-v165 .adventure-hero-v165::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0c2029ef,#0c20297a 65%,#0c202924),linear-gradient(0deg,#10242be6,transparent 80%);pointer-events:none}
#app#app#app .adventure-sheet-v165 .adventure-title-v165{position:absolute;left:32px;right:60px;bottom:25px}
#app#app#app .adventure-sheet-v165 .adventure-title-v165 small{font:700 10px/1.5 Manrope,sans-serif;letter-spacing:.13em;color:#e9cc8c!important}
#app#app#app .adventure-sheet-v165 .adventure-title-v165 h2{margin:8px 0 0!important;padding:0!important;border:0!important;font:600 40px/1.12 'Cormorant UI',Georgia,serif!important;color:#fff0ca!important;text-shadow:0 2px 5px #0008}
#app#app#app .adventure-sheet-v165 .adventure-body-v165{padding:26px 32px 28px!important;background:radial-gradient(ellipse at 15% 0,#fff8dfb3,transparent 65%),linear-gradient(115deg,#f3e8cb,#e7d8b2)!important;color:#39352b!important}
#app#app#app .adventure-sheet-v165 .adventure-stage-v165{padding:0 0 18px;margin:0 0 17px;border-bottom:1px solid #9c81524d}
#app#app#app .adventure-sheet-v165 .adventure-stage-v165>small{color:#80602c!important;font:700 10px/1.4 Manrope,sans-serif;letter-spacing:.12em}
#app#app#app .adventure-sheet-v165 .adventure-stage-v165 h3{color:#293c3a!important;font:700 30px/1.15 'Cormorant UI',Georgia,serif!important;margin:7px 0 10px!important}
#app#app#app .adventure-sheet-v165 .adventure-goal-v165{color:#343e35!important;font:600 14px/1.65 Manrope,sans-serif!important;margin:0!important}
#app#app#app .adventure-sheet-v165 .adventure-context-v165{color:#5b5447!important;font:400 13px/1.8 Manrope,sans-serif!important;margin:0 0 19px!important}
#app#app#app .adventure-sheet-v165 :is(.adventure-echo-v165,.story-support-v150,.story-outcome-v146){color:#4d4934!important;background:#8e804314!important;border:0!important;border-left:2px solid #a8884a!important;padding:10px 14px!important;font:500 12px/1.75 Manrope,sans-serif!important;margin:12px 0!important}
#app#app#app .adventure-sheet-v165 .adventure-stats-v165{display:flex;gap:28px;align-items:center;padding:0 0 19px;margin-top:20px;flex-wrap:wrap}
#app#app#app .adventure-sheet-v165 .adventure-stats-v165>span{display:flex;flex-direction:column;gap:5px}
#app#app#app .adventure-sheet-v165 .adventure-stats-v165 small{color:#76623e!important;font:700 9px/1.5 Manrope,sans-serif;letter-spacing:.06em}
#app#app#app .adventure-sheet-v165 .adventure-stats-v165 b{color:#2c3d37!important;font:700 19px/1.2 Manrope,sans-serif}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #a58b594f;padding-top:20px;margin-top:4px}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165>div{max-width:430px}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 b{display:block;color:#50452f!important;font:600 11px/1.5 Manrope,sans-serif;margin-bottom:5px}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 span{display:block;color:#74694f!important;font:400 10px/1.7 Manrope,sans-serif}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 button.gold-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;width:auto!important;min-width:190px;min-height:50px;padding:12px 20px!important;margin:0!important;text-align:center!important;font:700 13px/1.4 Manrope,sans-serif!important;border-radius:5px!important}
#app#app#app .adventure-sheet-v165 .adventure-choice-title-v165{color:#2b3d37!important;font:700 28px/1.2 'Cormorant UI',Georgia,serif!important;margin:21px 0 8px!important}
#app#app#app .adventure-sheet-v165 .adventure-note-v165{color:#75674b!important;font:11px/1.7 Manrope,sans-serif!important;margin:0 0 17px!important}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165{display:grid;gap:12px}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165 button[data-story-choice]{display:block;width:100%;padding:16px 20px 16px 44px!important;margin:0!important;min-height:80px;background:linear-gradient(110deg,#fff8dfb3,#f2e6c8)!important;border:1px solid #b59b69!important;border-left:3px solid #8b713f!important;border-radius:5px!important;box-shadow:0 2px 5px #51482a17,inset 0 1px #fff9!important;text-shadow:none!important;text-align:left!important}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165 button[data-story-choice]>b{color:#30443d!important;font:700 23px/1.2 'Cormorant UI',Georgia,serif!important}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165 button[data-story-choice]>span{color:#675b43!important;font:12px/1.65 Manrope,sans-serif!important;display:block;margin-top:7px}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165 button[data-story-choice]:hover{background:#fff7df!important;border-color:#856334!important;filter:none!important;box-shadow:0 3px 8px #51482a26!important}
#app#app#app .adventure-sheet-v165 .adventure-choices-v165 button[data-story-choice]::before{left:17px;top:22px;width:9px;height:9px;box-shadow:0 0 0 3px #dfcfa9;background:#9c7c3b;border-color:#b89953}
#app#app#app .adventure-sheet-v165 .adventure-return-v165{display:block;width:auto!important;margin:18px 0 0;padding:8px 12px!important;font-size:11px}
#app#app#app .adventure-sheet-v165 .story-ending-v148 :is(h3,p){color:#394233!important}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 button .detail-notice-v141{top:-9px!important;right:-9px!important}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 button.gold-button[data-new-reason]{padding-right:42px!important}
#app#app#app .adventure-sheet-v165 .adventure-footer-v165 button .detail-notice-v141{top:50%!important;right:9px!important;transform:translateY(-50%)!important}

/* V166 — desktop battle fits the viewport, with a single compact command bar. */
.battle-instructions-v166{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:900px){
#app#app#app .battle-active .myth-main{height:100svh!important;min-height:0!important;padding:0!important;overflow:hidden!important}
#app#app#app .battle-active .battle-stage-v149{height:100svh!important;min-height:0!important;overflow:hidden!important}
#app#app#app .battle-active .myth-battle{height:100%!important;min-height:0!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;gap:7px;padding:12px 20px 14px!important;overflow:hidden!important}
#app#app#app .battle-active .battle-goal-v149{flex:none;margin:0!important;padding:7px 16px 7px 42px!important;font-size:11px!important;line-height:1.45!important;max-height:72px;overflow:auto}
#app#app#app .battle-active .battle-goal-v149 .story-support-v150{display:inline!important;margin:0 0 0 12px!important;padding:0 0 0 10px!important;font-size:10px!important}
#app#app#app .battle-active .battle-heading{display:flex!important;align-items:center;gap:8px!important;flex:none;min-height:48px!important;margin:0!important;padding:0!important}
#app#app#app .battle-active .battle-heading>div{flex:1;min-width:0}
#app#app#app .battle-active .battle-heading small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:9px!important;letter-spacing:.04em}
#app#app#app .battle-active .battle-heading h1{font-size:27px!important;margin:3px 0!important;line-height:1.05!important}
#app#app#app .battle-active .battle-heading button{min-height:32px!important;padding:6px 12px!important;font-size:11px!important}
#app#app#app .battle-active .battle-layout{position:relative;flex:1;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 64px;gap:14px!important;margin:0!important}
#app#app#app .battle-active .battle-board{position:relative;min-height:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) 78px minmax(0,1fr) 20px;gap:2px!important}
#app#app#app .battle-active .team-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center;gap:12px!important;width:min(100%,calc((100svh - 250px)*1.6667))!important;max-width:1200px!important;min-height:0!important;align-self:center;justify-self:center;margin:0!important;padding:0!important}
#app#app#app .battle-active .team-row .board-card{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;aspect-ratio:2/3;align-self:center;overflow:visible!important}
#app#app#app .battle-active .team-row .myth-card{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:2/3!important;margin:0!important}
#app#app#app .battle-active .battle-intermission{min-height:0!important;height:78px!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:0!important}
#app#app#app .battle-active .spell-rack{position:relative!important;inset:auto!important;align-self:center;display:flex!important;flex-direction:column;justify-content:center;gap:8px!important;width:64px!important;max-height:100%!important;padding:5px!important;box-sizing:border-box}
#app#app#app .battle-active .spell-rack .spell-slot,#app#app#app .battle-active .spell-rack button{width:52px!important;height:clamp(34px,6.5svh,56px)!important;min-height:0!important;margin:0!important}
#app#app#app .battle-active .spell-rack .spell-tip{right:calc(100% + 12px)!important;left:auto!important;max-width:300px}
#app#app#app .battle-active .battle-event-strip{min-height:0!important;margin:0!important;padding:0 6px!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app#app#app .battle-active .battle-journal{position:absolute!important;left:0;bottom:0;z-index:35;max-width:440px;width:auto;margin:0!important;padding:0!important;background:#162c29ee;border:1px solid #a98c50;border-radius:5px}
#app#app#app .battle-active .battle-journal summary{padding:5px 10px;font-size:10px!important}
#app#app#app .battle-active .battle-journal[open]{width:440px;max-height:40svh;overflow:auto;padding:8px!important}
#app#app#app .battle-active .battle-board:has(.cinematic-stage)>.team-row{visibility:hidden;pointer-events:none}
#app#app#app .battle-active .myth-battle .cinematic-stage{position:absolute!important;inset:78px 0 22px!important;padding:8px 20px!important;min-height:0!important;height:auto!important;max-height:none!important}
#app#app#app .battle-active .cinematic-stage .duel-pair{height:100%!important;max-height:100%!important;align-items:center!important}
#app#app#app .battle-active .cinematic-stage .duelist{max-width:min(360px,calc((100svh - 235px)*.6667))!important;width:31%!important}
#app#app#app .battle-active .cinematic-stage .battle-card-hover,#app#app#app .battle-active .cinematic-stage .myth-card{width:100%!important;max-height:calc(100svh - 235px)!important}
#app#app#app .battle-active .battle-board:has(.cinematic-stage) .battle-intermission{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:31}
}
#app#app#app .score-v166{display:grid!important;grid-template-columns:88px 142px 88px;align-items:center;gap:10px!important;border:1px solid #d2b16d;border-bottom:3px solid #73552d;border-radius:8px;background:radial-gradient(ellipse at 50% 0,#5f634044,transparent),linear-gradient(110deg,#112c32,#202e28,#112c32);box-shadow:0 3px 10px #0007,inset 0 0 0 2px #101d1b;padding:7px 16px!important;margin:0!important;text-align:center;height:66px;box-sizing:border-box}
#app#app#app .score-side-v166{display:grid;grid-template-columns:1fr;gap:1px;justify-items:center}
#app#app#app .score-side-v166 small{font:700 8px/1.1 Manrope,sans-serif!important;letter-spacing:.1em;color:#d1d6c5!important}
#app#app#app .score-side-v166 b{font:700 28px/1 'Cormorant UI',Georgia,serif!important;color:#a7dce5!important}
#app#app#app .score-side-v166.enemy b{color:#f2ba92!important}
#app#app#app .score-pips-v166{display:flex;gap:5px;margin-top:3px}
#app#app#app .score-pips-v166 i{width:7px;height:7px;background:#14221f;border:1px solid #9d8958;transform:rotate(45deg)}
#app#app#app .score-pips-v166 i.earned{background:#e8c56f;border-color:#fff0bd;box-shadow:0 0 5px #e2b54b88}
#app#app#app .score-round-v166 strong{display:block;font:700 9px/1.5 Manrope,sans-serif;color:#e5c480;letter-spacing:.1em}
#app#app#app .score-round-v166>span{display:flex;justify-content:center;align-items:center;gap:5px;color:#e9e1ca;font:600 11px/1.7 Manrope,sans-serif}
#app#app#app .score-round-v166 .icon{width:20px;height:20px}
#app#app#app .score-round-v166 small{font-size:8px;color:#d0c8b6}
.initiative-v166{position:fixed;inset:0;z-index:55;display:flex;align-items:center;justify-content:center;pointer-events:none;background:#06191d80;animation:initiative-exit-v166 3.8s both}
.initiative-plaque-v166{width:320px;padding:24px 30px;text-align:center;background:radial-gradient(ellipse at top,#59604744,transparent),#162b2df2;border:1px solid #dab775;border-radius:18px;box-shadow:0 20px 70px #000a,inset 0 0 0 3px #0a201f;color:#f6e2b3}
.initiative-plaque-v166>small{font:700 10px Manrope;letter-spacing:.2em;color:#d3b576}
.initiative-flight-v166{height:160px;display:flex;align-items:center;justify-content:center;perspective:700px}
.initiative-coin-v166{position:relative;width:100px;height:100px;transform-style:preserve-3d;animation:coin-toss-v166 1.9s cubic-bezier(.2,.65,.25,1) both}
.coin-face-v166{position:absolute;inset:0;border-radius:50%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 25%,#fff3b4,#d9b25b 50%,#9a6c2c);border:5px solid #f2cf7a;box-shadow:inset 0 0 0 3px #9e7130,inset 0 0 0 6px #ecc56b,0 6px 12px #0005}
.coin-face-v166.back{transform:rotateY(180deg);background:radial-gradient(circle at 35% 25%,#f9e9b5,#b39251 60%,#6f502b)}
.coin-face-v166 .icon{width:52px!important;height:52px!important;color:#274a52;filter:drop-shadow(0 2px 1px #fff5)}
.initiative-plaque-v166 h2{font:600 30px/1.1 'Cormorant UI',Georgia,serif;color:#fff0c7;margin:5px 0 10px}
.initiative-plaque-v166 p{font:12px/1.7 Manrope,sans-serif;color:#d2dbc8;margin:0}
@keyframes coin-toss-v166{0%{transform:translateY(55px) rotateY(0deg) scale(.5);opacity:0}15%{opacity:1}45%{transform:translateY(-28px) rotateY(720deg) scale(1.12)}100%{transform:translateY(0) rotateY(calc(1440deg + var(--coin-result))) scale(1);opacity:1}}
@keyframes initiative-exit-v166{0%,82%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
.initiative-v166.static .initiative-coin-v166{animation:none;transform:rotateY(var(--coin-result))}
@media(prefers-reduced-motion:reduce){.initiative-coin-v166{animation:none;transform:rotateY(var(--coin-result))}.initiative-v166{animation-duration:2s}}
@media(min-width:900px){
#app#app#app .battle-active .cinematic-stage{background:radial-gradient(ellipse at center,#37575333,#081e22eb)!important;border:1px solid #9c845344;border-radius:10px}
#app#app#app .battle-active .cinematic-stage .duel-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)!important;gap:28px!important;justify-items:center!important;align-content:center!important}
#app#app#app .battle-active .cinematic-stage .duelist{width:100%!important;max-width:min(360px,calc((100svh - 300px)*.6667))!important;height:auto!important;justify-self:center!important}
#app#app#app .battle-active .cinematic-stage .duel-center{width:180px!important;min-width:0!important;box-sizing:border-box;background:linear-gradient(#2e3c30ef,#142b2af2)!important;border:1px solid #b69757!important;border-radius:12px!important;box-shadow:inset 0 0 0 2px #0b211e,0 8px 20px #0005!important}
#app#app#app .battle-active .cinematic-stage .duel-center button:not(.gold-button){background:linear-gradient(#736344,#3e432f)!important;border:1px solid #b49656!important;color:#eee0ba!important;border-radius:5px!important}
}
.initiative-plaque-v166 h2,.initiative-plaque-v166 p{animation:coin-caption-v166 1.9s step-end both}
@keyframes coin-caption-v166{0%,99%{opacity:0}100%{opacity:1}}
.initiative-v166.static .initiative-plaque-v166 :is(h2,p){animation:none}
@media(prefers-reduced-motion:reduce){.initiative-plaque-v166 :is(h2,p){animation:none}}

/* V167 — one chronological row of all five duels, never two victory quotas. */
#app#app#app .score-v166{height:76px;padding:4px 16px!important}
#app#app#app .score-progress-v167{display:flex;justify-content:center;align-items:center;gap:8px;height:13px;margin:1px 0 2px}
#app#app#app .score-progress-v167 i{display:block;width:8px;height:8px;border:1px solid #aa915b;background:#11221f;transform:rotate(45deg);box-sizing:border-box}
#app#app#app .score-progress-v167 i.won{background:#eac76e;border-color:#fff0b0;box-shadow:0 0 4px #e3c56e66}
#app#app#app .score-progress-v167 i.lost{background:#bc604a;border-color:#efb59b}
#app#app#app .score-progress-v167 i.drawn{background:#9ba9a7;border-color:#d6e3de}
#app#app#app .score-progress-v167 i.recorded{background:#766d53;border-color:#b7a67d}
#app#app#app .score-progress-v167 i.current{border-color:#fff2c2;box-shadow:0 0 0 2px #d0af6233}
#app#app#app .score-round-v166 .score-reward-v167{display:block;font:500 8px/1.3 Manrope,sans-serif;color:#d9c48f;white-space:nowrap;cursor:help}
#app#app#app .score-round-v166>span{line-height:1.2}
#app#app#app .score-round-v166 strong{font-size:8px;line-height:1.2}

/* V170: long desktop sections scroll inside the VK iframe, independently of its host. */
@media(min-width:900px){
html:has(.myth-shell),body:has(.myth-shell){height:100%;overflow:hidden}
#app#app#app .myth-shell>.myth-main{height:100dvh;min-height:0!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c5a260 #102735;position:relative;scroll-padding-top:130px}
#app#app#app .myth-shell:is([data-screen=city],[data-screen=quests],.battle-active)>.myth-main{overflow:hidden;scrollbar-gutter:auto}
#app#app#app .sacred-archive>.story-training-v146{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;max-width:none;margin:0 0 20px;padding:14px 20px;background:linear-gradient(110deg,#19394aee,#0c2432ee);border:1px solid #ad9055;border-left:4px solid #dec483;border-radius:3px;box-shadow:inset 0 1px #fff2}
#app#app#app .sacred-archive>.story-training-v146 small{margin:0;font-size:9px}
#app#app#app .sacred-archive>.story-training-v146 b{font-size:23px;grid-column:1}
#app#app#app .sacred-archive>.story-training-v146 p{margin:0;grid-column:1;font-size:12px;color:#d3dfe2}
#app#app#app .sacred-archive>.story-training-v146 button{grid-column:2;grid-row:1/4;align-self:center;min-height:40px}
#app#app#app .sacred-archive>.story-training-v146>span{grid-column:1/-1;margin:2px 0 0}
}

@media(min-width:900px){
#app#app#app .archive-v77 .archive-tools{position:static;grid-column:3;align-self:center;justify-self:end;bottom:auto}
#app#app#app .archive-v77 .archive-scopes{padding-right:0}
}
