/* ═══════════════════════════════════════════════════════════
   WELCOME STATE — editorial first impression.
   Thin hairline eyebrow, large IBM Plex Sans wordmark, muted tagline.
   Each line masks-in with a 80ms stagger.
═══════════════════════════════════════════════════════════ */
.welcome{
  position:relative;
  flex:1;display:flex;align-items:flex-start;justify-content:flex-end;
  flex-direction:row;gap:0;
  color:var(--text-muted);
  /* Smaller right padding pushes the hero further into the
     right edge while keeping a comfortable gutter. */
  padding:0 clamp(2rem, 5vw, 6rem) 0 1.5rem;
  overflow:hidden;
  /* 48px square grid behind the hero. Two 1px lines per axis,
     subtle ivory tint so it reads atmospheric, not decorative.
     Welcome state doesn't pan, so a fixed background-image is fine. */
  background-image:
    linear-gradient(color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px);
  background-size:60px 60px;
}
.welcome > *{position:relative;z-index:1;}

/* ─────────────── Welcome content stack ───────────────
   Wraps eyebrow + wordmark + tagline + search and pins
   them to the right half of the welcome area so they
   don't collide with the autumn-tree backdrop on the
   left. Stays centered within its own column.
   ──────────────────────────────────────────────────── */
.welcome-content{
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:0;
  max-width:min(42.5rem, 48vw);
  width:100%;
  /* Pushed higher so the stack sits in the upper-right of the
     hero. Smaller wordmark below means we don't need as much
     top space to clear the autumn canopy. */
  margin-top:clamp(10.75rem, 26vh, 18.75rem);
  padding:0.5rem 0;
}

/* New unified slide-fade transition for "the rest" (eyebrow,
   knight video, tagline, search). The CAVALRY letter cascade
   (.ch-text .ch-l → @keyframes ch-letter-in) is untouched. */
@keyframes welcome-piece-in{
  0%   {opacity:0; transform:translateX(56px);}
  100% {opacity:1; transform:translateX(0);}
}

/* (The welcome hero lives on the home service now — the old
   hide-sidebar-during-welcome rule was dead and is gone.) */

/* ═══════════════════════════════════════════════════════════
   Autumn Tree backdrop — merged from /demo/index.html.
   Sits inside .welcome at z-index 0 so it paints behind the
   welcome content (eyebrow, wordmark, tagline, search) and
   above the welcome's 48px grid. All transitions preserved
   from the source demo: warm glow breathing in, tree rising
   from below with blur, falling leaves with sway+spin, and
   a soft vignette + lifting veil.
   ═══════════════════════════════════════════════════════════ */
.welcome .tree-glow,
.welcome .tree-stage,
.welcome .tree-vignette,
.welcome .tree-veil{
  position:absolute;
  z-index:0;
  pointer-events:none;
}

/* Warm radial glow that breathes in behind the canopy */
.welcome .tree-glow{
  inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 38% 42%,
      rgba(255, 138, 60, 0.22) 0%,
      rgba(220, 90, 40, 0.10) 30%,
      rgba(0, 0, 0, 0) 65%);
  opacity:0;
}
body.tree-ready .welcome .tree-glow{
  animation:tree-glow-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
@keyframes tree-glow-in{
  0%   {opacity:0; transform:scale(0.94);}
  100% {opacity:1; transform:scale(1);}
}

/* Soft dark veil that lifts after the tree has settled */
.welcome .tree-veil{
  inset:0;
  background:var(--bg-primary);
  z-index:3;
  opacity:1;
}
body.tree-ready .welcome .tree-veil{
  animation:tree-veil-lift 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}
@keyframes tree-veil-lift{
  0%   {opacity:1;}
  100% {opacity:0;}
}

/* Subtle radial vignette that eases in last, for depth */
.welcome .tree-vignette{
  inset:0;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  opacity:0;
  z-index:2;
}
body.tree-ready .welcome .tree-vignette{
  animation:tree-vignette-in 0.9s ease-out 0.7s forwards;
}
@keyframes tree-vignette-in{
  to{opacity:1;}
}

.welcome .tree-stage{
  inset:0;
  background-image:url("/static/autumn/tree.png");
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:contain;
  transform:translate(-13.5vw, 5.15vh);
  opacity:0;
}
body.tree-ready .welcome .tree-stage{
  animation:tree-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes tree-in{
  0%{
    opacity:0;
    filter:blur(10px) brightness(0.5);
    transform:translate(-13.5vw, 20vh) scale(1);
  }
  25%{
    opacity:1;
    filter:blur(2px) brightness(0.9);
  }
  100%{
    opacity:1;
    filter:blur(0) brightness(1);
    transform:translate(-13.5vw, 5.15vh) scale(1);
  }
}

.welcome .tree-leaf{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:calc(var(--size, 2.625rem) * 0.68);
  will-change:transform, opacity;
  opacity:0;
  pointer-events:none;
}
body.tree-ready .welcome .tree-leaf{
  animation:tree-leaf-fade-in 0.6s ease-out 1.2s both,
            tree-fall var(--dur, 14s) linear calc(var(--delay, 0s) + 1.2s) infinite;
}
@keyframes tree-leaf-fade-in{
  from{opacity:0;}
  to  {opacity:1;}
}
.welcome .tree-leaf .tree-sway{
  animation:tree-sway var(--sway-dur, 5s) ease-in-out var(--sway-delay, 0s) infinite alternate;
}
.welcome .tree-leaf img{
  display:block;
  width:100%;
  height:auto;
  animation:tree-spin var(--spin-dur, 9s) linear var(--spin-delay, 0s) infinite;
  transform-origin:50% 50%;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}
@keyframes tree-fall{
  0%   {transform:translate3d(0, 0, 0);                                                opacity:0;}
  6%   {opacity:var(--peak, 0.95);}
  85%  {opacity:var(--peak, 0.95);}
  100% {transform:translate3d(calc(var(--wind, 9vw) * 1.3), var(--fall, 70vh), 0);     opacity:0;}
}
@keyframes tree-sway{
  from{transform:translateX(calc(var(--sway-amp, 28px) * -1));}
  to  {transform:translateX(var(--sway-amp, 28px));}
}
@keyframes tree-spin{
  from{transform:rotate(var(--rot-from, -12deg));}
  to  {transform:rotate(var(--rot-to, 348deg));}
}

/* ─────────────── Warm light wash ───────────────
   Big soft warm light originating from the bottom-right
   corner, fanning across the welcome area to illuminate
   the autumn tree on the left. Uses `mix-blend-mode:
   screen` so the light reads as additive — the orange
   canopy glows where the wash reaches it, the dark
   background stays dark in the cold corners.
   Color matches --accent-warm and the foliage tones.
   ───────────────────────────────────────────────── */
.welcome .welcome-light{
  position:absolute;
  inset:0;
  z-index:1;
  background:radial-gradient(ellipse 140% 130% at 96% 102%,
    rgba(255, 210, 140, 0.527) 0%,
    rgba(255, 180, 100, 0.408) 12%,
    rgba(255, 150, 70,  0.272) 26%,
    rgba(255, 120, 50,  0.170) 42%,
    rgba(255,  95, 35,  0.085) 60%,
    rgba(255,  80, 25,  0.034) 76%,
    rgba(0, 0, 0, 0)            90%);
  mix-blend-mode:screen;
  pointer-events:none;
  opacity:0;
}
body.tree-ready .welcome .welcome-light{
  animation:
    welcome-light-in      0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    welcome-light-breathe 7.4s ease-in-out 1.5s infinite;
}
@keyframes welcome-light-in{
  from{opacity:0;}
  to  {opacity:1;}
}
@keyframes welcome-light-breathe{
  0%,100%{opacity:1;    transform:scale(1);   }
  50%    {opacity:0.88; transform:scale(1.02);}
}
.welcome.hidden{display:none;}
/* ═══════════════════════════════════════════════════════════
   Welcome wordmark — "CAVALRY[knight]"
     • Each letter rises through a mask reveal, staggered.
     • The knight is aligned with the cap height of the text and
       fades + rises in after the last letter — same rhythm as the
       tagline, no rotation gimmicks.
     • Hover the logo → plays on loop. Mouse out → current loop
       finishes, then the video pauses on its first frame again.
   ═══════════════════════════════════════════════════════════ */
.welcome-wordmark{
  display:flex;align-items:center;justify-content:center;
  gap:0;
  margin-bottom:1.375rem;
  max-width:100%;
}
.ch-text{
  display:inline-flex;
  flex-shrink:0;
  font-family:var(--font-sans);
  /* Trimmed ~20% from the previous clamp(40px, 5.8vw, 88px).
     Smaller wordmark sits more comfortably in the upper-right
     pocket above the autumn canopy. */
  font-size:clamp(2.125rem, 4.8vw, 4.5rem);
  font-weight:700;
  letter-spacing:-0.045em;
  line-height:0.9;
  color:var(--text-primary);
  text-transform:uppercase;
  overflow:hidden;           /* clips each letter while it slides up */
  padding-bottom:0.08em;     /* descenders get a sliver of room */
  /* Lift above the knight in the stacking order so the letters
     always paint on top if the video's negative margin overlaps. */
  position:relative;
  z-index:2;
}
.ch-l{
  display:inline-block;
  transform:translateY(110%);
  opacity:0;
  animation:ch-letter-in 720ms cubic-bezier(0.22, 0.8, 0.18, 1) forwards;
  animation-delay:calc(var(--i) * 55ms + 140ms);
}
@keyframes ch-letter-in{
  0%  {transform:translateY(110%);opacity:0;}
  60% {opacity:1;}
  100%{transform:translateY(0);    opacity:1;}
}
.welcome-wordmark video{
  /* Sized ~1.6× the cap height of CAVALRY so the knight feels
     "tall" next to the letters. Floor and cap stepped down to
     match the trimmed wordmark size. */
  height:clamp(3.75rem, 7.8vw, 7.75rem);
  width:auto;max-width:30vw;
  flex-shrink:0;
  cursor:pointer;
  display:block;
  /* Knight sits tight against CAVALRY. The WebM has ~25.6%
     transparent left padding; the negative margin shaves part
     of that away so the visible knight body stays close to the
     text. Plain fade-in after the Y settles — no transform, so
     the later hover scale doesn't fight an animated transform. */
  margin-left:clamp(-2rem, -1.4vw, -0.5rem);
  position:relative;
  z-index:1;
  opacity:0;
  animation:knight-fade-in 600ms ease-out 580ms forwards;
}
@keyframes knight-fade-in{
  0%  {opacity:0;}
  100%{opacity:1;}
}
/* After the intro animation settles, hover gets its own transition.
   Scale triggers on hovering the whole lockup (CAVALRY + knight),
   not just the video — matches the loop-on-whole-row behavior. */
.welcome-wordmark video.lit{
  transition:transform .3s var(--ease-out);
}
.welcome-wordmark:hover video.lit{
  transform:scale(1.05);
}
.welcome-wordmark em{display:none;}
/* Welcome hero "Track Stock" — inline search + "Go to Tracking"
   CTA, in the same row. Both controls share the same height and
   a polished aesthetic: gradient surfaces, soft drop shadow,
   refined borders, smooth focus/hover.  Results dropdown still
   anchors directly below the input. */
.track-stock-row{
  display:flex;
  gap:0.75rem;
  width:min(33.75rem, 88vw);
  align-items:stretch;
  opacity:0;
  animation:welcome-piece-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 460ms forwards;
}
.track-stock-wrap{
  position:relative;
  flex:1 1 auto;
  min-width:0;
}
/* Inline results dropdown — pinned directly under the input. */
.track-stock-results{
  position:absolute;top:calc(100% + 0.375rem);left:0;right:0;
  background:var(--bg-secondary);
  border:1px solid var(--border-default);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow-menu);
  max-height:min(22.5rem, 50vh);overflow-y:auto;
  z-index:60;
  padding:0.25rem 0;
}
.track-stock-results.hidden{display:none;}
.track-stock-results::-webkit-scrollbar{width:0.25rem;}
.track-stock-results::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:2px;}
/* Reuse the same .sr-item / .sr-sym / .sr-name / .sr-meta classes the
   modal uses. Overrides: tighter padding so the dropdown doesn't feel
   wider than the input, and a link-underline reset since these rows are
   <a> elements (the modal's are <div>s). */
.track-stock-results .sr-item{padding:0.625rem 1rem;text-decoration:none;color:inherit;}
.track-stock-results .sr-item:first-child{border-top-left-radius:var(--radius-sm);border-top-right-radius:var(--radius-sm);}

/* ═══════════════════════════════════════════════════════════
   Stock-loading overlay — fills the chart area while data is
   fetching or a new stock is mid-backfill. Pipeline:
     knight1 plays once (intro) → knight2 loops until done →
     overlay fades out, videos pause.
   Covers .charts, .graph-view, and .map-view; sits below the
   view-toggle (z:50) so the Price/Graph/Map switcher stays
   clickable while loading.
   ═══════════════════════════════════════════════════════════ */
/* Fully opaque: the chart, toolbar and buttons must not ghost through
   while a stock loads. A plain empty screen with only the knight (owner
   2026-10-26: no grid texture, no card). */
.stock-loading{
  position:absolute;inset:0;z-index:45;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1.375rem;
  background:var(--bg-primary);
  opacity:1;
  /* ASYMMETRIC ON PURPOSE — do not collapse these into one transition.
     The veil is never display:none (only opacity:0), so a transition declared
     here used to run in BOTH directions: removing .hidden faded the veil IN
     over .42s while #charts (display:none → flex) painted in the very next
     frame. Result: ~380ms of uncovered chart page — header, toolbar and pane
     skeletons visible BEFORE the loading screen ("components flash" on any
     other-page → stock switch). A transition declared on a state governs the
     transition INTO that state, so 0s here = cover lands in the same frame as
     the unhide, and .42s on .hidden below keeps the graceful uncover that
     hideStockLoading's entrance replay (revealPanels) is timed against. */
  transition:opacity 0s;
  pointer-events:auto;
}
.stock-loading.hidden{
  opacity:0;
  pointer-events:none;
  transition:opacity .42s var(--ease-out);
}
/* Same compositor rule as .cp-skeleton.hide: the veil is only faded,
   so its pulse must stop or it animates behind the chart forever. */
.stock-loading.hidden .ld-caption{animation:none;}
.stock-loading .ld-video{
  height:clamp(10rem, 22vh, 17.5rem);
  width:auto;max-width:60vw;
  display:block;
}
.stock-loading .ld-video.hidden{display:none;}
.stock-loading .ld-caption{
  font-family:var(--font-sans);
  font-size:0.75rem;font-weight:600;
  color:var(--text-muted);
  animation:ld-pulse 1.8s ease-in-out infinite;
}
@keyframes ld-pulse{
  0%,100%{opacity:0.55;}
  50%    {opacity:1;}
}
/* Compact cover (T9 feel, 2026-10-23): a stock switch that is still loading
   after 300 ms shows the knight as a card centred on the price pane (app.js
   placeCompact sets left/top), never over the header, toolbar or sidebar.
   It never blocks the page and fades both ways in 120 ms. */
.stock-loading.ld-compact{
  inset:auto;transform:translate(-50%,-50%);
  gap:0.5rem;padding:0.875rem 1.25rem 0.75rem;
  background:var(--bg-elevated);background-image:none;
  border-radius:var(--radius);box-shadow:var(--shadow-pop);
  pointer-events:none;transition:opacity .12s ease-out;
}
.stock-loading.ld-compact.hidden{transition:opacity .12s ease-out;}
.stock-loading.ld-compact .ld-video{height:4.5rem;max-width:12rem;}
.stock-loading.ld-compact .ld-caption{text-transform:none;letter-spacing:normal;font-weight:600;}
@media (prefers-reduced-motion: reduce){
  .stock-loading.ld-compact,.stock-loading.ld-compact.hidden{transition:none;}
}
/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.toast{
  position:fixed;bottom:3rem;left:50%;   /* clear of the chart time axis */
  transform:translateX(-50%) translateY(80px);
  /* Default is a success/confirmation toast — green, not red, so a
     completed trade doesn't read like an error. Use .toast.error for
     genuine failures. */
  background:var(--green);color:var(--on-accent);
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.625rem 1.25rem;border-radius:var(--radius);
  font-size:0.8125rem;font-weight:600;
  opacity:0;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s;
  /* Above the modal dialogs (.alert-dialog 10001, the trade confirm 10002)
     so the answer to a dialog action is not dimmed under its own scrim;
     below the AI cursor layer (10060). Hidden toasts never catch clicks. */
  z-index:10055;box-shadow:var(--shadow-rail);pointer-events:none;
}
.toast.error{background:var(--red);}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1;pointer-events:auto;}
/* Heads-up / "coming soon" alert: creamy, distinct from success + error. */
.toast.warn{background:var(--toast-warn-bg);color:var(--toast-warn-fg);}
/* Neutral heads up (an alert hit, "coming soon"): a raised surface, not a
   verdict. Every kind is a filled background; no stripe or underline. */
.toast.info{background:var(--bg-elevated);color:var(--text-primary);}

/* Tweet hover tooltip */
.tweet-tip{
  position:fixed;
  pointer-events:none;
  z-index:300;
  max-width:20rem;
  padding:0.75rem 0.875rem;
  background:var(--bg-elevated);
  border:1px solid var(--border-default);
  border-radius:var(--radius);
  box-shadow:var(--shadow-pop);
  font-size:0.8125rem;
  line-height:1.5;
  color:var(--text-primary);
  opacity:0;
  transform:translateY(4px);
  transition:opacity .15s ease, transform .15s ease;
}
.tweet-tip.visible{
  opacity:1;
  transform:translateY(0);
}
.tweet-tip .tt-user{
  font-family:var(--font-mono);
  font-size:0.75rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:0.25rem;
}
.tweet-tip .tt-body{
  color:var(--text-primary);
  word-wrap:break-word;
  margin-bottom:0.375rem;
}
/* Machine-written note (8-K catalyst analysis). Deliberately does NOT look
   like .tt-body: its own inset surface, a purple attribution rail and a mono
   tag, so a reader can never mistake model prose for the publisher's words.
   Surface + rail are expressed off --text-primary / --orchid via color-mix so
   they invert with the theme instead of pinning a hex. */
.tweet-tip .tt-ai{
  margin:0 0 0.375rem;
  padding:0.375rem 0.5rem;
  border-radius:var(--radius-sm);
  background:color-mix(in srgb, var(--text-primary) 5%, transparent);
}
/* Mixed 55/45 toward --text-primary, NOT raw --orchid: the jewel tokens are
   shared by both themes, and neat #b39ddb only reaches 3.2:1 on the cream
   tooltip. Blending with the (theme-flipping) ink darkens it on light and
   lightens it on dark, clearing 4.5:1 for this small bold label both ways. */
.tweet-tip .tt-ai-tag{
  font-family:var(--font-mono);
  font-size:max(0.625rem, var(--fs-floor));
  font-weight:700;
  letter-spacing:0.08em;
  color:color-mix(in srgb, var(--orchid) 55%, var(--text-primary));
}
.tweet-tip .tt-ai-src{
  margin-left:0.375rem;
  font-family:var(--font-mono);
  font-size:max(0.625rem, var(--fs-floor));
  color:var(--text-muted);
}
.tweet-tip .tt-ai-body{
  margin-top:0.1875rem;
  font-size:0.75rem;
  line-height:1.45;
  color:var(--text-secondary);
  word-wrap:break-word;
}
.tweet-tip .tt-meta{
  display:flex;
  gap:0.625rem;
  font-family:var(--font-mono);
  font-size:0.75rem;
  color:var(--text-muted);
}
.tweet-tip .tt-score{font-weight:700;}
.tweet-tip .tt-score.bull{color:var(--green);}
.tweet-tip .tt-score.bear{color:var(--red);}
.tweet-tip .tt-score.neut{color:var(--text-secondary);}

/* ═══════════════════════════════════════════════════════════
   PRICE OVERLAY CANVASES (footprint + block-trade hover geometry)
═══════════════════════════════════════════════════════════ */
.spike-canvas{
  position:absolute;top:0;left:0;width:100%;height:100%;
  pointer-events:none;z-index:2;
}

/* ── Overlay tooltip shell (block / tape / event tips) ── */
.spike-tip{
  position:fixed;pointer-events:none;z-index:300;
  padding:0;
  background:color-mix(in srgb, var(--bg-secondary) 55%, transparent);
  backdrop-filter:blur(24px) saturate(145%);
  -webkit-backdrop-filter:blur(24px) saturate(145%);
  border:1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
  border-radius:0.5rem;
  box-shadow:var(--shadow-menu);
  font-size:0.8125rem;line-height:1.5;color:var(--text-primary);
  opacity:0;transform:translateY(6px) scale(0.97);
  transition:opacity .18s ease, transform .18s cubic-bezier(.4,0,.2,1);
  max-width:16.25rem;
  overflow:hidden;
}
.spike-tip.visible{opacity:1;transform:translateY(0) scale(1);}
.spike-tip .st-header{
  display:flex;align-items:center;gap:0.5rem;
  padding:0.625rem 0.875rem 0.5rem;
  border-bottom:1px solid color-mix(in srgb, var(--text-primary) 4%, transparent);
}
.spike-tip .st-icon{
  width:1.375rem;height:1.375rem;border-radius:0.3125rem;
  display:flex;align-items:center;justify-content:center;
  font-size:0.75rem;flex-shrink:0;
}
.spike-tip .st-icon.buy{background:color-mix(in srgb, var(--green) 12%, transparent);color:var(--green);}
.spike-tip .st-icon.sell{background:color-mix(in srgb, var(--red) 12%, transparent);color:var(--red);}
.spike-tip .st-title{
  font-family:var(--font-sans);font-size:0.8125rem;font-weight:700;
  color:var(--text-primary);letter-spacing:-.01em;
}
.spike-tip .st-mag{
  margin-left:auto;
  font-family:var(--font-mono);font-size:0.75rem;font-weight:700;
  padding:2px 0.4375rem;border-radius:0.25rem;
}
.spike-tip .st-mag.buy{background:color-mix(in srgb, var(--green) 10%, transparent);color:var(--green);}
.spike-tip .st-mag.sell{background:color-mix(in srgb, var(--red) 10%, transparent);color:var(--red);}
.spike-tip .st-body{padding:0.5rem 0.875rem 0.625rem;}
.spike-tip .st-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:2px 0;
  font-family:var(--font-mono);font-size:0.75rem;color:var(--text-muted);
}
.spike-tip .st-val{color:var(--text-secondary);font-weight:600;}
.spike-tip .st-bar{
  height:0.1875rem;border-radius:2px;margin-top:0.5rem;
  background:color-mix(in srgb, var(--text-primary) 4%, transparent);overflow:hidden;
}
.spike-tip .st-bar-fill{
  height:100%;border-radius:2px;
  transition:width .3s ease;
}
.spike-tip .st-bar-fill.buy{background:linear-gradient(90deg,color-mix(in srgb, var(--green) 15%, transparent),color-mix(in srgb, var(--green) 60%, transparent));}
.spike-tip .st-bar-fill.sell{background:linear-gradient(90deg,color-mix(in srgb, var(--red) 15%, transparent),color-mix(in srgb, var(--red) 60%, transparent));}

