:root {
  color-scheme: dark;
  --color-bg: #111110;
  --color-surface: #191918;
  --color-surface-raised: #222220;
  --color-border: #383836;
  --color-text: #f7f7f5;
  --color-muted: #c4c3bf;
  --color-orange: #ff7a27;
  --color-orange-soft: #ffad76;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
  --content-width: 1160px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

::selection {
  background: var(--color-orange);
  color: var(--color-bg);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--color-text);
  color: var(--color-bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-wrap,
.header-inner,
.footer-inner {
  width: min(100% - var(--gutter) * 2, var(--content-width));
  margin-inline: auto;
}
.site-header {
  position: relative;
  z-index: 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 14px/1.1 var(--font-display);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand strong {
  display: block;
  color: var(--color-orange);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--color-text);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  display: flex;
  width: 100%;
  padding-bottom: 15px;
  flex-direction: column;
}

.site-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-orange);
}

.has-menu .menu-toggle {
  display: block;
}

.has-menu .site-nav {
  position: absolute;
  top: 100%;
  right: calc(var(--gutter) * -1);
  left: calc(var(--gutter) * -1);
  display: none;
  width: auto;
  padding: 10px var(--gutter) 18px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.has-menu .site-nav.is-open {
  display: flex;
}

@media (max-width: 820px) {
  .footer-inner {
    min-height: 0;
    padding-block: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .footer-contact {
    width: 100%;
    order: 3;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 14px;
  }

  .footer-instagram {
    max-width: 100%;
  }

  .footer-email {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    overflow-wrap: anywhere;
  }

  .has-menu .site-nav {
    right: calc(var(--gutter) * -1);
    left: calc(var(--gutter) * -1);
    margin: 0;
    padding: 8px var(--gutter) 14px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  }

  .has-menu .site-nav a {
    min-height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
  }

  .has-menu .site-nav a + a {
    border-top: 1px solid var(--color-border);
    border-radius: 0;
  }

  .has-menu .site-nav a[aria-current="page"] {
    background: rgba(255, 122, 39, 0.1);
  }
}

.hero,
.team-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 43%, rgba(255, 122, 39, 0.13), transparent 38%),
    linear-gradient(160deg, #151514, #0d0d0c 80%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(100px, 0.65fr);
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  gap: 18px;
}

.hero-copy,
.team-hero-grid > div {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-column: 1;
}

.eyebrow,
.section-kicker,
.card-label {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

.hero h1,
.team-hero h1,
.display-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero h1,
.team-hero h1 {
  margin-top: 0;
  font-size: clamp(38px, 10vw, 108px);
  text-transform: uppercase;
}

.hero h1 span,
.accent {
  color: var(--color-orange);
}

.hero-description,
.team-hero-grid > div > p:not(.eyebrow) {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.partnership-contact-button {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-orange {
  background: var(--color-orange);
  color: #14100d;
}

.button-orange:hover {
  background: var(--color-text);
}

.button-outline {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.button-outline:hover {
  border-color: var(--color-orange);
}

.text-link,
.inline-link,
.source-links a,
.player-details a {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 2px;
}

.text-link:hover,
.inline-link:hover,
.source-links a:hover,
.player-details a:hover,
.source-note a:hover {
  color: var(--color-orange-soft);
}

.hero-emblem {
  position: relative;
  display: grid;
  grid-column: 2;
  width: min(34vw, 220px);
  margin: 0 0 0 auto;
  aspect-ratio: 1;
  place-items: center;
}

.hero-emblem img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.intro,
.roster-section,
.news-section {
  padding-block: 84px;
}

.roster-section {
  padding-block: 24px;
}

.roster-section .section-heading-row {
  margin-bottom: 8px;
}

.roster-section .source-note {
  margin: 12px 0;
}

.player-position-heading {
  margin: 12px 0 8px;
}

.section-kicker > span,
.card-label {
  color: var(--color-orange);
}

.display-heading {
  font-size: clamp(43px, 8vw, 76px);
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  margin-top: 24px;
  gap: 25px;
}

.intro-grid .display-heading span,
.feature-grid .display-heading span {
  color: var(--color-muted);
}

.intro-copy,
.feature-grid > div:first-child {
  max-width: 430px;
}

.intro-copy p,
.feature-grid > div:first-child > p,
.lower-card p,
.notice-card p,
.section-heading-row > p,
.section-subtitle,
.season-content > p {
  color: var(--color-muted);
}

.intro-copy p {
  margin: 0 0 22px;
}

.quick-links {
  display: grid;
  grid-column: 1 / -1;
  margin: 10px 0 0;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-links a {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 116px;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 122, 39, 0.08), transparent 55%),
    var(--color-surface);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-links a:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  background:
    linear-gradient(135deg, rgba(255, 122, 39, 0.16), transparent 55%),
    var(--color-surface-raised);
}

.quick-links strong {
  min-width: 0;
  font: 600 clamp(24px, 5vw, 34px)/1 var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
}

.quick-links a > span:last-child {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-orange);
  grid-column: 2;
  grid-row: 1 / 3;
}

.quick-link-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.standings-category-text {
  display: none;
}

.quick-links a:hover > span:last-child {
  background: var(--color-text);
}

@media (max-width: 599px) {
  .quick-links {
    gap: 10px;
  }

  .quick-links a {
    min-height: 78px;
    padding: 12px 10px;
    gap: 6px;
    border-radius: 14px;
  }

  .quick-links strong {
    font-size: clamp(15px, 4.8vw, 20px);
  }

  .quick-links a > span:last-child {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .quick-link-icon img {
    width: 26px;
    height: 26px;
  }

  .instagram-button {
    min-height: 44px;
    padding: 6px 10px 6px 8px;
    gap: 8px;
    font-size: 12px;
  }

  .instagram-button img {
    width: 26px;
    height: 26px;
  }

  .instagram-button > span:last-child {
    font-size: 16px;
  }
}

.hero-match-strip {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 24px;
  overflow: hidden;
}

.standings-section {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.standings-heading {
  display: flex;
  min-height: 58px;
  padding: 12px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(135deg, rgba(255, 122, 39, 0.14), transparent 58%),
    var(--color-surface-raised);
}

.standings-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.standings-status {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  text-align: right;
}

.standings-league-logo {
  display: block;
  width: 36px;
  height: 36px;
  margin-left: auto;
  object-fit: contain;
}

.standings-table-wrap {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.standings-table th,
.standings-table td {
  height: 44px;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  text-align: center;
}

.standings-table th:first-child,
.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table thead th {
  height: 36px;
  padding-block: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--color-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.standings-table tbody th {
  color: var(--color-muted);
  font: 600 13px/1 var(--font-display);
}

.standings-table tbody tr:last-child th,
.standings-table tbody tr:last-child td {
  border-bottom: 0;
}

.standings-table tbody tr {
  transition: background 160ms ease;
}

.standings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.standings-team-name {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.standings-team-name-text {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.standings-team-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: var(--color-bg);
  object-fit: contain;
}

.standings-team {
  background:
    linear-gradient(90deg, rgba(255, 122, 39, 0.16), transparent 72%);
  color: var(--color-text);
}

.standings-team td:first-of-type,
.standings-team th {
  border-left: 3px solid var(--color-orange);
}

.standings-team td:last-child strong {
  display: inline-grid;
  min-width: 36px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-bg);
  font: 700 14px/1 var(--font-display);
}

@media (max-width: 599px) {
  .standings-heading {
    min-height: 52px;
    padding-inline: 12px;
  }

  .standings-heading h2 {
    font-size: 18px;
  }

  .standings-league-logo {
    display: none;
  }

  .standings-category-text {
    display: inline;
  }

  .standings-points-full {
    display: none;
  }

  .standings-points-short {
    display: inline;
  }

  .standings-table thead th:nth-child(1),
  .standings-table thead th:nth-child(2) {
    font-size: 0;
  }

  .standings-table th,
  .standings-table td {
    height: 48px;
    padding: 4px 1px;
    font-size: 13px;
  }

  .standings-table th {
    white-space: normal;
  }

  .standings-table td:nth-child(n + 3),
  .standings-table th:nth-child(n + 3):not(:nth-child(8)) {
    white-space: nowrap;
  }

  .standings-table th:nth-child(8) {
    line-height: 1.05;
  }

  .standings-team-logo {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    padding: 2px;
  }

  .standings-team-name {
    gap: 5px;
  }

  .standings-table-wrap {
    overflow-x: hidden;
  }

  .standings-table {
    display: block;
    width: 100%;
    table-layout: auto;
  }

  .standings-table colgroup {
    display: none;
  }

  .standings-table thead,
  .standings-table tbody {
    display: block;
    width: 100%;
  }

  .standings-table tr {
    display: grid;
    width: 100%;
    grid-template-columns: 24px minmax(0, 1fr) repeat(5, 18px) 24px;
    align-items: center;
  }

  .standings-table th,
  .standings-table td {
    display: block;
    width: 100%;
    min-width: 0;
    overflow-wrap: normal;
  }

  .standings-table th:nth-child(8) {
    max-width: 24px;
    padding-inline: 0;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.05;
  }

  .standings-team td:last-child strong {
    max-width: 24px;
    min-width: 18px;
  }

  .standings-table th,
  .standings-table td {
    min-width: 0;
    padding-inline: 2px;
  }

  .standings-table th:nth-child(n + 3),
  .standings-table td:nth-child(n + 3) {
    font-size: 12px;
    text-align: center;
  }

  .standings-table td:nth-child(2),
  .standings-table th:nth-child(2) {
    min-width: 0;
    text-align: left;
  }

  .standings-table tbody th:first-child {
    padding-inline: 0;
    text-align: center;
  }

  .standings-team th {
    display: grid;
    min-width: 24px;
    height: 48px;
    place-items: center;
  }

  .standings-team td:last-child {
    text-align: center;
  }

  .standings-team-name {
    width: 100%;
  }

  .standings-team-name-text {
    max-width: none;
    line-height: 1.15;
  }

  .standings-team td:last-child strong {
    margin: 0 auto;
    min-width: 18px;
    width: 18px;
    height: 26px;
    border-radius: 6px;
    font-size: 12px;
  }
}

.hero-match-status {
  min-height: 1.65em;
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: 12px;
  text-align: center;
}

.hero-match-grid {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}

.hero-match-grid.is-fit {
  justify-content: center;
}

.hero-match-grid::-webkit-scrollbar {
  display: none;
}

.hero-match-scroll-controls {
  display: flex;
  min-height: 44px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-match-scroll-controls[hidden] {
  display: none;
}

.hero-match-scroll-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  line-height: 1;
}

.hero-match-scroll-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.hero-match-scroll-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-match-scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-border);
  transition: width 160ms ease, background 160ms ease;
}

.hero-match-scroll-dot.is-active {
  width: 14px;
  border-radius: 4px;
  background: var(--color-orange);
}

.hero-match-card {
  position: relative;
  display: grid;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  height: 210px;
  padding: 10px 8px 8px;
  flex: 0 0 180px;
  align-items: center;
  justify-items: center;
  grid-template-rows: 10px 14px 30px 74px 42px 22px;
  gap: 0;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(25, 25, 24, 0.94);
  text-align: center;
}

.hero-match-featured {
  height: 210px;
  border-color: rgba(255, 122, 39, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 122, 39, 0.12), transparent 60%),
    var(--color-surface-raised);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero-match-label {
  grid-row: 1;
  color: var(--color-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-match-date {
  grid-row: 2;
  margin: 0;
  color: var(--color-text);
  font: 500 11px/1.2 var(--font-display);
  letter-spacing: 0.08em;
}

.hero-match-competition-logo {
  grid-row: 3;
  width: 30px;
  height: 30px;
  margin: 0;
  object-fit: contain;
}

.hero-match-teams {
  display: flex;
  width: 100%;
  height: 74px;
  grid-row: 4;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 10px);
}

.hero-match-team {
  display: flex;
  width: min(43%, 82px);
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.hero-match-team-name {
  width: 100%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: normal;
  color: var(--color-text);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.hero-match-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-muted);
  font: 600 12px/1 var(--font-display);
}

.hero-match-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.hero-match-vs {
  color: var(--color-muted);
  font-size: 12px;
}

.hero-match-score {
  font: 600 clamp(24px, 5vw, 38px)/1 var(--font-display);
  letter-spacing: 0.02em;
}

.hero-match-result {
  grid-row: 5;
  width: 100%;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.hero-match-featured .hero-match-score {
  color: var(--color-orange);
}

.hero-match-win .hero-match-score {
  color: #65d391;
}

.hero-match-draw .hero-match-score {
  color: #f1c75b;
}

.hero-match-loss .hero-match-score {
  color: #ff6b6b;
}

.hero-match-start {
  font-size: clamp(18px, 4vw, 30px);
}

.hero-match-minute {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

.hero-match-venue {
  grid-row: 6;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.hero-match-unavailable {
  margin: auto 0;
  color: var(--color-muted);
  font: 500 16px/1.2 var(--font-display);
}

.hero-match-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.instagram-section {
  padding-block: 84px;
}

.instagram-section {
  background: var(--color-surface);
}

.instagram-status {
  color: var(--color-muted);
  font-size: 14px;
}

.instagram-status a {
  color: var(--color-text);
  text-decoration-color: var(--color-orange);
  text-underline-offset: 4px;
}

.instagram-status:empty {
  display: none;
}

.instagram-grid {
  display: grid;
  margin-top: 32px;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.instagram-card {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  align-items: flex-end;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  text-decoration: none;
}

.instagram-card > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instagram-placeholder {
  display: grid;
  height: 100%;
  padding: 24px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at center, rgba(255, 122, 39, 0.12), transparent 48%),
    var(--color-bg);
  color: var(--color-muted);
  font-size: 12px;
  text-align: center;
}

.instagram-placeholder img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.instagram-card .instagram-type-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: auto;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(17, 17, 16, 0.82);
  color: var(--color-text);
  font-size: 11px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.instagram-more {
  display: flex;
  width: fit-content;
  min-height: 52px;
  margin: 24px auto 0;
  padding: 0 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.instagram-more span {
  color: var(--color-orange);
  font-size: 18px;
}

.instagram-more:hover {
  border-color: var(--color-orange);
  color: var(--color-orange-soft);
}

.legacy-match-link {
  padding-bottom: 60px;
}

.team-hero .status-pill {
  margin-top: 24px;
}

.feature-section,
.matches-section {
  padding-block: 80px;
  background: var(--color-surface);
}

.matches-section {
  padding-block: 24px;
}

.hanhitv-section {
  padding-block: 24px 80px;
  background: var(--color-surface);
}

.hanhitv-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 24px;
  overflow: hidden;
  border: 4px solid var(--color-orange);
  border-radius: var(--radius);
  background: #000;
}

.hanhitv-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hanhitv-player.is-live iframe {
  z-index: 2;
}

.hanhitv-offline {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(255, 122, 39, 0.14), transparent 42%),
    #111110;
  text-align: center;
}

.hanhitv-offline[hidden] {
  display: none;
}

.hanhitv-offline img {
  width: clamp(72px, 15vmin, 180px);
  height: auto;
  animation: hanhitv-logo-spin 18s linear infinite;
}

@media (max-width: 599px) {
  .hanhitv-offline img {
    width: clamp(64px, 18vmin, 104px);
  }
}

@keyframes hanhitv-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hanhitv-offline p {
  margin: 0;
  color: var(--color-text);
  font: 600 clamp(18px, 3vw, 28px)/1.2 var(--font-display);
  text-transform: uppercase;
}

.hanhitv-status {
  margin: 20px 0 12px;
  color: var(--color-muted);
}

.hanhitv-link {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.hanhitv-link img {
  display: block;
  width: 32px;
  height: 24px;
  object-fit: contain;
}

.hanhitv-link:hover,
.hanhitv-link:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange-soft);
}

.feature-grid {
  display: grid;
  gap: 38px;
}

.feature-grid .display-heading {
  margin-top: 24px;
}

.feature-grid > div:first-child > p {
  margin: 20px 0 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 122, 39, 0.16), transparent 60%), var(--color-bg);
}

.feature-card-title {
  display: block;
  margin-top: 38px;
  font: 600 clamp(48px, 7vw, 74px)/1 var(--font-display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.feature-card p {
  max-width: 340px;
  margin: 20px 0 24px;
  color: var(--color-muted);
  font-size: 14px;
}

.section-heading-row {
  display: flex;
  margin-top: 24px;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
}

.section-heading-row > p {
  max-width: 370px;
  margin: 0;
  font-size: 14px;
}

.instagram-button {
  display: inline-flex;
  min-height: 52px;
  padding: 8px 14px 8px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-orange);
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.instagram-button img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.instagram-button > span:last-child {
  margin-left: 2px;
  font-size: 18px;
}

.instagram-button:hover {
  transform: translateY(-2px);
  border-color: var(--color-text);
  background: var(--color-text);
}

.notice-card {
  display: flex;
  margin-top: 36px;
  padding: 26px;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.notice-symbol {
  color: var(--color-orange);
  font-size: 25px;
  line-height: 1;
}

.notice-card h3 {
  margin: 0 0 6px;
  font: 500 22px/1.3 var(--font-display);
}

.notice-card p {
  margin: 0;
  font-size: 14px;
}

.lower-grid {
  display: grid;
  padding-bottom: 84px;
  gap: 16px;
}

.lower-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.lower-card .display-heading {
  margin-top: 28px;
}

.lower-card p {
  max-width: 390px;
  min-height: 50px;
  margin: 16px 0 24px;
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-muted);
  font-size: 12px;
}

.team-hero .status-pill {
  min-height: 40px;
  padding: 9px 16px;
  align-items: center;
  font-size: 14px;
}

.partnership-reasons {
  padding-block: 64px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255, 122, 39, 0.14), transparent 45%),
    var(--color-bg);
}

.partnership-reasons-kicker {
  margin: 0 0 12px;
  color: var(--color-orange-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partnership-reasons .display-heading {
  max-width: 760px;
  font-size: clamp(36px, 7vw, 68px);
}

.partnership-reasons-intro {
  max-width: 650px;
  margin: 18px 0 28px;
  color: var(--color-muted);
}

.partnership-reasons-grid {
  display: grid;
  gap: 12px;
}

.partnership-reason {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.partnership-reason-number {
  color: var(--color-orange);
  font: 600 32px/1 var(--font-display);
}

.partnership-reason h3 {
  margin: 16px 0 8px;
  font: 500 24px/1.2 var(--font-display);
}

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

@media (min-width: 768px) {
  .partnership-reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.partnership-options {
  padding-block: 64px 84px;
  background: var(--color-surface);
}

.partnership-options .section-heading-row {
  margin: 0 0 30px;
}

.partnership-options .display-heading {
  max-width: 760px;
  font-size: clamp(36px, 7vw, 68px);
}

.sponsor-tier-grid {
  display: grid;
  gap: 14px;
}

.sponsor-tier {
  min-width: 0;
  height: 330px;
  perspective: 1000px;
}

.sponsor-tier-front,
.sponsor-tier-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  backface-visibility: hidden;
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
}

.sponsor-tier-front {
  z-index: 2;
  display: flex;
  padding: 24px;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  color: var(--color-text);
  background: var(--color-bg);
  cursor: pointer;
  transform: rotateY(0deg);
}

@media (hover: hover) {
  .sponsor-tier-front:hover,
  .sponsor-tier-front:focus-visible {
    border-color: var(--tier-accent, var(--color-orange));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 24px var(--tier-glow, rgba(255, 122, 39, 0.12));
    transform: translateY(-6px) rotateY(0deg);
  }
}

.sponsor-tier-back {
  z-index: 1;
  display: flex;
  padding: 24px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
  cursor: pointer;
  transform: rotateY(180deg);
}

.sponsor-tier.is-flipped .sponsor-tier-front {
  z-index: 1;
  transform: rotateY(-180deg);
}

.sponsor-tier.is-flipped .sponsor-tier-back {
  z-index: 3;
  border-color: var(--tier-accent, var(--color-orange));
  transform: rotateY(0deg);
}

.sponsor-tier-title {
  display: block;
  margin: 16px 0 10px;
  font: 500 24px/1.2 var(--font-display);
}

.sponsor-tier-description {
  display: block;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sponsor-tier-description > span {
  position: relative;
  display: block;
  margin-top: 5px;
  padding-left: 14px;
}

.sponsor-tier-description > span::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tier-accent, var(--color-orange));
  content: "";
}

.sponsor-tier-open {
  margin-top: auto;
  color: var(--tier-accent, var(--color-orange-soft));
  font-size: 12px;
  font-weight: 700;
}

.sponsor-tier-back-label {
  margin: 0 0 6px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sponsor-tier-back > strong {
  display: block;
  margin: 8px 0;
  font: 500 28px/1.05 var(--font-display);
}

.sponsor-tier-back > p:not(.sponsor-tier-back-label) {
  max-width: 280px;
  margin: 4px 0 16px;
  color: var(--color-muted);
  font-size: 14px;
}

.sponsor-tier-back strong {
  margin-bottom: 8px;
  font: 500 22px/1.2 var(--font-display);
}

.sponsor-tier-back a {
  display: inline-flex;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 12px;
  align-items: center;
  border: 0;
  border-radius: 100px;
  color: #111110;
  background: var(--color-orange);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.sponsor-tier-back a img,
.partnership-contact a img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}

.sponsor-tier-back a[href^="mailto:"] img,
.partnership-contact a[href^="mailto:"] img {
  filter: brightness(0);
}

.sponsor-tier-back .sponsor-tier-instagram {
  margin-top: 6px;
  border: 0;
  background: var(--color-orange);
  color: #111110;
  font-weight: 700;
  padding-inline: 12px;
}

.sponsor-tier--support {
  --tier-accent: #d3d2ce;
}

.sponsor-tier--player {
  --tier-accent: var(--color-text);
}

.sponsor-tier--social {
  --tier-accent: var(--color-orange-soft);
}

.sponsor-tier--kit {
  --tier-accent: var(--color-orange-soft);
}

.sponsor-tier--lead {
  --tier-accent: var(--color-orange);
}

.sponsor-tier--custom {
  --tier-accent: var(--color-orange-soft);
}

.sponsor-tier-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tier-accent, var(--color-orange));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sponsor-tier-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}


.sponsor-tier h3 {
  margin: 16px 0 10px;
  font: 500 24px/1.2 var(--font-display);
}

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

.sponsor-tier .sponsor-tier-price {
  margin-top: 20px;
  color: var(--color-text);
  font: 600 22px/1.2 var(--font-display);
}

.partnership-contact-section {
  padding-block: 64px 84px;
}

.partnership-contact-grid {
  display: grid;
  gap: 24px;
}

.partnership-contact-grid .display-heading {
  font-size: clamp(36px, 7vw, 68px);
}

.partnership-contact-grid > div > p {
  margin: 16px 0 0;
  color: var(--color-muted);
}

.partnership-contact {
  display: flex;
  min-width: 0;
  max-width: 520px;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-style: normal;
}

.partnership-contact > span {
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partnership-contact strong {
  font: 500 20px/1.3 var(--font-display);
}

.partnership-contact a {
  display: inline-flex;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  color: #111110;
  background: var(--color-orange);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.partnership-contact a:hover,
.partnership-contact a:focus-visible {
  background: var(--color-text);
}

@media (min-width: 600px) {
  .partnership-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.site-footer {
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  min-height: 76px;
  padding-block: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 4px 14px;
  font-style: normal;
}

.footer-instagram {
  display: inline-flex;
  min-height: 40px;
  padding: 4px 0;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-instagram img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.footer-instagram:hover {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email:hover {
  color: var(--color-orange);
}

.footer-email {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-inner .brand img {
  width: 44px;
  height: 44px;
}

.footer-inner > p {
  display: none;
  color: var(--color-muted);
  font-size: 13px;
}

.back-to-top {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.back-to-top span {
  margin-left: 8px;
  color: var(--color-orange);
}

.team-hero-grid {
  display: grid;
  min-height: 0;
  padding-block: 32px;
  gap: 24px;
}

@media (min-width: 600px) {
  .sponsor-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .sponsor-tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-emblem {
  width: min(180px, 48vw);
  height: auto;
  border-radius: 50%;
}

@media (max-width: 599px) {
  .team-hero .eyebrow {
    margin-bottom: 6px;
  }

  .team-hero .status-pill {
    margin-top: 10px;
  }

  .team-hero-grid {
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: center;
    padding-block: 12px;
    gap: 8px;
  }

  .team-hero-grid > div {
    min-width: 0;
  }

  .team-hero h1 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1;
  }

  .team-emblem {
    width: 64px;
  }

  .roster-section {
    padding-block: 12px;
  }

  .roster-section .section-heading-row {
    margin-bottom: 4px;
  }

  .roster-section .display-heading {
    font-size: clamp(30px, 9vw, 38px);
  }

  .roster-section .source-note {
    margin: 4px 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .player-position-heading {
    margin: 4px 0;
  }
}

.section-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
}

.source-note {
  max-width: 760px;
  margin: 30px 0;
  color: var(--color-muted);
  font-size: 13px;
}

.source-note a {
  color: var(--color-text);
  text-decoration-color: var(--color-orange);
  text-underline-offset: 3px;
}

.sync-status:not(:empty) {
  margin: -12px 0 24px;
  color: var(--color-orange-soft);
  font-size: 13px;
}

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

.player-grid {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.player-position-group {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.player-position-group:first-child {
  margin-top: 0;
}

.player-position-heading {
  margin: 0 0 12px;
  color: var(--color-muted);
  font: 500 20px/1.2 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 599px) {
  .player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card {
    height: 224px;
  }

  .player-photo-wrap {
    height: 164px;
  }

  .player-content {
    min-height: 0;
    padding: 8px 8px 10px;
  }

  .player-name {
    padding-top: 12px;
    font-size: 14px;
  }

  .player-position {
    font-size: 10px;
  }

  .player-number {
    top: 8px;
    left: 8px;
    font-size: 18px;
  }

  .player-details {
    padding: 12px 10px 10px;
  }

  .player-stats {
    gap: 8px;
  }

  .player-stats li {
    padding-top: 6px;
  }

  .player-stats strong {
    font-size: 11px;
  }

  .player-stats span,
  .player-details a {
    font-size: 10px;
  }

  .hero-match-card {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 210px;
    min-height: 210px;
    flex-basis: 150px;
    padding: 10px 4px 8px;
    grid-template-rows: 10px 14px 30px 74px 42px 22px;
  }

  .hero-match-featured {
    height: 210px;
    min-height: 210px;
  }

  .hero-match-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-match-team-name {
    max-width: 68px;
    font-size: 9px;
    min-height: 18px;
  }

  .hero-match-teams {
    margin: 4px 0 3px;
  }

  .hero-match-label,
  .hero-match-date {
    line-height: 1.05;
  }

  .hero-match-score {
    font-size: 24px;
  }

  .hero-match-minute {
    margin: 0;
  }

  .hero-match-venue {
    font-size: 8px;
  }

  .match-row {
    grid-template-columns: 42px minmax(0, 1fr) 52px;
  }

  .match-teams {
    gap: 4px;
  }

  .match-team {
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 3px;
  }

  .match-team-home,
  .match-team-away {
    justify-content: flex-start;
  }

  .match-team-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .match-team-name {
    width: 100%;
    min-height: 26px;
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
  }

  .player-card.is-flipped {
      grid-column: auto;
  }

  .player-card {
    height: 300px;
  }
}

.player-card,
.season-panel {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
}

.player-card {
  position: relative;
  height: 224px;
  overflow: visible;
  perspective: 1000px;
  border: 0;
  background: transparent;
}

@media (min-width: 600px) {
  .player-card {
    height: 340px;
  }
}

.player-card-front,
.season-panel summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  z-index: 5;
}

.player-card summary::-webkit-details-marker,
.season-panel summary::-webkit-details-marker {
  display: none;
}

.player-card-front,
.player-card .player-details {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
  transform-style: preserve-3d;
}

.player-card-front {
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transform: rotateY(0deg);
}

.player-card .player-details {
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transform: rotateY(180deg);
  cursor: pointer;
}

.player-card.is-flipped .player-card-front {
  transform: rotateY(-180deg);
}

.player-card.is-flipped .player-details {
  z-index: 3;
  transform: rotateY(0deg);
}

.player-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 228px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--color-surface-raised);
}

.player-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}

.player-photo-default {
  transition: opacity 180ms ease;
}

.player-photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.player-photo-default,
.player-photo-hover {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (hover: hover) {
  .player-card-front:hover .player-photo-hover,
  .player-card-front:focus-visible .player-photo-hover {
    opacity: 1;
  }
}

.player-content {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 12px 16px 14px;
  flex-direction: column;
}

.season-panel summary::after {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 6;
  color: var(--color-orange);
  content: "+";
  font: 400 24px/1 var(--font-body);
}

.season-panel[open] summary::after {
  content: "−";
}

.player-number {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  display: block;
  color: var(--color-orange);
  font: 600 22px/1 var(--font-display);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.player-name {
  margin-top: auto;
  padding-top: 24px;
  font: 500 clamp(17px, 4vw, 22px)/1.2 var(--font-display);
  overflow-wrap: anywhere;
}

.player-position {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 12px;
}

.player-details {
  display: flex;
  padding: 18px 20px 16px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 122, 39, 0.16), transparent 58%),
    var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-size: 13px;
  flex-direction: column;
  opacity: 1;
}

.player-card-front {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}

.player-back-number {
  position: absolute;
  top: 12px;
  left: 12px;
}

.player-details a {
  align-self: center;
  margin-top: auto;
  text-align: center;
}

.player-stats {
  display: grid;
  width: 100%;
  margin: auto 0;
  padding: 0;
  gap: 12px;
  list-style: none;
  align-content: center;
  text-align: center;
}

.player-stats li {
  display: grid;
  padding-top: 10px;
  gap: 3px;
  border-top: 1px solid var(--color-border);
}

.player-stats strong {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.player-stats span {
  font-size: 12px;
  overflow-wrap: anywhere;
}

@media (max-width: 599px) {
  .player-card {
    height: 224px;
  }

  .player-photo-wrap {
    height: 164px;
  }

  .player-content {
    min-height: 0;
    padding: 8px 8px 10px;
  }

  .player-name {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
  }

  .player-position {
    margin-top: 3px;
    font-size: 10px;
  }

  .player-details {
    padding: 10px 8px 8px;
  }

  .player-details a {
    width: 100%;
    margin-top: auto;
    font-size: 9px;
    line-height: 1.25;
  }

  .player-back-number {
    top: 8px;
    left: 8px;
  }

  .player-stats {
    gap: 6px;
  }

  .player-stats li {
    gap: 2px;
    padding-top: 5px;
  }

  .player-stats strong,
  .player-stats span {
    font-size: 9px;
    line-height: 1.15;
  }
}

.staff-section {
  margin-top: 60px;
}

.staff-section h3 {
  margin: 0;
  font: 500 clamp(26px, 4vw, 36px)/1.2 var(--font-display);
}

.staff-section .source-note {
  margin: 12px 0 24px;
}

.staff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-card {
  min-width: 0;
  height: 224px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
}

.staff-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 164px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--color-surface-raised);
}

.staff-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}

.staff-photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.staff-photo-default {
  transition: opacity 220ms ease;
}

.staff-photo-default,
.staff-photo-hover {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (hover: hover) {
  .staff-card:hover .staff-photo-hover,
  .staff-card:focus-within .staff-photo-hover {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .staff-card.touch-preview .staff-photo-hover {
    opacity: 1;
  }

  .staff-card.touch-preview .staff-photo-default {
    opacity: 0;
  }
}

.staff-card-content {
  display: grid;
  min-height: 0;
  padding: 8px 8px 10px;
  align-content: end;
  gap: 4px;
}

.staff-card-content span {
  color: var(--color-muted);
  font-size: 10px;
}

.staff-card-content strong {
  color: var(--color-text);
  font: 500 14px/1.2 var(--font-display);
  text-decoration-color: var(--color-orange);
  text-underline-offset: 4px;
}

@media (min-width: 600px) {
  .staff-card {
    height: 340px;
  }

  .staff-photo-wrap {
    height: 228px;
  }

  .staff-card-content {
    min-height: 112px;
    padding: 12px 16px 14px;
  }

  .staff-card-content span {
    font-size: 13px;
  }

  .staff-card-content strong {
    font-size: 20px;
  }
}

@media (min-width: 821px) {
  .staff-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.matches-section .source-note {
  margin-bottom: 24px;
}

.season-panel {
  margin-top: 12px;
  background: var(--color-bg);
}

.season-panel summary {
  min-height: 84px;
  padding: 18px 24px;
}

.season-panel summary::after {
  top: 30px;
  right: 24px;
}

.season-panel summary span {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.season-panel summary small {
  min-width: 94px;
  color: var(--color-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.season-panel summary strong {
  font: 500 32px/1.4 var(--font-display);
}

.season-content {
  padding: 0 24px 24px;
}

.season-content > p {
  margin: 0 0 18px;
  font-size: 14px;
}

.match-row {
  display: grid;
  padding: 14px 0;
  align-items: center;
  border-top: 1px solid var(--color-border);
  gap: 4px 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  font-size: 13px;
}

.match-row time,
.match-row > small {
  color: var(--color-muted);
}

.match-time {
  display: block;
  font-size: 11px;
}

.match-row > span {
  overflow-wrap: anywhere;
}

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

.match-team-grid {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
}

.match-team-grid-static {
  display: block;
  width: 100%;
  text-align: center;
}

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

.match-team-home {
  justify-content: flex-end;
}

.match-team-away {
  justify-content: flex-start;
}

.match-team-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-muted);
  font: 600 9px/1 var(--font-display);
  overflow: hidden;
}

.match-team-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.match-team-name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
  white-space: normal;
}

.match-venue {
  display: block;
  width: 100%;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.match-vs {
  color: var(--color-muted);
  text-align: center;
}

.match-competition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.match-competition-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.match-row > strong {
  color: var(--color-text);
  font: 500 19px/1.2 var(--font-display);
  white-space: nowrap;
}

.match-row.match-win > strong {
  color: #65d391;
}

.match-row.match-draw > strong {
  color: #f1c75b;
}

.match-row.match-loss > strong {
  color: #ff6b6b;
}

.match-row > strong small {
  display: block;
  color: var(--color-muted);
  font: 400 10px/1.3 var(--font-body);
}

.match-row > small {
  grid-column: 2 / 4;
  font-size: 11px;
}

.vs {
  color: var(--color-muted);
}

.source-links {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 14px 26px;
}

@media (min-width: 600px) {
  .quick-links a {
    padding-inline: 14px;
    gap: 10px;
  }

  .quick-links strong {
    font-size: clamp(18px, 3vw, 34px);
  }

  .quick-links a > span:last-child {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .quick-link-icon img {
    width: 30px;
    height: 30px;
  }

  .quick-links a {
    min-height: 116px;
  }

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

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

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

  .match-row {
    grid-template-columns: 64px minmax(0, 1fr) 100px 100px;
  }

  .match-row > small {
    grid-column: auto;
    text-align: center;
  }
}

@media (hover: none), (pointer: coarse) {
  .player-card.is-flipped .player-photo-hover,
  .player-card.touch-preview .player-photo-hover {
    opacity: 1;
  }

  .player-card.touch-preview .player-photo-default {
    opacity: 0;
  }
}

@media (min-width: 700px) {
  .hero-match-grid {
    justify-content: center;
  }
}

@media (min-width: 821px) {
  .player-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-match-grid {
    max-width: 760px;
    margin-inline: auto;
  }


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

  .header-inner {
    min-height: 72px;
    flex-wrap: nowrap;
  }

  .has-menu .menu-toggle {
    display: none;
  }

  .site-nav,
  .has-menu .site-nav,
  .has-menu .site-nav.is-open {
    position: static;
    display: flex;
    width: auto;
    padding: 5px;
    align-items: center;
    flex-direction: row;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
  }

  .site-nav a {
    position: relative;
    min-height: 40px;
    padding-inline: 16px;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .site-nav a[aria-current="page"] {
    background: var(--color-orange);
    color: #14110e;
  }

  .site-nav a:focus-visible {
    outline-offset: 2px;
  }

  .site-nav .nav-cta {
    padding-inline: 17px;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    color: var(--color-text);
  }

  .hero-inner {
    min-height: 0;
    padding-top: 46px;
    padding-bottom: 46px;
    align-items: center;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .hero-emblem {
    width: 220px;
  }

  .hero-bottom {
    grid-column: 1 / -1;
  }

  .intro,
  .roster-section,
  .news-section {
    padding-block: 110px;
  }

  .roster-section {
    padding-block: 40px;
  }

  .intro-grid {
    align-items: end;
    gap: 60px;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .feature-section,
  .matches-section {
    padding-block: 105px;
  }

  .matches-section {
    padding-block: 40px;
  }

  .feature-grid {
    align-items: center;
    gap: 80px;
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    padding: 42px;
  }

  .section-heading-row {
    align-items: end;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .lower-grid {
    padding-bottom: 110px;
  }

  .lower-card {
    padding: 38px;
  }

  .footer-inner > p {
    display: block;
  }

  .team-hero-grid {
    min-height: 220px;
    padding-block: 32px;
    align-items: center;
    grid-template-columns: 1fr auto;
  }

  .team-emblem {
    width: min(25vw, 250px);
    margin-right: 35px;
  }
}

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

  .button,
  .hero-match-grid,
  .quick-links a,
  .instagram-button,
  .player-card-front,
  .player-card .player-details,
  .sponsor-tier-front,
  .sponsor-tier-back,
  .player-photo-default,
  .player-photo-hover,
  .staff-photo-default,
  .staff-photo-hover,
  .hanhitv-offline img {
    transition: none;
    animation: none;
  }

  .hero-match-grid {
    scroll-behavior: auto;
  }
}
