/* «Звоните агенту» — неоновая тёмно-фиолетовая тема */
:root {
  --bg: #0c0318;
  --bg-2: #1a0833;
  --panel-a: rgba(92, 34, 150, .42);
  --panel-b: rgba(34, 12, 62, .62);
  --line: rgba(190, 108, 255, .7);
  --line-soft: rgba(168, 85, 247, .38);
  --glow: rgba(150, 62, 255, .28);
  --yellow: #ffc800;
  --yellow-hi: #ffd400;
  --text: #fff;
  --muted: #cfc3e6;
  --radius: 18px;
  --container: 1180px;
  --page-heading-gap: 38px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); line-height: 1.5;
  background:
    radial-gradient(900px 500px at 82% -4%, rgba(138, 60, 230, .38), transparent 70%),
    radial-gradient(700px 600px at -5% 38%, rgba(100, 30, 170, .28), transparent 70%),
    radial-gradient(900px 500px at 50% 105%, rgba(138, 60, 230, .3), transparent 70%),
    linear-gradient(180deg, #0c0318 0%, #14062a 55%, #0c0318 100%);
  background-attachment: fixed;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.yellow { color: var(--yellow); }
.to-white { filter: brightness(0) invert(1); }
.to-dark { filter: brightness(0); }

/* ---------- кнопки, теги ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-yellow { background: var(--yellow); color: #1a1100; box-shadow: 0 0 18px rgba(255, 200, 0, .28); }
.btn-yellow:hover { background: var(--yellow-hi); transform: translateY(-1px); box-shadow: 0 0 26px rgba(255, 200, 0, .45); }
.btn-outline { border-color: var(--yellow); color: var(--yellow); background: rgba(12, 3, 24, .35); }
.btn-outline:hover { background: rgba(255, 200, 0, .12); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-disabled { background: rgba(255, 255, 255, .12); color: var(--muted); cursor: default; }
.tri { width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tag {
  display: inline-flex; align-items: center; padding: 3px 14px; border-radius: 999px;
  background: var(--yellow); color: #1a1100; font-weight: 700; font-size: 14px; line-height: 1.5;
}

/* ---------- заголовки ---------- */
.bar { display: inline-block; width: 4px; align-self: stretch; background: var(--yellow); border-radius: 2px; flex: none; }
.h1 { position: relative; padding-left: 20px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; font-weight: 800; }
.h1 .bar { position: absolute; left: 0; top: .1em; bottom: .1em; align-self: auto; }
.h1 em { font-style: italic; }
.h1-plain { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.2; }
.h2 { display: flex; gap: 12px; align-items: stretch; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.2; }
.lead-sm { margin-top: 12px; font-size: 17px; max-width: 560px; }
.section { padding-block: 34px 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-sub { margin: 10px 0 18px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.more:hover { color: var(--yellow); }
.divider-top { border-top: 1px solid var(--line-soft); margin-top: 28px; padding-top: 34px; }

/* ---------- карточки ---------- */
.card {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(155deg, var(--panel-a), var(--panel-b));
  box-shadow: 0 0 22px var(--glow), inset 0 0 26px rgba(150, 62, 255, .07);
  overflow: hidden;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 3, 24, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(168, 85, 247, .18); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo img { height: 54px; width: auto; }
.header-sep { width: 1px; height: 38px; background: rgba(255, 255, 255, .22); }
.nav { display: flex; align-items: center; gap: 30px; flex: 1; font-weight: 600; font-size: 15px; }
.nav > a { position: relative; padding: 8px 0; color: #f1eaff; }
.nav > a:hover { color: var(--yellow); }
.nav > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: #b45cff; box-shadow: 0 0 10px #b45cff;
}
.nav-extra { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.socials, .footer-socials { display: inline-flex; align-items: center; gap: 24px; }
.soc { display: inline-flex; opacity: .95; transition: transform .15s, opacity .15s; }
.soc:hover { transform: translateY(-2px); opacity: 1; }
.user-badge { display: inline-flex; padding: 3px; border: 1.5px solid #fff; border-radius: 50%; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- подвал ---------- */
.site-footer { margin-top: 70px; border-top: 1px solid var(--line-soft); padding: 34px 0 40px; background: linear-gradient(180deg, transparent, rgba(12, 3, 24, .6)); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr auto; align-items: center; gap: 0; }
.footer-grid > * { padding-inline: 34px; border-left: 1px solid rgba(255, 255, 255, .16); min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.footer-grid > :first-child { padding-left: 0; border-left: 0; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { font-size: 17px; line-height: 1.35; }
.footer-nav { gap: 6px; font-size: 15px; }
.footer-nav a:hover, .footer-nav a.active { color: var(--yellow); }
.footer-nav a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b45cff; }
.footer-contact p { font-size: 14px; }
.footer-contact .mail { color: var(--yellow); font-weight: 800; font-size: 18px; word-break: break-all; }
.footer-contact .mail.mail-regular { font-weight: 400; }
.footer-socials { flex-direction: row; gap: 24px; padding-right: 0; }
.footer-legal { margin-top: 26px; font-size: 13px; color: #d9cdef; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; min-height: 330px; padding-block: var(--page-heading-gap) 20px; }
.hero-text { position: relative; z-index: 2; max-width: 520px; align-self: start; }
.hero-text .lead-sm { font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art {
  position: absolute; right: -2%; top: 0; bottom: 0; width: min(55%, 600px); z-index: 1;
  height: 100%; object-fit: cover; object-position: center top;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 84%, transparent),
    linear-gradient(0deg, transparent, #000 21%, #000 92%, transparent);
  mask-composite: intersect;
}

/* ---------- следующая живая запись (главная) ---------- */
.next-live { position: relative; display: grid; grid-template-columns: 190px 280px 1.1fr 1fr auto; align-items: center; gap: 0; min-height: 118px; margin-top: 10px; }
.next-live-title { display: flex; gap: 14px; padding: 0 24px; align-self: stretch; align-items: center; }
.next-live-title .bar { align-self: auto; height: 56px; }
.next-live-title h2 { font-size: 24px; font-weight: 800; line-height: 1.2; }
.next-live-photo { position: relative; align-self: stretch; margin-left: -10px; }
.next-live-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent); }
.next-live-who { padding: 12px 24px 12px 6px; }
.next-live-who h3 { font-size: 24px; font-weight: 800; line-height: 1.2; }
.next-live-who .small { margin-top: 4px; }
.next-live-info { display: grid; gap: 4px; padding: 12px 24px; border-left: 1px solid rgba(255, 255, 255, .22); font-size: 14px; }
.next-live-info li { display: flex; align-items: center; gap: 10px; }
.next-live-cta { padding: 12px 24px; text-align: center; }
.next-live-cta .seats { margin-top: 8px; font-size: 14px; display: inline-block; padding-bottom: 5px; background: linear-gradient(90deg, transparent, var(--yellow), transparent) bottom / 100% 2px no-repeat; }

/* ---------- выпуски ---------- */
.thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.thumb > img:first-child { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 15%; transition: transform .4s; }
.thumb:hover > img:first-child { transform: scale(1.04); }
.play { position: absolute; left: 14px; bottom: 14px; width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(0, 0, 0, .6)); }
.duration { position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 10px; background: rgba(8, 2, 16, .78); font-weight: 700; font-size: 14px; }
.episode h3 { margin-top: 12px; font-size: 22px; font-weight: 800; padding-left: 4px; }
.episode .muted { padding-left: 4px; font-size: 17px; }
.episode-card { padding: 0; display: flex; flex-direction: column; }
.episode-card .thumb { border-radius: 0; }
.episode-card .thumb .play { width: 38px; height: 38px; }
.episode-body { padding: 14px 14px 18px; display: flex; flex-direction: column; flex: 1; }
.episode-body h3 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.episode-body .role { margin-top: 2px; font-size: 15px; }
.episode-body .topic { margin-top: 10px; font-size: 15px; line-height: 1.4; flex: 1; }
.platforms { display: flex; gap: 10px; margin-top: 16px; align-items: center; }
.platforms a { display: inline-flex; transition: transform .15s; }
.platforms a:hover { transform: translateY(-2px); }
.platforms img { height: 38px; width: auto; }

/* ---------- заголовок внутренних страниц ---------- */
.page-head { position: relative; overflow: hidden; padding-block: var(--page-heading-gap) 18px; margin-bottom: 8px; }
.page-head-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 150px; }
.compact-head { padding-bottom: clamp(20px, 2.2vw, 28px); }
.compact-head .page-head-inner { min-height: 0; }
.head-art { align-self: center; max-width: 46%; pointer-events: none; }
.live-art {
  width: 545px;
  max-width: 56%;
  height: auto;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 94%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 80%, transparent);
  mask-composite: intersect;
}

/* ---------- живые записи ---------- */
.live-next { display: grid; grid-template-columns: 220px 1fr 280px; gap: 0; align-items: stretch; padding: 18px; }
.live-next-photo { border-radius: 14px; overflow: hidden; width: 200px; height: 200px; align-self: center; }
.live-next-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.live-next-main { padding: 6px 28px; align-self: center; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.kicker .bar { height: 18px; align-self: auto; width: 4px; }
.live-next-main h2 { margin-top: 6px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; line-height: 1.1; }
.live-next-main .muted { margin-top: 4px; font-size: 17px; }
.live-next-main .small { margin-top: 10px; }
.live-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 18px; font-size: 16px; }
.live-meta li { display: flex; align-items: center; gap: 10px; }
.live-next-buy { border-left: 1px solid rgba(255, 255, 255, .2); padding: 6px 6px 6px 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.live-next-price { display: grid; gap: 5px; }
.live-next-price + a[href="#booking"] { margin-top: 8px; }
.live-next-buy .price { font-size: 36px; font-weight: 800; color: var(--yellow); line-height: 1.1; }
.seats-left { color: var(--yellow); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.tg-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; font-size: 15px; }
.tg-link:hover { color: var(--yellow); }
.empty-state { padding: 40px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty-state h2 { font-size: 26px; }

.perk { display: flex; align-items: center; gap: 18px; padding: 16px 22px; font-weight: 500; font-size: 16px; line-height: 1.35; border-radius: 14px; }
.perk img { width: 40px; height: 40px; object-fit: contain; flex: none; filter: drop-shadow(0 0 6px rgba(220, 90, 255, .6)); }
.closed-banner { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 34px; margin-top: 26px; padding: 18px 34px 18px 18px; }
.closed-banner img { border-radius: 14px; }
.closed-banner h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.25; padding-bottom: 12px; }
.bullets { display: grid; gap: 4px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; margin-top: 8px; }
.steps li { position: relative; text-align: center; padding-top: 4px; }
.steps li::before { content: ""; position: absolute; top: 20px; left: -50%; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(168, 85, 247, .2), #a855f7); }
.steps li:first-child::before { display: none; }
.step-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--yellow); background: #1a0833; color: var(--yellow); font-weight: 800; font-size: 20px; box-shadow: 0 0 14px rgba(255, 200, 0, .35); }
.steps p { margin-top: 10px; font-size: 16px; }
.review { padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.review strong { display: block; line-height: 1.2; }
.review small { color: var(--muted); font-size: 12px; }
.review blockquote { font-size: 15px; line-height: 1.45; }
.atmosphere { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 16px; }
.atmosphere img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; }
.atmosphere img:last-child { object-position: 50% 30%; }

.booking { display: grid; grid-template-columns: 270px 1fr 160px; gap: 0; align-items: center; padding: 26px 30px; scroll-margin-top: 100px; }
.booking-intro { padding-right: 28px; }
.booking-intro h2 { display: flex; gap: 14px; font-size: 30px; font-weight: 800; line-height: 1.2; }
.booking-intro p { margin-top: 14px; font-size: 15px; color: #f1eaff; }
.booking-form-wrap { border-left: 1px solid rgba(255, 255, 255, .2); border-right: 1px solid rgba(255, 255, 255, .2); padding: 6px 30px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
input[type=text], input[type=email] {
  width: 100%; height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-soft);
  background: rgba(60, 22, 100, .55); color: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #d6cbea; opacity: .9; }
input[type=text]:focus, input[type=email]:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 200, 0, .2); }
.field.has-err input { border-color: #ff6b8b; }
.field-err { display: block; min-height: 0; padding: 4px 18px 0; color: #ff9db3; font-size: 13px; }
.field-err:empty { display: none; }
.consent { margin: 14px 0 12px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--line); background: rgba(60, 22, 100, .55); display: inline-flex; align-items: center; justify-content: center; }
.check input:checked + .box { background: var(--yellow); border-color: var(--yellow); }
.check input:checked + .box::after { content: ""; width: 6px; height: 12px; border: solid #1a1100; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible + .box { outline: 2px solid var(--yellow); outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.booking-form .btn-block { min-height: 54px; font-size: 18px; }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.note svg { flex: none; margin-top: 1px; }
.form-msg { min-height: 0; font-size: 14px; margin-top: 8px; }
.form-msg:empty { display: none; }
.form-msg.err { color: #ff9db3; }
.form-msg.ok { color: #9be7b0; }
.booking-direct { padding-left: 26px; text-align: center; font-size: 14px; display: grid; gap: 14px; justify-items: center; }
.booking-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.booking-direct a:hover { color: var(--yellow); }
.booking-success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 6px 10px; }
.booking-success[hidden], .booking-form[hidden] { display: none; }
.booking-success .ring { width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--yellow); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(255, 200, 0, .4); }
.booking-success h3 { font-size: 30px; font-weight: 800; line-height: 1.2; }
.booking-success hr { width: 100%; border: 0; border-top: 1px solid var(--line-soft); margin: 4px 0; }
.after-pay { display: flex; align-items: center; gap: 14px; text-align: left; color: #f1eaff; }
.after-pay svg { flex: none; color: var(--yellow); }
.booking-success .btn-outline { border-color: #d8b6ff; color: #fff; background: rgba(60, 22, 100, .5); max-width: 420px; }

/* ---------- закрытые материалы ---------- */
.is-private .nav-extra { gap: 20px; }
.mat-head { padding-top: 22px; }
.chip-lock { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 12px; border: 1.5px solid var(--line-soft); background: rgba(60, 22, 100, .5); color: var(--yellow); font-weight: 700; margin-bottom: 14px; }
.mat-head .lead-sm { max-width: none; font-size: 16px; }
.mat-guest { display: grid; grid-template-columns: 340px 1fr 260px; align-items: stretch; margin-top: 22px; }
.mat-guest-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: 50% 15%; }
.mat-guest-main { padding: 22px 26px; align-self: center; display: grid; gap: 6px; justify-items: start; }
.mat-guest-main h2 { font-size: 38px; font-weight: 800; line-height: 1.1; }
.mat-guest-main .role { font-size: 18px; }
.mat-guest-main .muted { font-size: 15px; margin-top: 6px; }
.mat-guest-info { border-left: 1px solid rgba(255, 255, 255, .2); margin: 20px 0; padding: 0 22px; display: grid; gap: 14px; align-content: center; }
.info-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.info-row small { display: block; color: var(--muted); }
.info-row strong { font-size: 19px; }
.format-badge { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-weight: 600; font-size: 14px; line-height: 1.3; }
.prep-card { padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.prep-card h3, .lib-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; line-height: 1.2; }
.watch-item { display: flex; align-items: center; gap: 14px; }
.wthumb { position: relative; flex: none; width: 168px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); }
.wthumb > img:first-child { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wthumb .play { width: 30px; height: 30px; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.wthumb .duration { right: 6px; bottom: 6px; font-size: 12px; padding: 1px 7px; }
.wtext strong { display: block; font-size: 17px; line-height: 1.25; }
.wtext small { color: var(--muted); font-size: 14px; }
.watch-item:hover strong { color: var(--yellow); }
.read-list li + li { border-top: 1px solid var(--line-soft); }
.read-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; }
.read-list li:first-child a { padding-top: 4px; }
.read-list a:hover { color: var(--yellow); }
.read-list img { flex: none; width: 16px; height: 16px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.checks li img { flex: none; margin-top: 6px; }
.checks.topics { grid-template-columns: 1fr 1fr; gap: 14px 40px; font-size: 18px; }
.checks.topics li { font-size: 18px; align-items: center; }
.checks.topics li img { margin-top: 0; }
.lib-card { padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.lib-card .muted { font-size: 15px; min-height: 46px; }
.lib-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.lthumb { position: relative; flex: none; width: 116px; height: 78px; border-radius: 10px; overflow: hidden; }
.lthumb > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.lthumb .play { left: 8px; bottom: 8px; width: 22px; height: 22px; }
.ltext strong { display: block; font-size: 17px; line-height: 1.25; }
.ltext small { color: var(--muted); }
.lib-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.lib-more:hover { color: var(--yellow); }
.after-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.chip-soft { padding: 5px 16px; border-radius: 10px; border: 1px solid var(--line-soft); background: rgba(60, 22, 100, .5); font-size: 14px; }
.after-card { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; min-height: 160px; padding: 18px; text-align: center; font-weight: 800; font-size: 19px; line-height: 1.25; }
.after-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.6); }
.after-card > *:not(.bg) { position: relative; }
.after-card.locked { background: rgba(20, 8, 38, .8); }
a.after-card:hover .bg { opacity: .55; }

/* ---------- новости ---------- */
.featured { margin-bottom: 26px; }
.featured-link { display: grid; grid-template-columns: 1.2fr 1fr; }
.featured-cover { overflow: hidden; } /* увеличенный кадр обложки не выезжает на текст */
.featured-cover img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
img.cover-narrow { display: none; } /* обложка с отдельным кадром для телефона */
/* в две колонки высоту блока задаёт текст, а не высокая фотография: иначе выбранный кадр теряет смысл */
@media (min-width: 861px) {
  .featured-cover { position: relative; min-height: 280px; }
  .featured-cover img { position: absolute; inset: 0; }
}
.featured-body { padding: 26px 30px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.featured-body :is(h1, h2) { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.2; }
.featured-body p { font-size: 17px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.date { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.news-card { height: 100%; }
.news-card-link { display: flex; flex-direction: column; height: 100%; }
.news-cover { position: relative; overflow: hidden; }
.news-cover img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; }
.news-cover .tag { position: absolute; left: 14px; bottom: 10px; font-size: 13px; padding: 2px 13px; }
.news-body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-body h3 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.news-body .muted { font-size: 15px; line-height: 1.4; flex: 1; }
.news-body .news-meta { margin-top: auto; padding-top: 4px; }
.news-card:hover { box-shadow: 0 0 32px rgba(170, 80, 255, .5), inset 0 0 26px rgba(150, 62, 255, .12); }
.news-card:hover h3 { color: var(--yellow); }
.load-more { text-align: center; margin-top: 42px; }
.load-more .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- статья ---------- */
.article { max-width: 940px; padding-top: 20px; }
.back { display: inline-flex; gap: 8px; font-size: 15px; }
.back:hover { color: var(--yellow); }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.article-meta time { font-size: 15px; }
.share { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; font-size: 14px; }
.share:hover { color: var(--yellow); }
.article-title { margin: 12px 0 20px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.2; }
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.article-body { max-width: 840px; margin: 24px auto 0; display: grid; gap: 20px; font-size: 17px; line-height: 1.6; }
.article-body h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin-top: 10px; }
.article-body ul, .article-body ol { display: grid; gap: 8px; padding-left: 1.5em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li::marker { color: var(--yellow); }
.article-body :is(p, li, h2) a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.preview-banner { margin: 0 0 14px; padding: 10px 16px; border: 1.5px dashed var(--yellow); border-radius: 12px; font-size: 14px; color: var(--yellow); }
.preview-banner a { text-decoration: underline; }
.lead-block { border-left: 4px solid var(--yellow); padding-left: 24px; font-weight: 700; font-size: 18px; }
.quote { display: flex; gap: 22px; align-items: flex-start; padding: 18px 26px; border-radius: 14px; font-weight: 600; font-size: 18px; }
.quote img { flex: none; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
/* картинки с выбранным кадром: увеличенный кадр обрезается рамкой */
.gallery-frame { border-radius: 12px; }
.image-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* фото открываются в окне просмотра */
.zoom { display: block; cursor: zoom-in; }
.image-plain { justify-self: start; }
.gallery-frame, .image-frame, .zoom > .card { transition: box-shadow .2s; }
.gallery-frame:hover, .image-frame:hover, .zoom > .card:hover { box-shadow: 0 0 30px rgba(170, 80, 255, .55); }
/* рамка кадра обрезает содержимое, поэтому фокус рисуется на ней самой */
.card:has(> .zoom:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }
.video-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.vthumb { position: relative; display: block; border-radius: 12px; }
.vthumb > img:first-child { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vthumb .play { left: 50%; top: 50%; bottom: auto; width: 54px; height: 54px; transform: translate(-50%, -50%); }
.video-block h3 { font-size: 22px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.related { margin-top: 40px; display: grid; gap: 20px; }
.related-grid .news-cover img { aspect-ratio: 16 / 6; }
.related-grid .news-body h3 { font-size: 16px; }
.more-socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; font-size: 15px; }
.more-socials .socials { gap: 12px; }
.more-socials .soc { padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: rgba(60, 22, 100, .4); }

/* ---------- подписка ---------- */
.subscribe { display: grid; grid-template-columns: auto auto 1fr minmax(320px, 440px); align-items: center; gap: 22px; padding: 26px 34px; }
.subscribe .bell { width: 46px; height: auto; }
.subscribe-sep { width: 1px; height: 54px; background: rgba(255, 255, 255, .22); }
.subscribe-text { font-size: 21px; font-weight: 500; line-height: 1.3; }
.subscribe-field { position: relative; }
.subscribe-field input[type=email] { height: 52px; padding-right: 160px; }
.subscribe-field .btn { position: absolute; right: 0; top: 0; height: 52px; }
.subscribe-msg { grid-column: 1 / -1; text-align: center; margin: 0; }
.subscribe-msg:empty { display: none; }
.subscribe-dialog a, .footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.subscribe-dialog a:hover, .footer-legal a:hover { color: var(--yellow); }
.subscribe-dialog { position: fixed; inset: 0; margin: auto; width: min(520px, calc(100vw - 32px)); height: fit-content; max-height: calc(100vh - 32px); overflow-y: auto; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 30px 26px; color: var(--text); background: #2a0f47; box-shadow: 0 0 40px var(--glow); }
.subscribe-dialog[open] { display: grid; gap: 18px; }
.subscribe-dialog::backdrop { background: rgba(8, 2, 16, .75); backdrop-filter: blur(4px); }
.subscribe-dialog h2 { font-size: 24px; line-height: 1.25; padding-right: 36px; }
.subscribe-dialog .check { align-items: flex-start; line-height: 1.45; }
.subscribe-dialog-policy { font-size: 15px; line-height: 1.5; }
.subscribe-dialog .form-msg { margin: 0; }
.subscribe-dialog .form-msg:empty { display: none; }
.subscribe-confirm { min-height: 54px; font-size: 18px; }
.subscribe-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; background: none; border: 0; border-radius: 50%; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.subscribe-close:hover { color: var(--yellow); }
/* Без JavaScript окна нет: согласия и кнопка подтверждения — прямо в форме. */
@media (scripting: none) {
  .subscribe-dialog { display: grid; gap: 14px; position: static; grid-column: 1 / -1; width: auto; max-height: none; margin: 0; }
  .subscribe-open, .subscribe-close { display: none; }
  .subscribe-field input[type=email] { padding-right: 20px; }
}

/* ---------- прочее ---------- */
.prose { max-width: 760px; padding-top: 30px; display: grid; gap: 14px; line-height: 1.65; }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal { overflow-wrap: anywhere; }
.legal h3 { font-size: 18px; margin-top: 6px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 4px; }
.notfound { text-align: center; padding-block: 90px 30px; display: grid; gap: 14px; justify-items: center; }
.nf-code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; color: var(--yellow); text-shadow: 0 0 30px rgba(255, 200, 0, .45); }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .next-live { grid-template-columns: 170px 220px 1fr 1fr; }
  .next-live-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; justify-content: center; border-top: 1px solid rgba(255, 255, 255, .15); }
  .live-next { grid-template-columns: 200px 1fr; }
  .live-next-buy { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding: 18px 6px 4px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .live-next-price { flex-basis: 100%; }
  .live-next-buy .btn-block { width: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; gap: 22px; }
  .booking-form-wrap { border: 0; border-block: 1px solid rgba(255, 255, 255, .2); padding: 22px 0; }
  .booking-intro, .booking-direct { padding: 0; text-align: left; justify-items: start; }
  .mat-guest { grid-template-columns: 260px 1fr; }
  .mat-guest-info { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 0; padding: 18px 22px; grid-template-columns: repeat(3, auto); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .footer-grid > :nth-child(3) { border-left: 0; padding-left: 0; }
  .subscribe { grid-template-columns: auto 1fr; }
  .subscribe-sep { display: none; }
  .subscribe-field { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --page-heading-gap: 34px; }
  .container { width: calc(100% - 32px); }
  .burger { display: inline-flex; }
  .header-sep { display: none; }
  .header-inner { flex-wrap: wrap; min-height: 64px; padding-block: 8px; gap: 10px; }
  .logo img { height: 46px; }
  .nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 14px; }
  .nav.open { display: flex; }
  .nav > a { padding: 10px 0; font-size: 17px; width: 100%; }
  .nav-extra { margin: 8px 0 0; width: 100%; justify-content: space-between; }
  .hero-inner { min-height: 0; padding-bottom: 12px; }
  .hero-art { position: relative; width: min(100%, 530px); right: 0; height: auto; margin: 10px auto 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .next-live { grid-template-columns: 1fr; padding: 18px; gap: 10px; }
  .next-live-title, .next-live-who, .next-live-info, .next-live-cta { padding: 0; border: 0; }
  .next-live-photo { height: 200px; margin: 0; }
  .next-live-cta { flex-direction: column; border-top: 0; align-items: flex-start; }
  .section-head { flex-wrap: wrap; }
  .page-head-inner { flex-direction: column; align-items: flex-start; min-height: 0; }
  .head-art { max-width: 100%; align-self: flex-end; }
  .live-art { max-width: 100%; align-self: center; }
  .live-next { grid-template-columns: 1fr; }
  .live-next-photo { width: 100%; height: 220px; }
  .live-next-main { padding: 18px 4px 6px; }
  .closed-banner { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .steps li::before { display: none; }
  .atmosphere { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .featured-link { grid-template-columns: 1fr; }
  .featured-cover img { min-height: 0; aspect-ratio: 16/9; }
  img.cover-wide { display: none; }
  img.cover-narrow { display: block; }
  .mat-guest { grid-template-columns: 1fr; }
  .mat-guest-photo img { min-height: 0; aspect-ratio: 16/10; }
  .mat-guest-info { grid-template-columns: 1fr; }
  .checks.topics { grid-template-columns: 1fr; }
  .video-block { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { border-left: 0; padding-inline: 0; min-height: 0; }
  .subscribe { grid-template-columns: 1fr; padding: 22px; }
  .subscribe-field input[type=email] { padding-right: 20px; }
  .subscribe-field .btn { position: static; margin-top: 10px; width: 100%; }
  .perk { padding: 14px 16px; }
  .quote { padding: 14px 16px; gap: 14px; }
  .watch-item { flex-wrap: wrap; }
  .wthumb { width: 100%; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- правки по итогам сверки с макетами ---------- */
.section > .h2, .container > .h2, .divider-top > .h2 { margin-bottom: 18px; }
.section-head .h2 { margin-bottom: 0; }
.after-head .h2 { margin-bottom: 0; }
.next-live-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.next-live-cta .btn { min-width: 170px; }
.thumb > img:first-child { transform: scale(1.05); }
.thumb:hover > img:first-child { transform: scale(1.09); }
.next-live-photo img { transform: scale(1.1); }
.footer-socials .soc img, .socials .soc img { transform: scale(1.15); }
.more-socials .soc img { transform: none; }
.live-next-photo img { transform: scale(1.08); }

/* ---------- правки по замечаниям (раунд 2) ---------- */
/* логотип — только трубка, компактнее */
.header-inner { min-height: 64px; }
.logo img { height: 46px; width: auto; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand { gap: 12px; }

/* главная: заголовок в две строки как в макете */
.hero-text { max-width: 640px; }
.hero .h1 { font-size: clamp(24px, 3.1vw, 36px); }
@media (min-width: 861px) { .hero .h1 { white-space: nowrap; } }

/* атмосфера: кликабельные фото */
.atmo-item { padding: 0; cursor: zoom-in; display: block; background: none; transition: transform .2s, box-shadow .2s; }
.atmo-item:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(170, 80, 255, .55); }
.atmo-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 0; border: 0; }
.atmosphere .atmo-item:last-child img { object-position: 50% 30%; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 2, 16, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: min(92vw, 1200px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; border: 1.5px solid var(--line); box-shadow: 0 0 40px var(--glow); }
.lb-close, .lb-nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: rgba(60, 22, 100, .75); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: var(--yellow); color: #1a1100; border-color: var(--yellow); }
.lb-close { top: 18px; right: 18px; z-index: 2; }
.lb-nav { top: 50%; transform: translateY(-50%); z-index: 2; padding-bottom: 5px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lightbox[data-single] .lb-nav { display: none; }

/* отзывы: единая высота + «Читать полностью» */
.review { grid-template-rows: auto 1fr auto; }
.js .review blockquote { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review blockquote { min-height: calc(1.45em * 4); }
.review-more { justify-self: start; background: none; border: 0; padding: 0; color: var(--yellow); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.review-more:hover { color: var(--yellow-hi); }
.modal { width: min(560px, calc(100vw - 32px)); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; color: var(--text);
  background: linear-gradient(155deg, #3a1470, #1c0a38); box-shadow: 0 0 40px var(--glow); }
.modal::backdrop { background: rgba(8, 2, 16, .8); }
.modal .lb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 24px; }
.rm-who { margin-bottom: 14px; padding-right: 36px; font-size: 18px; }
.rm-who small { color: var(--muted); margin-left: 8px; font-size: 14px; }
.rm-text { font-size: 17px; line-height: 1.6; max-height: 60vh; overflow: auto; }

/* закрытые материалы: фото гостя без рамки-подложки, мягкий переход */
.mat-guest-photo { overflow: hidden; }
.mat-guest-photo img { transform: scale(1.12); object-position: 50% 16%;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }

/* статья: широкая обложка как в макете */
.article-hero img { aspect-ratio: 890 / 300; max-height: none; object-position: 50% 30%; }
.related-grid .go { display: none; }
.related-grid .news-body { padding-bottom: 14px; }

@media (max-width: 860px) {
  .logo img { height: 40px; }
  .atmo-item img { height: 170px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
}

/* иконки никогда не растягиваются: пропорции сохраняются внутри заданной рамки */
img[src*="/img/i-"], img[src*="/img/n-"], img.play { object-fit: contain; }

/* RuTube визуально легче YouTube (тёмная заливка, тонкая обводка) — делаем чуть крупнее */
.platforms a:nth-child(2) img { height: 43px; }

/* ---------- правки по замечаниям (раунд 3) ---------- */
/* «Все выпуски»: кнопки площадок мельче */
.platforms { gap: 8px; margin-top: 14px; }
.platforms img { height: 30px; }
.platforms a:nth-child(2) img { height: 33px; }

/* главная: «Следующая / живая запись», имя гостя в одну строку */
.next-live { grid-template-columns: 230px 250px 1.1fr 1fr auto; }
.next-live-title h2 { white-space: nowrap; }
@media (min-width: 1101px) { .next-live-who h3 { white-space: nowrap; } }

/* подписка: текст чуть меньше */
.subscribe-text { font-size: 18px; }

/* закрытые материалы */
.prep-card .checks { gap: 8px; }
.prep-card .checks li { font-size: 14px; line-height: 1.35; }
.wthumb { width: 150px; }
.wtext strong { white-space: nowrap; }

/* ---------- правки по замечаниям (раунд 4) ---------- */
/* «Контакты»: хлопушка целиком внутри карточки, без тёмного пятна и обрезки */
.clapper-deco { right: 26px; bottom: 0; width: 200px; opacity: 1; mix-blend-mode: screen;
  -webkit-mask-image: none; mask-image: none; }
/* закрытые материалы: заголовок блока вопроса мельче */
.prep-card--question h3 { font-size: 18px; line-height: 1.25; }
.prep-card--question h3 img { width: 28px; height: auto; }

/* Пиксель Метрики для браузеров без JavaScript. */
.metrika-pixel { position: absolute; left: -9999px; }
