/* 3.1.45 TV & Cinema */
.tv-hero { background: linear-gradient(135deg, color-mix(in oklab, var(--a) 40%, #120a1c), #08070f 70%); }
.tv-hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 10px, transparent 10px 22px) top/100% 12px no-repeat,
              repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 10px, transparent 10px 22px) bottom/100% 12px no-repeat,
              radial-gradient(70% 90% at 90% 0%, color-mix(in oklab, var(--a2) 40%, transparent), transparent 70%); }
.tv-hero h1, .tv-hero p { color: #fff; }
.tv-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.tv-chips::-webkit-scrollbar { display: none; }
.tv-chips .chip { flex: none; padding: 7px 14px; font-size: 13px; border: 1px solid var(--line-2); background: rgba(var(--tint), .04); }
.tv-chips .chip.on { border-color: var(--a); background: var(--a-12); box-shadow: 0 0 0 1px var(--a-45); }
.tv-chips.sm .chip { padding: 5px 11px; font-size: 12px; }
.tv-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; }
.tv-row::-webkit-scrollbar { display: none; }
.tv-row .tv-card { flex: 0 0 116px; scroll-snap-align: start; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px; }
.tv-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: inherit; }
.tv-poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r-md); overflow: hidden; background: rgba(var(--tint), .06);
  border: 1px solid var(--line); box-shadow: 0 10px 22px -12px rgba(0,0,0,.7); transition: transform .15s; }
.tv-card:active .tv-poster { transform: scale(.97); }
.tv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 30px; opacity: .6; }
.tv-rank { position: absolute; left: 6px; top: 6px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center;
  font: 800 14px var(--display, inherit); color: #fff; background: var(--grad); box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.tv-rate { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #fde047; background: rgba(0,0,0,.65); }
.tv-ct { font-size: 12.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-cs { font-size: 11px; }
.tv-mini { flex: none; width: 38px; height: 56px; border-radius: 8px; overflow: hidden; background: rgba(var(--tint), .06); }
.tv-mini.lg { width: 48px; height: 72px; }
.tv-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .tv-duo { grid-template-columns: 1fr; } }
.tv-promo { display: flex; gap: 12px; align-items: center; color: inherit; }
.tv-pe { font-size: 30px; }
.tv-wrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: var(--r-lg); scroll-margin-top: 90px; }
.tv-wpic { flex: none; width: 56px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: rgba(var(--tint), .06); }
.tv-wpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-wbody { min-width: 0; display: grid; gap: 4px; }
.tv-note { margin: 0; font-size: 13px; color: var(--mfg); font-style: italic; }
.tv-thumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tv-thumb { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(var(--tint), .04);
  color: var(--fg); font: 600 13px var(--body); cursor: pointer; }
.tv-thumb.up.on { border-color: #22c55e; background: rgba(34,197,94,.16); }
.tv-thumb.down.on { border-color: #ef4444; background: rgba(239,68,68,.16); }
.tv-thumb.pop { animation: tvpop .3s ease-out; }
@keyframes tvpop { 50% { transform: scale(1.18); } }
.tv-score { font-weight: 800; font-size: 13px; color: #4ade80; margin-left: 2px; }
.tv-score.neg { color: #f87171; }
.tv-wacts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex: none; }
.tv-add .tv-results { display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.tv-res { display: flex; gap: 10px; align-items: center; text-align: left; padding: 6px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(var(--tint), .03); color: var(--fg); font: inherit; cursor: pointer; }
.tv-res img, .tv-res .tv-noimg { width: 34px; height: 51px; object-fit: cover; border-radius: 6px; flex: none; font-size: 18px; }
.tv-picked { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--a-45); background: var(--a-6); }
.tv-picked img { width: 40px; height: 60px; object-fit: cover; border-radius: 6px; }
.tv-picked b { flex: 1; }
.tv-date { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-lg); color: inherit; }
.tv-date.mine { border-color: var(--a-45); }
.tv-date .grow { display: grid; gap: 3px; min-width: 0; }
.tv-dlabel { font-size: 12.5px; font-weight: 600; }
.tv-dlabel.cinema { color: #fbbf24; } .tv-dlabel.digital { color: #60a5fa; } .tv-dlabel.premiere { color: #f472b6; } .tv-dlabel.episode { color: #a78bfa; }
.tv-flags { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--mfg); }
.tv-quiz .tv-q { display: grid; gap: 10px; border: 1px solid var(--line-2); }
.tv-q legend { padding: 0 4px; }
.tv-clue { margin: 0; font-size: 13.5px; color: var(--mfg); font-style: italic; }
.tv-qimg { width: 90px; border-radius: 10px; }
.tv-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 420px) { .tv-opts { grid-template-columns: 1fr; } }
.tv-opt { position: relative; }
.tv-opt input { position: absolute; opacity: 0; }
.tv-opt span { display: block; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(var(--tint), .03); cursor: pointer; font-size: 13.5px; }
.tv-opt input:checked + span { border-color: var(--a); background: var(--a-12); box-shadow: 0 0 0 1px var(--a-45); }
.tv-opt input:focus-visible + span { outline: 2px solid var(--a); }
.tv-qres { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.tv-qres li span { display: block; font-size: 13px; }
.tv-qres li.ok span { color: #4ade80; } .tv-qres li.bad span { color: #f87171; }
.tv-pos { width: 28px; text-align: center; font-weight: 800; }
.tv-credit { text-align: center; font-size: 11px; margin-top: 10px; }
/* a title's page */
.tv-thero { position: relative; overflow: hidden; border-radius: var(--r-2xl); min-height: 230px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--a) 30%, #0b0912), #06050a); border: 1px solid var(--line-2); }
.tv-tbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tv-tshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,4,10,.25), rgba(5,4,10,.92) 75%); }
.tv-ttop, .tv-tmain { position: relative; }
.tv-ttop .back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); }
.tv-tmain { display: flex; gap: 14px; align-items: flex-end; color: #fff; }
.tv-tposter { flex: none; width: 104px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
.tv-tposter img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-tinfo { display: grid; gap: 6px; min-width: 0; }
.tv-tinfo h1 { margin: 0; font-size: 24px; line-height: 1.15; color: #fff; }
.tv-tmeta { font-size: 13px; color: rgba(255,255,255,.8); }
.tv-genres { display: flex; flex-wrap: wrap; gap: 5px; }
.tv-genres span { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; }
.tv-tacts { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-trailer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.tv-trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-tstats { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tv-over { margin: 8px 0 0; line-height: 1.6; }
.tv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tv-col { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: var(--r-md); background: rgba(var(--tint), .04); border: 1px solid var(--line); min-width: 0; }
.tv-dl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 8px; font-size: 12.5px; }
.tv-dl span { color: var(--mfg); white-space: nowrap; }
.tv-dl b { white-space: nowrap; margin-left: auto; }
.tv-wlab { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mfg); }
.tv-provs { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-prov { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border-radius: 99px; background: rgba(var(--tint), .06); font-size: 12px; font-weight: 600; }
.tv-prov img { width: 22px; height: 22px; border-radius: 6px; }
.tv-cform textarea { width: 100%; }
.tv-comments { display: grid; gap: 10px; }
.tv-cmt { padding: 10px 12px; border-radius: var(--r-md); background: rgba(var(--tint), .04); border: 1px solid var(--line); display: grid; gap: 4px; }
.tv-ctext { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.tv-spoiler { position: relative; text-align: left; border: 1px dashed rgba(250,204,21,.5); background: rgba(250,204,21,.06); border-radius: 10px; padding: 8px 10px; color: var(--fg); font: inherit; cursor: pointer; }
.tv-spoiler .tv-sptext { display: block; filter: blur(7px); user-select: none; white-space: pre-wrap; overflow-wrap: anywhere; transition: filter .2s; }
.tv-spoiler .tv-sptag { display: block; font-size: 12px; font-weight: 700; color: #fbbf24; margin-bottom: 4px; }
.tv-spoiler.open .tv-sptext { filter: none; user-select: auto; }
.tv-spoiler.open .tv-sptag { display: none; }
@media (max-width: 380px) { .tv-cols { grid-template-columns: 1fr; } }
.tv-me { gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--a-6); border: 1px solid var(--a-20); font-size: 13.5px; }
.tv-who { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.tv-clink { display: flex; flex-direction: column; gap: 4px; color: inherit; min-width: 0; }
.tv-thumbs.sm { gap: 4px; flex-wrap: nowrap; }
.tv-thumbs.sm .tv-thumb { padding: 3px 7px; font-size: 11.5px; gap: 3px; flex: 1; justify-content: center; }
.tv-grid .tv-clink, .tv-row .tv-clink { flex: 1; }
.tv-dsearch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.tv-dsearch .row { grid-column: 1 / -1; gap: 8px; }
.tv-dsearch input { width: 100%; }
@media (max-width: 420px) { .tv-dsearch { grid-template-columns: 1fr; } }
.tv-dfound { margin: 0; font-size: 13.5px; }
