/* PrivilegeFans · Verificación de edad · diseño azul marino y oro (Antonio, 5-nov-2026: 10 pantallas de móvil + versión de escritorio)
 * Móvil: una tarjeta a pantalla completa por paso. Escritorio (≥ 980 px): panel izquierdo con la foto fundida con el fondo
 * (consejos o privacidad según el paso) y la tarjeta del paso a la derecha. Va tras m-edad.css y m-zz-marca-modal.css. */
html:root:root body .ag-page {
  --ag-bg: #04122A; --ag-navy: #061B38; --ag-card: #0A2246; --ag-card2: #0D2A55; --ag-line: rgba(240, 193, 44, .28); --ag-line2: rgba(255, 255, 255, .1);
  --ag-gold: #F0C12C; --ag-gold2: #FFD76A; --ag-txt: #EAF0F8; --ag-muted: #A9B8CC; --ag-ok: #2BD47A; --ag-bad: #F0524F;
  display: block; padding: 18px 16px 40px; background: radial-gradient(120% 70% at 50% 0%, #0B2A57 0%, var(--ag-bg) 60%) fixed; color: var(--ag-txt);
  min-height: calc(100dvh / .8 - 72px); box-sizing: border-box; font-family: var(--pf-f-text, Lato, Arial, sans-serif);
}
html:root:root body .ag-page .ag-shell { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
html:root:root body .ag-page .ag-aside { display: none; }

/* ── tarjeta del paso ── */
html:root:root body .ag-page .ag-card {
  width: min(560px, 100%); margin: 0 auto; padding: 0; gap: 0; display: block; text-align: center; color: var(--ag-txt); overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 42, 85, .96), rgba(6, 27, 56, .98)); border: 1px solid var(--ag-line); border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
html:root:root body .ag-page .ag-card::before { display: none !important; }
html:root:root body .ag-page .ag-card .ag-bar {
  margin: 0 !important; padding: 14px 16px !important; min-height: 0 !important; height: auto !important; background: none !important; border: 0 !important; box-shadow: none !important;
  display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; position: relative; z-index: 3; bottom: auto !important; left: auto; right: auto;
}
html:root:root body .ag-page .ag-card .ag-bar::after { display: none !important; }
html:root:root body .ag-page .ag-bar-sp { width: 40px; }
html:root:root body .ag-page .ag-back, html:root:root body .ag-page .ag-bar-x {
  position: static; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; margin: 0;
  border: 1px solid var(--ag-line2) !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important; font-size: 16px; padding: 0 !important; line-height: 1 !important; inset: auto !important;
}
html:root:root body .ag-page .ag-back:hover, html:root:root body .ag-page .ag-bar-x:hover { background: rgba(240, 193, 44, .16) !important; border-color: var(--ag-gold) !important; }
html:root:root body .ag-page .ag-logo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
html:root:root body .ag-page .ag-logo img { height: 34px; width: auto; display: block; }
html:root:root body .ag-page .ag-word { font-family: var(--pf-f-title, SansitaSwashed, Georgia, serif); font-weight: 700; font-size: 22px; color: #fff; white-space: nowrap; letter-spacing: .01em; }
html:root:root body .ag-page .ag-word em { font-style: normal; color: var(--ag-gold); }
html:root:root body main.ag-page.pfx-page { width: 100%; max-width: none; margin: 0; }

html:root:root body .ag-page .ag-body { display: grid; gap: 14px; justify-items: center; padding: 6px 26px 26px; position: relative; z-index: 2; }
html:root:root body .ag-page .ag-card h1 { margin: 2px 0 0; font-family: var(--pf-f-title, SansitaSwashed, Georgia, serif); font-size: var(--pf-fs-h1, 30px); line-height: 1.15; color: #fff; font-weight: 700; }
html:root:root body .ag-page .ag-card h1 em, html:root:root body .ag-page .ag-aside h2 em { font-style: normal; color: var(--ag-gold); }
html:root:root body .ag-page .ag-card .ag-h1l { text-align: left; justify-self: stretch; }
html:root:root body .ag-page .ag-sub { margin: 0; color: var(--ag-muted); font-size: var(--pf-fs-body, 15px); line-height: 1.55; max-width: 46ch; }
html:root:root body .ag-page .ag-main { width: 100%; justify-content: center; margin: 4px 0 0; gap: 10px; }
html:root:root body .ag-page .ag-main .fa-chevron-right { font-size: .8em; }
html:root:root body .ag-page .pfx-btn.ag-ghost { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(240, 193, 44, .7) !important; box-shadow: none !important; }
html:root:root body .ag-page .pfx-btn.ag-ghost:hover { background: rgba(240, 193, 44, .12) !important; }
html:root:root body .ag-page .ag-link { color: var(--ag-gold2) !important; font-weight: 700; font-size: 14px; background: none; border: 0; cursor: pointer; padding: 6px 10px; }
html:root:root body .ag-page .ag-link:hover { color: #fff !important; text-decoration: underline; }
html:root:root body .ag-page .ag-link i { margin-right: 5px; }
html:root:root body .ag-page .ag-secure { margin: 2px 0 0; color: var(--ag-muted); font-size: var(--pf-fs-small, 13px); line-height: 1.5; max-width: 50ch; }
html:root:root body .ag-page .ag-secure i { color: var(--ag-gold); margin-right: 5px; }
html:root:root body .ag-page .ag-note { background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); color: var(--ag-txt); border-radius: 14px; }
html:root:root body .ag-page .ag-note i { color: var(--ag-gold); }
html:root:root body .ag-page .ag-helps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* pasos 1 · 2 · 3 */
html:root:root body .ag-page .ag-steps { list-style: none; margin: 0 0 4px; padding: 0; width: min(380px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
html:root:root body .ag-page .ag-steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 14px; height: 2px; background: rgba(255, 255, 255, .22); }
html:root:root body .ag-page .ag-steps li { position: relative; display: grid; justify-items: center; gap: 6px; }
html:root:root body .ag-page .ag-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--ag-navy); border: 1.5px solid rgba(255, 255, 255, .55); position: relative; z-index: 1; }
html:root:root body .ag-page .ag-steps li b { font-size: 12.5px; font-weight: 700; color: var(--ag-muted); }
html:root:root body .ag-page .ag-steps li.done span { border-color: var(--ag-gold); color: var(--ag-gold); }
html:root:root body .ag-page .ag-steps li.on span { background: linear-gradient(180deg, #FFE27A, #F0B81C); border-color: #FFE27A; color: #0d1f4a; box-shadow: 0 0 0 5px rgba(240, 193, 44, .18), 0 0 18px rgba(240, 193, 44, .55); }
html:root:root body .ag-page .ag-steps li.on b { color: var(--ag-gold); }
html:root:root body .ag-page .ag-steps li.done::after, html:root:root body .ag-page .ag-steps li.on::after { content: ""; position: absolute; right: 50%; top: 14px; height: 2px; width: 100%; background: var(--ag-gold); }
html:root:root body .ag-page .ag-steps li:first-child::after { display: none; }

/* 1 · aviso +18 */
html:root:root body .ag-page .ag-card.v-gate .ag-bar { position: absolute; left: 0; right: 0; top: 0; }
html:root:root body .ag-page .ag-card .ag-bar > * { margin: 0 !important; }
html:root:root body .ag-page .ag-card.v-gate .ag-bar .ag-logo { visibility: hidden; }
html:root:root body .ag-page .ag-card.v-gate .ag-body { padding-top: 0; }
html:root:root body .ag-page .ag-gate-ph {
  justify-self: stretch; margin: 0 -26px -150px; height: 380px; background-size: cover; background-position: 50% 18%; position: relative; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}
html:root:root body .ag-page .ag-gate-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 30%, rgba(255, 190, 80, .18), transparent 70%), linear-gradient(90deg, rgba(4, 18, 42, .65), transparent 60%); }
html:root:root body .ag-page .ag-gate-t { justify-self: stretch; text-align: left; display: grid; gap: 8px; }
html:root:root body .ag-page .ag-card.v-gate h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.08; }
html:root:root body .ag-page .ag-card.v-gate h1 em { display: block; }
html:root:root body .ag-page .ag-card.v-gate .ag-sub { max-width: 40ch; color: #DCE5F1; }
html:root:root body .ag-page .ag-feats { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; justify-self: stretch; text-align: left; }
html:root:root body .ag-page .ag-feats li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #fff; }
html:root:root body .ag-page .ag-feats i { width: 24px; text-align: center; color: var(--ag-gold); font-size: 19px; }

/* 2 · método */
html:root:root body .ag-page .ag-methods { display: grid; gap: 12px; width: 100%; }
html:root:root body .ag-page .ag-m {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 16px; text-align: left; border-radius: 16px; cursor: pointer;
  background: rgba(255, 255, 255, .04) !important; border: 1.5px solid rgba(255, 255, 255, .14) !important; color: #fff !important; box-shadow: none !important; transform: none;
}
html:root:root body .ag-page .ag-m.on:hover, html:root:root body .ag-page .ag-m.sel { border-color: var(--ag-gold) !important; background: rgba(240, 193, 44, .07) !important; box-shadow: 0 0 0 1px rgba(240, 193, 44, .35), 0 10px 28px rgba(240, 193, 44, .14) !important; }
html:root:root body .ag-page .ag-m.off { opacity: .55; cursor: not-allowed; }
html:root:root body .ag-page .ag-m-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: none !important; color: var(--ag-gold) !important; font-size: 30px; }
html:root:root body .ag-page .ag-m-t b { font-size: 16.5px; color: #fff; display: block; }
html:root:root body .ag-page .ag-m-t small { color: var(--ag-muted); font-size: 13.5px; line-height: 1.4; }
html:root:root body .ag-page .ag-chev { color: #fff; font-size: 16px; }
html:root:root body .ag-page .ag-soon { background: rgba(255, 255, 255, .1); color: var(--ag-muted); }
html:root:root body .ag-page .ag-badge { background: rgba(43, 212, 122, .16); color: #7CF0B0; }
html:root:root body .ag-page .ag-info { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; text-align: left; width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); }
html:root:root body .ag-page .ag-info i { color: var(--ag-gold); font-size: 22px; margin-top: 2px; }
html:root:root body .ag-page .ag-info p { margin: 0; color: var(--ag-muted); font-size: 13.5px; line-height: 1.5; }

/* 3 · documento */
html:root:root body .ag-page .ag-drop {
  width: 100%; box-sizing: border-box; display: grid; gap: 10px; justify-items: center; padding: 22px 18px; border-radius: 18px;
  border: 1.5px dashed rgba(240, 193, 44, .75) !important; background: rgba(240, 193, 44, .035) !important; color: #fff;
}
html:root:root body .ag-page .ag-drop-ic { position: relative; font-size: 46px; color: #fff; line-height: 1; }
html:root:root body .ag-page .ag-drop-ic .fa-arrow-up { position: absolute; right: -10px; bottom: -6px; font-size: 20px; color: var(--ag-gold); }
html:root:root body .ag-page .ag-drop b { font-size: 17px; color: #fff; }
html:root:root body .ag-page .ag-drop small { color: var(--ag-muted); font-size: 13.5px; line-height: 1.5; }
html:root:root body .ag-page .ag-or { display: flex; align-items: center; gap: 12px; width: 100%; color: var(--ag-muted); font-size: 13px; }
html:root:root body .ag-page .ag-or::before, html:root:root body .ag-page .ag-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .16); }
html:root:root body .ag-page .ag-docs { width: 100%; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
html:root:root body .ag-page .ag-thumb { border: 1px solid var(--ag-line) !important; border-radius: 14px; }
html:root:root body .ag-page .ag-phone { color: var(--ag-muted) !important; font-weight: 600; font-size: 13px; }
html:root:root body .ag-page .ag-doctypes { display: grid; grid-template-columns: repeat(3, minmax(0, 104px)); justify-content: center; gap: 16px; width: 100%; }
html:root:root body .ag-page .ag-doctypes figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
html:root:root body .ag-page .ag-doctypes figcaption { font-size: 12.5px; color: var(--ag-muted); }
html:root:root body .ag-page .ag-ex { position: relative; margin: 0; border-radius: 10px; overflow: visible; }
html:root:root body .ag-page .ag-ex > img, html:root:root body .ag-page .ag-ex > svg { display: block; width: 100%; height: 100%; border-radius: 9px; object-fit: cover; }
html:root:root body .ag-page .ag-docsvg { aspect-ratio: 120 / 76; height: auto !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
html:root:root body .ag-page .ag-okb, html:root:root body .ag-page .ag-kob { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; border: 2px solid var(--ag-navy); }
html:root:root body .ag-page .ag-okb { background: #22B864; } html:root:root body .ag-page .ag-kob { background: #E5413D; }
html:root:root body .ag-page .ag-hand { background: rgba(255, 255, 255, .05) !important; border-color: var(--ag-line2) !important; }
html:root:root body .ag-page .ag-hand-t b { color: #fff; } html:root:root body .ag-page .ag-hand-t p { color: var(--ag-muted); }
html:root:root body .ag-page .ag-copy input { background: rgba(0, 0, 0, .25); color: #fff; border-color: var(--ag-line2); }
html:root:root body .ag-page .ag-wait { color: #fff !important; }
html:root:root body .ag-page #ag-hand:empty { display: none; }

/* 4 · selfie en tiempo real */
html:root:root body .ag-page .ag-selfie { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
html:root:root body .ag-page .ag-cam { position: relative; width: min(260px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: visible; background: none; box-shadow: none; justify-self: center; }
html:root:root body .ag-page .ag-ring { position: absolute; inset: -10px; border-radius: 50%; --p: 0;
  background: conic-gradient(from 200deg, rgba(240, 193, 44, 0) 0deg, var(--ag-gold) 90deg, #FFE7A0 140deg, rgba(240, 193, 44, 0) 230deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: ag-spin 4s linear infinite; filter: drop-shadow(0 0 8px rgba(240, 193, 44, .6)); }
html:root:root body .ag-page .ag-ring.rec { animation: none; background: conic-gradient(var(--ag-gold) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); }
@keyframes ag-spin { to { transform: rotate(360deg); } }
html:root:root body .ag-page .ag-cam-in { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #12345f, #061B38); border: 3px solid rgba(255, 255, 255, .08); }
html:root:root body .ag-page .ag-cam-in video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); z-index: 1; }
html:root:root body .ag-page .ag-cam-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; color: rgba(255, 255, 255, .12); }
html:root:root body .ag-page .ag-say { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: max-content; max-width: 92%; z-index: 3; background: rgba(6, 27, 56, .92) !important; border: 1px solid var(--ag-gold); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; }
html:root:root body .ag-page .ag-stips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
html:root:root body .ag-page .ag-stips li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #DCE5F1; white-space: nowrap; }
html:root:root body .ag-page .ag-stips span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ag-gold); color: var(--ag-gold); font-size: 12px; flex: 0 0 auto; }
html:root:root body .ag-page .ag-ctl { display: grid; gap: 8px; justify-items: center; width: 100%; }
html:root:root body .ag-page .ag-shot { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--ag-gold); background: radial-gradient(circle, rgba(240, 193, 44, .25), rgba(240, 193, 44, .06)); color: var(--ag-gold); font-size: 30px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 7px rgba(240, 193, 44, .12), 0 0 26px rgba(240, 193, 44, .4); transition: transform .15s; }
html:root:root body .ag-page .ag-shot:hover:not(:disabled) { transform: scale(1.05); }
html:root:root body .ag-page .ag-shot:disabled { opacity: .5; cursor: progress; }
html:root:root body .ag-page .ag-shot-t { font-family: var(--pf-f-title, SansitaSwashed, Georgia, serif); font-size: 18px; color: #fff; font-weight: 700; }
html:root:root body .ag-page .ag-frames img { border: 1px solid var(--ag-line) !important; }

/* 5 · analizando con IA */
html:root:root body .ag-page .ag-scan { position: relative; width: min(250px, 72%); aspect-ratio: 4 / 5; display: grid; place-items: center; margin: 4px 0; }
html:root:root body .ag-page .ag-scan > img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: cover; border-radius: 12px; transform: scaleX(-1); -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 60%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 45%, #000 60%, transparent 100%); }
html:root:root body .ag-page .ag-scan-ph { font-size: 120px; color: rgba(255, 255, 255, .14); }
html:root:root body .ag-page .ag-mesh { position: absolute; inset: 8%; width: 84%; height: 84%; }
html:root:root body .ag-page .ag-mesh circle { fill: #FFE29A; animation: ag-tw 1.6s ease-in-out infinite; }
@keyframes ag-tw { 50% { opacity: .25; } }
html:root:root body .ag-page .ag-cnr { position: absolute; inset: 0; }
html:root:root body .ag-page .ag-cnr i { position: absolute; width: 34px; height: 34px; border: 3px solid var(--ag-gold); filter: drop-shadow(0 0 6px rgba(240, 193, 44, .6)); }
html:root:root body .ag-page .ag-cnr i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
html:root:root body .ag-page .ag-cnr i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
html:root:root body .ag-page .ag-cnr i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
html:root:root body .ag-page .ag-cnr i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
html:root:root body .ag-page .ag-scanline { position: absolute; left: 6%; right: 6%; height: 2px; top: 10%; background: linear-gradient(90deg, transparent, #FFE29A, transparent); box-shadow: 0 0 14px 3px rgba(240, 193, 44, .45); animation: ag-scanl 2.6s ease-in-out infinite alternate; }
@keyframes ag-scanl { to { top: 88%; } }
html:root:root body .ag-page .ag-prog { margin: 0; padding: 12px 14px; gap: 2px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); }
html:root:root body .ag-page .ag-prog li { background: none !important; border: 0 !important; padding: 7px 4px; color: var(--ag-muted) !important; font-size: 14.5px; }
html:root:root body .ag-page .ag-prog li b { font-weight: 600; }
html:root:root body .ag-page .ag-prog li.done { color: #fff !important; } html:root:root body .ag-page .ag-prog li.done > span { color: var(--ag-ok) !important; font-size: 18px; }
html:root:root body .ag-page .ag-prog li.on { color: #fff !important; } html:root:root body .ag-page .ag-prog li.on > span { color: #5AB0FF; font-size: 18px; }
html:root:root body .ag-page .ag-prog small { color: var(--ag-muted) !important; }

/* 6-8 · resultado */
html:root:root body .ag-page .ag-res { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin: 6px 0 2px; }
html:root:root body .ag-page .ag-res-ic { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; border: 4px solid currentColor; }
html:root:root body .ag-page .ag-res.ok { color: var(--ag-ok); } html:root:root body .ag-page .ag-res.ok .ag-res-ic { box-shadow: 0 0 0 8px rgba(43, 212, 122, .1), 0 0 34px rgba(43, 212, 122, .55), inset 0 0 22px rgba(43, 212, 122, .25); animation: ag-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
html:root:root body .ag-page .ag-res.bad { color: var(--ag-bad); } html:root:root body .ag-page .ag-res.bad .ag-res-ic { box-shadow: 0 0 0 8px rgba(240, 82, 79, .1), 0 0 34px rgba(240, 82, 79, .5), inset 0 0 22px rgba(240, 82, 79, .2); }
html:root:root body .ag-page .ag-res.wait { color: var(--ag-gold); } html:root:root body .ag-page .ag-res.wait .ag-res-ic { box-shadow: 0 0 0 8px rgba(240, 193, 44, .1), 0 0 34px rgba(240, 193, 44, .45); }
html:root:root body .ag-page .ag-conf { position: absolute; inset: -40px -70px; pointer-events: none; }
html:root:root body .ag-page .ag-conf i { position: absolute; width: 4px; height: 14px; border-radius: 2px; background: var(--ag-gold); opacity: .9; animation: ag-cf 1.2s ease-out both; }
html:root:root body .ag-page .ag-conf i:nth-child(1) { left: 6%; top: 30%; transform: rotate(-40deg); } html:root:root body .ag-page .ag-conf i:nth-child(2) { left: 14%; top: 70%; transform: rotate(30deg); }
html:root:root body .ag-page .ag-conf i:nth-child(3) { left: 22%; top: 8%; transform: rotate(-15deg); } html:root:root body .ag-page .ag-conf i:nth-child(4) { left: 4%; top: 52%; transform: rotate(70deg); background: #FFE7A0; }
html:root:root body .ag-page .ag-conf i:nth-child(5) { right: 6%; top: 28%; transform: rotate(40deg); } html:root:root body .ag-page .ag-conf i:nth-child(6) { right: 15%; top: 72%; transform: rotate(-30deg); }
html:root:root body .ag-page .ag-conf i:nth-child(7) { right: 22%; top: 6%; transform: rotate(15deg); background: #FFE7A0; } html:root:root body .ag-page .ag-conf i:nth-child(8) { right: 3%; top: 54%; transform: rotate(-70deg); }
html:root:root body .ag-page .ag-conf i:nth-child(9) { left: 30%; top: 92%; transform: rotate(60deg); } html:root:root body .ag-page .ag-conf i:nth-child(10) { right: 30%; top: 94%; transform: rotate(-60deg); }
@keyframes ag-cf { from { opacity: 0; translate: 0 10px; } }
html:root:root body .ag-page .ag-sum { margin: 2px 0; width: 100%; box-sizing: border-box; padding: 4px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); text-align: left; }
html:root:root body .ag-page .ag-sum > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ag-line2); }
html:root:root body .ag-page .ag-sum > div:last-child { border-bottom: 0; }
html:root:root body .ag-page .ag-sum dt { color: #fff; font-size: 14.5px; display: flex; align-items: center; gap: 12px; }
html:root:root body .ag-page .ag-sum dt i { width: 22px; text-align: center; color: var(--ag-gold); font-size: 18px; }
html:root:root body .ag-page .ag-sum dd { margin: 0; color: var(--ag-gold); font-weight: 800; font-size: 15px; text-align: right; }
html:root:root body .ag-page .ag-box { list-style: none; margin: 0; width: 100%; box-sizing: border-box; padding: 6px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); text-align: left; }
html:root:root body .ag-page .ag-box li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; color: #DCE5F1; font-size: 14px; line-height: 1.45; border-bottom: 1px solid var(--ag-line2); }
html:root:root body .ag-page .ag-box li:last-child { border-bottom: 0; }
html:root:root body .ag-page .ag-box i { color: var(--ag-gold); font-size: 18px; margin-top: 1px; }
html:root:root body .ag-page .ag-why { background: rgba(240, 82, 79, .06) !important; border: 1px solid rgba(240, 82, 79, .3) !important; border-radius: 16px; padding: 14px 16px; }
html:root:root body .ag-page .ag-why b { color: #fff !important; font-size: 14.5px; }
html:root:root body .ag-page .ag-why ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; color: #DCE5F1 !important; font-size: 14px; }
html:root:root body .ag-page .ag-why li { display: flex; gap: 9px; align-items: center; } html:root:root body .ag-page .ag-why li i { color: var(--ag-bad); }

/* zonas (elección tras verificar) en oscuro */
html:root:root body .ag-page .zn-lead { color: #DCE5F1; margin: 4px 0 0; text-align: left; justify-self: stretch; }
html:root:root body .ag-page .zn-opts { width: 100%; }
html:root:root body .ag-page .zn-opt { background: rgba(255, 255, 255, .04) !important; border: 1.5px solid rgba(255, 255, 255, .16) !important; text-align: left; }
html:root:root body .ag-page .zn-opt:hover { border-color: rgba(240, 193, 44, .7) !important; }
html:root:root body .ag-page .zn-opt.on { border-color: var(--ag-gold) !important; background: rgba(240, 193, 44, .08) !important; box-shadow: 0 0 0 1px rgba(240, 193, 44, .4), 0 8px 24px rgba(240, 193, 44, .14) !important; }
html:root:root body .ag-page .zn-tx b { color: #fff !important; } html:root:root body .ag-page .zn-tx small { color: var(--ag-muted) !important; }
html:root:root body .ag-page .zn-ck { color: rgba(255, 255, 255, .25) !important; } html:root:root body .ag-page .zn-opt.on .zn-ck { color: var(--ag-gold) !important; }

/* 9 · consejos · 10 · privacidad */
html:root:root body .ag-page .ag-tips, html:root:root body .ag-page .ag-priv { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; text-align: left; }
html:root:root body .ag-page .ag-tips > li, html:root:root body .ag-page .ag-priv > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ag-line2); }
html:root:root body .ag-page .ag-tip-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ag-gold); border: 1.5px solid rgba(240, 193, 44, .55); font-size: 17px; }
html:root:root body .ag-page .ag-tips b, html:root:root body .ag-page .ag-priv b { display: block; color: #fff; font-size: 15px; margin: 2px 0 8px; }
html:root:root body .ag-page .ag-priv small { color: var(--ag-muted); font-size: 13.5px; line-height: 1.5; } html:root:root body .ag-page .ag-priv a { color: var(--ag-gold2); }
html:root:root body .ag-page .ag-exs { display: flex; gap: 14px; flex-wrap: wrap; }
html:root:root body .ag-page .ag-tips .ag-ex { width: 96px; }
html:root:root body .ag-page .ag-tips .ag-ex > img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 25%; }
html:root:root body .ag-page .ag-banner { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-align: left; width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--ag-gold); background: rgba(240, 193, 44, .08); box-shadow: 0 0 24px rgba(240, 193, 44, .14); }
html:root:root body .ag-page .ag-banner span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ag-gold); color: var(--ag-gold); font-size: 17px; }
html:root:root body .ag-page .ag-banner p { margin: 0; color: var(--ag-gold2); font-size: 14px; line-height: 1.45; } html:root:root body .ag-page .ag-banner b { color: var(--ag-gold); }
html:root:root body .ag-page .ag-priv + .ag-banner { margin-top: 12px; }

/* móvil del enlace «Usar móvil» */
html:root:root body .ag-page .ag-card.v-phone { padding: 30px 22px 24px; display: grid; gap: 14px; }
html:root:root body .ag-page .ag-card.v-phone .ag-ic { background: rgba(240, 193, 44, .12); color: var(--ag-gold); box-shadow: none; border: 2px solid var(--ag-gold); }

/* ── escritorio: panel con foto + tarjeta ── */
@media (min-width: 980px) {
  html:root:root body .ag-page { padding: 26px 28px 40px; }
  html:root:root body .ag-page .ag-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 30px; align-items: stretch; }
  html:root:root body .ag-page .ag-aside {
    display: block; position: relative; overflow: hidden; border-radius: 26px; min-height: min(760px, calc(100dvh / .8 - 140px)); isolation: isolate;
    background: #04122A; border: 1px solid var(--ag-line);
  }
  html:root:root body .ag-page .ag-as-ph { position: absolute; inset: 0; background-size: cover; background-position: 50% 15%; z-index: -1;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .9) 35%, rgba(0, 0, 0, .25) 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .9) 35%, rgba(0, 0, 0, .25) 70%, transparent 100%); }
  html:root:root body .ag-page .ag-as-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 42, .85) 0%, rgba(4, 18, 42, .35) 55%, rgba(4, 18, 42, .1) 100%), radial-gradient(60% 50% at 80% 25%, rgba(255, 190, 80, .2), transparent 70%); }
  html:root:root body .ag-page .ag-as-in { position: relative; display: grid; gap: 16px; align-content: start; padding: 30px 32px; height: 100%; box-sizing: border-box; }
  html:root:root body .ag-page .ag-as-in .ag-logo { justify-content: flex-start; } html:root:root body .ag-page .ag-as-in .ag-logo img { height: 46px; } html:root:root body .ag-page .ag-as-in .ag-word { font-size: 28px; }
  html:root:root body .ag-page .ag-aside h2 { margin: 26px 0 120px; max-width: 15ch; font-family: var(--pf-f-title, SansitaSwashed, Georgia, serif); font-size: 46px; line-height: 1.05; color: #fff; font-weight: 700; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
  html:root:root body .ag-page .ag-aside h2 em { display: block; }
  html:root:root body .ag-page .ag-aside h3 { margin: 0; font-family: var(--pf-f-title, SansitaSwashed, Georgia, serif); font-size: 24px; color: #fff; font-weight: 700; }
  html:root:root body .ag-page .ag-aside .ag-tips > li, html:root:root body .ag-page .ag-aside .ag-priv > li { background: rgba(4, 18, 42, .7); backdrop-filter: blur(6px); }
  html:root:root body .ag-page .ag-tips.compact { grid-template-columns: 1fr 1fr; }
  html:root:root body .ag-page .ag-tips.compact .ag-ex { width: 70px; }
  html:root:root body .ag-page .ag-tips.compact b { font-size: 14px; }
  html:root:root body .ag-page .ag-card { width: 100%; align-self: start; }
  /* en el aviso, la foto ya está en el panel: la tarjeta va sin foto */
  html:root:root body .ag-page .ag-gate-ph { display: none; }
  html:root:root body .ag-page .ag-card.v-gate .ag-bar { position: relative; }
  html:root:root body .ag-page .ag-card.v-gate .ag-bar .ag-logo { visibility: visible; }
  html:root:root body .ag-page .ag-card.v-gate .ag-body { padding-top: 18px; }
  html:root:root body .ag-page .s-gate .ag-aside h3, html:root:root body .ag-page .s-gate .ag-aside .ag-priv { display: none; }
  html:root:root body .ag-page .s-gate .ag-aside .ag-banner { position: absolute; left: 32px; right: 32px; bottom: 30px; width: auto; }
  /* consejos y privacidad ya se ven en el panel */
  html:root:root body .ag-page .ag-helps { display: none; }
  html:root:root body .ag-page .s-tips .ag-aside h3 + .ag-tips, html:root:root body .ag-page .s-privacy .ag-aside h3 + .ag-priv { opacity: .9; }
}

/* ── móvil ── */
@media (max-width: 640px) {
  html:root:root body .ag-page { padding: 0 0 24px; background: var(--ag-bg); }
  html:root:root body .ag-page .ag-card { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; min-height: calc(100dvh / .8 - 72px); box-shadow: none; }
  html:root:root body .ag-page .ag-body { padding: 4px 18px 24px; }
  html:root:root body .ag-page .ag-gate-ph { margin: 0 -18px -140px; height: 400px; }
  html:root:root body .ag-page .ag-selfie { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  html:root:root body .ag-page .ag-cam { width: min(210px, 100%); }
  html:root:root body .ag-page .ag-stips li { font-size: 12px; gap: 7px; } html:root:root body .ag-page .ag-stips span { width: 24px; height: 24px; font-size: 10.5px; }
  html:root:root body .ag-page .ag-m { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 13px 14px; } html:root:root body .ag-page .ag-m-ic { width: 44px; height: 44px; font-size: 26px; }
  html:root:root body .ag-page .ag-tips .ag-ex { width: 84px; }
  html:root:root body .ag-page .ag-doctypes { gap: 8px; }
}
@media (max-width: 380px) { html:root:root body .ag-page .ag-selfie { grid-template-columns: 1fr; justify-items: center; } html:root:root body .ag-page .ag-stips { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html:root:root body .ag-page .ag-ring, html:root:root body .ag-page .ag-scanline, html:root:root body .ag-page .ag-mesh circle, html:root:root body .ag-page .ag-conf i, html:root:root body .ag-page .ag-res .ag-res-ic { animation: none !important; }
}
