/* Pappitas — Prueba Pro (barra premium, chip, pantallas) */
#pa-trial-root:empty { display: none; }
/* La bienvenida oculta todo lo demás con (2,1,1): esto gana con un id más */
#page-dashboard.pa-welcome-on > #pa-trial-root#pa-trial-root:not(:empty) { display: block !important; max-width: 460px; margin: -14px auto 32px; padding: 0 16px; box-sizing: border-box; }
@media (min-width: 900px) { #page-dashboard.pa-welcome-on > #pa-trial-root#pa-trial-root { max-width: 432px; padding: 0; } }
@media (max-width: 760px) { #page-dashboard.pa-welcome-on > #pa-trial-root#pa-trial-root { margin-bottom: 110px; } }
.patr-mini { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border: 0; border-radius: 18px; overflow: hidden; color: #fff; font: inherit; text-align: left; cursor: pointer;
  background: #120a26; background-image: radial-gradient(120% 180% at 0% 0%, rgba(124, 58, 237, .45) 0%, rgba(124, 58, 237, 0) 55%), radial-gradient(90% 160% at 100% 100%, rgba(253, 230, 138, .16) 0%, rgba(253, 230, 138, 0) 60%);
  box-shadow: 0 16px 34px -24px rgba(20, 9, 43, .75); transition: transform .15s, box-shadow .15s; }
.patr-mini::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.patr-mini:hover { transform: translateY(-1px); box-shadow: 0 20px 38px -22px rgba(20, 9, 43, .8); }
.patr-mini .patr-ic { width: 42px; height: 42px; }
.patr-mini .patr-tx b { font-size: 15.5px; }
.patr-mini .patr-tx small { font-size: 12.5px; }
.patr-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fde68a, #fbbf24); color: #3b2405; }
.patr-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

.patr-bar { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 18px; margin: 0 0 18px; border-radius: 20px; overflow: hidden; color: #fff;
  background: #120a26; background-image: radial-gradient(120% 160% at 0% 0%, rgba(124, 58, 237, .42) 0%, rgba(124, 58, 237, 0) 55%), radial-gradient(90% 140% at 100% 100%, rgba(253, 230, 138, .14) 0%, rgba(253, 230, 138, 0) 60%);
  box-shadow: 0 18px 40px -26px rgba(20, 9, 43, .7); }
.patr-bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.patr-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fde68a; box-shadow: inset 0 0 0 1.5px rgba(253, 230, 138, .45); }
.patr-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.patr-ic.sm { width: 38px; height: 38px; color: #a16207; box-shadow: inset 0 0 0 1.5px rgba(161, 98, 7, .35); }
.patr-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.patr-tx em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fde68a; }
.patr-tx b { font-size: 16px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.patr-tx small { font-size: 12.5px; color: rgba(255, 255, 255, .66); line-height: 1.4; }
.patr-prog { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; margin: 7px 0 4px; max-width: 420px; }
.patr-prog i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #fde68a, #f59e0b); }
.patr-act { flex: none; display: flex; align-items: center; gap: 6px; }
.patr-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 12px; background: #fff; color: #120a26; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.patr-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.patr-btn.gold { background: linear-gradient(135deg, #fde68a, #fbbf24); color: #3b2405; }
.patr-btn svg, .patr-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.patr-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.patr-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.patr-bar.urgent .patr-ic { color: #fbbf24; box-shadow: inset 0 0 0 1.5px rgba(251, 191, 36, .7); animation: patrPulse 2s infinite; }
@keyframes patrPulse { 50% { box-shadow: inset 0 0 0 1.5px rgba(251, 191, 36, .7), 0 0 0 6px rgba(251, 191, 36, .12); } }

/* píldora en la barra superior: regalo / días que quedan */
.patr-chip { position: relative; display: inline-flex; align-items: center; gap: 12px; flex: 0 1 430px; min-width: 300px; height: 48px; padding: 0 6px 0 7px; border: 0; border-radius: 15px; color: #fff; font: inherit; text-align: left; cursor: pointer; white-space: nowrap;
  background: #120a26; background-image: radial-gradient(120% 220% at 0% 0%, rgba(124, 58, 237, .55) 0%, rgba(124, 58, 237, 0) 58%), radial-gradient(90% 220% at 100% 100%, rgba(253, 230, 138, .16) 0%, rgba(253, 230, 138, 0) 60%);
  box-shadow: 0 10px 24px -16px rgba(20, 9, 43, .8); transition: transform .15s, box-shadow .15s; }
.patr-chip::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.patr-chip:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -16px rgba(20, 9, 43, .85); }
.patr-chip[hidden] { display: none; }
.patr-chip .pc-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fde68a; background: rgba(253, 230, 138, .1); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .22); }
.patr-chip .pc-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.patr-chip .pc-tx { flex: 1; display: flex; flex-direction: column; gap: 4px; line-height: 1; min-width: 0; }
.patr-chip .pc-tx em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fde68a; overflow: hidden; text-overflow: ellipsis; }
.patr-chip .pc-tx b { font-size: 14px; font-weight: 750; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
.patr-chip .pc-go { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 14px; border-radius: 11px; background: linear-gradient(135deg, #fde68a, #fbbf24); color: #3b2405; font-size: 13px; font-weight: 800; }
.patr-chip .pc-go.light { background: rgba(255, 255, 255, .12); color: #fff; }
.patr-chip .pc-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.patr-chip .pc-n { display: none; }
.patr-chip .pc-bar { display: block; width: 100%; max-width: 200px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.patr-chip .pc-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #fde68a, #f59e0b); }
.patr-chip.urgent .pc-tx b { color: #fbbf24; }
.patr-chip.urgent .pc-ic { animation: patrPulse 2s infinite; }
.topbar-title { min-width: 0; }
@media (max-width: 1100px) { .patr-chip { min-width: 0; flex-basis: 340px; } .patr-chip .pc-tx em { display: none; } }
@media (max-width: 760px) {
  /* en el celular: un botón cuadrado con los días encima */
  .patr-chip { flex: none; width: 40px; min-width: 0; height: 40px; padding: 0; gap: 0; justify-content: center; border-radius: 12px; overflow: visible; }
  .patr-chip .pc-ic { width: 40px; height: 40px; border-radius: 12px; background: transparent; box-shadow: none; }
  .patr-chip .pc-tx, .patr-chip .pc-go { display: none; }
  .patr-chip .pc-n.m { display: inline-flex; align-items: center; position: absolute; top: -6px; right: -7px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10px; font-weight: 800; background: #fbbf24; color: #3b2405; box-shadow: 0 0 0 2px var(--bg-card, #fff); }
}

/* pasos después de activar */
.patr-flow { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.patr-flow li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 4%, var(--bg-card, #fff)); }
.patr-flow .sn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #120a26; color: #fde68a; font-size: 13px; font-weight: 800; }
.patr-flow b { display: block; font-size: 14.5px; font-weight: 750; }
.patr-flow small { display: block; font-size: 12.5px; color: var(--text-secondary, #6b7280); margin-top: 1px; }
.patr-cta.gold { background: linear-gradient(135deg, #fde68a, #fbbf24); color: #3b2405; }

/* pasos del reto */
.patr-steps { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.patr-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 4%, var(--bg-card, #fff)); }
.patr-steps .sk { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--text-primary, #111) 18%, transparent); }
.patr-steps li.ok .sk { background: #16a34a; box-shadow: none; color: #fff; }
.patr-steps .sk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.patr-steps b { display: block; font-size: 14.5px; font-weight: 750; }
.patr-steps li.ok b { color: var(--text-secondary, #6b7280); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.patr-steps small { display: block; font-size: 12.5px; color: var(--text-secondary, #6b7280); margin-top: 2px; }
.patr-prog.lg { height: 7px; max-width: none; margin: 14px 0 10px; }

/* pantallas */
.patr-modal { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 8, 26, .48); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s; }
.patr-modal.show { opacity: 1; }
body.patr-open { overflow: hidden; }
.patr-dlg { position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 26px; background: var(--bg-card, #fff); color: var(--text-primary, #14092b); box-shadow: 0 40px 100px -30px rgba(10, 6, 30, .6); transform: translateY(10px) scale(.98); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.patr-modal.show .patr-dlg { transform: none; }
.patr-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.patr-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.patr-dlg.done .patr-close { background: color-mix(in srgb, var(--text-primary, #111) 7%, transparent); color: var(--text-secondary, #6b7280); }
.patr-hero { padding: 30px 28px 26px; color: #fff; text-align: left; background: #120a26; background-image: radial-gradient(120% 120% at 0% 0%, rgba(124, 58, 237, .55) 0%, rgba(124, 58, 237, 0) 60%), radial-gradient(90% 100% at 100% 100%, rgba(253, 230, 138, .16) 0%, rgba(253, 230, 138, 0) 60%); }
.patr-kick { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 999px; background: rgba(253, 230, 138, .12); color: #fde68a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.patr-kick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.patr-hero h2 { margin: 14px 0 6px; font-size: 27px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.patr-hero p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.patr-body { padding: 20px 24px 24px; }
.patr-lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted, #9ca3af); margin-bottom: 6px; }
.patr-feats { list-style: none; margin: 0; padding: 0; }
.patr-feats li { display: flex; align-items: flex-start; gap: 13px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--text-primary, #111) 7%, transparent); }
.patr-feats li:first-child { border-top: 0; }
.patr-feats .fi { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #7c3aed; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #7c3aed 30%, transparent); }
.patr-feats .fi svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.patr-feats b { display: block; font-size: 14.5px; font-weight: 750; }
.patr-feats small { display: block; font-size: 12.5px; color: var(--text-secondary, #6b7280); margin-top: 1px; }
.patr-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #16a34a 8%, var(--bg-card, #fff)); font-size: 13px; line-height: 1.45; color: var(--text-secondary, #4b5563); }
.patr-note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #16a34a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.patr-note b { color: var(--text-primary, #111); }
.patr-cta { width: 100%; height: 54px; border: 0; border-radius: 16px; background: #120a26; color: #fff; font: inherit; font-size: 16px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.patr-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(18, 10, 38, .7); }
.patr-cta:disabled { opacity: .7; cursor: default; transform: none; }
.patr-link { display: block; margin: 12px auto 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--text-muted, #9ca3af); cursor: pointer; }
.patr-done { padding: 40px 28px 28px; text-align: center; }
.patr-burst { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #3b2405; background: linear-gradient(135deg, #fde68a, #fbbf24); box-shadow: 0 0 0 10px rgba(253, 230, 138, .22); animation: patrPop .5s cubic-bezier(.2, .9, .3, 1.3); }
.patr-burst svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
@keyframes patrPop { from { transform: scale(.4); opacity: 0; } }
.patr-done h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.patr-done p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary, #6b7280); }
.patr-stats { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.patr-stats div { flex: 1 1 0; min-width: 90px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.patr-stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.patr-stats span { font-size: 12px; color: rgba(255, 255, 255, .7); }

/* MASTER: ajustes en Planes */
.patr-admin { margin: 0 0 18px; padding: 18px 20px; border-radius: 20px; background: var(--bg-card, #fff); box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 14px 34px -26px rgba(40, 20, 90, .4); border: 1px solid color-mix(in srgb, var(--text-primary, #111) 6%, transparent); }
.patr-admin .ah { display: flex; align-items: center; gap: 13px; }
.patr-admin .ah > div { flex: 1; min-width: 0; }
.patr-admin .ah b { display: block; font-size: 15.5px; font-weight: 800; }
.patr-admin .ah small { display: block; font-size: 12.5px; color: var(--text-secondary, #6b7280); margin-top: 2px; line-height: 1.4; }
.patr-admin .af { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.patr-admin .af label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-secondary, #6b7280); }
.patr-admin select, .patr-admin input[type=number] { height: 44px; min-width: 160px; padding: 0 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--text-primary, #111) 14%, transparent); background: var(--bg-card, #fff); color: var(--text-primary, #111); font: inherit; font-size: 15px; font-weight: 700; }
.patr-admin input[type=number] { min-width: 0; width: 110px; }
.patr-admin .as { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--text-primary, #111) 7%, transparent); font-size: 12.5px; color: var(--text-secondary, #6b7280); }
.patr-admin .as b { color: var(--text-primary, #111); font-size: 14px; }
.patr-sw { position: relative; flex: none; width: 46px; height: 28px; }
.patr-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.patr-sw span { position: absolute; inset: 0; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 16%, transparent); cursor: pointer; transition: background .18s; }
.patr-sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .18s; }
.patr-sw input:checked + span { background: #16a34a; }
.patr-sw input:checked + span::after { transform: translateX(18px); }

@media (max-width: 760px) {
  .patr-bar { flex-wrap: wrap; gap: 12px; padding: 14px; border-radius: 18px; margin-bottom: 14px; }
  .patr-ic { width: 38px; height: 38px; }
  .patr-ic svg { width: 18px; height: 18px; }
  .patr-tx { flex: 1 1 calc(100% - 54px); }
  .patr-tx b { font-size: 15px; }
  .patr-tx small { font-size: 12px; }
  .patr-act { flex: 1 1 100%; }
  .patr-btn { flex: 1; justify-content: center; height: 44px; }
  .patr-bar.locked .patr-x, .patr-bar.ended .patr-x { position: absolute; top: 8px; right: 8px; }
  .patr-chip { height: 32px; padding: 0 9px; border-radius: 10px; }
  .patr-chip-k { display: none; }
  .patr-modal { padding: 0; align-items: flex-end; }
  .patr-dlg { max-width: none; border-radius: 26px 26px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .patr-hero { padding: 26px 22px 22px; }
  .patr-hero h2 { font-size: 24px; }
  .patr-body { padding: 16px 20px 22px; }
  .patr-admin .af label { flex: 1 1 140px; }
  .patr-admin select { min-width: 0; width: 100%; }
}
.patr-admin .af label[hidden] { display: none; }

/* ── Módulo fuera del plan: presentación premium (sin candados) ── */
.pa-gated > :not(.pag) { display: none !important; }
.pag { --pg-a: #2563eb; --pg-b: #7c3aed; --pg-c: #60a5fa; }
.pag .amber { --pg-a: #d97706; --pg-b: #f59e0b; --pg-c: #fbbf24; }
.pag-in { position: relative; overflow: hidden; border-radius: 24px; background: var(--bg-card, #fff); box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 24px 60px -40px rgba(40, 20, 90, .35); padding: 56px 48px; min-height: calc(100dvh - 190px); display: flex; align-items: center; }
.pag-in .glow { position: absolute; inset: -30% -10% auto -10%; height: 90%; pointer-events: none;
  background: radial-gradient(600px 320px at 22% 30%, color-mix(in srgb, var(--pg-a) 16%, transparent), transparent 70%), radial-gradient(520px 300px at 85% 20%, color-mix(in srgb, var(--pg-b) 14%, transparent), transparent 70%); }
.pag-in .grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 56px; align-items: center; max-width: 1080px; width: 100%; margin: 0 auto; }
.pag-eb { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; background: color-mix(in srgb, var(--text-primary, #111) 5%, transparent); font-size: 13px; font-weight: 700; color: var(--text-primary, #111); }
.pag-eb svg { width: 16px; height: 16px; fill: none; stroke: var(--pg-a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pag-eb i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #5a3400; background: linear-gradient(135deg, #fde68a, #f59e0b); padding: 3px 7px; border-radius: 7px; }
.pag h2 { margin: 18px 0 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; color: var(--text-primary, #111); }
.pag h2 span { background: linear-gradient(90deg, var(--pg-a), var(--pg-b) 60%, var(--pg-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pag .lead { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--text-secondary, #6b7280); max-width: 520px; }
.pag .feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.pag .feats li { display: flex; gap: 12px; align-items: flex-start; }
.pag .feats .fi { color: var(--pg-a); flex: none; margin-top: 1px; }
.pag .feats .fi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pag .feats b { display: block; font-size: 15px; font-weight: 720; letter-spacing: -.015em; color: var(--text-primary, #111); }
.pag .feats small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-secondary, #6b7280); line-height: 1.45; }
.pag .cta { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pag-btn { height: 58px; padding: 0 34px; border: 0; border-radius: 16px; background: #120a26; color: #fff; font: inherit; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(18, 10, 38, .7); transition: transform .15s; }
.pag-btn:hover { transform: translateY(-1px); }
.pag .cta span { font-size: 13px; color: var(--text-muted, #9ca3af); font-weight: 600; }
.pag .demo { position: relative; display: flex; justify-content: center; }
/* teléfono (Piloto) */
.pag .ph { width: 100%; max-width: 360px; border-radius: 34px; background: #efeae2; box-shadow: 0 50px 100px -40px rgba(10, 8, 30, .55), 0 0 0 9px #16131f, 0 0 0 10px #2a2635; overflow: hidden; }
.pag .phh { display: flex; align-items: center; gap: 9px; padding: 14px 16px; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.pag .phh .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pag .phh b { font-size: 14px; font-weight: 700; flex: 1; color: #111b21; }
.pag .phh em { font-style: normal; font-size: 11.5px; color: var(--pg-a); font-weight: 700; }
.pag .phb { padding: 16px 12px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 360px; }
.pag .b { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; color: #111b21; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); opacity: 0; animation: pagMsg 10s infinite; }
.pag .b.bi { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.pag .b.bo { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.pag .sys { align-self: center; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; color: #6b7280; box-shadow: 0 0 0 1px color-mix(in srgb, var(--pg-a) 25%, transparent); opacity: 0; animation: pagMsg 10s infinite; }
.pag .sys b { color: var(--pg-a); }
.pag .d1 { animation-delay: 0s; } .pag .d2 { animation-delay: 1s; } .pag .d3 { animation-delay: 2s; } .pag .d4 { animation-delay: 3s; } .pag .d5 { animation-delay: 4s; }
@keyframes pagMsg { 0% { opacity: 0; transform: translateY(8px) scale(.98); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.pag .won { position: absolute; right: -6px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 20px; background: var(--bg-card, #fff); box-shadow: 0 24px 50px -18px rgba(10, 8, 30, .45), 0 0 0 1px rgba(0, 0, 0, .05); opacity: 0; animation: pagWon 10s infinite; animation-delay: 5s; }
.pag .won > svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #22c55e; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pag .won small { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted, #9ca3af); text-transform: uppercase; letter-spacing: .05em; }
.pag .won b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: #16a34a; }
@keyframes pagWon { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 8%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translateY(-4px); } }
/* tarjeta de producto (Ganchos) */
.pag .pc { width: 100%; max-width: 340px; border-radius: 26px; background: var(--bg-card, #fff); box-shadow: 0 50px 100px -40px rgba(10, 8, 30, .5), 0 0 0 1px rgba(0, 0, 0, .05); overflow: hidden; }
.pag .pci { position: relative; height: 210px; background: linear-gradient(135deg, #fde68a, #fbbf24 45%, #f97316); }
.pag .pci::after { content: ''; position: absolute; left: 50%; top: 50%; width: 110px; height: 130px; transform: translate(-50%, -46%); border-radius: 22px; background: rgba(255, 255, 255, .55); box-shadow: 0 20px 40px -18px rgba(120, 53, 15, .6); }
.pag .tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 10px; border-radius: 10px; background: #dc2626; color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(220, 38, 38, .8); }
.pag .pcb { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-primary, #111); }
.pag .pcb > b { font-size: 16px; font-weight: 750; }
.pag .pr { display: flex; align-items: baseline; gap: 8px; } .pag .pr s { color: var(--text-muted, #9ca3af); font-size: 14px; } .pag .pr strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: #dc2626; }
.pag .cd { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 13px; font-weight: 700; opacity: 0; animation: pagMsg 10s infinite; }
.pag .cd span { margin-right: auto; font-weight: 650; } .pag .cd b { font-variant-numeric: tabular-nums; padding: 2px 6px; border-radius: 6px; background: #fff; }
.pag .up { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #f59e0b; background: #fffbeb; font-size: 13.5px; color: #78350f; opacity: 0; animation: pagMsg 10s infinite; }
.pag .up .ck { width: 20px; height: 20px; border-radius: 6px; background: #f59e0b; display: inline-flex; align-items: center; justify-content: center; }
.pag .up .ck svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pag .buy { height: 46px; border-radius: 13px; background: #120a26; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; opacity: 0; animation: pagMsg 10s infinite; }
@media (prefers-reduced-motion: reduce) { .pag .b, .pag .sys, .pag .won, .pag .cd, .pag .up, .pag .buy { animation: none; opacity: 1; } }
@media (max-width: 980px) {
  .pag-in { padding: 28px 18px 40px; min-height: 0; align-items: flex-start; border-radius: 20px; }
  .pag-in .grid { grid-template-columns: 1fr; gap: 34px; }
  .pag .feats { grid-template-columns: 1fr; gap: 16px; }
  .pag-btn { width: 100%; }
  .pag .cta span { width: 100%; text-align: center; }
  .pag .won { right: 4px; }
}
@media (max-width: 760px) { .pag { margin: -16px -16px 0; } .pag-in { border-radius: 0; box-shadow: none; padding-bottom: 110px; } }

/* barra superior: las ganancias nunca se aplastan; la píldora del regalo se achica primero */
.topbar-actions { min-width: 0; }
.topbar-actions > .tb-earn, .topbar-actions > .earn-row { flex: none; }
@media (max-width: 1500px) and (min-width: 761px) { .patr-chip { flex-basis: 390px; min-width: 0; } .patr-chip .pc-tx em { display: none; } }
@media (max-width: 1320px) and (min-width: 761px) {
  .patr-chip { flex: none; min-width: 0; width: auto; padding-right: 6px; }
  .patr-chip .pc-tx { display: none; }
}

/* Piloto: línea de tiempo del pedido */
.pag .flow { width: 100%; max-width: 390px; border-radius: 26px; background: var(--bg-card, #fff); box-shadow: 0 50px 100px -40px rgba(10, 8, 30, .5), 0 0 0 1px rgba(0, 0, 0, .05); padding: 18px 18px 8px; color: var(--text-primary, #111); }
.pag .fh { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #111) 7%, transparent); }
.pag .fic { width: 40px; height: 40px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; flex: none; }
.pag .fic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pag .fh > span:nth-child(2) { flex: 1; min-width: 0; } .pag .fh b { display: block; font-size: 14.5px; font-weight: 750; } .pag .fh small { font-size: 12.5px; color: var(--text-secondary, #6b7280); }
.pag .fh em { font-style: normal; font-size: 11px; font-weight: 800; color: #2563eb; background: color-mix(in srgb, #2563eb 10%, transparent); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.pag .flow ol { list-style: none; margin: 0; padding: 6px 0 0; position: relative; }
.pag .flow ol::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: 26px; width: 2px; background: color-mix(in srgb, var(--text-primary, #111) 9%, transparent); }
.pag .flow li { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 0 11px 28px; opacity: .28; animation: pagStep 10s infinite; }
.pag .flow li .dot { position: absolute; left: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-card, #fff); box-shadow: inset 0 0 0 2.5px #2563eb; }
.pag .flow li.paid .dot { box-shadow: inset 0 0 0 7px #16a34a; }
.pag .flow .t { flex: 1; min-width: 0; } .pag .flow .t b { display: block; font-size: 13.5px; font-weight: 720; } .pag .flow .t small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.pag .flow .ch { flex: none; font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 8px; }
.pag .flow .ch.wa { background: #dcfce7; color: #15803d; } .pag .flow .ch.em { background: #ede9fe; color: #6d28d9; } .pag .flow .ch.ok { background: #16a34a; color: #fff; font-size: 12px; }
.pag .flow .s1 { animation-delay: 0s; } .pag .flow .s2 { animation-delay: 1.1s; } .pag .flow .s3 { animation-delay: 2.2s; } .pag .flow .s4 { animation-delay: 3.3s; } .pag .flow .s5 { animation-delay: 4.4s; }
@keyframes pagStep { 0% { opacity: .28; transform: translateX(-4px); } 5%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: .28; } }

/* Ganchos: globo → explota → cupón → ruleta, sobre una tienda */
.pag .hk { width: 100%; max-width: 380px; border-radius: 22px; overflow: hidden; background: var(--bg-card, #fff); box-shadow: 0 50px 100px -40px rgba(10, 8, 30, .5), 0 0 0 1px rgba(0, 0, 0, .06); }
.pag .hk-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: color-mix(in srgb, var(--text-primary, #111) 4%, var(--bg-card, #fff)); }
.pag .hk-top span { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; } .pag .hk-top span:first-child { background: #fca5a5; } .pag .hk-top span:nth-child(2) { background: #fde68a; } .pag .hk-top span:nth-child(3) { background: #86efac; }
.pag .hk-top i { font-style: normal; margin-left: 8px; font-size: 11.5px; color: var(--text-muted, #9ca3af); font-weight: 600; }
.pag .hk-page { position: relative; height: 400px; overflow: hidden; }
.pag .hk-sk { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pag .hk-sk .im { height: 190px; border-radius: 16px; background: linear-gradient(135deg, #fbcfe8, #f9a8d4 50%, #c084fc); }
.pag .hk-sk .l { height: 12px; border-radius: 6px; background: #eee; } .pag .hk-sk .w1 { width: 70%; } .pag .hk-sk .w2 { width: 40%; }
.pag .hk-sk .bt { height: 42px; border-radius: 12px; background: #120a26; margin-top: 6px; }
.pag .hk-bal { position: absolute; left: 50%; bottom: -120px; width: 74px; margin-left: -37px; animation: hkBal 10s infinite; }
.pag .hk-bal .bb { display: block; width: 74px; height: 90px; border-radius: 50% 50% 48% 48%; background: radial-gradient(circle at 32% 28%, #fecaca, #ef4444 55%, #b91c1c); box-shadow: 0 16px 30px -12px rgba(185, 28, 28, .7); }
.pag .hk-bal .st { display: block; width: 2px; height: 50px; margin: 0 auto; background: #9ca3af; }
@keyframes hkBal { 0% { transform: translateY(0); opacity: 1; } 22% { transform: translateY(-330px); opacity: 1; } 25% { transform: translateY(-330px) scale(1.25); opacity: 0; } 100% { transform: translateY(-330px); opacity: 0; } }
.pag .hk-pop { position: absolute; left: 50%; top: 92px; width: 0; height: 0; }
.pag .hk-pop span { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0; animation: hkConf 10s infinite; }
.pag .hk-pop span:nth-child(1) { background: #f59e0b; --x: -80px; --y: -40px; } .pag .hk-pop span:nth-child(2) { background: #ef4444; --x: 70px; --y: -55px; }
.pag .hk-pop span:nth-child(3) { background: #7c3aed; --x: -60px; --y: 50px; } .pag .hk-pop span:nth-child(4) { background: #22c55e; --x: 85px; --y: 35px; }
.pag .hk-pop span:nth-child(5) { background: #3b82f6; --x: 0; --y: -80px; } .pag .hk-pop span:nth-child(6) { background: #ec4899; --x: 20px; --y: 75px; }
@keyframes hkConf { 0%, 23% { opacity: 0; transform: translate(0, 0) rotate(0); } 25% { opacity: 1; } 34% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(200deg); } 40%, 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 40px)) rotate(260deg); } }
.pag .hk-cp { position: absolute; left: 50%; top: 40px; width: 250px; margin-left: -125px; padding: 18px 18px 16px; border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(145deg, #f97316, #ef4444 55%, #db2777); box-shadow: 0 30px 60px -20px rgba(220, 38, 38, .7); opacity: 0; animation: hkCp 10s infinite; }
.pag .hk-cp small { display: block; font-size: 12px; font-weight: 700; opacity: .9; }
.pag .hk-cp b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 6px; }
.pag .hk-cp .cd { display: block; font-size: 12px; font-weight: 650; } .pag .hk-cp .cd em { font-style: normal; font-weight: 800; background: rgba(0, 0, 0, .2); padding: 2px 6px; border-radius: 6px; }
.pag .hk-cp .go { display: block; margin-top: 12px; height: 40px; line-height: 40px; border-radius: 12px; background: #fff; color: #b91c1c; font-size: 14px; font-weight: 800; }
@keyframes hkCp { 0%, 25% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1.04); } 33%, 56% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: scale(.95); } }
.pag .hk-wh { position: absolute; left: 50%; top: 70px; width: 210px; height: 210px; margin-left: -105px; opacity: 0; animation: hkWhIn 10s infinite; }
.pag .hk-wh .wh { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 30px 60px -20px rgba(10, 8, 30, .6);
  background: conic-gradient(#f59e0b 0 60deg, #7c3aed 60deg 120deg, #ef4444 120deg 180deg, #22c55e 180deg 240deg, #3b82f6 240deg 300deg, #ec4899 300deg 360deg); animation: hkSpin 10s infinite cubic-bezier(.2, .7, .2, 1); }
.pag .hk-wh .pin { position: absolute; left: 50%; top: -10px; margin-left: -10px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid #120a26; }
@keyframes hkWhIn { 0%, 60% { opacity: 0; transform: scale(.7); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hkSpin { 0%, 62% { transform: rotate(0); } 88%, 100% { transform: rotate(1470deg); } }
@media (prefers-reduced-motion: reduce) { .pag .flow li { animation: none; opacity: 1; } .pag .hk-bal, .pag .hk-pop span, .pag .hk-wh, .pag .hk-wh .wh { animation: none; } .pag .hk-cp { animation: none; opacity: 1; } }
.pag .flow + .won { bottom: -40px; }
@media (max-width: 480px) { .pag-btn { font-size: 15px; padding: 0 14px; } }
