
/* ==========================================================
   SPINORA — 3D WHEEL V1
   Visual layer only. No game logic.
   ========================================================== */


/* ===== STAGE ===== */

.wheel-zone {
  max-width: 370px !important;
  margin-top: 30px !important;
  margin-bottom: 30px !important;

  perspective: 1000px !important;

  filter:
    drop-shadow(0 28px 25px rgba(0,0,0,.34)) !important;
}


/* warm stage halo */

.glow {
  width: 94% !important;
  height: 94% !important;

  opacity: .72 !important;

  background:
    radial-gradient(
      circle,
      rgba(231,178,66,.17) 0%,
      rgba(129,34,64,.11) 45%,
      transparent 72%
    ) !important;

  filter: blur(38px) !important;
}


/* ==========================================================
   OUTER MACHINE BODY
   ========================================================== */

.wheel-shell {
  width: 92% !important;
  height: 92% !important;

  padding: 16px !important;

  overflow: visible !important;

  background:
    radial-gradient(
      circle at 31% 18%,
      #fff0a0 0%,
      #e0b44d 7%,
      #b87928 21%,
      #75401d 42%,
      #42211c 66%,
      #1b1013 100%
    ) !important;

  border-radius: 50% !important;

  box-shadow:
    /* exterior body */
    0 0 0 3px #120a0d,
    0 0 0 7px #553018,
    0 0 0 10px #b47b2d,
    0 0 0 12px #4b2818,
    0 0 0 15px #160c10,

    /* floating depth */
    0 10px 5px rgba(0,0,0,.28),
    0 25px 16px rgba(0,0,0,.38),
    0 42px 45px rgba(0,0,0,.45),

    /* warm light */
    0 0 25px rgba(220,165,54,.18),

    /* curved metal */
    inset 8px 8px 12px rgba(255,240,175,.48),
    inset -10px -13px 18px rgba(35,10,10,.53) !important;

  transform:
    rotateX(1deg) !important;
}


/* inner gold bevel */

.wheel-shell::after {
  content: "" !important;

  position: absolute !important;
  inset: 13px !important;

  z-index: 4 !important;

  border-radius: 50% !important;

  border:
    3px solid rgba(227,181,75,.70) !important;

  box-shadow:
    inset 0 4px 5px rgba(255,245,195,.28),
    inset 0 -7px 10px rgba(38,13,11,.44),
    0 2px 4px rgba(0,0,0,.48) !important;

  pointer-events: none !important;
}


/* ==========================================================
   ROTATING ENAMEL DISC
   ========================================================== */

.wheel {
  background:
    conic-gradient(
      #16855f 0deg 45deg,
      #b62e50 45deg 90deg,
      #237fb0 90deg 135deg,
      #c5a128 135deg 180deg,
      #62419a 180deg 225deg,
      #c46b22 225deg 270deg,
      #a83275 270deg 315deg,
      #319ba1 315deg 360deg
    ) !important;

  border:
    3px solid #9b6a2b !important;

  border-radius: 50% !important;

  filter:
    saturate(1.04)
    contrast(1.06) !important;

  box-shadow:
    /* raised enamel face */
    inset 0 7px 9px rgba(255,255,255,.17),
    inset 0 -18px 28px rgba(0,0,0,.22),
    inset 10px 0 22px rgba(255,255,255,.025),
    inset -12px 0 24px rgba(0,0,0,.08),

    /* physical disc shadow */
    0 3px 4px rgba(0,0,0,.62),
    0 8px 12px rgba(0,0,0,.30) !important;
}


/* GOLD SECTOR DIVIDERS */

.wheel::before {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;

  z-index: 3 !important;

  border-radius: 50% !important;

  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(248,211,112,.92) 0deg .40deg,
      rgba(86,46,22,.88) .40deg 1.15deg,
      transparent 1.15deg 45deg
    ) !important;

  filter:
    drop-shadow(1px 1px 1px rgba(0,0,0,.50)) !important;

  pointer-events: none !important;
}


/* GLASS / ENAMEL REFLECTION */

.wheel::after {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;

  z-index: 4 !important;

  border-radius: 50% !important;

  background:
    radial-gradient(
      ellipse at 29% 15%,
      rgba(255,255,255,.28) 0%,
      rgba(255,255,255,.12) 16%,
      transparent 34%
    ),

    radial-gradient(
      ellipse at 70% 77%,
      rgba(255,213,136,.06),
      transparent 28%
    ),

    radial-gradient(
      circle,
      transparent 0%,
      transparent 63%,
      rgba(0,0,0,.04) 72%,
      rgba(0,0,0,.28) 100%
    ) !important;

  pointer-events: none !important;
}


/* ==========================================================
   3D GOLD VALUES
   ========================================================== */

.label,
.l1,
.l2,
.l3,
.l4,
.l5,
.l6,
.l7,
.l8 {
  z-index: 8 !important;

  color:
    #ffe7a0 !important;

  font-size:
    16px !important;

  font-weight:
    950 !important;

  letter-spacing:
    -.3px !important;

  text-shadow:
    /* bevel */
    0 -1px 0 rgba(255,250,210,.68),

    /* bronze extrusion */
    0 1px 0 #a66e27,
    0 2px 0 #72421d,
    0 3px 1px #432414,

    /* physical shadow */
    0 5px 5px rgba(0,0,0,.55),

    /* subtle light */
    0 0 4px rgba(255,218,116,.18) !important;
}


/* ==========================================================
   MARQUEE BULBS
   ========================================================== */

.bulb-ring {
  z-index: 9 !important;
}

.bulb-ring i {
  background:
    radial-gradient(
      circle at 30% 23%,
      #ffffff 0%,
      #fffbd7 14%,
      #f6d66e 38%,
      #c78227 68%,
      #6b3818 100%
    ) !important;

  border:
    1px solid rgba(91,49,20,.55) !important;

  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,.95),
    inset -2px -2px 3px rgba(91,45,16,.45),

    0 2px 2px rgba(0,0,0,.72),

    0 0 5px rgba(255,242,181,.95),
    0 0 11px rgba(242,191,70,.65),
    0 0 18px rgba(207,122,35,.24) !important;
}


/* ==========================================================
   CENTER — PHYSICAL MEDALLION
   ========================================================== */

.hub {
  width: 29% !important;
  height: 29% !important;

  background:
    radial-gradient(
      circle at 31% 20%,
      #76502d 0%,
      #4c2730 15%,
      #2b151d 45%,
      #130b10 74%,
      #070609 100%
    ) !important;

  border:
    3px solid #d1a242 !important;

  box-shadow:
    /* multiple metal lips */
    0 0 0 2px #4c251e,
    0 0 0 5px #9c6d29,
    0 0 0 7px #3b1c19,

    /* floating medallion */
    0 7px 4px rgba(0,0,0,.42),
    0 13px 14px rgba(0,0,0,.48),

    /* dome */
    inset 8px 8px 15px rgba(237,194,95,.13),
    inset -11px -13px 19px rgba(0,0,0,.58) !important;
}


/* center glossy highlight */

.hub::before {
  content: "" !important;

  position: absolute !important;

  left: 17% !important;
  top: 12% !important;

  width: 50% !important;
  height: 25% !important;

  border-radius: 50% !important;

  background:
    radial-gradient(
      ellipse,
      rgba(255,224,146,.16),
      transparent 72%
    ) !important;

  transform:
    rotate(-18deg) !important;

  pointer-events: none !important;
}

.hub span {
  color: #f0cd6d !important;

  font-size: 12px !important;
  font-weight: 900 !important;

  letter-spacing: 1.7px !important;

  text-shadow:
    0 -1px rgba(255,244,190,.35),
    0 2px 0 #68411d,
    0 4px 5px rgba(0,0,0,.75) !important;
}


/* ==========================================================
   SMALL POINTER
   ========================================================== */

.pointer {
  top: -1px !important;

  width: 16px !important;
  height: 23px !important;

  z-index: 50 !important;

  background:
    linear-gradient(
      90deg,
      #5a3018,
      #b5792d 22%,
      #f6d875 48%,
      #bd7c2c 72%,
      #512817
    ) !important;

  clip-path:
    polygon(4% 0, 96% 0, 50% 100%) !important;

  filter:
    drop-shadow(0 3px 2px rgba(0,0,0,.80))
    drop-shadow(0 0 4px rgba(229,187,80,.28)) !important;
}


/* ==========================================================
   TEDDY
   Hide obsolete CSS pseudo-paws from older versions
   ========================================================== */

.wheel-mascot::before,
.wheel-mascot::after {
  content: none !important;
  display: none !important;
}


/*
   Teddy sits BEHIND wheel body,
   while its legs remain visually over the rim.
*/

.wheel-shell > .seated-teddy {
  left: 50% !important;
  top: -2px !important;

  width: 86px !important;
  height: 101px !important;

  transform:
    translate(-50%, -82%) !important;

  z-index: 30 !important;

  filter:
    drop-shadow(0 7px 5px rgba(0,0,0,.60))
    drop-shadow(0 0 7px rgba(220,167,70,.10)) !important;

  pointer-events: none !important;
}


/* larger plush head */

.seated-teddy .bear-head {
  left: 17px !important;
  top: 5px !important;

  width: 52px !important;
  height: 51px !important;

  z-index: 34 !important;

  border:
    1px solid #59301c !important;

  background:
    radial-gradient(
      circle at 30% 18%,
      #efc58b 0%,
      #d79b60 19%,
      #b16d3f 48%,
      #79452b 76%,
      #49281a 100%
    ) !important;

  box-shadow:
    inset 8px 7px 12px rgba(255,239,202,.27),
    inset -9px -10px 14px rgba(47,20,12,.34),
    0 4px 5px rgba(0,0,0,.38) !important;
}


/* body behind legs */

.seated-teddy .bear-body {
  top: 49px !important;

  width: 43px !important;
  height: 39px !important;

  z-index: 28 !important;

  background:
    radial-gradient(
      ellipse at 33% 17%,
      #e3b076,
      #b97847 42%,
      #824a2e 72%,
      #512c1c
    ) !important;

  box-shadow:
    inset 6px 5px 9px rgba(255,230,187,.20),
    inset -7px -9px 12px rgba(48,21,13,.30),
    0 4px 5px rgba(0,0,0,.38) !important;
}


/* arms: only ONE pair */

.seated-teddy .bear-arm {
  top: 51px !important;

  width: 18px !important;
  height: 29px !important;

  z-index: 35 !important;
}

.seated-teddy .bear-arm-left {
  left: 12px !important;

  transform:
    rotate(31deg) !important;
}

.seated-teddy .bear-arm-right {
  right: 12px !important;

  transform:
    rotate(-31deg) !important;
}


/* dangling feet over the rim */

.seated-teddy .bear-leg {
  top: 72px !important;

  width: 21px !important;
  height: 29px !important;

  z-index: 55 !important;
}

.seated-teddy .bear-leg-left {
  left: 22px !important;

  transform:
    rotate(9deg) !important;
}

.seated-teddy .bear-leg-right {
  right: 22px !important;

  transform:
    rotate(-9deg) !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-height: 750px) {
  .wheel-zone {
    max-width: 325px !important;
  }

  .wheel-shell > .seated-teddy {
    transform:
      translate(-50%, -80%) scale(.92) !important;
  }
}



/* =========================================================
   SPINORA — REAL 3D TEDDY ASSET V1
   ========================================================= */

.wheel-mascot.seated-teddy {
  position: absolute !important;

  left: 50% !important;
  top: 0 !important;

  width: 104px !important;
  height: 126px !important;

  transform: translate(-50%, -72%) !important;

  z-index: 40 !important;

  background:
    url("/static/spinora-teddy.png?v=1")
    center bottom / contain
    no-repeat !important;

  filter:
    drop-shadow(0 8px 7px rgba(0,0,0,.55))
    drop-shadow(0 2px 2px rgba(0,0,0,.35)) !important;

  pointer-events: none !important;
}

/* Hide old CSS teddy pieces */
.wheel-mascot.seated-teddy > * {
  display: none !important;
}

/* Teddy sits above the rotating disc */
.wheel-shell {
  overflow: visible !important;
}

/* Wheel itself stays clipped */
#wheel {
  overflow: hidden !important;
}



/* ==========================================================
   SPINORA — RENDER WHEEL ASSEMBLY V27
   Real 3D frame + live rotating game disc
   ========================================================== */


/* ---------- MAIN ASSEMBLY ---------- */

.wheel-zone {
  position: relative !important;

  width: min(92vw, 390px) !important;
  max-width: 390px !important;

  margin-top: 46px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  aspect-ratio: 1 / 1 !important;

  overflow: visible !important;
}


/*
   wheel-shell becomes only a positioning container.
   The rendered PNG provides the visible physical chassis.
*/

.wheel-shell {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 100% !important;
  height: 100% !important;

  transform: translate(-50%, -50%) !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 50% !important;

  background: transparent !important;
  box-shadow: none !important;

  overflow: visible !important;
}


/* ---------- REMOVE OLD CSS FRAME ---------- */

.bulb-ring {
  display: none !important;
}

.pointer {
  display: none !important;
}


/*
   Old decorative glow/rays remain very subtle.
*/

.neon-rays {
  opacity: .18 !important;
  transform: scale(1.02) !important;
}

.glow {
  width: 104% !important;
  height: 104% !important;

  opacity: .50 !important;

  filter: blur(30px) !important;
}


/* ---------- LIVE ROTATING DISC ---------- */

/*
   The opening in the rendered chassis occupies roughly
   69% of the full image diameter.

   This is the REAL interactive wheel.
*/

#wheel {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 69.2% !important;
  height: 69.2% !important;

  margin: 0 !important;

  border-radius: 50% !important;

  transform-origin: 50% 50% !important;

  overflow: hidden !important;

  z-index: 10 !important;

  border:
    1px solid rgba(255,219,111,.62) !important;

  box-shadow:
    inset 0 0 0 2px rgba(68,25,15,.55),
    inset 0 0 22px rgba(255,221,119,.12),
    inset 0 -20px 35px rgba(25,5,12,.18),
    0 0 8px rgba(0,0,0,.65) !important;

  /*
    IMPORTANT:
    JS controls rotate(...).
    translate is separated so JS can safely overwrite transform.
  */
  translate: -50% -50% !important;
}


/*
   Gives the colored disc a more enamel / 3D surface.
*/

#wheel::after {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;

  border-radius: 50% !important;

  pointer-events: none !important;

  background:
    radial-gradient(
      circle at 35% 24%,
      rgba(255,255,255,.18) 0%,
      rgba(255,255,255,.07) 18%,
      transparent 42%
    ),
    radial-gradient(
      circle at 50% 54%,
      transparent 46%,
      rgba(0,0,0,.16) 76%,
      rgba(0,0,0,.30) 100%
    ) !important;

  box-shadow:
    inset 0 0 18px rgba(255,255,255,.08),
    inset 0 0 35px rgba(0,0,0,.16) !important;

  z-index: 20 !important;
}


/* ---------- REAL RENDERED 3D CHASSIS ---------- */

.spinora-3d-frame {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 100% !important;
  height: 98.34% !important;

  transform: translate(-50%, -50%) !important;

  z-index: 30 !important;

  pointer-events: none !important;

  background:
    url("/static/spinora-wheel-3d.png?v=1")
    center center / contain
    no-repeat !important;

  filter:
    drop-shadow(0 17px 16px rgba(0,0,0,.66))
    drop-shadow(0 0 13px rgba(221,155,46,.18)) !important;
}


/* ---------- CENTER HUB ---------- */

.hub {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 29% !important;
  height: 29% !important;

  transform: translate(-50%, -50%) !important;

  z-index: 45 !important;

  border-radius: 50% !important;

  border:
    2px solid #e1ae42 !important;

  background:
    radial-gradient(
      circle at 35% 28%,
      #5d3340 0%,
      #2c121d 42%,
      #130a0f 76%,
      #070608 100%
    ) !important;

  box-shadow:
    0 0 0 4px #6f401e,
    0 0 0 6px #d5a23b,
    inset 7px 7px 17px rgba(255,214,132,.14),
    inset -9px -10px 20px rgba(0,0,0,.62),
    0 7px 13px rgba(0,0,0,.55) !important;
}

.hub span {
  font-size: 12px !important;
  letter-spacing: 2px !important;
  font-weight: 900 !important;

  color: #f8d56e !important;

  text-shadow:
    0 1px 1px #5a2b10,
    0 0 7px rgba(244,189,65,.24) !important;
}


/* ---------- REAL TEDDY ---------- */

.wheel-mascot.seated-teddy {
  position: absolute !important;

  left: 50% !important;
  top: 8.5% !important;

  width: 105px !important;
  height: 125px !important;

  transform:
    translate(-50%, -100%) !important;

  z-index: 60 !important;

  background:
    url("/static/spinora-teddy.png?v=2")
    center bottom / contain
    no-repeat !important;

  filter:
    drop-shadow(0 8px 6px rgba(0,0,0,.65))
    drop-shadow(0 2px 2px rgba(48,18,8,.50)) !important;

  pointer-events: none !important;
}

.wheel-mascot.seated-teddy > * {
  display: none !important;
}


/* Teddy slightly overlaps the chassis so he looks seated on it */

.wheel-mascot.seated-teddy::after {
  content: "" !important;

  position: absolute !important;

  left: 20% !important;
  right: 20% !important;
  bottom: 2px !important;

  height: 8px !important;

  border-radius: 50% !important;

  background:
    rgba(18,6,5,.40) !important;

  filter:
    blur(5px) !important;

  z-index: -1 !important;
}


/* ---------- LABEL DEPTH ---------- */

#wheel .label {
  z-index: 12 !important;

  color: #fff0ba !important;

  font-weight: 900 !important;

  text-shadow:
    0 2px 1px #542512,
    0 3px 3px rgba(0,0,0,.85),
    0 0 5px rgba(255,211,94,.25) !important;

  filter:
    drop-shadow(0 2px 1px rgba(0,0,0,.55)) !important;
}


/* ---------- MOBILE ---------- */

@media (max-width: 380px) {

  .wheel-zone {
    width: min(91vw, 355px) !important;
    max-width: 355px !important;
  }

  .wheel-mascot.seated-teddy {
    width: 94px !important;
    height: 113px !important;
  }

}


@media (max-height: 750px) {

  .wheel-zone {
    width: min(86vw, 335px) !important;
    max-width: 335px !important;
  }

  .wheel-mascot.seated-teddy {
    width: 90px !important;
    height: 108px !important;
  }

}

/* ==========================================================
   SPINORA — V32 TRUE FRONT-FACING 1:1 FRAME
   One coordinate system. No perspective correction.
   ========================================================== */

.wheel-zone {
  position: relative !important;

  width: min(92vw, 390px) !important;
  max-width: 390px !important;

  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  margin-left: auto !important;
  margin-right: auto !important;

  overflow: visible !important;

  transform: none !important;
  perspective: none !important;
}


/* ---------- MASTER SQUARE ---------- */

.wheel-shell {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;

  margin: 0 !important;

  transform: translate(-50%, -50%) !important;

  overflow: visible !important;
}


/* ---------- FINAL 3D FRAME ---------- */

.spinora-3d-frame {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;

  inset: auto !important;
  margin: 0 !important;

  transform: translate(-50%, -50%) !important;

  background-image:
    url("/static/spinora-wheel-3d.png?v=32") !important;

  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;

  z-index: 20 !important;

  pointer-events: none !important;
}


/* ---------- ROTATING GAME DISC ---------- */

#wheel {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 66.5% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  margin: 0 !important;

  translate: -50% -50%;

  transform-origin: 50% 50% !important;

  border-radius: 50% !important;

  z-index: 10 !important;

  overflow: hidden !important;
}


/* ---------- HUB ---------- */

.wheel-zone > .hub {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 28.5% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  margin: 0 !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  z-index: 30 !important;

  pointer-events: none !important;
}


/* ---------- REAL TEDDY ---------- */

.wheel-shell > .wheel-mascot.seated-teddy {
  position: absolute !important;

  left: 50% !important;
  top: 2.5% !important;

  width: 104px !important;
  height: 126px !important;

  transform: translate(-50%, -72%) !important;

  z-index: 40 !important;

  background:
    url("/static/spinora-teddy.png?v=32")
    center bottom / contain
    no-repeat !important;

  pointer-events: none !important;
}

.wheel-mascot.seated-teddy > * {
  display: none !important;
}


/* ---------- OLD CSS DECORATIONS OFF ---------- */

.wheel-shell > .bulb-ring {
  display: none !important;
}

.wheel-zone > .pointer {
  display: none !important;
}


/* ---------- MOBILE ---------- */

@media (max-width: 380px) {

  .wheel-zone {
    width: min(91vw, 365px) !important;
  }

  .wheel-shell > .wheel-mascot.seated-teddy {
    width: 96px !important;
    height: 116px !important;
  }
}


/* ==========================================================
   SPINORA V33 — FRAME CENTER LOCK
   ========================================================== */

/* One physical center for everything */
.wheel-zone {
  position: relative !important;
}

/* Shell must exactly occupy wheel-zone */
.wheel-zone > .wheel-shell {
  position: absolute !important;

  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;

  transform: none !important;
}

/* Frame locked to exact shell center */
.wheel-shell > .spinora-3d-frame {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;

  transform: translate(-50%, -50%) !important;

  background-image:
    url("/static/spinora-wheel-3d.png?v=33") !important;

  background-position: 50% 50% !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;

  z-index: 20 !important;
}

/* Rotating disc uses same center */
.wheel-shell > #wheel {
  left: 50% !important;
  top: 50% !important;

  width: 66.5% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  translate: -50% -50% !important;

  transform-origin: 50% 50% !important;

  margin: 0 !important;
}

/* Hub uses same center */
.wheel-zone > .hub {
  left: 50% !important;
  top: 50% !important;

  transform: translate(-50%, -50%) !important;
}



/* ==========================================================
   SPINORA V34 — TRUE SQUARE FRAME GEOMETRY
   Asset: 1254 x 1254
   ========================================================== */


/* MASTER CANVAS — TRUE SQUARE */

.wheel-zone {
  position: relative !important;

  width: min(92vw, 390px) !important;
  max-width: 390px !important;

  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  overflow: visible !important;
}


/* SHELL = EXACTLY THE SAME SQUARE */

.wheel-zone > .wheel-shell {
  position: absolute !important;

  left: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;

  border: 0 !important;
  border-radius: 50% !important;

  background: none !important;
  box-shadow: none !important;

  overflow: visible !important;
}


/* ==========================================================
   FIXED 3D CHASSIS
   ========================================================== */

.wheel-shell > .spinora-3d-frame {
  position: absolute !important;

  left: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;

  transform: none !important;

  background:
    url("/static/spinora-wheel-3d.png?v=34")
    50% 50% / 100% 100%
    no-repeat !important;

  filter: none !important;

  z-index: 20 !important;

  pointer-events: none !important;
}


/* ==========================================================
   LIVE ROTATING PRIZE DISC

   IMPORTANT:
   Frame and disc are independently centered.
   The frame stays untouched.
   ========================================================== */

.wheel-shell > #wheel {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 64.4% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  margin: 0 !important;

  translate: -50% -50% !important;

  border-radius: 50% !important;

  transform-origin: 50% 50% !important;

  z-index: 10 !important;

  overflow: hidden !important;
}


/* ==========================================================
   CENTER HUB
   ========================================================== */

.wheel-zone > .hub {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 28.2% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;

  margin: 0 !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  z-index: 30 !important;

  pointer-events: none !important;
}


/* ==========================================================
   TEDDY
   ========================================================== */

.wheel-shell > .wheel-mascot.seated-teddy {
  position: absolute !important;

  left: 50% !important;
  top: 2.5% !important;

  width: 104px !important;
  height: 126px !important;

  transform: translate(-50%, -72%) !important;

  background:
    url("/static/spinora-teddy.png?v=34")
    center bottom / contain
    no-repeat !important;

  z-index: 40 !important;

  pointer-events: none !important;
}


/* Old decorative frame/pointer stays disabled */

.wheel-shell > .bulb-ring,
.wheel-zone > .pointer {
  display: none !important;
}


/* MOBILE */

@media (max-width: 380px) {

  .wheel-zone {
    width: min(91vw, 365px) !important;
  }

  .wheel-shell > .wheel-mascot.seated-teddy {
    width: 96px !important;
    height: 116px !important;
  }
}



/* ==========================================================
   SPINORA V35 — PRIZE LABEL RADIUS
   Move ALL prize values toward the center
   ========================================================== */

#wheel .label {
  /*
    Original = 42%.
    Smaller width = text ends closer to the hub.
  */
  width: 36.5% !important;

  height: 24px !important;
  margin-top: -12px !important;

  padding-right: 3px !important;

  font-size: 15px !important;
  font-weight: 900 !important;

  white-space: nowrap !important;

  color: #fff0ba !important;

  text-shadow:
    0 2px 2px rgba(45,18,5,.95),
    0 0 4px rgba(0,0,0,.55) !important;
}


/* Keep original sector angles */

#wheel .l1 { transform: rotate(-67.5deg) !important; }
#wheel .l2 { transform: rotate(-22.5deg) !important; }
#wheel .l3 { transform: rotate(22.5deg) !important; }
#wheel .l4 { transform: rotate(67.5deg) !important; }
#wheel .l5 { transform: rotate(112.5deg) !important; }
#wheel .l6 { transform: rotate(157.5deg) !important; }
#wheel .l7 { transform: rotate(202.5deg) !important; }
#wheel .l8 { transform: rotate(247.5deg) !important; }


/* ×100 is longer, so give it slightly smaller typography only */

#wheel .l8 {
  font-size: 13px !important;
  padding-right: 1px !important;
}



/* ==========================================================
   SPINORA V36 — ABSOLUTE PRIZE LABEL POSITIONS
   ========================================================== */

/*
   Stop using the old radial text layout.
   Every prize gets its own fixed position inside its sector.
*/

#wheel .label {
  position: absolute !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translate(-50%, -50%) !important;
  transform-origin: center center !important;

  text-align: center !important;
  white-space: nowrap !important;

  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;

  color: #fff0ba !important;

  text-shadow:
    0 2px 2px rgba(45,18,5,.95),
    0 0 4px rgba(0,0,0,.65) !important;

  z-index: 15 !important;
}


/* TOP RIGHT — ×0 */
#wheel .l1 {
  left: 64% !important;
  top: 25% !important;
  transform: translate(-50%, -50%) rotate(67.5deg) !important;
}


/* RIGHT TOP — ×0.5 */
#wheel .l2 {
  left: 75% !important;
  top: 39% !important;
  transform: translate(-50%, -50%) rotate(22.5deg) !important;
}


/* RIGHT BOTTOM — ×1 */
#wheel .l3 {
  left: 75% !important;
  top: 61% !important;
  transform: translate(-50%, -50%) rotate(-22.5deg) !important;
}


/* BOTTOM RIGHT — ×2 */
#wheel .l4 {
  left: 64% !important;
  top: 75% !important;
  transform: translate(-50%, -50%) rotate(-67.5deg) !important;
}


/* BOTTOM LEFT — ×5 */
#wheel .l5 {
  left: 36% !important;
  top: 75% !important;
  transform: translate(-50%, -50%) rotate(67.5deg) !important;
}


/* LEFT BOTTOM — ×10 */
#wheel .l6 {
  left: 25% !important;
  top: 61% !important;
  transform: translate(-50%, -50%) rotate(22.5deg) !important;
}


/* LEFT TOP — ×50 */
#wheel .l7 {
  left: 25% !important;
  top: 39% !important;
  transform: translate(-50%, -50%) rotate(-22.5deg) !important;
}


/* TOP LEFT — ×100 👑 */
#wheel .l8 {
  left: 36% !important;
  top: 25% !important;

  transform: translate(-50%, -50%) rotate(-67.5deg) !important;

  font-size: 13px !important;
}




/* ==========================================================
   SPINORA V37 — PRIZE LABEL FINAL RADIUS
   Labels centered inside prize sectors
   ========================================================== */

#wheel .label {
  position: absolute !important;

  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  white-space: nowrap !important;
  text-align: center !important;

  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;

  color: #fff0ba !important;

  z-index: 15 !important;
}


/* radius ≈ 35% from wheel center */

/* ×0 — upper right */
#wheel .l1 {
  left: 63.4% !important;
  top: 17.7% !important;
  transform: translate(-50%,-50%) rotate(67.5deg) !important;
}

/* ×0.5 — right upper */
#wheel .l2 {
  left: 82.3% !important;
  top: 36.6% !important;
  transform: translate(-50%,-50%) rotate(22.5deg) !important;
}

/* ×1 — right lower */
#wheel .l3 {
  left: 82.3% !important;
  top: 63.4% !important;
  transform: translate(-50%,-50%) rotate(-22.5deg) !important;
}

/* ×2 — lower right */
#wheel .l4 {
  left: 63.4% !important;
  top: 82.3% !important;
  transform: translate(-50%,-50%) rotate(-67.5deg) !important;
}

/* ×5 — lower left */
#wheel .l5 {
  left: 36.6% !important;
  top: 82.3% !important;
  transform: translate(-50%,-50%) rotate(67.5deg) !important;
}

/* ×10 — left lower */
#wheel .l6 {
  left: 17.7% !important;
  top: 63.4% !important;
  transform: translate(-50%,-50%) rotate(22.5deg) !important;
}

/* ×50 — left upper */
#wheel .l7 {
  left: 17.7% !important;
  top: 36.6% !important;
  transform: translate(-50%,-50%) rotate(-22.5deg) !important;
}

/* ×100 crown — upper left */
#wheel .l8 {
  left: 36.6% !important;
  top: 17.7% !important;
  transform: translate(-50%,-50%) rotate(-67.5deg) !important;

  font-size: 13px !important;
}




/* ==========================================================
   SPINORA V38 — LABEL ANGLES ONLY
   Geometry stays untouched
   ========================================================== */

/* upper-right */
#wheel .l1 {
  transform: translate(-50%,-50%) rotate(-67.5deg) !important;
}

/* right-upper */
#wheel .l2 {
  transform: translate(-50%,-50%) rotate(-22.5deg) !important;
}

/* right-lower */
#wheel .l3 {
  transform: translate(-50%,-50%) rotate(22.5deg) !important;
}

/* lower-right */
#wheel .l4 {
  transform: translate(-50%,-50%) rotate(67.5deg) !important;
}

/* lower-left */
#wheel .l5 {
  transform: translate(-50%,-50%) rotate(-67.5deg) !important;
}

/* left-lower */
#wheel .l6 {
  transform: translate(-50%,-50%) rotate(-22.5deg) !important;
}

/* left-upper */
#wheel .l7 {
  transform: translate(-50%,-50%) rotate(22.5deg) !important;
}

/* upper-left */
#wheel .l8 {
  transform: translate(-50%,-50%) rotate(67.5deg) !important;
}




/* ==========================================================
   SPINORA V39 — RENDERED PRIZE DISC
   ONLY inner rotating surface changes.
   3D gold frame / teddy / hub / label geometry untouched.
   ========================================================== */

#wheel {
  /* Новый рендер только внутри колеса */
  background-image:
    url("/static/spinora-prize-disc.png?v=39") !important;

  background-position:
    center center !important;

  background-repeat:
    no-repeat !important;

  background-size:
    100% 100% !important;

  /* Сам круг остаётся идеально круглым */
  aspect-ratio:
    1 / 1 !important;

  border-radius:
    50% !important;

  overflow:
    hidden !important;
}


/*
  Убираем старые CSS-слои цвета/бликов,
  потому что теперь их рисует сам PNG.
*/

#wheel::before,
#wheel::after {
  display:
    none !important;
}


/*
  Значения остаются ЖИВЫМИ HTML-элементами поверх рендера.
  Их координаты и углы V37/V38 НЕ меняем.
*/

#wheel .label {
  z-index:
    15 !important;
}



/* ==========================================================
   SPINORA V40 — PRIZE DISC FIT
   Expand ONLY rotating prize disc
   ========================================================== */

.wheel-shell > #wheel {
  width: 68.2% !important;
}


/* ==========================================================
   SPINORA V41 — FINAL PRIZE DISC FIT
   ========================================================== */

.wheel-shell > #wheel {
  width: 69.4% !important;
}


/* SPINORA V42 — prize disc outer-edge fit */
.wheel-shell > #wheel {
  width: 70.6% !important;
}


/* ==========================================================
   SPINORA V43 — PRIZE RENDER INTERNAL FIT
   Physical wheel geometry remains LOCKED at 70.6%.
   Only PNG artwork inside the wheel is adjusted.
   ========================================================== */

.wheel-shell > #wheel {
  width: 70.6% !important;

  background-image:
    url("/static/spinora-prize-disc.png?v=43") !important;

  /*
    PNG contains ~4% transparent padding around artwork.
    Enlarge artwork independently from physical wheel.
  */
  background-size:
    108.5% 108.5% !important;

  /*
    Visible PNG center is ~8px above true center,
    therefore artwork is shifted slightly downward.
  */
  background-position:
    50% 50.65% !important;

  background-repeat:
    no-repeat !important;
}



/* ==========================================================
   SPINORA V45 — RENDER-STYLE 3D PRIZE VALUES
   Visual styling ONLY.
   V37/V38 coordinates and V43 wheel geometry stay untouched.
   ========================================================== */

#wheel .label {
  /*
    Thick rounded casino lettering similar to the reference render.
  */
  font-family:
    "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif !important;

  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: -0.8px !important;

  /*
    Bright ivory/gold front face.
  */
  color: #fff3bd !important;

  /*
    Multiple hard shadows create the extruded gold/brown body.
    The final soft shadow anchors the lettering to the sector.
  */
  text-shadow:
     0px  1px 0 #ffd86a,
     0px  2px 0 #e9a72b,
     1px  3px 0 #c77616,
     1px  4px 0 #8d430d,
     2px  5px 0 #572306,
     2px  6px 2px rgba(36, 10, 2, .90),
     3px  8px 6px rgba(0, 0, 0, .58),
     0px  0px 5px rgba(255, 211, 82, .35) !important;

  -webkit-text-stroke:
    .45px #b76612 !important;

  filter:
    drop-shadow(0 2px 1px rgba(0,0,0,.38)) !important;

  z-index: 15 !important;
}


/*
  Longer values need tiny optical corrections in SIZE ONLY.
  Their positions and rotations are untouched.
*/

#wheel .l2 {
  font-size: 18px !important;
}

#wheel .l6 {
  font-size: 18px !important;
}

#wheel .l7 {
  font-size: 19px !important;
}

#wheel .l8 {
  font-size: 19px !important;
}


/*
  Render-style crown for the jackpot sector.
  Separate from the text — no emoji.
*/

#wheel .l8::before {
  content: "♛";

  position: absolute;

  left: 50%;
  top: -15px;

  transform:
    translateX(-50%)
    rotate(0deg);

  font-size: 15px;
  line-height: 1;

  color: #ffe895;

  -webkit-text-stroke:
    .4px #a94f0b;

  text-shadow:
     0 1px 0 #ffc642,
     0 2px 0 #b75a0d,
     1px 3px 1px #602305,
     1px 4px 4px rgba(0,0,0,.65),
     0 0 5px rgba(255,211,72,.55);
}


/* ==========================================================
   SPINORA V46 — HEAVY 3D GOLD PRIZE VALUES
   Reference-render typography.
   Positions / angles / wheel geometry are LOCKED.
   ========================================================== */

#wheel .label {
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -1.3px !important;

  color: #fff5c7 !important;

  -webkit-text-stroke:
    .75px #a94d08 !important;

  text-shadow:
    0 1px 0 #fff1a6,
    0 2px 0 #ffd15a,
    1px 3px 0 #e69a20,
    2px 4px 0 #bd6810,
    2px 5px 0 #8d3c08,
    3px 6px 0 #5d2204,
    3px 7px 2px rgba(45,13,0,.92),
    4px 9px 7px rgba(0,0,0,.58),
    0 0 6px rgba(255,205,65,.40) !important;

  filter:
    drop-shadow(0 3px 2px rgba(0,0,0,.38)) !important;
}

/* Long values — slightly smaller so they remain elegant */
#wheel .l2 {
  font-size: 22px !important;
}

#wheel .l6 {
  font-size: 23px !important;
}

#wheel .l7 {
  font-size: 24px !important;
}

#wheel .l8 {
  font-size: 23px !important;
}

/* Remove temporary text-symbol crown */
#wheel .l8::before {
  content: none !important;
}


/* ==========================================================
   SPINORA V47 — REAL 3D PRIZE ASSETS
   Replaces visible HTML typography with rendered prize images.
   V37/V38 positions + rotations remain untouched.
   V43 prize-disc geometry remains untouched.
   ========================================================== */

#wheel .label {
  /* Hide original text but keep the element itself */
  color: transparent !important;
  -webkit-text-stroke: 0 transparent !important;
  text-shadow: none !important;

  /* Render container */
  width: 66px !important;
  height: 48px !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  filter:
    drop-shadow(0 3px 3px rgba(20, 5, 0, .55))
    drop-shadow(0 0 3px rgba(255, 190, 45, .22)) !important;

  z-index: 15 !important;
}

/* ×0 */
#wheel .l1 {
  background-image:
    url("/static/prizes/x0.PNG?v=47") !important;
}

/* ×0.5 */
#wheel .l2 {
  width: 76px !important;

  background-image:
    url("/static/prizes/x0.5.PNG?v=47") !important;
}

/* ×1 */
#wheel .l3 {
  background-image:
    url("/static/prizes/x1.PNG?v=47") !important;
}

/* ×2 */
#wheel .l4 {
  background-image:
    url("/static/prizes/x2.PNG?v=47") !important;
}

/* ×5 */
#wheel .l5 {
  background-image:
    url("/static/prizes/x5.PNG?v=47") !important;
}

/* ×10 */
#wheel .l6 {
  width: 72px !important;

  background-image:
    url("/static/prizes/x10.PNG?v=47") !important;
}

/* ×50 */
#wheel .l7 {
  width: 72px !important;

  background-image:
    url("/static/prizes/x50.PNG?v=47") !important;
}

/* ×100 + crown */
#wheel .l8 {
  width: 78px !important;
  height: 58px !important;

  background-image:
    url("/static/prizes/x100.PNG?v=47") !important;
}

/* Kill old temporary CSS crown completely */
#wheel .l8::before,
#wheel .l8::after {
  content: none !important;
  display: none !important;
}


/* ==========================================================
   SPINORA V48 — 3D PRIZE ASSET FINAL SCALE
   ONLY asset sizes. Positions / rotations / wheel untouched.
   ========================================================== */

#wheel .label {
  width: 52px !important;
  height: 38px !important;
}

/* ×0 */
#wheel .l1 {
  width: 50px !important;
  height: 38px !important;
}

/* ×0.5 */
#wheel .l2 {
  width: 61px !important;
  height: 38px !important;
}

/* ×1 */
#wheel .l3 {
  width: 49px !important;
  height: 38px !important;
}

/* ×2 */
#wheel .l4 {
  width: 49px !important;
  height: 38px !important;
}

/* ×5 */
#wheel .l5 {
  width: 49px !important;
  height: 38px !important;
}

/* ×10 */
#wheel .l6 {
  width: 58px !important;
  height: 38px !important;
}

/* ×50 */
#wheel .l7 {
  width: 58px !important;
  height: 38px !important;
}

/* ×100 + crown */
#wheel .l8 {
  width: 62px !important;
  height: 46px !important;
}

/* ==========================================================
   SPINORA V49 — HORIZONTAL 3D PRIZE VALUES
   Keep V37 positions.
   Remove radial rotation from prize artwork.
   ========================================================== */

#wheel .l1,
#wheel .l2,
#wheel .l3,
#wheel .l4,
#wheel .l5,
#wheel .l6,
#wheel .l7,
#wheel .l8 {
  transform:
    translate(-50%, -50%)
    rotate(0deg) !important;
}


/* ==========================================================
   SPINORA V51 — PRIZE ART INNER WRAPPER
   label = sector position
   prize-art = visual counter-rotation
   ========================================================== */

#wheel .label {
  background-image: none !important;
}

/* The image occupies the existing V48 label box */
#wheel .label .prize-art {
  position: absolute !important;

  left: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 100% !important;

  display: block !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  transform: rotate(0deg);
  transform-origin: 50% 50% !important;

  will-change: transform;

  filter:
    drop-shadow(0 3px 3px rgba(20,5,0,.55))
    drop-shadow(0 0 3px rgba(255,190,45,.22)) !important;
}

#wheel .l1 .prize-art {
  background-image: url("/static/prizes/x0.PNG?v=51") !important;
}

#wheel .l2 .prize-art {
  background-image: url("/static/prizes/x0.5.PNG?v=51") !important;
}

#wheel .l3 .prize-art {
  background-image: url("/static/prizes/x1.PNG?v=51") !important;
}

#wheel .l4 .prize-art {
  background-image: url("/static/prizes/x2.PNG?v=51") !important;
}

#wheel .l5 .prize-art {
  background-image: url("/static/prizes/x5.PNG?v=51") !important;
}

#wheel .l6 .prize-art {
  background-image: url("/static/prizes/x10.PNG?v=51") !important;
}

#wheel .l7 .prize-art {
  background-image: url("/static/prizes/x50.PNG?v=51") !important;
}

#wheel .l8 .prize-art {
  background-image: url("/static/prizes/x100.PNG?v=51") !important;
}


/* V51 — synchronize counter-rotation with wheel motion */
#wheel .prize-art {
  transition:
    transform 5.8s cubic-bezier(.08,.62,.10,1) !important;
}


/* ==========================================================
   SPINORA V52 — WAAPI OWNS THE MOTION
   Prevent legacy CSS transitions from fighting keyframes.
   ========================================================== */

.wheel-shell > #wheel {
  transition: none !important;
}

#wheel .prize-art {
  transition: none !important;
}

