/* =====================================================================
   VEGFLIX · estilos de la parte pública
   ===================================================================== */
/* ---------- Fuentes (locales, sin depender de Google Fonts) ---------- */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); }

:root {
  --fondo: #262626;
  --fondo-2: #1c1c1c;
  --texto: #f2f2f2;
  --texto-suave: #c9c9c9;
  --texto-apagado: #8d8d8d;
  --rojo: #d82227;
  --rojo-boton: #c9473f;
  --rojo-boton-hover: #e0524a;
  --verde: #3a8a3c;
  --verde-hover: #46a049;
  --blanco: #ffffff;
  --negro: #0f0f0f;
  --radio: 26px;
  --titulos: "Bebas Neue", "Oswald", Impact, sans-serif;
  --cuerpo: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --sombra: 0 18px 50px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% 0%, #343434 0%, var(--fondo) 45%, var(--fondo-2) 100%);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: 0 1.15em; height: 40px; border: 0; border-radius: 999px;
  font-family: var(--titulos); font-size: 22px; letter-spacing: .04em; line-height: 1;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  user-select: none;
}
.boton:active { transform: scale(.97); }
.boton--play { background: var(--blanco); color: var(--negro); padding-left: .9em; }
.boton--play:hover { background: #e9e9e9; }
.boton__icono { font-size: .7em; }
.boton--respuesta { background: var(--rojo-boton); color: var(--blanco); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.boton--respuesta:hover { background: var(--rojo-boton-hover); }
.card--resuelta .boton--respuesta, .boton--respuesta.boton--verde { background: var(--verde); font-size: 24px; }
.card--resuelta .boton--respuesta:hover, .boton--respuesta.boton--verde:hover { background: var(--verde-hover); }
.boton--rojo { background: var(--rojo); color: var(--blanco); }
.boton--rojo:hover { background: #ef2e34; }
.boton--bloque { width: 100%; height: 48px; font-size: 26px; }
.boton:disabled { opacity: .55; cursor: wait; }

/* ---------- Campos ---------- */
.campo { display: block; margin-bottom: 16px; }
.campo__etiqueta { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-apagado); margin-bottom: 6px; }
.campo__input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 8px;
  border: 1px solid #444; background: #161616; color: var(--texto); font: inherit; font-size: 16px;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.campo__input:focus { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(216, 34, 39, .25); }

/* =====================================================================
   LOGIN
   ===================================================================== */
.pagina-login { display: grid; place-items: center; padding: 24px 16px; }
.login { width: 100%; max-width: 420px; text-align: center; }
.login__logo { width: min(320px, 70vw); margin: 0 auto 34px; }
.login__form {
  background: rgba(0, 0, 0, .55); border-radius: 12px; padding: 34px 30px 26px; text-align: left;
  box-shadow: var(--sombra); backdrop-filter: blur(6px);
}
.login__titulo { font-family: var(--titulos); font-weight: 400; font-size: 34px; letter-spacing: .04em; margin: 0 0 18px; }
.login__error { background: rgba(216, 34, 39, .18); border-left: 3px solid var(--rojo); padding: 10px 12px; border-radius: 6px; font-size: 14px; margin: 0 0 16px; }
.login__nota { color: var(--texto-apagado); font-size: 13px; text-align: center; margin: 18px 0 0; }

/* =====================================================================
   PERFILES · ¿Quién está viendo?
   ===================================================================== */
.pagina-perfiles { display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.perfiles__logo { width: min(260px, 60vw); margin: 0 auto 40px; }
.perfiles__titulo { font-family: var(--titulos); font-weight: 400; font-size: clamp(36px, 6vw, 56px); letter-spacing: .04em; margin: 0 0 34px; }
.perfiles__lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 0; }
.perfil { background: none; border: 0; padding: 0; display: grid; gap: 12px; justify-items: center; }
.perfil__avatar {
  --color: var(--rojo);
  width: clamp(110px, 20vw, 160px); aspect-ratio: 1; border-radius: 10px;
  display: grid; place-items: center; font-size: clamp(56px, 9vw, 84px);
  background: linear-gradient(145deg, var(--color), color-mix(in srgb, var(--color) 60%, #000));
  border: 4px solid transparent; transition: transform .2s ease, border-color .2s ease;
}
.perfil:hover .perfil__avatar, .perfil:focus-visible .perfil__avatar { transform: scale(1.06); border-color: var(--blanco); }
.perfil__nombre { font-family: var(--titulos); font-size: 26px; letter-spacing: .06em; color: var(--texto-suave); }
.perfil:hover .perfil__nombre { color: var(--blanco); }
.perfiles__pie { margin-top: 48px; color: var(--texto-apagado); font-size: 13px; }
.perfiles__pie a { color: var(--texto-apagado); }
.perfiles__pie a:hover { color: var(--texto); }
.perfiles__vacio { color: var(--texto-apagado); }

/* =====================================================================
   CABECERA + GRID
   ===================================================================== */
.cabecera {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 34px clamp(16px, 6vw, 130px) 10px;
}
.cabecera__logo img { width: clamp(150px, 16vw, 300px); }
.filtros { display: flex; gap: clamp(20px, 4vw, 60px); justify-content: center; }
.filtro {
  background: none; border: 0; padding: 6px 0; position: relative;
  font-family: var(--titulos); font-size: clamp(20px, 2vw, 26px); letter-spacing: .05em; text-transform: uppercase;
  color: var(--texto-suave); transition: color .15s ease;
}
.filtro::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--rojo); transform: scaleX(0); transition: transform .2s ease; }
.filtro:hover { color: var(--blanco); }
.filtro--activo { color: var(--blanco); }
.filtro--activo::after { transform: scaleX(1); }
.filtro__num { font-size: .72em; color: var(--texto-apagado); margin-left: .25em; }
.cabecera__derecha { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }

.campana { position: relative; }
.campana__boton { background: none; border: 0; padding: 6px; color: var(--texto); position: relative; display: grid; place-items: center; border-radius: 50%; }
.campana__boton:hover { color: var(--blanco); background: rgba(255, 255, 255, .06); }
.campana__punto { position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--rojo); border: 2px solid var(--fondo); transform: scale(0); transition: transform .2s ease; }
.campana__punto--visible { transform: scale(1); animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 0%, 100% { box-shadow: 0 0 0 0 rgba(216, 34, 39, .6); } 50% { box-shadow: 0 0 0 8px rgba(216, 34, 39, 0); } }
.campana__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); z-index: 40;
  background: #181818; border: 1px solid #333; border-radius: 12px; box-shadow: var(--sombra); overflow: hidden;
}
.campana__cabecera { font-family: var(--titulos); font-size: 22px; letter-spacing: .05em; padding: 12px 16px; border-bottom: 1px solid #2c2c2c; }
.notificaciones { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.notificacion { padding: 12px 16px; border-bottom: 1px solid #242424; display: grid; gap: 3px; cursor: default; }
.notificacion--accion { cursor: pointer; }
.notificacion--accion:hover { background: #222; }
.notificacion--nueva { background: rgba(216, 34, 39, .08); }
.notificacion__titulo { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.notificacion--nueva .notificacion__titulo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); flex: none; }
.notificacion__texto { font-size: 13px; color: var(--texto-suave); }
.notificacion__fecha { font-size: 11px; color: var(--texto-apagado); }
.notificacion--vacia { color: var(--texto-apagado); font-size: 13px; text-align: center; }

.perfil-mini { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.perfil-mini__avatar { --color: var(--rojo); width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-size: 19px; background: linear-gradient(145deg, var(--color), color-mix(in srgb, var(--color) 60%, #000)); }
.perfil-mini__nombre { font-family: var(--titulos); font-size: 18px; letter-spacing: .05em; color: var(--texto-suave); }
.perfil-mini:hover .perfil-mini__nombre { color: var(--blanco); }

.contenido { padding: 10px clamp(16px, 6vw, 130px) 70px; }
.progreso-barra { height: 4px; background: #3a3a3a; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.progreso-barra__relleno { height: 100%; background: linear-gradient(90deg, var(--rojo), #ff6a3d); width: 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.progreso-texto { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-apagado); margin: 8px 0 26px; }
.progreso-texto span { color: var(--texto-suave); }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px clamp(18px, 3vw, 56px); }
.grid__vacio { text-align: center; color: var(--texto-apagado); padding: 40px 0; }

.card { display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.card__botones .boton { font-size: 17px; font-size: clamp(13px, 7.8cqw, 22px); height: 1.9em; min-height: 32px; padding: 0 .7em; }
.card__botones .boton--play { padding-left: .55em; }
.card--resuelta .card__botones .boton--respuesta { font-size: 19px; font-size: clamp(14px, 8.6cqw, 24px); }
.card--oculta { display: none; }
.card__poster {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; overflow: hidden;
  aspect-ratio: 300 / 520; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card__poster:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 22px 45px rgba(0, 0, 0, .6); z-index: 2; }
.card__poster:hover img { transform: scale(1.04); }
.card__poster:focus-visible { outline: 3px solid var(--blanco); outline-offset: 3px; }
.card__check { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.card__autor { font-family: var(--titulos); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--rojo); margin: 12px 0 4px; }
.card__pregunta {
  margin: 0 0 14px; font-size: 12.5px; line-height: 1.4; color: var(--texto-suave);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card__botones { display: flex; gap: 10px; margin-top: auto; }

/* =====================================================================
   FICHA AMPLIADA
   ===================================================================== */
.ficha { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.ficha__fondo { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); animation: aparecer .25s ease; }
.ficha__caja {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: #181818; border-radius: 14px; box-shadow: var(--sombra);
  animation: zoom-ficha .32s cubic-bezier(.2, .8, .2, 1);
}
@keyframes aparecer { from { opacity: 0; } }
@keyframes zoom-ficha { from { opacity: 0; transform: scale(.82) translateY(24px); } }
.ficha__cerrar {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: #181818; color: #fff; font-size: 18px; display: grid; place-items: center;
}
.ficha__cerrar:hover { background: #333; }
.ficha__hero { position: relative; min-height: 340px; overflow: hidden; display: flex; align-items: flex-end; }
.ficha__fondo-img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.ficha__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #181818 0%, rgba(24, 24, 24, .65) 35%, rgba(24, 24, 24, 0) 70%); }
.ficha__poster {
  position: absolute; right: 44px; top: 34px; width: 160px; aspect-ratio: 300/520; z-index: 3;
  padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #111; cursor: zoom-in;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6); transition: transform .25s ease, box-shadow .25s ease;
}
.ficha__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ficha__poster:hover, .ficha__poster:focus-visible { transform: scale(1.03); box-shadow: 0 22px 50px rgba(0, 0, 0, .7); }
.ficha__poster:hover img { transform: scale(1.05); }
.ficha__poster:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ficha__zoom {
  position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0, 0, 0, .65); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .35); transition: background-color .2s ease, transform .2s ease;
}
.ficha__poster:hover .ficha__zoom { background: var(--rojo); transform: scale(1.08); }

/* Carátula a pantalla completa */
.lightbox { position: fixed; inset: 0; z-index: 75; background: rgba(0, 0, 0, .94); display: grid; place-items: center; padding: 20px; animation: aparecer .2s ease; cursor: zoom-out; }
.lightbox__img { max-width: min(100%, 900px); max-height: calc(100vh - 90px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); animation: zoom-ficha .3s cubic-bezier(.2, .8, .2, 1); }
.lightbox__titulo { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-family: var(--titulos); font-size: 22px; letter-spacing: .06em; color: var(--texto-suave); }
.lightbox__cerrar { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.lightbox__cerrar:hover { background: var(--rojo); }
.ficha__hero-texto { position: relative; z-index: 2; padding: 40px 240px 22px 44px; }
.ficha__marca { font-size: 11px; letter-spacing: .3em; color: var(--texto-suave); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.ficha__n { color: var(--rojo); font-family: var(--titulos); font-size: 22px; line-height: 1; letter-spacing: 0; }
.ficha__titulo { font-family: var(--titulos); font-weight: 400; font-size: clamp(38px, 6vw, 66px); line-height: .95; letter-spacing: .02em; margin: 0 0 10px; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.ficha__meta { font-size: 13px; color: var(--texto-suave); margin: 0; }
.ficha__cuerpo { padding: 6px 44px 34px; }
.ficha__autor { font-family: var(--titulos); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--rojo); margin: 0 0 8px; }
.ficha__pregunta { font-size: 16px; line-height: 1.55; color: var(--texto); margin: 0 0 22px; max-width: 640px; }

.respuesta { margin: 0 0 22px; }
.respuesta__fila { display: flex; gap: 10px; max-width: 560px; }
.respuesta__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px; font: inherit; font-size: 18px;
  background: #0f0f0f; border: 2px solid #3a3a3a; color: var(--texto); outline: none; transition: border-color .15s ease;
}
.respuesta__input:focus { border-color: var(--rojo); }
.respuesta__input[type="number"] { -moz-appearance: textfield; }
.respuesta__input::-webkit-outer-spin-button, .respuesta__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.respuesta__estado { min-height: 20px; font-size: 14px; font-weight: 600; margin: 10px 0 0; color: var(--texto-suave); }
.respuesta__estado--fallo { color: #ff8a80; }
.respuesta__estado--acierto { color: #8fdc91; }
.respuesta__pista { margin: 10px 0 0; padding: 10px 14px; border-radius: 8px; background: rgba(255, 196, 0, .12); border-left: 3px solid #f5c400; font-size: 14px; color: #ffe38a; max-width: 560px; animation: aparecer .3s ease; }
.respuesta__pista::before { content: "💡 Pista: "; font-weight: 700; }
.respuesta__intentos { font-size: 12px; color: var(--texto-apagado); margin: 8px 0 0; }
.respuesta--temblor { animation: temblor .5s ease; }
@keyframes temblor { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }

.ficha__resuelta { margin: 0 0 22px; padding: 14px 18px; border-radius: 10px; background: rgba(58, 138, 60, .18); border-left: 4px solid var(--verde); max-width: 560px; }
.ficha__resuelta-titulo { font-family: var(--titulos); font-size: 26px; letter-spacing: .04em; margin: 0 0 4px; color: #a8e6a9; }
.ficha__resuelta-texto { margin: 0; font-size: 14px; color: var(--texto-suave); }
.ficha__botones { display: flex; gap: 12px; flex-wrap: wrap; }
.ficha__botones .boton { height: 46px; font-size: 24px; padding: 0 1.4em; }
.ficha__botones .boton--respuesta { flex: 0 1 auto; }

/* =====================================================================
   PANTALLA FINAL
   ===================================================================== */
.final { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.final__fondo { position: absolute; inset: 0; background: rgba(20, 20, 20, .82); animation: aparecer .3s ease; }
.final__caja {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  padding: clamp(28px, 5vw, 60px) clamp(20px, 6vw, 90px); text-align: center;
  background: linear-gradient(180deg, #e2231a 0%, #b5131a 100%); border: 10px solid #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  animation: zoom-ficha .45s cubic-bezier(.2, .8, .2, 1);
}
.final__logo { width: min(380px, 70%); margin: 0 auto 30px; }
.final__titulo { font-family: var(--titulos); font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: .04em; margin: 0 0 24px; }
.final__texto { font-size: clamp(16px, 2vw, 22px); line-height: 1.5; margin: 0 auto 22px; max-width: 760px; }
.final__codigo { font-family: var(--titulos); font-size: clamp(34px, 5vw, 48px); letter-spacing: .12em; margin: 0 0 24px; }
.final__cerrar { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; font-size: 16px; }
.final__cerrar:hover { background: rgba(0, 0, 0, .45); }

/* ---------- Confeti y avisos ---------- */
.confeti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90;
  background: #111; color: #fff; padding: 12px 18px; border-radius: 10px; border-left: 4px solid var(--rojo);
  box-shadow: var(--sombra); font-size: 14px; max-width: min(440px, calc(100vw - 32px)); animation: subir .3s ease;
}
@keyframes subir { from { opacity: 0; transform: translate(-50%, 16px); } }

/* =====================================================================
   REPRODUCTOR A PANTALLA COMPLETA
   ===================================================================== */
.pagina-ver { background: #000; overflow: hidden; }
.reproductor { position: fixed; inset: 0; background: #000; }
.reproductor__video, .reproductor__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.reproductor__volver {
  position: absolute; top: 18px; left: 18px; z-index: 5; display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .3s ease;
}
.reproductor--activo .reproductor__volver, .reproductor__vacio ~ .reproductor__volver, .reproductor__volver:focus-visible { opacity: 1; }
.reproductor:not(:has(.reproductor__video)) .reproductor__volver { opacity: 1; }
.reproductor__titulo { font-family: var(--titulos); font-size: 22px; letter-spacing: .04em; }
.reproductor__vacio { position: absolute; inset: 0; display: grid; place-items: center; }
.reproductor__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.35); }
.reproductor__aviso { position: relative; text-align: center; padding: 24px; max-width: 520px; }
.reproductor__aviso-icono { font-size: 64px; margin: 0 0 10px; }
.reproductor__aviso-texto { font-size: 18px; line-height: 1.5; margin: 0 0 24px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .cabecera { grid-template-columns: 1fr auto; padding-top: 22px; row-gap: 6px; }
  .cabecera__logo { grid-row: 1; grid-column: 1; }
  .cabecera__derecha { grid-row: 1; grid-column: 2; }
  .filtros { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; gap: 28px; }
  .ficha__poster { width: 110px; right: 20px; top: 20px; }
  .ficha__zoom { width: 32px; height: 32px; right: 6px; bottom: 6px; }
  .ficha__hero-texto { padding-right: 150px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card__botones { flex-direction: column; gap: 8px; }
  .card__botones .boton { width: 100%; font-size: 20px; height: 38px; }
  .card--resuelta .card__botones .boton--respuesta { font-size: 22px; }
  .card__pregunta { -webkit-line-clamp: 3; font-size: 12px; }
  .perfil-mini__nombre { display: none; }
  .ficha { padding: 0; align-items: end; }
  .ficha__caja { max-height: 100vh; border-radius: 16px 16px 0 0; }
  .ficha__hero { min-height: 280px; }
  .ficha__poster { width: 96px; right: 16px; top: 60px; }
  .ficha__hero-texto { padding: 30px 124px 14px 20px; }
  .ficha__titulo { font-size: 34px; }
  .ficha__cuerpo { padding: 4px 20px 28px; }
  .respuesta__fila { flex-direction: column; }
  .ficha__botones .boton { flex: 1; }
  .final__caja { border-width: 6px; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .card__poster { max-width: 260px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
