/* Mac Torent — oct 2026
   one sheet, mobile first. colors live in :root, the rest is plain. */

:root {
  --bg: #1e1e1e;
  --panel: #262626;
  --hover: #2e2e2e;
  --line: #363636;
  --line-2: #424242;
  --muted: #8e8e8e;
  --text: #fff;
  --ink: #dedede;
  --link: #3b8cf0;
  --green: #0a0;
  --orange: #f90;
  --red: #ff5050;
  --rail: 232px;
  --frame: 1492px;
  --gutter: 24px;
  --split: 20px;
  --radius: 6px;
  --fav-gold: #f5c542;
  --fav-gold-dim: #c9a032;
}

@font-face {
  font-family: "SF Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sf-pro-400.woff2") format("woff2");
}
@font-face {
  font-family: "SF Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sf-pro-500.woff2") format("woff2");
}
@font-face {
  font-family: "SF Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sf-pro-600.woff2") format("woff2");
}
@font-face {
  font-family: "SF Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sf-pro-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-synthesis: style;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #3b8cf0; color: #fff; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--link);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  z-index: 80;
}
.skip:focus { top: 8px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* honeypot — keep it out of the tab order visually */
.hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0;
  width: 0;
  opacity: 0;
}

/* type */
h1 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
h1 .num { color: var(--muted); font-weight: 600; font-size: .72em; margin-left: 6px; }

.mono, .tile__ver, .rail__saved a > span:last-child, .spec__v code, .prose code, .prose pre {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

/* layout */
.shell { min-height: 100vh; }

.rail {
  background: var(--panel);
  /* выезжает поверх страницы; на широком экране становится sticky внутри рамки */
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 100%);
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  transform: translateX(-105%);
  transition: transform .18s ease;
  padding: 14px 12px 18px;
}
.rail:target,
.rail.is-open { transform: none; box-shadow: 12px 0 28px rgba(0, 0, 0, .45); }
@media (max-width: 420px) {
  .rail { width: 100%; }
}
@media (max-width: 1099px) {
  .rail:not(:target):not(.is-open) { visibility: hidden; }
}

.rail__in {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 4px);
}
.rail__close {
  align-self: flex-end;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.brand-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.rail__brand,
.bar__logo,
.logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.rail__brand { padding: 2px 6px 0; }
.rail__brand:hover,
.bar__logo:hover,
.logo-mark:hover { color: #fff; text-decoration: none; }
.logo-mark__skull {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.logo-mark__skull svg {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 32px;
  height: 32px;
}
.logo-mark__skull svg:nth-of-type(2),
.logo-mark__skull svg:nth-of-type(3) { opacity: 0; }
.logo-mark:hover .logo-mark__skull svg:nth-of-type(1),
.logo-mark:focus-visible .logo-mark__skull svg:nth-of-type(1) {
  opacity: 0;
  transition: opacity 0s linear .18s;
}
.logo-mark:hover .logo-mark__skull svg:nth-of-type(2),
.logo-mark:focus-visible .logo-mark__skull svg:nth-of-type(2) { opacity: 1; }
.logo-mark:hover .logo-mark__skull svg:nth-of-type(3),
.logo-mark:focus-visible .logo-mark__skull svg:nth-of-type(3) {
  animation: logoSkullWink .32s cubic-bezier(.4, 0, .2, 1);
}
@keyframes logoSkullWink {
  0% { opacity: 0; }
  28%, 62% { opacity: 1; }
  100% { opacity: 0; }
}
.logo-mark__text {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-shadow: 1px 0 0 rgba(255, 120, 60, .2), -1px 0 0 rgba(59, 140, 240, .26);
}
.logo-mark__apps { color: #fff; }
.logo-mark__torrent {
  color: #808080;
  text-shadow: 1px 0 0 rgba(255, 120, 60, .12), -1px 0 0 rgba(59, 140, 240, .14);
}
.rail__tag {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 8px 6px 14px;
}
.rail__nav { display: flex; flex-direction: column; gap: 2px; }
.rail__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}
.rail__link:hover { background: var(--hover); text-decoration: none; }
.rail__link.is-on { background: var(--hover); }
.rail__link.is-on .rail__ico { color: var(--link); }
.rail__ico { width: 18px; height: 18px; flex: 0 0 18px; }
.rail__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rail__fav {
  margin: 14px 4px 0;
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a2820 0%, #262626 100%);
  border: 1px solid #3d3828;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
}
.rail__favhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #ddd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rail__favtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rail__fav-star {
  color: var(--fav-gold);
  filter: drop-shadow(0 0 6px rgba(245, 197, 66, .35));
  flex: 0 0 16px;
}
.rail__favhead a {
  color: var(--muted);
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  transition: background .12s ease, color .12s ease;
}
.rail__favhead a:hover {
  color: var(--fav-gold);
  background: rgba(245, 197, 66, .12);
  text-decoration: none;
}
.rail__favhead a svg { width: 14px; height: 14px; }
.rail__empty {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 0;
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px dashed #424242;
  background: rgba(0, 0, 0, .15);
}
.rail__empty-ico {
  flex: 0 0 20px;
  color: var(--fav-gold-dim);
  line-height: 0;
  margin-top: 1px;
}
.rail__saved { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rail__saved a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.rail__saved a:hover {
  background: rgba(245, 197, 66, .08);
  border-color: rgba(245, 197, 66, .22);
  text-decoration: none;
  color: #fff;
}
.rail__app {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.rail__appname {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail__saved a > span:last-child {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

/* подвал сайдбара */
.rail__base { margin-top: auto; padding: 14px 8px 4px; }
.rail__sign { color: #9a9a9a; font-size: 12px; line-height: 1.45; margin: 0 0 8px; }
.rail__fine { color: var(--muted); font-size: 12px; line-height: 1.5; }
.rail__fine a { color: var(--muted); }

.stage { padding-bottom: 74px; min-width: 0; }
.stage__in { padding: 12px 14px 20px; min-width: 0; }

.bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "burger logo who"
    "find find find";
  gap: 10px 8px;
  align-items: center;
  padding: 12px 14px 0;
}
.burger {
  grid-area: burger;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
}
.burger svg { width: 22px; height: 22px; }
.bar__logo {
  grid-area: logo;
  min-width: 0;
}
.bar__logo .logo-mark__skull {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}
.bar__logo .logo-mark__skull svg {
  width: 26px;
  height: 26px;
}
.bar__logo .logo-mark__text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar__logo:hover { color: #fff; text-decoration: none; }
.who { grid-area: who; justify-self: end; position: relative; }
.find { grid-area: find; position: relative; }
.find input {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--panel);
  color: #fff;
  padding: 0 42px 0 14px;
}
.find input::placeholder { color: var(--muted); }
.find button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.find button svg { width: 18px; height: 18px; }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; }

.who__in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #52a8ff 0%, #2478f0 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #6bb5ff;
  border-radius: var(--radius);
  padding: 9px 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 4px 16px rgba(36, 120, 240, .45);
  transition: background .15s ease, box-shadow .15s ease, transform .08s ease;
}
.who__in:hover {
  background: linear-gradient(180deg, #6bb8ff 0%, #358ef5 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .14) inset,
    0 6px 20px rgba(36, 120, 240, .55);
}
.who__in:active { transform: translateY(1px); }
.who__id {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.who__id:hover { color: #fff; text-decoration: none; }
.who__id em { font-style: normal; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 32px;
}
.avatar--lg { width: 56px; height: 56px; font-size: 18px; flex-basis: 56px; }
.avatar--sm { width: 28px; height: 28px; font-size: 11px; flex-basis: 28px; background: #3a3a3a; }

.who__row { display: flex; align-items: center; gap: 10px; }
.who__out { color: var(--muted); font-size: 13px; }
.who__id em, .who__out { display: none; }

.bell { position: relative; }
.bell__btn {
  list-style: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  position: relative;
}
.bell__btn::-webkit-details-marker { display: none; }
.bell__btn svg { width: 20px; height: 20px; }
.bell__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}
.bell__drop {
  position: fixed;
  top: 58px;
  right: 12px;
  left: 12px;
  width: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 45;
  overflow: auto;
  max-height: min(70vh, 420px);
}
.bell__item {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
}
.bell__item:hover { background: var(--hover); text-decoration: none; }
.bell__item.is-new { background: #2a2a2a; box-shadow: inset 2px 0 0 var(--link); }
.bell__item strong { display: block; font-weight: 600; font-size: 13px; line-height: 1.35; }
.bell__item time { color: var(--muted); font-size: 12px; }
.bell__all {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

/* mobile tab bar */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 2px 7px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
.tabbar a svg { width: 18px; height: 18px; }
.tabbar a.is-on,
.tabbar a[aria-current="page"] { color: #fff; }
.tabbar a:hover { text-decoration: none; color: #fff; }
.tabbar a[href$="login.html"] span {
  font-weight: 700;
  color: #8ec8ff;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #2a2a2a;
  color: var(--muted);
  font-size: 13px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot a { color: var(--muted); }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }

.totop {
  position: fixed;
  right: 14px;
  bottom: 78px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--hover);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  opacity: 0;
  pointer-events: none;
}
.totop svg { width: 18px; height: 18px; }
.totop.is-on { opacity: 1; pointer-events: auto; }
.totop:hover { background: #3a3a3a; color: #fff; text-decoration: none; }

/* home */
.hero {
  position: relative;
  margin: 2px 0 18px;
}
.hero__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  text-decoration: none;
  background: #141414;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .42) 38%, rgba(0, 0, 0, 0) 68%);
}
.hero__slide--light { color: #1c1c1c; }
.hero__slide--light::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .45) 42%, rgba(255, 255, 255, 0) 70%);
}
.hero__copy {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 76px;
  top: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.hero__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}
.hero__copy strong {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}
.hero__meta { font-size: 13px; opacity: .8; }
.hero__go {
  margin-top: 6px;
  background: #fff;
  color: #1c1c1c;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}
.hero__slide--light .hero__go { background: #1c1c1c; color: #fff; }
.hero__slide:hover { text-decoration: none; }
.hero__slide:hover .hero__go { filter: brightness(1.06); }
.hero__nav {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero__arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1c1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  padding: 0;
}
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow:hover { background: #f3f3f3; }

.lede {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.lede p { color: var(--ink); font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.lede ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink); }
.lede li { margin: 4px 0; line-height: 1.45; }

.feed {
  margin-top: 14px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 12px 14px 4px;
}
.feed h2 { font-size: 16px; margin: 0 0 4px; }
.feed ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
}
.feed li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.feed a { color: #fff; min-width: 0; overflow-wrap: anywhere; }
.feed a span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.feed time { color: var(--muted); font-size: 12px; white-space: nowrap; }

.band { margin-top: 26px; }
.band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.band h2 { margin: 0; }
.band__more { font-size: 14px; white-space: nowrap; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile { min-width: 0; background: var(--panel); border-radius: var(--radius); }
.tile__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 168px;
  height: 100%;
  padding: 28px 8px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}
.tile__link:hover { background: var(--hover); text-decoration: none; }
.tile__link:active { background: #333; }
.tile__size {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg);
  color: #c8c8c8;
  font-size: 11px;
  line-height: 1.3;
  padding: 2px 6px;
  border-radius: 4px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.tile__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.tile__ver {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tile__cat { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.tile__flag { display: block; margin-top: 4px; color: var(--orange); font-size: 11px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 12px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--link); }
.intro { color: #cfcfcf; font-size: 15px; line-height: 1.55; margin: 8px 0 16px; }
.intro p { margin: 0 0 10px; }
/* вводный текст рубрики бывает с подзаголовками и списками */
.intro h2 { font-size: 18px; color: #fff; margin: 18px 0 6px; }
.intro h3 { font-size: 16px; color: #fff; margin: 14px 0 6px; }
.intro ul, .intro ol { margin: 0 0 12px; padding-left: 22px; }
.intro li { margin: 3px 0; }
.intro li::marker { color: var(--muted); }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin: 22px 0 4px;
}
.pager a, .pager span {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.pager a:hover { background: var(--hover); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--link); color: #fff; }
.pager .is-off { color: var(--muted); }
.pager__note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }

/* program */
.sheet {
  display: grid;
  gap: 16px;
}
.sheet__head { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.sheet__head img { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 64px; }
.sheet__head h1 { margin: 0 0 4px; overflow-wrap: anywhere; }
.sheet__cat { margin: 0; font-size: 14px; }
.sheet__side {
  min-width: 0;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 4px 14px 14px;
}
.spec { margin: 0; }
.spec__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.spec__k,
.spec__v { display: block; margin: 0; }
.spec__k { color: var(--muted); font-size: 12px; line-height: 1.35; }
.spec__v { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }

.glance-cap {
  margin: 12px 0 0;
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.glance { width: 100%; border-collapse: collapse; font-size: 13px; }
.glance th,
.glance td {
  text-align: left;
  font-weight: 500;
  padding: 9px 0;
  vertical-align: baseline;
  border-bottom: 1px solid var(--line);
}
.glance th { color: var(--muted); width: 92px; padding-right: 12px; font-size: 12px; font-weight: 500; }
.glance tr:last-child th,
.glance tr:last-child td { border-bottom: 0; }

.btn-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 12px 12px;
  text-decoration: none;
}
.btn-dl svg { width: 16px; height: 16px; flex: 0 0 16px; }
.btn-dl:hover { background: #00b300; color: #fff; text-decoration: none; }
.btn-old {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  background: var(--hover);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14px;
}
.btn-old:hover { background: #363636; color: #fff; text-decoration: none; }
.btn-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #323232 0%, #2a2a2a 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: #eee;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn-fav svg {
  width: 18px;
  height: 18px;
  color: var(--fav-gold-dim);
  transition: color .15s ease, filter .15s ease;
}
.btn-fav:hover {
  color: #fff;
  border-color: rgba(245, 197, 66, .35);
  background: linear-gradient(180deg, #3a3528 0%, #2e2a22 100%);
  box-shadow: 0 4px 14px rgba(245, 197, 66, .12);
}
.btn-fav:hover svg {
  color: var(--fav-gold);
  filter: drop-shadow(0 0 4px rgba(245, 197, 66, .4));
}
.btn-fav[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(245, 197, 66, .55);
  background: linear-gradient(180deg, #4a4020 0%, #3a3218 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 4px 16px rgba(245, 197, 66, .2);
}
.btn-fav[aria-pressed="true"] svg {
  color: var(--fav-gold);
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(245, 197, 66, .45));
}
.btn-fav[aria-pressed="false"] .fav-on { display: none; }
.btn-fav[aria-pressed="true"] .fav-off { display: none; }
.side__meta { margin: 8px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.shots { position: relative; min-width: 0; }
.shots__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  scrollbar-color: #424242 transparent;
}
.shots__row a {
  flex: 0 0 88%;
  scroll-snap-align: start;
  border-radius: var(--radius);
}
.shots__row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #111;
}
.shots__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(30, 30, 30, .9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.shots__nav svg { width: 16px; height: 16px; }
.shots__nav--prev { left: 8px; }
.shots__nav--next { right: 8px; }
.shots__nav:hover { background: #2e2e2e; }
.shots--empty {
  background: var(--panel);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 22px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.zoom {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .82);
  padding: 28px 16px;
  align-items: center;
  justify-content: center;
}
.zoom:target { display: flex; }
.zoom img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: var(--radius); }
.zoom a {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #fff;
  font-size: 14px;
}

.tabs {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 4px 16px 16px;
  margin-top: 4px;
}
.tabs__bar {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.tabs__btn {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 12px 0 10px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.tabs__btn.is-on,
.tabs__btn[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--link);
}

/* long text */
.prose {
  font-size: 1rem;
  line-height: 1.65;
  color: #e4e4e4;
  max-width: 68ch;
  padding-top: 14px;
}
.prose h2 { font-size: 1.35rem; margin: 1.4em 0 .45em; }
.prose h3 { font-size: 1.05rem; margin: 1.2em 0 .35em; font-weight: 600; }
.prose p { margin: 0 0 .9em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin: .28em 0; }
.prose li::marker { color: var(--muted); }
.prose strong { color: #fff; font-weight: 600; }
.prose em { color: #f2f2f2; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose code {
  font-size: .92em;
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
}
.prose pre {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 1em;
}
.prose pre code { background: none; padding: 0; }
.prose blockquote {
  margin: 0 0 1em;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--link);
  color: #eee;
}
.prose .tablewrap { overflow-x: auto; margin: 0 0 1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th { color: #fff; font-weight: 600; font-size: 13px; }

.faq { margin-top: 18px; }
.faq h2 { margin: 0 0 4px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  color: var(--link);
  padding: 12px 2px;
  font-size: 15px;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--muted); font-size: 18px; line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__a { padding: 0 2px 12px; color: var(--ink); font-size: 14px; line-height: 1.55; max-width: 68ch; }
.faq__a p { margin: 0 0 .6em; }

/* comments */
.cmt-sec { margin-top: 22px; }
[data-mn-clist] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-mn-clist] > li { margin: 0 0 10px; }
[data-mn-clist] > li:last-child { margin-bottom: 0; }
.cmt__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.cmt__bar h2 { margin: 0; }
.cmt__bar h2 span { color: var(--muted); font-weight: 600; font-size: .8em; margin-left: 4px; }
.cmt__sort { display: flex; gap: 12px; }
.cmt__sort button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
}
.cmt__sort button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--link); }

.cmt {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0;
}
.cmt.is-hold { opacity: .72; }
.cmt__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 28px;
}
.cmt__who { min-width: 0; flex: 1 1 auto; }
.cmt__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cmt__name.is-mod { color: var(--orange); }
.cmt__when { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 1px; }
.cmt__body,
.cmt__meta {
  margin: 8px 0 0;
  padding-left: 38px;
  font-size: 14px;
  line-height: 1.5;
}
.cmt__body { overflow-wrap: anywhere; }
.cmt__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
  font-size: 12px;
}
.cmt__mac { color: var(--muted); margin: 0; font-size: inherit; line-height: inherit; }
.cmt__tools {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  align-self: flex-start;
}
.cmt__tools button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 2px 0;
}
.cmt__tools button:hover { color: #fff; }
.cmt__like.is-on { color: var(--red); }
.cmt__replies {
  margin: 10px 0 0;
  padding-left: 38px;
}
.cmt__replies .cmt {
  background: #2a2a2a;
  padding: 10px 12px;
}
.cmt__replies .cmt__body,
.cmt__replies .cmt__meta {
  padding-left: 38px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #3a2a10;
  color: var(--orange);
  line-height: 1.2;
}
.cmt__meta .badge { margin: 0; }
.badge--no { background: #3a2020; color: var(--red); }

.invite {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  color: var(--ink);
}
.composer, .reply { margin: 0 0 12px; }
.composer textarea, .reply textarea, .form input[type="text"],
.form input[type="email"], .form input[type="password"], .form input[type="search"] {
  width: 100%;
  background: var(--hover);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 9px 11px;
}
.composer textarea, .reply textarea { min-height: 96px; resize: vertical; display: block; }
.composer textarea:focus, .reply textarea:focus,
.form input:focus { border-color: var(--link); outline: none; }
.form__hint { color: var(--muted); font-size: 12px; margin: 6px 0 8px; }
.form__err { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.form__ok {
  background: #17301c;
  color: #c6ecc8;
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 14px;
}
.btn {
  background: var(--link);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 9px 14px;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover { background: #5aa0f5; }
.auth .btn[type="submit"] {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #6bb5ff;
  background: linear-gradient(180deg, #52a8ff 0%, #2478f0 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 4px 16px rgba(36, 120, 240, .4);
  transition: background .15s ease, box-shadow .15s ease, transform .08s ease;
}
.auth .btn[type="submit"]:hover {
  background: linear-gradient(180deg, #6bb8ff 0%, #358ef5 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .14) inset,
    0 6px 20px rgba(36, 120, 240, .5);
}
.auth .btn[type="submit"]:active { transform: translateY(1px); }
.reply { margin-top: 10px; }
.reply .btn { margin-top: 8px; }

.empty {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  color: var(--ink);
}
.empty__ico {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.empty p { margin: 0; line-height: 1.45; }

/* forms / account / errors */
.auth { max-width: 440px; }
.auth__lead { color: var(--ink); margin: 6px 0 12px; line-height: 1.5; }
.auth__card, .panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
}
.stack { margin-top: 12px; }
.acct .form.stack { max-width: 480px; }
.form__row { margin-bottom: 12px; }
.form__row label, .composer label { display: block; font-size: 13px; margin-bottom: 5px; color: #ddd; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 4px 0 12px; }
.check input { margin-top: 3px; }
.form__links { margin-top: 12px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.alert {
  background: #3a2020;
  color: #ffd0d0;
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 14px;
}

.acct__id { display: flex; gap: 12px; align-items: center; }
.acct__id h1 { margin: 0; }
.acct__id p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.acct__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.btn-quiet {
  display: inline-block;
  background: var(--hover);
  color: #fff;
  border-radius: var(--radius);
  padding: 7px 10px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-quiet:hover { background: #363636; color: #fff; text-decoration: none; }
.switch {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 16px 0;
}
.switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.switch a[aria-current="page"] { color: #fff; border-bottom-color: var(--link); }
.switch a:hover { color: #fff; text-decoration: none; }

.note {
  display: block;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
}
.note:hover { text-decoration: none; }
.note.is-new strong { box-shadow: inset 2px 0 0 var(--link); }
.note strong { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; padding-left: 8px; }
.note time { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; padding-left: 8px; }

.mine {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 10px;
}
.mine h3 { font-size: 15px; margin: 0 0 6px; }
.mine h3 a { color: #fff; }
.mine p { margin: 0; color: var(--ink); line-height: 1.45; }

.toc {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 12px 16px 12px 18px;
  margin: 12px 0 18px;
  max-width: 68ch;
}
.toc p { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.page-body { max-width: 68ch; }
.page-body .prose { padding-top: 0; }
.page-body section { margin-top: 28px; scroll-margin-top: 12px; }

.miss p { color: var(--ink); font-size: 15px; line-height: 1.55; max-width: 62ch; margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0; }
.chips a {
  display: inline-block;
  background: var(--panel);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
}
.chips a:hover { background: var(--hover); text-decoration: none; }
.miss .find { max-width: 520px; margin: 12px 0; }

/* modal */
.gate[hidden] { display: none; }
.gate.is-open {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 12px 24px;
}
.gate__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.gate__box {
  position: relative;
  width: min(560px, 100%);
  max-height: min(80vh, 740px);
  overflow: auto;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  z-index: 1;
}
.gate__box h2 { font-size: 18px; margin: 0 36px 10px 0; }
.gate__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
.gate__box ol { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink); }
.gate__box li { margin: 6px 0; line-height: 1.45; }
.mirrors h3 { font-size: 14px; margin: 14px 0 6px; }
.mirrors a, .oldlist a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--hover);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 14px;
}
.mirrors a:hover, .oldlist a:hover { background: #363636; }
.oldlist h3 { font-size: 14px; margin: 12px 0 6px; font-weight: 600; }
.oldlist p { color: var(--muted); font-size: 12px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .shots__row, .hero__track { scroll-behavior: auto; }
  .rail { transition: none; }
  .logo-mark:hover .logo-mark__skull svg:nth-of-type(3) { animation: none; }
  .logo-mark:hover .logo-mark__skull svg:nth-of-type(1) { opacity: 1; transition: none; }
  .logo-mark:hover .logo-mark__skull svg:nth-of-type(2) { opacity: 0; }
}

/* tablet */
@media (min-width: 720px) {
  h1 { font-size: 28px; }
  .hero__slide { flex-basis: calc(78% - 4px); height: 420px; border-radius: 18px; }
  .hero__copy { left: 28px; right: 22%; }
  .hero__copy strong { font-size: 28px; }
  .lede { padding: 26px 28px 22px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .feed ol { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .stage__in { padding: 14px 22px 28px; }
  .tile__name { font-size: 14px; }
  .cmt__replies { margin-left: 36px; }
}

/* desktop — rail and column share one centered frame */
@media (min-width: 1100px) {
  .shell {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    column-gap: var(--split);
    align-items: start;
    width: min(var(--frame), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
  }
  .rail,
  .rail:target {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: auto;
    height: 100vh;
    height: 100dvh;
    transform: none;
    box-shadow: none;
    visibility: visible;
    padding: 16px 12px 16px;
  }
  .who__id em, .who__out { display: inline; }
  .bell__drop {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: 340px;
  }
  .rail__close { display: none; }
  .stage { margin-left: 0; padding-bottom: 0; min-width: 0; }
  .bar {
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
    margin: 0;
    padding: 16px 0 4px;
  }
  .burger, .bar__logo { display: none; }
  .find { flex: 1; }
  .tabbar { display: none !important; }
  .totop { bottom: 22px; right: 22px; }
  .stage__in {
    width: auto;
    margin: 0;
    padding: 8px 0 42px;
  }
  .sheet {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "head side"
      "shots side"
      "body side";
    column-gap: 26px;
    row-gap: 14px;
    align-items: start;
  }
  .sheet__head { grid-area: head; }
  .shots { grid-area: shots; }
  .sheet__body { grid-area: body; min-width: 0; }
  .sheet__side {
    grid-area: side;
    position: sticky;
    top: 12px;
    align-self: start;
  }
  .shots__row a { flex-basis: 78%; }
}

@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* program page: spec column sits a hair tighter than the grids */
.sheet__side .btn-dl { letter-spacing: .01em; }
.miss .chips { margin-top: 6px; }

/* форма DMCA: многострочные поля и ссылка как остальные поля формы */
.form textarea, .form input[type="url"] {
  width: 100%;
  background: var(--hover);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 9px 11px;
}
.form textarea { min-height: 84px; resize: vertical; display: block; }
.form textarea:focus, .form input[type="url"]:focus { border-color: var(--link); outline: none; }
#notice { margin-top: 28px; }
#notice .check { align-items: flex-start; margin: 6px 0; }

/* вводный текст главной с подзаголовками и списком рубрик */
.lede h2 { font-size: 18px; margin: 18px 0 8px; color: #fff; }
.lede ul + h2, .lede p + h2 { margin-top: 20px; }

/* главная: наверху H1 и одна фраза, сразу каталог; слайдер ниже и ниже ростом; полный текст — внизу */
.lede--top { padding: 14px 16px; margin-bottom: 16px; }
.lede--top h1 { margin: 0 0 6px; }
.lede--top p { margin: 0; color: var(--muted); }
.lede--about { margin-top: 28px; }
.lede--about > h2:first-child { font-size: 20px; margin-top: 0; }
.hero { margin-top: 0; }
.hero__slide { height: 190px; }
@media (min-width: 720px) {
  .hero__slide { height: 300px !important; }   /* было 420: слайдер не главное на странице */
}

/* сеть: на телефоне кнопки программы сразу под заголовком, над характеристиками */
@media (max-width: 1099px) {
  .sheet__side { display: flex; flex-direction: column; }
  .sheet__side .btn-dl { order: -3; margin-top: 12px; }
  .sheet__side .btn-old { order: -2; }
  .sheet__side .btn-fav { order: -1; margin-bottom: 12px; }
}
.btn-dl, .btn-old, .btn-fav { min-height: 46px; }

/* сеть: скриншоты «мозаикой» — крупный кадр и плитки; клик по плитке меняет её местами с крупным */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; min-width: 0; }
.mosaic__big, .mosaic__tile { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: pointer; }
.mosaic__big { grid-column: span 3; grid-row: span 2; cursor: zoom-in; }
.mosaic--1 .mosaic__big { grid-column: 1 / -1; grid-row: auto; }
.mosaic--2 .mosaic__big { grid-column: span 3; grid-row: span 1; }
.mosaic img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.mosaic__big img { object-fit: contain; background: #111; }
.mosaic__tile::after { content: attr(data-n); position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.mosaic__tile:hover img { transform: scale(1.05); }
.mosaic__tile:focus-visible, .mosaic__big:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.mosaic.is-swap .mosaic__big img { animation: mosaic-in .3s ease; }
@keyframes mosaic-in { from { opacity: .3; transform: scale(.97); } }
.mosaic__cap { margin: 6px 0 14px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 719px) { .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mosaic__big { grid-column: 1 / -1; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .mosaic img, .mosaic.is-swap .mosaic__big img { transition: none; animation: none; } }

/* сеть: «What readers open most» — популярное по GSC, порядок свой для сайта */
.most__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; counter-reset: most; }
.most__list a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px 10px 38px; background: var(--panel); border-radius: var(--radius); color: inherit; text-decoration: none; }
.most__list a::before { counter-increment: most; content: counter(most); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: 14px; }
.most__list a:hover { background: #2c2c2c; }
.most__list img { width: 44px; height: 44px; border-radius: 10px; }
.most__list span { min-width: 0; }
.most__list small { color: var(--muted); font-size: 12px; }
.most__list em { display: block; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@media (min-width: 720px) { .most__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .most__list { grid-template-columns: 1fr 1fr 1fr; } }
.most__ph { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #333; color: #fff; font-size: 18px; }

/* сеть: шапка с поиском липнет при прокрутке */
.bar { position: sticky; top: 0; z-index: 30; background: var(--bg); padding-bottom: 10px; }
@media (min-width: 1100px) { .bar { padding-bottom: 10px; } }
