/* cinema plod — сайт. Дизайн-система.
   Редизайн 4.11: сайт продолжает новую главную. Ночь, бумага, золото процента и синий plod, плёночное зерно,
   тёплое свечение вместо плоского фона. Шрифт Medeo Sans Display на всё, моно только для служебных подписей.
   Принцип прежний: бережём внимание. Один акцент на экран, движение только там, где оно что-то объясняет.

   Шкала: шрифт 13 · 14 · 16 · 20 · 25 · 31 · 39 · 46 · 61 · 72; отступы шаг 4; радиусы 8 · 12 · 16 · 22; колонка 1200, текст 680. */

@font-face { font-family: Medeo; src: url(fonts/MedeoSansDisplay-Light.woff2) format("woff2"); font-weight: 100 300; font-display: swap; }
@font-face { font-family: Medeo; src: url(fonts/MedeoSansDisplay-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Medeo; src: url(fonts/MedeoSansDisplay-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
/* SemiBold закрывает и 700, ExtraBold и 900: иначе браузер дорисует жирность сам */
@font-face { font-family: Medeo; src: url(fonts/MedeoSansDisplay-SemiBold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Medeo; src: url(fonts/MedeoSansDisplay-ExtraBold.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  --night: #0b0907; --paper: #f7f7ee; --dim: #d6cdb8; --blue: #8db1ff; --glow: #1a140c;
  --bg: var(--night); --bg-2: #070605; --surface: #15110d; --surface-2: #1d1813; --surface-3: #2a231b;
  --line: rgba(247, 247, 238, .08); --line-2: rgba(247, 247, 238, .15);
  --ink: var(--paper); --ink-2: var(--dim); --muted: #a1988a; --faint: #6e665c;
  --label: var(--paper); --label-ink: #140f06; --label-muted: #6b6152;
  --sticker: #d0645a; --sticker-2: #e07a6e; --navy: #5d7bd0; --gold: #e9b45c; --green: #8fca7e; --heart: #e0748a;
  --glass: rgba(247, 247, 238, .035); --glass-2: rgba(247, 247, 238, .06);

  --f-display: Medeo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-text: Medeo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --t-xs: 12.5px; --t-s: 13.5px; --t-m: 15px; --t-b: 16px; --t-l: 20px; --t-xl: 25px; --t-2: 31px; --t-3: 39px; --t-4: 46px; --t-5: 61px; --t-6: 72px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r1: 8px; --r2: 12px; --r3: 16px; --r4: 22px;
  --wrap: 1200px; --read: 680px; --gut: 32px;

  /* сильный ease-out для откликов, ease-in-out для перемещений; пружина только для редких событий */
  --ease: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); --ease-in: cubic-bezier(.5, 0, .75, 0); --spring: cubic-bezier(.34, 1.3, .64, 1);
  --d1: 140ms; --d2: 220ms; --d3: 320ms; --d4: 600ms;
  --shadow-1: inset 0 1px 0 rgba(247, 247, 238, .04), 0 10px 30px rgba(0, 0, 0, .32);
  --shadow-2: inset 0 1px 0 rgba(247, 247, 238, .05), 0 24px 60px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 var(--t-b)/1.6 var(--f-text); -webkit-font-smoothing: antialiased;
       min-height: 100vh; display: flex; flex-direction: column; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--label-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* плёночное зерно и тёплое свечение, как на главной. Зерно рисует fx.js: canvas-шум 220×220 и медленный сдвиг */
.grain { position: fixed; inset: -120px; z-index: 300; pointer-events: none; opacity: .045; background-size: 220px 220px; will-change: transform; }
.lamp { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(70% 60% at 50% -8%, var(--glow) 0%, rgba(11, 9, 7, 0) 72%), radial-gradient(60% 50% at 50% 115%, rgba(26, 20, 12, .7) 0%, rgba(11, 9, 7, 0) 70%); }
/* фон страницы фильма из цветов постера: пятна рисует fx.js, здесь только слой и появление */
.amb { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 600ms var(--ease); }
.amb.on { opacity: 1; }

/* ---------- раскладка ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.read { max-width: var(--read); }
main { flex: 1; position: relative; z-index: 1; overflow-x: clip; }
.page { padding-top: var(--s8); padding-bottom: var(--s9); }
.page.tight { padding-top: var(--s7); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; }
.cols.left { grid-template-columns: 300px minmax(0, 1fr); }
.sticky { position: sticky; top: 96px; }
.stack > * + * { margin-top: var(--s4); }
.stack-l > * + * { margin-top: var(--s7); }
.row-x { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.spacer { flex: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--min, 240px), 1fr)); gap: var(--s4); }

/* ---------- типографика ---------- */
.display { font: 800 var(--t-6)/.98 var(--f-display); letter-spacing: -.025em; }
.h1 { font: 800 var(--t-4)/1.02 var(--f-display); letter-spacing: -.022em; text-wrap: balance; }
.h2 { font: 700 var(--t-2)/1.1 var(--f-display); letter-spacing: -.015em; }
.h3 { font: 600 var(--t-l)/1.2 var(--f-display); letter-spacing: -.01em; }
.lead { font-size: var(--t-l); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.sub { color: var(--muted); font-size: var(--t-m); line-height: 1.55; max-width: 64ch; }
.meta { color: var(--muted); font-size: var(--t-s); }
.small { font-size: var(--t-xs); color: var(--muted); }
.muted { color: var(--muted); } .gold { color: var(--gold); } .red { color: var(--sticker); } .blue { color: var(--blue); }
.prose p { max-width: 68ch; color: var(--ink-2); line-height: 1.7; }
.prose p + p { margin-top: var(--s3); }
.page-head { display: flex; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.page-head .t { flex: 1; min-width: 260px; }
.page-head .sub { margin-top: var(--s3); }
.sec { margin-top: var(--s8); }
.sec:first-child { margin-top: 0; }
.sec-h { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s5); }
.sec-h .h2, .sec-h .h3 { flex: none; }
.sec-h .count { font: 500 11px var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.sec-h .more { margin-left: auto; font-weight: 600; font-size: var(--t-s); color: var(--muted); transition: color var(--d1); }
.sec-h .more:hover { color: var(--gold); }
.rule { height: 1px; background: var(--line); border: 0; margin: var(--s7) 0; }

/* ---------- шапка ---------- */
header.top { position: sticky; top: 0; z-index: 60; transition: background-color var(--d2), border-color var(--d2);
             border-bottom: 1px solid transparent; }
header.top.scrolled { background: rgba(11, 9, 7, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
header.top .wrap { display: flex; align-items: center; gap: var(--s6); height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; transition: transform var(--d2) var(--ease); }
@media (hover: hover) and (pointer: fine) { .brand:hover img { transform: rotate(-6deg); } }
.brand b { font: 800 19px/1 var(--f-display); letter-spacing: -.01em; }
.brand b i { font-style: normal; color: var(--blue); }
nav.main { display: flex; gap: 2px; }
nav.main a { position: relative; padding: 9px 12px; color: var(--muted); font-weight: 600; font-size: var(--t-m); white-space: nowrap; border-radius: 999px; transition: color var(--d1), background-color var(--d1); }
nav.main a:hover { color: var(--ink); background: var(--glass); }
nav.main a.on { color: var(--ink); }
nav.main a.on::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.hsearch { flex: 1; max-width: 320px; margin-left: auto; display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px;
           border-radius: 999px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); color: var(--muted);
           box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); transition: border-color var(--d2), box-shadow var(--d2); }
.hsearch:focus-within { border-color: rgba(233, 180, 92, .45); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 4px rgba(233, 180, 92, .08); }
.hsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font-size: var(--t-m); caret-color: var(--blue); }
.hsearch input::placeholder { color: var(--faint); }
.hsearch kbd { font: 500 11px var(--f-mono); color: var(--faint); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
/* вход в AI-поиск рядом с обычным */
.hai { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px 0 13px; border-radius: 999px; font-weight: 600; font-size: var(--t-s);
       color: var(--gold); background: rgba(233, 180, 92, .08); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .32);
       transition: background-color var(--d1), box-shadow var(--d1), transform var(--d1) var(--ease); }
.hai svg { width: 17px; height: 17px; }
.hai:active { transform: scale(.97); }
.hai.on { background: rgba(233, 180, 92, .16); }
@media (hover: hover) and (pointer: fine) { .hai:hover { background: rgba(233, 180, 92, .14); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .5), 0 0 24px rgba(233, 180, 92, .14); } }
.hright { display: flex; align-items: center; gap: var(--s3); flex: none; }
.menu { position: absolute; right: var(--gut); top: 66px; width: 260px; padding: 6px; border-radius: var(--r3); background: #17120d;
        border: 1px solid var(--line-2); box-shadow: var(--shadow-2); transform-origin: top right;
        opacity: 0; transform: translateY(-4px) scale(.97); pointer-events: none; transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu .who { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who b { display: block; font-weight: 800; } .menu .who small { color: var(--muted); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 9px; font-weight: 500; font-size: var(--t-m); color: var(--ink-2); }
.menu a:hover, .menu button:hover { background: var(--glass-2); color: var(--ink); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ---------- кнопки ----------
   Бумажная таблетка с мягким светом сверху. Нажатие сжимает на 3%, наведение только светит, без прыжков */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
       font: 600 15px/1 var(--f-display); letter-spacing: -.005em; white-space: nowrap; color: var(--label-ink);
       background: linear-gradient(180deg, #fbfbf4 0%, #ebe7d8 100%);
       box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(20, 15, 6, .14), 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px rgba(0, 0, 0, .28);
       transition: transform var(--d1) var(--ease), box-shadow var(--d2) var(--ease), filter var(--d2); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn.ghost { color: var(--ink); background: var(--glass-2);
             box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .13), inset 0 1px 0 rgba(247, 247, 238, .06); }
.btn.red { color: #fff6ee; background: linear-gradient(180deg, #df7064, #c4574d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px rgba(0, 0, 0, .28); }
.btn.gold { color: var(--label-ink); background: linear-gradient(180deg, #f2c677, #e2a94d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(233, 180, 92, .18); }
.btn.dark { background: var(--label-ink); color: var(--label); box-shadow: inset 0 1px 0 rgba(247, 247, 238, .08), 0 1px 2px rgba(0, 0, 0, .5); }
.btn.on { color: var(--gold); background: rgba(233, 180, 92, .1); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .42); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(20, 15, 6, .14), 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px rgba(247, 247, 238, .1); }
  .btn.ghost:hover { filter: none; background: rgba(247, 247, 238, .09); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .22), inset 0 1px 0 rgba(247, 247, 238, .08); }
  .btn.on:hover { background: rgba(233, 180, 92, .15); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .6); }
  .btn.red:hover, .btn.gold:hover { filter: brightness(1.06); }
}
.btn.sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.busy { pointer-events: none; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line-2); transition: color var(--d1), border-color var(--d1); }
.link:hover { color: var(--ink); border-color: var(--gold); }
.tlink { font-weight: 600; font-size: var(--t-s); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color var(--d1), text-decoration-color var(--d1); }
.tlink:hover { color: var(--ink); text-decoration-color: var(--gold); }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
            background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--d1), color var(--d1), transform var(--d1) var(--ease); }
.icon-btn:hover { background: rgba(247, 247, 238, .1); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }

/* ---------- чипы и вкладки ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: 999px; font: 500 14px/1 var(--f-display);
        color: var(--ink-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap;
        transition: color var(--d1), background-color var(--d1), box-shadow var(--d1), transform var(--d1) var(--ease); }
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { color: var(--ink); background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .24); } }
.chip.on { background: var(--paper); color: var(--label-ink); box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(0, 0, 0, .3); }
.chip .n { font: 500 11px var(--f-mono); opacity: .7; }
.tabs { position: relative; display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: var(--s6); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { position: relative; padding: 14px 4px; margin-right: 18px; color: var(--muted); font: 600 17px/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; transition: color var(--d1); }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs .on { color: var(--ink); }
.tabs .ink { position: absolute; bottom: -1px; height: 2px; background: var(--gold); border-radius: 2px; transition: left var(--d3) var(--ease-io), width var(--d3) var(--ease-io); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 34px; padding: 0 15px; border-radius: 999px; font: 500 14px/1 var(--f-display); color: var(--muted); transition: background-color var(--d1), color var(--d1), transform var(--d1) var(--ease); }
.seg button:active { transform: scale(.97); }
.seg button.on { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 8px rgba(0, 0, 0, .3); }

/* ---------- поверхности ----------
   Полупрозрачные: сквозь них видно тёплое свечение и пятна постера. Сверху тонкий блик, как у стекла */
.card { background: linear-gradient(180deg, rgba(247, 247, 238, .05), rgba(247, 247, 238, .022)); border-radius: var(--r3);
        box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.card.pad { padding: var(--s5); }
.card.hover { transition: transform var(--d2) var(--ease), box-shadow var(--d2); }
@media (hover: hover) and (pointer: fine) { .card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2); } }
a.card.hover:active { transform: scale(.99); }
.label-card { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfbf4, #efecdf); color: var(--label-ink); border-radius: var(--r3);
              box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 #fff; }
.label-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.label-card .in { padding: var(--s5) var(--s6) var(--s6); }
.label-card .muted, .label-card .sub, .label-card .meta { color: var(--label-muted); }
.label-card .bar { background: rgba(20, 15, 6, .12); }
.panel { padding: var(--s5); }
.panel + .panel { margin-top: var(--s4); }
.lbl, .panel .lbl { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }
.note { display: flex; gap: 12px; padding: var(--s4) var(--s5); border-radius: var(--r2); background: rgba(233, 180, 92, .07); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .2); color: var(--ink-2); font-size: var(--t-m); }
.empty { padding: var(--s7) 0; color: var(--muted); text-align: left; max-width: 52ch; }
.empty b { display: block; font: 600 var(--t-l) var(--f-display); color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }

/* полоса прогресса */
.bar { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #c9893a, var(--gold)); width: 0; transition: width var(--d4) var(--ease); }

/* ---------- строка фильма ---------- */
.rows { display: grid; gap: 8px; }
.rows.two { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.row { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 10px 14px 10px 10px; border-radius: var(--r2);
       background: linear-gradient(180deg, rgba(247, 247, 238, .045), rgba(247, 247, 238, .02)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(247, 247, 238, .03);
       transition: box-shadow var(--d2), transform var(--d2) var(--ease), background-color var(--d2); }
@media (hover: hover) and (pointer: fine) {
  a.row:hover, .row.click:hover { background: linear-gradient(180deg, rgba(247, 247, 238, .07), rgba(247, 247, 238, .035)); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px rgba(0, 0, 0, .35); }
}
a.row:active { transform: scale(.995); }
.row .th { width: 46px; height: 69px; border-radius: 7px; flex: none; overflow: hidden; background: var(--surface-3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 6px 14px rgba(0, 0, 0, .35); }
.row .th img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--d3); }
.row .th img.ok { opacity: 1; }
/* значок пересмотров на постере: тихий, золотой, в нижнем углу (5.11, Леша) */
.row .th { position: relative; }
.row .th .rwb { position: absolute; left: 3px; bottom: 3px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 3px; border-radius: 99px;
  font: 700 10px/1 var(--f-display); font-style: normal; color: var(--gold); background: rgba(10, 8, 6, .82); box-shadow: 0 0 0 1px rgba(233, 180, 92, .35); }
.row .th .rwb svg { width: 9px; height: 9px; }
.row .num { width: 30px; flex: none; text-align: center; font: 800 20px var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.row .x { flex: 1; min-width: 0; }
.row .x > span { display: block; }
.row .t { font: 600 17px/1.25 var(--f-display); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .y { font-size: var(--t-s); color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .w { font-size: var(--t-s); color: var(--ink-2); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .r { display: flex; align-items: center; gap: 8px; flex: none; }
.row .act { position: relative; z-index: 2; }

/* люди */
.prow { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; }
.prow .x { flex: 1; min-width: 0; } .prow b { display: block; font: 600 17px/1.2 var(--f-display); letter-spacing: -.01em; }
.prow small { color: var(--muted); font-size: var(--t-s); }

/* ---------- оценки: как в приложении ---------- */
.rc { position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none; border: 2px solid currentColor; background: rgba(0, 0, 0, .22);
      display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font: 600 15px/1 var(--f-display); }
.rc small { font: 800 7px var(--f-text); letter-spacing: .03em; opacity: .8; margin-top: 1px; }
.prob.mrc { cursor: pointer; font-family: inherit; font-weight: 800; background: transparent; flex: none; }
.prob.mrc.two { gap: 7px; } .prob.mrc svg { width: 1em; height: 1em; }
.prob.mrc:hover { opacity: 1; }
.mexp-big { font: 600 44px/1 var(--f-display); margin: 10px 0 4px; }
.mexp-big.rng { }
.rc.mine { background: #110d09; color: var(--c, #888); border: 3px solid var(--c, #888); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 8px var(--glow, transparent); }
.rc.mine.gold { color: #f2d27a; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 10px rgba(226, 182, 84, .3); overflow: visible; }
.rc.mine.gold::after { content: ""; position: absolute; inset: -34%; background: url(/img/laurel-sm.svg) center / contain no-repeat; pointer-events: none; }
/* отполированные кольца (31.10, как в приложении): цвет прежний, кольцо тоньше и с металлическим бликом; поле — ::before */
.rc.mine:not(.gold) { border: 0; isolation: isolate;
  background: linear-gradient(165deg, rgba(255,255,255,.8) 0%, var(--c, #888) 28%, color-mix(in srgb, var(--c, #888) 55%, #000) 62%,
              var(--c, #888) 86%, color-mix(in srgb, var(--c, #888) 45%, #000) 100%);
  box-shadow: 0 0 6px var(--glow, transparent); }
.rc.mine:not(.gold)::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #110d09; z-index: -1; }
.rc.vd { border: 0; background: var(--surface-3); font-size: 18px; }
.rc.lg { width: 62px; height: 62px; font-size: 23px; border-width: 3px; } .rc.lg small { font-size: 8.5px; }
.rc.mine.lg:not(.gold)::before { inset: 3px; }
/* IMDb и близкие рядом должны выглядеть парой (4.11): одно кольцо, цифра по центру, подпись под ней у обоих */
.rc.pair { gap: 0; } .rc.pair small { margin-top: 2px; }
.rc.sm { width: 32px; height: 32px; font-size: 13px; border-width: 2px; }
.prob { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--c, var(--gold)); color: var(--c, var(--gold));
        font: 600 13.5px/1 var(--f-display); letter-spacing: .02em; white-space: nowrap; }
.prob.big { height: 34px; padding: 0 14px; font-size: 16px; }
.pp { gap: 9px; white-space: nowrap; cursor: pointer; } .pp > span { display: inline-flex; align-items: center; gap: 3px; }
.pp svg { width: 1.05em; height: 1.05em; flex: none; } .pp .pp-f { color: var(--cf, #f39a4a); } .pp .pp-n { font-weight: 600; }
.pp.two { border-color: color-mix(in srgb, var(--cf, #f39a4a) 55%, transparent); } .pp .pp-l { color: var(--cl, var(--c)); }
.pp.two .pp-l { opacity: 1; font-size: 1em; } /* 7.11, Леша: 🔥 и 👍 одного размера и яркости, плашка симметричная */
.ic-in { width: 1em; height: 1em; vertical-align: -.12em; color: var(--gold); } .ic-in.ic-fav { color: #f39a4a; }

/* звёзды: форма рисуется маской, чтобы не зависеть от шрифта; под звёздами шкала 1–10 моно-цифрами */
.stars { display: inline-flex; gap: 2px; }
.stars button { position: relative; width: 30px; height: 34px; font-size: 0; color: rgba(247, 247, 238, .14); -webkit-tap-highlight-color: transparent;
                transition: color var(--d1) ease, transform var(--d1) var(--ease); }
.stars button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.6l2.75 5.82 6.35.8-4.66 4.4 1.2 6.3L12 16.83 6.36 19.92l1.2-6.3L2.9 9.22l6.35-.8z' stroke='black' stroke-width='1.4' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.6l2.75 5.82 6.35.8-4.66 4.4 1.2 6.3L12 16.83 6.36 19.92l1.2-6.3L2.9 9.22l6.35-.8z' stroke='black' stroke-width='1.4' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.stars button.on { color: var(--gold); }
.stars button.on::before { filter: drop-shadow(0 0 6px rgba(233, 180, 92, .35)); }
.stars button:active { transform: scale(.88); }
@media (hover: hover) and (pointer: fine) {
  .stars:hover button { color: #f2c677; }
  .stars button:hover ~ button { color: rgba(247, 247, 238, .14); }
  .stars button:hover { transform: scale(1.12); }
  .stars button:hover:active { transform: scale(.92); }
}
.stars.lg button { width: 42px; height: 46px; }
.stars.lg button::before { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.stars-val { font: 800 34px/1 var(--f-display); color: var(--gold); min-height: 34px; margin-top: 6px; }
.verdicts { display: flex; gap: 8px; }
.verdicts button { flex: 1; height: 54px; border-radius: 14px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 22px; transition: transform var(--d1) var(--ease), background-color var(--d1), box-shadow var(--d1); }
.verdicts button small { display: block; font: 600 10.5px var(--f-text); color: var(--muted); margin-top: 2px; }
.verdicts button.on { background: var(--paper); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); } .verdicts button.on small { color: var(--label-muted); }
.verdicts button:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .verdicts button:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .24); } .verdicts button.on:hover { background: var(--paper); } }

/* аватары */
.ava { width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
       font: 600 16px var(--f-display); color: var(--label-ink); background: var(--c, var(--label)); box-shadow: 0 0 0 2px var(--bg); }
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ava.sm { width: 28px; height: 28px; font-size: 13px; } .ava.lg { width: 56px; height: 56px; font-size: 24px; }
.ava.xl { width: 104px; height: 104px; font-size: 44px; border-radius: 26px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.avas { display: flex; } .avas .ava + .ava { margin-left: -8px; }

/* ---------- формы ---------- */
.field { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); color: var(--ink); outline: none;
         box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); transition: border-color var(--d2), box-shadow var(--d2); font-size: var(--t-m); caret-color: var(--blue); }
textarea.field { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.field:focus { border-color: rgba(233, 180, 92, .45); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 4px rgba(233, 180, 92, .08); }
.field::placeholder { color: var(--faint); }
/* 7.11, как в мини-приложении: мягкая стеклянная капсула без рамки */
.searchbox { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .075);
             -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
             box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .06); color: var(--muted);
             transition: background-color var(--d2), box-shadow var(--d2); }
.searchbox:focus-within { background: rgba(255, 255, 255, .1); color: var(--ink);
             box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(233, 180, 92, .4), 0 0 0 4px rgba(233, 180, 92, .08); }
.searchbox input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font-size: 17px; caret-color: var(--blue); }
.searchbox input::placeholder { color: var(--faint); }
.toggle { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle .x { flex: 1; } .toggle b { display: block; font-weight: 600; } .toggle small { color: var(--muted); font-size: var(--t-s); line-height: 1.45; display: block; margin-top: 2px; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--d2); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform var(--d2) var(--ease), background-color var(--d2); }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { transform: translateX(18px); background: #fffaf0; }

/* ---------- плитки подборок ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.tile { position: relative; display: block; min-height: 132px; padding: var(--s5); border-radius: var(--r3); overflow: hidden;
        background: radial-gradient(120% 90% at 0% 0%, var(--c1, #3a2a18), transparent 70%), linear-gradient(160deg, rgba(247, 247, 238, .04), rgba(247, 247, 238, .015));
        box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(247, 247, 238, .05);
        transition: transform var(--d2) var(--ease), box-shadow var(--d2); }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(247, 247, 238, .08), transparent 60%); opacity: 0; transition: opacity var(--d2); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line-2); } .tile:hover::after { opacity: 1; } }
.tile:active { transform: scale(.98); }
.tile .e { font-size: 26px; line-height: 1; }
.tile b { display: block; margin-top: 12px; font: 700 21px/1.15 var(--f-display); letter-spacing: -.015em; }
.tile small { display: block; margin-top: 6px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }

/* список-навигация */
.links { border-radius: var(--r3); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.links a, .links button { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; background: var(--glass);
                          border-bottom: 1px solid var(--line); transition: background-color var(--d1); }
.links a:last-child, .links button:last-child { border-bottom: 0; }
.links a:hover, .links button:hover { background: var(--glass-2); }
.links .e { width: 28px; text-align: center; font-size: 21px; flex: none; }
.links b { display: block; font: 600 18px/1.2 var(--f-display); letter-spacing: -.01em; }
.links small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--t-s); line-height: 1.35; }   /* 6.11: межстрочный был от body, огромный */
.links .go { margin-left: auto; color: var(--faint); transition: transform var(--d2) var(--ease), color var(--d2); }
.links a:hover .go, .links button:hover .go { transform: translateX(3px); color: var(--gold); }

/* статистика */
.stats { display: flex; gap: var(--s7); flex-wrap: wrap; }
.stat b { display: block; font: 800 var(--t-2)/1 var(--f-display); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: var(--t-s); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s3); }
.kpi { padding: var(--s4) var(--s5); }
.kpi b { display: block; font: 800 30px/1 var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
@media (max-width: 820px) { .kpi { padding: var(--s4); } .kpi b { font-size: 24px; } } .kpi span { display: block; margin-top: 6px; font-size: var(--t-s); color: var(--muted); }
.hbar { display: grid; grid-template-columns: 150px 1fr 54px 54px; align-items: center; gap: 14px; padding: 8px 0; font-size: var(--t-m); }
.hbar .tr { height: 9px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.hbar .tr i { display: block; height: 100%; border-radius: 99px; background: var(--gold); width: 0; transition: width var(--d4) var(--ease); }
.hbar .v { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.vbars { display: flex; align-items: flex-end; gap: 8px; height: 180px; }
.vbars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.vbars .b i { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--gold); height: 0; transition: height var(--d4) var(--ease); }
.vbars .b small { font: 600 12px var(--f-text); color: var(--muted); }
.vbars .b em { font: 600 13px var(--f-display); font-style: normal; color: var(--ink-2); }

/* персоны */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--s5) var(--s4); }
.person { display: block; text-align: center; }
.person .ph { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--surface-3); box-shadow: 0 0 0 1px var(--line);
              transition: transform var(--d2) var(--ease), box-shadow var(--d2); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.03); transition: filter var(--d3); }
.person:hover .ph { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold), 0 12px 30px rgba(0, 0, 0, .45); }
.person:hover .ph img { filter: none; }
.person b { display: block; margin-top: 10px; font-weight: 600; font-size: var(--t-s); line-height: 1.3; }
.person span { display: block; color: var(--muted); font-size: var(--t-xs); margin-top: 2px; }
.names { columns: 3; column-gap: var(--s6); }
.names a { display: flex; gap: 8px; align-items: baseline; break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); transition: color var(--d1); }
.names a b { font-weight: 700; } .names a span { color: var(--muted); font-size: var(--t-s); }
.names a:hover b { color: var(--gold); }

/* ---------- модалка, тост, скелетоны ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--s5);
         background: rgba(5, 4, 3, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade 200ms var(--ease) both; }
.modal.out { animation: fade 150ms var(--ease) reverse both; }
.modal .box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 48px); overflow: auto; animation: pop 240ms var(--ease) both; }
.modal .box.card { background: linear-gradient(180deg, #1d1712, #14100c); }
.modal .box.wide { max-width: 640px; }
.modal .box .in { padding: var(--s6); }
.modal button.x.icon-btn { position: absolute; top: 18px; right: 16px; z-index: 2; color: var(--muted); }   /* только кнопка закрытия: у строк списков внутри окна тоже класс x (5.11) */
.modal .card .x { color: var(--muted); }
/* 9.11, Леша: все окна тёмные. Тёмная кнопка на тёмном не видна, в окне она светлая, как обычная .btn */
.modal .btn.dark { color: var(--label-ink); background: linear-gradient(180deg, #fbfbf4 0%, #ebe7d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(20, 15, 6, .14), 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px rgba(0, 0, 0, .28); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 250; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
         padding: 12px 18px; border-radius: 999px; background: var(--paper); color: var(--label-ink); font-weight: 600; font-size: var(--t-m);
         box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sk { border-radius: var(--r2); background: linear-gradient(100deg, rgba(247, 247, 238, .03) 30%, rgba(247, 247, 238, .07) 50%, rgba(247, 247, 238, .03) 70%) 0 0 / 300% 100%; animation: sk 1.4s ease-in-out infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk.row-sk { height: 89px; } .sk.line { height: 16px; border-radius: 6px; } .sk.title { height: 44px; width: 46%; border-radius: 10px; }
.loading-bar { position: fixed; top: 0; left: 0; height: 3px; z-index: 400; background: linear-gradient(90deg, var(--blue), var(--gold)); width: 0; opacity: 0; box-shadow: 0 0 10px rgba(233, 180, 92, .55); border-radius: 0 3px 3px 0; }

/* ---------- движение: появление страницы и элементов ---------- */
.enter { animation: enter var(--d3) var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
.rv { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(min(var(--i, 0), 8) * 40ms); }
.rv.in { opacity: 1; transform: none; }
/* смена кадра при переходе внутри сайта (core.js): старый кадр притухает сразу после клика,
   новый садится из масштаба 1.012 и проявляется, поверх проходит еле заметный тёплый свет проектора. Только transform и opacity */
.view.leaving { opacity: .35; transition: opacity 160ms var(--ease); pointer-events: none; }
.view.cut { animation: cut-in 300ms var(--ease) both; transform-origin: 50% 24vh; }
@keyframes cut-in { from { opacity: 0; transform: scale(1.012); } 40% { opacity: 1; } }
body::after { content: ""; position: fixed; inset: 0; z-index: 290; pointer-events: none; opacity: 0;
              background: radial-gradient(90% 70% at 50% 0%, rgba(255, 236, 200, .07), rgba(255, 236, 200, .02) 60%, transparent 85%); }
html.cutting body::after { animation: cut-flash 360ms var(--ease) both; }
@keyframes cut-flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
::view-transition-old(root) { animation: vt-out 120ms ease-out both; }
::view-transition-new(root) { animation: vt-in 220ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@keyframes cut-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .rv { opacity: 1; transform: none; }
  .view.cut { animation: cut-fade 180ms ease-out both !important; }
  html.cutting body::after { animation: none !important; }
  .btn:active, .chip:active, .stars button:active, .hai:active { transform: none; }
}

/* ---------- подвал: тёплое свечение, как в титрах главной ---------- */
footer.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: var(--s8); padding: var(--s7) 0 var(--s8); color: var(--muted); font-size: var(--t-s);
              background: radial-gradient(70% 90% at 50% 0%, var(--glow) 0%, rgba(11, 9, 7, 0) 72%); }
footer.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: var(--s6); }
footer.foot b { display: block; color: var(--ink); font: 600 15px var(--f-display); margin-bottom: var(--s3); }
footer.foot a { display: block; padding: 4px 0; transition: color var(--d1); } footer.foot a:hover { color: var(--ink); }
footer.foot .legal { grid-column: 1 / -1; padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--faint); font-size: var(--t-xs); }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .cols, .cols.left { grid-template-columns: 1fr; } .sticky { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); } .names { columns: 2; }
  nav.main a { padding: 9px 8px; }
}
@media (max-width: 820px) {
  :root { --gut: 18px; --t-6: 52px; --t-5: 44px; --t-4: 36px; --t-3: 30px; --t-2: 25px; }
  header.top .wrap { height: auto; flex-wrap: wrap; gap: 10px 12px; padding-top: 12px; padding-bottom: 8px; }
  nav.main { order: 3; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 calc(var(--gut) - 8px); overflow-x: auto; scrollbar-width: none; }
  nav.main::-webkit-scrollbar { display: none; }
  .hsearch { order: 2; max-width: none !important; flex: 1 1 0; min-width: calc(100% - 128px); margin-left: 0; }
  .hai { order: 2; padding: 0 14px 0 12px; }
  .hright { margin-left: auto; } .hsearch kbd { display: none; }
  .brand { margin-right: auto; }
  .page { padding-top: var(--s6); padding-bottom: var(--s8); } .sec { margin-top: var(--s7); }
  .rows.two, .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; }
  .names { columns: 1; } .hbar { grid-template-columns: 110px 1fr 44px 44px; gap: 10px; }
  footer.foot .wrap { grid-template-columns: 1fr 1fr; }
  .menu { right: var(--gut); }
  .stats { gap: var(--s6); }
}

/* ---------- мелочи ядра ---------- */
.me-btn { padding: 2px; border-radius: 99px; transition: transform var(--d1) var(--ease); }
.me-btn:active { transform: scale(.95); }
.me-btn .ava { width: 38px; height: 38px; }
.empty > span { display: block; line-height: 1.6; }
.view { min-height: 60vh; }
.kbd, kbd { font: 500 11px var(--f-mono); color: var(--ink-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }
@media (max-width: 820px) { .hide-s { display: none; } }
.rows > *, .cols > * { min-width: 0; }
span.bar, .bar { display: block; }
.kpi b span, .stat b span { display: inline; margin: 0; font: inherit; color: inherit; }
@media (pointer: coarse) { .fp-keys, .keys-hint { display: none; } }
/* Лавры у десятки шире круга: даём им место, чтобы соседние оценки не наезжали */
.rc.mine.gold { margin-inline: 8px; }
.rc.mine.gold.sm { margin-inline: 6px; }
.row .num { width: auto; min-width: 30px; }
/* облачко с пояснением к проценту */
[data-tip] { cursor: pointer; }
.tipbub { position: fixed; z-index: 400; padding: 10px 13px; border-radius: 12px; background: var(--label); color: var(--label-ink); font: 600 13.5px/1.45 var(--f-text);
          box-shadow: 0 12px 34px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(4px) scale(.97); transition: opacity var(--d1), transform var(--d2) var(--ease); pointer-events: none; }
 .tipbub { white-space: pre-line; } .tipbub i { font-style: normal; } .tipbub i svg { width: 1em; height: 1em; vertical-align: -.14em; }
.tipbub .tb-f { color: #c94660; } .tipbub .tb-l { color: #4f8a3c; }
.tipbub.on { opacity: 1; transform: none; }
.tipbub::after { content: ""; position: absolute; left: calc(var(--ax, 50%) - 6px); width: 12px; height: 12px; background: var(--label); transform: rotate(45deg); }
.tipbub.up::after { bottom: -5px; } .tipbub.down::after { top: -5px; }

/* Обязательная плашка над материалами канала (иноагент) */
.ch-notice { margin: 8px 0; font-size: 11px; line-height: 1.4; letter-spacing: .02em; color: var(--muted); }

/* «Как часто сбываются прогнозы» */
.fp-calib { display: inline-block; margin-top: 10px; }
.cb-h { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; } .cb-h svg { width: 17px; height: 17px; }
.cb-head, .cb-row { display: grid; grid-template-columns: 70px 1fr 48px 60px; align-items: center; gap: 10px; }
.cb-head { margin-top: 8px; font-size: 12px; color: var(--muted); } .cb-head em, .cb-row em { font-style: normal; text-align: right; }
.cb-row { margin-top: 8px; font-size: 14px; } .cb-p { color: var(--muted); } .cb-row em { color: var(--muted); font-size: 12.5px; }
.cb-bar { position: relative; height: 10px; border-radius: 5px; background: rgba(247, 247, 238,.07); }
.cb-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.cb-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.cb-row.f .cb-bar i { background: #f39a4a; } .cb-row.f .cb-hit { color: #f39a4a; font-weight: 800; }
.cb-row.l .cb-bar i { background: #8fca7e; } .cb-row.l .cb-hit { color: #8fca7e; font-weight: 800; }

/* Из чего сложился прогноз */
.ps { margin-top: 10px; } .ps summary { cursor: pointer; display: inline-block; } .ps[open] summary { margin-bottom: 6px; }
.ps-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ps summary + .ps-row { border-top: 0; } .ps-t small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.ps-v { font-weight: 800; white-space: nowrap; } .ps-v.up { color: #8fca7e; } .ps-v.dn { color: #e07b6c; } .ps-row.total { font-weight: 700; }
.ps-note { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; } .ps-note svg { width: 1em; height: 1em; vertical-align: -.12em; }

/* лесенка прогноза */
.wf-r { display: grid; grid-template-columns: 170px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.wf-l b { display: block; font-size: 13.5px; } .wf-l small { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); margin-top: 1px; } .wf-l small svg { width: 1em; height: 1em; vertical-align: -.12em; }
.wf-t { position: relative; height: 28px; margin-right: 16px; }   /* справа запас, чтобы точка у 10 не упиралась в край */ .wf-g em { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(247, 247, 238,.06); }
.wf-bar { position: absolute; top: 8px; height: 12px; border-radius: 6px; } .wf-bar.up { background: #8fca7e; } .wf-bar.dn { background: #e07b6c; }
.wf-dot { position: absolute; top: 6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #cfc5b3; }
.wf-dot.end { background: #f39a4a; box-shadow: 0 0 14px rgba(243,154,74,.7); }
.wf-n { position: absolute; top: 6px; font-size: 12.5px; font-weight: 800; white-space: nowrap; } .wf-n.up { color: #8fca7e; margin-left: 6px; }
.wf-n.dn { color: #e07b6c; transform: translateX(calc(-100% - 6px)); } .wf-n.v { margin-left: 12px; color: var(--ink); } .wf-n.v.end { color: #f39a4a; } .wf-h { font-size: 11px; font-weight: 500; color: var(--muted); } .wf-p { color: inherit; text-decoration: underline; text-decoration-color: rgba(247, 247, 238,.35); text-underline-offset: 3px; cursor: pointer; } .wf-d > summary { list-style: none; cursor: pointer; } .wf-d > summary::-webkit-details-marker { display: none; } .wf-d[open] .wf-r { border-bottom: 0; } .wf-why { margin: -2px 0 8px; padding: 9px 12px; border-radius: 10px; background: rgba(247, 247, 238,.05); font-size: 12.5px; line-height: 1.45; color: var(--ink-2, #d8cfbf); } .wf-n.lft, .wf-n.v.lft { margin-left: 0; transform: translateX(calc(-100% - 12px)); }
/* 12.11: линии сетки во всю высоту строки, точки и полосы по центру; раскрывающиеся строки не наследуют раскладку заголовка блока (Леша) */

.wf-ax { position: relative; height: 16px; margin: 2px 16px 6px 180px; font-size: 11px; color: var(--muted); } .wf-ax span { position: absolute; transform: translateX(-50%); }

/* «Шедевры для тебя»: два блока */
.dc-grp { margin: 22px 0 10px; } .dc-vc { color: #f39a4a; font-weight: 700; }

.wf-d > summary::after, .ps .wf-d > summary::after { content: none !important; }

/* IMDb: мало голосов или оценки нет (30.10) — пунктир, цифре пока не верь */
.rc.few { color: #c9bfa8; border: 2px dashed #6c645f; } .rc.few small { color: #958b84; font-size: 6.5px; white-space: nowrap; }
.rc.few.none { color: #958b84; font-size: 15px; }

/* ожидание подбора (1.11) */
.pw { margin: 4px 0 16px; } .pw-bar { height: 4px; border-radius: 2px; background: var(--line, rgba(255,255,255,.1)); overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; background: var(--accent, #e9b45c); border-radius: 2px; transition: width .25s linear; }
.pw-t { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 20px; }
@media (prefers-reduced-motion: reduce) { .pw-bar i { transition: none; } }

/* Сбор истории канала (1.11): этапы с полосками и итог */
.mi-steps { display: grid; gap: 12px; margin-top: 8px; max-width: 640px; }
.mi-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.mi-step.idle { opacity: .5; }
.mi-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--line); color: var(--muted); }
.mi-step.on .mi-dot, .mi-step.wait .mi-dot { background: var(--gold); color: #1d1a1f; }
.mi-step.done .mi-dot { background: var(--green); color: #fff; } .mi-step.err .mi-dot { background: var(--sticker); color: #fff; }
.mi-tx { flex: 1; min-width: 0; } .mi-tx b { display: block; font-size: 16px; } .mi-tx small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.mi-bar { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mi-bar i { display: block; height: 100%; border-radius: 3px; background: var(--gold); transition: width .8s ease;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); background-size: 60px 100%; animation: mi-run 1.4s linear infinite; }
.mi-step.wait .mi-bar i { width: 30% !important; opacity: .45; animation: mi-wait 1.8s ease-in-out infinite alternate; }
@keyframes mi-run { from { background-position: -60px 0; } to { background-position: 200px 0; } }
@keyframes mi-wait { from { transform: translateX(-10%); } to { transform: translateX(240%); } }
.mi-done { text-align: center; max-width: 720px; } .mi-done .kpis { margin-top: 24px; }
.mi-burst { font-size: 64px; margin-top: 12px; animation: mi-burst .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes mi-burst { from { transform: scale(.2) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
.mi-big { margin-top: 8px; } .mi-big b { display: block; font: 800 88px/1 var(--f-display); color: var(--gold); } .mi-big span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .mi-burst, .mi-bar i { animation: none; } }
.mi-nums { margin-top: 24px; text-align: left; } .mi-nh { font-weight: 800; margin-bottom: 10px; } .mi-nh small { font-weight: 600; color: var(--muted); margin-left: 8px; }
.mi-nr { display: grid; grid-template-columns: 26px minmax(0, 1fr) 48px; gap: 10px; align-items: center; margin-top: 6px; }
.mi-nr span { font: 600 16px var(--f-display); text-align: center; } .mi-nr b { text-align: right; color: var(--muted); }
/* Квиз: склейка двух фильмов, ответ текстом (1.11) */
.qz-blend { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 16px; }
.qz-blend img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #080604; }
.qz-plus { font: 600 34px var(--f-display); color: var(--gold); }
.qz-type { display: flex; gap: 10px; margin-top: 18px; max-width: 560px; }
.qz-type input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; font-size: 18px; }
.qz-type .btn { flex: none; }
.qz-word { margin-top: 10px; font: 600 40px/1.1 var(--f-display); color: var(--gold); }
.qz-emoji { margin-top: 16px; padding: 28px 16px; border-radius: 20px; background: var(--surface); text-align: center; font-size: 64px; line-height: 1.15; letter-spacing: .08em; }
.qz-riddle { margin-top: 16px; padding: 24px 26px; border-radius: 20px; background: var(--surface); font-size: 24px; line-height: 1.4; font-weight: 600; max-width: 760px; }
.qz-fmt { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 720px; }
/* Квиз: до следующего вопроса и разбор всех вопросов в итогах (1.11) */
.qz-next { position: relative; margin: 16px 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--surface); color: var(--muted); overflow: hidden; max-width: 560px; }
.qz-next b { color: var(--ink); }
.qz-next i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left; animation: qz-next var(--d) linear forwards; }
@keyframes qz-next { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.qzr { display: grid; gap: 12px; }
.qzr-it { padding: 14px; border-radius: 14px; background: var(--surface); border-left: 3px solid var(--green); }
.qzr-it.bad { border-left-color: var(--sticker); }
.qzr-h { display: flex; gap: 10px; align-items: baseline; } .qzr-h b { color: var(--muted); } .qzr-h span { flex: 1; font-weight: 700; } .qzr-h em { font-style: normal; font-weight: 800; }
.qzr-it.ok .qzr-h em { color: var(--green); } .qzr-it.bad .qzr-h em { color: var(--sticker); }
.qzr-emo { font-size: 34px; margin-top: 6px; } .qzr-tx { margin-top: 6px; line-height: 1.45; }
.qzr-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.qzr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } .qzr-two img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.qzr-a { margin-top: 8px; } .qzr-a b { color: var(--gold); } .qzr-a.mine { margin-top: 2px; color: var(--muted); }
.qzr-ex { margin-top: 4px; font-size: 14px; color: var(--muted); }
.qz-game.qz-loading .qz-opts, .qz-game.qz-loading .qz-type { opacity: .55; pointer-events: none; }

/* ---------- r2: экран-приглашение вместо закрытой страницы (core.js, loginWall) ----------
   Слева ценность и одна кнопка, справа превью того, что за дверью: стекло, нарисованные стилями карточки, низ тает */
.gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s8); align-items: center; min-height: 62vh; }
.gt-eye { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.gt-h { margin-top: var(--s4); max-width: 15ch; }
.gt-pts { list-style: none; margin-top: var(--s5); display: grid; gap: 10px; max-width: 44ch; }
.gt-pts li { text-wrap: pretty; position: relative; padding-left: 22px; color: var(--ink-2); font-size: var(--t-l); line-height: 1.4; }
.gt-pts li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(233, 180, 92, .55); }
.gt-go { margin-top: var(--s6); }
.gt-fine { margin-top: var(--s3); color: var(--muted); font-size: var(--t-s); }
.gt-art { position: relative; }
.gt-art::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(233, 180, 92, .13), transparent 75%); }
.gt-glass { position: relative; padding: var(--s6); border-radius: var(--r4); overflow: hidden;
            background: linear-gradient(180deg, rgba(247, 247, 238, .06), rgba(247, 247, 238, .015));
            box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(247, 247, 238, .08), 0 30px 80px rgba(0, 0, 0, .5);
            transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
            -webkit-mask: linear-gradient(180deg, #000 72%, transparent 100%); mask: linear-gradient(180deg, #000 72%, transparent 100%); }
.gt-glass > * + * { margin-top: var(--s5); }
.gt-ln { display: block; height: 9px; width: 78%; border-radius: 5px; background: rgba(247, 247, 238, .16); }
.gt-ln.s { width: 48%; margin-top: 7px; background: rgba(247, 247, 238, .09); }
.gt-post { display: block; aspect-ratio: 2 / 3; border-radius: 10px; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)), radial-gradient(90% 70% at 30% 20%, var(--a, #5a3a22), var(--b, #1d140c));
           box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .1), inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 24px rgba(0, 0, 0, .45); }
.gt-av { display: block; width: 40px; height: 40px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c, #e9b45c) 70%, #fff), var(--c, #e9b45c) 45%, color-mix(in srgb, var(--c, #e9b45c) 40%, #000)); }
/* три фильма с процентом */
.gt-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.gt-film { display: block; }
.gt-film .gt-ln { margin-top: 12px; }
.gt-film b { display: block; margin-top: 12px; font: 800 30px/1 var(--f-display); letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.gt-film:nth-child(2) b { opacity: .8; } .gt-film:nth-child(3) b { opacity: .62; }
.gt-film small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.gt-row3.sm .gt-film b { font-size: 22px; } .gt-row3.sm .gt-film small, .gt-row3.sm .gt-ln { display: none; }
/* портрет вкуса: столбики точек от 1 до 10 */
.gt-dots { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 240px; }
.gt-col { flex: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 5px; }
.gt-col i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 45%, transparent); }
.gt-col em { order: -1; margin-top: 6px; font: 500 11px var(--f-mono); font-style: normal; color: var(--faint); }
/* люди */
.gt-ppl { display: grid; gap: var(--s3); }
.gt-per { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r2); background: rgba(247, 247, 238, .035); box-shadow: inset 0 0 0 1px var(--line); }
.gt-per > span { flex: 1; min-width: 0; }
.gt-per b { font: 800 24px/1 var(--f-display); color: var(--c); font-variant-numeric: tabular-nums; }
/* цифры */
.gt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.gt-stats b { display: block; font: 800 34px/1 var(--f-display); letter-spacing: -.02em; }
.gt-stats small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.gt-stats + .gt-dots { height: 200px; } .gt-stats + .gt-dots .gt-col { gap: 3px; } .gt-stats + .gt-dots .gt-col i { width: 9px; height: 9px; }
/* перенос оценок */
.gt-imp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }   /* 9.11: три источника */
.gt-src { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r2); background: rgba(247, 247, 238, .04); box-shadow: inset 0 0 0 1px var(--line); }
.gt-src .imp-logo { width: 26px; height: 26px; margin-bottom: 6px; } .gt-src b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gt-src em { font: 800 26px/1 var(--f-display); font-style: normal; color: var(--ink-2); }
.gt-arrow { grid-column: 1 / -1; justify-self: center; width: 2px; height: 34px; background: linear-gradient(var(--line-2), var(--gold)); }
.gt-you { grid-column: 1 / -1; text-align: center; padding: 20px; border-radius: var(--r3); background: rgba(233, 180, 92, .08); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .3); }
.gt-you b { display: block; font: 800 46px/1 var(--f-display); color: var(--gold); letter-spacing: -.02em; } .gt-you small { color: var(--muted); }
/* чат */
.gt-chat { display: grid; gap: 10px; }
.gt-msg { display: flex; align-items: flex-end; gap: 10px; } .gt-msg.me { justify-content: flex-end; }
.gt-msg .gt-av { width: 30px; height: 30px; }
.gt-bub { display: block; width: var(--w); height: 38px; border-radius: 18px 18px 18px 6px; background: rgba(247, 247, 238, .08); box-shadow: inset 0 0 0 1px var(--line); }
.gt-msg.me .gt-bub { border-radius: 18px 18px 6px 18px; background: rgba(233, 180, 92, .18); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .3); }
/* квиз */
.gt-qz { text-align: center; } .gt-emo { display: block; padding: 26px 0; font-size: 54px; letter-spacing: .08em; border-radius: var(--r3); background: rgba(247, 247, 238, .04); }
.gt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--s4); }
.gt-opts i { height: 48px; border-radius: 14px; background: rgba(247, 247, 238, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.gt-opts i.ok { background: rgba(143, 202, 126, .16); box-shadow: inset 0 0 0 1px rgba(143, 202, 126, .5); }
/* список */
.gt-list { display: grid; gap: 10px; }
.gt-li { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r2); background: rgba(247, 247, 238, .035); box-shadow: inset 0 0 0 1px var(--line); }
.gt-li .gt-post { width: 40px; flex: none; border-radius: 6px; } .gt-li > span { flex: 1; }
.gt-li:nth-child(2) .gt-post { --a: #2d4766; --b: #121b28; } .gt-li:nth-child(3) .gt-post { --a: #4f5a2e; --b: #1b1f10; } .gt-li:nth-child(4) .gt-post { --a: #5e2e44; --b: #1e0f16; }
/* появление: текст и превью чуть вразнобой, один раз при открытии */
.gate .gt-txt > * { animation: enter 420ms var(--ease) both; }
.gate .gt-txt > :nth-child(2) { animation-delay: 40ms; } .gate .gt-txt > :nth-child(3) { animation-delay: 80ms; } .gate .gt-txt > :nth-child(n+4) { animation-delay: 120ms; }
.gate .gt-art { animation: gt-art 600ms var(--ease) 80ms both; }
@keyframes gt-art { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) {
  .gate { grid-template-columns: 1fr; gap: var(--s6); min-height: 0; }
  .gt-art { max-width: 520px; }
  .gt-glass { transform: none; padding: var(--s5); }
}
@media (max-width: 520px) {
  .gt-pts li { font-size: var(--t-b); }
  .gt-go { width: 100%; }
  .gt-glass { padding: var(--s4); max-height: 300px; }
  .gt-film b { font-size: 22px; } .gt-film small { font-size: 11px; }
  .gt-dots { height: 190px; gap: 3px; } .gt-col i { width: 9px; height: 9px; } .gt-col { gap: 4px; }
  .gt-stats b { font-size: 26px; } .gt-you b { font-size: 36px; } .gt-src { padding: 12px; } .gt-src b { font-size: 13px; } .gt-src em { font-size: 21px; } .gt-emo { font-size: 40px; padding: 18px 0; }
}

/* ---------- r2: Medeo шире Oswald, узкие места ---------- */
.sec-h { flex-wrap: wrap; row-gap: 6px; }
.sec-h .h2, .sec-h .h3 { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.sec-h .more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sec-h .more svg { width: 15px; height: 15px; }
.h1, .h2, .display { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 520px) {
  .sec-h .h2 { font-size: 23px; }
  .row .t { font-size: 16px; }
  /* 11.11, Тестировщик: чипы процентов и IMDb уходят под название, рядом с постером, чтобы название и год не резались */
  .row.wrap { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; }
  .row.wrap .th { grid-row: 1 / 3; } .row.wrap .x { align-self: end; } .row.wrap .r { align-self: start; }
  .chip { padding: 0 13px; font-size: 13.5px; }
  .tabs a, .tabs button { font-size: 16px; margin-right: 14px; }
  .stats { gap: var(--s5); } .stat b { font-size: 26px; }
  .kpi b { font-size: 22px; }
  .hbar { grid-template-columns: 92px 1fr 40px 40px; gap: 8px; font-size: 14px; }
}

/* ---------- r2: пустые состояния ----------
   Не голый текст, а тихая карточка. Три точки как на главной: место, где появится твоё. Заголовок, строка и одна кнопка */
.empty { position: relative; max-width: 560px; margin: var(--s5) 0; padding: var(--s6) var(--s6) var(--s6); border-radius: var(--r3);
         background: radial-gradient(120% 100% at 0% 0%, rgba(233, 180, 92, .07), transparent 60%), linear-gradient(180deg, rgba(247, 247, 238, .04), rgba(247, 247, 238, .015));
         box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(247, 247, 238, .05); }
.empty b { font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.015em; margin-bottom: 8px; }
.empty > span { color: var(--muted); font-size: var(--t-m); max-width: 46ch; text-wrap: pretty; }
.em-act { margin-top: var(--s5); }
.em-mark { display: flex; gap: 6px; margin-bottom: var(--s4); }
.em-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(233, 180, 92, .6); }
.em-mark i:nth-child(2) { background: var(--paper); opacity: .5; box-shadow: none; } .em-mark i:nth-child(3) { background: var(--blue); opacity: .7; box-shadow: 0 0 12px rgba(141, 177, 255, .4); }
.label-card .empty { background: none; box-shadow: none; padding: 0; margin: 0; }
@media (max-width: 520px) { .empty { padding: var(--s5); } .empty b { font-size: var(--t-l); } .em-act .btn { width: 100%; } }

/* ---------- r2: шапка как на новой главной ----------
   Всегда полупрозрачная с лёгким размытием, при прокрутке чуть плотнее. Логотип словом, синий plod, четыре пункта, справа поиск, AI и вход */
header.top { background: rgba(11, 9, 7, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(247, 247, 238, .04); }
header.top.scrolled { background: rgba(11, 9, 7, .72); }
.brand img { display: none; }
.brand b { font: 800 19px/1 var(--f-display); letter-spacing: -.01em; }
nav.main a { font-weight: 500; font-size: 15px; }
.hlogin { height: 40px; padding: 0 16px; font-size: 15px; font-weight: 600; }
.hlogin svg { width: 16px; height: 16px; }
@media (max-width: 1180px) and (min-width: 821px) { .hsearch { max-width: 240px; } .hlogin .hide-s { display: none; } header.top .wrap { gap: var(--s5); } }
@media (max-width: 820px) {
  header.top .wrap { padding-top: 10px; }
  .hlogin { height: 36px; padding: 0 14px; }
  nav.main a { font-size: 15px; padding: 9px 10px; }
}

/* ---------- r2: глубина фона ----------
   Три слоя под контентом: тёплый свет лампы, пятна цвета постера и виньетка. При прокрутке свет и пятна отстают с разной скоростью (fx.js),
   виньетка стоит на месте. Каждый слой ниже порога заметности, вместе дают объём */
.lamp, .amb { will-change: transform; }
.amb { inset: -40px 0 -200px; }
.vig { position: fixed; inset: 0; z-index: 0; pointer-events: none;
       background: radial-gradient(130% 95% at 50% 35%, transparent 52%, rgba(3, 2, 1, .42) 100%),
                   linear-gradient(180deg, rgba(255, 238, 210, .028) 0%, transparent 26%, transparent 64%, rgba(3, 2, 1, .32) 100%); }

/* Быстрый поиск в шапке: находки под строкой, как на главной (4.11) */
.qpop { position: fixed; z-index: 80; display: none; padding: 6px; border-radius: 16px; background: #14100c;
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.qpop.open { display: block; }
.qpop ol { list-style: none; margin: 0; padding: 0; }
.qpop li a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 11px; color: var(--ink); text-decoration: none; }
.qpop li a.on, .qpop .qall.on { background: rgba(247, 247, 238, .07); }
.qpop img { width: 34px; height: 50px; flex: none; border-radius: 6px; object-fit: cover; background: rgba(247, 247, 238, .06); opacity: 0; transition: opacity .2s ease; }
.qpop img.ok { opacity: 1; }
.qpop .qperson img { width: 40px; height: 40px; border-radius: 50%; }
.qpop .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qpop .qr { display: flex; align-items: center; gap: 6px; flex: none; }
.qpop .qr .rc { width: 38px; height: 38px; }
.qpop .tt { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qpop .tt mark { background: none; color: var(--blue); }
.qpop .mt { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qpop .none { padding: 12px 10px; color: var(--muted); font-size: 14px; }
.qpop .qall { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); border-radius: 0 0 11px 11px; color: var(--muted); font-size: 14px; text-decoration: none; }
.qpop .qall:hover { color: var(--ink); }
.qpop.tries .qall { display: none; }
.qpop .qtry-h { display: flex; align-items: center; gap: 6px; padding: 8px 10px 6px; color: var(--gold); font-weight: 700; font-size: 13.5px; }
.qpop li a.qtry { gap: 10px; padding: 11px 10px; font-size: 14.5px; line-height: 1.35; }
.qpop li a.qtry:hover { background: rgba(247, 247, 238, .07); }

/* Проценты прогноза это кнопка (4.11): на наведение чуть приподнимаются и подсвечиваются своим цветом, с клавиатуры видна рамка */
.pp[data-tip] { cursor: pointer; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .pp[data-tip]:hover { transform: translateY(-1px); background-color: color-mix(in srgb, var(--c, var(--gold)) 13%, rgba(16, 13, 10, .6));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--gold)) 16%, transparent), 0 6px 16px rgba(0, 0, 0, .35); }
}
.pp[data-tip]:active { transform: scale(.97); }
.pp[data-tip]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Разбор процента: итог крупно, ниже лесенка шагов */
.modal .box.wf-box { max-width: 680px; padding: 28px 30px 24px; }
.wf-k { margin: 0; color: var(--muted); font-size: var(--t-xs); font-weight: 600; }
.wf-ttl { margin: 4px 40px 0 0; font-size: 24px; line-height: 1.15; text-wrap: balance; }
.wf-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; margin: 18px 0 20px; }
.wf-big { position: relative; padding: 16px 18px 18px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), rgba(247, 247, 238, .03);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.wf-big b { display: block; font: 800 52px/1 var(--f-display); letter-spacing: -.03em; color: var(--c); font-variant-numeric: tabular-nums; }
.wf-big b i { font-style: normal; font-size: .5em; margin-left: 2px; opacity: .85; }
.wf-big span { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.wf-big span svg { width: 1.05em; height: 1.05em; flex: none; margin-top: .1em; color: var(--c); }
.wf-gauge { display: block; height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(247, 247, 238, .08); overflow: hidden; }
.wf-gauge i { display: block; height: 100%; border-radius: 4px; background: var(--c); transform-origin: left; animation: wf-grow 700ms var(--ease) both; }
.wf-sec { margin: 0 0 6px; font: 600 15px var(--f-display); }
.wf-box .wf-r { grid-template-columns: 190px 1fr; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; transition: background-color 160ms; }
.wf-box .wf-d > summary:hover .wf-r, .wf-box .wf-r:hover { background: rgba(247, 247, 238, .035); }
.wf-box .wf-bar { top: 9px; height: 10px; border-radius: 5px; transform-origin: left; animation: wf-grow 600ms var(--ease) both; }
.wf-box .wf-bar.up { background: linear-gradient(90deg, rgba(143, 202, 126, .35), #8fca7e); box-shadow: 0 0 12px rgba(143, 202, 126, .35); }
.wf-box .wf-bar.dn { background: linear-gradient(270deg, rgba(224, 123, 108, .35), #e07b6c); box-shadow: 0 0 12px rgba(224, 123, 108, .3); transform-origin: right; }
.wf-box .wf-dot { background: #0f0c09; border: 3px solid #cfc5b3; }
.wf-box .wf-dot.end { width: 20px; height: 20px; top: 4px; margin-left: -10px; border: 0; background: radial-gradient(circle at 35% 35%, #ffc38a, #f39a4a 60%); animation: wf-pulse 2.4s ease-in-out infinite; }
.wf-box .wf-n.v.end { font-size: 15px; }
.wf-box .wf-ax { margin-left: 198px; }
@keyframes wf-grow { from { transform: scaleX(0); } }
@keyframes wf-pulse { 50% { box-shadow: 0 0 0 7px rgba(243, 154, 74, .12), 0 0 18px rgba(243, 154, 74, .7); } 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 154, 74, 0), 0 0 14px rgba(243, 154, 74, .6); } }
@media (max-width: 600px) {
  .modal .box.wf-box { padding: 16px 6px 14px; }
  .wf-hero { gap: 10px; }
  .wf-big { padding: 12px 12px 14px; }
  .wf-big b { font-size: 38px; }
  .wf-big span { align-items: flex-start; font-size: 12px; line-height: 1.35; }
  .wf-box .wf-r { grid-template-columns: 118px 1fr; }
  .wf-box .wf-ax { margin-left: 126px; }
}
@media (prefers-reduced-motion: reduce) { .wf-gauge i, .wf-box .wf-bar, .wf-box .wf-dot.end { animation: none; } }

/* колокольчик уведомлений в шапке (4.11) */
.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.bell:hover, .bell.on { color: var(--ink); background: rgba(247, 247, 238, .06); }
.bell em { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #e05a4f; color: #fff;
  font: 800 10.5px/18px var(--f-text); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--night, #0b0907); }

/* Телефон (4.11, Леша): шапка не висит на экране целиком. Раскладку страницы не трогаем (иначе iOS дёргает прокрутку):
   шапка всегда sticky, при прокрутке вниз уезжает целиком, при прокрутке вверх видна только первая строка — лого и кнопки */
@media (max-width: 820px) {
  header.top { transition: transform 240ms cubic-bezier(.23, 1, .32, 1), clip-path 240ms cubic-bezier(.23, 1, .32, 1), background-color var(--d2); will-change: transform; }
  header.top.hid { transform: translateY(-100%); }
  header.top.peek { clip-path: inset(0 0 calc(100% - var(--hrow, 56px)) 0); background: rgba(11, 9, 7, .94); }
}
/* уведомление с кнопкой: «Оценка поправлена… · Пересмотрел сегодня» */
#toast.act { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
#toast .toast-act { flex: none; padding: 6px 12px; border-radius: 99px; background: rgba(247, 247, 238, .12); color: var(--gold); font: 600 13px var(--f-text); cursor: pointer; }
#toast .toast-act:hover { background: rgba(247, 247, 238, .2); }

/* шторка справа: уведомления и личный чат поверх страницы (4.11) */
.sheet { position: fixed; inset: 0; z-index: 220; pointer-events: none; }
.sheet-bg { position: absolute; inset: 0; pointer-events: auto; background: transparent; }
.sheet-box { position: fixed; pointer-events: auto; background: #14100c; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .3); display: flex; flex-direction: column;
  animation: pop-in 180ms cubic-bezier(.23, 1, .32, 1) both; }
.sheet.out .sheet-box { animation: pop-out 140ms ease-out both; }
@keyframes pop-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } } @keyframes pop-out { to { opacity: 0; transform: scale(.97); } }
.sheet-x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 30px; height: 30px; background: rgba(247, 247, 238, .06); }
.sheet-in { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-in .wrap, .sheet-in .page { padding: 14px 14px 18px !important; margin: 0 !important; max-width: none !important; width: auto !important; }
.sheet-in .read { max-width: none; }
.sheet-in .page-head { margin-bottom: 10px; padding-right: 40px; }
.sheet-in .page-head .h1 { font-size: 20px; }
.sheet-in .page-head p, .sheet-in .page-head .sub { font-size: 13px; }
.sheet-in .tg-chat { padding: 0 !important; }
.sheet-in .tg-chat .rmc-head { padding-right: 48px; }
@media (prefers-reduced-motion: reduce) { .sheet-box, .sheet.out .sheet-box { animation: none; } }
/* вкладки: без рамки фокуса после клика мышью, выбранную и так видно по подчёркиванию */
.tabs a:focus, .tabs button:focus { outline: none; box-shadow: none; }
.tabs a:focus-visible, .tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* тихая переоценка: заметная плашка под звёздами с кнопкой «Пересмотрел сегодня» (4.11) */
.fp-quiet { display: flex; align-items: center; gap: 14px; margin: 12px 0 2px; padding: 12px 14px; border-radius: 14px;
  background: rgba(232, 184, 76, .08); border: 1px solid rgba(232, 184, 76, .35); animation: pop 220ms cubic-bezier(.23, 1, .32, 1) both; }
.fp-quiet span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fp-quiet b { font-size: 14px; color: var(--paper); } .fp-quiet small { font-size: 12.5px; color: var(--muted); }
.fp-quiet-b { flex: none; padding: 9px 14px; border-radius: 99px; background: var(--gold); color: #1a1208; font: 600 13.5px var(--f-text); cursor: pointer; transition: transform 140ms ease-out, filter 140ms; }
.fp-quiet-b:hover { filter: brightness(1.08); } .fp-quiet-b:active { transform: scale(.97); }
@media (max-width: 600px) { .fp-quiet { flex-direction: column; align-items: stretch; } }
.fp-quiet-x { flex: none; width: 30px; height: 30px; margin-right: -4px; color: var(--muted); background: none; }
.fp-quiet-x:hover { color: var(--paper); background: rgba(247, 247, 238, .08); }
@media (max-width: 600px) { .fp-quiet { position: relative; padding-right: 44px; } .fp-quiet-x { position: absolute; top: 8px; right: 8px; } }
/* плашка тихой переоценки в узкой колонке под постером: столбиком, крестик в углу (5.11) */
.fp-you .fp-quiet { position: relative; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 40px 12px 12px; }
.fp-you .fp-quiet b { font-size: 13.5px; } .fp-you .fp-quiet small { font-size: 12px; }
.fp-you .fp-quiet-b { width: 100%; margin-right: -28px; width: calc(100% + 28px); padding: 8px 12px; font-size: 13px; }
.fp-you .fp-quiet-x { position: absolute; top: 6px; right: 6px; margin: 0; width: 28px; height: 28px; }

/* перенос оценок: выбор Кинопоиск или Letterboxd (6.11) */
.dc-src { display: inline-flex; gap: 4px; margin: 0 0 22px; }
.dc-src a { display: inline-flex; align-items: center; gap: 8px; }
.dc-src .imp-logo, .src-ic .imp-logo { width: 22px; height: 22px; flex: none; }
.src-ic { display: inline-flex; gap: 4px; vertical-align: -5px; margin-left: 4px; }
.dc-src a { height: 40px; padding: 0 16px 0 10px; border-radius: 999px; font: 500 15px/1 var(--f-display); color: var(--muted); text-decoration: none; transition: background-color var(--d1), color var(--d1); }
.dc-src a.on { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 8px rgba(0, 0, 0, .3); }

/* 6.11, Леша: вопрос «Будешь смотреть дальше?» после оценки сериала и карточка продолжающихся сериалов после переноса */
#toast.ask { flex-direction: column; align-items: stretch; gap: 10px; width: min(92vw, 420px); text-align: left; padding: 14px; border-radius: 20px;
  background: #1f1b17; color: #cfc5b1; font-weight: 500; box-shadow: 0 18px 44px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(247, 247, 238, .1); pointer-events: auto; }
#toast.ask b { color: var(--ink); font-weight: 700; }
#toast .toast-ask { display: flex; gap: 8px; } #toast .toast-ask .toast-act { flex: 1; padding: 10px 12px; background: var(--paper); color: var(--label-ink); font-weight: 700; }
#toast .toast-ask .toast-no { background: rgba(247, 247, 238, .06); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .14); }
.dc-cont { margin-top: 18px; padding: 16px; border-radius: 16px; background: rgba(247, 247, 238, .04); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .09); display: grid; gap: 8px; }
.dc-cont-l { display: grid; gap: 2px; max-height: 50vh; overflow: auto; margin: 4px 0; }
.dc-cont-r { display: flex; align-items: center; gap: 12px; padding: 8px 2px; cursor: pointer; } .dc-cont-r input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.dc-cont-r span { display: grid; min-width: 0; } .dc-cont-r small { color: var(--muted); font-size: var(--t-s); }

/* Жалобы и блокировка (6.11, правило Apple 1.2) */
.mod-sh { display: flex; flex-direction: column; gap: 8px; padding-right: 30px; }
.mod-sh .sub { margin-bottom: 6px; color: var(--muted); }
.mod-sh textarea.field { height: auto; padding: 10px 14px; resize: vertical; }
.mod-q { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); font-size: 14px; color: var(--muted); }
.mod-row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  text-align: left; background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; }
.mod-row:hover { background: rgba(255, 255, 255, .07); }
.mod-row.on { background: #f7f7ee; color: #1a1712; }
.mod-row.red { color: #e0796f; }
.mod-bl { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mod-bl b { flex: 1; min-width: 0; }
.mod-btn { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 4px 6px; display: inline-flex; align-items: center; border-radius: 8px; }
.mod-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
/* экран входа с шаром вкуса (7.11, Леша): шар без рамки, крупнее, текст спокойнее */
.gt-art-ball::before { inset: -6%; background: radial-gradient(closest-side, rgba(233, 180, 92, .1), transparent 80%); }
.gt-art-ball .gt-sph { display: block; width: 100%; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.gate:has(.gt-art-ball) .gt-h { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; max-width: 12ch; }
.gate:has(.gt-art-ball) .gt-pts { gap: 14px; margin-top: var(--s6); }
.gate:has(.gt-art-ball) .gt-pts li { font-size: 17px; line-height: 1.5; color: rgba(247, 247, 238, .72); }
@media (max-width: 960px) { .gt-art-ball { order: -1; width: min(100%, 340px); margin: 0 auto; } }
.gate:has(.gt-art-ball) { grid-template-columns: minmax(0, 1fr) minmax(0, 660px); }
.gt-art-ball .gt-sph { max-width: 660px; width: 115%; margin-left: -7.5%; }
/* 8.11, Леша: «Подписки» у гостя, картинка не реагирует на мышь, данные примерные */
.gt-two-fig canvas { pointer-events: none; cursor: default; }
.gt-two-fig .mx-two-mid span { white-space: nowrap; }
.tk-gate { display: grid; justify-items: start; gap: 10px; }
.tk-gate .btn { margin-top: 6px; }
@media (max-width: 960px) { .gate:has(.gt-art-ball) { grid-template-columns: 1fr; } .gt-art-ball { width: min(100%, 420px); } .gt-art-ball .gt-sph { width: 100%; margin-left: 0; } }
/* 9.11: скрытый текст как в Telegram: случайная россыпь точек мерцает двумя слоями, по нажатию текст проявляется */
.rv-sp { color: transparent; border-radius: 4px; cursor: pointer; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='22'%3E%3Cg fill='%23efe5d2'%3E%3Ccircle cx='6.2' cy='18.6' r='0.83' fill-opacity='0.50'/%3E%3Ccircle cx='22.8' cy='9.9' r='0.78' fill-opacity='0.82'/%3E%3Ccircle cx='4.3' cy='0.6' r='0.87' fill-opacity='0.61'/%3E%3Ccircle cx='35.1' cy='0.0' r='0.67' fill-opacity='0.78'/%3E%3Ccircle cx='10.5' cy='20.8' r='0.90' fill-opacity='0.37'/%3E%3Ccircle cx='1.2' cy='11.9' r='0.92' fill-opacity='0.58'/%3E%3Ccircle cx='10.0' cy='9.3' r='0.46' fill-opacity='0.48'/%3E%3Ccircle cx='20.1' cy='10.9' r='0.57' fill-opacity='0.49'/%3E%3Ccircle cx='10.1' cy='10.1' r='0.59' fill-opacity='0.36'/%3E%3Ccircle cx='38.5' cy='12.2' r='0.77' fill-opacity='0.46'/%3E%3Ccircle cx='45.7' cy='18.9' r='0.51' fill-opacity='0.55'/%3E%3Ccircle cx='33.2' cy='15.6' r='0.92' fill-opacity='0.60'/%3E%3Ccircle cx='38.2' cy='14.7' r='0.60' fill-opacity='0.70'/%3E%3Ccircle cx='40.6' cy='18.6' r='0.70' fill-opacity='0.70'/%3E%3Ccircle cx='1.6' cy='5.3' r='0.85' fill-opacity='0.60'/%3E%3Ccircle cx='8.0' cy='12.1' r='0.80' fill-opacity='0.75'/%3E%3Ccircle cx='17.2' cy='9.7' r='0.70' fill-opacity='0.82'/%3E%3Ccircle cx='24.0' cy='8.7' r='0.69' fill-opacity='0.37'/%3E%3Ccircle cx='2.0' cy='15.5' r='0.94' fill-opacity='0.71'/%3E%3Ccircle cx='18.1' cy='3.7' r='0.70' fill-opacity='0.94'/%3E%3Ccircle cx='35.4' cy='11.9' r='0.88' fill-opacity='0.49'/%3E%3Ccircle cx='23.6' cy='21.0' r='0.74' fill-opacity='0.63'/%3E%3Ccircle cx='12.4' cy='12.1' r='0.93' fill-opacity='0.35'/%3E%3Ccircle cx='36.0' cy='18.1' r='0.89' fill-opacity='0.79'/%3E%3Ccircle cx='37.2' cy='11.4' r='0.73' fill-opacity='0.61'/%3E%3Ccircle cx='2.6' cy='19.1' r='0.73' fill-opacity='0.47'/%3E%3Ccircle cx='23.2' cy='10.7' r='0.63' fill-opacity='0.56'/%3E%3Ccircle cx='24.8' cy='13.7' r='0.76' fill-opacity='0.62'/%3E%3Ccircle cx='1.3' cy='5.1' r='0.54' fill-opacity='0.70'/%3E%3Ccircle cx='39.6' cy='17.6' r='0.85' fill-opacity='0.84'/%3E%3Ccircle cx='11.7' cy='18.5' r='0.79' fill-opacity='0.40'/%3E%3Ccircle cx='0.8' cy='0.3' r='0.83' fill-opacity='0.50'/%3E%3Ccircle cx='5.0' cy='13.7' r='0.62' fill-opacity='0.39'/%3E%3Ccircle cx='7.3' cy='11.6' r='0.53' fill-opacity='0.51'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='26'%3E%3Cg fill='%23efe5d2'%3E%3Ccircle cx='36.3' cy='24.6' r='0.48' fill-opacity='0.40'/%3E%3Ccircle cx='31.7' cy='19.1' r='0.78' fill-opacity='0.53'/%3E%3Ccircle cx='23.0' cy='15.8' r='0.74' fill-opacity='0.45'/%3E%3Ccircle cx='16.4' cy='10.2' r='0.81' fill-opacity='0.95'/%3E%3Ccircle cx='36.1' cy='14.1' r='0.67' fill-opacity='0.51'/%3E%3Ccircle cx='1.4' cy='0.7' r='0.68' fill-opacity='0.54'/%3E%3Ccircle cx='14.4' cy='23.2' r='0.71' fill-opacity='0.69'/%3E%3Ccircle cx='9.0' cy='0.6' r='0.61' fill-opacity='0.43'/%3E%3Ccircle cx='19.4' cy='26.0' r='0.79' fill-opacity='0.46'/%3E%3Ccircle cx='34.0' cy='20.7' r='0.82' fill-opacity='0.89'/%3E%3Ccircle cx='29.0' cy='20.5' r='0.63' fill-opacity='0.94'/%3E%3Ccircle cx='36.6' cy='4.2' r='0.83' fill-opacity='0.78'/%3E%3Ccircle cx='17.5' cy='13.8' r='0.70' fill-opacity='0.90'/%3E%3Ccircle cx='19.0' cy='21.6' r='0.63' fill-opacity='0.88'/%3E%3Ccircle cx='34.2' cy='12.0' r='0.73' fill-opacity='0.90'/%3E%3Ccircle cx='27.5' cy='12.7' r='0.56' fill-opacity='0.54'/%3E%3Ccircle cx='26.6' cy='4.3' r='0.90' fill-opacity='0.51'/%3E%3Ccircle cx='34.6' cy='8.0' r='0.93' fill-opacity='0.77'/%3E%3Ccircle cx='19.2' cy='13.5' r='0.78' fill-opacity='0.70'/%3E%3Ccircle cx='11.9' cy='5.4' r='0.71' fill-opacity='0.91'/%3E%3Ccircle cx='23.7' cy='2.0' r='0.86' fill-opacity='0.79'/%3E%3Ccircle cx='34.5' cy='5.0' r='0.82' fill-opacity='0.39'/%3E%3Ccircle cx='24.8' cy='7.1' r='0.56' fill-opacity='0.88'/%3E%3Ccircle cx='4.0' cy='13.6' r='0.88' fill-opacity='0.50'/%3E%3C/g%3E%3C/svg%3E"); background-size: 46px 22px, 38px 26px; animation: rvSpDots 3s linear infinite;
  padding: 2px 3px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7px, #000 calc(100% - 7px), transparent), linear-gradient(transparent, #000 4px, #000 calc(100% - 4px), transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7px, #000 calc(100% - 7px), transparent), linear-gradient(transparent, #000 4px, #000 calc(100% - 4px), transparent); mask-composite: intersect;
}
.rv-sp b, .rv-sp i, .rv-sp s { color: transparent; }
@keyframes rvSpDots { 0% { background-position: 0 0, 0 0; opacity: 1; } 50% { opacity: .75; } 100% { background-position: 46px -22px, -38px 26px; opacity: 1; } }
.rv-sp.open { background: none; color: inherit; animation: rvSpOpen .45s ease; -webkit-mask-image: none; mask-image: none; } .rv-sp.open b, .rv-sp.open i, .rv-sp.open s { color: inherit; }
@keyframes rvSpOpen { from { filter: blur(5px); opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .rv-sp, .rv-sp.open { animation: none; } }

/* 9.11: вход по почте и через Google в окне входа */
.lg-or { margin: 22px auto 0; color: var(--faint); font-size: 13px; }
.btn.lg-alt { margin-top: 12px; min-width: 280px; background: rgba(255, 255, 255, .07); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.btn.lg-alt[hidden], .lg-mail[hidden], .lg-mail [hidden] { display: none; }
.btn.lg-alt .gg { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.lg-mail { margin: 12px auto 0; display: flex; flex-direction: column; gap: 8px; max-width: 320px; text-align: left; }
.lg-hint { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin: 0; } .lg-hint.bad { color: var(--red, #d46a6a); }
.lg-again { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 4px 0; text-decoration: underline; }

/* Значки способов входа на кнопках «Войти» (9.11) */
.lgi { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; opacity: .9; }
.lgi .i { flex: none; }
.lgi .gg { display: block; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hlogin .lgi { margin-left: 2px; gap: 6px; }
.lgi .tgc { display: block; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Ccircle cx='120' cy='120' r='120' fill='%2329A9EB'/%3E%3Cpath fill='%23fff' d='M54 117c35-15 58-25 70-30 33-14 40-16 45-16 1 0 3 0 5 2 1 1 1 3 2 4 0 2 0 5 0 7-2 24-12 82-17 109-2 11-6 15-10 16-9 1-16-6-24-12-13-9-21-14-33-23-15-10-5-15 3-24 2-2 41-37 41-39 0-1 1-2-1-4-1-1-3 0-4 0-2 0-27 17-75 49-7 5-13 7-19 7-6 0-18-4-27-7-11-3-19-5-18-11 0-3 4-6 13-9z'/%3E%3C/svg%3E") center/contain no-repeat; }
/* Google одним цветом, как значки Telegram и почты рядом */
.lgi .ggm { display: block; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 9.11, Леша: шар загрузки, как в приложении, и тихий переход между вкладками подборки */
.ld { display: grid; justify-items: center; gap: 16px; padding: 120px 0 40px; }
.list-ld { display: flex; justify-content: center; } .list-ld .ld { padding: 36px 0 24px; }
.ld-ball { position: relative; width: 74px; height: 74px; animation: ldSpin 5s linear infinite; }
.ld-ball i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #f7f7ee;
  transform: translate(var(--x), var(--y)) scale(calc(.6 + var(--z) * .4 + .4)); opacity: calc(.35 + var(--z) * .3 + .3); animation: ldPulse 1.6s ease-in-out var(--d) infinite; }
.ld-bar { width: 110px; height: 3px; border-radius: 2px; background: rgba(247, 247, 238, .08); overflow: hidden; }
.ld-bar i { display: block; width: 40%; height: 100%; border-radius: 2px; background: #e9b45c; animation: ldBar 1.2s ease-in-out infinite; }
@keyframes ldSpin { to { transform: rotate(360deg); } } @keyframes ldPulse { 50% { opacity: .15; } } @keyframes ldBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.view.soft .enter { animation: none !important; }
/* 12.11, Леша по «Наследникам». Проценты ровной линией на уровне первой строки имени, полоса или точка сразу под ними,
   без центровки по высоте строки. Процент стоит над началом полосы, у правого края над её концом. Длинное имя в две строки */
.wf-r { --wfp: 8px; align-items: stretch; } .wf-box .wf-r { --wfp: 10px; } .fp-pmore .wf-r { --wfp: 6px; }
.wf-l { align-self: start; } .wf-l b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.wf-t { height: auto; min-height: calc(var(--wfp) * 2 + 38px); margin-top: calc(var(--wfp) * -1); margin-bottom: calc(var(--wfp) * -1); }
.wf-r .wf-n { top: calc(var(--wfp) + 1px); line-height: 18px; margin-left: 0; transform: none; font-variant-numeric: tabular-nums; }
.wf-r .wf-n.v { margin-left: -8px; } .wf-r .wf-n.r { transform: translateX(-100%); } .wf-r .wf-n.v.r { margin-left: 8px; }
.wf-r .wf-bar { top: calc(var(--wfp) + 21px); } .wf-box .wf-r .wf-bar { top: calc(var(--wfp) + 22px); }
.wf-r .wf-dot { top: calc(var(--wfp) + 19px); } .wf-box .wf-r .wf-dot.end { top: calc(var(--wfp) + 17px); }
.how .wf-d > summary, .coll2 .how .wf-d > summary { display: block; width: 100%; }

/* 12.11 «Не тот фильм» */
.wf-res { margin-top: 10px; } .wf-pick { display: block; width: 100%; min-height: 44px; padding: 10px 2px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.wf-pick:hover b { color: var(--gold); } .wf-pick b { display: block; font-size: 15px; } .wf-pick small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.rev-c[data-wrong] { height: 44px; }

/* 13.11, Леша. Полоски под 24% и 64% на одной высоте: карточки одной высоты, подпись и полоска прижаты к низу, подпись сразу над полоской (Леша) */
.wf-big { display: flex; flex-direction: column; } .wf-big span { margin-top: auto; padding-top: 6px; } .wf-big .wf-gauge { margin-top: 10px; }
