:root {
  --ink: #17112c;
  --paper: #fffaf0;
  --paper-deep: #f7eddc;
  --violet: #735cf0;
  --violet-dark: #4d3ac7;
  --coral: #ff705d;
  --pink: #f44e95;
  --gold: #ffc72c;
  --mint: #65d7bb;
  --line: rgba(23, 17, 44, 0.13);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --display: "Shrikhand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.page-glow { position: fixed; border-radius: 50%; filter: blur(1px); pointer-events: none; z-index: -1; }
.glow-one { width: 52vw; height: 52vw; top: -28vw; left: -18vw; background: rgba(244, 78, 149, 0.12); }
.glow-two { width: 48vw; height: 48vw; right: -22vw; top: 34vh; background: rgba(101, 215, 187, 0.14); }
.grain { position: fixed; inset: 0; opacity: 0.08; pointer-events: none; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

.app-shell { max-width: 1280px; padding: 0 34px 40px; margin: 0 auto; }
.topbar { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -1px; text-decoration: none; }
.brand > span:last-child span { color: var(--coral); }
.brand-mark { display: grid; grid-template-columns: 7px 7px; gap: 3px; width: 23px; transform: rotate(-12deg); }
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.brand-mark i:nth-child(2) { background: var(--coral); }
.brand-mark i:nth-child(3) { grid-column: 1 / span 2; width: 17px; height: 7px; border-radius: 9px; background: var(--violet); }
.topbar-actions { display: flex; gap: 18px; align-items: center; }
.pool-count { color: rgba(23,17,44,.57); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.text-button { border: 0; background: none; padding: 0; color: var(--violet-dark); font-weight: 800; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }

.intro { min-height: 303px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 63px 8.5% 48px; }
.intro-copy { max-width: 680px; }
.eyebrow { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; color: var(--violet-dark); font: 11px var(--mono); letter-spacing: .12em; font-weight: 500; }
.eyebrow span { width: 18px; height: 2px; background: var(--coral); display: inline-block; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 17px; font-size: clamp(42px, 5.5vw, 75px); line-height: .98; letter-spacing: -4px; font-weight: 800; }
h1 em { font-family: var(--display); color: var(--violet); font-weight: 400; letter-spacing: -2px; font-style: normal; }
.intro-text { max-width: 570px; margin-bottom: 0; color: rgba(23,17,44,.66); font-size: 14px; line-height: 1.75; }
.how-it-works { width: 232px; padding: 20px 20px 14px; border: 1px solid var(--ink); background: var(--gold); box-shadow: 6px 6px 0 var(--ink); transform: rotate(2deg); flex: 0 0 auto; }
.how-label { color: rgba(23,17,44,.66); font: 10px var(--mono); letter-spacing: .13em; }
.how-it-works ol { margin: 14px 0 0; padding: 0; list-style: none; }
.how-it-works li { padding: 8px 0; border-top: 1px solid rgba(23,17,44,.18); font-size: 12px; font-weight: 800; }
.how-it-works b { margin-right: 7px; color: var(--coral); font: 10px var(--mono); }

.draw-stations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; position: relative; }
.wheel-station { position: relative; min-height: 708px; padding: 27px 30px 26px; border: 1px solid var(--ink); overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.people-station { background: #dcd6ff; transform: rotate(-.45deg); }
.prize-station { background: #d9f5e9; transform: rotate(.45deg); }
.station-topline { display: flex; gap: 14px; align-items: start; justify-content: space-between; position: relative; z-index: 1; }
.station-index { margin: 0 0 5px; color: rgba(23,17,44,.64); font: 10px var(--mono); letter-spacing: .09em; }
.station-topline h2 { margin: 0; font-size: 22px; letter-spacing: -1.2px; }
.count-badge { padding: 7px 9px; background: var(--paper); border: 1px solid rgba(23,17,44,.2); font: 10px var(--mono); white-space: nowrap; }

.wheel-area { height: 296px; display: grid; place-items: center; margin: 7px auto 3px; position: relative; }
.orbit { position: absolute; border: 1px dashed rgba(23,17,44,.25); border-radius: 50%; pointer-events: none; }
.orbit-large { width: 270px; height: 270px; }
.orbit-small { width: 224px; height: 224px; opacity: .52; }
.wheel-pointer { position: absolute; top: 2px; left: 50%; z-index: 3; width: 34px; height: 48px; transform: translateX(-50%); filter: drop-shadow(2px 2px 0 rgba(23,17,44,.23)); }
.wheel-pointer::before { content: ""; position: absolute; width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 36px solid var(--ink); }
.wheel-pointer span { position: absolute; z-index: 2; top: 2px; left: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.wheel { position: relative; isolation: isolate; width: 238px; height: 238px; border: 7px solid var(--ink); border-radius: 50%; background: repeating-conic-gradient(var(--violet) 0 45deg, var(--coral) 45deg 90deg); box-shadow: 5px 6px 0 rgba(23,17,44,.18), inset 0 0 0 2px rgba(255,255,255,.55); transition: transform 4.15s cubic-bezier(.09,.66,.06,1); will-change: transform; }
.wheel::after { content: ""; position: absolute; inset: 11px; z-index: -1; border-radius: 50%; border: 1px dashed rgba(23,17,44,.25); }
.wheel-labels { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; pointer-events: none; }
.wheel-label { position: absolute; top: 50%; left: 50%; width: 74px; padding: 2px 4px; color: var(--ink); font: 700 9px/1.05 var(--sans); text-align: center; text-shadow: 0 1px rgba(255,255,255,.44); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel-core { position: absolute; z-index: 2; top: 50%; left: 50%; width: 80px; height: 80px; border: 4px solid var(--ink); border-radius: 50%; display: grid; place-content: center; transform: translate(-50%, -50%); background: var(--paper); text-align: center; box-shadow: 2px 2px 0 rgba(23,17,44,.19); }
.wheel-core span { display: block; font: 800 14px/1 var(--sans); letter-spacing: -.6px; }
.wheel-core small { display: block; margin-top: 3px; font: 8px var(--mono); letter-spacing: .08em; }
.wheel.is-empty { background: repeating-conic-gradient(#bcb6d6 0 45deg, #a6a0c9 45deg 90deg); }
.wheel.is-empty .wheel-core { background: #eeebfb; }

.spin-button { position: relative; z-index: 1; width: 100%; min-height: 53px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); font-weight: 800; text-align: left; transition: transform .16s, box-shadow .16s, filter .16s; }
.spin-button b { font: 24px var(--display); font-weight: 400; }
.coral-button { background: var(--coral); }
.gold-button { background: var(--gold); }
.spin-button:not(:disabled):hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); filter: saturate(1.1); }
.spin-button:disabled { cursor: not-allowed; opacity: .55; }
.field-message { min-height: 22px; margin: 12px 1px 15px; color: rgba(23,17,44,.66); font-size: 11px; line-height: 1.5; }
.field-message.is-alert { color: #bc2337; font-weight: 800; }
.entry-form label { display: block; margin-bottom: 8px; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.input-row { display: flex; gap: 8px; }
.input-row input { width: 100%; min-width: 0; height: 43px; padding: 0 12px; color: var(--ink); border: 1px solid rgba(23,17,44,.45); border-radius: 0; background: rgba(255,250,240,.66); outline: none; font-size: 13px; }
.input-row input::placeholder { color: rgba(23,17,44,.42); }
.input-row input:focus { border-color: var(--violet-dark); box-shadow: inset 0 0 0 1px var(--violet-dark); }
.input-row button { flex: 0 0 auto; padding: 0 15px; color: var(--paper); border: 1px solid var(--ink); background: var(--ink); font-size: 11px; font-weight: 800; }
.entry-heading { display: flex; justify-content: space-between; margin-top: 18px; margin-bottom: 8px; color: rgba(23,17,44,.62); font: 10px var(--mono); letter-spacing: .08em; }
.entry-heading button { padding: 0; color: var(--violet-dark); border: 0; background: none; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.entry-list { display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start; min-height: 57px; }
.empty-list { width: 100%; padding: 13px 11px; border: 1px dashed rgba(23,17,44,.32); color: rgba(23,17,44,.53); font-size: 11px; }
.entry-chip { max-width: 100%; display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(23,17,44,.28); background: rgba(255,250,240,.67); font-size: 11px; }
.chip-index { align-self: stretch; display: grid; place-items: center; min-width: 25px; padding: 0 5px; border-right: 1px solid rgba(23,17,44,.16); color: var(--violet-dark); font: 9px var(--mono); }
.chip-value { overflow: hidden; padding: 7px 4px 7px 8px; white-space: nowrap; text-overflow: ellipsis; }
.entry-chip button { width: 27px; height: 28px; padding: 0; color: rgba(23,17,44,.64); border: 0; background: transparent; font-size: 17px; line-height: 1; }
.entry-chip button:hover { background: rgba(255,112,93,.24); color: var(--ink); }

.ticket { display: grid; grid-template-columns: 1.22fr 1fr 1fr; grid-template-rows: auto auto; gap: 0; margin: 75px 5.6% 27px; position: relative; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 9px 9px 0 var(--violet); }
.ticket::before { content: ""; position: absolute; left: 40%; top: 0; bottom: 0; border-left: 1px dashed rgba(255,250,240,.45); }
.ticket::after { content: ""; position: absolute; right: 0; left: 0; top: 72%; border-top: 1px dashed rgba(255,250,240,.45); }
.ticket-title { padding: 31px 32px 26px; }
.ticket .eyebrow { color: var(--mint); }
.ticket .eyebrow span { background: var(--gold); }
.ticket h2 { margin: 0; font-size: 28px; line-height: 1.04; letter-spacing: -1.5px; }
.ticket-result { min-width: 0; padding: 37px 25px 26px; position: relative; }
.ticket-result span { display: block; margin-bottom: 9px; color: rgba(255,250,240,.56); font: 9px var(--mono); letter-spacing: .09em; }
.ticket-result strong { display: block; overflow: hidden; color: var(--gold); font-size: clamp(17px,2.2vw,27px); line-height: 1.15; letter-spacing: -1.2px; text-overflow: ellipsis; white-space: nowrap; }
.result-person strong { color: #fd9ac6; }
.ticket-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px 25px 14px 32px; position: relative; z-index: 1; }
.ticket-footer p { margin: 0; color: rgba(255,250,240,.64); font-size: 11px; }
.ticket-footer button { color: var(--ink); border: 1px solid var(--paper); background: var(--paper); padding: 8px 12px; font-size: 10px; font-weight: 800; }
.ticket-footer button span { margin-left: 4px; font-size: 15px; }
.ticket-stamp { position: absolute; z-index: 2; top: -25px; right: -18px; width: 74px; height: 74px; display: grid; place-content: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--coral); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font: 10px/1.15 var(--mono); text-align: center; transform: rotate(14deg); }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 0; color: rgba(23,17,44,.53); border-top: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .08em; }
footer b { color: var(--ink); }
#confetti-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti-bit { position: absolute; top: var(--top); left: var(--left); width: var(--size); height: calc(var(--size) * 1.7); background: var(--color); animation: confetti-burst 1.75s cubic-bezier(.1,.7,.25,1) forwards; }
@keyframes confetti-burst { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--rotation)); opacity: 0; } }

@media (max-width: 780px) {
  .app-shell { padding: 0 18px 30px; }
  .topbar { min-height: 76px; }
  .intro { min-height: 0; padding: 46px 4px 42px; display: block; }
  h1 { font-size: clamp(43px, 14vw, 66px); }
  .how-it-works { display: none; }
  .draw-stations { grid-template-columns: 1fr; gap: 25px; }
  .wheel-station { min-height: auto; padding: 23px 20px 24px; box-shadow: 6px 6px 0 var(--ink); transform: none; }
  .wheel-area { height: 272px; }
  .ticket { grid-template-columns: 1fr 1fr; margin: 60px 1px 25px; box-shadow: 6px 6px 0 var(--violet); }
  .ticket::before { left: 50%; }
  .ticket::after { top: 61%; }
  .ticket-title { grid-column: 1 / -1; padding: 26px 22px 18px; }
  .ticket-result { padding: 22px 17px 20px; }
  .ticket-footer { padding: 12px 17px 12px 22px; }
  .ticket-footer p { max-width: 190px; }
  footer { display: block; font-size: 8px; line-height: 1.7; }
  footer span { display: block; }
  .ticket-stamp { right: -8px; top: -28px; }
}

@media (max-width: 430px) {
  .topbar-actions { gap: 12px; }
  .pool-count { display: none; }
  .wheel { width: 224px; height: 224px; }
  .orbit-large { width: 250px; height: 250px; }
  .orbit-small { width: 211px; height: 211px; }
  .wheel-label { width: 66px; }
  .ticket h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Paired draw controls, editable wheel entries, and saved name lists. */
.draw-stations { margin-bottom: 24px; }
.prize-station { background: #d9f5e9; }
.spin-button:disabled, .input-row button:disabled, .reset-round-button:disabled, .subtle-button:disabled { cursor: not-allowed; opacity: .52; }
.entry-chip { gap: 0; }
.entry-chip .chip-actions { display: inline-flex; align-items: center; margin-left: 2px; }
.entry-chip .chip-actions button { width: 24px; height: 26px; border-left: 1px solid rgba(23,17,44,.1); font-size: 14px; }
.entry-chip .chip-actions button:first-child { color: var(--violet-dark); font-size: 12px; }
.entry-chip .chip-actions button:disabled { cursor: not-allowed; opacity: .45; }
.roster-tools { margin-top: 17px; border-top: 1px dashed rgba(23,17,44,.3); padding-top: 12px; }
.roster-tools summary { cursor: pointer; color: var(--violet-dark); font-size: 11px; font-weight: 800; }
.roster-help, .roster-message { margin: 9px 0; color: rgba(23,17,44,.64); font-size: 10px; line-height: 1.5; }
.roster-form label, .saved-label { display: block; margin: 10px 0 6px; color: rgba(23,17,44,.7); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.saved-list-controls { display: flex; gap: 6px; }
.saved-list-controls select { width: 100%; min-width: 0; padding: 0 8px; color: var(--ink); border: 1px solid rgba(23,17,44,.4); background: rgba(255,250,240,.75); font-size: 11px; }
.saved-list-controls button, .subtle-button { padding: 8px 10px; color: var(--paper); border: 1px solid var(--ink); background: var(--ink); font-size: 10px; font-weight: 800; }
.saved-list-controls .subtle-button { color: var(--ink); background: transparent; }
.roster-message { min-height: 14px; }
.draw-control-panel { display: grid; grid-template-columns: 1fr minmax(280px, 430px); align-items: center; gap: 30px; margin: 26px 5.6% 24px; padding: 24px 30px; border: 1px solid var(--ink); background: var(--gold); box-shadow: 7px 7px 0 var(--ink); }
.draw-control-copy .station-index { margin-bottom: 6px; }
.draw-control-copy h2 { margin: 0 0 7px; font-size: 24px; letter-spacing: -1.2px; }
.draw-control-copy > p:last-child { max-width: 540px; margin: 0; color: rgba(23,17,44,.7); font-size: 11px; line-height: 1.55; }
.spin-both-button { min-height: 64px; border: 1px solid var(--ink); background: var(--coral); font-size: 17px; box-shadow: 5px 5px 0 var(--ink); }
.spin-both-button b { font-size: 30px; }
.history-panel { margin: 58px 5.6% 28px; padding: 27px 30px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 9px 9px 0 var(--violet); }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.history-heading .eyebrow { margin-bottom: 8px; color: var(--mint); }
.history-heading h2 { margin: 0; font-size: 29px; letter-spacing: -1.6px; }
.history-subtitle { max-width: 520px; margin: 7px 0 0; color: rgba(255,250,240,.58); font-size: 11px; line-height: 1.55; }
.reset-round-button { padding: 10px 14px; color: var(--ink); border: 1px solid var(--paper); background: var(--paper); font-size: 10px; font-weight: 800; white-space: nowrap; }
.history-list { display: grid; gap: 10px; }
.history-empty { display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 15px 17px; border: 1px dashed rgba(255,250,240,.35); color: rgba(255,250,240,.63); font-size: 11px; }
.history-empty-star { color: var(--gold); font-size: 23px; }
.history-entry { padding: 14px 17px 15px; border: 1px solid rgba(255,250,240,.18); background: rgba(255,250,240,.055); animation: reveal-pair .35s ease-out both; }
.history-entry.is-latest { border-color: var(--gold); background: linear-gradient(105deg, rgba(255,199,44,.17), rgba(244,78,149,.13)); box-shadow: inset 4px 0 0 var(--coral); }
.history-entry-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: rgba(255,250,240,.5); font: 9px var(--mono); letter-spacing: .12em; }
.history-entry.is-latest .history-entry-heading { color: var(--gold); }
.history-entry-heading b { font-size: 8px; }
.history-pair { display: grid; grid-template-columns: 1fr 35px 1fr; align-items: center; gap: 12px; }
.history-value { min-width: 0; }
.history-value > span { display: block; margin-bottom: 5px; color: rgba(255,250,240,.46); font: 8px var(--mono); letter-spacing: .1em; }
.history-value strong { display: block; overflow: hidden; color: #fd9ac6; font-size: clamp(16px, 2vw, 23px); line-height: 1.2; letter-spacing: -.7px; text-overflow: ellipsis; white-space: nowrap; }
.history-prize strong { color: var(--gold); }
.history-plus { color: var(--mint); font: 24px var(--display); text-align: center; }
@keyframes reveal-pair { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 780px) {
  .draw-control-panel { grid-template-columns: 1fr; gap: 15px; margin: 25px 1px 22px; padding: 21px 19px; }
  .spin-both-button { width: 100%; }
  .history-panel { margin: 52px 1px 24px; padding: 22px 19px 23px; box-shadow: 6px 6px 0 var(--violet); }
  .history-heading { align-items: start; flex-direction: column; gap: 13px; }
  .history-heading h2 { font-size: 26px; }
  .history-pair { gap: 7px; grid-template-columns: 1fr 23px 1fr; }
  .history-value strong { font-size: clamp(14px, 4vw, 19px); }
  .history-value > span { font-size: 7px; }
  .saved-list-controls { flex-wrap: wrap; }
  .saved-list-controls select { flex: 1 1 100%; min-height: 38px; }
  .saved-list-controls button { flex: 1; }
}


.prize-station { min-height: 708px; }
.prize-station .wheel-area { margin-bottom: 0; }
.history-entry.is-latest { border-color: #88e6a0; background: linear-gradient(110deg, #d8f9df, #b8efc7); box-shadow: inset 5px 0 0 #228349, 0 5px 0 rgba(34,131,73,.17); }
.history-entry.is-latest .history-entry-heading { color: #17663a; }
.history-entry.is-latest .history-value > span { color: #39764e; }
.history-entry.is-latest .history-value strong,
.history-entry.is-latest .history-person strong,
.history-entry.is-latest .history-prize strong { color: #124d2b; font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; letter-spacing: -1.2px; }
.history-entry.is-latest .history-plus { color: #228349; font-size: 31px; }
@media (max-width: 780px) {
  .prize-station { min-height: auto; }
  .history-entry.is-latest .history-value strong,
  .history-entry.is-latest .history-person strong,
  .history-entry.is-latest .history-prize strong { font-size: clamp(21px, 6vw, 29px); }
}



/* Prize values are edited and displayed on the wheel itself. */
.prize-station { min-height: 0; }
.prize-station .station-index { color: #1b7140; }
.prize-station .field-message { min-height: 42px; margin: 10px 1px 4px; }
.prize-station .wheel-area { min-height: 310px; margin: 0 auto 4px; }
.wheel-labels { pointer-events: none; }
.wheel-label { z-index: 1; width: auto; max-width: 76px; padding: 2px 1px; }
button.wheel-label { display: block; height: auto; min-height: 15px; border: 0; border-radius: 3px; background: transparent; cursor: text; pointer-events: auto; }
button.wheel-label:hover { z-index: 2; background: rgba(255,250,240,.85); box-shadow: 0 0 0 1px rgba(23,17,44,.25); }
button.wheel-label:focus-visible { z-index: 2; outline: 2px solid var(--ink); outline-offset: 1px; background: var(--paper); }
.wheel-editor[hidden] { display: none; }
.wheel-editor { position: absolute; z-index: 6; top: 50%; left: 50%; width: min(226px, calc(100vw - 72px)); padding: 15px; transform: translate(-50%, -50%); border: 2px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.wheel-editor-title { margin: 0 0 10px; color: var(--violet-dark); font: 9px var(--mono); letter-spacing: .1em; }
.wheel-editor label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 800; }
.wheel-editor input { width: 100%; height: 40px; padding: 0 9px; border: 1px solid rgba(23,17,44,.45); background: white; color: var(--ink); font-size: 13px; }
.wheel-editor-actions { display: flex; gap: 7px; margin-top: 9px; }
.wheel-editor-actions button { flex: 1; min-height: 34px; border: 1px solid var(--ink); background: var(--mint); color: var(--ink); font-size: 10px; font-weight: 800; }
.wheel-editor-actions .wheel-editor-cancel { background: var(--paper-deep); }
.prize-wheel { cursor: crosshair; }
.prize-wheel .wheel-core { pointer-events: none; }
@media (max-width: 780px) {
  .prize-station .wheel-area { min-height: 288px; }
}
@media (max-width: 430px) {
  .prize-station .wheel-area { min-height: 264px; }
}

/* Give compact 50-person prize segments enough arc width for values like 100. */
.wheel { --wheel-label-radius: 112px; width: 260px; height: 260px; }
button.wheel-label { padding: 0; border: 0; background: transparent; color: var(--ink); }
button.wheel-label:disabled { cursor: not-allowed; opacity: .62; }
.prize-wheel.is-edit-disabled { cursor: not-allowed; }
@media (max-width: 780px) {
  .wheel { --wheel-label-radius: 97px; width: 238px; height: 238px; }
}
@media (max-width: 430px) {
  .wheel { --wheel-label-radius: 89px; width: 224px; height: 224px; }
}
