:root {
  color-scheme: light;
  --bg: #f4efe7;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-border: rgba(55, 33, 19, 0.12);
  --ink: #20150f;
  --muted: #735b4d;
  --accent: #b63a20;
  --accent-soft: #f3d5bf;
  --shadow: 0 24px 60px rgba(59, 32, 19, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 211, 173, 0.75), transparent 36%),
    linear-gradient(180deg, #f9f3eb 0%, var(--bg) 48%, #ede3d7 100%);
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow,
.label,
.date,
.status,
.meta,
.source {
  color: var(--muted);
}

.eyebrow,
.label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  margin: 8px 0 12px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.94;
  font-weight: 400;
}

.lede {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.card {
  margin-bottom: 20px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  color: #fff8f2;
  background: linear-gradient(135deg, #8b2410 0%, var(--accent) 100%);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 12px 24px rgba(182, 58, 32, 0.24);
}

button:hover {
  transform: translateY(-1px);
}

.pick-view {
  display: grid;
  gap: 18px;
}

.pick-view.loading {
  min-height: 180px;
  place-items: center;
}

.nameplate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 244, 235, 0.9), rgba(251, 232, 218, 0.95));
}

.winner-name {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.score-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(32, 21, 15, 0.08);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.meta-row,
.headline-list,
.rules {
  display: grid;
  gap: 10px;
}

.meta-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.meta-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(55, 33, 19, 0.08);
}

.meta-box strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.headline-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(55, 33, 19, 0.08);
}

.headline-item p {
  margin: 0 0 6px;
  line-height: 1.45;
}

.headline-item a {
  color: var(--ink);
}

.error {
  color: #8b2410;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 960px);
    padding-top: 28px;
  }

  .card {
    padding: 18px;
    border-radius: 20px;
  }

  .card-header,
  .nameplate {
    flex-direction: column;
    align-items: flex-start;
  }
}
