@charset "UTF-8";
@font-face{font-family:Nunito;src:url('../assets/ui-v02/fonts/nunito-sans.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:Baloo;src:url('../assets/ui-v02/fonts/baloo2.woff2') format('woff2');font-weight:400 800;font-display:swap}
/* Fallbacks match approved v08.1 tokens. The existing loader replaces these
   variables from the mechanically packaged approved color-system source. */
:root{color-scheme:light;--c-canvas:#e6eee8;--c-surface:#fff8ec;--c-ink:#20313b;--c-muted:#596963;--c-stroke:#c9c9bc;--c-secondary:#f0eee7;--c-primary:#c94b18;--c-primaryPressed:#a83b11;--c-primaryText:#fff;--c-selected:#254d60;--c-selectedTint:#e7eff2;--c-positive:#2e8258;--c-positiveTint:#e9f4ea;--c-damage:#c23e4c;--c-damageTint:#fcecef;--c-warning:#916100;--c-warningTint:#fff1d2;--c-disabled:#e4e5e1;--c-disabledText:#65716b;--c-hp:#2e8258;--c-armor:#2e74b7;--c-energy:#087f8c;--c-xp:#5d56a5;--c-coins:#b87c0a;--c-gems:#a3408f;--c-common:#89928e;--c-rare:#368ccd;--c-epic:#9d59d0;--c-legendary:#dca232;--c-mythic:#df6b64;--c-poison:#6b7834;--c-burn:#b55a2e;--c-freeze:#5b9fc5;--c-haste:#087f8c;--c-slow:#6e6b86;--c-counter:#254d60;--ink:var(--c-ink);--dim:var(--c-muted);--line:var(--c-stroke);--paper:var(--c-surface);--home-camp:none;--trail-scene:none;--arena-bamboo:none;--legacy-heroes:url('../assets/v2/heroes.webp');--header-height:68px;--nav-height:68px;--map-ratio:852/1847}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--c-canvas)}body{font:15px/1.25 Nunito,'Segoe UI',sans-serif;color:var(--c-ink);-webkit-tap-highlight-color:transparent;overscroll-behavior:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer;min-height:48px;touch-action:manipulation;border:0;font-weight:800}button:disabled{cursor:default;background:var(--c-disabled)!important;color:var(--c-disabledText)!important;border-image:none!important;box-shadow:none!important;text-shadow:none!important;opacity:1}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--c-selected);outline-offset:2px}button:active:not(:disabled){filter:brightness(.94);translate:0 1px}[hidden]{display:none!important}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:Nunito,sans-serif;font-weight:900;line-height:1.08;letter-spacing:-.4px}h1{font-size:30px}h2{font-size:25px}h3{font-size:19px}h4{font-size:16px}p{line-height:1.4;color:var(--c-muted)}small{font-size:12px;color:var(--c-muted)}svg{width:25px;height:25px;stroke:currentColor;stroke-width:2;fill:none;flex:none}.ui-icon{display:inline-block;width:25px;height:25px;flex:none;background-image:var(--icon-atlas);background-repeat:no-repeat}.functional-icon{vertical-align:middle}.wide{width:100%}.centered{text-align:center}.muted{color:var(--c-muted)}.gold{color:var(--c-coins)}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;align-items:center;gap:8px}.between{justify-content:space-between}.split,.button-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.3px;color:var(--c-muted);margin-bottom:4px}.tag,.pill,.role-pill{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #d7c7ad;border-radius:14px;background:#fff0d9;font-weight:800;font-size:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 7px;border:0;background:transparent;box-shadow:none;min-height:48px;font-size:13px;font-weight:900;text-decoration:underline;text-underline-offset:3px;color:var(--c-ink)}
.primary,.secondary,.subtle,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #d7bea0;border-radius:16px;font:900 18px/1.1 Nunito,sans-serif;text-align:center;box-shadow:0 2px 1px #80643e38}.primary{min-height:58px;color:var(--c-primaryText);background:linear-gradient(#f77b23,#d95d0c 55%,#c64a08);border-color:#e88643;border-image-source:var(--v09-primary,none);border-image-slice:var(--v09-primary-slice,48) fill;border-image-width:var(--v09-primary-edge,18px);box-shadow:0 4px 0 #87390d,0 5px 6px #9d5d1b25;text-shadow:0 1px 1px #a9431050}.primary:active:not(:disabled){background-color:var(--c-primaryPressed);translate:0 2px;box-shadow:0 2px 0 #87390d}.primary>svg,.primary>.ui-icon{width:29px;height:29px}.secondary,.subtle{background:linear-gradient(#fff7e9,#f5e3c8);border-image-source:var(--v09-secondary,none);border-image-slice:var(--v09-secondary-slice,40) fill;border-image-width:var(--v09-secondary-edge,14px);color:var(--c-ink)}.danger{color:var(--c-damage);background:#fff0e3;border-color:#e4b6a6}.primary small,.secondary small{font:700 12px Nunito,sans-serif;color:inherit}.primary>span>small,.secondary>span>small{display:block;margin-top:3px}.icon-button{display:grid;place-items:center;flex:none;width:48px;min-width:48px;height:48px;padding:10px;border:1px solid #d7c0a3;border-radius:14px;background:linear-gradient(#fff6e6,#f4dfbf);box-shadow:0 2px 1px #80643e30;font-size:22px;font-weight:900}.paper-card,.panel{border:1px solid #dbc6a5;border-radius:15px;padding:12px;background:linear-gradient(125deg,#fff9ef,#fbead0);border-image-source:var(--v09-panel,none);border-image-slice:var(--v09-panel-slice,48) fill;border-image-width:var(--v09-panel-edge,16px);box-shadow:0 1px 2px #93754b18}.xp-track,.capacity-track{height:11px;border-radius:12px;overflow:hidden;background:#d7c7ab;box-shadow:inset 0 1px 1px #91784b22}.xp-track>i,.capacity-track>i{display:block;height:100%;width:0;border-radius:inherit;background:var(--c-xp)}.capacity-track>i{background:var(--c-selected)}
#app{position:relative;width:min(100%,480px);height:100%;height:100svh;max-height:100svh;min-height:0;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 35%,#fffdf4,#fff1dd 75%,#fae4c5);color:var(--c-ink)}#main{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;outline:none;scrollbar-width:thin;scrollbar-color:#cfb58b transparent}.topbar{display:flex;align-items:center;gap:7px;position:relative;height:var(--header-height);flex:none;padding:8px 14px 6px;background:transparent;z-index:10}.avatar-button{position:relative;display:flex;align-items:center;gap:7px;min-width:0;height:50px;min-height:50px;padding:0;background:transparent;border:0;border-radius:10px;overflow:visible;flex:none;text-align:left}.avatar-button>.avatar-art,.avatar-button>.hero-sprite{display:block;position:relative;width:47px;height:47px;min-width:47px;background-position:center;background-size:contain;border-radius:50%;aspect-ratio:1}.profile-label,.header-hero-label{display:flex;flex-direction:column;justify-content:center;gap:2px;white-space:nowrap}.profile-label strong,.header-hero-label strong{font-size:13px;font-weight:900;line-height:1.1}.profile-label small,.header-hero-label small{font-size:10px;color:var(--c-ink);font-weight:600}.top-progress{display:flex;align-items:center;justify-content:center;min-width:0;flex:1;gap:3px}.top-progress strong{font-size:17px;line-height:1.1;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-progress small{display:none}.top-progress:has(#header-title:empty){min-width:0}.wallets{display:flex;align-items:center;gap:5px;flex:none}.wallet{display:flex;align-items:center;justify-content:center;gap:4px;min-height:38px;padding:4px 8px;border:1px solid #dac2a2;border-radius:14px;background:linear-gradient(#fff8e9,#ffeac9);box-shadow:0 2px 1px #89704c22}.wallet b{font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}.wallet small,.wallet i{display:none}.wallet .currency,.wallet .header-currency-art{display:block;width:25px;height:25px;min-width:25px}.gems-wallet{display:none}.menu-button,.settings-button{display:flex;align-items:center;justify-content:center;width:auto;min-width:58px;height:42px;min-height:48px;padding:7px 11px;border-radius:13px;font:900 13px/1 Nunito,sans-serif}.settings-button>svg,.settings-button>.ui-icon{width:21px;height:21px}.header-back{width:42px;min-width:42px;height:48px;margin-right:0}.save-warning{position:relative;z-index:15;flex:none;margin:0 14px 5px;padding:9px 11px;border:1px solid #dfbe81;border-radius:12px;background:var(--c-warningTint);color:var(--c-warning);font-size:12px;line-height:1.3}.save-warning.error{background:var(--c-damageTint);color:var(--c-damage)}
.bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;height:var(--nav-height);min-height:var(--nav-height);flex:none;position:relative;z-index:20;margin:5px 14px 10px;padding:4px;border:1px solid #d5b98e;border-radius:20px;background:linear-gradient(#fff8eb,#fbe6c8);box-shadow:0 3px 2px #98764a38}.bottom-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:15px;background:transparent;padding:3px 5px;min-height:48px;font:900 15px/1 Nunito,sans-serif}.bottom-nav>button svg,.bottom-nav>button .ui-icon{width:25px;height:25px}.bottom-nav>button.active{background:linear-gradient(#d5e8ef,#c1dce5);color:var(--c-ink);box-shadow:inset 0 1px 1px #fff9}.sticky-cta{position:relative;flex:none;padding:5px 14px 8px;background:transparent;z-index:15}.sticky-cta>.primary{min-height:59px;width:100%;font-size:23px}.view-home #sticky-cta,.view-prepare #sticky-cta{display:none}.view-market #sticky-cta{padding-top:6px;padding-bottom:8px}.view-market #sticky-cta>.primary{min-height:60px;font-size:22px}
.hero-sprite{display:block;background-image:var(--legacy-heroes);background-size:300% 100%;background-repeat:no-repeat;aspect-ratio:1;width:100%;flex:none;pointer-events:none}.hero-sprite.jingshen{background-position:0 0}.hero-sprite.momo{background-position:50% 0}.hero-sprite.lumi{background-position:100% 0}.hero-sprite.atlas-jingshen{background-image:var(--jingshen-heroes);background-size:400% 100%;aspect-ratio:2/3}.hero-sprite.v05-character,.v05-character,.avatar-art,.v05-combat-pose,.v09-character,.v09-combat-pose{display:block;background-position:center;background-size:contain;background-repeat:no-repeat;aspect-ratio:1}.guard-sprite{display:block;background:var(--guard-art) center/contain no-repeat;aspect-ratio:1;flex:none;pointer-events:none}.gear-art{display:inline-block;flex:none;width:56px;aspect-ratio:1;background-image:url('../assets/v2/gear-atlas.webp');background-size:800% 800%;background-repeat:no-repeat;pointer-events:none}.isolated-art{background-repeat:no-repeat;background-position:center;background-size:contain!important}.currency-art{display:inline-block;width:24px;height:24px;flex:none;background-image:var(--currency-atlas);background-repeat:no-repeat;vertical-align:middle}.inline-currency{width:23px;height:23px}.pack-currency-art{width:70px;height:58px}.decor-art{display:block;object-fit:contain;pointer-events:none}
.play-screen{display:flex;flex-direction:column;min-height:100%;height:100%;padding:0 14px 8px;gap:8px}.play-matchup{position:relative;flex:1;min-height:240px;margin:0 -14px;overflow:hidden;isolation:isolate;container-type:size;background:var(--home-camp) center/cover no-repeat}.play-matchup::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(#fff5e2c0 0%,#fff5e24a 20%,transparent 38%,transparent 83%,#fff3df 100%)}.play-stage{position:absolute;top:14px;left:50px;right:50px;text-align:center;z-index:3}.play-stage h1{font-size:37px;font-weight:900;letter-spacing:.1px}.play-stage p,.play-stage small{display:block;font-size:18px;line-height:1.2;margin-top:4px;color:#47382b}.play-map{position:absolute;right:15px;top:25px;z-index:4;min-height:48px;font-size:13px;padding:8px 12px;border-radius:14px}.play-map svg{width:18px;height:18px}.home-fighter{position:absolute;z-index:2;width:auto;aspect-ratio:1;bottom:calc(100% - var(--camp-foot-y,89%) - var(--actor-blank-ratio,.07) * var(--actor-height,230px));height:var(--actor-height,230px);pointer-events:none}.home-fighter.player{--actor-height:min(63cqh,65cqw,245px);left:-3%}.home-fighter.enemy{--actor-height:min(53cqh,57cqw,211px);right:-3%;transform:scaleX(-1)}.home-fighter>.hero-sprite,.home-fighter>.combat-pose{height:100%;width:100%;background-size:contain!important;background-position:center;aspect-ratio:1}.versus{position:absolute;z-index:3;left:50%;top:64%;transform:translate(-50%,-50%);font-size:22px;font-weight:900}.fighter-labels{display:flex;align-items:center;justify-content:space-around;gap:14px;position:absolute;bottom:1px;left:12px;right:12px;z-index:4}.fighter-labels>span,.fighter-labels>b{display:block;max-width:47%;border:1px solid #dfc8a4;border-radius:20px;background:linear-gradient(#fffcef,#fff0d5);padding:5px 12px;font-size:12px;font-weight:900;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-shadow:0 2px 2px #77624024}.play-equipped{display:flex;flex-direction:column;align-items:center;gap:6px;flex:none;text-align:center}.play-equipped h2,.play-equipped h3,.play-equipped>strong{font-size:17px;font-weight:900;line-height:1.1}.play-gear-row{display:flex;align-items:center;justify-content:center;gap:11px;max-width:100%;overflow-x:auto;padding:1px 3px}.play-gear-row>button,.play-gear-row>.tiny-gear{position:relative;display:grid;place-items:center;flex:none;width:76px;min-height:71px;height:71px;border:1px solid #d9bf9b;border-radius:13px;background:linear-gradient(#fff4df,#fbe0b6);border-image-source:var(--v09-slot,none);border-image-slice:var(--v09-slot-slice,40) fill;border-image-width:var(--v09-slot-edge,13px);padding:5px;box-shadow:0 2px 2px #8d6d4320}.play-gear-row .gear-art{width:100%;height:100%;aspect-ratio:1}.play-gear-row .isolated-art{transform:scale(1.1)}.upgrade-link{min-height:48px;padding:5px 7px;font-size:13px;font-weight:900;line-height:1.15;text-align:center;text-decoration:underline;text-underline-offset:4px;background:transparent;color:var(--c-ink);border:0;box-shadow:none}.upgrade-link svg{width:18px;height:18px}.win-preview{flex:none;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #d9bd95;border-radius:16px;background:linear-gradient(#fff4e2,#fce7c4);border-image-source:var(--v09-panel,none);border-image-slice:var(--v09-panel-slice,48) fill;border-image-width:var(--v09-panel-edge,16px);min-height:80px}.win-preview>strong,.win-preview h3,.win-preview>small{font-size:14px;font-weight:900;color:var(--c-ink);line-height:1.1}.win-preview>div,.win-reward-values{display:flex;align-items:center;justify-content:center;gap:17px;width:100%;font-size:24px;font-weight:900;line-height:1.1}.win-preview>div>span,.win-reward-values>span{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.win-preview>div>span+span,.win-reward-values>span+span{border-left:1px solid #c7a677;padding-left:17px}.win-preview .currency-art{width:31px;height:31px}.win-preview svg{width:29px;height:29px}.xp-reward,.xp-value{color:var(--c-xp)}.play-fight{flex:none;min-height:59px;font-size:28px;font-weight:900;gap:13px;border-radius:18px}.play-fight svg{width:35px;height:35px}.play-utility{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.play-utility>button{font-size:11px;min-height:40px}.intent-return{width:100%;font-size:13px;min-height:48px}.coach-strip{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #d1bc98;border-radius:13px;background:#fff0d7}.coach-strip>b{flex:1;font-size:12px}.coach-strip>.primary{min-height:42px;font-size:13px;padding:7px 9px}
.market-screen,.shop-screen{display:flex;flex-direction:column;gap:8px;padding:5px 14px 7px;min-height:100%;height:100%}.market-screen .shop-heading{display:none}.shop-heading{display:flex;align-items:center;gap:9px}.shop-heading h1{font-size:25px}.shop-tabs,.shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:none}.shop-tabs>button,.shop-categories>button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:43px;padding:7px 5px;border:1px solid #d6b58d;border-radius:12px;background:linear-gradient(#fff7e8,#f6e2c3);box-shadow:0 2px 1px #b2946630;font-size:15px;font-weight:900;line-height:1}.shop-tabs>button.active,.shop-categories>button.active{background:linear-gradient(#34687b,#21495b);color:white;border-color:#234a59;box-shadow:0 2px 1px #102f3a50}.shop-tabs svg,.shop-tabs .ui-icon{width:20px;height:20px}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;height:clamp(274px,calc(100svh - 570px),330px);min-height:274px;flex:none}.shop-card{position:relative;min-width:0;min-height:0;border:1px solid #d5b78c;border-radius:15px;overflow:hidden;background:linear-gradient(#fff9eb,#ffecd0);box-shadow:inset 0 1px 2px #fff}.shop-card.selected{border:2px solid var(--c-selected);background:linear-gradient(#fff9ec,#fff0d9);box-shadow:inset 0 0 0 1px #fff8}.shop-card.sold{background:var(--c-disabled)}.offer-select{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;width:100%;height:100%;min-height:0;padding:5px 3px 5px;background:transparent;border:0;border-radius:14px;overflow:hidden}.offer-select>.gear-art{width:78px;max-width:88%;height:77px;min-height:48px;flex:1;max-height:88px;aspect-ratio:1}.offer-select>.isolated-art{transform:scale(1.16);transform-origin:center}.offer-select>h3{font-size:13px;font-weight:900;line-height:1.02;text-align:center;width:100%;white-space:normal;overflow-wrap:anywhere;z-index:1}.offer-price{display:flex;align-items:center;justify-content:center;gap:4px;min-height:24px;font-size:23px;font-weight:900;line-height:1.05;white-space:nowrap}.offer-price>.currency-art{width:23px;height:23px}.offer-select>.rarity-badge{min-height:15px;padding:2px 7px;font-size:9px;font-weight:900;border-radius:9px}.offer-grade,.offer-star{position:static;display:block;background:none;border:0;padding:0;font-size:10px;font-weight:800;line-height:1.1;min-height:11px;color:var(--c-ink);box-shadow:none}.lock-button{position:absolute;top:0;right:0;width:39px;min-width:39px;height:39px;min-height:39px;padding:9px;background:transparent;border:0;box-shadow:none;z-index:3;color:var(--c-ink)}.lock-button svg,.lock-button>.ui-icon{width:18px;height:18px}.lock-button.locked{background:#d7e9ee;border-radius:0 12px 0 15px}.offer-check{position:absolute;left:5px;top:5px;width:27px;height:27px;border-radius:50%;background:var(--c-selected);color:#fff;display:grid;place-items:center;font-size:19px;font-weight:900;z-index:4;pointer-events:none}.market-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;flex:none}.market-refresh{display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;padding:7px 10px;border-radius:13px;font-size:13px;font-weight:900;white-space:nowrap}.market-refresh svg{width:22px;height:22px}.market-refresh small{display:none}.market-info{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:48px;font-size:12px;font-weight:900}.market-info .text-button{min-width:42px;padding:7px;font-size:15px;text-decoration:none}.matching-context,.market-selection{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:2px 0 0;flex:none;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:center;min-height:115px}.matching-context>h3,.matching-context>header,.matching-title{display:block;align-self:flex-start;text-align:left;max-width:100%;padding:5px 9px;border-radius:11px;background:#f7dfb3;font-size:15px;font-weight:900;line-height:1.15}.matching-context>p,.matching-why{font-size:12px;font-weight:700;color:var(--c-ink);line-height:1.2}.matching-preview{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:34px;padding:7px 6px;border:1px solid #d6bc99;border-radius:10px;background:#fff1d7;font-size:14px;line-height:1.2}.matching-preview>span{white-space:nowrap}.matching-preview>span+span{border-left:1px solid #cfb18a;padding-left:10px}.matching-preview .gain,.matching-preview .positive{font-weight:900;color:var(--c-positive)}.matching-preview .cost,.matching-preview .warning{font-weight:900;color:var(--c-warning);background:var(--c-warningTint);border-radius:8px;padding:1px 4px}.bench-hint,.matching-context>small{font-size:12px;color:#66533f;line-height:1.2}.matching-context .text-button{min-height:40px}.market-selection>.gear-art,.market-selection>.next-stat,.market-selection>.icon-button{display:none}.shop-purchase-notice{min-height:44px;font-size:12px;padding:8px 10px;border:1px solid #d8c3a1;border-radius:12px;background:#fff0d8;text-align:left}.shop-purchase-notice b{float:right}.shop-screen:not(.market-screen){height:auto}.currency-packs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gem-pack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:155px;padding:12px;border:1px solid #d5bc98;border-radius:17px;background:linear-gradient(#fff8ed,#fae7c7)}.gem-pack .pack-currency-art{width:85px;height:66px}.gem-pack .primary{font-size:17px;min-height:46px;width:100%}.shop-bundle{display:flex;align-items:center;gap:9px;min-height:95px;text-align:left}.shop-bundle>.hero-sprite{width:66px;height:75px;aspect-ratio:1}.shop-bundle>div{flex:1}.shop-bundle h3{font-size:19px}.shop-bundle p{font-size:12px;margin-top:5px}.price-pill{font-size:16px;font-weight:900}.proposed{font-size:11px;text-align:center;color:var(--c-muted)}
.gear-screen{display:flex;flex-direction:column;gap:8px;min-height:100%;padding:6px 14px 10px}.pack-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;flex:none}.pack-heading h1,.pack-heading h2{font-size:24px}.pack-heading .weight,.pack-heading .weight-label{display:flex;align-items:center;gap:6px;max-width:48%;font-size:12px;font-weight:800}.pack-heading .weight>div{display:flex;flex-direction:column}.pack-heading .weight b{font-size:20px;line-height:1}.pack-heading .icon-button{width:44px;min-width:44px;height:48px;border:0;background:transparent;box-shadow:none}.pack-heading svg{width:23px;height:23px}.pack-section-label,.equipped-label,.bench-heading{font-size:16px;font-weight:900;line-height:1.1}.equipped-pack{flex:none;padding:7px;border:1px solid #d4b88f;border-radius:20px;background:#fff0d8}.equipped-pack>h3{font-size:15px;padding:0 2px 7px}.bag-grid{position:relative;display:grid;gap:5px;width:100%;padding:0;container-type:inline-size}.bag-cell{position:relative;display:grid;place-items:center;padding:0;min-width:0;min-height:0;border:1px solid #d7ba91;border-radius:11px;background:linear-gradient(#fff6e6,#fae6c6);color:#ddc8a8;font-size:18px}.bag-cell>span{font-size:0}.bag-piece{position:relative;min-width:0;min-height:0;padding:0;overflow:hidden;border:2px solid #bfa17e;border-radius:13px;background:linear-gradient(#fcead1,#f3d7ad);box-shadow:inset 0 1px 1px #fff9;container-type:size;z-index:2;touch-action:none}.bag-piece.selected{border:2px solid var(--c-selected);box-shadow:inset 0 0 0 1px #fffb}.piece-art{display:block;position:absolute;inset:4px 3px 23px;transform:rotate(var(--piece-angle,0deg));pointer-events:none}.piece-art>.gear-art{width:100%;height:100%;aspect-ratio:auto;background-size:800% 800%}.piece-art>.isolated-art{background-size:contain!important}.piece-art.turned{inset:auto;left:50%;top:44%;width:calc(100cqh - 25px);height:calc(100cqw - 8px);transform:translate(-50%,-50%) rotate(var(--piece-angle,90deg))}.piece-art>.gear-art:not(.isolated-art){position:absolute;left:50%;top:50%;width:min(100cqw,100cqh);height:min(100cqw,100cqh);transform:translate(-50%,-50%)}.piece-caption,.piece-label{position:absolute;left:3px;right:3px;bottom:4px;display:flex;align-items:center;justify-content:center;gap:3px;max-height:29px;padding:3px 3px;border:1px solid #e3d1b6;border-radius:9px;background:#fff9ee;font-size:8px;font-weight:900;line-height:1.1;z-index:5;pointer-events:none}.piece-caption strong,.piece-label strong{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.piece-caption .footprint,.piece-label .footprint{padding:2px 3px;background:#fff;border-radius:4px;white-space:nowrap}.piece-caption .gear-level,.piece-label .gear-level{padding:2px 3px;background:#f8efdf;border-radius:4px;white-space:nowrap}.star-text{position:absolute;right:4px;bottom:4px;min-width:20px;padding:3px 5px;border-radius:7px;background:#fff9e9;font-size:10px;font-weight:900;z-index:5;pointer-events:none}.bag-piece>.rarity-badge.compact{display:none}.pack-hint{font-size:11px;text-align:center;color:var(--c-muted);margin:0}.bench-row{display:flex;flex-direction:column;gap:7px;flex:none;padding:0;background:transparent;border:0}.bench-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:16px;font-weight:900}.bench-label small{font-size:11px;font-weight:600}.bench{display:flex;gap:7px;min-height:48px;overflow:auto;scrollbar-width:thin;align-items:center}.bench-empty{font-size:12px;color:#715d45;padding:8px 10px;border:1px dashed #d6b891;border-radius:13px;width:100%}.bench-card{position:relative;display:flex;align-items:center;gap:9px;flex:none;width:100%;min-height:80px;padding:8px 10px;border:2px solid #c8ab83;border-radius:15px;background:linear-gradient(#fff9eb,#ffecd0);text-align:left}.bench-card.selected{border:2px solid var(--c-selected);box-shadow:0 0 0 2px #fff5e2}.bench-card>.gear-art{width:77px;height:60px}.bench-card>div{flex:1;min-width:0}.bench-card h3,.bench-card strong{font-size:14px;font-weight:900;line-height:1.15}.bench-card .badge-line{display:flex;align-items:center;gap:6px;margin-bottom:5px}.bench-card .new-tag,.new-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:12px;background:var(--c-selected);color:white;font-size:11px;font-weight:900;line-height:1}.bench-card .gear-level{font-size:10px;white-space:nowrap;background:#fff9ee;border:1px solid #dfc7a7;border-radius:8px;padding:3px 5px}.bench-card>.offer-check{left:4px;top:4px;width:23px;height:23px;font-size:16px}.bench .bag-piece{height:68px;width:68px;flex:none;min-width:68px}.bench .piece-art{inset:2px 2px 17px}.bench-status{font-size:12px;font-weight:900;text-align:center;color:#6e5436;min-height:23px;padding:3px;line-height:1.2}.gear-selection{display:flex;align-items:center;gap:8px;min-height:59px;padding:8px 10px}.gear-selection>.gear-art{height:45px;width:45px}.gear-selection>div{flex:1;min-width:0}.gear-selection h3{font-size:16px;line-height:1.1}.gear-selection small{display:block;margin-top:4px;font-size:11px}.gear-selection>.secondary{font-size:11px;padding:7px;min-width:53px}.gear-context-action,.inventory-primary{width:100%;min-height:57px;font-size:21px;flex:none}.inventory-shortcuts,.inventory-utility{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inventory-shortcuts>button,.inventory-utility>button{font-size:14px;min-height:48px;padding:8px}.inventory-shortcuts svg,.inventory-utility svg{width:21px;height:21px}.codex-link{display:flex;align-items:center;justify-content:center;gap:6px}.codex-link small{display:block;font-size:10px}.capacity-row{display:flex;align-items:center;gap:8px;min-height:48px;flex:none}.capacity-row>div{flex:1;min-width:0}.capacity-row strong{font-size:19px;font-weight:900}.capacity-row small{display:block;font-size:11px;margin-top:3px}.capacity-row>.icon-button{background:transparent;border:0;box-shadow:none}.capacity-track{height:9px;min-height:9px;flex:none}.upgrade-goal{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;font-size:13px}.upgrade-goal strong{font-size:14px}.upgrade-goal p{font-size:12px;line-height:1.3}.stage-banner{display:none}.rarity-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:17px;padding:3px 7px;border:0;border-radius:12px;background:var(--rarity-glow,#e6e1d8);font-size:10px;font-weight:900;line-height:1;color:var(--c-ink);white-space:nowrap;flex:none}.rarity-badge>b{font-size:11px;color:var(--rarity-border,var(--c-common))}.rarity-badge.compact{position:absolute;left:4px;top:4px;padding:2px 4px;min-height:16px;z-index:4;background:#fffb}.rarity-badge.compact .rarity-short{display:none}.grade-badge,.level-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:1px solid #d7c1a2;border-radius:9px;background:#fff8e8;font-size:11px;font-weight:900;line-height:1.1;white-space:nowrap}.grade-badge small{font-size:9px;color:inherit}.rarity-grade-line{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:9px}
.modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:#36291966;isolation:isolate;overflow:hidden}.modal-window{position:relative;display:flex;flex-direction:column;min-height:0;width:min(100%,420px);max-height:92svh;border:1px solid #e9d8bc;border-radius:28px;background:radial-gradient(ellipse at 45% 25%,#fffbf2,#fff0d9);box-shadow:0 8px 28px #45351d40;overflow:hidden;animation:popup-in .17s ease-out}.modal-top{display:flex;align-items:center;gap:9px;min-height:64px;padding:14px 15px 8px;flex:none}.modal-top>div{flex:1;min-width:0}.modal-top h2{font-size:26px;font-weight:900;line-height:1.1}.modal-top>.icon-button{width:48px;min-width:48px;height:48px;border:1px solid #d4b88e;border-radius:50%;background:linear-gradient(#fff8e9,#f5dfbb);box-shadow:0 2px 1px #90704b33}.modal-body{padding:8px 15px 12px;min-height:0;overflow:auto;overscroll-behavior:contain}.modal-actions{display:flex;flex-wrap:wrap;gap:8px;padding:8px 15px 16px;flex:none}.modal-actions>.primary,.modal-actions>.secondary{flex:1;min-width:120px}.modal-actions>.wide{flex-basis:100%}.modal-actions>.primary{min-height:58px;font-size:23px}.gear-sheet{align-items:flex-end;justify-content:center;padding:0 max(0px,calc((100vw - 480px)/2));background:#3529195c}.gear-sheet.above-nav{padding-bottom:0}.bottom-sheet{width:100%;max-width:480px;max-height:79svh;border-radius:31px 31px 0 0;box-shadow:0 -5px 22px #513b2028}.bottom-sheet::before{content:'';display:block;flex:none;width:47px;height:6px;margin:9px auto 0;border-radius:10px;background:#b7a389}.bottom-sheet .modal-top{padding-top:9px;padding-bottom:6px;min-height:60px}.bottom-sheet .modal-top h2{font-size:27px}.bottom-sheet .modal-body{padding-top:3px}.bottom-sheet .modal-actions{padding-top:7px;padding-bottom:max(17px,env(safe-area-inset-bottom,0px))}.merge-equation{display:grid;grid-template-columns:minmax(0,1fr) 21px minmax(0,1fr) 25px minmax(0,1fr);align-items:center;gap:5px;margin:3px 0 8px;padding:0 3px}.merge-equation>.merge-card,.merge-equation>.merge-item{min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px}.merge-card>.gear-art,.merge-item>.gear-art{width:100%;height:80px;aspect-ratio:1;max-width:94px;padding:4px;border:1px solid #d9bd93;border-radius:12px;background-color:#ffeacc}.merge-card .gear-level,.merge-item .gear-level{display:block;font-size:10px;line-height:1.1;font-weight:900;border:1px solid #dbc09b;border-radius:7px;padding:3px 5px;background:#fff6e7;white-space:nowrap}.merge-card>.rarity-badge,.merge-item>.rarity-badge{font-size:9px;padding:3px 6px}.merge-equation>.merge-operator,.merge-equation>span:not(.gear-art){text-align:center;font-size:27px;font-weight:900;line-height:1}.merge-equation>.gear-art{width:100%;height:85px;aspect-ratio:1}.merge-level-line{font-size:15px;font-weight:800;text-align:center;margin:4px 0 8px;color:#5e4730}.upgrade-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #d5b78f;border-radius:13px;margin:7px 0 9px;background:#fff3dc;font-size:16px;font-weight:800;line-height:1.15}.upgrade-table th{background:#f3dfbb;padding:7px 8px;font-size:13px;font-weight:900;text-align:left}.upgrade-table th:not(:first-child),.upgrade-table td:not(:first-child){text-align:center}.upgrade-table td{padding:5px 8px}.upgrade-table tbody tr:nth-child(even){background:#fff8e9}.upgrade-table th:first-child,.upgrade-table td:first-child{width:45%;font-weight:900}.upgrade-table .gain,.upgrade-table .positive,.effect-next,.stat-gain{color:var(--c-positive);font-weight:900}.upgrade-table .cost,.stat-cost{color:var(--c-warning);background:var(--c-warningTint);border-radius:12px;font-weight:900}.upgrade-table .cost>span{display:inline-block;min-width:55px;padding:2px 8px;border-radius:12px;background:#ffe5a0}.merge-cost{font-size:14px;font-weight:900;text-align:center;margin:7px 0 9px;line-height:1.2}.merge-destination{padding:8px 10px;border:1px dashed #c5aa82;border-radius:14px;background:#fff5e5;text-align:center;font-size:12px;line-height:1.5;color:#5f4d37;margin:7px 0}.merge-destination>span,.merge-destination>p{display:block;color:inherit;font-size:12px;line-height:1.5}.merge-stats,.merge-refund{font-size:13px;line-height:1.4;margin:7px 0}.merge-tools,.sheet-info-tools{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:6px;min-height:48px}.merge-tools>button,.sheet-info-tools>button{background:transparent;border:0;box-shadow:none;font-size:14px;font-weight:900;min-height:48px}.merge-tools>button+button,.sheet-info-tools>button+button{border-left:1px solid #d8bd96}.item-feature{display:flex;gap:10px;align-items:stretch;margin:3px 0 8px}.item-portrait{position:relative;flex:1;min-width:0;max-width:148px;aspect-ratio:1.05;border:1px solid #d0b38d;border-radius:16px;background:linear-gradient(#fff6e6,#f7dfba);padding:7px;display:grid;place-items:center;overflow:hidden}.item-portrait>.gear-art{height:100%;width:100%;aspect-ratio:auto}.item-portrait>.isolated-art{transform:scale(1.1)}.footprint-badge{position:absolute;bottom:4px;left:5px;padding:3px 5px;border-radius:6px;background:#fff8e8;font-size:9px;font-weight:800}.item-anchor{display:flex;flex-direction:column;justify-content:center;gap:7px;flex:1;min-width:0}.item-anchor>div{display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid #e3ceb0;border-radius:12px;background:#fff0d6;min-height:38px;font-size:16px}.item-anchor>div svg{width:23px;height:23px}.item-charge{font-size:12px;text-align:center;margin:6px 0 8px;color:#68523c}.upgrade-preview{padding:9px 10px;border:1px solid #d5b68a;border-radius:15px;background:#fff2d7;margin:8px 0}.upgrade-preview>h3{font-size:17px;margin-bottom:7px}.upgrade-columns,.upgrade-stat{display:grid;grid-template-columns:1.45fr 1fr 1fr;align-items:center;gap:7px;padding:6px 7px;min-height:31px;font-size:13px;line-height:1.15}.upgrade-columns{padding-top:2px;padding-bottom:2px;font-size:11px;color:#6e5c45;min-height:22px}.upgrade-stat{border-radius:7px;background:#fff9ec;margin:2px 0}.upgrade-stat>span{display:flex;align-items:center;gap:4px}.upgrade-stat svg{width:19px;height:19px}.upgrade-stat strong{color:var(--c-positive);font-size:14px}.matching-copy{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid #d9c09a;border-radius:14px;background:#fff0d5;text-align:left;margin-top:8px}.matching-copy>div{min-width:0}.matching-copy strong{font-size:16px;font-weight:900}.matching-copy small{display:block;margin-top:4px;font-size:12px;color:#68543b}.matching-copy svg{width:25px;height:25px}.sheet-item-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.sheet-item-tools>.secondary,.item-more>summary.secondary{min-height:48px;font-size:15px;list-style:none;cursor:pointer}.item-more{position:relative;min-width:0}.item-more>summary{width:100%}.item-more>summary::-webkit-details-marker{display:none}.item-more>div{position:absolute;bottom:54px;right:0;min-width:190px;display:flex;flex-direction:column;gap:6px;padding:8px;background:#fff7e8;border:1px solid #d7bd94;border-radius:14px;box-shadow:0 5px 18px #4e351e30;z-index:5}.item-more>div>button{font-size:13px;min-height:44px;width:100%}.refund-line{padding:4px 2px;width:100%;font-size:11px;text-align:center;line-height:1.3;color:#735d45}.refund-line .currency-art{width:18px;height:18px}.item-effects{border:1px solid #ddc6a2;border-radius:12px;background:#fff3dd;padding:9px 11px;font-size:12px;line-height:1.4;margin-top:8px}.item-effects>summary{font-size:13px;font-weight:900;min-height:24px;cursor:pointer}.effect-list{display:flex;flex-direction:column;gap:7px;padding-left:18px;margin:9px 0 2px;color:#685741;font-size:12px;line-height:1.4}.gear-build-hint,.item-unlock-note{font-size:12px;background:#fff0d5;padding:8px 9px;border-radius:10px;margin-bottom:8px}.item-unlock-note.preview{background:var(--c-warningTint);color:var(--c-warning)}.star-stepper{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.star-stepper>button{min-width:42px;min-height:44px;border:1px solid #d7bf98;border-radius:10px;background:#ffefcf;font-size:12px;font-weight:900}.star-stepper>button.active{background:var(--c-selected);color:#fff}.star-stepper>button[data-grade-locked='true']{border-style:dashed;color:var(--c-disabledText);background:var(--c-disabled)}.stat-row,.selected-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #dfc8a6;font-size:13px}.selected-heading{display:flex;align-items:center;gap:8px}.now-next{display:flex;align-items:center;justify-content:space-around;gap:8px;padding:13px 9px;border-radius:15px;background:#fff0d5;margin:7px 0}.now-next>div{text-align:center;min-width:0}.now-next small{display:block;font-size:10px}.now-next b{display:block;font-size:21px;font-weight:900;margin-top:5px}.now-next>span{font-size:24px;color:var(--c-ink)}.payment-summary{padding:13px;border-radius:15px;background:#fff0d4}.payment-summary h3{font-size:20px;margin-bottom:8px}.payment-summary p{font-size:13px}.support-details{font-size:13px;line-height:1.8}.shortage-art{display:flex;justify-content:center;align-items:center;gap:14px;margin:10px}.shortage-art>.gear-art{width:82px;height:88px}.shortage-cost{font-size:24px;font-weight:900}.exchange-shortage{padding:10px;border-radius:12px;background:var(--c-warningTint);font-size:12px;margin:8px 0}.guide-grid{display:flex;flex-direction:column;gap:13px}.guide-grid h3{font-size:18px;margin-bottom:4px}.guide-grid p{font-size:13px}.more-list{display:flex;flex-direction:column;gap:5px}.more-list>button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;text-align:left;padding:9px 11px;border:1px solid #dcc5a2;border-radius:12px;background:#fff0d5;font-size:14px;font-weight:800}.more-list>button>span{display:flex;align-items:center;gap:8px}.more-list>button b{font-size:15px}.more-list svg{width:23px;height:23px}.loading,.fatal{text-align:center;padding:70px 20px}.loading-leaf{font-size:44px;color:var(--c-primary)}.fatal p{font-size:13px;margin-top:15px}.toast{position:fixed;z-index:90;left:50%;bottom:max(90px,calc(70px + env(safe-area-inset-bottom,0px)));transform:translateX(-50%);width:max-content;max-width:min(88vw,395px);padding:12px 17px;border:1px solid #688696;border-radius:16px;background:#254d60f2;color:white;font:800 14px/1.3 Nunito,sans-serif;box-shadow:0 5px 15px #382c1e33;text-align:center;pointer-events:none}.drag-ghost{position:fixed;z-index:85;pointer-events:none;opacity:.92;rotate:-3deg;filter:drop-shadow(0 7px 4px #57452a44)}
.in-battle #main{display:flex;flex-direction:column;padding:0;gap:0;overflow:auto;background:radial-gradient(ellipse at 50% 35%,#fffbf1,#fff0d9)}.battle-heading{display:flex;align-items:center;gap:8px;flex:none;min-height:62px;padding:9px 14px 6px;border-bottom:1px solid #eedbbd}.battle-context{flex:1;min-width:0}.battle-stage,.battle-context>strong{font-size:21px;font-weight:900;line-height:1.1}.battle-context small{display:none}.battle-clock{display:flex;align-items:center;justify-content:center;flex:none;min-width:60px;min-height:44px;font-size:21px;font-weight:900;line-height:1;padding:4px 3px;font-variant-numeric:tabular-nums;background:transparent;border:0;box-shadow:none;color:var(--c-ink)}.battle-clock>svg,.battle-clock>.ui-icon{display:none}.battle-heading>.icon-button{width:48px;min-width:48px;height:48px;border-radius:13px;padding:10px}.speed-button{display:flex;align-items:center;justify-content:center;gap:4px;flex:none;min-width:66px;height:48px;min-height:48px;padding:7px 8px;border:1px solid #d4b58e;border-radius:13px;background:linear-gradient(#fff8e9,#f4dfbd);box-shadow:0 2px 1px #8b704b30;font-size:17px;font-weight:900}.speed-button>svg{width:23px;height:23px}.speed-button[data-speed='2'],.speed-button[data-speed='3']{color:var(--c-selected);border-color:#96b2bd}.battle-status,.overtime-pill{display:inline-flex;align-items:center;gap:3px;font-size:10px;padding:3px 6px;border-radius:9px;background:var(--c-warningTint);color:var(--c-warning)}.battle-hud{display:grid;grid-template-columns:1fr 1fr;gap:18px;flex:none;padding:11px 14px 10px;background:#fff3df}.combat-side{position:relative;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.combat-identity{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:18px;margin-bottom:5px}.combat-avatar{display:none}.combat-name{font-size:12px;font-weight:900;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combat-hp-number,.combat-identity>b,.combat-identity>span:last-child{font-size:12px;font-weight:900;white-space:nowrap}.combat-resource-title{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:4px 0;font-size:11px;font-weight:900;line-height:1.1;white-space:nowrap}.combat-resource-title b{font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.combat-resource-title svg{width:17px;height:17px}.combat-resource-title:not(.armor-title):not(.energy-title)>span{color:var(--c-hp)}.armor-title{color:var(--c-ink);margin-top:5px}.armor-title svg{color:var(--c-armor)}.meter{position:relative;overflow:hidden;height:13px;min-height:13px;border:0;border-radius:14px;background:#d7c9af;box-shadow:inset 0 1px 1px #ae92722c;padding:0}.meter>i{display:block;height:100%;width:0;border-radius:inherit;transition:width .12s linear;background:linear-gradient(#4fa548,var(--c-hp))}.enemy .health-meter>i,.player .health-meter>i{background:linear-gradient(#4fa548,var(--c-hp))}.combat-side .armor-meter{height:9px;min-height:9px;margin-top:3px}.combat-side .armor-meter>.armor-fill{background:linear-gradient(#4bb4ef,var(--c-armor))}.energy-row{display:flex;align-items:center;gap:4px;margin-top:5px;flex-wrap:wrap}.energy-row>small{font-size:10px;color:var(--c-ink);font-weight:900}.energy-row>.meter{flex:1;height:10px;min-height:10px;min-width:0}.energy-row .energy-fill{background:linear-gradient(#21b8ba,var(--c-energy))}.energy-title{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:5px 0 4px;font-size:10px;font-weight:900;line-height:1.1;color:var(--c-ink)}.energy-title svg{color:var(--c-energy);width:16px;height:16px}.energy-cost{font-size:9px;font-weight:800;white-space:nowrap}.energy-threshold{position:absolute;left:var(--charge-threshold,30%);top:-2px;bottom:-2px;width:2px;border-radius:2px;background:var(--c-selected);z-index:3;box-shadow:none}.energy-meter{position:relative;overflow:visible!important}.energy-meter>i{overflow:hidden}.combat-tags{display:flex;align-items:center;flex-wrap:wrap;gap:3px;min-height:0;font-size:9px;margin-top:4px}.combat-tags:empty{display:none}.combat-tags>span{display:inline-flex;align-items:center;padding:2px 4px;border-radius:7px;background:#e9efd1;color:var(--c-poison);font-size:8px}.combat-tags>.burn{background:#ffe7cc;color:var(--c-burn)}.combat-tags>.skill{background:var(--c-selectedTint);color:var(--c-selected)}.last-hit{display:none}.battle-arena{position:relative;isolation:isolate;container-type:size;flex:none;min-height:242px;height:clamp(242px,32svh,300px);overflow:hidden;background:var(--arena-bamboo) center/cover no-repeat;border-radius:0}.battle-arena[data-biome='lotus']{background-image:var(--arena-lotus,var(--arena-bamboo))}.battle-arena[data-biome='snow']{background-image:var(--arena-snow,var(--arena-bamboo))}.battle-arena[data-biome='dusk']{background-image:var(--arena-dusk,var(--arena-bamboo))}.fighter{position:absolute;z-index:2;width:auto;height:var(--actor-height,min(91cqh,66cqw,252px));aspect-ratio:1;max-width:none;bottom:calc(100% - var(--battle-foot-y,91%) - var(--actor-blank-ratio,.07) * var(--actor-height,min(91cqh,66cqw,252px)));transform-origin:50% 93%;pointer-events:none}.fighter.player{left:-3%}.fighter.enemy{right:-3%}.fighter.mirror-hero{transform:scaleX(-1)}.fighter.v05-actor,.fighter.v09-actor{--actor-height:min(91cqh,66cqw,252px)!important;aspect-ratio:1}.fighter>.hero-sprite,.fighter>.combat-pose,.fighter>.guard-sprite{position:relative;z-index:2;height:100%;width:100%;aspect-ratio:1;background-position:center;background-repeat:no-repeat;background-size:contain!important;filter:drop-shadow(0 3px 2px #6b6a3930)}.combat-pose{background-image:var(--combat-atlas);background-repeat:no-repeat;aspect-ratio:1}.ground-shadow{position:absolute;z-index:0;left:22%;width:60%;height:5%;bottom:var(--cell-foot-gap,7%);border-radius:50%;background:#5c643938;filter:blur(3px)}.weapon-grip{position:absolute;z-index:1;left:var(--hand-x,67%);top:var(--hand-y,57%);height:var(--weapon-length,65%);width:auto;transform:translate(calc(-1 * var(--grip-x,16%)),calc(-1 * var(--grip-y,84%))) rotate(var(--weapon-angle,45deg));transform-origin:var(--grip-x,16%) var(--grip-y,84%);pointer-events:none}.weapon-grip>.gear-art{height:100%;width:100%;aspect-ratio:auto}.fx-layer{position:absolute;inset:0;z-index:8;pointer-events:none}.battle-paused{position:absolute;inset:0;z-index:15;display:grid;place-items:center;background:#493e2a70;backdrop-filter:blur(2px)}.battle-paused>div{width:75%;padding:18px;border:1px solid #e4cfac;border-radius:23px;background:#fff4df;text-align:center}.battle-paused h2{font-size:27px;margin-bottom:14px}.battle-paused button+button{margin-top:9px}.battle-weapon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:1;min-height:238px;padding:12px 15px 8px;text-align:center;background:radial-gradient(ellipse at 50% 20%,#fffaf0,#fff0db)}.battle-weapon>h2,.battle-weapon>h3,.battle-weapon>.weapon-label{font-size:17px;font-weight:900;line-height:1.1}.battle-weapon>.weapon-name{font-size:17px;font-weight:900;line-height:1.1}.weapon-card{position:relative;display:grid;place-items:center;width:105px;height:77px;min-height:77px;padding:5px 10px;border:1px solid #d7b98f;border-radius:16px;background:linear-gradient(#fff7e7,#f9dfb7);box-shadow:0 2px 2px #9a784e2a}.weapon-card>.gear-art{width:100%;height:100%;aspect-ratio:auto}.weapon-card>.isolated-art{transform:scale(1.13)}.weapon-clock{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;min-width:170px;max-width:220px;padding:5px 20px 12px;border:1px solid #d5b992;border-radius:25px;background:linear-gradient(#fff9ec,#ffe9c8);box-shadow:0 2px 2px #aa84532b;font-size:22px;font-weight:900;line-height:1}.weapon-clock>svg{width:24px;height:24px}.weapon-clock .meter,.weapon-clock .cooldown-progress{position:absolute;left:28px;right:13px;bottom:5px;height:7px;min-height:7px;max-width:calc(100% - 41px);padding:0;border:0;border-radius:9px;background:#bcb9aa;overflow:hidden}.weapon-clock .cooldown-progress{display:block;left:28px;right:auto;background:var(--c-selected);z-index:2;max-width:calc(100% - 41px)}.weapon-clock .meter>i{background:var(--c-selected);transition:width .08s linear}.charge-readiness{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 0;max-width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center;pointer-events:none;color:var(--c-energy)}.charge-readiness>strong,.charge-readiness>.ready-label{display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px;font-weight:900;line-height:1.15}.charge-readiness svg{height:23px;width:23px}.charge-readiness>small,.charge-readiness>.ready-cost{font-size:14px;font-weight:800;line-height:1.2;color:var(--c-ink)}.charge-readiness.not-ready{color:var(--c-muted)}.battle-details-button{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:53px;width:100%;padding:8px 13px 12px;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--c-ink);font-size:18px;font-weight:900;text-decoration:underline;text-underline-offset:5px}.battle-details-button>svg{width:24px;height:24px}.battle-auto-label,.battle-auto-note,.battle-engine{display:none}.cooldown-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cooldown-item{position:relative;min-width:0;height:100px;min-height:100px;overflow:hidden;padding:6px 3px 23px;border:1px solid var(--rarity-border,#c5aa86);border-radius:12px;background:#fff1d8;display:grid;place-items:center}.cooldown-item>.gear-art{height:100%;width:100%;aspect-ratio:auto}.cooldown-item>.star-text{top:3px;bottom:auto;font-size:10px}.cooldown-progress{position:absolute;left:0;bottom:0;height:21px;background:#8ca5af80;z-index:2}.cooldown-label{position:absolute;left:3px;right:3px;bottom:3px;padding:3px 0;border-radius:7px;background:#254d60de;color:white;font-size:10px;font-weight:800;line-height:1.2;text-align:center;z-index:4}.cooldown-empty{min-height:100px;border:1px dashed #d3bb96;border-radius:12px;background:#fff3df;display:grid;place-items:center;color:#bba47d}.battle-journal{max-height:170px;overflow:auto;font-size:11px}.journal-line{display:flex;gap:7px;padding:5px 0;border-bottom:1px solid #e0cbaa}.journal-line time{white-space:nowrap;font-size:10px;color:#967b55}.damage-float{position:absolute;z-index:4;left:24%;top:5%;pointer-events:none;animation:float-up .65s ease-out forwards}.damage-float.enemy{left:auto;right:20%}.damage-float.damage-summary{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:40%;padding:6px 9px;border:1px solid #f7e1b5;border-radius:14px;background:#fff7e1f5;font:900 19px/1.08 Nunito,sans-serif;text-shadow:none;text-align:center;box-shadow:0 2px 4px #8b70402a}.damage-float.damage-summary.player{left:23%;right:auto}.damage-float.damage-summary.enemy{left:auto;right:13%}.damage-summary .armor-loss{color:var(--c-armor)}.damage-summary .health-loss{color:var(--c-damage)}.damage-summary .health-protected{font-size:11px;color:#7b745c}
/* Retained secondary features and bounded semantic feedback; one state owner. */
/* Existing features use the same card and action vocabulary. */
.heroes-screen,.skin-screen,.season-screen,.victory-screen{padding:8px 13px 14px;display:flex;flex-direction:column;gap:12px;min-height:100%}.heroes-title{text-align:center}.heroes-title p{font-size:13px;margin-top:3px}.hero-roster{display:flex;flex-direction:column;gap:9px}.hero-roster-card{display:flex;align-items:center;gap:9px;min-height:108px;text-align:left;position:relative;overflow:hidden}.hero-roster-card>.hero-sprite{width:100px;height:100px;aspect-ratio:1}.hero-roster-card>div{flex:1}.hero-roster-card.preview-selected{border:2px solid var(--c-selected);background:var(--c-selectedTint)}.hero-roster-card h2{font-size:23px;margin-bottom:6px}.hero-check{position:absolute;right:12px;top:11px;color:var(--c-selected);font-size:23px}.equipped-label{font-size:10px;color:var(--c-selected);position:absolute;right:10px;bottom:11px}.hero-skill{min-height:48px;font-size:13px;padding:12px;background:#fff1dc;border-radius:14px}.hero-use{width:100%;font-size:22px}.hero-spotlight,.skin-stage{position:relative;min-height:240px;overflow:hidden;border-radius:20px;background:var(--home-camp) center/cover;display:flex;justify-content:center;align-items:center}.hero-spotlight>.hero-sprite,.skin-stage>.hero-sprite{height:235px;width:235px;aspect-ratio:1}.hero-title-chip{position:absolute;left:10px;right:10px;bottom:10px;text-align:center;background:#fff8ece8;border-radius:13px;padding:7px}.skin-choice-strip{display:flex;gap:7px;overflow:auto;padding:2px}.skin-choice-strip>button{display:flex;flex-direction:column;align-items:center;min-width:90px;padding:7px;border:1px solid #d3e4d7;border-radius:14px;background:#f9ecd7}.skin-choice-strip .hero-sprite{width:75px;height:85px;aspect-ratio:1}.skin-choice-strip>button.active{border:2px solid var(--c-selected)}.try-on-label,.cosmetic-note{text-align:center;font-size:12px}.skin-price{font-size:14px;text-align:center}.outfit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.outfit-card{padding:10px;border:1px solid #d6e6d7;border-radius:14px;background:var(--c-surface);text-align:center}.outfit-card>.hero-sprite{width:100%;height:145px;aspect-ratio:1}.outfit-card h3{font-size:17px}.outfit-card .primary,.outfit-card .secondary{font-size:13px;width:100%;min-height:38px;margin-top:7px}.codex-filters{display:flex;gap:5px;overflow:auto;padding-bottom:6px;flex:none}.codex-filters>button{min-height:33px;padding:6px 10px;background:#f9ecd7;border:1px solid #d5e7d6;border-radius:10px;font-size:10px;font-weight:800;white-space:nowrap}.codex-filters>button.active{background:var(--c-selected);color:white}.search-field{width:100%;min-height:39px;border:1px solid #d1e2d5;border-radius:12px;padding:8px 11px;margin-bottom:8px;background:#fafffa;font-size:13px;outline:none}.codex-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.codex-entry{display:flex;align-items:center;gap:5px;min-height:72px;min-width:0;padding:6px;border:1px solid var(--rarity-border,#c5d6c7);border-radius:11px;background:linear-gradient(#fffaf0,#fff0d8);text-align:left}.codex-entry .gear-art{width:42px;height:52px}.codex-entry>div{flex:1;min-width:0}.codex-entry strong{font:800 13px/1.1 Baloo,sans-serif;display:block;overflow-wrap:anywhere}.codex-entry small{display:block;font-size:9px;line-height:1.2;margin-top:3px}.codex-entry:only-child{grid-column:1/-1;min-height:87px;padding:9px;gap:11px}.codex-entry:only-child .gear-art{width:62px;height:68px}.codex-entry:only-child strong{font-size:18px}.codex-entry:only-child small{font-size:12px}.modal-window:has(.codex-filters){height:min(78svh,720px);min-height:min(78svh,720px)}.modal-window:has(.codex-filters)>.modal-body{flex:1}.codex-build-link{font-size:15px;min-height:40px;margin-bottom:8px}.mini-gear{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}.mini-gear>button{position:relative;width:57px;min-height:64px;padding:4px;border:1px solid var(--rarity-border,#bfcebf);border-radius:10px;background:var(--c-surface)}.mini-gear .gear-art{width:45px;height:45px}.mini-gear small{font-size:9px;display:block}.build-guide-intro{font-size:13px;margin-bottom:12px}.build-recipe-list{display:flex;flex-direction:column;gap:12px}.build-recipe>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.build-recipe h3{font-size:19px}.build-recipe>header>b{font-size:9px;white-space:nowrap;color:#397d59}.build-recipe .mini-gear{margin:10px 0}.build-recipe p{font-size:13px;font-weight:800}.build-recipe>small{display:block;font-size:12px;margin:5px 0 10px}.build-recipe>.secondary{min-height:40px;font-size:14px}.spar-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.spar-choice{text-align:left;padding:11px;border:1px solid #cee1d0;border-radius:13px;background:#fff3df;min-height:118px}.spar-choice h3{font-size:18px}.spar-choice strong{display:block;font-size:12px;color:#43835a;margin-top:7px}.spar-choice p{font-size:11px;margin-top:6px}.spar-choice.selected{border:2px solid #09a783;background:var(--c-selectedTint)}.spar-select-row{margin-top:12px}.spar-select-row label{display:block;font-size:12px;font-weight:800;margin-bottom:4px}.spar-select-row select{width:100%;padding:10px;border:1px solid #ccdfce;background:var(--c-surface);border-radius:11px;min-height:44px}.info-banner{font-size:12px;padding:9px 11px;border:1px solid #d8ead9;border-radius:12px;background:#fcf0dc}.odds-heading{font-size:19px;margin:15px 0 5px}.merchant-grade-limit{font-size:12px;padding:8px;background:#fcf0dc;border-radius:9px;margin-top:12px}.rival-modal-scene{height:175px;display:flex;justify-content:center;background:var(--arena-bamboo) center/cover;border-radius:16px;overflow:hidden}.rival-modal-scene>.guard-sprite{height:180px;width:180px}.rival-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;font-size:11px;padding:9px}.rival-meta>span{background:#fcf0dc;border-radius:12px;padding:4px 7px}.omen-tag{font-size:12px;border:1px solid #d4e7d6;border-radius:11px;padding:9px;margin-bottom:8px;background:#fcf0dc}.omen-tag>strong{display:block;font-size:14px;margin-bottom:3px}
.reward-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}.reward-tabs>button{min-height:39px;border-radius:12px;background:#f6e7cf;font-size:15px;font-weight:800}.reward-tabs>button.active{background:var(--c-selected);color:white}.daily-progress{background:#faecd3;border-radius:14px;padding:10px;text-align:center;margin-bottom:12px}.daily-progress strong{font:800 21px Baloo,sans-serif}.daily-progress .xp-track{margin-top:7px}.daily-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #dce8dd}.daily-row>.ui-icon{width:26px;height:26px}.daily-row>div{flex:1;min-width:0}.daily-row h3{font-size:16px}.daily-row p,.daily-row small{font-size:11px}.daily-row>.secondary,.daily-row>.primary{font-size:12px;min-height:34px;padding:6px 10px}.daily-status{font-size:10px;color:#598267;font-weight:800}.daily-milestones{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:11px 0}.daily-milestones>button,.daily-milestones>div{padding:8px 5px;border:1px solid #d5e6d5;border-radius:12px;background:#fff1dc;min-height:68px;text-align:center;font-size:11px}.daily-milestones .currency-art{display:block;width:28px;height:28px;margin:0 auto 5px}.daily-note,.reward-note{font-size:11px;text-align:center;margin-top:10px}.weekly-prize,.weekly-season{padding:11px;background:#faecd6;border-radius:13px;margin:8px 0;display:flex;align-items:center;gap:9px;font-size:13px}.weekly-prize>div,.weekly-season>div{flex:1}.weekly-prize .currency-art{width:40px;height:40px}.weekly-season h3{font-size:17px}.weekly-season button{font-size:13px;min-height:36px}.daily-gift{width:70px;height:66px;margin:11px auto -6px;display:grid;place-items:center;flex:none}.daily-gift>.decor-art{width:100%;height:100%}.daily-gift>.ui-icon{width:45px;height:45px}.reward-dialog .modal-top{padding-top:8px}.reward-body-title{text-align:center;font-size:18px;margin-bottom:9px}.season-hero{position:relative;height:195px;overflow:hidden;border-radius:20px;background:var(--home-camp) center/cover}.season-hero>.hero-sprite{position:absolute;height:190px;width:190px;bottom:0;left:50%;transform:translateX(-50%)}.season-outfit-label{position:absolute;left:8px;right:8px;bottom:8px;padding:7px 8px;border-radius:12px;background:#fff8ece8;text-align:center;font-weight:800}.season-days{font-size:12px;text-align:right}.season-progress{padding:10px 12px;border-radius:14px;background:#f9ecd6}.season-progress>.xp-track{margin-top:6px}.season-track{border:1px solid #d3e6d3;border-radius:14px;overflow:hidden}.season-track-head,.season-tier-row{display:grid;grid-template-columns:.9fr 1fr 1fr;gap:4px;text-align:center;align-items:center}.season-track-head{padding:9px 6px;background:#f5e2c5;font-size:12px}.season-track-head .ui-icon{width:17px;height:17px;vertical-align:middle}.season-tier-row{min-height:58px;padding:6px;border-top:1px solid #d9e7d6;background:#fff8ec}.season-tier-row>strong{font-size:13px}.season-tier-row>strong small{display:block;font-size:9px}.season-tier-row>div{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;border-radius:8px;min-height:42px;background:#f7e8ce}.season-tier-row>div.claimable{background:var(--c-selectedTint)}.season-tier-row .currency-art{width:20px;height:20px}.premium-cell{opacity:.65}.all-season-tiers{width:100%}.tier-list{display:flex;flex-direction:column;gap:5px}.tier-row{display:grid;grid-template-columns:28px 1fr 1fr;align-items:center;gap:6px;border-radius:9px;background:#fcf0dc;padding:8px;font-size:12px}.tier-reward b,.tier-reward small{display:block}.tier-reward small{font-size:9px;margin-top:2px}.tier-reward.paid{opacity:.65}
.view-map #main{display:flex;flex-direction:column}.map-screen{display:flex;flex-direction:column;min-height:100%;height:100%;padding:0 12px 12px;gap:8px}.map-viewport{position:relative;container-type:size;flex:1;min-height:280px;overflow:hidden;border-radius:20px;background:#d5e7c7}.map-world{position:absolute;flex:none;width:max(100cqw,calc(100cqh * .8));height:auto;aspect-ratio:var(--map-ratio);background:var(--trail-scene) center/100% 100%;left:50%;top:50%;transform:translate(-50%,-50%)}.map-node{position:absolute;transform:translate(-50%,-50%);width:57px;height:42px;min-height:42px;border:1px solid #c5e2c4;border-radius:50%;background:#f3f9e6;box-shadow:0 3px #9abf92,0 0 0 4px #e5f7d6a0;font:800 22px Baloo,sans-serif;padding:2px;display:flex;align-items:center;justify-content:center;z-index:2}.map-node.future>.ui-icon,.map-node.future>svg{position:absolute;width:21px;height:21px;top:-15px;background:#f5ffea;border-radius:7px;padding:2px}.map-node.passed>span{position:absolute;right:-7px;top:-12px;border:2px solid #f5ffed;border-radius:50%;width:24px;height:24px;font:900 17px Nunito,sans-serif;background:#5aaf59;color:#fff}.map-node.current{background:#09ac87;color:white;box-shadow:0 4px #05775f,0 0 0 5px #c3f6caae;width:74px;height:49px;z-index:3;font-size:28px}.map-node.current>.guard-sprite{position:absolute;height:65px;width:65px;left:53px;top:-27px}.map-next{display:flex;align-items:center;gap:9px;min-height:63px}.map-next>.guard-sprite{width:51px;height:51px}.map-next>div{flex:1}.map-next h3{font-size:17px}.map-next p{font-size:11px}.map-next>.primary{font-size:15px;min-height:40px}.victory-screen{gap:9px;text-align:center}.result-wallet{font-size:15px;text-align:right}.result-wallet .currency-art{width:20px;height:20px;margin-left:7px}.victory-scene{position:relative;min-height:235px;display:flex;align-items:center;justify-content:center;background:var(--home-camp) center/cover;border-radius:22px;overflow:hidden}.victory-scene>.hero-sprite,.victory-scene>.decor-art{height:215px;width:215px;object-fit:contain}.victory-banner{position:absolute;bottom:8px;left:15px;right:15px;background:#fff4deed;border-radius:16px;padding:8px;text-align:center;color:#197048}.victory-banner>.decor-art{display:none}.victory-banner h1{font-size:29px}.victory-stage{font-size:20px}.victory-rewards{display:flex;flex-direction:column;gap:6px;padding:10px 13px;border:1px solid #d9e9d6;border-radius:15px;background:#fff8ec}.victory-rewards>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;text-align:left}.victory-rewards strong{display:flex;align-items:center;gap:7px;font-weight:700}.victory-rewards .ui-icon{width:20px;height:20px}.victory-rewards b{white-space:nowrap}.victory-total{display:flex;align-items:center;justify-content:center;gap:8px}.victory-total .pack-currency-art{width:43px;height:43px}.victory-total h1{font-size:29px}.wallet-change{display:flex;justify-content:center;align-items:center;gap:12px;font-size:17px;font-weight:800}.wallet-change>span{color:#22a47e}.victory-upgrade,.victory-capacity{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;font-size:14px}.victory-upgrade strong{font-size:20px}.victory-upgrade span{font-size:12px}.victory-upgrade b,.victory-capacity b{color:#1f915b}.victory-claim{font-size:22px}.result-hero{height:210px;display:flex;justify-content:center;overflow:hidden}.result-hero>.hero-sprite,.result-hero>.guard-sprite{height:220px;width:220px;aspect-ratio:1}.result-body{text-align:center}.result-body h3{font-size:23px;margin-bottom:8px}.result-body p{font-size:13px}
@keyframes popup-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}@keyframes float-up{0%{opacity:0;translate:0 7px}20%{opacity:1}to{opacity:0;translate:0 -28px}}

/* Bounded feedback from real session events. */
.feedback-layer{position:fixed;inset:0;z-index:70;pointer-events:none;overflow:hidden;contain:layout style}.action-burst{position:absolute;width:1px;height:1px;animation:burst-life .7s linear}.action-burst>i{position:absolute;width:9px;height:9px;border-radius:2px;background:#ffe58b;box-shadow:0 0 4px #f2b442;animation:action-spark .6s ease-out both;animation-delay:var(--delay,0ms)}.action-burst.merge>i{width:12px;height:12px;background:#b7ffed;box-shadow:0 0 5px #3ce0b8}.action-burst.levelup>i{width:14px;height:14px;background:#fff1a3}
.wallet-delta{position:absolute;translate:-50% 0;font:900 18px Baloo,sans-serif;white-space:nowrap;border-radius:10px;padding:2px 6px;background:#fff1bf;box-shadow:0 2px 6px #23423430;animation:wallet-delta .95s ease-out forwards}.wallet-delta.gain{color:#237b43}.wallet-delta.spend{color:#a35b36}.loot-flight{position:absolute;width:28px;height:28px;display:grid;place-items:center;animation:loot-fly .65s cubic-bezier(.6,-.1,.4,.9) both;animation-delay:var(--delay,0ms)}.loot-flight>.currency-art{width:28px;height:28px}.merge-announcement{position:absolute;left:50%;top:38%;translate:-50% 0;background:#096f65;color:#fff5c6;border:2px solid #e6bd64;border-radius:15px;padding:10px 18px;font:800 20px/1.1 Baloo,sans-serif;white-space:nowrap;box-shadow:0 5px 16px #213f4560;animation:merge-announcement 1.3s ease-out forwards}

/* Battle visuals consume semantic events, with bounded DOM and no second clock. */
.combat-fx{position:absolute;left:30%;top:63%;translate:-50% -50%;pointer-events:none;color:#fff6d1;font:900 20px/1.05 Baloo,sans-serif;text-align:center;white-space:nowrap;text-shadow:0 2px 1px #163b38;animation:fx-pulse .65s ease-out forwards}.combat-fx.enemy{left:70%}.combat-fx.center{left:50%}.fx-impact{width:52px;height:52px;border:3px solid #fff5b8;border-radius:50%;background:radial-gradient(circle,#fffce5d0,transparent 65%);box-shadow:0 0 15px #ffc35390;animation:hit-impact .23s ease-out forwards}.fx-impact::before,.fx-impact::after{content:"";position:absolute;top:50%;left:-14px;width:74px;height:3px;background:#fff4bd;rotate:35deg}.fx-impact::after{rotate:-35deg}
.fx-slash{width:98px;height:90px;border-top:7px solid #fff3b3;border-right:3px solid #ffe573;border-radius:50%;rotate:-40deg;filter:drop-shadow(0 0 4px #f8bb48);animation:weapon-arc .23s ease-out forwards}.fx-slash.player{rotate:40deg;scale:-1 1}.fx-slash.charged{width:124px;height:105px;border-width:10px 5px 0 0;border-color:#ffe16b}.fx-slash.critical{border-color:#fff8e2;filter:drop-shadow(0 0 6px #ff844a)}
.fx-critical,.fx-charge-impact{width:86px;height:86px;border:4px solid #fff4bc;border-radius:20%;rotate:45deg;background:radial-gradient(circle,#fff8c3c0,#ff943b38 50%,transparent 70%);box-shadow:0 0 22px #ffbc5b88;animation:hit-impact .36s ease-out forwards}.fx-charge-impact{border-radius:50%;border-color:#ffe375}
.fx-shield{width:110px;height:115px;display:grid;place-items:center;background:radial-gradient(ellipse,#65e5ed33 20%,transparent 70%);border:3px solid #adf6ff;border-radius:50% 50% 43% 43%;box-shadow:0 0 12px #66e7fa55;color:#dbffff;font-size:14px;animation:shield-pulse .55s ease-out forwards}.fx-heal{width:130px;height:120px;display:grid;place-items:center;background:radial-gradient(ellipse,#a8ff8760,transparent 65%);border-bottom:3px solid #b7ffab;border-radius:50%;color:#d1ffb9;animation:heal-rise .85s ease-out forwards}.fx-heal::before,.fx-heal::after{content:"+";position:absolute;color:#d8ffc2;left:13px;top:39px;font-size:25px}.fx-heal::after{left:auto;right:12px;top:16px}
.fx-poison,.fx-burn,.fx-pressure{font-size:15px;padding:18px 12px;border-radius:50%;background:radial-gradient(ellipse,#9cde5c88,transparent 70%);color:#e1ffae;animation:heal-rise .8s ease-out forwards}.fx-poison::before{content:"✧";font-size:24px;display:block}.fx-burn{background:radial-gradient(ellipse,#ffac4d88,transparent 70%);color:#ffe1ad}.fx-burn::before{content:"♨";font-size:25px;display:block}.fx-pressure{color:#ffc3b2;background:radial-gradient(ellipse,#df794455,transparent 70%)}
.fx-freeze{width:140px;height:105px;display:grid;place-items:center;border:2px solid #d1f9ff;background:radial-gradient(ellipse,#adf4ff70,transparent 70%);clip-path:polygon(50% 0,85% 20%,100% 65%,75% 100%,25% 100%,0 65%,15% 20%);color:#e6fdff;font-size:15px;animation:shield-pulse .7s ease-out forwards}.fx-cleanse{width:150px;height:100px;display:grid;place-items:center;border-bottom:4px solid #c1ffeb;border-radius:50%;background:radial-gradient(ellipse,#b8ffdb77,transparent 65%);color:#e4fff1;animation:heal-rise .7s ease-out forwards}.fx-charge,.fx-counter,.fx-callout,.fx-skill{top:34%;font-size:18px;max-width:210px;white-space:normal;padding:6px 11px;border-radius:13px;background:#085f64df;border:1px solid #b1efea;color:#e1fff7;animation:combat-callout .85s ease-out forwards}.fx-counter{background:#206a8fed;color:#d7f8ff;border-color:#b3eeff}.fx-charge,.fx-callout.charged{background:#8e6516e8;color:#fff0ae;border-color:#ffe1a1}.fx-skill{font-size:19px;top:23%;background:#377546eb;border-color:#d4ef9f;color:#f1ffcf}.fx-start{left:50%;top:38%;font-size:46px;color:#fff1b8;animation:fight-start .65s ease-out forwards}.damage-float.charged{font-size:30px;color:#ffe5a2}.damage-float{z-index:2;white-space:nowrap}
.cooldown-item.frozen::after{content:"❄";position:absolute;inset:0;z-index:2;display:grid;place-items:center;background:#9ee8ff70;color:#f1ffff;font-size:35px;text-shadow:0 1px #4d88a1;pointer-events:none}.cooldown-item.hasted{box-shadow:inset 0 0 0 2px #edbe46,0 0 5px #f3c04f88}.cooldown-item.slowed{box-shadow:inset 0 0 0 2px #7597c2}.cooldown-label{z-index:4}.effects-paused .combat-fx,.effects-paused .damage-float,.effects-background *{animation-play-state:paused!important}
@keyframes gift-idle{0%,78%,100%{rotate:0deg}82%{rotate:-7deg}87%{rotate:6deg}92%{rotate:-3deg}}@keyframes camp-motes{0%,100%{translate:0 0;opacity:.4}50%{translate:2px -8px;opacity:.9}}@keyframes check-pop{from{scale:.65}70%{scale:1.16}to{scale:1}}
@keyframes burst-life{to{opacity:0}}@keyframes action-spark{from{translate:0 0;scale:1;opacity:1}to{translate:var(--dx) var(--dy);scale:.2;opacity:0}}@keyframes wallet-delta{0%{opacity:0;translate:-50% -5px}20%{opacity:1;translate:-50% 3px}80%{opacity:1}to{opacity:0;translate:-50% 22px}}@keyframes loot-fly{0%{translate:0 0;scale:1;opacity:0}15%{opacity:1}85%{opacity:1;scale:.8}to{translate:var(--dx) var(--dy);scale:.5;opacity:0}}@keyframes merge-announcement{0%{opacity:0;scale:.7}18%{opacity:1;scale:1.04}30%,75%{opacity:1;scale:1}to{opacity:0;translate:-50% -16px;scale:.98}}
@keyframes fx-pulse{0%{opacity:0;scale:.75}20%{opacity:1;scale:1.06}to{opacity:0;scale:1.15}}@keyframes hit-impact{from{opacity:1;scale:.45}60%{opacity:1}to{opacity:0;scale:1.3}}@keyframes weapon-arc{from{opacity:0;scale:.6;translate:-60% -30%}35%{opacity:1}to{opacity:0;scale:1.18;translate:-40% -65%}}@keyframes shield-pulse{0%{opacity:0;scale:.65}25%{opacity:1;scale:1.04}65%{opacity:.8}to{opacity:0;scale:1.12}}@keyframes heal-rise{0%{opacity:0;translate:-50% -30%;scale:.85}25%{opacity:1}to{opacity:0;translate:-50% -85%;scale:1.12}}@keyframes combat-callout{0%{opacity:0;translate:-50% -20%;scale:.8}18%{opacity:1;translate:-50% -50%;scale:1.03}65%{opacity:1;scale:1}to{opacity:0;translate:-50% -90%}}@keyframes fight-start{0%{opacity:0;scale:1.5}20%,60%{opacity:1;scale:1}to{opacity:0;scale:.85}}

.home-quick-links>button{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:18px 13px;text-align:left;column-gap:4px;row-gap:0}.home-quick-links>button>.ui-icon,.home-quick-links>button>svg{grid-row:1/3}.home-quick-links>button>strong{align-self:end;font:800 13px/1 Baloo,sans-serif;white-space:nowrap}.home-quick-links>button>small{align-self:start;white-space:nowrap;font-size:9px}.home-world>.v05-character.home-companion{--home-actor-height:min(106cqh,72cqw,242px);background-size:contain!important}
.fighter{bottom:calc(100% - var(--battle-foot-y,90%) - var(--actor-blank-ratio,.06) * var(--actor-height,78%))}.fx-shield{width:84px;height:90px;font-size:13px}.fx-poison,.fx-burn,.fx-pressure{font-size:12px;padding:10px 8px}.fx-poison::before,.fx-burn::before{font-size:19px}.fx-charge,.fx-counter,.fx-callout{font-size:15px;padding:5px 8px;top:21%}.fx-armor-break{width:110px;height:85px;display:grid;place-items:center;color:#e1faff;font-size:15px;border:2px dashed #a7e5ff;border-radius:45%;background:radial-gradient(ellipse,#67c7e255,transparent 65%);animation:armor-shatter .7s ease-out forwards}@keyframes armor-shatter{0%{opacity:1;scale:.7}35%{opacity:1;scale:1}to{opacity:0;scale:1.5;rotate:10deg}}
.wallet-delta{background:#f1fff0;color:#27815b;border:1px solid #d3eacb;box-shadow:0 2px 6px #23423420}.merge-announcement{background:#0b8067;color:white;border:1px solid #b4f1d4;border-radius:17px}.action-burst>i{background:#8febc8;box-shadow:0 0 4px #45d7ab}.action-burst.levelup>i{background:#ffd481}.loot-flight>.currency-art{width:28px;height:28px}.damage-float.damage-summary.charged{font-size:16px}

/* v0.6: live build information and wall-time presentation phases. */

.build-summary>header{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:6px;font:800 14px/1.15 Baloo,Nunito,sans-serif}

.build-summary>header small{font:700 10px/1.3 Nunito,sans-serif;color:#657e70}

.build-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}

.build-summary.compact{padding:8px 9px}

.build-summary.compact>header{font-size:12px;margin-bottom:4px}

.build-summary.compact .build-stat{font-size:9px}

.build-summary.compact .build-stat>strong{font-size:15px}

.build-summary.compact .combo-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:4px;margin-top:5px}

.combo-entry{min-width:0;padding:5px 7px;border:1px solid #d8e9df;border-radius:9px;background:#f5faf5;text-align:left;line-height:1.35}

.combo-entry.active{border-color:#a9dac6;background:#e5f6ec}

.combo-entry>strong{font:800 12px/1.15 Baloo,Nunito,sans-serif;color:#235e4c}

.combo-entry>small,.combo-entry>span{display:block;color:#668071;font-size:10px;overflow-wrap:anywhere}

.combo-entry .combo-count{display:inline-block;margin-left:4px;white-space:nowrap;color:#16876b;font-weight:800}

.combo-entry .combo-title{display:flex;align-items:center;justify-content:space-between;gap:5px;font:800 12px/1.2 Baloo,Nunito,sans-serif;color:#235e4c}

.combo-entry .combo-core-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:1px 5px;flex:none;border-radius:6px;background:#d8eee2;color:#16876b;font:800 9px/1.3 Nunito,sans-serif;white-space:nowrap}

.combo-entry .combo-hint,.combo-entry .combo-counter{display:block;margin-top:2px;color:#668071;font-size:10px;line-height:1.35;overflow-wrap:anywhere}

.combo-entry .combo-counter{color:#4c7560;font-size:9px}

.build-crit{font:700 9px/1.3 Nunito,sans-serif;color:#647c6e;text-align:right;max-width:55%}

.build-summary.compact .combo-entry{padding:3px 5px}

.build-summary.compact .combo-entry>strong{font-size:10px}

.build-summary.compact .combo-title{font-size:10px}

.build-summary.compact .combo-entry>small,.build-summary.compact .combo-hint,.build-summary.compact .combo-counter{display:none}

.summary-note{font-size:9px;line-height:1.4;color:#718275;margin-top:5px}

.result-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}

.result-items{max-height:140px;overflow-y:auto;scrollbar-width:thin;border-top:1px solid #dfebe2;margin-top:7px;padding-top:4px}

.result-items>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 0;font-size:10px;border-bottom:1px solid #e1ece4}

.result-items .gear-art{width:28px;height:28px}

.result-items strong{font-size:11px;font-weight:800}

.result-items>section+section{border-top:1px solid #d9e8de;margin-top:5px;padding-top:5px}

.result-items h4{margin:3px 0;font:800 11px/1.3 Baloo,Nunito,sans-serif;color:#527563}

.result-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1px 6px;padding:4px 0;border-bottom:1px solid #e1ece4;font-size:10px;line-height:1.3}

.result-item>small{grid-column:1/-1;font-size:9px;color:#6a8171}

.result-item>strong{font-variant-numeric:tabular-nums}

.item-effect-comparison{padding:9px;border:1px solid #d7e8df;border-radius:13px;background:#f1f8f3;margin-top:8px;font-size:11px;line-height:1.4}

.effect-compare-heading,.effect-compare-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr) minmax(0,.7fr);align-items:start;gap:6px;padding:5px 3px;overflow-wrap:anywhere}

.effect-compare-heading{font-weight:800;font-size:10px;color:#6a7d70}

.effect-compare-row{border-top:1px solid #dfece2}

.effect-compare-row .effect-next{color:#168561;font-weight:800}

.effect-compare-row.unchanged .effect-next{color:#718476;font-weight:700}

.effect-compare-row>span:first-child{font-size:10px}

.effect-compare-row>span>small{display:block;margin-top:2px;color:#718375;font-size:9px;line-height:1.35}

.effect-compare-heading>h3{margin:0;font-size:12px;line-height:1.3}

.item-effect-comparison>.summary-note{padding:3px}


.build-summary{display:block;padding:9px 10px;border:1px solid #d7e8e0;border-radius:16px;background:linear-gradient(135deg,#f8fcfa,#edf7f1);flex:none}

.build-stat{min-width:0;display:flex;flex-direction:column;gap:1px;text-align:center;font-size:10px;color:#647b70}

.build-stat>strong,.build-stat>b{font:800 16px/1.15 Baloo,Nunito,sans-serif;color:#163d36;font-variant-numeric:tabular-nums}

.build-stat>span{overflow-wrap:anywhere}

.build-stat>svg{width:18px;height:18px;align-self:center}

.combo-summary{display:grid;grid-template-columns:1fr;gap:5px;font-size:10px;line-height:1.3;text-align:center;color:#347560;border-top:1px solid #dcebe2;padding-top:5px}

.combo-summary:empty{display:none}

.combo-summary>.combo-note{grid-column:1/-1;font-size:8px;line-height:1.3;color:#718375}

.combo-summary>.combo-hint{grid-column:1/-1;margin:0;font-size:10px;color:#64816e}

.combo-summary>strong{font-weight:900;color:#165747}

.combo-summary>span,.combo-summary>.combo-chip{padding:2px 6px;background:#e0f2e9;border-radius:7px}

.gear-weight-cells,.weight-cells{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#60786e}

.weight-cells>span{white-space:nowrap}

.capacity-row .weight-label{font-size:16px}

.capacity-row .cell-count{font-size:11px;color:#60786e}

.result-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:9px 0;flex:none}

.result-stat,.result-stats>div{min-width:0;padding:8px;border:1px solid #d9e9df;border-radius:11px;background:#f4faf5;font-size:10px;line-height:1.3;text-align:center;color:#617d6d}

.result-stat>strong,.result-stat>b,.result-stats>div>strong,.result-stats>div>b{display:block;font:800 17px/1.1 Baloo,Nunito,sans-serif;color:#163d36}

.result-stat>span{display:block}

.result-reason{padding:10px 12px;border:1px solid #c7e4d5;border-left:4px solid #30b695;border-radius:12px;background:#eef8f0;color:#355f4d;font-size:12px;line-height:1.4;margin:8px 0}

.result-reason>strong{display:block;color:#174f3e;font:800 15px/1.25 Baloo,Nunito,sans-serif;margin-bottom:3px}

.result-reason.loss,.result-reason[data-outcome="lost"]{border-left-color:#ea8a60;background:#fff4ea}

.result-time{font-size:11px;text-align:center;color:#627c6f;margin:5px 0}

.result-item-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:11px;padding:5px 0;border-bottom:1px solid #e1ece3}

.result-item-row>.gear-art{width:30px;height:30px}

.result-item-row>strong{font-variant-numeric:tabular-nums}

.item-budget-note,.upgrade-limit-note{font-size:10px;line-height:1.4;color:#647b6f;padding:6px 1px}

.audio-controls{display:flex;flex-direction:column;gap:12px;padding:12px;border:1px solid #d9e9df;border-radius:15px;background:#f1f8f2}

.audio-level{display:grid;grid-template-columns:70px minmax(0,1fr) 34px;align-items:center;gap:8px;font-size:13px;font-weight:800}

.audio-level>input[type="range"]{width:100%;min-width:0;min-height:44px;accent-color:#0ba78b;touch-action:pan-y;cursor:pointer}

.audio-level>output,.audio-level-value{text-align:right;font-variant-numeric:tabular-nums;font-size:12px;color:#527764}

.audio-level>small{grid-column:2/-1;font-size:10px;font-weight:400}

.placement-preview{position:absolute;inset:0;z-index:7;display:grid;grid-template-columns:repeat(var(--preview-columns,4),minmax(0,1fr));grid-template-rows:repeat(var(--preview-rows,5),minmax(0,1fr));gap:var(--cell-gap,4px);pointer-events:none;border-radius:12px}

.preview-cell{min-width:0;min-height:0;border-radius:8px;border:2px solid transparent}

.preview-cell.valid{background:#52d6a738;border-color:#27b78e}

.preview-cell.invalid{background:#ed896248;border-color:#db704d}

.bag-cell.drop-valid{border-color:#16a985;background:#cef2e2;box-shadow:inset 0 0 0 1px #1fb790}

.bag-cell.drop-invalid{border-color:#db7957;background:#ffe4d6;box-shadow:inset 0 0 0 1px #de8967}

.bag-cell.drop-invalid::after{content:"×";position:absolute;inset:0;display:grid;place-items:center;font:800 26px/1 Nunito,sans-serif;color:#ba553b;background:#fff1e965;border-radius:inherit;pointer-events:none}

[data-piece].adjacency-preview{outline:2px solid #22b995;outline-offset:-2px;filter:drop-shadow(0 0 3px #94edca)}

.pack-hint.drag-feedback{color:#117a5e;font-weight:800}

.pack-hint.drag-feedback.invalid,.pack-hint.drag-feedback[data-valid="false"]{color:#b35637}

.gear-tile.adjacent-buff,.cooldown-item.triggered{box-shadow:inset 0 0 0 2px #36c9ac,0 0 0 2px #b7efdf;filter:brightness(1.04)}

.gear-tile.adjacent-buff::after{content:"+";position:absolute;right:5px;top:4px;width:15px;height:15px;border-radius:50%;background:#0aa98c;color:white;font:900 12px/15px Nunito,sans-serif;z-index:5;text-align:center}

.fighter{--phase-ms:180ms}

.fighter[data-phase="windup"]>.combat-pose,.fighter.phase-windup>.combat-pose,.fighter[data-phase="windup"]>.hero-sprite,.fighter.phase-windup>.hero-sprite{animation:actor-windup var(--phase-ms) ease-out both}

.fighter[data-phase="contact"]>.combat-pose,.fighter.phase-contact>.combat-pose,.fighter[data-phase="contact"]>.hero-sprite,.fighter.phase-contact>.hero-sprite{animation:actor-contact var(--phase-ms) ease-out both}

.fighter[data-phase="contact"]>.weapon-grip,.fighter.phase-contact>.weapon-grip{animation:weapon-contact var(--phase-ms) cubic-bezier(.2,.8,.25,1) both}

.fighter[data-phase="recover"]>.combat-pose,.fighter.phase-recover>.combat-pose,.fighter[data-phase="recover"]>.hero-sprite,.fighter.phase-recover>.hero-sprite{animation:actor-recover var(--phase-ms) ease-out both}

.fighter[data-phase="hit"]>.combat-pose,.fighter.phase-hit>.combat-pose,.fighter[data-phase="hit"]>.hero-sprite,.fighter.phase-hit>.hero-sprite{animation:actor-hit var(--phase-ms) ease-out both}

.fighter[data-phase="guard"]>.combat-pose,.fighter.phase-guard>.combat-pose,.fighter[data-phase="guard"]>.hero-sprite,.fighter.phase-guard>.hero-sprite{animation:actor-guard var(--phase-ms) ease-out both}

.fighter[data-phase="skill"]>.combat-pose,.fighter.phase-skill>.combat-pose,.fighter[data-phase="skill"]>.hero-sprite,.fighter.phase-skill>.hero-sprite{animation:actor-skill var(--phase-ms) ease-out both}

.fighter[data-phase="ko"]>.combat-pose,.fighter.phase-ko>.combat-pose,.fighter[data-phase="ko"]>.hero-sprite,.fighter.phase-ko>.hero-sprite{animation:actor-ko var(--phase-ms,350ms) ease-in forwards}

.fighter[data-phase="ko"]>.weapon-grip,.fighter.phase-ko>.weapon-grip{opacity:0;transition:opacity .16s}

.fighter[data-phase="win"]>.combat-pose,.fighter.phase-win>.combat-pose,.fighter[data-phase="win"]>.hero-sprite,.fighter.phase-win>.hero-sprite{animation:actor-win var(--phase-ms,450ms) ease-out both}

.fx-haste,.fx-slow,.fx-thaw,.fx-skill{top:14%;font-size:12px;padding:7px 10px;border:1px solid #bae5d7;border-radius:12px;background:#f4fff2ed;color:#11765d;text-shadow:none;box-shadow:0 2px 5px #15493518;animation:semantic-status .48s ease-out forwards}

.fx-haste{color:#ae7a15;border-color:#ead994;background:#fff9dcec}

.fx-slow{color:#486b92;border-color:#b4cce6;background:#edf5ffed}

.fx-thaw{color:#23788e;border-color:#a7d7df;background:#effdffef}

.fx-skill{top:8%;font-size:13px;color:#136852;border-color:#70cfaf;background:#e8fff3ee;padding:8px 13px}

.fx-haste::before{content:"» ";font-weight:900}

.fx-slow::before{content:"◷ ";font-weight:900}

.fx-thaw::before{content:"✧ ";font-weight:900}

.fx-source,.fx-target{width:18px;height:18px;padding:0;border:2px solid #97efcc;border-radius:50%;background:#2ac19355;box-shadow:0 0 7px #98f8d7;animation:source-ring .3s ease-out forwards}

.fx-target{border-color:#7cd5eb;background:#69c8e33d}

.fx-source-target,.fx-link{height:3px;width:var(--link-width,70px);border-radius:4px;padding:0;transform-origin:0 50%;rotate:var(--link-angle,0deg);background:linear-gradient(90deg,#53cbb2,#caf7e8);box-shadow:0 0 4px #9df4db;animation:source-link .3s ease-out forwards}

.fx-source-target.enemy,.fx-link.enemy{background:linear-gradient(90deg,#ef9a7f,#ffe0ce)}

#fx-layer>.fx-source-target{position:absolute;translate:0 -50%;text-shadow:none;pointer-events:none}

.combat-side.low-health .health-meter{outline:1px solid #eb926f;box-shadow:0 0 0 2px #ffd8c445}

.effects-paused .fighter>.combat-pose,.effects-paused .fighter>.hero-sprite,.effects-paused .fighter>.weapon-grip{animation-play-state:paused!important}

@keyframes actor-windup{from{translate:0 0;rotate:0deg}to{translate:-5px 0;rotate:-2deg}}

@keyframes actor-contact{from{translate:-5px 0;rotate:-2deg}to{translate:7px 0;rotate:1deg}}

@keyframes weapon-contact{from{rotate:-10deg}to{rotate:12deg}}

@keyframes actor-recover{from{translate:7px 0;rotate:1deg}to{translate:0 0;rotate:0deg}}

@keyframes actor-hit{0%{translate:0 0}35%{translate:-7px 1px;rotate:-2deg;filter:brightness(1.12)}to{translate:0 0;rotate:0deg}}

@keyframes actor-guard{0%{translate:0 0}35%{translate:-2px 0;filter:drop-shadow(0 0 4px #81dcdf)}to{translate:0 0}}

@keyframes actor-skill{0%{translate:0 0}40%{translate:0 -3px;filter:drop-shadow(0 0 5px #a3eac5)}to{translate:0 0}}

@keyframes actor-ko{from{translate:0 0;rotate:0deg;opacity:1}to{translate:0 8px;rotate:-10deg;opacity:.55}}

@keyframes actor-win{0%{translate:0 0}45%{translate:0 -4px}to{translate:0 0}}

@keyframes semantic-status{0%{opacity:0;translate:-50% 0}20%{opacity:1;translate:-50% -20%}70%{opacity:1}to{opacity:0;translate:-50% -60%}}

@keyframes source-ring{from{opacity:1;scale:.6}to{opacity:0;scale:1.5}}

@keyframes source-link{0%{opacity:0}20%,55%{opacity:.9}to{opacity:0}}

@media(prefers-reduced-motion:reduce){.fighter>.combat-pose,.fighter>.hero-sprite,.fighter>.weapon-grip{animation:none!important}.fighter[data-phase="ko"]>.combat-pose,.fighter.phase-ko>.combat-pose{opacity:.55}.fx-source,.fx-target,.fx-source-target,.fx-link{display:none!important}}


/* Bounded gear-to-target feedback; no additional animation owner. */
#fx-layer>.fx-source-target.family-projectile{height:4px;background:linear-gradient(90deg,#9fe8ef,#fff6c6);box-shadow:0 0 6px #87e9ed}

#fx-layer>.fx-source-target.family-heavy{height:6px;background:linear-gradient(90deg,#f4c477,#fff0c5)}

#fx-layer>.fx-source-target.family-dual{height:2px;box-shadow:0 5px 0 #9df0d2}


.result-more{padding:8px 0;text-align:left}
.result-more>summary{padding:10px;border-radius:12px;background:#e6f4ec;font-weight:800;color:#196653;cursor:pointer}
.result-more>.result-stat-grid{margin-top:9px}


.build-more>summary{padding:7px 4px;font-size:10px;letter-spacing:.03em;font-weight:800;color:#28745e;cursor:pointer}
.build-more[open]>.build-stats{padding-top:7px}
/* Shared v09 feature skin. These rules replace prior mint feature accents;
   semantic resource/status colors and existing feature owners stay separate. */
.weight-display{display:flex;align-items:center;gap:6px;justify-content:flex-end;min-height:48px;padding:3px 0 3px 7px;background:transparent;border:0;box-shadow:none}.weight-display>span{display:flex;flex-direction:column;text-align:center;gap:1px}.weight-display small{font-size:11px;font-weight:900;color:var(--c-ink)}.weight-display strong{font-size:20px;font-weight:900;line-height:1}.weight-display>svg{width:22px;height:22px}.gear-primary{flex:none}.gear-primary>.primary{min-height:59px;width:100%;font-size:21px}.gear-screen>.equipped-label{position:static;display:block;font-size:16px;font-weight:900;color:var(--c-ink)}
.piece-caption>.piece-label{position:static;inset:auto;display:block;flex:1;min-width:0;max-height:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:9px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.piece-caption>.footprint-badge{position:static;inset:auto;padding:2px 3px;border:0;border-radius:5px;background:#fffdf7;font-size:9px;font-weight:900;white-space:nowrap}.piece-caption>small{font-size:9px;line-height:1.1;white-space:nowrap;background:#fff4df;border-radius:4px;padding:2px 3px;color:var(--c-ink);font-weight:900}.bag-piece[aria-label^='Padded Vest,'] .piece-art>.isolated-art{transform:scale(1.25);transform-origin:center}
.bench .bag-piece.bench-card{display:flex;flex-direction:row;width:100%;min-width:100%;height:82px;min-height:82px;flex:none;padding:6px 9px;gap:7px;container-type:normal;border-radius:15px}.bench-card>.piece-art{position:relative;inset:auto;left:auto;top:auto;height:65px;width:82px;min-width:82px;flex:none;transform:rotate(var(--piece-angle,0deg))}.bench-card>.piece-art>.gear-art{height:100%;width:100%;aspect-ratio:1}.bench-card>.bench-copy{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.bench-copy>.badge-line{margin:0}.bench-copy h3{font-size:14px;font-weight:900;line-height:1.1;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.bench-copy>.level-pill{position:absolute;right:0;bottom:0;font-size:9px;min-height:20px;padding:3px 5px}.new-badge{display:inline-flex;align-items:center;gap:4px;border-radius:12px;background:var(--c-selected);color:#fff;padding:3px 7px;font-size:10px;font-weight:900;white-space:nowrap;line-height:1}.bench-copy .rarity-badge{font-size:9px;padding:3px 7px;min-height:17px}.bench .bench-card.selected{border-color:var(--c-selected)}
.matching-context{position:relative;gap:7px;padding-top:0;margin-top:auto}.matching-context>header{position:absolute;right:0;top:-3px;z-index:2;background:none;border:0;padding:0;border-radius:0}.matching-context>header>h3{display:none}.matching-context>header>.text-button{display:grid;place-items:center;min-width:48px;width:48px;height:48px;min-height:48px;padding:8px;text-decoration:none;background:transparent}.matching-context>header>.text-button>svg{width:20px;height:20px}.matching-context .matching-owned{display:flex;align-items:center;align-self:flex-start;gap:7px;max-width:calc(100% - 40px);padding:5px 8px;margin:0;border-radius:10px;background:#f6ddb1;font-size:14px;font-weight:900;line-height:1.1;color:var(--c-ink)}.matching-owned>span{white-space:nowrap}.matching-why>small{font-size:10px;white-space:nowrap;font-weight:800;color:var(--c-ink)}.matching-preview>.gain{color:var(--c-ink);font-weight:700}.matching-preview>.gain>b{color:var(--c-positive);font-weight:900}.matching-preview>.cost{background:transparent;padding:0;border-radius:0;color:var(--c-warning);font-weight:700}.matching-preview>.cost>b{font-weight:900}.matching-context>.item-unlock-note{font-size:10px;margin:0;padding:4px 6px}
.offer-grade-line{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;max-width:100%;flex:none;line-height:1}.offer-grade-line>.rarity-badge{font-size:9px;min-height:14px;line-height:1;padding:2px 6px;text-transform:uppercase}.offer-grade-line>small{display:block;max-width:100%;font-size:9px;line-height:1.1;white-space:nowrap;font-weight:800;color:var(--c-ink)}
.merge-equation>.merge-symbol{font-size:27px;font-weight:900;text-align:center;line-height:1}.merge-level{font-size:14px;text-align:center;font-weight:800;color:#65503a;line-height:1.2;margin:4px 0 8px}.merge-card.merge-output{padding:0;display:flex;flex-direction:column;justify-content:center}.merge-card>.level-pill{font-size:9px;padding:3px 5px;border-radius:7px}.upgrade-table tbody th{font-size:14px;font-weight:900;background:transparent;padding:5px 8px}.upgrade-table tbody td{font-size:15px}.upgrade-table .gain{color:var(--c-positive)}.upgrade-table .cost{color:var(--c-warning)}.merge-cost{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:13px}.pair-warning{margin-top:8px;padding:8px 10px;border:1px solid #d0a45f;border-radius:11px;background:var(--c-warningTint);color:var(--c-warning);font-size:12px;line-height:1.3}.sheet-item-tools>.text-button{background:transparent;border:0;border-radius:0;box-shadow:none;text-decoration:none;font-size:14px;min-height:48px}.sheet-item-tools>.text-button+.text-button{border-left:1px solid #d5b890}
.hero-roster-card,.outfit-card,.gem-pack,.spar-choice,.codex-entry,.build-summary,.build-stat,.combo-entry,.result-item,.item-effect-comparison,.season-progress,.daily-progress,.daily-milestones>div,.daily-milestones>button,.weekly-prize,.weekly-season,.season-tier-row,.tier-row{color:var(--c-ink);background-color:var(--c-surface);border-color:#d7be98}.hero-roster-card.preview-selected,.skin-choice-strip>button.active,.spar-choice.selected,.codex-filters>button.active,.reward-tabs>button.active{border-color:var(--c-selected);background:var(--c-selectedTint);color:var(--c-ink)}.hero-check,.equipped-label,.build-recipe>header>b{color:var(--c-selected)}.hero-skill,.skin-choice-strip>button,.codex-filters>button,.season-track-head,.season-tier-row>div,.tier-row,.info-banner,.merchant-grade-limit,.omen-tag,.rival-meta>span{background:#fff0d7;border-color:#d7bd97;color:var(--c-ink)}.season-tier-row>div.claimable{background:var(--c-selectedTint)}.search-field{background:#fffaf2;border-color:#d7be99}.hero-title-chip,.season-outfit-label,.victory-banner{background:#fff7e6ed;color:var(--c-ink)}.victory-upgrade b,.victory-capacity b,.effect-compare-row .effect-next{color:var(--c-positive)}.result-reason.loss,.result-reason[data-outcome='lost']{background:var(--c-damageTint);color:var(--c-damage)}.result-more>summary{background:#fff0d7;color:var(--c-ink)}.build-more>summary{color:var(--c-ink);font-size:12px}.build-summary>header small,.summary-note{color:var(--c-muted)}.build-summary.compact .build-stat{background:#fff3e1}.build-summary.compact .combo-entry.active{background:var(--c-selectedTint)}.audio-level>input[type='range']{accent-color:var(--c-selected)}.wallet-delta{background:#fff7e4;border-color:#d9bd91;font-family:Nunito,sans-serif}.wallet-delta.gain{color:var(--c-positive)}.wallet-delta.spend{color:var(--c-warning)}.merge-announcement{background:var(--c-selected);border-color:#8ba7b4;color:#fff;font-family:Nunito,sans-serif}.result-item-row>strong{font-family:Nunito,sans-serif}
.damage-float.damage-summary{background:#fff7e1f5;border-color:#f5dba6;font-family:Nunito,sans-serif;font-size:19px;top:6%;color:var(--c-damage)}.damage-float.damage-summary.charged,.damage-float.damage-summary.critical{font-size:21px}.damage-summary .armor-loss{color:var(--c-armor)}.damage-summary .health-loss{color:var(--c-damage)}.damage-summary .health-protected{color:#88785b;font-size:11px}.battle-arena .fx-poison,.battle-arena .fx-burn{top:12%;padding:4px 7px;border-radius:10px;font-size:10px;text-shadow:none;background:#fff1d5;color:var(--c-poison)}.battle-arena .fx-burn{color:var(--c-burn)}.battle-arena .fx-skill{top:5%;font-size:14px}.battle-arena .fx-start{top:35%;font-size:38px}.combat-side.low-health .health-meter{box-shadow:0 0 0 1px var(--c-damage)}
.fighter.enemy{transform:scaleX(-1)}
.energy-row>.energy-label{display:flex;align-items:center;flex-wrap:wrap;gap:3px;width:100%;min-height:16px;line-height:1.1}.energy-label>svg{width:16px;height:16px;color:var(--c-energy)}.energy-label>[data-energy]{font-size:10px;font-weight:900;white-space:nowrap;color:var(--c-ink)}.energy-label>.energy-cost{margin-left:auto;font-size:9px}.energy-row>.energy-meter{width:100%;flex-basis:100%;flex-grow:0;min-height:10px}.energy-meter>.energy-threshold{position:absolute;left:var(--charge-threshold,30%);top:-2px;bottom:auto;width:2px;height:calc(100% + 4px);border-radius:2px;background:var(--c-selected);z-index:3;transition:none}
.health-meter{margin-left:21px;overflow:visible}.health-meter::before{content:'';position:absolute;left:-22px;top:-3px;width:19px;height:19px;background-color:var(--c-hp);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S2 15 2 8a5 5 0 0 1 10-3A5 5 0 0 1 22 8c0 7-10 13-10 13Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S2 15 2 8a5 5 0 0 1 10-3A5 5 0 0 1 22 8c0 7-10 13-10 13Z'/%3E%3C/svg%3E") center/contain no-repeat}.armor-title>span{display:flex;align-items:center;gap:4px}.armor-title>span>svg{width:18px;height:18px;color:var(--c-armor)}.armor-title b{font-size:12px}.combat-side .armor-meter{margin-left:21px}
.weapon-clock{overflow:hidden;min-height:46px;padding-top:5px;padding-bottom:11px}.weapon-clock>.weapon-track{position:absolute;display:block;left:31px;right:13px;bottom:5px;height:7px;border-radius:9px;background:#bdb8a7;overflow:hidden}.weapon-track>.cooldown-progress{position:absolute;left:0;right:auto;bottom:0;max-width:100%;height:100%;border-radius:inherit;background:var(--c-selected);z-index:1}.weapon-clock>.cooldown-label{position:relative;display:block;inset:auto;z-index:3;padding:0;min-width:57px;background:none;color:var(--c-ink);font:900 22px/1 Nunito,sans-serif;text-align:center}.weapon-clock>svg{position:relative;z-index:3;width:25px;height:25px;margin-left:-9px}.weapon-selector{display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;overflow:auto;padding:2px 0}.weapon-selector>button{display:grid;place-items:center;width:49px;height:49px;min-width:49px;min-height:49px;padding:3px;border:1px solid #d6bb94;border-radius:10px;background:#fff1d9}.weapon-selector>button.selected{border:2px solid var(--c-selected);background:var(--c-selectedTint)}.weapon-selector .gear-art{width:100%;height:100%;aspect-ratio:1}
.xp-reward svg{fill:#9b77c9;stroke:#675094;stroke-width:1.4;filter:drop-shadow(0 1px 0 #6d548c)}.combo-entry.active{background:var(--c-selectedTint);border-color:#afc5cf}.combo-core-count{color:var(--c-selected)}
.view-result #main{display:flex;flex-direction:column}.victory-screen{display:flex;flex-direction:column;min-height:100%;padding:19px 16px 12px;gap:13px;text-align:center}.victory-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:0;height:auto;overflow:visible;background:none;border:0;border-radius:0;flex:none}.victory-scene>.hero-sprite,.victory-scene>.combat-pose,.victory-scene>.victory-hero{width:130px;height:130px;aspect-ratio:1;background-position:center;background-size:contain!important;object-fit:contain}.victory-banner{position:static;inset:auto;display:block;background:none;padding:0;border:0;border-radius:0}.victory-banner h1{font:900 34px/1.05 Nunito,sans-serif;color:var(--c-ink)}.victory-banner>.decor-art{display:none}.victory-stage{font-size:20px;font-weight:900;line-height:1.15}.victory-rewards{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px 12px;border:1px solid #d8bf99;border-radius:17px;background:linear-gradient(#fff9ec,#ffedcd);border-image-source:var(--v09-panel,none);border-image-slice:var(--v09-panel-slice,48) fill;border-image-width:var(--v09-panel-edge,16px)}.victory-rewards>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:14px;text-align:center}.victory-rewards>div+div{border-left:1px solid #d9bd94;padding-left:10px}.victory-rewards strong{font-size:12px;justify-content:center;font-weight:800}.victory-rewards b{display:flex;align-items:center;gap:5px;font-size:27px;font-weight:900}.victory-rewards .currency-art{width:32px;height:32px}.victory-xp{padding:11px 12px;border:1px solid #dbc3a0;border-radius:14px;background:#fff6e6;text-align:left}.victory-xp>div{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:13px;font-weight:900;margin-bottom:7px}.victory-xp>.xp-track{height:12px}.victory-fact{font-size:12px;color:var(--c-muted);line-height:1.3}.result-details{padding:0;text-align:left}.result-details>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;font-size:14px;font-weight:900;color:var(--c-ink);text-decoration:underline;text-underline-offset:4px;cursor:pointer}.result-details>summary::-webkit-details-marker{display:none}.result-details[open]{padding-bottom:8px}.victory-goal{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;background:none;border:0;box-shadow:none;font-size:14px;font-weight:900;text-decoration:underline;text-underline-offset:4px}.view-result #sticky-cta{padding:7px 16px 16px}.view-result #sticky-cta>.primary{min-height:60px;font-size:25px}
/* Game Menu uses the same secondary surface as the other live dialogs. */
.menu-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.menu-list>.list-button{display:grid;grid-template-columns:26px minmax(0,1fr) 14px;align-items:center;column-gap:10px;width:100%;min-width:0;min-height:64px;padding:12px;text-align:left;white-space:normal;border:1px solid #d7bea0;border-radius:14px;background:linear-gradient(#fff7e9,#f5e3c8);border-image-source:var(--v09-secondary,none);border-image-slice:var(--v09-secondary-slice,40) fill;border-image-width:var(--v09-secondary-edge,14px);box-shadow:0 2px 1px #80643e28;color:var(--c-ink);font:700 15px/1.2 Nunito,sans-serif}
.menu-list>.list-button>svg,.menu-list>.list-button>.ui-icon{width:24px;height:24px}
.menu-list>.list-button>span{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0;text-align:left}
.menu-list>.list-button strong{display:block;font:800 15px/1.2 Nunito,sans-serif;color:var(--c-ink)}
.menu-list>.list-button small{display:block;font:400 12px/1.3 Nunito,sans-serif;color:var(--c-muted);white-space:normal}
/* Minimum touch targets stay physical controls; explanatory labels are flat. */
.lock-button,.codex-filters>button,.star-stepper>button,.skin-choice-strip>button,.reward-tabs>button,.daily-row>.primary,.daily-row>.secondary,.build-recipe>.secondary,.outfit-card>.primary,.outfit-card>.secondary,.more-list>button,select{min-height:48px}.lock-button{width:48px;height:48px;min-width:48px}.shop-tabs>button,.shop-categories>button{min-height:48px}.inventory-shortcuts>.text-button{font-size:12px}.bottom-nav>button{min-height:48px}.modal-window .primary,.modal-window .secondary{min-height:48px}.modal-actions>.primary{min-height:58px}.header-back,.matching-context>header>.text-button{width:48px;min-width:48px}
@keyframes popup-in{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}@keyframes float-up{0%{opacity:0;translate:0 6px}20%{opacity:1}to{opacity:0;translate:0 -25px}}
@media(min-height:930px){:root{--header-height:72px;--nav-height:72px}.play-screen{gap:10px}.play-equipped{gap:8px}.play-gear-row>button{height:76px;min-height:76px;width:82px}.win-preview{min-height:87px}.play-fight{min-height:63px}.shop-grid{height:330px}.battle-weapon{min-height:275px}.gear-screen{gap:10px}.bench .bag-piece.bench-card{height:88px;min-height:88px}}
@media(max-height:790px){:root{--header-height:62px;--nav-height:64px}.topbar{padding-top:6px;padding-bottom:4px}.play-screen{gap:6px}.play-matchup{min-height:250px}.play-stage{top:8px}.play-stage h1{font-size:33px}.play-stage p,.play-stage small{font-size:16px}.play-equipped{gap:4px}.play-gear-row>button{height:61px;min-height:61px;width:68px}.play-equipped h2,.play-equipped h3{font-size:15px}.upgrade-link{font-size:12px;min-height:48px}.win-preview{min-height:71px;padding:7px 9px;gap:5px}.win-preview>strong,.win-preview h3{font-size:12px}.win-preview>div{font-size:21px}.play-fight{min-height:54px;font-size:25px}.market-screen{gap:6px}.shop-grid{height:274px;min-height:274px}.offer-select>.gear-art{height:63px;max-height:66px;min-height:40px}.offer-select>h3{font-size:12px}.offer-price{font-size:20px;min-height:22px}.offer-select>.rarity-badge{font-size:8px;min-height:13px}.offer-grade{font-size:9px}.matching-context{gap:5px;min-height:104px}.matching-context .matching-owned{font-size:12px}.matching-why,.matching-context>p{font-size:11px}.matching-preview{font-size:12px;min-height:31px;padding:6px 4px;gap:6px}.matching-preview>span+span{padding-left:6px}.bench-hint{font-size:10px}.view-market #sticky-cta>.primary{min-height:54px;font-size:20px}.gear-screen{gap:6px}.pack-heading{min-height:40px}.pack-heading h1{font-size:22px}.equipped-pack{padding:5px}.bench .bag-piece.bench-card{min-height:72px;height:72px}.bench-card>.piece-art{height:58px;width:70px;min-width:70px}.bench-copy h3{font-size:13px}.gear-primary>.primary{min-height:53px;font-size:19px}.inventory-shortcuts>.text-button{min-height:48px;font-size:11px}.battle-heading{min-height:58px;padding-top:5px}.battle-hud{padding-top:7px;padding-bottom:7px;gap:14px}.battle-arena{height:242px;min-height:242px}.battle-weapon{min-height:212px;padding-top:9px;padding-bottom:6px;gap:5px}.battle-weapon>h2,.battle-weapon>h3,.battle-weapon>.weapon-name{font-size:15px}.weapon-card{height:66px;min-height:66px;width:95px}.weapon-clock{min-height:43px;font-size:20px}.charge-readiness>strong{font-size:13px}.charge-readiness>small{font-size:12px}.battle-details-button{min-height:49px;font-size:16px}.modal-top h2{font-size:24px}.merge-card>.gear-art{height:67px}.upgrade-table{font-size:14px}.upgrade-table td,.upgrade-table tbody th{padding-top:4px;padding-bottom:4px}.modal-actions>.primary{min-height:54px}}
@media(max-width:370px){.topbar{gap:5px;padding-left:11px;padding-right:11px}.avatar-button{gap:5px}.avatar-button>.avatar-art{height:42px;width:42px;min-width:42px}.profile-label strong{font-size:12px}.profile-label small{font-size:9px}.wallet{padding:3px 6px}.wallet b{font-size:15px}.wallet .currency,.wallet .header-currency-art{height:22px;width:22px;min-width:22px}.menu-button,.settings-button{min-width:52px;padding:6px 8px;font-size:12px}.top-progress strong{font-size:15px}.play-stage{left:38px;right:38px}.play-stage h1{font-size:32px}.play-map{right:9px;font-size:12px;padding:7px 9px}.shop-tabs>button{font-size:13px}.shop-tabs svg{width:18px;height:18px}.offer-select>h3{font-size:12px}.matching-preview{font-size:12px;gap:6px}.matching-context .matching-owned{font-size:12px;gap:5px}.matching-context .matching-owned>span{font-size:11px}.combat-name,.combat-hp-number,.combat-identity>b{font-size:10px}.combat-resource-title{font-size:10px}.combat-resource-title b{font-size:11px}.energy-cost{font-size:9px}.battle-heading{gap:5px}.battle-stage,.battle-context>strong{font-size:18px}.battle-clock{font-size:18px;min-width:54px}.speed-button{min-width:59px;font-size:15px}.battle-heading>.icon-button{width:48px;min-width:48px}.piece-caption>.piece-label{font-size:9px}.piece-caption>.footprint-badge{font-size:9px}.piece-caption>small{font-size:9px}.bench-copy h3{font-size:12px}.bench-copy>.level-pill{font-size:8px}.merge-card>.level-pill{font-size:8px}.merge-card>.rarity-badge{font-size:8px}.upgrade-table tbody th{font-size:12px}.upgrade-table tbody td{font-size:14px}.merge-cost{font-size:12px;gap:8px}.bottom-sheet .modal-top h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.modal-window,.offer-check,.combat-fx,.damage-float{animation:none!important}.combat-fx,.action-burst,.loot-flight,.wallet-delta,.merge-announcement{display:none!important}.hp-fill,.energy-fill,.armor-fill{transition:none!important}button:active:not(:disabled){translate:none}}

/* Verified public support details remain selectable inside the offline host. */
.support-address{overflow-wrap:anywhere;word-break:break-word;user-select:text;-webkit-user-select:text;font-size:12px;line-height:1.5}
.info-banner>strong{display:block;margin-bottom:4px}

.victory-bonus{display:grid;justify-items:stretch;gap:5px;margin-top:2px;color:var(--c-muted);font-size:12px}
.victory-bonus>.secondary{min-height:46px;font-size:13px}
.victory-bonus>small,.victory-bonus>p{margin:0;text-align:center;font-weight:800}
.victory-bonus>.victory-bonus-earned{color:var(--c-positive);font-size:15px}
