/* Сайт «Некромант по найму». Сайт носит интерфейс самой игры: рамки панелей и кнопок — те же
   SVG-девятисрезки, что в Godot (godot/assets/legion/ui, копируются при сборке в img/ui), палитра —
   из UiStyle (scripts/common/ui_style.gd): чернильно-фиолетовая ночь, латунь, золото #ffd27a,
   зелень котла. Underdog — заголовки и кнопки, Neucha — короткие подписи, как в игре;
   длинные абзацы — системным шрифтом: рукописный Neucha в абзацах читается хуже.
   На главной этот файл встраивается в <style> при сборке (build_site.py), пути ../ там срезаются. */
@font-face {
  font-family: "Underdog";
  src: url("../fonts/Underdog-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Neucha";
  src: url("../fonts/Neucha-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #120e1a;
  --bg-2: #1b1526;
  --panel: #1d1626;
  --cover: #221a30;
  --ink: #a88feb;
  --text: #efe8fb;
  --text-dim: #c9bfdc;
  --gold: #ffd27a;
  --gold-hi: #fff1c9;
  --brass: #c39a48;
  --line: rgba(195, 154, 72, .45);
  --green: #8bffb0;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --title: "Underdog", Georgia, serif;
  --hand: "Neucha", "Segoe Print", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-color: var(--bg);
  /* лёгкое зерно бумаги договора поверх ночи + тёмные края */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .7 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 80% at 50% 0%, #1d1529 0%, var(--bg) 60%);
  background-repeat: repeat, no-repeat;
  background-size: auto, 100% 1400px;
  touch-action: manipulation;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
img, video, iframe { max-width: 100%; display: block; }
picture { display: contents; }
code { font-size: .9em; overflow-wrap: anywhere; color: var(--text); background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--title); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); color: var(--gold); text-align: center; }
h3 { font-size: clamp(22px, 2.4vw, 28px); color: var(--text); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 8px 14px; border-radius: 4px; background: var(--gold); color: #2a1606; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Заголовок раздела между латунными прутами с заклёпкой на концах — как кромка рамок в игре. */
h2.rule { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
h2.rule::before, h2.rule::after {
  content: ""; flex: 1; height: 7px; min-width: 24px;
  background:
    radial-gradient(circle at 50% 50%, #f6dcaa 0 1.5px, #b8955b 2px 3px, transparent 3.5px) right center / 7px 7px no-repeat,
    linear-gradient(#b89458, #b89458) left center / calc(100% - 10px) 1px no-repeat;
  opacity: .8;
}
h2.rule::after { transform: scaleX(-1); }

/* ── Рамки из игры ─────────────────────────────────────────────────────── */
.frame {
  border: 14px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 / 14px stretch;
  background: #08070e;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.frame > video, .frame > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-2); }

/* ── Кнопки: рамки button_frame*.svg ─────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font-family: var(--title); line-height: 1.2; min-height: 44px;
  border: 14px solid transparent;
  border-image: url("../img/ui/button_frame.svg") 16 fill / 14px stretch;
  background: none;
  transition: filter .12s ease, transform .12s ease;
}
.btn:hover { filter: brightness(1.14) saturate(1.05); }
.btn:active { transform: translateY(1px); filter: brightness(.85); }
.btn-main {
  padding: 8px 26px; font-size: clamp(20px, 2vw, 24px); color: #ffe3a3;
  border-image-source: url("../img/ui/button_frame_gold.svg");
  text-shadow: 0 2px 0 #1c0e05;
  filter: drop-shadow(0 6px 22px rgba(255,190,90,.28));
}
.btn-main:hover { color: #fff3cf; filter: brightness(1.12) drop-shadow(0 8px 30px rgba(255,190,90,.42)); }
.btn-alt { padding: 6px 22px; font-size: 20px; color: var(--text); }
.btn-alt:hover { color: #fff; }

/* ── Шапка ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* min-height, а не height: шапка растёт, если текст не влез (строка предупреждения 08.10) */
  min-height: min(clamp(620px, 56.25vw, 100svh), 960px);
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14,10,22,.88) 0%, rgba(14,10,22,.66) 30%, rgba(14,10,22,.12) 58%, transparent 70%),
    linear-gradient(180deg, rgba(14,10,22,.5) 0, transparent 90px),
    linear-gradient(180deg, transparent 72%, var(--bg) 100%);
}
.topnav {
  display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 22px;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) 0;
  font-family: var(--hand); font-size: 19px;
}
.topnav a { color: var(--text); text-decoration: none; padding: 6px 2px; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.topnav a:hover { color: var(--gold); text-decoration: underline; }
.hero-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  /* снизу — запас под трейлер, который заходит на шапку (main > .trailer, до −80px) */
  padding: clamp(16px, 4vh, 56px) var(--gutter) calc(clamp(24px, 5vw, 80px) + 24px);
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 100px);
  color: var(--gold);
  text-shadow: 0 3px 0 #3a2410, 0 0 30px rgba(0,0,0,.7);
  margin-bottom: 6px; max-width: 6.5em;
}
.hero h1 span { white-space: nowrap; }
.tagline { font-family: var(--title); font-size: clamp(20px, 2.2vw, 28px); margin: 0 0 16px; color: var(--green); text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.lead { max-width: 34em; color: var(--text); margin: 0 0 26px; font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.badges li {
  font-family: var(--hand); font-size: 17px; line-height: 1; color: var(--text);
  padding: 6px 11px 7px; border-radius: 4px;
  background: rgba(18,14,26,.72); box-shadow: inset 0 0 0 1px rgba(195,154,72,.55);
}
.badges li.age { color: var(--gold); }
.cta-note { margin: 0; color: var(--text-dim); font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
/* Предупреждение SmartScreen/Gatekeeper у первой кнопки: в блоке «Скачать» внизу его мало кто видел
   (08.10: 13 кликов «Скачать», 0 запусков). */
.cta-warn {
  margin: 8px 0 0; max-width: 560px; font-size: 14px; line-height: 1.4; color: var(--text);
  padding: 7px 11px; border-radius: 4px; background: rgba(18,14,26,.72);
  box-shadow: inset 3px 0 0 var(--gold);
}
.cta-warn[hidden] { display: none; }
.age {
  display: inline-block; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px;
  font-size: .85em; line-height: 1.35;
}
.badges .age { border: 0; font-size: 17px; line-height: 1; }
.also { margin: 14px 0 0; color: var(--text-dim); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; min-height: 40px; border: 1px solid rgba(255, 210, 122, .45);
  border-radius: 999px; color: var(--gold); text-decoration: none; background: rgba(18, 14, 26, .55); font-weight: 600; }
.pill:hover { background: rgba(255, 210, 122, .12); color: #fff3cf; }
.pill svg { flex: none; }

/* Один выход на сцену: шапка проявляется при загрузке, дальше страница не дёргается. */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* ── Разделы ───────────────────────────────────────────────────────────── */
main > section { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
main > .trailer { max-width: 1040px; padding-top: 0; padding-bottom: clamp(16px, 3vw, 32px); margin-top: clamp(-80px, -5vw, -24px); position: relative; }
.frame-video video { aspect-ratio: 16 / 9; background: #000; width: 100%; height: auto; }
.caption, .small { color: var(--text-dim); font-size: 15px; text-align: center; margin: 12px 0 0; }

/* ── Скоро в Steam ─────────────────────────────────────────────────────── */
main > .steam { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(24px, 4vw, 40px); }
.steam-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center;
  max-width: 1040px; margin: 0 auto;
  border: 14px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 fill / 14px stretch;
  padding: 10px clamp(8px, 2vw, 22px);
}
.steam-card h2 { text-align: left; font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 6px; }
.steam-card p { margin: 0; color: var(--text-dim); max-width: 46em; }
.steam-card .btn { white-space: nowrap; }
.steam-widget { grid-column: 1 / -1; width: 100%; max-width: 646px; height: 190px; border: 0; justify-self: center; background: #1b2838; }

/* ── Механики ──────────────────────────────────────────────────────────── */
.sec-head { position: relative; }
.loops-toggle {
  display: block; margin: -8px auto 26px; cursor: pointer; min-height: 40px;
  font: 16px/1 var(--hand); color: var(--text-dim);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.loops-toggle:hover { color: var(--gold); border-color: var(--gold); }
.loops-toggle[hidden] { display: none; }
.mech-lead {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; margin: 0 0 clamp(36px, 5vw, 56px);
}
.mech-text { max-width: 34em; }
.mech-lead p { color: var(--text-dim); margin: 0; font-size: 18px; }
.mech-lead h3 { font-size: clamp(28px, 3vw, 38px); color: var(--gold); }
.mech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.card {
  border: 14px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 fill / 14px stretch;
  padding: 6px 10px 14px;
}
.card > img, .card > video, .card > picture > img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 16px;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--line);
}
.card h3 { color: var(--gold); }
.card p { color: var(--text-dim); margin: 0; font-size: 16px; }

/* ── Галерея ───────────────────────────────────────────────────────────── */
.gallery .grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.gallery a {
  display: block; position: relative; overflow: hidden; border-radius: 3px;
  background: var(--cover) linear-gradient(135deg, #2a2038, #17111f);
  box-shadow: 0 0 0 1px rgba(195,154,72,.4), 0 6px 18px rgba(0,0,0,.4);
  aspect-ratio: 16 / 9;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:hover, .gallery a:focus-visible { box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(0,0,0,.4); }

/* ── Комикс: лента вбок, листается мышью, пальцем, клавишами и кнопками ── */
.comic .strip {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-color: var(--brass) transparent; padding: 4px 2px 14px;
}
.comic .strip ol { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; width: max-content; }
.comic .strip li { scroll-snap-align: start; flex: none; }
.comic .strip img {
  /* высокий кадр упирается в высоту, широкий — в 86 % экрана: на телефоне кадр виден целиком */
  width: auto; height: auto; max-height: clamp(260px, 52vh, 460px); max-width: 86vw;
  border: 10px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 / 10px stretch;
  background: #08070e;
}
.strip-nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.strip-btn, .lb-btn {
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(34,26,48,.85); color: var(--gold); font: 32px/1 var(--title);
  box-shadow: inset 0 0 0 1px rgba(195,154,72,.6);
}
.strip-btn:hover, .lb-btn:hover { background: #2c2240; color: var(--gold-hi); }

/* ── Скачивание — бланк договора в рамке модальных окон игры ─────────── */
.download .sheet {
  max-width: 1040px; margin: 0 auto; text-align: center;
  border: 14px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 fill / 14px stretch;
  padding: clamp(18px, 4vw, 40px) clamp(14px, 3vw, 36px);
  box-shadow: 0 0 120px rgba(139,255,176,.07);
}
.sheet-lead { color: var(--text-dim); max-width: 40em; margin: 0 auto 22px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 10px 0 18px; text-align: left; }
.platform { padding: 14px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(195,154,72,.25); background: rgba(18,14,26,.35); }
.platform h3 { font-size: 24px; margin: 0 0 10px; }
.platform .btn { display: block; text-align: center; font-size: 18px; padding: 8px 10px; color: var(--text); }
.platform .small { text-align: left; margin-top: 10px; }
/* Система посетителя подсвечена (site.js ставит is-current). */
.platform.is-current { box-shadow: inset 0 0 0 2px var(--gold), 0 0 40px rgba(255,210,122,.08); }
.platform.is-current h3 { color: var(--gold); }
.platform.is-current .btn { border-image-source: url("../img/ui/button_frame_gold.svg"); color: #ffe3a3; }
.mirrors { color: var(--text-dim); font-size: 15px; margin: 14px 0 0; }

/* ── Вопросы ───────────────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border-radius: 6px; background: rgba(29,22,38,.8); box-shadow: inset 0 0 0 1px rgba(195,154,72,.3);
}
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; position: relative; min-height: 44px;
  font-family: var(--title); font-size: 20px; line-height: 1.3; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--gold);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--gold); }
.faq details > :not(summary) { margin: 0 18px 14px; color: var(--text-dim); }
.faq .paths { padding-left: 1.2em; }
.faq .paths li { margin: 6px 0; }

/* ── Отзывы и обратная связь ───────────────────────────────────────────── */
.feedback { text-align: center; }
.feedback > p { max-width: 620px; margin: 0 auto 20px; color: var(--text-dim); }
.feedback .donate { margin-top: 28px; font-size: 15px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0 0 28px; text-align: left; }
.review { margin: 0; padding: 18px 20px; border-radius: 6px; background: rgba(29,22,38,.8); box-shadow: inset 3px 0 0 var(--gold); }
.review blockquote { margin: 0 0 10px; font-family: var(--hand); font-size: 20px; line-height: 1.4; color: var(--text); }
.review figcaption { color: var(--text-dim); font-size: 14px; }

/* ── Где ещё есть игра ─────────────────────────────────────────────────── */
.else-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.else-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.else-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.else-card h3 svg { flex: none; color: var(--gold); }
.else-card p { margin: 0; }
.else-card .btn { align-self: flex-start; }
.else-card .small { text-align: left; margin: 0; }

footer { border-top: 1px solid #2a2238; padding: 24px var(--gutter) 72px; text-align: center; color: var(--text-dim); font-size: 14px; }
footer p { margin: 6px 0; }
footer a { display: inline-block; padding: 4px 0; }

/* ── Просмотр кадров ───────────────────────────────────────────────────── */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--text);
  overflow: hidden; overscroll-behavior: contain;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8,6,12,.92); }
.lightbox figure { margin: 0; max-width: min(1920px, calc(100vw - 150px)); }
.lightbox img {
  max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; margin: 0 auto;
  border: 12px solid transparent;
  border-image: url("../img/ui/panel_frame.svg") 24 / 12px stretch;
  background: #08070e;
}
.lightbox figcaption { text-align: center; font-size: 16px; color: var(--text-dim); margin-top: 10px; }
.lb-btn { position: fixed; width: 52px; height: 52px; font-size: 34px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }

/* ── Уведомление о cookies: тонкая полоса внизу ─────────────────────── */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  padding: 7px var(--gutter) calc(7px + env(safe-area-inset-bottom));
  background: rgba(18,14,26,.94); box-shadow: 0 -1px 0 rgba(195,154,72,.45);
  font-size: 13px; line-height: 1.35; color: var(--text-dim);
}
.cookie p { margin: 0; }
.cookie[hidden] { display: none; }
.btn-small {
  flex: none; cursor: pointer; font: 14px/1 var(--title); color: #2a1606; min-height: 36px;
  padding: 7px 14px; border: 0; border-radius: 4px; background: var(--gold);
}
.btn-small:hover { background: #ffe3a3; }

/* ── Политика, 404 ─────────────────────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter); }
.doc h1 { color: var(--gold); font-size: clamp(30px, 5vw, 44px); }
.doc h2 { text-align: left; font-size: 24px; margin-top: 1.6em; }
.doc p, .doc li { color: var(--text-dim); }

@media (max-width: 1000px) {
  .gallery .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platforms { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { display: block; min-height: 0; }
  .hero-art { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero::after { background: linear-gradient(180deg, transparent 0, transparent 30vw, var(--bg) 56.25vw); }
  .topnav { position: absolute; top: 0; left: 0; right: 0; justify-content: center; padding-top: 8px; font-size: 17px; gap: 2px 16px; }
  .hero-inner { padding-top: 0; padding-bottom: 40px; margin-top: -9vw; position: relative; }
  .lead, .mech-lead p { font-size: 16px; }
  .cta { align-items: stretch; }
  .btn-main { width: 100%; padding: 6px 8px; font-size: 19px; }
  main > .trailer { margin-top: 0; }
  .steam-card { grid-template-columns: 1fr; }
  .steam-card .btn { white-space: normal; }
  .mech-lead { grid-template-columns: 1fr; }
  .mech-grid { grid-template-columns: 1fr; }
  .gallery .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .else-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
  .lb-btn { width: 44px; height: 44px; font-size: 28px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox figure { max-width: 94vw; }
  .lightbox img { max-height: calc(100vh - 150px); border-width: 8px; border-image-width: 8px; }
  .cookie { font-size: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img { transition: none; }
}
