/* ══ RESET ══ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; -webkit-font-smoothing:antialiased; }
html, body { height:100%; overflow:hidden; }
body { display:flex; align-items:center; justify-content:center; background:#111; font-family:'Inter',sans-serif; }
button, input { font-family:'Inter',sans-serif; }

/* ══ iPHONE SHELL ══ */
.iphone {
  width:393px; height:852px; border-radius:52px;
  position:relative; overflow:hidden; background:#0d0d0d;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 10px #3d3d3d, 0 0 0 12px #505050,
    0 40px 100px rgba(0,0,0,0.9),
    0 0 80px rgba(245,197,24,0.06);
  flex-shrink:0;
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.iphone.landscape {
  transform: rotate(90deg);
  overflow: clip;
}

/* ══ DYNAMIC ISLAND ══ */
.dynamic-island {
  position:absolute; top:12px; left:50%; transform:translateX(-50%);
  width:126px; height:36px; background:#000; border-radius:20px; z-index:200;
}

/* ══ STATUS BAR ══ */
.status-bar {
  position:absolute; top:0; left:0; right:0; height:59px;
  display:flex; align-items:flex-end; justify-content:space-between;
  padding:0 26px 10px; z-index:160; pointer-events:none;
}
.status-time { color:#fff; font-size:15px; font-weight:600; letter-spacing:-0.3px; }
.status-icons { display:flex; gap:6px; align-items:center; transform:scale(0.82); transform-origin:right center; }

/* ══ HOME BAR ══ */
.home-bar {
  position:absolute; bottom:13px; left:50%; transform:translateX(-50%);
  width:128px; height:6px; background:rgba(255,255,255,0.5); border-radius:9999px;
  z-index:100; pointer-events:none;
}

/* ══ SCREEN SYSTEM ══ */
.screen { position:absolute; inset:0; opacity:0; pointer-events:none; }
.screen.active { opacity:1; pointer-events:all; }
/* Una pantalla oculta nunca debe capturar clics, ni en botones que reactivan
   pointer-events (ej. .bt-appbar button). Evita que un botón invisible de otra
   pantalla intercepte el toque de la flecha back. */
.screen:not(.active) * { pointer-events:none !important; }
#splash.active, #welcome.active, #signin.active, #forgotpw.active, #setpw.active, #pwsuccess.active, #otprequest.active, #otpenter.active { z-index: 10; }

/* ══════════════════════════════════════════════
   SPLASH
══════════════════════════════════════════════ */
#splash {
  background:#0d0d0d;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.splash-logo { width:120px; height:40px; object-fit:contain; margin-bottom:32px; }
.arc-ring { width:42px; height:42px; }
.arc-ring svg { animation:spin 0.85s linear infinite; transform-origin:50% 50%; }
@keyframes spin { to { transform:rotate(360deg); } }
.splash-version {
  position:absolute; bottom:44px; width:100%; text-align:center;
  color:rgba(255,255,255,0.3); font-size:13px;
}
.splash-exit { animation:splashOut 0.55s cubic-bezier(0.4,0,1,1) forwards; }
@keyframes splashOut {
  0%   { opacity:1; transform:scale(1); }
  35%  { opacity:1; transform:scale(1.06); }
  100% { opacity:0; transform:scale(1.06); }
}

/* ══════════════════════════════════════════════
   WELCOME
══════════════════════════════════════════════ */
#welcome { background:#121212; }

.hero-wrap { height:585px; position:absolute; top:0; left:0; right:0; overflow:hidden; z-index:1; }
.hero-photo {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center top; z-index:1; transform:scale(1.07);
}
.hero-photo.reveal { animation:kenBurns 2s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
@keyframes kenBurns { to { transform:scale(1); } }
.hero-dark { position:absolute; inset:0; background:#000; z-index:5; pointer-events:none; }
.hero-dark.reveal { animation:darkReveal 1.5s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes darkReveal { 0% { opacity:1; } 100% { opacity:0; } }
.hero-fade-top {
  position:absolute; top:0; left:0; right:0; height:100px; z-index:3;
  background:linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}
.hero-fade {
  position:absolute; bottom:0; left:0; right:0; height:340px; z-index:3;
  background:linear-gradient(to bottom,
    transparent 0%, rgba(18,18,18,0.15) 25%,
    rgba(18,18,18,0.55) 55%, rgba(18,18,18,0.88) 78%, #121212 100%);
}
.hero-logo-el {
  position:absolute; top:59px; left:50%; width:120px; height:40px;
  object-fit:contain; z-index:10; opacity:0; transform:translateX(-50%) scale(1.18);
}
.hero-logo-el.reveal { animation:logoIn 0.65s cubic-bezier(0.34,1.4,0.64,1) 0.55s forwards; }
@keyframes logoIn { to { opacity:1; transform:translateX(-50%) scale(1); } }

.cta-section { position:absolute; top:507px; bottom:0; left:0; right:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:0 24px 34px; }
.cta-item { opacity:0; transform:translateY(26px); width:100%; text-align:center; }
.cta-item.reveal { animation:ctaIn 0.55s cubic-bezier(0.34,1.3,0.64,1) forwards; }
@keyframes ctaIn { to { opacity:1; transform:translateY(0); } }

.cta-title { font-size:24px; font-weight:600; line-height:1.2; color:#EBEBEB; margin-bottom:8px; }
.cta-sub   { font-size:16px; font-weight:400; line-height:1.5; color:#EBEBEB; margin-bottom:32px; }

.btn-primary {
  width:100%; height:44px; background:#FFCC00; color:#121212;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  cursor:pointer; margin-bottom:16px; transition:transform 0.12s, opacity 0.12s;
}
.btn-primary:active { transform:scale(0.97); opacity:0.85; }
.btn-outline {
  width:100%; height:44px; background:transparent; color:#EBEBEB;
  border:1.2px solid #8a8a8a; border-radius:8px;
  font-size:16px; font-weight:600; cursor:pointer; transition:transform 0.12s, background 0.15s;
}
.btn-outline:active { transform:scale(0.97); background:rgba(255,255,255,0.06); }
.promo-wrap { margin-top:24px; text-align:center; }
.promo-small { font-size:16px; font-weight:400; line-height:1.5; color:#EBEBEB; margin-bottom:12px; }
.promo-link-btn { background:none; border:none; color:#FFCC00; font-size:16px; font-weight:600; line-height:1.5; cursor:pointer; }

/* ══════════════════════════════════════════════
   SIGN IN
══════════════════════════════════════════════ */
#signin { background:#121212; display:flex; flex-direction:column; overflow:hidden; }
#signin.slide-enter { animation:slideIn 0.36s cubic-bezier(0.25,0.46,0.45,0.94) both; }
#signin.slide-leave { animation:slideOut 0.3s cubic-bezier(0.25,0.46,0.45,0.94) both; }
@keyframes slideIn  { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes slideOut { from { transform:translateX(0);    } to { transform:translateX(100%); } }

.si-header {
  height:64px; margin-top:47px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.si-back {
  position:absolute; left:18px; background:none; border:none;
  color:#fff; font-size:26px; line-height:1; cursor:pointer;
  padding:6px 8px; transition:opacity 0.15s;
}
.si-back:active { opacity:0.5; }

.si-body {
  flex:1; overflow-y:auto; min-height:0;
  padding:16px 24px 28px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  display:flex; flex-direction:column;
}
.si-body::-webkit-scrollbar { display:none; }
.si-body > * { flex-shrink:0; }

.si-h1 { font-size:24px; font-weight:600; color:#ebebeb; margin-bottom:8px; text-align:center; }
.si-sub { font-size:16px; color:#ebebeb; line-height:1.5; margin-bottom:32px; text-align:center; }

/* ── Fields ── */
.fgroup + .fgroup { margin-top:24px; }
.flabel { display:block; font-size:16px; font-weight:600; color:#ebebeb; margin-bottom:8px; }
.fwrap  { position:relative; }

.finput {
  width:100%; height:58px;
  background:#282828; border:1px solid #8a8a8a;
  border-radius:8px; padding:0 48px 0 17px;
  color:#ebebeb; font-size:16px; outline:none; cursor:pointer;
  caret-color:#FFCC00; user-select:none;
  transition:border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color:transparent;
}
.finput::placeholder { color:#989898; }
.finput.focused { border-color:#EBEBEB; }
.finput.err     { border-color:#EF4444 !important; background:#281717 !important; }

.eye-toggle {
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  background:none; border:none; outline:none;
  cursor:pointer; padding:4px; line-height:1; z-index:2;
  opacity:0.28;
  transition:opacity 0.15s; -webkit-tap-highlight-color:transparent;
}
.eye-toggle img { display:block; }

/* Field errors */
.ferror {
  font-size:13px; color:#EF4444; font-weight:400;
  height:0; overflow:hidden;
  opacity:0; transform:translateY(-3px);
  transition:opacity 0.18s, transform 0.18s, height 0.18s;
  margin-top:0;
}
.ferror.show { height:auto; opacity:1; transform:translateY(0); margin-top:6px; }

@keyframes shakeX {
  0%,100% { transform:translateX(0); }
  15% { transform:translateX(-8px); }
  30% { transform:translateX(7px); }
  45% { transform:translateX(-6px); }
  60% { transform:translateX(5px); }
  75% { transform:translateX(-3px); }
}
.do-shake { animation:shakeX 0.4s ease; }

/* Forgot */
.forgot {
  display:block; text-align:right; background:none; border:none;
  color:#FFCC00; font-size:14px; font-weight:600;
  cursor:pointer; margin-top:14px; margin-bottom:32px; padding:0;
}
.forgot:active { opacity:0.6; }

/* ── Forgot Password Screen ── */
#forgotpw {
  background:#121212; display:flex; flex-direction:column; overflow:hidden;
}
#forgotpw.slide-enter { animation:slideIn 0.36s cubic-bezier(0.25,0.46,0.45,0.94) both; }
#forgotpw.slide-leave { animation:slideOut 0.3s cubic-bezier(0.25,0.46,0.45,0.94) both; }

.fp-header {
  height:64px; margin-top:47px; flex-shrink:0;
  display:flex; align-items:center; padding:0 24px; position:relative;
}
.fp-header > img { position:absolute; left:50%; transform:translateX(-50%); }

.fp-body {
  flex:1; overflow-y:auto; min-height:0;
  padding:16px 24px 24px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  display:flex; flex-direction:column;
}
.fp-body::-webkit-scrollbar { display:none; }
.fp-body > * { flex-shrink:0; }

.fp-copy { margin-bottom:32px; }
.fp-title {
  font-size:24px; font-weight:600; color:#EBEBEB;
  text-align:center; margin-bottom:8px; line-height:1.2;
}
.fp-subtitle {
  font-size:16px; font-weight:400; color:#EBEBEB;
  text-align:center; line-height:1.5;
}
.fp-body .fgroup { margin-bottom:32px; }
.fp-body .flabel { color:#EBEBEB; padding:0 4px; }
#setpwBody { padding-top:0; }
.fp-body .finput {
  background:#282828; border:1px solid #8A8A8A;
  padding:0 17px; border-radius:8px; height:58px;
}
.fp-body .finput::placeholder { color:#989898; }
.fp-body .finput.focused { border-color:#EBEBEB; }

.fp-req-btn {
  width:100%; height:44px; flex-shrink:0;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  cursor:not-allowed; background:#B7A869; color:#8A8A8A;
  transition:background 0.2s, color 0.2s, transform 0.1s;
  font-family:'Inter',sans-serif;
  position:relative; overflow:hidden;
}
.fp-req-btn.on { background:#FFCC00; color:#121212; cursor:pointer; }
.fp-req-btn.on:active { transform:scale(0.97); }
.fp-req-btn.loading { pointer-events:none; background:#B7A869; color:#8A8A8A; }
.fp-req-btn .lbl { transition:opacity 0.15s; }
.fp-req-btn.loading .lbl { opacity:0; }
.fp-req-btn.loading .sbtn-spin { display:block; }

.fp-cancel-btn {
  width:100%; height:44px; background:none; border:none;
  color:#FFCC00; font-size:16px; font-weight:600; cursor:pointer;
  margin-top:16px; transition:opacity 0.15s;
}
.fp-cancel-btn:active { opacity:0.6; }

.fp-err-banner {
  display:none; align-items:center; gap:10px;
  background:#281717; border:1px solid #EF4444;
  border-radius:8px; padding:12px 14px; margin-bottom:32px; flex-shrink:0;
}
.fp-err-banner.show { display:flex; animation:fslide 0.22s ease; }
.fp-err-banner-text { font-size:14px; font-weight:600; color:#EF4444; line-height:1.5; }

.fp-success {
  flex:1; padding:0 24px;
  display:none; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; gap:0;
}
.fp-success.visible { display:flex; }
.fp-mail-icon { margin-bottom:32px; flex-shrink:0; }
.fp-ok-title { font-size:24px; font-weight:600; color:#EBEBEB; line-height:1.2; margin-bottom:8px; }
.fp-ok-body { font-size:16px; font-weight:400; color:#EBEBEB; line-height:1.5; margin-bottom:0; }
.fp-ok-email { font-size:16px; font-weight:400; color:#989898; line-height:1.5; }
.fp-ok-instructions { font-size:16px; font-weight:400; color:#EBEBEB; line-height:1.5; margin-bottom:32px; }
.fp-reset-btn {
  width:100%; height:44px;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  background:#FFCC00; color:#121212; cursor:pointer;
  transition:transform 0.1s; font-family:'Inter',sans-serif; flex-shrink:0;
}
.fp-reset-btn:active { transform:scale(0.97); }

.fp-footer { flex-shrink:0; background:#121212; border-top:0.5px solid #8A8A8A; }
.fp-footer-row {
  display:flex; align-items:center; justify-content:center; gap:12px;
  padding:16px 24px 24px;
}
.fp-footer-muted { font-size:14px; font-weight:400; color:#989898; }
.fp-footer-link { font-size:14px; font-weight:600; color:#FFCC00; cursor:pointer; }
.fp-home-pill {
  height:32px; display:flex; align-items:center; justify-content:center;
}
.fp-home-pill::after {
  content:''; width:128px; height:6px;
  background:rgba(255,255,255,0.5); border-radius:9999px;
}

/* Credentials error banner */
.creds-error {
  display:none; align-items:center; gap:10px;
  background:#281717; border:1px solid #EF4444;
  border-radius:8px; padding:12px 14px; margin-bottom:20px;
  flex-shrink:0;
}
.creds-error.show { display:flex; animation:fslide 0.22s ease; }
@keyframes fslide { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.creds-error-text { font-size:14px; font-weight:600; color:#EF4444; line-height:1.5; }

/* Submit button */
.si-submit {
  width:100%; height:44px; flex-shrink:0;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  cursor:not-allowed; background:#B7A869; color:#8A8A8A;
  transition:background 0.2s, color 0.2s, transform 0.1s;
  position:relative; overflow:hidden;
}
.si-submit.on  { background:#FFCC00; color:#121212; cursor:pointer; }
.si-submit.on:active { transform:scale(0.97); }
.si-submit.loading { pointer-events:none; background:#B7A869; }
.si-submit .lbl { transition:opacity 0.15s; }
.si-submit.loading .lbl { opacity:0; }
.sbtn-spin {
  display:none; width:22px; height:22px;
  border:2.5px solid rgba(235,235,235,0.25); border-top-color:#FFCC00;
  border-radius:50%; animation:spin 0.65s linear infinite;
  position:absolute; top:50%; left:50%; margin-top:-11px; margin-left:-11px;
}
.si-submit.loading .sbtn-spin { display:block; }

/* Or / secondary */
.or-divider { display:flex; align-items:center; gap:32px; margin:24px 0 24px; }
.or-line { flex:1; height:1px; background:rgba(255,255,255,0.12); }
.or-text  { font-size:14px; color:#ebebeb; }

.si-code-btn {
  width:100%; height:44px; background:none; border:none;
  color:#FFCC00; font-size:16px; font-weight:600; cursor:pointer;
  margin-bottom:32px; transition:opacity 0.15s;
}
.si-code-btn:active { opacity:0.6; }

.si-register {
  text-align:center; font-size:16px; color:#ebebeb;
  padding-bottom:32px; line-height:1.5;
}
.si-register span { color:#FFCC00; font-weight:600; cursor:pointer; }

.si-help {
  text-align:center; font-size:14px; color:#989898;
  border-top:0.5px solid #8a8a8a; padding:16px 0 24px;
}
.si-help span { color:#FFCC00; font-weight:600; cursor:pointer; }

/* ══════════════════════════════════════════════
   EMAIL NOTIFICATION (outside iPhone)
══════════════════════════════════════════════ */
#emailNotif {
  position:fixed; top:28px; right:28px;
  display:none; flex-direction:row; align-items:center; gap:12px;
  background:#1c1c1c; border:1px solid rgba(255,204,0,0.3);
  border-radius:12px; padding:12px 18px 12px 14px;
  cursor:pointer; font-family:'Inter',sans-serif;
  box-shadow:0 4px 28px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,204,0,0.07);
  -webkit-tap-highlight-color:transparent;
  transition:transform 0.12s, opacity 0.12s;
  z-index:9999;
}
#emailNotif:hover { border-color:rgba(255,204,0,0.55); }
#emailNotif:active { transform:scale(0.97); opacity:0.85; }
#emailNotif.show { display:flex; animation:notifIn 0.4s cubic-bezier(0.34,1.1,0.64,1) both; }
@keyframes notifIn {
  from { opacity:0; transform:translateX(18px); }
  to   { opacity:1; transform:translateX(0); }
}
.enotif-icon { position:relative; flex-shrink:0; }
.enotif-badge {
  position:absolute; top:-7px; right:-9px;
  width:17px; height:17px; border-radius:50%;
  background:#EF4444;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:700; color:#fff; line-height:1;
}
.enotif-label { font-size:13px; font-weight:600; color:#EBEBEB; margin-bottom:3px; }
.enotif-link  { font-size:12px; font-weight:500; color:#FFCC00; }

/* ── OTP code notification ── */
#otpNotif {
  position:fixed; top:28px; right:28px;
  display:none; flex-direction:row; align-items:center; gap:12px;
  background:#1c1c1c; border:1px solid rgba(255,204,0,0.3);
  border-radius:12px; padding:12px 18px 12px 14px;
  cursor:default; font-family:'Inter',sans-serif;
  box-shadow:0 4px 28px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,204,0,0.07);
  z-index:9999;
}
#otpNotif.show { display:flex; animation:notifIn 0.4s cubic-bezier(0.34,1.1,0.64,1) both; }
.otp-notif-label { font-size:13px; font-weight:600; color:#EBEBEB; margin-bottom:4px; }
.otp-notif-code {
  font-size:22px; font-weight:700; color:#FFCC00;
  letter-spacing:8px; font-variant-numeric:tabular-nums;
}

/* ══════════════════════════════════════════════
   SET NEW PASSWORD SCREEN
══════════════════════════════════════════════ */
#setpw {
  background:#121212; display:flex; flex-direction:column; overflow:hidden;
}

/* ══════════════════════════════════════════════
   PASSWORD UPDATED SUCCESS SCREEN
══════════════════════════════════════════════ */
#pwsuccess, #regsuccess { background:#121212; display:flex; flex-direction:column; }
.pwsuccess-body {
  flex:1; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  padding:0 24px 16px;
}
.pwsuccess-icon { margin-bottom:32px; }
.pwsuccess-copy {
  text-align:center; margin-bottom:32px;
  display:flex; flex-direction:column; gap:8px; width:100%;
}
.pwsuccess-title { font-size:24px; font-weight:600; color:#EBEBEB; line-height:1.2; }
.pwsuccess-subtitle { font-size:16px; font-weight:400; color:#EBEBEB; line-height:1.5; }
.pwsuccess-btn {
  width:100%; height:44px; border:none; border-radius:8px;
  background:#FFCC00; color:#121212; font-size:16px; font-weight:600;
  cursor:pointer; font-family:'Inter',sans-serif;
  transition:transform 0.1s;
}
.pwsuccess-btn:active { transform:scale(0.97); }
.setpw-criteria {
  display:flex; flex-direction:column; gap:12px; padding:0 8px;
}
#setpwBody .setpw-criteria { margin-top:24px; margin-bottom:32px; }
#setpwBody .fgroup { margin-bottom:0; }
.setpw-criterion { display:flex; align-items:center; gap:12px; }
.setpw-crit-icon { width:20px; height:20px; flex-shrink:0; display:block; }
.setpw-criterion span { font-size:14px; color:#989898; font-weight:400; line-height:1.5; }
#setpwBody .finput { padding-right:50px; }
.sp-match-err {
  font-size:14px; color:#EF4444; font-weight:400; line-height:1.5;
  padding-left:4px;
  height:0; overflow:hidden; opacity:0; transform:translateY(-3px);
  transition:opacity 0.18s, transform 0.18s, height 0.18s; margin-top:0;
}
.sp-match-err.show { height:auto; opacity:1; transform:translateY(0); margin-top:6px; }

/* ══════════════════════════════════════════════
   SUCCESS OVERLAY
══════════════════════════════════════════════ */
.overlay {
  display:none; position:absolute; inset:0;
  background:rgba(0,0,0,0.82); backdrop-filter:blur(12px);
  flex-direction:column; align-items:center; justify-content:center;
  gap:12px; z-index:300;
}
.overlay.show { display:flex; animation:fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.ok-circle {
  width:76px; height:76px; background:#32d74b; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:34px;
  animation:popBounce 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popBounce { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
.ok-title { font-size:20px; font-weight:700; color:#fff; margin-top:4px; }
.ok-sub   { font-size:14px; color:rgba(255,255,255,0.48); }
.ok-btn {
  margin-top:10px; background:#FFCC00; color:#000;
  border:none; border-radius:8px; height:44px; padding:0 52px;
  font-size:16px; font-weight:700; cursor:pointer; transition:transform 0.1s;
}
.ok-btn:active { transform:scale(0.96); }

/* ══════════════════════════════════════════════
   iOS LIGHT KEYBOARD
══════════════════════════════════════════════ */
.kbd-panel {
  position:absolute; bottom:0; left:0; right:0;
  background:#d0d3d9;
  transform:translateY(100%);
  transition:transform 0.4s cubic-bezier(0.32,0.72,0,1);
  z-index:100;
}
.iphone.landscape .kbd-panel,
.iphone.landscape .home-bar { display:none; }
.kbd-panel.visible { transform:translateY(0); }

.kbd-rows { padding:10px 3px 4px; }
.kb-row {
  display:flex; align-items:center; justify-content:center;
  gap:6px; height:42px; margin-bottom:11px;
}
.kb-row:last-child { margin-bottom:0; }

.kb-key {
  position:relative; height:42px; width:33px;
  background:#fff; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none; flex-shrink:0;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-key span { font-size:16px; font-weight:400; color:#000; line-height:1; pointer-events:none; }
.kb-key.active { background:#e5e5ea; }

.kb-sym {
  height:42px; width:40px;
  background:#fff; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none; flex-shrink:0;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-sym span { font-size:15px; color:#000; pointer-events:none; }
.kb-sym.active { background:#e5e5ea; }

.kb-modifier {
  height:42px; width:42px;
  background:#adb5bd; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none; flex-shrink:0;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-modifier span { font-size:15px; color:#000; line-height:1; pointer-events:none; }
.kb-modifier.active { background:#c8cdd3; }
.kb-modifier.shift-on span { color:#007AFF; }

.kb-fn {
  height:42px; width:72px;
  background:#adb5bd; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none; flex-shrink:0;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-fn span { font-size:14px; color:#000; pointer-events:none; }
.kb-fn.active { background:#c8cdd3; }

.kb-space {
  height:42px; flex:1;
  background:#fff; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-space span { font-size:14px; color:rgba(0,0,0,0.5); pointer-events:none; }
.kb-space.active { background:#e5e5ea; }

.kb-next {
  height:42px; width:90px;
  background:#007AFF; border-radius:5px; box-shadow:0 1px 0 #0056b3;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none; flex-shrink:0;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.kb-next span { font-size:14px; font-weight:500; color:#fff; pointer-events:none; }
.kb-next.active { background:#0062cc; }

.kbd-accessory {
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 16px 20px;
}
.kbd-accessory-btn {
  background:none; border:none; cursor:pointer; color:#636366; padding:4px;
  -webkit-tap-highlight-color:transparent;
}

.kb-bubble {
  position:absolute; bottom:calc(100% + 8px); left:50%;
  transform:translateX(-50%) scaleY(0.5);
  transform-origin:bottom center;
  width:44px; height:54px;
  background:#fff; border-radius:10px 10px 2px 10px;
  display:flex; align-items:center; justify-content:center;
  font-size:28px; font-weight:300; color:#000;
  opacity:0; pointer-events:none; z-index:200;
  box-shadow:0 2px 12px rgba(0,0,0,0.22);
  transition:opacity 0.04s, transform 0.07s cubic-bezier(0.34,1.3,0.64,1);
}
.kb-bubble::after {
  content:''; position:absolute; bottom:-8px; left:0;
  width:14px; height:8px; background:#fff;
  clip-path:polygon(0 0, 100% 0, 100% 100%);
}
.kb-key.active .kb-bubble { opacity:1; transform:translateX(-50%) scaleY(1); }

/* ══════════════════════════════════════════════
   HOME SCREEN
══════════════════════════════════════════════ */
.screen-fade-enter { animation:fadeIn 0.42s ease forwards; }
.screen-dark-enter { animation:darkToLight 0.8s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes darkToLight {
  0%   { opacity:0; filter:brightness(0); }
  30%  { opacity:1; filter:brightness(0.06); }
  100% { opacity:1; filter:brightness(1); }
}

/* status bar transparente para la pantalla de home (hero imagen visible desde arriba) */
.hs-status-bar {
  position:absolute; top:0; left:0; right:0; height:59px;
  display:flex; align-items:flex-end; justify-content:space-between;
  padding:0 26px 10px; z-index:165; pointer-events:none;
  background:transparent;
}

.nav-bar {
  position:absolute; top:0; left:0; right:0; z-index:50; height:115px;
  display:flex; align-items:flex-end; justify-content:space-between;
  padding:0 20px 14px;
  background:linear-gradient(to bottom, rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.25) 72%, transparent 100%);
  transition:background 0.3s;
}
.nav-bar.solid {
  background:rgba(13,13,13,0.97);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
}
.nav-logo { font-size:22px; font-weight:900; color:#FFCC00; letter-spacing:1px; }
.nav-right { display:flex; align-items:center; gap:14px; }
.nav-btn { cursor:pointer; background:none; border:none; padding:0; transition:opacity 0.15s; }
.nav-btn:active { opacity:0.45; }

.home-scroll {
  position:absolute; top:0; left:0; right:0; bottom:110px;
  overflow-y:auto; overflow-x:hidden;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  z-index:2;
}
.home-scroll::-webkit-scrollbar { display:none; }

.hero-section { position:relative; width:100%; height:520px; overflow:hidden; flex-shrink:0; }
.hero-track {
  display:flex; height:100%; will-change:transform;
  transition:transform 0.48s cubic-bezier(0.25,0.46,0.45,0.94);
}
.hero-slide { min-width:393px; height:520px; position:relative; overflow:hidden; flex-shrink:0; }
.hero-slide img.hero-photo {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center top; z-index:1; transform:none;
}
.hero-fade-layer {
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(to bottom,
    rgba(13,13,13,0.68) 0%, rgba(13,13,13,0.15) 12%, transparent 24%,
    transparent 46%, rgba(13,13,13,0.35) 56%, rgba(13,13,13,0.82) 68%,
    rgba(13,13,13,0.97) 82%, #0d0d0d 100%);
}
.hero-content {
  position:absolute; bottom:80px; left:0; right:0;
  z-index:3; text-align:left; padding:0 32px;
}
.hero-show-title {
  font-size:54px; font-weight:900; color:#fff; line-height:1;
  margin-bottom:8px; letter-spacing:-1.5px; font-style:italic;
  text-shadow:0 2px 24px rgba(0,0,0,0.55);
}
.hero-meta { font-size:14px; font-weight:400; color:rgba(255,255,255,0.8); margin-bottom:9px; }
.hero-tagline {
  font-size:16px; font-weight:400; color:#EBEBEB;
  line-height:1.5;
}
.hero-cta-row {
  position:absolute; bottom:32px; left:32px; right:32px;
  z-index:3; display:flex; gap:16px; align-items:center;
}
.btn-play {
  flex:1; height:40px; background:#FFCC00; color:#121212;
  border:none; border-radius:8px; font-size:14px; font-weight:600;
  display:flex; align-items:center; justify-content:center; gap:8px;
  cursor:pointer; font-family:'Inter',sans-serif; transition:transform 0.1s, opacity 0.1s;
}
.btn-play:active { transform:scale(0.97); opacity:0.88; }
.btn-plus {
  width:40px; height:40px; flex-shrink:0; background:#282828;
  border:1px solid rgba(255,204,0,0.3); border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background 0.15s;
}
.btn-plus:active { background:rgba(255,255,255,0.14); }

.hero-dots {
  position:absolute; bottom:4px; left:0; right:0;
  display:flex; justify-content:center; gap:8px; z-index:3;
}
.dot {
  width:8px; height:8px; border-radius:50%;
  background:rgba(189,189,189,0.5); cursor:pointer; transition:background 0.25s; flex-shrink:0;
}
.dot.active { background:#FFCC00; }

.sections-wrap { background:#0d0d0d; padding-bottom:24px; }
.section { margin-top:28px; }
.section-header {
  padding:0 16px; margin-bottom:14px;
  display:flex; align-items:flex-start; justify-content:space-between;
}
.sh-left { flex:1; }
.sh-title { font-size:18px; font-weight:600; color:#EBEBEB; margin-bottom:0; line-height:1.5; }
.sh-sub { font-size:12px; font-weight:400; color:#989898; line-height:1.5; }
.sh-arrow { display:flex; align-items:center; padding-left:4px; cursor:pointer; flex-shrink:0; }

/* ══ WE THINK YOU MIGHT LIKE SCREEN ══ */
.wtml-bar {
  position:absolute; top:59px; left:0; right:0; height:52px; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px; background:#121212;
}
.wtml-back {
  width:24px; height:24px; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0; flex-shrink:0;
}
.wtml-title {
  font-size:18px; font-weight:600; color:#EBEBEB; letter-spacing:-0.2px;
}
.wtml-grid-wrap {
  position:absolute; top:111px; left:0; right:0; bottom:32px;
  overflow-y:auto; overflow-x:hidden; scrollbar-width:none;
  -webkit-overflow-scrolling:touch; padding:0 16px 16px;
}
.wtml-grid-wrap::-webkit-scrollbar { display:none; }
.wtml-grid {
  display:grid; grid-template-columns:repeat(3,111px); gap:12px;
}
.wtml-card {
  position:relative; width:111px; height:167px;
  border-radius:8px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.2); flex-shrink:0;
  cursor:pointer; transition:transform 0.1s, opacity 0.1s;
}
.wtml-card:active { transform:scale(0.95); opacity:0.88; }
.wtml-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.wtml-card-label {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  background:#FFCC00; color:#121212; font-size:8px; font-weight:600;
  padding:3px 4px; border-radius:2px 2px 0 0; white-space:nowrap;
}
.wtml-home-indicator {
  position:absolute; bottom:0; left:0; right:0; height:32px;
  display:flex; align-items:center; justify-content:center;
}
.wtml-home-indicator span {
  width:128px; height:6px; border-radius:9999px; background:rgba(255,255,255,0.5);
}

/* ══ MY LIST MAIN ══ */
#myListMain { background:#121212; }
.ml-appbar {
  position:absolute; top:59px; left:0; right:0; height:64px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px; z-index:150; background:#121212;
}
.ml-appbar-title { font-size:24px; font-weight:600; color:#EBEBEB; line-height:1.2; }
.ml-appbar-icons { display:flex; align-items:center; gap:20px; }
.ml-appbar-cast { background:none; border:none; padding:0; cursor:pointer; display:flex; align-items:center; }
.ml-appbar-cast:active { opacity:0.5; }
.ml-avatar {
  width:32px; height:32px; border-radius:50%; background:#FFF3C2;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ml-avatar span { font-size:14px; font-weight:600; color:#1a1a1a; line-height:1.5; }
.ml-main-scroll {
  position:absolute; top:123px; left:0; right:0; bottom:110px;
  overflow-y:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.ml-main-scroll::-webkit-scrollbar { display:none; }
.ml-section-hdr {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px 4px; cursor:pointer;
}
.ml-section-hdr:active { opacity:0.7; }
.ml-section-title { font-size:18px; font-weight:600; color:#EBEBEB; line-height:1.5; }
.ml-section-sub { font-size:12px; font-weight:400; color:#989898; line-height:1.5; padding:0 16px 12px; }
.ml-section-arrow {
  width:24px; height:24px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ml-poster-rail {
  display:flex; gap:12px; padding:0 16px 16px;
  overflow-x:auto; scrollbar-width:none;
}
.ml-poster-rail::-webkit-scrollbar { display:none; }
.ml-rail-poster {
  width:144px; height:216px; flex-shrink:0; border-radius:8px; overflow:hidden;
  position:relative; border:1px solid rgba(255,255,255,0.2); cursor:pointer;
  transition:transform 0.1s, opacity 0.1s;
}
.ml-rail-poster:active { transform:scale(0.95); opacity:0.88; }
.ml-rail-poster img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ml-rail-poster-label {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  background:#FFCC00; color:#121212; font-size:10px; font-weight:600;
  padding:2px 4px; border-radius:2px 2px 0 0; white-space:nowrap; z-index:2;
}
.ml-wl-empty {
  display:none; flex-direction:column; align-items:center;
  padding:16px 16px 0; text-align:center;
}
.ml-wl-empty.visible { display:flex; border-bottom:0.5px solid rgba(138,138,138,0.35); }
.ml-wl-empty-title {
  font-size:20px; font-weight:600; color:#EBEBEB; margin-bottom:8px; line-height:1.2;
}
.ml-wl-empty-sub {
  font-size:16px; font-weight:400; color:#EBEBEB; line-height:1.5; margin-bottom:12px;
}
.ml-wl-empty-btn {
  width:100%; height:44px; background:#FFCC00; color:#121212;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  cursor:pointer; font-family:'Inter',sans-serif;
  transition:transform 0.1s, opacity 0.1s;
  margin-bottom:24px;
}
.ml-wl-empty-btn:active { transform:scale(0.97); opacity:0.85; }
.ml-tab-home {
  position:absolute; left:0; top:0; width:79px; height:80px; cursor:pointer;
}

/* ══ WATCHLIST SCREEN ══ */
#watchlist { background:#121212; }
.wl-appbar {
  position:absolute; top:59px; left:0; right:0; height:64px;
  display:flex; align-items:center; padding:0 16px; z-index:150; background:#121212;
}
.wl-appbar-back {
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  background:none; border:none; cursor:pointer; padding:0; flex-shrink:0;
}
.wl-appbar-back:active { opacity:0.5; }
.wl-appbar-title {
  position:absolute; left:50%; transform:translateX(-50%);
  font-size:18px; font-weight:600; color:#EBEBEB; letter-spacing:-0.2px; white-space:nowrap;
}
.wl-appbar-right { margin-left:auto; display:flex; align-items:center; }
.wl-header {
  position:absolute; top:123px; left:0; right:0; z-index:140;
  display:flex; align-items:center; justify-content:flex-end;
  padding:0 16px 16px;
}
.wl-edit-btn {
  background:none; border:none; font-size:16px; font-weight:600; line-height:1.5;
  color:#FFCC00; cursor:pointer; padding:0; white-space:nowrap; flex-shrink:0;
}
.wl-list-scroll {
  position:absolute; top:163px; left:0; right:0; bottom:110px;
  overflow-y:auto; overflow-x:hidden; scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.wl-list-scroll::-webkit-scrollbar { display:none; }
.wl-list-item {
  display:flex; align-items:center; padding:12px 16px; gap:12px;
  background:#121212; overflow:hidden;
}
.wl-list-item + .wl-list-item { border-top:0.5px solid #8A8A8A; }
.wl-item-thumb {
  width:117px; height:66px; flex-shrink:0; border-radius:8px;
  object-fit:cover; background:#282828;
  border:1px solid rgba(255,255,255,0.2);
}
.wl-item-info { flex:1; display:flex; flex-direction:column; gap:4px; min-width:0; }
.wl-item-title {
  font-size:14px; font-weight:600; color:#EBEBEB; line-height:1.5;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.wl-item-meta {
  font-size:14px; font-weight:400; color:#989898; line-height:1.5;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.wl-item-delete {
  width:40px; height:40px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; background:none; border:none; padding:0;
  -webkit-tap-highlight-color:transparent;
  opacity:0; pointer-events:none; transition:opacity 0.2s;
}
.wl-item-delete:active { opacity:0.4 !important; }
#watchlist.edit-mode .wl-item-delete { opacity:1; pointer-events:all; }
.wl-empty-state {
  display:none; flex-direction:column; align-items:center; justify-content:center;
  padding:80px 40px 40px; gap:12px;
}
.wl-empty-state.visible { display:flex; }
.wl-empty-icon {
  width:56px; height:56px; border-radius:50%; background:#282828;
  display:flex; align-items:center; justify-content:center; margin-bottom:8px;
}
.wl-empty-title { font-size:18px; font-weight:600; color:#EBEBEB; text-align:center; }
.wl-empty-sub { font-size:14px; font-weight:400; color:#989898; text-align:center; line-height:1.5; }

/* ══ RECOMMENDATIONS GRID ══ */
#recommendations { background:#121212; }
.rec-grid-wrap {
  position:absolute; top:111px; left:0; right:0; bottom:110px;
  overflow-y:auto; overflow-x:hidden; scrollbar-width:none;
  -webkit-overflow-scrolling:touch; padding:0 16px 16px;
}
.rec-grid-wrap::-webkit-scrollbar { display:none; }
.rec-grid { display:grid; grid-template-columns:repeat(3,111px); gap:12px; }

.rail {
  display:flex; gap:12px; overflow-x:auto; overflow-y:visible;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; padding:2px 16px 6px;
}
.rail::-webkit-scrollbar { display:none; }

.pcard {
  min-width:144px; height:216px; border-radius:8px; overflow:hidden;
  position:relative; flex-shrink:0; cursor:pointer; transition:transform 0.15s;
  border:1px solid rgba(255,255,255,0.2);
}
.pcard:active { transform:scale(0.95); }
.pcard-grad {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, transparent 38%),
             linear-gradient(to top,   rgba(0,0,0,0.72) 0%, transparent 52%);
}
.wcard-thumb-grad {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, transparent 40%),
             linear-gradient(to top,   rgba(0,0,0,0.55) 0%, transparent 50%);
}

.wcard {
  min-width:248px; height:206px; border-radius:8px; overflow:hidden;
  position:relative; flex-shrink:0; cursor:pointer; background:#282828;
  transition:transform 0.15s; border:1px solid rgba(255,255,255,0.2);
}
.wcard:active { transform:scale(0.97); }
.wcard-thumb { width:100%; height:144px; position:relative; overflow:hidden; }
.wcard-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.wcard-progress { position:absolute; top:144px; left:0; right:0; height:4px; background:#646464; z-index:2; }
.wcard-progress-bar { height:100%; background:#FFCC00; }
.wcard-info {
  position:absolute; bottom:0; left:0; right:0; top:148px; padding:10px 12px 0;
  display:flex; align-items:flex-start; justify-content:space-between; gap:6px;
}
.wcard-text { flex:1; min-width:0; }
.wcard-title { font-size:13px; font-weight:600; color:#EBEBEB; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:4px; }
.wcard-ep { font-size:11px; color:rgba(255,255,255,0.4); }
.wcard-menu { flex-shrink:0; width:16px; margin-top:1px; display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; }
.wcard-menu span { width:4px; height:4px; border-radius:50%; background:#EBEBEB; display:block; }

.wcard-play { position:absolute; left:7px; top:87px; width:48px; height:48px; z-index:3; pointer-events:none; }

.tab-bar-img { position:absolute; bottom:0; left:0; right:0; z-index:100; height:110px; display:block; }
.tab-bar-img img { width:393px; height:110px; display:block; }

/* ═══ PLAYER SCREENS ═══════════════════════════════════════ */
#vplayer { background:#000; }
#hplayer { background:#000; }

/* ── Spinner loader (vertical + horizontal) ─────────────── */
@keyframes spinnerRotate { to { transform:rotate(360deg); } }

.spinner-ring {
  width:48px; height:48px; border-radius:50%; flex-shrink:0;
  border:3px solid rgba(235,235,235,0.25);
  border-top-color:#FFCC00;
  animation:spinnerRotate 0.85s linear infinite;
}

/* Vertical player spinner */
.vp-spinner {
  position:absolute; inset:0; background:#121212; z-index:20;
  display:flex; flex-direction:column;
  transition:opacity 0.25s ease;
}
.vp-spinner.hidden { opacity:0; pointer-events:none; }
.vp-spinner-bar {
  position:absolute; top:59px; left:0; right:0; height:35px;
  display:flex; align-items:center; padding:0 24px; gap:12px; z-index:10;
}
.vp-spinner-center {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
}

/* Horizontal player spinner */
.hp-spinner {
  position:absolute; inset:0; background:#121212; z-index:20;
  display:flex; flex-direction:column;
  transition:opacity 0.25s ease;
}
.hp-spinner.hidden { opacity:0; pointer-events:none; }
.hp-spinner-bar {
  position:absolute; top:0; left:0; right:0; height:78px;
  display:flex; align-items:flex-end; padding:0 32px 14px; gap:0;
  background:linear-gradient(to bottom, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.15) 77%, transparent);
}
.hp-spinner-center {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
}

/* Vertical player */
.vp-video-wrap {
  position:absolute; left:0; right:0;
  top:312px; height:221px;
}
.vp-video-wrap video {
  width:100%; height:100%; object-fit:contain; background:#000; display:block;
}
/* App bar — always visible, not part of auto-hide controls */
.vp-app-bar {
  position:absolute; top:47px; left:0; right:0; height:64px; z-index:10;
}
.vp-appbar-bg { display:block; width:390px; height:64px; }
.vp-appbar-text {
  position:absolute; top:0; left:64px; right:64px; height:64px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  pointer-events:none;
}
.vp-top-title {
  font-size:16px; font-weight:600; color:#ebebeb; line-height:1.5; text-align:center;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
.vp-top-sub {
  font-size:16px; font-weight:400; color:#ebebeb; line-height:1.5;
  display:flex; align-items:center; gap:8px;
}
.vp-top-dot {
  width:4px; height:4px; border-radius:50%; background:#ebebeb; flex-shrink:0;
}
.vp-appbar-back {
  position:absolute; top:0; left:0; width:64px; height:64px;
  background:none; border:none; cursor:pointer; padding:0;
}
/* Controls visibility */
.vp-controls { transition:opacity 0.3s ease; z-index:6; }
.vp-controls.hidden { opacity:0; pointer-events:none; }
/* Overlay dim */
.vp-overlay {
  position:absolute; inset:0; z-index:4;
  background:rgba(0,0,0,0.5);
  transition:opacity 0.3s ease; pointer-events:none;
}
.vp-overlay.hidden { opacity:0; }
/* Progress area */
.vp-progress-area {
  position:absolute; left:32px; right:32px; bottom:124px;
}
.vp-progress-track {
  height:4px; border-radius:9999px;
  background:rgba(255,255,255,0.2); position:relative; cursor:pointer;
}
.vp-progress-fill {
  position:absolute; left:0; top:0; bottom:0;
  background:#FFCC00; border-radius:9999px; width:0%;
}
.vp-progress-handle {
  position:absolute; top:50%; transform:translate(-50%,-50%);
  width:18px; height:18px; border-radius:50%; background:#FFCC00;
  left:0%; pointer-events:none;
}
.vp-time-row {
  display:flex; justify-content:space-between; margin-top:8px;
  font-size:16px; font-weight:400; color:#ebebeb; line-height:1.5;
}
/* Bottom controls row — full-width 390×84 VControls.svg */
.vp-ctrls-row {
  position:absolute; left:0; right:0; bottom:44px; height:84px; z-index:6;
}
/* Invisible overlay buttons on top of VControls.svg */
.vp-ov-btn {
  position:absolute; top:0; bottom:0; background:none; border:none; cursor:pointer; padding:0;
}
.vp-ov-play { left:50%; transform:translateX(-50%); width:80px; }
.vp-ov-skip-back  { left:96px;  width:68px; }
.vp-ov-skip-fwd   { right:96px; width:68px; }

/* ══════════════════════════════════════════════
   OTP SIGN IN SCREENS
══════════════════════════════════════════════ */
#otprequest { background:#121212; display:flex; flex-direction:column; overflow:hidden; }
#otpenter   { background:#121212; display:flex; flex-direction:column; overflow:hidden; }

.otp-boxes {
  display:flex; gap:20px; justify-content:center; margin-bottom:24px;
}
.otp-box {
  width:42px; height:51px;
  background:#282828; border:1px solid #8A8A8A; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:600; color:#EBEBEB;
  cursor:pointer; flex-shrink:0;
  transition:border-color 0.15s;
  -webkit-tap-highlight-color:transparent;
  position:relative;
}
/* filled → white border */
.otp-box.has-digit  { border-color:#EBEBEB; }
/* all 4 filled → gold border on all */
.otp-box.complete   { border-color:#FFCC00; }
/* active (next input pos) → white border — must come after .complete to override */
.otp-box.active     { border-color:#EBEBEB; }
/* when all filled AND last box still active → gold wins */
.otp-box.complete.active { border-color:#FFCC00; }
/* error → red border, text stays white */
.otp-box.err        { border-color:#EF4444 !important; color:#EBEBEB; }

/* blinking caret — only on empty active box */
.otp-box.active:not(.has-digit)::after {
  content:''; position:absolute;
  width:2px; height:26px;
  top:50%; left:50%; transform:translate(-50%,-50%);
  background:#EBEBEB; animation:caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.otp-err-banner {
  display:none; align-items:center; gap:10px;
  background:#281717; border:1px solid #EF4444;
  border-radius:8px; padding:12px 14px; margin-bottom:24px; flex-shrink:0;
}
.otp-err-banner.show { display:flex; animation:fslide 0.22s ease; }
.otp-err-banner-text { font-size:14px; font-weight:600; color:#EF4444; line-height:1.5; }

.otp-resend-row {
  display:flex; align-items:center; justify-content:center; gap:20px;
  margin-bottom:32px; font-size:16px; flex-shrink:0;
}
.otp-resend-muted { color:#EBEBEB; }
.otp-resend-link  { color:#FFCC00; font-weight:600; cursor:pointer; }
.otp-resend-link:active { opacity:0.6; }

.otp-email-shown { color:#989898; }

/* ── iOS Numeric Pad ── */
.numpad-panel {
  position:absolute; bottom:0; left:0; right:0;
  background:#d0d3d9; padding:8px 4px 0;
  transform:translateY(100%);
  transition:transform 0.4s cubic-bezier(0.32,0.72,0,1);
  z-index:100;
}
.iphone.landscape .numpad-panel { display:none; }
.numpad-panel.visible { transform:translateY(0); }
.np-row {
  display:flex; gap:5px; margin-bottom:8px;
}
.np-row:last-child { margin-bottom:0; }
.np-key {
  flex:1; height:52px;
  background:#fff; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  cursor:pointer; user-select:none;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.np-key span { font-size:22px; font-weight:400; color:#000; line-height:1; pointer-events:none; }
.np-key.active { background:#e5e5ea; }
.np-key-del {
  flex:1; height:52px;
  background:#adb5bd; border-radius:5px; box-shadow:0 1px 0 #898a8d;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; user-select:none;
  -webkit-tap-highlight-color:transparent; transition:background 0.05s;
}
.np-key-del.active { background:#c8cdd3; }
.np-key-empty {
  flex:1; height:52px; background:#adb5bd; border-radius:5px; pointer-events:none;
}
.np-accessory {
  height:28px; display:flex; align-items:center; justify-content:center;
}
.np-accessory::after {
  content:''; width:128px; height:5px;
  background:rgba(255,255,255,0.5); border-radius:9999px;
}

/* ══════════════════════════════════════════════
   REGISTER SCREENS
══════════════════════════════════════════════ */
#register1, #register2 {
  background:#121212; display:flex; flex-direction:column; overflow:hidden;
}
#register1.slide-enter, #register2.slide-enter { animation:slideIn 0.36s cubic-bezier(0.25,0.46,0.45,0.94) both; }
#register1.slide-leave, #register2.slide-leave { animation:slideOut 0.3s cubic-bezier(0.25,0.46,0.45,0.94) both; }

.reg-body {
  flex:1; overflow-y:auto; min-height:0;
  padding:0 24px 24px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  display:flex; flex-direction:column;
}
.reg-body::-webkit-scrollbar { display:none; }
.reg-body > * { flex-shrink:0; }

.reg-copy { margin-bottom:32px; padding-top:32px; }
.reg-title {
  font-size:24px; font-weight:600; color:#EBEBEB;
  text-align:center; margin-bottom:8px; line-height:1.2;
}
.reg-subtitle {
  font-size:16px; font-weight:400; color:#EBEBEB;
  text-align:center; line-height:1.5;
}

.promo-module {
  background:#282828; border-radius:8px;
  padding:16px 20px; margin-bottom:32px;
}
.promo-module-title {
  font-size:20px; font-weight:600; color:#EBEBEB; margin-bottom:4px; line-height:1.2;
}
.promo-module-desc {
  font-size:14px; font-weight:400; color:#989898; line-height:1.5; margin-bottom:4px;
}
.promo-module-link {
  font-size:14px; font-weight:600; color:#FFCC00; cursor:pointer;
}
.promo-module-link:active { opacity:0.7; }

.legal-text {
  font-size:12px; font-weight:400; color:#989898; line-height:1.5;
  margin-bottom:32px;
}
.legal-text a { color:#FFCC00; text-decoration:none; }

.pw-checklist {
  display:flex; flex-direction:column; gap:12px;
  padding:0 8px; margin-top:24px; margin-bottom:32px;
}
.pw-check-item {
  display:flex; align-items:center; gap:12px;
}
.pw-check-icon {
  width:20px; height:20px; flex-shrink:0;
  display:block;
}
.pw-check-text {
  font-size:14px; font-weight:400; color:#989898; line-height:1.5;
}

/* Register buttons: always tappable for validation feedback */
#reg1ContinueBtn, #reg2CreateBtn { cursor:pointer; }
#reg1ContinueBtn:active, #reg2CreateBtn:active { transform:scale(0.97); }

/* reg-body inherits fp-body input style */
.reg-body .fgroup { margin-bottom:0; }
.reg-body .fgroup + .fgroup { margin-top:0; }
.reg-body .flabel { color:#EBEBEB; font-size:16px; }
.reg-body .finput {
  background:#282828; border:1px solid #8A8A8A;
  padding:0 16px; border-radius:8px; height:58px;
}
.reg-body .finput::placeholder { color:#989898; }
.reg-body .finput.focused { border-color:#EBEBEB; }

.reg-card {
  background:transparent; border-radius:0;
  padding:0; margin-bottom:0;
  display:flex; flex-direction:column; flex-shrink:0;
}

/* ══════════════════════════════════════════════
   CONTINUE WATCHING — ACTION SHEET
══════════════════════════════════════════════ */
#cwActionSheet {
  position:absolute; inset:0; z-index:310;
  pointer-events:none;
}
#cwActionSheet.visible { pointer-events:all; }

.cw-overlay {
  position:absolute; inset:0;
  background:rgba(18,18,18,0.5);
  opacity:0; transition:opacity 0.3s ease;
}
#cwActionSheet.visible .cw-overlay { opacity:1; }

.cw-sheet {
  position:absolute; bottom:0; left:0; right:0;
  background:#282828;
  border-radius:8px 8px 0 0;
  padding:8px 20px 0;
  transform:translateY(100%);
  transition:transform 0.3s ease;
}
#cwActionSheet.visible .cw-sheet { transform:translateY(0); }

.cw-drag-handle {
  width:40px; height:4px;
  background:rgba(189,189,189,0.5);
  border-radius:9999px;
  margin:0 auto 20px;
}

.cw-sheet-title {
  font-size:24px; font-weight:600; color:#ebebeb; line-height:1.2;
  margin-bottom:32px;
}

.cw-action-row {
  display:flex; align-items:center; gap:16px;
  padding:0 0 24px; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.cw-action-row:active { opacity:0.6; }

.cw-action-icon {
  width:20px; height:20px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.cw-action-icon svg { width:20px; height:20px; }

.cw-action-label {
  font-size:16px; font-weight:400; color:#ebebeb; line-height:1.5;
}

.cw-sheet-pill {
  height:32px;
  display:flex; align-items:center; justify-content:center;
}
.cw-sheet-pill::after {
  content:''; width:128px; height:6px;
  background:rgba(255,255,255,0.5); border-radius:9999px;
}

/* ══════════════════════════════════════════════
   CONTINUE WATCHING — CONFIRM ALERT
══════════════════════════════════════════════ */
#cwConfirmAlert {
  position:absolute; inset:0; z-index:320;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; opacity:0;
  transition:opacity 0.2s ease;
}
#cwConfirmAlert.visible {
  pointer-events:all; opacity:1;
}

.cw-alert-box {
  width:300px;
  background:rgba(40,40,40,0.85);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:34px;
  padding:14px;
  transform:scale(0.92);
  transition:transform 0.2s cubic-bezier(0.34,1.3,0.64,1);
}
#cwConfirmAlert.visible .cw-alert-box { transform:scale(1); }

.cw-alert-text {
  padding:8px 8px 0;
}
.cw-alert-title {
  font-size:17px; font-weight:600; color:#fff; line-height:22px; letter-spacing:-0.43px;
  text-align:center; margin-bottom:8px;
}
.cw-alert-body {
  font-size:17px; font-weight:400; color:#999; line-height:22px;
  text-align:center; margin-bottom:16px;
}
.cw-alert-btns {
  display:flex; gap:16px;
}
.cw-alert-btn {
  flex:1; background:rgba(118,118,128,0.4); color:#fff;
  border:none; border-radius:1000px;
  padding:14px 20px; font-size:17px; font-family:'Inter',sans-serif;
  cursor:pointer; text-align:center;
  -webkit-tap-highlight-color:transparent;
  transition:opacity 0.12s;
}
.cw-alert-btn:active { opacity:0.6; }
.cw-alert-btn.danger { color:#ff383c; }

/* Remove animation */
@keyframes wcardSlideOut {
  0%   { transform:translateX(0); opacity:1; }
  100% { transform:translateX(-120%); opacity:0; }
}
@keyframes wcardCollapse {
  0%   { min-width:248px; opacity:0; margin-right:12px; }
  100% { min-width:0px;   opacity:0; margin-right:0; }
}
.wcard.removing { animation:wcardSlideOut 0.3s ease forwards; }
.wcard.collapsing {
  overflow:hidden; pointer-events:none;
  animation:wcardCollapse 0.25s ease forwards;
}

/* Horizontal player — 852×393 rotated -90deg inside 393×852 */
#hplayer { background:#000; }
#hplayer.active { z-index:300; }
.hp-dim {
  position:absolute; inset:0; z-index:4;
  background:rgba(18,18,18,0.5);
  transition:opacity 0.3s ease; pointer-events:none;
}
.hp-dim.hidden { opacity:0; }
.hp-controls { transition:opacity 0.3s ease; }
.hp-controls.hidden { opacity:0; pointer-events:none; }
.hp-inner {
  position:absolute; width:852px; height:393px;
  left:50%; top:50%;
  transform:translate(-50%,-50%) rotate(-90deg);
  overflow:hidden; background:#000;
}
.hp-inner video {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; background:#000; display:block;
}
/* ── Top bar ── */
.hp-top-bar {
  position:absolute; top:0; left:0; right:0; height:72px; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 32px;
  background:linear-gradient(to bottom, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.15) 77%, transparent);
}
.hp-back-btn {
  width:24px; height:24px; background:none; border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0; padding:0;
}
.hp-title-wrap {
  display:flex; flex-direction:column; align-items:center; width:204px;
}
.hp-title-main {
  font-size:16px; font-weight:600; color:#ebebeb; line-height:1.5;
  text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
.hp-title-sub {
  font-size:16px; font-weight:400; color:#ebebeb; line-height:1.5;
  display:flex; align-items:center; gap:8px;
}
.hp-title-dot {
  width:4px; height:4px; border-radius:50%; background:#ebebeb; flex-shrink:0;
}
.hp-top-icons {
  display:flex; align-items:center; gap:24px;
}
.hp-icon-btn {
  width:24px; height:24px; background:none; border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0; padding:0;
}
/* ── Center controls ── */
.hp-center-group {
  position:absolute; z-index:10;
  left:50%; top:50%;
  transform:translate(-50%, -50%);
  display:flex; align-items:center; gap:64px;
}
.hp-play-btn {
  flex-shrink:0; width:48px; height:48px;
  background:none; border:none;
  display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;
}
.hp-skip-btn {
  flex-shrink:0; width:32px; height:32px;
  background:none; border:none;
  display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;
}
/* ── Bottom bar ── */
.hp-bottom-bar {
  position:absolute; bottom:0; left:0; right:0; z-index:10;
  display:flex; flex-direction:column; gap:20px;
  padding:16px 32px 24px;
  background:linear-gradient(to top, rgba(18,18,18,0.8) 0%, transparent 100%);
}
.hp-slider-row {
  display:flex; align-items:center; gap:12px;
}
.hp-slider-time {
  font-size:16px; font-weight:400; color:#ebebeb; line-height:1.5;
  white-space:nowrap; flex-shrink:0;
}
.hp-slider-track {
  flex:1; height:4px; border-radius:9999px;
  background:rgba(255,255,255,0.2); position:relative; cursor:pointer;
}
.hp-slider-fill {
  position:absolute; left:0; top:0; bottom:0;
  background:#FFCC00; border-radius:9999px; width:0%;
}
.hp-slider-handle {
  position:absolute; top:50%; transform:translate(-50%,-50%);
  width:18px; height:18px; border-radius:50%; background:#FFCC00;
  left:0%; pointer-events:none;
}
.hp-ctrls-row {
  display:flex; align-items:center; justify-content:space-between;
}
.hp-info-pill {
  background:rgba(255,255,255,0.2); padding:4px 16px; border-radius:8px;
  font-size:14px; font-weight:400; color:#ebebeb; line-height:1.5;
  border:none; font-family:'Inter',sans-serif; cursor:pointer;
}
.hp-right-ctrls {
  display:flex; align-items:center; gap:24px;
}
.hp-vol-group {
  display:flex; align-items:center; gap:8px;
}
.hp-vol-track {
  width:64px; height:4px; border-radius:9999px;
  background:rgba(255,255,255,0.2); position:relative;
}
.hp-vol-fill {
  position:absolute; left:0; top:0; bottom:0;
  background:#ebebeb; border-radius:9999px; width:80%;
}
.hp-vol-handle {
  position:absolute; top:50%; transform:translate(-50%,-50%);
  width:12px; height:12px; border-radius:50%; background:#ebebeb;
  left:80%; pointer-events:none;
}

/* ══════════════════════════════════════════════
   BOOKSMART — TRAILERS PAGE
══════════════════════════════════════════════ */
#booksmartTrailers {
  background:#121212; overflow-y:auto; scrollbar-width:none;
  -webkit-overflow-scrolling:touch; display:flex; flex-direction:column;
}
#booksmartTrailers::-webkit-scrollbar { display:none; }

.bt-hero {
  position:relative; width:100%; height:585px; flex-shrink:0; overflow:hidden;
  margin-bottom:16px;
}
.bt-hero-bg {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center top;
}
.bt-hero-fade {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(18,18,18,0.45) 0%, rgba(18,18,18,0.15) 18%,
    rgba(18,18,18,0.25) 40%, rgba(18,18,18,0.72) 58%,
    rgba(18,18,18,0.95) 72%, #121212 85%);
}
.bt-appbar {
  position:sticky; top:59px; left:0; right:0; height:64px;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; z-index:20;
  margin-bottom:-64px; flex-shrink:0; pointer-events:none;
}
.bt-appbar button { pointer-events:all; }
.bt-circle-btn {
  width:32px; height:32px; background:none; border:none; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  -webkit-tap-highlight-color:transparent; flex-shrink:0; padding:0;
}
.bt-circle-btn:active { opacity:0.7; }

.bt-hero-content {
  position:absolute; bottom:0; left:0; right:0;
  padding:0 16px 0; z-index:2;
  display:flex; flex-direction:column; gap:12px; align-items:center;
}
.bt-movie-info { display:flex; flex-direction:column; gap:20px; align-items:center; width:100%; padding-bottom:12px; }
.bt-actions    { display:flex; flex-direction:column; gap:16px; align-items:center; width:100%; }
.bt-logo {
  width:218px; height:73px; object-fit:contain; object-position:center bottom;
}
.bt-play-btn {
  width:100%; height:44px; background:#FFCC00; color:#121212;
  border:none; border-radius:8px; font-size:16px; font-weight:600;
  font-family:'Inter',sans-serif; cursor:pointer; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:transform 0.1s, opacity 0.1s; -webkit-tap-highlight-color:transparent;
}
.bt-play-btn:active { transform:scale(0.97); opacity:0.9; }
.bt-action-row { display:flex; gap:12px; align-items:flex-start; }
.bt-action-btn {
  background:none; border:none; padding:0; cursor:pointer;
  -webkit-tap-highlight-color:transparent; flex-shrink:0;
  display:block; line-height:0;
}
.bt-action-btn:active { opacity:0.7; }
.bt-action-btn:active { opacity:0.7; }
.bt-meta { width:100%; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.bt-streaming { font-size:12px; font-weight:600; color:#fff3c2; line-height:1.5; }
.bt-desc-wrap { position:relative; width:100%; }
.bt-desc {
  font-size:14px; color:#EBEBEB; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.bt-more-pill {
  position:absolute; right:0; bottom:0; background:rgba(255,255,255,0.2);
  border:none; border-radius:4px; padding:2px 8px;
  font-size:10px; font-weight:600; color:#EBEBEB;
  font-family:'Inter',sans-serif; cursor:pointer; line-height:1.5;
}
.bt-tags { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.bt-tag-txt { font-size:14px; color:#EBEBEB; line-height:1.5; }
.bt-dot-sep { width:4px; height:4px; background:#EBEBEB; border-radius:50%; flex-shrink:0; }
.bt-pill {
  border:1px solid #8A8A8A; border-radius:4px; padding:2px 8px;
  font-size:10px; font-weight:600; color:#EBEBEB; line-height:1.5;
}

/* Segmented control */
.bt-tabs {
  display:flex; align-items:flex-end; flex-shrink:0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  overflow-x:auto; scrollbar-width:none;
  position:relative;
}
.bt-tabs::-webkit-scrollbar { display:none; }
.bt-tab {
  padding:12px 16px; font-size:16px; font-weight:400;
  color:#989898; cursor:pointer; white-space:nowrap;
  flex-shrink:0; line-height:1.5;
  transition:color 0.22s ease, font-weight 0s;
  -webkit-tap-highlight-color:transparent;
}
.bt-tab.bt-active { color:#EBEBEB; font-weight:600; }

/* indicador deslizante */
#btTabIndicator {
  position:absolute; bottom:0; height:3px;
  background:#FFCC00; border-radius:9999px 9999px 0 0;
  transition:left 0.3s cubic-bezier(0.4,0,0.2,1),
             width 0.3s cubic-bezier(0.4,0,0.2,1);
  pointer-events:none;
}

/* animación de entrada del panel */
@keyframes btPanelIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
.bt-panel-entering {
  animation: btPanelIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* Trailer list */
.bt-list {
  padding:16px; display:flex; flex-direction:column; gap:24px; flex-shrink:0;
}

/* More Like This */
.bt-mlt-content {
  padding:0 16px 16px; display:flex; flex-direction:column; flex-shrink:0;
}
.mlt-grid {
  display:grid; grid-template-columns:repeat(3, 111px); gap:12px;
}
.mlt-card {
  position:relative; width:111px; height:167px; border-radius:8px; overflow:hidden;
  background:#282828; border:1px solid rgba(255,255,255,0.2); flex-shrink:0;
}
.mlt-card img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.mlt-badge {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  background:#FFCC00; border-radius:2px 2px 0 0;
  padding:2px 4px; white-space:nowrap;
}
.mlt-badge-label {
  font-size:8px; font-weight:600; color:#121212; line-height:1.5;
}

/* Cast & Crew */
.bt-panel-hidden { display:none !important; }
.bt-cc-content {
  padding:16px; display:flex; flex-direction:column; gap:40px; flex-shrink:0;
}
.cc-group { display:flex; flex-direction:column; gap:4px; }
.cc-heading { font-size:20px; font-weight:600; color:#EBEBEB; line-height:1.2; padding-bottom:4px; }
.cc-list { display:flex; flex-direction:column; }
.cc-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; gap:32px;
}
.cc-name { font-size:16px; font-weight:600; color:#EBEBEB; flex:1; min-width:0; }
.cc-role { font-size:14px; font-weight:400; color:#989898; white-space:nowrap; text-align:right; }
.cc-divider { height:0.5px; background:rgba(255,255,255,0.08); flex-shrink:0; }
.bt-episode { display:flex; flex-direction:column; gap:8px; }
.bt-ep-card {
  width:358px; height:202px; border-radius:8px; overflow:hidden;
  position:relative; background:#282828;
  border:1px solid rgba(255,255,255,0.2); flex-shrink:0;
}
.bt-ep-card > img {
  position:absolute; inset:-1px;
  width:calc(100% + 2px); height:calc(100% + 2px); object-fit:cover;
}
.bt-ep-play {
  position:absolute; bottom:-1px; left:-1px; padding:12px; z-index:2; pointer-events:none;
}
.bt-ep-meta { display:flex; flex-direction:column; gap:8px; }
.bt-ep-title { font-size:14px; font-weight:600; color:#EBEBEB; line-height:1.5; }
.bt-ep-row { display:flex; align-items:center; gap:8px; }
.bt-ep-dur { font-size:12px; color:#989898; white-space:nowrap; }
.bt-ep-tags { display:flex; gap:8px; align-items:center; }
.bt-ep-desc { font-size:12px; color:#989898; line-height:1.5; }
.bt-home-ind {
  height:32px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.bt-home-ind span {
  width:128px; height:6px; background:rgba(255,255,255,0.5);
  border-radius:9999px; display:block;
}
