/* Rocket Player - web - v1.1 */
:root {
	--bg: #0d0d12;
	--panel: #15151d;
	--panel-2: #1d1d27;
	--panel-3: #262633;
	--line: #2a2a36;
	--text: #f3f3f5;
	--muted: #9a9aa8;
	--accent: #FFDE59;
	--accent-ink: #1a1500;
	--danger: #eb5757;
	--ok: #6fcf97;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { overscroll-behavior: none; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
.boot { display: grid; place-items: center; height: 100vh; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* Autocompletado de Chrome: mantener fondo oscuro */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--text);
	-webkit-box-shadow: 0 0 0 1000px var(--panel-2) inset;
	caret-color: var(--text);
	transition: background-color 9999s ease-out;
}

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; letter-spacing: .02em; text-decoration: none; color: var(--text); white-space: nowrap; }
.brand b { color: var(--accent); }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- Botones y mensajes ---------- */
.btn { border: 0; border-radius: 8px; padding: 11px 16px; font-weight: 700; background: var(--panel-2); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); width: 100%; font-size: 16px; }
.btn.primary:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.msg { border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; border: 1px solid; }
.msg.err { border-color: rgba(235,87,87,.5); background: rgba(235,87,87,.08); }
.msg.warn { border-color: rgba(255,222,89,.5); background: rgba(255,222,89,.08); }
.msg b { display: block; }
.empty { padding: 28px 16px; color: var(--muted); text-align: center; }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px;
	background: radial-gradient(1200px 600px at 50% -10%, rgba(255,222,89,.10), transparent 60%), var(--bg); }
.login.with-bg { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.login.with-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13,13,18,.55), rgba(13,13,18,.75)); }
.login.with-bg .login-card { position: relative; background: rgba(21,21,29,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.login-card { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px 22px; }
.login-card .brand { font-size: 26px; margin-bottom: 4px; }
.login-card p.lead { margin: 0 0 20px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; color: var(--text); }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
.row label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.login-card .foot { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Estructura ---------- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; }  /* fijo: evita que iOS Safari desplace la cabecera fuera de pantalla */
.top { display: flex; align-items: center; gap: 14px; padding: 0 16px; height: 54px; flex: none; border-bottom: 1px solid var(--line); background: var(--panel); }
.top .brand { font-size: 19px; }
.top nav { display: flex; gap: 2px; margin-left: 6px; }
.top nav button { background: transparent; border: 0; border-radius: 6px; padding: 8px 12px; color: var(--muted); font-weight: 600; }
.top nav button.on { color: var(--text); background: var(--panel-2); }
.top nav button:disabled { opacity: .45; cursor: default; }
.top .spacer { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 6px 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.seg button.on { background: var(--panel-3); color: var(--text); }
.top .acct { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.25; }
.top .acct b { color: var(--text); font-weight: 600; }
.top .acct .soon { color: var(--accent); }
.top .acct .exp { color: var(--danger); }

/* Banner publicitario */
.ad { position: relative; flex: none; background: #000; border-bottom: 1px solid var(--line); }
.ad a, .ad span.img { display: block; }
.ad img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 3; max-height: 220px; object-fit: cover; }
.ad .x { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; line-height: 26px; padding: 0; }
.ad .dots { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.ad .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ad .dots i.on { background: var(--accent); }

main { flex: 1; min-height: 0; }

/* ---------- Vista Inicio (estantes) ---------- */
.home { height: 100%; overflow-y: auto; padding: 14px 0 40px; }
.shelf { margin-bottom: 22px; position: relative; }
.shelf h3 { margin: 0 20px 8px; font-size: 17px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.shelf h3 button { background: transparent; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; padding: 0; }
.shelf h3 button:hover { color: var(--accent); }
.rail { display: flex; gap: 10px; overflow-x: auto; padding: 4px 20px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 150px; scroll-snap-align: start; background: transparent; border: 0; padding: 0; text-align: left; color: var(--text); position: relative; border-radius: 10px; }
.tile .pick { display: block; width: 100%; background: transparent; border: 0; padding: 0; text-align: left; color: inherit; border-radius: 10px; }
.tile .art { display: grid; width: 150px; height: 96px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; overflow: hidden; border: 2px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.tile .art img { width: 80%; height: 70%; object-fit: contain; }
.tile .art .ini { font-size: 28px; font-weight: 800; color: var(--muted); }
.tile:hover .art, .tile .pick:focus-visible .art { transform: scale(1.04); border-color: var(--accent); }
.tile.on .art { border-color: var(--accent); }
.tile .t { display: block; margin-top: 6px; font-size: 13px; line-height: 1.25; height: 2.5em; overflow: hidden; }
.tile .t small { display: block; color: var(--muted); font-size: 12px; }
.tile .fav { position: absolute; top: 6px; right: 6px; }
.shelf .arr { position: absolute; top: 34px; width: 36px; height: 96px; border: 0; background: linear-gradient(90deg, rgba(13,13,18,.95), rgba(13,13,18,0)); color: #fff; font-size: 22px; opacity: 0; transition: opacity .15s; }
.shelf .arr.r { right: 0; background: linear-gradient(270deg, rgba(13,13,18,.95), rgba(13,13,18,0)); }
.shelf .arr.l { left: 0; }
.shelf:hover .arr { opacity: 1; }
.home .more { display: block; margin: 10px auto; }

/* Estrella de favoritos */
.fav { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 15px; line-height: 28px; padding: 0; text-align: center; flex: none; }
.fav.on { color: var(--accent); }
.fav:hover { background: rgba(0,0,0,.8); }

/* ---------- Vista Lista ---------- */
.live { display: grid; grid-template-columns: 220px 300px 1fr; height: 100%; min-height: 0; }
.col { min-height: 0; overflow: auto; border-right: 1px solid var(--line); }
.col-head { position: sticky; top: 0; z-index: 1; background: var(--bg); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.col-head input { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.list { list-style: none; margin: 0; padding: 6px; }
.list li { border-radius: 8px; display: flex; align-items: center; }
.list li > button.main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; background: transparent; border: 0; padding: 9px 10px; border-radius: 8px; color: var(--text); }
.list li:hover { background: var(--panel-2); }
.list li.on { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--accent); }
.list li.sep { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; border-radius: 0; }
.list .n { color: var(--muted); font-size: 12px; min-width: 28px; text-align: right; }
.list img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: #0a0a0e; flex: none; }
.list .ph { width: 36px; height: 36px; border-radius: 6px; background: var(--panel-3); flex: none; display: grid; place-items: center; font-weight: 800; color: var(--muted); font-size: 14px; }
.list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .name small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.list .fav { margin-right: 6px; opacity: .5; }
.list li:hover .fav, .list .fav.on { opacity: 1; }

/* ---------- Reproductor ---------- */
.player { position: relative; display: flex; flex-direction: column; background: #000; min-height: 0; overflow: hidden; }
.player .stage { position: relative; background: #000; flex: none; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100% - 72px); background: #000; }
.player .idle { display: grid; place-items: center; aspect-ratio: 16 / 9; max-height: 60vh; color: var(--muted); text-align: center; padding: 20px; }
.player .idle small { display: block; margin-top: 8px; color: var(--muted); opacity: .7; }
.now { padding: 10px 14px; background: var(--panel); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex: none; min-height: 72px; }
.now img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #0a0a0e; flex: none; }
.now .info { min-width: 0; flex: 1; }
.now h2 { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now p { margin: 2px 0 0; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now .prog { height: 3px; background: var(--panel-3); border-radius: 3px; margin-top: 6px; overflow: hidden; max-width: 320px; }
.now .prog i { display: block; height: 100%; background: var(--accent); width: 0; }
.now .state { font-size: 13px; color: var(--muted); white-space: nowrap; }
.now .state.err { color: var(--danger); }
.now .state.ok { color: var(--ok); }
.now .acts { display: flex; gap: 6px; flex: none; }
.now .acts .btn { padding: 7px 10px; }
.now .acts .btn.on { border-color: var(--accent); color: var(--accent); }

/* Panel EPG */
.epg { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: rgba(21,21,29,.97); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease; z-index: 3; }
.epg.show { transform: none; }
.epg header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.epg header button { background: transparent; border: 0; color: var(--muted); font-size: 20px; line-height: 1; }
.epg ol { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
.epg li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 9px 8px; border-radius: 8px; color: var(--muted); }
.epg li time { font-size: 13px; font-variant-numeric: tabular-nums; }
.epg li b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.epg li p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.epg li.past { opacity: .5; }
.epg li.now { background: var(--panel-3); }
.epg li.now time { color: var(--accent); font-weight: 700; }
.epg li .prog { height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; margin-top: 7px; overflow: hidden; }
.epg li .prog i { display: block; height: 100%; background: var(--accent); }
.epg .empty { padding: 30px 16px; }

/* Ayuda de teclado */
.keys { position: absolute; left: 12px; bottom: 84px; background: rgba(0,0,0,.75); color: #ddd; font-size: 12px; padding: 8px 10px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.keys kbd { display: inline-block; border: 1px solid #666; border-radius: 4px; padding: 0 5px; font-family: inherit; font-size: 11px; margin-right: 2px; background: #222; }
.player:hover .keys { opacity: 1; }

/* ---------- Móvil ---------- */
.tabs { display: none; }
@media (max-width: 900px) {
	.top { gap: 10px; padding: 0 12px; }
	.top nav { display: none; }
	.top .acct { display: none; }
	.ad img { max-height: 90px; }
	.live { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
	.player { order: -1; }
	.player video, .player .idle { max-height: 40vh; }
	.player .idle { aspect-ratio: 16 / 7; }
	.now { padding: 8px 12px; min-height: 0; }
	.now .acts .txt { display: none; }
	.col { border-right: 0; display: none; }
	.col.show { display: block; }
	.tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--panel); }
	.tabs button { flex: 1; background: transparent; border: 0; padding: 11px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; }
	.tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
	.epg { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 70vh; border-left: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; transform: translateY(100%); }
	.epg.show { transform: none; }
	.tile { width: 120px; }
	.tile .art { width: 120px; height: 78px; }
	.shelf .arr, .keys { display: none; }
	.shelf h3 { margin: 0 14px 6px; font-size: 15px; }
	.rail { padding: 4px 14px 8px; }
}

/* ===================== Películas y Series (v1.2) ===================== */
.search { display: inline-flex; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 4px 0 10px; height: 34px; width: min(340px, 36vw); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); outline: none; }
.search button { background: transparent; border: 0; color: var(--muted); font-size: 18px; padding: 0 6px; }
.mnav { display: none; }

/* Pósteres 2:3 */
.ptile { flex: none; width: 138px; scroll-snap-align: start; position: relative; }
.ptile .pick { display: block; width: 100%; background: transparent; border: 0; padding: 0; text-align: left; color: inherit; border-radius: 10px; }
.ptile .art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; border-radius: 10px; background: var(--panel-2); overflow: hidden; border: 2px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.ptile .art img { width: 100%; height: 100%; object-fit: cover; }
.ptile .art .ini { font-size: 28px; font-weight: 800; color: var(--muted); }
.ptile:hover .art, .ptile .pick:focus-visible .art { transform: scale(1.04); border-color: var(--accent); }
.ptile .t { display: block; margin-top: 6px; font-size: 13px; line-height: 1.25; height: 2.5em; overflow: hidden; }
.ptile .t small { display: block; color: var(--muted); font-size: 12px; }
.ptile .fav { position: absolute; top: 6px; right: 6px; opacity: 0; }
.ptile:hover .fav, .ptile .fav.on { opacity: 1; }
.rate { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.65); color: var(--accent); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.2); }
.pbar i { display: block; height: 100%; background: var(--accent); }
.pshelf .arr { top: 34px; height: 207px; }

/* Cuadrícula */
.gridpage { height: 100%; overflow-y: auto; padding: 14px 20px 40px; }
.gridhead { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gridhead h2 { margin: 0; font-size: 20px; }
.gridhead .n { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 14px 12px; }
.grid .ptile { width: auto; }

/* Detalle */
.noscroll, .noscroll-th { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; }
.ov-bg { position: absolute; inset: 0 0 auto 0; height: 60vh; background-size: cover; background-position: center top; opacity: .35; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); pointer-events: none; }
.ov-close { position: fixed; top: 14px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 24px; line-height: 40px; padding: 0; }
.ov-body { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 28px; max-width: 1100px; margin: 0 auto; padding: 60px 24px 60px; }
.ov-poster { width: 260px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.ov-poster img { width: 100%; height: 100%; object-fit: cover; }
.ov-poster .ini { font-size: 48px; font-weight: 800; color: var(--muted); }
.ov-info h1 { margin: 6px 0 4px; font-size: 30px; line-height: 1.15; }
.ov-info .meta { color: var(--muted); margin: 0 0 16px; }
.ov-info .plot { font-size: 15.5px; line-height: 1.55; max-width: 70ch; margin: 18px 0 14px; }
.ov-info .small { color: var(--muted); font-size: 14px; margin: 4px 0; }
.ov-info .small b { color: var(--text); font-weight: 600; }
.ov-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ov-acts .warn { flex-basis: 100%; margin: 4px 0 0; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,222,89,.5); background: rgba(255,222,89,.08); font-size: 14px; }
.ov-acts .vfav.on { border-color: var(--accent); color: var(--accent); }
.seasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 10px; }
.seasons button { background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); border-radius: 20px; padding: 6px 14px; font-weight: 600; }
.seasons button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.episodes { list-style: none; margin: 0; padding: 0; }
.episodes li { border-radius: 10px; }
.episodes li.focus { box-shadow: inset 3px 0 0 var(--accent); }
.episodes .ep { display: grid; grid-template-columns: 160px 1fr; gap: 14px; width: 100%; text-align: left; background: transparent; border: 0; padding: 10px; border-radius: 10px; color: var(--text); }
.episodes .ep:hover { background: var(--panel-2); }
.eimg { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; }
.eimg img { width: 100%; height: 100%; object-fit: cover; }
.eimg .enum { font-size: 26px; font-weight: 800; color: var(--muted); }
.eimg .done { position: absolute; top: 6px; right: 6px; background: var(--ok); color: #0a2014; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.etxt b { display: block; font-size: 15px; }
.etxt small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 4px; }
.etxt p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Reproductor VOD */
.theater { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.th-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: rgba(0,0,0,.85); border-bottom: 1px solid var(--line); }
.th-title { flex: 1; min-width: 0; line-height: 1.2; }
.th-title b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-title small { color: var(--muted); font-size: 13px; }
.th-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.th-stage video { width: 100%; height: 100%; max-height: 100%; background: #000; }
.th-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(0,0,0,.75); }
.th-msg b { display: block; font-size: 18px; margin-bottom: 6px; }
.th-msg span { color: var(--muted); display: block; max-width: 48ch; }
.th-keys { position: absolute; left: 14px; bottom: 70px; }
.theater:hover .th-keys { opacity: 1; }

@media (max-width: 900px) {
	.top .search { width: 100%; }
	.app .mnav { display: flex; border-top: 1px solid var(--line); background: var(--panel); flex: none; }
	.app .mnav { padding-bottom: env(safe-area-inset-bottom); }
	.mnav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: transparent; border: 0; padding: 8px 0 7px; color: var(--muted); font-weight: 600; font-size: 12px; }
	.mnav button.on { color: var(--accent); }
	.mnav .ico { display: block; width: 24px; height: 24px; }
	.mnav .ico svg { width: 24px; height: 24px; display: block; }
	.mnav button .sel { display: none; }
	.mnav button.on .sel { display: block; }
	.mnav button.on .uns { display: none; }
	.ptile { width: 110px; }
	.pshelf .arr { display: none; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 12px 10px; }
	.gridpage { padding: 12px 14px 30px; }
	.ov-body { grid-template-columns: 1fr; gap: 18px; padding: 54px 16px 40px; }
	.ov-poster { width: 160px; }
	.ov-info h1 { font-size: 24px; }
	.episodes .ep { grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 6px; }
	.etxt p { -webkit-line-clamp: 2; }
	.th-keys { display: none; }
}

/* Vista Lista de Películas y Series */
.vlist { grid-template-columns: 240px 1fr; }
.vlist .vgrid { padding: 14px 20px 40px; }
.vlist .gridhead { position: sticky; top: -14px; z-index: 1; background: var(--bg); margin: -14px -20px 14px; padding: 14px 20px 10px; }
@media (max-width: 900px) {
	.vlist { grid-template-columns: 1fr; grid-template-rows: 1fr; }
	.vlist .col { display: none; }
	.vlist .col.show { display: block; }
	.vlist .vgrid { padding: 12px 14px 30px; }
	.vlist .gridhead { top: -12px; margin: -12px -14px 12px; padding: 12px 14px 8px; }
}
