/* columnistar.com
 *
 * Мир — концепции владельца (D:\Portfolio\Columnist, 27.10.2026): типографская красная,
 * ночь вместо чёрного, газетная бумага, мята и горчица, ч/б растровые вырезки, звезда и
 * колонна. Витрина — плакат (направление Б), весь рабочий интерфейс — газетная полоса
 * (направление А): тихий лист, на котором работают. Бриф — columnistar\BRIEF.md.
 *
 * Шрифты (27.10.2026, после слова владельца «нечитаемые»): Noto Serif — заголовки и
 * плакат, Geologica — текст и интерфейс (абзацы 300, управление 500–600; Madefor тоньше 400 не умеет). Обе с latin-ext и кириллицей.
 */

/* --- faces ----------------------------------------------------------------
   27.10.2026, слово владельца: прежние шрифты нечитаемы. Теперь две гарнитуры:
   Noto Serif (низкий контраст, ось ширины) — заголовки и плакат; Wix Madefor Text —
   весь текст и интерфейс. Обе с latin-ext и кириллицей. */

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url("fonts/noto-serif-latin.3e79ebe92034.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: "Noto Serif";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url("fonts/noto-serif-latin-ext.183429a5be88.woff2") format("woff2");
  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: "Noto Serif";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url("fonts/noto-serif-cyrillic.ce645930d933.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geologica-latin.429fc8a75e26.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: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geologica-latin-ext.a1091c3b669f.woff2") format("woff2");
  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: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geologica-cyrillic.b23d17dab853.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* --- world ---------------------------------------------------------------- */

:root {
  --paper: #F0E8DE;
  --card: #FBF7F1;
  --sand: #E6DCCD;
  --sand-deep: #D3C5B1;
  --ink: #111D30;
  --ink-2: #3D4656;
  --ink-3: #6C7280;
  --rule: #D6CBBB;
  --accent: #F5452A;
  --accent-deep: #C8270F;
  --accent-ink: #FBF7F1;
  --accent-soft: #FBD9D1;
  --mint: #C9DBD1;
  --mustard: #F2B944;
  --night: #111D30;
  --good: #1d6a44;
  --good-soft: #dcebe1;
  --bad: #ab2417;
  --bad-soft: #f8dfda;

  /* Бумажный лист, а не приложение: углы почти прямые, тень — лист над листом. */
  --r-lg: 6px;
  --r-md: 4px;
  --r-sm: 3px;
  --shadow: 0 1px 0 rgba(17, 29, 48, 0.06), 0 10px 24px -14px rgba(17, 29, 48, 0.28);
  --shadow-lift: 0 2px 0 rgba(17, 29, 48, 0.06), 0 26px 44px -20px rgba(17, 29, 48, 0.38);

  /* Кривые по ролям. */
  --e-display: cubic-bezier(0.16, 1, 0.3, 1);
  --e-body: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --e-ui: cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1180px;

  --display: "Noto Serif", Georgia, "Times New Roman", serif;
  --text: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --caps: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --star: var(--accent);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--sand-deep) var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 200 17px/1.62 var(--text);
  caret-color: var(--accent);
  hyphens: manual;
}

::selection { background: var(--accent-soft); color: var(--ink); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--sand-deep); border: 3px solid var(--paper); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #cdbb9c; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

a { color: var(--accent-deep); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* --- шапка: см. «ШАПКА» в конце файла ------------------------------------------ */

.main { flex: 1 0 auto; padding: 0 0 84px; }
.page--desk .main, .page--profile .main, .page--new .main, .page--signin .main,
.page--signup .main, .page--plain .main, .page--stats .main, .page--support .main { padding-top: 46px; }

.footer { border-top: 1px solid var(--rule); background: var(--sand); padding: 34px 0; color: var(--ink-2); font-size: 0.94rem; }
.footer__inner { display: grid; gap: 10px; }
.footer__inner p { margin: 0; max-width: 70ch; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-3); }

/* --- controls --------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 0.98rem/1 var(--text); letter-spacing: 0; cursor: pointer;
  transition: transform 0.16s var(--e-ui), background 0.16s var(--e-ui), box-shadow 0.16s var(--e-ui);
  box-shadow: 0 1px 2px rgba(169, 42, 26, 0.2), 0 12px 24px -14px rgba(169, 42, 26, 0.7);
}
.button:hover { background: var(--accent-deep); text-decoration: none; transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.55; cursor: default; transform: none; }
.button--small { padding: 10px 18px; font-size: 0.94rem; }
.button--quiet { background: var(--card); color: var(--ink); border: 1px solid var(--rule); box-shadow: none; }
.button--quiet:hover { background: #fff; border-color: var(--sand-deep); }
.button--bad { background: var(--bad); box-shadow: none; }

.linklike { background: none; border: 0; padding: 0; color: var(--accent-deep); font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike--bad { color: var(--bad); }

.field { display: block; margin: 0 0 22px; }
.field__label { display: block; margin-bottom: 7px; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.field__input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--card); color: var(--ink); font: inherit;
  transition: border-color 0.15s var(--e-ui), box-shadow 0.15s var(--e-ui);
}
.field__input:hover { border-color: var(--sand-deep); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field__input--area { resize: vertical; min-height: 104px; }
.field__input--title { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; }
.field__hint { display: block; margin-top: 7px; font-size: 0.88rem; color: var(--ink-3); }
.field__hint--offer { color: var(--accent-deep); font-weight: 600; }
.field__error { display: block; margin-top: 7px; font-size: 0.9rem; color: var(--bad); }
/* Обязательное не заполнено: имя и фамилия, язык, фото (владелец, 20.10.2026). */
.field--bad .field__input { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.field--bad .field__label { color: var(--bad); }
.avatar.avatar--bad { box-shadow: 0 0 0 3px var(--bad), var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 22px; font-size: 0.96rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--accent); }

.alert { padding: 14px 16px; border-radius: var(--r-md); background: var(--sand); margin: 0 0 22px; }
.alert--bad { background: var(--bad-soft); color: #7f1a10; }
.alert--good { background: var(--good-soft); color: #14512f; }

.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 68ch; }
.hint { font-size: 0.9rem; color: var(--ink-3); }
.empty { color: var(--ink-3); padding: 40px 0; }

/* --- home: см. «ВИТРИНА — ПЛАКАТ» в конце файла ------------------------------- */

/* --- reading pages -------------------------------------------------------------- */

.prose { max-width: 68ch; padding-top: 48px; }
.prose h2 { margin-top: 1.7em; font-size: 1.4rem; }
.prose__lead { color: var(--ink-2); font-size: 1.12rem; }

/* --- forms --------------------------------------------------------------------- */

.form-page { max-width: 480px; }
.form-page h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.form-page__aside { margin-top: 22px; color: var(--ink-2); font-size: 0.96rem; display: flex; gap: 9px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; margin: 0 0 26px; }
.facts dt { color: var(--ink-3); font-size: 0.92rem; }
.facts dd { margin: 0; }
.quote { margin: 0 0 26px; padding: 16px 20px; background: var(--sand); border-radius: var(--r-md); color: var(--ink-2); }
.plain-list { list-style: none; padding: 0; }

/* --- desk ------------------------------------------------------------------------ */

.desk__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.desk__head h1 { margin: 0; }
.desk__limit { color: var(--ink-3); font-size: 0.92rem; }

.panel { padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); margin-bottom: 26px; }
.panel--action { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel--action p { margin: 0; }
.panel--bad { background: var(--bad-soft); box-shadow: none; }
.panel--rules { background: var(--sand); box-shadow: none; }
.panel__title { font-size: 1.05rem; margin-bottom: 6px; }

.archives { display: grid; gap: 44px; }
.archive__title { font-size: 1.35rem; display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.archive__count {
  font-family: var(--caps); font-synthesis: none; font-size: 0.86rem; font-weight: 600; color: var(--ink-3);
  background: var(--sand); border-radius: 999px; padding: 2px 10px;
}
.archive .empty { padding: 18px 0 4px; }

.columns { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.columns__row {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 18px 22px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(22, 18, 14, 0.05);
  transition: box-shadow 0.16s var(--e-ui), transform 0.16s var(--e-ui);
}
.columns__row:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.columns__title { font-family: var(--display); font-size: 1.22rem; color: var(--ink); }
.columns__title:hover { text-decoration: none; color: var(--accent-deep); }
.columns__meta { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin: 7px 0 0; color: var(--ink-3); font-size: 0.9rem; }
.columns__actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }

.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.79rem; font-weight: 600; background: var(--sand); color: var(--ink-2); }
.tag--published { background: var(--good-soft); color: #14512f; }
.tag--queued { background: #f6e6c8; color: #7a5312; }
.tag--withdrawn { background: var(--bad-soft); color: #7f1a10; }

/* --- profile --------------------------------------------------------------------- */

.profile__grid { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.profile__subtitle { font-family: var(--caps); font-synthesis: none; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin: 30px 0 12px; }
.profile__photo .profile__subtitle { margin-top: 20px; }
.avatar { width: 176px; height: 176px; border-radius: 50%; overflow: hidden; background: var(--sand); display: grid; place-items: center; box-shadow: var(--shadow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__empty { font-family: var(--display); font-size: 3.4rem; color: var(--ink-3); }
.profile__photo-actions { display: flex; align-items: center; gap: 16px; }
.profile__form { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 30px; }
.editions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
.editions__host { color: var(--ink-3); font-size: 0.86rem; }

.cropper { position: fixed; inset: 0; background: rgba(22, 18, 14, 0.62); display: grid; place-items: center; z-index: 20; }
[hidden] { display: none !important; }
.cropper__box { background: var(--card); border-radius: var(--r-lg); padding: 26px; width: min(92vw, 400px); text-align: center; box-shadow: var(--shadow-lift); }
.cropper__box canvas { width: 100%; max-width: 320px; border-radius: 50%; touch-action: none; cursor: grab; }
.cropper__actions { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 16px 0 0; }
#cropper-zoom { width: 100%; margin: 14px 0 0; accent-color: var(--accent); }

/* --- choosing an edition ----------------------------------------------------------- */

.new { max-width: 860px; }
.editions-pick { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.editions-pick__row { border-radius: var(--r-lg); background: var(--card); box-shadow: 0 1px 2px rgba(22, 18, 14, 0.05); }
.editions-pick__label { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; cursor: pointer; border-radius: var(--r-lg); transition: box-shadow 0.16s var(--e-ui); }
.editions-pick__label:hover { box-shadow: var(--shadow); }
.editions-pick__label input { margin-top: 5px; accent-color: var(--accent); }
.editions-pick__label:has(input:checked) { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.editions-pick__body { display: grid; gap: 4px; }
.editions-pick__name { font-weight: 600; font-size: 1.06rem; }
.editions-pick__host { font-size: 0.85rem; color: var(--ink-3); }
.editions-pick__brief { font-size: 0.95rem; color: var(--ink-2); }

.field__input--pick { font-size: 1.1rem; padding: 15px; }
.brief { background: var(--sand); border-radius: var(--r-lg); padding: 20px 24px; margin: -6px 0 26px; }
.brief.is-in { animation: brief-in 0.4s var(--e-display) both; }
@keyframes brief-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.brief__host { margin: 0 0 6px; color: var(--ink-3); font-size: 0.88rem; }
.brief__text { margin: 0; color: var(--ink-2); }
.new__form { margin-bottom: 34px; }

/* --- the satirical edition ---------------------------------------------------------- */

/* The loudest thing on the desk, and meant to be (owner, 29.09.2026): a real press release
   was filed to the satirical edition, because its brief read as one more description.
   Here the printer's red is a field, not an accent, and the seal is the one the edition
   stamps on its own pages, so the writer meets it twice. */
.satire {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "seal title" "seal body";
  column-gap: 28px;
  row-gap: 8px;
  margin: -6px 0 26px;
  padding: 26px 32px 28px 28px;
  border-radius: var(--r-lg);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 4px rgba(169, 42, 26, 0.16), 0 24px 44px -22px rgba(169, 42, 26, 0.6);
}
.satire--bar { margin: 0 0 24px; }
.satire ::selection { background: var(--accent-ink); color: var(--accent-deep); }
.satire__seal {
  grid-area: seal;
  align-self: center;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  box-shadow: inset 0 0 0 6px var(--accent), inset 0 0 0 7.5px currentColor;
  font: 600 0.78rem/1 var(--caps); letter-spacing: 0.04em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-9deg);
}
.satire__seal span { padding-left: 0.14em; }
.satire__title { grid-area: title; align-self: end; margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.satire__body { grid-area: body; align-self: start; }
.satire__body p { margin: 0; max-width: 66ch; overflow-wrap: break-word; }
.satire__body .satire__action { margin-top: 10px; font-weight: 600; }

.satire.is-in { animation: satire-in 0.45s var(--e-display) both; }
.satire.is-in .satire__seal { animation: seal-hit 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.16s both; }
@keyframes satire-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes seal-hit {
  from { opacity: 0; transform: rotate(-2deg) scale(1.6); }
  to { opacity: 1; transform: rotate(-9deg) scale(1); }
}

.satire-note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0 2px; font-size: 0.92rem; font-weight: 600; color: var(--accent-deep); }
.satire-note.is-in { animation: satire-in 0.35s var(--e-display) both; }
.tag--satire { background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 620px) {
  .satire { grid-template-areas: "seal title" "body body"; column-gap: 16px; row-gap: 14px; padding: 20px 20px 22px; }
  .satire__seal { width: 78px; height: 78px; border-width: 2px; box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 5px currentColor; font-size: 0.6rem; letter-spacing: 0.05em; }
  .satire__seal span { padding-left: 0.1em; }
  .satire__title { align-self: center; font-size: 1.4rem; }
}

.rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rules__list li { color: var(--ink-2); }
.rules__list--tight { grid-template-columns: 1fr; gap: 12px; font-size: 0.93rem; }

/* --- editor ------------------------------------------------------------------------ */

.editor { padding-top: 30px; }
.editor__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.editor__crumbs, .editor__status { margin: 0; display: flex; gap: 11px; align-items: center; color: var(--ink-3); font-size: 0.92rem; }
.editor__saved { color: var(--good); }
.editor__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }

.toolbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.toolbar button {
  padding: 8px 13px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card);
  font: inherit; font-size: 0.94rem; cursor: pointer; color: var(--ink-2);
  transition: background 0.15s var(--e-ui), color 0.15s var(--e-ui), border-color 0.15s var(--e-ui);
}
.toolbar button:hover { background: #fff; color: var(--ink); border-color: var(--sand-deep); }
.toolbar button { display: inline-flex; align-items: center; gap: 7px; }
.toolbar svg { display: block; }

.composer {
  min-height: 460px; padding: 26px 30px; border: 1px solid var(--rule); border-radius: var(--r-lg);
  background: var(--card); font-size: 1.1rem; line-height: 1.75; max-width: 72ch;
}
.composer:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer:empty::before { content: attr(data-placeholder); color: var(--ink-3); }
.composer h2 { font-family: var(--display); font-size: 1.35rem; margin: 1.5em 0 0.45em; }
.composer h3 { font-family: var(--display); font-size: 1.12rem; margin: 1.4em 0 0.4em; }
.ed-photo { position: relative; margin: 1.7em 0; padding: 0; }
.ed-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.ed-photo figcaption { margin-top: 9px; font-size: 0.9rem; color: var(--ink-2); }
.ed-photo__drop {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(22, 18, 14, 0.74); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}

/* Пост соцсети: в редакторе это плашка площадки, а не сам пост. Чужой эмбед внутри
   contenteditable воровал бы фокус и ломал каретку, а читателю блок собирает движок. */
.ed-social {
  position: relative; margin: 1.7em 0; padding: 14px 44px 14px 16px; border: 1px dashed var(--line);
  border-radius: var(--r-md); background: var(--sand);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
}
.ed-social__badge {
  display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em;
}
.ed-social__id { font-size: 0.82rem; color: var(--ink-3); word-break: break-all; }
.ed-social figcaption { flex: 1 0 100%; font-size: 0.9rem; color: var(--ink-2); min-height: 1.3em; }
.ed-social .ed-photo__drop { top: 8px; right: 8px; width: 26px; height: 26px; font-size: 15px; }

.side-block { padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 1px 2px rgba(22, 18, 14, 0.05); margin-bottom: 18px; }
.side-block--rules { background: var(--sand); box-shadow: none; }
.side-block__title { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; font-family: var(--caps); font-synthesis: none; }
.side-block .field { margin-top: 16px; }
.side-block--actions { display: grid; gap: 12px; }
.side-block__brief { margin: 10px 0 4px; font-size: 0.9rem; color: var(--ink-2); }
.cover { border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px; background: var(--sand); }
.cover img { display: block; width: 100%; height: auto; }
.cover__empty { padding: 26px 16px; color: var(--ink-3); font-size: 0.9rem; text-align: center; }

.photo-dialog { border: 0; border-radius: var(--r-lg); padding: 28px; width: min(92vw, 430px); box-shadow: var(--shadow-lift); background: var(--card); color: var(--ink); }
.photo-dialog::backdrop { background: rgba(22, 18, 14, 0.55); }

/* --- narrow ---------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .editor__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .profile__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .rules__list { grid-template-columns: 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .columns__row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .desk__head { flex-direction: column; align-items: flex-start; }
  .composer { min-height: 340px; padding: 18px 18px; }
  .avatar { width: 140px; height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* --- справка: содержание номера и страница статьи -------------------------------- */

/* Раздел живёт в том же доме: бумага, чернила, одна красная. Отличается ролью —
   это оглавление печатного номера, а не «база знаний»: крупный фолиант справа,
   номера статей на полях, время чтения у края. */

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.helphero { padding: 54px 0 26px; }
.helphero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: end; }
.helphero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.024em;
  max-width: 15ch;
}
.helphero__lead { margin: 20px 0 0; max-width: 54ch; font-size: 1.1rem; color: var(--ink-2); }
.helphero__meta { display: flex; gap: 26px; margin: 26px 0 0; color: var(--ink-3); font-size: 0.95rem; }
.tally b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); margin-right: 6px; }

/* Миниатюра печатной полосы: бумага с тенью, красная линейка рубрики, две колонки
   набора и номер, срезанный углом. Набор нарисован повторяющимся градиентом — это
   честные строки, а не серый прямоугольник. */
.sheet {
  position: relative;
  overflow: hidden;
  min-height: 232px;
  padding: 20px 18px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.2deg);
}
.sheet__rule { display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--accent); }
.sheet__head { display: block; height: 9px; margin: 14px 0 4px; border-radius: 2px; background: var(--ink); opacity: 0.82; }
.sheet__head::after { content: ""; display: block; width: 62%; height: 9px; margin-top: 7px; border-radius: 2px; background: var(--ink); opacity: 0.82; }
.sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.sheet__col {
  height: 112px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ink-3) 0 2px,
    transparent 2px 9px
  );
  opacity: 0.34;
}
.sheet__col:last-child { mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.sheet__folio {
  position: absolute;
  right: -10px;
  bottom: -34px;
  font-family: var(--display);
  font-size: 7.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}

.contents { padding-bottom: 20px; }
.contents__block + .contents__block { margin-top: 54px; }
.contents__name {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 1.32rem;
}
.contents__name span { color: var(--accent); font-size: 0.95rem; }
.contents__list { list-style: none; margin: 0; padding: 0; }
.contents__row + .contents__row { border-top: 1px solid var(--rule); }
.contents__link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: baseline;
  padding: 16px 14px 16px 0;
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background 0.28s var(--e-ui), transform 0.28s var(--e-ui);
}
.contents__link:hover { background: var(--card); transform: translateX(6px); text-decoration: none; }
.contents__num { font-family: var(--display); color: var(--ink-3); text-align: right; }
.contents__link:hover .contents__num { color: var(--accent); }
.contents__body { display: block; min-width: 0; }
.contents__head { display: block; font-family: var(--display); font-size: 1.12rem; }
.contents__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.contents__time { color: var(--ink-3); font-size: 0.88rem; white-space: nowrap; }

.helpcta { padding: 40px 0 70px; }
.helpcta__inner {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: var(--r-lg);
  background: var(--accent);
  color: var(--accent-ink);
}
.helpcta__text { margin: 0; max-width: 60ch; font-size: 1.06rem; }
.helpcta .button { background: var(--accent-ink); color: var(--accent-deep); box-shadow: none; }
.helpcta .button:hover { background: #fff; }

/* --- страница статьи ------------------------------------------------------------- */

.helppage__top { padding: 40px 0 8px; position: relative; }
.crumbs { display: flex; gap: 10px; color: var(--ink-3); font-size: 0.9rem; margin-bottom: 26px; }
.crumbs a { color: var(--ink-3); }
.helppage__folio { margin: 0; font-family: var(--display); font-size: 0.95rem; color: var(--accent); }
.helppage__title {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.helppage__lead { margin: 18px 0 0; max-width: 62ch; font-size: 1.12rem; color: var(--ink-2); }
.helppage__meta { display: flex; gap: 10px; margin: 18px 0 0; color: var(--ink-3); font-size: 0.9rem; }

.helppage__grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 54px; align-items: start; }
.toc { position: sticky; top: 26px; padding-top: 48px; }
.toc__title { margin: 0 0 10px; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc__list a {
  display: block;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.35;
  padding-left: 12px;
  border-left: 2px solid var(--rule);
  transition: border-color 0.24s var(--e-ui), color 0.24s var(--e-ui);
}
.toc__list a:hover { color: var(--ink); border-left-color: var(--accent); text-decoration: none; }

.prose h3 { margin-top: 1.5em; font-size: 1.1rem; }
.prose p { margin: 0 0 1.05em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose__table { overflow-x: auto; margin: 0 0 1.4em; }
.prose__table table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.prose__table th, .prose__table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose__table th { font-family: var(--display); font-weight: 600; background: var(--sand); }
.prose__table tr:last-child td { border-bottom: none; }
.prose__faq-title { margin-top: 2em; }

.faq { margin: 0 0 2em; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 34px 14px 0;
  position: relative;
  font-family: var(--display);
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.3s var(--e-display);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding-bottom: 14px; color: var(--ink-2); }
.faq__answer p { margin: 0; }

.helppage__cta {
  margin: 2.4em 0;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: var(--sand);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.helppage__cta p { margin: 0; max-width: 44ch; }

.also { margin: 2.4em 0 1.4em; }
.also__title { margin: 0 0 12px; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.also__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.also__list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.26s var(--e-ui), transform 0.26s var(--e-ui);
}
.also__list a:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.also__list span { color: var(--ink-3); font-size: 0.88rem; white-space: nowrap; }
.helppage__back { margin: 2em 0 70px; }

/* Появление: блоки оглавления и концовка выезжают снизу один раз. Свойство для
   появления — translate, для наведения — transform, иначе одно съедает другое. */
[data-reveal] { opacity: 0; translate: 0 18px; transition: opacity 0.6s var(--e-display), translate 0.6s var(--e-display); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (max-width: 900px) {
  .helphero__inner { grid-template-columns: 1fr; gap: 26px; }
  .sheet { min-height: 168px; transform: none; }
  .sheet__col { height: 74px; }
  .sheet__folio { font-size: 5.4rem; bottom: -20px; }
  .helppage__grid { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; padding-top: 34px; }
  .prose { padding-top: 26px; }
  .contents__link { grid-template-columns: 34px minmax(0, 1fr); padding: 14px 0; }
  .contents__time { grid-column: 2; color: var(--ink-3); }
}

/* Просмотры напротив вышедшей колонки: глаз и число, тем же тоном, что и остальная
   служебная строка. Счёт общий с полосой — все обращения, включая повторные. */
.columns__views { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.columns__views svg { display: block; opacity: .75; }

/* --- поддержка: обращения человека и наши ответы --------------------------------- */

/* Раздел кабинета, а не мессенджер: переписка читается сверху вниз как письмо, наш
   ответ отличается бумагой и красной полосой слева, а не цветным пузырём справа.
   Пузыри обещали бы скорость чата, которой у службы нет: мы отвечаем в течение суток,
   и страница не должна врать об этом формой. Данные приходят сервер-к-серверу, скрипта
   на странице нет вовсе. */

.wrap.desk--narrow { max-width: 760px; }
.support-back { margin: 0 0 14px; }

.tag--answered { background: var(--good-soft); color: #14512f; }
.tag--closed { background: var(--sand); color: var(--ink-3); }
.tag--new { background: var(--accent-soft); color: var(--accent-deep); }

.thread { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 14px; }
.thread__msg {
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--rule);
}
.thread__msg--desk { background: var(--sand); border-color: transparent; border-left: 3px solid var(--accent); }
.thread__who { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 0 0 8px; color: var(--ink-3); font-size: 0.88rem; }
.thread__who span { font-weight: 600; color: var(--ink-2); }
.thread__body p { margin: 0 0 10px; }
.thread__body p:last-child { margin-bottom: 0; }

.support-form { margin-top: 28px; }
.support-form .field:last-of-type { margin-bottom: 18px; }
.support-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .thread__msg { padding: 15px 16px; }
  .support-form { padding: 20px 18px; }
}


/* --- statistics (23.09.2026) ------------------------------------------------------ */
/* Тот же дом: бумага, чернила, одна красная. На странице два объекта: карточка с итогом
   и тридцатью днями по суткам, и таблица публикаций. Акцента здесь нет намеренно:
   единственное красное на экране — кнопка «Написать колонку» в шапке. */

.stats__lead { margin: 6px 0 0; color: var(--ink-2); max-width: 60ch; }
.stats .desk__head { align-items: flex-start; }

.chart { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px 26px 18px; margin: 0 0 44px; animation: chart-in 0.6s var(--e-display) both; }
.chart__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.chart__title { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 6px; font-weight: 600; }
.total { margin: 0; display: grid; gap: 4px; }
.total__value { font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.total__label { font-family: var(--caps); font-synthesis: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
@keyframes chart-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Всегда тридцать частей, по суткам: и на второй день, и через год. */
.bars { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 30), minmax(0, 1fr)); gap: 4px; height: 230px; }
.bars .bar { position: relative; display: block; min-width: 0; height: 100%; padding: 18px 0 20px; }
.bar__well { position: relative; display: block; height: 100%; border-bottom: 1px solid var(--rule); }
.bar__stick {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); min-height: 3px;
  background: var(--sand-deep); border-radius: 3px 3px 0 0; transform-origin: bottom;
  animation: bar-rise 0.7s var(--e-display) both; animation-delay: calc(var(--i) * 12ms);
  transition: background-color 0.16s var(--e-ui);
}
.bar:hover .bar__stick { background: var(--ink); }
.bar__value { position: absolute; left: 50%; bottom: calc(var(--h) + 5px); transform: translateX(-50%); font-size: 0.72rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.16s var(--e-ui); white-space: nowrap; pointer-events: none; z-index: 1; }
.bar:hover .bar__value { opacity: 1; }
/* Дни до начала счёта: пустая часть с пунктирной чертой, без столбика и без числа. */
.bar--unknown .bar__stick, .bar--unknown .bar__value { display: none; }
.bar--unknown .bar__well { border-bottom-style: dotted; }
.bar__day { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.2; }
/* Крайние подписи прижаты внутрь, иначе первая и последняя вылезают за край карточки. */
.bar:first-child .bar__day { left: 0; transform: none; }
.bar:last-child .bar__day { left: auto; right: 0; transform: none; }
.bar__day em { font-style: normal; color: var(--ink-2); }
@keyframes bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart__note { margin: 14px 0 0; font-size: 0.88rem; color: var(--ink-3); }

.stats__hint { margin: -6px 0 14px; }
.grid { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(22, 18, 14, 0.05); overflow: hidden; }
.grid th, .grid td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid__th { font-family: var(--caps); font-synthesis: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); background: var(--sand); white-space: nowrap; }
.grid__th a { color: inherit; display: inline-flex; gap: 5px; align-items: center; }
.grid__th a:hover { color: var(--ink); text-decoration: none; }
.grid__th--active a { color: var(--ink); }
.grid__th--num, .grid__num { text-align: right; font-variant-numeric: tabular-nums; }
.grid__th--num a { justify-content: flex-end; width: 100%; }
.grid__num { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.grid__title { min-width: 240px; }
.grid__title a { font-family: var(--display); font-size: 1.06rem; line-height: 1.25; color: var(--ink); }
.grid__title a:hover { color: var(--accent-deep); text-decoration: none; }
.grid__edition, .grid__date { color: var(--ink-2); white-space: nowrap; }

/* На средних ширинах тридцать подписей не помещаются: чётные дни молчат, кроме последнего и первых чисел месяца. */
@media (min-width: 761px) and (max-width: 1120px) {
  .bar:nth-child(even):not(:last-child) .bar__day { visibility: hidden; }
  .bar:has(.bar__day em) .bar__day { visibility: visible; }
  .bar:nth-child(2) .bar__day { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .chart, .bar__stick { animation: none; }
}

@media (max-width: 760px) {
  .stats .desk__head { flex-direction: column; align-items: stretch; gap: 14px; }
  .chart { padding: 18px 16px 14px; }
  .chart__head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .total__value { font-size: 2.6rem; }
  .bars { height: 170px; gap: 2px; }
  .bars .bar { padding: 6px 0 18px; }
  .bar__value { display: none; }
  .bar__day { visibility: hidden; }
  .bar:nth-child(5n + 1) .bar__day, .bar:last-child .bar__day { visibility: visible; }
  .grid, .grid tbody, .grid tr, .grid td { display: block; }
  .grid thead { display: none; }
  .grid tr { padding: 14px 16px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end; }
  .grid tbody tr:last-child { border-bottom: 0; }
  .grid td { padding: 0; border: 0; }
  .grid__title { grid-column: 1 / -1; min-width: 0; }
  .grid__edition, .grid__date { white-space: normal; font-size: 0.86rem; color: var(--ink-3); }
  .grid__edition { grid-column: 1; }
  .grid__date { grid-column: 1; }
  .grid__num { grid-column: 2; grid-row: 2 / 4; text-align: right; font-size: 1.5rem; }
  .grid__num::before { content: attr(data-label); display: block; font-family: var(--caps); font-synthesis: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
}


/* --- publication rules (30.09.2026) ------------------------------------------------ */
/* Одна страница правил. Номер правила стоит на полях дисплейным шрифтом, тихим тоном:
   акцент страницы — сам текст. Имена классов с префиксом rulebook__: пространство имён
   у CSS одно, и короткое .bar уже однажды сломало шапку. */

.rulebook { max-width: 74ch; }
.rulebook__list { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: rulebook; display: grid; gap: 26px; }
.rulebook__rule {
  counter-increment: rulebook; position: relative; padding: 0 0 0 72px;
  animation: rulebook-in 0.6s var(--e-display) both;
}
.rulebook__rule::before {
  content: counter(rulebook); position: absolute; left: 0; top: -0.12em; width: 52px; text-align: right;
  font-family: var(--display); font-weight: 600; font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em;
  color: var(--sand-deep); font-variant-numeric: tabular-nums;
}
.rulebook__rule h2 { margin: 0 0 8px; font-size: 1.32rem; line-height: 1.2; }
.rulebook__rule p { margin: 0; color: var(--ink-2); }
.rulebook__rule:nth-child(2) { animation-delay: 40ms; } .rulebook__rule:nth-child(3) { animation-delay: 80ms; }
.rulebook__rule:nth-child(4) { animation-delay: 120ms; } .rulebook__rule:nth-child(5) { animation-delay: 160ms; }
.rulebook__rule:nth-child(n + 6) { animation-delay: 200ms; }
@keyframes rulebook-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
/* .prose p сильнее одиночного класса, поэтому отступ задан с родителем. */
.rulebook .rulebook__also { margin: 38px 0 1em; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 0.94rem; }
.house__more { margin: 26px 0 0; }

/* Замок редакции: колонку правила редакция, автору она больше не открывается. */
.lockmark { display: inline-flex; align-items: center; margin-right: 8px; color: var(--ink-2); vertical-align: -2px; }
.lockmark svg { display: block; width: 15px; height: 15px; }
.lockmark--big { margin-right: 12px; vertical-align: -2px; color: var(--ink); }
.lockmark--big svg { width: 0.72em; height: 0.72em; }
span.columns__title { cursor: default; }
.tag--locked { background: var(--ink); color: var(--paper); }
a.tag--locked:hover { text-decoration: none; background: var(--ink-2); }
.locked__actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 18px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .rulebook__rule { animation: none; }
}

@media (max-width: 760px) {
  .rulebook__list { gap: 22px; margin-top: 26px; }
  .rulebook__rule { padding-left: 46px; }
  .rulebook__rule::before { width: 34px; font-size: 1.7rem; top: -0.05em; }
  .rulebook__rule h2 { font-size: 1.18rem; }
}

/* Действия колонки на узком экране: переносится ряд, а не слова внутри ссылки (30.09.2026). */
.columns__actions { flex-wrap: wrap; row-gap: 6px; max-width: 100%; }
.columns__actions .linklike { white-space: nowrap; }

/* ============================================================================
   ИНТЕРФЕЙС — ГАЗЕТНАЯ ПОЛОСА (направление А, 27.10.2026)
   Весь сайт — рабочий инструмент: тихий лист, шапка-масткед с двойной линейкой,
   заголовки узкой антиквой, подписи капсом с разрядкой. Ничего не движется без дела.
   ============================================================================ */

:focus-visible { border-radius: 2px; }
a { color: var(--accent-deep); }

h1, h2, h3 { font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; letter-spacing: -0.01em; line-height: 1.02; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 750; }

.button { padding: 15px 26px 14px; box-shadow: none; background: var(--accent); color: var(--ink); }
.button:hover { background: var(--ink); color: var(--paper); transform: none; }
.button--small { padding: 10px 16px; font-size: 0.9rem; }
.button--quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button--quiet:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button--bad { background: var(--bad); color: #fff; }

.field__label { font-family: var(--caps); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.field__input { border-radius: var(--r-sm); border-color: var(--sand-deep); background: var(--card); font-size: 1.02rem; }
.field__input:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.field__input--title { font-family: var(--display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 700; }

.panel, .profile__form, .columns__row { border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(17, 29, 48, 0.04); }
.columns__row:hover { box-shadow: var(--shadow); transform: none; border-color: var(--sand-deep); }
.columns__title { font-stretch: 85%; font-variation-settings: "wdth" 85; font-weight: 700; }
.tag { border-radius: 2px; font-family: var(--caps); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.78rem; padding: 4px 9px 3px; }
.archive__count { border-radius: 2px; }
.desk__head { border-bottom: 1px solid var(--ink); padding-bottom: 16px; }
.alert { border-radius: var(--r-sm); }

.footer { background: var(--night); color: #C9CFD9; border-top: 0; padding: 40px 0 44px; font-size: 0.92rem; }
.footer a { color: var(--paper); }
.footer__meta { color: #8F98A8; font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }


/* ============================================================================
   ВИТРИНА — ПЛАКАТ (направление Б). Здесь, и только здесь, страница расходится:
   красное поле во весь экран, узкая антиква, коллаж ч/б вырезок в один растр,
   шахматка как переход между средами, звезда — единственное событие.
   ============================================================================ */

.page--home .main { padding-bottom: 0; }
.caps { font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Единая обработка любого кадра: серый, контраст, растр поверх (семейство 8 журнала). */
.cut { position: absolute; margin: 0; overflow: hidden; background: #E9E3DA; }
.cut img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.28) brightness(1.04); }
.cut::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.5;
  background: radial-gradient(circle at 50% 50%, rgba(17, 29, 48, 0.55) 0 26%, transparent 30%) 0 0 / 3px 3px;
}
.cut--torn { clip-path: polygon(0 3%, 9% 0, 22% 2.5%, 37% 0.4%, 51% 3%, 66% 0.8%, 80% 2.6%, 93% 0, 100% 2%, 100% 97%, 91% 100%, 77% 97.6%, 62% 99.5%, 47% 97%, 33% 99.6%, 18% 97.4%, 6% 100%, 0 97.8%); }

.star { display: block; color: var(--ink); }
.star path { fill: currentColor; }

/* --- первый экран ------------------------------------------------------------ */

.poster {
  position: relative; overflow: hidden; background: var(--accent); color: var(--ink);
  min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 64px 0 128px;
}
/* Зерна на плакате нет (27.10.2026): multiply темнил поле, и шахматка на стыке выходила
   другого красного. Красный везде один — var(--accent). */
.poster__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; align-items: center; }
.poster__kicker { margin: 0 0 22px; }
.poster__kicker span {
  display: inline-block; background: var(--mustard); color: var(--ink); padding: 9px 14px 8px;
  font-family: var(--caps); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; transform: rotate(-1.2deg);
}
.poster__title {
  font-family: var(--display); font-weight: 900; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5;
  font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: 0.84; letter-spacing: 0; text-transform: uppercase; margin: 0 0 30px; max-width: none;
}
.poster__title .line { display: block; clip-path: inset(-0.2em -100vw 0 -100vw); padding-bottom: 0.04em; }
.poster__title .line__in { display: inline-block; }
.poster__title .line--paper { color: var(--card); font-size: 0.6em; line-height: 0.92; margin-top: 0.1em; }

.poster__clip {
  position: relative; background: var(--card); color: var(--ink); max-width: 33rem; padding: 18px 22px 20px; margin: 0 0 28px;
  font-size: 1.06rem; line-height: 1.55; box-shadow: 0 18px 30px -18px rgba(17, 29, 48, 0.55); rotate: 0.6deg;
}
.poster__clip p { margin: 0; }
.poster__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0 0 30px; }
.poster .button { background: var(--ink); color: var(--paper); }
.poster .button:hover { background: var(--card); color: var(--ink); }
.poster__signin { font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.poster__signin:hover { text-decoration: none; color: var(--card); border-color: var(--card); }

.poster__figures { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--ink); display: flex; gap: 26px; }
.poster__figures li { display: grid; }
.poster__figures strong { font-family: var(--display); font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-weight: 800; font-size: 2.3rem; line-height: 1; }
.poster__figures span { font-family: var(--caps); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Коллаж: кадры лежат слоями, на прокрутке расходятся с разной скоростью. */
.collage { position: relative; height: min(640px, 74vh); min-height: 520px; }
.collage > * { will-change: transform; }
.collage .block { position: absolute; }
.block--mustard { background: var(--mustard); left: -4%; top: 58%; width: 50%; height: 40%; rotate: -3deg; }
.block--mint { background: var(--mint); right: -10%; top: 30%; width: 44%; height: 50%; }
.cut--city { right: -16%; top: -2%; width: 66%; height: 40%; rotate: 2deg; }
.cut--camera { right: -2%; top: auto; bottom: 0; width: 26%; height: 50%; rotate: 2.4deg; box-shadow: 0 18px 30px -18px rgba(17, 29, 48, 0.6); }
.cut--machine { left: -8%; bottom: -4%; width: 58%; height: 46%; background: transparent; }
.cut--machine { mix-blend-mode: multiply; }
.cut--machine img { object-fit: contain; filter: grayscale(1) contrast(1.4); }
.cut--machine::after { display: none; }
.star--big { position: absolute; width: 140px; height: 140px; left: 18%; top: -6%; color: var(--card); }

/* Газетный лист: продукт одним предметом. Шапка над колонкой меняется — тот же автор,
   другое издание; подпись — имя, которое человек сам впечатал. */
.sheet {
  position: absolute; left: 10%; top: 16%; width: min(390px, 72%); background: var(--card); color: var(--ink);
  padding: 20px 24px 22px; rotate: -2.2deg; box-shadow: 0 30px 50px -24px rgba(17, 29, 48, 0.65);
}
.sheet__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.sheet__mast {
  display: block; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 1.85rem; line-height: 1;
  padding: 8px 0 9px; margin: 6px 0 12px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet__swap { display: inline-block; will-change: transform, opacity; }
.sheet__swap.is-out { opacity: 0; transform: translateY(-8px); transition: opacity 0.22s var(--e-ui), transform 0.22s var(--e-ui); }
.sheet__swap.is-in { animation: swap-in 0.5s var(--e-display) both; }
@keyframes swap-in { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.sheet__label { margin: 0 0 6px; color: var(--accent-deep); }
.sheet__headline { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.5rem; line-height: 1.08; margin: 0 0 10px; }
.sheet__body { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 14px; }
.sheet__byline { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--rule); padding-top: 12px; margin: 0; }
.sheet__byline .star { width: 22px; height: 22px; flex: none; color: var(--sand-deep); transition: color 0.3s var(--e-ui), rotate 0.5s var(--e-display), scale 0.5s var(--e-display); }
.sheet__byline.is-lit .star { color: var(--accent); rotate: 90deg; scale: 1.15; }
.sheet__who { display: grid; flex: 1; min-width: 0; }
.sheet__try { font-size: 0.6rem; color: var(--accent-deep); letter-spacing: 0.05em; }
.sheet__name {
  width: 100%; border: 0; border-bottom: 1px dashed var(--sand-deep); background: transparent; color: var(--ink); padding: 2px 0 3px; border-radius: 0;
  font-family: var(--display); font-weight: 700; font-stretch: 85%; font-variation-settings: "wdth" 85; font-size: 1.2rem; line-height: 1.15;
}
.sheet__name::placeholder { color: var(--ink); opacity: 1; }
.sheet__name:focus { outline: none; border-bottom: 1px solid var(--accent); }
.sheet__name:focus::placeholder { color: var(--ink-3); }
.sheet__role { display: block; color: var(--ink-3); }


/* --- шахматка: переход между средами -----------------------------------------
   Полоса клеток цвета прошлого раздела. На прокрутке клетки осыпаются по зерну и
   по рядам (нижний уходит раньше), и сплошная кромка становится шахматкой досок. */
.checker {
  position: absolute; left: 0; right: 0; height: calc(var(--cell) * 2); display: grid;
  grid-template-columns: repeat(var(--cols, 24), 1fr); grid-auto-rows: var(--cell); --cell: 44px; pointer-events: none; z-index: 2;
}
.checker--top { top: -1px; }
.checker i { display: block; background: var(--from); margin: 0 -1px -1px 0; transition: opacity 0.28s var(--e-body), transform 0.4s var(--e-display); }
.checker i.is-gone { opacity: 0; transform: scale(0.6); }

/* --- № 01: языки — указатель ------------------------------------------------- */

.sect { position: relative; padding: 128px 0 110px; }
.sect-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 30px; margin-bottom: 44px; align-items: start; }
.sect-head__no { font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-size: 3.4rem; line-height: 0.9; color: var(--accent-deep); }
.sect-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-stretch: 70%; font-variation-settings: "wdth" 70; font-weight: 800; margin: 0 0 12px; max-width: 20ch; }
.sect-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }

.index { background: var(--paper); }
.index__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.index__row {
  break-inside: avoid; display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; align-items: baseline; gap: 12px;
  padding: 14px 0 12px; border-bottom: 1px solid var(--rule); position: relative;
}
.index__name { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.55rem; line-height: 1.1; }
.index__lead { border-bottom: 2px dotted var(--sand-deep); translate: 0 -6px; }
.index__count { font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-size: 2rem; line-height: 1; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.index__bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--share); background: var(--accent); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.1s var(--e-display) var(--d, 0s); }
.js .index:not(.is-in) .index__bar { --grow: 0; }

/* --- № 02: страны и города — мята -------------------------------------------- */

.cities { background: var(--mint); }
.cities .sect-head p { color: var(--ink-2); }
.cities__strip { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0 0 56px; }
.city { position: relative; margin: 0; }
.city .cut { position: relative; aspect-ratio: 3 / 4; }
.city:nth-child(odd) { rotate: -1.6deg; translate: 0 10px; }
.city:nth-child(even) { rotate: 1.2deg; }
.city figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.city figcaption b { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.15rem; }

.boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.box {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 150px; padding: 14px 16px 12px;
  background: var(--card); box-shadow: 0 1px 0 rgba(17, 29, 48, 0.08), 0 14px 22px -16px rgba(17, 29, 48, 0.45);
  transition: translate 0.35s var(--e-display), rotate 0.35s var(--e-display), box-shadow 0.35s var(--e-display);
}
.box:nth-child(4n+2) { background: var(--accent); }
.box:nth-child(4n+4) { background: var(--night); color: var(--paper); }
.box:hover { translate: 0 -4px; rotate: -1deg; box-shadow: 0 1px 0 rgba(17, 29, 48, 0.08), 0 26px 30px -18px rgba(17, 29, 48, 0.55); }
.box__code { font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-size: 2.9rem; line-height: 0.9; }
.box__name { align-self: end; font-weight: 600; line-height: 1.2; }
.box__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid currentColor; padding-top: 8px; margin-top: 8px; }
.box .star { width: 16px; height: 16px; color: currentColor; }

/* --- № 03: правила — ночь ---------------------------------------------------- */

.house-night { background: var(--night); color: var(--paper); }
.house-night .sect-head__no { color: var(--accent); }
.house-night .sect-head p { color: #B9C1CE; }
.house-night .sect-head h2 { color: var(--card); }
.house-night__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.rules4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; counter-reset: r; }
.rules4 li { counter-increment: r; border-top: 2px solid var(--paper); padding-top: 14px; }
.rules4 li::before { content: "№ " counter(r); display: block; font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 8px; }
.rules4 h3 { font-size: 1.5rem; font-stretch: 80%; font-variation-settings: "wdth" 80; color: var(--card); margin: 0 0 8px; }
.rules4 p { margin: 0; color: #C9CFD9; font-size: 1rem; }
.house-night__more { margin: 40px 0 0; }
.house-night__more a { color: var(--paper); font-family: var(--caps); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.house-night__more a:hover { text-decoration: none; color: var(--mustard); }
.typists { position: relative; height: 460px; }
.typists .block { position: absolute; inset: 8% -8% 0 10%; background: var(--accent); rotate: 2deg; }
.typists .cut { left: 0; top: 0; width: 90%; height: 88%; rotate: -2deg; }
.typists .caps { position: absolute; right: -4%; bottom: 3%; background: var(--mustard); color: var(--ink); padding: 8px 12px 7px; margin: 0; }

/* --- финал: снова плакат ----------------------------------------------------- */

.voice { position: relative; background: var(--accent); overflow: hidden; padding: 150px 0 120px; }
.voice__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.voice__title { text-transform: uppercase; font-family: var(--display); font-weight: 900; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-size: clamp(3.6rem, 10vw, 9.6rem); line-height: 0.86; margin: 0 0 22px; color: var(--ink); }
.voice__body { max-width: 44ch; margin: 0; font-size: 1.12rem; }
.voice .button { background: var(--ink); color: var(--paper); padding: 18px 30px 17px; }
.voice .button:hover { background: var(--card); color: var(--ink); }
.voice .star--big { left: auto; right: 6%; top: 16%; width: 120px; height: 120px; color: var(--card); }

/* --- хореография появления --------------------------------------------------- */

/* Интро на CSS-анимациях от класса в <head>: стартует с первого кадра, не ждёт скрипта
   и идёт в фоновой вкладке. Каскад задаёт --d у каждого элемента. */
.js .poster .rise { animation: c-rise 0.9s var(--e-display) var(--d, 0s) both; }
.js .poster .line__in { animation: c-line 1s var(--e-display) var(--d, 0s) both; }
.js .poster .drop { animation: c-drop 1s var(--e-display) var(--d, 0s) both; }
.js .poster .star--big { animation: c-star 1.2s var(--e-display) var(--d, 0s) both; }
@keyframes c-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: none; } }
@keyframes c-line { from { translate: 0 105%; } to { translate: none; } }
@keyframes c-drop { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: none; } }
@keyframes c-star { from { opacity: 0; scale: 0.3; rotate: -90deg; } to { opacity: 1; scale: none; rotate: none; } }
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s var(--e-body) var(--d, 0s), translate 0.9s var(--e-display) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; translate: none; }

/* --- узкие ------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .poster__grid { grid-template-columns: minmax(0, 1fr); }
  .collage { height: 520px; min-height: 0; max-width: 560px; }
  .house-night__grid { grid-template-columns: 1fr; }
  .typists { height: 380px; max-width: 460px; }
  .cities__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index__list { columns: 1; }
}
@media (max-width: 760px) {
  .poster { padding: 40px 0 96px; min-height: 0; }
  .poster__title { font-size: clamp(2.4rem, 12.6vw, 4.6rem); }
  .poster__kicker span { font-size: 0.64rem; letter-spacing: 0.05em; padding: 7px 10px 6px; }
  .poster__figures { gap: 18px; }
  .poster__figures strong { font-size: 1.9rem; }
  .collage { height: 430px; }
  .cut--city { right: -18%; width: 78%; height: 34%; }
  .cut--camera { width: 34%; height: 44%; top: 36%; right: 0; }
  .block--mint { width: 46%; height: 40%; }
  .sheet { left: 0; width: 82%; padding: 16px 18px 18px; }
  .sheet__mast { font-size: 1.5rem; }
  .sheet__headline { font-size: 1.25rem; }
  .sheet__body { display: none; }
  .star--big { width: 96px; height: 96px; left: 60%; }
  .checker { --cell: 26px; }
  .sect { padding: 84px 0 76px; }
  .sect-head { grid-template-columns: 1fr; gap: 4px; }
  .sect-head__no { font-size: 2.4rem; }
  .cities__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .city:nth-child(n+5) { display: none; }
  .rules4 { grid-template-columns: 1fr; gap: 26px; }
  .typists { height: 320px; }
  .voice { padding: 110px 0 84px; }
  .voice__grid { grid-template-columns: 1fr; }
  .voice .star--big { width: 70px; height: 70px; top: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .poster .rise, .js .poster .drop, .js .poster .star--big, .js .poster .line__in { animation: none; }
  .js .reveal { opacity: 1; translate: none; }
  .js .index:not(.is-in) .index__bar { --grow: 1; }
  .checker i.is-gone { opacity: 1; transform: none; }
}

/* ============================================================================
   ШАПКА (27.10.2026) — шапка приложения, а не газетный масткед.
   Липкая полоса 64 px, слева знак и разделы, справа язык, вход и одно действие.
   Узкие экраны: знак, действие, бургер → лист на весь экран.
   ============================================================================ */

.inline { display: inline; margin: 0; }

.hdr {
  /* Без backdrop-filter: он делает шапку контейнером для position: fixed, и лист меню
     привязывался к полосе 64 px, а не к экрану (27.10.2026). */
  position: sticky; top: 0; z-index: 30; background: var(--paper);
  border-bottom: 1px solid var(--rule); transition: box-shadow 0.2s var(--e-ui), border-color 0.2s var(--e-ui);
}
.hdr.is-scrolled { box-shadow: 0 8px 24px -18px rgba(17, 29, 48, 0.5); border-color: transparent; }
.hdr__bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.hdr__brand { display: block; flex: none; color: var(--ink); line-height: 0; }
.hdr__brand:hover { text-decoration: none; }
.hdr__word { width: 150px; height: auto; aspect-ratio: 3844 / 644; --star: var(--accent); }

.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__nav a, .hdr__link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 999px;
  color: var(--ink-2); font-size: 0.96rem; font-weight: 500; white-space: nowrap;
  transition: background 0.15s var(--e-ui), color 0.15s var(--e-ui);
}

.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__cta { white-space: nowrap; }

/* Поповеры на <details>. */
.pop { position: relative; }
.pop > summary { list-style: none; cursor: pointer; }
.pop > summary::-webkit-details-marker { display: none; }
.pop__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 220px; padding: 6px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgba(17, 29, 48, 0.35), 0 2px 6px rgba(17, 29, 48, 0.06);
  animation: pop-in 0.18s var(--e-display) both;
}
@keyframes pop-in { from { opacity: 0; translate: 0 -6px; scale: 0.98; } to { opacity: 1; translate: none; scale: none; } }
.pop__panel a, .pop__panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); font: 500 0.95rem/1.2 var(--text); text-align: left; cursor: pointer;
}
.pop__panel a:hover, .pop__panel button:hover { background: rgba(17, 29, 48, 0.06); text-decoration: none; }
.pop__panel [aria-current] { background: rgba(245, 69, 42, 0.1); color: var(--accent-deep); }
.pop__panel--langs { display: grid; grid-template-columns: 1fr 1fr; min-width: 300px; }
.pop__panel--langs b { display: inline-block; width: 26px; font-size: 0.74rem; color: var(--ink-3); font-weight: 700; }
.pop__who { display: grid; gap: 2px; margin: 0 0 4px; padding: 10px 12px 12px; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.pop__who span { color: var(--ink-3); font-size: 0.84rem; overflow: hidden; text-overflow: ellipsis; }
.pop__panel--menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--rule); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 10px; border-radius: 999px;
  color: var(--ink-2); font-size: 0.88rem; font-weight: 650; transition: background 0.15s var(--e-ui);
}
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.avatar-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--rule); transition: box-shadow 0.15s var(--e-ui);
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.pop[open] > .avatar-btn, .avatar-btn:hover { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--accent); }

/* Бургер: три полосы, третья короче; открываясь, становится крестом (cargokite, журнал B3¹⁵⁄₁₆quater). */
.hdr__burger { display: none; }
.burger { display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; }
.burger:hover { background: rgba(17, 29, 48, 0.07); }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transform-origin: center; transition: transform 0.35s cubic-bezier(0.7, 0.1, 0.1, 1.3), opacity 0.2s var(--e-ui), width 0.35s var(--e-display); }
.burger i:nth-child(3) { width: 64%; }
.hdr__burger[open] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[open] .burger i:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.hdr__burger[open] .burger i:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

.sheetnav {
  position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 4; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px; padding: 18px 22px 32px; background: var(--paper);
  animation: sheet-in 0.28s var(--e-display) both;
}
@keyframes sheet-in { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: none; } }
.sheetnav__links { display: grid; }
.sheetnav__links a {
  padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1;
}
.sheetnav__links a:hover { text-decoration: none; color: var(--accent-deep); }
.sheetnav .button { align-self: stretch; }
.sheetnav__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sheetnav__langs p { grid-column: 1 / -1; margin: 6px 0 2px; color: var(--ink-3); font-size: 0.88rem; font-weight: 600; }
.sheetnav__langs button {
  padding: 11px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card);
  color: var(--ink); font: 500 0.95rem/1.2 var(--text); text-align: left; cursor: pointer;
}
.sheetnav__langs button[aria-current] { border-color: var(--accent); color: var(--accent-deep); }
.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .hdr__bar { gap: 16px; }
  .hdr__nav a { padding: 0 9px; }
}
@media (max-width: 900px) {
  .hdr__nav, .hdr__lang, .hdr__link, .hdr__me { display: none; }
  .hdr__burger { display: block; }
  .hdr__tools { gap: 4px; }
}
@media (max-width: 420px) {
  .hdr__word { width: 128px; }
  .hdr__cta { padding: 9px 12px; font-size: 0.84rem; }
}
.sect, .voice, .poster { overflow-x: clip; }

/* Шапка витрины (27.10.2026, слово владельца): на первом экране без фона, в цвет плаката;
   подложка бумаги проявляется по прокрутке (--hdr-a из скрипта шапки, 0 → 1 за 120 px). */
.page--home .hdr {
  --hdr-a: 0;
  background: rgba(240, 232, 222, var(--hdr-a)); border-bottom-color: rgba(214, 203, 187, var(--hdr-a));
  margin-bottom: -64px; transition: box-shadow 0.25s var(--e-ui);
}
.page--home .hdr:not(.is-scrolled) { box-shadow: none; }
.page--home .poster { padding-top: calc(64px + 64px); min-height: 100svh; }
.page--home .hdr:not(.is-solid) .hdr__cta { background: var(--ink); color: var(--paper); }
.page--home .hdr:not(.is-solid) .hdr__cta:hover { background: var(--card); color: var(--ink); }
.page--home .hdr:not(.is-solid) .hdr__nav a,
.page--home .hdr:not(.is-solid) .hdr__link,
.page--home .hdr:not(.is-solid) .pill { color: var(--ink); }
.page--home .hdr:not(.is-solid) .hdr__word { --star: var(--card); }
.page--home .hdr .hdr__cta { transition: background 0.25s var(--e-ui), color 0.25s var(--e-ui); }
.menu-open .page--home .hdr, .page--home.menu-open .hdr { background: var(--paper); }
@media (max-width: 760px) {
  .page--home .poster { padding-top: calc(64px + 40px); }
}

/* Слово владельца 27.10.2026: на красной кнопке текст белый; в блоке № 03 весь текст белый. */
.button { color: #fff; }
.button--quiet { color: var(--ink); }
.button--quiet:hover { color: var(--paper); }
.house-night, .house-night .sect-head p, .house-night .rules4 p, .house-night .rules4 h3, .house-night .sect-head h2 { color: #fff; }

/* Абзацы тонкие (300), управление плотнее — читается как кнопка, а не как текст. */
input, select, textarea, button { font-weight: 400; }
.hdr__nav a, .hdr__link, .pop__panel a, .pop__panel button, .sheetnav__langs button { font-weight: 500; }
strong, b { font-weight: 600; }

/* Знак выше строки из-за капители колонны и звезды: середина строчных букв лежит на 69,25 %
   высоты знака, а не на 50 %. Сдвигаем знак на разницу (−19,25 % своей высоты), и меню с кнопками
   читаются на уровне строчных «olumnistar», а не над ними (слово владельца 27.10.2026; замер по
   обводке: x-высота 610–986 из 352–996 единиц viewBox). */
.hdr__word { translate: 0 -19.25%; }

/* Текст ещё тоньше (слово владельца 27.10.2026): абзацы 200, поля ввода 300. */
input, select, textarea { font-weight: 300; }

/* Стык шахматки: под первым рядом клеток — подкладка цвета прошлого раздела, на 4 px внахлёст.
   Без неё на прокрутке в субпиксельном зазоре мигала полоса фона страницы. */
.checker::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 6px; background: var(--from); }

/* Ховер меню — газетная линейка: прочерчивается под словом слева направо; у текущего раздела стоит.
   Красная на бумаге, чернильная, пока шапка витрины лежит на красном плакате. */
.hdr__nav a, .hdr__link {
  --rule-c: var(--accent);
  background: linear-gradient(var(--rule-c), var(--rule-c)) no-repeat left calc(100% - 8px) / 0 2px;
  border-radius: 0; padding: 0 2px; margin: 0 9px;
  transition: background-size 0.32s var(--e-display), color 0.2s var(--e-ui);
}
.hdr__nav a:hover, .hdr__link:hover { background-size: 100% 2px; color: var(--ink); text-decoration: none; }
.hdr__nav a[aria-current="page"], .hdr__link[aria-current="page"] { background-size: 100% 2px; color: var(--ink); font-weight: 600; }
.page--home .hdr:not(.is-solid) .hdr__nav a, .page--home .hdr:not(.is-solid) .hdr__link { --rule-c: var(--ink); }
.pill { border-radius: 0; background: linear-gradient(currentColor, currentColor) no-repeat left calc(100% - 8px) / 0 2px; transition: background-size 0.32s var(--e-display); }
.pill:hover, .pop[open] > .pill { background-size: 100% 2px; color: var(--ink); }
@media (max-width: 1080px) { .hdr__nav a { margin: 0 6px; } }

/* Шапка на всю ширину окна (слово владельца 27.10.2026): знак и разделы — у левого края,
   язык, вход, регистрация, аккаунт — у правого; поля 28 px, на телефоне 16. */
.hdr .wrap.hdr__bar { max-width: none; padding: 0 28px; }
@media (max-width: 760px) { .hdr .wrap.hdr__bar { padding: 0 16px; } }

/* ============================================================================
   КАБИНЕТ С ЛЕВОЙ КОЛОНКОЙ (27.10.2026) — разделы и новые функции слева, работа справа.
   ============================================================================ */
.page--desk .main, .page--profile .main, .page--new .main, .page--stats .main, .page--support .main,
.page--billing .main, .page--promote .main, .page--invite .main { padding-top: 0; }
.main--cab { padding-bottom: 0; }
.cabshell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.cabside { border-right: 1px solid var(--rule); background: var(--card); }
.cabnav { position: sticky; top: 64px; display: grid; gap: 2px; padding: 22px 14px; }
.cabnav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; font-size: 0.95rem; line-height: 1.2;
  transition: background 0.15s var(--e-ui), color 0.15s var(--e-ui);
}
.cabnav a:hover { background: rgba(17, 29, 48, 0.05); color: var(--ink); text-decoration: none; }
.cabnav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.cabnav svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cabnav__new { margin-bottom: 10px; background: var(--accent); color: #fff !important; justify-content: center; font-weight: 600 !important; }
.cabnav__new:hover { background: var(--accent-deep) !important; }
.cabnav__badge { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--mustard); color: var(--ink); font-size: 0.76rem; font-weight: 700; }
.cabnav a[aria-current="page"] .cabnav__badge { background: var(--paper); }
.cabnav__rule { height: 1px; margin: 10px 4px; background: var(--rule); }
.cabmain { min-width: 0; padding: 36px 0 84px; }
.cabmain > .wrap, .cabmain > section { max-width: 1040px; margin-left: 0; padding: 0 40px; }

@media (max-width: 900px) {
  .cabshell { grid-template-columns: 1fr; }
  .cabside { border-right: 0; border-bottom: 1px solid var(--rule); position: sticky; top: 64px; z-index: 5; }
  .cabnav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px 12px; scrollbar-width: none; }
  .cabnav::-webkit-scrollbar { display: none; }
  .cabnav a { flex: none; white-space: nowrap; padding: 8px 11px; }
  .cabnav__new { margin: 0; }
  .cabnav__rule { display: none; }
  .cabmain { padding-top: 24px; }
  .cabmain > .wrap, .cabmain > section { padding: 0 16px; }
}

/* --- кредиты ----------------------------------------------------------------------------- */
.wallet { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; margin: 0 0 40px; }
.wallet__card { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: 14px; background: var(--night); color: var(--paper); }
.wallet__card .linklike { color: var(--mustard); justify-self: start; margin-top: 10px; }
.wallet__label { font-size: 0.86rem; opacity: 0.8; }
.wallet__sum { font-family: var(--display); font-size: 3rem; line-height: 1; font-weight: 800; }
.wallet__note { font-size: 0.86rem; opacity: 0.8; }
.wallet__packs { padding: 22px 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 14px; }
.pack { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
.pack__sum { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.pack__bonus { color: var(--accent-deep); font-weight: 600; font-size: 0.9rem; }
.pack__total { color: var(--ink-3); font-size: 0.86rem; margin-bottom: 8px; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger td { padding: 12px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger__date { white-space: nowrap; color: var(--ink-3); font-size: 0.9rem; width: 1%; }
.ledger__note { display: block; color: var(--ink-3); font-size: 0.86rem; }
.ledger__sum { text-align: right; white-space: nowrap; font-weight: 600; }
.ledger__sum--in { color: var(--good); }

/* --- продвижение ------------------------------------------------------------------------- */
.balance-pill { align-self: center; padding: 9px 14px; border-radius: 999px; background: var(--night); color: var(--paper); white-space: nowrap; }
.balance-pill:hover { text-decoration: none; background: var(--ink-2); }
.promo-list { display: grid; gap: 18px; margin: 0 0 40px; }
.promo { padding: 20px 22px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); scroll-margin-top: 90px; }
.promo:target { box-shadow: 0 0 0 3px var(--accent-soft); }
.promo__head { display: grid; gap: 4px; margin: 0 0 14px; }
.promo__title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.promo__places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.place { display: grid; align-content: start; gap: 6px; padding: 16px; border-radius: 12px; background: var(--paper); }
.place__title { margin: 0; font-size: 1.05rem; }
.place__body { margin: 0; color: var(--ink-2); font-size: 0.94rem; }
.place__live { margin: 0; color: var(--good); font-weight: 600; font-size: 0.9rem; }
.place .button { justify-self: start; margin-top: 6px; }

/* --- приглашения ------------------------------------------------------------------------- */
.invite__row { display: flex; gap: 10px; align-items: center; margin: 6px 0 10px; }
.invite__row .field__input { flex: 1; }

@media (max-width: 760px) {
  .wallet { grid-template-columns: 1fr; }
  .packs, .promo__places { grid-template-columns: 1fr; }
  .desk__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   ЛИЧНАЯ СТРАНИЦА КОЛУМНИСТА — ник.columnistar.com (27.10.2026). Сайт автора: поле его
   цвета, крупное имя, услуги, колонки, заявка. Columnistar — только строкой внизу.
   ============================================================================ */
body.ap { background: var(--paper); color: var(--ink); }
.ap-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.ap-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 28px; background: var(--ap-bg); color: var(--ap-fg); }
.ap-top__brand { color: inherit; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.ap-top__brand:hover { text-decoration: none; }
.ap-top__nav { display: flex; align-items: center; gap: 22px; }
.ap-top__nav a:not(.ap-btn) { color: inherit; font-weight: 500; }
.ap-btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; background: var(--ap-fg); color: var(--ap-bg) !important; font-weight: 600; transition: transform 0.2s var(--e-ui), opacity 0.2s var(--e-ui); border: 0; font: 600 1rem/1 var(--text); cursor: pointer; }
.ap-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ap-btn--small { padding: 9px 16px; font-size: 0.9rem; }
.ap-link { color: inherit; font-weight: 600; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.ap-link:hover { text-decoration: none; opacity: 0.75; }

.ap-hero { background: var(--ap-bg); color: var(--ap-fg); padding: 56px 0 96px; overflow: hidden; }
.ap-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
.ap-kicker { margin: 0 0 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.86rem; }
.ap-name { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62.5; text-transform: uppercase; font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: 0.86; overflow-wrap: anywhere; color: inherit; }
.ap-headline { margin: 0 0 22px; max-width: 34ch; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; }
.ap-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 30px; }
.ap-facts b { font-family: var(--display); font-size: 1.5rem; }
.ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 0; }
.ap-portrait { position: relative; justify-self: end; width: 340px; aspect-ratio: 1; }
.ap-portrait img, .ap-portrait > span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--ap-fg); color: var(--ap-bg); font-family: var(--display); font-size: 8rem; font-weight: 800; box-shadow: 0 0 0 10px color-mix(in srgb, var(--ap-fg) 18%, transparent); }
.ap-star { position: absolute; right: -6%; top: -4%; width: 96px; fill: var(--ap-fg); }

.ap-sect { padding: 84px 0; }
.ap-sect--tint { background: var(--card); }
.ap-h2 { margin: 0 0 28px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.ap-about { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.ap-about__text { font-size: 1.12rem; line-height: 1.7; max-width: 62ch; }

.ap-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ap-service { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--rule); }
.ap-service h3 { margin: 0; font-size: 1.3rem; }
.ap-service p { margin: 0; color: var(--ink-2); }
.ap-service__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.ap-price { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }

.ap-columns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ap-col { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.ap-col:hover { text-decoration: none; }
.ap-col:hover .ap-col__title { text-decoration: underline; text-underline-offset: 3px; }
.ap-col__meta { font-size: 0.86rem; color: var(--ink-3); font-weight: 500; }
.ap-col__title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.ap-col__lead { color: var(--ink-2); font-size: 0.98rem; }

.ap-order { background: var(--night); color: var(--paper); }
.ap-order .ap-h2 { color: #fff; }
.ap-order__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.ap-note { opacity: 0.8; }
.ap-form { display: grid; gap: 14px; }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.ap-form i { opacity: 0.6; font-style: normal; }
.ap-form input, .ap-form select, .ap-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: #fff; font: 300 1rem/1.4 var(--text); }
.ap-form select option { color: var(--ink); }
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus { outline: none; border-color: var(--accent); }
.ap-check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 300 !important; opacity: 0.85; }
.ap-check input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.ap-hp { position: absolute !important; left: -9999px; }
.ap-form .ap-btn { justify-self: start; background: var(--accent); color: #fff !important; }
.ap-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(245, 69, 42, 0.18); }
.ap-sent { padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); }
.ap-sent h3 { color: #fff; margin: 0 0 8px; }
.ap-foot { padding: 26px 0; background: var(--night); color: #8F98A8; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; }
.ap-foot a { color: var(--paper); font-weight: 600; }

@media (max-width: 860px) {
  .ap-hero__grid, .ap-about, .ap-order__grid { grid-template-columns: 1fr; }
  .ap-portrait { justify-self: start; width: 200px; order: -1; }
  .ap-portrait > span { font-size: 5rem; }
  .ap-star { width: 60px; }
  .ap-columns, .ap-row { grid-template-columns: 1fr; }
  .ap-top__nav a:not(.ap-btn) { display: none; }
  .ap-wrap, .ap-top { padding: 0 16px; }
  .ap-sect { padding: 60px 0; }
}

/* --- кабинет: «Моя страница» и «Заявки» ------------------------------------------------- */
.mypage { display: grid; gap: 4px; max-width: 760px; }
.mypage__status { margin-bottom: 22px; }
.svc-rows { display: grid; gap: 12px; margin: 10px 0 26px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 8px; padding: 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.svc-row textarea { grid-column: 1 / -1; }
.accents { border: 0; padding: 0; display: flex; gap: 12px; align-items: center; }
.accents legend { margin-bottom: 8px; }
.accent input { position: absolute; opacity: 0; }
.accent span { display: block; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px var(--rule); }
.accent input:checked + span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.accent input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }
.accent--red span { background: #F5452A; } .accent--night span { background: #111D30; }
.accent--mint span { background: #C9DBD1; } .accent--mustard span { background: #F2B944; }
.reqs { display: grid; gap: 12px; }
.req { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.req--new { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.req__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; }
.req__msg { margin: 0 0 12px; }
.req__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--ink-2); }
.cabnav__badge--hot { background: var(--accent); color: #fff; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } }

/* Финальный плакат: текст под «Станьте голосом» белый (слово владельца 27.10.2026). */
.voice__body { color: #fff; }

/* --- Академия (27.10.2026) ----------------------------------------------------------------- */
.acad-goal { margin: 0 0 36px; padding: 22px 24px; border-radius: 14px; background: var(--night); color: var(--paper); }
.acad-goal__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); overflow: hidden; margin: 0 0 16px; }
.acad-goal__bar span { display: block; height: 100%; background: var(--mustard); border-radius: 99px; }
.acad-goal__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.acad-goal__steps li::before { content: "○ "; opacity: 0.7; }
.acad-goal__steps li.is-done::before { content: "● "; color: var(--mustard); opacity: 1; }
.acad-goal__cert { margin: 14px 0 0; color: var(--mustard); }
.acad-sec { margin: 0 0 30px; }
.acad-sec__title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin: 0 0 10px; }
.acad-sec__title span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.95rem; font-family: var(--text); font-weight: 700; }
.acad-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acad-item a, .acad-item > span { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); color: var(--ink); }
.acad-item a:hover { text-decoration: none; border-color: var(--ink); }
.acad-item__n { font-family: var(--display); font-weight: 800; color: var(--ink-3); }
.acad-item__title { font-weight: 500; }
.acad-item__meta { color: var(--ink-3); font-size: 0.86rem; white-space: nowrap; }
.acad-item.is-passed a { border-color: var(--good); }
.acad-item.is-passed .acad-item__meta { color: var(--good); font-weight: 600; }
.acad-lesson { max-width: 760px; }
.acad-lesson__crumbs { color: var(--ink-3); font-size: 0.9rem; margin: 0 0 8px; }
.prose-lesson { font-size: 1.06rem; line-height: 1.75; }
.prose-lesson h2 { margin: 1.6em 0 0.5em; font-size: 1.5rem; }
.prose-lesson h3 { margin: 1.3em 0 0.4em; font-size: 1.15rem; }
.prose-lesson ul, .prose-lesson ol { padding-left: 1.3em; }
.prose-lesson li { margin: 0 0 0.4em; }
.acad-test { margin: 48px 0 0; padding: 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); }
.acad-test h2 { margin: 0 0 4px; }
.acad-q { border: 0; padding: 0; margin: 0 0 20px; }
.acad-q legend { font-weight: 600; margin: 0 0 8px; }
.acad-q label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.acad-q label:hover { background: rgba(17, 29, 48, 0.04); }
.acad-q input { margin-top: 5px; accent-color: var(--accent); }
.acad-review { display: grid; gap: 10px; padding-left: 1.2em; margin: 0 0 26px; }
.acad-review li { display: grid; gap: 2px; }
.acad-review li.is-ok b::after { content: "  ✓"; color: var(--good); }
.acad-review li.is-bad b::after { content: "  ✗"; color: var(--bad); }
.acad-pager { display: flex; justify-content: space-between; margin: 32px 0 0; }

/* Колонки сетки кабинета не распираются содержимым: полоса меню на телефоне прокручивается
   внутри себя, а не растягивает страницу (найдено 27.10.2026 на 384 px). */
.cabshell > * { min-width: 0; }
@media (max-width: 900px) { .cabshell { grid-template-columns: minmax(0, 1fr); } }
