/* ===================================================================
   SPORT THEME — shared by every themed sport page (body[data-theme]).

   The system, built on swimming and approved 2026-11-04. Read
   .claude/skills/riam-sport-page/SKILL.md before changing anything here. Each sport supplies its
   colour tokens in css/sports/<slug>.css; nothing in this file names a
   sport. Tokens:
     --dive-0 .. --dive-4   the page ground, hero-end to footer
     --dive-0-rgb, --dive-4-rgb   same as triples, for scrims
     --shaft-rgb            static light falling under the hero
     --fx-rgb               the theme light: hairlines, depth numbers,
                            card glow, FAQ ring
     --glass-rgb            frosted card fill
   =================================================================== */

/* ===================================================================
   ONE GROUND (first built as swimming's "one dive", 2026-11-04)

   The page is a single body of water. The hero is the surface, looking
   down; everything below it sits on ONE continuous ground that deepens
   slowly to the footer. Sections are not coloured blocks. They are
   marked only by a hairline and their number, so the page reads as one
   descent with stops on the way.

   Motion happens twice and never repeats: the hero looks down at the
   pool floor, the closing booking section looks UP at the surface from
   underwater (js/hero-water.js, data-view="up"). Everything between is
   still: a little light from above near the top, grain throughout.
   =================================================================== */

body[data-theme] main {
  position: relative;
  isolation: isolate;
  /* Holds the hero's last colour until the hero ends (85vh), then the
     water lifts slightly (mid-depth light) and deepens to the footer. */
  background: linear-gradient(to bottom,
    var(--dive-0) 0,
    var(--dive-0) 85vh,
    var(--dive-1) calc(85vh + 900px),
    var(--dive-2) 55%,
    var(--dive-3) 85%,
    var(--dive-4) 100%);
}
/* Light from the surface, strongest just under the hero, gone by the
   middle of the page. Static. */
body[data-theme] main::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 85vh;
  height: 1800px;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(104deg,
      rgba(var(--shaft-rgb), 0) 0px, rgba(var(--shaft-rgb), 0.035) 40px,
      rgba(var(--shaft-rgb), 0) 90px, rgba(var(--shaft-rgb), 0) 170px);
  -webkit-mask-image: radial-gradient(70% 100% at 78% 0%, #000 0%, transparent 85%);
          mask-image: radial-gradient(70% 100% at 78% 0%, #000 0%, transparent 85%);
}
body[data-theme] main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.03;
}

/* Sections are see-through: the dive is the ground. */
body[data-theme] .sp-section,
body[data-theme] .sp-specs,
body[data-theme] .sp-cta {
  position: relative;
  background: transparent;
  border-top: 0;
}
body[data-theme] .sp-specs { border-bottom: 0; }

/* The stop marker: one hairline at the top of each section, the width
   of the content, fading out at both ends. */
body[data-theme] .sp-section + .sp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 64px), calc(var(--container-w) - 64px));
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(var(--fx-rgb), 0) 0%, rgba(var(--fx-rgb), 0.22) 18%,
    rgba(var(--fx-rgb), 0.22) 82%, rgba(var(--fx-rgb), 0) 100%);
}
body[data-theme] .sp-section { padding: 72px 0; }

/* Closing section: looking up at the surface. The canvas melts into the
   ground above and the footer below, so there is no box. */
body[data-theme] #trial {
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 120px;
}
body[data-theme] #trial::before { display: none; }
body[data-theme] #trial .sp-cta-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 74%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 74%, transparent 100%);
}
body[data-theme] #trial::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(var(--dive-4-rgb), 0.78) 0%, rgba(var(--dive-4-rgb), 0.35) 55%, rgba(var(--dive-4-rgb), 0) 100%);
}

/* The footer is the bottom of the pool: the dive's last colour. */
body[data-theme] .footer { background: var(--dive-4); }

/* The hero's own shading ends on the dive's first colour, so the surface
   flows into the page with no seam. */
body[data-theme] .sp-hero-scrim {
  background:
    linear-gradient(to top, var(--dive-0) 0%, rgba(var(--dive-0-rgb), 0.78) 30%, rgba(var(--dive-0-rgb), 0.1) 78%),
    linear-gradient(to right, rgba(var(--dive-0-rgb), 0.82) 0%, rgba(var(--dive-0-rgb), 0) 62%);
}

/* ---------- Swimming: scroll motion hooks (js/water-scroll.js) ----------
   Motion uses the individual translate / scale / clip-path properties so
   it adds to, never replaces, the reveal transforms in js/scroll.js.
   Variables default to the finished state, so with reduced motion or no
   JS everything simply sits in place. */
body[data-theme] .sp-hero-content { translate: 0 var(--wy, 0px); }
body[data-theme] main::before { translate: 0 var(--shaft-y, 0px); }
body[data-theme] #the-ladder .sp-stage {
  translate: 0 var(--wy, 0px);
  scale: var(--ws, 1);
}
body[data-theme] #who-its-for .sp-audience,
body[data-theme] #safety .sp-fspec-row { translate: var(--wx, 0px) 0; }
body[data-theme] #the-turf .sp-facility-media {
  overflow: hidden;
  border-radius: 18px;
  clip-path: inset(var(--clip, 0%) round 18px);
}
body[data-theme] #the-turf .sp-facility-media > * { scale: var(--ws, 1); }

/* Sections 05-09: each stop on the way down gets a large outlined number
   floating behind it, and the soft light pool alternates side. Same
   teal, same weight: different stops, one dive. */
body[data-theme] .has-depth { isolation: isolate; overflow: hidden; }
body[data-theme] .sp-depth-num {
  position: absolute;
  top: 8%;
  z-index: -1;
  pointer-events: none;
  font-weight: 800;
  font-size: clamp(9rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--fx-rgb), 0.16);
  translate: 0 var(--wy, 0px);
  user-select: none;
}
body[data-theme] .sp-depth-num.is-right { right: 3%; }
body[data-theme] .sp-depth-num.is-left { left: 3%; }
body[data-theme] .has-depth::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
body[data-theme] .lume-right::after {
  background: radial-gradient(50% 60% at 88% 30%, rgba(var(--fx-rgb), 0.06), rgba(var(--fx-rgb), 0) 72%);
}
body[data-theme] .lume-left::after {
  background: radial-gradient(50% 60% at 12% 30%, rgba(var(--fx-rgb), 0.06), rgba(var(--fx-rgb), 0) 72%);
}
@media (max-width: 768px) {
  body[data-theme] .sp-depth-num { font-size: 9rem; top: 4%; opacity: 0.7; }
}

/* ---------- Swimming: interaction details (js/water-ui.js) ----------
   Borrowed from stageshow's motion rules. Dropdowns open their space and
   then reveal content; the open/close mark is one plus whose upright
   stroke turns flat; cards are frosted glass that catch a light where
   the pointer is. */
body[data-theme] details.is-opening,
body[data-theme] details.is-closing { overflow: hidden; }
body[data-theme] details.is-smooth > summary::after { display: none; }

body[data-theme] .sp-plus {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--element-accent);
}
body[data-theme] .sp-plus i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  border-radius: 1px;
  background: currentColor;
  transition: rotate 0.42s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s;
}
body[data-theme] .sp-plus i + i { rotate: 90deg; }
body[data-theme] details[open]:not(.is-closing) .sp-plus i + i { rotate: 180deg; }

/* FAQ: the plus sits in a ring that lights on hover. */
body[data-theme] .sp-faq-item .sp-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--white-15);
  transition: border-color 0.25s, background-color 0.25s;
}
body[data-theme] .sp-faq-item summary:hover .sp-plus,
body[data-theme] .sp-faq-item[open] .sp-plus {
  border-color: rgba(var(--fx-rgb), 0.5);
  background-color: rgba(var(--fx-rgb), 0.06);
}
body[data-theme] .sp-faq-item summary { transition: color 0.25s; }
body[data-theme] .sp-faq-item summary:hover { color: #fff; }

/* Glass cards with a pointer light. */
body[data-theme] #the-ladder .sp-stage,
body[data-theme] #who-its-for .sp-audience {
  position: relative;
  background: rgba(var(--glass-rgb), 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  transition: border-color 0.3s;
}
body[data-theme] #the-ladder .sp-stage::before,
body[data-theme] #who-its-for .sp-audience::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--fx-rgb), 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
body[data-theme] #the-ladder .sp-stage::after,
body[data-theme] #who-its-for .sp-audience::after {
  /* The rim catches the same light: a border-only layer. */
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--fx-rgb), 0.7), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
}
body[data-theme] #the-ladder .sp-stage.is-lit::before,
body[data-theme] #the-ladder .sp-stage.is-lit::after,
body[data-theme] #who-its-for .sp-audience.is-lit::before,
body[data-theme] #who-its-for .sp-audience.is-lit::after { opacity: 1; }
/* An opened stage grows on its own; its neighbours keep their size
   instead of stretching into empty boxes. */
body[data-theme] .sp-ladder { align-items: start; }

/* ---------- Fixes after the football pilot (2026-11-04) ---------- */

/* 02 -> 03: two narrow sections in a row used to get the theme hairline
   AND main.css's inner rule, so 03 showed two lines. One stop, one line. */
body[data-theme] .sp-narrow + .sp-narrow .sp-section-inner {
  border-top: 0;
  padding-top: 0;
}

/* Cards that predate the theme (venue card, photo slots) were navy with an
   orange edge on every sport. They now take the sport's glass and light;
   the 2px RIAM orange top edge stays as the brand mark on every theme. */
body[data-theme] .sp-venue {
  background: rgba(var(--glass-rgb), 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(var(--fx-rgb), 0.16);
  border-top: 2px solid var(--orange);
}
body[data-theme] .sp-section .ph {
  background:
    radial-gradient(90% 70% at 88% 100%, rgba(242, 101, 34, 0.16), rgba(242, 101, 34, 0) 60%),
    radial-gradient(80% 60% at 15% 0%, rgba(var(--fx-rgb), 0.08), rgba(var(--fx-rgb), 0) 70%),
    linear-gradient(160deg, rgba(var(--glass-rgb), 0.95), var(--dive-1));
  border: 1px solid rgba(var(--fx-rgb), 0.14);
}

/* 10 -> 11 -> footer: the close scene fills its own section, so the
   section no longer needs big padding of its own. */
body[data-theme] #venue { padding-bottom: 40px; }
/* Each sport sets how much room its closing scene needs: swimming's
   surface lives at the top of the section (keep the room), football's
   floodlight sits mid-section (less room). Bottom gap to the footer is
   kept small on every theme. */
body[data-theme] #trial { padding: var(--close-pad-top, 140px) 0 var(--close-pad-bottom, 60px); }
body[data-theme] .footer { padding-top: 28px; }

/* ---------- When and how much (timetable_block + js/sport-ui.js) ----------
   A week board of class times, then fees. Same glass and theme light as
   the rest of the page; today's column lights up (Asia/Kolkata). Several
   plans become a scrub track: move along it and the price rolls to that
   plan, with what it works out to underneath. */
/* The week: one glass card, a column per day split by hairlines. Today's
   column gets a soft fill and an orange top line; a closed day a faint
   hatch. Times are set large with a small am/pm, like a printed menu. */
body[data-theme] .sp-week {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--white-15);
  border-top: 2px solid var(--element-accent);
  /* Same sheet as the Family plans / Pool passes cards. */
  background:
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)),
    rgba(var(--glass-rgb), 0.6);
}
body[data-theme] .sp-week-title {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--white-15);
}
body[data-theme] .sp-week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
body[data-theme] .sp-week-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px 16px;
  text-align: center;
  translate: 0 var(--wy, 0px);
  transition: background-color 0.25s;
}
body[data-theme] .sp-week-col + .sp-week-col { border-left: 1px solid var(--white-15); }
@media (hover: hover) {
  body[data-theme] .sp-week-col:hover { background-color: rgba(255, 255, 255, 0.025); }
}
body[data-theme] .sp-week-col.is-today { background-color: rgba(255, 255, 255, 0.05); }
body[data-theme] .sp-week-col.is-today::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
}
body[data-theme] .sp-week-col[data-closed] {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
}
body[data-theme] .sp-week-day {
  min-height: 32px;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white-62);
}
body[data-theme] .sp-week-col.is-today .sp-week-day { color: #fff; }
body[data-theme] .sp-today {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--orange);
}
body[data-theme] .sp-week-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
body[data-theme] .sp-week-cell + .sp-week-cell { margin-top: 12px; }
body[data-theme] .sp-week-cell[data-closed] { flex: 1; justify-content: center; }
body[data-theme] .sp-week-rowtag { font-size: 11px; font-weight: 600; color: var(--white-50); }
body[data-theme] .sp-chip { white-space: nowrap; font-variant-numeric: tabular-nums; }
body[data-theme] .sp-t-n {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
}
body[data-theme] .sp-t-s { margin-left: 1px; font-size: 11px; font-weight: 500; color: var(--white-50); }
body[data-theme] .sp-week-closed { font-size: 14px; font-style: italic; color: var(--white-50); }
body[data-theme] .sp-week-none { font-size: 13px; color: var(--white-35); }
body[data-theme] .sp-week-foot { padding: 10px 20px; border-top: 1px solid var(--white-15); }
body[data-theme] .sp-week-note { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--white-62); }
body[data-theme] .sp-week-note-label { margin-right: 8px; font-weight: 700; color: var(--white-90); }


/* ---------- 06 motion hooks and its own WebGL scene ----------
   js/sport-scroll.js drives these variables (translate, never transform:
   the reveals own transform). The Training packages card moves only as a
   whole, so its slider and hover are untouched. */
/* Slide-ins start off to the side; clip sideways only, so the WebGL scene
   can still reach up and down into 05 and 07. */
body[data-theme] #timetable { overflow-x: clip; }
body[data-theme] .sp-next { translate: var(--wx, 0px) 0; }
body[data-theme] #timetable .sp-scrub { translate: 0 var(--wy, 0px); }
body[data-theme] .sp-fee-card { translate: var(--wx, 0px) 0; }
body[data-theme] .sp-fee-row,
body[data-theme] .sp-fee-table tbody tr,
body[data-theme] .sp-fee-single { translate: var(--wx, 0px) 0; opacity: var(--wo, 1); }

/* The mid-dive scene: taller than the section and masked at both ends so
   it rises out of 05 and sinks into 07 with no edge. Behind everything. */
body[data-theme] #timetable .sp-mid-fx {
  position: absolute;
  left: 0;
  top: -30vh;
  display: block;
  width: 100%;
  height: calc(100% + 60vh);
  z-index: -1;
  pointer-events: none;
  opacity: var(--mid-o, 1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 68%, transparent 100%);
}

/* Fees */
body[data-theme] .sp-fees {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
body[data-theme] .sp-scrub,
body[data-theme] .sp-fee-card {
  border-radius: 18px;
  background: rgba(var(--glass-rgb), 0.45);
  border: 1px solid var(--white-15);
}
body[data-theme] .sp-scrub { padding: 30px 32px 28px; border-top: 2px solid var(--orange); }
body[data-theme] .sp-scrub-kicker {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
body[data-theme] .sp-scrub-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 14px;
  margin-top: 14px;
}
body[data-theme] .sp-scrub-name {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 700;
  color: var(--white-62);
}
body[data-theme] .sp-scrub-price {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
body[data-theme] .sp-scrub-was { font-size: 18px; color: var(--white-35); }
body[data-theme] .sp-scrub-per {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 14px;
  color: var(--white-62);
}
body[data-theme] .sp-scrub-track {
  --n: 5;
  --p: 0;
  position: relative;
  display: flex;
  margin-top: 30px;
  touch-action: pan-y;
}
body[data-theme] .sp-scrub-rail {
  position: absolute;
  top: 8px;
  left: calc(50% / var(--n));
  right: calc(50% / var(--n));
  height: 2px;
  border-radius: 2px;
  background: var(--white-15);
}
body[data-theme] .sp-scrub-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  border-radius: inherit;
  background: var(--orange);
  transition: width 0.45s cubic-bezier(0.45, 0, 0.1, 1);
}
body[data-theme] .sp-scrub-stop {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 0 4px;
  border: 0;
  background: none;
  color: var(--white-50);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body[data-theme] .sp-scrub-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dive-1);
  border: 2px solid var(--white-35);
  transition: background-color 0.3s, border-color 0.3s;
}
body[data-theme] .sp-scrub-stop.is-passed .sp-scrub-dot { border-color: var(--orange); }
body[data-theme] .sp-scrub-stop[aria-checked="true"] { color: #fff; }
body[data-theme] .sp-scrub-stop[aria-checked="true"] .sp-scrub-dot {
  background: var(--orange);
  border-color: var(--orange);
}
body[data-theme] .sp-scrub-stop:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
/* Without JS the list carries the prices; with JS the track does. */
body[data-theme] .sp-scrub-list { margin-top: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--white-62); }
body[data-theme] .sp-scrub.is-live .sp-scrub-list {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
body[data-theme] .sp-scrub:not(.is-live) .sp-scrub-track { display: none; }
body[data-theme] .sp-scrub-lead { margin-top: 24px; font-size: 14px; color: var(--white-62); }

body[data-theme] .sp-fee-cards { display: grid; gap: 16px; }
body[data-theme] .sp-fee-card { padding: 22px 24px; }
body[data-theme] .sp-fee-card-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
body[data-theme] .sp-fee-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--white-62);
}
body[data-theme] .sp-fee-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--white-35);
}

/* Live line above the board; today's started classes struck through. */
body[data-theme] .sp-next {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 24px;
  padding: 11px 18px 11px 14px;
  border: 1px solid var(--white-15);
  border-left: 2px solid var(--orange);
  border-radius: 12px;
  background: rgba(var(--glass-rgb), 0.42);
  font-size: 15px;
}
body[data-theme] .sp-next-icon { flex: none; color: var(--orange); }
body[data-theme] .sp-next-label { font-size: 13px; font-weight: 600; color: var(--white-62); }
body[data-theme] .sp-next-when { font-weight: 700; color: #fff; }
body[data-theme] .sp-next-in {
  padding-left: 12px;
  border-left: 1px solid var(--white-15);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--white-62);
}
body[data-theme] .sp-next + .sp-week { margin-top: 20px; }

/* Side cards: same family as the page (the Ladder cards' accent top edge),
   a shade lighter than the packages card so the two read as different. */
body[data-theme] .sp-fee-card {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)),
    rgba(var(--glass-rgb), 0.6);
  border-top: 2px solid var(--element-accent);
}
body[data-theme] .sp-chip.is-past { opacity: 0.4; text-decoration: line-through; text-decoration-color: var(--white-50); }

/* Side cards: label .. price rows and a small comparison table,
   dashed row lines, prices right-aligned in tabular figures. */
body[data-theme] .sp-fee-label { font-size: 14px; font-weight: 600; color: var(--white-90); }
body[data-theme] .sp-fee-single {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--white-15);
}
body[data-theme] .sp-fee-single-text { font-size: 14px; color: var(--white-62); text-align: right; }
body[data-theme] .sp-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
}
body[data-theme] .sp-fee-row + .sp-fee-row { border-top: 1px dashed var(--white-15); }
body[data-theme] .sp-fee-row:first-child { padding-top: 0; }
body[data-theme] .sp-fee-row:last-child { padding-bottom: 0; }
body[data-theme] .sp-fee-price,
body[data-theme] .sp-fee-table td {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-align: right;
}
body[data-theme] .sp-fee-per,
body[data-theme] .sp-fee-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white-50);
}
body[data-theme] .sp-fee-table { width: 100%; border-collapse: collapse; }
body[data-theme] .sp-fee-table thead th {
  padding: 8px 0 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--element-accent);
  text-align: right;
}
body[data-theme] .sp-fee-table tbody th {
  padding: 12px 12px 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--white-90);
  text-align: left;
  vertical-align: top;
  line-height: 24px;
}
body[data-theme] .sp-fee-table td { padding: 12px 0 12px 12px; vertical-align: top; line-height: 24px; }
body[data-theme] .sp-fee-table tbody tr { border-top: 1px dashed var(--white-15); }
body[data-theme] .sp-fee-table tbody tr:last-child th,
body[data-theme] .sp-fee-table tbody tr:last-child td { padding-bottom: 0; }
body[data-theme] .sp-fee-table .sp-fee-none { color: var(--white-35); font-weight: 500; }


/* ---------- 06 side sheets: ivory paper (owner, 2026-11-04) ----------
   The timetable and the two side fee cards are the home page's paper,
   dimmed a touch, with a fine grain. Each sheet has a navy title band
   carrying the sport's own faint motif; day names and column heads take
   the sport's sheet accent (--sport-sheet-accent / -motif / -hover, set in
   css/sports/<slug>.css); today's header is an orange slab with ink type (the home page's
   "orange as a shape" rule: no orange TEXT on paper).
   Contrast on #EAE6DD: ink 14.3, teal #0B6E66 4.9, orange-ink 4.9;
   ink on orange 5.6. */
body[data-theme] .sp-week,
body[data-theme] .sp-fee-card {
  --sheet-paper: #EAE6DD;
  --sheet-title: var(--ink);
  --sheet-text: var(--ink-62);
  --sheet-accent: var(--sport-sheet-accent, #0B6E66);
  --sheet-line: rgba(8, 24, 47, 0.12);
  --sheet-soft: rgba(242, 101, 34, 0.08);
  --orange-ink: #A8420E;
  position: relative;
  overflow: hidden;
  background: var(--sheet-paper);
  border: 0;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -28px rgba(0, 0, 0, 0.6);
}
/* Paper grain, multiplied into the sheet. */
body[data-theme] .sp-week::after,
body[data-theme] .sp-fee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  mix-blend-mode: multiply;
  opacity: 0.35;
}
/* Navy title band with a ripple at its right end. */
body[data-theme] .sp-week-title,
body[data-theme] .sp-fee-card-title {
  background: var(--sport-sheet-motif, none) right 18px center / 150px 40px no-repeat, var(--ink);
  color: var(--sheet-paper);
}
body[data-theme] .sp-week-title { border-bottom: 0; }
body[data-theme] .sp-fee-card-title {
  margin: -22px -24px 18px;
  padding: 13px 24px;
  font-size: 15px;
  border-bottom: 0;
}
body[data-theme] .sp-week-foot { border-color: var(--sheet-line); }
body[data-theme] .sp-week-col + .sp-week-col { border-color: var(--sheet-line); }
body[data-theme] .sp-week-day { color: var(--sheet-accent); font-weight: 700; }
body[data-theme] .sp-week-col.is-today { background-color: var(--sheet-soft); }
body[data-theme] .sp-week-col.is-today::before { display: none; }
body[data-theme] .sp-week-col.is-today .sp-week-day {
  align-self: stretch;
  margin: -14px -8px 8px;
  padding: 8px 8px 4px;
  box-sizing: border-box;
  height: 46px;
  min-height: 0;
  background: var(--orange);
  color: var(--ink);
}
body[data-theme] .sp-week .sp-today { color: var(--ink); opacity: 0.8; }
@media (hover: hover) {
  body[data-theme] .sp-week-col:hover { background-color: var(--sport-sheet-hover, rgba(8, 24, 47, 0.04)); }
}
body[data-theme] .sp-week-col[data-closed] {
  background-image: repeating-linear-gradient(135deg, rgba(8, 24, 47, 0.07) 0 1px, transparent 1px 10px);
}
body[data-theme] .sp-t-n { color: var(--sheet-title); }
body[data-theme] .sp-t-s,
body[data-theme] .sp-week-closed,
body[data-theme] .sp-week-note,
body[data-theme] .sp-week-rowtag { color: var(--sheet-text); }
body[data-theme] .sp-week-none { color: var(--ink-35); }
body[data-theme] .sp-week-note-label { color: var(--sheet-accent); }
body[data-theme] .sp-chip.is-past { text-decoration-color: var(--ink-35); }

body[data-theme] .sp-fee-card .sp-fee-label,
body[data-theme] .sp-fee-card .sp-fee-price,
body[data-theme] .sp-fee-card .sp-fee-table td,
body[data-theme] .sp-fee-card .sp-fee-table tbody th { color: var(--sheet-title); }
body[data-theme] .sp-fee-card .sp-fee-per,
body[data-theme] .sp-fee-card .sp-fee-note,
body[data-theme] .sp-fee-card .sp-fee-single-text { color: var(--sheet-text); }
body[data-theme] .sp-fee-card .sp-fee-table thead th { color: var(--sheet-accent); font-weight: 700; }
body[data-theme] .sp-fee-card .sp-fee-table .sp-fee-none { color: var(--ink-35); }
body[data-theme] .sp-fee-card .sp-fee-single { border-color: var(--sheet-line); }
body[data-theme] .sp-fee-card .sp-fee-row + .sp-fee-row,
body[data-theme] .sp-fee-card .sp-fee-table tbody tr { border-color: rgba(8, 24, 47, 0.16); }

@media (max-width: 860px) {
  body[data-theme] .sp-fees { grid-template-columns: 1fr; }
  body[data-theme] .sp-week-grid { grid-template-columns: 1fr; }
  body[data-theme] .sp-week-col {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: baseline;
    padding: 11px 16px;
    text-align: left;
  }
  body[data-theme] .sp-week-col + .sp-week-col { border-left: 0; border-top: 1px solid var(--white-15); }
  body[data-theme] .sp-week-col.is-today::before { top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  body[data-theme] .sp-week-day { display: flex; flex-direction: column-reverse; min-height: 0; margin: 0; font-size: 14px; }
  body[data-theme] .sp-today { margin-top: 1px; }
  body[data-theme] .sp-week-cell { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
  body[data-theme] .sp-week-cell[data-closed] { justify-content: flex-start; }
  body[data-theme] .sp-t-n { font-size: 17px; }
  body[data-theme] .sp-week-title,
  body[data-theme] .sp-week-foot { padding-left: 16px; padding-right: 16px; }
  body[data-theme] .sp-scrub { padding: 24px 20px; }
  body[data-theme] .sp-scrub-stop { font-size: 11.5px; }
}
@media (max-width: 860px) {
  body[data-theme] .sp-week-col + .sp-week-col { border-top-color: var(--sheet-line); }
}
@media (max-width: 860px) {
  body[data-theme] .sp-week-col.is-today .sp-week-day {
    margin: -11px 0 -11px -16px;
    padding: 11px 8px 11px 16px;
    height: auto;
    min-height: 0;
  }
  body[data-theme] .sp-fee-card-title { margin: -22px -24px 16px; }
}

/* ---------- 06 two-state price card (floodlights off / on) ---------- */
body[data-theme] .sp-tg-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--sheet-line);
}
body[data-theme] .sp-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
body[data-theme] .sp-tg-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(8, 24, 47, 0.18);
  transition: background-color 0.25s;
}
body[data-theme] .sp-tg-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sheet-paper, #fff);
  box-shadow: 0 1px 2px rgba(8, 24, 47, 0.35);
  transition: translate 0.25s var(--ease);
}
body[data-theme] .sp-fee-toggle[data-on] .sp-tg-track { background: var(--orange); }
body[data-theme] .sp-fee-toggle[data-on] .sp-tg-knob { translate: 20px 0; }
body[data-theme] .sp-tg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
/* Ready (JS ran): show only the state's own text and price. Without JS
   both prices stay listed, "₹800 / ₹1,000". */
body[data-theme] .sp-fee-toggle.is-ready:not([data-on]) .sp-tg-on,
body[data-theme] .sp-fee-toggle.is-ready[data-on] .sp-tg-off { display: none; }
body[data-theme] .sp-fee-toggle:not(.is-ready) .sp-tg-on::before { content: ' / '; }
body[data-theme] .sp-fee-toggle:not(.is-ready) .sp-tg { display: none; }
body[data-theme] .sp-fee-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sheet-line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--sheet-text);
}
@media (prefers-reduced-motion: reduce) {
  body[data-theme] .sp-tg-knob,
  body[data-theme] .sp-tg-track { transition: none; }
}

/* Coaching-only sports have no side fee cards: the fees card stands alone. */
body[data-theme] .sp-fees--solo { grid-template-columns: minmax(0, 720px); }

/* Photo slots holding a real photo instead of the placeholder block. */
body[data-theme] .ph.has-photo { background: var(--dive-1); }
body[data-theme] .ph.has-photo::before,
body[data-theme] .ph.has-photo::after { content: none; }
body[data-theme] .ph.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* A sport at both venues: the two venue cards side by side. */
body[data-theme] .sp-venues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 560px));
  gap: 16px;
}
body[data-theme] .sp-venues .sp-venue { max-width: none; }
@media (max-width: 860px) {
  body[data-theme] .sp-venues { grid-template-columns: minmax(0, 1fr); }
}
