/* Equal and opposite transforms keep every reward upright while the disk
   rotates. The pointer, outer rim and brand button remain stationary. */
[data-promotion-dialog] {
  --wheel-duration: 4.6s;
  --wheel-easing: cubic-bezier(.12,.74,.12,1);
  grid-template-columns: 1fr 1.04fr;
  max-width: 880px;
  border: 1px solid #88a97b40;
  border-radius: 26px;
  background: #101e19;
  box-shadow: 0 32px 100px #0009, inset 0 1px #f2ffda0b;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
[data-promotion-dialog] .promotion-visual {
  min-width: 0;
  padding: 38px 26px 28px;
  background: radial-gradient(ellipse at 50% 48%,#b9e46813,transparent 66%),linear-gradient(145deg,#19352a,#0c1c17 80%);
  border-right: 1px solid #a8cd8920;
}
[data-promotion-dialog] .eyebrow { font-family: var(--font-body,Barlow,sans-serif); font-size: 10px; line-height: 1.5; letter-spacing: .16em; font-weight: 600; color: #bbd1a9; }
[data-promotion-dialog] .promotion-visual > .eyebrow { text-align: center; }
[data-promotion-dialog] .promotion-copy { min-width: 0; align-self: center; padding: 45px 30px 26px; }
[data-promotion-dialog] .promotion-copy h2 {
  margin: 10px 0 12px;
  color: #f1f7e8;
  font-family: var(--font-sport,'Barlow Condensed',sans-serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px,3.4vw,44px);
  line-height: 1.04;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
[data-promotion-dialog] #promotion-summary { max-width: 31ch; color: #b0c4b8; font-size: 14px; line-height: 1.6; }
[data-promotion-dialog] .promotion-close { z-index: 6; width: 38px; height: 38px; background: #14271f; border-color: #adc9903b; color: #e5efdf; }
[data-promotion-dialog] .promotion-close:hover { background: #254032; border-color: #b9d48d80; }
[data-promotion-dialog] .wheel-wrap {
  position: relative;
  width: min(100%,326px);
  flex-shrink: 0;
  isolation: isolate;
  aspect-ratio: 1;
  margin: 30px auto 24px;
  border-radius: 50%;
  background: linear-gradient(145deg,#5c7850,#203d2d 42%,#172d23 66%,#688250);
  box-shadow: 0 18px 34px #0005,0 0 0 1px #d6edb338,inset 0 0 0 3px #0a1b1680;
}
[data-promotion-dialog] .wheel-wrap::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid #cee4aa3b; pointer-events: none; }
[data-promotion-dialog] .wheel-wrap::after { content: ""; position: absolute; inset: 11px; z-index: 2; border: 1px solid #f3ffd944; border-radius: 50%; box-shadow: inset 0 0 0 4px #0a211414; pointer-events: none; }
[data-promotion-dialog] .wheel-disk { position: absolute; inset: 11px; border-radius: 50%; overflow: hidden; clip-path: circle(50%); contain: paint; isolation: isolate; }
[data-promotion-dialog] .wheel-rotor { position: absolute; inset: 0; animation: none; transform: none; }
[data-promotion-dialog] .promotion-wheel {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center,#ffffff00 36%,#0e2a1212 100%),conic-gradient(#caee86 0deg 89.6deg,#143727 89.6deg 90deg,#76d3b3 90deg 179.6deg,#143727 179.6deg 180deg,#254d3b 180deg 269.6deg,#143727 269.6deg 270deg,#e1edc6 270deg 359.6deg,#143727 359.6deg);
  box-shadow: inset 0 0 20px #0c241315;
  transform: rotate(var(--wheel-rotation,0deg));
  transition: transform var(--wheel-duration) var(--wheel-easing);
  animation: none;
}
[data-promotion-dialog].is-spinning .promotion-wheel,
[data-promotion-dialog].is-spinning .wheel-label { will-change: transform; }
[data-promotion-dialog] .wheel-pointer {
  position: absolute;
  left: 50%;
  top: -7px;
  width: 26px;
  height: 38px;
  z-index: 5;
  transform: translateX(-50%);
  background: linear-gradient(110deg,#fbffe9,#d7eca9 65%,#a7c36e);
  clip-path: polygon(14% 0,86% 0,100% 28%,50% 100%,0 28%);
  filter: drop-shadow(0 3px 3px #0007);
  pointer-events: none;
}
[data-promotion-dialog] .wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
  border: 1px solid #cbe69f8c;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 20%,#31533c,#10281d 75%);
  box-shadow: 0 0 0 6px #102d22d9,0 5px 18px #0006,inset 0 1px #f0ffd61a;
  cursor: pointer;
  transform: translate(-50%,-50%);
  transition: border-color .2s,box-shadow .2s;
  animation: none;
  -webkit-tap-highlight-color: transparent;
}
[data-promotion-dialog] .wheel-hub-logo { display: block; width: 52px; height: 52px; margin-top: -9px; border-radius: 0; pointer-events: none; animation: none; transform: none; }
[data-promotion-dialog] .wheel-hub-action { position: absolute; bottom: 13px; left: 0; right: 0; font-family: var(--font-body,Barlow,sans-serif); font-size: 8px; line-height: 1; font-weight: 600; letter-spacing: .12em; color: #e0f2bc; }
[data-promotion-dialog] .wheel-hub:disabled { cursor: default; opacity: 1; }
[data-promotion-dialog] .wheel-hub:hover:not(:disabled) { border-color: #edffd1; box-shadow: 0 0 0 6px #102d22d9,0 0 24px #c6ed7540,inset 0 1px #f0ffd622; }
[data-promotion-dialog] .wheel-label {
  position: absolute;
  width: 36%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #163425;
  text-align: center;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
  transform: translate(-50%,-50%) rotate(calc(-1 * var(--wheel-rotation,0deg)));
  transition: transform var(--wheel-duration) var(--wheel-easing);
  pointer-events: none;
}
[data-promotion-dialog] .wheel-label strong { color: inherit; font-family: var(--font-sport,'Barlow Condensed',sans-serif); font-size: 38px; font-style: italic; font-weight: 800; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
[data-promotion-dialog] .wheel-label small { color: inherit; font-family: var(--font-body,Barlow,sans-serif); font-size: 9px; line-height: 1.2; font-weight: 600; letter-spacing: .07em; white-space: nowrap; }
[data-promotion-dialog] .wheel-10 { left: 72.5%; top: 27.5%; }
[data-promotion-dialog] .wheel-20 { left: 72.5%; top: 72.5%; }
[data-promotion-dialog] .wheel-none { left: 27.5%; top: 72.5%; color: #edf5df; }
[data-promotion-dialog] .wheel-month { left: 27.5%; top: 27.5%; }
[data-promotion-dialog] .wheel-none strong { font-size: 23px; letter-spacing: 0; }
[data-promotion-dialog] .wheel-none small { color: #ccdebf; }
[data-promotion-dialog] .wheel-label.is-selected::after { content: ""; position: absolute; inset: -7px -1px; border: 1px solid currentColor; border-radius: 10px; opacity: .48; }
[data-promotion-dialog] .wheel-click-hint { margin: 0 0 9px; color: #e0edcf; font-size: 13px; line-height: 1.5; text-align: center; }
[data-promotion-dialog] .wheel-disclosure { max-width: 260px; margin: 0; color: #a6bcaa; font-family: var(--font-body,Barlow,sans-serif); font-size: 11px; line-height: 1.5; text-align: center; }
[data-promotion-dialog] .promotion-result { min-height: 100px; margin: 21px 0 18px; padding: 17px 18px; border: 1px solid #b4d58c35; border-radius: 14px; background: linear-gradient(120deg,#2d472b66,#1a302580); box-shadow: inset 3px 0 #c6eb78; }
[data-promotion-dialog] .promotion-result strong { display: block; color: #e0f2bb; font-family: var(--font-sport,'Barlow Condensed',sans-serif); font-size: 25px; line-height: 1.15; font-weight: 700; }
[data-promotion-dialog] .promotion-result p { margin: 7px 0 0; color: #b8caba; font-size: 13px; line-height: 1.5; }
[data-promotion-dialog] .btn-primary { min-height: 48px; border-radius: 11px; font-family: var(--font-sport,'Barlow Condensed',sans-serif); font-size: 19px; font-weight: 700; letter-spacing: .025em; }
[data-promotion-dialog] .promotion-skip { min-height: 42px; color: #b2c3b5; font-size: 13px; text-decoration: none; }
[data-promotion-dialog] .promotion-skip:hover { color: #f0f8e4; }
[data-promotion-dialog] .promotion-rules { border-color: #adc68c26; padding-top: 12px; }
[data-promotion-dialog] .promotion-rules summary { color: #adc1b0; line-height: 1.5; }
[data-promotion-dialog] .promotion-rules p { color: #adc1b0; font-size: 12px; line-height: 1.6; }
[data-promotion-dialog] :is(button,a,summary):focus-visible { outline: 2px solid #edffd1; outline-offset: 4px; }
[data-promotion-dialog] .wheel-hub:focus-visible { outline: 3px solid #f2ffd8; outline-offset: 7px; }
[data-promotion-dialog].is-spinning .wheel-hub-action { color: #83e1c2; }
[data-promotion-dialog].is-spinning .promotion-result { box-shadow: inset 3px 0 #76d3b3; }
[data-promotion-dialog][data-wheel-state="error"] .promotion-result { border-color: #d8ad7066; box-shadow: inset 3px 0 #d8ad70; }
/* Keep the shared reward component restrained inside this modal only. */
[data-promotion-dialog] .promotion-copy .reward-stage { gap: 14px; padding: 13px 0 15px; margin: -3px 0 14px; border: 0; border-bottom: 1px solid #abc88e26; border-radius: 0; background: none; box-shadow: none; }
[data-promotion-dialog] .promotion-copy .reward-emblem { width: 64px; height: 66px; border: 1px solid #d2f1a2; border-radius: 12px; background: #c9eb9d; box-shadow: none; transform: none; animation: none; }
[data-promotion-dialog] .promotion-copy .reward-emblem span { font-family: var(--font-sport,'Barlow Condensed',sans-serif); font-size: 31px; line-height: 1; }
[data-promotion-dialog] .promotion-copy .reward-emblem small { margin-top: 6px; font-size: 7px; letter-spacing: .05em; }
[data-promotion-dialog] .promotion-copy .reward-caption { min-width: 0; transform: none; opacity: 1; animation: none; }
[data-promotion-dialog] .promotion-copy .reward-caption strong { color: #d9e9cc; font-size: 13px; font-weight: 600; line-height: 1.4; }
[data-promotion-dialog] .promotion-copy .reward-caption p { margin-top: 4px; color: #b1c4b5; font-size: 11px; line-height: 1.5; }
[data-promotion-dialog] .promotion-copy .reward-orbit { display: none; }
[data-promotion-dialog].wheel-no-motion :is(.promotion-wheel,.wheel-label),
[data-promotion-dialog] .wheel-no-motion,
[data-promotion-dialog] .wheel-no-motion .wheel-label,
.motion-off [data-promotion-dialog] :is(.promotion-wheel,.wheel-label) { transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-promotion-dialog] :is(.promotion-wheel,.wheel-label,.wheel-hub) { transition: none; }
}
@media (max-width: 660px) {
  [data-promotion-dialog] { max-width: 440px; grid-template-columns: 1fr; border-radius: 22px; scrollbar-gutter: auto; }
  [data-promotion-dialog] .promotion-visual { padding: 24px 22px 20px; border-right: 0; border-bottom: 1px solid #a8cd8920; }
  [data-promotion-dialog] .promotion-visual > .eyebrow { padding: 0 24px; font-size: 9px; letter-spacing: .13em; }
  [data-promotion-dialog] .wheel-wrap { width: min(100%,254px); margin: 22px auto 17px; }
  [data-promotion-dialog] .wheel-disk { inset: 9px; }
  [data-promotion-dialog] .wheel-wrap::after { inset: 9px; }
  [data-promotion-dialog] .wheel-hub { width: 72px; height: 72px; box-shadow: 0 0 0 5px #102d22d9,0 5px 16px #0006; }
  [data-promotion-dialog] .wheel-hub-logo { width: 42px; height: 42px; margin-top: -8px; }
  [data-promotion-dialog] .wheel-hub-action { font-size: 7px; bottom: 11px; }
  [data-promotion-dialog] .wheel-label { gap: 2px; }
  [data-promotion-dialog] .wheel-label strong { font-size: 30px; }
  [data-promotion-dialog] .wheel-label small { font-size: 7px; }
  [data-promotion-dialog] .wheel-none strong { font-size: 18px; }
  [data-promotion-dialog] .wheel-label.is-selected::after { inset: -6px 0; border-radius: 8px; }
  [data-promotion-dialog] .wheel-pointer { width: 23px; height: 33px; top: -7px; }
  [data-promotion-dialog] .wheel-click-hint { margin-bottom: 7px; font-size: 12px; }
  [data-promotion-dialog] .wheel-disclosure { max-width: 250px; font-size: 10px; }
  [data-promotion-dialog] .promotion-copy { padding: 23px 24px 18px; }
  [data-promotion-dialog] .promotion-copy h2 { margin: 0 0 9px; font-size: 33px; }
  [data-promotion-dialog] #promotion-summary { max-width: none; margin-bottom: 13px; font-size: 13px; }
  [data-promotion-dialog] .promotion-result { min-height: 0; margin: 15px 0; padding: 14px 16px; }
  [data-promotion-dialog] .promotion-result strong { font-size: 23px; }
  [data-promotion-dialog] .promotion-result p { font-size: 12px; }
}
@media (max-width: 360px) {
  [data-promotion-dialog] .promotion-visual { padding-right: 18px; padding-left: 18px; }
  [data-promotion-dialog] .wheel-wrap { width: min(100%,230px); }
  [data-promotion-dialog] .promotion-copy { padding-right: 18px; padding-left: 18px; }
  [data-promotion-dialog] .wheel-label strong { font-size: 27px; }
  [data-promotion-dialog] .wheel-none strong { font-size: 16px; }
}

/* A short decorative burst above the modal; it never blocks its controls. */
[data-promotion-overlay] > .wheel-celebration {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
  user-select: none;
}
.wheel-celebration::before {
  content: "";
  position: absolute;
  left: var(--burst-x);
  top: var(--burst-y);
  width: 88px;
  height: 88px;
  border: 2px solid #e3ffb3;
  border-radius: 50%;
  box-shadow: 0 0 36px #d0f28a70, inset 0 0 30px #d0f28a40;
  animation: wheel-success-ring .8s ease-out both;
}
.wheel-celebration-bonus::before { border-color: #ffe7a0; box-shadow: 0 0 45px #ffd56680,inset 0 0 36px #ffd56650; }
.wheel-celebration .wheel-prize-particle {
  position: absolute;
  left: var(--burst-x);
  top: var(--burst-y);
  display: block;
  width: var(--piece-size);
  height: var(--piece-size);
  margin: calc(var(--piece-size) / -2);
  color: var(--piece-color);
  background: var(--piece-color);
  opacity: 0;
  will-change: transform,opacity;
  animation: wheel-prize-burst var(--piece-duration) linear var(--piece-delay) both;
}
.wheel-celebration .wheel-prize-confetti { height: calc(var(--piece-size) * .52); border-radius: 2px; }
.wheel-celebration .wheel-prize-star { clip-path: polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%); }
.wheel-celebration :is(.wheel-prize-money,.wheel-prize-diamond,.wheel-prize-gold,.wheel-prize-coin) { background-color: transparent; background-repeat: no-repeat; background-size: contain; background-position: center; }
.wheel-celebration .wheel-prize-money { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2032%22%3E%3Cpath%20d%3D%22M2%203h44v26H2z%22%20fill%3D%22%2370dba5%22%20stroke%3D%22%23eaffc9%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%208h34v16H7z%22%20fill%3D%22%23247455%22%20stroke%3D%22%23bdebac%22%2F%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2216%22%20rx%3D%227%22%20ry%3D%229%22%20fill%3D%22%23cef294%22%2F%3E%3Cpath%20d%3D%22M27%2010h-4a3%203%200%200%200%200%206h2a3%203%200%200%201%200%206h-4m3-14v16%22%20fill%3D%22none%22%20stroke%3D%22%23277553%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%2013h3m-3%206h3m22-6h3m-3%206h3%22%20stroke%3D%22%23e4ffbb%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
.wheel-celebration .wheel-prize-diamond { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2036%22%3E%3Cpath%20d%3D%22M8%202h24l7%2010-19%2023L1%2012z%22%20fill%3D%22%2380dff2%22%20stroke%3D%22%23ecffff%22%20stroke-width%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m8%202%206%2010H1zm6%2010%206%2023L1%2012zm0%200L20%202l6%2010z%22%20fill%3D%22%23c4faff%22%2F%3E%3Cpath%20d%3D%22m26%2012-6%2023%2019-23z%22%20fill%3D%22%23319fca%22%2F%3E%3Cpath%20d%3D%22m20%202%206%2010%206-10z%22%20fill%3D%22%23f6ffff%22%2F%3E%3Cpath%20d%3D%22M1%2012h38M14%2012l6%2023%206-23%22%20fill%3D%22none%22%20stroke%3D%22%23efffff%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fsvg%3E"); }
.wheel-celebration .wheel-prize-gold { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2032%22%3E%3Cpath%20d%3D%22M9%203h26l8%2024H1z%22%20fill%3D%22%23eaa627%22%20stroke%3D%22%23fff0a0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M9%203h26l-4%208H13z%22%20fill%3D%22%23ffe68a%22%2F%3E%3Cpath%20d%3D%22m13%2011-5%2016h28l-5-16z%22%20fill%3D%22%23f5c247%22%2F%3E%3Cpath%20d%3D%22m35%203%208%2024h-7l-5-16z%22%20fill%3D%22%23b87416%22%2F%3E%3Cpath%20d%3D%22M17%2017h10m-9%204h8%22%20stroke%3D%22%23fff0a0%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
.wheel-celebration .wheel-prize-coin { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2036%2036%22%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%2216%22%20fill%3D%22%23e6a72c%22%20stroke%3D%22%23fff0ae%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%2212%22%20fill%3D%22%23ffda64%22%20stroke%3D%22%23ba851c%22%2F%3E%3Cpath%20d%3D%22m18%208%202.8%206.2%206.7.8-5%204.5%201.4%206.6-5.9-3.4-5.9%203.4%201.4-6.6-5-4.5%206.7-.8z%22%20fill%3D%22%23bc841a%22%2F%3E%3C%2Fsvg%3E"); }
[data-promotion-dialog][data-wheel-celebration] .wheel-wrap { animation: wheel-prize-glow 1.2s ease-out both; }
[data-promotion-dialog][data-wheel-celebration] .promotion-copy .reward-emblem { animation: wheel-prize-reveal .55s cubic-bezier(.18,.8,.28,1.15) both; }
[data-promotion-dialog][data-wheel-celebration="bonus"] .promotion-copy .reward-emblem { border-color: #ffe9a0; background: linear-gradient(135deg,#fff0b0,#edbd54); color: #45320e; }
@keyframes wheel-success-ring {
  from { transform: translate(-50%,-50%) scale(.65); opacity: .85; }
  to { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}
@keyframes wheel-prize-burst {
  0% { transform: translate3d(0,0,0) rotate(0deg) scale(.4); opacity: 0; }
  5% { opacity: 1; }
  25% { transform: translate3d(var(--piece-x1),var(--piece-y1),0) rotate(calc(var(--piece-rotation) * .25)) scale(1); }
  55% { transform: translate3d(var(--piece-x2),var(--piece-y2),0) rotate(calc(var(--piece-rotation) * .55)) scale(.95); opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate3d(var(--piece-x3),var(--piece-y3),0) rotate(var(--piece-rotation)) scale(.65); opacity: 0; }
}
@keyframes wheel-prize-glow {
  0% { box-shadow: 0 0 0 1px #ebffbc,0 0 60px #d0f28a66,0 18px 34px #0005; }
  100% { box-shadow: 0 0 0 1px #d6edb338,0 0 0 #d0f28a00,0 18px 34px #0005; }
}
@keyframes wheel-prize-reveal {
  from { transform: scale(.82); }
  65% { transform: scale(1.08); }
  to { transform: scale(1); }
}
.motion-off [data-promotion-overlay] > .wheel-celebration { display: none; }
.motion-off [data-promotion-dialog][data-wheel-celebration] :is(.wheel-wrap,.reward-emblem) { animation: none; }
@media (prefers-reduced-motion: reduce) {
  [data-promotion-overlay] > .wheel-celebration { display: none; }
  [data-promotion-dialog][data-wheel-celebration] :is(.wheel-wrap,.reward-emblem) { animation: none; }
}
