/* ==========================================================================
   Royal York FC: styles for the interactive pieces (assets/js/interactive.js)
   Ported from the Demo (Content/Demo/assets/css/main.css) by /scaffold-site. Only what the ported
   pieces need: their hooks, the elements their script creates, and the widgets they sit in (by
   the CSS Class each widget is given: ryfc-hero, ryfc-intro, ryfc-quick, ryfc-page-hero, ryfc-programs,
   ryfc-pathway). The site's look (type, colours, cards, buttons) is Theme Settings and design.css.
   Colours are the palette's (--color-*); this file declares only --ix-* and --ball-d.
   ========================================================================== */

/* ---------------- 3D ball canvas + stops (Demo: "3D ball canvas + anchors") ---------------- */
.ball-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 40; pointer-events: none;
  opacity: 0; transition: opacity .6s cubic-bezier(.22, .8, .24, 1);
}
.ball-canvas.is-ready { opacity: 1; }
/* In the air in a play area it flies in front of the header (the framework's header is z-index 999) */
.ball-canvas.is-up { z-index: 1000; }
.ix-ball-stop { position: relative; }
.ix-ball-stop .ball-fallback { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.has-ball-3d [data-ball-live] .ball-fallback { visibility: hidden; }

/* ---------------- HERO (Home › Hero, CSS Class ryfc-hero) ----------------
   Demo: .hero. A full-screen pitch split 50/50: the stage hook (pitch markings + wordmark) and the
   ball hook share the left half, the slide's copy fills the right half. interactive.js sets --ball-d. */
.banner-container-constrained.ryfc-hero {
  --ix-gutter: clamp(16px, 4vw, 56px);
  --ball-d: clamp(240px, min(36vw, calc((100svh - 200px) * .74)), 700px);
  --ix-frame: 14px;
  --ix-frame-b: clamp(38px, 5vh, 48px);
  height: auto;
  min-height: max(calc(100svh - var(--cc-header-offset, 84px)), 620px);
  padding: var(--ix-frame) 0 var(--ix-frame-b);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: clip; isolation: isolate;
}
/* Touchlines frame the hero (Demo: .hero__touch) */
.banner-container-constrained.ryfc-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: var(--ix-frame) var(--ix-gutter) var(--ix-frame-b);
  border: 1.5px solid var(--color-heading); border-radius: 4px; opacity: .11;
}
.ryfc-hero > div[id]:empty { position: absolute; }
.ryfc-hero > .hero__stage {
  --cx: calc(var(--ix-gutter) + (100% - var(--ix-gutter) - 32px) / 2);
  grid-area: 1 / 1; position: relative;
  display: grid; place-items: center;
  padding: 0 32px 0 var(--ix-gutter);
  min-height: calc(var(--ball-d) * 1.1);
  touch-action: pan-y;
}
.ryfc-hero > .hero__ball {
  grid-area: 1 / 1; place-self: center;
  margin: 0 32px 0 var(--ix-gutter);
  width: var(--ball-d); aspect-ratio: 1;
  z-index: 2; border-radius: 50%;
  touch-action: pan-y;
}
.ryfc-hero > ul.ms-banner-constrained { grid-area: 1 / 2; height: auto; display: flex; overflow: visible; z-index: 3; }
.ryfc-hero ul.ms-banner-constrained li { display: flex; }
.ryfc-hero ul.ms-banner-constrained li::after { display: none; }
.banner-container-constrained.ryfc-hero .img-wrapper { display: none; }
.banner-container-constrained.ryfc-hero .banner-details {
  position: static; transform: none; max-width: none; width: 100%;
  display: flex; align-items: center; justify-content: flex-start; text-align: left;
  padding: 0 calc(var(--ix-gutter) + clamp(28px, 3.5vw, 64px)) 0 clamp(36px, 5vw, 96px);
}
.banner-container-constrained.ryfc-hero .banner-content { max-width: none; align-items: flex-start; }

/* Penalty area, six-yard box and the "D", measured from the ball on its spot (Demo: .pitch) */
.ix-hero-stage .pitch { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--color-heading); }
.ix-hero-stage .pitch > * { position: absolute; border: 1.5px solid currentColor; opacity: .11; }
.ix-hero-stage .pitch__box {
  left: var(--ix-gutter); top: 50%; transform: translateY(-50%); border-left: 0;
  width: calc(var(--cx) + var(--ball-d) * .3 - var(--ix-gutter));
  height: min(calc(var(--ball-d) * 1.9), calc(100% - 64px));
}
.ix-hero-stage .pitch__six {
  left: var(--ix-gutter); top: 50%; transform: translateY(-50%); border-left: 0;
  width: calc((var(--cx) + var(--ball-d) * .3 - var(--ix-gutter)) * .34);
  height: min(calc(var(--ball-d) * .86), 44%);
}
.ix-hero-stage .pitch__arc {
  left: calc(var(--cx) - var(--ball-d) * .62); top: 50%; transform: translateY(-50%);
  width: calc(var(--ball-d) * 1.24); aspect-ratio: 1; border-radius: 50%;
  clip-path: inset(0 0 0 74.2%);
}
.ix-hero-stage .pitch__circle { display: none; }
/* The wordmark is a quiet watermark stacked around the ball (Demo: .hero__words) */
.ix-hero-stage .hero__words {
  opacity: .1; width: 100%;
  display: grid; grid-template-columns: 1fr;
  grid-template-rows: auto calc(var(--ball-d) * .34) auto;
  font-family: var(--font-heading);
  font-size: calc(var(--ball-d) * .42);
  font-weight: 500; line-height: .8; letter-spacing: -.045em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 144;
  color: var(--color-heading); user-select: none;
}
.ix-hero-stage .hero__word { display: block; padding-bottom: .12em; }
.ix-hero-stage .hero__word--l { grid-row: 1; justify-self: start; }
.ix-hero-stage .hero__word--r { grid-row: 3; justify-self: end; color: var(--color-main); font-style: italic; font-weight: 400; letter-spacing: -.035em; }

/* Tablet portrait + phones: the ball above the message (Demo: @media 860px) */
@media (max-width: 860px) {
  .banner-container-constrained.ryfc-hero { grid-template-columns: minmax(0, 1fr); --ball-d: min(66vw, 40vh); --ix-frame: 10px; --ix-frame-b: 16px; padding-bottom: 48px; min-height: 0; }
  .ryfc-hero > .hero__stage { --cx: 50%; padding: 52px var(--ix-gutter) 60px; min-height: auto; }
  .ryfc-hero > .hero__ball { margin: 0; }
  .ryfc-hero > ul.ms-banner-constrained { grid-area: 2 / 1; }
  .banner-container-constrained.ryfc-hero .banner-details { padding: 0 var(--ix-gutter); }
  .ix-hero-stage .hero__words { grid-template-rows: auto calc(var(--ball-d) * .84) auto; font-size: clamp(72px, 23vw, 140px); }
  .ix-hero-stage .pitch__box, .ix-hero-stage .pitch__six, .ix-hero-stage .pitch__arc { display: none; }
  .ix-hero-stage .pitch__circle { display: block; left: 50%; top: 50%; height: calc(var(--ball-d) * 1.46); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
}

/* ---------------- Keep-ups scoreboard, touch numbers, confetti (Demo: .keepups, .keepup-pop, .confetti) ---------------- */
.keepups {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: var(--color-heading); color: var(--color-bg);
  font-family: var(--font-body); line-height: 1.6;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 8px) scale(.96);
  transition: opacity .3s cubic-bezier(.22, .8, .24, 1), transform .35s cubic-bezier(.22, .8, .24, 1);
}
.keepups.is-on { opacity: 1; transform: translate(-50%, 0); }
.keepups__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 246, 236, .72); }
.keepups__count {
  min-width: 1.3em; text-align: center; display: inline-block;
  font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1; color: var(--color-gold);
  font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 30, "WONK" 0;
}
.keepups__best { padding: 7px 12px; border-radius: 999px; background: rgba(251, 246, 236, .1); font-size: 12px; font-weight: 600; }
.keepups__best b { color: var(--color-gold); margin-left: 2px; }
.keepups.is-done .keepups__count { display: none; }
.keepups.is-done .keepups__label {
  font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 18px;
  letter-spacing: 0; text-transform: none; color: var(--color-bg);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.keepups.is-best .keepups__label { color: var(--color-gold); }
@media (max-width: 860px) { .keepups { top: auto; bottom: calc(100% + 10px); } }
.keepup-pop {
  position: fixed; z-index: 1001; pointer-events: none;
  font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(44px, 4.4vw, 64px); line-height: 1;
  color: var(--color-main); -webkit-text-stroke: 8px var(--color-bg); paint-order: stroke fill;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  transform: translate(-50%, -50%);
}
.confetti { position: fixed; z-index: 1001; pointer-events: none; width: 12px; height: 14px; }
.confetti--pennant { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.confetti--square { width: 9px; height: 9px; border-radius: 2px; }

/* ---------------- QUICK ACCESS ball (Home › Quick Access to Programs, CSS Class ryfc-quick;
   Demo: .intro, where it sat on the intro copy). The ball's second stop: it leaves the hero, rolls
   to the right edge and grows, half off screen. The strip's copy and cards are kept clear of the
   visible part of the ball (.58 of its width). The stop's hook is stored on Home › Club Snapshot
   (CSS Class ryfc-intro, intro_ball); interactive.js moves it into this strip on load, and until
   then it stays hidden where it is stored. ---------------- */
.ryfc-intro > .intro__ball { display: none; }
section.content_container.ryfc-quick {
  --ix-d: min(96vh, 64vw, 1000px);
  position: relative; overflow: clip;
}
.ryfc-quick > .intro__ball {
  position: absolute; top: 50%;
  left: calc(50% + 50vw - var(--ix-d) * .58);
  width: var(--ix-d); aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.ryfc-quick > .intro__ball .ball-fallback { position: absolute; inset: 0; }
@media (min-width: 861px) {
  .ryfc-quick > .content {
    position: relative; z-index: 1;
    min-height: min(80vh, 760px);
    display: flex; flex-direction: column; justify-content: center;
    /* Where the content box ends on the right, minus where the ball begins, plus a gap */
    padding-right: max(0px, min(var(--content-width-default) / 2 - 50vw, var(--section-inline) * -1) + var(--ix-d) * .58 + 40px);
  }
}
/* Too narrow for three cards beside the ball: one per row */
@media (min-width: 861px) and (max-width: 1180px) {
  .ryfc-quick > .content .flex.flex-3 > * { width: 100%; }
}
@media (max-width: 860px) {
  /* A static ball peeks in from the right edge, above the heading */
  .ryfc-quick > .intro__ball { position: relative; top: auto; left: auto; transform: none; width: auto; aspect-ratio: auto; height: 64vw; margin: 0 calc(var(--section-inline) * -1) 20px; overflow: hidden; }
  .ryfc-quick > .intro__ball .ball-fallback { inset: 0 -24vw auto auto; width: 64vw; height: 64vw; }
}

/* ---------------- PAGE HERO scene + ball (Recreational, Competitive, Training › Overview, CSS Class
   ryfc-page-hero; Demo: .page-hero). The scene and the ball are section hooks beside the copy. ---------------- */
section.content_container.ryfc-page-hero {
  --ix-scene: min(42vw, 560px);
  --ix-edge: max(var(--section-inline), calc((100% - var(--content-width-default)) / 2));
  --ix-pt: clamp(40px, 6vw, 88px);
  position: relative; overflow: clip; isolation: isolate;
  padding-top: var(--ix-pt); padding-bottom: clamp(72px, 9vw, 130px);
  min-height: calc(var(--ix-scene) + var(--ix-pt) + clamp(72px, 9vw, 130px));
  display: flex; align-items: center;
}
.ryfc-page-hero > .content { padding-right: calc(var(--ix-scene) + clamp(32px, 5vw, 80px)); }
.ryfc-page-hero > .page-hero__scene {
  position: absolute; right: var(--ix-edge); top: calc(var(--ix-pt) + (100% - var(--ix-pt) - clamp(72px, 9vw, 130px)) / 2);
  width: var(--ix-scene); aspect-ratio: 1; transform: translateY(-50%);
  touch-action: pan-y;
}
.ryfc-page-hero > .page-hero__scene .scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ryfc-page-hero > .page-hero__ball {
  position: absolute;
  left: calc(100% - var(--ix-edge) - var(--ix-scene) * .43);
  top: calc(var(--ix-pt) + (100% - var(--ix-pt) - clamp(72px, 9vw, 130px)) / 2 + var(--ix-scene) * .13);
  width: calc(var(--ix-scene) * .36); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 2;
  touch-action: pan-y;
}
@media (max-width: 900px) {
  section.content_container.ryfc-page-hero { --ix-scene: min(520px, calc(100vw - 2 * var(--section-inline))); display: block; min-height: 0; }
  .ryfc-page-hero > .content { padding-right: 0; }
  .ryfc-page-hero > .page-hero__scene { position: relative; right: auto; top: auto; transform: none; margin: 0 auto 32px; }
  .ryfc-page-hero > .page-hero__ball { left: calc(50% - var(--ix-scene) * .5 + var(--ix-scene) * .57); top: calc(var(--ix-pt) + var(--ix-scene) * .63); }
}

/* ---------------- PROGRAM FINDER (Program Finder › Program Finder, shown on Home too; Demo: .finder) ---------------- */
.ryfc-programs:has([data-hook="finder"]) > .content {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0 clamp(24px, 4vw, 72px); align-items: center;
}
.ryfc-programs:has([data-hook="finder"]) > .content > * { grid-column: 1 / -1; }
.ryfc-programs:has([data-hook="finder"]) > .content > [data-hook="finder_ball"] { grid-column: 1; }
.ryfc-programs:has([data-hook="finder"]) > .content > [data-hook="finder"] { grid-column: 2; }
.finder__zone { display: grid; place-items: center; aspect-ratio: 1; }
/* Room between the ball and the intro above it, and the filter below it */
.ryfc-programs > .content > .finder__zone { margin-block: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 64px); }
.finder__zone .finder__lines { position: absolute; inset: 4%; color: var(--color-white); }
.finder__zone .finder__lines > * { position: absolute; border: 2px solid currentColor; opacity: .85; }
.finder__zone .finder__lines .c { inset: 0; border-radius: 50%; }
.finder__zone .finder__lines .h { left: 50%; top: -30%; bottom: -30%; border-width: 0 0 0 2px; }
.finder__zone .finder__lines .s { left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); border: 0; }
.finder__zone > .ball-fallback { width: 52%; height: auto; aspect-ratio: 1; }
.ix-finder.finder__panel {
  background: var(--color-bg-light); border-radius: 28px; padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-low); margin-block: 8px 48px;
}
.finder-form { margin: 0; }
.finder-form__sentence {
  font-family: var(--font-heading); font-variation-settings: "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.05vw, 31px); line-height: 1.75; letter-spacing: -.01em; margin: 0;
  color: var(--color-heading);
}
.finder-form .pick { position: relative; display: inline-block; vertical-align: baseline; }
.finder-form .pick select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-style: italic; color: var(--color-main);
  background: transparent; border: 0; border-bottom: 2px solid var(--color-gold);
  padding: 0 1.05em 0 .1em; margin: 0 .08em; line-height: 1.2; cursor: pointer;
  border-radius: 0; height: auto; width: auto;
}
.finder-form .pick select:hover { background: var(--color-gold-light); }
.finder-form .pick select:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }
.finder-form .pick::after {
  content: ""; position: absolute; right: .3em; top: 50%; width: .32em; height: .32em;
  border-right: 2px solid var(--color-gold-dark); border-bottom: 2px solid var(--color-gold-dark);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.finder-form .pick.is-set select { color: var(--color-heading); }
/* The open list: royal, white text, in the body face (not the sentence's italic display face).
   Browsers without a customizable select still colour and set the options on their own list. */
.finder-form .pick select option {
  background-color: var(--color-main); color: var(--color-white);
  font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: 16px;
  font-variation-settings: normal; letter-spacing: 0;
}
@supports (appearance: base-select) {
  .finder-form .pick select, .finder-form .pick select::picker(select) { appearance: base-select; }
  .finder-form .pick select { display: inline-block; min-block-size: 0; }
  .finder-form .pick select::picker-icon { display: none; }
  .finder-form .pick select::picker(select) {
    background: var(--color-main); color: var(--color-white); border: 0; border-radius: 16px;
    padding: 8px; margin-block: 8px; box-shadow: var(--shadow-high);
    font-family: var(--font-body); font-style: normal; max-block-size: min(360px, 60vh);
    min-inline-size: max(anchor-size(width), 210px);
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .45) transparent;
  }
  .finder-form .pick select option { padding: 9px 14px; border-radius: 10px; line-height: 1.3; font-size: 15px; gap: 10px; cursor: pointer; }
  .finder-form .pick select option:hover, .finder-form .pick select option:focus-visible { background-color: rgba(255, 255, 255, .14); outline: none; }
  .finder-form .pick select option:checked { background-color: rgba(255, 255, 255, .08); font-weight: 700; }
  .finder-form .pick select option::checkmark { color: var(--color-gold); }
}
.finder__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.finder__count { margin: 0; font-size: 15px; color: var(--color-muted); }
.finder__count strong { font-family: var(--font-heading); font-size: 30px; color: var(--color-heading); font-weight: 600; margin-right: 4px; vertical-align: -2px; }
.ix-finder .link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--color-muted); text-decoration: underline; text-underline-offset: 4px; }
.ix-finder .link-btn:hover { color: var(--color-heading); }
.finder__foot .button { margin: 0 0 0 auto; }
.finder__empty { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--color-line-strong); border-radius: 22px; color: var(--color-muted); margin: 24px 0 0; }
.finder__empty[hidden] { display: none; }
/* The finder hides cards with its own class; while it is on, the pager steps aside and every match
   shows (a card the category filter hid, inline, stays hidden). */
.ix-finder-on .flex > .card.ix-finder-out.ix-finder-out { display: none !important; }
.ix-finder-on .flex > .card.is-paged-out:not(.ix-finder-out):not([style*="display: none"]) { display: var(--ds-card-display, block) !important; }
.ix-finder-on .widget-pagination { display: none !important; }
@media (max-width: 960px) {
  .ryfc-programs:has([data-hook="finder"]) > .content { grid-template-columns: minmax(0, 1fr); }
  .ryfc-programs:has([data-hook="finder"]) > .content > [data-hook="finder"] { grid-column: 1; }
  .ryfc-programs:has([data-hook="finder"]) > .content > [data-hook="finder_ball"] { display: none; }
}
@media (max-width: 560px) { .finder__foot .button { margin-left: 0; width: 100%; } }

/* Card data hooks carry values only */
.ix-finder-data, .ix-card-state { display: none; }

/* ---------------- PLAYER PATHWAY (Competitive › Team Pathways, linked on Recreational and Club Info;
   CSS Class ryfc-pathway; Demo: .pathway). interactive.js moves the numbered steps into the track. ---------------- */
.ix-pathway-track:not(.is-built) { display: none; }
.ix-pathway-track.is-built { position: relative; aspect-ratio: var(--ix-track-ratio, 1200 / 440); margin: 48px 0 104px; }
.ix-pathway-track .pathway__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ix-pathway-track .pathway__base { fill: none; stroke: var(--color-line-strong); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.ix-pathway-track .pathway__done { fill: none; stroke: var(--color-gold); stroke-width: 4; stroke-linecap: round; }
.ix-pathway-track .pathway__ball { width: 64px; height: 64px; max-width: none; position: absolute; left: 0; top: 0; margin: -32px 0 0 -32px; will-change: transform; filter: drop-shadow(0 8px 6px rgba(11, 31, 58, .14)); z-index: 2; }
.ix-pathway-track .pathway__stops { list-style: none; margin: 0; padding: 0; }
.ix-pathway-track .stop {
  position: absolute; left: var(--x); top: var(--y); margin: 0;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 220px;
}
.ix-pathway-track .stop::before { display: none; }
.ix-pathway-track .stop__badge {
  position: relative; width: 50px; height: 58px; display: grid; place-items: center;
  color: var(--c); transition: transform .5s cubic-bezier(.22, .8, .24, 1);
  --shield-fill: var(--color-bg-light);
}
.ix-pathway-track .stop__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ix-pathway-track .stop__badge path { fill: var(--shield-fill); stroke: currentColor; stroke-width: 2.5; transition: fill .4s; }
.ix-pathway-track .stop__badge b { position: relative; font-family: var(--font-heading); font-size: 19px; font-weight: 600; color: var(--c); transition: color .4s; margin-top: -4px; }
.ix-pathway-track .stop.is-on .stop__badge { transform: scale(1.1); --shield-fill: var(--c); }
.ix-pathway-track .stop.is-on .stop__badge b { color: var(--color-white); }
.ix-pathway-track .stop__label { position: absolute; top: calc(100% + 10px); width: 100%; }
.ix-pathway-track .stop--up .stop__label { top: auto; bottom: calc(100% + 10px); }
.ix-pathway-track .stop__label h2,
.ix-pathway-track .stop__label h3,
.ix-pathway-track .stop__label h4 { margin: 0 0 4px; font-size: 22px; line-height: 1.1; letter-spacing: normal; }
.ix-pathway-track .stop__label p { margin: 0; font-size: 14.5px; line-height: 1.45; }
/* The step number is read out with the heading but shown by the badge */
.ix-pathway-track .stop__n { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 860px) {
  .ix-pathway-track.is-built { max-width: 460px; margin: 32px auto; }
  .ix-pathway-track .stop { flex-direction: row; align-items: flex-start; width: auto; transform: translate(-25px, -29px); gap: 14px; text-align: left; }
  .ix-pathway-track .stop__badge { flex: none; }
  .ix-pathway-track .stop__label, .ix-pathway-track .stop--up .stop__label { position: static; width: 170px; }
  .ix-pathway-track .stop--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 25px), -29px); text-align: right; }
  .ix-pathway-track .pathway__ball { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
}

/* ==== CR-1: the finder above Recreational's programs ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* A finder with no ball beside it (Recreational › Youth Programs) sits above its cards, as a panel the width
   of a reading column */
.ryfc-programs:has([data-hook="finder"]):not(:has([data-hook="finder_ball"])) > .content { display: block; }
.ryfc-programs:has([data-hook="finder"]):not(:has([data-hook="finder_ball"])) > .content > [data-hook="finder"] { max-width: 820px; }
/* ==== end: CR-1: the finder above Recreational's programs ==== */
