/* REMOTE PC-PS5 - Estilo neon ochentero (atardecer de Miami, synthwave).
   Original: sin logotipos, tipografias ni arte de terceros. */

:root {
  --noche: #0b0221;
  --noche-2: #170838;
  --noche-3: #241056;
  --violeta: #8c1eff;
  --rosa: #ff2a6d;
  --naranja: #ff8c42;
  --amarillo: #ffd319;
  --cian: #05d9e8;
  --verde: #3dfcb3;
  --rojo: #ff4d6d;
  --texto: #f7f2ff;
  --tenue: #b9a8dd;
  --vidrio: rgba(28, 12, 66, 0.62);
  --vidrio-2: rgba(40, 18, 92, 0.72);
  --borde: rgba(255, 255, 255, 0.12);
  --atardecer: linear-gradient(180deg, var(--amarillo) 0%, var(--naranja) 38%, var(--rosa) 70%, var(--violeta) 100%);
  --neon: linear-gradient(90deg, var(--rosa), var(--violeta) 50%, var(--cian));
  --radio: 18px;
  --sombra: 0 10px 40px rgba(5, 0, 20, 0.55);
  --rapida: 160ms cubic-bezier(.2, .8, .2, 1);
  --media: 320ms cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--noche);
  color: var(--texto);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

/* Cielo con estrellas, fijo detras de todo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 8%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 26%, #fff7 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 36%, #fff6 50%, transparent 51%),
    radial-gradient(ellipse 120% 70% at 50% 110%, #ff2a6d33, transparent 60%),
    linear-gradient(180deg, var(--noche) 0%, var(--noche-2) 55%, #2b0b4f 100%);
}

a { color: var(--cian); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------------------------------------ cabecera */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11, 2, 33, 0.72);
  border-bottom: 1px solid var(--borde);
}

.cabecera-dentro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none !important;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .04em;
  white-space: nowrap;
}
.logo-sol {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--atardecer);
  -webkit-mask: linear-gradient(#000 0 55%, transparent 55% 60%, #000 60% 69%, transparent 69% 74%, #000 74% 82%, transparent 82% 87%, #000 87%);
  mask: linear-gradient(#000 0 55%, transparent 55% 60%, #000 60% 69%, transparent 69% 74%, #000 74% 82%, transparent 82% 87%, #000 87%);
  filter: drop-shadow(0 0 8px #ff2a6d99);
}
.logo-texto span {
  background: var(--neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--tenue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--rapida), background var(--rapida);
}
.nav a:hover { color: var(--texto); background: #ffffff10; }
.nav a[aria-current="page"] { color: var(--texto); background: #ffffff18; }

.cabecera .menu-boton { display: none; }

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 58px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(11, 2, 33, 0.97);
    border-bottom: 1px solid var(--borde);
    transform: translateY(-120%);
    transition: transform var(--media);
  }
  .nav.abierta { transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .cabecera .menu-boton { display: inline-grid; place-items: center; margin-left: auto; }
}

/* ------------------------------------------------------------ estructura */

main { max-width: 1180px; margin: 0 auto; padding: 0 16px 64px; min-height: 70vh; }

.vista { animation: aparecer var(--media) both; }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 6vw, 56px); font-weight: 900; font-style: italic; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 850; font-style: italic; }
h3 { font-size: 18px; }

.titulo-seccion { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 40px 0 16px; flex-wrap: wrap; }
.titulo-seccion p { margin: 0; color: var(--tenue); }

.degradado {
  background: var(--atardecer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tenue { color: var(--tenue); }
.pequeno { font-size: 14px; }

/* ------------------------------------------------------------ botones y campos */

.boton {
  --fondo: #ffffff14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--borde);
  background: var(--fondo);
  color: var(--texto);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform var(--rapida), box-shadow var(--rapida), background var(--rapida), opacity var(--rapida);
  -webkit-tap-highlight-color: transparent;
}
.boton:hover { transform: translateY(-1px); background: #ffffff1f; }
.boton:active { transform: translateY(1px) scale(.98); }
.boton:disabled { opacity: .5; cursor: progress; transform: none; }
.boton.primario {
  border: 0;
  background: linear-gradient(90deg, var(--rosa), var(--violeta));
  box-shadow: 0 0 0 1px #ffffff22 inset, 0 8px 28px #ff2a6d55;
}
.boton.primario:hover { box-shadow: 0 0 0 1px #ffffff33 inset, 0 10px 36px #ff2a6d88; }
.boton.cian { border: 0; background: linear-gradient(90deg, #05b8e8, var(--cian)); color: #021018; box-shadow: 0 8px 28px #05d9e855; }
.boton.peligro { border-color: #ff4d6d66; color: #ffb3c1; }
.boton.grande { min-height: 56px; font-size: 18px; padding: 0 28px; }
.boton.icono { padding: 0; width: 44px; min-height: 44px; }
.boton.bloque { width: 100%; }

.campo { display: grid; gap: 6px; margin: 14px 0; }
.campo label { font-size: 14px; color: var(--tenue); font-weight: 600; }
.campo .ayuda { font-size: 13px; color: var(--tenue); }
input, textarea, select {
  font: inherit;
  color: var(--texto);
  background: #0b0221cc;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--rapida), box-shadow var(--rapida);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--cian); box-shadow: 0 0 0 3px #05d9e833; }
.error-campo { color: #ff9db0; font-size: 14px; min-height: 0; }

.interruptor { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 650; }
.interruptor input { appearance: none; width: 52px; height: 30px; min-height: 0; padding: 0; border-radius: 999px; background: #ffffff22; position: relative; cursor: pointer; }
.interruptor input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform var(--rapida); }
.interruptor input:checked { background: linear-gradient(90deg, var(--verde), var(--cian)); }
.interruptor input:checked::after { transform: translateX(22px); }

/* ------------------------------------------------------------ portada */

/* Escritorio: texto a la izquierda, escena a la derecha. Movil: texto arriba,
   escena debajo. El titular nunca queda encima del sol, para que se lea. */
.portada {
  position: relative;
  margin: 0 -16px;
  padding: 48px 16px 0;
  min-height: min(640px, 88vh);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.portada-texto { position: relative; z-index: 2; padding-bottom: 22%; }
.portada h1 { max-width: 14ch; text-shadow: 0 0 34px #ff2a6d44; }
.portada .lema { max-width: 520px; font-size: clamp(17px, 2.2vw, 20px); color: #e6dcff; margin: 0 0 24px; }
.portada .acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.portada-escena { position: relative; align-self: stretch; min-height: 420px; }

.sol {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: min(400px, 92%);
  aspect-ratio: 1;
  transform: translate(-50%, 18%);
  border-radius: 50%;
  background: var(--atardecer);
  -webkit-mask: linear-gradient(#000 0 50%, transparent 50% 54%, #000 54% 61%, transparent 61% 66%, #000 66% 72%, transparent 72% 78%, #000 78% 83%, transparent 83% 89%, #000 89% 93%, transparent 93%);
  mask: linear-gradient(#000 0 50%, transparent 50% 54%, #000 54% 61%, transparent 61% 66%, #000 66% 72%, transparent 72% 78%, #000 78% 83%, transparent 83% 89%, #000 89% 93%, transparent 93%);
  filter: drop-shadow(0 0 60px #ff2a6daa);
  z-index: -1;
  animation: respirar 6s ease-in-out infinite;
}
@keyframes respirar { 50% { transform: translate(-50%, 18%) scale(1.02); } }

.suelo {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 26%;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--noche) 0%, transparent 35%),
    repeating-linear-gradient(90deg, #ff2a6d77 0 2px, transparent 2px 80px),
    repeating-linear-gradient(0deg, #05d9e866 0 2px, transparent 2px 44px),
    linear-gradient(180deg, #2b0b4f, #120530);
  transform: perspective(300px) rotateX(58deg);
  transform-origin: top center;
  animation: avanzar 2.4s linear infinite;
}
@keyframes avanzar { to { background-position: 0 0, 0 0, 0 44px, 0 0; } }

.horizonte { position: absolute; left: 0; right: 0; bottom: 26%; height: 2px; background: var(--neon); box-shadow: 0 0 18px var(--rosa); z-index: 0; }
/* Bordes laterales difuminados: la rejilla se funde con la noche */
.suelo, .horizonte {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

.palmera { position: absolute; bottom: 25%; width: clamp(110px, 16vw, 210px); color: #12052b; z-index: 0; filter: drop-shadow(0 0 2px #ff2a6d55); }
.palmera.izq { left: -4%; transform: rotate(-4deg); }
.palmera.der { right: -6%; transform: scaleX(-1) rotate(-6deg); width: clamp(90px, 13vw, 170px); }

@media (max-width: 860px) {
  .portada { grid-template-columns: 1fr; padding-top: 32px; min-height: 0; text-align: center; }
  .portada-texto { padding-bottom: 0; display: grid; justify-items: center; }
  .portada .acciones { justify-content: center; }
  .portada-escena { min-height: 300px; margin-top: -8px; }
  .sol { width: min(300px, 74vw); }
  .horizonte, .suelo { bottom: 0; }
  .suelo { height: 34%; }
  .horizonte { bottom: 34%; }
  .sol { bottom: 34%; }
  .palmera { bottom: 33%; }
  .palmera.izq { left: -2%; }
  .palmera.der { right: -2%; }
}

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.paso {
  padding: 22px;
  border-radius: var(--radio);
  background: var(--vidrio);
  border: 1px solid var(--borde);
  backdrop-filter: blur(10px);
}
.paso .num { font-size: 42px; font-weight: 900; font-style: italic; line-height: 1; margin-bottom: 8px; }

/* ------------------------------------------------------------ tarjetas de anfitrion */

.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.tarjeta {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radio);
  background: var(--vidrio);
  border: 1px solid var(--borde);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--texto);
  text-decoration: none !important;
  transition: transform var(--media), box-shadow var(--media), border-color var(--media);
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}
a.tarjeta:hover { transform: translateY(-4px); border-color: #ff2a6d88; box-shadow: 0 0 0 1px #ff2a6d44, 0 14px 40px #ff2a6d33; }
.tarjeta-cab { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.tarjeta h3 { margin: 0; font-size: 19px; font-weight: 850; font-style: italic; }
.lugar { font-size: 14px; color: var(--tenue); }
.juegos { display: flex; flex-wrap: wrap; gap: 6px; }
.juego { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: #ffffff10; border: 1px solid var(--borde); color: #e6dcff; }
.tarjeta-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--tenue); }

.estado { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado.libre { color: var(--verde); background: #3dfcb318; }
.estado.libre::before { box-shadow: 0 0 0 0 currentColor; animation: latir 1.8s infinite; }
.estado.ocupado { color: var(--amarillo); background: #ffd31918; }
.estado.pausado { color: var(--naranja); background: #ff8c4218; }
.estado.fuera { color: #9a8fbf; background: #ffffff0c; }
@keyframes latir { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* estrellas parciales */
.estrellas { --v: 0; position: relative; display: inline-block; font-size: 17px; line-height: 1; letter-spacing: 2px; color: #ffffff26; white-space: nowrap; }
.estrellas::before { content: "★★★★★"; }
.estrellas::after {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--v) / 5 * 100%);
  overflow: hidden;
  background: linear-gradient(90deg, var(--amarillo), var(--naranja));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nota { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.nota small { font-weight: 500; color: var(--tenue); }

.nivel { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.nivel.destacado { color: #241000; background: linear-gradient(90deg, var(--amarillo), var(--naranja)); box-shadow: 0 0 16px #ffd31966; }
.nivel.confiable { color: #011a1f; background: linear-gradient(90deg, var(--verde), var(--cian)); }
.nivel.regular { color: #e6dcff; background: #ffffff14; }
.nivel.nuevo { color: #f3e8ff; background: #8c1eff55; }
.nivel.revisar { color: #ffd0d8; background: #ff4d6d33; }

/* esqueletos de carga */
.esqueleto { min-height: 200px; background: linear-gradient(100deg, #ffffff08 30%, #ffffff16 50%, #ffffff08 70%) 0 0 / 300% 100%; animation: brillo 1.2s linear infinite; }
@keyframes brillo { to { background-position: -150% 0; } }

/* ------------------------------------------------------------ filtros */

.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filtros input[type="search"] { flex: 1 1 220px; }
.filtros select { width: auto; flex: 0 0 auto; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--borde);
  background: #ffffff0c;
  color: var(--texto);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background var(--rapida), border-color var(--rapida), transform var(--rapida);
}
.chip:hover { background: #ffffff18; }
.chip[aria-pressed="true"] { border-color: transparent; background: linear-gradient(90deg, #ff2a6d55, #8c1eff55); box-shadow: 0 0 0 1px #ff2a6d88 inset; }
.chip.bueno[aria-pressed="true"] { background: #3dfcb326; box-shadow: 0 0 0 1px #3dfcb388 inset; }
.chip.malo[aria-pressed="true"] { background: #ff4d6d26; box-shadow: 0 0 0 1px #ff4d6d88 inset; }

.vacio { text-align: center; padding: 48px 16px; color: var(--tenue); border: 1px dashed var(--borde); border-radius: var(--radio); }

/* ------------------------------------------------------------ ficha de anfitrion */

.ficha { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; margin-top: 28px; align-items: start; }
@media (max-width: 900px) { .ficha { grid-template-columns: 1fr; } }
.panel {
  padding: 22px;
  border-radius: var(--radio);
  background: var(--vidrio);
  border: 1px solid var(--borde);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel + .panel { margin-top: 16px; }
.pegajoso { position: sticky; top: 84px; }
.grande-nota { font-size: 54px; font-weight: 900; font-style: italic; line-height: 1; }

.barras { display: grid; gap: 6px; margin: 12px 0; }
.barra { display: grid; grid-template-columns: 22px 1fr 34px; gap: 8px; align-items: center; font-size: 14px; color: var(--tenue); }
.barra i { height: 8px; border-radius: 999px; background: #ffffff14; overflow: hidden; }
.barra i b { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--naranja), var(--amarillo)); border-radius: inherit; transform-origin: left; animation: crecer 700ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes crecer { from { transform: scaleX(0); } }

.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.dato { padding: 14px; border-radius: 14px; background: #ffffff0a; border: 1px solid var(--borde); }
.dato b { display: block; font-size: 22px; font-weight: 850; }
.dato span { font-size: 13px; color: var(--tenue); }

.resena { padding: 16px 0; border-top: 1px solid var(--borde); }
.resena:first-child { border-top: 0; }
.resena-cab { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.resena p { margin: 8px 0 0; }
.etiqueta { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; }
.etiqueta.buena { background: #3dfcb31c; color: #b5ffe4; }
.etiqueta.mala { background: #ff4d6d1f; color: #ffc2cd; }

.duraciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin: 12px 0 16px; }

/* ------------------------------------------------------------ partida */

.partida { max-width: 640px; margin: 32px auto 0; text-align: center; }
.linea-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 26px; font-size: 13px; color: var(--tenue); }
.linea-pasos li { list-style: none; padding-top: 8px; border-top: 3px solid #ffffff1c; transition: border-color var(--media), color var(--media); }
.linea-pasos li.hecho { border-color: var(--verde); color: var(--texto); }
.linea-pasos li.actual { border-color: var(--rosa); color: var(--texto); font-weight: 750; }
.linea-pasos { padding: 0; }

.anillo { position: relative; width: 220px; height: 220px; margin: 0 auto 18px; }
.anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 10; }
.anillo .fondo { stroke: #ffffff14; }
.anillo .progreso { stroke: url(#gradAnillo); stroke-linecap: round; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 6px #ff2a6daa); }
.anillo .tiempo { position: absolute; inset: 0; display: grid; place-content: center; font-size: 44px; font-weight: 900; font-style: italic; font-variant-numeric: tabular-nums; }
.anillo .tiempo small { font-size: 13px; font-weight: 600; font-style: normal; color: var(--tenue); }

.giro { width: 54px; height: 54px; margin: 10px auto 18px; border-radius: 50%; border: 4px solid #ffffff1c; border-top-color: var(--rosa); border-right-color: var(--cian); animation: girar 900ms linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.aviso { padding: 12px 14px; border-radius: 12px; background: #05d9e814; border: 1px solid #05d9e844; color: #c9f8fc; font-size: 14px; text-align: left; }
.aviso.amarillo { background: #ffd31912; border-color: #ffd31944; color: #fff1b3; }

/* ------------------------------------------------------------ dialogo (calificar, clave) */

dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 1px solid var(--borde);
  border-radius: 22px;
  background: linear-gradient(180deg, #23104f, #150735);
  color: var(--texto);
  box-shadow: var(--sombra), 0 0 0 1px #ff2a6d33;
}
dialog[open] { animation: subir var(--media) both; }
@keyframes subir { from { opacity: 0; transform: translateY(24px) scale(.98); } }
dialog::backdrop { background: rgba(5, 0, 18, 0.72); backdrop-filter: blur(4px); }
.dialogo-cuerpo { padding: 24px; }

.calificar { text-align: center; }
.estrellas-grandes { display: flex; justify-content: center; gap: 6px; margin: 10px 0 6px; padding: 0; border: 0; direction: rtl; }
.estrellas-grandes input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.estrellas-grandes label {
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  color: #ffffff22;
  transition: transform var(--rapida), color var(--rapida), filter var(--rapida);
  -webkit-tap-highlight-color: transparent;
}
.estrellas-grandes label:hover,
.estrellas-grandes label:hover ~ label,
.estrellas-grandes input:checked ~ label { color: var(--amarillo); filter: drop-shadow(0 0 10px #ffd31999); }
.estrellas-grandes label:active { transform: scale(1.25); }
.estrellas-grandes input:focus-visible + label { outline: 2px solid var(--cian); border-radius: 8px; }
.texto-estrellas { min-height: 24px; font-weight: 750; color: var(--amarillo); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }

.clave { font-family: ui-monospace, Consolas, monospace; font-size: 14px; word-break: break-all; padding: 12px; border-radius: 12px; background: #0b0221; border: 1px dashed var(--cian); }

/* ------------------------------------------------------------ avisos emergentes */

.toasts { position: fixed; z-index: 50; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { padding: 12px 16px; border-radius: 14px; background: #23104ff2; border: 1px solid var(--borde); box-shadow: var(--sombra); animation: subir var(--media) both; }
.toast.ok { border-color: #3dfcb366; }
.toast.mal { border-color: #ff4d6d77; }

/* ------------------------------------------------------------ pie */

.pie { max-width: 1180px; margin: 0 auto; padding: 28px 16px 40px; color: var(--tenue); font-size: 13px; border-top: 1px solid var(--borde); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

/* ------------------------------------------------------------ pagos */

.acciones { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.precio { font-weight: 850; font-size: 17px; color: var(--amarillo); }
.precio small { font-weight: 600; font-size: 13px; color: var(--tenue); }
.precio.grande { font-size: 26px; margin: 4px 0 10px; }
.metodos { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.insignia { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #05d9e81a; color: #9ff4fa; border: 1px solid #05d9e844; white-space: nowrap; }
.insignia.btc { background: #ff8c421f; color: #ffc59a; border-color: #ff8c4255; }
.total-linea { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; padding-top: 10px; border-top: 1px solid var(--borde); }
.total-linea strong { font-size: 20px; }
.dato.malo { border-color: #ff4d6d66; background: #ff4d6d14; }
.dato.malo b { color: var(--rojo); }

.partida .panel { text-align: left; }
.pago-caja h2 { font-size: 17px; margin: 22px 0 8px; }
.importe-caja { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #ffd31910; border: 1px solid #ffd31940; }
.importe-caja b { font-size: 30px; font-weight: 900; color: var(--amarillo); line-height: 1.2; }
.datos-banco { white-space: pre-wrap; margin: 0; font-size: 15px; line-height: 1.5; }
.qr-caja { display: flex; justify-content: center; margin: 12px 0 4px; }
.qr-caja img { width: 180px; height: 180px; image-rendering: pixelated; border-radius: 12px; background: #fff; padding: 6px; }
.subida { display: grid; gap: 4px; justify-items: center; padding: 18px; border-radius: 14px; border: 1.5px dashed var(--cian); background: #05d9e80d; cursor: pointer; text-align: center; font-weight: 700; }
.subida:hover, .subida:focus-within { background: #05d9e81a; }
.subida input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.comprobante { display: block; margin: 12px 0; }
.comprobante img { display: block; max-width: 100%; max-height: 340px; border-radius: 12px; border: 1px solid var(--borde); background: #0b0221; }
.importe-linea { font-size: 20px; font-weight: 850; margin: 6px 0; }

.pagos-pendientes { border-color: #ffd31966; box-shadow: 0 0 0 1px #ffd31933, var(--sombra); margin-bottom: 18px; }

/* Panel: ocultar o eliminar la publicacion */
.controles-consola { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.zona-peligro { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ff4d6d44; }
.zona-peligro h3 { margin: 0 0 6px; font-size: 16px; color: #ffb3c1; }
.zona-peligro .aviso { margin: 10px 0; }
.lista-consecuencias { margin: 12px 0; padding-left: 20px; color: var(--tenue); display: grid; gap: 6px; }
.pago-pendiente { padding: 14px 0; border-top: 1px solid var(--borde); }
.pago-pendiente:first-of-type { border-top: 0; }

fieldset.cobro { border: 1px solid var(--borde); border-radius: 14px; padding: 6px 14px 14px; margin: 18px 0; }
fieldset.cobro legend { padding: 0 6px; font-weight: 800; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .fila-2 { grid-template-columns: 1fr; } }

.reclamo.abierto { border-color: #ffd31966; }
.reclamo.confirmado { border-color: #ff4d6d66; }
.reclamo.anulado { border-color: #3dfcb366; }
.admin-reclamo { margin-bottom: 16px; }
.admin-reclamo.abierto { border-color: #ffd31966; }
.admin-partes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
@media (max-width: 640px) { .admin-partes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ accesibilidad */

.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ vincular el kit */

.fila-codigo { display: flex; gap: 8px; flex-wrap: wrap; }
.fila-codigo input { flex: 1 1 160px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.codigo-grande { font-family: ui-monospace, Consolas, monospace; font-size: 24px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.kit-ficha { display: flex; gap: 14px; align-items: center; }
.kit-icono { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #05d9e814; border: 1px solid #05d9e844; }
.pasos-kit { padding-left: 20px; }
.descarga-kit { display: grid; gap: 6px; justify-items: start; margin: 10px 0 14px; padding: 12px; border-radius: 12px; background: #05d9e80d; border: 1px solid #05d9e833; }
.hash { font-size: 12px; word-break: break-all; }
