@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCond-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/NunitoSans-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/NunitoSans-400i.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/NunitoSans-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Code"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/FiraCode-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Подвальная мужская берлога: графит и уголь, горчичный цвет только у действия, тёплый «бумажный» фон */
:root {
  --bg: #f4f2ec; --card: #fbfaf6; --ink: #1d1f22; --mute: #565a61; --line: #d8d3c7;
  --coal: #25272b; --coal-ink: #f1eee6; --coal-mute: #b9b5aa; --coal-line: #3a3c41;
  --mustard: #e3a21f; --mustard-ink: #1d1f22; --link: #835500; --wash: #f0e5c8;
  --risk: #8c3210; --risk-bg: #f4e2d7; --fine: #3f5a28; --fine-bg: #e4ebdb;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --code: "Fira Code", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #16171a; --card: #1f2125; --ink: #ebe7dc; --mute: #a7a49b; --line: #33353a;
  --coal: #0e0f11; --coal-ink: #ebe7dc; --coal-mute: #9d9a91; --coal-line: #2b2d31;
  --mustard: #f0b43c; --mustard-ink: #17181b; --link: #f0b43c; --wash: #2a2415;
  --risk: #ffad86; --risk-bg: #36211a; --fine: #b9d79c; --fine-bg: #1f2a19; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #16171a; --card: #1f2125; --ink: #ebe7dc; --mute: #a7a49b; --line: #33353a;
  --coal: #0e0f11; --coal-ink: #ebe7dc; --coal-mute: #9d9a91; --coal-line: #2b2d31;
  --mustard: #f0b43c; --mustard-ink: #17181b; --link: #f0b43c; --wash: #2a2415;
  --risk: #ffad86; --risk-bg: #36211a; --fine: #b9d79c; --fine-bg: #1f2a19; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17.5px/1.65 var(--text); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
.frame { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.notice { background: var(--coal); color: var(--coal-ink); font: 500 12.5px/1.45 var(--code); letter-spacing: .02em; }
.notice .frame { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 7px; padding-bottom: 7px; }
.notice span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); margin-right: 8px; vertical-align: middle; }
.masthead { background: var(--card); border-bottom: 1px solid var(--line); }
.masthead .frame { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 25px/1 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); text-decoration: none; }
.wordmark i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--coal); color: var(--mustard); font-style: normal; font-size: 18px; }
.wordmark em { font-style: normal; color: var(--mute); }
.topnav { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 15.5px; font-weight: 700; }
.topnav a { color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.topnav a:hover { background: var(--wash); }
.topnav a[aria-current="page"] { background: var(--coal); color: var(--coal-ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.04; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.3vw, 40px); }
h3 { font-size: 23px; }
p { margin: 0; }
.kicker { font: 500 12.5px/1.3 var(--code); text-transform: uppercase; letter-spacing: .09em; color: var(--mute); }
.credit { font: 500 13px/1.5 var(--code); color: var(--mute); }
.opener { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 44px; align-items: center; padding-top: 46px; padding-bottom: 46px; }
.opener-txt { display: grid; gap: 18px; min-width: 0; }
.standfirst { font-size: 19.5px; line-height: 1.6; max-width: 62ch; }
.mood { color: var(--mute); max-width: 62ch; font-style: italic; }
figure { margin: 0; }
.media img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 6px; }
.media figcaption { font-size: 14.5px; color: var(--mute); margin-top: 9px; }
.stamped { position: relative; }
.stamp { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: center; gap: 2px; width: 108px; height: 108px; align-content: center;
  border-radius: 50%; background: var(--coal); color: var(--coal-ink); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.stamp b { font: 700 40px/1 var(--head); color: var(--mustard); }
.stamp span { font: 500 11px/1.2 var(--code); text-transform: uppercase; letter-spacing: .06em; }
.go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.go-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--mustard); color: var(--mustard-ink); text-decoration: none; font: 700 19px/1 var(--head);
  text-transform: uppercase; letter-spacing: .05em; padding: 15px 22px; border-radius: 6px; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.go-btn::after { content: "\2192"; font-family: var(--text); font-weight: 700; }
.go-btn:hover { filter: brightness(1.07); text-decoration: none; }
.go-fine { font-size: 13.5px; line-height: 1.45; color: var(--mute); max-width: 46ch; }
.slab { padding-top: 52px; padding-bottom: 52px; }
.slab + .slab { border-top: 1px solid var(--line); }
.band { background: var(--coal); color: var(--coal-ink); }
.band .kicker { color: var(--coal-mute); }
.band a { color: var(--mustard); }
.prose { display: grid; gap: 15px; max-width: 64ch; }
.wide-head { display: grid; gap: 12px; max-width: 64ch; margin-bottom: 24px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pair.flip > :first-child { order: 2; }
.pair.top { align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.tile { border: 1px solid var(--coal-line); border-radius: 8px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.tile h3 { font-size: 22px; color: var(--mustard); }
.tile p { font-size: 15.5px; color: var(--coal-ink); }
.tiles.lite { margin-top: 0; }
.tiles.lite .tile { border-color: var(--line); background: var(--card); }
.tiles.lite .tile h3 { color: var(--ink); }
.tiles.lite .tile p { color: var(--ink); }
.ledger { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.ledger table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15.5px; }
.ledger caption { text-align: left; padding: 12px 16px 0; font-weight: 700; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger thead th { font: 500 11.5px/1.35 var(--code); text-transform: uppercase; letter-spacing: .07em; color: var(--mute); background: var(--wash); }
.ledger td.n, .ledger th.n { font-family: var(--code); font-size: 14.5px; white-space: nowrap; }
.ledger tbody th { font-weight: 700; }
.ledger-note { font-size: 14.5px; color: var(--mute); margin-top: 10px; max-width: 80ch; }
.blankcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; display: grid; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.blankcard dl { margin: 0; display: grid; gap: 12px; }
.blankcard dl div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.blankcard dt { font: 500 12.5px/1.4 var(--code); text-transform: uppercase; letter-spacing: .05em; color: var(--mute); padding-top: 3px; }
.blankcard dd { margin: 0; font-weight: 700; }
.blankcard dd.void { color: var(--risk); }
.flagbox, .plusbox, .sumbox { border-radius: 8px; padding: 18px 20px; display: grid; gap: 8px; }
.flagbox { background: var(--risk-bg); }
.flagbox h3 { color: var(--risk); font-size: 21px; }
.plusbox { background: var(--fine-bg); }
.plusbox h3 { color: var(--fine); font-size: 21px; }
.sumbox { background: var(--wash); }
.sumbox h3 { font-size: 21px; }
.flagbox ul, .plusbox ul, .sumbox ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.verdict { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.meters { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: grid; gap: 14px; }
.meters .total { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meters .total b { font: 700 64px/1 var(--head); color: var(--ink); }
.meters .total span { color: var(--mute); }
.meter { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 12px; align-items: center; }
.meter span { font-size: 15px; }
.meter b { font-family: var(--code); font-size: 14px; text-align: right; grid-row: span 2; }
.meter .bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: var(--v); background: var(--mustard); border-radius: 4px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 24px; }
.walk { list-style: none; counter-reset: w; margin: 0; padding: 0; display: grid; gap: 14px; }
.walk li { counter-increment: w; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.walk li::before { content: counter(w); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coal); color: var(--mustard); font: 700 17px/1 var(--head); }
.qa { display: grid; gap: 10px; }
.qa details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.qa summary { cursor: pointer; font-weight: 700; font-size: 17.5px; }
.qa details[open] summary { margin-bottom: 8px; }
.cite { font-size: 14.5px; color: var(--mute); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.colophon { background: var(--coal); color: var(--coal-ink); margin-top: 24px; }
.colophon .frame { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.colophon p + p { margin-top: 10px; }
.colophon a { color: var(--mustard); }
.colophon nav { display: grid; gap: 7px; align-content: start; }
.colophon nav a { color: var(--coal-ink); }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) {
  .opener, .pair, .verdict, .duo, .cols, .colophon .frame { grid-template-columns: minmax(0, 1fr); }
  .pair.flip > :first-child { order: 0; }
  .opener { padding-top: 28px; padding-bottom: 34px; gap: 26px; }
  .slab { padding-top: 38px; padding-bottom: 38px; }
  body { font-size: 17px; }
  .standfirst { font-size: 18px; }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .stamp { width: 86px; height: 86px; right: 10px; bottom: 10px; }
  .stamp b { font-size: 32px; }
  .blankcard dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wordmark { font-size: 22px; }
}
@media (prefers-reduced-motion: no-preference) { .go-btn { transition: filter .15s ease, transform .15s ease; } .go-btn:active { transform: translateY(1px); } }
