/* =========================================================
   VINILO TRACKS — estilos
   Revista nocturna: negro profundo, un verde lima glowy,
   tipografía condensada gigante (Anton) + grotesca (Bricolage) + mono.
   ========================================================= */
:root {
  --ink: #060706;
  --panel: #0f110d;
  --panel-2: #151812;
  --line: #22261c;
  --lime: #d9f86a;      /* el verde del banner */
  --neon: #b6ff3b;      /* el verde glowy del logo */
  --bone: #eef0e6;
  --soft: #c9ccbf;
  --mute: #8d937f;
  --danger: #ff6b5b;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1680px;                         /* contenedor más ancho */
  --pad: clamp(16px, 3.2vw, 56px);        /* margen lateral */
  --glow: 0 0 18px color-mix(in srgb, var(--neon) 55%, transparent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--f-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
button { font: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }
.muted { color: var(--mute); }
.eyebrow { display: block; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--neon); font-weight: 400; margin: 0; }
.empty { padding: 40px 0; text-align: center; color: var(--mute); grid-column: 1 / -1; }
code { font-family: var(--f-mono); color: var(--lime); }

/* ---------- botones ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--bone); border-radius: 99px; padding: 11px 22px; font-family: var(--f-mono); font-size: 13.5px; text-decoration: none; color: var(--bone); background: none; cursor: pointer; transition: .2s; }
.pill:hover { background: var(--bone); color: var(--ink); }
.pill-sm { padding: 7px 14px; font-size: 12px; }
.pill-solid { background: var(--bone); color: var(--ink); justify-content: center; width: 100%; }
.pill-solid:hover { background: var(--neon); border-color: var(--neon); }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--neon); color: var(--ink); border: 0; border-radius: 99px; padding: 13px 24px; font-family: var(--f-mono); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; transition: box-shadow .25s, transform .2s; }
.btn-primary:hover { box-shadow: var(--glow); transform: translateY(-1px); }
.btn-primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.btn-primary[aria-pressed="true"] { background: var(--ink); color: var(--neon); box-shadow: inset 0 0 0 1.5px var(--neon); }
.btn-primary[aria-pressed="true"] svg { fill: currentColor; }

/* =========================================================
   HEADER
   ========================================================= */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--neon); flex: 0 0 auto; }
.logo svg { width: 38px; height: 38px; filter: drop-shadow(0 0 6px var(--neon)); animation: spin 9s linear infinite; }
.logo span { font-family: var(--f-display); font-size: 22px; letter-spacing: .06em; color: var(--ink); -webkit-text-stroke: 1.2px var(--neon); text-shadow: 0 0 10px color-mix(in srgb, var(--neon) 70%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
nav a { font-family: var(--f-mono); font-size: 13px; text-decoration: none; color: var(--bone); transition: color .2s; }
nav a:hover, nav a[aria-current] { color: var(--lime); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.btn-search { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--neon); color: var(--neon); background: none; border-radius: 99px; padding: 8px 16px; font-family: var(--f-mono); font-size: 13px; cursor: pointer; text-decoration: none; }
.btn-search:hover { background: var(--neon); color: var(--ink); }
.wl-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--bone); cursor: pointer; transition: border-color .2s, color .2s; }
.wl-btn:hover { border-color: var(--neon); color: var(--neon); }
.wl-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--neon); color: var(--ink); font-family: var(--f-mono); font-size: 11px; font-weight: 600; display: grid; place-items: center; box-shadow: var(--glow); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--bone); transition: transform .25s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .btn-search span { display: none; }
  .btn-search { padding: 0; width: 40px; height: 40px; justify-content: center; }
  nav { position: fixed; inset: 69px 0 auto; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px max(var(--pad), env(safe-area-inset-left, 0px)) 24px; transform: translateY(-110%); opacity: 0; pointer-events: none; transition: .3s; }
  .menu-open nav { transform: none; opacity: 1; pointer-events: auto; }
  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .logo { gap: 8px; } .logo span { font-size: 16px; letter-spacing: .04em; } .logo svg { width: 30px; height: 30px; } .wl-btn, .menu-btn, .btn-login, .avatar, .btn-search { width: 38px !important; height: 38px !important; } }
@media (max-width: 350px) { .logo span { display: none; } }

/* =========================================================
   HERO (casi todo el ancho de la pantalla)
   ========================================================= */
.hero-bleed { padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
.hero { padding-block: 14px 0; }
.panel { position: relative; background: var(--lime); color: #0a0b08; border-radius: clamp(28px, 5vw, 90px); overflow: hidden; isolation: isolate;
  padding: clamp(22px, 3.2vw, 48px) clamp(20px, 4vw, 72px) 0; min-height: clamp(560px, calc(100svh - 96px), 1040px); display: grid; grid-template-rows: auto 1fr; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .05' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .7 0 0 0 0 .2 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 16.5vw, 300px); line-height: .86; letter-spacing: -.01em; text-align: center; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 300px) 1fr minmax(0, 280px); gap: 24px; align-items: start; margin-top: clamp(16px, 2.2vw, 36px); position: relative; }
.hero-col { font-family: var(--f-mono); font-size: clamp(13px, .95vw, 15px); line-height: 1.75; position: relative; z-index: 2; }
.hero-col .top { display: block; font-size: 15px; margin-bottom: 24px; }
.hero-col b { font-weight: 600; }
.hero-col.right .top { text-align: right; }
.singer { align-self: end; justify-self: center; width: min(720px, 100%); margin-bottom: -4px; pointer-events: none; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translateY(40px); } to { transform: none; } }
.round { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0a0b08; color: var(--lime); margin-top: 22px; text-decoration: none; transition: transform .25s; }
.round:hover { transform: translateY(4px); }
.round svg { width: 22px; height: 22px; }
.stamp { position: absolute; right: clamp(16px, 4vw, 72px); bottom: clamp(18px, 3vw, 48px); width: 100px; height: 100px; z-index: 3; animation: spin 14s linear infinite; }
@media (max-width: 860px) {
  .hero h1 { white-space: normal; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-col.right { order: 2; }
  .hero-col.right .top { text-align: left; }
  .singer { order: 3; width: min(460px, 100%); }
  .stamp { display: none; }
}

/* ---------- cinta ---------- */
.marquee { margin-top: 28px; border-block: 1px solid var(--line); overflow: hidden; padding-block: 16px; }
.track { display: flex; width: max-content; animation: ltr 32s linear infinite; }
.track span { font-family: var(--f-display); font-size: clamp(34px, 5vw, 72px); line-height: 1; padding-right: 36px; white-space: nowrap; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--bone); }
.track span:nth-child(3n+1) { color: var(--neon); -webkit-text-stroke: 0; text-shadow: var(--glow); }
.track i { font-style: normal; color: var(--neon); padding-right: 36px; font-size: clamp(20px, 3vw, 36px); align-self: center; }
@keyframes ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================
   SECCIONES
   ========================================================= */
section { padding-block: clamp(64px, 9vw, 130px); }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8vw, 128px); line-height: .9; text-transform: uppercase; text-wrap: balance; }
.head p { max-width: 42ch; margin: 0; color: var(--mute); }
.head-sm h2 { font-size: clamp(36px, 5vw, 64px); }
.head-sm { align-items: center; }
.more { display: flex; justify-content: center; margin-top: 48px; }
.card-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; height: 100%; }

/* ---------- tarjetas de reseña ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
@media (min-width: 1500px) { .page-body .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.cover { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; background: var(--panel); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card-link:hover .cover img { transform: scale(1.05); }
.score { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--neon); font-family: var(--f-display); font-size: 22px; line-height: 1; padding: 8px 10px; border-radius: 6px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--neon) 35%, transparent); }
.card h3 { margin: 2px 0 0; font-size: 19px; font-weight: 800; line-height: 1.2; text-wrap: balance; }
.meta { font-family: var(--f-mono); font-size: 12px; color: var(--neon); text-transform: uppercase; letter-spacing: .06em; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.read { font-family: var(--f-mono); font-size: 13px; color: var(--lime); margin-top: auto; padding-top: 4px; width: max-content; border-bottom: 1px solid transparent; transition: border-color .2s; }
.card-link:hover .read { border-color: var(--lime); }

/* ---------- tarjetas de noticia ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
.news-home { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.news-home .post-big { grid-row: span 2; }
.post .post-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--panel-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25) contrast(1.05); transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.post .card-link:hover img { transform: scale(1.04); filter: none; }
.post-txt { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { margin: 0; font-size: clamp(19px, 1.5vw, 24px); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.post p { margin: 0; color: var(--soft); font-size: 15px; }
.post-big .post-img { aspect-ratio: 4 / 3; }
.post-big h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 56px); line-height: 1; text-transform: uppercase; }
.news-home .post:not(.post-big) .card-link { flex-direction: row; gap: 20px; }
.news-home .post:not(.post-big) .post-img { flex: 0 0 42%; aspect-ratio: 1; }
.news-list .post-big { grid-column: 1 / -1; }
.news-list .post-big .card-link { flex-direction: row; gap: clamp(20px, 3vw, 48px); align-items: center; }
.news-list .post-big .post-img { flex: 0 0 58%; aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .news-grid, .news-home { grid-template-columns: minmax(0, 1fr); }
  .news-home .post-big { grid-row: auto; }
  .news-list .post-big .card-link { flex-direction: column; align-items: stretch; }
}
@media (max-width: 520px) { .news-home .post:not(.post-big) .card-link { flex-direction: column; } }

/* =========================================================
   CÁPSULAS
   ========================================================= */
.loop { overflow: hidden; }
.loop h2 { margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; font-family: var(--f-mono); font-weight: 400; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.3; max-width: 24ch; text-wrap: balance; }
/* 5 cápsulas: el ancho y el espacio se calculan para que SIEMPRE quepan y queden centradas */
.caps { --w: clamp(52px, 13vw, 230px); --gap: clamp(10px, 3.2vw, 60px);
  display: flex; justify-content: center; align-items: center; gap: var(--gap);
  width: calc(var(--w) * 5 + var(--gap) * 4); max-width: 100%; margin-inline: auto;
  height: clamp(260px, 58vw, 920px); }
.cap { position: relative; width: var(--w); flex: 0 0 auto; border-radius: 999px; overflow: hidden; background: var(--panel); isolation: isolate;
  transform: translateX(calc(var(--s) * (var(--w) + var(--gap)) * -1)) scale(.92);
  transition: transform 1.25s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d) * 90ms); }
.cap:nth-child(1) { --s: -2; --d: 1; height: 60%; z-index: 1; }
.cap:nth-child(2) { --s: -1; --d: 0; height: 80%; z-index: 2; }
.cap:nth-child(3) { --s: 0; --d: 0; height: 100%; z-index: 3; box-shadow: 0 0 90px -40px color-mix(in srgb, var(--neon) 30%, transparent); }
.cap:nth-child(4) { --s: 1; --d: 0; height: 80%; z-index: 2; }
.cap:nth-child(5) { --s: 2; --d: 1; height: 60%; z-index: 1; }
.caps.open .cap { transform: none; }
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.35) saturate(1.2) hue-rotate(-12deg) brightness(.85); }
.caps.open .cap img { animation: drift 14s ease-in-out infinite alternate; }
.cap:nth-child(even) img { animation-direction: alternate-reverse; }
@keyframes drift { from { transform: scale(1.05); } to { transform: scale(1.18) translateY(-4%); } }

/* videos: el tamaño exacto del iframe lo calcula capsulas.js para llenar la cápsula sin barras negras */
.cap iframe, .cap video { position: absolute; z-index: 2; border: 0; pointer-events: none; opacity: 0; transition: opacity .8s; }
.cap iframe { top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; }
.cap video { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap.playing iframe, .cap.playing video { opacity: 1; }

/* celular: una cápsula sobre otra */
@media (max-width: 700px) {
  .caps { flex-direction: column; width: 100%; height: auto; gap: 14px; }
  .cap, .cap:nth-child(n) { width: 100%; height: auto; aspect-ratio: 2.2 / 1; transform: none; transition: none; }
  .cap:nth-child(3) { box-shadow: none; }
  .cap img { object-position: 50% 18%; }
}

.loop-foot { display: flex; justify-content: flex-end; margin-top: 28px; }
.loop-foot p { margin: 0; font-family: var(--f-mono); font-size: clamp(20px, 2.4vw, 32px); text-align: right; line-height: 1.3; }

/* =========================================================
   BUSCADOR
   ========================================================= */
.searchbox { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 40px); }
.field { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--neon); padding-bottom: 10px; }
.field svg { width: 28px; height: 28px; color: var(--neon); flex: 0 0 auto; }
.field input { flex: 1; min-width: 0; background: none; border: 0; color: var(--bone); font-family: var(--f-display); font-size: clamp(28px, 4.5vw, 60px); letter-spacing: .01em; outline: none; }
.field input::placeholder { color: #3b4033; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: none; color: var(--bone); border-radius: 99px; padding: 7px 14px; font-family: var(--f-mono); font-size: 12.5px; cursor: pointer; transition: border-color .2s; }
.chip:hover { border-color: var(--mute); }
.chip[aria-pressed="true"] { background: var(--neon); border-color: var(--neon); color: var(--ink); }
.chip.danger { border-color: var(--danger); color: var(--danger); }
select { background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-family: var(--f-mono); font-size: 12.5px; }
.status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; color: var(--mute); }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 20px; transition: opacity .2s; }
.rel { min-width: 0; }
.rel strong, .rel span { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .rel strong { font-size: 14px; }
  .art b { font-size: 20px; }
}
.loading { opacity: .45; }

.rel { position: relative; }
.rel > a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.art { aspect-ratio: 1; max-width: 100%; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 6px; background: var(--c1, var(--panel-2)); }
.art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #0b0b0b 0 2px, #161616 2px 3px); transition: transform .8s; }
.art::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--c2, var(--neon)); }
.art b { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--ink); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.rel > a:hover .art img { transform: scale(1.05); }
.rel strong { font-size: 15px; line-height: 1.25; }
.rel span { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); }

/* botón de guardar sobre la portada */
.save { position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--bone); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s, color .2s; }
.save svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.rel:hover .save, .save:focus-visible, .save[aria-pressed="true"] { opacity: 1; transform: none; }
.save:hover { color: var(--neon); }
.save[aria-pressed="true"] { color: var(--ink); background: var(--neon); box-shadow: var(--glow); }
.save[aria-pressed="true"] svg { fill: currentColor; }
@media (hover: none) { .save { opacity: 1; transform: none; } }

/* =========================================================
   PÁGINAS DE LISTADO
   ========================================================= */
.page-head { padding-block: clamp(48px, 7vw, 100px) clamp(28px, 3vw, 44px); }
.page-head h1 { margin: 10px 0 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 12vw, 200px); line-height: .86; text-transform: uppercase; }
.page-head p { margin: 0; max-width: 52ch; color: var(--soft); font-size: 18px; }
.list-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-body { padding-bottom: clamp(64px, 8vw, 120px); }

/* =========================================================
   RESEÑA (template)
   ========================================================= */
.crumb { display: inline-block; color: var(--mute); text-decoration: none; margin-bottom: 18px; }
.crumb:hover { color: var(--lime); }
.review-hero { overflow-x: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-block: clamp(36px, 5vw, 80px); }
.review-cover { position: relative; }
.review-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; box-shadow: 0 40px 80px -30px #000; position: relative; z-index: 1; }
.review-cover::after { content: ""; position: absolute; top: 4%; right: -8%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--neon) 0 12%, #0b0b0b 12.5% 14%, transparent 14.5%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #181818 2px 3px); animation: spin 6s linear infinite; }
.review-head h1 { margin: 12px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 7.5vw, 140px); line-height: .9; text-transform: uppercase; text-wrap: balance; }
.review-artist { margin: 10px 0 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; }
.review-score { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.review-score b { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 6vw, 96px); line-height: 1; color: var(--neon); text-shadow: var(--glow); }
.review-lede { font-size: clamp(18px, 1.4vw, 22px); color: var(--soft); max-width: 44ch; margin: 18px 0; }
.review-meta { color: var(--mute); }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; min-height: 48px; align-items: center; }
.review-body { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); padding-block: clamp(24px, 4vw, 64px) clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.review-side { display: flex; flex-direction: column; gap: 36px; position: sticky; top: 100px; align-self: start; }
.pull { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; text-transform: uppercase; color: var(--lime); }
.ficha .eyebrow { margin-bottom: 14px; }
.mini-tracks { list-style: none; margin: 18px 0 0; padding: 0; font-size: 14px; }
.mini-tracks li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mini-tracks span, .mini-tracks em { font-family: var(--f-mono); font-size: 12px; color: var(--mute); font-style: normal; }
@media (max-width: 860px) {
  .review-hero, .review-body { grid-template-columns: minmax(0, 1fr); }
  .review-side { position: static; }
  .review-cover { max-width: 520px; margin-right: 10%; }
}

/* texto largo (reseñas, noticias, about) */
.prose { max-width: 68ch; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.75; color: var(--soft); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; color: var(--bone); margin: 2em 0 .5em; }
.prose p { margin: 0 0 1.1em; }
.prose > p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--neon); }
.prose ol { padding-left: 1.4em; display: grid; gap: 10px; }
.prose ol li::marker { font-family: var(--f-mono); color: var(--neon); }
.prose ol.picks { list-style: none; padding: 0; counter-reset: pick; gap: 0; border-top: 1px solid var(--line, #22261c); }
.prose ol.picks li { counter-increment: pick; display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line, #22261c); }
.prose ol.picks li::before { content: counter(pick, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: 13px; color: var(--lime); padding-top: 4px; }
.prose ol.picks strong { color: var(--bone); font-weight: 600; }
.prose ol.picks span { color: var(--muted, #8d937f); font-size: .94em; line-height: 1.55; margin-top: 4px; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--neon); font-size: 1.2em; color: var(--bone); }

/* lista de datos (etiqueta / valor) */
.dl { display: grid; grid-template-columns: minmax(84px, max-content) minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 14.5px; }
.dl dt { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding-top: 2px; max-width: 22ch; overflow-wrap: break-word; }
.dl dd { margin: 0; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
/* en celular: etiqueta arriba, valor abajo (así los roles largos de los créditos no aplastan los nombres) */
@media (max-width: 600px) {
  .dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dl dt { max-width: none; padding-top: 14px; }
  .dl dt:first-child { padding-top: 0; }
  .dl dd { padding: 3px 0 12px; border-bottom: 1px solid var(--line); }
  .dl-wide dd:last-child, .ficha .dl dd:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* =========================================================
   NOTICIA (template)
   ========================================================= */
.article-hero { position: relative; border-radius: clamp(24px, 4vw, 60px); overflow: hidden; min-height: clamp(420px, 70vh, 760px); display: flex; align-items: flex-end; margin-top: 14px; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 4%, color-mix(in srgb, var(--ink) 55%, transparent) 45%, transparent 80%); }
.article-hero-txt { position: relative; z-index: 1; padding: clamp(24px, 4vw, 72px); max-width: 1100px; }
.article-hero-txt h1 { margin: 12px 0 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6.5vw, 116px); line-height: .92; text-transform: uppercase; text-wrap: balance; }
.article-body { padding-block: clamp(40px, 5vw, 80px); display: grid; justify-items: center; }
.article-lede { max-width: 34ch; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; margin: 0 0 40px; color: var(--bone); text-align: center; text-wrap: balance; }
.more-section { padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }

/* =========================================================
   VINILO (template con datos de Discogs)
   ========================================================= */
.vinyl { overflow-x: clip; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 110px); }
.vinyl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1; isolation: isolate; max-width: 100%; }
.gallery-main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 40px 80px -30px #000; background: var(--panel); }
.big-art { position: relative; z-index: 1; width: 100%; height: 100%; box-shadow: 0 40px 80px -30px #000; }
.big-art b { font-size: 80px; }
.spin-disc { position: absolute; top: 3%; right: -9%; width: 94%; aspect-ratio: 1; border-radius: 50%; z-index: 0; animation: spin 5s linear infinite;
  background: radial-gradient(circle, var(--ink) 0 2%, var(--neon) 2.2% 13%, #0b0b0b 13.3% 15%, transparent 15.3%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #191919 2px 3px); }
.thumbs { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--panel); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-current], .thumbs button:hover { opacity: 1; border-color: var(--neon); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vinyl-artist { font-size: clamp(20px, 2vw, 28px); font-weight: 600; text-decoration: none; color: var(--lime); }
.vinyl-artist:hover { text-decoration: underline; }
.vinyl-info h1 { margin: 6px 0 20px; font-family: var(--f-display); font-weight: 400; font-size: clamp(52px, 6.5vw, 120px); line-height: .9; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags span { border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-family: var(--f-mono); font-size: 12px; color: var(--soft); }
.dl-wide { padding-block: 22px; border-block: 1px solid var(--line); }
.vinyl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stats div { background: var(--panel); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; color: var(--neon); font-variant-numeric: tabular-nums; }
.stats span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div { padding: 14px 12px; } }

.vinyl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); }
.vinyl-side { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); }
.block h2 { margin: 0 0 20px; font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3vw, 48px); line-height: 1; text-transform: uppercase; }
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tracklist li:hover .tt { color: var(--lime); }
.tracklist .tt { overflow-wrap: break-word; }
.tracklist .pos, .tracklist .dur { font-family: var(--f-mono); font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.tracklist .side { display: block; padding-top: 26px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--neon); border: 0; }
.video { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--panel); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.vlist { list-style: none; margin: 14px 0 0; padding: 0; }
.vlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.vlist a { text-decoration: none; min-width: 0; overflow-wrap: break-word; }
.vlist span { flex: 0 0 auto; color: var(--mute); }
.vlist a:hover { color: var(--lime); }
.notes { color: var(--soft); font-size: 15px; margin: 0; max-width: 70ch; overflow-wrap: anywhere; }
.more-artist { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.credit { margin-top: 48px; }
@media (max-width: 860px) {
  .vinyl-hero, .vinyl-cols { grid-template-columns: minmax(0, 1fr); }
  .gallery { max-width: 560px; margin-right: 10%; }
}

/* =========================================================
   WISHLIST — panel lateral
   ========================================================= */
.wl-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.wl-open .wl-backdrop { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(420px, 100%); background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) 24px;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); outline: none; }
.wl-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 6px 0 0; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.x { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--mute); cursor: pointer; display: grid; place-items: center; font-size: 13px; transition: .2s; }
.x:hover { color: var(--danger); border-color: var(--danger); }
.drawer-list { flex: 1; overflow-y: auto; padding-block: 8px; }
.wl-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wl-thumb { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: repeating-radial-gradient(circle, #0b0b0b 0 2px, #161616 2px 3px); display: block; }
.wl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-info { min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.wl-info strong { font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-info span { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); }
.wl-info:hover strong { color: var(--lime); }
.wl-more { color: var(--mute); text-align: center; padding-top: 14px; }
.wl-empty { text-align: center; padding: 48px 12px; color: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wl-empty svg { width: 40px; height: 40px; fill: none; stroke: var(--neon); stroke-width: 1.5; filter: drop-shadow(0 0 8px var(--neon)); }
.wl-empty p { margin: 0 0 6px; max-width: 32ch; }
.drawer-foot { padding-top: 18px; border-top: 1px solid var(--line); }

/* WISHLIST — página */
.wl-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
@media (max-width: 600px) { .wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .wl-card-actions { flex-wrap: wrap; } .wl-card-txt strong { font-size: 15px; } }
.wl-card-txt strong, .wl-card-txt span { overflow-wrap: break-word; }
.wl-card { display: flex; flex-direction: column; gap: 12px; }
.wl-card .art { border-radius: 8px; }
.wl-card-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wl-card-txt a { text-decoration: none; }
.wl-card-txt strong { font-size: 17px; line-height: 1.25; }
.wl-card-txt a:hover strong { color: var(--lime); }
.wl-card-txt span { font-size: 14px; color: var(--soft); }
.wl-card-txt .mono { font-size: 11.5px; }
.wl-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.wl-empty-big { grid-column: 1 / -1; padding-block: 80px; }
.wl-empty-big h2 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); text-transform: uppercase; color: var(--bone); }
.wl-empty-big p { margin-bottom: 14px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 18px; max-width: calc(100% - 32px); background: var(--bone); color: var(--ink); padding: 12px 14px 12px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px -10px #000; transition: .3s cubic-bezier(.2, .8, .2, 1); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a, .toast button { flex: 0 0 auto; background: var(--ink); color: var(--neon); border: 0; border-radius: 99px; padding: 6px 14px; font-family: var(--f-mono); font-size: 12px; text-decoration: none; cursor: pointer; }

/* cargando / no encontrado */
.loading-page { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; }
.loader { width: 64px; height: 64px; border-radius: 50%; animation: spin 1.4s linear infinite; background: radial-gradient(circle, var(--neon) 0 14%, transparent 15%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #1d1d1d 2px 3px); box-shadow: var(--glow); }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding-block: 80px; }
.notfound h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: .9; text-transform: uppercase; }
.notfound p { margin: 0; color: var(--soft); }
.about .prose > p:first-child::first-letter { all: unset; }

/* =========================================================
   FOOTER (el título ahora cabe completo)
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 36px; overflow: hidden; }
.big { font-family: var(--f-display); font-size: clamp(52px, 13.2vw, 250px); line-height: 1.02; padding-top: .04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--neon); text-shadow: 0 0 30px color-mix(in srgb, var(--neon) 25%, transparent); margin: 0 0 clamp(36px, 4vw, 56px); white-space: nowrap; text-align: center; letter-spacing: .01em; }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .fcols { grid-template-columns: 1fr 1fr; } .fcols > div:first-child { grid-column: 1 / -1; } }
.fcols h4 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--neon); font-weight: 400; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fcols a { text-decoration: none; color: var(--soft); }
.fcols a:hover { color: var(--lime); }
.fabout { margin: 0; color: var(--soft); max-width: 36ch; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; color: var(--mute); }

/* =========================================================
   HEADER: link del identificador, botón de cuenta
   ========================================================= */
.nav-tool { display: inline-flex; align-items: center; gap: 7px; }
.nav-new { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; background: var(--neon); color: var(--ink); border-radius: 99px; padding: 2px 6px; font-weight: 600; }
.acct { position: relative; }
.btn-login { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--bone); font-family: var(--f-mono); font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-login:hover { border-color: var(--bone); }
.btn-login { display: inline-flex; align-items: center; gap: 8px; }
.btn-login svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 600px) {
  .btn-login { width: 40px; padding: 0; justify-content: center; }
  .btn-login span { display: none; }
}
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; cursor: pointer; background: var(--lime); color: var(--ink); font-family: var(--f-display); font-size: 19px; display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar:hover { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--lime); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px -12px #000; display: flex; flex-direction: column; }
.acct-who { display: flex; flex-direction: column; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; min-width: 0; }
.acct-who strong { font-size: 15px; }
.acct-who span { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu a, .acct-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--bone); text-decoration: none; font-size: 14px; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--panel-2); color: var(--lime); }
#acct-salir { color: var(--mute); }
.link-btn { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.drawer-note { margin: 0 0 14px; font-size: 13.5px; color: var(--soft); }
@media (max-width: 980px) { .nav-new { margin-left: 4px; } }
@media (max-width: 420px) { .bar-actions { gap: 6px; } .bar { gap: 10px; } }

/* =========================================================
   VENTANA DE LOGIN
   ========================================================= */
.modal-bg { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal { position: fixed; z-index: 96; left: 50%; top: 50%; width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; transform: translate(-50%, -46%); opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1);
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 32px clamp(20px, 5vw, 36px) 28px; overflow-x: hidden; isolation: isolate; }
.auth-open .modal-bg { opacity: 1; }
.auth-open .modal { opacity: 1; transform: translate(-50%, -50%); }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 2; }
.auth-disc { position: absolute; z-index: -1; bottom: -120px; right: -110px; width: 220px; aspect-ratio: 1; border-radius: 50%; opacity: .55; animation: spin 8s linear infinite;
  background: radial-gradient(circle, var(--panel) 0 3%, var(--lime) 3.5% 16%, #0b0b0b 16.5% 18%, transparent 18.5%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #1b1b1b 2px 3px); }
.modal h2 { margin: 8px 0 6px; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 7vw, 44px); line-height: 1; text-transform: uppercase; max-width: 12ch; }
.auth-sub { margin: 0 0 22px; color: var(--soft); font-size: 15px; max-width: 34ch; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: none; color: var(--mute); border-radius: 99px; padding: 9px; font-family: var(--f-mono); font-size: 13px; cursor: pointer; transition: .2s; }
.auth-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: 99px; background: #fff; color: #1f1f1f; text-decoration: none; font-weight: 600; font-size: 14.5px; transition: transform .15s; }
.btn-google:hover { transform: translateY(-1px); }
.btn-google svg { width: 18px; height: 18px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--mute); font-family: var(--f-mono); font-size: 11.5px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#auth-form { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span:first-child { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.fld input { width: 100%; min-width: 0; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--bone); font: inherit; font-size: 16px; transition: border-color .2s; }
.fld input:focus { outline: none; border-color: var(--neon); }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 78px; }
.pass-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--panel-2); color: var(--soft); border-radius: 8px; padding: 6px 10px; font-family: var(--f-mono); font-size: 11.5px; cursor: pointer; }
.auth-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: color-mix(in srgb, var(--danger) 14%, transparent); color: #ffb3aa; }
.auth-msg.ok { background: color-mix(in srgb, var(--neon) 14%, transparent); color: var(--lime); }
.auth-submit { justify-content: center; width: 100%; margin-top: 4px; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-forgot { align-self: center; font-size: 13px; color: var(--mute); }

/* =========================================================
   IDENTIFICADOR
   ========================================================= */
.id-hero { padding-block: clamp(40px, 6vw, 96px) clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--lime) 9%, transparent), transparent 70%); }
.id-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy box" "where where"; gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); align-items: end; }
.id-copy { grid-area: copy; }
.id-copy h1 { margin: 12px 0 16px; font-family: var(--f-display); font-weight: 400; font-size: clamp(52px, 7.5vw, 128px); line-height: .88; text-transform: uppercase; text-wrap: balance; }
.id-copy p { margin: 0; max-width: 46ch; color: var(--soft); font-size: clamp(16px, 1.25vw, 19px); }
.id-box { grid-area: box; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 30px 60px -30px #000; }
.id-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.id-types button { border: 1px solid var(--line); background: none; color: var(--soft); border-radius: 99px; padding: 7px 13px; font-family: var(--f-mono); font-size: 12px; cursor: pointer; }
.id-types button[aria-checked="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.id-field { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: stretch; }
.id-field input { min-width: 0; background: var(--ink); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--bone); font-family: var(--f-mono); font-size: clamp(16px, 1.4vw, 19px); letter-spacing: .03em; transition: border-color .2s, box-shadow .2s; }
.id-field input:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon) 15%, transparent); }
.id-field input::placeholder { color: #4a5040; }
.id-scan { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--ink); color: var(--bone); border-radius: 16px; padding: 0 16px; font-family: var(--f-mono); font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.id-scan:hover { border-color: var(--neon); color: var(--neon); }
.id-scan svg { width: 22px; height: 22px; }
.id-go { border-radius: 16px; padding: 0 22px; }
.id-hint { margin: 12px 2px 0; color: var(--mute); font-size: 12px; }
@media (max-width: 900px) {
  .id-hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "box" "where"; }
}
@media (max-width: 560px) {
  .id-field { grid-template-columns: minmax(0, 1fr) auto; }
  .id-field input { grid-column: 1 / -1; }
  .id-scan { justify-content: center; padding: 13px 16px; }
  .id-go { justify-content: center; padding: 13px 22px; }
  .id-scan { order: 2; } .id-go { order: 3; }
}

/* dónde está cada código */
.where { grid-area: where; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.where-card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--panel) 60%, transparent); min-width: 0; }
.where-card svg { flex: 0 0 96px; width: 96px; height: 72px; }
.where-card strong { display: block; font-size: 15px; margin-bottom: 3px; }
.where-card span { font-size: 13.5px; color: var(--soft); line-height: 1.45; }
.where-card em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--lime); }
.w-sleeve { fill: var(--panel-2); stroke: var(--line); }
.w-hi, .w-hi path, .w-hi rect { stroke: var(--neon); stroke-width: 1.6; fill: none; }
.w-hi-fill { fill: var(--neon); opacity: .9; }
.w-disc { fill: #0b0b0b; stroke: #222; }
.w-gap { fill: #151515; stroke: #262626; }
.w-label { fill: var(--lime); }
.w-txt { font-family: var(--f-mono); font-size: 6px; fill: var(--ink); }
.w-etch { stroke: var(--neon); stroke-width: 2; fill: none; stroke-dasharray: 2 2; }
.w-etch-t { fill: var(--neon); font-size: 9px; }
@media (max-width: 1100px) { .where { grid-template-columns: minmax(0, 1fr); } .where-card svg { flex-basis: 80px; width: 80px; height: 60px; } }

/* escáner */
.scan-bg { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .85); opacity: 0; transition: opacity .25s; }
.scan { position: fixed; z-index: 96; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); opacity: 0; transition: opacity .25s; pointer-events: none; }
.scan-open .scan-bg, .scan-open .scan { opacity: 1; pointer-events: auto; }
.scan-view { position: relative; width: min(520px, 100%); aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #000; }
.scan-view video, #scan-lib, #scan-lib video { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.scan-frame span { width: 72%; height: 38%; border: 2px solid var(--neon); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35), 0 0 24px color-mix(in srgb, var(--neon) 50%, transparent); position: relative; overflow: hidden; }
.scan-frame span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--neon); box-shadow: 0 0 12px var(--neon); animation: scanline 1.8s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 8%; } to { top: 92%; } }
.scan-msg { margin: 0; text-align: center; color: var(--bone); max-width: 36ch; }

/* resultados */
.id-out { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 110px); scroll-margin-top: 80px; min-height: 30vh; }
.id-loading { display: grid; justify-items: center; gap: 14px; padding-block: 60px; }
.id-empty { max-width: 56ch; padding-block: 40px; }
.id-empty h2 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: .95; text-transform: uppercase; }
.id-empty p { color: var(--soft); margin: 0; }
.id-section { margin-top: clamp(40px, 5vw, 72px); }
.id-section:first-child { margin-top: 0; }
.id-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; margin-bottom: 24px; }
.id-sec-head h2 { margin: 6px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4.5vw, 64px); line-height: .95; text-transform: uppercase; }
.id-sec-head p { margin: 0; max-width: 46ch; }
.small { font-size: 11.5px; }

/* recientes */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rec { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s, background .2s; }
.rec:hover { border-color: var(--mute); background: var(--panel); }
.rec .art, .ed .art { width: 100%; border-radius: 8px; }
.rec .art b, .ed .art b { font-size: 16px; }
.rec-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec-txt strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-txt > span { font-size: 12.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvl { font-style: normal; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; width: max-content; margin-top: 4px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--soft); }
.lvl-2.lvl, .lvl-3.lvl { border-color: var(--neon); color: var(--neon); }

/* lista de ediciones */
.ed-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ed { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; border-radius: 4px; }
.ed:hover { background: var(--panel); }
.ed:hover strong { color: var(--lime); }
.ed-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-main strong { font-size: 16px; line-height: 1.25; overflow-wrap: break-word; }
.ed-meta { font-size: 14px; color: var(--soft); overflow-wrap: break-word; }
.ed-meta b { color: var(--bone); }
.ed-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ed-tags i { font-style: normal; font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 99px; background: var(--panel-2); color: var(--soft); }
.ed-tags i.hot { background: color-mix(in srgb, var(--neon) 16%, transparent); color: var(--neon); }
.ed-have { text-align: right; font-size: 14px; color: var(--bone); line-height: 1.2; }
.ed-have small { color: var(--mute); font-size: 10.5px; }
code { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .ed { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .ed-have { display: none; }
  .ed-main strong { font-size: 15px; }
  .ed-meta { font-size: 13px; }
}

/* reporte */
.rep-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center; overflow-x: clip; padding-bottom: clamp(32px, 4vw, 56px); }
.rep-cover { position: relative; isolation: isolate; max-width: 460px; }
.rep-art { position: relative; z-index: 1; aspect-ratio: 1; box-shadow: 0 40px 80px -30px #000; background: var(--panel); }
.rep-art img, .rep-art .art { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.rep-cover .spin-disc { top: 4%; right: -12%; width: 92%; }
.rep-info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rep-info .crumb { margin-bottom: 4px; }
.rep-artist { font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; color: var(--lime); }
.rep-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6vw, 104px); line-height: .9; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.rep-line { margin: 6px 0 0; font-size: 16px; color: var(--bone); overflow-wrap: break-word; }
.rep-line code { font-size: 14px; color: var(--lime); }
.rep-format { margin: 0; color: var(--mute); font-size: 12.5px; overflow-wrap: break-word; }
.rep-alert { margin: 6px 0 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--danger) 14%, transparent); color: #ffcbc4; font-size: 14.5px; }
.rep-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
@media (max-width: 760px) {
  .rep-head { grid-template-columns: minmax(0, 1fr); }
  .rep-cover { max-width: 300px; margin-right: 14%; }
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.2vw, 28px); min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tile p { margin: 0; color: var(--soft); }
.tile-rare { grid-column: span 5; grid-row: span 2; }
.tile-price { grid-column: span 7; }
.tile-ed { grid-column: span 4; }
.tile-comm { grid-column: span 3; }
@media (max-width: 1000px) { .tile-rare, .tile-price { grid-column: span 12; grid-row: auto; } .tile-ed { grid-column: span 7; } .tile-comm { grid-column: span 5; } }
@media (max-width: 600px) { .tile-ed, .tile-comm { grid-column: span 12; } .bento { gap: 10px; } }

.rare-big { font-family: var(--f-display); font-size: clamp(56px, 6vw, 96px); line-height: .9; text-transform: uppercase; }
.lvl-2 .rare-big { color: var(--lime); }
.lvl-3 .rare-big { color: var(--neon); text-shadow: 0 0 28px color-mix(in srgb, var(--neon) 45%, transparent); }
.tile-rare.lvl-3 { border-color: color-mix(in srgb, var(--neon) 40%, var(--line)); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.meter span { height: 10px; border-radius: 99px; background: var(--panel-2); }
.meter span.on { background: var(--bone); }
.lvl-2 .meter span.on { background: var(--lime); }
.lvl-3 .meter span.on { background: var(--neon); box-shadow: 0 0 10px color-mix(in srgb, var(--neon) 60%, transparent); }
.meter-labels { display: flex; justify-content: space-between; color: var(--mute); font-size: 11px; margin-top: -4px; }
.why { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.why li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--soft); }
.why li span { font-size: 10px; padding-top: 4px; }
.why li.up span { color: var(--neon); }
.why li.down span { color: var(--mute); }

.cond { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cond li { display: grid; grid-template-columns: 46px minmax(0, 1.2fr) minmax(60px, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cond-code { font-family: var(--f-mono); font-weight: 600; font-size: 13px; color: var(--ink); background: var(--bone); border-radius: 8px; text-align: center; padding: 5px 0; }
.cond li:nth-child(-n+3) .cond-code { background: var(--lime); }
.cond-info { display: flex; flex-direction: column; min-width: 0; }
.cond-info strong { font-size: 14.5px; }
.cond-info small { font-size: 12.5px; color: var(--mute); }
.cond-bar { height: 8px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.cond-bar span { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.cond-val { font-family: var(--f-display); font-size: 24px; text-align: right; font-variant-numeric: tabular-nums; min-width: 5.5ch; }
@media (max-width: 600px) {
  .cond li { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .cond-bar { display: none; }
}
.price-solo { display: flex; flex-direction: column; gap: 4px; padding: 6px 0 10px; }
.price-solo b { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--lime); }
.price-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.price-foot b { color: var(--neon); }
.price-links { display: flex; gap: 16px; }
.price-links a { color: var(--lime); text-decoration: none; font-family: var(--f-mono); font-size: 12.5px; }
.price-links a:hover { text-decoration: underline; }

.ed-big { font-family: var(--f-display); font-size: clamp(38px, 3.8vw, 58px); line-height: .95; text-transform: uppercase; }
.ed-big.first { color: var(--lime); }
.comm { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comm b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; color: var(--neon); font-variant-numeric: tabular-nums; }
.comm span { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }

/* verifica tu copia */
.check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.check-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .2s, background .2s; height: 100%; }
.check-row:hover { border-color: var(--mute); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--mute); display: grid; place-items: center; transition: .2s; }
.check-row input:checked + .check-box { background: var(--neon); border-color: var(--neon); }
.check-row input:checked + .check-box::after { content: "✓"; color: var(--ink); font-weight: 800; font-size: 15px; }
.check-row input:focus-visible + .check-box { outline: 2px solid var(--neon); outline-offset: 3px; }
.check-row:has(input:checked) { border-color: color-mix(in srgb, var(--neon) 50%, var(--line)); background: color-mix(in srgb, var(--neon) 5%, transparent); }
.check-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.check-type { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.check-type em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--soft); }
.check-val { font-family: var(--f-mono); font-size: clamp(15px, 1.3vw, 18px); color: var(--bone); background: var(--ink); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.check-where { font-size: 13.5px; color: var(--soft); }
.check-done { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--neon) 14%, transparent); color: var(--neon); font-weight: 600; }

/* tabla de ediciones */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th { text-align: left; font-family: var(--f-mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr[data-ir] { cursor: pointer; }
.tbl tbody tr[data-ir]:hover td { background: var(--panel); color: var(--lime); }
.tbl tr.cur td { background: color-mix(in srgb, var(--neon) 8%, transparent); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl code { color: var(--lime); font-size: 12.5px; }
.rare-note { margin-top: auto !important; padding-top: 14px; font-size: 11px; color: var(--mute) !important; line-height: 1.6; }
/* celular: la tabla de ediciones se vuelve una lista de tarjetas */
@media (max-width: 600px) {
  .tbl-wrap { border: 0; border-radius: 0; overflow: visible; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { display: none; }
  .tbl tbody { display: flex; flex-direction: column; gap: 8px; }
  .tbl tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
  .tbl td { padding: 0; border: 0; background: none !important; }
  .tbl td:nth-child(1) { font-weight: 700; }
  .tbl td:nth-child(2) { grid-column: 2; }
  .tbl td:nth-child(3) { grid-column: 1 / 3; grid-row: 2; color: var(--soft); }
  .tbl td:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .tbl td:nth-child(5) { grid-column: 1 / -1; grid-row: 4; font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); padding-top: 4px; }
  .tbl td:nth-child(6) { grid-column: 3; grid-row: 1; }
  .tbl tr.cur { border-color: color-mix(in srgb, var(--neon) 50%, var(--line)); background: color-mix(in srgb, var(--neon) 6%, transparent); }
  .tbl tbody tr[data-ir]:hover { border-color: var(--mute); }
}
/* celular: cuando ya hay resultados, el hero se hace chiquito */
@media (max-width: 700px) {
  .id-con-resultado .where, .id-con-resultado .id-copy p, .id-con-resultado .id-hint { display: none; }
  .id-con-resultado .id-hero { padding-block: 24px; }
  .id-con-resultado .id-copy h1 { font-size: 40px; margin-bottom: 0; }
}

/* =========================================================
   ANIMACIONES (las activa layout.js; sin JS todo se ve normal)
   ========================================================= */
.anim [data-anim="sube"] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.anim [data-anim="sube"].in { opacity: 1; transform: none; }
.anim [data-anim="titulo"] { clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); }
.anim [data-anim="titulo"].in { clip-path: inset(-10% -5% -20% -5%); transform: none; }
/* las cápsulas en escritorio ya tienen su animación de abrirse: ahí solo aparecen */
@media (min-width: 701px) {
  .anim #caps .cap[data-anim] { transform: translateX(calc(var(--s) * (var(--w) + var(--gap)) * -1)) scale(.92); opacity: 1; }
  .anim #caps.open .cap[data-anim] { transform: none; }
}
/* entrada del hero al cargar */
.hero h1 { animation: heroIn 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero-col { animation: fadeUp .9s .25s cubic-bezier(.16, 1, .3, 1) both; }
.hero-col.right { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.98); letter-spacing: .04em; } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cap { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- home: invitación al identificador ---------- */
.id-cta { padding-block: 0 clamp(64px, 9vw, 130px); }
.id-cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: clamp(28px, 5vw, 72px); border-radius: clamp(28px, 4vw, 60px); background: var(--lime); color: #0a0b08; text-decoration: none; overflow: hidden; position: relative; isolation: isolate; }
.id-cta-txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.id-cta .eyebrow { color: #0a0b08; opacity: .7; }
.id-cta h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6vw, 104px); line-height: .9; text-transform: uppercase; text-wrap: balance; }
.id-cta p { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); }
.id-cta .btn-primary { background: #0a0b08; color: var(--lime); }
.id-cta-in:hover .btn-primary { box-shadow: none; transform: translateX(4px); }
.id-cta-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.cta-disc { position: absolute; inset: 0; border-radius: 50%; animation: spin 7s linear infinite;
  background: radial-gradient(circle, var(--lime) 0 2.5%, #0a0b08 3% 15%, var(--neon) 15.3% 16%, #0a0b08 16.3% 17%, transparent 17.3%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #1d1d1d 2px 3px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.cta-tag { position: absolute; left: -6%; top: 14%; background: #0a0b08; color: var(--bone); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); }
.cta-tag b { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--neon); text-transform: uppercase; }
.cta-tag span { font-family: var(--f-mono); font-size: 11.5px; color: var(--soft); }
.cta-tag-2 { left: auto; top: auto; right: -4%; bottom: 12%; }
@media (max-width: 760px) {
  .id-cta-in { grid-template-columns: minmax(0, 1fr); }
  .id-cta-art { max-width: 280px; }
}

/* wishlist: invitación a crear cuenta */
.wl-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding: 16px 16px 16px 22px; border: 1px solid color-mix(in srgb, var(--neon) 40%, var(--line)); border-radius: 20px; background: color-mix(in srgb, var(--neon) 6%, transparent); }
.wl-login span { color: var(--soft); max-width: 60ch; }
.wl-login strong { color: var(--bone); }

/* =========================================================
   BUSCADOR v2
   Compu: 21 discos (3 filas de 7) · Tablet: 3 columnas · Celular: lista de 6
   ========================================================= */
.more-results { display: flex; justify-content: center; margin-top: 28px; }
@media (min-width: 1280px) { #results { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 601px) and (max-width: 1279px) { #results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 600px) {
  /* encabezado más corto: el buscador queda arriba, a la vista */
  #buscador { padding-block: 48px 56px; }
  #buscador .head { margin-bottom: 18px; gap: 8px; }
  #buscador .head h2 { font-size: 48px; }
  #buscador .head p { font-size: 14.5px; }

  .searchbox { padding: 14px; border-radius: 22px; }
  .field { gap: 10px; padding-bottom: 8px; }
  .field svg { width: 22px; height: 22px; }
  .field input { font-size: 28px; }

  /* filtros: los géneros en una fila que se desliza, país y orden lado a lado */
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .filters .chips { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .filters .chip { flex: 0 0 auto; padding: 8px 14px; }
  .filters select { width: 100%; min-width: 0; padding: 9px 8px; font-size: 11.5px; text-overflow: ellipsis; }
  .status { margin: 14px 0 6px; font-size: 11.5px; }
  .status span:last-child { display: none; }

  /* resultados: lista de una columna */
  #results { display: flex; flex-direction: column; gap: 0; }
  #results .rel { border-bottom: 1px solid var(--line); }
  #results .rel:last-child { border-bottom: 0; }
  #results .rel > a { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 12px 52px 12px 0; }
  #results .art { grid-row: 1 / 3; width: 72px; border-radius: 6px; }
  #results .art b { font-size: 16px; }
  #results .rel strong { align-self: end; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  #results .rel span { align-self: start; font-size: 11.5px; line-height: 1.45; }
  #results .save { top: 50%; right: 0; transform: translateY(-50%); opacity: 1; background: var(--panel-2); width: 40px; height: 40px; }
  #results .save[aria-pressed="true"] { background: var(--neon); }
  #results .empty { padding: 28px 0; }
  .more-results { margin-top: 14px; }
  .more-results .pill { width: 100%; justify-content: center; }
}

/* ---------- identificador v2: idioma, formatos, verificación compacta ---------- */
.id-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; z-index: 5; }
/* el switch siempre por encima: el título gigante (Anton) sobresale de su caja y lo tapaba en compu */
.lang-switch { position: relative; z-index: 6; }
.lang-switch button { position: relative; z-index: 1; }
.id-copy h1 { position: relative; z-index: 1; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--panel); }
.lang-switch button { border: 0; background: none; color: var(--mute); font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.id-formatos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0 !important; font-size: 13px !important; }
.id-formatos span { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-right: 4px; }
.id-formatos i { font-style: normal; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--bone); font-size: 13px; }
.id-formatos i:last-child { border-style: dashed; color: var(--soft); }
.fmt { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 5px; background: var(--bone); color: var(--ink); vertical-align: 1px; }
.rep-line .fmt { font-size: 11px; margin-right: 4px; }
/* máximo 3 casillas, lado a lado en compu */
.check-1 { grid-template-columns: minmax(0, 560px); }
.check-row-plain { cursor: default; grid-template-columns: minmax(0, 1fr); }
.more-codes { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.more-codes summary { cursor: pointer; padding: 12px 0; font-family: var(--f-mono); font-size: 13px; color: var(--lime); list-style: none; }
.more-codes summary::-webkit-details-marker { display: none; }
.more-codes summary::before { content: "+ "; }
.more-codes[open] summary::before { content: "− "; }
.small-note { font-size: 13px; margin: 0 0 10px; }
.codes-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 0; }
.codes-list li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; }
.codes-list code { font-family: var(--f-mono); font-size: 13px; color: var(--bone); overflow-wrap: anywhere; }
@media (max-width: 600px) { .codes-list li { grid-template-columns: minmax(0, 1fr); } }

/* ventana de login: para qué es la cuenta */
.auth-why { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--ink); border: 1px dashed var(--line); }
.auth-why strong { display: block; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin-bottom: 6px; font-weight: 400; }
.auth-why p { margin: 0; font-size: 13.5px; color: var(--soft); line-height: 1.5; }
