:root {
  --bg: #f4f4f2;
  --fg: #111111;
  --muted: #4a4a4c;
  --faint: #6d6d70;
  --line: rgba(17, 17, 17, 0.16);
  --line-strong: rgba(17, 17, 17, 0.4);
  --display: "Anybody", "Arial Black", "Helvetica Neue", sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand img {
  width: 26px;
  height: 26px;
  display: block;
}

.top-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home { padding-bottom: 80px; }

.kicker {
  margin: 48px 0 18px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--line);
}

.event h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.event .where,
.event .when {
  margin: 0;
  font-size: 15px;
}

.event .where { margin-top: 22px; }
.event .when { margin-top: 4px; color: var(--muted); }

.go {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 8px;
}

.event:hover .go { letter-spacing: 0.16em; }

.back {
  display: inline-flex;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back:hover { opacity: 0.55; }

.event-head {
  margin: 28px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.event-head h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.event-head p {
  margin: 16px 0 0;
  font-size: 15px;
}

.search-row {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 12px;
  background: linear-gradient(var(--bg) 75%, rgba(244, 244, 242, 0));
}

.search-row input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
}

.search-row input::placeholder { color: var(--faint); }
.search-row input:focus { border-bottom-color: var(--fg); }

.count {
  flex: none;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club,
.player {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.club { border-bottom-color: var(--line-strong); }

.name { font-size: 16px; }

.club .name {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hint {
  flex: none;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.club:hover,
.player:hover { opacity: 0.55; }

.empty {
  display: none;
  margin: 28px 0 0;
  color: var(--muted);
}

.empty.show { display: block; }

.list { margin: 6px 0 80px; padding: 0; list-style: none; }
.list li[hidden] { display: none; }

@media (max-width: 640px) {
  .wrap { width: min(1080px, calc(100% - 32px)); }
  .brand { font-size: 16px; }
  .brand img { width: 22px; height: 22px; }
  .event { grid-template-columns: 1fr; gap: 16px; }
  .go { padding-bottom: 0; }
  .search-row { align-items: stretch; flex-direction: column; gap: 8px; }
  .count { align-self: flex-end; }
  .club .name { font-size: 18px; }
}
