/* PROBEGOK V7 — reference-inspired shell, rebuilt for our mechanics */
:root{
  --v7-gold:#ffd45b;--v7-gold2:#ffae19;--v7-line:#3a2b0c;--v7-panel:#090b0d;--v7-panel2:#101419;
}
body{background:#030405;color:#f6f7f8;letter-spacing:-.01em}
.app-shell{background:
  radial-gradient(600px 240px at 50% -50px,#9f640d25,transparent 70%),
  linear-gradient(#050607,#030405 70%)}
.premium-topbar{position:sticky;top:0;z-index:45;padding:12px 14px 10px;background:
  linear-gradient(180deg,#07090bdc,#07090bf2),
  radial-gradient(520px 130px at 50% 0,#b5741522,transparent 75%);border-bottom:1px solid #201b10;backdrop-filter:blur(20px)}
.brand-logo-word{font-size:30px;line-height:1;font-weight:1000;font-style:italic;letter-spacing:-2px;background:linear-gradient(180deg,#fff 0 38%,#aeb2b9 50%,#f7f7f7 65%,#fff 100%);-webkit-background-clip:text;color:transparent;text-shadow:0 2px 16px #000;margin:2px 0 12px}
.brand-logo-word span{background:linear-gradient(180deg,#fff27a,#ffbd20 50%,#8c5805);-webkit-background-clip:text;color:transparent}
.topbar-mainrow{display:grid;grid-template-columns:minmax(105px,.85fr) minmax(118px,1fr) minmax(145px,1.25fr);gap:8px;align-items:center}
.level-cluster{display:flex;align-items:center;gap:8px;min-width:0}.level-medallion{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:1000;color:#fff3a2;border:1px solid #9a7113;background:radial-gradient(circle,#231b0d 0 38%,#0a0c0e 40%);box-shadow:inset 0 0 0 3px #120e08,0 0 18px #e6a91b1c}
.level-cluster small{display:block;color:#8d949d;font-size:10px}.level-cluster b{display:block;color:#ffd65c;font-size:22px;line-height:1}.level-cluster span{display:block;color:#727b85;font-size:8px;margin-top:2px;white-space:nowrap}
.header-stat{min-width:0;height:52px;border:1px solid #323942;border-radius:17px;background:linear-gradient(180deg,#13171c,#0a0d10);box-shadow:inset 0 1px 0 #ffffff08;display:flex;align-items:center;gap:7px;padding:6px 9px;color:#fff}
button.header-stat{font:inherit;text-align:left}.header-stat small{display:block;color:#7d8590;font-size:8px}.header-stat b{display:block;color:#ffe06f;font-size:14px;white-space:nowrap}.header-stat em{display:block;color:#68717b;font-style:normal;font-size:7px;white-space:nowrap}.luck-icon{font-size:24px;filter:drop-shadow(0 0 8px #45d56c44)}.luck-copy{min-width:0;flex:1}.luck-copy b i{font-size:8px;color:#8b929b;font-style:normal;font-weight:600}.luck-mult{margin-left:auto;font-weight:1000;font-size:15px;color:#090a0b;background:linear-gradient(160deg,#fff687,#ffc22d);padding:5px 7px;border-radius:10px;box-shadow:0 0 14px #f7b8162f}
.balance-chip{border-color:#5b4518;background:linear-gradient(180deg,#17140d,#0b0c0d);box-shadow:0 0 18px #f0a91616,inset 0 1px 0 #fff1a810}.coin-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-weight:1000;color:#fff0a7;border:2px solid #f0b527;background:radial-gradient(circle,#d28c12,#704400);box-shadow:0 0 14px #ffb31088}.balance-chip b{font-size:17px}.balance-plus{margin-left:auto;width:28px;height:28px;border:1px solid #59606a;border-radius:50%;display:grid;place-items:center;font-size:22px;color:#e4e7e9}
.event-banner{margin-top:9px;border:1px solid #75580f;border-radius:12px;background:linear-gradient(90deg,#201708,#101014);min-height:34px;display:flex;align-items:center;gap:7px;padding:7px 10px;color:#f7d97b;box-shadow:0 0 22px #ffa80012}.event-banner small{margin-left:auto;color:#a28f5a}.event-dot{width:7px;height:7px;background:#ffbf22;border-radius:50%;box-shadow:0 0 9px #ffbf22;animation:eventPulse 1.7s ease-in-out infinite}
.content{padding:10px 10px calc(var(--nav-h) + var(--safe-bottom) + 10px)}.home-screen{min-height:calc(100svh - 143px - var(--nav-h));display:none;align-content:start}.home-screen.active{display:grid}
.four-selectors{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:8px}.selector-pill{min-height:48px;border:1px solid #282e35;border-radius:15px;background:linear-gradient(180deg,#11151a,#0b0e11);padding:7px 10px;display:grid;grid-template-columns:1fr auto;text-align:left}.selector-pill small{grid-column:1/-1;color:#6f7883;text-transform:uppercase;font-size:8px;letter-spacing:.12em}.selector-pill b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selector-pill span{color:#939aa2}
.roll-center{display:grid;gap:8px;align-content:start}.hero-card{border-radius:22px;min-height:385px;overflow:hidden;border:1px solid #4f3a0c;background:radial-gradient(circle at 50% 45%,#2d210d,#08090b 62%);box-shadow:inset 0 0 0 1px #ffcf4210,0 14px 50px #000b}.empty-hero{height:385px;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.empty-orbit{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;border:1px solid #896412;background:radial-gradient(circle,#30220d,#080a0c 68%);box-shadow:0 0 50px #f3a70d1f}.empty-orbit span{font-size:38px;color:#ffcf43;animation:idleOrb 3s ease-in-out infinite}.empty-hero h2{font-size:20px;margin:4px 0 0}.empty-hero p{margin:0;color:#7d858f;font-size:11px}
.roll-price-line{display:flex;align-items:center;gap:8px;padding:0 2px;color:#7e8790;font-size:10px}.roll-price-line>b{color:#c6cbd1;font-size:14px}.free-rolls{margin-left:auto;border:1px solid #26303a;background:#0c1014;border-radius:12px;padding:5px 8px}
.roll-buttons{display:grid!important;grid-template-columns:1fr}.roll-btn.primary-gold{min-height:74px;border-radius:19px;border:1px solid #ffe078;background:linear-gradient(135deg,#ffe16a 0,#ffbf27 52%,#f4a307 100%);color:#151006;box-shadow:0 8px 30px #ffad161d,inset 0 1px 0 #fff9c9}.roll-btn.primary-gold:active{transform:scale(.985)}.dice-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#fff3c6;border:1px solid #d69b10}.dice-icon svg{width:26px;height:26px;fill:#13100a}.roll-btn b{font-size:20px}.roll-btn small{font-size:11px;color:#6e4c00}
/* Car result */
.car-hero{min-height:385px;padding:14px 13px 112px}.hero-title h2{font-size:27px}.hero-car-stage{height:180px;margin-top:-2px}.hero-image{max-height:185px;filter:drop-shadow(0 14px 16px #000) drop-shadow(0 0 17px var(--rar-glow,#ffc23b55))}.car-aura{opacity:.42}.specimen-block{left:16px;right:16px;bottom:114px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.condition-big,.history-big{min-height:45px;display:grid;place-items:center;text-align:center;font-size:12px;border-radius:12px;background:#080a0dcf;border:1px solid #5b4518}.condition-big span,.history-big span{font-size:10px;color:#ffd75c}.hero-bottom{bottom:9px}.hero-value strong{font-size:25px}.reason-row{max-height:28px;overflow:hidden}.single-actions{position:absolute;left:10px;right:10px;bottom:10px;z-index:9;display:grid;grid-template-columns:.92fr 1.08fr;gap:8px}.single-actions button{min-height:57px;border-radius:14px;font-weight:950}.keep-car{border:1px solid #a77a1d;background:linear-gradient(180deg,#111419,#090b0e);color:#fff}.sell-car{border:1px solid #ffe071;background:linear-gradient(135deg,#ffe16a,#ffb10b);color:#161006;box-shadow:0 0 22px #ffb40f22}
/* iOS-like sheet and dialogs */
.sheet{background:linear-gradient(180deg,#11151a 0,#07090c 86%);border-color:#343b43;box-shadow:0 -28px 90px #000}.choice,.feature-card,.select-car-card,.listitem,.panel{box-shadow:inset 0 1px 0 #ffffff06}.choice:active,.feature-card:active,.select-car-card:active{transform:scale(.99)}
.toast{display:flex;align-items:center;gap:9px;min-width:210px;max-width:min(88%,430px);padding:11px 13px;background:#151a20f2;border:1px solid #3a424c;backdrop-filter:blur(16px);font-weight:750}.toast-dot{width:8px;height:8px;background:#ffd45b;border-radius:50%;box-shadow:0 0 10px #ffd45b}.toast-copy{min-width:0}
/* nav */
.bottom-nav{height:calc(72px + var(--safe-bottom));padding:9px 8px var(--safe-bottom);background:#06080af2;border-top:1px solid #23282e;backdrop-filter:blur(20px)}.bottom-nav button{color:#747d88}.bottom-nav button b{font-size:9px}.nav-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bottom-nav .roll-nav .roll-orb{width:58px;height:58px;margin-top:-30px;border:1px solid #966d16;background:radial-gradient(circle,#21190b,#0b0d0f 70%);box-shadow:0 0 0 4px #040506,0 0 24px #ffb10c22}.bottom-nav .roll-nav .roll-orb svg{fill:#ffd35a;stroke:none;width:27px;height:27px}.bottom-nav button.active{color:#ffd35a}.bottom-nav .roll-nav.active .roll-orb{background:radial-gradient(circle,#ffd867,#c98a0a);box-shadow:0 0 0 4px #040506,0 0 28px #ffb41155}.bottom-nav .roll-nav.active .roll-orb svg{fill:#111}
/* Reveal */
.reveal-overlay{background:#030405f7}.reveal-shade{background:radial-gradient(circle at 50% 48%,#34250e66,transparent 38%),#020304d9}.reveal-rays{opacity:.75}.reveal-card{width:min(88vw,430px);min-height:390px;padding:26px 22px;border-radius:26px;border:1px solid #5d4511;background:linear-gradient(180deg,#11100c,#060708);box-shadow:0 30px 90px #000,0 0 50px #e7a81018}.reveal-card small{letter-spacing:.22em;color:#9b8144}.reveal-visual{min-height:190px;display:grid;place-items:center}.reveal-logo{max-width:240px;max-height:145px;filter:drop-shadow(0 12px 26px #000)}.reveal-flag{font-size:88px}.reveal-card h2{font-size:29px}.reveal-card p{font-size:11px;color:#777f88}.reveal-progress{bottom:34px}.reveal-progress i{height:3px;background:#272c31}.reveal-progress i.active{background:#ffd45b;box-shadow:0 0 8px #ffc52e}.step-pop{animation:revealPop .32s cubic-bezier(.2,.8,.2,1)}
/* Wheel readability */
.wheel-pointer{border-top-color:#ffd95d;filter:drop-shadow(0 3px 5px #000) drop-shadow(0 0 8px #ffbc25)}.wheel-sector span{font-size:9px;color:#ffe8a5}.wheel-hub{background:radial-gradient(circle,#392a12,#0b0d10 72%)}
/* desktop */
@media(min-width:721px){.app-shell{border-left:1px solid #191d22;border-right:1px solid #191d22;box-shadow:0 0 80px #000}.premium-topbar{border-radius:0}.hero-card{min-height:510px}.empty-hero{height:510px}.hero-car-stage{height:260px}.hero-image{max-height:260px}.car-hero{min-height:510px}.specimen-block{bottom:130px}.hero-bottom{bottom:14px}}
@media(max-width:430px){.premium-topbar{padding-inline:9px}.brand-logo-word{font-size:24px;margin-bottom:9px}.topbar-mainrow{grid-template-columns:92px 1fr 1.2fr;gap:6px}.level-medallion{width:46px;height:46px;font-size:19px}.level-cluster{gap:6px}.header-stat{height:46px;padding:5px 7px;border-radius:14px}.luck-icon{font-size:20px}.luck-copy b{font-size:12px}.luck-mult{font-size:13px;padding:4px 6px}.coin-mark{width:27px;height:27px}.balance-chip b{font-size:14px}.balance-plus{display:none}.hero-card{min-height:365px}.empty-hero{height:365px}.car-hero{min-height:365px}.hero-car-stage{height:168px}.hero-image{max-height:170px}.four-selectors{gap:6px}.selector-pill{min-height:44px}.bottom-nav{height:calc(67px + var(--safe-bottom))}}
@keyframes revealPop{from{opacity:.15;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}@keyframes eventPulse{50%{opacity:.45;transform:scale(.75)}}@keyframes idleOrb{50%{transform:translateY(-4px) rotate(8deg);filter:drop-shadow(0 0 8px #ffd45b)}}
.v7-intro{position:fixed;inset:0;z-index:220;background:#000b;backdrop-filter:blur(12px);display:grid;place-items:center;padding:20px}.v7-intro-card{width:min(100%,380px);border:1px solid #715416;border-radius:24px;background:linear-gradient(180deg,#14120c,#080a0d);padding:22px;box-shadow:0 30px 90px #000;text-align:center}.v7-intro-card>small{color:#c39b3b;letter-spacing:.18em}.v7-intro-card h2{font-size:22px;margin:8px 0 16px}.v7-intro-steps{display:grid;grid-template-columns:28px 1fr;gap:7px 9px;text-align:left;align-items:center}.v7-intro-steps b{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#171007;background:#ffd45b}.v7-intro-steps span{font-weight:800}.v7-intro-card p{color:#888f98;font-size:11px;line-height:1.5}.v7-intro-card button{width:100%;border:1px solid #ffe07a;background:linear-gradient(135deg,#ffe16b,#ffad0b);color:#171006;border-radius:14px;padding:12px;font-weight:950}
