/* =========================================================================
   «Привал» — дизайн «Солдатская тетрадь»
   Все классы с префиксом pv- , чтобы не пересекаться со старыми стилями темы.
   ========================================================================= */

:root {
  --pv-paper: #EEEAE0;
  --pv-paper-2: #E4DFD2;
  --pv-sheet: #FBFAF6;
  --pv-ink: #1E1E1C;
  --pv-ink-2: #3F3C35;
  --pv-muted: #5E5A50;
  --pv-line: #B8B2A3;
  --pv-accent: #9C2A1F;
  --pv-pen: #2C4596;
  --pv-rule: #C9D6E8;
  --pv-margin: #E3A39A;
  --pv-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --pv-narrow: 'PT Sans Narrow', 'Arial Narrow', sans-serif;
  --pv-hand: 'Caveat', 'Segoe Print', cursive;
  --pv-wrap: 1120px;
}

/* ---------- База ---------- */
html { -webkit-text-size-adjust: 100%; }
body.pv-body { margin: 0; }
.pv img { max-width: 100%; height: auto; }
.pv p { margin-top: 0; }
body.pv-body {
  background: var(--pv-paper) !important;
  color: var(--pv-ink);
  font-family: var(--pv-serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.pv, .pv * { box-sizing: border-box; }
.pv a { color: var(--pv-ink); text-decoration: none; }
.pv a:hover, .pv a:focus { color: var(--pv-accent) !important; }
.pv a:focus-visible, .pv button:focus-visible, .pv input:focus-visible { outline: 2px solid var(--pv-pen); outline-offset: 2px; }
.pv ul, .pv ol { margin: 0; padding: 0; }
.pv h1, .pv h2, .pv h3, .pv h4 { font-family: var(--pv-serif); color: var(--pv-ink); font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
.pv-wrap { max-width: var(--pv-wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.pv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pv-kicker { margin: 0 0 12px; font-family: var(--pv-narrow); text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: var(--pv-accent); line-height: 1.3; }
.pv-hand { font-family: var(--pv-hand); color: var(--pv-pen); font-weight: 500; }
.pv-more { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--pv-narrow); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; border-bottom: 2px solid var(--pv-accent); }

/* Тетрадная линейка */
.pv-ruled {
  background-color: #F3F0E7;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--pv-rule) 31px, var(--pv-rule) 32px);
}

/* Скетчи (картинки из images/sketches) */
.pv-sketch { display: block; max-width: 100%; height: auto; pointer-events: none; user-select: none; mix-blend-mode: multiply; }

/* Разделитель «колючка» */
.pv-wire { display: block; width: 100%; height: 24px; color: var(--pv-ink); }

/* ---------- Шапка ---------- */
.pv-header { background: var(--pv-paper); border-bottom: 2px solid var(--pv-ink); position: relative; z-index: 50; }
.pv-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 16px; padding-bottom: 16px; }
.pv-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.pv-logo__mark { width: 44px; height: 44px; color: var(--pv-accent); flex: none; }
.pv-logo__name { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.pv-logo__sub { display: block; font-family: var(--pv-narrow); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-muted); margin-top: 4px; font-weight: 400; }

.pv-nav { margin-left: auto; }
.pv-nav__list, .pv-nav ul { list-style: none !important; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; margin: 0; padding: 0; }
.pv-nav li { position: relative; list-style: none !important; }
.pv-nav a { display: flex; align-items: center; min-height: 44px; font-family: var(--pv-narrow); font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.pv-nav .current-menu-item > a, .pv-nav .current-menu-ancestor > a { color: var(--pv-accent); }
.pv-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: var(--pv-sheet); border: 1.5px solid var(--pv-ink); box-shadow: 4px 4px 0 var(--pv-ink); padding: 8px 16px; flex-direction: column; gap: 0; z-index: 60; }
.pv-nav li:hover > .sub-menu, .pv-nav li:focus-within > .sub-menu { display: flex; }
.pv-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: 17px; }

.pv-header__tools { display: flex; align-items: center; gap: 8px; }
.pv-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--pv-ink); background: transparent; color: var(--pv-ink); cursor: pointer; padding: 0; }
.pv-iconbtn:hover { background: var(--pv-ink); color: var(--pv-paper); }
.pv-iconbtn svg { width: 20px; height: 20px; }
.pv-burger { display: none; }

.pv-minisearch { display: none; border-top: 1px solid var(--pv-ink); background: var(--pv-paper-2); }
.pv-minisearch.is-open { display: block; }
.pv-minisearch .pv-search { margin: 14px 0; box-shadow: none; }

/* Алфавит */
.pv-abc { border-bottom: 1px solid var(--pv-ink); background: var(--pv-paper-2); }
.pv-abc__row { display: flex; align-items: center; gap: 2px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.pv-abc__label { flex: none; margin-right: 12px; font-family: var(--pv-narrow); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--pv-muted); }
.pv-abc a { flex: none; min-width: 32px; min-height: 38px; display: flex; align-items: center; justify-content: center; font-family: var(--pv-narrow); font-size: 19px; }
.pv-abc a.pv-abc__latin { padding: 0 8px; border-left: 1px solid var(--pv-line); margin-left: 6px; }

/* ---------- Поиск ---------- */
.pv-search { display: flex; border: 2px solid var(--pv-ink); background: var(--pv-sheet); box-shadow: 4px 4px 0 var(--pv-ink); }
.pv-search input[type="search"] { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 18px; height: 54px; font: inherit; font-size: 17px; color: var(--pv-ink); outline: none; box-shadow: none !important; }
.pv-search input[type="search"]::placeholder { color: #8A857A; }
.pv-search button { border: 0; background: var(--pv-ink); color: var(--pv-sheet); padding: 0 26px; min-height: 54px; font-family: var(--pv-narrow); font-size: 18px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.pv-search button:hover { background: var(--pv-accent); }
.pv-searchtypes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; font-family: var(--pv-narrow); font-size: 16px; color: var(--pv-ink-2); }
.pv-searchtypes label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; font-weight: 400; margin: 0; }
.pv-searchtypes input { accent-color: var(--pv-accent); width: 16px; height: 16px; margin: 0; }

/* ---------- Главная: первый экран ---------- */
.pv-hero { position: relative; border-bottom: 2px solid var(--pv-ink); overflow: hidden; }
.pv-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(24px, calc(50% - 600px)); width: 2px; background: var(--pv-margin); }
.pv-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 72px; padding-bottom: 72px; }
.pv-hero h1 { margin: 0; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; }
.pv-underline { position: relative; white-space: nowrap; }
.pv-underline svg { position: absolute; left: -4px; right: -4px; bottom: -0.32em; width: calc(100% + 8px); height: .36em; color: var(--pv-accent); }
.pv-hero__lead { margin: 0 0 26px; font-size: 19px; font-style: italic; color: var(--pv-ink-2); }
.pv-hero__count { margin: 16px 0 0; font-family: var(--pv-narrow); font-size: 16px; color: var(--pv-muted); }
.pv-hero__count b { color: var(--pv-ink); font-weight: 700; }
.pv-hero__sketch { position: absolute; right: max(0px, calc(50% - 640px)); top: 18px; width: 300px; opacity: .95; }
.pv-hero__note { position: absolute; font-size: 25px; transform: rotate(-3deg); white-space: nowrap; }

/* ---------- Блоки контента ---------- */
.pv-section { padding-top: 64px; padding-bottom: 64px; }
.pv-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; }
.pv-section__head h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.pv-section__head p { margin: 4px 0 0; color: var(--pv-muted); font-style: italic; font-size: 16px; }
.pv-cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pv-cols__main { flex: 999 1 560px; min-width: 0; }
.pv-cols__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }

/* Оглавление */
.pv-toc { list-style: none !important; counter-reset: toc; }
.pv-toc li { list-style: none !important; display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--pv-line); font-size: 19px; line-height: 1.35; counter-increment: toc; }
.pv-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--pv-narrow); color: var(--pv-accent); min-width: 30px; flex: none; }
.pv-toc__title { font-weight: 700; }
.pv-toc__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted #9E988A; transform: translateY(-5px); }
.pv-toc__artist { font-style: italic; color: var(--pv-ink-2); text-align: right; }
.pv-toc__artist a { color: var(--pv-ink-2); }

/* Листок на скотче */
.pv-note { position: relative; background: var(--pv-sheet); border: 1px solid var(--pv-ink); padding: 30px 26px 26px; box-shadow: 3px 3px 0 #C9C2B1; transform: rotate(-.6deg); }
.pv-note--r { transform: rotate(.6deg); }
.pv-note__tape { position: absolute; top: -13px; left: 28px; width: 76px; height: 24px; background: rgba(226, 214, 180, .9); transform: rotate(-3deg); }
.pv-note__tag { position: absolute; top: -14px; right: 18px; background: var(--pv-accent); color: var(--pv-sheet); font-family: var(--pv-narrow); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; padding: 4px 10px; transform: rotate(3deg); }
.pv-note h3 { margin: 0 0 14px; font-size: 21px; }
.pv-toplist { list-style: decimal !important; padding-left: 24px !important; display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.3; }
.pv-toplist li { list-style: decimal !important; }
.pv-toplist li::marker { font-family: var(--pv-narrow); color: var(--pv-accent); }
.pv-toplist a { font-weight: 700; }
.pv-toplist small { display: block; font-style: italic; font-size: 15px; color: var(--pv-muted); margin-top: 2px; }
.pv-toplist small a { font-weight: 400; color: var(--pv-muted); }

/* Анонс статьи */
.pv-story { border-left: 4px double var(--pv-ink); padding: 4px 0 4px 20px; }
.pv-story__title { display: block; margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.pv-story p { margin: 0; font-size: 16px; color: var(--pv-ink-2); }

/* Разделы (тёмный блок) */
.pv-dark { background: var(--pv-ink); color: var(--pv-paper); }
.pv-dark h2 { color: var(--pv-paper) !important; }
.pv-dark .pv-section__head p { color: #B5B0A3; }
.pv-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; background: #4A4740; border: 2px solid #4A4740; }
.pv .pv-themes a { background: var(--pv-ink); color: var(--pv-paper); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 118px; }
.pv .pv-themes a:hover { background: #2A2926; color: #fff !important; }
.pv-themes__num { font-family: var(--pv-narrow); color: #E07A6C; font-size: 15px; letter-spacing: .1em; }
.pv-themes__name { font-size: 22px; font-weight: 700; line-height: 1.2; }
.pv-themes__count { font-size: 15px; color: #B5B0A3; font-style: italic; }

/* ---------- Подвал ---------- */
.pv-footer { border-top: 2px solid var(--pv-ink); background: var(--pv-paper); clear: both; }
.pv-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 30px; padding-bottom: 30px; font-family: var(--pv-narrow); font-size: 16px; color: var(--pv-muted); }
.pv-footer__menu ul { list-style: none !important; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pv-footer__menu li { list-style: none !important; }
.pv-footer__menu a { display: inline-flex; min-height: 44px; align-items: center; color: var(--pv-muted); }
.pv-footer__hand { font-size: 24px; }
.pv-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 10px; }

/* ---------- Страница песни ---------- */
.pv-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-top: 22px; font-family: var(--pv-narrow); font-size: 16px; color: var(--pv-muted); }
.pv-crumbs a { color: var(--pv-muted); }
.pv-crumbs span[aria-current] { color: var(--pv-ink); }
.pv-songhead { position: relative; padding-top: 26px; padding-bottom: 34px; }
.pv-songhead h1 { display: inline; margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; background-image: linear-gradient(transparent 88%, rgba(156, 42, 31, .55) 88%, rgba(156, 42, 31, .55) 96%, transparent 96%); }
.pv-songmeta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; font-size: 17px; }
.pv-songmeta a { border-bottom: 1px solid var(--pv-ink); font-weight: 700; }
.pv-songmeta__label { color: var(--pv-muted); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pv .pv-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--pv-ink); border-radius: 99px; font-family: var(--pv-narrow); font-size: 16px; }
.pv .pv-chips a:hover { background: var(--pv-ink); color: var(--pv-paper) !important; }
.pv-songhead__sketch { position: absolute; right: 24px; top: 6px; width: 200px; }

.pv-sheet { position: relative; background: var(--pv-sheet); border: 1px solid var(--pv-ink); box-shadow: 5px 5px 0 var(--pv-ink); }
.pv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; background: var(--pv-paper); border-bottom: 1px solid var(--pv-ink); font-family: var(--pv-narrow); }
.pv-toolbar button { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--pv-ink); background: transparent; color: var(--pv-ink); font-family: var(--pv-narrow); font-size: 16px; cursor: pointer; }
.pv-toolbar button:hover { background: var(--pv-ink); color: var(--pv-sheet); }
.pv-toolbar__spacer { flex: 1; }
.pv-toolbar a { color: var(--pv-muted); border-bottom: 1px dashed var(--pv-muted); font-size: 16px; }

.pv-lyric {
  --fs: 19px; --lh: 34px;
  position: relative;
  padding: 26px 32px 40px 150px;
  font-size: var(--fs); line-height: var(--lh);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--lh) - 1px), var(--pv-rule) calc(var(--lh) - 1px), var(--pv-rule) var(--lh));
  background-position: 0 25px;
}
.pv-lyric::before { content: ""; position: absolute; top: 0; bottom: 0; left: 124px; width: 2px; background: var(--pv-margin); }
.pv-lyric p { margin: 0 0 var(--lh) !important; font-size: inherit !important; line-height: inherit !important; color: var(--pv-ink); }
.pv-lyric p:last-child { margin-bottom: 0 !important; }
.pv-lyric p.pv-chorus { position: relative; font-weight: 700; }
.pv-lyric p.pv-chorus::before { content: "припев"; position: absolute; left: -146px; width: 112px; text-align: right; font-family: var(--pv-hand); font-weight: 600; font-size: 25px; line-height: var(--lh); color: var(--pv-accent); }
.pv-lyric p.pv-chorus::after { content: ""; position: absolute; left: -16px; top: 6px; bottom: 6px; width: 3px; background: var(--pv-accent); border-radius: 2px; }
.pv-lyric .ads, .pv-lyric ins, .pv-lyric iframe { max-width: 100%; }
.pv-lyric .media_background { margin-bottom: var(--lh); background: transparent !important; }
.pv-translated { margin: var(--lh) 0 calc(var(--lh) / 2); font-size: 22px; }

.pv-about p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.pv-cover { padding: 12px; border: 2px dashed #9E988A; }
.pv-cover img { display: block; width: 100%; height: auto; }
.pv-cover figcaption { margin-top: 8px; font-size: 21px; text-align: right; }
.pv-sidelist { list-style: decimal !important; padding-left: 24px !important; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.pv-sidelist li { list-style: decimal !important; }
.pv-side h2 { margin: 0 0 14px; font-size: 22px; }
.pv-sidewidget .sidebar-widget { margin-bottom: 24px; }

.pv-cards { list-style: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pv-cards li { list-style: none !important; }
.pv-cards li:nth-child(4n+1) a { transform: rotate(-.7deg); }
.pv-cards li:nth-child(4n+2) a { transform: rotate(.5deg); }
.pv-cards li:nth-child(4n+3) a { transform: rotate(-.3deg); }
.pv-cards li:nth-child(4n) a { transform: rotate(.8deg); }
.pv .pv-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--pv-sheet); border: 1px solid var(--pv-ink); padding: 16px 18px; transition: box-shadow .15s; }
.pv .pv-cards a:hover { box-shadow: 4px 4px 0 var(--pv-ink); }
.pv-cards b { font-size: 18px; line-height: 1.3; }
.pv-cards span { font-style: italic; color: var(--pv-muted); font-size: 15px; }

.pv-comments { margin-top: 48px; }

@media (min-width: 901px) { .pv-header__bar { flex-wrap: nowrap; } .pv-nav { flex: 1; } }

/* ---------- Мобильная версия ---------- */
@media (max-width: 900px) {
  .pv-hero__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .pv-hero::before, .pv-hero__sketch, .pv-hero__note, .pv-songhead__sketch, .pv-desktop-only { display: none; }
  .pv-burger { display: inline-flex; }
  .pv-nav { display: none; width: 100%; order: 10; margin: 0; }
  .pv-nav.is-open { display: block; }
  .pv-nav__list, .pv-nav > ul { flex-direction: column; gap: 0; border-top: 1px solid var(--pv-line); }
  .pv-nav li { border-bottom: 1px solid var(--pv-line); }
  .pv-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 16px; }
  .pv-header__tools { margin-left: auto; }
}
@media (max-width: 640px) {
  body.pv-body { font-size: 16px; }
  .pv-wrap { padding-left: 16px; padding-right: 16px; }
  .pv-section { padding-top: 44px; padding-bottom: 44px; }
  .pv-section__head h2 { font-size: 28px; }
  .pv-logo__sub { display: none; }
  .pv-search button { padding: 0 16px; }
  .pv-toc li { flex-wrap: wrap; font-size: 18px; }
  .pv-toc__dots { display: none; }
  .pv-toc__artist { width: 100%; text-align: left; padding-left: 40px; font-size: 16px; }
  .pv-lyric { padding: 20px 18px 30px 30px; --fs: 18px; --lh: 32px; }
  .pv-lyric::before { left: 16px; }
  .pv-lyric p.pv-chorus::before { position: static; display: block; width: auto; text-align: left; font-size: 22px; line-height: 1.3; }
  .pv-lyric p.pv-chorus::after { left: -10px; }
  .pv-sheet { box-shadow: 3px 3px 0 var(--pv-ink); }
}

/* ---------- Печать ---------- */
@media print {
  .pv-header, .pv-abc, .pv-footer, .pv-toolbar, .pv-cols__side, .pv-related, .pv-comments, .pv-crumbs, .ads { display: none !important; }
  .pv-sheet { box-shadow: none; border: 0; }
  .pv-lyric { background: none; padding: 0; }
  .pv-lyric::before { display: none; }
  .pv-lyric p.pv-chorus::before { position: static; display: block; text-align: left; }
}

/* =========================================================================
   Мост для старых шаблонов (исполнители, альбомы, поиск, страницы),
   пока они не переведены на новую вёрстку. Убирает тёмную «обложку»
   и абсолютное позиционирование старой темы.
   ========================================================================= */
body.pv-body .background-single-lyrics,
body.pv-body .single-lyrics-overlay,
body.pv-body .lyric-home { height: auto !important; padding-bottom: 0 !important; background: var(--pv-paper) !important; }
body.pv-body .print-none > .background-single-lyrics { min-height: 0; }
body.pv-body .lyrics-title { position: static !important; padding: 28px 24px 12px; margin: 0 auto; max-width: var(--pv-wrap); }
body.pv-body .lyrics-title h1,
body.pv-body .lyrics-title h2,
body.pv-body .lyrics-title h3,
body.pv-body .lyrics-title h2 a { color: var(--pv-ink) !important; font-family: var(--pv-serif); text-shadow: none; }
body.pv-body .lyrics-title h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; padding: 0 0 10px !important; }
body.pv-body .content-pull { position: static !important; top: 0 !important; }
body.pv-body .content-capsule { width: auto; max-width: var(--pv-wrap); padding: 0 24px; }
body.pv-body .content-capsule .container { width: auto; max-width: 100%; padding: 0; }
body.pv-body .second-container,
body.pv-body .popular-lyrics,
body.pv-body .latest-lyrics-container { background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; }
body.pv-body .page-container { padding-bottom: 48px; }
body.pv-body .gradient li .item { background: linear-gradient(to top, rgba(30,30,28,.85), rgba(30,30,28,0) 70%) !important; }
body.pv-body .custom-pagination a,
body.pv-body .custom-pagination span { font-family: var(--pv-narrow); }

/* Отсылка «Припев» без текста — только подпись на полях */
.pv-lyric p.pv-chorus--ref { min-height: var(--lh); font-weight: 400; }
.pv-lyric p.pv-chorus--ref::after { display: none; }
.pv-lyric p.pv-chorus--ref::before { content: "↺ припев"; }
@media (max-width: 640px) { .pv-lyric p.pv-chorus--ref::before { display: block; } }

/* Шрифты дизайна сильнее любых старых настроек */
body.pv-body .pv-header, body.pv-body .pv-main, body.pv-body .pv-footer { font-family: var(--pv-serif); }
body.pv-body .pv h1, body.pv-body .pv h2, body.pv-body .pv h3, body.pv-body .pv h4 { font-family: var(--pv-serif) !important; }

/* =========================================================================
   Внутренние страницы: исполнитель, альбом, списки, поиск, статьи
   ========================================================================= */
.pv-pagehead { padding-top: 26px; padding-bottom: 30px; }
.pv-pagehead h1 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.pv-pagehead__sub { margin: 12px 0 0; font-family: var(--pv-narrow); font-size: 17px; color: var(--pv-muted); }
.pv-pagehead__text { margin-top: 18px; max-width: 760px; }
.pv-pagehead--article h1 { max-width: 860px; }
.pv-section--tight { padding-top: 8px; padding-bottom: 56px; }
.pv-empty { font-style: italic; color: var(--pv-muted); }
.pv .pv-link { border-bottom: 1px solid currentColor; }
.pv-ad { margin: 24px auto; max-width: var(--pv-wrap); padding: 0 24px; }

/* Шапка исполнителя / альбома */
.pv-person { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.pv-person__photo { position: relative; background: var(--pv-sheet); border: 1px solid var(--pv-ink); padding: 10px 10px 34px; box-shadow: 4px 4px 0 var(--pv-ink); transform: rotate(-1.2deg); }
.pv-person__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.pv-person__photo--square img { aspect-ratio: 1 / 1; }
.pv-person__photo::after { content: ""; position: absolute; top: -12px; left: 50%; margin-left: -38px; width: 76px; height: 24px; background: rgba(226, 214, 180, .9); transform: rotate(3deg); }
.pv-person__initials { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: var(--pv-paper-2); font-size: 64px; font-weight: 700; color: var(--pv-muted); }
.pv-person__photo--square .pv-person__initials { aspect-ratio: 1 / 1; }
.pv-person__bio { margin-top: 18px; }
.pv-facts { margin: 22px 0 0; display: grid; gap: 0; border-top: 1px dashed var(--pv-line); max-width: 640px; }
.pv-facts div { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--pv-line); }
.pv-facts dt { flex: 0 0 150px; font-family: var(--pv-narrow); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--pv-muted); padding-top: 2px; }
.pv-facts dd { margin: 0; }

/* Текст статьи / страницы */
.pv-prose { font-size: 17px; line-height: 1.7; }
.pv-prose > *:first-child { margin-top: 0; }
.pv-prose p, .pv-prose ul, .pv-prose ol { margin: 0 0 1em; }
.pv-prose ul { list-style: disc !important; padding-left: 1.4em !important; }
.pv-prose ol { list-style: decimal !important; padding-left: 1.4em !important; }
.pv-prose li { list-style: inherit !important; margin-bottom: .3em; }
.pv-prose h2 { font-size: 28px; margin: 1.4em 0 .5em; }
.pv-prose h3 { font-size: 22px; margin: 1.3em 0 .4em; }
.pv-prose a { border-bottom: 1px solid var(--pv-accent); }
.pv-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 4px double var(--pv-ink); font-style: italic; }
.pv-prose img { max-width: 100%; height: auto; }
.pv-sheet--page { padding: 40px 48px; max-width: 860px; }
.pv-sheet--page .pv-prose { max-width: 720px; }
.pv-article__img { margin: -40px -48px 32px; border-bottom: 1px solid var(--pv-ink); }
.pv-article__img img { display: block; width: 100%; height: auto; }

/* Обложки альбомов */
.pv-albums { list-style: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 22px; }
.pv-albums li { list-style: none !important; }
.pv .pv-albums a { display: flex; flex-direction: column; gap: 4px; }
.pv-albums__cover { display: block; aspect-ratio: 1 / 1; background: var(--pv-paper-2); border: 1px solid var(--pv-ink); padding: 6px; box-shadow: 3px 3px 0 var(--pv-ink); margin-bottom: 10px; transition: transform .15s; }
.pv-albums li:nth-child(odd) .pv-albums__cover { transform: rotate(-1deg); }
.pv-albums li:nth-child(even) .pv-albums__cover { transform: rotate(.8deg); }
.pv .pv-albums a:hover .pv-albums__cover { transform: rotate(0) translateY(-2px); }
.pv-albums__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-albums__cover > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 42px; color: var(--pv-muted); }
.pv-albums b { font-size: 17px; line-height: 1.25; }
.pv-albums a > span:last-child { font-style: italic; font-size: 15px; color: var(--pv-muted); }

/* Исполнители сеткой */
.pv-people { list-style: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 20px; }
.pv-people li { list-style: none !important; }
.pv .pv-people a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pv-people__photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 2px solid var(--pv-ink); background: var(--pv-paper-2); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; color: var(--pv-muted); }
.pv-people__photo img { width: 100%; height: 100%; object-fit: cover; }
.pv-people b { font-size: 17px; line-height: 1.25; }

/* Оглавление в две колонки */
.pv-toc--cols { columns: 2; column-gap: 48px; }
.pv-toc--cols li { break-inside: avoid; }

/* Указатель по буквам */
.pv-letterhead { display: flex; align-items: center; gap: 28px; }
.pv-bigletter { flex: none; width: 112px; height: 112px; border: 2px solid var(--pv-ink); box-shadow: 4px 4px 0 var(--pv-ink); background: var(--pv-sheet); display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 700; color: var(--pv-accent); transform: rotate(-3deg); line-height: 1; white-space: nowrap; }
.pv-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.pv .pv-letters a { min-width: 40px; min-height: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pv-line); font-family: var(--pv-narrow); font-size: 18px; background: var(--pv-sheet); }
.pv .pv-letters a[aria-current] { background: var(--pv-ink); color: var(--pv-paper) !important; border-color: var(--pv-ink); }
.pv-index { list-style: none !important; columns: 4 200px; column-gap: 32px; }
.pv-index li { list-style: none !important; break-inside: avoid; padding: 7px 0; border-bottom: 1px dashed var(--pv-line); font-size: 18px; }

/* Все темы */
.pv-tagcloud { list-style: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px; background: var(--pv-line); border: 2px solid var(--pv-ink); }
.pv-tagcloud li { list-style: none !important; }
.pv .pv-tagcloud a { display: flex; flex-direction: column; gap: 4px; padding: 20px; height: 100%; background: var(--pv-sheet); }
.pv .pv-tagcloud a:hover { background: #fff; }
.pv-tagcloud__num { font-family: var(--pv-narrow); color: var(--pv-accent); letter-spacing: .1em; font-size: 14px; }
.pv-tagcloud b { font-size: 20px; line-height: 1.2; }
.pv-tagcloud a > span:last-child { font-style: italic; color: var(--pv-muted); font-size: 15px; }

/* Боковые списки */
.pv-minilist { list-style: none !important; display: flex; flex-direction: column; }
.pv-minilist li { list-style: none !important; padding: 8px 0; border-bottom: 1px dashed var(--pv-line); }
.pv-minilist small { color: var(--pv-muted); font-family: var(--pv-narrow); }

/* Статьи списком */
.pv-posts { list-style: none !important; display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.pv-posts li { list-style: none !important; padding: 22px 0; border-bottom: 1px dashed var(--pv-line); }
.pv .pv-posts__title { font-size: 24px; font-weight: 700; line-height: 1.25; }
.pv-posts__meta { margin: 6px 0 8px; font-family: var(--pv-narrow); color: var(--pv-muted); font-size: 15px; }
.pv-posts p { margin: 0; color: var(--pv-ink-2); }

/* Пагинация */
.pv-pages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; font-family: var(--pv-narrow); font-size: 17px; }
.pv-pages .page-numbers, .pv-pages > a, .pv-pages > span { min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pv-ink); background: var(--pv-sheet); }
.pv-pages .current { background: var(--pv-ink); color: var(--pv-paper); }
.pv-pages .dots { border-color: transparent; background: transparent; }

/* Поиск на странице результатов */
.pv-searchpage { max-width: 680px; margin-top: 22px; }

/* 404 */
.pv-404 { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding-top: 56px; padding-bottom: 80px; }
.pv-404__num { font-size: clamp(110px, 18vw, 200px); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--pv-ink); transform: rotate(-4deg); }
.pv-404 h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }

/* Комментарии */
.pv-cmt h2 { font-size: 26px; margin: 0 0 18px; }
.pv-cmt__list { list-style: none !important; margin: 0 0 32px !important; }
.pv-cmt__list li { list-style: none !important; }
.pv-cmt__list .comment-body { background: var(--pv-sheet); border: 1px solid var(--pv-ink); padding: 16px 20px; margin-bottom: 14px; }
.pv-cmt__list .children { margin-left: 32px !important; }
.pv-cmt__list .comment-author { font-weight: 700; }
.pv-cmt__list .comment-author .says { display: none; }
.pv-cmt__list .comment-meta { font-family: var(--pv-narrow); font-size: 14px; color: var(--pv-muted); margin-bottom: 8px; }
.pv-cmt__list .comment-meta a { color: var(--pv-muted); }
.pv-cmt__list .reply a { font-family: var(--pv-narrow); font-size: 15px; border-bottom: 1px dashed; }
.pv-cmt .comment-respond { background: var(--pv-sheet); border: 1px solid var(--pv-ink); box-shadow: 4px 4px 0 var(--pv-ink); padding: 24px 28px; max-width: 720px; }
.pv-cmt .comment-reply-title { font-size: 22px; margin: 0 0 8px; }
.pv-cmt__note { margin: 0 0 14px; font-size: 15px; color: var(--pv-muted); }
.pv-cmt label { display: block; font-family: var(--pv-narrow); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; font-weight: 400; }
.pv-cmt input[type="text"], .pv-cmt input[type="email"], .pv-cmt input[type="url"], .pv-cmt textarea { width: 100%; max-width: 100%; border: 1px solid var(--pv-ink); background: #fff; padding: 10px 12px; font: inherit; font-size: 16px; }
.pv-cmt .comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: 0; }
.pv-cmt p { margin: 0 0 14px; }
.pv-btn, .pv-cmt input[type="submit"] { min-height: 46px; padding: 0 26px; border: 0; background: var(--pv-ink); color: var(--pv-sheet); font-family: var(--pv-narrow); font-size: 17px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.pv-btn:hover, .pv-cmt input[type="submit"]:hover { background: var(--pv-accent); }

@media (max-width: 900px) {
  .pv-person { grid-template-columns: 1fr; gap: 26px; }
  .pv-person__photo { max-width: 240px; }
  .pv-toc--cols { columns: 1; }
}
@media (max-width: 640px) {
  .pv-sheet--page { padding: 24px 20px; }
  .pv-article__img { margin: -24px -20px 22px; }
  .pv-facts div { flex-direction: column; gap: 2px; }
  .pv-facts dt { flex: none; }
  .pv-letterhead { gap: 18px; }
  .pv-bigletter { width: 76px; height: 76px; font-size: 42px; }
  .pv-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .pv-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-people__photo { width: 96px; height: 96px; }
  .pv-cmt .comment-respond { padding: 18px; }
}
.pv-bigletter--wide { font-size: 36px; letter-spacing: -.02em; white-space: nowrap; line-height: 1; }
@media (max-width: 640px) { .pv-bigletter--wide { font-size: 24px; } }
