@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #0d0d0f;
  --pitch: #16121a;
  --wine: #941f41;
  --crimson: #bd2753;
  --yellow: #f3cd53;
  --chalk: #f6f1ec;
  --muted: #b9adb3;
  --line: #2e252b;
  --ink: #263a9e;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --measure: 36rem;
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--yellow);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--chalk);
  text-decoration: none;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.wordmark img {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 9px;
}

.topbar nav a {
  margin-left: 1.4rem;
  color: var(--chalk);
  opacity: 0.8;
  font-weight: 700;
  text-decoration: none;
}

.topbar nav a:hover {
  opacity: 1;
}

.masthead {
  position: relative;
  background:
    radial-gradient(90% 70% at 88% 30%, var(--crimson) 0%, rgba(189, 39, 83, 0) 62%),
    var(--wine);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
  padding-bottom: 4vw;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: clamp(1rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 2vw, 2rem);
}

.hero h1 {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(3.1rem, 9.6vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero .lede {
  max-width: 31rem;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.5;
  color: rgba(246, 241, 236, 0.9);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store {
  display: inline-flex;
  flex-direction: column;
  padding: 0.7rem 1.2rem;
  border: 2px dashed rgba(246, 241, 236, 0.6);
  border-radius: 12px;
  color: var(--chalk);
  line-height: 1.2;
}

.store small {
  font-size: 0.8rem;
  opacity: 0.75;
}

.store strong {
  font-size: 1.12rem;
  font-weight: 800;
}

.slip {
  position: relative;
  justify-self: center;
  width: min(100%, 25rem);
  margin-top: clamp(-10.5rem, -10.5vw, 0rem);
  margin-bottom: 1rem;
  padding: 1.6rem 1.5rem 1.4rem 3.2rem;
  color: #1a1418;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, transparent 2.35rem, #bd2753 2.35rem, #bd2753 calc(2.35rem + 1.5px), transparent calc(2.35rem + 1.5px)),
    linear-gradient(#e7e9f3 1px, transparent 1px),
    linear-gradient(to right, #e7e9f3 1px, transparent 1px);
  background-size: 100% 100%, 1.2rem 1.2rem, 1.2rem 1.2rem;
  border-radius: 3px;
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.75);
  transform: rotate(3deg);
}

.slip-title {
  margin: 0 0 0.6rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
}

.slip ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slip li {
  display: grid;
  grid-template-columns: 1fr auto 2.6rem;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #e3d8dc;
}

.slip .match {
  font-weight: 700;
  font-size: 0.98rem;
}

.slip .result {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: #5e5459;
}

.slip .pick {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.95rem;
  line-height: 1;
  color: var(--ink);
}

.slip .pts {
  justify-self: end;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  color: #bd2753;
}

.slip .pts.zero {
  opacity: 0.5;
}

.slip-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  margin: 0.9rem 0 0;
  font-family: var(--hand);
  font-size: 1.5rem;
  color: #bd2753;
}

.slip-total strong {
  display: inline-grid;
  place-items: center;
  min-width: 3.2rem;
  height: 3.2rem;
  border: 2.5px solid #bd2753;
  border-radius: 50% 46% 52% 48%;
  font-size: 2rem;
  transform: rotate(-6deg);
}

.slip .card {
  position: absolute;
  top: -1.2rem;
  right: 1.3rem;
  width: 2.2rem;
  height: 3rem;
  background: var(--yellow);
  border-radius: 3px;
  transform: rotate(14deg);
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.6);
}

.write {
  clip-path: inset(0 100% 0 0);
  animation: write 0.42s steps(12, end) forwards;
}

@keyframes write {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.invite {
  max-width: 31rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--yellow);
  color: #1a1418;
  border-radius: 6px;
  transform: rotate(-1deg);
}

.invite[hidden] {
  display: none;
}

.invite p {
  margin: 0;
  font-weight: 600;
}

.invite .code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.invite code {
  font-family: var(--sans);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.invite button {
  font: inherit;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border: 2px solid #1a1418;
  border-radius: 8px;
  background: transparent;
  color: #1a1418;
  cursor: pointer;
}

.invite button:hover {
  background: #1a1418;
  color: var(--yellow);
}

.invite :focus-visible {
  outline-color: #1a1418;
}

.tape {
  position: relative;
  z-index: 2;
  margin: -3.2vw -2vw 0;
  background: var(--yellow);
  color: var(--night);
  transform: rotate(-2.2deg);
  overflow: hidden;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.8);
}

.tape-track {
  display: flex;
  width: max-content;
  animation: tape 38s linear infinite;
}

.tape-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.85rem 0.8rem;
  white-space: nowrap;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.tape-row i {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  background: var(--crimson);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

section.block {
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.shout {
  margin: 0 0 1.25rem;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.shout small {
  display: block;
  margin-top: 0.5em;
  font-size: 0.42em;
  line-height: 1.05;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
}

.block p {
  max-width: var(--measure);
  color: rgba(246, 241, 236, 0.88);
}

.scores {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--chalk);
}

.scores li {
  padding: 1.1rem 1rem 1.25rem 0;
  border-right: 1px solid var(--line);
}

.scores li + li {
  padding-left: 1rem;
}

.scores li:last-child {
  border-right: 0;
}

.scores b {
  display: block;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 0.85;
  color: var(--yellow);
}

.scores li:first-child b {
  color: var(--crimson);
}

.scores span {
  display: block;
  margin-top: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.scores small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.verdict {
  margin-top: 2rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.verdict + p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.season {
  background: var(--pitch);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.season .big {
  margin: 0;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(7rem, 22vw, 17rem);
  line-height: 0.8;
  color: var(--yellow);
  letter-spacing: -0.03em;
}

.season .big span {
  font-size: 0.3em;
  letter-spacing: 0;
  color: var(--chalk);
}

.table-card {
  background: #ffffff;
  color: #1a1418;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: rotate(-1.5deg);
}

.table-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.25rem;
  background: var(--wine);
  color: var(--chalk);
  font-weight: 900;
  font-stretch: 110%;
}

.table-card header small {
  font-weight: 500;
  font-stretch: 100%;
  opacity: 0.8;
}

.table-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-card li {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto 3.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-top: 1px solid #ece4e7;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.table-card .pos {
  font-weight: 900;
  font-stretch: 72%;
  font-size: 1.4rem;
}

.table-card .pts {
  font-weight: 900;
  font-size: 1.15rem;
}

.table-card .trend {
  justify-self: end;
  font-size: 0.85rem;
  font-weight: 800;
}

.table-card .up {
  color: #138a4a;
}

.table-card .down {
  color: #bd2753;
}

.table-card .me {
  background: #fff4cc;
  box-shadow: inset 5px 0 0 var(--yellow);
}

.table-card .gap {
  margin: 0;
  padding: 0.9rem 1.25rem 1.1rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #bd2753;
}

.ladder {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 15rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.ladder li {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0.55rem 0.45rem;
  border-radius: 4px 4px 0 0;
  color: #1a1418;
  font-weight: 900;
  font-stretch: 80%;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  text-transform: uppercase;
  overflow: hidden;
}

.ladder .t1 { height: 22%; background: #c8916a; }
.ladder .t2 { height: 36%; background: #c5ccd8; }
.ladder .t3 { height: 50%; background: var(--yellow); }
.ladder .t4 { height: 64%; background: #8fe0cf; }
.ladder .t5 { height: 80%; background: #9cc0ff; }
.ladder .t6 { height: 100%; background: var(--crimson); color: var(--chalk); }

.leagues {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.leagues li {
  padding: 0.5rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.finale {
  position: relative;
  background: var(--yellow);
  color: var(--night);
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.finale .wrap {
  padding-top: calc(4vw + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.finale h2 {
  margin: 0;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.finale p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.finale .store {
  color: var(--night);
  border-color: rgba(13, 13, 15, 0.55);
}

.finale :focus-visible {
  outline-color: var(--night);
}

footer {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

footer .links a {
  color: var(--chalk);
  font-weight: 700;
}

.docbar {
  border-bottom: 1px solid var(--line);
}

.doc {
  max-width: 46rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.doc h1 {
  margin: 1.25rem 0 0.5rem;
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.doc .updated {
  margin: 0 0 2rem;
  color: var(--muted);
}

.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-weight: 800;
  font-stretch: 108%;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  max-width: 40rem;
  color: rgba(246, 241, 236, 0.9);
}

.doc ul,
.doc ol {
  padding-left: 1.25rem;
}

.doc li {
  margin: 0.35rem 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.doc th,
.doc td {
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .write {
    clip-path: none;
    animation: none;
  }

  .tape-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .slip {
    margin-top: 0.5rem;
    transform: rotate(2deg);
  }

  .scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scores li,
  .scores li + li {
    padding: 1rem 0.75rem 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scores li:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .topbar nav a:not(:last-child) {
    display: none;
  }

  .slip {
    padding-left: 2.9rem;
  }

  .ladder {
    height: 12rem;
  }

  .ladder li {
    padding: 0.4rem 0.2rem;
    font-size: 0.68rem;
    font-stretch: 62%;
  }
}
