/* FoMyPay v2 — compact iOS-first visual system */
:root{--v2-bg:#07090d;--v2-card:#11141a;--v2-card-2:#151922;--v2-line:rgba(255,255,255,.095);--v2-text:#f7f8fb;--v2-muted:#9298a7;--v2-purple:#8966f4;--v2-purple-2:#b49aff;--v2-cyan:#5ed4ef;--v2-green:#61d997;--v2-red:#f15b6c;--v2-gold:#f2c96f;--safe:env(safe-area-inset-bottom,0px)}
html,body{background:var(--v2-bg);color:var(--v2-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Inter,system-ui,sans-serif;font-size:14px;line-height:1.35}
body{overflow-x:hidden}.v2-shell{background:radial-gradient(circle at 80% 2%,rgba(92,68,180,.13),transparent 30%),var(--v2-bg);width:min(100%,480px)}
.v2-shell svg{display:block}.v2-shell button{letter-spacing:-.01em}.v2-shell .content{padding:6px 14px calc(104px + var(--safe))}.v2-shell .immersive-content{padding:0 14px calc(30px + var(--safe))}
.v2-topbar{height:72px;padding:calc(9px + env(safe-area-inset-top,0px)) 14px 8px;background:linear-gradient(180deg,rgba(7,9,13,.98) 62%,rgba(7,9,13,.8));gap:10px}.v2-topbar .brand-mark{width:36px;height:36px;border-radius:12px}.v2-topbar .top-actions{gap:7px}.v2-topbar .round-btn{width:40px;height:40px;border-radius:14px}
.wallet-pill{height:42px;min-width:148px;border:1px solid rgba(139,106,246,.25);border-radius:14px;background:linear-gradient(145deg,rgba(139,102,244,.17),rgba(255,255,255,.035));padding:4px 7px;display:grid;grid-template-columns:30px 1fr 20px;gap:7px;align-items:center;text-align:left}.wallet-pill>span:first-child{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(139,102,244,.16);color:var(--v2-purple-2)}.wallet-pill svg{width:16px}.wallet-pill>span:nth-child(2){display:flex;flex-direction:column;line-height:1.05}.wallet-pill small{font-size:8px;color:#aaa2c3}.wallet-pill b{font-size:12px;margin-top:4px}.wallet-pill>i{width:19px;height:19px;border-radius:7px;background:#8c69ef;color:#fff;display:grid;place-items:center}.wallet-pill>i svg{width:12px}
.page-stack{gap:12px}.page-header{min-height:67px;display:flex;gap:11px;align-items:flex-start;padding:7px 2px 4px}.page-header>.round-btn{flex:none;margin-top:0}.page-header h1{font-size:27px;line-height:1.08;letter-spacing:-1px;margin:0}.page-header p{font-size:11px;line-height:1.45;color:var(--v2-muted);margin:7px 0 0;max-width:340px}
.card,.operator-strip,.profile-preview,.support-list,.wide-row,.faq-list details,.support-callout,.winning-row,.game-panel,.game-history,.mines-summary,.ladder-summary,.box-odds{border:1px solid var(--v2-line);background:linear-gradient(145deg,rgba(255,255,255,.048),rgba(255,255,255,.02));border-radius:22px}
.card{padding:16px}.section-head{margin-bottom:14px}.section-head h2{font-size:14px}.primary,.secondary{height:50px;border-radius:16px;font-size:14px}.primary{background:linear-gradient(145deg,#9672fa,#7351df);box-shadow:0 10px 28px rgba(110,77,222,.2)}.primary:disabled{opacity:.38}.round-btn{color:#d9dbe2}.round-btn svg{width:18px;height:18px}
.bottom-nav{height:72px;width:min(calc(100% - 20px),458px);border-radius:23px;background:rgba(16,18,24,.91);border-color:rgba(255,255,255,.1);box-shadow:0 16px 50px rgba(0,0,0,.52);padding:7px}.nav-item{min-height:54px}.nav-item span{width:28px;height:28px}.nav-item svg{width:20px;height:20px}.nav-item small{font-size:9px}.nav-item.active{color:#e5ddff}.nav-item.nav-exchange span{width:44px;height:44px;border-radius:15px;margin-top:-24px;background:linear-gradient(145deg,#9b77ff,#6c4cdd)}
.home-hero{min-height:232px;padding:18px;border-radius:26px;background:radial-gradient(circle at 80% 45%,rgba(109,76,231,.26),transparent 32%),linear-gradient(145deg,#141622,#0c0f15)}.hero-rate>b{font-size:43px;line-height:1.05}.home-hero>.primary{width:166px;font-size:12px}.rate-graph-art{position:absolute;right:-15px;bottom:24px;width:190px;height:100px;opacity:.8}.rate-graph-art i{position:absolute;height:2px;background:linear-gradient(90deg,transparent,#8b68f0);transform-origin:right}.rate-graph-art i:nth-child(1){width:92px;right:48px;bottom:25px;transform:rotate(-25deg)}.rate-graph-art i:nth-child(2){width:75px;right:0;bottom:62px;transform:rotate(24deg)}.rate-graph-art i:nth-child(3){width:150px;right:0;bottom:18px;background:radial-gradient(circle,#ad95ff 2px,transparent 3px);background-size:17px 17px;height:70px}
.metrics-grid{gap:8px}.metric{height:74px;border-radius:18px}.metric b{font-size:18px}.metric span{font-size:9px}
.profile-preview{min-height:76px;padding:10px;display:grid;grid-template-columns:48px 1fr auto;gap:11px;align-items:center;text-align:left}.profile-preview .avatar,.profile-avatar{display:grid;place-items:center;overflow:hidden;border-radius:16px;background:linear-gradient(145deg,#7f61db,#34275d);font-weight:800}.profile-preview .avatar{width:48px;height:48px}.profile-preview img,.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-preview>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.profile-preview small,.profile-preview em{font-size:9px;color:var(--v2-muted);font-style:normal}.profile-preview b{font-size:13px;margin:2px 0}.profile-status{display:flex;gap:3px;align-items:center;font-size:9px;color:#cebfff}.profile-status svg{width:14px}
.quick-grid{gap:8px}.quick-grid .action-row{min-height:64px;border-radius:18px;padding:9px}.action-row{grid-template-columns:38px 1fr 15px;gap:10px}.row-icon{width:38px;height:38px;border-radius:12px}.action-row b{font-size:11px}.action-row small{font-size:8px}.support-list{padding:5px}.support-list .action-row{width:100%;min-height:59px;border:0;border-bottom:1px solid rgba(255,255,255,.055);border-radius:14px}.support-list .action-row:last-child{border-bottom:0}.support-list .action-row b{font-size:12px}.support-list .row-icon{background:rgba(99,197,232,.08);color:#79d8ef}
.segmented{display:flex;overflow-x:auto;scrollbar-width:none;gap:5px;padding:4px;border-radius:16px}.segmented::-webkit-scrollbar{display:none}.segmented button{height:38px;min-width:72px;flex:1;white-space:nowrap;padding:0 12px;font-size:10px}.segmented-scroll button{flex:0 0 auto}.segmented button.active{background:rgba(255,255,255,.09);box-shadow:0 5px 18px rgba(0,0,0,.22)}
.asset-choice{gap:9px}.asset-choice button{height:88px;display:grid;grid-template-columns:36px 1fr 18px;grid-template-rows:1fr;padding:12px;align-items:center;gap:9px}.asset-choice button>span:first-child{grid-row:auto;width:36px;height:36px;margin:0}.asset-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.asset-choice button b{font-size:12px}.asset-choice button small{font-size:9px}.asset-choice button>i{opacity:0;width:17px;height:17px;border-radius:50%;background:#8864ee;color:white;display:grid;place-items:center}.asset-choice button.active>i{opacity:1}.asset-choice button>i svg{width:11px}.asset-symbol.usdt{background:rgba(80,216,159,.1);color:#65dcaa;font-weight:800}.ton-symbol{display:inline-grid;place-items:center;color:#69cffa}.ton-symbol svg{width:19px;height:19px;fill:currentColor}.ton-symbol svg path:nth-child(2){fill:var(--v2-bg);stroke:var(--v2-bg);stroke-width:.2}.asset-choice .ton-symbol{background:rgba(78,188,239,.11);border-radius:11px}
.requisites{gap:8px}.requisite{height:62px;border-radius:17px;grid-template-columns:38px minmax(0,1fr) 19px;gap:10px;padding:8px 11px}.requisite-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.requisite b{font-size:12px;line-height:1.1}.requisite small{font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.requisite .radio{width:18px;height:18px;display:grid;place-items:center}.requisite .radio svg{width:11px}.form-grid label{display:grid;gap:5px;font-size:9px;color:var(--v2-muted)}.summary-row{font-size:10px;padding:10px 0}.summary-total b{font-size:22px}.agreement span{font-size:9px}
.history-list{gap:9px}.history-card{min-height:76px;padding:11px;grid-template-columns:43px minmax(0,1fr) auto;gap:11px;border-radius:20px}.history-icon{width:43px;height:43px;border-radius:14px}.history-icon .ton-symbol svg{width:20px}.history-copy{gap:4px;min-width:0}.history-copy>div{gap:6px;flex-wrap:wrap}.history-copy b,.history-card>strong{font-size:11px}.history-copy>span,.history-copy small{font-size:8px}.history-card>strong{text-align:right;white-space:nowrap}.status{font-size:7px;padding:3px 6px}.status.cancelled{color:#f18491;background:rgba(241,91,108,.08)}
.profile-hero{min-height:130px;padding:18px;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle at 82% 25%,rgba(137,102,244,.2),transparent 35%),var(--v2-card);display:grid;grid-template-columns:67px 1fr auto;gap:13px;align-items:center}.profile-avatar{width:67px;height:67px;font-size:24px}.profile-hero h2{font-size:18px;margin:0}.profile-hero p{font-size:10px;color:var(--v2-muted);margin:4px 0}.id-copy{border:0;background:none;padding:0;color:#a99ec0;font-size:8px;display:flex;align-items:center;gap:4px}.id-copy svg{width:12px}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-stats>div{min-height:88px;border:1px solid var(--v2-line);border-radius:19px;background:rgba(255,255,255,.027);padding:12px;display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto}.profile-stats svg{width:19px;color:#a98cff}.profile-stats span{font-size:9px;color:var(--v2-muted)}.profile-stats b{grid-column:1/3;font-size:19px;align-self:end}.profile-progress-copy{display:block;margin-top:8px;color:var(--v2-muted);font-size:8px}.tier-cards{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px}.tier-card{flex:0 0 100px;height:105px;border:1px solid var(--v2-line);border-radius:19px;background:rgba(255,255,255,.026);display:flex;flex-direction:column;align-items:center;justify-content:center}.tier-card>span{color:#777d8e}.tier-card svg{width:23px}.tier-card b{font-size:10px;margin-top:8px}.tier-card small{font-size:8px;color:var(--v2-muted);margin-top:4px}.tier-card.current{border-color:rgba(239,201,111,.3);background:rgba(239,201,111,.06)}.tier-card.current>span{color:var(--v2-gold)}.wide-row{min-height:68px;padding:12px;display:grid;grid-template-columns:38px 1fr 16px;gap:10px;align-items:center;text-align:left}.wide-row>svg:first-child{width:20px;color:#ac91fb}.wide-row>span{display:flex;flex-direction:column}.wide-row b{font-size:12px}.wide-row small{font-size:9px;color:var(--v2-muted);margin-top:3px}.wide-row>svg:last-child{width:15px;color:#676d79}
.faq-list{overflow:hidden}.faq-list details{border:0;border-radius:0;border-bottom:1px solid rgba(255,255,255,.06);background:transparent}.faq-list details:last-child{border:0}.faq-list summary{list-style:none;min-height:62px;padding:11px 13px;display:grid;grid-template-columns:36px 1fr 16px;gap:10px;align-items:center}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary>span{width:36px;height:36px;border-radius:12px;background:rgba(137,102,244,.09);color:#a78df5;display:grid;place-items:center}.faq-list summary svg{width:16px}.faq-list summary>b{font-size:11px}.faq-list summary>svg{transition:.2s;color:#686d78}.faq-list details[open] summary>svg{transform:rotate(90deg)}.faq-list p{font-size:10px;color:var(--v2-muted);line-height:1.55;margin:0;padding:0 16px 15px 59px}.support-callout{padding:14px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px}.support-callout>svg{width:23px;color:#8f74ef}.support-callout b{font-size:11px}.support-callout p{font-size:8px;color:var(--v2-muted);margin:3px 0 0}.support-callout button{height:36px;border:1px solid rgba(137,102,244,.25);background:rgba(137,102,244,.1);border-radius:12px;font-size:9px;padding:0 11px}
.winning-row{min-height:69px;padding:11px;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;margin-bottom:8px}.winning-icon{width:42px;height:42px;border-radius:14px;background:rgba(137,102,244,.1);color:#ae93ff;display:grid;place-items:center}.winning-icon svg{width:20px}.winning-row>span:nth-child(2){display:flex;flex-direction:column}.winning-row b{font-size:11px}.winning-row small{font-size:8px;color:var(--v2-muted);margin-top:4px}.winning-row strong{font-size:11px;color:#72dfa4}.empty-state{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.empty-state>svg{width:36px;color:#75659f}.empty-state h2{font-size:18px;margin:12px 0 3px}.empty-state p{font-size:10px;color:var(--v2-muted);margin:0 0 14px}.empty-state .primary{max-width:220px}

/* Rewards, tasks and boxes */
.wheel-feature{min-height:166px;border-radius:25px;padding:18px;background:radial-gradient(circle at 84% 48%,rgba(144,105,255,.26),transparent 27%),linear-gradient(145deg,#161324,#0e1016)}.wheel-feature>div:first-child{width:69%}.wheel-feature span,.bonus-copy small{font-size:8px;letter-spacing:1.2px;color:#a98af9}.wheel-feature b{font-size:14px;margin-top:8px}.wheel-feature p{font-size:9px;line-height:1.4;color:var(--v2-muted)}.wheel-mini{right:24px;width:73px;height:73px;border:1px solid rgba(255,255,255,.11);border-radius:50%;display:grid;place-items:center;transform:rotate(-10deg);box-shadow:inset 0 0 25px rgba(137,102,244,.2)}.wheel-mini svg{width:30px;color:#d8c7ff}.bonus-grid{gap:9px}.bonus-banner{height:145px;border-radius:23px;padding:12px;grid-template-rows:69px 1fr}.bonus-visual{width:100%;height:69px;border-radius:17px}.bonus-visual svg{width:28px}.bonus-copy b{font-size:13px}.bonus-copy em{font-size:8px}.box-banner{height:145px;grid-template-columns:102px minmax(0,1fr) auto 14px;gap:7px;border-radius:25px}.box-banner>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.box-banner>span:nth-child(2) small{font-size:8px;color:#aa8efb}.box-banner>span:nth-child(2) b{font-size:14px}.box-banner>span:nth-child(2) em{font-size:9px;color:var(--v2-muted);font-style:normal;margin-top:5px}.box-banner>strong{font-size:15px}.box-banner>svg{width:14px;color:#646977}.box-object>svg{position:relative;z-index:3;width:24px}.task-group h2{font-size:12px;margin:6px 2px 9px;display:flex;gap:7px;align-items:center}.task-group h2 span{font-size:8px;color:var(--v2-muted);background:rgba(255,255,255,.05);border-radius:8px;padding:3px 6px}.task-card{min-height:91px;grid-template-columns:42px minmax(0,1fr) auto;gap:10px}.task-card b{font-size:11px;line-height:1.25}.task-card span,.task-card small{font-size:8px}.task-card button{min-width:72px;height:35px;border-radius:11px}.task-card.completed{border-color:rgba(92,217,148,.16);background:rgba(92,217,148,.025)}.task-card.completed .task-icon{color:#67d99c;background:rgba(92,217,148,.08)}
.wheel-card{border:1px solid var(--v2-line);border-radius:28px;background:radial-gradient(circle at 50% 26%,rgba(137,102,244,.15),transparent 40%),var(--v2-card);padding:27px 16px 18px;text-align:center;position:relative}.reward-wheel{--wheel-turn:0deg;width:276px;height:276px;margin:4px auto 22px;border-radius:50%;position:relative;background:conic-gradient(#976fea 0 20%,#2d263d 20% 40%,#6950be 40% 60%,#1d2936 60% 80%,#7650d0 80%);border:10px solid #20232c;box-shadow:inset 0 0 0 2px rgba(255,255,255,.1),0 18px 55px rgba(0,0,0,.4);transform:rotate(0)}.reward-wheel.spinning{transform:rotate(var(--wheel-turn));transition:transform 3.4s cubic-bezier(.12,.66,.08,1)}.reward-wheel>span{position:absolute;left:calc(50% - 28px);top:5px;width:56px;height:128px;transform-origin:28px 133px;transform:rotate(calc(var(--i)*72deg + 36deg));display:flex;justify-content:center;padding-top:18px}.reward-wheel>span b{font-size:10px;transform:rotate(90deg);height:20px}.reward-wheel>i{position:absolute;inset:96px;border-radius:50%;background:#0c0f14;border:7px solid #171a21;display:grid;place-items:center;color:#b89eff}.reward-wheel>i svg{width:25px}.wheel-card>.wheel-pointer{position:absolute;top:17px;left:50%;z-index:3;transform:translateX(-50%);width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-top:23px solid #fff;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}.wheel-status{display:flex;gap:10px;text-align:left;align-items:center;padding:11px;border:1px solid var(--v2-line);border-radius:16px;background:rgba(255,255,255,.025)}.wheel-status>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center}.wheel-status.available>span{background:rgba(92,217,148,.1);color:#6ee0a6}.wheel-status.locked>span{background:rgba(255,255,255,.05);color:#858b98}.wheel-status svg{width:17px}.wheel-status>div{display:flex;flex-direction:column}.wheel-status b{font-size:11px}.wheel-status small{font-size:8px;color:var(--v2-muted);margin-top:3px}.wheel-progress{text-align:left;margin:13px 3px}.wheel-progress>span{font-size:8px;color:var(--v2-muted)}.wheel-progress .progress{margin-top:7px}.wheel-spin-button{margin-top:13px}

/* Immersive game shell */
.immersive .content{min-height:100svh}.immersive-page,.box-detail{display:grid;gap:11px;padding-top:calc(8px + env(safe-area-inset-top,0px));animation:pageIn .25s ease}.game-topbar{height:52px;display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center}.game-topbar>.round-btn{width:42px;height:42px;border-radius:14px}.game-topbar>div{display:flex;align-items:center;gap:8px;min-width:0}.game-topbar .brand-mark{width:28px;height:28px;border-radius:9px}.game-topbar b{font-size:11px}.game-balance{height:38px;border:1px solid rgba(137,102,244,.22);background:rgba(137,102,244,.09);border-radius:12px;padding:0 11px;font-size:11px;font-weight:750}.game-title{min-height:64px;display:grid;grid-template-columns:45px 1fr 39px;gap:10px;align-items:center}.game-title>span{width:45px;height:45px;border-radius:15px;background:rgba(137,102,244,.1);color:#b198fb;display:grid;place-items:center}.game-title>span svg{width:23px}.game-title h1{font-size:21px;line-height:1;margin:0}.game-title p{font-size:9px;color:var(--v2-muted);margin:5px 0 0}.fair-button{width:39px;height:39px;border:1px solid var(--v2-line);background:rgba(255,255,255,.025);border-radius:13px;color:#67cfe7;display:grid;place-items:center}.fair-button svg{width:18px}.game-panel{padding:14px;border-radius:22px}.bet-control>label,.field-label{display:block;margin:0 0 7px;font-size:9px;color:var(--v2-muted)}.game-panel .amount-input.compact{height:50px;border-radius:15px}.game-panel .amount-input input{font-size:18px!important}.chips{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:8px}.chips button{height:42px;border:1px solid var(--v2-line);border-radius:13px;background:rgba(255,255,255,.025);font-size:10px;font-weight:700}.chips button.active{border-color:rgba(137,102,244,.38);background:rgba(137,102,244,.11);color:#c7b6ff}.game-cta,.cashout,.roulette-spin{margin-top:12px}.cashout{background:linear-gradient(145deg,#54d494,#2fa56e)}.game-hint{display:block;text-align:center;margin-top:10px;font-size:8px;color:var(--v2-muted)}.fair-line{min-width:0}.fair-line code{min-width:0;text-overflow:ellipsis;white-space:nowrap}.active-bet-row{height:42px;display:flex;justify-content:space-between;align-items:center;padding:0 2px;color:var(--v2-muted);font-size:9px}.active-bet-row b{color:var(--v2-text)}
.games-grid{gap:9px}.game-banner{min-height:108px;border-radius:22px;grid-template-columns:84px 1fr 18px;padding:10px;gap:10px}.game-art{width:78px;height:84px;border-radius:18px}.game-art>svg{width:31px}.game-copy small{font-size:7px;letter-spacing:1.1px}.game-copy b{font-size:15px;margin-top:5px}.game-copy em{font-size:8px;line-height:1.35}.game-banner>svg{width:15px}.fair-chip{min-height:38px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:13px}.fair-chip svg{width:15px}

/* Crash */
.crash-canvas{height:300px;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle at 72% 25%,rgba(88,217,239,.1),transparent 37%),#080b10;overflow:hidden;position:relative}.crash-canvas svg{position:absolute;inset:55px 10px 18px;width:calc(100% - 20px);height:220px}.crash-grid-lines{fill:none;stroke:rgba(255,255,255,.045);stroke-width:1}.crash-area{fill:url(#crashFill)}.crash-line{fill:none;stroke:url(#crashStroke);stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 6px rgba(108,208,241,.35))}.crash-dot{fill:#fff;stroke:#5ed4ef;stroke-width:3}.crash-value{position:absolute;top:34px;left:0;right:0;text-align:center;display:flex;flex-direction:column}.crash-value b{font-size:45px;letter-spacing:-2px;line-height:1}.crash-value span{font-size:8px;letter-spacing:1.4px;color:var(--v2-muted);margin-top:7px;text-transform:uppercase}.crash-value.crashed b{color:var(--v2-red)}.live-payout{position:absolute;left:18px;bottom:15px;border:1px solid rgba(96,218,150,.19);background:rgba(28,69,49,.55);backdrop-filter:blur(12px);border-radius:13px;padding:8px 11px;display:flex;flex-direction:column}.live-payout span{font-size:7px;color:#9bbbab}.live-payout b{font-size:14px;color:#7be2ab;margin-top:2px}.round-history{height:37px;display:flex;gap:6px;overflow-x:auto}.round-history span{flex:none;height:29px;min-width:52px;border-radius:10px;background:rgba(137,102,244,.08);color:#a98cf8;display:grid;place-items:center;font-size:8px}.round-history span.low{color:#f17887;background:rgba(241,91,108,.07)}.round-history span.high{color:#75dd9f;background:rgba(92,217,148,.07)}

/* Roulette */
.roulette-stage{height:305px;min-height:0;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle,rgba(137,102,244,.09),transparent 62%),#0a0c11;position:relative;display:grid;place-items:center}.roulette-wheel-real{--roulette-turn:0deg;width:246px;height:246px;border-radius:50%;position:relative;background:repeating-conic-gradient(#a32335 0 4.865deg,#181a20 4.865deg 9.73deg);border:11px solid #20232a;box-shadow:inset 0 0 0 2px rgba(255,255,255,.09),0 20px 45px rgba(0,0,0,.4)}.roulette-wheel-real.spinning{transform:rotate(var(--roulette-turn));transition:transform 3.7s cubic-bezier(.1,.64,.07,1)}.roulette-numbers{position:absolute;inset:0}.roulette-numbers>span{position:absolute;left:calc(50% - 11px);top:0;width:22px;height:123px;transform-origin:11px 123px;transform:rotate(calc(var(--i)*9.7297deg));text-align:center;padding-top:8px}.roulette-numbers>span:first-child{color:#68dfa0;background:linear-gradient(#258a57 0 24px,transparent 24px);clip-path:polygon(28% 0,72% 0,62% 22%,38% 22%)}.roulette-numbers b{font-size:6px;display:block;color:#fff}.roulette-hub{position:absolute;inset:78px;border-radius:50%;background:#0d1015;border:8px solid #1d2027;display:grid;place-items:center;font-style:normal;font-size:27px;font-weight:850;color:#fff}.roulette-pointer{position:absolute;z-index:4;top:19px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:21px solid #fff}.color-choice{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.color-choice button{height:68px;border:1px solid var(--v2-line);border-radius:15px;background:rgba(255,255,255,.025);display:grid;grid-template-columns:12px 1fr;grid-template-rows:1fr 1fr;text-align:left;padding:10px}.color-choice button>i{width:10px;height:10px;border-radius:50%;grid-row:1/3;align-self:center}.color-choice button b{font-size:9px;align-self:end}.color-choice button span{font-size:8px;color:var(--v2-muted)}.color-choice .red>i{background:#e34457}.color-choice .black>i{background:#656b78}.color-choice .green>i{background:#50d18b}.color-choice button.active{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.075)}.game-history{padding:13px}.game-history h2{font-size:11px;margin:0 0 10px}.game-history>div{display:flex;gap:6px;overflow-x:auto}.game-history>div>span{width:28px;height:28px;flex:none;border-radius:9px;display:grid;place-items:center;font-size:8px;font-weight:700}.game-history .red{background:rgba(224,58,78,.17);color:#fa7180}.game-history .black{background:#242730;color:#c2c6cf}.game-history .green{background:rgba(73,207,137,.15);color:#62da99}

/* Mines and ladder */
.mines-summary,.ladder-summary{min-height:67px;padding:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mines-summary>div,.ladder-summary>div{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid rgba(255,255,255,.055)}.mines-summary>div:last-child,.ladder-summary>div:last-child{border:0}.mines-summary span,.ladder-summary span{font-size:7px;color:var(--v2-muted)}.mines-summary b,.ladder-summary b{font-size:12px;margin-top:4px}.mines-board{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;border:1px solid var(--v2-line);border-radius:25px;padding:13px;background:radial-gradient(circle at 50% 0,rgba(100,80,197,.11),transparent 45%),#0a0c11}.mine-tile{aspect-ratio:1;border:1px solid rgba(143,111,244,.19);border-radius:13px;background:linear-gradient(145deg,#242039,#12141c);color:#6f7180;display:grid;place-items:center;transition:.18s}.mine-tile span{font-size:8px}.mine-tile.opened{background:rgba(93,211,235,.07);color:#65d5ed;border-color:rgba(93,211,235,.2);animation:tilePop .24s ease}.mine-tile.mine{background:rgba(241,91,108,.1);color:#f27381;border-color:rgba(241,91,108,.22)}.mine-tile svg{width:22px}@keyframes tilePop{50%{transform:scale(.88)}}
.ladder-board{border:1px solid var(--v2-line);border-radius:25px;padding:12px;background:radial-gradient(circle at 50% 100%,rgba(239,201,111,.1),transparent 45%),#0a0c10;display:grid;gap:5px}.ladder-row{display:grid;grid-template-columns:20px 1fr;gap:7px;align-items:center}.ladder-row>span{font-size:7px;color:#5e626e;text-align:center}.ladder-row>div{display:grid;grid-template-columns:repeat(var(--columns),1fr);gap:6px}.ladder-row button{height:31px;min-height:31px;border:1px solid rgba(239,201,111,.11);border-radius:9px;background:rgba(239,201,111,.035);color:#7a7569;font-size:7px;font-weight:700}.ladder-row.current button{border-color:rgba(239,201,111,.28);background:rgba(239,201,111,.09);color:#d8c18b;box-shadow:0 0 20px rgba(239,201,111,.04)}.ladder-row.passed button{background:rgba(93,211,155,.05);border-color:rgba(93,211,155,.12);color:#70d9a0}.ladder-row button.picked{background:rgba(93,211,155,.13);color:#74e0a8}.ladder-row button.trap{background:rgba(241,91,108,.13);color:#f47684}.ladder-row button svg{width:14px;margin:auto}

/* Plinko */
.plinko-canvas-wrap{height:365px;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle at 50% 12%,rgba(84,211,237,.1),transparent 45%),#080b10;position:relative;overflow:hidden;padding:8px}.plinko-canvas-wrap canvas{width:100%;height:285px;display:block}.plinko-payouts{position:absolute;left:8px;right:8px;bottom:47px;display:grid;grid-template-columns:repeat(13,1fr);gap:2px}.plinko-payouts span{height:26px;border-radius:6px;background:rgba(84,211,237,.07);color:#78969c;font-size:5px;display:grid;place-items:center}.plinko-payouts span:first-child,.plinko-payouts span:last-child{background:rgba(241,91,108,.09);color:#d46d79}.plinko-payouts span.hit{background:#65d7ea;color:#071014;font-weight:850;box-shadow:0 0 20px rgba(93,213,235,.35)}.plinko-wait,.plinko-result{position:absolute;left:50%;bottom:11px;transform:translateX(-50%);height:28px;border-radius:10px;padding:0 11px;display:grid;place-items:center;font-size:8px;white-space:nowrap}.plinko-wait{background:rgba(137,102,244,.09);color:#bca9f8}.plinko-result{background:rgba(93,217,151,.1);color:#75dfa6}

/* PvP */
.pvp-stage{min-height:395px;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle at 50% 42%,rgba(137,102,244,.12),transparent 44%),#0a0c11;padding:15px;display:flex;flex-direction:column;align-items:center}.pvp-round{text-align:center;display:flex;flex-direction:column}.pvp-round span{font-size:7px;color:#a88cf4;letter-spacing:1px}.pvp-round>b{font-size:26px;margin-top:2px}.pvp-round small{font-size:7px;color:var(--v2-muted);margin-top:3px}.pvp-round strong{font-size:19px;margin-top:1px}.pvp-wheel-real{width:178px;height:178px;border-radius:50%;margin:13px auto;border:10px solid #20232b;box-shadow:inset 0 0 0 2px rgba(255,255,255,.09),0 17px 45px rgba(0,0,0,.35);display:grid;place-items:center}.pvp-wheel-real>i{width:58px;height:58px;border:7px solid #191c23;border-radius:50%;background:#0b0e13;color:#c1adff;display:grid;place-items:center}.pvp-wheel-real svg{width:22px}.pvp-players{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}.pvp-players>div{height:50px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.025);padding:7px;display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr 1fr}.pvp-players span,.pvp-players small{font-size:7px;color:var(--v2-muted)}.pvp-players b{font-size:10px}.pvp-players p{grid-column:1/3;text-align:center;font-size:9px;color:var(--v2-muted)}.pvp-history{display:grid!important;gap:6px!important;overflow:visible!important}.pvp-history article{min-height:49px;display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center;border-top:1px solid rgba(255,255,255,.05);padding-top:7px}.pvp-history article>svg{width:17px;color:var(--v2-gold)}.pvp-history article>span{display:flex;flex-direction:column}.pvp-history b,.pvp-history strong{font-size:9px}.pvp-history small{font-size:7px;color:var(--v2-muted)}

/* CS-style box opening */
.box-title{min-height:78px;display:grid;grid-template-columns:57px 1fr;gap:12px;align-items:center}.box-title-icon{width:57px;height:57px;border-radius:19px;background:linear-gradient(145deg,rgba(137,102,244,.25),rgba(137,102,244,.07));color:#c1adff;display:grid;place-items:center}.box-title-icon svg{width:27px}.box-title small{font-size:7px;letter-spacing:1.3px;color:#ab8df8}.box-title h1{font-size:20px;margin:3px 0}.box-title p{font-size:8px;color:var(--v2-muted);margin:0}.case-window{height:224px;border:1px solid var(--v2-line);border-radius:25px;background:radial-gradient(circle at 50% 45%,rgba(137,102,244,.12),transparent 44%),#090b10;position:relative;overflow:hidden;display:flex;align-items:center}.case-window:before,.case-window:after{content:"";position:absolute;z-index:3;top:0;bottom:0;width:45px;pointer-events:none}.case-window:before{left:0;background:linear-gradient(90deg,#090b10,transparent)}.case-window:after{right:0;background:linear-gradient(-90deg,#090b10,transparent)}.case-marker{position:absolute;z-index:4;top:0;bottom:0;left:50%;width:2px;background:linear-gradient(transparent,#fff 20%,#fff 80%,transparent);filter:drop-shadow(0 0 5px #bba6ff)}.case-marker:before,.case-marker:after{content:"";position:absolute;left:50%;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent}.case-marker:before{top:0;border-top:12px solid #fff}.case-marker:after{bottom:0;border-bottom:12px solid #fff}.case-reel{display:flex;gap:8px;padding-left:calc(50% - 52px);transform:translateX(0);will-change:transform}.case-reel.rolling{transform:translateX(calc(var(--win-index)*-110px));transition:transform 4s cubic-bezier(.08,.66,.05,1)}.case-prize{width:102px;height:137px;flex:none;border:1px solid rgba(255,255,255,.085);border-radius:17px;background:linear-gradient(145deg,#181b25,#101218);display:flex;flex-direction:column;align-items:center;justify-content:center}.case-prize>span{width:48px;height:48px;border-radius:16px;background:rgba(137,102,244,.1);color:#ad91fb;display:grid;place-items:center}.case-prize svg{width:24px}.case-prize b{font-size:13px;margin-top:10px}.case-prize small{font-size:6px;letter-spacing:1px;color:#717683;margin-top:4px}.case-prize.winner{border-color:rgba(239,201,111,.3);box-shadow:0 0 28px rgba(239,201,111,.08)}.box-odds{padding:13px}.box-odds h2{font-size:11px;margin:0 0 10px}.box-odds>div{display:flex;gap:6px;overflow-x:auto}.box-odds span{height:32px;flex:0 0 auto;padding:0 9px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.02);display:flex;align-items:center;gap:5px;font-size:8px}.box-odds i{width:6px;height:6px;border-radius:50%}.box-odds .common{background:#777b87}.box-odds .rare{background:#956eff}.box-odds .legendary{background:#efc66b}.box-action-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px}.box-action-panel>div{height:47px;border-radius:13px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;align-items:center;justify-content:center}.box-action-panel span{font-size:7px;color:var(--v2-muted)}.box-action-panel b{font-size:11px;margin-top:3px}.box-action-panel .primary{grid-column:1/3}

/* Sheets, alerts and misc */
.balance-sheet{padding:9px 15px calc(20px + var(--safe));background:#12151b}.balance-sheet .balance-main{min-height:93px;border-radius:20px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;background:radial-gradient(circle at 85% 30%,rgba(137,102,244,.2),transparent 40%),#0c0f14}.balance-main .balance-currency{grid-column:2;grid-row:1/3;align-self:center;border:1px solid var(--v2-line);border-radius:10px;padding:6px 8px}.deposit-from-sheet{margin:10px 0}.balance-grid{gap:8px}.balance-grid>div{min-height:57px}.sheet-link{width:100%;height:48px;margin-top:9px;border:1px solid var(--v2-line);border-radius:15px;background:rgba(255,255,255,.025);display:grid;grid-template-columns:20px 1fr 15px;gap:9px;align-items:center;text-align:left;font-size:10px}.sheet-link svg{width:16px}.result-backdrop{position:fixed;z-index:150;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px}.result-modal{width:min(100%,360px);border:1px solid rgba(137,102,244,.25);border-radius:30px;background:radial-gradient(circle at 50% 5%,rgba(137,102,244,.22),transparent 40%),#12151b;padding:32px 21px 20px;text-align:center;position:relative;box-shadow:0 28px 80px rgba(0,0,0,.55);animation:modalIn .3s ease}.modal-close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:1px solid var(--v2-line);border-radius:13px;background:rgba(255,255,255,.03);display:grid;place-items:center}.modal-close svg{width:17px}.result-icon{width:72px;height:72px;margin:0 auto 15px;border-radius:23px;background:linear-gradient(145deg,rgba(239,201,111,.22),rgba(137,102,244,.13));color:#f2cc76;display:grid;place-items:center}.result-icon svg{width:34px}.result-modal>small{font-size:8px;letter-spacing:1.4px;color:#ae91fa;text-transform:uppercase}.result-modal h2{font-size:22px;margin:5px 0}.result-modal>strong{display:block;font-size:39px;letter-spacing:-1.5px;color:#fff}.result-modal p{font-size:10px;color:var(--v2-muted);margin:6px 0 18px}@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.tonpay .ton-symbol.pay-icon{width:42px;height:42px}.fatal-state{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.fatal-state>div{width:60px;height:60px;border-radius:20px;background:rgba(241,91,108,.09);color:#f06d7b;display:grid;place-items:center}.fatal-state svg{width:27px}.fatal-state h1{font-size:21px;margin:14px 0 5px}.fatal-state p{font-size:10px;color:var(--v2-muted)}.fatal-state button{height:44px;border:1px solid var(--v2-line);border-radius:14px;background:rgba(255,255,255,.04);padding:0 18px}
@media(max-width:385px){.v2-shell .content{padding-left:10px;padding-right:10px}.wallet-pill{min-width:137px}.profile-hero{grid-template-columns:59px 1fr}.profile-avatar{width:59px;height:59px}.profile-hero .status-chip{grid-column:2}.support-callout{grid-template-columns:36px 1fr}.support-callout button{grid-column:2}.reward-wheel{width:252px;height:252px}.reward-wheel>span{height:116px;transform-origin:28px 121px}.reward-wheel>i{inset:88px}.game-title p{max-width:230px}.roulette-wheel-real{width:228px;height:228px}.roulette-numbers>span{height:114px;transform-origin:11px 114px}.roulette-hub{inset:72px}.mines-board{gap:6px;padding:10px}.mine-tile{border-radius:11px}.color-choice button{padding:8px}.box-banner{grid-template-columns:88px minmax(0,1fr) auto 12px}.box-object{transform:scale(.86);transform-origin:left center}.task-card{grid-template-columns:38px minmax(0,1fr)}.task-card button{grid-column:2;justify-self:start}}
@media(min-width:700px){.v2-shell{border-radius:36px}.immersive-page,.box-detail{padding-top:0}.result-backdrop{align-items:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
