@font-face{font-family:Pretendard Variable;font-weight:45 920;font-style:normal;font-display:swap;src:url(./PretendardVariable-CJuje-Rk.woff2)format("woff2-variations")}.combat-defense{font-variant-numeric:tabular-nums;background:#fff;border:1px solid #dfdfe9;border-radius:12px;overflow:hidden}.defense-flow{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:center;gap:5px;padding:9px 10px 0;display:grid}.defense-gauge{min-width:0;color:var(--gauge-ink);background:var(--gauge-bg);border-radius:8px;padding:8px 10px;position:relative}.defense-gauge.shield{--gauge-ink:#1e627d;--gauge-fill:#3891ad;--gauge-bg:#eaf6fa;--gauge-track:#c8e3ea}.defense-gauge.health{--gauge-ink:var(--health-ink);--gauge-fill:#ca5478;--gauge-bg:#fff0f4;--gauge-track:#f4d4df}.defense-label{align-items:center;gap:4px;font-size:13px;font-weight:770;display:flex}.defense-gauge strong{color:#292438;margin-top:5px;font-size:24px;font-weight:825;line-height:1;display:block}.defense-gauge small{color:var(--gauge-ink);font-size:12px;font-weight:660}.defense-arrow{color:#777085;justify-self:center}.has-spillover .defense-arrow{animation:.55s ease-out defense-spillover}.has-spillover .health .defense-impact{opacity:0;animation-delay:.12s;animation-fill-mode:forwards}@keyframes defense-spillover{0%{color:#1e627d;transform:translate(-2px)}45%,70%{color:var(--health-ink);transform:translate(2px)scale(1.15)}}.defense-bar{background:var(--gauge-track);border-radius:4px;height:6px;margin-top:7px;overflow:hidden}.defense-bar i{border-radius:inherit;background:var(--gauge-fill);height:100%;transition:width .16s ease-out;display:block}.defense-impact{border:2px solid var(--gauge-ink);border-radius:inherit;pointer-events:none;animation:.5s ease-out both defense-impact;position:absolute;inset:0}@keyframes defense-impact{0%{opacity:.9;box-shadow:inset 0 0 0 3px var(--gauge-track)}to{opacity:0}}.defense-order{color:#5d566b;word-break:keep-all;padding:7px 11px;font-size:12px;line-height:1.4}.defense-expense,.defense-safe{background:#f8f8fb;border-top:1px solid #dfdfe9;padding:6px 11px}.defense-expense{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;display:flex}.defense-expense span,.defense-safe{color:#5d566b;word-break:keep-all;font-size:12px;line-height:1.4}.defense-expense strong{color:#1e627d;word-break:keep-all;font-size:13px}.defense-expense.to-health strong{color:var(--health-ink)}.battle-progress{color:#665c76;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-top:9px;font-size:12px;display:flex}.battle-progress>div{align-items:center;gap:4px;display:inline-flex}.battle-progress strong{color:#40384c;font-variant-numeric:tabular-nums}@media (max-width:370px){.defense-flow{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:3px;padding-inline:7px}.defense-gauge{padding:7px}.defense-label{font-size:12px}.defense-order,.defense-expense,.defense-safe{padding-inline:8px}}@media (prefers-reduced-motion:reduce){.defense-impact{display:none}.has-spillover .defense-arrow{color:var(--health-ink);animation:none}.defense-bar i{transition:none}}.bill-impact-anchor,.victory-stamp{position:relative}.bill-impact-anchor{flex:none;display:inline-flex}.bill-strike{pointer-events:none;width:calc(100% + 10px);height:calc(100% + 10px);animation:.4s ease-out both bill-strike;position:absolute;inset:-5px;overflow:visible}.strike-cut{fill:#ffda76;stroke:#6b397d;stroke-width:1.4px;stroke-linejoin:round}.strike-rays{fill:none;stroke:#834fba;stroke-width:2px;stroke-linecap:round}@keyframes bill-strike{0%{opacity:.9;transform:translate(-3px,3px)scale(.7)}25%{opacity:1;transform:scale(1.12)}to{opacity:0;transform:translate(4px,-4px)scale(1.18)}}.charge-pulse{border-radius:inherit;pointer-events:none;border:2px solid #3993ac;animation:.42s ease-out both charge-impact;position:absolute;inset:-1px}.charge-pulse.hits-health{border-color:#bd4560}@keyframes charge-impact{0%{opacity:.85;transform:scale(.992)}to{opacity:0;transform:scale(1)}}.shield-gain{top:-7px;color:#17506c;pointer-events:none;background:#def5ff;border-radius:100px;align-items:center;gap:2px;padding:2px 4px;font-size:12px;font-style:normal;font-weight:800;animation:.55s ease-out both shield-charge;display:inline-flex;position:absolute;inset-inline-end:3px}@keyframes shield-charge{0%{opacity:.7;transform:translateY(1px)scale(.9)}35%{opacity:1;transform:translateY(-2px)scale(1.08)}to{opacity:0;transform:translateY(-9px)}}.victory-stamp{animation:.44s ease-out both victory-stamp}.victory-stamp:after{content:"";border-radius:inherit;pointer-events:none;border:2px solid #e8bc60;animation:.62s ease-out both victory-ring;position:absolute;inset:-4px}.boss-victory .victory-stamp:before{content:"";pointer-events:none;color:#ffe19a;border-radius:50%;width:4px;height:4px;margin:-2px;animation:.75s ease-out both victory-ring;position:absolute;top:50%;left:50%;box-shadow:-37px -13px,-34px 17px,24px -28px,35px -6px,32px 23px}@keyframes victory-stamp{0%{transform:scale(.82)rotate(-8deg)}55%{transform:scale(1.1)rotate(2deg)}to{transform:scale(1)}}@keyframes victory-ring{0%{opacity:.9;transform:scale(.76)}to{opacity:0;transform:scale(1.24)}}.summary-stats .summary-health{color:var(--health-ink);background:#fff0f3}.summary-stats .summary-budget{color:var(--budget-ink);background:#fff6e3}.free-choice .reserve-item>svg:first-child{flex:none;margin-left:0}.free-choice .reserve-item>svg.lucide-heart{color:var(--health-ink)}.free-choice .reserve-item>svg.lucide-coins{color:var(--budget-ink)}.free-choice .reserve-item>svg.lucide-shield{color:#246b87}@media (prefers-reduced-motion:reduce){.bill-strike,.charge-pulse,.shield-gain,.victory-stamp:before,.victory-stamp:after{display:none}.victory-stamp{animation:none}}.wallet-links circle.wallet-link-burst{display:none}.forecast-toggle[aria-expanded=true] span:last-child .resource-hp{transform:none}@media (prefers-reduced-motion:no-preference){.wallet-links circle.wallet-link-burst{fill:none;stroke:currentColor;stroke-width:2.5px;transform-box:fill-box;transform-origin:50%;animation:.65s ease-out both wallet-link-ripple;display:block}.shop-row[data-just-bought] .sold-badge{animation:.45s ease-out wallet-purchase-check}.tile-level[data-just-merged],.reserve-item[data-just-merged] .item-level{transform-origin:0 0;animation:.65s ease-out wallet-level-up;display:inline-block}@keyframes wallet-link-ripple{0%{opacity:1;transform:scale(.75)}to{opacity:0;transform:scale(2.2)}}@keyframes wallet-purchase-check{0%{color:#245b42;background:#ceeedd;transform:scale(.8)}50%{color:#245b42;background:#ceeedd;transform:scale(1.08)}}@keyframes wallet-level-up{25%{transform:scale(1.3);box-shadow:0 0 0 3px #bb92fb}}}.wallet-header{margin-bottom:12px}.wallet-header .wallet-toolbar{margin:0}.wallet-expand-entry{color:#57348b;text-align:left;background:#f7f2ff;border:1px solid #d5c4ef;border-radius:10px;align-items:center;gap:9px;width:100%;min-height:46px;margin-top:7px;padding:7px 11px;display:flex}.wallet-expand-entry:hover{background:#eee5fc;border-color:#b597df}.wallet-expand-icon{background:#e8dcfa;border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.wallet-expand-copy{flex-wrap:wrap;flex:1;justify-content:space-between;align-items:center;gap:3px 10px;min-width:0;display:flex}.wallet-expand-copy strong{font-size:14px;line-height:1.2}.wallet-expand-copy strong b{color:#7544bb;white-space:nowrap}.wallet-expand-copy small{color:#695774;flex-wrap:wrap;align-items:center;gap:2px;font-size:11px;font-weight:620;display:flex}.wallet-expand-copy small svg{color:#966b24}.wallet-expand-copy small em{color:#8d4825;font-style:normal}.wallet-expand-copy small span{color:#69449c;margin-left:4px}.wallet-expand-next{text-align:right;color:#6c5a80;margin-top:4px;font-size:12px}.action-bar.wallet-expand-controls{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:8px 10px;display:grid}.wallet-expand-prompt strong{align-items:center;gap:6px;display:flex}.wallet-expand-prompt b{color:#623499;font-variant-numeric:tabular-nums;background:#f2eafa;border-radius:5px;padding:1px 5px;font-size:12px}.wallet-expand-payment{flex-wrap:wrap;grid-column:1/-1;align-items:stretch;gap:6px;display:flex}.wallet-expand-payment .small-button{flex:1;align-content:center;gap:2px;min-width:0;line-height:1.2;display:grid}.wallet-expand-payment .small-button>span{justify-content:center;align-items:center;gap:5px;display:flex}.wallet-expand-payment small{font-size:11px}.wallet-expand-payment .wallet-pay{color:#794a0a;background:#fff0cc;border-color:#ebcc8d}.wallet-expand-payment .wallet-pay:disabled{color:#756753;opacity:1;background:#f9f5ed;border-color:#e4dbcb}.wallet-expand-payment .wallet-ad-pay{color:#57348b;background:#eee5fb;border-color:#d3b8f3}.wallet-expand-exhausted{color:#746782;align-self:center;font-size:12px}@media (min-width:540px){.action-bar.wallet-expand-controls{grid-template-columns:minmax(0,1fr) auto auto}.wallet-expand-payment{grid-area:1/2}.wallet-expand-cancel{grid-column:3}}@media (orientation:landscape) and (max-height:500px){.wallet-workspace.choosing-cells{width:min(100%,max(230px,100dvh - 144px));margin-inline:auto;display:block}}:root{color:#241d36;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#241d36;--muted:#6f6880;--line:#eae6f1;--accent:#7045de;--deep-accent:#6035cc;--soft:#f1ebff;--green:#238064;--danger:#bd3458;--health-ink:#b33458;--budget-ink:#885410;background:#f6f5fa;font-family:Pretendard Variable,Pretendard,Malgun Gothic,sans-serif}*,:before,:after{box-sizing:border-box}body{padding-inline:env(safe-area-inset-left,0px) env(safe-area-inset-right,0px);margin:0}button{font:inherit;color:inherit}button:not(:disabled){cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline-offset:3px;z-index:5;outline:3px solid #915eff;position:relative}h1,h2,h3,p,dl,dd,ol,ul{margin:0}ul,ol{padding:0;list-style:none}svg{vertical-align:middle;flex:none}.topbar{padding-top:env(safe-area-inset-top,0px);background:#fff;border-bottom:1px solid #eeeaf4}.nav-inner,.main-shell{width:min(1120px,100% - 64px);margin-inline:auto}.nav-inner{justify-content:space-between;align-items:center;gap:12px;min-height:65px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#9768f7,#6437d5);border-radius:13px;place-items:center;width:41px;height:41px;display:grid;box-shadow:0 3px #4e2bb2,inset 0 1px #b788ff}.brand strong{letter-spacing:-.055em;font-size:24px;font-weight:850;line-height:1;display:block}.brand strong span{color:var(--accent)}.brand small{color:var(--muted);letter-spacing:.01em;margin-top:4px;font-size:11px;font-weight:650;display:block}.nav-inner nav{align-items:center;gap:7px;display:flex}.nav-button,.icon-button{color:#5f5673;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.nav-button:hover,.icon-button:hover{background:var(--soft);color:var(--deep-accent)}.nav-button svg{color:var(--accent)}.icon-button{width:36px;min-height:36px;padding:0}.main-shell{padding-top:23px}.wave-banner{isolation:isolate;color:#fff;background:radial-gradient(at 81% 45%,#6443a7 0%,#493080 37%,#0000 69%),linear-gradient(115deg,#261943 3%,#352259 68%,#493077);border-radius:23px;align-items:center;min-height:207px;padding:27px 37px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 23px #3225561b}.wave-banner:before{content:"";z-index:-1;opacity:.35;background:radial-gradient(circle,#b79be9 1px,#0000 1.4px) 0 0/19px 19px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(100deg,#0000 28%,#000 76%);mask-image:linear-gradient(100deg,#0000 28%,#000 76%)}.banner-copy{z-index:2;max-width:67%;position:relative}.chapter{color:#e5d6ff;background:#e4ccff19;border:1px solid #a688d368;border-radius:999px;align-items:center;gap:7px;padding:6px 10px;font-size:12px;font-weight:720;display:inline-flex}.chapter svg{color:#ffcf78}.chapter span{background:#ac99ce;border-radius:50%;width:3px;height:3px}.banner-copy h1{letter-spacing:-.058em;text-wrap:balance;margin:12px 0 9px;font-size:clamp(35px,4.1vw,53px);font-weight:850;line-height:1.06}.banner-copy p{color:#e4d9f8;text-wrap:pretty;word-break:keep-all;font-size:15px;font-weight:490;line-height:1.55}.banner-art{filter:drop-shadow(0 8px 15px #1c113578);pointer-events:none;width:380px;height:auto;position:absolute;top:52%;right:38px;transform:translateY(-50%)rotate(-8deg)}.banner-orbit{aspect-ratio:2.1;z-index:-1;border:1px solid #dfcaff40;border-radius:50%;width:395px;position:absolute;top:-6px;right:35px;transform:rotate(-19deg);box-shadow:0 0 0 18px #e5c7ff12,0 0 0 46px #e5c7ff0b}.wave-banner.compact-banner{min-height:0;padding-block:17px}.compact-banner .banner-copy{max-width:100%}.compact-banner .banner-copy h1{text-align:left;text-wrap:wrap;margin:6px 0 4px;font-size:clamp(23px,3.1vw,35px)}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:12px;min-height:71px;padding:11px 15px;display:flex;box-shadow:0 2px 4px #31224b05}.stat-icon{color:#7044cf;background:#f0e9ff;border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:grid}.stat-icon.health{color:var(--health-ink);background:#ffe8ef}.stat-icon.health svg{fill:#f8b3c7}.stat-icon.money{color:var(--budget-ink);background:#fff0cb}.resource-hp,.how-to svg.resource-hp{color:var(--health-ink)}.resource-budget,.how-to svg.resource-budget{color:var(--budget-ink)}.stat-content em{color:var(--muted);font-size:11px;font-style:normal}.stat-content{white-space:nowrap;gap:2px;display:grid}.stat-content>span{color:var(--muted);font-size:12px;font-weight:660}.stat-content strong{font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-size:24px;font-weight:830;line-height:1}.stat-content small{color:#716982;font-size:13px;font-weight:700}.segments{align-self:center;gap:4px;margin-left:auto;display:flex}.segments i{background:#eae5f3;border-radius:4px;width:clamp(7px,1.2vw,16px);height:6px}.segments .filled{background:#8956e9}.track{background:#ede8f5;border-radius:10px;width:100%;height:7px;overflow:hidden}.track i{border-radius:inherit;background:#8150e7;height:100%;transition:width .17s ease-out;display:block}.stat-track{background:#f9e2e9;max-width:100px;height:6px;margin-left:auto}.stat-track i{background:#d35e81}.workbench{grid-template-columns:1.56fr 1fr;align-items:start;gap:17px;display:grid}.prep-layout{width:min(100%,790px);margin-inline:auto}.panel{border:1px solid var(--line);background:#fff;border-radius:19px;min-width:0;padding:19px;box-shadow:0 3px 9px #43336407}.section-header,.section-title{align-items:center;gap:9px;display:flex}.section-header{justify-content:space-between;margin-bottom:15px}.section-title{gap:10px;min-width:0}.heading-icon{background:var(--soft);width:39px;height:39px;color:var(--deep-accent);border-radius:11px;flex:none;place-items:center;display:grid}.heading-icon.gold{color:#9b5a0d;background:#fff0d0}.heading-icon.blue{color:#3c68c1;background:#eaf1ff}.section-title h2,.section-title h1{letter-spacing:-.034em;font-size:20px;font-weight:820;line-height:1.1}.section-title p{color:var(--muted);margin-top:4px;font-size:12px;font-weight:525;line-height:1.3}.count-pill{white-space:nowrap;color:#614796;background:#f2edfb;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:12px;font-weight:720;display:inline-flex}.wallet-workspace{grid-template-columns:minmax(0,1fr) minmax(142px,.52fr);grid-template-areas:"wallet forecast";align-items:start;gap:12px;display:grid}.wallet-workspace>.board-shell{grid-area:wallet}.wallet-workspace>.board-info{grid-area:forecast}.wallet-tools{align-items:center;gap:7px;display:flex}.wallet-tools .shop-open{color:#744509;white-space:nowrap;background:#fff0cd;border-color:#eed494;flex:none;min-height:44px;padding-inline:10px;font-size:13px}.placement-guide,.battle-explanation{color:#543085;background:#f5efff;border-radius:10px;align-items:start;gap:9px;margin-bottom:9px;padding:10px 12px;font-size:14px;line-height:1.35;display:flex}.placement-guide svg,.battle-explanation svg{color:var(--deep-accent);margin-top:1px}.placement-guide p,.battle-explanation p{color:#5f477e;word-break:keep-all;margin-top:2px;font-size:12px}.intro-guide{gap:5px;display:grid}.guide-step{color:#5f3694;align-items:center;gap:6px;margin-bottom:2px;font-size:12px;font-weight:820;display:flex}.guide-step b{font-variant-numeric:tabular-nums;background:#e8dbfb;border-radius:5px;padding:1px 5px;font-size:11px}.intro-guide strong{color:#40216a;font-size:16px}.intro-guide .big-button{text-align:left;justify-content:flex-start;margin-top:4px}.intro-guide .big-button svg{color:currentColor;margin-top:0}.intro-guide .big-button svg:last-child{margin-left:auto}.next-guide div{min-width:0}.next-guide strong{color:#40216a;word-break:keep-all;display:block}.next-guide.balance-warning{background:#fff6ed;border-color:#f2d5bf}.balance-warning :is(svg,.guide-step,strong,p){color:#854315}.reserve-tray{background:#f9f7fc;border:1px solid #ece6f4;border-radius:11px;align-items:center;gap:9px;min-width:0;margin-bottom:9px;padding:5px 8px;display:flex}.reserve-tray h3{color:#4d386c;flex:none;align-items:center;gap:4px;font-size:13px;display:inline-flex}.reserve-tray h3 span{font-variant-numeric:tabular-nums;background:#eee7fa;border-radius:6px;padding:1px 5px;font-size:11px}.reserve-tray .reserve-list{scrollbar-width:thin;flex-wrap:nowrap;flex:1;gap:7px;min-width:0;padding:3px;overflow-x:auto}.reserve-tray .reserve-item{-webkit-tap-highlight-color:transparent;flex:none;min-height:44px;padding:4px 7px}.reserve-tray .reserve-item.recommended{background:#f1e7ff;border-color:#9364dd}.tray-empty{color:var(--muted);flex:1;padding:2px 0 3px;font-size:12px}.forecast-toggle{display:none}.placement-comparison{color:#5932a7;align-items:center;gap:5px;margin-top:8px;font-size:13px;font-weight:700;display:flex}.placement-comparison.risk-copy{color:var(--danger)}.connection-card{color:#533582;background:#f8f2ff;border:1px solid #e8ddf6;border-radius:10px;margin-bottom:9px;padding:9px 10px;font-size:12px;line-height:1.35}.connection-card.is-risk{color:#87441c;background:#fff5ec;border-color:#efceb3}.connection-card h3{flex-wrap:wrap;align-items:center;gap:5px;font-size:13px;display:flex}.connection-card h3 svg{flex:none}.connection-card p{word-break:keep-all;margin:4px 0 0}.connection-pair b{margin-left:3px}.connection-pair span,.connection-more li>span{color:#6c597e;margin-left:4px;font-size:11px}.connection-card .loss{color:#a62d43}.connection-card.merge-guide{background:#f9f0ff;border-color:#dac1f5}.merge-guide .merge-levels{color:#563288;font-variant-numeric:tabular-nums;font-size:16px;font-weight:780}.merge-guide .merge-levels strong{color:#4d188e}.merge-benefit{color:#245d49;font-weight:750}.merge-guide .merge-button{width:100%;min-height:44px;margin-top:8px}.item-level{color:#582b94;white-space:nowrap;background:#eee1fb;border-radius:5px;padding:1px 4px;font-size:10px;font-weight:800;display:inline-block}.connection-effects{gap:3px;margin:5px 0 0;padding:0;list-style:none;display:grid}.connection-effects li{color:#226444;background:#eaf8ee;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:3px 6px;display:grid}.connection-effects li.loss{background:#fff0f0}.connection-effects li span{word-break:keep-all}.connection-effects li svg{vertical-align:-2px}.connection-effects li strong{white-space:nowrap;font-variant-numeric:tabular-nums}.connection-action{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;margin-top:4px;display:flex}.connection-action .small-button{min-height:36px;padding-inline:8px}.connection-total{font-size:11px;font-weight:700}.connection-more{margin-top:5px}.connection-more summary{cursor:pointer;padding-block:4px;font-weight:720}.connection-more li{margin-top:3px}.connection-footer{display:none}.board-shell{background:#edeaf5;border:1px solid #e3ddee;border-radius:14px;min-width:0;padding:9px;box-shadow:inset 0 2px 5px #4e3b6813}.wallet-grid{--gap:6px;gap:var(--gap);display:grid;position:relative}.wallet-cell{aspect-ratio:1;color:#9b89b3;-webkit-tap-highlight-color:transparent;background:#f8f6fc;border:1px solid #ded7eb;border-radius:8px;place-items:center;min-width:0;padding:0;display:grid;position:relative}.wallet-cell:not(:disabled,.is-marked):is(button):hover{color:var(--accent);background:#eee7fc}.wallet-cell.is-locked{color:#9a90ad;background:repeating-linear-gradient(135deg,#e8e3ef 0 4px,#ede8f3 4px 8px);border-color:#e0dbea}.wallet-cell.is-hint,.wallet-cell.is-legal{color:#6d43c0;background:#eee4ff;border:1px dashed #a37ce9}.wallet-cell.is-hint,.wallet-cell.is-hint:not(:disabled):hover{color:#fff;background:#884ddd;border:1px solid #6536bd;box-shadow:0 0 0 2px #ac88fa69}.wallet-cell.is-hint.is-costly,.wallet-cell.is-hint.is-costly:not(:disabled):hover{background:#b35b27;border-color:#a04b21;box-shadow:0 0 0 2px #ffcf9c99}.wallet-cell.is-guided{outline-offset:1px;outline:2px solid #a078e7}.guide-target{justify-items:center;gap:1px;font-size:11px;font-weight:850;display:grid}.tile-effect{z-index:2;color:#fff;background:#267450;border:1px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:15px;height:15px;display:inline-flex;position:absolute;top:3px;right:3px}.tile-effect.loss{background:#ac374b}.tile.is-partner{outline-offset:-3px;outline:2px solid #884ddd}.wallet-cell.is-hint .cell-dot{background:#9a70ee;width:7px;height:7px;box-shadow:0 0 0 4px #dcc8ff}.wallet-cell.is-marked{color:#fff;background:#7948df;border-color:#6130c6}.cell-dot{background:#d8cde9;border-radius:50%;width:3px;height:3px}.tone-purple{--tile:#e5d6ff;--tile-light:#f4eaff;--edge:#cfb5f7;--tone:#6030be}.tone-mint{--tile:#cdeee2;--tile-light:#e8fbf2;--edge:#a9decc;--tone:#156e56}.tone-blue{--tile:#d7e5ff;--tile-light:#eff5ff;--edge:#b8d0f6;--tone:#315dab}.tone-amber{--tile:#ffebaf;--tile-light:#fff6dc;--edge:#f3d687;--tone:#925708}.tone-rose{--tile:#ffdbd6;--tile-light:#fff0eb;--edge:#efbdb4;--tone:#a83f46}.tile{border:1px solid var(--edge);background:linear-gradient(145deg, var(--tile-light), var(--tile));color:var(--tone);letter-spacing:-.025em;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:clamp(9px,1.1vw,11px);display:flex;position:absolute;inset:-1px;box-shadow:inset 0 -2px #4d29550d}.tile b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;padding-inline:2px;font-weight:800;overflow:hidden}.tile-symbol{line-height:1}.tile-mark{opacity:.5}.tile-level{color:#fff;white-space:nowrap;background:#5c2da3;border-radius:4px;padding:0 3px;font-size:8px;font-weight:800;line-height:12px;position:absolute;top:2px;left:2px}.tile.join-right{right:calc(-1px - var(--gap));border-right-color:#0000;border-top-right-radius:0;border-bottom-right-radius:0}.tile.join-left{border-left-color:#0000;border-top-left-radius:0;border-bottom-left-radius:0}.tile.join-below{bottom:calc(-1px - var(--gap));border-bottom-color:#0000;border-bottom-right-radius:0;border-bottom-left-radius:0}.tile.join-above{border-top-color:#0000;border-top-left-radius:0;border-top-right-radius:0}.tile.is-selected{box-shadow:inset 0 0 0 2px #8555df}.tile.is-active{background:var(--tile-light);animation:.45s ease-out both activate}.charge{background:#fff9;border-radius:4px;height:3px;position:absolute;inset:auto 7px 4px;overflow:hidden}.charge i{background:var(--tone);height:100%;transition:width .12s linear;display:block}.wallet-links{pointer-events:none;z-index:4;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.wallet-links g{color:#8550e8}.wallet-links g.risk{color:#c5456b}.wallet-links line{stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-dasharray:3 5}.wallet-links circle{fill:currentColor;stroke:#fff;stroke-width:1.5px}.wallet-links path{stroke:#fff;stroke-width:1.5px;stroke-linecap:round}.board-info{gap:11px;min-width:0;display:grid}.insight,.synergy-box{background:#faf9fd;border:1px solid #ede8f4;border-radius:12px;padding:12px}.insight-title{color:#6840b7;align-items:center;gap:6px;display:flex}.insight-title h3{letter-spacing:-.025em;font-size:13px;font-weight:800}.insight-title>span{background:#eee4ff;border-radius:7px;margin-left:auto;padding:2px 6px;font-size:11px;font-weight:740}.insight dl{gap:7px;margin-top:9px;display:grid}.insight dl div{justify-content:space-between;align-items:baseline;gap:4px;display:flex}.insight dt,.quiet{color:var(--muted);font-size:12px;line-height:1.45}.insight dd{color:#3e2b69;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:15px;font-weight:820}.insight del{color:#716982;margin-right:4px;font-size:11px;font-weight:590}.synergy-box .quiet{margin-top:8px}.link-list{gap:6px;margin-top:9px;display:grid}.synergy-box .link-list{max-height:12rem;overflow:auto}.link-list li{color:#236853;background:#e9f8f2;border-radius:8px;padding:7px 8px;font-size:11px;line-height:1.35}.link-list li>div{align-items:center;gap:3px;margin-bottom:1px;display:flex}.link-list li>span{letter-spacing:-.025em;display:block}.link-list li.risk{color:#922e50;background:#fff0f3}.risk-copy,.insight dd.risk-copy{color:var(--danger)}.wallet-tip{color:#5f477e;background:#f5efff;border-radius:10px;align-items:center;gap:9px;min-height:42px;margin-bottom:9px;padding:8px 10px;display:flex}.wallet-tip p{font-size:12px;font-weight:640;line-height:1.4}.wallet-tip button{flex:none;margin-left:auto}.tip-icon{width:25px;height:25px;color:var(--deep-accent);background:#ebddff;border-radius:7px;flex:none;place-items:center;display:grid}.small-button,.price,.big-button{color:#6641ab;white-space:nowrap;background:#faf7ff;border:1px solid #e8dff5;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 10px;font-size:12px;font-weight:760;display:inline-flex}.small-button:hover,.price:hover{filter:brightness(.963)}.reroll b{color:#6e48ab;background:#eee4fc;border-radius:5px;padding:2px 5px;font-size:11px}.shop-ad-options{background:#f4efff;border-radius:10px;margin:8px 0 12px;padding:10px}.shop-ad-options .small-button,.shop-toolbar .reroll{white-space:normal;word-break:keep-all;max-width:100%;min-height:44px;padding-block:6px}.shop-ad-options .small-button{width:100%}.shop-ad-options p,.shop-ad-notice{color:#5a3d88;margin:0 0 8px;font-size:13px}.shop-ad-options .modal-actions,.test-ad-actions,.record-actions{flex-wrap:wrap;gap:8px;display:flex}.test-ad-actions{margin:12px 0}.puzzle-nav{color:#59447a;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.puzzle-panel{max-width:500px;margin:0 auto;padding:clamp(14px,4vw,24px)}.puzzle-panel h1{margin:0 0 8px;font-size:clamp(22px,6vw,28px)}.puzzle-panel p{margin:0 0 12px;line-height:1.5}.puzzle-board{margin:14px 0}.puzzle-controls{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.puzzle-controls span{color:#59447a;font-size:14px;font-weight:700}.puzzle-panel .big-button{width:100%;margin-top:12px}.puzzle-result{margin:12px 0}.puzzle-result div{border-bottom:1px solid #eee5f9;justify-content:space-between;padding:8px 0;display:flex}.puzzle-result dd{margin:0;font-weight:750}.primary{color:#fff;background:linear-gradient(155deg,#8558ed,#6d3dd9);border:1px solid #6737ce;box-shadow:0 2px #572caf}.primary:hover{background:linear-gradient(155deg,#905ff4,#6431d6)}.primary:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px #572caf}.small-button:disabled,.price:disabled,.big-button:disabled{opacity:.48;filter:none}.shop-list{gap:7px;display:grid}.shop-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.shop-budget{color:#744509;align-items:center;gap:5px;font-size:14px;display:inline-flex}.shop-budget strong{font-variant-numeric:tabular-nums}.shop-wallet-space{background:#faf7ff;border:1px solid #e3d8f6;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;padding:8px 10px;display:flex}.shop-wallet-space strong,.shop-wallet-space small{align-items:center;gap:5px;display:flex}.shop-wallet-space strong{color:#563a88;font-size:13px}.shop-wallet-space small{color:#655a72;margin-top:3px;font-size:12px}.shop-wallet-space .small-button{min-height:44px}.shop-actions{flex-wrap:wrap;gap:7px;margin-top:9px;display:flex}.tier{color:#4f3885;background:#efe7fd;border-radius:5px;padding:2px 5px;font-size:10px}.tier.special{color:#785110;background:#fff0cb}.shop-row{background:#fcfbfe;border:1px solid #eeebf3;border-radius:11px;align-items:center;gap:8px;min-height:57px;padding:6px 7px;display:flex}.shop-row.has-connection{grid-template-columns:minmax(0,1fr) auto;row-gap:5px;display:grid}.shop-connection{color:#235b42;word-break:keep-all;background:#edf7f1;border-radius:7px;grid-column:1/-1;align-items:flex-start;gap:6px;padding:6px 8px;font-size:12px;line-height:1.4;display:flex}.shop-connection svg{flex:none;margin-top:1px}.shop-connection strong{font-weight:740}.shop-connection b{white-space:nowrap;font-variant-numeric:tabular-nums}.shop-connection-cost{color:#92354a}.shop-connection.is-muted{color:#625a6c;background:#f1eff4}.shop-detail{text-align:left;background:0 0;border:0;border-radius:7px;flex:1;align-items:center;gap:9px;min-width:0;padding:0;display:flex}.shop-detail:hover b{color:var(--deep-accent)}.shop-merge{color:#632c91;margin-top:3px;font-size:11px;font-weight:730;display:block}.item-badge,.sold-badge{background:linear-gradient(145deg, var(--tile-light), var(--tile));border:1px solid var(--edge);width:40px;height:40px;color:var(--tone);border-radius:10px;flex:none;place-items:center;display:grid}.shop-detail b,.reserve-item b{font-size:14px;font-weight:780;line-height:1.2;display:block}.shop-detail small,.reserve-item small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.35;display:block}.price{color:#785110;background:#fff1d0;border-color:#f4e1ae;flex:none;min-height:44px;padding-inline:8px;font-size:13px}.price svg{color:#a87015}.shop-row.sold{color:#716882;font-size:13px}.sold p{flex:1}.sold>span:last-child{padding-right:5px;font-size:11px}.sold-badge{color:#7b6e91;background:#f0ecf6;border-color:#e9e2f0}.reserve-list{flex-wrap:wrap;gap:6px;display:flex}.reserve-item{text-align:left;background:#faf8fd;border:1px dashed #ddd2ec;border-radius:10px;align-items:center;gap:8px;min-width:0;min-height:51px;padding:6px 8px;display:inline-flex}.reserve-item:hover,.reserve-item.selected{background:#f5edff;border-color:#a883ee}.reserve-item .item-badge{border-radius:8px;width:34px;height:34px}.reserve-item .item-badge svg{width:19px;height:19px}.shape{color:#aa8dd6;flex:none;grid-auto-rows:6px;grid-auto-columns:6px;gap:2px;padding-left:4px;display:inline-grid}.shape i{background:currentColor;border-radius:1px}.empty{color:var(--muted);background:#faf8fd;border-radius:9px;padding:12px 10px;font-size:13px;display:block}.expand-controls strong{font-size:14px}.expand-controls p{color:var(--muted);margin-top:2px;font-size:12px;line-height:1.4}.action-bar.expand-controls{gap:6px}.expand-controls>div{flex:1}.expand-controls .small-button{white-space:nowrap;min-height:44px}.action-wrap{z-index:6;padding:12px 0 max(8px, env(safe-area-inset-bottom,0px));background:linear-gradient(#0000 0%,#f6f5fa 23%);position:sticky;bottom:0}.action-bar{border:1px solid var(--line);background:#fff;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;padding:8px 9px 9px 16px;display:flex;box-shadow:0 4px 18px #3f2e680e}.action-bar.item-actions{grid-template-columns:minmax(0,1fr) auto;row-gap:6px;display:grid}.item-actions>.big-button{grid-column:1/-1;justify-content:center}.item-action-buttons{flex-wrap:wrap;grid-column:1/-1;gap:5px;display:flex}.item-action-buttons .small-button{white-space:nowrap;gap:4px;min-height:44px;padding-inline:6px}.item-actions .item-action-close{min-width:44px;min-height:44px;padding:0}.action-note{color:#645979;align-items:center;gap:7px;margin-right:auto;font-size:13px;font-weight:645;display:flex}.action-note svg{color:var(--accent)}.placement-status{align-items:center;gap:7px;min-width:0;display:flex}.placement-shape{background:#f5effe;border:1px solid #e6ddf7;border-radius:8px;flex:none;place-items:center;min-width:37px;min-height:37px;padding:4px;display:grid}.placement-shape .shape{color:#8050d6;grid-auto-rows:8px;grid-auto-columns:8px;padding-left:0}.placement-note{min-width:0;color:var(--muted);word-break:keep-all;gap:2px;font-size:12px;display:grid}.placement-note strong{color:#543085;font-size:14px}.placement-note .tier{white-space:nowrap;margin-left:5px}.prep-feedback p{color:#543085;background:#f8f3ff;border:1px solid #e6ddf7;border-radius:8px;margin-bottom:4px;padding:7px 10px;font-size:12px;font-weight:720}.big-button{border-radius:10px;gap:9px;min-height:46px;padding:0 15px;font-size:15px;font-weight:770}.action-bar .big-button{min-width:196px}.action-bar .action-arrow{margin-left:auto}.next-item-button{text-wrap:balance;word-break:keep-all}.secondary-action{white-space:nowrap;flex:none}.footer{padding:9px 0 max(16px, env(safe-area-inset-bottom,0px));color:#716881;justify-content:space-between;gap:5px;font-size:11px;display:flex}.footer span:first-child{align-items:center;gap:4px;display:flex}.footer span:last-child{font-weight:740}.combat-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.battle-buttons{align-items:center;gap:5px;display:flex}.speed[aria-pressed=true]{color:#5933a7;background:#e7d9fc}.summary-stats small{color:var(--muted);font-size:12px;font-weight:670}.battle-finish{color:#205d43;background:#eef9f2;border:1px solid #c9e9d6;border-radius:10px;margin-bottom:10px;padding:9px 11px}.battle-finish.loss{color:#85431c;background:#fff1e9;border-color:#f1d1c4}.battle-finish strong{font-size:15px}.battle-finish p{word-break:keep-all;margin-top:3px;font-size:12px;line-height:1.4}.battle-result-actions{max-width:790px;margin-inline:auto}.bill-list{gap:8px;margin-top:8px;display:grid}.bill{background:#fcfaff;border:1px solid #ebe3f1;border-radius:12px;gap:8px;padding:10px;display:grid;position:relative}.bill.boss{background:#fff5f5;border-color:#f4cad4}.bill.processed{background:#f5fbf8;border-color:#ddf0e7}.bill.bill-hit{border-color:#ce6276}.bill-header{flex-wrap:wrap;align-items:center;gap:3px 7px;font-size:15px;display:flex}.bill-header .item-badge{border-radius:8px;width:32px;height:32px}.bill-header .item-badge svg{width:19px;height:19px}.bill-complete{color:var(--green);align-items:center;gap:4px;margin-left:auto;font-size:12px;font-weight:740;display:inline-flex}.bill-final-change{color:#205d43;font-size:12px}.bill-final-change strong{font-variant-numeric:tabular-nums;margin-left:3px}.boss-label{color:#a23253;white-space:nowrap;background:#fce1e7;border-radius:5px;padding:2px 5px;font-size:10px;font-weight:750}.bill-meter-label{justify-content:space-between;align-items:baseline;gap:6px;font-size:12px;font-weight:720;display:flex}.bill-meter-label strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px;line-height:1}.bill-meter-label small{font-size:11px;font-weight:700}.bill-remaining{color:#5c3c9d;padding-inline:8px}.bill-remaining .track{margin-top:4px}.bill-forecast{color:#56348f;background:#f0e9fd;border-radius:8px;gap:4px;padding:6px 8px;font-size:12px;display:grid}.bill-forecast>div{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.bill-forecast dt{align-items:center;gap:4px;font-weight:700;display:flex}.bill-forecast dd{text-align:right;font-variant-numeric:tabular-nums;font-weight:650}.bill-forecast dd strong{font-weight:800}.bill-forecast .forecast-miss{color:#913c68}.bill-countdown{color:#883a0c;background:#fff2df;border-radius:8px;padding:7px 8px 6px}.bill-countdown .bill-meter-label span{align-items:center;gap:4px;display:flex}.bill-countdown .bill-meter-label strong{letter-spacing:-.04em;font-size:24px}.bill-countdown .bill-meter-label small{margin-left:2px;font-size:13px}.bill-countdown .track{background:#f3d8bd;height:8px;margin-top:5px}.bill-countdown .track i{background:#cb691c;transition:width .1s linear}.bill-countdown .timer-reset i{transition:none}.bill-countdown.is-urgent{color:#9b2940;background:#ffebed}.bill-countdown.is-urgent .track{background:#f8cdd3}.bill-countdown.is-urgent .track i{background:#bf3c52}.bill-charge,.bill-charge-result{margin-top:4px;font-size:11px;font-weight:700}.bill-charge-result{color:#9b2940;font-weight:800}.battle-synergy{margin-top:9px}.incoming{color:var(--muted);margin-top:11px;font-size:12px}.battle-wallet .board-shell{max-width:365px;margin-inline:auto}.battle-wallet .link-list{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.battle-wallet .quiet{margin-top:10px}.hit-value{color:#8c3add;text-shadow:0 1px #fff,1px 0 #fff,0 -1px #fff;pointer-events:none;font-weight:820;animation:.6s ease-out both float-up;position:absolute;top:-7px;right:18px}@keyframes float-up{0%{opacity:0;transform:translateY(10px)}25%{opacity:1}to{opacity:.8;transform:translateY(-8px)}}@keyframes activate{0%{filter:brightness(1.11);outline:2px solid var(--edge)}to{filter:brightness();outline-color:#0000}}.summary-panel{text-align:center;max-width:640px;margin-inline:auto;padding:30px 19px 26px}.summary-icon{color:#96601b;background:#fff0cb;border:1px solid #f5dea5;border-radius:19px;place-items:center;width:68px;height:68px;margin:0 auto 13px;display:grid}.summary-icon.loss{color:var(--danger);background:#ffedf1;border-color:#f7d5df}.summary-panel h1{letter-spacing:-.045em;font-size:clamp(29px,5vw,38px)}.summary-lead>p{color:var(--muted);margin-top:5px;font-size:14px}.boss-victory{color:#fff;background:radial-gradient(at top,#58368c,#2c174f 75%);border:1px solid #624395;border-radius:13px;padding:16px 10px}.boss-victory .summary-icon{border-radius:14px;width:52px;height:52px;margin-bottom:9px}.defeated-boss{color:#ffe0a0;margin-bottom:3px;font-size:14px;font-weight:750;display:block}.boss-victory>p{color:#ecdefe;word-break:keep-all}.summary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:19px 0 14px;display:grid}.summary-stats>div{color:#553790;background:#f8f3ff;border-radius:10px;place-items:center;gap:4px;padding:9px 3px;display:grid}.summary-stats span{color:var(--muted);font-size:12px}.summary-stats strong{font-size:23px;font-weight:830}.summary-panel .summary-caption{color:var(--muted);margin:0 0 14px;font-size:12px}.summary-panel .first-result{text-align:left;margin:14px auto 0}.summary-panel .free-choice>p{color:var(--muted);margin-top:-4px;font-size:12px}.free-choice{gap:7px;max-width:310px;margin:0 auto;display:grid}.free-choice h2{color:#573785;justify-content:center;align-items:center;gap:6px;margin:4px 0;font-size:16px;display:flex}.free-choice button>svg{color:#8253cf;margin-left:auto}.free-choice button:disabled{opacity:.52}.modal{--inset-x:max(14px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px));--inset-y:max(8px, env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px));color:var(--ink);width:min(450px, calc(100% - 2 * var(--inset-x)));max-height:85vh;max-height:min(90dvh, calc(100dvh - 2 * var(--inset-y)));background:#fff;border:1px solid #eadff7;border-radius:17px;padding:0;box-shadow:0 20px 70px #170d3d40}.modal[open]{flex-direction:column;display:flex;overflow:hidden}.modal::backdrop{backdrop-filter:blur(2px);background:#21153575}.modal-content{overscroll-behavior-y:contain;min-height:0;padding:17px;overflow-y:auto}.modal-footer{border-top:1px solid var(--line);background:#fff;flex:none;justify-content:space-between;align-items:center;gap:9px;padding:9px 17px 11px;display:flex}.modal-footer p{color:var(--muted);word-break:keep-all;font-size:12px}.modal-footer .small-button{white-space:nowrap;flex:none;min-height:44px}.modal-header{justify-content:space-between;align-items:center;gap:9px;margin-bottom:10px;display:flex}.modal-header h2{letter-spacing:-.035em;font-size:22px}.sound-options{gap:8px;display:grid}.sound-options button{border:1px solid var(--line);min-height:52px;color:var(--ink);background:#faf8fd;border-radius:10px;align-items:center;gap:10px;padding:10px 14px;display:flex}.sound-options button>svg{color:var(--deep-accent)}.sound-options button strong{margin-right:auto}.sound-options button span{color:var(--muted);font-size:13px}.sound-options button i{background:#777180;border-radius:12px;width:32px;height:19px;padding:3px}.sound-options button i:after{content:"";background:#fff;border-radius:50%;width:13px;height:13px;display:block}.sound-options [aria-checked=true] i{background:var(--accent)}.sound-options [aria-checked=true] i:after{margin-left:auto}.modal-actions{justify-content:flex-end;gap:6px;margin-top:15px;display:flex}.how-to,.detail-synergies{gap:8px;display:grid}.detail-level-effects{margin-bottom:9px;font-size:12px}.how-to li,.detail-synergies li{background:#faf7ff;border-radius:9px;align-items:flex-start;gap:8px;padding:9px;display:flex}.how-to li svg,.detail-synergies svg{color:#8254d1;margin-top:1px}.how-to strong,.detail-synergies strong,.item-detail strong{font-size:14px}.how-to p,.detail-synergies p,.item-detail p{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.45}.help-save{color:var(--muted);align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.item-detail{align-items:center;gap:9px;margin-bottom:13px;display:flex}.item-detail .shape{margin-left:auto}.records{gap:7px;margin-bottom:11px;display:grid}.records div{background:#f9f5fd;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 10px;font-size:13px;display:flex}.records dd{color:#6644a3;font-weight:810}.build-list{gap:7px;margin-top:9px;display:grid}.build-list li{background:#faf7ff;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:9px;display:flex}.build-list li p{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.4}.build-selected,.shop-build-status{color:#58348c;background:#f1e8ff;border-radius:8px;padding:8px 10px;font-size:13px}.build-selected{margin-bottom:8px}.shop-build-settings{align-items:center;gap:6px;margin-bottom:8px;display:flex}.shop-build-settings .small-button{white-space:nowrap;flex:none;margin-left:auto}.shop-build-status{word-break:keep-all;flex:1;min-width:0}.shop-build-status span{margin-top:3px;font-size:12px;display:block}.build-list li.is-selected{background:#f1e8ff;box-shadow:inset 0 0 0 1px #d8bdf7}.build-list li.is-selected .small-button{opacity:1;color:#593596;background:#e8d5ff}.storage-warning{color:#845213;background:#fff1d4;border-radius:9px;margin-top:9px;padding:9px;font-size:13px}.storage-reload{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;font-size:14px;display:flex}.storage-reload p{flex:180px;line-height:1.4}.storage-reload p svg{color:var(--accent)}.toss-settlement-banner{width:100%;min-height:102px;padding-bottom:env(safe-area-inset-bottom,0px)}@media (max-width:1030px){.nav-inner,.main-shell{width:min(920px,100% - 36px)}.workbench{grid-template-columns:1.4fr 1fr;gap:13px}.panel{padding:14px}.wallet-workspace{grid-template-columns:minmax(0,1fr) minmax(120px,.46fr);gap:9px}.insight,.synergy-box{padding:9px}.banner-art{width:335px;right:18px}}@media (max-width:760px){.nav-inner,.main-shell{width:min(590px,100% - 26px)}.nav-inner{min-height:57px}.main-shell{padding-top:12px}.wave-banner{border-radius:16px;min-height:154px;padding:16px 14px}.wave-banner.compact-banner{padding-block:10px}.compact-banner .chapter{padding-block:2px}.wave-banner.intro-banner{min-height:103px;padding:11px 14px}.intro-banner .chapter{display:none}.intro-banner .banner-copy h1{margin-top:0}.intro-banner .banner-art{width:40%;min-width:0;top:50%;right:2%}.banner-copy{max-width:68%}.banner-copy h1{margin:9px 0 6px;font-size:clamp(29px,6.5vw,42px)}.banner-copy p{font-size:12px;line-height:1.4}.chapter{gap:5px;padding:4px 7px;font-size:10px}.chapter svg{width:12px;height:12px}.banner-art{width:49%;min-width:162px;top:58%;right:-3%;transform:translateY(-50%)rotate(-9deg)}.banner-orbit{width:53%;top:11%;right:0}.stats{gap:6px;margin:10px 0}.stat{border-radius:11px;gap:6px;min-height:58px;padding:7px}.stat-icon{border-radius:8px;width:28px;height:28px}.stat-icon svg{width:16px;height:16px}.stat-content>span{font-size:10px}.stat-content strong{font-size:18px}.stat-content small{font-size:10px}.segments,.stat-track{display:none}.workbench{grid-template-columns:1fr;gap:10px}.panel{border-radius:14px;padding:12px}.section-header{margin-bottom:10px}.section-title h2{font-size:18px}.section-title p{font-size:11px}.heading-icon{border-radius:9px;width:34px;height:34px}.wallet-workspace{grid-template-columns:minmax(0,1fr) minmax(135px,.49fr)}.wallet-header{top:env(safe-area-inset-top,0px);z-index:6;background:#fff;padding-block:4px;position:sticky}.connection-footer{text-align:left;color:#225f42;background:#edf9f0;border:1px solid #c8ead6;border-radius:8px;align-items:center;gap:5px;width:100%;min-height:35px;margin-bottom:4px;padding:6px 9px;font-size:12px;font-weight:700;display:flex}.connection-footer.loss{color:#9c3048;background:#fff0f0;border-color:#f2cbd2}.connection-footer strong{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.tile{font-size:11px}.battle-wallet .board-shell{max-width:325px}.summary-panel{padding-top:23px;padding-bottom:20px}.intro-summary .summary-icon{border-radius:13px;width:50px;height:50px;margin-bottom:9px}}@media (max-width:480px){.audio-menu span{display:none}.nav-inner .audio-menu{min-width:36px;min-height:44px}.brand strong{font-size:21px}.brand-mark{border-radius:10px;width:36px;height:36px}.brand-mark svg{width:20px}.nav-inner nav{gap:1px}.nav-button{gap:3px;padding:0 6px;font-size:11px}.nav-button svg{width:15px}.wallet-workspace{flex-direction:column;align-items:stretch;display:flex}.banner-copy{max-width:60%}.board-shell{border-radius:11px;padding:7px}.wallet-grid{--gap:5px}.wallet-panel .board-info{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:6px;display:none}.wallet-panel .board-info.is-expanded{display:grid}.forecast-toggle{color:#563b89;background:#fbf9fe;border:1px solid #e7ddf5;border-radius:8px;justify-content:space-between;align-items:center;gap:4px;min-height:42px;padding:6px 9px;font-size:12px;font-weight:750;display:flex}.forecast-toggle span{align-items:center;gap:4px;display:flex}.forecast-toggle.has-risk{color:#854315;background:#fff6ed;border-color:#f2d5bf}.forecast-toggle[aria-expanded=true] span:last-child svg{transform:rotate(180deg)}.action-wrap{margin-inline:-2px;padding-top:6px}.action-bar{padding:6px}.action-note{display:none}.action-bar .big-button{flex:1;justify-content:center;min-width:0;min-height:44px}.action-bar .action-arrow{margin:0;position:absolute;right:21px}.small-button,.price{min-height:38px}.battle-buttons .small-button{padding-inline:7px}}@media (max-width:370px){.stats .stat{gap:4px;padding-inline:5px}.stats .stat-icon{width:22px;height:25px}.stats .stat-content em{font-size:10px}.nav-inner{gap:2px}}@media (max-width:330px){.nav-inner nav .nav-button span{display:none}.nav-inner nav .nav-button{min-width:38px;min-height:44px}}@media (max-width:350px){.nav-button:not(.audio-menu) svg{display:none}.tile{font-size:9px}.tile-symbol svg{width:19px;height:19px}.stat{gap:4px;padding-inline:5px}.stat-icon{width:24px;height:24px}.wallet-tools .count-pill{padding-inline:5px;font-size:11px}.wallet-tools .count-pill svg{display:none}.reserve-tray{gap:5px}.reserve-tray .reserve-item small{display:none}}@media (max-width:330px){.nav-inner nav .nav-button svg{display:inline-block}}@media (max-width:310px){.brand{gap:5px}.brand-mark{width:28px;height:32px}.brand strong{font-size:17px}.brand small{font-size:10px}.stats .stat{grid-template-columns:auto 1fr;align-content:start;gap:3px;display:grid}.stats .stat-icon{width:18px;height:18px}.stats .stat-icon svg{width:14px;height:14px}.stats .stat-content{display:contents}.stats .stat-content strong,.stats .stat-content em{grid-column:1/-1}}@media (max-width:480px) and (max-height:560px){.summary-panel.boss-summary,.boss-victory{padding-block:10px}.boss-victory .summary-icon{width:42px;height:42px;margin-bottom:5px}.boss-victory .summary-icon svg{width:26px;height:26px}.boss-summary .summary-stats{margin-block:10px}.boss-summary .summary-stats>div{padding-block:6px}.boss-summary .summary-caption{margin-bottom:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
