:root {
  --bg: #07111f;
  --surface: rgba(12, 27, 46, 0.82);
  --text: #f5f7fb;
  --muted: #b0c0d8;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #ffb703;
  --green: #48b26b;
  --red: #f25c54;
  --blue: #5bb8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --max-width: 1200px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

img,
picture {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(91, 184, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255, 183, 3, 0.22), transparent 20%),
    linear-gradient(180deg, #06101d 0%, #091829 52%, #08111f 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.mobile-nav-toggle {
  display: none;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
}

.clock-bar {
  position: sticky;
  top: 88px;
  z-index: 19;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 15, 27, 0.9);
  backdrop-filter: blur(14px);
}

.clock-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
  padding: 0.5rem 0;
}

.weather-strip {
  min-width: 0;
  flex: 1 1 520px;
  max-width: 760px;
}

.weather-track-wrap {
  overflow: hidden;
  min-width: 0;
}

.weather-track {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  animation: weather-roll 42s linear infinite;
}

.weather-track:hover {
  animation-play-state: paused;
}

.weather-chip,
.weather-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.weather-chip strong {
  color: var(--text);
  font-size: 0.86rem;
}

.weather-chip span {
  color: var(--muted);
}

@keyframes weather-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.announcement-bar {
  position: sticky;
  top: 134px;
  z-index: 18;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 15, 27, 0.9);
  backdrop-filter: blur(14px);
}

.announcement-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
}

.announcement-label {
  display: grid;
  gap: 0.2rem;
  align-items: start;
}

.announcement-label strong {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement-label span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.22);
  color: #f5f7fb;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.announcement-track-wrap {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.wat-clock {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.announcement-track {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: announcement-roll 30s linear infinite;
  will-change: transform;
}

.announcement-track:hover {
  animation-play-state: paused;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.announcement-pill:hover,
.announcement-pill:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.announcement-pill strong {
  font-size: 0.95rem;
}

.announcement-pill span {
  color: var(--muted);
  font-size: 0.88rem;
}

.announcement-inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  font-weight: 700;
}

.announcement-inline-link:hover,
.announcement-inline-link:focus-visible {
  color: #ffe08c;
}

.announcement-dialog {
  width: min(680px, calc(100% - 2rem));
  border: 0;
  padding: 0;
  background: transparent;
}

.announcement-dialog::backdrop {
  background: rgba(2, 8, 16, 0.75);
  backdrop-filter: blur(8px);
}

.announcement-dialog-card {
  margin: 0;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(9, 24, 41, 0.96);
  box-shadow: var(--shadow);
}

.announcement-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.announcement-close {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.announcement-dialog-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.announcement-dialog-meta {
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 700;
}

.announcement-dialog-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small,
.hero-text,
.hero-note,
.hero-kicker,
.academy-story p,
.pillar p,
.record-card span,
.role-message,
.contact-panel p,
.identity-card p,
.registration-aside p,
.section-copy,
.form-note {
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.button-primary {
  color: #06101d;
  background: linear-gradient(135deg, var(--gold), #ffd166);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

main {
  overflow: clip;
}

.flash-shell,
.hero,
.learning-promo-section,
.academy-section,
.identity-section,
.kit-showcase-section,
.clubs-section,
.account-section,
.registration-section,
.news-section,
.schedule-section,
.contact-section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.flash-shell {
  margin-top: 1rem;
}

.flash-message,
.gate-note,
.role-message {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.flash-message[data-tone="success"],
.form-note[data-tone="success"] {
  color: #b9ffd0;
}

.flash-message[data-tone="error"],
.form-note[data-tone="error"] {
  color: #ffc3be;
}

.hero,
.learning-promo-section,
.academy-section,
.identity-section,
.kit-showcase-section,
.clubs-section,
.account-section,
.registration-section,
.news-section,
.schedule-section,
.contact-section {
  padding: 3rem 0 5rem;
}

body.athlete-portal-mode .clock-bar,
body.athlete-portal-mode .announcement-bar,
body.athlete-portal-mode .site-footer,
body.athlete-portal-mode main > section:not(.flash-shell):not(.account-section),
body.admin-portal-mode .clock-bar,
body.admin-portal-mode .announcement-bar,
body.admin-portal-mode .site-footer,
body.admin-portal-mode main > section:not(.flash-shell):not(.account-section) {
  display: none;
}

body.athlete-portal-mode .site-header,
body.admin-portal-mode .site-header {
  position: sticky;
}

body.athlete-portal-mode .main-nav,
body.athlete-portal-mode .header-cta,
body.athlete-portal-mode .mobile-nav-toggle,
body.admin-portal-mode .main-nav,
body.admin-portal-mode .header-cta,
body.admin-portal-mode .mobile-nav-toggle {
  display: none;
}

body.athlete-portal-mode main,
body.admin-portal-mode main {
  padding-top: 2rem;
}

body.athlete-portal-mode .account-section,
body.admin-portal-mode .account-section {
  width: min(calc(100vw - 0.5rem), 1920px);
  max-width: none;
  min-height: calc(100vh - 110px);
  padding-left: 0;
  padding-right: 0;
}

body.athlete-portal-mode .account-layout,
body.admin-portal-mode .account-layout {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

body.athlete-portal-mode .account-panel,
body.admin-portal-mode .account-panel {
  padding: clamp(0.85rem, 1.35vw, 1.35rem);
}

body.admin-portal-mode .admin-tools {
  margin-top: 2rem;
}

.academy-section,
.account-section {
  position: relative;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  align-items: end;
  min-height: calc(100svh - 88px);
  gap: 2rem;
  padding-top: 5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.orb-one {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(72, 178, 107, 0.45), transparent 68%);
}

.orb-two {
  width: 640px;
  height: 640px;
  bottom: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(242, 92, 84, 0.3), transparent 65%);
}

.sport-badges {
  position: absolute;
  right: 5vw;
  top: 18vh;
  display: grid;
  gap: 0.75rem;
}

.sport-badges span {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(3, 11, 20, 0.5);
  color: var(--muted);
}

.eyebrow,
.panel-label,
.meta-label {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--gold);
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 6.8vw, 6.8rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}

.contact-actions .button {
  flex: 0 1 auto;
  justify-content: center;
}

.hero-panel,
.pillar,
.auth-panel,
.account-panel,
.registration-form,
.tuition-panel,
.trust-panel,
.schedule-board,
.fixture-board,
.contact-panel,
.identity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel,
.pillar,
.auth-panel,
.account-panel,
.registration-form,
.tuition-panel,
.trust-panel,
.schedule-board,
.fixture-board,
.contact-panel,
.identity-card {
  padding: 1.6rem;
}

.hero-panel h2,
.account-summary h3,
.auth-panel h3,
.tuition-panel h3,
.trust-panel h3,
.schedule-board h3,
.fixture-board h3,
.contact-panel h2 {
  margin: 0;
}

.section-watermark {
  position: absolute;
  top: 1rem;
  right: -2rem;
  width: min(320px, 28vw);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.section-watermark img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.1);
}

.section-heading,
.academy-layout,
.account-layout {
  position: relative;
  z-index: 1;
}

.hero-crest-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.hero-crest {
  width: min(240px, 68%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.panel-brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.panel-brand-mark img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.panel-brand-mark-secondary {
  justify-content: flex-start;
}

.hero-points,
.trust-panel ul {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 auto 5rem;
  width: min(100%, 1320px);
  background: rgba(255, 255, 255, 0.08);
}

.impact-strip article {
  padding: 2rem;
  background: rgba(7, 17, 31, 0.88);
}

.impact-strip span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-copy,
.hero-note {
  line-height: 1.7;
}

.hero-kicker {
  margin: 0;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.academy-layout,
.account-layout,
.registration-layout,
.schedule-layout {
  display: grid;
  gap: 1.5rem;
}

.academy-layout {
  grid-template-columns: 1.15fr 1fr;
}

.learning-promo-section {
  padding-top: 2.25rem;
}

.learning-promo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 183, 3, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(72, 178, 107, 0.16), rgba(91, 184, 255, 0.1) 56%, rgba(7, 17, 31, 0.92));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.learning-promo-copy {
  display: grid;
  gap: 1rem;
}

.learning-promo-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.learning-promo-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.learning-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.learning-promo-visual {
  min-width: 0;
}

.learning-device {
  display: grid;
  gap: 1rem;
  padding: clamp(0.85rem, 2vw, 1.2rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 16, 29, 0.82);
}

.learning-device-top {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.learning-device-top img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.learning-device-top span,
.learning-progress-card span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-device-top strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.learning-device-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
  gap: 0.9rem;
}

.learning-device-grid img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.learning-progress-card {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.learning-progress-card strong {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.learning-progress-track {
  height: 0.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.learning-progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #48b26b);
}

.learning-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.learning-feature-list span {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
}

.academy-pillars,
.registration-aside,
.account-stack {
  display: grid;
  gap: 1rem;
}

.academy-photo-feature,
.player-spotlight-media {
  margin: 1.4rem 0 0;
}

.academy-photo-feature img,
.player-spotlight-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.academy-photo-feature figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.clubs-section {
  position: relative;
}

.club-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.club-tab,
.auth-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.club-tab.active,
.auth-tab.active {
  color: #06101d;
  background: var(--gold);
  border-color: transparent;
}

.club-display {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(72, 178, 107, 0.18), transparent 42%),
    linear-gradient(160deg, rgba(91, 184, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}

.club-identity h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.club-meta,
.invite-list,
.records-list {
  display: grid;
  gap: 1rem;
}

.player-spotlight {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 183, 3, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.player-spotlight-copy {
  display: grid;
  gap: 0.9rem;
}

.player-spotlight-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.club-meta > div,
.record-card,
.schedule-item,
.fixture-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.record-card {
  display: grid;
  gap: 0.35rem;
}

.course-admin-card,
.athlete-course-card {
  gap: 0.65rem;
}

.athlete-course-card {
  width: 100%;
  max-width: none;
}

.course-admin-modules,
.module-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.course-admin-module-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.course-admin-modules span,
.course-admin-module-row span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.course-module-list {
  display: grid;
  gap: 0.65rem;
  margin: 0.35rem 0;
}

.course-module {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.8rem 0.9rem;
}

.course-module summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.course-module p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.course-module ul {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.course-player {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
  margin: 0.75rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.athlete-portal-mode .course-player {
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
}

.course-outline {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 16, 29, 0.54);
}

.course-outline-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-outline-button {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  padding: 0.55rem;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-outline-button span {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 800;
}

.course-outline-button.active,
.course-outline-button:hover,
.course-outline-button:focus-visible {
  border-color: rgba(255, 183, 3, 0.34);
  background: rgba(255, 183, 3, 0.1);
  color: var(--text);
}

.course-lesson-stage {
  min-width: 0;
}

.course-lesson-panel {
  display: none;
  grid-template-columns: minmax(260px, 0.58fr) minmax(420px, 1.42fr);
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

body.athlete-portal-mode .course-lesson-panel {
  grid-template-columns: minmax(240px, 0.42fr) minmax(560px, 1.58fr);
}

.course-lesson-panel.active {
  display: grid;
}

.lesson-copy,
.lesson-visual,
.lesson-completion {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.lesson-copy {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.lesson-completion {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.85rem;
  padding: 1rem;
}

.lesson-copy h4,
.lesson-copy p,
.lesson-copy ul,
.lesson-completion p {
  margin: 0;
}

.lesson-copy h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.lesson-copy ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.lesson-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 1rem;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 183, 3, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(72, 178, 107, 0.24), rgba(7, 17, 31, 0.95));
}

.lesson-visual-brand {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--gold);
  font-weight: 900;
}

.lesson-visual-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.uploaded-lesson-media {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.uploaded-lesson-media video,
.uploaded-module-thumbnail {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
}

.course-av-player {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 183, 3, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(6, 16, 29, 0.96), rgba(12, 73, 43, 0.86));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.course-av-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.course-av-header strong {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.course-av-eyebrow,
.course-av-source {
  color: var(--muted);
  font-size: 0.74rem;
}

.course-av-eyebrow {
  display: block;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-av-frame {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 46vw, 720px);
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 16, 29, 0.72);
}

.course-av-launch-card {
  display: grid;
  align-items: end;
  background-color: rgba(6, 16, 29, 0.82);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, contain;
}

.course-av-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: end;
  gap: 0.24rem;
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  background: rgba(6, 16, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.course-av-overlay span {
  display: block;
  width: 0.25rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.44;
}

.course-av-player.is-playing .course-av-overlay span {
  animation: voiceBars 0.9s ease-in-out infinite;
  opacity: 1;
}

.course-av-player.is-playing .course-av-overlay span:nth-child(2) { animation-delay: 0.12s; }
.course-av-player.is-playing .course-av-overlay span:nth-child(3) { animation-delay: 0.24s; }
.course-av-player.is-playing .course-av-overlay span:nth-child(4) { animation-delay: 0.36s; }
.course-av-player.is-playing .course-av-overlay span:nth-child(5) { animation-delay: 0.48s; }

.course-av-launch-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  max-width: 86%;
  padding: 1rem;
  color: var(--text);
}

.course-av-launch-copy span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-av-launch-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

.course-av-launch-copy p {
  margin: 0;
  color: var(--muted);
}

.course-av-controls {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.course-av-meter {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.course-av-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.course-av-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.course-av-source {
  margin: 0;
}

.protected-material-note {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 183, 3, 0.22);
  color: #ffd36c;
  font-size: 0.84rem;
  font-weight: 700;
}

@keyframes voiceBars {
  0%, 100% { height: 0.65rem; }
  50% { height: 1.55rem; }
}

body.course-media-open {
  overflow: hidden;
}

.course-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: max(0.35rem, env(safe-area-inset-top)) max(0.35rem, env(safe-area-inset-right)) max(0.35rem, env(safe-area-inset-bottom)) max(0.35rem, env(safe-area-inset-left));
  background: rgba(3, 8, 15, 0.92);
  backdrop-filter: blur(14px);
}

.course-media-modal.active {
  display: block;
}

.course-media-shell {
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: clamp(0.6rem, 1vw, 1rem);
  width: 100%;
  height: 100dvh;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

.course-media-outline,
.course-media-stage {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(6, 16, 29, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.course-media-outline {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  overflow: hidden;
}

.course-media-outline strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

.course-media-outline-list {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.course-media-outline-button {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  padding: 0.6rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.course-media-outline-button.active,
.course-media-outline-button:hover,
.course-media-outline-button:focus-visible {
  border-color: rgba(255, 183, 3, 0.34);
  background: rgba(255, 183, 3, 0.1);
  color: var(--text);
}

.course-media-outline-button b {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.course-media-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.85rem;
  overflow: hidden;
}

.course-media-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.course-media-topbar h3 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  overflow-wrap: anywhere;
}

.course-media-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
}

.course-media-frame iframe {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 170px);
  border: 0;
  display: block;
  background: #fff;
}

.course-media-frame::after {
  content: "© EBM International Sports Academy. Protected Course Material.";
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 2;
  max-width: min(72%, 520px);
  padding: 0.38rem 0.62rem;
  border-radius: 6px;
  background: rgba(7, 24, 40, 0.78);
  color: #ffcf35;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  pointer-events: none;
}

.course-media-audio {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.5fr) minmax(260px, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.course-media-audio .course-av-overlay {
  position: static;
}

.course-media-audio .course-av-overlay span {
  animation: voiceBars 0.9s ease-in-out infinite;
  opacity: 1;
}

.course-media-audio .course-av-overlay span:nth-child(2) { animation-delay: 0.12s; }
.course-media-audio .course-av-overlay span:nth-child(3) { animation-delay: 0.24s; }
.course-media-audio .course-av-overlay span:nth-child(4) { animation-delay: 0.36s; }
.course-media-audio .course-av-overlay span:nth-child(5) { animation-delay: 0.48s; }

.course-media-audio audio {
  width: 100%;
}

.course-media-audio-copy {
  display: grid;
  gap: 0.15rem;
}

.course-media-audio-copy strong {
  color: var(--text);
}

.course-media-audio-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.module-quiz-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.module-quiz-panel summary {
  cursor: pointer;
  padding: 0.8rem 0.9rem;
  color: var(--gold);
  font-weight: 900;
}

.module-quiz-list {
  display: grid;
  gap: 0.85rem;
  padding: 0 0.9rem 0.9rem;
}

.module-quiz-question {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(6, 16, 29, 0.48);
}

.module-quiz-question strong {
  color: var(--text);
}

.module-quiz-options {
  display: grid;
  gap: 0.45rem;
}

.module-quiz-option {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  text-align: left;
  cursor: pointer;
}

.module-quiz-option:hover,
.module-quiz-option:focus-visible {
  border-color: rgba(255, 183, 3, 0.38);
  background: rgba(255, 183, 3, 0.1);
}

.module-quiz-option.correct {
  border-color: rgba(72, 178, 107, 0.78);
  background: rgba(72, 178, 107, 0.18);
}

.module-quiz-option.incorrect {
  border-color: rgba(242, 92, 84, 0.78);
  background: rgba(242, 92, 84, 0.16);
}

.module-quiz-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.module-quiz-feedback[data-tone="success"] {
  color: #b9ffd0;
}

.module-quiz-feedback[data-tone="error"] {
  color: #ffc3be;
}

.lesson-field-animation {
  position: absolute;
  inset: 4.2rem 1rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(72, 178, 107, 0.35) 0 32px, rgba(18, 116, 62, 0.45) 32px 64px);
}

.field-line,
.player-dot,
.ball-dot,
.lesson-card {
  position: absolute;
  display: block;
}

.center-line {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.center-circle {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.box-left,
.box-right {
  top: 26%;
  width: 58px;
  height: 48%;
  border: 2px solid rgba(255, 255, 255, 0.48);
}

.box-left {
  left: 0;
  border-left: 0;
}

.box-right {
  right: 0;
  border-right: 0;
}

.player-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(6, 16, 29, 0.85);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.player-one { left: 22%; top: 42%; animation: playerDrift 4.8s ease-in-out infinite; }
.player-two { left: 42%; top: 30%; animation: playerDrift 5.2s ease-in-out infinite reverse; }
.player-three { right: 26%; top: 54%; animation: playerDrift 4.4s ease-in-out infinite; }
.player-four { right: 14%; top: 24%; animation: playerDrift 5s ease-in-out infinite reverse; }

.ball-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 16, 29, 0.25);
  animation: ballMove 3.2s ease-in-out infinite;
}

.lesson-card {
  left: 1rem;
  bottom: 1rem;
  max-width: 72%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(6, 16, 29, 0.84);
  color: var(--text);
  font-weight: 800;
}

.card-two {
  left: auto;
  right: 1rem;
  top: 1rem;
  bottom: auto;
  color: var(--gold);
}

.lesson-visual-timeline .ball-dot { animation-name: timelineMove; }
.lesson-visual-field .player-dot { background: #5bb8ff; }
.lesson-visual-team .player-dot { animation-name: teamShape; }
.lesson-visual-referee .card-two { background: #f25c54; color: #fff; }
.lesson-visual-rules .ball-dot { animation-name: boundaryCheck; }
.lesson-visual-match .ball-dot { animation-duration: 2.2s; }
.lesson-visual-identity .player-dot { background: #ffb703; box-shadow: 0 0 18px rgba(255, 183, 3, 0.45); }

@keyframes ballMove {
  0% { left: 23%; top: 46%; }
  40% { left: 45%; top: 34%; }
  75% { left: 69%; top: 57%; }
  100% { left: 23%; top: 46%; }
}

@keyframes timelineMove {
  0% { left: 12%; top: 70%; }
  33% { left: 42%; top: 42%; }
  66% { left: 68%; top: 34%; }
  100% { left: 86%; top: 24%; }
}

@keyframes boundaryCheck {
  0%, 100% { left: 48%; top: 45%; }
  45% { left: 92%; top: 45%; }
  55% { left: 96%; top: 45%; }
}

@keyframes playerDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -8px); }
}

@keyframes teamShape {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}

.athlete-dashboard-panel {
  overflow: hidden;
}

.athlete-brand-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  margin: -0.4rem -0.4rem 1rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 183, 3, 0.16), transparent 48%),
    linear-gradient(155deg, rgba(72, 178, 107, 0.14), rgba(91, 184, 255, 0.1));
  border: 1px solid var(--line);
}

.athlete-brand-strip h3,
.athlete-brand-strip p {
  margin: 0.25rem 0 0;
}

#athlete-club-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--gold);
  color: #06101d;
  font-weight: 800;
  white-space: nowrap;
}

.athlete-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.athlete-progress-grid article {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.athlete-progress-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.athlete-progress-grid span {
  color: var(--muted);
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.record-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.announcement-calendar {
  display: grid;
}

.calendar-panel {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.calendar-panel h3,
.calendar-group h4 {
  margin: 0;
}

.calendar-copy {
  color: var(--muted);
}

.calendar-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.calendar-group {
  display: grid;
  gap: 0.75rem;
}

.calendar-items {
  display: grid;
  gap: 0.75rem;
}

.calendar-item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.calendar-status-draft {
  border-color: rgba(91, 184, 255, 0.35);
}

.calendar-status-scheduled {
  border-color: rgba(255, 183, 3, 0.45);
}

.calendar-status-published {
  border-color: rgba(72, 178, 107, 0.45);
}

.calendar-status-archived {
  border-color: rgba(255, 255, 255, 0.16);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kit-showcase-section {
  padding-top: 0;
}

.launch-poster-section {
  display: grid;
  gap: 1.6rem;
}

.launch-poster-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.6rem;
  align-items: center;
}

.launch-poster-link,
.launch-poster-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.launch-poster-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.launch-poster-link:hover,
.launch-poster-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 3, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.launch-poster-link img {
  display: block;
  width: 100%;
  height: auto;
}

.launch-poster-copy {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.launch-poster-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.launch-poster-copy p {
  margin: 0;
  color: var(--muted);
}

.launch-poster-points {
  display: grid;
  gap: 0.8rem;
}

.launch-poster-points span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.18);
  color: var(--text);
  font-weight: 700;
}

.launch-poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.launch-poster-dialog {
  width: min(96vw, 1080px);
}

.launch-poster-dialog-card {
  width: 100%;
}

.launch-poster-dialog-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kit-showcase-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 183, 3, 0.2);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 183, 3, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.kit-showcase-link::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 184, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.kit-showcase-link:hover,
.kit-showcase-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 3, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.kit-showcase-copy {
  position: relative;
  z-index: 1;
}

.kit-showcase-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.97;
}

.kit-showcase-action {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 183, 3, 0.24);
  background: rgba(255, 183, 3, 0.08);
}

.kit-showcase-action strong {
  color: var(--gold);
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kit-showcase-action span {
  color: var(--text);
}

.kit-showcase-media {
  position: relative;
  z-index: 1;
  margin: 0;
}

.kit-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.account-layout,
.registration-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.auth-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.auth-form {
  display: none;
  gap: 1rem;
}

.auth-form.active {
  display: grid;
}

.account-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.account-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.account-badges span {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.admin-tools {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.letter-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.workspace-panel {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.workspace-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-header h3 {
  margin: 0.2rem 0 0;
}

.filter-form {
  display: grid;
  gap: 0.9rem;
}

.form-row-form {
  align-items: end;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.workspace-status {
  margin: 0;
}

.table-shell {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.records-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.records-table th,
.records-table td {
  padding: 0.95rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.records-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

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

.cell-strong {
  display: block;
  font-weight: 700;
}

.cell-muted {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-paid,
.status-success {
  border-color: rgba(72, 178, 107, 0.5);
  color: #9ff0b9;
}

.status-enabled {
  border-color: rgba(72, 178, 107, 0.5);
  color: #9ff0b9;
}

.status-unpaid,
.status-failed,
.status-abandoned {
  border-color: rgba(242, 92, 84, 0.45);
  color: #ffb6b0;
}

.status-disabled {
  border-color: rgba(242, 92, 84, 0.45);
  color: #ffb6b0;
}

.status-initialized,
.status-pending {
  border-color: rgba(255, 183, 3, 0.4);
  color: #ffd36c;
}

.payment-clearance-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.payment-flag {
  position: relative;
  display: inline-flex;
  width: 1.65rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.payment-flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 0.18rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.payment-flag::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0;
  width: 1.25rem;
  height: 0.82rem;
  border-radius: 0.18rem 0.52rem 0.52rem 0.18rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.payment-flag-green::after {
  background: linear-gradient(135deg, #2bd66f, #0b7d3f);
}

.payment-flag-red::after {
  background: linear-gradient(135deg, #ff5d56, #a81515);
}

.payment-clearance-card.paid {
  border-color: rgba(72, 178, 107, 0.45);
}

.payment-clearance-card.unpaid {
  border-color: rgba(242, 92, 84, 0.45);
}

.athlete-restriction-card {
  border-color: rgba(242, 92, 84, 0.45);
  background:
    linear-gradient(135deg, rgba(242, 92, 84, 0.14), rgba(255, 183, 3, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.table-actions .button {
  padding-inline: 0.9rem;
}

.admin-embed-panel {
  overflow: hidden;
}

.fixture-embed-shell {
  min-height: 900px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 183, 3, 0.1), transparent 18%),
    rgba(6, 16, 29, 0.95);
}

.fixture-embed-shell iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
  display: block;
  background: transparent;
}

.mobile-form-hint {
  display: none;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(91, 184, 255, 0.1);
  border: 1px solid rgba(91, 184, 255, 0.2);
  color: #d5ebff;
}

.sticky-whatsapp-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 24;
  min-height: 52px;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c863, #40e07c);
  color: #06101d;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.registration-form,
.payment-form,
.invite-form {
  display: grid;
  gap: 1rem;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(176, 192, 216, 0.7);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 3.2rem;
}

.password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle[aria-pressed="true"] {
  color: var(--gold);
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.24);
}

.password-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.schedule-layout {
  grid-template-columns: 1.15fr 0.85fr;
}

.news-home-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.news-home-grid,
.news-admin-list {
  display: grid;
  gap: 1rem;
}

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

.news-card,
.news-home-aside {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-card {
  display: grid;
}

.news-card img,
.news-card video,
.news-media-chip img,
.news-media-chip video {
  width: 100%;
  display: block;
  height: auto;
}

.news-card video,
.news-media-chip video {
  background: #000;
}

.news-card-copy,
.news-home-aside {
  padding: 1.35rem;
}

.news-card-copy h3,
.news-home-aside h3 {
  margin: 0.65rem 0;
}

.news-card-meta,
.news-admin-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.12);
  color: #ffd36c;
  font-weight: 700;
}

.news-card-copy p,
.news-home-aside p {
  color: #d9e3f3;
  line-height: 1.75;
}

.news-upload-stack {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.news-media-manager {
  display: grid;
  gap: 0.85rem;
}

.news-media-chip,
.news-admin-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.news-media-chip-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-media-chip-meta {
  display: grid;
  gap: 0.35rem;
}

.news-media-chip-actions,
.news-admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-admin-card h4 {
  margin: 0;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.schedule-list,
.fixture-list {
  display: grid;
  gap: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.account-section .reveal,
.registration-section .reveal {
  opacity: 1;
  transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem 2.5rem;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text);
}

.legal-page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-shell {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-shell h1,
.legal-shell h2 {
  font-family: "Space Grotesk", sans-serif;
}

.legal-shell h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
}

.legal-shell h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-shell ul {
  padding-left: 1.2rem;
}

.footer-crest img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

@keyframes announcement-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header,
  .site-footer {
    padding-inline: 1.2rem;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.94rem;
  }

  .hero,
  .learning-promo-shell,
  .academy-layout,
  .club-display,
  .identity-grid,
  .launch-poster-layout,
  .kit-showcase-link,
  .player-spotlight,
  .account-layout,
  .registration-layout,
  .schedule-layout,
  .news-home-layout {
    grid-template-columns: 1fr;
  }

  .impact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-watermark {
    width: 220px;
    right: 0;
  }

  .announcement-bar {
    top: 126px;
  }

  .clock-bar {
    top: 80px;
  }
}

@media (max-width: 768px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .clock-bar,
  .announcement-bar {
    position: static;
  }

  .brand {
    width: calc(100% - 116px);
    min-width: 0;
  }

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

  .brand-copy strong,
  .brand-copy small {
    display: block;
    overflow-wrap: anywhere;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 0.25rem 0 0.75rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .header-cta,
  .button,
  .announcement-close {
    min-height: 48px;
  }

  .header-cta {
    display: inline-flex;
    width: 100%;
  }

  .hero,
  .learning-promo-section,
  .academy-section,
  .identity-section,
  .kit-showcase-section,
  .launch-poster-section,
  .coach-application-section,
  .clubs-section,
  .account-section,
  .registration-section,
  .news-section,
  .schedule-section,
  .contact-section,
  .flash-shell,
  .clock-shell,
  .announcement-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .hero,
  .learning-promo-section,
  .academy-section,
  .identity-section,
  .kit-showcase-section,
  .clubs-section,
  .account-section,
  .registration-section,
  .news-section,
  .schedule-section,
  .contact-section {
    padding: 1.8rem 0 3rem;
  }

  .hero {
    padding-top: 2rem;
    gap: 1.25rem;
    min-height: auto;
  }

  .learning-promo-shell,
  .learning-device-grid {
    grid-template-columns: 1fr;
  }

  .learning-promo-shell {
    padding: 1rem;
    border-radius: 22px;
  }

  .learning-promo-actions .button {
    width: 100%;
    justify-content: center;
  }

  .learning-device-grid img {
    min-height: 220px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    left: auto;
    transform: none;
    overflow: visible;
    z-index: 0;
    min-height: 0;
  }

  .hero-grid {
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 100%);
  }

  .hero-copy {
    margin-top: 0.75rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .announcement-label {
    gap: 0.35rem;
  }

  .announcement-label strong {
    font-size: 0.84rem;
  }

  .announcement-label span {
    white-space: normal;
    line-height: 1.35;
    font-size: 0.7rem;
    padding: 0.45rem 0.65rem;
  }

  .hero-panel,
  .registration-form,
  .tuition-panel,
  .trust-panel,
  .contact-panel,
  .auth-panel,
  .account-panel,
  .pillar,
  .identity-card,
  .schedule-board,
  .fixture-board {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .sport-badges {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
  }

  .sport-badges span {
    text-align: center;
  }

  .impact-strip {
    width: min(100%, calc(100% - 1rem));
    margin-bottom: 3rem;
  }

  .impact-strip article {
    padding: 1.2rem;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  .section-heading h2,
  .contact-panel h2,
  .club-identity h3,
  .kit-showcase-copy h2,
  .player-spotlight-copy h3,
  .launch-poster-copy h3 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.02;
  }

  .kit-showcase-link,
  .club-display,
  .player-spotlight,
  .launch-poster-copy {
    padding: 1.2rem;
    gap: 1rem;
  }

  .mobile-form-hint {
    display: block;
  }

  .registration-form .form-row,
  .payment-form .form-row,
  .invite-form .form-row,
  .filter-form .form-row {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  textarea {
    min-height: 120px;
  }

  .payment-form .button,
  .registration-form .button,
  .news-upload-stack .button,
  .letter-workspace-actions .button,
  .launch-poster-actions .button,
  .contact-actions .button,
  .hero-actions .button {
    width: 100%;
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions,
  .hero-actions,
  .launch-poster-actions,
  .record-actions,
  .table-actions,
  .filter-actions {
    flex-direction: column;
  }

  .table-shell {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .records-table {
    min-width: 760px;
  }

  .course-player,
  .course-lesson-panel.active,
  body.athlete-portal-mode .course-player,
  body.athlete-portal-mode .course-lesson-panel,
  body.athlete-portal-mode .course-lesson-panel.active {
    grid-template-columns: 1fr;
  }

  body.athlete-portal-mode .account-section,
  body.admin-portal-mode .account-section {
    width: min(calc(100vw - 0.5rem), 1920px);
  }

  body.athlete-portal-mode main {
    padding-top: 0.75rem;
  }

  body.athlete-portal-mode .account-panel {
    padding: 0.75rem;
    border-radius: 20px;
  }

  body.athlete-portal-mode .course-player {
    gap: 0.75rem;
    overflow: visible;
  }

  body.athlete-portal-mode .course-outline {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.65rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  body.athlete-portal-mode .course-outline-label {
    flex: 0 0 100%;
  }

  body.athlete-portal-mode .course-outline-button {
    flex: 0 0 min(82vw, 22rem);
    scroll-snap-align: start;
    min-height: 56px;
  }

  .course-lesson-stage,
  .course-lesson-panel,
  .lesson-copy,
  .lesson-completion,
  .lesson-visual,
  .course-av-player {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .course-lesson-panel.active {
    gap: 0.75rem;
  }

  .lesson-copy {
    padding: 0.85rem;
  }

  .lesson-completion {
    order: 3;
    padding: 0.85rem;
  }

  .course-lesson-panel .lesson-visual {
    order: 2;
  }

  .course-lesson-panel .lesson-copy {
    order: 1;
  }

  .module-resource-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .module-resource-actions .button,
  .course-media-open-button,
  .module-complete-button {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .lesson-visual {
    min-height: 300px;
  }

  .course-av-controls {
    grid-template-columns: 1fr;
  }

  .course-av-frame,
  .course-av-frame iframe {
    min-height: clamp(240px, 62vh, 500px);
    height: auto;
  }

  .course-media-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .course-media-outline {
    display: block;
    max-height: none;
    padding: 0.7rem;
    overflow: visible;
  }

  .course-media-outline-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.55rem 0 0.15rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .course-media-outline-button {
    flex: 0 0 min(78vw, 20rem);
    min-height: 54px;
    scroll-snap-align: start;
  }

  .course-media-stage {
    min-height: min(72dvh, 680px);
    overflow: visible;
  }

  .course-media-topbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding-bottom: 0.25rem;
    background: rgba(6, 16, 29, 0.96);
  }

  .course-media-close-button {
    width: 100%;
    justify-content: center;
  }

  .course-media-frame iframe {
    min-height: clamp(320px, 58dvh, 620px);
  }

  .course-media-audio {
    grid-template-columns: 1fr;
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .module-quiz-options {
    grid-template-columns: 1fr;
  }

  .athlete-brand-strip,
  .athlete-progress-grid {
    grid-template-columns: 1fr;
  }

  .athlete-brand-strip {
    display: grid;
  }

  .fixture-embed-shell,
  .fixture-embed-shell iframe {
    min-height: 640px;
  }
}

.pillar-action {
  margin-top: 1rem;
  align-self: flex-start;
}

.coach-application-section {
  width: min(1200px, calc(100% - 2rem));
  margin: 4rem auto;
}

.coach-application-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  align-items: start;
}

.coach-role-panel {
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 26, 45, 0.94), rgba(7, 17, 31, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.coach-role-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.coach-role-header h3,
.reference-stack-header h3 {
  margin: 0.2rem 0 0;
}

.coach-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.16);
  color: #ffd36c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.coach-role-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
  color: #d9e3f3;
}

.coach-role-list li,
.coach-role-note {
  line-height: 1.65;
}

.coach-role-note {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9d6e8;
}

.coach-application-form {
  gap: 1rem;
}

.reference-stack {
  display: grid;
  gap: 1rem;
}

.reference-card {
  margin: 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.reference-card legend {
  padding: 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffd36c;
}

@media (max-width: 720px) {
  .form-row,
  .impact-strip {
    grid-template-columns: 1fr;
  }

  .account-summary,
  .schedule-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-brand-mark-secondary {
    justify-content: center;
  }

  .announcement-shell {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .clock-shell {
    justify-content: flex-start;
  }

  .weather-strip {
    flex-basis: 100%;
    max-width: 100%;
  }

  .coach-application-layout,
  .coach-role-header {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

}

@media (max-width: 414px) {
  body.athlete-portal-mode .account-section {
    width: 100%;
  }

  body.athlete-portal-mode .account-panel {
    padding: 0.55rem;
    border-radius: 16px;
  }

  body.athlete-portal-mode .athlete-brand-strip {
    margin: 0 0 0.75rem;
    padding: 0.85rem;
    border-radius: 16px;
  }

  body.athlete-portal-mode .course-outline-button,
  .course-media-outline-button {
    flex-basis: min(88vw, 19rem);
  }

  .course-av-player,
  .lesson-copy,
  .lesson-completion,
  .course-media-stage,
  .course-media-outline {
    border-radius: 16px;
  }

  .course-av-player {
    padding: 0.75rem;
  }

  .course-av-frame {
    min-height: clamp(220px, 58vh, 440px);
  }

  .course-av-launch-copy {
    max-width: 100%;
    padding: 0.8rem;
    background: linear-gradient(180deg, transparent, rgba(6, 16, 29, 0.78));
  }

  .course-av-overlay {
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .course-media-modal {
    padding: 0;
  }

  .course-media-shell {
    gap: 0.5rem;
  }

  .course-media-stage,
  .course-media-outline {
    border-left: 0;
    border-right: 0;
  }

  .course-media-frame {
    border-radius: 14px;
  }

  .module-quiz-panel summary,
  .module-quiz-option {
    min-height: 48px;
  }

  .site-header,
  .site-footer {
    padding-inline: 0.85rem;
  }

  .brand {
    width: calc(100% - 92px);
    gap: 0.65rem;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .hero,
  .learning-promo-section,
  .academy-section,
  .identity-section,
  .kit-showcase-section,
  .launch-poster-section,
  .clubs-section,
  .account-section,
  .registration-section,
  .schedule-section,
  .contact-section,
  .flash-shell,
  .clock-shell,
  .announcement-shell {
    width: min(100%, calc(100% - 0.75rem));
  }

  .sticky-whatsapp-cta {
    left: 0.75rem;
    right: 0.75rem;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(2.05rem, 11vw, 2.6rem);
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .weather-chip,
  .weather-loading,
  .wat-clock,
  .announcement-pill {
    font-size: 0.78rem;
  }
}

@media (max-width: 375px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  .hero-panel,
  .registration-form,
  .tuition-panel,
  .trust-panel,
  .contact-panel,
  .auth-panel,
  .account-panel {
    padding: 1rem;
  }

  .button,
  .header-cta,
  .mobile-nav-toggle {
    padding-inline: 1rem;
  }
}

@media (max-width: 320px) {
  body.athlete-portal-mode .account-panel {
    padding: 0.4rem;
  }

  body.athlete-portal-mode .course-outline-button,
  .course-media-outline-button {
    flex-basis: 92vw;
  }

  .course-media-stage {
    padding: 0.6rem;
  }

  .course-media-frame iframe {
    min-height: 300px;
  }

  .course-av-frame {
    min-height: 220px;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .impact-strip article,
  .weather-chip,
  .weather-loading,
  .announcement-pill {
    padding-inline: 0.8rem;
  }

  .sticky-whatsapp-cta {
    font-size: 0.92rem;
  }
}

@media print {
  body.athlete-portal-mode .account-section,
  body.course-media-open .course-media-modal {
    display: none !important;
  }

  body.athlete-portal-mode::before,
  body.course-media-open::before {
    content: "Printing is disabled for protected EBM Academy course materials.";
    display: block;
    padding: 2rem;
    color: #071828;
    font: 700 18px Arial, sans-serif;
  }
}
