/* Sanomono
   narrow column, one ink, indigo only on links
   order: tokens, reset, type, layout, pieces, pages, queries
*/

:root {
  --bg: #fff;
  --ink: #2f2f2f;
  --muted: #626262;
  --link: #3c4cad;
  --line: #ececec;
  --err: #8c3a34;
  --ok: #2f5d45;
  --faint: #f6f6f6;
  --wrap: 64rem;
  --pad: 21px;
}

html[data-theme="dark"] {
  --bg: #131313;
  --ink: #d4d4d4;
  --muted: #9a9a9a;
  --link: #b4bcef;
  --line: #2c2c2c;
  --err: #f0b2ac;
  --ok: #9dccb4;
  --faint: #1c1c1c;
  color-scheme: dark;
}

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

::selection { background: #e3e6f6; color: #1b1b1b; }
html[data-theme="dark"] ::selection { background: #2c315c; color: #f2f2f2; }

img { max-width: 100%; height: auto; display: block; }

button, input, textarea, select { font: inherit; color: inherit; }

a { color: var(--link); text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 1px; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--bg);
  padding: 6px 8px;
  z-index: 40;
}
.skip:focus { top: 8px; }

/* type
   300 on the h1 only — body at 300 went pale on Windows Chrome */

h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: 34px; font-weight: 300; margin: 2rem 0 13px; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 10px; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 6px; letter-spacing: 0; }
p { margin: 0 0 0.9rem; }

.lead { max-width: 62ch; }
.lead p:last-child { margin-bottom: 0; }
.lead ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.lead li { margin: 0.2rem 0; }

.prose { max-width: 66ch; }
.prose h2 { font-size: 1.28rem; margin-top: 2.1rem; scroll-margin-top: 18px; }
.prose h3 { font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0.2rem 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.28rem 0; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0.4rem 0 1.1rem;
}
.prose th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.prose td, .prose th {
  padding: 8px 14px 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
  padding-top: 6px;
}
.prose a { font-weight: 400; }

/* layout */

.wrap {
  width: min(var(--wrap), calc(100% - 28px));
  margin-inline: auto;
}

.bar { padding: 18px 0 8px; }
.bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.brand img { height: 28px; width: auto; }
.brand .logo-for-dark { display: none; }
html[data-theme="dark"] .brand .logo-for-light { display: none; }
html[data-theme="dark"] .brand .logo-for-dark { display: block; }
.brand:hover { opacity: 0.78; }

.ico {
  width: 15px;
  height: 15px;
  flex: none;
  display: block;
}
.theme .sun,
.burger .x { display: none; }
html[data-theme="dark"] .theme .moon { display: none; }
html[data-theme="dark"] .theme .sun { display: block; }
.burger[aria-expanded="true"] .menu { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.star { fill: none; }
.fav.is-on .star { fill: currentColor; }

.nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  order: 3;
  padding: 6px 0 4px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav a:hover { color: var(--link); }
.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme,
.burger,
.morebtn,
.shift,
.tablist button,
.talk button,
.acts button,
.who button,
.auth button,
.acct button,
.find button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
}

.theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.theme:hover { color: var(--link); }

.burger {
  color: var(--link);
  align-items: center;
  gap: 6px;
}

/* js hides the menu under the burger; without it the links stay in the page */
.js .burger { display: inline-flex; }
.js .nav { display: none; }
.js .nav.is-open { display: flex; }
.burger { display: none; }

.who { position: relative; display: flex; align-items: center; gap: 14px; }
.who > a { text-decoration: none; }
.who > a:hover { text-decoration: underline; }
.who button:hover { color: var(--link); }

.me {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.me:hover { color: var(--link); }

.ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--faint);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  line-height: 0;
}
.bell .n {
  font-size: 12px;
  margin-left: 3px;
  font-variant-numeric: tabular-nums;
  position: relative;
  top: -2px;
  color: var(--ink);
}

.drop {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(300px, calc(100vw - 32px));
  background: var(--faint);
  padding: 10px 14px 8px;
  z-index: 12;
}
.who:hover .drop,
.who:focus-within .drop { display: block; }

.drop ul { list-style: none; margin: 0; padding: 0; }
.drop li { margin: 0 0 9px; font-size: 14px; line-height: 1.35; }
.drop li a { color: var(--muted); text-decoration: none; }
.drop li a:hover { color: var(--link); }
.drop li.unread a { color: var(--ink); }
.drop time { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.drop .all { font-size: 13px; }

main { padding-bottom: 48px; }

.foot {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.slogan { margin: 14px 0 2px; }
.copy { margin: 0; font-size: 13px; }

/* rows — a line, not a card */

.rows { list-style: none; margin: 8px 0 0; padding: 0; }
.row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 11px 0;
  /* hairline, not a box */
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.rows .row:hover .nm { color: var(--link); }
.ico { width: 32px; height: 32px; }
.id { min-width: 0; }
.nm { margin-right: 0.35rem; overflow-wrap: anywhere; }
.ver {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.upd {
  color: var(--muted);
  font-size: 12px;
  margin-left: 0.45rem;
}
.sz {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 10px;
}

.fewer {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.fewer span { color: var(--ink); font-variant-numeric: tabular-nums; }

.morebtn { color: var(--link); margin-top: 12px; display: none; }
.js .recent:not(.is-all) + .morebtn { display: inline; }
.js .recent li.extra { display: none; }
.js .recent.is-all li.extra { display: block; }

.band-h {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 48px;
}
.band-h h2 { margin: 0; }
.band-h a { font-size: 14px; text-decoration: none; }
.band-h a:hover { text-decoration: underline; }

.crumb { font-size: 13px; color: var(--muted); margin: 1.4rem 0 0; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 0.35rem; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-top: 21px;
  font-size: 15px;
}
.pager a { text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.pager [aria-current="page"] { color: var(--ink); font-weight: 500; }
.pager .ellipsis { color: var(--muted); }

/* program */

.ph { margin-top: 0.4rem; }
.ph-top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}
.ph-ico { width: 64px; height: 64px; }
.ph h1 { margin: 0; font-size: 30px; overflow-wrap: anywhere; }
.catlink { font-size: 14px; text-decoration: none; }
.catlink:hover { text-decoration: underline; }
.updated { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin: 16px 0 0;
}
.acts a,
.acts button,
.shift,
.find button,
.totop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.acts a { text-decoration: none; }
.acts a:hover { text-decoration: underline; }
.acts button[aria-pressed="true"] { color: var(--ink); }

.specs { margin: 22px 0 8px; }
.specs div { margin: 0 0 12px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; overflow-wrap: anywhere; }

.split { display: block; }

.filmwrap { margin: 8px 0 18px; }
.film-nav { display: flex; gap: 14px; margin-bottom: 8px; }
.shift { color: var(--link); font-size: 14px; }
.film {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* safari: иначе прыгает */
  padding-bottom: 6px;
}
.film figure { margin: 0; flex: 0 0 78%; scroll-snap-align: start; }
.film img { width: 100%; height: auto; background: var(--faint); }
.film figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }

.tablist { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 12px; }
.tablist button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.tablist button[aria-selected="false"] { color: var(--muted); }
.tablist a[aria-current="page"] { color: var(--ink); font-weight: 500; text-decoration: none; }
.tablist a:not([aria-current="page"]) { text-decoration: none; color: var(--muted); }

.faq details { margin: 0 0 14px; }
.faq summary { cursor: pointer; }
.faq details p { margin: 0.35rem 0 0.2rem; }

/* comments */

.talk { margin-top: 2.2rem; max-width: 66ch; }
.talk-h {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
}
.talk-h h2 { margin: 0; }
.sort button[aria-current="true"] { color: var(--ink); font-weight: 500; }
.sort button { margin-left: 12px; font-size: 14px; }
.signin { color: var(--muted); }

.cform textarea {
  width: 100%;
  min-height: 96px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  resize: vertical;
  padding: 8px 0;
  border-radius: 0;
}
.cform textarea:focus { border-bottom-color: var(--link); }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0; }
.cform .send, .auth button[type="submit"], .acct button[type="submit"], .find button {
  color: var(--link);
  margin-top: 8px;
}
.auth, .cform { position: relative; }
.hp {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.clist { list-style: none; margin: 18px 0 0; padding: 0; }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment.pending { opacity: 0.55; }
.comment header { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.who-name { font-weight: 500; }
.comment time, .comment .meta { color: var(--muted); font-size: 13px; }
.badge { font-size: 12px; color: var(--muted); }
.comment p { margin: 0.45rem 0; }
.comment .tools-c { display: flex; gap: 14px; }
.comment .tools-c button { font-size: 14px; color: var(--muted); }
.comment .tools-c button[aria-pressed="true"] { color: var(--ink); }
.replies { margin: 8px 0 0 18px; }
.reply textarea { min-height: 64px; }

.empty { color: var(--muted); }

/* meter — ink, not indigo; indigo stays on links */

.meter {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  z-index: 15;
  pointer-events: none;
}
.meter span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 0;
}

.toc { margin: 0 0 1.4rem; }
.toc p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { margin: 3px 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc a[aria-current="true"] { font-weight: 500; }

/* forms */

.auth, .acct-panel { max-width: 36rem; }
label { display: block; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0;
  border-radius: 0;
}
input:focus { outline: none; border-bottom-color: var(--link); }
input:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.check { display: flex; gap: 8px; align-items: center; margin: 14px 0; color: var(--ink); font-size: 15px; }
.check input { width: auto; }

.err { color: var(--err); font-size: 14px; margin: 4px 0 0; }
.ok { color: var(--ok); font-size: 15px; }

.field { margin-bottom: 4px; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 24px;
}
.modal-box {
  background: var(--bg);
  color: var(--ink);
  width: min(34rem, 100%);
  max-height: 78vh;
  overflow: auto;
  padding: 18px 4px 24px 0;
}
.modal-box h2 { margin-top: 8px; }
.modal-box .close { color: var(--link); float: right; }
.mirrors h3 { margin-bottom: 4px; }
.mirrors p { margin: 0 0 4px; }
.mirrors a { text-decoration: none; }
.mirrors a:hover { text-decoration: underline; }
.older-list { list-style: none; margin: 0; padding: 0; }
.older-list li { margin: 0 0 16px; }
.older-list p { margin: 0 0 2px; color: var(--muted); font-size: 14px; }

.note-list { list-style: none; margin: 12px 0 0; padding: 0; }
.note-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.note-list a { text-decoration: none; }
.note-list time { display: block; color: var(--muted); font-size: 13px; }
.note-list .unread a { color: var(--ink); font-weight: 500; }

.mine { list-style: none; margin: 12px 0 0; padding: 0; }
.mine li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mine a { text-decoration: none; }
.mine p { margin: 0.3rem 0; }

.find { margin-top: 18px; max-width: 24rem; }
.rubrics { margin: 8px 0 0; padding-left: 1.1rem; }
.rubrics li { margin: 0.25rem 0; }

.totop {
  color: var(--link);
  text-decoration: none;
  font-size: 14px;
}
.js .totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  opacity: 0;
  pointer-events: none;
}
.js.is-scrolled .totop { opacity: 1; pointer-events: auto; }

/* queries */

@media (min-width: 720px) {
  .film figure { flex-basis: 64%; }
  .replies { margin-left: 28px; }
}

@media (min-width: 860px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12.5rem;
    column-gap: 36px;
    align-items: start;
  }
  .specs { grid-column: 2; grid-row: 1; position: sticky; top: 18px; margin-top: 0; }
  .split-main { grid-column: 1; grid-row: 1; min-width: 0; }
}

@media (min-width: 1080px) {
  .nav {
    order: 0;
    width: auto;
    flex: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0 11px;
    padding: 0;
  }
  .nav a { font-size: 12.5px; white-space: nowrap; }
  .js .nav { display: flex; }
  .js .burger { display: none; }
  h1 { font-size: 36px; }
}

@media (max-width: 400px) {
  .wrap { width: calc(100% - 22px); }
  h1, .ph h1 { font-size: 28px; }
  .uname {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* page tweaks — 404 field was sitting on the footer at 360 */

.miss h1 { margin-top: 1.6rem; }
.miss .find { margin-top: 21px; }

/* was 40rem; nine menu items didn't fit on one line */
.home .band:last-of-type { margin-bottom: 12px; }

/* audit fixes: действия — настоящие кнопки, но в тихом стиле сайта */
.acts { gap: 8px; }
.acts a,
.acts button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
  color: var(--link);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.acts a:hover, .acts button:hover { text-decoration: none; border-color: var(--link); }
.acts a.get { background: var(--link); border-color: var(--link); color: var(--bg); font-weight: 600; }
.acts a.get:hover { filter: brightness(1.08); }
@media (max-width: 559px) { .acts a.get { flex: 1 0 100%; justify-content: center; } }

/* seo: текст вступления после первого блока программ */
.home-about { margin-top: 32px; margin-bottom: 32px; }
.home-about__body { margin-top: 10px; }

/* сеть: шапка липнет, поиск-палитра по кнопке или «/», вход и выход одной высоты */
:root { --ctl: 36px; }
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 12px 0; border-bottom: 1px solid transparent; }
.is-scrolled .bar { border-bottom-color: var(--line); }
.tools { gap: 10px; }
.seek, .theme, .who .out, .bell { height: var(--ctl); display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); cursor: pointer; font-size: 14px; }
.seek:hover, .theme:hover, .who .out:hover, .bell:hover { border-color: var(--link); color: var(--link); }
.seek kbd { font: inherit; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; line-height: 18px; }
.who > a.enter { height: var(--ctl); display: inline-flex; align-items: center; padding: 0 14px; border-radius: 3px; background: var(--link); color: var(--bg); font-weight: 600; font-size: 14px; text-decoration: none; }
.who > a.enter:hover { filter: brightness(1.08); text-decoration: none; }
.who { gap: 8px; }
.bell .n { top: 0; margin-left: 2px; }
.me { align-items: center; }
.me .ava { width: var(--ctl); height: var(--ctl); font-size: 11px; }
.drop { top: calc(100% + 8px); border: 1px solid var(--line); }
.drop:not([hidden]) { display: block; }
.who:hover .drop[hidden], .who:focus-within .drop[hidden] { display: none; }
@media (max-width: 1079px) { .seek .lbl, .seek kbd, .theme .lbl { display: none; } .seek, .theme { padding: 0; width: var(--ctl); justify-content: center; } .uname { display: none; } }
@media (max-width: 400px) { .tools { gap: 6px; } .who > a.enter { padding: 0 10px; } .brand img { height: 24px; } }
.palette { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .35); display: flex; justify-content: center; align-items: flex-start; padding: 14vh 14px 20px; }
.palette-box { width: min(36rem, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px 10px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); }
.palette-box label { margin: 0 0 6px; font-size: 13px; }
.palette-row { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.palette-row .ico { color: var(--muted); }
.palette-row input { border: 0; font-size: 20px; padding: 10px 0; }
.palette-row button { height: var(--ctl); padding: 0 14px; border: 0; border-radius: 3px; background: var(--link); color: var(--bg); font-weight: 600; cursor: pointer; }
.palette-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.find { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; max-width: 32rem; }
.find label { flex: 1 0 100%; }
.find input { flex: 1 1 200px; }
.find button { height: var(--ctl); display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 3px; background: var(--link); color: var(--bg); font-weight: 600; }

/* сеть: кнопки программы одной высоты, текст во всю ширину */
.acts a, .acts button { height: 42px; display: inline-flex; align-items: center; gap: 7px; }
.lead, .prose, .home-about__body { max-width: none; }
.send { height: 40px; padding: 0 18px; border: 0; border-radius: 3px; background: var(--link); color: var(--bg) !important; font-weight: 600; cursor: pointer; margin-top: 14px; }
.ico-ph { display: inline-grid; place-items: center; background: var(--faint); color: var(--muted); font-size: 14px; border-radius: 6px; }
.rows-kept .note { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.kept { margin-top: 28px; }
.talk-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; margin-top: 40px; }
.talk-h h2 { margin: 0; }
.fewer-n { color: var(--muted); font-weight: 400; font-size: .8em; }
.sort { display: flex; gap: 14px; }
.sort button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.cform textarea { width: 100%; min-height: 110px; border: 1px solid var(--line); border-radius: 3px; background: transparent; padding: 10px; }
.tablist a { padding: 4px 0; }
.tablist a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }

/* сеть: «стопка карточек» — верхний снимок крупно, следующие выглядывают снизу */
.is-decked .film { display: none; }
.deck { margin: 4px 0 26px; outline-offset: 6px; }
.deck-pile { position: relative; aspect-ratio: 16 / 10; margin-bottom: 30px; cursor: pointer; }
.deck.is-single .deck-pile { margin-bottom: 8px; cursor: default; }
.deck-card { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--faint); border: 1px solid var(--line); border-radius: 6px; transform-origin: 50% 100%; transition: transform .28s ease, opacity .28s ease; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.deck-card[data-depth="0"] { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.deck-card[data-depth="1"] { transform: translateY(10px) scale(.96); opacity: .9; }
.deck-card[data-depth="2"] { transform: translateY(20px) scale(.92); opacity: .7; }
.deck-card[data-depth="3"] { transform: translateY(28px) scale(.88); opacity: .45; }
.deck-card[data-depth="4"] { transform: translateY(28px) scale(.88); opacity: 0; }
.deck-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.deck-count { margin: 0; font-size: 22px; font-weight: 300; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.deck-ticks { display: flex; gap: 4px; flex: 1 1 120px; }
.deck-ticks button { flex: 1; max-width: 42px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.deck-ticks button::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line); }
.deck-ticks button[aria-current="true"]::after { background: var(--ink); }
.deck-nav { display: flex; gap: 14px; margin: 0; }
.deck-nav button { background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; font-size: 15px; }
.deck-cap { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .deck-card { transition: none; } }
svg.ico { width: 15px; height: 15px; }
.acts svg.ico { width: 16px; height: 16px; }
.brand img { height: 30px; }
@media (max-width: 859px) {
  .specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .specs div { margin-bottom: 10px; }
  .burger .lbl { display: none; }
  .burger { width: var(--ctl); height: var(--ctl); justify-content: center; border: 1px solid var(--line); border-radius: 3px; }
}
.who .bell, .who .out { border: 1px solid var(--line); padding: 0 10px; color: var(--ink); }
.who .bell:hover, .who .out:hover { border-color: var(--link); color: var(--link); }
@media (max-width: 1399px) { .uname { display: none; } }
@media (max-width: 1299px) { .seek kbd, .theme .lbl { display: none; } .theme { padding: 0; width: var(--ctl); justify-content: center; } }
@media (min-width: 860px) { .specs { top: 72px; } }
@media (min-width: 1080px) {
  .bar-row { flex-wrap: nowrap; }
  .nav { min-width: 0; }
  .seek kbd, .theme .lbl { display: none; }
  .theme { padding: 0; width: var(--ctl); justify-content: center; }
  .tools { gap: 8px; flex: none; }
}
@media (min-width: 1080px) and (max-width: 1199px) { .seek .lbl { display: none; } .seek { padding: 0; width: var(--ctl); justify-content: center; } }
