:root {
  --palavas-blue: #075a99;
  --palavas-deep: #063b68;
  --palavas-sky: #12a8df;
  --palavas-cyan: #2dc7e8;
  --palavas-pink: #f23d79;
  --palavas-sand: #f2d6a1;
  --ink: #102538;
  --muted: #5d7080;
  --paper: #f7fbfd;
  --white: #ffffff;
  --line: rgba(16, 37, 56, .12);
  --shadow: 0 22px 60px rgba(3, 49, 83, .16);
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 105px 0; }
.section-dark { padding: 105px 0; color: var(--white); background: var(--palavas-deep); }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 12px 16px; background: #fff; color: #000; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(4, 51, 89, .84);
  border-bottom: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(4, 51, 89, .97); box-shadow: 0 10px 35px rgba(0,0,0,.15); }
.header-inner {
  width: min(1240px, calc(100% - 36px)); height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 210px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font: 800 24px/1 var(--heading); text-transform: uppercase; letter-spacing: .035em; }
.brand small { margin-top: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; opacity: .78; }
.main-nav { display: flex; align-items: center; gap: 19px; color: #fff; }
.main-nav a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; opacity: .82; }
.main-nav a:hover { opacity: 1; }
.main-nav .nav-live { padding: 10px 15px; border-radius: 999px; background: var(--palavas-pink); opacity: 1; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; }

.hero { min-height: 860px; position: relative; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("assets/palavas-hero.jpg") center / cover no-repeat; transform: scale(1.015); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,34,64,.92) 0%, rgba(3,56,95,.75) 45%, rgba(2,40,75,.35) 75%, rgba(3,28,52,.48) 100%),
    linear-gradient(0deg, rgba(1,30,56,.88) 0%, transparent 48%);
}
.hero-wave {
  position: absolute; right: -10%; bottom: 120px; width: 60%; height: 95px; opacity: .55;
  background: radial-gradient(ellipse at 50% 100%, transparent 63%, rgba(45,199,232,.6) 64%, rgba(45,199,232,.6) 68%, transparent 69%);
  transform: rotate(-3deg);
}
.hero-content { position: relative; z-index: 2; padding-top: 96px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.09);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
}
.hero h1 { max-width: 790px; margin: 28px 0 22px; font: 900 clamp(64px, 8vw, 116px)/.82 var(--heading); text-transform: uppercase; letter-spacing: -.035em; }
.hero h1 > .hero-overline {
  display: block;
  margin-bottom: 10px;
  color: var(--palavas-pink);
  font-size: .34em;
  line-height: 1.08;
  letter-spacing: .08em;
}
.hero h1 .btv-name,
.hero h1 .btv-white {
  display: inline;
  margin: 0;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
}
.hero h1 .btv-white {
  color: #ffffff;
}
.hero-lead { max-width: 690px; margin: 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--palavas-pink); box-shadow: 0 12px 28px rgba(242,61,121,.28); }
.button-ghost { border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.08); color: #fff; }
.button-outline { border: 1px solid var(--palavas-blue); color: var(--palavas-blue); background: transparent; }
.button-white { color: var(--palavas-deep); background: #fff; }

.hero-stats { display: flex; gap: 1px; max-width: 720px; margin-top: 54px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.hero-stats article { flex: 1; padding: 20px 24px; background: rgba(4, 54, 92, .82); backdrop-filter: blur(10px); border-right: 1px solid rgba(255,255,255,.12); }
.hero-stats article:last-child { border-right: 0; }
.hero-stats strong { display: block; font: 800 42px/1 var(--heading); color: var(--palavas-cyan); }
.hero-stats span { display: block; margin-top: 3px; font: 700 17px/1 var(--heading); text-transform: uppercase; }
.hero-stats small { display: block; margin-top: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .65; }

.hero-logos {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(4, 54, 92, .78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.hero-logos-title {
  flex: 0 0 auto;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.hero-logos-list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero-logos-list img:nth-child(1) { width: 110px; height: 42px; object-fit: contain; }
.hero-logos-list img:nth-child(2) { width: 78px; height: 42px; object-fit: contain; }
.hero-logos-list img:nth-child(3) { width: 62px; height: 62px; object-fit: contain; }


.eyebrow { margin: 0 0 11px; color: var(--palavas-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow-pink { color: #ff6d9c; }
.section-heading h2, .discipline-head h2, .program-head h2, .lists-heading h2, .spotlight-copy h2 {
  margin: 0; font: 800 clamp(43px, 5vw, 70px)/.94 var(--heading); text-transform: uppercase; letter-spacing: -.025em;
}
.section-intro, .discipline-lead { max-width: 800px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.intro-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 70px; align-items: center; }
.history-card {
  position: relative; display: flex; align-items: center; min-height: 250px; padding: 34px;
  overflow: hidden; border-radius: 28px; color: #fff;
  background: linear-gradient(145deg, var(--palavas-blue), var(--palavas-sky));
  box-shadow: var(--shadow);
}
.history-card img { position: absolute; width: 170px; right: -24px; bottom: -25px; opacity: .16; }
.history-card div { position: relative; z-index: 1; }
.history-number { display: block; font: 900 65px/.9 var(--heading); color: var(--palavas-sand); text-transform: uppercase; }
.history-card strong { display: block; margin: 8px 0 13px; font: 700 22px/1.1 var(--heading); text-transform: uppercase; }
.history-card p { margin: 0; max-width: 280px; color: rgba(255,255,255,.78); }

.editorial-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 72px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line);
}
.editorial-band article { padding: 34px; background: #fff; }
.band-index { font: 800 20px var(--heading); color: var(--palavas-pink); }
.editorial-band h3 { margin: 16px 0 10px; font: 800 25px/1 var(--heading); text-transform: uppercase; }
.editorial-band p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.spotlight { background: linear-gradient(135deg, #052d50 0%, #064f8c 55%, #0872af 100%); }
.spotlight-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 85px; align-items: center; }
.spotlight-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.spotlight-visual > img { position: relative; z-index: 2; width: 320px; border-radius: 50%; box-shadow: 0 25px 60px rgba(0,0,0,.25); transform: rotate(-4deg); }
.sun-disc { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: var(--palavas-pink); opacity: .9; }
.thai-badge {
  position: absolute; z-index: 3; left: 0; bottom: 25px; display: flex; align-items: center; gap: 13px;
  padding: 14px 17px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--shadow);
}
.thai-badge .thai-flag {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(
      to bottom,
      #c8102e 0%,
      #c8102e 18%,
      #ffffff 18%,
      #ffffff 32%,
      #2d2a7f 32%,
      #2d2a7f 68%,
      #ffffff 68%,
      #ffffff 82%,
      #c8102e 82%,
      #c8102e 100%
    );
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.92);
}
.thai-badge strong { font: 700 18px var(--heading); text-transform: uppercase; }
.spotlight-copy p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }
.spotlight-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.spotlight-facts span { padding: 17px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(255,255,255,.07); font-size: 12px; line-height: 1.35; }
.spotlight-facts b { display: block; font: 800 30px/1 var(--heading); color: var(--palavas-cyan); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.text-link span { color: var(--palavas-pink); font-size: 21px; }

.discipline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.discipline-count { flex: 0 0 auto; min-width: 130px; text-align: right; }
.discipline-count strong { display: block; font: 900 60px/.8 var(--heading); color: var(--palavas-pink); }
.discipline-count span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.discipline-head.light h2, .discipline-head.light .discipline-count span { color: #fff; }
.light-text { color: rgba(255,255,255,.7); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.force-card {
  min-height: 390px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  box-shadow: 0 12px 35px rgba(4,55,90,.06); transition: transform .22s, box-shadow .22s;
}
.force-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.force-card-featured { color: #fff; background: linear-gradient(145deg, var(--palavas-blue), var(--palavas-sky)); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.flag { font-size: 28px; }
.bib { padding: 5px 9px; border-radius: 999px; background: rgba(7,90,153,.08); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.force-card-featured .bib { background: rgba(255,255,255,.14); }
.role { margin: 44px 0 8px; color: var(--palavas-pink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.force-card-featured .role { color: var(--palavas-sand); }
.force-card h3 { margin: 0; font: 900 42px/.88 var(--heading); text-transform: uppercase; }
.force-card > p:not(.role) { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.force-card-featured > p:not(.role) { color: rgba(255,255,255,.76); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tags span { padding: 6px 9px; border-radius: 999px; background: rgba(7,90,153,.08); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.force-card-featured .tags span { background: rgba(255,255,255,.13); }
.section-cta { margin-top: 40px; text-align: center; }

.discipline-blue { color: #fff; background: linear-gradient(145deg, #06466f, #075f99); }
.teams-list { margin-top: 52px; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.team-row {
  display: grid; grid-template-columns: 74px 62px 1fr 1.35fr; align-items: center; min-height: 106px;
  border-bottom: 1px solid rgba(255,255,255,.1); transition: background .2s;
}
.team-row:last-child { border-bottom: 0; }
.team-row:hover { background: rgba(255,255,255,.07); }
.team-row.featured { background: linear-gradient(90deg, rgba(242,61,121,.24), transparent); }
.team-row.defending { background: linear-gradient(90deg, rgba(45,199,232,.18), transparent); }
.team-rank { display: grid; place-items: center; height: 100%; border-right: 1px solid rgba(255,255,255,.1); }
.team-rank span { font: 800 24px var(--heading); color: var(--palavas-cyan); }
.team-flag { text-align: center; font-size: 27px; }
.team-names { display: flex; flex-direction: column; gap: 3px; padding: 18px 24px; }
.team-names strong { font: 700 22px/1.05 var(--heading); text-transform: uppercase; }
.team-note { padding: 18px 30px; border-left: 1px solid rgba(255,255,255,.1); }
.team-note b { display: block; color: var(--palavas-sand); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.team-note span { display: block; margin-top: 5px; color: rgba(255,255,255,.67); font-size: 13px; }
.accuracy-note {
  display: flex; gap: 17px; align-items: flex-start; margin-top: 25px; padding: 18px 22px; border-radius: 14px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
}
.accuracy-note > span { flex: 0 0 auto; margin-top: 2px; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--palavas-pink); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.accuracy-note p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }

.triplettes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.trio-card {
  position: relative; min-height: 365px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  box-shadow: 0 12px 35px rgba(4,55,90,.06);
}
.trio-card-main { color: #fff; background: linear-gradient(145deg, #f23d79, #d62c69); }
.trio-card-main::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 28px solid rgba(255,255,255,.08);
}
.trio-header { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--palavas-blue); }
.trio-card-main .trio-header { color: #fff; }
.trio-card h3 { margin: 45px 0 20px; font: 900 35px/.92 var(--heading); text-transform: uppercase; }
.trio-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.trio-card-main p { color: rgba(255,255,255,.75); }
.trio-label { position: absolute; bottom: 23px; left: 26px; color: var(--palavas-pink); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.trio-card-main .trio-label { color: var(--palavas-sand); }
.nations { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 38px; }
.nations span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

.program-section { background: #082f50; }
.program-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.program-head > p { max-width: 360px; margin: 0; color: rgba(255,255,255,.55); font-size: 12px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 55px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.12); }
.timeline article { min-height: 310px; padding: 28px; background: #0b3b61; }
.timeline-final { background: linear-gradient(145deg, #a82559, #e13a75) !important; }
.timeline-date { display: flex; align-items: baseline; gap: 7px; }
.timeline-date strong { font: 900 48px/1 var(--heading); color: var(--palavas-cyan); }
.timeline-final .timeline-date strong { color: #fff; }
.timeline-date span { font: 700 16px var(--heading); }
.timeline-copy { margin-top: 53px; }
.time { color: var(--palavas-sand); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.timeline-copy h3 { margin: 8px 0 12px; font: 800 28px/.95 var(--heading); text-transform: uppercase; }
.timeline-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }
.timeline-final .timeline-copy p { color: rgba(255,255,255,.78); }

.lists-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.lists-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; }
.official-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.official-links a {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 17px; min-height: 115px; padding: 20px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 25px rgba(4,55,90,.05);
  transition: transform .2s, box-shadow .2s;
}
.official-links a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; color: #fff; background: linear-gradient(145deg, var(--palavas-blue), var(--palavas-sky)); font: 900 24px var(--heading); }
.official-links b { display: block; font: 800 24px var(--heading); text-transform: uppercase; }
.official-links small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.official-links em { color: var(--palavas-pink); font-style: normal; font-size: 23px; }
.live-card {
  position: relative; margin-top: 70px; padding: 55px; overflow: hidden; border-radius: 28px; color: #fff;
  background:
    linear-gradient(100deg, rgba(3,44,76,.97), rgba(5,82,132,.87)),
    url("assets/palavas-hero.jpg") center / cover;
  box-shadow: var(--shadow);
}
.live-card > div { display: flex; align-items: center; gap: 20px; }
.live-card img { width: 95px; height: 60px; object-fit: contain; }
.live-dot { padding: 6px 10px; border-radius: 999px; background: var(--palavas-pink); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.live-card h3 { max-width: 690px; margin: 27px 0 14px; font: 900 clamp(40px, 5vw, 64px)/.9 var(--heading); text-transform: uppercase; }
.live-card p { max-width: 690px; margin: 0 0 27px; color: rgba(255,255,255,.72); }

.site-footer { padding: 34px 0; color: #fff; background: #042844; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr auto; align-items: center; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font: 800 23px var(--heading); text-transform: uppercase; }
.footer-brand span, .footer-sources span { font-size: 10px; color: rgba(255,255,255,.56); }
.footer-sources strong { display: block; margin-bottom: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--palavas-cyan); }
.back-top { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1020px) {
  .main-nav {
    position: absolute; top: 76px; right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border-radius: 15px; background: #073b65; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .menu-button { display: block; }
  .intro-grid, .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-grid { gap: 35px; }
  .cards-grid, .triplettes-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .official-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .back-top { display: none; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 26px, 1180px); }
  .section, .section-dark { padding: 76px 0; }
  .hero { min-height: 900px; }
  .hero-bg { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(2,34,64,.92), rgba(2,34,64,.63)), linear-gradient(0deg, rgba(1,30,56,.92), transparent 55%); }
  .hero-content { padding-top: 100px; }
  .hero h1 { font-size: 62px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { width: 100%; }
  .hero-stats article { padding: 16px 12px; }
  .hero-stats strong { font-size: 33px; }
  .hero-stats span { font-size: 14px; }
  .hero-logos {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  .hero-logos-list {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .hero-logos-list img:nth-child(1) { width: 92px; height: 36px; }
  .hero-logos-list img:nth-child(2) { width: 66px; height: 36px; }
  .hero-logos-list img:nth-child(3) { width: 52px; height: 52px; }
  .intro-grid { gap: 35px; }
  .editorial-band { grid-template-columns: 1fr; }
  .section-heading h2, .discipline-head h2, .program-head h2, .lists-heading h2, .spotlight-copy h2 { font-size: 45px; }
  .spotlight-visual { min-height: 360px; }
  .spotlight-visual > img { width: 240px; }
  .sun-disc { width: 300px; height: 300px; }
  .thai-badge { left: 10px; }
  .spotlight-facts { grid-template-columns: 1fr; }
  .discipline-head, .program-head, .lists-heading { align-items: flex-start; flex-direction: column; }
  .discipline-count { text-align: left; }
  .cards-grid, .triplettes-grid { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 55px 50px 1fr; }
  .team-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 15px 20px; }
  .team-names { padding: 17px 12px; }
  .team-names strong { font-size: 19px; }
  .accuracy-note { flex-direction: column; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article { min-height: 250px; }
  .timeline-copy { margin-top: 35px; }
  .live-card { padding: 34px 25px; }
  .footer-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .force-card, .official-links a { transition: none; }
}

.spotlight-facts-single {
  grid-template-columns: minmax(220px, 320px);
}
.spotlight-facts-single span {
  padding: 20px 18px;
}



.section-back-top {
  margin-top: 46px;
  text-align: right;
}
.section-back-top a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(7, 90, 153, .22);
  border-radius: 999px;
  color: var(--palavas-blue);
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .2s, background .2s;
}
.section-back-top a:hover {
  transform: translateY(-2px);
  background: #ffffff;
}
.section-back-top-light a {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}
.section-back-top-light a:hover {
  background: rgba(255, 255, 255, .16);
}

.champions-update {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 26px;
  padding: 19px 22px;
  border-radius: 16px;
}
.champions-update > span {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--palavas-pink);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}
.champions-update p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.champions-update-dark {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
}
.champions-update-dark p {
  color: rgba(255,255,255,.82);
}
.champions-update-light {
  border: 1px solid rgba(7,90,153,.16);
  background: rgba(7,90,153,.06);
}
.champions-update-light p {
  color: var(--muted);
}
.team-row.france-current {
  background: linear-gradient(90deg, rgba(45,199,232,.22), rgba(255,255,255,.02));
}
.team-row.france-current .team-note b {
  color: #ffffff;
}
@media (max-width: 720px) {
  .champions-update {
    flex-direction: column;
    gap: 10px;
  }
}


/* Accent bleu-blanc-rouge pour l'actualité France 2026 */
.france-ribbon {
  position: relative;
  overflow: hidden;
  padding-top: 25px;
}
.france-ribbon::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(
    to right,
    #0055a4 0%,
    #0055a4 33.333%,
    #ffffff 33.333%,
    #ffffff 66.666%,
    #ef4135 66.666%,
    #ef4135 100%
  );
}

/* Drapeaux circulaires des nations */
.country-name,
.nation-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.flag-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  overflow: hidden;
  border: 1px solid rgba(16,37,56,.16);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.trio-card-main .flag-dot {
  border-color: rgba(255,255,255,.48);
}
.flag-fr { background: linear-gradient(to right, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.flag-es { background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-be { background: linear-gradient(to right, #111 0 33.33%, #ffd90c 33.33% 66.66%, #ef3340 66.66%); }
.flag-pl { background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50%); }
.flag-de { background: linear-gradient(to bottom, #111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
.flag-nl { background: linear-gradient(to bottom, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%); }
.flag-mc { background: linear-gradient(to bottom, #ce1126 0 50%, #fff 50%); }
.flag-mx { background: linear-gradient(to right, #006847 0 33.33%, #fff 33.33% 66.66%, #ce1126 66.66%); }
.flag-th {
  background: linear-gradient(
    to bottom,
    #c8102e 0 18%,
    #fff 18% 32%,
    #2d2a7f 32% 68%,
    #fff 68% 82%,
    #c8102e 82%
  );
}
.flag-jp { background: radial-gradient(circle at center, #bc002d 0 34%, transparent 36%), #fff; }
.flag-ch { background:
  linear-gradient(#fff,#fff) center / 56% 18% no-repeat,
  linear-gradient(#fff,#fff) center / 18% 56% no-repeat,
  #d52b1e;
}
.flag-us {
  background:
    linear-gradient(to bottom,
      #b22234 0 8%, #fff 8% 16%, #b22234 16% 24%, #fff 24% 32%,
      #b22234 32% 40%, #fff 40% 48%, #b22234 48% 56%, #fff 56% 64%,
      #b22234 64% 72%, #fff 72% 80%, #b22234 80% 88%, #fff 88% 94%,
      #b22234 94% 100%);
}
.flag-us::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48%;
  height: 48%;
  background: #3c3b6e;
}
.nations .nation-chip {
  padding: 8px 13px;
}
.nations .nation-chip .flag-dot {
  width: 16px;
  height: 16px;
}

/* Signature média du pied de page */
.footer-btv {
  white-space: nowrap;
}
.footer-btv-b {
  color: var(--palavas-pink);
}
.footer-btv-tv {
  color: #ffffff;
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}


/* Drapeaux visibles : titre Thaïlande et cartes tête-à-tête */
.thai-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.thai-title-row h2 {
  margin: 0;
}
.thai-title-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 74px;
  height: 48px;
  border-radius: 9px;
  background:
    linear-gradient(
      to bottom,
      #c8102e 0%,
      #c8102e 18%,
      #ffffff 18%,
      #ffffff 32%,
      #2d2a7f 32%,
      #2d2a7f 68%,
      #ffffff 68%,
      #ffffff 82%,
      #c8102e 82%,
      #c8102e 100%
    );
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(3,49,83,.18);
}

.player-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.player-flag-th {
  background:
    linear-gradient(
      to bottom,
      #c8102e 0%,
      #c8102e 18%,
      #ffffff 18%,
      #ffffff 32%,
      #2d2a7f 32%,
      #2d2a7f 68%,
      #ffffff 68%,
      #ffffff 82%,
      #c8102e 82%,
      #c8102e 100%
    );
}
.player-flag-fr {
  background: linear-gradient(
    to right,
    #0055a4 0%,
    #0055a4 33.333%,
    #ffffff 33.333%,
    #ffffff 66.666%,
    #ef4135 66.666%,
    #ef4135 100%
  );
}
.player-flag-es {
  background: linear-gradient(
    to bottom,
    #aa151b 0%,
    #aa151b 25%,
    #f1bf00 25%,
    #f1bf00 75%,
    #aa151b 75%,
    #aa151b 100%
  );
}

@media (max-width: 720px) {
  .thai-title-row {
    align-items: flex-start;
    gap: 12px;
  }
  .thai-title-flag {
    width: 58px;
    height: 38px;
    margin-top: 4px;
    border-radius: 7px;
  }
  .player-flag {
    width: 30px;
    height: 30px;
  }
}


/* Audit des grandes équipes françaises */
.audit-team-row {
  background: linear-gradient(90deg, rgba(242,61,121,.14), rgba(255,255,255,.025));
}
.audit-team-row .team-note b {
  color: #ffffff;
}

.deep-field {
  margin-top: 72px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}
.deep-field-head {
  max-width: 850px;
}
.deep-field-head h3 {
  margin: 0;
  font: 800 clamp(38px, 4vw, 58px)/.95 var(--heading);
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.deep-field-head > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.deep-field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.deep-card {
  position: relative;
  min-height: 360px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(4,55,90,.06);
}
.deep-card-featured {
  color: #ffffff;
  background: linear-gradient(145deg, var(--palavas-blue), var(--palavas-sky));
}
.deep-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deep-card-top b {
  font: 800 17px var(--heading);
  color: var(--palavas-blue);
}
.deep-card-featured .deep-card-top b {
  color: #ffffff;
}
.deep-card-label {
  display: inline-block;
  margin-top: 34px;
  color: var(--palavas-pink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.deep-card-featured .deep-card-label {
  color: var(--palavas-sand);
}
.deep-card h4 {
  margin: 9px 0 20px;
  font: 900 33px/.93 var(--heading);
  text-transform: uppercase;
}
.deep-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}
.deep-card-featured p {
  color: rgba(255,255,255,.8);
}
.audit-more {
  margin-top: 25px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(7,90,153,.06);
  border: 1px solid rgba(7,90,153,.12);
}
.audit-more strong {
  display: block;
  margin-bottom: 12px;
  color: var(--palavas-blue);
  font: 800 17px var(--heading);
  text-transform: uppercase;
}
.audit-more > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.audit-more span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.bergeron-tribute {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 32px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #8f1733, #d52b45);
  box-shadow: var(--shadow);
}
.canada-flag {
  position: relative;
  display: block;
  width: 94px;
  height: 64px;
  border-radius: 9px;
  background: linear-gradient(to right, #d80621 0 25%, #ffffff 25% 75%, #d80621 75%);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.canada-flag::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d80621;
  font-size: 30px;
  transform: rotate(15deg);
}
.tribute-kicker {
  color: rgba(255,255,255,.74);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.bergeron-tribute h3 {
  margin: 7px 0 9px;
  font: 800 34px/1 var(--heading);
  text-transform: uppercase;
}
.bergeron-tribute p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .deep-field-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .deep-field-grid {
    grid-template-columns: 1fr;
  }
  .bergeron-tribute {
    grid-template-columns: 1fr;
  }
}


/* Zone spéciale palmarès Palavas */
.palmares-section {
  background:
    radial-gradient(circle at 92% 5%, rgba(45,199,232,.12), transparent 28%),
    linear-gradient(180deg, #f7fbfd 0%, #eef7fb 100%);
}
.palmares-head {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 54px;
  align-items: end;
}
.palmares-head h2 {
  margin: 0;
  max-width: 780px;
  font: 800 clamp(43px, 5vw, 70px)/.94 var(--heading);
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.palmares-intro {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.palmares-stats {
  display: grid;
  gap: 10px;
}
.palmares-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 17px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--palavas-deep);
}
.palmares-stats strong {
  font: 900 30px/1 var(--heading);
  color: var(--palavas-cyan);
}
.palmares-stats span {
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.68);
}
.palmares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.palmares-card {
  min-height: 360px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 13px 38px rgba(4,55,90,.07);
}
.palmares-card-featured {
  color: #ffffff;
  background: linear-gradient(145deg, var(--palavas-blue), var(--palavas-sky));
}
.palmares-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.palmares-medal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--palavas-pink);
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(242,61,121,.26);
}
.palmares-count {
  text-align: right;
}
.palmares-count strong {
  display: block;
  font: 900 42px/.8 var(--heading);
  color: var(--palavas-pink);
}
.palmares-card-featured .palmares-count strong {
  color: var(--palavas-sand);
}
.palmares-count span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
}
.palmares-card-featured .palmares-count span {
  color: rgba(255,255,255,.68);
}
.palmares-card h3 {
  margin: 38px 0 15px;
  font: 900 35px/.95 var(--heading);
  text-transform: uppercase;
}
.palmares-years {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.palmares-years span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--palavas-blue);
  background: rgba(7,90,153,.08);
  font-size: 10px;
  font-weight: 800;
}
.palmares-card-featured .palmares-years span {
  color: #ffffff;
  background: rgba(255,255,255,.14);
}
.palmares-disciplines {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}
.palmares-card-featured .palmares-disciplines {
  color: #ffffff;
}
.palmares-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.palmares-card-featured .palmares-note {
  color: rgba(255,255,255,.74);
}
.palmares-recent {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: 32px 36px;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(120deg, #9d2253, var(--palavas-pink));
  box-shadow: var(--shadow);
}
.palmares-recent > div:first-child {
  max-width: 830px;
}
.palmares-recent span {
  color: var(--palavas-sand);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.palmares-recent h3 {
  margin: 8px 0 10px;
  font: 800 34px/1 var(--heading);
  text-transform: uppercase;
}
.palmares-recent p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.7;
}
.palmares-recent-year {
  font: 900 70px/.8 var(--heading);
  color: rgba(255,255,255,.18);
}
.palmares-history {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 18px;
  margin-top: 18px;
}
.palmares-history-main,
.palmares-other-winners {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}
.palmares-history-main {
  display: flex;
  align-items: center;
  gap: 18px;
}
.palmares-thai-flag {
  display: block;
  flex: 0 0 auto;
  width: 70px;
  height: 46px;
  border-radius: 8px;
  background:
    linear-gradient(
      to bottom,
      #c8102e 0 18%,
      #ffffff 18% 32%,
      #2d2a7f 32% 68%,
      #ffffff 68% 82%,
      #c8102e 82%
    );
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.palmares-history-main strong,
.palmares-other-winners > strong {
  display: block;
  font: 800 21px/1 var(--heading);
  text-transform: uppercase;
}
.palmares-history-main span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.palmares-other-winners > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.palmares-other-winners > div span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7,90,153,.07);
  font-size: 9px;
  font-weight: 700;
}
.palmares-source-note {
  max-width: 900px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  line-height: 1.65;
}
@media (max-width: 1020px) {
  .palmares-head {
    grid-template-columns: 1fr;
  }
  .palmares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .palmares-history {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .palmares-grid {
    grid-template-columns: 1fr;
  }
  .palmares-recent {
    grid-template-columns: 1fr;
    padding: 27px 24px;
  }
  .palmares-recent-year {
    font-size: 52px;
  }
  .palmares-history-main {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Footer responsive refondu */
.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #042844;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
}
.footer-brand strong {
  font: 800 23px/1 var(--heading);
  text-transform: uppercase;
}
.footer-brand span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.4;
}
.footer-sources {
  min-width: 0;
}
.footer-sources strong {
  display: block;
  margin: 0 0 8px;
  color: var(--palavas-cyan);
  font: 800 13px/1.35 var(--heading);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-sources > span {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.footer-btv {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 5px;
  white-space: nowrap;
}
.footer-btv-b,
.footer-btv-tv {
  color: #ffffff;
}
.footer-back-top {
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.06);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}
.footer-back-top:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-back-top {
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .site-footer {
    padding: 28px 0 34px;
  }
  .footer-brand {
    align-items: flex-start;
  }
  .footer-brand strong {
    font-size: 20px;
  }
  .footer-brand span,
  .footer-sources > span {
    font-size: 12px;
  }
  .footer-sources strong {
    font-size: 12px;
  }
}


/* Replay vidéo Palavas 2025 */
.replay-section {
  background:
    radial-gradient(circle at 88% 15%, rgba(45,199,232,.16), transparent 28%),
    linear-gradient(145deg, #052f50 0%, #075a99 58%, #063e69 100%);
  color: #ffffff;
}
.replay-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.replay-head .eyebrow {
  color: var(--palavas-cyan);
}
.replay-head h2 {
  max-width: 850px;
  margin: 0;
  font: 800 clamp(43px, 5.2vw, 72px)/.94 var(--heading);
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.replay-intro {
  max-width: 790px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.75;
}
.replay-badge {
  display: grid;
  place-items: center;
  min-width: 112px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
}
.replay-badge span {
  color: var(--palavas-sand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}
.replay-badge strong {
  font: 900 34px/.85 var(--heading);
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 8px solid rgba(255,255,255,.94);
  border-radius: 24px;
  background: #021827;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.replay-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 20px auto 0;
}
.replay-caption p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.6;
}
.replay-caption a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.08);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.replay-caption a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.15);
}
.replay-section .section-back-top a {
  color: #ffffff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}
.replay-section .section-back-top a:hover {
  background: rgba(255,255,255,.16);
}

@media (max-width: 720px) {
  .replay-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }
  .replay-badge {
    min-width: 82px;
    min-height: 82px;
    width: 82px;
    height: 82px;
  }
  .replay-badge strong {
    font-size: 26px;
  }
  .video-frame {
    border-width: 4px;
    border-radius: 15px;
  }
  .replay-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}


/* Deux lecteurs vidéo responsives */
.replay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.replay-video-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}
.replay-video-head {
  min-height: 82px;
  padding: 5px 3px 17px;
}
.replay-video-head span {
  color: var(--palavas-sand);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.replay-video-head h3 {
  margin: 8px 0 0;
  font: 800 clamp(27px, 2.8vw, 40px)/.95 var(--heading);
  text-transform: uppercase;
}
.replay-video-card .video-frame {
  max-width: none;
  margin: 0;
  border-width: 5px;
  border-radius: 17px;
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}
.replay-video-card .replay-caption {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  max-width: none;
  margin: 17px 3px 3px;
}
.replay-video-card .replay-caption p {
  min-height: 42px;
}
.replay-video-card .replay-caption a {
  align-self: flex-start;
}

@media (max-width: 820px) {
  .replay-grid {
    grid-template-columns: 1fr;
  }
  .replay-video-head {
    min-height: 0;
  }
  .replay-video-card .replay-caption p {
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .replay-video-card {
    padding: 12px;
    border-radius: 18px;
  }
  .replay-video-card .video-frame {
    border-width: 3px;
    border-radius: 12px;
  }
}

.editorial-signature {
  margin: 12px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}


/* Compteur Boulistenautes en ligne */
.online-counter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2,35,60,.34);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #44d17a;
  box-shadow: 0 0 0 5px rgba(68,209,122,.16);
  animation: onlinePulse 1.8s ease-in-out infinite;
}
.online-counter.is-offline .online-dot {
  background: #f2b84b;
  box-shadow: 0 0 0 5px rgba(242,184,75,.14);
  animation: none;
}
@keyframes onlinePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.82); opacity: .7; }
}
@media (max-width: 560px) {
  .online-counter {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.35;
  }
}
