.ldc {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ldc-hero {
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: var(--gradient-hero);
  border: 1px solid var(--border-subtle);
}
.ldc-hero--slim .ldc-hero__row {
  justify-content: space-between;
  align-items: center;
}
.ldc-hero--slim .ldc-title { font-size: 1.35rem; }
.ldc-hero--slim .ldc-sub { margin-top: 6px; }

.ldc-kicker {
  margin: 0 0 var(--space-1);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--weight-semibold);
}

.ldc-title {
  margin: 0;
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.ldc-sub,
.ldc-copy,
.ldc-fee,
.ldc-card__meta,
.ldc-card__dates,
.ldc-note {
  margin: var(--space-2) 0 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.ldc-fee {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.ldc-card .ldc-fee {
  margin-top: 6px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ldc-banner {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-card);
  background: var(--accent-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.ldc-empty,
.ldc-rules,
.ldc-record {
  padding: var(--space-4);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.ldc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.ldc-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.ldc-row__price {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  background: var(--gradient-hero);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ldc-row__main { display: grid; gap: 4px; min-width: 0; }
.ldc-row__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ldc-row .ldc-card__title {
  font-size: 0.95rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ldc-row__meta {
  color: var(--text-muted);
  font-size: 12px;
}
.ldc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.ldc-pills span {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-secondary, #f4f4f5);
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ldc-row__go {
  color: var(--accent, #be185d);
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 420px) {
  .ldc-row { grid-template-columns: 64px minmax(0, 1fr); }
  .ldc-row__go { display: none; }
  .ldc-row__price { min-height: 42px; font-size: 0.85rem; }
}

a.ldc-card.ldc-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.ldc-pills {
  flex-wrap: nowrap;
  overflow: hidden;
  max-height: 22px;
}
@media (max-width: 420px) {
  a.ldc-card.ldc-row { grid-template-columns: 64px minmax(0, 1fr); }
  .ldc-row__go { display: none; }
  .ldc-row__price { min-height: 42px; font-size: 0.85rem; }
}
.ldc-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-fast, 0.18s) ease, box-shadow 0.2s ease;
}

.ldc-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.ldc-card__media {
  position: relative;
  aspect-ratio: 2.4 / 1;
  max-height: 168px;
  background: var(--bg-secondary);
}

.ldc-card__media img,
.ldc-detail__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ldc-card__fallback {
  height: 100%;
  min-height: 96px;
  background: var(--gradient-accent);
  opacity: 0.35;
}

.ldc-card__fallback--tall {
  min-height: 0;
  height: 100%;
}

.ldc-card__body,
.ldc-detail {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.ldc-card__title {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.ldc-chip {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  background: var(--bg-glass-strong);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: capitalize;
  color: var(--text-primary);
}

.ldc-chip--open { color: #047857; }
.ldc-chip--closed { color: #b45309; }
.ldc-chip--upcoming { color: #6d28d9; }
.ldc-chip--cancelled { color: #b91c1c; }

.ldc-back {
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
}

.ldc-detail__banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3.2 / 1;
  max-height: 92px;
  margin-bottom: var(--space-3);
  background: var(--bg-secondary);
}

.ldc-actions { margin: 0; }

.ldc-section-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
}

.ldc-prize-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.ldc-prize {
  padding: var(--space-3);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

.ldc-prize img,
.ldc-prize__ph {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  background: var(--bg-secondary);
}

.ldc-prize h3 {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
}

.ldc-prize p { margin: var(--space-1) 0 0; font-size: var(--text-xs); color: var(--text-secondary); }

.ldc-wheel-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(168, 85, 247, 0.18), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(244, 114, 182, 0.12), transparent 36%),
    var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(76, 29, 149, 0.08);
}

.ldc-pointer {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--text-primary);
  z-index: 2;
}

.ldc-wheel {
  position: relative;
  width: min(72vw, 280px);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform 5s cubic-bezier(0.1, 0.65, 0.08, 1);
  will-change: transform;
}

.ldc-wheel.is-spinning {
  filter: drop-shadow(0 12px 18px rgba(76, 29, 149, 0.28)) saturate(1.08);
  will-change: transform;
}

.ldc-wheel__svg { width: 100%; height: 100%; display: block; }

.ldc-wheel__hint { margin: 0; text-align: center; font-size: var(--text-xs); color: var(--text-muted); }

.ldc-result {
  width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-card);
  background: var(--bg-secondary);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ldc-result.is-visible {
  opacity: 1;
  transform: none;
}

.ldc-result__test {
  margin: 0 0 4px;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #9a3412;
  font-weight: var(--weight-semibold);
}
.ldc-result__label {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #b45309;
  font-weight: var(--weight-semibold);
}

.ldc-result__title {
  margin: var(--space-1) 0 0;
  font-size: var(--text-lg);
}

.ldc-record p { margin: 0 0 var(--space-2); }
.ldc-record--card { display: flex; flex-direction: column; gap: var(--space-2); }

.ldc-wheel.is-loading::after {
  content: '';
  position: absolute;
  inset: 42%;
  border: 2px solid var(--border-default);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: ldc-load 0.7s linear infinite;
}

@keyframes ldc-load {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ldc-card, .ld-home, .ld-home__link { transition: none; }
  .ldc-wheel {
    transition: none;
  }
  .ldc-result { transition: none; opacity: 1; transform: none; }
  .ldc-wheel.is-loading::after { animation: none; }
  .ldc-orbit { animation: none; }
}

.ldc-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
  min-width: 0;
}
.ldc-thumbs img,
.ld-home__thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  background: var(--surface-sunken, #f4f4f5);
}
.ld-home {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-4);
  margin: var(--space-4) 0;
  padding: var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow: visible;
}
.ld-home__copy,
.ld-home__media { min-width: 0; }
.ld-home__kicker {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.ld-home__title {
  margin: 4px 0 0;
  font-size: var(--text-xl);
  color: var(--text-primary);
  overflow-wrap: anywhere;
}
.ld-home__text {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.ld-home__link {
  margin-top: 12px;
  max-width: 100%;
  overflow: visible;
}
.ld-home__link:focus-visible,
.ldc-card:focus-visible,
.ldc-back:focus-visible {
  outline: 2px solid var(--accent, #be185d);
  outline-offset: 2px;
}
.ld-home__media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  align-content: center;
  min-height: 72px;
  overflow: hidden;
}
.ld-home__banner {
  width: 100%;
  height: 96px;
  max-height: 120px;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--surface-sunken, #f4f4f5);
}
.ld-home__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  border-radius: var(--radius-card);
  background: var(--surface-sunken, #f4f4f5);
  color: var(--accent, #be185d);
}
.ld-home__fallback svg { width: 28px; height: 28px; }
.ldc-hero .btn { margin-top: var(--space-3); align-self: flex-start; max-width: 100%; }
.ldc-title,
.ldc-card__title,
.ldc-copy,
.ldc-prize h3,
.ldc-record { overflow-wrap: anywhere; }
.ldc .btn:disabled,
.ldc .btn[disabled] {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.ldc .btn:disabled:hover,
.ldc .btn[disabled]:hover { transform: none; box-shadow: none; }
.ldc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ldc-form .form-label { margin-bottom: 0; }
.ldc-form .form-input { max-width: 100%; min-width: 0; }
.ldc-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}
.ldc-empty p { margin: 0; }
.ldc-empty__icon {
  display: inline-flex;
  color: var(--accent, #be185d);
}
.ldc-empty__icon svg { width: 22px; height: 22px; }
.ldc-official .ldc-list { list-style: none; margin: 0; padding: 0; }
.ldc-chip { max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 520px) {
  .ldc-prize-row { grid-template-columns: 1fr 1fr; }
}
.ldc-hero__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ldc-hero__row .ldc-kicker { margin-bottom: 0; }
.ldc-empty .ldc-section-title { margin: 0; }
.ldc-empty .btn { align-self: flex-start; max-width: 100%; }
.ldc-guide { min-width: 0; }
.ldc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.ldc-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
}
.ldc-step h3 {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.ldc-step p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  overflow-wrap: anywhere;
}
.ldc-step__icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--accent, #be185d);
}
.ldc-step__icon svg { width: 18px; height: 18px; display: block; }
@media (min-width: 720px) {
  .ldc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ld-home { grid-template-columns: 1fr; }
  .ld-home__media { justify-content: flex-start; }
}

.ldc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.ldc-nav .btn { flex: 0 0 auto; }
.ldc-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
.ldc-title-row .ldc-title { flex: 1 1 180px; }
.ldc-chip--inline {
  position: static;
  max-width: 100%;
}
.ldc-stage {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}
.ldc-stage__head,
.ldc-stage__info,
.ldc-wheel-wrap { min-width: 0; }
.ldc-banner-card {
  padding: 18px 16px;
  border-radius: var(--radius-card);
  background: var(--gradient-hero);
  border: 1px solid var(--border-subtle);
}
.ldc-banner-card .ldc-fee { margin: 4px 0 0; font-size: 1.2rem; font-weight: 800; }
.ldc-banner-card .ldc-copy {
  max-width: 62ch;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ldc-stage .ldc-prize .ldc-note { margin: 0; }
.page-lucky-draw .app-main {
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 128px);
}
.ldc-replay { scroll-margin-bottom: calc(var(--nav-height) + 36px); }
.ldc-seg {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  max-width: 54px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.55);
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ldc-wheel.is-spinning ~ .ldc-seg { opacity: 0; }
.ldc-stage .ldc-prize-row { grid-template-columns: 1fr; }
.ldc-wheel-frame {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  padding-top: 12px;
  min-height: 0;
}
@media (min-width: 768px) {
  .ldc-wheel-frame { width: min(100%, 248px); }
}
@media (max-width: 360px) {
  .ldc-wheel-frame { width: min(100%, 196px); }
}
.ldc-wheel-frame .ldc-pointer {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 22px;
  height: 28px;
  margin-left: -11px;
  border: 0;
  background: linear-gradient(180deg, #fffbeb 0%, #fbbf24 42%, #b45309 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 6;
  filter: drop-shadow(0 3px 3px rgba(15, 23, 42, 0.4));
}
.ldc-wheel {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 50%;
  filter: drop-shadow(0 12px 18px rgba(76, 29, 149, 0.28));
}
.ldc-wheel.is-spinning { will-change: transform; }
.ldc-bezel {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 251, 235, 0.95) 0 5deg, transparent 5deg 20deg);
  -webkit-mask: radial-gradient(circle, transparent 78%, #000 80% 90%, transparent 92%);
  mask: radial-gradient(circle, transparent 78%, #000 80% 90%, transparent 92%);
}
.ldc-hub {
  position: absolute;
  left: 50%;
  top: calc(12px + (100% - 12px) / 2);
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 18%),
    radial-gradient(circle at 50% 42%, #f9a8d4, #7c3aed 58%, #0f172a 100%);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.35),
    inset 0 0 0 3px #fde68a,
    inset 0 0 0 7px #1e1b4b;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}
.ldc-hub:active,
.ldc-hub.is-pressed {
  transform: translate(-50%, -50%) scale(0.86);
  filter: brightness(0.78);
  box-shadow:
    inset 0 12px 18px rgba(15, 23, 42, 0.78),
    inset 0 0 0 3px #c4a15a,
    inset 0 0 0 8px #0f172a;
}
.ldc-hub:disabled { cursor: default; opacity: 0.8; }
.ldc-arc {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 7.8px;
  font-weight: 600;
  letter-spacing: 0;
  fill: #fff;
  stroke: rgba(15, 23, 42, 0.78);
  stroke-width: 0.55px;
  paint-order: stroke fill;
  pointer-events: none;
}
.ldc-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
}
.ldc-orbit--cw {
  left: -9px;
  right: -9px;
  top: 3px;
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-top-color: #fde68a;
  border-right-color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(251, 191, 36, 0.15);
  border-left-color: rgba(255, 255, 255, 0.35);
  animation: ldc-orbit-cw 12s linear infinite;
}
.ldc-orbit--ccw {
  left: 7px;
  right: 7px;
  top: 19px;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 251, 235, 0.8);
  animation: ldc-orbit-ccw 9s linear infinite;
}
.ldc-wheel-frame.is-live .ldc-orbit--cw { animation-duration: 0.7s; }
.ldc-wheel-frame.is-live .ldc-orbit--ccw { animation-duration: 0.95s; }
@keyframes ldc-orbit-cw { to { transform: rotate(360deg); } }
@keyframes ldc-orbit-ccw { to { transform: rotate(-360deg); } }
.ldc-faces {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.ldc-face {
  position: absolute;
  inset: 0;
  transform: rotate(var(--a));
}
.ldc-face__img,
.ldc-face__ph {
  position: absolute;
  left: 50%;
  top: 19%;
  width: 24%;
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #fffbeb;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(180, 83, 9, 0.45);
  background: #fff;
}
.ldc-face__ph[hidden] { display: none; }
.ldc-face__ph {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: radial-gradient(circle at 30% 30%, #fff, transparent 28%), linear-gradient(160deg, #f472b6, #7c3aed);
}
.ldc-wheel > .ldc-wheel__svg {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
}
.ldc-replay {
  width: min(100%, 420px);
  min-height: 48px;
}
.ldc-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 420px);
  display: grid;
  gap: 6px;
}
.ldc-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
.ldc-legend span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 4px;
}
.ldc-legend em {
  margin-left: auto;
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #9a3412;
}
.ldc-legend .is-recorded { font-weight: var(--weight-semibold); }
@media (max-width: 767px) {
  .ldc-banner-card { padding: 10px 12px; }
  .ldc-banner-card .ldc-kicker,
  .ldc-banner-card .ldc-card__dates,
  .ldc-actions .ldc-note { display: none; }
  .ldc-banner-card .ldc-title { font-size: 1.2rem; }
  .ldc-banner-card .ldc-copy {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ldc-wheel-wrap { padding: 12px; }
  .ldc-wheel-wrap > .ldc-result { margin-top: 8px; }
  .ldc-seg { font-size: 10px; max-width: 46px; }
  .ldc-replay, .ldc-result { scroll-margin-bottom: 96px; }
}
.ldc-stage .ldc-prize {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}
.ldc-stage .ldc-prize img,
.ldc-stage .ldc-prize__ph {
  width: 52px;
  height: 52px;
}
.ldc-stage .ldc-prize h3 { margin: 0; }
.ldc-rules { padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.ldc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.ldc-actions .btn { width: auto; flex: 0 0 auto; min-height: 44px; }
.ldc-actions .ldc-note { margin: 0; }
.ldc-row__prizes {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 12px;
}
@media (max-width: 767px) {
  .ldc-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .ldc-actions .btn { width: 100%; }
}
.ldc-prizeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 12px 0;
  min-width: 0;
}
.ldc-prizeline__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 140px;
  min-width: 0;
}
.ldc-prizeline img {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  background: var(--surface-sunken, #f4f4f5);
}
.ldc-prizeline span {
  min-width: 0;
  color: var(--text-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  overflow-wrap: anywhere;
}
.ldc-card__cta {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--accent, #be185d);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}
@media (min-width: 768px) {
  .ldc-list { grid-template-columns: 1fr 1fr; }
  .ldc-steps { grid-template-columns: 1fr 1fr; }
  .ldc-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    align-items: start;
  }
  .ldc-stage__info { order: 1; }
  .ldc-wheel-wrap { order: 2; position: sticky; top: 72px; }
}
@media (min-width: 1024px) {
  .ldc-stage .ldc-prize-row { grid-template-columns: 1fr 1fr; }
}

.ldc-stage-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}
a.ldc-show {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background:
    radial-gradient(circle at 18% 40%, rgba(244, 114, 182, 0.16), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.12), transparent 36%),
    #fff;
  box-shadow: 0 10px 28px rgba(76, 29, 149, 0.08);
}
a.ldc-show:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76, 29, 149, 0.14); }
.ldc-show__wheel {
  position: relative;
  width: 86px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.ldc-show__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from var(--turn, 0deg), #e11d48, #7c3aed, #2563eb, #0891b2, #d97706, #059669, #e11d48);
  box-shadow: inset 0 0 0 3px #fffbeb, 0 8px 16px rgba(76, 29, 149, 0.2);
  animation: ldc-show-spin 16s linear infinite;
}
.ldc-show__fee {
  position: relative;
  z-index: 1;
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 20%),
    radial-gradient(circle at 50% 42%, #f9a8d4, #7c3aed 62%, #1e1b4b 100%);
  box-shadow: inset 0 0 0 2px #fde68a;
}
.ldc-show__body { display: grid; gap: 4px; min-width: 0; }
.ldc-show__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ldc-show__title {
  margin: 0;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ldc-show__meta {
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ldc-valid {
  display: grid;
  gap: 1px;
  min-width: 0;
  margin-top: 2px;
}
.ldc-valid__open,
.ldc-valid__until,
.ldc-valid__left {
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
}
.ldc-valid--card .ldc-valid__until {
  color: var(--text-muted);
  white-space: normal;
}
.ldc-valid__left {
  color: #6d28d9;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ldc-valid__left.is-closed { color: #b45309; }
.ldc-valid--full {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
}
.ldc-valid--full .ldc-valid__open,
.ldc-valid--full .ldc-valid__until {
  color: var(--text-secondary);
}
.ldc-show__faces {
  display: flex;
  min-width: 0;
  overflow: hidden;
  margin-top: 2px;
}
.ldc-show__face {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}
.ldc-show__face:first-child { margin-left: 0; }
.ldc-show__face--letter {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(160deg, #f472b6, #7c3aed);
}
.ldc-show__go {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f9a8d4, #7c3aed);
  box-shadow: inset 0 0 0 2px #fde68a;
}
@keyframes ldc-show-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  a.ldc-show { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .ldc-show__wheel { width: 72px; }
  .ldc-show__go { display: none; }
  .ldc-show__face { width: 26px; height: 26px; flex-basis: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ldc-show__ring { animation: none; }
  a.ldc-show { transition: none; }
  .ldc-win, .ldc-win__burst i, .ldc-win__card, .ldc-win__lid { animation: none; }
}

.ldc-win {
  position: absolute;
  left: 50%;
  top: calc(12px + (100% - 12px) / 2);
  z-index: 8;
  width: min(92%, 220px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.ldc-win[hidden] { display: none; }
.ldc-win.is-on { animation: ldc-win-life 4s ease forwards; }
.ldc-win__card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px 14px 16px;
  text-align: center;
  border-radius: 24px;
  border: 2px solid #f59e0b;
  background:
    radial-gradient(circle at 50% 0%, rgba(253, 230, 138, 0.7), transparent 46%),
    linear-gradient(180deg, #fff, #faf5ff);
  box-shadow: 0 22px 48px rgba(76, 29, 149, 0.35), 0 0 0 6px rgba(255, 251, 235, 0.72);
}
.ldc-win.is-on .ldc-win__card { animation: ldc-gift-pop 0.9s cubic-bezier(0.16, 1.45, 0.3, 1) both; }
.ldc-win__gift { display: block; width: 72px; margin: 0 auto 8px; }
.ldc-win__bow,
.ldc-win__lid,
.ldc-win__box { display: block; margin-left: auto; margin-right: auto; }
.ldc-win__bow {
  width: 22px;
  height: 14px;
  margin-bottom: -2px;
  background: #f59e0b;
  clip-path: polygon(50% 100%, 0 42%, 20% 0, 50% 34%, 80% 0, 100% 42%);
}
.ldc-win__lid {
  width: 70px;
  height: 16px;
  margin-bottom: -3px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #fffbeb, #f59e0b);
  transform-origin: 12% 80%;
}
.ldc-win.is-on .ldc-win__lid { animation: ldc-lid 0.5s 0.35s ease forwards; }
.ldc-win__box {
  width: 58px;
  height: 42px;
  border-radius: 7px;
  background:
    linear-gradient(#fde68a, #fde68a) center / 10px 100% no-repeat,
    linear-gradient(#fde68a, #fde68a) center / 100% 8px no-repeat,
    linear-gradient(180deg, #f9a8d4, #7c3aed);
  box-shadow: inset 0 0 0 2px rgba(255, 251, 235, 0.75);
}
.ldc-win__kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ldc-win__title {
  margin: 6px 0 0;
  color: #1e1b4b;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.ldc-win__burst { position: absolute; inset: -20px; }
.ldc-win__burst i {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 12px;
  height: 12px;
  margin: -6px;
  background: #fde68a;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  opacity: 0;
}
.ldc-win.is-on .ldc-win__burst i { animation: ldc-star 1.5s ease-out forwards; }
.ldc-win__burst i:nth-child(1) { --x: -86px; --y: -58px; }
.ldc-win__burst i:nth-child(2) { --x: 84px; --y: -50px; animation-delay: 0.05s; background: #f472b6; }
.ldc-win__burst i:nth-child(3) { --x: -98px; --y: 6px; animation-delay: 0.08s; background: #fff; }
.ldc-win__burst i:nth-child(4) { --x: 96px; --y: 10px; animation-delay: 0.02s; background: #c4b5fd; }
.ldc-win__burst i:nth-child(5) { --x: -40px; --y: -86px; animation-delay: 0.1s; }
.ldc-win__burst i:nth-child(6) { --x: 38px; --y: -88px; animation-delay: 0.06s; background: #fb7185; }
.ldc-win__burst i:nth-child(7) { --x: -64px; --y: 52px; animation-delay: 0.12s; background: #67e8f9; }
.ldc-win__burst i:nth-child(8) { --x: 66px; --y: 54px; animation-delay: 0.04s; background: #fcd34d; }
.ldc-win__burst i:nth-child(9) { --x: 0px; --y: -96px; animation-delay: 0.14s; background: #fff; }
.ldc-win__burst i:nth-child(10) { --x: -110px; --y: -24px; animation-delay: 0.07s; background: #f9a8d4; }
.ldc-win__burst i:nth-child(11) { --x: 108px; --y: -20px; animation-delay: 0.11s; background: #fde68a; }
.ldc-win__burst i:nth-child(12) { --x: 8px; --y: 70px; animation-delay: 0.09s; background: #a78bfa; }
@keyframes ldc-win-life {
  0% { opacity: 0; }
  8% { opacity: 1; }
  84% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ldc-gift-pop {
  0% { opacity: 0; transform: translateY(72px) scale(0.32); }
  62% { opacity: 1; transform: translateY(-8px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes ldc-lid {
  to { transform: translateY(-12px) rotate(-18deg); }
}
@keyframes ldc-star {
  0% { opacity: 0; transform: translate(0, 0) scale(0.2); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); }
}
