/* Sports Scoreboard — Vintage Newspaper Style */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Special+Elite&display=swap');

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
body {
  font-family: 'Special Elite', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2319;
  background: #E8E0D0;
  min-height: 100vh;
}

/* ── Page layout ── */
.page-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ── Site header ── */
.site-header {
  margin-bottom: 1.5rem;
}

.site-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #2C2319;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Card ── */
.card {
  background: #F5F0E8;
  border: 2px solid #2C2319;
  border-radius: 0;
}

/* ── Card header ── */
.card-header {
  background: #F5F0E8;
  padding: 1rem 1.5rem 0.75rem;
  text-align: center;
  border-bottom: 3px double #8B6914;
}

.card-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #2C2319;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Card body ── */
.card-body,
.card > form {
  padding: 1.25rem 1.5rem;
}

/* ── Fields ── */
.field {
  margin-bottom: 1.25rem;
}

.field label,
.field-hint {
  display: block;
  font-family: 'Special Elite', serif;
  font-size: 11px;
  color: #5C4A2A;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

/* ── Date input ── */
input[type="date"] {
  width: 100%;
  padding: 8px 12px;
  font-family: 'Special Elite', serif;
  font-size: 13px;
  border: 1px solid #8B6914;
  border-radius: 0;
  background: #EDE7D5;
  color: #2C2319;
  outline: none;
  transition: border-color 0.15s;
}

input[type="date"]:focus {
  border-color: #2C2319;
  box-shadow: inset 0 0 0 1px #2C2319;
}

/* ── League pill buttons ── */
.radio-group {
  display: flex;
  gap: 8px;
}

.radio-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  font-family: 'Special Elite', serif;
  font-size: 13px;
  cursor: pointer;
  color: #5C4A2A;
  background: #EDE7D5;
  border: 1px solid #8B6914;
  border-radius: 100px;
  position: relative;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

/* hide actual radio input */
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* active state */
.radio-card:has(input[type="radio"]:checked) {
  background: #2C2319;
  color: #F5F0E8;
  border-color: #2C2319;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 3px double #8B6914;
  margin: 1.25rem 0 1rem;
}

/* ── Button row ── */
.btn-row {
  display: flex;
  gap: 8px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Special Elite', serif;
  font-size: 13px;
  line-height: 1;
  transition: background 0.15s;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #8B6914;
  color: #5C4A2A;
  width: 80px;
}

.btn-ghost:hover {
  background: #EDE7D5;
}

.btn-primary {
  flex: 1;
  background: #2C2319;
  border: 1px solid #2C2319;
  color: #F5F0E8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: #4A3828;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ── Footer ── */
footer {
  margin-top: 1rem;
  font-family: 'Special Elite', serif;
  font-size: 11px;
  color: #8B6914;
  text-align: right;
  letter-spacing: 0.06em;
}