/* ============================================================================
   coach-stone-alive.css — Stone, ALIVE (2026-11-24)
   Operator: "you're just giving me two colours plain… make it alive, the happiness
   I have on the Randall Andre Perera app." Source of truth = Randall's Grow tiles:
   frosted glass + one luminous glow per habit (cold plunge frost web, steps lime,
   sunlight gold, sleep violet arc, meditation amber rings, gratitude rose line).
   Each coach domain gets ONE glow family. Glows are light, never a blue FILL.
   Scope: html.cs-on (Stone on). Loaded after coach-stone.css. Look only.
   ========================================================================== */
html.cs-on:root{
  /* glow families: c = glow colour, t = tile wash, i = deep icon ink (≥4.5:1 on t) */
  --al-lime-c:201,218,116;  --al-lime-t:#EEF3D3; --al-lime-i:#3E4716;
  --al-sun-c:250,204,72;    --al-sun-t:#FFF3C8;  --al-sun-i:#252525;
  --al-frost-c:140,190,240; --al-frost-t:#E3EEFB;--al-frost-i:#2C4A68;
  --al-violet-c:168,146,240;--al-violet-t:#ECE6FF;--al-violet-i:#3A2C78;
  --al-rose-c:252,146,164;  --al-rose-t:#FDE6EA; --al-rose-i:#743229;
  --al-peach-c:250,178,128; --al-peach-t:#FFE9DA;--al-peach-i:#6E3B1A;
  --al-living:
    radial-gradient(30% 36% at 88% 10%,rgba(214,232,120,.9),rgba(214,232,120,0) 70%),
    radial-gradient(26% 30% at 6% 8%,rgba(140,190,240,.6),rgba(140,190,240,0) 70%),
    radial-gradient(rgba(244,239,232,.16) .9px,transparent 1.3px) 0 0/14px 14px,
    linear-gradient(158deg,#3B3A38 0%,#2B2A28 55%,#1F1E1C 100%);
}
/* ---- the glass tile recipe (one mixin per family) ---------------------------- */
html.cs-on .al-tile:not(#al):not(#al2),html.cs-on .chub-t:not(#al):not(#al2),html.cs-on .hv3-tile:not(#al):not(#al2),html.cs-on .lv2-th.tile:not(#al):not(#al2),html.cs-on .iv4-groups .t:not(#al):not(#al2){
  position:relative;border-radius:16px!important;overflow:hidden;
  background:radial-gradient(75% 75% at 30% 25%,rgba(var(--al-c,201,218,116),.85),rgba(var(--al-c,201,218,116),0) 70%),#2A2927!important;background-blend-mode:screen,normal; /* skin-ok: Stone fixed default */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 22px -14px rgba(var(--al-c,201,218,116),.95)!important; /* skin-ok: Stone alive glow */
  color:#FAF8F4!important} /* skin-ok: Stone fixed default */
html.cs-on .chub-t svg:not(#al):not(#al2),html.cs-on .hv3-tile svg:not(#al):not(#al2),html.cs-on .lv2-th.tile svg:not(#al):not(#al2),html.cs-on .iv4-groups .t svg:not(#al):not(#al2){stroke:#FAF8F4!important;color:#FAF8F4!important;filter:none!important} /* skin-ok: Stone fixed default */

/* ---- domain → family -------------------------------------------------------- */
/* lime = training / build / the Lab */
html.cs-on [data-chub="training"] .chub-t:not(#al):not(#al2),html.cs-on [data-hv3="lab"] .hv3-tile:not(#al):not(#al2),html.cs-on [data-lv2="exercises"] .lv2-th.tile:not(#al):not(#al2),html.cs-on [data-lv2="workouts"] .lv2-th.tile:not(#al):not(#al2),html.cs-on [data-lv2="programs"] .lv2-th.tile:not(#al):not(#al2){--al-c:var(--al-lime-c);--al-t:var(--al-lime-t);--al-i:var(--al-lime-i)}
/* sun = nutrition / business / packages */
html.cs-on [data-chub="nutrition"] .chub-t:not(#al):not(#al2),html.cs-on [data-hv3="pkg"] .hv3-tile:not(#al):not(#al2),html.cs-on [data-lv2="packages"] .lv2-th.tile:not(#al):not(#al2){--al-c:var(--al-sun-c);--al-t:var(--al-sun-t);--al-i:var(--al-sun-i)}
/* frost = habits / recovery / setup */
html.cs-on [data-chub="habits"] .chub-t:not(#al):not(#al2),html.cs-on [data-hv3="setup"] .hv3-tile:not(#al):not(#al2),html.cs-on [data-lv2="habits"] .lv2-th.tile:not(#al):not(#al2),html.cs-on #sec-messages .iv4-groups .t:not(#al):not(#al2){--al-c:var(--al-frost-c);--al-t:var(--al-frost-t);--al-i:var(--al-frost-i)}
/* violet = progress / metrics / mind */
html.cs-on [data-chub="progress"] .chub-t:not(#al):not(#al2),html.cs-on [data-chub="metrics"] .chub-t:not(#al):not(#al2),html.cs-on [data-lv2="metrics"] .lv2-th.tile:not(#al):not(#al2){--al-c:var(--al-violet-c);--al-t:var(--al-violet-t);--al-i:var(--al-violet-i)}
/* rose = check-ins / forms / messages */
html.cs-on [data-chub="checkins"] .chub-t:not(#al):not(#al2),html.cs-on [data-lv2="checkins"] .lv2-th.tile:not(#al):not(#al2),html.cs-on [data-lv2="forms"] .lv2-th.tile:not(#al):not(#al2){--al-c:var(--al-rose-c);--al-t:var(--al-rose-t);--al-i:var(--al-rose-i)}
/* peach = photos / covers / profile */
html.cs-on [data-chub="photos"] .chub-t:not(#al):not(#al2){--al-c:var(--al-violet-c);--al-t:var(--al-violet-t);--al-i:var(--al-violet-i)}
html.cs-on [data-chub="profile"] .chub-t:not(#al):not(#al2){--al-c:var(--al-frost-c);--al-t:var(--al-frost-t);--al-i:var(--al-frost-i)}
html.cs-on [data-hv3="covers"] .hv3-tile:not(#al):not(#al2),html.cs-on [data-lv2="covers"] .lv2-th.tile:not(#al):not(#al2){--al-c:var(--al-lime-c);--al-t:var(--al-lime-t);--al-i:var(--al-lime-i)}

/* ---- living glass hero slabs (Randall "Readiness" card, graphite + light) ---- */
html.cs-on .chome .snap:not(#al):not(#al2),html.cs-on .lh-promise:not(#al):not(#al2){background:var(--al-living)!important;background-blend-mode:screen,screen,normal,normal}
html.cs-on .chome .snap .spill.alert .v:not(#al):not(#al2){color:#DCEB93!important;text-shadow:0 0 22px rgba(201,218,116,.55)!important} /* skin-ok: Stone fixed default */

/* avatars: neutral; state glows live in the page files (rose = needs you, lime = on track) */

/* ---- the page field breathes: two soft blooms behind everything --------------- */
html.cs-on .csf:not(#al):not(#al2){background:
  radial-gradient(46% 28% at 6% 0%,rgba(156,196,234,.16),transparent 72%),
  radial-gradient(40% 26% at 100% 18%,rgba(201,218,116,.26),transparent 72%),
  radial-gradient(50% 30% at 50% 104%,rgba(242,188,99,.14),transparent 72%),#EDE7DF!important} /* skin-ok: Stone alive */

@media (prefers-reduced-motion:no-preference){
  html.cs-on .chome .snap,html.cs-on .lh-promise{background-size:auto,auto,auto,14px 14px,auto;animation:alDrift 14s ease-in-out infinite alternate}
}
@keyframes alDrift{to{background-position:6% 2%,-4% 3%,3% -2%,7px 7px,0 0}}

/* Needs-you rows: no wash block behind the row (it clipped square inside the card, 11-24 operator);
   the attention lives in the avatar — one clean rose disc with a soft halo */
html.cs-on .chome .stack .row:not(#al):not(#al2){background:transparent!important}
html.cs-on .chome .stack .row .av:not(#al):not(#al2){
  background:radial-gradient(80% 80% at 32% 28%,#FFF3F5,#FBD9E0 70%)!important;color:#7A2E3C!important;border:0!important; /* skin-ok: Stone alive */
  box-shadow:inset 0 0 0 1px rgba(252,146,164,.55),0 6px 16px -6px rgba(252,146,164,.75)!important; /* skin-ok: Stone alive */
  font-weight:500!important;letter-spacing:-.01em!important} /* skin-ok: Stone alive */
/* Lab "Suggested next" Start = the lime action (never ink) */
html.cs-on .lh-next .go:not(#al):not(#al2){background:#D3DE9E!important;color:#1C1B19!important;box-shadow:0 8px 18px -10px rgba(201,218,116,.95)!important} /* skin-ok: Stone alive */
/* Lab promise card: blooms sit in the corners away from the title */
html.cs-on .lh-promise:not(#al):not(#al2){background:
  radial-gradient(34% 30% at 96% 100%,rgba(214,232,120,.85),rgba(214,232,120,0) 70%),
  radial-gradient(24% 26% at 0% 100%,rgba(140,190,240,.55),rgba(140,190,240,0) 70%),
  radial-gradient(rgba(244,239,232,.16) .9px,transparent 1.3px) 0 0/14px 14px,
  linear-gradient(158deg,#3B3A38 0%,#2B2A28 55%,#1F1E1C 100%)!important;background-blend-mode:screen,screen,normal,normal} /* skin-ok: Stone alive */
/* contrast: filter chips + onboarding labels ≥4.5:1 */
html .scf-chip:not(#al):not(#al2){color:#55504A!important} /* skin-ok: Stone alive */
