/* Шрифт Inter (OFL) — как у дорогих стриминговых сервисов; если не загрузится — системный */
@font-face { font-family: "NTInter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "NTInter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "NTInter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "NTInter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* New TV — интерфейс для телевизора 1920×1080. Крупный шрифт и яркий фокус для удобства с пульта. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
body { font-family: "NTInter", "Samsung One", "LG Smart UI", "Segoe UI", Roboto, Arial, sans-serif; color: #EEF2F8; }

#stage {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, #0E1D52 0%, #060B2A 55%, #03061A 100%);
  transform-origin: 0 0;
}
.screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.hidden { display: none !important; }

/* Видео: полный экран или окно предпросмотра */
.vid { position: absolute; background: #000; }
.vid-full { left: 0; top: 0; width: 1920px; height: 1080px; z-index: 0; }
.vid-preview { left: 1040px; top: 132px; width: 840px; height: 472px; z-index: 5; border-radius: 14px; }
.vid-hidden { left: -4000px; top: 0; width: 16px; height: 9px; }

/* Бренд */
.brand { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.brand.big { font-size: 96px; margin-bottom: 24px; }
.brand-new { color: #FF9F1C; }

/* Активация */
#scr-activate { display: flex; align-items: center; justify-content: center; }
.act-box { width: 1300px; text-align: center; }
.act-box h1 { font-size: 52px; font-weight: 600; margin-bottom: 48px; }
.act-code-label { font-size: 32px; color: #B9C6DE; margin-bottom: 12px; }
.act-code {
  display: inline-block; font-size: 128px; font-weight: 800; letter-spacing: 12px;
  padding: 18px 56px; border-radius: 28px; background: #121C33; border: 4px solid #FF9F1C;
  color: #FFFFFF; font-family: "Consolas", "DejaVu Sans Mono", monospace;
}
.act-text { font-size: 38px; line-height: 1.4; color: #C9D4E6; margin: 44px auto 28px; max-width: 1150px; }
.act-status { font-size: 34px; color: #FF9F1C; min-height: 48px; }
.act-support { font-size: 32px; color: #B9C6DE; margin-top: 18px; }

/* Шапка */
.top { position: absolute; left: 0; top: 0; width: 1920px; height: 112px; display: flex; align-items: center; padding: 0 48px; }
.tabs { display: flex; margin-left: 64px; flex: 1; }
.tab { font-size: 38px; padding: 14px 40px; margin-right: 12px; border-radius: 40px; color: #B9C6DE; border: 4px solid transparent; }
.tab.active { color: #fff; background: #1E2C4C; }
.tab.focus { border-color: #FF9F1C; color: #fff; background: #2A3B63; }
.clock { font-size: 44px; font-weight: 600; }

.main-body { position: absolute; left: 0; top: 120px; width: 1920px; height: 880px; }
.hint { position: absolute; left: 0; bottom: 0; width: 1920px; height: 76px; line-height: 76px; padding: 0 48px; font-size: 28px; color: #8394B3; background: rgba(5, 9, 18, .75); white-space: pre; }

/* Колонки */
.col { position: absolute; top: 12px; height: 856px; overflow: hidden; }
.col-groups { left: 32px; width: 360px; }
.col-channels { left: 408px; width: 616px; }
.col-right { left: 1040px; width: 840px; }
.col-title { font-size: 26px; color: #A3B2CC; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 10px 16px; height: 34px; }

.row {
  position: relative; display: flex; align-items: center; border-radius: 14px; padding: 0 18px;
  border: 4px solid transparent; margin-bottom: 6px; overflow: hidden; white-space: nowrap;
}
.row.sel { background: #17233F; }
.row.focus { background: #2A3B63; border-color: #FF9F1C; }
.row .txt { overflow: hidden; text-overflow: ellipsis; }

.g-row { height: 78px; font-size: 32px; }
.g-row .cnt { margin-left: auto; color: #A3B2CC; font-size: 26px; padding-left: 12px; }

.c-row { height: 98px; }
.c-num { width: 70px; font-size: 30px; color: #8FA0BF; flex: none; }
.c-logo { width: 96px; height: 64px; flex: none; margin-right: 18px; border-radius: 8px; background: #0E1628 center/contain no-repeat; }
.c-main { flex: 1; min-width: 0; }
.c-name { font-size: 34px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.c-now { font-size: 25px; color: #A9B6CC; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.c-bar { position: absolute; left: 0; bottom: 0; height: 5px; background: #FF9F1C; opacity: .8; }
.c-arch { font-size: 22px; color: #FF9F1C; margin-left: 10px; flex: none; }

.preview-box { width: 840px; height: 472px; border-radius: 14px; background: #0E1628; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #94A4C0; }
.epg-list { margin-top: 14px; height: 370px; overflow: hidden; }
.e-row { height: 70px; font-size: 29px; }
.e-time { width: 190px; flex: none; color: #B9C6DE; font-size: 27px; }
.e-row.now { background: #1B2A4A; }
.e-row.now .e-time { color: #FF9F1C; font-weight: 700; }
.e-row.past .txt { color: #B9C4D8; }
.e-row.future .txt { color: #8394B3; }
.e-mark { margin-left: auto; padding-left: 12px; font-size: 22px; color: #FF9F1C; flex: none; }
.empty { font-size: 30px; color: #94A4C0; padding: 24px 18px; }

/* Кинозал */
.col-films { left: 408px; width: 1480px; }
.grid { display: flex; flex-wrap: wrap; }
.card { width: 276px; margin: 0 16px 18px 0; border: 4px solid transparent; border-radius: 16px; padding: 6px; }
.card.focus { border-color: #FF9F1C; background: #2A3B63; }
.poster { width: 256px; height: 290px; border-radius: 10px; background: #18233D center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 72px; color: #2F4166; }
.card .ttl { font-size: 26px; margin-top: 8px; height: 66px; overflow: hidden; line-height: 33px; }
.poster { position: relative; }
.rate { position: absolute; left: 10px; bottom: 10px; background: #1E8FD6; color: #fff; font-size: 22px; font-weight: 700; padding: 2px 10px; border-radius: 8px; }
.rate.in { position: static; margin-left: 12px; vertical-align: middle; }
.v-count { margin-left: 16px; color: #FF9F1C; }

/* Карточка сериала */
.sd-head { position: absolute; left: 32px; top: 12px; width: 1856px; height: 300px; display: flex; }
.sd-poster { width: 210px; height: 290px; flex: none; border-radius: 12px; background: #18233D center/cover no-repeat; }
.sd-text { margin-left: 32px; min-width: 0; flex: 1; }
.sd-name { font-size: 46px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-meta { font-size: 28px; color: #B9C6DE; margin: 8px 0 14px; }
.sd-plot { font-size: 27px; line-height: 38px; color: #C9D3E6; max-height: 190px; overflow: hidden; }
.sd-wait { position: absolute; left: 32px; top: 340px; }
.sd-seasons { left: 32px; top: 330px; width: 360px; height: 540px; }
.sd-eps { left: 408px; top: 330px; width: 1480px; height: 540px; }
.sd-eps .e-time { width: 170px; }

/* Настройки */
.col-settings { left: 408px; width: 1000px; }
.s-row { height: 92px; font-size: 36px; }
.s-row .val { margin-left: auto; color: #FF9F1C; font-size: 32px; }
.s-info { font-size: 23px; color: #A3B2CC; margin: 18px 18px; line-height: 1.45; }

/* Плашка плеера */
#scr-player { z-index: 10; }
.osd { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transition: opacity .3s; }
.osd.off { opacity: 0; }
.osd-top { position: absolute; top: 40px; left: 60px; right: 60px; display: flex; justify-content: space-between; }
.badge { font-size: 30px; font-weight: 700; padding: 8px 22px; border-radius: 10px; background: #D32F2F; }
.badge.arch { background: #FF9F1C; color: #111; }
.badge.vod { background: #2A3B63; }
.osd-clock { font-size: 46px; font-weight: 600; text-shadow: 0 2px 8px #000; }
.osd-bar {
  position: absolute; left: 60px; right: 60px; bottom: 90px; height: 230px; border-radius: 22px;
  background: rgba(8, 13, 26, .88); display: flex; align-items: center; padding: 0 40px;
}
.osd-logo { width: 170px; height: 120px; object-fit: contain; margin-right: 26px; }
.osd-num { font-size: 70px; font-weight: 800; color: #FF9F1C; margin-right: 36px; }
.osd-info { flex: 1; min-width: 0; }
.osd-name { font-size: 50px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osd-now { font-size: 36px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osd-next { font-size: 29px; color: #B9C6DE; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 10px; background: #2A3550; border-radius: 5px; margin-top: 14px; overflow: hidden; }
.progress div { height: 10px; background: #FF9F1C; width: 0; }
.osd-hint { position: absolute; left: 60px; bottom: 34px; font-size: 27px; color: #C9D4E6; text-shadow: 0 2px 6px #000; white-space: pre; }
.numjump { position: absolute; z-index: 40; top: 40px; right: 60px; font-size: 110px; font-weight: 800; color: #FF9F1C; background: rgba(8,13,26,.85); padding: 10px 40px; border-radius: 20px; }
.spinner { position: absolute; left: 920px; top: 500px; width: 80px; height: 80px; border: 8px solid rgba(255,255,255,.2); border-top-color: #FF9F1C; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); } }

.toast { position: absolute; left: 50%; top: 60px; transform: translateX(-50%); -webkit-transform: translateX(-50%); z-index: 50; font-size: 34px; padding: 22px 44px; border-radius: 18px; background: rgba(20, 30, 54, .96); border: 3px solid #FF9F1C; white-space: nowrap; }

/* Логотип New TV */
.act-logo { width: 300px; height: 300px; border-radius: 48px; margin-bottom: 10px; }
.act-box h1 { margin-bottom: 36px; }
.top-logo { width: 84px; height: 84px; border-radius: 18px; }
.tab.active { background: linear-gradient(90deg, rgba(30,160,255,.28), rgba(214,64,255,.22)); color: #fff; }
.progress div, .c-bar { background: linear-gradient(90deg, #1EA0FF, #D640FF, #FF9F1C); }
.act-code { border: 5px solid #FF9F1C; background: linear-gradient(#0B1438, #0B1438) padding-box, linear-gradient(90deg, #1EA0FF, #D640FF, #FF9F1C) border-box; border-color: transparent; }

/* ===== Вариант «Телегид» (сетка по времени) ===== */
.vid-guide { left: 1280px; top: 132px; width: 600px; height: 338px; z-index: 5; border-radius: 14px; }
.guide { position: absolute; left: 0; top: 0; width: 1920px; height: 880px; }
.g-info { position: absolute; left: 48px; top: 12px; width: 1200px; height: 338px; }
.g-ch { font-size: 30px; color: #B9C6DE; }
.g-title { font-size: 52px; font-weight: 700; margin-top: 10px; line-height: 1.15; max-height: 122px; overflow: hidden; }
.g-title.dim { color: #94A4C0; font-weight: 500; }
.g-time { font-size: 32px; color: #C9D4E6; margin-top: 14px; }
.g-live { margin-left: 22px; color: #FF5A5A; font-weight: 700; }
.g-arch { margin-left: 22px; color: #FF9F1C; }
.g-desc { font-size: 27px; color: #B3C0D9; margin-top: 14px; line-height: 1.4; max-height: 76px; overflow: hidden; }
.g-prog { width: 700px; }
.g-preview { position: absolute; left: 1280px; top: 12px; width: 600px; height: 338px; border-radius: 14px; background: #0E1628; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #94A4C0; }
.g-chip { position: absolute; left: 48px; top: 366px; height: 58px; line-height: 50px; padding: 0 26px; font-size: 30px; border-radius: 30px; background: #141E3A; border: 4px solid transparent; }
.g-chip.focus { border-color: #FF9F1C; background: #2A3B63; }
.g-scale { position: absolute; left: 420px; top: 374px; width: 1460px; height: 46px; }
.g-tick { position: absolute; top: 6px; font-size: 26px; color: #B9C6DE; padding-left: 8px; border-left: 2px solid #2A3550; height: 40px; }
.g-rows { position: absolute; left: 0; top: 432px; width: 1920px; height: 440px; }
.g-row { position: relative; height: 86px; margin-bottom: 2px; }
.g-name .txt { overflow: hidden; text-overflow: ellipsis; }
.g-name { position: absolute; left: 32px; width: 380px; height: 80px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; font-size: 28px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.g-name.sel { background: #17233F; }
.g-name .c-num { width: 54px; font-size: 26px; }
.g-name .c-logo { width: 72px; height: 48px; margin-right: 12px; }
.g-line { position: absolute; left: 420px; width: 1460px; height: 80px; }
.g-cell { position: absolute; top: 0; height: 80px; line-height: 72px; padding: 0 16px; font-size: 27px; border-radius: 10px; background: #141E3A; border: 4px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #C9D4E6; }
.g-cell.past { background: #10182E; color: #8394B3; }
.g-cell.now { background: #1C2C55; color: #fff; }
.g-cell.focus { border-color: #FF9F1C; background: #2A3B63; color: #fff; }
.g-a { color: #FF9F1C; margin-right: 8px; }
.empty-cell { color: #5F7090; }
.g-nowline { position: absolute; top: -58px; width: 3px; height: 498px; background: #FF5A5A; }

/* ===== Вариант «Плитки» ===== */
.home { position: absolute; left: 0; top: 0; width: 1920px; height: 880px; overflow: hidden; padding: 4px 0 0 48px; }
.h-row { margin-bottom: 14px; }
.h-title { font-size: 34px; font-weight: 700; margin: 0 0 12px 6px; height: 44px; }
.h-count { font-size: 24px; color: #94A4C0; font-weight: 400; margin-left: 18px; }
.h-items { display: flex; }
.h-tile { position: relative; width: 340px; height: 218px; margin-right: 24px; border-radius: 18px; background: #141E3A; border: 5px solid transparent; overflow: hidden; flex: none; }
.h-tile.focus { border-color: #FF9F1C; background: #22325C; transform: scale(1.04); -webkit-transform: scale(1.04); }
.h-num { position: absolute; left: 14px; top: 10px; font-size: 26px; color: #8FA0BF; font-weight: 700; }
.h-logo { height: 104px; margin: 14px 40px 0; background: center/contain no-repeat; }
.h-noimg { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 36px; font-weight: 800; color: #DDE6F5; line-height: 1.1; }
.h-meta { padding: 8px 18px 0; }
.h-name { font-size: 28px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-now { font-size: 23px; color: #A9B6CC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.h-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: #22304F; }
.h-bar div { height: 6px; background: linear-gradient(90deg, #1EA0FF, #D640FF, #FF9F1C); }
.h-film { width: 230px; margin-right: 22px; flex: none; border: 5px solid transparent; border-radius: 16px; padding: 4px; }
.h-film.focus { border-color: #FF9F1C; background: #22325C; }
.h-poster { width: 212px; height: 300px; border-radius: 10px; background: #18233D center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.h-ftitle { font-size: 24px; margin-top: 8px; height: 60px; overflow: hidden; line-height: 30px; }
.s-head { margin-top: 18px; }

/* ===== Мои категории, родительский контроль, PIN ===== */
.s-note { font-size: 26px; color: #B3C0D9; margin: 0 18px 14px; line-height: 1.4; }
.s-row .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.s-row.dim { opacity: .45; }
.col-settings .s-row { height: 82px; }
.sw { display: inline-block; position: relative; width: 84px; height: 44px; border-radius: 22px; background: #33405F; vertical-align: middle; }
.sw i { position: absolute; left: 5px; top: 5px; width: 34px; height: 34px; border-radius: 50%; background: #AEB9CF; }
.sw.on { background: #FF9F1C; }
.sw.on i { left: 45px; background: #fff; }
.lock-note { font-size: 34px; line-height: 1.6; color: #C9D4E6; }
.lock-note span { font-size: 28px; color: #FF9F1C; }
.h-lock .h-noimg { font-size: 70px; }
.pin { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 60; background: rgba(3, 6, 20, .82); display: flex; align-items: center; justify-content: center; }
.pin-box { width: 820px; padding: 56px 40px; border-radius: 28px; background: #101A3A; border: 4px solid #FF9F1C; text-align: center; }
.pin-title { font-size: 48px; font-weight: 700; margin-bottom: 40px; }
.pin-digits { display: flex; justify-content: center; }
.pin-d { width: 120px; height: 150px; line-height: 150px; margin: 0 14px; font-size: 80px; font-weight: 800; border-radius: 18px; background: #1A2850; border: 4px solid transparent; color: #DDE6F5; }
.pin-d.cur { border-color: #FF9F1C; background: #2A3B63; color: #fff; }
.pin-hint { font-size: 28px; color: #B3C0D9; margin-top: 36px; }

/* ===== Видео ExoPlayer на Android: страница прозрачна там, где идёт видео ===== */
html.nv, html.nv body, html.nv #stage { background: transparent !important; }
#hole { position: absolute; display: none; border-radius: 14px; box-shadow: 0 0 0 4000px #070D25; pointer-events: none; }
html.nv-hole #hole { display: block; }
html.nv .preview-box, html.nv .g-preview { background: transparent !important; color: transparent !important; }
.fav { color: #FF9F1C; margin-right: 10px; }

/* ===== Плитки как в Televizo ===== */
.hgrid { position: absolute; left: 40px; top: 6px; width: 1848px; display: flex; flex-wrap: wrap; }
.hg-tile { width: 446px; height: 128px; margin: 0 16px 16px 0; padding: 0 30px; border-radius: 14px; background: #18244A; border: 4px solid transparent;
  display: flex; align-items: center; justify-content: space-between; }
.hg-tile.focus { border-color: #FF9F1C; background: #2A3B63; transform: scale(1.03); -webkit-transform: scale(1.03); }
.hg-fav .hg-name { color: #FFC266; }
.hg-name { font-size: 34px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.hg-count { font-size: 28px; color: #B3C0D9; }

.hc-title { position: absolute; left: 48px; top: 0; height: 56px; font-size: 34px; font-weight: 700; display: flex; align-items: center; width: 1824px; }
.hc-back { color: #FF9F1C; margin-right: 22px; }
.hc-num { margin-left: auto; font-size: 26px; color: #A3B2CC; font-weight: 400; }
.hc-grid { top: 66px; }
.hc-tile { position: relative; width: 446px; height: 152px; margin: 0 16px 14px 0; padding: 14px 18px 0; border-radius: 14px; background: #18244A;
  border: 4px solid transparent; overflow: hidden; }
.hc-tile.focus { border-color: #FF9F1C; background: #2A3B63; }
.hc-top { display: flex; align-items: center; height: 76px; }
.hc-logo { width: 110px; height: 68px; flex: none; margin-right: 16px; border-radius: 8px; background: #0E1628 center/contain no-repeat; }
.hc-num0 { display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: #8FA0BF; }
.hc-name { font-size: 29px; font-weight: 600; line-height: 34px; max-height: 68px; overflow: hidden; flex: 1; min-width: 0; }
.hc-arch { color: #FF9F1C; font-size: 24px; margin-left: 8px; align-self: flex-start; }
.hc-now { font-size: 25px; color: #FFB04D; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: #22304F; }
.hc-bar div { height: 6px; background: linear-gradient(90deg, #1EA0FF, #D640FF, #FF9F1C); }

/* экран просмотра: шапка и подсказка скрыты, всё пространство под видео и программу */
#scr-main.watching .top, #scr-main.watching .hint { display: none; }
#scr-main.watching .main-body { top: 0; height: 1080px; }
.vid-watch { left: 40px; top: 80px; width: 1040px; height: 585px; z-index: 5; border-radius: 14px; }
.w-clock { position: absolute; left: 44px; top: 16px; font-size: 40px; font-weight: 600; }
.w-video { position: absolute; left: 40px; top: 80px; width: 1040px; height: 585px; border-radius: 14px; background: #0E1628;
  display: flex; align-items: center; justify-content: center; font-size: 32px; color: #94A4C0; }
html.nv .w-video { background: transparent; color: transparent; }
.w-info { position: absolute; left: 40px; top: 684px; width: 1040px; height: 356px; border-radius: 16px; background: #141E3C; padding: 24px 30px; }
.w-head { display: flex; align-items: center; }
.w-logo { width: 140px; height: 90px; object-fit: contain; margin-right: 24px; flex: none; }
.w-num { display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; color: #FF9F1C; background: #0E1628; border-radius: 10px; }
.w-titles { flex: 1; min-width: 0; }
.w-name { font-size: 36px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-now { font-size: 32px; color: #FFB04D; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-next { font-size: 26px; color: #B3C0D9; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-left { font-size: 30px; color: #FFB04D; margin-left: 20px; align-self: flex-start; }
.w-prog { display: flex; align-items: center; margin-top: 26px; font-size: 26px; color: #C9D4E6; }
.w-prog .progress { flex: 1; margin: 0 18px; }
.w-hint { font-size: 22px; color: #A3B2CC; margin-top: 22px; line-height: 1.45; column-count: 2; column-gap: 30px; }
.w-side { position: absolute; left: 1110px; top: 30px; width: 770px; height: 1020px; border-radius: 16px; background: #141E3C; overflow: hidden; }
.w-tabs { display: flex; height: 86px; }
.w-tab { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #B3C0D9; background: #0F1832; }
.w-tab.on { color: #FFB04D; background: #1C2A52; font-weight: 700; }
.w-list { padding-top: 6px; }
.w-row { height: 114px; padding: 14px 26px; border-bottom: 2px solid #1F2C50; border-left: 6px solid transparent; }
.w-row.focus { background: #2A3B63; border-left-color: #FF9F1C; }
.w-row.now .w-rt { color: #fff; }
.w-rt { font-size: 31px; font-weight: 600; color: #DDE6F5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-rs { display: flex; justify-content: space-between; font-size: 25px; color: #B3C0D9; margin-top: 10px; }
.w-rs b { color: #FFB04D; }

/* ===== Поиск ===== */
.search { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 55; background: radial-gradient(ellipse at 20% 0%, #0E1D52 0%, #060B2A 55%, #03061A 100%); }
.s-box { position: absolute; left: 260px; top: 60px; width: 1400px; }
.s-top { display: flex; align-items: center; }
.s-ico { font-size: 52px; margin-right: 22px; }
.s-mic { width: 100px; height: 100px; line-height: 100px; text-align: center; font-size: 50px; margin-right: 22px; border-radius: 50%; border: 4px solid #2A3B63; background: #121C38; flex: none; cursor: pointer; }
.s-mic.focus { border-color: #FF9F1C; background: #1E2C52; }
.s-vtip { font-size: 25px; color: #B3C0D9; margin: 16px 0 0 122px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.has-voice .s-res { height: 730px; }
.s-mic.busy { border-color: #FF9F1C; background: #FF9F1C; }
#search-in { flex: 1; height: 100px; font-size: 46px; padding: 0 30px; border-radius: 18px; border: 4px solid #2A3B63; background: #121C38; color: #fff; outline: none; font-family: inherit; }
#search-in.focus, #search-in:focus { border-color: #FF9F1C; }
#search-in::placeholder { color: #5F7090; }
.s-res { margin-top: 26px; height: 780px; overflow: hidden; }
.s-res .c-row { width: 1400px; height: 100px; background: #121C38; margin-bottom: 10px; }
.s-res .c-row.focus { background: #2A3B63; }
.s-grp { font-size: 24px; color: #A3B2CC; font-weight: 400; margin-left: 18px; }
.s-tip { font-size: 25px; color: #A3B2CC; white-space: pre; position: absolute; top: 930px; }
.accent { color: #FF9F1C; }

/* ---------- сенсорный экран (телефон, планшет): кнопки видны только после первого касания ---------- */
.touch-only { display: none; }
html.touch .touch-only { display: block; }
html.touch body { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
html.touch [data-z] { cursor: pointer; }
html.touch .osd-top { justify-content: flex-start; align-items: center; }
html.touch .osd-clock { margin-left: auto; }
.osd-back { font-size: 64px; line-height: 1; color: #fff; background: rgba(0,0,0,.45); border-radius: 50%; width: 96px; height: 96px; text-align: center; padding-top: 12px; margin-right: 28px; }
.osd.off .osd-back { pointer-events: none; }
.w-back { position: absolute; left: 40px; top: 8px; width: 64px; height: 64px; font-size: 48px; line-height: 60px; text-align: center; color: #FF9F1C; z-index: 5; }
html.touch .w-clock { left: 120px; }
.s-close { order: 3; margin-left: 24px; font-size: 52px; color: #B3C0D9; padding: 0 12px; }
html.touch .s-top input { flex: 1; }
.pin-pad { display: none; margin: 32px auto 0; width: 600px; }
html.touch .pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
html.touch .pin-hint { display: none; }
.pin-key { height: 110px; line-height: 110px; font-size: 56px; font-weight: 600; border-radius: 18px; background: #1B2A55; color: #fff; }
.pin-key:active { background: #FF9F1C; color: #01062C; }

/* Продолжить просмотр: полоска на постере и окно «Продолжить / Сначала» */
.cw-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 10px; border-radius: 5px; background: rgba(0, 0, 0, .55); overflow: hidden; }
.cw-bar div { height: 100%; background: #FF9F1C; }
.ask-box { width: 900px; }
.ask-title { font-size: 42px; margin-bottom: 36px; line-height: 1.25; }
.ask-btn { font-size: 40px; font-weight: 700; padding: 26px 30px; margin: 18px 40px 0; border-radius: 18px; background: #1A2850; border: 4px solid transparent; color: #DDE6F5; }
.ask-btn.focus { background: #2A3B63; border-color: #FF9F1C; color: #fff; }

/* текущий канал (идёт в эфире) */
.c-row.playing .c-num { color: #FF9F1C; font-size: 30px; }
.c-row.playing .c-name { color: #FFB84D; }
.c-row.playing { box-shadow: inset 6px 0 0 #FF9F1C; }
.hc-tile.playing { box-shadow: inset 0 -6px 0 #FF9F1C; }
.hc-tile.playing .hc-name { color: #FFB84D; }
.col-title .v-count { text-transform: none; letter-spacing: 0; }

/* поиск фильмов и сериалов */
.s-count { font-size: 24px; color: #A3B2CC; margin: 0 0 12px 6px; }
.s-res .v-row { height: 112px; }
.s-poster { width: 70px; height: 96px; border-radius: 8px; background: #18233D center/cover no-repeat; flex: none; margin: 0 22px 0 6px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.s-res .v-row .c-now .rate { position: static; display: inline-block; margin-left: 10px; }

/* QR-код для связи: на экране активации и в окне «подписка заканчивается» */
#scr-activate.with-qr .act-box { width: 1120px; }
#scr-activate.with-qr.two-qr .act-box { width: 980px; }
.act-qr { width: 440px; margin-left: 80px; text-align: center; }
.qr-frame { width: 420px; height: 420px; margin: 0 auto; padding: 20px; border-radius: 28px; background: #FFFFFF; border: 5px solid #FF9F1C; }
.qr-frame img { width: 370px; height: 370px; display: block; image-rendering: pixelated; image-rendering: -webkit-optimize-contrast; }
.qr-hint { font-size: 30px; line-height: 1.35; color: #C9D4E6; margin-top: 22px; }
.act-qr.two-qr { width: 760px; margin-left: 50px; display: flex; gap: 40px; }
.act-qr.two-qr .qr-col { width: 360px; }
.act-qr.two-qr .qr-frame { width: 330px; height: 330px; padding: 15px; }
.act-qr.two-qr .qr-frame img { width: 290px; height: 290px; }
.act-qr.two-qr .qr-hint { font-size: 26px; }
#act-pay .qr-frame { border-color: #2BB5FF; }
.renew-box { width: 1400px; padding: 56px 60px; border-radius: 32px; background: #101A3A; border: 4px solid #FF9F1C; display: flex; align-items: center; text-align: left; }
.renew-text { flex: 1; padding-right: 56px; }
.renew-title { font-size: 54px; font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.renew-sub { font-size: 36px; line-height: 1.4; color: #C9D4E6; margin-bottom: 24px; }
.renew-date { font-size: 30px; color: #B9C6DE; margin-bottom: 10px; }
.renew-code { font-size: 32px; color: #B9C6DE; }
.renew-code b { color: #FF9F1C; font-family: "Consolas", "DejaVu Sans Mono", monospace; letter-spacing: 2px; }
.renew-ok { display: inline-block; margin-top: 40px; font-size: 36px; font-weight: 700; padding: 20px 56px; border-radius: 18px; background: #2A3B63; border: 4px solid #FF9F1C; color: #fff; }
.renew-box .qr-frame { width: 380px; height: 380px; }
.renew-box .qr-frame img { width: 330px; height: 330px; }

/* горизонтальная обложка (кадр из видео) — целиком, без обрезки */
.poster.wide, .sd-poster.wide, .s-poster.wide, .h-poster.wide { background-size: contain; background-color: #0B1230; }

/* Карточка фильма: большой постер и описание */
.film { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 55; background: #050B24; overflow: hidden; }
.fd-bg { position: absolute; left: -60px; top: -60px; width: 2040px; height: 1200px; background: center/cover no-repeat; opacity: .28; filter: blur(30px); -webkit-filter: blur(30px); }
.fd-shade { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: linear-gradient(90deg, rgba(5,11,36,.55) 0%, rgba(5,11,36,.92) 45%, rgba(5,11,36,.97) 100%); }
.fd-poster { position: absolute; left: 110px; top: 110px; width: 573px; height: 860px; border-radius: 22px; background: #18233D center/cover no-repeat; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.fd-poster.wide { background-size: contain; background-color: #0B1230; }
.fd-text { position: absolute; left: 760px; top: 130px; width: 1060px; height: 840px; }
.fd-name { font-size: 64px; font-weight: 800; line-height: 1.12; max-height: 216px; overflow: hidden; }
.fd-meta { font-size: 32px; color: #B9C6DE; margin: 22px 0 30px; }
.fd-meta .rate { font-size: 30px; }
.fd-plot { font-size: 32px; line-height: 47px; color: #D3DCEC; max-height: 376px; overflow: hidden; }
.fd-btns { position: absolute; left: 0; top: 650px; display: flex; flex-wrap: nowrap; max-width: 1060px; }
.fd-btn { font-size: 34px; font-weight: 700; padding: 22px 34px; margin-right: 20px; white-space: nowrap; flex: none; border-radius: 18px; background: #1A2850; border: 4px solid transparent; color: #DDE6F5; }
.fd-btn.focus { background: #2A3B63; border-color: #FF9F1C; color: #fff; }
.fd-hint { position: absolute; left: 0; top: 800px; font-size: 26px; color: #7F90B0; white-space: pre; }

/* официальный плеер YouTube (фильмы с каналов правообладателей) */
#yt { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; background: #000; z-index: 1; pointer-events: none; }
/* Кинозал: папки языков и жанры внутри */
.g-row.g-folder .txt { font-weight: 700; }
.g-row.g-sub .txt { padding-left: 30px; }
.g-row.g-sub { font-size: 29px; }
.rate.ser-n { left: auto; right: 10px; background: #FF8A1F; }
/* ТВ: папки стран в плитках */
.hg-tile.hg-folder .hg-name { font-weight: 700; }
.hg-tile.hg-back .hg-name { color: #FF9F1C; }

.act-demo{margin-top:22px;padding:14px 34px;border-radius:14px;border:3px solid #FFC20E;background:transparent;color:#fff;font-size:26px;font-weight:700;cursor:pointer}
.act-demo:focus,.act-demo:hover{background:#FFC20E;color:#0b1f33;outline:none}

/* «Пригласи друга» */
.invite-box { display: flex; align-items: center; gap: 36px; margin: 10px 18px; }
.invite-text { flex: 1; min-width: 0; }
.invite-big { font-size: 38px; font-weight: 800; color: #FFC21F; line-height: 1.25; margin: 0 18px 22px; }
.invite-box .qr-frame { width: 380px; height: 380px; flex: none; margin: 0; }
.invite-box .qr-frame img { width: 330px; height: 330px; }

/* «Свой плейлист» */
.own-box { width: 1100px; }
.own-box input { width: 100%; box-sizing: border-box; margin: 30px 0 18px; padding: 18px 22px; font-size: 34px; border-radius: 14px; border: 3px solid #FF9F1C; background: #0B1220; color: #fff; }
.own-err { color: #ff6b6b; font-size: 28px; min-height: 34px; }

/* Кинозал-витрина: баннер и ряды постеров */
.vh { position: absolute; left: 0; top: 0; width: 1920px; height: 880px; overflow: hidden; }
.vh-banner { position: relative; height: 420px; margin: 4px 32px 10px; border-radius: 24px; overflow: hidden; background: #0B1430; }
.vh-bbg { position: absolute; left: -40px; top: -40px; width: 1936px; height: 500px; background: center/cover no-repeat; filter: blur(26px); -webkit-filter: blur(26px); opacity: .6; }
.vh-bshade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(5,11,36,.97) 0%, rgba(5,11,36,.88) 48%, rgba(5,11,36,.25) 100%); }
.vh-bpost { position: absolute; right: 70px; top: 30px; width: 248px; height: 360px; border-radius: 16px; background: #18233D center/cover no-repeat; box-shadow: 0 16px 44px rgba(0,0,0,.65); }
.vh-btext { position: absolute; left: 56px; top: 36px; width: 1180px; }
.vh-bname { font-size: 58px; font-weight: 800; line-height: 66px; max-height: 132px; overflow: hidden; }
.vh-bmeta { font-size: 28px; color: #FFB347; margin-top: 8px; height: 36px; }
.vh-bplot { font-size: 28px; color: #C9D3E6; line-height: 38px; margin-top: 10px; height: 114px; overflow: hidden; }
.vh-bbtns { margin-top: 24px; display: flex; }
.vh-btn { font-size: 32px; font-weight: 700; padding: 14px 40px; margin-right: 22px; border-radius: 16px; background: rgba(26,40,80,.9); border: 4px solid transparent; color: #DDE6F5; }
.vh-btn.focus { background: #FF9F1C; border-color: #FF9F1C; color: #0A1230; }
.vh-row { margin: 0 0 6px 32px; height: 410px; }
.vh-rt { font-size: 32px; font-weight: 700; height: 46px; margin-left: 12px; color: #EEF2F8; }
.vh-strip { display: flex; flex-wrap: nowrap; }
.vh-card { width: 212px; flex: none; margin-right: 14px; border: 4px solid transparent; border-radius: 16px; padding: 5px; }
.vh-card.focus { border-color: #FF9F1C; background: #2A3B63; }
.vh-poster { position: relative; width: 194px; height: 276px; border-radius: 10px; background: #18233D center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 60px; color: #2F4166; }
.vh-card .ttl { font-size: 24px; margin-top: 8px; height: 60px; overflow: hidden; line-height: 30px; }
.vh-q { position: absolute; right: 8px; top: 8px; background: rgba(5,11,36,.85); color: #FFB347; font-size: 20px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.vh-q.vh-s { right: auto; left: 8px; color: #7FD3FF; }
.vh-more .vh-poster { font-size: 110px; color: #FFB347; background: #14203F; }

/* Кинозал: экран «Фильтр» */
.flt { position: absolute; left: 0; top: 0; width: 1920px; height: 880px; overflow: hidden; padding: 6px 32px 0; box-sizing: border-box; }
.flt-head { height: 56px; display: flex; align-items: baseline; }
.flt-title { font-size: 40px; font-weight: 800; margin-right: 28px; }
.flt-cnt { font-size: 28px; color: #9FB0D0; }
.flt-chips { display: flex; align-items: center; height: 66px; flex-wrap: nowrap; overflow: hidden; }
.flt-chip { flex: none; font-size: 27px; padding: 8px 24px; margin-right: 12px; border-radius: 30px; background: #16244A; color: #C9D3E6; border: 3px solid transparent; white-space: nowrap; }
.flt-chip.sel { background: #24407A; color: #FFFFFF; font-weight: 700; }
.flt-chip.focus { background: #FF9F1C; border-color: #FF9F1C; color: #0A1230; }
.flt-arr { font-size: 40px; color: #FFB347; margin: 0 10px; }
.flt-grid { display: flex; flex-wrap: wrap; margin-top: 10px; }
.flt-grid .vh-card { margin-bottom: 4px; width: 230px; margin-right: 22px; }
.flt-grid .vh-poster { width: 212px; height: 280px; }
.flt-grid .ttl { height: 30px; white-space: nowrap; text-overflow: ellipsis; }
.flt-empty { font-size: 32px; margin-top: 60px; }
.vh-q.flt-rt { color: #FFD24A; }

/* Караоке и Радио — витрина */
.xh-kicker { font-size: 24px; font-weight: 700; color: #FFB347; letter-spacing: 1px; margin-bottom: 6px; }
.xh-btext { top: 56px; width: 1080px; }
.xh-bart { position: absolute; right: 70px; top: 50px; border-radius: 18px; box-shadow: 0 16px 44px rgba(0,0,0,.6); background: #18233D center/cover no-repeat; overflow: hidden; }
.xh-bart.xh-wide { width: 560px; height: 315px; }
.xh-bart.xh-sq { width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.xh-card { flex: none; margin-right: 16px; border: 4px solid transparent; border-radius: 16px; padding: 5px; }
.xh-card.focus { border-color: #FF9F1C; background: #2A3B63; }
.xh-k { width: 282px; } .xh-r { width: 196px; }
.xh-art { position: relative; border-radius: 10px; background: #18233D center/cover no-repeat; overflow: hidden; }
.xh-art.xh-wide { width: 264px; height: 148px; }
.xh-art.xh-sq { width: 178px; height: 178px; display: flex; align-items: center; justify-content: center; }
.xh-logo { width: 72%; height: 72%; background: center/contain no-repeat; border-radius: 12px; }
.xh-ini { font-size: 64px; font-weight: 800; color: rgba(255,255,255,.9); letter-spacing: 2px; }
.xh-bart .xh-ini { font-size: 110px; }
.xh-play { position: absolute; right: 8px; bottom: 8px; background: rgba(5,11,36,.8); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.xh-card .ttl { font-size: 23px; margin-top: 8px; height: 58px; overflow: hidden; line-height: 29px; }
.xh-row { height: 300px; } .xh-rrow { height: 320px; }
.xh-n { margin-left: 14px; color: #FF9F1C; font-weight: 600; font-size: 26px; }

/* ---------- Витрина в стиле Apple TV: обложка во весь экран, карточки «приподнимаются» ---------- */
.top { z-index: 5; }
.vh-apple { top: -120px; height: 1000px; }
.vh-apple .vh-banner { margin: 0 0 6px; height: 600px; border-radius: 0; background: #03061A; transition: height .25s ease; }
.vh-apple.vh-top .vh-banner { height: 780px; }
.vh-apple .vh-bbg { left: 560px; top: -30px; width: 1420px; height: 112%; filter: blur(8px) saturate(1.15); -webkit-filter: blur(8px) saturate(1.15); opacity: .9; }
.vh-apple .vh-bshade { background:
    linear-gradient(0deg, #060B2A 0%, rgba(6,11,42,.85) 14%, rgba(6,11,42,0) 46%),
    linear-gradient(90deg, #03061A 0%, rgba(3,6,26,.94) 34%, rgba(3,6,26,.45) 62%, rgba(3,6,26,.1) 100%),
    linear-gradient(180deg, rgba(3,6,26,.85) 0%, rgba(3,6,26,0) 20%); }
.vh-apple .vh-bpost { right: 110px; top: 150px; width: 300px; height: 430px; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.75); transition: all .25s ease; }
.vh-apple:not(.vh-top) .vh-bpost { top: 140px; width: 240px; height: 344px; }
.vh-apple .vh-btext { left: 80px; top: 190px; width: 1200px; }
.vh-apple.vh-top .vh-btext { top: 250px; }
.vh-apple .vh-bname { font-size: 70px; line-height: 78px; max-height: 156px; font-weight: 800; letter-spacing: -1px; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.vh-apple .vh-bmeta { color: #B9C2D6; font-size: 28px; font-weight: 600; margin-top: 12px; }
.vh-apple .vh-bplot { color: #DCE2EE; font-size: 29px; line-height: 40px; height: 120px; }
.vh-apple:not(.vh-top) .vh-bplot { height: 80px; }
.vh-apple .vh-bbtns { margin-top: 30px; }
.vh-apple .vh-btn { border: 0; border-radius: 14px; padding: 16px 42px; margin-right: 20px; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.vh-apple .vh-btn.focus { background: #fff; color: #0A0F1E; transform: scale(1.07); box-shadow: 0 14px 34px rgba(0,0,0,.55); }
.vh-apple .xh-btext { top: 230px; }
.vh-apple .xh-bart { top: 170px; right: 110px; box-shadow: 0 30px 70px rgba(0,0,0,.75); }
.vh-apple .vh-row { margin: 0 0 4px 64px; height: 420px; }
.vh-apple .vh-rt { font-size: 30px; font-weight: 700; color: #E9EDF5; margin-left: 4px; height: 44px; }
.vh-apple .vh-strip { padding: 14px 0 0 6px; }
/* карточки: без рамки — выбранная увеличивается, светлеет и отбрасывает тень */
.vh-apple .vh-card, .vh-apple .xh-card, .flt .vh-card { border: 0; padding: 0; background: none; margin-right: 30px; transition: transform .18s ease; }
.vh-apple .vh-card.focus, .vh-apple .xh-card.focus, .flt .vh-card.focus { background: none; transform: scale(1.1); }
.vh-apple .vh-poster, .vh-apple .xh-art, .flt .vh-poster { border-radius: 14px; transition: box-shadow .18s ease; }
.vh-apple .vh-card.focus .vh-poster, .vh-apple .xh-card.focus .xh-art, .flt .vh-card.focus .vh-poster { box-shadow: 0 22px 44px rgba(0,0,0,.75), 0 0 0 3px rgba(255,255,255,.92); }
.vh-apple .vh-card .ttl, .vh-apple .xh-card .ttl, .flt .vh-card .ttl { color: #9AA5BC; }
.vh-apple .vh-card.focus .ttl, .vh-apple .xh-card.focus .ttl, .flt .vh-card.focus .ttl { color: #fff; font-weight: 700; }
.vh-apple .vh-q { background: rgba(0,0,0,.6); color: #fff; border-radius: 8px; }
.vh-apple .vh-q.vh-s { color: #fff; }
.flt-chip.focus { background: #fff !important; color: #0A0F1E !important; border-color: #fff !important; }

/* логотип канала заполняет плашку целиком (см. lgFill) */
.c-logo.lf { background-size: cover; background-position: center; }

/* ---------- Иконки вместо смайликов: одноцветные, в цвет текста ---------- */
.ic { display: inline-block; width: 1em; height: 1em; vertical-align: -0.13em; margin-right: .38em; background-color: currentColor; -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.ic-search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2210.5%22 cy=%2210.5%22 r=%226.5%22/%3E%3Cpath d=%22M15.5 15.5L21 21%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2210.5%22 cy=%2210.5%22 r=%226.5%22/%3E%3Cpath d=%22M15.5 15.5L21 21%22/%3E%3C/svg%3E"); }
.ic-star { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath fill=%22%23000%22 d=%22M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath fill=%22%23000%22 d=%22M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z%22/%3E%3C/svg%3E"); }
.ic-mic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%222.5%22 width=%226%22 height=%2212%22 rx=%223%22/%3E%3Cpath d=%22M5.5 11a6.5 6.5 0 0013 0M12 17.5V21M8.5 21h7%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%222.5%22 width=%226%22 height=%2212%22 rx=%223%22/%3E%3Cpath d=%22M5.5 11a6.5 6.5 0 0013 0M12 17.5V21M8.5 21h7%22/%3E%3C/svg%3E"); }
.ic-filter { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h10M4 12h4M12 12h8M4 18h12%22/%3E%3Ccircle cx=%2216%22 cy=%226%22 r=%222%22/%3E%3Ccircle cx=%2210%22 cy=%2212%22 r=%222%22/%3E%3Ccircle cx=%2218%22 cy=%2218%22 r=%222%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h10M4 12h4M12 12h8M4 18h12%22/%3E%3Ccircle cx=%2216%22 cy=%226%22 r=%222%22/%3E%3Ccircle cx=%2210%22 cy=%2212%22 r=%222%22/%3E%3Ccircle cx=%2218%22 cy=%2218%22 r=%222%22/%3E%3C/svg%3E"); }
.ic-tv { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%225%22 width=%2219%22 height=%2213%22 rx=%222.5%22/%3E%3Cpath d=%22M8 21h8M9 2.5l3 2.5 3-2.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%225%22 width=%2219%22 height=%2213%22 rx=%222.5%22/%3E%3Cpath d=%22M8 21h8M9 2.5l3 2.5 3-2.5%22/%3E%3C/svg%3E"); }
.ic-radio { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%228%22 width=%2219%22 height=%2213%22 rx=%222.5%22/%3E%3Ccircle cx=%2215.5%22 cy=%2214.5%22 r=%223%22/%3E%3Cpath d=%22M6.5 13h3M6.5 16.5h3M7 8l10-5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%228%22 width=%2219%22 height=%2213%22 rx=%222.5%22/%3E%3Ccircle cx=%2215.5%22 cy=%2214.5%22 r=%223%22/%3E%3Cpath d=%22M6.5 13h3M6.5 16.5h3M7 8l10-5%22/%3E%3C/svg%3E"); }
.ic-film { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222.5%22/%3E%3Cpath d=%22M7 3v18M17 3v18M3 8h4M3 12h4M3 16h4M17 8h4M17 12h4M17 16h4%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222.5%22/%3E%3Cpath d=%22M7 3v18M17 3v18M3 8h4M3 12h4M3 16h4M17 8h4M17 12h4M17 16h4%22/%3E%3C/svg%3E"); }
.ic-star { color: #F5C451; }
.focus .ic-star, .row.focus .ic-star { color: inherit; }
.vh-poster > .ic, .xh-art > .ic, .s-res .ic { margin-right: 0; opacity: .5; }

/* ---------- «Дорогой» вид: глубокий тёмный фон, тонкие полосы прогресса, сдержанные акценты ---------- */
.col-title { letter-spacing: 1.5px; font-weight: 600; font-size: 22px; }
.v-count, .col-title .v-count { color: #8A97B0 !important; }
.c-logo { background-color: #121829; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: 10px; }
.hint { background: linear-gradient(0deg, rgba(5,7,15,.92), rgba(5,7,15,.6)); color: #6E7A93; font-size: 24px; }
.tab { font-weight: 600; }
.tab.active { background: rgba(255,255,255,.1); }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Фирменный стиль New TV (как логотип): оранжевая рамка у выбранного, оранжевый архив ---------- */
.vh-apple .vh-btn.focus, .vh-btn.focus { background: #FF9F1C; color: #0A1230; transform: scale(1.06); box-shadow: 0 12px 30px rgba(255,159,28,.3); }
.flt-chip.focus { background: #FF9F1C; border-color: #FF9F1C; color: #0A1230; }
.vh-apple .vh-card.focus .vh-poster, .vh-apple .xh-card.focus .xh-art, .flt .vh-card.focus .vh-poster { box-shadow: 0 22px 44px rgba(0,0,0,.7), 0 0 0 4px #FF9F1C; }
.vh-apple .vh-card.focus .ttl, .vh-apple .xh-card.focus .ttl, .flt .vh-card.focus .ttl { color: #FFB347; }
.vh-apple .vh-q { color: #FFB347; }

/* ---------- скорость на слабых приставках ----------
   Тяжёлые для отрисовки вещи (огромная тень вокруг окошка видео, размытые фоны) выносим в отдельные
   слои: видеокарта рисует их один раз, а не при каждом нажатии кнопки. Колонки меняются независимо. */
html:not(.noperf) #hole { will-change: transform; }
html:not(.noperf) .vh-bbg, html:not(.noperf) .fd-bg { will-change: transform; }
html:not(.noperf) .col { contain: layout paint; }

.act-trial{display:block;margin:10px auto 0;font-size:30px;padding:14px 40px;border-color:#FF8A00}
.act-box.has-trial .act-support{display:none}
.act-trial.focus{background:#FF8A00;color:#fff;box-shadow:0 0 0 4px rgba(255,138,0,.35)}

.act-fb{margin:14px auto 0;text-align:center}
.act-fb-q{font-size:26px;color:#fff;margin-bottom:10px}
.act-fb-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.act-fb-b{font-size:24px;padding:10px 22px;border-radius:12px;border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.act-fb-b.focus{background:#FF8A00;border-color:#FF8A00;box-shadow:0 0 0 4px rgba(255,138,0,.35)}

.c-favbtn{flex:none;width:58px;height:58px;margin-left:10px;border-radius:12px;background:#1B2850;color:#FFD166;font-size:32px;display:flex;align-items:center;justify-content:center;border:3px solid transparent}
.c-favbtn.focus{background:#FF9F1C;color:#111;border-color:#FFD166}
.row.focus:has(.c-favbtn.focus){border-color:#3A4B73}

/* ---------- Караоке и Радио: новый главный экран ---------- */
.hub { padding: 6px 70px 0; }
.hub-q { font-size: 50px; font-weight: 800; margin: 0 0 18px; }
.hub-q span { color: #FF9F1C; }
.hub-search { height: 80px; border-radius: 20px; background: #121C38; border: 3px solid #2A3B63; font-size: 32px; color: #8E9BBB; display: flex; align-items: center; padding: 0 30px; margin-bottom: 24px; }
.hub-search.focus { border-color: #FF9F1C; color: #fff; box-shadow: 0 0 0 4px rgba(255,159,28,.3); }
.hub-rt { font-size: 28px; font-weight: 700; color: #cfd7ea; margin: 4px 0 12px; }
.hub-row { display: flex; gap: 22px; margin-bottom: 22px; }
.hub-card { width: 300px; height: 140px; border-radius: 22px; padding: 18px 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.4); border: 5px solid transparent; flex: none; }
.hub-card b { font-size: 29px; } .hub-card small { font-size: 20px; opacity: .9; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-e { position: absolute; top: 12px; left: 20px; font-size: 42px; }
.hg1 { background: linear-gradient(135deg,#ff6a3d,#ff2e63); } .hg2 { background: linear-gradient(135deg,#7b2ff7,#f107a3); } .hg3 { background: linear-gradient(135deg,#00b09b,#2b6cb0); }
.hg4 { background: linear-gradient(135deg,#f7971e,#d4145a); } .hg5 { background: linear-gradient(135deg,#1fa2ff,#12a8d8); }
.hub-card.focus, .hub-chip.focus { border-color: #FF9F1C; transform: scale(1.04); box-shadow: 0 0 0 4px rgba(255,159,28,.35), 0 10px 30px rgba(0,0,0,.4); }
.hub-chip { width: 200px; height: 104px; border-radius: 20px; background: #17234a; border: 3px solid #2A3B63; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 25px; font-weight: 700; gap: 4px; flex: none; text-align: center; }
.hub-chip b { font-size: 38px; line-height: 1; }
.hub-art { width: 186px; text-align: center; font-size: 23px; font-weight: 600; flex: none; border-radius: 20px; padding: 8px 0; border: 4px solid transparent; }
.hub-art.focus { border-color: #FF9F1C; background: #1b2850; }
.hub-av { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 800; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.hub-av-all { background: #26345f; font-size: 64px; }
/* список песен / станций */
.hub-l { display: flex; gap: 50px; }
.hub-lh { width: 430px; flex: none; }
.hub-lav { width: 260px; height: 260px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 96px; font-weight: 900; color: #fff; margin: 4px 0 20px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.hub-lt { font-size: 46px; font-weight: 800; line-height: 1.15; }
.hub-ln { font-size: 26px; color: #9fb0d0; margin: 8px 0 24px; }
.hub-btn { display: table; padding: 18px 30px; border-radius: 18px; font-size: 28px; font-weight: 700; background: #1b2850; margin: 0 0 14px; border: 4px solid transparent; }
.hub-btn.focus { background: #FF9F1C; color: #111; }
.hub-list { flex: 1; min-width: 0; }
.hub-it { display: flex; align-items: center; gap: 22px; height: 86px; padding: 0 22px; border-radius: 16px; font-size: 30px; margin-bottom: 8px; background: #111b3a; border: 4px solid transparent; }
.hub-it.focus { background: #26345f; border-color: #FF9F1C; } .hub-it.sel { background: #26345f; }
.hub-n { width: 46px; color: #7f8db0; font-size: 24px; flex: none; }
.hub-t { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-t small { display: block; font-size: 21px; color: #9fb0d0; font-weight: 500; }
.hub-m { font-size: 22px; color: #8e9bbb; flex: none; }
.hub-heart { color: #ff4d6d; font-size: 26px; flex: none; }
.hub-mini { width: 60px; height: 60px; border-radius: 14px; background: #1b2850; display: flex; align-items: center; justify-content: center; font-size: 30px; flex: none; color: #ffd166; border: 3px solid transparent; }
.hub-mini.focus { background: #FF9F1C; color: #111; border-color: #FFD166; }
.hub-mav { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; flex: none; }
.hub-rl { width: 90px; height: 62px; border-radius: 12px; background: #26345f center/contain no-repeat; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; }
.hub-lav-e { background: #1b2850; font-size: 120px; }
.hub-pic { background-size: 178% auto; background-position: center; background-repeat: no-repeat; }
.hub-lav-e { font-size: 88px !important; line-height: 1; }

/* экран «24 часа закончились»: отзыв — главный элемент */
#scr-activate.fb-mode .act-logo{width:150px;height:150px;border-radius:28px;margin-bottom:4px}
#scr-activate.fb-mode .act-box h1{font-size:46px;margin-bottom:16px}
#scr-activate.fb-mode .act-code-label,#scr-activate.fb-mode .act-status,#scr-activate.fb-mode .act-support{display:none}
#scr-activate.fb-mode .act-code{font-size:44px;padding:8px 30px;margin:0 auto}
#scr-activate.fb-mode .act-text{font-size:28px;margin:12px auto 14px}
#scr-activate.fb-mode .act-fb{margin:10px auto 0;padding:30px 36px 34px;border:4px solid #FF8A00;border-radius:28px;background:rgba(255,138,0,.10);max-width:1240px}
#scr-activate.fb-mode .act-fb-q{font-size:40px;font-weight:700;margin-bottom:8px}
.act-fb-sub{font-size:28px;color:#C9D4E6;margin-bottom:24px}
#scr-activate.fb-mode .act-fb-row{flex-wrap:nowrap}
#scr-activate.fb-mode .act-fb-b{font-size:29px;padding:16px 24px;white-space:nowrap;border-radius:16px;border-width:3px}
#scr-activate .vid{display:none}
/* экран «Спасибо, подписка подключена» */
.wel-box { width: 1240px; border-color: #2BD67B; }
.wel-box .renew-text { padding-right: 0; }
.wel-tips { margin-top: 30px; }
.wel-tip { display: flex; align-items: flex-start; margin-top: 26px; }
.wel-ic { width: 84px; height: 84px; line-height: 84px; text-align: center; font-size: 48px; border-radius: 20px; background: #1A2850; margin-right: 30px; flex: none; }
.wel-t { font-size: 38px; font-weight: 700; color: #fff; }
.wel-d { font-size: 30px; color: #B9C6E0; margin-top: 6px; line-height: 1.3; }
.wel-help { font-size: 28px; color: #B3C0D9; margin-top: 34px; }
.wel-box .renew-ok { border-color: #2BD67B; }

/* экран запуска: «Смотреть бесплатно 24 часа» — главная кнопка */
.act-trial{font-size:40px;padding:20px 64px;margin-top:22px;background:#FF8A00;border-color:#FF8A00;color:#fff;border-radius:18px;box-shadow:0 10px 34px -10px rgba(255,138,0,.75)}
.act-trial small{display:block;font-size:24px;font-weight:500;opacity:.92;margin-top:4px}
.act-trial.focus{background:#FF9F1C;box-shadow:0 0 0 6px rgba(255,159,28,.4),0 10px 34px -10px rgba(255,138,0,.75)}
/* конец теста: QR оплаты — первый и крупнее, QR связи — второй */
.act-qr.two-qr #act-pay{order:-1}
.act-qr.two-qr #act-pay .qr-frame{width:360px;height:360px}
.act-qr.two-qr #act-pay .qr-frame img{width:320px;height:320px}
.act-qr.two-qr #act-pay .qr-hint{font-size:28px;font-weight:700;color:#fff}
.act-qr.two-qr .qr-col:not(#act-pay) .qr-frame{width:280px;height:280px;margin-top:40px}
.act-qr.two-qr .qr-col:not(#act-pay) .qr-frame img{width:240px;height:240px}
/* когда есть кнопка теста — всё компактнее, кнопка теста главная, код вторичный */
#scr-activate .act-box.has-trial .act-logo{width:190px;height:190px;border-radius:34px;margin-bottom:6px}
#scr-activate .act-box.has-trial h1{font-size:46px;margin-bottom:22px}
#scr-activate .act-box.has-trial .act-code{font-size:92px;letter-spacing:10px;padding:10px 44px}
#scr-activate .act-box.has-trial .act-text{font-size:31px;margin:22px auto 12px}
#scr-activate .act-box.has-trial .act-status{min-height:0}
/* оценка после теста — второстепенно: компактнее, оплата главнее */
#scr-activate.fb-mode .act-fb{padding:18px 22px 20px;border-width:2px;border-color:rgba(255,138,0,.55);background:rgba(255,138,0,.06);max-width:960px}
#scr-activate.fb-mode .act-fb-q{font-size:30px;margin-bottom:12px}
#scr-activate.fb-mode .act-fb-sub{display:none}
#scr-activate.fb-mode .act-fb-row{flex-wrap:wrap;gap:12px}
#scr-activate.fb-mode .act-fb-b{font-size:24px;padding:10px 18px;border-width:2px;border-radius:12px}
/* Экран «тест закончился / подписка истекла» с QR оплаты: всё помещается в экран, логотип не обрезается */
#scr-activate.two-qr:not(.fb-mode) .act-logo{width:180px;height:180px;border-radius:32px;margin-bottom:6px}
#scr-activate.two-qr:not(.fb-mode) .act-box h1{font-size:46px;margin-bottom:18px}
#scr-activate.two-qr:not(.fb-mode) .act-code-label{font-size:26px;margin-bottom:6px}
#scr-activate.two-qr:not(.fb-mode) .act-code{font-size:84px;letter-spacing:8px;padding:8px 40px}
#scr-activate.two-qr:not(.fb-mode) .act-text{font-size:30px;line-height:1.4;margin:20px auto 10px}

/* ---------- Векторные иконки вместо смайликов (js/icons.js) ---------- */
.nic { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nic .f { fill: currentColor; stroke: none; }
.nic-star .f, .nic-star path { fill: #FFC53D; stroke: none; }
.nic-starO { color: inherit; }
.nic-heart .f { fill: #FF4D6D; }
.nic-up, .nic-down, .nic-left, .nic-right { width: 1em; height: 1em; vertical-align: -0.15em; }
.nic-dot { width: .7em; height: .7em; vertical-align: 0; }
.hint .nic { opacity: .9; }
.hint .nic-up + .nic-down, .hint .nic-left + .nic-right { margin-left: -0.18em; }
.hint .nic { margin-right: .12em; }
/* плашка с кодом страны/языка вместо флага-смайлика */
.cc { display: inline-block; min-width: 1.9em; padding: .12em .32em; border-radius: .28em; border: 2px solid rgba(255,255,255,.55); font-size: .62em; font-weight: 800; letter-spacing: .06em; line-height: 1.1; text-align: center; vertical-align: .12em; color: #fff; }
.hub-chip b .cc { font-size: 22px; padding: 4px 10px; border-radius: 8px; }
/* плитки «Караоке»/«Радио»: иконка в мягком круге, не налезает на заголовок */
.hub-e { top: 16px; left: auto; right: 18px; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1; color: #fff; }
.hub-e .nic { vertical-align: 0; stroke-width: 2.2; }
.hub-e .nic .f, .hub-e .nic-heart .f, .hub-e .nic-star path { fill: #fff; }
.hub-card { justify-content: flex-end; }
.hub-chip b { font-size: 34px; color: #cfd8ee; display: flex; align-items: center; justify-content: center; height: 40px; }
.hub-chip.focus b { color: #fff; }
.badge .nic { margin-right: .25em; }
.toast .nic { margin-right: .15em; }

/* демо-режим: заметная подсказка, как перейти к настоящим каналам */
.demo-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; z-index: 5; background: #FF9F1C; color: #080E1C; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 40px; text-align: center; }
