/* deepseek-peak — light & dark themes via prefers-color-scheme */

:root {
  --bg: #f5f6f8;
  --card-bg: #ffffff;
  --text: #1f2328;
  --text-muted: #656d76;
  --border: #d8dee4;
  --yes: #d1242f;
  --no: #1a7f37;
  --shadow: 0 12px 32px rgba(31, 35, 40, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --card-bg: #161b22;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --border: #30363d;
    --yes: #f85149;
    --no: #3fb950;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: min(100%, 34rem);
  padding: 2.75rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.header {
  margin-bottom: 0.75rem;
}

.title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.question {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
}

.status {
  /* reserved for the live region */
}

.answer {
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(6rem, 24vw, 11rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

[data-status="yes"] .answer { color: var(--yes); }
[data-status="no"] .answer { color: var(--no); }

.detail {
  margin: 0 0 2.25rem;
  min-height: 1.5em;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.times {
  max-width: 21rem;
  margin: 0 auto;
  color: var(--text-muted);
}

.time-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.time-row:last-child {
  border-bottom: none;
}

.time-row dt {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.time-row dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.schedule {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.docs-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.docs-link:hover,
.docs-link:focus-visible {
  color: var(--text);
  border-bottom-color: currentColor;
}

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.25rem;
  }
}
