
    /* ── Resonate practice embed · always forest (THEME.md §1, §2) ──────────
       No prefers-color-scheme here on purpose: light or dark, it is the same. */
    /* ── PALETTE · THEME-v3 (final). The only place colour lives; practice.js reads it too.
       Practice is always dark. In the app the page is transparent over the app's own
       ground; opened standalone it paints the tealTop -> tealBottom gradient.
       Text over the gradient is judged at its light end, tealTop #0D565C.
         --hf-bg-top      tealTop    #0D565C  standalone ground, top
         --hf-bg-bottom   tealBottom #012629  standalone ground, bottom
         --hf-ink         seafoam    #E1EFE0  field threads, nearest motes (fill)
         --hf-accent      aqua       #94C9B8  far side of the field (fill only, never text)
         --hf-muted       aquaSoft   #BFDFD2  caption text (5.87:1 on tealTop, 11.22:1 on tealBottom)
         --hf-glow        seafoam    #E1EFE0  orb stop 0.00 (alpha .92)
         --hf-glow-edge   aqua       #94C9B8  orb stop 0.35 (alpha .80)
         --hf-glow-deep   #4E9A92             orb stop 0.72 (alpha .45)
         --hf-glow-out    tealBottom #012629  orb stop 1.00 (alpha 0)
         --hf-highlight   glint      #FEFEF8  the one fixed specular (alpha .35)
         --hf-warm        cream      #FEFBF2  locked: slow gentle warmth mixed into orb + haze (fill only) */
    :root {
      --hf-bg-top: #0D565C;
      --hf-bg-bottom: #012629;
      --hf-bg: linear-gradient(180deg, var(--hf-bg-top) 0%, var(--hf-bg-bottom) 100%);
      --hf-ink: #E1EFE0;
      --hf-accent: #94C9B8;
      --hf-muted: #BFDFD2;
      --hf-glow: #E1EFE0;
      --hf-glow-edge: #94C9B8;
      --hf-glow-deep: #4E9A92;
      --hf-glow-out: #012629;
      --hf-highlight: #FEFEF8;
      --hf-warm: #FEFBF2;
      /* calm-lines variants only (practice-calm-lines.js); nothing else reads these */
      --hf-haze-in: #94C9B8;       /* aqua */
      --hf-haze-out: #4E9A92;
      --hf-haze-alpha: 1;
      --hf-line-near: #E1EFE0;     /* seafoam near the orb */
      --hf-line-far: #94C9B8;      /* aqua outward */
      --hf-mote: #E1EFE0;
      --hf-font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
      --hf-font-display: "Figtree", "Montserrat", var(--hf-font-ui);
    }
    /* ── PLASMA · calm-lines-plasma only (html.hf-plasma, set by the head script).
       Resonate accent "plasma pink": white-hot core, hot-pink body, magenta rim, on the same teal.
         --hf-glow        #FFF6FB  white-hot core      (orb stop 0.00, alpha .92)
         --hf-glow-edge   #FF5CB8  hot pink            (orb stop 0.35, alpha .80)
         --hf-glow-deep   #E0218A  magenta             (orb stop 0.72, alpha .45)
         --hf-glow-out    #012629  tealBottom          (orb stop 1.00, alpha 0)
         --hf-highlight   #FFF6FB  glint, pink-white   (alpha .35)
         --hf-haze-in     #FF5CB8  haze centre (drawn at 0.72x the aqua haze alpha: calm, not neon)
         --hf-haze-out    #A0287A  haze falloff, deep magenta
         --hf-line-near   #FF9CD2  lines near the orb, soft pink
         --hf-line-far    #94C9B8  lines outward, aqua (via the mix: pink -> seafoam-ish -> aqua)
         --hf-mote        #FFE0F0  motes, pale pink
         --hf-muted       #FEFBF2  caption in cream: 8.11:1 on tealTop, 15.49:1 on tealBottom
       #FF2FA0 (the hottest pink) is not used as a fill: at the orb's alphas it read neon. */
    html.hf-plasma {
      --hf-glow: #FFF6FB;
      --hf-glow-edge: #FF5CB8;
      --hf-glow-deep: #E0218A;
      --hf-glow-out: #012629;
      --hf-highlight: #FFF6FB;
      --hf-haze-in: #FF5CB8;
      --hf-haze-out: #A0287A;
      --hf-haze-alpha: 0.72;
      --hf-line-near: #FF9CD2;
      --hf-line-far: #94C9B8;
      --hf-mote: #FFE0F0;
      --hf-muted: #FEFBF2;
    }
    /* Display face, self-hosted (OFL). Declared for any display word; fetched only if used. */
    @font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
    #hf-practice { display: none; }
    html.hf-practice, html.hf-practice body {
      margin: 0; padding: 0; width: 100%; height: 100%;
      overflow: hidden; overscroll-behavior: none;
      background: transparent !important;          /* the app's forest shows through */
      -webkit-user-select: none; user-select: none;
      -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
      -webkit-text-size-adjust: 100%;
    }
    html.hf-practice.hf-standalone { background: var(--hf-bg-bottom) !important; }
    html.hf-practice.hf-standalone body { background: var(--hf-bg) !important; }
    html.hf-practice body > *:not(#hf-practice) { display: none !important; }
    html.hf-practice #hf-practice {
      display: block; position: fixed; inset: 0; overflow: hidden;
      opacity: 0; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1);
    }
    html.hf-practice #hf-practice.shown { opacity: 1; }
    #hf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
    #hf-caption {
      position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0;
      text-align: center; pointer-events: none;
      font: 400 13px/1.35 var(--hf-font-ui);
      font: -apple-system-footnote;                 /* Dynamic Type in WKWebView */
      font-variant-numeric: tabular-nums;
      letter-spacing: 0;
      text-transform: lowercase;                    /* restyled, never reworded */
      color: var(--hf-muted);
      -webkit-font-smoothing: antialiased;
      opacity: 0; transform: translateY(3px);
      transition: opacity .6s ease, transform .6s ease;
    }
    #hf-caption.on { opacity: 1; transform: none; }
    /* bracketed placeholder copy, if any, is shown verbatim, not lowercased */
    #hf-caption.hf-placeholder { text-transform: none; }
    #hf-practice.compact #hf-caption { left: 12px; right: 12px; bottom: 10px; }
    @media (prefers-reduced-motion: reduce) {
      html.hf-practice #hf-practice, #hf-caption { transition: opacity .2s linear; transform: none; }
    }
  