/* YOFESS website look on every page (Keval 21-Nov: "sare ke sare page isi design mai").
   Same palette as yofess.com: Blush ground with soft drifting colour, white glass panels, ink buttons.
   Loaded after each page's own <style>, so it only swaps colours and surfaces; page layouts stay as they are.
   Light (Blush) is the default everywhere. Dark stays only when someone picks it with the theme button. */
:root:not([data-theme="dark"]){
  --bg:#fff4f2; --bg-2:#f6e4e0; --scene-1:transparent; --scene-2:transparent;
  --glass:linear-gradient(150deg,rgba(255,255,255,.78),rgba(255,255,255,.52));
  --glass-fill:rgba(255,255,255,.34); --glass-edge:rgba(255,255,255,.9); --glass-hi:#fff;
  --surface:rgba(255,255,255,.92); --surface-2:rgba(255,255,255,.72); --surface-3:#f3e3df;
  --border:rgba(11,11,12,.07); --border-strong:rgba(11,11,12,.18);
  --text:#0b0b0c; --text-2:#3f3f3e; --text-3:#5f5b58;
  --inverse-bg:#0b0b0c; --inverse-text:#fff; --focus:#0b0b0c;
  --shadow:0 18px 50px rgba(60,30,40,.10),0 1px 2px rgba(60,30,40,.04);
  --logo-dark:none; --logo-light:block; color-scheme:light;
  /* sign-in page names */
  --card:rgba(255,255,255,.7); --ink:#0b0b0c; --mute:#5f5b58; --line:rgba(11,11,12,.1);
  /* host page blush layers */
  --b1:#f7c8d2; --b2:#fbd6b4; --b3:#f9dde3;
  background:#ffe9ee;
}

/* Blush fluid behind everything (same blobs as the home page; transform-only animation) */
:root:not([data-theme="dark"]) body{background:transparent}
:root:not([data-theme="dark"])::before,:root:not([data-theme="dark"])::after{content:"";position:fixed;z-index:-2;pointer-events:none;border-radius:50%;width:75vmax;height:75vmax;will-change:transform;animation:yf-drift 32s ease-in-out infinite alternate}
:root:not([data-theme="dark"])::before{left:-25vmax;top:-28vmax;background:radial-gradient(circle,#f7c8d2 0,transparent 66%)}
:root:not([data-theme="dark"])::after{right:-30vmax;bottom:-30vmax;background:radial-gradient(circle,#fbd6b4 0,transparent 66%);animation-duration:38s;animation-delay:-10s}
@keyframes yf-drift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(6vmax,4vmax) scale(1.08)}100%{transform:translate(-4vmax,7vmax) scale(.95)}}
@media (prefers-reduced-motion:reduce){:root::before,:root::after{animation:none!important}}

/* White glass panels like the website */
:root:not([data-theme="dark"]) .glass{background:var(--glass);border:1px solid var(--glass-edge);box-shadow:var(--shadow),inset 0 1px 0 #fff}
:root:not([data-theme="dark"]) dialog .glass{background:#fffaf9}
:root:not([data-theme="dark"]) dialog::backdrop{background:rgba(60,30,40,.32)}

/* Ink buttons with the website's soft gloss (studio accent colours on guest pages keep their colour) */
.btn-primary{background-image:linear-gradient(180deg,rgba(255,255,255,.10),rgba(0,0,0,.08))}
:root:not([data-theme="dark"]) .btn-primary{box-shadow:0 10px 26px rgba(11,11,12,.22),inset 0 1px 0 rgba(255,255,255,.18)}
:root:not([data-theme="dark"]) .btn:not(.btn-primary){background:rgba(255,255,255,.7);border-color:rgba(11,11,12,.12)}
:root:not([data-theme="dark"]) .round{background:rgba(255,255,255,.7);border-color:rgba(11,11,12,.08)}

/* Inputs: white, soft edge */
:root:not([data-theme="dark"]) .in,:root:not([data-theme="dark"]) select,:root:not([data-theme="dark"]) textarea{background:#fff;border-color:rgba(11,11,12,.14)}

/* Dark = the one other "App look" (NAYAN 23-Nov: Blush is the default; Dark only when someone picks it).
   Same values on every page, so a page whose own dark colours only follow the phone's setting still turns dark. */
:root[data-theme="dark"]{
  --bg:#070708; --bg-2:#141416; --scene-1:rgba(255,255,255,.16); --scene-2:rgba(255,255,255,.07);
  --glass:linear-gradient(140deg,rgba(255,255,255,.13),rgba(255,255,255,.04) 55%,rgba(255,255,255,.07));
  --glass-fill:rgba(22,22,26,.62); --glass-edge:rgba(255,255,255,.16); --glass-hi:rgba(255,255,255,.22);
  --surface:rgba(16,16,19,.88); --surface-2:rgba(30,30,34,.92); --surface-3:#1d1d21;
  --border:rgba(255,255,255,.10); --border-strong:rgba(255,255,255,.26);
  --text:#F6F6F4; --text-2:#C2C2C0; --text-3:#959593;
  --inverse-bg:#F6F6F4; --inverse-text:#0B0B0C; --focus:#FFFFFF;
  --shadow:0 24px 60px -20px rgba(0,0,0,.7),0 2px 8px rgba(0,0,0,.35);
  --logo-dark:block; --logo-light:none; color-scheme:dark;
  --card:#171717; --ink:#f3f3f3; --mute:#9a9a9a; --line:#2a2a2a;
  background:#070708;
}
:root[data-theme="dark"] body{background:var(--bg);color:var(--text)}
