/* Approved centered black/yellow composition, applied to the live components. */
:root{--s-bg:#0d0e10;--s-card:#17191d;--s-head:#181a1e;--s-field:#181a1f;--s-line:#303238;--s-ink:#f4f4f5;--s-muted:#b3b5bc;--s-soft:#747880;--s-accent:#f8d515;--s-button-ink:#17180e;--s-wash:#282618;--u-bg:var(--s-bg);--u-panel:var(--s-card);--u-raised:var(--s-head);--u-field:var(--s-field);--u-line:var(--s-line);--u-ink:var(--s-ink);--u-muted:var(--s-muted);--u-soft:var(--s-soft);--u-accent:var(--s-accent);--u-button-ink:var(--s-button-ink);--yellow:var(--s-accent)}
html[data-theme="light"]{--s-bg:#f0f3f8;--s-card:#fff;--s-head:#f7f9fc;--s-field:#fafcff;--s-line:#d7dfeb;--s-ink:#2a405e;--s-muted:#647a96;--s-soft:#8a9aaf;--s-accent:#8cb4e7;--s-button-ink:#233e63;--s-wash:#eaf2fd;--u-bg:var(--s-bg);--u-panel:var(--s-card);--u-raised:var(--s-head);--u-field:var(--s-field);--u-line:var(--s-line);--u-ink:var(--s-ink);--u-muted:var(--s-muted);--u-soft:var(--s-soft);--u-accent:var(--s-accent);--u-button-ink:var(--s-button-ink);--yellow:var(--s-accent)}
body,html[data-theme="light"] body{background:radial-gradient(ellipse at 50% 0,#ffffff03,transparent 65%),var(--s-bg);color:var(--s-ink)}
.live-rail,.support-button,.mobile-nav{display:none!important}
.topbar,html[data-theme="light"] .topbar{height:74px;background:linear-gradient(110deg,#141619,#101113);border-bottom:1px solid #303238;position:sticky;top:0;z-index:30}
.header-inner{height:74px;max-width:1680px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px}
.brand{grid-column:1;justify-self:start;font:800 30px/1 Tektur,sans-serif;gap:9px;letter-spacing:-.6px;white-space:nowrap}
.brand>img{width:30px;height:34px}
.desktop-nav{grid-column:2;position:static;display:flex;height:auto;gap:8px;align-items:center;justify-self:center}
.desktop-nav .nav-link{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:7px;height:43px;padding:0 16px;font:600 15px/1 'Exo 2',sans-serif;color:#c2c3c8;background:none!important;white-space:nowrap}
.nav-link>span[data-icon] svg{width:20px;height:20px}
.desktop-nav .nav-link.active{border-color:var(--s-accent);color:var(--s-accent);background:#e2c51c05!important;box-shadow:0 0 0 1px #e2c51c07}
.desktop-nav .nav-link:hover{color:#fff;border-color:#51535a}
.desktop-nav .nav-link.active:hover{color:var(--s-accent);border-color:var(--s-accent)}
.header-actions{grid-column:3;justify-self:end;margin:0;display:flex;align-items:center;gap:14px}
.experience-picker{width:204px;height:43px;padding:5px 9px 5px 6px;background:#101114;border:1px solid #37393e;border-radius:7px;gap:9px}
.experience-picker>img{width:29px;height:29px;border-radius:4px}
.experience-picker>span{display:block;min-width:0}
.experience-picker small{display:none}
.experience-picker strong{font-size:14px;font-weight:650;color:#eeeef0}
.experience-picker>svg{width:15px;height:15px;color:#d9dade}
.experience-picker:hover{background:#191b20;border-color:#696445}
.theme-toggle{width:31px;height:31px;border:1px solid #34363d;background:#1b1d22;color:#a3a5ac;border-radius:50%}
.theme-toggle:hover{background:#282a2e;border-color:#676557;color:var(--s-accent)}
.sign-in.account-button{padding:0!important;gap:7px;background:transparent;box-shadow:none}
.account-button .account-avatar{background:#272a31;border:1px solid #454953;color:#e4e5e9;width:34px;height:34px;font-size:11px}
.account-button-name{display:none}
.account-button>svg{width:13px;height:13px}
.menu-toggle{display:none}
.app-shell{width:100%;max-width:1480px;margin:0 auto;padding:0 32px}
#main[data-view="upgrade"]{padding-top:24px}
.game-heading{display:none}
.workbench{position:relative;margin:0}
.workspace-tools{position:absolute;top:-18px;left:3px;gap:6px;align-items:center;width:auto}
.workspace-tools button,.workspace-tools .settings-button{position:static!important;width:22px;height:23px;border:0;background:transparent;color:#999da4;border-radius:4px;padding:2px;order:0}
.workspace-tools button:hover{background:#27292d;color:#e5e6e9}
.workspace-tools .info-button svg{width:17px;height:17px}
.workspace-tools svg{width:18px;height:18px;stroke-width:1.9}
.workspace-tools .on{color:var(--s-accent)!important}
.workspace-tools .speed-button{color:#8a8d93}
.upgrade-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:28px;row-gap:14px;align-items:center;margin:0 0 24px;max-width:none}
.chosen-card,html[data-theme="light"] .chosen-card{position:relative;aspect-ratio:1.27;min-height:0;background:linear-gradient(135deg,#1a1c20,#141619);border:1px solid #282b31;border-radius:12px;box-shadow:0 5px 22px #00000012;padding:21px 18px;overflow:hidden}
.chosen-card:before{content:'';position:absolute;inset:18% 8% 12%;border-radius:50%;background:radial-gradient(ellipse,#ffdf0b0d,transparent 67%);pointer-events:none}
.chosen-instruction{position:relative;z-index:3;gap:7px;width:100%;align-items:center;text-align:center}
.chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font:700 19px/1.2 'Exo 2',sans-serif;color:#f4f4f5}
.chosen-instruction small{font:400 11px/1.5 'Exo 2',sans-serif;color:#b2b4bc;max-width:95%}
.chosen-card.has-item .art{position:absolute;left:18%;top:24%;width:64%;height:56%;max-height:none;margin:0;object-fit:contain;filter:drop-shadow(0 10px 14px #00000030);z-index:1}
.chosen-card .selected-label{position:absolute;left:10px;right:10px;bottom:20px;text-align:center;z-index:3}
.selected-label strong,html[data-theme="light"] .selected-label strong{font:700 19px/1.3 'Exo 2',sans-serif;color:#f4f4f5}
.selected-label small{font:400 11px/1.4 'Exo 2',sans-serif;color:#b3b5bd;margin-top:4px}
.chosen-card .change-item{border-radius:12px}
.chosen-card.has-item:hover,html[data-theme="light"] .chosen-card.has-item:hover{box-shadow:0 0 0 1px #4e4940,0 6px 20px #00000016}
.permanent-badge{right:12px;top:70px;border-color:#47432d;background:#29261b;color:#c5b465;font-size:8px}
.empty-item-illustration{position:absolute;left:30%;top:31%;width:40%;height:36%;display:grid;place-items:center;color:#505157;opacity:.6}
.empty-item-illustration>svg{width:62%;height:62%;stroke-width:1.1}
.source-summary{grid-column:1;grid-row:2;align-self:start;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:9px;width:100%;min-height:56px;padding:10px 12px;background:linear-gradient(130deg,#181a1e,#121417);border:1px solid #2d3036;border-radius:9px}
.source-summary>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.source-summary span{font-size:12px;color:#b4b6bd;letter-spacing:0}
.source-summary strong{display:flex;align-items:baseline;gap:5px;font-size:14px;font-weight:700;color:var(--s-accent)}
.source-summary strong small{font-size:10px;font-weight:400;color:#a3a6af}
.source-value-track{height:3px;border-radius:3px;background:#0c0e11;border:1px solid #4b4c45;overflow:hidden}
.source-value-track>i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#d6c74a,#f8d515)}
.upgrade-action{grid-column:2;grid-row:2;justify-self:center;align-self:start;width:90%;max-width:none;margin:0}
.upgrade-button,html[data-theme="light"] .upgrade-button{height:56px;min-height:56px;border-radius:9px;background:linear-gradient(100deg,#f9e11a,#ffdb08);color:#151609;border:1px solid #f6e13b;box-shadow:0 3px 10px #eed20a08;font:750 20px/1.1 'Exo 2',sans-serif;gap:10px}
.upgrade-button>svg{width:21px;height:21px;stroke-width:2.6}
.upgrade-button:hover:not(:disabled),html[data-theme="light"] .upgrade-button:hover:not(:disabled){background:linear-gradient(100deg,#ffeb3d,#ffe02b);box-shadow:0 3px 18px #e9c90f12;filter:none;transform:translateY(-1px)}
.is-rolling .upgrade-button,html[data-theme="light"] .is-rolling .upgrade-button{background:#c4ad18;box-shadow:none;opacity:.8}
.quick-targets{grid-column:3;grid-row:2;align-self:start;padding-top:7px;min-width:0}
.quick-target-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) 42px;gap:6px}
.quick-target,.quick-settings{height:41px;min-width:0;border:1px solid #33363e;border-radius:7px;background:linear-gradient(140deg,#1e2127,#14161b);color:#c5c6cd;font:650 15px/1 'Exo 2',sans-serif;box-shadow:0 2px 6px #0001}
.quick-target.chance-shortcut{border-color:var(--shortcut-border,#33363e)}
.quick-target:hover:not(:disabled),.quick-settings:hover:not(:disabled){border-color:#a08d34;background:#25251e;color:#f3de63;transform:translateY(-1px)}
.quick-target.active{border-color:#e9cc18;background:#2c2919;color:#ffdf35;box-shadow:inset 0 0 0 1px #e9cc1829}
.quick-settings>svg{width:18px;height:18px;stroke-width:1.7}
.quick-target-note{font-size:9px;line-height:1.4;text-align:left;margin:8px 0 0;min-height:0;color:#858a94;overflow-wrap:anywhere}
.quick-target-note:empty{display:none}
.dial-wrap{gap:0;grid-column:2;grid-row:1;justify-self:center;width:100%;min-width:0}
.dial.wheel-v6{width:100%;height:auto;max-width:360px;aspect-ratio:1;overflow:hidden;border-radius:50%}
.wheel-svg{overflow:visible}
.wheel-track{stroke:#24262a;stroke-width:19}
.wheel-win-arc{stroke-width:19;stroke-linecap:butt}
.arc-color-start{stop-color:#f7de0e}.arc-color-mid{stop-color:#f3bc18}.arc-color-end{stop-color:#ed5927}
.wheel-ticks{stroke:#3c3e43;stroke-width:.7}
.wheel-ticks .major{stroke:#4b4e54;stroke-width:.9}
.wheel-inner-line{stroke:#303238;stroke-width:.8}
.wheel-guide-labels{font:500 6.9px 'Exo 2',sans-serif;fill:#989ba2;text-anchor:middle}
.wheel-guide-labels.hidden{visibility:hidden}
.wheel-v6 .dial-content{left:22%;top:22%;width:56%;height:56%;background:radial-gradient(circle at 50% 40%,#1c1e22,#17191d);box-shadow:0 0 0 1px #24262c;gap:0;overflow:hidden}
.wheel-ready-mark{position:absolute;left:14%;top:10%;width:72%;height:80%;margin:0;z-index:-1;opacity:.075;pointer-events:none}
.wheel-ready-mark>img{width:100%;height:100%;object-fit:contain;filter:grayscale(1) brightness(1.5)}
.wheel-v6 .chance-value{font:700 43px/1.08 'Exo 2',sans-serif;letter-spacing:-1.3px;white-space:nowrap;color:#f5d71b}
.wheel-v6 .chance-value small{font-size:33px;letter-spacing:-1px;margin-left:0}
.wheel-v6 .chance-label{font:500 13px/1.3 'Exo 2',sans-serif;color:#e8cd32;margin-top:9px}
.wheel-v6 .roll-label{display:none;position:absolute;bottom:11%;margin:0;font-size:8px;letter-spacing:.7px;color:#d4bf4b}
.is-rolling .wheel-v6 .roll-label{display:block}
.wheel-v6 .wheel-needle{visibility:visible!important}
.needle-shadow{fill:#afa039;stroke:#201e11;stroke-width:.8}
.needle-shape{fill:#ffe014;stroke:#fff59b;stroke-width:.6}
.needle-stem{stroke:#fff07a;stroke-width:.8}
.wheel-v6.is-win .needle-shape{fill:#d6e791;stroke:#f4ffc2}
.wheel-v6.is-loss .needle-shape{fill:#eaa7a7;stroke:#ffdddd}
.wheel-legend{display:none}
.wheel-v6 .circle-outcome.win .outcome-title{font-size:19px;letter-spacing:.9px;color:#f6e59a}
.wheel-v6 .circle-outcome.win>.reward-name{font-size:12px;color:#dad9c8}
.wheel-v6 .circle-outcome.loss>strong{font-size:14px;line-height:1.3;color:#e4a0ad}
.wheel-v6 .circle-outcome.loss>span{font-size:11px;color:#a79ca3}
.wheel-v6 .reward-check{border-color:#1a1c20}
.inventory-columns{gap:18px}
.inventory-panel,html[data-theme="light"] .inventory-panel{border-radius:13px;border:1px solid #33363b;background:linear-gradient(130deg,#191b1f,#121417);box-shadow:0 5px 20px #0000000b;overflow:hidden;padding:0}
.panel-top,html[data-theme="light"] .panel-top{padding:15px 18px 17px;background:transparent;gap:13px}
.panel-heading{min-height:25px;margin:0}
.panel-title{gap:9px}
.panel-title h2,html[data-theme="light"] .panel-title h2{font:700 18px/1.3 'Exo 2',sans-serif;color:#f1f2f5;letter-spacing:-.1px}
.panel-heading-icon{width:23px;height:23px;color:#dedfe3}
.panel-heading-icon>svg{width:23px;height:23px;stroke-width:1.8}
.panel-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.panel-actions .all-items{font-size:9px;font-weight:500;color:#747b86;padding:3px 0}
.panel-actions .all-items:hover{color:#e5d75f}
.panel-sort{width:25px;height:25px;border:1px solid #34373f;border-radius:5px;background:#17191e;color:#8b929c}
.panel-sort>svg{width:13px;height:13px}
.panel-controls.has-range{display:grid;grid-template-columns:minmax(100px,1.65fr) minmax(120px,1fr);gap:12px;align-items:stretch}
.search-box.field-shell{min-height:36px;height:36px;padding:0 12px;border:1px solid #3a3e47;border-radius:7px;background:linear-gradient(130deg,#1d1f24,#17191e);gap:9px}
.search-box.field-shell>svg{width:17px!important;height:17px!important;color:#b9bec7}
.search-box.field-shell input,html[data-theme="light"] .search-box.field-shell input{height:34px;background:none;color:#e6e8ec;font:400 12px/1.3 'Exo 2',sans-serif;padding:0}
.search-box.field-shell input::placeholder{color:#abb0ba}
.field-shell:focus-within{border-color:#9c8b32;box-shadow:0 0 0 2px #e2c91b09}
.value-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:36px;height:auto;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
.value-range:focus-within{border:0;box-shadow:none}
.value-field{display:flex;align-items:center;justify-content:center;gap:0;min-width:0;height:36px;min-height:36px;padding:0 10px;border:1px solid #3a3e47;border-radius:7px;background:linear-gradient(130deg,#1e2025,#16181d)}
.value-field:focus-within{border-color:#9c8b32;box-shadow:0 0 0 2px #e2c91b09}
.value-field>.value-input,html[data-theme="light"] .value-field>.value-input{width:100%;height:32px;min-width:0;border:0;padding:0;background:none;border-radius:0;outline:none;color:#e6e8ec;font:400 11px/1.3 'Exo 2',sans-serif}
.value-field>.value-input::placeholder{color:#adb1ba}
.mobile-filters{display:none}
.item-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0 18px 15px;max-height:255px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#383b44 transparent;align-content:start}
.item-card,html[data-theme="light"] .item-card{aspect-ratio:1/1.06;min-height:0;padding:8px 5px 7px;border:1px solid #30343b;border-radius:8px;background:linear-gradient(140deg,#23262b,#171a1f);box-shadow:none;justify-content:flex-end;align-items:center;text-align:center;overflow:hidden}
.item-card:not(:disabled):hover,html[data-theme="light"] .item-card:not(:disabled):hover{background:linear-gradient(140deg,#2a2d32,#1b1e22);border-color:#686346;transform:translateY(-1px)}
.item-card.selected,html[data-theme="light"] .item-card.selected{border-color:#f6d619;background:linear-gradient(135deg,#343326,#202116);box-shadow:inset 0 0 0 1px #f6d619}
.item-card.selected:after{right:4px;top:4px;width:13px;height:13px;background:#f6d619;color:#181a10;font-size:9px}
.item-card .art{position:absolute;top:9%;left:16%;width:68%;height:56%;--size:78px;object-fit:contain;margin:0;filter:drop-shadow(0 3px 5px #0002)}
.item-card .item-name,html[data-theme="light"] .item-card .item-name{display:block;max-width:100%;overflow:hidden;white-space:normal;line-height:1.2;font:650 11px/1.2 'Exo 2',sans-serif;color:#edeef2;text-align:center;max-height:27px}
.item-card .item-price,.item-card .item-meta{display:none}
.item-card .quantity{font-size:7px;right:5px;top:5px;padding:1px 3px;border-radius:4px;color:#a7aeb8;background:#16181eb3;opacity:.7}
.item-card.selected .quantity{display:none}
.item-card .permanent-badge{left:4px;right:auto;top:5px;font-size:5px;padding:1px 3px;border-radius:3px;z-index:2;opacity:.65}
.panel-bottom{padding:8px 17px;margin:0;border-top:1px solid #24272d;font-size:8px;color:#6e7581}
.panel-bottom .reset-link{font-size:8px;color:#818994}
.inventory-switch{display:none}
.standalone-panel .item-grid{grid-template-columns:repeat(8,minmax(0,1fr));max-height:none;padding-top:4px;gap:10px}
.standalone-panel .item-card{aspect-ratio:1/1.04;min-height:0;padding:10px 8px}
.standalone-panel .item-card .art{top:13%;left:17%;width:66%;height:60%;--size:110px}
.standalone-panel .item-name{font-size:12px!important;max-height:30px}
footer{margin-top:30px;padding:22px 0 28px;font-size:10px;border-top:1px solid #24262b;color:#7e838e}
.navigation-dialog{width:370px;max-width:calc(100vw - 28px);padding:0;background:var(--s-card);color:var(--s-ink);border:1px solid var(--s-line);border-radius:16px;overflow:hidden}
.navigation-dialog .dialog-heading{padding:24px 23px 20px}
.navigation-dialog h2{font-size:25px}
.navigation-links{padding:7px 15px 14px}
.navigation-links>button{display:flex;align-items:center;width:100%;min-height:48px;gap:12px;padding:9px 10px;text-align:left;border-bottom:1px solid var(--s-line);font-size:13px;color:var(--s-muted)}
.navigation-links>button:last-child{border-bottom:0}
.navigation-links>button:hover{background:var(--s-wash);color:var(--s-accent);border-radius:6px}
.navigation-links>button>svg{width:18px;height:18px;flex-shrink:0}
.navigation-links>button>svg:last-child{width:14px;height:14px;margin-left:auto;color:var(--s-soft)}
html[data-theme="light"] .topbar{background:#fff;border-bottom-color:#d7dfeb}
html[data-theme="light"] .desktop-nav .nav-link{color:#61758f}
html[data-theme="light"] .desktop-nav .nav-link.active{color:#4673aa;border-color:#95b8e6;background:#edf4fe!important}
html[data-theme="light"] .experience-picker{background:#fafcff;border-color:#d4ddeb}
html[data-theme="light"] .experience-picker strong{color:#2d4669}
html[data-theme="light"] .experience-picker>svg{color:#7188a4}
html[data-theme="light"] .account-avatar{background:#edf3fc;color:#5f7fa7;border-color:#ccdaed}
html[data-theme="light"] .chosen-card{background:#fff;border-color:#d8e1ee}
html[data-theme="light"] .chosen-card:before{background:radial-gradient(ellipse,#8db6e914,transparent 65%)}
html[data-theme="light"] .chosen-instruction strong,html[data-theme="light"] .chosen-card.target .chosen-instruction strong,html[data-theme="light"] .selected-label strong{color:#2b4261}
html[data-theme="light"] .chosen-instruction small,html[data-theme="light"] .selected-label small{color:#778aa4}
html[data-theme="light"] .source-summary{background:#fff;border-color:#d8e1ee}
html[data-theme="light"] .source-summary span{color:#7a8da6}
html[data-theme="light"] .source-summary strong{color:#456f9f}
html[data-theme="light"] .source-value-track{background:#e4ebf6;border-color:#ccd9eb}
html[data-theme="light"] .source-value-track>i{background:#89afe0}
html[data-theme="light"] .upgrade-button{background:linear-gradient(110deg,#a2c4f2,#8bb5e9);color:#28456c;border-color:#95b9e8}
html[data-theme="light"] .upgrade-button:hover:not(:disabled){background:#aacaf4;color:#28456c}
html[data-theme="light"] .quick-target,html[data-theme="light"] .quick-settings{background:#fff;color:#667d9a;border-color:#cfdcea;box-shadow:none}
html[data-theme="light"] .quick-target.active{background:#e8f1fc;color:#4676af;border-color:#8fb5e5}
html[data-theme="light"] .quick-target-note{color:#8091aa}
html[data-theme="light"] .wheel-v6 .dial-content{background:#fff;box-shadow:0 0 0 1px #e0e8f3}
html[data-theme="light"] .wheel-ready-mark>img{filter:grayscale(1) brightness(.8)}
html[data-theme="light"] .wheel-v6 .chance-value{color:#456c9f}
html[data-theme="light"] .wheel-v6 .chance-label{color:#5c7fae}
html[data-theme="light"] .arc-color-mid{stop-color:#8db4e7}
html[data-theme="light"] .wheel-guide-labels{fill:#8b9db5}
html[data-theme="light"] .inventory-panel{background:#fff;border-color:#d5dfed}
html[data-theme="light"] .panel-top{background:transparent}
html[data-theme="light"] .panel-title h2{color:#2e4669}
html[data-theme="light"] .panel-heading-icon{color:#6885aa}
html[data-theme="light"] .panel-sort{background:#f5f8fe;border-color:#d7e2f0;color:#7690b2}
html[data-theme="light"] .panel-controls .search-box.field-shell,html[data-theme="light"] .value-field{background:#fafcff;border-color:#d5dfed}
html[data-theme="light"] .panel-controls .search-box.field-shell input,html[data-theme="light"] .value-field>.value-input{color:#375273}
html[data-theme="light"] .panel-controls input::placeholder{color:#8c9cb2}
html[data-theme="light"] .item-card{background:linear-gradient(135deg,#fbfcff,#f0f4fa);border-color:#d9e2ef}
html[data-theme="light"] .item-card.selected{background:#eaf2fd;border-color:#8eb4e5;box-shadow:inset 0 0 0 1px #8eb4e5}
html[data-theme="light"] .item-card.selected:after{background:#7da7df;color:#fff}
html[data-theme="light"] .item-card .item-name{color:#3a5476}
html[data-theme="light"] .item-card .quantity{background:#e3ecf8;color:#7e94b2}
html[data-theme="light"] .item-card .permanent-badge{background:#e6effb;border-color:#d1dff1;color:#7b97bd}
html[data-theme="light"] .panel-bottom{border-color:#e1e8f2;color:#8a9cb3}
@media(min-width:1550px){.app-shell{padding-left:32px;padding-right:32px}.dial.wheel-v6{max-width:410px}.chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font-size:21px}.selected-label strong{font-size:21px}.item-grid{max-height:278px}.item-card .item-name{font-size:11px;max-height:27px}}
@media(min-width:901px) and (max-width:1180px){.header-inner{padding:0 22px;grid-template-columns:auto 1fr auto;gap:17px}.brand{font-size:21px;gap:7px}.brand>img{width:26px;height:29px}.desktop-nav{gap:3px}.desktop-nav .nav-link{font-size:13px;padding:0 10px;gap:6px;height:39px}.nav-link>span[data-icon] svg{width:17px;height:17px}.header-actions{gap:9px}.experience-picker{width:165px;height:39px}.experience-picker strong{font-size:12px}.experience-picker>img{width:27px;height:27px}.theme-toggle{width:28px;height:28px}.account-button .account-avatar{width:31px;height:31px}.app-shell{padding:0 24px}.upgrade-layout{column-gap:18px;row-gap:17px}.chosen-card{padding:18px 12px}.chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font-size:16px}.chosen-instruction small{font-size:9px}.chosen-card.has-item .art{top:26%;height:49%}.chosen-card .selected-label{bottom:17px}.selected-label strong{font-size:15px}.selected-label small{font-size:9px}.wheel-v6 .chance-value{font-size:34px}.wheel-v6 .chance-value small{font-size:25px}.wheel-v6 .chance-label{font-size:11px}.quick-target-row{grid-template-columns:repeat(6,minmax(0,1fr)) 31px;gap:4px}.quick-target,.quick-settings{height:38px;font-size:12px}.quick-settings>svg{width:16px;height:16px}.upgrade-button,html[data-theme="light"] .upgrade-button{height:52px;min-height:52px;font-size:18px}.source-summary{min-height:52px}.source-summary span{font-size:11px}.panel-controls.has-range{grid-template-columns:minmax(100px,1.2fr) minmax(110px,1fr);gap:8px}.panel-top{padding:14px 13px}.item-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding:0 12px 13px;gap:6px;max-height:225px}.item-card .item-name{font-size:9px}.standalone-panel .item-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.wheel-v6 .circle-outcome.win .outcome-title{font-size:15px}.wheel-v6 .circle-outcome.win>.reward-name{font-size:11px}.wheel-v6 .circle-outcome.loss>strong{font-size:12px}}
@media(max-width:900px){
  .topbar,html[data-theme="light"] .topbar,.header-inner{height:60px;min-height:60px}
  .header-inner{display:flex;justify-content:space-between;padding:0 15px;gap:12px}
  .brand{font-size:21px;gap:7px;letter-spacing:-.6px}
  .brand>span{display:block}
  .brand>img{width:25px;height:28px}
  .desktop-nav{display:none}
  .header-actions{display:flex;margin-left:auto;gap:0}
  .header-actions .experience-picker,.header-actions .theme-toggle,.header-actions .sign-in{display:none}
  .menu-toggle{display:grid;place-items:center;width:30px;height:34px;padding:5px;color:#bfc2ca;background:transparent;border-radius:5px}
  .menu-toggle>span>svg{width:22px;height:22px}
  .menu-toggle:hover{background:#25272c;color:#f5f5f7}
  .app-shell{margin:0 auto;padding:0 13px;max-width:650px}
  #main[data-view="upgrade"]{padding-top:0}
  .game-heading{display:block;height:auto;margin:8px 0 6px}
  .mobile-experience{display:flex;align-items:center;width:100%;height:41px;max-width:none;margin:0;padding:5px 10px 5px 6px;gap:9px;border:1px solid #3a3c43;border-radius:7px;background:linear-gradient(125deg,#191b20,#101215)}
  .mobile-experience>img{width:28px;height:28px;object-fit:cover;border-radius:4px;filter:none!important}
  .mobile-experience>span{font:650 12px/1.2 'Exo 2',sans-serif;color:#f0f1f4}
  .mobile-experience>svg{margin-left:auto;width:15px;height:15px;color:#bfc2cb}
  .workspace-tools{display:none}
  .workspace-tools button,.workspace-tools .settings-button{width:18px;height:18px;padding:2px;border:0;border-radius:3px;background:transparent;color:#727781}
  .workspace-tools svg{width:14px;height:14px}
  .workspace-tools .info-button svg{width:13px;height:13px}
  .upgrade-layout{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;column-gap:10px;row-gap:10px;margin:0 0 18px;max-width:none}
  .dial-wrap{grid-column:1/-1;grid-row:1;width:100%;gap:0}
  .dial.wheel-v6{width:min(72vw,240px);height:auto;max-width:240px;aspect-ratio:1}
  .wheel-guide-labels{font-size:7px}
  .wheel-v6 .chance-value{font-size:30px;letter-spacing:-1px}
  .wheel-v6 .chance-value small{font-size:23px;letter-spacing:-.5px}
  .wheel-v6 .chance-label{font-size:10px;margin-top:5px}
  .wheel-v6 .roll-label{font-size:6px;bottom:9%}
  .chosen-card.source{grid-column:1;grid-row:2}
  .chosen-card.target{grid-column:2;grid-row:2}
  .chosen-card,html[data-theme="light"] .chosen-card{aspect-ratio:1.18;border-radius:8px;padding:11px 8px;min-height:0}
  .chosen-instruction{gap:0}
  .chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font-size:11px;line-height:1.3}
  .chosen-instruction small{display:none}
  .chosen-card.has-item .art{left:17%;top:22%;width:66%;height:47%;max-height:none;filter:drop-shadow(0 4px 7px #0002)}
  .chosen-card .selected-label{left:5px;right:5px;bottom:11px}
  .selected-label strong,html[data-theme="light"] .selected-label strong{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .selected-label small{font-size:8px;line-height:1.3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .permanent-badge{right:7px;top:28px;font-size:5px;padding:1px 3px}
  .empty-item-illustration{top:29%;height:32%;opacity:.4}
  .source-summary{display:none}
  .upgrade-action{grid-column:1/-1;grid-row:3;width:100%;margin:0;max-width:none}
  .upgrade-button,html[data-theme="light"] .upgrade-button{height:43px;min-height:43px;border-radius:7px;font-size:17px;gap:8px}
  .upgrade-button>svg{width:18px;height:18px}
  .quick-targets{grid-column:1/-1;grid-row:4;padding-top:0}
  .quick-target-row{grid-template-columns:repeat(6,minmax(0,1fr)) 33px;gap:5px}
  .quick-target,.quick-settings{height:33px;border-radius:6px;font-size:11px;box-shadow:none}
  .quick-settings>svg{width:15px;height:15px}
  .quick-target-note{font-size:8px;text-align:center;margin-top:7px}
  .upgrade-layout.has-result{grid-template-rows:auto auto auto;row-gap:14px}
  .has-result .upgrade-action{grid-row:2}
  .has-result .quick-targets{grid-row:3}
  .wheel-v6 .circle-outcome.win .outcome-title{font-size:13px;letter-spacing:.5px;top:7%}
  .wheel-v6 .circle-outcome.win>.reward-name{font-size:9px;bottom:7%}
  .wheel-v6 .circle-outcome.loss>strong{font-size:10px}
  .wheel-v6 .circle-outcome.loss>span{font-size:8px}
  .wheel-v6 .outcome-mark{width:46px;height:46px}
  .wheel-v6 .reward-check{width:18px;height:18px;border-width:2px}
  .wheel-v6 .reward-check>svg{width:11px;height:11px}
  .inventory-switch,html[data-theme="light"] .inventory-switch{display:flex;gap:0;padding:0;border:0;border-bottom:1px solid #3c3e44;border-radius:0;background:transparent;margin:0 0 12px}
  .inventory-switch button{flex:1;height:40px;min-height:40px;padding:4px 3px;gap:6px;border:0;border-bottom:2px solid transparent;border-radius:0;font:600 11px/1.3 'Exo 2',sans-serif;color:#b2b5bd;background:none}
  .inventory-switch button svg{width:14px!important;height:14px!important}
  .inventory-switch button.active{color:#f1d31d;background:none;border-bottom-color:#f1d31d}
  .inventory-panel,html[data-theme="light"] .inventory-panel{border:0;border-radius:0;background:transparent;box-shadow:none}
  .panel-top,html[data-theme="light"] .panel-top{padding:0 0 12px;background:transparent;gap:0}
  .inventory-panel:not(.standalone-panel) .panel-heading{display:none}
  .panel-controls.has-range{display:grid;grid-template-columns:minmax(0,1fr) 31px;gap:8px;align-items:start}
  .search-box.field-shell{height:35px;min-height:35px;border-radius:5px;padding:0 10px;gap:8px}
  .search-box.field-shell input,html[data-theme="light"] .search-box.field-shell input{height:33px;font-size:12px}
  .search-box.field-shell>svg{width:15px!important;height:15px!important}
  .mobile-filters{display:grid;place-items:center;width:31px;height:35px;border:1px solid #3a3d45;border-radius:5px;background:#171a1f;color:#abb2bd}
  .mobile-filters>svg{width:16px;height:16px}
  .mobile-filters:hover,.mobile-filters[aria-expanded="true"],.inventory-panel:has(.value-input:not(:placeholder-shown)) .mobile-filters{color:#f0d660;border-color:#8a7b36}
  .value-range{display:none;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;min-height:35px}
  .values-open .value-range{display:grid}
  .value-field{height:35px;min-height:35px;padding:0 10px;border-radius:5px}
  .value-field>.value-input,html[data-theme="light"] .value-field>.value-input{height:33px;font-size:12px}
  .item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 0 10px;max-height:360px;overflow:auto}
  .item-card,html[data-theme="light"] .item-card{aspect-ratio:1.1;padding:6px 4px;border-radius:6px;min-height:0}
  .item-card .art{left:17%;top:9%;width:66%;height:56%;--size:75px}
  .item-card .item-name,html[data-theme="light"] .item-card .item-name{font-size:10px;line-height:1.15;max-height:23px;white-space:normal}
  .item-card .quantity{font-size:6px;top:4px;right:4px}
  .item-card .permanent-badge{font-size:5px;top:4px;left:4px;padding:1px 2px}
  .item-card.selected:after{width:12px;height:12px;right:3px;top:3px;font-size:8px}
  .panel-bottom{border:0;padding:8px 1px;font-size:8px}
  .panel-bottom .reset-link{font-size:8px}
  .standalone-panel{border:1px solid var(--s-line)!important;border-radius:10px!important;background:var(--s-card)!important;padding:12px!important}
  .standalone-panel .panel-heading{margin-bottom:12px}
  .standalone-panel .panel-title h2{font-size:16px}
  .standalone-panel .item-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:7px;max-height:none}
  .standalone-panel .item-name{font-size:10px!important;max-height:24px}
  .standalone-panel .item-card .art{top:12%;left:17%;width:66%;height:58%;--size:85px}
  footer{padding:22px 0 28px;margin-top:22px;gap:14px;font-size:8px}
  footer p{font-size:8px;line-height:1.6}
  html[data-theme="light"] .menu-toggle{color:#6e839f}
  html[data-theme="light"] .mobile-experience{background:#fff;border-color:#d6e0ee}
  html[data-theme="light"] .mobile-experience>span{color:#456184}
  html[data-theme="light"] .inventory-switch{border-color:#d3ddea}
  html[data-theme="light"] .inventory-switch button.active{color:#527dad;border-bottom-color:#7ca8df}
  html[data-theme="light"] .mobile-filters{background:#fff;border-color:#d1ddeb;color:#7c91ae}
  html[data-theme="light"] .inventory-panel{background:transparent;border:0}
}
@media(min-width:600px) and (max-width:900px){.app-shell{padding:0 28px;max-width:800px}.dial.wheel-v6{width:310px;max-width:310px}.upgrade-layout{max-width:650px;margin-left:auto;margin-right:auto}.chosen-card,html[data-theme="light"] .chosen-card{aspect-ratio:1.5;max-height:none}.chosen-card.has-item .art{top:20%;height:53%;width:54%;left:23%}.chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font-size:14px}.selected-label strong{font-size:15px}.selected-label small{font-size:10px}.upgrade-button,html[data-theme="light"] .upgrade-button{height:48px;min-height:48px;font-size:19px}.quick-target-row{grid-template-columns:repeat(6,minmax(0,1fr)) 41px;gap:8px}.quick-target,.quick-settings{height:38px;font-size:13px}.item-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:330px}.item-card .item-name{font-size:11px}.standalone-panel .item-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:350px){.topbar,html[data-theme="light"] .topbar,.header-inner{height:56px;min-height:56px}.brand{font-size:19px}.brand>img{width:23px;height:26px}.header-inner{padding:0 13px}.app-shell{padding:0 11px}.game-heading{margin:11px 0 25px}.mobile-experience{height:38px}.mobile-experience>img{width:25px;height:25px}.mobile-experience>span{font-size:11px}.dial.wheel-v6{width:73vw;max-width:238px}.wheel-v6 .chance-value{font-size:27px}.wheel-v6 .chance-value small{font-size:20px}.wheel-v6 .chance-label{font-size:9px}.upgrade-layout{column-gap:8px;row-gap:11px}.chosen-card,html[data-theme="light"] .chosen-card{aspect-ratio:1.03;padding:10px 6px}.chosen-instruction strong,.chosen-card.target .chosen-instruction strong{font-size:10px}.selected-label strong,html[data-theme="light"] .selected-label strong{font-size:10px}.selected-label small{font-size:7px}.chosen-card .selected-label{bottom:10px}.quick-target-row{grid-template-columns:repeat(6,minmax(0,1fr)) 29px;gap:4px}.quick-target,.quick-settings{height:31px;font-size:10px}.quick-settings>svg{width:13px;height:13px}.quick-target-note{font-size:7px}.item-grid{gap:6px}.item-card .item-name,html[data-theme="light"] .item-card .item-name{font-size:9px;max-height:22px}.wheel-v6 .circle-outcome.win .outcome-title{font-size:12px}.wheel-v6 .circle-outcome.win>.reward-name{font-size:8px}.wheel-v6 .circle-outcome.loss>strong{font-size:9px}.wheel-v6 .circle-outcome.loss>span{font-size:7px}.wheel-v6 .outcome-mark{width:40px;height:40px}}
