/* Депеша — стили по макету depeche.dc.html. Теней нет: глубина только границами. */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/golos-text-cyrillic-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/golos-text-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/golos-text-latin-wght-normal.woff2) format("woff2-variations"); 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: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-cyrillic-ext-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-cyrillic-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"); 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: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-cyrillic-ext-opsz-italic.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-cyrillic-opsz-italic.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-latin-ext-opsz-italic.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations"); 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: oklch(0.972 0.006 75);
  --card: #fff;
  --soft: oklch(0.968 0.006 75);
  --soft-2: oklch(0.965 0.006 75);
  --dark: oklch(0.24 0.012 60);
  --dark-hover: oklch(0.32 0.012 60);
  --text: oklch(0.26 0.012 60);
  --text-body: oklch(0.27 0.012 60);
  --h: oklch(0.2 0.012 60);
  --h-2: oklch(0.22 0.012 60);
  --h-3: oklch(0.19 0.012 60);
  --sec: oklch(0.46 0.014 75);
  --sec-2: oklch(0.42 0.014 75);
  --muted: oklch(0.6 0.014 75);
  --muted-2: oklch(0.58 0.014 75);
  --muted-3: oklch(0.62 0.014 75);
  --muted-4: oklch(0.64 0.014 75);
  --ph: oklch(0.68 0.012 75);
  --bd: oklch(0.93 0.008 75);
  --bd-2: oklch(0.92 0.008 75);
  --bd-3: oklch(0.94 0.008 75);
  --bd-4: oklch(0.955 0.006 75);
  --bd-5: oklch(0.96 0.006 75);
  --bd-hover: oklch(0.85 0.01 75);
  --bd-btn: oklch(0.9 0.008 75);
  --bd-btn-hover: oklch(0.82 0.01 75);
  --bd-outline-hover: oklch(0.8 0.012 75);
  --accent: oklch(0.55 0.13 30);
  --accent-hover: oklch(0.48 0.12 30);
  --accent-fg: oklch(0.45 0.12 30);
  --accent-bg: oklch(0.55 0.13 30 / 0.1);
  --accent-bg-2: oklch(0.55 0.13 30 / 0.12);
  --accent-bd: oklch(0.55 0.13 30 / 0.45);
  --ok-fg: oklch(0.42 0.11 150);
  --ok-bg: oklch(0.55 0.13 150 / 0.14);
  --snippet-link: oklch(0.34 0.28 265);
  --input-bg: oklch(0.985 0.004 75);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --stripes: repeating-linear-gradient(115deg, oklch(0.945 0.008 75) 0 8px, oklch(0.975 0.006 75) 8px 16px);
  --stripes-sm: repeating-linear-gradient(115deg, oklch(0.945 0.008 75) 0 7px, oklch(0.975 0.006 75) 7px 14px);
  --t: border-color .15s ease, background-color .15s ease, color .15s ease;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-family: var(--sans); color: var(--text); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45; }
a { color: var(--accent); text-decoration: none; transition: var(--t); }
a:hover { color: var(--accent-fg); }
input, button, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: oklch(0.55 0.13 30 / 0.15); }
::placeholder { color: var(--ph); opacity: 1; }
:focus-visible { outline: 2px solid var(--accent-bd); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.site { min-height: 100vh; display: flex; flex-direction: column; }
/* Единая сетка всех страниц: контейнер 1160, колонка контента + сайдбар 292 */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; width: 100%; }
.page { padding-top: 26px; padding-bottom: 70px; }
.two-col { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.col-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.col-side { flex: 0 0 292px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 999px) {
  .col-main { flex-basis: 100%; }
  .col-side { flex: 1 1 100%; }
}
.ml-auto { margin-left: auto; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.inline-form { display: inline; }
.linklike { border: 0; background: none; padding: 0; color: var(--accent); font-size: inherit; cursor: pointer; }
.linklike:hover { color: var(--accent-fg); }
.linklike.danger { font-size: 13px; color: var(--muted); align-self: flex-start; padding: 4px 6px; }
.linklike.danger:hover { color: var(--accent-fg); }
.link-accent { color: var(--accent); }

/* ---------- Заголовки ---------- */
.h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.028em; color: var(--h-2); }
.h1-tight { margin-bottom: 6px; }
.h2-sm { margin: 0 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Кнопки и капсулы ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; transition: var(--t); text-decoration: none; cursor: pointer; }
.btn-outline { background: transparent; border-color: var(--bd-btn); color: oklch(0.34 0.012 60); }
.btn-outline:hover { background: #fff; border-color: var(--bd-btn-hover); color: oklch(0.34 0.012 60); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-hover); color: #fff; }
.btn-white { background: #fff; border-color: var(--bd-2); color: oklch(0.3 0.012 60); }
.btn-white:hover { border-color: var(--bd-outline-hover); color: oklch(0.3 0.012 60); }
.btn-block { width: 100%; }
.btn-36 { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-38 { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-42 { height: 42px; padding: 0 20px; }
.btn-44 { height: 44px; }
.btn-46 { height: 46px; font-size: 15px; }
.btn-more { align-self: center; height: 44px; padding: 0 26px; background: #fff; border-color: var(--bd-btn); color: oklch(0.34 0.012 60); margin-top: 6px; }
.btn-more:hover { border-color: oklch(0.78 0.012 75); }
.btn-more.is-loading { opacity: .6; pointer-events: none; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--bd); display: inline-flex; align-items: center; justify-content: center; color: var(--sec-2); transition: var(--t); }
.icon-btn:hover { border-color: var(--bd-btn-hover); color: var(--sec-2); }
.icon-38 { width: 38px; height: 38px; }
.bell-ico { width: 13px; height: 13px; border-radius: 3px 3px 7px 7px; border: 1.5px solid oklch(0.45 0.014 75); border-bottom-width: 2px; display: block; }
.bell-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: oklch(0.93 0.01 75); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: oklch(0.4 0.014 75); flex-shrink: 0; }
.avatar:hover { color: var(--accent-fg); }
.avatar-38 { width: 38px; height: 38px; font-size: 12.5px; }

.pill { display: inline-flex; align-items: center; font-size: 13px; color: oklch(0.36 0.012 60); padding: 6px 12px; background: var(--soft); border-radius: 999px; transition: var(--t); }
a.pill:hover { background: var(--accent-bg); color: var(--accent-fg); }
.pill-static { padding: 6px 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill-cat { display: inline-flex; font-size: 12px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-fg); transition: var(--t); }
.pill-cat:hover { background: oklch(0.55 0.13 30 / 0.16); color: var(--accent-fg); }
.pill-cat-muted { background: var(--soft-2); color: var(--sec-2); }
.pill-cat-muted:hover { background: var(--accent-bg); color: var(--accent-fg); }
.time { font-size: 12.5px; color: var(--muted-4); }
.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }

.seg { display: inline-flex; gap: 6px; padding: 4px; background: #fff; border: 1px solid var(--bd); border-radius: 999px; }
.seg a { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; color: oklch(0.48 0.014 75); white-space: nowrap; transition: var(--t); }
.seg a:hover { color: var(--h); }
.seg a.active { background: var(--dark); color: #fff; }
.seg-self { align-self: flex-start; }
.seg-self a { padding: 7px 16px; }

.filter-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-row-sm { gap: 6px; margin-bottom: 16px; }
.filter-pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; cursor: pointer; background: #fff; color: var(--sec-2); border: 1px solid var(--bd); transition: var(--t); }
.filter-pill:hover { border-color: var(--bd-hover); color: var(--h); }
.filter-pill.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.filter-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-pill-sm { font-size: 12.5px; padding: 6px 12px; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--bd-2); }
.hdr-top { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-word { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--h-2); }
.logo:hover .logo-word { color: var(--h-2); }
.logo-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); display: block; }
.logo-sm { gap: 7px; }
.logo-sm .logo-word { font-size: 20px; }
.logo-sm .logo-dot { width: 6px; height: 6px; }
.search { flex: 0 1 270px; min-width: 44px; margin-left: auto; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; background: #fff; border: 1px solid var(--bd); border-radius: 999px; overflow: hidden; transition: var(--t); }
.search:focus-within { border-color: var(--bd-hover); }
.search-ico { font-size: 14px; color: var(--ph); line-height: 1; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; color: var(--text); padding: 0; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cats { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 0; }
.nav-cats a { font-size: 14px; font-weight: 500; line-height: 1; padding: 13px 0 12px; color: oklch(0.45 0.014 75); border-bottom: 2px solid transparent; white-space: nowrap; transition: var(--t); }
.nav-cats a:hover { color: var(--accent-fg); }
.nav-cats a.active { color: var(--h); border-bottom-color: var(--accent); }
.hdr-mobile { display: none; }
.hdr-m-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.hdr-m-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--bd); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; padding: 0; }
.burger span { width: 16px; height: 1.8px; border-radius: 2px; background: oklch(0.3 0.012 60); display: block; transition: transform .15s ease, opacity .15s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
.m-panel { padding: 4px 16px 18px; border-top: 1px solid var(--bd-3); max-height: calc(100vh - 65px); overflow-y: auto; }
.search-m { flex: none; margin: 14px 0 16px; height: 42px; }
.search-m input { font-size: 15px; }
.m-nav { display: flex; flex-direction: column; }
.m-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--bd-4); font-size: 16px; font-weight: 500; color: oklch(0.45 0.014 75); }
.m-nav a.active { color: var(--h); }
.m-nav a span { color: oklch(0.75 0.012 75); }
.m-panel .btn-block { margin-top: 18px; }

/* ---------- Flash ---------- */
.flash-wrap { max-width: 1160px; margin: 18px auto -8px; padding: 0 20px; width: 100%; }
.flash { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; background: #fff; border: 1px solid var(--bd); border-radius: 999px; font-size: 13.5px; color: oklch(0.3 0.012 60); }

/* ---------- Лента ---------- */
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cat-lead { margin: 0 0 4px; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: oklch(0.48 0.014 75); max-width: 62ch; }
.stripes { background-image: var(--stripes); }
.img-note { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; color: oklch(0.55 0.014 75); background: #fff; padding: 4px 9px; border-radius: 999px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero { background: #fff; border: 1px solid var(--bd); border-radius: 24px; padding: 10px 10px 24px; transition: var(--t); }
.hero:hover { border-color: var(--bd-hover); }
.hero-media { position: relative; display: block; height: 240px; border-radius: 18px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-body { padding: 20px 14px 0; }
.hero-nomedia { padding-top: 16px; }
.hero-nomedia .hero-body { padding-top: 6px; }
.art-body-nocover { padding-top: 12px; }
.hero-body .card-meta { margin-bottom: 10px; }
.hero-body .time { color: var(--muted-3); }
.hero-title { margin: 0 0 10px; font-size: 27px; line-height: 1.24; font-weight: 600; letter-spacing: -0.026em; color: var(--h); text-wrap: pretty; }
.hero-lead { margin: 0 0 16px; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--sec); max-width: 60ch; text-wrap: pretty; }
.card-link { color: inherit; }
.card-link:hover { color: var(--accent-fg); }
.metrics { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted-2); flex-wrap: wrap; }
.metrics-lg { margin-top: 0; }
.metric { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--muted-2); }
.metrics-lg .metric { padding: 6px 13px; background: var(--soft-2); }
a.metric:hover { color: var(--accent-fg); }
.vote { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--bd-2); background: #fff; color: oklch(0.44 0.014 75); font-weight: 500; font-size: 12.5px; transition: var(--t); }
.metrics-lg .vote { padding: 6px 13px; }
.vote:hover { border-color: var(--bd-hover); }
.vote.active { border-color: var(--accent-bd); background: var(--accent-bg); color: var(--accent-fg); }
.vote-lg { height: 42px; padding: 0 20px; font-size: 14px; gap: 8px; }
.card { background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 18px; display: flex; gap: 20px; transition: var(--t); }
.card:hover { border-color: var(--bd-hover); }
.card-body { flex: 1 1 auto; min-width: 0; }
.card-title { margin: 0; font-size: 19px; line-height: 1.34; font-weight: 600; letter-spacing: -0.015em; color: var(--h-2); text-wrap: pretty; }
.card-lead { margin: 8px 0 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.52; color: oklch(0.49 0.014 75); max-width: 62ch; text-wrap: pretty; }
.card-thumb { position: relative; flex: 0 0 168px; align-self: stretch; min-height: 116px; border-radius: 16px; overflow: hidden; background-image: var(--stripes-sm); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .img-note { left: 8px; bottom: 8px; font-size: 9.5px; padding: 3px 8px; }
[data-feed-list] { display: flex; flex-direction: column; gap: 14px; }
.ad-slot { border: 1.5px dashed var(--bd-hover); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ad-slot .mono { font-size: 11px; color: oklch(0.55 0.014 75); }
.ad-sub { font-size: 11.5px; color: var(--ph); }
.ad-infeed { height: 128px; }
.ad-side { height: 250px; }
.ad-text { margin: 30px 0; height: 110px; }
.ad-live { border-radius: 22px; overflow: hidden; }
.ad-live.ad-text { height: auto; }
.pager { display: flex; gap: 7px; justify-content: center; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 500; background: #fff; color: var(--sec-2); border: 1px solid var(--bd); transition: var(--t); }
.pager a:hover { border-color: var(--bd-hover); color: var(--h); }
.pager .active { background: var(--dark); color: #fff; border-color: var(--dark); }
.pager .pager-gap { border-color: transparent; background: transparent; min-width: 20px; padding: 0; }
.seo-block { margin-top: 16px; background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 24px 26px; }
.seo-block h2 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.seo-block p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: oklch(0.44 0.014 75); max-width: 70ch; text-wrap: pretty; }
.empty { background: #fff; border: 1px solid var(--bd); border-radius: 24px; padding: 44px 30px; text-align: center; }
.empty-arc { width: 54px; height: 27px; border-radius: 27px 27px 0 0; background: oklch(0.955 0.008 75); margin: 0 auto 18px; }
.empty-title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.empty p { margin: 0 auto; max-width: 42ch; font-size: 14.5px; line-height: 1.5; color: oklch(0.54 0.014 75); }
.empty p:empty { display: none; }
.skeleton { background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 18px; }
.skeleton span { display: block; height: 12px; border-radius: 999px; background: var(--soft); margin-bottom: 10px; animation: pulse 1.2s ease-in-out infinite; }
.skeleton span:nth-child(1) { width: 30%; } .skeleton span:nth-child(2) { width: 90%; height: 16px; } .skeleton span:nth-child(3) { width: 70%; height: 16px; } .skeleton span:nth-child(4) { width: 45%; margin-bottom: 0; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Сайдбар ---------- */
.side-card { background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 20px; }
.side-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.side-title-mb { margin-bottom: 14px; }
.side-title-sm { margin-bottom: 10px; }
.side-hint { margin: 0 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--muted-2); }
.side-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: oklch(0.52 0.014 75); }
.top-list { list-style: none; margin: 0; padding: 0; }
.top-item { display: flex; gap: 12px; padding: 13px 0 12px; border-bottom: 1px solid var(--bd-4); align-items: flex-start; color: var(--text); }
.top-list li:last-child .top-item { border-bottom: 0; padding-bottom: 4px; }
.top-item:hover .top-text { color: var(--accent-fg); }
.top-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--soft-2); color: oklch(0.5 0.014 75); font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.top-text { font-size: 14px; line-height: 1.42; color: var(--text); text-wrap: pretty; transition: var(--t); }
.subscribe { background: var(--dark); border-radius: 22px; padding: 22px; color: #fff; }
.subscribe-title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 7px; }
.subscribe p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: oklch(0.82 0.008 75); }
.subscribe input { width: 100%; height: 40px; padding: 0 16px; border: 1px solid oklch(0.38 0.012 60); background: oklch(0.3 0.012 60); color: #fff; border-radius: 999px; font-size: 13.5px; outline: none; margin-bottom: 8px; }
.subscribe input::placeholder { color: oklch(0.7 0.01 75); }
.subscribe input:focus { border-color: oklch(0.55 0.012 60); }
.subscribe input.is-error { border-color: var(--accent); }
.subscribe .btn-white { height: 40px; font-size: 13.5px; font-weight: 600; color: var(--h-2); border-color: transparent; }
.subscribe .btn-white:hover { background: oklch(0.93 0.008 75); }
.subscribe-done, .mediakit-done { font-size: 13.5px; line-height: 1.5; color: oklch(0.9 0.008 75); padding: 10px 16px; background: oklch(0.3 0.012 60); border-radius: 999px; }
.form-msg { font-size: 13px; line-height: 1.45; margin-top: 8px; color: oklch(0.9 0.008 75); }
.form-msg.is-error { color: oklch(0.8 0.1 30); }

/* ---------- Статья ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.progress-bar { height: 3px; width: 0; background: var(--accent); border-radius: 0 999px 999px 0; }
.article-card { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--bd); border-radius: 26px; padding: 10px 10px 34px; }
@media (max-width: 999px) { .article-card { flex-basis: 100%; } }
.preview-bar { margin: 4px 6px 8px; padding: 9px 16px; background: var(--accent-bg); color: var(--accent-fg); border-radius: 999px; font-size: 13px; }
.crumbs { display: flex; align-items: center; gap: 8px; padding: 12px 16px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--accent); }
.crumbs-plain { padding: 0 0 6px; }
.crumb-last { min-width: 0; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: oklch(0.55 0.014 75); }
.cover { position: relative; height: 300px; border-radius: 20px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .img-note { left: 14px; bottom: 14px; }
.art-body { padding: 26px 40px 0; }
.art-cat { margin-bottom: 14px; margin-right: 6px; }
.art-title { margin: 0 0 14px; font-size: 34px; line-height: 1.18; font-weight: 600; letter-spacing: -0.03em; color: var(--h-3); text-wrap: pretty; }
.art-lead { margin: 0 0 22px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: oklch(0.44 0.014 75); text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--soft); border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.byline-avatar { width: 32px; height: 32px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: oklch(0.45 0.014 75); flex-shrink: 0; }
.byline-who { display: flex; flex-direction: column; min-width: 0; }
.byline-name { font-size: 13.5px; font-weight: 500; color: var(--text); }
.byline-name:hover { color: var(--accent-fg); }
.byline-meta { font-size: 12px; color: var(--muted); }
.byline-right { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); }
.art-text { font-family: var(--serif); font-size: 18px; line-height: 1.64; color: var(--text-body); }
.art-text, .c-text, .card-lead, .hero-lead, .result-lead, .tbl-text, .notif-text { overflow-wrap: anywhere; }
.art-text pre { overflow-x: auto; font-size: 14px; background: var(--soft); padding: 14px 18px; border-radius: 16px; }
.art-text p { margin: 0 0 20px; text-wrap: pretty; }
.art-text a { text-decoration: underline; text-decoration-color: var(--accent-bd); text-underline-offset: 3px; }
.art-text h2, .art-text h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; color: var(--h-2); line-height: 1.3; margin: 30px 0 12px; }
.art-text h2 { font-size: 23px; } .art-text h3 { font-size: 19px; }
.art-text ul, .art-text ol { margin: 0 0 20px; padding-left: 24px; }
.art-text li { margin-bottom: 8px; text-wrap: pretty; }
.art-text hr { border: 0; border-top: 1px solid var(--bd-3); margin: 28px 0; }
.art-text strong { font-weight: 600; }
.art-text code { font-family: var(--mono); font-size: 0.85em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.art-quote { margin: 28px 0; padding: 24px 26px; background: var(--soft); border-radius: 22px; }
.art-quote blockquote { margin: 0; }
.art-quote blockquote p { margin: 0 0 10px; font-style: italic; font-size: 19px; line-height: 1.5; color: var(--dark); }
.art-quote blockquote p:last-child { margin-bottom: 0; }
.art-quote figcaption { display: block; margin-top: 10px; font-family: var(--sans); font-size: 13px; color: oklch(0.52 0.014 75); }
.art-callout { margin: 28px 0; padding: 20px 24px; background: var(--soft); border-radius: 22px; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: oklch(0.32 0.012 60); }
.art-callout p { margin: 0 0 10px; } .art-callout p:last-child { margin-bottom: 0; }
.art-callout p:first-child strong:only-child { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--h-2); }
.art-photo { margin: 28px 0; }
.art-photo img { width: 100%; height: auto; border-radius: 20px; }
.art-photo figcaption { margin-top: 10px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 9px; margin: 32px 0 0; flex-wrap: wrap; }
.action { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--soft); font-size: 14px; color: oklch(0.4 0.014 75); border: 1px solid transparent; transition: var(--t); }
.action:hover { background: oklch(0.95 0.008 75); }
.action.active { background: var(--accent-bg); color: var(--accent-fg); }
.tags { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tags-label { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.next-card { display: flex; gap: 18px; align-items: center; margin-top: 30px; padding: 20px; background: var(--soft); border-radius: 22px; color: inherit; flex-wrap: wrap; transition: var(--t); }
.next-card:hover { background: oklch(0.95 0.008 75); color: inherit; }
.next-in { flex: 1 1 260px; min-width: 0; }
.next-kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-fg); margin-bottom: 7px; }
.next-title { font-size: 18px; line-height: 1.32; font-weight: 600; letter-spacing: -0.015em; color: oklch(0.21 0.012 60); text-wrap: pretty; }
.next-meta { font-size: 12.5px; color: var(--muted-2); margin-top: 7px; }
.next-arrow { width: 44px; height: 44px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent-fg); flex-shrink: 0; }
.read-next { margin-top: 34px; }
.rn-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.rn-card { flex: 1 1 200px; min-width: 190px; border: 1px solid var(--bd); border-radius: 20px; padding: 8px 8px 16px; color: inherit; transition: var(--t); }
.rn-card:hover { border-color: var(--bd-hover); color: inherit; }
.rn-media { height: 92px; border-radius: 14px; overflow: hidden; background-image: var(--stripes-sm); }
.rn-media img { width: 100%; height: 100%; object-fit: cover; }
.rn-body { padding: 13px 10px 0; }
.rn-cat { font-size: 11.5px; color: var(--accent-fg); margin-bottom: 6px; }
.rn-title { font-size: 14.5px; line-height: 1.38; font-weight: 500; color: oklch(0.23 0.012 60); text-wrap: pretty; }
.comments { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--bd-3); font-family: var(--sans); }
.comments .h2-sm { margin-bottom: 16px; }
.comment-stub { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.c-avatar { width: 34px; height: 34px; border-radius: 999px; background: oklch(0.955 0.008 75); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; color: oklch(0.48 0.014 75); }
.c-avatar-empty { background: var(--soft); }
.comment-stub-in { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; padding: 0 18px; background: var(--soft); border-radius: 999px; font-size: 14px; color: var(--muted); transition: var(--t); }
a.comment-stub-in:hover { color: var(--accent-fg); background: oklch(0.95 0.008 75); }
.comment-form { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.comment-form-in { flex: 1; min-width: 0; }
.comment-form textarea, .reply-form textarea { width: 100%; min-height: 44px; padding: 11px 18px; background: var(--soft); border: 1px solid transparent; border-radius: 22px; font-size: 14px; line-height: 1.5; resize: none; outline: none; transition: var(--t); display: block; }
.comment-form textarea:focus, .reply-form textarea:focus { background: #fff; border-color: var(--bd-hover); }
.comment-form textarea.is-error { border-color: var(--accent); }
.comment-form-actions { display: none; gap: 8px; margin-top: 8px; }
.comment-form:focus-within .comment-form-actions, .comment-form.has-text .comment-form-actions, .reply-form .comment-form-actions { display: flex; }
.comment { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--bd-5); }
.comment-reply { margin-left: 46px; }
.comment:target { background: var(--accent-bg); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 16px; }
.c-in { min-width: 0; flex: 1; }
.c-head { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.c-name { font-size: 13.5px; font-weight: 500; color: var(--text); }
.c-name:hover { color: var(--accent-fg); }
.c-staff { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-fg); }
.c-time { font-size: 12px; color: var(--muted-4); }
.c-text { margin: 0 0 6px; font-size: 14.5px; line-height: 1.5; color: oklch(0.3 0.012 60); text-wrap: pretty; white-space: pre-line; }
.c-actions { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); align-items: center; }
.c-vote, .c-reply, .c-del { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12.5px; transition: var(--t); }
.c-vote:hover, .c-reply:hover { color: var(--accent-fg); }
.c-vote.active { color: var(--accent-fg); font-weight: 500; }
.c-del:hover { color: var(--accent-fg); }
.reply-form { margin-top: 12px; }
.comment-ref { display: inline-block; margin-top: 4px; font-size: 13px; }

/* ---------- Поиск ---------- */
.search-summary { margin: 0 0 20px; font-size: 14.5px; color: oklch(0.54 0.014 75); }
.result-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.result-card { background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 18px 20px; transition: var(--t); }
.result-card:hover { border-color: var(--bd-hover); }
.result-card .card-meta { margin-bottom: 8px; }
.result-title { margin: 0 0 7px; font-size: 18px; line-height: 1.34; font-weight: 600; letter-spacing: -0.015em; color: var(--h-2); text-wrap: pretty; }
.result-title:last-child { margin-bottom: 0; }
.result-lead { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; color: oklch(0.5 0.014 75); text-wrap: pretty; }
[data-search-results].is-loading { opacity: .5; }

/* ---------- Профиль ---------- */
.profile { background: #fff; border: 1px solid var(--bd); border-radius: 26px; padding: 28px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.profile-avatar { width: 76px; height: 76px; border-radius: 999px; background: oklch(0.955 0.008 75); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; color: oklch(0.45 0.014 75); flex-shrink: 0; }
.profile-in { flex: 1 1 220px; min-width: 0; }
.profile-name { margin: 0 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -0.026em; color: var(--h); }
.profile-role { font-size: 14px; color: oklch(0.54 0.014 75); margin-bottom: 12px; }
.profile-bio { margin: 0; font-size: 14.5px; line-height: 1.55; color: oklch(0.4 0.014 75); max-width: 54ch; text-wrap: pretty; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; align-items: center; }
.stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 15px; border-radius: 999px; background: var(--soft); }
.stat b { font-size: 14.5px; font-weight: 600; color: var(--dark); }
.stat span { font-size: 12.5px; color: oklch(0.54 0.014 75); }
.stat-cta { margin-left: auto; height: auto; padding: 8px 16px; font-size: 13.5px; }

/* ---------- Уведомления ---------- */
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.notif-list { background: #fff; border: 1px solid var(--bd); border-radius: 24px; padding: 8px 20px; margin-bottom: 14px; }
.notif { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bd-5); align-items: flex-start; color: inherit; }
.notif:last-child { border-bottom: 0; }
.notif:hover { color: inherit; }
.notif:hover .notif-text { color: var(--accent-fg); }
.notif-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--soft); color: oklch(0.44 0.014 75); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: var(--t); }
.notif.unread .notif-icon { background: var(--accent-bg-2); color: var(--accent-fg); }
.notif-in { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.notif-text { font-size: 14.5px; line-height: 1.45; color: var(--text); text-wrap: pretty; transition: var(--t); }
.notif-time { font-size: 12.5px; color: var(--muted-3); }
.notif-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); margin-top: 6px; }
.notif-empty { padding: 30px 0; text-align: center; font-size: 14.5px; color: oklch(0.54 0.014 75); }

/* ---------- Формы ---------- */
.label { display: block; font-size: 13px; font-weight: 500; color: oklch(0.4 0.014 75); margin-bottom: 7px; }
.label-sm { font-size: 12.5px; color: var(--sec-2); margin-bottom: 6px; }
.label-mb8 { margin-bottom: 8px; }
.input { width: 100%; height: 44px; padding: 0 18px; border: 1px solid var(--bd-2); border-radius: 999px; font-size: 14.5px; outline: none; margin-bottom: 16px; background: var(--input-bg); transition: var(--t); }
.input:focus { border-color: var(--accent); background: #fff; }
.input.is-error, .textarea.is-error { border-color: var(--accent); }
.input-38 { height: 38px; padding: 0 14px; margin-bottom: 12px; }
.input-sm { font-size: 13px; }
.input-xs { font-size: 12px; margin-bottom: 14px; }
.input-xxs { font-size: 11.5px; margin-bottom: 14px; }
.textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--bd-2); border-radius: 16px; font-size: 13px; line-height: 1.45; outline: none; resize: none; margin-bottom: 12px; background: var(--input-bg); transition: var(--t); display: block; }
.textarea:focus { border-color: var(--accent); background: #fff; }
.field-error { font-size: 12.5px; line-height: 1.4; color: var(--accent-fg); margin: -10px 0 14px 18px; }
.field-error-dark { margin: 0 0 8px 16px; color: oklch(0.8 0.1 30); }
.checkbox { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--sec-2); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox span { width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid oklch(0.88 0.01 75); display: inline-block; flex-shrink: 0; transition: var(--t); }
.checkbox input:checked + span { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; }

/* ---------- Авторизация ---------- */
.auth-card { width: 100%; background: #fff; border: 1px solid var(--bd); border-radius: 26px; padding: 36px; }
.auth-in { max-width: 420px; margin: 0 auto; padding: 10px 0; }
.auth-h1 { margin: 0 0 8px; font-size: 25px; font-weight: 600; letter-spacing: -0.026em; color: var(--h); }
.auth-sub { margin: 0 0 24px; font-size: 14.5px; line-height: 1.5; color: oklch(0.52 0.014 75); }
.auth-card .input:last-of-type { margin-bottom: 0; }
.auth-card .input + .field-error { margin-top: 6px; margin-bottom: 0; }
.auth-forgot { display: flex; justify-content: flex-end; margin-top: 10px; font-size: 13px; }
.auth-legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.auth-cta { margin-top: 20px; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.or span { flex: 1; height: 1px; background: var(--bd-3); }
.or em { font-style: normal; font-size: 12px; color: oklch(0.66 0.012 75); }
.oauth { display: flex; flex-direction: column; gap: 9px; }
.auth-switch { margin-top: 24px; text-align: center; font-size: 13.5px; color: oklch(0.52 0.014 75); }
.auth-switch a { font-weight: 500; }

/* ---------- Редактор ---------- */
.editor-card { background: #fff; border: 1px solid var(--bd); border-radius: 26px; padding: 30px; display: block; }
.editor-errors { margin-bottom: 18px; padding: 12px 18px; background: var(--accent-bg); color: var(--accent-fg); border-radius: 18px; font-size: 13.5px; line-height: 1.5; }
.editor .filter-pill { position: relative; }
.ed-title { width: 100%; border: 0; outline: none; font-size: 28px; line-height: 1.24; font-weight: 600; letter-spacing: -0.028em; color: var(--h); margin-bottom: 14px; padding: 0; background: transparent; resize: none; display: block; overflow: hidden; }
.ed-lead { width: 100%; border: 0; outline: none; resize: none; font-family: var(--serif); font-size: 18px; line-height: 1.5; color: oklch(0.44 0.014 75); margin-bottom: 20px; padding: 0; background: transparent; display: block; }
.dropzone { position: relative; height: 190px; border-radius: 20px; border: 1.5px dashed oklch(0.87 0.01 75); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; margin-bottom: 12px; overflow: hidden; transition: var(--t); }
.dropzone:hover, .dropzone.is-over, .og-drop:hover, .og-drop.is-over { border-color: var(--accent); }
.dropzone.has-image, .og-drop.has-image { border-style: solid; border-color: var(--bd); }
.dropzone img, .og-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dropzone.has-image .dz-text, .og-drop.has-image .dz-text { position: absolute; left: 10px; bottom: 10px; background: #fff; padding: 5px 10px; border-radius: 999px; gap: 0; }
.dropzone.has-image .dz-text .dz-sub, .og-drop.has-image .dz-text .dz-sub { display: none; }
.dz-text { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dz-title { font-size: 14.5px; font-weight: 500; color: oklch(0.36 0.012 60); }
.dz-sub { font-size: 11px; color: var(--muted); }
.dz-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; transition: width .2s ease; }
.cover-fields { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.cover-fields .input { flex: 1 1 200px; margin-bottom: 0; }
.toolbar { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; background: var(--soft); border-radius: 999px; margin: 22px 0 16px; }
.toolbar button { min-width: 32px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: oklch(0.36 0.012 60); transition: var(--t); }
.toolbar button:hover { color: var(--accent-fg); }
.ed-body { width: 100%; border: 1px solid var(--bd-3); border-radius: 20px; padding: 18px 20px; outline: none; resize: vertical; font-family: var(--serif); font-size: 17px; line-height: 1.62; color: var(--text-body); background: var(--input-bg); min-height: 320px; display: block; transition: var(--t); }
.ed-body:focus { border-color: var(--bd-outline-hover); background: #fff; }
.ed-hint { margin: 10px 0 18px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ed-hint .mono { font-size: 11.5px; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.ed-flags { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.snippet { border: 1px solid var(--bd-3); border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.snippet-url { font-size: 12px; color: oklch(0.5 0.014 75); margin-bottom: 4px; word-break: break-all; }
.snippet-title { font-size: 14.5px; line-height: 1.3; color: var(--snippet-link); margin-bottom: 5px; overflow-wrap: anywhere; }
.snippet-desc { font-size: 12.5px; line-height: 1.42; color: oklch(0.45 0.014 75); overflow-wrap: anywhere; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; gap: 9px; align-items: flex-start; }
.check-mark { flex-shrink: 0; width: 17px; height: 17px; border-radius: 999px; background: var(--accent-bg-2); color: var(--accent-fg); font-size: 10px; display: flex; align-items: center; justify-content: center; margin-top: 2px; transition: var(--t); }
.check-mark.ok { background: var(--ok-bg); color: var(--ok-fg); }
.check span:last-child, .check > span:not(.check-mark) { font-size: 12.5px; line-height: 1.42; color: oklch(0.44 0.014 75); }
.divider { height: 1px; background: oklch(0.95 0.008 75); margin: 18px 0; }
.og-drop { position: relative; height: 92px; border-radius: 16px; border: 1.5px dashed oklch(0.88 0.01 75); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; overflow: hidden; transition: var(--t); }
.og-drop .dz-text span:first-child { font-size: 12.5px; color: var(--sec-2); }
.og-drop .dz-sub { font-size: 10.5px; color: var(--muted-3); }
.pub-rows { display: flex; flex-direction: column; gap: 10px; }
.pub-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--soft); border-radius: 999px; width: 100%; border: 0; text-align: left; }
.pub-row span { font-size: 13.5px; color: oklch(0.44 0.014 75); }
.pub-row b { font-size: 13.5px; font-weight: 500; color: var(--text); }
.pub-row-btn { cursor: pointer; transition: var(--t); }
.pub-row-btn:hover { background: oklch(0.95 0.008 75); }
.schedule-box { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.schedule-box .input { margin-bottom: 0; }
.schedule-box .linklike { font-size: 12.5px; align-self: flex-start; padding-left: 12px; }
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist-item { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13.5px; line-height: 1.45; color: var(--sec-2); }
.checklist-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.checklist-circle { flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid oklch(0.88 0.01 75); margin-top: 2px; transition: var(--t); }
.checklist-item input:checked + .checklist-circle { background: var(--ok-bg); border-color: var(--ok-fg); box-shadow: inset 0 0 0 3px #fff; }
.checklist-item input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--bd-hover); }

/* ---------- Страницы ---------- */
.page-card { background: #fff; border: 1px solid var(--bd); border-radius: 26px; padding: 36px; }
.page-h1 { margin: 0 0 14px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; color: var(--h-3); }
.page-lead { margin: 0 0 20px; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--sec-2); text-wrap: pretty; }
.page-lead:last-child { margin-bottom: 0; }
.page-lead-58 { max-width: 58ch; }
.principles { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.principle { padding: 20px 24px; background: var(--soft); border-radius: 22px; }
.principle-t { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.principle p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--sec-2); text-wrap: pretty; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.contacts-line { margin: 22px 0 0; font-size: 13.5px; line-height: 1.6; color: oklch(0.52 0.014 75); }
.ad-formats { display: flex; flex-wrap: wrap; gap: 14px; }
.ad-format { flex: 1 1 250px; min-width: 240px; background: #fff; border: 1px solid var(--bd); border-radius: 24px; padding: 22px; }
.ad-format-preview { height: 104px; border-radius: 18px; border: 1.5px dashed oklch(0.87 0.01 75); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ad-format-preview .mono { font-size: 11px; color: oklch(0.55 0.014 75); }
.ad-format-name { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.ad-format p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--sec); text-wrap: pretty; }
.mediakit { background: var(--dark); border-radius: 26px; padding: 32px; color: #fff; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.mediakit-in { flex: 1 1 260px; min-width: 0; }
.mediakit-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.mediakit p { margin: 0; font-size: 14.5px; line-height: 1.5; color: oklch(0.82 0.008 75); }
.mediakit-form { flex: 1 1 260px; min-width: 240px; }
.mediakit-row { display: flex; gap: 8px; }
.mediakit-row input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border: 1px solid oklch(0.38 0.012 60); background: oklch(0.3 0.012 60); color: #fff; border-radius: 999px; font-size: 14px; outline: none; }
.mediakit-row input::placeholder { color: oklch(0.7 0.01 75); }
.mediakit-row input:focus { border-color: oklch(0.55 0.012 60); }
.mediakit-row input.is-error { border-color: var(--accent); }
.mediakit .btn-white { padding: 0 22px; font-weight: 600; color: var(--h-2); border-color: transparent; flex-shrink: 0; }
.mediakit .btn-white:hover { background: oklch(0.93 0.008 75); }
.mediakit .field-error-dark { margin-top: 8px; }
.err-card .err-code { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

/* ---------- Админка ---------- */
.admin-nav { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 0; border-bottom: 1px solid var(--bd-2); margin-bottom: 4px; }
.admin-nav a { font-size: 14px; font-weight: 500; line-height: 1; padding: 6px 0 12px; color: oklch(0.45 0.014 75); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: var(--t); }
.admin-nav a:hover { color: var(--accent-fg); }
.admin-nav a.active { color: var(--h); border-bottom-color: var(--accent); }
.admin .feed-head { margin-top: 6px; }
.side-actions { display: flex; flex-direction: column; gap: 8px; }
.side-text-last { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card { display: block; background: #fff; border: 1px solid var(--bd); border-radius: 22px; padding: 18px 20px 16px; color: inherit; transition: var(--t); }
.stat-card:hover { border-color: var(--bd-hover); color: inherit; }
.stat-v { font-size: 26px; font-weight: 600; letter-spacing: -0.028em; color: var(--h); line-height: 1.1; }
.stat-k { font-size: 13.5px; color: var(--sec-2); margin-top: 6px; }
.stat-sub { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bd-4); }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.admin-row { display: block; padding: 11px 0; border-bottom: 1px solid var(--bd-4); color: inherit; }
.admin-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.admin-row:hover .admin-row-t { color: var(--accent-fg); }
.admin-row-t { display: block; font-size: 14px; line-height: 1.4; color: var(--text); transition: var(--t); text-wrap: pretty; }
.admin-row-m { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.admin-filters { display: flex; flex-direction: column; gap: 10px; }
.admin-filters .filter-row { margin-bottom: 0; }
.admin-search { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-admin { flex: 1 1 220px; margin-left: 0; height: 38px; }
.select { height: 38px; padding: 0 36px 0 14px; border: 1px solid var(--bd-2); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 13.5px; color: var(--text); outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; transition: var(--t); }
.select:focus { border-color: var(--accent); }
.admin-total { margin-left: auto; font-size: 13.5px; color: var(--sec-2); }
.admin-total b { color: var(--h); font-weight: 600; }
.filter-pill .count { font-weight: 400; opacity: .6; margin-left: 4px; }
.tbl-wrap { background: #fff; border: 1px solid var(--bd); border-radius: 22px; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); padding: 14px 14px 10px; border-bottom: 1px solid var(--bd-3); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { padding-left: 20px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--bd-5); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: oklch(0.985 0.004 75); }
.td-main { min-width: 260px; }
.td-num { white-space: nowrap; color: var(--sec-2); font-size: 13.5px; }
.td-empty { text-align: center; color: var(--muted); padding: 34px 14px; }
.td-order { white-space: nowrap; }
.td-order .inline-form + .inline-form { margin-left: 4px; }
.th-narrow { width: 90px; }
.th-actions, .td-actions { text-align: right; }
.td-actions { white-space: normal; min-width: 200px; max-width: 240px; }
.td-actions .inline-form { display: inline-block; }
.td-actions .btn { margin: 0 0 4px 4px; vertical-align: top; }
.tbl-title { font-size: 14.5px; font-weight: 500; color: var(--h-2); line-height: 1.35; text-wrap: pretty; }
a.tbl-title:hover { color: var(--accent-fg); }
.tbl-text { font-size: 14px; line-height: 1.45; color: var(--text); white-space: pre-line; max-width: 62ch; }
.tbl-link { font-size: 14px; font-weight: 500; color: var(--text); }
.tbl-link:hover { color: var(--accent-fg); }
.tbl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }
.tbl-meta a { color: var(--accent); }
.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--soft-2); color: var(--sec-2); white-space: nowrap; }
.badge-published, .badge-admin { background: var(--ok-bg); color: var(--ok-fg); }
.badge-scheduled, .badge-accent, .badge-editor { background: var(--accent-bg); color: var(--accent-fg); }
.badge-author { background: oklch(0.55 0.13 250 / 0.12); color: oklch(0.4 0.12 250); }
.btn-xs { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn-xs.is-on { background: var(--accent-bg); border-color: var(--accent-bd); color: var(--accent-fg); }
.btn-danger:hover { border-color: var(--accent-bd); color: var(--accent-fg); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.tag-rename { display: flex; gap: 8px; align-items: center; max-width: 420px; }
.tag-rename .input { margin-bottom: 0; }
.admin-form .label { margin-top: 4px; }
.admin-form .cta-row { margin-top: 10px; }
.admin-form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.label-hint { font-weight: 400; color: var(--muted); }
.admin-hint { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.admin-hint-tight { margin: -4px 0 14px; }
.checkbox-lg { font-size: 14.5px; color: var(--text); }
.ad-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.textarea-code { font-size: 12.5px; line-height: 1.5; margin-bottom: 0; }
.m-panel-second { margin-top: 8px !important; }
@media (max-width: 999px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 759px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-nav { column-gap: 16px; }
  .admin-nav a { padding-top: 8px; padding-bottom: 10px; }
  .tbl th, .tbl td { padding: 11px 10px; }
  .td-actions { white-space: normal; text-align: left; }
  .td-actions .inline-form, .td-actions .btn { margin: 0 4px 4px 0; }
  .admin-total { margin-left: 0; }
}

/* ---------- Юридические документы, согласия, cookie ---------- */
.legal { font-family: var(--sans); }
.legal-kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-fg); margin-bottom: 12px; }
.legal h2 { margin: 30px 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--h-2); line-height: 1.3; scroll-margin-top: 90px; }
.legal p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: oklch(0.32 0.012 60); text-wrap: pretty; overflow-wrap: anywhere; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; font-size: 15px; line-height: 1.6; color: oklch(0.32 0.012 60); }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-decoration-color: var(--accent-bd); text-underline-offset: 3px; }
.legal-toc { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; padding: 18px 22px; background: var(--soft); border-radius: 22px; font-size: 14px; }
.legal-toc a { text-decoration: none; }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; line-height: 1.5; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--bd-3); }
.legal-table th { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.legal-table td:first-child { width: 42%; color: var(--text); }
.legal-table td:last-child { color: oklch(0.42 0.014 75); }
.legal-note { font-size: 13.5px; color: var(--muted-2); padding: 12px 16px; background: var(--soft); border-radius: 16px; }
.legal-links { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bd-3); font-size: 13.5px; color: var(--muted-2); }
.owner-line { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: oklch(0.36 0.012 60); }
.owner-muted { color: var(--muted-2); }
.owner-h2 { margin-top: 20px; }
.owner-links { margin-top: 16px; }
.consents { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 4px; }
.checkbox-consent { display: flex; width: 100%; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--sec-2); }
.checkbox-consent > span:first-of-type { margin-top: 2px; }
.checkbox-consent.is-error > span:first-of-type { border-color: var(--accent); }
.checkbox .checkbox-text { display: block; flex: 1 1 0; width: auto; height: auto; min-width: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.checkbox input:checked ~ .checkbox-text { background: none; }
body.has-cookie-bar { padding-bottom: 96px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; }
.auth-row .checkbox { font-size: 13px; }
.reconsent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 20px; background: #fff; border: 1px solid var(--accent-bd); border-radius: 22px; font-size: 13.5px; }
.reconsent-text { flex: 1 1 320px; line-height: 1.5; color: var(--text); }
.reconsent .checkbox { font-size: 13.5px; }
.comment.is-removed .c-avatar { color: var(--muted); }
.c-removed { font-style: italic; color: var(--muted); margin: 6px 0 0; }
.field-error-consent { margin: -6px 0 0 27px; }
.field-error-side { margin: 0 0 10px; }
.subscribe-legal { margin: 10px 0 0 !important; font-size: 11.5px !important; line-height: 1.45 !important; color: oklch(0.7 0.01 75) !important; }
.subscribe-legal a, .mediakit .subscribe-legal a { color: oklch(0.85 0.008 75); text-decoration: underline; text-underline-offset: 2px; }
.mediakit .subscribe-legal { color: oklch(0.7 0.01 75) !important; }
.ad-mark { margin: -12px 0 22px; padding: 9px 16px; background: var(--soft); border-radius: 999px; font-family: var(--sans); font-size: 12.5px; color: oklch(0.45 0.014 75); overflow-wrap: anywhere; }
.ad-label-box { margin-top: 12px; max-width: 560px; }
.ad-label-box .input { margin-bottom: 0; }
.ftr-age { font-size: 11px; font-weight: 600; padding: 2px 7px; border: 1px solid var(--bd-hover); border-radius: 6px; color: var(--sec-2); }
.ftr-legal { flex-basis: 100%; font-size: 12.5px; line-height: 1.5; color: var(--muted-3); }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--dark); color: #fff; border-top: 1px solid oklch(0.32 0.012 60); }
.cookie-in { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.cookie-in p { margin: 0; flex: 1 1 320px; font-size: 13px; line-height: 1.5; color: oklch(0.85 0.008 75); }
.cookie-in a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-in .btn-dark { background: #fff; color: var(--h-2); flex-shrink: 0; }
.cookie-in .btn-dark:hover { background: oklch(0.93 0.008 75); color: var(--h-2); }
@media (max-width: 759px) {
  .legal h2 { font-size: 18px; }
  .legal-table td:first-child { width: 45%; }
  .cookie-in { gap: 10px; }
  .cookie-in .btn-dark { width: 100%; }
}

/* ---------- Футер ---------- */
.ftr { margin-top: auto; border-top: 1px solid var(--bd); }
.ftr-in { padding-top: 30px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.ftr-brand { display: flex; align-items: center; gap: 9px; }
.ftr-word { font-size: 16px; font-weight: 600; letter-spacing: -0.025em; }
.ftr-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: block; }
.ftr-domain { font-size: 13px; color: var(--muted-3); }
.ftr-links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; font-size: 13px; color: oklch(0.5 0.014 75); align-items: center; }
.ftr-links a, .ftr-links .linklike { color: oklch(0.5 0.014 75); font-size: 13px; }
.ftr-links a:hover, .ftr-links .linklike:hover { color: var(--accent-fg); }

/* ---------- Мобильная версия (<760px) ---------- */
@media (max-width: 759px) {
  .hdr-desktop { display: none; }
  .hdr-mobile { display: block; }
  .page { padding-top: 18px; padding-bottom: 50px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .two-col { gap: 22px; }
  .col-side { flex: 1 1 100%; min-width: 0; }
  .flash-wrap { padding: 0 16px; }
  .hero { padding: 8px 8px 20px; border-radius: 22px; }
  .hero-media { height: 200px; }
  .hero-body { padding: 16px 10px 0; }
  .hero-title { font-size: 23px; }
  .hero-lead { font-size: 16px; }
  .card { padding: 16px; gap: 14px; }
  .card-title { font-size: 17.5px; }
  .card-thumb { flex-basis: 96px; min-height: 80px; }
  .card-thumb .img-note { display: none; }
  .article-card { border-radius: 22px; padding: 8px 8px 26px; }
  .cover { height: 210px; }
  .art-body { padding: 20px 14px 0; }
  .art-title { font-size: 27px; }
  .art-lead { font-size: 17px; }
  .art-text { font-size: 17px; }
  .byline { padding: 12px 14px; border-radius: 24px; }
  .byline-right { margin-left: 0; width: 100%; }
  .art-quote { padding: 20px 20px; }
  .comment-reply { margin-left: 24px; }
  .profile { padding: 22px; }
  .editor-card { padding: 20px; }
  .ed-title { font-size: 24px; }
  .page-card { padding: 26px 22px; }
  .page-h1 { font-size: 27px; }
  .page-lead { font-size: 17.5px; }
  .mediakit { padding: 24px; }
  .auth-card { padding: 26px 22px; }
  .ftr-links { margin-left: 0; }
  .crumb-last { max-width: 24ch; }
}
@media (max-width: 420px) {
  .feed-head .seg { width: 100%; justify-content: space-between; }
  .feed-head .seg a { flex: 1; text-align: center; padding-left: 6px; padding-right: 6px; }
  .stat-cta { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
