:root {
  --ink: #252525;
  --paper: #f7f3e8;
  --green: #e8f3d2;
  --purple: #eddffc;
  --pink: #f4cbd3;
  --blue: #c8e9ed;
  --yellow: #f5e79a;
  --draft: #fcdbb8;
  --office: #d9d9d9;
  --cream: #fffdf4;
  --playoff: #e2c93c;
  --check: #6fcf7f;
  --medal-qb: #ef4037;
  --medal-rb: #289bc7;
  --medal-wr: #28ad75;
  --medal-te: #ed812b;
  --shadow: rgba(0, 0, 0, 0.12);
}

/* Standard treatment for paragraphs and other long-form copy. */
.site-copy {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Draft history */
.draft-color {
  background-color: var(--draft);
}

.draft-page-intro {
  width: min(690px, 100%);
  margin: -4px auto 28px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.draft-hub-heading {
  margin-top: 34px;
}

.draft-year-menu-card,
.draft-manager-menu-card,
.draft-round-one-card,
.draft-compact-card,
.draft-manager-season-card {
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.draft-year-menu-card,
.draft-manager-menu-card {
  padding: clamp(22px, 4vw, 34px);
}

.draft-year-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 22px;
}

.draft-year-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 11px 8px 8px;
  border-radius: 4px;
  color: var(--ink);
  background: #d4d4d4;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.draft-year-link::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 10px;
  width: 24px;
  height: 9px;
  border-radius: 3px 3px 0 0;
  background: inherit;
}

.draft-year-link:hover,
.draft-year-link:focus-visible {
  background: #e2cb19;
  transform: translateY(-2px);
}

.draft-manager-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
}

.draft-manager-link {
  display: grid;
  grid-template-rows: 112px auto;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.draft-manager-link img {
  align-self: end;
  justify-self: center;
  display: block;
  width: 100%;
  max-width: 112px;
  height: 112px;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 150ms ease;
}

.draft-manager-link span {
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.draft-manager-link:hover img,
.draft-manager-link:focus-visible img {
  transform: translateY(-4px);
}

.draft-manager-link:hover span,
.draft-manager-link:focus-visible span {
  color: var(--ink);
}

.draft-record-book-heading {
  margin-top: 38px;
}

.draft-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.draft-card-header .section-title {
  margin: 0;
}

.draft-overall-records-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.draft-overall-records-grid + .draft-overall-records-grid {
  margin-top: 22px;
}

.draft-overall-record-card,
.draft-selection-record-card {
  min-width: 0;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.draft-overall-record-card {
  padding: 22px 20px 18px;
}

.record-ribbon.draft-record-ribbon {
  width: min(260px, calc(100% - 34px));
  margin: 0 auto 18px;
}

.draft-record-feature {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 80px;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.draft-record-feature > img {
  display: block;
  width: 92px;
  height: 96px;
  object-fit: contain;
  object-position: center bottom;
}

.draft-record-feature-copy {
  min-width: 0;
}

.draft-record-feature-copy h4 {
  margin: 0 0 3px;
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.draft-record-feature-copy p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

.draft-record-feature-score {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.draft-record-feature-score span {
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.draft-record-feature-score strong,
.draft-selection-record-row > i {
  display: grid;
  place-items: center;
  min-width: 62px;
  min-height: 48px;
  padding: 6px;
  border-radius: 7px;
  background: #f1c83f;
  font-size: 1.45rem;
  font-weight: 950;
  font-style: normal;
  line-height: 1;
}

.draft-record-feature-score em {
  color: rgba(37,37,37,0.43);
  font-size: 0.78rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.draft-record-divider {
  height: 3px;
  margin: 14px 0 10px;
  background: rgba(37,37,37,0.16);
}

.draft-record-list {
  display: grid;
}

.draft-record-list-row {
  display: grid;
  grid-template-columns: 30px max-content minmax(12px, 1fr) 48px 42px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.draft-record-feature:hover,
.draft-record-feature:focus-visible,
.draft-record-list-row:hover,
.draft-record-list-row:focus-visible,
.draft-selection-record-row:hover,
.draft-selection-record-row:focus-visible {
  background-color: rgba(255,255,255,0.34);
}

.draft-record-feature:focus-visible,
.draft-record-list-row:focus-visible,
.draft-selection-record-row:focus-visible {
  outline: 3px solid rgba(37,37,37,0.4);
  outline-offset: 2px;
}

.draft-record-list-row > span,
.draft-selection-record-row > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: #d6d6d6;
  font-weight: 950;
  line-height: 1;
}

.draft-record-list-row > strong {
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.draft-record-list-row > div {
  border-bottom: 2px dashed rgba(37,37,37,0.11);
}

.draft-record-list-row > b {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 5px;
  background: #f1c83f;
  font-size: 0.82rem;
  font-weight: 950;
}

.draft-record-list-row > em {
  color: rgba(37,37,37,0.43);
  font-size: 0.7rem;
  font-weight: 900;
  font-style: normal;
}

.draft-selection-records-stack {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.draft-selection-record-card {
  padding: 22px 24px 16px;
}

.record-ribbon.draft-selection-record-ribbon {
  width: min(340px, calc(100% - 34px));
  margin: 0 auto 18px;
}

.draft-selection-record-header,
.draft-selection-record-row {
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr) 70px 58px 52px 62px;
  gap: 10px;
  align-items: center;
}

.draft-selection-record-header {
  min-height: 26px;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.draft-selection-record-header span:nth-child(3) {
  text-align: left;
}

.draft-selection-record-row {
  min-height: 62px;
  border-bottom: 2px solid rgba(37,37,37,0.16);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.draft-selection-record-row:last-child {
  border-bottom: 0;
}

.draft-selection-record-row > img {
  display: block;
  width: 44px;
  height: 48px;
  object-fit: contain;
  object-position: center bottom;
}

.draft-selection-record-row > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.draft-selection-record-row > strong small {
  display: none;
}

.draft-selection-record-row > b,
.draft-selection-record-row > em {
  font-size: 0.75rem;
  font-weight: 950;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.draft-selection-record-row > em {
  color: rgba(37,37,37,0.43);
}

.draft-selection-record-row > i {
  min-width: 54px;
  min-height: 40px;
  font-size: 1rem;
}

.draft-results-title {
  margin-bottom: 26px;
  text-align: center;
  text-transform: uppercase;
}

.draft-results-title p {
  margin: 0 0 3px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.draft-results-title h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
}

.draft-round-heading {
  margin: 30px 0 24px;
}

.draft-round-one-card {
  padding: 18px 26px 12px;
}

.draft-round-one-header,
.draft-round-one-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 90px 70px;
  gap: 14px;
  align-items: center;
}

.draft-round-one-header {
  min-height: 34px;
  padding: 0 0 4px;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-round-one-header span:nth-child(3),
.draft-round-one-header span:nth-child(4) {
  text-align: center;
}

.draft-round-one-row {
  min-height: 70px;
  border-bottom: 2px solid rgba(37,37,37,0.16);
}

.draft-round-one-row:last-child {
  border-bottom: 0;
}

.draft-round-one-pick {
  display: grid;
  grid-template-columns: 48px 54px;
  gap: 8px;
  align-items: center;
}

.draft-round-one-pick strong {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.draft-round-one-pick img {
  display: block;
  width: 54px;
  height: 58px;
  object-fit: contain;
  object-position: center bottom;
}

.draft-player-name {
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.draft-position {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 62px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
}

.draft-position-qb { background: var(--medal-qb); }
.draft-position-rb { background: var(--medal-rb); }
.draft-position-wr { background: var(--medal-wr); }
.draft-position-te { background: var(--medal-te); }
.draft-position-k { color: var(--ink); background: #d7bd39; }
.draft-position-dst { background: #72669b; }

.draft-selection-score {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 7px;
  background: #f1c83f;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.draft-medal-star {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 3px;
  border-radius: 50%;
  color: white;
  font-size: 0.72rem;
  line-height: 1;
  vertical-align: 2px;
}

.draft-compact-grid,
.draft-manager-season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.draft-compact-card,
.draft-manager-season-card {
  min-width: 0;
  padding: 18px 20px 12px;
}

.draft-manager-season-card {
  scroll-margin-top: 24px;
}

.draft-compact-card h2,
.draft-manager-season-card h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.draft-compact-row {
  display: grid;
  grid-template-columns: 42px 32px minmax(0, 1fr) 48px 42px;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  border-bottom: 2px solid rgba(37,37,37,0.14);
}

.draft-compact-row:last-child,
.draft-manager-season-row:last-child {
  border-bottom: 0;
}

.draft-compact-row > strong,
.draft-manager-season-row > strong {
  font-size: 0.72rem;
  font-weight: 950;
}

.draft-compact-row img {
  display: block;
  width: 32px;
  height: 38px;
  object-fit: contain;
  object-position: center bottom;
}

.draft-compact-row > span:nth-child(3),
.draft-manager-season-row > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}

.draft-compact-row .draft-position,
.draft-manager-season-row .draft-position {
  width: 46px;
  min-height: 20px;
  padding: 4px 5px;
  font-size: 0.56rem;
}

.draft-compact-score {
  display: grid;
  place-items: center;
  min-height: 26px;
  border-radius: 5px;
  background: #f1c83f;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
}

.draft-compact-row .draft-medal-star,
.draft-manager-season-row .draft-medal-star {
  width: 16px;
  height: 16px;
  margin-left: 1px;
  font-size: 0.58rem;
  vertical-align: 1px;
}

.draft-manager-history-header {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 34px;
}

.draft-manager-history-portrait {
  display: grid;
  place-items: end center;
  width: 260px;
  height: 390px;
  padding: 14px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow: hidden;
}

.draft-manager-history-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.draft-manager-history-copy {
  align-self: center;
  min-width: 0;
}

.draft-manager-history-copy > p {
  margin: 0 0 7px;
  color: rgba(37,37,37,0.48);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.draft-manager-history-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.draft-manager-history-copy h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.draft-manager-history-copy h2 span,
.draft-manager-summary-list dd {
  color: rgba(37,37,37,0.48);
}

.draft-manager-summary-divider {
  height: 4px;
  margin: 24px 0 20px;
  background: rgba(37,37,37,0.16);
}

.draft-manager-summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.draft-manager-summary-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.draft-manager-summary-list dt,
.draft-manager-summary-list dd {
  margin: 0;
}

.draft-manager-section-heading {
  margin-top: 12px;
}

.draft-manager-season-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 48px 42px;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  border-bottom: 2px solid rgba(37,37,37,0.14);
}

.draft-manager-season-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0 2px 16px;
  border-bottom: 3px dashed rgba(37,37,37,0.18);
}

.draft-manager-season-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.draft-manager-season-card .draft-manager-season-heading h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.draft-manager-season-meta span {
  color: rgba(37,37,37,0.46);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-manager-season-heading > strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 32px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f1c83f;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
}

@media (max-width: 759px) {
  .draft-manager-season-card .draft-manager-season-heading h2 {
    font-size: 1.65rem;
  }

  .draft-manager-season-meta {
    gap: 8px;
  }

  .draft-manager-season-meta span {
    font-size: 0.62rem;
  }
}

.draft-calculation-heading {
  margin-top: 42px;
}

.draft-calculation-card {
  padding: clamp(22px, 4vw, 36px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.draft-calculation-card p {
  margin: 0 0 16px;
}

.draft-calculation-card p:last-child {
  margin-bottom: 0;
}

.draft-calculation-card ul {
  margin: -4px 0 18px;
  padding-left: 24px;
}

.draft-calculation-card li + li {
  margin-top: 7px;
}

@media (max-width: 759px) {
  .draft-overall-records-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .draft-selection-records-stack {
    gap: 16px;
    margin-top: 16px;
  }

  .draft-selection-record-card {
    padding: 20px 14px 12px;
  }

  .draft-selection-record-header,
  .draft-selection-record-row {
    grid-template-columns: 30px 34px minmax(0, 1fr) 42px 48px;
    gap: 6px;
  }

  .draft-selection-record-header span:nth-child(5),
  .draft-selection-record-header span:nth-child(6),
  .draft-selection-record-row > b,
  .draft-selection-record-row > em {
    display: none;
  }

  .draft-selection-record-row > img {
    width: 34px;
    height: 42px;
  }

  .draft-selection-record-row > strong {
    font-size: 0.72rem;
  }

  .draft-selection-record-row > strong small {
    display: block;
    margin-top: 4px;
    color: rgba(37,37,37,0.43);
    font-size: 0.58rem;
    line-height: 1;
  }

  .draft-selection-record-row .draft-position {
    width: 40px;
    min-height: 22px;
    font-size: 0.54rem;
  }

  .draft-selection-record-row > i {
    min-width: 46px;
    min-height: 34px;
    font-size: 0.82rem;
  }

  .draft-year-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
  }

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

  .draft-manager-link {
    grid-template-rows: 104px auto;
  }

  .draft-manager-link img {
    height: 104px;
  }

  .draft-round-one-card {
    padding: 14px 14px 10px;
  }

  .draft-round-one-header,
  .draft-round-one-row {
    grid-template-columns: 74px minmax(0, 1fr) 48px 50px;
    gap: 7px;
  }

  .draft-round-one-header {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .draft-round-one-pick {
    grid-template-columns: 34px 34px;
    gap: 5px;
  }

  .draft-round-one-pick strong {
    font-size: 0.72rem;
  }

  .draft-round-one-pick img {
    width: 34px;
    height: 46px;
  }

  .draft-player-name {
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  .draft-round-one-row .draft-position {
    width: 44px;
    min-height: 22px;
    font-size: 0.55rem;
  }

  .draft-selection-score {
    min-height: 36px;
    font-size: 0.88rem;
  }

  .draft-medal-star {
    width: 16px;
    height: 16px;
    font-size: 0.56rem;
  }

  .draft-compact-grid,
  .draft-manager-season-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .draft-manager-history-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .draft-manager-history-portrait {
    justify-self: center;
    width: min(230px, 100%);
    height: 330px;
  }

  .draft-manager-history-portrait img {
    height: 100%;
  }

  .draft-manager-history-copy h1 {
    font-size: clamp(2.4rem, 14vw, 3.4rem);
  }

  .draft-manager-history-copy h2 {
    font-size: 1.05rem;
  }

  .draft-manager-summary-list {
    font-size: 0.8rem;
  }
}

@media (max-width: 620px) {
  .draft-card-header {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .draft-year-menu-card,
  .draft-manager-menu-card {
    padding: 20px 16px;
  }

  .draft-year-link {
    font-size: 0.88rem;
  }

  .draft-round-one-header,
  .draft-round-one-row {
    grid-template-columns: 67px minmax(0, 1fr) 42px 45px;
    gap: 5px;
  }

  .draft-round-one-pick {
    grid-template-columns: 30px 32px;
    gap: 3px;
  }

  .draft-round-one-pick img {
    width: 32px;
  }

  .draft-round-one-row .draft-position {
    width: 40px;
  }

  .draft-compact-card,
  .draft-manager-season-card {
    padding-inline: 14px;
  }

  .draft-compact-row {
    grid-template-columns: 36px 28px minmax(0, 1fr) 42px 38px;
    gap: 5px;
  }

  .draft-compact-row img {
    width: 28px;
    height: 36px;
  }

  .draft-compact-row .draft-position {
    width: 40px;
  }

  .draft-overall-record-card {
    padding-inline: 14px;
  }

  .draft-record-feature {
    grid-template-columns: 72px minmax(0, 1fr) 62px;
    gap: 9px;
  }

  .draft-record-feature > img {
    width: 72px;
    height: 82px;
  }

  .draft-record-feature-copy h4 {
    font-size: 1rem;
  }

  .draft-record-feature-copy p {
    font-size: 0.58rem;
  }

  .draft-record-feature-score strong {
    min-width: 56px;
    min-height: 42px;
    font-size: 1.15rem;
  }

  .draft-record-list-row {
    grid-template-columns: 28px max-content minmax(8px, 1fr) 42px 36px;
    gap: 6px;
  }

  .draft-record-list-row > strong {
    font-size: 0.72rem;
  }

  .draft-record-list-row > em {
    font-size: 0.6rem;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    url("../images/branding/paper-grain.png"),
    var(--paper);
  background-size: 420px 420px;
  background-blend-mode: multiply;
}

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.site-header {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.site-logo {
  display: block;
  width: min(430px, 84vw);
  height: auto;
}

.dash {
  border: 0;
  border-top: 3px dashed var(--ink);
  margin: 0 0 28px;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.site-footer {
  margin: 32px 0 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.58;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .full-span {
    grid-column: 1 / -1;
  }
}

.sarl-card {
  position: relative;
  scroll-margin-top: 24px;
  border-radius: 22px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 6px 0 var(--shadow);
  isolation: isolate;
  overflow: hidden;
  background-image:
    url("../images/branding/paper-grain.png"),
    radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1.3px);
  background-size:
    360px 360px,
    20px 20px;
  background-blend-mode: multiply;
}

.green {
  background-color: var(--green);
}

.pink {
  background-color: var(--pink);
}

.purple {
  background-color: var(--purple);
}

.blue {
  background-color: var(--blue);
}

.cream {
  background-color: var(--cream);
}

.yellow {
  background-color: var(--yellow);
}

.office {
  background-color: var(--office);
}

.hero {
  text-align: center;
  padding: clamp(32px, 5vw, 54px);
}

.champion-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.champion-banner img {
  display: block;
  width: min(100%, 760px);
  height: auto;
}

.champion-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 8px;
  padding: 10px 10px 0;
}

/* The homepage keeps the reigning champion prominent without becoming a full page. */
#champion {
  padding: clamp(22px, 4vw, 36px);
}

#champion .champion-banner {
  position: relative;
  z-index: 2;
  margin-bottom: -10px;
}

#champion .champion-banner img {
  width: min(100%, 500px);
}

#champion .champion-layout {
  gap: 18px;
  margin-top: 0;
  padding: 0;
}

#champion .mini-card,
#champion .trophy-card {
  min-height: 0;
  padding: 18px;
}

#champion .art-box {
  min-height: 210px;
}

#champion .manager-art img {
  max-height: 260px;
}

#champion .trophy-art {
  width: min(100%, 320px);
  max-height: 380px;
}

#champion .mini-card-footer {
  margin-top: 10px;
}

#champion .champion-link-button {
  width: auto;
}

@media (min-width: 760px) {
  .champion-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.mini-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.58);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 0;
  position: relative;
  min-height: 340px;
}

.art-box {
  flex: 1;
  min-height: 230px;
  display: grid;
  place-items: end center;
  border-radius: 14px;
  overflow: hidden;
  padding: 8px 8px 0;
}

.manager-art {
  position: relative;
}

.manager-art img {
  display: block;
  max-width: 100%;
  max-height: 290px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.champion-portrait-button {
  width: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  appearance: none;
  cursor: zoom-in;
}

.champion-portrait-button img {
  transition: transform 180ms ease;
}

.champion-portrait-button:hover img,
.champion-portrait-button:focus-visible img {
  transform: scale(1.025);
}

.champion-portrait-button:focus-visible {
  outline: 4px solid rgba(37,37,37,0.42);
  outline-offset: 4px;
}

.trophy-card {
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  min-height: 340px;
}

.trophy-art {
  display: block;
  width: min(100%, 360px);
  max-height: 420px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

.trophy-card-button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  appearance: none;
  cursor: zoom-in;
}

.trophy-card-button .trophy-art {
  transition: transform 180ms ease;
}

.trophy-card-button:hover .trophy-art,
.trophy-card-button:focus-visible .trophy-art {
  transform: scale(1.025);
}

.trophy-card-button:focus-visible {
  outline: 4px solid rgba(37,37,37,0.42);
  outline-offset: 4px;
}

.champion-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.champion-link-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.champion-card-action {
  align-self: center;
  margin-top: 14px;
}

.champion-link-button:hover,
.champion-link-button:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

body.dialog-open {
  overflow: hidden;
}

.box-score-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.box-score-dialog::backdrop {
  background: rgba(24,24,22,0.8);
}

.trophy-dialog {
  width: min(820px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.trophy-dialog::backdrop {
  background: rgba(24,24,22,0.8);
}

.trophy-viewer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-height: calc(100dvh - 32px);
  padding: 24px 24px 20px;
  border-radius: 28px;
  background:
    url("../images/branding/paper-grain.png"),
    var(--cream);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow: auto;
}

.trophy-viewer-panel .trophy-viewer-close {
  z-index: 20;
}

.champion-portrait-viewer-panel {
  justify-content: center;
  min-height: min(760px, calc(100dvh - 32px));
}

.champion-portrait-viewer-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(560px, 100%);
  height: min(78dvh, 900px);
  overflow: hidden;
}

.champion-portrait-viewer-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trophy-flip-scene {
  width: min(580px, 100%);
  aspect-ratio: 673 / 897;
  perspective: 1400px;
}

.trophy-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.trophy-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.trophy-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.trophy-face-back {
  transform: rotateY(180deg);
}

.trophy-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trophy-flip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.trophy-flip-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.trophy-flip-button:hover,
.trophy-flip-button:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

@media (prefers-reduced-motion: reduce) {
  .champion-portrait-button img,
  .trophy-card-button .trophy-art,
  .trophy-flip-card {
    transition: none;
  }
}

.box-score-panel {
  position: relative;
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 5vw, 42px);
  border-radius: 28px;
  background:
    url("../images/branding/paper-grain.png"),
    var(--cream);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.box-score-confetti {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .box-score-confetti,
  .portrait-confetti {
    display: none;
  }
}

.box-score-close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #e2cb19;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.box-score-close-icon:hover,
.box-score-close-icon:focus-visible {
  color: var(--ink);
  background: #f0db29;
  transform: scale(1.05);
}

.box-score-heading {
  width: min(280px, calc(100% - 70px));
  margin: 0 auto 22px;
  text-align: center;
  text-transform: uppercase;
}

.box-score-year-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.box-score-year-line span {
  height: 3px;
  background: rgba(37,37,37,0.14);
}

.box-score-year-line h2 {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 6px 34px;
  background: #e2cb19;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
}

.box-score-year-line h2::before,
.box-score-year-line h2::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 18px;
  height: 100%;
  background: #e2cb19;
}

.box-score-year-line h2::before {
  right: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28% 50%);
}

.box-score-year-line h2::after {
  left: 100%;
  clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%);
}

.box-score-heading p {
  margin: 10px 0 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  clip-path: none;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
}

.box-score-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(14px, 4vw, 34px);
  margin-bottom: 28px;
}

.box-score-manager {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.box-score-manager img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 170px;
  object-fit: contain;
  object-position: center bottom;
}

.box-score-champion-visual {
  position: relative;
  width: 100%;
  max-width: 180px;
  height: 170px;
}

.box-score-champion-visual img {
  height: 100%;
}

.portrait-confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.box-score-manager .box-score-champion-portrait {
  transform: scale(1.14);
  transform-origin: center bottom;
}

.box-score-manager strong {
  width: min(160px, 82%);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 3px solid rgba(37,37,37,0.16);
  font-size: 1.85rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
}

.box-score-manager h3 {
  width: 100%;
  margin: 10px 0 0;
  padding: 0 6px;
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.box-score-versus {
  align-self: end;
  margin-bottom: 50px;
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
}

.box-score-lineup {
  border: 2px solid rgba(37,37,37,0.14);
  border-radius: 14px;
  overflow: hidden;
}

.box-score-history-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.box-score-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.box-score-history-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.box-score-history-link:hover,
.box-score-history-link:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.box-scores-page-card {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.box-scores-page-card .section-title {
  margin: 0;
}

.box-score-list {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

.box-score-card {
  max-height: none;
  overflow: visible;
  width: min(760px, 100%);
  margin: 0 auto;
}

.box-score-lineup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 54px 62px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
}

.box-score-lineup-row + .box-score-lineup-row {
  border-top: 1px solid rgba(37,37,37,0.14);
}

.box-score-player {
  min-width: 0;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.champion-player {
  text-align: left;
}

.runner-up-player {
  text-align: right;
}

.box-score-player-points {
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.box-score-slot {
  display: grid;
  place-items: center;
  min-height: 34px;
  margin: 0 5px;
  border-radius: 7px;
  background: #d4d4d4;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.mini-card-footer {
  margin-top: 16px;
}

.champion-year {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0 0 10px;
  padding: 4px 16px;
  background: var(--playoff);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
}

.champion-year::before,
.champion-year::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 18px;
  height: 100%;
  background: var(--playoff);
}

.champion-year::before {
  right: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28% 50%);
}

.champion-year::after {
  left: 100%;
  clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%);
}

.mini-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.manager-name {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-name {
  margin: 8px 0 0;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.champion-season-record {
  margin: 6px 0 0;
  color: rgba(37,37,37,0.42);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.champions-hero {
  text-align: center;
}

.past-champions-heading {
  margin-top: 34px;
}

.past-champions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.past-champion-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 276px;
  padding: 18px 16px 20px;
  border-radius: 18px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.72);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.past-champion-art {
  position: relative;
  flex: 1;
  display: grid;
  place-items: end center;
  min-height: 150px;
  padding: 6px 6px 0;
}

.past-champion-art img {
  display: block;
  max-width: 100%;
  max-height: 165px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.past-champion-copy {
  margin-top: 8px;
}

.past-champion-copy .champion-year {
  min-height: 22px;
  margin-bottom: 9px;
  padding: 3px 10px;
  font-size: clamp(0.9rem, 2.2vw, 1.08rem);
}

.past-champion-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.past-champion-copy p {
  margin: 7px 0 0;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.past-champion-copy .champion-season-record {
  margin-top: 5px;
  color: rgba(37,37,37,0.42);
  font-size: clamp(0.9rem, 2.2vw, 1.08rem);
  font-weight: 800;
}

.champion-box-score-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-box-score-link {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 0.72rem;
}

.champion-box-score-link:hover,
.champion-box-score-link:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.section-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.archive-page-intro {
  width: min(100%, 650px);
  margin: -4px auto clamp(28px, 5vw, 42px);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.standings-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.medals-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.homepage-awards-header .section-title {
  margin: 0;
}

.homepage-awards-grid {
  gap: 16px;
}

.homepage-award-card {
  grid-template-rows: auto 145px;
  padding: 15px 14px 18px;
}

.homepage-award-card img {
  height: 140px;
}

.homepage-trophy-awards-grid {
  margin-bottom: 18px;
}

.homepage-medal-awards-grid .medal-position-ribbon,
.homepage-point-award-card .homepage-points-ribbon,
.homepage-survivor-report .homepage-survivor-ribbon {
  width: max-content;
  max-width: 100%;
  justify-self: center;
  padding-right: 18px;
  padding-left: 18px;
}

.homepage-special-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.homepage-point-award-card,
.homepage-survivor-report {
  min-width: 0;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.homepage-point-award-card {
  display: grid;
  grid-template-rows: auto 150px auto 3px auto auto;
  justify-items: center;
  padding: 15px 14px 18px;
  text-align: center;
}

.homepage-points-ribbon {
  color: #f2c230;
  background: #6a4028;
}

.homepage-point-award-visual {
  position: relative;
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin: 0 auto;
}

.homepage-point-award-portrait {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center bottom;
}

.homepage-point-award-badge {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.homepage-point-award-card h3 {
  margin: 10px 0 12px;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.homepage-point-award-rule {
  width: 100%;
  height: 3px;
  background: #6a4028;
}

.homepage-point-award-card > strong {
  margin-top: 12px;
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
}

.homepage-point-award-card > span {
  margin-top: 5px;
  color: rgba(37,37,37,0.42);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.homepage-survivor-report {
  grid-column: span 3;
  display: grid;
  align-content: start;
  padding: 15px 18px 18px;
}

.homepage-survivor-ribbon {
  color: white;
  background: #d64242;
}

.homepage-survivor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 10px;
  align-items: end;
  margin-top: 10px;
}

.homepage-survivor-person {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.homepage-survivor-person > img,
.homepage-survivor-winner-visual {
  width: 100%;
  max-width: 92px;
  height: 88px;
}

.homepage-survivor-person > img,
.homepage-survivor-winner-visual > img:first-child {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: contain;
  object-position: center bottom;
}

.homepage-survivor-winner-visual {
  position: relative;
}

.homepage-survivor-winner-visual .homepage-survivor-badge {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: auto;
  height: 35px;
  object-fit: contain;
}

.homepage-survivor-person strong {
  margin-top: 6px;
  color: rgba(37,37,37,0.48);
  font-size: 0.57rem;
  font-weight: 950;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.homepage-survivor-winner strong {
  color: #d64242;
}

.homepage-draft-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.records-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.managers-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 20px;
}

.records-card-header .section-title,
.managers-card-header .section-title {
  margin: 0;
}

.standings-title-stack,
.medals-title-stack,
.homepage-draft-title-stack {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.standings-title-stack p,
.medals-title-stack p,
.homepage-draft-title-stack p {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.standings-title-stack .section-title,
.medals-title-stack .section-title,
.homepage-draft-title-stack .section-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.homepage-draft-rounds {
  margin-top: 0;
}

.section-pill-link {
  position: absolute;
  top: 10px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.section-pill-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.section-pill-link:hover,
.section-pill-link:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.standings-table {
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.64);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.standings-header,
.standings-row {
  display: grid;
  grid-template-columns: 42px 66px minmax(0, 1fr) 76px 104px;
  column-gap: 14px;
  row-gap: 14px;
  align-items: center;
}

.standings-header {
  padding: 0 0 14px;
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.standings-header .name-heading {
  grid-column: 2 / 4;
}

.standings-header > :nth-child(4),
.standings-header > :nth-child(5) {
  text-align: right;
}

.standings-row {
  min-height: 78px;
  padding: 10px 0;
  border-bottom: 2px solid rgba(37,37,37,0.15);
}

.standings-row:last-child {
  border-bottom: 0;
}

.rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #e1e1e1;
  border-radius: 6px;
  font-weight: 950;
  font-size: 1.05rem;
}

.standing-avatar {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.82);
  background-size: 240px 240px;
  background-blend-mode: multiply;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.standing-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.standing-info {
  display: flex;
  gap: 16px;
  align-items: baseline;
  min-width: 0;
}

.standing-info::after {
  content: "";
  flex: 1 1 auto;
  min-width: 8px;
  border-bottom: 3px dashed rgba(37,37,37,0.08);
  transform: translateY(-4px);
}

.standing-name {
  flex: 0 0 auto;
  font-weight: 950;
  font-size: clamp(1.65rem, 3.1vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standing-team {
  flex: 0 1 auto;
  min-width: 0;
  margin-top: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  opacity: 0.58;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standing-record,
.standing-points {
  font-weight: 950;
  font-size: 1.08rem;
  white-space: nowrap;
  text-align: right;
}

.standings-header > :nth-child(5),
.standing-points {
  margin-left: 10px;
}

.standings-note,
.profile-section-note {
  margin: 10px 0 -10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  opacity: 0.62;
}

.standings-list {
  display: grid;
  gap: 34px;
}

.standings-page-card > .archive-page-intro {
  margin-bottom: clamp(18px, 2.5vw, 24px);
}

.standings-history-note {
  margin: 22px 0 0;
}

.season-standings-section {
  display: grid;
  gap: 18px;
}

.season-standings-card {
  border-radius: 18px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.64);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  padding: clamp(18px, 3vw, 28px);
}

.standings-page-card > .section-title {
  margin-bottom: 28px;
}

.profile-section-heading.season-standings-heading {
  margin: 0;
}

.season-standings-table {
  padding: 0;
}

.season-standings-header,
.season-standings-row {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr) 116px 150px;
  column-gap: 18px;
  align-items: center;
}

.season-standings-header {
  padding: 0 0 14px;
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.season-standings-header > :nth-child(4),
.season-standings-header > :nth-child(5) {
  text-align: right;
}

.season-standings-row {
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 2px solid rgba(37,37,37,0.15);
}

.season-standings-row:last-child {
  border-bottom: 0;
}

.season-standing-avatar {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.season-standing-manager {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
  font-size: clamp(1.3rem, 2.7vw, 1.75rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.season-standing-manager span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-standing-manager::after {
  content: "";
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 3px dashed rgba(37,37,37,0.08);
  transform: translateY(-4px);
}

.season-standing-record,
.season-standing-points {
  font-size: clamp(1.35rem, 2.6vw, 1.72rem);
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.season-standing-points {
  font-size: clamp(1.14rem, 2.1vw, 1.38rem);
}

.news-item {
  background: rgba(255,255,255,0.68);
  padding: 18px;
  border-radius: 12px;
}

.news-item h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.news-item p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.5;
}

.alert-list {
  margin: 0;
  padding-left: 42px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.45;
}

.alert-list li {
  padding-left: 6px;
}

.alert-list li + li {
  margin-top: 10px;
}

.placeholder-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.78;
}

.calendar-list {
  display: grid;
  gap: 22px;
}

.calendar-event {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.calendar-icon {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.calendar-copy {
  min-width: 0;
}

.calendar-copy h3 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 4px solid rgba(37,37,37,0.12);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1;
}

.calendar-copy p {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.45;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  display: grid;
  grid-template-rows: 150px auto;
  gap: 12px;
  align-items: end;
  justify-items: center;
  min-width: 0;
  padding: 14px 12px 16px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.profile-card img {
  display: block;
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.profile-card h3 {
  margin: 0;
  max-width: 100%;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.profile-card:is(a) {
  color: inherit;
  text-decoration: none;
}

.profile-card:is(a):hover,
.profile-card:is(a):focus-visible {
  transform: translateY(-2px);
}

.managers-page-card {
  padding: clamp(28px, 5vw, 52px);
}

.managers-page-intro {
  width: min(100%, 760px);
  margin: 22px auto 0;
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.managers-group-card {
  width: 100%;
  margin: clamp(28px, 5vw, 42px) auto 0;
  padding: clamp(14px, 2.5vw, 24px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.managers-group-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.manager-directory-heading {
  margin-top: clamp(32px, 5vw, 46px);
}

.manager-directory-grid {
  margin-top: 0;
}

.manager-directory-grid-past {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manager-directory-card.profile-card {
  grid-template-rows: 230px auto auto;
  gap: 7px;
  padding: 16px 12px 14px;
}

.manager-directory-card.profile-card img {
  max-height: 230px;
}

.manager-directory-card-past {
  cursor: default;
}

.manager-directory-card-past-linked {
  cursor: pointer;
}

.manager-directory-card-past-linked img {
  filter: grayscale(1);
  opacity: 0.48;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.manager-directory-card-past-linked:hover img,
.manager-directory-card-past-linked:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

.manager-directory-card-past-linked:hover h2,
.manager-directory-card-past-linked:focus-visible h2 {
  color: var(--ink);
}

.manager-directory-card-past h2 {
  color: rgba(37,37,37,0.42);
}

.manager-directory-card h2 {
  margin: 0;
  max-width: 100%;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.manager-directory-card p {
  margin: 0;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.manager-directory-card .manager-directory-years {
  color: rgba(37,37,37,0.42);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.manager-timeline-heading {
  margin-bottom: 0;
}

.manager-timeline-intro {
  margin: 20px 0 28px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.manager-timeline {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manager-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: rgba(37,37,37,0.12);
  content: "";
  transform: translateX(-50%);
}

.manager-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  align-items: center;
}

.manager-timeline-item:nth-child(odd) .manager-timeline-card {
  grid-column: 1;
}

.manager-timeline-item:nth-child(even) .manager-timeline-card {
  grid-column: 3;
}

.manager-timeline-year {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  width: 72px;
  height: 72px;
  margin: auto;
  place-items: center;
  border-radius: 50%;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.76);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  font-size: 0.9rem;
  font-weight: 950;
}

.manager-timeline-card {
  grid-row: 1;
  padding: 18px;
  border-radius: 8px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.76);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.manager-timeline-card h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.manager-timeline-founders {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 8px;
}

.manager-timeline-founder {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.manager-timeline-founder img,
.manager-timeline-event img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.manager-timeline-founder figcaption {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.manager-timeline-event {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.manager-timeline-event + .manager-timeline-event {
  margin-top: 10px;
}

.manager-timeline-event p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

.manager-timeline-event-leaves p {
  color: rgba(37,37,37,0.42);
}

.manager-profile-card {
  padding: clamp(26px, 5vw, 46px);
}

.manager-profile-hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 44px);
  align-items: start;
}

.manager-profile-art {
  display: grid;
  place-items: end center;
  width: 100%;
  height: 454px;
  padding: 16px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow: hidden;
}

.manager-profile-art img {
  display: block;
  width: calc(100% + 34px);
  max-width: none;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.manager-profile-copy {
  min-width: 0;
  padding-top: 2px;
}

.manager-profile-file {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.58;
}

.manager-profile-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.9rem);
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 0.95;
  text-transform: uppercase;
}

.manager-profile-rule {
  height: 5px;
  margin: 16px 0 18px;
  background: rgba(37,37,37,0.11);
}

.manager-profile-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.08;
  text-transform: uppercase;
}

.manager-profile-aliases {
  margin: 10px 0 0;
  color: rgba(37,37,37,0.43);
  font-size: clamp(0.72rem, 1.35vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.manager-profile-alias-divider {
  margin-top: 16px;
  border-top: 2px dashed rgba(37,37,37,0.2);
}

.manager-profile-aliases span {
  color: var(--ink);
}

.manager-profile-summary {
  display: grid;
  gap: 11px;
  margin: 0;
  font-size: clamp(0.78rem, 1.35vw, 0.94rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.manager-profile-summary div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
}

.manager-profile-summary dt,
.manager-profile-summary dd {
  margin: 0;
}

.manager-profile-summary dt {
  color: var(--ink);
}

.manager-profile-summary dd {
  color: rgba(37,37,37,0.46);
}

.profile-section-heading {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 34px 0 24px;
}

.profile-section-heading span {
  height: 4px;
  background: rgba(37,37,37,0.12);
}

.profile-section-heading h2 {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.profile-stat-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 18px 16px 14px;
  border-radius: 16px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.78);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.profile-stat-card h2 {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 4px solid rgba(37,37,37,0.1);
  font-size: clamp(0.82rem, 1.7vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.profile-stat-detail {
  min-height: 2.2em;
  margin: 8px 0 0;
  color: rgba(37,37,37,0.44);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.profile-stat-value {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 72px;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
}

.profile-stat-rank {
  margin: 0;
  color: rgba(37,37,37,0.38);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.season-history-heading {
  margin-top: 40px;
}

.profile-medals-heading {
  margin-top: 40px;
}

.profile-medals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-medal-card {
  display: grid;
  grid-template-rows: auto 180px auto;
  justify-items: center;
  min-width: 0;
  padding: 16px 14px 18px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.78);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.profile-medal-card img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 175px;
  object-fit: contain;
}

.profile-medal-card strong {
  margin-top: 8px;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
}

.profile-medal-collection-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.profile-medal-collection-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-medal-collection-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.profile-medal-collection-link:hover,
.profile-medal-collection-link:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.profile-awards-heading {
  margin-top: 40px;
}

.profile-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-award-card {
  display: grid;
  grid-template-rows: auto 155px auto;
  justify-items: center;
  min-width: 0;
  padding: 16px 14px 18px;
  border-radius: 14px;
  color: var(--ink);
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.78);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.profile-award-card:hover,
.profile-award-card:focus-visible {
  background-color: rgba(255,255,255,0.94);
  transform: translateY(-3px);
}

.profile-award-card:focus-visible {
  outline: 3px solid rgba(37,37,37,0.4);
  outline-offset: 3px;
}

.profile-award-ribbon {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px 12px;
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 10% 50%);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.profile-award-trophies .profile-award-ribbon {
  background: #ffc43b;
}

.profile-award-medals .profile-award-ribbon {
  color: white;
  background: var(--medal-rb);
}

.profile-award-points .profile-award-ribbon {
  color: #f2c230;
  background: #6a4028;
}

.profile-award-survivors .profile-award-ribbon {
  color: white;
  background: #d64242;
}

.profile-award-card img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 150px;
  object-fit: contain;
}

.profile-award-card strong {
  margin-top: 8px;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
}

.profile-history-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.78);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  padding: clamp(18px, 3vw, 28px);
}

.profile-history-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.profile-history-table th,
.profile-history-table td {
  padding: 14px 16px;
  border-bottom: 2px solid rgba(37,37,37,0.12);
  text-align: center;
}

.profile-history-link-row td {
  padding: 0;
  transition: background-color 150ms ease;
}

.profile-history-link-row a {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.profile-history-link-row:hover td,
.profile-history-link-row:focus-within td {
  background-color: rgba(255,255,255,0.34);
}

.profile-history-link-row a:focus-visible {
  outline: 3px solid rgba(37,37,37,0.4);
  outline-offset: -3px;
}

.profile-history-table th {
  color: white;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-history-table th:first-child {
  border-top-left-radius: 12px;
}

.profile-history-table th:last-child {
  border-top-right-radius: 12px;
}

.profile-history-table tr:last-child td {
  border-bottom: 0;
}

.profile-history-table td {
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.playoff-badge,
.finish-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
}

.playoff-badge {
  font-size: 1.35rem;
}

.playoff-badge.made {
  background: var(--check);
}

.playoff-badge.missed {
  background: #e1e1e1;
}

.finish-badge {
  background: #e1e1e1;
  font-size: 1.08rem;
}

.finish-1 {
  background: var(--playoff);
}

.finish-2 {
  background: #aaaaaa;
}

.finish-3 {
  background: #cb9163;
}

.playoff-stats-heading {
  margin-top: 40px;
}

.playoff-stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 22px;
  align-items: stretch;
}

.playoff-stat-main {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.playoff-stat-main .profile-stat-card:nth-child(1),
.playoff-stat-main .profile-stat-card:nth-child(2),
.playoff-stat-main .profile-stat-card:nth-child(3) {
  grid-column: span 2;
}

.playoff-stat-main .profile-stat-card:nth-child(4) {
  grid-column: span 3;
}

.playoff-stat-main .profile-stat-card:nth-child(5) {
  grid-column: span 3;
}

.trophy-stat-card {
  min-height: 100%;
}

.trophy-list {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding-top: 18px;
}

.trophy-row {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.trophy-row .finish-badge {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  font-size: 1.8rem;
}

.draft-stats-heading {
  margin-top: 40px;
}

.draft-profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.draft-profile-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 132px;
  padding: 16px 12px 14px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.72);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

a.draft-profile-stat-card {
  transition: background-color 150ms ease, transform 150ms ease;
}

a.draft-profile-stat-card:hover,
a.draft-profile-stat-card:focus-visible {
  background-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

a.draft-profile-stat-card:focus-visible {
  outline: 3px solid rgba(37,37,37,0.4);
  outline-offset: 2px;
}

.draft-profile-stat-card:nth-child(3),
.draft-profile-stat-card:nth-child(4) {
  grid-row: span 2;
}

.draft-profile-stat-card h2 {
  width: 100%;
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 3px solid rgba(37,37,37,0.12);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.draft-profile-stat-card h3 {
  margin: auto 0 12px;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.draft-profile-stat-card > strong {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 7px;
  background: #f1c83f;
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
}

.draft-profile-detail,
.draft-profile-rank {
  margin: 10px 0 0;
  color: rgba(37,37,37,0.45);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.draft-profile-rank {
  margin-top: auto;
  padding-top: 12px;
}

.draft-profile-pick-card {
  min-height: 282px;
}

.draft-profile-history-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.draft-profile-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.draft-profile-history-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.draft-profile-history-link:hover,
.draft-profile-history-link:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.trophy-row strong {
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.versus-heading {
  margin-top: 40px;
}

.versus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.versus-card {
  min-width: 0;
  padding: 18px 18px 22px;
  border-radius: 16px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.78);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.versus-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 4px solid rgba(37,37,37,0.1);
}

.versus-card h3 {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.versus-result-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.versus-result-badge.winning {
  background: var(--check);
}

.versus-result-badge.losing {
  background: #e1e1e1;
}

.versus-result-badge.tied {
  background: var(--playoff);
}

.versus-record {
  margin-top: 22px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
}

.profile-section-note {
  margin: 18px 0 0;
}

.more-profiles-heading {
  margin-top: 34px;
}

.more-profiles-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.more-profiles-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.more-profiles-menu a:hover,
.more-profiles-menu a:focus-visible,
.more-profiles-menu a.current-profile {
  color: var(--ink);
  background: #e2cb19;
}

.history-year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--ink);
  color: white;
  line-height: 1;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.record-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 28px 22px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.record-ribbon {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0 0 22px;
  padding: 8px 26px;
  color: #e2cb19;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.record-ribbon::before,
.record-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 100%;
  background: var(--ink);
  z-index: -1;
}

.record-ribbon::before {
  left: -18px;
  clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%, 28% 50%);
}

.record-ribbon::after {
  right: -18px;
  clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%, 28% 50%);
  transform: scaleX(-1);
}

.record-feature {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.record-feature img {
  display: block;
  max-width: 110px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.record-feature-copy {
  min-width: 0;
}

.record-feature-copy h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-score {
  margin-top: 4px;
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.record-feature-copy p {
  margin: 6px 0 0;
  color: rgba(37,37,37,0.42);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-divider {
  height: 3px;
  margin: 22px 0;
  background: rgba(37,37,37,0.14);
}

.record-list {
  display: grid;
  gap: 12px;
}

.record-list-item {
  display: grid;
  grid-template-columns: 30px max-content minmax(8px, 1fr) max-content max-content;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.record-list-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: #cccccc;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 950;
}

.record-list-item p {
  margin: 0;
  min-width: 0;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-leader {
  min-width: 0;
  border-bottom: 3px dashed rgba(37,37,37,0.08);
  transform: translateY(1px);
}

.record-list-item strong {
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
}

.record-list-item em {
  color: rgba(37,37,37,0.38);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.small-records-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.small-record-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 16px 16px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.small-record-ribbon {
  margin-bottom: 14px;
  padding-inline: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.small-record-feature {
  display: grid;
  justify-items: center;
  text-align: center;
}

.small-record-feature img {
  display: block;
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.small-record-feature h4 {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.small-record-value {
  margin-top: 6px;
  font-size: 2.45rem;
  font-weight: 950;
  line-height: 0.95;
}

.small-record-value-long {
  font-size: 1.62rem;
}

.small-record-detail {
  margin: 6px 0 0;
  color: rgba(37,37,37,0.42);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.small-record-divider {
  height: 3px;
  margin: 16px 0;
  background: rgba(37,37,37,0.14);
}

.small-record-list {
  display: grid;
  gap: 9px;
}

.small-record-list-item {
  display: grid;
  grid-template-columns: 24px max-content minmax(6px, 1fr) max-content;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.small-record-list-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: #cccccc;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 950;
}

.small-record-list-item p {
  margin: 0;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.small-record-list-item strong {
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
}

.small-record-note {
  margin: auto 0 0;
  padding-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  opacity: 0.55;
}

.records-page-top-grid {
  margin-top: 0;
}

.records-page-card > .records-grid {
  margin-top: 22px;
}

.faceoff-records-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.faceoff-record-card {
  min-width: 0;
  padding: 24px 22px 22px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.68);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.faceoff-record-ribbon {
  width: min(300px, calc(100% - 36px));
  margin: 0 auto 22px;
}

.faceoff-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.faceoff-manager {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.faceoff-manager img {
  display: block;
  width: 100%;
  max-width: 104px;
  height: 110px;
  object-fit: contain;
}

.faceoff-manager h3 {
  width: 100%;
  margin: 9px 0 0;
  overflow: hidden;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.faceoff-manager strong {
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 3px solid rgba(37,37,37,0.14);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.faceoff-record-value {
  min-width: 90px;
  text-align: center;
}

.faceoff-record-value strong {
  display: block;
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 0.95;
  white-space: nowrap;
}

.faceoff-record-value p {
  margin: 8px 0 0;
  color: rgba(37,37,37,0.38);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.note {
  margin-top: 28px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.72;
  text-align: center;
}

.medals-page-card {
  padding: clamp(28px, 5vw, 52px);
}

.award-flank-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto clamp(26px, 4vw, 36px);
}

.award-flank-hero .section-title {
  margin-bottom: 18px;
}

.medal-flank {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
}

.medal-flank img {
  display: block;
  width: 62px;
  height: 112px;
  object-fit: contain;
}

.trophy-flank-hero > img {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: contain;
}

.medals-page-intro {
  width: min(100%, 650px);
  margin: -4px auto 0;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.medal-tracker-heading {
  margin-top: clamp(28px, 5vw, 42px);
}

.award-flank-hero + .medal-tracker-heading {
  margin-top: 0;
}

.medal-tracker-card {
  padding: clamp(9px, 1.8vw, 16px) clamp(18px, 3vw, 30px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.medal-position-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 24px);
  padding-bottom: 22px;
  border-bottom: 3px dashed rgba(37,37,37,0.14);
}

.medal-position-legend img {
  display: block;
  width: auto;
  height: 78px;
  object-fit: contain;
}

.medal-position-pill {
  display: inline-grid;
  min-width: 66px;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
}

.medal-qb {
  background-color: var(--medal-qb);
}

.medal-rb {
  background-color: var(--medal-rb);
}

.medal-wr {
  background-color: var(--medal-wr);
}

.medal-te {
  background-color: var(--medal-te);
}

.medal-tracker-list {
  display: grid;
}

.medal-tracker-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 0;
  border-bottom: 3px solid rgba(37,37,37,0.12);
}

.medal-tracker-portrait {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.medal-tracker-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.medal-tracker-rank {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 5px;
  background: #ddd;
  font-size: 0.9rem;
  font-weight: 950;
}

.medal-tracker-manager {
  min-width: 0;
}

.medal-tracker-manager h2 {
  margin: 0 0 7px;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.medal-tracker-manager h2 a {
  color: var(--ink);
  text-decoration: none;
}

.medal-tracker-manager h2 a:hover,
.medal-tracker-manager h2 a:focus-visible {
  color: rgba(37,37,37,0.6);
}

.medal-dot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.medal-dot {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.medal-tracker-total {
  display: grid;
  grid-template-columns: 48px auto;
  gap: 10px;
  align-items: center;
  min-width: 126px;
}

.medal-tracker-total strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 7px;
  background: #f2c230;
  font-size: 1.35rem;
  font-weight: 950;
}

.medal-tracker-total span {
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.medal-season-section {
  margin-top: clamp(36px, 6vw, 58px);
}

.medal-collections-menu-heading {
  margin-top: clamp(36px, 6vw, 58px);
}

.medal-collection-menu-card {
  padding: clamp(20px, 4vw, 30px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.medal-collection-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 16px;
}

.medal-collection-menu-link {
  display: grid;
  grid-template-rows: 105px auto;
  gap: 8px;
  align-items: end;
  justify-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.medal-collection-menu-link img {
  display: block;
  width: 100%;
  max-width: 105px;
  height: 105px;
  object-fit: contain;
  transition: transform 150ms ease;
}

.medal-collection-menu-link span {
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.medal-collection-menu-link:hover img,
.medal-collection-menu-link:focus-visible img {
  transform: translateY(-3px);
}

.medal-season-heading {
  margin-bottom: 22px;
}

.medal-season-heading h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.medal-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.medal-award-card {
  display: grid;
  grid-template-rows: auto 150px auto 3px minmax(2.5em, auto);
  align-items: center;
  min-width: 0;
  padding: 15px 14px 18px;
  border-radius: 10px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  text-align: center;
}

.medal-position-ribbon {
  width: 100%;
  margin: 0 0 10px;
  padding: 7px 14px;
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 10% 50%);
  color: white;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.medal-award-portrait {
  position: relative;
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin: 0 auto;
}

.medal-award-card .medal-award-manager-image {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

.medal-award-card .medal-award-badge {
  position: absolute;
  right: -3px;
  bottom: -4px;
  z-index: 1;
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(37,37,37,0.16));
}

.medal-award-card h4 {
  margin: 10px 0 12px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.medal-award-divider {
  width: 100%;
  height: 3px;
}

.medal-award-card p {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Point Dawgs */
.points-page-card {
  padding: clamp(28px, 5vw, 52px);
}

.point-dawg-hero {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 135px;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto clamp(28px, 5vw, 42px);
}

.point-dawg-hero > img {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: contain;
}

.point-dawg-hero .section-title {
  margin-bottom: 18px;
}

.points-page-intro {
  width: min(100%, 650px);
  margin: 0 auto;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.point-dawg-heading {
  margin-top: 0;
}

.point-dawg-call-card {
  padding: clamp(14px, 2.5vw, 24px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.point-dawg-call-row {
  display: grid;
  grid-template-columns: 30px 50px 110px max-content minmax(30px, 1fr) 42px 52px;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 5px 0;
}

.point-dawg-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #ddd;
  font-size: 0.8rem;
  font-weight: 950;
}

.point-dawg-manager {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.point-dawg-call-row h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.point-dawg-count {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.point-dawg-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border-radius: 4px;
  color: inherit;
  outline: none;
  text-decoration: none;
}

.point-dawg-count img {
  display: block;
  width: 30px;
  height: 36px;
  object-fit: contain;
}

.point-dawg-mark-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 4;
  padding: 5px 7px;
  border-radius: 5px;
  color: white;
  background: var(--ink);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
}

.point-dawg-mark-tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  border: 4px solid transparent;
  border-top-color: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.point-dawg-mark:hover .point-dawg-mark-tooltip,
.point-dawg-mark:focus-visible .point-dawg-mark-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.point-dawg-mark:focus-visible {
  outline: 2px solid rgba(37,37,37,0.45);
  outline-offset: 2px;
}

.point-dawg-call-leader {
  min-width: 20px;
  border-bottom: 2px dashed rgba(37,37,37,0.14);
}

.point-dawg-total-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: #f2c230;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.point-dawg-total-label {
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.point-dawg-pound-heading {
  margin-top: clamp(36px, 6vw, 58px);
}

.point-dawg-season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.point-dawg-season-card {
  display: grid;
  grid-template-rows: auto auto 170px auto 3px auto;
  align-items: center;
  min-width: 0;
  padding: 15px 14px 18px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  scroll-margin-top: 24px;
  text-align: center;
}

.point-dawg-year {
  margin-bottom: 4px;
  color: #6a4028;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.point-dawg-ribbon {
  width: max-content;
  min-width: 108px;
  justify-self: center;
  margin-bottom: 8px;
  padding: 7px 26px;
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 10% 50%);
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.point-dawg-theme-gold .point-dawg-ribbon {
  color: #6a4028;
  background: #f2c230;
}

.point-dawg-theme-brown .point-dawg-ribbon {
  color: #f2c230;
  background: #6a4028;
}

.point-dawg-season-visual {
  position: relative;
  width: 100%;
  max-width: 150px;
  height: 170px;
  margin: 0 auto;
}

.point-dawg-season-portrait {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 165px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

.point-dawg-season-badge {
  position: absolute;
  right: -3px;
  bottom: -2px;
  z-index: 1;
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(37,37,37,0.16));
}

.point-dawg-season-card h3 {
  margin: 10px 0 12px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.point-dawg-card-rule {
  width: 100%;
  height: 3px;
  background: #f2c230;
}

.point-dawg-points {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: 12px 0 0;
}

.point-dawg-points strong {
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
}

.point-dawg-points span {
  color: rgba(37,37,37,0.42);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.medal-collection-card {
  padding: clamp(28px, 5vw, 52px);
}

.medal-collection-hero {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 46px);
  align-items: center;
}

.medal-collection-portrait {
  display: grid;
  min-height: 390px;
  padding: 14px;
  place-items: center;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow: hidden;
}

.medal-collection-portrait img {
  display: block;
  width: 100%;
  height: 355px;
  object-fit: contain;
  object-position: center;
}

.medal-collection-summary > p {
  margin: 0 0 6px;
  color: rgba(37,37,37,0.48);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.medal-collection-summary h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.medal-collection-summary h2 {
  margin: 18px 0 0;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.medal-collection-summary h2 span {
  color: rgba(37,37,37,0.45);
}

.medal-collection-rule {
  height: 4px;
  margin: 22px 0 24px;
  background: rgba(37,37,37,0.18);
}

.medal-position-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 140px));
  gap: 14px 24px;
}

.medal-position-counts > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.medal-position-counts img {
  display: block;
  width: auto;
  height: 76px;
  object-fit: contain;
}

.medal-position-counts strong {
  color: rgba(37,37,37,0.5);
  font-size: 1.15rem;
  font-weight: 950;
}

.medal-collection-heading {
  margin-top: clamp(42px, 7vw, 68px);
}

.medal-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.medal-collection-item {
  display: grid;
  grid-template-rows: auto 185px minmax(2.4em, auto) 3px auto;
  align-items: center;
  min-width: 0;
  padding: 18px 14px;
  border-radius: 12px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  text-align: center;
}

.medal-collection-item img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 180px;
  margin: 0 auto;
  object-fit: contain;
}

.medal-collection-item h3 {
  margin: 10px 0 14px;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.medal-collection-divider {
  width: 100%;
  height: 3px;
}

.medal-collection-item p {
  margin: 13px 0 0;
  color: rgba(37,37,37,0.42);
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

@media (max-width: 759px) {
  .medal-awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .point-dawg-season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .medal-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .profile-medals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .profile-awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

@media (max-width: 620px) {
  .medals-page-card {
    padding: 24px 16px 28px;
  }

  .award-flank-hero {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
    margin-bottom: 22px;
  }

  .award-flank-hero .section-title {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .award-flank-hero .medals-page-intro {
    font-size: 0.62rem;
  }

  .medal-flank {
    height: 84px;
  }

  .medal-flank img {
    width: 24px;
    height: 58px;
  }

  .trophy-flank-hero > img {
    height: 76px;
  }

  .points-page-card {
    padding: 24px 16px 28px;
  }

  .point-dawg-hero {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .point-dawg-hero > img {
    height: 82px;
  }

  .point-dawg-hero .section-title {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .points-page-intro {
    font-size: 0.66rem;
  }

  .point-dawg-call-row {
    grid-template-columns: 25px 38px 58px max-content minmax(8px, 1fr) 34px auto;
    gap: 5px;
    min-height: 50px;
    padding: 4px 0;
  }

  .point-dawg-rank {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .point-dawg-manager {
    width: 38px;
    height: 38px;
  }

  .point-dawg-call-row h3 {
    font-size: 0.74rem;
  }

  .point-dawg-count {
    gap: 2px;
  }

  .point-dawg-count img {
    width: 18px;
    height: 22px;
  }

  .point-dawg-call-leader {
    min-width: 8px;
    border-bottom-width: 1px;
  }

  .point-dawg-total-number {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .point-dawg-total-label {
    font-size: 0.48rem;
  }

  .point-dawg-season-card {
    grid-template-rows: auto auto 130px auto 3px auto;
    padding: 12px 10px 15px;
  }

  .point-dawg-season-portrait {
    max-width: 116px;
    height: 125px;
  }

  .point-dawg-season-visual {
    max-width: 120px;
    height: 130px;
  }

  .point-dawg-season-badge {
    right: -2px;
    height: 46px;
  }

  .point-dawg-season-card h3,
  .point-dawg-points strong {
    font-size: 0.92rem;
  }

  .medal-position-legend {
    gap: 12px;
  }

  .medal-position-legend img {
    height: 58px;
  }

  .medal-position-pill {
    min-width: 52px;
    font-size: 0.68rem;
  }

  .medal-tracker-row {
    grid-template-columns: 30px 42px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .medal-tracker-portrait {
    width: 42px;
    height: 42px;
    border-radius: 6px;
  }

  .medal-tracker-rank {
    width: 29px;
    height: 29px;
    font-size: 0.78rem;
  }

  .medal-tracker-manager h2 {
    font-size: 0.9rem;
  }

  .medal-dot {
    width: 10px;
    height: 10px;
  }

  .medal-dot-list {
    gap: 4px;
  }

  .medal-tracker-total {
    grid-template-columns: 40px;
    justify-items: center;
    min-width: 40px;
  }

  .medal-tracker-total strong {
    width: 40px;
    height: 40px;
    font-size: 1.08rem;
  }

  .medal-tracker-total span {
    display: none;
  }

  .medal-award-card {
    grid-template-rows: auto 116px auto 3px minmax(2.5em, auto);
    padding: 12px 10px 15px;
  }

  .medal-collection-card {
    padding: 24px 16px 28px;
  }

  .medal-collection-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .medal-collection-portrait {
    width: min(100%, 230px);
    min-height: 340px;
    margin: 0 auto;
  }

  .medal-collection-portrait img {
    height: 310px;
  }

  .medal-collection-summary {
    text-align: center;
  }

  .medal-collection-summary h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .medal-position-counts {
    width: min(100%, 230px);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    text-align: left;
  }

  .medal-position-counts img {
    height: 64px;
  }

  .medal-collection-item {
    grid-template-rows: auto 145px minmax(2.4em, auto) 3px auto;
    padding: 14px 10px;
  }

  .medal-collection-item img {
    height: 140px;
  }

  .medal-collection-item h3 {
    font-size: 0.82rem;
  }

  .profile-medal-card {
    grid-template-rows: auto 130px auto;
    padding: 12px 9px 14px;
  }

  .profile-medal-card img {
    height: 125px;
  }

  .profile-award-card {
    grid-template-rows: auto 130px auto;
    padding: 12px 9px 14px;
  }

  .profile-award-card img {
    height: 125px;
  }

  .profile-award-ribbon {
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  .medal-position-ribbon {
    padding: 6px 9px;
    font-size: 0.58rem;
  }

  .medal-award-portrait {
    max-width: 116px;
    height: 116px;
  }

  .medal-award-card .medal-award-manager-image {
    max-width: 116px;
    height: 116px;
  }

  .medal-award-card .medal-award-badge {
    right: -2px;
    bottom: -3px;
    height: 50px;
  }

  .medal-award-card h4 {
    font-size: 0.92rem;
  }

  .medal-award-card p {
    font-size: 0.78rem;
  }
}

@media (max-width: 759px) {
  .box-score-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .trophy-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .trophy-viewer-panel {
    gap: 14px;
    max-height: calc(100dvh - 16px);
    padding: 20px 12px 16px;
    border-radius: 20px;
  }

  .trophy-flip-scene {
    width: min(340px, 100%);
  }

  .champion-portrait-viewer-panel {
    min-height: calc(100dvh - 16px);
  }

  .champion-portrait-viewer-art {
    height: 76dvh;
  }

  .box-score-panel {
    max-height: calc(100dvh - 16px);
    padding: 24px 12px 20px;
    border-radius: 20px;
  }

  .box-score-card {
    max-height: none;
    overflow: visible;
  }

  .box-score-close-icon {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }

  .box-score-heading {
    width: min(240px, calc(100% - 62px));
    margin-bottom: 16px;
  }

  .box-score-heading p {
    min-height: 0;
    padding: 0;
    font-size: 0.86rem;
  }

  .box-score-matchup {
    gap: 8px;
    margin-bottom: 18px;
  }

  .box-score-manager img {
    max-width: 124px;
    height: 112px;
  }

  .box-score-champion-visual {
    max-width: 124px;
    height: 112px;
  }

  .box-score-manager .box-score-champion-portrait {
    transform: scale(1.12);
  }

  .box-score-manager strong {
    width: min(108px, 84%);
    margin-top: 7px;
    padding-top: 7px;
    font-size: 1.3rem;
  }

  .box-score-manager h3 {
    margin-top: 7px;
    padding: 0 4px;
    font-size: 1.2rem;
  }

  .box-score-versus {
    margin-bottom: 37px;
    font-size: 1.1rem;
  }

  .box-score-lineup-row {
    grid-template-columns: minmax(0, 1fr) 36px 40px 36px minmax(0, 1fr);
    min-height: 50px;
  }

  .box-score-player {
    padding: 7px 5px;
    font-size: 0.66rem;
    letter-spacing: 0;
  }

  .box-score-player-points {
    font-size: 0.72rem;
  }

  .box-score-slot {
    min-height: 30px;
    margin: 0 3px;
    font-size: 0.66rem;
  }

  .mini-card,
  .trophy-card {
    min-height: auto;
  }

  .art-box {
    min-height: 200px;
  }

  .manager-art img {
    max-height: 240px;
  }

  .trophy-art {
    width: min(100%, 300px);
    max-height: 360px;
  }

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

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

  .profile-card {
    grid-template-rows: 132px auto;
  }

  .profile-card img {
    max-height: 132px;
  }

  .managers-page-card {
    padding: 24px 16px 28px;
  }

  .manager-directory-grid {
    gap: 12px;
    margin-top: 0;
  }

  .manager-directory-card.profile-card {
    grid-template-rows: 190px auto auto;
    gap: 7px;
    padding: 12px 8px 13px;
  }

  .manager-directory-card.profile-card img {
    max-height: 190px;
  }

  .manager-directory-card h2 {
    font-size: 1.12rem;
  }

  .manager-directory-card .manager-directory-years {
    font-size: 0.72rem;
  }

  .manager-timeline-intro {
    margin: 16px 0 24px;
    font-size: 0.78rem;
  }

  .manager-timeline {
    gap: 20px;
  }

  .manager-timeline::before {
    left: 23px;
    width: 3px;
  }

  .manager-timeline-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .manager-timeline-item:nth-child(odd) .manager-timeline-card,
  .manager-timeline-item:nth-child(even) .manager-timeline-card {
    grid-column: 2;
  }

  .manager-timeline-year {
    grid-column: 1;
    width: 46px;
    height: 46px;
    font-size: 0.68rem;
  }

  .manager-timeline-card {
    grid-column: 2;
    padding: 14px;
  }

  .manager-timeline-card h3 {
    font-size: 0.8rem;
  }

  .manager-timeline-founders {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 6px;
  }

  .manager-timeline-founder img {
    height: 70px;
  }

  .manager-timeline-founder figcaption {
    font-size: 0.6rem;
  }

  .manager-timeline-event {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .manager-timeline-event img {
    height: 70px;
  }

  .manager-timeline-event p {
    font-size: 0.74rem;
  }

  .manager-profile-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .manager-profile-art {
    width: min(100%, 300px);
    height: 440px;
    margin: 0 auto;
    padding: 16px;
  }

  .manager-profile-copy {
    width: 100%;
    padding-top: 0;
  }

  .manager-profile-aliases {
    font-size: 0.72rem;
    text-align: left;
  }

  .manager-profile-summary {
    font-size: 0.78rem;
  }

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

  .playoff-stats-layout {
    grid-template-columns: 1fr;
  }

  .trophy-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .more-profiles-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .records-grid {
    grid-template-columns: 1fr;
  }

  .faceoff-records-grid {
    grid-template-columns: 1fr;
  }

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

  .record-feature {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .record-feature img {
    max-width: 88px;
    max-height: 88px;
  }

  .record-feature-copy h4 {
    font-size: 1rem;
  }

  .record-score {
    font-size: 2.6rem;
  }
}

@media (max-width: 620px) {
  .standings-card-header,
  .medals-card-header,
  .homepage-draft-header,
  .records-card-header,
  .managers-card-header {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .section-pill-link {
    position: static;
  }

  .homepage-award-card {
    grid-template-rows: auto 115px;
    padding: 12px 9px 14px;
  }

  .homepage-award-card img {
    height: 110px;
  }

  .homepage-special-awards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .homepage-point-award-card {
    grid-template-rows: auto 125px auto 3px auto auto;
    padding: 12px 10px 15px;
  }

  .homepage-point-award-visual,
  .homepage-point-award-portrait {
    height: 125px;
  }

  .homepage-point-award-badge {
    height: 46px;
  }

  .homepage-survivor-report {
    grid-column: auto;
    padding: 12px 10px 15px;
  }

  .homepage-survivor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .homepage-medal-awards-grid .medal-position-ribbon,
  .homepage-point-award-card .homepage-points-ribbon,
  .homepage-survivor-report .homepage-survivor-ribbon {
    padding-right: 14px;
    padding-left: 14px;
  }

  .standings-table {
    padding: 14px;
  }

  .standings-header,
  .standings-row {
    grid-template-columns: 32px 46px minmax(0, 1fr) 58px;
    column-gap: 7px;
    row-gap: 7px;
  }

  .standings-header > :nth-child(5),
  .standing-points {
    display: none;
  }

  .standings-header {
    padding: 0 0 10px;
    margin: 0 0 2px;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .season-standings-card {
    padding: 14px;
  }

  .season-standings-header,
  .season-standings-row {
    grid-template-columns: 32px 38px minmax(0, 1fr) 58px;
    column-gap: 7px;
  }

  .season-standings-header > :nth-child(5),
  .season-standing-points {
    display: none;
  }

  .season-standings-header {
    padding: 0 0 10px;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .season-standings-row {
    min-height: 48px;
    padding: 8px 0;
  }

  .season-standing-manager {
    gap: 7px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .season-standing-avatar {
    width: 38px;
    height: 38px;
  }

  .season-standing-manager::after {
    border-bottom-width: 2px;
  }

  .season-standing-record,
  .season-standing-points {
    font-size: 1rem;
  }

  .season-standing-points {
    font-size: 0.92rem;
  }

  .standings-row {
    min-height: 60px;
    padding: 9px 0;
  }

  .rank {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .standing-avatar {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .standing-name {
    font-size: 1.08rem;
    letter-spacing: 0.04em;
  }

  .standing-team {
    display: none;
  }

  .standing-record,
  .standing-points {
    font-size: 0.88rem;
  }

  .manager-profile-copy h1 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
  }

  .profile-section-heading {
    gap: 10px;
    margin-top: 28px;
  }

  .past-champions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .past-champion-card {
    min-height: 230px;
  }

  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-stat-card {
    min-height: 150px;
  }

  .playoff-stat-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .playoff-stat-main .profile-stat-card:nth-child(n) {
    grid-column: auto;
  }

  .trophy-list {
    grid-template-columns: 1fr;
  }

  .versus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .more-profiles-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .more-profiles-menu a {
    min-height: 38px;
    font-size: 0.72rem;
  }

  .profile-history-table {
    min-width: 0;
  }

  .profile-history-table th,
  .profile-history-table td {
    padding: 12px 8px;
    font-size: 0.92rem;
  }

  .profile-history-link-row td {
    padding: 0;
  }

  .profile-history-link-row a {
    min-height: 54px;
    padding: 12px 8px;
  }

  .profile-history-table th {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .profile-history-table th:nth-child(3),
  .profile-history-table td:nth-child(3),
  .profile-history-table th:nth-child(4),
  .profile-history-table td:nth-child(4) {
    display: none;
  }

  .playoff-badge,
  .finish-badge {
    width: 30px;
    height: 30px;
  }

  .standings-header > :nth-child(5),
  .standing-points {
    margin-left: 5px;
  }

  .calendar-event {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .calendar-icon {
    width: 64px;
    height: 64px;
  }

  .record-card {
    padding: 22px 18px 20px;
  }

  .faceoff-record-card {
    padding: 22px 16px 20px;
  }

  .record-ribbon.faceoff-record-ribbon {
    padding-inline: 10px;
    font-size: 0.62rem;
  }

  .faceoff-record-layout {
    gap: 8px;
  }

  .faceoff-manager img {
    max-width: 76px;
    height: 82px;
  }

  .faceoff-manager h3 {
    font-size: 0.82rem;
  }

  .faceoff-manager strong {
    font-size: 1rem;
  }

  .faceoff-record-value {
    min-width: 82px;
  }

  .faceoff-record-value strong {
    font-size: 1.45rem;
  }

  .faceoff-record-value p {
    font-size: 0.6rem;
  }

  .record-ribbon {
    max-width: calc(100% - 36px);
    font-size: 0.78rem;
  }

  .record-feature {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .record-feature img {
    max-width: 76px;
    max-height: 76px;
  }

  .record-feature-copy h4 {
    font-size: 0.95rem;
  }

  .record-score {
    font-size: 2.1rem;
  }

  .record-feature-copy p {
    font-size: 0.82rem;
  }

  .record-list-item p {
    font-size: 0.95rem;
  }

  .record-list-item {
    grid-template-columns: 30px max-content minmax(8px, 1fr) max-content;
    gap: 8px;
  }

  .record-list-item strong {
    font-size: 0.95rem;
  }

  .record-list-item em {
    display: none;
  }

  .small-records-grid {
    grid-template-columns: 1fr;
  }

  .small-record-feature img {
    max-width: 92px;
    max-height: 92px;
  }

  .small-record-list-item p {
    font-size: 0.9rem;
  }

  .small-record-list-item strong {
    font-size: 0.95rem;
  }
}

@media (max-width: 759px) {
  .draft-profile-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .draft-profile-stat-card:nth-child(3),
  .draft-profile-stat-card:nth-child(4) {
    grid-row: auto;
  }

  .draft-profile-pick-card {
    min-height: 220px;
  }
}

@media (max-width: 430px) {
  .draft-profile-stats-grid {
    gap: 12px;
  }

  .draft-profile-stat-card {
    padding-inline: 9px;
  }

  .draft-profile-stat-card h2 {
    font-size: 0.62rem;
  }

  .draft-profile-stat-card h3 {
    font-size: 0.84rem;
  }

  .draft-profile-detail,
  .draft-profile-rank {
    font-size: 0.61rem;
  }
}

/* Front Office */
.front-office-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.front-office-home-card {
  display: grid;
  grid-template-rows: 130px auto auto;
  gap: 14px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 26px 22px 24px;
  border-radius: 14px;
  color: var(--ink);
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.72);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease;
}

.front-office-home-card:hover,
.front-office-home-card:focus-visible {
  transform: translateY(-3px);
}

.front-office-home-card:focus-visible {
  outline: 3px solid rgba(37,37,37,0.45);
  outline-offset: 3px;
}

.front-office-home-icon {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.front-office-home-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.front-office-home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.front-office-home-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.front-office-home-card:hover .front-office-home-pill,
.front-office-home-card:focus-visible .front-office-home-pill {
  color: var(--ink);
  background: #e2cb19;
}

.front-office-card {
  padding: clamp(30px, 5vw, 54px);
}

.front-office-intro {
  width: min(100%, 700px);
  margin: 18px auto 0;
  font-size: clamp(0.78rem, 1.8vw, 0.98rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.front-office-section {
  margin-top: clamp(36px, 6vw, 56px);
}

.front-office-section-heading {
  scroll-margin-top: 24px;
}

.front-office-calendar-card,
.front-office-document {
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.72);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.front-office-calendar-card {
  padding: clamp(22px, 4vw, 34px);
}

.front-office-calendar-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.front-office-calendar-row {
  display: grid;
  grid-template-columns: max-content minmax(0, max-content);
  gap: 7px;
  justify-content: center;
  align-items: baseline;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.front-office-calendar-row span {
  color: rgba(37,37,37,0.52);
}

.front-office-calendar-row-featured {
  width: fit-content;
  margin: 0 auto;
  background: #f2c230;
}

.front-office-docs {
  scroll-margin-top: 24px;
}

.front-office-document {
  padding: clamp(24px, 5vw, 48px);
}

.front-office-document-title {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.front-office-document .constitution > .dek {
  width: min(100%, 700px);
  margin: 0 auto 24px;
  color: rgba(37,37,37,0.62);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.front-office-document .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}

.front-office-document .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.front-office-document .nav a:hover,
.front-office-document .nav a:focus-visible {
  color: var(--ink);
  background: #e2cb19;
}

.front-office-document article {
  scroll-margin-top: 24px;
  padding: 28px 0;
  border-top: 3px solid rgba(37,37,37,0.14);
}

.front-office-document article:first-of-type {
  border-top: 0;
}

.front-office-document article h2 {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.front-office-document article h3 {
  margin: 24px 0 8px;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.front-office-document article p {
  margin: 0 0 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
}

.front-office-document .scoring-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.front-office-document .score-card {
  min-width: 0;
  border: 3px solid rgba(37,37,37,0.14);
  border-radius: 10px;
  overflow: hidden;
}

.front-office-document .score-title {
  padding: 10px 12px;
  color: white;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.front-office-document table {
  width: 100%;
  border-collapse: collapse;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.73rem;
}

.front-office-document th,
.front-office-document td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(37,37,37,0.13);
  text-align: left;
}

.front-office-document th:last-child,
.front-office-document td:last-child {
  text-align: right;
}

.front-office-document tbody tr:last-child td {
  border-bottom: 0;
}

.front-office-document .good {
  color: #27743d;
  font-weight: 900;
}

.front-office-document .bad {
  color: #a53030;
  font-weight: 900;
}

.front-office-document .footer-note {
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 3px dashed rgba(37,37,37,0.16);
  color: rgba(37,37,37,0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 620px) {
  .front-office-home-grid,
  .front-office-document .scoring-grid {
    grid-template-columns: 1fr;
  }

  .front-office-home-card {
    grid-template-rows: 100px auto auto;
    padding: 22px 18px;
  }

  .front-office-home-icon {
    width: 92px;
    height: 92px;
  }

  .front-office-card {
    padding: 26px 16px 30px;
  }

  .front-office-calendar-row {
    grid-template-columns: 1fr;
    gap: 3px;
    text-align: center;
  }

  .front-office-calendar-row-featured {
    width: 100%;
  }

  .front-office-document {
    padding: 22px 16px;
  }

  .front-office-document .nav {
    gap: 7px;
  }

  .front-office-document .nav a {
    padding-inline: 10px;
    font-size: 0.6rem;
  }

  .front-office-document article p {
    font-size: 0.82rem;
  }
}

/* Survivors */
.survivors-page-card {
  padding: clamp(28px, 5vw, 52px);
}

.survivor-hero {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 135px;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto clamp(28px, 5vw, 42px);
}

.survivor-hero > img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.survivor-hero .section-title {
  margin-bottom: 18px;
}

.survivors-page-intro {
  width: min(100%, 650px);
  margin: 0 auto;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.survivor-heading {
  margin-top: 0;
}

.survivor-head-card {
  padding: clamp(14px, 2.5vw, 24px);
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.survivor-head-row {
  display: grid;
  grid-template-columns: 30px 50px 110px max-content minmax(30px, 1fr) 42px 52px;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 5px 0;
}

.survivor-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #ddd;
  font-size: 0.8rem;
  font-weight: 950;
}

.survivor-manager {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.survivor-head-row h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-count {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.survivor-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border-radius: 4px;
  color: inherit;
  outline: none;
  text-decoration: none;
}

.survivor-count img {
  display: block;
  width: 30px;
  height: 36px;
  object-fit: contain;
}

.survivor-mark-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 4;
  padding: 5px 7px;
  border-radius: 5px;
  color: white;
  background: var(--ink);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
}

.survivor-mark-tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  border: 4px solid transparent;
  border-top-color: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.survivor-mark:hover .survivor-mark-tooltip,
.survivor-mark:focus-visible .survivor-mark-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.survivor-mark:focus-visible {
  outline: 2px solid rgba(37,37,37,0.45);
  outline-offset: 2px;
}

.survivor-head-leader {
  min-width: 20px;
  border-bottom: 2px dashed rgba(37,37,37,0.14);
}

.survivor-total-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: #f2c230;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.survivor-total-label {
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-undead-heading {
  margin-top: clamp(36px, 6vw, 58px);
}

.survivor-season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.survivor-season-card {
  display: grid;
  grid-template-rows: auto auto 170px auto 3px auto;
  align-items: center;
  min-width: 0;
  padding: 15px 14px 18px;
  border-radius: 14px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  scroll-margin-top: 24px;
  text-align: center;
}

.survivor-year {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.survivor-ribbon {
  width: max-content;
  min-width: 118px;
  justify-self: center;
  margin-bottom: 8px;
  padding: 7px 24px;
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 10% 50%);
  color: white;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-theme-red .survivor-ribbon {
  background: #d64242;
}

.survivor-theme-black .survivor-ribbon {
  background: var(--ink);
}

.survivor-season-visual {
  position: relative;
  width: 100%;
  max-width: 150px;
  height: 170px;
  margin: 0 auto;
}

.survivor-season-portrait {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 165px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

.survivor-season-badge {
  position: absolute;
  right: -3px;
  bottom: -2px;
  z-index: 1;
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(37,37,37,0.16));
}

.survivor-season-card h3 {
  margin: 10px 0 12px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-card-rule {
  width: 100%;
  height: 3px;
  background: #d64242;
}

.survivor-case-button {
  justify-self: center;
  margin-top: 13px;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-case-button:hover,
.survivor-case-button:focus-visible {
  color: var(--ink);
  background: #f2c230;
}

.survivor-case-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.survivor-case-dialog::backdrop {
  background: rgba(24,24,22,0.72);
}

.survivor-case-panel {
  position: relative;
  max-height: calc(100dvh - 32px);
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background:
    url("../images/branding/paper-grain.png"),
    var(--cream);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  overflow-y: auto;
}

.survivor-case-heading {
  display: grid;
  justify-items: center;
  width: min(330px, calc(100% - 72px));
  margin: 0 auto 26px;
  text-align: center;
  text-transform: uppercase;
}

.survivor-case-heading p,
.survivor-case-heading span {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
}

.survivor-case-heading h2 {
  width: 100%;
  margin: 6px 0;
  padding: 6px 28px;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 8% 50%);
  color: white;
  background: #d64242;
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
}

.survivor-case-heading span {
  color: rgba(37,37,37,0.48);
  font-size: 0.72rem;
}

.survivor-casualty-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
  align-items: end;
}

.survivor-casualty {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.survivor-casualty img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: 112px;
  object-fit: contain;
  object-position: center bottom;
}

.survivor-casualty-winner img {
  transform: scale(1.08);
  transform-origin: center bottom;
}

.survivor-casualty h3 {
  margin: 8px 0 2px;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-casualty p {
  margin: 0;
  color: rgba(37,37,37,0.5);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.survivor-casualty-winner p {
  color: #d64242;
}

@media (max-width: 759px) {
  .survivor-season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .survivor-case-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .survivor-case-panel {
    max-height: calc(100dvh - 16px);
    padding: 24px 12px 20px;
    border-radius: 20px;
  }

  .survivor-casualty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 10px;
  }
}

@media (max-width: 620px) {
  .survivors-page-card {
    padding: 24px 16px 28px;
  }

  .survivor-hero {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .survivor-hero > img {
    height: 72px;
  }

  .survivor-hero .section-title {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .survivors-page-intro {
    font-size: 0.66rem;
  }

  .survivor-head-row {
    grid-template-columns: 25px 38px 58px max-content minmax(8px, 1fr) 34px auto;
    gap: 5px;
    min-height: 50px;
    padding: 4px 0;
  }

  .survivor-rank {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .survivor-manager {
    width: 38px;
    height: 38px;
  }

  .survivor-head-row h3 {
    font-size: 0.74rem;
  }

  .survivor-count {
    gap: 2px;
  }

  .survivor-count img {
    width: 18px;
    height: 22px;
  }

  .survivor-head-leader {
    min-width: 8px;
    border-bottom-width: 1px;
  }

  .survivor-total-number {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .survivor-total-label {
    font-size: 0.48rem;
  }

  .survivor-season-card {
    grid-template-rows: auto auto 130px auto 3px auto;
    padding: 12px 10px 15px;
  }

  .survivor-season-portrait {
    max-width: 116px;
    height: 125px;
  }

  .survivor-season-visual {
    max-width: 120px;
    height: 130px;
  }

  .survivor-season-badge {
    right: -2px;
    height: 46px;
  }

  .survivor-season-card h3 {
    font-size: 0.92rem;
  }

  .survivor-case-heading {
    margin-bottom: 20px;
  }

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

  .survivor-casualty img {
    height: 102px;
  }
}

/* Trophies */
.trophy-gold {
  color: var(--ink);
  background-color: #ffc43b;
}

.trophy-silver {
  color: var(--ink);
  background-color: #bfc0c0;
}

.trophy-bronze {
  color: var(--ink);
  background-color: #ad7c50;
}

.trophy-toilet {
  color: var(--ink);
  background-color: #fff;
}

.trophy-ribbon {
  width: max-content;
  min-width: 92px;
  justify-self: center;
  padding: 7px 18px;
  font-size: 0.8rem;
}

.trophy-type-legend img {
  width: 58px;
  height: 78px;
}

.trophy-dot-toilet,
.trophy-dot.trophy-toilet {
  border: 2px solid var(--ink);
}

.trophy-award-card {
  grid-template-rows: auto 150px auto 3px auto;
}

.trophy-award-badge {
  max-width: 42px;
}

.trophy-collection-item {
  grid-template-rows: auto 185px 3px auto;
}

.trophy-collection-item img {
  margin-bottom: 10px;
}

.trophy-type-counts img {
  width: 48px;
  height: 76px;
}

.trophy-empty-collection {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  border-radius: 12px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  color: rgba(37,37,37,0.48);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .trophy-ribbon {
    min-width: 82px;
    padding: 6px 14px;
    font-size: 0.68rem;
  }

  .trophy-type-legend img {
    width: 44px;
    height: 58px;
  }

  .trophy-award-card {
    grid-template-rows: auto 116px auto 3px auto;
  }

  .trophy-collection-item {
    grid-template-rows: auto 145px 3px auto;
  }

  .trophy-type-counts img {
    width: 40px;
    height: 64px;
  }
}

/* Awards hub */
.awards-page-card {
  padding: clamp(28px, 5vw, 52px);
}

.awards-page-intro {
  width: min(100%, 650px);
  margin: -4px auto 0;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.awards-category {
  margin-top: clamp(32px, 5vw, 48px);
}

.awards-category-heading {
  margin: 0 0 18px;
}

.awards-category-heading h2 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.awards-feature-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  min-height: 205px;
  padding: 20px clamp(18px, 4vw, 34px);
  border-radius: 16px;
  background:
    url("../images/branding/paper-grain.png"),
    rgba(255,255,255,0.7);
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

.awards-feature-art {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: contain;
}

.awards-medal-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 165px;
}

.awards-medal-pair img {
  display: block;
  width: 66px;
  height: 128px;
  object-fit: contain;
}

.awards-dawg-art {
  height: 172px;
}

.awards-skull-art {
  height: 150px;
}

.awards-feature-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.awards-feature-copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.awards-feature-copy p {
  margin: 14px 0 18px;
  font-size: clamp(0.62rem, 1.35vw, 0.76rem);
  font-weight: 950;
  letter-spacing: 0.025em;
  line-height: 1.42;
  text-transform: uppercase;
}

.awards-feature-link {
  display: inline-grid;
  min-width: 205px;
  min-height: 34px;
  place-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.awards-feature-link:hover,
.awards-feature-link:focus-visible {
  color: var(--ink);
  background: #f2c230;
}

@media (max-width: 620px) {
  .awards-page-card {
    padding: 24px 16px 28px;
  }

  .awards-page-intro {
    font-size: 0.66rem;
  }

  .awards-category {
    margin-top: 30px;
  }

  .awards-feature-card {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 8px;
    min-height: 162px;
    padding: 14px 8px;
  }

  .awards-feature-art,
  .awards-medal-pair {
    height: 92px;
  }

  .awards-medal-pair img {
    width: 27px;
    height: 66px;
  }

  .awards-dawg-art,
  .awards-skull-art {
    height: 82px;
  }

  .awards-feature-copy h3 {
    font-size: clamp(1.05rem, 6vw, 1.35rem);
  }

  .awards-feature-copy p {
    margin: 9px 0 12px;
    font-size: 0.5rem;
    line-height: 1.35;
  }

  .awards-feature-link {
    min-width: 125px;
    min-height: 29px;
    padding: 7px 12px;
    font-size: 0.58rem;
  }
}
