/* site.css — huisstijl Fitness Race Timer (eigen merk, niet die van Infitnity).
   Richting: donker neutraal (geen groen), één signaalkleur "flare"-oranje voor lopende klokken en knoppen, groen alleen
   als betekenis (finish). Koppen in Barlow Condensed (sportbord), lopende tekst in Barlow; klokcijfers tabular.
   De timer (public/assets/timer.css) leest deze tokens: --accent, --accent-rgb, --finish, --warn, --surface, --line, --muted. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bai-jamjuree-400.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/bai-jamjuree-500.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/bai-jamjuree-600.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/bai-jamjuree-700.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/bai-jamjuree-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/bai-jamjuree-700-italic.woff2") format("woff2"); }

:root {
  /* Merk (7 okt '26: diepteal + cyaan naar het voorbeeld van styrekx.nl; Bai Jamjuree cursief). Een club (white-label)
     overschrijft deze tokens met een eigen <style>: --bg, --bg-2, --surface, --accent, --accent-rgb, --on-accent, fonts. */
  --accent: #3be9ed;
  --accent-rgb: 59, 233, 237;
  --accent-bright: #7af3f6;
  --on-accent: #0a2b33;
  --finish: #3ddc84;
  --finish-rgb: 61, 220, 132;
  --warn: #ffcc33;

  /* Vlakken */
  --bg: #0a2b33;
  --bg-2: #0c313a;
  --surface: #123d47;
  --surface-2: #0e353e;
  --ink: #ffffff;
  --muted: #b7cfd4;
  --line: rgba(255, 255, 255, 0.12);
  --card: linear-gradient(135deg, rgba(30, 70, 82, 0) 0%, rgb(30, 70, 82) 100%);
  --card-flat: rgba(30, 70, 82, 0.55);

  /* Maatvoering */
  --max: 1240px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-btn: 10px;
  --edge: 16px;

  /* Type */
  --font-display: "Bai Jamjuree", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Bai Jamjuree", "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs: 1;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { font-size: calc(1em * var(--fs)); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a { color: var(--accent); }
p a:hover { color: var(--accent-bright); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; font-style: italic; line-height: 1.04; letter-spacing: 0.005em; margin: 0 0 0.45em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h1 .hl, h2 .hl { font-weight: 700; }
.hl { color: var(--accent); }
.kicker { display: inline-block; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.kicker::before { content: "\203A\203A"; margin-right: 8px; letter-spacing: -0.1em; font-weight: 700; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 1.08rem; }
.section-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section--black { background: var(--bg); }
.section--deep { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Fijn raster zoals de lichtbaan-achtergronden van styrekx.nl, heel subtiel */
.section--black { background: var(--bg) linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 120px; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knoppen ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius-btn); font-family: var(--font-body); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.22); }
.btn--primary:hover { background: var(--accent-bright); box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.35); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.18); }
.btn svg { flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; height: 72px; padding: 0 24px;
  background: rgba(10, 43, 51, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
/* Logo (7 okt '26): SVG met de letters als paden; geen afgeronde hoeken op de img (anders vallen de hoeken van het logo weg). */
.brand img { display: block; }
.brand-logo { height: 44px; width: auto; }
.brand--footer .brand-logo { height: 56px; }
@media (max-width: 560px) { .site-header .brand-logo { height: 38px; } }
/* Menu in het midden, groter, met uitklaplijsten bij aanwijzen (7 okt '26) */
.main-nav { display: flex; align-items: center; gap: 4px; justify-self: center; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-btn); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); transition: background 0.15s, color 0.15s; }
.nav-link svg { width: 14px; height: 14px; opacity: 0.55; transition: transform 0.2s; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(255, 255, 255, 0.07); }
.nav-item:hover > .nav-link svg, .nav-item.is-open > .nav-link svg { transform: rotate(180deg); opacity: 1; }
.nav-drop { position: absolute; left: 50%; top: 100%; z-index: 60; padding-top: 10px; min-width: 280px; transform: translateX(-50%) translateY(6px); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.22s var(--ease-out), visibility 0s linear 0.2s; }
.nav-item:hover > .nav-drop, .nav-item:focus-within > .nav-drop, .nav-item.is-open > .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.nav-drop--right { left: auto; right: 0; transform: translateY(6px); }
.nav-item:hover > .nav-drop--right, .nav-item:focus-within > .nav-drop--right, .nav-item.is-open > .nav-drop--right { transform: translateY(0); }
.nav-drop-in { display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.nav-drop-link { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-align: left; transition: background 0.12s; }
.nav-drop-link b { font-weight: 700; font-size: 0.98rem; }
.nav-drop-link span { color: var(--muted); font-size: 0.82rem; }
.nav-drop-link:hover, .nav-drop-link:focus-visible { background: rgba(255, 255, 255, 0.07); outline: none; }
.nav-drop-btn { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; }
.nav-drop form { margin: 0; }
.nav-drop-who { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.nav-drop-who > div b { display: block; font-size: 0.98rem; }
.nav-drop-who > div span { display: block; color: var(--muted); font-size: 0.8rem; }
.nav-drop-who .nav-avatar { width: 36px; height: 36px; }
.header-ctas { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-ctas .btn { padding: 11px 20px; }
.nav-account { height: 44px; padding: 0 12px; border-radius: var(--radius-btn); border: 0; background: none; font: inherit; cursor: pointer; }
.nav-account:hover, .nav-item.is-open > .nav-account { background: rgba(255, 255, 255, 0.07); }
.nav-account > svg:last-child { width: 14px; height: 14px; opacity: 0.55; }
.mm-group { display: flex; flex-direction: column; padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.mm-kick { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.mm-group a { padding: 9px 0; border: 0; font-size: 1.25rem; }
/* Hamburger (7 okt '26 avond): twee balken die naar een kruisje draaien; de knop blijft boven de popup zichtbaar. */
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.07); }
.nav-burger { position: relative; display: block; width: 20px; height: 10px; }
.nav-burger i { position: absolute; left: 0; top: 4px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.34s var(--ease-out); }
.nav-burger i:first-child { transform: translateY(-4px); }
.nav-burger i:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] { border-color: rgba(var(--accent-rgb), 0.5); }
.nav-toggle[aria-expanded="true"] .nav-burger i:first-child { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-burger i:last-child { transform: translateY(0) rotate(-45deg); }
/* Popup onder de kop: schuift en vervaagt in, items komen kort na elkaar binnen; scrollt zelf als het menu langer is dan het scherm. */
.mobile-menu { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; z-index: 45; display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 24px 0; background: var(--bg); border-top: 1px solid var(--line); opacity: 0; transform: translateY(-10px); transition: opacity 0.22s ease, transform 0.3s var(--ease-out); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav > * { opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.36s var(--ease-out); }
.mobile-menu.is-open .mobile-nav > * { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav > :nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-nav > :nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-nav > :nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-nav > :nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-nav > :nth-child(n+6) { transition-delay: 0.2s; }
.mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.mm-foot { position: sticky; bottom: 0; display: flex; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); margin-top: 12px; background: linear-gradient(180deg, rgba(10, 43, 51, 0) 0%, var(--bg) 28%); }
.mm-foot .btn { width: 100%; }
body.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mobile-menu, .mobile-nav > *, .nav-burger i { transition: none !important; } }
/* Workouts: "Coming soon" in het menu */
.soon-badge { align-self: flex-start; justify-self: start; display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-drop-soon { display: grid; gap: 8px; max-width: 300px; padding: 12px 12px 10px; }
.nav-drop-soon p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.mobile-nav .mm-group a { padding: 9px 0; border: 0; font-size: 1.25rem; }
.mm-group--soon { gap: 8px; padding-bottom: 14px; }
.mm-group--soon p { margin: 0; color: var(--muted); font-size: 0.95rem; }
button.nav-link { border: 0; background: none; cursor: pointer; }
@media (max-width: 1100px) { .nav-link { padding: 10px 10px; font-size: 0.98rem; } .site-header { gap: 16px; } }
/* Tabletweergave met hamburger: zonder JS onder 1360 px (gemeten drempel, uitgelogd), met JS precies zodra de kop niet meer past
   (app.js: html.nav-compact; ingelogd is de accountknop breder). */
@media (max-width: 1360px) {
  html:not(.nav-fit) .site-header:not(.wl-header) { display: flex; }
  html:not(.nav-fit) .site-header:not(.wl-header) .main-nav, html:not(.nav-fit) .site-header:not(.wl-header) .header-ctas > .btn { display: none; }
  html:not(.nav-fit) .site-header:not(.wl-header) .header-ctas { margin-left: auto; }
  html:not(.nav-fit) .nav-toggle { display: grid; margin-left: 4px; }
}
html.nav-compact .site-header:not(.wl-header) { display: flex; }
html.nav-compact .site-header:not(.wl-header) .main-nav, html.nav-compact .site-header:not(.wl-header) .header-ctas > .btn { display: none; }
html.nav-compact .site-header:not(.wl-header) .header-ctas { margin-left: auto; }
html.nav-compact .nav-toggle { display: grid; margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero .wrap { position: relative; }
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/img/race-kettlebell.webp") center 30% / cover no-repeat; filter: grayscale(1) contrast(1.1); opacity: 0.26; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 43, 51, 0.55) 0%, rgba(10, 43, 51, 0.82) 55%, var(--bg) 100%), radial-gradient(50% 40% at 80% 20%, rgba(var(--accent-rgb), 0.16), transparent 70%); }
.hero h1 { max-width: 14ch; }
.hero-sub { max-width: 60ch; color: var(--muted); font-size: 1.15rem; margin: 18px 0 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--finish); }
.hero-clock { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.clock-card { position: relative; padding: 18px 18px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.clock-card.is-running { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 32px rgba(var(--accent-rgb), 0.22); }
.clock-card.is-finished { border-color: rgba(var(--finish-rgb), 0.7); }
.clock-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.clock-cat { color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.clock-time { margin: 10px 0 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.clock-card.is-running .clock-time { color: var(--accent); }
.clock-card.is-finished .clock-time { color: var(--finish); }
.clock-station { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.clock-ticks { display: flex; gap: 3px; margin-top: 10px; }
.clock-ticks i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.clock-ticks i.is-done { background: var(--accent); }
.clock-card.is-finished .clock-ticks i.is-done { background: var(--finish); }

/* ---------- Kaarten / rasters ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card--flat { background: var(--card-flat); }
.card h3 { margin-top: 14px; }
.card p { margin: 8px 0 0; color: var(--muted); }
.card-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.card-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); }
.race-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s ease, background 0.2s ease; }
.race-card:hover { border-color: rgba(var(--accent-rgb), 0.6); }
.race-card .race-tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); color: var(--accent); font-size: 0.7rem; font-style: italic; font-weight: 700; letter-spacing: 0.08em; }
.race-card h3 { margin: 6px 0 0; font-size: 1.6rem; }
.race-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.race-card .race-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.04em; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; align-items: center; }
.split ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.split li svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent); }
.split-figure { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.qr-mock { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.qr-mock .qr { display: block; aspect-ratio: 1; padding: 6px; border-radius: 12px; background: #fff; }
.qr-mock .qr img { display: block; width: 100%; height: auto; }
.qr-mock ol { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }

/* ---------- Prijzen ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 10px 44px rgba(var(--accent-rgb), 0.16); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.price-card h3 { font-size: 1.7rem; margin: 0; }
.price-tag { color: var(--muted); font-size: 0.95rem; margin: 2px 0 14px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.price-amount small { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--muted); margin-left: 6px; text-transform: none; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; color: var(--muted); font-size: 0.98rem; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--finish); }
.price-card .btn { margin-top: auto; }
.price-note { margin: 22px 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* ---------- Formulier (wachtlijst) ---------- */
.form-card { max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--card-flat); border: 1px solid var(--line); }
.form-card h2 { font-size: 2rem; }
.form-card > p { color: var(--muted); margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); color: #fff; font: inherit; font-size: 1rem; }
.field textarea { height: auto; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22); }
.field select option { color: #000; background: #fff; }
.field--wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.form-foot small { color: var(--muted); }
.form-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(var(--finish-rgb), 0.12); border: 1px solid rgba(var(--finish-rgb), 0.5); font-weight: 600; }
form.is-done .form-grid, form.is-done .form-foot { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { position: relative; width: 100%; padding: 20px 44px 20px 0; text-align: left; background: none; border: 0; color: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.08rem; transition: color 0.2s ease; }
.faq-q::before, .faq-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: var(--accent); transition: transform 0.4s var(--ease-out), opacity 0.3s ease; }
.faq-q::after { transform: rotate(90deg); }
.faq-item.open .faq-q::before { transform: rotate(180deg); }
.faq-item.open .faq-q::after { transform: rotate(180deg); opacity: 0; }
.faq-q:hover { color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); color: var(--muted); }
.faq-item.open .faq-a { max-height: 720px; }
.faq-a p { margin: 0 0 22px; }

/* ---------- Timerpagina's ---------- */
body.subpage main > section:first-child { padding-top: clamp(30px, 4vw, 48px); }
.tc-section .wrap { padding: 0 16px; }
.timer-howto { margin-top: 44px; max-width: 840px; }
.timer-howto h2 { margin-bottom: 14px; }
.timer-howto ol { color: var(--muted); padding-left: 20px; line-height: 1.9; }
.sync-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 6px; box-shadow: 0 0 8px var(--accent); animation: syncpulse 1.6s ease-in-out infinite; }
@keyframes syncpulse { 50% { opacity: 0.35; } }
body.timer-fs { overflow: hidden; }
body.timer-fs .site-header, body.timer-fs .site-footer { display: none !important; }
.tc-race { margin-top: 48px; }

/* ---------- Juridisch / tekstpagina's ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 36px; }
.prose p, .prose li { color: var(--muted); }
.prose .note { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(var(--warn), 0.5); background: rgba(255, 204, 51, 0.08); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-about p { color: var(--muted); max-width: 36ch; margin: 14px 0 0; font-size: 0.95rem; }
.footer-maker a { color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.footer-h { font-size: 0.8rem; letter-spacing: 0.14em; color: var(--muted); margin: 6px 0 12px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #fff; font-size: 0.95rem; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-tm { margin: 36px 0 0; color: var(--muted); font-size: 0.8rem; max-width: 90ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sync-dot, .faq-q::before, .faq-q::after, .faq-a { animation: none !important; transition: none !important; }
}

/* ---------- Accounts (7 okt '26): inloggen, mijn clubs, clubpagina ---------- */
.nav-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.02rem; color: var(--muted); transition: color 0.15s, background 0.15s; }
.nav-account:hover { color: #fff; }
.nav-account svg { width: 18px; height: 18px; }
.nav-account.is-user { color: #fff; }
.nav-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: rgba(var(--accent-rgb), 0.18); border: 1px solid rgba(255, 255, 255, 0.14); }
.nav-avatar--txt { color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.acct-bar .nav-avatar { width: 34px; height: 34px; font-size: 1.05rem; }
/* Accountknop (8 okt '26 avond): alleen de foto in een ring; leeg = geen abonnement, accentkleur = abonnement */
.nav-account, .nav-account.is-user { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--muted); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24); }
.nav-account.is-sub { box-shadow: inset 0 0 0 2px var(--accent); }
.nav-account .nav-avatar { width: 32px; height: 32px; border: 0; }
.nav-account > svg, .nav-account > svg:last-child { width: 20px; height: 20px; opacity: 1; }
.nav-account:hover, .nav-item.is-open > .nav-account { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-drop-plan { margin-top: 2px; font-size: 0.74rem !important; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.nav-drop-plan.is-on { color: var(--accent) !important; }
.wl-cta { margin-top: 6px; }
.wrap--narrow { max-width: 900px; }
.account-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.account-page .lead { color: var(--muted); margin: 0 0 28px; }
.account-page .crumb { margin: 0 0 6px; color: var(--muted); font-size: 0.9rem; }
.account-page .crumb a { color: var(--accent); }
.login-card { max-width: 460px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--card-flat); border: 1px solid var(--line); }
.login-card h1 { font-size: 2.4rem; margin: 0 0 8px; }
.login-card > p { color: var(--muted); margin: 0 0 22px; }
.btn--wide { width: 100%; justify-content: center; }
.btn--small { padding: 8px 14px; font-size: 0.8rem; }
.btn--text { background: none; border-color: transparent; color: var(--muted); padding: 8px 10px; }
.btn--text:hover { color: #fff; border-color: transparent; background: rgba(255, 255, 255, 0.06); }
.login-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.login-or::before, .login-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login-form { display: grid; gap: 12px; }
.login-foot { margin: 20px 0 0 !important; font-size: 0.85rem; }
.login-foot a { color: var(--accent); }
.form-msg--err { background: rgba(255, 90, 31, 0.12); border-color: rgba(255, 90, 31, 0.55); }
.login-card .form-msg { margin: 0 0 18px; }
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 28px; padding: 12px 16px; border-radius: 14px; background: var(--card-flat); border: 1px solid var(--line); }
.acct-bar > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.acct-bar b { color: #fff; }
.acct-bar small { color: var(--muted); }
.acct-bar form { margin: 0; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; margin: 0 0 28px; }
.club-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.15s; }
.club-card:hover { border-color: rgba(var(--accent-rgb), 0.6); }
.club-card h2 { font-size: 1.6rem; margin: 0; }
.club-role { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.form-card--left { max-width: none; margin: 0; }
.form-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.form-inline .field { flex: 1 1 240px; }
.form-inline .btn { height: 46px; }
.card--flat { margin: 0 0 18px; }
.card--flat h2 { font-size: 1.5rem; margin: 0 0 6px; }
.card--flat > p { margin: 0 0 16px; }
.card .hint { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; padding: 8px 10px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.table .acts form { margin: 0; }
.mono { font-family: var(--font-display); letter-spacing: 0.12em; font-size: 1.1rem; }
.member-list { list-style: none; margin: 0 0 16px; padding: 0; }
.member-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.member-list li > span:first-child { flex: 1 1 200px; }
.member-list small { color: var(--muted); }
.member-list form { margin: 0; }

/* ---------- Gym TV koppelen (/tv/ en /pair/) ---------- */
.tv-section { min-height: calc(100vh - 72px); display: flex; align-items: center; }
.tv-pair { max-width: 960px; margin: 0 auto; text-align: center; }
.tv-pair h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.tv-lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin: 0 auto 36px; }
.tv-grid { display: grid; grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr); gap: 40px; align-items: center; justify-content: center; text-align: left; }
.tv-qr { aspect-ratio: 1; display: grid; place-items: center; border-radius: 18px; background: #fff; color: #0a2b33; font-weight: 700; }
.tv-qr svg { display: block; width: 100%; height: 100%; border-radius: 18px; }
.tv-code-label { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.tv-code { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 1; letter-spacing: 0.12em; color: var(--accent); }
.tv-status { margin: 14px 0 0; color: var(--muted); }
.tv-foot { margin: 40px 0 0; color: var(--muted); font-size: 0.9rem; }
.tv-foot a { color: var(--accent); }
@media (max-width: 720px) { .tv-grid { grid-template-columns: 1fr; text-align: center; } .tv-qr { max-width: 280px; margin: 0 auto; } }
.login-card--wide { max-width: 640px; }
.pair-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pair-form h2 { font-size: 1.4rem; margin: 0; }
.pair-list { display: grid; gap: 8px; }
.pair-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.15); cursor: pointer; }
.pair-opt:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.08); }
.pair-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pair-opt span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pair-race { height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); color: #fff; font: inherit; }
.pair-race option { color: #000; background: #fff; }

/* ---------- Racelogo's en white-label (fase 3) ---------- */
.nav-drop-link.has-logo { grid-template-columns: 36px 1fr; display: grid; align-items: center; gap: 10px; }
.nav-drop-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: #fff; }
.nav-drop-txt { display: grid; gap: 2px; }
.race-card .race-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #fff; }
.form-grid--settings { margin-top: 6px; }
.field--color .color-row { display: flex; align-items: center; gap: 10px; }
.field--color input[type="color"] { width: 56px; height: 46px; padding: 2px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); cursor: pointer; }
.field--color code { color: var(--muted); font-size: 0.9rem; }
.wl-header { grid-template-columns: 1fr auto; }
.wl-header .header-ctas { justify-self: end; }
.wl-brand { font-style: normal; font-weight: 700; letter-spacing: 0.02em; }
.wl-logo { display: block; height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.wl-footer { padding: 36px 0 28px; }
/* Hiigym-merk op een clubhost (Robin, 9 okt '26): logo met hiigym.com eronder, boven de credit */
.wl-hiigym { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 18px; }
.wl-hiigym img { display: block; height: 32px; width: auto; }
.wl-hiigym span { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.wl-hiigym:hover span { color: #fff; }
.wl-powered { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; }
.wl-powered a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.wl-footer .footer-bottom a { color: var(--muted); }
@media (max-width: 900px) { .wl-header { display: flex; } .wl-header .header-ctas { display: flex; margin-left: auto; } .wl-header .header-ctas .btn { padding: 10px 14px; font-size: 0.74rem; } }

/* Race explanation (/races/<race>/, 7 okt '26) */
.crumb { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; }
.crumb a { color: var(--accent); }
.race-hero { display: flex; align-items: center; gap: 22px; }
.race-hero h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.race-hero .kicker { margin-bottom: 6px; }
.race-hero-logo { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: #fff; }
.race-intro { max-width: 820px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; }
.race-intro b { color: var(--ink); }
.race-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin: 28px 0 0; }
.race-facts div { padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.race-facts dt { color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.race-facts dd { margin: 4px 0 0; }
.race-body { max-width: 840px; }
.race-body h2 { font-size: 1.7rem; margin-top: 36px; }
.race-body h2:first-child { margin-top: 0; }
.race-body p { color: var(--muted); }
.race-note { margin-top: 26px; font-size: 0.88rem; }
@media (max-width: 560px) { .race-hero { gap: 14px; } .race-hero-logo { width: 64px; height: 64px; } }
.price-grid--2 { max-width: 840px; margin: 0 auto; }
.price-note a { color: var(--accent); }
.faq-a a { color: var(--accent); }
/* Clubhost: knop terug naar de site van de club, onder de timer */
.tc-back { justify-content: center; }
.nav-account { white-space: nowrap; }
@media (max-width: 900px) { .wl-logo { height: 44px; } }
/* Clublogo op de kaartvoet groter dan het standaard 22 px (Infitnity: vierkant logo, zoals op de oude timer 36 px) */
.wl-page .tc-logos img { height: 32px; max-width: 140px; }
/* Clubpagina: timerdomein bovenaan (8 okt '26) */
.club-host { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -6px 0 26px; padding: 14px 18px; border-radius: var(--radius); background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.club-host-lab { color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.club-host-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.1rem; color: #fff; }
.club-host-link:hover { color: var(--accent); }
.club-host-note { flex-basis: 100%; color: var(--muted); font-size: 0.86rem; }
.club-card-host { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.club-card-host svg { width: 16px; height: 16px; color: var(--accent); }
/* Tussenstand (8 okt '26): menu tussen logo en knoppen in plaats van exact in het midden, vóór de hamburger nodig is. */
html.nav-tight .site-header:not(.wl-header) { grid-template-columns: auto 1fr auto; }
/* Account, My timers, simulaties en schema (8 okt '26) */
.account-photo .photo-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.account-photo .nav-avatar { width: 96px; height: 96px; border-radius: 50%; font-size: 2.4rem; }
.account-photo .photo-row p { margin: 0 0 12px; color: var(--muted); }
.account-photo .btn-row { margin-top: 0; }
.account-photo form { margin: 0; }
.club-card > span:not(.club-role):not(.race-go):not(.club-card-host) { color: var(--muted); font-size: 0.95rem; }
.table small.mono { color: var(--muted); font-size: 0.8rem; }
.table .muted, .sched .muted { color: var(--muted); }
.sim-edit { display: inline-block; }
.sim-edit[open] { display: block; width: 100%; margin: 8px 0; }
.sim-edit summary { list-style: none; cursor: pointer; }
.sim-edit summary::-webkit-details-marker { display: none; }
.sim-new { margin-top: 18px; }
.sim-new > summary { list-style: none; cursor: pointer; display: inline-flex; }
.sim-new > summary::-webkit-details-marker { display: none; }
.sim-new[open] > summary { margin-bottom: 14px; }
.sim-new textarea { font-family: ui-monospace, Consolas, monospace; font-size: 0.9rem; }
.sched { display: grid; gap: 12px; margin-top: 22px; }
.sched-heat { padding: 14px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); break-inside: avoid; }
.sched-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.sched-head b { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 1.15rem; }
.sched-time { padding: 2px 10px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.sched-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sched-list li { display: flex; gap: 10px; align-items: baseline; }
.sched-n { min-width: 26px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
@media print {
  .site-header, .site-footer, .mobile-menu, .tabbar, .no-print, .crumb { display: none !important; }
  body, html { background: #fff !important; color: #000 !important; }
  .sched-heat { background: #fff; border-color: #bbb; color: #000; }
  .sched-time { background: #eee; color: #000; }
  h1, .lead, .sched .muted, .sched-n { color: #000 !important; }
}
/* Finishfoto-uploadpagina (8 okt '26) */
.photo-up h1 { margin-bottom: 8px; }
.photo-time { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; color: var(--muted); }
.photo-time b { font-family: "Courier New", monospace; font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.photo-preview { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.photo-preview img { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.photo-empty { display: grid; place-items: center; min-height: 220px; color: var(--muted); }
.photo-up .btn-row { margin-top: 18px; }
.photo-up .hint { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
/* Clublogo op de clubpagina en de clubkaart (8 okt '26) */
.club-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.club-title h1 { margin: 0; }
.club-logo { flex: 0 0 auto; height: 64px; width: auto; max-width: 140px; object-fit: contain; }
.club-card-logo { height: 40px; width: auto; max-width: 120px; object-fit: contain; align-self: flex-start; }
/* Simulatietabel (8 okt '26 avond): één regel, verticaal gecentreerd, Open met tekst en de rest als icoon */
.table td b { display: block; line-height: 1.25; }
.table td small.mono { display: block; margin-top: 3px; letter-spacing: 0.06em; }
.table .nowrap { white-space: nowrap; }
.table .num { text-align: center; font-variant-numeric: tabular-nums; }
.table .acts { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 6px; }
.table--sims td:last-child { width: 1%; }
.table-wrap:has(.table--sims) { overflow: visible; }
.btn--small svg { width: 15px; height: 15px; }
.icon-btn { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border-radius: var(--radius-btn); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); font: inherit; cursor: pointer; transition: color 0.15s, background 0.15s, border-color 0.15s; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover, .icon-btn:focus-visible, .sim-edit[open] > .icon-btn { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); outline: none; }
.icon-btn--danger:hover, .icon-btn--danger:focus-visible { color: #ff8f8f; border-color: rgba(255, 143, 143, 0.45); }
.sim-edit, .sim-edit[open] { position: relative; display: inline-block; width: auto; margin: 0; }
.sim-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: 10px; width: 260px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
@media (max-width: 640px) {
  .table--sims thead { display: none; }
  .table--sims, .table--sims tbody { display: block; }
  .table--sims tr { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table--sims td { padding: 0; border: 0; color: var(--muted); }
  .table--sims td:first-child { grid-column: 1 / -1; color: var(--ink); }
  .table--sims td:last-child { grid-column: 1 / -1; width: auto; margin-top: 6px; }
  .table--sims .acts { justify-content: flex-start; }
  .sim-pop { right: auto; left: 0; }
}
/* Kaarttitel met icoon; actieve sessies; uitnodigingen */
.card-h { display: flex; align-items: center; gap: 10px; }
.card-h svg { width: 20px; height: 20px; color: var(--accent); }
.live-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.live-dot.is-on { background: var(--finish); }
.live-list, .invite-list { list-style: none; margin: 0; padding: 0; }
.live-row, .invite-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.live-row:last-child, .invite-list li:last-child { border-bottom: 0; }
.live-badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.live-badge.is-live { background: rgba(var(--finish-rgb), 0.16); color: var(--finish); }
.live-txt, .invite-txt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.live-txt span, .invite-txt span { color: var(--muted); font-size: 0.88rem; }
.live-txt small.mono { margin-left: 4px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); opacity: 0.8; }
.live-row .acts, .invite-acts { display: flex; align-items: center; gap: 6px; margin: 0; }
.invites { border-color: rgba(var(--accent-rgb), 0.45); }
.badge-invited { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 204, 51, 0.14); color: var(--warn) !important; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .live-row, .invite-list li { flex-wrap: wrap; } .live-row .acts { width: 100%; } }
/* Clublogo en profielfoto op zwart (Robin, 8 okt '26 avond) */
.club-logo, .club-card-logo { box-sizing: content-box; padding: 8px 10px; border-radius: 12px; background: #000; }
.club-logo--home { display: block; height: 72px; max-width: 220px; margin: 0 auto 20px; }
.club-home { text-align: center; }
.club-home .btn--wide { justify-content: center; }
.club-home .login-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.club-home .login-foot a svg { width: 16px; height: 16px; }
.nav-avatar:is(img) { background: #000; }
/* Prijzen (8 okt '26 avond): tilt naar de muis (app.js, naar layer pricing-tilt), schakelaar atleten/gyms, altijd inbegrepen */
.price-grid { perspective: 1200px; }
.price-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.price-card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.15s ease-out, border-color 0.3s; }
.price-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), 0.14), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.price-card:hover::before { opacity: 1; }
.price-card:hover { border-color: rgba(var(--accent-rgb), 0.45); }
.price-card > :not(.price-badge) { position: relative; }
.price-sub { margin: 8px 0 0; color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.price-sub + .feature-list { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .price-card { transform: none !important; transition: none; } }
.seg { position: relative; display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.seg-ind { position: absolute; top: 5px; left: 0; bottom: 5px; width: 0; border-radius: 999px; background: var(--accent); transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.seg-btn { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); transition: color 0.2s; }
.seg-btn:hover { color: #fff; }
.seg-btn.is-on { color: var(--on-accent); }
.plans .price-head { margin-bottom: 26px; }
.plans .price-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.price-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .seg-ind { transition: none; } }
.price-always { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius-lg); background: rgba(var(--accent-rgb), 0.06); border: 1px solid rgba(var(--accent-rgb), 0.25); }
.price-always-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; }
.price-always-head h3 { margin: 0; font-size: 1.4rem; }
.price-always-head p { margin: 0; color: var(--muted); }
.always-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px 22px; }
.always-grid li { display: flex; gap: 10px; align-items: flex-start; }
.always-grid svg { flex: 0 0 auto; margin-top: 3px; color: var(--finish); }
.always-grid b { display: block; font-size: 0.98rem; }
.always-grid span { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.footer-contact { margin-top: 8px !important; }
.price-below { max-width: 720px; margin: 26px auto 0; color: var(--muted); text-align: center; font-size: 0.98rem; line-height: 1.6; }
.price-grid { margin-top: 10px; }
#plans .section-head, #pricing .section-head { margin-bottom: 30px; }
/* Bezwaren boven de vouw en de garantie onder de kaarten (8 okt '26 nacht) */
.price-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.price-proof li { display: inline-flex; align-items: center; gap: 6px; }
.price-proof svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--finish); }
.price-guarantee { display: flex; align-items: flex-start; gap: 12px; max-width: 720px; margin: 26px auto 0; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(var(--finish-rgb), 0.35); background: rgba(var(--finish-rgb), 0.07); }
.price-guarantee svg { flex: 0 0 auto; margin-top: 2px; color: var(--finish); }
.price-guarantee b { display: block; font-size: 1rem; }
.price-guarantee span { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.price-guarantee + .price-below { margin-top: 18px; }
/* Installpagina (9 okt '26) */
.install-steps { margin: 10px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.install-steps li { margin: 4px 0; }
.install-cta { margin: 0 0 24px; }
/* Workouts (9 okt '26): overzicht, detail, slotje voor wie geen plan heeft */
.wo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.wo-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.15s; }
.wo-card:hover { border-color: rgba(var(--accent-rgb), 0.6); }
.wo-card h2 { margin: 0; font-size: 1.35rem; }
.wo-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; flex: 1; }
.wo-date { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.wo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.wo-tags li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 0.74rem; font-weight: 700; }
.wo-unlock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -16px 0 24px; padding: 12px 16px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.3); color: var(--muted); font-size: 0.92rem; }
.wo-unlock svg { color: var(--accent); }
.wo-unlock a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; }
.wo-equip { margin: 16px 0 26px; color: var(--muted); font-size: 0.92rem; }
.wo-equip b { color: #fff; }
.wo-block { margin: 0 0 18px; padding: 18px 20px; border-radius: 14px; background: var(--card-flat); border: 1px solid var(--line); }
.wo-block h2 { margin: 0 0 10px; font-size: 1.15rem; }
.wo-block ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.wo-locked { position: relative; margin-top: 6px; }
.wo-blur { filter: blur(6px); opacity: 0.45; pointer-events: none; user-select: none; max-height: 380px; overflow: hidden; }
.wo-lock-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.wo-lock-card svg { width: 28px; height: 28px; color: var(--accent); }
.wo-lock-card b { font-size: 1.15rem; max-width: 30ch; }
.wo-lock-card span { color: var(--muted); max-width: 46ch; font-size: 0.92rem; }
.wo-lock-card .btn-row { margin-top: 8px; }

/* Workouts v2 (9 okt '26): filters op type en duur, kaart met een Play-knop (de kaartlink rekt over de kaart, de knop ligt erboven). */
.wo-filters { display: grid; gap: 10px; margin: -6px 0 22px; }
.wo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wo-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.wo-chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.wo-chip.is-on { background: rgba(var(--accent-rgb), 0.14); border-color: rgba(var(--accent-rgb), 0.6); color: #fff; }
.wo-card { position: relative; }
.wo-card[hidden] { display: none; }
.wo-card h2 a { color: inherit; }
.wo-card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.wo-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.wo-card-foot .race-go { padding-top: 0; margin-top: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.04em; }
.wo-play-btn { position: relative; z-index: 1; padding: 9px 16px; gap: 6px; }
.wo-play-btn svg { width: 16px; height: 16px; }
.wo-empty { color: var(--muted); }
.wo-acts { margin: 18px 0 6px; }
.wo-acts .btn svg { width: 18px; height: 18px; }
.wo-acts-note { margin: 0 0 4px; color: var(--muted); font-size: 0.88rem; }

/* Install-onboarding (9 okt '26): drie stappen onder elkaar met een lijn; huidige stap in accent, klaar = vinkje. */
.onb { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.onb-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 26px; }
.onb-step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.onb-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.onb-n svg { display: none; }
.onb-step.is-current .onb-n { background: rgba(var(--accent-rgb), 0.16); border-color: rgba(var(--accent-rgb), 0.6); color: var(--accent); }
.onb-step.is-done .onb-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #04161a); }
.onb-step.is-done .onb-n span { display: none; }
.onb-step.is-done .onb-n svg { display: block; }
.onb-body { min-width: 0; padding: 18px 20px; border-radius: 16px; background: var(--card-flat); border: 1px solid var(--line); }
.onb-step.is-current .onb-body { border-color: rgba(var(--accent-rgb), 0.45); }
.onb-body h2 { margin: 0 0 8px; font-size: 1.2rem; }
.onb-body > p { color: var(--muted); margin: 0 0 10px; }
.onb-body > p:last-child { margin-bottom: 0; }
.onb-plat-h { margin: 6px 0 0; font-weight: 800; color: #fff; }
.onb-other { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; }
.onb-tab { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: #fff; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.onb-tab:hover { border-color: rgba(255, 255, 255, 0.35); }
.onb-ok { color: var(--accent) !important; font-weight: 700; }
.onb-msg { padding: 10px 14px; border-radius: 12px; background: rgba(255, 201, 77, 0.1); border: 1px solid rgba(255, 201, 77, 0.35); color: #fff !important; }
.onb .install-cta { margin: 12px 0 0; }
.onb [hidden] { display: none !important; }
@media (max-width: 520px) { .onb-step { grid-template-columns: 36px 1fr; gap: 12px; } .onb-n { width: 36px; height: 36px; font-size: 1rem; } .onb-step:not(:last-child)::before { left: 17px; top: 38px; } .onb-body { padding: 16px; } }

/* Onderbalk op mobiel (9 okt '26, naar het rendrr-dashboard): vijf tabs, Timer in het midden als uitgelichte knop die boven de
   balk uitsteekt. Alleen onder 760 px; de pagina krijgt onderaan ruimte, het mobiele menu stopt boven de balk. */
.tabbar { display: none; }
@media (max-width: 760px) {
  body.has-tabbar { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 4px calc(16px + env(safe-area-inset-bottom)); /* afgeronde schermhoeken: ruimte onderin (Robin, 9 okt) */ background: rgba(8, 30, 36, 0.92); background: color-mix(in srgb, var(--bg) 90%, #000 10%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 52px; padding: 4px 0 2px; color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.01em; -webkit-tap-highlight-color: transparent; }
  .tab-ic { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 10px; transition: color 0.15s, background 0.15s; }
  .tab.is-on { color: #fff; }
  .tab.is-on .tab-ic { color: var(--accent); background: rgba(var(--accent-rgb), 0.12); }
  .tab--main { color: #fff; }
  .tab--main .tab-ic { width: 54px; height: 46px; margin-top: -24px; border-radius: 15px; background: var(--accent); color: var(--on-accent, #04161a); box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.4); }
  .tab--main.is-on .tab-ic { background: var(--accent); color: var(--on-accent, #04161a); }
  .tab:focus-visible { outline: none; }
  .tab:focus-visible .tab-ic { outline: 2px solid #fff; outline-offset: 2px; }
  body.has-tabbar .mobile-menu { bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.has-tabbar .mm-foot { padding-bottom: 30px; } /* de uitstekende Timer-knop valt niet over de knop van het menu */
  body.timer-fs .tabbar, body.wo-fs .tabbar { display: none; }
}
/* Install-stappen: de knop waar je op drukt als klein icoontje in de tekst (9 okt '26). */
.key { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 4px; margin: 0 2px; border-radius: 7px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; vertical-align: -6px; }
.key svg { display: block; }
.onb-note { margin: 10px 0 0 !important; color: var(--muted); font-size: 0.86rem; }
.install-steps li { margin: 8px 0; }
/* /app/ = hoofdmenu: blok "Put it on your phone" (verdwijnt als installeren en meldingen klaar zijn). */
.app-install { margin: 8px 0 34px; }
.app-install h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.35rem; }
.app-install h2 svg { color: var(--accent); }
.app-install .lead { margin: 0 0 18px; font-size: 1rem; }
.onb--compact .onb-body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.onb--compact .onb-step { padding-bottom: 16px; }
.app-h { margin: 8px 0 6px; font-size: 1.5rem; }

/* Mobiel menu B "Gordijn" (Robin koos 9 okt '26; naar layer menu-curve, Codrops Theodore, MIT): een gordijn in de accentkleur veegt
   als koepel van onderaf over het menuvlak (app.js), onder volle dekking wisselt het menu, daarna trekt het gordijn naar boven weg.
   Timers = veegbare kaarten met racelogo; overige items groot, cursief en genummerd, rijzend uit hun masker. Het menu loopt van de
   kop tot de onderbalk. */
.mobile-menu { z-index: 44; padding: 0; opacity: 1; transform: none; transition: none; }
.mobile-menu .mobile-nav { padding: 22px 20px 0; }
.mobile-menu .mobile-nav > * { opacity: 1; transform: none; transition: none; }
.mobile-menu .mm-kick { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.mm-kick span { color: var(--muted); letter-spacing: 0.06em; }
.mm-cards { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 20px; overscroll-behavior-x: contain; }
.mm-cards::-webkit-scrollbar { display: none; }
.mobile-nav .mm-card { flex: none; width: 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; border: 1px solid rgba(var(--accent-rgb), 0.35); border-radius: 18px; background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.02)); font: inherit; letter-spacing: 0; text-transform: none; }
.mm-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; }
.mm-card b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.9rem; line-height: 1.1; text-transform: uppercase; text-align: center; }
.mm-links { margin-top: 18px; }
.mobile-nav .mm-link { display: flex; align-items: baseline; gap: 14px; overflow: hidden; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.7rem, 8.6vw, 2.2rem); line-height: 1.02; text-transform: uppercase; }
.mm-link small { flex: none; font-family: var(--font-body); font-style: normal; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: var(--accent); }
.mm-link span, .mm-link small { display: block; }
.mobile-nav .mm-install { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 4px; padding: 0; border: 0; color: var(--muted); font: inherit; font-size: 0.95rem; letter-spacing: 0; text-transform: none; }
.mm-install svg { color: var(--accent); }
.mobile-menu .mm-foot { padding-left: 20px; padding-right: 20px; }
@keyframes mm-rise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes mm-in { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
.mobile-menu.is-open .mm-link span, .mobile-menu.is-open .mm-link small { animation: mm-rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--i, 0) * 50ms + 60ms); }
.mobile-menu.is-open .mm-card { animation: mm-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.mobile-menu.is-open .mm-install { animation: mm-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: 0.3s; }
.mm-curtain { position: fixed; left: 0; top: 72px; z-index: 45; width: 100%; height: calc(100dvh - 72px); fill: var(--accent); pointer-events: none; }
.mm-curtain[hidden] { display: none; }
@media (max-width: 760px) { body.has-tabbar .mm-curtain { height: calc(100dvh - 72px - 74px - env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .mobile-menu.is-open .mm-link span, .mobile-menu.is-open .mm-link small, .mobile-menu.is-open .mm-card, .mobile-menu.is-open .mm-install { animation: none; } }

/* Kop op mobiel (Robin, 9 okt '26): hamburger rond; staat de simbar (undo, redo, opslaan) in de kop, dan wordt het logo kleiner. */
.nav-toggle { flex: none; width: 44px; min-width: 44px; height: 44px; border-radius: 50%; }
@media (max-width: 400px) { .site-header { padding-left: 16px; padding-right: 16px; } .nav-toggle, .site-header .nav-account { width: 40px; min-width: 40px; height: 40px; } }
@media (max-width: 760px) { .site-header:has(.hdr-tools:not([hidden])) .brand-logo { height: 30px; } }
@media (max-width: 400px) { .site-header:has(.hdr-tools:not([hidden])) .brand-logo { height: 25px; } .site-header:has(.hdr-tools:not([hidden])) { gap: 8px; } }
/* Overal dezelfde ruimte tussen de knoppen rechts in de kop (Robin, 9 okt '26): 8 px, op smalle telefoons 6 px. */
html.nav-compact .site-header:not(.wl-header) { gap: 8px; }
html.nav-compact .nav-toggle { margin-left: 0; }
@media (max-width: 1360px) { html:not(.nav-fit) .site-header:not(.wl-header) { gap: 8px; } html:not(.nav-fit) .nav-toggle { margin-left: 0; } }
@media (max-width: 400px) { html.nav-compact .site-header:not(.wl-header), html:not(.nav-fit) .site-header:not(.wl-header), .header-ctas { gap: 6px; } }
#my-clubs { scroll-margin-top: 96px; }

/* /app/: "Put it on your phone" uitklapbaar (9 okt '26); dicht = kop + één regel. */
.app-install { margin: 8px 0 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-flat); }
.app-install > summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.app-install > summary::-webkit-details-marker { display: none; }
.app-install > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.app-install-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.app-install-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-install-t b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.12rem; text-transform: uppercase; }
.app-install-t small { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.app-install-chev { flex: none; color: var(--muted); transition: transform 0.2s; }
.app-install-chev svg { width: 18px; height: 18px; }
.app-install[open] .app-install-chev { transform: rotate(180deg); }
.app-install > .onb { padding: 2px 18px 4px; }
#my-timers { scroll-margin-top: 96px; }
/* My timers (9 okt '26): wie doet er mee, inline achter elkaar; dicht = aantal + eerste namen, open = alle namen als chips. */
.table--mine .who { margin-top: 6px; }
.who > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; list-style: none; cursor: pointer; color: var(--muted); font-size: 0.84rem; }
.who > summary::-webkit-details-marker { display: none; }
.who-n { color: #fff; font-weight: 700; }
small.who-n { display: block; margin-top: 4px; color: var(--muted); }
.who-peek { min-width: 0; max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-more, .who-less { color: var(--accent); font-weight: 700; }
.who-less, .who[open] .who-more, .who[open] .who-peek { display: none; }
.who[open] .who-less { display: inline; }
.who-all { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.who-all span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 0.82rem; white-space: nowrap; }
.table--mine td.sim-main { min-width: 220px; }
.card--flat > h3 { margin: 0 0 10px; font-size: 1.1rem; }

/* Timers als cards (Robin, 9 okt '26; heette Simulations): clubpagina (bovenaan), My timers en het clubhost-dashboard. */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; margin: 4px 0 6px; }
.tm-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.15s; }
.tm-card:hover { border-color: rgba(var(--accent-rgb), 0.45); }
.tm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.tm-race { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.tm-race img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; }
.tm-date { white-space: nowrap; }
.tm-title { margin: 4px 0 0; font-size: 1.2rem; line-height: 1.2; overflow-wrap: anywhere; }
.tm-meta { margin: 0; color: var(--muted); font-size: 0.8rem; }
.tm-meta .mono { letter-spacing: 0.08em; }
.tm-card .who { margin-top: 2px; }
.tm-card p.who-n { margin: 2px 0 0; font-size: 0.84rem; }
.tm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
.tm-acts form { margin: 0; }
.tm-acts .btn--primary { margin-right: auto; }
.tm-group { margin: 14px 0 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tm-empty { color: var(--muted); }
.tm-card .sim-pop { right: 0; left: auto; }
@media (max-width: 640px) { .tm-card .sim-pop { right: -8px; } }
#timers { scroll-margin-top: 96px; }
.tm-section { margin: 4px 0 30px; } .tm-section > h2 { margin: 0 0 12px; } .tm-section .sim-new { margin-top: 14px; }
.who-line { margin: 2px 0 0; color: var(--muted); font-size: 0.84rem; } .who-line .who-n { margin-right: 6px; }
.tm-by-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 201, 77, 0.16); color: #ffc94d; } .tm-by-ic svg { width: 16px; height: 16px; } .tm-card--by { border-color: rgba(255, 201, 77, 0.3); }

/* Workouts v3 (9 okt '26): witte HYROX-pill (Robin koos variant 1), eigen workouts in de lijst, knop Create a workout. */
.pill-hx { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 3px 11px 3px 3px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.pill-hx img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.wo-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 0; }
.wo-card-top:empty { display: none; }
.wo-share { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.wo-card--own { border-color: rgba(var(--accent-rgb), 0.35); }
.wo-sec-h { margin: 26px 0 12px; font-size: 1.3rem; }
.wo-create { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -6px 0 20px; color: var(--muted); }
.wo-create .btn svg { width: 18px; height: 18px; }

/* Timers-uitklapper met twee kolommen (Robin, 9 okt '26): racetimers links, backyard ultra en workout (binnenkort) rechts.
   Op mobiel staan ze als kaarten in dezelfde slider onder "Race Timers". */
.nav-drop--wide { min-width: 0; }
.nav-drop-cols { grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 4px 10px; }
.nav-drop-cols > div { display: grid; gap: 2px; align-content: start; }
.nav-drop-cols > div + div { padding-left: 10px; border-left: 1px solid var(--line); }
.nav-drop-h { margin: 6px 10px 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nav-drop-link .nav-drop-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }
.nav-drop-link.is-soon { opacity: 0.7; cursor: default; }
.nav-drop-link.is-soon:hover { background: none; }
.nav-drop-link .soon-badge { margin-left: 6px; padding: 2px 7px; font-size: 0.58rem; font-style: normal; vertical-align: 2px; }
.mm-card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.mm-card-ic svg { width: 28px; height: 28px; }
.mobile-nav .mm-card.is-soon { opacity: 0.75; }
.mm-card .soon-badge { padding: 2px 7px; font-size: 0.58rem; align-self: center; font-style: normal; }

/* Whiteboard-letters (Kalam, OFL; Permanent Marker, Apache 2.0), zelf gehost: het bord en de mini-borden op de workoutkaarten. */
@font-face { font-family: "Permanent Marker"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/permanent-marker-400.woff2") format("woff2"); }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/kalam-400.woff2") format("woff2"); }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/kalam-700.woff2") format("woff2"); }
/* Mini-whiteboard bovenop elke workoutkaart (Robin, 9 okt '26) + zwaarte 1-10 in de tags */
.wo-mini { position: relative; display: grid; align-content: start; gap: 1px; height: 132px; overflow: hidden; margin: 0 0 6px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(160deg, #fbfbf8, #eceee9); box-shadow: inset 0 0 0 5px #c9ccd1, inset 0 0 0 6px #9aa0a6; color: #1a1a1a; font-family: "Kalam", "Segoe Print", cursive; font-size: 0.95rem; line-height: 1.35; }
.wo-mini::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 44px; border-radius: 0 0 8px 8px; background: linear-gradient(rgba(236, 238, 233, 0), #eceee9); }
.wo-mini-h { margin-top: 4px; overflow: hidden; color: #d3302f; font-family: "Permanent Marker", cursive; font-size: 0.98rem; white-space: nowrap; text-overflow: ellipsis; }
.wo-mini-h:first-child { margin-top: 0; }
.wo-mini-l { overflow: hidden; padding-left: 12px; white-space: nowrap; text-overflow: ellipsis; }
.wo-tags .wo-hard { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.wo-hard svg { color: #ff8a5b; }
.wo-meter { width: 38px; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.wo-meter i { display: block; height: 100%; background: linear-gradient(90deg, #6ff0a6, #ffc94d 55%, #ff6b5b) 0 0 / 38px 100%; }

/* Mobiel menu (Robin, 9 okt '26): pijltjes bij de oneindige sliders (app.js loopSlider), tweede slider Other timers en onder
   Workouts twee kaarten (bibliotheek + uitleg). */
.mobile-menu .mm-kick { align-items: center; }
.mm-arrows { display: inline-flex; gap: 6px; }
.mm-arrow { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer; }
.mm-arrow:hover, .mm-arrow:focus-visible { border-color: rgba(var(--accent-rgb), 0.6); color: var(--accent); outline: none; }
.mm-sec + .mm-sec { margin-top: 16px; }
.mm-cards[data-loop] { cursor: grab; user-select: none; -webkit-user-select: none; }
.mm-cards img { pointer-events: none; }
.mm-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.mobile-nav .mm-subcard { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); font: inherit; letter-spacing: 0; text-transform: none; }
.mm-subcard .mm-card-ic { flex: none; width: 40px; height: 40px; }
.mm-subcard b { display: block; font-size: 0.92rem; font-weight: 700; line-height: 1.2; }
.mm-subcard small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.72rem; line-height: 1.3; }
.mobile-nav .mm-link:has(+ .mm-sub) { border-bottom: 0; }
@media (max-width: 360px) { .mm-sub { grid-template-columns: 1fr; } }
/* Workout explanation (/workouts/explained/): formats als kaarten, oefeningen met hun icoon */
.wx-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 6px; }
.wx-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.wx-nav a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.wx-card { display: grid; align-content: start; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 96px; }
.wx-card h3 { margin: 0; color: #ff8a80; font-family: "Permanent Marker", cursive; font-weight: 400; font-style: normal; text-transform: none; font-size: 1.3rem; }
.wx-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.wx-eg { font-size: 0.82rem !important; }
.wx-eg a { color: var(--accent); }
.wx-card:target { border-color: var(--accent); }
.wx-exgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.wx-ex { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 96px; }
.wx-ex .ix { color: var(--accent); }
.wx-ex h3 { margin: 0 0 4px; font-size: 1.05rem; }
.wx-ex p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.wx-ex .wx-eg { margin-top: 6px; }
.ix-bg { fill: var(--accent); }
.wb-explain a { color: inherit; text-decoration: none; }
.wb-explain a:hover { text-decoration: underline; }
/* /workouts/ compact (Robin, 9 okt '26): korte kop, kleine Create-knop, Filter en Sort met een popup */
.wo-list-sec { padding-top: 28px; }
.wo-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.wo-head .kicker { margin-bottom: 6px; font-size: 0.82rem; }
.wo-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.wo-head-p { max-width: 62ch; margin: -6px 0 14px; color: var(--muted); font-size: 0.95rem; }
.wo-head .btn svg { width: 16px; height: 16px; }
.wo-list-sec .wo-unlock { margin: 0 0 14px; }
.wo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.wo-bar-item { position: relative; }
.wo-tool { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; }
.wo-tool:hover, .wo-tool[aria-expanded="true"] { border-color: rgba(var(--accent-rgb), 0.6); }
.wo-tool b { font-weight: 800; }
.wo-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; }
.wo-count[hidden] { display: none; }
.wo-n { margin-left: auto; color: var(--muted); font-size: 0.85rem; }
.wo-n b { color: #fff; }
.wo-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.wo-pop[hidden] { display: none; }
.wo-pop-h { margin: 0; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.wo-pop-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.wo-pop--sort { width: 200px; gap: 2px; padding: 6px; }
.wo-sort-opt { padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.wo-sort-opt:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.wo-sort-opt.is-on { color: var(--accent); }
.wo-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 560px) { .wo-head .btn { padding: 8px 12px; } }
.wo-list-sec .wo-unlock { display: block; padding: 10px 14px; font-size: 0.86rem; }
.wo-list-sec .wo-unlock svg { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.wo-list-sec .wo-unlock a { margin-left: 6px; }
/* Other timers (ronde 8): gewoon de twee kaarten naast elkaar, geen slider */
.mm-cards--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
.mobile-nav .mm-cards--two .mm-card { width: auto; }

/* ---- Menu A (Robin koos 9 okt '26): Timers · Workouts · Information · Pricing, For gyms als link rechts ---- */
.nav-side { padding: 8px 10px; border-radius: var(--radius-btn); color: var(--muted); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.nav-side:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
html.nav-compact .nav-side, .wl-header .nav-side { display: none; }
@media (max-width: 1360px) { html:not(.nav-fit) .nav-side { display: none; } }
.nav-drop-cols--3 { grid-template-columns: 230px 250px 180px; }
.nav-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nav-tile { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; border: 1px solid rgba(var(--accent-rgb), 0.28); text-align: center; transition: background 0.12s, border-color 0.12s; }
.nav-tile img { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; }
.nav-tile b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.68rem; line-height: 1.1; text-transform: uppercase; }
.nav-tile:hover, .nav-tile:focus-visible { background: rgba(var(--accent-rgb), 0.1); border-color: rgba(var(--accent-rgb), 0.6); outline: none; }
.nav-promo { display: grid; align-content: start; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.25); }
.nav-promo b { font-size: 0.95rem; }
.nav-promo span { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.nav-promo em { margin-top: 4px; color: var(--accent); font-style: normal; font-weight: 700; font-size: 0.86rem; }
.nav-promo:hover { border-color: rgba(var(--accent-rgb), 0.6); }
.nav-drop-ic .ix { color: var(--accent); }
/* mobiel: uitklapbare secties */
.mm-det { border-bottom: 1px solid var(--line); }
.mm-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 8vw, 2.1rem); line-height: 1.02; text-transform: uppercase; }
.mm-sum::-webkit-details-marker { display: none; }
.mm-sum svg { flex: none; width: 24px; height: 24px; color: var(--muted); transition: transform 0.2s; }
.mm-det[open] > .mm-sum svg { transform: rotate(180deg); color: var(--accent); }
.mm-det-in { display: grid; gap: 8px; padding: 0 0 16px; }
.mm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mobile-nav .mm-tile { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 4px 10px; border: 1px solid rgba(var(--accent-rgb), 0.35); border-radius: 16px; background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.02)); font: inherit; letter-spacing: 0; text-transform: none; text-align: center; }
.mm-tile img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.mm-tile .mm-card-ic { width: 44px; height: 44px; }
.mm-tile b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.74rem; line-height: 1.1; text-transform: uppercase; }
.mm-tile.is-soon { opacity: 0.75; }
.mm-tile .soon-badge { padding: 2px 7px; font-size: 0.56rem; align-self: center; font-style: normal; }
.mm-races { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mobile-nav .mm-race { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 700; font-size: 0.88rem; letter-spacing: 0; text-transform: none; }
.mm-race img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
.mm-det .mm-sub { padding: 0; border: 0; }
.mm-det .mm-kick { margin: 4px 0 0; }
.mobile-nav .mm-link--plain { display: block; padding: 14px 0; }
.mobile-nav .mm-gyms { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--accent); }
.mobile-menu.is-open .mm-det, .mobile-menu.is-open .mm-gyms { animation: mm-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
@media (prefers-reduced-motion: reduce) { .mobile-menu.is-open .mm-det, .mobile-menu.is-open .mm-gyms { animation: none; } }
.mm-soonrow { display: flex; align-items: center; gap: 10px; padding: 4px 2px; color: var(--muted); font-size: 0.92rem; }
.mm-soonrow svg { flex: none; width: 22px; height: 22px; color: var(--accent); opacity: 0.7; }
.mm-soonrow .soon-badge { padding: 2px 8px; font-size: 0.58rem; font-style: normal; }

/* ---- App (Robin, 9 okt '26 ronde 10): kleinere kaarten, twee naast elkaar; My clubs met een plusje; Plans & billing ---- */
.tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-card { gap: 4px; padding: 12px; border-radius: 14px; }
.tm-top { flex-wrap: wrap; gap: 4px 8px; font-size: 0.7rem; }
.tm-race { gap: 6px; font-size: 0.68rem; min-width: 0; }
.tm-race img, .tm-by-ic { width: 22px; height: 22px; }
.tm-title { margin: 2px 0 0; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-meta { font-size: 0.74rem; }
.tm-card .who-peek { display: none; }
.tm-card .who-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.78rem; }
.tm-acts { gap: 4px; padding-top: 8px; }
.tm-acts .btn--primary { flex: 1 0 100%; justify-content: center; margin: 0 0 4px; }
.tm-acts .icon-btn { width: 32px; height: 32px; }
.club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.club-card { gap: 6px; padding: 14px; border-radius: 14px; }
.club-card h2 { margin: 0; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.club-card .club-card-logo { height: 30px; width: auto; align-self: flex-start; }
.club-card-host { font-size: 0.72rem; overflow-wrap: anywhere; }
.club-card .race-go { margin-top: auto; font-size: 0.8rem; }
.app-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-title-row h1 { margin: 0; }
.add-pop { position: relative; }
.add-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); list-style: none; cursor: pointer; transition: transform 0.2s; }
.add-btn::-webkit-details-marker { display: none; }
.add-btn svg { width: 22px; height: 22px; }
.add-pop[open] .add-btn { transform: rotate(45deg); }
.add-pop-in { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; display: grid; gap: 10px; width: min(340px, calc(100vw - 32px)); padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.add-pop-h { margin: 0; font-weight: 800; }
.add-pop-form { display: grid; gap: 10px; margin: 0; }
.add-pop-p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.app-h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.app-h-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.app-h-link svg { width: 16px; height: 16px; }
.bill-card { display: grid; gap: 10px; margin-bottom: 14px; }
.bill-lab { margin: 0; color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.bill-plan { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.8rem; text-transform: uppercase; }
.bill-plan.is-on { color: var(--accent); }
.bill-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.bill-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bill-list span { color: var(--muted); }
.bill-p { margin: 0; color: var(--muted); }
.bill-p a { color: var(--accent); }
.tm-card .mono { font-size: 0.95em; }
.tm-acts .btn--primary { padding: 8px 10px; }

/* ---- Home (Robin koos 9 okt '26: per club + startscherm-tegels onder Next up) ---- */
.home { display: grid; gap: 12px; }
.home-h { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.home-club { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; }
details.home-club { display: block; padding: 0; }
.home-club summary { display: flex; align-items: center; gap: 10px; padding: 8px 14px; list-style: none; cursor: pointer; }
.home-club summary::-webkit-details-marker { display: none; }
.home-club summary svg { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s; }
.home-club[open] summary svg { transform: rotate(180deg); }
.home-club-logo { height: 28px; width: auto; max-width: 64px; border-radius: 6px; object-fit: contain; }
.home-club-ini { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); font-size: 0.7rem; font-weight: 800; }
.home-club-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.home-club-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 0.95rem; }
.home-club-pop a:hover { background: rgba(255, 255, 255, 0.06); }
.home-club-pop a.is-on { color: var(--accent); }
.home-club-pop small { margin-left: auto; color: var(--muted); font-size: 0.74rem; }
.home-club-pop .home-club-all { justify-content: center; color: var(--accent); font-weight: 700; font-size: 0.86rem; }
.home-club-pop .home-club-all svg { width: 16px; height: 16px; }
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.home-stats a { padding: 10px 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.home-stats b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.home-stats a.is-live { border-color: rgba(111, 240, 166, 0.5); }
.home-stats a.is-live b { color: #6ff0a6; }
.home-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-act { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.14), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(var(--accent-rgb), 0.3); font-weight: 700; font-size: 0.92rem; }
.home-act svg { flex: none; color: var(--accent); }
.home-next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.home-next img { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; }
.home-next > div { display: grid; min-width: 0; }
.home-next small { color: var(--accent); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.home-next b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-next span { color: var(--muted); font-size: 0.82rem; }
.home-next.is-empty { grid-template-columns: minmax(0, 1fr) auto; border-style: dashed; }
/* Home (9 okt '26 avond): groet + club op één regel, focuskaart (live / volgende), één rij acties, zes compacte tegels */
.home-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.home-club-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.home-club-meta { color: var(--muted); font-size: 0.8rem; }
.home-focus { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.home-focus img { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; }
.home-focus-txt { display: grid; min-width: 0; }
.home-focus-txt small { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.home-focus-txt b { font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-focus-txt span { color: var(--muted); font-size: 0.84rem; }
.home-focus-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.home-focus-acts .btn svg { width: 16px; height: 16px; }
.home-focus.is-live { border-color: rgba(111, 240, 166, 0.55); box-shadow: 0 0 0 1px rgba(111, 240, 166, 0.25); }
.home-focus.is-live small { color: #6ff0a6; }
.home-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ff0a6; box-shadow: 0 0 0 0 rgba(111, 240, 166, 0.6); animation: home-pulse 1.6s infinite; }
@keyframes home-pulse { 70% { box-shadow: 0 0 0 8px rgba(111, 240, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 240, 166, 0); } }
@media (prefers-reduced-motion: reduce) { .home-live-dot { animation: none; } }
.home-focus.is-empty { grid-template-columns: minmax(0, 1fr) auto; border-style: dashed; }
.home-acts .home-act--main { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 800; }
.home-acts .home-act--main svg { color: var(--on-accent); }
.home-acts:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-tiles.home-tiles--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .home-focus { grid-template-columns: auto minmax(0, 1fr); }
  .home-focus-acts { grid-column: 1 / -1; justify-content: stretch; } .home-focus-acts .btn { flex: 1; }
  .home-focus.is-empty .home-focus-acts { grid-column: auto; }
  .home-tiles.home-tiles--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-acts:has(> :nth-child(3)) { grid-template-columns: 1fr 1fr; } .home-acts:has(> :nth-child(3)) .home-act--main { grid-column: 1 / -1; }
}
/* Mensen uitnodigen (/invite/<code>) en de judge-pagina (/join/<token>) */
.invite-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
.invite-head h1 { margin: 6px 0 8px; }
.invite-head p { color: var(--muted); margin: 0; }
.invite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.invite-qr { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); text-align: center; }
.invite-qr--judge { border-color: rgba(var(--accent-rgb), 0.5); }
.invite-qr h2 { margin: 0; font-size: 1.5rem; }
.invite-qr p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.invite-qr-code { width: min(260px, 100%); aspect-ratio: 1; margin: 6px auto; padding: 8px; border-radius: 14px; background: #fff; }
.invite-qr-code svg { display: block; width: 100%; height: 100%; }
.invite-foot { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.invite-foot a { color: var(--accent); font-weight: 700; }
.join-title { margin: -4px 0 4px; font-weight: 700; color: var(--accent); }
.tc-ra-invite { margin: 4px 0 10px; }
.tc-ra-invite[hidden] { display: none !important; }
.home-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.home-tile { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: center; font-size: 0.74rem; }
.home-tile b { font-weight: 700; line-height: 1.15; }
.home-tile-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.home-tile:hover, .home-tile:focus-visible { border-color: rgba(var(--accent-rgb), 0.5); outline: none; }
