/* Кинотека поверх общего pz-ui.css: постеры, оценки, сезоны, разбор анонсов. */
:root {
  /* светлые темы: темнее, чтобы цифры оценок читались на светлом (≥ 4,5:1) */
  --tone-good: #1e6e2f;
  --tone-mid: #876800;
  --tone-bad: #b23a0a;
  --kick: #53fc18;
  --kick-ink: #186200;
  --vk: #0060cf;
}
html[data-theme="dark"] { --tone-good: #51cf66; --tone-mid: #fcc419; --tone-bad: #ff8a4c; --kick-ink: #53fc18; --vk: #4c9bff; }
.tone-good { color: var(--tone-good); }
.tone-mid { color: var(--tone-mid); }
.tone-bad { color: var(--tone-bad); }
.tone-none { color: var(--muted); }

.kino-muted { margin: 0; color: var(--muted); font-size: 13px; }
.kino-input {
  min-height: var(--pz-ctl-h);
  padding: 0 10px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  background: var(--surface-1);
  color: var(--text);
  font-size: 13.5px;
}
.kino-input:focus { border-color: var(--accent-strong); outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }
.kino-link-btn { padding: 0; border: 0; background: none; color: var(--pz-accent-text); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.kino-link-btn:hover { text-decoration: underline; }
.pz-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kino-danger:hover { border-color: color-mix(in srgb, var(--pz-red) 45%, transparent); color: var(--pz-red); }
.kino-ghost { background: transparent; }
.kino-count {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 10.5px;
  font-weight: 800;
}
.kino-count:empty { display: none; }

/* загрузка */
.kino-loading { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; padding: 30px 0; }
.kino-loading span { aspect-ratio: 2 / 3; border-radius: var(--pz-r); }
.kino-loading.small { grid-template-columns: 1fr; padding: 4px 0; }
.kino-loading.small span { aspect-ratio: auto; height: 74px; }

/* картинки: проявляются по загрузке, битая — первая буква */
.kino-img { position: relative; overflow: hidden; background-color: var(--surface-3); }
.kino-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s, transform 0.5s; }
.kino-img.loaded { animation: none; background: var(--surface-3); }
.kino-img.loaded img { opacity: 1; }
.kino-img.broken, .kino-img:not(:has(img)) { animation: none; background: linear-gradient(150deg, var(--surface-3), var(--surface-4)); }
.kino-img.broken::after, .kino-img:not(:has(img))::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-medium);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 850;
}

/* ---------- каталог ---------- */
.kino-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.kino-hero .pz-head { margin-bottom: 10px; }
.kino-stats {
  display: grid;
  flex: none;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r);
  background: var(--surface-1);
  box-shadow: var(--pz-shadow);
}
.kino-stats div { display: grid; gap: 2px; padding: 10px 16px; border-left: 1px solid var(--pz-line); }
.kino-stats div:first-child { border-left: 0; }
.kino-stats dt { order: 2; color: var(--muted); font-size: 11px; white-space: nowrap; }
.kino-stats dd { margin: 0; font-size: 22px; font-weight: 820; letter-spacing: -0.03em; line-height: 1.1; }

.kino-shelf { margin-bottom: 6px; }
.kino-shelf .pz-label { margin-top: 10px; }
.kino-shelf-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.kino-now {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  width: min(330px, 82vw);
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r);
  background: linear-gradient(120deg, var(--accent-soft), var(--surface-1) 60%);
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.2s;
}
.kino-now:hover { border-color: var(--accent-strong); transform: translateY(-1px); }
.kino-now-poster { width: 54px; flex: none; aspect-ratio: 2 / 3; border-radius: 8px; }
.kino-now > div:last-child { display: grid; min-width: 0; flex: 1; gap: 3px; }
.kino-now strong { overflow: hidden; font-size: 14.5px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.kino-now small { color: var(--muted); font-size: 12px; }

.kino-toolbar { display: flex; align-items: center; gap: 10px; margin: 8px 0 10px; }
.kino-toolbar .pz-search { width: min(300px, 100%); flex: none; }
.kino-toolbar .pz-chips { min-width: 0; flex: 1; }
.kino-sort {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: var(--pz-ctl-h);
  padding: 0 10px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  background: var(--surface-1);
  color: var(--muted);
}
.kino-sort svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kino-sort select { border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.kino-sort select option { background: var(--surface-1); color: var(--text); }
.kino-genres { margin-bottom: 10px; }
.kino-genres .pz-chip { min-height: 26px; font-size: 12px; }
.kino-count-line { margin: 0 2px 10px; color: var(--muted); font-size: 12px; }

.kino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px 14px; }
.kino-card { display: flex; min-width: 0; flex-direction: column; gap: 9px; color: var(--text); text-decoration: none; }
.kino-poster {
  aspect-ratio: 2 / 3;
  border-radius: var(--pz-r);
  box-shadow: var(--pz-shadow);
  outline: 1px solid var(--pz-line);
  outline-offset: -1px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.kino-card:hover .kino-poster { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(0 0 0 / 0.08), 0 16px 34px rgb(0 0 0 / 0.18); }
.kino-card:hover .kino-poster img { transform: scale(1.04); }
.kino-poster::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.55));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.kino-card:hover .kino-poster::before { opacity: 1; }
.kino-badge-score {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: grid;
  min-width: 40px;
  padding: 3px 7px 4px;
  border-radius: 9px;
  background: rgb(12 12 14 / 0.78);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.kino-badge-score small { margin-bottom: 2px; color: rgb(255 255 255 / 0.7); font-size: 12px; font-weight: 750; }
.kino-badge-score.tone-good { box-shadow: inset 0 -3px 0 #40c057; }
.kino-badge-score.tone-mid { box-shadow: inset 0 -3px 0 #fab005; }
.kino-badge-score.tone-bad { box-shadow: inset 0 -3px 0 #fd7e14; }
.kino-badge-kind, .kino-badge-live {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgb(12 12 14 / 0.62);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.kino-badge-live { background: var(--accent); color: var(--accent-contrast); }
.kino-badge-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: kino-pulse 1.6s ease-in-out infinite; }
@keyframes kino-pulse { 50% { opacity: 0.35; } }
/* пересматривали: «×5» внизу постера (над полоской прогресса сериала) */
.kino-badge-times {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgb(12 12 14 / 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.kino-progress ~ .kino-badge-times, .kino-badge-times:has(+ .kino-progress) { bottom: 18px; }
.kino-progress {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.35);
}
.kino-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent-bright); }
.kino-progress.inline { position: static; display: block; height: 5px; background: var(--surface-4); }
.kino-card-body { display: grid; min-width: 0; gap: 3px; padding: 0 2px; }
.kino-card h3 { margin: 0; overflow: hidden; font-size: 14px; font-weight: 720; line-height: 1.3; letter-spacing: -0.01em; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kino-sub { margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.kino-mini { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.kino-m {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 11.5px;
  font-weight: 760;
}
.kino-m b { color: var(--pz-text); font-size: 9.5px; font-weight: 800; letter-spacing: 0.03em; }
.kino-m-chat { border: 1px solid transparent; }
.kino-m-chat img { width: 14px; height: 14px; margin: -1px 0; border-radius: 3px; object-fit: contain; }
.kino-m-chat small { color: var(--pz-text); font-size: 9.5px; font-weight: 700; }
.kino-m-chat small::before { content: "· "; }
.kino-m-kick { border-color: color-mix(in srgb, var(--kick) 55%, transparent); background: color-mix(in srgb, var(--kick) 12%, var(--surface-2)); }
.kino-m-kick b { color: var(--kick-ink); }
.kino-m-vk { border-color: color-mix(in srgb, var(--vk) 50%, transparent); background: color-mix(in srgb, var(--vk) 10%, var(--surface-2)); }
.kino-m-vk b { color: var(--vk); }

.kino-empty { display: grid; justify-items: center; gap: 8px; max-width: 460px; margin: 30px auto; padding: 34px 24px; text-align: center; }
.kino-empty h3 { margin: 0; font-size: 18px; }
.kino-empty p { margin: 0 0 6px; color: var(--muted); }
.kino-empty-mark { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--pz-accent-text); font-size: 26px; font-weight: 850; }

/* ---------- страница тайтла ---------- */
.kino-title { position: relative; }
.kino-backdrop {
  position: absolute;
  z-index: -1;
  top: -22px;
  left: 50%;
  width: 100vw;
  height: 460px;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}
.kino-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 0.32; filter: saturate(1.1); }
.kino-backdrop img.blur { opacity: 0.4; filter: blur(40px) saturate(1.4); transform: scale(1.2); }
.kino-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 25%, transparent) 0%, var(--bg) 100%); }
.kino-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px -4px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.kino-back:hover { background: var(--surface-3); color: var(--text); }
.kino-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.kino-head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: end; margin-bottom: 22px; }
.kino-head-poster { aspect-ratio: 2 / 3; border-radius: 14px; box-shadow: 0 4px 10px rgb(0 0 0 / 0.12), 0 24px 50px rgb(0 0 0 / 0.25); }
.kino-head-info { display: grid; min-width: 0; gap: 10px; padding-bottom: 4px; }
.kino-head-info h1 { margin: 0; font-size: clamp(28px, 4.4vw, 46px); font-weight: 850; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.kino-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; color: var(--muted); font-size: 14px; }
.kino-meta span { opacity: 0.5; }
.kino-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.kino-tags span { padding: 3px 9px; border: 1px solid var(--pz-line); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 75%, transparent); font-size: 12px; font-weight: 600; }
.kino-ext { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.kino-ext-item {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 8px;
  min-width: 88px;
  padding: 7px 12px 8px;
  border: 1px solid var(--pz-line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-1) 82%, transparent);
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.15s, transform 0.15s;
}
a.kino-ext-item:hover { border-color: var(--accent-strong); transform: translateY(-1px); }
.kino-ext-src { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-weight: 760; }
.kino-ext-item strong { font-size: 21px; font-weight: 830; letter-spacing: -0.03em; }
.kino-ext-item strong small { color: var(--muted); font-size: 12px; font-weight: 650; }
.kino-ext-item > small { color: var(--muted); font-size: 11px; }
.kino-ext-kp .kino-ext-src { color: #f60; }
.kino-ext-imdb .kino-ext-src { color: #c49000; }
html[data-theme="dark"] .kino-ext-imdb .kino-ext-src { color: #f5c518; }
.kino-ext-tmdb .kino-ext-src { color: #01b4e4; }
.kino-ext-myshows .kino-ext-src { color: #e8364f; }
.kino-head-progress { display: grid; gap: 5px; max-width: 360px; }
.kino-head-progress small { color: var(--muted); font-size: 12px; }

.kino-verdicts { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.kino-verdict { display: flex; min-width: 0; gap: 16px; padding: 16px; }
.kino-verdict-label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 780; }
.kino-streamer { align-items: center; background: linear-gradient(135deg, var(--accent-soft), var(--surface-1) 55%); }
.kino-verdict-copy { min-width: 0; }
.kino-streamer blockquote {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent-medium);
  font-size: 14.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.kino-ring { position: relative; display: grid; flex: none; place-items: center; }
.kino-ring-lg { width: 104px; height: 104px; }
.kino-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.kino-ring circle { fill: none; stroke-width: 8; }
.kino-ring .track { stroke: var(--surface-4); }
.kino-ring.tone-none .bar { display: none; }
.kino-ring .bar { stroke: currentColor; stroke-linecap: round; transition: stroke-dasharray 0.6s cubic-bezier(.2,.8,.2,1); }
.kino-ring strong { color: var(--text); font-size: 32px; font-weight: 870; letter-spacing: -0.05em; }
.kino-ring.tone-none strong { color: var(--muted); }

.kino-chat { flex-direction: column; gap: 12px; }
.kino-chat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kino-chat-score { display: grid; }
.kino-chat-score strong { font-size: 34px; font-weight: 870; letter-spacing: -0.05em; line-height: 1; }
.kino-chat-score strong.tone-none { font-size: 26px; }
.kino-chat-score small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.kino-dot { width: 8px; height: 8px; border-radius: 50%; }
.kino-chat-kick .kino-dot { background: var(--kick); box-shadow: 0 0 10px color-mix(in srgb, var(--kick) 60%, transparent); }
.kino-chat-vk .kino-dot { background: var(--vk); box-shadow: 0 0 10px color-mix(in srgb, var(--vk) 50%, transparent); }
.kino-chat-kick { border-top: 3px solid var(--kick); }
.kino-chat-vk { border-top: 3px solid var(--vk); }
.kino-dist { display: flex; align-items: flex-end; gap: 3px; height: 50px; }
.kino-dist span { position: relative; display: flex; width: 9px; height: 100%; flex-direction: column; justify-content: flex-end; }
.kino-dist i { display: block; height: max(2px, var(--h)); border-radius: 2px; background: var(--surface-4); }
.kino-chat-kick .kino-dist i { background: color-mix(in srgb, var(--kick) 70%, var(--surface-4)); }
.kino-chat-vk .kino-dist i { background: color-mix(in srgb, var(--vk) 70%, var(--surface-4)); }
.kino-dist b { display: none; }
.kino-vote { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.kino-vote.busy { opacity: 0.6; pointer-events: none; }
.kino-vote button {
  min-height: 32px;
  padding: 0;
  border: 1px solid var(--pz-line);
  border-radius: 7px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s, color 0.12s;
}
.kino-vote button:hover { transform: translateY(-1px); background: var(--surface-4); }
.kino-vote button.filled { background: color-mix(in srgb, currentColor 16%, var(--surface-1)); border-color: color-mix(in srgb, currentColor 35%, transparent); }
.kino-vote button.mine { background: currentColor; border-color: currentColor; }
.kino-vote button.mine::after { content: attr(data-score); color: #fff; }
.kino-vote button.mine { font-size: 0; }
.kino-vote button.mine::after { font-size: 13px; }
.kino-vote-note { margin: 0; color: var(--muted); font-size: 12px; }
.kino-vote-note b { color: var(--text); }
.kino-login { width: 100%; }
.kino-login img { width: 18px; height: 18px; object-fit: contain; }
.kino-login-kick:hover { border-color: color-mix(in srgb, var(--kick) 60%, transparent); }
.kino-login-vk:hover { border-color: color-mix(in srgb, var(--vk) 60%, transparent); }

.kino-section { margin-top: 8px; }
.kino-overview { max-width: 75ch; margin: 0; font-size: 15px; line-height: 1.65; }
.kino-overview.clamped { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.kino-more { margin-top: 6px; }
.kino-tags span::first-letter, .kino-genres .pz-chip::first-letter { text-transform: uppercase; }

.kino-season-tabs { margin-bottom: 10px; }
.kino-season-tabs .pz-chip small { margin-left: 3px; opacity: 0.7; font-size: 11px; }
.kino-season-tabs .pz-chip.done { border-color: color-mix(in srgb, var(--tone-good) 40%, transparent); }
.kino-season-tabs .pz-chip.done small { color: var(--tone-good); opacity: 1; }
.kino-episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.kino-ep {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  background: var(--surface-1);
  color: var(--muted);
  text-align: left;
  cursor: default;
}
.kino-episodes.editable .kino-ep { cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.kino-episodes.editable .kino-ep:hover { border-color: var(--accent-strong); }
.kino-ep b {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 12.5px;
}
.kino-ep span { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.kino-ep.seen { border-color: color-mix(in srgb, var(--tone-good) 35%, transparent); background: color-mix(in srgb, var(--tone-good) 9%, var(--surface-1)); color: var(--text); }
.kino-ep.seen b { background: var(--tone-good); color: #fff; }
.kino-season-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.kino-history { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.kino-history li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0 7px 4px; }
.kino-history li::before { content: ""; position: absolute; top: 0; bottom: 0; left: 9px; width: 2px; background: var(--pz-line); }
.kino-history li:first-child::before { top: 50%; }
.kino-history li:last-child::before { bottom: 50%; }
.kino-history li:only-child::before { display: none; }
.kino-history-dot { position: relative; z-index: 1; width: 12px; height: 12px; flex: none; border: 3px solid var(--bg); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent-medium); }
.kino-history-dot.undated { background: var(--surface-3); box-shadow: 0 0 0 1px var(--pz-line); }
.kino-history div { display: grid; min-width: 0; flex: 1; }
.kino-history strong { font-size: 14px; font-weight: 680; }
.kino-history small { color: var(--muted); font-size: 12px; }
.kino-history-recording { display: grid; width: fit-content; max-width: 100%; padding: 4px 8px; margin: -4px -8px; border-radius: 8px; color: inherit; text-decoration: none; }
.kino-history-recording > span, .kino-recording-choices summary > span { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 44px; box-sizing: border-box; gap: 8px; margin-top: 7px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: var(--accent-contrast); font-size: 14px; font-weight: 750; line-height: 1.35; }
.kino-history-recording:hover { background: var(--surface-2); }
.kino-history-recording:hover strong { color: var(--pz-accent-text); }
.kino-history-recording:hover > span, .kino-recording-choices summary:hover > span { filter: brightness(1.1); }
.kino-history-recording:focus-visible, .kino-recording-choices a:focus-visible, .kino-recording-choices summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.kino-recording-choices summary { display: grid; width: fit-content; max-width: 100%; cursor: pointer; }
.kino-recording-choices > div { display: grid; gap: 6px; margin-top: 8px; }
.kino-recording-choices a { width: fit-content; max-width: 100%; color: var(--pz-accent-text); font-size: 13px; overflow-wrap: anywhere; }
.kino-x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.kino-x:hover { background: var(--surface-3); color: var(--pz-red); }
.kino-history-tools { display: flex; flex: none; margin-left: auto; }
.kino-history-tools [data-watch-edit] { font-size: 15px; }
.kino-history-tools [data-watch-edit]:hover { color: var(--pz-accent-text); }
.kino-history li > div { min-width: 0; flex: 1; }
.kino-watch-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kino-watch-edit strong { flex-basis: 100%; font-size: 13px; }
.kino-watch-edit .kino-input { width: auto; min-width: 0; }
.kino-watch-edit [data-field="episode"] { width: 76px; }
.kino-watch-edit [data-field="note"] { flex: 1 1 140px; }
.kino-watch-recs { flex-basis: 100%; display: grid; gap: 8px; margin: 4px 0; padding: 10px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-sm); }
.kino-watch-recs legend { padding: 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.kino-watch-recs .pz-chip { display: inline-flex; align-items: center; cursor: pointer; }
.kino-watch-recs .pz-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kino-watch-recs .pz-chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.kino-watch-rec-list { display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.kino-watch-rec { display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border-radius: var(--pz-r-sm); background: var(--surface-2); font-size: 13px; cursor: pointer; }
.kino-watch-rec input { margin-top: 3px; accent-color: var(--accent); }
.kino-watch-rec small { display: block; color: var(--muted); font-size: 12px; }
.kino-watch-rec-list p { margin: 0; color: var(--muted); font-size: 12.5px; }
.kino-watch-rec-list .kino-input { width: 100%; }
.kino-add-watch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kino-add-watch input[name="note"] { min-width: 180px; flex: 1; }

/* ---------- редактор ---------- */
.kino-editor { margin: 4px 0 14px; padding: 16px; border-color: var(--accent-medium); }
.kino-editor-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kino-editor-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.kino-editor-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.kino-field { display: grid; align-content: start; gap: 7px; }
.kino-field > span { color: var(--muted); font-size: 12px; font-weight: 760; }
.kino-field textarea {
  min-height: 96px;
  padding: 9px 11px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  background: var(--surface-1);
  resize: vertical;
  font-size: 14px;
  line-height: 1.5;
}
.kino-field textarea:focus { border-color: var(--accent-strong); outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }
.kino-score-pick { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.kino-score-pick button {
  min-height: 36px;
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.kino-score-pick button:hover { background: var(--surface-4); }
.kino-score-pick button.active { border-color: currentColor; background: currentColor; }
.kino-score-pick button.active { font-size: 0; }
.kino-score-pick button.active::after { content: attr(data-pick); color: #fff; font-size: 14px; }
.kino-score-row { display: flex; align-items: center; gap: 14px; }
.kino-score-row output:not([class]), .kino-score-row output[class=""] { color: var(--muted); font-size: 13px; font-weight: 650; }
.kino-score-row output { font-size: 22px; font-weight: 850; letter-spacing: -0.03em; }
.kino-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; cursor: pointer; }
.kino-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.kino-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.kino-seg label { cursor: pointer; }
.kino-seg input { position: absolute; opacity: 0; pointer-events: none; }
.kino-seg span { display: inline-flex; min-height: 32px; align-items: center; padding: 0 12px; border: 1px solid var(--pz-line); border-radius: 999px; background: var(--surface-1); color: var(--muted); font-size: 13px; font-weight: 650; }
.kino-seg input:checked + span { border-color: var(--accent-medium); background: var(--accent-soft); color: var(--pz-accent-text); }
.kino-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.kino-editor-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- поиск ---------- */
.kino-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 40px));
  padding: 18px;
  border: 1px solid var(--pz-line);
  border-radius: 16px;
  background: var(--surface-1);
  color: var(--text);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
}
.kino-dialog::backdrop { background: rgb(0 0 0 / 0.45); backdrop-filter: blur(3px); }
.kino-dialog[open] { display: flex; flex-direction: column; animation: kino-pop 0.18s ease-out; }
@keyframes kino-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.kino-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.kino-dialog-head h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.kino-search-form { display: flex; gap: 8px; }
.kino-search-form .pz-search { flex: 1; }
.kino-year { width: 84px; }
.kino-hint { margin: 8px 2px; color: var(--muted); font-size: 12px; }
.kino-results { display: grid; gap: 6px; min-height: 0; margin: 0 -6px; padding: 2px 6px; overflow-y: auto; }
.kino-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r);
  background: var(--surface-1);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.kino-result:hover { border-color: var(--accent-strong); background: var(--surface-2); }
.kino-result:disabled { opacity: 0.6; cursor: progress; }
.kino-result-poster { width: 46px; flex: none; aspect-ratio: 2 / 3; border-radius: 7px; }
.kino-result-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }
.kino-result-copy strong { font-size: 14.5px; }
.kino-result-copy small { color: var(--muted); font-size: 12px; }
.kino-result-copy p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.kino-result em, .kino-guess em { flex: none; color: var(--pz-accent-text); font-size: 12px; font-style: normal; font-weight: 750; }

/* ---------- разбор анонсов ---------- */
.kino-inbox-hero { align-items: flex-end; }
.kino-import { flex: none; margin-bottom: 18px; cursor: pointer; }
.kino-inbox { display: grid; gap: 10px; }
.kino-group { padding: 14px; transition: opacity 0.2s; }
.kino-group.busy, .kino-other li.busy { opacity: 0.5; pointer-events: none; }
.kino-group-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.kino-group h3 { margin: 0 0 2px; font-size: 16px; font-weight: 780; letter-spacing: -0.01em; }
.kino-group h3 span { color: var(--muted); font-weight: 600; }
.kino-group-actions { display: flex; gap: 6px; }
.kino-guesses { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.kino-guess {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  background: var(--surface-2);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.kino-guess:hover { border-color: var(--accent-strong); background: var(--accent-soft); }
.kino-guess-poster { width: 40px; flex: none; aspect-ratio: 2 / 3; border-radius: 6px; }
.kino-guess-copy { display: grid; min-width: 0; gap: 1px; }
.kino-guess-copy strong { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.kino-guess-copy small { overflow: hidden; color: var(--muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.kino-other { margin-top: 14px; padding: 12px 14px; }
.kino-other summary { font-weight: 720; cursor: pointer; }
.kino-other summary small { margin-left: 6px; color: var(--muted); font-weight: 500; }
.kino-other ul { display: grid; gap: 2px; max-height: 420px; margin: 10px 0 0; padding: 0; overflow-y: auto; list-style: none; }
.kino-other li { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 6px; font-size: 13px; }
.kino-other li:hover { background: var(--surface-2); }
.kino-other li small { width: 56px; flex: none; color: var(--muted); }
.kino-other li span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- идёт на стриме: перемотать к началу ---------- */
.kino-live-btn { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; padding-block: 8px; text-decoration: none; }
.kino-live-btn svg { width: 16px; height: 16px; fill: currentColor; }
.kino-live-btn span { display: grid; line-height: 1.15; text-align: left; }
.kino-live-btn small { font-size: 11px; font-weight: 600; opacity: 0.8; }

/* ---------- в этот день ---------- */
.kino-hero-side { display: grid; flex: none; justify-items: end; gap: 0; }
.kino-stats-link { display: inline-flex; align-items: center; gap: 4px; margin: -6px 2px 14px; color: var(--pz-accent-text); font-size: 13px; font-weight: 680; text-decoration: none; }
.kino-stats-link:hover { text-decoration: underline; }
.kino-stats-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kino-otd .kino-now { background: linear-gradient(120deg, color-mix(in srgb, var(--pz-gold) 16%, transparent), var(--surface-1) 62%); }
.kino-otd-ago { color: var(--pz-gold); font-size: 12px; font-weight: 800; }

/* ---------- статистика ---------- */
.kino-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 10px; }
.kino-statcard { padding: 16px 18px 18px; }
.kino-statcard .pz-label { margin-top: 0; }
.kino-statcard-wide { grid-column: 1 / -1; }
.kino-statsub { margin-top: 20px !important; }
.kino-statnote { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.kino-statnote b { color: var(--text); font-weight: 760; }

.kino-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-items: end; gap: 8px; height: 170px; }
.kino-col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 4px; text-align: center; }
.kino-col-val { font-size: 12px; font-weight: 760; }
.kino-col-bar { display: flex; align-items: flex-end; min-height: 0; }
.kino-col-bar i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, transparent)); }
.kino-col-label { overflow: hidden; color: var(--muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.kino-statcard:not(.kino-statcard-wide) .kino-cols { height: 120px; }

.kino-hbars { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.kino-hbars li { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.kino-hbars li > span:first-child, .kino-hbars li > a { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.kino-hbar { height: 10px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.kino-hbar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.kino-hbars b { min-width: 28px; font-size: 12.5px; text-align: right; }

.kino-top-count { color: var(--pz-accent-text); font-size: 15px; font-weight: 820; }
.kino-top-count small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.kino-vs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 12px 0 4px; }
.kino-vs .pz-label { flex-basis: 100%; }
.kino-vs div { display: grid; gap: 2px; }
.kino-vs span { color: var(--muted); font-size: 12px; }
.kino-vs b { font-size: 30px; font-weight: 850; letter-spacing: -0.03em; }

@media (max-width: 760px) {
  .kino-statgrid { grid-template-columns: 1fr; }
  .kino-hero-side { justify-items: stretch; }
  .kino-stats-link { justify-self: end; }
  .kino-cols { height: 140px; gap: 5px; }
}

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .kino-verdicts { grid-template-columns: 1fr 1fr; }
  .kino-streamer { grid-column: 1 / -1; }
  .kino-hero { flex-direction: column; align-items: stretch; gap: 0; }
  .kino-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .kino-toolbar { flex-wrap: wrap; }
  .kino-toolbar .pz-search { width: 100%; }
  .kino-toolbar .pz-chips { order: 3; flex-basis: 100%; }
  .kino-sort { margin-left: auto; }
  .kino-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 16px 10px; }
  .kino-head { grid-template-columns: 116px 1fr; gap: 16px; align-items: start; }
  .kino-head-info h1 { font-size: 26px; }
  .kino-ext-item { min-width: 0; padding: 6px 10px 7px; }
  .kino-ext-item strong { font-size: 18px; }
  .kino-verdicts { grid-template-columns: 1fr; }
  .kino-editor-form { grid-template-columns: 1fr; }
  .kino-stats { grid-template-columns: repeat(2, 1fr); }
  .kino-stats div:nth-child(3) { border-left: 0; }
  .kino-stats div:nth-child(n + 3) { border-top: 1px solid var(--pz-line); }
  .kino-top-label { display: none; }
  #add-btn span { display: none; }
  .kino-backdrop { height: 340px; }
}
@media (max-width: 420px) {
  .kino-grid { grid-template-columns: repeat(2, 1fr); }
  .kino-head { grid-template-columns: 96px 1fr; }
  .kino-ring-lg { width: 86px; height: 86px; }
  .kino-ring strong { font-size: 26px; }
  .kino-search-form { flex-wrap: wrap; }
  .kino-search-form .pz-search { flex-basis: 100%; }
}
.kino-vote-chat-hint { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.kino-vote-chat-hint code { padding: 1px 6px; border-radius: 5px; background: var(--surface-3, rgba(127, 127, 127, 0.16)); color: var(--text); font-size: 11.5px; }

/* ============ 2026: правка просмотра и «Запись эфира» ============
   Только вид: разметку и логику (kino-page.js, kino-recordings.js) не трогаем.
   Три режима привязки — равноправный переключатель; «Выбрать вручную» не прячется. */
.kino-watch-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin: var(--s-2) 0;
  padding: var(--s-4);
  border: 1px solid var(--pz-line-strong);
  border-radius: var(--r-lg);
  background: var(--pz-raised);
}
.kino-watch-edit > strong { grid-column: 1 / -1; font-size: var(--t-14); font-weight: 700; }
.kino-watch-edit .kino-input { width: 100%; min-height: 38px; padding: 0 var(--s-3); font-size: var(--t-14); }
.kino-watch-edit [data-field="episode"] { width: 100%; }
.kino-watch-edit [data-field="note"] { grid-column: 1 / -1; }
.kino-watch-edit select.kino-input + input + input[data-field="note"] { grid-column: auto; }
.kino-watch-recs { grid-column: 1 / -1; display: grid; gap: var(--s-3); margin: 0; padding: 0; border: 0; }
.kino-watch-recs legend { margin-bottom: var(--s-2); padding: 0; color: var(--pz-text); font-size: var(--t-13); font-weight: 700; }
.kino-watch-recs .pz-chips[role="radiogroup"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  overflow: visible;
  padding: 2px;
  border-radius: var(--r-md);
  background: var(--pz-canvas);
}
.kino-watch-recs .pz-chip {
  position: relative;
  justify-content: center;
  min-height: 38px;
  padding: 4px var(--s-2);
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--pz-text-2);
  font-size: var(--t-13);
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.kino-watch-recs .pz-chip:hover { background: var(--pz-hover); color: var(--pz-text); }
.kino-watch-recs .pz-chip.active { background: var(--pz-accent); color: var(--pz-on-accent); }
.kino-watch-rec-list { gap: 2px; max-height: 340px; overflow: auto; padding: 2px; border-radius: var(--r-md); background: var(--pz-canvas); }
.kino-watch-rec { gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: transparent; font-size: var(--t-13); }
.kino-watch-rec:hover { background: var(--pz-hover); }
.kino-watch-rec:has(input:checked) { background: var(--pz-accent-wash); }
.kino-watch-rec input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--pz-accent); }
.kino-watch-rec small { margin-top: 2px; color: var(--pz-text-2); }
.kino-watch-rec-list p { padding: var(--s-2) var(--s-3); color: var(--pz-text-2); }
.kino-watch-rec-list .kino-input { margin-top: var(--s-1); }
.kino-watch-edit > .pz-btn { justify-self: start; }
.kino-watch-edit > [data-watch-save] { grid-column: 1; justify-self: stretch; }
.kino-watch-edit > [data-watch-cancel] { grid-column: 2; justify-self: stretch; }
@media (max-width: 640px) {
  .kino-watch-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--s-3); }
  .kino-watch-recs .pz-chips[role="radiogroup"] { grid-template-columns: 1fr; }
  .kino-watch-recs .pz-chip { justify-content: flex-start; min-height: 44px; padding: 0 var(--s-3); text-align: left; }
}

/* ссылка «Смотреть запись» в истории — тихая, акцент только у текста */
.kino-history-recording > span,
.kino-recording-choices summary > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 6px;
  padding: 0 var(--s-3);
  border: 1px solid var(--pz-line-strong);
  border-radius: var(--r-md);
  background: var(--pz-raised);
  color: var(--pz-accent-text);
  font-size: var(--t-13);
  font-weight: 650;
  box-shadow: none;
}
.kino-history-recording:hover > span,
.kino-recording-choices summary:hover > span { background: var(--pz-hover); }
/* правка и удаление просмотра — нормальные кнопки, а не значки в 12px */
.kino-history-tools .kino-x { width: 32px; height: 32px; border-radius: var(--r-md); color: var(--pz-text-2); font-size: 15px; }
.kino-history-tools .kino-x:hover { background: var(--pz-raised); color: var(--pz-text); }
@media (max-width: 640px) {
  .kino-watch-edit select.kino-input + input + input[data-field="note"] { grid-column: 1 / -1; }
}

/* ============ 2026: каталог ============ */
/* «Смотрим сейчас» — главное на странице: крупные карточки с прогрессом */
.kino-now-feature { margin-bottom: var(--s-6); }
.kino-feature-label { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3); font-size: var(--t-16); font-weight: 700; }
.kino-feature-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pz-live); }
.kino-now-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--s-3); }
.kino-now-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-3);
  border: 1px solid var(--pz-line);
  border-radius: var(--r-lg);
  background: var(--pz-surface);
  color: var(--pz-text);
  text-decoration: none;
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease;
}
.kino-now-card:hover { border-color: var(--pz-line-strong); background: var(--pz-raised); }
.kino-now-card .kino-now-poster { width: 96px; height: 144px; border-radius: var(--r-md); }
.kino-now-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 2px; }
.kino-now-info strong { font-size: var(--t-18); font-weight: 750; line-height: 1.2; }
.kino-now-info > small { color: var(--pz-text-2); font-size: var(--t-13); }
.kino-now-progress { display: grid; gap: 4px; margin-top: auto; }
.kino-now-progress small { color: var(--pz-text-2); font-size: var(--t-12); }
.kino-now-mini { display: flex; flex-wrap: wrap; gap: 6px; }

.kino-toolbar { margin-top: var(--s-2); }
.kino-selects { display: flex; gap: var(--s-2); }
.kino-select { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--s-3); border: 1px solid var(--pz-line-strong); border-radius: var(--r-md); background: var(--pz-raised); color: var(--pz-text); font-size: var(--t-13); }
.kino-select svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--pz-text-2); stroke-width: 1.8; }
.kino-select select { max-width: 170px; border: 0; background: transparent; color: inherit; font-size: inherit; font-weight: 600; cursor: pointer; }
.kino-select select:focus-visible { outline: none; }
.kino-select:focus-within { border-color: var(--pz-accent); }
.kino-toolbar .pz-chips { flex: 0 1 auto; }

.kino-empty { display: grid; justify-items: center; gap: var(--s-2); padding: var(--s-10) var(--s-5); text-align: center; }
.kino-empty h3 { margin: 0; font-size: var(--t-18); }
.kino-empty p { margin: 0 0 6px; color: var(--pz-text-2); }

/* ============ 2026: тайтл — серии и история слева, оценки справа ============ */
.kino-title-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: var(--s-8); margin-top: var(--s-6); }
.kino-title-main > .kino-section:first-child,
.kino-title-main > .kino-editor:first-child { margin-top: 0; }
.kino-title-side { position: sticky; top: calc(var(--pz-top-h, 56px) + var(--s-4)); }
.kino-title-side .kino-verdicts { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin: 0; }
.kino-title-side .kino-verdict { padding: var(--s-4); border-radius: var(--r-lg); }
.kino-title-side .kino-chat { border-top-width: 1px; }
.kino-title-side .kino-vote { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.kino-title-side .kino-vote button { min-width: 0; padding: 0; }
@media (max-width: 960px) {
  .kino-title-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .kino-title-side { position: static; grid-row: 1; }
  .kino-title-side .kino-verdicts { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .kino-now-row { grid-template-columns: 1fr; }
  .kino-now-card { grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-3); }
  .kino-now-card .kino-now-poster { width: 72px; height: 108px; }
  .kino-now-info strong { font-size: var(--t-16); }
  .kino-selects { width: 100%; }
  .kino-select { flex: 1; }
  .kino-select select { max-width: none; width: 100%; }
  .kino-grid { gap: var(--s-4) var(--s-3); }
}
@media (max-width: 640px) {
  /* оценки на телефоне — компактный блок: Жора на всю ширину, чаты в две колонки */
  .kino-title-side .kino-verdicts { grid-template-columns: 1fr 1fr; gap: var(--s-2); }
  .kino-title-side .kino-streamer { grid-column: 1 / -1; padding: var(--s-3); }
  .kino-title-side .kino-chat { padding: var(--s-3); }
  .kino-title-side .kino-dist,
  .kino-title-side .kino-vote-chat-hint { display: none; }
  .kino-title-side .kino-chat .kino-chat-score strong { font-size: var(--t-28); }
  .kino-title-side .kino-login { width: 100%; min-height: 40px; padding: 0 var(--s-2); font-size: var(--t-12); white-space: normal; text-align: center; }
  .kino-title-side .kino-vote { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kino-title .pz-label small { display: none; }
}
/* шапка фильма теперь в левой колонке — оценки справа начинаются вровень с ней */
.kino-title-main > .kino-head { margin-bottom: var(--s-2); }
.kino-title-grid { margin-top: var(--s-4); }
@media (max-width: 960px) { .kino-title-side { grid-row: auto; } }
@media (max-width: 960px) {
  /* телефон и планшет: шапка фильма → оценки → описание, серии, история */
  .kino-title-grid { display: flex; flex-direction: column; }
  .kino-title-main { display: contents; }
  .kino-title-main > * { order: 2; }
  .kino-title-main > .kino-head { order: 0; }
  .kino-title-side { order: 1; }
}
