:root {
      --green: #02b757;
      --green-dark: #019648;
      --green-glow: rgba(2, 183, 87, 0.45);
      --gold: #ffc936;
      --gold-dark: #e6a800;
      --gold-glow: rgba(255, 201, 54, 0.45);
      --rbx-red: #e2231a;
      --panel-dark: #232845;
      --panel-mid: #2d3560;
      --wheel-accent: var(--green);
      --wheel-bg: transparent;
      --wheel-panel: var(--panel-dark);
      --wheel-card: rgba(255, 255, 255, 0.06);
      --wheel-text: #eef1ff;
      --wheel-muted: #8b929e;
      --wheel-size: min(calc(100vw - 32px), 720px);
      --wheel-pad-top: 12px;
      --wheel-pad-x: 10px;
      --wheel-pad-bottom: 10px;
      --card-shadow: 0 6px 0 #c5cdd9, 0 10px 28px rgba(0, 0, 0, 0.18);
      --radius: 16px;
    }

    body { font-family: 'Nunito', sans-serif; }

    .gifts-page {
      padding-bottom: 56px;
      max-width: 1106px;
    }

    .wheel-wrapper {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .wheel-wrapper::after {
      content: '';
      position: fixed;
      inset: 0;
      width: 100%;
      min-height: 100vh;
      min-height: 100dvh;
      pointer-events: none;
      background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 201, 54, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(2, 183, 87, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 25%, rgba(91, 141, 239, 0.1) 0%, transparent 45%);
      z-index: 0;
    }

    .wheel-title {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      text-align: center;
      padding: 28px 16px 24px;
    }

    .wheel-title h1 {
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(1.85rem, 5.5vw, 2.75rem);
      font-weight: 700;
      line-height: 1.05;
      text-transform: uppercase;
      color: #fff;
      text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 201, 54, 0.25);
    }

    .wheel-title-row {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .wheel-help-btn {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 2px solid rgba(255, 201, 54, 0.45);
      background: rgba(255, 201, 54, 0.12);
      color: var(--gold);
      font-family: 'Fredoka', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      line-height: 1;
      cursor: pointer;
      transition: transform 0.12s, background 0.12s, border-color 0.12s;
      flex-shrink: 0;
    }

    .wheel-help-btn:hover {
      transform: scale(1.06);
      background: rgba(255, 201, 54, 0.22);
      border-color: rgba(255, 201, 54, 0.7);
    }

    .spin-help-modal .win-modal__box {
      width: min(100%, 440px);
      text-align: left;
    }

    .spin-help-modal .win-modal__title {
      text-align: center;
      margin-bottom: 8px;
    }

    .spin-help-modal__lead {
      text-align: center;
      font-size: 0.92rem;
      color: var(--wheel-muted);
      margin-bottom: 18px;
    }

    .spin-help-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 0 20px;
      padding: 0;
    }

    .spin-help-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .spin-help-item__icon {
      font-size: 1.25rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .spin-help-item__body strong {
      display: block;
      font-size: 0.95rem;
      color: #fff;
      margin-bottom: 2px;
    }

    .spin-help-item__body span {
      display: block;
      font-size: 0.84rem;
      color: var(--wheel-muted);
      line-height: 1.35;
    }

    .spin-help-item__count {
      margin-left: auto;
      flex-shrink: 0;
      align-self: center;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(2, 183, 87, 0.15);
      border: 1px solid rgba(2, 183, 87, 0.35);
      color: #6ee7a8;
      font-size: 0.78rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .spin-help-modal__note {
      font-size: 0.8rem;
      color: var(--wheel-muted);
      line-height: 1.4;
      text-align: center;
    }

    .spin-help-modal__note a {
      color: #6ee7a8;
      text-decoration: none;
    }

    .spin-help-modal__note a:hover { text-decoration: underline; }

    .no-spins-modal__timer {
      text-align: center;
      padding: 16px 14px;
      margin-bottom: 18px;
      border-radius: 12px;
      background: rgba(255, 201, 54, 0.1);
      border: 1px solid rgba(255, 201, 54, 0.32);
    }

    .no-spins-modal__timer-label {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--wheel-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 8px;
    }

    .no-spins-modal__timer-value {
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(1.75rem, 6vw, 2.25rem);
      font-weight: 700;
      color: var(--gold);
      font-variant-numeric: tabular-nums;
      line-height: 1.1;
    }

    .no-spins-modal__timer-hint {
      margin-top: 8px;
      font-size: 0.8rem;
      color: var(--wheel-muted);
    }

    .wheel-title p {
      font-size: 1.05rem;
      font-weight: 600;
      color: rgba(238, 241, 255, 0.85);
    }

    .wheel-title-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(255, 201, 54, 0.14);
      border: 1px solid rgba(255, 201, 54, 0.35);
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .wheel-title-badge img {
      height: 18px;
      width: auto;
    }

    .wheel-balance-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255, 201, 54, 0.14);
      border: 1px solid rgba(255, 201, 54, 0.35);
      font-family: inherit;
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--gold);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, transform 0.15s;
    }

    .wheel-balance-link img {
      height: 18px;
      width: auto;
    }

    .wheel-balance-link:hover {
      background: rgba(255, 201, 54, 0.22);
      border-color: rgba(255, 201, 54, 0.55);
      transform: translateY(-1px);
    }

    .wheel-balance-link:focus-visible {
      outline: 2px solid rgba(255, 201, 54, 0.65);
      outline-offset: 2px;
    }

    .wheel-balance-link__value {
      color: #fff;
      font-weight: 800;
    }

    .wheel-profile-block {
      scroll-margin-top: 96px;
    }

    .wheel-profile-block .my-prizes {
      margin-top: 0;
    }

    .wheel-circle__wrapper {
      position: relative;
      z-index: 9;
      width: calc(var(--wheel-size) + var(--wheel-pad-x) * 2);
      height: calc(var(--wheel-size) * 0.611 + var(--wheel-pad-top) + var(--wheel-pad-bottom));
      overflow: hidden;
    }

    .wheel-circle {
      position: absolute;
      left: var(--wheel-pad-x);
      top: var(--wheel-pad-top);
      width: var(--wheel-size);
      height: var(--wheel-size);
      border-radius: 50%;
      background: var(--panel-dark);
      border: 4px solid rgba(255, 201, 54, 0.55);
      box-shadow:
        0 0 0 6px rgba(2, 183, 87, 0.2),
        0 0 48px rgba(255, 201, 54, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 30px rgba(0, 0, 0, 0.35);
      transform-origin: center center;
      transition: transform 4.2s cubic-bezier(0.12, 0.75, 0.18, 1);
    }

    .wheel-circle__items {
      position: absolute;
      inset: 0;
    }

    .wheel-circle__item {
      position: absolute;
      left: 50%;
      bottom: 50%;
      width: calc(var(--wheel-size) * 0.5);
      height: calc(var(--wheel-size) * 0.5);
      margin-left: calc(var(--wheel-size) * -0.25);
      transform-origin: 50% 100%;
      transform: rotate(var(--rot));
      pointer-events: none;
    }

    .wheel-circle__item svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .wheel-circle__item svg path {
      fill: var(--seg-fill, #181a26);
      stroke: none;
    }

    .wheel-circle__item.jackpot svg path { fill: #1a4d2e; }
    .wheel-circle__item.jackpot-robux svg path { fill: #3d3010; }

    .wheel-circle__item-label {
      position: absolute;
      left: 50%;
      top: 11%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      pointer-events: none;
    }

    .wheel-circle__item-letter {
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(34px, 7.5vw, 58px);
      font-weight: 700;
      line-height: 1;
      color: #fff;
      text-align: center;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    }

    .wheel-circle__item.jackpot .wheel-circle__item-letter {
      color: var(--gold);
      text-shadow: 0 2px 8px rgba(255, 201, 54, 0.5);
    }

    .wheel-circle__item-label img {
      height: calc(var(--wheel-size) * 0.085);
      width: auto;
    }

    .wheel-circle__item-label p {
      font-size: clamp(16px, 3.4vw, 26px);
      font-weight: 800;
      line-height: 1;
      color: var(--wheel-text);
      white-space: nowrap;
    }

    .wheel-circle__item.jackpot-robux .wheel-circle__item-label p {
      color: var(--gold);
    }

    .wheel-circle__arrow-wrapper {
      position: absolute;
      left: 50%;
      top: calc(var(--wheel-size) * 0.306 + var(--wheel-pad-top));
      transform: translateX(-50%);
      width: calc(var(--wheel-size) * 0.153);
      height: calc(var(--wheel-size) * 0.163);
      z-index: 12;
      pointer-events: none;
      filter: drop-shadow(0 4px 12px rgba(2, 183, 87, 0.55));
    }

    .wheel-circle__arrow svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    .wheel-circle__inner {
      position: absolute;
      left: 50%;
      bottom: calc(var(--wheel-size) * -0.5 + var(--wheel-pad-bottom));
      transform: translateX(-50%);
      z-index: 11;
      width: calc(var(--wheel-size) * 0.45);
      height: calc(var(--wheel-size) * 0.45);
      pointer-events: none;
    }

    .wheel-circle__inner::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: linear-gradient(165deg, #1a2045 0%, #232845 100%);
      border: 3px solid rgba(255, 201, 54, 0.35);
      box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .wheel-circle__inner::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 50%;
      transform: translateX(-50%);
      width: calc(100% - 8px);
      height: 104px;
      background: linear-gradient(180deg, transparent, var(--wheel-panel));
    }

    .wheel-circle__info {
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      z-index: 13;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: calc(var(--wheel-size) * 0.183);
      width: auto;
      min-width: 0;
    }

    .wheel-spin-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      width: 148px;
      min-width: 148px;
      max-width: 148px;
      height: 42px;
      padding: 0 12px;
      border-radius: 12px;
      border: none;
      border-bottom: 3px solid #016b38;
      background: linear-gradient(180deg, #03d46a 0%, var(--green) 55%, var(--green-dark) 100%);
      color: #fff;
      font-family: 'Fredoka', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      white-space: nowrap;
      cursor: pointer;
      box-shadow: 0 4px 16px var(--green-glow);
      transition: transform 0.12s, box-shadow 0.12s;
    }

    .wheel-spin-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 22px var(--green-glow);
    }

    .wheel-spin-btn:active:not(:disabled) {
      transform: translateY(2px);
      border-bottom-width: 2px;
    }

    .wheel-spin-btn:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .wheel-spins-meta {
      font-size: 0.82rem;
      color: rgba(238, 241, 255, 0.72);
      text-align: center;
      max-width: min(100%, 360px);
      line-height: 1.4;
      min-height: 1.2em;
    }

    .timer-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      width: 100%;
    }

    .timer-title {
      font-size: 0.78rem;
      font-weight: 700;
      color: rgba(238, 241, 255, 0.72);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .timer {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .timer-item {
      min-width: 52px;
      padding: 6px 8px 4px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(1.1rem, 4.2vw, 1.35rem);
      font-weight: 700;
      color: var(--gold);
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .timer-subtitle {
      display: block;
      margin-top: 4px;
      font-family: 'Nunito', sans-serif;
      font-size: 0.58rem;
      font-weight: 800;
      color: rgba(238, 241, 255, 0.55);
      letter-spacing: 0.06em;
    }

    .wheel-circle__item-label .wheel-segment-letter {
      width: clamp(38px, 8.5vw, 54px);
      height: clamp(38px, 8.5vw, 54px);
      border-radius: 10px;
      font-size: clamp(20px, 4.5vw, 30px);
      padding-bottom: 2px;
      color: #fff;
      background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
      border: 2px solid rgba(255, 255, 255, 0.22);
      box-shadow: 0 3px 0 #016b38, 0 3px 10px var(--green-glow);
    }

    .wheel-circle__item.jackpot .wheel-segment-letter {
      color: var(--gold);
      background: linear-gradient(180deg, #1a4d2e 0%, #123d24 100%);
      border-color: rgba(255, 201, 54, 0.35);
      box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 201, 54, 0.25);
    }

    .wheel-circle__item.jackpot svg path { fill: #1a4d2e; }
    .wheel-circle__item.jackpot-robux svg path { fill: #3d3010; }

    .wheel-circle__item--bonus-spin svg path {
      fill: var(--seg-fill, #1a4538);
    }

    .wheel-circle__item-label.wheel-segment-spin {
      gap: 6px;
      padding: 0;
      border: none;
      background: none;
      box-shadow: none;
    }

    .wheel-segment-spin__value {
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(84px, 22vw, 128px);
      font-weight: 700;
      line-height: 0.9;
      color: #fff;
      white-space: nowrap;
      text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    }

    .wheel-segment-spin__word {
      min-width: 52px;
      padding: 6px 10px 4px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      font-family: 'Fredoka', sans-serif;
      font-size: clamp(11px, 2.8vw, 14px);
      font-weight: 700;
      line-height: 1;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      white-space: nowrap;
    }

    .wheel-spins-meta strong {
      color: var(--gold);
      font-weight: 700;
    }

    .wheel-spins-meta a {
      color: #6ee7a8;
      text-decoration: none;
    }

    .wheel-spins-meta a:hover { text-decoration: underline; }

    .countdown-live {
      font-variant-numeric: tabular-nums;
      font-weight: 700;
      color: var(--gold);
    }

    .wheel-result {
      font-size: 13px;
      font-weight: 600;
      color: var(--wheel-muted);
      text-align: center;
      min-height: 0;
    }

    .wheel-result:empty {
      display: none;
    }

    .wheel-result.win { color: var(--gold); }

    .wheel-prizes {
      position: relative;
      z-index: 2;
      width: 100%;
      padding: 32px;
      background: var(--panel-dark);
      border: 2px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius);
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }

    .wheel-prizes__item.superbonus::after {
      top: -32px;
      background: radial-gradient(50% 100% at 50% 0, rgba(255, 201, 54, 0.2) 0, transparent 100%), var(--panel-dark);
    }

    .wheel-prizes__title {
      position: relative;
      z-index: 1;
      padding: 10px 18px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--wheel-text);
      font-family: 'Fredoka', sans-serif;
      font-size: 15px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .wheel-prizes__item.superbonus .wheel-prizes__title {
      background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
      border: none;
      border-radius: 10px;
      color: #1a1200;
      box-shadow: 0 4px 0 #c99200, 0 4px 14px var(--gold-glow);
    }

    .superbonus-title-row {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .superbonus-title {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .superbonus-title__label {
      font-weight: 700;
    }

    .superbonus-title__amount {
      font-weight: 800;
      white-space: nowrap;
    }

    .superbonus-title-row .wheel-help-btn {
      position: relative;
      z-index: 3;
    }

    .superbonus-help-letters {
      justify-content: center;
      margin: 14px 0 16px;
    }

    .superbonus-help-letters .prizes__list-letter {
      width: 48px;
      height: 48px;
      font-size: 26px;
    }

    .superbonus-help-note {
      margin-bottom: 18px;
    }

    .wheel-prizes__item {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .wheel-prizes__item::after {
      content: '';
      position: absolute;
      top: 20px;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(50% 100% at 50% 0, rgba(255,255,255,0.04) 0, transparent 100%), var(--panel-dark);
      z-index: 0;
      pointer-events: none;
    }

    .wheel-prizes__item.superbonus .wheel-prizes__title .superbonus-title__amount { font-weight: 800; }

    .prizes__list {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
      width: 100%;
    }

    .prizes__list-letters { gap: 6px; }

    .prizes__list-letters-wrap {
      position: relative;
      width: fit-content;
      max-width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: center;
    }

    .prizes__list-letter {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 64px;
      height: 64px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.06);
      border: 2px solid rgba(255, 255, 255, 0.14);
      box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
      color: var(--wheel-muted);
      font-family: 'Fredoka', sans-serif;
      font-size: 34px;
      font-weight: 700;
      line-height: 1;
      padding-bottom: 3px;
      overflow: hidden;
      transition: transform 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    }

    .prizes__list-letter.active {
      color: var(--gold);
      transform: scale(1.06);
    }

    .prizes__list-letter.collected {
      color: #fff;
      background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
      border-color: rgba(255, 255, 255, 0.22);
      box-shadow: 0 4px 0 #016b38, 0 4px 12px var(--green-glow);
    }

    .prizes__list-letters.all-collected .prizes__list-letter.collected {
      color: rgba(255, 255, 255, 0.55);
      background: linear-gradient(180deg, #1a3328 0%, #122820 100%);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
      transform: none;
    }

    .prizes__list-letters.all-collected .prizes__list-letter.collected::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: rgba(0, 0, 0, 0.38);
      pointer-events: none;
    }

    .letters-claim-btn {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;
      padding: 10px 18px;
      border: 2px solid rgba(255, 255, 255, 0.25);
      border-bottom: 4px solid #c99200;
      border-radius: 10px;
      background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
      color: #1a1a2e;
      font-family: 'Fredoka', sans-serif;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
      transition: transform 0.15s, filter 0.15s;
    }

    .letters-claim-btn:hover {
      filter: brightness(1.06);
      transform: translate(-50%, -52%);
    }

    .letters-claim-btn:active {
      transform: translate(-50%, -48%);
      border-bottom-width: 2px;
    }

    .my-prizes {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 520px;
      margin-top: 4px;
    }

    .my-prizes__toggle {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 18px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: var(--wheel-card);
      color: var(--wheel-text);
      font-family: inherit;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }

    .my-prizes__toggle:hover {
      background: #252836;
      border-color: rgba(255, 255, 255, 0.16);
    }

    .my-prizes__count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 22px;
      height: 22px;
      padding: 0 6px;
      border-radius: 999px;
      background: var(--green);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
    }

    .my-prizes__chevron {
      position: absolute;
      right: 18px;
      width: 16px;
      height: 16px;
      transition: transform 0.25s ease;
      opacity: 0.7;
    }

    .my-prizes.open .my-prizes__chevron {
      transform: rotate(180deg);
    }

    .my-prizes__panel {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.28s ease;
    }

    .my-prizes.open .my-prizes__panel {
      grid-template-rows: 1fr;
    }

    .my-prizes__panel-inner {
      overflow: hidden;
    }

    .my-prizes__list {
      list-style: none;
      margin: 0;
      padding: 12px 0 4px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .my-prizes__item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 14px;
      font-weight: 600;
      color: var(--wheel-text);
    }

    .my-prizes__item-row span:last-child {
      color: var(--wheel-muted);
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
    }

    .my-prizes__empty {
      padding: 12px 0 4px;
      text-align: center;
      font-size: 13px;
      color: var(--wheel-muted);
    }

    .celebrate-layer {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 205;
      overflow: hidden;
    }

    .celebrate-piece {
      position: fixed;
      opacity: 0.95;
      border-radius: 2px;
      animation: confetti-burst var(--dur, 0.8s) ease-out forwards;
    }

    .celebrate-star {
      position: fixed;
      font-size: clamp(1rem, 3vw, 1.45rem);
      line-height: 1;
      animation: star-pop var(--dur, 1s) ease-out forwards;
      filter: drop-shadow(0 2px 6px rgba(255, 201, 54, 0.45));
    }

    @keyframes confetti-burst {
      0% { opacity: 1; transform: translate(-50%, -50%) scale(0.15) rotate(0deg); }
      100% { opacity: 0; transform: translate(calc(-50% + var(--bx, 0)), calc(-50% + var(--by, 0))) scale(1) rotate(var(--rot, 360deg)); }
    }

    @keyframes star-pop {
      0% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
      25% { opacity: 1; transform: translate(-50%, -50%) scale(1.25) rotate(18deg); }
      100% { opacity: 0; transform: translate(-50%, calc(-50% - 70px)) scale(0.7) rotate(40deg); }
    }

    .wheel-circle__wrapper.wheel-celebrating::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 8%;
      width: 120%;
      height: 90%;
      transform: translateX(-50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 201, 54, 0.55) 0%, rgba(2, 183, 87, 0.2) 35%, transparent 68%);
      animation: celebrate-flash 0.85s ease-out forwards;
      pointer-events: none;
      z-index: 20;
    }

    @keyframes celebrate-flash {
      0% { opacity: 0; transform: translateX(-50%) scale(0.6); }
      30% { opacity: 1; transform: translateX(-50%) scale(1); }
      100% { opacity: 0; transform: translateX(-50%) scale(1.15); }
    }

    .wheel-circle__wrapper.wheel-celebrating .wheel-circle {
      animation: wheel-win-pulse 0.85s ease-out;
    }

    @keyframes wheel-win-pulse {
      0%, 100% { filter: brightness(1); }
      40% { filter: brightness(1.2); }
    }

    .win-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .win-modal.show {
      opacity: 1;
      pointer-events: auto;
      display: flex !important;
    }

    .win-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(4px);
    }

    .win-modal__box {
      position: relative;
      z-index: 1;
      width: min(100%, 380px);
      padding: 28px 24px 24px;
      border-radius: 16px;
      background: var(--wheel-panel);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
      text-align: center;
      transform: scale(0.92);
      transition: transform 0.28s ease;
    }

    .win-modal.show .win-modal__box {
      transform: scale(1);
    }

    .win-modal__title {
      font-family: 'Fredoka', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
      text-transform: uppercase;
    }

    .win-modal__prize {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 20px 16px;
      margin-bottom: 20px;
      border-radius: 12px;
      background: rgba(2, 183, 87, 0.1);
      border: 2px solid rgba(2, 183, 87, 0.3);
    }

    .win-modal__prize img {
      height: 48px;
      width: auto;
      filter: drop-shadow(0 3px 6px rgba(180, 130, 0, 0.5));
    }

    .win-modal__prize-text {
      font-family: 'Fredoka', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1.3;
    }

    .win-modal__sub {
      font-size: 13px;
      color: var(--wheel-muted);
      margin-top: 4px;
    }

    .win-modal__prize-letter {
      font-family: 'Fredoka', sans-serif;
      font-size: 56px;
      font-weight: 700;
      line-height: 1;
      color: var(--green);
    }

    .win-modal__btn {
      width: 100%;
      height: 48px;
      border: none;
      border-bottom: 4px solid #016b38;
      border-radius: 14px;
      background: linear-gradient(180deg, #03d46a 0%, var(--green) 55%, var(--green-dark) 100%);
      color: #fff;
      font-family: 'Fredoka', sans-serif;
      font-size: 15px;
      font-weight: 700;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.12s;
    }

    .win-modal__btn:hover { transform: translateY(-1px); }

    .prizes__item {
      position: relative;
      width: 100%;
      max-width: 160px;
      height: 204px;
      padding: 16px;
      border-radius: 20px;
      background: linear-gradient(165deg, #ffffff 0%, #fff8e6 45%, #fff3cc 100%);
      border: 3px solid #fff;
      border-bottom: 5px solid #d4dce8;
      overflow: hidden;
      cursor: default;
      box-shadow: var(--card-shadow);
      transition: transform 0.18s, box-shadow 0.18s;
    }

    .prizes__item::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -40px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      filter: blur(0);
      transform: scale(1);
      transition: transform 0.3s ease;
      pointer-events: none;
    }

    .prizes__item__color-silver::before { background: radial-gradient(circle, rgba(130, 130, 131, 0.35) 0%, transparent 70%); }
    .prizes__item__color-blue::before { background: radial-gradient(circle, rgba(24, 76, 173, 0.35) 0%, transparent 70%); }
    .prizes__item__color-red::before { background: radial-gradient(circle, rgba(130, 10, 19, 0.35) 0%, transparent 70%); }
    .prizes__item__color-gold::before { background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%); }

    .prizes__item:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 0 #c5cdd9, 0 16px 36px rgba(255, 201, 54, 0.35);
    }

    .prizes__item img {
      position: absolute;
      left: -88px;
      bottom: -88px;
      width: 288px;
      height: 288px;
      transform: scale(0.6);
      object-fit: contain;
      pointer-events: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .prizes__item:hover::before {
      transform: scale(1);
    }

    .prizes__item:hover img {
      transform: scale(0.72);
    }

    .prizes__item-value {
      position: relative;
      z-index: 2;
      display: inline-flex;
      flex-direction: column;
      gap: 2px;
      width: fit-content;
      max-width: 100%;
      padding: 6px 10px;
      border-radius: 8px;
      background: rgba(20, 24, 36, 0.88);
      border: 2px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
      transition: border-color 0.2s ease;
    }

    .prizes__item:hover .prizes__item-value {
      border-color: rgba(255, 201, 54, 0.45);
    }

    .prizes__item-value h4 {
      font-size: 9px;
      font-weight: 800;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.7);
      letter-spacing: 0.06em;
    }

    .prizes__item-value p {
      font-size: 17px;
      font-weight: 800;
      color: #fff;
      line-height: 1.1;
      font-family: 'Fredoka', sans-serif;
    }

    .wheel-note {
      position: relative;
      z-index: 2;
      margin-top: 16px;
      font-size: 11px;
      color: var(--wheel-muted);
      text-align: center;
    }

    @media (max-width: 640px) {
      .wheel-spins-meta--guest {
        display: none;
      }
      .wheel-prizes { padding: 20px 16px; }
      .prizes__item {
        max-width: calc(50% - 8px);
        height: 160px;
        padding: 12px;
      }
      .prizes__item img {
        left: -64px;
        bottom: -72px;
        width: 220px;
        height: 220px;
        transform: scale(0.55);
        opacity: 0.85;
      }
      .prizes__item-value {
        padding: 4px 7px;
        gap: 2px;
      }
      .prizes__item-value h4 {
        font-size: 9px;
        opacity: 0.8;
      }
      .prizes__item-value p {
        font-size: 15px;
      }
      .prizes__item:hover img {
        transform: scale(0.62);
      }
      .prizes__list-letter { width: 48px; height: 48px; font-size: 26px; padding-bottom: 2px; }
      .wheel-spins-meta .timer-wrapper {
        display: none;
      }
    }

.game-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
    .game-block { position: absolute; border-radius: 6px; opacity: 0.12; animation: floatBlock 8s ease-in-out infinite; }
    .game-block.b1 { width: 56px; height: 56px; background: var(--gold); top: 12%; left: 4%; transform: rotate(18deg); }
    .game-block.b2 { width: 40px; height: 40px; background: var(--green); top: 28%; right: 6%; transform: rotate(-12deg); animation-delay: -2s; }
    .game-block.b3 { width: 32px; height: 32px; background: #5b8def; bottom: 22%; left: 8%; transform: rotate(8deg); animation-delay: -4s; }
    .game-block.b4 { width: 48px; height: 48px; background: var(--rbx-red); bottom: 14%; right: 10%; transform: rotate(-20deg); animation-delay: -1s; }
    @keyframes floatBlock {
      0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
      50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
    }