:root { --bg:#0b0b0d; --fg:#fff; --muted:#9a9aa3; --accent:#f47521; --accent-rgb:244,117,33; --accent-ink:#111; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font-family: system-ui, sans-serif; }
.topbar { padding:16px 20px; }
.logo { color:var(--accent); font-weight:800; font-size:1.4rem; }
.logo-img { display:block; max-width:60vw; width:auto; object-fit:contain; }
main { padding:0 20px 40px; }
h2 { font-size:1.4rem; margin:24px 0 12px; }
.muted { color:var(--muted); }

.row { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; }
.continue-card { flex:0 0 min(88%, 420px); scroll-snap-align:start; color:inherit; text-decoration:none; }
.thumb { position:relative; aspect-ratio:16/9; background:#222 center/cover; border-radius:6px; overflow:hidden; }
.thumb::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 40%, rgba(0,0,0,.85)); }
.play { position:absolute; left:14px; bottom:22px; z-index:2; width:44px; height:44px; border-radius:50%;
        background:rgba(0,0,0,.55); display:grid; place-items:center; }
.info { position:absolute; left:70px; bottom:22px; right:90px; z-index:2; display:flex; flex-direction:column; }
.info strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.info small { color:var(--muted); }
.remaining { position:absolute; right:10px; bottom:22px; z-index:2; background:rgba(0,0,0,.7); padding:3px 8px; font-size:.8rem; }
.bar { position:absolute; left:0; right:0; bottom:0; height:4px; background:rgba(255,255,255,.25); z-index:2; }
.bar > div { height:100%; background:var(--accent); }

.player-page { padding:16px; }
.player-page video { width:100%; max-height:70vh; background:#000; border-radius:6px; }
.back { color:var(--accent); text-decoration:none; }


/* Sin destello azul al tocar ni selección azul en tarjetas y botones (móvil) */
html, body, * { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, img, .hcard, .hposter, .poster-card, .continue-card, .lrow, .lcard, .gtile, .episode, .bnav {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; }
a:focus, button:focus, summary:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent,#f47521); outline-offset: 2px; }
