/* ==========================================================================
   NOVA RECARGAS · Panel de Revendedores
   Violeta cósmico + glass. Mobile-first: barra inferior en celular, sidebar en desktop.
   ========================================================================== */

:root {
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --violet-deep: #6d28d9;
  --violet-soft: #c084fc;
  --lilac: #d8b4fe;
  --cyan: #38bdf8;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;

  --bg: #090414;
  --bg-2: #0f0721;
  --card: rgba(26, 14, 51, 0.72);
  --card-2: rgba(38, 20, 74, 0.6);
  --input: rgba(15, 7, 33, 0.85);
  --line: rgba(168, 85, 247, 0.22);
  --line-2: rgba(192, 132, 252, 0.5);
  --line-soft: rgba(255, 255, 255, 0.07);

  --text: #ffffff;
  --muted: #c4b5fd;
  --dim: #9482b4;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --glow: 0 0 24px rgba(139, 92, 246, 0.35);
  --grad: linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #6d28d9 100%);

  --side-w: 256px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.modal-open, body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--lilac); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 2px; }

.cosmic {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 12% 8%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(ellipse 55% 40% at 92% 22%, rgba(168, 85, 247, 0.18), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(56, 189, 248, 0.10), transparent 70%),
    linear-gradient(180deg, #0c0520, #090414 60%);
}
.cosmic::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 60%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, #d8b4fe88, transparent), radial-gradient(1px 1px at 85% 15%, #fff7, transparent),
    radial-gradient(1px 1px at 10% 70%, #fff5, transparent), radial-gradient(1.5px 1.5px at 55% 20%, #c084fc77, transparent);
}

/* ───────────── Básicos ───────────── */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.pad { padding: 20px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3px; }
.empty { padding: 28px 18px; text-align: center; color: var(--dim); font-weight: 600; }
.empty b { color: var(--text); }
.lead { color: var(--muted); }
.hint { color: var(--dim); font-size: 12.5px; font-weight: 500; }
.bad-text { color: var(--red) !important; }
.link { color: var(--lilac); font-weight: 700; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 800; font-size: 14.5px; letter-spacing: .2px;
  background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(124, 58, 237, .35);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s; white-space: nowrap; min-height: 44px;
}
.btn:hover { box-shadow: 0 8px 26px rgba(168, 85, 247, .5); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 17px; height: 17px; }
.btn.ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); box-shadow: none; color: var(--muted); }
.btn.ghost:hover { border-color: var(--line-2); color: #fff; }
.btn.soft { background: rgba(168, 85, 247, .18); border: 1px solid var(--line-2); box-shadow: none; color: #fff; }
.btn.danger { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 6px 18px rgba(239, 68, 68, .3); }
.btn.wa { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 6px 18px rgba(34, 197, 94, .28); }
.btn.sm { padding: 7px 12px; font-size: 13px; min-height: 36px; border-radius: 10px; }
.btn.lg { padding: 14px 22px; font-size: 16px; min-height: 52px; border-radius: 14px; }
.btn.block { width: 100%; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; position: relative;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: #fff; border-color: var(--line-2); }

.spinner {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block; vertical-align: -3px;
  border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .7s linear infinite;
}
.spinner.big { width: 38px; height: 38px; border-width: 4px; border-top-color: var(--violet-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  border-radius: var(--r);
  background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(168, 85, 247, .12), rgba(255, 255, 255, .04));
  background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 18px;
  box-shadow: 0 0 0 2px rgba(216, 180, 254, .35), var(--glow);
}
.avatar.lg { width: 58px; height: 58px; font-size: 26px; }
.avatar.xl { width: 84px; height: 84px; font-size: 38px; }

.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  background: rgba(255, 255, 255, .07); color: var(--muted); border: 1px solid transparent;
}
.pill svg { width: 13px; height: 13px; }
.pill.completed { background: rgba(52, 211, 153, .14); color: #6ee7b7; border-color: rgba(52, 211, 153, .3); }
.pill.processing { background: rgba(56, 189, 248, .14); color: #7dd3fc; border-color: rgba(56, 189, 248, .3); }
.pill.review { background: rgba(251, 191, 36, .14); color: #fcd34d; border-color: rgba(251, 191, 36, .3); }
.pill.refunded { background: rgba(192, 132, 252, .16); color: #e9d5ff; border-color: rgba(192, 132, 252, .35); }
.pill.failed { background: rgba(248, 113, 113, .14); color: #fca5a5; border-color: rgba(248, 113, 113, .3); }
.pill.rev { background: rgba(139, 92, 246, .2); color: #ddd6fe; border-color: var(--line-2); }
.pill.special, em.special { background: rgba(251, 191, 36, .16); color: #fcd34d; border-color: rgba(251, 191, 36, .35); }
em.special { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }

/* ───────────── Formularios ───────────── */

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field > label { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .2px; }
.input-wrap {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; min-width: 0;
  background: var(--input); border: 1px solid var(--line); border-radius: 13px; transition: border-color .2s, box-shadow .2s;
}
.input-wrap:focus-within { border-color: var(--violet-soft); box-shadow: 0 0 0 3px rgba(168, 85, 247, .2); }
.input-wrap > svg { width: 18px; height: 18px; color: var(--dim); }
.input-wrap input, .input-wrap select, .input-wrap textarea {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 16px; font-weight: 600; padding: 12px 0;
}
.input-wrap input::placeholder { color: #6b5b8f; font-weight: 500; }
.input-wrap input:disabled { color: var(--dim); }
.input-wrap .eye { color: var(--dim); padding: 6px; margin-right: -6px; }
.input-wrap .eye svg { width: 18px; height: 18px; }
.money-input span { font-weight: 800; color: var(--lilac); font-size: 18px; }
.money-input input { font-size: 20px; font-weight: 800; }

.error-text {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; margin: 4px 0 12px;
  background: rgba(239, 68, 68, .12); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; font-size: 13.5px; font-weight: 600;
}
.error-text svg { width: 17px; height: 17px; margin-top: 1px; color: var(--red); }
.notice {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 12px; margin: 12px 0;
  background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .32); color: #fde68a; font-size: 13.5px; font-weight: 600;
}
.notice svg { width: 17px; height: 17px; margin-top: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: all .15s;
}
.chip:hover { color: #fff; border-color: var(--line-2); }
.chip.on { background: rgba(168, 85, 247, .28); border-color: var(--violet-soft); color: #fff; }

.id-row { display: flex; gap: 8px; }
.id-row .input-wrap { flex: 1; }
.id-row .btn { min-width: 118px; }

.stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stepper button {
  width: 44px; height: 44px; border-radius: 12px; font-size: 22px; font-weight: 800;
  background: rgba(168, 85, 247, .18); border: 1px solid var(--line-2);
}
.stepper input {
  width: 96px; height: 44px; text-align: center; font-size: 18px; font-weight: 800; border-radius: 12px;
  background: var(--input); border: 1px solid var(--line); outline: 0;
}

.methods { display: grid; gap: 8px; }
.method {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: all .15s;
}
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method.on { border-color: var(--violet-soft); background: rgba(139, 92, 246, .16); box-shadow: 0 0 0 3px rgba(168, 85, 247, .15); }
.method .mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(168, 85, 247, .2); color: var(--lilac); }
.method .mi svg { width: 19px; height: 19px; }
.method .mt { display: flex; flex-direction: column; }
.method .mt small { color: var(--dim); font-size: 12.5px; }

.pm-box { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line); margin-bottom: 12px; }
.pm-box > p { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.alias-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 13px; margin-bottom: 10px;
  background: rgba(139, 92, 246, .12); border: 1px solid var(--line-2);
}
.alias-box > div { display: flex; flex-direction: column; min-width: 0; }
.alias-box small { color: var(--dim); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.alias-box b { font-size: 16px; word-break: break-all; }
.alias-box span { color: var(--muted); font-size: 12.5px; }
.dropzone {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; cursor: pointer; margin-bottom: 12px;
  border: 1.5px dashed var(--line-2); background: rgba(168, 85, 247, .06); transition: background .2s;
}
.dropzone:hover { background: rgba(168, 85, 247, .12); }
.dropzone.has { border-style: solid; border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .07); }
.dz-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(168, 85, 247, .2); color: var(--lilac); overflow: hidden; flex-shrink: 0; }
.dz-ico svg { width: 22px; height: 22px; }
.dz-ico img { width: 100%; height: 100%; object-fit: cover; }
.dz-txt { display: flex; flex-direction: column; min-width: 0; }
.dz-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-txt small { color: var(--dim); font-size: 12.5px; }

.summary { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-soft); margin: 4px 0 12px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary > div span { color: var(--muted); }
.summary > div b { text-align: right; word-break: break-word; }
.summary .total { padding-top: 9px; border-top: 1px dashed var(--line); font-size: 16px; }
.summary .total b { font-size: 20px; color: var(--lilac); font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; letter-spacing: .4px; }

/* Ficha de jugador verificado */
.verify-hint { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 13px; margin: -4px 0 12px; }
.verify-hint svg { width: 16px; height: 16px; }
.player {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; margin: -2px 0 14px;
  background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .35); animation: pop .25s ease;
}
.player.warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .4); }
.player.bad { background: rgba(239, 68, 68, .08); border-color: rgba(248, 113, 113, .35); }
.player > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.player b { font-size: 15px; overflow-wrap: anywhere; }
.player span { color: var(--muted); font-size: 12.5px; }
.player .p-warn { color: #fde68a; display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; font-weight: 600; }
.player .p-warn svg { width: 14px; height: 14px; margin-top: 2px; }
.p-ava, .p-ico { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex-shrink: 0; }
.p-ava img { width: 100%; height: 100%; object-fit: cover; }
.p-ico svg { width: 22px; height: 22px; color: var(--red); }
.p-ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #052e1c; flex-shrink: 0; }
.p-ok svg { width: 16px; height: 16px; stroke-width: 3; }
.player.warn .p-ok { background: var(--amber); }
.sim { font-size: 10px; padding: 2px 6px; border-radius: 6px; background: rgba(251, 191, 36, .2); color: #fcd34d; vertical-align: 2px; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ───────────── Login / mantenimiento ───────────── */

.center-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 420px; padding: 30px 26px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.login-brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: var(--glow); }
.login-brand b { display: block; font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; font-size: 21px; letter-spacing: .6px; }
.login-brand span { color: var(--lilac); font-size: 13px; font-weight: 700; }
.login-card h1 { font-size: 25px; font-weight: 900; margin-bottom: 4px; }
.login-card > p { margin-bottom: 20px; font-size: 14px; }
.login-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 13px; }
.support-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.maint { max-width: 460px; width: 100%; padding: 34px 26px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.maint-logo { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; box-shadow: var(--glow); animation: float 4s ease-in-out infinite; }
.maint-badge { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 12.5px; background: rgba(251, 191, 36, .14); color: #fcd34d; border: 1px solid rgba(251, 191, 36, .35); }
.maint h1 { font-size: 26px; font-weight: 900; }
.maint p { color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ───────────── Estructura ───────────── */

.app { min-height: 100vh; min-height: 100dvh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 60; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 14px; background: rgba(15, 7, 33, .94); border-right: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateX(-102%); transition: transform .28s cubic-bezier(.3, .8, .3, 1); overflow-y: auto;
}
body.drawer-open .sidebar { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: var(--glow); }
.brand span { font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 17px; letter-spacing: .6px; line-height: 1.05; }
.brand span b { color: var(--lilac); font-weight: 400; }
.brand small { display: block; font-family: 'Outfit', sans-serif; font-size: 11px; color: var(--dim); font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 3px; }
.sidebar .brand { padding: 4px 6px 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }

.side-user { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(139, 92, 246, .12); border: 1px solid var(--line); margin-bottom: 8px; }
.side-user > div { display: flex; flex-direction: column; min-width: 0; }
.side-user b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user span { font-size: 12.5px; color: var(--muted); }
.side-user strong { color: var(--green); }

.nav { display: grid; gap: 4px; }
.nav a, .side-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px;
  color: var(--muted); font-weight: 700; font-size: 14.5px; transition: background .15s, color .15s; width: 100%; text-align: left;
}
.nav a svg, .side-link svg { width: 19px; height: 19px; }
.nav a:hover, .side-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav a.active { background: linear-gradient(135deg, rgba(168, 85, 247, .32), rgba(109, 40, 217, .22)); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav a.active svg { color: var(--lilac); }
.spacer { flex: 1; min-height: 12px; }
.side-link.logout { color: #fca5a5; }

.main { min-width: 0; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 16px); }
.imp-banner { display: flex; gap: 10px; align-items: center; padding: 10px 16px; background: linear-gradient(90deg, rgba(251, 191, 36, .2), rgba(251, 191, 36, .08)); border-bottom: 1px solid rgba(251, 191, 36, .35); color: #fde68a; font-size: 13px; font-weight: 600; }
.imp-banner svg { width: 18px; height: 18px; }

.mobile-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(12, 5, 28, .86);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.mobile-top .brand img { width: 34px; height: 34px; }
.mobile-top .brand span { font-size: 16px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 6px; }
.topbar h1 { font-size: 24px; font-weight: 900; letter-spacing: -.2px; }
.topbar p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.topbar-actions { display: none; align-items: center; gap: 10px; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #6ee7b7; font-weight: 800; }
.balance-chip svg { width: 17px; height: 17px; }
.user-btn { border-radius: 50%; }
.bell-wrap { position: relative; }
.dot { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--bg-2); }

.view { padding: 8px 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1180px; outline: 0; }
.app-foot { padding: 6px 16px 18px; color: var(--dim); font-size: 12px; text-align: center; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(12, 5, 28, .94); border-top: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 11px; font-weight: 800; position: relative; }
.tabbar a svg { width: 22px; height: 22px; transition: transform .2s; }
.tabbar a.active { color: #fff; }
.tabbar a.active svg { color: var(--lilac); transform: translateY(-1px); }
.tabbar a.active::before { content: ''; position: absolute; top: 0; width: 34px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); box-shadow: 0 0 12px var(--violet-2); }

.popover {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; width: min(340px, calc(100vw - 28px));
  background: rgba(20, 10, 42, .98); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow), var(--glow);
  animation: pop .18s ease; overflow: hidden;
}
.p-head { padding: 12px 16px; font-weight: 900; border-bottom: 1px solid var(--line-soft); }
.p-list { max-height: 60vh; overflow-y: auto; }
.notif { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.notif span { color: var(--muted); }
.notif small { color: var(--dim); font-size: 11.5px; }
.notif.unread { background: rgba(139, 92, 246, .1); box-shadow: inset 3px 0 0 var(--violet-2); }

/* ───────────── Inicio ───────────── */

.welcome { display: grid; gap: 16px; padding: 18px; }
.who { display: flex; align-items: center; gap: 14px; }
.who h2 { font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.who h2 svg { color: var(--amber); width: 18px; height: 18px; }
.who p { color: var(--muted); font-size: 13.5px; }
.balance { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(139, 92, 246, .26), rgba(56, 189, 248, .1)); border: 1px solid var(--line-2); }
.b-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--lilac); }
.b-ico svg { width: 23px; height: 23px; }
.balance .meta { flex: 1; min-width: 130px; display: flex; flex-direction: column; }
.balance small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.balance strong { font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; font-size: 30px; letter-spacing: .5px; line-height: 1.1; }
.balance .btn { flex-shrink: 0; }

.banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #6d28d9, #a855f7 55%, #7c3aed); box-shadow: 0 14px 40px rgba(124, 58, 237, .4); }
.banner .copy { flex: 1; position: relative; z-index: 1; }
.banner .script { font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 22px; letter-spacing: .5px; line-height: 1.15; }
.banner p { font-size: 14px; opacity: .92; margin-top: 4px; font-weight: 600; }
.b-logo { width: 74px; height: 74px; border-radius: 18px; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: rotate(6deg); animation: float 5s ease-in-out infinite; }
.b-spark { position: absolute; color: #fff; opacity: .5; }
.b-spark.s1 { top: 10px; left: 46%; width: 14px; height: 14px; }
.b-spark.s2 { bottom: 12px; left: 64%; width: 20px; height: 20px; opacity: .35; }

.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 14px 16px; }
.stat small { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat strong { display: block; font-size: 22px; font-weight: 900; margin-top: 2px; }

.section-title { font-size: 17px; font-weight: 900; margin-bottom: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.section-head .section-title { margin: 0; }
.section-head a { font-weight: 800; font-size: 13.5px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; min-width: 0; color: #fff; background: var(--card); border: 1px solid var(--line); transition: transform .15s, border-color .2s; }
.quick a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.quick .q-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; box-shadow: 0 6px 16px rgba(124, 58, 237, .35); }
.quick .q-ico svg { width: 22px; height: 22px; }
.quick a > div { min-width: 0; }
.quick b { display: block; font-size: 14.5px; }
.quick a > div span { color: var(--dim); font-size: 12px; display: block; line-height: 1.3; }

.list { overflow: hidden; }
.row { display: grid; grid-template-columns: 46px 1fr auto; grid-template-areas: 'thumb name price' 'thumb pill when'; align-items: center; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.thumb { grid-area: thumb; width: 46px; height: 46px; border-radius: 11px; object-fit: cover; background: rgba(255, 255, 255, .05); }
.row .name { grid-area: name; font-weight: 800; font-size: 14px; min-width: 0; }
.row .name small { display: block; color: var(--dim); font-weight: 600; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .price { grid-area: price; font-weight: 900; text-align: right; }
.row .pill-cell { grid-area: pill; }
.row .when { grid-area: when; color: var(--dim); font-size: 12px; text-align: right; }

/* ───────────── Diamantes ───────────── */

.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pkg {
  position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); transition: transform .18s, border-color .2s, box-shadow .2s; outline: 0;
}
.pkg:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pkg.selected { border-color: var(--violet-soft); box-shadow: 0 0 0 3px rgba(168, 85, 247, .3), var(--glow); }
.pkg.selected::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 900; font-size: 14px; }
.pkg .art { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pkg .cap { padding: 8px 10px 2px; font-weight: 800; font-size: 13.5px; text-align: center; }
.pkg .buy { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 4px 10px 12px; }
.pkg .buy b { font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; font-size: 19px; color: var(--lilac); letter-spacing: .4px; }
.pkg .buy s { color: var(--dim); font-size: 12px; }
.pkg.soldout { opacity: .5; cursor: not-allowed; }
.tag { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 8px; border-radius: 8px; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; background: rgba(239, 68, 68, .9); }
.tag.special { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1c1203; }

.panel { padding: 18px; }
.picked { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(139, 92, 246, .12); border: 1px solid var(--line-2); }
.picked img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.picked div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.picked span { color: var(--muted); font-size: 12.5px; }
.picked strong { font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; font-size: 20px; color: var(--lilac); }

/* ───────────── Extras ───────────── */

.extras-grid { display: grid; gap: 10px; }
.extra {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); transition: transform .15s, border-color .2s;
}
.extra:hover { border-color: var(--line-2); transform: translateY(-2px); }
.extra .pic { width: 64px; height: 64px; border-radius: 13px; overflow: hidden; flex-shrink: 0; background: rgba(255, 255, 255, .05); }
.extra .pic img { width: 100%; height: 100%; object-fit: cover; }
.extra .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.extra .txt b { font-size: 15px; }
.extra .p { color: var(--lilac); font-weight: 900; font-size: 16px; }
.extra .p small { color: var(--dim); font-weight: 700; font-size: 11.5px; }
.stock-line { color: var(--dim); font-size: 12px; }
.extra .go { color: var(--dim); }
.extra .go svg { width: 20px; height: 20px; }
.extra.soldout { opacity: .5; }
.extra .tag { top: 6px; left: 6px; }

.sheet-hero { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(139, 92, 246, .1); border: 1px solid var(--line); margin-bottom: 14px; }
.sheet-hero img { width: 60px; height: 60px; border-radius: 13px; object-fit: cover; flex-shrink: 0; }
.sheet-hero > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sheet-hero > div span { color: var(--muted); font-size: 12.5px; }
.sheet-hero > div span:not(.stock-pill) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sheet-hero > div b { line-height: 1.2; }
.sheet-hero .price { font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 20px; color: var(--lilac); text-align: right; display: flex; flex-direction: column; }
.sheet-hero .price small { font-family: 'Outfit', sans-serif; font-size: 11px; color: var(--dim); font-weight: 700; }
.stock-pill { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 999px; font-size: 11.5px !important; font-weight: 700; background: rgba(56, 189, 248, .12); color: #7dd3fc !important; }

/* ───────────── Historial / tablas ───────────── */

.searchbar { display: flex; gap: 8px; }
.searchbar .input-wrap { flex: 1; }
.table-card { overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table, .table tbody { display: block; }
.table thead { display: none; }
.table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); }
.table tr:last-child { border-bottom: 0; }
.table td { display: block; font-size: 13.5px; min-width: 0; }
.table td[data-l="Producto"] { grid-column: 1 / -1; order: -2; }
.table td[data-l="Fecha"] { color: var(--dim); font-size: 12px; order: 3; }
.table td[data-l="Jugador"] { order: -1; }
.table td[data-l="Cantidad"] { display: none; }
.table td[data-l="Total"] { order: -1; text-align: right; font-weight: 900; font-size: 15px; }
.table td[data-l="Estado"] { order: 4; text-align: right; }
.prod { display: flex; align-items: center; gap: 10px; }
.prod img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.prod span { font-weight: 800; display: flex; flex-direction: column; min-width: 0; }
.prod small { color: var(--dim); font-weight: 600; font-size: 11.5px; }
.row-note { display: block; color: var(--dim); font-size: 11.5px; margin-top: 4px; max-width: 260px; margin-left: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 11px; font-weight: 800; background: var(--card); border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; }
.pager button svg { width: 18px; height: 18px; }
.pager button.on { background: var(--grad); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .35; }
.pager span { color: var(--dim); }

/* ───────────── Saldo ───────────── */

.balance-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px; background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(26, 14, 51, .8)); }
.balance-hero small { color: var(--muted); font-weight: 700; font-size: 13px; }
.balance-hero strong { display: block; font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; font-size: 34px; letter-spacing: .5px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); width: fit-content; }
.seg button { padding: 9px 16px; border-radius: 10px; font-weight: 800; color: var(--muted); font-size: 14px; }
.seg button.on { background: var(--grad); color: #fff; }
.mov { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); }
.mov:last-child { border-bottom: 0; }
.mv-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.mv-ico svg { width: 19px; height: 19px; }
.mv-ico.pos { background: rgba(52, 211, 153, .14); color: var(--green); }
.mv-ico.neg { background: rgba(248, 113, 113, .12); color: var(--red); }
.mv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mv-t small { color: var(--dim); font-size: 12px; overflow-wrap: anywhere; }
.mv-a { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.mv-a small { color: var(--dim); font-size: 11.5px; white-space: nowrap; }
b.pos { color: var(--green); }
b.neg { color: var(--red); }

/* ───────────── Perfil ───────────── */

.profile-card { padding: 20px; }
.profile-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-head .info { flex: 1; min-width: 180px; }
.profile-head h2 { font-size: 22px; font-weight: 900; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.stats > div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); min-width: 0; }
.stats small { color: var(--muted); font-size: 12px; font-weight: 700; }
.stats strong { display: block; font-size: 17px; font-weight: 900; overflow-wrap: anywhere; }
.row-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); font-weight: 700; color: #fff; text-align: left; }
.row-link:last-child { border-bottom: 0; }
.row-link span { flex: 1; }
.row-link svg { width: 19px; height: 19px; color: var(--lilac); }
.row-link svg:last-child { color: var(--dim); }
.row-link.danger, .row-link.danger svg:first-child { color: #fca5a5; }
.support-card { display: grid; gap: 6px; }
.support-card .support-btns { justify-content: flex-start; margin-top: 6px; }

/* ───────────── Modales ───────────── */

.modal-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 1, 12, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.modal {
  position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a0e33, #120827); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5), var(--glow);
  transform: translateY(40px); opacity: 0; transition: transform .25s cubic-bezier(.3, .8, .3, 1), opacity .2s;
}
.modal-wrap.in .modal-backdrop { opacity: 1; }
.modal-wrap.in .modal { transform: none; opacity: 1; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line-soft); }
.modal-head h3 { font-size: 18px; font-weight: 900; }
.modal-head .icon-btn { width: 36px; height: 36px; }
.modal-body { padding: 16px 18px; overflow-y: auto; overscroll-behavior: contain; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line-soft); }
.modal-foot .btn { flex: 1 1 auto; }

.result { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 8px 4px; }
.result .big { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; animation: pop .3s ease; }
.result .big svg { width: 38px; height: 38px; stroke-width: 2.5; }
.result.completed .big { background: rgba(52, 211, 153, .16); color: var(--green); box-shadow: 0 0 0 8px rgba(52, 211, 153, .07); }
.result.processing .big, .result.review .big { background: rgba(56, 189, 248, .14); color: var(--cyan); }
.result.refunded .big, .result.failed .big { background: rgba(248, 113, 113, .14); color: var(--red); }
.result h4 { font-size: 20px; font-weight: 900; }
.result p { color: var(--muted); font-size: 14px; }
.code { font-family: ui-monospace, monospace; font-weight: 800; color: var(--lilac); background: rgba(139, 92, 246, .16); padding: 2px 8px; border-radius: 7px; }

.mini-head { font-weight: 900; font-size: 13.5px; margin: 14px 0 8px; color: var(--muted); }
.mini-list { display: grid; gap: 6px; margin-bottom: 8px; }
.ml-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.ml-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ml-t small { color: var(--dim); font-size: 12px; }

#toasts { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + var(--safe-b) + 12px); display: grid; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; background: rgba(26, 14, 51, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: translateY(14px); opacity: 0; transition: all .25s; }
.toast.in { transform: none; opacity: 1; }
.toast svg { width: 18px; height: 18px; margin-top: 1px; }
.toast.ok svg { color: var(--green); }
.toast.err { border-color: rgba(248, 113, 113, .5); }
.toast.err svg { color: var(--red); }

/* ───────────── Responsive ───────────── */

@media (min-width: 560px) {
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .modal-wrap { align-items: center; padding: 20px; }
  .modal { max-width: 460px; border-radius: 24px; border-bottom: 1px solid var(--line-2); transform: translateY(16px) scale(.98); }
  .modal.wide { max-width: 560px; }
  .modal-foot { padding-bottom: 14px; }
  .modal-foot .btn { flex: 0 0 auto; }
}

@media (min-width: 760px) {
  .quick { grid-template-columns: repeat(4, 1fr); }
  .quick a { padding: 16px; }
  .welcome { grid-template-columns: 1fr auto; align-items: center; }
  .balance { min-width: 380px; }
  .table { display: table; }
  .table tbody { display: table-row-group; }
  .table thead { display: table-header-group; }
  .table tr { display: table-row; padding: 0; }
  .table td, .table th { display: table-cell; padding: 12px 14px; text-align: left; vertical-align: middle; }
  .table th { font-size: 12px; color: var(--dim); font-weight: 800; text-transform: uppercase; letter-spacing: .6px; border-bottom: 1px solid var(--line); }
  .table td { border-bottom: 1px solid var(--line-soft); }
  .table td[data-l="Cantidad"] { display: table-cell; }
  .table td[data-l="Total"], .table td[data-l="Estado"] { text-align: left; }
  .table td.num, .table th.num { text-align: right; }
  .table tbody tr:hover td { background: rgba(139, 92, 246, .06); }
  .row-note { margin-left: 0; }
}

@media (min-width: 1024px) {
  .sidebar { transform: none; }
  .drawer-backdrop, .mobile-top, .tabbar { display: none; }
  .main { margin-left: var(--side-w); padding-bottom: 10px; }
  .topbar { padding: 26px 32px 8px; }
  .topbar h1 { font-size: 30px; }
  .topbar-actions { display: flex; }
  .view { padding: 10px 32px 24px; gap: 22px; }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .extras-grid { grid-template-columns: repeat(3, 1fr); }
  .panel { max-width: 640px; }
  #toasts { bottom: 24px; left: auto; right: 24px; transform: none; }
  .banner { padding: 24px 28px; }
  .banner .script { font-size: 26px; }
}

@media (min-width: 1280px) {
  .pkg-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Stock Badges por Region (Estilo Imagen 2) */
.stock-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 9999px;
  line-height: 1.3;
}
.stock-pill-badge.stock-pill-ok {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.5);
}
.stock-pill-badge.stock-pill-zero {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

/* Recarga por transferencia (CBU / alias) */
.method { position: relative; }
.bank-box { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-2); }
.bank-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bank-l { flex: 0 0 76px; color: var(--dim); font-size: 12px; font-weight: 700; }
.bank-v { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.bank-copy { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; flex-shrink: 0; }
.bank-copy svg { width: 14px; height: 14px; }
.file-input { width: 100%; padding: 10px; border-radius: 12px; background: var(--input, rgba(255,255,255,.05)); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.file-input::file-selector-button { margin-right: 10px; padding: 7px 12px; border-radius: 999px; border: 0; background: rgba(168, 85, 247, .3); color: #fff; font-weight: 800; cursor: pointer; }
@media (max-width: 420px) { .bank-l { flex-basis: 64px; } }

/* Selector de moneda (solo para ver montos convertidos) */
.currency-slot:empty { display: none; }
.currency-select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 26px 0 12px; border-radius: 12px; border: 1px solid rgba(192,132,252,.35); background: rgba(124,58,237,.12) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 stroke=%27%23c4b5fd%27 stroke-width=%271.6%27 fill=%27none%27/%3E%3C/svg%3E") no-repeat right 10px center; color: #ddd6fe; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.currency-select option { background: #1a1033; color: #fff; }
.mobile-top .currency-select { height: 34px; font-size: 12px; padding: 0 22px 0 9px; }
.mobile-top .currency-slot { margin-left: auto; }

/* Perfil: elegir moneda */
.currency-row { display: flex; align-items: center; gap: 12px; }
.currency-row > svg { flex-shrink: 0; color: #c4b5fd; }
.currency-row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.currency-row small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.currency-card { margin-bottom: 14px; }

/* ───────────── Catálogo de revendedores más compacto ───────────── */
.pkg { border-radius: 14px; }
.pkg .art { aspect-ratio: 4 / 3; }
.pkg .cap { font-size: 12.5px; padding: 7px 8px 0; }
.pkg .buy { padding: 2px 8px 10px; }
.pkg .buy b { font-size: 17px; }
@media (max-width: 559px) {
  .pkg-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pkg .cap { font-size: 11px; padding: 6px 5px 0; line-height: 1.25; }
  .pkg .buy { flex-direction: column; align-items: center; gap: 0; padding: 2px 5px 8px; }
  .pkg .buy b { font-size: 14.5px; }
  .pkg .buy s { font-size: 10px; }
  .pkg.selected::after { width: 20px; height: 20px; font-size: 11px; top: 5px; right: 5px; }
  .tag { top: 5px; left: 5px; padding: 2px 6px; font-size: 9px; }
}
@media (min-width: 560px) and (max-width: 1279px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
