/* ============================================================
   BNWO.NL — визуал v2: чёрно-белый, жёсткий, плакатный.
   Только чёрный, белый, серый. Толстые линии, огромный
   конденс-шрифт, моноширинные метки, бегущие строки,
   инверсия блоков, зерно + скан-линии.
   ============================================================ */

:root {
  /* ночная палитра: не чистый белый, а приглушённая кость на угольном */
  --black: #0a0a0a;
  --white: #cfcac0;      /* основной «белый» — тёплая кость */
  --bright: #e8e4da;     /* только для крупных заголовков */
  --panel: #141414;      /* «инвертированные» блоки — тёмно-угольные вместо белых */
  --panel-2: #1b1b1b;
  --gray: #7a7873;
  --gray-2: #4a4945;
  --line: #262626;
  --rule: #4d4b46;       /* толстые линии-разделители — приглушённые, не белые */

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-ui: "Archivo", "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", "JetBrains Mono", "Consolas", monospace;

  --w: 1320px;
  --ease: cubic-bezier(.2, .9, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--white); color: var(--black); }

/* зерно + скан-линии на весь экран */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .04;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
}

.container { width: min(var(--w), calc(100% - 48px)); margin: 0 auto; }

/* --- типографика --- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .9;
  margin: 0;
}
.outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-title, .section-head h2, .manifesto h2, .membership h2, .watch-title, .paywall h3 { color: var(--bright); }
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* --- кнопки: прямоугольные, толстая рамка, инверсия при наведении --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 14px 22px;
  border: 2px solid currentColor;
  background: transparent; color: var(--white);
  transition: background .12s, color .12s, transform .12s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn:active { transform: translate(2px, 2px); }
.btn-solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-solid:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 10px 14px; font-size: 11px; }
.btn-lg { padding: 18px 32px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-hard { box-shadow: 6px 6px 0 var(--gray-2); }
.btn-hard:active { box-shadow: 2px 2px 0 var(--gray-2); }

/* --- бегущая строка --- */
.ticker {
  overflow: hidden; white-space: nowrap;
  border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .04em;
}
.ticker { color: var(--gray); }
.ticker.inv { background: var(--panel); color: var(--white); }
.ticker > div { display: inline-block; animation: tick 30s linear infinite; }
.ticker span { margin: 0 28px; }
.ticker span::after { content: "✦"; margin-left: 56px; font-size: 14px; vertical-align: middle; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- хедер --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 2px solid var(--rule);
}
.site-header .container { display: flex; align-items: stretch; height: 60px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 26px; letter-spacing: .02em;
  padding-right: 22px; border-right: 2px solid var(--rule);
}
.logo small {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em;
  color: var(--gray); border: 1px solid var(--gray-2); padding: 3px 6px;
}
.nav { display: flex; align-items: stretch; }
.nav a {
  display: flex; align-items: center; padding: 0 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray); border-right: 2px solid var(--line); white-space: nowrap;
  transition: background .12s, color .12s;
}
.nav a:hover { color: var(--white); }
.nav a.active { background: var(--panel-2); color: var(--bright); }
.header-spacer { flex: 1; }
.search {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-left: 2px solid var(--line);
  color: var(--gray); width: 250px;
}
.search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.search input::placeholder { color: var(--gray-2); }
.hdr-btn {
  display: flex; align-items: center; padding: 0 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border-left: 2px solid var(--line); white-space: nowrap;
}
.hdr-btn:hover { background: var(--white); color: var(--black); }
.hdr-btn.solid { background: var(--white); color: var(--black); border-left-color: var(--white); }
.hdr-btn.solid:hover { background: var(--black); color: var(--white); }
.lang-btn { padding: 0 14px; color: var(--gray); font-weight: 700; }
html[lang="ru"] .preview-hud.loading span:last-child::after { content: " · загрузка"; }
.menu-btn { display: none; align-items: center; padding: 0 16px; border-left: 2px solid var(--line); }
.menu-btn .x { display: none; }
.menu-btn.open .x { display: block; }
.menu-btn.open .bars { display: none; }

/* мобильное меню: выпадает под хедером */
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--black); border-top: 2px solid var(--rule);
  flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 2px solid var(--line);
  font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; color: var(--bright);
}
.mobile-menu a small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--gray); }
.mobile-menu a.solid { background: var(--white); color: var(--black); }
.mobile-menu .search { display: flex; width: auto; border: 0; border-bottom: 2px solid var(--line); padding: 16px 20px; }
.mobile-menu .search input { font-size: 13px; }
body.menu-open { overflow: hidden; }

/* --- hero --- */
.hero { position: relative; padding: 60px 0 70px; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: 1.2fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1;
}
.hero-title { font-size: clamp(64px, 9.4vw, 148px); line-height: .86; margin-top: 18px; }
html[lang="ru"] .hero-title { font-size: clamp(52px, 7.6vw, 118px); }
.hero-sub { margin: 28px 0 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: #cfcfcf; }
.hero-sub b { color: var(--black); background: var(--white); padding: 0 5px; font-weight: 600; }
.hero-actions { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; }

/* гигантский контурный фон */
.hero-bg {
  position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%); z-index: 0;
  font-family: var(--font-display); font-size: clamp(120px, 27vw, 430px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px #262626; pointer-events: none;
  white-space: nowrap; user-select: none;
}

/* --- 3D членская карта: чёрная, белое тиснение --- */
.card-stage { perspective: 1400px; display: flex; justify-content: center; padding: 20px 30px 30px 0; }
.member-card {
  width: 100%; max-width: 460px; aspect-ratio: 1.586;
  position: relative; border: 2px solid var(--rule);
  background: radial-gradient(120% 120% at 20% 0%, #202020 0%, #0a0a0a 55%, #000 100%);
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform-style: preserve-3d;
  box-shadow: 18px 18px 0 #33322f, 0 40px 80px rgba(0,0,0,.8);
  animation: float 7s ease-in-out infinite;
  overflow: hidden;
}
@keyframes float {
  0%, 100% { transform: rotateY(-16deg) rotateX(8deg) rotateZ(-2deg) translateY(0); }
  50%      { transform: rotateY(-9deg) rotateX(4deg) rotateZ(-2deg) translateY(-10px); }
}
.member-card::before {
  content: ""; position: absolute; inset: -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  animation: sheen 5s linear infinite; pointer-events: none;
}
@keyframes sheen { from { transform: translateX(-45%); } to { transform: translateX(45%); } }
.member-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#fff .6px, transparent .7px);
  background-size: 6px 6px; opacity: .08;
}
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-brand { font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; }
.mc-brand small { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: .24em; color: var(--gray); margin-top: 2px; }
.mc-chip {
  width: 44px; height: 32px; border: 2px solid var(--rule);
  background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 6px);
}
.mc-tier {
  font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 74px); line-height: .9;
  text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--white);
}
.mc-tier b { color: var(--white); -webkit-text-stroke: 0; font-weight: 400; }
.mc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.mc-bottom div { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--gray); text-transform: uppercase; }
.mc-bottom b { display: block; color: var(--white); font-size: 14px; letter-spacing: .1em; margin-top: 4px; }
.mc-bar {
  height: 24px; width: 130px;
  background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px, var(--white) 4px 7px, transparent 7px 9px, var(--white) 9px 10px, transparent 10px 13px);
}

/* --- полоса цифр --- */
.stats { border-bottom: 2px solid var(--rule); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; border-right: 2px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 52px; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }

/* --- секции --- */
.section { padding: 80px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--rule);
}
.section-head h2 { font-size: clamp(44px, 6vw, 84px); margin-top: 10px; }
.more { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 2px solid var(--rule); padding-bottom: 4px; white-space: nowrap; }
.more:hover { color: var(--gray); border-color: var(--gray); }

/* панель архива: чипы слева, сортировка справа */
.toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.toolbar .chips { margin-bottom: 0; }
.sort {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray);
}
.sort select {
  appearance: none; -webkit-appearance: none;
  background: var(--black) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23cfcac0' stroke-width='2'/></svg>") no-repeat right 14px center;
  color: var(--white); border: 2px solid var(--rule); padding: 10px 40px 10px 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; outline: 0;
}
.sort select:hover, .sort select:focus { border-color: var(--white); }
.chips { display: flex; flex-wrap: wrap; margin-bottom: 28px; border: 2px solid var(--rule); width: fit-content; }
.chip {
  padding: 10px 18px; border-right: 2px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray);
}
.chip:last-child { border-right: 0; }
.chip:hover { color: var(--white); }
.chip.active { background: var(--white); color: var(--black); }

/* --- сетка карточек: плотная, с общими рамками --- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--rule); border-right: 0; border-bottom: 0; }
.card {
  display: block; position: relative; background: var(--black);
  border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
  transition: background .12s, color .12s;
}
.card:hover { background: var(--panel-2); color: var(--bright); }
.thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #111; border-bottom: 2px solid var(--rule); }
.poster {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 14px;
  filter: grayscale(1) contrast(1.25);
  transition: transform .5s var(--ease);
}
.poster::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#000 .8px, transparent .9px);
  background-size: 5px 5px; opacity: .35; mix-blend-mode: multiply;
}
.card:hover .poster { transform: scale(1.06); }
.poster b {
  font-family: var(--font-display); font-size: 34px; line-height: .9; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); position: relative; z-index: 1;
}
/* чёрно-белые «постеры» (заглушки под реальные превью) */
.p1 { background: linear-gradient(160deg, #9a9a9a, #1c1c1c 60%, #000); }
.p2 { background: radial-gradient(120% 80% at 80% 20%, #d0d0d0, #3a3a3a 45%, #000 80%); }
.p3 { background: linear-gradient(20deg, #000 30%, #6b6b6b 55%, #000 80%); }
.p4 { background: conic-gradient(from 200deg at 40% 60%, #000, #8d8d8d, #000, #4a4a4a, #000); }
.p5 { background: linear-gradient(90deg, #e6e6e6 0 20%, #000 20% 40%, #b5b5b5 40% 60%, #000 60% 80%, #777 80%); }
.p6 { background: radial-gradient(60% 90% at 30% 70%, #bdbdbd, #222 60%, #000); }
.p7 { background: repeating-linear-gradient(135deg, #000 0 18px, #5a5a5a 18px 22px); }
.p8 { background: linear-gradient(180deg, #000 0%, #9c9c9c 50%, #000 100%); }

/* реальные обложки: ч/б по умолчанию, цвет при наведении */
.poster-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.15) brightness(.85);
  transition: transform .5s var(--ease), filter .3s;
}
.card:hover .poster-img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.player .poster-img { filter: grayscale(1) contrast(1.1) brightness(.55); }
.frame { position: absolute; inset: 0; z-index: 2; background: var(--black); }
.frame:empty { display: none; }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }
/* постраничная навигация архива */
.pager { display: flex; justify-content: center; margin-top: 32px; border: 2px solid var(--rule); width: fit-content; margin-left: auto; margin-right: auto; }
.pager button, .pager span {
  min-width: 48px; padding: 12px 14px; border-right: 2px solid var(--rule);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--gray); text-align: center;
}
.pager > :last-child { border-right: 0; }
.pager button:hover { color: var(--white); background: var(--panel-2); }
.pager button.on { background: var(--white); color: var(--black); }
.pager button:disabled { opacity: .3; pointer-events: none; }

.badge {
  position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; background: var(--black); color: var(--white); border: 1px solid var(--gray);
}
.badge-preview { top: 10px; left: 10px; }
.badge-preview::before { content: "●"; margin-right: 6px; font-size: 8px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.badge-lock { top: 10px; right: 10px; background: var(--white); color: var(--black); }
.badge-free { top: 10px; right: 10px; }
.badge-dur { bottom: 10px; right: 10px; }
.play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.play span {
  font-family: var(--font-display); font-size: 28px; text-transform: uppercase; letter-spacing: .06em;
  background: var(--white); color: var(--black); padding: 8px 18px; transform: skewX(-8deg);
}
.card:hover .play { opacity: 1; }
.card-body { padding: 14px 16px 16px; }
.card-title { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.card-meta { display: flex; gap: 10px; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.card:hover .card-meta { color: var(--white); }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--line); color: var(--gray); }
.card:hover .tag { border-color: var(--gray); color: var(--white); }

/* --- манифест: белый инвертированный блок --- */
.manifesto { background: var(--panel); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.manifesto .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.manifesto h2 { font-size: clamp(56px, 8vw, 120px); line-height: .86; margin-top: 12px; }
.manifesto p { font-size: 19px; line-height: 1.5; margin: 0 0 22px; max-width: 520px; }
.manifesto p b { background: var(--white); color: var(--black); padding: 0 6px; font-weight: 600; }
.rules { list-style: none; padding: 0; margin: 10px 0 0; border-top: 2px solid var(--rule); }
.rules li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 2px solid var(--rule);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
}
.rules li b { font-family: var(--font-display); font-size: 40px; letter-spacing: 0; line-height: 1; }
.manifesto .bg {
  position: absolute; right: -3vw; bottom: -.2em; z-index: 0;
  font-family: var(--font-display); font-size: 28vw; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px #242424; pointer-events: none; user-select: none; white-space: nowrap;
}

/* --- членство --- */
.membership { padding: 90px 0; }
.membership .container { display: grid; grid-template-columns: 1fr 480px; gap: 70px; align-items: center; }
.membership h2 { font-size: clamp(56px, 8vw, 130px); margin-top: 12px; }
.membership p { font-size: 17px; color: #cfcfcf; max-width: 520px; margin: 24px 0; }
.benefits { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--rule); }
.benefits li {
  padding: 14px 0; border-bottom: 2px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: flex; gap: 14px;
}
.benefits li::before { content: "[✓]"; color: var(--gray); }

.price-card {
  background: var(--panel); color: var(--white);
  padding: 34px; position: relative; border: 2px solid var(--rule);
  box-shadow: 14px 14px 0 #1f1f1e;
}
.price-tier { font-family: var(--font-display); font-size: 68px; line-height: .9; text-transform: uppercase; color: var(--bright); }
.price-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 22px; padding-top: 22px; border-top: 2px solid var(--rule); }
.price b { font-family: var(--font-display); font-size: 96px; line-height: .85; color: var(--bright); }
.price span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.inv-box .btn-solid { box-shadow: 6px 6px 0 var(--gray-2); }
.price-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin: 16px 0 0; text-align: center; }
.single {
  margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.single b { font-family: var(--font-display); font-size: 26px; letter-spacing: .02em; }

/* --- футер --- */
.site-footer { border-top: 2px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-grid > div { padding: 40px 24px; border-right: 2px solid var(--line); }
.footer-grid > div:first-child { padding-left: 0; }
.footer-grid > div:last-child { border-right: 0; }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.footer-grid a { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; padding: 4px 0; color: #ddd; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; }
.footer-brand p { color: var(--gray); max-width: 360px; margin: 14px 0 0; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; border-top: 2px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray);
}

/* ============================================================
   INSIDE — сторона для подписчиков. Та же система, плюс один
   акцент (багровый), которого снаружи нет.
   ============================================================ */
:root { --inside: #8c1c2b; --inside-2: #b3243a; }
body.member .site-header { border-bottom-color: var(--inside); }
.member-chip {
  display: flex; align-items: center; gap: 10px; padding: 0 18px;
  border-left: 2px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.member-chip i { width: 8px; height: 8px; background: var(--inside-2); box-shadow: 0 0 10px var(--inside-2); animation: blink 1.6s steps(2) infinite; }
.member-chip b { color: var(--bright); font-weight: 700; }
.member-chip small { color: var(--inside-2); }
.ticker.inside { border-color: var(--inside); color: var(--white); }
.ticker.inside span::after { color: var(--inside-2); }
/* блоки «только гость» / «только подписчик»: display берётся из своего правила,
   но только когда класс на body совпадает */
.only-guest, .only-member { display: none !important; }
body:not(.member) .only-guest, body.member .only-member { display: revert !important; }
body:not(.member) .nav a.only-guest, body.member .nav a.only-member,
body:not(.member) .hdr-btn.only-guest, body.member .hdr-btn.only-member,
body.member .member-chip.only-member,
body:not(.member) .mobile-menu a.only-guest, body.member .mobile-menu a.only-member { display: flex !important; }
body:not(.member) .side-card.only-guest, body.member .side-card.only-member,
body.member .wall.only-member { display: block !important; }
body:not(.member) small.only-guest { display: inline !important; }

/* приветствие */
.feed-hero { padding: 56px 0 40px; }
.feed-hero .container { display: grid; grid-template-columns: 1.2fr .9fr; gap: 40px; align-items: center; }
.feed-hero h1 { font-size: clamp(48px, 7vw, 108px); margin-top: 14px; }
.feed-hero h1 .num { color: var(--inside-2); }
.feed-hero p { color: #cfcfcf; font-size: 17px; max-width: 520px; margin: 22px 0 0; }
.member-card.mine { animation: none; transform: rotateY(-12deg) rotateX(6deg) rotateZ(-1deg); border-color: var(--inside); box-shadow: 18px 18px 0 var(--inside), 0 40px 80px rgba(0,0,0,.8); }
.member-card.mine .mc-brand small { color: var(--inside-2); }

/* ранг и статус */
.standing { border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.standing .container { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }
.standing > .container > div { padding: 24px 24px; border-right: 2px solid var(--line); }
.standing > .container > div:first-child { padding-left: 0; }
.standing > .container > div:last-child { border-right: 0; }
.standing b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--bright); }
.standing span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.rank-bar { height: 6px; background: var(--line); margin-top: 12px; position: relative; }
.rank-bar i { display: block; height: 100%; width: var(--p, 40%); background: var(--inside-2); }
.rank-next { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-top: 8px; display: flex; justify-content: space-between; }

/* отсчёт до дропа */
.drop { background: var(--panel); border: 2px solid var(--rule); padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 40px; }
.drop h3 { font-size: 40px; margin: 8px 0 0; }
.drop .cd { display: flex; gap: 18px; }
.drop .cd div { text-align: center; border: 2px solid var(--rule); padding: 12px 16px; min-width: 84px; }
.drop .cd b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--bright); }
.drop .cd span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }

/* строка «продолжить» — горизонтальный список */
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 0; overflow-x: auto; border: 2px solid var(--rule); border-right: 0; scrollbar-width: thin; }
.row-scroll .card { border-bottom: 0; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); z-index: 3; }
.progress i { display: block; height: 100%; width: var(--p, 30%); background: var(--inside-2); }
.badge-inside { top: 10px; right: 10px; background: var(--inside); color: var(--bright); border-color: var(--inside); }

/* сообщество: опросы, заявки */
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--rule); }
.community-grid > div { padding: 28px; border-right: 2px solid var(--rule); }
.community-grid > div:last-child { border-right: 0; }
.community-grid h3 { font-size: 34px; margin: 8px 0 18px; }
.poll { list-style: none; padding: 0; margin: 0; }
.poll li { position: relative; padding: 12px 14px; margin-bottom: 8px; border: 2px solid var(--line); cursor: pointer; overflow: hidden; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; }
.poll li i { position: absolute; inset: 0; width: var(--p, 0%); background: rgba(140,28,43,.35); z-index: 0; transition: width .4s var(--ease); }
.poll li span, .poll li b { position: relative; z-index: 1; }
.poll li:hover, .poll li.voted { border-color: var(--inside-2); }
.poll li.voted::after { content: "✓"; position: relative; z-index: 1; margin-left: 10px; color: var(--inside-2); }
.poll-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-top: 10px; display: flex; justify-content: space-between; }
.requests { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line); }
.requests li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 2px solid var(--line); }
.requests .vote { font-family: var(--font-display); font-size: 26px; line-height: 1; text-align: center; border: 2px solid var(--line); padding: 6px 0; cursor: pointer; color: var(--bright); }
.requests .vote:hover, .requests .vote.on { border-color: var(--inside-2); color: var(--inside-2); }
.requests .vote small { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: var(--gray); }
.requests .txt { font-size: 15px; }
.requests .txt small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-top: 3px; }
.requests .st { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--gray); color: var(--gray); }
.requests .st.hot { border-color: var(--inside-2); color: var(--inside-2); }
.request-form { display: flex; gap: 0; margin-top: 18px; border: 2px solid var(--rule); }
.request-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); padding: 12px 14px; font-family: var(--font-ui); font-size: 14px; }
.request-form .btn { border: 0; border-left: 2px solid var(--rule); }
.links-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

/* стена комментариев под видео */
.wall { margin-top: 40px; border-top: 2px solid var(--rule); padding-top: 24px; }
.wall-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.wall-head h3 { font-size: 34px; }
.comment { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.avatar { width: 44px; height: 44px; border: 2px solid var(--rule); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; color: var(--bright); background: var(--panel); }
.avatar.me { border-color: var(--inside-2); }
.comment .who { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); display: flex; gap: 12px; align-items: center; }
.comment .who b { color: var(--bright); }
.comment .who .rk { color: var(--inside-2); }
.comment p { margin: 6px 0 0; font-size: 15px; color: #d8d4cb; }
.comment .acts { display: flex; gap: 14px; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.comment .acts span:hover { color: var(--white); cursor: pointer; }
.comment-form { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-top: 18px; }
.comment-form textarea { width: 100%; min-height: 76px; background: var(--panel); border: 2px solid var(--rule); color: var(--white); padding: 12px; font-family: var(--font-ui); font-size: 14px; resize: vertical; outline: 0; }
.comment-form textarea:focus { border-color: var(--white); }
.comment-form .btn { margin-top: 10px; }
.rate { display: flex; gap: 0; border: 2px solid var(--rule); width: fit-content; }
.rate button { padding: 10px 16px; border-right: 2px solid var(--rule); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.rate button:last-child { border-right: 0; }
.rate button:hover, .rate button.on { background: var(--inside); color: var(--bright); }

@media (max-width: 960px) {
  .feed-hero .container, .community-grid { grid-template-columns: 1fr; }
  .community-grid > div { border-right: 0; border-bottom: 2px solid var(--rule); }
  .community-grid > div:last-child { border-bottom: 0; }
  .standing .container { grid-template-columns: 1fr 1fr; }
  .standing > .container > div:nth-child(2) { border-right: 0; }
  .standing > .container > div:nth-child(n+3) { border-top: 2px solid var(--line); }
  .standing > .container > div:nth-child(3) { padding-left: 0; }
  .drop { grid-template-columns: 1fr; }
  .drop .cd div { min-width: 0; flex: 1; padding: 10px 6px; }
  .drop .cd b { font-size: 30px; }
}
@media (max-width: 640px) {
  .member-chip { padding: 0 12px; font-size: 10px; }
  .member-chip small { display: none; }
  .standing .container { grid-template-columns: 1fr; }
  .standing > .container > div { border-right: 0; padding-left: 0; border-top: 2px solid var(--line); }
  .standing > .container > div:first-child { border-top: 0; }
}

/* ============================================================
   страница видео
   ============================================================ */
.watch { padding: 26px 0 70px; }
.crumbs { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }
.crumbs span { color: var(--white); }
.watch-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

.player { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; border: 2px solid var(--rule); }
.player .poster { filter: grayscale(1) contrast(1.2) brightness(.7); }
.player .poster b { font-size: 64px; }

/* прогресс превью — толстая линия сверху */
.preview-bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: #333; z-index: 4; }
.preview-bar i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--white); transition: width .1s linear; }

.preview-hud {
  position: absolute; top: 20px; left: 18px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  background: var(--black); border: 1px solid var(--gray); padding: 8px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.preview-hud::before { content: "●"; font-size: 9px; animation: blink 1.2s steps(2) infinite; }
.preview-hud b { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; line-height: 1; }
/* пока плеер грузится — цифры не идут, мигает «loading» */
.preview-hud.loading b { opacity: .35; }
.preview-hud.loading span:last-child::after { content: " · loading"; animation: blink 1s steps(2) infinite; }

.big-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; }
.big-play button {
  font-family: var(--font-display); font-size: 40px; text-transform: uppercase; letter-spacing: .04em;
  background: var(--white); color: var(--black); padding: 12px 36px 12px 30px;
  border: 2px solid var(--rule); box-shadow: 10px 10px 0 var(--black), 10px 10px 0 2px var(--white);
  display: flex; align-items: center; gap: 16px;
  transition: transform .15s var(--ease);
}
.big-play button:hover { transform: scale(1.04); }
.big-play button:active { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--black), 4px 4px 0 2px var(--white); }

/* пейволл: инверсия — белый экран, чёрный текст */
.paywall {
  position: absolute; inset: 0; z-index: 6;
  background: rgba(12,12,12,.94); color: var(--white);
  display: grid; place-items: center; text-align: center; padding: 30px;
  opacity: 0; pointer-events: none; transform: translateY(100%);
  transition: transform .35s var(--ease), opacity .2s;
}
.paywall.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.paywall .code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; border: 1px solid var(--gray); padding: 5px 10px; display: inline-block; color: var(--gray); }
.paywall h3 { font-size: clamp(36px, 5.2vw, 76px); line-height: .88; margin: 16px 0 12px; }
.paywall p { color: var(--gray); max-width: 520px; margin: 0 auto 22px; font-size: 15px; }
.paywall-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.paywall small { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.paywall .replay { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; }

.watch-title { font-size: clamp(44px, 6vw, 84px); margin: 28px 0 12px; }
.watch-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.pill { border: 1px solid var(--gray); color: var(--white); padding: 4px 10px; }
.watch-desc { margin: 18px 0 0; max-width: 720px; font-size: 16px; color: #cfcfcf; }
.watch-actions { display: flex; margin-top: 22px; border: 2px solid var(--rule); width: fit-content; }
.watch-actions .btn { border: 0; border-right: 2px solid var(--rule); }
.watch-actions .btn:last-child { border-right: 0; }

.side-card {
  position: sticky; top: 84px; background: var(--panel); color: var(--white); padding: 26px;
  border: 2px solid var(--rule); box-shadow: 10px 10px 0 #1f1f1e;
}
.side-card .price-tier { font-size: 52px; }
.side-card .price { margin: 18px 0 14px; padding-top: 14px; }
.side-card .price b { font-size: 64px; }
.side-list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 2px solid var(--rule); }
.side-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 10px; }
.side-list li::before { content: "[✓]"; color: var(--gray); }

/* ============================================================
   адаптив
   ============================================================ */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .membership .container { grid-template-columns: 1fr 420px; }
  .search { width: 190px; }
}
@media (max-width: 960px) {
  .nav, .search { display: none; }
  .menu-btn { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-bg { display: none; }
  .card-stage { padding: 10px 24px 30px 0; }
  .member-card { animation: none; transform: rotateY(-10deg) rotateX(5deg); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 2px solid var(--line); }
  .manifesto .container, .membership .container { grid-template-columns: 1fr; gap: 40px; }
  .manifesto .bg { display: none; }
  .watch-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { border-right: 0; border-bottom: 2px solid var(--line); padding-left: 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .grid { grid-template-columns: 1fr 1fr; }
  .hdr-btn.ghost { display: none; }
  .logo small { display: none; }
  .hero-title { font-size: clamp(56px, 16vw, 92px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-note { display: block; font-size: 10px; letter-spacing: .12em; }
  .hero-note::before { display: none; }
  .ticker { font-size: 18px; }
  .stat b { font-size: 40px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .chips { width: 100%; }
  .chip { flex: 1; text-align: center; padding: 10px 8px; }
  .manifesto, .membership { padding: 60px 0; }
  .rules li { grid-template-columns: 48px 1fr; font-size: 11px; }
  .rules li b { font-size: 30px; }
  .watch-actions { width: 100%; }
  .watch-actions .btn { flex: 1; }
  .site-header .container { width: calc(100% - 24px); }
  .logo { padding-right: 14px; font-size: 22px; }
  .hdr-btn { padding: 0 14px; font-size: 10px; }
  .price-card { padding: 24px; }
  .price b { font-size: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .big-play button { font-size: 22px; padding: 6px 18px 6px 14px; gap: 10px; }
  .big-play button svg { width: 20px; height: 20px; }
  .preview-hud { top: 14px; left: 10px; padding: 5px 9px; font-size: 9px; gap: 8px; }
  .preview-hud b { font-size: 16px; }
  .player .poster b { font-size: 34px; }
  /* пейволл на телефоне: плеер растягивается под контент, а не режет кнопки */
  .player.walled { aspect-ratio: auto; min-height: 190px; }
  .player.walled .poster, .player.walled .preview-bar { display: none; }
  .player.walled .paywall { position: relative; transform: none; padding: 26px 16px; }
  .paywall h3 { font-size: 34px; }
  .paywall p { display: none; }
  .paywall-actions { flex-direction: column; gap: 10px; }
  .paywall-actions .btn { width: 100%; }
  .watch-meta { row-gap: 6px; }
}
@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr; }
  .member-card { box-shadow: 10px 10px 0 var(--white); }
  .card-stage { padding-right: 12px; }
}

/* ============================================================
   v3: роли аккаунта, календарь, плейлисты, модалка
   ============================================================ */
.acct-banner { border-bottom: 2px solid var(--rule); background: var(--panel); }
.acct-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); flex-wrap: wrap; }
.acct-banner b { color: var(--bright); }
.acct-banner.is-expired { border-bottom-color: var(--inside); }
.acct-banner.is-expired b { color: var(--inside-2); }
body.free .site-header, body.expired .site-header { border-bottom-color: var(--gray-2); }
.member-chip.is-free i { background: var(--gray); box-shadow: none; animation: none; }
.member-chip.is-free small, .member-chip.is-expired small { color: var(--gray); }
.member-chip.is-expired i { background: var(--gray-2); box-shadow: none; animation: none; }
.only-free, .only-expired { display: none !important; }
body.free .only-free, body.expired .only-expired { display: revert !important; }
body.free .member-chip.only-free, body.expired .member-chip.only-expired, body.free .hdr-btn.only-free, body.expired .hdr-btn.only-expired,
body.free .mobile-menu a.only-free, body.expired .mobile-menu a.only-expired { display: flex !important; }
body.logged .only-anon { display: none !important; }
.only-logged { display: none !important; }
body.logged .only-logged { display: revert !important; }
body.logged .nav a.only-logged, body.logged .hdr-btn.only-logged, body.logged .mobile-menu a.only-logged { display: flex !important; }

.badge-early { top: 10px; right: 10px; background: var(--black); color: var(--bright); border: 1px solid var(--inside-2); }
.pill.hot { border-color: var(--inside-2); color: var(--inside-2); }
.drop h3 .late { color: var(--inside-2); -webkit-text-stroke: 0; font-size: .55em; display: block; margin-top: 6px; }
.drop h3 .soon { -webkit-text-stroke: 0; color: var(--gray); }

/* модалка (демо-вход) */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; }
.modal-box { background: var(--panel); border: 2px solid var(--rule); padding: 28px; width: min(440px, 100%); box-shadow: 12px 12px 0 #1f1f1e; }
.modal-box h3 { font-size: 36px; margin-top: 8px; }
.modal-box .replay { display: block; margin: 0 auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; color: var(--gray); }

/* календарь */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cal-head h3 { font-size: clamp(32px, 4vw, 52px); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); border: 2px solid var(--rule); border-bottom: 0; }
.cal-dow span { padding: 8px 10px; border-right: 2px solid var(--line); }
.cal-dow span:last-child { border-right: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 2px solid var(--rule); border-right: 0; border-bottom: 0; }
.cal-cell { min-height: 92px; padding: 8px 10px; border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule); position: relative; display: flex; flex-direction: column; gap: 6px; }
.cal-cell.empty { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }
.cal-cell b { font-family: var(--font-display); font-size: 20px; color: var(--gray); }
.cal-cell.today b { color: var(--bright); }
.cal-cell.today::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--white); pointer-events: none; }
.cal-cell.has { cursor: pointer; }
.cal-cell.has:hover { background: var(--panel-2); }
.cal-cell.has b { color: var(--bright); }
.cal-cell small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dots { display: flex; gap: 4px; }
.dot { width: 10px; height: 10px; display: inline-block; background: var(--white); }
.dot.k-early { background: transparent; border: 2px solid var(--white); }
.dot.k-exclusive { background: var(--inside-2); }
.dot.done { background: var(--gray-2); border: 0; }
.cal-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-entries { list-style: none; padding: 0; margin: 12px 0 0; border-top: 2px solid var(--rule); }
.cal-entry { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--line); }
.cal-entry b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--gray); }
.cal-entry .ttl { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--bright); }
.cal-entry .ttl .tag { font-style: normal; vertical-align: middle; margin-left: 8px; }
.cal-entry .st { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--gray); color: var(--gray); }
.cal-entry .st.late { border-color: var(--inside-2); color: var(--inside-2); }
.cal-entry .st.hm { border-color: var(--white); color: var(--white); }
.cal-entry.done .ttl { color: var(--gray); }
.cal-entry.done .ttl a { text-decoration: underline; }
.cal-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

/* сохранённое: вкладки; плейлисты */
.tabs { display: flex; border: 2px solid var(--rule); width: fit-content; margin-bottom: 28px; }
.tabs button { padding: 12px 22px; border-right: 2px solid var(--rule); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.tabs button:last-child { border-right: 0; }
.tabs button.active { background: var(--white); color: var(--black); }
.pl-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--rule); border-right: 0; border-bottom: 0; }
.pl-card { display: block; position: relative; border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.pl-card:hover { background: var(--panel-2); }
.pl-card .thumb { border-bottom: 2px solid var(--rule); }
.pl-card .thumb::after { content: "▶ ▶ ▶"; position: absolute; left: 12px; top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: var(--bright); background: var(--black); padding: 4px 8px; border: 1px solid var(--gray); }
.pl-del { position: absolute; right: 10px; bottom: 12px; font-family: var(--font-mono); color: var(--gray); padding: 4px 8px; border: 1px solid var(--line); }
.pl-del:hover { color: var(--inside-2); border-color: var(--inside-2); }
.pl-items { list-style: none; padding: 0; margin: 0; border: 2px solid var(--rule); max-height: 640px; overflow-y: auto; }
.pl-items li { display: grid; grid-template-columns: 34px 96px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 2px solid var(--line); cursor: pointer; }
.pl-items li:hover { background: var(--panel-2); }
.pl-items li.on { background: var(--panel-2); border-left: 4px solid var(--inside-2); }
.pl-items li b { font-family: var(--font-display); font-size: 18px; color: var(--gray); }
.pl-items li img { width: 96px; aspect-ratio: 16/10; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.pl-items li.on img { filter: none; }
.pl-items .ttl { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: var(--bright); line-height: 1.05; }
.pl-items .ttl small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--gray); margin-top: 3px; }
.pl-rm { font-family: var(--font-mono); color: var(--gray); padding: 4px 8px; }
.pl-rm:hover { color: var(--inside-2); }
.pl-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 260px; background: var(--panel); border: 2px solid var(--rule); padding: 12px; display: none; box-shadow: 8px 8px 0 #1f1f1e; }
.pl-menu.open { display: block; }
.pl-menu button { display: flex; justify-content: space-between; width: 100%; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.pl-menu button:hover { background: var(--panel-2); }
.pl-menu button small { color: var(--gray); }
.watch-actions { position: relative; }

@media (max-width: 960px) { .cal-layout { grid-template-columns: 1fr; } .pl-list { grid-template-columns: 1fr 1fr; } .cal-cell { min-height: 64px; padding: 6px; } .cal-cell small { display: none; } .cal-entry { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 640px) { .pl-list { grid-template-columns: 1fr; } .cal-cell { min-height: 48px; } .cal-cell b { font-size: 15px; } .cal-dow span { padding: 6px 4px; font-size: 8px; } .pl-items li { grid-template-columns: 26px 72px 1fr auto; } }

body.logged .hdr-btn.only-anon, body.logged .mobile-menu a.only-anon { display: none !important; }
.late-line { margin-top: 10px; color: var(--inside-2); }
.late-line::before { background: var(--inside-2); }

/* ---------- админка ---------- */
.adm-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.adm-box { border: 2px solid var(--rule); background: var(--panel); padding: 22px 24px; }
.adm-box h3 { font-size: 30px; margin: 6px 0 14px; }
.adm-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.adm-row label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.adm-row input, .adm-row select, .adm-table input, .adm-table select {
  background: var(--black); color: var(--white); border: 2px solid var(--rule); padding: 9px 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; outline: 0; color-scheme: dark;
}
.adm-row input:focus, .adm-row select:focus { border-color: var(--white); }
.adm-row input[type="file"] { padding: 6px; font-size: 11px; }
.adm-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; margin-top: 16px; }
.adm-day { border: 2px solid var(--rule); padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--gray); }
.adm-day b { font-family: var(--font-display); font-size: 20px; color: var(--white); }
.adm-day small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.adm-day:hover { border-color: var(--white); }
.adm-day.on { background: var(--white); border-color: var(--white); }
.adm-day.on b, .adm-day.on small { color: var(--black); }
.adm-day.taken { border-style: dashed; }
.adm-day.taken.k-early { border-color: var(--white); }
.adm-day.taken.k-exclusive { border-color: var(--inside-2); }
.adm-day:disabled { opacity: .3; pointer-events: none; }
.adm-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--rule); }
.adm-list li { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 2px solid var(--line); }
.adm-list li b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--gray); }
.adm-list li span { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: var(--bright); }
.adm-list li span em { font-style: normal; color: var(--gray); }
.adm-list li span .tag { font-style: normal; margin-left: 8px; vertical-align: middle; }
.adm-list li.done span { color: var(--gray); }
.adm-list .st { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--gray); color: var(--gray); font-style: normal; }
.adm-list .st.hot { border-color: var(--inside-2); color: var(--inside-2); }
.adm-table-wrap { overflow-x: auto; border: 2px solid var(--rule); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); padding: 12px 14px; border-bottom: 2px solid var(--rule); background: var(--panel); }
.adm-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.adm-table td a { text-decoration: underline; }
.adm-table .st { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--gray); color: var(--gray); font-style: normal; }
.adm-table .st.hot { border-color: var(--inside-2); color: var(--inside-2); }
.adm-table input[type="datetime-local"], .adm-table select { padding: 6px 8px; font-size: 11px; }
body.admin .site-header { border-bottom-color: var(--inside); }
@media (max-width: 960px) { .adm-grid { grid-template-columns: 1fr; } .adm-list li { grid-template-columns: 1fr auto; } }

.badge-free { top: 10px; right: 10px; background: var(--white); color: var(--black); }
.dot.k-free { background: var(--gray); }

.force-hide { display: none !important; }

/* конец бесплатного видео у гостя: ряд эксклюзивов */
.upsell { display: flex; gap: 12px; justify-content: center; margin: 0 auto 20px; max-width: 640px; }
.upsell .mini { flex: 1; min-width: 0; text-align: left; border: 2px solid var(--rule); background: var(--black); }
.upsell .mini img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; filter: grayscale(1) contrast(1.1); }
.upsell .mini:hover img { filter: none; }
.upsell .mini span { display: block; padding: 8px 10px 0; font-family: var(--font-display); font-size: 15px; text-transform: uppercase; color: var(--bright); line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upsell .mini small { display: block; padding: 2px 10px 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--inside-2); }
@media (max-width: 640px) { .upsell { gap: 6px; } .upsell .mini span { font-size: 12px; } }

body .force-hide, body:not(.member) .only-guest.force-hide, body.member .only-member.force-hide { display: none !important; }

/* стена внутри плеера: контент не режется — плеер растягивается под него на любой ширине */
.player.walled { aspect-ratio: auto; min-height: 320px; }
.player.walled .poster-img, .player.walled .preview-bar { display: none; }
.player.walled .paywall { position: relative; transform: none; padding: 34px 24px; }
.player.walled .paywall .replay:empty { display: none; }
/* плашка под бесплатным видео */
.free-note { margin-top: 22px; border: 2px solid var(--rule); background: var(--panel); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.free-note h3 { font-size: 30px; margin: 6px 0 10px; }
.free-note ul { list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.free-note li { padding: 5px 0; }
.free-note li::before { content: "[✓] "; color: var(--inside-2); }
@media (max-width: 960px) { .free-note { grid-template-columns: 1fr; } }
/* облако тегов */
.tag-cloud { margin: -8px 0 22px; gap: 8px; }
.tag-cloud .tag { cursor: pointer; padding: 6px 10px; font-size: 10px; }
.tag-cloud .tag.on, .card-tags a.tag:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.adm-tags { font-family: var(--font-mono); font-size: 10px; color: var(--gray); }

/* одна строка под плеером для гостя на бесплатном видео */
.free-strip { margin: 12px 0 0; padding: 12px 16px; border: 2px solid var(--rule); background: var(--panel); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); line-height: 1.6; }
.free-strip span { color: var(--inside-2); margin-right: 8px; }
.free-strip b { color: var(--bright); }
.free-strip a { color: var(--bright); text-decoration: underline; margin-left: 8px; white-space: nowrap; }
.free-note { display: none !important; }

/* ---------- legal ---------- */
.legal-nav { display: flex; flex-wrap: wrap; border: 2px solid var(--rule); width: fit-content; margin-bottom: 28px; }
.legal-nav a { padding: 10px 16px; border-right: 2px solid var(--rule); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.legal-nav a:last-child { border-right: 0; }
.legal-nav a:hover { background: var(--white); color: var(--black); }
.legal-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.legal-side { position: sticky; top: 84px; }
.legal-side p, .legal-side li { font-size: 13px; color: #cfcfcf; line-height: 1.55; }
.legal-side p { margin: 6px 0 16px; }
.legal-side ul { padding-left: 18px; margin: 6px 0 0; }
.legal-side a { text-decoration: underline; }
.legal-body { max-width: 780px; font-size: 15px; line-height: 1.65; color: #d6d2c9; }
.legal-body h3 { font-size: 40px; margin: 56px 0 14px; padding-top: 18px; border-top: 2px solid var(--rule); color: var(--bright); scroll-margin-top: 80px; }
.legal-body h3:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin: 26px 0 8px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { text-decoration: underline; color: var(--bright); }
.legal-body code { font-family: var(--font-mono); font-size: 12px; background: var(--panel); padding: 1px 6px; }
.footer-legal a { text-decoration: underline; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr; } .legal-side { position: static; } .legal-body h3 { font-size: 30px; } }

.age-gate { z-index: 400; background: rgba(0,0,0,.94); }
.age-gate .modal-box h3 { font-size: 44px; }
.age-gate .modal-box { width: min(500px, 100%); }
.age-text { color: #cfcfcf; font-size: 14px; line-height: 1.5; margin: 10px 0 14px; }
.age-text.small { color: var(--gray); font-size: 12px; margin: 14px 0 18px; }
.age-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.age-list li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.4; color: var(--white); }
.age-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; font-family: var(--font-mono); font-size: 12px; color: var(--gray); }
@media (max-width: 480px) { .age-gate .modal-box h3 { font-size: 34px; } .age-list li { font-size: 12px; } }

.xp-how { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2); }

/* ---------- v43: кнопка входа в цветах Patreon, кнопка Admin, стена ---------- */
.hdr-btn.patreon { background: #ff424d; color: #fff; border-left-color: #ff424d; gap: 8px; }
.hdr-btn.patreon:hover { background: #e63946; color: #fff; }
.hdr-btn.patreon svg { flex: 0 0 auto; }
.hdr-btn.admin-btn { color: var(--inside-2); }
.comment .acts span.on { color: var(--bright); }
.comment-form textarea { resize: vertical; }
@media (max-width: 640px) { .wall-head { flex-direction: column; align-items: flex-start; } .rate button { padding: 10px 12px; } }
/* v44: колонки watch не раздуваются содержимым стены на телефоне */
.watch-layout > * { min-width: 0; }
@media (max-width: 640px) { .paywall .code { letter-spacing: .16em; font-size: 10px; } .paywall h3 { font-size: clamp(30px, 9vw, 76px); } .paywall-actions .btn { width: 100%; } }

/* ---------- v45: блок ранга, опросы по видео, вкладка Community в админке ---------- */
.standing .container { grid-template-columns: 1.6fr repeat(4, 1fr); }
.standing .rank-card b { font-size: 44px; }
.standing .rank-next { flex-wrap: wrap; gap: 4px 14px; white-space: nowrap; }
.standing .rank-next em { font-style: normal; color: var(--gray-2); }
.xp-toggle { margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); text-decoration: underline; }
.xp-toggle:hover { color: var(--white); }
.standing .xp-how { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px 0 16px; border-top: 2px solid var(--line); margin-top: 0; }
.standing .xp-how[hidden] { display: none; }
@media (max-width: 900px) {
  .standing .container { grid-template-columns: 1fr 1fr; }
  .standing > .container > .rank-card { grid-column: 1 / -1; border-right: 0; padding-left: 0; }
  .standing > .container > div:nth-child(n+2) { border-top: 2px solid var(--line); }
  .standing > .container > div:nth-child(3), .standing > .container > div:nth-child(5) { border-right: 0; }
  .standing > .container > div:nth-child(2), .standing > .container > div:nth-child(4) { padding-left: 0; }
}
.polls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.poll-block { border: 2px solid var(--rule); padding: 28px; }
.poll-block h3 { font-size: 34px; margin: 8px 0 18px; }
.poll li.vid { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; }
.poll li.vid img { position: relative; z-index: 1; width: 64px; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.1); border: 1px solid var(--line); }
.poll li.vid span { white-space: normal; line-height: 1.35; }
.poll.closed li { cursor: default; }
.poll.closed li:hover { border-color: var(--line); }
.poll.closed li.voted { border-color: var(--inside-2); }
.requests .txt a { text-decoration: none; }
.requests .txt a:hover { text-decoration: underline; }
.adm-row textarea { width: 100%; background: var(--panel); border: 2px solid var(--rule); color: var(--white); padding: 10px 12px; font-family: var(--font-ui); font-size: 14px; outline: 0; resize: vertical; }
.adm-row textarea:focus { border-color: var(--white); }
.adm-picks div { padding: 7px 10px; cursor: pointer; border-bottom: 1px solid var(--line); font-size: 13px; }
.adm-picks div em { font-style: normal; color: var(--gray); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.adm-picks div:hover { background: var(--line); }
@media (max-width: 760px) { .polls-grid { grid-template-columns: 1fr; } .community-grid { grid-template-columns: 1fr; } .community-grid > div { border-right: 0; border-bottom: 2px solid var(--rule); } .community-grid > div:last-child { border-bottom: 0; } }
.poll li.vid { grid-template-columns: 64px 1fr auto auto; }
.poll li.vid.voted::after { margin-left: 0; }
/* v45: телефоны — действия под плеером переносятся, стена не шире экрана, админ-бокс не вылезает */
@media (max-width: 640px) {
  .watch-actions { flex-wrap: wrap; width: 100%; }
  .watch-actions .btn { flex: 1 1 auto; border-bottom: 2px solid var(--rule); }
  .watch-actions .btn:last-child { border-right: 0; }
  .player.walled .paywall { padding: 24px 14px; }
  .paywall h3 { overflow-wrap: anywhere; }
  .paywall .btn { white-space: normal; max-width: 100%; }
  .paywall p { font-size: 14px; }
}
.adm-grid > * { min-width: 0; }
.adm-box { max-width: 100%; box-sizing: border-box; overflow-x: auto; }
/* v46: планшет в альбоме / маленький ноутбук — шапка подписчика не вылезает за экран */
@media (max-width: 1180px) and (min-width: 961px) {
  .site-header .search { display: none; }
  .hdr-btn { padding: 0 13px; }
  .nav a { padding: 0 13px; }
  .member-chip { padding: 0 12px; }
}
/* v48: самые узкие телефоны (≤380px) — шапка и админ-боксы ровно по ширине экрана */
.site-header { overflow-x: clip; }
@media (max-width: 380px) {
  .hdr-btn { padding: 0 10px; }
  .member-chip { padding: 0 8px; }
  .menu-btn { padding: 0 12px; }
  .adm-box { padding: 16px 12px; }
  .adm-row { gap: 10px; }
  .adm-row input, .adm-row select { max-width: 100%; }
}

/* v50: из опроса — к видео; на видео — голос за номинанта */
.poll li.vid .poll-thumb { position: relative; z-index: 1; display: block; line-height: 0; }
.poll li.vid .poll-thumb:hover img { filter: none; }
.poll li.vid span small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .14em; color: var(--gray); }
.poll li.vid span small a { text-decoration: underline; }
.poll li.vid span small a:hover { color: var(--white); }
.nominee { margin-top: 18px; }
.nominee-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 2px solid var(--inside-2); background: rgba(140,28,43,.12); padding: 16px 20px; }
.nominee-row b { display: block; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--bright); margin: 4px 0 2px; }
.nominee-row small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.nominee-row small a { text-decoration: underline; }
.nominee-row .btn[disabled] { opacity: .8; cursor: default; }
@media (max-width: 640px) { .nominee-row .btn { width: 100%; } }
/* v51: «Продолжить просмотр» — карточки фиксированной ширины, а не на всю строку */
.row-scroll { grid-auto-columns: 300px; }
@media (max-width: 640px) { .row-scroll { grid-auto-columns: 230px; } }

/* v52: без мигания заглушек — до загрузки роли/данных ролевые элементы и цифры невидимы (класс снимает ui.js) */
html.booting .site-header .hdr-btn.only-guest, html.booting .site-header .hdr-btn.only-logged, html.booting .member-chip, html.booting .acct-banner,
html.booting [data-member-num], html.booting [data-since], html.booting [data-patrons], html.booting [data-count],
html.booting .standing b, html.booting .rank-next, html.booting [data-next-line], html.booting #hero-num { visibility: hidden; }
