/* ГЕШТАЛЬТ.РФ v16 — палитра и характер оформления из yog.su (той же команды): хвойно-зелёная шапка,
   тёплый кремовый фон с точечной сеткой, солнечно-жёлтый акцент, коралловые «кикеры», круглые кнопки.
   Значения переменных взяты из yog.su/assets/yoga.css; подключается после modern.css. */
html.theme-gestalt{
  --y-forest:#0e3b2d;--y-forest2:#14513e;--y-leaf:#13795b;--y-ink:#0e5a43;--y-btn:#13795b;--y-btn-hover:#0b5f47;--y-mint:#d9f2e3;
  --y-sun:#f6b73c;--y-coral:#ef6a4c;--y-sky:#3f9ad6;--y-plum:#7c5ccb;
  --y-bg:#fbf6ea;--y-card:#fffdf8;--y-soft:#f4efe1;--y-line:#e8e0cd;--y-muted:#5d6b62;--y-on-dark:#fdf7e8;
  --y-shadow:0 1px 0 #00000010,0 14px 32px -16px #2a3a2e55;--accent:#13795b;
  --m-grad:linear-gradient(135deg,#13795b 0%,#14513e 100%);
  --m-grad-warm:linear-gradient(135deg,#f6b73c 0%,#ef6a4c 100%);
  --m-grad-cool:linear-gradient(135deg,#13795b 0%,#3f9ad6 100%);
  --m-glass:#0e3b2d;
}
html.theme-gestalt[data-mode=dark]{--y-bg:#0e1a15;--y-card:#16271f;--y-soft:#1d3228;--y-line:#2d4739;--y-muted:#a8bcae;--y-forest:#0a2a20;--y-forest2:#11382b;--y-ink:#8fe5bb;--y-btn:#1b8566;--y-btn-hover:#23a07d;--y-mint:#1d3a2d;--m-glass:#0a2a20}
html.theme-gestalt,html.theme-gestalt body{
  background:var(--y-bg)!important;background-attachment:scroll!important;
  background-image:radial-gradient(circle at 1px 1px,#16251e12 1px,transparent 0)!important;background-size:22px 22px!important;color:var(--g-ink)}
html.theme-gestalt[data-mode=dark],html.theme-gestalt[data-mode=dark] body{background-image:radial-gradient(circle at 1px 1px,#ffffff0d 1px,transparent 0)!important}
html.theme-gestalt ::selection{background:var(--y-sun);color:#2f2200}

/* шапка: тёмная хвоя, как у yog.su */
html.theme-gestalt .g-topline{background:var(--y-forest2);color:#fdf7e8cc}
html.theme-gestalt .g-topline::after{display:none}
html.theme-gestalt .g-header{background:var(--y-forest)!important;-webkit-backdrop-filter:none;backdrop-filter:none;border:0!important;box-shadow:0 6px 24px -10px #0a2a2088;color:var(--y-on-dark)}
html.theme-gestalt .g-brand,html.theme-gestalt .g-brand-title,html.theme-gestalt .g-brand strong{color:var(--y-on-dark)!important}
html.theme-gestalt .g-brand small,html.theme-gestalt .g-brand-sub{color:#fdf7e8aa!important}
html.theme-gestalt .g-brand-mark{background:var(--y-sun)!important;color:#3b2a00!important;border-radius:12px;font-family:Georgia,serif;font-weight:800;transform:rotate(-6deg);box-shadow:none!important}
html.theme-gestalt .g-brand-mark span{color:#3b2a00!important}
html.theme-gestalt .g-nav{background:transparent!important;box-shadow:none!important;border:0!important}
html.theme-gestalt .g-nav a{color:#fdf7e8cc!important;font-weight:650;border-radius:999px;background:transparent!important;box-shadow:none!important}
html.theme-gestalt .g-nav a:hover{background:#ffffff1f!important;color:#fff!important}
html.theme-gestalt .g-nav a.g-current,html.theme-gestalt .g-nav a[aria-current]{background:var(--y-sun)!important;color:#2f2200!important}
html.theme-gestalt .g-search-icon,html.theme-gestalt .g-mode,html.theme-gestalt .g-account,html.theme-gestalt .g-mobile summary{background:#ffffff14!important;border:1px solid #ffffff30!important;color:var(--y-on-dark)!important;box-shadow:none!important}
html.theme-gestalt .g-search-icon svg,html.theme-gestalt .g-mode svg{stroke:currentColor}
html.theme-gestalt .g-mobile nav,html.theme-gestalt .g-mobile[open]>nav{background:var(--y-card)!important;border:1px solid var(--y-line)!important;border-radius:14px;box-shadow:var(--y-shadow)}
html.theme-gestalt .g-mobile nav a{color:var(--g-ink)!important}
html.theme-gestalt .g-subnav{background:var(--y-soft)!important;border-color:var(--y-line)!important}
html.theme-gestalt .g-subnav a{color:var(--y-ink)}
html.theme-gestalt .g-subnav a:hover{background:var(--y-mint)}
html.theme-gestalt .g-small-label{color:var(--y-coral)!important}

/* подвал */
html.theme-gestalt .g-footer{background:var(--y-forest)!important;color:#fdf7e8bb}
html.theme-gestalt .g-footer::before{background:linear-gradient(90deg,#13795b,#f6b73c,#ef6a4c,#7c5ccb)}
html.theme-gestalt .g-footer a{color:#fdf7e8dd}html.theme-gestalt .g-footer a:hover{color:var(--y-sun)!important}

/* кикеры, кнопки, карточки */
html.theme-gestalt .g-kicker{color:var(--y-coral)!important;font-weight:900;letter-spacing:.16em;text-transform:uppercase;font-size:11px}
html.theme-gestalt .g-kicker::before{content:"";display:inline-block;width:18px;height:3px;border-radius:3px;background:currentColor;margin-right:8px;vertical-align:middle}
html.theme-gestalt button:not(.g-mode):not(.g-bookmark):not(.g-outline):not(.g-danger),html.theme-gestalt .g-button,html.theme-gestalt a.g-button{background-image:none;background:var(--y-btn);color:#fff;border:2px solid var(--y-btn);border-radius:999px;font-weight:750;box-shadow:none;text-shadow:none;transition:transform .15s,background .15s,box-shadow .15s}
html.theme-gestalt button:not(.g-mode):not(.g-bookmark):not(.g-outline):not(.g-danger):hover,html.theme-gestalt .g-button:hover{background:var(--y-btn-hover);border-color:var(--y-btn-hover);transform:translateY(-2px);box-shadow:0 10px 20px -10px var(--y-btn)}
html.theme-gestalt .g-outline,html.theme-gestalt .g-button.g-ghost,html.theme-gestalt a.g-ghost{background:transparent!important;color:var(--y-ink)!important;border:2px solid currentColor!important;border-radius:999px}
html.theme-gestalt .g-outline:hover{background:var(--y-mint)!important}
html.theme-gestalt :focus-visible{outline:3px solid var(--y-sun);outline-offset:3px}
html.theme-gestalt a{color:var(--y-ink)}
html.theme-gestalt .g-card,html.theme-gestalt .g-soft-panel,html.theme-gestalt .g-cab-sec,html.theme-gestalt .g-category{background:var(--y-card)!important;border:1px solid var(--y-line)!important;border-radius:20px;box-shadow:var(--y-shadow)}
html.theme-gestalt .g-privacy-note{background:var(--y-mint)!important;border-color:var(--y-leaf)!important}
html.theme-gestalt .g-bookmark[aria-pressed=true]{background:var(--y-sun);border-color:var(--y-sun);color:#2f2200}
html.theme-gestalt .g-cab-nav a{background:var(--y-card);border-color:var(--y-line);color:var(--y-ink)}html.theme-gestalt .g-cab-nav a:hover{background:var(--y-mint);border-color:var(--y-leaf)}

/* главный экран: хвойный блок с солнцем и коралловым кольцом (как на yog.su) */
html.theme-gestalt .g-home-hero{background:radial-gradient(circle at 85% 15%,#2a7a5a 0,transparent 45%),radial-gradient(circle at 10% 110%,#1d5c46 0,transparent 55%),var(--y-forest)!important;border-radius:28px!important;color:var(--y-on-dark);position:relative;overflow:hidden;border:0!important;box-shadow:none!important}
html.theme-gestalt .g-home-hero::before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:var(--y-sun);right:-70px;bottom:-90px;opacity:.95;pointer-events:none}
html.theme-gestalt .g-home-hero::after{content:"";position:absolute;width:84px;height:84px;border-radius:50%;border:13px solid var(--y-coral);left:46%;top:-32px;opacity:.9;pointer-events:none}
html.theme-gestalt .g-home-hero>*{position:relative;z-index:1}
html.theme-gestalt .g-hero-copy h1{background:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.03em}
html.theme-gestalt .g-hero-copy h1 em{background:none!important;-webkit-text-fill-color:var(--y-sun)!important;color:var(--y-sun)!important;font-style:italic}
html.theme-gestalt .g-hero-copy p,html.theme-gestalt .g-hero-notice{color:#fdf7e8d9!important}
html.theme-gestalt .g-hero-copy .g-kicker{color:var(--y-sun)!important}
html.theme-gestalt .g-home-hero .g-button,html.theme-gestalt .g-home-hero a.g-button:first-of-type{background:var(--y-sun);border-color:var(--y-sun);color:#2f2200!important}
html.theme-gestalt .g-hero-art{background:#ffffff12!important;border:1px solid #ffffff22!important;box-shadow:none!important}
html.theme-gestalt h1,html.theme-gestalt h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.02em}

/* правки по первому просмотру */
html.theme-gestalt .g-brand-title,html.theme-gestalt[data-mode=dark] .g-brand-title{background:none!important;-webkit-text-fill-color:var(--y-on-dark)!important;color:var(--y-on-dark)!important}
html.theme-gestalt .g-brand-title span{background:none!important;-webkit-text-fill-color:var(--y-sun)!important;color:var(--y-sun)!important}
html.theme-gestalt .g-brand-title small{-webkit-text-fill-color:#fdf7e8aa!important;color:#fdf7e8aa!important}
html.theme-gestalt .g-brand-mark{background:var(--y-sun)!important;background-image:none!important}
html.theme-gestalt .g-brand-mark span{background:none!important;border-color:#3b2a00!important;box-shadow:none!important}
html.theme-gestalt .g-home-hero{padding:clamp(28px,5vw,64px)!important}
html.theme-gestalt .g-home-hero .g-primary,html.theme-gestalt .g-home-hero .g-actions a{background:var(--y-sun)!important;border:2px solid var(--y-sun)!important;color:#2f2200!important;box-shadow:none!important;background-image:none!important;border-radius:999px}
html.theme-gestalt .g-home-hero .g-primary:hover{background:#ffc95c!important;border-color:#ffc95c!important}
html.theme-gestalt .g-primary{background:var(--y-btn);background-image:none!important;border-radius:999px;box-shadow:none!important}
html.theme-gestalt .g-eyebrow{background:#ffffff1f!important;color:var(--y-on-dark)!important;border:1px solid #ffffff33!important}
html.theme-gestalt .g-mode svg,html.theme-gestalt .g-mode span{color:var(--y-on-dark)!important}
html.theme-gestalt .g-section-head h2{color:var(--y-ink)}
html.theme-gestalt[data-mode=dark] .g-section-head h2{color:var(--y-on-dark)}
html.theme-gestalt .g-kicker,html.theme-gestalt[data-mode=dark] .g-kicker{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--y-coral)!important}
html.theme-gestalt .g-hero-copy .g-kicker{-webkit-text-fill-color:currentColor!important;color:var(--y-sun)!important}
html.theme-gestalt .g-home-hero .g-actions a,html.theme-gestalt[data-mode=dark] .g-home-hero .g-actions a{color:#2f2200!important;-webkit-text-fill-color:#2f2200!important;background:var(--y-sun)!important}
html.theme-gestalt .g-home-hero .g-actions a span,html.theme-gestalt .g-home-hero .g-actions a svg{color:#2f2200!important;stroke:#2f2200}
html.theme-gestalt .g-art-quote,html.theme-gestalt .g-hero-art figcaption,html.theme-gestalt .g-hero-art small{color:var(--y-on-dark)!important}
/* подпись «Наблюдать · замечать · выбирать» вынесена ниже светлого овала, чтобы не сливалась с ним */
html.theme-gestalt .g-art-quote{bottom:-38px!important;left:0;right:0;text-align:center;font-size:11.5px!important;color:var(--y-on-dark)!important;z-index:3}
@media (max-width:640px){html.theme-gestalt .g-art-quote{bottom:-34px!important;font-size:10px!important;letter-spacing:.1em}html.theme-gestalt .g-hero-art{margin-bottom:44px!important}}
