/* Проекты-публикации (Тимофеевка и следующие): перенос принятого макета mockups\timofeevka\tim.css.
   Шапка и токены сайта — style.css и site.css; здесь токены проекта и вёрстка внутри <div class="pub">.
   Акцент — «чернила» --tim; зелёный сайта (--accent) — только у ссылок в справочники (.to-base). */
:root {
  --tim: #2f4b66; --tim-soft: #dfe5ec; --tim-rule: #9fb1c4; --print: #fbfaf7;
  --base: var(--accent); --base-soft: #e3ead9;
  --display: "Old Standard TT", Cambria, Georgia, serif;
  --read: "Literata", Cambria, Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --tim: #9db8d6; --tim-soft: #233140; --tim-rule: #3f5770; --print: #2a2824; --base: #9cc08f; --base-soft: #263022; }
}

/* ---------- шапка проекта: чернила вместо зелёного ---------- */
body[data-kind="pub"] { font-size: 15px; line-height: 1.5; }
body[data-kind="pub"] .proj-name { color: var(--tim); }
body[data-kind="pub"] .tabs a:hover { border-bottom-color: var(--tim-rule); }
body[data-kind="pub"] .tabs a.on { border-bottom-color: var(--tim); color: var(--tim); }
body[data-kind="pub"] .projects .pmenu a.on { color: var(--tim); background: var(--tim-soft); }
body[data-kind="pub"] main { padding-top: 0; }

.pub { max-width: 1120px; margin: 0 auto; }
.pub a { color: var(--tim); }
.pub a:hover { text-underline-offset: 3px; }
.pub a.to-base, .pub .to-base a { color: var(--base); font-weight: 600; }
.pub a:focus-visible { outline: 2px solid var(--tim); outline-offset: 2px; border-radius: 3px; }
.pub img { display: block; max-width: 100%; height: auto; }
.pub figure { margin: 0; }
.pub .mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; }
.pub .muted { color: var(--muted); }
.pub .crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.pub .crumbs a { color: var(--muted); }
.pub .page-h1 { font: 400 clamp(32px, 4.4vw, 46px)/1.08 var(--display); margin: 10px 0 12px; }
.pub .page-lead { font: 17px/1.6 var(--read); max-width: 40em; margin: 0 0 20px; color: var(--muted); }
/* заголовок с тихими ссылками справа (главная «Фотографов Южного Урала»: «Источники») — рамка без заливки */
.pub .page-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.pub .page-head-links { display: flex; gap: 8px; }
.pub .page-head-links a { font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; white-space: nowrap; }
.pub .page-head-links a:hover { color: var(--tim); border-color: var(--tim-rule); text-decoration: none; }
.pub .label { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.pub .draft-note { font-size: 13px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 8px 12px; margin: 0 0 18px; }

/* ---------- главная проекта ---------- */
.pub .hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding: 22px 0 36px; align-items: start; }
.pub .eyebrow { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.pub .hero h1 { font: 400 clamp(38px, 5.6vw, 64px)/1.02 var(--display); margin: 0; letter-spacing: -.01em; }
.pub .hero h1 em { font-style: italic; color: var(--tim); }
.pub .hero .lead { font: 18px/1.6 var(--read); max-width: 34em; margin: 20px 0 0; }
.pub .hero .lead + .lead { font-size: 16px; color: var(--muted); margin-top: 10px; }
.pub .hero .print { transform: rotate(.6deg); margin-top: 6px; }

/* Фото «отпечатком» с паспарту; подпись и владелец под каждым. */
.pub .print { background: var(--print); padding: 10px 10px 0; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgb(40 30 20 / .45); }
.pub .print figcaption { padding: 10px 2px 12px; font-size: 13.5px; line-height: 1.45; }
.pub .print figcaption .mono { display: block; color: var(--muted); margin-top: 4px; }

/* Откуда пришли — три выписки из ревизии, по посёлку. Деревни выхода ветками сходятся к посёлку. */
.pub .origins { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pub .ledger { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 4px; display: flex; flex-direction: column; }
.pub .ledger .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px 10px; border-bottom: 1px solid var(--tim-rule); }
.pub .ledger .head b { font: 700 21px/1.15 var(--display); }
.pub .ledger .head .yr { font: italic 400 22px/1 var(--display); color: var(--tim); white-space: nowrap; }
.pub .ledger .from { list-style: none; margin: 0; padding: 12px 18px 14px; flex: 1; }
.pub .ledger .from li { position: relative; padding: 4px 0 6px 18px; }
.pub .ledger .from li::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; border-left: 1px solid var(--tim); }
.pub .ledger .from li::after { content: ""; position: absolute; left: 4px; top: 12px; width: 9px; border-top: 1px solid var(--tim); }
.pub .ledger .from li.from-label { padding: 0; margin: 0 0 6px; }
.pub .ledger .from li.from-label::before, .pub .ledger .from li.from-label::after { display: none; }
.pub .ledger .from li.from-label + li::before { top: 12px; }
.pub .ledger .from li:last-child::before { bottom: auto; height: 12px; }
.pub .ledger .from li.gap::before, .pub .ledger .from li.gap::after { display: none; }
.pub .ledger .from li.gap { padding-left: 0; }
.pub .ledger .from b { font: 700 15.5px/1.25 var(--display); }
.pub .ledger .from .when { font: italic 400 14px/1 var(--display); color: var(--tim); margin-left: 4px; }
.pub .ledger .from small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pub .ledger .from .fams { display: block; font-size: 13px; color: var(--ink); margin-top: 1px; }
.pub .ledger table { width: 100%; border-collapse: collapse; }
.pub .ledger th { font: 400 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 8px 18px 0; }
.pub .ledger td { padding: 0 18px 10px; font: 400 44px/1.1 var(--display); border-bottom: 1px solid var(--tim-rule); }
.pub .ledger th + th, .pub .ledger td + td { border-left: 1px solid var(--tim-rule); }
.pub .ledger .src { padding: 9px 18px 11px; font-size: 13px; color: var(--muted); }
.pub .gap { color: var(--muted); font-style: italic; }

.pub .psec { padding: 30px 0 6px; border-top: 1px solid var(--line); }
.pub .psec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pub .psec h2 { font: 400 28px/1.15 var(--display); margin: 0; }
.pub .psec-head a { font-size: 14px; white-space: nowrap; }

.pub .articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pub .article-card { display: block; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--tim); border-radius: 6px; padding: 14px 16px 16px; color: var(--ink); }
a.article-card:hover { text-decoration: none; border-color: var(--tim); }
.pub .article-card h3 { font: 700 18px/1.25 var(--display); margin: 0 0 6px; }
.pub .article-card p { margin: 0; color: var(--muted); font-size: 14px; }
.pub .soon { display: inline-block; margin-top: 10px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: 4px 6px; }

.pub .two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.pub .feed { list-style: none; margin: 0; padding: 0; }
.pub .feed li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pub .feed li:first-child { padding-top: 0; }
.pub .feed img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); }
.pub .feed .noimg { width: 76px; height: 76px; background: var(--tim-soft); }
.pub .feed h3 { font: 600 16.5px/1.3 var(--read); margin: 0 0 4px; }
.pub .feed h3 a { color: var(--ink); }
.pub .feed .meta { display: block; margin: 0; font-size: 13px; color: var(--muted); }
.pub .feed .sum { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.pub .tag { color: var(--tim); }
.pub .draft { display: inline-block; width: auto; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 4px; }

/* Семьи посёлка — одна серия, величина: столбики одного оттенка, подпись и число текстом. */
.pub .fam { list-style: none; margin: 0; padding: 0; }
.pub .fam li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 5px 0; }
.pub .fam a { color: var(--base); font-weight: 600; }
.pub .fam .bar { height: 10px; background: var(--base-soft); border-radius: 0 4px 4px 0; position: relative; }
.pub .fam .bar i { position: absolute; inset: 0 auto 0 0; background: var(--base); border-radius: 0 4px 4px 0; opacity: .78; }
.pub .fam li:hover .bar i { opacity: 1; }
.pub .fam b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.pub .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.pub .places { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pub .places li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.pub .places a { font: 700 16px/1.2 var(--display); }
.pub .places span { font-size: 13px; color: var(--muted); text-align: right; }

.pub .strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pub .strip a { color: var(--muted); }
.pub .strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 1px solid var(--line); filter: saturate(.9); }
.pub .strip figcaption { font-size: 12.5px; color: var(--muted); padding-top: 6px; line-height: 1.35; }

/* ---------- статья ---------- */
.pub .post { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding: 16px 0 10px; }
.pub .post-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; }
.pub .post h1 { font: 400 clamp(32px, 4.4vw, 48px)/1.08 var(--display); margin: 0 0 24px; max-width: 18em; }
.pub .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 26px; align-items: start; }
.pub .gallery.one { grid-template-columns: minmax(0, 36em); }
.pub .body { font: 18px/1.68 var(--read); max-width: 36em; overflow-wrap: break-word; }
.pub .body p { margin: 0 0 1em; }
.pub .body strong { font-weight: 600; }
.pub .body h2 { font: 400 26px/1.2 var(--display); margin: 1.4em 0 .5em; }
.pub .body h3 { font: 600 19px/1.3 var(--read); margin: 1.2em 0 .4em; }
.pub .body .print.inline { margin: 0 0 1.4em; }
.pub .body .print.inline img { margin: 0; }
.pub .body .slides { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 1.4em; padding-bottom: 6px; }
.pub .body .slides .print.inline { flex: 0 0 min(78%, 420px); margin: 0; scroll-snap-align: start; }
.pub .body .slides .print.inline img { width: 100%; height: auto; }
.pub .body .subtitle { margin: -6px 0 1.4em; font: 400 20px/1.4 var(--display); color: var(--muted); }
.pub .body .callout { margin: 0 0 1.6em; padding: 14px 18px; background: var(--tim-soft); border-left: 3px solid var(--tim);
  border-radius: 0 6px 6px 0; font: 16px/1.5 var(--sans); }
.pub .body .callout a { font-weight: 600; }
.pub .body blockquote { margin: 0 0 1em; padding: 2px 0 2px 18px; border-left: 3px solid var(--tim-rule); color: var(--ink); }
.pub .body ul, .pub .body ol { margin: 0 0 1em; padding-left: 1.3em; }
.pub .body img { margin: 0 0 1em; }
.pub .body table { border-collapse: collapse; font: 15px/1.45 var(--sans); margin: 0 0 1em; }
.pub .body sup a.footnote-ref { font: 600 12px/1 var(--sans); text-decoration: none; padding: 0 1px; }
.pub .body .footnote { margin: 2em 0 0; padding-top: .4em; border-top: 1px solid var(--line); font: 15px/1.5 var(--sans); }
.pub .body .footnote summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; }
.pub .body .footnote summary::-webkit-details-marker { display: none; }
.pub .body .footnote summary::before { content: "▸"; color: var(--tim); font-size: 14px; transition: transform .15s; }
.pub .body .footnote[open] summary::before { transform: rotate(90deg); }
.pub .body .footnote summary::after { content: "показать"; font: 13px/1 var(--sans); color: var(--muted); }
.pub .body .footnote[open] summary::after { content: "свернуть"; }
.pub .body .footnote h2 { font: 400 22px/1.2 var(--display); margin: .6em 0 .5em; display: inline; }
.pub .body .footnote summary:focus-visible { outline: 2px solid var(--tim); outline-offset: 2px; border-radius: 3px; }
.pub .body .footnote ol { padding-left: 1.8em; margin-top: .8em; }
.pub .body .footnote li { margin: 0 0 .35em; scroll-margin-top: 80px; border-radius: 3px; }
.pub .body .footnote li.fn-flash { animation: fn-flash 2s ease-out; }
@keyframes fn-flash { from { background: var(--tim-soft); } to { background: transparent; } }
.pub .body .footnote p { margin: 0; }
.pub .body .footnote-backref { text-decoration: none; }
.pub .body sup[id^="fnref"] { scroll-margin-top: 80px; }
/* подсказка сноски (footnotes.js) — вне .pub, в body */
.fn-tip { position: absolute; z-index: 50; box-sizing: border-box; padding: 12px 14px 10px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
  font: 14px/1.5 var(--sans); }
.fn-tip a { color: var(--tim); }
.fn-tip-text b { font-weight: 600; color: var(--tim); }
.fn-tip-go { display: block; margin: 8px 0 0 auto; padding: 4px 10px; font: 600 13px/1.3 var(--sans); color: var(--tim);
  background: var(--tim-soft); border: 0; border-radius: 4px; cursor: pointer; }
.fn-tip-go:hover { text-decoration: underline; }
.fn-tip-go:focus-visible { outline: 2px solid var(--tim); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pub .body .footnote li.fn-flash { animation: none; background: var(--tim-soft); } }
.pub .body th, .pub .body td { border: 1px solid var(--line); padding: 5px 8px; vertical-align: top; text-align: left; }
.pub .series-nav { margin: 30px 0 0; max-width: 36em; display: grid; gap: 10px; }
.pub .series-next { display: block; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--tim); border-radius: 4px; color: var(--ink); }
.pub .series-next:hover { text-decoration: none; border-color: var(--tim); }
.pub .series-next small { display: block; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.pub .series-next b { font: 700 19px/1.3 var(--display); }
.pub .series-next.prev { border-left-width: 1px; }
.pub .series-next.prev b { font-size: 16px; }

.pub .aside { font-size: 14px; }
.pub .aside section { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.pub .aside h2 { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.pub .aside .doc { display: block; padding: 6px 0; }
.pub .aside .doc small { display: block; color: var(--muted); }
.pub .aside ol { margin: 0; padding-left: 18px; }
.pub .aside ol li { margin: 0 0 6px; }
.pub .aside ol .on { font-weight: 600; color: var(--ink); }
.pub .cite { overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; background: var(--panel); border: 1px dashed var(--line-strong); padding: 10px 12px; border-radius: 4px; }
.pub .related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pub .related a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; color: var(--ink); }
.pub .related a:hover { border-color: var(--tim); text-decoration: none; }
.pub .related b { display: block; font: 600 16px/1.3 var(--read); margin-bottom: 6px; }
.pub .related small { color: var(--muted); }

/* ---------- списки: фильтры, поиск ---------- */
.pub .filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 22px; padding: 0; background: none; border: 0; }
.pub .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pub .chips .label { margin-right: 4px; }
.pub .chips a { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 13.5px; }
.pub .chips a:hover { border-color: var(--tim); text-decoration: none; }
.pub .chips a.on { background: var(--tim); border-color: var(--tim); color: var(--panel); }
.pub .chips a small { color: var(--muted); margin-left: 3px; }
.pub .chips a.on small { color: inherit; opacity: .8; }
.pub .tag-def { font-size: 14px; color: var(--muted); margin: -8px 0 18px; max-width: 46em; }
.pub .find { display: flex; gap: 8px; max-width: 520px; margin: 0 0 18px; }
.pub .find input { flex: 1; font-size: 16px; padding: 7px 10px; }
.pub .find button { padding: 7px 16px; font-weight: 600; }
.pub .pager { margin: 18px 0; }

/* ---------- фотоархив ---------- */
.pub .photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.pub .photos a { color: var(--ink); }
.pub .photos a:hover { text-decoration: none; }
.pub .photos img { aspect-ratio: 1; object-fit: cover; width: 100%; border: 1px solid var(--line); background: var(--tim-soft); }
.pub .photos figcaption { font-size: 13px; line-height: 1.35; padding-top: 6px; }
.pub .photos figcaption small { display: block; color: var(--muted); }

/* ---------- места, роды ---------- */
.pub .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pub .card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; color: var(--ink); }
a.card:hover { text-decoration: none; border-color: var(--tim); }
.pub .card b { display: block; font: 700 18px/1.25 var(--display); color: var(--tim); }
.pub .card span { display: block; font-size: 13px; color: var(--muted); }
.pub .card-podpis { display: block; max-width: 100%; max-height: 44px; width: auto; height: auto; margin: 8px 0 6px; border-radius: 3px; }
.pub .facts { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.pub .facts li { padding: 8px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.pub .facts small { color: var(--muted); }
.pub table.grid { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--panel); }
.pub table.grid th { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.pub table.grid td { padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pub table.grid td.num, .pub table.grid th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pub table.grid td.zero { color: var(--line-strong); }
.pub .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.pub .table-wrap table.grid tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .pub .hero, .pub .two, .pub .post { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pub .hero .print { transform: none; max-width: 520px; }
  .pub .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub .origins { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pub .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pub .related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .pub .articles { grid-template-columns: minmax(0, 1fr); }
  .pub .gallery { grid-template-columns: 1fr; }
  .pub .ledger td { font-size: 36px; }
  .pub .body { font-size: 17px; }
  .pub .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pub .fam li { grid-template-columns: 104px minmax(0, 1fr) 36px; }
}

/* Страницы фотографов: снимок с двух сторон (pub_build.py, <!-- снимок: … -->; snimki.js) */
.pub .card-wait b { color: var(--muted); }
.pub .card-wait .soon { display: inline-block; margin-top: 8px; }
.pub .places li > span:first-child { color: var(--muted); }
.pub .body .snimok { margin: 0 0 2em; }
.pub .body .snimok .sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pub .body .snimok .side { display: block; padding: 10px; margin: 0; background: var(--print); border: 1px solid var(--line); cursor: zoom-in; font: inherit; }
.pub .body .snimok .side img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; margin: 0; }
.pub .body .snimok figcaption { position: relative; padding: 8px 2px 0; font-size: 14px; line-height: 1.45; }
.pub .body .snimok .more { position: relative; display: inline-block; margin-left: 10px; }
.pub .body .snimok .more-btn { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--tim); background: none; border: 1px solid var(--tim-rule); border-radius: 3px; padding: 4px 7px; cursor: pointer; }
.pub .body .snimok .more-pop { display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; width: min(420px, 80vw); padding: 10px 12px; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 4px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .35); font-size: 13.5px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.pub .body .snimok .more-pop .mono { display: block; margin-top: 6px; color: var(--muted); }
.pub .body .snimok .more.open .more-pop { display: block; }
@media (hover: hover) and (pointer: fine) { .pub .body .snimok .more:hover .more-pop { display: block; } }
@media (max-width: 720px) {
  .pub .body .snimok .sides { grid-template-columns: 1fr; }
  .pub .body .snimok .more { display: block; margin: 8px 0 0; }
  .pub .body .snimok .more-pop { left: 0; right: auto; width: min(420px, calc(100vw - 32px)); }
}
.snimok-big { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgb(12 10 8 / .9); cursor: zoom-out; padding: 2vh 2vw; }
.snimok-big img { max-width: 96vw; max-height: 96vh; width: auto; height: auto; object-fit: contain; }
body.snimok-open { overflow: hidden; }
