/* WATCHER TV. Written for Samsung Tizen 5.5 (Chromium 69): no flex gap, inset, clamp(), aspect-ratio or :focus-visible. */

:root {
  --bg: #06080c;
  --bg-2: #0b0f16;
  --panel: #121722;
  --panel-2: #1a2130;
  --panel-3: #232c3f;
  --line: rgba(255, 255, 255, .08);
  --text: #f3f5fa;
  --muted: #a3acbd;
  --dim: #6c7589;
  /* DNC's gold, from the wordmark: champagne for text and lines, a deeper satin gold for fills. */
  --accent: #d9b56a;
  --accent-2: #f0d898;
  --gold: #e9cf88;
  --gold-deep: #b8924c;
  --gold-line: rgba(233, 207, 136, .55);
  --live: #ff3b4e;
  --ok: #3ddc97;
  --focus: #ffffff;
  --radius: .8rem;
  --rail: 27rem;
  font-family: "SamsungOne", "Samsung Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html.tv-mode { font-size: 1.0417vw; }
@media (min-width: 1500px) { html:not(.tv-mode) { font-size: 17px; } }
@media (min-width: 1900px) { html:not(.tv-mode) { font-size: 19px; } }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); overflow: hidden; line-height: 1.35; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
a { color: inherit; }
svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ shared pieces */

.brand { display: flex; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; white-space: nowrap; }
.brand b { color: var(--accent); margin-left: .25em; font-weight: 800; }
.brand-mark { position: relative; width: 1.9rem; height: 1.9rem; margin-right: .7rem; border-radius: .55rem; background: linear-gradient(135deg, #f3dea0, #b8924c); box-shadow: 0 .3rem 1.2rem rgba(217, 181, 106, .3); flex: none; }
.brand-mark::after { content: ""; position: absolute; left: .72rem; top: .52rem; border-style: solid; border-width: .43rem 0 .43rem .68rem; border-color: transparent transparent transparent #fff; }
.brand-large { font-size: 1.6rem; margin-bottom: 1.2rem; }
.brand-large .brand-mark { width: 2.6rem; height: 2.6rem; }
.brand-large .brand-mark::after { left: 1rem; top: .72rem; border-width: .6rem 0 .6rem .95rem; }

.primary-button, .pill-button, .text-button {
  border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; display: inline-block; text-align: center;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.primary-button { background: var(--text); color: #0a0c10; padding: .8rem 1.5rem; font-size: 1.02rem; }
.pill-button { background: rgba(255, 255, 255, .09); padding: .62rem 1.15rem; font-size: .95rem; }
.pill-button.subtle { background: rgba(255, 255, 255, .06); color: var(--muted); }
.text-button { background: none; color: var(--muted); padding: .4rem .6rem; }
.primary-button:focus, .primary-button:hover { background: var(--accent); color: #17120a; box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .9); }
.pill-button:focus, .pill-button:hover, .text-button:focus { background: var(--focus); color: #07090d; }
.primary-button:disabled { opacity: .5; }

.form-error { color: #ff8b7a; background: rgba(255, 70, 50, .1); border-radius: .6rem; padding: .7rem .9rem; margin: .9rem 0 0; }
.banner-error { margin: 0 0 1rem; }

.badges { display: inline-flex; align-items: center; }
.badge { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: .14rem .38rem; border-radius: .3rem; margin-left: .3rem; background: rgba(255, 255, 255, .14); color: #e9edf5; line-height: 1.2; }
.badge-4K, .badge-8K, .badge-UHD { background: linear-gradient(135deg, #ffcb5c, #ff8a3d); color: #1b1203; }
.badge-FHD, .badge-HD, .badge-HD, .badge-HEVC { background: rgba(120, 170, 255, .22); color: #cfe0ff; }
.badge-VIP, .badge-GOLD { background: rgba(255, 200, 80, .2); color: #ffd98a; }
.badge-RAW, .badge-60fps, .badge-50fps { background: rgba(61, 220, 151, .18); color: #9ff2cb; }

.progress { display: block; height: .22rem; border-radius: 1rem; background: rgba(255, 255, 255, .14); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 1rem; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Channel logo tile: monogram until the logo arrives */
.tile { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: .55rem;
  background: linear-gradient(150deg, hsl(var(--h, 210), 32%, 22%), hsl(var(--h, 210), 30%, 10%)); }
.tile .mono { font-weight: 800; letter-spacing: .02em; color: hsl(var(--h, 210), 80%, 80%); font-size: 1.1rem; text-align: center; padding: 0 .3rem; line-height: 1.05; }
.tile img { position: absolute; top: 14%; left: 12%; width: 76%; height: 72%; object-fit: contain; opacity: 0; transition: opacity .25s; }
.tile.has-logo { background: linear-gradient(150deg, #202838, #121722); }
.tile.has-logo img { opacity: 1; }
.tile.has-logo .mono { visibility: hidden; }

/* ------------------------------------------------------------ opening and sign-in */

.opening { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 1.15rem; }
/* DNC Entertainment logo: the emblem with ENTERTAINMENT beneath it */
.logo { display: flex; flex-direction: column; align-items: center; }
.logo img { display: block; }
.logo-emblem { width: 100%; height: auto; }
.logo-word { width: 72%; height: auto; margin-top: 7%; }
.logo-opening { width: 34rem; margin-bottom: 2.6rem; animation: logo-in 1.1s ease-out both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.96); } }
.opening-line { width: 14rem; height: .16rem; border-radius: 1rem; background: rgba(233, 207, 136, .15); overflow: hidden; margin-bottom: 1.4rem; }
.opening-line i { display: block; width: 35%; height: 100%; border-radius: 1rem; background: linear-gradient(90deg, rgba(233, 207, 136, 0), #e9cf88, rgba(233, 207, 136, 0));
  animation: sweep 1.3s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.logo-auth { width: 17rem; margin: 0 auto 1.6rem; }
.logo-idle { width: 11rem; opacity: .9; }
.stage:not(.is-full) .logo-idle { width: 9rem; }
.logo-nav { flex-direction: row; flex: none; padding: .35rem .7rem .35rem .4rem; border-radius: .7rem; transition: background-color .15s; }
.logo-nav .logo-emblem { width: 6.2rem; }
.logo-nav .logo-word { width: 9.4rem; margin: 0 0 0 1rem; padding-left: 1rem; border-left: 1px solid rgba(233, 207, 136, .35); box-sizing: content-box; }
.logo-nav:focus, .logo-nav:hover { background: rgba(233, 207, 136, .12); }
.opening .pill-button { margin-top: 1.2rem; }

.auth { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow: auto; }
.auth-glow { position: absolute; width: 60rem; height: 60rem; border-radius: 50%; background: radial-gradient(circle, rgba(217, 181, 106, .14), transparent 60%); top: -25rem; right: -20rem; pointer-events: none; }
.auth-card { position: relative; width: 100%; max-width: 26rem; background: rgba(18, 23, 34, .88); border: 1px solid var(--line); border-radius: 1.3rem; padding: 2.2rem; box-shadow: 0 2rem 5rem rgba(0, 0, 0, .55); }
.auth-card p { color: var(--muted); margin: 0 0 1.4rem; text-align: center; }
.auth-card label { display: block; font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; font-weight: 600; }
.auth-card input { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: .7rem; padding: .85rem .95rem; margin-bottom: 1rem; font-size: 1.05rem; }
.auth-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(217, 181, 106, .32); }
.password-field { position: relative; }
.password-field input { padding-right: 5rem; }
.password-field .text-button { position: absolute; right: .4rem; top: .45rem; }
.auth-card .primary-button { width: 100%; margin-top: .4rem; }

/* ------------------------------------------------------------ home layout */

.home { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background:
  radial-gradient(ellipse at 85% -10%, rgba(201, 165, 92, .11), transparent 45%), radial-gradient(ellipse at 0% 100%, rgba(80, 120, 255, .08), transparent 50%), var(--bg); }
.topnav { display: flex; align-items: center; height: 5.2rem; padding: 0 2.6rem; flex: none; }
.tabs { display: flex; margin-left: 2rem; }
.tab { position: relative; border: 0; background: none; color: #b9c1cf; font-size: 1.15rem; font-weight: 700; padding: .62rem 1.15rem; border-radius: 999px;
  margin-right: .3rem; white-space: nowrap; transition: background-color .15s, color .15s; }
/* The open section wears the wordmark's gold: a satin fill, a fine gold edge and gold letters, clear even when focus
   is elsewhere. */
.tab[aria-current="page"] { color: #f6e3ab;
  background: linear-gradient(180deg, rgba(240, 216, 152, .22), rgba(184, 146, 76, .16));
  box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 1px 0 rgba(255, 240, 200, .25), 0 .5rem 1.4rem -.6rem rgba(217, 181, 106, .55);
  text-shadow: 0 0 .9rem rgba(233, 207, 136, .25); }
.tab-search svg { width: 1.1rem; height: 1.1rem; margin-right: .45rem; vertical-align: -.18em; }
.tab:focus, .tab:hover { background: rgba(255, 255, 255, .13); color: #fff; box-shadow: 0 0 0 .16rem rgba(255, 255, 255, .85); }
.tab[aria-current="page"]:focus, .tab[aria-current="page"]:hover { color: #17120a; text-shadow: none;
  background: linear-gradient(135deg, #f6e3ab, #d9b56a 55%, #b8924c);
  box-shadow: 0 0 0 .16rem #fff, 0 .6rem 1.6rem -.5rem rgba(217, 181, 106, .7); }
.topnav-end { margin-left: auto; display: flex; align-items: center; }
.topnav-end > * { margin-left: .7rem; }
.topnav-end .pill-button { white-space: nowrap; }
.clock { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 1.3rem; }

.home-body { flex: 1; display: flex; min-height: 0; }
.content { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: .6rem 2.4rem 4rem 2.6rem; }
.now-rail { width: var(--rail); flex: none; padding: .6rem 2.6rem 2rem 0; display: flex; flex-direction: column; }
.rail-player { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); background: #000; }
.now-info { margin-top: 1.2rem; display: flex; flex-direction: column; min-height: 0; flex: 1; }
.eyebrow { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.now-name { margin: .35rem 0 .3rem; font-size: 1.65rem; line-height: 1.15; }
.now-programme { margin: 0 0 .7rem; color: var(--text); opacity: .85; }
.now-info .progress { margin-bottom: .7rem; }
.now-next { margin: 0 0 1rem; color: var(--dim); font-size: .92rem; }
.now-actions { display: flex; flex-direction: column; align-items: flex-start; }
.now-actions > * { margin-bottom: .55rem; }
.remote-help { margin: auto 0 0; padding-top: 1rem; color: var(--dim); font-size: .82rem; line-height: 1.5; border-top: 1px solid var(--line); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: .6rem 0 1rem; }
.section-title { margin: 0; font-size: 1.5rem; font-weight: 750; }
.section-title .count, .count { color: var(--dim); font-size: 1rem; font-weight: 600; margin-left: .5rem; }
.section-note { color: var(--muted); margin: 0 0 1rem; min-height: 1.35em; }
.row-section { margin-bottom: 1.6rem; }
.row-section .section-title { margin: .6rem 0 1rem; font-size: 1.25rem; color: var(--muted); }
.edit-help { color: var(--accent-2); margin: -.3rem 0 1rem; }
.empty { max-width: 38rem; padding: 2.5rem; border: 1px dashed rgba(255, 255, 255, .15); border-radius: 1.2rem; margin-top: 1rem; }
.empty h3 { margin: 0 0 .6rem; font-size: 1.4rem; }
.empty p { color: var(--muted); margin: 0 0 1.4rem; line-height: 1.55; }
.empty-line { color: var(--dim); padding: 1rem 0; }
.more { margin: 1.4rem 0 0; }

/* ------------------------------------------------------------ channel cards */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.2rem, 1fr)); grid-gap: 1.5rem 1.25rem; padding: .4rem .3rem 1rem; }
.card-grid.compact { grid-template-columns: repeat(auto-fill, minmax(11.8rem, 1fr)); }
.rail-row { display: grid; grid-auto-flow: column; grid-auto-columns: 13.2rem; grid-gap: 1.25rem; overflow-x: auto; overflow-y: hidden; padding: .4rem .3rem 1rem; scrollbar-width: none; }
.rail-row::-webkit-scrollbar { display: none; }
.card { position: relative; min-width: 0; }
.card-main { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.card-art { position: relative; display: block; padding-top: 58%; border-radius: var(--radius); transition: transform .14s ease-out; box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .3); }
.card-art .tile { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius); }
.card-art .tile .mono { font-size: 1.7rem; }
.card-number { position: absolute; top: .5rem; left: .5rem; min-width: 1.9rem; padding: .14rem .45rem; border-radius: .45rem; background: rgba(0, 0, 0, .62); font-weight: 800; font-size: .92rem; text-align: center; font-variant-numeric: tabular-nums; }
.card-art .badges { position: absolute; bottom: .5rem; right: .5rem; }
.card-live { display: none; position: absolute; bottom: .5rem; left: .5rem; padding: .16rem .5rem; border-radius: .4rem; background: var(--live); font-size: .66rem; font-weight: 800; letter-spacing: .06em; align-items: center; }
.card-live i, .osd-live i { display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: #fff; margin-right: .35rem; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.card.is-playing .card-live { display: inline-flex; }
.card.is-playing .card-art { box-shadow: 0 0 0 .16rem var(--live), 0 .4rem 1.2rem rgba(0, 0, 0, .35); }
.card-meta { display: block; padding: .65rem .15rem 0; }
.card-name { display: block; font-weight: 700; font-size: 1.04rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { display: block; color: var(--muted); font-size: .86rem; margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta .progress { margin-top: .45rem; height: .18rem; }
.card-main:focus .card-art, .card-main:hover .card-art { transform: scale(1.06); box-shadow: 0 0 0 .2rem var(--focus), 0 .6rem 1.4rem rgba(0, 0, 0, .55); }
.card-main:focus .card-name { color: #fff; }
.card-main:focus .card-sub { color: var(--text); }
.card-star { position: absolute; top: .45rem; right: .45rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: var(--accent-2); font-size: 1.15rem; line-height: 1; padding: 0; transition: transform .15s, background-color .15s; }
.card-star[aria-pressed="false"] { color: #d8dde8; }
.card-star:focus, .card-star:hover { background: var(--focus); color: #07090d; transform: scale(1.12); }
.groups.editing .card-star { background: rgba(255, 59, 78, .85); color: #fff; }
.groups.editing .card-star:focus { background: #fff; color: var(--live); }
.card.is-lifted .card-art { transform: scale(1.08) translateY(-.4rem); box-shadow: 0 0 0 .22rem var(--accent-2), 0 1.4rem 2.6rem rgba(0, 0, 0, .7); }
.card.is-lifted .card-name::before { content: "↕ "; color: var(--accent-2); }

/* ------------------------------------------------------------ Kanallarım groups and shelves */

.lineup-head { display: flex; align-items: flex-end; justify-content: space-between; margin: .5rem 0 1.4rem; }
#greeting { color: var(--muted); letter-spacing: .04em; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.lineup-head .section-title { font-size: 1.9rem; }
.group { --g: #8a93a6; --g-soft: rgba(138, 147, 166, .16); margin-bottom: 1.3rem; }
.group-spor { --g: #3ddc97; --g-soft: rgba(61, 220, 151, .15); }
.group-ulusal { --g: #ff5a5f; --g-soft: rgba(255, 90, 95, .15); }
.group-uluslararasi { --g: #5b9cff; --g-soft: rgba(91, 156, 255, .15); }
.group-recents { --g: #c3a6ff; --g-soft: rgba(195, 166, 255, .14); }
.group-abd { --g: #7fb2ff; --g-soft: rgba(127, 178, 255, .14); }
.group-avrupa { --g: #ffd257; --g-soft: rgba(255, 210, 87, .14); }
.group-head { display: flex; align-items: center; margin: 0 0 .5rem .3rem; }
.group-icon { display: flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: .65rem; background: var(--g-soft); color: var(--g); flex: none; }
.group-icon svg { width: 1.3rem; height: 1.3rem; stroke-width: 1.8; }
.group-avrupa .group-icon svg circle { fill: currentColor; stroke: none; }
.group-abd .group-icon svg path { fill: currentColor; stroke: none; }
.group-title { margin: 0 0 0 .8rem; font-size: 1.32rem; font-weight: 750; }
.group-meta { margin-left: .9rem; color: var(--dim); font-size: .9rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.group .card-number { background: var(--g); color: #06080c; }
.group .card-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .2rem; border-radius: 0 0 var(--radius) var(--radius); background: var(--g); opacity: .8; }
.group .tile.has-logo { background: radial-gradient(circle at 50% 0%, var(--g-soft), transparent 70%), linear-gradient(150deg, #212a3b, #10151f); }
.group .card-main:focus .card-art { box-shadow: 0 0 0 .2rem var(--focus), 0 .6rem 1.4rem rgba(0, 0, 0, .55); }
.group-shelf { margin-top: .6rem; }
.rail-small { grid-auto-columns: 10.6rem; grid-gap: 1rem; }
.rail-small .card-art { padding-top: 60%; }
.rail-small .card-art .tile .mono { font-size: 1.3rem; }
.rail-small .card-name { font-size: .96rem; }
.rail-small .card-sub { font-size: .8rem; }
.rail-small .card-star { width: 1.9rem; height: 1.9rem; font-size: 1rem; }
.group-empty { grid-column: 1 / span 3; margin: 0; padding: 1.5rem 1.4rem; border: 1px dashed rgba(255, 255, 255, .18); border-radius: var(--radius); color: var(--dim); }

/* Reconnecting notice while the picture keeps playing */
.link-pill { position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 7; display: flex; align-items: center; padding: .65rem 1.2rem; border-radius: 999px; background: rgba(7, 9, 13, .86); box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .5); font-weight: 650; white-space: nowrap; pointer-events: none; }
.link-pill .spinner { width: 1.1rem; height: 1.1rem; border-width: .18rem; margin-right: .7rem; flex: none; }
.stage:not(.is-full) .link-pill { top: .5rem; font-size: .62rem; padding: .35rem .7rem; }

.drawer-group { margin: 1rem .7rem .35rem; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.drawer-group:first-child { margin-top: 0; }
.drawer-group.group-spor { --g: #3ddc97; }
.drawer-group.group-ulusal { --g: #ff5a5f; }
.drawer-group.group-uluslararasi { --g: #5b9cff; }

/* Focused card: time left and the next programme over the logo */
.card-peek { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 2.2rem .7rem .55rem; border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(rgba(4, 6, 10, 0), rgba(4, 6, 10, .78) 45%, rgba(4, 6, 10, .94)); opacity: 0; transition: opacity .18s; pointer-events: none; }
.card-left { font-size: .74rem; font-weight: 800; letter-spacing: .03em; color: var(--accent-2); }
.card-next { font-size: .8rem; font-weight: 600; color: #fff; margin-top: .12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.has-peek .card-main:focus .card-peek { opacity: 1; }
.card.has-peek .card-main:focus .card-art .badges { opacity: 0; }
.group .card-main:focus .card-art { transform: scale(1.08); }

/* Ambient colour taken from the focused logo or poster */
.ambient { position: absolute; top: -30%; left: -10%; right: -10%; height: 95%; pointer-events: none; background-color: rgba(29, 36, 54, .32); overflow: hidden;
  transition: background-color .9s ease; }
/* A fixed fade on top of a plain colour is far cheaper for the TV than a masked layer. */
.ambient::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse 60% 55% at 42% 30%, rgba(6, 8, 12, 0) 0%, rgba(6, 8, 12, .55) 45%, #06080c 75%); }
.home > .topnav, .home > .home-body { position: relative; z-index: 1; }

/* ------------------------------------------------------------ Ana Sayfa showcase */

body[data-tab="home"] .now-rail { display: none; }
body[data-tab="home"] .content { overflow: hidden; padding: 0 0 0 2.6rem; }
#tab-home { height: 100%; }
.showcase { display: flex; flex-direction: column; height: 100%; }
.hero { position: relative; flex: none; height: 20.5rem; padding-right: 2.6rem; }
.hero-text { position: absolute; left: 0; bottom: 1.6rem; width: 44rem; max-width: 60%; }
.hero-text.is-fresh { animation: hero-in .5s ease-out; }
@keyframes hero-in { from { opacity: 0; transform: translateY(.8rem); } }
.hero-eyebrow { color: #e9cf88; letter-spacing: .16em; }
.hero-title { margin: .45rem 0 .55rem; font-size: 3.1rem; line-height: 1.04; font-weight: 850; letter-spacing: -.01em; text-shadow: 0 .3rem 1.6rem rgba(0, 0, 0, .6);
  max-height: 2.1em; overflow: hidden; }
.hero-meta { margin: 0 0 .7rem; color: #d9dfea; font-weight: 650; font-size: 1.02rem; text-shadow: 0 .1rem .6rem rgba(0, 0, 0, .7); }
.hero-plot { margin: 0; color: #c3cad8; font-size: 1.02rem; line-height: 1.5; max-height: 4.5em; overflow: hidden; text-shadow: 0 .1rem .6rem rgba(0, 0, 0, .8); }
.hero-player { position: absolute; right: 2.6rem; bottom: 1.6rem; width: 20rem; height: 11.25rem; border-radius: var(--radius); }
.hero-player-label { position: absolute; left: 0; right: 0; top: 100%; margin-top: .4rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
body.is-idle .hero-player { visibility: hidden; }
body[data-tab="home"].is-idle .stage:not(.is-full) { display: none; }
body.vod-detail-open .stage:not(.is-full) { display: none; }

.hero-art { position: absolute; top: 0; right: 0; width: 72%; height: 66%; pointer-events: none; display: none; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 8, 12, .8) 30%, rgba(6, 8, 12, 0) 100%); }
body[data-tab="home"] .hero-art { display: block; }
.hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 1; background: linear-gradient(rgba(6, 8, 12, 0), var(--bg)); }
.hero-layer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center 20%; opacity: 0; transition: opacity .6s ease; }
.hero-layer.is-on { opacity: .9; }
.hero-layer.is-logo { background-size: auto 44%; background-repeat: no-repeat; background-position: 70% 38%; }
.hero-layer.is-logo.is-on { opacity: 1; }

.shelves { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: .2rem 0 3rem; scrollbar-width: none; }
.shelves::-webkit-scrollbar { display: none; }
.group-show { margin-bottom: .6rem; }
.group-show .group-head { margin-left: .3rem; }
.group-show .group-title { margin-left: 0; font-size: 1.28rem; }
.group-films { --g: #ff9a3d; --g-soft: rgba(255, 154, 61, .15); }
.group-foreign { --g: #6aa8ff; --g-soft: rgba(106, 168, 255, .15); }
.group-channels { --g: #3ddc97; --g-soft: rgba(61, 220, 151, .15); }
.group-local { --g: #ff5a7a; --g-soft: rgba(255, 90, 122, .15); }
.group-show .group-title::before { content: ""; display: inline-block; width: .3rem; height: 1.05em; margin-right: .6rem; border-radius: .2rem; background: var(--g); vertical-align: -.12em; }
.rail-posters { grid-auto-columns: 8.4rem; grid-gap: 1rem; padding-top: .6rem; }
.rail-posters .poster-art { box-shadow: 0 .5rem 1.2rem rgba(0, 0, 0, .5); }
.group-show .poster:focus .poster-art { box-shadow: 0 0 0 .2rem var(--focus), 0 .6rem 1.4rem rgba(0, 0, 0, .55); }

/* Film subtitles and the pause menu */
.subtitles { position: absolute; left: 8%; right: 8%; bottom: 7%; z-index: 4; text-align: center; white-space: pre-line; pointer-events: none;
  font-size: calc(2.3rem * var(--sub-scale, 1)); font-weight: 650; line-height: 1.3; color: #fff;
  text-shadow: 0 0 .25rem #000, 0 0 .25rem #000, 0 .12rem .5rem rgba(0, 0, 0, .9); }
body.osd-visible .stage.is-full .subtitles { bottom: 32%; }
.stage:not(.is-full) .subtitles { font-size: .8rem; }
.vod-panel { position: absolute; left: 0; right: 0; bottom: 17rem; z-index: 7; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.vod-panel > * { pointer-events: auto; }
.vod-panel-main { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; padding: .9rem 1.1rem; border-radius: 999px; background: rgba(9, 12, 18, .9); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .6); }
.vod-panel-main > * { margin: .2rem .4rem; }
.vod-panel-note { color: var(--dim); font-size: .92rem; padding: 0 .4rem; }
.vod-panel-options { display: flex; flex-direction: column; min-width: 22rem; max-height: 40vh; overflow-y: auto; margin-bottom: 1rem; padding: 1rem; border-radius: 1rem; background: rgba(9, 12, 18, .94); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .6); }
.vod-panel-title { margin: 0 0 .6rem .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.vod-option { border: 0; background: none; color: var(--text); text-align: left; font-weight: 650; font-size: 1.05rem; padding: .7rem 1rem; border-radius: .6rem; }
.vod-option.is-active { color: var(--accent-2); }
.vod-option:focus, .vod-option:hover { background: var(--focus); color: #07090d; }
.vod-option[aria-disabled="true"], #vod-subtitle-prepare[aria-disabled="true"] { opacity: .68; cursor: default; }
.vod-panel-options .vod-subtitle-status { margin: .5rem .4rem .25rem; }

/* ------------------------------------------------------------ guide */

.guide { position: relative; }
.guide-times { position: relative; height: 2rem; margin-left: 15rem; color: var(--dim); font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line); }
.guide-time { position: absolute; top: .3rem; padding-left: .4rem; border-left: 1px solid var(--line); }
.guide-rows { max-height: calc(100vh - 15.5rem); overflow-y: auto; overflow-x: hidden; }
.guide-row { display: flex; height: 4.8rem; border-bottom: 1px solid var(--line); }
.guide-label { width: 15rem; flex: none; display: flex; align-items: center; padding-right: .8rem; }
.guide-num { width: 2rem; color: var(--dim); font-weight: 800; font-variant-numeric: tabular-nums; flex: none; }
.guide-label .tile { width: 4.2rem; height: 2.8rem; flex: none; margin-right: .7rem; }
.guide-label .tile .mono { font-size: .8rem; }
.guide-name { font-weight: 700; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-row.is-playing .guide-name { color: var(--accent); }
.guide-track { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.guide-cell { position: absolute; top: .4rem; bottom: .4rem; border: 0; border-radius: .55rem; background: var(--panel); color: var(--text); text-align: left; padding: .45rem .75rem; overflow: hidden; display: flex; flex-direction: column; justify-content: center; transition: background-color .12s; }
.guide-cell.is-now { background: var(--panel-3); box-shadow: inset .22rem 0 0 var(--accent); }
.guide-cell.is-empty { background: rgba(255, 255, 255, .03); color: var(--dim); }
.guide-title { font-weight: 650; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-when { color: var(--muted); font-size: .78rem; margin-top: .1rem; white-space: nowrap; }
.guide-cell:focus, .guide-cell:hover { background: var(--focus); color: #07090d; z-index: 2; }
.guide-cell:focus .guide-when { color: #3a4152; }
.guide-now { position: absolute; top: 2rem; bottom: 0; width: 2px; background: var(--accent); pointer-events: none; z-index: 3; box-shadow: 0 0 .6rem var(--accent); }
.guide-now::before { content: ""; position: absolute; top: -.35rem; left: -.3rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); }
#guide-note { min-height: 2.7em; max-width: 60rem; overflow: hidden; }

/* ------------------------------------------------------------ discover */

body[data-tab="discover"] .content { overflow: hidden; padding-bottom: 0; }
#tab-discover { height: 100%; }
.discover { display: flex; height: 100%; }
.discover-col { width: 12rem; flex: none; display: flex; flex-direction: column; margin-right: 1rem; min-height: 0; }
.discover-col + .discover-col { width: 15rem; }
.discover-main .card-grid { grid-template-columns: repeat(auto-fill, minmax(9.6rem, 1fr)); grid-gap: 1.2rem 1rem; }
.discover-main .card-name { font-size: .95rem; }
.col-title { margin: .6rem 0 .8rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pick-list { flex: 1; overflow-y: auto; min-height: 0; padding: .2rem .2rem 3rem; scrollbar-width: thin; }
.pick { display: flex; align-items: center; width: 100%; border: 0; background: none; color: var(--muted); text-align: left; padding: .62rem .75rem; border-radius: .6rem; margin-bottom: .15rem; font-weight: 600; transition: background-color .12s, color .12s; }
.pick-code { flex: none; min-width: 2.4rem; font-size: .72rem; font-weight: 800; letter-spacing: .05em; padding: .18rem .3rem; text-align: center; border-radius: .35rem; background: rgba(255, 255, 255, .08); margin-right: .65rem; color: var(--text); }
.pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick .badges { margin-left: .2rem; }
.pick-count { color: var(--dim); font-size: .8rem; margin-left: .5rem; font-variant-numeric: tabular-nums; }
.pick.is-selected { background: var(--panel-2); color: var(--text); box-shadow: inset .2rem 0 0 var(--accent); }
.pick:focus, .pick:hover { background: var(--focus); color: #07090d; }
.pick:focus .pick-count, .pick:focus .pick-code { color: #07090d; }
.discover-main { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: 0 .4rem 3rem; }

/* ------------------------------------------------------------ Film & Dizi */

body[data-tab="vod"] .content { overflow: hidden; padding-bottom: 0; }
#tab-vod { height: 100%; display: flex; flex-direction: column; }
.vod-top { display: flex; align-items: center; margin: .2rem 0 1rem; flex: none; }
.vod-kinds { display: flex; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .06); margin-right: 1.2rem; }
.vod-kind { border: 0; background: none; color: var(--muted); font-weight: 750; font-size: 1.02rem; padding: .55rem 1.25rem; border-radius: 999px; transition: background-color .15s, color .15s; }
.vod-kind[aria-pressed="true"] { background: var(--panel-3); color: var(--text); }
.vod-kind:focus, .vod-kind:hover { background: var(--focus); color: #07090d; }
.vod-browse { flex: 1; min-height: 0; }
.vod-browse .discover-col { width: 15rem; }
.vod-browse .discover-col + .discover-col { width: 14rem; }
.vod-browse .pick { padding: .6rem .65rem; }
.vod-browse .pick-code { min-width: 2.2rem; margin-right: .55rem; }
.vod-browse .pick-count { font-size: .74rem; margin-left: .4rem; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.6rem, 1fr)); grid-gap: 1.3rem 1rem; padding: .4rem .3rem 1rem; }
.poster { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
.poster-art { position: relative; display: block; padding-top: 150%; border-radius: .7rem; overflow: hidden;
  background: linear-gradient(160deg, hsl(var(--h, 220), 30%, 24%), hsl(var(--h, 220), 30%, 10%)); box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .35); transition: transform .14s ease-out; }
.poster-art img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.poster-art.has-image img { opacity: 1; }
.poster-mono { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; font-weight: 800; font-size: 1.6rem; color: hsl(var(--h, 220), 70%, 80%); }
.poster-art.has-image .poster-mono { visibility: hidden; }
.poster-name { display: block; margin-top: .55rem; font-weight: 700; font-size: .92rem; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.poster-sub { display: block; margin-top: .15rem; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster .progress { margin-top: .4rem; }
.poster:focus .poster-art, .poster:hover .poster-art { transform: scale(1.07); box-shadow: 0 0 0 .2rem var(--focus), 0 .6rem 1.4rem rgba(0, 0, 0, .55); }
.poster:focus .poster-name { color: #fff; }

.vod-detail { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 45; background: var(--bg); overflow: hidden; animation: fade-in .18s ease-out; }
@keyframes fade-in { from { opacity: 0; } }
.vod-backdrop { position: absolute; top: 0; right: 0; width: 72%; height: 100%; background-size: cover; background-position: center top; opacity: .55; }
.vod-backdrop::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: linear-gradient(90deg, var(--bg), rgba(6, 8, 12, 0)); }
.vod-detail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.vod-detail-body { position: relative; z-index: 1; display: flex; height: 100%; padding: 4rem 3.4rem 2rem; }
.vod-detail-poster { width: 15rem; height: 22.5rem; padding-top: 0; flex: none; margin-right: 2.6rem; border-radius: 1rem; }
.vod-detail-info { flex: 1; min-width: 0; display: flex; flex-direction: column; max-width: 64rem; }
.vod-detail-title { margin: .4rem 0 .6rem; font-size: 2.6rem; line-height: 1.1; font-weight: 800; }
.vod-meta { margin: 0 0 1rem; color: var(--muted); font-weight: 650; }
.vod-plot { margin: 0 0 .8rem; font-size: 1.08rem; line-height: 1.55; max-height: 6.2em; overflow: hidden; color: #dfe4ee; }
.vod-people { margin: 0 0 1.3rem; color: var(--dim); font-size: .88rem; line-height: 1.5; max-height: 3em; overflow: hidden; }
.vod-actions { display: flex; flex-wrap: wrap; margin-bottom: 1.2rem; }
.vod-actions > * { margin: 0 .8rem .6rem 0; }
.vod-seasons { display: flex; flex-wrap: wrap; flex: none; }
/* Series: a shorter top, and when the viewer is in the seasons or episodes, the list gets the screen. */
.vod-detail.is-series .vod-plot { max-height: 4.65em; }
.vod-detail.is-series .vod-people { max-height: 1.5em; margin-bottom: .9rem; }
.vod-detail-poster, .vod-detail-title { transition: width .2s ease, height .2s ease, font-size .2s ease; }
.vod-detail.is-episodes .vod-plot, .vod-detail.is-episodes .vod-people, .vod-detail.is-episodes .vod-versions,
.vod-detail.is-episodes .vod-tracks { display: none; }
.vod-detail.is-episodes .vod-detail-poster { width: 8rem; height: 12rem; margin-right: 1.8rem; }
.vod-detail.is-episodes .vod-detail-title { font-size: 1.9rem; margin: .2rem 0 .3rem; }
.vod-detail.is-episodes .vod-meta { margin-bottom: .7rem; }
.vod-detail.is-episodes .vod-actions { margin-bottom: .4rem; }
.vod-detail.is-episodes .vod-detail-body { padding-top: 2.4rem; }
.vod-tracks { flex: none; margin: -.2rem 0 1rem; }
.vod-tracks-row { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: .45rem; }
.vod-tracks-label { width: 8.4rem; flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--dim); }
.vod-chip { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: var(--muted); font-weight: 650; font-size: .92rem;
  padding: .42rem .9rem; border-radius: 999px; margin: .15rem .45rem .15rem 0; transition: background-color .12s, color .12s; }
.vod-chip.is-selected { border-color: rgba(233, 207, 136, .7); color: #f1dc9a; background: rgba(233, 207, 136, .1); }
/* The copy to watch: solid gold, like a score of your own. */
.vod-chip.is-best { border-color: transparent; color: #17120a; background: linear-gradient(135deg, #f6e3ab, #d9b56a 60%, #c29c55); }
.vod-copies { flex-wrap: wrap; }
.vod-chip:focus, .vod-chip:hover { background: var(--focus); border-color: var(--focus); color: #07090d; }
.vod-tracks-none { color: var(--dim); font-size: .92rem; }
.vod-tracks-note { margin: .2rem 0 0; color: var(--dim); font-size: .84rem; }
/* Turkish subtitle availability: green ready, yellow quick to prepare, orange from the speech (asks first) */
.dot-green::before, .dot-yellow::before, .dot-orange::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .45rem; vertical-align: .05em; }
.dot-green::before { background: #3ddc97; box-shadow: 0 0 .5rem rgba(61, 220, 151, .7); }
.dot-yellow::before { background: #ffc53d; box-shadow: 0 0 .5rem rgba(255, 197, 61, .7); }
.vod-chip.dot-yellow { border-color: rgba(255, 197, 61, .55); color: #ffd978; }
.vod-chip.dot-green.is-selected { border-color: rgba(61, 220, 151, .75); color: #9ff2cb; background: rgba(61, 220, 151, .1); }
.vod-option.dot-yellow { color: #ffd978; }
.vod-tracks-legend { margin: .3rem 0 0; font-size: .82rem; }
.vod-tracks-legend.is-green { color: #9ff2cb; }
.vod-tracks-legend.is-yellow { color: #ffd978; }
.dot-orange::before { background: #ff8a3d; box-shadow: 0 0 .5rem rgba(255, 138, 61, .7); }
.vod-chip.dot-orange { border-color: rgba(255, 138, 61, .6); color: #ffb37f; }
.vod-option.dot-orange { color: #ffb37f; }
.vod-tracks-legend.is-orange { color: #ffb37f; }
.vod-chip.is-quiet { border-style: dashed; font-size: .84rem; }
.vod-versions { flex: none; margin: -.2rem 0 .35rem; }
.vod-versions .vod-tracks-legend { margin: -.1rem 0 .3rem; }

/* Trailer in YouTube's player, over everything */
.trailer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 97; background: #000; outline: none; }
.trailer iframe { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; border: 0; }
.trailer-loading { position: absolute; top: 50%; left: 0; right: 0; margin: 0; transform: translateY(-50%); text-align: center;
  color: var(--muted); font-size: 1.3rem; font-weight: 650; }
.trailer.is-failed iframe { visibility: hidden; }
.trailer.is-failed .trailer-loading { z-index: 2; color: #ffb37f; }
.trailer-hint { position: absolute; z-index: 2; left: 0; right: 0; top: 1.2rem; margin: 0; text-align: center; color: rgba(255, 255, 255, .85);
  font-size: .95rem; font-weight: 650; text-shadow: 0 0 .4rem #000; pointer-events: none; transition: opacity .5s; }
.trailer.is-quiet .trailer-hint { opacity: 0; }

/* Loading screen while a Turkish subtitle is prepared */
.prep { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 96; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(4, 6, 10, .82); animation: fade-in .2s ease-out; }
.prep-card { width: 100%; max-width: 40rem; padding: 2.2rem 2.4rem; border-radius: 1.2rem; background: #0e131c; border: 1px solid rgba(233, 207, 136, .18);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .7); }
.prep-card .eyebrow { color: #e9cf88; }
.prep-title { margin: .45rem 0 1.6rem; font-size: 1.9rem; line-height: 1.15; }
.prep-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.prep-stage { font-weight: 750; font-size: 1.12rem; }
.prep-percent { font-weight: 800; font-size: 1.5rem; color: #ffd978; font-variant-numeric: tabular-nums; }
.prep-bar { height: .6rem; border-radius: 1rem; background: rgba(255, 255, 255, .1); overflow: hidden; }
.prep-bar i { display: block; height: 100%; width: 0; border-radius: 1rem; background: linear-gradient(90deg, #ffb340, #ffd978); transition: width .6s ease; }
.prep.is-ready .prep-bar i { background: linear-gradient(90deg, #2fbf80, #3ddc97); }
.prep.is-ready .prep-percent { color: #3ddc97; }
.prep.is-error .prep-bar i { background: #ff5a5f; }
.prep.is-orange .prep-bar i { background: linear-gradient(90deg, #ff6a2b, #ff9d5c); }
.prep.is-orange .prep-percent { color: #ff9d5c; }
.prep.is-orange #prep-main:not(:focus) { background: #ff8a3d; color: #120a04; }
.prep-cost { margin: -.6rem 0 1.2rem; color: var(--dim); font-size: .86rem; }
.prep-note { min-height: 2.9em; margin: .9rem 0 1.4rem; color: var(--muted); line-height: 1.45; }
.prep-actions > * { margin: 0 .7rem .5rem 0; }
.vod-episodes { flex: 1; min-height: 0; overflow-y: auto; margin-top: .4rem; padding: .2rem .2rem 2rem; }
.vod-episode-row { display: flex; align-items: stretch; max-width: 46rem; margin-bottom: .45rem; }
.vod-episode { display: flex; align-items: center; flex: 1; min-width: 0; border: 0; background: rgba(255, 255, 255, .04); text-align: left; padding: .7rem 1rem; border-radius: .8rem; transition: background-color .12s; }
.vod-episode-subtitle { flex: none; align-self: center; margin-left: .5rem; }
.vod-episode-num { width: 2.6rem; flex: none; font-size: 1.2rem; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; }
.vod-episode-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vod-episode-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vod-episode-sub { color: var(--muted); font-size: .84rem; margin-top: .1rem; }
.vod-episode-sub.is-cut { color: #ffb37f; }
.vod-episode .progress { margin-top: .4rem; max-width: 20rem; }
.vod-episode:focus, .vod-episode:hover { background: var(--focus); color: #07090d; }
.vod-episode:focus .vod-episode-sub, .vod-episode:focus .vod-episode-num { color: #3a4152; }
.vod-episode:focus .vod-episode-sub.is-cut { color: #8a3b00; }
.vod-subtitle-dialog { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: grid; place-items: center; padding: 1.25rem; background: rgba(7, 9, 13, .7); }
.vod-subtitle-card { width: 100%; max-width: 31rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .6); }
.vod-subtitle-card h2 { margin: 0 0 .35rem; font-size: 1.55rem; }
.vod-subtitle-name { margin: 0; color: var(--muted); }
.vod-subtitle-status { min-height: 1.45em; margin: .9rem 0; color: var(--muted); line-height: 1.45; }
.vod-subtitle-card .vod-actions { margin: 0; }

/* ------------------------------------------------------------ search */

.search-box { display: flex; align-items: center; max-width: 46rem; margin: .6rem 0 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0 1.2rem; }
.search-box svg { color: var(--dim); flex: none; }
.search-box input { flex: 1; border: 0; background: none; padding: 1rem .9rem; font-size: 1.2rem; min-width: 0; }
.search-box:focus-within { border-color: var(--focus); box-shadow: 0 0 0 .15rem rgba(255, 255, 255, .4); }

/* ------------------------------------------------------------ one search for films, series and live channels */

/* What a result is, in one colour each: films in DNC gold, series in blue, live channels in the live red. */
.type-tag { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: .4rem; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; line-height: 1.2; white-space: nowrap; }
.type-tag.is-movie { color: #f3dfa4; background: rgba(12, 10, 6, .84); box-shadow: inset 0 0 0 1px var(--gold-line); }
.type-tag.is-series { color: #c9d7ff; background: rgba(8, 12, 30, .86); box-shadow: inset 0 0 0 1px rgba(150, 178, 255, .62); }
.type-tag.is-live { color: #fff; background: var(--live); box-shadow: 0 .2rem .7rem rgba(255, 59, 78, .35); }
.type-tag.is-live i { display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: #fff; margin-right: .38rem; animation: pulse 1.6s infinite; }
.poster-art .type-tag { position: absolute; left: .45rem; bottom: .45rem; z-index: 2; }
.card-art .type-tag.on-card { position: absolute; left: .5rem; bottom: .5rem; z-index: 2; }
.card.is-playing .type-tag.on-card { display: none; }

.search-hero { display: flex; align-items: center; flex-wrap: wrap; margin: .5rem 0 .3rem; }
.search-box-global { flex: 1 1 34rem; max-width: 58rem; margin: 0 1.6rem .8rem 0; padding: 0 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border-color: rgba(233, 207, 136, .3);
  box-shadow: 0 .8rem 2rem -1rem rgba(0, 0, 0, .7); }
.search-box-global svg { width: 1.55rem; height: 1.55rem; color: var(--gold); }
.search-box-global input { padding: 1.15rem 1rem; font-size: 1.35rem; }
.search-box-global:focus-within { border-color: var(--gold); box-shadow: 0 0 0 .16rem rgba(233, 207, 136, .45), 0 .8rem 2rem -1rem rgba(0, 0, 0, .7); }
.search-kinds { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 .8rem; }
.search-kinds .type-tag { margin-right: .45rem; }
.search-kinds-note { margin-left: .35rem; color: var(--dim); font-size: .88rem; }

.search-status { display: flex; align-items: center; margin: .2rem 0 1.1rem; color: var(--muted); font-size: 1.02rem; line-height: 1.4; }
.search-status.is-busy { color: #ffd27a; }
.search-spinner { flex: none; width: 1.05rem; height: 1.05rem; margin-right: .6rem; border-width: .18rem; border-top-color: var(--accent-2); }

.search-examples { display: flex; flex-wrap: wrap; margin: -.3rem 0 1.4rem; }
.search-example { margin: 0 .6rem .6rem 0; padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07);
  color: var(--text); font-size: .98rem; box-shadow: inset 0 0 0 1px var(--line); }
.search-example::before { content: "⌕"; margin-right: .45rem; color: var(--gold); }
.search-example:focus, .search-example:hover { background: var(--focus); color: #07090d; }
.search-example:focus::before, .search-example:hover::before { color: #07090d; }

.search-filters { display: flex; flex-wrap: wrap; margin: 0 0 1.3rem; }
.search-filter { display: inline-flex; align-items: center; margin: 0 .6rem .6rem 0; padding: .6rem 1.1rem; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: #c9d0dc; font-size: 1.02rem; font-weight: 750; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .15s, color .15s; }
.search-filter-dot { display: inline-block; width: .6rem; height: .6rem; margin-right: .55rem; border-radius: 50%; }
.search-filter.is-movie .search-filter-dot { background: var(--gold); }
.search-filter.is-series .search-filter-dot { background: #8fb0ff; }
.search-filter.is-live .search-filter-dot { background: var(--live); }
.search-filter-count { margin-left: .55rem; padding: .08rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .84rem;
  font-variant-numeric: tabular-nums; }
.search-filter[aria-pressed="true"] { color: #f6e3ab; background: linear-gradient(180deg, rgba(240, 216, 152, .22), rgba(184, 146, 76, .16));
  box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 1px 0 rgba(255, 240, 200, .25); }
.search-filter:focus, .search-filter:hover { background: var(--focus); color: #07090d; box-shadow: 0 0 0 .16rem rgba(255, 255, 255, .85); }
.search-filter:focus .search-filter-count, .search-filter:hover .search-filter-count { background: rgba(7, 9, 13, .12); }

.search-group { margin: 0 0 1.6rem; }
.search-group + .search-group, .search-group + .smart, .smart + .search-group { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.search-group-head { display: flex; align-items: center; margin: 0 0 .9rem; }
.search-group-head .type-tag { margin-right: .75rem; padding: .3rem .65rem; font-size: .76rem; }
.search-group-title { margin: 0; font-size: 1.45rem; font-weight: 750; }
.search-all { margin-left: auto; }
.search-group .more { display: block; }

/* ------------------------------------------------------------ the live stage */

.stage { position: absolute; z-index: 30; background: #000; overflow: hidden; border-radius: var(--radius); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .55); }
.stage.is-full { position: fixed; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; z-index: 50; box-shadow: none; }
.screen-auth .stage, .screen-opening .stage { display: none; }
.stage video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.stage:not(.is-full) video { cursor: pointer; }
.stage:not(.is-full) .osd, .stage:not(.is-full) .drawer, .stage:not(.is-full) .web-controls { display: none !important; }

.stage-idle { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--dim);
  background: radial-gradient(circle at 50% 40%, #1a2130, #07090d 70%); cursor: pointer; }
.stage-idle p { margin: .7rem 0 0; font-size: .95rem; }

.veil { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 45%, rgba(26, 33, 48, .96), rgba(4, 5, 8, .98) 70%); font-size: 1rem; padding: 1em; }
.stage:not(.is-full) .veil { font-size: .55rem; }
.veil.soft { background: none; pointer-events: none; }
.veil.soft .veil-logo, .veil.soft .veil-title, .veil.soft .veil-text { display: none; }
.veil-logo { width: 10em; height: 6.4em; border-radius: .9em; margin-bottom: 1.2em; box-shadow: 0 1em 3em rgba(0, 0, 0, .5); }
.veil-logo .mono { font-size: 2.4em; }
.veil-title { margin: 0 0 1.2em; font-size: 2em; font-weight: 800; }
.veil-text { margin: 1em 0 0; color: var(--muted); font-size: 1.15em; max-width: 34em; }
.veil.is-waiting .veil-text { color: #ffd27a; }
.veil.is-waiting .spinner { border-top-color: var(--accent-2); }
.veil .pill-button { margin-top: 1.4em; font-size: 1.05em; }
.spinner { width: 3em; height: 3em; border-radius: 50%; border: .28em solid rgba(255, 255, 255, .15); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* On-screen display */
.osd { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
body.osd-visible .osd, body.pointer-active .stage.is-full .osd { opacity: 1; }
.osd-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 2.2rem 3rem 4rem; background: linear-gradient(rgba(0, 0, 0, .7), transparent); }
.osd-live { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: .45rem; background: var(--live); font-weight: 800; letter-spacing: .08em; font-size: .9rem; }
.osd-live.is-busy { background: rgba(255, 255, 255, .18); }
.osd-live.is-busy i { background: var(--accent-2); }
.osd-live.is-error { background: rgba(255, 255, 255, .14); color: var(--muted); }
.osd-clock { font-size: 1.5rem; font-weight: 700; text-shadow: 0 .1rem .6rem rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; }
.osd-banner { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; padding: 6rem 3.4rem 4.6rem; background: linear-gradient(transparent, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .9)); }
.osd-logo { width: 11rem; height: 7rem; flex: none; border-radius: 1rem; margin-right: 2rem; box-shadow: 0 .8rem 2.4rem rgba(0, 0, 0, .55); }
.osd-logo .mono { font-size: 2.2rem; }
.osd-main { flex: 1; min-width: 0; max-width: 70rem; }
.osd-heading { display: flex; align-items: center; margin-bottom: .8rem; }
.osd-number { font-size: 2.2rem; font-weight: 800; color: var(--accent-2); margin-right: 1rem; font-variant-numeric: tabular-nums; }
.osd-name { margin: 0; font-size: 2.5rem; line-height: 1.1; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osd-heading .badges { margin-left: .8rem; }
.osd-heading .badge { font-size: .85rem; }
.osd-star { margin-left: .8rem; color: var(--accent-2); font-size: 1.6rem; }
.osd-now, .osd-next { display: flex; align-items: baseline; white-space: nowrap; }
.osd-now { font-size: 1.35rem; margin-bottom: .55rem; }
.osd-next { font-size: 1.05rem; color: var(--muted); margin-top: .65rem; }
.osd-label { font-size: .72em; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-right: .9rem; width: 4.4rem; flex: none; }
.osd-next .osd-label { color: var(--dim); }
.osd-time { color: var(--muted); margin-right: .9rem; font-variant-numeric: tabular-nums; flex: none; }
.osd-title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.osd .progress { height: .3rem; max-width: 44rem; }
.osd-desc { display: none; margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 56rem; }
body.osd-detail .osd-desc { display: block; }
.osd-hints { position: absolute; left: 0; right: 0; bottom: 1.5rem; text-align: center; color: rgba(255, 255, 255, .55); font-size: .9rem; letter-spacing: .03em; white-space: pre; }
body.osd-pending .osd-hints { color: var(--accent-2); }
body.osd-pending .osd-logo { box-shadow: 0 0 0 .22rem var(--accent-2), 0 .8rem 2.4rem rgba(0, 0, 0, .55); }

/* Channel bar while zapping */
.zap-strip { position: absolute; left: 0; right: 0; bottom: 3rem; height: 7.6rem; overflow: hidden; display: none; pointer-events: none; }
body.osd-strip:not(.osd-detail):not(.mode-vod) .zap-strip { display: block; }
body.osd-strip:not(.osd-detail):not(.mode-vod) .osd-banner { padding-bottom: 12rem; }
body.osd-strip:not(.osd-detail):not(.mode-vod) .osd-hints { bottom: .9rem; }
.zap-track { display: flex; justify-content: center; align-items: flex-end; height: 100%; transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.zap-item { width: 11rem; flex: none; margin: 0 .7rem; display: flex; flex-direction: column; align-items: center; opacity: .55; transform: scale(.88); transition: opacity .2s, transform .2s; }
.zap-item .tile { width: 9rem; height: 5rem; border-radius: .7rem; box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .5); }
.zap-item .tile .mono { font-size: 1.1rem; }
.zap-label { margin-top: .45rem; max-width: 100%; font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 .1rem .5rem rgba(0, 0, 0, .8); }
.zap-label b { color: var(--accent-2); margin-right: .4rem; }
.zap-item.is-center { opacity: 1; transform: scale(1.06); }
.zap-item.is-center .tile { box-shadow: 0 0 0 .2rem var(--accent-2), 0 .8rem 2rem rgba(0, 0, 0, .6); }

/* Films: progress bar in the banner */
.osd-vod { display: none; max-width: 56rem; margin-top: .4rem; }
body.mode-vod .osd-vod { display: block; }
body.mode-vod #osd-progress, body.mode-vod .osd-next, body.mode-vod .osd-now .osd-label, body.mode-vod .osd-now .osd-time { display: none !important; }
body.mode-vod .osd-logo { width: 8rem; height: 12rem; }
body.mode-vod .osd-top .osd-live { display: none; }
body.mode-vod #wc-prev, body.mode-vod #wc-next, body.mode-vod #wc-list { display: none; }
.vod-bar { position: relative; height: .4rem; border-radius: 1rem; background: rgba(255, 255, 255, .18); }
.vod-bar i { display: block; height: 100%; width: 0; border-radius: 1rem; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.vod-bar b { position: absolute; top: -.45rem; width: .3rem; height: 1.3rem; margin-left: -.15rem; border-radius: .2rem; background: #fff; box-shadow: 0 0 .8rem rgba(255, 255, 255, .7); }
.vod-times { display: flex; justify-content: space-between; margin-top: .55rem; font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.vod-seek-label { color: var(--accent-2); font-weight: 800; }
.tile.is-poster img { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.veil-logo.is-poster { width: 8em; height: 12em; }

/* Next episode prompt */
.next-up { position: absolute; right: 3rem; bottom: 4rem; z-index: 8; width: 30rem; padding: 1.6rem 1.8rem; border-radius: 1.1rem; background: rgba(9, 12, 18, .94); box-shadow: 0 1.4rem 3.4rem rgba(0, 0, 0, .65); animation: slide-in .2s ease-out; }
.next-up h3 { margin: .4rem 0 .5rem; font-size: 1.35rem; line-height: 1.25; }
.next-up-count { margin: 0 0 1.1rem; color: var(--muted); }
.next-up-actions > * { margin-right: .7rem; }

/* Channel drawer */
.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 34rem; display: flex; flex-direction: column; background: rgba(7, 9, 13, .93); box-shadow: 2rem 0 4rem rgba(0, 0, 0, .55); z-index: 5; animation: slide-in .18s ease-out; }
@keyframes slide-in { from { transform: translateX(-2rem); opacity: 0; } }
.drawer-tabs { display: flex; padding: 2rem 1.6rem 1rem; flex-wrap: wrap; }
.drawer-tab { border: 0; background: rgba(255, 255, 255, .07); color: var(--muted); padding: .5rem 1rem; border-radius: 999px; margin: 0 .5rem .5rem 0; font-weight: 700; font-size: .95rem; }
.drawer-tab[aria-pressed="true"] { background: var(--panel-3); color: var(--text); box-shadow: inset 0 -.16rem 0 var(--accent); }
.drawer-tab:focus, .drawer-tab:hover { background: var(--focus); color: #07090d; }
.drawer-list { flex: 1; overflow-y: auto; padding: 0 1rem 1rem; min-height: 0; }
.drawer-row { display: flex; align-items: center; margin-bottom: .3rem; }
.drawer-main { flex: 1; min-width: 0; display: flex; align-items: center; border: 0; background: none; text-align: left; padding: .5rem .7rem; border-radius: .7rem; transition: background-color .1s; }
.drawer-num { width: 2.6rem; flex: none; color: var(--dim); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.drawer-main .tile { width: 4.6rem; height: 2.9rem; flex: none; margin-right: .9rem; }
.drawer-main .tile .mono { font-size: .82rem; }
.drawer-text { min-width: 0; display: flex; flex-direction: column; }
.drawer-name { font-weight: 700; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-sub { color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-row.is-playing .drawer-name { color: var(--accent); }
.drawer-row.is-playing .drawer-num { color: var(--accent); }
.drawer-main:focus, .drawer-main:hover { background: var(--focus); color: #07090d; }
.drawer-main:focus .drawer-sub, .drawer-main:focus .drawer-num { color: #3a4152; }
.drawer-star { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: none; color: var(--dim); font-size: 1.2rem; margin-left: .3rem; }
.drawer-star[aria-pressed="true"] { color: var(--accent-2); }
.drawer-star:focus, .drawer-star:hover { background: var(--focus); color: #07090d; }
.drawer-empty { color: var(--muted); padding: 1rem .7rem; line-height: 1.5; }
.drawer-hint { margin: 0; padding: 1rem 1.6rem 1.6rem; color: var(--dim); font-size: .85rem; white-space: pre; border-top: 1px solid var(--line); }
body.drawer-open .osd { opacity: 0; }

/* Desktop controls over the picture */
.web-controls { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; padding: 1.4rem 1.6rem; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 6; }
body.pointer-active .stage.is-full .web-controls { opacity: 1; pointer-events: auto; }
body.pointer-active .stage.is-full .osd-top { opacity: 0; }
.wc-spacer { flex: 1; }
.icon-button { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: flex; align-items: center; justify-content: center; margin-left: .6rem; padding: 0; transition: background-color .15s, color .15s; }
.icon-button:first-child { margin-left: 0; }
.icon-button:hover, .icon-button:focus { background: #fff; color: #07090d; }
.icon-button .fill { fill: currentColor; stroke: none; }
.icon-button .cross { display: none; }
.icon-button.is-muted .cross { display: inline; }
.icon-button.is-muted .wave { display: none; }

/* Number entry and toasts */
.numpad { position: fixed; top: 2.2rem; right: 3rem; z-index: 80; background: rgba(7, 9, 13, .9); border-radius: 1rem; padding: 1rem 1.6rem; text-align: right; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .6); min-width: 12rem; }
.numpad span { display: block; font-size: 3.4rem; font-weight: 800; color: var(--accent-2); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.numpad small { display: block; margin-top: .4rem; color: var(--muted); font-size: 1rem; }
.toast { position: fixed; top: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 90; background: rgba(20, 25, 36, .95); border: 1px solid var(--line); padding: .8rem 1.4rem; border-radius: 999px; font-weight: 650; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .55); max-width: 90vw; text-align: center; }

/* Loading state while the first lists arrive */
body.is-loading .content { opacity: .4; }

/* ------------------------------------------------------------ desktop and phone widths */

/* Browser windows narrower than a TV: the top bar gives up the wordmark, then puts the sections on a row of their own. */
@media (max-width: 1500px) {
  html:not(.tv-mode) .logo-nav .logo-word { display: none; }
  html:not(.tv-mode) .tabs { margin-left: 1.2rem; }
  html:not(.tv-mode) .tab { padding: .6rem 1rem; margin-right: .2rem; }
}
@media (max-width: 1320px) {
  html:not(.tv-mode) #account-name { display: none; }
  html:not(.tv-mode) .account-button .person-badge { margin-right: 0; }
}
@media (max-width: 1180px) {
  html:not(.tv-mode) .topnav { flex-wrap: wrap; height: auto; padding: .8rem 1.6rem .4rem; }
  html:not(.tv-mode) .tabs { order: 3; width: 100%; margin: .6rem 0 0; overflow-x: auto; scrollbar-width: none; }
  html:not(.tv-mode) .tabs::-webkit-scrollbar { display: none; }
  html:not(.tv-mode) .tab { flex: none; }
}

@media (max-width: 1180px) {
  :root { --rail: 22rem; }
  .content { padding-left: 1.6rem; padding-right: 1.6rem; }
  .now-rail { padding-right: 1.6rem; }
  .topnav { padding: 0 1.6rem; }
  .tabs { margin-left: 1.5rem; }
  .discover-col { width: 10.5rem; margin-right: .8rem; }
  .discover-col + .discover-col { width: 12.5rem; }
}

@media (max-width: 860px) {
  body { overflow: auto; }
  .home { position: static; min-height: 100%; }
  .topnav { flex-wrap: wrap; height: auto; padding: .9rem 1rem .4rem; }
  .tabs { order: 3; width: 100%; margin: .7rem 0 0; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; font-size: 1rem; padding: .55rem .95rem; }
  .clock { font-size: 1.1rem; }
  .topnav-end > .pill-button { padding: .45rem .8rem; font-size: .85rem; }
  .home-body { display: flex; flex-direction: column; }
  .now-rail { width: auto; order: -1; padding: .5rem 1rem 0; }
  .remote-help { display: none; }
  .now-info { margin-top: .8rem; }
  .now-name { font-size: 1.3rem; }
  .now-actions { flex-direction: row; flex-wrap: wrap; }
  .now-actions > * { margin-right: .5rem; }
  .content { overflow: visible; padding: .5rem 1rem 3rem; }
  body[data-tab="discover"] .content { overflow: visible; }
  .card-grid, .card-grid.compact { grid-template-columns: repeat(auto-fill, minmax(9.6rem, 1fr)); grid-gap: 1.1rem .8rem; }
  .rail-row { grid-auto-columns: 10rem; }
  .rail-small { grid-auto-columns: 8.6rem; }
  body[data-tab="vod"] .content { overflow: visible; }
  #tab-vod { height: auto; display: block; }
  .vod-browse .discover-col, .vod-browse .discover-col + .discover-col { width: auto; }
  .ambient { display: none; }
  .logo-nav .logo-emblem { width: 4.4rem; }
  .logo-nav .logo-word { width: 6.6rem; margin-left: .7rem; padding-left: .7rem; }
  .logo-opening { width: 80vw; }
  body[data-tab="home"] .content { overflow: visible; padding: 0 1rem 3rem; }
  #tab-home, .showcase { height: auto; display: block; }
  .hero { height: 15rem; padding: 0; }
  .hero-text { width: auto; max-width: none; right: 0; bottom: .8rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-plot { display: none; }
  .hero-player { display: none; }
  body[data-tab="home"] .now-rail { display: flex; }
  .hero-art { width: 100%; height: 22rem; }
  .shelves { overflow: visible; }
  .rail-posters { grid-auto-columns: 7rem; }
  .subtitles { font-size: calc(1.1rem * var(--sub-scale, 1)); }
  .vod-panel { bottom: 9rem; }
  .vod-top { flex-wrap: wrap; }
  .vod-kinds { margin: 0 0 .7rem; }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); grid-gap: 1rem .7rem; }
  .vod-detail { overflow-y: auto; }
  .vod-detail-body { flex-direction: column; height: auto; padding: 1.4rem 1rem 3rem; }
  .vod-detail-poster { width: 9rem; height: 13.5rem; margin: 0 0 1rem; }
  .vod-detail-title { font-size: 1.7rem; }
  .vod-backdrop { width: 100%; height: 50%; }
  .vod-episodes { overflow: visible; }
  .zap-item { width: 7rem; margin: 0 .3rem; }
  .zap-item .tile { width: 6rem; height: 3.4rem; }
  .next-up { left: 1rem; right: 1rem; width: auto; bottom: 1rem; }
  .lineup-head .section-title { font-size: 1.5rem; }
  .group-meta { display: none; }
  .group-empty { grid-column: 1 / span 2; }
  .card-art .tile .mono { font-size: 1.3rem; }
  .discover { display: block; height: auto; }
  .discover-col, .discover-col + .discover-col { width: auto; margin: 0 0 .4rem; }
  .pick-list { display: flex; overflow-x: auto; overflow-y: hidden; padding: .2rem 0 .6rem; }
  .pick { width: auto; flex: none; margin: 0 .4rem 0 0; background: var(--panel); }
  .pick-name { overflow: visible; }
  .discover-main { overflow: visible; padding: 0; }
  .guide-times { margin-left: 8.5rem; }
  .guide-label { width: 8.5rem; }
  .guide-label .tile, .guide-num { display: none; }
  .guide-rows { max-height: none; }
  .osd-top { padding: 1rem 1.2rem 3rem; }
  .osd-banner { padding: 4rem 1.2rem 3rem; }
  .osd-logo { width: 5.5rem; height: 3.6rem; margin-right: 1rem; }
  .osd-logo .mono { font-size: 1.1rem; }
  .osd-number { font-size: 1.4rem; margin-right: .6rem; }
  .osd-name { font-size: 1.4rem; }
  .osd-now { font-size: 1rem; }
  .osd-next { font-size: .9rem; }
  .osd-label { width: 3.6rem; margin-right: .5rem; }
  .osd-hints { display: none; }
  .drawer { width: 100%; }
  .web-controls { padding: .8rem; }
  .icon-button { width: 2.6rem; height: 2.6rem; margin-left: .4rem; }
  .numpad { top: 1rem; right: 1rem; }
  .toast { top: auto; bottom: 1.4rem; }
}

@media (hover: none) {
  body.view-watch .web-controls { opacity: 1; pointer-events: auto; }
}

/* ------------------------------------------------------------ my account and the people in the house */

.account-button { display: inline-flex; align-items: center; }
.person-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.75rem; height: 1.75rem; margin-right: .55rem;
  border-radius: .5rem; background: hsl(var(--person-hue, 14), 58%, 44%); color: #fff; font-weight: 850; font-size: .74rem; letter-spacing: .02em; }
.person-badge.large { width: 3.6rem; height: 3.6rem; margin-right: 1.1rem; border-radius: 1rem; font-size: 1.25rem; }
.account { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 97; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(3, 5, 8, .8); }
.account-card { width: 100%; max-width: 64rem; max-height: 100%; overflow-y: auto; padding: 2rem 2.2rem 1rem; border-radius: 1.2rem;
  background: #0e131c; border: 1px solid var(--line); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .6); }
.account-head { display: flex; align-items: center; }
.account-who { flex: 1; min-width: 0; }
.account-who .eyebrow { color: var(--muted); letter-spacing: .16em; }
.account-title { margin: .2rem 0 0; font-size: 1.9rem; line-height: 1.1; overflow-wrap: anywhere; }
.account-role { margin: .3rem 0 0; color: #e9cf88; font-weight: 700; font-size: .92rem; }
.account-role:empty { display: none; }
.account-note { margin: 1.1rem 0 1.3rem; color: var(--muted); line-height: 1.45; }
.account-columns { display: flex; flex-wrap: wrap; margin: 0 -1rem; }
.account-column { flex: 1 1 24rem; min-width: 0; margin: 0 1rem; }
.account-section { padding-top: 1.2rem; margin-bottom: 1.2rem; border-top: 1px solid var(--line); }
.account-section h3 { margin: 0 0 .9rem; font-size: 1.15rem; }
.account-section h4 { margin: 1.3rem 0 .7rem; font-size: 1rem; color: var(--soft, #d9dfea); }
.account-section label { display: block; margin: 0 0 .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.account-section input { width: 100%; margin-bottom: .9rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: .7rem;
  background: var(--bg-2); font-size: 1.02rem; }
.account-section input:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(217, 181, 106, .32); }
.account-hint { margin: 0 0 .9rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.account-status { margin: .8rem 0 0; padding: .6rem .85rem; border-radius: .6rem; font-size: .92rem; line-height: 1.4; }
.account-status.is-ok { color: #3ddc97; background: rgba(61, 220, 151, .1); }
.account-status.is-error { color: #ff8b7a; background: rgba(255, 70, 50, .1); }
.account-status.is-busy { color: #ffd27a; background: rgba(255, 179, 64, .1); }
#signout.is-armed:not(:focus), .person .pill-button.is-armed:not(:focus) { background: #ff5a5f; color: #fff; }
.people-list { margin: 0; padding: 0; list-style: none; }
.person { display: flex; flex-wrap: wrap; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.person-name { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.person-admin { color: #e9cf88; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.person-actions > * { margin-left: .5rem; }
.person .pill-button { padding: .45rem .9rem; font-size: .88rem; }
.person .pill-button.danger:not(:focus) { color: #ff8b7a; }
.person-reset { display: flex; flex-basis: 100%; align-items: center; margin-top: .6rem; }
.person-reset input { flex: 1; width: auto; margin: 0 .5rem 0 0; }

/* ------------------------------------------------------------ scores from 1 to 10 */

.rate { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 98; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(3, 5, 8, .84); }
.rate-card { width: 100%; max-width: 54rem; padding: 2.2rem 2.4rem 1.6rem; border-radius: 1.2rem; background: #0e131c; text-align: center;
  border: 1px solid var(--line); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .6); }
.rate-card .eyebrow { color: #e9cf88; letter-spacing: .16em; }
.rate-title { margin: .4rem 0 .3rem; font-size: 2rem; line-height: 1.12; overflow-wrap: anywhere; }
.rate-question { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.1rem; }
.rate-scale { display: flex; justify-content: center; }
.rate-score { flex: 1 1 0; min-width: 0; max-width: 4.4rem; height: 4.6rem; margin: 0 .25rem; border: 0; border-radius: .8rem; font-size: 1.6rem;
  font-weight: 850; color: #fff; background: hsla(var(--score-hue), 62%, 42%, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .12s, background-color .12s, box-shadow .12s; }
.rate-score.is-current { box-shadow: inset 0 0 0 .18rem hsl(var(--score-hue), 70%, 60%); }
.rate-score:focus, .rate-score:hover { background: hsl(var(--score-hue), 62%, 44%); box-shadow: 0 0 0 .22rem #fff; transform: scale(1.1); }
.rate-ends { display: flex; justify-content: space-between; margin: .7rem .3rem 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.rate-status { margin: 1.2rem 0 0; padding: .65rem .9rem; border-radius: .6rem; font-size: .98rem; line-height: 1.4; }
.rate-status.is-ok { color: #3ddc97; background: rgba(61, 220, 151, .1); }
.rate-status.is-busy { color: #ffd27a; background: rgba(255, 179, 64, .1); }
.rate-status.is-error { color: #ff8b7a; background: rgba(255, 70, 50, .1); }
.rate-actions { margin-top: 1.3rem; }
.rate-hint { margin: 1rem 0 0; color: var(--dim); font-size: .84rem; }
.vod-rating-note { margin: .2rem 0 1rem; font-size: .95rem; font-weight: 650; line-height: 1.4; }
.vod-rating-note.is-ok { color: #3ddc97; }
.vod-rating-note.is-busy { color: #ffd27a; }
.vod-rating-note.is-orange { color: #ff9d5c; }
.vod-rating-note.is-error { color: #ff8b7a; }

/* ------------------------------------------------------------ searching with a sentence */

.smart { margin: 0 0 1.8rem; padding: 1.2rem 1.3rem 1.3rem; border-radius: 1rem; border: 1px solid rgba(233, 207, 136, .16);
  background: linear-gradient(180deg, rgba(233, 207, 136, .07), rgba(233, 207, 136, .02)); }
.smart-head { margin-bottom: .9rem; }
.smart-eyebrow { color: #e9cf88; letter-spacing: .16em; }
.smart-title { margin: .35rem 0 .6rem; font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
/* "Senin için": film-dizi's suggestion filters as buttons a remote can step through */
.foryou-head { margin: .4rem 0 1rem; }
.foryou-head .section-title { margin-top: .3rem; font-size: 1.9rem; }
.foryou-intro { margin: .45rem 0 0; max-width: 46rem; color: var(--muted); line-height: 1.45; }
.foryou-filters { margin-bottom: .6rem; }
.foryou-picks, .foryou-topics { display: flex; flex-wrap: wrap; }
.foryou-pick { display: flex; flex-direction: column; align-items: flex-start; margin: 0 .55rem .55rem 0; padding: .45rem .95rem .5rem;
  border: 0; border-radius: .8rem; background: rgba(255, 255, 255, .07); color: var(--text); text-align: left;
  box-shadow: inset 0 0 0 1px var(--line); }
.foryou-pick small { color: var(--dim); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.foryou-pick span { margin-top: .1rem; font-size: .98rem; font-weight: 750; }
.foryou-pick.is-set { background: rgba(233, 207, 136, .1); box-shadow: inset 0 0 0 1px var(--gold-line); }
.foryou-pick.is-set span { color: #f3dfa4; }
.foryou-topic { margin: 0 .45rem .45rem 0; padding: .4rem .85rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06);
  color: var(--muted); font-size: .9rem; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.foryou-topic[aria-pressed="true"] { background: linear-gradient(135deg, #f6e3ab, #d9b56a 60%, #c29c55); color: #17120a; box-shadow: none; }
.foryou-pick:focus, .foryou-pick:hover, .foryou-topic:focus, .foryou-topic:hover { box-shadow: 0 0 0 .16rem #fff; outline: 0; }
.foryou-clear { margin: 0 0 .45rem; }
.foryou-row-label { align-self: center; margin: 0 .7rem .45rem .15rem; color: var(--dim); font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; }
.foryou-note { display: flex; flex-wrap: wrap; align-items: center; margin: .2rem 0 .8rem; padding: .8rem 1rem; border-radius: .8rem;
  background: rgba(197, 182, 255, .1); color: #ddd3ff; }
.foryou-note span { flex: 1 1 18rem; margin-right: 1rem; line-height: 1.4; }
.foryou-status { min-height: 1.3rem; margin: .2rem 0 .7rem; color: var(--muted); font-size: .92rem; }
.foryou-status.is-busy::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .5rem; vertical-align: -.1rem;
  border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.foryou-grid .poster-sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .78rem; line-height: 1.3; }
.smart-chips { display: flex; flex-wrap: wrap; margin: 0 0 .45rem; }
.smart-chip { margin: 0 .45rem .45rem 0; padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .09);
  color: var(--text); font-size: .88rem; font-weight: 700; }
.smart-status { display: flex; align-items: center; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.smart-status.is-busy { color: #ffd27a; }
.smart-status.is-ok { color: #3ddc97; }
.smart-status.is-error { color: #ff8b7a; }
.smart-spinner { flex: none; width: 1.1rem; height: 1.1rem; margin-right: .6rem; border-width: .18rem; border-top-color: var(--accent-2); }

/* ------------------------------------------------------------ predicted scores and picture labels on posters */

.poster-score { position: absolute; top: .45rem; left: .45rem; z-index: 2; display: flex; align-items: center;
  height: 1.65rem; padding: 0 .5rem 0 .42rem; border-radius: .5rem; font-size: .84rem; font-weight: 800; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .55); }
.poster-score::before { margin-right: .28rem; font-size: .72rem; line-height: 1; }
.poster-score.is-guess { color: #f3dfa4; background: rgba(10, 9, 6, .74); box-shadow: inset 0 0 0 1px var(--gold-line), 0 .25rem .8rem rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.poster-score.is-guess::before { content: "✦"; color: var(--gold); }
.poster-score.is-mine { color: #17120a; background: linear-gradient(135deg, #f6e3ab, #d9b56a 60%, #c29c55); }
.poster-score.is-mine::before { content: "★"; }
.poster-quality { position: absolute; top: .45rem; right: .45rem; z-index: 2; display: flex; }
.poster-quality span { margin-left: .25rem; padding: .12rem .38rem; border-radius: .35rem; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(6, 8, 12, .78); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
.vod-taste { margin: .1rem 0 .9rem; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.vod-taste.is-guess { color: var(--gold); }
.vod-taste.is-mine { color: #3ddc97; }

/* ------------------------------------------------------------ "Zevkini tanıyalım" */

.meet { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 97; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: radial-gradient(ellipse at 15% -10%, rgba(143, 116, 240, .28), transparent 55%), rgba(3, 5, 8, .92); }
.meet-card { width: 100%; max-width: 74rem; max-height: 100%; overflow-y: auto; padding: 2rem 2.4rem 1.4rem; border-radius: 1.3rem;
  background: #0e131c; border: 1px solid var(--line); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .6); }
.meet-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; margin-bottom: 1.6rem; }
.meet-heading { flex: 1 1 28rem; min-width: 0; margin-right: 2rem; }
.meet-heading .eyebrow { color: #c5b6ff; letter-spacing: .16em; }
.meet-title { margin: .35rem 0 .4rem; font-size: 2.2rem; line-height: 1.1; }
.meet-intro { margin: 0; color: var(--muted); line-height: 1.45; }
.meet-progress { flex: 0 1 22rem; min-width: 14rem; margin-top: 1rem; }
.meet-progress-label { display: flex; justify-content: space-between; margin-bottom: .45rem; font-weight: 800; }
.meet-progress-label span { color: var(--muted); font-weight: 600; }
.meet-bar { height: .65rem; border-radius: 1rem; background: rgba(255, 255, 255, .1); overflow: hidden; }
.meet-bar i { display: block; height: 100%; width: 0; border-radius: 1rem; background: linear-gradient(90deg, #2fbf80, #3ddc97); transition: width .4s ease; }
.meet-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.meet-history { flex: 0 1 18rem; min-width: 0; align-self: flex-start; margin-right: 1.5rem; }
.meet-history ul { margin: 0; padding: 0; list-style: none; }
.meet-past { display: flex; justify-content: space-between; align-items: center; padding: .55rem .7rem; margin-bottom: .45rem; border-radius: .6rem;
  background: rgba(255, 255, 255, .05); font-weight: 650; font-size: .92rem; }
.meet-past span { margin-left: .6rem; padding: .15rem .5rem; border-radius: .35rem; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.meet-past.is-love span { background: rgba(255, 200, 97, .16); color: #ffc861; }
.meet-past.is-like span { background: rgba(61, 220, 151, .14); color: #3ddc97; }
.meet-past.is-dislike span { background: rgba(255, 77, 94, .14); color: #ff8b7a; }
.meet-past.is-unseen span { background: rgba(255, 255, 255, .08); color: var(--muted); }
.meet-film { flex: 0 0 15rem; margin: 0 1.5rem; text-align: center; }
.meet-poster { width: 15rem; padding-top: 0; height: 22.5rem; border-radius: 1rem; box-shadow: 0 0 0 .22rem rgba(255, 255, 255, .9), 0 1.6rem 3rem -1rem rgba(0, 0, 0, .8); }
.meet-name { margin: 1rem 0 .3rem; font-size: 1.3rem; line-height: 1.2; }
.meet-meta { margin: 0; color: var(--muted); font-size: .92rem; }
.meet-answers { flex: 0 1 20rem; min-width: 14rem; }
.meet-answer { display: flex; align-items: center; width: 100%; margin-bottom: .75rem; padding: 1rem 1.2rem; border: 0; border-radius: .9rem;
  background: rgba(255, 255, 255, .06); color: var(--text); font-size: 1.12rem; font-weight: 800; text-align: left;
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .12s, transform .12s, box-shadow .12s; }
.meet-answer i { width: .8rem; height: .8rem; margin-right: .8rem; border-radius: 50%; flex: none; }
.meet-answer small { margin-left: auto; color: var(--dim); font-size: .78rem; font-weight: 800; }
.meet-answer.is-love i { background: #ffc861; }
.meet-answer.is-like i { background: #3ddc97; }
.meet-answer.is-dislike i { background: #ff5a5f; }
.meet-answer.is-unseen i { background: #8a93a6; }
.meet-answer:focus, .meet-answer:hover { transform: scale(1.03); box-shadow: 0 0 0 .2rem #fff; }
.meet-answer.is-love:focus, .meet-answer.is-love:hover { background: #ffc861; color: #1c1200; }
.meet-answer.is-like:focus, .meet-answer.is-like:hover { background: #3ddc97; color: #04170e; }
.meet-answer.is-dislike:focus, .meet-answer.is-dislike:hover { background: #ff5a5f; color: #fff; }
.meet-answer.is-unseen:focus, .meet-answer.is-unseen:hover { background: #d9dfea; color: #07090d; }
.meet-answer:focus small, .meet-answer:hover small { color: inherit; }
.meet-own { max-width: 52rem; margin: 0 auto; padding: .4rem 0 .6rem; }
.meet-own-title { margin: 0 0 .35rem; font-size: 1.6rem; line-height: 1.2; }
.meet-own-text { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.45; }
.meet-search { width: 100%; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255, 255, 255, .06);
  font-size: 1.2rem; }
.meet-search:focus { border-color: #c5b6ff; box-shadow: 0 0 0 .2rem rgba(197, 182, 255, .35); outline: 0; }
.meet-own-status { min-height: 1.3rem; margin: .7rem 0 .4rem; color: var(--muted); font-size: .92rem; }
.meet-found { margin: 0; padding: 0; list-style: none; }
.meet-hit { display: flex; align-items: center; margin-bottom: .6rem; padding: .6rem; border-radius: .9rem; background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px var(--line); }
.meet-hit-poster { flex: none; width: 3.4rem; padding-top: 5.1rem; margin-right: 1rem; border-radius: .5rem; }
.meet-hit-poster .poster-mono { font-size: 1rem; }
.meet-hit-text { flex: 1; min-width: 0; margin-right: 1rem; }
.meet-hit-text b { display: block; font-size: 1.08rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meet-hit-text span { color: var(--muted); font-size: .86rem; }
.meet-hit-answers { display: flex; flex: none; }
.meet-hit-answers .meet-answer { width: auto; margin: 0 0 0 .45rem; padding: .6rem .8rem; font-size: .92rem; }
.meet-hit-answers .meet-answer i { margin-right: .5rem; }
.meet-answer[aria-pressed="true"] { box-shadow: inset 0 0 0 .14rem currentColor; }
.meet-answer.is-love[aria-pressed="true"] { color: #ffc861; }
.meet-answer.is-like[aria-pressed="true"] { color: #3ddc97; }
.meet-answer.is-dislike[aria-pressed="true"] { color: #ff8b7a; }
.meet-own-actions { margin-top: 1rem; text-align: right; }
.meet-foot-buttons .pill-button + .pill-button { margin-left: .6rem; }
@media (max-width: 760px) {
  .meet-hit { flex-wrap: wrap; }
  .meet-hit-answers { width: 100%; margin-top: .6rem; }
  .meet-hit-answers .meet-answer { flex: 1 1 0; min-width: 0; margin: 0 .2rem; padding: .6rem .2rem; justify-content: center;
    font-size: .8rem; }
  .meet-hit-answers .meet-answer i { display: none; }
}
.meet-done { padding: 2.4rem 0 1.6rem; text-align: center; }
.meet-done h3 { margin: 0 0 .6rem; font-size: 2rem; color: #3ddc97; }
.meet-done p { margin: 0 auto 1.6rem; max-width: 36rem; color: var(--soft, #d9dfea); line-height: 1.5; }
.meet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line); }
.meet-hint { color: var(--dim); font-size: .84rem; }
.catalog-box { margin: 1.4rem 0 .4rem; padding: 1rem 1.1rem; border-radius: .8rem; background: rgba(255, 255, 255, .04); }
.catalog-box h4 { margin: 0 0 .5rem; }
.catalog-lines { margin: 0 0 .9rem; padding: 0; list-style: none; color: var(--soft, #d9dfea); font-size: .9rem; line-height: 1.7; }
