body {
  /* tamaño fijo en px: con porcentajes el resplandor crecía con el alto de la página (fichas con muchas temporadas) */
  background-image: radial-gradient(ellipse 900px 460px at 50% 0, rgb(var(--accent-rgb) / 0.12), transparent 100%);
  background-repeat: no-repeat;
  max-width: 100%;
  overflow-x: clip;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body > header,
body > main,
body > footer {
  min-width: 0;
  max-width: 100%;
}

.boost-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  height: 2px;
  width: 0;
  pointer-events: none;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.6);
  transition: width 0.35s ease, opacity 0.2s ease;
}
.boost-bar.is-on { width: 68%; }
.boost-bar.is-done { width: 100%; opacity: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(var(--edge) / 0.85);
  background: rgb(var(--ink) / 0.9);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  align-items: center;
  gap: 1.15rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgb(var(--fg));
  text-decoration: none;
  min-width: 0;
}

.site-logo-mark {
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  color: rgb(var(--accent-rgb));
  filter: drop-shadow(0 0 10px rgb(var(--accent-rgb) / 0.35));
}

.site-logo-mark { color: rgb(var(--accent-rgb)); }

.site-logo-word {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}


.site-search {
  width: 100%;
  max-width: 28rem;
  justify-self: center;
}

.site-search form { position: relative; }

.site-search input {
  width: 100%;
  background: rgb(var(--panel));
  border: 1px solid rgb(var(--edge));
  border-radius: 999px;
  padding: 0.52rem 1rem 0.52rem 2.45rem;
  font-size: 0.875rem;
  color: rgb(var(--s200));
}

.site-search input:focus {
  outline: none;
  border-color: rgb(var(--accent-rgb) / 0.55);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.18);
}

.site-search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  color: rgb(var(--s500));
  pointer-events: none;
}

.site-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.site-links {
  display: none;
  align-items: center;
  gap: 0.12rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgb(var(--panel) / 0.85);
  border: 1px solid rgb(var(--edge));
}

@media (min-width: 768px) {
  .site-links { display: flex; }
}

.site-links a {
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgb(var(--s400));
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.site-links a:hover { color: rgb(var(--fg)); }

.site-links a.is-on {
  color: rgb(var(--on-accent));
  background: rgb(var(--accent-rgb));
}

.user-menu { position: relative; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel) / 0.85);
  color: rgb(var(--s200));
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.user-chip:hover { border-color: rgb(var(--accent-rgb) / 0.5); }

.user-chip img,
.user-chip .user-fallback {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  object-fit: cover;
}

.user-fallback {
  display: grid;
  place-items: center;
  background: rgb(var(--accent-rgb) / 0.25);
  color: rgb(var(--accent-rgb));
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
}

.user-chip svg {
  width: 0.7rem;
  height: 0.7rem;
  color: rgb(var(--s500));
}

.user-drop {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: max-content;
  min-width: 0;
  padding: 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel));
  z-index: 50;
}

.user-menu.is-open .user-drop { display: block; }

.user-drop a,
.user-drop button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.7rem;
  border: 0;
  background: transparent;
  border-radius: 0.55rem;
  color: rgb(var(--s300));
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
}

.user-drop a:hover,
.user-drop button:hover {
  background: rgb(var(--accent-rgb) / 0.18);
  color: rgb(var(--fg));
}

.user-drop .is-danger:hover {
  background: rgb(244 63 94 / 0.12);
  color: rgb(251 113 133);
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.auth-links .ghost { color: rgb(var(--s300)); text-decoration: none; }
.auth-links .ghost:hover { color: rgb(var(--fg)); }
.auth-links .solid {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  color: rgb(var(--on-accent));
  text-decoration: none;
  font-weight: 500;
}

.col-tile {
  display: block;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel) / 0.6);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.col-tile:hover { border-color: rgb(var(--accent-rgb) / 0.55); }

.col-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 2 / 1.15;
  background: rgb(var(--panel));
}

.col-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col-mosaic-empty {
  grid-column: 1 / -1;
  background: rgb(var(--accent-rgb) / 0.12);
}

.col-tile-meta { padding: 0.7rem 0.8rem 0.85rem; }

.list-badge {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.72);
  color: #fff;
}

.track-progress {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: rgb(var(--s400));
}

.track-progress-bar {
  height: 0.35rem;
  border-radius: 999px;
  background: rgb(var(--panel2));
  overflow: hidden;
  margin-top: 0.4rem;
}

.track-progress-bar > i {
  display: block;
  height: 100%;
  background: rgb(var(--accent-rgb));
}

.settings-card {
  border: 1px solid rgb(var(--edge) / 0.9);
  background: rgb(var(--panel) / 0.6);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}

.settings-card h2.is-danger {
  color: rgb(253 164 175);
}

.settings-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  color: rgb(var(--fg));
  line-height: 1;
}

.settings-lead {
  margin: 0.35rem 0 1.1rem;
  color: rgb(var(--s400));
  font-size: 0.875rem;
}

.settings-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--s500));
}

.settings-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: rgb(var(--s500));
}

.settings-input {
  width: 100%;
  background: rgb(var(--panel2));
  border: 1px solid rgb(var(--edge));
  border-radius: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: rgb(var(--s200));
}

.settings-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / 0.45);
}

.swatch-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: rgb(var(--s400));
  cursor: pointer;
}

.swatch-radio {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.swatch {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(var(--fg) / 0.12);
}

.swatch-radio:checked + .swatch,
.swatch-radio:focus-visible + .swatch {
  box-shadow: 0 0 0 2px rgb(var(--ink)), 0 0 0 4px white;
}

.option-label { position: relative; cursor: pointer; }

.option-radio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.option-card {
  display: block;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgb(var(--edge));
  color: rgb(var(--s300));
  font-size: 0.875rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.option-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  height: 100%;
}

.option-note {
  font-size: 0.68rem;
  color: rgb(var(--s500));
}

.option-radio:checked + .option-card {
  background: rgb(var(--accent-rgb));
  border-color: rgb(var(--accent-rgb));
  color: rgb(var(--on-accent));
}

.option-radio:checked + .option-card .option-note {
  color: rgb(var(--on-accent) / 0.8);
}

.option-radio:focus-visible + .option-card {
  box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / 0.7);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.home-section { margin-bottom: 2.25rem; }

.home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.home-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--s500));
  margin-bottom: 0.15rem;
}

.home-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: rgb(var(--fg));
  line-height: 1;
}

.home-aside {
  font-size: 0.75rem;
  color: rgb(var(--s500));
  max-width: 16rem;
  text-align: right;
}

.home-aside span { color: rgb(var(--s300)); }

.poster-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.85rem 0.55rem;
}

.watching-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 0.9rem;
  min-width: 0;
}

.ep-card {
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel) / 0.7);
  border-radius: 0.85rem;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.ep-card-movie { display: block; color: inherit; }

.ep-still {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgb(var(--panel));
}

.ep-still-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.ep-still.is-swap .ep-still-img,
.ep-meta.is-swap {
  opacity: 0.35;
}

.ep-meta { transition: opacity 0.28s ease; }

.ep-check {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--fg) / 0.2);
  background: rgb(var(--scrim) / 0.75);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ep-check:hover { transform: scale(1.06); }

.ep-check:active { transform: scale(0.92); }

.ep-check svg { width: 1.05rem; height: 1.05rem; }

.ep-check:hover,
.ep-check.is-on {
  background: rgb(var(--accent-rgb));
  border-color: transparent;
}

.ep-check.is-on { animation: check-pop 0.38s ease; }

@keyframes check-pop {
  0% { transform: scale(0.86); }
  55% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.ep-meta { padding: 0.65rem 0.75rem 0.8rem; }

.ep-series {
  font-size: 0.68rem;
  color: rgb(var(--s400));
  margin-bottom: 0.12rem;
}

.ep-series a:hover { color: rgb(var(--fg)); }

.ep-code {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--accent-rgb));
}

.ep-name {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: rgb(var(--s200));
  line-height: 1.25;
}

.ep-extra {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows 0.28s ease, border-color 0.2s ease;
}

.ep-extra-inner { overflow: hidden; padding: 0 0.75rem; min-width: 0; }

.ep-extra.is-open {
  grid-template-rows: 1fr;
  border-top-color: rgb(var(--edge));
}

.ep-extra.is-open .ep-extra-inner { padding: 0.7rem 0.75rem 0.85rem; }

.ep-extra-label {
  font-size: 0.68rem;
  color: rgb(var(--s400));
  margin-bottom: 0.45rem;
}

.ep-extra-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.ep-input {
  width: 100%;
  background: rgb(var(--panel2));
  border: 1px solid rgb(var(--edge));
  border-radius: 0.5rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.8rem;
  color: rgb(var(--s200));
  margin-bottom: 0.4rem;
}

.ep-extra-row .ep-input { margin-bottom: 0; }

.ep-extra-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ep-save {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  color: rgb(var(--on-accent));
  font-size: 0.75rem;
  font-weight: 500;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
}

.ep-save:hover { filter: brightness(1.08); transform: translateY(-1px); }

.ep-save:active { transform: scale(0.97); }

.ep-save.is-busy { opacity: 0.65; pointer-events: none; }

.star-picker {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
  margin-bottom: 0.45rem;
}

.star-row {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 13.5rem;
}

.star {
  position: relative;
  flex: 1 1 0;
  min-width: 0.7rem;
  min-height: 0.7rem;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1.05rem;
  line-height: 1;
  color: rgb(var(--s600));
  cursor: pointer;
}

.star-bg,
.star-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-fill {
  color: rgb(var(--gold));
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.star.is-half .star-fill { clip-path: inset(0 50% 0 0); }
.star.is-full .star-fill { clip-path: inset(0 0 0 0); }

.star-val {
  flex: 0 0 auto;
  min-width: 2.7rem;
  font-size: 0.7rem;
  color: rgb(var(--s400));
  white-space: nowrap;
}

.ep-emos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.ep-emos label { cursor: pointer; }

.ep-emos span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.15rem 0.5rem 0.15rem 0.38rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--edge));
  font-size: 0.65rem;
  color: rgb(var(--s400));
}

.ep-emo-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  display: block;
}

/* los iconos son de color de acento: marcado = borde y tinte, no relleno, para que no se pierdan */
.ep-emos input:checked + span {
  background: rgb(var(--accent-rgb) / 0.16);
  border-color: rgb(var(--accent-rgb));
  color: rgb(var(--s200));
}
.emo-bar-name { display: inline-flex; align-items: center; gap: 0.3rem; }
.emo-bar-name .ep-emo-icon { width: 1.1rem; height: 1.1rem; }

.ep-chars-label {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--s500));
  margin-bottom: 0.35rem;
}

.ep-season-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.ep-season-list > details {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ep-chars {
  margin-bottom: 0.55rem;
  min-width: 0;
  max-width: 100%;
}

.ep-char-scroller {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.ep-char-search {
  width: 100%;
  background: rgb(var(--panel2));
  border: 1px solid rgb(var(--edge));
  border-radius: 0.55rem;
  padding: 0.38rem 0.55rem;
  font-size: 0.78rem;
  color: rgb(var(--s200));
  margin-bottom: 0.45rem;
}

.ep-char-search:focus {
  outline: none;
  border-color: rgb(var(--accent-rgb) / 0.65);
}

.ep-char-rail {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  padding: 0.15rem 0.1rem 0.35rem;
}

.ep-char-face-btn {
  flex: 0 0 4.4rem;
  width: 4.4rem;
  max-width: 4.4rem;
  overflow: hidden;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgb(var(--s400));
  text-align: center;
}

.ep-char-face-btn img,
.ep-char-initials {
  width: 3.15rem;
  height: 3.15rem;
  max-width: 3.15rem;
  max-height: 3.15rem;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.28rem;
  border: 2px solid transparent;
  background: rgb(var(--edge));
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.ep-char-initials {
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(var(--s300));
}

.ep-char-face-btn:hover img,
.ep-char-face-btn:hover .ep-char-initials {
  transform: scale(1.05);
  border-color: rgb(var(--accent-rgb) / 0.55);
}

.ep-char-face-btn.on img,
.ep-char-face-btn.on .ep-char-initials {
  border-color: rgb(var(--accent-rgb));
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.28);
}

.ep-char-caption {
  display: block;
  font-size: 0.62rem;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
}

.ep-char-face-btn.on { color: rgb(var(--fg)); }

.trend-rank {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 0.3rem;
  background: rgb(var(--scrim) / 0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.trend-meter {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.3rem;
  height: 3px;
  border-radius: 99px;
  background: rgb(var(--fg) / 0.15);
  overflow: hidden;
}

.trend-meter i {
  display: block;
  height: 100%;
  background: rgb(var(--gold));
}

.detail-page {
  position: relative;
}

.detail-hero {
  position: relative;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.32;
}

.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgb(var(--ink)) 0%, rgb(var(--ink) / 0.35) 42%, rgb(var(--ink)) 100%),
    linear-gradient(to bottom, rgb(var(--ink) / 0.25) 0%, rgb(var(--ink)) 92%);
}

.detail-hero-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .detail-hero-grid {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    align-items: start;
  }
}

.detail-poster {
  width: 10rem;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel));
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
}

@media (min-width: 640px) {
  .detail-poster {
    width: 11.5rem;
    margin: 0;
  }
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.detail-poster-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgb(var(--s600));
}

.detail-track {
  position: relative;
  z-index: 1;
  margin-top: 2.75rem;
}

.detail-track-body {
  border: 1px solid rgb(var(--edge));
  border-radius: 0.9rem;
  background: rgb(var(--panel) / 0.78);
  padding: 1.15rem 1.25rem 1.2rem;
}

.detail-track-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.detail-track-rec {
  margin-top: 1rem;
}

.detail-track-extras {
  display: grid;
  gap: 1.15rem 1.75rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(var(--edge) / 0.95);
}

.detail-track-extras[hidden] {
  display: none !important;
}

@media (min-width: 900px) {
  .detail-track-extras:not([hidden]) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.detail-track-col {
  min-width: 0;
}

.detail-track-col .ep-input,
.detail-track-col textarea {
  width: 100%;
}

.detail-track-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.85rem;
  padding: 0 0.15rem;
}

.season-acc-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(var(--s200));
  user-select: none;
}

.season-acc-summary::-webkit-details-marker {
  display: none;
}

.season-acc-summary::after {
  content: "";
  margin-left: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid rgb(var(--s400));
  border-bottom: 2px solid rgb(var(--s400));
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.season-prog {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(var(--s400));
  font-variant-numeric: tabular-nums;
}
.season-prog.is-done {
  color: rgb(var(--accent-rgb));
}
.season-bar {
  display: inline-block;
  width: 4.5rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgb(var(--s400) / 0.25);
  overflow: hidden;
}
.season-bar > b {
  display: block;
  height: 100%;
  background: rgb(var(--accent-rgb));
  border-radius: inherit;
}
.season-acc-summary:has(.season-prog)::after {
  margin-left: 0;
}

.season-acc[open] > .season-acc-summary::after {
  transform: rotate(225deg) translate(0.08rem, 0.08rem);
}

.season-acc[open] .ep-acc {
  animation: ep-acc-in 0.36s ease both;
  animation-delay: calc(min(var(--i, 0), 14) * 28ms);
}

.ep-acc {
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.28s ease;
}

.ep-acc-summary::-webkit-details-marker {
  display: none;
}

.acc-panel {
  min-width: 0;
}

.ep-acc.is-saved {
  border-color: rgb(52 211 153 / 0.6);
  box-shadow: 0 0 0 1px rgb(52 211 153 / 0.28);
}

.ep-acc:hover {
  border-color: rgb(var(--fg) / 0.14);
  background: rgb(var(--panel) / 0.85);
}

.ep-acc[open] {
  border-color: rgb(var(--accent-rgb) / 0.35);
}

@keyframes ep-acc-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-acc-summary::after,
  .acc-panel {
    transition: none;
  }

  .season-acc[open] .ep-acc {
    animation: none;
  }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  main > :first-child {
    animation: page-in 0.38s ease;
  }

  .poster-rail > *,
  .grid > a.group,
  .col-tile,
  .ep-card,
  .watching-rail > * {
    animation: rise-in 0.42s ease both;
  }

  .poster-rail > *:nth-child(1), .watching-rail > *:nth-child(1) { animation-delay: 0.02s; }
  .poster-rail > *:nth-child(2), .watching-rail > *:nth-child(2) { animation-delay: 0.06s; }
  .poster-rail > *:nth-child(3), .watching-rail > *:nth-child(3) { animation-delay: 0.1s; }
  .poster-rail > *:nth-child(4), .watching-rail > *:nth-child(4) { animation-delay: 0.14s; }
  .poster-rail > *:nth-child(5), .watching-rail > *:nth-child(5) { animation-delay: 0.18s; }
  .poster-rail > *:nth-child(6), .watching-rail > *:nth-child(6) { animation-delay: 0.22s; }
  .poster-rail > *:nth-child(7) { animation-delay: 0.26s; }
  .poster-rail > *:nth-child(8) { animation-delay: 0.3s; }
  .poster-rail > *:nth-child(9) { animation-delay: 0.34s; }
  .poster-rail > *:nth-child(10) { animation-delay: 0.38s; }
  .poster-rail > *:nth-child(11) { animation-delay: 0.42s; }
  .poster-rail > *:nth-child(12) { animation-delay: 0.46s; }

  .group img {
    transition: transform 0.35s ease, opacity 0.25s ease;
  }
  .group:hover img {
    transform: scale(1.05);
  }

  .user-menu.is-open .user-drop {
    display: block;
    animation: drop-in 0.16s ease;
  }

  .site-links a {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .site-links a:hover { transform: translateY(-1px); }

  .lazy-slot.is-loaded {
    animation: page-in 0.35s ease;
  }
}

.skel-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.85rem 0.55rem;
}

.skel-card {
  aspect-ratio: 2 / 3;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, rgb(var(--panel)) 0%, rgb(var(--panel3)) 45%, rgb(var(--panel)) 90%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skel-watch {
  height: 10.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, rgb(var(--panel)) 0%, rgb(var(--panel3)) 45%, rgb(var(--panel)) 90%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.profile-banner {
  position: relative;
  height: 15.5rem;
  overflow: hidden;
  background: rgb(var(--panel));
}

/* la imagen se apaga un poco para que no compita con el perfil (un fondo amarillo o blanco gritaba) */
.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.88) brightness(0.95);
}

/* se funde con el fondo de la página: sin franja turbia en el borde inferior */
.profile-banner-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(var(--ink) / 0.3) 0%, rgb(var(--ink) / 0) 20%),
    linear-gradient(to bottom, rgb(var(--ink) / 0) 48%, rgb(var(--ink) / 0.5) 80%, rgb(var(--ink)) 100%);
  pointer-events: none;
}

.profile-banner-edit {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  z-index: 1;
  font-size: 0.72rem;
  color: rgb(255 255 255 / 0.9);
  background: rgb(0 0 0 / 0.42);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  text-decoration: none;
  transition: background .15s;
}

.profile-banner-edit:hover { background: rgb(var(--accent-rgb) / 0.85); }

.banner-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.banner-pick button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.banner-pick-shot {
  aspect-ratio: 16 / 9;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel));
}

.banner-pick-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.banner-pick button:hover .banner-pick-shot img { transform: scale(1.05); }
.banner-pick button:hover .banner-pick-shot { border-color: rgb(var(--accent-rgb) / 0.55); }

.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 1.75rem;
  align-items: start;
  margin-bottom: 1.75rem;
}
.profile-hero-avatar {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgb(var(--edge));
  background: #161a24;
}
/* con portada: el avatar se monta sobre ella y el texto queda en el fondo limpio de la página */
.profile-hero.has-banner { margin-top: -6.4rem; position: relative; z-index: 1; align-items: end; }
.profile-hero.has-banner .profile-hero-avatar { border: 4px solid rgb(var(--ink)); box-shadow: 0 8px 28px rgb(0 0 0 / 0.35); }
.profile-hero.has-banner .profile-hero-follow { align-self: end; }
.profile-hero-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 2.5rem;
  color: rgb(var(--accent-rgb));
  letter-spacing: 0.08em;
}
.profile-hero-name {
  font-size: 2rem;
  line-height: 1.15;
  color: rgb(var(--fg));
  letter-spacing: 0.06em;
  font-family: "Fraunces", Georgia, serif;
}
.profile-hero-user {
  margin-top: 0.2rem;
  color: rgb(var(--s400));
  font-size: 0.95rem;
}
.profile-hero-tag {
  margin-top: 0.35rem;
  color: rgb(var(--s300));
  font-size: 0.95rem;
}
.profile-hero-bio {
  margin-top: 0.9rem;
  max-width: 42rem;
  color: rgb(var(--s400));
  font-size: 0.95rem;
  white-space: pre-wrap;
}
.profile-hero-follow { justify-self: end; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.kpi-card {
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel) / 0.7);
  border-radius: 1rem;
  padding: 1rem 0.85rem;
  text-align: center;
}
.kpi-num { font-size: 1.85rem; color: rgb(var(--fg)); line-height: 1.1; }
.kpi-label { margin-top: 0.4rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(var(--s500)); }
.time-cycle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgb(var(--accent-rgb));
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.time-cycle:hover { text-decoration: underline; text-underline-offset: 4px; }

.year-wrap {
  margin-bottom: 2.5rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  background: rgb(var(--panel) / 0.72);
  border-radius: 1.15rem;
  padding: 1.25rem 1.35rem 1.2rem;
}
.year-wrap-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.year-wrap-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--s400));
}
.year-wrap-year {
  margin-left: auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgb(var(--fg));
}
.year-wrap-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.year-wrap-kpis > div {
  text-align: center;
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--ink) / 0.45);
  border-radius: 0.85rem;
  padding: 0.9rem 0.6rem 0.85rem;
}
.year-wrap-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.1;
  color: rgb(var(--accent-rgb));
}
.year-wrap-num.is-gold { color: rgb(var(--gold)); }
.year-wrap-genre {
  font-size: 0.95rem;
  color: rgb(var(--s200));
  min-height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.year-wrap-label {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--s500));
}
.year-wrap-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgb(var(--s400));
}
.year-wrap-note strong { color: rgb(var(--s200)); font-weight: 500; }
.year-wrap-note a { color: rgb(var(--accent-rgb)); }
.year-wrap-note a:hover { text-decoration: underline; }

.status-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.875rem;
  border: 1px solid rgb(var(--edge));
  color: rgb(var(--s300));
  background: transparent;
  cursor: pointer;
}
.status-chip:hover { border-color: rgb(var(--s500)); }
.status-chip.is-on {
  background: rgb(var(--accent-rgb));
  border-color: transparent;
  color: rgb(var(--on-accent));
}

@media (max-width: 700px) {
  .year-wrap-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .year-wrap-head { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .year-wrap-year { margin-left: 0; }
}

.awards-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.awards-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.awards-tab {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--edge));
  color: rgb(var(--s300));
}
.awards-tab.is-on { background: rgb(var(--accent-rgb)); border-color: transparent; color: rgb(var(--on-accent)); }
.award-period-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 1.25rem;
}
.award-film-list {
  border: 1px solid rgb(var(--edge));
  background: rgb(var(--panel) / 0.55);
  border-radius: 0.85rem;
  padding: 0.85rem;
  max-height: 28rem;
  overflow: auto;
}
.award-film-list ul { font-size: 0.8rem; color: rgb(var(--s300)); }
.award-film-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgb(var(--edge) / 0.7);
}
.award-film-list a:hover { color: rgb(var(--accent-rgb)); }

.stats-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.tmdb-attr {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  max-width: 22rem;
  text-align: right;
  color: inherit;
  text-decoration: none;
}
.tmdb-attr img { height: 14px; width: auto; opacity: 0.85; }
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgb(var(--edge) / 0.9);
  background: rgb(var(--panel) / 0.96);
  font-size: 0.8rem;
  color: rgb(var(--s400));
}
.cookie-banner a { color: rgb(var(--accent-rgb)); text-decoration: underline; }
.cookie-banner button {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: rgb(var(--accent-rgb));
  color: rgb(var(--on-accent));
  font-size: 0.8rem;
}
.legal-page h2 { color: rgb(var(--fg)); font-size: 1.05rem; margin: 1.4rem 0 0.45rem; }
.legal-page p, .legal-page li { color: rgb(var(--s400)); font-size: 0.9rem; line-height: 1.55; }
.legal-page ul { margin: 0.4rem 0 0.8rem 1.1rem; list-style: disc; }
.legal-page a { color: rgb(var(--accent-rgb)); text-decoration: underline; }

.emo-community { margin-top: 0.75rem; }
.emo-bar {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2.4rem;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.72rem;
  color: rgb(var(--s400));
  margin-bottom: 0.28rem;
}
.emo-bar i {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: rgb(var(--panel3));
  overflow: hidden;
}
.emo-bar b {
  display: block;
  height: 100%;
  background: rgb(var(--accent-rgb));
}
.emo-bar em { font-style: normal; text-align: right; color: rgb(var(--s300)); }

@media (max-width: 900px) {
  .profile-banner { height: 11.5rem; }
  .profile-hero.has-banner { margin-top: -4.6rem; }
  .profile-hero.has-banner .profile-hero-avatar { width: 6.5rem; height: 6.5rem; }
  .profile-hero { grid-template-columns: auto 1fr; }
  .profile-hero-follow { grid-column: 1 / -1; }
  .award-period-grid { grid-template-columns: 1fr; }
}

/* ---- Identidad editorial ---- */
.font-display, h1, h2 { font-family: "Fraunces", Georgia, serif; }
.font-display { font-weight: 600; letter-spacing: -0.012em !important; text-transform: none; }
h1.font-display { font-variation-settings: "opsz" 96; }

/* ---- Interruptor de tema ---- */
.theme-toggle {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 999px;
  border: 1px solid rgb(var(--edge)); background: rgb(var(--panel)); color: rgb(var(--s300));
  cursor: pointer; transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: rgb(var(--fg)); border-color: rgb(var(--s500)); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* ---- Bienvenida guiada ---- */
.welcome { margin-bottom: 2.25rem; padding: 1.4rem 1.5rem; border: 1px solid rgb(var(--edge)); border-radius: 1rem; background: rgb(var(--panel)); }
.welcome[hidden] { display: none; }
.welcome .home-head { margin-bottom: 0.25rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.welcome-hide { background: none; border: 0; color: rgb(var(--s500)); font-size: 0.8rem; cursor: pointer; }
.welcome-hide:hover { color: rgb(var(--fg)); }
.welcome-sub { color: rgb(var(--s400)); font-size: 0.95rem; margin-bottom: 1.1rem; }
.welcome-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.welcome-steps li { display: flex; gap: 0.85rem; align-items: flex-start; }
.welcome-num { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 999px; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-weight: 600; border: 1px solid rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.welcome-steps li.is-done .welcome-num { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); }
.welcome-steps li.is-done strong { text-decoration: line-through; text-decoration-color: rgb(var(--s600)); color: rgb(var(--s500)); }
.welcome-steps strong { color: rgb(var(--fg)); font-weight: 600; }
.welcome-steps em { font-style: normal; font-size: 0.8rem; color: rgb(var(--s500)); margin-left: 0.35rem; }
.welcome-steps p { color: rgb(var(--s400)); font-size: 0.88rem; margin: 0.2rem 0 0; }
.welcome-actions { display: flex; gap: 0.9rem; margin-top: 0.5rem !important; }
.welcome-actions a { color: rgb(var(--accent-rgb)); font-weight: 500; font-size: 0.88rem; }
.welcome-actions a:hover { text-decoration: underline; }

/* ---- Próximamente ---- */
.upcoming-rail { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.upcoming-card { display: flex; gap: 0.85rem; align-items: center; padding: 0.6rem; border: 1px solid rgb(var(--edge)); border-radius: 0.8rem; background: rgb(var(--panel)); color: inherit; transition: border-color .15s; }
.upcoming-card:hover { border-color: rgb(var(--accent-rgb) / 0.5); }
.upcoming-card img { width: 3.2rem; height: 4.8rem; object-fit: cover; border-radius: 0.4rem; background: rgb(var(--panel2)); flex: none; }
.upcoming-when { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--accent-rgb)); font-weight: 600; }
.upcoming-title { color: rgb(var(--fg)); font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.upcoming-sub { color: rgb(var(--s400)); font-size: 0.8rem; }

/* ---- Feed ---- */
.feed-item { display: flex; gap: 1rem; padding: 1rem; border: 1px solid rgb(var(--edge)); border-radius: 0.9rem; background: rgb(var(--panel)); }
.feed-item + .feed-item { margin-top: 0.8rem; }
.feed-poster { width: 4.2rem; flex: none; }
.feed-poster img { width: 100%; border-radius: 0.4rem; aspect-ratio: 2 / 3; object-fit: cover; background: rgb(var(--panel2)); }
.feed-head { font-size: 0.85rem; color: rgb(var(--s400)); }
.feed-head a.user { color: rgb(var(--fg)); font-weight: 600; }
.feed-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.15rem; color: rgb(var(--fg)); line-height: 1.25; }
.feed-title:hover { color: rgb(var(--accent-rgb)); }
.feed-review { margin-top: 0.4rem; color: rgb(var(--s300)); font-size: 0.92rem; white-space: pre-wrap; }
.feed-meta { margin-top: 0.55rem; display: flex; align-items: center; gap: 0.9rem; font-size: 0.8rem; color: rgb(var(--s500)); }
.feed-like { background: none; border: 1px solid rgb(var(--edge)); border-radius: 999px; padding: 0.2rem 0.7rem; color: rgb(var(--s400)); cursor: pointer; font-size: 0.8rem; }
.feed-like:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.feed-like.is-on { background: rgb(var(--accent-rgb)); border-color: transparent; color: rgb(var(--on-accent)); }

/* Cabecera en pantallas medias: caben logo, buscador, tema y 5 enlaces */
.site-logo { flex-shrink: 0; }
@media (min-width: 768px) and (max-width: 1100px) {
  .site-header-inner { gap: 0.6rem; padding-left: 1rem; padding-right: 1rem; }
  .site-links a { padding-left: 0.55rem; padding-right: 0.55rem; font-size: 0.82rem; }
  .site-search { max-width: 14rem; }
}

/* ---- Logo en páginas de acceso ---- */
.auth-mark { display: block; width: 3rem; height: 3rem; margin: 0 auto 1rem; color: rgb(var(--accent-rgb)); filter: drop-shadow(0 0 18px rgb(var(--accent-rgb) / 0.4)); }

/* ---- Hero ---- */
.home-hero { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 2rem; padding: 2.5rem 0 3.5rem; }
.home-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; color: rgb(var(--fg)); margin: 0.4rem 0 1rem; font-variation-settings: "opsz" 120; }
.home-hero-sub { color: rgb(var(--s300)); font-size: 1.1rem; line-height: 1.55; max-width: 34rem; }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.home-hero-cta a { padding: 0.7rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.home-hero-cta .solid { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); }
.home-hero-cta .solid:hover { transform: translateY(-1px); }
.home-hero-cta .ghost { border: 1px solid rgb(var(--edge)); color: rgb(var(--s200)); }
.home-hero-cta .ghost:hover { border-color: rgb(var(--s500)); color: rgb(var(--fg)); }
.home-hero-art { position: relative; display: grid; place-items: center; }
.home-hero-art::before { content: ""; position: absolute; inset: -12% -8%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.28), transparent 72%); }
.home-hero-art svg { position: relative; width: min(21rem, 78%); height: auto; color: rgb(var(--accent-rgb)); }
@media (max-width: 860px) {
  .home-hero { grid-template-columns: 1fr; padding: 1.5rem 0 2.5rem; }
  .home-hero-art { order: -1; }
  .home-hero-art svg { width: 9.5rem; }
}

/* ---- Carriles de pósters grandes ---- */
.rail-wrap { position: relative; }
.poster-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 0.25rem 0.1rem 0.75rem; scrollbar-width: none; }
.poster-scroll::-webkit-scrollbar { display: none; }
.poster-scroll > * { flex: 0 0 clamp(8.5rem, 13vw, 11.5rem); scroll-snap-align: start; }
.poster-scroll .group p { font-size: 0.85rem; margin-top: 0.5rem; }
.poster-scroll .group > div { border-radius: 0.55rem; box-shadow: 0 6px 18px rgb(var(--scrim) / 0.18); transition: transform .2s; }
.poster-scroll .group:hover > div { transform: translateY(-3px); }
.rail-btn { position: absolute; top: 38%; transform: translateY(-50%); z-index: 5; width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); background: rgb(var(--panel) / 0.94); color: rgb(var(--fg)); font-size: 1.4rem; line-height: 1; cursor: pointer; display: none; box-shadow: 0 4px 14px rgb(var(--scrim) / 0.3); }
.rail-btn:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.rail-prev { left: -0.9rem; } .rail-next { right: -0.9rem; }
@media (hover: hover) and (min-width: 900px) { .rail-wrap:hover .rail-btn { display: grid; place-items: center; } }

/* ---- Tres razones (visitantes) ---- */
.home-features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1rem 0 2rem; }
.home-features article { padding: 1.4rem; border: 1px solid rgb(var(--edge)); border-radius: 1rem; background: rgb(var(--panel)); }
.home-features h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; color: rgb(var(--fg)); margin-bottom: 0.4rem; }
.home-features p { color: rgb(var(--s400)); font-size: 0.92rem; line-height: 1.5; }

/* ---- Logo TMDB: versión negra (tema claro) o blanca (oscuro), como permiten sus normas ---- */
.tmdb-credit { display: inline-block; margin: 0.5rem 0 1rem; }
.tmdb-logo { filter: brightness(0); height: 22px; width: auto; }
:root[data-theme="dark"] .tmdb-logo { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tmdb-logo { filter: brightness(0) invert(1); } }

/* ---- Pie ---- */
.tmdb-attr { flex-direction: row !important; align-items: center !important; gap: 0.6rem !important; max-width: 34rem !important; text-align: left !important; color: rgb(var(--s500)); font-size: 0.7rem; line-height: 1.35; }
.tmdb-attr:hover { color: rgb(var(--s300)); }

/* ---- Criterios de contraseña ---- */
.pw-rules { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.2rem; font-size: 0.78rem; color: rgb(var(--s500)); }
.pw-rules li::before { content: "○"; display: inline-block; width: 1.1rem; }
.pw-rules li.is-ok { color: rgb(var(--s200)); }
.pw-rules li.is-ok::before { content: "✓"; color: rgb(var(--accent-rgb)); font-weight: 700; }

/* ---- Selector de idioma ---- */
.lang-toggle { display: grid; place-items: center; height: 2.1rem; padding: 0 0.7rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); background: rgb(var(--panel)); color: rgb(var(--s300)); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; transition: color .15s, border-color .15s; }
.lang-toggle:hover { color: rgb(var(--fg)); border-color: rgb(var(--s500)); }

/* ---- Cabecera de perfil: portada, identidad y cifras en UNA pieza ---- */
.ph {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 24rem;
  margin-bottom: 2.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--edge));
  overflow: hidden;
  background: rgb(var(--panel));
}
.ph:not(.has-img) { background: radial-gradient(120% 150% at 0% 0%, rgb(var(--accent-rgb) / 0.16), transparent 58%), rgb(var(--panel)); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; z-index: -2; filter: saturate(0.92); }
/* la imagen vive a la derecha; a la izquierda se funde con la página para que el texto se lea siempre */
.ph-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--ink) / 0.94) 0%, rgb(var(--ink) / 0.8) 36%, rgb(var(--ink) / 0.18) 100%),
    linear-gradient(to top, rgb(var(--ink) / 0.8) 0%, rgb(var(--ink) / 0) 50%);
}
.ph-actions { position: absolute; top: 1rem; right: 1rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.ph-actions a, .ph-actions button {
  font-size: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px; cursor: pointer;
  color: rgb(var(--s200)); background: rgb(var(--ink) / 0.55); backdrop-filter: blur(6px);
  border: 1px solid rgb(var(--fg) / 0.16); transition: background .15s, border-color .15s;
}
.ph-actions a:hover, .ph-actions button:hover { border-color: rgb(var(--accent-rgb) / 0.7); }
.ph-actions .is-primary { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); border-color: transparent; font-weight: 500; }
.ph-main { display: flex; align-items: flex-end; gap: 1.6rem; padding: 2.4rem 2rem 1.5rem; }
.ph-avatar {
  flex: none; width: 6.8rem; height: 6.8rem; border-radius: 50%; object-fit: cover;
  border: 3px solid rgb(var(--fg) / 0.22); background: rgb(var(--panel2)); box-shadow: 0 8px 26px rgb(0 0 0 / 0.3);
}
.ph-avatar-letter { display: flex; align-items: center; justify-content: center; font-family: "Fraunces", Georgia, serif; font-size: 2.6rem; color: rgb(var(--accent-rgb)); }
.ph-copy { min-width: 0; max-width: 42rem; }
.ph-name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.5rem; line-height: 1.05; letter-spacing: -0.012em; color: rgb(var(--fg)); }
.ph-user { margin-top: 0.4rem; font-size: 0.95rem; color: rgb(var(--s400)); }
.ph-user span { color: rgb(var(--s200)); }
.ph-meta { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.82rem; color: rgb(var(--s400)); }
.ph-meta a { color: rgb(var(--accent-rgb)); }
.ph-meta a:hover { text-decoration: underline; }
.ph-bio { margin-top: 0.6rem; max-width: 36rem; font-size: 0.88rem; line-height: 1.45; color: rgb(var(--s300)); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ph-stats {
  display: flex; flex-wrap: wrap; gap: 0.7rem 2.6rem; margin: 0; padding: 0.95rem 2rem;
  border-top: 1px solid rgb(var(--fg) / 0.1); background: rgb(var(--ink) / 0.55); backdrop-filter: blur(8px);
}
.ph-stats > div { display: flex; align-items: baseline; gap: 0.5rem; }
.ph-stats dt { order: 2; font-size: 0.74rem; color: rgb(var(--s400)); }
.ph-stats dd { order: 1; margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.45rem; line-height: 1; color: rgb(var(--fg)); font-variant-numeric: tabular-nums; }
.ph-stats .time-cycle { font-size: 1.45rem; font-weight: 600; letter-spacing: 0; }
@media (max-width: 720px) {
  .ph { min-height: 0; border-radius: 1rem; }
  .ph-main { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3.4rem 1.2rem 1.1rem; }
  .ph-avatar { width: 5.2rem; height: 5.2rem; }
  .ph-name { font-size: 2rem; }
  .ph-stats { padding: 0.85rem 1.2rem; gap: 0.6rem 1.6rem; }
  .ph-scrim { background: linear-gradient(to top, rgb(var(--ink) / 0.9) 0%, rgb(var(--ink) / 0.55) 60%, rgb(var(--ink) / 0.3) 100%); }
}

/* ---- Tu año en cifras (perfil): cifras sueltas y una gráfica por meses, sin cajas ---- */
.yr { margin-bottom: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgb(var(--edge)); }
.yr-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1.3rem; }
.yr-head h2 { font-size: 1.3rem; font-weight: 600; color: rgb(var(--s200)); }
.yr-head h2 span { margin-left: 0.35rem; font-weight: 500; color: rgb(var(--accent-rgb)); font-variant-numeric: tabular-nums; }
.yr-head a { font-size: 0.82rem; color: rgb(var(--s400)); }
.yr-head a:hover { color: rgb(var(--accent-rgb)); }
.yr-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 3.5rem; align-items: end; }
.yr-figs { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 1rem 2.8rem; margin: 0; }
.yr-figs > div { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.yr-figs dd { order: 1; margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.1rem; line-height: 1; color: rgb(var(--s200)); font-variant-numeric: tabular-nums; }
.yr-figs dd.is-accent { color: rgb(var(--accent-rgb)); }
.yr-figs dd.is-gold { color: rgb(var(--gold)); }
.yr-figs dd.is-text { font-size: 1.35rem; padding-top: 0.55rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yr-figs dt { order: 2; font-size: 0.76rem; color: rgb(var(--s500)); }
.yr-figs .time-cycle { font-size: 2.1rem; font-weight: 600; letter-spacing: 0; color: rgb(var(--s200)); }
.yr-chart { display: flex; align-items: flex-end; gap: 0.35rem; height: 4.6rem; }
.yr-chart > div { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.3rem; }
.yr-chart i { display: block; width: 100%; max-width: 1.5rem; min-height: 2px; border-radius: 0.2rem 0.2rem 0 0; background: rgb(var(--s400) / 0.38); }
.yr-chart .is-peak i { background: rgb(var(--accent-rgb)); }
.yr-chart span { font-size: 0.66rem; color: rgb(var(--s500)); text-transform: uppercase; }
.yr-note { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; font-size: 0.82rem; color: rgb(var(--s400)); }
.yr-note b { font-weight: 500; color: rgb(var(--s200)); }
.yr-note i { width: 3px; height: 3px; border-radius: 50%; background: rgb(var(--s500)); }
.yr-note a { color: rgb(var(--accent-rgb)); }
.yr-note a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .yr-body { grid-template-columns: minmax(0, 1fr); }
  .yr-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Estantes del perfil: una cabecera común (título, cifra y enlace) y rejillas con el mismo ritmo ---- */
.sh { margin-bottom: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgb(var(--edge)); }
.sh-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0.3rem 1.5rem; margin-bottom: 1.1rem; }
.sh-head.is-bare { margin: 0; }
.sh-head h2 { font-size: 1.3rem; font-weight: 600; color: rgb(var(--s200)); }
.sh-head h2 small { margin-left: 0.6rem; font-family: inherit; font-size: 0.82rem; font-weight: 400; color: rgb(var(--s500)); font-variant-numeric: tabular-nums; }
.sh-head a { font-size: 0.82rem; color: rgb(var(--s400)); transition: color .15s; }
.sh-head a:hover { color: rgb(var(--accent-rgb)); }
.sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .sh-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sh-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* recomendaciones: son pocas y son tuyas, así que van más grandes */
.sh-grid.is-recs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 64rem; gap: 1.3rem; }
@media (min-width: 768px) { .sh-grid.is-recs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sh-grid.is-ghost i { display: block; aspect-ratio: 2 / 3; border-radius: 0.4rem; border: 1.5px dashed rgb(var(--edge)); }
.sh-grid.is-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .sh-grid.is-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .sh-grid.is-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sh-empty { margin-top: 0.8rem; font-size: 0.85rem; color: rgb(var(--s500)); }
.sh-empty a { color: rgb(var(--accent-rgb)); }
.sh-empty a:hover { text-decoration: underline; }

/* ---- Cabecera pura: una línea de cifras bajo el nombre ---- */
.ph-main { padding-bottom: 2rem; }
.ph-figs { margin-top: 0.8rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.5rem; font-size: 0.9rem; color: rgb(var(--s300)); }
.ph-figs > span + span::before { content: "·"; margin-right: 0.5rem; color: rgb(var(--s500)); }
.ph-figs b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; color: rgb(var(--s200)); font-variant-numeric: tabular-nums; }
.ph-figs .time-cycle { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: rgb(var(--s200)); }

/* ---- Tu cine en cifras: cifras a la izquierda y un carrusel de gráficas y fotos a la derecha ---- */
.cn { margin-bottom: 2.6rem; }
.cn-head { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }
.cn-head h2 { font-size: 1.3rem; font-weight: 600; color: rgb(var(--s200)); }
.cn-head a { font-size: 0.82rem; color: rgb(var(--s400)); transition: color .15s; }
.cn-head a:hover { color: rgb(var(--accent-rgb)); }
.cn-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem 3.5rem; align-items: center; }
.cn-body.is-solo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.cn-kick { font-size: 0.82rem; color: rgb(var(--s500)); margin-bottom: 0.9rem; }
.cn-kick span { margin-left: 0.3rem; color: rgb(var(--accent-rgb)); font-variant-numeric: tabular-nums; }
.cn-figs { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 1.4rem 3rem; margin: 0; }
.cn-figs > div { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.cn-figs dd { order: 1; margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.2rem; line-height: 1; color: rgb(var(--s200)); font-variant-numeric: tabular-nums; }
.cn-figs dd.is-accent { color: rgb(var(--accent-rgb)); }
.cn-figs dd.is-gold { color: rgb(var(--gold)); }
.cn-figs dd.is-text { font-size: 1.4rem; padding-top: 0.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-figs dt { order: 2; font-size: 0.76rem; color: rgb(var(--s500)); }
.cn-figs .time-cycle { font-size: 2.2rem; font-weight: 600; letter-spacing: 0; color: rgb(var(--s200)); }
.cn .yr-note { margin-top: 1.4rem; }
.cn-total { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgb(var(--edge) / 0.7); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; font-size: 0.86rem; color: rgb(var(--s400)); }
.cn-total .cn-kick { margin: 0 0.6rem 0 0; }
.cn-total b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; color: rgb(var(--s200)); }
.cn-total i { width: 3px; height: 3px; border-radius: 50%; background: rgb(var(--s500)); align-self: center; margin: 0 0.2rem; }
.cn-total .time-cycle { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: rgb(var(--s200)); }

.cn-stage { position: relative; padding: 0 3rem; }
.cn-slides { display: grid; min-height: 12.5rem; }
/* fundido entre diapositivas: el movimiento lo hace la Web Animations API (dirección, desenfoque y escalonado) */
.cn-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.cn-slide.is-on, .cn-slide.is-leaving { opacity: 1; visibility: visible; }
.cn-slide.is-on { pointer-events: auto; }
.cn-arrow {
  position: absolute; top: 50%; margin-top: -1rem; width: 2rem; height: 2rem; border-radius: 50%; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: rgb(var(--s400));
  background: transparent; border: 1px solid rgb(var(--edge)); transition: color .2s, border-color .2s, transform .2s;
}
.cn-arrow:hover { color: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb) / 0.6); }
.cn-arrow:active { transform: scale(0.92); }
.cn-arrow.is-prev { left: 0; }
.cn-arrow.is-next { right: 0; }
.cn-arrow[hidden] { display: none; }
.cn-stage:focus-visible { outline: 2px solid rgb(var(--accent-rgb) / 0.6); outline-offset: 4px; border-radius: 0.5rem; }

/* carteles y caras */
.cn-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; align-items: start; }
.cn-row li { min-width: 0; }
.cn-poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 0.45rem; overflow: hidden; background: rgb(var(--panel3)); box-shadow: 0 8px 20px rgb(0 0 0 / 0.22); }
a.cn-poster { transition: transform .25s ease; }
a.cn-poster:hover { transform: translateY(-3px); }
.cn-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cn-poster b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.6rem; color: rgb(var(--s400)); }
.cn-poster em { position: absolute; left: 0.35rem; bottom: 0.35rem; font-style: normal; font-size: 0.7rem; font-weight: 600; padding: 0.08rem 0.4rem; border-radius: 999px; background: rgb(0 0 0 / 0.72); color: rgb(var(--gold)); }
.cn-row li > span:not(.cn-poster) { display: block; margin-top: 0.5rem; font-size: 0.76rem; line-height: 1.25; color: rgb(var(--s300)); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cn-row small { display: block; margin-top: 0.15rem; font-size: 0.7rem; color: rgb(var(--s500)); font-variant-numeric: tabular-nums; }

/* emociones */
.cn-emos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 1.1rem 1.4rem; min-height: 9rem; }
.cn-emos li { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.cn-emos span { font-size: 0.74rem; color: rgb(var(--s300)); }

/* biblioteca: un anillo para películas y otro para series, con una leyenda común */
.cn-rings { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.cn-ring-item { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.cn-ring-item > span { font-size: 0.78rem; color: rgb(var(--s400)); }
.cn-ring { position: relative; width: 7.4rem; height: 7.4rem; flex: none; }
.cn-ring svg { width: 100%; height: 100%; }
.cn-ring-bg { fill: none; stroke: rgb(var(--s400) / 0.15); stroke-width: 3.6; }
.cn-ring-seg { fill: none; stroke-width: 3.6; stroke-linecap: butt; }
.cn-ring-seg.s1 { stroke: rgb(var(--accent-rgb)); }
.cn-ring-seg.s2 { stroke: rgb(var(--accent-rgb) / 0.55); }
.cn-ring-seg.s3 { stroke: rgb(var(--s400) / 0.6); }
.cn-ring-seg.s4 { stroke: rgb(var(--s400) / 0.28); }
.cn-slide.is-on .cn-ring-seg { animation: cn-ring .9s .15s cubic-bezier(.22,.8,.2,1) both; }
@keyframes cn-ring { from { opacity: 0; } to { opacity: 1; } }
.cn-ring > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cn-ring b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.7rem; color: rgb(var(--s200)); font-variant-numeric: tabular-nums; }
.cn-lib { border-collapse: collapse; font-size: 0.82rem; color: rgb(var(--s400)); }
.cn-lib th { padding: 0 0 0.5rem 1.4rem; font-weight: 400; font-size: 0.72rem; color: rgb(var(--s500)); text-align: right; }
.cn-lib td { padding: 0.28rem 0 0.28rem 1.4rem; text-align: right; color: rgb(var(--s200)); font-weight: 600; font-variant-numeric: tabular-nums; }
.cn-lib td:first-child { padding-left: 0; text-align: left; font-weight: 400; color: rgb(var(--s400)); white-space: nowrap; }
.cn-lib td i { display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 0.2rem; margin-right: 0.5rem; vertical-align: -1px; }
.cn-lib .s1 { background: rgb(var(--accent-rgb)); }
.cn-lib .s2 { background: rgb(var(--accent-rgb) / 0.55); }
.cn-lib .s3 { background: rgb(var(--s400) / 0.6); }
.cn-lib .s4 { background: rgb(var(--s400) / 0.28); }

/* géneros: nube tipográfica (el tamaño es la frecuencia; ningún nombre se corta) */
.cn-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.4rem 1.6rem; }
.cn-cloud li { display: inline-flex; align-items: baseline; gap: 0.35rem; font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; color: rgb(var(--s200) / var(--a, 1)); }
.cn-cloud li.is-top { color: rgb(var(--accent-rgb)); }
.cn-cloud small { font-family: inherit; font-size: 0.72rem; font-weight: 500; color: rgb(var(--s500)); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .cn-body, .cn-body.is-solo { grid-template-columns: minmax(0, 1fr); }
  .cn-stage { padding: 0 2.6rem; }
  .cn-rings { flex-wrap: wrap; gap: 1.2rem 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .cn-slide.is-on .cn-ring-seg { animation: none; } }

/* ---- Bio y cifras bajo la cabecera ---- */
.pa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem; margin: -0.5rem 0 2.4rem; }
.pa-bio { max-width: 40rem; font-size: 0.95rem; line-height: 1.55; color: rgb(var(--s300)); white-space: pre-wrap; }
.pa-figs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; font-size: 0.88rem; color: rgb(var(--s400)); }
.pa-figs > span + span::before { content: "·"; margin-right: 0.5rem; color: rgb(var(--s500)); }
.pa-figs b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; color: rgb(var(--s200)); font-variant-numeric: tabular-nums; }
.pa-figs .time-cycle { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: rgb(var(--s200)); }

/* ---- Portada: arriba lo tuyo (seguir viendo + calendario), luego seguidos y "¿qué veo?", y un solo carril con pestañas ---- */
.home-top { display: flex; flex-direction: column; gap: 2.4rem; margin-bottom: 2.4rem; }
.home-top > .lazy-slot:empty { display: none; }
.home-side { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.4rem; min-width: 0; }
.home-side > .lazy-slot:empty { display: none; }
.home-side:not(:has(> .lazy-slot:not(:empty))) { display: none; }
.home-side:has(> .lazy-slot:empty) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .home-side { grid-template-columns: minmax(0, 1fr); } }
.home-top .home-section { margin: 0; }

/* calendario de estrenos */
.cal { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.cal-strip { display: flex; gap: 0.25rem; }
.cal-day {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.18rem; padding: 0.4rem 0 0.35rem;
  border-radius: 0.6rem; border: 1px solid transparent; background: transparent; color: rgb(var(--s500)); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.cal-day[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.cal-dow { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cal-day b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 0.98rem; line-height: 1; color: rgb(var(--s300)); font-variant-numeric: tabular-nums; }
.cal-day i { width: 0.28rem; height: 0.28rem; border-radius: 50%; background: transparent; margin-top: 0.1rem; }
.cal-day.has i { background: rgb(var(--s400) / 0.7); }
.cal-day.has-mine i { background: rgb(var(--accent-rgb)); }
.cal-day.is-today { border-color: rgb(var(--edge)); }
.cal-day.has:hover { background: rgb(var(--fg) / 0.05); }
.cal-day.is-on { background: rgb(var(--accent-rgb) / 0.14); border-color: rgb(var(--accent-rgb) / 0.55); color: rgb(var(--accent-rgb)); }
.cal-day.is-on b { color: rgb(var(--accent-rgb)); }

.cal-stage { position: relative; aspect-ratio: 16 / 9; min-height: 14rem; border-radius: 1rem; overflow: hidden; background: rgb(var(--panel)); border: 1px solid rgb(var(--edge)); isolation: isolate; }
.cal-slides { position: absolute; inset: 0; }
.cal-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.cal-slide.is-on, .cal-slide.is-leaving { opacity: 1; visibility: visible; }
.cal-slide.is-on { z-index: 2; pointer-events: auto; }
.cal-bg { position: absolute; inset: 0; overflow: hidden; }
.cal-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.cal-slide.is-on .cal-bg img { animation: cal-zoom 9s ease-out both; }
@keyframes cal-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.cal-bg.is-poster { background: rgb(var(--panel3)); }
.cal-bg.is-poster img { position: absolute; right: 1.4rem; top: 7%; width: auto; height: 86%; max-width: 40%; border-radius: 0.5rem; box-shadow: 0 14px 34px rgb(0 0 0 / 0.4); object-fit: cover; }
.cal-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgb(var(--ink) / 0.92) 0%, rgb(var(--ink) / 0.55) 48%, rgb(var(--ink) / 0.08) 100%), linear-gradient(to top, rgb(var(--ink) / 0.78) 0%, rgb(var(--ink) / 0) 55%); }
.cal-copy { position: absolute; z-index: 2; left: 1.5rem; right: 4.2rem; bottom: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.cal-when { font-size: 0.8rem; font-weight: 600; color: rgb(var(--accent-rgb)); }
.cal-when span { margin-left: 0.45rem; font-weight: 400; color: rgb(var(--s300)); }
.cal-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.85rem; line-height: 1.08; letter-spacing: -0.012em; color: rgb(var(--fg)); }
.cal-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cal-sub { font-size: 0.85rem; color: rgb(var(--s300)); }
.cal-actions { margin-top: 0.5rem; }
.cal-track {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.42rem 1rem; border-radius: 999px; cursor: pointer; font-size: 0.82rem; font-weight: 500;
  border: 1px solid rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); background: rgb(var(--ink) / 0.35); backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
.cal-track .on { display: none; }
.cal-track .off::before { content: "+"; margin-right: 0.35rem; font-weight: 600; }
.cal-track:hover { background: rgb(var(--accent-rgb) / 0.18); }
.cal-track.is-on { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); }
.cal-track.is-on .on { display: inline; }
.cal-track.is-on .on::before { content: "✓"; margin-right: 0.4rem; }
.cal-track.is-on .off { display: none; }
.cal-arrow { position: absolute; z-index: 3; top: 50%; margin-top: -1rem; width: 2rem; height: 2rem; border-radius: 50%; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgb(var(--s200)); background: rgb(var(--ink) / 0.5); backdrop-filter: blur(6px); border: 1px solid rgb(var(--fg) / 0.16); opacity: 0; transition: opacity .25s, border-color .2s, transform .2s; }
.cal-stage:hover .cal-arrow, .cal-stage:focus-within .cal-arrow { opacity: 1; }
@media (hover: none) { .cal-arrow { opacity: 1; } }
.cal-arrow:hover { border-color: rgb(var(--accent-rgb) / 0.7); color: rgb(var(--accent-rgb)); }
.cal-arrow:active { transform: scale(0.92); }
.cal-arrow.is-prev { left: 0.8rem; }
.cal-arrow.is-next { right: 0.8rem; }
.cal-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(var(--fg) / 0.1); }
.cal-progress i { display: block; height: 100%; background: rgb(var(--accent-rgb)); transform-origin: left; transform: scaleX(0); }
@keyframes cal-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 520px) { .cal-title { font-size: 1.45rem; } .cal-copy { left: 1rem; right: 1rem; bottom: 1.1rem; } }

/* seguidos y "¿qué veo hoy?" */
.hf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hf-head h2 { font-size: 1.1rem; font-weight: 600; color: rgb(var(--s200)); }
.hf-head a { font-size: 0.8rem; color: rgb(var(--s400)); transition: color .15s; }
.hf-head a:hover { color: rgb(var(--accent-rgb)); }
.hf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.hf-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.hf-poster { flex: none; width: 2.6rem; aspect-ratio: 2 / 3; border-radius: 0.3rem; overflow: hidden; background: rgb(var(--panel3)); }
.hf-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-list p { margin: 0; font-size: 0.82rem; color: rgb(var(--s500)); }
.hf-user { color: rgb(var(--s200)); font-weight: 500; }
.hf-user:hover { color: rgb(var(--accent-rgb)); }
.hf-title { margin-top: 0.1rem !important; font-size: 0.92rem !important; }
.hf-title a { color: rgb(var(--s200)); font-weight: 500; }
.hf-title a:hover { color: rgb(var(--accent-rgb)); }
.hf-title em { margin-left: 0.4rem; font-style: normal; font-size: 0.78rem; color: rgb(var(--gold)); }
.hf-review { margin-top: 0.2rem !important; color: rgb(var(--s400)) !important; line-height: 1.4; }

/* descubrimiento: un solo carril con pestañas */
.disc-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.disc-tab { padding: 0.38rem 0.95rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); background: transparent; color: rgb(var(--s400)); font-size: 0.82rem; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.disc-tab:hover { color: rgb(var(--s200)); border-color: rgb(var(--accent-rgb) / 0.55); }
.disc-tab.is-on { background: rgb(var(--accent-rgb)); border-color: transparent; color: rgb(var(--on-accent)); }
.disc-tab[hidden] { display: none; }
.disc .home-head { display: none; }
.disc [data-panel][hidden] { display: none; }

/* botón "ver todas" de los bloques de la portada (solo sale si hay más de los que caben) */
.home-more { flex: none; align-self: center; padding: 0.3rem 0.85rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); font-size: 0.78rem; color: rgb(var(--s300)); transition: color .15s, border-color .15s, background .15s; white-space: nowrap; }
.home-more:hover { color: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb) / 0.6); background: rgb(var(--accent-rgb) / 0.08); }
.home-head:has(.home-more) { align-items: center; }
.hf-head .home-more { align-self: center; }

/* página de "Sigues viendo" completa */
.wa-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.4rem; }
.wa-card { display: block; }
.wa-img { display: block; aspect-ratio: 16 / 9; border-radius: 0.7rem; overflow: hidden; background: rgb(var(--panel3)); box-shadow: 0 8px 22px rgb(0 0 0 / 0.22); transition: transform .25s; }
.wa-card:hover .wa-img { transform: translateY(-3px); }
.wa-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-meta { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.6rem; }
.wa-meta b { font-size: 0.95rem; font-weight: 600; color: rgb(var(--s200)); }
.wa-meta small { font-size: 0.78rem; color: rgb(var(--s500)); }

/* "Sigues viendo": 4 en fila a todo el ancho */
.home-top .watching-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .home-top .watching-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .home-top .watching-rail { grid-template-columns: minmax(0, 1fr); } }

/* calendario y seguidos: misma altura (el calendario se estira; el número de reseñas lo ajusta home.js) */
.home-side { align-items: stretch; }
.home-side > .lazy-slot { display: flex; flex-direction: column; min-width: 0; }
.home-side .cal { flex: 1; }
.home-side .cal-stage { flex: 1; aspect-ratio: auto; min-height: 16rem; }
.home-side .hf { flex: none; }
.home-side:has(> .lazy-slot:empty) .cal-stage { flex: none; aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .home-side .cal-stage { flex: none; aspect-ratio: 16 / 9; } }
.hf:not([data-fit]) .hf-list li:nth-child(n+5) { display: none; }
.hf-list li[hidden] { display: none; }
.hf-head .home-more[hidden] { display: none; }

/* ======================================================================
   Navegación: logo | Inicio · Biblioteca · Comunidad | buscador | avatar.
   Móvil: barra inferior con cinco pestañas. El tema claro/oscuro vive en Ajustes.
   ====================================================================== */
.ic { width: 1.15rem; height: 1.15rem; flex: none; }
.site-header-inner { display: flex; grid-template-columns: none; gap: 1.2rem; }
.site-search { flex: 1 1 auto; width: auto; max-width: 22rem; margin-left: auto; justify-self: auto; }
.site-end { justify-self: auto; margin-left: 0; }

.site-links { display: none; align-items: center; gap: 0.2rem; padding: 0; background: none; border: 0; border-radius: 0; }
@media (min-width: 768px) { .site-links { display: flex; } }
.site-links a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 0.65rem; font-size: 0.86rem; font-weight: 500; color: rgb(var(--s400)); transition: color .15s, background .15s; }
.site-links a:hover { color: rgb(var(--fg)); background: rgb(var(--fg) / 0.05); transform: none; }
.site-links a.is-on { color: rgb(var(--fg)); background: rgb(var(--accent-rgb) / 0.14); }
.site-links a.is-on .ic { color: rgb(var(--accent-rgb)); }
@media (min-width: 768px) and (max-width: 1000px) {
  .site-links a span { display: none; }
  .site-links a { padding: 0.5rem 0.65rem; }
  .site-search { max-width: 14rem; }
}

.user-drop a { display: flex; align-items: center; gap: 0.65rem; }
.user-drop .ic { width: 1.05rem; height: 1.05rem; color: rgb(var(--s400)); }
.user-drop a:hover .ic { color: rgb(var(--accent-rgb)); }

.tabbar { display: none; }
@media (max-width: 767.98px) {
  .site-search { display: none; }
  .site-end { margin-left: auto; }
  .user-chip-name { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgb(var(--ink) / 0.94); backdrop-filter: blur(18px); border-top: 1px solid rgb(var(--edge));
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.4rem 0; border-radius: 0.6rem; font-size: 0.66rem; color: rgb(var(--s500)); transition: color .15s; }
  .tabbar .ic { width: 1.45rem; height: 1.45rem; }
  .tabbar a.is-on { color: rgb(var(--accent-rgb)); }
  body:has(.tabbar) { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* Biblioteca */
.lib-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.2rem; margin-bottom: 1.5rem; }
.lib-tabs { display: flex; gap: 0.3rem; overflow-x: auto; scrollbar-width: none; }
.lib-tabs::-webkit-scrollbar { display: none; }
.lib-tabs a { flex: none; padding: 0.42rem 1rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); font-size: 0.85rem; color: rgb(var(--s400)); transition: color .15s, border-color .15s; }
.lib-tabs a:hover { color: rgb(var(--fg)); border-color: rgb(var(--accent-rgb) / 0.55); }
.lib-tabs a.is-on { background: rgb(var(--accent-rgb)); border-color: transparent; color: rgb(var(--on-accent)); }
.add-menu { position: relative; }
.add-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 1rem; border-radius: 999px; border: 1px solid rgb(var(--accent-rgb) / 0.6); color: rgb(var(--accent-rgb)); font-size: 0.85rem; font-weight: 500; transition: background .15s; }
.add-menu summary::-webkit-details-marker { display: none; }
.add-menu summary:hover, .add-menu[open] summary { background: rgb(var(--accent-rgb) / 0.12); }
.add-drop { position: absolute; right: 0; top: calc(100% + 0.45rem); min-width: 13.5rem; padding: 0.35rem; border-radius: 0.85rem; border: 1px solid rgb(var(--edge)); background: rgb(var(--panel)); z-index: 30; box-shadow: 0 14px 34px rgb(0 0 0 / 0.28); }
.add-drop a { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.7rem; border-radius: 0.55rem; font-size: 0.85rem; color: rgb(var(--s300)); }
.add-drop a:hover { background: rgb(var(--accent-rgb) / 0.18); color: rgb(var(--fg)); }
.add-drop .ic { color: rgb(var(--s400)); }
.status-chip small { margin-left: 0.35rem; opacity: 0.7; font-variant-numeric: tabular-nums; }

/* Ajustes: tema */
.theme-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-opts button { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 1rem; border-radius: 0.75rem; border: 1px solid rgb(var(--edge)); background: transparent; color: rgb(var(--s300)); font-size: 0.85rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.theme-opts button:hover { border-color: rgb(var(--accent-rgb) / 0.55); }
.theme-opts button.is-on { border-color: rgb(var(--accent-rgb)); background: rgb(var(--accent-rgb) / 0.1); color: rgb(var(--fg)); }
.swatch { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgb(var(--fg) / 0.25); display: inline-block; }
.swatch.is-light { background: #f6f1e7; }
.swatch.is-dark { background: #14120f; }
.swatch.is-system { background: linear-gradient(90deg, #f6f1e7 50%, #14120f 50%); }

/* Búsqueda: en el móvil el campo vive en la propia página */
.search-page-form { display: none; }
@media (max-width: 767.98px) {
  .search-page-form { display: block; margin-bottom: 1.4rem; }
  .search-page-form input { width: 100%; padding: 0.7rem 1rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); background: rgb(var(--panel2)); color: rgb(var(--s200)); font-size: 0.95rem; }
}


/* ---- desplegables propios (select.js) ---- */
.ag-select { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.ag-select.is-block { display: block; width: 100%; }
.ag-native { position: absolute !important; inset: auto 0 0 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; }
.ag-select-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; max-width: 100%; min-height: 2.2rem; padding: 0.4rem 0.7rem 0.4rem 0.9rem; background: rgb(var(--panel2)); border: 1px solid rgb(var(--edge)); border-radius: 0.7rem; color: rgb(var(--s200)); font-family: inherit; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.ag-select-btn:hover { border-color: rgb(var(--accent-rgb) / 0.6); color: rgb(var(--fg)); }
.ag-select-btn:focus-visible, .ag-select-btn[aria-expanded="true"] { outline: none; border-color: rgb(var(--accent-rgb)); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.18); }
.ag-select-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ag-select-btn.is-placeholder .ag-sel-val { color: rgb(var(--s500)); }
.ag-sel-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ag-sel-chev { width: 1rem; height: 1rem; flex: none; color: rgb(var(--s500)); transition: transform .18s ease; }
.ag-select-btn[aria-expanded="true"] .ag-sel-chev { transform: rotate(180deg); color: rgb(var(--accent-rgb)); }
.ag-select-list { position: fixed; z-index: 2000; overflow-y: auto; padding: 0.3rem; background: rgb(var(--panel)); border: 1px solid rgb(var(--edge)); border-radius: 0.9rem; box-shadow: 0 14px 36px rgb(0 0 0 / 0.32); animation: ag-sel-in .12s ease-out; scrollbar-width: thin; }
@keyframes ag-sel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ag-select-list { animation: none; } .ag-sel-chev { transition: none; } }
.ag-sel-opt { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.45rem 0.7rem; border-radius: 0.55rem; font-size: 0.88rem; color: rgb(var(--s300)); cursor: pointer; }
.ag-sel-opt.is-active { background: rgb(var(--accent-rgb) / 0.12); color: rgb(var(--fg)); }
.ag-sel-opt[aria-selected="true"] { color: rgb(var(--accent-rgb)); font-weight: 600; }
.ag-sel-opt[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.ag-sel-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-sel-check { width: 0.95rem; height: 0.95rem; flex: none; }
.ag-sel-group { padding: 0.5rem 0.7rem 0.2rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--s500)); }
/* variantes */
.lib-sort .ag-select-btn { border-radius: 999px; background: rgb(var(--panel)); min-height: 2.35rem; color: rgb(var(--s300)); }
.cm-rate .ag-select-btn { min-height: 1.9rem; padding: 0.25rem 0.6rem 0.25rem 0.75rem; border-radius: 0.6rem; }
.cm-form-night .ag-select, .cm-rec-form .ag-select { display: block; width: 100%; }

/* menú del avatar: ancho ajustado al contenido y «Salir» alineado con el resto */
.user-drop a, .user-drop button { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 1.1rem 0.5rem 0.7rem; white-space: nowrap; }
.user-drop form { margin: 0.3rem 0 0; padding-top: 0.3rem; border-top: 1px solid rgb(var(--edge)); }
.user-drop button .ic { width: 1.05rem; height: 1.05rem; color: rgb(var(--s400)); }
.user-drop .is-danger:hover .ic { color: rgb(251 113 133); }

/* spoilers: texto difuminado con botón para mostrarlo (en toda la app) */
.cm-spoiler { position: relative; }
.cm-blur { filter: blur(6px); user-select: none; }
.cm-reveal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.4rem; background: none; border: 0; color: rgb(var(--fg)); font-size: 0.8rem; font-weight: 500; cursor: pointer; text-align: center; padding: 0 0.5rem; }
.cm-reveal .ic { width: 1rem; height: 1rem; flex: none; }
.cm-spoiler.is-open .cm-blur { filter: none; user-select: auto; }
.cm-spoiler.is-open .cm-reveal { display: none; }
.cm-tag { display: inline-block; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.02rem 0.4rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); color: rgb(var(--s500)); vertical-align: 1px; }
.cm-spchk { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: rgb(var(--s400)); white-space: nowrap; cursor: pointer; }
.cm-spchk input { accent-color: rgb(var(--accent-rgb)); }

.ph-count { color: inherit; text-decoration: none; transition: color .15s; }
.ph-count:hover { color: rgb(var(--accent-rgb)); text-decoration: underline; text-underline-offset: 3px; }

/* bloque de reseñas del perfil: Recientes | Más populares */
.sh-reviews .sh-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; }
.rv-tabs { display: inline-flex; gap: 0.2rem; padding: 0.15rem; border: 1px solid rgb(var(--edge)); border-radius: 999px; }
.rv-tabs button { background: none; border: 0; border-radius: 999px; padding: 0.2rem 0.8rem; font-size: 0.78rem; color: rgb(var(--s400)); cursor: pointer; transition: all .15s; }
.rv-tabs button:hover { color: rgb(var(--fg)); }
.rv-tabs button.is-on { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); }
.rv-list { display: grid; gap: 0.75rem; max-width: 42rem; margin-top: 0.9rem; }
.rv-list[hidden] { display: none; }
.rv-card { border: 1px solid rgb(var(--edge)); border-radius: 0.9rem; background: rgb(var(--panel) / 0.6); padding: 0.9rem 1rem; transition: border-color .15s; }
.rv-card:hover { border-color: rgb(var(--accent-rgb) / 0.4); }
.rv-head { display: flex; align-items: baseline; gap: 0.6rem; }
.rv-title { font-size: 0.88rem; font-weight: 500; color: rgb(var(--s200)); }
.rv-title:hover { color: rgb(var(--accent-rgb)); }
.rv-star { font-size: 0.8rem; color: rgb(var(--gold)); }
.rv-likes { margin-left: auto; font-size: 0.78rem; color: rgb(var(--s500)); }
.rv-text { margin: 0.35rem 0 0; font-size: 0.88rem; color: rgb(var(--s400)); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }

/* carrusel «cine en cifras»: sin flechas; título de la diapositiva y puntos debajo */
.cn-stage { padding: 0; }
.cn-pager { display: flex; align-items: center; justify-content: center; margin-top: 1.1rem; }
.cn-pager[hidden] { display: none; }
.cn-cap { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--s500)); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-dots { display: inline-flex; align-items: center; gap: 0.15rem; flex: none; }
.cn-dots button { position: relative; width: 1.1rem; height: 1.1rem; padding: 0; border: 0; background: none; cursor: pointer; }
.cn-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.42rem; height: 0.42rem; border-radius: 99px; background: rgb(var(--s600, var(--edge))); transform: translate(-50%, -50%); transition: width .25s ease, background .2s ease; }
.cn-dots button:hover::after { background: rgb(var(--s400)); }
.cn-dots button.is-on::after { width: 1.1rem; background: rgb(var(--accent-rgb)); }
.cn-dots button:focus-visible { outline: 2px solid rgb(var(--accent-rgb) / 0.7); outline-offset: 1px; border-radius: 99px; }
@media (max-width: 900px) { .cn-stage { padding: 0; } }
/* emociones con cifras y décadas con datos */
.cn-emos li b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; color: rgb(var(--fg)); line-height: 1; }
.cn-row li > .cn-dec { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; color: rgb(var(--fg)); -webkit-line-clamp: 1; }

/* emociones: iconos grandes repartidos por todo el ancho de la diapositiva */
.cn-emos { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.2rem, 1fr)); align-items: end; justify-items: center; gap: 1.2rem 0.6rem; min-height: 11.5rem; width: 100%; }
.cn-emos li { width: 100%; gap: 0.55rem; }
.cn-emos li img { width: var(--sz, 4rem); height: var(--sz, 4rem); max-width: 100%; }
.cn-emos span { font-size: 0.85rem; }
.cn-emos li b { font-size: 1.45rem; }
.cn-slides { min-height: 14rem; }

/* descripción única en la portada del perfil */
.ph-bio { max-width: 38rem; color: rgb(var(--s200)); white-space: pre-wrap; overflow-wrap: anywhere; }
.ph-bio.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ph-more { margin-top: 0.2rem; background: none; border: 0; padding: 0; font-size: 0.78rem; color: rgb(var(--accent-rgb)); cursor: pointer; }
.ph-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ph-more[hidden] { display: none; }
.pa { margin-top: 0; }

/* reseñas del perfil: diario por meses con tarjetas de cartel */
.rv-panel[hidden] { display: none; }
.rv-month { display: flex; align-items: baseline; gap: 0.7rem; margin: 1.6rem 0 0.8rem; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.05rem; color: rgb(var(--s300)); }
.rv-month:first-child { margin-top: 1rem; }
.rv-month small { font-family: Inter, sans-serif; font-size: 0.78rem; color: rgb(var(--s500)); }
.rv-month::after { content: ""; flex: 1; height: 1px; background: rgb(var(--edge)); align-self: center; }
.rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 0; }
.rv-panel > .rv-grid:first-child { margin-top: 1rem; }
@media (max-width: 800px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }
.rv-card { display: flex; gap: 0.9rem; align-items: flex-start; border: 1px solid rgb(var(--edge)); border-radius: 0.9rem; background: rgb(var(--panel) / 0.6); padding: 0.85rem 0.95rem; transition: border-color .15s; max-width: none; }
.rv-card:hover { border-color: rgb(var(--accent-rgb) / 0.4); }
.rv-card.is-feat { grid-column: 1 / -1; gap: 1.2rem; padding: 1.1rem 1.2rem; }
.rv-po { flex: none; display: block; width: 3.4rem; aspect-ratio: 2 / 3; border-radius: 0.35rem; overflow: hidden; background: rgb(var(--panel3)); box-shadow: 0 6px 16px rgb(0 0 0 / 0.25); position: relative; }
.rv-card.is-feat .rv-po { width: 5.6rem; }
.rv-po img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-po b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Fraunces", Georgia, serif; color: rgb(var(--s400)); }
.rv-body { min-width: 0; flex: 1; }
.rv-head { display: flex; align-items: baseline; gap: 0.6rem; }
.rv-title { font-size: 0.92rem; font-weight: 500; color: rgb(var(--fg)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rv-card.is-feat .rv-title { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 600; }
.rv-title:hover { color: rgb(var(--accent-rgb)); }
.rv-star { flex: none; font-size: 0.8rem; color: rgb(var(--gold)); }
.rv-side { flex: none; margin-left: auto; font-size: 0.75rem; color: rgb(var(--s500)); font-variant-numeric: tabular-nums; }
.rv-text { margin: 0.3rem 0 0; font-family: "Fraunces", Georgia, serif; font-size: 0.95rem; line-height: 1.5; color: rgb(var(--s300)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.rv-card.is-feat .rv-text { font-size: 1.15rem; line-height: 1.5; -webkit-line-clamp: 4; margin-top: 0.5rem; color: rgb(var(--s200)); }
.rv-emos { display: flex; align-items: center; gap: 0.25rem; margin: 0.55rem 0 0; font-size: 0.78rem; color: rgb(var(--s500)); }
.rv-emos span { margin-left: 0.4rem; }

/* menú «⋯» del perfil (denunciar / bloquear) y enlaces de denuncia discretos */
.ph-menu { position: relative; }
.ph-menu summary { list-style: none; cursor: pointer; font-size: 0.95rem; line-height: 1; padding: 0.28rem 0.7rem; border-radius: 999px; color: rgb(var(--s200)); background: rgb(var(--ink) / 0.55); backdrop-filter: blur(6px); border: 1px solid rgb(var(--fg) / 0.16); }
.ph-menu summary::-webkit-details-marker { display: none; }
.ph-menu summary:hover, .ph-menu[open] summary { border-color: rgb(var(--accent-rgb) / 0.7); }
.ph-menu-pop { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 30; min-width: 9rem; padding: 0.3rem; border-radius: 0.8rem; border: 1px solid rgb(var(--edge)); background: rgb(var(--panel)); box-shadow: 0 12px 28px rgb(0 0 0 / 0.3); display: grid; }
.ph-menu-pop a, .ph-menu-pop button { display: block; width: 100%; text-align: left; padding: 0.45rem 0.7rem; border-radius: 0.5rem; border: 0; background: none; font-size: 0.8rem; color: rgb(var(--s300)); cursor: pointer; backdrop-filter: none; }
.ph-menu-pop a:hover, .ph-menu-pop button:hover { background: rgb(var(--accent-rgb) / 0.15); color: rgb(var(--fg)); }
.rv-report { display: inline-block; margin-top: 0.4rem; font-size: 0.72rem; color: rgb(var(--s600, var(--s500))); }
.rv-report:hover { color: rgb(var(--accent-rgb)); }
.cm-foot-report { margin-left: auto; }

/* Editar perfil: navegación lateral por secciones, opciones y interruptores propios (en rojo, no el azul del navegador) */
.pe { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.pe-nav { position: sticky; top: 4.6rem; display: grid; gap: 0.15rem; }
.pe-nav a { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.8rem; border-radius: 0.65rem; color: rgb(var(--s400)); font-size: 0.9rem; transition: background .15s, color .15s; }
.pe-nav a:hover { color: rgb(var(--fg)); background: rgb(var(--panel)); }
.pe-nav a.is-on { color: rgb(var(--accent-rgb)); background: rgb(var(--accent-rgb) / 0.1); font-weight: 600; }
.pe-nav .ic { width: 1.15rem; height: 1.15rem; flex: none; }
.pe-nav em { margin-left: auto; font-style: normal; font-size: 0.72rem; min-width: 1.2rem; text-align: center; padding: 0.02rem 0.4rem; border-radius: 999px; background: rgb(var(--edge)); color: rgb(var(--s300)); }
.pe-body { min-width: 0; }
.pe-panel { border: 1px solid rgb(var(--edge) / 0.9); background: rgb(var(--panel) / 0.6); border-radius: 1rem; padding: 1.5rem 1.6rem; margin-bottom: 1.2rem; }
.pe-panel[hidden], .pe-save[hidden] { display: none; }
.pe-panel h2 { font-family: "Fraunces", Georgia, serif; font-size: 1.65rem; letter-spacing: 0.02em; color: rgb(var(--fg)); line-height: 1; margin-bottom: 1.2rem; }
.pe-panel h2 + .settings-lead { margin-top: -0.6rem; }
.pe-save { display: flex; align-items: center; justify-content: flex-end; gap: 0.9rem; }
.pe-cover { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgb(var(--edge)); }
@media (max-width: 760px) {
  .pe { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .pe-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: 0.3rem; }
  .pe-nav a { flex: none; }
  .pe-panel { padding: 1.2rem 1.1rem; }
}
/* opciones (botones de opción) */
.pe-opts { display: grid; gap: 0.3rem; margin-bottom: 1.4rem; }
.pe-opt { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.75rem 0.9rem; border: 1px solid rgb(var(--edge)); border-radius: 0.8rem; cursor: pointer; transition: border-color .15s, background .15s; }
.pe-opt:hover { border-color: rgb(var(--s500)); }
.pe-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pe-opt > i { position: relative; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; border-radius: 50%; border: 1.5px solid rgb(var(--s500)); transition: border-color .15s; }
.pe-opt > i::after { content: ""; position: absolute; inset: 0.2rem; border-radius: 50%; background: rgb(var(--accent-rgb)); transform: scale(0); transition: transform .15s ease; }
.pe-opt:has(input:checked) { border-color: rgb(var(--accent-rgb)); background: rgb(var(--accent-rgb) / 0.08); }
.pe-opt input:checked + i { border-color: rgb(var(--accent-rgb)); }
.pe-opt input:checked + i::after { transform: scale(1); }
.pe-opt input:focus-visible + i { outline: 2px solid rgb(var(--accent-rgb) / 0.7); outline-offset: 3px; }
.pe-opt b { display: block; font-weight: 500; font-size: 0.92rem; color: rgb(var(--fg)); }
.pe-opt small { display: block; margin-top: 0.1rem; font-size: 0.78rem; color: rgb(var(--s500)); }
/* interruptores */
.pe-switches { border-top: 1px solid rgb(var(--edge)); }
.pe-switch { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.9rem 0; border-bottom: 1px solid rgb(var(--edge)); cursor: pointer; }
.pe-switch b { display: block; font-weight: 500; font-size: 0.9rem; color: rgb(var(--s200)); }
.pe-switch small { display: block; margin-top: 0.1rem; font-size: 0.78rem; color: rgb(var(--s500)); }
.pe-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pe-switch > i { position: relative; flex: none; width: 2.5rem; height: 1.45rem; border-radius: 999px; background: rgb(var(--edge)); transition: background .18s ease; }
.pe-switch > i::after { content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: rgb(var(--s400)); transition: transform .18s ease, background .18s ease; }
.pe-switch input:checked + i { background: rgb(var(--accent-rgb)); }
.pe-switch input:checked + i::after { transform: translateX(1.05rem); background: #fff; }
.pe-switch input:focus-visible + i { outline: 2px solid rgb(var(--accent-rgb) / 0.7); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pe-opt > i::after, .pe-switch > i, .pe-switch > i::after { transition: none; } }
/* bloqueados */
.pe-blocked { list-style: none; margin: 0; padding: 0; display: grid; }
.pe-blocked li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgb(var(--edge)); font-size: 0.9rem; }
.pe-blocked a { color: rgb(var(--s200)); }
.pe-blocked a:hover { color: rgb(var(--accent-rgb)); }
.pe-blocked button { font-size: 0.78rem; padding: 0.25rem 0.85rem; border-radius: 999px; border: 1px solid rgb(var(--edge)); background: none; color: rgb(var(--s300)); cursor: pointer; transition: all .15s; }
.pe-blocked button:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }

/* Configuración: tema con miniaturas, idioma segmentado y zona de peligro plegada */
.st-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-bottom: 0.5rem; }
.st-themes button { display: grid; gap: 0.5rem; padding: 0.55rem; border: 1px solid rgb(var(--edge)); border-radius: 0.9rem; background: none; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.st-themes button:hover { border-color: rgb(var(--s500)); }
.st-themes button.is-on { border-color: rgb(var(--accent-rgb)); background: rgb(var(--accent-rgb) / 0.08); }
.st-themes b { font-weight: 500; font-size: 0.85rem; color: rgb(var(--s200)); padding: 0 0.2rem 0.15rem; }
.st-themes button.is-on b { color: rgb(var(--fg)); }
.st-win { position: relative; display: flex; flex-direction: column; gap: 0.35rem; height: 4.2rem; border-radius: 0.55rem; padding: 0.5rem 0.55rem; overflow: hidden; border: 1px solid rgb(0 0 0 / 0.18); }
.st-win i { display: block; height: 0.32rem; border-radius: 99px; position: relative; z-index: 1; }
.st-win i:nth-child(1) { width: 55%; background: #e8553d; }
.st-win i:nth-child(2) { width: 88%; }
.st-win i:nth-child(3) { width: 68%; }
.st-win.is-dark { background: #14100f; }
.st-win.is-dark i:nth-child(n+2) { background: #3a322e; }
.st-win.is-light { background: #f6f1e7; }
.st-win.is-light i:nth-child(n+2) { background: #d9cfbd; }
.st-win.is-split { background: linear-gradient(105deg, #f6f1e7 50%, #14100f 50%); }
.st-win.is-split i:nth-child(n+2) { background: #8f857a; }
.st-seg { display: inline-flex; flex-wrap: wrap; gap: 0.2rem; padding: 0.2rem; border: 1px solid rgb(var(--edge)); border-radius: 999px; }
.st-seg label { cursor: pointer; }
.st-seg input { position: absolute; opacity: 0; pointer-events: none; }
.st-seg span { display: block; padding: 0.3rem 1rem; border-radius: 999px; font-size: 0.85rem; color: rgb(var(--s400)); transition: background .15s, color .15s; }
.st-seg label:hover span { color: rgb(var(--fg)); }
.st-seg input:checked + span { background: rgb(var(--accent-rgb)); color: rgb(var(--on-accent)); }
.st-seg input:focus-visible + span { outline: 2px solid rgb(var(--accent-rgb) / 0.7); outline-offset: 2px; }
.pe-panel.is-danger { border-color: rgb(244 63 94 / 0.3); }
.pe-panel.is-danger h2 { color: rgb(253 164 175); }
.st-del { border-top: 1px solid rgb(var(--edge)); }
.st-del > summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.st-del > summary::-webkit-details-marker { display: none; }
.st-del summary b { display: block; font-weight: 500; font-size: 0.92rem; color: rgb(var(--s200)); }
.st-del summary small { display: block; margin-top: 0.15rem; max-width: 34rem; font-size: 0.78rem; line-height: 1.45; color: rgb(var(--s500)); }
.st-del summary em { flex: none; font-style: normal; font-size: 0.8rem; padding: 0.3rem 0.95rem; border-radius: 999px; border: 1px solid rgb(244 63 94 / 0.45); color: rgb(253 164 175); transition: background .15s; }
.st-del > summary:hover em { background: rgb(244 63 94 / 0.1); }
.st-del[open] summary em { background: rgb(244 63 94 / 0.14); }
.st-del form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding: 0 0 1.1rem; }
.st-del form .settings-input { flex: 1 1 15rem; }
.st-del-go { padding: 0.5rem 1.1rem; border-radius: 999px; border: 0; background: rgb(225 29 72); color: #fff; font-size: 0.82rem; font-weight: 500; cursor: pointer; }
.st-del-go:hover { background: rgb(190 18 60); }

