:root {
  --pine: #16362b;
  --pine-deep: #0d241c;
  --moss: #2f6b52;
  --copper: #c26a2d;
  --amber: #e3b23c;
  --cream: #f7efe2;
  --ink: #1b2a24;
  --mist: rgba(247, 239, 226, 0.78);
  --line: rgba(226, 198, 140, 0.35);
  --shadow: 0 24px 60px rgba(8, 28, 20, 0.35);
  --radius: 28px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 18%, rgba(226, 178, 60, 0.18), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(194, 106, 45, 0.22), transparent 26%),
    linear-gradient(160deg, var(--pine-deep), #1d4738 42%, #234f3d 70%, #132820);
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: auto 0 -20% auto;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(227, 178, 60, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.topbar, main, .footer { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6vw 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.ghost-link {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.86;
  border-bottom: 1px solid transparent;
}
.ghost-link:hover { border-bottom-color: var(--amber); }

.hero {
  padding: 28px 6vw 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: end;
  min-height: min(88vh, 820px);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--amber);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  max-width: 11ch;
}

.lead {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mist);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-art img {
  width: 100%;
  max-width: 520px;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,0.28));
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--copper));
  color: #24150b;
  box-shadow: 0 12px 28px rgba(194, 106, 45, 0.35);
}
.btn.soft {
  background: rgba(247, 239, 226, 0.12);
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.panel {
  margin: 18px 6vw 28px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: none;
  animation: rise .7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.panel-head p {
  margin: 10px 0 0;
  color: var(--mist);
  line-height: 1.7;
  max-width: 62ch;
}

.gift-card {
  margin-top: 22px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(227,178,60,0.18), rgba(194,106,45,0.12)),
    rgba(10, 28, 22, 0.45);
  border: 1px solid rgba(227,178,60,0.28);
  text-align: center;
}
.gift-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--amber);
  line-height: 1;
}
.gift-label {
  margin: 8px 0 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.8;
}

.gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}
.gallery img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption {
  padding: 10px 12px 14px;
  font-size: 13px;
  color: var(--mist);
}

.comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(95, 191, 138, 0.14);
  border: 1px solid rgba(95, 191, 138, 0.35);
  color: #b8f0cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.live-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fbf8a;
  box-shadow: 0 0 0 0 rgba(95, 191, 138, 0.7);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 191, 138, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(95, 191, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 191, 138, 0); }
}

.comment-board {
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(227, 178, 60, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.18)),
    rgba(8, 24, 18, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.comment-viewport {
  height: min(360px, 52vh);
  overflow: hidden;
  position: relative;
}
.comment-track {
  display: grid;
  gap: 10px;
  padding: 18px 14px;
  will-change: transform;
}
.comment-track.is-marquee {
  animation: commentScroll linear infinite;
}
.comment-board:hover .comment-track.is-marquee {
  animation-play-state: paused;
}
@keyframes commentScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.comment-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 42px;
  z-index: 2;
  pointer-events: none;
}
.comment-fade-top {
  top: 0;
  background: linear-gradient(180deg, rgba(12, 28, 22, 0.95), transparent);
}
.comment-fade-bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(12, 28, 22, 0.95), transparent);
}
.comment {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--moss), var(--copper));
  font-weight: 700;
  border: 2px solid rgba(227,178,60,0.45);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.comment-body strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.comment-body strong em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(227,178,60,0.16);
  color: var(--amber);
}
.comment-body p { margin: 0; color: var(--mist); line-height: 1.6; font-size: 14px; }
.comment-meta {
  font-size: 11px;
  color: rgba(247,239,226,0.45);
  white-space: nowrap;
  padding-top: 4px;
}

.wheel-wrap {
  margin-top: 18px;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.wheel-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.wheel-halo {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(227,178,60,0.28), transparent 42%),
    conic-gradient(from 0deg, rgba(194,106,45,0.35), rgba(227,178,60,0.15), rgba(47,107,82,0.35), rgba(227,178,60,0.15), rgba(194,106,45,0.35));
  filter: blur(1px);
  animation: none;
  z-index: 0;
}
#wheelCanvas {
  width: 86%;
  height: 86%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  background: transparent;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.4));
}
.wheel-pointer {
  position: absolute;
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 48px;
  background: linear-gradient(180deg, #fff1c2, #e3b23c 45%, #c26a2d);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
  z-index: 5;
}
.pointer-gem {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff8ea;
  box-shadow: 0 0 8px rgba(255,248,234,0.8);
}
.wheel-center {
  position: absolute;
  z-index: 4;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid rgba(255,248,234,0.55);
  background:
    radial-gradient(circle at 35% 30%, #fff1c2, #e3b23c 42%, #c26a2d 78%);
  color: #24150b;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(194,106,45,0.45),
    inset 0 2px 0 rgba(255,255,255,0.45);
  transition: transform .15s ease, filter .15s ease;
}
.wheel-center strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}
.wheel-center small {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  opacity: 0.75;
}
.wheel-center:hover { transform: scale(1.04); }
.wheel-center:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.prize-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.prize-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.14));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.prize-legend img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.rules pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.8;
  color: var(--mist);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 6vw 36px;
  opacity: 0.72;
  font-size: 14px;
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(6, 16, 12, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  width: min(100%, 440px);
  background: linear-gradient(180deg, #245844, #16362b);
  border: 1px solid rgba(227,178,60,0.28);
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}
.modal-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
}
.modal-card p { color: var(--mist); line-height: 1.6; }
.code-box {
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  display: grid;
  gap: 12px;
  justify-items: center;
}
#cardCode {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--amber);
  word-break: break-all;
  text-align: center;
}
.modal-actions { display: grid; gap: 10px; }

/* Thanksgiving page composition */
body {
  background: radial-gradient(ellipse at 85% 8%, #375c42 0, transparent 42%), #102c23;
}
.topbar, main, .footer { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.topbar { padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand { font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.section-nav { display: flex; gap: 32px; }
.section-nav a { color: var(--mist); text-decoration: none; font-size: 13px; transition: color .2s; }
.section-nav a:hover { color: var(--amber); }
.ghost-link { font-size: 13px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; }
.hero { min-height: 510px; padding: 64px 0 72px; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: 11px; letter-spacing: .2em; margin-bottom: 24px; }
.eyebrow span { margin-right: 10px; font-size: 18px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.2; max-width: 10em; letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: 15px; line-height: 1.9; max-width: 32em; }
.hero-cta { margin-top: 30px; }
.hero-note { color: #a9bbae; font-size: 12px; margin: 24px 0 0; letter-spacing: .12em; }
.hero-art { position: relative; border: 1px solid rgba(226,198,140,.16); border-radius: 50%; background: radial-gradient(circle, rgba(227,178,60,.12), transparent 70%); }
.hero-art::before { content: ''; position: absolute; inset: 18px; border: 1px dashed rgba(226,198,140,.2); border-radius: 50%; }
.hero-art img { position: relative; animation: none; }
.btn { border-radius: 10px; min-height: 48px; font-size: 14px; padding: 14px 26px; }
.btn.primary { background: linear-gradient(120deg, #f1d39a, #dba54d); box-shadow: 0 6px 18px #071c1933; }
.btn.soft { background: rgba(255,255,255,.04); }
a:focus-visible, button:focus-visible { outline: 3px solid #f1d39a; outline-offset: 5px; }
.panel { margin: 0 0 28px; padding: 40px; border-radius: 24px; background: #1b3c30; border-color: rgba(226,198,140,.2); box-shadow: 0 16px 40px #05191124; animation: none; }
.panel-head h2 { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -.025em; }
.panel-head p { font-size: 14px; }
.panel-head .section-kicker { margin: 0 0 12px; color: #d9b873; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
#gift { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: center; }
#gift .panel-head p:not(.section-kicker) { max-width: 29em; line-height: 1.9; }
.gift-card { position: relative; margin: 0; padding: 24px 28px; overflow: hidden; background: radial-gradient(ellipse at 100% 0, #fbebc8, transparent 65%), linear-gradient(130deg, #e3bd76, #c8954c); color: #3d2b14; border: 1px solid #f5dba0; border-radius: 18px; box-shadow: 0 18px 32px #071b2040; }
.gift-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .22em; border-bottom: 1px solid #76511b40; padding-bottom: 12px; }
.gift-card-top span:last-child { font-size: 22px; }
.gift-caption { font-size: 12px; margin: 18px 0 10px; letter-spacing: .16em; }
.gift-amount { color: #3d2b14; font-size: clamp(52px, 6vw, 72px); }
.gift-label { opacity: 1; margin-bottom: 18px; }
.gift-card .btn { background: #173b2e; color: #fff0d5; box-shadow: none; }
.gallery { grid-column: 1 / -1; margin-top: 0; gap: 18px; }
.gallery figure { display: flex; align-items: center; border-radius: 14px; background: #112e244d; padding: 12px; }
.gallery img { width: 78px; height: 62px; object-fit: contain; flex-shrink: 0; }
.gallery figcaption { padding: 8px 12px; color: #e5e4cf; font-size: 13px; }
.comment-board { border-color: #d9b87326; background: #143126; border-radius: 16px; }
.comment { box-shadow: none; background: #254536; }
.comment-viewport { height: 300px; }
.comment-body { min-width: 0; overflow-wrap: anywhere; }
.comment-body strong { flex-wrap: wrap; }
.comment-meta { color: #aebfb2; }
.comment-fade-top { background: linear-gradient(#143126, transparent); }
.comment-fade-bottom { background: linear-gradient(0deg, #143126, transparent); }
#lottery { background: radial-gradient(ellipse at 25% 65%, #34563a, transparent 65%), #1b3c30; }
.wheel-wrap { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 28px; }
.prize-legend { gap: 12px; }
.prize-legend li { padding: 16px 12px; border-radius: 12px; background: #102c235c; font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.prize-legend img { box-shadow: none; flex-shrink: 0; }
.rules { background: transparent; box-shadow: none; }
.rules pre { font-size: 13px; line-height: 2.1; overflow-wrap: anywhere; }
.footer { padding: 12px 0 36px; font-size: 12px; color: #bdcbbf; }
.code-box[hidden] { display: none; }
@media (max-width: 900px) {
  .topbar, main, .footer { width: calc(100% - 40px); }
  .section-nav { gap: 18px; }
  .hero { gap: 20px; min-height: 440px; padding: 48px 0; }
  .panel { padding: 28px; }
  #gift { gap: 24px; }
  .gallery figure { flex-direction: column; text-align: center; }
  .wheel-wrap { gap: 20px; }
  .prize-legend { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar, main, .footer { width: calc(100% - 32px); }
  .topbar { padding: 16px 0; }
  .brand { font-size: 16px; gap: 9px; }
  .section-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 38px 4px 32px; }
  .hero h1 { font-size: 38px; max-width: 10em; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .lead { font-size: 14px; }
  .hero-cta { flex-wrap: nowrap; gap: 10px; margin-top: 24px; }
  .hero-cta .btn { flex: 1; padding-inline: 12px; }
  .hero-note { font-size: 11px; margin-top: 18px; }
  .hero-art { width: min(85%, 300px); margin: 0 auto; }
  .panel { padding: 24px 18px; margin-bottom: 18px; border-radius: 20px; }
  #gift { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gallery { gap: 8px; }
  .gallery figure { padding: 8px 2px; border-radius: 10px; }
  .gallery img { width: 64px; height: 52px; max-width: 100%; }
  .gallery figcaption { font-size: 10px; padding: 6px 0; }
  .comment-head { gap: 10px; flex-wrap: wrap; }
  .live-pill { padding: 6px 10px; font-size: 10px; }
  .comment-track { padding-inline: 8px; }
  .comment { grid-template-columns: 32px minmax(0, 1fr); padding: 12px 10px; gap: 8px; }
  .avatar { width: 32px; height: 32px; font-size: 12px; }
  .comment-body strong { font-size: 13px; }
  .comment-body p { font-size: 12px; }
  .comment-meta { grid-column: 2; padding: 0; }
  .wheel-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prize-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .prize-legend li { gap: 8px; padding: 10px 8px; font-size: 12px; }
  .prize-legend img { width: 30px; height: 30px; }
  .wheel-center { width: 74px; height: 74px; }
  .wheel-center strong { font-size: 18px; }
  .rules pre { font-size: 12px; }
  .footer { font-size: 10px; }
}
/* Prize showcase */
#lottery { background: radial-gradient(ellipse at 16% 50%, #e3e9d9, transparent 62%), #f7f3e9; border: 1px solid #e8d9bc; color: #254637; }
#lottery .section-kicker { color: #92703d; }
#lottery .panel-head > p:not(.section-kicker) { color: #677668; }
#lottery .wheel-wrap { grid-template-columns: 1fr 1.1fr; gap: 40px; margin-top: 36px; }
.wheel-stage { width: min(100%, 440px); }
.wheel-halo { inset: 0; border: 1px solid #b5c5ae80; background: none; filter: none; }
.wheel-halo::after { content: ''; position: absolute; inset: 12px; border: 1px dashed #b5c5ae90; border-radius: 50%; }
#wheelCanvas { width: 93%; height: 93%; filter: drop-shadow(0 12px 16px #34523926); }
.wheel-pointer { top: 2%; width: 26px; height: 42px; background: #28513e; filter: none; clip-path: polygon(50% 100%, 5% 18%, 20% 0, 80% 0, 95% 18%); }
.pointer-gem { width: 7px; height: 7px; background: #e8cf9b; box-shadow: none; }
.wheel-center { width: 23%; height: 23%; border: 5px solid #f1dbad; background: linear-gradient(140deg, #3a6850, #173e2d); color: #fff3d9; box-shadow: 0 5px 14px #163c3133, 0 0 0 1px #af8e54; gap: 7px; }
.wheel-center strong { font-family: var(--font-body); font-size: clamp(15px, 1.7vw, 21px); font-weight: 600; }
.wheel-center small { font-size: 10px; letter-spacing: .1em; font-weight: 400; }
#lottery .prize-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 12px; }
#lottery .prize-legend li { display: flex; flex-direction: column; gap: 6px; padding: 20px 8px 16px; background: #fffdf7; border: 1px solid #e7e4d5; border-radius: 16px; text-align: center; box-shadow: 0 4px 12px #5b633605; }
#lottery .prize-legend img { width: 94px; height: 94px; max-width: 100%; object-fit: contain; border-radius: 0; background: none; box-shadow: none; margin-bottom: 4px; }
.prize-legend strong { color: #2c493b; font-size: 13px; font-weight: 600; }
.prize-legend small { color: #7c806f; font-size: 11px; }
@media (max-width: 900px) {
  #lottery .wheel-wrap { grid-template-columns: 1fr; gap: 30px; }
  #lottery .prize-legend { max-width: 560px; }
  .wheel-center strong { font-size: 20px; }
}
@media (max-width: 600px) {
  #lottery .wheel-wrap { margin-top: 24px; gap: 24px; }
  #lottery .prize-legend { gap: 8px; }
  #lottery .prize-legend li { padding: 12px 4px; border-radius: 12px; gap: 4px; }
  #lottery .prize-legend img { width: 72px; height: 72px; }
  .prize-legend strong { font-size: 11px; }
  .prize-legend small { font-size: 10px; }
  .wheel-center { border-width: 3px; gap: 4px; }
  .wheel-center strong { font-size: 15px; }
  .wheel-center small { font-size: 9px; }
  .wheel-pointer { width: 22px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .comment-viewport { overflow-y: auto; }
}
