/* OroLink · diseño oscuro, violeta + oro (concepto Golden Room, más refinado). Pensado primero para el celular. */
:root {
  color-scheme: dark;
  --bg: #07060D;
  --bg2: #0B0A14;
  --card: #0F0E19;
  --card2: #141322;
  --card3: #1B192B;
  --input: #0A0913;
  --line: #1F1C30;
  --line2: #2C2942;
  --ink: #F4F2FB;
  --mut: #ACA7C3;
  --dim: #8A85A2;
  --faint: #635E7A;
  --vio: #8B5CF6;
  --vio2: #B9A4FF;
  --vio3: #6D45E8;
  --vio-soft: rgba(139, 92, 246, .14);
  --gold: #E9BB5D;
  --gold2: #F8DE9E;
  --gold3: #B4872D;
  --gold-soft: rgba(233, 187, 93, .13);
  --teal: #B9A4FF;
  --teal-soft: rgba(139, 92, 246, .14);
  --ok: #3DDC97;
  --ok-soft: rgba(61, 220, 151, .12);
  --bad: #FF7A7A;
  --bad-soft: rgba(255, 122, 122, .12);
  --warn: #F5B14C;
  --warn-soft: rgba(245, 177, 76, .13);
  --blue: #7DB4FF;
  --blue-soft: rgba(125, 180, 255, .12);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --tabh: 64px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 18px 50px -28px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { background: var(--bg); }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--vio2); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--display); letter-spacing: -.01em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.mut, .muted { color: var(--mut); } .dim { color: var(--dim); } .faint { color: var(--faint); } .sm { font-size: 13px; } .xs { font-size: 12px; }
.ok-t { color: var(--ok); } .bad-t { color: var(--bad); } .gold-t { color: var(--gold); } .warn-t { color: var(--warn); } .vio-t { color: var(--vio2); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wrap { overflow-wrap: anywhere; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vio2); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1; }
.brand svg { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 14px rgba(139, 92, 246, .35)); }
.brand > span { display: flex; flex-direction: column; }
.brand .bn { display: block; white-space: nowrap; }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: 10px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; margin-top: 5px; }
.brand b { background: linear-gradient(180deg, #FBE6B1, #E9BB5D 55%, #B4872D); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

/* ---------- botones ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 14px; background: rgba(27, 25, 43, .8); border: 1px solid var(--line2); transition: background .2s, border-color .2s, transform .12s, box-shadow .25s, filter .2s; white-space: nowrap; }
.btn:hover { border-color: #3D3958; background: var(--card3); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { flex: none; }
.btn.gold { color: #1C1406; border-color: transparent; background: linear-gradient(180deg, #F8DE9E, #E9BB5D 55%, #D39E3C); box-shadow: 0 10px 30px -14px rgba(233, 187, 93, .75), inset 0 1px 0 rgba(255, 255, 255, .45); font-weight: 700; }
.btn.gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5.5s var(--ease) infinite; }
.btn.gold:hover { filter: brightness(1.05); box-shadow: 0 14px 36px -14px rgba(233, 187, 93, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.vio { color: #fff; border-color: transparent; background: linear-gradient(180deg, #9E7BFF, #7047EB); box-shadow: 0 10px 28px -14px rgba(112, 71, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.vio:hover { filter: brightness(1.08); }
.btn.teal { background: var(--vio-soft); color: var(--vio2); border-color: rgba(139, 92, 246, .35); }
.btn.danger { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 122, 122, .35); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .04); }
.btn.sm { min-height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn.xs { min-height: 30px; padding: 0 10px; font-size: 12px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.lg { min-height: 54px; padding: 0 24px; font-size: 15.5px; border-radius: 14px; }
.link { color: var(--gold); font-weight: 600; }
.link:hover { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; }
.link-v { color: var(--vio2); font-weight: 600; }
.link-v:hover { color: #D7CBFF; }

/* ---------- campos ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .lbl { font-size: 13px; font-weight: 600; color: var(--mut); }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; background: var(--input); border: 1px solid var(--line2); outline: none; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.input::placeholder { color: var(--faint); }
.input:hover { border-color: #39355190; }
.input:focus { border-color: rgba(139, 92, 246, .75); box-shadow: 0 0 0 4px rgba(139, 92, 246, .16); background: #0C0B17; }
.input[disabled] { opacity: .65; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ACA7C3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
/* v48: selector de servidor: mientras no elige, el texto va apagado; «Otro servidor…» abre un campo debajo */
select.input:invalid { color: var(--dim); }
select.input option, select.input optgroup { color: initial; }
.srv-other { margin-top: 8px; }
.hint { font-size: 12.5px; color: var(--dim); display: block; }
.hint svg { width: 14px; height: 14px; vertical-align: -2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mut); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--vio3); flex: none; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.err { color: var(--bad); background: var(--bad-soft); border: 1px solid rgba(255, 122, 122, .3); padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.okbox { color: var(--ok); background: var(--ok-soft); border: 1px solid rgba(61, 220, 151, .3); padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.info { color: var(--mut); background: rgba(139, 92, 246, .08); border: 1px solid rgba(139, 92, 246, .25); padding: 11px 13px; border-radius: 12px; font-size: 14px; }
.info b, .okbox b, .err b { color: var(--ink); }
.pw { position: relative; }
.pw .input { padding-right: 50px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 10px; color: var(--dim); display: grid; place-items: center; }
.pw button:hover { color: var(--ink); }
.pw button svg { width: 19px; height: 19px; }
.code-in { letter-spacing: .55em; text-align: center; font-size: 26px; font-weight: 700; font-family: var(--display); }
.lockbox { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(61, 220, 151, .06); border: 1px solid rgba(61, 220, 151, .2); font-size: 13px; color: var(--mut); }
.lockbox svg { color: var(--ok); flex: none; margin-top: 2px; }
.lockbox > div > b:first-child { display: block; color: var(--ink); font-size: 13.5px; }

/* ---------- tarjetas y piezas ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 40%), var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-width: 0; box-shadow: var(--shadow); }
.card.pad0 { padding: 0; overflow: hidden; }
.card h3, .card .h3 { font-size: 16.5px; font-weight: 700; }
.card .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.card.hl { border-color: rgba(233, 187, 93, .4); background: radial-gradient(120% 130% at 0% 0%, rgba(233, 187, 93, .1), transparent 55%), var(--card); }
.card.vl { border-color: rgba(139, 92, 246, .4); background: radial-gradient(120% 130% at 0% 0%, rgba(139, 92, 246, .14), transparent 55%), var(--card); }
.kpi { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 15px; min-width: 0; box-shadow: var(--shadow); }
.kpi > span { display: block; font-size: 11.5px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.kpi > b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; letter-spacing: -.01em; }
.kpi > small { color: var(--dim); font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--card3); color: var(--mut); border: 1px solid var(--line2); white-space: nowrap; }
.pill svg { width: 13px; height: 13px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, .28); }
.pill.bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 122, 122, .3); }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 177, 76, .3); }
.pill.gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(233, 187, 93, .3); }
.pill.teal, .pill.vio { background: var(--vio-soft); color: var(--vio2); border-color: rgba(139, 92, 246, .32); }
.pill.blue { background: var(--blue-soft); color: var(--blue); border-color: rgba(125, 180, 255, .3); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); } .dot.off { background: var(--faint); } .dot.vio { background: var(--vio2); } .dot.gold { background: var(--gold); }
.dot.live { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
.spin { animation: spin 1s linear infinite; }
.empty { padding: 28px 16px; text-align: center; color: var(--dim); font-size: 14px; }
.list { display: flex; flex-direction: column; }
.li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 13px 16px; border-top: 1px solid var(--line); min-width: 0; transition: background .2s; }
.li:first-child { border-top: 0; }
.li .main { min-width: 0; flex: 1; }
.li .main > b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.li .main small { display: block; font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.li.click { cursor: pointer; }
.li.click:hover { background: rgba(255, 255, 255, .025); }
.tw { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t .r { text-align: right; }
table.t td .s { display: block; color: var(--dim); font-size: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--mut); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: #3D3958; color: var(--ink); }
.chip[aria-pressed="true"] { background: rgba(139, 92, 246, .16); color: #fff; border-color: rgba(139, 92, 246, .55); }
.sw { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--card3); border: 1px solid var(--line2); flex: none; transition: background .25s, border-color .25s, box-shadow .25s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #CFCBE0; transition: transform .3s var(--ease), background .25s; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.sw[aria-checked="true"] { background: linear-gradient(180deg, #9E7BFF, #7047EB); border-color: transparent; box-shadow: 0 0 22px -4px rgba(139, 92, 246, .7); }
.sw[aria-checked="true"]::after { transform: translateX(22px); background: #fff; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.step:first-child { border-top: 0; padding-top: 0; }
.step .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--card3); color: var(--mut); flex: none; border: 1px solid var(--line2); }
.step .n svg { width: 15px; height: 15px; }
.step.done .n { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.step .main { flex: 1; min-width: 0; }
.step .main > b { display: block; font-size: 14.5px; }
.step .main small { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; }
.lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.lv div { background: var(--input); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; min-width: 0; }
.lv > div > span { display: block; font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.lv > div > b { display: block; font-variant-numeric: tabular-nums; font-size: 15px; overflow-wrap: anywhere; }
.msg { background: var(--input); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--mut); }
.note { display: flex; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.note:first-child { border-top: 0; }
.note .dot { margin-top: 6px; }
.note small { display: block; color: var(--faint); font-size: 11.5px; }
details.card > summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .25s var(--ease); }
details.card[open] > summary::after { transform: rotate(45deg); }
details.card[open] > summary { margin-bottom: 14px; }
.acc { position: relative; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 40%), var(--card); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; box-shadow: var(--shadow); }
.acc .t { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.acc .t > div > b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.acc .t > div > small { display: block; color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.sig { display: flex; flex-direction: column; gap: 4px; }
.dir-b { color: var(--ok); font-weight: 700; } .dir-s { color: var(--bad); font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: var(--card3); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vio), var(--gold)); border-radius: 999px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabh) + 20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; max-width: min(520px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 14px; background: rgba(27, 25, 43, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line2); box-shadow: 0 16px 50px rgba(0, 0, 0, .55); font-size: 14px; animation: toastIn .3s var(--ease); }
.toast.bad { border-color: rgba(255, 122, 122, .5); }
.toast.ok { border-color: rgba(61, 220, 151, .5); }
@media (min-width: 960px) { .toast { bottom: 28px; } }
/* aviso de versión nueva: la página quedó abierta desde antes de publicar (va encima del lugar de los avisos) */
.newver { position: fixed; left: 50%; bottom: calc(var(--tabh) + 84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; width: min(520px, calc(100vw - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(27, 25, 43, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(233, 187, 93, .45); box-shadow: 0 16px 50px rgba(0, 0, 0, .55); font-size: 14px; animation: toastIn .3s var(--ease); }
.newver .btn { flex: none; }
@media (min-width: 960px) { .newver { bottom: 92px; } }
.loading { display: grid; place-items: center; min-height: 60vh; color: var(--dim); }
.loading svg { width: 30px; height: 30px; }

/* ---------- logo: moneda de oro con la línea que sube ---------- */
.lg .lg-hl { transform-box: view-box; transform-origin: 30px 34px; }
.lg-shine .lg-hl { animation: lgSpin 9s linear infinite; }
.lg-draw .lg-ln, .lg-draw .lg-hd { stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; animation: lgDraw .9s .25s var(--ease) forwards; }
.lg-draw .lg-hd { animation-duration: .45s; animation-delay: .95s; }
.lg-draw .lg-c { animation: lgPop .7s var(--ease) both; transform-box: view-box; transform-origin: 30px 34px; }
@keyframes lgDraw { 0% { opacity: 1; stroke-dashoffset: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes lgPop { from { opacity: 0; transform: scale(.82) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes lgSpin { to { transform: rotate(360deg); } }

/* ---------- niveles de una señal (entrada, SL, TP / reentrada, SL) ---------- */
.lv.lv3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv3 > div { position: relative; overflow: hidden; }
.lv3 > div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line2); }
.lv3 > .e::before { background: var(--ink); opacity: .55; }
.lv3 > .e2::before { background: var(--vio2); }
.lv3 > .sl::before { background: var(--bad); opacity: .8; }
.lv3 > .tp::before { background: var(--ok); }
.lv3 > .tp > b { color: var(--ok); } .lv3 > .sl > b { color: #FFB1B1; } .lv3 > .e2 > b { color: #D7CBFF; }
/* precio real donde entró la parte, debajo del precio del mensaje (v37) */
/* un estado largo («Cerrada · Se canceló la reentrada…») se parte en líneas en vez de salirse de la tarjeta */
.pill.wrap { white-space: normal; border-radius: 12px; max-width: 100%; }
.lv .lv-real { display: block; margin-top: 3px; font-size: 11px; line-height: 1.3; color: var(--gold2); font-family: var(--mono); letter-spacing: -.02em; }

/* ---------- listas: botón «ver más» al pie ---------- */
.grid2.g-start { align-items: start; }
.more-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--vio2); transition: background .2s; }
.more-btn:hover { background: rgba(139, 92, 246, .06); }
.more-btn svg { width: 16px; height: 16px; }

/* ---------- tablas que en el celular se vuelven tarjetas ---------- */
@media (max-width: 640px) {
  table.t.resp thead { display: none; }
  table.t.resp, table.t.resp tbody { display: block; }
  table.t.resp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 13px 16px; border-top: 1px solid var(--line); }
  table.t.resp tr:first-child { border-top: 0; }
  table.t.resp td { display: block; padding: 0; border: 0; text-align: left !important; min-width: 0 !important; overflow-wrap: anywhere; }
  table.t.resp td.full { grid-column: 1 / -1; }
  table.t.resp td[data-l]::before { content: attr(data-l); display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
}

/* ---------- cargando: esqueleto con brillo ---------- */
.sk { display: grid; gap: 14px; padding-top: 4px; }
.sk i, .sk .sk-row i { display: block; border-radius: 14px; background: linear-gradient(100deg, var(--card) 30%, var(--card3) 50%, var(--card) 70%); background-size: 300% 100%; animation: skShine 1.3s ease-in-out infinite; border: 1px solid var(--line); }
.sk .sk-s { width: 90px; height: 12px; border-radius: 6px; }
.sk .sk-h { width: min(340px, 70%); height: 30px; border-radius: 10px; margin-top: -6px; }
.sk .sk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .sk .sk-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sk .sk-row i { height: 84px; }
.sk .sk-c { height: 180px; border-radius: 18px; }
.sk .sk-c.s2 { height: 120px; opacity: .7; }
@keyframes skShine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- la página entra: tarjetas una tras otra ---------- */
#main.enter > * { animation: cardIn .6s var(--ease) both; }
#main.enter > *:nth-child(2) { animation-delay: .05s; } #main.enter > *:nth-child(3) { animation-delay: .1s; } #main.enter > *:nth-child(4) { animation-delay: .15s; }
#main.enter > *:nth-child(5) { animation-delay: .2s; } #main.enter > *:nth-child(6) { animation-delay: .25s; } #main.enter > *:nth-child(7) { animation-delay: .3s; } #main.enter > *:nth-child(n+8) { animation-delay: .35s; }
#main.enter .res4 > *, #main.enter .kpis > *, #main.enter .grid3 > *, #main.enter .stack > *, #main.enter .grid2 > * { animation: cardIn .6s var(--ease) both; }
#main.enter .res4 > *:nth-child(2), #main.enter .kpis > *:nth-child(2), #main.enter .grid3 > *:nth-child(2), #main.enter .stack > *:nth-child(2), #main.enter .grid2 > *:nth-child(2) { animation-delay: .08s; }
#main.enter .res4 > *:nth-child(3), #main.enter .kpis > *:nth-child(3), #main.enter .grid3 > *:nth-child(3), #main.enter .stack > *:nth-child(3), #main.enter .grid2 > *:nth-child(3) { animation-delay: .16s; }
#main.enter .res4 > *:nth-child(n+4), #main.enter .kpis > *:nth-child(n+4), #main.enter .grid3 > *:nth-child(n+4), #main.enter .stack > *:nth-child(n+4), #main.enter .grid2 > *:nth-child(n+4) { animation-delay: .24s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lg-shine .lg-hl, .lg-draw .lg-ln, .lg-draw .lg-hd, .lg-draw .lg-c, .sk i, #main.enter > *, #main.enter .res4 > *, #main.enter .kpis > *, #main.enter .grid3 > *, #main.enter .stack > *, #main.enter .grid2 > * { animation: none !important; }
  .lg-draw .lg-ln, .lg-draw .lg-hd { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
}

/* ---------- panel (cliente y admin) ---------- */
.shell { min-height: 100vh; background: radial-gradient(60% 40% at 100% 0%, rgba(139, 92, 246, .09), transparent 60%), radial-gradient(40% 30% at 70% 100%, rgba(233, 187, 93, .05), transparent 60%), var(--bg); }
.side { display: none; }
.appbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(10px, env(safe-area-inset-top, 0px)) var(--gr) 10px var(--gl); background: rgba(7, 6, 13, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.appbar .brand { font-size: 18px; }
.appbar .brand svg { width: 32px; height: 32px; }
.appbar .brand small { display: none; }
#main { padding: 20px var(--gr) calc(var(--tabh) + 30px + env(safe-area-inset-bottom, 0px)) var(--gl); max-width: 1180px; margin: 0 auto; min-width: 0; animation: pageIn .45s var(--ease) both; }
.ph { margin-bottom: 18px; }
.ph small { display: block; font-size: 12px; font-weight: 700; color: var(--vio2); text-transform: uppercase; letter-spacing: .16em; }
.ph h1 { font-size: 28px; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; }
.ph p { color: var(--mut); margin-top: 6px; font-size: 14.5px; max-width: 760px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; background: rgba(11, 10, 20, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-left, 0px)) max(6px, env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-right, 0px)); }
.tab { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: var(--dim); font-size: 11px; font-weight: 600; transition: color .2s, background .2s; }
.tab svg { width: 22px; height: 22px; }
.tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: #fff; background: rgba(139, 92, 246, .16); }
.tab[aria-current="page"] svg { color: var(--vio2); }
.imp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--blue-soft); border: 1px solid rgba(125, 180, 255, .35); color: var(--ink); font-size: 14px; margin-bottom: 14px; }
.testbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(233, 187, 93, .07); border: 1px dashed rgba(233, 187, 93, .35); color: var(--gold2); font-size: 12.5px; margin-bottom: 14px; }
.testbar svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
/* En el celular el panel es como una app: la página no hace scroll, solo el contenido (#scroller). La barra de arriba
   (OroLink y tu foto) y el menú de abajo están en la columna y no se mueven aunque el navegador encoja su barra. */
@media (max-width: 959.98px) {
  html.app-lock, html.app-lock body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  html.app-lock #app { height: 100%; }
  html.app-lock .shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  html.app-lock .appbar { position: relative; top: auto; flex: none; }
  html.app-lock .scroller { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  html.app-lock #main { padding-bottom: 30px; }
  html.app-lock .tabbar { position: relative; flex: none; }
}
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; padding: 22px 14px; background: linear-gradient(180deg, rgba(139, 92, 246, .06), transparent 30%), var(--bg2); border-right: 1px solid var(--line); overflow-y: auto; }
  .side > .brand { padding: 4px 8px; }
  .side nav { display: flex; flex-direction: column; gap: 3px; }
  .side .tab { flex-direction: row; justify-content: flex-start; gap: 12px; font-size: 14px; padding: 10px 12px; flex: none; }
  .side .tab svg { width: 20px; height: 20px; }
  .side .tab[aria-current="page"] { background: linear-gradient(90deg, rgba(139, 92, 246, .2), rgba(139, 92, 246, .05)); }
  .side .tab[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--gold), var(--vio)); }
  .side .who { margin-top: auto; padding: 13px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
  .side .who > b { display: block; overflow-wrap: anywhere; } .side .who > small { display: block; color: var(--dim); overflow-wrap: anywhere; margin-bottom: 9px; }
  .appbar, .tabbar { display: none; }
  #main { padding: 30px 34px 52px; width: 100%; }
}

/* ---------- panel del cliente ---------- */
.robot { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 20px; border: 1px solid rgba(139, 92, 246, .45); background: radial-gradient(120% 160% at 0% 0%, rgba(139, 92, 246, .22), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(233, 187, 93, .1), transparent 60%), var(--card); box-shadow: 0 30px 70px -40px rgba(139, 92, 246, .8); }
.robot.off { border-color: var(--line2); box-shadow: var(--shadow); background: radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, .04), transparent 55%), var(--card); }
.robot .eyebrow { color: var(--gold); }
.robot .eyebrow::before { display: none; }
.robot b.t { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; margin-top: 6px; letter-spacing: -.01em; }
.robot .s { color: var(--mut); font-size: 13.5px; margin-top: 2px; display: block; }
.robot .orbit { position: absolute; right: 86px; top: 50%; width: 120px; height: 120px; margin-top: -60px; border-radius: 50%; border: 1px dashed rgba(185, 164, 255, .18); animation: spin 26s linear infinite; pointer-events: none; }
.robot .orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.robot.off .orbit { display: none; }
.robot .sw { transform: scale(1.12); }
@media (max-width: 520px) { .robot .orbit { display: none; } .robot b.t { font-size: 19px; } }
.res4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .res4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.res4 .kpi b { font-size: 30px; margin: 0 0 2px; }
.res4 .kpi span { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--mut); }
.kpi3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .kpi3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi3 > :last-child { grid-column: 1 / -1; } }
.kpi .bar { margin-top: 10px; height: 6px; }
.ledger { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.ledger b { font-family: var(--display); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.onb { display: grid; gap: 10px; }
.onb .it { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); }
.onb .it .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; background: var(--card3); border: 1px solid var(--line2); color: var(--mut); }
.onb .it.done .n { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.onb .it.now { border-color: rgba(233, 187, 93, .45); background: rgba(233, 187, 93, .05); }
.onb .it.now .n { border-color: var(--gold); color: var(--gold); animation: ring 1.8s infinite; }
.onb .it .main { flex: 1; min-width: 0; }
.onb .it .main > b { display: block; font-size: 14.5px; }
.onb .it .main > small { display: block; color: var(--dim); font-size: 12.5px; }
.acc .hdr { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.acc .hdr .av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, rgba(139, 92, 246, .25), rgba(139, 92, 246, .08)); border: 1px solid rgba(139, 92, 246, .35); color: var(--vio2); font-family: var(--display); font-weight: 800; font-size: 13px; }
.acc .hdr .who2 { display: flex; gap: 12px; align-items: center; min-width: 0; }
.acc .hdr .who2 b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.acc .hdr small { display: block; color: var(--dim); font-size: 12.5px; overflow-wrap: anywhere; }
.acc .foot2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.acc.live { border-color: rgba(61, 220, 151, .28); }
.conn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(125, 180, 255, .06); border: 1px solid rgba(125, 180, 255, .22); font-size: 13.5px; color: var(--mut); }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 18px; flex: none; }
.bars i { width: 4px; border-radius: 2px; background: var(--blue); animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s; } .bars i:nth-child(3) { animation-delay: .3s; }
/* ---------- la cuenta se está conectando (v37): OroLink → MT5, pasos reales, tiempo y barra ---------- */
.acc.linking { border-color: rgba(125, 180, 255, .3); box-shadow: 0 24px 60px -36px rgba(125, 180, 255, .55), var(--shadow); }
.cbox { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 16px 14px 14px; border-radius: 16px; border: 1px solid rgba(125, 180, 255, .25);
  background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .16), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(125, 180, 255, .12), transparent 60%), var(--input); }
.cbox::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .05) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 3.6s ease-in-out infinite; pointer-events: none; }
.cbridge { display: flex; align-items: flex-start; gap: 8px; padding: 0 2px; }
.cend { display: grid; justify-items: center; gap: 5px; flex: none; }
.cend small { font-size: 11px; font-weight: 600; color: var(--dim); letter-spacing: .02em; }
.cnode { position: relative; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line2); }
.cnode.me { border-color: rgba(233, 187, 93, .4); box-shadow: 0 0 26px -8px rgba(233, 187, 93, .55); }
.cnode.me .lg { width: 32px; height: 32px; }
.cnode.mt5 { color: var(--blue); border-color: rgba(125, 180, 255, .45); box-shadow: 0 0 26px -8px rgba(125, 180, 255, .6); }
.cring { position: absolute; inset: -1px; border-radius: 15px; border: 2px solid rgba(125, 180, 255, .55); animation: cRing 2.2s cubic-bezier(.2, .7, .3, 1) infinite; pointer-events: none; }
.cring.r2 { animation-delay: 1.1s; }
.ctrack { position: relative; flex: 1; min-width: 40px; height: 2px; margin-top: 23px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(185, 164, 255, .4) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: cDash 1s linear infinite; }
.ctrack i { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold), 0 0 22px rgba(233, 187, 93, .6); opacity: 0; animation: cFly 2.1s cubic-bezier(.45, 0, .55, 1) infinite; }
.ctrack i:nth-child(2) { animation-delay: .7s; background: var(--vio2); box-shadow: 0 0 10px var(--vio2), 0 0 22px rgba(185, 164, 255, .6); }
.ctrack i:nth-child(3) { animation-delay: 1.4s; background: var(--blue); box-shadow: 0 0 10px var(--blue), 0 0 22px rgba(125, 180, 255, .6); }
.cbar { position: relative; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.cbar > i { position: relative; display: block; height: 100%; min-width: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--vio), var(--blue), var(--gold), var(--vio)); background-size: 300% 100%; animation: cFlow 3s linear infinite; transition: width 1s linear; box-shadow: 0 0 14px rgba(125, 180, 255, .45); }
.cmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; }
.cmeta b { font-weight: 600; color: var(--ink); min-width: 0; }
.cmeta [data-clock] { flex: none; font-family: var(--mono); font-size: 13px; color: var(--blue); padding: 2px 8px; border-radius: 8px; background: var(--blue-soft); border: 1px solid rgba(125, 180, 255, .25); }
.csteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.csteps li { display: flex; gap: 11px; align-items: center; min-width: 0; }
.csteps li > div { min-width: 0; }
.csteps .ci { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--faint); background: var(--card3); border: 1px solid var(--line2); }
.csteps .ci svg { width: 14px; height: 14px; stroke-width: 3; }
.csteps li b { display: block; font-size: 13.5px; font-weight: 600; color: var(--faint); }
.csteps li small { display: block; font-size: 12px; color: var(--faint); }
.csteps li.done .ci { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, .45); animation: cPop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.csteps li.done b { color: var(--mut); }
.csteps li.now .ci { border-color: rgba(125, 180, 255, .6); background: var(--blue-soft); }
.csteps li.now b { color: #fff; } .csteps li.now small { color: var(--dim); }
.csteps li.now { animation: cStepIn .5s var(--ease) both; }
.cspin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(125, 180, 255, .28); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.rconn { display: grid; gap: 6px; margin-top: 12px; max-width: 460px; }
.rconn .cmeta { font-size: 12.5px; } .rconn .cmeta b { font-weight: 500; color: var(--mut); }
.onb .rconn { margin-top: 10px; } .onb .rconn .cbar { height: 6px; }
.robot.linking { border-color: rgba(125, 180, 255, .4); }
/* recién conectada */
.acc.just-ok { border-color: rgba(61, 220, 151, .55); animation: cGlow 2.4s ease-out both; }
.cok { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(61, 220, 151, .2), transparent 60%), var(--input); border: 1px solid rgba(61, 220, 151, .4); animation: cardIn .6s var(--ease) both; }
.cok b { display: block; font-family: var(--display); font-size: 17px; color: #fff; }
.cok small { display: block; font-size: 13px; color: var(--mut); }
.cok-ic { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #05261A; animation: cPop .6s cubic-bezier(.2, 1.5, .4, 1) both, pulse 1.6s .6s 3; }
.cok-ic svg { width: 24px; height: 24px; stroke-width: 3.2; }
.cok-ic i { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--gold); opacity: 0; animation: cSpark .9s .25s ease-out both; }
.cok-ic i:nth-child(2) { --a: 0deg; } .cok-ic i:nth-child(3) { --a: 60deg; background: var(--ok); } .cok-ic i:nth-child(4) { --a: 120deg; background: var(--vio2); }
.cok-ic i:nth-child(5) { --a: 180deg; } .cok-ic i:nth-child(6) { --a: 240deg; background: var(--ok); } .cok-ic i:nth-child(7) { --a: 300deg; background: var(--vio2); }
/* no se pudo conectar: el plan sigue pagado → reintentar la misma cuenta o usar otra */
.okbox svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: var(--input); border: 1px solid var(--line); }
.seg button { min-height: 42px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--mut); transition: background .2s, color .2s, box-shadow .2s; }
.seg button svg { width: 16px; height: 16px; flex: none; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: rgba(139, 92, 246, .2); color: #fff; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .55); }
.retry-who { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.retry-who svg { color: var(--vio2); flex: none; }
.retry-who b { color: var(--ink); font-family: var(--mono); }
@keyframes cRing { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes cDash { to { background-position: 24px 0; } }
@keyframes cFly { 0% { left: 0; opacity: 0; transform: scale(.5); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; transform: scale(.7); } }
@keyframes cFlow { to { background-position: -300% 0; } }
@keyframes cPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cStepIn { from { opacity: .4; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes cSpark { 0% { opacity: 1; transform: rotate(var(--a, 0deg)) translateX(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a, 0deg)) translateX(36px) scale(.3); } }
@keyframes cGlow { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55), var(--shadow); } 60% { box-shadow: 0 0 0 14px rgba(61, 220, 151, 0), var(--shadow); } 100% { box-shadow: var(--shadow); } }
@media (prefers-reduced-motion: reduce) {
  .cbox::before, .ctrack i, .cring { display: none; }
  .ctrack, .cbar > i, .csteps li.now, .csteps li.done .ci, .cok, .cok-ic, .acc.just-ok { animation: none !important; }
  .cok-ic i { display: none; }
  .cspin { animation-duration: 2.4s; }
}
.plan { display: flex; flex-direction: column; gap: 12px; }
.plan .amt { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.plan .amt small { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.menu { display: flex; flex-direction: column; }
.menu a, .menu button { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-top: 1px solid var(--line); text-align: left; width: 100%; font-weight: 600; transition: background .2s; }
.menu a:first-child, .menu button:first-child { border-top: 0; }
.menu a:hover, .menu button:hover { background: rgba(255, 255, 255, .025); }
.menu .ic2 { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--card3); border: 1px solid var(--line2); color: var(--vio2); flex: none; }
.menu .main { flex: 1; min-width: 0; }
.menu small { display: block; color: var(--dim); font-weight: 500; font-size: 12.5px; }
.menu .go { color: var(--faint); }
.tline { position: relative; display: grid; gap: 0; }
.tline .ev { position: relative; display: flex; gap: 12px; padding: 0 0 14px 0; }
.tline .ev::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tline .ev:last-child::before { display: none; }
.tline .ev i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--card3); border: 1px solid var(--line2); color: var(--mut); font-style: normal; }
.tline .ev i svg { width: 14px; height: 14px; }
.tline .ev.ok i { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.tline .ev.gold i { background: var(--gold-soft); color: var(--gold); border-color: rgba(233, 187, 93, .4); }
.tline .ev.bad i { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 122, 122, .4); }
.tline .ev > div > b { display: block; font-size: 14px; }
.tline .ev > div > small { display: block; color: var(--dim); font-size: 12.5px; }
.sigcard .top2 { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sigcard .ttl { font-family: var(--display); font-weight: 700; font-size: 17px; }
.res-chip { font-family: var(--display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* plan: en el celular el botón va debajo del texto (si no, el texto queda apretado en tres líneas) */
@media (max-width: 520px) { .li-pay { flex-wrap: wrap; } .li-pay .main { flex-basis: 100%; } .li-pay .btn { width: 100%; justify-content: center; } }

/* ---------- en vivo: precio y ganancia flotante ---------- */
.lc { position: relative; overflow: hidden; border-color: rgba(61, 220, 151, .26); background: radial-gradient(120% 140% at 100% 0%, rgba(61, 220, 151, .09), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .13), transparent 60%), var(--card); transition: border-color .5s var(--ease); }
.lc.neg { border-color: rgba(255, 122, 122, .3); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 122, .09), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .13), transparent 60%), var(--card); }
.lc-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lc-t { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.lc-px { font-size: 13px; color: var(--mut); padding: 4px 11px; border-radius: 999px; background: var(--input); border: 1px solid var(--line); transition: color .35s, border-color .35s; }
.lc-px b { color: var(--ink); font-weight: 700; }
.lc-px.up { border-color: rgba(61, 220, 151, .55); } .lc-px.up b { color: var(--ok); }
.lc-px.down { border-color: rgba(255, 122, 122, .55); } .lc-px.down b { color: var(--bad); }
.lc-main { margin-top: 14px; }
.lc-lbl { display: block; font-size: 11.5px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.lc-total { display: block; font-family: var(--display); font-size: clamp(38px, 10vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; }
.lc-sub { display: block; color: var(--mut); font-size: 13px; margin-top: 2px; }
.lc-sp { position: relative; height: 56px; margin: 12px 6px 2px 0; }
.lc-sp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lc-sp .ln { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.lc-sp .ar { opacity: .16; }
.lc-sp .zero { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.lc-sp.pos .ln { stroke: var(--ok); } .lc-sp.pos .ar { fill: var(--ok); }
.lc-sp.neg .ln { stroke: var(--bad); } .lc-sp.neg .ar { fill: var(--bad); }
.lc-end { position: absolute; right: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ok); border: 2px solid #0B1A14; animation: pulse 1.6s infinite; transition: top .7s var(--ease); }
.lc-sp.neg .lc-end { background: var(--bad); border-color: #1F0D10; animation-name: pulseBad; }
.lc-end.wait { background: var(--dim); border-color: var(--card); animation-name: pulseDim; }
@keyframes pulseBad { 70% { box-shadow: 0 0 0 8px rgba(255, 122, 122, 0); } 0% { box-shadow: 0 0 0 0 rgba(255, 122, 122, .6); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 122, 0); } }
@keyframes pulseDim { 0% { box-shadow: 0 0 0 0 rgba(172, 167, 195, .45); } 70% { box-shadow: 0 0 0 8px rgba(172, 167, 195, 0); } 100% { box-shadow: 0 0 0 0 rgba(172, 167, 195, 0); } }
.lc-list { display: grid; gap: 8px; margin-top: 10px; }
.lc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); animation: lcIn .45s var(--ease) both; }
.lc-l { min-width: 0; }
.lc-l > b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.lc-l small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.lc-side { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; margin-bottom: 4px; }
.lc-side.buy { color: var(--ok); background: var(--ok-soft); } .lc-side.sell { color: var(--bad); background: var(--bad-soft); }
.lc-r { text-align: right; flex: none; }
.lc-r > b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; }
.lc-r small { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.lc-grp { border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; gap: 8px; background: rgba(255, 255, 255, .015); }
.lc-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding: 2px 4px; color: inherit; text-decoration: none; }
.lc-gh span { color: var(--dim); font-size: 12px; flex: 1; }
.lc-gh b.num { font-family: var(--display); font-size: 18px; }
.lc-empty { color: var(--dim); font-size: 13.5px; margin-top: 10px; }
/* v153: en el admin, las cuentas de cada señal se abren y se cierran; cerrada queda el total y una línea por señal */
.lc-tg { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--input); color: var(--mut); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, border-color .2s; }
.lc-tg:hover { color: var(--ink); border-color: var(--line2); }
.lc-tg:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lc-tg svg { width: 14px; height: 14px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.lc-cerrada .lc-tg svg { transform: none; }
.lc-cerrada .lc-grp { gap: 0; padding: 8px 10px; }
.lc-cerrada .lc-grp .lc-row { display: none; }
@media (prefers-reduced-motion: reduce) { .lc-tg svg { transition: none; } }
.lc-note { color: var(--faint); font-size: 11.5px; margin-top: 12px; }
.flash-up { animation: flashUp .8s var(--ease); } .flash-down { animation: flashDown .8s var(--ease); }
@keyframes lcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes flashUp { 30% { text-shadow: 0 0 22px rgba(61, 220, 151, .7); } 100% { text-shadow: none; } }
@keyframes flashDown { 30% { text-shadow: 0 0 22px rgba(255, 122, 122, .7); } 100% { text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .lc-row, .flash-up, .flash-down, .lc-end { animation: none; } }

/* ---------- resultados del cliente: puntito de color en cada número ---------- */
.res4 .kpi { overflow: hidden; }
.res4 .kpi .kd { position: absolute; right: 14px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 4px rgba(255, 255, 255, .03); }
.res4 .kpi .kd.ok { background: var(--ok); box-shadow: 0 0 14px rgba(61, 220, 151, .6); } .res4 .kpi .kd.gold { background: var(--gold); box-shadow: 0 0 14px rgba(233, 187, 93, .55); } .res4 .kpi .kd.bad { background: var(--bad); box-shadow: 0 0 14px rgba(255, 122, 122, .55); }

/* ---------- últimas operaciones (lista que se acomoda en el celular) ---------- */
.trows { display: flex; flex-direction: column; padding: 6px 0 4px; }
.trow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 12px; padding: 11px 16px; border-top: 1px solid var(--line); transition: background .2s; }
.trow:first-child { border-top: 0; }
.trow:hover { background: rgba(255, 255, 255, .02); }
.tr-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--card3); border: 1px solid var(--line2); color: var(--mut); }
.tr-ic svg { width: 16px; height: 16px; }
.tr-ic.vio { color: var(--vio2); background: var(--vio-soft); border-color: rgba(139, 92, 246, .35); }
.tr-ic.ok { color: var(--ok); background: var(--ok-soft); border-color: rgba(61, 220, 151, .35); }
.tr-ic.bad { color: var(--bad); background: var(--bad-soft); border-color: rgba(255, 122, 122, .35); }
.tr-m { min-width: 0; }
.tr-m > b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-m > small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-p { text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tr-p small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 500; }
.tr-r { text-align: right; min-width: 74px; }
.tr-r b { font-family: var(--display); font-size: 16px; }
@media (max-width: 560px) {
  .trow { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 11px 14px; }
  .tr-p { grid-column: 2; grid-row: 2; text-align: left; font-size: 12.5px; color: var(--mut); font-weight: 500; display: flex; gap: 8px; align-items: baseline; }
  .tr-p small { display: inline; }
  .tr-ic { grid-row: 1 / span 2; }
  .tr-r { grid-column: 3; grid-row: 1 / span 2; min-width: 0; }
}

/* ---------- barra de abajo (celular): el botón activo con una rayita arriba ---------- */
.tabbar .tab[aria-current="page"]::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold), var(--vio)); animation: tabIn .35s var(--ease) both; }
@keyframes tabIn { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- robot encendido: un brillo pasa por la tarjeta ---------- */
.robot:not(.off)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(185, 164, 255, .12) 50%, transparent 65%); transform: translateX(-100%); animation: robotSweep 7s var(--ease) infinite; }
@keyframes robotSweep { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.robot .sw[aria-checked="true"] { animation: swGlow 2.4s ease-in-out infinite; }
@keyframes swGlow { 0%, 100% { box-shadow: 0 0 22px -4px rgba(139, 92, 246, .7); } 50% { box-shadow: 0 0 30px 0 rgba(139, 92, 246, .9); } }

/* ---------- señales del admin: segunda línea con los niveles ---------- */
.li .main small.lvl { color: var(--mut); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) { .robot::after, .robot .sw, .tabbar .tab::before { animation: none !important; } }

/* ---------- foto de perfil (o las iniciales) ---------- */
.ava { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: 13.5px; letter-spacing: .02em; color: var(--gold2); background: radial-gradient(120% 120% at 30% 15%, rgba(233, 187, 93, .3), transparent 60%), linear-gradient(160deg, #2A2140, #15121F); box-shadow: 0 6px 18px -8px rgba(139, 92, 246, .7); user-select: none; -webkit-user-select: none; }
.ava::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(233, 187, 93, .5); pointer-events: none; }
.ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ava.has { background: var(--card3); }
.ava.xs { width: 32px; height: 32px; font-size: 11.5px; }
.ava.xl { width: 104px; height: 104px; font-size: 34px; }
.ava.xl::after { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); }
.who-u { display: flex; align-items: center; gap: 10px; min-width: 0; margin: -4px -4px 10px; padding: 4px; border-radius: 12px; transition: background .2s; }
a.who-u:hover { background: rgba(255, 255, 255, .035); }
.who-u > span { min-width: 0; }
.who-u b { display: block; font-size: 13.5px; overflow-wrap: anywhere; }
.who-u small { display: block; color: var(--dim); font-size: 12px; overflow-wrap: anywhere; }
.ab-ava { display: inline-flex; border-radius: 50%; transition: transform .2s var(--ease); }
.ab-ava:active { transform: scale(.94); }
.u-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.u-who > div { min-width: 0; }
.u-who b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.u-who small { display: block; color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.file-in { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
label:has(> .file-in:focus-visible) { outline: 2px solid var(--vio2); outline-offset: 2px; }
label.busy { opacity: .55; pointer-events: none; }

/* ---------- perfil: tarjeta con la foto, los datos y el resumen ---------- */
.prof { padding: 0; overflow: hidden; border-color: rgba(233, 187, 93, .3); background: radial-gradient(90% 130% at 0% 0%, rgba(139, 92, 246, .22), transparent 55%), radial-gradient(70% 110% at 100% 0%, rgba(233, 187, 93, .13), transparent 60%), var(--card); }
.prof::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.prof-top { position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 22px 20px; }
.prof-ava { position: relative; flex: none; width: 112px; height: 112px; display: grid; place-items: center; }
.prof-ava::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), var(--vio), var(--gold2), var(--vio3), var(--gold)); animation: spin 9s linear infinite; }
.prof-ava::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--card); }
.prof-ava > .ava { position: relative; z-index: 1; }
.prof-cam { position: absolute; z-index: 2; right: 0; bottom: 4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #1A1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 0 0 3px var(--card), 0 8px 18px -6px rgba(233, 187, 93, .7); transition: transform .2s var(--ease); }
.prof-cam:hover { transform: scale(1.08); }
.prof-cam svg { width: 17px; height: 17px; }
.prof-id { flex: 1 1 240px; min-width: 0; }
.prof-id .eyebrow { color: var(--gold); }
.prof-id h2 { font-size: 27px; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.prof-id p { color: var(--mut); font-size: 14px; overflow-wrap: anywhere; }
.prof-acts { display: flex; gap: 8px; flex-wrap: wrap; align-self: flex-start; }
.prof-acts label.btn { cursor: pointer; position: relative; }
.prof-stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(7, 6, 13, .35); }
.prof-stats > div { min-width: 0; padding: 14px 18px; border-left: 1px solid var(--line); }
.prof-stats > div:first-child { border-left: 0; }
.prof-stats span { display: block; font-size: 11px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.prof-stats b { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; margin-top: 3px; overflow-wrap: anywhere; letter-spacing: -.01em; }
.prof-since { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.prof-since svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
@media (max-width: 640px) {
  .prof-top { flex-direction: column; text-align: center; gap: 14px; padding: 22px 16px 18px; }
  .prof-id { flex-basis: auto; width: 100%; }
  .prof-id .row { justify-content: center; }
  .prof-acts { align-self: center; justify-content: center; }
  .prof-stats { grid-template-columns: 1fr 1fr; }
  .prof-stats > div { padding: 13px 16px; }
  .prof-stats > div:nth-child(3) { border-left: 0; }
  .prof-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- «Tus cuentas»: balance total, equidad en vivo y cada cuenta ---------- */
.bal { overflow: hidden; border-color: rgba(233, 187, 93, .3); background: radial-gradient(110% 140% at 100% 0%, rgba(233, 187, 93, .11), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .11), transparent 60%), var(--card); }
.bal-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bal-t { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.bal-t svg { width: 16px; height: 16px; }
.bal-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 14px; }
.bal-k { min-width: 0; }
.bal-k span { display: block; font-size: 11.5px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.bal-k b { display: block; font-family: var(--display); font-size: clamp(21px, 6vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; overflow-wrap: anywhere; }
.bal-k small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.bal-k + .bal-k { padding-left: 18px; border-left: 1px solid var(--line); }
.bal-bar { display: flex; gap: 3px; height: 8px; margin-top: 16px; padding: 0; border-radius: 99px; overflow: hidden; background: var(--input); }
.bal-bar i { display: block; min-width: 6px; border-radius: 99px; transform-origin: left center; transition: flex .8s var(--ease); animation: balGrow 1.1s var(--ease) both; }
.bal-bar i:nth-child(2) { animation-delay: .1s; } .bal-bar i:nth-child(3) { animation-delay: .2s; } .bal-bar i:nth-child(n+4) { animation-delay: .3s; }
@keyframes balGrow { from { transform: scaleX(0); opacity: .4; } to { transform: none; opacity: 1; } }
.bal-list { display: grid; gap: 8px; margin-top: 14px; }
.bal-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); animation: lcIn .45s var(--ease) both; }
.bal-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .05); }
.bl-l { flex: 1; min-width: 0; }
.bl-l b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-l small { display: block; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.bl-r { flex: none; text-align: right; }
.bl-r b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; }
.bl-r small { display: block; color: var(--dim); font-size: 11.5px; }
@media (max-width: 440px) { .bal-main { gap: 12px 14px; } .bal-k + .bal-k { padding-left: 14px; } .bal-k small { font-size: 12px; } }
@media (max-width: 350px) { .bal-main { grid-template-columns: 1fr; } .bal-k + .bal-k { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { .prof-ava::before, .bal-bar i, .bal-row { animation: none; } }
/* tarjetas en vivo que se conservan al refrescar la página: sin repetir la entrada */
.kept .lc-row, .kept .bal-row, .kept .bal-bar i { animation: none; }

/* ---------- Telegram del cliente (Grupos) ---------- */
.tgc .tgc-me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); }
.tgc .tgc-me .main { flex: 1; min-width: 0; }
.tgc .tgc-me .main b { display: block; }
.tgc .tgc-me .main small { color: var(--dim); font-size: 12.5px; }
.tgc-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--vio2); background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .3); }
.tgc-ic.big { width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(160deg, #4FB3F6, #2A8BD8); border: 0; }
.tgc-tools { display: flex; gap: 8px; margin-top: 14px; }
.tgc-tools .input { flex: 1; min-width: 0; }
.tgc-count { margin-top: 10px; }
.tgc-list { margin-top: 10px; max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.tgc-li { gap: 12px; }
.tgc-li .main small.tgc-st { color: var(--gold); margin-top: 3px; font-size: 12px; }
.tgc-r { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tgc-why { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.tgc-why li { display: flex; align-items: center; gap: 8px; color: var(--mut); font-size: 13px; }
.tgc-why li svg { color: var(--vio2); flex: 0 0 auto; }
@media (max-width: 520px) { .tgc-li .pill { display: none; } }

/* ---------- ranking de grupos (admin) ---------- */
.rk-t td.rk { width: 34px; color: var(--gold); font-weight: 700; }
.rk-t tbody tr:nth-child(1) td.rk, .rk-t tbody tr:nth-child(2) td.rk, .rk-t tbody tr:nth-child(3) td.rk { font-size: 16px; }
.rk-act { text-align: right; white-space: nowrap; }

/* ---------- pagos con Whop ---------- */
.wsteps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--mut); }
.wsteps b { color: var(--ink); }
.perm { display: grid; gap: 6px; margin-top: 8px; }
.perm > div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.perm code { font-family: var(--mono, ui-monospace, monospace); font-size: 12px; color: var(--gold); white-space: nowrap; }
.perm span { color: var(--ink); font-size: 13px; }
.li-pay .pay-act { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pay-ok { border-color: rgba(52, 211, 153, .35); }
/* freno de emergencia (admin) */
.card.brake-on { border-color: rgba(255, 122, 122, .45); background: radial-gradient(120% 130% at 0% 0%, rgba(255, 122, 122, .13), transparent 55%), var(--card); }
.card.brake-on h3 { display: flex; align-items: center; gap: 8px; color: var(--bad); }
.brake-opts { display: grid; gap: 10px; margin-top: 12px; }
.brake-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.brake-opt small { display: block; color: var(--mut); margin-top: 3px; line-height: 1.45; }
.brake-opt .btn { flex: none; }
.brake-ask { display: grid; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 122, 122, .35); background: var(--bad-soft); }

/* ---------- páginas públicas ---------- */
.lp { position: relative; min-height: 100vh; overflow: clip; background: var(--bg); }
.lp::before { content: ""; position: absolute; inset: 0 0 auto; height: 1100px; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; animation: drift 20s ease-in-out infinite; }
.glow.v { width: 620px; height: 620px; left: -220px; top: -180px; background: radial-gradient(circle, rgba(139, 92, 246, .42), transparent 65%); }
.glow.g { width: 520px; height: 520px; right: -220px; top: 240px; background: radial-gradient(circle, rgba(233, 187, 93, .2), transparent 65%); animation-delay: -7s; }
.glow.v2 { width: 560px; height: 560px; left: 30%; top: 1500px; background: radial-gradient(circle, rgba(139, 92, 246, .2), transparent 65%); animation-delay: -12s; }
.wrap2 { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--vio), var(--gold)); }
.lp-head { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
.lp-head.scrolled { background: rgba(7, 6, 13, .78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: rgba(44, 41, 66, .7); }
.lp-head .wrap2 { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.lp-nav { display: none; gap: 4px; font-size: 14px; font-weight: 600; color: var(--mut); }
.lp-nav a { padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.lp-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
@media (min-width: 1020px) { .lp-nav { display: flex; } }
.lp-head .acts { display: flex; gap: 8px; align-items: center; }
@media (max-width: 520px) { .lp-head .brand small { display: none; } .lp-head .btn { min-height: 38px; padding: 0 12px; font-size: 13px; } .lp-head .acts .hide-s { display: none; } }
.lp section { position: relative; z-index: 1; padding-block: 64px; }
@media (max-width: 700px) { .lp section { padding-block: 46px; } }
.sec-h { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.025em; max-width: 780px; margin-top: 14px; }
.sec-h em { font-style: normal; background: linear-gradient(180deg, #FBE6B1, #E9BB5D 60%, #C9962F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-h .v { color: var(--vio2); }
.sec-p { color: var(--mut); font-size: 17px; max-width: 640px; margin-top: 16px; line-height: 1.65; }
.sec-p b { color: var(--ink); }
.center-t { text-align: center; }
.center-t .sec-h, .center-t .sec-p { margin-left: auto; margin-right: auto; }
.cap { font-size: 12px; color: var(--faint); margin-top: 12px; }

/* hero */
.hero2 { padding-top: 34px !important; padding-bottom: 40px !important; }
.hero2 .wrap2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero2 .wrap2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; } .hero2 { padding-top: 64px !important; } }
.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(61, 220, 151, .07); border: 1px solid rgba(61, 220, 151, .22); font-size: 13px; font-weight: 600; color: #D9F8E8; }
.live-pill.test { background: rgba(233, 187, 93, .07); border-color: rgba(233, 187, 93, .3); color: var(--gold2); }
.live-pill.test .dot { background: var(--gold); box-shadow: none; animation: none; }
/* v80 (Google): el H1 del inicio es la línea pequeña «Replicador de señales…»; el eslogan grande es .slogan */
.hero2 h1.kicker { font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 22px; line-height: 1.4; }
.hero2 .slogan { text-wrap: balance; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6.6vw, 78px); line-height: 1; letter-spacing: -.035em; margin-top: 12px; }
.hero2 .brokers-line { margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.hero2 .slogan em { font-style: normal; background: linear-gradient(180deg, #FCE9B9, #E9BB5D 58%, #C08A2C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .slogan .v { background: linear-gradient(180deg, #E4DAFF, #B9A4FF 60%, #8B5CF6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: var(--mut); font-size: 18.5px; line-height: 1.6; max-width: 600px; margin-top: 22px; }
.hero2 .lead b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 24px; color: var(--mut); font-size: 14px; }
.checks span { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--gold); width: 17px; height: 17px; }
.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; } .rise.d5 { animation-delay: .44s; }
.rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

/* escenario animado: una señal → todas las cuentas */
.stage { position: relative; border-radius: 24px; padding: 18px; border: 1px solid rgba(139, 92, 246, .32); background: radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 246, .16), transparent 60%), linear-gradient(180deg, #110F1E, #0B0A14); box-shadow: 0 40px 120px -50px rgba(139, 92, 246, .75), inset 0 1px 0 rgba(255, 255, 255, .05); }
.stage::after { content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(140deg, rgba(233, 187, 93, .55), transparent 30%, transparent 70%, rgba(139, 92, 246, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.stage .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--dim); }
.stage .hd .px { color: var(--ink); letter-spacing: .02em; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage .hd .px b { font-weight: 700; color: var(--ink); transition: color .5s var(--ease); }
.stage .hd .px b.up { color: var(--ok); } .stage .hd .px b.dn { color: var(--bad); }
.stage .hd .px i.neg { color: var(--bad); }
@media (max-width: 420px) { .stage .hd > span:first-child { display: none; } .stage .hd { justify-content: flex-end; } }
.stage .hd .px i { font-style: normal; color: var(--ok); margin-left: 6px; font-size: 12px; }
.tgm { margin-top: 14px; border-radius: 16px; padding: 12px 14px; background: #15142A; border: 1px solid #262445; animation: stTg 10s var(--ease) infinite; }
.tgm .tt { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.tgm .tt i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #4FB3F6, #2A8BD8); color: #fff; font-style: normal; flex: none; }
.tgm .tt i svg { width: 15px; height: 15px; }
.tgm .tt b { font-size: 13.5px; } .tgm .tt small { color: var(--faint); margin-left: auto; font-size: 11.5px; }
.tgm .bd { margin-top: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.65; color: #E9E6F7; }
.tgm .bd > span { display: block; white-space: nowrap; animation: stLine 10s steps(28, end) infinite; }
.tgm .bd > span:nth-child(2) { animation-delay: .35s; } .tgm .bd > span:nth-child(3) { animation-delay: .7s; }
.tgm .bd .g { color: var(--ok); } .tgm .bd .r { color: var(--bad); } .tgm .bd .y { color: var(--gold2); }
.beam { position: relative; height: 34px; margin: 0 auto; width: 2px; background: repeating-linear-gradient(180deg, var(--line2) 0 5px, transparent 5px 10px); }
.beam i { position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--vio2); box-shadow: 0 0 14px var(--vio); animation: stDot 10s linear infinite; }
.core { position: relative; margin: 0 auto; width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 15%, rgba(139, 92, 246, .55), transparent 70%), linear-gradient(180deg, #1D1838, #120F24); border: 1px solid rgba(185, 164, 255, .5); box-shadow: 0 0 40px rgba(139, 92, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .18); animation: stCore 10s var(--ease) infinite; }
.core svg { width: 50px; height: 50px; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .45)); }
.core .lg-loop .lg-ln, .core .lg-loop .lg-hd { stroke-dasharray: 1 2; animation: stArrow 10s var(--ease) infinite; }
.core .lg-loop .lg-hd { animation-name: stArrowHd; }
@keyframes stArrow { 0%, 26% { stroke-dashoffset: 1; } 34%, 93% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes stArrowHd { 0%, 31% { stroke-dashoffset: 1; } 36%, 93% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.core .rg { position: absolute; inset: -12px; border-radius: 28px; border: 1px solid rgba(185, 164, 255, .35); animation: stRing 10s var(--ease) infinite; }
.core .rg.r2 { inset: -24px; border-radius: 34px; border-color: rgba(185, 164, 255, .18); animation-delay: .15s; }
.core-l { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gold); margin-top: 14px; }
.fan { position: relative; height: 30px; margin: 4px 0 0; }
.fan::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 14px; height: 2px; background: linear-gradient(90deg, var(--vio), var(--gold)); transform-origin: 50% 50%; animation: stFan 10s var(--ease) infinite; border-radius: 2px; }
.fan::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 14px; background: var(--vio); animation: stFanV 10s var(--ease) infinite; transform-origin: 50% 0; }
.accs4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .accs4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ac { position: relative; border-radius: 14px; padding: 10px 10px 11px; background: var(--input); border: 1px solid var(--line); animation: stRow 10s var(--ease) infinite; min-width: 0; }
.ac:nth-child(2) { animation-delay: .08s; } .ac:nth-child(3) { animation-delay: .16s; } .ac:nth-child(4) { animation-delay: .24s; }
.ac small { display: block; font-size: 10.5px; color: var(--dim); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ac b { display: block; font-size: 13.5px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.ac .st2 { display: grid; margin-top: 7px; animation-delay: inherit; }
.ac .st2 > * { grid-area: 1 / 1; }
.ac .wt { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--faint); animation: stWait 10s var(--ease) infinite; animation-delay: inherit; }
.ac .wt i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.1s ease-in-out infinite; }
.ac .ok2 { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ok); white-space: nowrap; animation: stBadge 10s var(--ease) infinite; animation-delay: inherit; }
.ac .ok2 svg { width: 12px; height: 12px; }
.ac .be2 { position: absolute; top: 8px; right: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(233, 187, 93, .35); animation: stBe 10s var(--ease) infinite; }
.stage .ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line2); font-size: 12.5px; color: var(--mut); }
.stage .ft b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage .ft .bemsg { color: var(--gold2); animation: stBe 10s var(--ease) infinite; }

/* tira de confianza */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 860px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.strip div { background: var(--bg2); padding: 16px 18px; }
@media (max-width: 859px) { .strip div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.strip b { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.strip div > span { color: var(--dim); font-size: 12.5px; }

/* misma hora para todas */
.race { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .race { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.race .card { padding: 22px; }
.race h4 { font-size: 12px; letter-spacing: .16em; font-weight: 800; color: var(--dim); text-transform: uppercase; display: flex; justify-content: space-between; gap: 10px; }
.race .gr h4 { color: var(--gold); }
.race .gr { border-color: rgba(139, 92, 246, .45); background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .14), transparent 55%), var(--card); box-shadow: 0 30px 80px -40px rgba(139, 92, 246, .7); }
.lane { display: grid; grid-template-columns: 74px minmax(0, 1fr) 62px; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--mut); }
.lane .tr { position: relative; height: 10px; border-radius: 999px; background: var(--card3); overflow: hidden; }
.lane .tr i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; width: var(--w); background: linear-gradient(90deg, #5B5774, #8A85A2); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.race .gr .lane .tr i { background: linear-gradient(90deg, var(--vio), var(--gold)); }
.rv.in .lane .tr i { transform: scaleX(1); }
.rv.in .lane:nth-child(3) .tr i { transition-delay: .15s; } .rv.in .lane:nth-child(4) .tr i { transition-delay: .3s; } .rv.in .lane:nth-child(5) .tr i { transition-delay: .45s; }
.lane b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.race .sum { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mut); }
.race .sum b { color: var(--ink); }

/* reglas */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-top: 30px; }
.rule { position: relative; overflow: hidden; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.rule:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .45); box-shadow: 0 24px 60px -34px rgba(139, 92, 246, .8); }
.rule .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(139, 92, 246, .22), rgba(139, 92, 246, .06)); border: 1px solid rgba(139, 92, 246, .35); color: var(--vio2); }
.rule .ico.g { background: linear-gradient(180deg, rgba(233, 187, 93, .2), rgba(233, 187, 93, .05)); border-color: rgba(233, 187, 93, .35); color: var(--gold); }
.rule .ico svg { width: 20px; height: 20px; }
.rule h3 { font-size: 17px; margin-top: 14px; }
.rule p { color: var(--mut); font-size: 14px; margin-top: 6px; }
.rule .big { position: absolute; right: 16px; top: 12px; font-family: var(--display); font-weight: 800; font-size: 30px; color: rgba(255, 255, 255, .05); letter-spacing: -.02em; }

/* panel ilustrado */
.feed { margin-top: 30px; padding: 0; overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.feed-h .row { font-size: 13px; color: var(--ok); gap: 8px; font-weight: 600; }
.feed-list { min-height: 296px; padding: 8px 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.feed-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); animation: feedIn 9s var(--ease) infinite both; }
.feed-item:first-child { border-top: 0; }
.feed-item .l { display: flex; gap: 12px; align-items: center; min-width: 0; }
.feed-item .l i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--card3); border: 1px solid var(--line2); color: var(--vio2); font-style: normal; }
.feed-item .l i svg { width: 16px; height: 16px; }
.feed-item b { display: block; font-size: 14.5px; }
.feed-item small { color: var(--dim); font-size: 12.5px; }
.feed-item:nth-child(2) { animation-delay: .7s; } .feed-item:nth-child(3) { animation-delay: 1.4s; } .feed-item:nth-child(4) { animation-delay: 2.1s; }
.split2 { display: grid; gap: 26px; align-items: center; }
@media (min-width: 940px) { .split2 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--mut); font-size: 15px; }
.ticks li svg { color: var(--gold); flex: none; margin-top: 3px; width: 18px; height: 18px; }
.ticks li b { color: var(--ink); }

/* grupos de telegram */
.tg-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 30px; align-items: center; }
@media (min-width: 820px) { .tg-demo { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); } }
.tg-demo .arrow { display: grid; place-items: center; color: var(--vio2); }
.tg-demo .arrow svg { width: 28px; height: 28px; animation: nudge 2.2s ease-in-out infinite; }
@media (max-width: 819px) { .tg-demo .arrow svg { transform: rotate(90deg); animation: none; } }
.tg-msg { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: #15142A; border: 1px solid #262445; border-radius: 14px 14px 14px 4px; padding: 13px 15px; color: var(--ink); line-height: 1.55; animation: typein 8s ease-in-out infinite both; }
.tg-out { border: 1px solid rgba(139, 92, 246, .45); border-radius: 18px; padding: 16px; background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .14), transparent 60%), var(--card2); animation: cardglow 8s ease-in-out infinite; }
.tg-out .bx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; animation: cvpop 8s ease-in-out infinite both; }
.tg-out .bx div { background: rgba(7, 6, 13, .6); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.tg-out .bx small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 800; color: var(--dim); }
.tg-out .bx b { font-size: 15px; font-variant-numeric: tabular-nums; }

/* pasos */
.start3 { display: grid; gap: 14px; margin-top: 30px; counter-reset: st; }
@media (min-width: 860px) { .start3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.start3 .card { padding: 26px 22px; transition: transform .35s var(--ease), border-color .35s; }
.start3 .card:hover { transform: translateY(-4px); border-color: rgba(233, 187, 93, .35); }
.big-n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; background: linear-gradient(180deg, #FCE9B9, #E9BB5D 60%, #B4872D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-n.v { background: linear-gradient(180deg, #E4DAFF, #B9A4FF 60%, #7047EB); -webkit-background-clip: text; background-clip: text; }
.big-n.o { background: linear-gradient(180deg, #C9F8E2, #3DDC97 60%, #1F9E68); -webkit-background-clip: text; background-clip: text; }
.start3 h3, .start3 .h3 { font-size: 19px; margin-top: 18px; }
.start3 p { color: var(--mut); font-size: 14.5px; margin-top: 8px; }

/* bróker y cambio de IB */
.vt { position: relative; overflow: hidden; border-radius: 24px; padding: 30px; border: 1px solid rgba(233, 187, 93, .35); background: radial-gradient(110% 140% at 0% 0%, rgba(233, 187, 93, .13), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(139, 92, 246, .12), transparent 60%), linear-gradient(180deg, #15122A, #0D0B18); }
@media (max-width: 560px) { .vt { padding: 22px 18px; } }
.vt h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 38px); margin-top: 14px; letter-spacing: -.02em; }
.vt p.t { color: var(--mut); max-width: 640px; margin-top: 12px; }
.steps4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 24px; font-size: 13.5px; color: var(--mut); }
.steps4 div { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(7, 6, 13, .45); border: 1px solid var(--line); }
.numc { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 800; flex: none; background: var(--card3); border: 1px solid var(--line2); color: var(--ink); }
.numc.g { border-color: rgba(233, 187, 93, .55); color: var(--gold); background: transparent; }
.numc.ok { border-color: rgba(61, 220, 151, .5); color: var(--ok); background: transparent; }
.ib2 { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 860px) { .ib2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.ib2 .card { padding: 22px; }
.ib2 h4 { font-size: 12px; letter-spacing: .16em; font-weight: 800; color: var(--gold); text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.ib2 h4 svg { width: 16px; height: 16px; }
.ib2 h3 { font-size: 19px; margin-top: 10px; }
.ib2 ol { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; color: var(--mut); }
.ib2 ol li { display: flex; gap: 11px; }
.ib2 ol li b { color: var(--ink); }
.msgbox { margin-top: 18px; border: 1px dashed rgba(185, 164, 255, .4); border-radius: 14px; padding: 14px 15px; font-size: 14px; color: var(--ink); background: rgba(139, 92, 246, .05); }
.msgbox h5 { margin: 0 0 8px; font-size: 11px; letter-spacing: .16em; color: var(--vio2); text-transform: uppercase; }
.msgbox p { line-height: 1.6; }
.ib2 .warnc { border-color: rgba(255, 122, 122, .3); background: radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 122, .08), transparent 55%), var(--card); }
.ib2 .warnc h4 { color: var(--bad); }
.ib2 .warnc p { font-size: 14px; color: var(--mut); margin-top: 10px; }
.ib2 .warnc p b { color: var(--ink); }
.tracker { margin-top: 14px; padding: 22px; }
.tracker .tt { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tracker .tt h4 { font-size: 12px; letter-spacing: .16em; color: var(--mut); font-weight: 800; text-transform: uppercase; }
.trk { position: relative; display: flex; justify-content: space-between; margin: 28px 4px 10px; }
.trk::before { content: ""; position: absolute; left: 22px; right: 22px; top: 19px; height: 2px; background: var(--line2); }
.trk .fill { position: absolute; left: 22px; right: 22px; top: 19px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--vio2)); transform-origin: 0 50%; animation: trkfill 9s ease-in-out infinite; }
.trk .st { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; width: 104px; text-align: center; font-size: 12px; font-weight: 600; color: var(--mut); }
.trk .st i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); border: 2px solid var(--line2); font-style: normal; color: var(--mut); }
.trk .st i svg { width: 17px; height: 17px; }
.trk .st.done i { background: var(--gold); border-color: var(--gold); color: #1C1406; }
.trk .st.now i { border-color: var(--gold); color: var(--gold); animation: ring 1.8s infinite; }

/* precios */
.price3 { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 860px) { .price3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price3 .card { padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease); }
.price3 .card:hover { transform: translateY(-4px); }
.price3 .card.first { border-color: rgba(233, 187, 93, .5); background: radial-gradient(120% 120% at 0% 0%, rgba(233, 187, 93, .12), transparent 55%), var(--card); box-shadow: 0 30px 80px -40px rgba(233, 187, 93, .55); }
.price3 h5 { margin: 0; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--vio2); text-transform: uppercase; }
.price3 .tag { align-self: flex-start; padding: 5px 9px; border-radius: 8px; font-size: 10px; letter-spacing: .14em; font-weight: 800; background: linear-gradient(180deg, #F8DE9E, #E9BB5D); color: #1C1406; }
.price3 h3 { font-size: 19px; margin-top: 8px; }
.price3 .amt { font-family: var(--display); font-weight: 800; font-size: 50px; margin-top: 10px; line-height: 1; letter-spacing: -.03em; }
.price3 .amt sup { font-size: 22px; vertical-align: top; margin-right: 2px; color: var(--gold); }
.price3 .amt small { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.price3 p { font-size: 13.5px; color: var(--dim); margin-top: 12px; }
.pricebox { margin-top: 14px; font-size: 14px; color: var(--mut); display: flex; flex-direction: column; gap: 8px; }
.pricebox b { color: var(--ink); }
.pricebox .warnl { color: var(--gold2); font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.pricebox .warnl svg { color: var(--gold); flex: none; margin-top: 2px; width: 17px; height: 17px; }

/* seguridad */
.sec5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 30px; }
.sec5 .card { padding: 20px 18px; transition: transform .35s var(--ease), border-color .35s; }
.sec5 .card:hover { transform: translateY(-4px); border-color: rgba(233, 187, 93, .35); }
.sec5 .card > svg { color: var(--gold); width: 22px; height: 22px; }
.sec5 h3 { font-size: 16px; margin-top: 12px; }
.sec5 p { font-size: 13.5px; color: var(--mut); margin-top: 6px; }

/* preguntas */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; max-width: 860px; }
.faq-wrap { display: grid; gap: 26px; }
.faq-wrap .faq { margin-top: 0; max-width: none; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 52px; align-items: start; } .faq-side { position: sticky; top: 104px; } }
.faq-help { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px; border-color: rgba(139, 92, 246, .35); background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .14), transparent 60%), var(--card); }
.faq-help .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, rgba(139, 92, 246, .3), rgba(139, 92, 246, .08)); border: 1px solid rgba(139, 92, 246, .4); color: var(--vio2); }
.faq-help .ico svg { width: 20px; height: 20px; }
.faq-help b { display: block; font-size: 15.5px; }
.faq-help p { color: var(--mut); font-size: 14px; margin-top: 4px; line-height: 1.55; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(139, 92, 246, .4); background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .08), transparent 55%), var(--card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 19px; font-weight: 600; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 500; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 19px 18px; color: var(--mut); font-size: 14.5px; line-height: 1.65; animation: rise .4s var(--ease) both; }

/* llamada final */
.cta2 { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 54px 22px; border: 1px solid rgba(139, 92, 246, .45); background: radial-gradient(90% 120% at 50% 0%, rgba(139, 92, 246, .34), transparent 60%), linear-gradient(180deg, #1A1535, #0E0B1B); }
.cta2 .orb { position: absolute; right: -70px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 187, 93, .38), transparent 65%); filter: blur(26px); animation: drift 14s ease-in-out infinite; }
.cta2 .orb.l { left: -90px; top: -110px; right: auto; bottom: auto; background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 65%); animation-delay: -6s; }
.cta2 .lgbig { width: 88px; height: 88px; margin: 0 auto; animation: floaty 4s ease-in-out infinite; }
.cta2 .lgbig svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 30px rgba(139, 92, 246, .6)); }
.cta2 h2 { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.8vw, 52px); line-height: 1.04; margin-top: 18px; letter-spacing: -.03em; }
.cta2 p { position: relative; color: var(--mut); max-width: 500px; margin: 14px auto 0; }
.cta2 .row { position: relative; justify-content: center; margin-top: 24px; }

/* pie */
.lp-foot { position: relative; z-index: 1; margin-top: 30px; border-top: 1px solid var(--line); background: var(--bg2); padding-block: 38px max(40px, env(safe-area-inset-bottom, 0px)); }
.lp-foot .cols { display: grid; gap: 24px; }
@media (min-width: 860px) { .lp-foot .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.lp-foot h6 { margin: 0 0 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.lp-foot nav { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--mut); }
.lp-foot nav a:hover { color: var(--ink); }
.lp-foot .about { color: var(--dim); font-size: 13.5px; margin-top: 12px; max-width: 360px; }
.lp-foot .risk { font-size: 12px; color: var(--dim); margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); line-height: 1.65; }
.lp-foot .risk b { color: var(--mut); }

/* páginas simples (legales y guía) */
.simple { padding-block: 30px 20px !important; }
.simple h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.04; margin-top: 14px; letter-spacing: -.03em; }
.legal { max-width: 780px; margin: 0 auto; }
.legal .tabs2 { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.legal h2 { font-size: 19px; margin-top: 32px; letter-spacing: -.01em; }
.legal h2[id] { scroll-margin-top: 92px; } /* v147: /terminos#market no queda debajo del encabezado */
.legal p, .legal li { color: var(--mut); font-size: 15px; line-height: 1.75; margin-top: 10px; }
.legal li b, .legal p b { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.legal .upd { font-size: 12.5px; color: var(--faint); margin-top: 16px; }
.legal .callout { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--gold-soft); border: 1px solid rgba(233, 187, 93, .3); color: var(--gold2); font-size: 14.5px; }
.legal .callout b { color: #FFF3D6; }

/* entrar y crear cuenta */
.auth { min-height: 100vh; display: grid; background: var(--bg); }
@media (min-width: 980px) { .auth { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.auth-l { display: none; position: relative; overflow: hidden; padding: 34px 44px; flex-direction: column; background: radial-gradient(90% 70% at 20% 10%, rgba(139, 92, 246, .3), transparent 60%), radial-gradient(70% 60% at 90% 90%, rgba(233, 187, 93, .14), transparent 60%), linear-gradient(180deg, #110E22, #0A0914); border-right: 1px solid var(--line); }
@media (min-width: 980px) { .auth-l { display: flex; position: sticky; top: 0; height: 100vh; align-self: start; } }
.auth-l::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 70% at 40% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 40% 30%, #000 20%, transparent 75%); pointer-events: none; }
.auth-l > * { position: relative; }
.auth-l h2 { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -.03em; margin-top: auto; max-width: 460px; }
.auth-l h2 em { font-style: normal; background: linear-gradient(180deg, #FCE9B9, #E9BB5D 60%, #C08A2C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-l .mini { display: grid; gap: 10px; margin-top: 26px; max-width: 440px; }
.mini-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(15, 14, 25, .75); border: 1px solid var(--line2); backdrop-filter: blur(6px); animation: rise .8s var(--ease) .3s both; }
.mini-card:nth-child(2) { animation-delay: .9s; } .mini-card:nth-child(3) { animation-delay: 1.5s; }
.mini-card .dot { animation: pulse 2s infinite; }
.mini-card b { display: block; font-size: 14px; } .mini-card small { color: var(--dim); font-size: 12.5px; }
.auth-l .foot3 { color: var(--faint); font-size: 12px; margin-top: 28px; }
.auth-r { display: flex; flex-direction: column; min-width: 0; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gr) max(24px, env(safe-area-inset-bottom, 0px)) var(--gl); }
.auth-r .top3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; }
@media (min-width: 980px) { .auth-r .top3 .brand { visibility: hidden; } }
.auth-r .mid { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 18px 0 30px; }
@media (min-width: 700px) { .auth-r .mid { align-items: center; } }
.auth-card { width: 100%; max-width: 460px; background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%), var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px; box-shadow: 0 40px 100px -50px rgba(139, 92, 246, .5), var(--shadow); animation: rise .6s var(--ease) both; }
@media (min-width: 560px) { .auth-card { padding: 32px 30px; } }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.auth-card .sub { color: var(--mut); font-size: 14.5px; margin: 6px 0 20px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); margin-bottom: 22px; }
.auth-tabs a { display: grid; place-items: center; min-height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--mut); transition: background .2s, color .2s; }
.auth-tabs a[aria-current="page"] { background: var(--card3); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
/* v39: «Recordarme» y «¿Olvidaste tu contraseña?» en una fila; enlaces entre iniciar sesión y crear cuenta */
.auth-row { flex-wrap: wrap; gap: 8px 14px; margin-top: -2px; }
.check.sm { font-size: 13.5px; align-items: center; }
.check.sm input { width: 18px; height: 18px; margin: 0; }
.auth-alt { text-align: center; margin: 2px 0 0; }
.meter { height: 4px; border-radius: 999px; background: var(--card3); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .35s var(--ease), background .35s; }
.help3 { text-align: center; color: var(--dim); font-size: 13px; margin-top: 16px; }
.banner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 var(--gr) 0 var(--gl); width: 100%; }
.foot { margin-top: auto; padding: 22px var(--gr) max(22px, env(safe-area-inset-bottom, 0px)) var(--gl); text-align: center; color: var(--faint); font-size: 12px; border-top: 1px solid var(--line); }
.center { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 20px var(--gr) 40px var(--gl); }
.pub { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(70% 45% at 85% 0%, rgba(139, 92, 246, .16), transparent 60%), var(--bg); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top, 0px)) var(--gr) 14px var(--gl); max-width: 1180px; width: 100%; margin: 0 auto; }

/* entrada del administrador */
.adm-login { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top, 0px)) var(--gr) max(24px, env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--bg); }
.adm-login::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 40%, #000 20%, transparent 75%); pointer-events: none; }
.auth-card.adm { position: relative; z-index: 1; max-width: 420px; border-color: rgba(139, 92, 246, .35); }
.auth-card.adm h1 { text-align: center; margin-top: 14px; }
.auth-card.adm .sub { text-align: center; }
.adm-brand { display: flex; justify-content: center; }
.adm-ic { width: 58px; height: 58px; margin: 22px auto 0; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #A07DFF, #6D45E8); box-shadow: 0 0 40px rgba(139, 92, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .3); animation: floaty 4s ease-in-out infinite; }
.adm-ic svg { width: 26px; height: 26px; }

/* ---------- animaciones ---------- */
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.06); } 66% { transform: translate(-30px, 20px) scale(.96); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(233, 187, 93, .5); } 70% { box-shadow: 0 0 0 10px rgba(233, 187, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 187, 93, 0); } }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes feedIn { 0% { opacity: 0; transform: translateY(14px); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes typein { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 18%, 85% { opacity: 1; clip-path: inset(0 0 0 0); } 95%, 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes cvpop { 0%, 24% { opacity: 0; transform: scale(.96); } 32%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes cardglow { 0%, 22% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); } 32% { box-shadow: 0 0 50px -6px rgba(139, 92, 246, .55); } 60%, 100% { box-shadow: 0 0 30px -14px rgba(139, 92, 246, .3); } }
@keyframes trkfill { 0% { transform: scaleX(0); } 45%, 80% { transform: scaleX(.5); } 100% { transform: scaleX(.5); } }
@keyframes stTg { 0%, 2% { opacity: 0; transform: translateY(10px); } 7%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes stLine { 0%, 4% { clip-path: inset(0 100% 0 0); } 14%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes stDot { 0%, 17% { top: -6px; opacity: 0; } 19% { opacity: 1; } 29% { top: 30px; opacity: 1; } 31%, 100% { top: 30px; opacity: 0; } }
@keyframes stCore { 0%, 28% { transform: scale(1); box-shadow: 0 0 40px rgba(139, 92, 246, .45), inset 0 1px 0 rgba(255, 255, 255, .35); } 33% { transform: scale(1.09); box-shadow: 0 0 80px rgba(139, 92, 246, .95), inset 0 1px 0 rgba(255, 255, 255, .35); } 42%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(139, 92, 246, .45), inset 0 1px 0 rgba(255, 255, 255, .35); } }
@keyframes stRing { 0%, 29% { opacity: 0; transform: scale(.85); } 34% { opacity: 1; } 46%, 100% { opacity: 0; transform: scale(1.18); } }
@keyframes stFanV { 0%, 33% { transform: scaleY(0); } 36%, 90% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
@keyframes stFan { 0%, 35% { transform: scaleX(0); opacity: 1; } 40%, 90% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes stRow { 0%, 38% { border-color: var(--line); background: var(--input); box-shadow: none; } 42%, 90% { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .07); box-shadow: 0 0 24px -10px rgba(61, 220, 151, .6); } 97%, 100% { border-color: var(--line); background: var(--input); box-shadow: none; } }
@keyframes stBadge { 0%, 39% { opacity: 0; transform: translateY(4px); } 43%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes stBe { 0%, 60% { opacity: 0; transform: translateY(4px); } 66%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; filter: none; }
  .feed-item, .mini-card, .tg-msg, .tg-out, .tg-out .bx, .tgm, .tgm .bd > span, .ac, .ac .ok2, .ac .be2, .stage .ft .bemsg, .core, .core .rg, .beam i, .fan::before, .fan::after { animation: none !important; }
  .core .rg, .beam i { display: none; }
}

/* ---------- más movimiento en la portada ---------- */
/* el texto dorado de los títulos: un brillo lo cruza de vez en cuando */
.hero2 .slogan em, .sec-h em, .auth-l h2 em { background-image: linear-gradient(100deg, transparent 42%, rgba(255, 248, 225, .95) 50%, transparent 58%), linear-gradient(180deg, #FBE6B1, #E9BB5D 60%, #C9962F); background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; animation: goldSweep 7s ease-in-out infinite; }
.sec-h em { animation-delay: 1.5s; }
@keyframes goldSweep { 0%, 55% { background-position: 130% 0, 0 0; } 85%, 100% { background-position: -30% 0, 0 0; } }
/* cómo funciona: la señal pasa de un paso al siguiente */
.flow .rule::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--vio), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; animation: flowBar 8s var(--ease) infinite; }
.flow .rule .ico { animation: flowIco 8s var(--ease) infinite; }
.flow .rule:nth-child(2)::after, .flow .rule:nth-child(2) .ico { animation-delay: 2s; }
.flow .rule:nth-child(3)::after, .flow .rule:nth-child(3) .ico { animation-delay: 4s; }
.flow .rule:nth-child(4)::after, .flow .rule:nth-child(4) .ico { animation-delay: 6s; }
@keyframes flowBar { 0% { transform: scaleX(0); opacity: 1; } 18% { transform: scaleX(1); opacity: 1; } 30%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes flowIco { 0%, 100% { box-shadow: none; transform: none; } 6% { box-shadow: 0 0 0 6px rgba(139, 92, 246, .12), 0 0 26px rgba(139, 92, 246, .55); transform: scale(1.08); } 20% { box-shadow: none; transform: none; } }
/* las cuentas del escenario: «En espera» hasta que llega la señal */
@keyframes stWait { 0%, 38% { opacity: 1; } 41%, 93% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* en el panel, el ejemplo de grupos se ve siempre completo */
.tg-demo.static .tg-msg, .tg-demo.static .tg-out .bx { animation: none; opacity: 1; clip-path: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero2 .slogan em, .sec-h em, .auth-l h2 em, .flow .rule::after, .flow .rule .ico, .ac .wt, .ac .wt i, .core .lg-loop .lg-ln, .core .lg-loop .lg-hd, .mini-card .dot { animation: none !important; }
  .ac .wt { opacity: 0; }
  .core .lg-loop .lg-ln, .core .lg-loop .lg-hd { stroke-dasharray: none; stroke-dashoffset: 0; }
}
/* =====================================================================================
   Tema «Violeta y oro, con cuadros» (aprobado por Elian).
   La identidad de OroLink de siempre (violeta, oro, la cuadrícula de fondo y sus brillos)
   con los detalles nuevos: cifras en letra de terminal (Geist Mono), anillo de energía alrededor
   del robot, brillo en el total y tarjetas con borde de oro. Va al final, encima de los demás estilos.
   ===================================================================================== */
:root { --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- fondo del panel: los cuadros de la portada también aquí, y un brillo violeta que se mueve lento ---------- */
.shell { isolation: isolate; }
.shell::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(85% 65% at 75% 0%, #000 22%, transparent 78%); mask-image: radial-gradient(85% 65% at 75% 0%, #000 22%, transparent 78%); }
.shell::after { content: ""; position: fixed; z-index: -1; pointer-events: none; width: 560px; height: 560px; right: -200px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .26), transparent 66%); filter: blur(40px); animation: drift 22s ease-in-out infinite; }
@media (min-width: 1100px) { .shell::before { -webkit-mask-image: radial-gradient(70% 70% at 70% 0%, #000 22%, transparent 78%); mask-image: radial-gradient(70% 70% at 70% 0%, #000 22%, transparent 78%); } }
/* grano fino: quita el aspecto plano de la pantalla */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- cifras y etiquetas de datos en letra de terminal (cada número ocupa lo mismo y no «baila») ---------- */
.num, .kpi > b, .res4 .kpi b, .lc-total, .lc-r > b, .lc-gh b.num, .bal-k b, .bl-r b, .prof-stats b, .tr-r b, .tr-p, .lv b, .lc-px, .stage .hd .px, .ledger b, .res-chip, .code-in { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 1; letter-spacing: -.03em; }
.kpi > b, .res4 .kpi b { font-weight: 500; }
.lc-total, .bal-k b { font-weight: 500; letter-spacing: -.055em; }
.kpi > span, .lc-lbl, .bal-k span, .prof-stats span, .lc-t, .bal-t { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
.bal-t, .lc-t { font-size: 11px; }
.pill { font-family: var(--mono); font-weight: 500; letter-spacing: .01em; }

/* ---------- robot: anillo de energía violeta y oro que gira mientras opera ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.robot:not(.off) { border: 1px solid transparent;
  background: radial-gradient(120% 160% at 0% 0%, rgba(139, 92, 246, .24), transparent 55%) padding-box, radial-gradient(80% 120% at 100% 100%, rgba(233, 187, 93, .11), transparent 60%) padding-box, linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--ang), rgba(139, 92, 246, .3) 0%, #FCE9B9 7%, rgba(139, 92, 246, .38) 19%, rgba(139, 92, 246, .3) 50%, #C4B5FD 57%, rgba(139, 92, 246, .3) 69%) border-box;
  animation: olAng 6s linear infinite; }
@keyframes olAng { to { --ang: 360deg; } }
.robot .sw[aria-checked="true"] { animation: olGlow 2.6s ease-in-out infinite; }
@keyframes olGlow { 0%, 100% { box-shadow: 0 0 16px -6px rgba(233, 187, 93, .55); } 50% { box-shadow: 0 0 28px -4px rgba(233, 187, 93, .9); } }

/* ---------- «Tus cuentas» y perfil: borde fino de oro a violeta; el total en oro con un brillo que pasa ---------- */
.bal { border: 1px solid transparent;
  background: radial-gradient(110% 140% at 100% 0%, rgba(233, 187, 93, .12), transparent 55%) padding-box, radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .13), transparent 60%) padding-box, linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(248, 222, 158, .6), rgba(139, 92, 246, .3) 38%, rgba(139, 92, 246, .1) 66%, rgba(233, 187, 93, .4)) border-box; }
.prof { border: 1px solid transparent;
  background: radial-gradient(90% 130% at 0% 0%, rgba(139, 92, 246, .22), transparent 55%) padding-box, radial-gradient(70% 110% at 100% 0%, rgba(233, 187, 93, .13), transparent 60%) padding-box, linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(248, 222, 158, .55), rgba(139, 92, 246, .3) 40%, rgba(139, 92, 246, .1) 68%, rgba(233, 187, 93, .35)) border-box; }
.bal-k:first-child b { background: linear-gradient(100deg, #C08A2C 0%, #E9BB5D 22%, #FFF3CF 30%, #F8DE9E 38%, #E9BB5D 60%, #C08A2C 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: olText 7s ease-in-out infinite; }
@keyframes olText { 0%, 18% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
.bal-bar { height: 4px; gap: 4px; background: transparent; }
.bal-bar i { border-radius: 2px; }

/* ---------- tarjetas: un reflejo fino arriba para que no se vean planas ---------- */
.card, .kpi, .acc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px -40px rgba(0, 0, 0, .9); }

@media (prefers-reduced-motion: reduce) { .robot:not(.off), .bal-k:first-child b, .robot .sw[aria-checked="true"], .shell::after { animation: none !important; } }

/* ---------- admin: lotes (v38) ---------- */
.lt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
@media (min-width: 980px) { .lt-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.lt-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lt { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(10, 9, 19, .55); }
.lt-h, .lt-r { display: grid; grid-template-columns: 26px minmax(0, 1.25fr) minmax(0, 1.05fr) minmax(0, .9fr) 34px; gap: 8px; align-items: center; padding: 0 10px; }
.lt-h { position: sticky; top: 0; z-index: 1; padding-top: 9px; padding-bottom: 9px; background: var(--card3); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lt-body { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lt-r { padding-top: 6px; padding-bottom: 6px; border-top: 1px solid var(--line); }
.lt-r:first-child { border-top: 0; }
.lt-r .input { min-height: 40px; padding: 8px 10px; font-size: 15px; border-radius: 10px; }
.lt-n { font-size: 11.5px; color: var(--faint); text-align: right; }
.lt-to { font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--dim); border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.lt-x:hover, .lt-x:focus-visible { color: var(--bad); background: var(--bad-soft); border-color: rgba(255, 122, 122, .3); }
.lt-x svg { width: 15px; height: 15px; }
.lt-r.lt-flash { animation: ltFlash 1.6s var(--ease); }
@keyframes ltFlash { 0%, 35% { background: var(--gold-soft); } 100% { background: transparent; } }
.input[aria-invalid="true"] { border-color: rgba(255, 122, 122, .7); box-shadow: 0 0 0 3px rgba(255, 122, 122, .14); }
.lt-add { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; padding: 12px; border: 1px dashed var(--line2); border-radius: 14px; }
.lt-add .input { min-height: 42px; }
.lt-add .btn { min-height: 42px; }
#lt-msgs:not(:empty) { margin-top: 12px; display: grid; gap: 8px; }
.lt-msg.info { display: flex; gap: 8px; align-items: flex-start; }
.lt-msg.info svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--vio2); }
.lt-foot { margin-top: 14px; }
@media (max-width: 640px) { .lt-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } .lt-foot #lt-save { grid-column: 1 / -1; } .lt-foot .btn { width: 100%; } }
.lt-res { display: grid; gap: 4px; margin-top: 12px; padding: 14px; min-height: 76px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); align-content: center; }
.lt-res small { color: var(--dim); font-size: 12.5px; }
.lt-big { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.lt-how { display: grid; gap: 8px; margin-top: 10px; padding-left: 18px; color: var(--mut); }
.lt-how b { color: var(--ink); }
.lt-last { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.lt-last svg { flex: none; margin-top: 2px; }
.lt-accs .lt-new { display: block; margin-top: 3px; font-size: 11.5px; }
.lt-accs td .pill { vertical-align: 1px; }
.lt-fix { flex-wrap: nowrap; justify-content: flex-end; }
.lt-fix .input { width: 110px; min-height: 34px; padding: 6px 10px; font-size: 15px; border-radius: 9px; }
.lt-acts { text-align: right; }
@media (max-width: 640px) {
  .lt-h, .lt-r { grid-template-columns: 20px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr) 30px; gap: 6px; padding: 0 8px; }
  .lt-h { padding-top: 8px; padding-bottom: 8px; }
  .lt-r { padding-top: 5px; padding-bottom: 5px; }
  .lt-r .input { padding: 8px 8px; }
  .lt-to { font-size: 11.5px; }
  .lt-x { width: 30px; height: 30px; }
  .lt-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lt-add .btn { grid-column: 1 / -1; }
  .lt-acts { text-align: left; }
  .lt-fix { justify-content: flex-start; }
  .lt-fix .input { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .lt-r.lt-flash { animation: none; } }

/* ---------- fuente por defecto y 1 canal por cuenta (v38) ---------- */
.btn.gold-o { color: var(--gold); border-color: rgba(233, 187, 93, .4); background: var(--gold-soft); }
.btn.gold-o:hover { background: rgba(233, 187, 93, .2); }
.src-ask { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px solid rgba(233, 187, 93, .38); background: var(--gold-soft); }
.src-ask b { color: var(--ink); }
.one-ch { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.one-ch svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--vio2); }

/* ================= panel del cliente v38 (opción «Simple») ================= */
.cw { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.cw > * { margin: 0; }
.hi2 h1, .pg2 h1, .g-hd h1 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.pg2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg2 .btn { min-height: 44px; }
/* resumen de arriba */
.sum2 { background: linear-gradient(180deg, rgba(139, 92, 246, .06), transparent 60%), #11101E; border: 1px solid var(--line2); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.h2-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.h2-l { font-size: 15px; color: var(--mut); }
.h2-top .pill { font-family: var(--body); font-weight: 600; letter-spacing: 0; font-size: 12.5px; padding: 5px 11px; }
.h2-bal { font-family: var(--mono); font-size: 42px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; }
.h2-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h2-k { background: var(--input); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.h2-k span { display: block; font-size: 13px; color: var(--dim); }
.h2-k b { display: block; margin-top: 3px; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.h2-k b.num { font-family: var(--mono); font-weight: 500; font-size: 19px; }
.h2-why { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.h2-why p { margin: 0; font-size: 14.5px; color: var(--mut); line-height: 1.45; }
/* «Ahora» */
.nowx { display: flex; flex-direction: column; gap: 10px; }
.nw-hd, .r2-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nw-hd h2, .r2-hd h2 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 700; }
.nw-px { font-size: 13px; color: var(--gold2); background: var(--gold-soft); border: 1px solid rgba(233, 187, 93, .3); padding: 4px 10px; border-radius: 999px; }
.nw-px:empty { display: none; }
.nw-card { padding: 0; overflow: hidden; }
.nw-row { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.nw-row + .nw-row { border-top: 1px solid var(--line); }
.nw-top { display: flex; align-items: center; gap: 12px; }
.nw-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ok-soft); color: var(--ok); }
.nw-ic.sell { background: var(--bad-soft); color: var(--bad); }
.nw-ic svg, .hi-ic svg { width: 19px; height: 19px; }
.nw-m { flex: 1; min-width: 0; }
.nw-m b { display: block; font-size: 16px; font-weight: 600; }
.nw-m small { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; overflow-wrap: anywhere; }
.nw-r { text-align: right; }
.nw-r b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.nw-r small { display: block; font-size: 12.5px; color: var(--dim); }
.nw-bar { position: relative; height: 8px; border-radius: 999px; background: var(--line); margin: 4px 0 0; }
.nw-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--ok); transition: left .8s var(--ease), width .8s var(--ease); }
.nw-fill.bad { background: var(--bad); }
.nw-tick { position: absolute; top: -4px; width: 2px; height: 16px; margin-left: -1px; background: var(--mut); border-radius: 2px; }
.nw-dot { position: absolute; top: -4px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ink); border: 3px solid var(--ok); box-sizing: border-box; transition: left .8s var(--ease); }
.nw-dot.bad { border-color: var(--bad); }
.nw-lab { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--dim); margin-top: -6px; }
.nw-be { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold2); font-size: 13.5px; }
.nw-be svg { width: 16px; height: 16px; flex: none; }
.nw-empty { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 14.5px; line-height: 1.45; }
.nw-empty p { margin: 0; }
.nw-empty svg { width: 22px; height: 22px; flex: none; color: var(--vio2); }
@media (prefers-reduced-motion: reduce) { .nw-fill, .nw-dot { transition: none; } }
/* v39: orden pendiente (límite) que todavía no entró */
.nw-ic.wait { background: var(--gold-soft); color: var(--gold2); }
.nw-pend .nw-r b { color: var(--gold2); }
.nw-bar.pd { background: linear-gradient(90deg, rgba(233, 187, 93, .55), rgba(233, 187, 93, .12) 70%, rgba(244, 114, 128, .35)); }
.nw-dot.gold { border-color: var(--gold2); }
.nw-pd, .nw-re { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--mut); }
.nw-re svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--gold2); }
.hi-why { display: flex; align-items: flex-start; gap: 8px; color: var(--mut); }
.hi-why svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--gold2); }
/* últimos resultados */
.res2 .r2-hd { padding: 16px 18px 8px; }
.r2-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--line); }
.r2-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ok); }
.r2-dot.gold { background: var(--gold); } .r2-dot.bad { background: var(--bad); }
.r2-m { flex: 1; min-width: 0; }
.r2-m b { display: block; font-size: 15px; font-weight: 600; }
.r2-m small { display: block; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.r2-row > b.num { font-family: var(--mono); font-size: 16px; font-weight: 500; white-space: nowrap; }
/* ver más estadísticas */
.more2 > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line2); color: var(--mut); font-weight: 600; font-size: 15px; cursor: pointer; }
.more2 > summary::-webkit-details-marker { display: none; }
.more2 > summary svg { transition: transform .25s var(--ease); }
.more2[open] > summary svg { transform: rotate(90deg); }
.more2-in { margin-top: 12px; }
/* guía del cliente nuevo */
.guide { display: flex; flex-direction: column; gap: 18px; }
.g-hd p { margin: 6px 0 0; font-size: 15px; color: var(--mut); line-height: 1.45; }
.g-prog { display: flex; flex-direction: column; gap: 8px; }
.g-pl { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); }
.g-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.g-bar i { display: block; height: 100%; border-radius: 999px; background: var(--gold); transition: width .6s var(--ease); }
.g-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.g-st { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: transparent; }
.g-st.done { background: var(--card); }
.g-st.now { border: 1.5px solid var(--gold); background: #11101E; padding: 18px 16px; }
.g-row { display: flex; gap: 14px; align-items: center; }
.g-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line2); color: var(--dim); font-weight: 700; font-size: 14px; }
.g-n svg { width: 16px; height: 16px; stroke-width: 3; }
.g-st.done .g-n { background: var(--ok); border-color: var(--ok); color: #062016; }
.g-st.now .g-n { background: var(--gold); border-color: var(--gold); color: #1C1406; }
.g-m { flex: 1; min-width: 0; }
.g-m b { display: block; font-size: 15.5px; font-weight: 600; }
.g-st:not(.done):not(.now) .g-m b { color: var(--mut); }
.g-m small { display: block; font-size: 13.5px; color: var(--dim); overflow-wrap: anywhere; }
.g-st.now .g-m b { font-size: 16.5px; font-weight: 700; }
.g-body { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.g-ib { margin: 0; color: var(--dim); line-height: 1.5; }
.g-help { min-height: 48px; }
/* tarjetas de «Cuentas» */
.acc2 { padding: 0; gap: 0; overflow: hidden; }
.a2-hd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; background: transparent; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.a2-hd[disabled] { cursor: default; opacity: 1; }
.a2-av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .35); color: var(--vio2); font-family: var(--display); font-weight: 800; font-size: 14px; }
.a2-m { flex: 1; min-width: 0; }
.a2-m b { display: block; font-size: 16.5px; font-weight: 700; overflow-wrap: anywhere; }
.a2-m small { display: block; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.a2-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.a2-r b.num { font-family: var(--mono); font-size: 16px; font-weight: 500; }
.a2-chev { color: var(--dim); flex: none; display: grid; transition: transform .25s var(--ease); }
.acc2.open .a2-chev { transform: rotate(180deg); }
.a2-body { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.a2-bal { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.a2-bk > span { display: block; font-size: 13px; color: var(--dim); }
.a2-bk > b { display: block; font-family: var(--mono); font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.a2-bk > small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.a2-bk > small .num { color: var(--mut); }
.a2-rows { margin: 0 -18px; border-top: 1px solid var(--line); }
.a2-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.a2-l { flex: 1; min-width: 0; }
.a2-l > span { display: block; font-size: 13px; color: var(--dim); }
.a2-l > span em { font-style: normal; color: var(--gold); }
.a2-l > b { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.a2-chg { position: relative; overflow: hidden; color: var(--vio2); flex: none; min-height: 36px; padding: 0 12px; }
.a2-chg select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.a2-act { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 55%; }
.a2-rows .src-ask { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
.a2-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--mut); line-height: 1.45; }
.a2-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--vio2); }
.add2 { border: 1.5px dashed var(--line2); background: transparent; box-shadow: none; display: flex; flex-direction: column; gap: 10px; }
.add2 > summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.add2 h3 { margin: 0; }
.add2 p { margin: 0; line-height: 1.5; }
.add2 .form { margin-top: 12px; }
/* «Historial» */
.hi-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.hi-chips::-webkit-scrollbar { display: none; }
.hi-chips .chip { flex: none; }
.wk2 { display: flex; flex-direction: column; gap: 6px; background: #11101E; border-color: var(--line2); }
.wk-l { font-size: 14px; color: var(--mut); }
.wk2 > b { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -.03em; }
.wk2 p { margin: 0; font-size: 14px; color: var(--mut); line-height: 1.5; }
.wk2 p b { font-weight: 600; }
.hi-day { overflow: hidden; }
.hi-dh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13px; font-weight: 600; color: var(--dim); background: #0C0B16; }
.hi-dh::first-letter { text-transform: uppercase; }
.hi-dh b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.hi-row { border-top: 1px solid var(--line); }
.hi-row > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 18px; cursor: pointer; }
.hi-row > summary::-webkit-details-marker { display: none; }
.hi-row > summary > b.num { font-family: var(--mono); font-size: 16px; font-weight: 500; white-space: nowrap; }
.hi-row.mute > summary { opacity: .65; }
.hi-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ok-soft); color: var(--ok); }
.hi-ic.gold { background: var(--gold-soft); color: var(--gold); }
.hi-ic.bad { background: var(--bad-soft); color: var(--bad); }
.hi-ic.vio { background: var(--vio-soft); color: var(--vio2); }
.hi-ic.mute { background: var(--card3); color: var(--dim); }
.hi-m { flex: 1; min-width: 0; }
.hi-m b { display: block; font-size: 15px; font-weight: 600; }
.hi-m small { display: block; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.hi-body { padding: 4px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.hi-body p { margin: 0; }
.hi-tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(139, 92, 246, .07); border: 1px solid rgba(139, 92, 246, .25); font-size: 13.5px; color: var(--mut); line-height: 1.45; }
.hi-tip svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--vio2); }
@media (max-width: 640px) {
  .h2-bal { font-size: 38px; }
  .sum2 { padding: 20px; }
}
.a2-st { display: block; margin-top: 6px; }

/* ---------- v44: el equipo (acceso reducido) y los códigos de descuento ---------- */
.staffbar { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .35); color: var(--mut); font-size: 13.5px; line-height: 1.5; }
.staffbar svg { color: var(--vio2); flex: none; margin-top: 2px; }
.staffbar b { color: var(--ink); }
/* código puesto: la «entrada» dorada con borde punteado */
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 14px; border: 1.5px dashed rgba(233, 187, 93, .6); background: linear-gradient(90deg, rgba(233, 187, 93, .14), rgba(139, 92, 246, .08)); }
.ticket .tk-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ticket .tk-l > svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.ticket b { display: block; font-family: var(--mono); letter-spacing: .1em; color: var(--gold2); font-size: 15px; }
.ticket small { display: block; color: var(--mut); font-size: 12.5px; line-height: 1.4; }
.ticket .link { flex: none; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.ticket.sm { padding: 8px 11px; margin: 10px 0 12px; }
.ticket.sm b { font-size: 13.5px; }
.save { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 13.5px; font-weight: 600; }
.save svg { width: 16px; height: 16px; flex: none; }
.promo-f { display: flex; flex-direction: column; gap: 8px; }
.promo-l { display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 14px; }
.promo-l svg, .promo-ask svg { width: 18px; height: 18px; flex: none; }
.promo-ask { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 12px; }
.g-body .promo-f, .add2 .promo-f { margin: 8px 0 12px; }
.dc-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dc-row .input { flex: 1; min-width: 0; }
.dc-row .btn { flex: none; }
.code-t { text-transform: uppercase; letter-spacing: .12em; font-family: var(--mono); font-weight: 600; }
.code-t::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 400; }
.plan-disc .amt s { display: block; font-size: 17px; font-weight: 700; color: var(--dim); margin-bottom: 4px; }
.plan-disc .amt .then { display: block; margin-top: 10px; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--mut); letter-spacing: 0; line-height: 1.3; }
.save span { min-width: 0; }
.gift { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; margin: 0 0 16px; border-radius: 14px; border: 1px solid rgba(233, 187, 93, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(233, 187, 93, .16), transparent 60%), var(--card); }
.gift > svg { width: 24px; height: 24px; color: var(--gold); flex: none; margin-top: 2px; }
.gift b { display: block; color: var(--ink); font-size: 14.5px; }
.gift small { display: block; color: var(--mut); font-size: 13px; margin-top: 2px; line-height: 1.5; }
.gift .code { font-family: var(--mono); letter-spacing: .1em; color: var(--gold2); }
/* admin: códigos */
.preview { padding: 11px 13px; border-radius: 12px; background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .3); font-size: 13.5px; line-height: 1.55; color: var(--mut); }
.preview b { color: var(--ink); }
@media (min-width: 1100px) { .codes-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr); } }
table.codes .cd { font-family: var(--mono); font-weight: 600; letter-spacing: .08em; color: var(--gold2); }
table.codes .nw { white-space: nowrap; }
table.codes .acts { display: flex; gap: 6px; justify-content: flex-end; }
.btn.ic1 { width: 36px; min-height: 34px; padding: 0; justify-content: center; }
.btn.ic1 svg { width: 16px; height: 16px; margin: 0; }
@media (max-width: 640px) { table.codes .acts { justify-content: flex-start; } }
.disc-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 11px; border-radius: 11px; border: 1px dashed rgba(233, 187, 93, .45); background: rgba(233, 187, 93, .06); color: var(--mut); font-size: 13px; }
.disc-l > svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.disc-l b { color: var(--gold2); font-family: var(--mono); letter-spacing: .06em; }
.disc-l .btn { margin-left: auto; }
/* admin: equipo */
.member { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 18px; border-top: 1px solid var(--line); }
.member .who2 { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 220px; }
.member .who2 b { display: block; font-size: 14px; }
.member .who2 small { display: block; font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.member .m-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inv-f { padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.inv-link { margin: 0 18px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.linkbox { width: 100%; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); color: var(--ink); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.rights h4 { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin: 16px 0 8px; }
.rights h4 svg { width: 16px; height: 16px; }
.rights h4.y { color: var(--ok); }
.rights h4.n { color: var(--gold); }
.rights ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rights li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--mut); }
.rights li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.rights li.y svg { color: var(--ok); }
.rights li.n svg { color: var(--gold); }
.audit { margin-top: 8px; font-size: 13px; color: var(--mut); }
.audit > div { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.audit > div:first-child { border-top: 0; }
.audit span { color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .audit > div { grid-template-columns: 1fr; gap: 2px; } .audit span { font-size: 12px; } }
.audit p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.audit b { color: var(--ink); }

/* ---------- v45: verificación de IB ---------- */
/* aviso de arriba (Inicio y Cuentas del cliente): en revisión, no encontrado o ¡listo! */
.ibn { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; margin-bottom: 14px; border-radius: 18px; border: 1px solid rgba(245, 177, 76, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(245, 177, 76, .14), transparent 60%), var(--card); box-shadow: var(--shadow); }
.ibn.bad { border-color: rgba(255, 122, 122, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(255, 122, 122, .13), transparent 60%), var(--card); }
.ibn.ok { border-color: rgba(61, 220, 151, .4); background: radial-gradient(120% 140% at 0% 0%, rgba(61, 220, 151, .13), transparent 60%), var(--card); }
.ibn.sm { padding: 13px 15px; border-radius: 16px; }
.ibn-hd { display: flex; align-items: center; gap: 10px; }
.ibn-hd > svg { width: 20px; height: 20px; flex: none; color: var(--warn); }
.ibn.bad .ibn-hd > svg { color: var(--bad); }
.ibn.ok .ibn-hd > svg { color: var(--ok); }
.ibn-hd b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; flex: 1; min-width: 0; }
.ibn.sm .ibn-hd b { font-size: 15.5px; }
.ibn p { margin: 0; color: var(--mut); font-size: 14px; line-height: 1.5; }
.ibn-uid b { color: var(--ink); letter-spacing: .04em; }
.ibn-b { margin-top: 4px; }
.ibn-b .btn svg { width: 15px; height: 15px; }
.ibn-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--dim); flex: none; }
.ibn-x:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.ibn-f { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.ibn-f label { font-size: 13px; font-weight: 600; color: var(--mut); }
.ibn-f .input { letter-spacing: .06em; }
/* estado de verificación de una cuenta */
.vstat { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(245, 177, 76, .3); background: rgba(245, 177, 76, .06); }
.vstat > svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--warn); }
.vstat.ok > svg { color: var(--ok); }
.vstat.bad > svg { color: var(--bad); }
.vstat.ok { border-color: rgba(61, 220, 151, .28); background: rgba(61, 220, 151, .05); }
.vstat.bad { border-color: rgba(255, 122, 122, .3); background: rgba(255, 122, 122, .05); }
.vstat p { margin: 0; color: var(--mut); font-size: 13.5px; line-height: 1.5; }
.vstat .link { white-space: nowrap; }
.vrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 13px; border-radius: 13px; background: var(--input); border: 1px solid var(--line); }
.vrow-m { min-width: 0; }
.vrow-m b { display: block; font-size: 14.5px; }
.vrow-m small { display: block; font-size: 12.5px; color: var(--dim); font-family: var(--mono); }
.vrow-t { margin: 6px 2px 10px !important; }
/* los 3 pasos de una cuenta nueva */
.ib-steps { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ib-steps li { position: relative; padding: 10px 11px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .015); min-width: 0; }
.ib-steps li + li::before { content: ""; position: absolute; left: -8px; top: 50%; width: 8px; height: 1px; background: var(--line2); }
.ib-steps b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.ib-steps small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
@media (max-width: 520px) { .ib-steps li { padding: 8px 9px; } .ib-steps b { font-size: 12px; line-height: 1.3; } .ib-steps small { font-size: 11px; line-height: 1.3; } }
@media (max-width: 330px) { .ib-steps { grid-template-columns: 1fr; } .ib-steps li + li::before { display: none; } }
/* pagar bloqueado: el botón gris y el motivo */
.payblock { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.payblock .btn[disabled] { opacity: .55; border-style: dashed; background: transparent; }
.payblock p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.45; max-width: 360px; }
.payblock p b { color: var(--mut); }
.pay-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; }
.li-pay .payblock { align-items: flex-end; text-align: right; }
@media (max-width: 640px) { .li-pay .payblock { align-items: flex-start; text-align: left; } }
/* Ayuda: videos, preguntas y la guía de cambio de IB */
.h-sec { font-family: var(--display); font-size: 18px; font-weight: 700; margin: 6px 0 10px; letter-spacing: -.01em; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; margin-bottom: 22px; }
.vid { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 15px; border: 1px solid var(--line); background: var(--card); opacity: .8; }
.vid-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--vio-soft); color: var(--vio2); border: 1px solid rgba(139, 92, 246, .3); }
.vid-ic svg { width: 16px; height: 16px; fill: currentColor; }
.vid-m { min-width: 0; }
.vid-m b { display: block; font-size: 14px; }
.vid-m small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; font-family: var(--mono); letter-spacing: .04em; }
details.ibg { margin-top: 16px; }
details.ibg > summary { font-size: 16px; }
details.ibg > summary svg { color: var(--gold); width: 18px; height: 18px; }
.ibg-in { display: flex; flex-direction: column; gap: 14px; }
.ibg-in .ib2 { margin-top: 0; }
.ibg-in .card { box-shadow: none; }
.ibg-in .ib2 .card { padding: 18px; }
@media (max-width: 640px) { .ibg-in .ib2 .card { padding: 15px; } }
/* admin: aviso en Inicio */
.ibhome { display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 14px; border-radius: 16px; border: 1px solid rgba(245, 177, 76, .4); background: radial-gradient(120% 140% at 0% 0%, rgba(245, 177, 76, .12), transparent 60%), var(--card); }
.ibhome > svg:first-child { width: 22px; height: 22px; color: var(--warn); flex: none; }
.ibhome > span { flex: 1; min-width: 0; }
.ibhome b { display: block; font-size: 15px; }
.ibhome small { display: block; font-size: 13px; color: var(--mut); }
.ibhome > svg:last-child { color: var(--dim); flex: none; }
.ibhome:hover { border-color: rgba(245, 177, 76, .6); }
/* admin: página «Verificación IB» */
.ibpage { display: flex; flex-direction: column; gap: 14px; max-width: 1040px; }
.ibup-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .ibup-g { grid-template-columns: 1fr; } }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 18px; border-radius: 16px; border: 1.5px dashed rgba(233, 187, 93, .55); background: rgba(233, 187, 93, .05); text-align: center; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.drop:hover, .drop.over { background: rgba(233, 187, 93, .11); border-color: var(--gold); }
.drop.over { transform: scale(1.01); }
.drop b { font-size: 15px; color: var(--ink); }
.drop small { font-size: 12.5px; color: var(--dim); }
.drop-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(233, 187, 93, .35); color: var(--gold); margin-bottom: 4px; }
.drop-ic svg { width: 22px; height: 22px; }
.drop.busy { cursor: progress; border-style: solid; }
.drop.busy .bars i { background: var(--gold); }
.ibup-how { padding: 4px 2px; font-size: 13.5px; color: var(--mut); }
.ibup-how > b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 8px; }
.ibup-how ol { margin: 0 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.ibup-how ol b { color: var(--ink); }
.ibup-last { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mut); }
.ibup-last svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--dim); }
.ibup-last b { color: var(--ink); }
.ib-ask { border-color: rgba(245, 177, 76, .45); background: var(--warn-soft); }
.ib-ask p { margin: 0; color: var(--mut); }
.ibchips { display: flex; flex-wrap: wrap; gap: 8px; }
.ibc { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card3); font-size: 13px; color: var(--mut); }
.ibc b { font-size: 16px; color: var(--ink); }
.ibc.ok { border-color: rgba(61, 220, 151, .32); background: var(--ok-soft); }
.ibc.ok b { color: var(--ok); }
.ibc.warn { border-color: rgba(245, 177, 76, .32); background: var(--warn-soft); }
.ibc.warn b { color: var(--warn); }
.ibc.bad { border-color: rgba(255, 122, 122, .32); background: var(--bad-soft); }
.ibc.bad b { color: var(--bad); }
.ib-note { display: flex; gap: 8px; align-items: flex-start; padding: 2px 18px 10px; margin: 0; }
.ib-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--vio2); }
.ib-note b { color: var(--mut); }
table.ibt .acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
table.ibt .nw { white-space: nowrap; }
table.ibt td .s { margin-top: 2px; }
@media (max-width: 640px) { table.ibt .acts { justify-content: flex-start; } }
.ib-gate { margin: 10px -18px 8px; border-top: 1px solid var(--line); }
.card h3 > svg { width: 17px; height: 17px; vertical-align: -3px; color: var(--gold); }

/* v56: huella o Face ID (llaves de acceso) */
.pk-list { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.pk-list .li { padding: 11px 14px; }
.pk-list .li > .row > svg { flex: none; color: var(--gold); }
.pk-del { padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pk-nag { border-color: rgba(233, 187, 93, .35); background: linear-gradient(135deg, rgba(139, 92, 246, .10), rgba(233, 187, 93, .08)); margin-bottom: 14px; }
.pk-nag .main { min-width: 0; }
.pk-nag .main b { display: block; font-size: 15px; }
.pk-nag .main small { display: block; color: var(--mut); font-size: 13px; margin-top: 3px; line-height: 1.45; }
.pk-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(233, 187, 93, .12); color: var(--gold); }
.pk-ic svg { width: 22px; height: 22px; }

/* v58: videos de ayuda (clientes) y vista previa en el admin */
.vids2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 22px; }
.vid2 { border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.vid2 video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid2-m { padding: 12px 14px; min-width: 0; }
.vid2-m b { display: block; }
.vid2-m small { display: block; margin-top: 3px; color: var(--mut); }
.help-li { flex-direction: column; align-items: stretch; gap: 10px; }
.help-prev { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.prog { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 6px 0 8px; }
.prog-bar { height: 100%; width: 0; background: var(--gold); transition: width .2s; }
/* v60: tutoriales públicos */
.vids2.tut { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-bottom: 0; }
.vid2.skel .vid2-ph { aspect-ratio: 16 / 9; background: linear-gradient(90deg, var(--line) 25%, rgba(255, 255, 255, .06) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lp-nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }

/* v81: Contactos (centro de control) */
button.ibc { font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
button.ibc:hover { border-color: var(--line3, rgba(255, 255, 255, .22)); }
button.ibc.on { border-color: var(--gold); background: rgba(233, 187, 93, .1); color: var(--ink); }
.ct-gs { display: grid; gap: 8px; }
.ct-g { padding: 10px 12px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card3); align-items: flex-start; }
.ct-g b { color: var(--ink); font-weight: 600; }
.ct-g small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.ct-count { margin: 4px 0 12px; font-size: 14px; color: var(--mut); }
.ct-count b { color: var(--gold); font-size: 16px; }
.ct-job { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card3); }
.ct-job.on { border-color: rgba(233, 187, 93, .45); }
.ct-filter { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.ct-danger { margin-top: 16px; border-top: 1px solid var(--line2); padding-top: 12px; }
.ct-danger summary { cursor: pointer; color: var(--bad); font-size: 13.5px; font-weight: 600; }
.ct-danger p { margin: 8px 0; }
.ct-t tr.click { cursor: pointer; }
.ct-t td .pill { margin: 2px 4px 2px 0; }
@media (max-width: 640px) { .ct-filter { grid-template-columns: 1fr 1fr; } .ct-filter .input:first-child { grid-column: 1 / -1; } }

/* v87: botón de idioma ES / EN (página pública, acceso y panel) */
.lang-sw { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .03); flex: none; }
.lang-sw button { appearance: none; border: 0; background: transparent; color: var(--dim); font: 600 11.5px/1 var(--body); letter-spacing: .06em; padding: 7px 8px; min-width: 30px; border-radius: 999px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.lang-sw button:hover { color: var(--ink); }
.lang-sw button[aria-pressed="true"] { background: var(--gold); color: #17120A; }
.lang-sw button:focus-visible { outline: 2px solid var(--vio2); outline-offset: 1px; }
.side .who .lang-sw.ls-side { margin-bottom: 10px; }
@media (min-width: 960px) { .appbar .lang-sw.ls-top { display: none; } }
@media (max-width: 380px) { .lang-sw button { padding: 6px 6px; min-width: 26px; font-size: 11px; } }
.appbar .lang-sw.ls-top button { padding: 6px 6px; min-width: 26px; font-size: 11px; }
@media (max-width: 349.98px) { .appbar .lang-sw.ls-top { display: none; } } /* teléfonos muy angostos: el idioma se cambia en «Más» */
.menu .menu-lang { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-top: 1px solid var(--line); font-weight: 600; }
.menu .lang-sw button { display: inline-block; width: auto; gap: 0; border-top: 0; text-align: center; }

/* ---------- v91: «Cuentas» del centro de control como lista (una línea por cuenta; el detalle se abre al tocarla) ---------- */
.ar-q { margin-bottom: 10px; }
.ar-q .input { width: 100%; }
.chip .chip-n { margin-left: 4px; font-family: var(--mono); font-weight: 500; opacity: .75; }
.ar { border-top: 1px solid var(--line); }
.ar:first-child { border-top: 0; }
.ar.bad { box-shadow: inset 3px 0 0 var(--bad); }
.ar.open { background: rgba(255, 255, 255, .018); }
.ar-hd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: transparent; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.ar-hd:hover { background: rgba(255, 255, 255, .025); }
.ar-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ar-m > b { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ar-m > b .num { font-weight: 500; color: var(--mut); }
.ar-m > small { font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.ar-st { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ar-st small { font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.ar-st small.ar-err { flex-basis: 100%; color: var(--bad); }
.ar-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; text-align: right; }
.ar-r b.num { font-size: 15px; font-weight: 500; }
.ar-r small { font-size: 12px; color: var(--dim); }
.ar-chev { color: var(--dim); flex: none; display: grid; transition: transform .25s var(--ease); }
.ar-chev svg { width: 18px; height: 18px; }
.ar.open .ar-chev { transform: rotate(180deg); }
.ar-d { padding: 2px 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* v91: en el celular, sin el grano de pantalla completa (mix-blend-mode) ni el brillo que se mueve detrás: en las páginas
   largas el iPhone se quedaba sin memoria y Safari mostraba «Ocurrió un problema varias veces» */
@media (max-width: 899.98px) {
  body::after { display: none; }
  .shell::after { animation: none; }
}

/* ---------- v94: páginas públicas en el teléfono ---------- */
/* La barra de arriba: desde la v87 (botón ES/EN) no cabía en el iPhone y «Crear cuenta» quedaba cortado. En el teléfono va el
   logo un poco más chico, «Entrar» en vez de «Iniciar sesión» y, del ES/EN, solo el otro idioma. En los más angostos (menos de
   370 px) el idioma se cambia abajo, en el pie; en los de menos de 340 px, «Iniciar sesión» queda en la portada. */
.lp-head .lb-short { display: none; }
.lp-foot .ls-foot { margin-top: 16px; }
@media (max-width: 520px) {
  .lp-head .wrap2 { gap: 10px; }
  .lp-head .brand { gap: 9px; font-size: 18px; }
  .lp-head .brand svg { width: 32px; height: 32px; }
  .lp-head .acts { gap: 6px; }
  .lp-head .acts .btn { padding: 0 11px; }
  .lp-head .lb-long { display: none; }
  .lp-head .lb-short { display: inline; }
  .lp-head .lang-sw button { color: var(--mut); }
  .lp-head .lang-sw button[aria-pressed="true"] { display: none; }
}
@media (max-width: 369.98px) { .lp-head .lang-sw { display: none; } }
@media (max-width: 339.98px) { .lp-head .acts .btn.ghost { display: none; } }
/* En el teléfono las secciones aparecen sin desenfoque: en el iPhone, animar el desenfoque de capas grandes hace que la página
   vaya a saltos. (v95: el fondo vuelve a moverse, ver abajo.) */
@media (max-width: 900px), (hover: none) {
  .lp .rv { filter: none; transition-property: opacity, transform; }
}

/* ---------- v95: la portada en el teléfono, más viva y con una entrada limpia ---------- */
/* 1) Entrada: las animaciones de entrada (.rise) esperan a que se quite la pantalla de carga con el logo (index.html, «booting»),
   que se va cuando la página está dibujada y las letras llegaron. Antes en el teléfono se veía: pantalla blanca, «Cargando…» y
   la portada subiendo borrosa con otra letra que cambiaba a mitad de camino. */
html.booting .rise { animation-play-state: paused; }
@keyframes riseM { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* 2) El recuadro de la señal: su historia (llega la señal → un solo envío → se abren las 4 cuentas → break even) empieza cuando
   se ve en pantalla (.play, app.js stagePlay); antes en el teléfono se veía por la mitad. */
.stage:not(.play) :is(.tgm, .tgm .bd > span, .beam i, .core, .core .rg, .core .lg-ln, .core .lg-hd, .ac, .ac .wt, .ac .wt i, .ac .ok2, .ac .be2, .ft .bemsg),
.stage:not(.play) .fan::before, .stage:not(.play) .fan::after { animation-play-state: paused; }
/* con las cuentas en 2 columnas, la línea que reparte llega al centro de cada columna */
@media (max-width: 559.98px) { .fan::before { left: 25%; right: 25%; } }
/* abajo del recuadro, una línea por mensaje (antes «SL a break even en las 4» se partía y el «4» quedaba solo) */
@media (max-width: 520px) { .stage .ft { flex-direction: column; align-items: flex-start; gap: 4px; } .stage .ft .bemsg { white-space: nowrap; } }
@media (max-width: 900px), (hover: none) {
  /* entrada sin desenfoque (en el iPhone el desenfoque animado se ve borroso y a saltos) */
  .rise { animation-name: riseM; }
  /* 3) el fondo se vuelve a mover, sin desenfoque: los brillos ya son degradados suaves y moverlos así no cuesta */
  .lp .glow { filter: none; animation: drift 22s ease-in-out infinite; }
  .lp .glow.v { background: radial-gradient(circle, rgba(139, 92, 246, .34), rgba(139, 92, 246, 0) 68%); }
  .lp .glow.g { background: radial-gradient(circle, rgba(233, 187, 93, .16), rgba(233, 187, 93, 0) 68%); }
  .lp .glow.v2 { background: radial-gradient(circle, rgba(139, 92, 246, .16), rgba(139, 92, 246, 0) 68%); }
}

/* ---------- v97: OroLink Partners («Referidos») ---------- */
.pt-wrap { display: grid; gap: 14px; max-width: 640px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: start; margin-bottom: 14px; }
/* las tarjetas entran una tras otra solo la primera vez que se abre la página (no en cada actualización) */
@keyframes ptIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.main.enter .pt-in { animation: ptIn .6s var(--ease) both; }
.main.enter .pt-in.d1 { animation-delay: .07s; } .main.enter .pt-in.d2 { animation-delay: .14s; } .main.enter .pt-in.d3 { animation-delay: .21s; }
.pt-warn { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--warn-soft); border: 1px solid rgba(245, 177, 76, .3); font-size: 14px; }
.pt-warn > svg { width: 18px; height: 18px; flex: none; color: var(--warn); }
.pt-warn > span { flex: 1; min-width: 200px; }
.pt-wrap .pt-warn { margin-bottom: 0; }
/* la tarjeta de «Ganas al mes»: borde fino de oro a violeta, como «Tus cuentas» */
.pt-hero { display: flex; flex-direction: column; gap: 14px; border: 1px solid transparent;
  background: radial-gradient(110% 140% at 100% 0%, rgba(233, 187, 93, .12), transparent 55%) padding-box, radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .13), transparent 60%) padding-box, linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(248, 222, 158, .6), rgba(139, 92, 246, .3) 38%, rgba(139, 92, 246, .1) 66%, rgba(233, 187, 93, .4)) border-box; }
.pt-lbl { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.pt-amt { display: flex; align-items: baseline; gap: 8px; margin-top: -8px; }
.pt-amt b { font-size: 46px; font-weight: 500; letter-spacing: -.055em; line-height: 1.1; background: linear-gradient(100deg, #C08A2C 0%, #E9BB5D 22%, #FFF3CF 30%, #F8DE9E 38%, #E9BB5D 60%, #C08A2C 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: olText 7s ease-in-out infinite; }
.pt-amt small { font-family: var(--mono); font-size: 13px; color: var(--mut); }
.pt-sts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-st { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; border-radius: 12px; background: rgba(7, 6, 13, .55); border: 1px solid var(--line); min-width: 0; }
.pt-st b { font-size: 20px; font-weight: 500; }
.pt-st > span { font-size: 12px; color: var(--mut); }
.pt-hold { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--mut); }
.pt-hold svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--warn); }
.pt-link, .pt-pay { display: flex; flex-direction: column; gap: 12px; }
.pt-url { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 6px 0 12px; border-radius: 12px; background: var(--input); border: 1px solid var(--line2); }
.pt-url > span { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-url .btn { min-height: 38px; flex: none; }
.pt-share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 76px; padding: 12px; text-align: left; border-radius: 12px; border: 1px solid var(--line2); background: var(--input); transition: background .2s, border-color .2s, box-shadow .2s; }
.pt-opts button b { font-size: 14px; }
.pt-opts button small { font-size: 12px; color: var(--mut); }
.pt-opts button:hover { border-color: #3D3958; }
.pt-opts button[aria-pressed="true"] { background: var(--vio-soft); border-color: var(--vio); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .55); }
.pt-soon { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--mut); }
.pt-soon svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--vio2); }
.pt-lh { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.pt-lh span { font-size: 12px; color: var(--mut); }
.pt-ref { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.pt-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--card3); color: var(--mut); }
.pt-ref.on .pt-av { background: rgba(139, 92, 246, .18); color: var(--vio2); }
.pt-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-who small { font-size: 12px; color: var(--mut); }
.pt-plus { font-size: 13px; color: var(--ok); white-space: nowrap; }
/* primera vez */
.pt-steps { display: grid; gap: 16px; margin-top: 14px; }
.pt-step { display: flex; gap: 12px; }
.pt-step i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; color: #1C1406; background: linear-gradient(180deg, #F8DE9E, #E9BB5D 55%, #D39E3C); }
.pt-step b { display: block; }
.pt-step small { display: block; color: var(--mut); font-size: 13px; margin-top: 2px; }
.pt-ex { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-color: rgba(233, 187, 93, .45); background: radial-gradient(110% 140% at 100% 0%, rgba(233, 187, 93, .12), transparent 55%), var(--card); }
.pt-ex small { display: block; color: var(--mut); font-size: 13px; margin-top: 2px; }
.pt-zero { font-size: 34px; font-weight: 500; letter-spacing: -.05em; color: var(--gold2); white-space: nowrap; }
.pt-join { display: grid; gap: 12px; }
.pt-rules { font-size: 13.5px; color: var(--mut); }
.pt-rules summary { cursor: pointer; color: var(--vio2); font-weight: 600; min-height: 32px; }
.pt-rules ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.pt-risk { text-align: center; }
/* la invitación (/r/CÓDIGO) y el aviso de quién invita en el registro */
.pt-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin: 0 0 16px; border-radius: 999px; background: var(--gold-soft); border: 1px solid rgba(233, 187, 93, .4); color: var(--gold2); font-weight: 600; font-size: 14px; animation: ptIn .6s var(--ease) both; }
.pt-chip i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #1C1406; background: linear-gradient(180deg, #F8DE9E, #E9BB5D 55%, #D39E3C); }
.pt-inv h1 { font-size: 32px; line-height: 1.08; letter-spacing: -.03em; }
.pt-pts { list-style: none; margin: 18px 0; padding: 16px; display: grid; gap: 12px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); }
.pt-pts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.pt-pts svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ok); }
.pt-price { text-align: center; margin-top: 10px; }
.pt-vt { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .3); font-size: 13px; }
.pt-vt svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--vio2); }
.pt-inv .pt-risk { margin-top: 14px; }
/* v98: cobrar el saldo («Pedir mi pago», estado del descuento) */
.pt-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); }
.pt-note > svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--vio2); }
.pt-note b { display: block; font-size: 14px; }
.pt-note small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mut); }
.pt-note.ok { border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .07); } .pt-note.ok > svg { color: var(--ok); }
.pt-note.warn { border-color: rgba(245, 177, 76, .4); background: var(--warn-soft); } .pt-note.warn > svg { color: var(--warn); }
.pt-soon.warn svg { color: var(--warn); }
.pt-kv { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pt-kv:first-child { border-top: 0; padding-top: 0; }
.pt-kv > span { color: var(--mut); flex: none; }
.pt-kv > b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pt-kv > b small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--mut); }
.pt-tx { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.pt-amtin { display: flex; gap: 8px; } .pt-amtin .input { flex: 1; min-width: 0; font-size: 18px; } .pt-amtin .btn { flex: none; }
.pt-pay .form { display: grid; gap: 12px; margin: 0; }
.pt-pay > .link, .pt-chg { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; min-height: 32px; }
.pt-c { text-align: center; }
.pt-terms { margin-top: 16px; padding-bottom: 20px; }
/* v98 (centro de control): pedidos de pago de Afiliados */
.ptp { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.ptp-h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ptp-h .s, .ptp-a .s { display: block; font-size: 12px; color: var(--mut); margin-top: 2px; }
.ptp-a { text-align: right; } .ptp-a b { font-size: 18px; color: var(--gold2); }
.ptp-ad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--input); border: 1px solid var(--line2); }
.ptp-ad code { flex: 1; min-width: 180px; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.pt-set > summary { cursor: pointer; list-style: none; } .pt-set > summary::-webkit-details-marker { display: none; }
.pt-set > summary .s { font-size: 12.5px; color: var(--mut); }
.pt-set h4 { font-size: 13px; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .pt-amt b, .pt-chip, .main.enter .pt-in { animation: none; } }

/* v130: selector de canales (botón + hoja) */
.srcpick { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.srcpick:hover { border-color: var(--vio2); }
.srcpick .srcpick-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.srcpick .srcpick-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srcpick .srcpick-t small { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srcpick svg { flex: none; color: var(--dim); transform: rotate(90deg); }
.pk-ovl { position: fixed; inset: 0; z-index: 120; background: rgba(5, 4, 12, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: flex-end; justify-content: center; }
.pk-sheet { width: 100%; max-height: 86vh; display: flex; flex-direction: column; background: #12111c; border: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.5); animation: pkUp .28s var(--ease, ease) both; }
@keyframes pkUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pk-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.pk-hd h3 { margin: 0; font-size: 17px; }
.pk-hd small { color: var(--dim); font-size: 12px; }
.pk-body { overflow: auto; padding: 8px 10px max(14px, env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
.pk-g { padding: 12px 10px 6px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.pk-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1px solid transparent; border-radius: 14px; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.pk-row:hover { background: rgba(255,255,255,.04); }
.pk-row.on { border-color: var(--gold); background: rgba(245, 177, 76, .08); }
.pk-row .pk-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pk-row .pk-main b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-row .pk-main small { color: var(--dim); font-size: 12px; }
.pk-row .pill { flex: none; }
.pk-f { padding: 10px 12px 0; }
/* v146: buscar un canal en el selector */
.pk-q { position: relative; display: block; padding: 10px 14px 4px; }
.pk-q svg { position: absolute; left: 27px; top: calc(50% + 3px); transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); pointer-events: none; }
.pk-q .input { padding-left: 42px; min-height: 44px; }
.pk-nada { margin: 10px 8px; color: var(--dim); font-size: 13.5px; }
.pk-sheet [hidden] { display: none !important; }
@media (min-width: 720px) { .pk-ovl { align-items: center; padding: 20px; } .pk-sheet { max-width: 560px; border-radius: 22px; max-height: 80vh; } }
/* v149: la pregunta «¿Seguro…?» (cancelar la renovación) */
.cf-body { padding: 24px 22px 4px; text-align: center; }
.cf-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); margin-bottom: 12px; }
.cf-ic.bad { background: var(--bad-soft); color: var(--bad); }
.cf-ic svg { width: 24px; height: 24px; }
.cf-body h3 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.cf-body p { color: var(--mut); font-size: 14.5px; line-height: 1.55; margin-top: 10px; }
.cf-body p b { color: var(--ink); }
.cf-btns { display: grid; gap: 10px; padding: 18px 18px max(18px, env(safe-area-inset-bottom, 0px)); }
.cf-btns .btn { width: 100%; justify-content: center; min-height: 48px; }
@media (min-width: 720px) { .pk-sheet.cf-sheet { max-width: 430px; } }

/* v132: alertas de canales compartidos en Inicio del admin */
.nshared { padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.nshared .chip b { margin-left: 2px; }
/* v133: la misma señal publicada varias veces por el canal («×4») */
.repx { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.5; color: var(--gold, #d4a53c); border: 1px solid currentColor; vertical-align: 1px; }

/* ---------- v159: «Cancelar renovación» como enlace y su pantalla (motivo opcional, oferta para quedarse) ---------- */
.lnk-cancel { background: none; border: 0; padding: 8px 4px; min-height: 36px; font: inherit; font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lnk-cancel:hover { color: var(--mut); }
.lnk-cancel:focus-visible { outline: 2px solid var(--vio); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 520px) { .li-pay .lnk-cancel { width: 100%; text-align: center; } }
.rt-sheet .rt-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 20px; }
.rt-sheet .cf-ic { width: 42px; height: 42px; margin-bottom: 8px; }
.rt-sheet .cf-ic svg { width: 21px; height: 21px; }
.rt-offer { display: flex; gap: 12px; align-items: flex-start; text-align: left; margin-top: 16px; padding: 13px 14px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(233, 187, 93, .35); }
.rt-offer > svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }
.rt-offer b { display: block; color: var(--gold2); font-size: 15px; }
.rt-offer span { display: block; color: var(--mut); font-size: 13.5px; margin-top: 2px; line-height: 1.45; }
.rt-why { margin-top: 16px; text-align: left; }
.cf-body p.rt-wl { color: var(--ink); font-size: 13.5px; font-weight: 600; margin: 0 0 8px; }
.rt-wl em { color: var(--dim); font-style: normal; font-weight: 500; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-chip { font: inherit; font-size: 13px; padding: 8px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card2); color: var(--mut); cursor: pointer; }
.rt-chip:hover { color: var(--ink); border-color: rgba(139, 92, 246, .45); }
.rt-chip[aria-pressed="true"] { background: rgba(139, 92, 246, .16); color: #fff; border-color: rgba(139, 92, 246, .55); }
.rt-chip:focus-visible { outline: 2px solid var(--vio); outline-offset: 2px; }
.rt-help { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--vio-soft); border: 1px solid rgba(139, 92, 246, .3); }
.cf-body .rt-help p { margin: 0 0 10px; color: var(--ink); font-size: 13.5px; }
.cf-body p.rt-err { margin-top: 12px; text-align: left; color: var(--bad); }
.rt-sheet .cf-btns .btn.busy { opacity: .75; cursor: progress; }

/* ---------- v161: PipPay en prueba (solo con html.pp: los clientes que el dueño encendió y pippay.es sin sesión) ----------
   Negro sólido sin nada detrás (sin cuadrícula, luces ni grano), tarjetas lisas, oro para el dinero y morado para lo vivo,
   letra Plus Jakarta Sans. En el teléfono, las 3 rayitas arriba abren todo el menú. */
html.pp { --bg: #000; --bg2: #000; --card: #0A0A0D; --card2: #111116; --card3: #17171E; --input: #07070A; --line: #1C1C24; --line2: #2A2A34;
  --ink: #fff; --mut: #B6B6C0; --dim: #8A8A94; --faint: #5C5C66; --shadow: none;
  --display: "Plus Jakarta Sans", system-ui, sans-serif; --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
html.pp, html.pp body { background: #000; }
html.pp body::after, html.pp .shell::before, html.pp .shell::after, html.pp .glow, html.pp .robot .orbit, html.pp .robot:not(.off)::after, html.pp .cbox::before, html.pp .prof::before, html.pp .btn.gold::after { display: none; }
html.pp .shell { background: #000; }
html.pp h1, html.pp h2, html.pp h3, html.pp h4, html.pp .ph h1, html.pp .hi2 h1, html.pp .pg2 h1, html.pp .g-hd h1 { font-weight: 800; letter-spacing: -.03em; }
html.pp .brand { font-weight: 800; letter-spacing: -.03em; }
html.pp .brand svg { filter: none; }
html.pp .brand b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold); }
html.pp .card, html.pp .acc { background: var(--card); }
html.pp .card.hl, html.pp .card.vl, html.pp .card.brake-on, html.pp .cok, html.pp .lc, html.pp .lc.neg, html.pp .tg-out, html.pp .faq-help, html.pp .faq details[open], html.pp .cbox, html.pp .race .gr, html.pp .ib2 .warnc, html.pp .price3 .card.first { background: var(--card); }
html.pp .robot, html.pp .robot:not(.off) { background: #130E22; border: 1px solid #35275E; animation: none; }
html.pp .robot.off { background: var(--card); border-color: var(--line2); }
html.pp .robot .sw[aria-checked="true"] { animation: none; }
html.pp .bal, html.pp .prof { background: var(--card); border: 1px solid #3A2E12; }
html.pp .bal-k:first-child b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold); -webkit-text-fill-color: var(--gold); animation: none; }
html.pp .big-n, html.pp .big-n.v, html.pp .big-n.o { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--gold); }
html.pp .sum2 { background: var(--card); border-color: var(--line); }
html.pp .btn.gold { background: #E9BB5D; color: #0A0A0A; box-shadow: none; }
html.pp .btn.gold:hover { background: #F3CD7A; }
html.pp .btn.vio { background: #7C3AED; box-shadow: none; }
html.pp .sw[aria-checked="true"] { background: #7C3AED; box-shadow: none; }
html.pp .bar i { background: var(--gold); }
html.pp .appbar, html.pp .tabbar { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.pp .tab[aria-current="page"] { background: #130E22; }
html.pp .tabbar .tab[aria-current="page"]::before { background: var(--gold); }
html.pp .navg { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 12px 12px 3px; }
html.pp .hb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: #fff; flex: none; }
html.pp .appbar .brand svg { width: 28px; height: 28px; }
@media (min-width: 960px) {
  html.pp .side { background: #000; }
  html.pp .side nav { gap: 2px; }
  html.pp .side .tab[aria-current="page"] { background: #130E22; }
  html.pp .side .tab[aria-current="page"]::before { background: var(--gold); }
  html.pp .hb { display: none; }
}
/* el menú de las 3 rayitas */
.ppd { position: fixed; inset: 0; z-index: 80; }
.ppd[hidden] { display: none; }
.ppd-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.ppd-p { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top, 0px)) 12px max(14px, env(safe-area-inset-bottom, 0px)); background: #0A0A0D; border-right: 1px solid var(--line); animation: ppdIn .3s var(--ease) both; }
@keyframes ppdIn { from { transform: translateX(-100%); } }
.ppd-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 10px; }
.ppd-hd .brand svg { width: 28px; height: 28px; }
.ppd-x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; flex: none; }
.ppd-x svg { width: 18px; height: 18px; }
.ppd nav { display: flex; flex-direction: column; gap: 2px; }
.ppd .tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; font-size: 15px; }
.ppd .tab svg { width: 20px; height: 20px; }
.ppd .tab span { overflow: visible; }
.ppd-ft { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }
.ppd-ft .lang-sw { justify-self: start; }
html.ppd-on, html.ppd-on body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ppd-p { animation: none; } }
/* pippay.es sin sesión: «Muy pronto» */
.pp-soon { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: #000; padding: 32px 20px; text-align: center; }
.pp-soon .pp-big { width: 88px; height: 88px; }
.pp-soon h1 { margin-top: 18px; font-size: 48px; font-weight: 800; letter-spacing: -.045em; }
.pp-soon h1 b { color: var(--gold); }
.pp-soon p { margin-top: 10px; color: var(--mut); font-size: 17px; }
.pp-soon .btn { margin-top: 26px; min-width: 160px; }
/* ---------- v162: PipPay con datos reales, como el diseño (solo html.pp) ----------
   Página ancha con encabezado, tarjetas lisas en dos columnas, números en Plus Jakarta Sans y luces fuertes en el Top 3 del Market. */
html.pp { --mono: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
html.pp .num, html.pp .kpi > b, html.pp .bal-k b, html.pp .bl-r b, html.pp .ledger b { font-weight: 800; letter-spacing: -.02em; }
html.pp #main .pp-pg { max-width: 1000px; display: flex; flex-direction: column; gap: 16px; }
html.pp #main .pp-pg > * { margin: 0; }
.pp-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pp-hd h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; margin: 0; line-height: 1.1; }
.pp-hd p { color: var(--dim); font-size: 14.5px; margin: 6px 0 0; max-width: 62ch; }
.pp-hd-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-hd-amt { text-align: right; } .pp-hd-amt small { display: block; color: var(--dim); font-size: 13px; } .pp-hd-amt b { font-size: 30px; color: var(--gold); }
.pp-accp { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pp-accp i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.pp-accp i.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); } .pp-accp i.wait { background: var(--vio); }
.pp-accp:hover { border-color: #3A3A46; }
.pp-sub { color: var(--dim); font-size: 13.5px; line-height: 1.5; margin: 6px 0 0; }
.pp-sec { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 -4px; }
.pp-h3 { font-size: 15px; font-weight: 700; margin: 2px 0 10px; }
.pp-foot { display: flex; align-items: flex-start; gap: 8px; color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.pp-foot svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--vio2); }
.pp-foot b { color: var(--ink); }
.pp-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; min-width: 0; }
.pp-card.pad0 { padding: 0; overflow: hidden; }
.pp-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pp-ch h2 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.pp-ch > b { font-size: 15px; }
.pp-cnt { font-size: 12px; color: var(--mut); background: var(--card3); border: 1px solid var(--line2); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pp-cols { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.pp-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pp-col > * { margin: 0 !important; }
@media (min-width: 900px) { .pp-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* Inicio */
.pp-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 22px; background: #110D1E; border: 1px solid #2B2147; }
.pp-hero-t { flex: 1; min-width: 0; position: relative; z-index: 1; }
.pp-hero h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.pp-hero p { color: #C9C2E6; margin: 6px 0 0; font-size: 14.5px; }
.pp-hero .pp-why { color: var(--mut); font-size: 13.5px; }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); flex: none; }
.pp-dot.on { background: var(--vio2); box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); animation: ppPulse 2.4s ease-in-out infinite; }
@keyframes ppPulse { 50% { box-shadow: 0 0 0 7px rgba(139, 92, 246, .08); } }
.pp-hero-a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pp-hero-a .btn { background: transparent; border: 1px solid #34295A; color: var(--ink); }
.pp-hero-a .btn:hover { border-color: #4A3B7E; }
.pp-hero-a .btn.gold { background: var(--gold); border-color: var(--gold); color: #0A0A0A; }
.pp-sw { display: inline-flex; align-items: center; gap: 10px; padding-right: 12px; margin-right: 2px; border-right: 1px solid #2B2147; }
.pp-sw b { font-size: 14px; }
.pp-hero-img { width: 170px; height: 170px; margin: -26px -6px -26px 0; object-fit: contain; flex: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
.pp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .pp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pp-tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; min-width: 0; }
.pp-tile > span { display: block; color: var(--dim); font-size: 13px; }
.pp-tile > b { display: block; font-size: 28px; line-height: 1.15; margin-top: 8px; overflow-wrap: anywhere; }
.pp-tile > small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 6px; line-height: 1.4; }
.pp-now .nowx { gap: 12px; }
.pp-now .nw-hd h2 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.pp-now .card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.pp-now .nw-card { border: 1px solid var(--line); border-radius: 16px; background: var(--card2); }
.pp-now .nw-empty { padding: 14px 16px; border: 1px dashed var(--line2); border-radius: 16px; }
.pp-ev { margin-top: 12px; }
.pp-evr { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pp-evr > span { flex: 1; min-width: 0; }
.pp-evr small { color: var(--dim); font-size: 12px; white-space: nowrap; }
.pp-evd { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.pp-evd.ok { background: var(--ok); } .pp-evd.bad { background: var(--bad); } .pp-evd.gold { background: var(--gold); }
.pp-evall { display: inline-block; margin-top: 12px; }
.pp-chart svg { display: block; width: 100%; height: 150px; }
.pp-chart line { stroke: var(--line); stroke-width: 1; }
.pp-chart polyline { fill: none; stroke: var(--vio); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.pp-chx { display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; margin-top: 8px; }
.pp-accs { display: flex; flex-direction: column; }
.pp-acc { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.pp-acc:first-child { border-top: 0; padding-top: 4px; }
.pp-av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #15122A; border: 1px solid #2B2147; color: var(--vio2); font-size: 12.5px; font-weight: 800; flex: none; }
.pp-acc-m { flex: 1; min-width: 0; } .pp-acc-m b { display: block; font-size: 14.5px; } .pp-acc-m small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.pp-minis { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .pp-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pp-mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.pp-mini:hover { border-color: var(--line2); }
.pp-mini .pp-3d { width: 58px; height: 58px; object-fit: contain; flex: none; }
.pp-mini b { display: block; font-size: 15px; letter-spacing: -.015em; } .pp-mini small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
/* Cuentas */
html.pp .pp-col .acc2 { border-radius: 20px; background: var(--card); border-color: var(--line); }
html.pp .pp-col .acc2.live { border-color: #2B2147; }
html.pp .pp-col .a2-av { border-radius: 11px; }
@media (min-width: 560px) {
  html.pp .pp-col .a2-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; border-top: 0; }
  html.pp .pp-col .a2-row { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--card2); }
  html.pp .pp-col .a2-row .a2-act, html.pp .pp-col .a2-row > .btn, html.pp .pp-col .a2-row > .sw { align-self: flex-start; }
  html.pp .pp-col .a2-rows .src-ask { grid-column: 1 / -1; border-radius: 14px; }
}
html.pp .pp-col .add2 { border-radius: 20px; background: var(--card); }
html.pp .pp-col details.add2 > summary { font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.pp-lots { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pp-lot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card2); font-size: 14px; }
.pp-lot em { font-style: normal; color: var(--vio2); font-size: 12px; font-weight: 600; margin-left: 10px; }
.pp-lot.on { background: #130E22; outline: 1px solid #2B2147; }
.pp-lot.more { background: transparent; color: var(--dim); }
.pp-ibh { display: flex; align-items: center; gap: 14px; }
.pp-ibh .pp-3d { width: 56px; height: 56px; object-fit: contain; flex: none; }
.pp-ibh h2 { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.pp-ibs { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pp-ibr { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--card2); font-size: 14px; }
.pp-ibl { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14px; }
/* Historial */
.pp-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line2); }
.pp-seg button { height: 32px; padding: 0 14px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--mut); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pp-seg button[aria-pressed="true"] { background: #130E22; border-color: #2B2147; color: var(--ink); }
.pp-dh { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pp-dh > b:first-child { font-size: 15.5px; letter-spacing: -.015em; }
.pp-dh > b.num { margin-left: auto; font-size: 15px; }
html.pp .pp-day .hi-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin: 0; }
html.pp .pp-day .hi-row:last-child { border-bottom: 0; }
.pp-hr { display: grid; grid-template-columns: 54px auto minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; }
.pp-hr::-webkit-details-marker { display: none; }
.pp-hr::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid var(--dim); border-bottom: 1.6px solid var(--dim); transform: rotate(45deg); justify-self: center; margin-top: -4px; transition: transform .2s; }
details[open] > .pp-hr::after { transform: rotate(225deg); margin-top: 4px; }
.pp-hr-t { color: var(--mut); font-size: 13.5px; font-weight: 600; }
.pp-hr-l { display: none; color: var(--mut); font-size: 13.5px; }
.pp-hr-m { min-width: 0; } .pp-hr-m b { display: block; font-size: 14.5px; } .pp-hr-m small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
.pp-hr > b.num { font-size: 15px; text-align: right; }
.pp-hr-x { color: var(--faint); }
@media (min-width: 640px) { .pp-hr { grid-template-columns: 64px 74px 48px minmax(0, 1fr) auto 18px; } .pp-hr-l { display: block; } }
html.pp .pp-day .hi-body { padding: 0 20px 16px; }
/* Canales */
.pp-grs { display: flex; flex-direction: column; }
.pp-gr { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pp-gr:first-child { border-top: 0; padding-top: 2px; }
.pp-gn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line2); font-size: 13px; font-weight: 800; flex: none; }
.pp-gm { flex: 1; min-width: 0; } .pp-gm b { display: block; font-size: 14.5px; } .pp-gm small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
html.pp .pp-col .tgc { border-radius: 20px; }
html.pp .pp-demo .tg-demo { margin-top: 14px; }
html.pp .pp-card .form { margin-top: 14px; }
/* Plan y pagos */
.pp-plans { display: flex; flex-direction: column; gap: 10px; }
.pp-pl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.pp-pl-m { flex: 1 1 220px; min-width: 0; } .pp-pl-m b { display: block; font-size: 15px; } .pp-pl-m small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.pp-pl-a { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-prices { display: flex; flex-direction: column; }
.pp-pr { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.pp-pr:first-child { border-top: 0; padding-top: 2px; }
.pp-pr > b { text-align: right; font-size: 14.5px; }
.pp-pr > b small { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-left: 4px; }
.pp-pr > b .then { display: block; font-size: 12px; color: var(--dim); font-weight: 500; }
.pp-pr > b s { color: var(--faint); margin-right: 6px; }
.pp-paysc .pp-ch { padding: 18px 20px 0; }
.pp-pays th { color: var(--dim); font-weight: 600; font-size: 12.5px; }
.pp-how { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.pp-how-i { width: 44px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--card3); border: 1px solid var(--line2); flex: none; }
.pp-how b { display: block; font-size: 15px; } .pp-how small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.pp-extra { display: flex; gap: 14px; align-items: flex-start; border-style: dashed; }
.pp-ex-i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line2); color: var(--gold); flex: none; }
.pp-extra b { font-size: 15.5px; } .pp-extra .btn { margin-top: 12px; }
html.pp .pp-card .ticket, html.pp .pp-card .promo-c { margin: 0; }
/* Referidos */
.pp-ptl { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.pp-ptl .pp-3d { width: 54px; height: 54px; object-fit: contain; flex: none; }
html.pp .pp-ptl .pt-link { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0; margin: 0; box-shadow: none; }
html.pp .pp-pt .pt-hero, html.pp .pp-pt .pt-pay, html.pp .pp-pt .pt-list { border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
/* Ayuda */
.pp-q { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); }
.pp-q svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.pp-q .input { border: 0; background: transparent; padding: 0; height: 100%; box-shadow: none; }
html.pp .pp-pg .vids2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
html.pp .pp-pg .vid2 { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.pp-faq { max-width: none; margin: 0; }
html.pp .pp-faq details { border-color: var(--line); }
.pp-supc { border-color: #2B2147; }
.pp-sup { font-size: 14.5px; margin: 12px 0 8px; }
/* Perfil */
.pp-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pp-lang b { display: block; font-size: 15px; } .pp-lang small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
html.pp .pp-col .prof, html.pp .pp-col .card { border-radius: 20px; }
@media (max-width: 559px) {
  .pp-hd h1 { font-size: 26px; }
  .pp-hero { padding: 20px; }
  .pp-hero h2 { font-size: 21px; }
  .pp-hero-img { position: absolute; right: -18px; top: -10px; width: 118px; height: 118px; margin: 0; opacity: .9; }
  .pp-hero-t { padding-right: 70px; }
  .pp-tile > b { font-size: 22px; }
  .pp-card { padding: 18px; }
}
/* Market: luces más fuertes en el Top 3 (pedido de Elian, 28 nov: «casi no se nota») */
html.pp .mk-c.mk-t1, html.pp .mk-c.mk-t2, html.pp .mk-c.mk-t3 {
  background: radial-gradient(110% 80% at 0% 0%, rgba(var(--mt), .24), transparent 55%), radial-gradient(80% 60% at 100% 100%, rgba(var(--mt), .1), transparent 62%), #0B0B0F;
  box-shadow: 0 0 0 1px rgba(var(--mt), .5), 0 0 22px -2px rgba(var(--mt), .5), 0 0 60px -6px rgba(var(--mt), .38), 0 30px 90px -30px rgba(var(--mt), .75);
  animation: ppTop 4.5s ease-in-out infinite; }
html.pp .mk-c.mk-t2 { animation-delay: -1.5s; } html.pp .mk-c.mk-t3 { animation-delay: -3s; }
@keyframes ppTop { 50% { box-shadow: 0 0 0 1px rgba(var(--mt), .7), 0 0 30px 0 rgba(var(--mt), .62), 0 0 84px -4px rgba(var(--mt), .48), 0 30px 90px -30px rgba(var(--mt), .85); } }
html.pp .mk-c.mk-t1::after, html.pp .mk-c.mk-t2::after, html.pp .mk-c.mk-t3::after { padding: 2px;
  background: conic-gradient(from var(--mk-a), rgba(var(--mt), .4), rgba(var(--mt), 1) 7%, #fff 9%, rgba(var(--mt), 1) 11%, rgba(var(--mt), .4) 22%, rgba(var(--mt), .4) 50%, rgba(var(--mt), 1) 57%, #fff 59%, rgba(var(--mt), 1) 61%, rgba(var(--mt), .4) 72%);
  filter: drop-shadow(0 0 5px rgba(var(--mt), .95)); }
html.pp .mk-c.mk-t1::before, html.pp .mk-c.mk-t2::before, html.pp .mk-c.mk-t3::before { background: linear-gradient(105deg, transparent 32%, rgba(var(--mt), .14) 42%, rgba(255, 255, 255, .3) 50%, rgba(var(--mt), .14) 58%, transparent 68%); }
html.pp .mk-c.mk-t1 .mk-big b, html.pp .mk-c.mk-t2 .mk-big b, html.pp .mk-c.mk-t3 .mk-big b { text-shadow: 0 0 22px rgba(var(--mt), .35); }
@media (prefers-reduced-motion: reduce) { html.pp .mk-c.mk-t1, html.pp .mk-c.mk-t2, html.pp .mk-c.mk-t3 { animation: none; } }
.pp-hd-img { width: 86px; height: 86px; object-fit: contain; margin: -10px 0 -14px; }
/* ajustes después de mirarlo (28 nov) */
html.pp .num, html.pp .kpi > b, html.pp .res4 .kpi b, html.pp .lc-total, html.pp .lc-r > b, html.pp .lc-gh b.num, html.pp .bal-k b, html.pp .bl-r b, html.pp .prof-stats b, html.pp .tr-r b, html.pp .tr-p, html.pp .lv b, html.pp .lc-px, html.pp .ledger b, html.pp .res-chip { font-feature-settings: "tnum" 1; }
html.pp .hi-row > summary.pp-hr { display: grid; grid-template-columns: 74px auto minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; padding: 14px 16px; }
html.pp .hi-row > summary.pp-hr > b.num { font-family: var(--mono); font-size: 15px; font-weight: 800; }
@media (min-width: 640px) { html.pp .hi-row > summary.pp-hr { grid-template-columns: 88px 78px 44px minmax(0, 1fr) auto 18px; gap: 12px; padding: 14px 20px; } }
html.pp .pp-col .a2-row .a2-act { max-width: 100%; justify-content: flex-start; }
html.pp .pp-col .a2-row .btn { white-space: normal; text-align: left; }
html.pp .pp-demo .tg-demo { grid-template-columns: minmax(0, 1fr); gap: 12px; }
html.pp .pp-demo .tg-demo .arrow { transform: rotate(90deg); }
html.pp .pp-col .prof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.pp .pp-col .prof-stats > div:nth-child(3) { border-left: 0; }
html.pp .pp-col .prof-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
html.pp .pp-faq { display: flex; flex-direction: column; gap: 0; }
html.pp .pp-faq details, html.pp .pp-faq details[open] { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
html.pp .pp-faq details:last-child { border-bottom: 0; }
html.pp .pp-faq summary { padding: 15px 2px; font-size: 15px; }
html.pp .pp-faq details p { padding: 0 2px 16px; }
@media (max-width: 639px) {
  html.pp .hi-row > summary.pp-hr { grid-template-columns: 74px minmax(0, 1fr) auto 12px; row-gap: 6px; column-gap: 10px; }
  html.pp .pp-hr > :nth-child(1) { grid-column: 1; grid-row: 1; }
  html.pp .pp-hr > :nth-child(2) { grid-column: 1; grid-row: 2; justify-self: start; }
  html.pp .pp-hr > :nth-child(4) { grid-column: 2; grid-row: 1 / span 2; }
  html.pp .pp-hr > :nth-child(5) { grid-column: 3; grid-row: 1 / span 2; }
  html.pp .pp-hr::after { grid-column: 4; grid-row: 1 / span 2; }
  .pp-evr { flex-wrap: wrap; }
  .pp-evr small { width: 100%; padding-left: 18px; margin-top: -6px; }
}
.pp-evr b { white-space: nowrap; }

/* ---------- v163: PipPay · íconos y menú del diseño, Diario, Trailing, Herramientas, Noticias, Coach y Cashback (solo html.pp) ---------- */
/* el menú: íconos finos, el activo con su ícono violeta; en el teléfono, sin fondo en la pestaña activa */
html.pp .tab { color: #B6B6C0; }
html.pp .tab:hover { color: #fff; }
html.pp .tab[aria-current="page"] { color: #fff; }
html.pp .tab[aria-current="page"] svg { color: #A78BFA; }
html.pp .tabbar .tab { font-size: 11px; font-weight: 700; color: #8A8A94; }
html.pp .tabbar .tab[aria-current="page"] { background: transparent; color: #fff; }
html.pp .tabbar .tab[aria-current="page"]::before { content: none; }
html.pp .ppd .tab[aria-current="page"], html.pp .side .tab[aria-current="page"] { background: #130E22; }
html.pp .side .tab { font-size: 15px; font-weight: 600; padding: 9px 12px; }
html.pp .navg { color: #5C5C66; }
@media (min-width: 960px) { html.pp .side .tab[aria-current="page"]::before { background: #8B5CF6; } }
.pp-nb { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: none; padding: 3px 7px; border-radius: 999px; background: #1A1508; color: var(--gold); border: 1px solid #4A3A16; line-height: 1.2; }
.pp-hd h1 .pp-nb { margin-left: 10px; vertical-align: middle; font-size: 12px; }
/* piezas comunes */
.pp-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: #111116; border: 1px solid #22222B; color: #B6B6C0; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pp-chip.ok { background: #0C1A11; border-color: #1E4A2C; color: #86EFAC; }
.pp-chip.gold { background: #1A1508; border-color: #4A3A16; color: #F3D891; }
.pp-chip.vio { background: #130E22; border-color: #35275E; color: #DDD5FF; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-sub0 { color: var(--dim); font-size: 12.5px; margin: 0; }
.pp-mt { margin-top: 14px !important; }
.pp-ch h2 small { font-size: 13px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.pp-g2, .pp-g3 { display: grid; gap: 16px; align-items: start; }
.pp-g2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.pp-g3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.pp-g2 > *, .pp-g3 > * { margin: 0 !important; min-width: 0; }
.pp-li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14.5px; line-height: 1.45; }
.pp-li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.pp-li.ok svg { color: #4ADE80; } .pp-li.no svg { color: #F87171; }
.pp-soonc { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #110D1E; border-color: #2B2147; }
.pp-soonc > div { flex: 1; min-width: 220px; } .pp-soonc b { font-size: 17px; letter-spacing: -.015em; }
.pp-soon-i { width: 84px; height: 84px; object-fit: contain; flex: none; mix-blend-mode: lighten; }
.pp-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pp-empty .pp-3d { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: lighten; }
.pp-empty > div { flex: 1; min-width: 220px; }
/* Diario */
.pp-dbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pp-dbar .pp-seg { max-width: 100%; overflow-x: auto; }
.pp-xls { margin-left: auto; }
.pp-dcurve svg { height: 150px; margin-top: 12px; }
.pp-dcurve path.ar { fill: #8B5CF6; fill-opacity: .1; stroke: none; }
.pp-dcurve polyline { stroke: #A78BFA; stroke-width: 2; }
.pp-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.pp-cdh { font-size: 11px; font-weight: 800; color: #8A8A94; text-align: center; padding-bottom: 2px; }
.pp-cd { min-height: 44px; border-radius: 9px; background: #0E0E12; border: 1px solid #17171E; padding: 5px 6px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.pp-cd.x { background: transparent; border-color: transparent; }
.pp-cd.hoy { border-color: #8B5CF6; }
.pp-cd i { font-style: normal; font-size: 11px; color: #8A8A94; }
.pp-cd b { font-size: 12px; font-weight: 800; color: #fff; align-self: flex-end; }
.pp-brs { display: flex; flex-direction: column; }
.pp-br { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; }
.pp-bl { font-size: 13px; color: #B6B6C0; line-height: 1.25; } .pp-bl small { display: block; font-size: 11px; color: #6E6E78; }
.pp-bt { height: 8px; border-radius: 999px; background: #17171E; overflow: hidden; }
.pp-bt i { display: block; height: 100%; border-radius: 999px; background: #4ADE80; }
.pp-bt i.dn { background: #F87171; } .pp-bt i.vl { background: #A78BFA; }
.pp-br > b { font-size: 13px; font-weight: 800; text-align: right; }
.pp-kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.pp-kv > div:first-child { border-top: 0; padding-top: 2px; }
.pp-kv span { color: #B6B6C0; } .pp-kv b { text-align: right; }
.pp-warns { display: grid; gap: 10px; }
.pp-warn, .pp-okbox { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.pp-warn { background: #1A1508; border: 1px solid #4A3A16; color: #F3D891; }
.pp-okbox { background: #0C1A11; border: 1px solid #1E4A2C; color: #86EFAC; }
.pp-warn svg, .pp-okbox svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.pp-ops { width: 100%; font-size: 14px; }
.pp-ops th { font-size: 12px; color: #8A8A94; font-weight: 700; text-align: left; }
.pp-ops td.b { font-weight: 800; }
.pp-ops .pp-chip { height: 24px; font-size: 12px; }
@media (max-width: 560px) { .pp-ops .hm { display: none; } }
/* Trailing */
.pp-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pp-card .pp-row:first-of-type { border-top: 0; }
.pp-row-m { flex: 1; min-width: 160px; } .pp-row-m b { display: block; font-size: 14.5px; } .pp-row-m small { display: block; color: #8A8A94; font-size: 13px; margin-top: 2px; }
.pp-row-w { width: 104px; flex: none; color: #8A8A94; font-size: 13px; }
.pp-tsteps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pp-tsteps button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #2A2A34; background: transparent; color: #B6B6C0; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pp-tsteps button:hover { border-color: #A78BFA; color: #fff; }
.pp-tsteps button[aria-pressed="true"] { border-color: #A78BFA; background: #130E22; color: #fff; }
.pp-trsv { display: block; width: 100%; height: auto; margin-top: 14px; }
.pp-trsv .b { stroke: #22222B; stroke-width: 1; }
.pp-trsv .st { stroke: #3A2E12; stroke-width: 3; stroke-linecap: round; fill: none; }
.pp-trsv .st.on { stroke: var(--gold); }
.pp-trsv .pr { stroke: #A78BFA; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.pp-trsv .pt { fill: #A78BFA; }
.pp-trsv text { fill: #fff; font-size: 12px; font-weight: 800; }
.pp-trsv text.sv { fill: var(--gold); font-size: 11px; font-weight: 700; }
.pp-tres { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: #130E22; border: 1px solid #2B2147; }
.pp-tres b { display: block; font-size: 15.5px; } .pp-tres span { display: block; color: #B6B6C0; font-size: 14px; margin-top: 4px; line-height: 1.45; }
.pp-now2 + .pp-now2 { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.pp-now2-h { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.pp-now2-h > div:first-child { flex: 1; min-width: 200px; } .pp-now2-h small { display: block; color: #8A8A94; font-size: 13px; margin-top: 2px; }
.pp-now2-v { text-align: right; } .pp-now2-v b { font-size: 28px; letter-spacing: -.04em; }
.pp-trk { position: relative; height: 10px; border-radius: 999px; background: #17171E; margin: 34px 0 30px; }
.pp-trk .f { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #A78BFA; }
.pp-trk .m { position: absolute; top: -4px; width: 2px; height: 18px; background: #2A2A34; transform: translateX(-1px); }
.pp-trk .m b { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: #8A8A94; white-space: nowrap; }
.pp-trk .sl { position: absolute; top: 16px; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: var(--gold); }
/* Herramientas */
.pp-tool { display: flex; align-items: center; gap: 18px; padding: 22px; }
.pp-tool-i, .pp-tool-v { flex: none; width: 120px; height: 120px; object-fit: contain; mix-blend-mode: lighten; }
.pp-tool-v { display: grid; place-items: center; }
.pp-tool-m { flex: 1; min-width: 0; }
.pp-tool-m h2 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; margin: 10px 0 6px; }
.pp-tool-m p { color: #8A8A94; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.pp-newsv { width: 108px; padding: 12px; border-radius: 14px; background: #111116; border: 1px solid #2A2A34; display: grid; gap: 7px; }
.pp-newsv i { display: block; height: 6px; border-radius: 3px; background: #2A2A34; }
.pp-newsv b { justify-self: start; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #2A1414; color: #FCA5A5; border: 1px solid #4A2020; }
@media (max-width: 520px) { .pp-tool { flex-direction: column; align-items: flex-start; } .pp-tool-i, .pp-tool-v { width: 84px; height: 84px; } }
/* Noticias */
.pp-imp { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: #111116; color: #B6B6C0; border: 1px solid #22222B; }
.pp-imp.alto { background: #2A1414; color: #FCA5A5; border-color: #4A2020; }
.pp-imp.medio { background: #1A1508; color: #F3D891; border-color: #4A3A16; }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #8A8A94; font-size: 12.5px; }
.pp-lead { position: relative; overflow: hidden; }
.pp-lead-img { float: right; width: 110px; height: 110px; object-fit: contain; margin: -6px -6px 6px 10px; mix-blend-mode: lighten; }
.pp-lead h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; margin: 12px 0; }
.pp-lead .row { clear: both; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pp-mean { margin-top: 12px; padding: 13px 15px; border-radius: 14px; background: #130E22; border: 1px solid #2B2147; font-size: 14px; line-height: 1.55; color: #DDD5FF; }
.pp-mean p { margin: 0 0 6px; } .pp-mean p:last-child { margin: 0; } .pp-mean b { color: #fff; }
.pp-md p { margin: 0 0 8px; } .pp-md ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; }
.pp-nl p { display: flex; gap: 10px; margin: 0; padding: 8px 0; font-size: 14.5px; line-height: 1.45; }
.pp-nl svg { flex: none; width: 18px; height: 18px; color: #A78BFA; margin-top: 1px; }
.pp-nl small { display: block; color: #8A8A94; font-size: 12px; margin-top: 2px; }
.pp-ev2 { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pp-ev2:first-of-type { border-top: 0; }
.pp-ev2 > b { width: 76px; flex: none; font-size: 13.5px; } .pp-ev2 > span:not(.pp-imp) { flex: 1; min-width: 0; } .pp-ev2 small { display: block; color: #8A8A94; font-size: 12px; margin-top: 2px; }
.pp-chw { flex-wrap: wrap; }
.pp-fl { max-width: 100%; overflow-x: auto; }
.pp-n { padding: 14px 0; border-top: 1px solid var(--line); }
.pp-n:first-of-type { border-top: 0; }
.pp-n > b { display: block; font-size: 15px; line-height: 1.4; margin-top: 6px; }
.pp-n-a { display: flex; gap: 16px; margin-top: 6px; }
/* Coach */
.pp-cg { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .pp-cg { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.pp-cg > * { margin: 0 !important; }
.pp-chat { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.pp-msg { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.55; }
.pp-msg.bot { background: #111116; border: 1px solid #22222B; border-top-left-radius: 6px; }
.pp-msg.me { align-self: flex-end; background: #130E22; border: 1px solid #35275E; border-top-right-radius: 6px; color: #fff; }
.pp-msg p { margin: 0 0 6px; } .pp-msg p:last-child { margin: 0; } .pp-msg ul { margin: 4px 0 6px; padding-left: 18px; }
.pp-msg-w { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #A78BFA; margin-bottom: 4px; }
.pp-msg-w svg { width: 14px; height: 14px; }
.pp-think { color: #8A8A94; } .pp-think i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #A78BFA; margin-right: 3px; animation: ppDot 1.2s infinite ease-in-out; }
.pp-think i:nth-child(2) { animation-delay: .2s; } .pp-think i:nth-child(3) { animation-delay: .4s; }
@keyframes ppDot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pp-think i { animation: none; } }
.pp-qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pp-q2 { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #2A2A34; background: transparent; color: #B6B6C0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pp-q2:hover:not(:disabled) { border-color: #A78BFA; color: #fff; }
.pp-q2:disabled { opacity: .5; cursor: default; }
.pp-ask { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pp-ask .input { flex: 1; min-width: 0; }
.pp-ask .err { flex-basis: 100%; margin: 0; }
.pp-meter { height: 8px; border-radius: 999px; background: #17171E; overflow: hidden; }
.pp-meter i { display: block; height: 100%; background: #A78BFA; border-radius: 999px; }
/* Cashback y niveles */
.pp-lvls { display: flex; flex-direction: column; gap: 8px; }
.pp-lvl { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--card2); }
.pp-lvl-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1A1508; border: 1px solid #4A3A16; color: var(--gold); font-weight: 800; font-size: 13px; flex: none; }
.pp-lvl-m { flex: 1; min-width: 0; } .pp-lvl-m b { display: block; font-size: 14.5px; } .pp-lvl-m small { display: block; color: #8A8A94; font-size: 12.5px; }
