/* «Голоса книг» (P124 этап А): стиль сайта - research/p120-mockups/b2/b2.css (направление Б, второй круг) почти без
   изменений; в конце - добавки настоящих страниц (шрифты со своего домена, главы под «Все N глав», заглушка обложки,
   кнопки плеера на телефоне). Шрифты: Lora и Golos Text, OFL (fonts/OFL-*.txt, fonts/SOURCES.txt), cyrillic и latin. */
@font-face { font-family: 'Lora'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/lora-cyrillic-wght-normal.woff2) format('woff2-variations'), url(fonts/lora-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Lora'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/lora-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/lora-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2-variations'), url(fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/golos-text-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/golos-text-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* P126 (владелец 19.11: «почему плеер чёрным остался? Светлую же тему… светло-бежевое»): бумажная гамма на всём
     сайте. Верхняя полоса с обложкой и плеером - та же бумага на тон темнее, плеер в ней - светлая карточка. Тёмной
     остаётся только плитка (--tile): знак «Гк», главная кнопка запуска, заглушка обложки. */
  --bg: #F5F0E6;
  --surface: #FCF9F2;
  --ink: #1F1A14;
  --ink-2: #5C5245;
  --line: #DDD3C1;
  --chip: #ECE4D5;
  --lime: #CBEF4A;
  --on-lime: #111210;
  --lime-ink: #465E00;
  /* P129 (владелец 19.11: «почему они чёрные, если весь стиль бежевый?»): чёрных заливок на сайте нет. Главные кнопки
     (запуск, «Продолжить»), активная вкладка, метка выбранной строки и текущая глава - умбра --accent со светлым
     значком --on-accent; заглушка обложки и знак чтеца - тёмная бумага --ph с чернильными буквами. Знак сайта «Гк» -
     та же умбра (иконки сайта перерисованы в тех же цветах). Лайм и --tile больше не используются в правилах. */
  --accent: #74552F;
  --on-accent: #FCF9F2;
  --ph: #D3C7AE;
  --tile: #1B1912;
  --tile-ink: #F5F0E6;
  --band: #EDE5D4;
  --band-ink: #1F1A14;
  --band-ink-2: #5C5245;
  --band-line: #CFC4AE;
  --band-edge: #85775F;
  --band-chip: #FCF9F2;
  --band-sel: #E0D5BC;
  --strip: #C2B59C;
  --strip-2: #AD9F85;
  --sel: #EBE2CC;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --wrap: 1200px;
  --pad: 40px;
  --label: 240px;
  color-scheme: light;
}
/* P124, проход E: сайт всегда в светлой теме (владелец 18.11: тёмная «неприятная»); правил тёмной темы нет.
   P126: и тёмной полосы нет - имена --band-* остались, значения светлые. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); padding-bottom: 88px; }
body.no-dock { padding-bottom: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--ink-2); }
.nw { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.m-only { display: none !important; }
.m-block { display: none; }
.serif { font-family: var(--serif); }

/* ---------- Шапка ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { font: 700 23px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.pills { display: flex; gap: 4px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.pill:hover { background: var(--chip); }
.pill[aria-current] { background: var(--accent); color: var(--on-accent); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--chip); border-radius: 999px; padding: 0 4px 0 18px; width: 360px; }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 400 15px var(--sans); color: var(--ink); }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.ico { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; color: inherit; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Верхняя полоса (до P126 тёмная) ---------- */
.band { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--line); }
.band a { color: var(--band-ink); }
.band .muted { color: var(--band-ink-2); }
.band-in { display: grid; grid-template-columns: var(--label) 1fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.cover { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; display: block; border-radius: 8px; background: var(--band-chip); }
.kicker { font: 500 14px var(--sans); letter-spacing: .02em; color: var(--band-ink-2); margin: 0 0 8px; }
.band h1 { font: 600 48px/1.08 var(--serif); letter-spacing: -.01em; margin: 0; }
.band h1.sans { font-family: var(--sans); font-weight: 700; letter-spacing: -.02em; }
.by { font-size: 19px; margin: 10px 0 0; }
.by a { text-decoration-color: var(--band-ink-2); }
.meta { margin: 8px 0 0; color: var(--band-ink-2); font-size: 15px; }

/* плеер. P130 (владелец 19.11: «Где ползунок перемотки? Почему вместо него главы?»): карточка плеера и сразу под
   ней главы - один блок (.listen); вместо полосы глав - ползунок позиции в текущей главе. */
.listen { background: var(--band-chip); border-radius: 16px; padding: 18px 20px 16px; min-width: 0; }
.player { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
.pl-top { display: flex; align-items: center; gap: 18px; min-width: 0; }
.pl-play { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; text-decoration: none; }
/* значки без сдвига: треугольник в своём viewBox уже уравновешен (центр масс левее середины, край - правее), а пауза
   симметрична - прежний margin-left уводил её вправо (владелец 19.11: «кнопки стоп и плей не отцентрованы») */
.pl-play svg { width: 26px; height: 26px; fill: currentColor; }
/* кнопка-ссылка (чтец, серия) стоит в полосе, где у ссылок цвет текста полосы: значок остаётся лаймовым на плитке */
.band a.pl-play, .hero a.pl-play, .dock a.pl-play { color: var(--on-accent); }
.pl-now { flex: 1; min-width: 0; }
.pl-now .t { font: 700 20px/1.25 var(--sans); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pl-now .t .tm { font-weight: 500; font-size: 16px; color: var(--band-ink-2); font-variant-numeric: tabular-nums; }
.pl-now .s { color: var(--band-ink-2); font-size: 15px; margin-top: 3px; }
.pl-ctl { display: flex; gap: 6px; }
.pl-ctl button { min-width: 48px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--band-edge); background: transparent; color: var(--band-ink); cursor: pointer; font: 500 15px var(--sans); }
.player .pl-ctl { grid-row: 1; grid-column: 2; }
.player .seek-row, .player .seek-cap { grid-column: 1 / -1; }
/* ползунок: дорожка 6 px (пройдено - --accent, остаток - --strip), бегунок 20 px, зона касания - строка 44 px.
   Указатель принимает .seek-box (static/golosa/app.js): на iOS сам input двигается только за бегунок. */
.seek-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-width: 0; }
.sk-cur, .sk-dur { flex: none; min-width: 3.3em; font: 500 14px/1 var(--sans); color: var(--band-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk-dur { text-align: right; }
.seek-box { position: relative; flex: 1 1 auto; min-width: 0; height: 44px; display: flex; align-items: center; cursor: pointer;
  touch-action: pan-y; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.seek { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0; background: transparent;
  pointer-events: none; color: var(--accent); }
.seek:focus { outline: none; }
.seek:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.seek:disabled { opacity: .5; }
.seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), var(--strip) var(--p)); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--band-chip); box-shadow: 0 1px 3px rgba(31,26,20,.35); }
.seek::-moz-range-track { height: 6px; border-radius: 3px; background: var(--strip); }
.seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.seek::-moz-range-thumb { box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 2px solid var(--band-chip); box-shadow: 0 1px 3px rgba(31,26,20,.35); }
.seek-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 0; font-size: 13px; line-height: 18px; color: var(--band-ink-2); font-variant-numeric: tabular-nums; }
.seek-cap > * { min-width: 0; }
/* главы - в той же карточке, сразу под плеером */
.chap-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 14px 0 4px; }
.chap-h h2 { font: 700 17px/1.3 var(--sans); margin: 0; }
.chap-h .chap-head { margin: 0; font-size: 14px; color: var(--band-ink-2); }
/* шапка полосы: строка «на сайте с …» одной записи и «Поделиться» */
.w-info { margin: 6px 0 0; color: var(--band-ink-2); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.w-share { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; margin-top: 10px; }
.share-a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0; padding: 0 2px; border: 0; background: transparent; color: var(--band-ink);
  font: 500 15px var(--sans); cursor: pointer; text-decoration: underline; text-decoration-color: var(--band-ink-2); text-underline-offset: 3px; }
.share-a svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* полоса произведения: компьютер - обложка слева, справа шапка и плеер с главами; список нескольких записей - на всю
   ширину между шапкой и плеером */
.w-band { grid-template-columns: var(--label) minmax(0, 1fr); column-gap: 40px; row-gap: 28px; }
.w-band > .w-top { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.w-band > .w-head { grid-column: 2; grid-row: 1; min-width: 0; }
.w-band > .listen { grid-column: 2; grid-row: 2; }
.w-band.w-multi > .w-top { grid-row: 1; }
.w-band.w-multi > .recs-wrap { grid-column: 1 / -1; grid-row: 2; }
.w-band.w-multi > .listen { grid-row: 3; }
.gbtn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--band-edge); background: transparent; color: var(--band-ink); font: 500 15px var(--sans); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }

/* единый список записей (в полосе, на всю её ширину) */
.recs-wrap { grid-column: 1 / -1; border-top: 1px solid var(--band-line); padding-top: 22px; }
.recs-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.recs-h h2 { font: 700 20px var(--sans); margin: 0; }
.recs-h span { color: var(--band-ink-2); font-size: 15px; }
.recs { width: 100%; border-collapse: collapse; }
.recs th { text-align: left; font: 500 14px var(--sans); color: var(--band-ink-2); padding: 0 16px 10px 0; border-bottom: 1px solid var(--band-ink-2); white-space: nowrap; vertical-align: bottom; height: 44px; }
.recs th button { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: flex-end; margin-top: -24px; }
.recs th button[aria-sort] { color: var(--band-ink); font-weight: 600; }
.recs td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--band-line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.recs td:first-child, .recs th:first-child { padding-left: 16px; }
.recs td:last-child, .recs th:last-child { padding-right: 8px; text-align: right; width: 64px; }
.recs .r { text-align: right; }
.recs tbody tr { cursor: pointer; }
.recs tr.sel td { background: var(--band-sel); }
.recs tr.sel td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.recs .nm { font-weight: 600; font-size: 16px; }
.recs .nm small { display: block; font-weight: 400; font-size: 14px; color: var(--band-ink-2); }
.recs .cur-tag { display: inline-block; font: 600 13px var(--sans); color: var(--lime-ink); margin-left: 8px; }
.recs .low { color: var(--band-ink-2); }
.recs td.m-cell { display: none; }
.frag-line { margin: 14px 0 0; font-size: 15px; color: var(--band-ink-2); }
.notes { margin: 8px 0 0; font-size: 14px; color: var(--band-ink-2); line-height: 1.55; }
.rplay { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--band-ink); background: transparent; color: var(--band-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.rplay svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Разделы: подпись слева, содержимое справа ---------- */
.row { display: grid; grid-template-columns: var(--label) 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.row:first-child, .row[hidden]:first-child + .row { border-top: 0; }
.row > header h2 { font: 700 20px/1.25 var(--sans); letter-spacing: -.01em; margin: 0; }
.row > header p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.row > header .lnk { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; margin-top: 2px; }
.row-c { min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 15px var(--sans); cursor: pointer; text-decoration: none; color: var(--ink); }
.seg { display: inline-flex; gap: 4px; background: var(--chip); padding: 4px; border-radius: 999px; margin-bottom: 14px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font: 500 15px var(--sans); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.more-btn { margin-top: 14px; }

/* строки-записи */
.items { list-style: none; margin: 0; padding: 0; }
.it { display: grid; grid-template-columns: 72px 1fr auto 48px; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.it:first-child { padding-top: 0; }
.it img { width: 72px; height: 108px; object-fit: cover; border-radius: 6px; display: block; background: var(--chip); }
.it-t { font-weight: 600; font-size: 17px; line-height: 1.3; text-decoration: none; }
.it-t:hover { text-decoration: underline; }
.it-s { color: var(--ink-2); font-size: 15px; line-height: 1.4; margin-top: 2px; }
.it-n { font-size: 15px; margin-top: 2px; }
.it-n a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin: -11px 0; }
.it-n a:hover { text-decoration: underline; }
.it-r { text-align: right; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.it-r b { display: block; color: var(--ink); font-weight: 600; }
.it-m { display: none; }
.pbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.pbtn svg { width: 15px; height: 15px; fill: currentColor; }
.pbtn:hover { background: var(--accent); color: var(--on-accent); }
.it.vol { grid-template-columns: 32px 44px 1fr auto 48px; }
.it.vol img { width: 44px; height: 66px; }
.vol-n { font: 600 20px var(--serif); text-align: center; }
.it.cur { background: var(--sel); box-shadow: inset 4px 0 0 var(--accent); border-radius: 0 8px 8px 0; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-bottom-color: transparent; }
.tag { display: inline-block; font: 600 14px var(--sans); color: var(--ink-2); margin-left: 8px; }

/* главная */
.hero { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--line); }
/* P128: заголовок, строка чисел, поиск и полка обложек - друг под другом (раньше подпись слева и четыре крупные цифры) */
.hero-in { padding-top: 40px; padding-bottom: 44px; }
.hero-h { font: 600 40px/1.12 var(--serif); letter-spacing: -.01em; margin: 0; }
.hero-f { margin: 12px 0 0; color: var(--band-ink-2); font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.hero .search { margin: 22px 0 0; width: auto; max-width: 640px; background: var(--band-chip); }
.hero .search input { color: var(--band-ink); height: 52px; font-size: 17px; }
.hero .search input::placeholder { color: var(--band-ink-2); }
.cont { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.cont img { width: 56px; height: 84px; object-fit: cover; border-radius: 6px; display: block; }
.cont .t { font: 600 19px/1.25 var(--serif); }
.cont .s { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.cont .bar { height: 4px; background: var(--chip); border-radius: 2px; margin-top: 10px; max-width: 420px; }
.cont .bar i { display: block; height: 4px; width: 11%; background: var(--accent); border-radius: 2px; }
.cont-play { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 16px var(--sans); text-decoration: none; }
.cont-play svg { width: 16px; height: 16px; fill: currentColor; color: var(--on-accent); }
.works { list-style: none; margin: 0; padding: 0; }
.work-it { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.work-it:first-child { padding-top: 0; }
.work-it img { width: 56px; height: 84px; object-fit: cover; border-radius: 6px; display: block; background: var(--chip); }
.work-it .it-t { font: 600 19px/1.25 var(--serif); }
.voices-txt { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.voices-txt b { color: var(--ink); font-weight: 600; }
.count-big { font: 700 28px/1 var(--sans); text-align: right; }
.count-big small { display: block; font: 400 14px var(--sans); color: var(--ink-2); margin-top: 6px; }
.narrs { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.narr { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.narr .n { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin: -10px 0; }
.narr .s { font-size: 15px; color: var(--ink-2); }
.narr .c { margin-left: auto; font: 700 20px var(--sans); font-variant-numeric: tabular-nums; }

/* главы */
.chaps { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.ch { display: flex; align-items: center; gap: 14px; min-height: 48px; border-bottom: 1px solid var(--line); break-inside: avoid; padding: 0 12px 0 0; }
.ch .n { width: 30px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; flex: none; }
.ch .d { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ch.cur { background: var(--sel); box-shadow: inset 4px 0 0 var(--accent); font-weight: 600; }
.prose { max-width: 680px; font-size: 18px; line-height: 1.65; margin: 0; }

/* чтец, серия */
.np-n { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 22px 0 0; }
.np-n dd { margin: 0; font: 700 34px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.np-n dt { color: var(--band-ink-2); font-size: 15px; margin-top: 6px; }
.band h1 + .np-n { margin-top: 18px; }
.lead-play { display: flex; align-items: center; gap: 16px; margin-top: 24px; background: var(--band-chip); border-radius: 16px; padding: 14px 18px 14px 14px; max-width: 760px; }
.lead-play .pl-play { width: 60px; height: 60px; }
.lead-play .pl-play svg { width: 22px; height: 22px; }
.lead-play .t { font-weight: 700; font-size: 17px; }
.lead-play .s { color: var(--band-ink-2); font-size: 15px; }
.abars { list-style: none; margin: 0; padding: 0; }
.abar { display: grid; grid-template-columns: 300px 1fr 110px; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.abar .a { font-weight: 600; }
.abar .a small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.abar .b { display: flex; align-items: center; gap: 10px; font: 700 17px var(--sans); }
.abar .b i { display: block; height: 10px; border-radius: 5px; background: var(--accent); }
.abar .h { text-align: right; color: var(--ink-2); font-size: 15px; }
.vgrid { list-style: none; margin: 0; padding: 0; }
.vg { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.vg .n { font-weight: 600; }
.vg .s { color: var(--ink-2); font-size: 15px; }

/* служебные страницы */
.doc { max-width: 760px; padding: 48px 0 24px; }
.doc h1 { font: 600 44px/1.1 var(--serif); margin: 0 0 8px; }
.doc .lede { color: var(--ink-2); font-size: 17px; margin: 0 0 12px; }
.doc section { border-top: 1px solid var(--line); padding: 24px 0; }
.doc h2 { font: 700 21px var(--sans); margin: 0 0 10px; }
.draft { border: 1.5px dashed var(--ink-2); border-radius: 12px; padding: 14px 16px; color: var(--ink-2); font-size: 15px; }
.draft b { color: var(--ink); }
.doc .contact { font-size: 18px; font-weight: 600; }
.e404 { padding: 72px 0 40px; max-width: 760px; }
.e404 .code { font: 700 15px var(--sans); color: var(--ink-2); letter-spacing: .04em; }
.e404 h1 { font: 600 48px/1.1 var(--serif); margin: 8px 0 18px; }
.e404 .search { margin: 0 0 22px; width: auto; max-width: 560px; background: var(--chip); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }

/* закреплённый плеер. P130 (владелец 19.11, iPhone 17: «у неё обрублены нижние углы из-за закругления экрана»): не
   парящая таблетка, а полоса вдоль низа экрана на всю ширину - фон до самого низа, содержимое над полосой «домой» и
   в стороне от вырезов (safe-area), сверху линия и полоса хода главы; на компьютере содержимое по центру. */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); border-radius: 0;
  padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right));
  box-shadow: 0 -6px 18px rgba(31,26,20,.10); }
.dock-prog { position: absolute; left: 0; right: 0; top: -1px; height: 3px; pointer-events: none; }
.dock-prog i { display: block; width: 0; height: 100%; background: var(--accent); }
.dock-in { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.dock .pl-play { width: 48px; height: 48px; }
.dock .pl-play svg { width: 18px; height: 18px; }
.dock-t { flex: 1; min-width: 0; }
.dock-t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-t span { display: block; color: var(--band-ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .dock-skip { flex: none; }
@media (max-width: 599px) {
  .dock .dock-skip { display: none; }
}

/* подвал */
.foot { margin-top: 24px; border-top: 1px solid var(--line); padding: 20px 0 30px; color: var(--ink-2); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Планшет ---------- */
@media (max-width: 1100px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
  .listen .chaps { columns: 1; }
  .row > .d-only { display: none; }
  .recs th:nth-child(2), .recs td:nth-child(3), .recs th:nth-child(5), .recs td:nth-child(6) { display: none; }
  .recs td, .recs th { padding-right: 12px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 720px) {
  :root { --pad: 16px; }
  body { padding-bottom: 84px; font-size: 16px; }
  .m-only { display: inline-flex !important; }
  .m-block { display: block; }
  .d-only { display: none !important; }
  .top-in { min-height: 56px; gap: 6px; flex-wrap: wrap; }
  .brand { font-size: 21px; }
  .top .search { display: none; }
  .top .ico.m-only { margin-left: auto; }
  .pills { order: 3; width: 100%; gap: 2px; margin: 0 -8px 4px; }
  .pill { padding: 0 12px; font-size: 15px; }
  .band-in, .hero-in, .row { grid-template-columns: 1fr; gap: 14px; }
  .row { padding: 26px 0; }
  .band-in { padding-top: 18px; padding-bottom: 22px; }
  .w-top { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; }
  .band h1 { font-size: 26px; }
  .by { font-size: 16px; margin-top: 4px; }
  .kicker { font-size: 14px; margin-bottom: 4px; }
  .meta { font-size: 14px; }
  .listen { padding: 12px 12px 14px; border-radius: 14px; }
  .player { grid-template-columns: minmax(0, 1fr); }
  .player .pl-ctl { grid-row: auto; grid-column: 1; margin-top: 6px; }
  .pl-top { gap: 12px; }
  .pl-play { width: 56px; height: 56px; }
  .pl-play svg { width: 20px; height: 20px; }
  .pl-now .t { font-size: 17px; gap: 8px; }
  .pl-now .t .tm { font-size: 15px; }
  .pl-now .s { font-size: 14px; }
  .seek-row { margin-top: 8px; gap: 10px; }
  .sk-cur, .sk-dur { font-size: 13px; min-width: 3.1em; }
  .w-band, .w-band.w-multi { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .w-band > .w-top, .w-band > .w-head, .w-band > .listen, .w-band.w-multi > .w-top, .w-band.w-multi > .recs-wrap, .w-band.w-multi > .listen { grid-column: 1; grid-row: auto; }
  /* «Поделиться» на телефоне - в конце строки жанров (или под ней, если не помещается): плеер ближе к первому экрану */
  .w-head { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
  .w-head > * { flex: 1 1 100%; min-width: 0; }
  .w-head > .meta { order: 1; flex: 0 1 auto; margin-top: 0; }
  .w-head > .w-share { order: 2; flex: 0 0 auto; margin-top: 0; }
  .w-head > .w-info { order: 3; font-size: 14px; margin-top: 2px; }
  .chap-h { margin-top: 12px; }
  .recs-wrap { padding-top: 16px; }
  .recs-h h2 { font-size: 18px; }
  .recs-h span { font-size: 14px; }
  .recs thead { display: none; }
  .recs, .recs tbody, .recs tr, .recs td { display: block; width: auto !important; }
  .recs tr { position: relative; padding: 10px 8px 10px 12px; border-bottom: 1px solid var(--band-line); }
  .recs td { padding: 0 !important; border: 0; text-align: left !important; }
  .recs td.c-hide { display: none; }
  .recs td.c-end { position: absolute; right: 4px; top: 6px; }
  .recs td.m-cell { display: block; font-size: 14px; color: var(--band-ink-2); line-height: 1.45; margin-top: 2px; }
  .recs .m-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding-right: 52px; min-height: 32px; }
  .recs .m-top .nm { color: var(--band-ink); font-weight: 600; font-size: 16px; }
  .recs .m-top b { font-weight: 600; color: var(--band-ink); font-size: 15px; white-space: nowrap; }
  .recs tr.sel { background: var(--band-sel); box-shadow: inset 4px 0 0 var(--accent); }
  .recs tr.sel td, .recs tr.sel td:first-child { background: transparent; box-shadow: none; }
  .recs .nm small { display: none; }
  .frag-line, .notes { font-size: 14px; }
  /* P128, второй проход: первый экран короче - обложки полки на 390×844 начинаются выше 350 px */
  .hero-in { padding-top: 14px; padding-bottom: 22px; }
  .hero-h { font-size: 24px; line-height: 28px; letter-spacing: 0; }
  .hero-f { font-size: 14px; line-height: 20px; margin-top: 12px; }
  .hero .search { margin-top: 14px; }
  .hero .search input { height: 48px; font-size: 16px; }
  .cont { grid-template-columns: 48px 1fr; padding: 12px; gap: 12px; }
  .cont img { width: 48px; height: 72px; }
  .cont .t { font-size: 17px; }
  .cont .s { font-size: 14px; }
  .cont-play { grid-column: 1 / -1; justify-content: center; }
  .it { grid-template-columns: 64px 1fr 48px; gap: 12px; align-items: start; }
  .it img { width: 64px; height: 96px; }
  .it-r { display: none; }
  .it-m { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
  .it-s, .it-n { font-size: 14px; }
  .it .pbtn { align-self: center; }
  .it.vol { grid-template-columns: 26px 1fr 48px; }
  .it.vol img { display: none; }
  .work-it { grid-template-columns: 48px 1fr; gap: 12px; }
  .work-it img { width: 48px; height: 72px; }
  .work-it .count-big { display: none; }
  .voices-txt { font-size: 14px; }
  .narrs { columns: 1; }
  .narr .s { font-size: 14px; }
  .chaps { columns: 1; }
  .prose { font-size: 16.5px; }
  .np-n { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .np-n dd { font-size: 26px; }
  .np-n dt { font-size: 14px; }
  .lead-play { margin-top: 16px; padding: 10px 12px 10px 10px; gap: 12px; }
  .lead-play .t { font-size: 16px; }
  .lead-play .s { font-size: 14px; }
  .abar { grid-template-columns: 1fr 72px; gap: 4px 12px; }
  .abar .b { grid-column: 1 / -1; grid-row: 2; }
  .abar .h { grid-row: 1; grid-column: 2; font-size: 14px; }
  .row > header p, .vg .s { font-size: 14px; }
  .doc { padding-top: 28px; }
  .doc h1, .e404 h1 { font-size: 32px; }
  .draft { font-size: 14px; }
  .e404 { padding-top: 40px; }
  .dock-in { gap: 10px; }
  .foot { font-size: 14px; }
}

/* ---------- P124: добавки настоящих страниц ---------- */
[hidden] { display: none !important; }
.cover.ph, .ph { background: var(--band-chip); }
.it .ph, .work-it .ph, .cont .ph { display: block; border-radius: 6px; background: var(--chip); }
.it .ph { width: 72px; height: 108px; }
.it.vol .ph { width: 44px; height: 66px; }
.work-it .ph, .cont .ph { width: 56px; height: 84px; }
.ch-b { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; cursor: pointer; }
.ch-b:focus-visible, .recs tbody tr:focus-visible, .rplay:focus-visible, .pl-play:focus-visible, .pl-ctl button:focus-visible, .gbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ch { padding: 0 12px 0 0; }
.ch .t { min-width: 0; overflow-wrap: anywhere; }
.chaps-more { margin-top: 14px; }
.chaps-more > summary { list-style: none; }
.chaps-more > summary::-webkit-details-marker { display: none; }
.chaps-more[open] > summary { display: none; }
.chaps-more[open] { margin-top: 0; } /* P130: «Все N глав» открыты - список продолжается без зазора */
.chaps-more .chaps { margin-top: 0; }
.rplay { cursor: pointer; font: inherit; }
.pl-play[aria-pressed="true"] svg.i-play, .pl-play:not([aria-pressed="true"]) svg.i-pause { display: none; }
.recs tbody tr[aria-selected="true"] .rplay { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.share-done { color: var(--band-ink-2); font-size: 14px; }
.it .tag { margin-left: 0; }
.foot .brand-s { font: 600 17px var(--serif); color: var(--ink); }
@media (max-width: 720px) {
  .player .pl-ctl button { flex: 1; }
  .it .ph { width: 64px; height: 96px; }
  .it.vol .ph { display: none; }
  .work-it .ph, .cont .ph { width: 48px; height: 72px; }
}
.prose { white-space: pre-line; }
.recs.no-kind th:nth-child(2), .recs.no-kind td:nth-child(3) { display: none; }

/* ---------- P124 этап Б: страницы чтеца, серии, списков, поиска и служебные ---------- */
.band .h1-twin { font: 600 48px/1.08 var(--serif); letter-spacing: -.01em; margin: 0; }
.kick-pad { padding-top: 12px; }
.band-list { padding-bottom: 34px; }
.band .meta a, .lead-play .s a { color: inherit; }
.lead-play .s a { text-decoration: underline; text-underline-offset: 2px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 24px 0 8px; color: var(--ink-2); font-size: 15px; }
.rows-more { margin-top: 14px; }
.rows-more > summary { list-style: none; }
.rows-more > summary::-webkit-details-marker { display: none; }
.rows-more[open] > summary { display: none; }
.abar .b i.w1 { width: 10%; } .abar .b i.w2 { width: 20%; } .abar .b i.w3 { width: 30%; } .abar .b i.w4 { width: 40%; }
.abar .b i.w5 { width: 50%; } .abar .b i.w6 { width: 60%; } .abar .b i.w7 { width: 70%; } .abar .b i.w8 { width: 80%; }
.abar .b i.w9 { width: 90%; } .abar .b i.w10 { width: 100%; }
.narr .n:hover, .vg .n:hover, .more-a:hover, .narr-line a:hover { text-decoration: underline; }
.more-a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; }
.recs small .narr-a { color: var(--band-ink-2); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; min-height: 32px; align-items: center; }
.narr-line { margin: 14px 0 0; color: var(--band-ink-2); font-size: 15px; line-height: 1.8; }
.narr-line a { color: var(--band-ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin: -10px 0; }
.it.it-nb { grid-template-columns: 72px 1fr auto; }
.band .search-page { margin: 22px 0 0; max-width: 640px; width: auto; background: var(--band-chip); }
.band .search-page input { color: var(--band-ink); height: 52px; font-size: 17px; }
.band .search-page input::placeholder { color: var(--band-ink-2); }
a.ico { text-decoration: none; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li { margin: 6px 0; line-height: 1.55; }
.doc p, .doc li, .doc dd { overflow-wrap: anywhere; }
.doc p { line-height: 1.6; }
.doc .owner { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 10px 0 0; }
.doc .owner dt { color: var(--ink-2); }
.doc .owner dd { margin: 0; }
.doc .upd { color: var(--ink-2); font-size: 14px; }
.e404 .search { margin: 18px 0 20px; }
/* P130: высота плашки - 8 + 48 + max(8, safe-area) и линия сверху; отступ страницы не меньше, подвал не закрыт */
body.with-dock { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.dock-t { color: inherit; text-decoration: none; }
.dock .pl-play[aria-pressed="true"] svg.i-play, .dock .pl-play:not([aria-pressed="true"]) svg.i-pause { display: none; }
@media (max-width: 720px) {
  .band .h1-twin { font-size: 26px; }
  .h1-main { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .it.it-nb { grid-template-columns: 64px 1fr; }
  .it.it-nb .it-r { display: none; }
  .doc .owner { grid-template-columns: 1fr; gap: 2px; }
  .doc h1 { font-size: 28px; overflow-wrap: anywhere; hyphens: auto; }
  .doc .owner dd { margin-bottom: 8px; }
}
@media (min-width: 721px) {
  .band .h1-twin { display: none; }
}

/* ---------- P124 после запуска: заглушка обложки - первые буквы названия на тёмной плитке ---------- */
.ph { display: flex; align-items: center; justify-content: center; background: var(--ph) !important; color: var(--ink);
  font: 600 20px/1 var(--serif); letter-spacing: .01em; overflow: hidden; user-select: none; }
.cover.ph { font-size: 72px; border-radius: 10px; }
.band .cover.ph { background: var(--ph) !important; }
.it.vol .ph { font-size: 17px; }
.work-it .ph, .cont .ph { font-size: 22px; }
@media (max-width: 720px) {
  .cover.ph { font-size: 26px; }
  .it .ph { font-size: 17px; }
}
.it .ph, .work-it .ph, .cont .ph { display: flex; }
.it-s a, .voices-txt a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.it-s a:hover, .voices-txt a:hover { text-decoration-color: currentColor; }


/* ---------- P124, проход E: строки, которые не могут наехать друг на друга; знак в шапке ---------- */
.it > *, .work-it > *, .narr > *, .vg > *, .abar > *, .cont > *, .lead-play > *, .cont-play, .recs td, .pl-now, .top-in > * { min-width: 0; }
.it { grid-template-columns: 72px minmax(0, 1fr) auto 48px; }
.it.vol { grid-template-columns: 48px 44px minmax(0, 1fr) auto 48px; }
.it.it-nb { grid-template-columns: 72px minmax(0, 1fr) auto; }
.work-it, .cont { grid-template-columns: 56px minmax(0, 1fr) auto; }
.vg { grid-template-columns: minmax(0, 1fr) auto; }
.abar { grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 110px; }
.it-t, .it-s, .it-n, .it-m, .narr .n, .narr .s, .vg .n, .vg .s, .abar .a, .cont .t, .cont .s, .lead-play .t, .lead-play .s,
.voices-txt, .recs .nm, .recs .m-cell, .pl-now .t, .pl-now .s, .kicker, .by, .meta, .band h1, .band .h1-twin, .doc h1, .dock-t b, .dock-t span { overflow-wrap: anywhere; }
.it-r { max-width: 16em; overflow-wrap: anywhere; }
.narr .c, .vg > .s.nw, .count-big, .abar .h { flex: none; white-space: nowrap; }
.vol-n { font-size: 17px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent);
  color: var(--on-accent); font: 700 16px/1 var(--sans); letter-spacing: -.02em; margin-right: 10px; }
.brand { gap: 0; }
@media (max-width: 720px) {
  .it { grid-template-columns: 64px minmax(0, 1fr) 48px; }
  .it.vol { grid-template-columns: 46px minmax(0, 1fr) 48px; }
  .it.it-nb { grid-template-columns: 64px minmax(0, 1fr); }
  .work-it { grid-template-columns: 48px minmax(0, 1fr); }
  .cont { grid-template-columns: 48px minmax(0, 1fr); }
  .abar { grid-template-columns: minmax(0, 1fr) 72px; }
  .vol-n { font-size: 15px; text-align: left; }
  /* the rows of the recordings: the button in its own column (it was absolute over the second and the third line) */
  .recs tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: start; }
  .recs td.c-end { position: static; align-self: start; margin-top: -6px; }
  .recs .m-top { padding-right: 0; flex-wrap: wrap; }
  /* the header: the mark, the name (21 px) and the search in one line of 56 px, the sections under it scroll away */
  .top-in { min-height: 56px; gap: 0 6px; }
  .brand { font-size: 21px; min-height: 56px; }
  .mark { width: 32px; height: 32px; font-size: 15px; margin-right: 9px; }
  .pills { margin: 0 -8px 6px; }
}
.recs .nm-a { color: inherit; text-decoration: underline; text-decoration-color: var(--band-ink-2); text-underline-offset: 3px; }
.recs .nm-a:hover { text-decoration-color: currentColor; }

/* ---------- P128: главная - заголовок раздела сверху, содержимое на всю ширину; полки обложек 2:3, карточки ----------
   Цвета - только токены :root; тень обложки - цвет --ink (#1F1A14) с прозрачностью, как у закреплённого плеера.
   Второй проход (рецензия куратора и Астры): первый экран короче, у карточек полки ровный низ подписей, в «Несколько
   записей» не больше трёх чтецов и общие ряды карточек (subgrid), поиск шапки на главной компьютера скрыт. */
.hs { padding: 40px 0 44px; border-top: 1px solid var(--line); }
.hs:first-child, .hs[hidden] + .hs { border-top: 0; }
.hs-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; margin: 0 0 20px; }
.hs-h > * { min-width: 0; }
.hs-h h2 { font: 600 30px/1.2 var(--serif); letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.hs-h p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.hero .hs-h p { color: var(--band-ink-2); }
.hs-all { display: inline-flex; align-items: center; min-height: 44px; margin-right: -4px; padding: 0 4px 0 12px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.hs-all:hover { text-decoration: underline; }
.hs-all:focus-visible, .sh-play:focus-visible, .mw-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hero-sh { margin-top: 36px; }
/* на главной компьютера одно поле поиска - большое под заголовком (в шапке скрыто); телефон и другие страницы как были */
@media (min-width: 1100px) {
  body[data-page="home"] .top .search { display: none; }
}

/* полка: компьютер - 6 обложек в ряд, планшет и телефон - лента с прокруткой внутри себя до правого края экрана.
   Название, строка тома и «читает …» - области ровно в две строки (длиннее - многоточие, короче - пустая строка):
   длительность стоит на одной линии у всех карточек ряда. */
.shelf { --sh-gap: 20px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px var(--sh-gap); }
.sh-it { min-width: 0; }
.sh-cv { position: relative; aspect-ratio: 2 / 3; border-radius: 10px; background: var(--chip);
  box-shadow: 0 1px 2px rgba(31,26,20,.10), 0 10px 22px -8px rgba(31,26,20,.32); }
.sh-img { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.sh-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.sh-img .ph { display: flex; width: 100%; height: 100%; border-radius: inherit; font-size: 40px; }
.sh-play { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 2px 8px rgba(31,26,20,.30); }
.sh-play svg { width: 15px; height: 15px; fill: currentColor; }
.sh-t, .sh-v, .sh-n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.sh-t { margin-top: 14px; min-height: 42px; font: 600 16px/21px var(--sans); text-decoration: none;
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
.sh-t:hover { text-decoration: underline; }
.sh-v { margin-top: 4px; min-height: 40px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.sh-n { margin-top: 4px; min-height: 42px; font-size: 15px; line-height: 21px; }
/* имя - строчная ссылка (переносится вместе со словом «читает»); зона касания - отступы строчного элемента в пределах
   двух строк области */
.sh-n a { text-decoration: none; padding: 11px 0; }
.sh-n a:hover { text-decoration: underline; }
.sh-m { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero .sh-m, .hero .sh-v { color: var(--band-ink-2); }

/* «Новые записи»: строки с книжной обложкой, на компьютере - две колонки */
.hs .items .it { padding: 16px 0; }
.hs .items .it:first-child { padding-top: 0; }
.items.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.items.two .it:nth-child(2) { padding-top: 0; }

/* «Несколько записей»: карточки, чтецы столбиком (до трёх и «и ещё N»). Карточка - три ряда общей сетки (subgrid):
   верх, список, «Сравнить записи →» - в одном ряду карточек списки одной высоты, ссылки на одной линии. Промежуток
   между рядами карточек - нижнее поле карточки (у сетки row-gap 0: свой промежуток subgrid не делит ряды карточки). */
.mw { list-style: none; margin: 0 0 -24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
.mw-it { display: grid; grid-row: span 3; grid-template-rows: auto 1fr auto; grid-template-rows: subgrid; row-gap: 0; min-width: 0; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 8px; }
.mw-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; align-self: start; }
.mw-top > * { min-width: 0; }
.mw-cv { display: block; width: 96px; height: 144px; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(31,26,20,.10), 0 6px 14px -6px rgba(31,26,20,.30); }
.mw-cv img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--chip); }
.mw-cv .ph { display: flex; width: 100%; height: 100%; font-size: 26px; }
/* длинное слово (от 12 букв) переносится по слогам (lang="ru"), а не рвётся посередине; короткие не переносятся */
.mw-t { font: 600 20px/1.25 var(--serif); text-decoration: none; overflow-wrap: anywhere;
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
.mw-t:hover { text-decoration: underline; }
.mw-a { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.mw-c { margin-top: 6px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.mw-v { list-style: none; margin: 16px 0 0; padding: 4px 0 0; border-top: 1px solid var(--line); align-self: start; }
.mw-v li { display: flex; align-items: baseline; gap: 8px; min-height: 40px; font-size: 15px; line-height: 20px; }
.mw-v li > * { min-width: 0; }
.mw-vn { overflow-wrap: anywhere; padding: 10px 0; }
.mw-vn a { text-decoration: none; font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; margin: -12px 0; }
.mw-vn a:hover { text-decoration: underline; }
.mw-dots { flex: 1 1 auto; min-width: 16px; height: 0; border-bottom: 1.5px dotted var(--line); }
.mw-vd { flex: none; white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mw-v li.mw-more { min-height: 0; padding: 4px 0 6px; color: var(--ink-2); }
.mw-go { justify-self: start; align-self: end; display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; font-weight: 600; text-decoration: none; }
.mw-go:hover { text-decoration: underline; }

/* «Чтецы»: карточки-строки со знаком инициалов; вся карточка ведёт к чтецу, «последняя» (до двух строк) - к
   произведению; карточки ряда одной высоты (сетка растягивает) */
.vc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vc-it { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.vc-it > * { min-width: 0; }
.vc-m { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ph); color: var(--ink);
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; user-select: none; }
.vc-n { font-weight: 600; font-size: 16px; line-height: 21px; text-decoration: none; overflow-wrap: anywhere; }
.vc-n::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.vc-n:hover { text-decoration: underline; }
.vc-n:focus-visible { outline: none; }
.vc-n:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.vc-c { margin-top: 4px; font-size: 15px; line-height: 20px; color: var(--ink-2); }
/* «последняя»: 5 px от числа записей; зона касания ссылки расширена полями строки (12 px сверху и снизу, видимый
   отступ тот же за счёт отрицательных полей) */
.vc-l { position: relative; z-index: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font-size: 15px; line-height: 20px; color: var(--ink-2); overflow-wrap: anywhere; padding: 12px 0; margin: -7px 0 -12px; }
.vc-l a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; padding: 12px 0; }
.vc-l a:hover { text-decoration-color: currentColor; }

@media (max-width: 1099px) {
  .shelf { --sh-gap: 16px; display: flex; gap: var(--sh-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--pad)); padding: 6px 0 14px var(--pad); scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf::after { content: ''; flex: 0 0 calc(var(--pad) - var(--sh-gap)); }
  .sh-it { flex: 0 0 150px; scroll-snap-align: start; }
  .items.two { grid-template-columns: minmax(0, 1fr); }
  .items.two .it:nth-child(2) { padding-top: 16px; }
  /* планшет: три колонки компактных карточек от 900 px, уже - одна (не оставлять третью одну в ряду из двух) */
  .mw { column-gap: 16px; }
  .mw-it { padding: 16px 16px 6px; }
  .mw-top { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .mw-cv { width: 80px; height: 120px; }
  .mw-t { font-size: 18px; line-height: 22px; }
  .mw-a, .mw-c { font-size: 14px; }
  .mw-v li { font-size: 14px; gap: 6px; }
  .mw-dots { min-width: 8px; }
  .vc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .mw { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hs { padding: 28px 0 32px; }
  .hs-h { margin-bottom: 14px; }
  .hs-h h2 { font-size: 24px; line-height: 28px; }
  .hs-h p { font-size: 14px; line-height: 18px; margin-top: 2px; }
  .hero-sh { margin-top: 16px; }
  .hero-sh .hs-h { margin-bottom: 12px; }
  .hero-sh .hs-h h2 { font-size: 22px; line-height: 26px; }
  .shelf { --sh-gap: 12px; padding-top: 4px; padding-bottom: 10px; }
  .sh-it { flex-basis: 148px; }
  .sh-img .ph { font-size: 30px; }
  .sh-t { margin-top: 12px; }
  .hs .items .it { padding: 14px 0; }
  .items.two .it:nth-child(2) { padding-top: 14px; }
  .mw { margin-bottom: -16px; }
  .mw-it { margin-bottom: 16px; }
  .mw-t { font-size: 20px; line-height: 24px; }
  .mw-v { margin-top: 14px; }
  /* шаг строк чтецов 34 px; зона касания имени - строка целиком */
  .mw-v li { min-height: 34px; font-size: 15px; gap: 8px; }
  .mw-dots { min-width: 16px; }
  .mw-vn { padding: 7px 0; }
  .mw-vn a { min-height: 34px; margin: -7px 0; }
  /* видимый отступ до «Сравнить записи →» ~19 px: нижнее поле строки 7 px и половина зоны касания 44 px */
  .mw-go { margin-top: 0; min-height: 44px; }
  .vc { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
