:root {
  --paper: #f3eee4;
  --paper-deep: #e7e0d2;
  --card: #fffdf8;
  --ink: #1b1814;
  --muted: #6e685e;
  --line: #ddd4c4;
  --red: #c4161c;
  --red-soft: #f8e4e1;
  --shadow: 0 18px 40px rgba(60, 40, 20, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -180px, #fff 0%, transparent 60%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.35;
}

button,
input {
  font: inherit;
}

.app {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: calc(22px + var(--safe-top)) 20px calc(36px + var(--safe-bottom));
}

.kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 68px;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.wordmark p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.filters {
  display: flex;
  gap: 8px;
  margin: 28px -20px 8px;
  padding: 0 20px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hero {
  margin-top: 18px;
  background: var(--ink);
  color: #f7f1e6;
  border-radius: 28px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}

.hero-kicker {
  margin: 0;
  color: #e7b3ae;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-time {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-when {
  margin: 6px 0 0;
  color: #d9d0c2;
}

.hero-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 0;
}

.side strong {
  font-size: 15px;
  font-weight: 600;
}

.plate {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: #fffdf8;
  display: grid;
  place-items: center;
}

.plate.sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
}

.crest {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.crest.sm {
  width: 36px;
  height: 36px;
}

.crest.boost {
  transform: scale(1.16);
}

.versus {
  color: #a39888;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}

.hero-meta,
.row-meta {
  color: var(--muted);
  font-size: 13px;
}

.hero-meta {
  margin: 18px 0 0;
  color: #d9d0c2;
  text-align: center;
}

.day {
  margin-top: 28px;
}

.day h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px 12px;
  margin-bottom: 10px;
}

.when {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 15px;
}

.when small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.teams {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 560;
}

.row-meta,
.channels {
  grid-column: 2;
}

.channels {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero-channels {
  margin: 8px 0 0;
  color: #f4efe6;
  text-align: center;
  font-weight: 600;
}

.event-card {
  grid-template-columns: 1fr;
}

.event-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 560;
}

.empty {
  margin-top: 28px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
}

.follows {
  margin-top: 36px;
}

.follows-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  cursor: pointer;
}

.follows-body {
  margin-top: 12px;
}

.follow {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.follow strong {
  display: block;
  margin-bottom: 3px;
}

.follow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.colophon {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.monogram {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.monogram.sm {
  width: 36px;
  height: 36px;
  font-size: 11px;
}

.more {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
}

@media (min-width: 720px) {
  .wordmark h1 {
    font-size: 84px;
  }
}
