/* Lynvizo — TV player (legacy) 1.4.0 for old TV browsers (LG NetCast 2013, WebKit 537).
   Deep navy with blue-violet accents, cards with soft borders, glowing focus. CSS 2.1 + prefixed CSS3 (gradients,
   radius, shadows) only: no custom properties, no Grid, no Flexbox, no calc(), no vh/vw, no animations but the spinner.
   Sizes are on a virtual canvas of at least 1280×720; app.js stretches it to the window (adaptive layout).
   Palette: bg #090d1f/#0d1330 · card rgba(20,27,58,.78) · line rgba(120,140,230,.16) · text #eef1fb / #c8cde6 / #8f98bf ·
            accent #3d5afe→#5b45e0 (focus border #8ea2ff) · blue #6f8cff · live #ff4d63 · star #f6c343 */

html, body { margin: 0; padding: 0; width: 100%; height: 100%; background: #090d1f; color: #eef1fb; overflow: hidden; }
body { font: 22px/1.3 "LG Display", "LG Smart UI", Arial, Helvetica, sans-serif; -webkit-user-select: none; cursor: default; }
html.playing, html.playing body { background: #000000; }
html.playing #app { visibility: hidden; }
html.kbd, html.kbd *, html.nomouse, html.nomouse * { cursor: none; }
#keytrap { position: absolute; left: 0; top: 0; width: 2px; height: 2px; overflow: hidden; opacity: 0; outline: none; z-index: 0; }
* { -webkit-box-sizing: border-box; box-sizing: border-box; }
img { border: 0; }
b, strong { font-weight: bold; }
.muted { color: #8f98bf; }
.small { font-size: 17px; }
.warn { color: #f6c343; }

/* ---------- icons (SVG) */
.ic { display: inline-block; width: 24px; height: 24px; margin: 0 12px 0 0; vertical-align: middle; background-repeat: no-repeat;
  background-position: center; -webkit-background-size: 24px 24px; background-size: 24px 24px; opacity: 0.8; }
.ic-tv { background-image: url(../img/ic-tv.svg); }
.ic-film { background-image: url(../img/ic-film.svg); }
.ic-series { background-image: url(../img/ic-series.svg); }
.ic-heart { background-image: url(../img/ic-heart.svg); }
.ic-gear { background-image: url(../img/ic-gear.svg); }
.ic-search { background-image: url(../img/ic-search.svg); }
.ic-grid { background-image: url(../img/ic-grid.svg); }
.ic-clock { background-image: url(../img/ic-clock.svg); }
.ic-folder { background-image: url(../img/ic-folder.svg); }
.ic-dots { background-image: url(../img/ic-dots.svg); }

/* ---------- boot / fallback */
#boot { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background: #090d1f; z-index: 50; }
.bootbox { position: absolute; left: 340px; top: 240px; width: 600px; text-align: center; }
.brand { font-size: 48px; font-weight: bold; margin-bottom: 18px; }
.brand img { vertical-align: middle; margin-right: 16px; }
.bl { color: #ffffff; }

/* ---------- frame */
#app { display: none; position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background: #090d1f;
  background-image: -webkit-linear-gradient(-30deg, #0f1638 0%, #090d1f 45%, #0a0f26 70%, #111a46 100%);
  background-image: linear-gradient(120deg, #0f1638 0%, #090d1f 45%, #0a0f26 70%, #111a46 100%); }
#hdr { position: absolute; left: 0; top: 0; width: 1280px; height: 72px; }
#hdr .logo { position: absolute; left: 26px; top: 14px; height: 44px; line-height: 44px; font-size: 30px; font-weight: bold; white-space: nowrap; letter-spacing: 0.5px; }
#hdr .logo img { float: left; margin: 2px 12px 0 0; }
#menu { position: absolute; left: 84px; top: 10px; height: 54px; padding: 4px; white-space: nowrap; border-radius: 14px;
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.16); }
.mi { display: inline-block; height: 44px; line-height: 44px; padding: 0 15px 0 12px; margin-right: 3px; border-radius: 10px; color: #c8cde6;
  font-size: 20px; border: 1px solid transparent; }
.mi .ic { margin-right: 8px; margin-top: -3px; }
.mi.cur { color: #ffffff; background: #3d5afe; background-image: -webkit-linear-gradient(left, #3552f0, #5b45e0);
  background-image: linear-gradient(to right, #3552f0, #5b45e0); border-color: #6f84ff; }
.mi.cur .ic, .mi.sel .ic { opacity: 1; }
.mi.sel { color: #ffffff; border-color: #a9b8ff; -webkit-box-shadow: 0 0 0 2px #8ea2ff, 0 0 18px rgba(90, 120, 255, 0.6);
  box-shadow: 0 0 0 2px #8ea2ff, 0 0 18px rgba(90, 120, 255, 0.6); }
#clock { position: absolute; right: 28px; top: 8px; text-align: right; }
#clock b { display: block; font-size: 34px; line-height: 38px; color: #ffffff; font-weight: bold; }
#clock span { display: block; font-size: 15px; line-height: 18px; color: #8f98bf; }
#hint { position: absolute; left: 20px; bottom: 10px; width: 1240px; height: 52px; line-height: 52px; padding: 0 22px; border-radius: 14px;
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.16);
  color: #c8cde6; font-size: 18px; white-space: nowrap; overflow: hidden; }
.hk { margin-right: 26px; white-space: nowrap; }
.hk b { display: inline-block; min-width: 34px; height: 28px; line-height: 28px; padding: 0 8px; margin-right: 10px; border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.12); color: #eef1fb; font-size: 15px; text-align: center; vertical-align: middle; font-weight: bold;
  background-repeat: no-repeat; background-position: center; -webkit-background-size: 16px 16px; background-size: 16px 16px; }
b.k-ok { background-color: #f2f4fb; color: #0b1024; }
b.k-red { background-color: #ff4d63; }
b.k-green { background-color: #22c55e; }
b.k-yellow { background-color: #f6c343; }
b.k-blue { background-color: #3b82f6; }
b.k-left { background-image: url(../img/ic-left.svg); }
b.k-right { background-image: url(../img/ic-chev.svg); }
b.k-back { background-image: url(../img/ic-back.svg); }
b.k-dots { background-image: url(../img/ic-dots.svg); }
.hdots { cursor: pointer; }
#hint .hdots { float: right; margin-right: 0; }
.scr { display: none; position: absolute; left: 0; top: 72px; width: 1280px; height: 582px; }

/* ---------- cards and lists (only the visible rows are in the DOM) */
.lst { position: absolute; overflow: hidden; }
#scr-home .cats, #scr-home .items, #scr-home .setlist, #scr-home .side, .lgbox, #pside, #pinfo, #pov, #pact, #pask, #posd {
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.16); border-radius: 16px; }
.row { position: relative; height: 48px; line-height: 48px; padding: 0 14px; margin-bottom: 4px; border-radius: 12px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; color: #dfe3f5; border: 1px solid transparent; font-size: 21px; }
.row .ic { opacity: 0.7; }
.row.sel { background: rgba(80, 100, 200, 0.22); color: #ffffff; border-color: rgba(120, 140, 230, 0.25); }
.lst.focus .row.sel { color: #ffffff; background: #3d5afe; background-image: -webkit-linear-gradient(left, #3552f0, #5b45e0);
  background-image: linear-gradient(to right, #3552f0, #5b45e0); border: 2px solid #8ea2ff;
  -webkit-box-shadow: 0 0 18px rgba(80, 110, 255, 0.55); box-shadow: 0 0 18px rgba(80, 110, 255, 0.55); }
.lst.focus .row.sel .ic { opacity: 1; }
.lst.focus .row.sel em, .lst.focus .row.sel .num, .lst.focus .row.sel .val, .lst.focus .row.sel .tm, .lst.focus .row.sel .sp,
.lst.focus .row.sel .cnt { color: #ffffff; }
.empty { padding: 20px 16px; color: #8f98bf; }
.sb { position: absolute; right: 2px; top: 6px; bottom: 6px; width: 4px; background: rgba(255, 255, 255, 0.06); border-radius: 2px; }
.sbt { position: absolute; left: 0; width: 4px; background: #4a5590; border-radius: 2px; }
.lst.focus .sbt { background: #8ea2ff; }
.num { display: inline-block; width: 50px; color: #9aa3c7; font-size: 21px; text-align: right; margin-right: 14px; vertical-align: top; }
.val { float: right; color: #8f98bf; font-size: 19px; margin-left: 12px; }
.cnt { float: right; color: #8f98bf; font-size: 18px; margin-left: 10px; }
.nm { display: inline-block; vertical-align: top; max-width: 330px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t.sp { color: #ffffff; }
.t.sp-search { color: #f6c343; }

/* group cards */
#scr-home .cats { left: 20px; top: 6px; width: 268px; height: 570px; padding: 10px; }
#scr-home .cats .row, .chpcats .row { font-size: 21px; padding: 0 12px; }

/* channel rows: number · logo · name / programme / progress · › */
#scr-home .items { left: 300px; top: 6px; width: 560px; height: 570px; padding: 8px; }
.chplist .row, #scr-home .items .row { height: 66px; line-height: 66px; border-radius: 12px; }
.row .logo { position: relative; display: inline-block; width: 76px; height: 48px; margin: 8px 14px 0 0; vertical-align: top;
  background: #0d1330; border: 1px solid rgba(120, 140, 230, 0.2); border-radius: 9px; overflow: hidden; text-align: center; }
.row .logo b, .plogo b { display: block; line-height: 46px; font-size: 15px; color: #8f98bf; }
.row .logo img { position: absolute; left: 2px; top: 2px; width: 70px; height: 42px; }
.has-img b { visibility: hidden; }
.row .nm { line-height: 28px; padding-top: 6px; height: 66px; max-width: 360px; font-size: 22px; font-weight: bold; }
.row .nm em { display: block; font-size: 16px; line-height: 20px; font-style: normal; font-weight: normal; color: #a7afd0; overflow: hidden; text-overflow: ellipsis; }
i.pg { display: block; width: 200px; height: 3px; margin-top: 3px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
i.pg i { display: block; height: 3px; background: #6f8cff; background-image: -webkit-linear-gradient(left, #5b7cff, #8b5cff);
  background-image: linear-gradient(to right, #5b7cff, #8b5cff); }
.lst.focus .row.sel i.pg { background: rgba(255, 255, 255, 0.3); }
.lst.focus .row.sel i.pg i { background: #ffffff; background-image: none; }
.chev { float: right; width: 22px; height: 22px; margin: 22px 0 0 10px; opacity: 0.55; background: url(../img/ic-chev.svg) no-repeat center;
  -webkit-background-size: 22px 22px; background-size: 22px 22px; }
.lst.focus .row.sel .chev { opacity: 1; }
.ab { float: right; width: 24px; height: 22px; line-height: 22px; margin: 22px 0 0 8px; border-radius: 5px; background: rgba(246, 195, 67, 0.18); color: #f6c343;
  font-size: 13px; text-align: center; font-weight: bold; }
.fav { float: right; color: #f6c343; margin-left: 8px; }
.onair { float: right; height: 22px; line-height: 22px; margin: 22px 0 0 8px; padding: 0 7px; border-radius: 5px; background: #ff4d63; color: #ffffff; font-size: 13px; }
.lst.focus .row.sel .fav { color: #ffffff; }

/* ---------- home: programme card (right) */
#scr-home .side { position: absolute; left: 874px; top: 6px; width: 386px; height: 570px; overflow: hidden; padding: 22px 24px; }
#scr-home .setlist { display: none; left: 20px; top: 6px; width: 650px; height: 570px; padding: 10px; }
#scr-home .grid { display: none; }
#scr-home.gridmode .items, #scr-home.gridmode .side { display: none; }
#scr-home.gridmode .grid { display: block; }
#scr-home.setmode .cats, #scr-home.setmode .items, #scr-home.setmode .grid { display: none; }
#scr-home.setmode .setlist { display: block; }
.phead { position: relative; min-height: 96px; margin-bottom: 14px; }
.pstar { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(120, 140, 230, 0.3);
  background: url(../img/ic-star.svg) no-repeat center; -webkit-background-size: 22px 22px; background-size: 22px 22px; }
.pstar.on { background-image: url(../img/ic-star-on.svg); border-color: rgba(246, 195, 67, 0.5); }
.plogo { position: relative; float: left; width: 124px; height: 80px; margin: 0 16px 0 0; background: #0d1330; border: 1px solid rgba(120, 140, 230, 0.22);
  border-radius: 12px; overflow: hidden; text-align: center; }
.plogo b { line-height: 78px; font-size: 22px; }
.plogo img { position: absolute; left: 4px; top: 4px; width: 114px; height: 70px; }
.pname { font-size: 27px; font-weight: bold; color: #ffffff; line-height: 32px; max-height: 64px; overflow: hidden; padding-right: 50px; }
.pnum { display: block; color: #6f8cff; font-size: 22px; line-height: 26px; font-weight: bold; }
.psub { font-size: 15px; color: #8f98bf; margin-top: 4px; white-space: nowrap; }
.psub .ofav, .psub .parc { margin-right: 12px; }
.ofav, .parc { color: #f6c343; }
.pnowl { font-size: 18px; color: #c8cde6; clear: both; }
.pnowl .tag.live { height: 28px; line-height: 28px; padding: 0 12px; margin-right: 10px; font-size: 15px; border-radius: 8px; }
.ptitle { font-size: 27px; line-height: 33px; margin: 10px 0 12px; color: #ffffff; font-weight: bold; max-height: 66px; overflow: hidden; }
.pbar { margin-bottom: 6px; }
.ppct { float: right; font-size: 16px; color: #c8cde6; margin-left: 14px; line-height: 10px; }
.bar { height: 8px; background: rgba(255, 255, 255, 0.12); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 8px; background: #6f8cff; background-image: -webkit-linear-gradient(left, #5b7cff, #8b5cff);
  background-image: linear-gradient(to right, #5b7cff, #8b5cff); border-radius: 4px; }
.pdesc { font-size: 18px; line-height: 25px; color: #c8cde6; margin: 14px 0 10px; max-height: 125px; overflow: hidden; }
.pnexth { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid rgba(120, 140, 230, 0.16); font-size: 15px; color: #8f98bf;
  text-transform: uppercase; letter-spacing: 2px; }
.pnext { font-size: 19px; color: #e6e9f7; margin: 0 0 8px; padding: 9px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(30, 40, 84, 0.6); border: 1px solid rgba(120, 140, 230, 0.14); border-radius: 10px; }
.pnext b { display: inline-block; width: 74px; color: #6f8cff; font-weight: bold; }
.pnone { margin-top: 10px; clear: both; }
table.diag { border-collapse: collapse; font-size: 17px; width: 100%; }
table.diag td { padding: 4px 6px; border-bottom: 1px solid rgba(120, 140, 230, 0.16); vertical-align: top; }
table.diag td:first-child { color: #8f98bf; width: 220px; }
.log { margin-top: 10px; font: 13px/1.35 monospace; color: #8f98bf; max-height: 150px; overflow: hidden; }

/* posters (columns follow the window width) */
.grid { position: absolute; left: 300px; top: 6px; width: 960px; height: 570px; overflow: hidden; }
.cell { float: left; width: 182px; height: 284px; margin: 0 9px 4px 0; padding: 6px; border-radius: 14px; border: 2px solid transparent; }
.cell.sel { background: rgba(80, 100, 200, 0.18); }
.grid.focus .cell.sel { border-color: #8ea2ff; background: rgba(61, 90, 254, 0.25); -webkit-box-shadow: 0 0 18px rgba(80, 110, 255, 0.5);
  box-shadow: 0 0 18px rgba(80, 110, 255, 0.5); }
.poster { position: relative; width: 166px; height: 214px; background: #121a3a; border-radius: 10px; overflow: hidden; text-align: center; }
.poster img { position: absolute; left: 0; top: 0; width: 166px; height: 214px; }
.ph { display: block; line-height: 214px; font-size: 64px; color: #26305e; font-weight: bold; }
.ct { margin-top: 6px; font-size: 17px; line-height: 21px; height: 42px; overflow: hidden; color: #eef1fb; }
.cm { font-size: 15px; color: #8f98bf; white-space: nowrap; overflow: hidden; }

/* ---------- login */
.lgbox { position: absolute; left: 140px; top: 26px; width: 1000px; height: 530px; }
.lgtitle { position: absolute; left: 32px; top: 22px; font-size: 30px; font-weight: bold; }
.lgtabs { left: 24px; top: 86px; width: 300px; height: 200px; }
.lgform { position: absolute; left: 350px; top: 80px; width: 620px; }
.lgform label { display: block; color: #8f98bf; font-size: 18px; margin: 8px 0 4px; }
.lgform input, input.askin { display: block; width: 600px; height: 52px; padding: 0 16px; font-size: 24px; color: #ffffff; background: #0b1024;
  border: 2px solid rgba(120, 140, 230, 0.25); border-radius: 12px; outline: none; }
.lgform input.sel, .lgform input:focus, input.askin:focus { border-color: #8ea2ff; }
.lgform .chk { margin: 16px 0 0; height: 42px; line-height: 42px; padding: 0 10px; border-radius: 10px; border: 2px solid transparent; color: #c8cde6; }
.lgform .chk i { display: inline-block; width: 24px; height: 24px; margin: 0 12px -4px 0; border: 2px solid #4a5590; border-radius: 6px; }
.lgform .chk.on i { background: #3d5afe; border-color: #6f84ff; }
.lgform .chk.sel { border-color: #8ea2ff; }
.btn { display: inline-block; height: 52px; line-height: 48px; padding: 0 34px; margin: 14px 14px 0 0; border-radius: 12px; background: rgba(30, 40, 84, 0.8);
  border: 2px solid rgba(120, 140, 230, 0.25); color: #eef1fb; font-size: 23px; }
.btn.sel { color: #ffffff; background: #3d5afe; background-image: -webkit-linear-gradient(left, #3552f0, #5b45e0);
  background-image: linear-gradient(to right, #3552f0, #5b45e0); border-color: #8ea2ff;
  -webkit-box-shadow: 0 0 18px rgba(80, 110, 255, 0.55); box-shadow: 0 0 18px rgba(80, 110, 255, 0.55); }
.note { color: #8f98bf; font-size: 18px; margin: 0 0 6px; }
.note.small { font-size: 15px; margin-top: 14px; }
.msg { color: #ff6b7d; font-size: 19px; min-height: 26px; margin: 8px 0 0; }
.msg.ok { color: #43d19e; }

/* ---------- details */
.dposter { position: absolute; left: 40px; top: 20px; width: 300px; height: 430px; background: #121a3a; border-radius: 16px; overflow: hidden; text-align: center;
  border: 1px solid rgba(120, 140, 230, 0.2); }
.dposter img { position: absolute; left: 0; top: 0; width: 300px; height: 430px; }
.dposter .ph { line-height: 430px; font-size: 120px; }
.dinfo { position: absolute; left: 380px; top: 16px; width: 860px; height: 560px; }
.dtitle { font-size: 38px; font-weight: bold; line-height: 44px; max-height: 88px; overflow: hidden; color: #ffffff; }
.dmeta { margin: 8px 0 12px; color: #6f8cff; font-size: 20px; }
.dplot { font-size: 20px; line-height: 28px; color: #c8cde6; max-height: 168px; overflow: hidden; }
.dextra { margin-top: 10px; font-size: 17px; color: #8f98bf; max-height: 72px; overflow: hidden; }
.dextra b { color: #c8cde6; }
.dextra b.warn { color: #f6c343; }
.dbtns { margin-top: 10px; white-space: nowrap; }
.dser { display: none; position: relative; height: 250px; margin-top: 14px; }
#scr-detail.series .dser { display: block; }
#scr-detail.series .dplot { max-height: 84px; }
.dseasons { left: 0; top: 0; width: 230px; height: 248px; }
.deps { left: 246px; top: 0; width: 610px; height: 248px; }

/* ---------- player */
#player { display: none; position: absolute; left: 0; top: 0; width: 1280px; height: 720px; z-index: 10; background: #000000; }
#vbox { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background: #000000; }
#vbox .vid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
#player.lay-side #vbox { border-radius: 12px; overflow: hidden; }
#player.lay-side { background: #090d1f; }
#player.mini { z-index: 20; background: #000000; border-radius: 12px; overflow: hidden; }
#player.mini #chp, #player.mini #pside, #player.mini #posd, #player.mini #pinfo, #player.mini #pov, #player.mini #pmsg,
#player.mini #pbuf { display: none !important; }

/* channel panel */
#chp { display: none; position: absolute; left: 0; top: 0; width: 564px; height: 720px; z-index: 4; background: #0b1024; background: rgba(9, 13, 31, 0.92);
  border-right: 1px solid rgba(120, 140, 230, 0.2); }
#player.lay-over #chp, #player.lay-side #chp { display: block; }
#player.withcats #chp { width: 852px; }
#player.lay-side #chp { background: #090d1f; border-right: 0; }
.chphead { position: absolute; left: 18px; top: 14px; right: 18px; height: 44px; line-height: 44px; white-space: nowrap; overflow: hidden; }
.chpg { font-size: 25px; font-weight: bold; color: #ffffff; }
.chpc { float: right; font-size: 25px; color: #c8cde6; font-weight: bold; }
.hbtn { float: right; height: 40px; line-height: 38px; margin: 2px 18px 0 0; padding: 0 16px 0 12px; border-radius: 10px; font-size: 18px; color: #c8cde6;
  background: rgba(30, 40, 84, 0.8); border: 1px solid rgba(120, 140, 230, 0.25); }
.hbtn .ic { margin-right: 8px; }
.hbtn.sel { color: #ffffff; background: #3d5afe; border-color: #8ea2ff; -webkit-box-shadow: 0 0 16px rgba(80, 110, 255, 0.6); box-shadow: 0 0 16px rgba(80, 110, 255, 0.6); }
.chpcats { display: none; left: 16px; top: 70px; width: 276px; height: 586px; }
#player.withcats .chpcats { display: block; }
.chplist { left: 16px; top: 70px; width: 532px; height: 586px; }
#player.withcats .chplist { left: 304px; }
.chplist .row .nm { max-width: 290px; }
.chphint { position: absolute; left: 18px; right: 16px; bottom: 14px; height: 32px; line-height: 32px; font-size: 16px; color: #c8cde6; white-space: nowrap; overflow: hidden; }
.chphint .hk { margin-right: 10px; }
.chphint .hk b { min-width: 26px; height: 24px; line-height: 24px; padding: 0 5px; margin-right: 6px; font-size: 13px; }
#player.withcats .chphint { font-size: 17px; }
#player.withcats .chphint .hk { margin-right: 18px; }
#pside { display: none; position: absolute; left: 868px; top: 262px; width: 392px; height: 438px; padding: 18px 20px; overflow: hidden; }
#player.lay-side #pside { display: block; }
#pside .plogo { width: 100px; height: 64px; }
#pside .plogo b { line-height: 62px; }
#pside .plogo img { width: 92px; height: 56px; }
#pside .pname { font-size: 22px; line-height: 27px; max-height: 54px; }

/* info bar (after a channel change, 5 s) */
#posd { display: none; position: absolute; left: 40px; right: 40px; bottom: 28px; height: 176px; padding: 18px 24px; z-index: 3;
  background: #0b1024; background: rgba(9, 13, 31, 0.92); }
.plogo.obig { width: 176px; height: 110px; margin-top: 6px; }
.plogo.obig b { line-height: 108px; font-size: 30px; }
.plogo.obig img { width: 168px; height: 102px; }
.obody { margin-left: 196px; }
.obody.wide { margin-left: 0; }
.otop { height: 42px; line-height: 42px; white-space: nowrap; overflow: hidden; }
.onum { font-size: 26px; color: #6f8cff; margin-right: 14px; font-weight: bold; }
.oname { font-size: 31px; font-weight: bold; color: #ffffff; }
.oclock { float: right; font-size: 28px; color: #ffffff; font-weight: bold; }
.tag { display: inline-block; height: 24px; line-height: 24px; padding: 0 9px; margin-left: 12px; border-radius: 6px; font-size: 14px; font-weight: bold;
  background: rgba(255, 255, 255, 0.14); color: #eef1fb; vertical-align: middle; }
.tag.live { background: #ff4d63; color: #ffffff; margin-left: 0; }
.otop .tag.live, .otop .tag.arc { margin-left: 12px; }
.tag.arc { background: #f6c343; color: #0b1024; }
.otop .ofav { margin-left: 12px; }
.otitle { font-size: 24px; margin: 4px 0 8px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otitle .otime { color: #6f8cff; margin-right: 12px; font-size: 20px; font-weight: bold; }
.otime { font-size: 19px; color: #c8cde6; margin: 2px 0 6px; }
.onext { font-size: 17px; color: #a7afd0; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ohint { margin-top: 10px; font-size: 15px; color: #c8cde6; white-space: nowrap; overflow: hidden; }
.ohint .hk { margin-right: 14px; }
.ohint .hk b { min-width: 26px; height: 22px; line-height: 22px; padding: 0 5px; font-size: 13px; margin-right: 6px; }
.omethod { float: right; color: #4a5590; font-size: 14px; }
/* info card (► / Info) */
#pinfo { display: none; position: absolute; left: 640px; top: 30px; width: 610px; height: 660px; padding: 26px 28px; z-index: 5; overflow: hidden;
  background: #0b1024; background: rgba(9, 13, 31, 0.95); }
#pinfo .ohint { position: absolute; left: 28px; bottom: 18px; }
#pinfo .pdesc { max-height: 250px; }
/* programme guide */
#pov { display: none; z-index: 6; position: absolute; left: 30px; top: 30px; width: 640px; height: 660px; padding: 16px; background: #0b1024; background: rgba(9, 13, 31, 0.95); }
.povtitle { font-size: 25px; font-weight: bold; height: 42px; line-height: 42px; padding-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#povList { left: 16px; top: 64px; width: 606px; height: 540px; }
#povList .row { height: 56px; line-height: 56px; }
.tm { display: inline-block; width: 74px; color: #8f98bf; font-size: 19px; font-weight: bold; }
.tm.now { color: #ff4d63; }
.tm.fut { color: #6f8cff; }
.dayl { color: #f6c343; font-size: 17px; margin-right: 6px; }
.lst.focus .row.sel .dayl { color: #ffffff; }
#povList .row .tag { float: right; margin-top: 16px; }
#povList .row .nm { max-width: 400px; font-weight: normal; }
#pmsg { display: none; position: absolute; left: 240px; top: 200px; width: 800px; padding: 24px 30px; z-index: 7; background: #0b1024; background: rgba(9, 13, 31, 0.94);
  border: 1px solid rgba(120, 140, 230, 0.2); border-radius: 16px; font-size: 22px; text-align: center; }
#player.lay-side #pmsg { top: 262px; width: 392px; padding: 16px; font-size: 17px; }
#pmsg.err { top: 110px; text-align: left; font-size: 19px; }
#pmsg ul { margin: 6px 0 10px; padding-left: 24px; }
#pmsg li { margin: 3px 0; }
.ftitle { font-size: 26px; font-weight: bold; color: #ff6b7d; margin-bottom: 10px; }
#pbuf { display: none; position: absolute; left: 610px; top: 330px; width: 60px; height: 60px; z-index: 2; }
#pbuf span, .spin { display: block; width: 56px; height: 56px; border: 6px solid rgba(255, 255, 255, 0.14); border-top-color: #6f8cff; border-radius: 50%;
  -webkit-animation: lvspin 0.9s linear infinite; animation: lvspin 0.9s linear infinite; }
@-webkit-keyframes lvspin { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } }
@keyframes lvspin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- action menu, text input, key test (over everything) */
#pact { display: none; position: absolute; left: 380px; top: 130px; width: 520px; height: 470px; padding: 16px; z-index: 45; background: #0f1530;
  border-color: rgba(142, 162, 255, 0.4); -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
#pactList { left: 16px; top: 66px; width: 488px; height: 340px; }
#pactList .row { height: 42px; line-height: 42px; font-size: 20px; }
#pask { display: none; position: absolute; left: 340px; top: 150px; width: 600px; height: 210px; padding: 16px 24px; z-index: 45; background: #0f1530;
  border-color: rgba(142, 162, 255, 0.4); }
#pask .askin { width: 552px; margin-top: 14px; }
#keydiag { display: none; position: absolute; left: 0; top: 0; width: 1280px; height: 720px; padding: 40px 60px; z-index: 60; background: #090d1f; }
.kdt { font-size: 32px; font-weight: bold; margin-bottom: 10px; }
.kdh { color: #c8cde6; font-size: 19px; margin-bottom: 18px; }
table.kd td { font-size: 20px; padding: 5px 10px; }
table.kd tr:first-child td { color: #8f98bf; font-size: 16px; }

/* ---------- busy / toast */
#busy { display: none; position: absolute; left: 0; top: 0; width: 1280px; height: 720px; z-index: 30; background: #090d1f; background: rgba(9, 13, 31, 0.75); }
#busy .spin { position: absolute; left: 612px; top: 290px; }
#busyText { position: absolute; left: 240px; top: 370px; width: 800px; text-align: center; font-size: 24px; color: #eef1fb; }
#toast { display: none; position: absolute; left: 290px; top: 96px; width: 700px; padding: 14px 22px; z-index: 55; background: #121a3a;
  border: 1px solid #8ea2ff; border-radius: 14px; font-size: 21px; text-align: center; color: #ffffff;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.tip { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #1a2350; border: 1px solid #3a4690; color: #c9ccff; font-size: 18px; }

/* =========================================================================================== 1.5.0 */
/* uniform icons, calmer borders, clearer focus, more room for channel names */
.ic { width: 22px; height: 22px; -webkit-background-size: 22px 22px; background-size: 22px 22px; }
#scr-home .cats, #scr-home .items, #scr-home .setlist, #scr-home .side, .lgbox, #pside, #pinfo, #pov, #pact, #pask, #posd, #menu, #hint, .ihead, #pmodal {
  border-color: rgba(120, 140, 230, 0.11); }
.lst.focus .row.sel { border: 2px solid rgba(165, 180, 255, 0.75); -webkit-box-shadow: 0 0 14px rgba(80, 110, 255, 0.45); box-shadow: 0 0 14px rgba(80, 110, 255, 0.45); }
.row.sel { background: rgba(80, 100, 200, 0.28); }
.mi.sel { border-color: rgba(169, 184, 255, 0.8); -webkit-box-shadow: 0 0 0 2px rgba(142, 162, 255, 0.7); box-shadow: 0 0 0 2px rgba(142, 162, 255, 0.7); }
#scr-home .cats { padding: 8px; }
#scr-home .items { padding: 6px; }
.row .nm { font-size: 23px; }
.row .nm em { font-size: 16px; }

/* «⋯ Действия» above the channel list */
.ihead { position: absolute; left: 300px; top: 6px; width: 560px; height: 52px; line-height: 50px; padding: 0 10px; white-space: nowrap; overflow: hidden;
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.11); border-radius: 14px; }
.ihead .hbtn { float: left; margin: 5px 14px 0 0; }
.ihg { font-size: 20px; color: #ffffff; font-weight: bold; }
.ihg em { font-style: normal; font-weight: normal; color: #8f98bf; margin-left: 8px; }
#scr-home.gridmode .ihead, #scr-home.setmode .ihead { display: none; }

/* narrow channel column (big video): number and logo shrink, names keep their room */
#scr-home.narrow .num { width: 38px; margin-right: 8px; font-size: 19px; }
#scr-home.narrow .row .logo { width: 60px; height: 38px; margin: 13px 10px 0 0; }
#scr-home.narrow .row .logo img { width: 54px; height: 32px; }
#scr-home.narrow .row .logo b { line-height: 36px; }
#scr-home.narrow .chev { margin-left: 6px; }

/* the video area in the programme card: video on top, compact programme below */
.vph { display: none; position: absolute; border-radius: 12px; background: #05081a; border: 1px dashed rgba(120, 140, 230, 0.3); text-align: center; }
.vph span { position: absolute; left: 0; right: 0; top: 45%; font-size: 20px; color: #8f98bf; }
#scr-home.withvideo .side .plogo, #scr-home.withvideo .side .pstar, #scr-home.withvideo .side .psub, #scr-home.withvideo .side .pdesc,
#scr-home.withvideo .side .pnexth { display: none; }
#scr-home.withvideo .side .phead { min-height: 0; margin-bottom: 6px; }
#scr-home.withvideo .side .pname { font-size: 23px; line-height: 29px; max-height: 29px; padding-right: 0; white-space: nowrap; text-overflow: ellipsis; }
#scr-home.withvideo .side .pnum { display: inline; margin-right: 10px; font-size: 23px; }
#scr-home.withvideo .side .pnowl { font-size: 16px; }
#scr-home.withvideo .side .pnowl .tag.live { height: 24px; line-height: 24px; font-size: 13px; padding: 0 9px; }
#scr-home.withvideo .side .ptitle { font-size: 21px; line-height: 27px; margin: 4px 0 8px; max-height: 27px; white-space: nowrap; text-overflow: ellipsis; }
#scr-home.withvideo .side .pnext { padding: 6px 12px; margin: 10px 0 0; font-size: 17px; }
#scr-home.withvideo .side .pnext ~ .pnext { display: none; }

/* channel information window */
#pmodal { display: none; position: absolute; left: 320px; top: 60px; width: 640px; height: 600px; padding: 26px 28px; z-index: 46; overflow: hidden;
  background: #0f1530; border: 1px solid rgba(142, 162, 255, 0.35); border-radius: 16px;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
#pmodal .ohint { position: absolute; left: 28px; bottom: 18px; }
#pmodal .pdesc { max-height: 200px; }

/* key test summary */
.kdsum { margin-top: 14px; font-size: 19px; color: #eef1fb; }
.kdsum b { color: #6f8cff; }

/* focus sensors around the hidden focus element (the browser's arrow navigation lands on them) */
.ks { position: absolute; width: 2px; height: 2px; overflow: hidden; opacity: 0; outline: none; z-index: 0; }
#keytrap { left: 640px; top: 360px; }
#ks-left { left: 300px; top: 360px; }
#ks-right { left: 980px; top: 360px; }
#ks-up { left: 640px; top: 120px; }
#ks-down { left: 640px; top: 600px; }

/* 1.6.5: compact channel rows (42 px instead of 66): more channels on screen */
.chplist .row, #scr-home .items .row { height: 42px; line-height: 42px; margin-bottom: 2px; border-radius: 9px; }
.chplist .row .logo, #scr-home .items .row .logo, #scr-home.narrow .items .row .logo { width: 50px; height: 30px; margin: 6px 10px 0 0; border-radius: 6px; }
.chplist .row .logo img, #scr-home .items .row .logo img, #scr-home.narrow .items .row .logo img { width: 46px; height: 26px; }
.chplist .row .logo b, #scr-home .items .row .logo b { line-height: 28px; font-size: 12px; }
.chplist .row .nm, #scr-home .items .row .nm { line-height: 21px; padding-top: 2px; height: 42px; font-size: 18px; }
.chplist .row .nm em, #scr-home .items .row .nm em { font-size: 13px; line-height: 15px; }
.chplist .row i.pg, #scr-home .items .row i.pg { margin-top: 1px; }
.chplist .row .num, #scr-home .items .row .num { width: 38px; margin-right: 8px; font-size: 17px; }
.chplist .row .chev, .chplist .row .ab, .chplist .row .onair,
#scr-home .items .row .chev, #scr-home .items .row .ab, #scr-home .items .row .onair { margin-top: 10px; }

/* ===================================================================== 1.7.0: redesign (header tabs, table rows, video bar)
   header: icon · tabs · round search / settings · clock with a separator. Key bar: plain line, every hint is a button. */
#hdr .logo { left: 24px; top: 14px; }
#menu { left: 84px; top: 12px; height: 48px; padding: 0; background: transparent; border: 0; border-radius: 0; overflow: hidden; }
.mi { height: 46px; line-height: 44px; padding: 0 18px 0 14px; margin-right: 8px; border-radius: 12px; font-size: 19px; font-weight: bold;
  text-transform: uppercase; letter-spacing: 0.3px; border: 1px solid transparent; color: #c8cde6; }
.mi .ic { margin: -3px 10px 0 0; }
.mi.cur { border: 1px solid #6f84ff; -webkit-box-shadow: 0 0 16px rgba(80, 110, 255, 0.45); box-shadow: 0 0 16px rgba(80, 110, 255, 0.45); }
.mi.rnd { float: right; width: 46px; padding: 0; margin: 0 0 0 12px; border-radius: 23px; text-align: center;
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.2); }
.mi.rnd .ic { margin: -3px 0 0 0; }
.mi.rnd.cur { background: #3d5afe; }
#clock { right: 22px; top: 10px; padding-left: 22px; border-left: 1px solid rgba(120, 140, 230, 0.25); }
#clock b { font-size: 30px; line-height: 34px; }
.ic-kids { background-image: url(../img/ic-kids.svg); }
.ic-sport { background-image: url(../img/ic-sport.svg); }
.ic-music { background-image: url(../img/ic-music.svg); }
.ic-pause { background-image: url(../img/ic-pause.svg); }
.ic-play { background-image: url(../img/ic-play.svg); }
.ic-full { background-image: url(../img/ic-full.svg); }

/* key bar: no card, coloured keys are dots */
#hint { bottom: 4px; height: 40px; line-height: 40px; padding: 0 12px; background: transparent; border: 0; font-size: 17px; }
.hk { margin-right: 30px; }
.hk b { min-width: 30px; height: 26px; line-height: 26px; margin-right: 9px; }
b.k-red, b.k-green, b.k-yellow, b.k-blue { min-width: 16px; width: 16px; height: 16px; padding: 0; border-radius: 8px; vertical-align: -1px; }
b.k-ok { background-color: #3d5afe; color: #ffffff; }
b.k-nav { letter-spacing: 6px; }
b.k-menu { background-image: url(../img/ic-menu.svg); }
.hka { cursor: pointer; padding: 6px 8px; margin-left: -8px; margin-right: 22px; border-radius: 9px; }
.hka:hover { background: rgba(110, 135, 255, 0.22); color: #ffffff; }
.hka:hover b { -webkit-box-shadow: 0 0 0 2px #8ea2ff; box-shadow: 0 0 0 2px #8ea2ff; }
.chphint .hka, #povHint .hka { padding: 3px 6px; margin-left: -6px; margin-right: 8px; }

/* home: cards, the «⋯ Действия» bar is gone, channels as a table */
#itemsHead, .ihead { display: none; }
#scr-home .cats, #scr-home .items, #scr-home .side { border-radius: 18px; border: 1px solid rgba(120, 140, 230, 0.2); }
#scr-home .items { padding: 6px; }
#scr-home .cats .row { height: 50px; line-height: 50px; margin-bottom: 2px; font-size: 20px; }
#scr-home .items .row { height: 48px; line-height: 48px; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid rgba(120, 140, 230, 0.13); }
#scr-home .items .row.sel { border-radius: 10px; border: 1px solid rgba(120, 140, 230, 0.3); }
#scr-home .items.focus .row.sel { border: 2px solid #8ea2ff; }
#scr-home .items .row .logo, #scr-home.narrow .items .row .logo { width: 62px; height: 38px; margin: 4px 12px 0 0; border-radius: 7px; }
#scr-home .items .row .logo img, #scr-home.narrow .items .row .logo img { width: 58px; height: 34px; }
#scr-home .items .row .logo b { line-height: 36px; font-size: 13px; }
#scr-home .items .row .nm { line-height: 22px; padding-top: 3px; height: 47px; font-size: 18px; }
#scr-home .items .row .nm em { font-size: 14px; line-height: 17px; }
#scr-home .items .row .num, #scr-home.narrow .items .row .num { width: 34px; margin-right: 8px; font-size: 18px; }
#scr-home .items .row .chev, #scr-home .items .row .ab, #scr-home .items .row .onair { margin-top: 13px; }
.chplist .row { height: 48px; line-height: 48px; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid rgba(120, 140, 230, 0.13); }
.chplist .row.sel { border-radius: 10px; border: 1px solid rgba(120, 140, 230, 0.3); }
.lst.chplist.focus .row.sel { border: 2px solid #8ea2ff; }

/* video window + its bar, then a compact programme card */
.vph { border-radius: 12px 12px 0 0; }
.vbar { display: none; position: absolute; height: 46px; padding: 0 12px; background: #0b1024; background: rgba(8, 11, 28, 0.92);
  border-radius: 0 0 12px 12px; border: 1px solid rgba(120, 140, 230, 0.16); border-top: 0; white-space: nowrap; overflow: hidden; }
.vb { float: left; width: 36px; height: 36px; margin: 5px 10px 0 0; border-radius: 8px; text-align: center; cursor: pointer; }
.vb .ic { margin: 6px 0 0 0; opacity: 1; }
.vb:hover { background: rgba(110, 135, 255, 0.28); }
.vb.off { opacity: 0.35; cursor: default; }
.vbf { float: right; margin: 5px 0 0 10px; }
.vbt { float: right; height: 46px; line-height: 46px; font-size: 16px; color: #dfe3f5; }
.vbbar { height: 4px; margin: 21px 16px 0 52px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden; }
.vbbar i { display: block; height: 4px; background: #5b7cff; background-image: -webkit-linear-gradient(left, #5b7cff, #8b5cff);
  background-image: linear-gradient(to right, #5b7cff, #8b5cff); }
#scr-home.withvideo .side { padding-left: 12px; padding-right: 12px; }
#scr-home.withvideo .side .phead { min-height: 58px; margin-bottom: 6px; padding: 6px; border-radius: 12px; background: rgba(13, 19, 48, 0.7);
  border: 1px solid rgba(120, 140, 230, 0.16); }
#scr-home.withvideo .side .plogo { display: block; width: 76px; height: 46px; margin-right: 12px; }
#scr-home.withvideo .side .plogo b { line-height: 44px; font-size: 16px; }
#scr-home.withvideo .side .plogo img { width: 70px; height: 40px; left: 3px; top: 3px; }
#scr-home.withvideo .side .pstar { display: block; width: 38px; height: 38px; right: 6px; top: 10px; }
#scr-home.withvideo .side .pname { font-size: 21px; line-height: 23px; max-height: 46px; padding-right: 46px; white-space: normal; }
#scr-home.withvideo .side .pnum { display: block; margin: 0; font-size: 16px; line-height: 20px; }
#scr-home.withvideo .side .pnowl { font-size: 15px; margin-left: 4px; }
#scr-home.withvideo .side .ptitle { font-size: 20px; line-height: 25px; margin: 3px 4px 4px; }
#scr-home.withvideo .side .pbar { margin: 0 4px 2px; }
#scr-home.withvideo .side .pnexth { display: block; margin: 6px 4px 3px; padding-top: 0; border-top: 0; font-size: 13px; }
#scr-home.withvideo .side .pnext { display: block; padding: 3px 10px; margin: 0 0 3px; font-size: 15px; border-radius: 7px; }
#scr-home.withvideo .side .pnext ~ .pnext { display: block; }
#scr-home.withvideo .side .pnext b { width: 58px; }
.chphint b.k-red, .chphint b.k-green, .chphint b.k-yellow, .chphint b.k-blue { min-width: 14px; width: 14px; height: 14px; padding: 0; border-radius: 7px; vertical-align: -1px; }
.chphint .hk b { margin-right: 5px; }
.chphint, #player.withcats .chphint { font-size: 15px; }
.chphint .hka, #player.withcats .chphint .hka { margin-right: 4px; }
#scr-home.withvideo .side .phead { min-height: 50px; padding: 4px; margin-bottom: 4px; }
#scr-home.withvideo .side .plogo { width: 66px; height: 40px; }
#scr-home.withvideo .side .plogo b { line-height: 38px; }
#scr-home.withvideo .side .plogo img { width: 60px; height: 34px; }
#scr-home.withvideo .side .pstar { width: 34px; height: 34px; top: 7px; }
#scr-home.withvideo .side .pname { font-size: 19px; line-height: 21px; max-height: 42px; }
#scr-home.withvideo .side .pnum { font-size: 15px; line-height: 18px; }
#scr-home.withvideo .side .ptitle { font-size: 19px; line-height: 23px; margin: 2px 4px 3px; }
#scr-home.withvideo .side .pnexth { margin: 4px 4px 2px; }
#scr-home.withvideo .side .pnext { padding: 2px 10px; margin: 0 0 2px; font-size: 14px; }

/* 1.7.1: findings of the simulation */
/* header: six tabs + three round buttons fit 1280 px */
.mi { padding: 0 13px 0 11px; margin-right: 4px; font-size: 17px; }
.mi .ic { margin-right: 7px; }
.mi.rnd { margin-left: 10px; }
/* group names: «PL» chip instead of «|PL|» */
.gtag { display: inline-block; height: 20px; line-height: 20px; padding: 0 5px; margin: 0 7px 0 0; border-radius: 5px; font-size: 12px; font-weight: bold;
  color: #aab4e8; background: rgba(120, 140, 230, 0.18); vertical-align: 2px; }
.lst.focus .row.sel .gtag { color: #ffffff; background: rgba(255, 255, 255, 0.22); }
.chpg .gtag { vertical-align: 4px; }
/* channel panel over the video: less of the picture through the list */
#chp { background: #0b1024; background: rgba(9, 13, 31, 0.96); }
/* programme over the home screen */
#pmodal.epgm { padding: 22px 24px; }
#pmList { left: 20px; right: 20px; top: 70px; bottom: 64px; }
#pmList .row { height: 46px; line-height: 46px; margin-bottom: 2px; font-size: 19px; }
#pmList .tm { display: inline-block; width: 64px; color: #6f8cff; font-weight: bold; }
#pmList .tm.past { color: #8f98bf; }
#pmList .tag { float: right; margin-top: 10px; }
#pmList .nm { max-width: 420px; }
/* 1.7.1 «Максимум видео»: the groups slide over the channel list; the list has a header with the group */
#scr-home.catsover .cats { display: none; z-index: 6; background: #10173a; -webkit-box-shadow: 14px 0 30px rgba(0, 0, 0, 0.65);
  box-shadow: 14px 0 30px rgba(0, 0, 0, 0.65); border-color: rgba(142, 162, 255, 0.45); }
#scr-home.catsover.zcats .cats { display: block; }
#scr-home.catsover #itemsHead { display: block; top: 6px; height: 40px; line-height: 38px; padding: 0 8px; border-radius: 12px;
  background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.2); cursor: pointer; }
#itemsHead .hbtn { float: left; height: 30px; line-height: 30px; margin: 4px 12px 0 0; padding: 0 12px 0 6px; border-radius: 8px; font-size: 16px;
  background: rgba(110, 135, 255, 0.18); color: #dfe3f5; }
#itemsHead .hbtn .ic { width: 18px; height: 18px; margin: -2px 4px 0 0; -webkit-background-size: 18px 18px; background-size: 18px 18px; }
#itemsHead .hbtn.on, #itemsHead:hover .hbtn { background: #3d5afe; color: #ffffff; }
#itemsHead .ihg { font-size: 18px; }
.ic-left { background-image: url(../img/ic-left.svg); }
/* the programme card under the large video: one block — channel, now, progress, next */
#scr-home.catsover.withvideo .side .phead { min-height: 0; padding: 3px 6px; }
#scr-home.catsover.withvideo .side .plogo { width: 52px; height: 32px; margin: 0 10px 0 0; }
#scr-home.catsover.withvideo .side .plogo b { line-height: 30px; font-size: 12px; }
#scr-home.catsover.withvideo .side .plogo img { width: 48px; height: 28px; left: 2px; top: 2px; }
#scr-home.catsover.withvideo .side .pstar { width: 30px; height: 30px; top: 4px; }
#scr-home.catsover.withvideo .side .pname { font-size: 18px; line-height: 32px; max-height: 32px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scr-home.catsover.withvideo .side .pnum { display: inline; margin-right: 8px; font-size: 18px; line-height: 32px; }
#scr-home.catsover.withvideo .side .pnowl { float: left; margin: 2px 10px 0 4px; font-size: 14px; }
#scr-home.catsover.withvideo .side .ptitle { font-size: 17px; line-height: 26px; margin: 0 4px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scr-home.catsover.withvideo .side .pbar { clear: both; margin: 0 4px 2px; }
#scr-home.catsover.withvideo .side .pnexth { display: none; }
#scr-home.catsover.withvideo .side .pnext { display: block; margin: 3px 0 0; font-size: 14px; }
#scr-home.catsover.withvideo .side .pnext ~ .pnext { display: none; }

/* 1.9.4: channel rows without numbers, a narrower panel over the video; tighter groups; programme by days */
.chplist .row .num, #scr-home .items .row .num { display: none; }
#chp { width: 476px; }
#player.withcats #chp { width: 764px; }
.chplist { width: 444px; }
.chplist .row .nm { max-width: 300px; }
.chpcats .row, #scr-home .cats .row { height: 40px; line-height: 40px; margin-bottom: 1px; }
.daybar { height: 34px; line-height: 34px; padding-left: 8px; white-space: nowrap; overflow: hidden; font-size: 17px; color: #8f98bf; }
.daybar span { display: inline-block; margin-right: 6px; padding: 0 10px; height: 30px; line-height: 30px; border-radius: 8px; }
.daybar .arr { padding: 0 4px; color: #6f8cff; min-width: 14px; }
.daybar .on { color: #ffffff; background: #3d5afe; }
#povList { top: 102px; height: 504px; }
#povList .row { height: 52px; line-height: 52px; }
#povList .row .tag { margin-top: 14px; }
#pmList { top: 102px; }

/* 1.9.5: the panel over the video — wider groups (whole names), a narrower channel column */
.chpcats { width: 330px; }
.chpcats .row { font-size: 19px; padding: 0 10px; }
.chplist { width: 400px; }
#player.withcats .chplist { left: 358px; }
.chplist .row .nm { max-width: 250px; }
#chp { width: 432px; }
#player.withcats #chp { width: 774px; }
/* the info card on the right: smaller */
#pinfo { left: 770px; width: 452px; height: 600px; padding: 20px 24px; }
#pinfo .ohint { left: 24px; bottom: 14px; }
#pinfo .pdesc { max-height: 130px; font-size: 16px; line-height: 21px; }
#pinfo .ptitle { font-size: 22px; line-height: 27px; }
#pinfo .pnext { padding: 6px 12px; margin-top: 6px; font-size: 16px; }
/* the action menu: all eight rows */
#pact { top: 104px; height: 512px; }
#pactList { height: 376px; }
/* no channel numbers anywhere (lists, cards, info bar) */
.pnum, .onum { display: none !important; }

/* 1.9.7: group rows without the 1 px gap — one more group fits (13 on the home screen) */
.chpcats .row, #scr-home .cats .row { margin-bottom: 0; }

/* 1.9.8: the panel header — «⋯ Действия» as an icon, the group name cut with … beside it, never under it */
.chphead .hbtn.hicon { padding: 0 10px; margin-right: 12px; }
.chphead .hbtn.hicon .ic { margin-right: 0; }
.chpg { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 1.9.8: the key hints of the narrower panel fit in one line */
.chphint .hk, .chphint .hka, #player.withcats .chphint .hk, #player.withcats .chphint .hka { margin-right: 4px; }
.chphint .hk b { margin-right: 4px; }
#chpHint { font-size: 14px; }

/* 1.9.9: «more below» — a grey ▼ at the bottom of a list (on the right in channel lists: the programme line stays free) */
.lst .more { position: absolute; left: 50%; width: 26px; height: 14px; margin-left: -13px; opacity: 0.6; pointer-events: none;
  background-repeat: no-repeat; background-position: center; -webkit-background-size: 26px 26px; background-size: 26px 26px; }
.lst .more.dn { bottom: 0; background-image: url(../img/ic-chev-down.svg); }
.lst .more.up { top: 0; background-image: url(../img/ic-chev-up.svg); }
/* channel lists: on the right, beside the scroll bar — the names and programme lines stay free */
.chplist .more, #items .more { left: auto; right: 8px; margin-left: 0; }

/* 1.9.14: the archive in the programme lists — a small replay icon instead of the yellow «архив» label */
.arcic { float: right; width: 26px; height: 26px; margin: 13px 4px 0 10px; background: url(../img/ic-replay.svg) no-repeat center;
  -webkit-background-size: 24px 24px; background-size: 24px 24px; }
#pmList .arcic { margin-top: 10px; }
.lst.focus .row.sel .arcic { opacity: 1; }
/* the info bar: room for the key hints under the progress line */
#posd { height: 196px; bottom: 20px; }

/* 1.9.15: the section tabs — blue only where the remote's selection is; the current section (ТВ when the channel
   list is used) looks like the other tabs, with a thin line under it so it is still clear where one is */
.mi.cur, .mi.rnd.cur { color: #ffffff; background: none; background-image: none; border-color: transparent;
  -webkit-box-shadow: inset 0 -3px 0 #6f84ff; box-shadow: inset 0 -3px 0 #6f84ff; }
.mi.rnd.cur { background: #121a3a; background: rgba(20, 27, 58, 0.78); border: 1px solid rgba(120, 140, 230, 0.2); }
.mi.sel, .mi.cur.sel, .mi.rnd.sel, .mi.rnd.cur.sel { color: #ffffff; background: #3d5afe; background-image: -webkit-linear-gradient(left, #3552f0, #5b45e0);
  background-image: linear-gradient(to right, #3552f0, #5b45e0); border-color: #a9b8ff;
  -webkit-box-shadow: 0 0 0 2px #8ea2ff, 0 0 18px rgba(90, 120, 255, 0.6); box-shadow: 0 0 0 2px #8ea2ff, 0 0 18px rgba(90, 120, 255, 0.6); }

/* 1.9.17: room for the glow of the rightmost round button (⛶) inside the header */
#menu { padding-right: 8px; }

/* 1.9.19: the live channel info at the bottom is smaller (logo, name, now + bar, next; the key hints are in the lists) */
#posd.osm { height: 112px; bottom: 20px; padding: 12px 18px; }
#posd.osm .plogo.obig { width: 128px; height: 80px; margin-top: 4px; }
#posd.osm .plogo.obig b { line-height: 78px; font-size: 24px; }
#posd.osm .plogo.obig img { width: 120px; height: 72px; }
#posd.osm .obody { margin-left: 146px; }
#posd.osm .otop { height: 32px; line-height: 32px; }
#posd.osm .oname { font-size: 24px; }
#posd.osm .otitle { font-size: 19px; margin: 2px 0 6px; }
#posd.osm .otitle .otime { font-size: 17px; }
#posd.osm .bar, #posd.osm .bar i { height: 6px; }
#posd.osm .onext { font-size: 15px; margin-top: 6px; }
#posd.osm .ohint { display: none; }
#posd.osm .oclock { font-size: 22px; }

/* 1.9.20: the info card — «Было» (3 programmes before) is small and dim; room for it */
#pinfo .pprevh { margin: 0 0 4px; padding-top: 0; border-top: 0; }
#pinfo .pnext.pprev { padding: 3px 12px; margin: 0 0 3px; font-size: 15px; color: #8f98bf; background: none; border-color: transparent; }
#pinfo .pnext.pprev b { color: #66709a; }
#pinfo .pprev + .pnowl, #pinfo .pprev ~ .pnowl { margin-top: 10px; }
#pinfo .pdesc { max-height: 42px; margin: 8px 0 6px; }
#pinfo .pnexth { margin: 10px 0 6px; padding-top: 10px; }
#pinfo .phead { margin-bottom: 8px; }

/* 1.9.21: the programme list is denser — 40 px rows (11 on the screen instead of 9) */
#povList .row { height: 40px; line-height: 40px; }
#povList .row .tag { margin-top: 8px; }
#povList .arcic { margin-top: 7px; }

/* 1.9.22: the language choice on the login screen — one button per line */
.btn.lglang { display: block; width: 320px; margin: 0 0 14px; }
.btn.lglang.on { color: #ffffff; border-color: #8ea2ff; }

/* 1.9.23: «Язык интерфейса» — the globe icon (login tab, settings row) */
.ic-globe { background-image: url(../img/ic-globe.svg); }
#lgTabs .row .ic { margin: -3px 12px 0 0; }
#setlist .row .nm .ic { margin: -3px 10px 0 0; opacity: 0.9; }

/* 1.9.27: the round reload button beside ⛶ */
.ic-reload { background-image: url(../img/ic-reload.svg); }

/* 1.9.29: the programme overlay only as wide as its key hints (it was 640 px with empty room on the right) */
#pov { width: 560px; }
#povList { width: 526px; }
#povList .row .nm { max-width: 350px; }

/* 1.10.0: a group behind the PIN */
.ic-lock { background-image: url(../img/ic-lock.svg); opacity: 1 !important; }
