/* Экран знакомства, прямое видео по обновлённому макету 393 × 852 px. */
#new-hosts { position: relative; padding-top: 0; container-type: size; isolation: isolate; background: var(--paper); color: #080908; overflow: clip; }
.screen:has(#new-hosts:not([inert])) > .segments { visibility: hidden; }
#new-hosts::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url('./assets/mobile-study/revision/opening-paper-scratched.png') center / cover no-repeat; transform: scaleX(-1); }
.hosts-brand { position: absolute; left: 24.5px; top: 2.23cqh; color: #6f706b; font: 500 13px/13px var(--font-mono); }
.hosts-brand > span { display: block; }
.hosts-brand > span + span { margin: -2px 0 0 4px; color: #ee250d; font: 600 9px/10px var(--font-mono); letter-spacing: -.2px; transform: rotate(-4deg); transform-origin: left top; }
.hosts-title { position: absolute; left: 24px; top: 15.26cqh; margin: 0; font: 500 30px/1 var(--font-mono); }
.hosts-note { position: absolute; right: 27px; top: calc(35.8cqh - 74px); width: min(296px, calc(100cqw - 51px)); margin: 0; font: 400 min(18px, 4.58cqw)/20px var(--font-mono); text-align: right; }
.hosts-note > span { display: block; white-space: nowrap; }
.hosts-media { position: absolute; top: 35.8cqh; left: 0; width: 100%; height: calc(64.2cqh - 64.5px); margin: 0; background: #171714; overflow: hidden; }
/* Базовый сдвиг повторяет макет. На низких экранах ограничиваем обрезку
   сверху: над верхней границей проверенного диапазона голов остаётся 20 px.
   Ролик 9:16, поэтому его высота при заполнении ширины — 177.7778cqw. */
.hosts-media video { --headroom-correction: max(0px, calc(53.3333cqw - 44.94cqh + 65.15px)); display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(70% + var(--headroom-correction)); }
#new-hosts > * { z-index: 1; }
@media (max-height: 580px) { .hosts-title { font-size: 26px; } .hosts-note { top: calc(35.8cqh - 59px); font-size: 13px; line-height: 15px; } }

/* Знакомство по новому макету: две колонки и прямоугольная наклонная маска. */
#new-hosts .hosts-title { top:12.56cqh; left:var(--grid-left); right:auto; margin:0; translate:none; font:500 min(30px,7.6336cqw)/1 var(--font-mono); }
#new-hosts .hosts-note { top:12.32cqh; left:64.9cqw; right:20px; width:auto; margin:0; text-align:left; transform:none; translate:none; font:400 min(14px,3.56234cqw)/1.15 var(--font-mono); }
#new-hosts .hosts-media { inset:0; width:100%; height:100%; transform:none; clip-path:polygon(var(--hosts-tlx,20px) var(--hosts-tly,25cqh),var(--hosts-trx,calc(100% - 20px)) var(--hosts-try,29cqh),var(--hosts-brx,90%) var(--hosts-bry,90%),var(--hosts-blx,-10%) var(--hosts-bly,86%)); }
#new-hosts .hosts-media video { position:absolute; inset:var(--hosts-tly,25cqh) 0 0; width:100%; height:calc(100% - var(--hosts-tly,25cqh)); object-position:50% 50%; }
