/* aimlink.ai | Built for / For every club (built-for/clubs/). Script: assets/built-for-clubs.js.
   Load after site.css, nav.css, impact.css, app-page.css (GO screens, .gs-*), app-page-wide.css (the iPad frame, .tab),
   app-screens-club.css (CLUB screens, .cs-*) and app-screens-target.css (TARGET's lane screen, .ts-*).

   The page answers one question for a club: why run it on Aimlink? A dark hero at the clubhouse door, one check-in
   that switches the lights on and turns the page white, then one evening at the club in four parts: the door, the lane
   (TARGET, in beta on TestFlight), the pocket (the result in the members' GO) and the season. The club's iPad with CLUB
   is the object that carries the page; a member's phone with GO is its partner.

   Review pass, 8 Oct 2026: the hero says CLUB is free and has a download and "Talk to us"; the chapters are re-cut as
   the evening (rankings and the feed are GO's, so they sit on the member's phone, never on the iPad); the old queue of
   six phones and chips is one calm queue at the door; the white closing section is gone and the plate (the clubhouse
   with the lights on and the door open) leads into the dark footer, which is the one close; chapter type is the system's
   (H2 at display-l, 24 px lede, a 5/12 column); 768 has its own composition (iPad left, text right); on phones the text is
   pinned above the bar and the extras come in line after the moment; every section has a data-rhythm role.

   Static by default: without JS, with reduced motion, Save-Data or a weak device, the hero has the iPad at rest and
   the lights on, and the chapters are stacked, each with its device and finished screen. Everything under
   .bfc.is-live is the live version: one solid iPad (CSS 3D, its edge built and lit by the script) pinned over the
   story, the hero pinned for the check-in, each chapter's copy held in the middle of the screen while its moment
   plays. Same frame and rules as For all shooters (built-for-shooters.css, DESIGNDIRECTION 0.1 and 10.9). */

@layer sections {
  .bfc { position: relative; overflow-x: clip; }
  .bfc .phone-screen { container-type: inline-size; background: #0c141c; }
  .bfc .gs { --app-bg: var(--color-night); --app-card: var(--color-line-dark); --app-tile: var(--color-grey-2); --app-muted: var(--color-snow-2); --app-paper: var(--color-cream); }

  /* ───────────────────────── Hero: night at the clubhouse ─────────────────────────
     Pinned at one screen's height and centred, so the hero role (top air = --section-hero + the nav) is applied to the grid
     inside the pin and gives way on short screens (16 % of the height at most). */
  .bfc-hero { position: relative; background: var(--color-night); color: var(--text); }
  .bfc-hero[data-rhythm] { padding-top: 0; }
  .bfc-hero-pin { position: relative; isolation: isolate; overflow: clip; display: grid; min-height: max(100svh, 44rem); }
  .bfc-photo { position: absolute; inset: 0; z-index: -3; }
  .bfc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
  /* the lights-off photo is always drawn and only its opacity changes: toggling display made the browser decode it again on go-live (the flash and the sharpen-up) */
  .bfc-photo--off { display: block; }
  .bfc-hero-pin::after {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
      linear-gradient(90deg, rgb(12 20 28 / 0.9) 0%, rgb(12 20 28 / 0.66) 32%, rgb(12 20 28 / 0.12) 58%, rgb(12 20 28 / 0) 100%),
      linear-gradient(180deg, rgb(12 20 28 / 0.6) 0%, transparent 20%, transparent 74%, rgb(12 20 28 / 0.85) 100%);
  }
  .bfc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: var(--space-8);
    padding-top: min(calc(var(--section-hero) + var(--nav-space)), 16svh); padding-bottom: calc(var(--space-6) + var(--mbar-clear)); }
  .bfc-kicker { display: inline-flex; align-items: center; color: var(--text-muted); }
  /* the one documented fluid H1 of this page: its longest word, SPREADSHEETS., has to stand on one line, so it is the system's
     display-xl scaled to about 0.8 (and held to the screen's height) */
  .bfc-h1 { font-size: min(clamp(2.125rem, .6rem + 5.2vw, 7rem), 12.5svh); line-height: 0.88; }
  .bfc-hero-copy { min-width: 0; }
  @media (max-width: 420px) { .bfc-h1 .bfc-line { white-space: normal; } }
  .bfc-line { display: block; overflow: hidden; padding: 0.07em 0.12em 0.02em 0; margin: -0.07em -0.12em -0.02em 0; white-space: nowrap; }
  .bfc-word { display: inline-block; }
  .bfc-h1 em { padding-right: 0.05em; }
  .bfc-hero-lede { color: var(--text); opacity: 0.9; max-width: 32ch; text-wrap: balance; }
  /* the top CTA: the badges and "Talk to us" in one row (they wrap on a phone) */
  .bfc-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
  .bfc-hero-badges { justify-content: flex-start; }
  .bfc-hero-media { position: relative; display: grid; place-items: center; }
  @media (min-width: 600px) {
    .bfc-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; padding-bottom: var(--space-8); }
  }
  @media (max-width: 899.98px) {
    .bfc-hero-pin::after { background: linear-gradient(180deg, rgb(12 20 28 / 0.9) 0%, rgb(12 20 28 / 0.72) 46%, rgb(12 20 28 / 0.25) 70%, rgb(12 20 28 / 0.85) 100%); }
    .bfc-photo img { object-position: 50% 50%; }
  }
  @media (max-width: 599.98px) {
    .bfc-hero-grid { gap: var(--space-6); padding-top: calc(var(--nav-space) + var(--space-3)); }
    .bfc-hero-cta { gap: var(--space-2) var(--space-3); }
    .bfc-hero-cta .btn { min-height: 44px; padding-inline: 20px; }
  }

  /* the H1 lands line by line (CSS, once on load); its full stop is a check-in: a square ring leaves it */
  @keyframes bfc-slam { from { transform: translateY(108%); } }
  @keyframes bfc-rise { from { opacity: 0; transform: translateY(var(--motion-rise)); } }
  @keyframes bfc-scan { 0% { opacity: 0.95; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.4); } }
  .bfc-word { animation: bfc-slam 720ms var(--ease-out) both; animation-delay: calc(260ms + var(--i) * 130ms); }
  .bfc-kicker, .bfc-hero-lede { animation: bfc-rise var(--duration-reveal) var(--ease-out) both; }
  .bfc-hero-cta { animation: bfc-rise var(--duration-reveal) var(--ease-out) 1000ms both; }
  .bfc-kicker { animation-delay: 120ms; }
  .bfc-hero-lede { animation-delay: 860ms; }
  .bfc-dot { position: relative; display: inline-block; }
  .bfc-dot::before, .bfc-dot::after {
    content: ""; position: absolute; left: 50%; bottom: 0.13em; width: 0.5em; height: 0.5em; margin-left: -0.25em; margin-bottom: -0.17em;
    border-radius: 0.12em; box-shadow: 0 0 0 0.02em var(--color-lime), 0 0 0.3em rgb(160 224 32 / 0.35); opacity: 0; pointer-events: none;
    animation: bfc-scan 900ms var(--ease-out) 1180ms both;
  }
  .bfc-dot::after { animation-delay: 1320ms; animation-duration: 1100ms; }
  /* live: the opening (the H1, the scanner dot, the iPad's swing) waits until the hero is in view (the script adds .is-entered),
     so it is seen. Without the script none of this applies and the page lands as above. */
  .bfc.is-live:not(.is-entered) :is(.bfc-word, .bfc-kicker, .bfc-hero-lede, .bfc-hero-cta, .bfc-cue),
  .bfc.is-live:not(.is-entered) .bfc-dot::before, .bfc.is-live:not(.is-entered) .bfc-dot::after { animation: none; }

  .bfc-cue {
    position: absolute; left: var(--gutter); bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); z-index: 2;
    display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px;
    font-size: var(--type-small-size); font-weight: 400; color: var(--text-muted);
    animation: bfc-rise var(--duration-reveal) var(--ease-out) 1300ms both;
  }
  .bfc-cue .icon { width: 18px; height: 18px; }
  @media (hover: hover) and (pointer: fine) { .bfc-cue:hover { color: var(--text); } }
  @media (max-width: 1023.98px) { .bfc-cue { display: none; } }

  /* the label's mark, in CLUB's colour (the menu's "For every club" ring is orange too) */
  .bfc .imp-mark { position: relative; display: inline-block; width: 0.62em; height: 0.62em; margin-right: 0.7em; vertical-align: -0.02em; border-radius: 50%; background: var(--color-orange); }
  .bfc .imp-mark::before { content: ""; position: absolute; inset: -0.34em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 150 0 / 0.55); }

  /* ───────────────────────── Devices at rest (the static page) ───────────────────────── */
  .bfc-still { --sw: min(19rem, 70vw); width: var(--sw); perspective: 1600px; }
  .bfc-still .tab { --tw: var(--sw); transform: rotateX(6deg) rotateY(14deg) rotateZ(-2deg); }
  .bfc-still .phone { --pw: var(--sw); transform: rotateX(6deg) rotateY(-14deg) rotateZ(2.5deg); }
  .bfc-still--phone { --sw: min(11rem, 40vw); }
  .bfc-still--lane { --sw: min(26rem, 88vw); }
  [data-side="left"] .bfc-still .tab { transform: rotateX(6deg) rotateY(-14deg) rotateZ(2deg); }
  .bfc-hero .bfc-still .tab, .bfc-hero .bfc-still .phone { box-shadow: 0 2.4rem 5rem rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.1); }
  .bfc-hero-media .bfc-still--phone, .bfc-ch-media--two .bfc-still--phone { position: absolute; left: 0; bottom: -4%; z-index: 1; }
  .bfc-ch-media--two .bfc-still--phone { left: auto; right: 4%; bottom: -6%; }
  .bfc-still--live-only { display: none; }   /* a screen only the live page shows on the member's phone (the static page shows the result instead) */

  /* ───────────────────────── The story: white ─────────────────────────
     The story section is only the wrapper: its parts (the lead, the rail, the chapters) carry the roles. */
  .bfc-story { position: relative; background: var(--bg); color: var(--text); }
  .bfc-story[data-rhythm] { padding-block: 0; }
  .bfc-lead { display: grid; justify-items: center; gap: var(--gap-head); max-width: 64rem; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: var(--gap-group); text-align: center; }
  /* the lead is the page's one lime-block accent ("CLUB keeps count."): the chapters' accent words are slanted ink */
  .bfc-spread { font-size: min(var(--type-display-xl-size), 7.6vw); }
  .bfc-spread > span { display: inline-block; }
  .bfc-lead-p { max-width: 42ch; color: var(--text-muted); text-wrap: balance; }
  @media (hover: hover) and (pointer: fine) { }
  @media (hover: hover) and (pointer: fine) { }

  /* A chapter: the problem in the shooter's words, then what changes. Static: stacked on phones, phone left and text
     right from 640 px (the tablet's own composition), alternating from 900 px. */
  .bfc-ch {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-group); align-items: center;
    width: 100%; max-width: calc(68rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); scroll-margin-top: 24px;
  }
  .bfc-ch-hold { display: contents; }
  .bfc-ch-copy { display: grid; justify-items: start; align-content: start; max-width: 32rem; }
  .bfc-ch-h { line-height: 0.88; }
  /* the accent word is slanted ink here; the lime block belongs to the lead alone */
  .bfc-ch-h em { background: none; color: var(--text); padding-inline: 0.04em; margin-inline: 0; }
  .bfc-ch-h + .bfc-ch-lead { margin-top: var(--gap-head); }
  .bfc-ch-lead { color: var(--text); max-width: 30ch; text-wrap: pretty; }
  .bfc-ch-lead + .body { margin-top: var(--space-3); }
  .bfc-ch-copy .body { max-width: 42ch; }
  .bfc-ch-copy .body + [data-extra] { margin-top: var(--gap-action); }
  .bfc-ch-copy [data-extra] + [data-extra] { margin-top: var(--space-3); }
  .bfc-ch-media { position: relative; display: grid; place-items: center; }
  .bfc-ch-media { padding-block: var(--space-5); }
  .bfc-ch-media--two { padding-bottom: var(--space-8); }
  /* chapter 04 at rest: the club as a target, the members inside it, guests on the outer ring */
  .bfc-ch-media--rings::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: min(36rem, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
    background: repeating-radial-gradient(circle, transparent 0 calc(10% - 1.5px), var(--color-line-light) calc(10% - 1.5px) 10%);
    -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  }
  @media (min-width: 640px) and (max-width: 899.98px) {
    .bfc-ch { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); column-gap: var(--space-7); }
    .bfc-ch .bfc-ch-media { order: -1; }
  }
  @media (min-width: 900px) {
    .bfc-ch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 7rem); }
    .bfc-ch[data-side="right"] .bfc-ch-copy { order: 2; }
  }

  /* the extras the wireframe gives chapters 01 and 03: the numbers, a quote. They come after the moment. */
  .bfc-quote { padding-left: var(--space-5); border-left: 3px solid var(--text); }
  .bfc-quote p { font: 500 clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem)/0.98 var(--font-display); text-wrap: balance; max-width: 17ch; }
  .bfc-quote figcaption { margin-top: var(--space-3); font-size: var(--type-small-size); color: var(--text-subtle); }
  /* a placeholder says so: a small outlined tag in front of the name (HTML carries the TODO too) */
  .bfc-ph { display: inline-block; margin-right: 0.5em; padding: 0.15em 0.7em 0.1em; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px currentColor; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.05em; }
  /* The app's Stat Tile (Figma 10 Cards, GoStatTile): grey-2 r18, the number in lime Teko with the decimals small, the caption in snow */
  .bfc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 8.75rem)); justify-content: start; gap: var(--space-3); }
  .bfc-stats div { display: grid; justify-items: center; align-content: center; gap: var(--space-1); padding: var(--space-4) var(--space-2) var(--space-3); border-radius: var(--radius-field); background: var(--color-grey-2); color: var(--color-snow); text-align: center; }
  .bfc-stats .ic { width: 1.5rem; height: 1.5rem; color: var(--color-lime); }
  .bfc-stats dt { order: 2; font-size: 0.75rem; line-height: 1.3; color: var(--color-snow); }
  .bfc-stats dd { font: 500 clamp(2.5rem, 1.7rem + 2vw, 3.5rem)/0.86 var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--color-lime); display: grid; justify-items: center; gap: var(--space-1); }
  .bfc-stats dd small { font-size: 55%; }
  .bfc-demo { font-size: var(--type-small-size); color: var(--text-subtle); }


  /* ───────────────────────── CLUB screens on the iPad (the CLUB page's look, app-screens-club.css) ─────────────────────────
     1cqw = 1 % of the screen's width; the iPad's screen is about 143.5cqw tall. Demo club: Westside Shooting Club. */
  .cs-av.is-guest { background: var(--color-yellow); color: var(--color-night); }
  .cc-count { display: grid; justify-items: end; line-height: 1; }
  .cc-count b { font: 500 9cqw/0.85 var(--font-numeric); color: var(--app-lime); font-variant-numeric: tabular-nums; }
  .cc-count span { margin-top: 0.4em; font-size: 0.8em; color: var(--app-muted); }

  /* check in: the camera */
  .cc-cam { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 0.92; border-radius: 4.4cqw; overflow: hidden; background: radial-gradient(70% 60% at 50% 42%, #2a3440 0%, #141c25 70%, #0e151d 100%); }
  .cc-cam::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgb(255 255 255 / 0.018) 0 2px, transparent 2px 5px); }
  .cc-cam-c { position: absolute; width: 14cqw; height: 14cqw; border: 0 solid var(--app-lime); }
  .cc-cam-c:nth-of-type(1) { left: 16%; top: 14%; border-width: 1.1cqw 0 0 1.1cqw; border-top-left-radius: 3cqw; }
  .cc-cam-c:nth-of-type(2) { right: 16%; top: 14%; border-width: 1.1cqw 1.1cqw 0 0; border-top-right-radius: 3cqw; }
  .cc-cam-c:nth-of-type(3) { left: 16%; bottom: 14%; border-width: 0 0 1.1cqw 1.1cqw; border-bottom-left-radius: 3cqw; }
  .cc-cam-c:nth-of-type(4) { right: 16%; bottom: 14%; border-width: 0 1.1cqw 1.1cqw 0; border-bottom-right-radius: 3cqw; }
  .cc-cam-t { position: absolute; left: 0; right: 0; bottom: 5%; display: flex; align-items: center; justify-content: center; gap: 0.6em; color: var(--app-muted); }
  .cc-found { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 1.2cqw; text-align: center; background: radial-gradient(70% 60% at 50% 45%, #2c4a0c 0%, #182a08 60%, #0f1a06 100%); }
  .cc-found-ok { display: grid; place-items: center; width: 18cqw; height: 18cqw; margin-bottom: 2cqw; border-radius: 50%; background: var(--app-lime); color: var(--color-moss); box-shadow: 0 0 8cqw rgb(160 224 32 / 0.45); }
  .cc-found-ok .ic { width: 16cqw; height: 16cqw; margin: 0; }
  .cc-found-k { font-size: 0.86em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-lime); }
  .cc-found-n { font: 500 9cqw/1 var(--font-numeric); }
  .cc-found-s { color: var(--app-muted); }
  .cc-ways { display: grid; gap: 1.6cqw; }
  .cc-ways li { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 3cqw; border-radius: 3.6cqw; background: var(--app-card); }
  .cc-ways .ic { width: 7cqw; height: 7cqw; margin: -1cqw; color: var(--app-lime); }
  .cc-ways span { color: var(--app-muted); line-height: 1.25; }
  .cc-ways b { display: block; color: var(--app-text); font-weight: 600; }


  /* today, the overview: the most active, the 28 days */
  .cc-chart { position: relative; display: grid; grid-template-columns: repeat(28, minmax(0, 1fr)); align-items: end; gap: 0.7cqw; height: 30cqw; padding-top: 1cqw; }
  .cc-chart i { position: relative; display: block; height: calc(var(--c) * 100%); min-height: 0.6cqw; border-radius: 0.7cqw 0.7cqw 0.2cqw 0.2cqw; background: #3a4450; transform-origin: 50% 100%; }
  .cc-chart i::after { content: ""; position: absolute; left: 50%; bottom: calc((var(--s) / var(--c, 1)) * 100%); width: 1.2cqw; height: 1.2cqw; margin: 0 0 -0.6cqw -0.6cqw; border-radius: 50%; background: var(--app-text); opacity: 0.85; }
  .cc-chart i[style*="--c:0.000"]::after { display: none; }
  .cc-chart i.is-today { background: var(--app-lime); }
  .cc-legend { display: flex; gap: 4cqw; margin-top: 1.6cqw; font-size: 0.8em; color: var(--app-muted); }
  .cc-legend i { display: inline-block; width: 2cqw; height: 2cqw; margin-right: 0.5em; border-radius: 0.5cqw; background: #3a4450; vertical-align: -0.1em; }
  .cc-legend i.is-shots { border-radius: 50%; background: var(--app-text); }

  /* Member arrivals and the check-in log. Static mode shows both completed arrivals. */
  .cc-door .cs-main { align-content: center; gap: 4cqw; }
  .cc-now { min-height: min-content; }
  .cc-now-p { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.6cqw; padding: 3.6cqw 0; }
  .cc-now-p + .cc-now-p { border-top: 1px solid var(--app-line); }
  .cc-now-p .cs-av { width: 9cqw; height: 9cqw; font-size: 0.9em; }
  .cc-now-p .nm { font: 500 6cqw/1 var(--font-numeric); }
  .cc-now-p .nm small { display: block; margin-top: 0.5em; font: 400 2.9cqw/1.2 var(--font-text); color: var(--app-muted); }
  .bfc.is-live .cc-now-p { --check-in-progress: var(--checked, 0); }
  .cc-status { display: grid; align-items: center; justify-items: end; white-space: nowrap; }
  .cc-status > span { grid-area: 1 / 1; }
  .cc-wait { color: var(--app-muted); opacity: calc(1 - var(--check-in-progress, 1)); }
  .cc-ok { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.4em 0.9em 0.36em 0.5em; border-radius: 999px; background: var(--app-lime); color: var(--color-moss); font-size: 0.82em; font-weight: 700; opacity: var(--check-in-progress, 1); transform: translateY(calc((1 - var(--check-in-progress, 1)) * 2cqw)); }
  .cc-ok .ic { width: 5cqw; height: 5cqw; margin: -1cqw 0; }
  .cc-log li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.4cqw; padding: 1.1cqw 0; border-top: 1px solid var(--app-line); font-size: 0.92em; }
  .cc-log .tm { color: var(--app-muted); font-variant-numeric: tabular-nums; }
  .cc-log b { font-weight: 600; color: var(--app-muted); }

  /* ───────────────────────── GO screens on the member's phone, after Figma "Aimlink GO AI Design System" ─────────────────────────
     Check-in (78:2), Competition (273:450) and its details (351:352). 1cqw = 1 % of the screen's width (the frame is 393 px wide).
     Rankings and standings are GO's, so they live here, on the phone, and never on the iPad. */
  .bfc .gs-av { padding-top: 0.6cqw; color: var(--color-moss); }
  .bfc .gs-title { margin-top: 7cqw; font-size: 8.4cqw; color: var(--app-lime); }

  /* check-in (78:2): the title in lime Teko, a white card with the member's code, the line that says what it is for */
  .cg-qr-card { margin: 14cqw 4.1cqw 0; padding: 12cqw; border-radius: 6.6cqw; background: #fff; }
  .cg-qr-code { display: block; width: 100%; height: auto; }
  .cg-qr-code use { fill: var(--color-night); }
  .cg-qr-note { margin-top: 12cqw; text-align: center; font-size: 3.7cqw; color: #f4f6f8; }
  .cg-qr-who { margin-top: 2.4cqw; text-align: center; font-size: 3.7cqw; color: #f4f6f8; }

  /* competition (273:450): the card, its ranking, the progress and "Compete now", and the panel of all competitions */
  .cg-cupcard { position: relative; overflow: hidden; margin: 2.4cqw 5.9cqw 0; padding: 3.6cqw 3.6cqw 3.4cqw; border-radius: 6.6cqw; text-align: center; background: radial-gradient(120% 52% at 50% 0%, #4d7d14 0%, #2c4a0c 40%, var(--app-card) 78%); }
  .cg-cupcard .gs-badge { position: absolute; left: 3.6cqw; top: 3.6cqw; }
  .cg-crest { display: block; width: 15cqw; height: auto; margin: 3.6cqw auto 0; }
  .cg-crest path { fill: #3f6c12; stroke: var(--color-lime); stroke-width: 1.6; }
  .cg-crest circle { fill: none; stroke: var(--color-lime); stroke-width: 2; }
  .cg-cup-t { margin-top: 2.2cqw; font: 500 6.2cqw/1 var(--font-numeric); color: #f4f6f8; }
  .cg-cup-k { margin-top: 1cqw; font-size: 3.2cqw; font-weight: 700; }
  .cg-cup-h { margin-top: 3.4cqw; font-size: 2.6cqw; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-mist); }
  .cg-rank { position: relative; display: grid; gap: 1.5cqw; margin-top: 2cqw; text-align: left; }
  .cg-rank li { position: relative; display: grid; grid-template-columns: 6.2cqw minmax(0, 1fr) auto; align-items: center; gap: 2.4cqw; height: 9.2cqw; padding: 0 3.4cqw 0 1.2cqw; border-radius: 999px; background: var(--app-tile); }
  .cg-rank i { display: grid; place-items: center; width: 6.2cqw; height: 6.2cqw; padding-top: 0.5cqw; border-radius: 50%; font: 500 3.6cqw/1 var(--font-numeric); font-style: normal; color: #0c141c; background: #a0a8b0; }
  .cg-rank li:nth-child(1) i, .cg-rank li.is-1 i { background: linear-gradient(160deg, #f3d36b, #b8860b); }
  .cg-rank li:nth-child(2) i, .cg-rank li.is-2 i { background: linear-gradient(160deg, #e7ebef, #8f98a1); }
  .cg-rank li:nth-child(3) i, .cg-rank li.is-3 i { background: linear-gradient(160deg, #e3a273, #9a5a2e); }
  .cg-rank span { min-width: 0; overflow: hidden; font-size: 3.4cqw; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; }
  .cg-rank span small { display: block; font-size: 2.4cqw; color: var(--app-muted); }
  .cg-rank b { font: 500 5.2cqw/1 var(--font-numeric); color: var(--color-lime); font-variant-numeric: tabular-nums; }
  .cg-rank b small { font-size: 100%; }
  .cg-rank li.is-you { box-shadow: inset 0 0 0 0.5cqw var(--color-lime); }
  .cg-cup-go { display: flex; align-items: center; gap: 2.4cqw; margin-top: 3cqw; font-size: 3.6cqw; font-weight: 700; }
  .cg-prog { position: relative; flex: 1; height: 0.9cqw; margin-right: auto; border-radius: 99px; background: var(--color-grey-2); overflow: hidden; }
  .cg-prog b { position: absolute; inset: 0 auto 0 0; width: 28%; border-radius: inherit; background: var(--color-lime); }
  .cg-cup-go .gs-go { position: static; flex: none; }
  .cg-more { margin: 2.4cqw 2cqw 0; padding: 3.2cqw 3.4cqw 3.2cqw; border-radius: 6cqw; background: var(--app-card); text-align: center; }
  .cg-more-t { margin-bottom: 2cqw; font: 500 5.2cqw/1 var(--font-numeric); }
  .cg-btn2 { display: grid; place-items: center; height: 8cqw; margin-top: 1.4cqw; padding-top: 0.5cqw; border-radius: 999px; box-shadow: inset 0 0 0 0.55cqw var(--color-lime); color: var(--color-lime); font: 500 4cqw/1 var(--font-numeric); letter-spacing: 0.06em; text-transform: uppercase; }

  /* ───────────────────────── 03 · the real CLUB Main on the iPad, and the real competition on the member's phone ─────────────────────────
     Both are laid out from the recordings (iPad 1032 px wide, phone 1170 px wide) in cqw, so they scale with the device. */
  /* the real CLUB Main, laid out in the recording's own pixels (1032 x 1376) and fitted to the iPad glass like the recorded clips are (cover, centred) */
  .cs.cc-main { display: block; font-family: var(--font-text); background: #081117; --u: 0.10429cqw; --rm-lime: #9ede1c; }
  .rm-stage { position: absolute; top: 0; left: calc((100cqw - calc(1032 * var(--u))) / 2); width: calc(1032 * var(--u)); height: calc(1376 * var(--u)); }
  .rm-stage > * { position: absolute; margin: 0; }
  .rm-top { left: calc(25 * var(--u)); top: calc(7 * var(--u)); display: flex; align-items: center; gap: calc(11 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(18 * var(--u)); white-space: nowrap; }
  .rm-top b { font-weight: 700; }
  .rm-top-r { left: calc(955 * var(--u)); top: calc(7 * var(--u)); display: flex; align-items: center; gap: calc(5 * var(--u)); }
  .rm-top-r .ui-ic { width: calc(17 * var(--u)); height: calc(17 * var(--u)); stroke-width: 2.4; }
  .rm-top-r em { display: grid; place-items: center; height: calc(13 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: calc(4 * var(--u)); background: #fff; color: #081117; font-style: normal; font-weight: 700; font-size: calc(10 * var(--u)); }
  .rm-menu { left: calc(20 * var(--u)); top: calc(42 * var(--u)); display: grid; place-content: center; gap: calc(5 * var(--u)); width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: #4a545c; }
  .rm-menu i { display: block; width: calc(20 * var(--u)); height: calc(2.6 * var(--u)); border-radius: calc(2 * var(--u)); background: #edf3f7; }
  .rm-who { right: calc(20 * var(--u)); top: calc(42 * var(--u)); display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(44 * var(--u)); font-size: calc(16.5 * var(--u)); }
  .rm-av { display: flex; align-items: center; }
  .rm-av b { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: #a8e528; color: #182a02; font: 600 calc(30 * var(--u))/1 var(--font-numeric); padding-top: calc(3 * var(--u)); }
  .rm-av b + b { margin-left: calc(-9 * var(--u)); background: #5a7e1c; }
  .rm-club { left: 0; width: calc(1032 * var(--u)); top: calc(167 * var(--u)); text-align: center; font: 600 calc(54 * var(--u))/calc(62 * var(--u)) var(--font-numeric); letter-spacing: 0.01em; }
  .rm-sub { left: 0; width: calc(1032 * var(--u)); top: calc(311 * var(--u)); text-align: center; font-size: calc(16 * var(--u)); line-height: calc(20 * var(--u)); color: #4d6f14; }
  .rm-chart { left: 0; top: 0; width: calc(1032 * var(--u)); height: calc(1376 * var(--u)); overflow: visible; }
  .rm-chart .rm-d1 { fill: #a4de06; }
  .rm-chart .rm-d2 { fill: #4a613c; }
  .rm-chart path { fill: none; stroke-width: 5.4; stroke-linecap: round; }
  .rm-chart .rm-up { stroke: #9dde16; }
  .rm-chart .rm-dn { stroke: #507318; }
  .rm-h { top: calc(977 * var(--u)); width: calc(300 * var(--u)); margin-left: calc(-150 * var(--u)) !important; text-align: center; font: 600 calc(23.6 * var(--u))/calc(34 * var(--u)) var(--font-numeric); }
  .rm-h-l { left: calc(178 * var(--u)); } .rm-h-m { left: calc(516 * var(--u)); } .rm-h-r { left: calc(852 * var(--u)); }
  .rm-ring { top: calc(1010 * var(--u)); width: calc(200 * var(--u)); height: calc(200 * var(--u)); }
  .rm-ring-c { left: calc(78 * var(--u)); } .rm-ring-s { left: calc(752 * var(--u)); }
  .rm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .rm-ring circle { fill: none; stroke: var(--rm-lime); }
  .rm-ring .rn { font: 700 89px/1 var(--font-numeric); stroke: currentColor; stroke-width: 3.6px; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
  .rm-ring .rt { font: 400 14px/1 var(--font-text); }
  .rm-ring-c .r0 { stroke-width: 1.3; stroke: #5a7a22; } .rm-ring-c .r1 { stroke-width: 4.4; } .rm-ring-c .r2 { fill: var(--rm-lime); stroke: none; }
  .rm-ring-c .rn { fill: #2c4401; color: #2c4401; } .rm-ring-c .rt { fill: #4d7014; }
  .rm-ring-s .rs { stroke-width: 7; } .rm-ring-s .rd { stroke: #688a22; stroke-width: 6.6; stroke-dasharray: 0.01 15.67; stroke-linecap: round; }
  .rm-ring-s .rn { fill: var(--rm-lime); color: var(--rm-lime); } .rm-ring-s .rt { fill: #9ccb2a; }
  .rm-best { left: calc(378 * var(--u)); top: calc(1013 * var(--u)); width: calc(277 * var(--u)); display: grid; gap: calc(4 * var(--u)); }
  .rm-best li { display: flex; align-items: center; justify-content: space-between; height: calc(44 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(8 * var(--u)); border-radius: 999px; background: #232d33; }
  .rm-best i { display: grid; place-items: center; width: calc(23 * var(--u)); height: calc(23 * var(--u)); border-radius: 50%; background: #5a7e1c; color: #182a02; font: 700 calc(15 * var(--u))/1 var(--font-numeric); font-style: normal; padding-top: calc(2 * var(--u)); }
  .rm-best span { font-size: calc(15.5 * var(--u)); color: #6b7580; }
  .rm-bar { left: calc(20 * var(--u)); top: calc(1247 * var(--u)); width: calc(992 * var(--u)); height: calc(84 * var(--u)); display: flex; gap: calc(21 * var(--u)); padding: calc(20 * var(--u)); border-radius: calc(28 * var(--u)); background: #232d33; }
  .rm-go { flex: 1; display: grid; place-items: center; height: calc(44 * var(--u)); padding-top: calc(3 * var(--u)); border-radius: 999px; background: var(--rm-lime); color: #1b2f03; font: 600 calc(25 * var(--u))/1 var(--font-numeric); letter-spacing: 0.03em; }
  .rm-go-o { background: none; box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--rm-lime); color: var(--rm-lime); }
  .rm-home { left: calc(400 * var(--u)); top: calc(1360 * var(--u)); width: calc(232 * var(--u)); height: calc(5 * var(--u)); border-radius: 99px; background: rgb(237 243 247 / 0.45); }

  .rc { --rc-p: #8d4eff; --rc-pd: #432774; --rc-card: #252a31; }
  .rc .gs-user { padding-top: 0.6cqw; }
  .rc .cg-back { width: 7.1cqw; height: 7.1cqw; background: #474d56; }
  .rc-hero { position: relative; margin: 2.2cqw 4.1cqw 0; padding: 4.2cqw 3cqw 7cqw; border-radius: 6cqw 6cqw 0 0; text-align: center;
    background: radial-gradient(7cqw 7cqw at 28% 6%, rgb(150 100 255 / 0.55), transparent 70%), radial-gradient(5cqw 5cqw at 64% 10%, rgb(150 100 255 / 0.5), transparent 70%), radial-gradient(5cqw 5cqw at 90% 2%, rgb(150 100 255 / 0.4), transparent 70%), linear-gradient(180deg, #8c4ffd 0%, #6a3fc4 26%, #3a2870 58%, #0f141d 100%); }
  .rc-badge { position: absolute; left: 4.1cqw; top: 4.1cqw; padding: 1.1cqw 2.8cqw 0.8cqw; border-radius: 999px; background: #8d4eff; color: #2a1766; font-size: 2.45cqw; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
  .rc-crest { display: block; width: 17cqw; height: auto; margin: 3.6cqw auto 0; }
  .rc-crest path:first-child { fill: #432774; stroke: #6f3fd8; stroke-width: 2.6; stroke-linejoin: round; }
  .rc-crest circle, .rc-crest .rc-x { fill: none; stroke: #6f3fd8; stroke-width: 2.4; stroke-linecap: round; }
  .rc-t { margin-top: 3.4cqw; font: 600 5.7cqw/1 var(--font-numeric); color: #fff; }
  .rc-d { margin: 2.4cqw auto 0; max-width: 84cqw; font-size: 3.75cqw; line-height: 1.3; color: #b793ff; }
  .rc-card { position: relative; margin: -1.6cqw 4.1cqw 0; padding: 3.6cqw 2.2cqw 3.4cqw; border-radius: 6cqw; background: var(--rc-card); }
  .rc-ct { text-align: center; font: 600 4.7cqw/1 var(--font-numeric); color: #fff; }
  .rc-rows { display: grid; gap: 1cqw; margin-top: 3cqw; }
  .rc-row { display: flex; align-items: center; height: 9.2cqw; padding: 0 0.9cqw 0 4.2cqw; border-radius: 999px; background: #353b42; font-size: 3.7cqw; color: #f3f4fb; }
  .rc-row b { margin-left: auto; margin-right: 2cqw; font-weight: 400; color: #a7adb5; }
  .rc-row:not(.is-next):not(.is-done) { background: #2d333a; color: #8e949c; }
  .rc-row.is-done b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
  .rc-pb { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; flex: none; border-radius: 50%; background: #474d56; }
  .rc-pb.is-go { background: #96db1e; color: #1b2f03; }
  .rc-pb .ic { width: 7cqw; height: 7cqw; margin: 0; }
  .rc-row.is-done .rc-pb { background: #474d56; }
  .rc-note { margin: 3.2cqw auto 0; max-width: 78cqw; text-align: center; font-size: 3.1cqw; line-height: 1.22; color: #a7adb5; }
  .rc-final { margin: 2cqw 4.1cqw 0; padding: 2cqw 2cqw 2.6cqw; border-radius: 5.4cqw; text-align: center; background: var(--rc-p); }
  .rc-pill { display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2.8cqw 0.8cqw; border-radius: 999px; background: var(--rc-pd); color: #fff; font-size: 2.7cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .rc-pill i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #a98aff; }
  .rc-final p { margin-top: 1.6cqw; font: 600 4.1cqw/1 var(--font-numeric); color: #140a2a; }
  .rc-hot { margin-top: 2cqw; padding-bottom: 0; }
  .rc-chev { position: absolute; right: 2.2cqw; top: 2.6cqw; display: grid; place-items: center; width: 7.2cqw; height: 7.2cqw; border-radius: 50%; background: #5a6069; color: #fff; }
  .rc-chev .ic { width: 7cqw; height: 7cqw; margin: 0; transform: rotate(90deg); }
  .rc-pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 1.2cqw; margin-top: 4cqw; }
  .rc-pil { position: relative; display: grid; justify-items: center; align-content: end; gap: 0.4cqw; padding: 19cqw 1cqw 3cqw; border-radius: 5.6cqw; text-align: center; color: #fff; }
  .rc-pil.is-silver { height: 61cqw; background: linear-gradient(180deg, #8a909a 0%, #4a4f5c 100%); }
  .rc-pil.is-gold { height: 71cqw; background: linear-gradient(180deg, #a87a10 0%, #7a5300 100%); }
  .rc-pil.is-bronze { height: 56cqw; background: linear-gradient(180deg, #8c4a26 0%, #5e2d17 100%); }
  .rc-medal { position: absolute; left: 50%; top: 2.8cqw; display: grid; place-items: center; width: 16cqw; height: 16cqw; margin-left: -8cqw; border-radius: 50%; }
  .is-silver .rc-medal { background: radial-gradient(circle at 40% 32%, #f1f2f6, #a9afbd 75%); box-shadow: 0 0 0 1.6cqw rgb(255 255 255 / 0.16); }
  .is-gold .rc-medal { width: 17cqw; height: 17cqw; margin-left: -8.5cqw; background: radial-gradient(circle at 40% 32%, #f6d36a, #c8901a 75%); box-shadow: 0 0 0 1.6cqw rgb(255 220 120 / 0.16); }
  .is-bronze .rc-medal { background: radial-gradient(circle at 40% 32%, #e9a984, #b8642f 75%); box-shadow: 0 0 0 1.6cqw rgb(255 160 100 / 0.16); }
  .rc-medal .ui-ic { width: 8.4cqw; height: 8.4cqw; color: #fff; stroke-width: 1.5; }
  .rc-medal em { position: absolute; left: 50%; bottom: -2.4cqw; display: grid; place-items: center; width: 7cqw; height: 5.2cqw; margin-left: -3.5cqw; border-radius: 999px; background: #0f141d; font: 700 3.4cqw/1 var(--font-numeric); font-style: normal; }
  .rc-metal { font: 600 4.1cqw/1 var(--font-numeric); opacity: 0.55; }
  .rc-name { font: 600 4cqw/1 var(--font-numeric); }
  .rc-tot { margin-top: 3cqw; font: 600 6.5cqw/0.9 var(--font-numeric); font-variant-numeric: tabular-nums; }
  .rc-pil small { font: 600 3.2cqw/1 var(--font-numeric); color: #b4e03a; }
  .rc-pil.is-silver small, .rc-pil.is-bronze small { color: #c6e050; }

  /* competition details (351:352): the card's head, "Your entry" and the podium */
  .cg-userrow { justify-content: space-between; }
  .cg-user-r { display: flex; align-items: center; gap: 2.6cqw; }
  .cg-back { display: grid; place-items: center; width: 7.1cqw; height: 7.1cqw; flex: none; border-radius: 50%; background: var(--color-grey-3); color: #f4f6f8; }
  .cg-back .ic { width: 6.6cqw; height: 6.6cqw; margin: 0; }
  .cg-dhero { position: relative; overflow: hidden; margin: 2.4cqw 2cqw 0; padding: 3.6cqw 3.4cqw 3.4cqw; border-radius: 6.6cqw; text-align: center; background: radial-gradient(120% 70% at 50% 0%, #4d7d14 0%, #2c4a0c 46%, var(--app-card) 90%); }
  .cg-dhero .gs-badge { position: absolute; left: 3.6cqw; top: 3.6cqw; }
  .cg-dhero-d { margin: 1.4cqw auto 0; max-width: 78cqw; font-size: 2.9cqw; line-height: 1.38; color: var(--color-lime); }
  .cg-entry { margin: 2.4cqw 2cqw 0; padding: 3cqw 3cqw 3cqw; border-radius: 6cqw; background: var(--app-card); }
  .cg-entry-t { text-align: center; font: 500 5.4cqw/1 var(--font-numeric); }
  .cg-entry-r { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 2.2cqw; padding: 0.8cqw 1cqw 0.8cqw 3.6cqw; border-radius: 999px; background: var(--app-tile); font-size: 3.3cqw; }
  .cg-plus { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: var(--color-lime); color: var(--color-moss); font-style: normal; }
  .cg-plus .ic { width: 7cqw; height: 7cqw; margin: 0; }
  .cg-podcard { margin: 2.4cqw 2cqw 0; padding: 3cqw 3cqw 3.4cqw; border-radius: 6cqw; background: var(--app-card); }
  .cg-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 1.6cqw; margin-top: 2.6cqw; }
  .cg-pil { position: relative; display: grid; justify-items: center; align-content: end; gap: 0.6cqw; padding: 15cqw 1cqw 3cqw; border-radius: 5.4cqw; text-align: center; color: #f4f6f8; background: linear-gradient(180deg, #8d97a0 0%, #4a535b 100%); box-shadow: inset 0 0 0 0.4cqw rgb(255 255 255 / 0.16); }
  .cg-pil.is-gold { padding-top: 17cqw; background: linear-gradient(180deg, #e0a91e 0%, #7a5300 100%); }
  .cg-pil.is-silver { height: 48cqw; }
  .cg-pil.is-gold { height: 58cqw; }
  .cg-pil.is-bronze { height: 42cqw; background: linear-gradient(180deg, #c98550 0%, #6e3a19 100%); }
  .cg-medal { position: absolute; left: 50%; top: 3cqw; display: grid; place-items: center; width: 11cqw; height: 11cqw; margin-left: -5.5cqw; border-radius: 50%; background: radial-gradient(circle at 40% 32%, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.12) 70%); box-shadow: inset 0 0 0 0.4cqw rgb(255 255 255 / 0.4); }
  .cg-medal .ui-ic { width: 6.4cqw; height: 6.4cqw; color: #fff; stroke-width: 1.6; }
  .cg-pos { position: absolute; left: 50%; top: 12.4cqw; display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; margin-left: -2.3cqw; border-radius: 50%; background: #0c141c; font: 700 2.6cqw/1 var(--font-text); font-style: normal; color: #fff; }
  .cg-pil.is-gold .cg-medal { top: 3cqw; }
  .cg-pil.is-gold .cg-pos { top: 12.4cqw; }
  .cg-metal { font: 500 4cqw/1 var(--font-numeric); opacity: 0.8; }
  .cg-pname { font: 500 3.9cqw/1.05 var(--font-numeric); white-space: nowrap; }
  .cg-ptot { margin-top: 1.4cqw; font: 500 6.6cqw/0.9 var(--font-numeric); font-variant-numeric: tabular-nums; }
  .cg-pil small { font-size: 2.3cqw; line-height: 1.2; }
  .cg-pnote { margin-top: 2.6cqw; font-size: 2.6cqw; line-height: 1.4; color: var(--app-muted); }

  /* TARGET's lane screen in the iPad (the tablet scene of apps/target, after the app's look): on the page's static version it
     fills a landscape tablet; live it fills the portrait iPad turned on its side (below) */
  .cc-lane { background: var(--color-night); }
  .cc-lane .ts { inset: 0; }

  /* ───────────────────────── The plate: the clubhouse with the lights on and the door open ─────────────────────────
     Dark, like the footer it leads into (together they are the one close). A role of its own: tight. */
  .bfc-plate { background: var(--color-night); color: var(--text); }
  .bfc-plate-frame { position: relative; display: block; overflow: hidden; border-radius: var(--radius-panel); aspect-ratio: 16 / 9; background: var(--color-dusk); }
  .bfc-plate-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
  .bfc-plate-frame::after { content: ""; position: absolute; inset: 0; background: rgb(8 14 20 / 0.6); opacity: 0; pointer-events: none; transition: opacity 1500ms var(--ease-out); }
  @media (max-aspect-ratio: 1/1) { .bfc-plate-frame { aspect-ratio: 4 / 5; } }
  /* the script dims the picture until it comes into view, then the lights come on (never without JS or with reduced motion) */
  .bfc-plate.is-dim .bfc-plate-frame::after { opacity: 1; }
  /* the footer's download block: the badges, the QR and "Talk to us" in one row */
  .site-footer .store-row { position: relative; align-items: center; }


  /* ═════════════════════════ Live (assets/built-for-clubs.js adds .is-live) ═════════════════════════ */
  .bfc-layer { display: none; }
  .bfc.is-live .bfc-layer {
    display: block; position: sticky; top: 0; z-index: 3; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
    pointer-events: none;
  }
  .bfc-scene { position: absolute; inset: 0; perspective: var(--persp, 1800px); perspective-origin: 50% 50%; }
  .bfc-scene::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--band-h, 0px); background: linear-gradient(180deg, var(--color-white) 78%, rgb(255 255 255 / 0)); opacity: var(--band, 0); }

  /* a device: a solid. The front (the iPad's .tab, the phone's .phone, with the screens), an edge of lit faces, a back */
  .bfc-dev { position: absolute; left: 0; top: 0; width: var(--dw); transform-style: preserve-3d; }
  .bfc-dev-in, .bfc-dev-rot { position: relative; transform-style: preserve-3d; }
  .bfc-dev-rot { transform-origin: 50% 50%; }
  .bfc-dev .bfc-front { transform: translateZ(calc(var(--dw) * var(--th) / 2)); backface-visibility: hidden; }
  .bfc-dev .tab.bfc-front { --tw: var(--dw); box-shadow: inset 0 0 0 calc(var(--dw) * 0.003) rgb(255 255 255 / 0.12); }
  .bfc-dev .tab.bfc-front::before { display: none; }
  .bfc-dev .phone.bfc-front { --pw: var(--dw); box-shadow: inset 0 0 0 calc(var(--dw) * 0.003) rgb(255 255 255 / 0.12); }
  .bfc-dev .phone::before, .bfc-dev .phone::after { display: none; }
  .bfc-edge, .bfc-back { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
  .bfc-edge i {
    position: absolute; left: 50%; top: 50%; backface-visibility: hidden;
    width: calc(var(--fw) * var(--dw) + 1.5px); height: calc(var(--dw) * var(--th));
    margin: calc(var(--dw) * var(--th) / -2) 0 0 calc((var(--fw) * var(--dw) + 1.5px) / -2);
    transform: translate3d(calc(var(--fx) * var(--dw)), calc(var(--fy) * var(--dw)), 0) rotateZ(var(--fa)) rotateX(90deg);
    --c: calc(var(--l, 0.4) * 62% + 12%);
    background: linear-gradient(180deg, hsl(212 6% calc(var(--c) * 0.62)) 0%, hsl(212 7% var(--c)) 18%, hsl(212 6% calc(var(--c) * 0.86)) 52%, hsl(212 7% var(--c)) 84%, hsl(212 6% calc(var(--c) * 0.6)) 100%);
  }
  .bfc-edge i.is-btn::after, .bfc-edge i.is-btn2::before { content: ""; position: absolute; top: 30%; bottom: 30%; border-radius: 999px; background: hsl(212 6% calc(var(--c) * 0.8)); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25); }
  .bfc-edge i.is-btn::after { left: var(--bx, 30%); width: var(--bw, 12%); }
  .bfc-edge i.is-btn2::before { left: var(--bx2, 50%); width: var(--bw2, 10%); }
  .bfc-back { transform: translateZ(calc(var(--dw) * var(--th) / -2)) rotateY(180deg); backface-visibility: hidden; border-radius: calc(var(--dw) * var(--rr)); background: linear-gradient(155deg, #3a3d42 0%, #24262a 46%, #303338 100%); }
  .bfc-cam { position: absolute; left: 6%; top: 3%; width: 13%; aspect-ratio: 1; border-radius: 26%; background: linear-gradient(150deg, #44474d, #2a2c30); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
  .bfc-cam i { position: absolute; left: 18%; top: 18%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #3a4a6a 0%, #0b0f18 46%, #1c1e22 70%, #55585e 74%, #1a1b1e 100%); }
  .bfc-dev--phone .bfc-cam { left: 7%; top: 3.6%; width: 44%; border-radius: 22%; }
  .bfc-dev--phone .bfc-cam i { width: 40%; left: 6%; top: 6%; }
  .bfc-dev--phone .bfc-cam i:nth-child(2) { top: auto; bottom: 6%; }
  .bfc-dev--phone .bfc-cam i:nth-child(3) { left: auto; right: 6%; top: 30%; }
  .bfc-dev--phone.is-off { display: none; }   /* never opacity in a 3D chain */
/* while the season chapter is the one on screen the GO phone is not in the picture at all (CSS, so the scroll script cannot leave it sliding past) */
.bfc.is-live:has(#ch-season.is-on) .bfc-dev--phone { display: none !important; }
  .bfc-screens { position: absolute; inset: 0; }
  .bfc-screens > :is(.cs, .gs) { opacity: 0; visibility: hidden; transform: translateX(7%); transition: opacity 380ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s linear 520ms; }
  .bfc-screens > :is(.cs, .gs).is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 380ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s; }
  .bfc-screens > :is(.cs, .gs).is-gone { transform: translateX(-7%); }
  .bfc-flash { position: absolute; inset: 0; z-index: 3; background: var(--color-lime); opacity: 0; pointer-events: none; mix-blend-mode: screen; }

  @keyframes bfc-swing { from { opacity: 0; transform: translate3d(16%, 56%, calc(var(--dw) * -1.6)) rotateX(52deg) rotateY(-64deg) rotateZ(22deg); } 30% { opacity: 1; } }
  .bfc.is-live .bfc-dev[data-dev="ipad"] .bfc-dev-in { animation: bfc-swing 1500ms cubic-bezier(0.19, 1.08, 0.3, 1) var(--bfc-swing-delay, 0ms) both paused; }

  .bfc-shadow { position: absolute; left: 0; top: 0; width: calc(var(--dw) * 1.6); height: calc(var(--dw) * 0.3); margin: calc(var(--dw) * -0.15) 0 0 calc(var(--dw) * -0.8); border-radius: 50%; background: radial-gradient(closest-side, rgb(12 20 28 / 0.28), rgb(12 20 28 / 0.1) 52%, rgb(12 20 28 / 0)); opacity: 0; }
/* the lane chapter: a few target rings breathe out behind the iPad (outside it, never on it) while the lane screen is on */
.bfc-rings { position: absolute; left: 0; top: 0; width: calc(var(--dw) * 2.4); height: calc(var(--dw) * 2.4); margin: calc(var(--dw) * -1.2) 0 0 calc(var(--dw) * -1.2); pointer-events: none; opacity: 0; transition: opacity 400ms linear; }
.bfc-scene:has(.cc-lane.is-on) .bfc-rings { opacity: 1; }
.bfc-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(89 112 54 / 0.5); opacity: 0; animation: bfc-ring 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
.bfc-rings i:nth-child(2) { animation-delay: 0.8s; }
.bfc-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes bfc-ring { 0% { transform: scale(0.42); opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bfc-rings i { animation: none; } }

  .bfc-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .bfc-wires .w-lime { fill: none; stroke: var(--color-lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .bfc-wires .w-glow { fill: none; stroke: var(--color-lime); stroke-width: 9; stroke-opacity: 0.14; stroke-linecap: round; stroke-linejoin: round; }
  .bfc-wires .w-fern { fill: none; stroke: var(--color-fern); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .bfc-wires .w-ring { fill: none; stroke: var(--color-line-light); stroke-width: 1.5; }
  .bfc-wires .w-ring.is-major { stroke: #c4ccd4; }
  .bfc-wires .w-dot { stroke: var(--color-night); stroke-width: 1.5; }
  .bfc-wires .w-dot.is-guest { fill: var(--color-yellow); }
  .bfc-wires .w-dot.is-member { fill: var(--color-lime); }

  /* the light from the door: it switches on inside, then pours out and takes the page */
  .bfc-flood { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: none; }
  .bfc.is-live .bfc-flood { display: block; }
  .bfc-flood i {
    position: absolute; left: var(--dx, 70%); top: var(--dy, 20%); width: var(--dwid, 15%); height: var(--dhei, 40%);
    border-radius: 4px; background: var(--color-white); box-shadow: 0 0 40px 18px rgb(255 255 255 / 0.9);
    transform: scale(var(--fs, 0)); transform-origin: var(--ox, 50%) var(--oy, 50%); opacity: var(--fo, 0);
  }

  /* the hero, pinned for the check-in */
  .bfc.is-live .bfc-hero { height: calc(100vh + var(--turn, 90vh)); height: calc(100svh + var(--turn, 90svh)); }
  .bfc.is-live .bfc-hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
  .bfc.is-live .bfc-hero-media, .bfc-pre .bfc-hero-media { visibility: hidden; }
  .bfc.is-live.is-white .bfc-photo, .bfc.is-live.is-white .bfc-hero-pin::after { visibility: hidden; }
  .bfc.is-live.is-white .bfc-hero-pin { background: var(--color-white); }

  /* the story: each beat's copy is held in the middle of the screen while its moment plays. The lead and, on every
     screen under 900 px, the way the copy sits below the phone are the pinned stages: their roles' padding is the
     stage itself (the sticky box), not air. */
  .bfc.is-live .bfc-lead { min-height: 165vh; min-height: 165svh; max-width: none; padding: 0; display: flow-root; }
  .bfc.is-live .bfc-lead > * { position: sticky; }
  .bfc.is-live .bfc-spread {
    top: var(--lead-y, 50vh); translate: 0 -50%; margin-top: 50vh; margin-top: 50svh;
    display: grid; grid-template-columns: 1fr var(--gap-w, 34vw) 1fr; align-items: center; padding-inline: var(--gutter);
    line-height: 0.86;
  }
  .bfc.is-live .bfc-spread-a { justify-self: end; text-align: right; }
  .bfc.is-live .bfc-spread-b { grid-column: 3; justify-self: start; text-align: left; }
  .bfc.is-live .bfc-lead-p { top: var(--lead-p-top, calc(50vh + 15rem)); margin: 0 auto; max-width: 40rem; padding-inline: var(--gutter); text-align: center; opacity: 0; transition: opacity 380ms var(--ease-out); }
  .bfc.is-live .bfc-lead.is-on .bfc-lead-p { opacity: 1; transition-duration: 600ms; }

  /* copy arrives as its chapter does (the script sets .is-on on the chapter) */
  .bfc.is-live .bfc-ch .bfc-ch-copy > * { opacity: 0; transform: translateY(26px); transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out); }   /* leaving: ~65 % of arriving */
  .bfc.is-live .bfc-ch.is-on .bfc-ch-copy > * { opacity: 1; transform: none; transition-duration: 560ms, 640ms; }
  .bfc.is-live .bfc-ch.is-on .bfc-ch-copy > :nth-child(2) { transition-delay: 60ms; }
  .bfc.is-live .bfc-ch.is-on .bfc-ch-copy > :nth-child(3) { transition-delay: 120ms; }
  .bfc.is-live .bfc-ch.is-on .bfc-ch-copy > :nth-child(4) { transition-delay: 180ms; }
  .bfc.is-live .bfc-ch .bfc-ch-copy > [data-extra] { transition-delay: 0ms; }
  .bfc.is-live .bfc-ch:not(.is-paid) .bfc-ch-copy > [data-extra] { opacity: 0; transform: translateY(26px); transition-duration: 360ms, 420ms; }
  .bfc.is-live .bfc-ch.is-paid .bfc-ch-copy > [data-extra] { opacity: 1; transform: none; transition-duration: 560ms, 640ms; }
  @media (hover: hover) and (pointer: fine) {
  }

  /* ───── the moments' parts on the stage (made by the script) ───── */
  .bfc-fx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
  .bfc-fx > * { position: absolute; left: 0; top: 0; }
  /* a series on its way from TARGET's lane to the member's GO (03) */
  .bfc-chip { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--color-line-dark); color: var(--color-snow); box-shadow: var(--shadow-md); font-size: 0.875rem; white-space: nowrap; opacity: 0; }
  .bfc-chip .gs-post-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; padding-top: 2px; background: var(--color-lime); color: var(--color-night); font: 500 1.1rem/1 var(--font-numeric); }
  .bfc-chip b { font: 500 1.4rem/1 var(--font-numeric); color: var(--color-lime); padding-top: 0.12em; }
  .bfc-chip small { color: var(--color-snow-2); }
  /* the screens' parts the moments switch on (the finished state is the CSS default) */
  .bfc.is-live [data-screen="scan"].is-armed .cc-found { opacity: 0; transform: scale(1.06); }
  .bfc.is-live [data-screen="scan"].is-armed.is-found .cc-found { opacity: 1; transform: none; transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out); }
  .bfc.is-live [data-screen="cup"] .cg-rank li { transition: transform 820ms cubic-bezier(0.5, 0, 0.2, 1), box-shadow 300ms ease, background-color 300ms ease; }
  .bfc.is-live [data-screen="cup"] .cg-rank li.is-lift { z-index: 2; background: #4b545d; box-shadow: 0 2.6cqw 6cqw rgb(0 0 0 / 0.55), inset 0 0 0 0.5cqw var(--color-lime); }
  .bfc.is-live [data-screen="cup"] .cg-rank li.is-empty b { color: var(--app-muted); }
  .bfc.is-live [data-screen="cup"] .cg-rank li i { background: #a0a8b0; transition: background-color 300ms ease; }
  .bfc.is-live [data-screen="cup"] .cg-rank li.is-1 i { background: linear-gradient(160deg, #f3d36b, #b8860b); }
  .bfc.is-live [data-screen="cup"] .cg-rank li.is-2 i { background: linear-gradient(160deg, #e7ebef, #8f98a1); }
  .bfc.is-live [data-screen="cup"] .cg-rank li.is-3 i { background: linear-gradient(160deg, #e3a273, #9a5a2e); }
  .bfc.is-live [data-screen="door"].is-armed .cc-log li { display: none; }
  .bfc.is-live [data-screen="door"].is-armed .cc-log li.is-on { display: grid; }
  .bfc.is-live [data-screen="month"].is-armed .cc-chart i { transform: scaleY(var(--g, 0)); }
  /* TARGET's lane in the iPad turned on its side: the screen is the landscape tablet, laid across the portrait glass */
  .bfc.is-live .bfc-screens > .cc-lane { container-type: inline-size; inset: auto; left: 50%; top: 50%; right: auto; bottom: auto; width: 100cqh; height: 100cqw; translate: -50% -50%; rotate: 90deg; }
  .bfc.is-live [data-screen="lane"].is-armed .ts-shot { opacity: 0; transform: scale(2.4); transform-box: fill-box; transform-origin: center; transition: opacity 120ms linear, transform 280ms var(--ease-out); }
  .bfc.is-live [data-screen="lane"].is-armed .ts-shot.is-on { opacity: 1; transform: none; }
  .bfc.is-live [data-screen="lane"].is-armed .marker-ring { opacity: 0; }
  .bfc.is-live [data-screen="lane"].is-armed.is-last .marker-ring { opacity: 1; transition: opacity 240ms linear; }
  .bfc.is-live [data-screen="lane"].is-armed .ts-chips li { opacity: 0.001; transform: translateY(1cqw); }
  .bfc.is-live [data-screen="lane"].is-armed .ts-chips li.is-on { opacity: 1; transform: none; transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-out); }
  .bfc.is-live [data-screen="lane"].is-armed .ts-saved { opacity: 0; transform: translateY(1cqw); }
  .bfc.is-live [data-screen="lane"].is-armed.is-saved .ts-saved { opacity: 1; transform: none; transition: opacity 280ms var(--ease-out), transform 360ms var(--ease-out); }
  .bfc-link { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: var(--color-fern); }
  .bfc.is-live .bfc-ch-after .bfc-link { text-decoration-color: var(--color-fern); }

  /* ───── desktop and tablet (600 px and up): the copy is held in the middle of the screen, 5 of 12 columns wide ───── */
  @media (min-width: 600px) {
    .bfc.is-live .bfc-ch { min-height: 200vh; min-height: 200svh; max-width: none; padding: 0 var(--gutter); align-items: start; column-gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bfc.is-live .bfc-ch[data-ch="1"] { min-height: 225vh; min-height: 225svh; }
    .bfc.is-live .bfc-ch[data-ch="2"], .bfc.is-live .bfc-ch[data-ch="3"] { min-height: 260vh; min-height: 260svh; }   /* two beats: the lane, then the result */
    .bfc.is-live .bfc-ch-copy { position: sticky; top: 50vh; top: 50svh; translate: 0 -50%; margin-top: 50vh; margin-top: 50svh; justify-self: center; width: calc((100vw - 2 * var(--gutter)) * 5 / 12); max-width: none; }
    .bfc.is-live .bfc-ch[data-side="right"] .bfc-ch-copy { grid-column: 2; }
    .bfc.is-live .bfc-ch-media { display: none; }
    .bfc.is-live .bfc-ch-h { font-size: min(var(--type-display-l-size), 11.5svh); }
    .bfc.is-live .bfc-ch-lead { max-width: 30ch; font-size: min(var(--type-lede-size), 3.4svh); }
    .bfc.is-live .bfc-ch-copy .body { font-size: min(var(--type-body-size), 2.6svh); }
  }
  @media (min-width: 1200px) { .bfc.is-live .bfc-ch-lead { font-size: min(1.5rem, 3.4svh); } }
  /* short screens (a 13" laptop): the held copy has to fit between the bar and the rail, extras and all */
  @media (min-width: 900px) and (max-height: 860px) {
    .bfc.is-live .bfc-ch-copy .body { font-size: min(var(--type-body-size), 2.3svh); }
    .bfc.is-live .bfc-quote p { font-size: min(clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem), 4.6svh); }
    .bfc.is-live .bfc-stats dd { font-size: min(clamp(2.5rem, 1.7rem + 2vw, 3.5rem), 7svh); }
    .bfc.is-live .bfc-ch-copy .body + [data-extra] { margin-top: min(var(--gap-action), 1.6svh); }
  }

  @media (min-width: 900px) and (max-height: 780px) {
    .bfc.is-live .bfc-ch-h { font-size: min(var(--type-display-l-size), 9.6svh); }
    .bfc.is-live .bfc-quote p { font-size: min(clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem), 4svh); }
    .bfc.is-live .bfc-ch-copy .body + [data-extra] { margin-top: var(--space-3); }
  }

  /* ───── the tablet (600 to 899 px): its own composition. The phone stands on the left, the copy on the right, in every chapter ───── */
  @media (min-width: 600px) and (max-width: 1023.98px) {
  }
  @media (min-width: 600px) and (max-width: 899.98px) {
    .bfc.is-live .bfc-ch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
    .bfc.is-live .bfc-ch .bfc-ch-copy, .bfc.is-live .bfc-ch[data-side="right"] .bfc-ch-copy { grid-column: 2; justify-self: end; width: min(26rem, 100%); }
    .bfc.is-live .bfc-ch-h { font-size: min(var(--type-display-l-size), 9vw, 10svh); }
    .bfc.is-live .bfc-ch-lead { font-size: min(1.3125rem, 2.8svh); }
    .bfc.is-live .bfc-quote p { font-size: min(1.875rem, 4svh); }
    .bfc.is-live .bfc-stats { grid-template-columns: repeat(3, minmax(0, 7.2rem)); }
    .bfc.is-live .bfc-stats dd { font-size: min(2.75rem, 6svh); }
  }

  /* ───── the lead on every screen under 900 px: the iPad on top, the words pinned below it (the script sets --lead-top and
     --lead-p-top from the iPad's size). Tablets get a white band behind the iPad for the lead only. ───── */
  @media (max-width: 899.98px) {
    .bfc.is-live .bfc-spread { grid-template-columns: 1fr; gap: 0; top: var(--lead-top, 54svh); bottom: auto; margin-top: 60vh; margin-top: 60svh; translate: none; text-align: center; font-size: clamp(2.75rem, 11vw, 4.25rem); }
    .bfc.is-live .bfc-spread-a, .bfc.is-live .bfc-spread-b { grid-column: 1; justify-self: center; text-align: center; }
    .bfc.is-live .bfc-lead-p { top: var(--lead-p-top, 70svh); margin-top: var(--gap-head); opacity: 1; }
    .bfc.is-live .bfc-lead { min-height: 150vh; min-height: 150svh; padding-bottom: 0; }
    .bfc-scene::before { background: linear-gradient(180deg, var(--color-white) 90%, rgb(255 255 255 / 0)); }
  }

  /* ───── phones (under 600 px): the phone on top, the copy pinned below it, always above the bottom bar ─────
     The held copy is the problem, the headline and one sentence (it fits the zone between the phone and the bar, whose
     height the script reads from var(--mbar-clear)); the support sentence, the quote and the numbers come in line AFTER the
     moment, in .bfc-ch-after, which the script builds on phones. The hold is short: about one screen. */
  @media (max-width: 599.98px) {
    .bfc.is-live .bfc-ch { display: block; min-height: 0; max-width: none; padding: 0 var(--gutter); }
    .bfc.is-live .bfc-ch-hold { display: block; height: var(--hold, 115svh); }
    .bfc.is-live .bfc-ch-copy { position: sticky; top: var(--zone-top, 54svh); translate: none; margin: 0 auto; width: 100%; max-width: 34rem; max-height: var(--zone-h, 40svh); }
    .bfc.is-live .bfc-ch-media { display: none; }
    .bfc.is-live .bfc-ch-h { font-size: min(var(--type-display-l-size), 12.5vw, 6.2svh); }
    .bfc.is-live .bfc-ch-lead { font-size: min(var(--type-lede-size), 2.5svh); max-width: 34ch; }
    .bfc.is-live .bfc-ch-after { display: grid; justify-items: start; gap: var(--space-3); width: 100%; max-width: 34rem; margin: 0 auto; padding: var(--space-4) 0 var(--space-8); opacity: 0; transform: translateY(24px); transition: opacity 480ms var(--ease-out), transform 560ms var(--ease-out); }
    .bfc.is-live .bfc-ch-after.is-in { opacity: 1; transform: none; }
    .bfc.is-live .bfc-ch-after .bfc-quote p { font-size: 1.75rem; }
    .bfc.is-live .bfc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  }
}

@layer utilities {
  @media (prefers-reduced-motion: reduce) {
    .bfc-word, .bfc-kicker, .bfc-hero-lede, .bfc-hero-cta, .bfc-cue { animation: none; }
    .bfc-dot::before, .bfc-dot::after { display: none; }
    .bfc-plate-frame::after { transition: none; }
  }
}

/* ═══ Rebuilt 2026-10-26 from "Præsentation af Aimlink" + "Mere skydesport": every article ends in the same pair, what the club
   gets and what its shooters get, then one value statement per app. Plain columns and rules, no cards. ═══ */
@media all {
  .bfx-apps { display: grid; gap: 0; margin: 0 0 var(--space-5); padding: 0; }
  .bfx-apps > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-top: 1px solid var(--color-line-light); }
  .bfx-apps dt { display: contents; font-weight: 700; color: var(--color-ink); }
  .bfx-apps dt img { grid-row: 1 / span 2; width: 40px; height: 40px; }
  .bfx-apps dt { font-size: 1.0625rem; }
  .bfx-apps dd { margin: 0; grid-column: 2; color: var(--color-ink-2); line-height: 1.5; }
  .bfx-apps > div:last-child { border-bottom: 1px solid var(--color-line-light); }

  .bfx-benefits { max-width: 1180px; margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--space-4); }
  .bfx-col { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-media); }
  .bfx-col--club { background: var(--color-night); color: var(--color-white); }
  .bfx-col--shooter { background: var(--color-mint); color: var(--color-ink); }
  .bfx-col h3 { margin: 0 0 var(--space-3); font: 500 clamp(2.25rem, 3.4vw, 3.25rem)/1 var(--font-display); }
  .bfx-col--club h3 { color: var(--color-lime); }
  .bfx-col--shooter h3 { color: var(--color-moss); }
  .bfx-col ul { list-style: none; margin: 0; padding: 0; }
  .bfx-col li { position: relative; padding: var(--space-4) 0 var(--space-4) 32px; font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
  .bfx-col--club li { border-top: 1px solid var(--color-line-dark); color: var(--color-white); }
  .bfx-col--shooter li { border-top: 1px solid rgb(48 72 8 / .28); color: var(--color-ink); }
  .bfx-col li span { display: block; font-weight: 400; }
  .bfx-col--club li span { color: var(--color-snow-2); }
  .bfx-col--shooter li span { color: var(--color-ink-2); }
  .bfx-col li:first-child { border-top: 0; }
  .bfx-col li::before { content: ""; position: absolute; left: 0; top: calc(var(--space-4) + .78em); width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .bfx-col--club li::before { background: var(--color-lime); }
  .bfx-col--shooter li::before { background: var(--color-moss); }
  .bfx-col li b { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
  .bfx-col--club li b { color: var(--color-white); }
  .bfx-col--shooter li b { color: var(--color-ink); }
  .bfx-value { max-width: 1180px; margin: clamp(40px, 5vw, 72px) auto 0; padding-top: var(--space-5); border-top: 4px solid var(--color-lime); color: var(--color-ink); font: 500 clamp(2rem, 1.2rem + 2.4vw, 3.5rem)/1.1 var(--font-display); letter-spacing: .005em; text-wrap: balance; }
  .bfx-value b { color: var(--color-moss); font-weight: 500; }
  /* the value statement: a matte soft tile like the "Everything in GO" tiles, target rings rising from its right edge, one fine lime ring riding the border (Magic UI BorderBeam; TextReveal lights the words) */
  .bfx-value--finale { position: relative; isolation: isolate; overflow: hidden; max-width: 1180px; margin-top: clamp(64px, 7vw, 104px); padding: clamp(32px, 5vw, 72px); border: 0; border-radius: var(--radius-media); background: var(--bg-alt); box-shadow: 0 2px 6px -4px rgb(12 20 28 / .2); color: var(--color-ink); font-size: clamp(1.875rem, 1.1rem + 2.2vw, 3.25rem); }
  /* the wide articles sit on paper, so their panel is white and the tile stays readable; the others sit on white and keep the grey */
  .bf-article--wide .bfx-value--finale { background: var(--color-white); }
  .bfx-value--finale { box-shadow: 0 2px 6px -4px rgb(12 20 28 / .2), 0 0 0 1px var(--color-line-light); }
  .bfx-value--finale::before { content: ""; position: absolute; z-index: -1; right: clamp(-220px, -12vw, -90px); top: 50%; width: clamp(360px, 46vw, 640px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; pointer-events: none;
    background: repeating-radial-gradient(circle, transparent 0 38px, rgb(84 120 32 / .2) 38px 39px); -webkit-mask: radial-gradient(circle, #000 20%, transparent 72%); mask: radial-gradient(circle, #000 20%, transparent 72%); }
  .bfx-value--finale b { display: block; margin-bottom: var(--space-3); color: var(--color-moss); font-size: .42em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-text); }
  .bfx-value--finale .mu-fx-beam { --mu-fx-beam-a: var(--color-moss); --mu-fx-beam-b: rgb(84 120 32 / .3); }
  .bfx .bf-article-head h2 { text-wrap: balance; }
  .bfx .bf-next-step { margin-top: var(--space-8); }

  .bfx-why > .container { max-width: 1180px; }
  .bfx-why h2 { margin: 0; font: 500 clamp(3rem, 5.5vw, 6rem)/1.02 var(--font-display); text-wrap: balance; }
  .bfx-why h2 em { color: var(--color-moss); font-style: italic; }
  .bfx-why-lede { margin-top: var(--space-5); }
  .bfx-why-list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--color-ink); }
  .bfx-why-list li { padding: var(--space-5) clamp(16px, 2.5vw, 40px) var(--space-3) 0; }
  .bfx-why-list li + li { padding-left: clamp(16px, 2.5vw, 40px); border-left: 1px solid var(--color-line-light); }
  .bfx-why-list h3 { margin: 0 0 var(--space-3); font: 500 clamp(1.75rem, 2.4vw, 2.25rem)/1.05 var(--font-display); color: var(--color-ink); }
  .bfx-why-list p { margin: 0; color: var(--color-ink-2); line-height: 1.65; }
  .bfx-start { margin-top: clamp(56px, 7vw, 104px); padding-top: var(--space-6); border-top: 1px solid var(--color-line-light); }
  .bfx-start h3 { margin: 0; font: 500 clamp(2rem, 3.4vw, 3.25rem)/1 var(--font-display); color: var(--color-ink); }
  .bfx-start-lede { max-width: 56ch; margin: var(--space-3) 0 0; color: var(--color-ink-2); line-height: 1.6; }
  .bfx-start-apps { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) clamp(20px, 3vw, 48px); }
  .bfx-start-apps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-1) var(--space-3); align-content: start; }
  .bfx-start-apps img { grid-row: 1; width: 40px; height: 40px; }
  .bfx-start-apps div { grid-column: 2; display: grid; }
  .bfx-start-apps b { color: var(--color-ink); font-size: 1.0625rem; }
  .bfx-start-apps span { color: var(--color-ink-2); font-size: .9375rem; }
  .bfx-start-apps .btn { grid-column: 1 / -1; justify-self: start; margin-top: var(--space-3); gap: 14px; }
  .bfx-close { margin: clamp(32px, 4vw, 56px) 0 0; max-width: 28ch; font: 500 clamp(1.75rem, 2.8vw, 2.5rem)/1.1 var(--font-display); color: var(--color-ink); }

  @media (max-width: 899.98px) {
    .bfx-benefits, .bfx-why-list, .bfx-start-apps { grid-template-columns: 1fr; }
    .bfx-why-list li, .bfx-why-list li + li { padding-inline: 0; border-left: 0; }
    .bfx-why-list li + li { border-top: 1px solid var(--color-line-light); }
  }
}

/* the clubs cover: a little more scrim behind the headline band (lime on the brightest part of the photograph measured 2.7:1) */
.bf-cover--clubs .bf-cover-photo::after { background: linear-gradient(180deg, rgb(12 20 28 / .82), rgb(12 20 28 / .75) 10%, rgb(12 20 28 / .1) 34%, rgb(12 20 28 / .58) 44%, rgb(12 20 28 / .96)); }

/* left edges: one column for heading, photo, columns, statements, why and download */
.bfx .bf-article-head { max-width: 1180px; }
.bfx .bf-article-head h2 { max-width: none; }
.bfx-why > .container { max-width: calc(1180px + 2 * var(--gutter)); }
.bf-intro h3 { font: 500 clamp(1.75rem, 2.4vw, 2.25rem)/1.05 var(--font-display); letter-spacing: .005em; color: var(--color-ink); }
.bf-intro .bf-index a { font: 500 1.25rem/1.1 var(--font-display); }
@media (min-width: 900px) { .bf-intro-grid > div:first-child { position: sticky; top: 100px; align-self: start; } }
.bfx-start-apps li { min-width: 0; }
.bfx-start-apps .btn { width: 100%; white-space: normal; justify-content: space-between; text-align: left; }
#ch-season .bfc-ch-h { text-wrap: balance; }
@media (min-width: 1024px) { .bfc.is-live #ch-season .bfc-ch-h { font-size: min(var(--type-display-l-size), 9.4svh); } }
.bfc.is-live .bfc-lead-p { position: sticky; z-index: 4; }
/* the story stage slides under each article: soften the cut instead of a straight crop */
.bfx::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; height: 64px; background: linear-gradient(to bottom, rgb(255 255 255 / 0), var(--color-white)); pointer-events: none; }
.bfx.bf-article--wide::before { background: linear-gradient(to bottom, rgb(244 246 248 / 0), var(--color-paper)); }

.bfx-why, .bfx-start { scroll-margin-top: 112px; }
.bfx-col li b.cont, .bfx-col li span.cont { display: inline; }
.bfx-col li { padding-block: 14px; }
.bfx-col li::before { top: calc(14px + .55em); }
.bfx-start-apps span { font-size: 1rem; }
.bfx-start-apps { gap: var(--space-5); }
.bfx-start-apps li { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: 48px 1fr auto; align-content: stretch; justify-items: start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-media); background: var(--color-paper); box-shadow: 0 8px 24px rgb(12 20 28 / .05); }
.bfx-start-apps img { width: 48px; height: 48px; }
.bfx-start-apps div { display: contents; }
.bfx-start-apps b { grid-column: 2; grid-row: 1; align-self: center; font: 500 1.75rem/1 var(--font-display); }
.bfx-start-apps span { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; line-height: 1.6; }
.bfx-start-apps .btn { margin-top: var(--space-2); }
/* A short display statement frames the device; the explanation sits below it. */
.bfc .bfc-ch-h em { background: var(--color-lime); color: var(--color-moss); padding-inline: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bfc .bfc-ch-h { text-wrap: balance; }
.bfx .bf-article-head { display: flex; align-items: center; gap: var(--space-4); }
.bfx-app-logo { order: -1; flex: 0 0 auto; width: clamp(40px, 5vw, 64px); height: auto; }
.bfx .bf-article-head h2 { min-width: 0; }
.get-sheet.get-sheet--single { width: min(32rem, calc(100% - 2rem)); }
.get-sheet--single .get-app[hidden] { display: none; }
.get-sheet--single .get-app { padding-bottom: 0; }
@media (min-width: 900px) {
  .bfc.is-live .bfc-spread { font-size: min(4.1vw, 7svh); line-height: 1; }
  .bfc.is-live .bfc-lead-p { max-width: calc(46ch + 2 * var(--gutter)); font-size: min(1.25rem, 2.5svh); line-height: 1.5; }
}
@media (max-width: 899.98px) {
  .bfc.is-live .bfc-spread { font-size: clamp(1.5rem, 5.4vw, 2rem); line-height: 1.08; gap: var(--space-3); }
}
@media (max-width: 599.98px) {
  .bfx-col { padding: 20px; }
  .bfx-col li { padding-left: 24px; }
  .bfx-start-apps .btn { min-height: 48px; padding-block: 10px; line-height: 1.15; }
}

/* the iPad's check-in screen in the hero is the recorded CLUB scanner (videos/club-sync.mp4); it covers the stand-in screen */
.cc-scan { position: relative; }
.tab-screen > .bfc-rec { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; z-index: 9; background: #091017; }
.cc-lane > video.club-screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #091219; }
.cc-month > video.club-screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #091219; }

/* Digital scoring: the recorded TARGET series plays on the tablet (videos/target-score-fast.mp4) */
.cc-lane > video.club-screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #091219; }

/* Development: the manual target screen on the phone. The series values fly in from the left, one by one, once. */
.bfc .cg-manual { background: var(--app-bg, #0c1419); color: #f4f6f8; padding: 0 4cqw; container-type: size; }
.cg-m-h { margin-top: 10cqw; text-align: center; font: 600 5cqw/1 var(--font-display, inherit); }
.cg-m-tabs { display: flex; gap: 2cqw; margin-top: 4cqw; padding: 1.2cqw; border-radius: 3cqw; background: #26323b; font-size: 3.2cqw; font-weight: 600; }
.cg-m-tabs span { flex: 1; text-align: center; padding: 1.4cqw 0; border-radius: 2.4cqw; color: var(--app-muted, #aab4bc); }
.cg-m-tabs .is-on { background: #3a4852; color: #f4f6f8; }
.cg-m-stats { display: flex; justify-content: space-between; margin-top: 3.4cqw; }
.cg-m-stats p { display: grid; gap: 0.6cqw; font-size: 2.8cqw; color: var(--app-muted, #aab4bc); }
.cg-m-stats b { font: 500 4.6cqw/1 var(--font-numeric, inherit); color: var(--color-lime, #dcf399); }
.cg-m-series { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; margin-top: 4cqw; min-height: 14cqw; }
.cg-m-serie { display: grid; justify-items: center; gap: 0.8cqw; padding: 1.6cqw 0; border-radius: 3cqw; background: #3a4852; font-size: 2.6cqw; transform: translate(-170cqw, 0); opacity: 0; }
.cg-m-serie i { font-style: normal; color: var(--app-muted, #aab4bc); }
.cg-m-serie b { font: 600 4cqw/1 var(--font-numeric, inherit); color: var(--color-lime, #dcf399); }
.cg-m-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6cqw; margin-top: 5cqw; }
.cg-m-cell { display: grid; place-items: center; padding: 2.2cqw 0; border-radius: 2.4cqw; background: #3a4852; color: var(--color-lime, #dcf399); font: 600 3.4cqw/1 var(--font-numeric, inherit); }
.cg-m-save { margin-top: 5cqw; padding: 3cqw 0; border-radius: 4cqw; background: var(--color-lime, #dcf399); color: #0c1419; text-align: center; font-weight: 800; letter-spacing: 0.08em; }
@media (prefers-reduced-motion: reduce) { .cg-m-serie { transform: none; opacity: 1; } }
