/* ==========================================================================
   Xukium — hoja de estilos única (todas las páginas)
   Sin estilos en línea: compatible con una CSP estricta (style-src 'self').
   ========================================================================== */

:root {
  --bg: #07070c;
  --bg-2: #0c0c14;
  --surface: #11111b;
  --surface-2: #171724;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f2fa;
  --muted: #a8a6c0;
  --faint: #7c7a96;
  --primary: #8b6cf0;
  --primary-2: #6c4fe0;
  --primary-soft: rgba(139, 108, 240, 0.14);
  --pink: #e667c7;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 12% -5%, rgba(108, 79, 224, 0.16), transparent 60%),
    radial-gradient(50rem 36rem at 95% 8%, rgba(230, 103, 199, 0.08), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Campo de estrellas estático (sin animación = sin coste de rendimiento) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff, transparent), radial-gradient(1px 1px at 22% 38%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 31% 72%, #fff, transparent), radial-gradient(1px 1px at 44% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 52% 88%, #fff, transparent), radial-gradient(1px 1px at 63% 34%, #fff, transparent),
    radial-gradient(1px 1px at 71% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 82% 12%, #fff, transparent),
    radial-gradient(1px 1px at 91% 52%, #fff, transparent), radial-gradient(1px 1px at 15% 86%, #fff, transparent),
    radial-gradient(1px 1px at 36% 50%, #fff, transparent), radial-gradient(1.5px 1.5px at 76% 90%, #fff, transparent);
  background-size: 260px 260px;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: #b7a2ff; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #b7a2ff; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 860px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary-2); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; text-decoration: none; }
.grad { background: linear-gradient(100deg, #b7a2ff 0%, #8b6cf0 45%, #e667c7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); cursor: pointer; text-decoration: none !important;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, #8b6cf0, #6c4fe0); box-shadow: 0 8px 24px -8px rgba(108, 79, 224, .7); }
.btn--primary:hover { color: #fff; background: linear-gradient(135deg, #a58bff, #8b6cf0); box-shadow: 0 10px 30px -6px rgba(139, 108, 240, .75); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn--ghost:hover { color: #fff; background: var(--primary-soft); border-color: var(--primary); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------- Insignias */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font: 600 12px/1.4 var(--font); letter-spacing: .02em; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.03);
}
.badge--plus { color: #d8ccff; border-color: rgba(139,108,240,.5); background: var(--primary-soft); }
.badge--free { color: #9ff0cf; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.badge--soon { color: #ffe08a; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.badge--beta { color: #d8ccff; border-color: rgba(139,108,240,.5); font-family: var(--mono); }
.eyebrow { display: inline-block; font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }

/* ------------------------------------------------------------------ Cabecera */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 12, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav__inner { position: relative; display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .08em; font-size: 17px; }
.brand:hover { color: #fff; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__login { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 10px; }
.nav__login:hover { color: #fff; text-decoration: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 11px; }
.lang:hover { color: #fff; border-color: var(--primary); text-decoration: none; }
.lang svg { width: 14px; height: 14px; }
.nav__burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; padding: 0; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__burger { display: inline-flex; flex-direction: column; }
  .nav__login, .nav__cta { display: none; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 68px; transform: none; flex-direction: column; margin: 0; padding: 12px 16px 20px;
    background: rgba(9, 9, 15, .98); border-bottom: 1px solid var(--line); gap: 2px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 12px; font-size: 16px; }
  .nav__links a.only-mobile { display: block; }
}
.nav__links .only-mobile { display: none; }

/* --------------------------------------------------------------------- Hero */
.hero { position: relative; padding: 76px 0 0; text-align: center; overflow: hidden; }
.hero__chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 26px; }
.hero__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-size: clamp(34px, 6vw, 68px); font-weight: 800; max-width: 19ch; margin-inline: auto; margin-bottom: 22px; }
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }
.hero__note { font: 500 13px/1.4 var(--mono); color: var(--faint); margin-bottom: 52px; }
.shot { position: relative; max-width: 1040px; margin: 0 auto; }
.shot::before { content: ""; position: absolute; inset: -6% -4% auto; height: 70%; background: radial-gradient(closest-side, rgba(139,108,240,.38), transparent); filter: blur(30px); z-index: -1; }
.shot img { width: 100%; height: auto; border-radius: 14px 14px 0 0; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -10px 80px -20px rgba(139,108,240,.45), var(--shadow); }
.shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }

/* ----------------------------------------------------------------- Secciones */
.section { padding: 88px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(17,17,27,.6) 18%, rgba(17,17,27,.6) 82%, transparent); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; }
.page-head { padding: 64px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 700px; margin-inline: auto; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 8px; }

.trust-band { border-block: 1px solid var(--line); background: rgba(12,12,20,.7); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.trust > div:last-child { border-right: 0; }
.trust strong { display: block; font-size: 16px; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 14px; line-height: 1.5; display: block; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.split p { color: var(--muted); font-size: 17px; }
.panel-img { border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.panel-img img { width: 100%; height: auto; }
.stack { display: grid; gap: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 700 16px var(--mono); color: #fff; background: linear-gradient(135deg, #8b6cf0, #6c4fe0); margin-bottom: 16px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(139,108,240,.45); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 { font-size: 18px; margin: 4px 0 0; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: #c7b8ff; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-group { margin-bottom: 56px; }
.feature-group > h2 { font-size: 26px; margin-bottom: 4px; }
.feature-group > p { color: var(--muted); margin-bottom: 22px; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience > div { border-left: 2px solid var(--primary); padding: 4px 0 4px 18px; }
.audience h3 { font-size: 18px; margin-bottom: 6px; }
.audience p { color: var(--muted); font-size: 15px; margin: 0; }

.callout { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(108,79,224,.16), rgba(17,17,27,.8)); padding: 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.callout h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0; }
.callout p { color: var(--muted); margin: 0; font-size: 17px; }

/* ------------------------------------------------------------------- Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.plan--hl { border-color: rgba(139,108,240,.7); background: linear-gradient(180deg, rgba(108,79,224,.16), var(--surface) 55%); box-shadow: 0 30px 70px -30px rgba(108,79,224,.6); }
.plan__tag { position: absolute; top: -12px; left: 26px; }
.plan h3 { font-size: 19px; margin-bottom: 4px; }
.plan__desc { color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.price strong { font-size: 46px; line-height: 1; letter-spacing: -0.03em; }
.price span { color: var(--muted); }
.plan__billed { color: var(--faint); font-size: 13px; min-height: 40px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: #dcdaf0; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7a2ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.fine { color: var(--faint); font-size: 13px; }
.plans + .fine, .plans ~ .fine { margin-top: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.02); }
td.c, th.c { text-align: center; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--faint); }

/* ---------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: rgba(139,108,240,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- CTA final */
.cta { text-align: center; padding: 72px 24px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: radial-gradient(60% 120% at 50% 0%, rgba(139,108,240,.28), transparent 70%), var(--surface); }
.cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------------------------- Avisos */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); }
.notice > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice h3 { font-size: 17px; margin: 0 0 6px; }
.notice p { margin: 0 0 10px; color: #d5d3ea; font-size: 15px; }
.notice p:last-child { margin-bottom: 0; }
.notice--warn { border-color: rgba(251,191,36,.45); background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(17,17,27,.9)); color: var(--amber); }
.notice--warn h3 { color: #ffe08a; }
.notice--info { border-color: rgba(139,108,240,.45); color: #c7b8ff; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.form-status { display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; border: 1px solid; }
.form-status:not(:empty) { display: block; }
.form-status[data-kind="success"] { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.4); color: #9ff0cf; }
.form-status[data-kind="error"] { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.4); color: #fecaca; }
.form-status[data-kind="warning"] { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.4); color: #fde68a; }
.form-status[data-kind="info"] { background: var(--primary-soft); border-color: rgba(139,108,240,.4); color: #d8ccff; }
.form-status button { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* ---------------------------------------------------------------- Descargas */
.dl { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.dl-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px; }
.dl-card h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.dl-card h2 svg { width: 28px; height: 28px; color: var(--primary); flex: none; }
.meta { display: grid; gap: 0; margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.meta div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta div:last-child { border-bottom: 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; word-break: break-all; }
.meta .hash { font-family: var(--mono); font-size: 12px; color: #d5d3ea; }
pre, .code { background: #05050a; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13px/1.6 var(--mono); color: #d8ccff; margin: 0 0 16px; }
ol.list, ul.list { padding-left: 22px; margin: 0 0 1em; color: var(--muted); }
ol.list li, ul.list li { margin-bottom: 8px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.timeline .v { font: 600 14px var(--mono); color: var(--primary); flex: none; }

/* ------------------------------------------------------------- Legal y guías */
.prose-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 40px 0 88px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc strong { display: block; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); border-left: 2px solid var(--line); }
.toc a:hover { color: #fff; border-left-color: var(--primary); text-decoration: none; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 2.2em 0 .6em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose p, .prose li { color: #cfcde4; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { margin: 0 0 1.4em; }
.prose .table-wrap { margin: 0 0 1.4em; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; margin-top: 16px; justify-content: center; }
.pending { background: rgba(251,191,36,.18); color: #ffe08a; border: 1px dashed rgba(251,191,36,.7); border-radius: 6px; padding: 0 6px; font: 600 .85em var(--mono); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-links a { font-size: 14px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.legal-links a:hover { color: #fff; border-color: var(--primary); text-decoration: none; }
.legal-links a[aria-current="page"] { color: #fff; background: var(--primary-soft); border-color: var(--primary); }

/* ---------------------------------------------------------------- Formularios */
.form { display: grid; gap: 16px; }
label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #e4e2f5; }
input, select, textarea {
  width: 100%; font: 16px/1.4 var(--font); color: var(--text); background: #0a0a12; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,108,240,.25); }
textarea { min-height: 150px; resize: vertical; }
.help { font-size: 13px; color: var(--faint); margin-top: 6px; }
.field-pw { position: relative; }
.field-pw input { padding-right: 48px; }
.field-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: 600 12px var(--mono); cursor: pointer; padding: 8px; border-radius: 8px; }
.field-pw button:hover { color: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #8b6cf0; flex: none; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #fff; }
.btn-google:hover { background: #f1f1f1; color: #1f1f1f; }
.btn-google svg { width: 18px; height: 18px; }

.auth { min-height: calc(100vh - 68px - 120px); display: grid; place-items: center; padding: 56px 16px; }
.auth__box { width: min(100%, 440px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.auth__box h1 { font-size: 28px; margin-bottom: 6px; }
.auth__box > p.sub { color: var(--muted); margin-bottom: 24px; }
.auth__alt { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.auth__row { display: flex; justify-content: space-between; align-items: baseline; }
.auth__row a { font-size: 13px; }

.support-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.box h2 { font-size: 22px; }
.box + .box { margin-top: 18px; }
.box ul { padding-left: 20px; color: var(--muted); margin: 0; }
.box li { margin-bottom: 8px; }

.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 88px; }
.account-grid .box + .box { margin-top: 0; }
.kv { display: grid; gap: 0; margin: 0 0 18px; }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.btn-stack { display: grid; gap: 10px; }

/* ---------------------------------------------------------------------- Pie */
.footer { border-top: 1px solid var(--line); background: rgba(7,7,12,.85); padding: 56px 0 28px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer h2 { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer li a { color: var(--muted); font-size: 14px; }
.footer li a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); }
.footer__bottom p { margin: 0; font-size: 13px; color: var(--faint); }
.footer .disc { max-width: 520px; margin-top: 14px; font-size: 12.5px; color: var(--faint); }

/* ---------------------------------------------------------------------- 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.nf h1 { font-size: clamp(64px, 14vw, 140px); font-weight: 800; margin: 0; }
.nf h2 { font-size: 26px; }
.nf p { color: var(--muted); }
.langpick { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 14px; justify-content: center; margin-top: 26px; }
.rootpage { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.rootpage img { margin: 0 auto 18px; width: 72px; height: 72px; }
.rootpage h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; }
.rootpage p { color: var(--muted); max-width: 560px; margin-inline: auto; }

/* ------------------------------------------------------------------- Responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .split, .callout, .dl, .support-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust > div:nth-child(2) { border-right: 0; }
  .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .plans, .steps { grid-template-columns: 1fr; }
  .prose-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .hero__chip { border-radius: 14px; font-size: 12px; padding: 8px 14px; line-height: 1.4; text-align: left; }
  .hero__actions .btn { width: 100%; }
  .cards, .audience { grid-template-columns: 1fr; }
  .callout { padding: 28px 22px; }
  .auth__box { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .meta div, .kv div { grid-template-columns: 1fr; gap: 2px; }
  .langpick { grid-template-columns: 1fr; }
  .nav__actions .lang span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body::before, .nav, .footer, .toc, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}

/* Botón ojo de contraseña */
.field-pw button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; }
.field-pw button svg { width: 20px; height: 20px; }
.field-pw button .i-hide { display: none; }
.field-pw button[aria-pressed="true"] .i-show { display: none; }
.field-pw button[aria-pressed="true"] .i-hide { display: block; }
.field-pw button:focus-visible { outline: 2px solid var(--primary); }

/* Botones OAuth */
.oauth-btns { display: grid; gap: 10px; }
.btn-ms { background: #2f2f2f; color: #fff; border: 1px solid #5e5e5e; }
.btn-ms:hover { background: #3a3a3a; color: #fff; }
.btn-ms svg { width: 18px; height: 18px; }

/* Selector de idioma desplegable */
.langmenu { position: relative; }
.langmenu > summary { list-style: none; cursor: pointer; }
.langmenu > summary::-webkit-details-marker { display: none; }
.langmenu .chev { width: 14px; height: 14px; transition: transform .15s; }
.langmenu[open] .chev { transform: rotate(180deg); }
.langmenu__list { position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--bg-2, #111119); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 20; }
.langmenu__list a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text, #e8e8f0); font-size: 14px; }
.langmenu__list a:hover { background: rgba(139,92,246,.16); text-decoration: none; }
.langmenu__list a[aria-current] { color: #fff; font-weight: 700; }
.act-btns { display: grid; gap: 10px; margin-top: 18px; }
#actionBox .brand { margin-bottom: 18px; }
.langmenu__list li { margin: 0; padding: 0; }
.langmenu__list a { line-height: 1.2; font-family: inherit; letter-spacing: 0; }
.lang .chev { width: 12px; height: 12px; flex: none; }

/* Imagen de fondo del hero (alternativa al vídeo): se muestra aunque haya reducción de movimiento */

/* ------------------------------ Panel de cuenta ------------------------------ */
.summary { margin-bottom: 18px; }
.summary__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.summary__head h2 { margin: 0; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 600 13px/1 var(--mono); color: #9ff0cf; border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.stats > div { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.02); }
.stats span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.stats strong { font-size: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.promo { border-color: rgba(139,108,240,.45); background: linear-gradient(160deg, rgba(139,108,240,.14), rgba(139,108,240,.03) 60%); }
.promo__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.promo__top h2 { margin: 0; }
.promo__top .badge { color: #d8ccff; border-color: rgba(139,108,240,.5); background: var(--primary-soft); }
.promo__price { margin: 8px 0 4px; }
.promo__price strong { font-size: 32px; }
.promo__price span { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checks li { padding-left: 24px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.timeline { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.timeline li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.timeline span { color: var(--muted); }
.chips { display: flex; gap: 8px; margin: 10px 0 14px; }
.chip-link { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 14px; }
.chip-link:hover { color: #fff; border-color: var(--primary); text-decoration: none; }
.chip-link[aria-current] { color: #fff; border-color: var(--primary); background: var(--primary-soft); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* Página de verificación */
.verify { text-align: center; }
.verify__icon { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 18px; background: var(--primary-soft); color: #d8ccff; border: 1px solid rgba(139,108,240,.4); }
.verify__icon svg { width: 30px; height: 30px; }
.verify__to strong { color: #fff; word-break: break-all; }
.verify__timer { margin: 14px 0; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; font: 600 13px/1.5 var(--mono); color: var(--muted); }
.verify .form-status { margin: 0 0 10px; }
.verify .btn-stack { margin-top: 8px; }
.btn--link { background: none; border: 0; color: var(--primary); font: inherit; font-size: 14px; cursor: pointer; padding: 8px; }
.btn--link:hover { text-decoration: underline; }
.verify__tips { margin-top: 22px; text-align: left; padding-top: 16px; border-top: 1px solid var(--line-2); }
.verify__tips h2 { font-size: 15px; margin-bottom: 8px; }
.verify__tips ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }

/* Botón flotante de apoyo (opcional) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.fab[hidden] { display: none; }
.fab.is-in { opacity: 1; transform: none; }
.fab__btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(108,79,224,.45); }
.fab__btn:hover { text-decoration: none; filter: brightness(1.08); }
.fab__btn svg { width: 18px; height: 18px; }
.fab__x { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12,12,20,.9); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.fab__x:hover { color: #fff; }
@media (max-width: 560px) { .fab__btn span { display: none; } .fab__btn { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }
.fab__row { display: flex; align-items: center; gap: 6px; }
.fab__panel { width: min(380px, calc(100vw - 36px)); border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-2, #0c0c14); box-shadow: 0 24px 70px rgba(0,0,0,.6); overflow: hidden; }
.fab__panel[hidden] { display: none; }
.fab__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.fab__head strong { flex: 1; }
.fab__head a { font-size: 13px; }
.fab__frame { height: min(620px, calc(100vh - 220px)); background: #f9f9f9; }
.fab__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------ Ilustraciones decorativas ------------------------------ */
.deco { position: absolute; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.deco-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.section { position: relative; }
.section > .wrap { position: relative; z-index: 1; }
.hero > .wrap { position: relative; z-index: 1; }
.shot, .stack { isolation: isolate; }
.auth { isolation: isolate; }
.auth__box { position: relative; }
.page-head { position: relative; }
.cta { position: relative; }
.w60{width:60px}.w70{width:70px}.w80{width:80px}.w90{width:90px}.w100{width:100px}.w120{width:120px}.w130{width:130px}.w140{width:140px}.w150{width:150px}
.rot-r { rotate: 24deg; } .rot-l { rotate: -16deg; }
.p-tr { right: 4%; top: 36px; } .p-tl { left: 4%; top: 36px; } .p-br { right: 4%; bottom: 18px; } .p-bl { left: 4%; bottom: 18px; }
.p-hr { right: 2%; top: 26px; } .p-hl { left: 2%; top: 36px; }
.p-hero-rocket { left: 7%; top: 150px; } .p-hero-planet { right: 6%; top: 100px; }
.p-shot-peek { width: 150px; bottom: calc(100% - 3px); right: 11%; z-index: -1; }
.p-stack-peek { width: 62px; left: -46px; top: 34px; z-index: -1; }
.p-auth-peek { width: 124px; bottom: calc(100% - 2px); right: 34px; z-index: -1; }
.p-cta { left: 5%; bottom: 14px; } .p-cta2 { right: 6%; top: 18px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.bob { animation: bob 6s ease-in-out infinite; }
.bob:nth-child(even) { animation-duration: 7.5s; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .bob { animation: none; } }
@media (max-width: 1100px) { .deco:not(.keep) { display: none; } .p-shot-peek { width: 110px; } }
@media (max-width: 560px) { .p-stack-peek { display: none; } .p-auth-peek { width: 96px; right: 24px; } }
.nf__art { display: block; width: min(400px, 82vw); height: auto; margin: 0 auto 8px; }
.act-art { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto 10px; }
.deco.p-shot-peek { width: 150px; border: 0; border-radius: 0; box-shadow: none; }
.shot img.deco { border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 1100px) { .deco.p-shot-peek { width: 110px; } }
.auth { padding-top: 104px; }
.p-auth-peek { width: 108px; }
.stack { position: relative; }

/* ---- temporadas (seasons.js) ---- */
.season-fx { position: fixed; inset: 0; pointer-events: none; z-index: 30; }
html[data-season] body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; background: var(--season-bar, linear-gradient(90deg, #7a55ec, #e667c7)); }
html[data-season="christmas"] { --season-bar: repeating-linear-gradient(90deg, #d83a3a 0 22px, #fff 22px 30px, #2e9e5b 30px 52px, #fff 52px 60px); }
html[data-season="halloween"] { --season-bar: linear-gradient(90deg, #fb923c, #7a55ec 50%, #fb923c); }
html[data-season="valentine"] { --season-bar: linear-gradient(90deg, #f472b6, #e11d74, #f472b6); }
html[data-season="newyear"] { --season-bar: linear-gradient(90deg, #fbbf24, #f472b6, #7dd3fc, #fbbf24); }
html[data-season="independence"] { --season-bar: linear-gradient(90deg, #3b82f6, #fff, #3b82f6); }
.season-note { position: fixed; left: 18px; bottom: 66px; z-index: 45; display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 36px)); padding: 10px 40px 10px 12px; border-radius: 18px; background: rgba(21, 18, 45, .94); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; backdrop-filter: blur(10px); }
.season-note.is-in { opacity: 1; transform: none; }
.season-note img { flex: none; width: 56px; height: 56px; }
.season-note div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; min-width: 0; }
.season-note strong { color: #fff; }
.season-note span { color: var(--muted); }
.season-note__cta { flex: none; padding: 8px 14px; font-size: 13px; }
.season-note__x { position: absolute; top: 4px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; }
.season-note__x:hover { color: #fff; }
@media (max-width: 560px) { .season-note { left: 10px; right: 10px; bottom: 10px; max-width: none; } .season-note__cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .season-fx { display: none; } .season-note { transition: none; } }
.greet-sub { margin-top: 6px; }
.page-head p.warn { color: #fbbf24; }
body[data-page="account"] .page-head h1 { font-size: clamp(28px, 3.6vw, 44px); }
@media (min-width: 1100px) { body[data-page="account"] .page-head { padding-left: 150px; padding-right: 150px; } }
.w110{width:110px}.w160{width:160px}.w170{width:170px}.w180{width:180px}
@media (min-width: 1100px) { .page-head h1 { max-width: 700px; margin-inline: auto; } }

.fx-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 46; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(21, 18, 45, .7); border: 1px solid var(--line); color: var(--muted); cursor: pointer; opacity: .55; transition: opacity .2s, color .2s; }
.fx-toggle:hover, .fx-toggle:focus-visible { opacity: 1; color: #fff; }
.fx-toggle.is-off { opacity: .4; }
.fx-toggle.is-off svg { opacity: .5; }
@media (max-width: 560px) { .season-note { bottom: 60px; } }
body { overflow-x: clip; }
.p-stack-peek { width: 118px; left: calc(100% - 22px); right: auto; top: 6px; transform: none; }

/* pantalla de carga del panel */
body[data-page="account"]:not(.acc-ready) .page-head { visibility: hidden; }
.splash { display: grid; justify-items: center; gap: 14px; padding: 40px 0 120px; color: var(--muted); }
.splash img { width: 150px; height: auto; animation: splashBob 2.4s ease-in-out infinite; }
.splash p { margin: 0; font-size: 15px; }
.splash__ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(122, 85, 236, .25); border-top-color: var(--primary); animation: splashSpin .8s linear infinite; }
@keyframes splashSpin { to { transform: rotate(360deg); } }
@keyframes splashBob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .splash img, .splash__ring { animation: none; } }

/* Xu: asistente */
.xu-launch { position: fixed; right: 20px; bottom: 18px; z-index: 47; width: 64px; height: 58px; padding: 0; border: 0; background: none; cursor: pointer; overflow: visible; }
.xu-launch img { position: absolute; left: 50%; bottom: -6px; width: 64px; height: auto; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 8px 16px rgba(108, 79, 224, .6)); transition: transform .2s; }
.xu-launch:hover img, .xu-launch:focus-visible img { transform: translateX(-50%) translateY(-4px) scale(1.06); }
.has-xu .fab { bottom: 88px; }
.xu-panel { position: fixed; right: 18px; bottom: 88px; z-index: 48; width: min(380px, calc(100vw - 24px)); height: min(540px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #0f0d22; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); overflow: hidden; }
.xu-panel[hidden] { display: none; }
.xu-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(135deg, #2a1f6e, #1a1445); border-bottom: 1px solid var(--line); }
.xu-av { position: relative; flex: none; width: 34px; height: 34px; overflow: hidden; border-radius: 9px; }
.xu-av img { position: absolute; left: 50%; bottom: -3px; width: 38px; height: auto; transform: translateX(-50%); }
.xu-head strong { flex: 1; font-size: 15px; color: #fff; }
.xu-x { background: none; border: 0; color: #c4b5fd; font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.xu-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.xu-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.xu-msg--xu { align-self: flex-start; background: #1b1840; color: #e8e4ff; border-bottom-left-radius: 4px; }
.xu-msg--me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.xu-msg.is-wait { opacity: .7; font-style: italic; }
.xu-link { color: #c4b5fd; text-decoration: underline; }
.xu-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.xu-chips[hidden] { display: none; }
.xu-chip { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 11px; font-size: 13px; cursor: pointer; }
.xu-chip:hover { color: #fff; border-color: var(--primary); }
.xu-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.xu-form input { flex: 1; min-width: 0; background: #08071a; border: 1px solid var(--line); color: #fff; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; }
.xu-form .btn { padding: 8px 14px; font-size: 14px; }
.xu-note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 560px) { .xu-panel { right: 8px; left: 8px; width: auto; bottom: 84px; } body.xu-open .season-note, body.xu-open .fab { display: none; } }

/* barra de scroll del chat */
.xu-log { scrollbar-width: thin; scrollbar-color: #5b3ad6 transparent; }
.xu-log::-webkit-scrollbar { width: 8px; }
.xu-log::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.xu-log::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7a55ec, #4a2bc8); border-radius: 8px; border: 2px solid #0f0d22; }
.xu-log::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #9a7bff, #5b3ad6); }
/* si el botón «Apoyar» está visible, el chat de Xu se abre por encima para no taparlo (y poder cambiar de ventana) */
body:has(.fab.is-in) .xu-panel { bottom: 150px; height: min(540px, calc(100vh - 172px)); }
@media (max-width: 560px) { body:has(.fab.is-in) .xu-panel { bottom: 84px; height: min(540px, calc(100vh - 106px)); } }

/* raíz (/): pantalla de carga mientras se elige el idioma; si no redirige, aparecen los botones y por defecto se va a inglés */
.rootbody { background: radial-gradient(ellipse at 50% 38%, rgba(109, 70, 220, .28), transparent 60%), #07070c; }
.rootload { display: grid; justify-items: center; gap: 14px; }
.rootload img { margin: 0; width: 96px; height: 96px; filter: drop-shadow(0 12px 40px rgba(130, 90, 255, .6)); animation: rootPulse 1.8s ease-in-out infinite; }
.rootload h1 { margin: 0; font-size: 28px; letter-spacing: .3em; padding-left: .3em; }
.rootload__ring { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(122, 85, 236, .22); border-top-color: var(--primary); animation: splashSpin .8s linear infinite; margin-top: 8px; }
.rootload__txt { margin: 0; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.rootmore { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; animation: rootShow .5s 2.6s forwards; }
.rootmore p { font-size: 14px; }
@keyframes rootShow { to { max-height: 400px; opacity: 1; margin-top: 28px; } }
@keyframes rootPulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .rootload img, .rootload__ring { animation: none; } }

.rootlinks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 26px 0 0; padding: 0; font-size: .9rem; }
.rootlinks a { color: var(--muted, #9aa0b4); text-decoration: none; }
.rootlinks a:hover, .rootlinks a:focus-visible { color: var(--text, #fff); text-decoration: underline; }

.captcha:empty { display: none; }
.captcha { margin: 4px 0 12px; min-height: 78px; max-width: 100%; overflow: hidden; }

/* Botón de sesión sin parpadeo: las dos etiquetas existen y el script del <head> decide cuál se ve. */
.al-in { display: none; }
html.is-auth .al-in { display: inline; }
html.is-auth .al-out { display: none; }
html.is-redirecting body { visibility: hidden; }
