/* 员工幸运大转盘 — 中老年友好：大字号、少装饰、操作清晰 */

.page-wheel {
  background: #4a0610;
}

.page-wheel.app-body {
  position: relative;
}

/* ── 节日氛围背景（纯 CSS + SVG 装饰，非效果图贴图） ── */
.wheel-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wheel-scene__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 55% at 50% -5%, rgba(255, 210, 90, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 80% 40% at 15% 12%, rgba(255, 180, 60, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 85% 10%, rgba(255, 160, 50, 0.2) 0%, transparent 48%),
    linear-gradient(
      180deg,
      #d42028 0%,
      #b81520 12%,
      #941018 28%,
      #720c14 48%,
      #520810 68%,
      #3a0610 100%
    );
}

.wheel-scene__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
}

.wheel-scene__glow--center {
  top: 2%;
  left: 50%;
  width: min(92vw, 360px);
  height: min(92vw, 360px);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 220, 100, 0.45) 0%, transparent 68%);
}

.wheel-scene__glow--left {
  top: 8%;
  left: -8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 200, 80, 0.35) 0%, transparent 70%);
}

.wheel-scene__glow--right {
  top: 6%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 180, 70, 0.32) 0%, transparent 70%);
}

.wheel-scene__rays {
  position: absolute;
  top: -8%;
  left: 50%;
  width: 140%;
  height: 52%;
  transform: translateX(-50%);
  opacity: 0.14;
  background: repeating-conic-gradient(
    from 0deg at 50% 100%,
    rgba(255, 229, 102, 0.55) 0deg 6deg,
    transparent 6deg 18deg
  );
  mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 20%, transparent 72%);
}

.wheel-scene__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
}

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

.wheel-scene__confetti i {
  position: absolute;
  display: block;
  border-radius: 1px;
  opacity: 0.7;
  animation: wheel-confetti-drift 9s ease-in-out infinite;
}

.wheel-scene__confetti i:nth-child(1) { left: 8%; top: 14%; width: 7px; height: 11px; background: #ffe566; transform: rotate(-20deg); animation-delay: 0s; }
.wheel-scene__confetti i:nth-child(2) { left: 18%; top: 22%; width: 5px; height: 9px; background: #5bc0eb; transform: rotate(15deg); animation-delay: -1.2s; }
.wheel-scene__confetti i:nth-child(3) { left: 82%; top: 16%; width: 6px; height: 10px; background: #ffe566; animation-delay: -2.4s; }
.wheel-scene__confetti i:nth-child(4) { left: 90%; top: 26%; width: 5px; height: 8px; background: #ff8a8a; animation-delay: -0.8s; }
.wheel-scene__confetti i:nth-child(5) { left: 6%; top: 34%; width: 4px; height: 7px; background: #fff; opacity: 0.45; animation-delay: -3.1s; }
.wheel-scene__confetti i:nth-child(6) { left: 94%; top: 38%; width: 5px; height: 8px; background: #5bc0eb; animation-delay: -1.8s; }
.wheel-scene__confetti i:nth-child(7) { left: 12%; top: 48%; width: 6px; height: 9px; background: #ffb347; animation-delay: -4.2s; }
.wheel-scene__confetti i:nth-child(8) { left: 88%; top: 44%; width: 5px; height: 9px; background: #ffe566; animation-delay: -2.9s; }
.wheel-scene__confetti i:nth-child(9) { left: 22%; top: 12%; width: 4px; height: 6px; background: #fff; opacity: 0.4; animation-delay: -5s; }
.wheel-scene__confetti i:nth-child(10) { left: 72%; top: 10%; width: 5px; height: 7px; background: #ff6b6b; animation-delay: -3.6s; }
.wheel-scene__confetti i:nth-child(11) { left: 48%; top: 8%; width: 4px; height: 6px; background: #ffe566; animation-delay: -1.5s; }
.wheel-scene__confetti i:nth-child(12) { left: 36%; top: 18%; width: 5px; height: 8px; background: #5bc0eb; animation-delay: -4.8s; }
.wheel-scene__confetti i:nth-child(13) { left: 58%; top: 20%; width: 4px; height: 7px; background: #fff; opacity: 0.35; animation-delay: -2.2s; }
.wheel-scene__confetti i:nth-child(14) { left: 4%; top: 58%; width: 5px; height: 8px; background: #ffb347; animation-delay: -6s; }
.wheel-scene__confetti i:nth-child(15) { left: 96%; top: 52%; width: 4px; height: 7px; background: #ffe566; animation-delay: -5.4s; }
.wheel-scene__confetti i:nth-child(16) { left: 28%; top: 56%; width: 5px; height: 9px; background: #ff8a8a; animation-delay: -3.3s; }
.wheel-scene__confetti i:nth-child(17) { left: 68%; top: 58%; width: 5px; height: 8px; background: #5bc0eb; animation-delay: -4.5s; }
.wheel-scene__confetti i:nth-child(18) { left: 50%; top: 62%; width: 4px; height: 6px; background: #ffe566; animation-delay: -6.8s; }

@keyframes wheel-confetti-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.65; }
  50% { transform: translateY(10px) rotate(12deg); opacity: 0.9; }
}

.wheel-scene__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 45%, rgba(30, 4, 8, 0.35) 78%, rgba(20, 2, 6, 0.65) 100%),
    linear-gradient(90deg, rgba(30, 4, 8, 0.25) 0%, transparent 12%, transparent 88%, rgba(30, 4, 8, 0.25) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .wheel-scene__confetti i {
    animation: none;
  }
}

.page-wheel.app-body .app-shell {
  position: relative;
  z-index: 1;
  padding-bottom: calc(52px + 20px + env(safe-area-inset-bottom, 0px));
  background: transparent;
}

.page-wheel .app-main {
  background: transparent;
}

/* ── 顶栏 ── */
.wheel-header {
  padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px;
  color: #fff;
  background: transparent;
}

.wheel-header__bar {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.wheel-header__back {
  font-size: 36px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}

.wheel-header__titles h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffe566;
  text-shadow:
    0 0 12px rgba(255, 200, 60, 0.45),
    0 2px 4px rgba(139, 0, 0, 0.8),
    0 3px 8px rgba(0, 0, 0, 0.45);
}

.wheel-header__titles p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.wheel-header__rules {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
}

.wheel-notice {
  margin: 0 16px 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 8px;
}

.wheel-notice[hidden] {
  display: none !important;
}

.wheel-jackpot-banner {
  margin: 0 14px 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, #c41e22 0%, #e85d4a 50%, #c41e22 100%);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(196, 30, 34, 0.35);
  animation: wheel-jackpot-pulse 2.4s ease-in-out infinite;
}

.wheel-jackpot-banner[hidden] {
  display: none !important;
}

@keyframes wheel-jackpot-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

.wheel-main {
  padding: 0 16px 24px;
}

/* ── 数据卡片 ── */
.wheel-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
  padding: 14px 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wheel-stat {
  padding: 0 6px;
  text-align: center;
  border-right: 1px solid #eee;
}

.wheel-stat:last-child {
  border-right: none;
}

.wheel-stat__label {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

.wheel-stat__value {
  margin: 6px 0 0;
  line-height: 1.1;
}

.wheel-stat__value strong {
  font-size: 26px;
  font-weight: 800;
  color: #222;
  font-variant-numeric: tabular-nums;
}

.wheel-stat__value em {
  margin-left: 2px;
  font-style: normal;
  font-size: 14px;
  color: #888;
}

.wheel-stat--accent .wheel-stat__value strong {
  color: #c41e22;
}

.wheel-stats-hint {
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.wheel-stats-hint[hidden] {
  display: none !important;
}

/* ── 转盘 ── */
.wheel-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px;
}

.wheel-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.wheel-disc-wrap {
  position: relative;
  width: min(100%, 300px);
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  background: linear-gradient(145deg, #ffd54f 0%, #e8b923 35%, #c41e22 100%);
  box-shadow:
    0 0 0 2px rgba(255, 229, 102, 0.5),
    0 0 24px rgba(255, 200, 60, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.4);
}

/* 旧版 WebView 无 aspect-ratio 时的正方形兜底 */
@supports not (aspect-ratio: 1 / 1) {
  .wheel-disc-wrap::before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .wheel-disc-rim,
  .wheel-disc-rotor {
    position: absolute;
  }
}

.wheel-disc-rim {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px solid rgba(255, 229, 102, 0.85);
  box-shadow:
    inset 0 0 12px rgba(255, 229, 102, 0.25),
    0 0 8px rgba(255, 200, 60, 0.2);
  pointer-events: none;
  z-index: 2;
}

.wheel-disc-rim::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -90deg,
    rgba(255, 240, 150, 0.9) 0deg 4deg,
    rgba(196, 30, 34, 0.15) 4deg 8deg
  );
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 68%, transparent 69%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 68%, transparent 69%);
  opacity: 0.75;
  pointer-events: none;
}

.wheel-disc-rotor {
  position: absolute;
  inset: 12px;
  z-index: 3;
  border-radius: 50%;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 4.8s cubic-bezier(0.15, 0.85, 0.12, 1);
  will-change: transform;
}

.wheel-disc-face,
.wheel-disc-lines,
.wheel-disc-labels {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-disc-face {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.wheel-disc-lines {
  opacity: 0.85;
}

.wheel-disc-labels {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.wheel-disc-labels-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.wheel-seg-svg-text {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  pointer-events: none;
}

.wheel-seg-svg-text__type {
  font-size: 11px;
  font-weight: 800;
  fill: #fff;
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 2px;
  paint-order: stroke fill;
}

.wheel-seg-svg-text__amt {
  font-size: 10.5px;
  font-weight: 700;
  fill: #fff;
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 1.8px;
  paint-order: stroke fill;
}

.wheel-spin-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 0;
  color: #fff;
  background: #c41e22;
  border: 4px solid #ffe566;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  cursor: pointer;
  touch-action: manipulation;
}

.wheel-spin-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.wheel-spin-btn.is-empty:not(:disabled) {
  background: #a01820;
}

.wheel-spin-btn__label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wheel-spin-btn small {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}

/* ── 喜报条 ── */
.wheel-ticker {
  margin-bottom: 16px;
  padding: 10px 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.wheel-ticker__track {
  font-size: 14px;
  line-height: 1.4;
  color: #ffe566;
  white-space: nowrap;
  overflow: hidden;
  animation: wheel-ticker-marquee 22s linear infinite;
}

@keyframes wheel-ticker-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 任务 & 记录 ── */
.wheel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.wheel-pending-cash {
  margin-bottom: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #fff8f8 0%, #fff 28%);
  border: 2px solid rgba(196, 30, 34, 0.28);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.wheel-pending-cash[hidden] {
  display: none !important;
}

.wheel-section-head--pending {
  align-items: flex-start;
  margin-bottom: 14px;
}

.wheel-section-head__titles {
  flex: 1;
  min-width: 0;
}

.wheel-pending-cash__hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
  font-weight: 500;
}

.wheel-section-head__badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #c41e22;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.wheel-record-list--pending {
  max-height: min(58vh, 380px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.wheel-record-list--pending .wheel-record-item {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(196, 30, 34, 0.22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(196, 30, 34, 0.06);
}

.wheel-record-list--pending .wheel-record-item:last-child {
  margin-bottom: 0;
}

.wheel-record-list--pending .wheel-record-item__main {
  display: block;
}

.wheel-record-list--pending .wheel-record-item__main > span {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
}

.wheel-record-list--pending .wheel-record-item__amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.wheel-record-list--pending .wheel-record-item em {
  font-size: 22px;
  line-height: 1.1;
}

.wheel-record-list--pending .wheel-record-item time {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.wheel-record-list--pending .wheel-record-item__side {
  display: none;
}

.wheel-record-list--pending .wheel-record-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.wheel-record-list--pending .wheel-record-item__claim {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.25;
}

.wheel-record-list--pending .wheel-record-item__claim--link {
  background: #c41e22;
}

.wheel-record-item--pending-old {
  border-style: dashed;
  opacity: 0.92;
}

.wheel-record-item__old-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #c41e22;
  background: rgba(196, 30, 34, 0.1);
  border-radius: 4px;
  vertical-align: middle;
}

.wheel-tasks,
.wheel-records {
  margin-bottom: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.wheel-section-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #222;
}

.wheel-section-head span {
  font-size: 13px;
  color: #c41e22;
  font-weight: 700;
}

.wheel-task-list,
.wheel-record-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wheel-task-item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.wheel-task-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wheel-task-item.is-done {
  opacity: 0.65;
}

.wheel-task-item__body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
}

.wheel-task-item__progress {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #c41e22;
  background: rgba(196, 30, 34, 0.08);
  border-radius: 999px;
}

.wheel-task-item__body p {
  margin: 6px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.wheel-task-item__action {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #c41e22;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
}

.wheel-task-item__action.is-done {
  color: #999;
  background: #f0f0f0;
  cursor: default;
}

.wheel-record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
}

.wheel-record-item__main {
  flex: 1;
  min-width: 0;
}

.wheel-record-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.wheel-record-item__claim {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #c41e22;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.wheel-record-item__claim--link {
  background: #2b6cb0;
}

.wheel-record-item__claim.is-muted {
  background: #f0f0f0;
  color: #666;
}

.wheel-record-item__claim:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wheel-record-item:last-child {
  border-bottom: none;
}

.wheel-record-item em {
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  color: #c41e22;
}

.wheel-record-item time {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
}

.wheel-record-item__pending,
.wheel-record-item__claimed {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  font-style: normal;
}

.wheel-record-item__pending {
  color: #c05621;
  background: #feebc8;
}

.wheel-record-item__claimed {
  color: #276749;
  background: #c6f6d5;
}

.wheel-empty {
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  color: #999;
}

/* ── 弹窗 ── */
.wheel-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.wheel-overlay[hidden] {
  display: none !important;
}

.wheel-result__card,
.wheel-empty-card {
  position: relative;
  width: min(100%, 320px);
  padding: 28px 22px 22px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.wheel-result__dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: #999;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.wheel-result__dismiss:active {
  color: #666;
  background: #f3f3f3;
}

.wheel-result__eyebrow {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #c41e22;
}

.wheel-result__prize {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
}

.wheel-result__hint {
  margin: 12px 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

.wheel-result__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wheel-result__btn[hidden],
a.wheel-result__btn[hidden] {
  display: none !important;
}

.wheel-result__btn,
.wheel-empty-card__primary {
  width: 100%;
  min-height: 48px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: #c41e22;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.wheel-result__btn--claim:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wheel-result__btn--ghost {
  color: #666;
  background: #f3f3f3;
}

.wheel-result__btn--action {
  background: #2b6cb0;
}

.wheel-result__subscribe {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.wheel-result__subscribe[hidden] {
  display: none !important;
}

.wheel-result__btn--subscribe {
  background: linear-gradient(180deg, #ff8a65 0%, #e85d4a 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(232, 93, 74, 0.35);
}

.wheel-result__btn--subscribe:active {
  transform: scale(0.98);
}

.wheel-empty-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #222;
}

.wheel-empty-card__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
}

.wheel-empty-card__tasks {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.wheel-empty-card__task {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.wheel-empty-card__task:last-child {
  border-bottom: none;
}

.wheel-empty-card__task--muted {
  text-align: center;
  color: #999;
}

.wheel-empty-card__task strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #222;
}

.wheel-empty-card__task small {
  display: block;
  font-size: 13px;
  color: #888;
  line-height: 1.45;
}

.wheel-empty-card__primary {
  margin-bottom: 10px;
}

.wheel-empty-card__ghost {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: #666;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.wheel-overlay--rules .wheel-rules__panel {
  width: min(100%, 360px);
  max-height: min(80vh, 560px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
}

.wheel-rules__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.wheel-rules__head h2 {
  margin: 0;
  font-size: 18px;
}

.wheel-rules__close {
  min-height: 36px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #666;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.wheel-rules__body {
  padding: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.wheel-rules__body h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  color: #222;
}

.wheel-rules__body h3:first-child {
  margin-top: 0;
}

.wheel-rules__body ul {
  margin: 0;
  padding-left: 20px;
}

.wheel-rules__body li {
  margin-bottom: 8px;
}

.wheel-rules__prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.wheel-rules__prize-chip {
  padding: 8px 6px;
  font-size: 13px;
  text-align: center;
  border-radius: 8px;
  background: #f5f5f5;
}

.wheel-rules__prize-chip--fund {
  background: #eef4ff;
  color: #1a4f9c;
}

.wheel-rules__prize-chip--salary {
  background: #eef8f1;
  color: #1d6b3a;
}

.wheel-rules__prize-chip--cash {
  background: #fff5f5;
  color: #c41e22;
}

@media (min-width: 400px) {
  .wheel-seg-svg-text__type {
    font-size: 12px;
  }

  .wheel-seg-svg-text__amt {
    font-size: 11.5px;
  }
}
