/* Оформление исторических сводок дня (/ГГГГ/ММ/ДД). Собирает страницы prototype/tools/day_archive.py; правила — docs/DAY-PAGES.md. */
:root {
  --ink: #101a1f;
  --text: #1a1a1a;
  --amber: #f6a83a;
  --brand: #8a5a06;
  --label-bg: #fff1cf;
  --accent: #207d96;
  --muted: #5f6b76;
  --line: #e3e6ea;
  --soft: #f6f8f9;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: white; color: var(--text); font: 16px/1.5 system-ui, sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 400 1.6rem/1.18 var(--serif); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
summary { cursor: pointer; }
[id] { scroll-margin-block-start: 16px; }
.frame { width: min(1480px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 1; padding: 6px 12px; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }

.masthead { background: var(--ink); color: white; border-bottom: 2px solid var(--amber); }
.masthead a { color: white; text-decoration: none; }
.masthead a:hover { color: var(--amber); }
.masthead :focus-visible { outline-color: var(--amber); }
.masthead-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 11px; font: 700 17px/1.16 var(--serif); }
.brand img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand small { display: block; margin-top: 3px; font: 12px/1.2 system-ui, sans-serif; color: #c7d0d4; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 21px; font-size: .875rem; }
.site-mobile { display: none; flex: none; font-size: .875rem; }
.site-mobile summary { min-height: 44px; align-content: center; }
.site-mobile .site-nav { padding: 8px 12px; position: absolute; z-index: 1; inset: 72px var(--gutter) auto; background: var(--ink); border: 1px solid #5f6b76; }
.site-mobile:not([open]) .site-nav { display: none; }
.site-mobile .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }

.archive-day {
  --paper: #fbfaf7;
  --soft: #f2efe8;
  --line: #d6d5ce;
  --rule: #8d989a;
  --photo-paper: #dfe8e8;
  --photo-line: #567780;
  --amber-text: #815306;
  background: var(--paper);
  font-size: .9375rem;
  line-height: 1.38;
}
.archive-day .masthead-inner { min-height: 56px; padding-block: 6px; }
.archive-day .brand img { width: 36px; height: 36px; }
.archive-day .site-mobile .site-nav { inset-block-start: 58px; }

.day-frame { max-width: 1240px; }
.day-header { padding-top: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 1px 8px; font-size: .75rem; margin-bottom: 6px; }
.day-heading { display: flex; align-items: end; justify-content: space-between; gap: 4px 18px; }
.day-heading h1 { font-size: clamp(1.55rem, 2.55vw, 2.65rem); letter-spacing: -.027em; }
.day-heading h1 span { font-size: .61em; letter-spacing: -.01em; }
.day-heading .eyebrow { font-size: .6875rem; }
.day-deck { color: var(--muted); font-size: .8125rem; }
.day-pager, .day-toc { display: flex; flex-wrap: wrap; gap: 1px 16px; font-size: .8125rem; }
.day-pager a, .day-toc a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.day-toc a:hover, .day-pager a:hover { text-decoration: underline; }
.day-toc { border-block: 1px solid var(--line); margin-bottom: 12px; }

.day-layout { display: grid; gap: 14px; padding-top: 10px; }
.day-layout > * { min-width: 0; }
@media (min-width: 850px) {
  .day-layout { grid-template-columns: minmax(0, 1fr) 292px; gap: 22px; }
  .day-rail { border-left: 1px solid var(--line); padding-left: 16px; }
}
.dd-svg-library { position: absolute; }
.dd-icon {
  display: block;
  flex: none;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dd-sec > h2, .dd-heading, .day-rail h2, .day-rail h3, .dd-colophon h2 {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dd-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-top: 2px solid var(--amber);
  border-bottom: 1px solid var(--line);
  padding: 9px 10px 8px 13px;
}
.dd-lead-copy { min-width: 0; }
.dd-heading { color: var(--amber-text); }
.dd-heading .dd-icon { color: inherit; }
.dd-lead h2 { margin: 3px 0 4px; font-size: clamp(1.25rem, 2.1vw, 2rem); line-height: 1.08; }
.dd-lead h2 a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.dd-photo { display: block; background: var(--photo-paper); color: var(--photo-line); }
.dd-photo-lead { width: 100%; height: auto; aspect-ratio: 280 / 138; }
.dd-photo-grid, .dd-photo-trace { fill: none; stroke: currentColor; stroke-width: .8; }
.dd-photo-grid { opacity: .3; }
.dd-photo-wash { fill: currentColor; opacity: .17; }
.dd-photo-label { fill: var(--paper); }
.dd-photo text { fill: var(--ink); font: 500 8px system-ui, sans-serif; }
.dd-photo-lead text { font-size: 13px; }

.dd-meta, .dd-cap, .dd-src, .dd-head1 small, .dd-relit small { color: var(--muted); font-size: .8125rem; }
.dd-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 3px; }
.dd-sources summary { width: fit-content; align-content: center; min-height: 24px; font-size: .8125rem; color: var(--accent); }
.dd-src { overflow-wrap: anywhere; margin-bottom: 4px; }
.dd-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 12px;
  padding: 6px 0;
  font-size: .75rem;
  color: var(--muted);
}
.dd-stat-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dd-stat-values p { padding-inline: 8px; border-left: 1px solid var(--line); line-height: 1.26; }
.dd-stat-values strong { color: var(--ink); font-size: .875rem; font-variant-numeric: tabular-nums; }
.dd-spark { display: grid; align-items: center; gap: 2px; padding-inline-start: 8px; border-left: 1px solid var(--line); }
.dd-spark figcaption { line-height: 1.2; }
.dd-spark figcaption span { white-space: nowrap; }
.dd-spark svg { display: block; max-width: 100%; fill: var(--accent); }
.dd-spark .dd-spark-current { fill: var(--amber); stroke: var(--amber-text); stroke-width: .6; }
.dd-spark-baseline { stroke: var(--rule); stroke-width: 1; }

.dd-sec { margin-bottom: 10px; }
.dd-sec > h2 { border-top: 1px solid var(--rule); padding-top: 6px; margin-bottom: 4px; font-size: 1.375rem; }
.dd-cap { margin-bottom: 4px; }
.dd-list, .dd-focus, .dd-people, .history-list, .theme-events { padding: 0; margin: 0; list-style: none; }
.dd-list > li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.dd-list > li:last-child { border-bottom: 0; }
#chronicle .dd-list > li { display: grid; grid-template-columns: 56px 20px minmax(0, 1fr); align-items: start; gap: 8px; }
#chronicle .dd-list > li > .dd-icon { margin-top: 2px; }
.dd-ev, .dd-people h3, .dd-rel h3 { font-size: 1.0625rem; line-height: 1.2; }
.dd-sum { margin-top: 3px; }
.dd-talk-meta, .dd-talk-sources, .dd-talk-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
}
.dd-talk-meta { margin-top: 4px; font-size: .8125rem; }
.dd-talk-counts { color: var(--muted); }
.dd-avatars { display: flex; flex: none; }
.dd-avatars img {
  border: 1px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
}
.dd-avatars img + img { margin-inline-start: -5px; }
.dd-channel-more { min-width: 0; }
.dd-channel-more summary {
  display: block;
  width: fit-content;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.dd-channel-more ul { padding-inline-start: 1.2em; margin: 4px 0; }
.dd-channel-more[open] { flex-basis: 100%; }
.dd-more { margin-top: 5px; font-size: .8125rem; }
.dd-focus li { display: grid; grid-template-columns: 2ch minmax(0, 1fr) auto; gap: 6px; border-bottom: 1px solid var(--line); padding: 5px 0; font-size: .8125rem; }
.dd-rank, .dd-move, .dd-ft small { color: var(--muted); font-variant-numeric: tabular-nums; }
.dd-ft small, .dd-head1 small, .dd-relit small { display: block; }
.dd-people li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 6px 0;
}
.dd-people li + li { border-top: 1px solid var(--line); }
.dd-portrait {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}
.dd-portrait-initials {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}
.dd-burst { color: var(--muted); font-size: .8125rem; }
.dd-head1, .dd-relit { margin-top: 5px; }
.dd-rel { display: grid; gap: 9px; }
@media (min-width: 1100px) {
  .dd-columns { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 0 18px; }
  .dd-columns > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
}
.dd-end { margin-block: 12px 16px; }
.dd-bottom { justify-content: space-between; border-block: 1px solid var(--line); }
.dd-colophon { margin-top: 9px; max-width: 85ch; font-size: .8125rem; color: var(--muted); }
.dd-colophon h2 { font-size: 1.125rem; margin-bottom: 3px; }

.calendar { max-width: 320px; }
.calendar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.day-rail .calendar h2 { font-size: 1.25rem; }
.calendar-head > a { font-size: .8125rem; }
.dcal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; font-size: .8125rem; }
.dcal-grid > * { display: grid; place-items: center; min-height: 28px; text-align: center; }
.dcal-grid.dcal-year { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dcal-wd, .dcal-day.is-none { color: var(--muted); }
.dcal-grid a { color: var(--ink); text-decoration: none; }
.dcal-grid a:hover { outline: 1px solid var(--accent); outline-offset: -1px; text-decoration: underline; }
.dcal-grid .lv-1 { background: color-mix(in srgb, var(--accent) 9%, white); }
.dcal-grid .lv-2 { background: color-mix(in srgb, var(--accent) 16%, white); }
.dcal-grid .lv-3, .dcal-grid .lv-4, .dcal-grid .lv-5 { background: color-mix(in srgb, var(--accent) 24%, white); }
.dcal-grid [aria-current] { background: var(--amber); color: var(--ink); font-weight: 700; }
.calendar-legend { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.day-rail .calendar { max-width: none; margin-bottom: 12px; }
.day-rail .dcal-grid > * { min-height: 25px; }
.day-rail .dd-figures { border-top: 1px solid var(--rule); padding-top: 6px; }
.day-rail .figures-title { font-size: 1.375rem; margin-bottom: 6px; }
.dd-fig { border-bottom: 1px solid var(--line); padding: 6px 0; }
.dd-fig:last-child { border: 0; }
.dd-fig h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.dd-fig .dd-cap { margin: 6px 0 0; }
.wx {
  display: block;
  flex: none;
  width: 48px;
  height: 40px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wx-sun circle, .wx-sun path { stroke: var(--brand); }
.wx-snow circle { fill: var(--muted); stroke: none; }
.dd-weather { display: flex; align-items: center; gap: 8px; }
.dd-weather strong { display: block; font-size: 1.5rem; line-height: 1.16; color: var(--ink); }
.dd-weather span { color: var(--muted); font-size: .8125rem; }
.weather-comparison { margin: 6px 0; font-size: .875rem; }
.dd-wxd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; font-size: .8125rem; }
.dd-wxd dt { color: var(--muted); }
.dd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 5px; padding: 3px 0; font-size: .8125rem; border-bottom: 1px solid var(--line); }
.dd-row:last-of-type { border-bottom: 0; }
.dd-row strong, .dd-chg { text-align: right; }
.dd-chg { grid-column: 2; color: var(--muted); font-size: .75rem; }
.figure-details summary { min-height: 26px; align-content: center; color: var(--accent); font-size: .8125rem; }

.home-hero { display: grid; align-items: start; gap: 32px; padding-block: 32px; }
.home-hero > * { min-width: 0; }
@media (min-width: 821px) and (max-width: 1200px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr); }
  .home-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1201px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, .72fr); }
  .home-rail { border-left: 1px solid var(--line); padding-left: 20px; }
}
.home-intro h1 { font-size: clamp(2rem, 3.18vw, 3.25rem); letter-spacing: -.032em; line-height: 1.03; text-wrap: balance; }
.home-intro > p { margin-top: 18px; max-width: 50ch; }
.home-intro .search-note { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.home-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 22px; }
.home-search input, .home-search button { min-width: 0; min-height: 48px; border: 1px solid var(--ink); }
.home-search input { border-radius: 3px 0 0 3px; background: white; color: var(--ink); padding: 0 12px; }
.home-search button { background: var(--ink); color: white; border-radius: 0 3px 3px 0; padding-inline: 14px; cursor: pointer; }
.home-search button:hover { background: var(--accent); }
.source-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 9px; font-size: .875rem; }

.home-theme { background: var(--soft); border-top: 3px solid var(--amber); padding: 16px 18px; }
.home-theme h2 { font-size: clamp(1.5rem, 2.45vw, 2.38rem); line-height: 1.13; margin: 0 0 13px; }
.home-theme h2 a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.theme-image { width: 100%; display: grid; align-content: end; gap: 4px; aspect-ratio: 16 / 5.6; min-height: 112px; padding: 14px; background: var(--ink); color: white; }
.theme-image span { font: 400 clamp(1.45rem, 3vw, 2.4rem)/1.1 var(--serif); color: white; }
.theme-image a { width: fit-content; min-height: 36px; display: inline-flex; align-items: center; color: var(--amber); font-size: .875rem; }
.home-theme h3 { font: 600 .875rem/1.4 system-ui, sans-serif; margin: 14px 0 3px; }
.theme-events li { font-size: .875rem; line-height: 1.45; }
.theme-events time { display: block; color: var(--muted); font-size: .75rem; }

.home-section-label {
  display: inline-block;
  padding: 3px 6px;
  margin: 0 0 8px;
  background: var(--label-bg);
  color: var(--brand);
  font: 800 .6875rem/1.5 system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-section-label a { color: inherit; }
.history-date { display: block; font-size: .8125rem; color: var(--muted); }
.history-list { margin-top: 6px; }
.history-list li { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.32; }
.history-list time { font-size: .875rem; color: var(--muted); font-weight: 650; }
.home-informers, .history { margin-top: 8px; }
.home-rail .calendar { max-width: none; }
.home-rail #calendar-october:not(:target),
.home-rail #calendar-october:target + #calendar-november { display: none; }
.home-rail .calendar-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.home-rail .calendar-head .home-section-label { justify-self: center; margin: 0; white-space: nowrap; }
.calendar-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
}
.calendar-arrow .dd-icon { color: inherit; }
.calendar-back .dd-icon { transform: rotate(180deg); }
a.calendar-arrow:hover { background: var(--soft); border-color: var(--accent); }
.calendar-arrow:disabled { color: var(--muted); opacity: .5; }
.home-rail .dcal-grid > * { min-height: 24px; }
.home-rail .dcal-grid .dcal-wd { min-height: 18px; }
.home-informers { font-size: .8125rem; line-height: 1.35; }
.home-informers dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 2px 0; }
.home-informers dd { text-align: right; }
.home-informers dt { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.home-informers dt .wx { width: 18px; height: 15px; }
.home-informers dt .dd-icon { margin-inline: 2px; }
.home-informers .informer-link { display: inline-flex; align-items: center; min-height: 36px; }
.home-stats { border-top: 1px solid var(--line); padding-block: 15px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .875rem; color: var(--muted); }
.home-stats strong { color: var(--ink); margin-right: 5px; }
.home-stats em { font-size: .75rem; font-style: normal; margin-left: 6px; }

@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .masthead-inner { gap: 10px; }
  .masthead-inner > .site-nav { display: none; }
  .site-mobile { display: block; }
  .home-hero { gap: 24px; padding-block: 24px; }
  .history-list li { font-size: .9375rem; min-height: 44px; }
  .home-informers, .history { margin-top: 12px; }
  .home-rail .dcal-grid > * { min-height: 38px; }
  .day-rail .dcal-grid > * { min-height: 33px; }
  .day-toc { column-gap: 12px; }
  .dd-bottom { column-gap: 8px; }
  .dd-list a, .dd-lead a, .dd-rel a { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .brand { font-size: .875rem; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .site-mobile { font-size: .8125rem; }
  .home-search input { padding-inline: 8px; }
  .home-search button { padding-inline: 10px; }
  .home-theme { padding-inline: 13px; }
}

@media (max-width: 620px) {
  .day-heading { display: grid; grid-template-columns: auto 1fr; gap: 2px 7px; align-items: center; }
  .day-heading > div { display: contents; }
  .day-heading .eyebrow, .day-heading h1 { grid-column: 1 / -1; }
  .day-heading h1 span { font-size: .64em; white-space: nowrap; }
  .day-pager { justify-content: end; gap: 2px 10px; }
  .day-heading .day-pager a { min-height: 25px; }
  .day-layout { padding-top: 3px; }
  .dd-lead { grid-template-columns: minmax(0, 1fr) minmax(0, 32%); align-items: start; gap: 7px; padding: 7px; }
  .dd-lead h2 { font-size: 1.15rem; }
  .dd-photo-lead { aspect-ratio: 1; }
  .dd-photo-lead text { font-size: 15px; }
  .dd-stat-values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3px; }
  .dd-spark { grid-template-columns: minmax(0, 1fr) auto; grid-column: 1 / -1; border-left: 0; }
  .dd-stats { grid-template-columns: minmax(0, 1fr); }
  #chronicle .dd-list > li { gap: 6px; }
}
@media (max-width: 360px) {
  .day-heading .day-deck, .day-heading .day-pager { font-size: .75rem; }
  .day-heading .day-pager { gap: 2px 6px; }
  .day-heading .day-pager a { white-space: nowrap; }
  .dd-lead { grid-template-columns: minmax(0, 1fr) 78px; padding: 6px; }
  .dd-lead h2 { font-size: 1.0625rem; }
  .dd-spark svg { width: 119px; height: auto; }
}


/* ЭПОХИ АРХИВНОГО ДНЯ (Ilya 21.11.2026, границы — 28.11.2026): с 1992 года (после распада СССР) — яркие; 1917–1991 —
   чёрно-белые; до 1917 — глубокая сепия. Тёмной гаммы нет вовсе. Эпоху ставит атрибут data-era
   у body: modern | bw | sepia. Шапка и подвал эпоху не перенимают (Ilya 26.11.2026). */
.archive-day[data-era] .dcal-grid .lv-1 { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); }
.archive-day[data-era] .dcal-grid .lv-2 { background: color-mix(in srgb, var(--accent) 18%, var(--paper)); }
.archive-day[data-era] .dcal-grid .lv-3, .archive-day[data-era] .dcal-grid .lv-4,
.archive-day[data-era] .dcal-grid .lv-5 { background: color-mix(in srgb, var(--accent) 27%, var(--paper)); }
.archive-day[data-era] .dcal-grid [aria-current] { background: var(--amber); color: var(--paper); }
.archive-day[data-era] .dd-photo, .archive-day[data-era] .dd-portrait,
.archive-day[data-era] .dd-src-icons img, .archive-day[data-era] main img { filter: var(--photo-filter); }

/* с 1992 года: цвет живой, но бумага тёплая, снимки чуть приглушены — газетная подшивка, а не экран */
.archive-day[data-era="modern"] {
  --paper: #fbf7ee; --soft: #f3ecdc; --line: #e2d8c4; --rule: #b9a98a;
  --ink: #17242a; --text: #222a2e; --muted: #6a6457;
  --accent: #1d7f99; --amber: #e8962a; --amber-text: #8a5208; --brand: #8a5a06; --label-bg: #fbe7bf;
  --photo-paper: #e9e1cf; --photo-line: #7a8a80;
  --mast: #f3ecdc; --mast-rule: #e8962a;
  --photo-filter: saturate(.9) sepia(.1) contrast(.98);
}
/* 1917–1991, советское: чёрно-белая подшивка */
.archive-day[data-era="bw"] {
  --paper: #f5f5f2; --soft: #ebebe7; --line: #d3d3cd; --rule: #8e8e88;
  --ink: #111111; --text: #1f1f1f; --muted: #66665f;
  --accent: #2b2b2b; --amber: #6e6e68; --amber-text: #3a3a36; --brand: #3a3a36; --label-bg: #e2e2dc;
  --photo-paper: #e0e0db; --photo-line: #77776f;
  --mast: #e8e8e3; --mast-rule: #2b2b2b;
  --photo-filter: grayscale(1) contrast(1.06);
}
.archive-day[data-era="bw"] a { text-decoration-color: #9a9a92; }
/* до 1917: глубокая сепия, старинное */
.archive-day[data-era="sepia"] {
  --paper: #efe1c4; --soft: #e6d3ad; --line: #cfb68a; --rule: #a5865a;
  --ink: #3a2312; --text: #45291a; --muted: #7a5d40;
  --accent: #8b4a1c; --amber: #a8692c; --amber-text: #6e3d14; --brand: #6e3d14; --label-bg: #e2c999;
  --photo-paper: #e2cfa6; --photo-line: #8e6b42;
  --mast: #e2cda2; --mast-rule: #8b4a1c;
  --photo-filter: grayscale(1) sepia(.8) contrast(1.04) brightness(.96);
}
.archive-day[data-era="sepia"] body, .archive-day[data-era="sepia"] { font-family: Georgia, "Times New Roman", serif; }

/* переключатель эпох в макете */
.era-switch { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 6px 0; font-size: .8125rem; color: var(--muted); }
.era-switch a { padding: 2px 10px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.era-switch a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* календарь сводки: стрелки на год и на месяц по краям, месяц ссылкой на его сводку */
.day-cal-head { display: grid; grid-template-columns: 30px 30px minmax(0, 1fr) 30px 30px; align-items: center; gap: 4px; }
.day-cal-head .calendar-arrow { width: 30px; height: 30px; }
.day-cal-head h2 { justify-self: center; margin: 0; white-space: nowrap; }
.day-cal-head h2 a { color: var(--ink); text-decoration: none; }
.day-cal-head h2 a:hover { text-decoration: underline; }

/* «Этот день в истории» в колонке сводки — под погодой и рынком */
.day-history { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.day-history .history-list li span a { font-weight: 600; }


/* ПОДВАЛ САЙТА в макете: тот же набор и тексты, что у живого подвала (footItems, правовая строка,
   некоммерческий статус); на архивном дне — в тон эпохе, а не тёмный. */
.site-footer { margin-top: 28px; background: var(--ink); color: #c7d0d4; font-size: .8125rem; }
.site-footer a { color: #e6ecee; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); grid-template-areas: "brand motto" "links links"; gap: 14px 28px; padding-block: 22px 16px; }
.sf-brand { grid-area: brand; display: flex; gap: 14px; align-items: flex-start; }
.sf-brand img { width: 72px; height: auto; flex: none; }
.sf-brand div { display: grid; gap: 3px; }
.sf-brand strong { font: 700 .9375rem/1.25 var(--serif); }
.sf-motto { grid-area: motto; justify-self: end; font: italic .9375rem/1.4 var(--serif); }
.sf-links { grid-area: links; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.sf-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; }
.sf-ico { width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; opacity: .8; }
.sf-strip { border-top: 2px solid var(--amber); font-size: .75rem; }
.sf-strip .frame { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 8px; }
@media (max-width: 720px) {
  .sf-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "motto" "links"; }
  .sf-motto { justify-self: start; }
  .sf-links a { min-height: 44px; }
}

/* ТЕКСТУРА БУМАГИ: зерно (мелкий шум) и пятнистость волокна (крупный шум), у сепии ещё пятна
   старения и потемнение к краям листа. Всё рисует SVG-фильтр прямо в стилях — файлов картинок нет. */
.archive-day[data-era] { background-color: var(--paper); background-image: var(--grain), var(--mottle), var(--age, none); background-size: 220px, 640px, cover; background-attachment: scroll, scroll, fixed; }
.archive-day[data-era="modern"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .28 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.archive-day[data-era="bw"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .35 0 0 0 0 .33 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.archive-day[data-era="sepia"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .2 0 0 0 0 .08 0 0 0 .15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.01' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .28 0 0 0 0 .1 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --age: radial-gradient(ellipse at 50% 42%, transparent 55%, rgba(110,61,20,.22) 100%), radial-gradient(circle at 12% 18%, rgba(140,85,30,.10) 0 3%, transparent 6%), radial-gradient(circle at 88% 64%, rgba(140,85,30,.08) 0 2.5%, transparent 5%), radial-gradient(circle at 70% 9%, rgba(140,85,30,.07) 0 1.5%, transparent 3.5%); }
/* блоки на бумаге — полупрозрачны, чтобы зерно проступало и сквозь них */
.archive-day[data-era] .dd-lead { background: color-mix(in srgb, var(--soft) 72%, transparent); }

/* УГОЛКИ В СТАРОМ СТИЛЕ — типографская рамка: двойная линия с точкой, как в старых изданиях.
   Ставятся на опорные блоки: главное дня, календарь, «Этот день в истории», примечание. */
.archive-day[data-era] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon) { position: relative; }
.archive-day[data-era] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon)::after {
  content: ""; position: absolute; inset: var(--c-out, -7px); pointer-events: none; background: var(--c-color, var(--rule));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2 30V9C2 5 5 2 9 2h21' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M6.5 30V12.5c0-3.4 2.6-6 6-6H30' fill='none' stroke='black' stroke-width='.8'/%3E%3Ccircle cx='11.5' cy='11.5' r='1.7'/%3E%3Cpath d='M2 30l2-3 2 3zM30 2l-3 2 3 2z'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat;
  opacity: var(--c-op, .8);
}
.archive-day[data-era="modern"] { --c-size: 20px; --c-color: var(--amber); --c-op: .7; }
.archive-day[data-era="bw"] { --c-size: 24px; --c-color: #3a3a36; --c-op: .75; }
.archive-day[data-era="sepia"] { --c-size: 30px; --c-color: #6e3d14; --c-op: .7; --c-out: -9px; }
.archive-day[data-era] .day-history { border-top: 0; padding: 12px 6px 6px; margin-top: 26px; }
.archive-day[data-era] .dd-colophon { padding: 10px 12px; }
.archive-day[data-era] .dd-end { margin-bottom: 8px; }
.archive-day[data-era="sepia"] { background-size: 220px, 640px, cover, cover, cover, cover; background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat; background-attachment: scroll, scroll, fixed, scroll, scroll, scroll; }

/* ---- r7: графики как у сводки месяца, «Действующие лица» во всю ширину в две колонки ---- */
.dm-chart { width: 100%; height: auto; display: block; margin: 6px 0 4px; }
.dm-chart .m { fill: none; stroke: var(--accent); stroke-width: 2; }
.dm-chart .n { fill: none; stroke: var(--rule); stroke-width: 1.3; stroke-dasharray: 4 3; }
.dm-chart .z { stroke: var(--line); stroke-width: 1; }
.dm-chart .p { fill: color-mix(in srgb, var(--accent) 28%, transparent); }
.dm-chart .t { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.dm-chart .dm-t-today { fill: var(--ink); font-weight: 600; }
.dm-chart .dm-today-line { stroke: var(--amber); stroke-width: 1; stroke-dasharray: 2 2; }
.dm-chart .dm-dot { fill: var(--amber); stroke: var(--paper, #fff); stroke-width: 1.5; }
.dm-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .75rem; color: var(--muted); margin: 0 0 6px; }
.dm-legend i { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--accent); vertical-align: middle; margin-right: 5px; }
.dm-legend i.n { border-top: 2px dashed var(--rule); }
.dm-legend i.p { height: 8px; border: 0; background: color-mix(in srgb, var(--accent) 28%, transparent); }
.dd-row-spark { grid-template-columns: minmax(0, 1fr) auto; }
.dd-row-spark .dm-spark { grid-column: 1 / -1; width: 100%; height: auto; display: block; margin: 3px 0 1px; }
.dm-spark path { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.dm-spark circle { fill: var(--amber); }
.dd-row-spark .dd-30 { grid-column: 1; color: var(--muted); font-size: .75rem; }
.dd-row-spark .dd-chg { grid-column: 2; }

.dd-people-sec { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 8px; }
.dd-people-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.dd-people-wide > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; border-top: 1px solid var(--line); padding-top: 12px; }
.dd-people-wide > li + li { border-top: 1px solid var(--line); }
.dd-people-wide > li:only-child { grid-column: 1 / -1; }
.dd-people-wide .dd-portrait { width: 52px; height: 52px; }
.dd-people-wide h3 { font-size: 1.0625rem; margin: 0 0 2px; }
.dd-heads { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; line-height: 1.3; }
.dd-heads small { display: block; color: var(--muted); font-size: .8125rem; margin-top: 1px; }
.dd-people-wide > li:only-child .dd-heads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
@media (max-width: 720px) {
  .dd-people-wide, .dd-people-wide > li:only-child .dd-heads { grid-template-columns: 1fr; }
}
.dd-people .dd-heads li { display: block; padding: 0; border: 0; }

/* ШАПКА И ПОДВАЛ — В СТАНДАРТНЫХ ЦВЕТАХ САЙТА при любой эпохе (Ilya 26.11.2026: «не подгоняй»).
   Эпоха переопределяет --ink, --amber и прочие на body, поэтому здесь они возвращаются к цветам сайта. */
.archive-day[data-era] .masthead, .archive-day[data-era] .site-footer {
  --ink: #101a1f; --amber: #f6a83a; --accent: #207d96; --muted: #5f6b76;
  font-family: system-ui, sans-serif; background-image: none;
}

/* КИНОХРОНИКА НА ИСТОРИЧЕСКОМ ДНЕ (макет 26.11.2026): кадров архива не показываем — права у архива;
   вместо кадра условная плёнка, она же ссылка на карточку сюжета. Дата приблизительная — тихая пометка. */
.dd-reel-list > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; }
.dd-reel-list .dd-ev { font: 400 1rem/1.3 var(--serif); color: var(--ink); }
.dd-film { display: block; color: var(--photo-line); }
.ff-strip { fill: var(--ink); opacity: .86; }
.ff-holes rect { fill: var(--paper); opacity: .9; }
.ff-pic { fill: var(--photo-paper); }
.ff-trace { fill: none; stroke: var(--photo-line); stroke-width: 1.4; }
.ff-cap { fill: var(--ink); font: 600 12px system-ui, sans-serif; letter-spacing: .02em; }
.dd-reel-link { display: block; text-decoration: none; }
.dd-reel-link:hover .ff-pic { fill: color-mix(in srgb, var(--photo-paper) 80%, var(--amber)); }
.dd-lead-text { margin-top: 6px; color: var(--text); font-size: .9375rem; line-height: 1.4; max-width: 62ch; }
.dd-reel-src { color: var(--ink); text-decoration-color: var(--rule); }
.dd-approx { color: var(--muted); font-style: italic; font-size: .8125rem; }
.dd-more { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.dd-year p { max-width: 70ch; }
.dd-reel-mark { display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--muted); }
.dcal-note { margin-top: 6px; }
.dcal-grid span.dcal-day { color: var(--muted); }
.ff-label { fill: var(--paper); opacity: .94; }
.dd-history-wide .history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 720px) { .dd-history-wide .history-list { grid-template-columns: 1fr; } }
/* указатель «день в статьях энциклопедии» и история в правой колонке */
.dd-history-rail { margin-top: 22px; }
.dd-history-rail .history-list li { font-size: .8125rem; }
.dd-index { margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--ink); }
.dd-idx-grid { columns: 3; column-gap: 28px; margin-top: 10px; }
.dd-idx-group { break-inside: avoid; }
.dd-idx-group h3 { font: 600 .9375rem/1.3 var(--serif); color: var(--ink); margin: 0 0 4px; padding-top: 12px; }
.dd-idx-n { font: 600 .75rem system-ui, sans-serif; color: var(--muted); margin-left: 4px; }
.dd-idx-group ul { list-style: none; margin: 0; padding: 0; }
.dd-idx-group li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 6px; padding: 4px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.32; }
.dd-idx-group time { color: var(--muted); font-weight: 650; }
.dd-idx-group li a { font-weight: 600; }
@media (max-width: 1000px) { .dd-idx-grid { columns: 2; } }
@media (max-width: 640px) { .dd-idx-grid { columns: 1; } }
/* уголки рамки и яркая верхняя линия не сочетаются: в старых эпохах блок обрамляют только уголки,
   линии сверху и снизу у главного дня сняты, у прочих блоков с уголками — волосяные и неяркие */
.archive-day[data-era] .dd-lead { border-top: 0; border-bottom: 0; padding: 12px 14px; }
.archive-day[data-era] :is(.day-rail .calendar, .day-history, .dd-colophon) { border-top-width: 1px; border-top-color: var(--line); }
/* снимки: главный кадр, миниатюры при сюжетах, галерея года */
.dd-lead-fig { margin: 0; min-width: 0; }
.dd-lead-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.dd-lead-fig figcaption, .dd-shot-cap { margin-top: 4px; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.dd-lead-fig figcaption a, .dd-shot-cap a, .dd-gal-grid small a { color: var(--muted); }
.dd-reel-list > li.has-shot { grid-template-columns: 112px minmax(0, 1fr); }
.dd-reel-thumb { display: block; width: 112px; height: 76px; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.dd-gallery { margin-top: 26px; }
.dd-gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 14px; margin-top: 10px; }
.dd-gal-grid figure { margin: 0; }
.dd-gal-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.dd-gal-grid figcaption { margin-top: 4px; font-size: .8125rem; line-height: 1.3; }
.dd-gal-grid figcaption span { display: block; color: var(--ink); }
.dd-gal-grid small { display: block; margin-top: 2px; font-size: .75rem; color: var(--muted); }
.archive-day[data-era="sepia"] :is(.dd-lead-fig img, .dd-reel-thumb, .dd-gal-grid img) { filter: grayscale(1) sepia(.55) contrast(1.03); }
@media (max-width: 720px) { .dd-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dd-reel-list > li.has-shot { grid-template-columns: 84px minmax(0, 1fr); } .dd-reel-thumb { width: 84px; height: 58px; } }

/* уголки по эпохам: современный — тонкий прямой; советский — рубленый скошенный; старинный — скруглённый с завитком */
.archive-day[data-era="modern"] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M3 29V3h26' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='6.4' y='6.4' width='3.2' height='3.2'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; }
.archive-day[data-era="bw"] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2.6 30V11.2L11.2 2.6H30' fill='none' stroke='black' stroke-width='2.8'/%3E%3Cpath d='M8.2 30V14.4L14.4 8.2H30' fill='none' stroke='black' stroke-width='.9'/%3E%3Cpath d='M2.6 23.5H8.2M23.5 2.6V8.2' fill='none' stroke='black' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; }
.archive-day[data-era="sepia"] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 1 0 0)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") top left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 1 32 0)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") top right / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(1 0 0 -1 0 32)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") bottom left / var(--c-size) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='matrix(-1 0 0 -1 32 32)'%3E%3Cpath d='M2 30V10.5C2 5.8 5.8 2 10.5 2H30' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.2 30V13.4c0-4 3.2-7.2 7.2-7.2H30' fill='none' stroke='black' stroke-width='.7'/%3E%3Cpath d='M11 18.5c-.6-4.6 2.2-7.6 6-7.4 2.6.1 4 1.8 3.7 3.7-.3 1.8-1.8 2.7-3.3 2.4-1.3-.3-1.9-1.4-1.5-2.5' fill='none' stroke='black' stroke-width='.9'/%3E%3Ccircle cx='15.9' cy='14.7' r='.9'/%3E%3Cpath d='M2 30l1.8-2.8 1.8 2.8zM30 2l-2.8 1.8L30 5.6z'/%3E%3C/g%3E%3C/svg%3E") bottom right / var(--c-size) no-repeat; }
.archive-day[data-era] .day-rail .calendar { padding-bottom: 14px; }
/* блоки в фигурных уголках — свой, чуть более тёмный тон бумаги, чтобы не сливались с листом */
.archive-day[data-era] :is(.dd-lead, .day-rail .calendar, .day-history, .dd-colophon) { background: var(--block-bg); }
.archive-day[data-era] :is(.day-rail .calendar, .day-history) { padding: 10px 12px 14px; }
.archive-day[data-era="modern"] { --block-bg: color-mix(in srgb, #e9dcc4 55%, transparent); }
.archive-day[data-era="bw"] { --block-bg: color-mix(in srgb, #d9d8d2 60%, transparent); }
.archive-day[data-era="sepia"] { --block-bg: color-mix(in srgb, #d8bf94 45%, transparent); }
/* кадр кинохроники 128×96 перед заголовком: миниатюра с карточки фильма, в родном размере */
.dd-lead-solo { grid-template-columns: minmax(0, 1fr); }
.dd-head-row { display: flex; gap: 14px; align-items: flex-start; margin-top: 4px; }
.dd-head-row h2 { margin-top: 0; }
.dd-frame { flex: 0 0 auto; display: block; line-height: 0; border: 1px solid var(--line); background: #000; }
.dd-frame img { display: block; width: 128px; height: 96px; object-fit: cover; image-rendering: auto; }
.dd-frame-s img { width: 64px; height: 48px; }
.dd-reel-list > li.has-frame { grid-template-columns: 128px minmax(0, 1fr); }
.history-list li.has-frame .hist-body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: start; }
.history-list .hist-body { min-width: 0; }
.archive-day[data-era="sepia"] .dd-frame img { filter: sepia(.55); }
@media (max-width: 640px) { .dd-head-row { gap: 10px; } .dd-head-row .dd-frame img { width: 96px; height: 72px; } .dd-reel-list > li.has-frame { grid-template-columns: 96px minmax(0, 1fr); } .dd-reel-list .dd-frame img { width: 96px; height: 72px; } }

/* ШРИФТЫ ПО ЭПОХАМ (28.11.2026): заголовки, текст сюжетов и служебный текст у каждой эпохи свои.
   с 1992 — нынешняя газета: PT Serif в заголовках и тексте, Golos Text в подписях;
   1917–1991 — советская подшивка: рубленые узкие заголовки Oswald (как «журнальная рубленая»),
   книжная Literata в тексте (наследница «литературной»), PT Sans в подписях;
   до 1917 — Old Standard TT, гарнитура по образцу русских книг конца XIX века, везде.
   Шапка и подвал сайта не трогаются. */
.archive-day[data-era="modern"] { --head: "PT Serif", Georgia, serif; --serif: "PT Serif", Georgia, serif; --body: "Golos Text", system-ui, sans-serif; }
.archive-day[data-era="bw"] { --head: "Oswald", "Arial Narrow", sans-serif; --serif: "Literata", Georgia, serif; --body: "PT Sans", system-ui, sans-serif; }
.archive-day[data-era="sepia"] { --head: "Old Standard TT", Georgia, serif; --serif: "Old Standard TT", Georgia, serif; --body: "Old Standard TT", Georgia, serif; }
.archive-day[data-era] main { font-family: var(--body); }
.archive-day[data-era] main :is(h1, h2, h3) { font-family: var(--head); }
.archive-day[data-era="bw"] main :is(h1, h2) { font-weight: 500; letter-spacing: .01em; }
.archive-day[data-era="bw"] main h1 { text-transform: none; }
.archive-day[data-era="bw"] main :is(.dd-sec > h2, .day-rail h2, .figures-title, .dd-colophon h2) { text-transform: uppercase; font-size: 1.125rem; letter-spacing: .04em; }
.archive-day[data-era="bw"] main .dd-lead h2 { font-family: var(--serif); font-weight: 600; }
.archive-day[data-era="sepia"] main h1 { font-style: italic; }
.archive-day[data-era="sepia"] main .eyebrow { font-variant: small-caps; letter-spacing: .06em; text-transform: lowercase; }
.archive-day[data-era] main :is(.dd-ev, .dd-lead-text, .dd-year p, .history-list li) { font-family: var(--serif); }
.archive-day[data-era] :is(.masthead, .site-footer) { --serif: Georgia, "Times New Roman", serif; }
.archive-day[data-era] .day-rail .calendar h2 { font-size: 1.125rem; white-space: nowrap; }
.dd-old-list > li { padding: 7px 0; border-top: 1px solid var(--line); } .dd-old-list > li:first-child { border-top: 0; }
.dd-star { text-decoration: none; font-style: normal; color: var(--accent); padding: 0 1px; }
.dd-star-note { display: block; margin-bottom: 4px; }
.dd-star-note:target { background: color-mix(in srgb, var(--amber) 22%, transparent); }

/* в списке, где есть хоть один кадр, заглушка занимает рамку кадра: колонка одной ширины, текст на одной вертикали */
.dd-reel-list:has(> li.has-frame) > li { grid-template-columns: 128px minmax(0, 1fr); }
.dd-reel-list:has(> li.has-frame) > li:not(.has-frame) > .dd-film { width: 128px; height: 96px; box-sizing: border-box; padding: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--photo-line) 8%, transparent); }
@media (max-width: 640px) {
  .dd-reel-list:has(> li.has-frame) > li { grid-template-columns: 96px minmax(0, 1fr); }
  .dd-reel-list:has(> li.has-frame) > li:not(.has-frame) > .dd-film { width: 96px; height: 72px; padding: 12px; }
}

.dd-nolink{color:inherit;text-decoration:none;cursor:default}
span.calendar-arrow.dd-nolink{opacity:.35}
a.redlink{color:#b5453a}
a.redlink:hover{text-decoration:underline}
a.calendar-arrow.redlink{color:#b5453a;opacity:.7}
.day-cal-head h2 a.redlink,.dd-lead h2 a.redlink{color:#b5453a}
