/* Входная страница сайта (18.10.2026): тот же экран запуска (видео, логотип, рамка владельца), без проверок и кнопок шелла. */
.landing-screen .landing-shade { background: linear-gradient(90deg, rgba(0,7,12,.62) 0%, rgba(0,11,18,.24) 40%, transparent 70%); }
.landing-heading p { max-width: 560px; white-space: normal; }
.landing-panel .boot-registration-content p { margin: 10px 0 0; color: #c9e3ec; font-size: clamp(13px, .9vw, 16px); line-height: 1.3; text-shadow: 0 2px 6px #000; }
.landing-panel .boot-registration-content header p { margin-top: 8px; }
.landing-play { display: grid; place-items: center; box-sizing: border-box; padding: 0 12px; text-align: center; text-decoration: none; font-weight: 800; font-size: clamp(12px, .8vw, 15px); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.landing-play[aria-disabled="true"] { cursor: default; color: #6d858d; border-color: #315e69; background: rgba(2,15,22,.9); box-shadow: none; pointer-events: none; }
.landing-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px), (max-height: 520px) {
  .app[data-route="BOOT"] .landing-screen { height: auto; min-height: 100vh; min-height: 100dvh; overflow: hidden auto; }
  .app[data-route="BOOT"] .landing-screen .boot-background { position: fixed; height: 100vh; height: 100dvh; }
  .app[data-route="BOOT"] .landing-screen .boot-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-height: 100vh; min-height: 100dvh; padding: 24px 16px 28px; box-sizing: border-box; }
  .app[data-route="BOOT"] .landing-screen .boot-brand { position: static; }
  .app[data-route="BOOT"] .landing-screen .boot-brand { max-width: 100%; }
  .app[data-route="BOOT"] .landing-screen .boot-brand > span { height: 30px; }
  .app[data-route="BOOT"] .landing-screen .boot-brand > i { height: 26px; margin: 0 12px; }
  .app[data-route="BOOT"] .landing-screen .boot-brand .boot-brand-word { height: 10px; }
  .app[data-route="BOOT"] .landing-screen .boot-heading { position: static; width: 100%; }
  .app[data-route="BOOT"] .landing-screen .boot-heading h1 { font-size: clamp(36px, 11vw, 52px); white-space: normal; }
  .app[data-route="BOOT"] .landing-screen .landing-shade { background: linear-gradient(180deg, rgba(0,7,12,.55), rgba(0,7,12,.35) 50%, rgba(0,7,12,.7)); }
  .app[data-route="BOOT"] .landing-screen .boot-registration { position: relative; right: auto; bottom: auto; align-self: center; width: min(340px, 100%); margin-top: auto; }
  .landing-panel .boot-registration-content p { font-size: 13px; }
  .landing-play { font-size: 13px; }
}

/* Входящая передача (18.10.2026): рамка наставницы с экрана обучения, пропорции исходника 1916×821, без растяжения. */
.landing-transmission { position: relative; width: min(800px, 56vw); aspect-ratio: 1916 / 821; margin: clamp(-4px, -.5vh, 0px) 0 0 -1.6%; cursor: pointer; filter: drop-shadow(0 12px 20px rgba(0,0,0,.55)); }
.landing-transmission-done { cursor: default; }
.landing-transmission-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.landing-transmission-head { position: absolute; left: 27%; right: 8%; top: 28.5%; display: flex; align-items: center; gap: 12px; }
.landing-transmission-head h2 { margin: 0; flex: none; display: flex; align-items: center; gap: 8px; color: #25e7ff; font-size: clamp(10px, .72vw, 13px); line-height: 1; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 6px #000; }
.landing-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4b5c; box-shadow: 0 0 8px #ff4b5c; animation: landing-live 1.1s steps(2, start) infinite; }
.landing-waveform { flex: 1; min-width: 40px; height: 16px; opacity: .85; }
.landing-transmission-done .landing-waveform { opacity: .45; }
.app[data-route="BOOT"] .landing-heading .landing-transmission-text { position: absolute; left: 27%; right: 8%; top: 38%; bottom: 33%; margin: 0; overflow: hidden; color: #d6eaf0; font-size: clamp(12px, .78vw, 15px); line-height: 1.35; text-shadow: 0 2px 6px #000; }
.landing-caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #25e7ff; box-shadow: 0 0 6px rgba(37,231,255,.7); animation: landing-live .9s steps(2, start) infinite; }
.landing-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.landing-panel { transition: opacity .45s ease, transform .45s ease; }
.landing-panel-wait { opacity: 0; transform: translateY(10px); pointer-events: none; }
@keyframes landing-live { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .landing-live-dot, .landing-caret { animation: none; } .landing-panel { transition: none; } }
@media (max-width: 767px), (max-height: 520px) {
  .landing-transmission { width: 100%; margin: 0; aspect-ratio: auto; --plate-h: calc((100vw - 32px) * 821 / 1916); }
  .landing-transmission-frame { position: relative; inset: auto; display: block; height: auto; }
  .landing-transmission-head { left: 30%; right: 8%; top: calc(var(--plate-h) * .3); }
  .landing-transmission-head h2 { font-size: 11px; white-space: normal; line-height: 1.2; }
  .app[data-route="BOOT"] .landing-heading .landing-transmission-text { position: relative; inset: auto; margin: calc(var(--plate-h) * -.22) 4% 0 4%; padding: 12px 14px; font-size: 15px; background: rgba(2,14,21,.86); border: 1px solid #2fbdd8; box-shadow: inset 0 0 18px rgba(37,231,255,.12); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
}

/* Вход и регистрация по почте (19.10.2026): внутри той же рамки панели, поля и кнопка — как в «Создании профиля». */
.landing-panel .email-form { display: flex; flex-direction: column; min-height: 100%; min-width: 0; }
.landing-panel .email-form header p { margin: 6px 0 0; font-size: clamp(11px, .7vw, 13px); line-height: 1.25; }
.landing-panel .email-field { display: block; margin-top: clamp(7px, 1vh, 10px); min-width: 0; }
.landing-panel .email-form .email-message { min-height: 16px; margin: 6px 0 4px; font-size: clamp(10px, .6vw, 12px); line-height: 1.2; text-shadow: none; }
.landing-panel .email-form .boot-registration-error.email-message { color: #ffae77; }
.landing-panel .email-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 8px; }
.landing-panel .email-link { padding: 0; border: 0; background: none; color: #7fe8ff; font: inherit; font-size: clamp(10px, .62vw, 12px); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.landing-panel .email-link:hover, .landing-panel .email-link:focus-visible { color: #d6fbff; outline: none; }
.landing-panel .email-vk { flex-basis: 100%; color: #9fc4cf; }

/* Legal documents remain visible outside the fixed artwork of the login panel. */
.landing-legal { position:absolute; left:4vw; bottom:18px; max-width:calc(100% - 48px); display:flex; flex-wrap:wrap; gap:8px 20px; padding:10px 14px; background:rgba(2,12,20,.9); border:1px solid #376473; border-radius:6px; }
.landing-legal a { color:#b5edf5; font:600 13px/1.5 system-ui,sans-serif; text-underline-offset:3px; overflow-wrap:anywhere; }
.landing-legal a:hover { color:#fff; }
.landing-legal a:focus-visible { outline:2px solid #b5edf5; outline-offset:4px; }
@media (max-width:767px), (max-height:520px) {
  .landing-legal { position:static; align-self:center; justify-content:center; max-width:100%; text-align:center; }
}
