/* ===== Launch tracker fire (js/flame.js): living gl14 flame on the current step, line of fire between steps ===== */
.trk-rail { --ice: 127, 184, 255; --ice-hi: 214, 236, 255; }

/* the mark: inline svg, three blades breathing and swaying on their own clocks */
:is(.trk, .rv-trk) .trk-run { transition: none; filter: none; z-index: 2; }
:is(.trk, .rv-trk) .trk-run b { display: none; }
:is(.trk, .rv-trk) .trk-fig { position: relative; width: 38px; height: 38px; background: none; filter: none; animation: none; transform-origin: 50% 88%; }
.trk-fl { position: absolute; inset: 0; display: block; }
:is(.trk, .rv-trk) .trk-run .fl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px rgba(var(--ice), .35)); }
.fl-glow { position: absolute; left: 50%; top: 58%; width: 190%; height: 170%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--ice), .34), rgba(79, 134, 216, .14) 55%, transparent);
  animation: flGlow 2.3s ease-in-out infinite; will-change: transform, opacity; }
.fb { transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; }
.fb1 { animation: flSwayA 2.6s ease-in-out infinite; }
.fb2 { animation: flSwayB 1.9s ease-in-out -.7s infinite; }
.fb3 { animation: flSwayC 1.45s ease-in-out -.3s infinite; }
.fb-halo { opacity: .4; animation: flHalo 1.7s ease-in-out infinite; }
.fb2 .fb-halo { animation-duration: 1.3s; animation-delay: -.4s; } .fb3 .fb-halo { animation-duration: 1.1s; animation-delay: -.8s; }
.fb-hot { opacity: .35; animation: flHot 1.3s ease-in-out infinite; }
.fb2 .fb-hot { animation-duration: 1.05s; animation-delay: -.5s; } .fb3 .fb-hot { animation-duration: .9s; animation-delay: -.2s; }
@keyframes flSwayA { 0%, 100% { transform: skewX(0) scale(1, 1); } 22% { transform: skewX(-3.2deg) scale(.99, 1.035); } 47% { transform: skewX(1.6deg) scale(1.01, .975); } 71% { transform: skewX(-1.4deg) scale(.995, 1.05); } 88% { transform: skewX(1deg) scale(1, 1.01); } }
@keyframes flSwayB { 0%, 100% { transform: skewX(0) scale(1, 1); } 27% { transform: skewX(3.6deg) scale(.985, 1.06); } 55% { transform: skewX(-2.2deg) scale(1.015, .965); } 80% { transform: skewX(1.8deg) scale(.99, 1.04); } }
@keyframes flSwayC { 0%, 100% { transform: skewX(0) scale(1, 1); } 31% { transform: skewX(-4deg) scale(.98, 1.08); } 63% { transform: skewX(2.6deg) scale(1.02, .95); } 84% { transform: skewX(-1deg) scale(1, 1.03); } }
@keyframes flHalo { 0%, 100% { opacity: .32; } 30% { opacity: .55; } 52% { opacity: .38; } 74% { opacity: .62; } }
@keyframes flHot { 0%, 100% { opacity: .2; } 18% { opacity: .55; } 40% { opacity: .28; } 62% { opacity: .7; } 81% { opacity: .35; } }
@keyframes flGlow { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); } 23% { opacity: 1; transform: translate(-50%, -52%) scale(1.06); } 48% { opacity: .7; transform: translate(-50%, -50%) scale(.97); } 72% { opacity: .95; transform: translate(-50%, -51%) scale(1.04); } }
/* tiny ice embers rising off the tips */
.fl-em { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: rgb(var(--ice-hi)); box-shadow: 0 0 4px 1px rgba(var(--ice), .7);
  opacity: 0; pointer-events: none; animation: flEm var(--d, 2s) cubic-bezier(.3, .1, .6, 1) var(--w, 0s) infinite; will-change: transform, opacity; }
.fl-em.e1 { left: 42%; top: 10%; --d: 2.1s; --w: -.2s; --x: -5px; }
.fl-em.e2 { left: 58%; top: 28%; --d: 2.6s; --w: -1.1s; --x: 4px; }
.fl-em.e3 { left: 72%; top: 46%; --d: 1.9s; --w: -.6s; --x: 6px; }
.fl-em.e4 { left: 36%; top: 30%; --d: 3s; --w: -2.2s; --x: -3px; }
.fl-em.e5 { left: 52%; top: 4%; --d: 2.4s; --w: -1.6s; --x: 2px; width: 1.5px; height: 1.5px; }
@keyframes flEm { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 12% { opacity: .95; } 60% { opacity: .55; } 100% { opacity: 0; transform: translate(var(--x), -16px) scale(.3); } }

/* ---- the rail: ONE thin smoked-glass line. Ahead = dark quiet glass; behind (.trk-fill) = lit soft ice with a slow glint ---- */
html:root :is(.trk, .rv-trk) .trk-rail::before { height: 2px; opacity: 1; border-radius: 2px;
  background: linear-gradient(180deg, rgba(200, 220, 245, .16), rgba(120, 140, 170, .07) 50%, rgba(0, 0, 0, .35)) !important;
  box-shadow: 0 0 0 .5px rgba(150, 175, 210, .1), 0 1px 1px rgba(0, 0, 0, .45); }
:is(.trk, .rv-trk) .trk-fill { height: 2px; transition: none; overflow: hidden; z-index: 1; border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, rgba(var(--ice), .5), rgba(var(--ice), .8) 70%, rgb(var(--ice-hi))); }
/* the glint: a soft point of light drifting along the lit glass, very calm */
:is(.trk, .rv-trk) .trk-fill::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 90px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(var(--ice-hi), .5) 45%, transparent);
  transform: translateX(-90px); animation: flGlint 7s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes flGlint { 0% { transform: translateX(-90px); opacity: 0; } 8% { opacity: 1; } 62% { opacity: 1; } 70%, 100% { transform: translateX(calc(var(--rw, 900px))); opacity: 0; } }
/* forward run: the lit rail is fire while it burns in (--heat 1, set by flame.js), then cools smoothly back to ice (--heat → 0) */
:is(.trk, .rv-trk) .trk-fill { box-shadow: 0 0 6px color-mix(in srgb, rgba(255, 106, 16, .75) calc(var(--heat, 0) * 100%), rgba(var(--ice), .5)),
  0 0 14px color-mix(in srgb, rgba(224, 36, 15, .5) calc(var(--heat, 0) * 100%), rgba(79, 134, 216, .26)); }
:is(.trk, .rv-trk) .trk-fill::before { content: ""; position: absolute; inset: 0; opacity: var(--heat, 0); pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, #7a0d08, #e0240f 45%, #ff6a10 82%, #ffc21a); }

/* ---- step markers: small glass beads ---- */
html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead { width: 11px; height: 11px; border: 0 !important; border-radius: 50% !important; z-index: 2; filter: none; overflow: visible;
  transform: translate(-50%, -50%); display: grid; place-items: center;
  /* upcoming: dark smoked bead — top-left specular, smoked body, faint rim */
  background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, .7) 0, rgba(220, 235, 255, .25) 1.4px, transparent 2.8px),
    radial-gradient(circle at 50% 62%, #232c39 0, #121821 62%, #0a0d12 100%) !important;
  box-shadow: inset 0 0 0 .75px rgba(170, 195, 230, .26), inset 0 -2px 2.5px rgba(120, 160, 220, .14), 0 1px 2px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 140, 50, 0) !important;
  transition: box-shadow .2s ease, background .3s ease; }
.trk-d.bead .bd-ck { width: 8px; height: 8px; display: block; opacity: 0; fill: none; stroke: #f0f7ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 1.5px rgba(var(--ice), .95)); transition: opacity .3s ease; }
/* warm ember overlay: flame.js sets --bh while the fuse burns past a bead, then it cools away to ice */
.trk-d.bead::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: var(--bh, 0);
  background: radial-gradient(circle at 33% 28%, #fff6d8 0, rgba(255, 220, 140, .6) 1.6px, transparent 3px), radial-gradient(circle at 50% 58%, #ffd27a, #ff6a10 45%, #b3100c 85%);
  box-shadow: 0 0 6px 1px rgba(255, 106, 16, .75), 0 0 14px rgba(224, 36, 15, .45); }
/* done (behind): a lit ice bead with a tiny ice check, like a lit lantern */
html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead:is(.past, .hold) {
  background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .95) 0, rgba(235, 246, 255, .4) 1.3px, transparent 2.6px),
    radial-gradient(circle at 50% 58%, rgba(150, 200, 255, .75) 0, rgba(70, 120, 190, .85) 55%, #1e3554 100%) !important;
  box-shadow: inset 0 0 0 .75px rgba(var(--ice-hi), .7), inset 0 -2px 2.5px rgba(214, 236, 255, .35), 0 0 6px rgba(var(--ice), .6), 0 0 14px rgba(79, 134, 216, .35) !important; }
.trk-d.bead:is(.past, .hold) .bd-ck { opacity: 1; }
.trk-d.bead.done.fut .bd-ck { opacity: .45; filter: none; }
/* current: the burning flame stands on it; during the fuse it shows as a dark bead, then ignites */
/* current: "flame in a glass socket" — a ~22px glass bead centred on the rail; the rail fades out 3–4px before it on
   both sides; the flame rises out of its top, its base behind a front lip of glass (.trk-run::before), lit faintly ice from inside */
:is(.trk, .rv-trk) { --sk: 22px; }
html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur { opacity: 1; width: var(--sk); height: var(--sk); z-index: 2;
  background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .6) 0, rgba(230, 240, 255, .2) 2.2px, transparent 4.5px),
    radial-gradient(circle at 50% 66%, rgba(150, 200, 255, .42) 0, rgba(60, 100, 160, .3) 38%, rgba(22, 32, 48, .82) 72%, rgba(10, 14, 20, .92) 100%) !important;
  box-shadow: inset 0 0 0 .75px rgba(190, 215, 245, .34), inset 0 -3px 5px rgba(127, 184, 255, .3), inset 0 2px 3px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .6) !important; }
html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur .bd-ck { opacity: 0; }
/* soft halo ring breathing with the flicker */
:is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, transparent 58%, rgba(var(--ice), .16) 74%, rgba(var(--ice), .05) 88%, transparent);
  animation: skHalo 2.3s ease-in-out infinite; }
@keyframes skHalo { 0%, 100% { opacity: .65; transform: scale(1); } 23% { opacity: 1; transform: scale(1.06); } 48% { opacity: .6; transform: scale(.98); } 72% { opacity: .9; transform: scale(1.04); } }
/* the rail stops before the socket and resumes after it */
html:root :is(.trk, .rv-trk) .trk-rail::before {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--cur, 0) * 1% - var(--sk) / 2 - 8px), transparent calc(var(--cur, 0) * 1% - var(--sk) / 2 - 3.5px), transparent calc(var(--cur, 0) * 1% + var(--sk) / 2 + 3.5px), #000 calc(var(--cur, 0) * 1% + var(--sk) / 2 + 8px));
          mask-image: linear-gradient(90deg, #000 calc(var(--cur, 0) * 1% - var(--sk) / 2 - 8px), transparent calc(var(--cur, 0) * 1% - var(--sk) / 2 - 3.5px), transparent calc(var(--cur, 0) * 1% + var(--sk) / 2 + 3.5px), #000 calc(var(--cur, 0) * 1% + var(--sk) / 2 + 8px)); }
.trk:not(.firing, .ignite) .trk-fill { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--sk) / 2 - 8px), transparent calc(100% - var(--sk) / 2 - 3.5px));
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--sk) / 2 - 8px), transparent calc(100% - var(--sk) / 2 - 3.5px)); }
/* the flame stands in the socket: base 3px below the rail centre, horizontally centred */
:is(.trk, .rv-trk) .trk-run { transform: translate(-50%, calc(-100% + 3px)) !important; }
:is(.trk, .rv-trk) .trk-run::before { content: ""; position: absolute; z-index: 3; left: 50%; bottom: calc(3px - var(--sk) / 2); width: var(--sk); height: var(--sk);
  margin-left: calc(var(--sk) / -2); border-radius: 50%; pointer-events: none; clip-path: inset(48% 0 0 0);
  background: radial-gradient(circle at 50% 20%, rgba(150, 200, 255, .12), rgba(30, 45, 68, .32) 60%, rgba(14, 20, 30, .55));
  box-shadow: inset 0 0 0 .75px rgba(190, 215, 245, .34), inset 0 -3px 5px rgba(127, 184, 255, .32); }
:is(.trk, .rv-trk) .trk-run::before { border-top: 0; }
/* forward move: while the fuse burns, the target socket is dark glass; on arrival it flashes warm and the flame grows out */
html:root .trk.firing .trk-rail .trk-d.bead.cur { background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .5) 0, rgba(230, 240, 255, .15) 2.2px, transparent 4.5px),
  radial-gradient(circle at 50% 62%, #222b38 0, #121821 62%, #0a0d12 100%) !important; }
.trk.firing .trk-rail .trk-d.bead.cur::before { animation: none; opacity: 0; }
.trk.ignite.fwd .trk-rail .trk-d.bead.cur { animation: skIgnite .6s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes skIgnite { 0% { filter: brightness(2.6) sepia(1) saturate(5) hue-rotate(-20deg) drop-shadow(0 0 10px #ff6a10); }
  30% { filter: brightness(1.8) sepia(.8) saturate(3.5) hue-rotate(-15deg) drop-shadow(0 0 8px #ffc21a); } 100% { filter: none; } }

/* ---- hover a future step: its bead glows faintly, the glass toward it gets a soft warm shimmer ---- */
.trk-pv { position: absolute; top: 50%; height: 2px; transform: translateY(-50%); border-radius: 2px; z-index: 1; pointer-events: none; opacity: 0;
  left: calc(var(--cur, 0) * 1%); width: calc((var(--hv, var(--cur, 0)) - var(--cur, 0)) * 1%);
  background: linear-gradient(90deg, rgba(255, 150, 60, .05), rgba(255, 170, 80, .55) 45%, rgba(255, 214, 140, .2) 55%, rgba(255, 150, 60, .45)) 0 0 / 200% 100%;
  box-shadow: 0 0 6px rgba(255, 120, 40, .3); transition: opacity .2s ease, width .2s ease; animation: pvShim 1.6s linear infinite; }
@keyframes pvShim { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.trk:has(.trk-s.fut:nth-child(2):hover) { --hv: 33.3333; }
.trk:has(.trk-s.fut:nth-child(3):hover) { --hv: 66.6667; }
.trk:has(.trk-s.fut:nth-child(4):hover) { --hv: 100; }
.trk:has(.trk-s.fut:hover):not(.firing, .ignite) .trk-pv { opacity: 1; }
html:root .trk:has(.trk-s.fut:nth-child(2):hover) .trk-rail .trk-d.bead.fut:nth-of-type(2),
html:root .trk:has(.trk-s.fut:nth-child(3):hover) .trk-rail .trk-d.bead.fut:nth-of-type(3),
html:root .trk:has(.trk-s.fut:nth-child(4):hover) .trk-rail .trk-d.bead.fut:nth-of-type(4) {
  box-shadow: inset 0 0 0 .75px rgba(255, 190, 120, .5), inset 0 -2px 2.5px rgba(255, 150, 70, .3), 0 1px 2px rgba(0, 0, 0, .7), 0 0 8px 1px rgba(255, 140, 50, .4) !important; }

/* the run: the mark is out while the fire travels, then lights up at the new step */
.trk-burn { position: absolute; left: -26px; top: calc(50% - 40px); width: calc(100% + 52px); height: 70px; pointer-events: none; z-index: 3; }
.trk.firing .trk-run { opacity: 0; }
.trk.ignite .trk-fig { animation: flIgnite .65s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes flIgnite { 0% { opacity: 0; transform: scale(.35) translateY(4px); filter: brightness(2.4) blur(1px); } 45% { opacity: 1; transform: scale(1.1); filter: brightness(1.6); } 100% { transform: scale(1); filter: none; } }
/* forward arrival: the glass mark catches the fire for a moment, then settles back to glass */
.trk.ignite.fwd .trk-fig { animation-name: flIgniteWarm; }
@keyframes flIgniteWarm { 0% { opacity: 0; transform: scale(.35) translateY(4px); filter: brightness(2.2) sepia(1) saturate(4) hue-rotate(-25deg) drop-shadow(0 0 10px rgba(255, 106, 16, .9)); }
  45% { opacity: 1; transform: scale(1.1); filter: brightness(1.4) sepia(.6) saturate(2.5) hue-rotate(-20deg) drop-shadow(0 0 8px rgba(255, 106, 16, .6)); }
  100% { transform: scale(1); filter: brightness(1) sepia(0) saturate(1) hue-rotate(0deg) drop-shadow(0 0 0 rgba(255, 106, 16, 0)); } }

@media (prefers-reduced-motion: reduce) {
  .fb, .fb-halo, .fb-hot, .fl-glow, .fl-em, :is(.trk, .rv-trk) .trk-fill::after, .trk.ignite .trk-fig, .trk-pv, :is(.trk, .rv-trk) .trk-rail .trk-d.bead { animation: none !important; }
  :is(.trk, .rv-trk) .trk-fill::after { display: none; }
  .trk-pv, html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead { transition: none; }
  :is(.trk, .rv-trk) .trk-fill::before { display: none; }
  .fl-em { display: none; }
  .trk.firing .trk-run { opacity: 1; }
}

/* ===== Collapsed-sidebar logo: a small fire bursts up behind the glass mark on hover ===== */
.mini-mark { position: relative; isolation: isolate; overflow: visible; }
.mini-mark .mm { position: relative; z-index: 1; transform: none !important; animation: none !important; transition: filter .45s ease; }
.mm-fire { position: absolute; z-index: 0; left: 50%; bottom: 9px; width: 50px; height: 54px; margin-left: -25px; pointer-events: none;
  transform-origin: 50% 100%; transform: scale(.55, .15); opacity: 0; visibility: hidden;
  transition: opacity .5s ease, transform .55s cubic-bezier(.45, 0, .7, .6), visibility 0s linear .55s; }
body.sb-mini .mini-mark:is(:hover, :focus-visible) .mm-fire { opacity: 1; transform: none; visibility: visible;
  transition: opacity .16s ease-out, transform .38s cubic-bezier(.2, 1.3, .4, 1), visibility 0s; }
/* warm glow pooled behind the flames */
.mm-fire::before { content: ""; position: absolute; left: -8px; right: -8px; top: 16px; bottom: -8px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 16, .34), rgba(224, 36, 15, .14) 55%, transparent);
  animation: mmGlow 1.1s ease-in-out infinite alternate; }
/* tongues: outer <i> flickers from its base, inner ::before is the tear-drop */
.mm-fire i { position: absolute; bottom: 0; transform-origin: 50% 100%; will-change: transform; mix-blend-mode: screen; }
.mm-fire i::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50% 0 50% 50%;
  transform: translateY(-14%) rotate(-45deg); background: radial-gradient(circle at 34% 66%, var(--c1), var(--c2) 38%, var(--c3) 68%, transparent 92%); }
.mm-fire i:nth-of-type(1) { left: 5px;  width: 16px; height: 40px; --c1: #e0240f; --c2: #b3100c; --c3: rgba(120, 8, 6, .6); animation: mmF1 .62s ease-in-out infinite alternate; }
.mm-fire i:nth-of-type(2) { right: 5px; width: 15px; height: 40px; --c1: #e0240f; --c2: #b3100c; --c3: rgba(120, 8, 6, .6); animation: mmF2 .54s ease-in-out infinite alternate -.2s; }
.mm-fire i:nth-of-type(3) { left: 15px; width: 19px; height: 44px; --c1: #ffc21a; --c2: #ff6a10; --c3: #e0240f; animation: mmF3 .46s ease-in-out infinite alternate -.1s; }
.mm-fire i:nth-of-type(4) { left: 19px; width: 12px; height: 30px; --c1: #fff1b8; --c2: #ffc21a; --c3: #ff6a10; animation: mmF4 .38s ease-in-out infinite alternate -.25s; }
.mm-fire i:nth-of-type(1)::before, .mm-fire i:nth-of-type(2)::before { transform: translateY(-10%) rotate(-45deg); }
@keyframes mmF1 { 0% { transform: rotate(-9deg) scale(1, 1.9) skewX(8deg); } 50% { transform: rotate(-13deg) scale(.86, 2.35) skewX(-3deg); } 100% { transform: rotate(-7deg) scale(1.04, 1.7) skewX(6deg); } }
@keyframes mmF2 { 0% { transform: rotate(10deg) scale(.95, 1.8) skewX(-6deg); } 50% { transform: rotate(6deg) scale(1.05, 2.25) skewX(4deg); } 100% { transform: rotate(13deg) scale(.88, 1.95) skewX(-8deg); } }
@keyframes mmF3 { 0% { transform: scale(1, 1.95) skewX(-4deg); } 40% { transform: scale(.86, 2.3) skewX(5deg); } 100% { transform: scale(1.04, 1.8) skewX(-2deg); } }
@keyframes mmF4 { 0% { transform: scale(1, 1.9) skewX(5deg); } 50% { transform: scale(.82, 2.35) skewX(-6deg); } 100% { transform: scale(1.05, 1.75) skewX(2deg); } }
@keyframes mmGlow { from { opacity: .75; transform: scale(.94); } to { opacity: 1; transform: scale(1.05); } }
/* rising embers */
.mm-fire b { position: absolute; bottom: 18px; width: 2.5px; height: 2.5px; border-radius: 50%; background: #ffc21a; box-shadow: 0 0 4px 1px rgba(255, 106, 16, .85);
  opacity: 0; animation: mmEmber 1.25s linear infinite; }
.mm-fire b:nth-of-type(1) { left: 16px; animation-delay: -.2s; }
.mm-fire b:nth-of-type(2) { left: 30px; animation-duration: 1.5s; animation-delay: -.8s; --dx: -5px; }
.mm-fire b:nth-of-type(3) { left: 23px; animation-duration: 1.05s; animation-delay: -.5s; --dx: 6px; width: 2px; height: 2px; }
@keyframes mmEmber { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 80% { opacity: .7; } 100% { opacity: 0; transform: translate(var(--dx, 4px), -40px); } }
/* the glass catches a faint warm rim while it burns; no flash, it just fades back */
body.sb-mini .mini-mark:is(:hover, :focus-visible) .mm { filter: drop-shadow(0 0 6px rgba(255, 110, 30, .38)) !important; }
@media (prefers-reduced-motion: reduce) {
  .mm-fire i, .mm-fire b { display: none; }
  .mm-fire::before { animation: none; }
  .mm-fire, body.sb-mini .mini-mark:is(:hover, :focus-visible) .mm-fire { transform: none; transition: opacity .4s ease, visibility 0s linear .4s; }
}

/* ===== Expanded wordmark: smoked-glass letters, aligned with the sidebar's icon column ===== */
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .brand { padding: 12px 6px 12px 0; align-content: center; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark { margin-left: 13px; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t {
  color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #e2eefb 30%, #c9dcf2 55%, #8fa9c8 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(-.6px -.6px 0 rgba(240, 247, 255, .55)) drop-shadow(.8px 1.2px 0 rgba(10, 16, 28, .85)) drop-shadow(0 0 7px rgba(120, 170, 235, .28)); }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::before { display: none; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark:is(:hover, :focus-visible) { filter: none; }

/* Hover fire, simplified: one small soft red-orange flame glow behind the glass mark, a gentle flicker, no embers or tongues. */
.mm-fire { width: 34px; height: 36px; margin-left: -17px; bottom: 12px; }
.mm-fire b, .mm-fire i:nth-of-type(1), .mm-fire i:nth-of-type(2), .mm-fire i:nth-of-type(4) { display: none !important; }
.mm-fire i:nth-of-type(3) { left: 8px; width: 18px; height: 30px; --c1: #ff8a2a; --c2: #e0240f; --c3: rgba(140, 10, 6, .55); opacity: .8; animation: mmSoft .9s ease-in-out infinite alternate; }
.mm-fire::before { opacity: .55; }
@keyframes mmSoft { from { transform: scale(.94, .9); opacity: .7; } to { transform: scale(1.02, 1.04); opacity: .9; } }

/* Wordmark as the logo's smoked glass, a little 3D: graphite-steel body rising to ice-white (same ramp and angle as the
   flame), a crisp white rim catching the light top-left, a cool-blue back-rim lower-right, and a thin dark extrusion
   beneath for depth. Layers: ::before = extrusion (behind), the text = glass body, ::after = rim light (on top). */
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t {
  position: relative; isolation: isolate;
  background: linear-gradient(200deg, #f0f7ff 0%, #dfe9f5 18%, #a9bfd8 38%, #6f88aa 58%, #465e80 76%, #2b394e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(120, 170, 235, .22)) drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::before {
  display: block !important; content: attr(data-text); position: absolute; left: 1.2px; top: 1.8px; z-index: -1;
  color: transparent; -webkit-text-stroke: 0; background: linear-gradient(180deg, #1a2433, #0c121b);
  -webkit-background-clip: text; background-clip: text; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  color: transparent; -webkit-text-stroke: .7px rgba(255, 255, 255, .85);
  -webkit-mask-image: linear-gradient(150deg, #000 0%, rgba(0,0,0,.65) 30%, transparent 55%, transparent 72%, rgba(0,0,0,.5) 100%);
          mask-image: linear-gradient(150deg, #000 0%, rgba(0,0,0,.65) 30%, transparent 55%, transparent 72%, rgba(0,0,0,.5) 100%); }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::after { filter: drop-shadow(.4px .4px 0 rgba(122, 182, 255, .35)); }
/* rim light without stroke artefacts: an ice copy peeking out top-left from behind the glass body */
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::after {
  -webkit-text-stroke: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; filter: none !important;
  inset: auto; left: -.8px; top: -.8px; z-index: -1;
  background: linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(214,234,255,.75) 35%, rgba(150,195,250,.35) 70%, rgba(122,182,255,.25) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* room for the living flame + its embers above the rail, so nothing slips under the top bar */
.trk { margin-top: 10px !important; padding-top: 18px !important; overflow: visible !important; }
:is(.trk, .rv-trk) .trk-run, :is(.trk, .rv-trk) .trk-fig { overflow: visible !important; }
html:root :is(.trk, .rv-trk) .trk-rail .trk-d.bead .bd-ck path { fill: none !important; stroke: #f0f7ff !important; }

/* Collapsed logo hover: the same living flame as the launch tracker (blades sway, embers rise), with a RED outline
   glow and RED embers; at rest it's the plain glass mark. The old fire tongues are gone. */
.mini-mark .mm-fire { display: none !important; }
.mini-mark { --ice: 255, 74, 30; --ice-hi: 255, 196, 120; }
.mini-mark .mm-live { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none;
  opacity: 0; transition: opacity .25s ease; z-index: 1; }
.mini-mark .mm-live .trk-fl { position: absolute; inset: 0; }
.mini-mark .mm-live .fl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px rgba(255, 70, 25, .55)); }
.mini-mark .mm-live .fb-halo { fill: #ff3b1f !important; opacity: .55; }
.mini-mark .mm-live .fl-glow { background: radial-gradient(closest-side, rgba(255, 70, 25, .32), rgba(200, 30, 10, .12) 55%, transparent) !important; }
.mini-mark .mm-live .fl-em { background: #ffb36b !important; box-shadow: 0 0 4px 1px rgba(255, 70, 25, .8) !important; }
.mini-mark .mm { transition: opacity .25s ease; }
body.sb-mini .mini-mark:is(:hover, :focus-visible) .mm-live { opacity: 1; }
body.sb-mini .mini-mark:is(:hover, :focus-visible) .mm { opacity: 0; transform: none !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) { .mini-mark .mm-live .fb, .mini-mark .mm-live .fl-em, .mini-mark .mm-live .fl-glow { animation: none !important; } }

/* ===== Review & launch pop-up: a burning flame dead centre in the header + the launch finale (js/flame.js miniTrack / rvFinale) =====
   The flame sits at the centre of the pop-up (and so of the screen) and burns on a slow loop; a fuse runs in to it from
   each side, a soft yellow → red wash of light flowing along it, embers drifting off. Transforms and
   opacity only; every loop shares one 2.8 s clock so the fuses land in the flame as it flares. */
/* only one tracker: the page behind blurs harder and its own tracker fades away while the review is open */
.page > .trk { transition: opacity .25s ease; }
body:has(.wpop.rv-pop:not(.out)) .page > .trk { opacity: 0; }
html:root body:has(.wpop.rv-pop) .wpop-bg { -webkit-backdrop-filter: blur(14px) saturate(.85) !important; backdrop-filter: blur(14px) saturate(.85) !important; }
.wpop-bg.out, .wpop.rv-pop.out { animation: rvOut .18s ease-in both !important; }
.wpop.rv-pop.out { animation-name: rvOutUp !important; }
@keyframes rvOut { to { opacity: 0; } }
@keyframes rvOutUp { to { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); } }

.wpop:is(.rv-pop, .rv-under) > .wpop-h { position: relative; min-height: 66px; }
.wpop:is(.rv-pop, .rv-under) > .wpop-h .rv-ht { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.wpop:is(.rv-pop, .rv-under) > .wpop-h .wpop-x { position: relative; z-index: 1; }

.rv-fire { --T: 2.8s; position: absolute; left: 50%; top: 50%; width: 340px; height: 58px; transform: translate(-50%, -50%); pointer-events: none; }
.rvf-core { position: absolute; left: 50%; top: 0; width: 38px; height: 38px; margin-left: -19px; }
.rvf-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* the flame is perfectly still at rest; it only comes alive when a wash arrives (42 % of the loop): the blades lick
   and lift, a hotter layer brightens them, a few embers rise, then everything eases back to still before the next one */
.rvf-b { transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; animation: rvfLive1 var(--T) linear infinite; }
.rvf-b2 { animation-name: rvfLive2; } .rvf-b3 { animation-name: rvfLive3; }
@keyframes rvfLive1 { 0%, 36% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
  45% { transform: scale(1.03, 1.09) skewX(-3deg); animation-timing-function: ease-in-out; } 54% { transform: scale(.99, 1.03) skewX(2deg); animation-timing-function: ease-in-out; }
  62% { transform: scale(1.01, 1.05) skewX(-1deg); animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 78%, 100% { transform: none; } }
@keyframes rvfLive2 { 0%, 37% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
  46% { transform: scale(.98, 1.12) skewX(3.5deg); animation-timing-function: ease-in-out; } 55% { transform: scale(1.02, 1.02) skewX(-2deg); animation-timing-function: ease-in-out; }
  63% { transform: scale(1, 1.06) skewX(1.5deg); animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 79%, 100% { transform: none; } }
@keyframes rvfLive3 { 0%, 38% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
  47% { transform: scale(.97, 1.14) skewX(-4deg); animation-timing-function: ease-in-out; } 56% { transform: scale(1.02, 1.01) skewX(2.5deg); animation-timing-function: ease-in-out; }
  64% { transform: scale(1, 1.05) skewX(-1deg); animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 80%, 100% { transform: none; } }
.rvf-hot { opacity: 0; animation: rvfHot var(--T) linear infinite; }
@keyframes rvfHot { 0%, 36% { opacity: 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1); } 46% { opacity: .75; animation-timing-function: cubic-bezier(.4, 0, .3, 1); } 76%, 100% { opacity: 0; } }
/* embers: only with the flare, tiny and clean (no glow) */
.rvf-em { position: absolute; left: 50%; bottom: 16px; width: 2px; height: 2px; margin-left: -1px; border-radius: 50%; opacity: 0;
  background: #ffc77a; animation: rvfEm var(--T) linear infinite; will-change: transform, opacity; }
.rvf-em.e1 { --x: -8px; } .rvf-em.e2 { --x: 6px; animation-delay: .12s; } .rvf-em.e3 { --x: -2px; animation-delay: .24s; width: 1.5px; height: 1.5px; }
@keyframes rvfEm { 0%, 42% { opacity: 0; transform: translate(0, 0); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 50% { opacity: .9; } 80%, 100% { opacity: 0; transform: translate(var(--x), -26px); } }

/* ---- the fuses: one each side, the right one the left one mirrored ----
   No hard ends: each cord is masked to fade in from transparent at its outer end and out into the flame at its inner end.
   A soft wash of light (yellow head, burning red tail, like the old slider's fuse) flows in along it on the shared clock,
   reaching the flame at 42 % of the loop, when the flame flares. The wash starts and ends fully outside the visible cord,
   so the loop seam is invisible. */
.rvf-line { position: absolute; top: 15px; width: 136px; height: 8px; }
.rvf-line.l { right: calc(50% + 14px); } .rvf-line.r { left: calc(50% + 14px); transform: scaleX(-1); }
.rvf-lin { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%, #000 66%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 34%, #000 66%, transparent 100%); }
/* the cord: a thin smouldering red line, always there so the loop never goes blank */
.rvf-lin::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(179, 16, 12, .45), rgba(224, 36, 15, .6)); box-shadow: 0 0 5px rgba(224, 36, 15, .35); }
/* the wash: a long soft band of fire (burning red tail → orange → yellow head) gliding inward, with a blurred glow under it */
.rvf-wash { position: absolute; left: 0; top: 0; width: 100%; height: 8px; will-change: transform; transform: translateX(-100%);
  animation: rvfWash var(--T) linear infinite; }
.rvf-wash::before, .rvf-wash::after { content: ""; position: absolute; left: 0; right: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0, rgba(179, 16, 12, .5) 22%, #e0240f 48%, #ff6a10 72%, #ffc21a 88%, transparent 100%); }
.rvf-wash::before { top: 3px; height: 2px; }
.rvf-wash::after { top: 0; height: 8px; opacity: .7; filter: blur(3px); }
@keyframes rvfWash {
  0% { transform: translateX(-100%); animation-timing-function: cubic-bezier(.42, 0, .58, 1); }
  42% { transform: translateX(22%); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  64%, 100% { transform: translateX(100%); } }
/* embers: a few tiny fire bubbles lifting off the cord, quiet and slow */
.rvf-bub { position: absolute; top: 3px; width: 2px; height: 2px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: #ffcf86; box-shadow: 0 0 3px rgba(255, 106, 16, .6); animation: rvfBub 3.2s cubic-bezier(.3, .6, .5, 1) infinite; will-change: transform, opacity; }
.rvf-bub.u1 { left: 38%; --x: -3px; animation-delay: -.4s; } .rvf-bub.u2 { left: 52%; --x: 3px; animation-duration: 3.8s; animation-delay: -1.9s; }
.rvf-bub.u3 { left: 64%; --x: -2px; animation-duration: 2.9s; animation-delay: -2.6s; } .rvf-bub.u4 { left: 46%; --x: 2px; animation-duration: 3.5s; animation-delay: -1.1s; width: 1.5px; height: 1.5px; }
.rvf-line.r .rvf-bub.u1 { animation-delay: -2.2s; } .rvf-line.r .rvf-bub.u2 { animation-delay: -.6s; } .rvf-line.r .rvf-bub.u3 { animation-delay: -1.4s; } .rvf-line.r .rvf-bub.u4 { animation-delay: -2.9s; }
@keyframes rvfBub { 0% { opacity: 0; transform: translate(0, 0) scale(.7); } 20% { opacity: .75; transform: translate(calc(var(--x) * .3), -4px) scale(1); } 100% { opacity: 0; transform: translate(var(--x), -16px) scale(.35); } }
/* the flame answers each arrival: a short, subtle lift (scale + a hot glint + the bloom swelling), then eases back */
.rvf-svg { animation: rvfFlare var(--T) linear infinite; transform-origin: 50% 92%; }   /* the whole mark lifts a touch with the flare */
@keyframes rvfFlare { 0%, 34% { transform: translateY(0) scale(1); animation-timing-function: cubic-bezier(.3, 0, .2, 1); } 46% { transform: translateY(-1px) scale(1.06); animation-timing-function: cubic-bezier(.4, 0, .3, 1); } 72%, 100% { transform: translateY(0) scale(1); } }

.rvf-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; text-align: center; }
.rvf-cap b { position: absolute; inset: 0; font: 600 9.5px/12px var(--f, 'Inter'); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #ff9a5a, #ffd2a0 50%, #ff9a5a); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .25s ease; }
.rvf-cap b + b { opacity: 0; }
.rvf-flash { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 246, 216, .95), rgba(255, 170, 60, .6) 30%, rgba(255, 80, 20, .25) 60%, transparent); }

/* finale (1.3 s): both cords flare and draw into the flame (0–.42 s), it flashes (.34 s), then lifts off (.36–1.26 s) */
.rv-fire.go :is(.rvf-bub, .rvf-em) { animation: none; opacity: 0; }
.rv-fire.go :is(.rvf-b, .rvf-hot) { animation: none; }
.rv-fire.go .rvf-wash { animation: none; transform: translateX(0); }
.rv-fire.go .rvf-lin { transform-origin: 100% 50%; animation: rvfDraw .42s cubic-bezier(.6, 0, .9, .5) both; animation-delay: var(--go); }
@keyframes rvfDraw { 0% { transform: scaleX(1); opacity: 1; } 60% { opacity: 1; } 100% { transform: scaleX(0); opacity: 0; } }
.rv-fire.go .rvf-flash { animation: rvfFlash .6s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--go) + .34s); }
@keyframes rvfFlash { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
.rv-fire.go .rvf-svg { animation: rvfLift .9s cubic-bezier(.5, 0, .7, .3) both; animation-delay: calc(var(--go) + .36s); }
@keyframes rvfLift { 0% { transform: none; opacity: 1; } 18% { transform: scale(1.25); opacity: 1; } 32% { transform: translateY(-2px) scale(1.12); opacity: 1; } 100% { transform: translateY(-54px) scale(.6); opacity: 0; } }
.rv-fire.go .rvf-cap b:first-child { opacity: 0; } .rv-fire.go .rvf-cap b + b { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .rv-fire *, .rv-fire *::before, .rv-fire *::after { animation: none !important; }
  .rvf-bub, .rvf-em { display: none; }
  .rvf-wash { transform: translateX(0); opacity: .55; }
  .page > .trk { transition: none; }
}
@media (max-width: 700px) { .rv-fire { width: 170px; } .rvf-line { width: 56px; } .rvf-cap { display: none; } }

/* ===== Sidebar wordmark v3: calm glass type. Upright, wide-tracked caps in the logo's ice→steel glass, a fine top
   highlight, a soft frosted glow, and a thin ice rule beneath that fades out (echoes the tracker's glass rail).
   Default face Unbounded 400; ?wm=sora switches to Sora 500 for comparison. Replaces the slanted 3D wordmark. ===== */
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark {
  transform: none !important; margin-left: 15px; padding-bottom: 9px; position: relative; font: 400 17px/1 'Unbounded', var(--f) !important; letter-spacing: .26em !important; }
:root[data-wm="sora"]:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark { font: 500 18px/1 'Sora', var(--f) !important; letter-spacing: .3em !important; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t {
  text-transform: uppercase; font: inherit !important; letter-spacing: inherit !important; transform: none !important;
  background: linear-gradient(180deg, #f4f9ff 0%, #dfe9f5 38%, #b4c8de 70%, #8fa6c2 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(150, 190, 240, .22)) drop-shadow(0 1px 1px rgba(0, 0, 0, .35)) !important; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::before { display: none !important; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark .wm-t::after {
  content: attr(data-text) !important; position: absolute; inset: 0 !important; left: 0 !important; top: 0 !important; z-index: 1 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 22%) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; pointer-events: none; }
:root:is([data-look="6"], [data-look="7"], [data-look="8"], [data-look="9"]) .sb .wordmark::after {
  content: "" !important; display: block !important; position: absolute; left: 0; right: auto; top: auto; bottom: 0; width: 86%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, rgba(214, 234, 255, .55), rgba(143, 179, 217, .18) 60%, transparent) !important;
  box-shadow: 0 0 6px rgba(127, 184, 255, .25); animation: none !important; transform: none !important; opacity: 1 !important; }

/* ===== Quiet candle in glass (page tracker + review mini tracker only; the sidebar .mini-mark keeps its red glow) =====
   no big round glow behind the flame, just a tiny faint warm light inside the socket; 2 small slow embers; on arrival
   one quick soft flash in the socket (~.3 s), then calm. */
:is(.trk, .rv-trk) .trk-run .fl-glow { display: none; }
:is(.trk, .rv-trk) .trk-run .fb-halo { opacity: .3; animation: none; }
:is(.trk, .rv-trk) .trk-run .fl-svg { filter: drop-shadow(0 0 2px rgba(var(--ice), .5)) brightness(1.15); }
/* socket glass a touch clearer so the flame's base reads inside it */
html:root .trk:not(.firing) .trk-rail .trk-d.bead.cur, html:root .rv-trk .trk-rail .trk-d.bead.cur:not(:is(.go *)) {
  background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .55) 0, rgba(230, 240, 255, .18) 2px, transparent 4px),
    radial-gradient(circle at 50% 66%, rgba(150, 200, 255, .22) 0, rgba(40, 60, 90, .22) 45%, rgba(18, 26, 38, .55) 80%, rgba(10, 14, 20, .7) 100%) !important; }
:is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur::before { inset: 3px; animation: skWarm 2.3s ease-in-out infinite;
  background: radial-gradient(circle at 50% 60%, rgba(255, 170, 90, .26), rgba(255, 130, 60, .08) 55%, transparent 75%); }
@keyframes skWarm { 0%, 100% { opacity: .7; } 30% { opacity: 1; } 55% { opacity: .65; } 78% { opacity: .9; } }
:is(.trk, .rv-trk) .trk-run .fl-em.e2, :is(.trk, .rv-trk) .trk-run .fl-em.e4, :is(.trk, .rv-trk) .trk-run .fl-em.e5 { display: none; }
:is(.trk, .rv-trk) .trk-run .fl-em { width: 1.5px; height: 1.5px; box-shadow: 0 0 2px rgba(var(--ice), .55); }
:is(.trk, .rv-trk) .trk-run .fl-em.e1 { --d: 3.6s; } :is(.trk, .rv-trk) .trk-run .fl-em.e3 { --d: 4.2s; }
.trk.ignite.fwd .trk-rail .trk-d.bead.cur { animation: skFlash .3s ease-out both; }
@keyframes skFlash { 0% { filter: brightness(1.9) sepia(.6) saturate(2.2) hue-rotate(-15deg); } 100% { filter: none; } }
.trk.ignite.fwd .trk-fig { animation: flGrow .45s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes flGrow { 0% { opacity: 0; transform: scale(.4) translateY(4px); filter: brightness(1.5) sepia(.5) saturate(2) hue-rotate(-15deg); } 60% { opacity: 1; } 100% { transform: scale(1); filter: none; } }
@media (prefers-reduced-motion: reduce) { :is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur::before, .trk.ignite.fwd .trk-rail .trk-d.bead.cur, .trk.ignite.fwd .trk-fig { animation: none !important; } }

/* ===== Sidebar wordmark: "RUN / NER" blade divide (chosen design). Ice RUN, a flame blade from the gl14 mark, steel NER. ===== */
html:root:is([data-look]) .sb .wordmark.wm-bd { display: inline-flex !important; align-items: center; gap: 0; transform: none !important; margin-left: 15px; padding-bottom: 0 !important;
  font: 500 18px/1 'Unbounded', var(--f) !important; letter-spacing: .06em !important; text-decoration: none;
  filter: drop-shadow(0 0 9px rgba(140, 185, 240, .2)) drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
html:root:is([data-look]) .sb .wordmark.wm-bd::before, html:root:is([data-look]) .sb .wordmark.wm-bd::after { display: none !important; content: none !important; }
html:root:is([data-look]) .sb .wordmark.wm-bd .wbd-r { background: linear-gradient(180deg, #f8fbff 0%, #e0ebf7 45%, #b2c6dd 78%, #8aa3c1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:root:is([data-look]) .sb .wordmark.wm-bd .wbd-n { background: linear-gradient(180deg, #a9c3e2, #5f7ea6); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:root:is([data-look]) .sb .wordmark.wm-bd .wbd-b { flex: none; margin: 0 6px 0 4px; overflow: visible; filter: drop-shadow(0 0 2px rgba(169, 198, 234, .5)); transition: transform .3s cubic-bezier(.3,1.4,.5,1), filter .25s; }
html:root:is([data-look]) .sb .wordmark.wm-bd:is(:hover, :focus-visible) .wbd-b { transform: translateY(-1px) rotate(-4deg); filter: drop-shadow(0 0 5px rgba(169, 198, 234, .75)); }
html:root:is([data-look]) body.sb-mini .sb .wordmark.wm-bd { display: none !important; }
/* collapsed: centre the flame's visual mass on the sidebar's icon column (the mark leans left inside its square) */
body.sb-mini .mini-mark .mm, body.sb-mini .mini-mark .mm-live { translate: 2.5px 0; }
/* wordmark blade: on hover it catches fire in red, like the collapsed logo (was a blue glow) */
html:root:is([data-look]) .sb .wordmark.wm-bd .wbd-b .wbd-hot { opacity: 0; transform-origin: 2px 26px; transform-box: view-box; transition: opacity .3s ease; }
html:root:is([data-look]) .sb .wordmark.wm-bd:is(:hover, :focus-visible) .wbd-b { transform: translateY(-1px); filter: drop-shadow(0 0 3px rgba(255,70,25,.65)) drop-shadow(0 0 8px rgba(255,59,31,.3)); }
html:root:is([data-look]) .sb .wordmark.wm-bd:is(:hover, :focus-visible) .wbd-hot { opacity: 1; animation: wbdFlick 1.6s ease-in-out infinite; }
@keyframes wbdFlick { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 30% { transform: scale(.97, 1.05) skewX(-2deg); } 60% { transform: scale(1.02, .97) skewX(1.5deg); } 80% { transform: scale(.99, 1.03) skewX(-1deg); } }
@media (prefers-reduced-motion: reduce) { html:root:is([data-look]) .sb .wordmark.wm-bd .wbd-hot { animation: none !important; } }

/* Nov 5: the sidebar logo's living flame and the RUN / NER blade burn ICE BLUE on hover (was red) */
.mini-mark { --ice: 127, 184, 255 !important; --ice-hi: 214, 236, 255 !important; }
html:root .mini-mark .mm-live .fl-svg { filter: drop-shadow(0 0 3px rgba(127, 184, 255, .6)) drop-shadow(0 0 8px rgba(127, 184, 255, .25)) !important; }
html:root .mini-mark .mm-live .fb-halo { fill: #7fb8ff !important; opacity: .5; }
html:root .mini-mark .mm-live .fl-glow { background: radial-gradient(closest-side, rgba(127, 184, 255, .3), rgba(70, 120, 200, .1) 55%, transparent) !important; }
html:root .mini-mark .mm-live .fl-em { background: #d6ecff !important; box-shadow: 0 0 4px 1px rgba(127, 184, 255, .8) !important; }
html:root:is([data-look]) .sb .wordmark.wm-bd:is(:hover, :focus-visible) .wbd-b { filter: drop-shadow(0 0 3px rgba(127, 184, 255, .7)) drop-shadow(0 0 8px rgba(127, 184, 255, .3)) !important; }
