body[data-route="games"],body[data-route="upgrader"]{background:linear-gradient(150deg,#262932 0%,#1d2029 48%,#14161c 100%) fixed}
body[data-route="games"] .top-panel,body[data-route="upgrader"] .top-panel{width:min(calc(100% - 24px),760px)!important;min-height:62px;padding:3px 8px;border:0;border-radius:0;background:transparent;box-shadow:none}
body[data-route="games"] .profile-name,body[data-route="games"] .profile-handle,body[data-route="upgrader"] .profile-name,body[data-route="upgrader"] .profile-handle{display:none}
body[data-route="games"] .profile-summary,body[data-route="upgrader"] .profile-summary{gap:8px}
body[data-route="games"] .profile-copy,body[data-route="upgrader"] .profile-copy{display:flex}
body[data-route="games"] .balance-row,body[data-route="upgrader"] .balance-row{height:37px;padding:3px 11px;border-radius:21px;background:#373a42}
body[data-route="games"] .balance-plus,body[data-route="upgrader"] .balance-plus{display:none}
body[data-route="games"] .top-deposit,body[data-route="upgrader"] .top-deposit{height:43px;min-width:0;padding:0 17px;border:0;border-radius:22px;background:#3e83e9;box-shadow:none;font-size:14px}
body[data-route="games"] .live-panel{display:flex;width:min(calc(100% - 18px),760px)!important;height:65px;min-height:65px;margin-top:10px;padding:0 18px;border:0;border-radius:28px;background:#30343d;box-shadow:none}
body[data-route="games"] .live-status{display:flex;align-items:center;gap:13px;width:auto}
body[data-route="games"] .live-dot{width:7px;height:7px;box-shadow:0 0 0 2px #32f29a1c,0 0 8px #32f29a75}
body[data-route="games"] .live-title{color:#83f9a9;font-size:12px;font-weight:600;letter-spacing:.17em}
body[data-route="games"] #content{width:min(calc(100% - 24px),760px);margin-top:13px}
body[data-route="upgrader"] main{padding-bottom:0}
body[data-route="upgrader"] .hotbar,body[data-route="upgrader"] .banner-slot,body[data-route="upgrader"] .live-panel{display:none}
body[data-case-view="detail"] .upgrader-bar{display:none!important}
body[data-route="upgrader"] #content{width:min(calc(100% - 24px),760px);margin-top:12px;color:#f5f5f7}

.upgrader-bar{display:none;width:min(calc(100% - 24px),760px);height:48px;margin:0 auto 4px;position:relative;align-items:center;justify-content:space-between;color:#f7f7f8}
body[data-route="upgrader"] .upgrader-bar{display:flex}
.upgrader-back,.upgrader-bar-tools{height:33px;border-radius:19px;background:#363940;color:#f5f6f8}
.upgrader-back{display:flex;flex-direction:row;gap:6px;align-items:center;padding:0 11px;font-size:13px}
.upgrader-back>span:first-child{font-size:25px;line-height:.7;font-weight:300}
.upgrader-bar>strong{position:absolute;left:50%;transform:translateX(-50%);max-width:43%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700}
.upgrader-bar-tools{display:flex;align-items:center;gap:7px;padding:0 9px}
.upgrader-bar-tools>span{font-size:25px;line-height:.6}
.upgrader-bar-tools button{display:block;width:25px;height:28px;color:#f6f7f9;font-size:19px;letter-spacing:1px}

.upgrader-games-list{padding-top:1px}
.upgrader-game-card{width:100%;min-height:91px;display:flex;flex-direction:row;align-items:center;gap:13px;padding:14px 4px;border:0;border-radius:24px;color:#f7f7fa;background:linear-gradient(115deg,#30333c,#292c34);text-align:left;box-shadow:inset 0 1px #ffffff08}
.upgrader-game-art{display:grid;place-items:center;width:66px;height:66px;flex:none}
.upgrader-game-art img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 7px #0007)}
.upgrader-game-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:8px}
.upgrader-game-line{display:flex;align-items:center;gap:8px;min-width:0}
.upgrader-game-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:700}
.upgrader-game-line em{flex:none;padding:3px 7px;border-radius:12px;color:#fff;background:#3c87ed;font-size:10px;font-style:normal;font-weight:700}
.upgrader-game-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a8aab3;font-size:13px}
.upgrader-game-chevron{flex:none;color:#777c88;font-size:24px;font-weight:300}

.upgrader-page{min-height:calc(100dvh - 139px);display:flex;flex-direction:column;padding:0 0 calc(18px + env(safe-area-inset-bottom))}
.upgrader-utility{display:flex;justify-content:space-between;align-items:center}
.upgrader-utility button{width:45px;height:45px;display:grid;place-items:center;border:0;border-radius:16px;color:#f5f6f8;background:#30333c;font-size:23px;font-weight:600}
.upgrader-utility button:last-child{color:#8e939e;background:#282b33}
.upgrader-utility svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.upgrader-wheel{position:relative;width:min(68vw,310px);height:min(68vw,310px);min-width:245px;min-height:245px;display:grid;place-items:center;align-self:center;margin:10px auto 15px;border:18px solid #3b3e47;border-radius:50%;background:#262932}
.upgrader-wheel-pointer{position:absolute;top:-28px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-top:18px solid #fff}
.upgrader-wheel-center{width:79%;display:flex;align-items:center;flex-direction:column;text-align:center}
.upgrader-chance-label{font-size:13px;letter-spacing:.01em}
.upgrader-wheel-center strong{margin:12px 0 14px;font-size:51px;font-weight:400;line-height:.7}
.upgrader-wheel-center p{max-width:210px;margin:0;font-size:13px;line-height:1.32}
.upgrader-fields{display:grid;gap:15px}
.upgrader-field h2{margin:0 0 11px 4px;color:#f4f4f6;font-size:18px;line-height:1.2}
.upgrader-add{width:100%;min-height:91px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:12px;border:0;border-radius:24px;color:#f6f6f8;background:#2b2e37;text-align:left}
.upgrader-add-icon{width:59px;height:59px;flex:none;display:grid;place-items:center;border-radius:19px;color:#f3f4f7;background:#383b44;font-size:28px;font-weight:300}
.upgrader-add strong{font-size:17px;font-weight:600}
.upgrader-add-target{position:relative;overflow:hidden}
.upgrader-multipliers{display:grid;grid-template-columns:repeat(2,44px);gap:5px;margin-left:auto;opacity:.42}
.upgrader-multipliers i{height:26px;display:grid;place-items:center;border-radius:11px;color:#d7e2ed;font-size:12px;font-style:normal;font-weight:700;background:#285e55}
.upgrader-multipliers i:nth-child(2){background:#61512b}.upgrader-multipliers i:nth-child(3){background:#63472f}.upgrader-multipliers i:nth-child(4){background:#633b46}
.upgrader-play{display:block;width:100%;min-height:58px;margin-top:10px;padding:10px 16px;border:0;border-radius:29px;color:#a9c9f2;background:#3c84ee;font-size:19px;font-weight:650;text-align:center;cursor:not-allowed}

.upgrader-sheet-layer[hidden]{display:none}
.upgrader-sheet-layer{position:fixed;inset:0;z-index:60;display:flex;align-items:end;justify-content:center}
.upgrader-sheet-backdrop{position:absolute;inset:0;background:#0a0b0fd8;backdrop-filter:blur(12px)}
body.upgrader-sheet-open{overflow:hidden}
.upgrader-sheet{position:relative;width:min(100%,560px);max-height:81dvh;display:flex;flex-direction:column;padding:13px 16px calc(16px + env(safe-area-inset-bottom));border:1px solid #ffffff18;border-bottom:0;border-radius:28px 28px 0 0;color:#f6f6f8;background:linear-gradient(145deg,#292c36,#191b23 75%);box-shadow:0 -15px 50px #0009}
.upgrader-sheet.is-picker{height:66dvh;min-height:390px}
.upgrader-sheet-handle{align-self:center;width:43px;height:5px;border-radius:5px;background:#4c505b}
.upgrader-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 18px}
.upgrader-sheet-head h2{margin:0;font-size:22px;line-height:1.2}
.upgrader-sheet-head button{width:39px;height:39px;min-width:39px;display:grid;place-items:center;border:0;border-radius:50%;color:#f6f6f7;background:#383b44;font-size:28px;font-weight:300}
.upgrader-sheet-body{overflow:auto;min-height:0;padding-bottom:12px;scrollbar-width:thin}
.upgrader-sheet-done{width:100%;height:56px;flex:none;margin-top:12px;border:0;border-radius:25px;color:#fff;background:#3c85ee;font-size:19px;font-weight:700}
.upgrader-picker-empty{margin:12px 0;color:#a6a8b1;font-size:16px}
.upgrader-about-hero{padding:18px 20px 20px;border-radius:26px;background:radial-gradient(circle at 50% 0%,#283c76,#111a33 52%,#0d1428)}
.upgrader-about-brand{display:flex;align-items:center;gap:10px;font-size:20px}
.upgrader-about-icon{display:grid;place-items:center;width:50px;height:50px;flex:none}
.upgrader-about-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 6px #0008)}
.upgrader-about-hero h3{margin:22px 0 10px;font-size:26px;line-height:1.16}
.upgrader-about-hero p,.upgrader-about-callout p,.upgrader-steps p,.upgrader-about-note p,.upgrader-fair p{margin:0;font-size:16px;line-height:1.42}
.upgrader-about-callout{display:flex;align-items:center;gap:16px;margin-top:15px;padding:16px 18px;border-radius:23px;background:#2d3642}
.upgrader-about-gift{width:48px;flex:none;display:grid;place-items:center;color:#80cfff}.upgrader-about-gift svg{width:31px;height:31px}.upgrader-about-callout strong{display:block;margin-bottom:6px;font-size:17px}
.upgrader-steps{display:grid;gap:12px;margin:17px 0 20px;padding:0;list-style:none}
.upgrader-steps li{display:flex;align-items:center;gap:13px;padding:15px;border-radius:22px;background:#2b2e37}
.upgrader-steps li>span{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:13px;background:#3b3e48;font-size:18px;font-weight:700}
.upgrader-about-note{padding:6px 12px 12px}.upgrader-about-note strong{display:block;margin-bottom:9px;font-size:11px;letter-spacing:.15em}
.upgrader-fair{display:flex;align-items:center;flex-direction:column;padding:25px 16px 30px;text-align:center}
.upgrader-fair-mark{width:70px;height:70px;display:grid;place-items:center;border:2px solid #83bbe9;border-radius:22px;color:#83bbe9;font-size:35px}.upgrader-fair h3{margin:18px 0 9px;font-size:22px}

@media(max-width:430px){.upgrader-bar>strong{font-size:14px}.upgrader-game-card{min-height:87px;padding:12px 4px;gap:10px}.upgrader-game-art{width:60px;height:60px}.upgrader-game-line strong{font-size:16px}.upgrader-game-copy small{font-size:12px}.upgrader-game-line em{font-size:9px}.upgrader-wheel{width:min(67vw,275px);height:min(67vw,275px);min-width:240px;min-height:240px;border-width:15px;margin-top:8px;margin-bottom:15px}.upgrader-wheel-pointer{top:-23px}.upgrader-page{min-height:calc(100dvh - 136px)}.upgrader-add{min-height:84px}.upgrader-add-icon{width:55px;height:55px}.upgrader-field h2{font-size:17px}.upgrader-about-hero h3{font-size:23px}.upgrader-about-hero p,.upgrader-about-callout p,.upgrader-steps p,.upgrader-about-note p{font-size:14px}}
@media(max-height:760px){.upgrader-wheel{width:min(58vw,245px);height:min(58vw,245px);min-width:218px;min-height:218px;margin-top:4px;margin-bottom:9px}.upgrader-fields{gap:10px}.upgrader-field h2{margin-bottom:7px}.upgrader-add{min-height:76px}.upgrader-add-icon{width:50px;height:50px}.upgrader-play{min-height:53px}}
