/* VoltUp Arena — final visual layer over platform.css.
   Visuals and motion only: layout of the upgrade flow, chances and outcomes stay unchanged. */

@property --chance { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --bg: #07080d;
  --surface: #12141d;
  --surface-2: #181b27;
  --surface-3: #212536;
  --lime: #c8ff3d;
  --lime-hi: #e4ff8f;
  --lime-lo: #9ee81f;
  --violet: #a98cff;
  --violet-deep: #6d4bd8;
  --text: #f5f6fb;
  --muted: #8d96ab;
  --edge: #ffffff0f;
  --edge-hi: #ffffff1f;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --glow-lime: 0 10px 34px -10px #c8ff3daa;
  --glow-violet: 0 10px 34px -12px #8b5cffaa;
  --frame: linear-gradient(150deg, #ffffff24, #ffffff07 38%, #ffffff04 62%, #c8ff3d1c);
}

/* ---------- Base & atmosphere ---------- */
html { background: var(--bg); }
html body {
  background:
    radial-gradient(1100px 520px at 50% -180px, #6d4bd82e, transparent 70%),
    radial-gradient(700px 380px at 12% 8%, #c8ff3d0d, transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
html body .ambient {
  display: block;
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: none;
  opacity: 1;
  will-change: transform;
}
html body .ambient-one {
  width: 720px; height: 720px; left: -260px; top: 120px;
  background: radial-gradient(closest-side, #8b5cff22, transparent);
  animation: arena-drift-a 26s ease-in-out infinite alternate;
}
html body .ambient-two {
  width: 820px; height: 820px; right: -340px; top: 420px;
  background: radial-gradient(closest-side, #c8ff3d14, transparent);
  animation: arena-drift-b 32s ease-in-out infinite alternate;
}
@keyframes arena-drift-a { to { transform: translate3d(140px, 90px, 0) scale(1.1); } }
@keyframes arena-drift-b { to { transform: translate3d(-160px, -120px, 0) scale(.92); } }

::selection { background: var(--lime); color: #131b03; }
html { scrollbar-color: #2c3245 transparent; }

/* ---------- Loader ---------- */
html body .site-loader {
  background: radial-gradient(600px 400px at 50% 45%, #6d4bd833, transparent 70%), var(--bg);
}
html body .site-loader-brand img { animation: arena-loader-mark 1.6s var(--ease) infinite; filter: drop-shadow(0 0 22px #c8ff3d55); }
html body .site-loader-track { width: 200px; height: 4px; background: #1b1f2c; }
html body .site-loader-track i { background: linear-gradient(90deg, transparent, var(--lime), var(--lime-hi)); box-shadow: 0 0 14px #c8ff3d99; }
@keyframes arena-loader-mark { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.04); } }

/* ---------- Header ---------- */
html body .site-header {
  background: #090b12c7;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid #ffffff0b;
  transition: box-shadow .3s, background .3s;
}
html body .site-header.is-scrolled { background: #090b12ec; box-shadow: 0 12px 40px -18px #000c; }
html body .brand-name { letter-spacing: -1.2px; }
html body .brand-name span { color: var(--lime); text-shadow: 0 0 18px #c8ff3d66; }
html body .brand-mark { filter: drop-shadow(0 0 10px #c8ff3d55); transition: transform .4s var(--ease); }
html body .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

html body .main-nav {
  position: relative;
  background: #ffffff06;
  border: 1px solid #ffffff0a;
  border-radius: 14px;
  padding: 4px;
}
html body .main-nav a, html body .main-nav .nav-button {
  position: relative; z-index: 1;
  color: #aab3c6;
  transition: color .25s, background .25s;
}
html body .main-nav a:hover, html body .main-nav .nav-button:hover { color: #fff; background: #ffffff0a; }
html body .main-nav.has-indicator a.active, html body .main-nav.has-indicator a.active:hover { background: transparent; color: #141c03; }
html body .main-nav .nav-indicator {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 55%, var(--lime-lo));
  box-shadow: 0 6px 22px -6px #c8ff3dcc, inset 0 1px 0 #ffffffa0;
  transition: transform .42s var(--ease), width .42s var(--ease), opacity .2s;
  pointer-events: none;
}
html body .main-nav .nav-icon { transition: transform .3s var(--ease); }
html body .main-nav a:hover .nav-icon { transform: scale(1.12) rotate(-6deg); }

html body .balance-box {
  position: relative;
  border: 1px solid #a98cff47;
  background: linear-gradient(135deg, #2b1f55, #1a1530 70%);
  box-shadow: var(--glow-violet), inset 0 1px 0 #ffffff14;
  transition: transform .25s var(--ease), box-shadow .25s;
}
html body .balance-box:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px #8b5cffcc, inset 0 1px 0 #ffffff1c; }
html body .balance-box.is-up strong { animation: arena-balance-up .9s var(--ease); }
html body .balance-box.is-down strong { animation: arena-balance-down .6s var(--ease); }
@keyframes arena-balance-up { 0% { color: var(--lime); text-shadow: 0 0 16px #c8ff3d; } 100% { color: inherit; text-shadow: none; } }
@keyframes arena-balance-down { 0% { color: #c9b8ff; } 100% { color: inherit; } }
html body .balance-delta {
  position: absolute; right: 10px; top: 100%;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  font: 800 12px Manrope, sans-serif;
  white-space: nowrap;
  pointer-events: none;
  animation: arena-delta 1.4s var(--ease-out) forwards;
}
html body .balance-delta.up { color: #142003; background: var(--lime); box-shadow: 0 6px 18px -6px #c8ff3d; }
html body .balance-delta.down { color: #e5dcff; background: #3a2c6b; }
@keyframes arena-delta { 0% { opacity: 0; transform: translateY(6px) scale(.9); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

html body .deposit-icon {
  position: relative;
  border: 0;
  color: #152003;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 50%, var(--lime-lo));
  box-shadow: var(--glow-lime), inset 0 1px 0 #ffffffb0;
  transition: transform .25s var(--ease), box-shadow .25s;
}
html body .deposit-icon svg { stroke: currentColor; }
html body .deposit-icon::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  border: 2px solid var(--lime);
  opacity: 0;
  animation: arena-ping 3.6s var(--ease-out) infinite;
  pointer-events: none;
}
html body .deposit-icon:hover { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 14px 34px -8px #c8ff3dee, inset 0 1px 0 #fff; }
@keyframes arena-ping { 0%, 62% { opacity: 0; transform: scale(1); } 66% { opacity: .9; } 100% { opacity: 0; transform: scale(1.55); } }

html body .header-actions .login-button,
html body .login-button {
  position: relative; overflow: hidden;
  color: #142003;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 50%, var(--lime-lo));
  box-shadow: var(--glow-lime), inset 0 1px 0 #ffffffb0;
}
html body .login-button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, #ffffffa6 50%, transparent 70%); transform: translateX(-120%); animation: arena-shine 4.2s ease-in-out infinite 1s; pointer-events: none; }
html body .icon-button, html body .profile-button { background: #ffffff08; border: 1px solid #ffffff0d; transition: background .2s, transform .25s var(--ease); }
html body .icon-button:hover, html body .profile-button:hover { background: #ffffff12; transform: translateY(-1px); }

/* ---------- Live strip ---------- */
html body .live-strip {
  height: 66px;
  background: linear-gradient(180deg, #0b0d15, #090b11);
  border-bottom: 1px solid #ffffff09;
}
html body .live-title {
  flex: 0 0 104px; min-width: 104px;
  color: var(--lime);
  font: 800 10px Manrope, sans-serif;
  letter-spacing: .14em;
  border-right: 1px solid #ffffff0a;
  text-shadow: 0 0 14px #c8ff3d77;
}
html body .live-title i { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 0 0 #c8ff3d; animation: arena-live-dot 1.6s infinite; }
@keyframes arena-live-dot { 0% { box-shadow: 0 0 0 0 #c8ff3daa; } 100% { box-shadow: 0 0 0 9px #c8ff3d00; } }
html body .live-viewport { scrollbar-width: none; mask: linear-gradient(90deg, #000 88%, transparent); -webkit-mask: linear-gradient(90deg, #000 88%, transparent); }
html body .live-viewport::-webkit-scrollbar { display: none; }
html body .live-track { gap: 6px; padding: 6px; height: 100%; }
html body .live-item {
  --rarity: #a98cff;
  position: relative;
  display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 8px;
  min-width: 188px; height: 100%;
  padding: 0 12px 0 8px;
  border: 0; border-radius: 11px;
  background:
    radial-gradient(90px 60px at 22% 120%, color-mix(in srgb, var(--rarity) 55%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--rarity) 18%, #12141d), #10121a);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--rarity) 85%, transparent), inset 0 0 0 1px #ffffff09;
  overflow: hidden;
  transition: transform .3s var(--ease);
}
html body .live-item::before { display: none; }
html body .live-item:hover { transform: translateY(-2px); }
html body .live-item img { width: 46px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 10px #0009); transition: transform .35s var(--ease); }
html body .live-item:hover img { transform: scale(1.12) rotate(-4deg); }
html body .live-item small { color: #c3c9d8; font-size: 9px; }
html body .live-item b { color: #fff; font-size: 11px; }
html body .live-item em { color: #d6c9ff; font-size: 10px; font-weight: 700; }
html body .live-item[data-win="0"] { filter: saturate(.35); opacity: .62; }

/* ---------- Upgrade stage ---------- */
html body .stage-title h1 {
  font: 800 32px Manrope, sans-serif;
  letter-spacing: -1.2px;
  background: linear-gradient(180deg, #fff 30%, #b8c0d6);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
html body .stage-title { align-items: center; gap: 14px; }
html body .stage-title h1 { padding-right: 2px; }
html body .stage-status { border-color: #c8ff3d2e; background: #c8ff3d0d; color: #d7f59b; white-space: nowrap; }
html body .stage-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; margin-right: 6px; box-shadow: 0 0 8px var(--lime); animation: arena-blink 2s ease-in-out infinite; }
@keyframes arena-blink { 50% { opacity: .35; } }

html body .upgrade-workspace > .item-panel,
html body .game-inventory,
html body .target-picker-inline .target-picker-shell,
html body .multiplier-control,
html body .mobile-stake-panel,
html body .mobile-quick-panel {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #151824, #10121a) padding-box, var(--frame) border-box;
  box-shadow: 0 24px 60px -34px #000, inset 0 1px 0 #ffffff08;
}
html body .upgrade-workspace > .item-panel { transition: transform .35s var(--ease), box-shadow .35s; }
html body .upgrade-workspace > .item-panel:hover { box-shadow: 0 30px 70px -34px #000, inset 0 1px 0 #ffffff0c; }
html body .step-label { color: var(--lime); opacity: .8; letter-spacing: .16em; font-weight: 800; }
html body .panel-topline h2 { font-weight: 800; }
html body .small-link { color: #c7cee0; border-radius: 8px; padding: 6px 9px; background: #ffffff08; transition: background .2s, color .2s; }
html body .small-link:hover { background: #c8ff3d16; color: var(--lime); }

/* Empty states: stacked chevrons, down for the stake and up for the target. */
html body .stake-addon-picker,
html body .selected-target {
  border: 1px solid #ffffff0b;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, var(--skin-glow, #8b5cff10), transparent 72%),
    repeating-linear-gradient(135deg, #ffffff03 0 2px, transparent 2px 9px),
    #0d0f16;
  transition: border-color .25s, background-color .25s;
}
html body .stake-addon-picker:hover, html body .selected-target:hover { border-color: #ffffff1c; }
html body .source-addon-empty, html body .target-empty { position: relative; isolation: isolate; }
html body .source-addon-empty::before, html body .target-empty::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 118px; height: 118px;
  margin: -66px 0 0 -59px;
  z-index: -1;
  opacity: .5;
  background: center/contain no-repeat;
  animation: arena-chevrons 2.2s ease-in-out infinite;
  pointer-events: none;
}
html body .target-empty::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23c8ff3d' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 22 30 10l16 12' opacity='.85'/%3E%3Cpath d='M14 36 30 24l16 12' opacity='.5'/%3E%3Cpath d='M14 50 30 38l16 12' opacity='.22'/%3E%3C/svg%3E"); }
html body .source-addon-empty::before { --dir: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23a98cff' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 10 30 22l16-12' opacity='.22'/%3E%3Cpath d='M14 24 30 36l16-12' opacity='.5'/%3E%3Cpath d='M14 38 30 50l16-12' opacity='.85'/%3E%3C/svg%3E"); animation-name: arena-chevrons-down; }
@keyframes arena-chevrons { 0%, 100% { transform: translateY(6px); opacity: .28; } 50% { transform: translateY(-6px); opacity: .6; } }
@keyframes arena-chevrons-down { 0%, 100% { transform: translateY(-6px); opacity: .28; } 50% { transform: translateY(6px); opacity: .6; } }
html body .source-addon-empty i, html body .target-empty i {
  width: 48px; height: 48px;
  border-radius: 14px;
  font-style: normal;
  color: var(--lime);
  border: 1px solid #c8ff3d40;
  background: #0d0f16d9;
  box-shadow: 0 0 0 6px #c8ff3d08, 0 10px 26px -10px #c8ff3d88;
  transition: transform .3s var(--ease), box-shadow .3s;
}
html body .source-addon-empty i { color: var(--violet); border-color: #a98cff45; box-shadow: 0 0 0 6px #a98cff08, 0 10px 26px -10px #8b5cff88; }
html body .stake-addon-picker:hover .source-addon-empty i,
html body .selected-target:hover .target-empty i { transform: scale(1.08) rotate(90deg); }

/* Selected items float gently above a rarity-coloured floor glow. */
html body .selected-target { overflow: hidden; }
html body .selected-target::after {
  display: block !important; content: '';
  position: absolute; left: 18%; right: 18%; bottom: 26%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--skin-glow, transparent), transparent), radial-gradient(closest-side, var(--skin-glow, transparent), transparent);
  pointer-events: none;
  z-index: 0;
}
html body .selected-target img, html body .source-addon-selected img {
  position: relative; z-index: 1;
  animation: arena-float 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px #000a);
}
@keyframes arena-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
html body .selected-target h3 { position: relative; z-index: 1; font-weight: 800; }
html body .selected-target .wear-tag, html body .selected-target .rarity-tag { z-index: 2; }
html body .target-price-line strong { font-weight: 800; }
html body .stake-items button { border-radius: 9px; background: #1d2130; transition: background .2s, transform .2s var(--ease); }
html body .stake-items button:hover { background: #3a2140; transform: translateY(-1px); }

/* ---------- Wheel ---------- */
html body .wheel-wrap {
  --chance: 0;
  isolation: isolate;
  display: grid; place-items: center;
  transition: --chance .55s var(--ease);
}
html body .wheel-wrap::before {
  display: block !important;
  content: '';
  position: absolute; inset: -30px; z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #c8ff3d1a, #8b5cff14 52%, transparent 74%),
    repeating-conic-gradient(from 0deg, #ffffff0c 0 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask: radial-gradient(closest-side, #000 55%, transparent 100%);
  animation: arena-spin 70s linear infinite;
  pointer-events: none;
}
html body .wheel-wrap::after {
  display: block !important;
  content: '';
  position: absolute; inset: 18px; z-index: 9;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0;
  pointer-events: none;
}
html body .wheel-wrap[data-result="win"]::after { animation: arena-shock .9s var(--ease-out); }
html body .wheel-wrap[data-result="loss"] { animation: arena-nudge .38s ease-in-out; }
@keyframes arena-spin { to { transform: rotate(360deg); } }
@keyframes arena-shock { 0% { opacity: .95; transform: scale(.85); box-shadow: 0 0 30px #c8ff3d; } 100% { opacity: 0; transform: scale(1.22); box-shadow: 0 0 0 #c8ff3d00; } }
@keyframes arena-nudge { 25% { transform: translateX(-4px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }

/* Outer segmented track: segments inside the winning zone light up. */
html body .wheel-ticks {
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--lime-hi) 0, var(--lime) calc(var(--chance) * 1%), #ffffff22 calc(var(--chance) * 1%));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px), #000 calc(100% - 2px), transparent calc(100% - 1px)), repeating-conic-gradient(#000 0 3.4deg, transparent 3.4deg 5deg);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px), #000 calc(100% - 2px), transparent calc(100% - 1px)) intersect, repeating-conic-gradient(#000 0 3.4deg, transparent 3.4deg 5deg);
}
html body .wheel-glow {
  position: absolute; left: 50%; top: 50%;
  width: 262px; height: 262px; margin: -131px 0 0 -131px;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #c8ff3d 0, #c8ff3d calc(var(--chance) * 1%), transparent calc(var(--chance) * 1%));
  -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 86%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 72%, #000 86%, transparent 100%);
  filter: blur(9px);
  opacity: .5;
  pointer-events: none;
  transition: opacity .4s;
}
html body .wheel-wrap.is-spinning .wheel-glow { opacity: .75; }
html body .wheel-wrap[data-result="loss"] .wheel-glow { opacity: .15; }

html body .chance-ring {
  z-index: 1;
  padding: 14px;
  background:
    conic-gradient(from 0deg,
      var(--lime-hi) 0,
      var(--lime) calc(var(--chance) * .55%),
      var(--lime-lo) calc(var(--chance) * 1%),
      #2a2045 calc(var(--chance) * 1%),
      #1d1730 100%);
  box-shadow: 0 0 0 1px #ffffff0a, 0 0 50px -12px #8b5cff55;
  transition: --chance .55s var(--ease), box-shadow .3s, filter .4s;
}
html body .chance-ring::before {
  inset: 14px;
  background:
    radial-gradient(closest-side, #0e1017 85%, transparent 86%),
    repeating-conic-gradient(from 0deg, #ffffff1c 0 .6deg, transparent .6deg 7.5deg),
    #0e1017;
}
html body .wheel-wrap.is-spinning .chance-ring { filter: brightness(1.12) saturate(1.1); }
html body .wheel-wrap[data-result="win"] .chance-ring { animation: arena-arc-flash .9s ease-out; box-shadow: 0 0 0 1px #c8ff3d66, 0 0 60px -6px #c8ff3daa; }
html body .wheel-wrap[data-result="loss"] .chance-ring { filter: saturate(.35) brightness(.78); }
@keyframes arena-arc-flash { 0% { filter: brightness(1.8); } 100% { filter: brightness(1); } }

html body .ring-core {
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 18%, #262c40, #12151f 62%, #0c0e15);
  border: 1px solid #ffffff12;
  box-shadow: inset 0 2px 0 #ffffff0d, inset 0 -18px 40px #0007, 0 12px 40px -10px #000;
}
html body .ring-core::before {
  content: '';
  position: absolute; inset: 9px; z-index: -1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #ffffff12 0 1.5deg, transparent 1.5deg 10deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: arena-spin 40s linear infinite reverse;
  pointer-events: none;
}
html body .ring-core::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 300deg, #c8ff3d26 360deg);
  opacity: 0;
  transition: opacity .3s;
  animation: arena-spin 1s linear infinite;
  pointer-events: none;
}
html body .wheel-wrap.is-spinning .ring-core::after,
html body .wheel-wrap[data-phase="preparing"] .ring-core::after { opacity: 1; }
html body .ring-core .wheel-core-brand { color: #c8ff3d99; letter-spacing: .32em; }
html body .ring-core strong {
  font: 800 38px Manrope, sans-serif !important;
  letter-spacing: -1.8px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 35%, #c9d0e2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
html body .ring-core small { color: var(--lime); font-weight: 800; letter-spacing: .02em; text-shadow: 0 0 12px #c8ff3d55; }
html body .wheel-wrap[data-phase="preparing"] .ring-core strong { animation: arena-blink .8s ease-in-out infinite; }

/* Rotating pointer with an arrow, a glow and a short motion trail. */
html body .wheel-pointer { z-index: 7; filter: none; will-change: transform; }
html body .wheel-wrap .wheel-pointer::before {
  content: '';
  top: -5px; left: 50%;
  width: 30px; height: 36px;
  border: 0;
  clip-path: none;
  filter: none;
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 52'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23e4ff8f'/%3E%3Cstop offset='1' stop-color='%23b4f02c'/%3E%3C/linearGradient%3E%3Cfilter id='f' x='-60%25' y='-60%25' width='220%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='3.2'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M9 8h26L22 38Z' fill='%23c8ff3d' opacity='.85' filter='url(%23f)'/%3E%3Cpath d='M9 8h26L22 38Z' fill='url(%23g)' stroke='%230b0e14' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body .wheel-wrap .wheel-pointer::after {
  display: block !important;
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -64deg, transparent 0deg, #c8ff3d00 6deg, #c8ff3d70 62deg, transparent 64deg);
  -webkit-mask: radial-gradient(closest-side, transparent 74%, #000 77%, #000 89%, transparent 92%);
  mask: radial-gradient(closest-side, transparent 74%, #000 77%, #000 89%, transparent 92%);
  opacity: 0;
  transition: opacity .35s;
}
html body .wheel-wrap.is-spinning .wheel-pointer::after { opacity: 1; }
html body .wheel-wrap[data-phase="result"] .wheel-pointer::before { animation: arena-arrow-pop .45s var(--ease); }
@keyframes arena-arrow-pop { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%) scale(1); } }

/* Round result inside the wheel. */
html body .result-flash {
  inset: 30px;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  padding: 18px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ffffff12;
  background: #0f1119f2;
  box-shadow: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(.82);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
html body .result-flash.show {
  visibility: visible;
  opacity: 1;
  transform: none;
  animation: arena-result-in .5s var(--ease-out) both !important;
  transition: opacity .2s, transform .2s;
}
@keyframes arena-result-in { 0% { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.04); } 100% { transform: none; } }
html body .result-flash.win {
  --rarity: var(--lime);
  color: #fff;
  border-color: #c8ff3d70;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rarity) 45%, transparent), transparent 62%),
    radial-gradient(circle at 50% 100%, #c8ff3d30, transparent 60%),
    #0e130b;
  box-shadow: 0 0 60px -10px #c8ff3daa, inset 0 0 30px #c8ff3d22;
}
html body .result-flash.win::before {
  content: '';
  position: absolute; inset: -6%; z-index: -1;
  border-radius: 50%;
  background: repeating-conic-gradient(#c8ff3d2a 0 8deg, transparent 8deg 24deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: arena-spin 9s linear infinite;
}
html body .result-flash .result-art { display: block; width: 150px; max-width: 100%; height: 86px; margin-bottom: 2px; }
html body .result-flash .result-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px #000b); animation: arena-pop-in .6s var(--ease-out) .08s both; }
@keyframes arena-pop-in { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 100% { opacity: 1; transform: none; } }
html body .result-flash .result-symbol { font: 800 30px Manrope, sans-serif; line-height: 1; }
html body .result-flash.win .result-symbol { display: none; }
html body .result-flash strong { font: 800 17px Manrope, sans-serif; letter-spacing: .04em; }
html body .result-flash.win strong { color: var(--lime); text-shadow: 0 0 18px #c8ff3d88; }
html body .result-flash small { font-size: 10px; color: #b8c0d2; }
html body .result-flash .result-item { display: block; max-width: 100%; color: #fff; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .result-flash.loss { color: #fff; border-color: #a98cff30; background: radial-gradient(circle at 50% 30%, #2a2148, #12101b 70%); }
html body .result-flash.loss .result-symbol { color: #a497c9; }
html body .result-flash.loss strong { color: #ddd6f5; }

/* Win confetti and screen flash. */
html body .confetti { display: block; position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
html body .confetti i { top: -24px; width: 8px; height: 14px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 60%, transparent); animation: confettiFall var(--d) cubic-bezier(.2, .6, .4, 1) forwards; }
html body .confetti i:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; }
html body .confetti i:nth-child(4n) { width: 5px; height: 18px; }
.arena-flash { position: fixed; inset: 0; z-index: 89; pointer-events: none; opacity: 0; background: radial-gradient(900px 600px at 50% 40%, #c8ff3d2e, transparent 70%); }
.arena-flash.go { animation: arena-flash 1s ease-out; }
@keyframes arena-flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Controls ---------- */
@media (min-width: 761px) {
  html body .spin-button { position: relative; }
}
html body .spin-button {
  overflow: hidden;
  isolation: isolate;
  height: 62px;
  border: 0;
  border-radius: 14px;
  color: #131b03;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 48%, var(--lime-lo));
  box-shadow: 0 16px 40px -14px #c8ff3dcc, inset 0 1px 0 #ffffffc0, inset 0 -3px 0 #00000026;
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
html body .spin-button span { font: 800 16px Manrope, sans-serif; letter-spacing: .12em; }
html body .spin-button small { color: #1d2908; opacity: .85; font-weight: 750; }
html body .spin-button::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 32%, #ffffffb3 50%, transparent 68%);
  transform: translateX(-120%);
  animation: arena-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
html body .spin-button:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 22px 46px -14px #c8ff3dee, inset 0 1px 0 #fff, inset 0 -3px 0 #00000026; }
html body .spin-button:not(:disabled):active { transform: translateY(1px) scale(.985); }
html body .spin-button:disabled { background: linear-gradient(180deg, #252a39, #1d2130); color: #7a849a; box-shadow: inset 0 1px 0 #ffffff0d; }
html body .spin-button:disabled small { color: #6f7990; }
html body .spin-button:disabled::after { display: none; }
html body .wheel-wrap.is-spinning ~ .spin-button,
html body .upgrade-workspace:has(.wheel-wrap.is-spinning) .spin-button { filter: saturate(.7); }
@keyframes arena-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

html body .target-preset-grid button, html body .mobile-preset-grid button {
  background: #1b1f2c;
  border: 1px solid #ffffff0b;
  color: #cfd6e6;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
html body .target-preset-grid button:not(:disabled):hover, html body .mobile-preset-grid button:not(:disabled):hover { transform: translateY(-2px); border-color: #c8ff3d40; color: #fff; }
html body .target-preset-grid button.active, html body .mobile-preset-grid button.active,
html body .upgrade-workspace .mobile-preset-grid button.active {
  color: #142003;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime));
  border-color: transparent;
  box-shadow: 0 8px 20px -8px #c8ff3dcc;
}
html body .target-panel .button-muted { background: #1d2231; transition: background .2s, transform .2s var(--ease); }
html body .target-panel .button-muted:hover { background: #262c3f; transform: translateY(-1px); }
html body .exact-stake { background: #0c0e15; border-color: #ffffff0d; transition: border-color .2s, box-shadow .2s; }
html body .exact-stake:focus-within { border-color: #c8ff3d66; box-shadow: 0 0 0 4px #c8ff3d14; }

html body input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--lime-lo), var(--lime) var(--stake-progress, var(--range-progress, 0%)), #262b3b 0); }
html body input[type=range]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; background: radial-gradient(circle at 40% 35%, #fff, var(--lime) 60%); border: 0; box-shadow: 0 0 0 5px #c8ff3d1f, 0 0 16px #c8ff3d99; transition: transform .2s var(--ease); }
html body input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
html body input[type=range]::-moz-range-track { height: 6px; background: #262b3b; }
html body input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--lime-lo), var(--lime)); }
html body input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--lime); box-shadow: 0 0 0 5px #c8ff3d1f, 0 0 14px #c8ff3d99; }
html body .multiplier-head strong { text-shadow: 0 0 12px #c8ff3d55; }
html body .stage-tools button { background: #ffffff07; border-color: #ffffff0b; transition: background .2s, color .2s, transform .2s var(--ease); }
html body .stage-tools button:hover { background: #ffffff10; color: #fff; transform: translateY(-1px); }

/* ---------- Item cards (inventory and catalog) ---------- */
html body .game-item,
html body .target-skin-option,
html body .inventory-item {
  --rarity: #a98cff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff0a;
  background:
    radial-gradient(120% 70% at 50% 118%, color-mix(in srgb, var(--rarity) 34%, transparent), transparent 62%),
    radial-gradient(70% 50% at 50% 38%, color-mix(in srgb, var(--rarity) 12%, transparent), transparent 75%),
    linear-gradient(180deg, #151822, #0f1118);
  transition: transform .3s var(--ease), border-color .25s, box-shadow .3s;
}
html body .game-item::before,
html body .target-skin-option::before,
html body .inventory-item::before {
  content: '';
  position: absolute; left: 14%; right: 14%; bottom: 0; top: auto;
  height: 2px; inset-inline: 14%;
  z-index: 0;
  border-radius: 2px;
  background: var(--rarity);
  box-shadow: 0 0 14px 1px var(--rarity);
  opacity: .85;
  filter: none;
  transition: inset-inline .3s var(--ease), opacity .3s;
}
html body .target-skin-option img,
html body .game-item img,
html body .inventory-item img { transition: scale .35s var(--ease), rotate .35s var(--ease); }
@media (hover: hover) {
  html body .game-item:hover,
  html body .target-skin-option:hover,
  html body .inventory-item:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--rarity) 50%, transparent);
    box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--rarity) 80%, transparent);
  }
  html body .game-item:hover::before,
  html body .target-skin-option:hover::before,
  html body .inventory-item:hover::before { inset-inline: 4%; opacity: 1; }
  html body .target-skin-option:hover img,
  html body .game-item:hover img,
  html body .inventory-item:hover img { scale: 1.09; rotate: -4deg; }
}
html body .game-item.selected,
html body .target-skin-option.selected {
  border-color: #c8ff3d8c;
  box-shadow: inset 0 0 0 1px #c8ff3d40, 0 0 24px -8px #c8ff3d88;
}
html body .game-item.selected::after { background: var(--lime); box-shadow: 0 0 12px #c8ff3d; }
html body .target-option-price, html body .game-item .vcoin-price {
  padding: 3px 8px;
  border-radius: 8px;
  background: #a98cff17;
  color: #ded3ff;
  font-weight: 800;
}
html body .wear-chip { background: #0a0c12b3; border: 1px solid #ffffff0d; }
html body .favorite-toggle { transition: transform .25s var(--ease), color .2s; }
html body .favorite-toggle:hover { transform: scale(1.2); }
html body .favorite-toggle.active { color: var(--lime); text-shadow: 0 0 10px #c8ff3d; }

/* Staggered entrance for freshly rendered cards (class set by arena.js). */
html body .arena-in { animation: arena-card-in .42s var(--ease-out) both !important; animation-delay: calc(min(var(--i, 0), 16) * 24ms) !important; }
@keyframes arena-card-in { 0% { opacity: 0; transform: translateY(12px) scale(.97); } 100% { opacity: 1; transform: none; } }

html body .target-kind-filters button { transition: background .2s, color .2s; }
html body .target-kind-filters button.active { background: linear-gradient(180deg, var(--lime-hi), var(--lime)); box-shadow: 0 6px 16px -8px #c8ff3d; }
html body .target-picker-search, html body .target-picker-price, html body .target-sort-trigger, html body .catalog-extra-filters select { background: #0c0e15; transition: border-color .2s, box-shadow .2s; }
html body .target-picker-search:focus-within, html body .target-picker-price:focus-within { border-color: #c8ff3d55; box-shadow: 0 0 0 4px #c8ff3d10; }
html body .target-picker-more, html body .catalog-open-button { background: #1b1f2c; border: 1px solid #ffffff0d; transition: background .2s, transform .2s var(--ease); }
html body .target-picker-more:hover { background: #242a3a; transform: translateY(-1px); }

/* ---------- Last round, history, pages ---------- */
html body .last-round {
  border: 1px solid transparent;
  background: linear-gradient(120deg, #161926, #10121a) padding-box, var(--frame) border-box;
  animation: arena-card-in .45s var(--ease-out);
}
html body .last-round.is-win {
  background: radial-gradient(400px 120px at 10% 50%, #c8ff3d1f, transparent 70%), linear-gradient(120deg, #161926, #10121a) padding-box, linear-gradient(120deg, #c8ff3d77, #ffffff08 50%) border-box;
}
html body .last-round img { filter: drop-shadow(0 8px 14px #0009); }
html body .last-round .round-link { background: #ffffff0a; transition: background .2s; }
html body .last-round .round-link:hover { background: #c8ff3d18; color: var(--lime); }

html body .ledger-row { position: relative; overflow: hidden; border-color: #ffffff0a; background: linear-gradient(90deg, #151824, #10121a); transition: transform .25s var(--ease), border-color .2s; }
html body .ledger-row::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #6d5aa8; }
html body .ledger-row.is-win::before { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
html body .ledger-row:hover { transform: translateX(3px); border-color: #ffffff16; }

html body .battle-card, html body .development-card, html body [data-account-links], html body .economics-panel, html body .trade-url-card, html body .payment-test-card {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #151824, #10121a) padding-box, var(--frame) border-box;
}
html body .battle-card { transition: transform .3s var(--ease), box-shadow .3s; }
html body .battle-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px #8b5cffaa; }
html body .vip-tiers article { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
html body .vip-tiers article::after { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tier, #cd8a4c); box-shadow: 0 0 18px var(--tier, #cd8a4c); }
html body .vip-tiers article:nth-child(1) { --tier: #d98b4a; }
html body .vip-tiers article:nth-child(2) { --tier: #cfd8ea; }
html body .vip-tiers article:nth-child(3) { --tier: #ffcf4a; }
html body .vip-tiers article:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px var(--tier); }
html body .vip-tiers article span { color: var(--tier); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html body .platform-page h1, html body .inventory-intro h2, html body .section-heading h2 { letter-spacing: -1px; }
html body .button-accent { background: linear-gradient(180deg, var(--lime-hi), var(--lime) 50%, var(--lime-lo)); color: #142003; box-shadow: var(--glow-lime), inset 0 1px 0 #ffffffb0; }
html body .button-accent:not(:disabled):hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Profile cards. */
html body .inventory-wallet-card, html body .inventory-account-card, html body .inventory-best-card, html body .inventory-stat-grid section {
  border: 1px solid transparent;
  background: linear-gradient(160deg, #171a27, #10121a) padding-box, var(--frame) border-box;
}
html body .inventory-wallet-card { background: radial-gradient(320px 160px at 90% 0%, #8b5cff33, transparent 70%), linear-gradient(160deg, #1b1830, #10121a) padding-box, linear-gradient(150deg, #a98cff55, #ffffff08 60%) border-box; }
html body .inventory-wallet-actions button:first-child, html body .profile-primary, html body #profilePaidDeposit {
  color: #142003;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 50%, var(--lime-lo));
  box-shadow: var(--glow-lime), inset 0 1px 0 #ffffffb0;
}

/* ---------- Dialogs ---------- */
html body .modal::backdrop { background: radial-gradient(800px 500px at 50% 30%, #2a1b5a66, transparent 70%), #04050acc; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html body .modal-card {
  border: 1px solid transparent;
  background: radial-gradient(500px 200px at 50% -60px, #8b5cff22, transparent 70%), linear-gradient(180deg, #171a27, #11131c) padding-box, var(--frame) border-box;
  box-shadow: 0 40px 100px -30px #000, 0 0 0 1px #00000040;
}
html body .modal-close { transition: transform .25s var(--ease), background .2s; }
html body .modal-close:hover { transform: rotate(90deg); background: #313a52; }
html body .payment-presets button, html body .deposit-presets button, html body .quick-deposit-presets button { transition: transform .2s var(--ease), border-color .2s, background .2s; }
html body .payment-presets button:hover, html body .deposit-presets button:hover { transform: translateY(-2px); border-color: #c8ff3d55; }
html body .payment-primary:not(:disabled), html body .deposit-submit, html body .coupon-submit {
  position: relative; overflow: hidden;
  color: #142003;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime) 50%, var(--lime-lo));
  box-shadow: var(--glow-lime), inset 0 1px 0 #ffffffb0;
}
html body .payment-methods button.active, html body .payment-methods button[aria-pressed="true"] { border-color: #c8ff3d66; box-shadow: 0 0 0 3px #c8ff3d14, 0 10px 24px -14px #c8ff3d; }
html body .auth-provider:not(:disabled) { transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }
html body .auth-provider:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ---------- Footer ---------- */
html body .site-footer { border-top-color: #ffffff09; }
html body .footer-socials a { background: #ffffff08; transition: background .2s, transform .25s var(--ease); }
html body .footer-socials a:hover { background: #c8ff3d1c; transform: translateY(-2px); }

/* ---------- Tablet & mobile ---------- */
/* Legacy styles.css hid the top menu below 1180px and floated the phone tab bar over the
   upgrade controls. Tablets and small laptops keep the top menu instead. */
@media (min-width: 761px) {
  html body .main-nav { display: flex; position: relative; inset: auto; box-shadow: none; }
  html body .mobile-tabs { display: none !important; }
  html body { padding-bottom: 0; }
}
/* polish.css also moved the wheel onto its own full-width row below 1180px; keep stake · wheel · target. */
@media (min-width: 761px) and (max-width: 1180px) {
  html body .upgrade-workspace,
  html body .upgrade-workspace.target-picker-active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 290px) minmax(0, 1fr); gap: 16px; }
  html body .upgrade-workspace > .source-panel,
  html body .upgrade-workspace > .wheel-panel,
  html body .upgrade-workspace > .target-panel { grid-column: auto; grid-row: auto; }
  html body .upgrade-workspace.target-picker-active > .source-panel { display: block; }
  html body .upgrade-workspace > .wheel-panel { min-height: 0; height: auto; }
}
/* Narrow tablets: wheel on top, stake and target side by side underneath. */
@media (min-width: 761px) and (max-width: 940px) {
  html body .upgrade-workspace,
  html body .upgrade-workspace.target-picker-active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .upgrade-workspace > .wheel-panel { grid-column: 1 / -1; grid-row: 1; width: min(420px, 100%); justify-self: center; }
  html body .upgrade-workspace > .source-panel { grid-column: 1; grid-row: 2; }
  html body .upgrade-workspace > .target-panel { grid-column: 2; grid-row: 2; }
}
@media (min-width: 761px) and (max-width: 940px) {
  html body .main-nav .nav-button { display: none; }
  html body .main-nav a { padding-inline: 8px; }
  html body .balance-box { min-width: 0; }
}
@media (max-width: 1050px) and (min-width: 761px) {
  html body .wheel-glow { width: 226px; height: 226px; margin: -113px 0 0 -113px; }
  html body .result-flash { inset: 26px; }
  html body .result-flash .result-art { width: 130px; height: 72px; }
}
@media (max-width: 760px) {
  html body .ambient { animation: none; }
  html body .ambient-two { display: none; }
  html body .live-strip { height: 58px; }
  html body .live-title { flex-basis: 62px; min-width: 62px; font-size: 8px; letter-spacing: .1em; }
  html body .live-item { min-width: 160px; grid-template-columns: 38px minmax(0, 1fr); padding: 0 9px 0 6px; }
  html body .live-item img { width: 38px; height: 34px; }
  html body .stage-title h1 { font-size: 23px; }
  html body .wheel-wrap::before { inset: -18px; }
  html body .wheel-glow { width: 204px; height: 204px; margin: -102px 0 0 -102px; filter: blur(7px); }
  html body .upgrade-workspace .chance-ring { padding: 11px; }
  html body .upgrade-workspace .chance-ring::before { inset: 11px; }
  html body .wheel-ticks { -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 calc(100% - 1px), transparent 100%), repeating-conic-gradient(#000 0 3.4deg, transparent 3.4deg 5deg); -webkit-mask-composite: source-in; mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 calc(100% - 1px), transparent 100%) intersect, repeating-conic-gradient(#000 0 3.4deg, transparent 3.4deg 5deg); }
  html body .upgrade-workspace .ring-core strong { font-size: 29px !important; }
  html body .ring-core::before { inset: 6px; }
  html body .upgrade-workspace .wheel-wrap .wheel-pointer::before { top: -4px; width: 24px; height: 29px; }
  html body .result-flash { inset: 22px; padding: 12px; }
  html body .result-flash .result-art { width: 112px; height: 58px; }
  html body .result-flash strong { font-size: 14px; }
  html body .result-flash small { font-size: 9px; }
  html body .upgrade-workspace .spin-button { height: 56px; border-radius: 14px; box-shadow: 0 14px 34px -10px #000, 0 10px 30px -14px #c8ff3dcc, inset 0 1px 0 #ffffffc0; }
  html body .upgrade-workspace .spin-button span { font-size: 14px; letter-spacing: .1em; }
  html body .upgrade-workspace .spin-button:disabled { box-shadow: 0 14px 34px -10px #000; border-color: #343b4e; }
  html body .mobile-tabs { background: #0b0d14eb; border-top-color: #ffffff0d; }
  html body .mobile-tabs a { transition: color .2s, background .2s; }
  html body .mobile-tabs a.active { color: var(--lime); background: radial-gradient(60px 40px at 50% 0%, #c8ff3d2a, transparent 70%); text-shadow: 0 0 10px #c8ff3d66; }
  html body .mobile-tabs a.active::before { content: ''; position: absolute; top: -7px; left: 28%; right: 28%; height: 2px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
  html body .mobile-tabs a { position: relative; }
  html body .selected-target img, html body .source-addon-selected img { animation-duration: 5s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html body .ambient, html body .wheel-wrap::before, html body .ring-core::before, html body .ring-core::after, html body .result-flash.win::before,
  html body .spin-button::after, html body .login-button::after, html body .deposit-icon::after { animation: none !important; }
  html body .confetti, .arena-flash { display: none !important; }
  html body .wheel-wrap, html body .chance-ring { transition: none; }
}
