/* EasyTV customer site (easytv.hu/fiok/) */
:root {
  color-scheme: dark;
  --bg: #0b0f14; --panel: #121922; --panel2: #18212c; --line: #243140; --text: #e8edf2; --muted: #9aa7b4;
  --accent: #3fa9f5; --accent2: #2b8fd8; --ok: #3fbf7f; --warn: #f0a93b; --bad: #ef5b5b; --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 20px; border-bottom: 1px solid var(--line);
             background: rgba(11, 15, 20, .92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--text); }
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
nav.main { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
nav.main a, nav.main button { color: var(--muted); padding: 6px 10px; border-radius: 8px; font: inherit; background: none; border: 0; cursor: pointer; }
nav.main a:hover, nav.main button:hover, nav.main a.on { color: var(--text); background: var(--panel2); text-decoration: none; }
nav.main form { margin: 0; }
main { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; flex: 1; }
main.narrow { max-width: 480px; }
main.wide { max-width: 1400px; }
h1 { font-size: 1.7rem; margin: 0 0 16px; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
p.lead { color: var(--muted); margin: -8px 0 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid > *, .tv > * { min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600; background: var(--panel2); }
.badge.ok { background: rgba(63, 191, 127, .15); color: var(--ok); }
.badge.warn { background: rgba(240, 169, 59, .15); color: var(--warn); }
.badge.bad { background: rgba(239, 91, 91, .15); color: var(--bad); }
.big { font-size: 1.6rem; font-weight: 700; margin: 4px 0; }
/* forms */
form p, .field { margin: 0 0 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.helptext, .help { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
ul.errorlist { list-style: none; margin: 4px 0; padding: 0; color: var(--bad); font-size: .9rem; }
.check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; }
.radios label { font-weight: 400; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line);
                border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--accent); background: rgba(63, 169, 245, .08); }
.radios ul { list-style: none; margin: 0; padding: 0; }
.row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.row3 { display: grid; gap: 12px; grid-template-columns: 110px 1fr; }
@media (max-width: 560px) {
  .row2, .row3 { grid-template-columns: 1fr; }
  header.top { padding: 10px 16px; }
  nav.main { margin-left: 0; width: 100%; }
  nav.main a, nav.main button { padding: 6px 8px; }
  .card { padding: 16px; }
}
.btn, button.btn { display: inline-block; background: var(--accent2); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px;
                   font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.btn:hover { background: var(--accent); text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--panel2); }
.btn.wide { width: 100%; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
/* messages */
ul.messages { list-style: none; padding: 0; margin: 0 0 16px; }
ul.messages li { padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; background: var(--panel2); border-left: 4px solid var(--accent); }
ul.messages li.success { border-color: var(--ok); }
ul.messages li.warning { border-color: var(--warn); }
ul.messages li.error { border-color: var(--bad); }
/* tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.tablewrap { overflow-x: auto; }
footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding: 16px 20px;
                display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
footer.bottom a { color: var(--muted); }
/* web TV */
.tv { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.tv .list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); max-height: calc(100vh - 140px);
            display: flex; flex-direction: column; }
.tv .list input { border-radius: var(--radius) var(--radius) 0 0; border: 0; border-bottom: 1px solid var(--line); }
.tv .list ul { list-style: none; margin: 0; padding: 4px; overflow-y: auto; }
.tv .list li button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 0; border-radius: 8px;
                      background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tv .list li button:hover { background: var(--panel2); }
.tv .list li button.on { background: rgba(63, 169, 245, .16); color: #fff; }
.tv .num { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: right; font-size: .9rem; }
.tv .player { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.tv video { width: 100%; height: 100%; display: block; background: #000; }
.tv .overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; text-align: center;
               padding: 24px; color: var(--muted); pointer-events: none; }
.tv .cn { display: flex; flex-direction: column; min-width: 0; }
.tv .cn .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv .ep { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv .ep:empty { display: none; }
.tv .list li button.on .ep { color: #cfe6fb; }
.now-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; }
.now-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.now-ch { color: var(--muted); font-size: .85rem; }
.now-title { font-weight: 700; font-size: 1.1rem; }
.now-time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prog { height: 4px; background: var(--line); border-radius: 4px; margin: 10px 0 8px; overflow: hidden; }
.prog span { display: block; height: 100%; width: 0; background: var(--accent); }
.now-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.now-desc:empty { display: none; }
.guide { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; }
.guide h2 { font-size: 1rem; margin: 0 0 8px; }
.guide ul { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.guide li { border-top: 1px solid var(--line); }
.guide li:first-child { border-top: 0; }
.guide button { display: grid; grid-template-columns: 56px 1fr; gap: 10px; width: 100%; background: none; border: 0; color: var(--text);
                font: inherit; text-align: left; padding: 8px 4px; cursor: pointer; }
.guide button:hover { background: var(--panel2); }
.guide .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.guide .day { color: var(--accent); font-size: .8rem; font-weight: 600; padding: 10px 4px 2px; border-top: 0; }
.guide li.cur .t, .guide li.cur .ti { color: var(--accent); font-weight: 700; }
.guide .gen { color: var(--muted); font-size: .78rem; margin-left: 6px; }
.guide .more { grid-column: 2; color: var(--muted); font-size: .9rem; display: none; }
.guide li.open .more { display: block; }
.tips { margin-top: 8px; }
@media (max-width: 820px) {
  .tv { grid-template-columns: 1fr; }
  .tv .list { order: 2; max-height: 50vh; }
}

/* ---------- TV mode (LG app, remote control; html.tvmode) ---------- */
.tvmode body { font-size: 24px; }
.tvmode :focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.tvmode input[type=text], .tvmode input[type=email], .tvmode input[type=password] { font-size: 26px; padding: 14px 16px; }
.tvmode .btn { font-size: 24px; padding: 14px 26px; }
.tvmode footer.bottom { display: none; }
.tvmode .tvpage header.top { display: none; }
.tvmode .tvpage main { max-width: none; padding: 0; }
.tvmode .tvpage ul.messages { position: fixed; top: 30px; right: 40px; z-index: 5; max-width: 700px; }
.tvmode .tvpage .tv { display: block; }
.tvmode .tvpage .player { position: fixed; top: 0; right: 0; bottom: 0; left: 0; border-radius: 0; aspect-ratio: auto; z-index: 1; }
.tvmode .tvpage video { object-fit: contain; }
.tvmode .tvpage .overlay { z-index: 2; font-size: 34px; }
.tvmode .tvpage .list { position: fixed; left: 48px; top: 48px; bottom: 48px; width: 600px; max-height: none; z-index: 4;
                        display: none; background: rgba(18, 25, 34, .95); }
.tvmode .tvpage .tv.show-list .list { display: flex; }
.tvmode .tvpage .list input { display: none; }
.tvmode .tvpage .list li button { padding: 12px 14px; font-size: 26px; }
.tvmode .tvpage .list li button:focus { background: var(--accent2); color: #fff; outline: none; }
.tvmode .tvpage .list li button:focus .ep { color: #e6f2fd; }
.tvmode .tvpage .ep { font-size: 19px; }
.tvmode .tvpage .now-card { position: fixed; left: 48px; right: 48px; bottom: 48px; z-index: 3; margin: 0; display: none;
                            background: rgba(18, 25, 34, .93); padding: 22px 28px; }
.tvmode .tvpage .tv.show-info .now-card:not([hidden]) { display: block; }
.tvmode .tvpage .now-ch { font-size: 22px; }
.tvmode .tvpage .now-title { font-size: 34px; }
.tvmode .tvpage .now-time { font-size: 26px; }
.tvmode .tvpage .now-desc { font-size: 22px; max-height: 3.2em; overflow: hidden; }
.tvmode .tvpage .guide, .tvmode .tvpage .tips { display: none; }
.tv-digits { position: fixed; top: 40px; right: 56px; z-index: 6; display: none; font-size: 64px; font-weight: 800;
             color: #fff; background: rgba(18, 25, 34, .9); padding: 8px 24px; border-radius: 12px; }
.tvmode .tvpage .tv.show-list .now-card { display: none !important; }
.tvmode .tvpage .num { font-size: 22px; min-width: 2.4em; }

/* ---------- TV look (v2): banner, list header, dialogs, sign-in screen ---------- */
.tv .overlay { white-space: pre-line; }
.list-head, .now-num, .now-clock { display: none; }
.now-next { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.now-next:empty { display: none; }
.tvmode header.top { display: none; }
.tvmode main { padding-top: 60px; }
.tvmode .tvpage .list-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px;
                             font-size: 30px; font-weight: 700; border-bottom: 1px solid var(--line); }
.tvmode .clock { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.tvmode .tvpage .tv.show-info .now-card:not([hidden]) { display: flex; gap: 28px; align-items: flex-start; }
.tvmode .tvpage .now-num { display: block; font-size: 64px; font-weight: 800; line-height: 1; color: #fff; min-width: 1.6em;
                           text-align: center; padding-top: 6px; }
.tvmode .tvpage .now-main { flex: 1; min-width: 0; }
.tvmode .tvpage .now-clock { display: block; font-size: 34px; }
.tvmode .tvpage .now-next { font-size: 22px; margin-top: 10px; }
.now-tracks { margin: 8px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.now-tracks[hidden], .now-tracks [hidden] { display: none; }
.tvmode .tvpage .now-tracks .tool { font-size: 20px; padding: 4px 12px; pointer-events: none; }
/* subtitles (WebVTT from the teletext, drawn by the browser) */
.tvpage video::cue { background: rgba(0, 0, 0, .78); color: #fff; font-size: 1.05em; line-height: 1.3; }
.tvmode .tvpage video::cue { font-size: 34px; }
.tvmode .tvpage .now-head { gap: 24px; }
.tvmode .tvpage .now-card { background: linear-gradient(180deg, rgba(18, 25, 34, .88), rgba(11, 15, 20, .97));
                            border-color: rgba(63, 169, 245, .35); }
.tvmode .tvpage .overlay { font-size: 40px; font-weight: 600; color: #e8edf2; text-shadow: 0 2px 12px #000; }
.tv-dialog { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9; display: flex; flex-direction: column;
             align-items: center; justify-content: center; background: rgba(0, 0, 0, .72); }
.tv-dialog[hidden] { display: none; }
.tv-dialog .box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 40px 70px 34px;
                  text-align: center; }
.tv-dialog .q { font-size: 46px; font-weight: 700; margin-bottom: 16px; }
.tv-dialog .a { font-size: 26px; color: var(--muted); }
/* sign-in screen on the TV */
.tvlogin main { max-width: none; padding: 70px 90px; }
.tvl-logo { font-size: 64px; font-weight: 800; letter-spacing: -1px; margin-bottom: 40px; }
.tvl-logo span { color: var(--accent); }
.tvl-box { display: flex; gap: 90px; align-items: center; background: var(--panel); border: 1px solid var(--line);
           border-radius: 22px; padding: 56px 64px; }
.tvl-steps { flex: 1; }
.tvl-steps h1 { font-size: 46px; margin: 0 0 26px; }
.tvl-steps ol { font-size: 30px; line-height: 1.5; padding-left: 1.2em; margin: 0 0 24px; }
.tvl-steps li { margin-bottom: 12px; }
.tvl-code { font-size: 96px; font-weight: 800; letter-spacing: .12em; color: #fff; margin: 6px 0 18px; }
.tvl-note { font-size: 24px; margin: 0; }
.tvl-qr { background: #fff; padding: 18px; border-radius: 16px; line-height: 0; }
.tvl-alt { margin-top: 34px; font-size: 26px; }
.tvl-lead { font-size: 32px; }
.tv-keylog { position: fixed; left: 56px; top: 40px; z-index: 8; display: none; font-size: 26px; color: #fff;
             background: rgba(18, 25, 34, .9); border: 1px solid var(--line); padding: 8px 18px; border-radius: 10px; }

/* STOP: browse view - channel list left, the focused channel's guide on the rest of the screen */
.tvmode .tvpage .tv.show-browse .player { background: #0b0f14; }
.tvmode .tvpage .tv.show-browse .guide:not([hidden]) { display: block; position: fixed; left: 680px; right: 48px; top: 48px;
    bottom: 48px; z-index: 4; margin: 0; padding: 26px 34px; background: rgba(18, 25, 34, .95); overflow: hidden; }
.tvmode .tvpage .tv.show-browse .guide h2 { font-size: 34px; margin: 0 0 14px; }
.tvmode .tvpage .tv.show-browse .guide ul { max-height: none; height: calc(100% - 64px); overflow: hidden; }
.tvmode .tvpage .guide button { grid-template-columns: 96px 1fr; font-size: 27px; padding: 12px 4px; }
.tvmode .tvpage .guide .gen { font-size: 19px; }
.tvmode .tvpage .guide .day { font-size: 22px; padding-top: 14px; }
.tvmode .tvpage .guide li.cur .more { display: block; font-size: 22px; margin-top: 6px; }

/* the TV menu (Back): subscription, back / logout / exit */
.tv-menu { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 7; display: flex; align-items: center;
           justify-content: center; background: rgba(5, 8, 12, .86); }
.tv-menu[hidden] { display: none; }
.tvm-box { width: 1100px; max-width: 92vw; background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
           padding: 44px 56px; }
.tvm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.tvm-head .tvl-logo { margin: 0; font-size: 52px; }
.tvm-head .clock { font-size: 36px; }
.tvm-name { font-size: 40px; font-weight: 700; }
.tvm-sub { font-size: 26px; }
.tvm-sub dl { display: grid; grid-template-columns: 280px 1fr; gap: 10px 20px; margin: 24px 0 8px; }
.tvm-sub dt { color: var(--muted); }
.tvm-sub dd { margin: 0; font-weight: 600; }
.tvm-hint { font-size: 22px; margin: 14px 0 0; }
.tvm-warn { font-size: 26px; color: var(--warn); margin: 22px 0 0; }
.tvm-items { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.tvm-items button, .tvm-items .tvm-a { display: block; width: 100%; text-align: left; font: inherit; font-size: 30px;
    color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 24px;
    cursor: pointer; }
.tvm-items form { margin: 0; }
.tvm-items button:focus, .tvm-items .tvm-a:focus { background: var(--accent2); color: #fff; outline: none; text-decoration: none; }
/* the TV menu: account on the left, the actions on the right, so it fits a 1080-pixel screen */
#tvmenu .tvm-box { width: 1680px; display: flex; flex-wrap: wrap; align-items: flex-start; max-height: 96vh; overflow: hidden; }
#tvmenu .tvm-head { width: 100%; }
#tvmenu .tvm-sub { width: 46%; }
#tvmenu .tvm-items { width: 50%; margin: 0 0 0 4%; }
#tvmenu .tvm-items button { font-size: 28px; padding: 13px 24px; }
/* browsers without CSS grid (webOS 4 = Chromium 53): the same lines with floats and margins */
@supports not (display: grid) {
  .tvm-sub dl { overflow: hidden; }
  .tvm-sub dt { float: left; clear: left; width: 280px; margin-bottom: 10px; }
  .tvm-sub dd { margin: 0 0 10px 300px; }
  .tvm-items li + li { margin-top: 12px; }
  #tvmenu .tvm-items li + li { margin-top: 10px; }
}
#tvmenu .tvm-items { gap: 10px; }
#tvmenu .tvm-tip { width: 100%; margin: 22px 0 0; font-size: 22px; color: var(--muted); }
#tvmenu .tvm-tip[hidden] { display: none; }
.tvmode .legalpage .legal { font-size: 26px; max-width: 1500px; margin: 0 auto; }
.tvmode .legalpage .legal h1 { font-size: 46px; }
.legal-keys { display: none; }
.tvmode .legal-keys { display: block; position: fixed; right: 40px; bottom: 30px; z-index: 5; font-size: 20px;
                      color: var(--muted); background: rgba(18, 25, 34, .92); border: 1px solid var(--line);
                      border-radius: 10px; padding: 8px 18px; }
.tvnoaccess main { padding: 0; }

/* profiles (easytv.hu/fiok/profilok/) and the profile chooser on TV / web */
.profiles { display: flex; flex-wrap: wrap; gap: 14px; }
.pcard { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 120px; padding: 14px 8px;
         border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-align: center; }
.pcard:hover, .pcard:focus { border-color: var(--accent); text-decoration: none; outline: none; }
.pavatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
           font-size: 28px; font-weight: 800; color: #fff; background: var(--panel2); }
.pname { font-weight: 600; }
.pc-blue { background: #2b8fd8; } .pc-green { background: #2fa36b; } .pc-orange { background: #e08a2c; }
.pc-pink { background: #d4558f; } .pc-purple { background: #7a5ad6; } .pc-teal { background: #1fa3a3; }
.kidch fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 8px 12px; }
.kidch legend { color: var(--muted); padding: 0 6px; }
.kidch .chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 4px 14px 4px 0; }
select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg);
         color: var(--text); font: inherit; }

/* ---------- v3: logos, sections, favourites, grid, search, profiles, reminders ---------- */
.lg { flex: none; width: 46px; height: 30px; border-radius: 6px; background: #fff; display: inline-flex; align-items: center;
      justify-content: center; overflow: hidden; padding: 2px 4px; }
.lg img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.lg.nolg { background: var(--panel2); color: var(--muted); font-size: .8rem; font-weight: 700; }
.lg.big { width: 110px; height: 66px; border-radius: 10px; padding: 6px 10px; }
.tv .list li.sec { padding: 12px 12px 4px; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
                   text-transform: uppercase; }
.tv .list li.empty { padding: 14px; }
.tv .list li button .num { min-width: 1.8em; }
.star { margin-left: auto; color: var(--line); font-size: 1.1rem; padding: 0 4px; cursor: pointer; }
.star.on { color: #f3c623; }
.star:hover { color: #f3c623; }
.webbar { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid var(--line); align-items: center; }
.webbar input { flex: 1; border-radius: 8px !important; border: 1px solid var(--line) !important; padding: 8px 10px; }
.tool { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
        font: inherit; cursor: pointer; }
.tool:hover { border-color: var(--accent); }
.pbadge { width: 36px; height: 36px; border-radius: 50%; border: 0; color: #fff; font-weight: 800; cursor: pointer;
          background: var(--panel2); flex: none; }
.list-hint { display: none; }
.now-logo:empty { display: none; }
.bell { margin-left: 6px; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 6; background: rgba(11, 15, 20, .97);
         display: flex; flex-direction: column; padding: 24px 28px; overflow: hidden; }
.panel[hidden] { display: none; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.grow { flex: 1; }
.grid-times { position: relative; height: 22px; margin-left: 220px; color: var(--muted); font-size: .85rem; }
.grid-times .gt { position: absolute; top: 0; transform: translateX(-2px); border-left: 1px solid var(--line); padding-left: 4px; }
.grid-body { flex: 1; overflow-y: auto; border-top: 1px solid var(--line); }
.grow-row { display: flex; border-bottom: 1px solid var(--line); min-height: 52px; }
.gh { width: 220px; flex: none; display: flex; gap: 10px; align-items: center; padding: 6px 10px 6px 0; }
.gn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.gtrack { position: relative; flex: 1; }
.gb { position: absolute; top: 4px; bottom: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px;
      color: var(--text); font: inherit; text-align: left; padding: 3px 8px; overflow: hidden; cursor: pointer;
      display: flex; flex-direction: column; justify-content: center; }
.gb .gbt { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb .gbm { font-size: .75rem; color: var(--muted); }
.gb.live { background: rgba(63, 169, 245, .16); border-color: rgba(63, 169, 245, .5); }
.gb.past { opacity: .55; }
.gb:hover, .gb:focus { background: var(--accent2); color: #fff; outline: none; }
.gb:focus .gbm, .gb:hover .gbm { color: #e6f2fd; }
.gnow { position: absolute; top: 0; bottom: 0; width: 2px; background: #ef5b5b; pointer-events: none; }
#sq { max-width: 760px; margin-bottom: 14px; }
.results { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-width: 960px; }
.results li button { display: flex; gap: 14px; align-items: center; width: 100%; background: none; border: 0;
                     border-bottom: 1px solid var(--line); color: var(--text); font: inherit; text-align: left;
                     padding: 10px 6px; cursor: pointer; }
.results li button:hover, .results li button:focus { background: var(--panel2); outline: none; }
.results .t { width: 58px; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.results .cn { display: flex; flex-direction: column; min-width: 0; }
.results .ep { color: var(--muted); }
/* "Ki néz?": large square avatars, the focused one grows with a white frame (like the streaming services) */
.chooser { align-items: center; justify-content: center; text-align: center; background: #0b0f14; }
.chooser h1 { font-size: 2.6rem; font-weight: 600; margin-bottom: 36px; }
.chooser .profiles { justify-content: center; }
.chooser .profiles .pcard { margin: 0 14px; }        /* margins: older TV browsers have no flex gap */
.chooser .pcard { background: none; border: 0; font: inherit; cursor: pointer; width: 150px; padding: 0; }
.chooser .pavatar { position: relative; width: 140px; height: 140px; border-radius: 10%; font-size: 64px;
                    border: 4px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.chooser .pcard .pname { margin-top: 12px; color: var(--muted); font-weight: 500; transition: color .15s ease; }
.chooser .pcard:hover .pavatar, .chooser .pcard:focus .pavatar { border-color: #fff; transform: scale(1.08); }
.chooser .pcard:hover .pname, .chooser .pcard:focus .pname { color: #fff; }
.chooser .pcard:focus { background: none; outline: none; }
.chooser .pcard.cur .pname { color: var(--text); }
.pkids { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 11px; font-weight: 800;
         letter-spacing: .08em; background: rgba(0, 0, 0, .45); border-radius: 4px; padding: 2px 6px; }
.plock { font-size: .85em; }
.chooser-foot { margin-top: 44px; }
.chooser-foot[hidden], .chooser-main[hidden] { display: none; }
.ghostbtn { display: inline-block; border: 2px solid var(--muted); color: var(--muted); padding: 8px 24px;
            letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; }
.ghostbtn:hover, .ghostbtn:focus { border-color: #fff; color: #fff; text-decoration: none; outline: none; }
.pinbox { display: flex; flex-direction: column; align-items: center; }
.pinbox[hidden] { display: none; }
.pin-av { display: flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.pin-av .pname { margin-top: 8px; }
.pin-av .pavatar { width: 96px; height: 96px; border-radius: 10%; font-size: 44px; position: relative; }
.pinbox h2 { font-size: 1.5rem; font-weight: 500; margin: 0 0 18px; }
.pindots { display: flex; margin-bottom: 26px; }
.pindots span + span { margin-left: 18px; }
.pindots span { width: 56px; height: 64px; border: 2px solid var(--muted); border-radius: 8px; position: relative; }
.pindots span.on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
                          border-radius: 50%; background: #fff; }
.pindots.shake { animation: pinshake .35s; }
@keyframes pinshake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pinpad { display: flex; flex-wrap: wrap; width: 282px; }        /* no CSS grid: webOS 4 is Chromium 53 */
.pinpad button { width: 84px; margin: 5px; height: 64px; font: inherit; font-size: 1.6rem; color: var(--text); background: var(--panel2);
                 border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pinpad button.pk-x { font-size: 1rem; color: var(--muted); }
.pinpad button:hover, .pinpad button:focus { background: var(--accent2); color: #fff; outline: none; }
.pin-note { max-width: 520px; margin-top: 22px; }
/* the remote's keys in the TV banner */
.now-keys { display: none; }
.tvmode .tvpage .now-keys { display: block; margin: 14px 0 0; font-size: 19px; color: var(--muted); }
.now-keys span { display: inline-block; margin: 0 22px 6px 0; }
.now-keys b { color: var(--text); margin-right: 6px; }
.key { display: inline-block; width: 18px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; }
.kr { background: #e2423b; } .kg { background: #2fa36b; } .ky { background: #f3c623; } .kb { background: #2b8fd8; }
/* legal texts: the public page and the panel in the TV apps */
.legal-body { line-height: 1.6; }
.legal-body h2, .legal-body h3 { margin: 1.4em 0 .5em; }
/* sized to the text around them (the page's h2 is a small fixed size, smaller than the TV's 26px body text) */
.legal-body h1 { font-size: 1.6em; }
.legal-body h2 { font-size: 1.3em; }
.legal-body h3 { font-size: 1.1em; }
.legal-body table { border-collapse: collapse; margin: 12px 0; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.legal-scroll { flex: 1; overflow-y: auto; max-width: 1100px; padding-right: 16px; }
.tvmode .legal-scroll { font-size: 26px; }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 10; background: var(--panel);
         border: 1px solid var(--accent); border-radius: 12px; padding: 12px 22px; max-width: 80vw; }
.toast[hidden] { display: none; }
.tv-dialog .actions { justify-content: center; margin-top: 16px; }
.tv-dialog .q { white-space: pre-line; }
/* TV mode sizes */
.tvmode .webbar { display: none; }
.tvmode .list-hint { display: block; padding: 10px 16px; color: var(--muted); font-size: 18px; border-top: 1px solid var(--line); }
.tvmode .tvpage .lg { width: 70px; height: 44px; }
.tvmode .tvpage .list li.sec { font-size: 18px; padding: 16px 16px 6px; }
.tvmode .tvpage .star { font-size: 26px; }
.tvmode .tvpage .now-logo { display: block; }
.tvmode .panel { padding: 48px 64px; font-size: 24px; }
.tvmode .panel-head .tool { display: none; }
.tvmode .panel-head h2 { font-size: 36px; }
.tvmode .grid-times { margin-left: 300px; font-size: 20px; height: 30px; }
.tvmode .gh { width: 300px; }
.tvmode .gn { font-size: 22px; }
.tvmode .grow-row { min-height: 74px; }
.tvmode .gb .gbt { font-size: 21px; }
.tvmode .gb .gbm { font-size: 17px; }
.tvmode .results li button { font-size: 24px; padding: 14px 8px; }
.tvmode .results .t { width: 90px; }
.tvmode #sq { font-size: 28px; padding: 14px 18px; }
.tvmode .chooser h1 { font-size: 64px; margin-bottom: 56px; }
.tvmode .chooser .profiles .pcard { margin: 0 22px; }
.tvmode .chooser .pcard { width: 240px; font-size: 30px; }
.tvmode .chooser .pavatar { width: 220px; height: 220px; font-size: 100px; border-width: 6px; }
.tvmode .pkids { font-size: 18px; bottom: 14px; }
.tvmode .ghostbtn { font-size: 22px; padding: 12px 34px; }
.tvmode .pinbox h2 { font-size: 40px; }
.tvmode .pin-av .pavatar { width: 140px; height: 140px; font-size: 64px; }
.tvmode .pin-av .pname { font-size: 28px; }
.tvmode .pindots span { width: 80px; height: 92px; }
.tvmode .pindots span + span { margin-left: 24px; }
.tvmode .pinpad { width: 402px; }
.tvmode .pinpad button { width: 120px; margin: 7px; height: 84px; font-size: 40px; }
.tvmode .pinpad button.pk-x { font-size: 24px; }
.tvmode .pin-note { font-size: 20px; }
.tvmode .toast { font-size: 26px; padding: 18px 30px; }

/* the Android app: offer bar on an Android phone, the app page */
.appbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 auto; padding: 10px 16px;
  background: linear-gradient(90deg, rgba(43, 143, 216, .22), rgba(43, 143, 216, .08)); border-bottom: 1px solid var(--line); }
.appbar-ic { font-size: 1.6rem; }
.appbar-t { flex: 1 1 220px; font-size: .95rem; }
.appbar .btn { padding: 8px 16px; }
.appbar-x { background: transparent; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; }
.appcard-old { padding: 10px 14px; border-radius: 8px; background: var(--panel2); border-left: 4px solid var(--warn); }
.appcard-head { display: flex; gap: 14px; align-items: center; }
.appcard-head h2 { margin: 0 0 4px; }
.appcard-ic { font-size: 2.6rem; }
.btn.big { font-size: 1.1rem; padding: 14px 26px; }
.appcard-qr { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.appcard-qr .qr svg { display: block; width: 150px; height: 150px; border-radius: 8px; }
.appcard-qr p { flex: 1 1 240px; margin: 0; }
.steps { padding-left: 1.3em; line-height: 1.55; }
.steps li { margin-bottom: 8px; }
.prewrap { white-space: pre-line; }
ul.plain { padding-left: 1.1em; line-height: 1.6; }

/* profile pictures */
.pavatar { overflow: hidden; }
.pavatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pavatar .pemoji { font-size: 1.15em; line-height: 1; }
.pavatar.big { width: 84px; height: 84px; font-size: 2.2rem; flex: none; }
.avpick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.emojis { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.emojis button { font-size: 1.5rem; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel2); cursor: pointer; }
.emojis button.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }

/* spam trap of the public forms: out of sight for people, still in the page for bots */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
input[type=date] { color-scheme: dark; max-width: 220px; }

/* TV apps: language buttons (login screens, the menu's Nyelv panel) */
.tvl-langs { text-align: center; margin-top: 30px; }
.tvl-langs button { font: inherit; font-size: 22px; color: var(--muted); background: none; border: 2px solid transparent;
                    border-radius: 10px; padding: 8px 18px; margin: 0 6px; cursor: pointer; }
.tvl-langs button.cur { color: var(--text); }
.tvl-langs button:hover, .tvl-langs button:focus { border-color: #fff; color: #fff; outline: none; }
#langpanel .tvl-langs button { font-size: 34px; padding: 18px 34px; margin: 10px; border-color: var(--line); }
#langpanel .tvl-langs button:focus { border-color: #fff; background: var(--accent2); }
/* TV apps: sign in with e-mail and password (an app screen, not the website's form) */
.tvl-email { align-items: flex-start; gap: 0; }
.tvl-form { flex: 1.2; }
.tvl-form h1 { font-size: 46px; margin: 0 0 30px; }
.tvl-f { display: block; margin-bottom: 22px; }
.tvl-f span { display: block; font-size: 24px; color: var(--muted); margin-bottom: 8px; }
.tvl-f input { width: 100%; font-size: 32px; padding: 18px 20px; border-radius: 12px; border: 2px solid var(--line);
               background: var(--bg); color: var(--text); }
.tvl-f input:focus { border-color: var(--accent); outline: none; }
.tvl-err { color: var(--bad); font-size: 24px; margin: -8px 0 18px; }
.tvl-go { font-size: 30px; padding: 18px 60px; margin-top: 8px; }
.tvl-go:focus { outline: 3px solid #fff; outline-offset: 3px; }
.tvl-side { flex: 1; border-left: 1px solid var(--line); padding-left: 64px; margin-left: 64px; }
.tvl-side h2 { font-size: 34px; margin: 0 0 14px; }
.tvl-side p { font-size: 24px; }
.tvl-side .ghostbtn { margin: 18px 0 30px; font-size: 22px; padding: 12px 30px; }
.tvl-forgot { font-size: 21px !important; }

/* parental control: the week on the profile page, the open requests on the profiles page */
table.sched { border-collapse: collapse; margin: 6px 0 12px; }
table.sched td { padding: 4px 12px 4px 0; }
table.sched input[type=time] { width: auto; padding: 6px 8px; }
.reqs { border-color: var(--warn); }
.req + .req { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.req-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* parental control on the TV: the time is up */
#parentalpanel .pp-icon { font-size: 80px; margin-bottom: 10px; }
#parentalpanel .pp-text, #parentalpanel .pp-wait { font-size: 1.2rem; color: var(--muted); margin: 0 0 18px; }
#parentalpanel .pp-wait { color: var(--warn); }
#parentalpanel .pp-wait[hidden], #parentalpanel .ppbtn[hidden] { display: none; }
.ppbtn { font: inherit; font-size: 1.1rem; color: var(--text); background: var(--panel2); border: 2px solid var(--line);
         border-radius: 12px; padding: 12px 28px; margin: 8px; cursor: pointer; }
.ppbtn:hover, .ppbtn:focus { background: var(--accent2); border-color: #fff; color: #fff; outline: none; }
.tvmode #parentalpanel .pp-icon { font-size: 120px; }
.tvmode #parentalpanel h1 { font-size: 56px; margin-bottom: 20px; }
.tvmode #parentalpanel .pp-text, .tvmode #parentalpanel .pp-wait { font-size: 32px; }
.tvmode .ppbtn { font-size: 32px; padding: 18px 44px; margin: 12px; }

/* TV mode: the main menu (design step 2: clients/lg/proto) – top navigation, what is on now, rows.
   1920x1080; Chromium 53 first: flexbox + margins (no grid, no gap); what moves has will-change (webOS 4: ~100 ms
   per key press without), focus = colour / outline, no clipping with rounded corners on moving cards. */
.tvmode .panel.home { padding: 0; display: block; background: radial-gradient(ellipse at 25% 15%, #241a55 0%, #0b0a14 62%); }
.tvmode .panel.home[hidden] { display: none; }      /* the rule above outranks .panel[hidden]: hidden must stay hidden */
.hm-top { position: absolute; left: 0; top: 0; right: 0; height: 120px; padding: 0 64px; display: flex; align-items: center; z-index: 2; }
.hm-top .tvl-logo { margin: 0 52px 0 0; font-size: 54px; }
.hm-nav { display: flex; flex: 1; }
.hm-nav .pill { height: 60px; padding: 0 28px; margin-right: 10px; border-radius: 30px; border: 3px solid transparent; background: transparent;
                color: var(--muted); font-size: 26px; font-weight: 600; cursor: pointer; }
.hm-nav .pill.on { background: var(--panel2); color: var(--text); }
.hm-nav .pill.f { background: var(--accent2); border-color: var(--lime); color: #fff; outline: none; }
.hm-me { width: 64px; height: 64px; margin-right: 26px; padding: 0; border: 0; border-radius: 32px; background: none; cursor: pointer;
         transition: transform .15s ease; will-change: transform; }
.hm-me .pavatar { width: 64px; height: 64px; border-radius: 32px; font-size: 28px; }
.hm-me .pkids { display: none; }
.hm-me.f { transform: scale(1.1); outline: 4px solid var(--lime); outline-offset: 4px; }
.hm-top .clock { font-size: 36px; font-weight: 600; }
.hm-view { position: absolute; left: 0; top: 120px; right: 0; bottom: 0; overflow: hidden; }
.hm-stage { will-change: transform; }        /* jumps (no transition): on webOS 4 the animated slide of the whole stage cost ~10 ms more per key */
.hm-hello { margin: 6px 64px 18px; font-size: 30px; font-weight: 600; color: var(--muted); }
.hm-hello b { color: var(--text); font-weight: 800; }
/* the hero: the last watched channel, now */
.hm-hero { position: relative; margin: 0 64px; height: 400px; border-radius: 28px; background: linear-gradient(90deg, #241a55 0%, #151226 70%); overflow: hidden; }
.hm-hero[hidden] { display: none; }
.hm-hero .h-text { position: absolute; left: 56px; top: 40px; width: 1200px; }
.hbadge { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--lime); color: #14121f; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.hm-hero .h-ch { display: flex; align-items: center; margin: 20px 0 4px; font-size: 26px; font-weight: 600; color: var(--muted); }
.hplate { display: inline-flex; align-items: center; height: 48px; padding: 0 12px; margin-right: 16px; border-radius: 12px; background: #f2f4f8; }
.hplate img { height: 36px; max-width: 120px; }
.hplate .hnum { color: #14121f; font-weight: 800; }
.hm-hero .h-title { font-size: 64px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; margin: 6px 0 12px; max-height: 140px; overflow: hidden; }
.hm-hero .h-meta { font-size: 24px; color: var(--muted); margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hbar span { display: block; height: 8px; background: var(--accent); }
.hm-hero .hbar { width: 520px; margin-bottom: 28px; }
.hm-hero .btn { height: 64px; padding: 0 34px; margin-right: 16px; border-radius: 32px; border: 3px solid var(--line); background: var(--panel);
                color: var(--text); font-size: 26px; font-weight: 800; cursor: pointer; transition: transform .15s ease; will-change: transform; }
.hm-hero .btn.f { background: var(--accent2); border-color: var(--lime); color: #fff; transform: scale(1.06); outline: none; }
.hm-hero .h-art { position: absolute; right: 64px; top: 40px; width: 214px; height: 320px; border-radius: 18px; }
/* rows */
.hrail { margin: 38px 0 0; }
.hrail h2 { margin: 0 64px 14px; font-size: 32px; font-weight: 800; }
.hrail h2 small { margin-left: 14px; font-size: 22px; font-weight: 600; color: var(--muted); }
.hwin { overflow: hidden; padding: 14px 0 18px 64px; }
.htrack { white-space: nowrap; transition: transform .2s ease; will-change: transform; }
.hcard { display: inline-block; vertical-align: top; white-space: normal; margin-right: 26px; padding: 0; border: 0; background: none;
         color: var(--text); font-family: inherit; text-align: left; cursor: pointer; transition: transform .15s ease; will-change: transform; }
.hcard.f { transform: scale(1.06); outline: none; }
.hfr { position: relative; display: block; border-radius: 18px; background: var(--panel2); }
.hcard.f .hfr { outline: 4px solid var(--accent); outline-offset: 2px; }
/* on now: a channel card */
.hch { width: 360px; }
.hch .hfr { height: 196px; }
.hch .hplate { position: absolute; left: 20px; top: 18px; margin: 0; }
.hch > .hfr > .hnum { position: absolute; right: 20px; top: 24px; font-size: 22px; font-weight: 800; color: var(--muted); }
.hch .ht { position: absolute; left: 22px; right: 22px; top: 82px; height: 62px; overflow: hidden; font-size: 26px; font-weight: 800; line-height: 1.2; }
.hch .hbar { position: absolute; left: 22px; right: 22px; bottom: 36px; }
.hch .hs { position: absolute; left: 22px; right: 22px; bottom: 8px; font-size: 18px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* posters: films on TV, the library */
.hpo { width: 196px; }
.hpo .hfr { width: 188px; height: 282px; }
.hpo img { display: block; width: 188px; height: 282px; border-radius: 18px; }
.hpo .hbadge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; font-size: 18px; }
.hpo .ht { display: block; height: 54px; margin-top: 12px; overflow: hidden; font-size: 22px; font-weight: 800; line-height: 1.2; }
.hpo .hs { display: block; font-size: 18px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-note { margin: 4px 64px 40px; font-size: 16px; color: var(--muted); }
.hvd { width: 328px; }
.hvd .hfr { width: 320px; height: 180px; }
.hvd img { width: 320px; height: 180px; object-fit: cover; }
/* the video library */
.vod-rows { flex: 1; overflow: hidden; }
.vrow { margin-bottom: 26px; }
.vrow h3 { font-size: 30px; margin: 0 0 12px; }
.vcards { white-space: nowrap; overflow: hidden; padding: 16px; }   /* room for the focused card (scale 1.06) */
.vcard { display: inline-block; vertical-align: top; width: 384px; margin-right: 26px; padding: 0; background: none;
         border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; white-space: normal; }
.vcard .vimg { position: relative; display: block; width: 384px; height: 216px; border-radius: 12px; overflow: hidden;
               background: var(--panel2); border: 4px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.vcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard .vnoimg { display: block; padding: 70px 16px 0; text-align: center; font-size: 26px; color: var(--muted); }
.vcard .vprog { position: absolute; left: 0; bottom: 0; height: 6px; background: var(--bad); }
.vcard .vt { display: block; font-size: 24px; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.vcard:focus { outline: none; }
.vcard:focus .vimg, .vcard:hover .vimg { border-color: #fff; transform: scale(1.06); }
.vcard:focus .vt { color: #fff; }
.vod-empty { font-size: 30px; color: var(--muted); margin-top: 80px; text-align: center; }
/* a film's page */
.voddetail { padding: 0 !important; }
.vd-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; }
.vd-bg::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
                background: linear-gradient(90deg, rgba(11, 15, 20, .97) 0%, rgba(11, 15, 20, .85) 45%, rgba(11, 15, 20, .2) 100%); }
.vd-main { position: relative; width: 980px; padding: 120px 0 0 96px; }
.vd-main h1 { font-size: 64px; margin: 0 0 16px; }
.vd-meta { font-size: 26px; color: var(--muted); margin: 0 0 22px; }
.vd-desc { font-size: 26px; line-height: 1.5; margin: 0 0 34px; max-height: 7.5em; overflow: hidden; }
.vd-actions .ppbtn { margin: 0 18px 0 0; }
.vd-eps { margin-top: 30px; max-height: 360px; overflow: hidden; }
.vd-eps button { display: block; width: 100%; text-align: left; font: inherit; font-size: 26px; color: var(--text);
                 background: rgba(24, 33, 44, .8); border: 2px solid transparent; border-radius: 10px; padding: 12px 18px;
                 margin-bottom: 8px; cursor: pointer; }
.vd-eps button:focus, .vd-eps button:hover { border-color: #fff; background: var(--accent2); outline: none; }
/* the film player's bar */
.vodbar { position: fixed; left: 48px; right: 48px; bottom: 48px; z-index: 5; padding: 26px 34px; border-radius: 18px;
          background: linear-gradient(180deg, rgba(18, 25, 34, .88), rgba(11, 15, 20, .97)); }
.vodbar[hidden] { display: none; }
.vb-title { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.vodbar .prog { height: 8px; }
.vb-time { display: flex; margin-top: 12px; font-size: 24px; color: var(--muted); }
.vb-time #vbtime { flex: 1; font-variant-numeric: tabular-nums; }
.vb-keys { font-size: 20px; }
/* the video library on the web (mouse, touch): smaller cards, rows that scroll, a page that fits a phone */
html:not(.tvmode) .vodpanel, html:not(.tvmode) .voddetail { overflow-y: auto; }
html:not(.tvmode) .vod-rows { overflow-y: auto; }
html:not(.tvmode) .vrow h3 { font-size: 1.15rem; }
html:not(.tvmode) .vcards { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px 4px 12px; }
html:not(.tvmode) .vcard { width: 240px; margin-right: 16px; }
html:not(.tvmode) .vcard .vimg { width: 240px; height: 135px; }
html:not(.tvmode) .vcard .vnoimg { padding-top: 44px; font-size: 1rem; }
html:not(.tvmode) .vcard .vt { font-size: .95rem; }
html:not(.tvmode) .vod-empty { font-size: 1.1rem; }
html:not(.tvmode) .vd-main { width: auto; max-width: 860px; padding: 70px 24px 24px; }
html:not(.tvmode) .vd-main h1 { font-size: 2.2rem; }
html:not(.tvmode) .vd-meta, html:not(.tvmode) .vd-desc { font-size: 1rem; }
html:not(.tvmode) .vd-desc { max-height: none; }
html:not(.tvmode) .vd-eps { max-height: none; }
html:not(.tvmode) .vd-eps button { font-size: 1rem; }
html:not(.tvmode) .vd-actions .ppbtn { margin: 0 10px 10px 0; }
.vd-close { position: absolute; top: 20px; left: 20px; z-index: 2; }
.tvmode .vd-close { display: none; }
.vodback { position: absolute; top: 10px; left: 10px; z-index: 3; background: rgba(11, 15, 20, .8); }
.vodback[hidden] { display: none; }
@media (max-width: 640px) {
  html:not(.tvmode) .vcard { width: 180px; }
  html:not(.tvmode) .vcard .vimg { width: 180px; height: 101px; }
  html:not(.tvmode) .vd-main h1 { font-size: 1.6rem; }
}

/* "Filmek a tévében": film picks with TMDB posters (home page; TV mode main menu) – plain row, no effects (TVs) */
.picks { display: flex; overflow-x: auto; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.pick { flex: 0 0 154px; width: 154px; margin-right: 14px; color: var(--text); text-decoration: none; }
.pick img { display: block; width: 154px; height: 231px; border-radius: 8px; background: var(--panel2); object-fit: cover; }
.pick-t { display: block; margin-top: 6px; font-weight: 600; font-size: .9rem; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.pick-w { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-w.live { color: var(--ok); }
.pick:hover img, .pick:focus img { outline: 3px solid #fff; outline-offset: 2px; }
.tmdb-note { margin: 6px 0 0; }

/* ===================== TV design, step 1 (TV mode only: LG / Samsung apps, a TV's browser) =====================
   Violet + lime on near-black, Plus Jakarta Sans (OFL, fonts/), the dark logo (brand/), one focus language.
   Cheap on old TVs (clients/lg/proto/README.md, measured on webOS 4): what moves gets its own layer
   (will-change: transform), focus is a colour / outline change, no blur, no soft shadows. */
@font-face { font-family: 'PJS'; font-weight: 400; src: url(fonts/pjs-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'PJS'; font-weight: 400; src: url(fonts/pjs-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: 'PJS'; font-weight: 600; src: url(fonts/pjs-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'PJS'; font-weight: 600; src: url(fonts/pjs-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: 'PJS'; font-weight: 800; src: url(fonts/pjs-latin-ext-800.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'PJS'; font-weight: 800; src: url(fonts/pjs-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
html.tvmode { --bg: #0b0a14; --panel: #151226; --panel2: #1c1832; --line: #2c2650; --text: #f4f2ff; --muted: #a39fc0;
              --accent: #8b6cff; --accent2: #7a5af5; --lime: #c6ff3d; --ok: #c6ff3d; }
.tvmode body, .tvmode button, .tvmode input { font-family: 'PJS', 'LG Smart UI', system-ui, sans-serif; }
.tvmode h1, .tvmode h2, .tvmode h3, .tvmode .hname, .tvmode .pname { font-weight: 800; letter-spacing: -.5px; }
/* the logo: the dark SVG at the height of the old text logo */
.tvl-logo img { display: block; height: 1.05em; width: auto; }
.tvl-logo span { color: var(--accent); }
/* one focus language: filled things turn violet with a lime ring, pictures get a violet ring; what scales has a layer */
.tvmode :focus { outline: 3px solid var(--lime); outline-offset: 2px; }
.tvmode .vcard .vimg, .tvmode .chooser .pcard .pavatar { will-change: transform; }
.tvmode .vcard:focus .vimg, .tvmode .vcard:hover .vimg { border-color: var(--accent); }
.tvmode .chooser .pcard:focus .pavatar, .tvmode .chooser .pcard:hover .pavatar { border-color: var(--lime); }
.tvmode .ghostbtn:focus, .tvmode .ghostbtn:hover, .tvmode .tvl-langs button:focus { border-color: var(--lime); }
.tvmode .ghostbtn { border-radius: 30px; }
.tvmode .tvl-go:focus { outline-color: var(--lime); }
.tvmode .ppbtn, .tvmode .vd-eps button { border-radius: 26px; }

/* ===================== TV design, steps 3–4 (TV mode): live picture, channel list, Műsor "Most / Utána",
   Beállítások as a side panel, Filmtár, the film's page, "Ki néz?", sign-in. Same rules: flat colours, outlines,
   will-change only on what moves, no blur / soft shadows. ===================== */
/* live: the "now / next" bar at the bottom */
.tvmode .tvpage .now-card { left: 64px; right: 64px; bottom: 48px; padding: 26px 34px; border: 0; border-radius: 28px;
                            background: linear-gradient(90deg, rgba(36, 26, 85, .97) 0%, rgba(21, 18, 38, .97) 70%); }
.tvmode .tvpage .now-num { color: var(--lime); font-size: 60px; }
.tvmode .tvpage .now-logo { background: #f2f4f8; border-radius: 14px; padding: 6px 12px; }
.tvmode .tvpage .now-logo:empty { display: none; }
.tvmode .tvpage .now-ch { font-size: 24px; font-weight: 600; color: var(--muted); }
.tvmode .tvpage .now-title { font-size: 44px; font-weight: 800; letter-spacing: -.5px; }
.tvmode .tvpage .now-card .prog { height: 8px; border-radius: 4px; background: var(--line); }
.tvmode .tvpage .now-card .prog span { background: var(--accent); border-radius: 4px; }
.tvmode .tvpage .now-keys span { border-radius: 10px; }
/* spacing with margins: flex gap needs Chromium 84, webOS 4/5 have 53/68 (the clock touched "még 27 perc") */
.tvmode .tvpage .tv.show-info .now-card:not([hidden]), .tvmode .tvpage .now-head { gap: 0; }
.tvmode .tvpage .now-num { margin-right: 22px; }
.tvmode .tvpage .now-logo { margin-right: 28px; padding: 0; background: none; }
.tvmode .tvpage .now-logo .lg.nolg { display: none; }   /* a missing / broken logo: the big number is already there */
.tvmode .tvpage .now-time { margin-left: 24px; }
.tvmode .tvpage .now-clock { margin-left: 28px; }
/* the bar's logo at its own size: the channel list's .lg (70×44) made it tiny inside the plate */
.tvmode .tvpage .now-logo .lg.big { width: 150px; height: 84px; padding: 8px 12px; border-radius: 14px; background: #f2f4f8; }
/* the channel list on the left of the picture */
.tvmode .tvpage .list { left: 48px; top: 48px; bottom: 48px; width: 640px; border: 0; border-radius: 28px; background: rgba(21, 18, 38, .97); }
.tvmode .tvpage .list-head { font-weight: 800; border-bottom-color: var(--line); }
.tvmode .tvpage .list li button { border-radius: 16px; }
.tvmode .tvpage .list li button:focus { background: var(--accent2); outline: 3px solid var(--lime); outline-offset: -3px; }
.tvmode .tvpage .tv.show-browse .guide:not([hidden]) { border-radius: 28px; background: rgba(21, 18, 38, .97); }
/* dialogs, toasts */
.tvmode .tv-dialog .box { border-radius: 28px; border-color: var(--accent); }
.tvmode .tv-dialog .q { font-weight: 800; }
/* Beállítások: a panel from the right over the picture / the main menu (the account above the actions) */
.tvmode .tv-menu { justify-content: flex-end; align-items: stretch; background: rgba(5, 4, 12, .55); }
.tvmode #tvmenu .tvm-box { display: block; width: 760px; max-width: none; max-height: none; height: 100%; border: 0; border-radius: 0;
                           padding: 56px 56px 40px; background: var(--panel); overflow: hidden; }
.tvmode #tvmenu .tvm-head { margin-bottom: 18px; }
.tvmode #tvmenu .tvm-head .tvl-logo { font-size: 44px; }
.tvmode #tvmenu .tvm-sub, .tvmode #tvmenu .tvm-items { width: auto; margin: 0; }
.tvmode #tvmenu .tvm-name { font-size: 34px; font-weight: 800; }
.tvmode #tvmenu .tvm-sub { font-size: 22px; }
.tvmode #tvmenu .tvm-sub dl { margin: 16px 0 6px; }
.tvmode #tvmenu .tvm-items { margin-top: 26px; }
.tvmode #tvmenu .tvm-items li + li { margin-top: 8px; }
.tvmode #tvmenu .tvm-items button { font-size: 28px; font-weight: 600; padding: 16px 26px; border: 0; border-radius: 20px; background: var(--panel2); }
.tvmode #tvmenu .tvm-items button:focus { background: var(--accent2); outline: 3px solid var(--lime); outline-offset: 0; }
.tvmode #tvmenu .tvm-items button[data-act="exit"] { color: #ff8a80; }
.tvmode #tvmenu .tvm-items button[data-act="exit"]:focus { color: #fff; }
.tvmode #tvmenu .tvm-tip { font-size: 20px; }
/* Műsor: now and next per channel (tv.js "Most / Utána") */
.tvmode .panel.nowlist { padding: 48px 64px 34px; background: var(--bg); }
.nl-cols { display: flex; padding: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--muted); letter-spacing: .5px; }
.nl-cols span:first-child { width: 360px; }
.nl-cols span + span { flex: 1; }
.nl-view { position: relative; flex: 1; overflow: hidden; }
.nl-row { display: flex; align-items: stretch; height: 104px; margin-bottom: 10px; }
.nl-ch { display: flex; align-items: center; width: 360px; padding-right: 18px; font-size: 24px; font-weight: 600; }
.nl-ch .hplate { flex: none; }
.nl-ch .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nl-cell { position: relative; flex: 1; margin-right: 14px; padding: 12px 20px; border: 0; border-radius: 18px; background: var(--panel);
           color: var(--text); font-family: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.nl-cell .t { display: block; font-size: 26px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nl-cell .w { display: block; margin-top: 4px; font-size: 20px; color: var(--muted); }
.nl-cell .hbar { position: absolute; left: 20px; right: 20px; bottom: 10px; height: 6px; }
.nl-cell.empty { cursor: default; }
.nl-cell:focus { background: var(--accent2); outline: 3px solid var(--lime); outline-offset: 0; }
.nl-cell:focus .w { color: #e9e4ff; }
/* Filmtár: 16:9 cards (the library's pictures are video frames), the rows as on the main menu */
.tvmode .vodpanel { background: var(--bg); }
.tvmode .vrow h3 { font-size: 32px; font-weight: 800; }
.tvmode .vcard { width: 400px; }
.tvmode .vcard .vimg { width: 384px; height: 216px; border: 0; border-radius: 18px; }
.tvmode .vcard:focus .vimg, .tvmode .vcard:hover .vimg { outline: 4px solid var(--accent); outline-offset: 2px; }
.tvmode .vcard:focus { outline: none; }   /* one ring, on the picture (as the main menu's cards) – not a lime one too */
.tvmode .vcard .vt { font-size: 24px; font-weight: 800; }
.tvmode .vcard .vprog { background: var(--lime); }
/* the film's page */
.tvmode .vd-main h1 { font-size: 72px; font-weight: 800; letter-spacing: -1px; }
.tvmode .vd-actions .ppbtn { height: 68px; padding: 0 40px; border: 3px solid var(--line); background: var(--panel); font-weight: 800; }
.tvmode .vd-actions .ppbtn:focus { background: var(--accent2); border-color: var(--lime); outline: none; }
.tvmode .vd-eps button { border-radius: 18px; }
.tvmode .vd-eps button:focus { border-color: var(--lime); background: var(--accent2); }
/* "Ki néz?": big round avatars */
.tvmode .chooser { background: var(--bg); }
.tvmode .chooser h1 { font-size: 64px; font-weight: 800; letter-spacing: -1px; margin-bottom: 64px; }
.tvmode .chooser .pcard { width: 240px; }
.tvmode .chooser .profiles .pcard { margin: 0 24px; }
.tvmode .chooser .pavatar { width: 210px; height: 210px; border-radius: 50%; border: 0; font-size: 92px; font-weight: 800; }
.tvmode .chooser .pcard:focus .pavatar, .tvmode .chooser .pcard:hover .pavatar { outline: 6px solid #fff; outline-offset: 6px; }
.tvmode .chooser .pcard .pname { margin-top: 22px; font-size: 32px; font-weight: 600; }
.tvmode .chooser .pkids { bottom: -16px; padding: 4px 12px; border-radius: 10px; background: var(--lime); color: #14121f; font-size: 16px; }
/* sign-in */
.tvmode .tvl-box { border: 0; border-radius: 28px; background: var(--panel); }
.tvmode .tvl-go { border-radius: 32px; padding: 18px 60px; background: var(--accent2); font-weight: 800; }
.tvmode .tvl-qr { border-radius: 22px; }
.tvmode .tvl-code { color: var(--lime); }

/* ===================== Web design, step 1 (the website, not TV mode): the LG app's look on the web =====================
   Same brand as the TV (violet + lime on near-black, Plus Jakarta Sans – @font-face above – and the SVG logo), pill
   buttons and navigation, rounder cards. Scoped to html:not(.tvmode) so the TV screens keep their own tuned rules. */
html:not(.tvmode) { --bg: #0b0a14; --panel: #151226; --panel2: #1c1832; --line: #2c2650; --text: #f4f2ff; --muted: #a39fc0;
                    --accent: #8b6cff; --accent2: #7a5af5; --lime: #c6ff3d; --ok: #c6ff3d; --radius: 18px; }
html:not(.tvmode) body, html:not(.tvmode) button, html:not(.tvmode) input, html:not(.tvmode) select,
html:not(.tvmode) textarea { font-family: 'PJS', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html:not(.tvmode) h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; }
html:not(.tvmode) h2 { font-weight: 800; letter-spacing: -.2px; }
html:not(.tvmode) a { color: #b9a8ff; }
html:not(.tvmode) :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
html:not(.tvmode) input:focus, html:not(.tvmode) select:focus, html:not(.tvmode) textarea:focus { outline: 2px solid var(--accent); }
html:not(.tvmode) input[type=text], html:not(.tvmode) input[type=email], html:not(.tvmode) input[type=password],
html:not(.tvmode) input[type=tel], html:not(.tvmode) input[type=search], html:not(.tvmode) input[type=date],
html:not(.tvmode) select, html:not(.tvmode) textarea { border-radius: 12px; padding: 11px 14px; background: #100e1c; }
/* header: the logo, pill navigation; the page you are on is the light pill (as on the TV's main menu) */
html:not(.tvmode) header.top { background: rgba(11, 10, 20, .92); padding: 14px 28px; gap: 10px 20px; }
html:not(.tvmode) .logo img { display: block; height: 30px; width: auto; }
html:not(.tvmode) nav.main { gap: 6px; }
html:not(.tvmode) nav.main a, html:not(.tvmode) nav.main button { border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--muted); }
html:not(.tvmode) nav.main a:hover, html:not(.tvmode) nav.main button:hover { background: var(--panel2); color: var(--text); }
html:not(.tvmode) nav.main a.on { background: var(--text); color: var(--bg); }
/* buttons, cards, badges, messages */
html:not(.tvmode) .btn, html:not(.tvmode) button.btn { border-radius: 999px; padding: 11px 24px; font-weight: 800; background: var(--accent2); color: #fff; }
html:not(.tvmode) .btn:hover { background: var(--accent); }
html:not(.tvmode) .btn.ghost { background: transparent; border: 1px solid #4a4370; color: var(--text); }
html:not(.tvmode) .btn.ghost:hover { background: var(--panel2); }
html:not(.tvmode) .btn.lime { background: var(--lime); color: #12101e; }
html:not(.tvmode) .card { border-radius: var(--radius); padding: 24px; }
html:not(.tvmode) .badge.ok { background: rgba(198, 255, 61, .14); color: var(--lime); }
html:not(.tvmode) ul.messages li { border-radius: 12px; }
html:not(.tvmode) .radios label { border-radius: 12px; }
html:not(.tvmode) .radios label:has(input:checked) { background: rgba(139, 108, 255, .12); }
html:not(.tvmode) .appbar { border-radius: 0; }
/* the web TV's channel list (until step 2) */
html:not(.tvmode) .tv .list li button { border-radius: 12px; }
html:not(.tvmode) .tv .list li button.on { background: rgba(139, 108, 255, .24); }
html:not(.tvmode) .tv .list li button.on .ep { color: #ddd5ff; }
html:not(.tvmode) .guide .day, html:not(.tvmode) .guide li.cur .t, html:not(.tvmode) .guide li.cur .ti { color: var(--lime); }
@media (max-width: 560px) {
  html:not(.tvmode) header.top { padding: 12px 16px; }
  html:not(.tvmode) .logo img { height: 26px; }
  html:not(.tvmode) nav.main a, html:not(.tvmode) nav.main button { padding: 6px 12px; }
  html:not(.tvmode) .card { padding: 18px; }
  html:not(.tvmode) h1 { font-size: 1.6rem; }
}
html:not(.tvmode) footer.bottom a { color: var(--muted); }
html:not(.tvmode) footer.bottom a:hover { color: var(--text); }

/* ===================== Web design, step 2: the web TV starts on the TV app's main menu (tv.js "the main menu") =====
   The same panel, sized for a computer / phone: the page scrolls, the rows scroll sideways (mouse wheel, swipe),
   hovering a card lights it up. The TV-only parts (Beállítások, the remote's focus) stay on the TV. */
.webonly { display: none; }
html:not(.tvmode) .webonly { display: inline-flex; align-items: center; }
html:not(.tvmode) .tvonly { display: none; }
html:not(.tvmode) .panel.home { display: block; padding: 0; overflow-y: auto; z-index: 5; -webkit-overflow-scrolling: touch;
                                background: radial-gradient(ellipse at 20% 0%, #241a55 0%, #0b0a14 55%) var(--bg); }
html:not(.tvmode) .panel.home[hidden] { display: none; }
html:not(.tvmode) .hm-top { position: sticky; height: 72px; padding: 0 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
html:not(.tvmode) .hm-top .tvl-logo { margin: 0 28px 0 0; font-size: 30px; flex: none; }
html:not(.tvmode) .hm-nav { overflow-x: auto; scrollbar-width: none; }
html:not(.tvmode) .hm-nav::-webkit-scrollbar { display: none; }
html:not(.tvmode) .hm-nav .pill { height: 40px; padding: 0 16px; margin-right: 4px; border: 0; border-radius: 999px; font-size: 15px;
                                  font-weight: 600; color: var(--muted); flex: none; text-decoration: none; }
html:not(.tvmode) .hm-nav .pill:hover { background: var(--panel2); color: var(--text); }
html:not(.tvmode) .hm-nav .pill.on { background: var(--text); color: var(--bg); }
html:not(.tvmode) .hm-me, html:not(.tvmode) .hm-me .pavatar { width: 40px; height: 40px; border-radius: 20px; font-size: 18px; }
html:not(.tvmode) .hm-me { margin: 0 0 0 12px; flex: none; }
html:not(.tvmode) .hm-me:hover { outline: 3px solid var(--lime); outline-offset: 3px; }
html:not(.tvmode) .hm-top .clock { display: none; }
html:not(.tvmode) .hm-view { position: static; overflow: visible; }
html:not(.tvmode) .hm-stage { transform: none !important; will-change: auto; max-width: 1500px; margin: 0 auto; }
html:not(.tvmode) .hm-hello { margin: 22px 28px 14px; font-size: 1.35rem; }
/* the hero */
html:not(.tvmode) .hm-hero { margin: 0 28px; height: auto; min-height: 290px; border-radius: 24px; }
html:not(.tvmode) .hm-hero .h-text { position: static; width: auto; padding: 30px 230px 32px 36px; }
html:not(.tvmode) .hbadge { padding: 3px 10px; border-radius: 8px; font-size: 12px; }
html:not(.tvmode) .hm-hero .h-ch { margin: 16px 0 2px; font-size: 1rem; }
html:not(.tvmode) .hplate { height: 38px; padding: 0 10px; margin-right: 12px; border-radius: 10px; }
html:not(.tvmode) .hplate img { height: 28px; max-width: 96px; }
html:not(.tvmode) .hm-hero .h-title { font-size: clamp(1.8rem, 3.6vw, 3rem); max-height: none; margin: 4px 0 8px; letter-spacing: -.8px; }
html:not(.tvmode) .hm-hero .h-meta { font-size: 1rem; white-space: normal; margin-bottom: 12px; }
html:not(.tvmode) .hbar, html:not(.tvmode) .hbar span { height: 6px; }
html:not(.tvmode) .hm-hero .hbar { width: min(420px, 100%); margin-bottom: 22px; }
html:not(.tvmode) .hm-hero .btn { height: 46px; padding: 0 22px; margin: 0 10px 8px 0; border-width: 1px; border-color: #4a4370; font-size: 16px;
                                  background: transparent; will-change: auto; }
html:not(.tvmode) .hm-hero .btn:hover { background: var(--panel2); }
html:not(.tvmode) .hm-hero .btn[data-home="live"] { background: var(--accent2); border-color: var(--accent2); color: #fff; }
html:not(.tvmode) .hm-hero .btn[data-home="live"]:hover { background: var(--accent); }
html:not(.tvmode) .hm-hero .h-art { right: 36px; top: 30px; width: 154px; height: 231px; border-radius: 14px; object-fit: cover; }
/* rows: scroll sideways */
html:not(.tvmode) .hrail { margin: 30px 0 0; }
html:not(.tvmode) .hrail h2 { margin: 0 28px 4px; font-size: 1.35rem; }
html:not(.tvmode) .hrail h2 small { margin-left: 10px; font-size: .9rem; }
html:not(.tvmode) .hwin { overflow-x: auto; overflow-y: hidden; padding: 10px 0 14px 28px; scroll-padding-left: 28px; scroll-snap-type: x proximity; scrollbar-width: thin;
                          scrollbar-color: #3a3170 transparent; }
html:not(.tvmode) .htrack { transform: none !important; transition: none; will-change: auto; padding-right: 28px; }
html:not(.tvmode) .hcard { margin-right: 16px; scroll-snap-align: start; will-change: auto; }
html:not(.tvmode) .hcard:hover { transform: translateY(-3px); }
html:not(.tvmode) .hcard:hover .hfr, html:not(.tvmode) .hcard:focus-visible .hfr { outline: 3px solid var(--accent); outline-offset: 2px; }
html:not(.tvmode) .hcard:focus-visible { outline: none; }
html:not(.tvmode) .hch { width: 280px; }
html:not(.tvmode) .hch .hfr { height: 158px; }
html:not(.tvmode) .hch .hplate { left: 16px; top: 14px; }
html:not(.tvmode) .hch > .hfr > .hnum { right: 16px; top: 22px; font-size: 15px; }
html:not(.tvmode) .hch .ht { left: 18px; right: 18px; top: 64px; height: 44px; font-size: 17px; }
html:not(.tvmode) .hch .hbar { left: 18px; right: 18px; bottom: 30px; }
html:not(.tvmode) .hch .hs { left: 18px; right: 18px; bottom: 8px; font-size: 13px; }
html:not(.tvmode) .hpo { width: 152px; }
html:not(.tvmode) .hpo .hfr, html:not(.tvmode) .hpo img { width: 146px; height: 219px; border-radius: 14px; }
html:not(.tvmode) .hpo .hbadge { left: 8px; top: 8px; font-size: 11px; padding: 2px 8px; }
html:not(.tvmode) .hpo .ht { height: 38px; margin-top: 8px; font-size: 14px; }
html:not(.tvmode) .hpo .hs { font-size: 12px; }
html:not(.tvmode) .hvd { width: 256px; }
html:not(.tvmode) .hvd .hfr, html:not(.tvmode) .hvd img { width: 250px; height: 140px; }
html:not(.tvmode) .hm-note { margin: 6px 28px 36px; font-size: 12px; }
/* "Ki néz?": round pictures on the brand background, as on the TV */
html:not(.tvmode) .chooser { background: radial-gradient(ellipse at 50% 0%, #241a55 0%, #0b0a14 60%) var(--bg); }
html:not(.tvmode) .chooser h1 { font-weight: 800; letter-spacing: -.8px; }
html:not(.tvmode) .chooser .pavatar { border-radius: 50%; }
html:not(.tvmode) .chooser .pcard:hover .pavatar, html:not(.tvmode) .chooser .pcard:focus-visible .pavatar { border-color: var(--lime); }
html:not(.tvmode) .chooser .ghostbtn { border-radius: 999px; padding: 10px 22px; border: 1px solid #4a4370; color: var(--text);
                                       text-transform: none; letter-spacing: 0; font-weight: 600; }
html:not(.tvmode) .chooser .ghostbtn:hover { background: var(--panel2); text-decoration: none; }
/* the live view: back to the main menu, rounder player and list */
html:not(.tvmode) .webbar { flex-wrap: wrap; }
html:not(.tvmode) .webbar .tohome { flex-basis: 100%; text-align: left; border-radius: 999px; font-weight: 600; }
html:not(.tvmode) .tool { border-radius: 10px; }
html:not(.tvmode) .tv .player, html:not(.tvmode) .tv .list { border-radius: 18px; }
@media (max-width: 760px) {
  html:not(.tvmode) .hm-top { height: 60px; padding: 0 14px; }
  html:not(.tvmode) .hm-top .tvl-logo { font-size: 24px; margin-right: 12px; }
  html:not(.tvmode) .hm-nav .pill { padding: 0 12px; font-size: 14px; }
  html:not(.tvmode) .hm-hello { margin: 16px 14px 10px; font-size: 1.1rem; }
  html:not(.tvmode) .hm-hero { margin: 0 14px; min-height: 0; }
  html:not(.tvmode) .hm-hero .h-text { padding: 22px 20px 20px; }
  html:not(.tvmode) .hm-hero .h-art { display: none; }
  html:not(.tvmode) .hm-hero .btn { height: 42px; padding: 0 16px; font-size: 15px; }
  html:not(.tvmode) .hrail h2 { margin: 0 14px 2px; font-size: 1.15rem; }
  html:not(.tvmode) .hwin { padding-left: 14px; scroll-padding-left: 14px; }
  html:not(.tvmode) .hch { width: 240px; }
  html:not(.tvmode) .hm-note { margin: 6px 14px 28px; }
}

/* ===================== Web design, step 3: account pages, the web library, phones ===================== */
/* Fiókom: the greeting as the main menu's hero */
html:not(.tvmode) .acc-hero { border-radius: 24px; padding: 30px 34px; margin-bottom: 16px;
                              background: radial-gradient(120% 160% at 0% 0%, #3a2a8c 0%, #1d1640 45%, var(--panel) 80%); }
html:not(.tvmode) .acc-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 6px; }
html:not(.tvmode) .acc-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 20px; }
html:not(.tvmode) .acc-state .badge { font-size: .85rem; }
html:not(.tvmode) .acc-hero .actions { gap: 10px; }
html:not(.tvmode) .pick img { border-radius: 14px; }
html:not(.tvmode) .pick:hover img { outline: 3px solid var(--accent); outline-offset: 2px; }
html:not(.tvmode) table th { color: var(--muted); }
/* the web library and its film page: the brand background, not see-through */
html:not(.tvmode) .panel { background: rgba(11, 10, 20, .98); }
html:not(.tvmode) .vodpanel, html:not(.tvmode) .voddetail { background: radial-gradient(ellipse at 20% 0%, #241a55 0%, #0b0a14 55%) var(--bg); }
html:not(.tvmode) .vodpanel .panel-head h2 { font-weight: 800; font-size: 1.6rem; }
html:not(.tvmode) .panel-head .tool { border-radius: 999px; }
html:not(.tvmode) .vcard .vimg { border-radius: 14px; border: 0; }
html:not(.tvmode) .vcard:hover .vimg, html:not(.tvmode) .vcard:focus-visible .vimg { outline: 3px solid var(--accent); outline-offset: 2px; transform: none; }
html:not(.tvmode) .vcard .vt { font-weight: 800; }
html:not(.tvmode) .vcard .vprog { background: var(--lime); }
/* the live view: on a phone the way back sits above the picture (the channel list is below it there) */
.tohome-m { display: none; }
@media (max-width: 820px) {
  html:not(.tvmode) .webbar .tohome { display: none; }
  html:not(.tvmode) .tohome-m { display: inline-block; margin: 0 0 10px; }
}
/* phones: the site's header in one row, the navigation scrolls sideways */
@media (max-width: 560px) {
  html:not(.tvmode) header.top { flex-wrap: nowrap; gap: 12px; padding: 10px 0 10px 14px; }
  html:not(.tvmode) header.top .logo { flex: none; }
  html:not(.tvmode) nav.main { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: 0; width: auto; padding-right: 14px;
                               -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  html:not(.tvmode) nav.main::-webkit-scrollbar { display: none; }
  html:not(.tvmode) nav.main a, html:not(.tvmode) nav.main button { flex: none; white-space: nowrap; }
  html:not(.tvmode) .acc-hero { padding: 22px 20px; border-radius: 20px; }
}
/* "Ki néz?": the kids badge sits on the circle's lower edge – the round picture must not cut it (the picture
   itself is rounded instead) */
.chooser .pavatar { overflow: visible; }
.chooser .pavatar img { border-radius: inherit; }
