/**
 * styles/lottery-topic.css — lottery topic layout (page-rebuild phase 1)
 */

.lt-topic-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.lt-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  margin-bottom: 20px;
  min-height: 132px;
}

.lt-hero__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--text-primary);
}

.lt-hero__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.lt-hero__sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.lt-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lt-hero__clock,
.lt-hero__schedule {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: var(--shell-radius, 12px);
  background: var(--surface-2, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-subtle);
}

.lt-hero__clock .label,
.lt-hero__schedule .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lt-hero__clock .time,
.lt-hero__schedule .time {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400, #fbbf24);
  margin-top: 4px;
}

.lt-hero__schedule .desc,
.lt-hero__clock .date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.lt-draw-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--shell-radius, 12px);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  min-height: 160px;
}

.lt-credibility-host {
  margin: 0 0 14px;
  min-height: 36px;
}

.lt-status-strip-host {
  min-height: 32px;
  margin-bottom: 10px;
}

#latest-numbers {
  min-height: 40px;
}

#lottery-modules-root {
  min-height: 120px;
}

.draw-history-section,
.play-rules-section,
.sim-bet-section,
.lottery-trend-section {
  min-height: 280px;
}

.sim-bet-section {
  min-height: 360px;
}

.lottery-trend-section {
  min-height: 400px;
}

.lt-fushi-table {
  min-height: 200px;
}

.lt-countdown-bar {
  min-height: 56px;
}


.lt-draw-panel__label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.lt-draw-panel__term {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0;
}

.lt-draw-panel__date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.lt-draw-balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.lt-draw-balls__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lt-draw-balls__row--kl8 {
  max-width: 100%;
}

.lt-draw-balls__sep {
  color: var(--text-muted);
  font-weight: 700;
  padding: 0 2px;
}

.cz-lottery-ball--sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.lt-countdown-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: var(--shell-radius, 12px);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.lt-countdown-bar .label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.lt-countdown {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}

.lt-countdown__num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-400, #fbbf24);
}

.lt-countdown__lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-right: 6px;
}

.lt-countdown__live {
  color: var(--gold-400);
  font-weight: 700;
}

.lt-draw-rule {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lt-status-strip-host {
  margin-bottom: 18px;
}

.lt-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.lt-module-slot {
  min-height: 8px;
}

.lt-fushi-table {
  margin-bottom: 24px;
}

.lt-fushi-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lt-fushi-table th,
.lt-fushi-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.lt-fushi-table th {
  color: var(--text-muted);
  font-weight: 700;
}

.lt-review-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.lt-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 20px;
}

.lt-daily-board-link {
  margin-bottom: 16px;
}

.lt-daily-board-link .muted {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.lt-ops-link {
  margin: 0 0 16px;
  font-size: 13px;
}

.lt-ops-link a {
  color: var(--gold-400, #fbbf24);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
}

.lt-ops-link a:hover {
  color: var(--gold-300, #fcd34d);
}

#data-status {
  display: none;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .lt-hero,
  .lt-draw-section {
    grid-template-columns: 1fr;
  }

  .lt-hero__meta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-hero,
  .lt-draw-section,
  .lt-countdown-bar {
    transition: none;
  }
}
