:root {
  --green: #3b8e48;
  --yellow: #f7ff00;
  --grey: #666666;
  --black: #050805;
  --ink: #f4f7ee;
  --muted: #afbaad;
  --panel: #101711;
  --panel2: #172118;
  --line: rgba(247, 255, 0, 0.22);
  --focus: 0 0 0 3px var(--black), 0 0 0 6px var(--yellow);
  --event-cover-ratio: 851 / 310;
  --page-width: 1560px;
  --page-edge: 18px;
  --section-padding: clamp(18px, 3vw, 30px);
  --section-gap: 56px;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.2), var(--black) 740px),
    radial-gradient(circle at 18% 0%, rgba(247, 255, 0, 0.14), transparent 360px),
    radial-gradient(circle at 78% 12%, rgba(59, 142, 72, 0.28), transparent 440px),
    var(--black);
}

body.overlay-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { border: 0; }

img[data-channel-logo] {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 8px max(var(--page-edge), calc((100vw - var(--page-width)) / 2 + var(--page-edge)));
  background: linear-gradient(90deg, rgba(42, 58, 23, 0.94), rgba(5, 12, 11, 0.94));
  border-bottom: 2px solid rgba(247, 255, 0, 0.55);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 68px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  text-transform: uppercase;
  font-size: 18px;
}

.brand small {
  max-width: 44vw;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.social-nav {
  margin-top: 14px;
  margin-right: max(var(--page-edge), calc((100vw - var(--page-width)) / 2 + var(--page-edge)));
}

.header-actions {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 255, 0, 0.34);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--yellow);
  border-radius: 999px;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 255, 0, 0.32);
  border-radius: 999px;
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: #111400;
  background: var(--yellow);
  border-color: var(--yellow);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-social {
  margin-top: 14px;
}

.header-social {
  justify-self: end;
}

.mobile-header-social {
  display: none;
}

.score-hero {
  width: min(var(--page-width), calc(100% - (var(--page-edge) * 2)));
  margin: var(--section-gap) auto 0;
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 1fr;
  grid-template-rows: minmax(350px, 52vh) auto;
  gap: 16px;
  padding: var(--section-padding);
  background: rgba(9, 16, 12, 0.42);
  border: 1px solid rgba(247, 255, 0, 0.12);
  border-radius: 8px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(19, 31, 18, 0.96), rgba(5, 10, 8, 0.94)),
    var(--panel);
  border: 1px solid rgba(247, 255, 0, 0.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero-feature {
  display: grid;
  align-content: end;
  border-color: rgba(247, 255, 0, 0.55);
}

.hero-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.hero-feature h1,
.rivalry-card h2,
.match-card h2,
.section-heading h2,
.join-band h2,
.history-copy h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  line-height: 0.98;
}

.hero-feature h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 72px);
}

.hero-feature h1 span,
.rivalry-card h2,
.match-card h2,
.section-heading h2 span {
  color: var(--green);
}

.hero-feature p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-meta {
  margin: 0;
  color: #e6edde;
  font-weight: 800;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: var(--yellow);
  border-style: solid;
}

.frame-corners::before {
  top: 14px;
  left: 14px;
  border-width: 4px 0 0 4px;
}

.frame-corners::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 4px 4px 0;
}

.rivalry-card {
  display: grid;
  align-content: center;
}

.rivalry-card h2 {
  color: var(--yellow);
  font-size: clamp(28px, 4vw, 48px);
}

.rivalry-card p {
  color: #dce4d8;
  line-height: 1.55;
}

.play-chip {
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.match-card {
  display: grid;
  align-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.12), rgba(5, 8, 5, 0.92)),
    url("../img/logo/layout_inspiração2.png") center / cover;
}

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.versus img {
  width: min(160px, 32vw);
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

.versus strong {
  color: var(--green);
  font-size: clamp(44px, 7vw, 84px);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
}

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

.countdown-grid span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.countdown-grid strong {
  color: var(--yellow);
  font-size: 27px;
}

.countdown-grid small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.hero-countdown {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin-top: 20px;
}

.hero-countdown span {
  min-height: 76px;
  background: rgba(5, 8, 5, 0.68);
  border-color: rgba(247, 255, 0, 0.36);
  backdrop-filter: blur(8px);
}

.hero-countdown.status-mode {
  grid-template-columns: 1fr;
}

.hero-countdown.status-mode span {
  min-height: 96px;
  justify-items: start;
  padding-inline: 18px;
}

.hero-countdown.status-mode strong {
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
}

.hero-countdown.status-mode small {
  font-size: 13px;
  text-transform: none;
}

.hero-play {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111400;
}

.mini-match-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.mini-match {
  min-height: 88px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(14, 22, 17, 0.96);
  border: 1px solid rgba(247, 255, 0, 0.2);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.mini-match img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}

.mini-match strong {
  display: block;
  font-size: 13px;
}

.mini-match small {
  color: var(--muted);
}

.tv-grid,
.section-block,
.join-band,
.history-band,
.signup-section,
.gallery-band,
.club-footer-panel,
.site-footer {
  width: min(var(--page-width), calc(100% - (var(--page-edge) * 2)));
  margin-inline: auto;
}

.tv-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.partners-panel,
.results-panel,
.stars-panel,
.section-block,
.join-band,
.history-band,
.signup-section,
.gallery-band,
.club-footer-panel {
  background: rgba(9, 16, 12, 0.78);
  border: 1px solid rgba(247, 255, 0, 0.14);
  border-radius: 8px;
  padding: var(--section-padding);
}

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

.partner-grid span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.partner-logo {
  gap: 6px;
}

.partner-logo img {
  max-width: 100%;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.partner-logo small {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item strong {
  color: var(--ink);
}

.result-item small {
  color: var(--muted);
}

.star-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.star-grid img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.section-block,
.join-band,
.history-band,
.highlights-section,
.gallery-band,
.signup-section {
  margin-top: var(--section-gap);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-heading h2,
.join-band h2,
.history-copy h2 {
  font-size: clamp(32px, 5vw, 64px);
}

.section-heading p,
.join-band p,
.history-copy p {
  color: var(--muted);
  line-height: 1.62;
}

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

.event-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  background: rgba(16, 23, 17, 0.96);
  border: 1px solid rgba(247, 255, 0, 0.16);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.event-card img,
.featured-video img {
  width: 100%;
  aspect-ratio: var(--event-cover-ratio);
  object-fit: cover;
  border-radius: 6px;
  background: #121612;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #121612;
}

.event-card strong,
.video-card strong,
.featured-video strong,
.modality-card strong {
  display: block;
  margin-bottom: 6px;
}

.event-card small,
.video-card small,
.modality-card small {
  color: var(--muted);
}

.event-badge {
  min-width: 88px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--yellow);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.featured-video-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.featured-video,
.video-card,
.modality-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--panel);
  border: 1px solid rgba(247, 255, 0, 0.16);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.featured-video {
  min-height: 390px;
}

.featured-video img {
  height: 100%;
  min-height: 390px;
  filter: brightness(0.72);
}

.featured-video strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  font-size: clamp(24px, 4vw, 42px);
  text-transform: uppercase;
}

.play-mark {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  min-height: 42px;
  background: rgba(247, 255, 0, 0.92);
  border-radius: 8px;
  color: #111400;
  font-weight: 900;
}

.video-grid,
.modalities-grid,
.legacy-news-grid,
.legacy-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.video-card span {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.legacy-news-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.legacy-card,
.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  align-content: end;
  background: var(--panel);
  border: 1px solid rgba(247, 255, 0, 0.16);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.legacy-card img,
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.legacy-card:hover img,
.gallery-tile:hover img {
  transform: scale(1.04);
  filter: brightness(0.76);
}

.legacy-card span,
.gallery-tile span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(5, 8, 5, 0.96), rgba(5, 8, 5, 0.12));
}

.legacy-card strong {
  text-transform: uppercase;
}

.legacy-card small,
.gallery-tile span {
  color: var(--muted);
}

.legacy-card small:last-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.45;
}

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

.gallery-band {
  padding: var(--section-padding);
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.9), rgba(5, 8, 5, 0.76)),
    radial-gradient(circle at 80% 30%, rgba(59, 142, 72, 0.3), transparent 360px);
}

.legacy-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-tile {
  min-height: 220px;
}

.gallery-tile span {
  min-height: 68px;
  align-items: end;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.join-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.94), rgba(5, 8, 5, 0.58)),
    url("../img/logo/layout_inspiração.png") center / cover;
}

.modality-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  padding: 18px;
  text-decoration: none;
  background:
    linear-gradient(0deg, rgba(5, 8, 5, 0.96), rgba(5, 8, 5, 0.28)),
    linear-gradient(135deg, rgba(59, 142, 72, 0.4), rgba(247, 255, 0, 0.08));
}

.modality-archive-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.modality-archive-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 260px;
  background: rgba(7, 12, 9, 0.94);
  border: 1px solid rgba(247, 255, 0, 0.16);
  border-radius: 8px;
}

.modality-archive-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
}

.modality-archive-card > div {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.modality-archive-card h3 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.modality-archive-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.modality-links {
  display: grid;
  gap: 8px;
}

.modality-links a {
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  text-decoration: none;
}

.modality-links small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.history-band {
  display: block;
  scroll-margin-top: 92px;
}

.history-copy p {
  max-height: 310px;
  overflow: auto;
  white-space: pre-line;
}

.highlights-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.highlights-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}

.highlight-swiper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.highlight-track {
  display: flex;
  gap: 14px;
  min-height: 260px;
}

.highlight-card {
  flex: 0 0 min(100%, calc((100% - 42px) / 4));
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(247, 255, 0, 0.18);
  border-radius: 8px;
  scroll-snap-align: start;
}

.highlight-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.35);
}

.highlight-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.highlight-card h3 {
  display: -webkit-box;
  min-height: 3.9em;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.highlight-card .outline-btn {
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 8px 12px;
  text-decoration: none;
}

.highlight-nav {
  width: 44px;
  min-height: 100%;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 255, 0, 0.2);
  border-radius: 8px;
  font-size: 32px;
  font-weight: 900;
  cursor: pointer;
}

.highlights-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
}

.highlight-track > .empty-state {
  width: 100%;
}

.event-highlight-mirror {
  display: grid;
  gap: 10px;
}

.event-highlight-mirror[hidden] {
  display: none;
}

.event-highlight-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.event-highlight-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.event-highlight-swiper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.event-highlight-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 260px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(247, 255, 0, 0.18);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
}

.event-highlight-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-highlight-card span {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.event-highlight-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.32;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.event-highlight-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

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

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--ink);
}

.signup-form textarea {
  min-height: 120px;
  resize: vertical;
}

.signup-form label:nth-child(4),
.signup-form button {
  grid-column: 1 / -1;
}

.solid-btn,
.outline-btn,
.close-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.solid-btn {
  background: var(--yellow);
  color: #111400;
}

.outline-btn,
.close-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
}

.club-footer-panel {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: var(--section-gap);
}

.club-footer-panel img {
  width: auto;
  max-width: 110px;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border-radius: 50%;
}

.club-footer-panel p {
  margin-bottom: 0;
  color: var(--muted);
  white-space: pre-line;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 34px 0 52px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.site-footer span,
.site-footer small {
  display: block;
}

.support-slider {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(247, 255, 0, 0.14);
  border-radius: 8px;
}

.support-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: support-scroll 24s linear infinite;
}

.support-track:hover,
.support-track:focus-within {
  animation-play-state: paused;
}

.support-logo {
  width: clamp(120px, 16vw, 190px);
  height: 82px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
}

.support-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes support-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

.footer-credit {
  max-width: 440px;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  opacity: 0.78;
}

.loading-cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--black);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.loading-cover::before {
  content: "";
  width: 168px;
  aspect-ratio: 1;
  grid-area: 1 / 1;
  border: 2px solid rgba(247, 255, 0, 0.18);
  border-top-color: var(--yellow);
  border-right-color: rgba(59, 142, 72, 0.8);
  border-radius: 50%;
  animation: loading-ring 1.6s linear infinite;
}

.loading-cover img {
  grid-area: 1 / 1;
  width: 128px;
  height: auto;
  padding: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(247, 255, 0, 0.06), 0 18px 44px rgba(0, 0, 0, 0.45);
  animation: loading-logo 1.9s ease-in-out infinite;
}

.loading-cover span {
  grid-area: 2 / 1;
  margin-top: 4px;
}

.loading-cover.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes loading-ring {
  to { transform: rotate(360deg); }
}

@keyframes loading-logo {
  0%, 100% {
    transform: scale(1);
    filter: saturate(1);
  }
  50% {
    transform: scale(1.055);
    filter: saturate(1.18);
  }
}

.cookie-consent {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 95;
  width: min(520px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(9, 16, 12, 0.96);
  border: 1px solid rgba(247, 255, 0, 0.38);
  border-radius: 8px;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.52);
  color: var(--ink);
}

.app-install-prompt {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 94;
  width: min(460px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(9, 16, 12, 0.96);
  border: 1px solid rgba(59, 142, 72, 0.7);
  border-radius: 8px;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.52);
  color: var(--ink);
}

.cookie-consent strong {
  color: var(--yellow);
  font-size: 15px;
  text-transform: uppercase;
}

.app-install-prompt strong {
  color: var(--yellow);
  font-size: 15px;
  text-transform: uppercase;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.app-install-prompt p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions button {
  min-height: 42px;
  padding-inline: 14px;
}

.install-actions button {
  min-height: 42px;
  padding-inline: 14px;
}

.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(0, 0, 0, 0.95);
}

.player-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: 18px;
  height: 100%;
}

.player-stage {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

.player-stage video {
  width: 100%;
  height: 100%;
}

.player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #090909;
  color: var(--muted);
}

.player-empty iframe {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000;
}

.player-info {
  overflow-y: auto;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.player-info .close-button {
  width: fit-content;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 12px 18px;
  line-height: 1;
}

.related-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.player-actions .active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111400;
}

.related-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  text-align: left;
  border-radius: 8px;
}

.related-item img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.empty-state {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.empty-state.small {
  min-height: 70px;
  padding: 14px;
  font-size: 13px;
}

.api-hero {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.api-hero .hero-feature {
  grid-column: 1 / -1;
  width: 100%;
  min-height: clamp(430px, 42vw, 620px);
  aspect-ratio: var(--event-cover-ratio);
  padding: clamp(34px, 4vw, 58px) clamp(22px, 3.4vw, 42px) clamp(22px, 3.4vw, 42px);
  background: #111611;
}

.api-hero #heroEventTitle {
  max-width: min(980px, 72%);
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.02;
}

.api-hero .hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.94) 0%, rgba(5, 8, 5, 0.62) 42%, rgba(5, 8, 5, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 8, 5, 0.88) 0%, rgba(5, 8, 5, 0.08) 62%);
  pointer-events: none;
}

.api-hero .hero-feature .kicker,
.api-hero .hero-feature h1,
.api-hero .hero-feature p,
.api-hero .hero-feature .hero-countdown,
.api-hero .hero-feature .event-agenda,
.api-hero .hero-feature .hero-play {
  position: relative;
  z-index: 1;
}

.next-event-panel {
  min-height: auto;
  align-content: center;
}

.single-club {
  grid-template-columns: 1fr;
  justify-items: center;
}

.event-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.modality-stats {
  margin: 0 0 18px;
}

.event-stats span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-stats strong {
  color: var(--yellow);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.event-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.modalities-api-section {
  padding: var(--section-padding);
}

.api-modality-layout {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0;
}

.modality-tabs {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.modality-tab {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 255, 0, 0.14);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.modality-tab.active,
.modality-tab:hover {
  background: linear-gradient(90deg, rgba(59, 142, 72, 0.72), rgba(247, 255, 0, 0.12));
  border-color: rgba(247, 255, 0, 0.72);
}

.modality-tab strong {
  color: var(--yellow);
  font-size: 15px;
  text-transform: uppercase;
}

.modality-tab small {
  color: var(--muted);
}

.api-modality-content,
.modality-detail {
  min-width: 0;
}

.modality-detail-head {
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(59, 142, 72, 0.28), rgba(5, 8, 5, 0.9)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 255, 0, 0.18);
  border-radius: 8px;
}

.modality-detail-head h3 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 0.98;
  text-transform: uppercase;
}

.modality-detail-head p {
  max-width: 980px;
  margin: 0;
  color: #d8e0d6;
  line-height: 1.6;
}

.modality-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.modality-description.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.read-more-button {
  width: fit-content;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 13px;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 255, 0, 0.28);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.read-more-button[hidden] {
  display: none;
}

.api-event-list {
  gap: 16px;
}

.api-event-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  background: rgba(7, 12, 9, 0.94);
  border: 1px solid rgba(247, 255, 0, 0.16);
  border-radius: 8px;
}

.api-event-media {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
}

.api-event-media > img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--event-cover-ratio);
  object-fit: cover;
  background: #121612;
  border-radius: 8px;
  filter: brightness(0.78);
}

.api-event-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 3vw, 26px);
}

.api-event-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
}

.api-event-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.event-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-meta-line span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.event-agenda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.hero-agenda {
  width: min(760px, 100%);
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agenda-item {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  background: rgba(5, 8, 5, 0.62);
  border: 1px solid rgba(247, 255, 0, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.agenda-status {
  width: fit-content;
  padding: 2px 7px;
  color: #111400;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.agenda-past {
  opacity: 0.48;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.agenda-past .agenda-status {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.agenda-today {
  background: rgba(247, 255, 0, 0.16);
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(247, 255, 0, 0.28), 0 12px 30px rgba(247, 255, 0, 0.12);
}

.agenda-future {
  background: rgba(59, 142, 72, 0.18);
  border-color: rgba(247, 255, 0, 0.36);
}

.agenda-live-link {
  cursor: pointer;
}

.agenda-live-link:hover {
  border-color: var(--yellow);
  background: rgba(247, 255, 0, 0.12);
}

.agenda-item strong {
  color: var(--yellow);
  font-size: 14px;
}

.agenda-item small {
  color: #e6edde;
  font-weight: 900;
}

.agenda-item em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
}

.event-gallery-swiper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.attachment-card {
  overflow: hidden;
  min-height: 96px;
  display: grid;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 255, 0, 0.14);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.gallery-thumb {
  width: auto;
  flex: 0 0 100%;
  min-height: auto;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
}

.attachment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-gallery-swiper .attachment-card img {
  display: block;
  aspect-ratio: 16 / 9;
}

.event-gallery,
.event-documents {
  display: grid;
  gap: 10px;
}

.event-gallery h5,
.event-documents h5 {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.attachment-card span {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.attachment-card.document {
  min-height: 72px;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(59, 142, 72, 0.26), rgba(255, 255, 255, 0.06));
}

.attachment-card.document span {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.document-icon {
  width: 28px;
  height: 34px;
  display: inline-block;
  background:
    linear-gradient(135deg, transparent 0 20%, rgba(5, 8, 5, 0.65) 20% 32%, transparent 32%),
    var(--yellow);
  border-radius: 4px;
  box-shadow: inset 0 -10px 0 rgba(5, 8, 5, 0.12);
}

.attachment-card small,
.text-panel small {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.attachment-card strong {
  font-size: 13px;
  line-height: 1.25;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: minmax(54px, 0.12fr) minmax(0, 1fr) minmax(54px, 0.12fr);
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: clamp(16px, 3vw, 34px);
  background: rgba(0, 0, 0, 0.96);
}

.gallery-overlay[hidden] {
  display: none;
}

.gallery-stage {
  min-width: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
}

.gallery-stage img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.5);
}

.gallery-stage figcaption {
  min-height: 24px;
  color: var(--muted);
  font-weight: 900;
}

.gallery-close,
.gallery-nav {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}

.gallery-close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  font-size: 34px;
}

.gallery-nav {
  font-size: 54px;
  line-height: 1;
}

.compact-video-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.compact-video-grid .video-card img {
  aspect-ratio: 16 / 9;
}

.compact-video-grid .video-card span {
  padding: 12px;
}

.text-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 255, 0, 0.14);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.text-panel strong {
  color: var(--yellow);
  font-size: clamp(20px, 3vw, 32px);
  text-transform: uppercase;
}

.text-panel a {
  color: var(--yellow);
  font-weight: 800;
}

.text-panel p,
.text-panel ul,
.text-panel ol {
  margin: 0 0 12px;
}

.policy-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 92px;
}

.policy-section .history-copy {
  max-width: 1120px;
}

.policy-section .history-copy p {
  max-height: none;
}

.focusable:focus,
.focusable:focus-visible,
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: var(--focus);
}

@media (max-width: 1180px) {
  .score-hero,
  .api-hero,
  .tv-grid,
  .featured-video-layout,
  .join-band,
  .history-band,
  .player-shell,
  .api-modality-layout {
    grid-template-columns: 1fr;
  }

  .modality-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-feature h1,
  .hero-feature p {
    max-width: 70%;
  }

  .api-hero .hero-feature {
    grid-column: auto;
    min-height: 560px;
  }

  .highlight-card {
    flex-basis: calc((100% - 28px) / 3);
  }
}

@media (max-width: 760px) {
  :root {
    --page-edge: 10px;
    --section-padding: 12px;
    --section-gap: 28px;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding-top: 12px;
    padding-bottom: 7px;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    gap: 0;
  }

  .brand img {
    height: 46px;
    padding: 3px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .mobile-header-social {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    max-width: 100%;
    overflow: hidden;
    gap: 5px;
  }

  .mobile-header-social .social-link {
    width: 30px;
    height: 30px;
  }

  .mobile-header-social .social-link svg {
    width: 14px;
    height: 14px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-items: end;
    width: 100%;
    gap: 8px;
  }

  .site-nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px;
    overflow: visible;
    background: rgba(5, 8, 5, 0.88);
    border: 1px solid rgba(247, 255, 0, 0.18);
    border-radius: 8px;
  }

  .site-header.menu-open .site-nav {
    display: grid;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .header-social {
    justify-self: end;
  }

  .social-nav {
    display: none;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link svg {
    width: 17px;
    height: 17px;
  }

  .score-hero,
  .section-block,
  .join-band,
  .history-band,
  .signup-section,
  .gallery-band,
  .club-footer-panel,
  .site-footer {
    margin-top: var(--section-gap);
  }

  .highlights-shell {
    grid-template-columns: 1fr;
  }

  .highlight-nav {
    display: none;
  }

  .highlight-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .highlights-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-credit {
    text-align: left;
  }

  .hero-feature img {
    width: 100%;
    opacity: 0.58;
    mask-image: none;
  }

  .hero-feature h1,
  .hero-feature p {
    max-width: 100%;
  }

  .api-hero .hero-feature {
    aspect-ratio: auto;
    min-height: 620px;
    padding-top: 34px;
  }

  .api-hero #heroEventTitle {
    max-width: 100%;
    font-size: clamp(26px, 8vw, 40px);
    line-height: 1.05;
  }

  .mini-match-row,
  .partner-grid,
  .star-grid,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .cookie-actions,
  .install-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .event-card,
  .club-footer-panel,
  .modality-archive-card,
  .api-event-card {
    grid-template-columns: 1fr;
  }

  .api-event-media > img {
    min-height: auto;
    aspect-ratio: var(--event-cover-ratio);
  }

  .api-event-media {
    padding: 12px;
  }

  .gallery-overlay {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .gallery-nav {
    position: fixed;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .gallery-prev {
    left: 18px;
  }

  .gallery-next {
    right: 18px;
  }

  .gallery-stage img {
    max-height: calc(100vh - 160px);
  }

  .modality-tabs {
    grid-template-columns: 1fr;
  }

  .event-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .event-stats span {
    min-height: 58px;
    padding: 7px 4px;
  }

  .event-stats strong {
    font-size: clamp(19px, 7vw, 26px);
  }

  .event-stats small {
    font-size: 9px;
    line-height: 1.1;
  }

  .hero-agenda {
    grid-template-columns: 1fr;
  }

  .modality-archive-card > img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .event-badge {
    width: fit-content;
  }

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

  .hero-countdown {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .social-links {
    gap: 6px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 15px;
    height: 15px;
  }

  .mobile-header-social {
    gap: 4px;
  }

  .mobile-header-social .social-link {
    width: 28px;
    height: 28px;
  }

  .mobile-header-social .social-link svg {
    width: 13px;
    height: 13px;
  }

  .highlight-card {
    flex-basis: 100%;
  }
}
