/* Campaign components share the site's locally hosted typefaces. */
.pw-wheel-offer, .pw-campaign-page {
  --pw-ink: #223b2c;
  --pw-paper: #faf6ea;
  --pw-acid: #e2ed7c;
  --pw-line: #243a292b;
  --pw-secondary: #4a5446;
  color: var(--pw-ink);
}
.pw-wheel-offer {
  padding: clamp(32px, 5.4vw, 92px) 0;
  background: #f3efe3;
  scroll-margin-top: 24px;
}
.pw-wheel-offer-inner {
  width: min(100% - var(--gutter, 5vw) * 2, 1376px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: stretch;
  border-block: 1px solid var(--pw-line);
}
.pw-wheel-stage {
  min-height: 390px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 33% 10%, #f7baa0 0, transparent 56%), linear-gradient(138deg, #ec9975 0, #da805e 58%, #b86245);
}
.pw-wheel-stage::before {
  content: "";
  position: absolute;
  inset: -75% -30%;
  transform: rotate(38deg);
  background: repeating-linear-gradient(90deg, transparent 0 16%, #fbd3b037 17%, transparent 28%);
  pointer-events: none;
  z-index: -1;
}
.pw-wheel-stage::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #fff3d63e;
  border-radius: 2px;
  pointer-events: none;
  z-index: -1;
}
.pw-wheel-copy { min-width: 0; align-self: center; padding: clamp(30px, 4vw, 62px) 0 clamp(30px, 4vw, 62px) clamp(32px, 5vw, 76px) }
.pw-wheel-kicker {
  margin: 0 0 13px;
  font: 680 .72rem/1.35 "DM Sans", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pw-secondary);
}
.pw-wheel-copy h2, .pw-campaign-main h1 {
  margin: 0;
  color: var(--pw-ink);
  font: 580 clamp(46px, 5.2vw, 82px)/.98 "DM Sans", system-ui, sans-serif;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.pw-wheel-copy h2 em, .pw-campaign-main h1 em { font: italic 400 1.1em/.94 "Instrument Serif", Georgia, serif; color: var(--pw-ink); letter-spacing: -.045em }
.pw-wheel-intro { margin: 16px 0; max-width: 46ch; font: 400 clamp(.95rem, 1.12vw, 1.07rem)/1.52 "DM Sans", system-ui, sans-serif; color: var(--pw-secondary); text-wrap: pretty }
.pw-wheel-probability { margin: 0 0 18px; font-size: .87rem; color: var(--pw-ink) }
.pw-wheel-probability strong { display: inline-block; margin-right: 3px; padding: 2px 6px; border-radius: 4px; background: var(--pw-acid); font-weight: 720; font-variant-numeric: tabular-nums }
.pw-wheel-form { margin-top: 18px; width: min(100%, 520px) }
.pw-wheel-field { display: block; margin-bottom: 6px; font-size: .83rem; font-weight: 680; color: var(--pw-ink) }
.pw-wheel-inline { display: flex; gap: 7px; align-items: stretch }
.pw-wheel-form input:not([type=checkbox]) {
  font: 450 16px/1.3 "DM Sans", system-ui, sans-serif; padding: 12px 13px;
  color: var(--pw-ink); border: 1px solid #6f7866; background: #fffdf6;
  border-radius: 9px; min-width: 0; width: 100%; min-height: 46px; box-sizing: border-box;
}
.pw-wheel-form input::placeholder { color: #777a6c; opacity: 1 }
.pw-wheel-button {
  font: 650 .89rem/1.2 "DM Sans", system-ui, sans-serif;
  color: #fbf8e9; background: var(--pw-ink); border: 0; text-decoration: none;
  border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  gap: 15px; flex-shrink: 0; min-height: 46px; padding: 10px 19px; cursor: pointer;
}
.pw-wheel-arrow { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.pw-wheel-button:hover { background: #355641 }
.pw-wheel-check { display: flex; align-items: flex-start; gap: 8px; padding-block: 12px 8px; font-size: .79rem; line-height: 1.45; color: var(--pw-secondary) }
.pw-wheel-check input { flex: 0 0 auto; margin: 1px 0 0; width: 17px; height: 17px; accent-color: var(--pw-ink) }
.pw-wheel-check a, .pw-wheel-textlink, .pw-wheel-return a, .pw-wheel-footnote a, .pw-wheel-rules p a { color: var(--pw-ink); text-decoration: underline; text-underline-offset: .20em; text-decoration-thickness: 1px }
.pw-wheel-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; font-size: .82rem; font-weight: 600 }
.pw-wheel-return { display: flex; flex-wrap: wrap; column-gap: 18px; font-size: .77rem; color: var(--pw-secondary) }
.pw-wheel-return a { display: inline-flex; align-items: center; min-height: 37px }
.pw-wheel-closed { padding: 11px 15px; border: 1px solid #71806668; border-left: 3px solid #64793d; background: #ffffff59; display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; justify-content: space-between }
.pw-wheel-closed strong { font-size: .87rem; font-weight: 600 }
.pw-wheel-closed .pw-wheel-textlink { min-height: 32px }
.pw-wheel-odds { margin-top: 6px; padding: 0; border-top: 1px solid var(--pw-line); border-bottom: 1px solid var(--pw-line) }
.pw-wheel-odds summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 620 }
.pw-wheel-odds summary::-webkit-details-marker { display: none }
.pw-wheel-odds summary span { font-size: 1.2rem; font-weight: 450 }
.pw-wheel-odds[open] summary span { transform: rotate(45deg) }
.pw-wheel-odds-list { margin: 0 0 17px; font-size: .9rem; color: var(--pw-ink) }
.pw-wheel-odds-list > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--pw-line) }
.pw-wheel-odds-list dt, .pw-wheel-odds-list dd { margin: 0 }
.pw-wheel-odds-list dd { font-weight: 640; font-variant-numeric: tabular-nums; white-space: nowrap }
.pw-wheel-offer :is(input,summary):focus-visible, .pw-campaign-page :is(a,button,input,summary):focus-visible { outline: 3px solid #c44e23; outline-offset: 3px }

/* An enamel dial with a weighted outer arc and a stationary indicator. */
.pw-dial {
  position: relative; width: min(80%, 444px); aspect-ratio: 1; margin: max(45px, 7%) auto;
  isolation: isolate; transform: rotate(-9deg);
}
.pw-dial-shadow {
  position: absolute; z-index: -1; inset: 9% -2% -2% 12%;
  border-radius: 50%; background: #46261c82; filter: blur(clamp(8px,1vw,17px)); transform: translate(3%, 2%);
}
.pw-dial-rim {
  position: absolute; inset: 3%; padding: 2.5%; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg,#d49d64 0%,#ffe8ae 16%,#b77a48 38%,#ffe3a2 60%,#784d31 83%,#e0ad77);
  box-shadow: inset 0 0 0 1px #633f25, inset 0 2px 3px #fff8c5, 1px 5px 0 #825538, 2px 9px 0 #69482d, 4px 11px 6px #57372356;
}
.pw-dial-turntable {
  position: relative; width: 100%; height: 100%; border-radius: 50%; transform: rotate(var(--pw-stop,0deg));
  background: #273f2e; box-shadow: 0 0 0 1px #6b5638, 0 1px 1px 2px #fff0b53b;
}
.pw-dial-sector-ring { position: absolute; inset: 0; border: 1px solid #2e3824; border-radius: 50%; background: var(--pw-sectors); }
.pw-dial-face {
  position: absolute; inset: 3%; border: 1px solid #d5ca85; border-radius: 50%; overflow: hidden;
  background: repeating-conic-gradient(from 6deg, #e1dc96 0 1deg,#4f6848 1.4deg 3.2deg,#2c4a36 3.5deg 15deg);
}
.pw-dial-face::before {
  content: ""; position: absolute; inset: 5.3%; border-radius: 50%; border: 1.5px solid #d8d695;
  background: repeating-conic-gradient(from 4deg,#304c34 0 12deg,#a4ae6e 12.2deg 13deg,#718554 13.5deg 24deg);
  box-shadow: 0 0 0 4px #354a32, inset 0 0 20px #33462b91;
}
.pw-dial-petals {
  position: absolute; inset: 12%; border-radius: 50%; border: 1px solid #cad08c;
  background: repeating-conic-gradient(from 2deg,#94a363 0 12deg,#314a32 12.5deg 24deg);
  box-shadow: inset 0 0 15px #1f382c4d;
}
.pw-dial-fluting {
  position: absolute; inset: 22%; border-radius: 50%; border: 2px solid #d5cd8c;
  background: repeating-conic-gradient(from 0deg,#334b30 0deg 4deg,#687e49 4.2deg 8deg);
  box-shadow: 0 0 0 4px #69805a, 0 0 0 6px #c6c88c;
}
.pw-dial-medallion {
  position: absolute; inset: 34%; border: 1px solid #f7f0ab; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 28% 22%, #f9f0c4 0%,#dfdc92 48%,#bab65c 100%);
  box-shadow: 0 0 0 3px #2b432e, 0 0 0 5px #bbaa6d, 3px 4px 7px #263b25a6, inset 1px 1px 3px #fff9d1;
}
.pw-dial-medallion svg { width: 73%; height: 73%; color: #2f4830 }
.pw-dial-pointer {
  position: absolute; width: 9%; height: 14%; left: 45.5%; top: -1.5%;
  filter: drop-shadow(2px 4px 2px #432c1766);
}
.pw-dial-pointer::before {
  content: ""; position: absolute; inset: 0; border-radius: 50% 50% 45% 45% / 25% 25% 70% 70%;
  clip-path: polygon(0 0,100% 0,100% 34%,50% 100%,0 34%);
  background: linear-gradient(105deg,#874729,#ffa977 23%,#f57c4d 45%,#ad4d2e 80%,#824023);
}
.pw-dial-pointer::after { content: ""; position: absolute; width: 30%; height: 19%; left: 35%; top: 12%; border-radius: 50%; background: linear-gradient(145deg,#fff1bc,#7e5d38); box-shadow: 0 0 0 1px #9f6039 }
@keyframes pw-confirmed-spin {
  from { transform: rotate(calc(var(--pw-stop) - 440deg)) }
  to { transform: rotate(var(--pw-stop)) }
}
@media (prefers-reduced-motion: no-preference) {
  .pw-result.pw-reveal .pw-dial-turntable { animation: pw-confirmed-spin 1.3s cubic-bezier(.16,.73,.13,1) both }
}

/* Standalone confirmation, result, redemption and rules. */
.pw-campaign-page {
  min-height: 100vh; display: flex; flex-direction: column; margin: 0;
  font: 400 16px/1.5 "DM Sans", system-ui, sans-serif; background: var(--pw-paper);
}
.pw-campaign-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.pw-campaign-skip:focus { padding: 8px 20px; color: var(--pw-ink) }
.pw-campaign-header, .pw-campaign-footer { display: flex; align-items: center; gap: 20px; padding: 14px max(20px,5vw); border-block: 1px solid var(--pw-line) }
.pw-campaign-header { justify-content: space-between }
.pw-campaign-header a, .pw-campaign-footer a { display: inline-flex; align-items: center; min-height: 42px; gap: 6px; color: var(--pw-ink); font-size: .84rem; text-decoration: none }
.pw-campaign-header a:hover, .pw-campaign-footer a:hover { text-decoration: underline; text-underline-offset: .2em }
.pw-campaign-header .pw-campaign-brand { font-size: 1.55rem; font-weight: 760; letter-spacing: -.075em }
.pw-campaign-brand svg { width: 33px; height: 33px }
.pw-campaign-footer { margin-top: auto; flex-wrap: wrap; gap: 0 22px }
.pw-campaign-main { box-sizing: border-box; width: min(calc(100% - 40px),610px); margin: clamp(40px,7vw,100px) auto }
.pw-campaign-main h1 { font-size: clamp(43px,6.6vw,78px) }
.pw-campaign-main > .pw-wheel-intro { max-width: 58ch }
.pw-campaign-main .pw-wheel-form { width: 100%; max-width: 510px }
.pw-wheel-flow-form { display: flex; flex-direction: column; align-items: stretch }
.pw-wheel-flow-form > .pw-wheel-field:not(:first-child) { margin-top: 15px }
.pw-wheel-flow-form > .pw-wheel-button { align-self: flex-start; margin-top: 19px }
.pw-wheel-footnote { margin: 18px 0; font-size: .84rem; color: var(--pw-secondary); text-wrap: pretty }
.pw-wheel-error { padding: 10px 15px; margin: 0 0 20px; border-left: 4px solid #a34a34; background: #f5e1ce; color: #653320 }
.pw-result-art { position: relative; overflow: hidden; border-radius: 15px; margin-bottom: 26px; background: radial-gradient(ellipse at 38% 20%,#f6b090,#d67e58); height: clamp(150px,22vw,230px); display: grid; place-items: center }
.pw-result-art .pw-dial { width: clamp(116px,19vw,194px); margin: 0 }
.pw-wheel-award { margin: 12px 0 0; line-height: 1.22; color: var(--pw-ink); font-size: clamp(1.35rem,3vw,2.1rem); font-weight: 620; letter-spacing: -.04em }
.pw-wheel-vouchers { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none }
.pw-wheel-vouchers li { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 12px 15px; background: #edf0d5; border: 1px dashed #7b8b68; border-radius: 8px }
.pw-wheel-vouchers small { display: block; font-size: .77rem; color: var(--pw-secondary) }
.pw-wheel-vouchers code { overflow-wrap: anywhere; user-select: all; font-weight: 620; font-size: .97rem; }
.pw-wheel-copy-code { background: transparent; color: var(--pw-ink); font: inherit; font-size: .83rem; min-height: 44px; cursor: pointer; border: 0; text-decoration: underline; text-underline-offset: .2em }
.pw-copy-status { margin-block: 5px; font-size: .85rem }
.pw-wheel-rules h2 { font-family: "DM Sans", system-ui, sans-serif; margin: 34px 0 9px; font-size: clamp(20px,3vw,26px); line-height: 1.17; font-weight: 630; letter-spacing: -.045em }
.pw-wheel-rules p:not(.pw-wheel-kicker) { margin: 9px 0; line-height: 1.6; color: var(--pw-secondary) }
@media (max-width: 850px) {
  .pw-wheel-offer-inner { grid-template-columns: .84fr 1fr }
  .pw-wheel-copy { padding-left: 24px }
  .pw-wheel-inline { flex-direction: column; align-items: flex-start }
}
@media (max-width: 650px) {
  .pw-wheel-offer-inner { display: block }
  .pw-wheel-stage { min-height: 0; aspect-ratio: 1.45 }
  .pw-wheel-stage .pw-dial { width: 63%; max-width: 355px; margin: 0 }
  .pw-wheel-copy { padding: 26px 0 24px }
  .pw-wheel-inline { flex-direction: row; align-items: stretch }
  .pw-wheel-button { padding-inline: 15px; gap: 7px }
}
@media (max-width: 410px) {
  .pw-wheel-inline { flex-direction: column; align-items: flex-start }
  .pw-wheel-form input:not([type=checkbox]) { min-height: 46px }
  .pw-campaign-header { padding-inline: 16px }
}
