/* «Имена Аллаха» — облик «Рассвет» (эскизы № 2186) × две темы (светлая, тёмная).
   Атрибуты на <html>: data-oblik="rassvet" (единственный облик; «Плашки» убраны, № 2212), data-tema="svet|tma". Выбор хранится в браузере (skript.js, скрипт в <head>).
   Шрифты объявлены один раз. */

/* ---------- шрифты (№ 1810: пара эскиза v3 «Ночной свод») ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("shrifty/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("shrifty/geologica.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Reem Kufi"; src: url("shrifty/reem-kufi.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("shrifty/amiri.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* № 2223: Лотус Шами — основной арабский шрифт обычного текста (только арабские буквы; русский и латинский идут своим шрифтом) */
@font-face { font-family: "Lotus Shamy"; src: url("shrifty/lotus-shamy-light.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF; }
@font-face { font-family: "Lotus Shamy"; src: url("shrifty/lotus-shamy-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF; }

/* ---------- знаки: общие ---------- */
:root {
  --polya: clamp(20px, 4vw, 48px);
  --dvizh: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 66px;
}

/* ---------- «Рассвет», светлая — синий и золото (№ 1812, как тёмная): белый #ffffff, голубая дымка #f2f5f9, синий #1d3f66, ночная синева #0d1620, золото #b08a45 ---------- */
[data-oblik="rassvet"] {
  --f-zag: "Cormorant Garamond", "PT Serif", Georgia, serif;   /* крупные заголовки и названия имён */
  --f-ui: "Geologica", "Golos Text", system-ui, sans-serif;      /* меню, кнопки, подписи */
  --f-tekst: "Geologica", "Golos Text", system-ui, sans-serif;   /* основной текст */
  --f-ar: "Lotus Shamy", "Amiri", serif;   /* № 2223 */
  --f-imya: "Reem Kufi", "Noto Kufi Arabic", "Lotus Shamy", "Amiri", sans-serif; /* арабское имя: медальон, указатель, знак */
  --zoloto: #8a6424;          /* медальон и звезда в светлой теме: бронза */
  --zoloto-ar: #7a5519;
  --uzor: .09;
  --shir: 1240px;
  --r: 14px;
  --r-big: 22px;
  --fon: #ffffff;
  --fon-2: #e6edf5;
  --fon-3: #d3deea;
  --zag: #0f1f33;
  --tekst: #1f2c3b;
  --tekst-2: #46525f;
  --akcent: #a8802f;          /* только украшение: черта цитаты, штрихи */
  --akcent-t: #17437a;        /* ссылки и мелкий текст */
  --knopka: #16365c;
  --knopka-2: #0f2745;
  --knopka-tekst: #ffffff;
  --glub: #0d1620;
  --glub-tekst: #ece5d4;
  --glub-tekst-2: #a7b0b4;
  --glub-akcent: #cfa95f;
  --cherta: #a9b8ca;
  --stub-fon: #e6edf5;
  --stub-tekst: #46525f;
  --polosa-pust: rgb(255 255 255 / .16);
  --skrim: rgb(255 255 255 / .62);
  --skrim-0: rgb(255 255 255 / 0);
  --fokus: #17437a;
  --foto-filtr: none;
  color-scheme: light;
}
/* «Рассвет», тёмная — «ночной свод» эскиза v3 (№ 1810): ночная синева #0d1620, латунь #cfa95f, кремовый текст #ece5d4 */
[data-oblik="rassvet"][data-tema="tma"] {
  --fon: #0d1620;
  --fon-2: #132131;
  --fon-3: #1a2b3d;
  --zag: #ece5d4;
  --tekst: #dcd6c8;
  --tekst-2: #a7b0b4;
  --akcent: #cfa95f;
  --akcent-t: #d6b26a;
  --knopka: #cfa95f;
  --knopka-2: #dcbd7c;
  --knopka-tekst: #0d1620;
  --glub: #09111a;
  --glub-tekst: #ece5d4;
  --glub-tekst-2: #a7b0b4;
  --glub-akcent: #cfa95f;
  --cherta: #2a3b4d;
  --stub-fon: #132131;
  --stub-tekst: #a7b0b4;
  --polosa-pust: rgb(236 229 212 / .16);
  --skrim: rgb(13 22 32 / .64);
  --skrim-0: rgb(13 22 32 / 0);
  --fokus: #cfa95f;
  --foto-filtr: brightness(.55) saturate(.8);
  --zoloto: #cfa95f;
  --zoloto-ar: #d9b468;
  --uzor: .11;
  color-scheme: dark;
}

/* ---------- «Плашки»: мята #eaf5e5, зелёный канала #2f7a3a, черта #5aaa4d, хвоя #173f22 ---------- */
/* «Плашки», тёмная: на хвое #173f22 с зелёными плоскостями */

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fon); color: var(--tekst); font: 400 17px/1.7 var(--f-tekst); }
[data-tema="tma"] body { font-weight: 350; }
h1, h2, h3 { font-family: var(--f-zag); color: var(--zag); font-weight: 600; margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--akcent-t); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--knopka-2); }
[data-tema="tma"] a:hover { color: var(--glub-akcent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 8px; transition: none; }
[lang="ar"] { font-family: var(--f-ar); line-height: 1.9; }
/* № 2223: арабский блок — справа налево */
p[lang="ar"], div[lang="ar"], blockquote[lang="ar"], li[lang="ar"], .ar:not(span) { direction: rtl; text-align: right; }
.tekst p span[lang="ar"], .tekst li span[lang="ar"] { font-size: 1.25em; line-height: 1.4; }   /* Лотус мельче рубленого шрифта сайта: в строке чуть крупнее */
.ik { width: 20px; height: 20px; flex: none; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--glub); color: var(--glub-tekst); padding: 8px 14px; border-radius: 8px; z-index: 60; font-family: var(--f-ui); }
.skip:focus-visible { top: 12px; }
.proba { background: #8a5a00; color: #fff; text-align: center; font: .85rem/2 system-ui, sans-serif; }

/* ---------- звёздный медальон (№ 1810, эскиз v3): два квадрата, круг, имя куфи внутри ---------- */
.khatam { position: relative; display: inline-grid; place-items: center; flex: none; aspect-ratio: 1; container-type: inline-size; color: var(--zoloto); }
.khatam svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.khatam svg * { fill: none; stroke: currentColor; stroke-width: var(--khatam-l, 1.2px); vector-effect: non-scaling-stroke; }
.khatam__ar { position: relative; font: 400 var(--ar-r, 30cqi)/1 var(--f-imya); color: var(--zoloto-ar); white-space: nowrap; transform: translateY(-.04em); }
.uzor { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--zoloto); opacity: var(--uzor); pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); }

/* знак сайта: звезда с «Аллах» */
.znak { width: 40px; height: 40px; --khatam-l: 1.1px; }
.znak .khatam__ar { font-weight: 600; }

/* ---------- шапка ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: var(--fon); border-bottom: 1px solid var(--cherta); }
.bar__in { max-width: var(--shir); margin: 0 auto; padding: 10px var(--polya); display: flex; align-items: center; gap: 24px; min-height: var(--bar-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--zag); font: 600 23px/1.05 var(--f-zag); letter-spacing: 0; white-space: nowrap; }
.wordmark:hover { color: var(--zag); }
.wordmark small { display: block; font-weight: 450; font-size: 13px; letter-spacing: 0; color: var(--tekst-2); }
.bar__nav { display: flex; gap: 22px; margin-right: auto; }
.bar__nav a { color: var(--zag); text-decoration: none; font: 400 15px/1 var(--f-ui); padding: 14px 0; }
.bar__nav a:hover { color: var(--akcent-t); }
.bar__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bar__nav + .bar__tools { margin-left: 0; }
.kz { display: inline-grid; place-items: center; grid-auto-flow: column; gap: 8px; min-width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1.5px solid var(--cherta); background: transparent; color: var(--zag); font: 650 14px/1 var(--f-ui); cursor: pointer; transition: background-color .2s var(--dvizh), border-color .2s var(--dvizh); }
.kz:hover { background: var(--fon-2); border-color: var(--akcent-t); }
.kz__t { display: none; }
.kz--tema .ik--solnce, [data-tema="tma"] .kz--tema .ik--luna { display: none; }
[data-tema="tma"] .kz--tema .ik--solnce { display: block; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--knopka); color: var(--knopka-tekst); text-decoration: none; font: 700 15px/1 var(--f-ui); padding: 0 18px; height: 44px; border-radius: 999px; transition: background-color .2s var(--dvizh); }
.pill:hover { background: var(--knopka-2); color: var(--knopka-tekst); }
.pill .ik { width: 18px; height: 18px; }
.menu { display: none; position: static; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--fon-2); }
.menu__list { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100svh - 80px); overflow: auto; background: var(--fon); border-bottom: 1px solid var(--cherta); padding: 8px var(--polya) 24px; box-shadow: 0 18px 30px -18px rgb(0 0 0 / .35); }
.menu__list nav { display: grid; }
.menu__list a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; color: var(--zag); text-decoration: none; font: 400 17px/1.3 var(--f-ui); border-bottom: 1px solid var(--cherta); }
.menu__zag { font: 700 13px/1 var(--f-ui); color: var(--akcent-t); margin: 18px 0 4px; }
.menu__list ol { list-style: none; margin: 0; padding: 0; }
.menu__list .n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fon-2); color: var(--akcent-t); font: 700 14px/1 var(--f-ui); }

/* ---------- кнопки ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r); background: var(--knopka); color: var(--knopka-tekst); text-decoration: none; font: 700 17px/1 var(--f-ui); transition: background-color .2s var(--dvizh), transform .15s var(--dvizh); }
.btn:hover { background: var(--knopka-2); color: var(--knopka-tekst); }
.btn:active { transform: scale(.98); }
.btn--light { background: var(--fon); color: var(--zag); box-shadow: inset 0 0 0 1px var(--cherta); }
.btn--light:hover { background: var(--fon-2); color: var(--zag); }
.btn--mint { background: var(--glub-akcent); color: var(--glub); }
.btn--mint:hover { background: var(--glub-tekst); color: var(--glub); }
.btn--wide { display: flex; width: 100%; min-height: 64px; font-size: 20px; margin-top: 40px; text-align: center; line-height: 1.25; padding: 12px 22px; }
.btn .ik { width: 18px; height: 18px; }

/* ---------- первый экран ---------- */
.hero { position: relative; display: grid; overflow: clip; background: var(--fon-2); }
.hero__foto { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; filter: var(--foto-filtr); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__in { position: relative; z-index: 2; animation: vshod 1.1s var(--dvizh) both; }
.hero h1 { overflow-wrap: normal; }
.hero__lede { color: var(--zag); }
[data-tema="tma"] .hero__lede { color: var(--tekst); }
@keyframes vshod { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* «Рассвет»: картина во всю ширину, знак, круглая стрелка «Читать» */
[data-oblik="rassvet"] .hero { min-height: min(92svh, 900px); place-items: start center; }
[data-oblik="rassvet"] .hero__foto { background-image: url("kartinki/hero-holmy-1600.webp"); background-position: 50% 70%; }
[data-oblik="rassvet"] .hero::before { inset: 0 0 30% 0; background: linear-gradient(to bottom, var(--skrim) 40%, var(--skrim-0)); }
[data-oblik="rassvet"][data-tema="tma"] .hero__foto { background-image: url("kartinki/hero-vecher-1600.webp"); background-position: 50% 60%; filter: none; } /* № 2209: вечерняя картина */
[data-oblik="rassvet"][data-tema="tma"] .hero::before { background: linear-gradient(to bottom, rgb(13 22 32 / .40) 40%, rgb(13 22 32 / 0)); }
[data-oblik="rassvet"][data-tema="tma"] .hero h1, [data-oblik="rassvet"][data-tema="tma"] .hero__lede { text-shadow: 0 1px 14px rgb(5 10 18 / .72), 0 0 2px rgb(5 10 18 / .5); }
[data-oblik="rassvet"] .hero__in { text-align: center; padding: clamp(56px, 11vh, 120px) var(--polya) 0; max-width: 980px; }
.pole-zvezdy { position: relative; display: grid; place-items: center; width: min(340px, 80vw); aspect-ratio: 1.6; margin: -40px auto -18px; }
.pole-zvezdy .uzor { opacity: calc(var(--uzor) * 1.6); }
[data-oblik="rassvet"] .znak--hero { width: 128px; height: 128px; --khatam-l: 1.4px; }
[data-tema="tma"] .znak--hero { filter: drop-shadow(0 0 14px rgb(207 169 95 / .28)); }
[data-oblik="rassvet"] .hero h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1; letter-spacing: -.01em; font-weight: 600; }
[data-oblik="rassvet"] .hero__lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; margin: 18px auto 30px; }
[data-oblik="rassvet"] .hero .actions { justify-content: center; }
.hero__vniz { position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: #fff; text-decoration: none; font: 700 14px/1 var(--f-ui); text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.hero__vniz .ik { width: 48px; height: 48px; padding: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; background: rgb(13 22 32 / .28); }
.hero__vniz:hover { color: #fff; }

/* «Плашки»: скруглённая картина — лист в свете, текст слева */
@media (min-width: 1700px) {
  [data-oblik="rassvet"] .hero__foto { background-image: url("kartinki/hero-holmy-2400.webp"); }
  [data-oblik="rassvet"][data-tema="tma"] .hero__foto { background-image: url("kartinki/hero-vecher-2400.webp"); }
}
@media (max-width: 900px) {
  [data-oblik="rassvet"] .hero__foto { background-image: url("kartinki/hero-holmy-900.webp"); }
  [data-oblik="rassvet"][data-tema="tma"] .hero__foto { background-image: url("kartinki/hero-vecher-900.webp"); }
}

/* ---------- разделы ---------- */
.sec { max-width: var(--shir); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--polya) 0; }
.sec__head { max-width: 640px; margin-bottom: 40px; }
.sec h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.01em; }
.sec__head p { margin-top: 14px; color: var(--tekst-2); font-family: var(--f-ui); font-size: 18px; }
.shtrihi { display: flex; gap: 6px; }
.shtrihi i { width: 36px; height: 4px; border-radius: 2px; background: var(--cherta); }
.shtrihi i.on { background: var(--akcent-t); }
.sec__head .shtrihi { margin-top: 22px; }
.skoro, .skoro a { color: var(--tekst-2); }
small { font: 400 13px/1.3 var(--f-ui); color: var(--tekst-2); }

/* «С чего начать»: Рассвет — путь строками, Плашки — зелёная плоскость с плитками */
.nachalo__in { display: grid; gap: 48px; align-items: start; }
.shagi { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.shagi li { display: flex; gap: 18px; align-items: center; }
.shag__n { display: block; font: 700 14px/1.2 var(--f-ui); margin-bottom: 4px; }
.shagi a, .shag__t { font: 600 clamp(22px, 2vw, 28px)/1.15 var(--f-zag); text-decoration: none; }
.shagi a:hover { text-decoration: underline; }
[data-oblik="rassvet"] .nachalo__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
[data-oblik="rassvet"] .nachalo__in .sec__head { margin-bottom: 0; }
[data-oblik="rassvet"] .shagi li { padding: 22px 24px; border-radius: var(--r-big); background: var(--fon-2); }
[data-oblik="rassvet"] .shagi li:first-child { background: var(--glub); }
[data-oblik="rassvet"] .shagi .shag__n { color: var(--akcent-t); }
[data-oblik="rassvet"] .shagi a, [data-oblik="rassvet"] .shag__t { color: var(--zag); }
[data-oblik="rassvet"] .shagi li:first-child .shag__n { color: var(--glub-akcent); }
[data-oblik="rassvet"] .shagi li:first-child a, [data-oblik="rassvet"] .shagi li:first-child .shag__t { color: var(--glub-tekst); }
[data-oblik="rassvet"] .shagi li:first-child small { color: var(--glub-tekst-2); }
[data-oblik="rassvet"] .shagi li:first-child a:focus-visible { outline-color: var(--glub-akcent); }
.krug { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--akcent-t); box-shadow: inset 0 0 0 1.5px var(--akcent-t); flex: none; }
[data-oblik="rassvet"] .shagi li:first-child .krug { color: var(--glub-akcent); box-shadow: inset 0 0 0 1.5px var(--glub-akcent); }

/* части */
.chasti { list-style: none; margin: 0; padding: 0; }
.chasti li { display: flex; gap: 18px; }
.chasti a { color: var(--zag); text-decoration: none; font: 600 24px/1.2 var(--f-zag); }
.chasti a:hover { color: var(--akcent-t); }
.chasti p { color: var(--tekst-2); font-size: 16px; margin-top: 4px; }
.chasti small { display: inline-block; margin-top: 8px; }
.ch__n { font: 700 15px/1 var(--f-ui); color: var(--akcent-t); }
[data-oblik="rassvet"] .chasti { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
[data-oblik="rassvet"] .chasti li { padding: 20px 0; border-top: 1px solid var(--cherta); }
[data-oblik="rassvet"] .ch__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fon-2); flex: none; }
[data-oblik="rassvet"] .chasti .est .ch__n { background: var(--knopka); color: var(--knopka-tekst); }

/* указатель имён */
.ukaz { max-width: none; background: var(--fon-2); padding: 0; margin-top: clamp(64px, 8vw, 112px); }
.ukaz__in { max-width: var(--shir); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--polya); }
.gr h3 { font: 700 15px/1.3 var(--f-ui); color: var(--akcent-t); margin-bottom: 8px; }
.gr h3 a { color: inherit; }
.gr ul { list-style: none; margin: 0; padding: 0; }
.gr li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 18px/1.4 var(--f-ui); color: var(--zag); }
.gr li [lang="ar"] { font: 400 23px/1.4 var(--f-imya); color: var(--zoloto-ar); }
[data-oblik="rassvet"] .ukazatel { columns: 3 280px; column-gap: 48px; }
[data-oblik="rassvet"] .gr { break-inside: avoid; margin-bottom: 34px; }
[data-oblik="rassvet"] .gr li { padding: 6px 0; border-bottom: 1px solid var(--cherta); }
[data-oblik="rassvet"] .gr--open h3 { font-size: 16px; }
.gr li > span:first-child { font-family: var(--f-zag); font-weight: 600; font-size: 20px; }
/* № 2210: ровные плитки — 4 колонки, все ряды одной высоты (по самой высокой плитке), первая группа («Аллах») — двойной ширины, чтобы ряды были полными */

/* ---------- аудио и видео (место под проигрыватель) ---------- */
.audio__in { display: grid; gap: 56px; align-items: center; }
.audio__tekst p { margin: 16px 0 24px; }
.audio__knopka { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--glub-tekst-2); color: var(--glub); flex: none; }
.audio__knopka .ik { width: 26px; height: 26px; }
.aud { display: flex; gap: 18px; align-items: center; }
.aud__k { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--glub-tekst-2); color: var(--glub); }
.aud__k .ik { width: 26px; height: 26px; }
.aud__name { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--f-zag); }
.aud__pod { font: 400 14px/1.4 var(--f-ui); margin-top: 2px; }
.aud__polosa { height: 4px; border-radius: 2px; background: var(--polosa-pust); margin-top: 14px; width: min(240px, 100%); }
.aud__polosa i { display: block; width: 4%; height: 100%; border-radius: 2px; background: var(--glub-akcent); }
.video { aspect-ratio: 16 / 8; border-radius: var(--r-big); display: grid; place-content: center; justify-items: center; gap: 14px; font: 600 16px/1.3 var(--f-ui); }
.video__knopka { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--salat); color: var(--glub); }
.video__knopka .ik { width: 30px; height: 30px; }
[data-oblik="rassvet"] .audio__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); direction: ltr; }
[data-oblik="rassvet"] .audio__plashki { order: -1; background: var(--glub); color: var(--glub-tekst); border-radius: var(--r-big); padding: 32px; }
[data-oblik="rassvet"] .video { display: none; }
[data-oblik="rassvet"] .aud__pod { color: var(--glub-akcent); font-weight: 700; }
[data-oblik="rassvet"] .aud__name { color: var(--glub-tekst); }
[data-oblik="rassvet"] .audio__tekst .btn { background: transparent; color: var(--akcent-t); padding: 0; min-height: 44px; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- канал ---------- */
.kanal { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; padding-bottom: clamp(72px, 9vw, 130px); }
.kanal h2 { font-size: clamp(30px, 3.1vw, 42px); }
.cit { margin: 0; padding: 22px 26px; border-radius: var(--r); background: var(--fon-2); border-left: 5px solid var(--akcent); }
.cit p { font-size: 19px; line-height: 1.55; color: var(--zag); }
.cit footer { margin-top: 12px; font: 400 14px/1.4 var(--f-ui); color: var(--tekst-2); }
.kanal__p { margin: 14px 0 24px; }
[data-oblik="rassvet"] .kanal { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
[data-oblik="rassvet"] .kanal__osn { display: contents; }
[data-oblik="rassvet"] .kanal h2, [data-oblik="rassvet"] .kanal__p, [data-oblik="rassvet"] .kanal .btn { grid-column: 2; justify-self: start; }
[data-oblik="rassvet"] .kanal { grid-template-rows: 1fr auto auto auto 1fr; row-gap: 0; }
[data-oblik="rassvet"] .kanal h2 { grid-row: 2; }
[data-oblik="rassvet"] .kanal__p { grid-row: 3; }
[data-oblik="rassvet"] .kanal .btn { grid-row: 4; }
[data-oblik="rassvet"] .kanal .cit { grid-column: 1; grid-row: 1 / -1; padding: 30px 34px; }
[data-oblik="rassvet"] .kanal .cit p { font: 500 clamp(23px, 2.3vw, 31px)/1.4 var(--f-zag); }

/* ---------- подвал ---------- */
.foot { background: var(--glub); color: var(--glub-tekst-2); }
.foot__in { max-width: var(--shir); margin: 0 auto; padding: 56px var(--polya) 48px; display: grid; gap: 18px; }
.foot__plashka { display: flex; gap: 16px; align-items: center; }
.znak--foot { width: 52px; height: 52px; color: var(--glub-akcent); }
.znak--foot .khatam__ar { color: var(--glub-akcent); }
.foot__name { font: 600 23px/1.2 var(--f-zag); color: var(--glub-tekst); margin-bottom: 4px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 8px 0 12px; }
.foot__nav a { color: var(--glub-tekst); text-decoration: none; font: 400 16px/1 var(--f-ui); padding: 14px 0; }
.foot__nav a:hover { color: var(--glub-akcent); }
.foot__ktg { font-size: 15px; max-width: 60em; }
.foot a { color: var(--glub-akcent); }
.foot a:focus-visible { outline-color: var(--glub-akcent); }
.foot__nav a { color: var(--glub-tekst); }
[data-oblik="rassvet"] .foot__plashka > div p:last-child { font-size: 15px; max-width: 60em; }

/* ---------- 404, список части ---------- */
.sec--404 { text-align: left; padding-bottom: 120px; min-height: 60svh; display: grid; align-content: center; gap: 18px; justify-items: start; }
.n404 { font: 600 clamp(96px, 18vw, 220px)/.9 var(--f-zag); color: var(--akcent); letter-spacing: -.04em; margin: 0; }
.sec--404 h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.lede404 { color: var(--tekst-2); max-width: 34em; font-family: var(--f-ui); font-size: 19px; }
.kroshki { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 400 14px/1.4 var(--f-ui); color: var(--tekst-2); align-items: center; }
.kroshki a { color: var(--akcent-t); }
.shapka-chasti { background: var(--fon-2); }
.shapka-chasti__in { max-width: var(--shir); margin: 0 auto; padding: 28px var(--polya) clamp(36px, 5vw, 64px); display: grid; gap: 18px; }
.shapka-chasti h1 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.01em; max-width: 18em; }
.shapka-chasti__op { color: var(--tekst-2); font: 400 19px/1.5 var(--f-ui); max-width: 34em; }
.sec--spisok { padding-bottom: clamp(64px, 8vw, 120px); padding-top: clamp(32px, 5vw, 56px); }
.spisok-stranic { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.spisok-stranic li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--cherta); font: 400 19px/1.35 var(--f-ui); }
.spisok-stranic .n { font: 700 15px/1 var(--f-ui); color: var(--akcent-t); min-width: 3em; font-variant-numeric: tabular-nums; }
.spisok-stranic a { color: var(--zag); font-weight: 700; text-decoration: none; }
.spisok-stranic a:hover { color: var(--akcent-t); text-decoration: underline; }

/* ---------- страница имени (часть 8): медальон над узором, по эскизу v3 ---------- */
.imya-hero { position: relative; overflow: clip; background: var(--fon); border-bottom: 1px solid var(--cherta); text-align: center; }
.imya-hero__in { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 28px var(--polya) clamp(40px, 6vw, 72px); display: grid; justify-items: center; }
.imya-hero .kroshki { justify-content: center; margin-bottom: clamp(20px, 3vw, 36px); }
.khatam--big { width: min(22rem, 76vw); --khatam-l: 1.3px; }
[data-tema="tma"] .khatam--big { filter: drop-shadow(0 0 22px rgb(207 169 95 / .18)); }
.imya-hero h1 { margin-top: clamp(18px, 3vw, 30px); font-weight: 500; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: -.01em; }
.imya-hero__smysl { margin-top: 10px; font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--f-zag); color: var(--tekst-2); }
.imya-ryad__zag { margin-top: 30px; font: 400 14px/1.4 var(--f-ui); color: var(--tekst-2); }
.imya-ryad { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.imya-ryad li { display: grid; justify-items: center; gap: 8px; width: 148px; padding: 18px 10px 14px; border-radius: var(--r); background: var(--fon-2); font: 600 20px/1.2 var(--f-zag); color: var(--zag); }
.khatam--mal { width: 84px; --khatam-l: 1px; }
.imya-ryad--vse { margin-top: 28px; }
.imya-ryad--vse li { width: 190px; }
.imya-ryad--vse .khatam--mal { width: 120px; }

/* ---------- страница (статья) ---------- */
.statya { max-width: var(--shir); margin: 0 auto; padding: 40px var(--polya) 96px; }
.st-head h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.01em; margin: 16px 0 20px; }
.st-head { margin-bottom: 28px; }
.st-put { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.st-put .shtrihi { flex-wrap: wrap; row-gap: 4px; }
.st-put .shtrihi i { width: 30px; }
.st-put .shtrihi i.gotova { background: var(--akcent); opacity: .55; }
.st-put .shtrihi i.on { background: linear-gradient(90deg, var(--akcent-t) max(var(--hod, 0%), 16%), var(--cherta) max(var(--hod, 0%), 16%)); }
.st-put__t { font: 700 14px/1 var(--f-ui); color: var(--akcent-t); }
.slushat { display: flex; gap: 18px; align-items: center; padding: 16px 20px; border-radius: var(--r-big); background: var(--fon-2); margin: 26px 0; }
.slushat .audio__knopka { width: 52px; height: 52px; background: var(--fon-3); color: var(--akcent-t); }
.slushat__name { font: 700 17px/1.3 var(--f-ui); color: var(--zag); }
.slushat__pod { font: 400 14px/1.4 var(--f-ui); color: var(--tekst-2); }
.pleer { background: var(--glub); color: var(--glub-tekst); border-radius: var(--r-big); padding: 22px; }
.pleer__metka { font: 700 13px/1.3 var(--f-ui); color: var(--glub-akcent); }
.pleer__name { font: 600 21px/1.25 var(--f-zag); margin-top: 8px; }
.pleer__polosa { height: 4px; border-radius: 2px; background: var(--polosa-pust); margin: 22px 0; }
.pleer__polosa i { display: block; width: 6%; height: 100%; border-radius: 2px; background: var(--glub-akcent); }
.pleer__skoro { display: flex; align-items: center; gap: 14px; font: 700 16px/1 var(--f-ui); color: var(--glub-tekst-2); }
.pleer .audio__knopka { width: 52px; height: 52px; }
.razdely, .toc-mob, .sosedi { display: none; }

.tekst { hyphens: auto; -webkit-hyphens: auto; }
.tekst > p, .tekst > ul, .tekst > ol { margin: 0 0 16px; }
.tekst ul, .tekst ol { padding-left: 1.4em; }
.tekst li { margin-bottom: 6px; }
.tekst h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; margin: 52px 0 16px; }
.tekst h3 { font-size: 23px; margin: 26px 0 10px; }
.tekst > h2:first-child { margin-top: 8px; }
.tekst .ar { font-size: 1.5em; line-height: 1.9; text-align: right; margin: 0 0 16px; }
.citata { margin: 22px 0; padding: 22px 26px; border-radius: var(--r); background: var(--fon-2); border-left: 4px solid var(--akcent); }
.citata p { margin: 0; font: 500 23px/1.45 var(--f-zag); color: var(--zag); }
.citata cite { display: block; margin-top: 12px; font: 400 14px/1.4 var(--f-ui); font-style: normal; color: var(--tekst-2); }
.citata[data-rod]::before { display: block; margin-bottom: 8px; font: 700 13px/1 var(--f-ui); color: var(--akcent-t); }
.citata[data-rod="koran"]::before { content: "Коран"; }
.citata[data-rod="hadis"]::before { content: "Хадис"; }
.citata[data-rod="alim"]::before { content: "Слова учёного"; }
.citata [lang="ar"] { font-style: normal; font-size: 1.2em; }
sup.snoska { line-height: 0; }
sup.snoska a { text-decoration: none; font: 700 .75em/1 var(--f-ui); padding: 0 1px; }
.snoski-cherta { border: 0; border-top: 1px solid var(--cherta); margin: 56px 0 18px; }
.snoski-zag { font: 700 16px/1.3 var(--f-ui); color: var(--zag); margin-bottom: 8px; }
.snoski { list-style: none; padding: 0 !important; margin: 0; font: 400 15px/1.5 var(--f-ui); color: var(--tekst-2); }
.snoski li { padding: 4px 0; }

.plody { margin: 56px 0 8px; border-radius: var(--r-big); background: var(--fon-2); }
.plody__in { padding: 8px 32px 28px; }
.plody h2 { margin-top: 28px; }
.plody .citata { background: var(--fon); }

.dalee ol { list-style: none; margin: 26px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--cherta); display: grid; gap: 14px; font: 400 17px/1.3 var(--f-ui); color: var(--zag); }
.dalee li { position: relative; }
.dalee li::before { content: ""; position: absolute; left: -29px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--fon); box-shadow: inset 0 0 0 2px var(--cherta); }
.dalee li.on::before { background: var(--akcent-t); box-shadow: none; }
.dalee li span { display: block; font-size: 13px; color: var(--tekst-2); }
.nazad { display: inline-block; margin-top: 22px; font: 400 15px/1.4 var(--f-ui); }

/* «Рассвет»: три колонки, как в статье «Кто твой Господь» — проигрыватель слева, текст, оглавление справа */
[data-oblik="rassvet"] .statya { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 680px) minmax(0, 250px); gap: 48px; justify-content: center; align-items: start; }
[data-oblik="rassvet"] .statya__levo, [data-oblik="rassvet"] .statya__pravo { position: sticky; top: calc(var(--bar-h) + 24px); }
[data-oblik="rassvet"] .slushat { display: none; }
.naeto h2 { font: 700 16px/1.3 var(--f-ui); margin-bottom: 10px; }
.naeto ol { list-style: none; margin: 0 0 32px; padding: 0; font: 400 15px/1.35 var(--f-ui); }
.naeto li { padding: 7px 0 7px 14px; border-left: 2px solid var(--cherta); }
.naeto a { color: var(--zag); text-decoration: none; }
.naeto a:hover { color: var(--akcent-t); }
.naeto li:has(a:target), .naeto li.on { border-left-color: var(--akcent-t); }

/* «Плашки»: зелёная голова, мятные чипы разделов, текст по центру, соседи плитками */
.sosed { display: grid; gap: 4px; align-content: end; padding: 22px 24px; border-radius: var(--r-big); background: var(--fon-2); color: var(--zag); text-decoration: none; font: 600 23px/1.2 var(--f-zag); transition: background-color .2s var(--dvizh); }
.sosed span { font-size: 14px; font-weight: 500; color: var(--tekst-2); }
.sosed:hover { background: var(--fon-3); color: var(--zag); }
.sosed--next { background: var(--plosk); color: var(--plosk-tekst); font-size: 24px; }
.sosed--next span { color: var(--plosk-tekst-2); }
.sosed--next:hover { background: var(--plosk-2); color: var(--plosk-tekst); }
.sosed:focus-visible { outline-color: var(--fokus); }

/* ---------- адаптив ---------- */
@media (min-width: 1281px) {
}
@media (max-width: 1180px) {
  .bar__nav { display: none; }
  .bar__tools { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 1100px) {
  [data-oblik="rassvet"] .statya { grid-template-columns: minmax(0, 680px) minmax(0, 240px); }
  [data-oblik="rassvet"] .statya__levo { display: none; }
  [data-oblik="rassvet"] .slushat { display: flex; }
}
@media (max-width: 900px) {
  .pill { display: none; }
  .nachalo__in, [data-oblik="rassvet"] .nachalo__in, .audio__in, [data-oblik="rassvet"] .audio__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  [data-oblik="rassvet"] .nachalo__in .sec__head { margin-bottom: 0; }
  [data-oblik="rassvet"] .chasti { grid-template-columns: minmax(0, 1fr); }
  [data-oblik="rassvet"] .audio__plashki { order: 0; }
  [data-oblik="rassvet"] .statya { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  [data-oblik="rassvet"] .statya__pravo { display: none; }
  [data-oblik="rassvet"] .toc-mob { display: block; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--r); background: var(--fon-2); font: 400 16px/1.4 var(--f-ui); }
  .toc-mob summary { font-weight: 700; color: var(--zag); cursor: pointer; min-height: 28px; }
  .toc-mob ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
  .toc-mob a { color: var(--zag); }
  [data-oblik="rassvet"] .kanal { grid-template-columns: minmax(0, 1fr); }
  [data-oblik="rassvet"] .kanal h2, [data-oblik="rassvet"] .kanal__p, [data-oblik="rassvet"] .kanal .btn, [data-oblik="rassvet"] .kanal .cit { grid-column: 1; grid-row: auto; }
  [data-oblik="rassvet"] .kanal { grid-template-rows: none; row-gap: 18px; }
  [data-oblik="rassvet"] .kanal .cit { order: 3; margin-top: 6px; }
  [data-oblik="rassvet"] .kanal .btn { order: 4; }
  .plody__in { padding: 4px 20px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wordmark { font-size: 17px; }
  .znak { width: 36px; height: 36px; }
  .hero__vniz { bottom: 18px; }
  [data-oblik="rassvet"] .hero { min-height: 720px; }
  [data-oblik="rassvet"] .hero__foto { background-position: 62% 100%; }
  [data-oblik="rassvet"] .znak--hero { width: 104px; height: 104px; }
  .pole-zvezdy { margin-top: -28px; }
  .actions .btn { width: 100%; }
  [data-oblik="rassvet"] .ukazatel { columns: 1; }
  .shagi li { padding: 18px !important; }
  .cit { padding: 18px 20px; }
  [data-oblik="rassvet"] .kanal .cit { padding: 22px; }
  [data-oblik="rassvet"] .audio__plashki { padding: 24px; }
  .spisok-stranic li { flex-wrap: wrap; gap: 4px 12px; font-size: 17px; }
  .spisok-stranic .n { flex: 0 0 100%; min-width: 0; }
  .tekst h2 { font-size: 29px; }
  .btn--wide { font-size: 18px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__in { animation: none; }
  .btn, .pill, .kz, .sosed { transition: none; }
}

/* № 1811: узор-гирих (эскиз v3) — в подвале, шапке части и «Плодах», в светлой и тёмной теме */
.foot { position: relative; overflow: clip; isolation: isolate; }
.foot__in { position: relative; z-index: 1; }
.foot .uzor { color: var(--glub-akcent); opacity: calc(var(--uzor) * .9); }
.uzor--polosa { -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.shapka-chasti { position: relative; overflow: clip; isolation: isolate; }
.shapka-chasti__in { position: relative; z-index: 1; }
.plody { position: relative; overflow: clip; isolation: isolate; }
.plody__in { position: relative; z-index: 1; }
.plody .uzor { opacity: calc(var(--uzor) * .85); -webkit-mask-image: none; mask-image: none; }
[data-tema="svet"] .foot .uzor { opacity: .16; }

/* № 1815: первый экран — тёмный космос в обеих темах, три картины сменяются сами каждые 5 с,
   плавный переход и медленное движение (наезд и сдвиг). Остров ночной палитры — по эскизам № 1814. */
[data-oblik="rassvet"] .hero {
  --zag: #ece5d4; --tekst: #dcd6c8; --tekst-2: #a7b0b4;
  --knopka: #cfa95f; --knopka-2: #dcbd7c; --knopka-tekst: #0d1620;
  --zoloto: #cfa95f; --zoloto-ar: #d9b468; --fokus: #cfa95f; --uzor: .11; --fon-2: #0d1620;
  color-scheme: dark; background: #0d1620;
}
.hero__smena { position: absolute; inset: 0; overflow: clip; }
[data-oblik="rassvet"] .hero__smena .hero__foto, [data-oblik="rassvet"][data-tema="tma"] .hero__smena .hero__foto {
  filter: none; opacity: 0; transform-origin: 50% 70%;
  transition: opacity 1.6s ease-in-out;
  animation: kosmos-plyvet 16s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.hero .hero__smena .hero__foto.is-on { opacity: 1 !important; }
.hero__foto--1 { background-image: url("kartinki/hero-kosmos-1-fon-1600.webp") !important; background-position: 50% 100% !important; }
.hero__foto--2 { background-image: url("kartinki/hero-kosmos-2-1600.webp") !important; background-position: 50% 100% !important; animation-name: kosmos-plyvet-2 !important; }
.hero__foto--3 { background-image: url("kartinki/hero-kosmos-3-1600.webp") !important; background-position: 50% 70% !important; animation-name: kosmos-plyvet-3 !important; }
@media (min-width: 1700px) {
  .hero__foto--1 { background-image: url("kartinki/hero-kosmos-1-fon-2400.webp") !important; }
  .hero__foto--2 { background-image: url("kartinki/hero-kosmos-2-2400.webp") !important; }
  .hero__foto--3 { background-image: url("kartinki/hero-kosmos-3-2400.webp") !important; }
}
@media (max-width: 600px) {
  .hero__foto--1 { background-image: url("kartinki/hero-kosmos-1-fon-900.webp") !important; }
  .hero__foto--2 { background-image: url("kartinki/hero-kosmos-2-900.webp") !important; background-position: 30% 100% !important; }
  .hero__foto--3 { background-image: url("kartinki/hero-kosmos-3-900.webp") !important; }
}
@keyframes kosmos-plyvet   { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes kosmos-plyvet-2 { from { transform: scale(1.12) translate3d(1.5%, 0, 0) rotate(-.6deg); } to { transform: scale(1.03) translate3d(-1%, -1%, 0) rotate(.6deg); } }
@keyframes kosmos-plyvet-3 { from { transform: scale(1.05) translate3d(-1%, 1%, 0); } to { transform: scale(1.15) translate3d(1.5%, -1%, 0); } }
[data-oblik="rassvet"] .hero::before, [data-oblik="rassvet"][data-tema="tma"] .hero::before {
  inset: 0; background: radial-gradient(ellipse 74% 62% at 50% 38%, rgb(9 15 24 / .62), rgb(9 15 24 / 0) 74%),
    linear-gradient(to bottom, rgb(9 15 24 / .40), rgb(9 15 24 / 0) 48%, rgb(9 15 24 / 0) 70%, rgb(9 15 24 / .50));
}
[data-oblik="rassvet"] .hero h1, [data-oblik="rassvet"] .hero__lede { color: var(--zag); text-shadow: 0 1px 14px rgb(5 10 18 / .6), 0 0 2px rgb(5 10 18 / .45); }
[data-oblik="rassvet"] .znak--hero { filter: drop-shadow(0 0 14px rgb(207 169 95 / .28)); }
[data-oblik="rassvet"] .hero .btn--light { background: rgb(13 22 32 / .8); color: #ece5d4; box-shadow: inset 0 0 0 1.5px rgb(236 229 212 / .62); }
[data-oblik="rassvet"] .hero .btn--light:hover { background: rgb(236 229 212 / .14); color: #ece5d4; }
[data-oblik="rassvet"] .hero__vniz span { padding: 6px 12px; border-radius: 999px; background: rgb(9 15 24 / .74); }
[data-oblik="rassvet"] .hero__vniz .ik { background: rgb(9 15 24 / .55); }
/* точки смены картин */
.hero__tochki { position: absolute; z-index: 3; right: clamp(16px, 3vw, 36px); bottom: 34px; display: flex; gap: 10px; }
.hero__tochki button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgb(236 229 212 / .35); cursor: pointer; transition: background .3s, transform .3s; }
.hero__tochki button[aria-current="true"] { background: #cfa95f; transform: scale(1.25); }
.hero__tochki button:focus-visible { outline: 2px solid #cfa95f; outline-offset: 3px; }
@media (max-width: 600px) { .hero__tochki { right: 18px; bottom: 44px; gap: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .hero__smena .hero__foto { animation: none !important; transform: none; transition-duration: .6s; }
}

/* № 1816: галактика (картина 1) вращается в своей плоскости, звёзды картины 3 сияют.
   .kadr повторяет «cover» фона картины (те же пропорции и точка привязки), поэтому слои ложатся точно на рисунок. */
.hero__foto--1, .hero__foto--3 { container-type: size; }
.kadr { position: absolute; pointer-events: none; }
.kadr--1 { /* картина 2752×1259, привязка 50% 100% */
  --kw: max(100cqw, calc(100cqh * 2.18586)); --kh: max(100cqh, calc(100cqw * .45749));
  width: var(--kw); height: var(--kh); left: calc((100cqw - var(--kw)) * .5); top: calc(100cqh - var(--kh));
}
.kadr--3 { /* картина 2752×1536, привязка 50% 70% */
  --kw: max(100cqw, calc(100cqh * 1.79167)); --kh: max(100cqh, calc(100cqw * .55814));
  width: var(--kw); height: var(--kh); left: calc((100cqw - var(--kw)) * .5); top: calc((100cqh - var(--kh)) * .7);
}
/* диск галактики снят «лицом» и сжат обратно под наклон рисунка: поворот 6°, сжатие 0,27 */
.galaktika { position: absolute; left: -4.07%; width: 109.01%; aspect-ratio: 1; top: 88.32%;
  transform: translateY(-50%) rotate(6deg) scaleY(.27); }
.galaktika__disk { display: block; width: 100%; height: 100%; animation: galaktika-vrashchenie 75s linear infinite; will-change: transform; }
@keyframes galaktika-vrashchenie { to { transform: rotate(360deg); } }
/* сияние звёзд: мягкий ореол и четыре луча, у каждой звезды своё время */
.siyanie { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * clamp(30px, 3.6vw, 62px)); aspect-ratio: 1;
  translate: -50% -50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgb(255 247 226 / .95) 0 5%, rgb(242 205 128 / .5) 13%, rgb(207 169 95 / .14) 30%, transparent 52%);
  animation: siyanie 3.4s ease-in-out infinite; animation-delay: calc(var(--z) * -1); }
.siyanie::before, .siyanie::after { content: ""; position: absolute; left: 0; top: calc(50% - 1px); width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgb(255 240 205 / .85) 50%, transparent); }
.siyanie::after { rotate: 90deg; }
@keyframes siyanie {
  0%, 100% { opacity: .3; transform: scale(.65) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .galaktika__disk, .siyanie { animation: none; }
}

/* ---------- № 1842: пробные связки шрифтов. Куфи (--f-imya) не меняется; А (Cormorant + Geologica) — по умолчанию, сохранена.
   Включение: адрес ?svyazka=b…f (запоминается), ?svyazka=a — вернуть. Шрифт качается, только когда связка включена. ---------- */
@font-face { font-family: "Playfair Display"; src: url("shrifty/svyazki/playfair.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Lora"; src: url("shrifty/svyazki/lora.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Literata"; src: url("shrifty/svyazki/literata.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Forum"; src: url("shrifty/svyazki/forum.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("shrifty/svyazki/oldstandard.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("shrifty/svyazki/oldstandard-bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("shrifty/svyazki/golos.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("shrifty/svyazki/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("shrifty/svyazki/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("shrifty/svyazki/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
html[data-svyazka="b"][data-oblik] { --f-zag: "Playfair Display", Georgia, serif; --f-ui: "Golos Text", system-ui, sans-serif; --f-tekst: "Golos Text", system-ui, sans-serif; }
html[data-svyazka="c"][data-oblik] { --f-zag: "Lora", Georgia, serif; --f-ui: "Onest", system-ui, sans-serif; --f-tekst: "Onest", system-ui, sans-serif; }
html[data-svyazka="d"][data-oblik] { --f-zag: "Literata", Georgia, serif; --f-ui: "Manrope", system-ui, sans-serif; --f-tekst: "Manrope", system-ui, sans-serif; }
html[data-svyazka="e"][data-oblik] { --f-zag: "Forum", Georgia, serif; --f-ui: "Inter", system-ui, sans-serif; --f-tekst: "Inter", system-ui, sans-serif; }
html[data-svyazka="f"][data-oblik] { --f-zag: "Old Standard TT", Georgia, serif; --f-ui: "Geologica", system-ui, sans-serif; --f-tekst: "Geologica", system-ui, sans-serif; }
