/* ============================================================
   Relesit v5-pro "fluor" — design system
   Gris cálido + verde fluor #25f464 · Hanken Grotesk
   ============================================================ */

:root {
  /* Superficies */
  --bg: #181818;
  --bg-elev: #1f1f1f;
  --bg-card: #242424;
  --bg-card-hover: #2b2b2b;
  --line: #353535;
  --line2: #474747;

  /* Texto */
  --tx: #ffffff;
  --dim: #bcbcbc;
  --faint: #7c7c7c;

  /* Acento fluor */
  --green: #25f464;
  --green-dim: #18c64f;
  --green-ink: #0b1f12;
  --acc-soft: rgba(37, 244, 100, .12);
  --acc-border: rgba(37, 244, 100, .30);
  --acc-ring: rgba(37, 244, 100, .14);

  /* Violeta (solo tier muy difícil) */
  --violet: #8a4dff;
  --violet-text: #b491ff;
  --violet-soft: rgba(138, 77, 255, .14);
  --violet-border: rgba(138, 77, 255, .34);

  /* Semántico */
  --red: #ff6b6b;
  --red-soft: rgba(255, 107, 107, .12);
  --red-border: rgba(255, 107, 107, .32);

  /* Tipografía */
  --disp: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: var(--disp);
  --mono: var(--disp);

  /* Sistema */
  --r-card: 16px;
  --r-sm: 10px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow: 0 18px 38px -20px rgba(0, 0, 0, .7);
  --shadow-soft: 0 8px 24px -12px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --maxw: 1140px;
  --gutter: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .disp { font-family: var(--disp); }
::selection { background: rgba(37, 244, 100, .26); }

.wrap, .view-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hidden { display: none !important; }
.muted { color: var(--dim); }
.error { color: var(--red); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }

/* onda mark (logo) */
.onda-mark { display: block; width: 26px; height: 16px; flex-shrink: 0; }
.onda-mark path { stroke: var(--green); stroke-width: 2; fill: none; stroke-linecap: round; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(24, 24, 24, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.hd { display: flex; align-items: center; gap: 30px; padding: 16px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.wm { display: flex; align-items: center; gap: 11px; color: var(--tx); }
.wm-logo { display: block; height: 24px; width: auto; }
.wm-logo-sm { display: block; height: 17px; width: auto; }
nav { display: flex; gap: 4px; margin-left: auto; }
nav a { font-family: var(--disp); font-weight: 500; font-size: 13.5px; color: var(--dim); padding: 8px 14px; border-radius: var(--r-pill); transition: color .15s var(--ease), background .15s var(--ease); white-space: nowrap; }
nav a.active, nav a:hover { color: var(--tx); background: var(--bg-card-hover); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--disp); font-weight: 600; border: none; cursor: pointer;
  border-radius: var(--r-pill); letter-spacing: .01em; white-space: nowrap;
  padding: 11px 22px; font-size: 13.5px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: var(--green-dim); transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(37, 244, 100, .45); }
.btn-ghost { background: transparent; color: var(--tx); border: 1px solid var(--line2); }
.btn-ghost:hover { border-color: var(--faint); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px var(--gutter) 52px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -160px 0 auto 0; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(560px 280px at 50% 4%, rgba(37, 244, 100, .1), transparent 66%); }
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.pill-top { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--dim); background: var(--bg-card); border: 1px solid var(--line); padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 26px; }
.pill-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(37, 244, 100, .2); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.03; font-weight: 700; letter-spacing: -.025em; max-width: 15ch; margin: 0 auto; }
.hero h1 .hl { color: var(--green); }
.lede { color: var(--dim); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; max-width: 580px; margin: 22px auto 0; }

/* search */
.search { margin: 34px auto 0; max-width: 660px; display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 8px 10px 8px 22px; transition: border-color .2s var(--ease), box-shadow .25s var(--ease); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--acc-ring); }
.search svg.s { flex-shrink: 0; color: var(--faint); }
.search input { flex: 1; background: transparent; border: none; outline: none; color: var(--tx); font-family: var(--body); font-size: 15px; padding: 12px 0; }
.search input::placeholder { color: var(--faint); }
.search .ia { flex-shrink: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--green); background: var(--acc-soft); border: 1px solid var(--acc-border); padding: 6px 12px; border-radius: var(--r-pill); }
.search .go { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--green-ink); border: none; cursor: pointer; display: grid; place-items: center; transition: background .15s var(--ease); }
.search .go:hover { background: var(--green-dim); }
.tags { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 18px; }
.tags button { font-family: var(--mono); font-size: 12px; color: var(--dim); background: transparent; border: 1px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); cursor: pointer; transition: all .15s var(--ease); }
.tags button:hover { border-color: var(--green); color: var(--tx); }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- Secciones ---------- */
.sec { padding: 84px 0 0; scroll-margin-top: 80px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-h h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.sec-h p { color: var(--dim); font-size: 14px; margin-top: 7px; max-width: 560px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.step:hover { border-color: var(--line2); transform: translateY(-2px); }
.step .n { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--green); letter-spacing: .1em; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--dim); font-size: 13.5px; line-height: 1.6; }

/* filtros */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters select { font-family: var(--mono); font-size: 12.5px; background: var(--bg-card); color: var(--tx); border: 1px solid var(--line2); padding: 11px 16px; border-radius: var(--r-pill); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%237c7c7c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; transition: border-color .2s var(--ease); }
.filters select:hover, .filters select:focus { border-color: var(--green); outline: none; }
.f-toggle { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; color: var(--tx); background: var(--bg-card); border: 1px solid var(--line2); padding: 0 16px; border-radius: var(--r-pill); cursor: pointer; transition: border-color .2s var(--ease); user-select: none; }
.f-toggle:hover { border-color: var(--green); }
.f-toggle input { accent-color: var(--green); cursor: pointer; margin: 0; }
.f-toggle:has(input:checked) { border-color: var(--green); color: var(--green); }
.library-count { color: var(--faint); font-family: var(--mono); font-size: 12.5px; margin-bottom: 16px; min-height: 1.2em; }

/* ---------- Catálogo: cards ---------- */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-card);
  cursor: pointer; overflow: hidden; color: var(--tx);
  opacity: 0; transform: translateY(16px);
  transition: transform .24s var(--ease), border-color .22s var(--ease), background .22s var(--ease), box-shadow .26s var(--ease);
}
.card.in { animation: cardIn .55s var(--ease) forwards; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-5px); border-color: var(--line2); background: var(--bg-card-hover); box-shadow: var(--shadow); }
.card .accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.card:hover .accent { transform: scaleX(1); }
.card .pad { padding: 20px 22px 0; flex: 1; }
.card .ch { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .rank { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .01em; }
.card .nme { font-family: var(--disp); font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.18; margin-top: 8px; }
.card .submeta { display: flex; align-items: center; gap: 9px; margin-top: 9px; font-size: 11.5px; color: var(--faint); letter-spacing: .01em; }
.card .submeta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line2); flex-shrink: 0; }
.card .submeta .g { color: var(--dim); }
.card .res { color: var(--dim); font-size: 13px; line-height: 1.55; margin-top: 14px; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .dna { margin-top: 16px; }
.card .dna .bar { height: 5px; border-radius: 3px; overflow: hidden; display: flex; background: var(--line); }
.card .dna .bar .a { background: var(--green); }
.card .dna .bar .b { background: #6a6a6a; }
.card .dna .lbls { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .01em; gap: 8px; }
.card .stats3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--line); }
.card .stats3 > div { padding: 14px 0 4px; }
.card .stats3 > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.card .stats3 .v { font-family: var(--disp); font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--tx); }
.card .stats3 .k { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 3px; }
.card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 14px 22px; border-top: 1px solid var(--line); }
.card .demo { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; letter-spacing: .01em; white-space: nowrap; }
.card .demo:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(37, 244, 100, .16); }
.card .demo.no { color: var(--faint); }
.card .demo.no:before { background: var(--faint); box-shadow: none; }
.card .vf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); letter-spacing: .01em; white-space: nowrap; transition: color .15s var(--ease); }
.card:hover .vf { color: var(--green); }
.card .vf svg { transition: transform .2s var(--ease); }
.card:hover .vf svg { transform: translateX(3px); }

/* ---------- Tier badges ---------- */
.tier { font-family: var(--mono); font-size: 10px; padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tier.top { background: var(--violet-soft); color: var(--violet-text); border: 1px solid var(--violet-border); }
.tier.mid { background: var(--bg-card-hover); color: var(--dim); border: 1px solid var(--line2); }
.tier.low { background: var(--acc-soft); color: var(--green); border: 1px solid var(--acc-border); }
.tier.lg { font-size: 12px; padding: 7px 14px; }

/* ---------- Final CTA ---------- */
.final { margin: 90px 0 0; text-align: center; padding: 60px 32px; border-radius: var(--r-lg); border: 1px solid var(--line2); position: relative; overflow: hidden; background: var(--bg-elev); }
.final h2 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.final p { color: var(--dim); font-size: 15px; margin: 12px auto 26px; max-width: 480px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 28px var(--gutter); }
.ft { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.ft .wm2 { display: flex; align-items: center; gap: 9px; color: var(--dim); text-transform: uppercase; font-weight: 700; }
.ft .sp { margin-left: auto; }

/* ============================================================
   Ficha de sello + envíos (restyled con tokens fluor)
   ============================================================ */
.view-pad { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 0; }

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; font-family: var(--mono); margin-bottom: 22px; transition: color .15s var(--ease); }
.back:hover { color: var(--green); }

.sello-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 12px; }
.sello-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.ficha-namerow { display: flex; align-items: center; gap: 14px; }
.ficha-namerow .fav-btn { width: 38px; height: 38px; font-size: 18px; }
.cat-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--green); margin-top: 8px; }
.sello-duenos { color: var(--dim); font-size: 14px; margin-top: 8px; }
.sello-duenos strong { color: var(--tx); font-weight: 600; }
.sello-resumen { color: var(--dim); max-width: 700px; font-size: 16px; line-height: 1.55; margin-top: 10px; }

.sello-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.sello-links a { font-size: 13px; font-weight: 500; color: var(--tx); background: var(--bg-card); border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--r-pill); transition: border-color .15s var(--ease), background .15s var(--ease); }
.sello-links a:hover { border-color: var(--green); background: var(--acc-soft); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 34px; }
.stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; }
.stat-value { font-family: var(--disp); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.stat-label { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 3px; }

.sello-section { margin-bottom: 34px; }
.sello-section h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }

.kv { border-collapse: collapse; width: 100%; max-width: 680px; }
.kv td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.kv td:first-child { color: var(--faint); white-space: nowrap; width: 170px; font-family: var(--mono); font-size: 12px; }
.kv a { color: var(--green); }
.off-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.off-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--tx); text-decoration: none; background: var(--bg-card); transition: border-color .15s var(--ease), transform .12s var(--ease); }
.off-link:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.verif-date { color: var(--green); font-family: var(--mono); font-size: 12px; margin-top: 12px; }

/* Cierre del bucle: "¿ya se la has enviado?" pegado al canal de envío */
.pe-cierre { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); border-radius: var(--r-md); }
.pe-cierre .pe-q { font-size: 13.5px; color: var(--faint); }
.pe-cierre.armado .pe-q { color: var(--tx); font-weight: 600; }
.pe-enviada { color: var(--green); font-family: var(--mono); font-size: 13px; }
.pe-desmarcar { background: transparent; border: 0; color: var(--faint); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 4px 2px; }
.pe-desmarcar:hover { color: var(--dim); }
.pe-cierre.pe-flash { box-shadow: 0 0 0 3px var(--acc-ring); background: var(--acc-soft); padding: 14px 12px; }
.fav-nudge { display: flex; align-items: center; gap: 12px; margin: 12px 0 16px; padding: 12px 16px; border: 1px solid rgba(37,244,100,.3); background: rgba(37,244,100,.06); border-radius: 12px; }
.fav-nudge .fn-heart { color: var(--green); display: inline-flex; flex-shrink: 0; }
.fav-nudge .fn-heart svg { width: 20px; height: 20px; }
.fav-nudge .fn-txt { font-size: 13.5px; color: var(--dim); line-height: 1.5; }
.fav-nudge .fn-txt b { color: var(--tx); }
.fav-nudge .fn-x { margin-left: auto; background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 14px; padding: 4px; flex-shrink: 0; }
.fav-nudge .fn-x:hover { color: var(--tx); }
.search-empty { grid-column: 1 / -1; text-align: center; padding: 44px 20px; border: 1px dashed var(--line2); border-radius: 16px; }
.search-empty .se-t { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.search-empty .muted { max-width: 480px; margin: 0 auto 16px; }
.fav-open-now { border: 1px solid rgba(37,244,100,.3); background: rgba(37,244,100,.06); border-radius: 14px; padding: 16px 18px; margin-bottom: 24px; }
.fav-open-now .fon-h { font-weight: 700; font-size: 14.5px; margin: 0 0 10px; color: var(--tx); }
.fav-open-now .fon-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fav-open-now .fon-item { display: inline-block; padding: 7px 13px; border: 1px solid rgba(37,244,100,.35); border-radius: 999px; font-size: 13px; color: var(--green); text-decoration: none; }
.fav-open-now .fon-item:hover { background: rgba(37,244,100,.12); }
.fav-nudge.verif { border-color: rgba(255,180,60,.35); background: rgba(255,180,60,.07); }
.fav-nudge.verif .fn-heart { color: #ffb43c; font-size: 17px; }
.fav-nudge .fn-send { flex-shrink: 0; border: 1px solid var(--line2); }
.footer-link { background: none; border: 0; padding: 0; color: var(--green); font-size: inherit; font-family: inherit; cursor: pointer; }
.footer-link:hover { text-decoration: underline; }
#sol-form input, #sol-form textarea { width: 100%; box-sizing: border-box; margin-bottom: 9px; }
.fuente { color: var(--dim) !important; }
.mento-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 4px; padding: 15px 18px; border: 1px solid var(--acc-border); border-radius: 14px; background: var(--acc-soft); text-decoration: none; transition: border-color .15s var(--ease), transform .12s var(--ease); }
.mento-cta:hover { border-color: var(--green); transform: translateY(-1px); }
.mento-cta .mc-txt { display: flex; flex-direction: column; gap: 3px; }
.mento-cta .mc-txt strong { color: var(--tx); font-size: 14.5px; }
.mento-cta .mc-txt span { color: var(--dim); font-size: 13px; line-height: 1.45; }
.mento-cta .mc-txt b { color: var(--green); }
.mento-cta .mc-go { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; font-size: 14px; white-space: nowrap; }

.report-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; background: transparent; border: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: var(--r-pill); cursor: pointer; transition: color .15s var(--ease), border-color .15s var(--ease); }
.report-link:hover { color: var(--green); border-color: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px; font-size: 13px; }

.releases { list-style: none; }
.releases li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.releases a { color: var(--tx); font-weight: 500; }
.releases a:hover { color: var(--green); }

.tips { background: var(--acc-soft); border: 1px solid var(--acc-border); border-radius: var(--r-card); padding: 18px 22px; font-size: 14px; }
.tips p { margin-bottom: 8px; } .tips p:last-child { margin-bottom: 0; }

.dna-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 26px; font-size: 14px; }
.dna-card p, .dna-card ul { margin-bottom: 10px; color: var(--dim); }
.dna-card ul { padding-left: 20px; } .dna-card li { margin-bottom: 5px; }
.dna-card .dna-h { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; color: var(--green); }
.dna-card .dna-h:first-child { margin-top: 0; }
.dna-card .dna-verde { color: var(--green); } .dna-card .dna-rojo { color: var(--red); }
.dna-card code { background: var(--bg); padding: 1px 6px; border-radius: 5px; font-size: .85em; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mini-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.mini-card:hover { border-color: var(--green); transform: translateY(-2px); }
.mini-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; align-items: center; }
.mini-top strong { font-size: 14px; font-weight: 600; }
.mini-card p { font-size: 12.5px; color: var(--dim); }

.sello-actions { margin: 30px 0 10px; }

/* Submissions */
.subs { border-collapse: collapse; width: 100%; margin-top: 8px; }
.subs th, .subs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.subs th { color: var(--faint); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }

/* ---------- Reveal + reduced motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .btn, .step, .mini-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .sello-header { flex-direction: column; }
  .sec-h { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cuenta (header) ---------- */
.account { display: flex; align-items: center; gap: 10px; }
.account .btn-entrar { font-family: var(--disp); font-weight: 600; font-size: 13.5px; color: var(--tx); padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; background: transparent; transition: border-color .15s; }
.account .btn-entrar:hover { border-color: var(--green); }
.account .user-chip { font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.account .user-chip b { color: var(--tx); font-weight: 600; }
.account .logout { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 12px; text-decoration: underline; }

/* ---------- Modal auth ---------- */
.fb-btn { position: fixed; right: 18px; bottom: 18px; z-index: 90; background: var(--green); color: #111; border: none; border-radius: 999px; padding: 11px 18px; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 22px rgba(0,0,0,.4); transition: filter .15s, transform .12s; }
.fb-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.fb-text { width: 100%; background: #181818; color: var(--tx); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; font-family: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.fb-text:focus { outline: none; border-color: var(--green); }
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-bg[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 380px; background: #1d1d1d; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--dim); font-size: 18px; cursor: pointer; }
.modal-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.mtab { flex: 1; padding: 9px; border: 1px solid var(--line); background: transparent; color: var(--dim); border-radius: 10px; font-family: var(--disp); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.mtab.active { color: #111; background: var(--green); border-color: var(--green); }
#auth-intro { font-size: 13px; margin: 0 0 14px; }
#auth-form { display: flex; flex-direction: column; gap: 11px; }
#auth-form input, #sol-form input { background: #141414; color: var(--tx); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-family: inherit; font-size: 14px; }
#auth-form input:focus, #sol-form input:focus { outline: none; border-color: var(--green); }
.auth-error { background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: #ff8c8c; font-size: 13px; padding: 9px 12px; border-radius: 9px; }
.auth-msg { background: rgba(37,244,100,.1); border: 1px solid rgba(37,244,100,.35); color: #25f464; font-size: 13px; padding: 9px 12px; border-radius: 9px; }
#auth-submit { margin-top: 4px; }
.auth-link { display: block; width: 100%; text-align: center; margin-top: 12px; background: none; border: none; color: var(--dim); font-size: 13px; cursor: pointer; text-decoration: underline; }
.auth-link:hover { color: var(--tx); }

/* ---------- Card bloqueada (free / paywall) ---------- */
.card.locked { position: relative; cursor: pointer; }
.card.locked .pad { filter: blur(5px); opacity: .55; pointer-events: none; }
.lock-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px; background: radial-gradient(ellipse at center, rgba(24,24,24,.66), rgba(24,24,24,.9)); border-radius: inherit; }
.lock-ov .lk { font-size: 22px; }
.lock-ov .lt { font-family: var(--disp); font-weight: 700; font-size: 14px; color: var(--tx); }
.lock-ov .ls { font-size: 12px; color: var(--dim); }
.search-note { font-size: 13px; color: var(--dim); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-note .up { color: var(--green); cursor: pointer; text-decoration: underline; background: none; border: none; font-size: 13px; }
.contact-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.contact-lock .lk { font-size: 26px; }
.contact-lock .lt { font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--tx); }
.contact-lock .ls { font-size: 13.5px; color: var(--dim); max-width: 440px; }
.contact-lock .btn { margin-top: 6px; }

/* Botón favorito (corazón) en cards — en la fila del nombre, alineado con él */
.card { position: relative; }
.card .namerow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.card .namerow .nme { margin-top: 0; }
.fav-btn { position: relative; flex-shrink: 0; z-index: 4; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(20,20,20,.72); color: #d6d6d6; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .15s, border-color .15s, transform .12s; }
.fav-btn:hover { color: #ff6b8a; border-color: #ff6b8a; transform: scale(1.12); }
.fav-btn.on { color: #ff4d6d; border-color: #ff4d6d; }
.fav-btn svg { width: 58%; height: 58%; display: block; }
/* tooltip "Guardar"/"Guardado" para que el corazón se lea como acción */
.fav-btn::after { content: "Guardar"; position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); background: #111; color: var(--tx); border: 1px solid var(--line2); font-size: 11px; font-weight: 600; letter-spacing: .01em; padding: 3px 8px; border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .14s; z-index: 7; }
.fav-btn:hover::after { opacity: 1; }
.fav-btn.on::after { content: "Guardado"; }
/* Estado vacío de "Mis sellos" */
.fav-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line2); border-radius: 16px; background: rgba(255,255,255,.02); max-width: 460px; margin: 8px auto; }
.fav-empty .h { font-size: 34px; color: #ff4d6d; line-height: 1; }
.fav-empty p { margin: 12px 0; }
.fav-empty .t { font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--tx); }

/* Mini-CRM "Mis sellos" */
.crm-group { margin-bottom: 26px; }
.crm-group h3 { font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--tx); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.crm-group h3 .n { color: var(--dim); font-weight: 500; font-size: 13px; }
.crm-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.crm-row .nm { font-family: var(--disp); font-weight: 600; font-size: 15px; color: var(--tx); flex: 1; text-decoration: none; }
.crm-row .nm:hover { color: var(--green); }
.crm-row .bpm { font-size: 12.5px; color: var(--dim); }
.crm-check { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dim); cursor: pointer; white-space: nowrap; }
.crm-check input { accent-color: var(--green); width: 16px; height: 16px; }
.crm-check.done { color: var(--green); }
.crm-remove { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 17px; line-height: 1; }
.crm-remove:hover { color: #ff4d6d; }
