@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/BricolageGrotesque-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

:root {
  --bg: #0b0b0d;
  --s1: #141418;
  --s2: #1d1d23;
  --s3: #282830;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f4f6;
  --muted: #9b9ba6;
  --primary: #f10f4a;
  --primary-2: #ff3a6c;
  --good: #19c37d;
}

* { box-sizing: border-box; }

html {
  font-size: 0.8333vw;
  background: var(--bg);
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  font-family: 'LG Smart UI', 'SamsungOne', 'Roboto', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

body { background: var(--bg); }

#app { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; }

.off { display: none !important; }

.ic { width: 1.6rem; height: 1.6rem; flex: none; }

.muted { color: var(--muted); }

h1, h2, h3, p { margin: 0; }

.brand { display: flex; align-items: center; }
.brand img { height: 3.4rem; width: auto; margin-right: 1rem; }
.wm { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; color: #fff; }
.wm b { color: var(--primary); font-weight: 800; }

.spin {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: .3rem solid rgba(255, 255, 255, .15); border-top-color: var(--primary);
  animation: spin .8s linear infinite; flex: none;
}
.spin.big { width: 4rem; height: 4rem; border-width: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 4.2rem; padding: 0 2.2rem; margin: 0 1rem 1rem 0;
  border-radius: 1rem; background: var(--s3); color: var(--text);
  font-size: 1.5rem; font-weight: 700; white-space: nowrap;
  border: .2rem solid transparent; transition: transform .15s, background .15s;
}
.btn .ic { margin-right: .8rem; width: 1.5rem; height: 1.5rem; }
.btn.primary { background: rgba(241, 15, 74, .22); color: #fff; }
.btn.danger { color: #ff8aa5; }
.btn.block { display: flex; width: 100%; margin-right: 0; }
.btn.on .ic { color: #ffc531; fill: #ffc531; }
.btn.focus { background: var(--primary); color: #fff; transform: scale(1.04); border-color: rgba(255, 255, 255, .6); }
.btn.danger.focus { background: #c4163f; }

.icon-btn {
  position: relative; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  border: .2rem solid transparent;
}
.icon-btn.focus { background: var(--primary); border-color: rgba(255, 255, 255, .6); }
.badge {
  position: absolute; top: -.2rem; right: -.2rem; min-width: 1.8rem; height: 1.8rem; padding: 0 .4rem;
  border-radius: .9rem; background: var(--primary); color: #fff; font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.rail {
  width: 9.5rem; flex: none; background: #0f0f12; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; padding-top: 2.4rem;
}
.rail-logo img { height: 3.6rem; margin-bottom: 2.4rem; }
.rail-item {
  width: 7.4rem; padding: 1rem 0; margin-bottom: .6rem; border-radius: 1.2rem;
  display: flex; flex-direction: column; align-items: center; color: var(--muted);
  border: .2rem solid transparent;
}
.rail-item .ic { width: 2.2rem; height: 2.2rem; }
.rail-item span { font-size: 1.15rem; font-weight: 700; margin-top: .5rem; text-align: center; }
.rail-item.active { color: var(--primary); }
.rail-item.focus { background: var(--primary); color: #fff; border-color: rgba(255, 255, 255, .5); }

.main { flex: 1; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 2.2rem 3.2rem 1.4rem; flex: none; }
.top h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -.02em; }
.top-right { display: flex; align-items: center; }
.clock { font-size: 1.8rem; font-weight: 700; color: var(--muted); margin-right: 1.6rem; }

.announce {
  margin: 0 3.2rem 1.2rem; padding: 1rem 1.4rem; border-radius: 1rem; background: rgba(241, 15, 74, .14);
  display: flex; align-items: center; font-size: 1.4rem; flex: none;
}
.announce .ic { margin-right: 1rem; color: var(--primary-2); }

.sy { overflow-y: auto; overflow-x: hidden; }
.sx { overflow-x: auto; overflow-y: hidden; white-space: nowrap; }
.sy::-webkit-scrollbar, .sx::-webkit-scrollbar { width: 0; height: 0; }

.home { flex: 1; padding: 0 0 4rem; }
.row { margin-bottom: 2.2rem; }
.row-title { font-size: 1.9rem; font-weight: 800; margin: 0 3.2rem 1rem; }
.strip { padding: 1rem 3.2rem 1.4rem; display: flex; }

.card { flex: none; display: inline-block; vertical-align: top; margin-right: 1.6rem; border-radius: 1.1rem; transition: transform .15s; }
.card-img { position: relative; border-radius: 1.1rem; overflow: hidden; background: var(--s2); border: .25rem solid transparent; }
.card-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; z-index: 1; }
.card-img img.ok { opacity: 1; }
.card-img img.broken { display: none; }
.card-ph {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, .18);
}
.card.poster { width: 13.4rem; }
.card.poster .card-img { height: 20rem; }
.card.chan { width: 16rem; }
.card.chan .card-img { height: 9rem; background: #18181d; }
.card.chan .card-img img { object-fit: contain; padding: 1rem; }
.card.live-poster .card-img { background: #18181d; }
.card.live-poster .card-img img { object-fit: contain; padding: 1.6rem; }
.kind-tag { display: flex; align-items: center; margin-top: .3rem; font-size: 1.1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.kind-tag i { position: relative; width: .8rem; height: .8rem; margin-right: .5rem; border-radius: 50%; flex: none; }
.movie-tag { color: #ffb74d; }
.movie-tag i { background: #ffa726; }
.series-tag { color: #64b5f6; }
.series-tag i { background: #42a5f5; }
.live-tag { color: #ff4d5e; }
.live-tag i { background: #ff2d43; }
.live-tag i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; background: #ff2d43; animation: live-pulse 1.4s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.card-title {
  margin-top: .7rem; font-size: 1.3rem; font-weight: 600; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-rate {
  position: absolute; right: .6rem; top: .6rem; z-index: 2; padding: .2rem .6rem; border-radius: .6rem;
  background: rgba(0, 0, 0, .7); font-size: 1.1rem; font-weight: 800; display: flex; align-items: center;
}
.card-rate .ic { width: 1rem; height: 1rem; margin-right: .3rem; color: #ffc531; fill: #ffc531; }
.card-prog { position: absolute; left: 0; right: 0; bottom: 0; height: .5rem; background: rgba(255, 255, 255, .2); z-index: 2; }
.card-prog i { display: block; height: 100%; background: var(--primary); }
.card.focus { transform: scale(1.07); }
.card.focus .card-img { border-color: #fff; box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .6); }
.card.focus .card-title { color: #fff; }

.browse { flex: 1; display: flex; min-height: 0; padding: 0 0 0 3.2rem; }
.cats { width: 26rem; flex: none; padding: .6rem 1.2rem 3rem 0; }
.cat {
  padding: 1.15rem 1.4rem; margin-bottom: .4rem; border-radius: .9rem; font-size: 1.45rem; font-weight: 600;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: .2rem solid transparent;
}
.cat.sel { color: #fff; background: var(--s2); }
.cat.focus { background: var(--primary); color: #fff; border-color: rgba(255, 255, 255, .5); }
.list { flex: 1; min-width: 0; padding: 1.8rem 2.4rem 4rem 1.2rem; }
.poster-grid { display: flex; flex-wrap: wrap; align-content: flex-start; }
.poster-grid .card { margin: 0 1.6rem 2rem 0; }
.chan-list { display: block; }

.ch-row {
  display: flex; align-items: center; padding: .8rem 1.4rem; margin-bottom: .4rem; border-radius: .9rem;
  font-size: 1.55rem; font-weight: 600; border: .2rem solid transparent; min-height: 5.4rem;
}
.ch-num { width: 4.4rem; color: var(--muted); font-size: 1.3rem; font-weight: 700; flex: none; }
.ch-logo { position: relative; width: 6.4rem; height: 3.8rem; margin-right: 1.4rem; flex: none; border-radius: .5rem; background: rgba(255, 255, 255, .04); }
.ch-logo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.ch-logo img.broken { display: none; }
.ch-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-fav .ic { color: #ffc531; fill: #ffc531; width: 1.4rem; height: 1.4rem; }
.ch-row.focus { background: var(--primary); border-color: rgba(255, 255, 255, .5); }
.ch-row.focus .ch-num { color: #fff; }
.ch-row.cur .ch-name { color: var(--primary-2); }
.ch-row.cur.focus .ch-name { color: #fff; }

.empty { padding: 3rem 0; color: var(--muted); font-size: 1.6rem; }

.detail { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 40; background: var(--bg); }
.detail-bg {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: cover; background-position: center;
  opacity: .1;
}
.detail-body { position: relative; display: flex; height: 100%; padding: 6rem 6rem 0; }
.detail-poster { position: relative; width: 26rem; height: 39rem; flex: none; border-radius: 1.4rem; overflow: hidden; background: var(--s2); margin-right: 4rem; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-poster img.broken { display: none; }
.detail-info { flex: 1; min-width: 0; padding-bottom: 4rem; }
.detail-title { font-size: 3.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.detail-meta { margin: 1.4rem 0; display: flex; flex-wrap: wrap; }
.detail-meta span { display: inline-flex; align-items: center; margin: 0 1rem .6rem 0; padding: .4rem 1rem; border-radius: .7rem; background: var(--s2); font-size: 1.3rem; font-weight: 700; color: #d9d9e0; }
.detail-meta .ic { width: 1.2rem; height: 1.2rem; margin-right: .4rem; color: #ffc531; fill: #ffc531; }
.detail-plot { font-size: 1.5rem; line-height: 1.55; color: #cfcfd6; max-width: 90rem; margin-bottom: 2rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.detail-btns { display: flex; flex-wrap: wrap; margin-bottom: 1.4rem; }
.people { font-size: 1.35rem; color: var(--muted); margin-bottom: .6rem; max-width: 90rem; }
.people b { color: #e5e5ea; margin-right: .5rem; }
.loading-inline { padding: 2rem 0; }
.season-tabs { display: flex; padding: .6rem 0 1.2rem; margin-bottom: .4rem; }
.chip {
  flex: none; padding: .8rem 1.6rem; margin-right: .8rem; border-radius: 2rem; background: var(--s2); font-size: 1.35rem; font-weight: 700;
  color: var(--muted); border: .2rem solid transparent;
}
.chip.sel { color: #fff; background: var(--s3); }
.chip.focus { background: var(--primary); color: #fff; border-color: rgba(255, 255, 255, .5); }
.episodes { max-width: 100rem; }
.ep-row {
  position: relative; display: flex; align-items: flex-start; padding: 1.1rem 1.4rem; margin-bottom: .5rem; border-radius: .9rem;
  background: rgba(255, 255, 255, .03); border: .2rem solid transparent;
}
.ep-num { width: 3.4rem; font-size: 1.6rem; font-weight: 800; color: var(--muted); flex: none; }
.ep-main { flex: 1; min-width: 0; }
.ep-main b { display: block; font-size: 1.5rem; }
.ep-main small { display: block; margin-top: .3rem; font-size: 1.2rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-prog { position: absolute; left: 1.4rem; right: 1.4rem; bottom: .4rem; height: .3rem; background: rgba(255, 255, 255, .15); }
.ep-prog i { display: block; height: 100%; background: var(--primary); }
.ep-row.focus { background: var(--primary); border-color: rgba(255, 255, 255, .5); }
.ep-row.focus .ep-num, .ep-row.focus small { color: #fff; }

.search-box { padding: 0 3.2rem 1.4rem; flex: none; }
.search-results { padding-left: 3.2rem; }

.field {
  display: flex; align-items: center; height: 5rem; padding: 0 1.4rem; margin-bottom: 1.1rem; border-radius: 1rem;
  background: var(--s2); border: .2rem solid var(--line); color: var(--muted);
}
.field .ic { margin-right: 1.1rem; }
.field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 1.6rem;
}
.field input::placeholder { color: #70707a; }
.field.focus { border-color: #fff; background: var(--s3); color: #fff; }

.settings { flex: 1; padding: 0 3.2rem 4rem; max-width: 110rem; }
.set-head { font-size: 1.25rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-2); margin: 1.8rem 0 1rem; }
.tile {
  display: flex; align-items: center; padding: 1.3rem 1.6rem; margin-bottom: .6rem; border-radius: 1.1rem;
  background: var(--s1); border: .2rem solid transparent;
}
.tile > .ic { width: 2.2rem; height: 2.2rem; margin-right: 1.6rem; color: var(--primary-2); }
.tile-main { flex: 1; min-width: 0; }
.tile-main b { display: block; font-size: 1.6rem; }
.tile-main small { display: block; margin-top: .3rem; font-size: 1.3rem; color: var(--muted); }
.tag { padding: .4rem 1rem; border-radius: .6rem; background: var(--primary); color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: .04em; }
.tile.focus { background: var(--primary); border-color: rgba(255, 255, 255, .5); }
.tile.focus > .ic, .tile.focus small { color: #fff; }
.tile.focus .tag { background: #fff; color: var(--primary); }
.disclaimer { margin-top: 2rem; font-size: 1.25rem; color: var(--muted); line-height: 1.5; max-width: 80rem; }

.modal-wrap {
  position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 80; background: rgba(0, 0, 0, .72);
  display: flex; align-items: center; justify-content: center;
}
.modal { width: 60rem; max-height: 86vh; padding: 3rem; border-radius: 1.8rem; background: var(--s1); border: 1px solid var(--line); display: flex; flex-direction: column; }
.modal.wide { width: 84rem; }
.modal-title { font-size: 2.4rem; font-weight: 800; margin-bottom: 1.4rem; }
.modal-body { font-size: 1.5rem; line-height: 1.5; color: #d6d6dc; margin-bottom: 1.8rem; min-height: 0; }
.modal-body p { margin-bottom: .8rem; }
.modal-btns { display: flex; flex-wrap: wrap; flex: none; }
.note-img { display: block; max-width: 100%; max-height: 40vh; border-radius: 1rem; margin-bottom: 1.2rem; }
.inbox { max-height: 56vh; }
.note { display: flex; align-items: center; padding: 1.2rem; margin-bottom: .6rem; border-radius: 1rem; background: var(--s2); }
.note img { width: 9rem; height: 5.6rem; object-fit: cover; border-radius: .6rem; margin-right: 1.4rem; flex: none; }
.note-ic { width: 4rem; margin-right: 1rem; color: var(--muted); display: flex; justify-content: center; flex: none; }
.note-main { flex: 1; min-width: 0; }
.note-main b { font-size: 1.5rem; }
.note-main p { font-size: 1.3rem; color: var(--muted); margin: .3rem 0 0; }

.toast {
  position: fixed; left: 50%; top: 3rem; z-index: 120; max-width: 80rem; padding: 1.4rem 2.4rem; border-radius: 1.2rem;
  background: #222229; border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; font-weight: 600;
  transform: translate(-50%, -2rem); opacity: 0; transition: transform .25s, opacity .25s; box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, .5);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: flex; align-items: center; height: 4.4rem; padding: 0 1.6rem;
  background: var(--primary); color: #fff; box-shadow: 0 -.6rem 2rem rgba(0, 0, 0, .35);
  transform: translateY(100%); transition: transform .35s ease-out;
}
.ticker.top { top: 0; bottom: auto; box-shadow: 0 .6rem 2rem rgba(0, 0, 0, .35); transform: translateY(-100%); }
.ticker.show { transform: translateY(0); }
.tk-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 3rem; height: 3rem; margin-right: 1.2rem; }
.tk-icon .ic { width: 2.6rem; height: 2.6rem; }
.tk-track { position: relative; flex: 1; height: 100%; overflow: hidden; }
.tk-text { position: absolute; left: 0; top: 0; line-height: 4.4rem; white-space: nowrap; font-size: 1.9rem; font-weight: 700; letter-spacing: .01em; will-change: transform; }
.tk-logo { flex: none; width: 2.4rem; height: 2.7rem; margin-left: 1.4rem; object-fit: contain; }
body.has-ticker-bottom .pl-bottom { padding-bottom: 7.8rem; }
body.has-ticker-top .pl-top { margin-top: 4.4rem; }

.loading { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.loading .brand { margin-bottom: 3rem; }
.loading .brand img { height: 5rem; }
.loading .wm { font-size: 3.6rem; }
.loading-step { margin-top: 2rem; font-size: 1.6rem; color: var(--muted); min-height: 2rem; }
.loading h1 { font-size: 2.6rem; margin-bottom: 1rem; }

.setup { width: 100%; display: flex; padding: 5rem 6rem; }
.setup-left { flex: 1; max-width: 70rem; margin-right: 6rem; }
.setup-left h1 { font-size: 2.8rem; font-weight: 800; margin: 3rem 0 2rem; letter-spacing: -.02em; }
.seg { display: flex; padding: .5rem; border-radius: 1.2rem; background: var(--s1); margin-bottom: 1.8rem; }
.seg-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 4.4rem; border-radius: .9rem;
  font-size: 1.5rem; font-weight: 700; color: var(--muted); border: .2rem solid transparent;
}
.seg-btn .ic { margin-right: .8rem; }
.seg-btn.sel { background: var(--s3); color: #fff; }
.seg-btn.focus { background: var(--primary); color: #fff; border-color: rgba(255, 255, 255, .5); }
.form .btn.block { margin-top: .6rem; }
.form-status { display: flex; align-items: center; min-height: 3rem; font-size: 1.45rem; color: #ffb1c3; margin-top: .8rem; }
.form-status .spin { width: 1.8rem; height: 1.8rem; border-width: .25rem; margin-right: 1rem; }
.form-status span { color: var(--muted); }
.setup-right { width: 46rem; flex: none; }

.tvlink { padding: 3rem; border-radius: 1.8rem; background: var(--s1); border: 1px solid var(--line); text-align: center; }
.tvlink h2 { font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }
.tvlink-qr { width: 24rem; height: 24rem; margin: 0 auto; padding: 1.2rem; border-radius: 1.2rem; background: #fff; display: flex; align-items: center; justify-content: center; }
.tvlink-qr svg { width: 100%; height: 100%; display: block; }
.tvlink-site { margin-top: 1.4rem; font-size: 1.7rem; font-weight: 800; color: #fff; }
.tvlink-codes { display: flex; justify-content: center; margin-top: 2rem; }
.tvlink-codes div { padding: 1rem 1.6rem; margin: 0 .6rem; border-radius: 1rem; background: var(--s2); }
.tvlink-codes small { display: block; font-size: 1.1rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.tvlink-codes b { display: block; font-size: 2rem; letter-spacing: .08em; margin-top: .3rem; font-family: 'Consolas', 'Roboto Mono', monospace; }

.license { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 90; background: var(--bg); padding: 5rem 7rem; }
.lic-grid { display: flex; align-items: center; margin-top: 5rem; }
.lic-left { flex: 1; margin-right: 6rem; }
.lic-left h1 { font-size: 3.4rem; font-weight: 800; letter-spacing: -.02em; }
.lic-sub { font-size: 1.7rem; color: var(--muted); margin-top: 1rem; }
.lic-code { margin: 3rem 0 2.4rem; padding: 1.6rem 2rem; border-radius: 1.2rem; background: var(--s1); display: inline-block; }
.lic-code small { display: block; font-size: 1.2rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.lic-code b { display: block; font-size: 3.2rem; letter-spacing: .1em; margin-top: .4rem; font-family: 'Consolas', 'Roboto Mono', monospace; }
.lic-plans { display: flex; margin-bottom: 2.4rem; }
.plan { padding: 1.4rem 2.2rem; margin-right: 1.2rem; border-radius: 1.2rem; background: var(--s1); border: 1px solid var(--line); min-width: 16rem; }
.plan small { display: block; font-size: 1.3rem; color: var(--muted); font-weight: 700; }
.plan b { display: block; font-size: 2.6rem; margin-top: .3rem; }
.lic-right { width: 32rem; flex: none; text-align: center; }
.lic-qr { width: 28rem; height: 28rem; margin: 0 auto; padding: 1.4rem; background: #fff; border-radius: 1.4rem; }
.lic-qr svg { width: 100%; height: 100%; display: block; }
.lic-site { margin-top: 1.4rem; font-size: 1.8rem; font-weight: 800; }

.player { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 60; background: #000; }
.player video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
body.playing #app { visibility: hidden; }
.pl-msg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; padding: 1.6rem 2.4rem; border-radius: 1.2rem;
  background: rgba(0, 0, 0, .65); display: flex; align-items: center; font-size: 1.6rem; max-width: 70rem; text-align: center;
}
.pl-msg .spin { margin-right: 1.2rem; }
.pl-flash {
  position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; min-width: 9rem; height: 9rem; padding: 0 2.4rem;
  border-radius: 4.5rem; background: rgba(0, 0, 0, .6); color: #fff; transform: translate(-50%, -50%); transition: opacity .2s; pointer-events: none;
}
.pl-flash.off { opacity: 0; }
.pl-flash .ic { width: 4.4rem; height: 4.4rem; }
.pl-flash.txt span { font-size: 3rem; font-weight: 800; letter-spacing: .02em; }
.pl-osd { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; }
.pl-top {
  position: absolute; left: 0; right: 0; top: 0; padding: 3rem 4rem 6rem; display: flex; align-items: center;
  background: linear-gradient(rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}
.pl-logo { width: 8rem; height: 5rem; margin-right: 2rem; flex: none; }
.pl-logo img { width: 100%; height: 100%; object-fit: contain; }
.pl-meta { flex: 1; min-width: 0; }
.pl-title { font-size: 2.6rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sub { font-size: 1.5rem; color: #cfcfd6; margin-top: .4rem; }
.pl-clock { font-size: 2rem; font-weight: 700; color: #ddd; }
.pl-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 7rem 4rem 3.4rem; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .88)); }
.epg-row { display: flex; align-items: center; font-size: 1.5rem; color: #bdbdc6; margin-top: .6rem; }
.epg-row.now { color: #fff; font-size: 1.8rem; font-weight: 700; }
.epg-time { width: 14rem; flex: none; font-weight: 700; color: var(--primary-2); }
.epg-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-bar { width: 16rem; height: .5rem; margin-left: 2rem; background: rgba(255, 255, 255, .2); border-radius: .3rem; overflow: hidden; }
.epg-bar i { display: block; height: 100%; background: var(--primary); }
.pl-barw { padding: 1.2rem 0; cursor: pointer; }
.pl-bar { height: .7rem; border-radius: .4rem; background: rgba(255, 255, 255, .22); overflow: hidden; }
.pl-fill { height: 100%; width: 0; background: var(--primary); }
.pl-times { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: #ddd; }
.pl-state .ic { width: 2.4rem; height: 2.4rem; }
.pl-speed { display: inline-block; padding: .3rem 1rem; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; }
.pl-list {
  position: absolute; left: 0; top: 0; bottom: 0; width: 52rem; z-index: 4; padding: 3rem 1.6rem 2rem 3rem;
  background: linear-gradient(90deg, rgba(8, 8, 10, .96) 70%, rgba(8, 8, 10, .0)); display: flex; flex-direction: column;
}
.pl-list-head { font-size: 2rem; font-weight: 800; margin-bottom: 1.4rem; flex: none; }
.pl-list-body { flex: 1; padding-right: 3rem; }
.pl-list .ch-row img { width: 6.4rem; height: 3.6rem; object-fit: contain; margin-right: 1.4rem; flex: none; }
.pl-list .ch-ph { width: 6.4rem; height: 3.6rem; margin-right: 1.4rem; flex: none; }

.hero { position: relative; height: 34rem; margin: 0 3.2rem 2.6rem; border-radius: 1.6rem; overflow: hidden; background: var(--s1); }
.hero-bg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.hero-bg img { position: absolute; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; opacity: 0; }
.hero-bg img.ok { opacity: .35; }
.hero-bg img.broken { display: none; }
.hero-shade { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(90deg, #141418 38%, rgba(20, 20, 24, .85) 55%, rgba(20, 20, 24, .2)); }
.hero-body { position: relative; display: flex; align-items: center; height: 100%; padding: 0 3rem; }
.hero-poster { position: relative; flex: none; width: 18rem; height: 27rem; border-radius: 1.2rem; overflow: hidden; background: var(--s2); margin-right: 3rem; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-poster img.ok { opacity: 1; }
.hero-poster img.broken { display: none; }
.hero-info { flex: 1; min-width: 0; max-width: 70rem; }
.hero-tag { display: inline-block; padding: .4rem 1rem; border-radius: .6rem; background: var(--primary); color: #fff; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hero-title { font-size: 3.6rem; font-weight: 800; margin: 1.2rem 0 .8rem; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-meta { color: var(--muted); font-size: 1.5rem; margin-bottom: 1.2rem; }
.hero-meta span { margin-right: 1.8rem; display: inline-flex; align-items: center; }
.hero-meta .ic { width: 1.4rem; height: 1.4rem; margin-right: .4rem; color: #ffc531; fill: #ffc531; }
.hero-plot { font-size: 1.5rem; line-height: 1.5; color: #d0d0d8; margin: 0 0 2rem; max-height: 6.8rem; overflow: hidden; }
.hero-btns { display: flex; }
.hero-btns .btn { margin-right: 1.4rem; display: inline-flex; align-items: center; }
.hero-btns .btn .ic { width: 1.8rem; height: 1.8rem; margin-right: .8rem; }

.robot { flex: 1; padding: 0 3.2rem 4rem; }
.robot-q { display: flex; align-items: center; margin: .6rem 0 2rem; }
.robot-q h2 { font-size: 2.4rem; font-weight: 800; margin: .2rem 0; }
.robot-q small { color: var(--muted); font-size: 1.4rem; }
.robot-face { flex: none; width: 6.4rem; height: 6.4rem; border-radius: 1.6rem; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-right: 2rem; }
.robot-face .ic { width: 3.6rem; height: 3.6rem; }
.robot-opts { display: flex; flex-wrap: wrap; margin-bottom: 2rem; }
.robot-opts .chip { margin: 0 1.2rem 1.2rem 0; font-size: 1.7rem; padding: 1.1rem 2rem; }
.robot-grid { padding: 0; }

.search-hint { display: flex; align-items: center; color: var(--muted); font-size: 1.4rem; margin: 1rem 0 0; }
.search-hint .ic { width: 1.6rem; height: 1.6rem; margin-right: .8rem; }

.load-parts { margin-top: 3rem; width: 46rem; text-align: left; }
.load-part { display: flex; align-items: center; padding: 1.2rem 1.6rem; margin-bottom: .8rem; border-radius: 1rem; background: var(--s1); }
.load-part b { flex: 1; font-size: 1.7rem; }
.load-part small { color: var(--muted); font-size: 1.4rem; }
.lp-ic { width: 2.6rem; height: 2.6rem; margin-right: 1.4rem; display: flex; align-items: center; justify-content: center; }
.lp-ic .spin { width: 2.2rem; height: 2.2rem; border-width: .25rem; }
.load-part.done .lp-ic { color: var(--good); }
.load-part.done small { color: var(--text); }
.load-note { max-width: 56rem; margin-top: 2rem; font-size: 1.4rem; color: var(--muted); line-height: 1.5; }

.people-row { display: flex; align-items: flex-start; margin-bottom: 1.2rem; max-width: 100rem; }
.people-label { flex: none; width: 11rem; padding-top: .9rem; font-size: 1.35rem; color: #e5e5ea; }
.people-chips { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; }
.person-chip { display: inline-flex; align-items: center; margin: 0 .8rem .8rem 0; }
.person-chip .ic { width: 1.4rem; height: 1.4rem; margin-right: .6rem; }
.person-photo { position: relative; width: 26rem; height: 34rem; flex: none; border-radius: 1.4rem; overflow: hidden; background: var(--s2); margin-right: 4rem; display: flex; align-items: center; justify-content: center; }
.person-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.person-photo img.broken { display: none; }
.person-photo .ph .ic { width: 8rem; height: 8rem; color: var(--muted); }
.person-bio { font-size: 1.45rem; line-height: 1.55; color: #cfcfd6; max-width: 90rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.person-grid { padding: 0; }
.person-credits { font-size: 1.35rem; color: var(--muted); line-height: 1.7; max-width: 100rem; }
.person-credits small { color: #6f6f78; }

.tag.off { background: var(--s3); color: var(--muted); }
.prompt-text { margin-bottom: 1.4rem; }
.prompt .field { margin-bottom: 1rem; }
.prompt .field.multi { align-items: flex-start; }
.prompt textarea { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: inherit; font: inherit; font-size: 1.6rem; resize: none; }
.prompt-err { color: var(--primary-2); min-height: 2rem; font-size: 1.4rem; }
.speed-row { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.speed-row small { color: var(--muted); font-size: 1.5rem; }
.speed-row b { font-size: 2rem; }
.speed-note { margin-top: 1.4rem; color: var(--muted); }
.legal-list .tile { margin-bottom: .8rem; }
.legal-mail { margin-top: 1.2rem; color: var(--muted); }
.legal-doc { max-height: 58vh; overflow: hidden; padding-right: 1rem; }
.legal-doc h3 { font-size: 1.8rem; margin: 1.6rem 0 .8rem; color: #fff; }
.legal-doc p { font-size: 1.45rem; }
.legal-doc .li { padding-left: 1.4rem; }
.prompt .field.multi { height: auto; padding: 1rem 1.4rem; }

.modal-btns .btn .flag, .modal-btns .btn .flag-swap { margin-right: 1rem; }
.flag { display: inline-block; width: 2.6rem; height: 1.74rem; border-radius: .3rem; vertical-align: middle; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.flag-swap { position: relative; display: inline-block; width: 2.6rem; height: 1.74rem; vertical-align: middle; flex: none; }
.flag-swap .flag { position: absolute; left: 0; top: 0; }
.flag-swap .flag:last-child { animation: flagswap 6s ease-in-out infinite; }
@keyframes flagswap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }

.card.see-all .card-img { display: flex; align-items: center; justify-content: center; background: var(--s1); border-style: dashed; border-color: rgba(255, 255, 255, .18); }
.see-all-in { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); padding: 0 1rem; }
.see-all-in .ic { width: 3.6rem; height: 3.6rem; margin-bottom: 1.2rem; color: var(--primary-2); }
.see-all-in b { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.card.see-all.focus .card-img { border-style: solid; border-color: #fff; background: var(--primary); }
.card.see-all.focus .see-all-in .ic, .card.see-all.focus .see-all-in b { color: #fff; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 1.6rem; display: flex; justify-content: center; }
.hero-dots i { width: .9rem; height: .9rem; border-radius: 50%; background: rgba(255, 255, 255, .3); margin: 0 .5rem; }
.hero-dots i.on { width: 2.6rem; border-radius: .5rem; background: var(--primary); }
.hero-btns .hero-arrow { margin-right: 1rem; width: 5rem; height: 5rem; }
.hero-btns .hero-arrow .ic { width: 2.2rem; height: 2.2rem; }
.hero-btns .hero-arrow.next .ic { transform: rotate(180deg); }
.hero-btns .hero-arrow { background: rgba(255, 255, 255, .12); }
.lang-modal .modal-btns { flex-wrap: wrap; justify-content: flex-start; }
.lang-modal .modal-btns .btn { flex: 0 0 18.4%; box-sizing: border-box; justify-content: center; margin: 0 1.2rem 1.2rem 0; padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }
.lang-modal .modal-btns .btn:nth-child(5n) { margin-right: 0; }
.pl-keys { display: flex; flex-wrap: wrap; margin-top: 1.6rem; }
.pl-key { display: inline-flex; align-items: center; margin-right: 2.6rem; font-size: 1.5rem; font-weight: 700; color: #e6e6ea; cursor: pointer; }
.pl-key i { width: 1.6rem; height: 1rem; border-radius: .3rem; margin-right: .8rem; flex: none; }
.k-yellow { background: #f5c518; } .k-green { background: #2ecc71; } .k-blue { background: #3498db; }

.wn-list { margin: 0; padding-left: 2.2rem; font-size: 1.5rem; line-height: 1.5; }
.wn-list li { margin: .5rem 0; }
.wn-list li::marker { color: var(--primary); }
.setup-note { margin: 0 0 1.6rem; padding: 1.2rem 1.6rem; border-left: .4rem solid var(--primary); border-radius: .8rem; background: rgba(255, 255, 255, .06); color: #ececf1; font-size: 1.5rem; line-height: 1.45; }
.tvlink-manual { margin: 1.4rem 0 0; font-size: 1.4rem; line-height: 1.4; color: var(--muted); }

/* Sağdan sola diller (Arapça) */
html[dir=rtl] body { direction: rtl; }
html[dir=rtl] .modal-btns .btn .flag, html[dir=rtl] .modal-btns .btn .flag-swap { margin-right: 0; margin-left: 1rem; }
