/* ===== PumpExplorer — estilo pump.fun (Inter, #14151C, menta #86EFAC) ===== */
:root {
  --bg: #14151c;
  --surface: #1b1d26;
  --surface-2: #21232e;
  --border: rgba(248, 250, 252, 0.1);
  --text: #fafafa;
  --text-2: #e4e4e7;
  --muted: #9ca3af;
  --mint: #86efac;
  --mint-dark: #052e16;
  --up: #87ef9b;
  --down: #f87171;
  --radius: 16px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

/* ===================== LANDING ===================== */
body.en-landing { overflow-x: hidden; }
#landing { position: relative; min-height: 100vh; }
#constelacion {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: auto;
  /* se difumina solo al final, para que la constelación se vea bien arriba */
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 98%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 98%);
}
#landing > *:not(#constelacion) { position: relative; z-index: 2; }

.ld-nav {
  display: flex; align-items: center; gap: 26px;
  max-width: 1180px; margin: 0 auto; padding: 22px 28px;
}
.ld-links { display: flex; gap: 24px; margin-left: 14px; flex: 1; }
.ld-links a { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.ld-links a:hover { color: var(--text); }
.ld-nav-btns { display: flex; gap: 9px; }

.ld-hero {
  max-width: 800px; margin: 0 auto; padding: 190px 28px 90px;
  text-align: center; pointer-events: none;
}
.ld-hero > * { pointer-events: auto; }
.ld-pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(27, 29, 38, 0.75); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  font-size: 0.79rem; color: var(--muted); margin-bottom: 26px;
}
.ld-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px;
  /* halo suave del color del fondo: separa el texto sin romper el degradado */
  filter: drop-shadow(0 0 12px var(--bg));
}
.ld-sub, .ld-nota { text-shadow: 0 0 14px var(--bg), 0 0 7px var(--bg); }
.ld-grad {
  background: linear-gradient(100deg, var(--mint) 10%, #5eead4 50%, #7c6cff 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ld-sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 620px; margin: 0 auto 32px;
}
.ld-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ld-nota { color: var(--muted); font-size: 0.78rem; margin-top: 14px; }
.ld-stats {
  display: flex; justify-content: center; gap: 46px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border);
}
.ld-stats div { display: flex; flex-direction: column; }
.ld-stats strong { font-size: 1.4rem; font-weight: 800; color: var(--mint); }
.ld-stats span { color: var(--muted); font-size: 0.76rem; }

.ld-seccion {
  max-width: 1080px; margin: 0 auto; padding: 80px 28px;
  background: linear-gradient(var(--bg) 12%, rgba(20,21,28,.92) 50%, var(--bg) 88%);
  border-radius: 30px;
}
.ld-eyebrow {
  display: block; text-align: center; color: var(--mint);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.ld-seccion h2 {
  text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 40px;
}
.ld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.ld-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.ld-card:hover { transform: translateY(-4px); border-color: rgba(134, 239, 172, 0.4); }
.ld-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 15px;
  background: rgba(134, 239, 172, 0.1); border: 1px solid rgba(134, 239, 172, 0.22);
}
.ld-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.ld-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.ld-score-box {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 40px;
}
.ld-score-box h2 { margin-bottom: 16px; }
.ld-score-box p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 10px; }
.ld-score-box p b { color: var(--text); }
.ld-score-box > div:last-child { flex: 1; min-width: 280px; }
.ld-score-num {
  width: 140px; height: 140px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--mint);
  border: 3px solid var(--mint); background: rgba(134, 239, 172, 0.07);
  box-shadow: 0 0 40px rgba(134, 239, 172, 0.16);
}
.ld-planes { max-width: 940px; margin: 0 auto; }

.ld-footer {
  max-width: 1080px; margin: 0 auto; padding: 40px 28px 60px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.82rem;
}

@media (max-width: 720px) {
  .ld-links { display: none; }
  .ld-hero { padding: 130px 20px 60px; }
  .ld-stats { gap: 26px; }
  .ld-seccion { padding: 56px 20px; }
  .ld-score-box { padding: 26px; gap: 24px; }
}

/* ===== layout app ===== */
.app {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 300px;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== sidebar ===== */
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
}
.logo { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; padding: 6px 10px 18px; }
.logo-mark { color: var(--mint); }
.accent { color: var(--mint); }
.side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 500; font-size: 0.95rem;
  transition: background 0.15s;
}
.side-nav a:hover { background: var(--surface); }
.side-nav a.active { background: var(--surface-2); color: var(--text); font-weight: 600; }
.side-nav .ico { width: 22px; text-align: center; }

/* ===== botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  transition: filter 0.15s, background 0.15s;
}
.btn-mint { background: var(--mint); color: var(--mint-dark); }
.btn-mint:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
.btn-block { width: 100%; margin-top: 8px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; transform: none; }
.search input:disabled { cursor: not-allowed; color: var(--muted); }

/* mientras se investiga, el resto de la interfaz no acepta clics */
body.busy .search { border-color: rgba(134, 239, 172, 0.35); }
body.busy .side-nav a,
body.busy .sidebar .btn,
body.busy .tcard,
body.busy .right-cta { pointer-events: none; opacity: 0.45; }
.btn-lg { padding: 13px 26px; font-size: 0.95rem; border-radius: var(--radius); }

/* ===== main ===== */
.main { padding: 16px 28px 40px; min-width: 0; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0;
  background: linear-gradient(var(--bg) 85%, transparent);
}
.search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 16px;
}
.search:focus-within { border-color: rgba(134, 239, 172, 0.5); }
.search-icon { color: var(--muted); }
.search input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
}
.search input::placeholder { color: var(--muted); }

/* ===== núcleo orbital de la portada ===== */
.hero-orbita { position: relative; padding-top: 20px; }
.orbita {
  position: relative; width: 100%; height: 384px;
  display: grid; place-items: center; margin-bottom: 26px;
  pointer-events: none;
}
.orb-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(134,239,172,.16) 0%, rgba(134,239,172,.04) 45%, transparent 70%);
  animation: latido 4s ease-in-out infinite;
}
@keyframes latido { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }

.orb-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border);
}
.orb-ring.r1 { width: 182px; height: 182px; border-color: rgba(134,239,172,.28); }
.orb-ring.r2 { width: 266px; height: 266px; }
.orb-ring.r3 { width: 352px; height: 352px; border-style: dashed; opacity: .55; }

.orb-nucleo {
  position: absolute; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; gap: 1px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1.5px solid var(--mint);
  box-shadow: 0 0 26px rgba(134,239,172,.28), inset 0 0 18px rgba(134,239,172,.07);
  z-index: 3;
}
.nucleo-mark { color: var(--mint); font-size: 1.15rem; line-height: 1; }
.nucleo-txt { font-size: 0.53rem; font-weight: 800; letter-spacing: 1.2px; color: var(--text-2); line-height: 1.25; }

/* pistas: giran; cada elemento se contrarrota para no volcarse */
.orb-pista { position: absolute; width: 100%; height: 100%; }
.orb-pista.p1 { animation: girar 26s linear infinite; }
.orb-pista.p2 { animation: girar 40s linear infinite reverse; }
.orb-pista.p3 { animation: girar 58s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.orb-item {
  position: absolute; top: 50%; left: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  margin: -20px 0 0 -32px; width: 64px;
}
.p1 .orb-item { --r: 91px; }
.p2 .orb-item { --r: 133px; }
.p3 .orb-item { --r: 176px; }
.orb-item b {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1rem; background: var(--surface); border: 1px solid var(--border);
  animation: contragiro 26s linear infinite;
}
.p2 .orb-item b { animation: contragiro 40s linear infinite reverse; }
.p3 .orb-item b { animation: contragiro 58s linear infinite; }
.orb-item.chico b { width: 30px; height: 30px; font-size: 0.85rem; }
.orb-item i {
  font-style: normal; font-size: 0.6rem; color: var(--muted); font-weight: 600;
  white-space: nowrap; animation: contragiro 26s linear infinite;
}
.p2 .orb-item i { animation: contragiro 40s linear infinite reverse; }
.p3 .orb-item i { animation: contragiro 58s linear infinite; }
@keyframes contragiro { to { transform: rotate(-360deg); } }

@media (max-width: 720px) {
  .orbita { height: 270px; transform: scale(0.72); margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-pista, .orb-item b, .orb-item i, .orb-glow { animation: none !important; }
}

/* hero */
.hero { padding: 34px 0 10px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.15; max-width: 640px; }
.sub { color: var(--muted); max-width: 560px; margin: 14px 0 24px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding: 18px 0 8px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.25rem; font-weight: 700; color: var(--mint); }
.hero-stats span { color: var(--muted); font-size: 0.78rem; }

.section-intro {
  color: var(--muted); font-size: 0.95rem; line-height: 1.7;
  max-width: 760px; margin: -4px 0 20px;
}

/* explicación del score en la portada */
.score-explain { display: flex; gap: 26px; align-items: center; padding: 26px 28px; margin-top: 14px; flex-wrap: wrap; }
.se-ring {
  width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid var(--mint); background: rgba(134, 239, 172, 0.08);
}
.se-num { font-size: 1.35rem; font-weight: 800; color: var(--mint); }
.score-explain > div:last-child { flex: 1; min-width: 260px; }
.score-explain h3 { font-size: 1.05rem; margin-bottom: 10px; }
.score-explain p { color: var(--muted); font-size: 0.88rem; margin-bottom: 7px; line-height: 1.6; }
.score-explain p b { color: var(--text); }

/* bloques */
.block { padding: 34px 0 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.block-head h2 { font-size: 1.25rem; }
.block-note { color: var(--muted); font-size: 0.8rem; }

/* tarjetas */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: background 0.15s, border-color 0.15s;
}
.card:hover { background: var(--surface-2); }
.card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.87rem; }
.card-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  font-size: 1.15rem; border-radius: 10px; margin-bottom: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.card-icon.mint { background: rgba(134, 239, 172, 0.12); border-color: rgba(134, 239, 172, 0.25); }

/* mercado */
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.mcard { padding: 16px; }
.mcard-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mcard-top img { width: 30px; height: 30px; border-radius: 50%; }
.mcard-name { font-weight: 600; font-size: 0.92rem; }
.mcard-sym { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
.mcard-price { font-size: 1.15rem; font-weight: 700; }
.mcard-chg { font-size: 0.8rem; font-weight: 600; margin-left: 6px; }
.up { color: var(--up); }
.down { color: var(--down); }
.mcard canvas { width: 100%; height: 48px; margin-top: 10px; }

/* score demo */
.score-demo { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; padding: 26px; margin-bottom: 16px; }
.score-ring { position: relative; width: 130px; height: 130px; flex-shrink: 0; margin: 0 auto; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg, .ring-val { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-bg { stroke: var(--surface-2); }
.ring-val { stroke: var(--mint); stroke-dasharray: calc(var(--score) / 10 * 326.7) 326.7; }
.score-num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; line-height: 1; font-size: 1.7rem; font-weight: 800;
}
.score-num span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.score-bars { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 12px; }
.split-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.split-scores > div {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.split-scores span { color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.split-scores strong { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.split-scores strong i { font-size: 0.8rem; color: var(--muted); font-style: normal; font-weight: 500; }
.split-scores small { color: var(--muted); font-size: 0.7rem; line-height: 1.35; }
@media (max-width: 720px) { .split-scores { grid-template-columns: 1fr; } }

.sbar { display: grid; grid-template-columns: 105px 1fr 34px; align-items: center; gap: 12px; font-size: 0.85rem; }
.sbar span { color: var(--muted); }
.sbar b { text-align: right; font-weight: 700; }
.bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--mint); }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.features-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* wallets */
.wallet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.wallet { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 0.9rem; padding: 18px 14px; }
.w-ico { font-size: 1.25rem; filter: drop-shadow(0 0 8px var(--c)); }

/* confianza */
.trust { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; padding: 24px; margin-bottom: 26px; }
.trust-item { text-align: center; }
.trust-item strong { font-size: 1.45rem; font-weight: 800; color: var(--mint); display: block; }
.trust-item span { color: var(--muted); font-size: 0.78rem; }
.sources-label { text-align: center; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.sources { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; }
.sources span { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.sources span:hover { color: var(--text); }

/* cta */
.cta-box { text-align: center; padding: 44px 26px; }
.cta-box h2 { font-size: 1.6rem; }
.cta-box p { color: var(--muted); margin: 10px 0 24px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* footer */
footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 28px 0 8px; margin-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.8rem;
}

/* ===== rightbar / trending ===== */
.rightbar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 20px 16px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.right-title { font-size: 1.1rem; padding: 4px 6px 8px; }
.trending-list { display: flex; flex-direction: column; gap: 8px; }
.tcard {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px;
  transition: background 0.15s;
}
.tcard:hover { background: var(--surface-2); }
.tcard img { width: 28px; height: 28px; border-radius: 50%; }
.tcard-info { flex: 1; min-width: 0; }
.tcard-name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard-sym { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }
.tcard-mc { font-size: 0.78rem; font-weight: 600; color: var(--up); white-space: nowrap; }
.tcard-mc small { display: block; color: var(--muted); font-weight: 500; text-align: right; }
.tcard-mc small.up { color: var(--up); }
.tcard-mc small.down { color: var(--down); }
.right-title .right-sub { color: var(--muted); font-size: 0.68rem; font-weight: 500; }
/* el trending es informativo: no invita a hacer clic */
.tcard { cursor: default; }
.tcard:hover { background: var(--surface); }
.right-cta { margin-top: auto; }
.right-cta h3 { font-size: 0.95rem; }
.right-cta p { font-size: 0.82rem; }

/* ===== vistas / informe ===== */
.hidden { display: none !important; }
.clickable { cursor: pointer; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ===== loader IA ===== */
.ai-loader {
  max-width: 430px; margin: 70px auto; display: flex; flex-direction: column; gap: 16px;
}
.ai-step {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 0.95rem; opacity: 0.32;
  transition: opacity 0.3s;
}
.ai-step.active { opacity: 1; color: var(--text); font-weight: 600; }
.ai-step.done { opacity: 0.85; color: var(--text-2); }
.step-ico { width: 20px; display: grid; place-items: center; flex-shrink: 0; }
.ai-step.done .step-ico { color: var(--mint); font-weight: 800; }
.spinner {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--border); border-top-color: var(--mint);
  animation: rot 0.7s linear infinite; display: inline-block;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* aparición progresiva de secciones del informe */
#asset-report > * { animation: fadeUp 0.5s ease both; }
#asset-report > *:nth-child(2) { animation-delay: 0.08s; }
#asset-report > *:nth-child(3) { animation-delay: 0.16s; }
#asset-report > *:nth-child(4) { animation-delay: 0.24s; }
#asset-report > *:nth-child(5) { animation-delay: 0.32s; }
#asset-report > *:nth-child(6) { animation-delay: 0.4s; }
#asset-report > *:nth-child(7) { animation-delay: 0.48s; }
#asset-report > *:nth-child(8) { animation-delay: 0.56s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* sub-mensajes del loader */
.ai-sub {
  margin-left: 32px; color: var(--muted); font-size: 0.78rem; font-weight: 400;
  min-height: 1.1em; transition: opacity 0.25s;
}
.ai-step-wrap { display: flex; flex-direction: column; gap: 3px; }

/* ===== documento de investigación ===== */
.doc-box { padding: 36px 42px; }
.doc-box:hover { background: var(--surface); }
.doc-kicker {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--mint); margin-bottom: 8px;
}
.doc-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.doc-meta { color: var(--muted); font-size: 0.78rem; margin: 8px 0 6px; }
.doc-body { font-family: Georgia, "Times New Roman", serif; }
.doc-body h4 {
  font-family: "Inter", sans-serif; font-size: 0.95rem; font-weight: 700;
  margin: 26px 0 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
}
.doc-link {
  font-family: "Inter", sans-serif; font-size: 0.72rem; font-weight: 600;
  color: var(--mint); white-space: nowrap;
}
.doc-link:hover { text-decoration: underline; }
.doc-body p { color: var(--text-2); font-size: 0.96rem; line-height: 1.75; margin: 10px 0; }
.doc-body .lectura { color: var(--text); }
.doc-body .lectura b { color: var(--mint); font-family: "Inter", sans-serif; font-size: 0.8rem; letter-spacing: 1px; }
.doc-verdict {
  border-left: 3px solid var(--mint); background: rgba(134, 239, 172, 0.06);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin-top: 12px;
}
.doc-disclaimer {
  margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.75rem; font-family: "Inter", sans-serif;
}

/* ===== noticias ===== */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item { padding: 14px 16px; display: block; }
.news-title { font-weight: 600; font-size: 0.92rem; line-height: 1.4; margin-bottom: 8px; }
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 0.75rem; }
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; border: 1px solid var(--border);
}
.badge.pos { color: var(--up); border-color: rgba(135, 239, 155, 0.4); background: rgba(135, 239, 155, 0.08); }
.badge.neg { color: var(--down); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.badge.neu { color: var(--muted); }
.badge.paid { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.badge.pr { color: #fb923c; border-color: rgba(251, 146, 60, 0.45); background: rgba(251, 146, 60, 0.08); }
.badge.free { color: var(--text-2); }
.badge.shill { color: #c084fc; border-color: rgba(192, 132, 252, 0.45); background: rgba(192, 132, 252, 0.1); }

/* posts sociales */
/* desarrolladores */
.dev-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.dev {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.15s;
}
.dev:hover { border-color: rgba(134, 239, 172, 0.45); }
.dev img { width: 26px; height: 26px; border-radius: 50%; }
.dev-name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-c { color: var(--muted); font-size: 0.7rem; white-space: nowrap; }

.post-legend { color: var(--muted); font-size: 0.78rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post {
  padding: 14px 16px; border-left: 3px solid var(--border);
  background: var(--surface); border-radius: 0 12px 12px 0;
}
.post.good { border-left-color: var(--up); }
.post.bad { border-left-color: var(--down); }
.post.shill { border-left-color: #c084fc; }
.post-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.post-user { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.post-user:hover { color: var(--mint); }
.post-meta { color: var(--muted); font-size: 0.74rem; }
.post-body { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; }
.post-why { margin-top: 7px; color: var(--muted); font-size: 0.73rem; font-style: italic; }
.post-summary { display: flex; gap: 22px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; }
.post-summary div { display: flex; flex-direction: column; }
.post-summary strong { font-size: 1.2rem; font-weight: 800; }
.post-summary span { color: var(--muted); font-size: 0.74rem; }
.ps-good strong { color: var(--up); }
.ps-bad strong { color: var(--down); }
.ps-shill strong { color: #c084fc; }

.side-label {
  padding: 14px 12px 4px; color: var(--muted);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
}

.asset-head {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px; margin-top: 10px;
}
.asset-head img { width: 52px; height: 52px; border-radius: 50%; }
.asset-id { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.asset-id h1 { font-size: 1.5rem; font-weight: 800; }
.rank-chip {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 2px 8px; font-size: 0.72rem; color: var(--muted); font-weight: 600;
}
.asset-price { margin-left: auto; display: flex; align-items: baseline; }
.asset-price .mcard-price { font-size: 1.5rem; }
.asset-score { flex-shrink: 0; }
.score-ring.small { width: 92px; height: 92px; }
.score-ring.small .score-num { font-size: 1.25rem; }
.score-ring.small .score-num span { font-size: 0.68rem; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kv { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.kv-label { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.kv-value { font-size: 1.15rem; font-weight: 700; }
.kv-sub { color: var(--muted); font-size: 0.72rem; }

.link-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  transition: background 0.15s, border-color 0.15s;
}
.chip:hover { background: var(--surface-2); border-color: rgba(134, 239, 172, 0.4); }

.hint { color: var(--muted); font-size: 0.78rem; margin-top: 12px; }

.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.zone { padding: 16px; display: flex; flex-direction: column; gap: 3px; }
.zone strong { font-size: 1.05rem; font-weight: 700; }
.zone-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.zone.supply .zone-tag { color: var(--down); }
.zone.demand .zone-tag { color: var(--up); }
.zone.mid .zone-tag { color: var(--muted); }
.zone.supply { border-color: rgba(248, 113, 113, 0.3); }
.zone.demand { border-color: rgba(135, 239, 155, 0.3); }
.zone.sell { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.05); }
.zone.sell .zone-tag { color: #fbbf24; }

.subhead { font-size: 1rem; font-weight: 700; margin: 22px 0 10px; }

.table-card { padding: 6px 4px; overflow-x: auto; }
.htable { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.htable th {
  text-align: left; color: var(--muted); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
}
.htable td { padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.htable tr:last-child td { border-bottom: none; }
.htable tr:hover td { background: var(--surface-2); }
.htable .addr a { color: var(--mint); font-weight: 600; }
.htable .num { text-align: right; font-variant-numeric: tabular-nums; }
.pct-bar {
  display: inline-block; vertical-align: middle; height: 6px; border-radius: 99px;
  background: var(--mint); margin-right: 8px; min-width: 2px;
}

.pressure { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pressure-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--down); overflow: hidden; }
.pressure-bar i { display: block; height: 100%; background: var(--up); border-radius: 99px 0 0 99px; }
.pressure b { font-size: 0.85rem; white-space: nowrap; }

.chip.active { background: var(--mint); color: var(--mint-dark); border-color: var(--mint); }
.chip.btn-more { cursor: pointer; }

/* exchanges: dos columnas CEX / DEX */
.ex-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-col { padding: 0; overflow: hidden; }
.ex-col:hover { background: var(--surface); }
.ex-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 0.9rem;
}
.ex-head .ex-sub { color: var(--muted); font-weight: 500; font-size: 0.75rem; }
.ex-head b { margin-left: auto; color: var(--mint); font-size: 0.82rem; }
.ex-list { max-height: 420px; overflow-y: auto; }
.ex-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--border);
  font-size: 0.85rem; transition: background 0.15s;
}
.ex-item:last-child { border-bottom: none; }
.ex-item:hover { background: var(--surface-2); }
.ex-item img { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--surface-2); }
.ex-logo-fallback {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
  background: var(--surface-2); color: var(--muted);
}
.ex-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-vol { color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-item.pionex { background: rgba(134, 239, 172, 0.1); }
.ex-item.pionex .ex-name { color: var(--mint); }

@media (max-width: 820px) { .ex-cols { grid-template-columns: 1fr; } }

.wallet-lookup { display: flex; gap: 10px; margin-top: 16px; }
.wallet-lookup .search { padding: 8px 14px; }
.tag-chip {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 600; color: var(--text-2);
}
.tag-chip.ex { color: var(--mint); border-color: rgba(134, 239, 172, 0.35); }
.tag-chip.esc { color: #93c5fd; border-color: rgba(147, 197, 253, 0.35); }
.wallet-result-card { margin-top: 12px; padding: 16px 18px; }
.wallet-result-card strong { color: var(--mint); }

.kv a.kv-value { color: var(--mint); }

.tv-wrap { padding: 8px; }
.tv-wrap iframe { width: 100%; height: 440px; border: none; border-radius: 10px; display: block; background: var(--bg); }

/* ===== cuenta y créditos ===== */
.btn-sm { padding: 7px 13px; font-size: 0.82rem; border-radius: 10px; }
.topbar-account { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.account-box { margin-top: auto; }
.acc-guest { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; }
.acc-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.acc-guest p { color: var(--muted); font-size: 0.78rem; margin-bottom: 11px; }
.acc-user { display: flex; align-items: center; gap: 10px; padding: 4px 2px 12px; }
.acc-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
  background: var(--mint); color: var(--mint-dark);
}
.acc-info { min-width: 0; }
.acc-name { font-weight: 700; font-size: 0.87rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-plan { color: var(--muted); font-size: 0.73rem; display: flex; align-items: center; gap: 5px; }
.acc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: inline-block; }
.acc-dot.avanzado { background: var(--mint); }
.acc-dot.pro { background: #c084fc; }
.acc-cred { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 8px; }
.acc-cred-top { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 7px; }
.acc-cred-top b { color: var(--text); }
.acc-bar { height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.acc-bar i { display: block; height: 100%; background: var(--mint); border-radius: 99px; transition: width 0.3s; }
.btn-link { background: none; border: none; color: var(--muted); font-family: inherit; font-size: 0.75rem; cursor: pointer; padding: 8px 4px 0; width: 100%; }
.btn-link:hover { color: var(--text); }

/* ===== panel del usuario ===== */
.nav-badge {
  background: var(--mint); color: var(--mint-dark); font-size: 0.66rem; font-weight: 800;
  padding: 1px 7px; border-radius: 99px; margin-left: auto;
}
.narrativas { display: flex; flex-direction: column; gap: 9px; }
.narr { display: grid; grid-template-columns: 190px 1fr 28px; align-items: center; gap: 12px; font-size: 0.84rem; }
.narr-n { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.narr-bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.narr-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c6cff, var(--mint)); }
.narr b { text-align: right; color: var(--muted); font-size: 0.8rem; }

.informes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 13px; }
.informe {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 15px; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
}
.informe:hover { border-color: rgba(134, 239, 172, 0.45); transform: translateY(-2px); }
.inf-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.inf-cab img { width: 30px; height: 30px; border-radius: 50%; }
.inf-ini {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); font-weight: 800; font-size: 0.8rem; color: var(--muted);
}
.inf-id { flex: 1; min-width: 0; }
.inf-nom { font-weight: 700; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inf-sym { color: var(--muted); font-size: 0.72rem; }
.inf-score {
  font-weight: 800; font-size: 1.05rem; padding: 3px 10px; border-radius: 10px;
  background: var(--surface-2);
}
.inf-score.alto { color: var(--up); background: rgba(135, 239, 155, 0.12); }
.inf-score.medio { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.inf-score.bajo { color: var(--down); background: rgba(248, 113, 113, 0.12); }
.inf-datos { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.74rem; color: var(--muted); margin-bottom: 10px; }
.inf-datos b { color: var(--text-2); }
.inf-riesgo { color: var(--down); }
.inf-pie { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inf-tag {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px;
  padding: 2px 7px; font-size: 0.66rem; color: var(--muted);
  max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.inf-fecha { margin-left: auto; color: var(--muted); font-size: 0.7rem; }

@media (max-width: 720px) { .narr { grid-template-columns: 120px 1fr 26px; } }

/* ===== riesgo de contrato ===== */
.seg-cab { padding: 16px 18px; margin-bottom: 12px; border-left-width: 3px; border-left-style: solid; }
.seg-cab.limpio { border-left-color: var(--up); background: rgba(135, 239, 155, 0.06); }
.seg-cab.cuidado { border-left-color: #fbbf24; background: rgba(251, 191, 36, 0.06); }
.seg-cab.peligro { border-left-color: var(--down); background: rgba(248, 113, 113, 0.08); }
.seg-titulo { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.seg-cab.limpio .seg-titulo { color: var(--up); }
.seg-cab.cuidado .seg-titulo { color: #fbbf24; }
.seg-cab.peligro .seg-titulo { color: var(--down); }
.seg-cab p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.seg-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 7px; }
.seg-item {
  display: flex; gap: 9px; align-items: baseline;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 12px; font-size: 0.81rem; color: var(--text-2); line-height: 1.4;
}
.seg-item span { flex-shrink: 0; font-weight: 800; }
.seg-item.ok span { color: var(--up); }
.seg-item.aviso { border-color: rgba(251, 191, 36, 0.3); }
.seg-item.aviso span { color: #fbbf24; }
.seg-item.grave { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.07); }
.seg-item.grave span { color: var(--down); }

/* ===== pestañas de temporalidad ===== */
.tf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.tf-tab {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; cursor: pointer; text-align: left; font-family: inherit;
  display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s, background 0.15s;
}
.tf-tab:hover { background: var(--surface-2); }
.tf-tab.activa { border-color: var(--mint); background: rgba(134, 239, 172, 0.07); }
.tf-tab b { font-size: 0.9rem; color: var(--text); }
.tf-tab span { color: var(--muted); font-size: 0.72rem; }
.tf-tab i { font-style: normal; font-size: 0.72rem; color: var(--mint); font-weight: 600; margin-top: 3px; }
.tf-tab i.vacio { color: var(--muted); }
@media (max-width: 720px) { .tf-tabs { grid-template-columns: 1fr; } }

/* ===== desglose de la nota ===== */
.ajustes { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.ajustes-tit { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 9px; display: flex; gap: 8px; align-items: center; }
.ajustes-tit b.neg { color: var(--down); }
.ajustes-tit b.pos { color: var(--up); }
.aj { display: flex; gap: 10px; align-items: baseline; font-size: 0.81rem; color: var(--text-2); margin-bottom: 6px; line-height: 1.45; }
.aj span { flex-shrink: 0; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 34px; }
.aj.neg span { color: var(--down); }
.aj.pos span { color: var(--up); }

/* ===== secciones bloqueadas (plan Gratis) ===== */
.bloqueado { position: relative; min-height: 260px; }
/* el contenido se difumina y no se puede seleccionar ni copiar */
.bloqueado > *:not(.candado) {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
  opacity: 0.72;
}
.candado {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 20px;
  background: linear-gradient(180deg, rgba(20,21,28,.55) 0%, rgba(20,21,28,.86) 55%, rgba(20,21,28,.95) 100%);
  border-radius: var(--radius);
}
.candado-caja {
  text-align: center; max-width: 420px;
  background: var(--surface); border: 1px solid rgba(134,239,172,.3);
  border-radius: 18px; padding: 26px 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.candado-ico {
  width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(134,239,172,.12); border: 1px solid rgba(134,239,172,.28);
}
.candado-caja h3 { font-size: 1.05rem; margin-bottom: 7px; }
.candado-caja p { color: var(--muted); font-size: 0.86rem; line-height: 1.55; margin-bottom: 16px; }
.candado-nota { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 10px; }

/* ===== modal ===== */
.modal-bg {
  position: fixed; inset: 0; z-index: 200; padding: 24px;
  background: rgba(5, 6, 12, 0.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; overflow-y: auto;
}
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px;
}
#view-planes { max-width: none; }
.modal:has(#view-planes:not(.hidden)) { max-width: 900px; }
.modal-x {
  position: absolute; top: 16px; right: 18px; background: none; border: none;
  color: var(--muted); font-size: 1.1rem; cursor: pointer;
}
.modal-x:hover { color: var(--text); }
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 0.87rem; margin-bottom: 20px; }
.modal form label { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.modal input, .modal select {
  width: 100%; margin-top: 5px; padding: 11px 13px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 0.92rem; outline: none;
}
.modal input:focus, .modal select:focus { border-color: var(--mint); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.f-check { display: flex !important; align-items: flex-start; gap: 8px; font-size: 0.76rem !important; margin: 4px 0 16px !important; }
.f-check input { width: auto; margin: 2px 0 0; }
.f-error { color: var(--down); font-size: 0.8rem; margin-bottom: 11px; min-height: 1em; }
.modal-foot { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 15px; }
.modal-foot a { color: var(--mint); font-weight: 600; }
.codigo-input {
  text-align: center; font-size: 1.7rem !important; letter-spacing: 10px;
  font-weight: 700; padding: 14px !important; margin-bottom: 12px;
}

/* ===== planes ===== */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column;
}
.plan.destacado { border-color: var(--mint); background: rgba(134, 239, 172, 0.05); }
.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--mint); color: var(--mint-dark); font-size: 0.66rem; font-weight: 800;
  padding: 3px 11px; border-radius: 99px; white-space: nowrap;
}
.plan-nom { font-size: 0.82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.plan-precio { font-size: 1.9rem; font-weight: 800; margin: 6px 0 2px; }
.plan-precio small { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.plan-cred { color: var(--mint); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 16px; }
.plan li { font-size: 0.79rem; color: var(--text-2); line-height: 1.45; margin-bottom: 8px; }
.plan li.no { color: var(--muted); opacity: 0.65; }

@media (max-width: 820px) {
  .planes { grid-template-columns: 1fr; }
  .topbar-account { display: none; }
  .modal { padding: 24px 20px; }
}

/* ===== responsive ===== */
@media (max-width: 1180px) {
  .app { grid-template-columns: 210px minmax(0, 1fr); }
  .rightbar { display: none; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: 0; height: auto; z-index: 50;
    flex-direction: row; align-items: center;
    background: var(--bg); border-right: none; border-bottom: 1px solid var(--border);
    padding: 10px 14px; overflow-x: auto;
  }
  .logo { padding: 0 8px 0 0; white-space: nowrap; }
  .side-nav { flex-direction: row; }
  .side-nav a { padding: 8px 10px; white-space: nowrap; }
  .side-nav .ico { display: none; }
  .sidebar .btn { display: none; }
  .main { padding: 12px 16px 32px; }
}
