
    :root,[data-theme="dark"]{
      --bg:#0b1f3b;--surface:#0e2847;--surface2:#133050;--surface3:#133050;--line:#252e3f;--line2:#344058;
      --text:#f4f7fb;--muted:#95a0b5;--muted2:#657086;--accent:#438fe5;--accent2:#5a3df1;--accentSoft:#b09cff;
      --green:#28c76f;--red:#ff5e6c;--gold:#ffc857;--blue:#4aa3ff;--upgrade:#ffd500;--upgrade2:#ff9d00;--upgradeRed:#ff4938;
      --shadow:0 22px 80px rgba(0,0,0,.32);--soft:0 10px 30px rgba(0,0,0,.22);
    }
    [data-theme="light"]{
      --bg:#f2f5fa;--surface:#fff;--surface2:#f7f9fc;--surface3:#edf1f7;--line:#e0e5ef;--line2:#c9d1df;
      --text:#133050;--muted:#5d687c;--muted2:#8791a4;--accent:#6b48ed;--accent2:#5936dc;--accentSoft:#6b48ed;
      --green:#17a85b;--red:#dc394a;--gold:#c9870c;--blue:#257ad0;--upgrade:#e7b900;--upgrade2:#dc8400;--upgradeRed:#dc394a;--shadow:0 20px 60px rgba(29,41,64,.14);--soft:0 8px 22px rgba(29,41,64,.10);
    }
    *{box-sizing:border-box;margin:0;padding:0}html,body{min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif}
    body{overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.mono{font-family:"JetBrains Mono",monospace}
    ::selection{background:var(--accent);color:#fff}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:var(--line2);border:2px solid transparent;background-clip:content-box;border-radius:10px}
    .app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#0e2847;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}
    [data-theme="light"] .sidebar{background:#fff}.brand{height:86px;display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid var(--line)}
    .brand-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));font-weight:900;font-size:22px;box-shadow:0 14px 32px rgba(124,92,255,.28)}
    .brand-name{font-size:21px;font-weight:900;letter-spacing:-.9px}.brand-name span{color:var(--accentSoft)}.brand-sub{font-size:9px;color:var(--muted2);letter-spacing:1.8px;margin-top:3px}
    .nav{padding:14px 12px;display:flex;flex-direction:column;gap:7px}.nav-label{padding:10px 10px 5px;font-size:9px;font-weight:800;color:var(--muted2);letter-spacing:1.6px;text-transform:uppercase}
    .nav-btn{width:100%;border:1px solid transparent;background:transparent;color:var(--muted);display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:13px;text-align:left;transition:.18s}
    .nav-btn:hover{background:var(--surface2);color:var(--text);border-color:var(--line)}.nav-btn.active{background:linear-gradient(90deg,rgba(124,92,255,.16),rgba(124,92,255,.04));border-color:rgba(124,92,255,.35);color:var(--text)}
    .nav-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--surface2);font-size:17px}.nav-btn.active .nav-ic{background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 8px 22px rgba(124,92,255,.25)}
    .nav-copy{display:flex;flex-direction:column;min-width:0;line-height:1.15}.nav-title{font-size:12.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-sub{display:block;font-size:9.5px;color:var(--muted2);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip{font:700 8.5px "JetBrains Mono",monospace;padding:4px 6px;border-radius:6px;background:var(--surface3);color:var(--muted)}
    .chip.new{background:rgba(40,199,111,.12);color:var(--green)}.chip.soon{background:rgba(255,200,87,.12);color:var(--gold)}
    .sidebar-foot{margin-top:auto;padding:14px;border-top:1px solid var(--line)}.server-state{display:flex;align-items:center;gap:8px;padding:10px 11px;background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:10px;color:var(--muted)}
    .server-dot{width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 14px rgba(255,94,108,.5)}.server-dot.ok{background:var(--green);box-shadow:0 0 14px rgba(40,199,111,.5)}
    .main{min-width:0}.topbar{position:sticky;top:0;z-index:25;height:86px;padding:0 28px;display:flex;align-items:center;gap:10px;background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
    .user-pill{display:flex;align-items:center;gap:11px;padding:7px 11px 7px 7px;background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:205px}.avatar{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));font-weight:900}.user-meta{min-width:0}.user-name{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-balance{font:800 12px "JetBrains Mono",monospace;color:var(--gold);margin-top:3px}.grow{flex:1}
    .top-btn{height:40px;border-radius:11px;padding:0 13px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-weight:800;font-size:11px;display:flex;align-items:center;gap:7px}.top-btn:hover{border-color:var(--line2);background:var(--surface2)}.top-btn.primary{background:linear-gradient(135deg,var(--accent),var(--accent2));border-color:transparent;color:#fff}
    .top-btn.square{width:40px;padding:0;justify-content:center}.content{max-width:1440px;margin:0 auto;padding:28px 32px 70px}.page{display:none}.page.active{display:block}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:8px 0 22px}.eyebrow{font:700 9px "JetBrains Mono",monospace;letter-spacing:2px;color:var(--accentSoft);margin-bottom:9px}.page-title{font-size:clamp(28px,3vw,42px);letter-spacing:-1.6px;font-weight:900}.page-desc{font-size:12.5px;line-height:1.7;color:var(--muted);max-width:700px;margin-top:8px}
    .notice{padding:11px 14px;border:1px solid rgba(74,163,255,.25);background:rgba(74,163,255,.08);border-radius:12px;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:9px;margin-bottom:18px}.notice strong{color:var(--blue)}
    .game-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:20px}.game-card{border:1px solid var(--line);background:linear-gradient(145deg,var(--surface),var(--surface2));border-radius:16px;padding:16px;display:flex;align-items:center;gap:13px;text-align:left;color:var(--text);transition:.18s;position:relative;overflow:hidden}.game-card:before{content:"";position:absolute;inset:0;background:radial-gradient(280px 120px at 0 0,rgba(124,92,255,.12),transparent 70%);pointer-events:none}.game-card:hover{transform:translateY(-2px);border-color:var(--line2);box-shadow:var(--soft)}.game-card.active{border-color:rgba(124,92,255,.5);box-shadow:inset 0 0 0 1px rgba(124,92,255,.14)}.game-card .gic{width:50px;height:50px;border-radius:13px;background:var(--surface3);display:grid;place-items:center;font-size:23px;flex:0 0 auto}.game-card.active .gic{background:linear-gradient(135deg,var(--accent),var(--accent2))}.game-card h3{font-size:13px;font-weight:900}.game-card p{font-size:10px;color:var(--muted);margin-top:4px;line-height:1.4}
    .up-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:20px;align-items:start}.left-stack{min-width:0}.slots{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.slot{min-height:142px;padding:14px;border-radius:16px;border:1px solid var(--line);background:var(--surface);position:relative;overflow:hidden}.slot-label{font-size:9px;font-weight:800;color:var(--muted2);letter-spacing:1.2px;text-transform:uppercase;margin-bottom:10px}.slot-empty{height:92px;border:1px dashed var(--line2);border-radius:12px;display:grid;place-items:center;color:var(--muted2);font-size:11px;font-weight:700}.slot-filled{height:92px;display:grid;grid-template-columns:120px minmax(0,1fr) 26px;gap:12px;align-items:center}.slot-img{width:120px;height:82px;display:grid;place-items:center}.slot-img img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.28))}.slot-name{font-size:12px;font-weight:900;line-height:1.3}.slot-real{font-size:9.5px;color:var(--muted);margin-top:4px}.slot-price{font:800 12px "JetBrains Mono",monospace;color:var(--gold);margin-top:7px}.slot-clear{width:26px;height:26px;border-radius:8px;border:1px solid var(--line);background:var(--surface2);color:var(--muted)}
    .tools{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:16px}.preset{height:36px;padding:0 12px;border-radius:9px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);font:700 10px "JetBrains Mono",monospace}.preset:hover,.preset.active{border-color:var(--accent);color:var(--accentSoft);background:rgba(124,92,255,.1)}
    .panels{display:grid;grid-template-columns:.86fr 1.14fr;gap:16px}.panel{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}.panel-head{min-height:64px;padding:12px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.panel-title{font-size:12px;font-weight:900}.count{font:700 9px "JetBrains Mono",monospace;color:var(--muted2);margin-left:6px}.filters{display:flex;gap:5px;flex-wrap:wrap}.filter{height:30px;padding:0 9px;border-radius:999px;background:transparent;border:1px solid var(--line);color:var(--muted);font-size:9.5px;font-weight:700}.filter.active{background:rgba(124,92,255,.12);border-color:var(--accent);color:var(--accentSoft)}.catalog-tools{padding:11px 13px 0;display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:8px}.search,.sort{height:38px;border-radius:9px;border:1px solid var(--line2);background:var(--surface2);color:var(--text);padding:0 11px;outline:none}.search:focus,.sort:focus{border-color:var(--accent)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:9px;padding:13px;max-height:515px;overflow:auto;align-content:start}.car{border:1px solid var(--line);border-left:3px solid var(--rar,#8390a4);background:var(--surface2);border-radius:12px;padding:10px 8px 9px;text-align:left;color:var(--text);transition:.16s;min-width:0}.car:hover{transform:translateY(-2px);border-color:var(--line2);border-left-color:var(--rar);box-shadow:var(--soft)}.car.selected{outline:2px solid var(--accent);outline-offset:-2px;background:rgba(124,92,255,.10)}.car.disabled{opacity:.32;filter:grayscale(.6);cursor:not-allowed}.car-img{height:80px;display:grid;place-items:center;margin-bottom:4px}.car-img img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(0,0,0,.22))}.car-name{font-size:10.5px;font-weight:800;line-height:1.35;height:29px;overflow:hidden}.car-price{font:800 10.5px "JetBrains Mono",monospace;color:var(--gold);margin-top:5px}.empty{grid-column:1/-1;padding:34px 16px;text-align:center;color:var(--muted);font-size:11px;line-height:1.7}
    .wheel-card{position:sticky;top:108px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 20px;text-align:center;overflow:hidden}.wheel-card:before{content:"";position:absolute;inset:0;background:radial-gradient(340px 180px at 50% 0,rgba(124,92,255,.14),transparent 70%);pointer-events:none}.wheel{width:320px;height:320px;margin:0 auto 16px;position:relative}.wheel-arrow{position:absolute;top:-7px;left:50%;transform:translateX(-50%);z-index:10;width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:24px solid #fff;filter:drop-shadow(0 5px 8px rgba(0,0,0,.5))}.wheel-rotor{position:absolute;inset:10px;border-radius:50%;background:conic-gradient(from 0deg,var(--green) 0deg,var(--green) var(--chanceDeg,0deg),var(--red) var(--chanceDeg,0deg),var(--red) 360deg);box-shadow:inset 0 0 0 18px rgba(0,0,0,.10),0 16px 50px rgba(0,0,0,.25);will-change:transform}.wheel-rotor:before{content:"";position:absolute;inset:14px;border-radius:50%;border:2px solid rgba(255,255,255,.16);background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.26) 0 1deg,transparent 1deg 10deg)}.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58%;height:58%;border-radius:50%;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 30%,var(--surface3),var(--surface));border:2px solid var(--line2);box-shadow:0 15px 40px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.03)}.wheel-kicker{font-size:8.5px;font-weight:800;color:var(--muted2);letter-spacing:1.4px;text-transform:uppercase}.wheel-chance{font:900 34px "JetBrains Mono",monospace;letter-spacing:-1.7px;margin-top:6px}.wheel-formula{font-size:9px;color:var(--muted2);margin-top:7px}.upgrade-btn{width:100%;height:50px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:white;font-weight:900;font-size:12px;letter-spacing:.7px;text-transform:uppercase;position:relative;z-index:1}.upgrade-btn:disabled{opacity:.35;cursor:not-allowed;filter:grayscale(.5)}.upgrade-btn:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(124,92,255,.25)}.wheel-hint{font-size:9.5px;color:var(--muted2);line-height:1.5;margin-top:10px}
    .battle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.battle-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px}.battle-card h3{font-size:14px;font-weight:900}.battle-card p{font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.battle-visual{height:150px;margin-bottom:15px;border-radius:13px;background:radial-gradient(circle at center,rgba(124,92,255,.22),transparent 65%),var(--surface2);display:grid;place-items:center;font-size:54px}
    .crash-wrap{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.crash-panel,.crash-board{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px}.field-label{font-size:9px;font-weight:800;color:var(--muted2);letter-spacing:1.1px;text-transform:uppercase;margin-bottom:7px}.input{width:100%;height:44px;border:1px solid var(--line2);background:var(--surface2);border-radius:10px;color:var(--text);padding:0 12px;outline:none}.input:focus{border-color:var(--accent)}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:8px 0 14px}.quick button{height:32px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--muted);font-size:9.5px;font-weight:800}.play-btn{width:100%;height:46px;border:0;border-radius:11px;background:linear-gradient(135deg,#34d77d,#1fb764);color:#fff;font-weight:900}.play-btn.cashout{background:linear-gradient(135deg,#ffc857,#e79d14);color:#241a05}.crash-canvas{height:390px;border-radius:14px;background:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px),radial-gradient(420px 260px at 0 100%,rgba(124,92,255,.16),transparent 70%),var(--surface2);background-size:10% 20%,10% 20%,auto,auto;position:relative;overflow:hidden}.crash-mult{position:absolute;left:50%;top:38px;transform:translateX(-50%);font:900 56px "JetBrains Mono",monospace}.crash-line{position:absolute;left:0;right:0;bottom:0;top:0;width:100%;height:100%}.crash-status{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:800;color:var(--muted);padding:7px 12px;background:var(--surface);border:1px solid var(--line);border-radius:999px}.history{display:flex;gap:6px;overflow:auto;margin-bottom:10px}.hist{padding:6px 9px;border-radius:7px;font:700 9px "JetBrains Mono",monospace;background:var(--surface3);white-space:nowrap}.hist.low{color:var(--red)}.hist.mid{color:var(--gold)}.hist.high{color:var(--green)}
    .modal-layer{position:fixed;inset:0;background:rgba(3,5,10,.76);backdrop-filter:blur(12px);display:none;align-items:center;justify-content:center;padding:18px;z-index:100}.modal-layer.open{display:flex}.modal{width:min(480px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:var(--surface);border:1px solid var(--line2);border-radius:20px;box-shadow:var(--shadow);padding:22px;position:relative}.modal.wide{width:min(760px,100%)}.modal-close{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:var(--surface2);color:var(--muted)}.modal-title{font-size:22px;font-weight:900;letter-spacing:-.6px}.modal-sub{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 18px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:var(--surface2);border:1px solid var(--line);border-radius:11px;margin-bottom:16px}.auth-tab{height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10.5px;font-weight:800}.auth-tab.active{background:var(--surface3);color:var(--text)}.form-row{margin-bottom:11px}.form-row label{display:block;font-size:10px;color:var(--muted);font-weight:700;margin-bottom:6px}.form-row input{width:100%;height:44px;border:1px solid var(--line2);border-radius:10px;background:var(--surface2);color:var(--text);padding:0 12px;outline:none}.form-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.09)}.submit{width:100%;height:46px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900;margin-top:4px}.auth-error{display:none;padding:10px 12px;border-radius:10px;background:rgba(255,94,108,.10);border:1px solid rgba(255,94,108,.28);color:var(--red);font-size:10.5px;margin-bottom:12px}.auth-error.show{display:block}.profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:15px}.stat{padding:13px;border-radius:12px;background:var(--surface2);border:1px solid var(--line)}.stat .l{font-size:8.5px;color:var(--muted2);font-weight:800;text-transform:uppercase;letter-spacing:.8px}.stat .v{font:800 16px "JetBrains Mono",monospace;margin-top:7px}.profile-line{display:flex;align-items:center;gap:12px;padding:14px;background:var(--surface2);border:1px solid var(--line);border-radius:13px}.profile-line .avatar{width:54px;height:54px;font-size:20px}.profile-email{font-size:10px;color:var(--muted);margin-top:4px}.danger{height:40px;border-radius:10px;border:1px solid rgba(255,94,108,.3);background:rgba(255,94,108,.08);color:var(--red);font-weight:800;padding:0 13px}.success{color:var(--green)}
    .toast{position:fixed;left:50%;top:100px;transform:translate(-50%,-12px);opacity:0;pointer-events:none;z-index:200;padding:11px 15px;border-radius:11px;background:var(--surface);border:1px solid var(--line2);box-shadow:var(--soft);font-size:11px;font-weight:800;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.bad{border-color:rgba(255,94,108,.45);color:var(--red)}.toast.good{border-color:rgba(40,199,111,.45);color:var(--green)}
    .mobile-nav{display:none}
    @media(max-width:1180px){.up-layout{grid-template-columns:1fr}.wheel-card{position:relative;top:auto}.wheel{width:300px;height:300px}.panels{grid-template-columns:1fr}.battle-grid{grid-template-columns:1fr}.crash-wrap{grid-template-columns:1fr}}
    @media(max-width:860px){.app{grid-template-columns:72px minmax(0,1fr)}.brand{justify-content:center;padding:13px}.brand-copy,.nav-copy,.nav-btn .chip,.sidebar-foot{display:none}.nav-btn{grid-template-columns:1fr;padding:8px}.nav-ic{margin:auto}.content{padding:22px 18px 70px}.topbar{padding:0 16px}.user-pill{min-width:0}.user-meta{display:none}.game-menu{grid-template-columns:1fr 1fr 1fr}.game-card{padding:12px;display:block}.game-card .gic{margin-bottom:8px}.game-card p{display:none}}
    @media(max-width:620px){.app{display:block}.sidebar{display:none}.topbar{height:68px;padding:0 10px;gap:7px}.top-btn span.label{display:none}.content{padding:16px 12px 96px}.page-head{align-items:flex-start;display:block;margin-top:6px}.page-title{font-size:29px}.game-menu{grid-template-columns:repeat(3,1fr);gap:7px}.game-card{padding:9px;text-align:center}.game-card .gic{width:42px;height:42px;margin:0 auto 6px}.game-card h3{font-size:10px}.slots{grid-template-columns:1fr 1fr;gap:7px}.slot{padding:10px;min-height:134px}.slot-filled{grid-template-columns:1fr;height:auto;text-align:center}.slot-img{width:100%;height:58px}.slot-clear{position:absolute;right:8px;top:8px}.slot-real{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.catalog-tools{grid-template-columns:1fr}.wheel{width:min(278px,84vw);height:min(278px,84vw)}.profile-grid{grid-template-columns:1fr 1fr}.crash-canvas{height:300px}.crash-mult{font-size:40px}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--surface);border-top:1px solid var(--line);padding:7px 7px calc(7px + env(safe-area-inset-bottom));gap:4px}.mobile-nav button{flex:1;border:0;background:transparent;color:var(--muted);border-radius:9px;padding:6px 3px;font-size:9px;font-weight:700;display:flex;flex-direction:column;gap:3px;align-items:center}.mobile-nav button.active{background:rgba(124,92,255,.12);color:var(--accentSoft)}.mobile-nav .mi{font-size:18px}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

    /* ===== restored functionality / shop / profile / support ===== */
    .livebox{margin:8px 12px 0;border:1px solid var(--line);border-radius:13px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column;min-height:0;flex:1}.livebox-head{padding:9px 11px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:900;color:var(--muted2);letter-spacing:1px}.livebox-list{padding:5px;overflow:auto;min-height:0}.livebox-row{display:grid;grid-template-columns:31px minmax(0,1fr);gap:7px;align-items:center;padding:6px;border-radius:8px}.livebox-row:hover{background:var(--surface2)}.livebox-ic{width:31px;height:28px;border-radius:7px;background:var(--surface2);display:grid;place-items:center;border-left:3px solid var(--green)}.livebox-row.lose .livebox-ic{border-left-color:var(--red)}.livebox-nick{font-size:9.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.livebox-meta{font-size:8px;color:var(--muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.livebox-empty{padding:24px 8px;text-align:center;color:var(--muted2);font-size:9.5px;line-height:1.6}
    .promo{display:grid;grid-template-columns:auto auto auto 1fr auto;gap:11px;align-items:center;padding:12px 14px;margin-bottom:18px;background:linear-gradient(90deg,rgba(255,200,87,.08),var(--surface),rgba(124,92,255,.08));border:1px solid var(--line);border-radius:14px}.promo-ic{width:40px;height:40px;border-radius:11px;background:rgba(255,200,87,.12);display:grid;place-items:center;font-size:18px}.promo-label{font-size:8.5px;color:var(--muted2);font-weight:800;text-transform:uppercase;letter-spacing:1px}.promo-code{font:900 13px "JetBrains Mono",monospace;color:var(--gold);margin-top:3px}.promo-bonus{font:900 12px "JetBrains Mono",monospace;color:var(--green);padding:6px 9px;border-radius:8px;background:rgba(40,199,111,.1);border:1px solid rgba(40,199,111,.25)}.promo-timer{font:800 11px "JetBrains Mono",monospace;color:var(--muted)}.promo button{height:34px;padding:0 11px;border-radius:9px;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:10px;font-weight:800}
    .shop-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:8px;margin-bottom:12px}.shop-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.shop-stat{padding:14px;border-radius:13px;background:var(--surface);border:1px solid var(--line)}.shop-stat .l{font-size:8.5px;color:var(--muted2);font-weight:800;text-transform:uppercase;letter-spacing:.8px}.shop-stat .v{font:900 18px "JetBrains Mono",monospace;margin-top:6px}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.shop-item{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--rar,#8390a4);border-radius:13px;padding:10px}.shop-item .car-img{height:90px}.shop-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.owned{font:800 9px "JetBrains Mono",monospace;color:var(--accentSoft)}.buy-btn{width:100%;height:34px;border-radius:9px;border:1px solid rgba(40,199,111,.28);background:rgba(40,199,111,.1);color:var(--green);font-size:10px;font-weight:900;margin-top:8px}.buy-btn:disabled{opacity:.38;cursor:not-allowed}.buy-btn:hover:not(:disabled){background:rgba(40,199,111,.16)}
    .profile-tabs{display:flex;gap:5px;margin:16px 0 12px;padding:4px;background:var(--surface2);border:1px solid var(--line);border-radius:11px;overflow:auto}.profile-tab{flex:1;height:36px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}.profile-tab.active{background:var(--surface3);color:var(--text)}.profile-pane{display:none}.profile-pane.active{display:block}.vip-card{padding:14px;border:1px solid var(--line);background:var(--surface2);border-radius:13px;margin-top:12px}.vip-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:800}.vip-rank{color:var(--gold)}.vip-bar{height:7px;background:var(--surface);border-radius:999px;overflow:hidden;margin:8px 0}.vip-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--gold));width:0}.vip-meta{display:flex;justify-content:space-between;font:700 9px "JetBrains Mono",monospace;color:var(--muted)}.history-table{width:100%;border-collapse:collapse;font-size:10px}.history-table th,.history-table td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:left}.history-table th{font-size:8.5px;color:var(--muted2);text-transform:uppercase}.win{color:var(--green);font-weight:900}.lose{color:var(--red);font-weight:900}.tx-list{display:flex;flex-direction:column;gap:6px}.tx-row{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);background:var(--surface2);border-radius:10px}.tx-ic{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:var(--surface3)}.tx-info{flex:1;min-width:0}.tx-title{font-size:10px;font-weight:800}.tx-date{font-size:8.5px;color:var(--muted2);margin-top:2px}.tx-amt{font:900 10px "JetBrains Mono",monospace}.avatar-presets{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}.avatar-preset{aspect-ratio:1;border-radius:10px;border:2px solid transparent;display:grid;place-items:center;font-size:23px;background:var(--surface3)}.avatar-preset.active{border-color:var(--accent)}
    .support-list{display:flex;flex-direction:column;gap:7px}.support-item{padding:11px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);text-align:left;color:var(--text)}.support-item b{font-size:11px}.support-item p{font-size:9.5px;color:var(--muted);margin-top:3px;line-height:1.5}.ticket{padding:11px 12px;border:1px solid var(--line);background:var(--surface2);border-radius:10px;margin-bottom:6px}.ticket-head{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:800}.ticket-sub{font-size:9px;color:var(--muted);margin-top:4px}.chat{display:flex;flex-direction:column;height:470px}.chat-messages{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:7px;background:var(--surface2);border-radius:11px}.chat-msg{max-width:76%;padding:9px 11px;border-radius:10px;font-size:10.5px;line-height:1.5}.chat-msg.user{align-self:flex-end;background:linear-gradient(135deg,var(--accent),var(--accent2));color:white}.chat-msg.support{align-self:flex-start;background:var(--surface);border:1px solid var(--line)}.chat-input{display:flex;gap:7px;margin-top:8px}.chat-input input{flex:1;height:40px;border:1px solid var(--line2);border-radius:9px;background:var(--surface2);color:var(--text);padding:0 10px}.chat-input button{width:44px;border:0;border-radius:9px;background:var(--accent);color:white;font-weight:900}.lang-mini{display:flex;gap:3px}.lang-mini button{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:9px;font-weight:900}.lang-mini button.active{border-color:var(--accent);color:var(--accentSoft);background:rgba(124,92,255,.08)}
    @media(max-width:620px){.promo{grid-template-columns:auto 1fr auto}.promo-timer{display:none}.promo button{grid-column:1/-1}.shop-summary{grid-template-columns:1fr 1fr}.shop-toolbar{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.avatar-presets{grid-template-columns:repeat(4,1fr)}}


    /* ===== UPGRADE LAB V3 — визуально ближе к референсу Upgrader ===== */
    .upgrade-stage{display:grid;grid-template-columns:minmax(220px,1fr) 430px minmax(220px,1fr);gap:18px;align-items:stretch;margin-bottom:14px}
    .upgrade-stage .slot{min-height:330px;padding:18px;background:
      radial-gradient(280px 180px at 50% 72%,rgba(255,213,0,.08),transparent 68%),
      linear-gradient(160deg,var(--surface),color-mix(in srgb,var(--surface2) 82%,#000));
      display:flex;flex-direction:column;border-radius:18px}
    .upgrade-stage .slot-label{text-align:center;font-size:10px;color:var(--text);margin-bottom:8px}
    .upgrade-stage .slot-sub{text-align:center;font-size:9px;color:var(--muted2);margin-bottom:12px}
    .upgrade-stage .slot>div:last-child{flex:1;display:grid;place-items:center}
    .upgrade-stage .slot-empty{width:100%;height:100%;min-height:235px;border:0;background:
      linear-gradient(145deg,transparent,rgba(255,213,0,.018)),
      radial-gradient(180px 120px at 50% 55%,rgba(255,213,0,.10),transparent 70%);position:relative;overflow:hidden}
    .upgrade-stage .slot-empty:before{content:"⌃";font-size:92px;line-height:1;font-weight:900;color:var(--upgrade);opacity:.9;text-shadow:0 18px 35px rgba(255,213,0,.22);transform:scaleX(1.25)}
    .upgrade-stage .slot-empty:after{content:"Выбрать";position:absolute;bottom:28px;padding:7px 13px;border:1px solid rgba(255,213,0,.25);border-radius:999px;color:var(--upgrade);background:rgba(255,213,0,.05);font-size:9px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}
    .upgrade-stage .slot-filled{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:7px;position:relative}
    .upgrade-stage .slot-img{width:100%;height:170px}.upgrade-stage .slot-img img{max-width:94%;max-height:94%;filter:drop-shadow(0 24px 30px rgba(0,0,0,.45))}
    .upgrade-stage .slot-name{font-size:14px}.upgrade-stage .slot-real{font-size:10px}.upgrade-stage .slot-price{font-size:13px}
    .upgrade-stage .slot-clear{position:absolute;top:0;right:0}

    .upgrade-stage .wheel-card{position:relative;top:auto;min-height:330px;padding:10px 12px 0;background:transparent;border:0;border-radius:0;overflow:visible;display:flex;flex-direction:column;justify-content:center}
    .upgrade-stage .wheel-card:before{display:none}
    .upgrade-stage .wheel{width:410px;height:410px;margin:-45px auto -32px;filter:drop-shadow(0 28px 60px rgba(0,0,0,.34))}
    .wheel:before{content:"";position:absolute;inset:16px;border-radius:50%;background:repeating-conic-gradient(from -2.5deg,rgba(255,255,255,.12) 0 1deg,transparent 1deg 10deg);mask:radial-gradient(circle,transparent 0 83%,#000 83.5% 85.2%,transparent 85.7%);-webkit-mask:radial-gradient(circle,transparent 0 83%,#000 83.5% 85.2%,transparent 85.7%);opacity:.65;z-index:1;pointer-events:none}
    .wheel:after{content:"";position:absolute;inset:55px;border-radius:50%;border:1px solid rgba(255,255,255,.06);box-shadow:inset 0 0 0 11px rgba(0,0,0,.11);pointer-events:none;z-index:2}
    .wheel-arrow{top:auto;bottom:10px;left:50%;width:18px;height:36px;border:0;transform:translateX(-50%);filter:drop-shadow(0 4px 9px rgba(255,213,0,.45));z-index:12}
    .wheel-arrow:before{content:"";position:absolute;bottom:0;left:50%;width:3px;height:27px;transform:translateX(-50%);background:linear-gradient(var(--upgrade),#fff);border-radius:3px}
    .wheel-arrow:after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:13px solid #fff}
    .wheel-rotor{inset:34px;border:1px solid rgba(255,255,255,.06);background:conic-gradient(from 0deg,
      #133050 0deg var(--successStart,180deg),
      var(--upgrade) var(--successStart,180deg),
      var(--upgrade2) var(--successMid,180deg),
      var(--upgradeRed) var(--successEnd,180deg),
      #133050 var(--successEnd,180deg) 360deg);
      box-shadow:inset 0 0 0 24px rgba(0,0,0,.20),inset 0 0 0 26px rgba(255,255,255,.035),0 0 0 1px rgba(255,255,255,.03),0 0 36px rgba(255,157,0,.05)}
    .wheel-rotor:before{inset:20px;border:0;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.18) 0 1deg,transparent 1deg 8deg);mask:radial-gradient(circle,transparent 0 75%,#000 76% 100%);-webkit-mask:radial-gradient(circle,transparent 0 75%,#000 76% 100%);opacity:.33}
    .wheel-center{width:51%;height:51%;background:radial-gradient(circle at 50% 34%,#133050,#0e2847 68%);border:1px solid #193859;box-shadow:0 22px 55px rgba(0,0,0,.48),inset 0 0 0 13px rgba(255,255,255,.018)}
    [data-theme="light"] .wheel-center{background:radial-gradient(circle at 50% 34%,#fff,#e9edf4 72%)}
    .wheel-kicker{font-size:9px;color:var(--muted)}.wheel-chance{font-size:39px;color:#b8ef31;text-shadow:0 0 22px rgba(184,239,49,.15)}
    .wheel-risk-label{font-size:9px;color:#91bb2f;font-weight:800;margin-top:2px}.wheel-formula{font-size:8.5px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .wheel-scale-label{position:absolute;z-index:9;font:800 8px "JetBrains Mono",monospace;color:var(--muted2);pointer-events:none}.wheel-scale-label.top{top:46px;left:50%;transform:translateX(-50%)}.wheel-scale-label.left{left:48px;top:50%;transform:translateY(-50%)}.wheel-scale-label.right{right:48px;top:50%;transform:translateY(-50%)}
    .upgrade-btn{height:54px;max-width:360px;margin:0 auto;border:1px solid rgba(255,213,0,.36);background:linear-gradient(180deg,#e4c000,#af9200);color:#0e2847;font-size:14px;box-shadow:0 13px 30px rgba(255,213,0,.08)}
    .upgrade-btn:not(:disabled):hover{box-shadow:0 16px 42px rgba(255,213,0,.16);transform:translateY(-1px)}
    .wheel-hint{max-width:370px;margin:9px auto 0}.upgrade-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:16px}.upgrade-toolbar .tools{margin:0}.upgrade-toolbar-note{font-size:9px;color:var(--muted2);text-align:right;max-width:310px;line-height:1.45}

    /* ===== SUPPORT CENTER V3 ===== */
    #supportModal .modal{padding:0;overflow:hidden;max-width:430px;border-radius:22px}
    .support-hero{padding:27px 24px 23px;background:linear-gradient(135deg,#5364ff 0%,#7658ff 55%,#9d4ee7 100%);color:#fff;position:relative;overflow:hidden}
    .support-hero:before{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-90px;top:-125px;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.02)}
    .support-agent{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;font-size:20px;margin-bottom:13px;backdrop-filter:blur(7px)}
    .support-hero h2{font-size:22px;letter-spacing:-.6px}.support-hero p{font-size:10.5px;opacity:.82;margin-top:5px}.support-body{padding:14px;background:var(--surface)}
    .support-primary{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:12px 13px;border-radius:13px;border:1px solid var(--line);background:linear-gradient(145deg,var(--surface2),var(--surface));color:var(--text);text-align:left;margin-bottom:12px}.support-primary:hover{border-color:rgba(124,92,255,.5)}.support-primary .ic{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#5364ff,#8a58ff);color:#fff}.support-primary b{font-size:11.5px}.support-primary span.sub{display:block;font-size:9px;color:var(--muted);margin-top:3px}.support-primary .arr{font-size:19px;color:var(--accentSoft)}
    .support-search{height:40px;border:1px solid var(--line);background:var(--surface2);border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px;margin-bottom:9px}.support-search input{flex:1;background:transparent;border:0;outline:0;color:var(--text);font-size:10.5px}
    .support-articles{display:flex;flex-direction:column;gap:5px}.support-article{width:100%;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:var(--text);text-align:left;font-size:10px;font-weight:800}.support-article:hover{border-color:var(--accent)}
    .support-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);background:var(--surface)}.support-tabs button{border:0;background:transparent;color:var(--muted);padding:10px 4px 11px;font-size:8.5px;font-weight:900;display:flex;flex-direction:column;align-items:center;gap:4px}.support-tabs button span:first-child{font-size:16px}.support-tabs button.active{color:var(--accentSoft)}
    #supportModal .modal-close{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.18)}
    #ticketMessage{width:100%;min-height:125px;resize:vertical;padding:10px;line-height:1.55;border:1px solid var(--line2);border-radius:10px;background:var(--surface2);color:var(--text);outline:none}#ticketMessage:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.09)}
    .ticket.online-ticket{transition:.15s}.ticket.online-ticket:hover{border-color:var(--accent);transform:translateY(-1px)}

    @media(max-width:1180px){.upgrade-stage{grid-template-columns:1fr 360px 1fr}.upgrade-stage .wheel{width:360px;height:360px}}
    @media(max-width:900px){.upgrade-stage{grid-template-columns:1fr 1fr}.upgrade-stage .wheel-card{grid-column:1/-1;grid-row:1}.upgrade-stage .slot{min-height:235px}.upgrade-stage .slot-img{height:110px}.upgrade-toolbar{grid-template-columns:1fr}.upgrade-toolbar-note{text-align:left;max-width:none}}
    @media(max-width:620px){.upgrade-stage{grid-template-columns:1fr 1fr;gap:7px}.upgrade-stage .wheel-card{grid-column:1/-1}.upgrade-stage .slot{min-height:185px;padding:10px}.upgrade-stage .slot-sub{display:none}.upgrade-stage .slot-empty{min-height:135px}.upgrade-stage .slot-empty:before{font-size:58px}.upgrade-stage .slot-empty:after{bottom:14px}.upgrade-stage .slot-img{height:75px}.upgrade-stage .slot-name{font-size:10px}.upgrade-stage .slot-price{font-size:10px}.upgrade-stage .wheel{width:min(330px,92vw);height:min(330px,92vw);margin:-36px auto -25px}.wheel-scale-label.top{top:39px}.wheel-scale-label.left{left:39px}.wheel-scale-label.right{right:39px}}


    /* ===== restored original controls ===== */
    .upgrade-toolbar{grid-template-columns:minmax(0,1fr) auto auto}.custom-upgrade-box{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid var(--line);background:var(--surface);border-radius:11px}.custom-upgrade-box label{display:flex;align-items:center;gap:5px;font-size:8.5px;color:var(--muted2);font-weight:800}.custom-upgrade-box input{width:68px;height:31px;border:1px solid var(--line);border-radius:7px;background:var(--surface2);color:var(--text);padding:0 7px;font:700 9px "JetBrains Mono",monospace;outline:0}.custom-upgrade-box button{height:31px;border:1px solid rgba(255,213,0,.35);border-radius:7px;background:rgba(255,213,0,.09);color:var(--upgrade);font-size:8.5px;font-weight:900;padding:0 9px}.custom-upgrade-box>span{font-size:8px;color:var(--muted2)}
    .crash-wrap-rich{grid-template-columns:300px minmax(0,1fr) 280px;align-items:start}.crash-wrap-rich .crash-panel,.crash-wrap-rich .crash-players{position:sticky;top:104px}.crash-bet-row{display:grid;grid-template-columns:auto minmax(0,1fr) 38px 38px;gap:5px;align-items:center}.crash-bet-row .input{min-width:0}.coin-mini{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,200,87,.13);color:var(--gold);font-weight:900}.crash-bet-row button,.crash-auto button,.crash-custom button{height:36px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:var(--muted);font-size:9px;font-weight:900}.crash-auto{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px}.crash-auto button.active{border-color:var(--accent);color:var(--accentSoft);background:rgba(124,92,255,.10)}.crash-custom{display:grid;grid-template-columns:auto 1fr 32px;gap:6px;align-items:center;padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}.crash-custom input{min-width:0;background:transparent;border:0;outline:0;color:var(--text);font:700 10px "JetBrains Mono",monospace}.crash-custom button{height:28px}.crash-selected-auto{font-size:8.5px;color:var(--muted2);margin:7px 0 12px}.crash-board-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:9px;color:var(--muted);font-weight:800}.crash-board-top button{border:0;background:transparent;color:var(--muted2);font:700 8.5px "JetBrains Mono",monospace}.pulse-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px rgba(40,199,111,.5);margin-right:5px}.crash-rocket{position:absolute;display:none;transform:translate(-50%,-50%);font-size:24px;filter:drop-shadow(0 8px 12px rgba(0,0,0,.4));z-index:5}.crash-players{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;max-height:calc(100vh - 120px);overflow:hidden}.crash-players-head{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:900;color:var(--muted);margin-bottom:9px}.crash-players-head>span{font:800 8px "JetBrains Mono",monospace;padding:3px 6px;border-radius:6px;background:var(--surface2)}.crash-players-list{display:flex;flex-direction:column;gap:5px;max-height:480px;overflow:auto}.crash-player{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--surface2)}.crash-player .av{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));font-size:10px;font-weight:900}.crash-player .nick{font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crash-player .meta{font-size:7.5px;color:var(--muted2);margin-top:2px}.crash-player .mult{font:800 8px "JetBrains Mono",monospace;color:var(--accentSoft)}.crash-player.cashed .mult{color:var(--green)}.crash-player.crashed .mult{color:var(--red)}
    .withdraw-card{max-width:520px;margin:60px auto 0;padding:38px 28px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:18px}.withdraw-icon{width:78px;height:78px;border-radius:22px;margin:0 auto 16px;display:grid;place-items:center;font-size:34px;background:rgba(255,94,108,.09);border:1px solid rgba(255,94,108,.24)}.withdraw-card h2{font-size:21px}.withdraw-card p{font-size:11px;color:var(--muted);line-height:1.7;margin:8px auto 16px;max-width:420px}.withdraw-badge{display:inline-flex;padding:8px 13px;border-radius:999px;background:rgba(255,94,108,.08);border:1px solid rgba(255,94,108,.24);color:var(--red);font-size:9px;font-weight:900}
    .topup-balance-card{padding:14px;border:1px solid rgba(255,200,87,.25);background:rgba(255,200,87,.08);border-radius:12px;text-align:center;margin-bottom:12px}.topup-balance-card span{display:block;font-size:8.5px;color:var(--muted2);font-weight:800;text-transform:uppercase}.topup-balance-card strong{display:block;font:900 23px "JetBrains Mono",monospace;color:var(--gold);margin-top:4px}.topup-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}.topup-presets button{height:38px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:var(--text);font-weight:800}.topup-presets button.active{border-color:var(--accent);background:rgba(124,92,255,.08);color:var(--accentSoft)}.topup-calc{padding:10px 12px;background:var(--surface2);border:1px solid var(--line);border-radius:10px}.topup-calc>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:9.5px;color:var(--muted)}.topup-calc>div+div{border-top:1px solid var(--line)}.topup-calc b{color:var(--text);font-family:"JetBrains Mono",monospace}.topup-calc>div:last-child b{color:var(--gold)}
    @media(max-width:1180px){.upgrade-toolbar{grid-template-columns:1fr}.upgrade-toolbar-note{text-align:left}.crash-wrap-rich{grid-template-columns:1fr}.crash-wrap-rich .crash-panel,.crash-wrap-rich .crash-players{position:static}.crash-players{max-height:none}.crash-players-list{max-height:300px}}
    @media(max-width:620px){.custom-upgrade-box{flex-wrap:wrap}.custom-upgrade-box label{flex:1}.custom-upgrade-box input{width:100%}.crash-bet-row{grid-template-columns:auto 1fr 34px 34px}}

  
/* ===== GTAUP V5 VISUAL REFRESH ===== */
:root{--upgrade:#ffd400;--upgrade2:#ff9f0a;--upgradeRed:#ff493d;--cyan:#49d8ff}
.hidden{display:none!important}.admin-chip{background:linear-gradient(135deg,#ffd400,#ff9f0a)!important;color:#0e2847!important}
.topbar-v5{gap:9px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 97%,transparent),color-mix(in srgb,var(--surface) 92%,transparent));backdrop-filter:blur(18px)}
.account-pill{height:54px;display:flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,var(--surface2),var(--surface));color:var(--text);box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 30px rgba(0,0,0,.12)}.account-pill:hover{border-color:#3b4350;transform:translateY(-1px)}.account-avatar{width:42px;height:42px;border-radius:12px}.account-copy{display:flex;flex-direction:column;min-width:95px;text-align:left}.account-label,.wallet-label{font-size:7.5px;letter-spacing:1.25px;color:var(--muted2);font-weight:900}.account-chevron{font-size:20px;color:var(--muted2);margin-left:2px}.wallet-pill{height:54px;display:flex;align-items:center;gap:10px;padding:6px 7px 6px 10px;border:1px solid rgba(255,212,0,.18);border-radius:16px;background:radial-gradient(100px 55px at 0 0,rgba(255,212,0,.10),transparent 70%),linear-gradient(135deg,#133050,#0e2847);box-shadow:0 12px 32px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.03)}[data-theme=light] .wallet-pill{background:linear-gradient(135deg,#fff,#f2f4f8)}.wallet-coin{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#ffe23f,#dba900);color:#0e2847;font:900 17px "JetBrains Mono",monospace;box-shadow:0 6px 18px rgba(255,210,0,.16)}.wallet-copy{display:flex;flex-direction:column;min-width:112px}.wallet-value{font:900 14px "JetBrains Mono",monospace;color:var(--gold);margin-top:3px;white-space:nowrap}.wallet-add{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,212,0,.10);color:var(--gold);font-size:20px}.wallet-add:hover{background:var(--gold);color:#0e2847}.verify-pill{height:40px;border:1px solid rgba(255,194,55,.3);background:rgba(255,194,55,.08);color:#ffd45d;border-radius:11px;padding:0 12px;font-size:9.5px;font-weight:900}
/* Upgrade ring inspired by the provided reference, not copied assets */
.wheel-card-v5{background:radial-gradient(500px 260px at 50% 42%,rgba(255,196,0,.045),transparent 65%)!important}.wheel-topline{display:flex;align-items:center;justify-content:center;gap:7px;font-size:8px;font-weight:900;letter-spacing:1.2px;color:var(--muted2);margin-bottom:-6px;position:relative;z-index:6}.wheel-live-dot{width:5px;height:5px;border-radius:50%;background:var(--upgrade);box-shadow:0 0 10px rgba(255,212,0,.8)}.wheel-fair{margin-left:7px;color:#8f9b70}.upgrade-stage .wheel{width:430px;height:430px;margin:-42px auto -28px}.wheel-track{position:absolute;inset:27px;border-radius:50%;background:#133050;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0 0 26px rgba(0,0,0,.19);z-index:0}.wheel-rotor{inset:32px!important;z-index:2;border:0!important;background:conic-gradient(from 0deg,#193859 0deg var(--successStart,180deg),#ffd900 var(--successStart,180deg),#ffb000 var(--successMid,180deg),#ff5a36 var(--successEnd,180deg),#193859 var(--successEnd,180deg) 360deg)!important;box-shadow:inset 0 0 0 23px #0e2847,inset 0 0 0 25px rgba(255,255,255,.04),0 0 0 1px rgba(255,255,255,.04),0 20px 70px rgba(0,0,0,.35)!important;transform-origin:50% 50%;transition:none}.wheel-rotor:before{content:"";position:absolute;inset:-13px!important;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.24) 0 .65deg,transparent .65deg 7.5deg)!important;mask:radial-gradient(circle,transparent 0 88%,#000 88.5% 91%,transparent 91.5%)!important;-webkit-mask:radial-gradient(circle,transparent 0 88%,#000 88.5% 91%,transparent 91.5%)!important;opacity:.52!important}.wheel-rotor-inner{position:absolute;inset:34px;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.07) 0 2deg,transparent 2deg 10deg);mask:radial-gradient(circle,transparent 0 74%,#000 75% 100%);-webkit-mask:radial-gradient(circle,transparent 0 74%,#000 75% 100%)}.wheel-center{width:52%!important;height:52%!important;z-index:5!important;background:radial-gradient(circle at 50% 30%,#133050,#0e2847 72%)!important;border:1px solid #193859!important;box-shadow:0 25px 60px rgba(0,0,0,.52),inset 0 0 0 14px rgba(255,255,255,.018)!important}.wheel-center:before{content:"⌃";font-size:46px;line-height:.5;color:rgba(255,214,0,.10);position:absolute;top:34px;font-weight:900}.wheel-kicker{z-index:1}.wheel-chance{z-index:1;color:#bcf238!important;font-size:40px!important;text-shadow:0 0 30px rgba(188,242,56,.13)}.wheel-risk-label{z-index:1}.wheel-formula{z-index:1}.wheel-arrow{bottom:5px!important;height:42px!important;z-index:15!important}.wheel-arrow:before{height:31px!important;background:linear-gradient(0deg,#fff,#ffd400)!important;box-shadow:0 0 16px rgba(255,212,0,.45)}.wheel-arrow:after{border-bottom-color:#fff!important;filter:drop-shadow(0 0 5px rgba(255,212,0,.65))}.wheel-scale-label.top{top:37px!important}.wheel-scale-label.q1{right:53px;top:50%;transform:translateY(-50%)}.wheel-scale-label.right{left:50%;top:auto!important;right:auto!important;bottom:43px;transform:translateX(-50%)!important}.wheel-scale-label.q3{left:53px;top:50%;transform:translateY(-50%)}.chance-legend{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-width:360px;margin:0 auto 8px}.chance-pill{display:flex;justify-content:center;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;background:var(--surface2);border:1px solid var(--line);font:800 9px "JetBrains Mono",monospace;color:var(--muted)}.chance-pill span{width:7px;height:7px;border-radius:50%}.chance-pill.win span{background:#ffd400;box-shadow:0 0 9px rgba(255,212,0,.6)}.chance-pill.lose span{background:#4a505b}.chance-bar{height:7px;max-width:360px;margin:0 auto 10px;border-radius:99px;background:#303640;position:relative;overflow:visible}.chance-bar-win{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#ffd900,#ff8a00);box-shadow:0 0 12px rgba(255,180,0,.22);transition:width .25s}.chance-pointer{position:absolute;top:50%;width:2px;height:15px;background:#fff;transform:translate(-1px,-50%);left:0;box-shadow:0 0 8px rgba(255,255,255,.5);transition:left .25s}.upgrade-chevrons{font-size:15px}.upgrade-btn{background:linear-gradient(180deg,#f3cd00,#b89b00)!important;color:#0e2847!important;border-color:rgba(255,219,0,.42)!important}.wheel-hint{max-width:420px!important}
/* Car rarity refresh */
.car,.shop-item{position:relative}.rarity-badge-v5{position:absolute;top:7px;left:7px;z-index:4;padding:3px 6px;border-radius:6px;font-size:7px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;color:#fff;background:color-mix(in srgb,var(--rar) 76%,#0e2847);border:1px solid color-mix(in srgb,var(--rar) 55%,transparent);box-shadow:0 0 14px color-mix(in srgb,var(--rar) 24%,transparent)}.car:after,.shop-item:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,var(--rar),transparent);opacity:.75}.rarity-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--rar);box-shadow:0 0 9px var(--rar)}
/* Crash online */
.crash-round-strip{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:12px 15px;margin-bottom:12px;border-radius:13px;border:1px solid var(--line);background:linear-gradient(135deg,var(--surface),var(--surface2));font-size:10px}.crash-phase-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9ca3af;margin-right:7px}.crash-phase-dot.betting{background:#ffd400;box-shadow:0 0 10px rgba(255,212,0,.5)}.crash-phase-dot.running{background:var(--green);box-shadow:0 0 10px rgba(50,220,130,.5)}.crash-phase-dot.crashed{background:var(--red);box-shadow:0 0 10px rgba(255,80,80,.5)}.crash-countdown{font:900 14px "JetBrains Mono",monospace;color:var(--gold)}.crash-round-id{font:800 9px "JetBrains Mono",monospace;color:var(--muted2)}.crash-panel-title{font-size:9px;letter-spacing:1.2px;color:var(--muted2);font-weight:900;margin-bottom:13px}.my-bet-card{margin-top:9px;padding:10px 11px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:2px 8px}.my-bet-card span{font-size:8px;color:var(--muted2);font-weight:800;text-transform:uppercase}.my-bet-card b{font:900 11px "JetBrains Mono",monospace}.my-bet-card small{grid-column:1/-1;font-size:8.5px;color:var(--muted)}.crash-explain{display:flex;flex-wrap:wrap;gap:9px 16px;color:var(--muted2);font-size:8px;margin-top:10px}.crash-player.waiting{border-color:rgba(255,212,0,.18)}.crash-player.cashed{border-color:rgba(54,219,132,.22);background:rgba(54,219,132,.045)}.crash-player.lost{opacity:.58}.crash-player .status-pill{font-size:7px;padding:2px 5px;border-radius:5px;background:var(--surface3)}
/* Profile */
.profile-modal-v5{padding:0!important;overflow:hidden!important}.profile-cover-v5{position:relative;min-height:160px;padding:28px 28px 21px;background:linear-gradient(145deg,#133050,#0e2847 58%,#0e2847);overflow:hidden;border-bottom:1px solid var(--line)}.profile-orb{position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none}.profile-orb.one{width:270px;height:270px;right:-80px;top:-130px;background:radial-gradient(circle,rgba(124,92,255,.28),transparent 68%)}.profile-orb.two{width:190px;height:190px;left:-60px;bottom:-130px;background:radial-gradient(circle,rgba(255,203,0,.14),transparent 70%)}.profile-head-v5{display:flex;align-items:center;gap:16px;position:relative;z-index:2}.profile-avatar-v5{width:82px;height:82px;flex:none;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#4c35dd);font-size:31px;font-weight:900;overflow:hidden;border:3px solid rgba(255,255,255,.08);box-shadow:0 20px 40px rgba(0,0,0,.25)}.profile-avatar-v5 img{width:100%;height:100%;object-fit:cover}.profile-id{min-width:0;flex:1}.profile-name-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.profile-name-row strong{font-size:22px;letter-spacing:-.5px}.profile-id>span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.profile-id>small{display:block;color:var(--muted2);font:700 8px "JetBrains Mono",monospace;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verified-badge{padding:3px 7px;border-radius:100px;background:rgba(255,190,50,.08);color:#ffc84a;border:1px solid rgba(255,190,50,.22);font-size:7px;font-weight:900}.verified-badge.ok{color:#52e394;background:rgba(82,227,148,.08);border-color:rgba(82,227,148,.22)}.profile-head-actions{display:flex;gap:6px;flex-direction:column}.profile-body-v5{padding:18px 24px 24px}.profile-grid-v5{grid-template-columns:repeat(3,1fr)!important}.profile-grid-v5 .stat{min-height:72px;background:linear-gradient(145deg,var(--surface2),var(--surface));border-color:var(--line)}.wallet-stat{color:var(--gold)!important}.vip-card-v5{background:linear-gradient(135deg,rgba(124,92,255,.08),rgba(255,198,0,.035)),var(--surface2)}.profile-garage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:8px;max-height:380px;overflow:auto}.profile-garage-item{padding:8px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;position:relative}.profile-garage-item .car-img{height:64px}.profile-garage-item b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-garage-item small{color:var(--gold);font:800 8px "JetBrains Mono",monospace}.avatar-upload-card{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:var(--surface2);border:1px dashed var(--line2);border-radius:11px;margin-bottom:9px}.avatar-upload-card b,.avatar-upload-card small{display:block}.avatar-upload-card small{color:var(--muted2);font-size:8px;margin-top:3px}.profile-settings-v5{display:grid;gap:15px}.profile-settings-v5>label,.profile-settings-v5>div{display:grid;gap:6px;font-size:9px;font-weight:800;color:var(--muted)}.settings-inline{display:flex;gap:7px}.settings-inline input{flex:1;background:var(--surface2);border:1px solid var(--line2);border-radius:9px;color:var(--text);padding:9px 10px}.settings-inline button{border:1px solid var(--line2);background:var(--surface3);color:var(--text);border-radius:9px;padding:8px 11px}.settings-label{font-size:9px;font-weight:800;color:var(--muted)}
/* Auth/verify */
.auth-modal-v5{max-width:470px!important}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:17px}.auth-logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900}.auth-brand b,.auth-brand small{display:block}.auth-brand small{font-size:8px;color:var(--muted2);margin-top:2px}.auth-security{display:flex;gap:8px;align-items:flex-start;padding:9px 10px;border-radius:9px;background:rgba(65,211,135,.05);border:1px solid rgba(65,211,135,.13);color:var(--muted);font-size:8.5px;line-height:1.45;margin:4px 0 10px}.verify-modal{text-align:center;max-width:460px!important}.verify-icon{width:74px;height:74px;margin:0 auto 15px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(255,211,0,.18),rgba(255,139,0,.09));border:1px solid rgba(255,211,0,.25);font-size:31px}.verify-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.verify-note{font-size:8px;color:var(--muted2);line-height:1.5;margin-top:12px}
/* Admin */
.admin-refresh{padding:9px 12px;border:1px solid var(--line2);border-radius:9px;background:var(--surface2);color:var(--text);font-size:9px;font-weight:800}.admin-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:12px}.admin-kpi{padding:14px;background:linear-gradient(145deg,var(--surface2),var(--surface));border:1px solid var(--line);border-radius:13px}.admin-kpi span,.admin-kpi small{display:block;color:var(--muted2);font-size:8px}.admin-kpi strong{display:block;font:900 18px "JetBrains Mono",monospace;margin:6px 0 3px}.admin-kpi.hot{border-color:rgba(255,205,0,.2);background:linear-gradient(145deg,rgba(255,205,0,.07),var(--surface))}.admin-kpi.hot strong{color:var(--gold)}.admin-tabs{display:flex;gap:5px;overflow:auto;padding:4px;background:var(--surface2);border:1px solid var(--line);border-radius:11px;margin-bottom:12px}.admin-tabs button{border:0;background:transparent;color:var(--muted);padding:9px 11px;border-radius:8px;white-space:nowrap;font-size:9px;font-weight:800}.admin-tabs button.active{background:var(--surface3);color:var(--text)}.admin-pane{display:none}.admin-pane.active{display:block}.admin-toolbar,.admin-promo-create{display:flex;gap:7px;margin-bottom:9px}.admin-toolbar input,.admin-promo-create input,.admin-settings-grid input,.admin-user-editor input,.admin-car-editor select,.admin-car-editor input,.admin-chat-input input{flex:1;background:var(--surface2);border:1px solid var(--line2);border-radius:9px;color:var(--text);padding:9px 10px;outline:0}.admin-toolbar button,.admin-promo-create button,.admin-settings-grid button,.admin-user-editor button,.admin-car-editor button,.admin-chat-input button,.admin-actions button{border:1px solid var(--line2);background:var(--surface3);color:var(--text);padding:9px 11px;border-radius:9px;font-size:9px;font-weight:800}.admin-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px}.admin-table{width:100%;border-collapse:collapse;font-size:9px}.admin-table th{padding:10px;text-align:left;color:var(--muted2);background:var(--surface2);position:sticky;top:0}.admin-table td{padding:10px;border-top:1px solid var(--line)}.admin-table .user-main b,.admin-table .user-main small{display:block}.admin-table .user-main small{color:var(--muted2);font-size:7.5px;margin-top:2px}.admin-table button{border:1px solid var(--line2);background:var(--surface3);color:var(--text);border-radius:7px;padding:6px 8px;font-size:8px}.admin-support-layout{display:grid;grid-template-columns:300px 1fr;gap:10px;min-height:500px}.admin-chat-list,.admin-chat-view{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.admin-chat-list{padding:7px;overflow:auto}.admin-chat-item{display:block;width:100%;text-align:left;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--text);margin-bottom:3px}.admin-chat-item:hover,.admin-chat-item.active{background:var(--surface2)}.admin-chat-item b,.admin-chat-item small{display:block}.admin-chat-item small{color:var(--muted2);font-size:8px;margin-top:3px}.admin-chat-view{display:flex;flex-direction:column}.admin-chat-title{padding:12px;border-bottom:1px solid var(--line);font-weight:900}.admin-chat-messages{flex:1;min-height:390px;max-height:480px;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:6px}.admin-chat-input{display:flex;gap:6px;padding:9px;border-top:1px solid var(--line)}.admin-crash-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-box{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.admin-box h3{font-size:12px;margin-bottom:11px}.admin-readout{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:9px}.admin-readout b{font-family:"JetBrains Mono",monospace}.admin-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.admin-actions .danger,.admin-car-editor .danger{color:var(--red);border-color:rgba(255,70,70,.25);background:rgba(255,70,70,.06)}.admin-box label,.admin-settings-grid label,.admin-user-editor>label{display:grid;gap:5px;font-size:8.5px;color:var(--muted);margin-bottom:9px}.admin-card-list{display:grid;gap:7px}.admin-list-card{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.admin-list-card .grow{flex:1}.admin-list-card b,.admin-list-card small{display:block}.admin-list-card small{color:var(--muted2);font-size:8px;margin-top:3px}.admin-list-card button{border:1px solid var(--line);border-radius:7px;background:var(--surface2);color:var(--red);padding:6px 8px}.admin-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.toggle-line{display:flex!important;align-items:center;justify-content:space-between;padding:10px;background:var(--surface2);border:1px solid var(--line);border-radius:9px}.toggle-line input{flex:none;width:18px;height:18px}.admin-log-list{display:grid;gap:6px}.admin-log{padding:10px;border:1px solid var(--line);background:var(--surface);border-radius:9px;font-size:9px}.admin-log small{color:var(--muted2)}.admin-user-editor{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-editor-actions,.admin-car-editor,.admin-inventory-preview{grid-column:1/-1}.admin-car-editor{display:grid;grid-template-columns:1fr 80px auto auto;gap:6px}.admin-inventory-preview{display:flex;flex-wrap:wrap;gap:5px;padding:10px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;max-height:180px;overflow:auto}.admin-inventory-preview span{font-size:7.5px;padding:4px 6px;border-radius:6px;background:var(--surface3);border:1px solid var(--line)}
@media(max-width:900px){.wallet-pill{min-width:0}.wallet-copy{min-width:75px}.wallet-label,.account-label{display:none}.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-support-layout,.admin-crash-grid{grid-template-columns:1fr}.profile-grid-v5{grid-template-columns:repeat(2,1fr)!important}.profile-head-v5{align-items:flex-start}.profile-head-actions{display:none}}
@media(max-width:620px){.wallet-pill{height:48px}.wallet-copy{display:none}.wallet-coin{width:34px;height:34px}.wallet-add{display:none}.account-copy{display:none}.account-pill{padding:5px}.verify-pill{display:none!important}.upgrade-stage .wheel{width:min(355px,96vw);height:min(355px,96vw);margin:-30px auto -18px}.wheel-scale-label.top{top:31px!important}.wheel-scale-label.q1{right:41px}.wheel-scale-label.right{bottom:37px}.wheel-scale-label.q3{left:41px}.chance-legend,.chance-bar{max-width:310px}.profile-cover-v5{padding:24px 18px 18px}.profile-body-v5{padding:15px}.profile-avatar-v5{width:67px;height:67px}.profile-name-row strong{font-size:17px}.admin-kpis{grid-template-columns:1fr 1fr}.admin-promo-create,.admin-toolbar{flex-direction:column}.admin-settings-grid,.admin-user-editor{grid-template-columns:1fr}.admin-car-editor{grid-template-columns:1fr 70px}.admin-car-editor button{grid-row:2}.verify-actions{grid-template-columns:1fr}}


/* ================= GTAUP V6 — visual & interaction refresh ================= */
.app{grid-template-columns:272px minmax(0,1fr)}
.sidebar{background:linear-gradient(180deg,#0b1f3b 0%,#0e2847 42%,#0b1f3b 100%);border-right:1px solid rgba(116,132,168,.16);box-shadow:22px 0 70px rgba(0,0,0,.18)}
.brand{height:94px;padding:18px 20px;background:radial-gradient(220px 100px at 10% 0,rgba(124,92,255,.15),transparent 70%)}
.brand-mark{border-radius:16px;background:linear-gradient(145deg,#9b83ff,#6e4dff 55%,#4d31d8);box-shadow:0 14px 40px rgba(124,92,255,.34),inset 0 1px 0 rgba(255,255,255,.22)}
.brand-sub{color:#6f7890}.nav{padding:18px 13px}.nav-label{padding-left:13px;color:#566076}.nav-btn{padding:10px 11px;border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;position:relative;overflow:hidden}.nav-btn:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 4px 4px 0;background:transparent;box-shadow:none}.nav-btn.active:before{background:linear-gradient(#b6a7ff,#7152ff);box-shadow:0 0 16px rgba(124,92,255,.8)}.nav-btn.active{background:linear-gradient(100deg,rgba(124,92,255,.19),rgba(124,92,255,.045) 70%);border-color:rgba(145,120,255,.28)}.nav-ic{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#133050,#0e2847);border:1px solid rgba(255,255,255,.035)}.nav-btn.active .nav-ic{background:linear-gradient(145deg,#8a6cff,#5e40e8);box-shadow:0 10px 28px rgba(124,92,255,.33)}.nav-title{font-size:12.5px}.nav-sub{font-size:9px}.sidebar-foot{padding:13px}.sidebar-online{height:62px;display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid rgba(48,210,123,.17);background:linear-gradient(145deg,rgba(40,199,111,.07),rgba(17,23,33,.8));border-radius:14px}.online-pulse{width:10px;height:10px;border-radius:50%;background:#35dc84;box-shadow:0 0 0 5px rgba(53,220,132,.08),0 0 18px rgba(53,220,132,.55);animation:pulse 1.7s infinite}.online-copy{display:flex;flex-direction:column;line-height:1.05;flex:1}.online-copy b{font:900 16px "JetBrains Mono",monospace;color:#e9fff1}.online-copy small{font-size:8px;color:#6f8e7b;margin-top:4px}.online-live{font:900 7px "JetBrains Mono",monospace;color:#54e395;padding:4px 6px;border:1px solid rgba(84,227,149,.2);border-radius:6px;background:rgba(84,227,149,.06)}
.topbar-v5{height:92px;padding:0 32px;border-bottom-color:rgba(128,145,176,.14);background:linear-gradient(180deg,rgba(8,10,16,.96),rgba(8,10,16,.84));box-shadow:0 15px 45px rgba(0,0,0,.12)}.account-pill{border-color:rgba(124,92,255,.2)!important;background:linear-gradient(145deg,rgba(25,29,43,.96),rgba(13,17,26,.96))!important}.wallet-pill{background:linear-gradient(145deg,rgba(39,31,14,.76),rgba(15,18,26,.96))!important;border-color:rgba(255,200,87,.21)!important;box-shadow:inset 0 1px 0 rgba(255,231,170,.035),0 10px 35px rgba(0,0,0,.16)}.wallet-coin{background:radial-gradient(circle at 35% 30%,#ffe392,#f4b92f 48%,#a56a06)!important;box-shadow:0 0 22px rgba(255,190,50,.18)}.wallet-value{font-size:14px!important;letter-spacing:-.35px}.wallet-add{background:rgba(255,200,87,.1)!important;border-color:rgba(255,200,87,.2)!important;color:#ffd76f!important}.game-menu{gap:10px}.game-card{min-height:86px;border-radius:18px;padding:15px;background:linear-gradient(145deg,rgba(20,26,38,.96),rgba(13,17,26,.96));border-color:rgba(106,120,151,.18)}.game-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-60px;bottom:-70px;background:radial-gradient(circle,rgba(124,92,255,.12),transparent 68%)}.game-card.active{background:linear-gradient(145deg,rgba(46,37,94,.33),rgba(17,21,31,.98));border-color:rgba(124,92,255,.5)}
.upgrade-stage{align-items:center!important}.wheel-card-v5{border-radius:24px!important;border-color:rgba(123,137,164,.16)!important;box-shadow:0 24px 70px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025);background:radial-gradient(430px 250px at 50% 46%,rgba(45,218,124,.055),transparent 65%),linear-gradient(180deg,#0e2847,#0e2847)!important}.wheel-topline{color:#68758a!important}.wheel-live-dot{background:#2fd27a!important;box-shadow:0 0 12px rgba(47,210,122,.7)!important}.wheel-fair{color:#4c9a6e!important}.wheel-track{background:#133050!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),inset 0 0 0 25px rgba(0,0,0,.24)!important}.wheel-rotor{background:conic-gradient(from 0deg,#ff5c68 0deg var(--successStart,180deg),#2bd677 var(--successStart,180deg),#36ed8a var(--successMid,180deg),#22bd67 var(--successEnd,180deg),#ff5c68 var(--successEnd,180deg) 360deg)!important;box-shadow:inset 0 0 0 23px #0e2847,inset 0 0 0 25px rgba(255,255,255,.045),0 0 0 1px rgba(255,255,255,.04),0 22px 80px rgba(0,0,0,.38)!important;transform:rotate(0deg)!important;transition:none!important;transform-origin:50% 50%!important}.wheel-center{background:radial-gradient(circle at 50% 27%,#193859,#0e2847 75%)!important;border-color:#2b3546!important}.wheel-center:before{content:"G"!important;color:rgba(113,86,255,.12)!important;font-size:55px!important;top:31px!important}.wheel-chance{color:#55e894!important;text-shadow:0 0 28px rgba(46,220,129,.16)!important}.chance-pill.win span{background:#2fda7d!important;box-shadow:0 0 10px rgba(47,218,125,.55)!important}.chance-pill.lose span{background:#ff5c68!important;box-shadow:0 0 10px rgba(255,92,104,.35)}.chance-bar{background:#ff5c68!important;overflow:hidden!important}.chance-bar-win{background:linear-gradient(90deg,#24bf69,#43ea91)!important;box-shadow:none!important}.chance-pointer{background:#fff!important;z-index:2}.wheel-arrow{display:none!important}.wheel-pointer{position:absolute;inset:0;z-index:14;transform:rotate(0deg);transform-origin:50% 50%;will-change:transform;pointer-events:none}.pointer-beam{position:absolute;left:50%;bottom:24px;width:3px;height:74px;transform:translateX(-50%);border-radius:4px;background:linear-gradient(0deg,#fff 0 16%,rgba(255,255,255,.42) 45%,transparent 100%);filter:drop-shadow(0 0 6px rgba(255,255,255,.5))}.pointer-tip{position:absolute;left:50%;bottom:10px;width:25px;height:32px;transform:translateX(-50%);clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%);background:linear-gradient(180deg,#fff,#dbf9e9 48%,#38e38b);filter:drop-shadow(0 0 9px rgba(55,226,139,.65))}.pointer-hub{position:absolute;left:50%;top:50%;width:24px;height:24px;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 35% 30%,#fff,#dce5f4 23%,#506078 28%,#133050 67%);border:2px solid rgba(255,255,255,.2);box-shadow:0 5px 18px rgba(0,0,0,.4)}.upgrade-btn{background:linear-gradient(135deg,#43e98d,#20bd68)!important;color:#0e2847!important;border:1px solid rgba(72,255,158,.25)!important;box-shadow:0 12px 35px rgba(31,194,104,.15)!important}.upgrade-chevrons{color:#06361c}.wheel-hint{color:#77839a!important}.crash-tech-badge{padding:4px 7px;border-radius:7px;background:rgba(255,194,61,.09);border:1px solid rgba(255,194,61,.25);color:var(--gold);font:800 7.5px "JetBrains Mono",monospace;letter-spacing:.5px}
.freeze-banner{position:sticky;top:92px;z-index:24;margin:0;padding:12px 28px;display:flex;align-items:center;gap:12px;background:linear-gradient(90deg,rgba(185,28,48,.96),rgba(116,20,39,.96));border-bottom:1px solid rgba(255,117,132,.36);color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.2)}.freeze-banner.hidden{display:none}.freeze-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.09)}.freeze-banner>div:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.freeze-banner b{font-size:12px}.freeze-banner span{font-size:9px;color:rgba(255,255,255,.76)}.freeze-banner button{height:34px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.09);color:#fff;border-radius:9px;padding:0 12px;font-size:9px;font-weight:800}.account-frozen .content .page.active{pointer-events:none;filter:saturate(.65);opacity:.82}.account-frozen .content .page.active:after{content:"АККАУНТ ЗАМОРОЖЕН";position:fixed;right:28px;bottom:26px;padding:8px 12px;border-radius:8px;background:#a91f36;color:#fff;font:900 8px "JetBrains Mono",monospace;letter-spacing:1px;z-index:20}
.support-modal-v6{width:min(930px,100%)!important;max-width:930px!important;padding:0!important;overflow:hidden!important}.support-v6-grid{display:grid;grid-template-columns:360px 1fr;min-height:560px}.support-v6-hero{padding:34px 28px;background:radial-gradient(420px 250px at 20% 0,rgba(124,92,255,.34),transparent 72%),linear-gradient(160deg,#1a1f36,#0e2847 72%);border-right:1px solid var(--line);display:flex;flex-direction:column}.support-brand-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#8f74ff,#5a3ee8);font-size:23px;font-weight:900;box-shadow:0 14px 34px rgba(124,92,255,.3)}.support-live-line{font:800 8px "JetBrains Mono",monospace;color:#8792aa;letter-spacing:1.3px;margin-top:19px}.support-live-line span{display:inline-block;width:6px;height:6px;background:#3fe18b;border-radius:50%;margin-right:5px;box-shadow:0 0 9px rgba(63,225,139,.55)}.support-v6-hero h2{font-size:28px;letter-spacing:-1px;margin-top:11px}.support-v6-hero>p{font-size:10.5px;line-height:1.65;color:var(--muted);margin-top:8px}.support-availability{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.support-availability>div{padding:11px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.035);border-radius:11px}.support-availability b,.support-availability span{display:block}.support-availability b{font-size:12px}.support-availability span{font-size:8px;color:#62dd9b;margin-top:3px}.support-big-action{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px;border:0;border-radius:13px;background:linear-gradient(135deg,#7d5cff,#5536df);color:#fff;text-align:left;box-shadow:0 15px 38px rgba(94,62,224,.26)}.support-big-action>span:first-child{width:42px;height:42px;border-radius:11px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:18px}.support-big-action b,.support-big-action small{display:block}.support-big-action b{font-size:11px}.support-big-action small{font-size:8px;opacity:.7;margin-top:3px}.support-big-action i{font-style:normal;font-size:18px}.support-secondary-action{height:38px;margin-top:8px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);border-radius:10px;color:#d8dcef;font-size:9px;font-weight:800}.support-v6-main{padding:32px 28px}.support-section-title{font-size:11px;font-weight:900;margin-bottom:10px}.support-articles-v6{gap:8px!important}.support-articles-v6 .support-article{padding:13px!important;border-radius:12px!important}.support-articles-v6 .support-article>span:first-child b,.support-articles-v6 .support-article>span:first-child small{display:block}.support-articles-v6 .support-article small{font-size:8px;color:var(--muted2);margin-top:3px}.support-security-card{display:flex;gap:11px;padding:13px;border-radius:12px;background:rgba(40,199,111,.055);border:1px solid rgba(40,199,111,.14);margin-top:13px}.support-security-card>span{font-size:21px}.support-security-card b{font-size:10px}.support-security-card p{font-size:8px;color:var(--muted);line-height:1.5;margin-top:3px}
.profile-modal-v6{width:min(980px,100%)!important;padding:0!important;overflow:hidden!important}.profile-cover-v6{position:relative;min-height:205px;padding:30px 32px;background:linear-gradient(128deg,#181d31 0%,#0e2847 60%,#133050 100%);border-bottom:1px solid var(--line);overflow:hidden}.profile-noise{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(#000,transparent 90%)}.profile-glow{position:absolute;border-radius:50%;filter:blur(4px)}.profile-glow.a{width:420px;height:300px;right:-130px;top:-160px;background:radial-gradient(circle,rgba(124,92,255,.32),transparent 68%)}.profile-glow.b{width:300px;height:250px;left:-120px;bottom:-190px;background:radial-gradient(circle,rgba(50,218,128,.16),transparent 68%)}.profile-head-v6{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) 230px auto;gap:17px;align-items:center}.profile-avatar-v6{width:98px;height:98px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(145deg,#8b6cff,#5034d6);font-size:36px;font-weight:900;overflow:hidden;border:3px solid rgba(255,255,255,.12);box-shadow:0 20px 55px rgba(0,0,0,.35),0 0 0 1px rgba(124,92,255,.35)}.profile-avatar-v6 img{width:100%;height:100%;object-fit:cover}.profile-name-row strong{font-size:27px}.profile-online-badge{font:900 7px "JetBrains Mono",monospace;color:#43e28b;border:1px solid rgba(67,226,139,.19);background:rgba(67,226,139,.06);border-radius:99px;padding:4px 7px}.profile-tags{display:flex;gap:5px;margin-top:10px}.profile-tags span{font:800 7px "JetBrains Mono",monospace;padding:5px 7px;border-radius:6px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);color:#8994aa}.profile-hero-wallet{padding:14px 16px;border-radius:14px;background:linear-gradient(145deg,rgba(255,196,69,.075),rgba(255,255,255,.025));border:1px solid rgba(255,203,85,.14)}.profile-hero-wallet span,.profile-hero-wallet strong,.profile-hero-wallet small{display:block}.profile-hero-wallet span{font-size:8px;color:#8c96aa;text-transform:uppercase;font-weight:800}.profile-hero-wallet strong{font:900 19px "JetBrains Mono",monospace;color:var(--gold);margin-top:6px}.profile-hero-wallet small{font-size:7px;color:#6d778d;margin-top:5px}.profile-body-v6{padding:24px 28px 30px}.profile-grid-v6{display:grid;grid-template-columns:repeat(3,1fr);gap:10px!important;margin-top:0!important}.profile-grid-v6 .stat{min-height:85px;padding:13px 12px;background:linear-gradient(145deg,#133050,#0e2847);border-color:#273145}.profile-grid-v6 .stat.featured{background:linear-gradient(145deg,rgba(255,195,62,.08),#0e2847);border-color:rgba(255,195,62,.16)}.profile-grid-v6 .stat small{font-size:7.5px;color:var(--muted2);display:block;margin-top:4px}.profile-benefits-row{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.vip-card-v6{margin:0!important;background:linear-gradient(135deg,rgba(124,92,255,.11),rgba(21,27,39,.94))!important}.profile-promo-summary{display:flex;align-items:center;gap:10px;padding:13px;border-radius:13px;background:linear-gradient(145deg,rgba(40,199,111,.07),var(--surface2));border:1px solid rgba(40,199,111,.14)}.profile-promo-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(40,199,111,.1);font-size:18px}.profile-promo-summary>div{flex:1;min-width:0}.profile-promo-summary b,.profile-promo-summary small{display:block}.profile-promo-summary b{font-size:9.5px}.profile-promo-summary small{font-size:7.5px;color:var(--muted2);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-promo-summary button{height:31px;border:1px solid rgba(40,199,111,.2);background:rgba(40,199,111,.08);color:#4bdd91;border-radius:8px;padding:0 9px;font-size:8px;font-weight:800}.profile-tabs-v6{margin-top:16px!important;padding:7px!important;background:var(--surface2)!important;border:1px solid var(--line)!important;border-radius:16px!important}.profile-garage-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important;gap:12px!important}.profile-garage-item{border-left:3px solid var(--rar)!important;background:linear-gradient(145deg,var(--surface2),var(--surface))!important;padding:10px!important;border-radius:12px!important}.promo-redeem-card{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center;padding:20px;border-radius:16px;background:radial-gradient(320px 150px at 0 0,rgba(124,92,255,.11),transparent 70%),var(--surface2);border:1px solid var(--line)}.promo-redeem-kicker{font:800 7.5px "JetBrains Mono",monospace;letter-spacing:1.4px;color:var(--accentSoft)}.promo-redeem-card h3{font-size:16px;margin-top:5px}.promo-redeem-card p{font-size:8.5px;color:var(--muted);line-height:1.55;margin-top:5px}.promo-redeem-form{display:flex;gap:6px}.promo-redeem-form input{flex:1;min-width:0;height:40px;border:1px solid var(--line2);background:var(--surface);border-radius:9px;color:var(--text);padding:0 10px;font:800 10px "JetBrains Mono",monospace;text-transform:uppercase}.promo-redeem-form button{height:40px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;padding:0 12px;font-size:8px;font-weight:900}.profile-bonus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.profile-bonus-card{display:flex;gap:7px;align-items:center;padding:10px;border:1px solid rgba(40,199,111,.14);background:rgba(40,199,111,.055);border-radius:10px;font-size:8px}.profile-redeemed h3{font-size:10px;margin:12px 0 7px}.redeemed-row{display:grid;grid-template-columns:120px 1fr auto;gap:8px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--line);font-size:8px}.redeemed-row span,.redeemed-row small{color:var(--muted)}
.admin-kpis{grid-template-columns:repeat(6,1fr)!important}.online-kpi strong{color:#42df8a!important}.admin-warning{font-size:8px;line-height:1.5;color:#c99742;padding:9px 10px;border-radius:8px;background:rgba(255,197,70,.055);border:1px solid rgba(255,197,70,.13);margin-top:8px}.admin-note{font-size:8px;color:var(--muted2);line-height:1.55;margin-top:10px}.admin-promo-builder{padding:16px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,var(--surface2),var(--surface));margin-bottom:10px}.admin-promo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.admin-promo-head h3{font-size:13px}.admin-promo-head p{font-size:8px;color:var(--muted2);margin-top:3px}.admin-promo-head>span{font-size:25px}.admin-promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.admin-promo-grid label{display:grid;gap:5px;font-size:8px;color:var(--muted)}.admin-promo-grid input,.admin-promo-grid select{height:38px;border:1px solid var(--line2);background:var(--surface);border-radius:8px;color:var(--text);padding:0 9px}.admin-main-action{height:40px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-size:9px;font-weight:900;margin-top:10px;padding:0 14px}.promo-type-icon{width:35px;height:35px;border-radius:9px;background:var(--surface2);display:grid;place-items:center}.freeze-toggle{border-color:rgba(255,190,56,.16)!important;background:rgba(255,190,56,.04)!important}
@media(max-width:1200px){.profile-grid-v6{grid-template-columns:repeat(3,1fr)}.profile-head-v6{grid-template-columns:auto 1fr auto}.profile-hero-wallet{grid-column:2/3}.admin-kpis{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:900px){.app{grid-template-columns:82px minmax(0,1fr)}.brand-copy,.nav-copy,.nav-btn .chip,.nav-label,.livebox{display:none}.brand{justify-content:center;padding:15px}.nav-btn{grid-template-columns:1fr;padding:8px}.nav-ic{margin:auto}.sidebar-online{justify-content:center;padding:8px}.online-copy,.online-live{display:none}.support-v6-grid{grid-template-columns:1fr}.support-v6-hero{border-right:0;border-bottom:1px solid var(--line)}.profile-head-v6{grid-template-columns:auto 1fr}.profile-hero-wallet,.profile-head-actions{grid-column:1/-1}.profile-head-actions{display:flex!important;flex-direction:row}.profile-benefits-row{grid-template-columns:1fr}.promo-redeem-card{grid-template-columns:1fr}.admin-promo-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.app{display:block}.sidebar{display:none}.freeze-banner{top:68px;padding:10px 12px}.freeze-banner button{display:none}.profile-cover-v6{padding:24px 17px}.profile-head-v6{grid-template-columns:auto 1fr;gap:12px}.profile-avatar-v6{width:76px;height:76px;border-radius:21px}.profile-name-row strong{font-size:20px}.profile-hero-wallet{grid-column:1/-1}.profile-grid-v6{grid-template-columns:repeat(2,1fr)}.profile-benefits-row{grid-template-columns:1fr}.profile-tabs-v6{overflow:auto}.support-v6-hero,.support-v6-main{padding:24px 17px}.admin-promo-grid{grid-template-columns:1fr}.promo-redeem-form{flex-direction:column}.profile-bonus-grid{grid-template-columns:1fr}.redeemed-row{grid-template-columns:1fr}.upgrade-stage .wheel{width:min(355px,95vw);height:min(355px,95vw)}.pointer-beam{height:60px}}

.admin-head-tools{display:flex;gap:7px;align-items:center}.admin-service-state{display:flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);font-size:8px;color:var(--muted)}

/* ==================== GTAUP V7 PREMIUM POLISH ==================== */
:root{--v7-purple:#519fea;--v7-cyan:#55d9ff;--v7-green:#34e58a;--v7-red:#ff6172;--v7-card:#0e2847;--v7-card2:#133050}
.app{grid-template-columns:286px minmax(0,1fr)}
.sidebar{background:radial-gradient(420px 300px at -50px -80px,rgba(128,102,255,.16),transparent 70%),linear-gradient(180deg,#0e2847,#0b1f3b 78%);border-right:1px solid rgba(144,158,190,.12);box-shadow:18px 0 60px rgba(0,0,0,.14)}
.brand{height:94px;padding:20px 18px;border-bottom:0}.brand-mark{width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#9076ff,#5a3ff0);box-shadow:0 16px 38px rgba(103,72,246,.34),inset 0 1px 0 rgba(255,255,255,.22)}.brand-name{font-size:23px}.brand-sub{color:#59677f;letter-spacing:2.2px}
.nav{padding:10px 14px 16px;gap:8px}.nav-label{padding:14px 10px 6px;color:#49556a;font-size:8px;letter-spacing:2.1px}.nav-btn{min-height:62px;padding:9px 10px;border-radius:17px;grid-template-columns:44px minmax(0,1fr) 20px;border-color:transparent;background:transparent;position:relative;isolation:isolate}.nav-btn:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,rgba(255,255,255,.025),transparent 55%);opacity:0;z-index:-1;transition:.2s}.nav-btn:hover{background:#0e2847;border-color:rgba(133,150,184,.12);transform:translateX(2px)}.nav-btn:hover:after{opacity:1}.nav-btn.active{background:linear-gradient(105deg,rgba(125,94,255,.23),rgba(79,59,191,.07) 68%,rgba(49,229,139,.035));border-color:rgba(133,105,255,.42);box-shadow:0 10px 30px rgba(57,34,136,.14),inset 0 1px 0 rgba(255,255,255,.035)}.nav-btn.active:before{top:12px;bottom:12px;width:4px;background:linear-gradient(180deg,#ac9bff,#7353ff 55%,#42e696);box-shadow:0 0 18px rgba(128,94,255,.8)}.nav-ic{width:44px;height:44px;border-radius:14px;font-size:18px;background:linear-gradient(145deg,#133050,#0e2847);border:1px solid rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.nav-btn.active .nav-ic{background:linear-gradient(145deg,#9277ff,#5e43e8);box-shadow:0 12px 26px rgba(107,75,239,.28)}.nav-title{font-size:12.5px;letter-spacing:-.1px}.nav-sub{font:600 8px "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.65px;color:#58647a;margin-top:5px}.nav-arrow{font-size:22px;color:#3d4960;transition:.18s}.nav-btn:hover .nav-arrow,.nav-btn.active .nav-arrow{color:#9b88ff;transform:translateX(2px)}.admin-nav-btn.active{border-color:rgba(255,192,73,.35);background:linear-gradient(105deg,rgba(255,190,65,.12),rgba(255,190,65,.025))}.admin-nav-btn.active:before{background:linear-gradient(#ffe194,#f1a928)}
.livebox{margin:8px 14px 0;border-radius:16px;border-color:rgba(111,128,161,.12);background:linear-gradient(180deg,#0e2847,#0e2847);overflow:hidden}.livebox-head{background:rgba(255,255,255,.018);border-bottom-color:rgba(118,135,164,.1)}.sidebar-foot{border-top:0;padding:12px 14px 16px}.sidebar-online{height:66px;border-radius:17px;background:radial-gradient(160px 80px at 0 100%,rgba(52,229,138,.09),transparent),linear-gradient(145deg,#0e2847,#0e2847);border-color:rgba(52,229,138,.16)}
.topbar{height:92px;padding:0 34px;background:rgba(8,11,17,.78);border-bottom-color:rgba(125,140,172,.11);backdrop-filter:blur(24px)}.account-pill,.wallet-pill{height:52px;border-radius:16px;background:linear-gradient(145deg,#0e2847,#0e2847);border:1px solid rgba(125,140,170,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.wallet-pill{padding:0 8px 0 10px}.wallet-coin{width:34px;height:34px;background:radial-gradient(circle at 35% 28%,#ffe99a,#f2b62b 48%,#bd7510);color:#362000;box-shadow:0 8px 24px rgba(250,183,45,.18)}.wallet-value{font-size:14px;color:#ffe08a}.wallet-add{width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#40e491,#21b968);color:#0e2847;box-shadow:0 8px 22px rgba(38,205,119,.16)}.top-btn{border-radius:13px;background:#0e2847;border-color:rgba(125,140,170,.12)}
.content{max-width:1520px;padding:30px 38px 80px}.page-head{margin-bottom:20px}.page-title{font-size:clamp(30px,3vw,44px)}.page-desc{color:#7e8ba2}.game-menu{display:none!important}
.promo{border-radius:18px;border-color:rgba(128,102,255,.16);background:radial-gradient(460px 150px at 0 0,rgba(126,96,255,.11),transparent 72%),linear-gradient(120deg,#0e2847,#0e2847);box-shadow:0 16px 40px rgba(0,0,0,.12)}
.upgrade-stage{grid-template-columns:minmax(280px,1fr) 470px minmax(280px,1fr)!important;gap:18px!important}.upgrade-stage>.slot{min-height:392px;border-radius:24px!important;background:radial-gradient(300px 200px at 50% 55%,rgba(128,102,255,.06),transparent 68%),linear-gradient(180deg,#0e2847,#0e2847)!important;border-color:rgba(125,140,172,.14)!important;padding:20px!important}.upgrade-stage>.slot .slot-label{font-size:11px!important;letter-spacing:.2px!important;color:#dfe5ef!important;text-transform:none!important}.upgrade-stage>.slot .slot-sub{color:#65738a!important;font-size:9px!important}.upgrade-stage>.slot .slot-empty{height:290px!important;border-radius:18px!important;background:rgba(255,255,255,.012)!important}.upgrade-stage>.slot .slot-filled{height:290px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;gap:12px!important}.upgrade-stage>.slot .slot-img{width:92%!important;height:170px!important}.upgrade-stage>.slot .slot-name{font-size:15px!important}.upgrade-stage>.slot .slot-price{font-size:15px!important}.upgrade-stage>.slot .slot-clear{position:absolute;right:14px;top:14px!important}
.wheel-card-v5{padding:18px 24px 22px!important;min-height:392px;display:flex;flex-direction:column;justify-content:center}.wheel-topline{display:none!important}.upgrade-stage .wheel{width:400px;height:400px;margin:-24px auto -22px!important}.wheel-track{inset:31px!important}.wheel-rotor{inset:36px!important}.wheel-center{width:49%!important;height:49%!important}.wheel-chance{font-size:42px!important}.wheel-kicker{font-size:8px!important}.wheel-risk-label{font-size:10px!important;color:#7e899c!important}.wheel-formula{font-size:8.5px!important}.wheel-pointer{filter:drop-shadow(0 8px 12px rgba(0,0,0,.35))}.pointer-beam{height:78px!important;bottom:28px!important;background:linear-gradient(0deg,#f7ffff 0 12%,#77f4b2 21%,rgba(119,244,178,.38) 55%,transparent 100%)!important}.pointer-tip{bottom:10px!important;width:28px!important;height:35px!important;background:linear-gradient(180deg,#fff,#baffd8 52%,#35db87)!important}.pointer-hub{width:27px!important;height:27px!important}.chance-legend{max-width:390px!important}.chance-bar{max-width:390px!important;height:8px!important}.upgrade-btn{max-width:390px;margin:0 auto;height:52px!important;border-radius:14px!important;font-size:12px!important}.wheel-hint{min-height:0!important;margin:0!important;font-size:0!important}
.tools,.custom-upgrade-box{border-radius:16px!important}.preset,.filter{border-radius:10px!important}.panel{border-radius:20px!important}.car,.shop-item{border-radius:16px!important}.rarity-badge-v5{border-radius:7px!important;padding:4px 7px!important;background:color-mix(in srgb,var(--rar) 16%,#0e2847)!important;border:1px solid color-mix(in srgb,var(--rar) 36%,transparent)!important;color:color-mix(in srgb,var(--rar) 85%,white)!important}.car,.shop-item,.profile-garage-item{box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
/* Topup */.topup-modal-v7{max-width:900px!important;padding:0!important;overflow:hidden!important}.topup-hero-v7{min-height:130px;padding:28px 30px;display:grid;grid-template-columns:62px 1fr auto;gap:16px;align-items:center;background:radial-gradient(500px 180px at 0 0,rgba(128,102,255,.22),transparent 70%),linear-gradient(120deg,#133050,#0e2847);border-bottom:1px solid var(--line)}.topup-hero-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font:900 26px "JetBrains Mono",monospace;background:linear-gradient(145deg,#ffe17d,#d99b1a);color:#3a2500;box-shadow:0 16px 40px rgba(222,165,43,.19)}.topup-hero-v7>div:nth-child(2)>span{font:800 8px "JetBrains Mono",monospace;letter-spacing:1.5px;color:#8b7dff}.topup-hero-v7 h2{font-size:25px;margin:4px 0}.topup-hero-v7 p{font-size:10px;color:var(--muted)}.topup-hero-balance{text-align:right}.topup-hero-balance small{display:block;color:var(--muted2);font-size:8px;text-transform:uppercase;letter-spacing:1px}.topup-hero-balance strong{display:block;margin-top:5px;font:900 18px "JetBrains Mono",monospace;color:#ffd66b}.topup-grid-v7{display:grid;grid-template-columns:1fr 320px;gap:18px;padding:24px}.topup-main-v7{min-width:0}.topup-amount-row{margin-top:13px}.topup-promo-v7{margin-top:18px;padding:16px;border-radius:16px;background:linear-gradient(145deg,rgba(128,102,255,.08),rgba(18,25,37,.92));border:1px solid rgba(128,102,255,.18)}.topup-promo-copy{display:flex;align-items:center;gap:11px}.topup-promo-copy>span{font-size:25px}.topup-promo-copy b{font-size:12px}.topup-promo-copy small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.topup-promo-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.topup-promo-form input{height:42px;border:1px solid var(--line2);background:#0e2847;color:var(--text);border-radius:11px;padding:0 12px;outline:0;font:800 11px "JetBrains Mono",monospace;text-transform:uppercase}.topup-promo-form input:focus{border-color:#519fea;box-shadow:0 0 0 3px rgba(128,102,255,.1)}.topup-promo-form button{border:0;border-radius:11px;padding:0 15px;background:linear-gradient(135deg,#8368ff,#603ff0);color:white;font-size:10px;font-weight:800}.topup-promo-status{font-size:9px;color:var(--muted2);margin-top:9px}.topup-promo-status.ok{color:var(--green)}.topup-receipt-v7{padding:18px;border-radius:18px;background:linear-gradient(180deg,#133050,#0e2847);border:1px solid rgba(125,140,172,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.receipt-kicker{font:800 8px "JetBrains Mono",monospace;color:#647087;letter-spacing:1.4px}.topup-receipt-v7 .topup-calc{margin:14px 0;background:transparent;border:0;padding:0}.topup-receipt-v7 .topup-calc>div{padding:11px 0;border-bottom:1px solid rgba(125,140,172,.09)}.topup-receipt-v7 .receipt-total{padding-top:15px!important;border-bottom:0!important}.topup-receipt-v7 .receipt-total b{font-size:20px!important;color:#ffe07b!important}.topup-receipt-v7 .submit{height:48px;border-radius:13px}.topup-fineprint{display:block;text-align:center;color:var(--muted2);font-size:8px;line-height:1.5;margin-top:10px}
/* Profile */.profile-modal-v6{max-width:1180px!important;border-radius:26px!important;background:#0e2847!important;border-color:rgba(132,149,181,.16)!important;overflow:hidden!important}.profile-cover-v6{min-height:230px!important;background:radial-gradient(520px 220px at 10% 0,rgba(128,102,255,.28),transparent 70%),radial-gradient(420px 220px at 90% 80%,rgba(47,218,125,.12),transparent 72%),linear-gradient(120deg,#133050,#0e2847)!important}.profile-head-v6{padding:50px 38px 30px!important;grid-template-columns:auto minmax(0,1fr) 270px auto!important;gap:22px!important}.profile-avatar-v6{width:118px!important;height:118px!important;border-radius:32px!important;border:4px solid rgba(255,255,255,.08)!important;box-shadow:0 22px 60px rgba(0,0,0,.35),0 0 0 1px rgba(128,102,255,.45)!important}.profile-name-row strong{font-size:30px!important}.profile-id>span{font-size:11px!important}.profile-hero-wallet{padding:18px 20px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,200,87,.08),rgba(18,24,35,.88))!important;border:1px solid rgba(255,200,87,.14)!important}.profile-hero-wallet strong{font-size:21px!important;color:#ffd467!important}.profile-body-v6{padding:22px 30px 30px!important}.profile-quick-v7{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;margin-bottom:14px}.profile-quick-v7>div{min-height:62px;padding:11px 14px;border-radius:15px;background:#0e2847;border:1px solid rgba(126,142,173,.11);display:flex;align-items:center;gap:10px}.profile-quick-v7>div>span{font-size:20px}.profile-quick-v7 .quick-dot{width:10px;height:10px;border-radius:50%;background:#37df87;box-shadow:0 0 0 5px rgba(55,223,135,.08),0 0 16px rgba(55,223,135,.4)}.profile-quick-v7 small{display:block;font:800 7px "JetBrains Mono",monospace;letter-spacing:1px;color:#566177}.profile-quick-v7 b{display:block;font-size:10px;margin-top:4px}.profile-quick-v7 button{border:0;border-radius:15px;padding:0 18px;background:linear-gradient(135deg,#519fea,#5e3de9);color:#fff;font-size:10px;font-weight:900}.profile-grid-v6{grid-template-columns:repeat(6,1fr)!important;gap:10px!important}.profile-grid-v6 .stat{min-height:96px!important;padding:15px!important;border-radius:16px!important;background:linear-gradient(150deg,#133050,#0e2847)!important;border-color:rgba(129,145,174,.11)!important}.profile-grid-v6 .stat.featured{background:linear-gradient(145deg,rgba(255,196,75,.085),#0e2847)!important;border-color:rgba(255,196,75,.13)!important}.profile-grid-v6 .stat .v{font-size:18px!important}.profile-benefits-row{grid-template-columns:1.15fr .85fr!important;gap:10px!important}.vip-card-v6,.profile-promo-summary{border-radius:17px!important;background:linear-gradient(145deg,#133050,#0e2847)!important;border-color:rgba(130,145,176,.12)!important}.profile-tabs-v6{padding:5px!important;border-radius:16px!important;background:#0e2847!important}.profile-tabs-v6 .profile-tab{height:43px!important;border-radius:11px!important}.profile-tabs-v6 .profile-tab.active{background:linear-gradient(145deg,#1d2736,#133050)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}.profile-pane{padding-top:5px}.profile-garage-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:10px!important}.profile-garage-item{border-radius:17px!important;background:linear-gradient(145deg,#133050,#0e2847)!important}
/* Support */.support-modal-v6{max-width:1160px!important;min-height:650px!important;border-radius:26px!important;padding:0!important;overflow:hidden!important}.support-v6-grid{grid-template-columns:390px 1fr!important;min-height:650px!important}.support-v6-hero{padding:42px 34px!important;background:radial-gradient(400px 280px at 0 0,rgba(128,102,255,.34),transparent 70%),linear-gradient(155deg,#171e30,#0e2847)!important}.support-brand-icon{width:58px!important;height:58px!important;border-radius:18px!important;font-size:24px!important}.support-v6-hero h2{font-size:31px!important;margin-top:25px!important}.support-v6-hero p{font-size:11px!important;line-height:1.7!important}.support-big-action{min-height:76px!important;border-radius:17px!important}.support-secondary-action{height:46px!important;border-radius:14px!important}.support-v6-main{padding:38px 34px!important}.support-section-title{font-size:13px!important}.support-search{height:48px!important;border-radius:14px!important;margin:15px 0!important}.support-article{min-height:70px!important;border-radius:15px!important;padding:14px 16px!important}.support-security-card{border-radius:16px!important;padding:17px!important}
/* Admin support sender */.admin-operator-bar{display:grid;grid-template-columns:1fr 240px auto;gap:10px;align-items:center;padding:13px 15px;border:1px solid var(--line);background:var(--surface);border-radius:15px;margin-bottom:12px}.admin-operator-bar span{display:block;font-size:10px;font-weight:800}.admin-operator-bar small{display:block;font-size:8px;color:var(--muted2);margin-top:3px}.admin-operator-bar input{height:38px;border-radius:10px;border:1px solid var(--line2);background:var(--surface2);color:var(--text);padding:0 11px;outline:0}.admin-operator-bar button{height:38px;border:0;border-radius:10px;background:var(--accent);color:white;padding:0 14px;font-size:9px;font-weight:800}.chat-msg .sender-name{font-size:8px;font-weight:900;letter-spacing:.4px;opacity:.72;margin-bottom:4px;text-transform:uppercase}.admin-chat-messages .chat-msg .sender-name{opacity:.8}
/* Crash stability/visual */.crash-round-strip{border-radius:17px!important;background:linear-gradient(145deg,#0e2847,#0e2847)!important;border-color:rgba(126,143,175,.13)!important}.crash-wrap-rich{gap:16px!important}.crash-panel,.crash-board,.crash-players{border-radius:20px!important;background:linear-gradient(160deg,#0e2847,#0e2847)!important;border-color:rgba(126,143,175,.12)!important}.crash-canvas{border-radius:18px!important}.play-btn{border-radius:14px!important}.crash-player{border-radius:12px!important}
/* Global button consistency */.submit,.buy-btn,.admin-main-action,.admin-actions button,.admin-refresh,.admin-toolbar button,.admin-chat-input button,.settings-inline button{border-radius:11px!important;min-height:40px;font-weight:800!important}.input,.search,.sort,.form-row input,.form-row textarea,.form-row select{border-radius:11px!important}
@media(max-width:1200px){.app{grid-template-columns:250px minmax(0,1fr)}.upgrade-stage{grid-template-columns:1fr!important}.wheel-card-v5{order:-1}.profile-grid-v6{grid-template-columns:repeat(3,1fr)!important}.profile-head-v6{grid-template-columns:auto 1fr!important}.profile-hero-wallet,.profile-head-actions{grid-column:2}.topup-grid-v7{grid-template-columns:1fr}.support-v6-grid{grid-template-columns:1fr!important}.support-v6-hero{min-height:auto!important}}
@media(max-width:760px){.app{display:block}.sidebar{display:none}.content{padding:20px 12px 90px}.topbar{padding:0 10px;height:76px}.upgrade-stage .wheel{width:min(360px,92vw);height:min(360px,92vw)}.profile-modal-v6{max-width:100%!important}.profile-head-v6{padding:35px 18px 20px!important;grid-template-columns:1fr!important;text-align:center}.profile-avatar-v6{margin:auto}.profile-hero-wallet,.profile-head-actions{grid-column:auto}.profile-quick-v7{grid-template-columns:1fr 1fr}.profile-quick-v7 button{min-height:58px}.profile-grid-v6{grid-template-columns:1fr 1fr!important}.profile-benefits-row{grid-template-columns:1fr!important}.topup-hero-v7{grid-template-columns:52px 1fr}.topup-hero-balance{grid-column:1/-1;text-align:left}.topup-grid-v7{padding:16px}.support-modal-v6{min-height:0!important}.support-v6-grid{min-height:0!important}.admin-operator-bar{grid-template-columns:1fr}.upgrade-stage>.slot{min-height:300px}.upgrade-stage>.slot .slot-empty,.upgrade-stage>.slot .slot-filled{height:220px!important}}


/* ================= GTAUP V8 POLISH ================= */
:root{--v8-green:#35e58a;--v8-red:#ff4f68;--v8-gold:#ffd447;--v8-violet:#519fea;--v8-cyan:#4fdcff}
[data-theme="dark"]{color-scheme:dark}
[data-theme="light"]{color-scheme:light;--bg:#edf2f9;--surface:#ffffff;--surface2:#f7f9fd;--surface3:#eef2f8;--line:#dfe5ef;--line2:#cbd4e2;--text:#133050;--muted:#64748b;--muted2:#94a3b8;--soft:0 18px 45px rgba(31,41,55,.10)}
.brand-v8{height:98px!important;padding:12px 14px!important;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface) 88%,transparent))}.brand-art{width:54px;height:54px;border-radius:16px;overflow:hidden;flex:none;display:grid;place-items:center;background:linear-gradient(135deg,#519fea,#5437dc);box-shadow:0 12px 30px rgba(100,70,230,.25)}.brand-art img{width:100%;height:100%;object-fit:cover}.brand-fallback{font-weight:1000;color:#fff;font-size:22px}.brand-copy{min-width:0}.brand-name{font-size:20px!important;letter-spacing:-.7px}.brand-sub{letter-spacing:2.1px!important;color:var(--muted2)!important}
.sidebar{background:radial-gradient(280px 340px at 0 0,rgba(128,102,255,.08),transparent 70%),var(--surface)!important;border-right-color:color-mix(in srgb,var(--line) 85%,transparent)!important}.nav{padding:16px 12px!important}.nav-label{padding:13px 10px 8px!important;font-size:8px!important;letter-spacing:1.9px!important}.nav-btn{min-height:64px!important;margin-bottom:7px!important;padding:9px 10px!important;border:1px solid transparent!important;border-radius:16px!important;background:transparent!important;gap:11px!important}.nav-btn:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,rgba(128,102,255,.12),transparent 55%);opacity:0;transition:.2s}.nav-btn:hover{background:color-mix(in srgb,var(--surface2) 88%,transparent)!important;border-color:var(--line)!important;transform:translateX(2px)}.nav-btn:hover:before,.nav-btn.active:before{opacity:1}.nav-btn.active{background:linear-gradient(135deg,rgba(128,102,255,.15),rgba(128,102,255,.04))!important;border-color:rgba(128,102,255,.38)!important;box-shadow:0 10px 30px rgba(64,44,150,.12),inset 3px 0 0 #519fea!important}.nav-btn.active .nav-ic{background:linear-gradient(135deg,#8c73ff,#5a3ee3)!important;box-shadow:0 9px 24px rgba(106,78,235,.28)!important}.nav-ic{width:44px!important;height:44px!important;border-radius:13px!important;background:var(--surface2)!important;border:1px solid var(--line)!important;font-size:18px!important;position:relative;z-index:1}.nav-copy,.nav-arrow{position:relative;z-index:1}.nav-title{font-size:11.5px!important}.nav-sub{font-size:7.5px!important;letter-spacing:.35px!important}.nav-arrow{font-size:22px!important;opacity:.45}.livebox{margin:7px 12px 12px!important;border-radius:16px!important;overflow:hidden;background:color-mix(in srgb,var(--surface2) 72%,transparent)!important}.sidebar-online{border-radius:15px!important;background:linear-gradient(135deg,rgba(53,229,138,.08),var(--surface2))!important;border:1px solid rgba(53,229,138,.14)!important}
.site-banner-v8{position:relative;height:128px;margin:18px 30px 0;border-radius:22px;overflow:hidden;border:1px solid var(--line);box-shadow:0 18px 55px rgba(0,0,0,.12);background:linear-gradient(135deg,#133050,#16122a)}.site-banner-img{position:absolute;inset:0;background-image:url('/logo/b40e241e-c2e7-43a7-b9f9-9ac55e76938f.gtaup-opt-v335.webp');background-size:cover;background-position:center;filter:saturate(1.08) contrast(1.03)}.site-banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,16,.88),rgba(5,8,16,.35) 58%,rgba(5,8,16,.62)),radial-gradient(440px 160px at 78% 20%,rgba(128,102,255,.24),transparent 72%)}.site-banner-copy{position:absolute;left:28px;top:50%;transform:translateY(-50%);color:#fff;display:flex;flex-direction:column;gap:4px}.site-banner-copy span{font:900 8px "JetBrains Mono",monospace;letter-spacing:2px;color:#9f91ff}.site-banner-copy b{font-size:22px;letter-spacing:-.6px}.site-banner-copy small{font-size:9px;color:#aeb7c9}.site-banner-online{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center;padding:10px 13px;border-radius:14px;background:rgba(6,10,18,.64);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px);color:white}.site-banner-online b{font:900 15px "JetBrains Mono",monospace}.site-banner-online small{grid-column:2;color:#aab4c5;font-size:8px}
.sound-pill{height:40px;padding:0 8px 0 5px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface2);border-radius:12px}.sound-toggle{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:15px}.sound-toggle:hover{background:var(--surface3)}#soundVolume{width:72px;accent-color:#519fea;cursor:pointer}
/* Wheel: clean two-zone gauge */
.wheel-card-v5{background:radial-gradient(420px 250px at 50% 47%,rgba(128,102,255,.07),transparent 66%),linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 84%,var(--surface)))!important;border:1px solid var(--line)!important;box-shadow:0 24px 70px rgba(0,0,0,.16)!important}.upgrade-stage .wheel{width:410px!important;height:410px!important;margin:-22px auto -20px!important}.wheel-track{inset:28px!important;background:var(--surface2)!important;box-shadow:inset 0 0 0 1px var(--line),inset 0 0 0 24px color-mix(in srgb,var(--bg) 40%,transparent),0 0 0 10px color-mix(in srgb,var(--surface) 80%,transparent)!important}.wheel-rotor{inset:35px!important;background:conic-gradient(from 0deg,#ff536b 0deg var(--successStart,180deg),#35e58a var(--successStart,180deg),#56f09d var(--successMid,180deg),#27c975 var(--successEnd,180deg),#ff536b var(--successEnd,180deg) 360deg)!important;box-shadow:inset 0 0 0 25px var(--surface),inset 0 0 0 27px rgba(255,255,255,.05),0 0 0 1px var(--line),0 18px 65px rgba(0,0,0,.22)!important}.wheel-rotor:before{opacity:.34!important}.wheel-center{width:50%!important;height:50%!important;background:radial-gradient(circle at 50% 28%,color-mix(in srgb,var(--surface3) 90%,#519fea 10%),var(--surface) 72%)!important;border:1px solid var(--line2)!important;box-shadow:0 18px 45px rgba(0,0,0,.18),inset 0 0 0 7px color-mix(in srgb,var(--surface2) 60%,transparent)!important}.wheel-center:before{content:"▲"!important;top:28px!important;font-size:34px!important;color:rgba(128,102,255,.12)!important}.wheel-chance{font-size:40px!important;color:var(--text)!important;text-shadow:none!important}.wheel-risk-label{color:var(--muted)!important}.wheel-scale-label{color:var(--muted2)!important}.wheel-pointer{filter:drop-shadow(0 10px 14px rgba(0,0,0,.28))}.pointer-beam{bottom:29px!important;width:2px!important;height:84px!important;background:linear-gradient(0deg,#fff 0 7%,rgba(255,255,255,.82) 13%,rgba(128,102,255,.42) 50%,transparent 100%)!important}.pointer-tip{bottom:8px!important;width:30px!important;height:38px!important;clip-path:polygon(50% 0,100% 78%,63% 72%,50% 100%,37% 72%,0 78%)!important;background:linear-gradient(180deg,#fff 0,#e9e4ff 32%,#8d78ff 68%,#5d40dc 100%)!important;filter:drop-shadow(0 0 10px rgba(128,102,255,.72))!important}.pointer-hub{width:30px!important;height:30px!important;background:radial-gradient(circle at 35% 28%,#fff,#dad5ff 20%,#519fea 25%,#2d245e 52%,var(--surface) 73%)!important;border:2px solid rgba(255,255,255,.2)!important}.chance-pill{background:var(--surface2)!important;border-color:var(--line)!important}.chance-bar{height:9px!important;background:#ff536b!important;border:1px solid var(--line)!important}.chance-bar-win{background:linear-gradient(90deg,#23bf6d,#55eca0)!important}.upgrade-btn{background:linear-gradient(135deg,#519fea,#5f43e7)!important;color:#fff!important;border:1px solid rgba(151,127,255,.25)!important;box-shadow:0 13px 34px rgba(95,67,231,.23)!important}.upgrade-btn.spinning{background:linear-gradient(135deg,#6e59c9,#4937a6)!important}.upgrade-btn.spinning:after{content:"  •  КРУТИМ";font:800 9px "JetBrains Mono",monospace;opacity:.68}
/* Light theme complete overrides for formerly hardcoded dark surfaces */
[data-theme="light"] .wheel-card-v5,[data-theme="light"] .upgrade-stage>.slot,[data-theme="light"] .panel,[data-theme="light"] .shop-item,[data-theme="light"] .crash-panel,[data-theme="light"] .crash-board,[data-theme="light"] .crash-players,[data-theme="light"] .crash-round-strip,[data-theme="light"] .profile-modal-v6,[data-theme="light"] .support-modal-v6,[data-theme="light"] .admin-box,[data-theme="light"] .admin-kpi,[data-theme="light"] .admin-chat-list,[data-theme="light"] .admin-chat-view,[data-theme="light"] .withdraw-center-v8{background:linear-gradient(160deg,#fff,#f6f8fc)!important;border-color:#dbe2ed!important;color:#133050!important;box-shadow:0 18px 50px rgba(41,55,80,.08)!important}[data-theme="light"] .profile-cover-v6{background:radial-gradient(520px 220px at 10% 0,rgba(128,102,255,.16),transparent 70%),radial-gradient(420px 220px at 90% 80%,rgba(47,218,125,.10),transparent 72%),linear-gradient(120deg,#f7f8fc,#edf2fa)!important}[data-theme="light"] .profile-quick-v7>div,[data-theme="light"] .profile-grid-v6 .stat,[data-theme="light"] .vip-card-v6,[data-theme="light"] .profile-promo-summary,[data-theme="light"] .profile-tabs-v6,[data-theme="light"] .profile-garage-item,[data-theme="light"] .topup-receipt-v7,[data-theme="light"] .topup-promo-v7,[data-theme="light"] .support-article,[data-theme="light"] .support-security-card{background:#f7f9fd!important;border-color:#dfe5ef!important;color:#133050!important}[data-theme="light"] .profile-tabs-v6 .profile-tab.active{background:#fff!important;box-shadow:0 5px 14px rgba(31,41,55,.07)!important}[data-theme="light"] .support-v6-hero{background:radial-gradient(400px 280px at 0 0,rgba(128,102,255,.18),transparent 70%),linear-gradient(155deg,#f7f8fd,#eef2f8)!important;color:#133050!important}[data-theme="light"] .wheel-track{background:#f0f3f8!important}[data-theme="light"] .wheel-rotor{box-shadow:inset 0 0 0 25px #fff,inset 0 0 0 27px rgba(0,0,0,.03),0 0 0 1px #d9e0ea,0 18px 55px rgba(31,41,55,.10)!important}[data-theme="light"] .wallet-pill{background:linear-gradient(135deg,#fffdf4,#fff8dc)!important}[data-theme="light"] .site-banner-v8{border-color:#d6ddea}
/* Topup redesign */
.topup-modal-v7{max-width:900px!important;border-radius:24px!important;overflow:hidden!important}.topup-hero-v7{padding:26px 28px!important;background:radial-gradient(380px 180px at 0 0,rgba(128,102,255,.24),transparent 72%),linear-gradient(135deg,var(--surface2),var(--surface))!important;border-bottom:1px solid var(--line)!important}.topup-hero-icon{width:56px!important;height:56px!important;border-radius:17px!important;background:linear-gradient(135deg,#ffd75b,#e8a817)!important;color:#2b2106!important;box-shadow:0 12px 30px rgba(238,177,28,.22)!important}.topup-grid-v7{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important;padding:22px!important}.topup-main-v7{padding:0!important}.topup-presets{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}.topup-presets button{height:48px!important;border-radius:12px!important}.topup-presets button.active{background:linear-gradient(135deg,rgba(128,102,255,.15),rgba(128,102,255,.06))!important;box-shadow:inset 0 0 0 1px rgba(128,102,255,.35)!important}.topup-amount-row{margin:14px 0!important}.topup-promo-v7{padding:16px!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(128,102,255,.08),var(--surface2))!important}.topup-promo-form{margin-top:10px!important}.topup-promo-form input{height:44px!important}.topup-promo-form button{height:44px!important;border-radius:10px!important;background:linear-gradient(135deg,#519fea,#5f43e7)!important;color:#fff!important;border:0!important}.topup-receipt-v7{padding:20px!important;border-radius:17px!important;background:linear-gradient(155deg,var(--surface2),var(--surface))!important;border:1px solid var(--line)!important}.receipt-total{margin-top:10px!important;padding-top:13px!important}.receipt-total b{font-size:20px!important;color:var(--gold)!important}.topup-receipt-v7 .submit{height:50px!important;border-radius:13px!important;background:linear-gradient(135deg,#35e58a,#18b967)!important;color:#082313!important}
/* Withdraw & win result */
.withdraw-center-v8{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:20px}.withdraw-info-v8{display:flex;gap:15px;align-items:center;padding:18px;border-radius:16px;background:linear-gradient(135deg,rgba(128,102,255,.08),var(--surface2));border:1px solid var(--line)}.withdraw-info-v8 .withdraw-icon{margin:0;width:58px;height:58px;border-radius:17px;background:linear-gradient(135deg,#519fea,#5c40df);color:#fff}.withdraw-info-v8 h2{font-size:18px}.withdraw-info-v8 p{margin:5px 0 0;color:var(--muted);font-size:10px}.withdraw-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.withdraw-steps>div{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.withdraw-steps span{width:28px;height:28px;border-radius:9px;background:rgba(128,102,255,.12);color:#519fea;display:grid;place-items:center;font-weight:900}.withdraw-steps b,.withdraw-steps small{display:block}.withdraw-steps b{font-size:10px;margin:8px 0 3px}.withdraw-steps small{font-size:8px;color:var(--muted)}.withdraw-request{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);margin-top:7px}.withdraw-request .pic{width:54px;height:44px;display:grid;place-items:center}.withdraw-request .pic img{max-width:100%;max-height:100%;object-fit:contain}.withdraw-request b,.withdraw-request small{display:block}.withdraw-request b{font-size:10px}.withdraw-request small{font-size:8px;color:var(--muted);margin-top:3px}.withdraw-status{padding:5px 8px;border-radius:8px;font:800 8px "JetBrains Mono",monospace}.withdraw-status.pending{background:rgba(255,194,61,.1);color:#e6a914}.withdraw-status.done{background:rgba(53,229,138,.11);color:#20bc6a}.withdraw-status.rejected{background:rgba(255,79,104,.1);color:#e13f59}.upgrade-win-modal-v8{max-width:620px!important;text-align:center!important;padding:34px!important;border-radius:26px!important;background:radial-gradient(420px 220px at 50% 0,rgba(53,229,138,.12),transparent 70%),var(--surface)!important}.win-confetti{width:70px;height:70px;border-radius:22px;margin:0 auto 13px;display:grid;place-items:center;font-size:34px;background:rgba(53,229,138,.11);color:#35e58a;border:1px solid rgba(53,229,138,.25);box-shadow:0 15px 45px rgba(53,229,138,.12)}.win-kicker{font:900 8px "JetBrains Mono",monospace;letter-spacing:1.8px;color:#35e58a}.upgrade-win-modal-v8 h2{font-size:26px;margin:6px 0 12px}.win-car-v8{padding:18px;border-radius:17px;background:var(--surface2);border:1px solid var(--line)}.win-car-v8 .car-img{height:130px}.win-car-v8 .car-name{font-size:15px}.win-car-v8 .car-price{font-size:14px}.win-actions-v8{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.win-actions-v8 button{min-height:58px;border-radius:13px;border:1px solid var(--line);font-weight:900;padding:10px}.win-actions-v8 small{display:block;font-size:7.5px;font-weight:700;opacity:.65;margin-top:3px}.sell-win-btn{background:linear-gradient(135deg,rgba(53,229,138,.15),var(--surface2));color:#29c978}.withdraw-win-btn{background:linear-gradient(135deg,rgba(128,102,255,.15),var(--surface2));color:#927fff}.keep-win-btn{grid-column:1/-1;background:var(--surface2);color:var(--text)}.car-withdraw-modal-v8{max-width:520px!important}.withdraw-car-preview{padding:13px;border:1px solid var(--line);background:var(--surface2);border-radius:14px;margin-bottom:13px;display:grid;grid-template-columns:96px 1fr;gap:10px;align-items:center}.withdraw-car-preview .car-img{height:70px}.profile-garage-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.profile-garage-actions button{height:30px;border-radius:8px;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:7.5px;font-weight:900}.profile-garage-actions .sell{color:#2aca7a}.profile-garage-actions .withdraw{color:#8f7cff}.admin-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.admin-section-head h3{font-size:14px}.admin-section-head p{font-size:8px;color:var(--muted);margin-top:3px}.admin-withdraw-card{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);margin-bottom:7px}.admin-withdraw-card b,.admin-withdraw-card small{display:block}.admin-withdraw-card b{font-size:10px}.admin-withdraw-card small{font-size:8px;color:var(--muted);margin-top:3px}.admin-withdraw-actions{display:flex;gap:5px}.admin-withdraw-actions button{height:34px;padding:0 10px;border-radius:9px;border:1px solid var(--line);background:var(--surface3);color:var(--text);font-size:8px;font-weight:900}
@media(max-width:900px){.site-banner-v8{height:105px;margin:12px 14px 0}.site-banner-copy b{font-size:17px}.site-banner-online{display:none}.topup-grid-v7{grid-template-columns:1fr!important}.withdraw-steps{grid-template-columns:1fr}.sound-pill input{display:none}.upgrade-stage .wheel{width:min(370px,92vw)!important;height:min(370px,92vw)!important}}
@media(max-width:620px){.site-banner-v8{height:90px}.site-banner-copy{left:16px}.site-banner-copy b{font-size:14px}.site-banner-copy small{display:none}.win-actions-v8{grid-template-columns:1fr}.keep-win-btn{grid-column:auto}.withdraw-request{grid-template-columns:44px 1fr}.withdraw-request .withdraw-status{grid-column:2}.topup-presets{grid-template-columns:1fr 1fr!important}}



/* ======================================================================
   GTAUP V9 — polished UI / wallet / navigation / maintenance / withdraw
   ====================================================================== */
:root{--sidebarW:282px;--glass:rgba(15,19,28,.78);--glowPurple:rgba(124,92,255,.22);--glowGreen:rgba(40,199,111,.18)}
.app{grid-template-columns:var(--sidebarW) minmax(0,1fr)!important}
.sidebar{background:
  radial-gradient(520px 300px at -15% -10%,rgba(124,92,255,.17),transparent 70%),
  linear-gradient(180deg,#0e2847 0%,#0e2847 46%,#0b1f3b 100%)!important;
  box-shadow:18px 0 55px rgba(0,0,0,.18);border-right-color:rgba(119,132,164,.16)!important}
[data-theme="light"] .sidebar{background:linear-gradient(180deg,#fff,#f5f7fb)!important;box-shadow:14px 0 42px rgba(31,44,69,.08)}
.brand-v8{height:106px!important;padding:15px 16px!important;border-bottom:1px solid rgba(119,132,164,.14)!important}
.brand-art{width:78px!important;height:56px!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--line)!important;box-shadow:none!important;padding:5px!important}
.brand-art img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 5px 14px rgba(0,0,0,.25))}
.brand-name{font-size:22px!important}.brand-sub{font-size:8px!important;color:#8170e9!important}
.nav{padding:16px 12px!important;gap:6px!important}.nav-label{padding:14px 12px 7px!important;font-size:8px!important;letter-spacing:2px!important;color:var(--muted2)!important}
.nav-btn{min-height:62px!important;padding:9px 11px!important;border-radius:16px!important;grid-template-columns:44px minmax(0,1fr) 18px!important;gap:11px!important;position:relative!important;overflow:hidden!important}
.nav-btn:before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:0 4px 4px 0;background:transparent;box-shadow:none;transition:.2s}
.nav-btn:hover{background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.015))!important;border-color:rgba(129,141,174,.18)!important;transform:translateX(2px)}
[data-theme="light"] .nav-btn:hover{background:#f5f7fb!important}
.nav-btn.active{background:linear-gradient(100deg,rgba(124,92,255,.20),rgba(124,92,255,.055) 65%,transparent)!important;border-color:rgba(139,111,255,.34)!important;box-shadow:inset 0 0 0 1px rgba(124,92,255,.05),0 12px 32px rgba(55,34,136,.10)!important}
.nav-btn.active:before{background:linear-gradient(#9e88ff,#6549ef);box-shadow:0 0 16px rgba(124,92,255,.75)}
.nav-ic{width:44px!important;height:44px!important;border-radius:13px!important;font-size:18px!important;background:linear-gradient(145deg,var(--surface3),var(--surface2))!important;border:1px solid rgba(120,134,165,.14)}
.nav-btn[data-page-target="upgrader"] .nav-ic{color:#ffad2f}.nav-btn[data-page-target="shop"] .nav-ic{color:#79a6ff}.nav-btn[data-page-target="crash"] .nav-ic{color:#ff6e8e}#adminNav .nav-ic{color:#50d5ff}#profileNav .nav-ic{color:#b294ff}#supportNav .nav-ic{color:#dbe4ff}
.nav-btn.active .nav-ic{background:linear-gradient(135deg,#8268ff,#593ae9)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 10px 26px rgba(103,73,237,.28)!important}
.nav-title{font-size:12px!important}.nav-sub{font-size:8.5px!important;margin-top:5px!important}.nav-arrow{font-size:20px;color:var(--muted2);opacity:.6;transition:.2s}.nav-btn:hover .nav-arrow,.nav-btn.active .nav-arrow{transform:translateX(2px);color:var(--accentSoft);opacity:1}
.livebox{margin:8px 12px 0!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(18,24,35,.88),rgba(10,14,21,.88))!important;border-color:rgba(119,132,164,.16)!important}.livebox-head{padding:11px 13px!important;background:rgba(255,255,255,.018);letter-spacing:1.5px!important}.livebox-row{padding:8px!important;border-radius:10px!important}.livebox-row:hover{background:rgba(124,92,255,.07)!important}.sidebar-online{border-radius:14px!important;background:linear-gradient(145deg,var(--surface2),var(--surface))!important}

/* Header cleanup */
.topbar-v5{backdrop-filter:blur(16px);background:color-mix(in srgb,var(--surface) 86%,transparent)!important}.lang-mini{display:none!important}.profile-head-actions .danger{height:40px!important;padding:0 15px!important;border-radius:12px!important;border:1px solid rgba(255,94,108,.26)!important;background:linear-gradient(135deg,rgba(255,94,108,.12),rgba(255,94,108,.045))!important;color:#ff7682!important;font-size:9px!important;font-weight:900!important;letter-spacing:.25px}.profile-head-actions .danger:hover{background:rgba(255,94,108,.18)!important;transform:translateY(-1px)}

/* Banner: display the whole supplied /logo/banner.gtaup-opt-v335.webp instead of cropping the GTAUP wordmark. */
.site-banner-v8{height:clamp(132px,9.3vw,176px)!important;background:#0b1f3b!important;margin-top:16px!important;border-color:rgba(123,136,166,.18)!important}.site-banner-img{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;filter:saturate(1.04) contrast(1.02)!important}.site-banner-shade{background:linear-gradient(90deg,rgba(5,8,15,.34),transparent 35%,transparent 68%,rgba(5,8,15,.35))!important}.site-banner-copy{display:none!important}.site-banner-online{right:18px!important;bottom:16px!important;top:auto!important;transform:none!important;background:rgba(7,11,19,.76)!important}
[data-theme="light"] .site-banner-v8{background:#0e2847!important}

/* Featured promo is an actionable card. */
.promo{cursor:pointer!important;min-height:66px!important;padding:12px 16px!important;background:linear-gradient(100deg,rgba(255,199,87,.08),rgba(124,92,255,.05),var(--surface))!important;transition:.18s!important}.promo:hover{transform:translateY(-1px);border-color:rgba(255,200,87,.30)!important;box-shadow:0 16px 38px rgba(0,0,0,.12)}.promo-bonus{white-space:nowrap!important;max-width:260px;overflow:hidden;text-overflow:ellipsis}.promo-timer{min-width:88px;text-align:right}

/* Upgrade: cash boost */
.upgrade-cash-v9{margin:0 0 15px;padding:15px 16px;display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:center;background:linear-gradient(105deg,rgba(255,200,87,.075),rgba(124,92,255,.06),var(--surface));border:1px solid var(--line);border-radius:15px}.upgrade-cash-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#ffd35c,#edaa1e);color:#2a2005;font:900 21px "JetBrains Mono",monospace;box-shadow:0 10px 25px rgba(220,153,18,.18)}.upgrade-cash-copy b,.upgrade-cash-copy small{display:block}.upgrade-cash-copy b{font-size:11px}.upgrade-cash-copy small{font-size:8.5px;color:var(--muted);margin-top:4px;line-height:1.5}.upgrade-cash-controls{display:grid;grid-template-columns:126px minmax(120px,1fr);gap:9px;align-items:center}.upgrade-cash-controls input[type="number"]{height:42px;border:1px solid var(--line2);background:var(--surface2);color:var(--text);border-radius:10px;padding:0 10px;font:800 11px "JetBrains Mono",monospace}.upgrade-cash-controls input[type="range"]{width:100%;accent-color:var(--gold)}.upgrade-cash-meta{text-align:right}.upgrade-cash-meta b,.upgrade-cash-meta small{display:block}.upgrade-cash-meta b{font:900 12px "JetBrains Mono",monospace;color:var(--gold)}.upgrade-cash-meta small{font-size:8px;color:var(--muted2);margin-top:3px}.upgrade-cash-quick{display:flex;gap:5px;margin-top:7px;flex-wrap:wrap}.upgrade-cash-quick button{height:26px;padding:0 8px;border-radius:7px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);font-size:8px;font-weight:800}.upgrade-cash-quick button:hover{color:var(--gold);border-color:rgba(255,200,87,.3)}

/* Top-up V9 — clean responsive wallet flow */
.topup-modal-v9{width:min(940px,calc(100vw - 28px))!important;max-width:none!important;padding:0!important;border-radius:26px!important;overflow:hidden!important;background:var(--surface)!important}.topup-v9-head{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:25px 28px;background:radial-gradient(420px 190px at 0 0,rgba(124,92,255,.23),transparent 72%),linear-gradient(135deg,var(--surface2),var(--surface));border-bottom:1px solid var(--line)}.topup-v9-icon{width:62px;height:62px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(135deg,#ffd45d,#f0a915);color:#2a2005;font:900 27px "JetBrains Mono",monospace;box-shadow:0 15px 34px rgba(236,165,20,.22)}.topup-v9-copy span{font:900 8px "JetBrains Mono",monospace;letter-spacing:2px;color:#9c89ff}.topup-v9-copy h2{font-size:25px;letter-spacing:-.6px;margin:5px 0 4px}.topup-v9-copy p{font-size:9px;color:var(--muted);line-height:1.55}.topup-v9-wallet{text-align:right;padding:11px 14px;border-radius:13px;background:rgba(255,200,87,.07);border:1px solid rgba(255,200,87,.18)}.topup-v9-wallet small,.topup-v9-wallet strong{display:block}.topup-v9-wallet small{font-size:7.5px;color:var(--muted2);text-transform:uppercase;letter-spacing:1px}.topup-v9-wallet strong{font:900 15px "JetBrains Mono",monospace;color:var(--gold);margin-top:4px;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topup-v9-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:18px;padding:22px}.topup-v9-card{border:1px solid var(--line);border-radius:18px;background:linear-gradient(155deg,var(--surface2),var(--surface));padding:18px}.topup-v9-label{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}.topup-v9-label b{font-size:10px;text-transform:uppercase;letter-spacing:1px}.topup-v9-label small{font-size:8px;color:var(--muted2)}.topup-presets-v9{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.topup-presets-v9 button{height:48px;border-radius:12px;border:1px solid var(--line);background:var(--surface3);color:var(--text);font:800 10px "JetBrains Mono",monospace}.topup-presets-v9 button:hover,.topup-presets-v9 button.active{border-color:rgba(124,92,255,.48);background:rgba(124,92,255,.11);color:var(--accentSoft)}.topup-custom-v9{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;margin:13px 0 16px}.topup-currency-v9{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;background:rgba(255,200,87,.10);color:var(--gold);font-weight:900}.topup-custom-v9 input{height:43px;width:100%;border-radius:11px;border:1px solid var(--line2);background:var(--surface2);color:var(--text);padding:0 12px;font:800 12px "JetBrains Mono",monospace;outline:0}.topup-custom-v9 input:focus{border-color:var(--accent)}.topup-featured-v9{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid rgba(255,200,87,.2);border-radius:13px;background:linear-gradient(100deg,rgba(255,200,87,.075),rgba(124,92,255,.055));margin-bottom:10px}.topup-featured-v9 .gift{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(255,200,87,.12)}.topup-featured-v9 b,.topup-featured-v9 small{display:block}.topup-featured-v9 b{font-size:10px}.topup-featured-v9 small{font-size:8px;color:var(--muted);margin-top:3px}.topup-featured-v9 button{height:32px;padding:0 9px;border-radius:8px;border:1px solid rgba(255,200,87,.26);background:rgba(255,200,87,.08);color:var(--gold);font-size:8px;font-weight:900}.topup-promo-form-v9{display:grid;grid-template-columns:1fr auto;gap:7px}.topup-promo-form-v9 input{height:42px;border:1px solid var(--line2);border-radius:10px;background:var(--surface2);color:var(--text);padding:0 11px;font:800 10px "JetBrains Mono",monospace;text-transform:uppercase;outline:0}.topup-promo-form-v9 button{height:42px;padding:0 13px;border:0;border-radius:10px;background:linear-gradient(135deg,#8268ff,#5a3fe3);color:#fff;font-size:9px;font-weight:900}.topup-promo-status{margin-top:7px!important;font-size:8px!important;color:var(--muted)!important}.topup-promo-status.ok{color:var(--green)!important}.topup-receipt-v9{position:relative;overflow:hidden}.topup-receipt-v9:before{content:"";position:absolute;inset:-40px;background:radial-gradient(260px 180px at 80% 0,rgba(40,199,111,.08),transparent 70%);pointer-events:none}.topup-receipt-v9>*{position:relative}.receipt-kicker-v9{font:900 8px "JetBrains Mono",monospace;color:var(--muted2);letter-spacing:1.5px}.receipt-total-v9{font:900 30px "JetBrains Mono",monospace;color:var(--gold);margin:8px 0 18px}.topup-lines-v9{display:grid;gap:0}.topup-line-v9{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted)}.topup-line-v9 b{font-family:"JetBrains Mono",monospace;color:var(--text)}.topup-line-v9 .good{color:var(--green)}.topup-submit-v9{width:100%;height:52px;border:0;border-radius:14px;margin-top:18px;background:linear-gradient(135deg,#36df85,#1cbd69);color:#062715;font-size:12px;font-weight:1000;box-shadow:0 15px 34px rgba(28,189,105,.17)}.topup-note-v9{display:block;margin-top:10px;font-size:7.5px;color:var(--muted2);line-height:1.5;text-align:center}

/* Balance withdrawal */
.withdraw-balance-v9{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;margin-bottom:16px}.withdraw-balance-form-v9,.withdraw-balance-receipt-v9{padding:18px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(155deg,var(--surface2),var(--surface))}.withdraw-balance-head-v9{display:flex;gap:11px;align-items:center;margin-bottom:15px}.withdraw-balance-head-v9 .ic{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:rgba(40,199,111,.10);color:var(--green);font-size:18px}.withdraw-balance-head-v9 b,.withdraw-balance-head-v9 small{display:block}.withdraw-balance-head-v9 b{font-size:12px}.withdraw-balance-head-v9 small{font-size:8px;color:var(--muted);margin-top:3px}.withdraw-form-grid-v9{display:grid;grid-template-columns:1fr 1fr;gap:9px}.withdraw-form-grid-v9 label{display:grid;gap:6px;font-size:8.5px;color:var(--muted)}.withdraw-form-grid-v9 input{height:42px;border:1px solid var(--line2);border-radius:10px;background:var(--surface2);color:var(--text);padding:0 11px;outline:0}.withdraw-form-grid-v9 .wide{grid-column:1/-1}.withdraw-balance-receipt-v9 .big{font:900 24px "JetBrains Mono",monospace;color:var(--green);margin:9px 0 14px}.withdraw-balance-receipt-v9 .row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted)}.withdraw-balance-receipt-v9 .row b{font-family:"JetBrains Mono",monospace;color:var(--text)}.withdraw-balance-receipt-v9 button{width:100%;height:44px;margin-top:14px;border:0;border-radius:11px;background:linear-gradient(135deg,#8268ff,#5c40df);color:#fff;font-weight:900}.balance-withdraw-list{display:grid;gap:7px;margin-top:12px}.balance-withdraw-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--surface2)}.balance-withdraw-row b,.balance-withdraw-row small{display:block}.balance-withdraw-row b{font-size:9.5px}.balance-withdraw-row small{font-size:7.5px;color:var(--muted);margin-top:3px}

/* Maintenance lock */
.maintenance-overlay-v9{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;background:#0b1f3b;overflow:hidden}.maintenance-overlay-v9.hidden{display:none!important}.maintenance-bg-v9{position:absolute;inset:0;background:url('/texwork/woedf.png') center/cover no-repeat;filter:saturate(.95) contrast(1.02);opacity:.52;transform:scale(1.025)}.maintenance-shade-v9{position:absolute;inset:0;background:radial-gradient(700px 400px at 50% 45%,rgba(124,92,255,.10),transparent 72%),linear-gradient(180deg,rgba(5,8,14,.58),rgba(5,8,14,.92))}.maintenance-card-v9{position:relative;width:min(640px,100%);padding:34px;border-radius:25px;background:rgba(10,14,23,.82);border:1px solid rgba(163,174,201,.18);backdrop-filter:blur(18px);box-shadow:0 40px 120px rgba(0,0,0,.45);text-align:center;color:#f5f7fb}.maintenance-logo-v9{width:100px;height:60px;object-fit:contain;margin-bottom:12px}.maintenance-kicker-v9{font:900 8px "JetBrains Mono",monospace;letter-spacing:2px;color:#9c89ff}.maintenance-card-v9 h2{font-size:30px;letter-spacing:-.8px;margin:8px 0}.maintenance-card-v9 p{max-width:510px;margin:auto;font-size:10px;line-height:1.75;color:#a8b2c5}.maintenance-status-v9{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:9px 13px;border-radius:999px;background:rgba(255,200,87,.08);border:1px solid rgba(255,200,87,.18);color:#ffd36a;font-size:9px;font-weight:800}.maintenance-status-v9 span{width:7px;height:7px;border-radius:50%;background:#ffd36a;box-shadow:0 0 12px rgba(255,211,106,.7);animation:pulse 1.5s infinite}

/* Admin role management / withdrawal states */
.admin-role-list-v9{display:grid;gap:7px}.admin-role-row-v9{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--surface2)}.admin-role-row-v9 b,.admin-role-row-v9 small{display:block}.admin-role-row-v9 b{font-size:10px}.admin-role-row-v9 small{font-size:8px;color:var(--muted2);margin-top:3px}.admin-role-row-v9 button{height:34px;padding:0 10px;border-radius:9px;border:1px solid var(--line);background:var(--surface3);color:var(--text);font-size:8px;font-weight:900}.admin-role-row-v9 button.remove{color:var(--red);border-color:rgba(255,94,108,.24)}.admin-subsection-v9{margin-bottom:18px}.admin-subsection-v9 h3{font-size:12px;margin-bottom:4px}.admin-subsection-v9>p{font-size:8px;color:var(--muted);margin-bottom:10px}

/* Better light-theme completeness */
[data-theme="light"] .topbar-v5{background:rgba(255,255,255,.88)!important}[data-theme="light"] .topup-modal-v9,[data-theme="light"] .topup-v9-card,[data-theme="light"] .withdraw-balance-form-v9,[data-theme="light"] .withdraw-balance-receipt-v9{background:linear-gradient(155deg,#fff,#f7f9fc)!important}[data-theme="light"] .topup-v9-head{background:radial-gradient(420px 190px at 0 0,rgba(124,92,255,.12),transparent 72%),linear-gradient(135deg,#fff,#f4f6fb)!important}[data-theme="light"] .topup-presets-v9 button,[data-theme="light"] .topup-custom-v9 input,[data-theme="light"] .topup-promo-form-v9 input{background:#f4f6fa!important}

@media(max-width:1050px){:root{--sidebarW:248px}.upgrade-cash-v9{grid-template-columns:auto 1fr}.upgrade-cash-controls,.upgrade-cash-meta{grid-column:2}.upgrade-cash-meta{text-align:left}.withdraw-balance-v9{grid-template-columns:1fr}.topup-v9-body{grid-template-columns:1fr}}
@media(max-width:860px){.app{grid-template-columns:76px minmax(0,1fr)!important}.brand-art{width:52px!important}.upgrade-cash-v9{grid-template-columns:1fr}.upgrade-cash-icon{display:none}.upgrade-cash-controls,.upgrade-cash-meta{grid-column:auto}.topup-v9-head{grid-template-columns:auto 1fr}.topup-v9-wallet{grid-column:1/-1;text-align:left}.topup-v9-wallet strong{max-width:none}.site-banner-v8{height:120px!important}}
@media(max-width:620px){.topup-modal-v9{width:calc(100vw - 16px)!important;border-radius:19px!important}.topup-v9-head{padding:20px 17px;gap:10px}.topup-v9-icon{width:50px;height:50px;border-radius:15px}.topup-v9-copy h2{font-size:21px}.topup-v9-body{padding:12px;gap:10px}.topup-v9-card{padding:14px}.topup-presets-v9{grid-template-columns:1fr 1fr}.topup-featured-v9{grid-template-columns:auto 1fr}.topup-featured-v9 button{grid-column:1/-1}.upgrade-cash-controls{grid-template-columns:1fr}.withdraw-form-grid-v9{grid-template-columns:1fr}.withdraw-form-grid-v9 .wide{grid-column:auto}.site-banner-v8{height:92px!important;margin:10px 10px 0!important}.site-banner-img{background-size:contain!important}.admin-withdraw-card{grid-template-columns:1fr}.admin-withdraw-actions{flex-wrap:wrap}}


/* ===== GTAUP V102 polish ===== */
html:not(.js-fatal) .main{display:block!important;visibility:visible!important;opacity:1!important}
html:not(.js-fatal) .content{display:block!important}
#page-upgrader.active{display:block!important}
.brand-v8{display:flex!important;align-items:center!important;gap:11px!important;padding:13px 15px!important}
.brand-art{width:108px!important;height:54px!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(124,92,255,.045))!important;border:1px solid rgba(137,150,181,.14)!important;padding:5px 8px!important;box-shadow:0 14px 34px rgba(0,0,0,.16)!important}
.brand-art img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.brand-copy{min-width:0}.brand-name{font-size:17px!important}.brand-sub{font-size:7px!important;letter-spacing:1.8px!important}
.site-banner-v8{height:156px!important;position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#0b1f3b!important}
.site-banner-img{background-size:cover!important;background-position:center!important;filter:blur(18px) saturate(1.15) brightness(.42)!important;transform:scale(1.08)!important;opacity:.6!important}
.site-banner-shade{background:linear-gradient(90deg,rgba(5,8,15,.84),rgba(5,8,15,.28) 50%,rgba(5,8,15,.76))!important;z-index:1!important}
.site-banner-logo-v10{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,58vw);height:118px;object-fit:contain;object-position:center;filter:drop-shadow(0 18px 34px rgba(0,0,0,.5))}
.site-banner-copy{z-index:3!important;left:24px!important}.site-banner-copy b{font-size:19px!important;max-width:260px}.site-banner-online{z-index:4!important}
.nav{padding:15px 11px!important;gap:6px!important}.nav-label{font-size:8px!important;letter-spacing:1.9px!important;color:#626d85!important;padding:14px 11px 7px!important}.nav-btn{min-height:64px!important;padding:9px 10px!important;border-radius:16px!important;grid-template-columns:44px minmax(0,1fr) 14px!important;border:1px solid transparent!important}.nav-btn:after{content:'›';font-size:19px;color:#566178;transition:.18s}.nav-btn:hover:after,.nav-btn.active:after{color:#b5a7ff;transform:translateX(2px)}.nav-btn.active{background:radial-gradient(200px 80px at 0 50%,rgba(124,92,255,.20),transparent 70%),linear-gradient(100deg,rgba(124,92,255,.13),rgba(124,92,255,.025))!important;border-color:rgba(142,118,255,.3)!important}.nav-ic{width:44px!important;height:44px!important;border-radius:14px!important;font-size:18px!important}.nav-title{font-size:12px!important}.nav-sub{font-size:8px!important;margin-top:5px!important}
.livebox{border-radius:16px!important;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 74%,var(--surface)))!important}.livebox-row{grid-template-columns:36px minmax(0,1fr)!important;padding:7px!important}.livebox-ic{width:36px!important;height:36px!important;border:0!important;border-radius:11px!important;overflow:hidden!important;background:var(--surface3)!important;display:grid!important;place-items:center!important}.livebox-ic img{width:100%;height:100%;object-fit:cover}.live-avatar-emoji{font-size:17px}
.sound-pill{height:42px!important;min-width:158px!important;padding:4px 7px 4px 5px!important;border-radius:14px!important;background:linear-gradient(145deg,var(--surface),var(--surface2))!important;border:1px solid var(--line)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}.sound-toggle{width:33px!important;height:33px!important;border-radius:10px!important;background:linear-gradient(145deg,var(--surface3),var(--surface2))!important;border:1px solid var(--line)!important}.sound-pill input[type=range]{appearance:none!important;-webkit-appearance:none!important;width:96px!important;height:4px!important;background:linear-gradient(90deg,var(--accent) 0 var(--soundPct,65%),var(--line2) var(--soundPct,65%) 100%)!important;border-radius:999px!important;outline:none!important}.sound-pill input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid var(--accent);box-shadow:0 3px 10px rgba(0,0,0,.25)}.sound-pill input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#fff;border:3px solid var(--accent)}
.field-help-v10{display:block;font-size:8px;color:var(--muted2);line-height:1.45;margin-top:5px}
.profile-withdrawals-v10{display:grid;grid-template-columns:1fr 1fr;gap:12px}.withdraw-section-v10{border:1px solid var(--line);background:var(--surface2);border-radius:15px;padding:14px}.withdraw-title-v10{display:flex;justify-content:space-between;gap:10px;align-items:end;margin-bottom:10px}.withdraw-title-v10 b{font-size:11px}.withdraw-title-v10 small{font-size:8px;color:var(--muted2)}.profile-withdraw-row-v10{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--line);background:var(--surface);border-radius:11px;margin-bottom:7px}.profile-withdraw-row-v10 b,.profile-withdraw-row-v10 small{display:block}.profile-withdraw-row-v10 b{font-size:10px}.profile-withdraw-row-v10 small{font-size:8px;color:var(--muted2);margin-top:3px}.profile-withdraw-actions-v10{display:flex;align-items:center;gap:6px}.cancel-withdraw-v10{height:31px;border:1px solid rgba(255,94,108,.22);background:rgba(255,94,108,.06);color:var(--red);border-radius:8px;padding:0 9px;font-size:8px;font-weight:900}.cancel-withdraw-v10:disabled{opacity:.35}
.ticket-chat-head-v10{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-right:44px}.ticket-chat-actions-v10{display:flex;gap:6px;align-items:center}.ticket-chat-actions-v10 button,.admin-ticket-actions-v10 button{height:32px;border-radius:8px;border:1px solid var(--line);background:var(--surface2);color:var(--text);padding:0 9px;font-size:8px;font-weight:900}.ticket-status-v10{font:900 8px 'JetBrains Mono',monospace;padding:6px 8px;border-radius:999px;background:rgba(40,199,111,.08);color:var(--green);border:1px solid rgba(40,199,111,.18)}.ticket-status-v10.closed{background:rgba(149,160,181,.08);color:var(--muted);border-color:var(--line)}.admin-chat-title-v10{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.admin-ticket-actions-v10{display:flex;gap:5px}
.promo{cursor:pointer!important}.promo:hover{border-color:rgba(255,200,87,.30)!important;box-shadow:0 12px 30px rgba(0,0,0,.12)}.promo-bonus{white-space:nowrap}.promo-timer:before{content:'ОБНОВЛЕНИЕ ';font:800 7px Inter,sans-serif;color:var(--muted2);letter-spacing:.7px}
.crash-history{min-height:39px!important}.crash-history .hist{min-width:61px;text-align:center}.crash-history-empty-v10{padding:7px 10px;color:var(--muted2);font-size:9px;border:1px dashed var(--line);border-radius:8px}
.crash-player .av{overflow:hidden!important}.crash-player .av img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
[data-theme='light'] .brand-art{background:#fff!important}[data-theme='light'] .sound-pill{background:linear-gradient(145deg,#fff,#f3f6fb)!important}[data-theme='light'] .withdraw-section-v10{background:#f7f9fd!important}
@media(max-width:900px){.brand-art{width:50px!important;height:48px!important;padding:4px!important}.brand-copy{display:none!important}.site-banner-logo-v10{width:min(500px,70vw);height:92px}.profile-withdrawals-v10{grid-template-columns:1fr}}
@media(max-width:620px){.site-banner-logo-v10{width:72vw;height:72px}.site-banner-copy{display:none!important}.sound-pill{min-width:42px!important;width:42px!important}.sound-pill input{display:none!important}.ticket-chat-head-v10{display:block}.ticket-chat-actions-v10{margin:8px 0}.profile-withdraw-row-v10{grid-template-columns:1fr}.profile-withdraw-actions-v10{justify-content:flex-start}}


/* ========================= GTAUP V13 POLISH ========================= */
:root{--sidebarW11:286px}
/* Flex shell is intentionally used as a hard fallback. It prevents the guest/incognito
   layout from ever collapsing into a full-width sidebar if CSS grid is reparsed oddly. */
.app{display:flex!important;width:100%!important;min-height:100vh!important;align-items:stretch!important}
.sidebar{width:var(--sidebarW11)!important;flex:0 0 var(--sidebarW11)!important;min-width:var(--sidebarW11)!important;max-width:var(--sidebarW11)!important}
.main{display:block!important;visibility:visible!important;opacity:1!important;flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:calc(100vw - var(--sidebarW11))!important}
.content{width:100%!important}

/* Branding: first image in the compact brand, second/new promo artwork across the hero. */
.brand-v8{height:94px!important;padding:14px 15px!important;gap:12px!important}
.brand-art{width:64px!important;height:64px!important;flex:0 0 64px!important;padding:0!important;border-radius:15px!important;overflow:hidden!important;background:#0b1f3b!important;border:1px solid rgba(148,161,192,.18)!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important}
.brand-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;filter:none!important}
.brand-name{font-size:20px!important}.brand-sub{font-size:7px!important;letter-spacing:1.9px!important}

.site-banner-v8{height:clamp(178px,12.5vw,238px)!important;margin:18px 24px 0!important;border-radius:24px!important;background:#0b1f3b!important;border:1px solid rgba(134,149,183,.20)!important;box-shadow:0 26px 70px rgba(0,0,0,.22)!important;overflow:hidden!important;isolation:isolate!important}
.site-banner-img{inset:0!important;background-image:url('/logo/aaac85e9-7827-4881-ba39-53399c2e7e44.gtaup-opt-v335.webp?v=55')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;filter:saturate(1.08) contrast(1.04) brightness(.92)!important;transform:scale(1.015)!important;opacity:1!important}
.site-banner-shade{z-index:1!important;background:linear-gradient(90deg,rgba(4,7,13,.18),rgba(4,7,13,.02) 34%,rgba(4,7,13,.02) 68%,rgba(4,7,13,.30))!important;pointer-events:none!important}
.site-banner-logo-v10,.site-banner-copy{display:none!important}
.site-banner-online{z-index:3!important;right:20px!important;bottom:18px!important;top:auto!important;transform:none!important;padding:11px 14px!important;background:rgba(5,9,17,.78)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important}

/* Navigation gets a denser premium treatment. */
.nav{padding:13px 12px 10px!important;gap:6px!important}.nav-label{padding:12px 11px 5px!important}
.nav-btn{min-height:58px!important;padding:9px 10px!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(255,255,255,.012),rgba(255,255,255,.003))!important;border-color:transparent!important;position:relative!important;overflow:hidden!important}
.nav-btn:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.nav-btn:hover{transform:translateX(2px)!important;border-color:rgba(125,143,178,.15)!important;background:linear-gradient(145deg,rgba(28,36,52,.88),rgba(15,21,31,.88))!important}
.nav-btn.active{transform:none!important;border-color:rgba(128,102,255,.40)!important;background:radial-gradient(220px 90px at 0 50%,rgba(128,102,255,.18),transparent 75%),linear-gradient(145deg,#133050,#0e2847)!important;box-shadow:0 10px 30px rgba(0,0,0,.17),inset 3px 0 0 #519fea!important}
.nav-ic{width:40px!important;height:40px!important;border-radius:13px!important}.nav-title{font-size:12px!important}.nav-sub{font-size:8px!important}.nav-arrow{color:var(--muted2);font-size:18px}
.livebox{margin:7px 12px 0!important;border-radius:16px!important;overflow:hidden!important;border-color:rgba(126,143,176,.12)!important;background:linear-gradient(180deg,#0e2847,#0e2847)!important}
.livebox-row{border-radius:11px!important;margin:4px 6px!important;padding:7px!important}.livebox-row.lose{display:none!important}
.livebox-ic{overflow:hidden!important;border-radius:10px!important}.livebox-ic img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}

/* Sound is a compact mixer, not a raw browser range input. */
.sound-pill{--soundPct:65%;height:42px!important;min-width:148px!important;padding:5px 10px 5px 5px!important;gap:9px!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(22,29,43,.96),rgba(12,17,26,.96))!important;border:1px solid rgba(127,144,177,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 9px 24px rgba(0,0,0,.12)!important}
.sound-toggle{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:10px!important;background:linear-gradient(145deg,rgba(128,102,255,.18),rgba(128,102,255,.07))!important;color:#d9d2ff!important;border:1px solid rgba(128,102,255,.16)!important}
#soundVolume{-webkit-appearance:none!important;appearance:none!important;width:86px!important;height:4px!important;border-radius:999px!important;outline:none!important;background:linear-gradient(90deg,#519fea 0 var(--soundPct),#2a3344 var(--soundPct) 100%)!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.35)!important}
#soundVolume::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:15px!important;height:15px!important;border-radius:50%!important;background:#fff!important;border:3px solid #519fea!important;box-shadow:0 0 0 4px rgba(128,102,255,.10),0 4px 12px rgba(0,0,0,.28)!important}
#soundVolume::-moz-range-thumb{width:11px!important;height:11px!important;border-radius:50%!important;background:#fff!important;border:3px solid #519fea!important;box-shadow:0 0 0 4px rgba(128,102,255,.10)!important}

/* Guest/static fallback. Main remains usable even if Firebase CDN/auth fails to initialize. */
html.gtaup-guest-fallback .main{display:block!important;position:relative!important;z-index:1!important}
html.gtaup-guest-fallback .page{display:none!important}html.gtaup-guest-fallback .page.active{display:block!important}html.gtaup-guest-fallback #page-upgrader:not(.active){display:none!important}
html.gtaup-guest-fallback .sidebar{display:flex!important}

[data-theme='light'] .sound-pill{background:linear-gradient(145deg,#fff,#eef2f8)!important;border-color:#dce3ed!important}
[data-theme='light'] #soundVolume{background:linear-gradient(90deg,#6d4ff0 0 var(--soundPct),#d8deea var(--soundPct) 100%)!important}
[data-theme='light'] .livebox{background:linear-gradient(180deg,#fff,#f7f9fd)!important}

@media(max-width:1050px){:root{--sidebarW11:248px}.sidebar{width:var(--sidebarW11)!important;flex-basis:var(--sidebarW11)!important;min-width:var(--sidebarW11)!important;max-width:var(--sidebarW11)!important}.main{max-width:calc(100vw - var(--sidebarW11))!important}.site-banner-v8{height:160px!important}}
@media(max-width:860px){:root{--sidebarW11:76px}.sidebar{width:76px!important;flex-basis:76px!important;min-width:76px!important;max-width:76px!important}.main{max-width:calc(100vw - 76px)!important}.brand-art{width:50px!important;height:50px!important;flex-basis:50px!important}.brand-copy{display:none!important}.sound-pill{min-width:42px!important;width:42px!important;padding:5px!important}.sound-pill input{display:none!important}.site-banner-v8{height:130px!important;margin:12px 14px 0!important}}
@media(max-width:760px){.app{display:block!important}.sidebar{display:none!important}.main{max-width:none!important;width:100%!important}.site-banner-v8{height:116px!important;margin:10px 10px 0!important;border-radius:17px!important}.site-banner-img{background-position:center!important}.site-banner-online{display:none!important}}
/* ======================= /GTAUP V13 POLISH ======================= */


/* ======================= GTAUP V13 ======================= */
/* Banner: show the whole artwork, intentionally stretched to the wide hero instead of cropping the title. */
.site-banner-v8{height:clamp(168px,10.6vw,214px)!important;border-radius:22px!important;background:#0b1f3b!important;box-shadow:0 24px 70px rgba(0,0,0,.24)!important}
.site-banner-img{background-image:url('/logo/aaac85e9-7827-4881-ba39-53399c2e7e44.gtaup-opt-v335.webp?v=55')!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;filter:saturate(1.05) contrast(1.025) brightness(.92)!important;transform:none!important;opacity:1!important}
.site-banner-shade{background:linear-gradient(90deg,rgba(4,7,12,.08),transparent 22%,transparent 78%,rgba(4,7,12,.22)),linear-gradient(180deg,rgba(3,5,9,.02),rgba(3,5,9,.16))!important}
.site-banner-online{background:rgba(6,10,17,.76)!important;backdrop-filter:blur(13px)!important}
.site-banner-logo-v10{display:none!important}
.brand-art{width:58px!important;height:54px!important;flex:0 0 58px!important;padding:3px!important;border-radius:13px!important;background:#0b1f3b!important;border:1px solid rgba(255,255,255,.08)!important;overflow:hidden!important;box-shadow:0 10px 26px rgba(0,0,0,.28)!important}.brand-art img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important;border-radius:9px!important}

/* Hour promo: impossible to miss, still premium rather than neon spam. */
.promo{position:relative!important;overflow:hidden!important;cursor:pointer!important;grid-template-columns:auto minmax(150px,1fr) auto auto auto!important;gap:13px!important;padding:13px 15px!important;border-radius:16px!important;border:1px solid rgba(255,194,55,.25)!important;background:radial-gradient(380px 120px at 0 50%,rgba(255,193,45,.13),transparent 72%),linear-gradient(115deg,#133050,#0e2847 60%,#0e2847)!important;box-shadow:0 16px 40px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.035)!important}.promo:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.04) 48%,transparent 65%);transform:translateX(-30%)}.promo:hover{transform:translateY(-1px);border-color:rgba(255,204,73,.44)!important;box-shadow:0 20px 48px rgba(0,0,0,.18),0 0 34px rgba(255,190,45,.06)!important}.promo-ic{width:42px!important;height:42px!important;border-radius:12px!important;background:linear-gradient(145deg,#322918,#133050)!important;border:1px solid rgba(255,204,73,.18)!important;box-shadow:inset 0 1px rgba(255,255,255,.05)!important}.promo-label{color:#9aa5bd!important;letter-spacing:1.5px!important}.promo-code{font:900 18px "JetBrains Mono",monospace!important;color:#ffd447!important;text-shadow:0 0 18px rgba(255,201,55,.16)!important}.promo-bonus{padding:8px 11px!important;border-radius:10px!important;font:900 11px "JetBrains Mono",monospace!important;color:#44e692!important;background:rgba(51,220,137,.09)!important;border:1px solid rgba(51,220,137,.22)!important}.promo-timer{padding:8px 10px!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.07)!important;font:800 11px "JetBrains Mono",monospace!important}.promo #copyPromoBtn{height:38px!important;padding:0 13px!important;border-radius:10px!important}

/* Live winners: avatar + actual prize thumbnail. */
.livebox-row{display:grid!important;grid-template-columns:34px minmax(0,1fr) 52px!important;align-items:center!important;gap:8px!important}.livebox-prize-v13{width:52px;height:38px;border-radius:9px;background:linear-gradient(145deg,#133050,#0e2847);border:1px solid rgba(255,199,66,.13);display:grid;place-items:center;overflow:hidden}.livebox-prize-v13 img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 4px 7px rgba(0,0,0,.35))}.livebox-prize-v13 span{font-size:18px}.livebox-meta{line-height:1.35!important}

/* Auth referral field */
.optional-v12{font-size:8px;color:var(--muted2);font-weight:600;margin-left:5px}.referral-hint-v12{display:block;color:var(--muted2);font-size:8.5px;line-height:1.45;margin-top:6px}.referral-hint-v12.good{color:var(--green)}.referral-hint-v12.bad{color:var(--red)}

/* Support stickers and admin notification */
.support-stickers-v12{display:flex;align-items:center;gap:5px;padding:7px 10px;border-top:1px solid var(--line);background:var(--surface2);overflow:auto}.support-stickers-v12>span{font-size:8px;color:var(--muted2);font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin-right:3px}.support-stickers-v12 button{width:32px;height:30px;border-radius:8px;border:1px solid var(--line);background:var(--surface);font-size:17px;transition:.15s}.support-stickers-v12 button:hover{transform:translateY(-2px);border-color:rgba(128,102,255,.36);background:var(--surface3)}.chat-msg.sticker-v12{font-size:34px!important;line-height:1!important;padding:10px 13px!important;background:transparent!important;border:0!important}.chat-msg.sticker-v12 .sender-name{font-size:8px;margin-bottom:7px}.admin-stickers-v12{border-top:1px solid var(--line);border-bottom:0}.admin-support-bell-v12{position:relative}.admin-support-badge-v12{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;display:grid;place-items:center;background:#ff5367;color:#fff;border:2px solid var(--surface);font:900 8px "JetBrains Mono",monospace;box-shadow:0 3px 10px rgba(255,68,90,.34)}

/* Referral admin */
.admin-referral-v13{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--surface),var(--surface2))}.admin-referral-grid-v13{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.admin-referral-grid-v13 label{display:grid;gap:5px;font-size:8.5px;color:var(--muted)}.admin-referral-grid-v13 input{height:38px;border:1px solid var(--line2);border-radius:9px;background:var(--surface2);color:var(--text);padding:0 10px}.referral-stat-v12{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.referral-stat-v12 span{padding:3px 6px;border-radius:6px;background:var(--surface2);color:var(--muted);font:700 8px "JetBrains Mono",monospace}.admin-lazy-note-v13{margin:-2px 0 9px;color:var(--muted2);font-size:8.5px}

/* Sound control, cleaner mixer. */
.sound-pill{min-width:150px!important;padding:5px 10px 5px 5px!important;border-radius:16px!important;background:linear-gradient(145deg,#0e2847,#0e2847)!important;border-color:rgba(126,143,176,.14)!important;box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.12)!important}.sound-toggle{border-radius:11px!important;border:0!important;background:rgba(128,102,255,.10)!important;color:#cfc5ff!important}#soundVolume{height:5px!important;background:linear-gradient(90deg,#8a6bff 0 var(--soundPct),#252f40 var(--soundPct) 100%)!important}#soundVolume::-webkit-slider-thumb{width:14px!important;height:14px!important;border:2px solid #fff!important;background:#519fea!important;box-shadow:0 0 0 4px rgba(128,102,255,.12),0 4px 10px rgba(0,0,0,.24)!important}

/* Light theme V12 — replace remaining hard-coded dark surfaces. */
html[data-theme='light'] body,html[data-theme='light'] .main{background:#eef3f9!important;color:#101827!important}
html[data-theme='light'] .topbar{background:rgba(255,255,255,.94)!important;border-color:#dce4ef!important;box-shadow:0 8px 28px rgba(38,52,76,.07)!important}
html[data-theme='light'] .sidebar{background:linear-gradient(180deg,#fff,#f7f9fd)!important;border-color:#dce4ef!important;box-shadow:18px 0 50px rgba(49,65,91,.06)!important}
html[data-theme='light'] .nav-btn{color:#536078!important}html[data-theme='light'] .nav-btn:hover{background:#f0f4fa!important;border-color:#dbe3ee!important}html[data-theme='light'] .nav-btn.active{background:linear-gradient(100deg,rgba(111,78,240,.11),#fff)!important;color:#133050!important;border-color:rgba(111,78,240,.24)!important;box-shadow:0 9px 24px rgba(77,56,160,.06),inset 3px 0 0 #6f4ef0!important}html[data-theme='light'] .nav-ic{background:#edf2f8!important;border-color:#dce4ef!important}html[data-theme='light'] .nav-btn.active .nav-ic{background:linear-gradient(145deg,#8b6cff,#6748ef)!important;color:#fff!important}
html[data-theme='light'] .livebox,html[data-theme='light'] .livebox-row,html[data-theme='light'] .sidebar-online{background:#fff!important;border-color:#dce4ef!important;color:#133050!important}html[data-theme='light'] .livebox-head{background:#f6f8fc!important;border-color:#e1e7f0!important}
html[data-theme='light'] .account-pill,html[data-theme='light'] .wallet-pill,html[data-theme='light'] .sound-pill,html[data-theme='light'] .top-btn,html[data-theme='light'] .promo,html[data-theme='light'] .panel,html[data-theme='light'] .slot,html[data-theme='light'] .wheel-card-v5,html[data-theme='light'] .crash-panel,html[data-theme='light'] .crash-board,html[data-theme='light'] .crash-players,html[data-theme='light'] .crash-round-strip,html[data-theme='light'] .profile-modal-v6,html[data-theme='light'] .support-modal-v6,html[data-theme='light'] .admin-box,html[data-theme='light'] .admin-kpi,html[data-theme='light'] .admin-chat-list,html[data-theme='light'] .admin-chat-view,html[data-theme='light'] .admin-referral-v13,html[data-theme='light'] .admin-settings-grid,html[data-theme='light'] .modal{background:#fff!important;color:#133050!important;border-color:#dce4ef!important;box-shadow:0 16px 45px rgba(38,52,76,.08)!important}
html[data-theme='light'] .promo{background:radial-gradient(380px 120px at 0 50%,rgba(255,190,40,.14),transparent 72%),linear-gradient(115deg,#fffaf0,#fff 62%,#f7fbff)!important}
html[data-theme='light'] .promo-timer,html[data-theme='light'] .promo #copyPromoBtn{background:#f4f7fb!important;border-color:#dce4ef!important;color:#243044!important}
html[data-theme='light'] .profile-cover-v6,html[data-theme='light'] .profile-cover-v5{background:radial-gradient(520px 220px at 10% 0,rgba(128,102,255,.14),transparent 70%),linear-gradient(120deg,#fff,#eef3fa)!important;color:#133050!important}
html[data-theme='light'] .support-v6-hero{background:radial-gradient(430px 260px at 0 0,rgba(128,102,255,.15),transparent 72%),linear-gradient(150deg,#fff,#eef3fa)!important;color:#133050!important}
html[data-theme='light'] .crash-canvas{background:linear-gradient(180deg,#f8faff,#edf3f9)!important;border-color:#dce4ef!important}html[data-theme='light'] .crash-grid{opacity:.35!important}html[data-theme='light'] .wheel-track{background:#e8edf4!important}html[data-theme='light'] .wheel-rotor{background:#fff!important}
html[data-theme='light'] input,html[data-theme='light'] textarea,html[data-theme='light'] select{background:#f8faff!important;color:#133050!important;border-color:#d7dfeb!important}html[data-theme='light'] .support-stickers-v12{background:#f5f8fc!important;border-color:#dce4ef!important}

@media(max-width:1050px){.admin-referral-grid-v13{grid-template-columns:1fr 1fr}.site-banner-v8{height:150px!important}}
@media(max-width:760px){.site-banner-v8{height:112px!important}.site-banner-img{background-size:cover!important;background-position:center!important}.admin-referral-grid-v13{grid-template-columns:1fr}.promo{grid-template-columns:auto 1fr auto!important}.promo-timer{display:none!important}.promo #copyPromoBtn{grid-column:1/-1!important}.livebox-prize-v13{display:none}.livebox-row{grid-template-columns:34px minmax(0,1fr)!important}}
/* ======================= /GTAUP V13 ======================= */


/* ================= GTAUP V13 POLISH + BUGFIX LAYER ================= */
.site-banner-v13{height:clamp(190px,14vw,280px)!important;margin:18px 28px 0!important;border-radius:24px!important;background:#0b1f3b!important;isolation:isolate!important;box-shadow:0 22px 80px rgba(0,0,0,.38)!important;overflow:hidden!important}
.site-banner-v13 .site-banner-bg-v13{position:absolute!important;inset:0!important;background-image:url('/logo/aaac85e9-7827-4881-ba39-53399c2e7e44.gtaup-opt-v335.webp?v=55')!important;background-size:cover!important;background-position:center center!important;filter:saturate(1.04) contrast(1.02) brightness(.80)!important;transform:none!important;opacity:1!important}
.site-banner-v13 .site-banner-shade{position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(5,8,14,.58) 0%,rgba(5,8,14,.10) 22%,rgba(5,8,14,.10) 78%,rgba(5,8,14,.58) 100%),linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.28))!important;z-index:1!important}
.site-banner-art-shell-v13{position:absolute;z-index:2;inset:0;display:block;overflow:hidden;border-radius:24px;pointer-events:none}
.site-banner-art-v13{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(1.03) contrast(1.03) brightness(.94)}
.site-banner-copy-v13{z-index:3!important;left:28px!important;bottom:27px!important;max-width:360px!important;text-shadow:0 3px 18px rgba(0,0,0,.80)!important}.site-banner-copy-v13 span{color:#bdb4ff!important}.site-banner-copy-v13 b{font-size:18px!important;line-height:1.16!important}.site-banner-copy-v13 small{opacity:.82!important}
.site-banner-v13 .site-banner-online{z-index:4!important;right:22px!important;bottom:22px!important;background:rgba(9,14,22,.78)!important;backdrop-filter:blur(16px)!important}
.brand-v8 .brand-art{width:58px!important;height:48px!important;border-radius:12px!important;background:#0e2847!important;overflow:hidden!important}.brand-v8 .brand-art img{width:100%!important;height:100%!important;object-fit:contain!important;padding:2px!important}
#logoutBtn{height:42px!important;padding:0 16px!important;border-radius:12px!important;border:1px solid rgba(255,82,100,.22)!important;background:linear-gradient(145deg,rgba(255,71,91,.12),rgba(255,71,91,.055))!important;color:#ff7587!important;font-size:9px!important;font-weight:900!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;transition:.18s!important}#logoutBtn:hover{transform:translateY(-1px)!important;background:linear-gradient(145deg,rgba(255,71,91,.19),rgba(255,71,91,.08))!important;border-color:rgba(255,82,100,.4)!important;box-shadow:0 10px 24px rgba(255,71,91,.10)!important}
.profile-pane{min-height:220px}.profile-withdrawals-v10{padding:3px 0}.profile-avatar-v6{background:linear-gradient(145deg,#519fea,#4f39cc)!important}
#profile-avatar .avatar-upload-card{margin-bottom:12px}.avatar-upload-card{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,var(--surface2),var(--surface));}.avatar-upload-card b,.avatar-upload-card small{display:block}.avatar-upload-card small{font-size:8px;color:var(--muted2);margin-top:4px}
/* Support: clearer empty/loading states and admin list */
.admin-chat-list .empty,.admin-table-wrap td[colspan]{padding:24px!important;text-align:center!important;color:var(--muted)!important}.admin-chat-item{border:1px solid transparent!important}.admin-chat-item.active{border-color:rgba(128,102,255,.28)!important;box-shadow:inset 3px 0 0 var(--accent)!important}
#ticketSubmit:disabled,#authSubmit:disabled{opacity:.55!important;cursor:wait!important}
/* Crash multiplayer waiting state */
.crash-round-strip{box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}#crashCountdown{min-width:64px;text-align:right}.crash-selected-auto{min-height:18px}
/* More complete light theme overrides */
html[data-theme='light'] .profile-modal-v6,html[data-theme='light'] .modal,html[data-theme='light'] .auth-modal-v5,html[data-theme='light'] .topup-modal-v9,html[data-theme='light'] .support-modal-v6{background:#fff!important;color:#0e2847!important;border-color:#d9e1ed!important}
html[data-theme='light'] .profile-head-v6,html[data-theme='light'] .profile-cover-v6{color:#0e2847!important}html[data-theme='light'] .profile-hero-wallet,html[data-theme='light'] .profile-quick-v7>div,html[data-theme='light'] .profile-grid-v6 .stat,html[data-theme='light'] .vip-card-v6,html[data-theme='light'] .profile-promo-summary,html[data-theme='light'] .profile-tabs-v6,html[data-theme='light'] .profile-garage-item,html[data-theme='light'] .avatar-upload-card,html[data-theme='light'] .promo-redeem-card,html[data-theme='light'] .withdraw-section-v10{background:#f7f9fd!important;color:#133050!important;border-color:#dce4ef!important}
html[data-theme='light'] #logoutBtn{background:#fff3f5!important;color:#d8344e!important;border-color:#f0c5cd!important}
@media(max-width:1000px){.site-banner-v13{height:170px!important}.site-banner-art-shell-v13{inset:0}.site-banner-copy-v13{max-width:260px!important}.site-banner-copy-v13 b{font-size:14px!important}}
@media(max-width:700px){.site-banner-v13{height:128px!important;margin:10px 10px 0!important}.site-banner-art-shell-v13{inset:0}.site-banner-copy-v13{display:none!important}.site-banner-v13 .site-banner-online{right:10px!important;bottom:10px!important}}


/* ================= GTAUP V15: clean banner + calmer profile ================= */
.site-banner-v13{height:clamp(176px,12vw,238px)!important;margin:18px 28px 0!important;border-radius:24px!important;overflow:hidden!important;background:#0b1f3b!important;border:1px solid rgba(118,137,169,.16)!important;box-shadow:0 24px 75px rgba(0,0,0,.28)!important}
.site-banner-v13 .site-banner-bg-v13{display:none!important}
.site-banner-v13 .site-banner-art-shell-v13{position:absolute!important;inset:0!important;display:block!important;border-radius:inherit!important;overflow:hidden!important;z-index:1!important}
.site-banner-v13 .site-banner-art-v13{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;filter:saturate(1.04) contrast(1.025) brightness(.96)!important;transform:none!important}
.site-banner-v13 .site-banner-shade{z-index:2!important;background:linear-gradient(180deg,rgba(3,6,10,.02),rgba(3,6,10,.12))!important;pointer-events:none!important}
.site-banner-v13 .site-banner-copy-v13{display:none!important}
.site-banner-v13 .site-banner-online{z-index:4!important;right:18px!important;bottom:18px!important;background:rgba(7,11,18,.82)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important;backdrop-filter:blur(14px)!important}

.profile-modal-v6{width:min(1040px,calc(100vw - 30px))!important;max-width:1040px!important;border-radius:25px!important;background:var(--surface)!important}
.profile-cover-v6{min-height:168px!important;padding:0!important;background:radial-gradient(420px 190px at 8% 0,rgba(122,91,255,.24),transparent 72%),radial-gradient(380px 180px at 90% 100%,rgba(45,212,126,.10),transparent 74%),linear-gradient(125deg,#133050,#0e2847)!important}
.profile-head-v6{padding:26px 28px!important;grid-template-columns:88px minmax(0,1fr) 220px auto!important;gap:17px!important;align-items:center!important}
.profile-avatar-v6{width:88px!important;height:88px!important;border-radius:25px!important;border:3px solid rgba(255,255,255,.09)!important;box-shadow:0 18px 45px rgba(0,0,0,.30),0 0 0 1px rgba(127,101,255,.34)!important}
.profile-name-row strong{font-size:24px!important;letter-spacing:-.5px!important}.profile-tags{margin-top:7px!important}.profile-tags span{padding:4px 6px!important}
.profile-hero-wallet{padding:13px 15px!important;border-radius:14px!important}.profile-hero-wallet strong{font-size:17px!important;margin-top:4px!important}.profile-hero-wallet small{margin-top:3px!important}
.profile-head-actions{display:flex!important;gap:7px!important;flex-direction:column!important}.profile-head-actions button{height:34px!important;border-radius:10px!important;padding:0 11px!important;font-size:8.5px!important;white-space:nowrap!important}#logoutBtn{background:rgba(255,82,101,.08)!important;border:1px solid rgba(255,82,101,.22)!important;color:#ff7b8b!important}
.profile-body-v6{padding:18px 24px 24px!important}.profile-quick-v7{display:none!important}
.profile-grid-v6{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.profile-grid-v6 .stat:nth-child(1),.profile-grid-v6 .stat:nth-child(6){display:none!important}.profile-grid-v6 .stat{min-height:78px!important;padding:12px 13px!important;border-radius:14px!important}.profile-grid-v6 .stat .v{font-size:16px!important}.profile-grid-v6 .stat small{font-size:7px!important}
.profile-benefits-row{grid-template-columns:1.05fr .95fr!important;gap:9px!important;margin-top:10px!important}.vip-card-v6,.profile-promo-summary{min-height:72px!important;border-radius:14px!important}
.profile-tabs-v6{margin-top:12px!important;padding:5px!important;border-radius:14px!important;background:var(--surface2)!important;gap:4px!important}.profile-tabs-v6 .profile-tab{height:39px!important;border-radius:9px!important;font-size:8.5px!important;padding:0 10px!important}.profile-tabs-v6 .profile-tab.active{background:var(--surface3)!important;box-shadow:none!important}
.profile-panel{padding-top:14px!important}.profile-garage-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:9px!important}

@media(max-width:900px){.profile-head-v6{grid-template-columns:76px 1fr!important}.profile-avatar-v6{width:76px!important;height:76px!important}.profile-hero-wallet{grid-column:1/-1!important}.profile-head-actions{grid-column:1/-1!important;flex-direction:row!important}.profile-grid-v6{grid-template-columns:repeat(2,1fr)!important}.profile-benefits-row{grid-template-columns:1fr!important}.site-banner-v13{height:150px!important;margin:12px 14px 0!important}}
@media(max-width:620px){.site-banner-v13{height:118px!important;margin:10px!important;border-radius:17px!important}.profile-head-v6{padding:22px 17px!important}.profile-body-v6{padding:15px 15px 20px!important}.profile-tabs-v6{overflow:auto!important;flex-wrap:nowrap!important}.profile-tabs-v6 .profile-tab{min-width:max-content!important}}


/* ===== GTAUP V16 polish ===== */
.nav-ic img{width:24px;height:24px;display:block;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.18))}
.support-brand-icon img{width:30px;height:30px;object-fit:contain;display:block;filter:drop-shadow(0 6px 18px rgba(0,0,0,.22))}
.promo{grid-template-columns:52px minmax(0,1fr) auto auto auto!important;gap:14px!important;padding:16px 18px!important;border-radius:18px!important;background:radial-gradient(240px 90px at 0 50%,rgba(255,200,87,.14),transparent 72%),linear-gradient(112deg,rgba(124,92,255,.10),rgba(255,200,87,.07),var(--surface))!important;border:1px solid rgba(255,200,87,.18)!important;box-shadow:0 14px 34px rgba(0,0,0,.12)!important}
.promo-ic{width:52px!important;height:52px!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(255,205,88,.18),rgba(124,92,255,.15))!important;border:1px solid rgba(255,255,255,.06)!important;font-size:22px!important}
.promo-label{font-size:9px!important;letter-spacing:1.4px!important}.promo-code{font-size:16px!important;letter-spacing:.8px!important}.promo-bonus{padding:8px 11px!important;border-radius:11px!important;font-size:12px!important}.promo-timer{padding:8px 11px;border-radius:11px;background:rgba(255,255,255,.03);border:1px solid var(--line);font-size:12px!important;color:var(--text)!important}.promo #copyPromoBtn{height:40px!important;padding:0 14px!important;border-radius:11px!important;background:linear-gradient(135deg,#8d72ff,#5a3fe3)!important;border:0!important;color:#fff!important;font-size:9px!important;font-weight:900!important}
.chat-messages{background:linear-gradient(180deg,color-mix(in srgb,var(--surface2) 88%,transparent),var(--surface))!important;padding:16px!important;gap:10px!important}
.chat-row{display:flex;align-items:flex-end;gap:10px;max-width:100%}.chat-row.user{justify-content:flex-end}.chat-row.user .chat-avatar{order:2}.chat-row.user .chat-bubble{order:1}
.chat-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;background:linear-gradient(145deg,var(--surface3),var(--surface2));border:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.10)}
.chat-avatar img{width:100%;height:100%;object-fit:cover}.chat-avatar .live-avatar-emoji{font-size:16px;font-weight:900}.chat-avatar.support-agent-avatar{background:linear-gradient(135deg,#6d73ff,#8e56ff);border-color:rgba(255,255,255,.18)}.chat-avatar.support-agent-avatar img{object-fit:contain;padding:7px;background:rgba(255,255,255,.08)}
.chat-bubble{max-width:min(78%,530px);padding:11px 13px 10px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.chat-row.user .chat-bubble{background:linear-gradient(135deg,#1684d1,#0e72b8 62%,#0c6baa);border-color:rgba(255,255,255,.08);color:#fff}.chat-row.support .chat-bubble{background:linear-gradient(145deg,var(--surface),var(--surface2))}
.chat-meta-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.chat-sender{font-size:10px;font-weight:900}.chat-time{font-size:8px;opacity:.62;white-space:nowrap}.chat-row.user .chat-time{opacity:.78}.chat-text{font-size:10.5px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.chat-text.sticker{font-size:27px;line-height:1.1}
.ticket-chat-head-v10{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.ticket-chat-actions-v10{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ticket-chat-actions-v10 button{height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:9px;font-weight:800}
.chat{height:560px!important}.support-stickers-v12{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 11px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface2) 88%,transparent)}.support-stickers-v12 span{font-size:8px;color:var(--muted2);font-weight:800;letter-spacing:.7px;text-transform:uppercase}.support-stickers-v12 button{width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:16px}
.chat-input{padding-top:10px!important}.chat-input input{height:44px!important;border-radius:12px!important;padding:0 13px!important}.chat-input button{width:52px!important;border-radius:12px!important;background:linear-gradient(135deg,#7e69ff,#5639df)!important}
.admin-chat-item{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:11px!important}.admin-chat-avatar{width:42px;height:42px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,var(--surface2),var(--surface3));border:1px solid var(--line)}.admin-chat-avatar img{width:100%;height:100%;object-fit:cover}.admin-chat-copy{min-width:0}.admin-chat-copy b,.admin-chat-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-chat-copy small:last-child{max-width:100%}
.support-ticket-v16{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);background:linear-gradient(145deg,var(--surface2),var(--surface));border-radius:14px;margin-bottom:8px}.support-ticket-v16 .av{width:46px;height:46px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:var(--surface3);border:1px solid var(--line)}.support-ticket-v16 .av img{width:100%;height:100%;object-fit:cover}.support-ticket-v16 .meta{min-width:0}.support-ticket-v16 .meta b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-ticket-v16 .meta small{display:block;font-size:8px;color:var(--muted2);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-ticket-v16 .status{padding:7px 10px;border-radius:999px;border:1px solid var(--line);font:800 8px "JetBrains Mono",monospace;color:var(--muted2)}
@media(max-width:760px){.promo{grid-template-columns:auto 1fr auto!important}.promo .promo-bonus{grid-column:2/3}.promo #copyPromoBtn{grid-column:1/-1!important}.chat{height:calc(100dvh - 190px)!important}.chat-bubble{max-width:calc(100vw - 105px)}.ticket-chat-head-v10{flex-direction:column}.support-ticket-v16{grid-template-columns:42px minmax(0,1fr)}}


/* ===== GTAUP V17 — navigation art / premium support / crash UX ===== */
.sidebar{width:auto}
.nav-btn{min-height:74px!important;padding:9px 11px!important;border-radius:17px!important;gap:12px!important;overflow:hidden!important}
.nav-btn .nav-ic{width:88px!important;height:58px!important;border-radius:14px!important;padding:0!important;overflow:hidden!important;background:#0e2847!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 9px 24px rgba(0,0,0,.18)!important}
.nav-btn .nav-ic img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;filter:none!important;transform:scale(1.03)}
.nav-btn.active .nav-ic{border-color:rgba(149,119,255,.42)!important;box-shadow:0 10px 25px rgba(93,63,223,.24)!important}
.nav-btn .nav-title{font-size:11px!important}.nav-btn .nav-sub{font-size:7.5px!important;margin-top:3px!important}

/* Support home: genuinely different layout, with /logogame/help.gtaup-opt-v335.webp as artwork */
.support-modal-v6{width:min(1120px,calc(100vw - 26px))!important;max-width:1120px!important;border-radius:25px!important;background:var(--surface)!important;box-shadow:0 40px 120px rgba(0,0,0,.46)!important}
.support-v6-grid{grid-template-columns:460px minmax(0,1fr)!important;min-height:650px!important}
.support-v6-hero{position:relative!important;isolation:isolate!important;padding:38px 34px 34px!important;overflow:hidden!important;background:#0e2847!important;border-right:1px solid var(--line)!important}
.support-v6-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(5,8,15,.20),rgba(5,8,15,.72) 60%,#0e2847 100%),linear-gradient(90deg,rgba(5,8,15,.25),rgba(5,8,15,.04)),url('/logogame/help.gtaup-opt-v335.webp?v=21');background-size:cover,cover,cover;background-position:center,center,center;z-index:-2;transform:scale(1.02)}
.support-v6-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(420px 250px at 14% 8%,rgba(104,76,255,.34),transparent 72%),linear-gradient(180deg,transparent 32%,rgba(7,10,17,.87) 80%,#0e2847);z-index:-1}
.support-brand-icon{width:64px!important;height:64px!important;border-radius:18px!important;background:rgba(10,14,24,.70)!important;border:1px solid rgba(255,255,255,.14)!important;backdrop-filter:blur(12px);box-shadow:0 16px 35px rgba(0,0,0,.28)!important}
.support-brand-icon img{width:48px!important;height:48px!important;padding:0!important;object-fit:cover!important;border-radius:13px!important}
.support-live-line{margin-top:150px!important;color:#c6cce0!important;text-shadow:0 2px 8px rgba(0,0,0,.7)}
.support-v6-hero h2{font-size:34px!important;line-height:1.04!important;letter-spacing:-1.5px!important;max-width:330px;text-shadow:0 6px 22px rgba(0,0,0,.66)}
.support-v6-hero>p{font-size:11px!important;color:#bcc4d7!important;max-width:340px!important;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.support-availability{margin:20px 0 13px!important}.support-availability>div{background:rgba(7,11,19,.66)!important;border:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(12px)!important;padding:13px!important}
.support-big-action{min-height:68px!important;border-radius:16px!important;background:linear-gradient(135deg,#765eff,#4c32ca)!important;box-shadow:0 16px 36px rgba(75,51,203,.32)!important;transition:.18s transform,.18s box-shadow!important}.support-big-action:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(75,51,203,.40)!important}
.support-secondary-action{height:45px!important;border-radius:13px!important;background:rgba(8,12,20,.70)!important;backdrop-filter:blur(10px)!important}
.support-v6-main{padding:40px 35px!important;background:radial-gradient(400px 220px at 100% 0,rgba(124,92,255,.08),transparent 72%),var(--surface)!important}
.support-section-title{font-size:15px!important;letter-spacing:-.3px!important}.support-search{height:48px!important;border-radius:14px!important;background:var(--surface2)!important;margin-bottom:16px!important}.support-search input{font-size:10px!important}
.support-articles-v6 .support-article{min-height:78px!important;padding:15px!important;border-radius:15px!important;background:linear-gradient(145deg,var(--surface2),var(--surface))!important;border:1px solid var(--line)!important;transition:.18s transform,.18s border-color,.18s box-shadow!important}.support-articles-v6 .support-article:hover{transform:translateY(-2px);border-color:rgba(124,92,255,.35)!important;box-shadow:0 12px 28px rgba(0,0,0,.10)!important}.support-articles-v6 .support-article b{font-size:11px!important}.support-articles-v6 .support-article small{font-size:8.5px!important;margin-top:5px!important}
.support-security-card{margin-top:16px!important;border-radius:15px!important;padding:14px!important}

/* Chat resembles a messenger conversation rather than a generic modal */
#chatModal .modal.wide{width:min(720px,calc(100vw - 22px))!important;max-width:720px!important;padding:0!important;overflow:hidden!important;border-radius:23px!important}
#chatModal .modal-close{top:14px!important;right:14px!important;z-index:5!important;background:rgba(255,255,255,.06)!important}
.ticket-chat-head-v10{padding:18px 64px 15px 18px!important;margin:0!important;min-height:78px!important;background:linear-gradient(180deg,var(--surface2),var(--surface))!important;border-bottom:1px solid var(--line)!important}
.ticket-chat-head-v10::before{content:"";width:44px;height:44px;flex:none;border-radius:50%;background:url('/logogame/support.gtaup-opt-v335.webp?v=21') center/cover no-repeat,linear-gradient(135deg,#745dff,#5037d2);border:2px solid rgba(124,92,255,.35);box-shadow:0 8px 22px rgba(75,52,211,.20)}
.ticket-chat-head-v10>div:first-child{flex:1}.ticket-chat-head-v10 .modal-title{font-size:13px!important}.ticket-chat-head-v10 .modal-sub{margin:3px 0 0!important;font-size:8px!important}
#chatModal .chat{height:610px!important;background:var(--surface)!important}
#chatModal .chat-messages{border-radius:0!important;padding:20px 18px!important;background:radial-gradient(340px 180px at 100% 0,rgba(124,92,255,.07),transparent 72%),var(--surface2)!important}
#chatModal .chat-row{gap:9px!important;margin:2px 0!important}.chat-avatar{width:36px!important;height:36px!important}.chat-bubble{padding:11px 13px!important;border-radius:17px!important;max-width:min(77%,490px)!important}.chat-row.user .chat-bubble{border-bottom-right-radius:5px!important}.chat-row.support .chat-bubble{border-bottom-left-radius:5px!important}.chat-text{font-size:11px!important;line-height:1.52!important}.chat-sender{font-size:9.5px!important}.chat-time{font-size:7.5px!important}
#chatModal .support-stickers-v12{padding:9px 14px!important;background:var(--surface)!important}.support-stickers-v12 button{width:36px!important;height:36px!important;border-radius:11px!important;transition:.15s transform!important}.support-stickers-v12 button:hover{transform:translateY(-2px) scale(1.04)}
#chatModal .chat-input{margin:0!important;padding:12px 14px 14px!important;background:var(--surface)!important;border-top:1px solid var(--line)!important}.chat-input input{height:48px!important;border-radius:14px!important;background:var(--surface2)!important}.chat-input button{height:48px!important;width:54px!important;border-radius:14px!important}

/* admin support gets the same messenger surface */
.admin-support-layout{grid-template-columns:350px minmax(0,1fr)!important;gap:12px!important;min-height:610px!important}.admin-chat-list,.admin-chat-view{border-radius:16px!important}.admin-chat-messages{min-height:450px!important;max-height:540px!important;padding:16px!important;background:var(--surface2)!important}.admin-chat-title{min-height:58px!important;display:flex!important;align-items:center!important}.admin-chat-input{padding:11px!important}.admin-chat-input input{height:43px!important}.admin-chat-input button{border-radius:11px!important;background:linear-gradient(135deg,#7963ff,#5137d0)!important;color:#fff!important;border:0!important}

/* cashout state */
#crashCashout.cashout-pending{opacity:.78;pointer-events:none;filter:saturate(.75)}
#crashCashout{transition:.14s transform,.14s opacity,.14s box-shadow}#crashCashout:not(.hidden):hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(231,157,20,.18)}

html[data-theme='light'] .support-v6-hero{background:#eef2f8!important}.support-v6-hero::before{opacity:1}html[data-theme='light'] .support-v6-hero::before{filter:brightness(.94) saturate(.92)}html[data-theme='light'] .support-v6-hero::after{background:linear-gradient(180deg,rgba(243,247,252,.02) 20%,rgba(242,246,251,.76) 67%,#eef2f8 100%)!important}html[data-theme='light'] .support-v6-hero h2,html[data-theme='light'] .support-v6-hero>p,html[data-theme='light'] .support-live-line{color:#133050!important;text-shadow:0 1px 4px rgba(255,255,255,.55)!important}html[data-theme='light'] .support-availability>div,html[data-theme='light'] .support-secondary-action{background:rgba(255,255,255,.78)!important;color:#133050!important;border-color:#d6deea!important}
@media(max-width:900px){.support-v6-grid{grid-template-columns:1fr!important}.support-v6-hero{min-height:440px!important;border-right:0!important;border-bottom:1px solid var(--line)!important}.support-live-line{margin-top:125px!important}.admin-support-layout{grid-template-columns:1fr!important}.admin-chat-list{max-height:240px!important}}
@media(max-width:650px){.nav-btn{min-height:64px!important}.nav-btn .nav-ic{width:66px!important;height:48px!important}.support-v6-main{padding:24px 18px!important}.support-v6-hero{padding:26px 20px!important}.support-v6-hero h2{font-size:29px!important}.chat-bubble{max-width:calc(100vw - 96px)!important}.ticket-chat-actions-v10{display:none!important}}


/* ================= GTAUP V18 UI / REALTIME FIX LAYER ================= */
.topbar-v5{height:82px!important;padding:0 24px!important;gap:12px!important;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 94%,transparent),color-mix(in srgb,var(--surface) 90%,transparent))!important;border-bottom:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;box-shadow:0 10px 34px rgba(0,0,0,.08)!important}
.top-actions-v18,.top-utility-v18{display:flex;align-items:center;gap:8px}.top-actions-v18{padding:5px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--surface2) 88%,transparent)}
.top-actions-v18 .top-btn{height:38px!important;border:0!important;border-radius:11px!important;padding:0 13px!important;box-shadow:none!important}.action-deposit-v18{background:linear-gradient(135deg,rgba(38,211,121,.13),rgba(38,211,121,.055))!important;color:var(--text)!important}.action-deposit-v18:hover{background:linear-gradient(135deg,rgba(38,211,121,.22),rgba(38,211,121,.09))!important;color:var(--green)!important}.action-withdraw-v18{background:transparent!important}.action-withdraw-v18:hover{background:rgba(124,92,255,.10)!important;color:var(--accentSoft)!important}.action-ic-v18{font-size:14px;font-weight:900}
.top-utility-v18{padding:4px;border-radius:15px;background:color-mix(in srgb,var(--surface2) 84%,transparent);border:1px solid var(--line)}.utility-btn-v18{width:36px!important;height:36px!important;border:0!important;border-radius:10px!important;background:transparent!important;font-size:14px!important}.utility-btn-v18:hover{background:var(--surface3)!important;transform:translateY(-1px)}
.auth-action-v18{height:42px!important;padding:0 15px!important;border-radius:12px!important;background:linear-gradient(135deg,#765bff,#5b3ee7)!important;box-shadow:0 8px 20px rgba(92,62,231,.22)!important}.auth-action-v18.logout-state{background:linear-gradient(135deg,rgba(239,68,68,.14),rgba(239,68,68,.07))!important;color:#ff7b84!important;border:1px solid rgba(239,68,68,.25)!important;box-shadow:none!important}.auth-action-v18.logout-state:hover{background:linear-gradient(135deg,rgba(239,68,68,.22),rgba(239,68,68,.12))!important;border-color:rgba(239,68,68,.42)!important}.auth-action-icon-v18{font-size:14px}
.sound-pill{height:42px!important;min-width:138px!important;border-radius:14px!important;padding:5px 10px 5px 5px!important;background:color-mix(in srgb,var(--surface2) 90%,transparent)!important;border:1px solid var(--line)!important;box-shadow:none!important}.sound-toggle{width:32px!important;height:32px!important;border-radius:10px!important;background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(124,92,255,.06))!important}.sound-toggle:hover{background:rgba(124,92,255,.22)!important}#soundVolume{width:78px!important}
.nav-btn{grid-template-columns:54px minmax(0,1fr) 18px!important;min-height:68px!important;padding:8px 11px!important;gap:11px!important}.nav-ic{width:50px!important;height:50px!important;border-radius:14px!important;overflow:hidden!important}.nav-ic img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;object-fit:contain!important;display:block!important}.nav-copy{min-width:0!important;align-self:center!important;overflow:hidden!important}.nav-title{font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.nav-sub{display:block!important;font-size:8px!important;line-height:1.25!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--muted2)!important}.nav-arrow{align-self:center!important}
.custom-upgrade-v18{position:relative!important;gap:8px!important;flex-wrap:wrap!important}.custom-reset-v18{height:34px;padding:0 11px;border-radius:9px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);font-size:9px;font-weight:800}.custom-reset-v18:hover{border-color:var(--accent);color:var(--accentSoft)}.manual-chance-badge-v18{height:25px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;background:rgba(255,200,87,.11);border:1px solid rgba(255,200,87,.24);color:var(--gold);font:800 7.5px "JetBrains Mono",monospace;letter-spacing:.7px}.custom-or-v18{color:var(--muted2);font-size:8px;font-weight:800}
[data-theme='light'] .top-actions-v18,[data-theme='light'] .top-utility-v18,[data-theme='light'] .sound-pill{background:#f5f7fb!important;border-color:#dfe4ef!important}.auth-action-v18.logout-state[data-theme='light']{background:#fff!important}
@media(max-width:900px){.top-actions-v18 .label,.auth-action-v18 .label{display:none}.top-actions-v18 .top-btn{width:38px;padding:0!important;justify-content:center}.sound-pill{min-width:112px!important}.top-utility-v18{gap:2px}}
@media(max-width:620px){.top-actions-v18{padding:3px}.top-utility-v18{display:none}.sound-pill{min-width:88px!important}#soundVolume{width:48px!important}.auth-action-v18{width:42px!important;padding:0!important;justify-content:center}.nav-btn{min-height:58px!important}}
/* ================= /GTAUP V18 ================= */


/* ===== GTAUP V20 ===== */
.promo-v20{position:relative!important;display:grid!important;grid-template-columns:64px minmax(220px,1fr) minmax(185px,auto) 145px auto!important;gap:16px!important;align-items:center!important;min-height:84px!important;padding:14px 16px!important;border-radius:20px!important;overflow:hidden!important;border:1px solid rgba(255,194,59,.28)!important;background:radial-gradient(520px 150px at 0 50%,rgba(255,178,37,.18),transparent 68%),radial-gradient(460px 160px at 68% 0,rgba(122,92,255,.14),transparent 72%),linear-gradient(115deg,#0e2847,#0e2847 50%,#133050)!important;box-shadow:0 20px 54px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.05)!important;transition:.2s!important}
.promo-v20:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 0 36%,rgba(255,255,255,.055) 46%,transparent 57%);transform:translateX(-50%);animation:promoShineV20 5.4s ease-in-out infinite}.promo-v20:after{content:"";position:absolute;left:80px;top:12px;bottom:12px;border-left:1px dashed rgba(255,211,112,.18)}.promo-v20:hover{transform:translateY(-2px)!important;border-color:rgba(255,207,87,.50)!important;box-shadow:0 25px 70px rgba(0,0,0,.25),0 0 42px rgba(255,188,48,.07)!important}
.promo-visual-v20{position:relative;width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#3c2e14,#0e2847);border:1px solid rgba(255,207,89,.28);box-shadow:inset 0 1px rgba(255,255,255,.07),0 10px 28px rgba(0,0,0,.20)}.promo-gift-v20{font-size:25px;filter:drop-shadow(0 5px 12px rgba(255,181,43,.25))}.promo-spark-v20{position:absolute;right:-5px;top:-7px;color:#ffd86d;font-size:14px;text-shadow:0 0 13px rgba(255,207,67,.8)}
.promo-main-v20{min-width:0}.promo-v20 .promo-label{font-size:8px!important;font-weight:900!important;letter-spacing:1.9px!important;color:#929fb7!important}.promo-v20 .promo-code{margin-top:4px!important;font:900 22px/1 "JetBrains Mono",monospace!important;letter-spacing:1.7px!important;color:#ffd252!important;text-shadow:0 0 24px rgba(255,194,48,.18)!important}.promo-hint-v20{margin-top:7px;font-size:8.5px;color:#78849a;font-weight:600}
.promo-reward-v20,.promo-clock-v20{position:relative;z-index:1;display:flex;flex-direction:column;gap:5px;padding:10px 13px;border-radius:13px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.065)}.promo-reward-v20 small,.promo-clock-v20 small{font-size:7.5px;text-transform:uppercase;letter-spacing:1px;color:#748096;font-weight:900}.promo-v20 .promo-bonus{padding:0!important;background:none!important;border:0!important;font:900 13px "JetBrains Mono",monospace!important;color:#43e69a!important}.promo-v20 .promo-timer{padding:0!important;background:none!important;border:0!important;font:900 14px "JetBrains Mono",monospace!important;color:#f0f3fa!important}.promo-copy-v20{position:relative;z-index:2!important;height:43px!important;padding:0 15px!important;display:flex!important;align-items:center!important;gap:8px!important;border-radius:12px!important;border:1px solid rgba(151,130,255,.30)!important;background:linear-gradient(135deg,rgba(126,103,255,.22),rgba(84,61,209,.19))!important;color:#ded9ff!important;font-size:9px!important;font-weight:900!important;white-space:nowrap}.promo-copy-v20:hover{background:linear-gradient(135deg,#826bff,#5c43dc)!important;color:#fff!important;border-color:transparent!important}
@keyframes promoShineV20{0%,55%{transform:translateX(-50%)}75%,100%{transform:translateX(155%)}}
html[data-theme='light'] .promo-v20{background:radial-gradient(520px 150px at 0 50%,rgba(255,180,39,.13),transparent 68%),radial-gradient(460px 160px at 68% 0,rgba(122,92,255,.09),transparent 72%),linear-gradient(115deg,#fffdf8,#fff 50%,#f7f8fc)!important;border-color:#e8d8ae!important;box-shadow:0 16px 42px rgba(55,61,82,.10)!important}html[data-theme='light'] .promo-v20 .promo-code{color:#b97800!important;text-shadow:none!important}html[data-theme='light'] .promo-reward-v20,html[data-theme='light'] .promo-clock-v20{background:#f8f9fc!important;border-color:#e5e9f1!important}html[data-theme='light'] .promo-v20 .promo-timer{color:#193859!important}html[data-theme='light'] .promo-hint-v20{color:#7b8496!important}
.custom-upgrade-v18 input#customChance{border-color:rgba(124,92,255,.36)!important;background:linear-gradient(145deg,var(--surface2),var(--surface))!important}.manual-chance-badge-v18{animation:manualPulseV20 1.8s ease-in-out infinite}@keyframes manualPulseV20{50%{box-shadow:0 0 18px rgba(124,92,255,.18)}}
@media(max-width:980px){.promo-v20{grid-template-columns:54px 1fr auto!important}.promo-reward-v20{grid-column:2/3}.promo-clock-v20{grid-column:3/4;grid-row:1/3}.promo-copy-v20{grid-column:1/-1}.promo-v20:after{display:none}}
@media(max-width:650px){.promo-v20{grid-template-columns:48px minmax(0,1fr)!important;padding:12px!important}.promo-clock-v20{grid-column:1/-1;grid-row:auto;flex-direction:row;justify-content:space-between}.promo-reward-v20{grid-column:2/3}.promo-v20 .promo-code{font-size:17px!important}.promo-hint-v20{display:none}}


/* ===== GTAUP V21 account guard + ticket fixes ===== */
.support-ticket-v21{width:100%;appearance:none;text-align:left;cursor:pointer;color:var(--text);font-family:inherit}
.support-ticket-v21:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 54%,var(--line));box-shadow:0 12px 28px rgba(0,0,0,.10)}
.account-ban-overlay-v21{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(4,6,12,.92);backdrop-filter:blur(14px)}
.account-ban-overlay-v21.active{display:flex}.account-ban-card-v21{width:min(560px,94vw);padding:30px;border-radius:24px;border:1px solid rgba(255,89,110,.28);background:radial-gradient(500px 220px at 50% 0,rgba(255,65,90,.14),transparent 72%),linear-gradient(160deg,#0e2847,#0e2847);box-shadow:0 40px 120px rgba(0,0,0,.55);text-align:center;color:#fff}.account-ban-icon-v21{width:72px;height:72px;border-radius:22px;margin:0 auto 16px;display:grid;place-items:center;font-size:30px;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.26);color:#ff667b}.account-ban-card-v21 h2{font-size:24px;margin-bottom:8px}.account-ban-card-v21 p{font-size:12px;line-height:1.65;color:#aeb7c8}.account-ban-card-v21 .reason{margin:16px 0 18px;padding:12px 14px;border-radius:12px;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.18);font-size:11px;color:#ffd3da}.account-ban-card-v21 button{height:42px;padding:0 18px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#133050;color:#fff;font-weight:800;cursor:pointer}.account-ban-card-v21 button.primary{background:linear-gradient(135deg,#438fe5,#5b3fff);border:0;margin-right:8px}.account-frozen .content .page.active{pointer-events:none!important;user-select:none!important;filter:saturate(.55) blur(.3px);opacity:.58!important}


/* ==================== GTAUP V23 ==================== */
/* Sidebar art: crop the generated embedded captions and keep our real labels readable. */
.nav-btn{grid-template-columns:66px minmax(0,1fr) 18px!important;min-height:70px!important;padding:8px 11px!important;gap:12px!important}
.nav-btn .nav-ic{width:66px!important;height:50px!important;border-radius:14px!important;padding:0!important;overflow:hidden!important;background:#0e2847!important;border:1px solid color-mix(in srgb,var(--line) 88%,transparent)!important;position:relative!important}
.nav-btn .nav-ic img{position:absolute!important;left:50%!important;top:43%!important;width:78px!important;height:78px!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 28%!important;transform:translate(-50%,-50%) scale(1.12)!important;filter:saturate(1.06) contrast(1.04)!important}
.nav-btn .nav-ic:after{content:"";position:absolute;left:0;right:0;bottom:0;height:13px;background:linear-gradient(transparent,rgba(7,11,18,.94));pointer-events:none}
.nav-btn.active .nav-ic{border-color:rgba(143,116,255,.42)!important;box-shadow:0 10px 28px rgba(91,62,215,.18)!important;background:#0e2847!important}
.nav-copy{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;position:relative!important;z-index:2!important}.nav-title{font-size:12.5px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.nav-sub{font-size:8px!important;line-height:1.2!important;margin-top:5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#adminNav .nav-ic{width:50px!important;height:50px!important;margin-left:8px!important}#adminNav{grid-template-columns:66px minmax(0,1fr) 18px!important}

/* Cleaner wheel: thin premium ring + glass information card instead of a giant inner circle. */
.wheel-card-v5{padding:24px 24px 22px!important;border-radius:26px!important;background:radial-gradient(420px 240px at 50% 42%,rgba(128,102,255,.085),transparent 68%),linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 86%,var(--surface)))!important}
.upgrade-stage .wheel{width:390px!important;height:390px!important;margin:-6px auto 8px!important}
.wheel-track{inset:23px!important;background:transparent!important;border:1px solid color-mix(in srgb,var(--line2) 76%,transparent)!important;box-shadow:0 0 0 8px color-mix(in srgb,var(--surface2) 65%,transparent),inset 0 0 0 1px rgba(255,255,255,.025)!important}
.wheel-rotor{inset:30px!important;border-radius:50%!important;background:conic-gradient(from 0deg,#ff526d 0deg var(--successStart,180deg),#2fd880 var(--successStart,180deg),#51eda0 var(--successMid,180deg),#23be6c var(--successEnd,180deg),#ff526d var(--successEnd,180deg) 360deg)!important;box-shadow:none!important;-webkit-mask:radial-gradient(circle,transparent 0 69%,#000 69.5% 88%,transparent 88.5%)!important;mask:radial-gradient(circle,transparent 0 69%,#000 69.5% 88%,transparent 88.5%)!important}
.wheel-rotor:before{inset:0!important;opacity:.24!important;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.55) 0 .55deg,transparent .55deg 7.5deg)!important;-webkit-mask:radial-gradient(circle,transparent 0 80%,#000 80.5% 88%,transparent 88.5%)!important;mask:radial-gradient(circle,transparent 0 80%,#000 80.5% 88%,transparent 88.5%)!important}
.wheel-rotor-inner{display:none!important}
.wheel-center{width:188px!important;height:122px!important;border-radius:25px!important;background:linear-gradient(160deg,color-mix(in srgb,var(--surface3) 92%,#519fea 8%),var(--surface))!important;border:1px solid color-mix(in srgb,var(--line2) 90%,transparent)!important;box-shadow:0 20px 52px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;padding:14px!important}
.wheel-center:before{display:none!important}.wheel-kicker{font-size:8px!important;letter-spacing:1.55px!important}.wheel-chance{font-size:38px!important;margin-top:4px!important;letter-spacing:-1.8px!important}.wheel-risk-label{font-size:9px!important;margin-top:1px!important}.wheel-formula{font-size:7.5px!important;max-width:156px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:5px!important}
.wheel-scale-label.top{top:15px!important}.wheel-scale-label.right{bottom:15px!important}.wheel-scale-label.q1{right:25px!important}.wheel-scale-label.q3{left:25px!important}.wheel-scale-label{font-size:8px!important;opacity:.72!important}
.pointer-hub{width:18px!important;height:18px!important;border-width:1px!important;box-shadow:0 5px 16px rgba(0,0,0,.34)!important}.pointer-beam{height:77px!important;bottom:26px!important;width:2px!important}.pointer-tip{width:27px!important;height:34px!important;bottom:7px!important}
.chance-legend{max-width:350px!important;margin-top:-4px!important}.chance-bar{max-width:350px!important;height:7px!important;margin-bottom:12px!important}
.spin-speed-v23{max-width:350px;margin:0 auto 12px;padding:7px 8px 7px 11px;border-radius:13px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface2) 88%,transparent);display:flex;align-items:center;justify-content:space-between;gap:10px}.spin-speed-label-v23{font-size:8px;font-weight:800;color:var(--muted2);text-transform:uppercase;letter-spacing:.8px}.spin-speed-switch-v23{display:flex;gap:4px;padding:3px;border-radius:10px;background:color-mix(in srgb,var(--bg) 35%,transparent);border:1px solid color-mix(in srgb,var(--line) 70%,transparent)}.spin-speed-switch-v23 button{height:30px;border:0;border-radius:8px;padding:0 10px;background:transparent;color:var(--muted);font:800 8px "JetBrains Mono",monospace;cursor:pointer}.spin-speed-switch-v23 button small{opacity:.55;font-size:7px;margin-left:3px}.spin-speed-switch-v23 button.active{background:linear-gradient(135deg,#519fea,#317ed0);color:#fff;box-shadow:0 6px 16px rgba(94,65,224,.24)}
.upgrade-btn{max-width:350px!important;height:54px!important;border-radius:15px!important}.upgrade-btn.spinning:after{content:""!important}.upgrade-btn.spinning span:last-child:after{content:" · КРУТИМ";font:800 8px "JetBrains Mono",monospace;opacity:.7}
@media(max-width:620px){.upgrade-stage .wheel{width:min(350px,92vw)!important;height:min(350px,92vw)!important}.wheel-center{width:164px!important;height:108px!important}.wheel-chance{font-size:32px!important}.spin-speed-v23{max-width:320px}.nav-btn{grid-template-columns:58px minmax(0,1fr) 14px!important}.nav-btn .nav-ic{width:58px!important;height:46px!important}}



/* ========================================================================
   GTAUP V24 — UPGRADE WHEEL + HEADER DOCK
   Restores the V22 spin motion; improves sector readability and controls.
   ======================================================================== */
.header-dock-v24{
  display:flex;align-items:center;gap:5px;padding:5px;
  border:1px solid color-mix(in srgb,var(--line2) 72%,transparent);
  border-radius:18px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 94%,transparent),color-mix(in srgb,var(--surface2) 90%,transparent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 32px rgba(0,0,0,.12);
}
.header-dock-v24 .top-actions-v18,.header-dock-v24 .top-utility-v18{
  padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;gap:4px!important;
}
.header-dock-v24 .top-btn{transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.header-dock-v24 .top-actions-v18 .top-btn{
  height:40px!important;border:1px solid transparent!important;border-radius:12px!important;padding:0 13px 0 8px!important;gap:8px!important;
  background:transparent!important;color:var(--text)!important;
}
.header-dock-v24 .action-ic-v18{
  width:27px;height:27px;border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:900;flex:0 0 auto;
}
.header-dock-v24 .deposit-ic-v24{background:linear-gradient(135deg,rgba(37,220,126,.24),rgba(37,220,126,.08));color:#5bf2a1;box-shadow:inset 0 0 0 1px rgba(70,239,155,.10)}
.header-dock-v24 .withdraw-ic-v24{background:linear-gradient(135deg,rgba(125,102,255,.24),rgba(125,102,255,.08));color:#b9a9ff;box-shadow:inset 0 0 0 1px rgba(156,136,255,.10)}
.header-dock-v24 .action-deposit-v18:hover{background:rgba(37,220,126,.075)!important;border-color:rgba(37,220,126,.16)!important;transform:translateY(-1px)}
.header-dock-v24 .action-withdraw-v18:hover{background:rgba(125,102,255,.075)!important;border-color:rgba(125,102,255,.16)!important;transform:translateY(-1px)}
.dock-sep-v24{width:1px;height:26px;background:linear-gradient(180deg,transparent,var(--line2),transparent);opacity:.75;margin:0 2px}
.header-dock-v24 .sound-pill{
  min-width:132px!important;height:40px!important;padding:4px 8px 4px 4px!important;gap:8px!important;border:0!important;border-radius:12px!important;
  background:transparent!important;box-shadow:none!important;
}
.header-dock-v24 .sound-toggle{
  width:32px!important;height:32px!important;border-radius:10px!important;border:1px solid rgba(128,102,255,.13)!important;
  background:linear-gradient(145deg,rgba(128,102,255,.16),rgba(128,102,255,.055))!important;color:var(--accentSoft)!important;
}
.header-dock-v24 #soundVolume{width:78px!important;height:4px!important;background:linear-gradient(90deg,var(--accent) 0 var(--soundPct,65%),color-mix(in srgb,var(--line2) 86%,transparent) var(--soundPct,65%) 100%)!important}
.header-dock-v24 #soundVolume::-webkit-slider-thumb{width:13px!important;height:13px!important;border:2px solid #fff!important;background:var(--accent)!important;box-shadow:0 0 0 3px rgba(128,102,255,.12),0 3px 8px rgba(0,0,0,.22)!important}
.header-dock-v24 .utility-btn-v18{
  width:38px!important;height:38px!important;border:1px solid transparent!important;border-radius:11px!important;
  background:transparent!important;color:var(--muted)!important;filter:saturate(.78);font-size:13px!important;
}
.header-dock-v24 .utility-btn-v18:hover{background:var(--surface3)!important;border-color:var(--line)!important;color:var(--text)!important;filter:none;transform:translateY(-1px)}
.header-dock-v24 .auth-action-v18{
  height:40px!important;margin-left:2px!important;padding:0 13px!important;border-radius:12px!important;border:1px solid rgba(128,102,255,.20)!important;
  background:linear-gradient(135deg,rgba(128,102,255,.20),rgba(98,72,224,.13))!important;color:#dcd5ff!important;box-shadow:none!important;
}
.header-dock-v24 .auth-action-v18:hover{transform:translateY(-1px);border-color:rgba(145,123,255,.38)!important;background:linear-gradient(135deg,rgba(128,102,255,.28),rgba(98,72,224,.18))!important}
.header-dock-v24 .auth-action-v18.logout-state{
  color:#ff8792!important;border-color:rgba(255,94,108,.22)!important;background:linear-gradient(135deg,rgba(255,94,108,.11),rgba(255,94,108,.035))!important;
}
.header-dock-v24 .auth-action-v18.logout-state:hover{border-color:rgba(255,94,108,.40)!important;background:linear-gradient(135deg,rgba(255,94,108,.18),rgba(255,94,108,.07))!important}

/* Upgrade wheel: high contrast sectors without falsifying their size. */
.wheel-card-v5{
  background:radial-gradient(430px 260px at 50% 48%,rgba(99,76,224,.075),transparent 67%),linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 88%,var(--surface)))!important;
  border:1px solid color-mix(in srgb,var(--line2) 70%,transparent)!important;border-radius:24px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.upgrade-stage .wheel{width:406px!important;height:406px!important;margin:-22px auto -19px!important;filter:drop-shadow(0 24px 52px rgba(0,0,0,.28))!important}
.wheel-track{inset:24px!important;background:color-mix(in srgb,var(--surface2) 94%,#133050)!important;box-shadow:inset 0 0 0 1px var(--line),inset 0 0 0 18px rgba(0,0,0,.14),0 0 0 8px color-mix(in srgb,var(--surface) 78%,transparent)!important}
.wheel-rotor{
  inset:31px!important;z-index:2!important;border:0!important;
  background:conic-gradient(from 0deg,
    #f04e65 0deg var(--successStart,180deg),
    #16d978 var(--successStart,180deg),
    #67f7ac var(--successMid,180deg),
    #17c96d var(--successEnd,180deg),
    #f04e65 var(--successEnd,180deg) 360deg)!important;
  box-shadow:inset 0 0 0 24px var(--surface),inset 0 0 0 26px rgba(255,255,255,.045),0 0 0 1px rgba(255,255,255,.055),0 18px 60px rgba(0,0,0,.24)!important;
  filter:saturate(1.15) brightness(1.04)!important;transform:none!important;transition:none!important;
}
.wheel-rotor:before{
  content:"";position:absolute;inset:-12px!important;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.20) 0 .65deg,transparent .65deg 7.5deg)!important;
  mask:radial-gradient(circle,transparent 0 88%,#000 88.5% 91%,transparent 91.5%)!important;-webkit-mask:radial-gradient(circle,transparent 0 88%,#000 88.5% 91%,transparent 91.5%)!important;opacity:.42!important;
}
.wheel-rotor:after{
  content:"";position:absolute;inset:-1px;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 0deg,
    transparent 0deg calc(var(--successStart,180deg) - .85deg),
    rgba(220,255,237,.95) calc(var(--successStart,180deg) - .85deg) calc(var(--successStart,180deg) + .85deg),
    transparent calc(var(--successStart,180deg) + .85deg) calc(var(--successEnd,180deg) - .85deg),
    rgba(220,255,237,.95) calc(var(--successEnd,180deg) - .85deg) calc(var(--successEnd,180deg) + .85deg),
    transparent calc(var(--successEnd,180deg) + .85deg) 360deg);
  mask:radial-gradient(circle,transparent 0 74%,#000 74.5% 100%);-webkit-mask:radial-gradient(circle,transparent 0 74%,#000 74.5% 100%);
  filter:drop-shadow(0 0 5px rgba(45,232,134,.85));opacity:.88;
}
.wheel-rotor-inner{position:absolute;inset:33px!important;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.075) 0 1.5deg,transparent 1.5deg 9deg)!important;mask:radial-gradient(circle,transparent 0 75%,#000 75.5% 100%)!important;-webkit-mask:radial-gradient(circle,transparent 0 75%,#000 75.5% 100%)!important}
.wheel-center{
  width:46%!important;height:46%!important;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--surface3) 88%,#519fea 12%),var(--surface) 73%)!important;
  border:1px solid color-mix(in srgb,var(--line2) 78%,transparent)!important;box-shadow:0 18px 45px rgba(0,0,0,.22),inset 0 0 0 6px color-mix(in srgb,var(--surface2) 58%,transparent)!important;
}
.wheel-center:before{content:""!important;display:none!important}.wheel-chance{font-size:42px!important;color:var(--text)!important;text-shadow:none!important}.wheel-risk-label{color:var(--muted)!important}.wheel-formula{color:var(--muted2)!important}
.wheel-pointer{position:absolute;inset:0;z-index:16!important;transform:rotate(0deg);transform-origin:50% 50%;will-change:transform;pointer-events:none;filter:drop-shadow(0 9px 12px rgba(0,0,0,.28))!important}
.pointer-hub{display:none!important}
.pointer-beam{
  position:absolute!important;left:50%!important;bottom:40px!important;width:2px!important;height:82px!important;transform:translateX(-50%)!important;border-radius:3px!important;
  background:linear-gradient(0deg,#ffffff 0 7%,#e6e1ff 14%,rgba(133,108,255,.62) 40%,rgba(133,108,255,.13) 77%,transparent 100%)!important;
  filter:drop-shadow(0 0 5px rgba(128,102,255,.42))!important;
}
.pointer-tip{
  position:absolute!important;left:50%!important;bottom:18px!important;width:22px!important;height:27px!important;transform:translateX(-50%)!important;
  clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%)!important;background:linear-gradient(180deg,#fff 0,#ece8ff 40%,#8b75ff 100%)!important;
  filter:drop-shadow(0 0 7px rgba(134,108,255,.75))!important;
}
.chance-pill.win span{background:#24e184!important;box-shadow:0 0 10px rgba(36,225,132,.60)!important}.chance-pill.lose span{background:#f04e65!important}.chance-bar{background:#f04e65!important}.chance-bar-win{background:linear-gradient(90deg,#18c970,#5cf3a4)!important}
.spin-speed-v23{display:none!important}

/* Explicit light-mode wheel — do not let old black/white overrides erase sectors. */
html[data-theme='light'] .header-dock-v24{background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(244,247,252,.96))!important;border-color:#dce3ed!important;box-shadow:0 10px 28px rgba(31,41,55,.08),inset 0 1px #fff!important}
html[data-theme='light'] .header-dock-v24 .sound-pill,html[data-theme='light'] .header-dock-v24 .top-actions-v18,html[data-theme='light'] .header-dock-v24 .top-utility-v18{background:transparent!important;border:0!important}
html[data-theme='light'] .wheel-card-v5{background:radial-gradient(430px 260px at 50% 48%,rgba(124,92,255,.075),transparent 67%),linear-gradient(180deg,#fff,#f4f7fb)!important;border-color:#dce4ee!important}
html[data-theme='light'] .wheel-track{background:#e9eef5!important;box-shadow:inset 0 0 0 1px #d8e0ea,inset 0 0 0 18px rgba(72,84,107,.08),0 0 0 8px rgba(255,255,255,.9)!important}
html[data-theme='light'] .wheel-rotor{background:conic-gradient(from 0deg,#ef5369 0deg var(--successStart,180deg),#12ca70 var(--successStart,180deg),#54eba0 var(--successMid,180deg),#0fbb64 var(--successEnd,180deg),#ef5369 var(--successEnd,180deg) 360deg)!important;box-shadow:inset 0 0 0 24px #fff,inset 0 0 0 26px rgba(32,44,65,.035),0 0 0 1px #d7dfe9,0 18px 45px rgba(31,41,55,.10)!important;filter:saturate(1.1)!important}
html[data-theme='light'] .wheel-center{background:radial-gradient(circle at 50% 30%,#fff,#edf2f8 74%)!important;border-color:#d6dfea!important;box-shadow:0 15px 34px rgba(44,57,80,.10),inset 0 0 0 6px rgba(232,237,245,.78)!important}

@media(max-width:1120px){.header-dock-v24 .top-actions-v18 .label,.header-dock-v24 .auth-action-v18 .label{display:none}.header-dock-v24 .top-actions-v18 .top-btn{width:40px!important;padding:0!important;justify-content:center}.header-dock-v24 .auth-action-v18{width:40px!important;padding:0!important;justify-content:center}.dock-sep-v24{margin:0}}
@media(max-width:900px){.header-dock-v24{gap:2px;padding:4px}.header-dock-v24 .sound-pill{min-width:42px!important;width:42px!important;padding:4px!important}.header-dock-v24 .sound-pill input{display:none!important}.header-dock-v24 .top-utility-v18{gap:1px!important}.dock-sep-v24{display:none}}
@media(max-width:620px){.header-dock-v24 .top-utility-v18{display:none!important}.header-dock-v24{border:0;background:transparent;box-shadow:none;padding:0}.upgrade-stage .wheel{width:min(340px,92vw)!important;height:min(340px,92vw)!important}.pointer-beam{height:68px!important;bottom:35px!important}.pointer-tip{bottom:14px!important}}


/* ===== GTAUP V25: clean avatars ===== */
.avatar,.account-avatar,.profile-avatar-v5,.avatar-preset{box-sizing:border-box}
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;display:block;object-fit:cover}
.account-avatar{
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  border-radius:50%!important;overflow:hidden!important;
  background:linear-gradient(145deg,var(--surface3),var(--surface2))!important;
  border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 7%,transparent),0 6px 16px rgba(0,0,0,.15)!important;
}
.account-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:50%!important}
.profile-avatar-v5{
  width:86px!important;height:86px!important;border-radius:50%!important;overflow:hidden!important;
  background:linear-gradient(145deg,var(--surface3),var(--surface2))!important;
  border:1px solid color-mix(in srgb,var(--accent) 36%,var(--line))!important;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 8%,transparent),0 18px 38px rgba(0,0,0,.22)!important;
}
.profile-avatar-v5 img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:50%!important}
.avatar-presets{gap:10px!important}
.avatar-preset{
  aspect-ratio:1;border-radius:16px!important;border:1px solid var(--line)!important;
  background:linear-gradient(145deg,var(--surface2),var(--surface3))!important;
  box-shadow:none!important;transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
.avatar-preset:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 42%,var(--line))!important}
.avatar-preset.active{
  border-color:color-mix(in srgb,var(--accent) 72%,#fff 0%)!important;
  background:color-mix(in srgb,var(--accent) 11%,var(--surface2))!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent),0 0 0 3px color-mix(in srgb,var(--accent) 7%,transparent)!important;
}
[data-theme='light'] .account-avatar,[data-theme='light'] .profile-avatar-v5{box-shadow:0 0 0 3px rgba(109,79,240,.06),0 8px 20px rgba(30,42,70,.10)!important}


/* ===== GTAUP V25 FIX: restore full WIN/LOSE sectors ===== */
.wheel-rotor{
  -webkit-mask:radial-gradient(circle,transparent 0 36%,#000 36.5% 96%,transparent 96.5%)!important;
  mask:radial-gradient(circle,transparent 0 36%,#000 36.5% 96%,transparent 96.5%)!important;
  background:conic-gradient(from 0deg,
    #ef5068 0deg var(--successStart,180deg),
    #16d878 var(--successStart,180deg),
    #63f3aa var(--successMid,180deg),
    #17c86e var(--successEnd,180deg),
    #ef5068 var(--successEnd,180deg) 360deg)!important;
  box-shadow:0 18px 56px rgba(0,0,0,.20),0 0 0 1px rgba(255,255,255,.045)!important;
  filter:saturate(1.12) brightness(1.03)!important;
}
.wheel-rotor:before{
  -webkit-mask:radial-gradient(circle,transparent 0 80%,#000 80.5% 95%,transparent 95.5%)!important;
  mask:radial-gradient(circle,transparent 0 80%,#000 80.5% 95%,transparent 95.5%)!important;
  opacity:.30!important;
}
.wheel-rotor:after{
  -webkit-mask:radial-gradient(circle,transparent 0 35%,#000 35.5% 96%,transparent 96.5%)!important;
  mask:radial-gradient(circle,transparent 0 35%,#000 35.5% 96%,transparent 96.5%)!important;
  opacity:.95!important;
}
html[data-theme='light'] .wheel-rotor{
  -webkit-mask:radial-gradient(circle,transparent 0 36%,#000 36.5% 96%,transparent 96.5%)!important;
  mask:radial-gradient(circle,transparent 0 36%,#000 36.5% 96%,transparent 96.5%)!important;
  background:conic-gradient(from 0deg,
    #eb5268 0deg var(--successStart,180deg),
    #12ca70 var(--successStart,180deg),
    #55e99f var(--successMid,180deg),
    #0fbb64 var(--successEnd,180deg),
    #eb5268 var(--successEnd,180deg) 360deg)!important;
  box-shadow:0 18px 45px rgba(31,41,55,.10),0 0 0 1px #d7dfe9!important;
}


/* ===== GTAUP V26 — premium wheel + stable realtime support ===== */
.wheel-card-v5{
  background:
    radial-gradient(360px 240px at 50% 46%,rgba(112,86,255,.10),transparent 70%),
    linear-gradient(180deg,color-mix(in srgb,var(--surface) 97%,#133050 3%),color-mix(in srgb,var(--surface2) 94%,#0e2847 6%))!important;
  border:1px solid color-mix(in srgb,var(--line2) 78%,transparent)!important;
  box-shadow:0 26px 80px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.upgrade-stage .wheel{width:402px!important;height:402px!important;margin:-19px auto -16px!important;filter:drop-shadow(0 22px 48px rgba(0,0,0,.23))!important}
.wheel-track{
  inset:22px!important;
  background:radial-gradient(circle at 50% 46%,color-mix(in srgb,var(--surface2) 94%,#133050),color-mix(in srgb,var(--surface) 94%,#0e2847))!important;
  box-shadow:0 0 0 1px var(--line),0 0 0 8px color-mix(in srgb,var(--surface) 78%,transparent),inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.wheel-rotor{
  inset:29px!important;
  -webkit-mask:radial-gradient(circle,transparent 0 54%,#000 54.6% 88.5%,transparent 89.1%)!important;
  mask:radial-gradient(circle,transparent 0 54%,#000 54.6% 88.5%,transparent 89.1%)!important;
  background:conic-gradient(from 0deg,
    #df4259 0deg var(--successStart,180deg),
    #1fd17a var(--successStart,180deg),
    #63efaa var(--successMid,180deg),
    #19bf6d var(--successEnd,180deg),
    #df4259 var(--successEnd,180deg) 360deg)!important;
  box-shadow:none!important;
  filter:saturate(1.08) contrast(1.02)!important;
}
.wheel-rotor:before{
  content:""!important;position:absolute!important;inset:-3px!important;border-radius:50%!important;
  background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.18) 0 .45deg,transparent .45deg 6deg)!important;
  -webkit-mask:radial-gradient(circle,transparent 0 85.2%,#000 85.7% 89%,transparent 89.5%)!important;
  mask:radial-gradient(circle,transparent 0 85.2%,#000 85.7% 89%,transparent 89.5%)!important;
  opacity:.42!important;
}
.wheel-rotor:after{
  content:""!important;position:absolute!important;inset:0!important;border-radius:50%!important;pointer-events:none!important;
  background:conic-gradient(from 0deg,
    transparent 0deg calc(var(--successStart,180deg) - .65deg),
    rgba(215,255,236,.94) calc(var(--successStart,180deg) - .65deg) calc(var(--successStart,180deg) + .65deg),
    transparent calc(var(--successStart,180deg) + .65deg) calc(var(--successEnd,180deg) - .65deg),
    rgba(215,255,236,.94) calc(var(--successEnd,180deg) - .65deg) calc(var(--successEnd,180deg) + .65deg),
    transparent calc(var(--successEnd,180deg) + .65deg) 360deg)!important;
  -webkit-mask:radial-gradient(circle,transparent 0 53.8%,#000 54.4% 89%,transparent 89.5%)!important;
  mask:radial-gradient(circle,transparent 0 53.8%,#000 54.4% 89%,transparent 89.5%)!important;
  filter:drop-shadow(0 0 5px rgba(31,209,122,.7))!important;opacity:.9!important;
}
.wheel-rotor-inner{display:none!important}
.wheel-center{
  width:182px!important;height:182px!important;border-radius:50%!important;padding:20px!important;
  background:
    radial-gradient(circle at 50% 26%,rgba(126,101,255,.13),transparent 42%),
    linear-gradient(155deg,color-mix(in srgb,var(--surface3) 88%,#133050 12%),color-mix(in srgb,var(--surface) 97%,#0e2847 3%))!important;
  border:1px solid color-mix(in srgb,var(--line2) 86%,transparent)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.045),0 0 0 6px color-mix(in srgb,var(--surface) 62%,transparent)!important;
}
.wheel-kicker{font-size:8px!important;letter-spacing:1.7px!important;color:var(--muted2)!important}
.wheel-chance{font-size:37px!important;letter-spacing:-1.8px!important;margin-top:7px!important;color:var(--text)!important;text-shadow:none!important}
.wheel-risk-label{font-size:9px!important;margin-top:3px!important;color:var(--muted)!important}
.wheel-formula{font-size:7.2px!important;margin-top:6px!important;max-width:145px!important;color:var(--muted2)!important}
.wheel-pointer{z-index:20!important;filter:drop-shadow(0 8px 13px rgba(0,0,0,.38))!important}
.pointer-beam{
  left:50%!important;bottom:44px!important;width:3px!important;height:94px!important;transform:translateX(-50%)!important;border-radius:4px!important;
  background:linear-gradient(0deg,#f7f8ff 0 8%,#cfc7ff 16%,#60aff5 42%,rgba(139,116,255,.34) 72%,transparent 100%)!important;
  box-shadow:0 0 8px rgba(132,104,255,.36)!important;
}
.pointer-tip{
  left:50%!important;bottom:22px!important;width:24px!important;height:29px!important;transform:translateX(-50%)!important;
  clip-path:polygon(50% 0,96% 100%,50% 78%,4% 100%)!important;
  background:linear-gradient(180deg,#fff 0,#e8e3ff 42%,#8b72ff 100%)!important;
  filter:drop-shadow(0 0 7px rgba(135,107,255,.72))!important;
}
.pointer-hub{display:none!important}
.wheel-scale-label{font-size:7.5px!important;color:var(--muted2)!important;opacity:.76!important}.wheel-scale-label.top{top:19px!important}.wheel-scale-label.q1{right:28px!important}.wheel-scale-label.right{bottom:19px!important}.wheel-scale-label.q3{left:28px!important}
.chance-legend{max-width:330px!important;gap:8px!important}.chance-pill{background:color-mix(in srgb,var(--surface2) 91%,transparent)!important;border-color:var(--line)!important;border-radius:10px!important;padding:8px 11px!important}.chance-pill.win span{background:#26db83!important}.chance-pill.lose span{background:#df4259!important}
.chance-bar{max-width:330px!important;height:5px!important;background:#df4259!important}.chance-bar-win{background:linear-gradient(90deg,#19bf6d,#62eeaa)!important}
html[data-theme='light'] .wheel-track{background:#edf2f7!important;box-shadow:0 0 0 1px #dae2ec,0 0 0 8px rgba(255,255,255,.9)!important}
html[data-theme='light'] .wheel-rotor{background:conic-gradient(from 0deg,#e74d62 0deg var(--successStart,180deg),#16c972 var(--successStart,180deg),#58e9a0 var(--successMid,180deg),#10b966 var(--successEnd,180deg),#e74d62 var(--successEnd,180deg) 360deg)!important}
html[data-theme='light'] .wheel-center{background:radial-gradient(circle at 50% 26%,rgba(109,79,240,.08),transparent 42%),linear-gradient(155deg,#fff,#edf2f8)!important;border-color:#d8e0ea!important;box-shadow:0 15px 34px rgba(44,57,80,.10),inset 0 1px #fff,0 0 0 6px rgba(255,255,255,.76)!important}
@media(max-width:620px){.upgrade-stage .wheel{width:min(342px,92vw)!important;height:min(342px,92vw)!important}.wheel-center{width:154px!important;height:154px!important}.wheel-chance{font-size:31px!important}.pointer-beam{height:75px!important;bottom:39px!important}.pointer-tip{bottom:18px!important}}

.admin-support-live-v26{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:rgba(38,219,131,.08);border:1px solid rgba(38,219,131,.18);color:#56eaa0;font:800 8px "JetBrains Mono",monospace}.admin-support-live-v26:before{content:"";width:6px;height:6px;border-radius:50%;background:#25d981;box-shadow:0 0 10px rgba(37,217,129,.7)}


/* ===== GTAUP V27 · PREMIUM UPGRADE WHEEL ===== */
.wheel-card-v5{background:radial-gradient(520px 300px at 50% 46%,rgba(116,91,255,.09),transparent 66%),linear-gradient(180deg,#0e2847,#0e2847)!important;border:1px solid rgba(130,145,175,.17)!important;border-radius:26px!important;box-shadow:0 28px 90px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025)!important;overflow:hidden!important}
.upgrade-stage .wheel{width:410px!important;height:410px!important;margin:-16px auto -10px!important;position:relative!important}
.wheel:before{content:""!important;position:absolute!important;inset:20px!important;border-radius:50%!important;background:repeating-conic-gradient(from -1deg,rgba(255,255,255,.20) 0 .6deg,transparent .6deg 6deg)!important;mask:radial-gradient(circle,transparent 0 89%,#000 89.4% 91.2%,transparent 91.7%)!important;-webkit-mask:radial-gradient(circle,transparent 0 89%,#000 89.4% 91.2%,transparent 91.7%)!important;opacity:.42!important;z-index:1!important;pointer-events:none!important}
.wheel:after{content:""!important;position:absolute!important;inset:42px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.045)!important;box-shadow:0 0 0 9px rgba(93,68,220,.025),inset 0 0 34px rgba(0,0,0,.20)!important;z-index:1!important;pointer-events:none!important}
.wheel-track{position:absolute!important;inset:29px!important;border-radius:50%!important;background:linear-gradient(145deg,#133050,#0e2847)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.055),0 20px 65px rgba(0,0,0,.28)!important;z-index:0!important}
.wheel-rotor{position:absolute!important;inset:35px!important;border-radius:50%!important;background:conic-gradient(from 0deg,#ef5268 0deg var(--successStart,90deg),#29d87a var(--successStart,90deg),#5af0a1 var(--successMid,180deg),#24c96f var(--successEnd,270deg),#ef5268 var(--successEnd,270deg) 360deg)!important;box-shadow:0 0 0 1px rgba(255,255,255,.035),0 0 34px rgba(0,0,0,.20)!important;mask:radial-gradient(circle,transparent 0 58%,#000 58.8% 84%,transparent 84.8%)!important;-webkit-mask:radial-gradient(circle,transparent 0 58%,#000 58.8% 84%,transparent 84.8%)!important;z-index:2!important;transform:none!important;transition:none!important;filter:saturate(1.05)!important}
.wheel-rotor:before{content:""!important;position:absolute!important;inset:0!important;border-radius:50%!important;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.15) 0 .7deg,transparent .7deg 9deg)!important;mask:radial-gradient(circle,transparent 0 62%,#000 62.5% 81%,transparent 81.5%)!important;-webkit-mask:radial-gradient(circle,transparent 0 62%,#000 62.5% 81%,transparent 81.5%)!important;opacity:.27!important}
.wheel-rotor-inner{display:none!important}
.wheel-center{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:49%!important;height:34%!important;border-radius:26px!important;z-index:6!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;background:linear-gradient(155deg,rgba(27,34,48,.97),rgba(13,18,28,.98))!important;border:1px solid rgba(142,157,187,.18)!important;box-shadow:0 22px 60px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035)!important;backdrop-filter:blur(10px)!important}
.wheel-center:before{content:""!important;position:absolute!important;inset:9px!important;border-radius:19px!important;border:1px solid rgba(124,92,255,.10)!important;pointer-events:none!important}
.wheel-kicker{font-size:8px!important;font-weight:900!important;color:#8793a8!important;letter-spacing:1.7px!important;z-index:2!important}
.wheel-chance{font:900 36px "JetBrains Mono",monospace!important;color:#f5f7fc!important;letter-spacing:-2px!important;text-shadow:none!important;margin-top:4px!important;z-index:2!important}
.wheel-risk-label{font-size:8.5px!important;font-weight:800!important;color:#9aa6b9!important;margin-top:2px!important;z-index:2!important}
.wheel-formula{font-size:8px!important;color:#657187!important;margin-top:5px!important;max-width:170px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;z-index:2!important}
.wheel-pointer{position:absolute!important;inset:0!important;z-index:15!important;transform-origin:50% 50%!important;pointer-events:none!important;filter:drop-shadow(0 10px 18px rgba(0,0,0,.38))!important}
.pointer-hub{display:none!important}
.pointer-beam{position:absolute!important;left:50%!important;bottom:23px!important;width:2px!important;height:86px!important;transform:translateX(-50%)!important;border-radius:2px!important;background:linear-gradient(0deg,#f8fbff 0 10%,rgba(238,241,255,.78) 17%,rgba(126,100,255,.50) 47%,transparent 100%)!important;box-shadow:0 0 12px rgba(130,103,255,.25)!important}
.pointer-tip{position:absolute!important;left:50%!important;bottom:5px!important;width:34px!important;height:42px!important;transform:translateX(-50%)!important;clip-path:polygon(50% 0,100% 74%,66% 69%,50% 100%,34% 69%,0 74%)!important;background:linear-gradient(180deg,#fff 0,#ebe7ff 33%,#9a86ff 67%,#6649e9 100%)!important;filter:drop-shadow(0 0 10px rgba(126,96,255,.72))!important}
.wheel-scale-label{z-index:8!important;color:#68758b!important;font:800 7.5px "JetBrains Mono",monospace!important}.wheel-scale-label.top{top:34px!important}.wheel-scale-label.q1{right:47px!important}.wheel-scale-label.right{bottom:35px!important}.wheel-scale-label.q3{left:47px!important}
.chance-legend{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;max-width:330px!important;margin:0 auto 9px!important}.chance-pill{height:34px!important;padding:0 11px!important;border-radius:11px!important;background:#133050!important;border:1px solid rgba(135,149,177,.14)!important;color:#8591a5!important}.chance-pill.win span{background:#36df86!important;box-shadow:0 0 10px rgba(54,223,134,.55)!important}.chance-pill.lose span{background:#ef596d!important;box-shadow:0 0 10px rgba(239,89,109,.35)!important}
.chance-bar{height:7px!important;max-width:330px!important;margin:0 auto 12px!important;border-radius:99px!important;background:#ef596d!important;border:0!important;overflow:hidden!important}.chance-bar-win{height:100%!important;background:linear-gradient(90deg,#24c873,#53eba0)!important;border-radius:99px!important}.chance-pointer{width:2px!important;height:13px!important;background:#fff!important;box-shadow:0 0 8px rgba(255,255,255,.45)!important}
[data-theme="light"] .wheel-card-v5{background:radial-gradient(520px 300px at 50% 46%,rgba(116,91,255,.06),transparent 66%),linear-gradient(180deg,#fff,#f5f7fb)!important;border-color:#dbe2ed!important}
[data-theme="light"] .wheel-track{background:linear-gradient(145deg,#edf1f6,#e2e7ef)!important;box-shadow:inset 0 0 0 1px #d5dde8,0 18px 55px rgba(31,41,55,.10)!important}
[data-theme="light"] .wheel-center{background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(239,243,249,.98))!important;border-color:#d4dce8!important;box-shadow:0 16px 40px rgba(40,53,74,.11),inset 0 1px 0 #fff!important}[data-theme="light"] .wheel-center:before{border-color:rgba(112,84,245,.08)!important}[data-theme="light"] .wheel-chance{color:#193859!important}[data-theme="light"] .wheel-risk-label{color:#6e7a8e!important}[data-theme="light"] .chance-pill{background:#f3f6fa!important;border-color:#dbe2ec!important}
@media(max-width:620px){.upgrade-stage .wheel{width:min(335px,92vw)!important;height:min(335px,92vw)!important}.wheel-center{width:52%!important;height:35%!important}.wheel-chance{font-size:30px!important}.wheel-scale-label.top{top:28px!important}.wheel-scale-label.q1{right:38px!important}.wheel-scale-label.right{bottom:28px!important}.wheel-scale-label.q3{left:38px!important}}


/* ===== GTAUP V29 · PREMIUM NAV / SHOP / CONTRACTS / MULTI UPGRADE ===== */
.brand-art{width:68px!important;height:54px!important;border-radius:14px!important;background:linear-gradient(145deg,#0e2847,#0e2847)!important;border:1px solid rgba(143,159,192,.18)!important;padding:7px!important}.brand-art img{object-fit:contain!important;filter:drop-shadow(0 5px 14px rgba(0,0,0,.35))!important}
.nav-contract-v29{font-size:25px!important;color:#b28cff!important;text-shadow:0 0 18px rgba(151,107,255,.45)}
.upgrade-toolbar-v29{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr)!important;gap:10px!important;align-items:stretch!important;padding:0!important;background:transparent!important;border:0!important}
.upgrade-toolbar-v29 .tools{display:flex!important;align-items:center!important;gap:7px!important;padding:9px!important;border:1px solid rgba(133,150,183,.14)!important;border-radius:16px!important;background:linear-gradient(145deg,#0e2847,#0e2847)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}
.upgrade-toolbar-v29 .preset{height:38px!important;min-width:52px!important;padding:0 13px!important;border-radius:11px!important;background:#133050!important;border:1px solid #263247!important;color:#aab7cb!important;font:850 9px "JetBrains Mono",monospace!important;transition:.16s!important}.upgrade-toolbar-v29 .preset:hover{transform:translateY(-1px);border-color:#7358e8!important;color:#fff!important;background:#1b2033!important}.upgrade-toolbar-v29 .preset[data-preset="random"]{margin-left:auto!important;color:#d8cfff!important;background:linear-gradient(145deg,rgba(123,92,255,.12),#133050)!important}
.custom-upgrade-v18{min-height:58px!important;padding:8px 9px!important;border-radius:16px!important;background:linear-gradient(145deg,#0e2847,#0e2847)!important;border:1px solid rgba(133,150,183,.14)!important;gap:7px!important}.custom-upgrade-v18 label{height:40px!important;padding:0 10px!important;border-radius:11px!important;background:#133050!important;border:1px solid #253146!important;font-size:8px!important;color:#77849a!important}.custom-upgrade-v18 label input{font:800 10px "JetBrains Mono",monospace!important;color:#eaf0fb!important}.custom-upgrade-v18 #customApply,.custom-upgrade-v18 #customReset{height:40px!important;border-radius:11px!important;padding:0 13px!important}.custom-upgrade-v18 #customApply{background:linear-gradient(135deg,#8469ff,#5c3edc)!important;color:#fff!important;border:0!important}.custom-upgrade-v18 #customReset{background:#133050!important;border:1px solid #2d394c!important;color:#d7deea!important}.upgrade-toolbar-note{grid-column:1/-1!important;text-align:right!important;padding:2px 5px!important;color:#59677d!important;font-size:8px!important}
.upgrade-cash-v9{margin-top:10px!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(255,190,59,.055),#0e2847 26%,#0e2847)!important;border:1px solid rgba(146,157,181,.14)!important;box-shadow:0 14px 36px rgba(0,0,0,.12)!important}.upgrade-cash-icon{background:linear-gradient(145deg,#ffd668,#efa91b)!important;color:#2e2103!important;border-radius:15px!important}.upgrade-cash-quick button{background:#133050!important;border-color:#293447!important;border-radius:9px!important}.upgrade-cash-controls input[type="number"]{background:#133050!important;border-color:#2a374b!important}.upgrade-cash-controls input[type="range"]{accent-color:#ffd060!important}
.multi-upgrade-slot-v29{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;align-content:start}.multi-upgrade-item-v29{position:relative;min-width:0;padding:8px;border-radius:12px;background:#133050;border:1px solid #253045;text-align:center}.multi-upgrade-item-v29 img{width:100%;height:54px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.28))}.multi-upgrade-item-v29 b{display:block;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.multi-upgrade-item-v29 small{display:block;color:var(--gold);font:800 8px "JetBrains Mono",monospace;margin-top:3px}.multi-upgrade-item-v29 button{position:absolute;right:5px;top:5px;width:22px;height:22px;border-radius:7px;border:1px solid rgba(255,255,255,.08);background:rgba(9,13,21,.84);color:#ff7180;font-weight:900}.multi-upgrade-summary-v29{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:11px;background:linear-gradient(90deg,rgba(124,92,255,.08),rgba(55,214,128,.06));border:1px solid rgba(124,92,255,.13);font-size:8px;color:#8895aa}.multi-upgrade-summary-v29 b{font:900 10px "JetBrains Mono",monospace;color:#f1f5fb}.multi-count-v29{position:absolute;right:8px;bottom:7px;padding:3px 6px;border-radius:6px;background:#7358e8;color:#fff;font:900 7px "JetBrains Mono",monospace}
.shop-page-v29{position:relative;isolation:isolate}.shop-page-v29:before{content:"";position:absolute;z-index:-2;inset:0;background-image:linear-gradient(180deg,rgba(7,11,18,.20),rgba(7,11,18,.90) 58%,var(--bg) 92%),url('/logo/shoping.gtaup-opt-v335.webp?v=31');background-size:cover;background-position:center top;background-repeat:no-repeat;opacity:.34;filter:saturate(1.06)}.shop-page-v29:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:420px;background:radial-gradient(600px 280px at 50% 0,rgba(124,92,255,.12),transparent 72%);pointer-events:none}.shop-page-v29 .page-head{padding-top:22px}.shop-page-v29 .shop-summary,.shop-page-v29 .shop-toolbar,.shop-page-v29 .shop-grid{position:relative;z-index:2}
.contract-head-v29{align-items:center!important}.contract-live-badge-v29{padding:9px 13px;border-radius:999px;background:rgba(124,92,255,.10);border:1px solid rgba(124,92,255,.24);color:#b9a9ff;font:900 8px "JetBrains Mono",monospace;letter-spacing:1px}.contract-layout-v29{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:14px}.contract-builder-v29,.contract-inventory-v29{background:linear-gradient(155deg,var(--surface),color-mix(in srgb,var(--surface2) 82%,var(--surface)));border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 20px 55px rgba(0,0,0,.12)}.contract-builder-top-v29{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.contract-builder-top-v29>div{padding:11px;border-radius:12px;background:var(--surface2);border:1px solid var(--line)}.contract-builder-top-v29 span{display:block;font-size:7px;color:var(--muted2);text-transform:uppercase;letter-spacing:1px}.contract-builder-top-v29 b{display:block;margin-top:5px;font:900 10px "JetBrains Mono",monospace}.contract-slots-v29{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.contract-slot-v29{min-height:92px;border-radius:13px;border:1px dashed #344157;background:#0e2847;display:grid;place-items:center;position:relative;overflow:hidden}.contract-slot-v29.filled{border-style:solid;border-color:#374761;background:#133050}.contract-slot-v29 img{width:90%;height:56px;object-fit:contain}.contract-slot-v29 .empty-mark{font-size:16px;color:#38465a}.contract-slot-v29 b{position:absolute;left:6px;right:6px;bottom:7px;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.contract-slot-v29 button{position:absolute;top:5px;right:5px;width:21px;height:21px;border-radius:7px;border:0;background:rgba(8,12,19,.85);color:#ff6a7b;font-weight:900}.contract-result-card-v29{min-height:96px;display:flex;align-items:center;gap:13px;padding:13px;border-radius:16px;background:radial-gradient(220px 100px at 0 0,rgba(124,92,255,.17),transparent 70%),#0e2847;border:1px solid rgba(124,92,255,.18)}.contract-orb-v29{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle,#9a84ff,#6042df 60%,#231b52);color:#fff;font-size:24px;box-shadow:0 0 34px rgba(124,92,255,.28)}.contract-orb-v29 img{width:88%;height:88%;object-fit:contain}.contract-result-card-v29 span{font:900 7px "JetBrains Mono",monospace;color:#8574ef;letter-spacing:1px}.contract-result-card-v29 b{display:block;margin-top:4px;font-size:13px}.contract-result-card-v29 small{display:block;margin-top:4px;font-size:8px;color:var(--muted2)}.contract-create-v29{width:100%;height:50px;margin-top:10px;border:0;border-radius:13px;background:linear-gradient(135deg,#8267ff,#5539dc);color:#fff;font-weight:900;letter-spacing:.8px}.contract-create-v29:disabled{opacity:.35;filter:grayscale(.5)}.contract-inventory-head-v29{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:12px}.contract-inventory-head-v29 span{display:block;font-size:11px;font-weight:900}.contract-inventory-head-v29 b{display:block;margin-top:2px;font:800 8px "JetBrains Mono",monospace;color:var(--muted2)}.contract-inventory-head-v29 small{font-size:8px;color:var(--muted2);text-align:right}.contract-grid-v29{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:580px;overflow:auto}.contract-car-v29{position:relative;min-width:0;padding:9px;border-radius:12px;border:1px solid var(--line);background:var(--surface2);color:var(--text);text-align:left}.contract-car-v29.selected{border-color:#7358e8;box-shadow:inset 0 0 0 1px rgba(115,88,232,.25)}.contract-car-v29 img{width:100%;height:62px;object-fit:contain}.contract-car-v29 b{display:block;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contract-car-v29 small{display:block;margin-top:3px;color:var(--gold);font:800 8px "JetBrains Mono",monospace}.contract-qty-v29{position:absolute;top:6px;right:6px;padding:3px 6px;border-radius:6px;background:#7358e8;color:#fff;font:900 7px "JetBrains Mono",monospace}.contract-win-v29{animation:contractPopV29 .5s cubic-bezier(.2,1.4,.3,1)}@keyframes contractPopV29{0%{transform:scale(.94);opacity:.3}100%{transform:scale(1);opacity:1}}
.wager-lock-v29{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:11px 12px;margin-bottom:12px;border-radius:13px;background:linear-gradient(135deg,rgba(255,194,71,.07),var(--surface2));border:1px solid rgba(255,194,71,.15)}.wager-lock-v29>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(255,194,71,.12);color:#ffd063;font-size:17px}.wager-lock-v29 b{font-size:10px}.wager-lock-v29 small{display:block;margin-top:2px;color:var(--muted2);font-size:8px}.wager-lock-v29 strong{font:900 11px "JetBrains Mono",monospace;color:#ffd063}.wager-lock-v29.done strong{color:#51df96}.wager-lock-v29.done>span{background:rgba(52,209,127,.10);color:#51df96}
@media(max-width:1100px){.upgrade-toolbar-v29{grid-template-columns:1fr!important}.contract-layout-v29{grid-template-columns:1fr}.contract-grid-v29{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.multi-upgrade-slot-v29{grid-template-columns:repeat(2,1fr)}.contract-builder-top-v29{grid-template-columns:1fr}.contract-slots-v29{grid-template-columns:repeat(2,1fr)}.contract-grid-v29{grid-template-columns:repeat(2,1fr)}.upgrade-toolbar-v29 .tools{overflow:auto}.upgrade-toolbar-v29 .preset{flex:0 0 auto}.wager-lock-v29{grid-template-columns:38px 1fr}.wager-lock-v29 strong{grid-column:2}.shop-page-v29:before{background-position:52% top}}

.profile-benefits-v29{grid-template-columns:1.1fr .9fr .9fr!important}.profile-wager-v29{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:12px 13px;border-radius:14px;background:linear-gradient(145deg,rgba(255,193,65,.07),var(--surface2));border:1px solid rgba(255,193,65,.14)}.profile-wager-v29>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(255,193,65,.10);color:#ffd264}.profile-wager-v29 b{font-size:9px}.profile-wager-v29 small{display:block;font-size:7.5px;color:var(--muted2);margin-top:3px}.profile-wager-v29 strong{font:900 9px "JetBrains Mono",monospace;color:#ffd264}.profile-wager-v29.done{background:linear-gradient(145deg,rgba(47,218,125,.06),var(--surface2));border-color:rgba(47,218,125,.14)}.profile-wager-v29.done>span,.profile-wager-v29.done strong{color:#55e79a}.profile-wager-v29.done>span{background:rgba(47,218,125,.09)}@media(max-width:1050px){.profile-benefits-v29{grid-template-columns:1fr!important}}

/* ===== GTAUP V30 ===== */
.nav-contract-v30 img{width:30px!important;height:30px!important;object-fit:cover!important;border-radius:9px!important;filter:drop-shadow(0 6px 14px rgba(110,76,255,.28))}.mobile-nav .mi img{width:22px;height:22px;object-fit:cover;border-radius:7px}
.shop-page-v30:before,.shop-page-v30:after{display:none!important}.shop-head-v30{position:relative;min-height:238px;padding:30px 32px!important;border:1px solid var(--line);border-radius:22px;overflow:hidden;margin-bottom:16px!important;background:#0e2847;isolation:isolate;display:flex!important;align-items:flex-end!important}.shop-head-v30:before{content:"";position:absolute;z-index:-2;inset:0;background-image:url('/logo/shoping.gtaup-opt-v335.webp?v=31');background-size:cover;background-position:center 52%;background-repeat:no-repeat;filter:saturate(1.1) contrast(1.04);opacity:.78}.shop-head-v30:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(5,9,15,.97) 0%,rgba(5,9,15,.78) 34%,rgba(5,9,15,.20) 69%,rgba(5,9,15,.42) 100%),linear-gradient(180deg,rgba(5,8,14,.10),rgba(5,8,14,.66));}.shop-head-copy-v30{position:relative;z-index:2;max-width:650px}.shop-head-v30 .page-title{font-size:34px!important;text-shadow:0 5px 28px rgba(0,0,0,.45)}.shop-head-v30 .page-desc{max-width:610px;color:#aebbd1!important;line-height:1.65}.shop-head-pills-v30{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.shop-head-pills-v30 span{padding:7px 10px;border-radius:999px;background:rgba(10,16,26,.62);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(12px);font-size:8px;font-weight:800;color:#dbe6f7}.shop-head-brand-v30{position:absolute;right:25px;bottom:22px;z-index:2;text-align:right;text-shadow:0 4px 22px #000}.shop-head-brand-v30 b{display:block;font:1000 24px "JetBrains Mono",monospace;color:#fff;letter-spacing:2px}.shop-head-brand-v30 small{font:900 7px "JetBrains Mono",monospace;color:#8ea0be;letter-spacing:2px}
.contract-page-v30{position:relative}.contract-hero-v30{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:20px 22px;margin-bottom:14px;border:1px solid rgba(133,100,255,.22);border-radius:20px;background:radial-gradient(600px 220px at 20% 0,rgba(123,83,255,.18),transparent 65%),linear-gradient(145deg,#133050,#0e2847);box-shadow:0 22px 65px rgba(0,0,0,.16);overflow:hidden;position:relative}.contract-hero-v30:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:28px 28px;pointer-events:none}.contract-hero-icon-v30{width:86px;height:86px;border-radius:24px;overflow:hidden;border:1px solid rgba(152,119,255,.30);box-shadow:0 16px 36px rgba(0,0,0,.22),0 0 40px rgba(115,77,255,.10);z-index:1}.contract-hero-icon-v30 img{width:100%;height:100%;object-fit:cover}.contract-hero-copy-v30{position:relative;z-index:1}.contract-hero-copy-v30 .page-title{margin:3px 0 7px!important}.contract-hero-copy-v30 p{font-size:10px;color:var(--muted);line-height:1.65;max-width:720px}.contract-rule-v30{position:relative;z-index:1;width:72px;height:72px;border-radius:18px;display:grid;place-items:center;align-content:center;background:rgba(13,20,32,.70);border:1px solid rgba(126,100,255,.22);backdrop-filter:blur(12px)}.contract-rule-v30 span,.contract-rule-v30 small{font:800 7px "JetBrains Mono",monospace;color:#7e8ca7}.contract-rule-v30 b{font:1000 20px "JetBrains Mono",monospace;color:#b69cff;line-height:1.1}.contract-layout-v30{grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important}.contract-builder-v30,.contract-inventory-v30{border-radius:20px!important;background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 96%,transparent),color-mix(in srgb,var(--surface2) 84%,var(--surface)))!important;border-color:color-mix(in srgb,var(--line) 85%,#7255df 15%)!important}.contract-builder-label-v30{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid var(--line)}.contract-builder-label-v30>span{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:rgba(124,92,255,.12);border:1px solid rgba(124,92,255,.24);font:900 8px "JetBrains Mono",monospace;color:#a992ff}.contract-builder-label-v30 b{display:block;font-size:11px}.contract-builder-label-v30 small{display:block;margin-top:3px;font-size:8px;color:var(--muted2)}.contract-stats-v30{margin-top:13px}.contract-stats-v30>div{background:linear-gradient(145deg,var(--surface2),color-mix(in srgb,var(--surface3) 70%,var(--surface2)))!important}.contract-progress-v30{height:33px;margin:11px 0 3px;position:relative;overflow:hidden;border-radius:10px;background:var(--surface2);border:1px solid var(--line)}.contract-progress-v30 i{display:block;position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(124,92,255,.30),rgba(83,224,154,.22));transition:width .35s}.contract-progress-v30 span{position:relative;z-index:1;height:100%;display:grid;place-items:center;font:850 7.5px "JetBrains Mono",monospace;color:var(--muted)}.contract-slots-v30{grid-template-columns:repeat(5,1fr)!important;margin-top:11px!important}.contract-slots-v30 .contract-slot-v29{min-height:104px;border-radius:15px;background:linear-gradient(145deg,#0e2847,#0e2847)}.contract-slots-v30 .contract-slot-v29:nth-child(-n+3):not(.filled){border-color:rgba(128,98,255,.38);background:linear-gradient(145deg,rgba(124,92,255,.055),#0e2847)}.contract-result-v30{margin-top:12px!important;min-height:112px!important}.contract-result-v30 .contract-orb-v29{width:72px;height:72px;border-radius:21px!important;background:linear-gradient(145deg,#251b52,#121a2d)!important}.contract-result-v30 .contract-orb-v29 img{width:100%;height:100%;object-fit:cover;border-radius:20px}.contract-create-v30{height:58px!important;display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:left!important;box-shadow:0 12px 28px rgba(89,59,210,.18)}.contract-create-v30>small{justify-self:end;margin-right:13px;font:700 7px "JetBrains Mono",monospace;opacity:.65}.contract-create-v30:not(:disabled){background:linear-gradient(135deg,#8e72ff,#6045e8 55%,#4a34bf)!important;box-shadow:0 14px 36px rgba(99,67,226,.28)}.contract-inventory-v30{padding:16px!important}.contract-grid-v30{grid-template-columns:repeat(3,1fr)!important;gap:9px!important}.contract-grid-v30 .contract-car-v29{border-radius:14px;padding:10px;background:linear-gradient(145deg,var(--surface2),color-mix(in srgb,var(--surface3) 55%,var(--surface2)))}.contract-grid-v30 .contract-car-v29:hover{transform:translateY(-2px);border-color:#6048c7;box-shadow:0 12px 28px rgba(0,0,0,.14)}
.contract-reveal-modal-v30{max-width:590px!important;padding:34px 30px 28px!important;text-align:center!important;overflow:hidden!important;background:radial-gradient(420px 250px at 50% 0,rgba(124,92,255,.21),transparent 72%),linear-gradient(155deg,#133050,#0e2847)!important;border-color:rgba(139,111,255,.30)!important}.contract-reveal-rays-v30{position:absolute;inset:-45%;background:repeating-conic-gradient(from 0deg,rgba(124,92,255,.0) 0 9deg,rgba(124,92,255,.045) 9deg 11deg);animation:contractRaysV30 14s linear infinite;pointer-events:none}.contract-reveal-icon-v30{position:relative;width:72px;height:72px;margin:2px auto 13px;border-radius:20px;overflow:hidden;border:1px solid rgba(139,109,255,.32);box-shadow:0 0 45px rgba(124,92,255,.18)}.contract-reveal-icon-v30 img{width:100%;height:100%;object-fit:cover}.contract-reveal-kicker-v30{position:relative;font:900 7px "JetBrains Mono",monospace;color:#947cff;letter-spacing:2px}.contract-reveal-modal-v30 h2{position:relative;margin:7px 0 18px;font-size:22px}.contract-reveal-stage-v30{position:relative;min-height:190px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.008));display:grid;place-items:center;overflow:hidden}.contract-reveal-spinner-v30{width:112px;height:112px;border-radius:50%;position:relative;border:1px solid rgba(141,112,255,.18);animation:contractSpinV30 1.4s linear infinite}.contract-reveal-spinner-v30 i{position:absolute;width:14px;height:14px;border-radius:50%;background:#8267ff;box-shadow:0 0 24px rgba(130,103,255,.65)}.contract-reveal-spinner-v30 i:nth-child(1){top:2px;left:49px}.contract-reveal-spinner-v30 i:nth-child(2){bottom:14px;left:13px;background:#54db9b}.contract-reveal-spinner-v30 i:nth-child(3){right:10px;bottom:22px;background:#ffc64d}.contract-reveal-car-v30{animation:contractRevealCarV30 .65s cubic-bezier(.2,1.4,.3,1)}.contract-reveal-car-v30 .car-img{height:110px}.contract-reveal-car-v30 .car-name{font-size:15px;font-weight:950;margin-top:6px}.contract-reveal-car-v30 .car-price{font:900 12px "JetBrains Mono",monospace;color:var(--gold);margin-top:4px}.contract-reveal-car-v30 .rarity-badge-v5{display:inline-flex;margin-bottom:4px}.contract-reveal-actions-v30{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.contract-reveal-actions-v30 .keep-win-btn{grid-column:1/-1}.contract-reveal-actions-v30.hidden{display:none!important}@keyframes contractSpinV30{to{transform:rotate(360deg)}}@keyframes contractRaysV30{to{transform:rotate(360deg)}}@keyframes contractRevealCarV30{0%{transform:scale(.72);opacity:0;filter:blur(10px)}100%{transform:scale(1);opacity:1;filter:blur(0)}}
.support-sound-toggle-v30{width:100%;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;text-align:left!important;gap:10px!important;padding:10px!important;border-radius:13px!important;background:var(--surface2)!important;border:1px solid var(--line)!important;color:var(--text)!important}.support-sound-toggle-v30:hover{border-color:rgba(124,92,255,.35)!important}.support-sound-icon-v30{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(124,92,255,.11);font-size:17px}.support-sound-toggle-v30 b{display:block;font-size:10px}.support-sound-toggle-v30 small{display:block;margin-top:3px;font-size:8px;color:var(--muted2);font-weight:600}.support-sound-toggle-v30 i{padding:6px 9px;border-radius:999px;background:rgba(75,213,145,.10);border:1px solid rgba(75,213,145,.22);color:#53da95;font:900 7px "JetBrains Mono",monospace;font-style:normal}.support-sound-toggle-v30.off i{background:rgba(255,91,111,.08);border-color:rgba(255,91,111,.18);color:#ff7588}.support-reply-toast-v30{position:fixed;right:22px;top:86px;z-index:10000;width:min(390px,calc(100vw - 24px));padding:12px;border-radius:16px;background:linear-gradient(145deg,#131c2a,#0e2847);border:1px solid rgba(124,92,255,.28);box-shadow:0 20px 55px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.02) inset;display:grid;grid-template-columns:46px 1fr auto;gap:11px;align-items:center;animation:supportToastV30 .35s cubic-bezier(.2,1.2,.3,1)}.support-reply-toast-v30 .av{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#765eff,#4430bf);overflow:hidden}.support-reply-toast-v30 .av img{width:80%;height:80%;object-fit:contain}.support-reply-toast-v30 b{display:block;font-size:10px}.support-reply-toast-v30 p{margin:3px 0 0;font-size:8px;color:#9bacbf;line-height:1.45}.support-reply-toast-v30 button{width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#192333;color:#fff}.support-reply-toast-v30.hide{animation:supportToastOutV30 .25s ease forwards}@keyframes supportToastV30{from{opacity:0;transform:translateY(-10px) scale(.96)}to{opacity:1;transform:none}}@keyframes supportToastOutV30{to{opacity:0;transform:translateY(-8px) scale(.97)}}
[data-theme='light'] .shop-head-v30:after{background:linear-gradient(90deg,rgba(246,249,253,.97) 0%,rgba(246,249,253,.79) 36%,rgba(246,249,253,.20) 72%,rgba(246,249,253,.52) 100%)}[data-theme='light'] .shop-head-v30 .page-title{color:#101827!important;text-shadow:none}[data-theme='light'] .shop-head-v30 .page-desc{color:#52627a!important}[data-theme='light'] .shop-head-pills-v30 span{background:rgba(255,255,255,.78);border-color:#dfe6ef;color:#26344a}[data-theme='light'] .contract-hero-v30{background:radial-gradient(600px 220px at 20% 0,rgba(123,83,255,.12),transparent 65%),linear-gradient(145deg,#fff,#f4f7fc)}[data-theme='light'] .contract-slots-v30 .contract-slot-v29{background:#f6f8fc!important}[data-theme='light'] .contract-reveal-modal-v30{background:radial-gradient(420px 250px at 50% 0,rgba(124,92,255,.12),transparent 72%),#fff!important}
@media(max-width:950px){.shop-head-v30{min-height:210px}.shop-head-v30:after{background:linear-gradient(90deg,rgba(5,9,15,.94),rgba(5,9,15,.62) 60%,rgba(5,9,15,.25))}.shop-head-brand-v30{display:none}.contract-hero-v30{grid-template-columns:auto 1fr}.contract-rule-v30{display:none}.contract-layout-v30{grid-template-columns:1fr!important}.contract-grid-v30{grid-template-columns:repeat(4,1fr)!important}}@media(max-width:650px){.shop-head-v30{min-height:180px;padding:20px!important}.shop-head-v30 .page-title{font-size:25px!important}.shop-head-pills-v30{display:none}.contract-hero-v30{grid-template-columns:64px 1fr;padding:14px}.contract-hero-icon-v30{width:64px;height:64px;border-radius:18px}.contract-hero-copy-v30 p{font-size:8px}.contract-slots-v30{grid-template-columns:repeat(2,1fr)!important}.contract-grid-v30{grid-template-columns:repeat(2,1fr)!important}.contract-create-v30{grid-template-columns:auto 1fr!important}.contract-create-v30>small{display:none}.contract-reveal-actions-v30{grid-template-columns:1fr}.contract-reveal-actions-v30 .keep-win-btn{grid-column:auto}}


/* ================= GTAUP V32 ================= */
.market-type-tabs-v31{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}.market-type-tabs-v31 button{height:38px;padding:0 14px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:11px;font:800 9px "JetBrains Mono",monospace;cursor:pointer}.market-type-tabs-v31 button.active{color:#fff;background:linear-gradient(135deg,#7558ff,#4f38d1);border-color:#886eff;box-shadow:0 8px 22px rgba(93,66,218,.20)}.market-type-tabs-v31.compact{margin:10px 14px 0}.market-type-tabs-v31.compact button{height:32px;padding:0 11px;font-size:8px}
.shop-head-v31{min-height:300px!important;border:0!important;box-shadow:0 20px 65px rgba(0,0,0,.25)!important}.shop-head-v31:before{opacity:.96!important;filter:saturate(1.05) contrast(1.03) brightness(.72)!important;background-position:center 48%!important}.shop-head-v31:after{background:linear-gradient(90deg,rgba(5,9,15,.89) 0%,rgba(5,9,15,.58) 37%,rgba(5,9,15,.17) 73%,rgba(5,9,15,.30) 100%),linear-gradient(180deg,rgba(3,6,11,.03),rgba(3,6,11,.65))!important}.shop-item[data-type="clothes"] .car-img{height:116px}.shop-item[data-type="clothes"] .car-img img{max-height:110px;filter:drop-shadow(0 12px 17px rgba(0,0,0,.40))}.item-type-chip-v31{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:7px;background:var(--surface3);color:var(--muted2);font:800 7px "JetBrains Mono",monospace;margin-bottom:3px}
.contract-hero-v30,.contract-builder-v30,.contract-inventory-v30,.contract-slot-v29,.contract-car-v29,.contract-progress-v30,.contract-result-v30{border:0!important}.contract-page-v30{padding-top:4px}.contract-hero-v30{background:radial-gradient(650px 250px at 7% 0,rgba(124,92,255,.22),transparent 67%),radial-gradient(420px 220px at 96% 90%,rgba(50,215,154,.08),transparent 70%),linear-gradient(145deg,#133050,#0e2847)!important;box-shadow:0 18px 48px rgba(0,0,0,.22),inset 0 0 0 1px rgba(142,112,255,.08)!important}.contract-builder-v30,.contract-inventory-v30{box-shadow:0 14px 38px rgba(0,0,0,.13),inset 0 0 0 1px rgba(255,255,255,.035)!important}.contract-slots-v30 .contract-slot-v29{box-shadow:inset 0 0 0 1px rgba(132,105,255,.12)!important}.contract-slots-v30 .contract-slot-v29.filled{box-shadow:inset 0 0 0 1px rgba(83,224,154,.20),0 10px 20px rgba(0,0,0,.13)!important}.contract-grid-v30 .contract-car-v29{box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important}.contract-grid-v30 .contract-car-v29.selected{box-shadow:inset 0 0 0 1px rgba(126,98,255,.60),0 10px 24px rgba(78,56,180,.15)!important}.contract-car-v29 .item-kind-v31{position:absolute;top:8px;right:8px;padding:3px 6px;border-radius:6px;background:rgba(4,8,14,.65);font:800 6px "JetBrains Mono",monospace;color:#a9b8ce}.contract-slot-v29 .item-kind-v31{font-size:6px;color:var(--muted2)}
.profile-modal-v31{width:min(1180px,calc(100vw - 34px));height:min(790px,calc(100dvh - 34px));max-width:none!important;padding:0!important;overflow:hidden!important;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--surface)!important;border:1px solid var(--line)!important}.profile-modal-v31>.modal-close{z-index:8}.profile-side-v31{padding:22px 14px 16px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface2) 96%,transparent),color-mix(in srgb,var(--surface) 90%,#0e2847));border-right:1px solid var(--line);overflow:auto}.profile-person-v31{display:flex;align-items:center;gap:12px;padding:8px 7px 18px}.profile-avatar-v31{width:68px;height:68px;flex:none;border-radius:22px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#7960ff,#3d2fa4);font-size:24px;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.22);border:2px solid rgba(255,255,255,.08)}.profile-avatar-v31 img{width:100%;height:100%;object-fit:cover}.profile-person-v31>div:last-child{min-width:0;display:flex;flex-direction:column}.profile-person-v31 b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-person-v31 span{width:max-content;margin:5px 0 3px;padding:3px 6px;border-radius:6px;background:rgba(55,213,146,.10);color:#4de19b;font:900 6px "JetBrains Mono",monospace}.profile-person-v31 small{font-size:7px;color:var(--muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.profile-wallet-v31{padding:14px;border-radius:15px;background:radial-gradient(180px 80px at 0 0,rgba(255,195,66,.12),transparent),var(--surface3);box-shadow:inset 0 0 0 1px var(--line);margin-bottom:12px}.profile-wallet-v31 span{display:block;color:var(--muted2);font:800 7px "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:1px}.profile-wallet-v31 strong{display:block;margin:5px 0 10px;color:var(--gold);font:900 18px "JetBrains Mono",monospace}.profile-wallet-v31 button{width:100%;height:34px;border:0;border-radius:10px;background:#246bf0;color:#fff;font-size:9px;font-weight:850}.profile-nav-v31{display:flex;flex-direction:column;gap:5px}.profile-nav-v31 .profile-tab{width:100%;height:46px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;text-align:left;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:10px;font-weight:750}.profile-nav-v31 .profile-tab span{white-space:nowrap}.profile-nav-v31 .profile-tab i{font:800 7px "JetBrains Mono",monospace;color:var(--muted2);font-style:normal;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-nav-v31 .profile-tab.active{background:linear-gradient(135deg,#246df0,#2e63d9);color:white;box-shadow:0 10px 24px rgba(35,101,224,.17)}.profile-side-bottom-v31{margin-top:14px;display:grid;gap:6px}.profile-side-bottom-v31 button{height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface3);color:var(--text);font-size:9px;font-weight:800}.profile-side-bottom-v31 .logout-v31{color:#ff8794;background:rgba(247,70,89,.06);border-color:rgba(247,70,89,.16)}.profile-main-v31{padding:26px 28px 34px;overflow:auto;background:radial-gradient(500px 250px at 100% 0,rgba(79,65,180,.10),transparent 70%),var(--surface)}.profile-main-head-v31{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.profile-main-head-v31 h2{font-size:24px;margin:3px 0 5px}.profile-main-head-v31 p{font-size:9px;color:var(--green)}.profile-vip-chip-v31{padding:9px 12px;border-radius:10px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line);font:800 7px "JetBrains Mono",monospace;color:var(--muted)}.profile-vip-chip-v31 b{color:var(--gold)}.profile-stats-v31{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:11px}.profile-stats-v31 article{padding:12px 13px;border-radius:13px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line)}.profile-stats-v31 span{display:block;font:800 7px "JetBrains Mono",monospace;color:var(--muted2);text-transform:uppercase}.profile-stats-v31 b{display:block;margin-top:6px;font:900 14px "JetBrains Mono",monospace}.profile-progress-row-v31{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-bottom:14px}.profile-progress-row-v31>section{padding:13px;border-radius:13px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line)}.profile-progress-row-v31 section>div:first-child{display:flex;justify-content:space-between;gap:10px}.profile-progress-row-v31 span,.profile-progress-row-v31 small{font-size:8px;color:var(--muted2)}.profile-progress-row-v31 b{font:900 9px "JetBrains Mono",monospace}.profile-progress-v31{height:6px!important;margin:10px 0!important;border-radius:99px;background:var(--surface3);overflow:hidden}.profile-progress-v31 i{display:block;height:100%;background:linear-gradient(90deg,#7458ff,#3bd894);border-radius:inherit}.profile-promo-mini-v31 button{margin-top:10px;border:0;background:transparent;color:#9b87ff;font-size:8px;font-weight:800;padding:0}.profile-pane{display:none}.profile-pane.active{display:block}.profile-pane-head-v31{display:flex;justify-content:space-between;align-items:center;margin:8px 0 12px}.profile-pane-head-v31 h3{font-size:14px;margin-bottom:3px}.profile-pane-head-v31 p{font-size:8px;color:var(--muted2)}.profile-promo-entry-v31{display:flex;gap:8px;margin-bottom:12px}.profile-promo-entry-v31 input{flex:1;height:42px;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:11px;padding:0 12px}.profile-promo-entry-v31 button{padding:0 16px;border:0;border-radius:11px;background:#6b50ed;color:white;font-size:9px;font-weight:850}.profile-avatar-editor-v31{display:grid;grid-template-columns:88px 1fr 1fr;gap:10px;align-items:center;margin-bottom:15px}.profile-avatar-preview-v31{width:88px;height:88px;border-radius:22px;background:var(--surface2);display:grid;place-items:center;overflow:hidden;font-size:30px;box-shadow:inset 0 0 0 1px var(--line)}.profile-avatar-preview-v31 img{width:100%;height:100%;object-fit:cover}.profile-upload-v31,.profile-avatar-editor-v31>button{height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface2);font-size:9px;font-weight:800}.profile-settings-grid-v31{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-settings-grid-v31>label,.profile-settings-grid-v31>div{padding:14px;border-radius:13px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line);font-size:9px}.profile-settings-grid-v31 input:not([type=checkbox]){width:100%;height:40px;margin:9px 0;border:1px solid var(--line);border-radius:9px;background:var(--surface3);color:var(--text);padding:0 10px}.profile-settings-grid-v31 label>button{height:36px;padding:0 12px;border:0;border-radius:9px;background:#246bf0;color:white;font-size:9px;font-weight:800}.setting-segment-v31{display:grid!important;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px!important}.setting-segment-v31 button{height:37px;border:1px solid var(--line);background:var(--surface3);color:var(--text);border-radius:9px;font-size:8px;font-weight:800}.profile-toggle-row-v31{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center!important}.profile-toggle-row-v31 span{display:block}.profile-toggle-row-v31 small{display:block;margin-top:4px;color:var(--muted2);font-size:8px}.profile-garage-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}.profile-garage-item[data-type="clothes"] .car-img{height:88px}.profile-garage-item .collection-kind-v31{font:800 6px "JetBrains Mono",monospace;color:var(--muted2);margin-top:2px}
@media(max-width:1000px){.profile-modal-v31{grid-template-columns:220px 1fr}.profile-main-v31{padding:22px 20px}.profile-progress-row-v31{grid-template-columns:1fr}.profile-stats-v31{grid-template-columns:repeat(2,1fr)}.shop-head-v31{min-height:245px!important}}
@media(max-width:760px){.content{padding:12px 10px 90px!important}.topbar{padding:8px 10px!important;gap:6px!important;flex-wrap:wrap}.topbar-actions,.topbar-utility-shell{max-width:100%;overflow-x:auto}.page-head{margin-bottom:12px!important}.page-title{font-size:25px!important}.upgrade-stage{grid-template-columns:1fr!important}.wheel-card{order:-1;max-width:100%}.wheel{width:min(88vw,360px)!important;height:min(88vw,360px)!important}.panels{grid-template-columns:1fr!important}.grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.car,.shop-item{min-width:0;padding:8px!important}.car-img{height:82px!important}.shop-item .car-img{height:90px!important}.shop-head-v31{min-height:210px!important;padding:18px!important;background-position:center!important}.shop-head-v31:after{background:linear-gradient(90deg,rgba(4,8,14,.90),rgba(4,8,14,.47)),linear-gradient(180deg,transparent,rgba(4,8,14,.75))!important}.shop-head-v31 .page-title{font-size:27px!important}.shop-summary{grid-template-columns:1fr!important}.market-type-tabs-v31{display:grid;grid-template-columns:1fr 1fr}.market-type-tabs-v31 button:first-child{grid-column:1/-1}.shop-toolbar{grid-template-columns:1fr!important}.contract-hero-v30{grid-template-columns:58px 1fr!important}.contract-hero-icon-v30{width:58px!important;height:58px!important}.contract-hero-copy-v30 .page-title{font-size:22px!important}.contract-layout-v30{grid-template-columns:1fr!important}.contract-slots-v30{grid-template-columns:repeat(2,1fr)!important}.contract-grid-v30{grid-template-columns:repeat(2,minmax(0,1fr))!important}.crash-wrap{grid-template-columns:1fr!important}.crash-panel,.crash-players{position:static!important}.crash-canvas{height:330px!important}.profile-modal-v31{width:100vw;height:100dvh;max-height:none!important;border-radius:0!important;grid-template-columns:1fr;overflow:auto!important}.profile-side-v31{position:sticky;top:0;z-index:5;padding:9px 12px;background:color-mix(in srgb,var(--surface2) 96%,transparent);backdrop-filter:blur(18px);border-right:0;border-bottom:1px solid var(--line);overflow:visible}.profile-person-v31{padding:2px 45px 7px 0}.profile-avatar-v31{width:46px;height:46px;border-radius:14px}.profile-person-v31 small:nth-of-type(2),.profile-wallet-v31,.profile-side-bottom-v31{display:none}.profile-nav-v31{display:flex;flex-direction:row;gap:5px;overflow-x:auto;padding-bottom:2px}.profile-nav-v31 .profile-tab{min-width:105px;height:38px;grid-template-columns:18px 1fr;padding:0 9px}.profile-nav-v31 .profile-tab i{display:none}.profile-main-v31{padding:14px 12px 90px;overflow:visible}.profile-main-head-v31 h2{font-size:20px}.profile-stats-v31{grid-template-columns:repeat(2,1fr);gap:7px}.profile-stats-v31 article{padding:10px}.profile-progress-row-v31{grid-template-columns:1fr;gap:7px}.profile-garage-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.profile-settings-grid-v31{grid-template-columns:1fr}.profile-toggle-row-v31{grid-column:auto}.profile-avatar-editor-v31{grid-template-columns:72px 1fr}.profile-avatar-preview-v31{width:72px;height:72px}.profile-avatar-editor-v31>button{grid-column:2}.support-v6-shell{width:100vw!important;height:100dvh!important;border-radius:0!important;grid-template-columns:1fr!important}.support-v6-aside{display:none!important}.support-v6-main{padding:15px!important}.chat{height:calc(100dvh - 160px)!important}.modal.wide{width:calc(100vw - 16px)!important}.admin-kpis{grid-template-columns:repeat(2,1fr)!important}.admin-tabs{overflow-x:auto}.admin-pane{overflow-x:auto}}
@media(max-width:390px){.grid,.shop-grid,.profile-garage-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.car-name,.shop-item .car-name{font-size:8px!important}.car-price,.shop-item .car-price{font-size:8px!important}.wheel{width:330px!important;height:330px!important}.contract-grid-v30{grid-template-columns:repeat(2,1fr)!important}}


/* ===== GTAUP V32 · PERFORMANCE / CONTRACT / POINTER / PROFILE / AUTH ===== */
.telegram-banner-v32{position:relative;display:block;height:118px;margin:10px 12px 8px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#11182a,#122948);box-shadow:inset 0 0 0 1px rgba(125,147,190,.18),0 16px 32px rgba(0,0,0,.16);text-decoration:none;color:#fff}.telegram-banner-v32 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.62;filter:saturate(.92) contrast(1.04)}.tg-shade-v32{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,10,19,.92),rgba(5,10,19,.28) 72%,rgba(5,10,19,.58)),linear-gradient(180deg,transparent,rgba(3,8,15,.76))}.tg-copy-v32{position:absolute;left:14px;right:12px;bottom:12px;display:grid;gap:3px}.tg-copy-v32 b{font-size:11px;letter-spacing:.5px}.tg-copy-v32 small{font-size:8px;color:#bdcae3}.tg-copy-v32 em{font-style:normal;font-size:8px;color:#6fd6ff;font-weight:850;margin-top:3px}.telegram-banner-v32:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px rgba(92,170,255,.35),0 18px 38px rgba(0,0,0,.22)}
.market-roadmap-v32{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:10px;margin:0 0 12px}.market-note-v32,.majestic-card-v32,.market-telegram-v32{min-height:72px;padding:13px 14px;border-radius:14px;background:linear-gradient(145deg,var(--surface2),color-mix(in srgb,var(--surface) 96%,#16213b 4%));box-shadow:inset 0 0 0 1px var(--line);display:flex;align-items:center;gap:11px}.market-note-v32>span{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:rgba(124,92,255,.13);color:#9b86ff;font-size:19px}.market-roadmap-v32 b{display:block;font-size:10px}.market-roadmap-v32 small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.45}.majestic-card-v32{position:relative}.majestic-dot-v32{width:10px;height:10px;border-radius:50%;background:#ffb43e;box-shadow:0 0 14px rgba(255,180,62,.5)}.majestic-card-v32 strong{margin-left:auto;font:900 7px "JetBrains Mono",monospace;color:#ffbe4d;padding:5px 7px;border:1px solid rgba(255,190,77,.22);border-radius:7px;background:rgba(255,190,77,.06)}.market-telegram-v32{text-decoration:none;color:var(--text);position:relative;overflow:hidden}.market-telegram-v32>span:last-child{margin-left:auto;font-size:18px;color:#79bdff}.tg-mini-art-v32{width:46px;height:46px;border-radius:11px;overflow:hidden;background:linear-gradient(135deg,#1677ff,#5a5cff);flex:none}.tg-mini-art-v32 img{width:100%;height:100%;object-fit:cover}.market-telegram-v32:hover{box-shadow:inset 0 0 0 1px rgba(79,156,255,.36),0 12px 26px rgba(0,0,0,.12)}
/* Faster hidden-page rendering */
.shop-item,.car,.contract-car-v29,.profile-garage-item{content-visibility:auto;contain-intrinsic-size:170px 220px}.shop-grid,.grid,.contract-grid-v30{contain:layout style}.car-img img,.contract-car-v29 img,.contract-slot-v29 img,.contract-reveal-card-v32 img{image-rendering:auto;transform:translateZ(0);backface-visibility:hidden}
/* Contracts: cleaner, no white outlines */
.contract-page-v30{--contract-accent:#8167ff}.contract-hero-v30{border:0!important;box-shadow:inset 0 0 0 1px rgba(132,111,255,.16),0 22px 60px rgba(0,0,0,.12)!important;background:radial-gradient(520px 210px at 0 0,rgba(124,92,255,.13),transparent 70%),linear-gradient(145deg,var(--surface2),var(--surface))!important}.contract-builder-v30,.contract-inventory-v30{border:0!important;box-shadow:inset 0 0 0 1px var(--line),0 18px 45px rgba(0,0,0,.10)!important}.contract-slot-v29{border:0!important;background:linear-gradient(145deg,var(--surface3),var(--surface2))!important;box-shadow:inset 0 0 0 1px rgba(132,148,180,.15)!important;overflow:hidden!important}.contract-slot-v29.filled{box-shadow:inset 0 0 0 1px rgba(129,103,255,.28),0 8px 20px rgba(61,43,138,.10)!important}.contract-slot-v29>img{width:100%!important;height:64px!important;object-fit:contain!important;padding:4px!important}.contract-car-v29{border:0!important;background:linear-gradient(145deg,var(--surface2),var(--surface))!important;box-shadow:inset 0 0 0 1px var(--line)!important}.contract-car-v29:hover,.contract-car-v29.selected{box-shadow:inset 0 0 0 1px rgba(130,101,255,.45),0 10px 24px rgba(64,44,145,.12)!important}.contract-car-v29>img{width:100%!important;height:86px!important;object-fit:contain!important;padding:5px!important}.contract-result-v30{border:0!important;background:linear-gradient(145deg,rgba(124,92,255,.06),var(--surface2))!important;box-shadow:inset 0 0 0 1px rgba(131,106,246,.18)!important}.contract-create-v30{border:0!important;box-shadow:0 12px 28px rgba(95,69,218,.18)!important}
.contract-reveal-modal-v30{max-width:620px!important;padding:32px!important;background:radial-gradient(440px 250px at 50% 0,rgba(116,88,255,.16),transparent 72%),linear-gradient(155deg,#133050,#0e2847)!important;border:0!important;box-shadow:0 40px 120px rgba(0,0,0,.58),inset 0 0 0 1px rgba(126,105,224,.18)!important}.contract-reveal-rays-v30{display:none!important}.contract-reveal-stage-v30{min-height:230px!important;border:0!important;background:radial-gradient(280px 160px at 50% 50%,rgba(121,91,255,.11),transparent 70%),linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.008))!important;box-shadow:inset 0 0 0 1px rgba(132,148,180,.12)!important}.contract-forge-v32{width:100%;height:210px;display:grid;place-items:center;position:relative;overflow:hidden}.contract-forge-ring-v32{position:absolute;width:134px;height:134px;border-radius:50%;border:1px solid rgba(135,111,255,.22);box-shadow:0 0 0 17px rgba(125,96,255,.035),0 0 50px rgba(109,80,241,.12);animation:forgePulseV32 1.25s ease-in-out infinite}.contract-forge-ring-v32:before,.contract-forge-ring-v32:after{content:"";position:absolute;inset:12px;border-radius:50%;border:2px solid transparent;border-top-color:#8c73ff;border-right-color:#4fdba0;animation:contractSpinV30 1.25s linear infinite}.contract-forge-ring-v32:after{inset:30px;border-top-color:#ffc95b;border-right-color:#8c73ff;animation-duration:.85s;animation-direction:reverse}.contract-forge-copy-v32{position:absolute;bottom:19px;font:800 8px "JetBrains Mono",monospace;color:#77849a;letter-spacing:1.4px}.contract-forge-progress-v32{position:absolute;bottom:0;left:15%;right:15%;height:3px;border-radius:99px;background:#133050;overflow:hidden}.contract-forge-progress-v32 i{display:block;width:35%;height:100%;background:linear-gradient(90deg,transparent,#836aff,#56e2a3,transparent);animation:forgeProgressV32 1.05s ease-in-out infinite}.contract-reveal-card-v32{width:100%;max-width:400px;display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;text-align:left;padding:20px;border-radius:20px;background:linear-gradient(145deg,#133050,#0e2847);box-shadow:inset 0 0 0 1px rgba(134,150,181,.14),0 18px 45px rgba(0,0,0,.25);animation:contractRevealCarV30 .55s cubic-bezier(.2,1.35,.3,1)}.contract-reveal-media-v32{height:128px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle,rgba(129,103,255,.12),transparent 65%),#0e2847;overflow:hidden}.contract-reveal-media-v32 img{width:94%!important;height:94%!important;max-width:140px!important;max-height:118px!important;object-fit:contain!important;padding:6px!important}.contract-reveal-copy-v32 .rarity-badge-v5{display:inline-flex!important;margin:0 0 7px!important}.contract-reveal-copy-v32 b{display:block;font-size:17px;line-height:1.18}.contract-reveal-copy-v32 strong{display:block;margin-top:7px;color:var(--gold);font:900 13px "JetBrains Mono",monospace}.contract-reveal-copy-v32 small{display:block;margin-top:8px;color:#77849a;font-size:8px;line-height:1.5}.contract-reveal-actions-v30 button{border:0!important;border-radius:12px!important;min-height:52px!important;box-shadow:none!important}.contract-reveal-actions-v30 .sell-win-btn{background:linear-gradient(145deg,rgba(42,201,119,.14),rgba(25,140,85,.08))!important;color:#4ee19a!important;box-shadow:inset 0 0 0 1px rgba(78,225,154,.23)!important}.contract-reveal-actions-v30 .withdraw-win-btn{background:linear-gradient(145deg,rgba(122,96,255,.17),rgba(78,60,180,.09))!important;color:#a895ff!important;box-shadow:inset 0 0 0 1px rgba(155,135,255,.24)!important}.contract-reveal-actions-v30 .keep-win-btn{background:#133050!important;color:#dfe7f4!important;box-shadow:inset 0 0 0 1px rgba(135,150,178,.16)!important}@keyframes forgePulseV32{50%{transform:scale(1.06);opacity:.72}}@keyframes forgeProgressV32{from{transform:translateX(-140%)}to{transform:translateX(390%)}}
/* Upgrade pointer: clean casino-style needle without changing mechanics */
.wheel-pointer{filter:drop-shadow(0 10px 18px rgba(0,0,0,.42))!important}.pointer-hub{display:block!important;position:absolute!important;left:50%!important;top:50%!important;width:28px!important;height:28px!important;transform:translate(-50%,-50%)!important;border-radius:50%!important;background:radial-gradient(circle at 38% 30%,#fff 0 8%,#c8bcff 22%,#765cff 50%,#342478 100%)!important;border:4px solid #133050!important;box-shadow:0 0 0 1px rgba(173,155,255,.45),0 0 24px rgba(119,88,255,.42)!important}.pointer-beam{top:50%!important;bottom:auto!important;left:50%!important;width:3px!important;height:calc(50% - 48px)!important;transform:translateX(-50%)!important;background:linear-gradient(180deg,#9d88ff,rgba(139,112,255,.68) 55%,rgba(255,255,255,.82) 93%,#fff)!important;box-shadow:0 0 9px rgba(125,96,255,.38)!important}.pointer-tip{bottom:20px!important;width:30px!important;height:36px!important;clip-path:polygon(50% 100%,0 0,50% 21%,100% 0)!important;background:linear-gradient(180deg,#9177ff 0,#e8e3ff 55%,#fff 100%)!important;filter:drop-shadow(0 0 8px rgba(142,113,255,.6))!important}
/* Profile readability */
.profile-nav-v31{gap:7px!important}.profile-nav-v31 .profile-tab{height:50px!important;font-size:12px!important;font-weight:780!important;padding:0 14px!important;grid-template-columns:25px minmax(0,1fr) auto!important}.profile-nav-v31 .profile-tab i{font-size:8px!important}.profile-person-v31 b{font-size:17px!important}.profile-person-v31 small{font-size:9px!important}.profile-wallet-v31 span{font-size:8.5px!important}.profile-stats-v31 span{font-size:8.5px!important}.profile-progress-row-v31 span,.profile-progress-row-v31 small{font-size:9px!important}.profile-pane-head-v31 p{font-size:9.5px!important}.profile-settings-grid-v31>label,.profile-settings-grid-v31>div{font-size:10.5px!important}.profile-server-chip-v32{display:inline-flex!important;width:max-content;max-width:100%;margin-top:6px;padding:4px 7px;border-radius:7px;background:rgba(69,164,255,.08);color:#6fb8ff;font:800 7.5px "JetBrains Mono",monospace;box-shadow:inset 0 0 0 1px rgba(80,166,255,.17);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Registration server + long agreement */
.auth-modal-v32{width:min(560px,100%)!important}.auth-select-v32{width:100%;height:44px;border:1px solid var(--line2);border-radius:10px;background:var(--surface2);color:var(--text);padding:0 12px;outline:none}.auth-select-v32:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.09)}.auth-field-note-v32{display:block;margin-top:5px;color:var(--muted2);font-size:8px}.auth-terms-wrap-v32{display:grid;gap:9px;margin:12px 0}.auth-consent-v32{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:center;padding:11px 12px;border-radius:11px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}.auth-consent-v32 input{position:absolute;opacity:0;pointer-events:none}.auth-check-v32{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:var(--surface3);color:transparent;box-shadow:inset 0 0 0 1px var(--line2);font-weight:900}.auth-consent-v32 input:checked+.auth-check-v32{background:linear-gradient(135deg,#7458ff,#4d87ff);color:white;box-shadow:none}.auth-consent-v32 b{display:block;font-size:9.5px}.auth-consent-v32 small{display:block;color:var(--muted2);font-size:7.5px;margin-top:2px}.auth-terms-v32{border-radius:11px;background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}.auth-terms-v32 summary{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;cursor:pointer;font-size:9px;font-weight:800;list-style:none}.auth-terms-v32 summary::-webkit-details-marker{display:none}.auth-terms-v32 summary em{font-style:normal;color:#8e79ff;font:800 7px "JetBrains Mono",monospace}.auth-terms-list-v32{max-height:250px;overflow:auto;padding:12px 14px;border-top:1px solid var(--line);font-size:8.2px;line-height:1.55;color:var(--muted)}.auth-terms-list-v32 h4{font-size:9px;color:var(--text);margin:12px 0 5px}.auth-terms-list-v32 h4:first-child{margin-top:0}.auth-terms-list-v32 p{margin:0 0 5px}
/* Light theme image stability */
[data-theme="light"] .car-img,[data-theme="light"] .contract-reveal-media-v32,[data-theme="light"] .contract-orb-v29,[data-theme="light"] .profile-avatar-preview-v31{background:linear-gradient(145deg,#edf2f8,#e6ebf3)!important}[data-theme="light"] .car-img img,[data-theme="light"] .shop-item img,[data-theme="light"] .contract-car-v29 img,[data-theme="light"] .contract-slot-v29 img,[data-theme="light"] .contract-reveal-card-v32 img{mix-blend-mode:normal!important;opacity:1!important;filter:drop-shadow(0 6px 10px rgba(35,48,69,.16))!important}[data-theme="light"] .shop-head-v31{color:#fff!important}.brand-art img,.nav-ic img{mix-blend-mode:normal!important}
@media(max-width:1100px){.market-roadmap-v32{grid-template-columns:1fr 1fr}.market-telegram-v32{grid-column:1/-1}}
@media(max-width:760px){.telegram-banner-v32{display:none}.market-roadmap-v32{grid-template-columns:1fr!important}.market-telegram-v32{grid-column:auto}.contract-reveal-modal-v30{padding:22px 14px!important}.contract-reveal-card-v32{grid-template-columns:110px 1fr;padding:13px;gap:12px}.contract-reveal-media-v32{height:110px}.contract-reveal-media-v32 img{max-width:104px!important;max-height:100px!important}.contract-reveal-actions-v30{grid-template-columns:1fr!important}.contract-reveal-actions-v30 .keep-win-btn{grid-column:auto!important}.profile-nav-v31 .profile-tab{min-width:128px!important;height:42px!important;font-size:10.5px!important}.profile-server-chip-v32{font-size:7px}.auth-modal-v32{width:100%!important}.auth-terms-list-v32{max-height:210px}.pointer-beam{height:calc(50% - 43px)!important}.pointer-tip{bottom:16px!important}}



/* ===== GTAUP V33 · VISUAL FIX PACK ===== */
/* Stable item framing: vehicles, clothes and accessories never escape their cards/modals. */
.car-img,.shop-item .car-img,.profile-garage-item .car-img,.contract-slot-v29,.contract-reveal-media-v32,.contract-reveal-media-v33,.win-item-media-v33{overflow:hidden!important;isolation:isolate}
.car-img img,.shop-item .car-img img,.profile-garage-item .car-img img,.contract-slot-v29 img,.contract-car-v29 img{
  display:block!important;width:auto!important;height:auto!important;max-width:92%!important;max-height:88%!important;object-fit:contain!important;object-position:center!important;margin:auto!important;transform:none!important;
}
.car-img img[data-item-type="clothes"],.shop-item img[data-item-type="clothes"],.profile-garage-item img[data-item-type="clothes"],.contract-car-v29 img[data-item-type="clothes"],.contract-slot-v29 img[data-item-type="clothes"]{max-width:80%!important;max-height:84%!important}
.shop-item[data-type="clothes"] .car-img{height:112px!important}.shop-item[data-type="clothes"] .car-img img{max-width:78%!important;max-height:100px!important}
.profile-garage-item[data-type="clothes"] .car-img{height:92px!important}.profile-garage-item[data-type="clothes"] .car-img img{max-width:78%!important;max-height:82px!important}
.contract-car-v29{overflow:hidden!important}.contract-car-v29 img{max-width:80%!important;max-height:92px!important}.contract-slot-v29 img{max-width:76%!important;max-height:58px!important}

/* Upgrade win modal rebuilt around a fixed media viewport. */
.upgrade-win-modal-v8{max-width:560px!important;padding:30px!important;border-radius:24px!important;background:radial-gradient(420px 230px at 50% 0,rgba(46,218,129,.13),transparent 70%),linear-gradient(155deg,var(--surface),var(--surface2))!important;overflow:hidden!important}
.upgrade-win-modal-v8 h2{font-size:25px!important;margin:7px 0 16px!important}.win-confetti{width:62px!important;height:62px!important;border-radius:18px!important;font-size:28px!important}.win-kicker{font-size:8px!important}
.win-car-v8{padding:0!important;border:0!important;background:transparent!important}
.win-item-card-v33{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center;padding:16px;border-radius:18px;background:linear-gradient(145deg,var(--surface2),color-mix(in srgb,var(--surface3) 55%,var(--surface2)));box-shadow:inset 0 0 0 1px var(--line),0 16px 42px rgba(0,0,0,.14);text-align:left}
.win-item-media-v33{height:170px;border-radius:15px;background:radial-gradient(circle at 50% 48%,rgba(128,102,255,.12),transparent 63%),color-mix(in srgb,var(--surface) 84%,var(--surface2));display:grid;place-items:center;position:relative}
.win-item-media-v33 img{display:block!important;width:auto!important;height:auto!important;max-width:82%!important;max-height:148px!important;object-fit:contain!important;object-position:center!important;margin:auto!important;filter:drop-shadow(0 12px 18px rgba(0,0,0,.30))!important;transform:none!important}
.win-item-media-v33 img[data-item-type="clothes"]{max-width:70%!important;max-height:144px!important}
.win-item-copy-v33{min-width:0}.win-item-copy-v33 .rarity-badge-v5{display:inline-flex!important;margin:0 0 9px!important}.win-item-copy-v33 b{display:block;font-size:18px;line-height:1.2;overflow-wrap:anywhere}.win-item-copy-v33 strong{display:block;margin-top:8px;color:var(--gold);font:900 14px "JetBrains Mono",monospace}.win-item-copy-v33 small{display:block;margin-top:8px;color:var(--muted2);font-size:9px;line-height:1.45}
.win-actions-v8{gap:8px!important;margin-top:12px!important}.win-actions-v8 button{min-height:52px!important;border-radius:12px!important}.win-actions-v8 small{font-size:8px!important}

/* Contract result uses the same safe media rules. */
.contract-reveal-modal-v30{max-width:590px!important;padding:28px!important;border-radius:24px!important;overflow:hidden!important}.contract-reveal-stage-v30{min-height:214px!important;padding:14px!important;overflow:hidden!important}
.contract-reveal-card-v33{width:100%;display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;align-items:center;text-align:left;padding:16px;border-radius:18px;background:linear-gradient(145deg,#133050,#0e2847);box-shadow:inset 0 0 0 1px rgba(134,150,181,.14),0 18px 45px rgba(0,0,0,.22)}
.contract-reveal-media-v33{height:156px;border-radius:15px;display:grid;place-items:center;background:radial-gradient(circle at 50% 48%,rgba(129,103,255,.13),transparent 62%),#0e2847}
.contract-reveal-media-v33 img{display:block!important;width:auto!important;height:auto!important;max-width:82%!important;max-height:138px!important;object-fit:contain!important;object-position:center!important;margin:auto!important;filter:drop-shadow(0 12px 18px rgba(0,0,0,.32))!important;transform:none!important}
.contract-reveal-media-v33 img[data-item-type="clothes"]{max-width:70%!important;max-height:134px!important}
.contract-reveal-copy-v33{min-width:0}.contract-reveal-copy-v33 .rarity-badge-v5{display:inline-flex!important;margin:0 0 8px!important}.contract-reveal-copy-v33 b{display:block;font-size:17px;line-height:1.2;overflow-wrap:anywhere}.contract-reveal-copy-v33 strong{display:block;margin-top:7px;color:var(--gold);font:900 13px "JetBrains Mono",monospace}.contract-reveal-copy-v33 small{display:block;margin-top:7px;color:#7f8ba0;font-size:8.5px;line-height:1.5}

/* A clean mechanical upgrade needle: no giant fantasy arrow. */
.wheel-pointer{filter:drop-shadow(0 7px 12px rgba(0,0,0,.42))!important}
.pointer-hub{display:block!important;position:absolute!important;left:50%!important;top:50%!important;width:24px!important;height:24px!important;transform:translate(-50%,-50%)!important;border-radius:50%!important;background:radial-gradient(circle at 36% 30%,#fff 0 8%,#dfe4ef 15%,#8b96a9 31%,#273142 35%,#0e2847 68%)!important;border:3px solid color-mix(in srgb,var(--surface) 86%,#000)!important;box-shadow:0 0 0 1px rgba(255,255,255,.22),0 0 16px rgba(113,93,255,.18)!important}
.pointer-beam{position:absolute!important;left:50%!important;top:50%!important;bottom:auto!important;width:3px!important;height:calc(50% - 52px)!important;transform:translateX(-50%)!important;border-radius:3px!important;background:linear-gradient(180deg,#929cac 0%,#dfe5ef 72%,#fff 100%)!important;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 0 7px rgba(255,255,255,.18)!important}
.pointer-tip{position:absolute!important;left:50%!important;bottom:29px!important;width:18px!important;height:22px!important;transform:translateX(-50%)!important;clip-path:polygon(50% 100%,0 0,100% 0)!important;background:linear-gradient(180deg,#ffffff,#d8deea)!important;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35))!important}

/* Profile left navigation: actually readable on desktop and mobile. */
.profile-modal-v31{grid-template-columns:286px minmax(0,1fr)!important}
.profile-side-v31{padding-left:16px!important;padding-right:16px!important}
.profile-nav-v31{gap:7px!important}.profile-nav-v31 .profile-tab{height:50px!important;grid-template-columns:24px minmax(0,1fr) auto!important;padding:0 13px!important;border-radius:12px!important;font-size:13.5px!important;font-weight:820!important;letter-spacing:-.1px!important;line-height:1.15!important}.profile-nav-v31 .profile-tab>span{font-size:13.5px!important}.profile-nav-v31 .profile-tab i{font-size:9px!important;max-width:74px!important}.profile-side-bottom-v31 button{height:43px!important;font-size:11.5px!important}.profile-person-v31 b{font-size:17px!important}.profile-wallet-v31 button{height:38px!important;font-size:11px!important}

[data-theme="light"] .win-item-media-v33,[data-theme="light"] .contract-reveal-media-v33{background:radial-gradient(circle at 50% 48%,rgba(116,91,255,.08),transparent 64%),linear-gradient(145deg,#edf2f8,#e5ebf3)!important}
[data-theme="light"] .win-item-media-v33 img,[data-theme="light"] .contract-reveal-media-v33 img{mix-blend-mode:normal!important;opacity:1!important;filter:drop-shadow(0 8px 14px rgba(35,48,69,.16))!important}

@media(max-width:760px){
  .profile-modal-v31{grid-template-columns:1fr!important}.profile-nav-v31 .profile-tab{min-width:138px!important;height:43px!important;font-size:12.5px!important}.profile-nav-v31 .profile-tab>span{font-size:12.5px!important}
  .win-item-card-v33,.contract-reveal-card-v33{grid-template-columns:1fr!important;text-align:center!important}.win-item-media-v33{height:150px}.contract-reveal-media-v33{height:145px}.win-item-media-v33 img,.contract-reveal-media-v33 img{max-height:130px!important}.win-item-copy-v33 .rarity-badge-v5,.contract-reveal-copy-v33 .rarity-badge-v5{margin-left:auto!important;margin-right:auto!important}
  .upgrade-win-modal-v8,.contract-reveal-modal-v30{padding:22px 14px!important}.pointer-beam{height:calc(50% - 47px)!important}.pointer-tip{bottom:25px!important}
}


/* ===== GTAUP V34 · RESULT FRAME + POINTER RESET ===== */
/* Every result card has a hard media/copy boundary: images can never cover names/prices. */
.win-item-card-v33{
  display:flex!important;flex-direction:column!important;gap:0!important;align-items:stretch!important;
  padding:0!important;overflow:hidden!important;text-align:center!important;
  background:linear-gradient(160deg,var(--surface2),color-mix(in srgb,var(--surface3) 54%,var(--surface2)))!important;
  border-radius:18px!important;box-shadow:inset 0 0 0 1px var(--line),0 16px 42px rgba(0,0,0,.14)!important;
}
.win-item-media-v33{
  width:100%!important;height:176px!important;min-height:176px!important;max-height:176px!important;
  border-radius:0!important;background:radial-gradient(circle at 50% 50%,rgba(128,102,255,.13),transparent 62%),color-mix(in srgb,var(--surface) 86%,var(--surface2))!important;
  display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;position:relative!important;padding:14px 18px!important;
}
.win-item-media-v33:after{content:"";position:absolute;left:10%;right:10%;bottom:8px;height:18px;border-radius:50%;background:rgba(0,0,0,.18);filter:blur(12px);pointer-events:none}
.win-item-media-v33 img{
  position:relative!important;z-index:1!important;display:block!important;width:auto!important;height:auto!important;
  max-width:76%!important;max-height:142px!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important;
  transform:none!important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.28))!important;
}
.win-item-media-v33 img[data-item-type="clothes"]{max-width:66%!important;max-height:136px!important}
.win-item-copy-v33{
  position:relative!important;z-index:3!important;display:block!important;min-width:0!important;padding:15px 18px 17px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface2) 98%,transparent),var(--surface2))!important;
  border-top:1px solid var(--line)!important;text-align:center!important;
}
.win-item-copy-v33 .rarity-badge-v5{position:static!important;display:inline-flex!important;margin:0 auto 8px!important}
.win-item-copy-v33 b{display:block!important;font-size:17px!important;line-height:1.25!important;max-width:100%!important;overflow-wrap:anywhere!important}
.win-item-copy-v33 strong{display:block!important;margin-top:7px!important;color:var(--gold)!important;font:900 13px "JetBrains Mono",monospace!important}
.win-item-copy-v33 small{display:block!important;margin-top:7px!important;color:var(--muted2)!important;font-size:8.5px!important;line-height:1.45!important}

/* Contracts use the same strict separation. */
.contract-reveal-card-v33{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;overflow:hidden!important;text-align:center!important}
.contract-reveal-media-v33{width:100%!important;height:164px!important;min-height:164px!important;max-height:164px!important;border-radius:0!important;padding:13px 18px!important;overflow:hidden!important}
.contract-reveal-media-v33 img{max-width:74%!important;max-height:136px!important;margin:auto!important}
.contract-reveal-media-v33 img[data-item-type="clothes"]{max-width:64%!important;max-height:130px!important}
.contract-reveal-copy-v33{position:relative!important;z-index:3!important;padding:14px 18px 16px!important;background:#0e2847!important;border-top:1px solid rgba(135,150,178,.14)!important;text-align:center!important}
.contract-reveal-copy-v33 .rarity-badge-v5{position:static!important;display:inline-flex!important;margin:0 auto 8px!important}

/* Keep names and prices above images in all compact inventory cards too. */
.car-name,.car-price,.shop-meta,.profile-garage-item>b,.profile-garage-item>small,.contract-car-v29>b,.contract-car-v29>small,.contract-slot-v29>b{position:relative!important;z-index:3!important}
.car-img,.shop-item .car-img,.profile-garage-item .car-img{position:relative!important;z-index:1!important;overflow:hidden!important}

/* V34 pointer: clean mechanical needle, neutral at 0deg after every roll. */
.wheel-pointer{position:absolute!important;inset:0!important;z-index:16!important;pointer-events:none!important;transform-origin:50% 50%!important;filter:none!important}
.pointer-hub{display:block!important;position:absolute!important;left:50%!important;top:50%!important;width:20px!important;height:20px!important;transform:translate(-50%,-50%)!important;border-radius:50%!important;background:radial-gradient(circle at 38% 34%,#fff 0 8%,#dfe4ec 10% 24%,#838da0 25% 35%,#193859 36% 72%,#0e2847 73%)!important;border:2px solid rgba(255,255,255,.16)!important;box-shadow:0 4px 12px rgba(0,0,0,.40),0 0 0 2px rgba(0,0,0,.16)!important}
.pointer-beam{position:absolute!important;left:50%!important;top:50%!important;width:2px!important;height:calc(50% - 48px)!important;transform:translateX(-50%)!important;border-radius:2px!important;background:linear-gradient(180deg,#9ba5b5 0%,#eef2f8 58%,#ffd33d 100%)!important;box-shadow:0 0 5px rgba(255,255,255,.16)!important}
.pointer-tip{position:absolute!important;left:50%!important;bottom:26px!important;width:14px!important;height:18px!important;transform:translateX(-50%)!important;clip-path:polygon(50% 100%,0 0,100% 0)!important;background:linear-gradient(180deg,#ffe277,#f5bc16)!important;filter:drop-shadow(0 3px 5px rgba(0,0,0,.40))!important}
.wheel-pointer.pointer-reset-v34{transition:transform .62s cubic-bezier(.22,.82,.28,1)!important}

[data-theme="light"] .win-item-copy-v33{background:linear-gradient(180deg,#f7f9fc,#eef2f7)!important}
[data-theme="light"] .contract-reveal-copy-v33{background:#eaf0f7!important;color:#133050!important}
[data-theme="light"] .pointer-hub{border-color:rgba(20,30,48,.15)!important}

@media(max-width:760px){
  .win-item-media-v33{height:154px!important;min-height:154px!important;max-height:154px!important;padding:12px!important}
  .win-item-media-v33 img{max-height:124px!important;max-width:72%!important}
  .win-item-media-v33 img[data-item-type="clothes"]{max-height:118px!important;max-width:62%!important}
  .win-item-copy-v33{padding:13px 14px 15px!important}.win-item-copy-v33 b{font-size:15px!important}
  .contract-reveal-media-v33{height:148px!important;min-height:148px!important;max-height:148px!important}.contract-reveal-media-v33 img{max-height:120px!important}
  .pointer-beam{height:calc(50% - 44px)!important}.pointer-tip{bottom:23px!important}
}


/* ===== GTAUP V35 · UPGRADE SLOT HARD MEDIA/COPY SPLIT ===== */
/* The selected target/source item image is clipped into its own viewport. The name/price live in a separate opaque panel. */
.upgrade-stage>.slot .slot-filled-v35{
  height:290px!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:0!important;
  overflow:hidden!important;
  position:relative!important;
  padding:0!important;
}
.upgrade-stage>.slot .slot-media-v35{
  flex:0 0 176px!important;
  width:100%!important;
  height:176px!important;
  min-height:176px!important;
  max-height:176px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  position:relative!important;
  z-index:1!important;
  padding:12px 18px 6px!important;
  margin:0!important;
  background:radial-gradient(circle at 50% 54%,rgba(124,92,255,.10),transparent 62%)!important;
}
.upgrade-stage>.slot .slot-media-v35::after{
  content:"";position:absolute;left:16%;right:16%;bottom:10px;height:18px;border-radius:50%;
  background:rgba(0,0,0,.18);filter:blur(12px);pointer-events:none;
}
.upgrade-stage>.slot .slot-media-v35 img{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:78%!important;
  max-height:146px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  transform:none!important;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.30))!important;
}
.upgrade-stage>.slot .slot-media-v35 img[data-item-type="clothes"]{
  max-width:68%!important;
  max-height:136px!important;
}
.upgrade-stage>.slot .slot-copy-v35{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:96px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:12!important;
  padding:13px 40px 15px!important;
  margin:0!important;
  text-align:center!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface2) 97%,transparent),var(--surface2))!important;
  border-top:1px solid var(--line)!important;
  box-shadow:0 -12px 26px rgba(0,0,0,.10)!important;
}
.upgrade-stage>.slot .slot-copy-v35 .slot-name{
  display:block!important;position:relative!important;z-index:13!important;max-width:100%!important;
  font-size:14px!important;line-height:1.25!important;font-weight:900!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.upgrade-stage>.slot .slot-copy-v35 .slot-real{
  display:block!important;position:relative!important;z-index:13!important;margin-top:4px!important;
  font-size:9px!important;line-height:1.25!important;color:var(--muted2)!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;
}
.upgrade-stage>.slot .slot-copy-v35 .slot-price{
  display:block!important;position:relative!important;z-index:14!important;margin-top:8px!important;
  font:900 14px "JetBrains Mono",monospace!important;color:var(--gold)!important;
  text-shadow:0 0 14px color-mix(in srgb,var(--gold) 24%,transparent)!important;
}
.upgrade-stage>.slot .slot-clear{z-index:20!important}

[data-theme="light"] .upgrade-stage>.slot .slot-media-v35{
  background:radial-gradient(circle at 50% 54%,rgba(112,84,255,.10),transparent 62%),#edf2f8!important;
}
[data-theme="light"] .upgrade-stage>.slot .slot-copy-v35{
  background:linear-gradient(180deg,#f7f9fc,#eef2f7)!important;
  box-shadow:0 -10px 25px rgba(37,48,67,.07)!important;
}

@media(max-width:760px){
  .upgrade-stage>.slot .slot-filled-v35{height:220px!important}
  .upgrade-stage>.slot .slot-media-v35{flex-basis:128px!important;height:128px!important;min-height:128px!important;max-height:128px!important;padding:8px 10px 2px!important}
  .upgrade-stage>.slot .slot-media-v35 img{max-height:108px!important;max-width:78%!important}
  .upgrade-stage>.slot .slot-media-v35 img[data-item-type="clothes"]{max-height:102px!important;max-width:68%!important}
  .upgrade-stage>.slot .slot-copy-v35{min-height:82px!important;padding:9px 30px 11px!important}
  .upgrade-stage>.slot .slot-copy-v35 .slot-name{font-size:11px!important}
  .upgrade-stage>.slot .slot-copy-v35 .slot-real{display:none!important}
  .upgrade-stage>.slot .slot-copy-v35 .slot-price{font-size:11px!important;margin-top:6px!important}
}
@media(max-width:520px){
  .upgrade-stage>.slot .slot-filled-v35{height:180px!important}
  .upgrade-stage>.slot .slot-media-v35{flex-basis:102px!important;height:102px!important;min-height:102px!important;max-height:102px!important}
  .upgrade-stage>.slot .slot-media-v35 img{max-height:84px!important;max-width:80%!important}
  .upgrade-stage>.slot .slot-media-v35 img[data-item-type="clothes"]{max-height:80px!important;max-width:70%!important}
  .upgrade-stage>.slot .slot-copy-v35{min-height:70px!important;padding:7px 25px 9px!important}
  .upgrade-stage>.slot .slot-copy-v35 .slot-name{font-size:9.5px!important}
  .upgrade-stage>.slot .slot-copy-v35 .slot-price{font-size:9.5px!important}
}



/* ===== GTAUP V36 · ALWAYS-VISIBLE SIDEBAR LIVE FEED =====
   Keeps the recent-win feed visible on ordinary 1080p displays even when
   browser chrome / OS scaling reduce the usable CSS viewport height. */
@media (min-width:901px){
  .sidebar{overflow:hidden!important}
  .brand{flex:0 0 auto!important}
  .nav{flex:0 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important}
  .nav::-webkit-scrollbar{width:0!important;height:0!important}
  .telegram-banner-v32{flex:0 0 auto!important}
  .livebox{display:flex!important;flex:1 1 210px!important;min-height:168px!important;max-height:none!important;overflow:hidden!important}
  .livebox-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
  .sidebar-foot{flex:0 0 auto!important;margin-top:0!important}
}

/* Typical 1920×1080 screens with 110–150% OS scaling land here after the
   browser toolbar is accounted for. Compact only the chrome, not the feed. */
@media (min-width:901px) and (max-height:940px){
  .brand-v8{height:78px!important;padding:9px 13px!important}
  .brand-art{width:62px!important;height:46px!important;flex:0 0 62px!important}
  .brand-name{font-size:18px!important}.brand-sub{font-size:7px!important}
  .nav{padding:7px 10px!important;gap:2px!important}
  .nav-label{padding:6px 9px 3px!important;font-size:7px!important;letter-spacing:1.55px!important}
  .nav-btn{min-height:49px!important;margin-bottom:2px!important;padding:5px 8px!important;grid-template-columns:38px minmax(0,1fr) 14px!important;gap:8px!important;border-radius:13px!important}
  .nav-ic{width:38px!important;height:38px!important;border-radius:11px!important}
  .nav-title{font-size:10.8px!important}.nav-sub{font-size:7px!important;margin-top:2px!important}.nav-arrow{font-size:17px!important}
  .telegram-banner-v32{height:72px!important;margin:4px 10px!important;border-radius:13px!important}
  .tg-copy-v32{left:10px!important;right:8px!important;bottom:7px!important;gap:1px!important}.tg-copy-v32 b{font-size:9px!important}.tg-copy-v32 small{display:none!important}.tg-copy-v32 em{font-size:7px!important;margin-top:1px!important}
  .livebox{margin:4px 10px 3px!important;min-height:160px!important;border-radius:14px!important}
  .livebox-head{padding:8px 10px!important;font-size:8px!important}
  .livebox-row{padding:5px!important;margin:2px 3px!important;grid-template-columns:31px minmax(0,1fr) 45px!important;gap:6px!important}
  .livebox-ic{width:31px!important;height:31px!important}.livebox-prize-v13{width:45px!important;height:31px!important}.livebox-nick{font-size:8.8px!important}.livebox-meta{font-size:7.2px!important}
  .sidebar-foot{padding:4px 10px 7px!important}.sidebar-online{height:46px!important;padding:7px 9px!important}.online-copy b{font-size:14px!important}.online-copy small{font-size:7px!important}
}

/* Extra-short desktop window: keep at least a useful live panel and let only
   navigation become internally scrollable. */
@media (min-width:901px) and (max-height:780px){
  .brand-v8{height:66px!important}.brand-art{width:54px!important;height:40px!important;flex-basis:54px!important}.brand-name{font-size:16px!important}
  .nav{padding-top:4px!important;padding-bottom:4px!important}.nav-btn{min-height:44px!important}.nav-ic{width:34px!important;height:34px!important}.nav-sub{display:none!important}
  .telegram-banner-v32{height:54px!important}.tg-copy-v32 small,.tg-copy-v32 em{display:none!important}
  .livebox{min-height:142px!important}
  .sidebar-online{height:42px!important}
}



/* ===== GTAUP V37 · RESPONSIVE SIDEBAR / SEARCH / ADMIN STABILITY ===== */
/* Desktop sidebar must never squeeze artwork over labels. */
@media (min-width:1151px){
  .app{grid-template-columns:248px minmax(0,1fr)!important}
  .sidebar{min-width:248px!important;max-width:248px!important;width:248px!important}
  .nav-btn{grid-template-columns:44px minmax(0,1fr) 16px!important;gap:10px!important;overflow:hidden!important}
  .nav-ic{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;overflow:hidden!important;display:grid!important;place-items:center!important;position:relative!important}
  .nav-btn .nav-ic img,.nav-ic img{position:static!important;width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
  .nav-copy{min-width:0!important;overflow:hidden!important}.nav-title,.nav-sub{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
/* 125–150% Windows scaling often turns a 1920px monitor into ~1280–1536 CSS px.
   Below 1150 CSS px we intentionally switch to a clean icon rail instead of crushing text. */
@media (min-width:761px) and (max-width:1150px){
  .app{grid-template-columns:94px minmax(0,1fr)!important}
  .sidebar{min-width:94px!important;max-width:94px!important;width:94px!important;overflow:hidden!important}
  .brand{height:76px!important;padding:10px!important;justify-content:center!important}.brand-art{width:54px!important;height:54px!important;flex:0 0 54px!important}.brand-copy{display:none!important}
  .nav{padding:9px 9px!important;overflow-y:auto!important}.nav-label,.nav-copy,.nav-arrow,.nav-btn .chip{display:none!important}
  .nav-btn{display:grid!important;grid-template-columns:1fr!important;min-height:58px!important;height:58px!important;padding:6px!important;margin:0 0 5px!important;border-radius:15px!important;place-items:center!important;overflow:hidden!important}
  .nav-ic{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;margin:0!important;border-radius:13px!important;overflow:hidden!important;display:grid!important;place-items:center!important;position:relative!important}
  .nav-btn .nav-ic img,.nav-ic img{position:static!important;width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
  .telegram-banner-v32{display:none!important}
  .livebox{margin:6px 7px!important;min-height:180px!important;border-radius:13px!important}.livebox-head{padding:7px!important}.livebox-head span:not(.pulse){font-size:0!important}.livebox-head span:not(.pulse)::after{content:'LIVE';font-size:7px!important}.livebox-row{grid-template-columns:34px!important;justify-content:center!important;padding:5px!important;gap:0!important}.livebox-row>div:nth-child(2),.livebox-prize-v13{display:none!important}.livebox-ic{width:34px!important;height:34px!important;margin:auto!important}
  .sidebar-foot{padding:6px 7px!important}.sidebar-online{height:48px!important;justify-content:center!important;padding:7px!important}.online-copy,.online-live{display:none!important}
}
@media (max-width:760px){.sidebar{display:none!important}.app{display:block!important;grid-template-columns:1fr!important}}
/* Never allow nav artwork to escape its box, regardless of old version overrides. */
.nav-ic{isolation:isolate!important}.nav-ic img{overflow:hidden!important}
/* Search state / empty result feedback */
.catalog-search-empty-v37{grid-column:1/-1;padding:38px 18px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px;background:var(--surface2);font-size:12px}
.admin-sync-v37{display:inline-flex;align-items:center;gap:6px;color:#54e395;font:800 8px "JetBrains Mono",monospace}.admin-sync-v37:before{content:'';width:7px;height:7px;border-radius:50%;background:#54e395;box-shadow:0 0 10px rgba(84,227,149,.65)}

/* ===== V43: CRASH LAST 8 + CASINO-STYLE RTP CURVE ===== */
.crash-history-head-v40{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 0 8px;padding:0 2px}.crash-history-head-v40 div{display:flex;flex-direction:column;gap:2px}.crash-history-head-v40 span{font-size:7.5px;font-weight:900;letter-spacing:1.35px;color:var(--muted2)}.crash-history-head-v40 b{font-size:11px;font-weight:900;color:var(--text)}.crash-history-head-v40 small{font-size:8px;color:var(--muted2);font-weight:700}.crash-history-v40{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;overflow:visible!important;margin-bottom:12px!important}.crash-history-v40 .hist{min-width:0!important;width:100%;padding:8px 5px!important;text-align:center;border:1px solid var(--line);border-radius:9px;background:linear-gradient(180deg,var(--surface3),var(--surface2));font:900 9px "JetBrains Mono",monospace;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.crash-history-v40 .hist.low{color:var(--red);border-color:rgba(239,68,68,.18);background:linear-gradient(180deg,rgba(239,68,68,.08),var(--surface2))}.crash-history-v40 .hist.mid{color:var(--gold);border-color:rgba(251,191,36,.18);background:linear-gradient(180deg,rgba(251,191,36,.07),var(--surface2))}.crash-history-v40 .hist.high{color:var(--green);border-color:rgba(34,197,94,.18);background:linear-gradient(180deg,rgba(34,197,94,.07),var(--surface2))}.crash-history-empty-v40{grid-column:1/-1;padding:9px 11px;color:var(--muted2);font-size:9px;border:1px dashed var(--line);border-radius:9px;text-align:center}.crash-curve-note-v43{margin-top:7px;font-size:7.5px;line-height:1.45;color:var(--muted2)}
@media(max-width:760px){.crash-history-v40{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.crash-history-head-v40 small{display:none}.crash-history-v40 .hist{padding:7px 4px!important;font-size:8.5px}}
