:root { color-scheme: dark; --bg:#111; --card:#202020; --line:#383838; --green:#8cff18; --green-deep:#4a8d16; --soft:#8d8d92; --blue:#22aee9; }
.arena-game-card {
  position:relative; isolation:isolate; overflow:hidden; overflow:clip; width:100%; height:166px; margin:12px 0; padding:0;
  border:1px solid #577d31; border-radius:23px; color:#f4ffe9; text-align:left;
  background:radial-gradient(ellipse at 82% 39%,#88d23135,transparent 56%),radial-gradient(ellipse at 100% 0,#67a5ff22,transparent 48%),linear-gradient(118deg,#12200d 8%,#1b2e16 57%,#102019);
  box-shadow:inset 0 1px #d4ff7c30,inset 0 -1px #83db3915,0 8px 23px #0003;
  transition:transform .18s,border-color .18s;
}
.arena-game-card:before { content:''; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,#101c0af0 0,#101c0ad9 28%,transparent 62%); }
.arena-game-card:after { content:''; position:absolute; z-index:6; inset:7px; pointer-events:none; opacity:.65; border-radius:17px; background:linear-gradient(#adfa68,#adfa68) left 9px top 0/24px 1px no-repeat,linear-gradient(#adfa68,#adfa68) right 9px bottom 0/24px 1px no-repeat; }
.arena-game-card:active { transform:scale(.985); }
.arena-game-card:hover { border-color:#80b94a; }
.arena-card-copy { position:absolute; z-index:5; top:21px; bottom:19px; left:19px; display:flex; flex-direction:column; align-items:flex-start; pointer-events:none; }
.arena-card-copy>small { display:flex; align-items:center; gap:6px; height:18px; padding:0 7px; border:1px solid #a7ff5b48; border-radius:5px; background:#142608; color:#c2f39d; font:800 9px/1 Manrope,system-ui; letter-spacing:1.5px; white-space:nowrap; }
.arena-card-copy>small>i { display:block; width:4px; height:4px; border-radius:50%; background:#c5ff8f; box-shadow:0 0 8px #96ff42; }
.arena-card-copy>strong { position:relative; margin-top:10px; color:#eaffcf; font:900 italic clamp(30px,9.6vw,41px)/1 Rubik,Manrope,system-ui; letter-spacing:-1.4px; transform:rotate(-3deg); text-shadow:0 1px #82b545,0 2px #567e26,0 3px #375a12,0 4px #1d330c,0 5px 1px #0009; }
.arena-card-copy>strong:after { position:absolute; inset:0; color:transparent; content:attr(data-title); background:linear-gradient(110deg,transparent 35%,#fff 49%,transparent 62%) -220% 0/220% 100%; background-clip:text; -webkit-background-clip:text; text-shadow:none; opacity:.6; animation:arena-card-title-glint 7s ease-in-out infinite; }
.arena-card-copy>.arena-card-cta { position:relative; display:flex; align-items:center; gap:7px; min-height:44px; margin-top:auto; padding:2px 0 5px; border:0; border-radius:0; background:none; color:#f5ffe9; font:900 italic 24px/1 Rubik,Manrope,system-ui; text-transform:uppercase; letter-spacing:-.8px; white-space:nowrap; text-shadow:0 1px #80a354,0 2px #345612,0 3px 1px #071402,0 0 14px #b9ff9c33; transform:rotate(-3deg); transition:color .18s,text-shadow .18s; }
.arena-card-cta:before { content:''; position:absolute; left:0; right:23px; bottom:4px; height:1px; background:linear-gradient(90deg,#d5ffa581,#a4f25738,transparent); transform:skewX(-16deg); }
.arena-card-cta:after { content:''; position:absolute; left:0; bottom:4px; width:21px; height:1px; background:#eaffc5; box-shadow:0 0 6px #b7ff6f; animation:arena-card-cta-glint 4.6s ease-in-out infinite; }
.arena-card-copy .arena-card-cta i { display:grid; flex:0 0 auto; place-items:center; width:25px; height:26px; background:none; filter:drop-shadow(0 0 5px #9dff4b60); animation:arena-card-arrow 2.6s ease-in-out infinite; }
.arena-card-copy .arena-card-cta svg { display:block; width:25px; height:24px; fill:#aaff50; stroke:#ddffb9; stroke-width:.6; stroke-linejoin:round; }
.arena-card-cta .arena-cta-trail { opacity:.3; stroke:none; }
.arena-game-card:hover .arena-card-copy>.arena-card-cta { color:#fff; text-shadow:0 1px #80a354,0 2px #345612,0 3px 1px #071402,0 0 18px #c5ffad65; }
.arena-game-card:active .arena-card-cta i { opacity:.8; }
.arena-card-scene { position:absolute; z-index:2; top:0; right:-3px; bottom:0; width:56%; pointer-events:none; }
.arena-card-grid { position:absolute; z-index:0; left:-18%; right:-15%; top:51%; height:125px; opacity:.24; background:linear-gradient(#9dff642e 1px,transparent 1px),linear-gradient(90deg,#9dff642e 1px,transparent 1px); background-size:23px 23px; transform:perspective(330px) rotateX(61deg) rotateZ(-9deg); mask-image:radial-gradient(ellipse,#000,transparent 73%); }
.arena-card-sheen { position:absolute; z-index:4; top:-40%; left:-55%; width:40%; height:180%; opacity:.5; pointer-events:none; background:linear-gradient(90deg,transparent,#daff9310,transparent); transform:rotate(19deg); animation:arena-card-sheen 8s ease-in-out infinite; }
.arena-card-beam { --beam-angle:-8deg; position:absolute; z-index:0; bottom:25px; left:2%; width:82px; height:150px; background:linear-gradient(0deg,#a7ff633d,#acff5720 35%,transparent 95%); clip-path:polygon(42% 0,58% 0,100% 100%,0 100%); transform-origin:50% 100%; animation:arena-card-beam 5.6s ease-in-out infinite; }
.arena-card-beam-right { --beam-angle:10deg; left:auto; right:0; width:98px; background:linear-gradient(0deg,#78ceff35,#80cbff17 43%,transparent 95%); animation-delay:-2.2s; animation-duration:6.3s; }
.arena-card-ring { position:absolute; z-index:1; left:1%; right:3%; bottom:13px; height:53px; border:1px solid #a4ff587c; border-radius:50%; background:radial-gradient(ellipse,#aaff541c,transparent 70%); box-shadow:0 0 17px #8cff1826,inset 0 0 13px #8cff1814; transform:rotate(-7deg); }
.arena-card-ring>i { position:absolute; inset:5px 10px; border:1px solid #c0ff6e80; border-top-color:#d6ffaca8; border-radius:50%; animation:arena-card-ring 3.7s ease-in-out infinite; }
.arena-card-ring>i:nth-child(2) { inset:12px 21px; opacity:.6; animation-delay:-1.7s; }
.arena-card-ring>i:nth-child(3) { inset:-6px -9px; border-color:#8cff1823; animation-delay:-2.5s; }
.arena-card-ring-shadow { position:absolute; z-index:1; left:14%; right:6%; bottom:26px; height:23px; border-radius:50%; background:radial-gradient(ellipse,#0007,transparent 73%); transform:rotate(-7deg); }
.player-avatar.arena-card-duck { position:absolute; z-index:3; display:block; width:96px; height:96px; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; filter:drop-shadow(0 8px 7px #0006); }
.arena-card-duck>img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.arena-card-duck-left { top:38px; left:0; animation:arena-card-player-left 4.2s ease-in-out infinite; }
.player-avatar.arena-card-duck-right { width:106px; height:106px; top:15px; right:0; animation:arena-card-player-right 4.5s ease-in-out infinite; }
.arena-card-versus { position:absolute; z-index:5; top:82px; left:29%; width:110px; height:57px; filter:drop-shadow(0 5px 3px #0007); transform:rotate(-7deg); }
.arena-card-vs-still { position:absolute; inset:0; display:flex; justify-content:center; width:100%; height:100%; }
.arena-card-vs-still>img { display:block; width:50%; height:100%; object-fit:contain; transform:scale(1.28); }
.arena-card-vs-still>img+img { margin-left:-17px; }
.arena-card-particles { position:absolute; z-index:4; inset:0; pointer-events:none; }
.arena-card-particles>i { position:absolute; left:12%; top:16%; width:3px; height:3px; border-radius:1px; background:#ceff8c; box-shadow:0 0 6px #9eff50; animation:arena-card-particle 3.3s ease-in-out infinite; }
.arena-card-particles>i:nth-child(2) { left:37%; top:7%; animation-delay:-1.1s; }
.arena-card-particles>i:nth-child(3) { left:89%; top:18%; width:2px; height:5px; animation-delay:-2.4s; }
.arena-card-particles>i:nth-child(4) { left:80%; top:73%; animation-delay:-.5s; }
.arena-card-particles>i:nth-child(5) { left:27%; top:78%; width:2px; animation-delay:-1.9s; }
.arena-card-particles>i:nth-child(6) { left:63%; top:35%; background:#9cddff; animation-delay:-2.8s; }
@keyframes arena-card-player-left { 0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-5px) rotate(-3deg)} }
@keyframes arena-card-player-right { 0%,100%{transform:translateY(-2px) rotate(6deg)}50%{transform:translateY(3px) rotate(2deg)} }
@keyframes arena-card-beam { 0%,100%{opacity:.6;transform:rotate(var(--beam-angle))}50%{opacity:1;transform:rotate(calc(var(--beam-angle) + 5deg))} }
@keyframes arena-card-ring { 0%,100%{opacity:.45;transform:scale(.97)}50%{opacity:.95;transform:scale(1.03)} }
@keyframes arena-card-title-glint { 0%,35%{background-position:-220% 0}62%,100%{background-position:220% 0} }
@keyframes arena-card-cta-glint { 0%,20%{opacity:0;transform:translateX(0)}35%{opacity:.75}70%,100%{opacity:0;transform:translateX(64px)} }
@keyframes arena-card-particle { 0%,100%{opacity:0;transform:translateY(4px) scale(.5)}35%{opacity:.9}70%{opacity:.2;transform:translateY(-10px) scale(1)} }
@keyframes arena-card-sheen { 0%,20%{transform:translateX(0) rotate(19deg)}65%,100%{transform:translateX(440%) rotate(19deg)} }
@keyframes arena-card-arrow { 0%,100%{transform:translateX(0)}50%{transform:translateX(3px)} }
@media(max-width:360px) {
  .arena-game-card { height:158px; }.arena-card-copy { top:19px; left:15px; bottom:17px; }
  .arena-card-copy>strong { margin-top:10px; letter-spacing:-1.5px; }.arena-card-copy>small { font-size:8px; padding:0 6px; letter-spacing:1px; }
  .arena-card-copy>.arena-card-cta { font-size:21px; min-height:41px; gap:4px; letter-spacing:-.75px; }.arena-card-copy .arena-card-cta i { width:22px; height:24px; }.arena-card-copy .arena-card-cta svg { width:22px; height:22px; }
  .arena-card-scene { width:55%; }.player-avatar.arena-card-duck { width:85px; height:85px; top:41px; }
  .player-avatar.arena-card-duck-right { width:94px; height:94px; top:24px; }
  .arena-card-versus { top:84px; left:24%; width:98px; height:52px; }
}
@media(prefers-reduced-motion:reduce) {
  .arena-game-card *,.arena-game-card *:before,.arena-game-card *:after { animation:none!important; }
  .arena-card-beam { opacity:.6; }
}
.crash-message:empty { display:none; }
html,body { background:#000000!important; }
#caseDescription:empty{display:none}
.app-loader { position:fixed; z-index:100; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; background:radial-gradient(circle at 50% 51%,rgba(140,255,24,.2),transparent 22%),radial-gradient(circle at 50% 45%,#1b3524 0,#0c1710 48%,#050806 100%); opacity:1; transition:opacity .48s ease,visibility .48s ease; }
.app-loader::before { position:absolute; inset:-28%; border-radius:50%; background:conic-gradient(from 0deg,transparent,rgba(140,255,24,.045),transparent 30%); content:""; animation:loader-orbit 7s linear infinite; }
.app-loader.is-leaving { visibility:hidden; opacity:0; pointer-events:none; }
.app-loader-glow { position:absolute; width:168px; height:168px; border-radius:50%; background:rgba(140,255,24,.18); filter:blur(42px); animation:loader-glow 1.7s ease-in-out infinite alternate; }
.player-avatar.app-loader-avatar { position:relative; width:128px; height:128px; border:0; border-radius:35px; background:linear-gradient(145deg,rgba(140,255,24,.1),rgba(140,255,24,.025)); box-shadow:0 0 0 1px rgba(164,255,82,.13),0 19px 45px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.08); animation:loader-float 1.9s ease-in-out infinite; }
.app-loader-avatar::after { position:absolute; inset:-8px; border:1px solid rgba(164,255,82,.13); border-radius:42px; content:""; animation:loader-ring 1.9s ease-out infinite; }
.app-loader-avatar > img,.app-loader-avatar > .player-avatar-lottie { position:absolute; inset:7px; width:114px; height:114px; }
.app-loader-avatar > img { z-index:1; object-fit:contain; }
.app-loader-avatar > .player-avatar-lottie { z-index:2; opacity:0; }
.app-loader-avatar.lottie-ready > img { opacity:0; }
.app-loader-avatar.lottie-ready > .player-avatar-lottie { opacity:1; }
.app-loader-dots { position:relative; display:flex; gap:6px; margin-top:27px; }
.app-loader-dots i { width:5px; height:5px; border-radius:50%; background:#9cff3d; box-shadow:0 0 10px rgba(140,255,24,.55); animation:loader-dot 1.15s ease-in-out infinite; }
.app-loader-dots i:nth-child(2) { animation-delay:.14s; }.app-loader-dots i:nth-child(3) { animation-delay:.28s; }
@keyframes loader-float { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-7px) scale(1.025); } }
@keyframes loader-glow { from { opacity:.48; transform:scale(.86); } to { opacity:1; transform:scale(1.13); } }
@keyframes loader-ring { 0% { opacity:.55; transform:scale(.88); } 78%,100% { opacity:0; transform:scale(1.18); } }
@keyframes loader-orbit { to { transform:rotate(360deg); } }
@keyframes loader-dot { 0%,55%,100% { opacity:.3; transform:translateY(0); } 25% { opacity:1; transform:translateY(-4px); } }
body.economy-syncing #openFreeCase,body.economy-syncing #spinGift,body.economy-syncing .market-gift,body.economy-syncing #modalPrimary,body.economy-syncing #modalSecondary { pointer-events:none; filter:saturate(.65); opacity:.68; }
* { box-sizing:border-box; } [hidden] { display:none!important; } html,body { min-height:100%; margin:0; overscroll-behavior-y:none; touch-action:pan-y; } body { background:#050505; color:#f5f5f5; font-family:Manrope,Arial,sans-serif; -webkit-font-smoothing:antialiased; } button { color:inherit; font:inherit; border:0; cursor:pointer; touch-action:manipulation; } button:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.app-shell { position:relative; width:100%; max-width:430px; min-height:100dvh; margin:0 auto; overflow:hidden; padding:calc(14px + env(safe-area-inset-top)) 0 calc(99px + env(safe-area-inset-bottom)); background:radial-gradient(circle at 70% 4%,rgba(133,255,26,.08),transparent 25%),#111; }.app-shell:before { position:absolute; inset:0; z-index:0; content:""; pointer-events:none; opacity:.42; background-image:radial-gradient(circle,rgba(148,255,38,.65) 1px,transparent 1.5px); background-size:82px 112px; mask-image:linear-gradient(120deg,transparent 0 14%,black 50%,transparent 95%); }
.app-header,.wallet-panel,.screen,.bottom-nav { position:relative; z-index:1; }.app-header { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:74px; padding:0 30px; background:#050505; }.close-link { justify-self:start; padding:6px 0; color:#7df526; background:transparent; font-size:16px; font-weight:700; }.app-title { display:flex; flex-direction:column; align-items:center; line-height:1.12; }.app-title b { font-family:Rubik,sans-serif; font-size:22px; }.app-title span { margin-top:4px; color:#85858b; font-size:12px; }.more-button { justify-self:end; display:grid; place-items:center; width:39px; height:39px; border:2px solid #52e97c; border-radius:50%; color:#52e97c; background:transparent; font-weight:800; letter-spacing:1px; }
.wallet-panel { display:flex; align-items:center; gap:14px; min-height:118px; margin-top:1px; padding:18px 30px; border-radius:0 0 28px 28px; background:#222; box-shadow:0 7px 17px rgba(0,0,0,.28); }.wallet-user { display:flex; flex:1; align-items:center; gap:9px; overflow:hidden; }.wallet-user b { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.avatar,.profile-avatar { display:grid; flex:0 0 auto; place-items:center; width:58px; height:58px; border-radius:50%; color:#f7d6ff; background:linear-gradient(145deg,#c987f2,#ba4ddb); font:800 25px Rubik,sans-serif; }.balance-box { display:grid; grid-template-columns:auto auto; align-items:center; gap:1px 6px; min-width:119px; padding:9px 11px 7px; border:2px solid #555; border-radius:18px; background:#282828; }.balance-box span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; color:white; background:var(--blue); font-size:8px; font-weight:800; }.balance-box strong { color:#f6f6f6; font:800 19px Rubik,sans-serif; }.balance-box small { grid-column:1/-1; color:#7e7e83; text-align:center; font-size:10px; }.add-ton { display:grid; flex:0 0 auto; place-items:center; width:55px; height:55px; border-radius:16px; color:#080808; background:var(--green); box-shadow:0 0 20px rgba(138,255,24,.17); font-size:35px; font-weight:500; }
.screen { display:none; padding:24px 30px 18px; animation:screen-enter .19s cubic-bezier(.16,1,.3,1); }.screen.active { display:block; }.section-heading span,.eyebrow { color:#a0a0a4; font-size:10px; font-weight:800; letter-spacing:1.3px; }.section-heading h1,.case-title h1,.luck-title { margin:5px 0 0; font:800 31px/.98 Rubik,sans-serif; letter-spacing:-1.3px; }.section-heading p,.case-title p { margin:9px 0 0; color:#8e8e92; font-size:12px; line-height:1.45; }.live-row { display:flex; align-items:center; gap:9px; overflow:hidden; margin:-5px -30px 25px; padding:8px 10px; border-block:1px solid #293021; background:linear-gradient(90deg,#171d14,#181818 28%,#171717); }.live-badge { display:flex; flex:0 0 auto; align-items:center; gap:5px; height:54px; padding:0 8px; border:1px solid #4f7c2a; border-radius:13px; color:#a5ff48; background:#172213; font-size:8px; font-weight:800; letter-spacing:.8px; writing-mode:vertical-rl; transform:rotate(180deg); }.live-badge i { width:6px; height:6px; border-radius:50%; background:#8cff18; box-shadow:0 0 10px #8cff18; animation:live-pulse 1.3s ease-out infinite; }.live-feed { display:flex; min-width:0; flex:1; gap:7px; overflow:hidden; }.live-gift { position:relative; display:grid; flex:0 0 52px; height:54px; place-items:center; overflow:hidden; border:1px solid #353b31; border-radius:14px; background:radial-gradient(circle at 50% 38%,rgba(145,255,42,.16),transparent 55%),#232522; box-shadow:inset 0 1px rgba(255,255,255,.04); }.live-gift:nth-child(3n+2) { background:radial-gradient(circle at 50% 38%,rgba(177,90,255,.18),transparent 55%),#242126; }.live-gift:nth-child(3n) { background:radial-gradient(circle at 50% 38%,rgba(47,198,255,.18),transparent 55%),#202528; }.live-gift-media { display:grid; width:44px; height:44px; place-items:center; }.live-gift .gift-static { width:39px; height:39px; filter:drop-shadow(0 5px 5px rgba(0,0,0,.35)); animation:live-float 1.7s ease-in-out infinite; }.live-gift .gift-animation { width:44px; height:44px; }.live-gift small { position:absolute; right:3px; bottom:2px; left:3px; overflow:hidden; color:#c7c7ca; font-size:5px; font-weight:800; line-height:1; text-align:center; text-overflow:ellipsis; text-shadow:0 1px 3px #000; white-space:nowrap; }.live-gift.is-new { z-index:1; border-color:#83cf3c; box-shadow:0 0 15px rgba(140,255,24,.26),inset 0 1px rgba(255,255,255,.1); animation:live-enter .55s cubic-bezier(.18,.89,.32,1.28); }.live-gift.is-own:after { position:absolute; top:3px; right:3px; width:6px; height:6px; border-radius:50%; background:#fff45b; box-shadow:0 0 8px #fff45b; content:""; }.daily-card { position:relative; display:grid; grid-template-columns:75px 1fr; gap:14px; align-items:center; margin-top:20px; padding:16px; overflow:hidden; border:1px solid rgba(144,255,34,.52); border-radius:23px; background:linear-gradient(110deg,#233b16,#212121 63%); box-shadow:inset 0 0 30px rgba(139,255,24,.08); }.daily-art { position:relative; display:grid; place-items:center; width:75px; height:75px; border-radius:20px; background:linear-gradient(145deg,#9dff26,#558b18); box-shadow:0 0 27px rgba(149,255,37,.3); font-size:41px; }.daily-art span:last-child { position:relative; z-index:1; }.daily-glow { position:absolute; width:50px; height:50px; border-radius:50%; background:#fff681; filter:blur(14px); }.daily-card b { font:800 17px Rubik,sans-serif; }.daily-card p { margin:6px 0 0; color:#aaa; font-size:11px; line-height:1.35; }.neon-outline { grid-column:2; justify-self:start; margin-top:3px; padding:8px 12px; border:1px solid #7ece32; border-radius:9px; color:#a5ff42; background:#243316; font-size:11px; font-weight:800; }.neon-outline i { margin-left:5px; font-size:17px; font-style:normal; vertical-align:-2px; }.premium-card { margin-top:17px; padding:22px 19px 17px; overflow:hidden; border:1px solid #424242; border-radius:24px; background:radial-gradient(circle at 85% 18%,rgba(138,255,24,.15),transparent 38%),#202020; }.premium-card h2 { margin:6px 0 16px; font:800 22px/1.05 Rubik,sans-serif; letter-spacing:-.7px; }.premium-preview { display:grid; grid-template-columns:repeat(3,1fr); overflow:hidden; margin:0 -2px 16px; border:2px solid var(--green); border-radius:16px; }.premium-preview span { display:grid; place-items:center; min-height:88px; border-right:2px solid var(--green); background:#292929; font-size:43px; }.premium-preview span:last-child { border-right:0; }.primary-green,.free-case-button { min-height:57px; width:100%; border-radius:17px; color:#0b0b0b; background:linear-gradient(115deg,#8cff18,#a5ff22); box-shadow:inset 0 1px rgba(255,255,255,.45),0 9px 19px rgba(112,255,20,.12); font:800 17px Rubik,sans-serif; }.block-title { margin:25px 0 14px; font:800 25px Rubik,sans-serif; letter-spacing:-.8px; }.grand-prize { display:flex; align-items:center; gap:16px; padding:16px; border:2px solid #e0a62d; border-radius:22px; background:linear-gradient(105deg,#31301b,#202020); }.grand-prize > span { font-size:51px; }.grand-prize div { display:flex; flex-direction:column; gap:2px; }.grand-prize small { color:#ebbb4b; font-size:9px; font-weight:800; letter-spacing:1px; }.grand-prize b { font:800 20px Rubik,sans-serif; }.grand-prize p { margin:0; color:#999; font-size:11px; }.back-link { margin:-7px 0 25px; padding:4px 0; color:#9aff3c; background:transparent; font-size:13px; font-weight:800; }.case-title { text-align:center; }.case-title p { max-width:290px; margin-right:auto; margin-left:auto; }.case-machine { position:relative; margin:25px -10px 17px; padding:18px 8px; overflow:hidden; border:2px solid #80dc27; border-radius:25px; background:radial-gradient(circle at 50% 30%,rgba(139,255,24,.15),transparent 44%),#222; }.case-spotlight { position:absolute; width:180px; height:180px; left:50%; top:50%; border-radius:50%; background:#a1ff25; filter:blur(50px); opacity:.12; transform:translate(-50%,-50%); }.case-cards { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }.case-item { display:flex; min-width:0; min-height:128px; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:8px; border:1px solid #515151; border-radius:18px; background:#272727; text-align:center; transition:transform .13s,filter .13s,opacity .13s; }.case-item span { font-size:48px; filter:drop-shadow(0 7px 9px rgba(0,0,0,.35)); }.case-item b { overflow:hidden; max-width:100%; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.center-case { border-color:#a1ff3a; box-shadow:0 0 18px rgba(145,255,34,.28); }.case-marker { position:absolute; z-index:2; left:50%; top:4px; color:var(--green); font-size:23px; text-shadow:0 1px 4px #000; transform:translateX(-50%); }.free-case-button { margin-top:9px; }.free-case-button span { margin-right:7px; }.case-note { margin:11px 0 0; color:#858588; font-size:10px; text-align:center; }.case-machine.spinning .case-item { animation:slot-flash .36s linear infinite; }.case-machine.spinning .center-case { transform:scale(1.04); }.case-machine.won { border-color:#d5ff6c; box-shadow:0 0 33px rgba(152,255,33,.23); }.case-machine.won .center-case { border-color:#fff27b; background:linear-gradient(145deg,#3a4722,#292929); box-shadow:0 0 23px #a8ff2f; transform:scale(1.05); }
.market-heading { margin-bottom:18px; }.market-filter { display:flex; gap:7px; margin:17px 0; }.market-filter button,.inventory-title button { padding:8px 14px; border:1px solid #3f3f3f; border-radius:10px; color:#a6a6aa; background:#202020; font-size:11px; font-weight:800; }.market-filter .active { color:#a9ff4d; border-color:#6cac2d; background:#283b19; }.gift-grid,.inventory-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.market-gift,.inventory-gift { position:relative; min-width:0; padding:12px; overflow:hidden; border:1px solid #3b3b3b; border-radius:21px; background:radial-gradient(circle at 50% 29%,rgba(153,255,35,.11),transparent 40%),#222; text-align:center; transition:transform .2s,border-color .2s; }.market-gift:hover,.inventory-gift:hover { border-color:#8edc31; transform:translateY(-2px); }.gift-value { position:absolute; top:9px; left:50%; padding:5px 8px; border-radius:10px; color:#a3ff39; background:#34421f; font-size:10px; font-weight:800; transform:translateX(-50%); }.market-gift > span,.inventory-gift > span { display:grid; min-height:106px; place-items:end center; padding-top:31px; font-size:62px; filter:drop-shadow(0 8px 7px rgba(0,0,0,.28)); }.market-gift b,.inventory-gift b { display:block; overflow:hidden; margin-top:2px; font:800 15px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }.market-gift small,.inventory-gift small { display:block; margin-top:5px; color:#919195; font-size:10px; }.profile-card { position:relative; display:grid; grid-template-columns:57px 1fr auto; gap:12px; align-items:center; padding:16px; overflow:hidden; border:1px solid #3c3c3c; border-radius:23px; background:linear-gradient(125deg,#242424,#1d2a1b); }.profile-avatar { width:57px; height:57px; font-size:22px; }.profile-card h1 { margin:3px 0; font:800 20px Rubik,sans-serif; }.profile-card p { margin:0; color:#97979b; font-size:10px; }.profile-gear { align-self:start; padding:4px; color:#999; background:transparent; }.profile-stats { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,1fr); padding-top:13px; border-top:1px solid #3c3c3c; text-align:center; }.profile-stats div { display:flex; flex-direction:column; gap:3px; border-right:1px solid #3b3b3b; }.profile-stats div:last-child { border-right:0; }.profile-stats b { font:800 16px Rubik,sans-serif; }.profile-stats span { color:#929297; font-size:9px; }.inventory-title { display:flex; justify-content:space-between; align-items:end; margin:25px 0 13px; }.inventory-title h2 { margin:3px 0 0; font:800 25px Rubik,sans-serif; }.empty-inventory { color:#818186; font-size:13px; text-align:center; }.inventory-gift { cursor:pointer; }.inventory-gift > span { min-height:93px; font-size:54px; }
.luck-screen { padding-top:16px; }.selected-gift { display:flex; align-items:center; gap:11px; margin:12px 0 20px; padding:11px; border:1px solid #70bd2a; border-radius:18px; background:linear-gradient(115deg,#2e471b,#262626); }.selected-gift > span { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#333; font-size:28px; }.selected-gift div { display:flex; flex:1; flex-direction:column; gap:3px; }.selected-gift small { color:#a9a9ad; font-size:8px; font-weight:800; }.selected-gift b { font-size:14px; }.selected-gift em { color:#aaff42; font-size:11px; font-style:normal; font-weight:800; }.luck-title { margin-bottom:16px; font-size:28px; }.chance-orb { position:relative; display:grid; width:218px; height:218px; margin:0 auto 10px; place-items:center; border-radius:50%; background:radial-gradient(circle,#252525 0 42%,#151515 43% 55%,transparent 56%); box-shadow:0 17px 34px rgba(0,0,0,.38),inset 0 0 24px rgba(255,255,255,.025); cursor:grab; touch-action:none; user-select:none; }.chance-orb:active { cursor:grabbing; }.chance-orb svg { position:absolute; inset:9px; z-index:2; width:200px; height:200px; overflow:visible; transform:rotate(-90deg); }.chance-orb circle { fill:none; stroke:#343434; stroke-width:10; }.chance-orb .chance-ring { stroke:#9aff2c; stroke-linecap:round; stroke-dasharray:157 157; stroke-dashoffset:0; filter:drop-shadow(0 0 8px #63bd18); transform-box:fill-box; transform-origin:center; transition:transform .24s ease,stroke-dasharray .25s ease; }.wheel-ticks { position:absolute; z-index:1; inset:8px; border-radius:50%; background:repeating-conic-gradient(from -1deg,#5b5b5b 0 1deg,transparent 1deg 9deg); -webkit-mask:radial-gradient(circle,transparent 0 83%,#000 84% 90%,transparent 91%); mask:radial-gradient(circle,transparent 0 83%,#000 84% 90%,transparent 91%); opacity:.58; }.wheel-needle { position:absolute; z-index:5; bottom:50%; left:calc(50% - 4px); width:8px; height:86px; transform:rotate(0); transform-origin:50% 100%; will-change:transform; }.wheel-needle i { position:absolute; inset:1px 1px 10px; border-radius:6px 6px 3px 3px; background:linear-gradient(90deg,#ffad25,#fff2a0 48%,#ff8b18); box-shadow:0 0 10px rgba(255,168,29,.7),0 5px 7px rgba(0,0,0,.45); clip-path:polygon(50% 0,100% 13%,75% 100%,25% 100%,0 13%); }.wheel-hub { position:absolute; z-index:7; width:29px; height:29px; border:5px solid #252525; border-radius:50%; background:radial-gradient(circle at 38% 32%,#fff7b5,#ff9b19 40%,#9d4b00 75%); box-shadow:0 0 0 2px #626262,0 5px 12px rgba(0,0,0,.55); }.chance-readout { position:absolute; z-index:4; bottom:36px; display:flex; flex-direction:column; align-items:center; padding:4px 8px; border-radius:9px; background:rgba(18,18,18,.77); pointer-events:none; }.chance-readout b { color:#fff; font:800 18px Rubik,sans-serif; }.chance-readout span { color:#9c9ca1; font-size:7px; font-weight:800; letter-spacing:1px; }.zone-toolbar { display:grid; grid-template-columns:38px 1fr 38px; gap:8px; align-items:center; max-width:250px; margin:0 auto 17px; }.zone-toolbar button { display:grid; width:38px; height:38px; place-items:center; border:1px solid #619d2d; border-radius:12px; color:#aaff4b; background:#26341e; font-size:20px; }.zone-toolbar > span { display:flex; flex-direction:column; align-items:center; gap:2px; text-align:center; }.zone-toolbar b { color:#abff4f; font-size:9px; letter-spacing:.7px; }.zone-toolbar small { color:#777b75; font-size:8px; }.chance-controls { padding:16px; border:1px solid #404040; border-radius:20px; background:#202020; }.chance-controls > div:first-child { display:flex; justify-content:space-between; color:#ababaf; font-size:12px; }.chance-controls > div:first-child b { color:#aaff42; font-size:14px; }.chance-controls input { width:100%; margin:13px 0; accent-color:#92ff23; }.chance-pills { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }.chance-pills button { height:32px; border:1px solid #424242; border-radius:9px; color:#a2a2a5; background:#282828; font-size:11px; font-weight:800; }.chance-pills .active { color:#101010; border-color:#a4ff42; background:#a4ff42; }.chance-controls p { margin:13px 0 0; color:#86868b; font-size:10px; line-height:1.35; }.spin-button { margin-top:16px; }.spin-button b { margin-left:3px; }.demo-link { display:block; margin:12px auto 0; color:#9aff3a; background:transparent; font-size:12px; font-weight:800; }.topup-card { margin-top:23px; padding:27px 20px; border:1px solid #609d27; border-radius:24px; background:linear-gradient(145deg,#28391a,#212121); text-align:center; }.topup-card > span { font-size:45px; color:#9bff31; }.topup-card b { display:block; margin-top:9px; font:800 22px Rubik,sans-serif; }.topup-card p { margin:8px 0 20px; color:#999; font-size:12px; line-height:1.4; }.amounts { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.amounts button { min-height:41px; border:1px solid #8cda35; border-radius:11px; color:#b1ff56; background:#26391b; font-size:11px; font-weight:800; }.rating-list { display:grid; gap:10px; margin:23px 0; padding:0; list-style:none; }.rating-list li { display:grid; grid-template-columns:30px 1fr auto; align-items:center; gap:8px; padding:14px; border:1px solid #383838; border-radius:15px; background:#202020; }.rating-list span { display:grid; place-items:center; width:25px; height:25px; border-radius:8px; color:#111; background:#a5ff3a; font-size:11px; font-weight:800; }.rating-list em { color:#a7ff4d; font-size:11px; font-style:normal; font-weight:800; }
.bottom-nav { position:fixed; z-index:10; left:50%; bottom:max(10px,env(safe-area-inset-bottom)); display:grid; grid-template-columns:repeat(5,1fr); width:min(calc(100% - 24px),406px); height:76px; padding:6px; border:1px solid #333b3d; border-radius:27px; background:rgba(25,30,33,.96); box-shadow:0 12px 30px rgba(0,0,0,.42); backdrop-filter:blur(18px); transform:translateX(-50%); }.bottom-nav button { display:flex; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:4px; border-radius:19px; color:#7f8386; background:transparent; font-size:8px; }.bottom-nav button span { font-size:24px; line-height:1; }.bottom-nav button b { overflow:hidden; max-width:100%; text-overflow:ellipsis; white-space:nowrap; }.bottom-nav .active { color:#a9ff3b; }.bottom-nav .nav-games span { display:grid; place-items:center; width:46px; height:46px; margin-top:-27px; border-radius:50%; color:#0e130b; background:var(--green); box-shadow:0 0 24px rgba(145,255,30,.43); font-size:28px; }.bottom-nav .nav-games b { margin-top:-1px; }
.modal { position:fixed; z-index:30; inset:0; display:grid; place-items:end center; visibility:hidden; padding:18px 17px calc(18px + env(safe-area-inset-bottom)); background:rgba(0,0,0,.68); opacity:0; transition:visibility .2s,opacity .2s; backdrop-filter:blur(8px); }.modal.show { visibility:visible; opacity:1; }.modal-card { position:relative; width:min(100%,400px); padding:22px 18px 16px; border:1px solid #4e4e4e; border-radius:27px; background:radial-gradient(circle at 50% 17%,rgba(150,255,36,.14),transparent 32%),#202020; box-shadow:0 20px 55px rgba(0,0,0,.52); transform:translateY(25px); transition:transform .3s cubic-bezier(.2,.85,.2,1); text-align:center; }.modal.show .modal-card { transform:translateY(0); }.modal-close { position:absolute; top:11px; right:12px; display:grid; place-items:center; width:31px; height:31px; border-radius:50%; color:#b1b1b4; background:#303030; font-size:22px; }.modal-gift-icon { display:grid; place-items:center; width:93px; height:93px; margin:13px auto 12px; border:1px solid #80c937; border-radius:25px; background:radial-gradient(circle,#4c632b,#2a2a2a 66%); box-shadow:0 0 25px rgba(145,255,30,.17); font-size:60px; }.modal-card h2 { margin:0 0 15px; font:800 24px Rubik,sans-serif; letter-spacing:-.6px; }.traits { display:grid; gap:7px; text-align:left; }.traits div { display:flex; justify-content:space-between; gap:10px; padding:9px 10px; border:1px solid #393939; border-radius:10px; background:#262626; }.traits span { color:#99999e; font-size:10px; }.traits b { font-size:10px; }.traits em { margin-left:4px; color:#aaff40; font-style:normal; }.modal-price { display:flex; justify-content:space-between; margin-top:11px; padding:12px; border-radius:12px; color:#9c9ca1; background:#2d2d2d; font-size:12px; }.modal-price b { color:#abff45; }.modal-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:11px; }.modal-actions button { min-height:50px; border-radius:14px; font:800 14px Rubik,sans-serif; }.dark-green { color:#aaff44; border:1px solid #74ba31; background:#26391a; }.modal-card p { margin:11px 4px 0; color:#838388; font-size:10px; }.prize-modal { padding:27px 20px 19px; border-color:#6da629; }.prize-modal h2 { margin:7px 0 19px; color:#9cff2d; font-size:34px; }.prize-item { padding:20px 10px; border:1px solid #629b28; border-radius:21px; background:radial-gradient(circle,rgba(151,255,31,.18),transparent 62%),#1f271b; }.prize-item span { display:block; font-size:84px; filter:drop-shadow(0 7px 10px rgba(0,0,0,.4)); }.prize-item b { display:block; margin-top:9px; font:800 22px Rubik,sans-serif; }.prize-item em { display:block; margin-top:7px; color:#aaff45; font:800 20px Rubik,sans-serif; font-style:normal; }
/* Реальные SVG в списках; анимация TGS подключается только в деталях и выигрыше. */
.gift-media { display:grid; place-items:center; overflow:hidden; }
.market-gift > .gift-value,.inventory-gift > .gift-value { display:block; width:auto; min-height:0; padding:5px 8px; font-size:10px; line-height:1.2; filter:none; white-space:nowrap; }
.gift-static { display:block; width:76px; height:76px; object-fit:contain; filter:drop-shadow(0 8px 7px rgba(0,0,0,.28)); }
.market-gift > .gift-media,.inventory-gift > .gift-media { min-height:106px; padding-top:31px; }
.inventory-gift > .gift-media { min-height:93px; }
.inventory-gift .gift-static { width:69px; height:69px; }
.case-item .gift-static { width:58px; height:58px; filter:drop-shadow(0 7px 9px rgba(0,0,0,.35)); }
.selected-gift > span { font-size:0; }
.selected-gift .gift-static { width:42px; height:42px; }
.modal-gift-icon { width:114px; height:114px; font-size:0; }
.gift-animation { position:relative; display:grid; place-items:center; width:100%; height:100%; }
.gift-animation > img,.gift-animation > div { position:absolute; inset:0; width:100%; height:100%; }
.gift-animation > img { object-fit:contain; filter:drop-shadow(0 8px 9px rgba(0,0,0,.35)); }
.gift-animation.lottie-ready > img { opacity:0; }
.gift-animation > div svg { width:100%!important; height:100%!important; }
.classic-gift-motion > div { display:none; }
.classic-gift-motion > img { transform-origin:50% 72%; animation:classic-gift-float 1.55s cubic-bezier(.45,.05,.25,1) infinite; }
@keyframes classic-gift-float {
  0%,100% { filter:drop-shadow(0 8px 9px rgba(0,0,0,.35)); transform:translate3d(0,1px,0) rotate(-2deg) scale(.96); }
  46% { filter:drop-shadow(0 13px 12px rgba(0,0,0,.42)) drop-shadow(0 0 7px rgba(255,225,92,.2)); transform:translate3d(0,-7px,0) rotate(2.5deg) scale(1.06); }
  62% { transform:translate3d(0,-5px,0) rotate(-1deg) scale(1.03); }
}
.prize-item > span { display:grid; width:145px; height:145px; margin:0 auto; font-size:0; }
.heat-panel { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:15px 0 8px; }
.heat-panel > div { position:relative; display:flex; min-width:0; flex-direction:column; gap:3px; padding:11px 13px; overflow:hidden; border:1px solid #3c472d; border-radius:15px; background:linear-gradient(120deg,#20241d,#202020); }
.heat-panel small { color:#8b8d89; font-size:8px; font-weight:800; letter-spacing:.7px; }
.heat-panel b { color:#b0ff50; font:800 15px Rubik,sans-serif; white-space:nowrap; }
.heat-panel > div:first-child { padding-left:27px; }
.heat-dot,.market-live-dot { position:absolute; width:8px; height:8px; border-radius:50%; background:#8cff18; box-shadow:0 0 0 5px rgba(140,255,24,.08),0 0 12px #8cff18; animation:live-pulse 1.3s ease-out infinite; }
.heat-dot { left:12px; top:15px; }
.market-live { display:flex; align-items:center; justify-content:space-between; margin:12px 0 15px; padding:10px 11px 10px 29px; border:1px solid #3b3b3b; border-radius:14px; background:#1d1d1d; }
.market-live > div { position:relative; display:flex; flex-direction:column; gap:2px; }
.market-live-dot { left:-17px; top:5px; width:7px; height:7px; background:#777; box-shadow:none; animation:none; }
.market-live.is-live { border-color:#548f26; background:linear-gradient(100deg,#213318,#1d1d1d); }
.market-live.is-live .market-live-dot { background:#8cff18; box-shadow:0 0 10px #8cff18; animation:live-pulse 1.3s ease-out infinite; }
.market-live b { font-size:10px; letter-spacing:.8px; }.market-live small { color:#85858a; font-size:8px; }
.market-live button { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; color:#adff4d; background:#29381e; font-size:20px; }
.market-live button.loading { animation:refresh-spin .7s linear infinite; }
.market-meta { display:flex!important; align-items:center; justify-content:center; gap:5px; }
.market-meta i { color:#9cff39; font-size:8px; font-style:normal; font-weight:800; }.market-meta em { color:#888; font-size:8px; font-style:normal; }
.spin-stage { position:relative; height:29px; margin:8px 4px -5px; overflow:hidden; border-radius:10px; color:#999; background:#1b1b1b; text-align:center; font-size:9px; font-weight:800; line-height:29px; }
.spin-stage i { position:absolute; inset:0 auto 0 0; width:0; background:linear-gradient(90deg,rgba(140,255,24,.08),rgba(140,255,24,.28)); }
.spin-stage span { position:relative; z-index:1; }
.luck-screen.spinning .spin-stage { color:#c4ff82; box-shadow:0 0 17px rgba(140,255,24,.12); }
.luck-screen.spinning .spin-stage i { animation:spin-progress 4.8s cubic-bezier(.08,.68,.12,1) forwards; }
.luck-screen.spinning .chance-orb { animation:orb-suspense .48s ease-in-out infinite alternate; }
.luck-screen.spinning .chance-ring { animation:zone-pulse .72s ease-in-out infinite alternate; }
.luck-screen.spinning .zone-toolbar,.luck-screen.spinning .chance-controls { pointer-events:none; opacity:.62; }
.luck-screen.spinning .selected-gift { border-color:#a7ff4b; box-shadow:0 0 24px rgba(140,255,24,.18); }
.spin-button:disabled { cursor:wait; filter:saturate(.7); }
.prize-modal { overflow:hidden; }
.prize-modal > :not(.confetti) { position:relative; z-index:1; }
.daily-card { isolation:isolate; display:grid; grid-template-columns:122px minmax(0,1fr) 20px; gap:3px; width:100%; min-height:134px; margin-top:0; padding:7px 11px 7px 4px; overflow:hidden; border:2px solid #ba4a84; border-radius:21px; color:#fff; background:linear-gradient(128deg,#f7bd24 0%,#f4a51c 42%,#d96d43 69%,#a73b7e 100%); box-shadow:inset 0 1px rgba(255,255,255,.27),0 10px 24px rgba(125,34,90,.2); text-align:left; transition:transform .18s ease,filter .18s ease; }
.daily-card:before,.daily-card:after { position:absolute; z-index:-1; color:rgba(255,216,67,.55); font-size:30px; line-height:1; text-shadow:90px 56px rgba(255,213,52,.45),178px -10px rgba(255,222,81,.38),250px 67px rgba(255,214,60,.35); content:"★"; transform:rotate(-14deg); }
.daily-card:before { top:11px; left:133px; }.daily-card:after { right:39px; bottom:7px; font-size:43px; opacity:.55; transform:rotate(17deg); }
.daily-card:hover { filter:saturate(1.08) brightness(1.04); transform:translateY(-2px); }.daily-card:active { transform:scale(.985); }
.daily-art { position:relative; z-index:2; display:grid; align-self:end; width:122px; height:122px; place-items:center; overflow:visible; border-radius:0; background:none; box-shadow:none; font-size:0; }
.daily-art > img,.daily-art > .game-card-motion-layer { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 7px 6px rgba(96,32,44,.28)); }
.daily-copy { position:relative; z-index:2; display:flex; min-width:0; flex-direction:column; align-items:flex-end; justify-content:center; padding:5px 0; text-align:right; text-shadow:0 2px 3px rgba(126,42,50,.28); }.daily-copy strong { font:900 24px/.91 Rubik,sans-serif; letter-spacing:-.8px; }.daily-copy em { margin-top:14px; color:#fffdf1; font:900 10px Rubik,sans-serif; font-style:italic; white-space:nowrap; }.daily-copy small { margin-top:3px; color:#fff7d6; font:800 9px Rubik,sans-serif; letter-spacing:.2px; }.daily-arrow { position:relative; z-index:2; align-self:center; color:#fff7d6; font:800 29px Rubik,sans-serif; text-shadow:0 2px 5px rgba(75,24,53,.35); }
.case-drops-title { margin-top:28px; }.case-drop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; padding-bottom:7px; }.case-drop { display:grid; min-width:0; aspect-ratio:1; padding:0; place-items:center; overflow:hidden; border:1px solid #3f4937; border-radius:18px; background:radial-gradient(circle at 50% 43%,rgba(148,255,45,.16),transparent 54%),linear-gradient(145deg,#272b25,#202020); box-shadow:inset 0 1px rgba(255,255,255,.035); }.case-drop:nth-child(3n+2) { border-color:#443c4c; background:radial-gradient(circle at 50% 43%,rgba(181,94,255,.16),transparent 54%),linear-gradient(145deg,#29252c,#202020); }.case-drop:nth-child(3n) { border-color:#35454d; background:radial-gradient(circle at 50% 43%,rgba(53,195,255,.15),transparent 54%),linear-gradient(145deg,#242a2d,#202020); }.case-drop > .gift-static { width:72%; height:72%; transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .2s ease; }.case-drop .gift-animation { width:78%; height:78%; transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .2s ease; }.case-drop .gift-animation .gift-static { width:100%; height:100%; }.case-drop:hover > .gift-static,.case-drop:hover .gift-animation,.case-drop:focus-visible > .gift-static,.case-drop:focus-visible .gift-animation { filter:drop-shadow(0 11px 11px rgba(0,0,0,.38)); transform:scale(1.1) rotate(2deg); }.case-drop.is-animated { border-color:#81d43b; box-shadow:0 0 18px rgba(142,255,48,.16),inset 0 1px rgba(255,255,255,.06); }
.case-drop.ultra-rare { border-color:#e8b94c; background:radial-gradient(circle at 50% 42%,rgba(255,205,74,.26),transparent 56%),linear-gradient(145deg,#342b18,#211f1b); box-shadow:0 0 20px rgba(255,193,51,.1),inset 0 1px rgba(255,255,255,.08); }.case-drop.ultra-rare:hover,.case-drop.ultra-rare.is-animated { border-color:#ffe17c; box-shadow:0 0 24px rgba(255,203,69,.22),inset 0 1px rgba(255,255,255,.1); }.case-reserve-toggle { width:100%; min-height:42px; margin:8px 0 3px; border:1px solid #3d403d; border-radius:14px; color:#aaa8ad; background:linear-gradient(145deg,#252726,#1d1f1e); font:800 10px Rubik,sans-serif; letter-spacing:.15px; transition:border-color .2s,color .2s,transform .16s; }.case-reserve-toggle:hover,.case-reserve-toggle.expanded { border-color:#658a48; color:#c8ff8f; }.case-reserve-toggle:active { transform:scale(.985); }
.live-row.global-live-row { position:relative; z-index:2; width:100%; margin:0; padding:8px 10px; border-top:0; box-shadow:0 7px 17px rgba(0,0,0,.2); }.global-live-row + .screen { padding-top:20px; }
.wallet-panel { min-height:86px; margin-top:0; padding:11px 20px; gap:10px; border-radius:0 0 20px 20px; }.wallet-user { gap:8px; }.wallet-user b { font-size:12px; }.wallet-panel .avatar { width:44px; height:44px; font-size:19px; }.wallet-panel .balance-box { min-width:105px; padding:6px 8px 5px; border-width:1px; border-radius:14px; }.wallet-panel .balance-box span { width:20px; height:20px; font-size:7px; }.wallet-panel .balance-box strong { font-size:16px; }.wallet-panel .balance-box small { font-size:8px; }.wallet-panel .add-ton { width:43px; height:43px; border-radius:13px; font-size:28px; }
.market-gift > .gift-media { transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .2s ease; }.market-gift .gift-animation { width:82px; height:82px; }.market-gift:hover > .gift-media { filter:drop-shadow(0 10px 12px rgba(0,0,0,.28)); transform:scale(1.07) rotate(1.5deg); }.market-gift.is-animated { border-color:#83cf3c; box-shadow:0 0 18px rgba(140,255,24,.12); }
.market-gift.is-unavailable { border-color:#343434; background:#202020; }.market-gift.is-unavailable .gift-value { color:#9b9b9f; background:#303033; font-size:8px; }.market-gift.is-unavailable .gift-media { opacity:.64; filter:grayscale(.3); }.modal-actions button:disabled { cursor:not-allowed; opacity:.42; filter:grayscale(.5); }
.confetti { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.confetti i { position:absolute; top:-22px; left:calc(var(--x) * 1%); width:7px; height:12px; border-radius:2px; opacity:0; background:var(--confetti); animation:confetti-fall 1.85s cubic-bezier(.18,.72,.42,1) infinite; animation-delay:var(--delay); }
.confetti i:nth-child(1) { --x:7; --delay:-.2s; --confetti:#9cff2d; }.confetti i:nth-child(2) { --x:15; --delay:-1.1s; --confetti:#ffcf4b; }.confetti i:nth-child(3) { --x:24; --delay:-.55s; --confetti:#61d8ff; }.confetti i:nth-child(4) { --x:33; --delay:-1.48s; --confetti:#f782df; }.confetti i:nth-child(5) { --x:41; --delay:-.84s; --confetti:#fff; }.confetti i:nth-child(6) { --x:50; --delay:-.08s; --confetti:#9cff2d; }.confetti i:nth-child(7) { --x:59; --delay:-1.22s; --confetti:#ffcf4b; }.confetti i:nth-child(8) { --x:67; --delay:-.38s; --confetti:#61d8ff; }.confetti i:nth-child(9) { --x:75; --delay:-1.62s; --confetti:#f782df; }.confetti i:nth-child(10) { --x:83; --delay:-.94s; --confetti:#fff; }.confetti i:nth-child(11) { --x:91; --delay:-.67s; --confetti:#9cff2d; }.confetti i:nth-child(12) { --x:12; --delay:-1.7s; --confetti:#ffcf4b; }.confetti i:nth-child(13) { --x:72; --delay:-1.3s; --confetti:#61d8ff; }.confetti i:nth-child(14) { --x:46; --delay:-1.8s; --confetti:#f782df; }
.access-modal { z-index:40; padding-top:max(18px,env(safe-area-inset-top)); }
.access-card { max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow:auto; padding:19px 17px 17px; border-color:#4d5d42; background:radial-gradient(circle at 16% 0,rgba(140,255,24,.13),transparent 28%),#191b18; text-align:left; scrollbar-width:none; }
.access-card::-webkit-scrollbar { display:none; }.access-card h2 { margin:2px 0 0; font-size:22px; }
.access-head { display:grid; grid-template-columns:43px 1fr auto; gap:10px; align-items:center; padding-right:34px; }
.access-lock { display:grid; width:43px; height:43px; place-items:center; border:1px solid #74b436; border-radius:14px; color:#b7ff69; background:linear-gradient(145deg,#344923,#20261c); font:800 23px Rubik,sans-serif; }
.access-lock[data-access-emoji] { position:relative; font-size:0; overflow:hidden; }
.access-lock[data-access-emoji] > img,.access-emoji-motion { position:absolute; inset:4px; width:34px; height:34px; pointer-events:none; }
.access-lock[data-access-emoji] > img { object-fit:contain; }
.access-emoji-motion svg { width:100%!important; height:100%!important; }
.access-lock[data-access-emoji].is-ready > img { opacity:0; }
.access-head > b { align-self:start; padding:6px 8px; border-radius:9px; color:#a7ff4a; background:#28361f; font-size:10px; }
.access-step { margin-top:17px; }.task-title { display:flex; align-items:center; gap:10px; padding:11px; border:1px solid #394132; border-radius:15px; background:#20231e; }
.task-title > span { display:grid; flex:0 0 auto; width:30px; height:30px; place-items:center; border-radius:10px; color:#111; background:#9cff2c; font:800 14px Rubik,sans-serif; }
.task-title div { display:flex; min-width:0; flex-direction:column; gap:2px; }.task-title b { font-size:13px; }.task-title small { color:#8d9188; font-size:9px; }
.business-guide { display:grid; gap:7px; margin:12px 0; padding:0; list-style:none; }.business-guide li { display:flex; align-items:center; gap:9px; min-height:35px; padding:7px 9px; border:1px solid #30352d; border-radius:11px; color:#d3d4d1; background:#1f211e; font-size:10px; }
.business-guide li > span { display:grid; flex:0 0 auto; width:21px; height:21px; place-items:center; border-radius:7px; color:#a9ff50; background:#2b3a22; font-size:9px; font-weight:800; }.business-guide li b { color:#a9ff4b; }
.access-primary { min-height:50px; border-radius:14px; font-size:14px; }.access-demo { display:block; margin:10px auto 0; padding:5px; color:#95b878; background:transparent; font-size:10px; font-weight:800; }
.access-card .access-note { margin:9px 2px 0; color:#7e827a; font-size:9px; line-height:1.45; text-align:center; }
.referral-progress { margin:11px 0; padding:11px; border:1px solid #3c4c31; border-radius:14px; background:#20261c; }.referral-progress div { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-size:10px; }.referral-progress b { color:#adff53; font:800 13px Rubik,sans-serif; }
.referral-progress > i { display:block; height:7px; overflow:hidden; border-radius:99px; background:#30342d; }.referral-progress > i span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#72d81c,#b3ff50); box-shadow:0 0 11px rgba(140,255,24,.42); transition:width .32s ease; }
.referral-checks { display:grid; gap:6px; margin:11px 0 8px; }.referral-checks .referral-progress { margin:0; padding:9px 10px; }.referral-checks .referral-progress div { margin-bottom:6px; }.access-qualification { margin:0 2px 10px; color:#8f968a; font-size:8px; line-height:1.45; }
.share-preview { overflow:hidden; margin:11px 0; border:1px solid #4b6740; border-radius:15px; color:#14210f; background:#e8ffd9; box-shadow:0 9px 20px rgba(0,0,0,.2); }.share-preview > small { display:block; padding:6px 10px; color:#3e7d2f; font-size:8px; }.share-banner { display:grid; min-height:116px; padding:15px 11px 8px; overflow:hidden; background:radial-gradient(circle at 50% 100%,#477aff,transparent 55%),linear-gradient(140deg,#2432f2,#275cff); text-align:center; }
.share-banner strong { color:white; font:800 18px/1.05 Rubik,sans-serif; letter-spacing:-.4px; text-shadow:0 2px 3px rgba(14,22,105,.28); }.share-banner div { display:flex; align-items:end; justify-content:center; margin-top:3px; }.share-banner img { width:56px; height:56px; object-fit:contain; filter:drop-shadow(0 6px 5px rgba(7,15,87,.34)); }.share-banner img:nth-child(2) { width:64px; height:64px; margin-inline:-5px; }
.share-preview p { margin:0!important; padding:9px 10px 7px; color:#16220f!important; font-size:9px!important; line-height:1.35; }.share-preview > span { display:block; padding:7px; border-top:1px solid rgba(37,96,27,.18); color:#3b7c30; font-size:10px; font-weight:800; text-align:center; }.access-card.is-ready .referral-progress { border-color:#85d33c; box-shadow:0 0 18px rgba(140,255,24,.11); }.access-card.is-ready .share-preview,.access-card.is-ready #shareReferral,.access-card.is-ready #demoReferral { display:none; }
.wheel-rotor { position:absolute; z-index:2; inset:0; display:block; border-radius:50%; transform:rotate(0); transform-origin:center; will-change:transform; }
.chance-orb .wheel-rotor svg { position:absolute; inset:9px; z-index:2; width:200px; height:200px; overflow:visible; transform:rotate(-90deg); }
.wheel-fixed-pointer { position:absolute; z-index:8; top:-4px; left:50%; width:29px; height:25px; background:linear-gradient(145deg,#fff 10%,#d9ecff 58%,#8bc7ff); clip-path:polygon(8% 4%,92% 4%,50% 100%); filter:drop-shadow(0 4px 4px rgba(0,0,0,.48)) drop-shadow(0 0 7px rgba(132,198,255,.3)); pointer-events:none; transform:translateX(-50%); }
@keyframes confetti-fall { 0% { opacity:0; transform:translate3d(0,-18px,0) rotate(0); } 12% { opacity:1; } 90% { opacity:1; } 100% { opacity:0; transform:translate3d(28px,410px,0) rotate(520deg); } }
@keyframes live-pulse { 70%,100% { box-shadow:0 0 0 7px rgba(140,255,24,0),0 0 13px #8cff18; } }
@keyframes live-enter { from { opacity:0; transform:translateX(34px) scale(.72) rotate(7deg); } 65% { opacity:1; transform:translateX(-3px) scale(1.05) rotate(-2deg); } to { transform:none; } }
@keyframes live-float { 0%,100% { transform:translateY(1px) rotate(-2deg); } 50% { transform:translateY(-3px) rotate(2deg) scale(1.04); } }
@keyframes refresh-spin { to { transform:rotate(360deg); } }
@keyframes spin-progress { from { width:0; } to { width:100%; } }
@keyframes orb-suspense { to { filter:drop-shadow(0 0 14px rgba(140,255,24,.4)); transform:scale(1.035); } }
@keyframes zone-pulse { to { opacity:.68; filter:drop-shadow(0 0 13px #8cff18); } }
@keyframes screen-enter { from { opacity:.72; transform:translateY(4px); } to { opacity:1; transform:none; } }
@keyframes enter { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } } @keyframes slot-flash { 50% { filter:brightness(1.25); transform:translateY(-3px); } } @media (min-width:450px) { body { background:radial-gradient(circle at 50% 0,#25351c,#050505 55%); }.app-shell { box-shadow:0 0 0 1px #252525,0 25px 80px #000; } } @media (prefers-reduced-motion:reduce) { *,*:before,*:after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }

/* Premium case carousel */
.case-screen { overflow:hidden; padding-top:12px; }
.case-screen .case-title { position:relative; z-index:2; }
.case-screen .back-link { margin:-2px 0 10px; }.case-screen .case-title h1 { font-size:27px; line-height:.98; }.case-screen .case-title p { margin-top:6px; font-size:10px; line-height:1.35; }
.case-machine { isolation:isolate; min-height:204px; margin:13px -17px 11px; padding:26px 10px 12px; border:1px solid rgba(255,117,228,.5); border-radius:29px; background:radial-gradient(circle at 50% 48%,rgba(255,205,76,.27),transparent 21%),radial-gradient(circle at 15% 10%,rgba(255,113,230,.22),transparent 32%),linear-gradient(145deg,#5f174f 0%,#8d2779 48%,#521944 100%); box-shadow:inset 0 1px rgba(255,255,255,.16),inset 0 -24px 50px rgba(39,8,34,.28),0 16px 34px rgba(0,0,0,.24); }
.case-machine:before,.case-machine:after { position:absolute; z-index:-1; width:6px; height:6px; border-radius:50%; background:#ffd775; box-shadow:42px 22px #ff98e4,88px -8px #fff2a7,137px 38px #ffbc5e,210px 5px #ffd2f2,270px 41px #ffdc83,314px 3px #fff; content:""; opacity:.68; animation:case-stars 2.6s ease-in-out infinite alternate; }
.case-machine:before { top:31px; left:14px; }.case-machine:after { right:24px; bottom:37px; transform:scale(.65) rotate(180deg); animation-delay:-1.1s; }
.case-spotlight { top:50%; width:182px; height:182px; background:#ffd760; filter:blur(45px); opacity:.2; }
.case-cards { --case-speed:620ms; min-height:154px; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-items:center; }
.case-roll-viewport { position:relative; z-index:3; display:none; height:154px; overflow:hidden; contain:layout paint; border-radius:22px; mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent); }
.case-roll-viewport:after { position:absolute; z-index:6; top:12px; bottom:12px; left:50%; width:2px; border-radius:3px; background:linear-gradient(transparent,#fff0b0 16%,#fff 50%,#fff0b0 84%,transparent); box-shadow:0 0 11px #ffd75c,0 0 24px rgba(255,187,66,.48); content:""; opacity:.78; pointer-events:none; transform:translateX(-50%); }
.case-roll-track { display:flex; align-items:center; gap:9px; width:max-content; min-height:154px; padding-inline:0; transform:translate3d(0,0,0); will-change:transform; }
.case-roll-item { position:relative; display:grid; width:116px; height:122px; flex:0 0 116px; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.13); border-radius:20px; background:linear-gradient(155deg,rgba(255,255,255,.12),rgba(48,10,43,.42)); box-shadow:inset 0 1px rgba(255,255,255,.11),0 9px 20px rgba(29,3,24,.24); opacity:.82; transform:scale(.94); transition:opacity .45s,transform .45s,border-color .45s,box-shadow .45s; }
.case-roll-media { position:relative; display:grid; width:108px; height:108px; place-items:center; }
.case-roll-item .gift-static { display:block; width:96px; height:96px; object-fit:contain; object-position:center; user-select:none; }
.case-roll-item .gift-animation { width:108px; height:108px; }
.case-machine.cs-rolling { height:204px; min-height:0; }
.case-machine.cs-rolling .case-cards { display:none; }
.case-machine.cs-rolling .case-roll-viewport { display:block; }
.case-machine.cs-rolling .case-marker { z-index:7; top:5px; }
.case-roll-track.is-rolling .case-roll-item { opacity:.86; }
.case-roll-track.is-braking .case-roll-item { opacity:.82; }
.case-roll-item.is-winner { z-index:2; border-color:#ffe788; background:radial-gradient(circle,rgba(255,226,91,.34),rgba(255,255,255,.11) 58%,rgba(51,10,43,.52)); box-shadow:0 0 34px rgba(255,215,84,.46),inset 0 1px rgba(255,255,255,.24); opacity:1; transform:scale(1.075); }
.case-roll-item .prepared-case-prize { position:absolute; inset:0; }
.case-item { min-height:144px; padding:0; border:0; border-radius:25px; background:transparent; box-shadow:none; opacity:.48; transform:scale(.72); transition:transform var(--case-speed) cubic-bezier(.22,.75,.24,1),opacity var(--case-speed) ease,filter var(--case-speed) ease; will-change:transform,opacity; }
.case-item.center-case { position:relative; z-index:2; overflow:hidden; border:1px solid rgba(255,231,156,.28); background:radial-gradient(circle,rgba(255,226,105,.22),rgba(255,255,255,.035) 62%,transparent 63%); box-shadow:0 0 33px rgba(255,198,76,.19),inset 0 1px rgba(255,255,255,.14); opacity:1; transform:scale(1.08); }
.case-item .gift-static { width:96px; height:96px; filter:drop-shadow(0 15px 12px rgba(44,5,35,.36)); }
.case-item .gift-animation { width:112px; height:112px; filter:drop-shadow(0 15px 13px rgba(44,5,35,.3)); }
.case-item b { display:none; }
.prepared-case-prize { display:grid; width:100%; height:100%; place-items:center; opacity:0; transition:opacity .24s ease; }
.prepared-case-prize.is-visible { opacity:1; }
.case-item > .prepared-case-prize { position:absolute; z-index:2; inset:0; }
.case-incoming { position:absolute; top:50%; left:calc(100% + 10px); width:calc((100% - 20px)/3); opacity:0; pointer-events:none; transform:translateY(-50%) scale(.72); }
.case-cards.is-moving .case-item:nth-child(1) { opacity:0; transform:translateX(calc(-100% - 10px)) scale(.55); }
.case-cards.is-moving .case-item:nth-child(2) { z-index:1; opacity:.48; transform:translateX(calc(-100% - 10px)) scale(.72); }
.case-cards.is-moving .case-item:nth-child(3) { z-index:3; opacity:1; transform:translateX(calc(-100% - 10px)) scale(1.08); }
.case-cards.is-moving .case-incoming { opacity:.48; transform:translate(calc(-100% - 10px),-50%) scale(.72); }
.case-cards.is-final-moving .case-item { transition-timing-function:cubic-bezier(.08,.7,.08,1); }
.case-cards.is-resetting .case-item { transition:none!important; }
.case-marker { top:4px; color:#fff; font-size:30px; filter:drop-shadow(0 5px 4px rgba(35,4,27,.55)); animation:case-marker 1.3s ease-in-out infinite; }
.case-machine.spinning { border-color:#ffbfe9; box-shadow:inset 0 1px rgba(255,255,255,.18),0 0 0 1px rgba(255,102,219,.24),0 17px 40px rgba(121,24,101,.35); }
.case-machine.spinning .case-spotlight { animation:case-machine-pulse .72s ease-in-out infinite alternate; }
.case-machine.spinning .case-item { animation:none; }
.case-machine.spinning .center-case { transform:scale(1.08); }
.case-machine.spinning .center-case > .gift-static { animation:case-fast-gift .42s ease-in-out infinite alternate; }
.case-machine.preparing .case-cards { opacity:.72; filter:saturate(.75); }
.case-machine.finalizing .case-marker { animation:case-final-marker 1.25s cubic-bezier(.12,.7,.1,1) both; }
.case-machine.won { border-color:#ffe476; box-shadow:0 0 0 1px rgba(255,218,92,.34),0 0 42px rgba(255,209,75,.26),0 18px 42px rgba(0,0,0,.32); }
.case-machine.won .center-case { border-color:#ffe889; background:radial-gradient(circle,rgba(255,225,91,.36),rgba(255,255,255,.05) 64%,transparent 65%); box-shadow:0 0 42px rgba(255,213,73,.42),inset 0 1px rgba(255,255,255,.25); transform:scale(1.12); transition-duration:.38s; animation:case-win-lock .48s cubic-bezier(.16,.88,.24,1) both; }
.case-modes { display:grid; grid-template-columns:repeat(3,1fr); gap:3px; margin:0 0 10px; padding:3px; border:1px solid #5c3157; border-radius:16px; background:linear-gradient(90deg,#4c1444,#a73591); box-shadow:inset 0 1px rgba(255,255,255,.12); }
.case-modes button { display:flex; min-height:48px; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-radius:13px; color:#f4c9ea; background:transparent; transition:background .2s,transform .16s,color .2s; }
.case-modes button b { font:900 16px Rubik,sans-serif; }.case-modes button small { font-size:7px; font-weight:800; letter-spacing:.35px; }
.case-modes button.active { color:#fff; background:linear-gradient(135deg,#7f145f,#4e0b3f); box-shadow:0 4px 12px rgba(47,4,35,.32),inset 0 1px rgba(255,255,255,.14); transform:scale(1.025); }
.free-case-button { display:flex; align-items:center; justify-content:center; gap:5px; min-height:62px; border:1px solid rgba(255,255,255,.4); border-radius:18px; color:#111; background:linear-gradient(180deg,#fafff5,#dcf9cc); box-shadow:inset 0 1px #fff,0 10px 24px rgba(95,255,34,.13); }
.free-case-button span { color:#b55d00; font-size:20px; }.free-case-button b { font:900 17px Rubik,sans-serif; }
.free-case-button #caseButtonLabel { display:inline-flex; align-items:center; justify-content:center; gap:4px; }
.free-case-button #caseButtonLabel .currency-icon { transform-origin:50% 54%; }
.free-case-button #caseButtonLabel .currency-icon img { animation:case-button-star-kick 2.85s cubic-bezier(.45,0,.25,1) infinite; will-change:transform,filter; }
.free-case-button:disabled #caseButtonLabel .currency-icon img { animation-play-state:paused; }
.free-case-button:disabled { cursor:wait; filter:saturate(.72); }
.case-note { min-height:14px; color:#98949a; font-size:9px; letter-spacing:.15px; }
.case-drop-summary { margin:-8px 0 13px; color:#89858b; font-size:9px; line-height:1.35; }
.case-drop-grid { align-items:start; }

@keyframes case-stars { to { opacity:.32; filter:blur(1px); transform:translateY(6px) scale(.72); } }
@keyframes case-marker { 50% { transform:translate(-50%,4px); } }
@keyframes case-machine-pulse { to { opacity:.27; transform:translate(-50%,-50%) scale(1.06); } }
@keyframes case-fast-gift { to { filter:drop-shadow(0 18px 14px rgba(44,5,35,.4)) brightness(1.12); transform:translateY(-3px) scale(1.045); } }
@keyframes case-final-marker { 0% { transform:translate(-50%,0) scale(1); } 62% { transform:translate(-50%,5px) scale(.92); } 100% { transform:translate(-50%,1px) scale(1.08); } }
@keyframes case-win-lock { 0% { transform:scale(1.08); } 58% { transform:scale(1.145); } 100% { transform:scale(1.12); } }
@keyframes case-button-star-kick {
  0%,12% { filter:brightness(1) drop-shadow(0 0 0 rgba(255,180,18,0)); transform:translate3d(0,0,0) rotate(-7deg) scale(1); }
  45% { filter:brightness(1.08) drop-shadow(0 1px 2px rgba(255,174,17,.28)); transform:translate3d(0,-1px,0) rotate(5deg) scale(1.055); }
  55% { transform:translate3d(0,-1px,0) rotate(7deg) scale(1.07); }
  58% { filter:brightness(1.32) drop-shadow(0 0 5px rgba(255,174,17,.82)); transform:translate3d(2px,-2px,0) rotate(22deg) scale(1.24); }
  61% { transform:translate3d(-1px,1px,0) rotate(-14deg) scale(.96); }
  65% { filter:brightness(1.14) drop-shadow(0 1px 3px rgba(255,174,17,.42)); transform:translate3d(1px,-1px,0) rotate(7deg) scale(1.1); }
  72% { transform:translate3d(0,0,0) rotate(-4deg) scale(1.01); }
  100% { filter:brightness(1) drop-shadow(0 0 0 rgba(255,180,18,0)); transform:translate3d(0,0,0) rotate(-7deg) scale(1); }
}
body.case-spin-active .global-live-row *,body.case-spin-active .bottom-nav .nav-symbol { animation-play-state:paused!important; }

.settings-admin-entry { display:grid; grid-template-columns:35px 1fr auto; gap:10px; align-items:center; width:100%; margin-top:9px; padding:10px 11px; border:1px solid #6d9c49; border-radius:15px; color:#eefbe8; background:linear-gradient(135deg,#314229,#232c20); text-align:left; box-shadow:inset 0 1px rgba(255,255,255,.06); transition:transform .16s,border-color .18s,background .18s; }
.settings-admin-entry[hidden] { display:none; }
.settings-admin-entry:hover { border-color:#a1f057; background:linear-gradient(135deg,#3a512d,#283421); }
.settings-admin-entry:active { transform:scale(.987); }
.settings-admin-entry > span:first-child { display:grid; width:35px; height:35px; place-items:center; border-radius:11px; color:#17200f; background:#9bf548; box-shadow:0 0 18px rgba(151,255,64,.18); }
.settings-admin-entry > span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:2px; }
.settings-admin-entry b { font:800 11px Rubik,sans-serif; }
.settings-admin-entry small { color:#8d9989; font-size:8px; }
.settings-admin-entry i { color:#9bf548; font:800 22px Rubik,sans-serif; }
.admin-modal { z-index:60; align-items:flex-start; overflow-y:auto; padding:18px 12px calc(24px + env(safe-area-inset-bottom)); }
.admin-card { width:min(100%,500px); max-height:none; margin:auto; padding:22px 17px 18px; border-color:#536646; background:radial-gradient(circle at 10% 0,rgba(151,255,56,.14),transparent 27%),linear-gradient(155deg,#222621,#171918 74%); text-align:left; }
.admin-card h2 { margin:4px 0 15px; font:800 25px Rubik,sans-serif; }
.admin-owner { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:10px; align-items:center; padding:11px; border:1px solid #506440; border-radius:16px; background:#263020; }
.admin-owner > span { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:#18200f; background:linear-gradient(145deg,#b6ff67,#7dce32); box-shadow:0 0 20px rgba(151,255,56,.16); }
.admin-owner div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.admin-owner small { color:#8fa083; font-size:7px; font-weight:800; letter-spacing:.07em; }
.admin-owner b { overflow:hidden; font:800 13px Rubik,sans-serif; text-overflow:ellipsis; }
.admin-owner i { color:#aef76d; font-size:8px; font-style:normal; }
.admin-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0; }
.admin-stats article { display:flex; min-height:66px; flex-direction:column; justify-content:center; padding:11px; border:1px solid #363d35; border-radius:15px; background:rgba(32,35,32,.9); }
.admin-stats b { color:#b0ff68; font:800 18px Rubik,sans-serif; }
.admin-stats small { margin-top:3px; color:#858b86; font-size:8px; }
.admin-section { margin-top:10px; padding:13px; border:1px solid #393f39; border-radius:18px; background:rgba(31,34,31,.92); }
.admin-section-title { display:flex; gap:10px; align-items:center; justify-content:space-between; margin-bottom:11px; }
.admin-section-title h3 { margin:2px 0 0; font:800 15px Rubik,sans-serif; }
.admin-section-title > small { max-width:165px; color:#7f8680; font-size:7px; line-height:1.35; text-align:right; }
.admin-section-title button { width:32px; height:32px; border:1px solid #495344; border-radius:10px; color:#aefe69; background:#283024; font-size:16px; }
.admin-field { display:flex; min-width:0; flex:1; flex-direction:column; gap:5px; }
.admin-field > span { color:#8e958e; font-size:8px; font-weight:800; }
.admin-field input,.admin-field select { width:100%; height:42px; padding:0 11px; border:1px solid #454c45; border-radius:12px; outline:0; color:#f4f4f4; background:#252826; font:700 11px Manrope,sans-serif; transition:border-color .18s,box-shadow .18s; }
.admin-field input:focus,.admin-field select:focus { border-color:#8cda48; box-shadow:0 0 0 3px rgba(151,255,56,.08); }
.admin-field select { appearance:auto; }
.admin-grant-row { display:grid; grid-template-columns:minmax(0,1fr) 126px; gap:8px; align-items:end; margin-top:9px; }
.admin-grant-row button { min-height:42px; border-radius:12px; font-size:9px; }
.admin-message { min-height:14px; margin:10px 1px 0!important; color:#8e958e!important; font-size:8px!important; line-height:1.4; }
.admin-message.success { color:#adff67!important; }
.admin-message.error { color:#ff8585!important; }
.admin-user-list { display:grid; gap:6px; max-height:245px; overflow:auto; scrollbar-width:thin; }
.admin-user-list > p { margin:8px 0!important; color:#7f8580!important; font-size:9px!important; text-align:center; }
.admin-user { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:9px; align-items:center; width:100%; padding:8px; border:1px solid #363c36; border-radius:12px; color:#ededed; background:#252825; text-align:left; transition:border-color .16s,background .16s; }
.admin-user:hover { border-color:#617a4d; background:#293027; }
.admin-user > span { display:grid; width:34px; height:34px; place-items:center; border-radius:10px; color:#1a210f; background:#9be64f; font:800 13px Rubik,sans-serif; }
.admin-user div { display:flex; min-width:0; flex-direction:column; gap:2px; }
.admin-user b { overflow:hidden; font:800 10px Rubik,sans-serif; text-overflow:ellipsis; }
.admin-user small,.admin-user i { overflow:hidden; color:#818881; font-size:7px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.admin-withdrawal-list { display:grid; gap:8px; max-height:350px; overflow:auto; scrollbar-width:thin; }
.admin-withdrawal-list > p { margin:8px 0!important; color:#7f8580!important; font-size:9px!important; text-align:center; }
.admin-withdrawal { padding:9px; border:1px solid #3c443a; border-radius:14px; background:#252925; }
.admin-withdrawal-main { display:grid; grid-template-columns:43px minmax(0,1fr) auto; gap:9px; align-items:center; }
.admin-withdrawal-gift { display:grid; width:43px; height:43px; place-items:center; border-radius:12px; background:radial-gradient(circle,rgba(154,255,68,.17),transparent 68%),#30352e; }
.admin-withdrawal-gift .gift-static { width:38px; height:38px; }
.admin-withdrawal-main > div { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:2px; }
.admin-withdrawal-main b { overflow:hidden; max-width:100%; font:800 10px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.admin-profile-link { padding:0; color:#a9ff62; background:transparent; font-size:8px; font-weight:800; }
.admin-profile-link:disabled { color:#858b86; cursor:default; }
.admin-withdrawal-main small { color:#7f8780; font-size:7px; }
.admin-withdrawal-main em { padding:5px 7px; border-radius:8px; color:#d9ffc0; background:#344328; font-size:7px; font-style:normal; font-weight:800; }
.admin-withdrawal.is-approved .admin-withdrawal-main em { color:#b2e9ff; background:#263e47; }
.admin-withdrawal.is-rejected .admin-withdrawal-main em { color:#ffb3b3; background:#4a2d2d; }
.admin-withdrawal-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:8px; }
.admin-withdrawal-actions:empty { display:none; }
.admin-withdrawal-actions button { min-height:34px; border-radius:10px; font-size:8px; font-weight:900; }
.admin-withdrawal-actions .approve { color:#152008; background:linear-gradient(145deg,#b3ff69,#83dc36); }
.admin-withdrawal-actions .reject { color:#ffb9b9; border:1px solid #714343; background:#392929; }
.admin-logout { width:100%; margin-top:10px; padding:11px; border:1px solid #4d4e4d; border-radius:13px; color:#979b98; background:#242624; font-size:9px; font-weight:800; }
@media (min-width:440px) { .admin-stats { grid-template-columns:repeat(4,minmax(0,1fr)); }.admin-stats article { padding:9px; }.admin-stats b { font-size:15px; } }

@media (max-width:360px) {
  .case-machine { margin-inline:-13px; }
  .case-cards { gap:5px; }
  .case-item .gift-static { width:83px; height:83px; }
  .case-item .gift-animation { width:98px; height:98px; }
  .case-incoming { left:calc(100% + 5px); width:calc((100% - 10px)/3); }
  .case-roll-track { gap:7px; }
  .case-roll-item { width:106px; height:118px; flex-basis:106px; }
  .case-roll-media { width:100px; height:104px; }
  .case-roll-item .gift-static { width:91px; height:91px; }
  .case-cards.is-moving .case-item:nth-child(1),.case-cards.is-moving .case-item:nth-child(2),.case-cards.is-moving .case-item:nth-child(3) { transform:translateX(calc(-100% - 5px)) scale(.72); }
  .case-cards.is-moving .case-item:nth-child(1) { transform:translateX(calc(-100% - 5px)) scale(.55); }
  .case-cards.is-moving .case-item:nth-child(3) { transform:translateX(calc(-100% - 5px)) scale(1.08); }
  .case-cards.is-moving .case-incoming { transform:translate(calc(-100% - 5px),-50%) scale(.72); }
}

/* Компактная реферальная карточка профиля. */
.profile-referral-card { position:relative; display:grid; gap:10px; margin-top:10px; padding:13px; overflow:hidden; border:1px solid rgba(145,231,60,.25); border-radius:19px; background:radial-gradient(circle at 92% 0,rgba(132,255,35,.12),transparent 42%),linear-gradient(135deg,#20241e,#181b18); box-shadow:inset 0 1px rgba(255,255,255,.025); }
.profile-referral-card::after { position:absolute; top:-38px; right:-28px; width:100px; height:100px; border:1px solid rgba(152,255,63,.08); border-radius:50%; content:""; pointer-events:none; }
.profile-referral-head,.profile-referral-stats,.profile-referral-progress > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.profile-referral-head > div:first-child { display:grid; gap:3px; }.profile-referral-head .eyebrow { color:#90968d; font-size:8px; letter-spacing:.11em; }.profile-referral-head b { font:800 16px Rubik,sans-serif; }
.profile-referral-rate { display:grid; justify-items:end; }.profile-referral-rate strong { color:#9dff3e; font:900 20px Rubik,sans-serif; line-height:1; }.profile-referral-rate small { margin-top:3px; color:#858b82; font-size:8px; }
.profile-referral-stats { padding:8px 0; border-block:1px solid rgba(255,255,255,.07); }.profile-referral-stats > div { display:grid; flex:1; gap:2px; }.profile-referral-stats > div:last-child { justify-items:end; border-left:1px solid rgba(255,255,255,.07); }.profile-referral-stats small { color:#858987; font-size:8px; }.profile-referral-stats b { display:flex; align-items:center; gap:4px; font:800 13px Rubik,sans-serif; }.profile-referral-stats .currency-icon { width:14px; height:14px; }
.profile-referral-progress { display:grid; gap:5px; }.profile-referral-progress div { color:#aeb2ac; font-size:9px; }.profile-referral-progress em { color:#7f857d; font-style:normal; }.profile-referral-progress > i { display:block; height:4px; overflow:hidden; border-radius:99px; background:#30342f; }.profile-referral-progress > i span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#68d811,#b0ff50); box-shadow:0 0 8px rgba(146,255,55,.45); transition:width .35s ease; }
#profileInviteReferral { display:flex; align-items:center; justify-content:space-between; width:100%; padding:9px 11px; border:1px solid rgba(151,255,66,.27); border-radius:12px; color:#dfffc4; background:rgba(108,179,44,.12); font:800 11px Rubik,sans-serif; }.profile-referral-card #profileInviteReferral b { color:#9dff3e; font-size:16px; line-height:1; }.profile-referral-card #profileInviteReferral:active { transform:scale(.985); }
.low-power .profile-referral-progress > i span { transition:none; }

/* Compact real/demo upgrader actions. */
.spin-actions { display:grid; grid-template-columns:minmax(0,1.72fr) minmax(92px,.8fr); gap:8px; margin-top:16px; }
.spin-actions .spin-button { min-width:0; min-height:57px; margin:0; padding:7px 10px; font-size:13px; line-height:1.08; }
.spin-actions .spin-button > span,.spin-actions .spin-button > b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spin-actions .spin-button > b { margin:3px 0 0; font-size:12px; }
.spin-actions .demo-link { display:flex; min-width:0; min-height:57px; flex-direction:column; align-items:center; justify-content:center; gap:2px; margin:0; border:1px solid #474b4d; border-radius:17px; color:#d8dbdd; background:linear-gradient(145deg,#303438,#26292c); box-shadow:inset 0 1px rgba(255,255,255,.07),0 8px 18px rgba(0,0,0,.2); font-family:Rubik,sans-serif; transition:border-color .18s,background .18s,transform .14s,opacity .18s; }
.spin-actions .demo-link span { color:#969da1; font-size:8px; font-weight:800; letter-spacing:.75px; text-transform:uppercase; }
.spin-actions .demo-link b { font-size:12px; font-weight:800; }
.spin-actions .demo-link:hover:not(:disabled) { border-color:#687178; background:linear-gradient(145deg,#383d41,#2c3033); }
.spin-actions .demo-link:active:not(:disabled) { transform:scale(.97); }
.spin-actions .demo-link:disabled { cursor:not-allowed; opacity:.52; }

/* Profile settings */
.profile-gear { display:grid; width:34px; height:34px; place-items:center; border:1px solid transparent; border-radius:11px; font-size:17px; transition:color .2s,border-color .2s,background .2s,transform .16s; }.profile-gear:hover,.profile-gear:focus-visible { color:#b7ff70; border-color:#526b3f; background:#293323; }.profile-gear:active { transform:scale(.94) rotate(12deg); }
.settings-modal { z-index:45; }.settings-card { max-height:calc(100dvh - 34px); overflow-x:hidden; overflow-y:auto; padding:21px 17px 17px; border-color:#4d5b45; background:radial-gradient(circle at 13% 0,rgba(151,255,56,.16),transparent 31%),linear-gradient(155deg,#222621,#191b1a 72%); text-align:left; scrollbar-width:thin; }.settings-card h2 { max-width:270px; margin:4px 0 18px; font-size:22px; line-height:1.1; }.settings-glyph { display:grid; width:43px; height:43px; margin-bottom:14px; place-items:center; border:1px solid #6d9c49; border-radius:14px; color:#b8ff74; background:linear-gradient(145deg,#34472a,#242923); box-shadow:0 8px 20px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08); font-size:21px; }.settings-list { display:grid; gap:8px; }.settings-row { position:relative; display:grid; grid-template-columns:39px minmax(0,1fr) 46px; gap:10px; align-items:center; min-height:66px; padding:10px; border:1px solid #393e39; border-radius:16px; background:rgba(37,41,38,.9); cursor:pointer; transition:border-color .18s,background .18s,transform .16s; }.settings-row:hover { border-color:#536649; background:#292f28; }.settings-row:active { transform:scale(.992); }.settings-icon { display:grid; width:39px; height:39px; place-items:center; border-radius:12px; color:#b8ff76; background:#303c29; font:800 18px Rubik,sans-serif; }.settings-copy { display:flex; min-width:0; flex-direction:column; gap:3px; }.settings-copy b { font:800 11px Rubik,sans-serif; }.settings-copy small { color:#858b86; font-size:8px; line-height:1.35; }.settings-row input { position:absolute; width:1px; height:1px; opacity:0; }.settings-switch { position:relative; display:block; width:44px; height:26px; border:1px solid #474d49; border-radius:999px; background:#303432; box-shadow:inset 0 2px 5px rgba(0,0,0,.28); transition:border-color .2s,background .2s,box-shadow .2s; }.settings-switch i { position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#8d918f; box-shadow:0 2px 6px rgba(0,0,0,.38); transition:transform .22s cubic-bezier(.2,.85,.25,1.15),background .2s; }.settings-row input:checked + .settings-switch { border-color:#78c63d; background:#416d25; box-shadow:0 0 13px rgba(141,255,44,.14),inset 0 1px rgba(255,255,255,.08); }.settings-row input:checked + .settings-switch i { background:#a3ff4c; transform:translateX(18px); }.settings-row input:focus-visible + .settings-switch { outline:2px solid #a1ff4a; outline-offset:3px; }.settings-status { margin:13px 2px 0!important; padding:10px 11px; border:1px solid #35402f; border-radius:12px; color:#9ca398!important; background:#20251e; font-size:9px!important; line-height:1.4; }.settings-status.low-power-active { color:#baff7d!important; border-color:#54763b; background:#26321f; }
.settings-rules-entry {
  display:none !important;
}
.game-rules-modal { z-index:55; align-items:center; }.game-rules-card { width:min(100%,410px); max-height:calc(100dvh - 34px); overflow-y:auto; padding:21px 17px 17px; border-color:#536846; background:radial-gradient(circle at 14% 0,rgba(151,255,56,.15),transparent 33%),linear-gradient(155deg,#222721,#181b18 76%); text-align:left; scrollbar-width:thin; }.game-rules-card h2 { margin:5px 0 8px; font-size:23px; }.game-rules-lead { margin:0 0 11px!important; color:#a1aaa0!important; font-size:9px!important; line-height:1.5; }.rules-glyph { display:grid; width:39px; height:39px; margin:0 0 12px; place-items:center; border:1px solid #73a84d; border-radius:13px; color:#c0ff82; background:#2d3a27; box-shadow:0 8px 20px rgba(0,0,0,.2); font:800 20px/1 Rubik,sans-serif; }
.fair-play-card { margin-top:10px; padding:11px; border:1px solid #4e7138; border-radius:15px; background:radial-gradient(circle at 90% 0,rgba(157,255,70,.12),transparent 34%),#20271d; }
.fair-play-title { display:flex; gap:9px; align-items:center; }.fair-play-title > span { display:grid; width:31px; height:31px; place-items:center; border-radius:10px; color:#15200d; background:#9cff45; font-weight:900; }.fair-play-title div { display:flex; flex-direction:column; gap:1px; }.fair-play-title small { color:#71965b; font-size:7px; font-weight:900; letter-spacing:.8px; }.fair-play-title b { font:800 13px Rubik,sans-serif; }
.fair-play-metrics { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:11px 0 8px; }.fair-play-metrics div { padding:9px; border:1px solid #384a30; border-radius:11px; background:#273023; }.fair-play-metrics small { display:block; color:#778273; font-size:6px; font-weight:900; letter-spacing:.55px; }.fair-play-metrics b { display:block; margin-top:3px; color:#adff5f; font:800 16px Rubik,sans-serif; }
.fair-play-status { display:grid; gap:5px; }.fair-play-status p { display:flex; justify-content:space-between; gap:10px; margin:0!important; padding:6px 8px; border-radius:8px; color:#91988d!important; background:#1c211a; font-size:8px!important; }.fair-play-status b { color:#d7e7cc; font-weight:800; text-align:right; }
.fair-play-rules { display:grid; gap:6px; margin:10px 0 0; padding-left:18px; color:#9aa194; font-size:8px; line-height:1.42; }.fair-play-rules b { color:#d8e7cf; }.fair-play-note { margin:10px 0 0!important; padding-top:9px; border-top:1px solid #34412f; color:#75806f!important; font-size:7px!important; line-height:1.45; }
.game-rules-list { display:grid; gap:7px; margin:11px 0 0; padding-left:18px; color:#a1a99e; font-size:8px; line-height:1.45; }.game-rules-list b { color:#e0ebd9; }.game-rules-note { margin:11px 0 0!important; padding:10px 11px; border:1px solid #384532; border-radius:11px; color:#899584!important; background:#1e241c; font-size:8px!important; line-height:1.45; }.rules-channel-link { display:flex; min-height:39px; margin-top:9px; align-items:center; justify-content:center; border:1px solid #5f8e41; border-radius:12px; color:#baff78; background:#293523; font-size:9px; font-weight:800; text-decoration:none; }

/* Low-power mode keeps game logic intact while removing continuous paint and Lottie work. */
body.low-power *,body.low-power *::before,body.low-power *::after { animation:none!important; }
body.low-power .app-shell::before { opacity:.12; }
body.low-power .confetti { display:none; }
body.low-power .gift-animation.lottie-ready > img,body.low-power .currency-animation.lottie-ready > img,body.low-power .player-avatar.lottie-ready > img { opacity:1; }
body.low-power .gift-animation > div,body.low-power .currency-lottie,body.low-power .player-avatar-lottie { display:none!important; }

/* Rendering isolation: visually identical, but off-screen cards no longer consume paint time. */
.screen {
  contain:paint style;
  backface-visibility:hidden;
}
.market-gift,.inventory-gift {
  content-visibility:auto;
  contain:layout paint style;
  contain-intrinsic-size:auto 174px;
}
.case-drop {
  content-visibility:auto;
  contain:layout paint style;
  contain-intrinsic-size:auto 110px;
}
.case-roll-item { contain:layout paint style; }
.case-roll-track { backface-visibility:hidden; }

/* Payments */
.topup-screen { padding-top:19px; }
.topup-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:20px 0 13px; padding:4px; border:1px solid #35393b; border-radius:17px; background:#191b1c; }
.topup-tabs button { display:flex; min-width:0; min-height:46px; align-items:center; justify-content:center; gap:7px; border-radius:13px; color:#858b91; background:transparent; font:800 11px Rubik,sans-serif; transition:color .2s,background .2s,box-shadow .2s,transform .2s; }
.topup-tabs button.active { color:#fff; background:linear-gradient(145deg,#2d3438,#24292c); box-shadow:0 6px 16px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08); transform:translateY(-1px); }
.topup-tabs button > span { font-size:17px; }.topup-tabs .gram-mark { color:#57baff; filter:drop-shadow(0 0 7px rgba(61,174,255,.42)); }
.payment-panel { padding:17px; border:1px solid #363a3c; border-radius:24px; background:radial-gradient(circle at 100% 0,rgba(76,190,255,.09),transparent 33%),linear-gradient(155deg,#222628,#181a1b); box-shadow:inset 0 1px rgba(255,255,255,.05),0 17px 30px rgba(0,0,0,.18); animation:payment-enter .25s ease-out; }
.payment-hero { display:flex; align-items:center; gap:12px; margin-bottom:19px; }.payment-hero > span { display:grid; width:54px; height:54px; flex:0 0 auto; place-items:center; border-radius:17px; font-size:27px; }
.stars-hero > span { background:linear-gradient(145deg,#ffe478,#f1a710); box-shadow:0 9px 24px rgba(255,184,33,.2),inset 0 1px rgba(255,255,255,.7); }.gram-hero > span { color:#fff; background:linear-gradient(145deg,#31b8ff,#087ad3); box-shadow:0 9px 25px rgba(31,171,255,.22),inset 0 1px rgba(255,255,255,.42); }
.payment-hero div { display:flex; min-width:0; flex-direction:column; gap:3px; }.payment-hero small { color:#7f8990; font-size:8px; font-weight:800; letter-spacing:1px; }.payment-hero b { font:800 18px Rubik,sans-serif; }.payment-hero p { margin:0; color:#8d9397; font-size:9px; line-height:1.35; }
.payment-amount { display:flex; flex-direction:column; gap:8px; }.payment-amount > span:first-child { color:#9a9fa3; font-size:10px; font-weight:800; }.amount-input { display:grid; grid-template-columns:1fr auto; align-items:center; padding:0 14px; border:1px solid #41474a; border-radius:16px; background:#111314; box-shadow:inset 0 2px 7px rgba(0,0,0,.28); transition:border-color .2s,box-shadow .2s; }.amount-input:focus-within { border-color:#84d739; box-shadow:0 0 0 3px rgba(138,230,55,.08),inset 0 2px 7px rgba(0,0,0,.28); }.amount-input input { min-width:0; height:58px; border:0; outline:0; color:#f8f9f9; background:transparent; font:800 25px Rubik,sans-serif; appearance:textfield; }.amount-input input::-webkit-inner-spin-button { appearance:none; }.amount-input b { font-size:18px; }.gram-input:focus-within { border-color:#38adf4; box-shadow:0 0 0 3px rgba(49,175,255,.09),inset 0 2px 7px rgba(0,0,0,.28); }.gram-input b { color:#4ebcff; }
.amount-presets { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-top:10px; }.amount-presets button { min-height:36px; border:1px solid #3c4244; border-radius:11px; color:#aeb3b6; background:#25292b; font-size:10px; font-weight:800; }.amount-presets button.active { color:#111; border-color:#a5ff45; background:#a5ff45; box-shadow:0 5px 12px rgba(139,255,38,.15); }
.payment-submit { display:flex; width:100%; min-height:56px; align-items:center; justify-content:space-between; margin-top:15px; padding:0 17px; border-radius:17px; color:#101213; font:800 13px Rubik,sans-serif; box-shadow:inset 0 1px rgba(255,255,255,.55),0 9px 20px rgba(0,0,0,.17); }.payment-submit b { font-size:13px; }.stars-submit { background:linear-gradient(120deg,#a6ff3d,#78df1d); }.gram-submit { color:#fff; background:linear-gradient(120deg,#18a9ef,#0878d9); }.payment-submit:disabled { cursor:not-allowed; opacity:.44; filter:saturate(.55); }
.payment-status { min-height:14px; margin:11px 2px 0; color:#7f8589; font-size:9px; line-height:1.4; text-align:center; }.payment-status.success { color:#a9ff50; }.payment-status.error { color:#ff858b; }
.wallet-connect { display:grid; grid-template-columns:40px 1fr auto; gap:10px; align-items:center; width:100%; margin-bottom:16px; padding:10px; border:1px solid #3c5665; border-radius:16px; color:#fff; background:linear-gradient(120deg,#1f2b31,#1d2428); text-align:left; }.wallet-glyph { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; color:#65c7ff; background:#172f3c; font-size:18px; }.wallet-connect > span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:3px; }.wallet-connect small { overflow:hidden; color:#6d8797; font-size:7px; font-weight:800; letter-spacing:.7px; text-overflow:ellipsis; white-space:nowrap; }.wallet-connect b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.wallet-connect i { color:#5dbef5; font-size:25px; font-style:normal; }
.gram-equivalent { display:grid; grid-template-columns:1fr auto; gap:3px 8px; margin-top:11px; padding:12px; border:1px solid #31444f; border-radius:14px; background:#172127; }.gram-equivalent span { color:#8c969c; font-size:10px; }.gram-equivalent b { color:#8ad8ff; font:800 13px Rubik,sans-serif; }.gram-equivalent small { grid-column:1/-1; color:#60737d; font-size:8px; }
.telegram-compliance { margin:10px 0 0; padding:10px; border:1px solid #5e5128; border-radius:12px; color:#b8aa74; background:#282317; font-size:8px; line-height:1.45; }
@keyframes payment-enter { from { opacity:0; transform:translateY(5px); } }

/* Gift deposits share the payment tabs; bank opening never credits funds. */
.topup-tabs button > .topup-tab-label { min-width:0; font-size:inherit; line-height:1.15; }
.topup-gift-icon { display:grid; width:23px; height:23px; flex:0 0 auto; place-items:center; color:#b1ff61; }
.deposit-emoji { position:relative; isolation:isolate; }
.deposit-emoji > img,.deposit-emoji > .deposit-emoji-motion { position:absolute; inset:0; display:block; width:100%; height:100%; pointer-events:none; }
.deposit-emoji > img { object-fit:contain; }
.deposit-emoji-motion { opacity:0; }
.deposit-emoji.is-ready > img { opacity:0; }.deposit-emoji.is-ready > .deposit-emoji-motion { opacity:1; }
.deposit-emoji-motion svg { display:block; width:100%!important; height:100%!important; }
.gifts-hero > span { color:#b1ff61; background:linear-gradient(145deg,#304a23,#202e1a); box-shadow:inset 0 1px rgba(177,255,97,.15),0 8px 22px rgba(112,202,45,.12); }
.gift-deposit-art > img,.gift-deposit-art > .deposit-emoji-motion { inset:6px; width:calc(100% - 12px); height:calc(100% - 12px); }
.gift-guide-step > img,.gift-guide-step > .deposit-emoji-motion { inset:4px; width:calc(100% - 8px); height:calc(100% - 8px); }
.gift-bank-submit b { font-size:11px; }
.gift-deposit-safety { margin:12px 0 0; color:#8c9485; font-size:8px; line-height:1.5; text-align:center; }
@media (max-width:360px) { .topup-tabs button { gap:4px; font-size:10px; }.topup-tabs button > span.currency-tab-icon,.topup-gift-icon { width:21px; height:21px; }.gifts-hero b { font-size:16px; } }

/* Official-style animated currency artwork with lightweight stills in dense UI. */
span.currency-icon {
  display:inline-grid;
  width:1.22em;
  height:1.22em;
  min-width:0;
  min-height:0;
  padding:0;
  place-items:center;
  overflow:visible;
  border:0;
  border-radius:0;
  color:inherit;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 .12em .16em rgba(0,0,0,.28));
  line-height:1;
  vertical-align:-.23em;
}
span.currency-icon img { display:block; width:100%; height:100%; object-fit:contain; }
span.currency-gram { filter:drop-shadow(0 .08em .2em rgba(36,174,255,.36)); }
.gift-value .currency-icon { width:15px; height:15px; margin-right:1px; vertical-align:-4px; }
.profile-stats span.currency-icon { width:13px; height:13px; font-size:inherit; vertical-align:-4px; }
.case-modes span.currency-icon { width:11px; height:11px; vertical-align:-3px; }
.free-case-button span.currency-icon { width:20px; height:20px; margin:0 0 0 3px; color:inherit; font-size:inherit; }
.rating-list span.currency-icon { display:inline-grid; width:16px; height:16px; border-radius:0; color:inherit; background:transparent; font-size:inherit; vertical-align:-4px; }
.prize-item span.currency-icon { display:inline-grid; width:25px; height:25px; margin:0; font-size:inherit; filter:drop-shadow(0 3px 4px rgba(0,0,0,.26)); vertical-align:-5px; }

.currency-animation { position:relative; display:grid; place-items:center; overflow:hidden; isolation:isolate; }
.currency-animation > img,.currency-animation > .currency-lottie { position:absolute; inset:0; display:block; width:100%; height:100%; transition:opacity .18s ease; }
.currency-animation > img { z-index:1; object-fit:contain; }
.currency-animation > .currency-lottie { z-index:2; opacity:0; }
.currency-animation.lottie-ready > img { opacity:0; }
.currency-animation.lottie-ready > .currency-lottie { opacity:1; }
.currency-lottie svg { display:block; width:100% !important; height:100% !important; }
.balance-box > span.balance-currency { width:24px; height:24px; padding:0; overflow:visible; border-radius:0; background:transparent; filter:drop-shadow(0 2px 5px rgba(255,184,24,.35)); }
.balance-box .currency-lottie { width:100%; height:100%; border-radius:0; background:transparent; }
.topup-tabs button > span.currency-tab-icon { width:25px; height:25px; font-size:inherit; }
.payment-hero > span.payment-currency-animation { width:54px; height:54px; padding:5px; overflow:visible; }
.stars-hero > span.payment-currency-animation { background:radial-gradient(circle,rgba(255,227,95,.45),rgba(239,167,16,.18) 58%,transparent 59%); }
.gram-hero > span.payment-currency-animation { background:radial-gradient(circle,rgba(86,200,255,.35),rgba(8,122,211,.18) 58%,transparent 59%); }
.amount-input span.currency-input-icon { width:25px; height:25px; }
.payment-submit .currency-icon,.gram-equivalent .currency-icon,.modal-price .currency-icon,.selected-gift em .currency-icon { width:18px; height:18px; vertical-align:-5px; }

@media (max-width:360px) {
  .balance-box > span.balance-currency { width:20px; height:20px; }
  .payment-hero > span.payment-currency-animation { width:49px; height:49px; }
}

/* Player identity */
.wallet-user {
  flex:1 1 auto;
  min-width:0;
  padding:4px 9px 4px 4px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:999px;
  background:linear-gradient(105deg,rgba(255,255,255,.055),rgba(143,255,39,.025));
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.wallet-user-copy { display:flex; min-width:0; flex-direction:column; gap:2px; }
.wallet-user-copy small { color:#6f7771; font-size:6px; font-weight:800; letter-spacing:1.25px; line-height:1; }
.wallet-user .wallet-user-copy b {
  overflow:hidden;
  margin:0;
  color:#fff;
  background:linear-gradient(90deg,#fff 5%,#dfffc2 72%,#aaff58);
  background-clip:text;
  -webkit-background-clip:text;
  font:800 13px/1.12 Rubik,Manrope,sans-serif;
  letter-spacing:-.32px;
  text-overflow:ellipsis;
  text-shadow:0 4px 14px rgba(125,255,33,.11);
  white-space:nowrap;
  -webkit-text-fill-color:transparent;
}
.player-avatar {
  position:relative;
  display:grid;
  flex:0 0 auto;
  place-items:center;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(193,255,124,.38);
  border-radius:50%;
  color:transparent;
  background:radial-gradient(circle at 50% 38%,#f8ffc8 0 29%,#9bd84b 61%,#2d481b 100%);
  box-shadow:0 0 0 2px rgba(139,255,36,.065),0 5px 14px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.45);
  font-size:0;
  isolation:isolate;
}
.player-avatar > img,.player-avatar > .player-avatar-lottie {
  position:absolute;
  inset:2px;
  display:block;
  width:calc(100% - 4px);
  height:calc(100% - 4px);
  border-radius:50%;
  transition:opacity .18s ease;
}
.player-avatar > img { z-index:1; object-fit:contain; }
.player-avatar > .player-avatar-lottie { z-index:2; opacity:0; }
.player-avatar.lottie-ready > img { opacity:0; }
.player-avatar.lottie-ready > .player-avatar-lottie { opacity:1; }
.player-avatar-lottie svg { display:block; width:100% !important; height:100% !important; }
.wallet-panel .player-avatar { width:43px; height:43px; }
/* Compact wallet: one quiet balance pill, one add-funds action. */
.wallet-panel { min-height:68px; padding:9px 16px; gap:9px; border-radius:0 0 18px 18px; background:linear-gradient(115deg,#1b1e19,#141613); box-shadow:inset 0 -1px rgba(172,255,112,.08),0 6px 16px rgba(0,0,0,.18); }
.wallet-panel .wallet-user { padding:0; border:0; background:none; box-shadow:none; gap:8px; }
.wallet-panel .player-avatar { width:36px; height:36px; }
.wallet-panel .wallet-user-copy small { font-size:6px; letter-spacing:1px; }
.wallet-panel .wallet-user-copy b { font-size:12px; }
.wallet-panel .balance-box { display:flex; flex:0 0 auto; align-items:center; justify-content:center; gap:6px; min-width:76px; max-width:165px; height:37px; padding:0 11px; border:1px solid rgba(164,233,118,.15); border-radius:13px; background:linear-gradient(145deg,#272e22,#20251c); box-shadow:inset 0 1px rgba(255,255,255,.045); }
.wallet-panel .balance-box > span.balance-currency { flex:0 0 auto; width:18px; height:18px; background:transparent; }
.wallet-panel .balance-box strong { overflow:hidden; color:#f1f8ed; font:800 15px/1 Rubik,sans-serif; font-variant-numeric:tabular-nums; white-space:nowrap; text-overflow:ellipsis; letter-spacing:-.2px; }
.wallet-panel .balance-box.is-expanded { border-color:rgba(164,233,118,.26); }
.wallet-panel .add-ton { width:35px; height:35px; border-radius:12px; background:#a0ed4f; font-size:25px; box-shadow:0 3px 10px rgba(119,197,50,.12); }
.live-model-renderer { display:block; width:44px; height:44px; }
.live-gift-media > svg,.live-model-renderer svg { display:block; width:44px!important; height:44px!important; }
/* Motion belongs only to the leading Lottie player, never a fallback image. */
.live-gift .gift-static { animation:none!important; transform:none; }
.crash-balance-chip { display:flex; align-items:center; justify-content:flex-end; gap:7px; margin:-3px 16px 12px; color:#e9f4e4; font:800 13px Rubik,sans-serif; font-variant-numeric:tabular-nums; }
.crash-balance-chip .currency-icon { width:17px; height:17px; }
.crash-balance-chip button { display:grid; place-items:center; width:26px; height:26px; margin-left:2px; border-radius:9px; color:#b4f77c; background:#1b2a16; font-size:19px; }
@media(max-width:360px) { .wallet-panel { padding-inline:12px; gap:7px; }.wallet-panel .balance-box { max-width:141px; padding-inline:8px; }.wallet-panel .balance-box.is-expanded strong { font-size:13px; } }
.profile-card .profile-avatar.player-avatar { width:57px; height:57px; }
.rating-list li { grid-template-columns:30px 38px minmax(0,1fr) auto; }
.rating-list .rating-avatar {
  display:grid;
  width:38px;
  height:38px;
  padding:0;
  border-radius:50%;
  color:transparent;
  background:radial-gradient(circle at 50% 38%,#f8ffc8 0 29%,#9bd84b 61%,#2d481b 100%);
  font-size:0;
}
.rating-list .player-avatar-lottie { position:absolute; display:block; width:calc(100% - 4px); height:calc(100% - 4px); border-radius:50%; background:transparent; }
.rating-list li > b { overflow:hidden; font:800 12px Rubik,sans-serif; letter-spacing:-.18px; text-overflow:ellipsis; white-space:nowrap; }

@media (max-width:360px) {
  .wallet-user { padding-right:6px; }
  .wallet-panel .player-avatar { width:39px; height:39px; }
  .wallet-user .wallet-user-copy b { font-size:11px; }
  .rating-list li { grid-template-columns:27px 34px minmax(0,1fr) auto; gap:6px; }
  .rating-list .rating-avatar { width:34px; height:34px; }
}

/* Refined live label and bottom navigation */
.live-badge strong { position:relative; display:block; font:inherit; transform:translateY(2px); }
.live-gift small { bottom:4px; }
.bottom-nav {
  height:78px;
  padding:7px;
  border-color:#3c4648;
  background:linear-gradient(145deg,rgba(30,36,39,.98),rgba(20,24,26,.98));
  box-shadow:0 14px 34px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.045);
}
.bottom-nav button {
  position:relative;
  gap:3px;
  border:1px solid transparent;
  transition:color .22s ease,background .22s ease,border-color .22s ease,transform .18s ease;
}
.bottom-nav button:active { transform:scale(.94); }
.bottom-nav button b { font:800 8px/1.05 Manrope,sans-serif; letter-spacing:-.1px; transition:transform .2s ease,color .2s ease; }
.bottom-nav button > span.nav-icon {
  position:relative;
  display:grid;
  width:34px;
  height:34px;
  margin:0;
  place-items:center;
  overflow:visible;
  border:1px solid rgba(255,255,255,.055);
  border-radius:12px;
  color:#81898d;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  box-shadow:inset 0 1px rgba(255,255,255,.035);
  font-size:0;
  line-height:1;
  transition:color .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .28s cubic-bezier(.2,.8,.2,1);
}
.nav-symbol { display:block; width:21px; height:21px; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:opacity .18s ease,transform .25s ease; }
.nav-games-icon .nav-symbol { fill:currentColor; stroke:none; }
.bottom-nav button.active:not(.nav-games) {
  color:#b4ff68;
  border-color:rgba(137,229,56,.13);
  background:linear-gradient(180deg,rgba(113,181,52,.09),rgba(79,131,35,.025));
}
.bottom-nav button.active:not(.nav-games) > .nav-icon {
  color:#aaff55;
  border-color:rgba(154,255,73,.3);
  background:radial-gradient(circle at 50% 28%,rgba(164,255,79,.16),rgba(39,57,29,.7));
  box-shadow:0 0 16px rgba(133,255,35,.12),inset 0 1px rgba(255,255,255,.08);
  transform:translateY(-2px);
}
.bottom-nav button.active .nav-symbol { animation:nav-symbol-alive 1.9s ease-in-out infinite; }
.bottom-nav button.active b { color:#b7ff70; transform:translateY(-1px); }
.bottom-nav .nav-games > span.nav-icon {
  display:grid;
  width:48px;
  height:48px;
  margin-top:-29px;
  place-items:center;
  border:1px solid rgba(229,255,195,.58);
  border-radius:17px;
  color:#132007;
  background:linear-gradient(145deg,#bdff61,#7de61c);
  box-shadow:0 0 0 5px rgba(24,29,31,.96),0 7px 22px rgba(131,255,31,.34),inset 0 1px rgba(255,255,255,.62);
  font-size:0;
  transform:rotate(-2deg);
}
.bottom-nav .nav-games .nav-symbol { width:24px; height:24px; }
.bottom-nav .nav-games.active > span.nav-icon { transform:translateY(-2px) rotate(2deg); }
.bottom-nav .nav-games b { margin-top:0; }
.bottom-nav .nav-profile-icon > .nav-symbol { transition:opacity .2s ease,transform .24s ease; }
.bottom-nav .nav-profile-avatar {
  position:absolute;
  inset:2px;
  display:grid;
  width:auto;
  height:auto;
  border-color:rgba(204,255,145,.48);
  opacity:0;
  pointer-events:none;
  transform:scale(.64) rotate(-8deg);
  transition:opacity .2s ease,transform .35s cubic-bezier(.18,.9,.25,1.2);
}
.bottom-nav button[data-screen="profile"].active .nav-profile-icon > .nav-symbol { opacity:0; transform:scale(.62); animation:none; }
.bottom-nav button[data-screen="profile"].active .nav-profile-avatar { opacity:1; transform:scale(1) rotate(0); }

@keyframes nav-symbol-alive {
  0%,100% { transform:translateY(0) scale(1); }
  50% { transform:translateY(-1px) scale(1.045); }
}

@media (prefers-reduced-motion:reduce) {
  .bottom-nav button.active .nav-symbol { animation:none; }
}

/* Inventory selection and gift deposit */
.inventory-title { gap:10px; }
.inventory-title-actions { display:flex; flex:0 0 auto; align-items:center; gap:6px; }
.inventory-title-actions button {
  min-height:34px;
  padding:7px 10px;
  border-radius:11px;
  font-size:9px;
  white-space:nowrap;
}
.inventory-title-actions button:disabled { cursor:not-allowed; opacity:.38; }
.inventory-title-actions .inventory-add {
  display:flex;
  align-items:center;
  gap:3px;
  color:#b8ff72;
  border-color:#6dac35;
  background:linear-gradient(145deg,#2d481d,#203317);
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 5px 13px rgba(91,186,24,.08);
}
.inventory-add span { font-size:14px; line-height:1; }
.inventory-gift .inventory-check {
  position:absolute;
  z-index:4;
  top:10px;
  left:10px;
  display:grid;
  width:21px;
  height:21px;
  place-items:center;
  border:1px solid #69706b;
  border-radius:7px;
  color:transparent;
  background:#292d2b;
  box-shadow:0 4px 10px rgba(0,0,0,.22);
  font-size:12px;
  font-style:normal;
  font-weight:900;
  opacity:0;
  transform:scale(.72);
  transition:opacity .16s ease,transform .2s cubic-bezier(.2,.9,.25,1.25),color .16s,background .16s,border-color .16s;
}
.inventory-gift.is-selecting .inventory-check { opacity:1; transform:scale(1); }
.inventory-gift.is-selected {
  border-color:#9bf044;
  background:radial-gradient(circle at 50% 29%,rgba(156,255,65,.19),transparent 44%),#23301e;
  box-shadow:0 0 0 2px rgba(145,255,47,.08),0 10px 24px rgba(0,0,0,.18);
  transform:translateY(-2px);
}
.inventory-gift.is-selected .inventory-check {
  color:#132007;
  border-color:#baff75;
  background:#a4ff4e;
  box-shadow:0 0 13px rgba(154,255,67,.28);
}
.inventory-gift.is-pending,.inventory-gift.is-pending:hover { cursor:not-allowed; border-color:#555d58; filter:saturate(.56); opacity:.78; transform:none; }
.inventory-gift.is-pending > :not(.inventory-pending) { opacity:.46; }
.inventory-pending { position:absolute; z-index:7; inset:0; display:flex!important; min-height:0!important; padding:0!important; flex-direction:column; align-items:center!important; justify-content:center!important; gap:8px; color:#f0f4f1; background:linear-gradient(rgba(20,24,22,.58),rgba(20,24,22,.84)); filter:none!important; }
.inventory-pending > i { width:27px; height:27px; border:3px solid rgba(255,255,255,.2); border-top-color:#a9ff58; border-radius:50%; animation:inventory-pending-spin .82s linear infinite; }
.inventory-pending > b { margin:0!important; color:#dfffc4; font:800 10px Rubik,sans-serif!important; letter-spacing:.35px; }
@keyframes inventory-pending-spin { to { transform:rotate(360deg); } }
.inventory-bulk-bar {
  position:fixed;
  z-index:18;
  left:50%;
  bottom:calc(97px + env(safe-area-inset-bottom));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  width:min(calc(100% - 24px),406px);
  min-height:66px;
  gap:7px;
  align-items:center;
  padding:9px 10px 9px 14px;
  border:1px solid #536744;
  border-radius:21px;
  background:linear-gradient(125deg,rgba(35,43,38,.98),rgba(22,27,29,.98));
  box-shadow:0 14px 34px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.07);
  backdrop-filter:blur(18px);
  animation:inventory-bulk-enter .28s cubic-bezier(.2,.85,.25,1.15);
  transform:translateX(-50%);
}
.inventory-bulk-bar[hidden] { display:none; }
.inventory-bulk-bar > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.inventory-bulk-bar > div b { font:800 12px Rubik,sans-serif; }
.inventory-bulk-bar > div b span { color:#aeff62; }
.inventory-bulk-bar > div small { overflow:hidden; color:#818b84; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.inventory-bulk-bar .currency-icon { width:13px; height:13px; vertical-align:-3px; }
.inventory-bulk-bar > button {
  min-width:65px;
  min-height:43px;
  padding:0 10px;
  border:1px solid #72b936;
  border-radius:13px;
  color:#b5ff6e;
  background:#26391d;
  font:800 10px Rubik,sans-serif;
}
.inventory-bulk-bar > button:first-of-type {
  color:#142006;
  border-color:#adff5e;
  background:linear-gradient(145deg,#b7ff6d,#7ee426);
  box-shadow:0 7px 16px rgba(125,231,32,.14);
}
.add-gift-card { max-height:min(720px,calc(100dvh - 30px)); overflow:auto; padding-top:24px; }
.deposit-glyph {
  display:grid;
  width:58px;
  height:58px;
  margin:0 auto 12px;
  place-items:center;
  border:1px solid #a6f45b;
  border-radius:19px;
  color:#172109;
  background:linear-gradient(145deg,#c3ff79,#7ee328);
  box-shadow:0 9px 25px rgba(129,238,34,.2),inset 0 1px rgba(255,255,255,.65);
  font:900 28px Rubik,sans-serif;
}
.add-gift-card h2 { margin:5px 0 7px; }
.add-gift-card .add-gift-lead { max-width:310px; margin:0 auto 15px; color:#999fa0; font-size:10px; line-height:1.5; }
.deposit-guide { display:grid; gap:7px; margin:0; padding:0; list-style:none; text-align:left; }
.deposit-guide li { display:grid; grid-template-columns:31px 1fr; gap:9px; align-items:center; padding:9px; border:1px solid #3c4338; border-radius:13px; background:#252a23; }
.deposit-guide li > span { display:grid; width:31px; height:31px; place-items:center; border-radius:10px; color:#132006; background:#a5ff50; font:900 12px Rubik,sans-serif; }
.deposit-guide li div { display:flex; min-width:0; flex-direction:column; gap:2px; }
.deposit-guide li b { font-size:10px; }
.deposit-guide li small { color:#747c76; font-size:8px; line-height:1.35; }
.add-gift-card .deposit-safety { margin:11px 0; padding:9px 10px; border:1px solid #554d2b; border-radius:11px; color:#b4a875; background:#292516; font-size:8px; line-height:1.45; }
.add-gift-primary { min-height:52px; font-size:14px; }
.add-gift-secondary { width:100%; min-height:39px; margin-top:7px; border-radius:12px; color:#9da29e; background:#292d2b; font-size:10px; font-weight:800; }
@keyframes inventory-bulk-enter { from { opacity:0; transform:translate(-50%,10px) scale(.97); } }

@media (max-width:360px) {
  .inventory-title { align-items:flex-start; }
  .inventory-title h2 { font-size:21px; }
  .inventory-title-actions { gap:4px; }
  .inventory-title-actions button { padding:6px 7px; font-size:8px; }
  .inventory-bulk-bar { grid-template-columns:minmax(0,1fr) auto auto; gap:5px; padding-left:11px; }
  .inventory-bulk-bar > button { min-width:58px; padding:0 7px; font-size:9px; }
}

.prize-modal .prize-message {
  margin:10px 0 0;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  color:#bcc2c6;
  background:rgba(255,255,255,.045);
  font-size:10px;
  font-weight:650;
  line-height:1.42;
  text-align:center;
}
#prizeModal.is-demo-result .modal-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }

/* Real 10-day leaderboard season. */
.rating-screen .section-heading p { max-width:310px; }
.rating-timer-card { position:relative; display:flex; flex-direction:column; align-items:center; margin:18px 0 13px; padding:15px 14px; overflow:hidden; border:1px solid #5d8d3b; border-radius:19px; background:radial-gradient(circle at 50% 0,rgba(153,255,57,.18),transparent 58%),linear-gradient(145deg,#26321f,#1d201c); box-shadow:0 10px 25px rgba(0,0,0,.22); text-align:center; }
.rating-timer-card:before { position:absolute; inset:-45% 15%; background:radial-gradient(circle,rgba(149,255,50,.12),transparent 65%); content:""; animation:rating-glow 2.2s ease-in-out infinite alternate; pointer-events:none; }
.rating-timer-card small { position:relative; color:#98ac8b; font-size:8px; font-weight:800; letter-spacing:1.1px; }
.rating-timer-card b { position:relative; margin:4px 0 5px; color:#b4ff6e; font:800 25px Rubik,sans-serif; letter-spacing:.5px; text-shadow:0 0 18px rgba(144,255,45,.2); }
.rating-timer-card span { position:relative; max-width:290px; color:#858d82; font-size:8px; line-height:1.4; }
.rating-prize-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; margin:0 0 13px; }
.rating-prize-chip { position:relative; display:grid; min-width:0; min-height:82px; padding:6px 3px; place-items:center; overflow:hidden; border:1px solid #3b4437; border-radius:13px; background:linear-gradient(145deg,#252a22,#1c1e1c); text-align:center; }
.rating-prize-chip:first-child { border-color:#ac8532; background:radial-gradient(circle at 50% 37%,rgba(255,197,61,.16),transparent 56%),#25231c; }
.rating-prize-chip > b { position:absolute; top:4px; left:5px; color:#aaff58; font:800 8px Rubik,sans-serif; }
.rating-prize-chip:first-child > b { color:#ffd15d; }
.rating-prize-chip > span { display:grid; width:42px; height:42px; margin-top:3px; place-items:center; }
.rating-prize-chip .gift-static { width:42px; height:42px; }
.rating-prize-chip small { overflow:hidden; width:100%; color:#90968d; font-size:6px; font-weight:800; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
.rating-list { gap:7px; margin:0; }
.rating-list .rating-row { grid-template-columns:24px 36px minmax(0,1fr) auto 68px; gap:7px; min-height:82px; padding:8px; border-color:#394036; background:linear-gradient(120deg,#232622,#1d1f1d); }
.rating-list .rating-row.rank-1 { border-color:#7b642c; background:radial-gradient(circle at 86% 50%,rgba(255,191,48,.12),transparent 32%),linear-gradient(120deg,#29261d,#1e201d); }
.rating-list .rating-row.is-empty { opacity:.62; }
.rating-list .rating-rank { display:grid; width:24px; height:24px; place-items:center; border-radius:8px; color:#111; background:#a5ff3a; font-size:10px; font-weight:800; }
.rating-list .rank-1 > .rating-rank { background:#ffd04f; }
.rating-list .rating-avatar,.rating-list .rating-avatar-empty { position:relative; display:grid; width:36px; height:36px; place-items:center; border-radius:50%; }
.rating-list .rating-avatar-empty { color:#687064; background:#292d29; font:800 12px Rubik,sans-serif; }
.rating-list .rating-player-copy { display:flex; min-width:0; flex-direction:column; gap:2px; width:auto; height:auto; place-items:initial; border-radius:0; color:inherit; background:transparent; }
.rating-player-copy b,.rating-player-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rating-player-copy b { font:800 10px Rubik,sans-serif; }
.rating-player-copy small { color:#777f76; font-size:6px; }
.rating-list .rating-row > em { display:flex; align-items:center; gap:3px; color:#adff61; font-size:8px; font-style:normal; font-weight:800; white-space:nowrap; }
.rating-list .rating-row > em b { font:800 9px Rubik,sans-serif; }
.rating-list .rating-row > em .currency-icon { display:inline-grid; width:15px; height:15px; border-radius:0; background:transparent; }
.rating-list .rating-reward { position:relative; display:grid; width:68px; height:64px; place-items:center; overflow:visible; border:0; border-radius:0; color:inherit; background:transparent; box-shadow:none; }
.rating-list .rating-reward-media { position:absolute; inset:0; display:grid; width:100%; height:100%; place-items:center; border-radius:inherit; color:inherit; background:transparent; font-size:0; }
.rating-list .rating-reward-media .gift-animation,.rating-list .rating-reward-media > .gift-static { position:absolute; top:50%; left:50%; width:64px; height:64px; margin:0; border-radius:0; color:inherit; background:transparent; font-size:0; transform:translate(-50%,-50%); }
.rating-list .rating-reward-media .gift-variant-media,.rating-list .rating-reward-media .gift-variant-renderer { display:block; position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; border:0; border-radius:0; color:inherit; background:transparent; box-shadow:none; font-size:0; }
.rating-list .rating-reward-media .gift-variant-media>img { display:block; width:100%; height:100%; object-fit:contain; }
.rating-reward-media .gift-animation > img,.rating-reward-media .gift-animation > div { inset:0; width:100%; height:100%; }
.rating-status { margin:10px 3px 0!important; color:#747b72!important; font-size:7px!important; text-align:center; }
@keyframes rating-glow { from { opacity:.45; transform:scale(.92); } to { opacity:1; transform:scale(1.12); } }
@media (max-width:360px) {
  .rating-list .rating-row { grid-template-columns:22px 32px minmax(0,1fr) auto 60px; gap:5px; min-height:76px; padding:7px 6px; }
  .rating-list .rating-avatar,.rating-list .rating-avatar-empty { width:32px; height:32px; }
  .rating-list .rating-reward { width:60px; height:58px; }
  .rating-list .rating-reward-media { width:100%; height:100%; }
  .rating-list .rating-reward-media .gift-animation,.rating-list .rating-reward-media > .gift-static { width:56px; height:56px; }
}
.low-power .rating-timer-card:before { animation:none; }

/* NFT Trading game. */
.trade-game-card { position:relative; display:grid; grid-template-columns:104px minmax(0,1fr); gap:13px; width:100%; min-height:142px; margin-top:14px; padding:18px 16px; overflow:hidden; border:1px solid #3d5d31; border-radius:23px; color:#f4f5f2; background:radial-gradient(circle at 12% 30%,rgba(137,255,43,.15),transparent 37%),linear-gradient(125deg,#1d2d1a 0,#20251f 48%,#1c1e1c 100%); box-shadow:inset 0 1px rgba(255,255,255,.045),0 12px 27px rgba(0,0,0,.22); text-align:left; }
.trade-game-card:after { position:absolute; right:-32px; bottom:-55px; width:150px; height:150px; border-radius:50%; background:#89ff28; content:""; filter:blur(68px); opacity:.08; pointer-events:none; }
.trade-new-badge { position:absolute; z-index:2; top:10px; right:11px; padding:4px 7px; border:1px solid rgba(167,255,89,.48); border-radius:7px; color:#bdff79; background:rgba(72,114,39,.42); font-size:7px; font-weight:900; letter-spacing:1px; }
.trade-card-chart { position:relative; display:grid; align-self:center; height:96px; place-items:center; border:1px solid rgba(146,255,52,.17); border-radius:18px; background:linear-gradient(155deg,rgba(154,255,57,.07),rgba(255,255,255,.015)); box-shadow:inset 0 0 21px rgba(144,255,44,.035); }
.trade-card-chart svg { width:91px; height:78px; overflow:visible; animation:trade-card-breathe 3.8s ease-in-out infinite; }
.trade-card-grid { fill:none; stroke:#657260; stroke-width:.55; opacity:.24; }
.trade-card-area { fill:rgba(145,255,48,.08); }
.trade-card-line { fill:none; stroke:#a0ff4b; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px rgba(139,255,37,.7)); stroke-dasharray:130 18; animation:trade-card-flow 3s linear infinite; }
.trade-card-dot { fill:#e5ffc9; filter:drop-shadow(0 0 6px #8fff2a); animation:trade-card-dot 1.25s ease-in-out infinite; }
.trade-card-copy { position:relative; z-index:1; display:flex; min-width:0; flex-direction:column; justify-content:center; padding-right:4px; }
.trade-card-copy strong { font:850 17px Rubik,sans-serif; letter-spacing:-.35px; }
.trade-card-copy p { margin:7px 0 10px; color:#9fa69b; font-size:9px; line-height:1.45; }
.trade-card-copy em { color:#aaff58; font-size:8px; font-style:normal; font-weight:900; letter-spacing:.7px; }
.trade-card-copy em i { margin-left:3px; font-size:13px; font-style:normal; vertical-align:-1px; }
@keyframes trade-card-flow { to { stroke-dashoffset:-148; } }
@keyframes trade-card-breathe { 0%,100% { transform:translateY(2px) scale(.98); } 50% { transform:translateY(-2px) scale(1.015); } }
@keyframes trade-card-dot { 0%,100% { opacity:.55; transform:scale(.72); transform-origin:center; } 50% { opacity:1; transform:scale(1.32); transform-origin:center; } }

.trade-screen { padding-top:16px; }
.trade-heading { margin-bottom:17px; }
.trade-heading > span { display:flex; align-items:center; gap:6px; color:#a4ff55; font-size:8px; font-weight:900; letter-spacing:1.2px; }
.trade-heading > span i { width:6px; height:6px; border-radius:50%; background:#8dff2d; box-shadow:0 0 9px #8dff2d; animation:trade-live-pulse 1.35s ease-out infinite; }
.trade-heading h1 { margin:7px 0 0; font:850 29px/.98 Rubik,sans-serif; letter-spacing:-1px; }
.trade-heading p { margin:9px 0 0; max-width:320px; color:#898e87; font-size:10px; line-height:1.45; }
.trade-asset-picker { position:relative; display:flex; flex-direction:column; gap:4px; margin-bottom:10px; padding:11px 42px 11px 13px; border:1px solid #3b4637; border-radius:15px; background:#20231f; }
.trade-asset-picker > span { color:#7e8879; font-size:7px; font-weight:900; letter-spacing:1px; }
.trade-asset-picker select { width:100%; padding:0; overflow:hidden; border:0; outline:0; color:#eef1eb; background:transparent; font:800 12px Rubik,sans-serif; text-overflow:ellipsis; appearance:none; }
.trade-asset-picker > i { position:absolute; top:50%; right:15px; color:#9dff43; font-size:16px; font-style:normal; transform:translateY(-50%); pointer-events:none; }
.trade-chart-shell { overflow:hidden; border:1px solid #3d5234; border-radius:22px; background:radial-gradient(circle at 70% 0,rgba(143,255,45,.09),transparent 46%),linear-gradient(155deg,#1d241b,#191b19); box-shadow:inset 0 1px rgba(255,255,255,.035),0 13px 28px rgba(0,0,0,.22); }
.trade-chart-head { display:flex; align-items:flex-start; justify-content:space-between; padding:14px 15px 6px; }
.trade-chart-head > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.trade-chart-head span { overflow:hidden; color:#848d80; font-size:8px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.trade-chart-head b { font:800 18px Rubik,sans-serif; }
.trade-chart-head em { padding:5px 8px; border:1px solid #507638; border-radius:8px; color:#a8ff5a; background:#26341f; font-size:8px; font-style:normal; font-weight:900; }
.trade-chart-head em.negative { color:#ff8585; border-color:#754343; background:#352222; }
.trade-chart-stage { position:relative; height:184px; overflow:hidden; }
.trade-chart-stage svg { display:block; width:100%; height:184px; overflow:visible; }
.trade-chart-grid { fill:none; stroke:#606a5c; stroke-width:.55; opacity:.2; }
.trade-chart-area { fill:url(#tradeChartFill); }
.trade-chart-line { fill:none; stroke:#9aff3b; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px rgba(137,255,43,.48)); }
.trade-chart-point { fill:#e8ffd6; stroke:#8fff28; stroke-width:2; filter:drop-shadow(0 0 6px #8fff2d); }
.trade-chart-shell.is-down .trade-chart-area { fill:rgba(255,82,101,.09); }
.trade-chart-shell.is-down .trade-chart-line { stroke:#ff6674; filter:drop-shadow(0 0 5px rgba(255,73,91,.48)); }
.trade-chart-shell.is-down .trade-chart-point { fill:#ffe1e4; stroke:#ff6877; filter:drop-shadow(0 0 6px #ff596b); }
.trade-chart-scan { position:absolute; inset:0; background:linear-gradient(90deg,transparent 0,rgba(175,255,103,.055) 49%,rgba(208,255,167,.2) 50%,rgba(175,255,103,.055) 51%,transparent 100%); opacity:.55; transform:translateX(-105%); animation:trade-scan 4.2s linear infinite; pointer-events:none; }
.trade-round-overlay { position:absolute; top:50%; left:50%; display:flex; width:70px; height:70px; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(172,255,100,.28); border-radius:50%; background:rgba(15,18,14,.76); box-shadow:0 0 30px rgba(126,255,36,.14); backdrop-filter:blur(7px); transform:translate(-50%,-50%); }
.trade-round-overlay b { font:850 20px Rubik,sans-serif; }
.trade-round-overlay small { margin-top:2px; color:#91a087; font-size:6px; font-weight:900; letter-spacing:1px; }
.trade-chart-foot { display:grid; grid-template-columns:auto 1fr auto; gap:8px; align-items:center; padding:8px 13px 11px; color:#697064; font-size:7px; }
.trade-chart-foot b { overflow:hidden; color:#9aa493; font-size:8px; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.trade-chart-foot b.win { color:#afff69; }.trade-chart-foot b.loss { color:#ff7d88; }
.trade-stake-picker { display:grid; grid-template-columns:45px minmax(0,1fr) auto; gap:11px; align-items:center; width:100%; margin-top:12px; padding:11px; border:1px solid #42483f; border-radius:18px; background:#212320; text-align:left; }
.trade-stake-icon { display:grid; width:45px; height:45px; place-items:center; overflow:hidden; border:1px solid #58753f; border-radius:14px; color:#b4ff6d; background:linear-gradient(145deg,#2f4026,#282d25); font-size:23px; }
.trade-stake-icon .gift-static { width:38px; height:38px; }
.trade-stake-picker > span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:2px; }
.trade-stake-picker small { color:#778071; font-size:7px; font-weight:900; letter-spacing:.9px; }
.trade-stake-picker b { overflow:hidden; font:800 13px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.trade-stake-picker em { overflow:hidden; color:#7d827a; font-size:7px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.trade-stake-picker > i { color:#a5ff52; font-size:20px; font-style:normal; }
.trade-direction-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:10px; }
.trade-direction-actions button { display:grid; grid-template-columns:34px 1fr; grid-template-rows:auto auto; gap:1px 7px; align-items:center; min-height:59px; padding:9px 11px; border-radius:16px; text-align:left; }
.trade-direction-actions button > span { display:grid; grid-row:1/3; width:34px; height:34px; place-items:center; border-radius:11px; font-size:20px; }
.trade-direction-actions button b { align-self:end; font:850 13px Rubik,sans-serif; }.trade-direction-actions button small { align-self:start; font-size:7px; }
.trade-down { border:1px solid #78414a; color:#ffe8ea; background:linear-gradient(135deg,#4c262d,#302225); }.trade-down > span { color:#ff7b88; background:#5f3038; }
.trade-down small { color:#ba7a80; }.trade-up { border:1px solid #618d3d; color:#efffe1; background:linear-gradient(135deg,#365224,#263020); }.trade-up > span { color:#aeff62; background:#3e6029; }.trade-up small { color:#8fa97a; }
.trade-direction-actions button:disabled,.trade-stake-picker:disabled,.trade-asset-picker:has(select:disabled) { opacity:.5; cursor:not-allowed; }
.trade-disclaimer { margin:10px 8px 0; color:#656b62; font-size:7px; line-height:1.45; text-align:center; }
@keyframes trade-live-pulse { 0% { box-shadow:0 0 0 0 rgba(141,255,45,.55); } 100% { box-shadow:0 0 0 7px rgba(141,255,45,0); } }
@keyframes trade-scan { to { transform:translateX(105%); } }

.trade-stake-card { max-height:min(620px,calc(100dvh - 48px)); overflow-y:auto; text-align:left; }
.trade-stake-card h2 { margin:5px 0 14px; font:850 24px Rubik,sans-serif; }
.trade-stake-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:4px; border-radius:13px; background:#1c1e1c; }
.trade-stake-tabs button { min-height:38px; border-radius:10px; color:#858a83; background:transparent; font-size:10px; font-weight:850; }
.trade-stake-tabs button.active { color:#101310; background:#9aff3f; }
.trade-stake-panel { margin-top:12px; }
.trade-stake-panel > label { display:flex; flex-direction:column; gap:7px; color:#898f85; font-size:8px; font-weight:800; }
.trade-stars-input { display:grid; grid-template-columns:1fr 36px; align-items:center; overflow:hidden; border:1px solid #47523f; border-radius:14px; background:#20231f; }
.trade-stars-input input { width:100%; height:48px; padding:0 13px; border:0; outline:0; color:#f4f6f1; background:transparent; font:800 17px Rubik,sans-serif; }
.trade-stars-input b { color:#ffd75a; font-size:17px; text-align:center; }
.trade-stake-presets { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-top:8px; }
.trade-stake-presets button { min-height:35px; border:1px solid #3c4438; border-radius:10px; color:#a8b1a2; background:#242724; font-size:9px; font-weight:800; }
.trade-stake-panel > p { margin:0 0 9px; color:#838980; font-size:8px; line-height:1.4; }
.trade-gift-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; max-height:245px; overflow-y:auto; }
.trade-gift-option { position:relative; display:flex; min-width:0; min-height:98px; flex-direction:column; align-items:center; justify-content:center; padding:7px 5px; border:1px solid #3c4339; border-radius:13px; background:#232623; }
.trade-gift-option.active { border-color:#94e34b; background:#293822; box-shadow:inset 0 0 17px rgba(143,255,45,.06); }
.trade-gift-option .gift-static { width:49px; height:49px; }
.trade-gift-option b { overflow:hidden; width:100%; margin-top:4px; font-size:7px; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.trade-gift-option small { margin-top:2px; color:#aaff58; font-size:6px; }
.trade-gift-empty { padding:18px!important; text-align:center; }
.trade-stake-apply { margin-top:13px; min-height:49px; font-size:13px; }
.low-power .trade-card-chart svg,.low-power .trade-card-line,.low-power .trade-card-dot,.low-power .trade-chart-scan,.low-power .trade-heading > span i { animation:none; }
@media (max-width:360px) { .trade-game-card { grid-template-columns:91px minmax(0,1fr); padding:15px 13px; }.trade-card-chart svg { width:80px; }.trade-direction-actions button { grid-template-columns:29px 1fr; padding:8px; }.trade-direction-actions button > span { width:29px; height:32px; }.trade-gift-options { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Trading card v2: deep arena layout with outlined black cubes and 3D market motion. */
.trade-game-card { grid-template-columns:minmax(0,1.08fr) minmax(132px,.92fr); gap:3px; min-height:143px; padding:17px 10px 16px 18px; border-color:rgba(205,224,213,.16); background:radial-gradient(circle at 79% 43%,rgba(32,132,78,.105),transparent 30%),radial-gradient(circle at 14% 118%,rgba(25,55,38,.14),transparent 44%),linear-gradient(118deg,#070908 0%,#020303 55%,#000 100%); box-shadow:inset 0 1px rgba(255,255,255,.045),inset 0 -38px 70px rgba(0,0,0,.76),inset 0 0 28px rgba(0,0,0,.48),0 13px 30px rgba(0,0,0,.48); }
.trade-game-card:before { position:absolute; z-index:0; inset:0; border-radius:inherit; background-image:linear-gradient(rgba(255,255,255,.034) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.034) 1px,transparent 1px); background-size:21px 21px; content:""; opacity:.52; pointer-events:none; mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.48) 62%,transparent); }
.trade-game-card:after { right:-24px; bottom:-67px; width:190px; height:174px; background:linear-gradient(120deg,#32ce7d,#ff5867); filter:blur(82px); opacity:.075; }
.trade-card-copy { z-index:2; justify-content:center; padding:0 2px 0 0; text-shadow:0 2px 8px rgba(0,0,0,.62); }
.trade-card-kicker { display:flex; align-items:center; gap:5px; margin-bottom:5px; }
.trade-card-kicker > b { padding:0; color:#a8afa9; background:none; box-shadow:none; font-size:6px; font-weight:900; letter-spacing:1.15px; }
.trade-card-kicker > i { display:flex; align-items:center; gap:4px; padding:0; color:#78dd9c; background:none; font-size:6px; font-style:normal; font-weight:850; letter-spacing:.85px; }
.trade-card-kicker > i:before { width:4px; height:4px; border-radius:50%; background:#7cff40; box-shadow:0 0 7px #7cff40; content:""; }
.trade-card-copy strong { color:#f2f5f2; background:none; -webkit-text-fill-color:currentColor; font:900 18px/.98 Rubik,sans-serif; letter-spacing:-.65px; filter:none; }
.trade-card-copy p { margin:7px 0 9px; color:#eee9f4; font:850 italic 8px/1.32 Rubik,sans-serif; letter-spacing:.15px; }
.trade-card-copy em { align-self:flex-start; padding:0; color:#75e59d; background:none; font-size:7px; letter-spacing:1px; }
.trade-card-visual { position:relative; z-index:2; display:grid; align-self:stretch; min-width:0; place-items:center; overflow:visible; }
.trade-card-visual:before { position:absolute; width:112px; height:86px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.11),rgba(64,226,130,.045) 48%,transparent 72%); content:""; filter:blur(9px); animation:trade-scene-glow 2.4s ease-in-out infinite alternate; }
.trade-card-visual svg { position:relative; width:151px; height:112px; overflow:visible; filter:drop-shadow(0 7px 8px rgba(0,0,0,.48)); animation:trade-scene-float 3.6s ease-in-out infinite; }
.trade-cube-field path { fill:#050606; stroke:rgba(255,255,255,.72); stroke-width:.8; stroke-linejoin:round; }
.trade-cube-field > g { transform-box:fill-box; transform-origin:center; animation:trade-cube-drift 3.1s ease-in-out infinite alternate; }
.trade-cube-field > g:nth-child(2) { animation-delay:-1.4s; }.trade-cube-field > g:nth-child(3) { animation-delay:-2.2s; }.trade-cube-field > g:nth-child(4) { animation-delay:-.7s; }
.trade-bars-3d { filter:drop-shadow(0 0 6px rgba(68,226,130,.23)); }
.trade-bar { transform-box:fill-box; transform-origin:center bottom; animation:trade-bar-pulse 2.25s cubic-bezier(.45,0,.25,1) infinite alternate; }
.trade-bar-two { animation-delay:-.8s; }.trade-bar-three { animation-delay:-1.45s; }
.trade-flight-line { fill:none; stroke:url(#tradeFlightStroke); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:8 6; filter:drop-shadow(0 0 4px rgba(255,255,255,.3)); animation:trade-flight-flow 1.05s linear infinite; }
.trade-flight-arrow path { stroke:#fff; stroke-width:1.1; stroke-linejoin:round; }
.trade-flight-arrow-up { fill:#62ee98; animation:trade-arrow-up 1.85s ease-in-out infinite alternate; }
.trade-flight-arrow-down { fill:#ff6873; animation:trade-arrow-down 2.05s ease-in-out infinite alternate; }
@keyframes trade-scene-float { 0%,100% { transform:translate3d(0,2px,0) rotate(-1deg); } 50% { transform:translate3d(0,-3px,0) rotate(1deg); } }
@keyframes trade-scene-glow { from { opacity:.62; transform:scale(.9); } to { opacity:1; transform:scale(1.14); } }
@keyframes trade-cube-drift { from { opacity:.42; translate:0 3px; } to { opacity:.88; translate:0 -4px; } }
@keyframes trade-bar-pulse { 0% { transform:translateY(4px) scaleY(.86); } 100% { transform:translateY(-2px) scaleY(1.05); } }
@keyframes trade-flight-flow { to { stroke-dashoffset:-28; } }
@keyframes trade-arrow-up { from { opacity:.68; transform:translate(-3px,6px) rotate(-4deg); } to { opacity:1; transform:translate(4px,-5px) rotate(4deg); } }
@keyframes trade-arrow-down { from { opacity:.6; transform:translate(3px,-3px) rotate(4deg); } to { opacity:1; transform:translate(-4px,6px) rotate(-5deg); } }
.low-power .trade-card-visual svg,.low-power .trade-card-visual:before,.low-power .trade-cube-field > g,.low-power .trade-bar,.low-power .trade-flight-line,.low-power .trade-flight-arrow { animation:none; }
@media (max-width:360px) { .trade-game-card { grid-template-columns:minmax(0,1fr) 125px; padding-left:14px; }.trade-card-visual svg { width:139px; }.trade-card-copy strong { font-size:16px; }.trade-card-copy p { font-size:7px; } }

/* Trading card v3: animated premium gifts replace the decorative cubes. */
.trade-card-copy em { color:#fff; font:950 11px Rubik,sans-serif; letter-spacing:1.25px; text-shadow:0 0 5px rgba(255,255,255,.95),0 0 15px rgba(255,255,255,.48); transition:color .18s,text-shadow .18s; }
.trade-game-card:hover .trade-card-copy em { color:#dfffe9; text-shadow:0 0 6px #fff,0 0 18px rgba(88,245,147,.72); }
.trade-card-copy em i { color:#6ff0a0; font-size:17px; text-shadow:0 0 9px rgba(76,238,140,.85); }
.trade-card-visual { isolation:isolate; }
.trade-card-visual > svg { z-index:1; opacity:.74; }
.trade-card-badges { position:absolute; z-index:6; top:1px; right:5px; display:flex; align-items:center; gap:12px; pointer-events:none; }
.trade-card-badges b,.trade-card-badges i { padding:0; border:0; color:#e9edea; background:none; font:950 9px Rubik,sans-serif; letter-spacing:1.25px; text-shadow:0 1px 7px #000,0 0 9px rgba(255,255,255,.2); }
.trade-card-badges b { color:#fff; font-size:11px; }
.trade-card-badges i { position:relative; display:flex; align-items:center; gap:5px; color:#72ec9e; font-size:9px; font-style:normal; animation:trade-live-wobble 2.15s ease-in-out infinite; }
.trade-card-badges i:before { width:5px; height:5px; border-radius:50%; background:#55e58c; box-shadow:0 0 8px rgba(74,239,137,.95); content:""; animation:trade-live-dot 1.25s ease-out infinite; }
.trade-card-gifts { position:absolute; z-index:4; inset:13px -3px -3px; pointer-events:none; }
.trade-card-gift { --gift-x:0px; --gift-y:0px; position:absolute; display:grid; width:45px; height:45px; place-items:center; filter:drop-shadow(0 7px 6px rgba(0,0,0,.65)); animation:trade-gift-orbit 3.1s ease-in-out infinite; }
.trade-card-gift > .gift-static,.trade-card-gift > .gift-animation { width:100%; height:100%; }
.trade-card-gift .gift-animation > img,.trade-card-gift .gift-animation > div { inset:0; width:100%; height:100%; }
.trade-gift-pepe { --gift-x:-2px; --gift-y:0px; top:5px; left:-3px; width:48px; height:48px; animation-delay:-.4s; }
.trade-gift-glasses { --gift-x:3px; --gift-y:-2px; top:15px; right:-1px; width:43px; height:43px; animation-delay:-1.7s; }
.trade-gift-helmet { --gift-x:-2px; --gift-y:3px; bottom:0; left:18px; width:42px; height:42px; animation-delay:-2.35s; }
.trade-gift-cup { --gift-x:3px; --gift-y:2px; right:15px; bottom:-1px; width:44px; height:44px; animation-delay:-1.05s; }
.trade-bars-3d { opacity:.72; }
.trade-flight-line { opacity:.9; }
@keyframes trade-gift-orbit { 0%,100% { transform:translate3d(var(--gift-x),calc(var(--gift-y) + 3px),0) rotate(-2deg) scale(.96); } 50% { transform:translate3d(calc(var(--gift-x) + 2px),calc(var(--gift-y) - 4px),0) rotate(2deg) scale(1.04); } }
@keyframes trade-live-wobble { 0%,100% { transform:rotate(-2deg) translateY(0); } 50% { transform:rotate(2deg) translateY(-2px); } }
@keyframes trade-live-dot { 0% { box-shadow:0 0 0 0 rgba(74,239,137,.65); } 100% { box-shadow:0 0 0 7px rgba(74,239,137,0); } }
.low-power .trade-card-gift,.low-power .trade-card-badges i,.low-power .trade-card-badges i:before { animation:none; }
@media (max-width:360px) { .trade-card-badges { right:2px; gap:8px; }.trade-card-gift { width:40px; height:40px; }.trade-gift-pepe { width:44px; height:44px; }.trade-card-copy em { font-size:10px; } }

/* Trading card v5: gifts orbit through the chart like a planetary ring. */
.trade-card-visual > svg { z-index:2; opacity:.82; }
.trade-card-gifts { top:20px; right:3px; bottom:auto; left:auto; width:126px; height:84px; z-index:auto; overflow:visible; }
.trade-card-gifts:before,.trade-card-gifts:after { position:absolute; inset:8px 3px 5px; border:1px solid rgba(219,255,231,.16); border-radius:50%; content:""; pointer-events:none; transform:rotate(-9deg); }
.trade-card-gifts:before { z-index:0; clip-path:inset(0 0 48%); opacity:.42; box-shadow:0 -2px 14px rgba(74,237,137,.035); }
.trade-card-gifts:after { z-index:4; clip-path:inset(48% 0 0); border-color:rgba(232,255,239,.27); box-shadow:0 3px 12px rgba(74,237,137,.08); }
.trade-card-gift { top:0; right:auto; bottom:auto; left:0; z-index:1; width:30px; height:30px; offset-path:path("M 8 51 C 20 14 98 4 117 28 C 134 50 101 79 55 78 C 22 77 -6 65 8 51 Z"); offset-anchor:50% 50%; offset-rotate:0deg; filter:drop-shadow(0 5px 5px rgba(0,0,0,.7)); animation:trade-gift-mercury-orbit 10.8s linear infinite; will-change:offset-distance,opacity,scale; }
.trade-card-gift > .gift-static,.trade-card-gift > .gift-animation { position:relative; z-index:2; width:100%; height:100%; transform-origin:50% 52%; animation:trade-gift-axis-motion 3.4s ease-in-out infinite; }
.trade-gift-pepe { width:32px; height:32px; animation-delay:0s; }
.trade-gift-glasses { width:30px; height:30px; animation-delay:-2.7s; }
.trade-gift-helmet { width:29px; height:29px; animation-delay:-5.4s; }
.trade-gift-cup { width:30px; height:30px; animation-delay:-8.1s; }
.trade-gift-glasses:before { position:absolute; z-index:0; inset:-3px; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.25),rgba(148,164,155,.14) 48%,transparent 72%); box-shadow:0 0 10px rgba(255,255,255,.12); content:""; }
.trade-gift-glasses > .gift-static,.trade-gift-glasses > .gift-animation { filter:brightness(1.38) contrast(1.08) drop-shadow(0 1px 2px rgba(255,255,255,.3)); }
.trade-gift-glasses > .gift-animation,.trade-gift-helmet > .gift-animation { animation-delay:-1.35s; }
.trade-gift-cup > .gift-animation { animation-delay:-2.05s; }
@keyframes trade-gift-mercury-orbit {
  0% { z-index:5; offset-distance:0%; opacity:1; scale:1.02; }
  43% { z-index:5; opacity:1; scale:1.08; }
  49% { z-index:5; opacity:.9; scale:.98; }
  50% { z-index:1; opacity:.48; scale:.8; }
  91% { z-index:1; opacity:.56; scale:.84; }
  99% { z-index:1; opacity:.75; scale:.9; }
  100% { z-index:5; offset-distance:100%; opacity:1; scale:1.02; }
}
@keyframes trade-gift-axis-motion { 0%,100% { transform:perspective(90px) rotateY(-10deg) rotateZ(-2deg) translateY(1px); } 50% { transform:perspective(90px) rotateY(12deg) rotateZ(2deg) translateY(-2px); } }
.low-power .trade-card-gifts:before,.low-power .trade-card-gifts:after,.low-power .trade-card-gift,.low-power .trade-card-gift > .gift-static,.low-power .trade-card-gift > .gift-animation { animation:none; }
.low-power .trade-gift-pepe { offset-distance:0%; }.low-power .trade-gift-glasses { offset-distance:25%; }.low-power .trade-gift-helmet { offset-distance:50%; }.low-power .trade-gift-cup { offset-distance:75%; }
@media (max-width:360px) { .trade-card-gifts { right:0; width:118px; height:80px; }.trade-card-gift { width:28px; height:28px; }.trade-gift-pepe { width:30px; height:30px; }.trade-gift-helmet { width:27px; height:27px; } }

/* Trading card v6: richer chart contrast and lightweight ambient gifts. */
.trade-card-copy { isolation:isolate; }
.trade-card-copy > strong,.trade-card-copy > .trade-card-title,.trade-card-copy > p,.trade-card-copy > em { position:relative; z-index:2; }
.trade-copy-ghosts { position:absolute; z-index:0; inset:-12px -4px -12px -14px; overflow:hidden; border-radius:18px; pointer-events:none; }
.trade-copy-ghosts img { position:absolute; width:37px; height:37px; object-fit:contain; opacity:0; filter:saturate(.88) brightness(.86) blur(.15px) drop-shadow(0 4px 7px rgba(0,0,0,.55)); animation:trade-copy-gift-pop 9.6s cubic-bezier(.2,.76,.26,1) infinite; will-change:transform,opacity; }
.trade-copy-ghosts img:nth-child(1) { top:-8px; right:18px; animation-delay:0s; }
.trade-copy-ghosts img:nth-child(2) { bottom:14px; left:-9px; width:34px; height:34px; animation-delay:-3.2s; }
.trade-copy-ghosts img:nth-child(3) { right:0; bottom:-11px; width:35px; height:35px; animation-delay:-6.4s; }
.trade-card-visual:before { width:122px; height:94px; background:radial-gradient(circle,rgba(255,255,255,.16),rgba(40,241,126,.08) 40%,rgba(255,70,91,.035) 58%,transparent 74%); filter:blur(8px); }
.trade-card-visual:after { position:absolute; z-index:0; width:104px; height:74px; border-radius:50%; background:radial-gradient(ellipse,rgba(70,238,137,.095),rgba(255,255,255,.025) 46%,transparent 72%); content:""; filter:blur(2px); pointer-events:none; }
.trade-card-visual > svg { z-index:2; opacity:1; filter:saturate(1.28) contrast(1.13) drop-shadow(0 7px 8px rgba(0,0,0,.56)) drop-shadow(0 0 5px rgba(78,238,142,.13)); }
.trade-bars-3d { opacity:1; filter:drop-shadow(0 0 7px rgba(58,244,137,.38)); }
.trade-flight-line { opacity:1; stroke-width:3.05; stroke-dasharray:9 5; filter:drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 7px rgba(92,240,153,.58)); }
.trade-flight-arrow path { stroke-width:1.45; filter:drop-shadow(0 0 5px currentColor); }
@keyframes trade-copy-gift-pop {
  0%,7% { opacity:0; transform:translate3d(0,8px,0) scale(.58) rotate(-8deg); }
  14% { opacity:.26; transform:translate3d(0,0,0) scale(1) rotate(0); }
  25% { opacity:.2; transform:translate3d(3px,-3px,0) scale(1.06) rotate(4deg); }
  34%,100% { opacity:0; transform:translate3d(6px,-8px,0) scale(1.22) rotate(8deg); }
}
.low-power .trade-copy-ghosts img { animation:none; opacity:.16; }
@media (max-width:360px) { .trade-copy-ghosts img { width:32px; height:32px; }.trade-copy-ghosts img:nth-child(2),.trade-copy-ghosts img:nth-child(3) { width:30px; height:30px; } }

/* Trading card v7: floating market traces in otherwise empty background areas. */
.trade-card-market-rain { position:absolute; z-index:1; inset:0 43% 0 0; overflow:hidden; border-radius:inherit; pointer-events:none; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 83%,transparent 100%); mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 83%,transparent 100%); }
.trade-card-ambient-tick { position:absolute; left:var(--tick-left); top:var(--tick-top); display:flex; width:62px; flex-direction:column; align-items:flex-start; color:#65efa0; opacity:0; filter:drop-shadow(0 0 5px rgba(65,235,143,.27)); animation:trade-card-tick-flight 4.8s cubic-bezier(.2,.72,.25,1) forwards; will-change:transform,opacity; }
.trade-card-ambient-tick.is-down { color:#ff6474; filter:drop-shadow(0 0 5px rgba(255,77,99,.25)); }
.trade-card-ambient-tick b { position:relative; z-index:1; align-self:flex-end; margin:0 2px -2px 0; font:850 6px/1 Rubik,sans-serif; letter-spacing:.15px; text-shadow:0 1px 4px #000; }
.trade-card-ambient-tick svg { display:block; width:60px; height:20px; overflow:visible; }
.trade-card-ambient-tick path { fill:none; stroke:currentColor; stroke-width:1.45; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:78; stroke-dashoffset:78; animation:trade-card-tick-draw 1.25s .12s cubic-bezier(.2,.75,.2,1) forwards; }
@keyframes trade-card-tick-flight {
  0% { opacity:0; transform:translate3d(0,9px,0) scale(.84); }
  14% { opacity:.19; }
  38%,62% { opacity:.29; transform:translate3d(var(--tick-drift-mid),0,0) scale(1); }
  82% { opacity:.17; }
  100% { opacity:0; transform:translate3d(var(--tick-drift),-13px,0) scale(1.07); }
}
@keyframes trade-card-tick-draw { to { stroke-dashoffset:0; } }
.low-power .trade-card-market-rain { display:none; }
@media (max-width:360px) { .trade-card-market-rain { right:46%; }.trade-card-ambient-tick { width:55px; }.trade-card-ambient-tick svg { width:53px; } }

/* Trading card v8: NEW alert and a market-direction play arrow. */
.trade-card-title { display:inline-flex; align-self:flex-start; flex-direction:column; align-items:center; transform:translateY(-4px); }
.trade-new-alert { position:relative; z-index:3; left:20px; align-self:center; margin:0 0 6px; color:#f5f7f5; font:950 12px/1 Rubik,sans-serif; letter-spacing:1.55px; text-shadow:0 1px 7px #000,0 0 9px rgba(255,255,255,.24); transform-origin:50% 100%; animation:trade-new-alarm 3.6s ease-in-out infinite; }
.trade-new-alert:after { position:absolute; top:0; left:100%; display:inline; margin-left:1px; content:"!"; opacity:0; animation:trade-new-exclamation 3.6s ease-in-out infinite; }
.trade-card-badges { top:2px; right:7px; }
.trade-card-copy em { margin-left:8px; font-size:22px; line-height:1; letter-spacing:1.55px; }
.trade-card-copy em i { margin-left:5px; font-size:34px; line-height:.7; vertical-align:-4px; }
.trade-card-copy em i { display:inline-block; color:#57ef95; transform-origin:50% 50%; animation:trade-play-market-arrow 2.8s cubic-bezier(.35,.08,.25,1) infinite; }
@keyframes trade-new-alarm {
  0%,8%,47%,100% { color:#f5f7f5; transform:rotate(0) scale(1); }
  12% { color:#ff4d62; transform:rotate(0) scale(1.08); text-shadow:0 1px 7px #000,0 0 10px rgba(255,61,85,.72); }
  16% { color:#ff4d62; transform:rotate(-6deg) scale(1.08); }
  20% { color:#ff4d62; transform:rotate(6deg) scale(1.08); }
  24% { color:#ff4d62; transform:rotate(-5deg) scale(1.08); }
  28% { color:#ff4d62; transform:rotate(5deg) scale(1.08); }
  33%,39% { color:#ff4d62; transform:rotate(0) scale(1.05); text-shadow:0 1px 7px #000,0 0 10px rgba(255,61,85,.72); }
}
@keyframes trade-new-exclamation {
  0%,10%,44%,100% { opacity:0; transform:scale(.5); }
  12%,39% { opacity:1; transform:scale(1); }
}
@keyframes trade-play-market-arrow {
  0%,35%,100% { color:#45f58b; transform:translate3d(0,-1px,0) rotate(-42deg) scale(1.02); text-shadow:0 0 9px rgba(69,245,139,.88); }
  46% { color:#eef5f0; transform:translate3d(1px,0,0) rotate(0) scale(.94); text-shadow:0 0 5px rgba(255,255,255,.42); }
  58%,84% { color:#ff4d62; transform:translate3d(0,2px,0) rotate(42deg) scale(1.06); text-shadow:0 0 9px rgba(255,77,98,.88); }
  94% { color:#eef5f0; transform:translate3d(1px,0,0) rotate(0) scale(.94); }
}
.low-power .trade-new-alert,.low-power .trade-new-alert:after,.low-power .trade-card-copy em i { animation:none; }

/* Trading asset picker v2: desired-gift card and catalog sheet. */
.trade-asset-choice { width:176px; margin:0 0 12px; }
.trade-desired-gift { display:flex; width:100%; min-height:171px; flex-direction:column; gap:12px; padding:15px 13px 13px; border:1px solid rgba(255,255,255,.055); border-radius:18px; color:#f5f5f6; background:#202022; box-shadow:inset 0 1px rgba(255,255,255,.025),0 9px 21px rgba(0,0,0,.18); text-align:left; }
.trade-desired-gift > strong { font:850 14px/1.1 Rubik,sans-serif; letter-spacing:-.25px; }
.trade-desired-gift-slot { display:flex; min-height:111px; flex:1; flex-direction:column; align-items:center; justify-content:center; padding:9px 7px 8px; border:1px dashed #56565a; border-radius:17px; background:rgba(17,17,18,.24); transition:border-color .18s,background .18s,transform .18s; }
.trade-desired-gift:hover .trade-desired-gift-slot { border-color:#74747a; background:rgba(28,28,30,.58); transform:translateY(-1px); }
.trade-desired-gift:disabled { opacity:.52; cursor:not-allowed; }
.trade-desired-gift-media { display:grid; width:58px; height:58px; place-items:center; }
.trade-desired-gift-media > i { display:grid; width:29px; height:29px; place-items:center; border-radius:50%; color:#bbbcc1; background:#343438; font:500 20px/1 Arial,sans-serif; }
.trade-desired-gift-media .gift-static { width:56px; height:56px; filter:drop-shadow(0 6px 7px rgba(0,0,0,.42)); }
.trade-desired-gift-slot > b { overflow:hidden; max-width:100%; margin-top:2px; font:750 10px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.trade-desired-gift-slot > small { margin-top:4px; color:#86868d; font-size:7px; }
.trade-asset-modal { z-index:44; padding:0; background:rgba(0,0,0,.83); }
.trade-asset-card { width:min(100%,430px); height:min(82dvh,720px); max-height:calc(100dvh - 34px); padding:20px 11px 15px; overflow:hidden; border-color:#252529; border-radius:25px 25px 0 0; background:#080809; text-align:left; }
.trade-asset-card h2 { margin:1px 42px 17px; color:#f5f5f6; font:850 18px/1.1 Rubik,sans-serif; text-align:center; letter-spacing:-.35px; }
.trade-asset-card .modal-close { top:11px; right:12px; width:27px; height:27px; color:#f0f0f1; background:#29292c; font-size:21px; }
.trade-asset-sort { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 12px; }
.trade-asset-sort button { min-height:37px; padding:0 10px; border:1px solid transparent; border-radius:18px; color:#8d8d93; background:#202023; font:750 10px Rubik,sans-serif; }
.trade-asset-sort button.active { color:#fff; border-color:#466cff; background:linear-gradient(110deg,#2c61ff,#546fff); box-shadow:0 5px 16px rgba(53,93,255,.2); }
.trade-asset-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; height:calc(100% - 78px); overflow-y:auto; padding:0 1px 12px; scrollbar-width:thin; }
.trade-asset-option { position:relative; display:flex; min-width:0; min-height:128px; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; padding:20px 7px 8px; border:1px solid transparent; border-radius:15px; color:#f2f2f3; background:#202023; box-shadow:inset 0 1px rgba(255,255,255,.025); }
.trade-asset-option.active { border-color:#5475ff; background:linear-gradient(150deg,#272940,#202023 58%); box-shadow:inset 0 0 18px rgba(70,101,255,.12),0 0 0 1px rgba(76,110,255,.16); }
.trade-asset-option-price { position:absolute; top:7px; left:7px; padding:3px 6px; border-radius:8px; color:#f5f5f6; background:rgba(13,13,15,.88); font:750 8px/1 Rubik,sans-serif; }
.trade-asset-option-price::first-letter { color:#ffd653; }
.trade-asset-option-media { display:grid; width:72px; height:72px; place-items:center; }
.trade-asset-option-media .gift-static { width:68px; height:68px; filter:drop-shadow(0 7px 7px rgba(0,0,0,.43)); transition:transform .18s; }
.trade-asset-option:hover .gift-static { transform:scale(1.06); }
.trade-asset-option > b { overflow:hidden; width:100%; margin-top:4px; color:#a9a9ae; font:650 7px Rubik,sans-serif; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:360px) { .trade-asset-choice { width:164px; }.trade-desired-gift { min-height:162px; }.trade-asset-options { gap:7px; }.trade-asset-option { min-height:116px; }.trade-asset-option-media { width:62px; height:62px; }.trade-asset-option-media .gift-static { width:59px; height:59px; } }

/* Trading flow v3: choose on the chart, then stake, then direction. */
.trade-chart-stage > svg { position:relative; z-index:2; transition:filter .28s ease,opacity .28s ease; }
.trade-chart-gift-bg { position:absolute; z-index:1; inset:14px 72px 9px; display:grid; place-items:center; opacity:.3; filter:saturate(1.12) drop-shadow(0 0 18px rgba(144,255,61,.18)); pointer-events:none; animation:trade-chart-gift-breathe 3.2s ease-in-out infinite; }
.trade-chart-gift-bg .gift-static,.trade-chart-gift-bg .gift-animation { width:132px; height:132px; }
.trade-chart-gift-bg .gift-animation > img,.trade-chart-gift-bg .gift-animation > div { inset:0; width:100%; height:100%; }
.trade-chart-shell.awaiting-asset .trade-chart-stage > svg { opacity:.36; filter:blur(2.8px) saturate(.62); }
.trade-chart-shell.awaiting-asset .trade-chart-scan { opacity:.13; filter:blur(2px); }
.trade-chart-asset-overlay { position:absolute; z-index:5; top:50%; left:50%; display:flex; width:164px; min-height:122px; flex-direction:column; align-items:center; justify-content:center; padding:12px; border:1px dashed #5a5a60; border-radius:19px; color:#f2f2f4; background:rgba(17,17,19,.62); box-shadow:0 13px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.025); backdrop-filter:blur(3px); transform:translate(-50%,-50%); transition:opacity .2s,border-color .2s,background .2s; }
.trade-chart-asset-overlay > span { display:grid; width:35px; height:35px; place-items:center; margin-bottom:9px; border-radius:50%; color:#d0d0d5; background:#303035; font:500 24px/1 Arial,sans-serif; }
.trade-chart-asset-overlay > b { font:800 11px Rubik,sans-serif; }
.trade-chart-asset-overlay > small { margin-top:5px; color:#85858c; font-size:7px; }
.trade-chart-asset-overlay:hover { border-color:#777780; background:rgba(26,26,29,.76); }
.trade-chart-asset-overlay.is-selected { top:8px; right:9px; left:auto; display:grid; width:auto; min-height:0; grid-template-columns:22px auto; grid-template-rows:auto auto; column-gap:6px; padding:6px 8px; border-style:solid; border-color:rgba(255,255,255,.12); border-radius:11px; background:rgba(14,15,15,.72); backdrop-filter:blur(7px); transform:none; }
.trade-chart-asset-overlay.is-selected > span { grid-row:1/3; width:22px; height:22px; margin:0; color:#aaff63; background:#293326; font-size:13px; }
.trade-chart-asset-overlay.is-selected > b { align-self:end; font-size:7px; }.trade-chart-asset-overlay.is-selected > small { align-self:start; overflow:hidden; max-width:86px; margin:1px 0 0; font-size:6px; text-overflow:ellipsis; white-space:nowrap; }
.trade-chart-asset-overlay.is-selected:disabled { opacity:0; pointer-events:none; }
.trade-round-overlay { z-index:7; }
.trade-stake-picker { grid-template-columns:39px minmax(0,1fr) 25px; min-height:66px; margin-top:12px; border-color:#547737; background:linear-gradient(120deg,#263a20,#20251e); box-shadow:inset 0 1px rgba(255,255,255,.045),0 9px 20px rgba(0,0,0,.18); }
.trade-stake-picker #tradeStakeLabel { color:#f4fff0; font-size:14px; }
.trade-stake-picker #tradeStakeHint { color:#92a18b; font-size:7px; }
.trade-stake-picker:disabled { opacity:.5; }
.trade-direction-actions { margin-top:12px; }
@keyframes trade-chart-gift-breathe { 0%,100% { transform:translateY(3px) scale(.96); opacity:.25; } 50% { transform:translateY(-3px) scale(1.035); opacity:.34; } }
.low-power .trade-chart-gift-bg { animation:none; }
@media (max-width:360px) { .trade-chart-asset-overlay { width:150px; min-height:112px; }.trade-chart-gift-bg { inset:17px 62px 12px; }.trade-chart-gift-bg .gift-static,.trade-chart-gift-bg .gift-animation { width:116px; height:116px; } }

/* Trading controls v4: lightweight 3D arrows and the native animated Stars asset. */
.trade-stake-icon .trade-stake-star { width:40px; height:40px; overflow:visible; filter:drop-shadow(0 3px 7px rgba(255,190,35,.3)); }
.trade-stake-icon .trade-stake-star > img,.trade-stake-icon .trade-stake-star > .currency-lottie { inset:0; width:100%; height:100%; }
.trade-direction-actions button { grid-template-columns:49px 1fr; min-height:68px; padding:8px 11px 8px 8px; }
.trade-direction-actions button > .trade-direction-icon { position:relative; display:grid; grid-row:1/3; width:49px; height:49px; place-items:center; overflow:visible; border:0; border-radius:14px; background:radial-gradient(circle at 40% 35%,rgba(255,255,255,.16),transparent 55%); transform-style:preserve-3d; }
.trade-direction-icon svg { display:block; width:45px; height:45px; overflow:visible; filter:drop-shadow(0 7px 5px rgba(0,0,0,.42)); transform:translateZ(0); }
.trade-direction-icon path { stroke-linejoin:round; }
.trade-down .trade-arrow-face { fill:#ff5368; stroke:#ff8997; stroke-width:.7; }
.trade-down .trade-arrow-depth { fill:#8d2638; stroke:#c13a4e; stroke-width:.7; }
.trade-down .trade-arrow-shine { fill:rgba(255,225,229,.58); }
.trade-up .trade-arrow-face { fill:#45ed8b; stroke:#8affba; stroke-width:.7; }
.trade-up .trade-arrow-depth { fill:#187747; stroke:#27ac68; stroke-width:.7; }
.trade-up .trade-arrow-shine { fill:rgba(225,255,237,.62); }
.trade-down .trade-direction-icon { animation:trade-arrow-3d-down 1.75s cubic-bezier(.38,.05,.24,1) infinite; }
.trade-up .trade-direction-icon { animation:trade-arrow-3d-up 1.75s cubic-bezier(.38,.05,.24,1) infinite; }
.trade-direction-icon .trade-arrow-shine { transform-box:fill-box; transform-origin:center; animation:trade-arrow-shine 1.75s ease-in-out infinite; }
@keyframes trade-arrow-3d-down { 0%,100% { transform:perspective(90px) translateY(-2px) rotateX(-4deg) scale(.96); } 52% { transform:perspective(90px) translateY(3px) rotateX(8deg) scale(1.045); } }
@keyframes trade-arrow-3d-up { 0%,100% { transform:perspective(90px) translateY(2px) rotateX(7deg) scale(.96); } 52% { transform:perspective(90px) translateY(-3px) rotateX(-5deg) scale(1.045); } }
@keyframes trade-arrow-shine { 0%,100% { opacity:.35; transform:translateY(2px); } 50% { opacity:.88; transform:translateY(-2px); } }
.trade-game-card { contain:layout paint style; backface-visibility:hidden; transform:translateZ(0); }
.trade-card-visual,.trade-card-market-rain { transform:translateZ(0); }
.games-screen:not(.active) .trade-game-card * { animation-play-state:paused!important; }
.low-power .trade-direction-icon,.low-power .trade-direction-icon .trade-arrow-shine { animation:none; }
@media (pointer:coarse) {
  .trade-card-visual > svg { filter:saturate(1.24) contrast(1.1) drop-shadow(0 6px 7px rgba(0,0,0,.54)); }
  .trade-card-visual:before { filter:blur(6px); }
  .trade-card-gift { will-change:offset-distance,opacity; }
  .trade-copy-ghosts img,.trade-card-ambient-tick { will-change:auto; }
}
@media (max-width:360px) { .trade-direction-actions button { grid-template-columns:43px 1fr; }.trade-direction-actions button > .trade-direction-icon { width:43px; height:43px; }.trade-direction-icon svg { width:40px; height:40px; } }

/* Trading motion v5: one lightweight animated NFT slot and compositor-friendly charts. */
.trade-stake-icon .trade-stake-nft-frame { position:relative; display:grid; width:43px; height:43px; place-items:center; contain:layout paint; opacity:1; filter:drop-shadow(0 5px 7px rgba(0,0,0,.36)); transform:translateZ(0) scale(1); transition:opacity .15s ease,transform .15s ease,filter .15s ease; }
.trade-stake-icon .trade-stake-nft-frame.is-changing { opacity:.18; filter:drop-shadow(0 1px 2px rgba(0,0,0,.18)); transform:translateZ(0) scale(.78) rotate(-4deg); }
.trade-stake-nft-frame > .gift-static,.trade-stake-nft-frame > .gift-animation { width:41px; height:41px; }
.trade-stake-nft-frame .gift-animation > img,.trade-stake-nft-frame .gift-animation > div { inset:0; width:100%; height:100%; }
.trade-chart-shell,.trade-chart-stage,.trade-chart-stage > svg { backface-visibility:hidden; transform:translateZ(0); }
.trade-chart-stage { contain:layout paint style; }
.trade-chart-line,.trade-chart-area,.trade-chart-point { will-change:auto; }
.trade-chart-gift-bg { will-change:transform,opacity; backface-visibility:hidden; transform:translateZ(0); }
.trade-screen:not(.active) .trade-chart-scan,.trade-screen:not(.active) .trade-chart-gift-bg { animation-play-state:paused; }
@media (pointer:coarse) {
  .trade-chart-line { filter:drop-shadow(0 0 3px rgba(137,255,43,.42)); }
  .trade-chart-shell.is-down .trade-chart-line { filter:drop-shadow(0 0 3px rgba(255,73,91,.42)); }
  .trade-round-overlay { backdrop-filter:none; -webkit-backdrop-filter:none; background:rgba(15,18,14,.9); }
}
.low-power .trade-stake-nft-frame { transition:none; }

/* Trading chart v6: subtle candles keep the path market-like without extra DOM nodes. */
.trade-chart-candles { stroke:currentColor; stroke-width:.72; stroke-linejoin:round; fill:currentColor; opacity:.3; shape-rendering:geometricPrecision; pointer-events:none; }
.trade-chart-candles-up { color:#65e99d; }
.trade-chart-candles-down { color:#ff6679; }
.trade-chart-area { opacity:.72; }
.trade-chart-line { transition:stroke .18s ease; }
@media (pointer:coarse) {
  .trade-chart-candles { opacity:.27; shape-rendering:optimizeSpeed; }
}

/* Trading reward bundle v1. */
#prizeModal.is-trade-bundle .prize-modal { width:min(100%,420px); max-height:calc(100dvh - 34px); overflow-x:hidden; overflow-y:auto; border-color:#5f9630; background:radial-gradient(circle at 50% 13%,rgba(137,255,44,.18),transparent 29%),linear-gradient(155deg,#20281d,#171a17 68%); }
#prizeModal.is-trade-bundle .prize-modal h2 { margin-bottom:13px; font-size:29px; }
.trade-prize-bundle { display:grid; gap:10px; }
.trade-prize-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.trade-prize-card { position:relative; display:flex; min-width:0; min-height:151px; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; padding:10px 7px 9px; border:1px solid rgba(139,222,66,.35); border-radius:17px; background:radial-gradient(circle at 50% 37%,rgba(151,255,55,.12),transparent 53%),linear-gradient(150deg,#293323,#20251e); box-shadow:inset 0 1px rgba(255,255,255,.045),0 7px 16px rgba(0,0,0,.18); }
.trade-prize-card:before { position:absolute; inset:auto 13% -42px; height:68px; border-radius:50%; background:#8dff39; content:""; opacity:.08; filter:blur(19px); pointer-events:none; }
.trade-prize-media { position:relative; display:grid; width:82px; height:82px; place-items:center; filter:drop-shadow(0 8px 8px rgba(0,0,0,.38)); }
.trade-prize-media > .gift-static,.trade-prize-media > .gift-animation { width:80px; height:80px; }
.trade-prize-media .gift-animation > img,.trade-prize-media .gift-animation > div { inset:0; width:100%; height:100%; }
.trade-prize-card > b { overflow:hidden; width:100%; margin-top:4px; color:#f3f5f1; font:800 10px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.trade-prize-card > em { display:flex; align-items:center; justify-content:center; gap:3px; margin-top:5px; color:#b0ff68; font:800 10px Rubik,sans-serif; font-style:normal; }
.trade-prize-card > em .currency-icon { width:17px; height:17px; }
.trade-prize-card.is-stars { border-color:rgba(255,196,51,.38); background:radial-gradient(circle at 50% 37%,rgba(255,193,44,.15),transparent 54%),linear-gradient(150deg,#352f21,#24231e); }
.trade-prize-card.is-stars:before { background:#ffc339; }
.trade-prize-card.is-stars .trade-prize-media .currency-animation { width:76px; height:76px; }
.trade-prize-card.is-stars .trade-prize-media .currency-animation > img,.trade-prize-card.is-stars .trade-prize-media .currency-animation > .currency-lottie { inset:0; width:100%; height:100%; }
.trade-prize-card.is-stars > em { color:#ffd761; }
.trade-prize-total { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:10px 12px; border:1px solid rgba(255,255,255,.08); border-radius:14px; background:rgba(255,255,255,.035); text-align:left; }
.trade-prize-total > span { max-width:155px; color:#879181; font-size:8px; font-weight:750; line-height:1.35; }
.trade-prize-total > b { display:flex; align-items:center; color:#b1ff6a; font:850 13px Rubik,sans-serif; white-space:nowrap; }
.trade-prize-total .currency-icon { width:20px; height:20px; margin-left:3px; }
@media (max-width:360px) {
  #prizeModal.is-trade-bundle .prize-modal { padding-right:14px; padding-left:14px; }
  .trade-prize-card { min-height:139px; }
  .trade-prize-media { width:72px; height:72px; }
  .trade-prize-media > .gift-static,.trade-prize-media > .gift-animation { width:70px; height:70px; }
}

/* Crash */
.inventory-gift.is-locked { cursor:not-allowed; opacity:.76; transform:none; }
.inventory-lock { position:absolute; z-index:8; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:8px; background:rgba(12,15,12,.77); color:#e2e7dc; }
.inventory-lock svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.inventory-lock b { margin:0!important; font:800 9px/1.4 Rubik,sans-serif; text-align:center; }
.crash-stake-types { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:0 14px 10px; }
.crash-stake-types button { min-height:35px; border:1px solid #303038; border-radius:11px; color:#a5a5af; background:#161619; font:800 11px Rubik,sans-serif; }
.crash-stake-types button.active { border-color:#4b72ff; color:#fff; background:#263e82; }
.crash-stake-types button:disabled { opacity:.58; }
.crash-gift-picker { display:flex; align-items:center; gap:10px; margin:0 14px 10px; min-height:54px; padding:7px 12px; border:1px solid #33333b; border-radius:13px; color:#fff; background:#151518; text-align:left; }
.crash-gift-picker[hidden] { display:none; }
.crash-gift-picker > img { width:38px; height:38px; object-fit:contain; }
.crash-gift-picker > span { display:flex; flex:1; min-width:0; flex-direction:column; gap:3px; }
.crash-gift-picker b { overflow:hidden; font:800 12px Rubik,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.crash-gift-picker small,.crash-gift-note { color:#93939e; font-size:10px; line-height:1.5; }
.crash-gift-picker i { color:#b1b5c4; font-style:normal; font-size:21px; }
.crash-card-stars { position:absolute; z-index:1; inset:0 auto 0 0; width:60%; overflow:hidden; pointer-events:none; contain:layout paint style; }
.crash-card-stars svg { position:absolute; width:22px; height:22px; fill:none; stroke:#fff; stroke-width:1.25; stroke-linejoin:round; opacity:0; animation:crash-outline-star 7s ease-in-out infinite; }
.crash-card-stars svg:nth-child(1) { left:6%; top:12%; width:16px; height:16px; animation-delay:-1.4s; }
.crash-card-stars svg:nth-child(2) { left:42%; top:6%; width:26px; height:26px; animation-delay:-4.8s; }
.crash-card-stars svg:nth-child(3) { left:78%; top:29%; width:18px; height:18px; animation-delay:-2.9s; }
.crash-card-stars svg:nth-child(4) { left:14%; top:74%; width:19px; height:19px; animation-delay:-5.6s; }
.crash-card-stars svg:nth-child(5) { left:47%; top:69%; width:29px; height:29px; animation-delay:-.5s; }
.crash-card-stars svg:nth-child(6) { left:84%; top:78%; width:13px; height:13px; animation-delay:-3.7s; }
@keyframes crash-outline-star { 0%,100% { opacity:0; transform:translateY(3px) rotate(-7deg) scale(.88); } 40%,55% { opacity:.32; transform:translateY(0) rotate(4deg) scale(1); } 80% { opacity:0; transform:translateY(-3px) rotate(8deg) scale(.95); } }
.games-screen:not(.active) .crash-card-stars svg,body.page-hidden .crash-card-stars svg { animation-play-state:paused; }
body.low-power .crash-card-stars svg { animation:none; opacity:.17; }
@media (prefers-reduced-motion:reduce) { .crash-card-stars svg { animation:none; opacity:.17; } }
.crash-game-card { position:relative; display:block; width:100%; height:156px; margin-top:16px; overflow:hidden; border:1px solid rgba(152,255,61,.34); border-radius:25px; color:#fff; background:radial-gradient(circle at 77% 36%,rgba(255,105,45,.18),transparent 28%),radial-gradient(circle at 48% 110%,rgba(118,255,24,.16),transparent 42%),linear-gradient(135deg,#10150e 0,#080b08 52%,#13100d 100%); box-shadow:inset 0 1px rgba(255,255,255,.06),0 14px 32px rgba(0,0,0,.24); text-align:left; isolation:isolate; contain:layout paint style; }
.crash-game-card::after { position:absolute; z-index:0; inset:0; background:linear-gradient(95deg,rgba(5,7,5,.96) 0,rgba(5,7,5,.79) 40%,transparent 69%); content:""; }
.crash-card-grid { position:absolute; z-index:0; right:-12%; bottom:-73%; width:82%; height:165%; border-radius:50%; opacity:.3; background-image:linear-gradient(rgba(151,255,70,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(151,255,70,.22) 1px,transparent 1px); background-size:21px 21px; transform:perspective(160px) rotateX(61deg) rotateZ(-7deg); -webkit-mask-image:linear-gradient(to top,#000,transparent 80%); mask-image:linear-gradient(to top,#000,transparent 80%); }
.crash-card-copy { position:absolute; z-index:3; top:17px; bottom:14px; left:18px; display:flex; width:56%; flex-direction:column; align-items:flex-start; }
.crash-card-chip { display:inline-flex; align-items:center; height:20px; padding:0 8px; border:1px solid rgba(146,255,61,.24); border-radius:99px; color:#a9ff54; background:rgba(80,151,28,.12); font-size:7px; font-weight:800; letter-spacing:1px; }
.crash-card-copy strong { margin-top:8px; font:900 italic 29px/.9 Rubik,sans-serif; letter-spacing:-1.2px; text-shadow:0 0 22px rgba(147,255,61,.2); }
.crash-card-copy p { margin:8px 0 0; color:#b8beb5; font:800 8px/1.35 Manrope,sans-serif; letter-spacing:.35px; }
.crash-card-copy em { display:flex; align-items:center; gap:7px; margin-top:auto; color:#f7fff1; font:900 12px Rubik,sans-serif; letter-spacing:.4px; }
.crash-card-copy em i { display:grid; width:22px; height:22px; place-items:center; border-radius:50%; color:#071005; background:#9bff45; box-shadow:0 0 16px rgba(140,255,24,.34); font:900 19px/1 sans-serif; animation:crash-card-arrow 1.7s ease-in-out infinite; }
.crash-card-visual { position:absolute; z-index:2; top:4px; right:-4px; width:61%; height:148px; pointer-events:none; }
.crash-card-visual > svg { position:absolute; inset:27px 0 0; width:100%; height:118px; overflow:visible; }
.crash-card-visual > svg path { fill:none; stroke:url(#crashCardLine); stroke-width:2.2; stroke-linecap:round; stroke-dasharray:245; stroke-dashoffset:245; animation:crash-card-line 3.4s cubic-bezier(.2,.72,.25,1) infinite; }
.crash-card-visual > svg .crash-card-line-glow { stroke-width:9; opacity:.16; filter:blur(4px); }
.crash-card-rocket { position:absolute; z-index:3; top:9px; right:2px; display:grid; width:90px; height:90px; place-items:center; filter:drop-shadow(0 9px 9px rgba(0,0,0,.5)) drop-shadow(0 0 9px rgba(255,115,46,.22)); transform:rotate(17deg); animation:crash-card-fly 3.4s cubic-bezier(.2,.72,.25,1) infinite; }
.crash-card-rocket .gift-animation,.crash-card-rocket .gift-static { width:88px; height:88px; }
.crash-card-particle { position:absolute; z-index:2; width:4px; height:4px; border-radius:50%; background:#dfff67; box-shadow:0 0 8px #a6ff3b; animation:crash-card-particle 2.2s ease-out infinite; }.crash-card-particle.p1{right:93px;bottom:40px}.crash-card-particle.p2{right:59px;bottom:28px;animation-delay:.7s}.crash-card-particle.p3{right:119px;bottom:22px;animation-delay:1.3s}
.crash-screen { padding-bottom:32px; }.crash-back { margin-bottom:12px; }
.crash-heading { position:relative; display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:13px; }.crash-heading > div > span { display:flex; align-items:center; gap:6px; color:#a9ff53; font-size:8px; font-weight:900; letter-spacing:1.2px; }.crash-heading > div > span i { width:6px; height:6px; border-radius:50%; background:#8cff18; box-shadow:0 0 10px #8cff18; animation:live-pulse 1.3s ease-out infinite; }
.crash-heading h1 { margin:5px 0 0; font:900 italic 35px/.95 Rubik,sans-serif; letter-spacing:-1.8px; }.crash-heading p { margin:7px 0 0; color:#8e948b; font-size:10px; }
.crash-rules { position:relative; z-index:15; }.crash-rules summary { display:grid; width:27px; height:27px; place-items:center; border:1px solid #343a31; border-radius:50%; color:#899084; background:#1c211a; font-size:11px; list-style:none; cursor:pointer; }.crash-rules summary::-webkit-details-marker{display:none}.crash-rules[open] summary{color:#b8ff77;border-color:#607a4b}.crash-rules > div { position:absolute; top:34px; right:0; width:258px; padding:14px; border:1px solid #3d4836; border-radius:16px; color:#dfe4dc; background:rgba(20,24,18,.98); box-shadow:0 18px 42px rgba(0,0,0,.46); }.crash-rules b{font:800 14px Rubik,sans-serif}.crash-rules p{margin:8px 0;color:#b3b8b0;font-size:9px;line-height:1.5}.crash-rules small{display:block;color:#7f877b;font-size:8px;line-height:1.45}
.crash-history { display:flex; gap:6px; margin:0 -2px 12px; overflow:hidden; }.crash-history span { display:grid; min-width:47px; height:26px; place-items:center; border:1px solid #2f342d; border-radius:9px; color:#a9b0a5; background:#1c1f1b; font:800 9px Rubik,sans-serif; }.crash-history span.mid{color:#bcff75;border-color:#405a31;background:#1d2818}.crash-history span.high{color:#ffe65c;border-color:#5c5327;background:#2a2717}.crash-history span.hot{color:#ff795f;border-color:#6a352d;background:#2c1b18}
.crash-machine { position:relative; height:344px; overflow:hidden; border:1px solid rgba(145,255,58,.31); border-radius:27px; background:radial-gradient(circle at 74% 32%,rgba(92,255,49,.1),transparent 28%),radial-gradient(circle at 46% 110%,rgba(126,255,33,.1),transparent 44%),linear-gradient(180deg,#070a07,#0a0d09 60%,#10140e); box-shadow:inset 0 1px rgba(255,255,255,.045),0 18px 38px rgba(0,0,0,.29); isolation:isolate; contain:layout paint style; }
.crash-machine::before { position:absolute; inset:0; z-index:0; background:linear-gradient(110deg,transparent 0,rgba(163,255,78,.025) 45%,transparent 70%); content:""; animation:crash-sheen 5s linear infinite; }.crash-machine.crashed { border-color:rgba(255,75,66,.55); background:radial-gradient(circle at 74% 30%,rgba(255,54,43,.14),transparent 31%),linear-gradient(180deg,#0d0707,#110a09 64%,#120d0b); animation:crash-hit .42s ease both; }.crash-machine.cashed { border-color:rgba(174,255,87,.7); box-shadow:0 0 30px rgba(136,255,35,.12),inset 0 1px rgba(255,255,255,.06); }
.crash-space { position:absolute; z-index:0; inset:0; opacity:.65; }.crash-space i { position:absolute; width:2px; height:2px; border-radius:50%; background:#d8ffbe; box-shadow:0 0 7px #9aff45; animation:crash-star 2.2s ease-in-out infinite; }.crash-space i:nth-child(1){left:10%;top:18%}.crash-space i:nth-child(2){left:27%;top:39%;animation-delay:.4s}.crash-space i:nth-child(3){left:52%;top:14%;animation-delay:1s}.crash-space i:nth-child(4){left:78%;top:21%;animation-delay:1.4s}.crash-space i:nth-child(5){left:91%;top:46%;animation-delay:.8s}.crash-space i:nth-child(6){left:17%;top:69%;animation-delay:1.8s}.crash-space i:nth-child(7){left:62%;top:76%;animation-delay:.2s}.crash-space i:nth-child(8){left:87%;top:83%;animation-delay:1.2s}
#crashCanvas { position:absolute; z-index:1; inset:0; width:100%; height:100%; will-change:contents; }.crash-multiplier { position:absolute; z-index:5; top:27px; left:25px; color:#a8ff4c; font:900 43px/.9 Rubik,sans-serif; letter-spacing:-2.2px; text-shadow:0 0 12px rgba(123,255,39,.47),0 0 32px rgba(123,255,39,.2); transition:color .2s,text-shadow .2s; }.crash-machine.crashed .crash-multiplier { color:#ff5c4e; text-shadow:0 0 14px rgba(255,67,52,.55),0 0 35px rgba(255,45,37,.24); }
.crash-countdown { position:absolute; z-index:6; top:50%; left:50%; display:grid; width:126px; height:126px; place-items:center; border-radius:50%; background:radial-gradient(circle,#171e13 0,#0d120b 66%,transparent 68%); transform:translate(-50%,-50%); transition:opacity .28s,transform .28s; }.crash-countdown[hidden]{display:grid;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.82)}.crash-countdown-ring { position:absolute; inset:0; border-radius:50%; background:conic-gradient(#95ff3d calc(var(--crash-progress,1)*1turn),rgba(255,255,255,.07) 0); -webkit-mask:radial-gradient(circle,transparent 60%,#000 61%); mask:radial-gradient(circle,transparent 60%,#000 61%); filter:drop-shadow(0 0 8px rgba(140,255,24,.25)); }.crash-countdown b { margin-top:-4px; color:#fff; font:900 28px Rubik,sans-serif; letter-spacing:-1px; }.crash-countdown small { position:absolute; top:77px; color:#7f887a; font-size:7px; font-weight:900; letter-spacing:1px; }
.crash-rocket { position:absolute; z-index:4; left:0; top:0; display:grid; width:96px; height:96px; place-items:center; opacity:0; filter:drop-shadow(0 10px 8px rgba(0,0,0,.48)) drop-shadow(0 0 12px rgba(255,112,43,.25)); transform:translate3d(var(--rocket-x,20px),var(--rocket-y,260px),0) rotate(18deg) scale(.75); transform-origin:center; will-change:transform; transition:opacity .25s; }.crash-machine.flying .crash-rocket,.crash-machine.crashed .crash-rocket{opacity:1}.crash-rocket .gift-animation,.crash-rocket .gift-static{width:94px;height:94px}.crash-machine.crashed .crash-rocket{animation:crash-rocket-out .5s ease-in forwards}
.crash-flight-status { position:absolute; z-index:6; right:17px; bottom:14px; padding:7px 10px; border:1px solid #343b30; border-radius:99px; color:#929a8e; background:rgba(15,19,13,.78); font-size:8px; font-weight:800; letter-spacing:.4px; backdrop-filter:blur(7px); }.crash-machine.flying .crash-flight-status{color:#bbff78;border-color:#466332}.crash-machine.crashed .crash-flight-status{color:#ff8072;border-color:#6c3831}
.crash-burst { position:absolute; z-index:7; left:var(--burst-x,75%); top:var(--burst-y,28%); width:0; height:0; opacity:0; pointer-events:none; }.crash-machine.crashed .crash-burst{opacity:1}.crash-burst i{position:absolute;width:7px;height:3px;border-radius:99px;background:#ff654d;box-shadow:0 0 9px #ff4a32;transform-origin:-3px center;animation:crash-spark .62s ease-out forwards}.crash-burst i:nth-child(1){--a:0deg}.crash-burst i:nth-child(2){--a:45deg}.crash-burst i:nth-child(3){--a:90deg}.crash-burst i:nth-child(4){--a:135deg}.crash-burst i:nth-child(5){--a:180deg}.crash-burst i:nth-child(6){--a:225deg}.crash-burst i:nth-child(7){--a:270deg}.crash-burst i:nth-child(8){--a:315deg}
.crash-proof { display:flex; min-width:0; justify-content:space-between; gap:8px; margin:8px 4px 13px; color:#687064; font-size:7px; letter-spacing:.45px; }.crash-proof span{white-space:nowrap}.crash-proof code{overflow:hidden;font:500 7px monospace;text-overflow:ellipsis;white-space:nowrap}
.crash-bet-panel { padding:14px; border:1px solid #30372c; border-radius:22px; background:linear-gradient(145deg,#1e231b,#191c18); box-shadow:inset 0 1px rgba(255,255,255,.035); }.crash-amount { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#858d81; font-size:8px; font-weight:900; letter-spacing:.8px; }.crash-amount > span:last-child { display:flex; width:158px; height:42px; align-items:center; border:1px solid #3a4335; border-radius:13px; background:#121510; }.crash-amount input { min-width:0; width:100%; padding:0 0 0 12px; border:0; outline:0; color:#fff; background:transparent; font:800 16px Rubik,sans-serif; }.crash-amount b { display:grid; width:38px; height:100%; place-items:center; }.crash-amount .currency-icon{width:21px;height:21px}
.crash-presets { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin:10px 0; }.crash-presets button{height:31px;border:1px solid #343b31;border-radius:10px;color:#a4aaa0;background:#242824;font-size:8px;font-weight:900}.crash-presets button:active{color:#baff7c;border-color:#628a42;background:#27361f;transform:scale(.96)}
.crash-action { display:flex; width:100%; min-height:58px; align-items:center; justify-content:space-between; padding:0 17px; border-radius:17px; color:#081004; background:linear-gradient(112deg,#8cff18,#b8ff56); box-shadow:inset 0 1px rgba(255,255,255,.52),0 10px 23px rgba(111,255,19,.16); font:900 15px Rubik,sans-serif; transition:transform .12s,filter .2s,background .2s; }.crash-action b{font-size:11px}.crash-action:not(:disabled):active{transform:scale(.985)}.crash-action.cashout{color:#fff;background:linear-gradient(112deg,#ff7a35,#ff3e39);box-shadow:inset 0 1px rgba(255,255,255,.28),0 10px 26px rgba(255,63,43,.2);animation:crash-cashout-pulse 1s ease-in-out infinite}.crash-action.placed,.crash-action:disabled{color:#788074;background:#292e27;box-shadow:none;cursor:default}.crash-message { min-height:14px; margin:9px 2px 0; color:#7d8578; font-size:8px; text-align:center; }.crash-message.success{color:#a8ff5c}.crash-message.error{color:#ff7062}
.crash-players { margin-top:13px; padding:13px; border:1px solid #2d322b; border-radius:20px; background:#191c18; }.crash-players-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 10px;border-bottom:1px solid #292e27}.crash-players-head>div{display:flex;align-items:center;gap:7px}.crash-players-head b{font-size:8px;letter-spacing:.7px}.crash-players-head em{color:#aaff59;font:800 9px Rubik,sans-serif}.crash-player-list{display:grid;gap:5px;margin-top:8px}.crash-player-list>p{margin:8px;color:#70776d;font-size:9px;text-align:center}.crash-player{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:38px;padding:4px 6px;border-radius:11px;background:#20241f}.crash-player .player-avatar{width:28px;height:28px}.crash-player>span{overflow:hidden}.crash-player strong{display:block;overflow:hidden;color:#d9ddd6;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.crash-player small{display:block;margin-top:2px;color:#737b70;font-size:7px}.crash-player>em{color:#dce2d8;font:800 9px Rubik,sans-serif}.crash-player.cashed>em{color:#aaff5e}.crash-player.lost>em{color:#ff7065}
body.low-power .crash-card-visual > svg path,body.low-power .crash-card-rocket,body.low-power .crash-card-particle,body.low-power .crash-space i,body.low-power .crash-machine::before,body.low-power .crash-action.cashout{animation:none!important}.crash-screen:not(.active) .crash-rocket,.crash-screen:not(.active) #crashCanvas{visibility:hidden}
@keyframes crash-card-line{0%,12%{stroke-dashoffset:245;opacity:.35}68%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:-50;opacity:0}}@keyframes crash-card-fly{0%,12%{transform:translate(-88px,63px) rotate(3deg) scale(.7);opacity:0}24%{opacity:1}68%,84%{transform:translate(0,0) rotate(17deg) scale(1);opacity:1}100%{transform:translate(18px,-12px) rotate(22deg) scale(.9);opacity:0}}@keyframes crash-card-particle{0%{transform:translate(0,0) scale(.2);opacity:0}25%{opacity:.8}100%{transform:translate(-38px,23px) scale(1.3);opacity:0}}@keyframes crash-card-arrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}@keyframes crash-star{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.5)}}@keyframes crash-sheen{from{transform:translateX(-85%)}to{transform:translateX(85%)}}@keyframes crash-hit{0%{transform:translate(0)}22%{transform:translate(-3px,2px)}45%{transform:translate(3px,-2px)}70%{transform:translate(-2px,-1px)}100%{transform:translate(0)}}@keyframes crash-rocket-out{to{opacity:0;transform:translate3d(calc(var(--rocket-x) + 42px),calc(var(--rocket-y) - 30px),0) rotate(44deg) scale(.45)}}@keyframes crash-spark{from{transform:rotate(var(--a)) translateX(0) scale(.4);opacity:1}to{transform:rotate(var(--a)) translateX(39px) scale(1.2);opacity:0}}@keyframes crash-cashout-pulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.14)}}
@media (max-width:390px){.crash-game-card{height:148px}.crash-card-copy{left:15px}.crash-card-copy strong{font-size:26px}.crash-card-visual{right:-11px;width:62%;height:140px}.crash-card-rocket{width:82px;height:82px}.crash-card-rocket .gift-animation,.crash-card-rocket .gift-static{width:80px;height:80px}.crash-machine{height:318px}.crash-multiplier{top:23px;left:20px;font-size:38px}.crash-rocket{width:84px;height:84px}.crash-rocket .gift-animation,.crash-rocket .gift-static{width:82px;height:82px}.crash-amount>span:last-child{width:145px}}

/* Crash polish v2: a single branded ship, chart bars and a complete impact/result scene. */
.crash-card-visual > svg { inset:25px 4px 0 auto; width:83%; height:111px; }
.crash-card-bars rect { fill:url(#crashCardBars); opacity:.62; transform-box:fill-box; transform-origin:center bottom; animation:crash-card-bar-rise 3.5s cubic-bezier(.22,.75,.2,1) infinite; }
.crash-card-bars rect:nth-child(2){animation-delay:.06s}.crash-card-bars rect:nth-child(3){animation-delay:.12s}.crash-card-bars rect:nth-child(4){animation-delay:.18s}.crash-card-bars rect:nth-child(5){animation-delay:.24s}.crash-card-bars rect:nth-child(6){animation-delay:.3s}
.crash-card-dots circle { fill:#e9ffaf; filter:drop-shadow(0 0 4px #9fff3b); animation:crash-card-dot-rise 3.5s ease-in-out infinite; }
.crash-card-dots circle:nth-child(2){animation-delay:.06s}.crash-card-dots circle:nth-child(3){animation-delay:.12s}.crash-card-dots circle:nth-child(4){animation-delay:.18s}.crash-card-dots circle:nth-child(5){animation-delay:.24s}.crash-card-dots circle:nth-child(6){animation-delay:.3s}
.crash-card-rocket { top:6px; right:-9px; width:114px; height:86px; filter:drop-shadow(0 11px 9px rgba(0,0,0,.56)) drop-shadow(0 0 13px rgba(145,255,51,.2)); transform:rotate(-16deg); animation:crash-card-ship-flight 3.5s cubic-bezier(.2,.72,.24,1) infinite; }
.crash-card-rocket .crash-ship-svg { width:114px; height:86px; }
.crash-ship-svg { display:block; width:100%; height:100%; overflow:visible; }
.crash-ship-flame { transform-box:fill-box; transform-origin:right center; animation:crash-flame-thrust .14s ease-in-out infinite alternate; }
.crash-flame-core { transform-box:fill-box; transform-origin:right center; animation:crash-flame-core .1s ease-in-out infinite alternate; }
.crash-ship-pilot { transform-box:fill-box; transform-origin:center; animation:crash-pilot-bob 1.25s ease-in-out infinite; }
.crash-ship-glint { animation:crash-glint 1.8s ease-in-out infinite; }
.ship-paused,.ship-paused * { animation-play-state:paused!important; }

.crash-machine { background:radial-gradient(circle at 78% 25%,rgba(101,255,34,.11),transparent 25%),radial-gradient(circle at 20% 95%,rgba(255,149,41,.055),transparent 34%),linear-gradient(180deg,#050705,#080b07 58%,#0d120b); }
.crash-machine::before { background:linear-gradient(112deg,transparent 0,rgba(182,255,109,.035) 46%,transparent 69%); }
.crash-machine::after { position:absolute; z-index:8; inset:0; border-radius:inherit; background:radial-gradient(circle at var(--burst-x,70%) var(--burst-y,32%),rgba(255,255,213,.98) 0,rgba(255,121,44,.74) 7%,rgba(255,45,38,.22) 22%,transparent 48%); content:""; opacity:0; pointer-events:none; }
.crash-machine.crashed::after { animation:crash-screen-flash .72s ease-out both; }
.crash-machine.launching { animation:crash-launch-rumble .54s ease-out both; }
.crash-machine.crashed { animation:crash-impact-shake .62s cubic-bezier(.36,.07,.19,.97) both; }

.crash-rocket { width:118px; height:86px; filter:drop-shadow(0 12px 9px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(138,255,46,.2)); transform:translate3d(var(--rocket-x,20px),var(--rocket-y,260px),0) rotate(-18deg) scale(.82); }
.crash-rocket .crash-ship-svg { width:118px; height:86px; animation:crash-ship-hover 1.45s ease-in-out infinite; }
.crash-machine.launching .crash-rocket .crash-ship-svg { animation:crash-ship-launch .72s cubic-bezier(.16,.82,.28,1) both; }
.crash-machine.crashed .crash-rocket { opacity:1; animation:crash-ship-detonate .54s cubic-bezier(.2,.7,.3,1) .08s forwards; }
.crash-machine.crashed .crash-multiplier { animation:crash-multiplier-away .28s ease-out .12s both; }
.crash-machine.crashed .crash-flight-status { opacity:0; transition:opacity .2s; }

.crash-burst::before,.crash-burst::after { position:absolute; top:0; left:0; width:22px; height:22px; border-radius:50%; content:""; opacity:0; transform:translate(-50%,-50%) scale(.1); }
.crash-burst::before { background:radial-gradient(circle,#fff 0,#fff6a2 19%,#ff8c28 38%,#ff3a2f 59%,transparent 72%); box-shadow:0 0 24px #ff652f,0 0 54px rgba(255,51,36,.76); }
.crash-burst::after { border:3px solid rgba(255,218,119,.92); box-shadow:0 0 18px rgba(255,91,41,.8),inset 0 0 14px rgba(255,91,41,.65); }
.crash-machine.crashed .crash-burst::before { animation:crash-core-burst .72s cubic-bezier(.15,.72,.22,1) both; }
.crash-machine.crashed .crash-burst::after { animation:crash-shockwave .9s cubic-bezier(.12,.65,.22,1) both; }
.crash-burst i { width:12px; height:4px; background:linear-gradient(90deg,#fff59b,#ff653e); box-shadow:0 0 10px #ff5a32; animation:crash-spark-v2 .92s cubic-bezier(.13,.66,.22,1) forwards; }
.crash-burst i:nth-child(2n){width:7px;background:#dfff68;box-shadow:0 0 9px #97ff31}.crash-burst i:nth-child(3n){height:7px;width:7px;border-radius:2px;background:#ffdc4d}
.crash-burst i:nth-child(1){--a:0deg;--d:52px}.crash-burst i:nth-child(2){--a:24deg;--d:69px}.crash-burst i:nth-child(3){--a:48deg;--d:45px}.crash-burst i:nth-child(4){--a:72deg;--d:74px}.crash-burst i:nth-child(5){--a:96deg;--d:58px}.crash-burst i:nth-child(6){--a:120deg;--d:78px}.crash-burst i:nth-child(7){--a:144deg;--d:48px}.crash-burst i:nth-child(8){--a:168deg;--d:71px}.crash-burst i:nth-child(9){--a:192deg;--d:56px}.crash-burst i:nth-child(10){--a:216deg;--d:76px}.crash-burst i:nth-child(11){--a:240deg;--d:51px}.crash-burst i:nth-child(12){--a:264deg;--d:68px}.crash-burst i:nth-child(13){--a:288deg;--d:47px}.crash-burst i:nth-child(14){--a:312deg;--d:79px}.crash-burst i:nth-child(15){--a:336deg;--d:59px}.crash-burst i:nth-child(16){--a:350deg;--d:72px}

.crash-impact-word { position:absolute; z-index:10; top:45%; left:50%; color:#fff6d2; font:950 italic 37px/.85 Rubik,sans-serif; letter-spacing:-2px; opacity:0; pointer-events:none; text-shadow:0 0 8px #fff,0 0 22px #ff6a37,0 4px 0 #a72b22; transform:translate(-50%,-50%) rotate(-5deg) scale(.2); white-space:nowrap; }
.crash-machine.crashed .crash-impact-word { animation:crash-impact-word .82s cubic-bezier(.17,.78,.22,1) .08s both; }
.crash-result { position:absolute; z-index:9; top:50%; left:50%; display:flex; width:82%; flex-direction:column; align-items:center; color:#fff; opacity:0; pointer-events:none; transform:translate(-50%,-42%) scale(.86); }
.crash-result[hidden] { display:flex; visibility:hidden; }
.crash-machine.crashed .crash-result:not([hidden]) { visibility:visible; animation:crash-result-in .52s cubic-bezier(.16,.8,.3,1) .7s both; }
.crash-result span { color:#ff8f72; font-size:8px; font-weight:900; letter-spacing:1.6px; }
.crash-result strong { margin-top:7px; color:#ff5b46; font:950 54px/.9 Rubik,sans-serif; letter-spacing:-3px; text-shadow:0 0 14px rgba(255,69,48,.55),0 0 36px rgba(255,48,39,.28); }
.crash-result small { margin-top:13px; padding:7px 11px; border:1px solid rgba(255,126,91,.2); border-radius:99px; color:#d2b9b1; background:rgba(25,12,10,.58); font-size:8px; font-weight:750; backdrop-filter:blur(7px); }

@keyframes crash-card-bar-rise{0%,8%{transform:scaleY(.08);opacity:.1}54%,84%{transform:scaleY(1);opacity:.68}100%{transform:scaleY(.45);opacity:.18}}
@keyframes crash-card-dot-rise{0%,8%{opacity:0;transform:translateY(8px) scale(.3)}56%,84%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-5px) scale(.5)}}
@keyframes crash-card-ship-flight{0%,9%{opacity:0;transform:translate(-81px,59px) rotate(-3deg) scale(.62)}25%{opacity:1}58%,83%{opacity:1;transform:translate(0,0) rotate(-16deg) scale(1)}100%{opacity:0;transform:translate(19px,-13px) rotate(-22deg) scale(.86)}}
@keyframes crash-flame-thrust{from{transform:scaleX(.78) scaleY(.86);opacity:.78}to{transform:scaleX(1.16) scaleY(1.06);opacity:1}}
@keyframes crash-flame-core{from{transform:scaleX(.7)}to{transform:scaleX(1.12)}}
@keyframes crash-pilot-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-1.6px) rotate(1deg)}}
@keyframes crash-glint{0%,100%{opacity:.3;transform:translateX(-2px)}50%{opacity:.82;transform:translateX(3px)}}
@keyframes crash-ship-hover{0%,100%{transform:translate3d(0,0,0) rotate(-.7deg)}50%{transform:translate3d(0,-2px,0) rotate(.8deg)}}
@keyframes crash-ship-launch{0%{transform:translate3d(-22px,18px,0) rotate(8deg) scale(.62);filter:brightness(1.8);opacity:0}42%{opacity:1}100%{transform:translate3d(0,0,0) rotate(0) scale(1);filter:brightness(1);opacity:1}}
@keyframes crash-launch-rumble{0%,100%{transform:translate(0)}22%{transform:translate(-1px,1px)}48%{transform:translate(1px,0)}72%{transform:translate(0,-1px)}}
@keyframes crash-impact-shake{0%,100%{transform:translate(0)}12%{transform:translate(-5px,2px)}25%{transform:translate(6px,-4px)}39%{transform:translate(-5px,-1px)}55%{transform:translate(4px,3px)}72%{transform:translate(-2px,1px)}86%{transform:translate(1px,-1px)}}
@keyframes crash-screen-flash{0%{opacity:0}12%{opacity:1}35%{opacity:.7}100%{opacity:0}}
@keyframes crash-ship-detonate{0%{opacity:1;transform:translate3d(var(--rocket-x),var(--rocket-y),0) rotate(-18deg) scale(.82);filter:brightness(1)}35%{opacity:1;transform:translate3d(var(--rocket-x),var(--rocket-y),0) rotate(-23deg) scale(1.12);filter:brightness(3)}100%{opacity:0;transform:translate3d(var(--rocket-x),var(--rocket-y),0) rotate(14deg) scale(.08);filter:brightness(5)}}
@keyframes crash-multiplier-away{to{opacity:0;transform:translateY(-7px) scale(.92)}}
@keyframes crash-core-burst{0%{opacity:0;transform:translate(-50%,-50%) scale(.1)}18%{opacity:1;transform:translate(-50%,-50%) scale(3.6)}52%{opacity:.95;transform:translate(-50%,-50%) scale(2.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(6)}}
@keyframes crash-shockwave{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}24%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(8.5);border-width:1px}}
@keyframes crash-spark-v2{0%{opacity:0;transform:rotate(var(--a)) translateX(0) scale(.2)}12%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--d)) rotate(160deg) scale(.8)}}
@keyframes crash-impact-word{0%{opacity:0;transform:translate(-50%,-50%) rotate(-8deg) scale(.2)}28%{opacity:1;transform:translate(-50%,-50%) rotate(3deg) scale(1.18)}58%{opacity:1;transform:translate(-50%,-50%) rotate(-2deg) scale(1)}100%{opacity:0;transform:translate(-50%,-63%) rotate(1deg) scale(.9)}}
@keyframes crash-result-in{from{opacity:0;transform:translate(-50%,-42%) scale(.86);filter:blur(5px)}to{opacity:1;transform:translate(-50%,-50%) scale(1);filter:blur(0)}}

body.low-power .crash-card-bars rect,body.low-power .crash-card-dots circle,body.low-power .crash-ship-flame,body.low-power .crash-flame-core,body.low-power .crash-ship-pilot,body.low-power .crash-ship-glint,body.low-power .crash-rocket .crash-ship-svg { animation:none!important; }
@media (max-width:390px){.crash-card-rocket{width:105px;height:79px}.crash-card-rocket .crash-ship-svg{width:105px;height:79px}.crash-rocket{width:105px;height:78px}.crash-rocket .crash-ship-svg{width:105px;height:78px}.crash-result strong{font-size:49px}.crash-impact-word{font-size:33px}}

/* Crash reference match v3: purple preview, black perspective arena and carrot-bunny ship. */
.games-screen.active { display:flex; flex-direction:column; }
.game-card-deck { display:flex; flex-direction:column; contain:layout style; }
.game-card-paused,.game-card-paused::before,.game-card-paused::after,
.game-card-paused *,.game-card-paused *::before,.game-card-paused *::after { animation-play-state:paused!important; }
.game-card-motion-layer { position:absolute; inset:0; opacity:0; pointer-events:none; }
.game-card-motion-layer > video,.game-card-motion-layer > svg { display:block; width:100%; height:100%; object-fit:contain; }
.game-clip-ready > img { opacity:0; }
.game-clip-ready > .game-card-motion-layer { opacity:1; }
.arena-card-duck > .game-card-motion-layer { inset:2px; }
.games-screen .trade-game-card { order:2; }
.games-screen .crash-game-card { order:1; }
.crash-game-card {
  height:128px;
  border:1px solid rgba(255,143,245,.35);
  border-radius:20px;
  background:
    radial-gradient(circle at 81% 18%,rgba(255,179,91,.18),transparent 25%),
    radial-gradient(circle at 4% 105%,rgba(255,29,177,.24),transparent 46%),
    linear-gradient(115deg,#6b246d 0%,#8c3384 50%,#5e275f 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 10px 26px rgba(72,0,70,.25);
}
.crash-game-card::after { background:linear-gradient(95deg,rgba(79,17,83,.45),transparent 70%); }
.crash-card-grid {
  right:-4%;
  bottom:-96%;
  width:92%;
  height:195%;
  opacity:.22;
  background-image:linear-gradient(rgba(255,210,249,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,210,249,.25) 1px,transparent 1px);
  background-size:19px 19px;
}
.crash-card-copy { top:13px; bottom:12px; left:13px; width:61%; }
.crash-card-chip {
  height:23px;
  padding:0 8px;
  border:0;
  color:#f8def6;
  background:rgba(255,255,255,.15);
  font-size:9px;
  letter-spacing:.25px;
  pointer-events:auto;
  cursor:pointer;
}
.crash-card-chip:hover,.crash-card-chip:focus-visible { color:#fff; background:rgba(255,255,255,.23); outline:none; }
.crash-card-copy strong { margin-top:8px; color:#fff; font-size:24px; letter-spacing:-.9px; text-shadow:0 2px 7px rgba(42,0,43,.4); }
.crash-card-copy p { max-width:205px; margin-top:6px; color:#ffd635; font-size:9px; line-height:1.18; letter-spacing:.15px; white-space:nowrap; }
.crash-card-copy em { display:none; }
.crash-card-visual { top:0; right:-2px; width:60%; height:128px; }
.crash-card-visual > svg { inset:30px -2px 0 auto; width:100%; height:103px; }
.crash-card-visual > svg path { stroke-width:1.7; }
.crash-card-visual > svg .crash-card-line-glow { stroke-width:7; opacity:.25; }
.crash-card-rocket {
  top:0;
  right:14px;
  width:130px;
  height:101px;
  filter:drop-shadow(0 7px 6px rgba(35,0,31,.48)) drop-shadow(0 0 8px rgba(255,158,42,.35));
  animation:crash-reference-card-flight 3.8s cubic-bezier(.2,.72,.24,1) infinite;
}
.crash-card-rocket .crash-ship-svg { position:static; inset:auto; width:130px; height:101px; overflow:visible; }
.crash-card-particle { background:#fff0ad; box-shadow:0 0 7px #fff; }
.crash-carrot-leaves { transform-box:fill-box; transform-origin:right center; animation:crash-carrot-leaves .52s ease-in-out infinite alternate; }
.crash-carrot-cuts { animation:crash-carrot-glow 1.4s ease-in-out infinite; }
.crash-ship-tilt-root { transform-box:fill-box; transform-origin:center; }
.crash-ship-depth-shadow { transform-box:fill-box; transform-origin:center; animation:crash-depth-shadow 1.25s ease-in-out infinite; }
.crash-glass-shine { stroke-dasharray:38 74; animation:crash-glass-sweep 2.2s ease-in-out infinite; }
.crash-ship-body-highlight { animation:crash-body-gloss 1.7s ease-in-out infinite; }
.crash-bunny-head { filter:drop-shadow(0 3px 2px rgba(35,28,39,.34)); }

body.crash-game-active { background:#000; }
body.crash-game-active .app-shell {
  max-width:430px;
  padding:0 0 calc(25px + env(safe-area-inset-bottom));
  background:#000;
  box-shadow:none;
}
body.crash-game-active .app-shell::before,
body.crash-game-active .wallet-panel,
body.crash-game-active .global-live-row,
body.crash-game-active .bottom-nav { display:none; }
body.crash-game-active #crashScreen {
  min-height:100dvh;
  padding:calc(10px + env(safe-area-inset-top)) 0 28px;
  background:#000;
}
.crash-screen .crash-back { margin:0 16px 8px; color:#a3a3aa; font-size:11px; }
.crash-heading { margin:0; padding:0 16px 10px; }
.crash-heading > div > span { color:#c9c9d1; }
.crash-heading > div > span i { background:#ff4ba6; box-shadow:0 0 10px #ff3a9d; }
.crash-heading h1 { margin-top:3px; color:#fff; font-size:27px; text-transform:uppercase; }
.crash-heading p { margin-top:4px; color:#898990; font-size:9px; }
.crash-rules summary { border-color:#35353a; color:#b9b9c0; background:#17171a; }
.crash-machine {
  height:350px;
  border:0;
  border-radius:0;
  background:
    radial-gradient(circle at 72% 38%,rgba(255,188,44,.055),transparent 28%),
    linear-gradient(#000,#020202);
  box-shadow:none;
}
.crash-machine::before { display:none; }
.crash-machine.crashed {
  border:0;
  background:radial-gradient(circle at 50% 45%,rgba(255,50,31,.075),transparent 28%),#000;
}
.crash-space { opacity:.7; }
.crash-space i { width:2px; height:2px; background:#eef1f8; box-shadow:0 0 6px #fff; }
.crash-multiplier {
  top:88px;
  left:23px;
  color:#08ff25;
  font-size:52px;
  letter-spacing:-3.4px;
  text-shadow:0 0 8px #0f4,0 0 19px rgba(0,255,45,.82),0 0 38px rgba(0,255,45,.35);
}
.crash-machine.crashed .crash-multiplier { color:#ff3d35; text-shadow:0 0 12px #ff342f,0 0 28px rgba(255,38,34,.48); }
.crash-countdown {
  width:120px;
  height:120px;
  background:radial-gradient(circle,#101014 0,#050506 66%,transparent 68%);
}
.crash-countdown-ring {
  background:conic-gradient(#496fff calc(var(--crash-progress,1)*1turn),rgba(255,255,255,.07) 0);
  filter:drop-shadow(0 0 8px rgba(69,104,255,.42));
}
.crash-rocket {
  z-index:5;
  width:166px;
  height:125px;
  filter:drop-shadow(0 9px 8px rgba(0,0,0,.65)) drop-shadow(0 0 11px rgba(255,151,24,.34));
  transform:translate3d(var(--rocket-x,18px),var(--rocket-y,235px),0) rotate(-15deg) scale(.82);
}
.crash-rocket .crash-ship-svg { width:166px; height:125px; transform-style:preserve-3d; animation:crash-reference-hover 1.25s ease-in-out infinite; }
.crash-flight-status { display:none; }
.crash-duel {
  position:absolute;
  z-index:6;
  right:62px;
  bottom:11px;
  left:62px;
  display:grid;
  grid-template-columns:48px 1fr 48px;
  align-items:center;
  justify-items:center;
  gap:9px;
}
.crash-duel > span { position:relative; z-index:2; display:grid; width:48px; height:48px; place-items:center; overflow:visible; border:1px solid rgba(255,255,255,.11); border-radius:15px; background:radial-gradient(circle,rgba(255,255,255,.15),#0b0b0d 70%); filter:drop-shadow(0 4px 5px #000); transition:filter .2s,border-color .2s,transform .2s,box-shadow .2s,opacity .2s; }
.crash-duel > span.current { border-color:rgba(68,255,157,.5); box-shadow:0 0 12px rgba(0,255,139,.22); }
.crash-duel > span.next { opacity:.72; filter:grayscale(.35) brightness(.82) drop-shadow(0 4px 5px #000); }
.crash-duel > span.is-empty { visibility:hidden; }
.crash-duel > span.next.near { opacity:1; border-color:#62ffad; filter:grayscale(0) brightness(1.1) drop-shadow(0 4px 5px #000); box-shadow:0 0 15px rgba(0,255,139,.38); transform:translateY(-2px) scale(1.05); }
.crash-duel-gift .gift-static { width:43px; height:43px; object-fit:contain; filter:drop-shadow(0 3px 3px rgba(0,0,0,.62)); animation:crash-duel-gift-float 1.45s ease-in-out infinite; }
.crash-duel-gift .gift-animation { width:48px; height:48px; overflow:visible; }
.crash-duel-gift .gift-animation > img,.crash-duel-gift .gift-animation > div { width:48px; height:48px; }
.crash-duel-gift .gift-animation > div { overflow:visible; }
.crash-duel-gift small { position:absolute; right:50%; bottom:-14px; z-index:4; display:flex; min-width:58px; justify-content:center; gap:3px; color:#8b8b92; font:800 6px/1 Rubik,sans-serif; text-shadow:0 1px 3px #000; transform:translateX(50%); white-space:nowrap; }
.crash-duel-gift small b { color:#57ffa5; }
.crash-duel-gift small em { color:#b5b5ba; font-style:normal; }
.crash-duel > i { position:relative; z-index:1; width:100%; height:5px; overflow:hidden; border-radius:99px; background:#342f27; box-shadow:inset 0 1px rgba(255,255,255,.08); }
.crash-duel > i > b { position:absolute; inset:0; border-radius:inherit; background:linear-gradient(90deg,#05ee89,#55ff9f); box-shadow:0 0 10px rgba(0,255,139,.55); transform:scaleX(0); transform-origin:left center; }
.crash-history {
  gap:7px;
  margin:5px 0 8px;
  padding:0 0 2px;
  overflow:hidden;
}
.crash-history span {
  flex:0 0 62px;
  height:31px;
  border:0;
  border-radius:7px;
  color:#f3f3f5;
  background:#1b1b1e;
  font-size:10px;
}
.crash-history span:first-child { color:#fff; background:#416bf4; box-shadow:0 3px 12px rgba(65,107,244,.25); }
.crash-history span.mid,.crash-history span.high,.crash-history span.hot { border:0; color:#f3f3f5; background:#1b1b1e; }
.crash-history span:first-child.mid,.crash-history span:first-child.high,.crash-history span:first-child.hot { color:#fff; background:#416bf4; }
.crash-proof { margin:6px 13px 9px; opacity:.38; }
.crash-bet-panel {
  display:flex;
  flex-direction:column;
  padding:0 0 10px;
  border:0;
  border-radius:0;
  background:#000;
  box-shadow:none;
}
.crash-action {
  order:-2;
  min-height:56px;
  justify-content:center;
  margin:0 0 12px;
  padding:0 18px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(115deg,#244dff,#4d82f7);
  box-shadow:inset 0 1px rgba(255,255,255,.24),0 7px 20px rgba(45,92,255,.23);
  font-size:15px;
}
.crash-action b { display:none; }
.crash-action.cashout { color:#fff; background:linear-gradient(115deg,#ff9d20,#ff4b27); box-shadow:0 8px 22px rgba(255,73,28,.22); }
.crash-action.placed,.crash-action:disabled { color:#8f8f95; background:#242428; }
.crash-action.cancel-available,.crash-action.cancel-locked { color:#fff; background:linear-gradient(115deg,#cf3445,#f04a54); box-shadow:0 7px 20px rgba(224,49,69,.18); }
.crash-action.cancel-locked { opacity:.76; }
.crash-amount { margin:0 14px; }
.crash-amount > span:last-child { border-color:#323238; background:#151518; }
.crash-presets { margin:9px 14px; }
.crash-presets button { border:0; color:#c8c8ce; background:#1c1c20; }
.crash-message { margin:0 14px 5px; color:#74747c; }
.crash-players { margin:0; padding:12px 8px; border:0; border-radius:17px 17px 0 0; background:#1b1b1e; }
.crash-players-head { padding:0 6px 10px; border-bottom-color:#29292e; }
.crash-players-head em { color:#fff; }
.crash-player-list { gap:6px; }
.crash-player {
  min-height:50px;
  grid-template-columns:38px minmax(0,1fr) auto;
  padding:6px 8px;
  border-radius:13px;
  background:#232326;
}
.crash-player .player-avatar { width:36px; height:36px; }
.crash-player strong { color:#fff; font-size:11px; }
.crash-player small { color:#aaaab1; font-size:8px; }
.crash-player > em { color:#fff; font-size:11px; }
.crash-player.cashed > em { color:#41ff83; }
.crash-demo-note { margin:8px 6px 3px; color:#9999a3; font-size:9px; line-height:1.5; }
.crash-player-name { display:flex; align-items:center; gap:6px; min-width:0; }
.crash-player-name strong { min-width:0; }
.crash-bot-badge { display:none !important; }
.participant-status { display:none !important; }
.participant-status>svg { display:none !important; }
.participant-name-text { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.participant-legend { display:none !important; }
.participant-legend[hidden] { display:none; }
.participant-legend .participant-status { display:none !important; }
.crash-players .participant-legend { display:none !important; }
.crash-player-name strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.crash-impact-word {
  top:44%;
  width:172px;
  height:156px;
  color:#fff;
  text-shadow:none;
  transform:translate(-50%,-50%) rotate(-3deg) scale(.15);
}
.crash-impact-word i {
  position:absolute;
  top:50%;
  left:50%;
  display:block;
  clip-path:polygon(50% 0,59% 31%,76% 10%,73% 37%,100% 28%,78% 50%,100% 68%,70% 64%,73% 94%,55% 70%,43% 100%,39% 69%,12% 88%,27% 58%,0 47%,32% 42%,16% 16%,43% 33%);
  transform:translate(-50%,-50%);
}
.crash-impact-word i:nth-child(1) { width:170px; height:150px; background:#df170d; }
.crash-impact-word i:nth-child(2) { width:138px; height:121px; background:#ff6a00; transform:translate(-50%,-50%) rotate(12deg); }
.crash-impact-word i:nth-child(3) { width:106px; height:94px; background:#ffd019; transform:translate(-50%,-50%) rotate(-8deg); }
.crash-impact-word i:nth-child(4) { width:62px; height:55px; background:#fffce3; transform:translate(-50%,-50%) rotate(17deg); }
.crash-impact-word b {
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  color:#d52315;
  font:950 italic 18px/.9 Rubik,sans-serif;
  letter-spacing:-1px;
  transform:translate(-50%,-50%) rotate(-5deg);
  white-space:nowrap;
}
.crash-machine.crashed .crash-impact-word { animation:crash-comic-impact .9s cubic-bezier(.13,.78,.2,1) both; }
.crash-result { z-index:12; }
.crash-machine.crashed .crash-result:not([hidden]) { animation-delay:.88s; }
.crash-result strong { color:#ff4938; }

@keyframes crash-reference-card-flight {
  0%,8% { opacity:0; transform:translate(-55px,39px) rotate(-20deg) scale(.72); }
  23% { opacity:1; }
  62%,84% { opacity:1; transform:translate(0,0) rotate(-14deg) scale(1); }
  100% { opacity:0; transform:translate(13px,-10px) rotate(-18deg) scale(.92); }
}
@keyframes crash-reference-hover {
  0%,100%{transform:translate3d(0,1px,0) perspective(420px) rotateX(3deg) rotateY(-7deg) rotate(-1.5deg)}
  50%{transform:translate3d(0,-4px,0) perspective(420px) rotateX(-2deg) rotateY(7deg) rotate(1.4deg)}
}
@keyframes crash-carrot-leaves { from{transform:rotate(-2deg) scale(.96)}to{transform:rotate(3deg) scale(1.03)} }
@keyframes crash-carrot-glow { 0%,100%{opacity:.65}50%{opacity:1} }
@keyframes crash-depth-shadow { 0%,100%{opacity:.16;transform:translateY(2px) scaleX(.92)}50%{opacity:.28;transform:translateY(7px) scaleX(1.06)} }
@keyframes crash-glass-sweep { 0%,18%{stroke-dashoffset:55;opacity:.15}48%,68%{stroke-dashoffset:5;opacity:.82}100%{stroke-dashoffset:-45;opacity:.12} }
@keyframes crash-body-gloss { 0%,100%{opacity:.28;transform:translateX(-2px)}50%{opacity:.62;transform:translateX(5px)} }
@keyframes crash-duel-gift-float { 0%,100%{transform:translateY(1px) rotate(-3deg)}50%{transform:translateY(-2px) rotate(3deg)} }
@keyframes crash-comic-impact {
  0%{opacity:0;transform:translate(-50%,-50%) rotate(-14deg) scale(.08);filter:brightness(3)}
  24%{opacity:1;transform:translate(-50%,-50%) rotate(5deg) scale(1.2);filter:brightness(1.45)}
  48%,72%{opacity:1;transform:translate(-50%,-50%) rotate(-3deg) scale(1);filter:brightness(1)}
  100%{opacity:0;transform:translate(-50%,-50%) rotate(2deg) scale(1.08)}
}

body.low-power .crash-carrot-leaves,
body.low-power .crash-carrot-cuts,
body.low-power .crash-card-rocket,
body.low-power .crash-rocket .crash-ship-svg { animation:none!important; }
@media (prefers-reduced-motion:reduce) {
  .game-card-deck .crash-card-rocket { animation:none!important; }
}

@media (max-width:390px) {
  .crash-game-card { height:123px; }
  .crash-card-copy { left:12px; }
  .crash-card-copy strong { font-size:23px; }
  .crash-card-copy p { font-size:8px; }
  .crash-card-visual { height:123px; }
  .crash-card-rocket,.crash-card-rocket .crash-ship-svg { width:121px; height:94px; }
  .crash-machine { height:326px; }
  .crash-multiplier { top:82px; left:18px; font-size:45px; }
  .crash-rocket,.crash-rocket .crash-ship-svg { width:145px; height:111px; }
  .crash-duel { right:48px; left:48px; }
}

/* Crash uses the same app frame as every other game: wallet, LIVE feed and navigation stay visible. */
.crash-screen { padding:20px 30px 32px; }

.crash-rules-modal { z-index:70; align-items:end; padding:0; background:rgba(0,0,0,.76); backdrop-filter:blur(10px); }
.crash-rules-card {
  width:min(100%,430px);
  max-height:calc(100dvh - env(safe-area-inset-top) - 10px);
  overflow-y:auto;
  padding:28px 17px calc(20px + env(safe-area-inset-bottom));
  border:1px solid #242429;
  border-bottom:0;
  border-radius:25px 25px 0 0;
  color:#f6f6f7;
  background:radial-gradient(circle at 74% 0,rgba(150,48,132,.14),transparent 32%),#050506;
  text-align:left;
  scrollbar-width:thin;
}
.crash-rules-card .modal-close { top:14px; right:14px; color:#c8c8cc; background:#242427; }
.crash-rules-drag { position:absolute; top:9px; left:50%; width:47px; height:4px; border-radius:99px; background:#f4f4f5; transform:translateX(-50%); }
.crash-rules-card h2 { margin:4px 38px 21px; color:#fff; font:800 17px/1.2 Rubik,sans-serif; text-align:center; }
.crash-rules-card h2 i { margin-left:3px; font-style:normal; }
.crash-rules-copy { display:grid; gap:16px; }
.crash-rules-copy p,.crash-rules-card > p { margin:0!important; font-size:12px!important; font-weight:650; line-height:1.55; }
.crash-rules-copy p { color:#c2c2c7!important; }
.crash-rules-warning { margin-top:19px!important; color:#ffe600!important; }
.crash-rules-server { margin-top:17px!important; color:#ff6969!important; }
.crash-rules-age { margin-top:17px!important; color:#ff962f!important; }
.crash-rules-accept { width:100%; min-height:49px; margin-top:20px; border-radius:14px; color:#fff; background:linear-gradient(115deg,#284fff,#4d82f7); font:800 14px Rubik,sans-serif; box-shadow:0 8px 22px rgba(49,91,255,.2); }

/* Free-case Telegram channel gate. */
.free-case-subscription-modal { z-index:72; }
.free-case-subscription-card { width:min(100%,360px); padding:25px 19px 18px; border-color:rgba(123,209,54,.55); background:radial-gradient(circle at 50% 8%,rgba(142,255,48,.17),transparent 39%),#1d211c; }
.free-case-channel-glyph { display:grid; width:68px; height:68px; margin:0 auto 13px; place-items:center; border:1px solid rgba(154,255,68,.45); border-radius:22px; color:#0d1610; background:linear-gradient(145deg,#b7ff55,#79df24); box-shadow:0 10px 27px rgba(113,225,31,.18),inset 0 1px rgba(255,255,255,.55); transform:rotate(-3deg); }
.free-case-channel-glyph svg { width:39px; height:39px; fill:currentColor; filter:drop-shadow(0 2px 2px rgba(255,255,255,.24)); }
.free-case-subscription-card h2 { margin:6px 0 8px; font-size:24px; }
.free-case-subscription-card > p { max-width:285px; margin:0 auto; color:#a4aaa1; font-size:11px; line-height:1.5; }
.free-case-subscription-card > strong { display:inline-flex; margin:13px 0 15px; padding:7px 12px; border:1px solid rgba(151,245,71,.22); border-radius:999px; color:#b8ff72; background:rgba(106,176,47,.1); font:800 12px Rubik,sans-serif; }
.free-case-channel-action { min-height:52px; font-size:14px; }
.free-case-channel-action:disabled { opacity:.58; cursor:wait; }
.free-case-entry-reopen { margin:12px auto 0; padding:6px 10px; color:#b8ff72; background:transparent; font:650 11px Rubik,sans-serif; }
.free-case-entry-reopen:disabled { opacity:.58; cursor:wait; }
.free-case-entry-reopen[hidden] { display:none; }
.free-case-subscription-card .free-case-channel-status { min-height:16px; margin-top:10px; color:#798078; font-size:9px; }
.free-case-subscription-card .free-case-channel-status.success { color:#a9ff5a; }
.free-case-subscription-card .free-case-channel-status.error { color:#ff8d91; }
.free-case-share-card { max-height:calc(100dvh - 32px); overflow-y:auto; overscroll-behavior:contain; padding:27px 18px 18px; }
.free-case-share-card h2 { margin:7px 0 8px; font-size:23px; letter-spacing:-.7px; }
.free-case-share-card > p { max-width:290px; }
.free-case-share-preview { margin:17px 0 14px; text-align:left; border-color:rgba(173,255,86,.19); background:rgba(7,12,7,.6); }
.free-case-share-card .free-case-share-preview > p { color:#d5ddcf!important; font-size:11px!important; line-height:1.45; }
.free-case-share-preview > p > b { display:inline-block; margin-bottom:5px; color:#f2f7ec; }
.free-case-share-preview > span { color:#b5f576; background:rgba(130,213,57,.08); font-size:11px; }
.free-case-share-progress { display:flex; align-items:center; justify-content:space-between; margin:0 0 15px; padding:0 4px; gap:14px; }
.free-case-share-progress > b { color:#c1ff7e; font:800 19px Rubik,sans-serif; font-variant-numeric:tabular-nums; }
.free-case-share-steps { display:flex; gap:9px; }
.free-case-share-steps i { display:grid; place-items:center; position:relative; width:35px; height:35px; flex:none; }
.free-case-share-steps i > img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.free-case-share-steps i.is-ready > img { opacity:0; }
.free-case-share-steps .free-case-status-motion { position:absolute; inset:0; display:block; pointer-events:none; }
.free-case-share-steps .free-case-status-motion svg { display:block; width:100%; height:100%; }
.free-case-share-card #freeCaseShareStatus { min-height:30px; font-size:10px; }

/* Collection variants: transform-only jelly transition, no hidden player grid. */
.item-modal-card { max-height:calc(100dvh - 24px); overflow-y:auto; overscroll-behavior:contain; }
.modal-gift-icon { position:relative; }
.modal-gift-icon.has-model-gallery { width:168px; height:168px; margin:14px auto 10px; contain:layout paint; }
.gift-model-layer { position:absolute; inset:0; padding:8px; display:grid; place-items:center; transform-origin:50% 70%; border-radius:inherit; overflow:hidden; }
.modal-gift-icon.has-model-gallery { touch-action:pan-y; }
.gift-model-layer.is-preparing { visibility:hidden; }
.gift-model-layer .gift-static, .gift-model-layer .gift-animation, .gift-model-layer .gift-animation>div,
.gift-model-renderer, .gift-model-image { width:100%; height:100%; object-fit:contain; }
.gift-model-renderer svg { display:block; width:100%; height:100%; }
.gift-model-layer.is-entering > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:gift-model-jelly-in 580ms both; will-change:transform,opacity; transform-origin:50% 70%; }
.gift-model-layer.is-leaving { pointer-events:none; }
.gift-model-layer.is-leaving > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:gift-model-jelly-out 240ms both; will-change:transform,opacity; transform-origin:50% 70%; }
.gift-model-layer.is-entering > .gift-scene-background { animation:gift-scene-dissolve-in 720ms cubic-bezier(.4,0,.2,1) both; will-change:opacity; }
.gift-model-controls[hidden] { display:none; }
.gift-model-controls { width:168px; margin:0 auto 12px; text-align:center; }
.gift-model-navigation { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; align-items:center; gap:0; }
.gift-model-navigation button { width:40px; height:40px; padding:3px; border:0; border-radius:10px; background:transparent; color:#baff7b; font:inherit; font-size:21px; font-weight:800; line-height:1; cursor:pointer; touch-action:manipulation; transition:background-color 220ms ease-in-out; }
.gift-model-navigation button:hover { background:#a9ff5a22; }
.gift-model-navigation button:focus-visible { outline:2px solid #a9ff5a; outline-offset:2px; }
.gift-model-navigation [data-model-counter] { min-width:0; color:#f4f7ef; font:800 14px/1 Rubik,sans-serif; font-variant-numeric:tabular-nums; text-align:center; }
.gift-model-navigation [data-model-arrow] { display:block; width:100%; height:100%; color:#aaff32; transform-origin:50% 50%; }
.gift-model-navigation [data-model-arrow] svg { display:block; width:100%; height:100%; fill:currentColor; }
.gift-model-navigation [data-model-arrow="prev"] svg { transform:scaleX(-1); }
@media (prefers-reduced-motion:reduce) { .gift-model-navigation button { transition:none; } }
.gift-model-controls small { display:block; margin-top:6px; color:#7d8974; font-size:9px; }
@keyframes gift-model-jelly-in {
  0% { opacity:0; transform:translate(var(--gift-swipe-x,0px),-8px) scale(.65,1.18); }
  27% { opacity:1; transform:translateY(2px) scale(1.12,.85); }
  49% { transform:translateY(-2px) scale(.96,1.06); }
  73% { transform:translateY(0) scale(1.025,.98); }
  100% { opacity:1; transform:none; }
}
@keyframes gift-model-jelly-out {
  0% { opacity:1; transform:none; }
  40% { opacity:.5; transform:scale(1.15,.75); }
  100% { opacity:0; transform:translate(var(--gift-swipe-x,0px),10px) scale(.55,1.1); }
}
@media (max-height:650px) { .modal-gift-icon.has-model-gallery { width:140px; height:140px; margin:8px auto; } .gift-model-controls { width:140px; } }
@keyframes gift-scene-dissolve-in { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .gift-model-layer.is-entering > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image,.gift-scene-background),.gift-model-layer.is-leaving > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:none; } }

/* Genuine Telegram backdrops and frozen pattern vectors: zero background RAFs. */
.modal-gift-icon.has-gift-attributes { overflow:hidden; }
.modal-gift-icon.has-model-gallery.has-gift-attributes { background:#202020; }
.gift-scene-background { position:absolute; inset:0; z-index:0; border-radius:inherit; pointer-events:none; background:radial-gradient(circle at 50% 50%,var(--gift-backdrop-center),var(--gift-backdrop-edge)); }
.has-gift-attributes .gift-model-layer { z-index:1; }
.gift-model-layer.is-entering { z-index:2; }
.gift-model-layer > .gift-animation,.gift-model-layer > .gift-static,.gift-model-renderer,.gift-model-image { position:relative; z-index:1; }
.has-gift-attributes > .gift-animation,.has-gift-attributes > .gift-static { position:relative; z-index:1; }
.gift-pattern-plane { position:absolute; inset:0; z-index:0; pointer-events:none; }
.gift-pattern-plane i { position:absolute; display:block; transform:translate(-50%,-50%); background:var(--gift-pattern-color); mask-size:100% 100%; mask-repeat:no-repeat; -webkit-mask-size:100% 100%; -webkit-mask-repeat:no-repeat; }
.gift-pattern-render-host { position:absolute; width:1px; height:1px; visibility:hidden; pointer-events:none; }
.traits .gift-attribute-select { max-width:240px; width:100%; padding:0 15px 0 0; border:0; border-radius:0; background:transparent; color:#f1f1f1; font:700 10px Manrope,sans-serif; text-align:right; cursor:pointer; }
.traits .gift-attribute-select option { background:#242424; color:#f1f1f1; }
.traits .gift-attribute-select:focus-visible { outline:1px solid #aaff40; outline-offset:3px; }
.traits b:has(.gift-attribute-select) { flex:1; min-width:0; text-align:right; }

/* The wheel's models have opacity-only transitions, independent of its rotor. */
.luck-wheel-model { position:absolute; inset:32px; z-index:1; opacity:.23; pointer-events:none; contain:layout paint; border-radius:50%; overflow:hidden; }
.luck-wheel-model .gift-model-layer { padding:0; }
.chance-orb .luck-wheel-model svg { display:block; position:static; inset:auto; width:100%; height:100%; transform:none; overflow:hidden; }
.chance-orb .luck-wheel-model circle { fill:revert; stroke:revert; stroke-width:revert; }
.gift-model-dissolve .gift-model-layer.is-entering > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:gift-scene-dissolve-in 720ms ease-in-out both; will-change:opacity; transform:none; }
.gift-model-dissolve .gift-model-layer.is-leaving > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:none; transform:none; }
.selected-gift #luckIcon .gift-animation { display:block; width:42px; height:42px; }
.selected-gift #luckIcon .gift-animation>div { display:block; width:100%; height:100%; }
.luck-screen .zone-toolbar { display:flex; justify-content:center; }
.modal-model-price[hidden] { display:none; }
.modal-model-price { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:34px; margin-top:8px; padding:6px 0; border-bottom:1px solid #ffffff0b; }
.modal-model-price>span { min-width:0; flex:1; color:#b3bdab; font-size:10px; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.modal-model-price>b { flex-shrink:0; color:#baff7b; font-size:12px; font-weight:800; }
.modal-model-price .currency-icon { width:16px; height:16px; vertical-align:-4px; }
@media (prefers-reduced-motion:reduce) { .gift-model-dissolve .gift-model-layer.is-entering > :is(.gift-static,.gift-animation,.gift-model-renderer,.gift-model-image) { animation:none; } }

/* Task cards: static high-DPI avatars, one lazy module, no per-card timers. */
.case-model-note { margin:8px 0 16px; color:#b7cd9f; text-align:center; font:600 10px/1.5 Manrope,sans-serif; }
.gift-variant-media,.gift-variant-renderer { display:block; position:relative; width:100%; height:100%; }
.gift-variant-media>img { width:100%; height:100%; object-fit:contain; }
.gift-variant-renderer { position:absolute; inset:0; }
.gift-variant-renderer>svg { width:100%; height:100%; }
.gift-variant-media.is-ready>img { visibility:hidden; }
.inventory-gift.is-model-gift { border-color:#a7cc6b65; }
.inventory-gift.is-model-gift small { color:#c7e8a7; }
.tasks-heading { margin-bottom:20px; }
.tasks-summary { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; padding:12px 14px; border:1px solid #8cff1822; border-radius:18px; background:linear-gradient(115deg,#8cff180b,transparent); }
.tasks-summary > span { display:flex; align-items:center; gap:9px; min-width:0; }
.tasks-summary b { font:700 11px Manrope,sans-serif; color:#d0d7ca; }
.tasks-summary button { display:grid; flex-shrink:0; width:36px; height:36px; place-items:center; color:#a5e764; background:#25311e; border:1px solid #496035; border-radius:12px; }
.tasks-summary svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.task-list { display:grid; gap:8px; }
.task-row { --task-accent:#b3f477; position:relative; isolation:isolate; display:grid; grid-template-columns:44px minmax(0,1fr) auto; column-gap:11px; align-items:center; width:100%; min-width:0; min-height:76px; padding:10px 13px; overflow:hidden; border:1px solid #53654670; border-radius:16px; color:#f4f8ef; background:radial-gradient(ellipse at 105% -15%,#b0ed6526,transparent 65%),linear-gradient(125deg,#242b20,#191d18 63%,#172015); box-shadow:inset 0 1px #edffd216,inset 0 -1px #0004,0 5px 16px #0002; text-align:left; transition:border-color .2s,transform .2s,box-shadow .2s; }
.task-row:before { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none; opacity:.45; background:linear-gradient(118deg,transparent 35%,#e5ffc00b 35.2%,transparent 35.6%),linear-gradient(118deg,transparent 66%,#e5ffc009 66.2%,transparent 66.6%); }
.task-row:after { content:''; position:absolute; top:0; left:20px; right:20px; height:1px; pointer-events:none; background:linear-gradient(90deg,transparent,#caff8e88,transparent); }
.task-row[data-kind="partner"] { --task-accent:#e9cd7f; border-color:#7b704e66; background:radial-gradient(ellipse at 105% -15%,#e1c46926,transparent 60%),linear-gradient(125deg,#29291e,#1d1e17 63%,#212218); }
.task-row[data-kind="partner"]:after { background:linear-gradient(90deg,transparent,#f5db9280,transparent); }
.task-row:hover { border-color:#91b866; transform:translateY(-1px); box-shadow:inset 0 1px #edffd220,0 10px 24px #0003; }
.task-row:focus-visible { outline:2px solid #b6f879; outline-offset:3px; }
.task-row:active { transform:scale(.988); }
.task-avatar { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; overflow:hidden; border-radius:50%; background:linear-gradient(145deg,#38482b,#20261c); color:#b4fb7e; font:800 19px Rubik,sans-serif; }
.task-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.task-row > .task-avatar { width:44px; height:44px; padding:3px; border:1px solid #e5ffca26; border-radius:14px; background:linear-gradient(145deg,#ffffff12,#0004); box-shadow:0 4px 12px #0003,inset 0 1px #ffffff0c; }
.task-row > .task-avatar img { border-radius:11px; }
.task-row-copy { display:flex; min-width:0; flex-direction:column; gap:5px; }
.task-row-copy b { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font:800 13px/1.25 Manrope,sans-serif; overflow-wrap:anywhere; }
.task-row-reward { display:inline-flex; flex-shrink:0; justify-content:flex-end; align-items:center; gap:4px; padding:0; border:0; background:transparent; box-shadow:none; color:#f0f9cf; white-space:nowrap; font:800 17px/1 Rubik,sans-serif; font-variant-numeric:tabular-nums; }
.task-row-reward img { width:20px; height:20px; object-fit:contain; }
.task-row-action { display:flex; align-self:flex-start; min-width:0; min-height:16px; align-items:center; gap:5px; color:var(--task-accent); font:800 10px/1.4 Manrope,sans-serif; }
.task-row-action-label { min-width:0; white-space:nowrap; }
.task-row-chevron { display:grid; flex-shrink:0; place-items:center; width:13px; height:13px; transition:transform .2s; }
.task-row-chevron svg { display:block; width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.task-row-check { display:none; }
.task-row:hover .task-row-chevron { transform:translateX(2px); }
.task-row.is-completed { --task-accent:#8baf75; border-color:#758c623d; background:linear-gradient(125deg,#20251d,#191c17 80%); box-shadow:inset 0 1px #edffd20a; }
.task-row.is-completed:after { opacity:.35; }
.task-row.is-completed .task-row-copy b { color:#b9c2b0; }
.task-row.is-completed .task-row-action { color:#95b97b; }
.task-row.is-completed .task-row-reward { color:#bfd5a8; }
.task-row.is-completed .task-row-arrow { display:none; }
.task-row.is-completed .task-row-check { display:block; }
.task-row.is-completed .task-row-chevron { transform:none; }
@media(max-width:360px) { .task-row { grid-template-columns:40px minmax(0,1fr) auto; min-height:72px; padding:9px 11px; column-gap:8px; border-radius:15px; }.task-row > .task-avatar { width:40px; height:40px; border-radius:13px; }.task-row > .task-avatar img { border-radius:9px; }.task-row-copy b { font-size:12px; }.task-row-reward { font-size:15px; }.task-row-reward img { width:18px; height:18px; } }
@media(prefers-reduced-motion:reduce) { .task-row,.task-row-chevron { transition:none; } }
body.low-power .task-row,body.low-power .task-row-chevron { transition:none; }
.tasks-status { margin:24px 6px 0; color:#858a81; text-align:center; font:600 11px/1.6 Manrope,sans-serif; }
.tasks-status.is-error { color:#e6a899; }
.task-modal { z-index:55; padding:12px 10px calc(12px + env(safe-area-inset-bottom)); transition:opacity .32s ease,visibility .32s; }
.task-sheet { max-width:410px; padding:27px 17px 17px; border-color:#ffffff10; border-radius:27px; background:linear-gradient(150deg,#1a1d17,#151515 48%); transition:transform .36s cubic-bezier(.22,.72,.2,1); }
.task-sheet-avatar { width:80px; height:80px; margin:6px auto 17px; border-radius:21px; font-size:31px; }
.task-sheet h2 { margin:0 18px 10px; font:800 17px/1.35 Manrope,sans-serif; overflow-wrap:anywhere; }
.task-sheet .task-sheet-description { margin:0 5px 13px; color:#91968c; font:500 12px/1.55 Manrope,sans-serif; white-space:pre-wrap; overflow-wrap:anywhere; }
.task-sheet-reward { display:inline-flex; align-items:center; gap:5px; margin:0 auto 17px; padding:6px 10px; border:1px solid #8cff1826; border-radius:12px; color:#b9f08e; background:#8cff180b; font:800 12px Manrope,sans-serif; }
.task-primary { width:100%; min-height:48px; border-radius:16px; font:800 13px Manrope,sans-serif; }
.task-primary:disabled { opacity:.5; cursor:default; }
.task-open-again { margin:12px auto 0; border:0; color:#acb59f; background:transparent; font:600 11px Manrope,sans-serif; }
.task-sheet .task-sheet-status { min-height:0; margin:10px 4px 0; color:#808779; font:500 9px/1.5 Manrope,sans-serif; }
.task-sheet-status.is-error { color:#eeaa98!important; }
.task-sheet-status.is-success { color:#b4f184!important; }
.admin-task-form { display:grid; gap:10px; }
.admin-task-preview { display:flex; gap:10px; align-items:center; margin-bottom:2px; }
.admin-task-preview > div:last-child { display:grid; gap:4px; min-width:0; }
.admin-task-preview b { font:800 12px Manrope,sans-serif; }
.admin-task-preview small { color:#858f7c; font:500 9px/1.4 Manrope,sans-serif; overflow-wrap:anywhere; }
.admin-task-link-row { display:flex; gap:6px; }
.admin-task-link-row input { min-width:0; flex:1; }
.admin-task-link-row button { width:42px; flex-shrink:0; border:1px solid #495344; border-radius:12px; color:#b7f488; background:#283024; font-size:20px; }
.admin-task-form .admin-field textarea { width:100%; min-height:78px; padding:10px 11px; resize:vertical; outline:none; border:1px solid #454c45; border-radius:12px; color:#f4f4f4; background:#252826; font:600 11px/1.5 Manrope,sans-serif; }
.admin-task-form .admin-field textarea:focus { border-color:#8cda48; box-shadow:0 0 0 3px #97ff3814; }
.admin-task-note { margin:0!important; color:#8e9587!important; font:500 9px/1.5 Manrope,sans-serif!important; }

/* Visible-webview layout: no duplicate top inset, bounded and reachable sheets. */
:root {
  --ne-overlay-top:max(8px,var(--ne-viewport-top,0px));
  --ne-overlay-bottom:calc(8px + max(env(safe-area-inset-bottom,0px),var(--ne-viewport-bottom,0px)));
  --ne-dialog-height:calc(var(--ne-viewport-height,100dvh) - var(--ne-overlay-top) - var(--ne-overlay-bottom));
}
.app-shell { padding-top:0; }
.wallet-panel { min-height:calc(68px + var(--ne-viewport-top,0px)); padding-top:calc(9px + var(--ne-viewport-top,0px)); }
html.has-open-modal,body.has-open-modal { overflow:hidden; overscroll-behavior:none; }
.modal {
  inset:auto 0 auto;
  top:var(--ne-viewport-offset,0px);
  height:var(--ne-viewport-height,100dvh);
  min-height:0;
  padding:var(--ne-overlay-top) 12px var(--ne-overlay-bottom);
  overflow:hidden;
}
.modal > .modal-card { max-height:var(--ne-dialog-height); min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.modal .modal-close { z-index:8; top:7px; right:8px; width:44px; height:44px; font-size:22px; touch-action:manipulation; }
.modal .trade-asset-card { display:flex; flex-direction:column; height:min(720px,var(--ne-dialog-height)); }
.modal .trade-asset-options { flex:1; min-height:0; height:auto; }
.modal .task-sheet-avatar { width:64px; height:64px; margin-bottom:12px; }
.modal .settings-glyph,.modal .rules-glyph { margin-bottom:9px; }
.modal .free-case-channel-glyph { width:56px; height:56px; margin-bottom:10px; }
#itemModal .item-modal-card {
  --ne-preview-size:clamp(88px,calc(var(--ne-dialog-height) * .18),132px);
  display:flex;
  flex-direction:column;
  width:min(100%,380px);
  max-height:min(620px,var(--ne-dialog-height));
  padding:0;
  overflow:hidden;
  border-radius:23px;
}
.item-preview-body { flex:1 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; padding:13px 13px 3px; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.item-preview-heading { padding-right:42px; text-align:left; }
.item-preview-heading .eyebrow { display:block; font-size:8px; line-height:1.2; letter-spacing:.9px; }
#itemModal .item-preview-heading h2 { margin:4px 0 0; font-size:20px; line-height:1.15; letter-spacing:-.4px; overflow-wrap:anywhere; }
#itemModal .modal-gift-icon,#itemModal .modal-gift-icon.has-model-gallery { width:var(--ne-preview-size); height:var(--ne-preview-size); margin:7px auto 2px; border-radius:22px; }
#itemModal .gift-model-controls { width:max(156px,var(--ne-preview-size)); margin:0 auto 5px; }
#itemModal .gift-model-controls small { display:none; }
#itemModal .gift-model-navigation { grid-template-columns:44px minmax(0,1fr) 44px; }
#itemModal .gift-model-navigation button { width:44px; height:44px; padding:8px; }
#itemModal .gift-model-navigation [data-model-counter] { font-size:12px; white-space:nowrap; }
#itemModal .traits { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
#itemModal .traits[hidden] { display:none; }
#itemModal .traits > div { display:grid; min-width:0; gap:4px; padding:6px 7px; border-radius:10px; }
#itemModal .traits span { font-size:8px; line-height:1.1; }
#itemModal .traits b { display:block; min-width:0; overflow:hidden; font-size:10px; line-height:1.3; text-align:left; text-overflow:ellipsis; white-space:nowrap; }
#itemModal .traits em { margin-left:2px; font-size:9px; }
#itemModal .traits .gift-attribute-select { height:21px; max-width:100%; padding-right:9px; font-size:11px; text-align:left; }
#itemModal .modal-model-price { min-height:28px; margin-top:4px; padding:4px 0; }
.item-preview-footer { flex:0 0 auto; padding:8px 13px 11px; border-top:1px solid #ffffff0b; background:#1c201a; }
#itemModal .modal-price { margin:0; padding:8px 9px; font-size:10px; }
#itemModal .modal-price b { flex-shrink:0; margin-left:8px; font-size:12px; }
#itemModal .modal-actions { gap:7px; margin-top:7px; }
#itemModal .modal-actions button { min-height:44px; border-radius:12px; font-size:12px; }
#itemModal .item-purchase-disclosure { margin:7px 1px 0; color:#a0aa98; font-size:9px; line-height:1.35; text-align:left; }
@media(max-height:520px) {
  #itemModal .item-modal-card { --ne-preview-size:88px; }
  .item-preview-body { padding-top:10px; }
  #itemModal .modal-gift-icon { margin-block:4px 0; }
}
#prizeModal .prize-modal { display:flex; flex-direction:column; padding:0; max-height:var(--ne-dialog-height); overflow:hidden; }
.prize-preview-body { flex:1 1 auto; min-height:0; overflow:auto; padding:18px 15px 4px; overscroll-behavior:contain; }
#prizeModal .prize-modal h2 { margin:5px 0 12px; font-size:26px; }
#prizeModal .prize-item { padding:13px 9px; }
#prizeModal .prize-item > span { width:clamp(88px,calc(var(--ne-dialog-height) * .22),132px); height:clamp(88px,calc(var(--ne-dialog-height) * .22),132px); }
#prizeModal .prize-item b { font-size:19px; }
#prizeModal .prize-item em { font-size:17px; }
.prize-preview-footer { flex:0 0 auto; padding:10px 15px 14px; }
#prizeModal .prize-preview-footer .modal-actions { margin:0; }
#prizeModal .modal-actions button { min-height:44px; font-size:13px; }
.admin-task-note.is-error { color:#e8b099!important; }
.admin-task-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.admin-task-numbers input { padding-inline:8px; }
.admin-task-budget { display:flex; justify-content:space-between; gap:10px; padding:10px; border:1px solid #8cff1820; border-radius:12px; background:#8cff1809; }
.admin-task-budget span { color:#8e9a82; font:500 9px Manrope,sans-serif; }
.admin-task-budget b { color:#b2ed8b; font:800 10px Manrope,sans-serif; }
.admin-task-save-row { display:flex; gap:7px; }
.admin-task-save-row button { flex:1; min-height:43px; border-radius:12px; font-size:11px; }
.admin-task-list { display:grid; gap:8px; margin-top:17px; max-height:350px; overflow:auto; scrollbar-width:thin; }
.admin-task-entry { display:grid; gap:8px; padding:10px; border:1px solid #404739; border-radius:15px; background:#1b1f19; }
.admin-task-entry-head { display:flex; gap:8px; align-items:center; min-width:0; }
.admin-task-entry .task-avatar { width:34px; height:34px; font-size:14px; }
.admin-task-entry-head > div:last-child { display:grid; gap:3px; min-width:0; }
.admin-task-entry-head b { font:800 10px Manrope,sans-serif; overflow-wrap:anywhere; }
.admin-task-entry-head small { color:#99a08f; font:500 8px/1.5 Manrope,sans-serif; }
.admin-task-entry-actions { display:flex; gap:5px; flex-wrap:wrap; }
.admin-task-entry-actions button { min-height:30px; padding:6px 9px; border:1px solid #46583b; border-radius:9px; color:#b4e98e; background:#283121; font:700 9px Manrope,sans-serif; }
.admin-task-entry-actions button.is-archive { color:#afaba4; background:#292925; border-color:#44443b; }
@media (prefers-reduced-motion:reduce) { .task-modal,.task-sheet,.task-row { transition:none; } }
/* Language control reuses the existing Settings row; no game layout changes. */
.settings-language { color:var(--text,#f4f4f4); background:#20231d; border:1px solid #3b4b29; border-radius:10px; padding:8px 6px; font:inherit; font-size:12px; font-weight:700; max-width:122px; flex-shrink:0; }
.settings-language:focus-visible { outline:2px solid #a5ff26; outline-offset:3px; }
.settings-language:disabled { opacity:.55; }
.settings-row[for="settingLanguage"] { grid-template-columns:39px minmax(0,1fr) 110px; }
.settings-language { width:110px; min-width:0; }
/* Cheques reuse gift motion; just one player while open. Long terms scroll. */
.gift-check-modal { z-index:45; }
.my-gift-checks-link { width:100%; margin:0 0 12px; padding:11px; border:1px solid #3b4b29; border-radius:12px; background:#1b2116; color:#bcf084; font:700 11px Manrope,sans-serif; }
.gift-check-card { display:flex; flex-direction:column; align-items:center; width:min(360px,calc(100vw - 24px)); max-height:calc(var(--tg-viewport-stable-height,100dvh) - 32px); padding:24px 17px 16px; gap:8px; overflow:hidden; background:#11140f; }
.gift-check-card h2 { font:800 20px/1.2 Manrope,sans-serif; text-align:center; margin:2px 20px; flex-shrink:0; }
.gift-check-card > b { font:800 14px Manrope,sans-serif; }
.gift-check-card > p { margin:0; font-size:12px; color:#a4ac9c; text-align:center; }
.gift-check-icon { width:clamp(90px,25vh,155px); height:clamp(90px,25vh,155px); display:grid; place-items:center; flex-shrink:0; }
.gift-check-icon > * { width:100%; height:100%; object-fit:contain; }
.gift-check-terms { align-self:stretch; overflow-y:auto; min-height:0; scrollbar-width:thin; font:500 11px/1.5 Manrope,sans-serif; text-align:center; color:#aeb5a5; }
.gift-check-terms > p { margin:6px 0; }
.gift-check-terms > strong { display:block; color:#d0f0a8; font-weight:800; }
.gift-check-terms > small { display:block; font:500 10px/1.5 Manrope,sans-serif; }
#giftCheckConditions { list-style:none; margin:10px 0; padding:0; text-align:left; }
#giftCheckConditions li { display:flex; align-items:center; gap:8px; margin:5px 0; }
#giftCheckConditions li i { font-style:normal; color:#787e70; width:14px; flex-shrink:0; }
#giftCheckConditions .is-complete i { color:#a5ff26; }
.gift-check-actions { align-self:stretch; display:flex; flex-wrap:wrap; gap:7px; flex-shrink:0; padding-top:5px; }
.gift-check-actions button { flex:1 1 120px; min-height:41px; padding:9px; border-radius:12px; font:800 11px Manrope,sans-serif; }
.gift-check-actions button[hidden] { display:none; }
.gift-check-actions button:disabled { opacity:.5; }
.my-gift-check-list { align-self:stretch; overflow-y:auto; display:grid; gap:8px; min-height:0; }
.owned-gift-check { display:flex; gap:10px; align-items:center; width:100%; padding:10px; border:1px solid #3a4630; border-radius:13px; background:#1d2418; text-align:left; color:#f3f7eb; }
.owned-gift-check img { width:42px; height:42px; object-fit:contain; }
.owned-gift-check span { display:grid; gap:3px; font:800 12px Manrope,sans-serif; }
.owned-gift-check small { color:#a3ac98; font:500 10px/1.4 Manrope,sans-serif; }
.withdraw-fee-total { font:900 32px Manrope,sans-serif; color:#a5ff26; padding:8px 0; }
.result-media { position:relative; display:block; width:100%; height:100%; flex-shrink:0; }
.result-media > img,.result-media-motion { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transition:opacity .18s ease; }
.result-media > img { opacity:1; }
.result-media-motion { opacity:0; }
.result-media-motion svg { display:block; width:100%; height:100%; }
.result-media.is-ready > img { opacity:0; }
.result-media.is-ready > .result-media-motion { opacity:1; }
.trade-prize-card.is-stars .result-media { width:76px; height:76px; }
.trade-prize-card.is-stars:only-child { grid-column:1/-1; }
#prizeModal.is-trade-bundle .modal-actions:has(#sellPrize[hidden]) { grid-template-columns:1fr; }
.withdraw-fee-card { padding:28px 18px 18px; gap:10px; }
.withdraw-fee-amount { align-self:stretch; display:grid; justify-items:center; padding:12px; border:1px solid #354726; border-radius:16px; background:#1b2415; }
.withdraw-fee-amount > small { color:#a4ac9c; font:600 11px Manrope,sans-serif; }
.withdraw-fee-total { display:flex; align-items:center; justify-content:center; gap:6px; padding:5px 0 0; }
.withdraw-fee-total .result-media { width:34px; height:34px; }
.withdraw-fee-card > .withdraw-fee-note { max-width:280px; font-size:11px; line-height:1.5; }
#withdrawFeeStatus:empty { display:none; }
#withdrawFeeStatus { align-self:stretch; max-height:72px; overflow-y:auto; color:#ff9f9f; font-size:11px; line-height:1.5; }
@media (prefers-reduced-motion:reduce) { .result-media > img,.result-media-motion { transition:none; } }
.admin-check-toggle { display:flex; align-items:center; gap:8px; color:#b8c0ac; font:600 10px/1.5 Manrope,sans-serif; }
.admin-gift-checks-section .admin-task-numbers { grid-template-columns:repeat(2,minmax(0,1fr)); }
.admin-gift-checks-section button[type=submit],#copyAdminGiftCheckLink { width:100%; min-height:40px; border-radius:12px; font:800 11px Manrope,sans-serif; }
.admin-gift-checks-section .admin-task-entry small { color:#b0bba1; font-size:10px; }
.admin-gift-checks-section .admin-task-entry input { width:100%; min-width:0; padding:8px; border:1px solid #3e4933; border-radius:8px; color:#b8dd91; background:#12180e; font:500 9px Manrope,sans-serif; }
.admin-cheque-preview,.admin-cheque-poster { display:block; width:100%; height:auto; border:1px solid #39482c; border-radius:12px; background:#030503; }
.admin-cheque-preview[hidden] { display:none; }
.admin-cheque-poster { max-width:320px; }
#shareAdminGiftCheck { width:100%; min-height:42px; border-radius:12px; font:800 11px Manrope,sans-serif; margin-bottom:8px; }
@media (max-height:600px) { .gift-check-icon { width:92px; height:92px; } .gift-check-card { gap:5px; padding-top:20px; } .gift-check-card h2 { font-size:18px; } }

/* Cheque activation shares prize styling; requirements share the free-case gate. */
#giftCheckPrizeModal .gift-check-prize-card { display:flex; flex-direction:column; padding:0; max-height:var(--ne-dialog-height); overflow:hidden; }
#giftCheckPrizeModal .gift-check-prize-card > .modal-close { position:absolute; z-index:8; }
#giftCheckPrizeModal h2 { margin:5px 28px 12px; font-size:26px; }
#giftCheckPrizeModal .prize-item { padding:13px 9px; }
#giftCheckPrizeModal .prize-item > span { width:clamp(88px,calc(var(--ne-dialog-height) * .22),132px); height:clamp(88px,calc(var(--ne-dialog-height) * .22),132px); }
#giftCheckPrizeModal .prize-item b { font-size:19px; }
#giftCheckPrizeModal .prize-item em { font-size:17px; }
#giftCheckPrizeModal .modal-actions { margin:0; }
#giftCheckPrizeModal .modal-actions button { min-height:44px; font-size:13px; }
.gift-check-access-card .gift-check-actions { margin-top:12px; }
.gift-check-access-card .gift-check-actions { display:grid; grid-template-columns:1fr; }
.gift-check-access-card .gift-check-actions .access-primary { min-height:50px; border-radius:14px; font-size:14px; font-family:Rubik,sans-serif; padding:1px 6px; }
.share-preview-image { display:block; width:100%; height:auto; aspect-ratio:1200/628; object-fit:contain; }
.gift-check-access-card .referral-progress > div { gap:10px; }
.gift-check-access-card .referral-progress b { flex-shrink:0; }
.gift-check-access-card #giftCheckConditions { margin:11px 0 8px; }
#giftCheckPrizeMessage[hidden] { display:none; }
/* Keep the invitation reachable on small Telegram viewports. Only the
   requirement/banner body scrolls, not the header or primary action. */
#accessModal .access-card,#giftCheckModal .access-card { display:flex; flex-direction:column; max-height:var(--ne-dialog-height,calc(100dvh - 36px)); overflow:hidden; }
.access-card .access-head { flex-shrink:0; }
.access-gift-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.access-gift-body > .access-step:first-child[hidden] + .access-step { margin-top:0; }
.access-card > .access-gift-body { margin-top:17px; }
.access-invitation-actions { display:grid; gap:7px; flex-shrink:0; margin-top:12px; padding:0; }
.access-invitation-actions .access-primary { width:100%; }
.stars-checkout-notice{position:fixed;z-index:1800;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translate(-50%,8px);width:max-content;max-width:calc(100vw - 32px);padding:11px 16px;border:1px solid #a7ff242b;border-radius:16px;background:#151811f5;color:#f1f7e9;font-size:13px;font-weight:600;text-align:center;box-shadow:0 6px 25px #0006;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s}
.stars-checkout-notice.show{opacity:1;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){.stars-checkout-notice{transition:none}}
