/* «Цех» — тренажёрный зал, баня и хамам. Концепт-проект студии Scrollywood.
   Сетка ПК 12 колонок, телефон 4. Шаг 8 px. Размеры в rem от ширины: html{font-size:max(16px,.85vw)}. */

@font-face { font-family: 'Inter'; src: url('../fonts/Inter-VF.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('../fonts/Onest-VF.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/JetBrainsMono-VF.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --fon: #0B0C0E;
  --pov: #16181B;
  --pov2: #202328;
  --liniya: #2E3238;
  --tekst: #F1F3F2;
  --priglush: #8A9097;
  --mel: #EEF0F0;
  --tekst-s: #0B0C0E;
  --priglush-s: #5C636B;
  --volt: #D4FF2E;
  --volt-do: #4A5A12;
  --z-trenazhery: #D4FF2E;
  --z-dushi: #4FC3FF;
  --z-banya: #FF5A1F;
  --z-hamam: #2FE3B0;
  --belki: #2F80FF;
  --zhiry: #FF6A2B;
  --uglevody: #A8D400;
  --oshibka: #E5383B;
  --accent: #D4FF2E;
  --pole: max(20px, 4.5vw);
  --promezh: 1.25rem;
  --shapka: 4.5rem;
  --krik: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --smysl: 'Onest', 'Inter', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --vyhod: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: max(16px, .85vw); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--fon); }
body {
  margin: 0; background: var(--fon); color: var(--tekst);
  font-family: var(--smysl); font-size: 1rem; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.s4 :focus-visible, .politika :focus-visible { outline-color: var(--tekst-s); }
::selection { background: var(--volt); color: var(--tekst-s); }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--volt); color: var(--tekst-s); padding: .75rem 1rem; border-radius: 6px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }

/* ---------- голоса ---------- */
.krik {
  font-family: var(--krik); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .84;
  font-optical-sizing: auto; font-variation-settings: 'opsz' 32; color: var(--tekst);
}
.kiker {
  font-family: var(--mono); font-size: .75rem; line-height: 1.4; font-weight: 400; text-transform: uppercase;
  letter-spacing: .16em; color: var(--priglush); font-variant-numeric: tabular-nums;
}
.kiker .nomer { color: var(--tekst); margin-right: 2.2em; }
.nomer { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.lid { font-size: 1.375rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 400; color: var(--tekst); max-width: 30em; }

/* ---------- кнопки ---------- */
.knopka {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .8rem 1.4rem; border-radius: 999px;
  font-family: var(--smysl); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.knopka-volt { background: var(--volt); color: var(--tekst-s); }
.knopka-volt:hover { box-shadow: 0 0 0 4px rgba(212, 255, 46, .25); }
.knopka-bolshaya { font-size: 1.125rem; padding: 1.05rem 1.75rem; }
.knopka-kontur { border: 1px solid currentColor; }
.knopka[disabled], .knopka[aria-disabled="true"] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.knopka-tekst { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font-weight: 600; text-decoration: none; }
.knopka-tekst .strelka { display: inline-block; transition: transform .3s var(--vyhod); }
.knopka-tekst:hover .strelka { transform: translateX(6px); }
.magnit { will-change: transform; }

/* ---------- шапка ---------- */
.shapka {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: var(--shapka);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--pole); color: var(--tekst); transition: color .4s;
  pointer-events: none;
}
.shapka > * { pointer-events: auto; }
html.svet .shapka { color: var(--tekst-s); }
/* подложка под шапкой: меню читается и на светлых окнах кадра */
.shapka::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7rem; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(11, 12, 14, .62), rgba(11, 12, 14, 0)); transition: opacity .4s; }
html.svet .shapka::before { opacity: 0; }
.logo { display: flex; align-items: baseline; gap: .75rem; text-decoration: none; color: inherit; }
.logo-slovo { font-family: var(--krik); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; line-height: 1; }
.logo-pod { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; opacity: .7; white-space: nowrap; }
.menu { display: flex; gap: 2rem; font-size: .9375rem; font-weight: 500; }
.menu a { text-decoration: none; opacity: .78; transition: opacity .2s; padding: .5rem 0; position: relative; }
.menu a:hover, .menu a[aria-current="true"] { opacity: 1; }
.menu a[aria-current="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--volt); }
html.svet .menu a[aria-current="true"]::after { background: var(--tekst-s); }
.shapka-pravo { display: flex; align-items: center; gap: 1.25rem; }
.shapka-cta { padding: .7rem 1.2rem; font-size: .9375rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; color: inherit; }
.burger-l, .burger-l::before { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; content: ''; transition: transform .3s; }
.burger-l { top: 17px; }
.burger-l::before { top: 8px; left: 0; right: 0; }
.burger[aria-expanded="true"] .burger-l { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-l::before { transform: translateY(-8px) rotate(-90deg); }

/* тумблер «Сцены / Лента» (Д4) */
/* две равные ячейки сеткой: подсветка ровно в половину и сдвигается на свою ширину, от шрифта и ширины экрана не зависит */
.rezhim { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; border: 1px solid currentColor; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.rezhim[hidden] { display: none !important; }
.rezhim-k { position: relative; z-index: 1; min-height: 32px; padding: 0 .9rem; border-radius: 999px; white-space: nowrap; text-align: center; transition: color .2s; }
.rezhim-k[aria-pressed="true"] { color: var(--tekst-s); }
.rezhim-shar { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--volt); }

.mobmenu {
  position: fixed; inset: 0; z-index: 55; background: var(--fon); padding: calc(var(--shapka) + 2rem) 20px 2rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.mobmenu a { font-family: var(--krik); font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; font-size: 2.75rem; line-height: 1.05; text-decoration: none; display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; }
.mobmenu .nomer { font-size: .75rem; color: var(--priglush); letter-spacing: .1em; font-weight: 400; }

/* ---------- навигация-штанга (К3) ---------- */
.grif { position: fixed; z-index: 50; right: calc(var(--pole) * .45); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 1rem 0; }
.grif-os { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--liniya); transition: background-color .4s; }
.blin { position: relative; width: 24px; height: 30px; display: flex; align-items: center; justify-content: center; }
.blin::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--liniya); transition: width .3s var(--vyhod), height .3s var(--vyhod), background-color .3s, box-shadow .3s; }
.blin.proyden::before { background: var(--volt-do); }
.blin[aria-current="true"]::before { width: 6px; height: 28px; background: var(--volt); box-shadow: 0 0 12px rgba(212, 255, 46, .55); }
.blin-podp { position: absolute; right: 100%; margin-right: .5rem; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst); opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--vyhod); }
.blin:hover .blin-podp, .blin:focus-visible .blin-podp { opacity: 1; transform: translate(0, -50%); }
html.svet .grif-os { background: #C9CED2; }
html.svet .blin::before { background: #C9CED2; }
html.svet .blin.proyden::before { background: #8E9A5C; }
html.svet .blin[aria-current="true"]::before { background: var(--tekst-s); box-shadow: 0 0 0 3px rgba(212, 255, 46, .9); }
html.svet .blin-podp { color: var(--tekst-s); }
html:not(.koloda) .grif { display: none; }

/* ---------- курсор ---------- */
.kursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
html.svoy-kursor .kursor { display: block; }
html.svoy-kursor, html.svoy-kursor a, html.svoy-kursor button, html.svoy-kursor [role="tab"] { cursor: none; }
html.svoy-kursor input, html.svoy-kursor textarea { cursor: text; }
.kursor-tochka { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); }
.kursor-kolco { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tekst); display: flex; align-items: center; justify-content: center; transition: width .3s var(--vyhod), height .3s var(--vyhod), left .3s var(--vyhod), top .3s var(--vyhod), border-color .4s, background-color .3s; }
.kursor.bolshoy .kursor-kolco { width: 64px; height: 64px; left: -32px; top: -32px; background: rgba(11, 12, 14, .35); }
.kursor-t { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--tekst); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.kursor.bolshoy .kursor-t { opacity: 1; }
html.svet .kursor-kolco { border-color: var(--tekst-s); }
html.svet .kursor.bolshoy .kursor-kolco { background: rgba(238, 240, 240, .6); }
html.svet .kursor-t { color: var(--tekst-s); }

/* ---------- заставка ---------- */
.zastavka { position: fixed; inset: 0; z-index: 150; background: var(--fon); display: none; }
html.s-zastavkoy .zastavka { display: block; }
.zastavka-ascii { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zastavka-schet { position: absolute; left: var(--pole); bottom: 2rem; display: flex; gap: 1.5em; font-family: var(--mono); font-size: .8125rem; letter-spacing: .16em; color: var(--tekst); font-variant-numeric: tabular-nums; }
.zastavka-pr { color: var(--priglush); }

/* ---------- слои переходов ---------- */
.vspyshka { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(circle at 70% 30%, #FFFFFF 0, #D4FF2E 45%, #0B0C0E 80%); }
.perehod-shov { position: fixed; z-index: 92; left: 0; right: 0; top: 0; height: 2px; background: var(--volt); box-shadow: 0 0 18px rgba(212, 255, 46, .7); pointer-events: none; visibility: hidden; opacity: 0; will-change: transform; }
.perehod-liniya { position: fixed; z-index: 92; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--volt); box-shadow: 0 0 18px rgba(212, 255, 46, .7); pointer-events: none; opacity: 0; }
.perehod-ascii { position: fixed; z-index: 45; pointer-events: none; display: none; }

/* ---------- сцены ---------- */
.scena { position: relative; overflow: hidden; background: var(--fon); }
html.koloda, html.koloda body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.koloda .scena { position: fixed; inset: 0; height: 100vh; visibility: hidden; }
html.koloda .scena.tek, html.koloda .scena.uhodit { visibility: visible; }
html.zamok, html.zamok body { overflow: hidden; }
html:not(.koloda) .scena { min-height: 100vh; }

.fakt-ch { font-family: var(--krik); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: 3.5rem; font-variant-numeric: tabular-nums; font-optical-sizing: auto; white-space: nowrap; }
.fakt-ch .ed { font-size: .5em; letter-spacing: 0; margin-left: .05em; }
.odo-k { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; line-height: 1; }
.odo-l { display: flex; flex-direction: column; }
.odo-l b { display: block; height: 1em; line-height: 1; font-weight: inherit; text-align: center; }
.odo-z { display: inline-block; white-space: pre; }

/* лента-зеркало (Т3) */
.lenta { display: block; overflow: hidden; position: relative; white-space: nowrap; }
.lenta-trek { display: flex; width: 300%; will-change: transform; }
.lenta-y { display: block; width: 33.3334%; flex: 0 0 33.3334%; overflow: visible; }
.lenta-y > span { display: inline-block; }

/* ===== 01 ЗАЛ ===== */
.s1 { height: 100vh; min-height: 560px; }
.s1-foto { position: absolute; inset: -8px; will-change: transform; }
.s1-foto-v { position: absolute; inset: 0; will-change: transform; }
.s1-foto picture, .s1-foto img, .s1-video { display: block; width: 100%; height: 100%; }
/* девушка с канатами в правой трети кадра: при узком экране кадр сдвигается так, чтобы она оставалась целиком */
.s1-foto img, .s1-video { object-fit: cover; object-position: 72% 50%; }
.s1-video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.s1-video.idet { opacity: 1; }
.s1-ten { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(11, 12, 14, .78) 0, rgba(11, 12, 14, .5) 30%, rgba(11, 12, 14, 0) 58%),
              linear-gradient(to top, rgba(11, 12, 14, .7) 0, rgba(11, 12, 14, 0) 38%),
              linear-gradient(to bottom, rgba(11, 12, 14, .5) 0, rgba(11, 12, 14, 0) 22%); }
.s1-pyl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s1-verh { position: absolute; left: var(--pole); top: calc(var(--shapka) + 2rem); width: calc((100vw - 2 * var(--pole) - 11 * var(--promezh)) / 12 * 5 + 4 * var(--promezh)); display: flex; flex-direction: column; gap: 1.5rem; }
.s1-lid { max-width: 24em; }
.s1-knopki { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; margin-top: .25rem; }
.s1-fakty { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(241, 243, 242, .18); }
.s1-fakty .fakt { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .55rem; }
.s1-fakty dd { margin: 0; }
.s1-fakty .fakt-ch { font-size: 2.5rem; }
.s1-h { position: absolute; left: var(--pole); top: 60%; margin: 0; pointer-events: none; display: flex; align-items: flex-end; font-size: 0; line-height: 0; will-change: transform; }
.s1-slovo { display: block; font-size: 30vh; line-height: .84; white-space: nowrap; }
.s1-metka { display: block; margin-left: 1.6rem; font-family: var(--mono); font-size: .75rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--priglush); white-space: nowrap; }
.s1-metka b { display: block; font-family: var(--krik); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.03em; color: var(--tekst); margin-bottom: .45rem; }

/* ===== 02 ВНУТРИ ===== */
.s2 { height: 100vh; min-height: 600px; }
.s2-pyatno { position: absolute; left: -10vw; top: 0; width: 60vw; height: 100%; pointer-events: none; opacity: .18; background: radial-gradient(circle at 30% 40%, var(--accent) 0, rgba(11, 12, 14, 0) 60%); }
.s2-foto { position: absolute; top: 0; bottom: 0; right: 0; width: calc(var(--pole) + (100vw - 2 * var(--pole) - 11 * var(--promezh)) / 12 * 7 + 6.5 * var(--promezh)); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 6vw); mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 6vw); }
.s2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; }
.s2-foto::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9rem; pointer-events: none; z-index: 3; background: linear-gradient(to bottom, rgba(11, 12, 14, .6), rgba(11, 12, 14, 0)); }
.s2-img.akt { opacity: 1; }
.s2-zhivoe { position: absolute; inset: 0; pointer-events: none; }
.s2-zhivoe canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.s2-vspyshka { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(circle at 60% 55%, #FFF6E0 0, #FF5A1F 45%, #0B0C0E 80%); }
.s2-levo { position: absolute; left: var(--pole); top: var(--shapka); bottom: 0; width: calc((100vw - 2 * var(--pole) - 11 * var(--promezh)) / 12 * 5 + 4 * var(--promezh)); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding-bottom: 2.5rem; }
.s2-vkladki { display: flex; flex-direction: column; order: 3; border-top: 1px solid var(--liniya); }
.s2-tab { position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: 2.75rem; padding: .35rem 0; border-bottom: 1px solid var(--liniya); text-align: left; font-weight: 600; font-size: 1.0625rem; color: var(--priglush); transition: color .25s; }
.s2-tab .nomer { font-size: .75rem; font-weight: 400; color: var(--priglush); letter-spacing: .1em; }
.s2-tab[aria-selected="true"] { color: var(--tekst); }
.s2-tab[aria-selected="true"] .nomer { color: var(--accent); }
.s2-tab:hover { color: var(--tekst); }
.s2-tochka { position: absolute; right: 9rem; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .25s; }
.s2-cherta { position: absolute; right: 0; top: 50%; width: 140px; max-width: 7.5rem; height: 6px; margin-top: -3px; background: var(--accent); transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--vyhod); }
.s2-tab[aria-selected="true"] .s2-tochka { opacity: 1; }
.s2-tab[aria-selected="true"] .s2-cherta { transform: scaleX(1); }
.s2-panel { display: flex; flex-direction: column; gap: 1.5rem; order: 2; }
.s2-levo > .kiker { order: 1; }
.s2-abonement { order: 4; font-family: var(--mono); font-size: .8125rem; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; color: var(--priglush); }
.s2-ceny { display: flex; flex-wrap: wrap; gap: .15rem 1.6em; color: var(--tekst); margin-top: .2rem; }
.s2-ceny span { white-space: nowrap; }
.s2-h { font-size: clamp(3.5rem, 8.2vw, 11rem); }
.s2-lenta { line-height: .9; padding: .04em 0; }
.s2-lid { font-size: 1.25rem; max-width: 26em; min-height: 2.7em; }
.s2-fakty { display: flex; gap: 2.5rem; }
.s2-fakty .fakt { display: flex; flex-direction: column; gap: .5rem; }
.s2-fakty dd { margin: 0; font-size: 3rem; }

/* ===== 03 ТРЕНЕРЫ ===== */
.s3 { height: 100vh; min-height: 600px; }
/* портреты ниже полосы заголовка: лид и заголовок не ложатся на лица */
.s3-kolonki { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--shapka) + 5.5rem + 5.4vw); display: flex; }
.s3-kol { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-left: 1px solid rgba(11, 12, 14, .9); cursor: pointer; }
.s3-kol:first-child { border-left: 0; }
.s3-foto { position: absolute; inset: 0; }
.s3-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.s3-cvet { opacity: 0; }
.s3-kol::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 12, 14, .92) 0, rgba(11, 12, 14, .5) 26%, rgba(11, 12, 14, 0) 48%), linear-gradient(to bottom, rgba(11, 12, 14, .7) 0, rgba(11, 12, 14, 0) 34%); }
.s3-niz { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 2rem; display: flex; flex-direction: column; gap: .45rem; }
.s3-imya { font-family: var(--krik); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: 2rem; white-space: nowrap; }
.s3-spec { font-weight: 500; color: var(--tekst); font-size: 1rem; line-height: 1.3; min-height: 2.6em; }
.s3-esche { display: flex; flex-direction: column; gap: 1rem; overflow: hidden; height: 0; opacity: 0; }
.s3-tegi { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .6rem; }
.s3-tegi li { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border: 1px solid rgba(241, 243, 242, .35); border-radius: 999px; }
.s3-otkryt { align-self: flex-start; }
.s3-shapka { position: absolute; z-index: 5; left: var(--pole); right: calc(var(--pole) + 2rem); top: calc(var(--shapka) + 1rem); pointer-events: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; row-gap: .75rem; align-items: end; }
.s3-shapka .kiker { grid-column: 1 / 3; }
.s3-h { font-size: 6.4vw; }
.s3-lid { font-size: 1.25rem; max-width: 24em; padding-bottom: .2em; }
.s3.profil .s3-shapka { opacity: 0; transition: opacity .3s; }
.s3-kolonki { transition: top .6s cubic-bezier(.65, 0, .35, 1); }
.s3.profil .s3-kolonki { top: 0; }
/* лист профиля: содержимое уходит под шапку сайта через плавную заливку, меню не наползает на слоты */
.s3-list::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--shapka) + 1rem); pointer-events: none; background: linear-gradient(to bottom, var(--pov) 72%, rgba(22, 24, 27, 0)); }
.s3-list { position: absolute; z-index: 6; top: 0; bottom: 0; right: 0; width: 60%; background: var(--pov); border-left: 1px solid var(--liniya); display: flex; flex-direction: column; }
.s3-list-telo { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--shapka) + 1.5rem) calc(var(--pole) + 1.5rem) 3rem 3rem; scrollbar-width: thin; scrollbar-color: var(--liniya) transparent; }
.s3-zakryt { position: absolute; z-index: 2; right: calc(var(--pole) + 1rem); top: calc(var(--shapka) + .75rem); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--liniya); font-size: 1rem; background: var(--pov); }
.s3-zakryt:hover { border-color: var(--tekst); }
.pr-imya { font-size: 4.5rem; margin-bottom: 1rem; max-width: calc(100% - 4rem); }
.pr-spec { font-size: 1.25rem; font-weight: 500; margin-bottom: 2rem; }
.pr-sh { display: flex; flex-direction: column; gap: .9rem; margin-bottom: .6rem; }
.pr-pereklyuch { display: flex; flex-wrap: wrap; gap: .4rem; padding-right: 3.5rem; }
.pr-pereklyuch .chip { min-height: 36px; }
.pr-sekcii { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.pr-kol { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
.pr-mel { font-size: .8125rem; color: var(--priglush); margin-top: .6rem; }
@media (min-width: 1700px) { .pr-sekcii { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; } }
.pr-blok { display: flex; flex-direction: column; gap: 1rem; }
.pr-blok > .kiker { padding-bottom: .6rem; border-bottom: 1px solid var(--liniya); }
.pr-tabl { width: 100%; font-family: var(--mono); font-size: .8125rem; }
.pr-tabl th { text-align: left; font-weight: 400; color: var(--priglush); text-transform: uppercase; letter-spacing: .1em; padding: .55rem 1.5rem .55rem 0; vertical-align: top; width: 12em; border-bottom: 1px solid var(--liniya); }
.pr-tabl td { padding: .55rem 0; vertical-align: top; color: var(--tekst); border-bottom: 1px solid var(--liniya); font-family: var(--smysl); font-size: .9375rem; }
.pr-kak { font-size: 1.125rem; line-height: 1.45; max-width: 34em; }
.pr-formaty { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .75rem; }
.pr-format { background: var(--pov2); border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.pr-format b { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.pr-format span { font-family: var(--mono); font-size: .75rem; color: var(--priglush); letter-spacing: .04em; }
.pr-format .pr-cena { color: var(--tekst); font-size: .875rem; margin-top: auto; padding-top: .4rem; }

/* расписание */
.rasp-dni { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.rasp-den { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.rasp-den-sh { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--priglush); text-align: center; padding-bottom: .25rem; white-space: nowrap; }
.rasp-den-sh b { display: block; color: var(--tekst); font-weight: 600; font-size: .8125rem; }
.rasp-den-sh.segodnya b { color: var(--volt); }
.slot { position: relative; min-height: 36px; border-radius: 6px; font-family: var(--mono); font-size: .75rem; font-variant-numeric: tabular-nums; border: 1px solid var(--liniya); background: transparent; color: var(--tekst); transition: background-color .15s, border-color .15s, color .15s; }
.slot:hover:not([disabled]) { border-color: var(--tekst); }
.slot[disabled] { cursor: not-allowed; color: #5A6067; background: repeating-linear-gradient(-45deg, #2E3238 0 2px, transparent 2px 7px); border-color: #24272C; }
.slot[aria-pressed="true"] { background: var(--volt); border-color: var(--volt); color: var(--tekst-s); font-weight: 600; }
.rasp-pusto { font-family: var(--mono); font-size: .6875rem; color: #5A6067; text-align: center; padding: .6rem 0; }

/* форма */
.forma { display: flex; flex-direction: column; gap: 1.1rem; max-width: 40rem; }
.forma-radio { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .5rem; border: 0; padding: 0; margin: 0; }
.forma-radio legend, .pole-n { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--priglush); margin-bottom: .5rem; padding: 0; }
.radio-k { position: relative; display: flex; flex-direction: column; gap: .15rem; padding: .7rem .85rem; border: 1px solid var(--liniya); border-radius: 8px; cursor: pointer; transition: border-color .15s, background-color .15s; min-height: 44px; }
.radio-k input { position: absolute; opacity: 0; pointer-events: none; }
.radio-k b { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.radio-k span { font-family: var(--mono); font-size: .6875rem; color: var(--priglush); }
.radio-k:hover { border-color: var(--priglush); }
.radio-k.vybran { border-color: var(--volt); background: rgba(212, 255, 46, .07); }
.radio-k.vybran::after { content: '✓'; position: absolute; right: .7rem; top: .6rem; width: 18px; height: 18px; border-radius: 50%; background: var(--volt); color: var(--tekst-s); font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.radio-k:focus-within { outline: 2px solid var(--volt); outline-offset: 2px; }
.pole { display: flex; flex-direction: column; }
.pole input[type="text"], .pole input[type="tel"] { min-height: 48px; padding: .7rem .9rem; border-radius: 8px; border: 1px solid var(--liniya); background: var(--fon); color: var(--tekst); font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; transition: border-color .15s; }
.pole input:focus { border-color: var(--volt); outline: none; }
.pole.osh input { border-color: var(--oshibka); }
.pole-osh { display: none; align-items: center; gap: .4rem; margin-top: .4rem; color: var(--oshibka); font-size: .875rem; }
.pole-osh::before { content: '✕'; font-size: .75rem; font-weight: 700; }
.pole.osh .pole-osh, .osh > .pole-osh { display: flex; }
.forma-ryad { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.vybrannyj-slot { min-height: 48px; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 8px; border: 1px dashed var(--liniya); color: var(--priglush); font-size: .9375rem; }
.vybrannyj-slot.est { border-style: solid; border-color: var(--volt); color: var(--tekst); }
.galochka { display: flex; align-items: flex-start; gap: .7rem; font-size: .9375rem; line-height: 1.4; cursor: pointer; min-height: 44px; padding-top: .35rem; }
.galochka input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin: 0; border-radius: 5px; border: 1px solid var(--priglush); background: transparent; cursor: pointer; display: grid; place-content: center; }
.galochka input:checked { background: var(--volt); border-color: var(--volt); }
.galochka input:checked::after { content: '✓'; color: var(--tekst-s); font-size: 14px; font-weight: 700; line-height: 1; }
.galochka input:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.ssylka-knopka { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.forma-niz { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.knopka-gotovo { position: relative; min-width: 13rem; }
.knopka-gotovo .volna { position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--volt); opacity: 0; pointer-events: none; }
.knopka-gotovo[data-sost="gotovo"] { background: var(--volt); color: var(--tekst-s); }
.krutilka { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; }
.forma-itog { font-size: .9375rem; line-height: 1.45; color: var(--tekst); max-width: 32em; }

/* ===== 04 КАБИНЕТ ===== */
.s4 { height: 100vh; min-height: 600px; background: var(--mel); color: var(--tekst-s); }
.s4 .krik { color: var(--tekst-s); }
.s4 .kiker { color: var(--priglush-s); }
.s4 .kiker .nomer { color: var(--tekst-s); }
.s4 .lid { color: var(--tekst-s); }
.s4-tochki { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(11, 12, 14, .08) 1px, transparent 1.2px); background-size: 32px 32px; background-position: 15.5px 15.5px; }
.s4-levo { position: absolute; z-index: 3; left: var(--pole); top: var(--shapka); bottom: 0; width: calc((100vw - 2 * var(--pole) - 11 * var(--promezh)) / 12 * 4 + 3 * var(--promezh)); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding-bottom: 2rem; }
.s4-h { font-size: 6.2vw; }
.s4-lid { font-size: 1.25rem; }
.s4-vkladki { display: flex; flex-direction: column; border-top: 1px solid #D3D7D9; margin-top: .5rem; }
.s4-tab { display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto auto; column-gap: .5rem; text-align: left; padding: .8rem 0; border-bottom: 1px solid #D3D7D9; color: var(--priglush-s); transition: color .2s; position: relative; }
.s4-tab .nomer { grid-row: 1 / 3; font-size: .75rem; letter-spacing: .1em; padding-top: .3rem; }
.s4-tab-n { font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--tekst-s); opacity: .55; transition: opacity .2s; }
.s4-tab-p { font-size: .875rem; line-height: 1.35; }
.s4-tab[aria-selected="true"] { color: var(--tekst-s); }
.s4-tab[aria-selected="true"] .s4-tab-n { opacity: 1; }
.s4-tab[aria-selected="true"]::before { content: ''; position: absolute; left: -1rem; top: .8rem; bottom: .8rem; width: 4px; border-radius: 2px; background: var(--tekst-s); }
.s4-tab:hover .s4-tab-n { opacity: 1; }
.s4-primech { font-size: .8125rem; color: var(--priglush-s); }
.s4-scena { position: absolute; top: var(--shapka); bottom: 0; right: 0; left: calc(var(--pole) + (100vw - 2 * var(--pole) - 11 * var(--promezh)) / 12 * 4 + 4 * var(--promezh)); }
.s4-scena::before { content: ''; position: absolute; left: 12%; top: 8%; width: 56%; height: 84%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 255, 46, 1), rgba(212, 255, 46, 0)); opacity: .22; pointer-events: none; }
.s4-masshtab { position: absolute; left: 0; top: 50%; width: 390px; height: 844px; transform-origin: 50% 50%; }
.s4-korpus { position: absolute; left: -10px; top: -10px; right: -10px; bottom: -10px; border-radius: 52px; background: #0B0C0E; box-shadow: 0 2px 0 1px #2A2D31 inset, 0 40px 80px -20px rgba(11, 12, 14, .45), 0 18px 30px -12px rgba(11, 12, 14, .35); z-index: 2; }

/* экран приложения */
.ekran { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border-radius: 42px; overflow: hidden; background: #F7F8F8; color: #0B0C0E; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.35; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; z-index: 1; will-change: transform; }
.ekran.akt { z-index: 3; }
.e-shapka { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 26px 20px 12px; }
.e-ava { width: 40px; height: 40px; border-radius: 50%; background: #0B0C0E; color: #D4FF2E; font-weight: 700; font-size: 14px; display: grid; place-content: center; letter-spacing: .02em; flex: 0 0 auto; }
.e-kto { display: flex; flex-direction: column; min-width: 0; }
.e-kto b { font-weight: 700; font-size: 16px; }
.e-kto small { font-size: 12px; color: #5C636B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-kolok { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #DDE1E3; display: grid; place-content: center; flex: 0 0 auto; }
.e-kolok svg { width: 18px; height: 18px; fill: none; stroke: #0B0C0E; stroke-width: 1.6; }
.e-telo { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 20px; scrollbar-width: none; position: relative; }
.e-telo::-webkit-scrollbar { display: none; }
.e-panel { flex: 0 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #E2E5E6; background: #FFFFFF; padding: 8px 6px 22px; }
.e-panel button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #8A9097; min-height: 44px; padding-top: 4px; }
.e-panel button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.e-panel button[aria-current="true"] { color: #0B0C0E; }
.e-panel button[aria-current="true"] svg { stroke: #0B0C0E; }
.e-panel button[aria-current="true"]::after { content: ''; display: block; width: 18px; height: 3px; border-radius: 2px; background: #D4FF2E; box-shadow: 0 0 0 1px #0B0C0E; margin-top: 1px; }
.e-zag { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 6px 4px 12px; }
.e-zag h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.e-zag small { font-size: 12px; color: #5C636B; }
.e-karta { background: #FFFFFF; border: 1px solid #E2E5E6; border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.e-karta-zag { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.e-karta-zag b { font-size: 15px; font-weight: 700; }
.e-karta-zag small { font-size: 12px; color: #5C636B; }
.e-knopka { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 14px; background: #0B0C0E; color: #FFFFFF; font-weight: 600; font-size: 14px; }
.e-knopka.volt { background: #D4FF2E; color: #0B0C0E; }
.e-knopka.svet { background: #EEF0F0; color: #0B0C0E; }
.e-knopka.kontur { background: transparent; color: #0B0C0E; border: 1px solid #C9CED2; }
.e-knopka[disabled] { opacity: .38; cursor: not-allowed; }
.e-knopka.shir { width: 100%; }
.e-mal { font-size: 12px; color: #5C636B; line-height: 1.35; }
.e-ssylka { font-size: 13px; font-weight: 600; color: #0B0C0E; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.e-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; color: #8A9097; font-size: 13px; flex: 0 0 auto; }
.e-x:hover { background: #EEF0F0; color: #0B0C0E; }
.e-x.podtv { width: auto; padding: 0 10px; border-radius: 10px; background: #E5383B; color: #FFFFFF; font-size: 12px; font-weight: 600; }

/* нижний лист внутри экрана */
.e-zatemn { position: absolute; inset: 0; background: rgba(11, 12, 14, .38); z-index: 20; opacity: 0; }
.e-list { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; background: #FFFFFF; border-radius: 26px 26px 0 0; padding: 10px 18px 26px; max-height: 88%; display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(11, 12, 14, .18); }
.e-list::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: #D9DDDF; margin: 0 auto 12px; flex: 0 0 auto; }
.e-list-telo { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; flex: 1 1 auto; }
.e-list h4 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
.e-segment { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #EEF0F0; border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.e-segment button { position: relative; z-index: 1; min-height: 36px; font-size: 13px; font-weight: 600; color: #5C636B; border-radius: 9px; transition: color .2s; }
.e-segment button[aria-pressed="true"] { color: #0B0C0E; }
.e-segment-shar { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; border-radius: 9px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(11, 12, 14, .15); }
.e-poisk { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid #D9DDDF; background: #F7F8F8; padding: 0 14px; font: inherit; font-size: 15px; color: #0B0C0E; margin-bottom: 8px; }
.e-poisk:focus { border-color: #0B0C0E; outline: none; }
.e-spisok { display: flex; flex-direction: column; }
.e-stroka { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 4px; border-bottom: 1px solid #EEF0F0; text-align: left; width: 100%; }
.e-stroka:last-child { border-bottom: 0; }
.e-stroka .e-st-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.e-stroka .e-st-t b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.e-stroka .e-st-t small { font-size: 12px; color: #5C636B; }
.e-stroka .e-st-k { font-weight: 700; font-size: 14px; white-space: nowrap; }
button.e-stroka:hover { background: #F7F8F8; }
.e-stroka.vybran { background: #F2FFD0; }
.e-pusto { font-size: 13px; color: #5C636B; padding: 14px 4px; }
.e-porciya { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.e-porciya input[type="range"] { flex: 1 1 auto; accent-color: #0B0C0E; height: 32px; }
.e-pm { width: 44px; height: 44px; border-radius: 12px; background: #EEF0F0; font-size: 20px; font-weight: 600; flex: 0 0 auto; }
.e-pm[disabled] { opacity: .35; }
.e-gramm { min-width: 64px; text-align: center; font-weight: 700; font-size: 17px; }
.e-itog-porcii { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.e-itog-porcii div { background: #F7F8F8; border-radius: 10px; padding: 8px; text-align: center; }
.e-itog-porcii b { display: block; font-size: 16px; font-weight: 700; }
.e-itog-porcii small { font-size: 11px; color: #5C636B; }

/* 4.1 калории */
.kal-koltso { position: relative; width: 220px; height: 220px; margin: 2px auto 10px; }
.kal-koltso svg { width: 220px; height: 220px; display: block; transform: rotate(-90deg); }
.kal-centr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kal-ch { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.kal-iz { font-size: 13px; color: #5C636B; margin-top: 4px; }
.kal-ost { font-size: 13px; font-weight: 600; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #EEF0F0; }
.kal-ost.sverh { background: #FFE3E3; color: #B3191C; }
.kal-polosy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kal-pol { display: flex; flex-direction: column; gap: 5px; }
.kal-pol-t { font-size: 12px; color: #5C636B; display: flex; justify-content: space-between; gap: 4px; white-space: nowrap; }
.kal-pol-t b { color: #0B0C0E; font-weight: 700; }
.kal-pol-tr { position: relative; height: 6px; border-radius: 3px; background: #D9DDDF; overflow: hidden; }
.kal-pol-z { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; transform-origin: left center; }
.kal-pol-z.sverh { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px) !important; }
.kal-priem { margin-bottom: 10px; }
.kal-priem-sh { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 4px; }
.kal-priem-sh b { font-size: 14px; font-weight: 700; }
.kal-priem-sh small { font-size: 12px; color: #5C636B; }
.kal-dob { position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(to top, #F7F8F8 70%, rgba(247, 248, 248, 0)); display: flex; gap: 8px; }
.kal-dob .e-knopka { flex: 1 1 auto; }
.b-tochka { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }

/* 4.2 диета */
.dt-blyudo { display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #EEF0F0; }
.dt-blyudo:last-child { border-bottom: 0; }
.dt-vr { font-size: 12px; font-weight: 600; color: #5C636B; }
.dt-t b { display: block; font-size: 12px; color: #5C636B; font-weight: 500; }
.dt-t span { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.dt-k { font-weight: 700; font-size: 14px; text-align: right; white-space: nowrap; }
.dt-dey { grid-column: 2 / 4; display: flex; gap: 8px; align-items: center; }
.dt-dey .e-knopka { min-height: 34px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
.dt-syel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; min-height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid #C9CED2; }
.dt-syel[aria-pressed="true"] { background: #D4FF2E; border-color: #D4FF2E; }
/* «Итого за день» подписью сверху, цифры одной строкой под ней — в одну строку не влезало и ломалось (Юра смотрит снимки, 26.10) */
.dt-itog { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px 2px; font-weight: 700; font-size: 15px; }
.dt-itog span:first-child { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .55; }
.dt-itog span:last-child { white-space: nowrap; }
.dt-nedelya { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 170px; align-items: end; position: relative; padding-top: 14px; margin-bottom: 8px; }
.dt-cel { position: absolute; left: 0; right: 0; border-top: 1px dashed #0B0C0E; pointer-events: none; }
.dt-cel span { position: absolute; right: 0; top: -16px; font-size: 10px; color: #5C636B; }
.dt-stolb { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-height: 44px; }
.dt-stolb i { display: block; width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; background: #0B0C0E; transform-origin: bottom center; }
.dt-stolb.segodnya i { background: #D4FF2E; box-shadow: inset 0 0 0 1px #0B0C0E; }
.dt-stolb.budushiy i { background: transparent; border: 1px dashed #C9CED2; }
.dt-stolb small { font-size: 11px; color: #5C636B; }
.dt-stolb.akt small { color: #0B0C0E; font-weight: 700; }
.dt-stolb b { font-size: 10px; font-weight: 600; color: #5C636B; }

/* 4.3 тренировка */
.tr-progress { height: 6px; border-radius: 3px; background: #D9DDDF; overflow: hidden; margin: 6px 0 4px; }
.tr-progress i { display: block; height: 100%; background: #D4FF2E; box-shadow: inset 0 0 0 1px rgba(11, 12, 14, .35); transform-origin: left center; border-radius: 3px; }
.tr-upr { padding: 12px 12px 10px; }
.tr-upr-sh { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.tr-upr-sh b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.tr-upr-sh small { font-size: 12px; color: #5C636B; white-space: nowrap; }
.tr-podhody { display: flex; gap: 8px; margin: 10px 0 8px; flex-wrap: wrap; }
.tr-ph { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #C9CED2; font-size: 12px; font-weight: 700; color: #8A9097; display: grid; place-content: center; position: relative; }
.tr-ph.tek { border-color: #0B0C0E; color: #0B0C0E; box-shadow: 0 0 0 3px rgba(212, 255, 46, .9); }
.tr-ph.gotov { background: #D4FF2E; border-color: #D4FF2E; color: #0B0C0E; }
.tr-ph[disabled] { cursor: default; }
.tr-reg { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tr-reg-g { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.tr-reg-g .e-pm { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
.tr-reg-g b { min-width: 52px; text-align: center; font-weight: 700; }
.tr-razminka { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.tr-razminka .galka { width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid #C9CED2; display: grid; place-content: center; font-weight: 700; font-size: 13px; }
.tr-razminka .galka[aria-pressed="true"] { background: #D4FF2E; border-color: #D4FF2E; }
.tr-otdyh { position: sticky; bottom: 0; z-index: 5; background: #0B0C0E; color: #FFFFFF; border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.tr-otdyh-k { position: relative; width: 52px; height: 52px; flex: 0 0 auto; }
.tr-otdyh-k svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.tr-otdyh-k b { position: absolute; inset: 0; display: grid; place-content: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; }
.tr-otdyh-t { flex: 1 1 auto; font-size: 13px; line-height: 1.3; }
.tr-otdyh-t small { display: block; color: #8A9097; font-size: 11px; }
.tr-otdyh .e-knopka { min-height: 38px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
.tr-itog { background: #0B0C0E; color: #FFFFFF; border-color: #0B0C0E; }
.tr-itog h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.tr-itog p { font-size: 13px; color: #C9CED2; margin-bottom: 10px; }
.tr-grafik { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 110px; margin: 6px 0 2px; }
.tr-grafik div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.tr-grafik i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: #C9CED2; }
.tr-grafik div.segodnya i { background: #D4FF2E; box-shadow: inset 0 0 0 1px #0B0C0E; }
.tr-grafik small { font-size: 11px; color: #5C636B; }
.tr-grafik b { font-size: 11px; font-weight: 700; }

/* 4.4 запись */
.zp-karta { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }
.zp-data { background: #0B0C0E; color: #FFFFFF; border-radius: 12px; text-align: center; padding: 6px 0 7px; line-height: 1.1; }
.zp-data small { display: block; font-size: 10px; color: #D4FF2E; text-transform: uppercase; letter-spacing: .06em; }
.zp-data b { display: block; font-size: 20px; font-weight: 700; }
.zp-data span { display: block; font-size: 11px; color: #C9CED2; }
.zp-t b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.zp-t span { display: block; font-size: 12px; color: #5C636B; margin-top: 2px; }
.zp-dey { grid-column: 1 / 3; display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.zp-dey .e-knopka { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.zp-pravilo { font-size: 12px; color: #5C636B; grid-column: 1 / 3; }
.zp-pravilo.zapret { color: #B3191C; }
.zp-nov { border: 1px dashed #C9CED2; background: transparent; }
.zp-perenos { background: #0B0C0E; color: #FFFFFF; border-color: #0B0C0E; padding: 12px; }
.zp-perenos .e-mal { color: #C9CED2; }
.zp-chip { display: flex; align-items: center; gap: 8px; background: #D4FF2E; color: #0B0C0E; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700; touch-action: none; cursor: grab; position: relative; z-index: 6; width: max-content; max-width: 100%; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.zp-chip:active { cursor: grabbing; }
.zp-chip::before { content: '⠿'; font-size: 14px; opacity: .6; }
.zp-dni { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px -2px 10px; padding: 2px; }
.zp-dni::-webkit-scrollbar { display: none; }
.zp-den { flex: 0 0 auto; min-width: 44px; min-height: 52px; border-radius: 12px; border: 1px solid #2E3238; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: #8A9097; line-height: 1.15; }
.zp-den b { font-size: 16px; color: #FFFFFF; font-weight: 700; }
.zp-den[aria-pressed="true"] { border-color: #D4FF2E; background: #202328; }
.zp-den[aria-pressed="true"] b { color: #D4FF2E; }
.zp-sloty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.zp-slot { min-height: 40px; border-radius: 10px; border: 1px solid #2E3238; color: #FFFFFF; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s, color .15s; }
.zp-slot[disabled] { color: #5A6067; background: repeating-linear-gradient(-45deg, #2E3238 0 2px, transparent 2px 7px); border-color: #24272C; cursor: not-allowed; }
.zp-slot.pod { border-color: #D4FF2E; box-shadow: 0 0 0 2px rgba(212, 255, 46, .5); background: rgba(212, 255, 46, .14); }
.zp-slot.svoy { background: #4A5A12; border-color: #4A5A12; color: #FFFFFF; }
.zp-slot[aria-pressed="true"] { background: #D4FF2E; border-color: #D4FF2E; color: #0B0C0E; }
.zp-vybor { display: flex; flex-direction: column; gap: 6px; }

/* тост */
.tost { position: fixed; z-index: 130; left: 50%; bottom: 2rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; background: var(--tekst-s); color: var(--tekst); padding: .7rem .8rem .7rem 1.2rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: .9375rem; border: 1px solid var(--liniya); max-width: calc(100vw - 40px); }
.tost-k { min-height: 36px; padding: 0 .9rem; border-radius: 999px; background: var(--volt); color: var(--tekst-s); font-weight: 600; }

/* ===== 05 ОТЗЫВЫ ===== */
.s5 { height: 100vh; min-height: 600px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--promezh); padding: calc(var(--shapka) + 2rem) var(--pole) 3rem; align-items: center; }
.s5-levo { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 1.4rem; align-self: center; }
.s5-h { font-size: 5vw; }
.s5-reyting { display: flex; flex-direction: column; gap: .4rem; }
.s5-ball { font-family: var(--krik); font-weight: 800; font-size: 6rem; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.s5-iz { color: var(--priglush); font-size: .9375rem; }
.s5-chipy { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--liniya); font-size: .875rem; font-weight: 500; color: var(--priglush); transition: border-color .2s, color .2s, background-color .2s; white-space: nowrap; }
.chip:hover { color: var(--tekst); border-color: var(--priglush); }
.chip[aria-pressed="true"] { background: var(--tekst); border-color: var(--tekst); color: var(--tekst-s); }
.s5-otzyv { grid-column: 4 / 11; padding-left: 2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.s5-zvezdy { display: flex; gap: 6px; }
.s5-zvezdy svg { width: 16px; height: 16px; fill: var(--volt); }
.s5-zvezdy svg.pust { fill: var(--liniya); }
.s5-tekst { position: relative; font-family: var(--smysl); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 3rem); line-height: 1.3; letter-spacing: -.015em; max-width: 26em; }
.s5-slova { position: relative; z-index: 1; }
.s5-slova .kl { position: relative; transition: color .12s; }
.s5-slova .kl.pod { color: var(--tekst-s); }
.s5-plashka { position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; background: var(--volt); border-radius: 6px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .6); transform: rotate(-2.5deg); opacity: 0; pointer-events: none; }
.s5-avtor { display: flex; flex-direction: column; gap: .4rem; }
.s5-avtor-lenta { font-family: var(--krik); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; text-transform: uppercase; max-width: 26rem; line-height: 1.05; }
.s5-avtor-pod { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--priglush); }
.s5-otvet { background: var(--pov); border-radius: 12px; padding: 1rem 1.25rem; max-width: 40rem; display: flex; flex-direction: column; gap: .4rem; border-left: 3px solid var(--volt); }
.s5-otvet-t { font-size: 1rem; line-height: 1.45; }
.s5-nav { grid-column: 11 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 1.25rem; padding-right: 2.5rem; }
.s5-schet { font-family: var(--mono); font-size: .875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.s5-strelki { display: flex; gap: .6rem; }
.s5-strelka { width: 3.5rem; height: 3.5rem; min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid var(--liniya); font-size: 1.25rem; transition: border-color .2s, background-color .2s, color .2s; }
.s5-strelka:hover { border-color: var(--volt); background: var(--volt); color: var(--tekst-s); }

/* ===== 06 КОНТАКТЫ ===== */
.s6 { height: 100vh; min-height: 640px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--promezh); padding: calc(var(--shapka) + 1rem) var(--pole) 0; }
.s6-levo { grid-column: 1 / 6; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: 1rem 0; }
.s6-h { font-size: 5.6vw; margin-bottom: .3rem; }
.s6-ulica { font-family: var(--krik); font-weight: 800; font-size: 2.25rem; letter-spacing: -.03em; line-height: 1.05; }
.s6-vhod { color: var(--priglush); margin-top: .4rem; font-size: .9375rem; }
.s6-adres { font-style: normal; }
.s6-blok { display: flex; flex-direction: column; gap: .3rem; }
.s6-chasy { font-family: var(--mono); font-size: .875rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.s6-chasy th { text-align: left; font-weight: 400; color: var(--priglush); padding: .1rem 2rem .1rem 0; text-transform: uppercase; }
.s6-chasy td { padding: .1rem 0; }
.s6-mel { color: var(--priglush); font-size: .875rem; line-height: 1.4; }
.s6-tel { font-family: var(--krik); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; text-decoration: none; line-height: 1.1; font-variant-numeric: tabular-nums; }
.s6-tel:hover { color: var(--volt); }
.s6-parkovka b { display: inline-grid; place-content: center; width: 1.4rem; height: 1.4rem; border-radius: 4px; background: var(--tekst); color: var(--tekst-s); font-family: var(--krik); font-size: .8125rem; margin-right: .5rem; vertical-align: 1px; }
.s6-ssylki { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .4rem; }
.s6-ssylki a { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--liniya); border-radius: 10px; text-decoration: none; font-size: .9375rem; font-weight: 500; transition: border-color .2s, background-color .2s; white-space: nowrap; }
.s6-ssylki a:hover { border-color: var(--tekst); background: var(--pov); }
.s6-ssylki svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.s6-pravo { grid-column: 6 / 13; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 1rem 2.5rem 1rem 1.5rem; min-height: 0; }
.s6-sposoby { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.s6-sposob { text-align: left; display: flex; flex-direction: column; gap: .2rem; padding: .7rem 1rem; border-radius: 10px; border: 1px solid var(--liniya); min-height: 44px; transition: border-color .2s, background-color .2s; }
.s6-sposob[aria-selected="true"] { border-color: var(--volt); background: var(--pov); }
.s6-sp-n { font-weight: 600; font-size: .9375rem; }
.s6-sp-m { font-family: var(--mono); font-size: .75rem; color: var(--priglush); letter-spacing: .04em; }
.s6-sposob[aria-selected="true"] .s6-sp-m { color: var(--volt); }
.s6-shema { position: relative; border: 1px solid var(--liniya); border-radius: 14px; overflow: hidden; background: #0E0F12; min-height: 0; flex: 0 1 auto; }
.shema { display: block; width: 100%; height: auto; max-height: calc(100vh - var(--shapka) - 12rem); }
.sh-kvartaly rect { fill: #121417; stroke: #2E3238; stroke-width: 1; }
.sh-doma rect { fill: #17191D; stroke: none; }
.sh-zal-dom { fill: #202328; stroke: #8A9097; stroke-width: 1; }
.sh-parkovka { fill: none; stroke: #2E3238; stroke-width: 1; stroke-dasharray: 3 3; }
.sh-p { font-family: var(--krik); font-weight: 800; font-size: 20px; fill: #8A9097; text-anchor: middle; }
.sh-zal-t { font-family: var(--krik); font-weight: 800; font-size: 12px; fill: #F1F3F2; letter-spacing: -.02em; }
.sh-zal-t2 { font-family: var(--mono); font-size: 10px; fill: #8A9097; }
.sh-vhod { fill: #D4FF2E; }
.sh-ulicy text { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: #5C636B; }
.sh-podp { font-family: var(--mono); font-size: 11px; fill: #C9CED2; letter-spacing: .02em; }
.sh-metro circle { fill: #F1F3F2; }
.sh-metro > text:first-of-type { font-family: var(--krik); font-weight: 800; font-size: 14px; fill: #0B0C0E; }
.sh-ostanovka rect { fill: none; stroke: #C9CED2; stroke-width: 1.5; }
.sh-ostanovka path { stroke: #C9CED2; stroke-width: 1.5; }
.sh-sever path { fill: #8A9097; }
.sh-sever text { font-family: var(--mono); font-size: 12px; fill: #8A9097; }
.sh-put { stroke: #2E3238; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.sh-put.akt { stroke: #D4FF2E; stroke-dasharray: 6 8; }
.sh-metka-k { fill: rgba(212, 255, 46, .2); stroke: #D4FF2E; stroke-width: 1; }
.sh-metka circle + circle { fill: #D4FF2E; }
.podval { grid-column: 1 / 13; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.1rem 0 1.4rem; border-top: 1px solid var(--liniya); font-size: .8125rem; color: var(--priglush); }
.podval-pol { text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.podval-pol:hover { color: var(--tekst); }

/* окно политики */
.politika { max-width: min(36rem, calc(100vw - 40px)); border: 0; border-radius: 16px; padding: 2rem; background: var(--mel); color: var(--tekst-s); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.politika::backdrop { background: rgba(11, 12, 14, .7); }
.politika.zapasnoe { position: fixed; z-index: 140; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
.politika h2 { font-family: var(--krik); font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.05; margin: .5rem 0 1rem; }
.politika p { line-height: 1.5; }
.politika .kiker { color: var(--priglush-s); }
.politika-knopki { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.politika-x { position: absolute; right: 1rem; top: 1rem; width: 44px; height: 44px; border-radius: 50%; }
.politika-x:hover { background: #E2E5E6; }
.politika-itog { margin-top: 1rem; font-size: .9375rem; font-weight: 600; min-height: 1.5em; }

/* фокус-сцена: заголовок с tabindex=-1 без рамки */
[tabindex="-1"]:focus { outline: none; }

/* ======== средние экраны: проверено на 1280×720 ======== */
@media (max-height: 760px) and (min-width: 901px) {
  .s2-levo { gap: 1.1rem; }
  .s2-fakty dd { font-size: 2.5rem; }
  .s2-tab { min-height: 2.5rem; }
  .s4-levo { gap: 1rem; }
  .s4-tab { padding: .55rem 0; }
  .s6-levo { gap: .8rem; }
  .s6-ulica { font-size: 1.875rem; }
  .s6-tel { font-size: 1.625rem; }
  .s1-fakty .fakt-ch { font-size: 2.25rem; }
  .s1-verh { gap: 1.1rem; top: calc(var(--shapka) + 1.25rem); }
}

/* ======== телефон и узкие экраны ======== */
@media (max-width: 900px) {
  :root { --pole: 20px; --promezh: 12px; --shapka: 64px; }
  html { font-size: 16px; }
  .menu, .grif, .rezhim { display: none !important; }
  .burger { display: block; }
  .logo-pod { display: none; }
  .shapka { background: linear-gradient(to bottom, rgba(11, 12, 14, .85), rgba(11, 12, 14, 0)); }
  .shapka::before { display: none; }
  .shapka-cta { padding: .6rem 1rem; font-size: .875rem; min-height: 44px; }
  .shapka-pravo { gap: .5rem; }
  .lid { font-size: 1.125rem; }
  .scena { height: auto !important; min-height: 0 !important; }

  .s1 { height: auto !important; display: flex; flex-direction: column; padding-bottom: 1rem; }
  .s1-foto { position: relative; inset: auto; height: 68svh; min-height: 420px; flex: 0 0 auto; }
  .s1-foto img { object-position: 50% 50%; }
  .s1-ten { bottom: auto; height: 68svh; min-height: 420px; background: linear-gradient(to top, rgba(11, 12, 14, 1) 0, rgba(11, 12, 14, .55) 26%, rgba(11, 12, 14, 0) 50%), linear-gradient(to bottom, rgba(11, 12, 14, .6) 0, rgba(11, 12, 14, 0) 24%); }
  .s1-pyl { display: none; }
  .s1-verh { position: relative; left: auto; top: auto; width: auto; padding: 1.25rem var(--pole) 0; gap: 1rem; }
  .s1-knopki { flex-direction: column; align-items: stretch; gap: .5rem; }
  .s1-knopki .knopka { width: 100%; }
  .s1-knopki .knopka-tekst { justify-content: center; }
  .s1-fakty { gap: 1rem; justify-content: space-between; margin-top: .25rem; }
  .s1-fakty .kiker { font-size: .625rem; letter-spacing: .1em; }
  .s1-fakty .fakt-ch { font-size: 1.625rem; }
  .s1-metka { margin-left: .9rem; font-size: .625rem; letter-spacing: .1em; }
  .s1-metka b { font-size: 1.25rem; }

  .s2 { padding: calc(var(--shapka) + .5rem) 0 3rem; display: flex; flex-direction: column; }
  .s2-pyatno { display: none; }
  .s2-foto { position: relative; width: 100%; height: 56svh; -webkit-mask-image: none; mask-image: none; order: 2; }
  .s2-levo { position: static; width: auto; padding: 0 var(--pole); display: contents; }
  .s2-levo > .kiker { order: 0; padding: 0 var(--pole) .75rem; }
  .s2-vkladki { order: 1; flex-direction: row; border: 0; gap: .5rem; overflow-x: auto; padding: 0 var(--pole) 1rem; scrollbar-width: none; }
  .s2-vkladki::-webkit-scrollbar { display: none; }
  .s2-tab { flex: 0 0 auto; min-height: 44px; padding: 0 1rem; border: 1px solid var(--liniya); border-radius: 999px; gap: .5rem; font-size: .9375rem; }
  .s2-tab[aria-selected="true"] { border-color: var(--accent); }
  .s2-tochka, .s2-cherta { display: none; }
  .s2-panel { order: 3; padding: 1.25rem var(--pole) 0; gap: 1rem; }
  .s2-h { font-size: 15vw; }
  .s2-lid { font-size: 1.0625rem; min-height: 0; }
  .s2-fakty { gap: .75rem; justify-content: space-between; }
  .s2-fakty dd { font-size: 1.75rem; }
  .s2-fakty .kiker { font-size: .625rem; letter-spacing: .08em; }
  .s2-abonement { order: 4; padding: 1.25rem var(--pole) 0; font-size: .75rem; }

  .s3 { padding: calc(var(--shapka) + .5rem) 0 2.5rem; }
  .s3-shapka { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 1rem; max-width: none; padding: 0 var(--pole) 1.5rem; pointer-events: auto; }
  .s3-lid { max-width: none; }
  .s3-h { font-size: 17vw; }
  .s3-kolonki { position: static; flex-direction: column; gap: .75rem; padding: 0 var(--pole); }
  .s3-kol { flex: none !important; display: grid; grid-template-columns: 120px 1fr; gap: 1rem; border: 1px solid var(--liniya) !important; border-radius: 12px; padding: .6rem; background: var(--pov); width: auto !important; }
  .s3-kol::after { display: none; }
  .s3-foto { position: relative; width: 120px; height: 160px; border-radius: 8px; overflow: hidden; }
  .s3-cvet { opacity: 1 !important; }
  .s3-duo { display: none; }
  .s3-niz { position: static; justify-content: center; }
  .s3-imya { font-size: 1.375rem; white-space: normal; }
  .s3-spec { font-size: .9375rem; }
  .s3-esche { height: auto !important; opacity: 1 !important; }
  .s3-tegi { display: none; }
  .s3-otkryt { min-height: 44px; padding: .55rem 1rem; font-size: .875rem; }
  .s3-list { position: fixed; z-index: 70; top: auto; bottom: 0; left: 0; right: 0; width: 100% !important; height: 92svh; border-radius: 20px 20px 0 0; border-left: 0; border-top: 1px solid var(--liniya); }
  .s3-list::before { display: none; }
  .s3-list-telo { padding: 1.5rem 20px 3rem; }
  .s3-zakryt { top: .75rem; right: 14px; }
  .pr-imya { font-size: 2.5rem; }
  .rasp-dni { grid-template-columns: repeat(7, 4.4rem); overflow-x: auto; padding-bottom: .5rem; }
  .forma-ryad { grid-template-columns: 1fr; }

  .s4 { padding: calc(var(--shapka) + .5rem) var(--pole) 3rem; }
  .s4-levo { position: static; width: auto; gap: 1rem; padding: 0; }
  .s4-h { font-size: 15vw; }
  .s4-vkladki { flex-direction: row; overflow-x: auto; border: 0; gap: 0; background: #E2E5E6; border-radius: 12px; padding: 3px; scrollbar-width: none; }
  .s4-tab { display: flex; flex: 1 0 auto; justify-content: center; padding: 0 .9rem; min-height: 44px; align-items: center; border: 0; border-radius: 9px; }
  .s4-tab .nomer, .s4-tab-p { display: none; }
  .s4-tab-n { font-size: .9375rem; }
  .s4-tab[aria-selected="true"] { background: #FFFFFF; box-shadow: 0 1px 3px rgba(11, 12, 14, .15); }
  .s4-tab[aria-selected="true"]::before { display: none; }
  .s4-primech { order: 9; }
  .s4-scena { position: relative; left: auto; top: auto; margin-top: 1.25rem; }
  .s4-scena::before { display: none; }
  .s4-masshtab { position: relative; width: 100%; height: auto; top: auto; transform: none !important; }
  .s4-korpus { display: none; }
  .ekran { position: relative; width: 100%; height: auto; border-radius: 24px; border: 1px solid #D9DDDF; display: none; transform: none !important; opacity: 1 !important; filter: none !important; }
  .ekran.akt { display: flex; }
  .e-telo { overflow: visible; }
  .e-panel { display: none; }
  .e-list { position: fixed; z-index: 80; border-radius: 22px 22px 0 0; max-height: 82svh; }
  .e-zatemn { position: fixed; z-index: 79; }
  .kal-dob { position: static; }
  .tr-otdyh { position: sticky; bottom: 12px; }

  .s5 { display: flex; flex-direction: column; align-items: stretch; gap: 1.75rem; padding: calc(var(--shapka) + .5rem) var(--pole) 3rem; }
  .s5-h { font-size: 15vw; }
  .s5-ball { font-size: 4.5rem; }
  .s5-chipy { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pole)); padding: 0 var(--pole); scrollbar-width: none; }
  .s5-chipy::-webkit-scrollbar { display: none; }
  .chip { min-height: 44px; }
  .s5-levo { align-self: stretch; min-width: 0; }
  .s5-otzyv { padding: 0; min-width: 0; }
  .s5-tekst { font-size: 1.375rem; }
  .s5-nav { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 0; }
  .s5-strelka { width: 52px; height: 52px; }

  .s6 { display: flex; flex-direction: column; padding: calc(var(--shapka) + .5rem) var(--pole) 0; gap: 1.5rem; }
  .s6-levo { order: 2; padding: 0; gap: 1rem; }
  .s6-pravo { order: 1; padding: 0; }
  .s6-levo > .kiker, .s6-h { display: none; }
  .s6-pravo::before { content: ''; }
  .s6-ulica { font-size: 1.75rem; }
  .s6-ssylki { grid-template-columns: 1fr 1fr; }
  .s6-sposoby { grid-template-columns: 1fr; }
  .shema { max-height: none; }
  .podval { order: 3; margin: 1rem calc(-1 * var(--pole)) 0; padding: 1.25rem var(--pole) 2rem; flex-direction: column; }
  .s6-mob-zag { display: block !important; }
  .tost { bottom: 1rem; }
}
.s6-mob-zag { display: none; }
@media (max-width: 380px) {
  .s1-fakty .fakt-ch { font-size: 1.375rem; }
  .s2-fakty dd { font-size: 1.5rem; }
  .shapka-cta { padding: .55rem .8rem; }
}

/* облегчённый режим: без фильтров, без смазов и бесконечных циклов */
html.lite .s2-foto { -webkit-mask-image: none; mask-image: none; }
html.lite .s2-zhivoe { display: none; }
html.lite .ekran { filter: none !important; }

@supports not (aspect-ratio: 1 / 1) {
  .s3-foto::before { content: ''; display: block; padding-top: 150%; }
}
.nw { white-space: nowrap; }

/* 4.4 дополнения: новая запись, перетаскивание, подсказки */
.zp-spisok { display: flex; flex-direction: column; }
.zp-nov.e-knopka-blok { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #0B0C0E; }
.zp-nov.e-knopka-blok:hover { border-color: #0B0C0E; }
.zp-pravila { padding: 2px 4px 8px; }
.zp-vopros { font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.zp-varianty { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.zp-var { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #C9CED2; font-size: 13px; font-weight: 600; color: #0B0C0E; }
.zp-var[aria-pressed="true"] { background: #0B0C0E; border-color: #0B0C0E; color: #FFFFFF; }
.zp-tyomnoe { background: #0B0C0E; border-radius: 16px; padding: 2px 12px 12px; margin-bottom: 12px; }
.zp-chip.tashchat { box-shadow: 0 14px 30px rgba(0, 0, 0, .5), 0 0 0 2px #FFFFFF; }
.zp-perenos .e-ssylka { margin-top: 8px; }
.dt-podskazka { padding: 0 4px 6px; }
.dt-stolb { background: none; }

.tr-otdyh .e-knopka { white-space: nowrap; }
.tr-otdyh-t { min-width: 0; }
