/* ==========================================================================
   amateurpublicupskirt.com - общий каркас для дизайнов 4-8.
   Тема дизайна (цвета, шрифты, характер) лежит в отдельном файле и
   переопределяет токены ниже. Каркас отвечает за сетку 320px...4K,
   рекламные места, доступность и состояния.
   ========================================================================== */

:root {
  --bg: #121316;
  --surface: #1b1d22;
  --surface-2: #24272e;
  --fg: #eceef2;
  --muted: #9aa0ad;
  --line: #2d3039;
  --accent: #e5484d;
  --accent-fg: #fff;
  --link: var(--fg);
  --skel: #23262d;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1680px;
  --col: 156px;
  --gap: 12px;
  --pad: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  background: var(--accent); color: var(--accent-fg); padding: 10px 14px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.rot { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: 0; top: 0; }

/* ---------- шапка ---------- */
.hdr { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.hdr__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.05;
  text-decoration: none; color: var(--fg); white-space: nowrap; letter-spacing: -.01em;
}
.logo b { color: var(--accent); font-weight: inherit; }
.search { display: flex; flex: 1 1 auto; min-width: 0; max-width: 560px; margin-left: auto; }
.search input {
  flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 14px;
  background: var(--bg); border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--fg);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; border-color: var(--accent); }
.search button {
  height: 40px; padding: 0 16px; border: 0; font-weight: 600;
  background: var(--accent); color: var(--accent-fg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: transform .15s var(--ease), filter .15s;
}
.search button:hover { filter: brightness(1.08); }
.search button:active { transform: translateY(1px); }
.burger {
  display: none; width: 42px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line);
  background: transparent; border-radius: var(--radius-sm); padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }
.nav { border-top: 1px solid var(--line); }
.nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block; padding: 11px 12px; color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.hdr__ad { padding: 10px 0; }

@media (max-width: 720px) {
  .hdr__in { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .burger { display: block; margin-left: auto; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .nav { display: none; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; }
}

/* ---------- полосы категорий под шапкой ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: 0 0 auto; scroll-snap-align: start; padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 99px; color: var(--fg); text-decoration: none; font-size: 13px; font-weight: 600;
  white-space: nowrap; background: var(--surface);
}
.chips a:hover { border-color: var(--accent); }

/* ---------- хлебные крошки ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li { display: flex; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs li[aria-current] { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

/* ---------- заголовок страницы ---------- */
.main { padding: 18px 0 40px; }
.head { margin: 0 0 18px; }
.head h1 { font-size: clamp(22px, 2.6vw + 10px, 36px); letter-spacing: -.02em; }
.head__sub { color: var(--muted); margin-top: 6px; }
.head__sub em { font-style: normal; color: var(--fg); }
.sorts { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.sort {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line);
  text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600;
}
.sort--on, .sort:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- сетка карточек ---------- */
.grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(var(--col), 1fr));
  /* реклама занимает 2 колонки: если в конце ряда осталась одна, её
     заполнит следующая карточка, а не пустота */
  grid-auto-flow: dense;
  align-items: start;   /* карточки не тянутся по высоте соседей в ряду */
}
/* телефон: всегда ровно две колонки, независимо от --col темы */
@media (max-width: 600px) {
  .grid, .cats, .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card { min-width: 0; position: relative; }
.card__link { display: block; color: inherit; text-decoration: none; }
.card__media {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--skel);
  border-radius: var(--radius-sm);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s;
}
.card__link:hover .card__media img { transform: scale(1.04); }
.card__title {
  font-size: 13.5px; font-weight: 600; line-height: 1.3; margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--font);
}
.card__meta { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
/* in-grid реклама - полоса на всю ширину сетки: зона 2965206 это нативный
   виджет ~1130px (проверено на сайте), в ячейку карточки он не помещается.
   Высота зарезервирована - без CLS. */
.card--ad { grid-column: 1 / -1; display: flex; justify-content: center; }
.card--ad .ad { width: 100%; min-height: 250px; margin: 6px 0; }

/* ---------- рекламные места ---------- */
.ad {
  position: relative; display: flex; align-items: center; justify-content: center;
  flex-direction: column; margin: 18px auto; max-width: 100%; overflow: hidden;
}
.ad ins, .ad iframe { max-width: 100%; }
.ad--header { min-height: 90px; margin: 0 auto; }
.ad--mid { min-height: 250px; }
.ad--native { min-height: 260px; width: 100%; }
.ad--footer { min-height: 90px; }
.ad--gallery, .ad--photo, .ad--side { min-height: 250px; width: 300px; }
.ad--banner { min-height: 100px; }
/* заглушки прототипа (папка html) */
.ad--stub {
  border: 1px dashed color-mix(in srgb, var(--muted) 55%, transparent);
  background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--muted) 7%, transparent) 10px 20px);
  color: var(--muted); font: 600 12px/1.4 var(--font-mono); text-align: center; gap: 2px; padding: 10px;
  border-radius: var(--radius-sm);
}
.ad--stub.ad--header { width: min(728px, 100%); }
.ad--stub.ad--mid { width: min(728px, 100%); }
.ad--stub.ad--banner { width: min(728px, 100%); }
.ad--stub.ad--footer { width: min(728px, 100%); }
.ad__badge {
  position: absolute; top: 6px; left: 6px; font-size: 10px; letter-spacing: .06em;
  padding: 1px 6px; border-radius: 4px; background: var(--fg); color: var(--bg);
}
.ad__size { color: var(--fg); font-size: 13px; }

/* ---------- пагинация ---------- */
.pager { margin: 24px 0 8px; }
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  color: var(--fg); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pager a:hover { border-color: var(--fg); }
.pager .pg--cur { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }

/* ---------- блоки, категории, теги ---------- */
.block { margin-top: 36px; }
.block > h2 { font-size: 20px; margin-bottom: 14px; letter-spacing: -.01em; }
.block__more { margin-top: 12px; }
.block__more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.cats { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cat a { display: block; position: relative; text-decoration: none; color: #fff; border-radius: var(--radius-sm); overflow: hidden; background: var(--skel); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cat__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; font-weight: 700; line-height: 1.2;
  background: linear-gradient(to top, rgba(10, 10, 12, .88), rgba(10, 10, 12, 0));
}
.cat__n { display: block; font-size: 12px; font-weight: 500; opacity: .8; margin-top: 2px; }
.cloud { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; }
.tag {
  text-decoration: none; color: var(--fg); padding: 4px 10px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); line-height: 1.3;
}
.tag:hover { border-color: var(--accent); }
.tag--w0, .tag--w1 { font-size: 13px; color: var(--muted); }
.tag--w2 { font-size: 14px; }
.tag--w3 { font-size: 15.5px; }
.tag--w4 { font-size: 17px; font-weight: 600; }
.tag--w5, .tag--w6, .tag--w7 { font-size: 19px; font-weight: 700; }
.alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 6px; }
.alpha a {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700;
}
.alpha a:hover { border-color: var(--accent); color: var(--accent); }
.tagsec { margin-top: 22px; scroll-margin-top: 16px; }
.tagsec h2 { font-size: 22px; margin-bottom: 10px; }

/* ---------- галерея ---------- */
.shots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shots a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); background: var(--skel); }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shots a:hover img { transform: scale(1.04); }
.shots .shot--ad { grid-column: span 2; display: flex; align-items: center; justify-content: center; }
.shots .shot--ad .ad { margin: 0; }
.sponsor { display: flex; justify-content: center; margin: 18px 0; }
.sponsor img { max-width: 100%; height: auto; }
.gal-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-fg); font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), filter .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--fg); }

/* ---------- просмотр фото [K-3] ---------- */
.viewer { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .viewer { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.viewer__stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  background: var(--surface); border-radius: var(--radius); min-height: 60vh; padding: 10px; touch-action: pan-y;
}
.viewer__img { width: auto; max-height: 82vh; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.viewer__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px;
  display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1;
  color: #fff; background: rgba(12, 12, 14, .55); border-radius: var(--radius-sm); text-decoration: none;
}
.viewer__arrow--prev { left: 10px; }
.viewer__arrow--next { right: 10px; }
.viewer__arrow:hover { background: var(--accent); color: var(--accent-fg); }
.viewer__side { display: grid; gap: 16px; justify-items: center; }
.viewer__side .ad { margin: 0; }
.viewer__meta { width: 100%; }
.viewer__meta h1 { font-size: 20px; letter-spacing: -.01em; }
.viewer__pos { color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.viewer__pos strong { color: var(--fg); font-size: 1.25em; }
.viewer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.viewer__nav .btn { width: 100%; padding: 0 10px; }
.viewer__back { margin-top: 12px; }
.viewer__back a, .viewer__more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.viewer__more { margin-top: 8px; font-size: 14px; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scroll-snap-type: x proximity; }
.strip li { flex: 0 0 72px; scroll-snap-align: start; }
.strip a { display: block; border-radius: var(--radius-sm); overflow: hidden; opacity: .6; border: 2px solid transparent; }
.strip a:hover, .strip a[aria-current] { opacity: 1; }
.strip a[aria-current] { border-color: var(--accent); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- 404, юр. страницы ---------- */
.err { text-align: center; padding: 30px 0 10px; max-width: 640px; margin: 0 auto; }
.err__code { font: 800 clamp(64px, 14vw, 140px)/1 var(--font-display); color: var(--accent); letter-spacing: -.04em; }
.err h1 { font-size: 26px; margin-top: 8px; }
.err__text { color: var(--muted); margin: 10px auto 18px; max-width: 46ch; }
.err .search { margin: 0 auto; max-width: 520px; }
.doc { max-width: 72ch; }
.doc h1 { font-size: clamp(22px, 2vw + 12px, 32px); letter-spacing: -.02em; }
.doc h2 { font-size: 18px; margin: 26px 0 8px; }
.doc p { color: var(--fg); opacity: .9; margin: 0 0 10px; }
.doc__lead { color: var(--muted) !important; margin-top: 10px !important; }
.doc__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc__nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: 14px; }
.todo { background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 0 4px; border-radius: 3px; }

/* ---------- подвал ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0 30px; margin-top: 30px; }
.ftr h2 { font-size: 15px; margin: 22px 0 10px; color: var(--muted); font-family: var(--font); font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.links a { color: var(--fg); text-decoration: none; opacity: .85; }
.links a:hover { opacity: 1; text-decoration: underline; }
.toplist { overflow-x: auto; margin-top: 10px; }
.toplist table { border-collapse: collapse; margin: 0 auto; }
.toplist img { max-width: 120px; height: auto; }
.ftr__legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.ftr__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.ftr__legal a { color: var(--muted); text-decoration: none; }
.ftr__legal a:hover { color: var(--fg); }
.ftr__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 90ch; }

/* ---------- нижняя панель (Pocket) ---------- */
.tabbar { display: none; }

/* ---------- боковая колонка (Grove слева, Spotlight справа) ----------
   Десктоп от 1100px: постоянная колонка, прилипает к верху экрана, реклама
   внизу колонки всегда в поле зрения. Меньше 1100px: выезжающая панель
   по кнопке меню. Сторону и сетку задаёт тема. */
.side { display: none; }
.has-side .side { display: flex; flex-direction: column; background: var(--surface); }
.side__h { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 18px 18px 8px; }
.side__cats { flex: 1 1 auto; overflow-y: auto; padding: 0 8px 8px; scrollbar-width: thin; }
.side__cats a {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--fg); font-size: 14.5px;
}
.side__cats a:hover { background: var(--surface-2); }
.side__cats i { font-style: normal; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.side__more { display: flex; gap: 14px; padding: 6px 18px 12px; font-size: 13px; }
.side__more a { color: var(--accent); text-decoration: none; font-weight: 600; }
.side__ad { padding: 12px 0 14px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.side__ad .ad { margin: 0; }
.side__x { display: none; }
@media (min-width: 1100px) {
  .has-side .side { position: sticky; top: 0; height: 100dvh; }
  .has-side .main { padding-top: 18px; }
}
@media (max-width: 1099px) {
  .has-side .side {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); z-index: 25;
    transform: translateX(-102%); transition: transform .3s var(--ease); box-shadow: 0 0 40px rgba(0, 0, 0, .35);
  }
  .has-side.nav-open .side { transform: none; }
  .has-side.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 24; }
  .has-side .side__x {
    display: block; align-self: flex-end; margin: 12px 12px 0; background: transparent; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 6px 12px; color: var(--fg);
  }
  .has-side .burger { display: block; margin-left: auto; }
  .has-side .nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Design 1: HERITAGE
   Модернизированная классика: узнаваемость текущего сайта. Тёмно-оливковый
   фон, логотип «Amateur» розовым и «upskirt» лаймовым, красные ссылки,
   светлые заголовки #ffffcc. Только тёмная тема: это фирменный вид сайта.
   Радиус 8px.
   ========================================================================== */

:root {
  --bg: #1a1c18;
  --surface: #232620;
  --surface-2: #2b2f27;
  --fg: #eef0ea;
  --muted: #a8b0a0;
  --line: #3a4034;
  --accent: #ff3b30;
  --accent-fg: #fff;
  --link: #ff3b30;
  --skel: #2b2f27;
  --pink: #ff9ec4;
  --lime: #8ce563;
  --cream: #ffffcc;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "Trebuchet MS", Arial, sans-serif;
  --radius: 8px;
  --radius-sm: 8px;
  --wrap: 1700px;
  --col: 150px;
  --gap: 12px;
}

.d-heritage .hdr { background: var(--surface); }
.d-heritage .logo { font-size: clamp(19px, 15px + 1.3vw, 28px); color: var(--cream); font-weight: 700; }
.d-heritage .logo__a { color: var(--pink); }
.d-heritage .logo b { color: var(--lime); }
.d-heritage .nav { background: #1d201a; }
.d-heritage .nav a { color: var(--muted); }
.d-heritage .nav a:hover { color: var(--lime); background: var(--surface-2); }
.d-heritage .nav a[aria-current] { color: var(--lime); box-shadow: inset 0 -3px 0 var(--accent); }
.d-heritage .search input { background: #f2f7ef; color: #1a1c18; border-color: #c0c8b9; }
.d-heritage .search input::placeholder { color: #5e6858; }

.d-heritage .head h1, .d-heritage .block > h2, .d-heritage .ftr h2 { color: var(--cream); }
.d-heritage .block > h2 { border-bottom: 2px solid #c0c8b9; padding-bottom: 6px; }
.d-heritage .head__sub em { color: var(--lime); }

/* карточка - тёмная плашка с подписью внутри, как на текущем сайте */
.d-heritage .card:not(.card--ad) { background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.d-heritage .card__media { border-radius: 0; }
.d-heritage .card__title { font-size: 13px; font-weight: 700; padding: 7px 9px 9px; margin: 0; min-height: calc(2.6em + 16px); color: var(--fg); }
.d-heritage .card__link:hover .card__title { color: #ff7a45; }
.d-heritage .card--ad { background: var(--surface); border-radius: var(--radius); }

.d-heritage .sort--on { background: var(--accent); border-color: var(--accent); color: #fff; }
.d-heritage .tag { color: var(--pink); background: transparent; border-color: var(--line); }
.d-heritage .tag:hover { color: var(--lime); }
.d-heritage .cat__name { color: var(--cream); }
.d-heritage .block__more a, .d-heritage .viewer__back a, .d-heritage .viewer__more a { color: var(--accent); }
.d-heritage .crumbs a:hover { color: var(--lime); }
.d-heritage .err__code { color: var(--pink); }
.d-heritage .links a { color: var(--pink); }
