/* ProTantra corner radii, shadows and motion.
   Shadows are warm-tinted (plum-brown, never pure black) to sit on the cream
   paper background. Motion is gentle — fades and soft rises, no bounce. */
:root{
  --pt-radius-sm:8px;
  --pt-radius-md:14px;
  --pt-radius-lg:22px;
  --pt-radius-xl:32px;
  --pt-radius-pill:999px;

  --pt-shadow-sm:0 1px 2px rgba(0,0,0,.35);
  --pt-shadow-md:0 8px 28px rgba(0,0,0,.45);
  --pt-shadow-lg:0 20px 50px rgba(0,0,0,.55);
  --pt-shadow-gold:0 8px 30px rgba(212,165,48,.3);
  --pt-shadow-glow-pink:0 0 40px rgba(232,54,109,.3);
  --pt-shadow-inner:inset 0 1px 2px rgba(0,0,0,.3);

  /* film-grain overlay — recurring across every real page (fixed, ~3% opacity) */
  --pt-grain-url:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); /* @kind other */
  --pt-grain-opacity:0.03; /* @kind other */

  --pt-ease:cubic-bezier(.4,0,.2,1); /* @kind other */
  --pt-ease-out:cubic-bezier(.16,1,.3,1); /* @kind other */
  --pt-duration-fast:150ms; /* @kind other */
  --pt-duration-base:220ms; /* @kind other */
  --pt-duration-slow:420ms; /* @kind other */

  /* void-surface ambient glow — three soft radial gradients over --pt-void,
     copied from 10gdss_main_test.html's .hero-bg (gold top, hera-purple
     bottom-left, artemis-teal bottom-right). Use as a background-image on
     any element whose background-color is --pt-void. */
  --pt-void-glow:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(201,169,110,.12), transparent),
    radial-gradient(ellipse 50% 70% at -10% 80%, rgba(139,74,126,.08), transparent),
    radial-gradient(ellipse 50% 70% at 110% 80%, rgba(58,122,138,.08), transparent); /* @kind other */

  /* ===== канонические фоны-градиенты [BG] =====
     BG-1 paper · BG-2 indigo · BG-3 choco · BG-4 void
     Использовать как background, не пересобирать рецепты на месте. */
  --pt-bg-paper:var(--pt-paper); /* @kind other */
  --pt-bg-indigo:radial-gradient(120% 100% at 50% 0%, var(--pt-plum), var(--pt-ink) 70%); /* @kind other */
  --pt-bg-choco:radial-gradient(120% 100% at 50% 0%, var(--pt-choco), var(--pt-choco-deep) 70%); /* @kind other */
  --pt-bg-void-full:var(--pt-void-glow); /* @kind other */ /* поверх background-color: var(--pt-void) */
}
