/* PrivilegeFans v33 · diseño 2026 (capturas aprobadas 01–05): cabecera y ajustes globales.
 * Se carga la última (m-zz-…) para que gane a las hojas antiguas (styles.css, rc8-header.css). Solo escritorio y tableta (≥ 1001 px);
 * en móvil sigue la cabecera compacta de siempre. */
:root {
  --d-navy: #154C82; --d-navy-2: #0F3A66; --d-ink: #0B2D52; --d-text: #3C5068; --d-muted: #6B7F95;
  --d-line: #E9EEF4; --d-bg: #FBFCFE; --d-soft: #EEF3F9; --d-gold: #F0C12C; --d-gold-2: #B18937; --d-cream: #FDF8EE;
  --d-gold-grad: linear-gradient(180deg, #E2B53A, #B8891F);
  --d-card-shadow: 0 4px 18px rgba(15, 54, 84, .05);
}
html, body, .app-shell.pfx-shell { background: var(--d-bg); }

@media (min-width: 1001px) {
  .pfx-topbar { height: 72px !important; min-height: 72px !important; background: var(--ice, #fff); border-bottom: 1px solid var(--d-line); box-shadow: 0 2px 12px rgba(15, 54, 84, .04); }
  .pfx-topbar .topbar-inner { width: min(var(--pf-w, 1500px), calc(100% - 48px)) !important; min-height: 72px !important; height: 72px; padding: 0 !important; margin: 0 auto;
    display: grid !important; grid-template-columns: 178px minmax(200px, 330px) minmax(0, 1fr) !important; column-gap: 22px !important; align-items: center; }
  .pfx-topbar .brand { width: 178px !important; max-width: 178px !important; height: 46px; }
  .pfx-topbar .search.pfx-search-btn { height: 42px !important; max-width: 330px; border-radius: 999px; background: #F3F6FA; border: 1px solid #EDF1F5; color: #8C9BAE; font-size: 13.5px; font-weight: 600; padding: 0 16px; gap: 10px; }
  .pfx-topbar .search.pfx-search-btn i { color: #5B6F86; font-size: 15px; }
  .pfx-topbar .top-actions { display: flex !important; grid-template-columns: none !important; align-items: stretch !important; justify-content: flex-end; gap: 4px !important; height: 72px; width: 100%; }
  /* los cuatro accesos centrados en el hueco libre; configuración y cuenta a la derecha */
  .pfx-topbar .top-actions > .top-action:first-child { margin-left: auto; }
  .pfx-topbar .top-actions > .header-divider { margin-left: auto !important; align-self: center; }
  .pfx-topbar .top-action, .pfx-topbar .top-action[data-route="notificaciones"], .pfx-topbar .diamond-nav { position: relative; flex: 0 0 auto !important; width: auto !important; min-width: 70px; height: 72px !important; padding: 0 10px !important;
    border-radius: 0 !important; background: transparent !important; color: #4F6680; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
  .pfx-topbar .top-action i { font-size: 21px !important; color: inherit !important; line-height: 1; }
  .pfx-topbar .top-action small { font-size: 12px !important; font-weight: 700; color: inherit; letter-spacing: 0; line-height: 1.1 !important; }
  .pfx-topbar .top-action:hover { color: var(--d-navy); }
  .pfx-topbar .top-action.active { color: var(--d-navy) !important; }
  .pfx-topbar .top-action.active small { font-weight: 800; }
  .pfx-topbar .top-action.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--d-navy); }
  .pfx-topbar .top-action.pfx-gems { min-width: 70px; }
  .pfx-topbar .top-action.pfx-gems i { color: #3D86C6 !important; }
  .pfx-topbar .top-action.pfx-gems small { font-size: 12px !important; font-weight: 900; color: var(--d-navy); }
  .pfx-topbar .top-action .badge { top: 12px !important; right: calc(50% - 22px) !important; background: #E0312D !important; color: #fff !important; border: 2px solid #fff; min-width: 19px; height: 19px; font-size: 10px; }
  .pfx-topbar .header-divider { display: block !important; width: 1px; height: 34px; background: var(--d-line); margin: 0 8px; }
  .pfx-topbar .top-gear { align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #4F6680; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
  .pfx-topbar .top-gear:hover, .pfx-topbar .top-gear.active { background: var(--d-soft); color: var(--d-navy); }
  .pfx-topbar .account-head { align-self: center; display: flex !important; align-items: center; gap: 8px !important; width: auto !important; min-width: 0 !important; height: 48px !important; padding: 0 4px 0 6px !important; border-radius: 26px; }
  .pfx-topbar .account-head > i { display: inline-block !important; font-size: 11px; color: #4F6680; }
  .pfx-topbar .account-head .avatar-mini { width: 40px !important; height: 40px !important; min-width: 40px !important; max-width: 40px !important; min-height: 40px !important; max-height: 40px !important; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--d-line); }
  .pfx-topbar .role-pill { display: none !important; }
}
@media (min-width: 1001px) and (max-width: 1199px) {
  .pfx-topbar .topbar-inner { grid-template-columns: 150px minmax(150px, 240px) minmax(0, 1fr) !important; column-gap: 14px !important; width: calc(100% - 28px) !important; }
  .pfx-topbar .brand { width: 150px !important; max-width: 150px !important; }
  .pfx-topbar .top-action, .pfx-topbar .top-action[data-route="notificaciones"], .pfx-topbar .diamond-nav { min-width: 58px; padding: 0 6px !important; }
  .pfx-topbar .top-action small { font-size: 11px !important; }
}

/* insignia de verificado dorada (diseño 2026) */
.pfx-verified { color: #E2B53A; }
/* publicaciones: nombre del autor en azul marino como en el diseño; tarjetas con el estilo común */
.ini-ph .ini-nick { color: var(--d-ink); }
.ini-post.pfx-card, .pfx-card.ini-post { border-radius: 16px; border: 1px solid var(--d-line); box-shadow: var(--d-card-shadow); }
/* perfil: pestañas centradas cuando son pocas; historias sin tarjeta (como en el diseño) */
.perf-tabs-in.few { justify-content: center; gap: 30px; }
@media (max-width: 760px) { .perf-tabs-in.few { justify-content: flex-start; gap: 4px; } }
.perf-page .p2-stories { background: transparent; border: 0; box-shadow: none; padding: 2px 0 6px; }
.perf-page .p2-st-ring { width: 84px; height: 84px; }
.perf-page .p2-st { width: 92px; }
.perf-page .p2-st small { font-size: 13px; font-weight: 700; color: var(--d-ink); }
/* columna lateral del perfil: títulos y tarjetas como en el diseño */
.perf-page .pp-card { padding: 20px; border-radius: 16px; border: 1px solid var(--d-line); box-shadow: var(--d-card-shadow); }
.perf-page .pp-card header b, .perf-page .pp-h b { font-size: 17px; font-weight: 800; color: var(--d-ink); }
.perf-page .pp-h a { font-size: 13px; }

/* ───── Inicio a dos columnas (escritorio) ───── */
@media (min-width: 1100px) {
  main.ini-home.dz-2col { width: min(1310px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; align-items: start; padding-left: 0; padding-right: 0; }
  main.ini-home.dz-2col > .ini-col { width: 100%; margin: 0; }
}
.dz-side { display: grid; gap: 18px; position: sticky; top: 92px; }
@media (max-width: 1099px) { .dz-side { display: none; } }
.dz-card { padding: 20px; border-radius: 16px; border: 1px solid var(--d-line); box-shadow: var(--d-card-shadow); background: var(--ice, #fff); }
.dz-card > header { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.dz-card > header b { font-size: 16.5px; font-weight: 800; color: var(--d-ink); }
.dz-h { justify-content: space-between; } .dz-h a { font-size: 13px; font-weight: 700; color: var(--d-navy); text-decoration: none; } .dz-h a:hover { text-decoration: underline; }
.dz-today { background: linear-gradient(135deg, #FFF9EC, #fff); border-color: #F1E3BB; }
.dz-dot { width: 10px; height: 10px; border-radius: 50%; background: #b8c4d1; } .dz-dot.on { background: #22b357; box-shadow: 0 0 0 3px rgba(34, 179, 87, .18); }
.dz-today-in { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 14px; background: var(--ice, #fff); box-shadow: 0 2px 10px rgba(15, 54, 84, .06); font: inherit; text-align: left; cursor: pointer; color: var(--d-navy); }
.dz-today-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF1F8; color: var(--d-navy); font-size: 17px; }
.dz-today-t { flex: 1; min-width: 0; display: grid; gap: 3px; } .dz-today-t b { color: var(--d-ink); font-size: 14.5px; overflow-wrap: anywhere; } .dz-today-t small { color: var(--d-muted); font-size: 12px; line-height: 1.35; }
.dz-sugg { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dz-sugg li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dz-sugg a { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.dz-sugg a span { display: grid; min-width: 0; } .dz-sugg b { color: var(--d-gold-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dz-sugg small { color: var(--d-muted); font-size: 12px; }
.dz-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dz-quick button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid #E1E9F2; background: var(--d-soft); color: var(--d-navy); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; text-align: left; }
.dz-quick button i { color: var(--d-gold-2); font-size: 15px; } .dz-quick button:hover { background: #E4EDF7; }

/* ───── zona privada: bienvenida como en la captura 02 ───── */
.perf-page .pp-welcome { padding: 36px 38px 24px; min-height: 300px; border: 1px solid var(--d-line); box-shadow: var(--d-card-shadow); border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 251, 243, .98) 0%, rgba(255, 249, 238, .93) 40%, rgba(255, 249, 238, .2) 72%, rgba(255, 249, 238, 0) 100%), var(--pp-cover) right center/cover no-repeat, #fbf5e3; }
.perf-page .pp-kicker { font-size: 12.5px; letter-spacing: .14em; color: #4F6680; font-weight: 800; gap: 10px; }
.perf-page .pp-kicker i { color: #E2B53A; font-size: 20px; }
.perf-page .pp-welcome h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #102A4C; font-size: 40px; line-height: 1.12; max-width: 520px; margin: 14px 0 12px; letter-spacing: -.01em; }
.perf-page .pp-welcome p { font-size: 15.5px; line-height: 1.55; max-width: 520px; color: #3C5068; }
.perf-page .pp-w-perks { margin-top: 22px; padding: 14px 20px; gap: 14px 28px; border-radius: 14px; background: rgba(255, 255, 255, .78); }
.perf-page .pp-w-perks li { font-size: 13.5px; } .perf-page .pp-w-perks i { font-size: 22px; color: #D3A42F; }
@media (max-width: 760px) { .perf-page .pp-welcome { padding: 24px 18px 16px; min-height: 0; } .perf-page .pp-welcome h2 { font-size: 28px; } }

/* perfil en móvil: los controles de la portada suben arriba para no tapar la foto */
@media (max-width: 760px) {
  .perf-page .perf-cover-bl { top: 12px; bottom: auto !important; left: 12px; }
  .perf-page[data-self] .perf-cover-bl { left: 62px; }
  .perf-page[data-other] .perf-cover-br { top: 12px; bottom: auto; }
  .perf-page .perf-pill { width: 40px; padding: 0; justify-content: center; gap: 0; }
  .perf-page .perf-pill span { display: none !important; }
}

/* columna lateral: el nombre dentro del texto pequeño no se agranda (racha de fidelidad) */
.perf-page .pp-card header small b { display: inline; font-size: inherit; font-weight: 800; color: var(--d-ink); }
/* «Únete a mi comunidad» como en la captura */
.perf-page .pp-join .pp-crown { width: 62px; height: 62px; border-radius: 16px; font-size: 26px; }
.perf-page .pp-join header b { font-size: 19px; }
.perf-page .pp-join header small { font-size: 13.5px; }
.perf-page .pp-gold { padding: 15px; font-size: 15.5px; border-radius: 10px; background: var(--d-gold-grad); }
.perf-page .pp-perks { margin-top: 18px; gap: 0; }
.perf-page .pp-perks li { font-size: 12.5px; font-weight: 600; color: #4F6680; padding: 0 4px; border-left: 1px solid var(--d-line); }
.perf-page .pp-perks li:first-child { border-left: 0; }
.perf-page .pp-perks i { width: 36px; height: 36px; font-size: 18px; background: transparent; color: #C99A2E; }
/* «Tu suscripción» */
.perf-page .pp-mine header > i { width: 58px; height: 58px; border-radius: 16px; background: var(--d-gold-grad); color: #fff; font-size: 24px; box-shadow: 0 6px 14px rgba(177, 137, 55, .3); }
/* publicaciones: @usuario en la segunda línea */
.ini-ph .ini-meta .ini-user { color: var(--d-muted); font-weight: 600; }
.ini-act.fav.on i { color: var(--d-navy); }

/* zona privada: la foto de la suscripción ocupa la mitad derecha del banner; «Mi estado de hoy» no se repite aquí */
.perf-page .pp-welcome.has-photo { background: linear-gradient(90deg, rgba(255, 251, 243, .99) 0%, rgba(255, 249, 238, .95) 36%, rgba(255, 249, 238, .35) 56%, rgba(255, 249, 238, 0) 70%), var(--pp-cover) right center / cover no-repeat, #fbf5e3; }
.perf-page[data-zone="private"] .p2-today { display: none; }
.perf-page .pp-w-perks { display: grid; grid-template-columns: repeat(4, auto); width: fit-content; max-width: 100%; }
.perf-page .pp-w-perks li { padding: 0 18px; border-left: 1px solid rgba(201, 164, 58, .35); }
.perf-page .pp-w-perks li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .perf-page .pp-w-perks { grid-template-columns: repeat(2, auto); } .perf-page .pp-w-perks li { border-left: 0; padding: 0; } }

/* ───── franja con la ola bajo la cabecera y «hoja» blanca que monta sobre ella (todas las páginas salvo el perfil) ───── */
.dz-band { position: relative; height: 118px; background: #1b5a93 url('../assets/branding/banner-ola.jpg') center 42% / cover no-repeat; overflow: hidden; }
.dz-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 44, 84, .42), rgba(8, 44, 84, .05) 45%, rgba(8, 44, 84, 0)); }
.dz-band-in { position: relative; z-index: 1; width: min(var(--pf-w, 1500px), calc(100% - 64px)); margin: 0 auto; height: 100%; display: flex; align-items: flex-start; padding-top: 16px; }
.dz-band-logo { display: inline-flex; align-items: center; gap: 10px; filter: drop-shadow(0 2px 6px rgba(0, 20, 50, .35)); }
.dz-band-emb { height: 38px; width: auto; }
.dz-band-word { height: 22px; width: auto; }
.dz-band + main.pfx-page { position: relative; z-index: 2; width: min(var(--pf-w, 1500px), calc(100% - 64px)); max-width: none; margin: -46px auto 0; padding: 28px 30px 44px;
  background: var(--ice, #fff); border-radius: 22px 22px 0 0; box-shadow: 0 -2px 22px rgba(15, 54, 84, .07); min-height: calc(100vh - 150px); }
@media (max-width: 1000px) {
  .dz-band { height: 92px; } .dz-band-in { width: calc(100% - 28px); padding-top: 12px; }
  .dz-band-emb { height: 30px; } .dz-band-word { height: 17px; }
  .dz-band + main.pfx-page { width: 100%; margin-top: -36px; padding: 20px 16px 96px; border-radius: 20px 20px 0 0; }
}
@media (max-width: 720px) { .dz-band { height: 74px; } .dz-band-in { display: none; } .dz-band + main.pfx-page { margin-top: -24px; padding: 16px 12px 96px; } }

/* Desplazamiento con la rueda: un único contenedor de scroll (la página). Antes html y body tenían a la vez overflow-x: hidden, lo que en algunos
   navegadores convierte a body en un segundo contenedor y la rueda deja de mover la página. «clip» recorta lo que sobra sin crear contenedor. */
html { overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto !important; }
html:not(.pfc-on) body { overflow-x: clip !important; overflow-y: visible !important; overscroll-behavior-y: auto !important; }
@supports not (overflow: clip) { html:not(.pfc-on) body { overflow-x: visible !important; } }

/* Pulido (v32.11): portada de perfil más baja en escritorio, burbuja de chat discreta en móvil, tarjetas con realce suave al pasar el ratón. */
@media (min-width: 900px) { .perf-cover { height: clamp(200px, calc(100vw / 5.2), 300px); } }
.card, .exp2-card, .perf-post { transition: box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) { .exp2-card:hover { box-shadow: 0 8px 26px rgba(15,54,84,.12); transform: translateY(-2px); } }
@media (max-width: 700px) {
  .au-supfab { width: 46px !important; height: 46px !important; bottom: calc(76px + env(safe-area-inset-bottom)) !important; right: 12px !important; opacity: .94; }
}

/* Historias del perfil: círculos perfectos (la imagen tomaba su altura natural y se veía recortada en óvalo). */
.p2-st-ring { box-sizing: border-box; width: 72px; height: 72px; }
.p2-st-ring img { width: 100% !important; height: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 700px) { .p2-st-ring { width: 64px; height: 64px; } }

/* ───── Mensajes (plantilla 07): pestañas en píldora sobre la lista, chat a la derecha, nombres en azul marino, burbuja propia clara ───── */
@media (min-width: 901px) {
  .pfc { --pfc-side: 380px; grid-template-columns: var(--pfc-side) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "f m" "s m"; gap: 12px 18px; }
  .pfc-filters { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 0; overflow: visible; }
  .pfc-f { min-height: 36px; padding: 0 14px; gap: 7px; border-radius: 10px; background: #F3F6FA; font-size: 13.5px; }
  .pfc-f i { width: auto; font-size: 13px; }
  .pfc-f.on { background: var(--d-navy, #154C82); color: #fff; }
  .pfc-f.on i, .pfc-f.on .pfc-f-n { color: #fff; }
}
.pfc-name.is-creator, .pfc-name.is-user { color: var(--d-ink, #0B2D52); }
.pfc-row.mine .pfc-bubble { background: #DCE9F8; color: #0B2D52; box-shadow: none; }
.pfc-row.mine .pfc-bubble time, .pfc-row.mine .pfc-bubble .pfc-t { color: #5C7391; }
.pfc-send { background: var(--d-navy, #154C82); box-shadow: none; border-radius: 12px; }
.pfc-item { border-radius: 14px; }
.pfc-item.on { background: #EAF2FB; }

/* (Notificaciones: su diseño completo, con las filas y las pestañas, vive ahora en m-notificaciones.css · maqueta de Antonio del 1-nov) */

/* Barra de programadas: con el atributo hidden no debe verse (display:flex lo anulaba y quedaba una pastilla vacía). */
.ini-schedbar[hidden] { display: none !important; }

/* Verificación: los requisitos son una lista de lo que hace falta, no de lo ya cumplido; el tic ya no va en verde. */
.vf2-req .vf2-ok { color: var(--d-navy, #154C82) !important; opacity: .55; }

/* ═══ Visor de historias · diseño vertical (barras arriba, acciones a la derecha, respuesta y miniaturas) ═══ */
.ini-sv-card { border-radius: 24px; }
.ini-sv-bars { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 6; display: flex; gap: 5px; }
.ini-sv-bars .ini-sv-bar { height: 14px; padding: 5px 0; }
.ini-sv-top { top: 14px; padding-top: 18px; }
.ini-sv-user .pfx-avatar { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.ini-sv-user b { color: #fff; font-size: 15px; }
.ini-sv-tools .ini-sv-t { background: rgba(10,25,45,.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.ini-sv-hit { inset: 96px 0 210px; }
.ini-sv-side { position: absolute; right: 12px; top: 50%; transform: translateY(-4%); z-index: 6; display: grid; gap: 10px; }
.ini-sv-side .ini-sv-act { width: 52px; height: auto; min-height: 52px; padding: 8px 4px; border-radius: 16px; flex-direction: column; gap: 3px; background: rgba(10,25,45,.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); font-size: 11.5px; line-height: 1.1; }
.ini-sv-side .ini-sv-act i { font-size: 19px; }
.ini-sv-side .ini-sv-act.like.on i { color: #FFC72E; }
.ini-sv-side .ini-sv-act[data-l]::after { content: attr(data-l); font-size: 10.5px; font-weight: 700; opacity: .9; }
.ini-sv-bottom { gap: 8px; padding: 0 12px 12px; }
.ini-sv-cap { font-family: 'Sansita Swashed', 'Lato', cursive; font-size: 21px; line-height: 1.25; letter-spacing: .2px; padding-right: 70px; max-height: 16dvh; }
.ini-sv-reply { display: flex; align-items: center; gap: 8px; background: rgba(10,25,45,.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 5px 8px 5px 6px; }
.ini-sv-me .pfx-avatar { border: 2px solid #fff; border-radius: 50%; }
.ini-sv-reply input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 600 13.5px Lato, Arial, sans-serif; padding: 6px 4px; }
.ini-sv-reply input::placeholder { color: rgba(255,255,255,.78); }
.ini-sv-emo { display: flex; gap: 2px; }
.ini-sv-emo button { border: 0; background: transparent; font-size: 21px; cursor: pointer; padding: 2px 4px; border-radius: 50%; transition: transform .12s; }
.ini-sv-emo button:hover { transform: scale(1.22); }
.ini-sv-thumbs { display: flex; gap: 7px; }
.ini-sv-th { flex: 1 1 0; max-width: 52px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: rgba(10,25,45,.55); padding: 0; cursor: pointer; color: #fff; font: 800 13px Lato, Arial, sans-serif; display: grid; place-items: center; opacity: .85; }
.ini-sv-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ini-sv-th.on { border-color: #fff; opacity: 1; box-shadow: 0 0 0 2px rgba(240,193,44,.8); }
.ini-sv-th .ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ini-sv-cm { height: 70%; }

/* ═══ Marca de agua: logo de PrivilegeFans difuminado sobre las imágenes ═══ */
.ini-tile::after, .trd-tile::after, .ini-sv-stage::after, .pfx-lb-stage::after {
  content: ""; position: absolute; left: 50%; top: 56%; width: min(62%, 300px); aspect-ratio: 506 / 72; transform: translate(-50%, -50%);
  background: url('../assets/branding/banda-logo.png') center / contain no-repeat; opacity: .26; filter: blur(1.1px) drop-shadow(0 0 6px rgba(0,0,0,.35));
  pointer-events: none; z-index: 2; mix-blend-mode: normal;
}
.trd-tile::after { width: 70%; top: 50%; }
.pfx-lb-stage { position: relative; }
.ini-sv-stage { isolation: isolate; }
/* historias: foto vertical a pantalla completa */
.ini-sv-stage.is-portrait img.ini-sv-img { object-fit: cover; }
.ini-sv-cap { font-family: SansitaSwashed, 'Lato', cursive; }

/* historias · chips de ubicación / tiempo (arriba a la derecha) y etiquetas de plan y música (abajo) */
.ini-sv-chips { position: absolute; right: 12px; top: 84px; z-index: 6; display: grid; gap: 8px; justify-items: end; }
.ini-sv-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(10,25,45,.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 700 13px Lato, Arial, sans-serif; padding: 7px 12px; border-radius: 99px; max-width: 220px; }
.ini-sv-chip i.sm, .ini-sv-pill i.sm { font-size: 9px; opacity: .8; }
.ini-sv-chip.wx { padding: 6px 12px; } .ini-sv-chip.wx i { color: #F0C12C; font-size: 20px; } .ini-sv-chip.wx span { display: grid; line-height: 1.1; } .ini-sv-chip.wx small { font-size: 10.5px; font-weight: 600; opacity: .9; }
.ini-sv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ini-sv-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(10,25,45,.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 700 12.5px Lato, Arial, sans-serif; padding: 6px 12px; border-radius: 99px; }
.ini-st2-det { margin: 6px 0 10px; border: 1px solid var(--d-line, #dbe5f0); border-radius: 12px; padding: 8px 12px; background: #f7fafd; } .ini-st2-det summary { cursor: pointer; font-weight: 700; color: #154C82; font-size: 13.5px; } .ini-st2-det summary i { color: #B18937; margin-right: 6px; }
.ini-st2-detg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 10px; } .ini-st2-detg label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #5B6F86; }
.ini-st2-detg input, .ini-st2-detg select { border: 1px solid #cdd9e6; border-radius: 10px; padding: 8px 10px; font: 600 13.5px Lato, Arial, sans-serif; color: #0d2a4a; background: var(--ice, #fff); min-width: 0; }
.ini-d-w { display: flex; align-items: center; gap: 6px; } .ini-d-w .ini-d-temp { width: 64px; } .ini-d-w select { flex: 1; } .ini-d-w b { color: #5B6F86; }
/* historias: la foto o el vídeo ocupan la tarjeta entera */
.ini-sv-stage img.ini-sv-img, .ini-sv-stage video.ini-sv-vid { object-fit: cover !important; width: 100%; height: 100%; }
.ini-sv-stage .ini-sv-bgimg { display: none; }

/* ═══ Publicación · mosaico de fotos, ubicación, contador y acciones con texto ═══ */
.ini-media.mosaic { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1.2fr 1fr; height: 340px; gap: 6px; border-radius: 16px; }
.ini-media.mosaic .ini-tile:first-child { grid-row: span 2; }
.ini-media.mosaic .ini-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.ini-media.mosaic .ini-tile:nth-child(3) { grid-column: 3; grid-row: 1; }
.ini-media.mosaic .ini-tile:nth-child(4) { grid-column: 2; grid-row: 2; }
.ini-media.mosaic .ini-tile:nth-child(5) { grid-column: 3; grid-row: 2; }
.ini-media.mosaic .ini-more-n { inset: 0; right: auto; top: auto; width: 100%; height: 100%; border-radius: 0; background: rgba(0,0,0,.42); font-size: 28px; }
.ini-loc { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; background: rgba(10,25,45,.55); backdrop-filter: blur(8px); color: #fff; font: 700 13px Lato, Arial, sans-serif; padding: 6px 12px; border-radius: 99px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ini-cnt-img { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(10,25,45,.6); backdrop-filter: blur(8px); color: #fff; font: 700 12.5px Lato, Arial, sans-serif; padding: 4px 10px; border-radius: 99px; }
.ini-acts-r .ini-act:has(.ini-lbl) { display: inline-flex; align-items: center; gap: 7px; width: auto; padding: 0 10px; }
.ini-lbl { font: 700 13.5px Lato, Arial, sans-serif; color: #3d5470; }
.ini-g.vw .ini-act { pointer-events: none; }
.ini-open .pfx-pop { border-radius: 22px; }
.ini-open .ini-ph .pfx-avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #EBB72A; border-radius: 50%; }
@media (max-width: 720px) { .ini-lbl { display: none; } .ini-media.mosaic { height: 260px; } }
.ini-g.vw { display: inline-flex; align-items: center; } .ini-g.vw .ini-cnt { position: static; transform: none; vertical-align: baseline; line-height: 1; }
.ini-media.mosaic .ini-tile::after { width: 74%; }
.ini-g.vw .ini-cnt { display: inline-flex; align-items: center; height: 32px; }

/* ═════ Mi Diario: tarjeta propia fija con la foto de perfil ═════ */
.ini-sbar-wrap.has-own { display: flex; align-items: flex-start; gap: 10px; } .ini-sbar-own { flex: 0 0 auto; padding: 4px 0 8px 2px; } .ini-sbar-wrap.has-own .ini-sbar-row { flex: 1 1 auto; min-width: 0; padding-left: 4px; }
.ini-sbar-wrap.has-own .ini-sb-nav.prev { left: 118px; }
.ini-st.me .ini-st-me-av { background: linear-gradient(160deg, #e9f1fa, #cfe0f1); }
.ini-st.me .ini-st-me-av .pfx-avatar { width: 84px !important; height: 84px !important; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(15,54,84,.25); }
.ini-st.me:hover .ini-st-card { transform: none; }

/* ═════ «Subir una historia» (plantilla) ═════ */
.ini-su2 .pfx-popup-body, .ini-su2 .pfx-pop-body { padding: 0 !important; }
.ini-su2 .pfx-popup, .ini-su2.pfx-popup { border-radius: 28px; overflow: hidden; }
.ini-su2-box { position: relative; padding: 22px 22px 24px; background: linear-gradient(180deg, #eef5fd 0, #fff 190px); font-family: Lato, Arial, sans-serif; }
.ini-su2-x { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #154C82; font-size: 20px; cursor: pointer; z-index: 3; box-shadow: 0 4px 14px rgba(21,76,130,.15); }
.ini-su2-head { position: relative; display: flex; align-items: center; gap: 18px; min-height: 96px; padding-right: 230px; }
.ini-su2-crown { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(160deg, #FFF3D1, #FDE9B0); color: #F0C12C; font-size: 30px; box-shadow: 0 6px 18px rgba(240,193,44,.3); }
.ini-su2-head h2 { margin: 0; font: 800 30px/1.1 Lato, Arial, sans-serif; color: #0d2a4a; } .ini-su2-head p { margin: 4px 0 0; color: #5B6F86; font-size: 16px; }
.ini-su2-polas { position: absolute; right: 56px; top: -6px; width: 200px; height: 120px; pointer-events: none; }
.ini-su2-polas i { position: absolute; width: 104px; height: 84px; background-size: cover; background-position: center; border: 5px solid #fff; border-bottom-width: 14px; border-radius: 6px; box-shadow: 0 8px 18px rgba(15,54,84,.25); }
.ini-su2-polas i:nth-child(1) { left: 10px; top: 4px; transform: rotate(-6deg); } .ini-su2-polas i:nth-child(2) { left: 80px; top: 24px; transform: rotate(5deg); }
.ini-su2-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 16px; }
.ini-su2-pills span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; background: var(--ice, #fff); color: #154C82; font-weight: 700; font-size: 15px; box-shadow: 0 2px 12px rgba(21,76,130,.1); } .ini-su2-pills i { color: #1b6fc2; }
.ini-su2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ini-su2-opt { position: relative; display: grid; gap: 6px; text-align: left; padding: 0 0 14px; border: 1px solid #e3ebf6; border-radius: 22px; overflow: hidden; cursor: pointer; font-family: inherit; background: #f5f8fe; box-shadow: 0 6px 18px rgba(21,76,130,.08); transition: transform .15s, box-shadow .15s; }
.ini-su2-opt:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21,76,130,.16); }
.ini-su2-opt.v { background: linear-gradient(#f4f8ff, #f8faff); } .ini-su2-opt.p { background: linear-gradient(#fbf3fb, #faf6fd); } .ini-su2-opt.cv { background: linear-gradient(#f3f0ff, #f8f5ff); } .ini-su2-opt.cp { background: linear-gradient(#fff6e4, #fffaf0); }
.ini-su2-img { position: relative; display: block; height: 150px; background-size: cover; background-position: center 30%; border-radius: 0 0 50% 50% / 0 0 22px 22px; margin-bottom: 40px; }
.ini-su2-opt.v .ini-su2-img::before, .ini-su2-opt.p .ini-su2-img::before, .ini-su2-opt.cv .ini-su2-img::before, .ini-su2-opt.cp .ini-su2-img::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ini-su2-opt.p .ini-su2-img::before { background: linear-gradient(180deg, rgba(255, 199, 46,.28), rgba(120,90,220,.18)); } .ini-su2-opt.cv .ini-su2-img::before { background: linear-gradient(180deg, rgba(130,70,220,.35), rgba(70,40,160,.2)); } .ini-su2-opt.cp .ini-su2-img::before { background: linear-gradient(180deg, rgba(255,190,90,.3), rgba(200,120,30,.18)); } .ini-su2-opt.v .ini-su2-img::before { background: linear-gradient(180deg, rgba(40,110,200,.2), rgba(10,60,140,.15)); }
.ini-su2-ic { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); width: 72px; height: 72px; border-radius: 50%; background: var(--ice, #fff); color: #154C82; display: grid; place-items: center; font-size: 30px; box-shadow: 0 8px 22px rgba(21,76,130,.22); }
.ini-su2-ic em { position: absolute; right: -8px; top: -4px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(160deg, #FADA6A, #F0C12C); color: #fff; font-size: 12px; display: grid; place-items: center; font-style: normal; box-shadow: 0 3px 8px rgba(240,193,44,.5); }
.ini-su2-t { display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 20px; } .ini-su2-t b { flex: 1; text-align: center; font: 800 22px Lato, Arial, sans-serif; color: #0d2a4a; margin-left: 20px; } .ini-su2-t i { color: #154C82; font-size: 18px; width: 20px; }
.ini-su2-opt > small { text-align: center; color: #5B6F86; font-size: 15px; }
.ini-su2-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 12px 0; } .ini-su2-chips span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; background: rgba(21,76,130,.08); color: #154C82; font-size: 13.5px; font-weight: 600; } .ini-su2-opt.cp .ini-su2-chips span { background: rgba(240,193,44,.18); } .ini-su2-opt.cv .ini-su2-chips span { background: rgba(120,90,220,.1); } .ini-su2-chips i { color: #154C82; }
.ini-su2-chips .hd { background: #154C82; color: #fff; font-size: 10px; border-radius: 4px; padding: 1px 4px; line-height: 1.2; }
@media (max-width: 720px) { .ini-su2-head { padding-right: 56px; } .ini-su2-polas { display: none; } .ini-su2-grid { grid-template-columns: minmax(0, 1fr); } .ini-su2-head h2 { font-size: 24px; } }
/* ajuste de altura y chips de «Subir una historia» */
.ini-su2-img { height: 118px; margin-bottom: 38px; } .ini-su2-ic { width: 66px; height: 66px; font-size: 27px; bottom: -32px; }
.ini-su2-t b { font-size: 20px; } .ini-su2-opt > small { font-size: 14px; }
.ini-su2-chips { gap: 6px; padding: 4px 8px 0; } .ini-su2-chips span { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 5px; white-space: nowrap; }
.ini-su2-box { padding: 18px 20px 20px; } .ini-su2-pills { margin: 6px 0 12px; } .ini-su2-pills span { height: 40px; font-size: 14px; }

/* ═════ Pantallas de dentro de «Subir una historia»: mismo estilo ═════ */
.ini-pm.is-story .pfx-pop, .pfx-pop.ini-pm.is-story { border-radius: 28px; overflow: hidden; }
.ini-pm.is-story .pfx-pop-head { background: linear-gradient(180deg, #eef5fd, #fff); border-bottom: 0; padding: 20px 22px 8px; }
.ini-pm.is-story .pfx-pop-icon { width: 52px; height: 52px; border-radius: 17px; background: linear-gradient(160deg, #FFF3D1, #FDE9B0); color: #F0C12C; font-size: 24px; box-shadow: 0 6px 18px rgba(240,193,44,.3); }
.ini-pm.is-story .pfx-pop-title, .ini-pm.is-story .pfx-pop-head h2, .ini-pm.is-story .pfx-pop-head h3 { font: 800 24px Lato, Arial, sans-serif; color: #0d2a4a; }
.ini-pm.is-story .ini-pm-media { border-radius: 20px !important; border-color: #e3ebf6 !important; background: linear-gradient(#f5f9ff, #fbfcff) !important; }
.ini-pm.is-story .ini-slot { border-radius: 16px; } .ini-pm.is-story .ini-st2-chip, .ini-pm.is-story .ini-st2-det { border-radius: 99px; }
.ini-pm.is-story .ini-st2-det { border-radius: 16px; } .ini-pm.is-story .ini-st2-pub { border-radius: 16px; background: linear-gradient(135deg, #1b6fc2, #154C82); box-shadow: 0 8px 20px rgba(21,76,130,.3); }
.ini-pm.is-story .ini-st2-frame { border-radius: 26px; }
.ini-pm.is-story textarea.ini-pm-text { border-radius: 18px; }
/* banners exactos de la plantilla (incluyen el icono y la corona) */
.ini-su2-img { height: auto; aspect-ratio: 553 / 219; margin-bottom: 4px; background-size: 100% 100%; background-position: center; border-radius: 0; }
.ini-su2-img::before { display: none !important; }

/* banderas del selector de idioma: tamaño fijo (no se estiran en la lista) */
.i18n-menu .pfx-menu-item .i18n-flag { flex: 0 0 24px !important; width: 24px !important; min-width: 24px; max-width: 24px; height: 16px !important; }
.i18n-menu .pfx-menu-item .i18n-opt-name { flex: 1 1 auto; text-align: start; }

/* ═════ «Mis diamantes» (plantilla, versión compacta: cabe entera en un portátil de 1366×768 y en el móvil sin apenas desplazarse) ═════ */
.dm-pop .pfx-pop { width: min(780px, 100%); max-width: none; border-radius: 24px; overflow: hidden; } .dm-pop .pfx-pop-body { padding: 0 !important; overscroll-behavior: contain; }
.dm { font-family: Lato, Arial, sans-serif; color: #0d2a4a; background: var(--ice, #fff); padding: 0 22px 18px; }
.dm-hd { display: flex; align-items: center; gap: 14px; margin: 0 -22px; padding: 14px 18px 12px 22px; background: linear-gradient(90deg, #fff 35%, #eef5ff); border-bottom: 1px solid #eef2f8; }
.dm-emb { height: 46px; width: auto; flex: 0 0 auto; }
.dm-ht { flex: 1; min-width: 0; } .dm-ht h2 { margin: 0; font: 800 22px/1.15 Lato, Arial, sans-serif; color: #0d2a4a; } .dm-ht p { margin: 2px 0 0; color: #5B6F86; font-size: 13.5px; line-height: 1.35; }
.dm-x { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f0f4fa; color: #3b4a60; font-size: 17px; cursor: pointer; display: grid; place-items: center; } .dm-x:hover { background: #e3eaf4; }
.dm-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dm-sum > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 9px 12px; border-radius: 14px; border: 1px solid #d9e6f7; background: linear-gradient(160deg, #f4f9ff, #e9f2fc); }
.dm-sum i { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 11px; background: var(--ice, #fff); display: grid; place-items: center; color: #1b6fc2; font-size: 17px; box-shadow: 0 2px 6px rgba(21,76,130,.12); }
.dm-sum span { font-size: 12px; line-height: 1.2; color: #3b5270; } .dm-sum b { font-size: 22px; line-height: 1.1; color: #0d2a4a; font-variant-numeric: tabular-nums; }
.dm-sum .g { background: linear-gradient(160deg, #f8f2ff, #f0e8fb); border-color: #e4d8f5; } .dm-sum .g i { color: #6a3df0; }
.dm-sum .t { background: linear-gradient(160deg, #154C82, #0a3466); border-color: transparent; } .dm-sum .t span, .dm-sum .t b { color: #fff; } .dm-sum .t i { background: rgba(255,255,255,.12); color: #F0C12C; box-shadow: none; }
.dm-info { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #f2f7fe; font-size: 12px; line-height: 1.45; color: #3b5270; } .dm-info > i { color: #1b6fc2; font-size: 14px; margin-top: 1px; flex: 0 0 auto; } .dm-info b { color: #154C82; }
.dm-h { margin: 14px 0 8px; font: 800 16px Lato, Arial, sans-serif; color: #0d2a4a; }
.dm-h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .dm-secure { color: #5B6F86; font-size: 12.5px; white-space: nowrap; } .dm-secure i { color: #23935A; margin-right: 4px; }
.dm-packs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding-top: 6px; }
.dm-pack { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; padding: 10px 4px 9px; border: 1.5px solid #e3ebf6; background: var(--ice, #fff); border-radius: 14px; cursor: pointer; font-family: inherit; color: inherit; transition: box-shadow .15s, border-color .15s; }
.dm-pack:hover { border-color: #9cc0e0; box-shadow: 0 4px 14px rgba(21,76,130,.12); }
.dm-pack.on { border-color: #f0a21d; background: linear-gradient(#fffaf0, #fff6e2); box-shadow: 0 0 0 1px #f0a21d, 0 6px 16px rgba(240,162,29,.22); }
.dm-pack img { height: 40px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 2px; }
.dm-pack b { font-size: 17px; font-weight: 800; color: #0d2a4a; white-space: nowrap; } .dm-pack b i { color: #1b8fe8; font-size: 13px; margin-right: 2px; }
.dm-pack .pr { font-size: 14.5px; font-weight: 700; color: #5B6F86; } .dm-pack.on .pr { color: #c4620f; }
.dm-pack .ex { min-width: 80%; padding: 2px 6px; border-radius: 7px; font-size: 11.5px; font-weight: 800; text-align: center; line-height: 16px; } .dm-pack .ex.none { visibility: hidden; }
.dm-pack .ex.x1 { background: #fde7bd; color: #c0670c; } .dm-pack .ex.x2 { background: #d9eefc; color: #1a79b8; } .dm-pack .ex.x3 { background: #e9ddfb; color: #7a3fd6; } .dm-pack .ex.x4 { background: #fcdcdc; color: #d23d3d; }
.dm-pack .pd { color: #6a7f97; font-size: 11px; font-weight: 700; }
.dm-pack .pop { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 99px; background: linear-gradient(180deg, #f8d56a, #e8a91c); color: #3b2a00; font: 800 10.5px/14px Lato, Arial, sans-serif; font-style: normal; white-space: nowrap; box-shadow: 0 2px 6px rgba(232,169,28,.35); }
.dm-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dm-m { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border: 1.5px solid #e3ebf6; border-radius: 14px; background: var(--ice, #fff); cursor: pointer; }
.dm-m.on { border-color: #154C82; box-shadow: 0 0 0 1px #154C82, 0 0 0 4px rgba(21,76,130,.08); }
.dm-m input { position: absolute; opacity: 0; pointer-events: none; }
.dm-m .rd { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b7c4d4; background: var(--ice, #fff); display: grid; place-items: center; } .dm-m.on .rd { border-color: #154C82; } .dm-m.on .rd::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #154C82; }
.dm-m > img { height: 30px; width: auto; flex: 0 0 auto; }
.dm-m .tx { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1; min-width: 0; } .dm-m .tx b { font-size: 15px; color: #0d2a4a; } .dm-m .tx small { font-size: 12.5px; color: #5B6F86; }
.dm-m em { font-style: normal; padding: 2px 9px; border-radius: 99px; background: #3fb98f; color: #fff; font-weight: 700; font-size: 11px; line-height: 16px; }
.dm-m .dm-cards { height: 18px; width: auto; max-width: 100%; border-radius: 4px; }
.dm-auto { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 9px 12px; border: 1px solid #e1e9f3; border-radius: 12px; background: #f8fafd; font-size: 12px; line-height: 1.45; color: #4a5d75; cursor: pointer; }
.dm-auto input { width: 17px; height: 17px; accent-color: #154C82; flex: 0 0 auto; margin: 1px 0 0; } .dm-auto b { color: #154C82; }
.dm-foot { display: flex; align-items: center; gap: 12px; margin: 14px -22px 0; padding: 14px 22px 0; border-top: 1px solid #eef2f8; }
.dm-terms { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.35; color: #3b4a60; cursor: pointer; } .dm-terms input { width: 18px; height: 18px; accent-color: #154C82; flex: 0 0 auto; margin: 0; } .dm-terms a { color: #154C82; text-decoration: underline; }
.dm-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.dm-buy { height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #f8d56a, #e8a91c); color: #1c2733; font: 800 15.5px Lato, Arial, sans-serif; cursor: pointer; box-shadow: 0 6px 14px rgba(232,169,28,.35); white-space: nowrap; } .dm-buy .am::before { content: '·'; margin: 0 7px; opacity: .6; } .dm-buy:disabled { opacity: .6; cursor: default; }
.dm-close { height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid #c9dcf0; background: var(--ice, #fff); color: #154C82; font: 800 15px Lato, Arial, sans-serif; cursor: pointer; } .dm-close:hover { background: #f4f8fd; }
@media (max-width: 720px) {
  .dm { padding: 0 14px 14px; } .dm-hd { margin: 0 -14px; padding: 12px 12px 10px 14px; gap: 10px; } .dm-emb { height: 38px; } .dm-ht h2 { font-size: 19px; } .dm-ht p { font-size: 12.5px; }
  .dm-sum { gap: 6px; margin-top: 10px; } .dm-sum > div { grid-template-columns: minmax(0, 1fr); align-content: space-between; padding: 7px 9px; row-gap: 1px; } .dm-sum i { display: none; } .dm-sum span { font-size: 11px; } .dm-sum b { font-size: 18px; }
  .dm-info { font-size: 11.5px; padding: 7px 10px; }
  .dm-h { margin: 12px 0 6px; font-size: 15px; }
  .dm-packs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -14px; padding: 9px 14px 4px; scroll-padding: 0 14px; scrollbar-width: none; } .dm-packs::-webkit-scrollbar { display: none; }
  .dm-pack { flex: 0 0 30%; scroll-snap-align: start; }
  .dm-pay { gap: 8px; } .dm-m { min-height: 54px; gap: 8px; padding: 7px 10px; } .dm-m .rd { width: 18px; height: 18px; } .dm-m.on .rd::after { width: 8px; height: 8px; } .dm-m > img { height: 24px; } .dm-m .tx { gap: 3px 8px; } .dm-m .tx b { font-size: 14.5px; } .dm-m em { font-size: 10.5px; padding: 1px 8px; } .dm-m .dm-cards { height: auto; width: 100%; max-width: 112px; }
  .dm-auto { font-size: 11.5px; padding: 8px 10px; }
  .dm-foot { flex-wrap: wrap; margin: 12px -14px 0; padding: 10px 14px 0; gap: 10px; } .dm-terms { flex-basis: 100%; } .dm-btns { flex: 1 1 100%; } .dm-buy { flex: 1; min-width: 0; padding: 0 12px; }
}
@media (max-width: 560px) { .dm-pop .pfx-pop { border-radius: 22px 22px 0 0; } }

/* Sesión por minuto */
.smn p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; color: #1d2b3f; } .smn p b { color: #154C82; } .smn .smn-sub { font-size: 14px; color: #5b6b82; }
#tar-sv-now.on .tar-bar i { color: #F0C12C; }
/* Aviso fijo «disponible ahora» */
#smn-live { position: fixed; left: 50%; transform: translateX(-50%); top: 78px; z-index: 900; display: flex; align-items: center; gap: 12px; max-width: min(760px, calc(100vw - 24px)); padding: 10px 12px 10px 16px; border-radius: 999px; background: linear-gradient(90deg, #154C82, #1d5fa3); color: #fff; box-shadow: 0 8px 24px rgba(21,76,130,.35); font-size: 14.5px; }
#smn-live .smn-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: smnPulse 1.8s infinite; flex: 0 0 auto; }
#smn-live .smn-tx { flex: 1; min-width: 0; line-height: 1.3; } #smn-live .smn-tx b { color: #F0C12C; }
#smn-live .smn-go { border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; background: linear-gradient(180deg, #F0C12C, #B18937); color: #1d2b3f; cursor: pointer; white-space: nowrap; }
#smn-live .smn-x { border: 0; background: transparent; color: #fff; opacity: .8; cursor: pointer; padding: 6px 8px; }
@keyframes smnPulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (max-width: 720px) { #smn-live { top: auto; bottom: 76px; border-radius: 16px; font-size: 13.5px; } }
#smn-live .smn-av, #smn-in .smn-av { border: 2px solid #F0C12C; flex: 0 0 auto; } #smn-live .smn-tx { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#smn-in { position: fixed; left: 50%; transform: translateX(-50%); top: 78px; z-index: 910; display: flex; align-items: center; gap: 12px; max-width: min(760px, calc(100vw - 24px)); padding: 8px 12px 8px 12px; border-radius: 999px; background: linear-gradient(90deg, #31497A, #EBB72A); color: #fff; box-shadow: 0 8px 24px rgba(48, 72, 120,.4); font-size: 14.5px; }
#smn-in .smn-tx { flex: 1; min-width: 0; } #smn-in .smn-go { border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 700; background: linear-gradient(180deg, #F0C12C, #B18937); color: #1d2b3f; cursor: pointer; }
#smn-in .smn-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #F0C12C; margin-right: 8px; animation: smnPulse 1.4s infinite; } .smn-av-stack { display: flex; } .smn-av-stack .smn-av { margin-left: -10px; } .smn-av-stack .smn-av:first-child { margin-left: 0; }
html.smn-in-on #smn-live { top: 132px; }
.smn-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f8; } .smn-rw { flex: 1; min-width: 0; } .smn-rw small { display: block; color: #5b6b82; } .smn-bd { font-size: 11px; background: #fff4d1; color: #8a6a12; padding: 2px 8px; border-radius: 999px; }
@media (max-width: 720px) { #smn-in { top: auto; bottom: 76px; border-radius: 16px; } html.smn-in-on #smn-live { top: auto; bottom: 146px; } }

/* ── Aviso fijo y solicitudes (diseño oficial: azul noche + dorado) ── */
#smn-live, #smn-in { top: 76px; width: min(900px, calc(100vw - 24px)); max-width: none; gap: 14px; padding: 10px 14px 10px 18px; border-radius: 22px; color: #fff; font-size: 15px;
  background: linear-gradient(180deg, #0f2f57 0%, #0a2342 100%); border: 1.5px solid #F0C12C; box-shadow: 0 0 0 1px rgba(240,193,44,.25), 0 10px 30px rgba(5,20,45,.55), 0 0 28px rgba(240,193,44,.28); }
#smn-live .smn-emb, #smn-in .smn-emb { height: 52px; width: auto; flex: 0 0 auto; } #smn-live .smn-wm, #smn-in .smn-wm { height: 26px; width: auto; flex: 0 0 auto; }
#smn-live .smn-sep, #smn-in .smn-sep { width: 1px; align-self: stretch; margin: 4px 2px; background: rgba(255,255,255,.28); flex: 0 0 auto; }
#smn-in .smn-ic { font-size: 30px; color: #F0C12C; flex: 0 0 auto; }
#smn-live .smn-tx, #smn-in .smn-tx { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; line-height: 1.25; } #smn-live .smn-tx b, #smn-in .smn-tx b { color: #fff; font-size: 16px; } #smn-live .smn-tx small, #smn-in .smn-tx small { color: rgba(255,255,255,.72); font-size: 14px; }
#smn-live .smn-go, #smn-in .smn-go { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: 15.5px; color: #1d2b3f; background: linear-gradient(180deg, #F7D55C, #E0A81F); box-shadow: 0 4px 14px rgba(240,193,44,.4); cursor: pointer; white-space: nowrap; } 
#smn-live .smn-x, #smn-in .smn-x { border: 0; background: transparent; color: rgba(255,255,255,.7); font-size: 16px; padding: 6px; cursor: pointer; }
#smn-live .smn-av { border: 2px solid #F0C12C; }
html.smn-in-on #smn-live { top: 148px; }
@media (max-width: 720px) { #smn-live .smn-wm, #smn-in .smn-wm, #smn-live .smn-sep, #smn-in .smn-sep { display: none; } #smn-live, #smn-in { top: auto; bottom: 76px; padding: 10px 12px; } html.smn-in-on #smn-live { top: auto; bottom: 156px; } #smn-live .smn-emb, #smn-in .smn-emb { height: 40px; } }

.smn-big .pfx-pop { max-width: 680px; width: calc(100vw - 24px); border-radius: 26px; overflow: hidden; } .smn-big .pfx-pop-body { padding: 0 !important; max-height: calc(100vh - 40px); overflow-y: auto; } .smn-big .smn-top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid #eef2f8; }
.smn-emb2 { height: 54px; width: auto; } .smn-wm2 { height: 30px; width: auto; flex: 1; object-fit: contain; object-position: left; max-width: 230px; }
.smn-x2 { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #eef3fa; color: #154C82; font-size: 18px; cursor: pointer; }
.smn-ttl { display: flex; align-items: center; gap: 16px; padding: 22px 24px 8px; } .smn-bolt { width: 56px; height: 56px; border-radius: 16px; background: #e9f1fb; color: #154C82; display: grid; place-items: center; font-size: 24px; flex: 0 0 auto; }
.smn-ttl h2 { margin: 0; font-size: 23px; color: #0f2f57; } .smn-ttl p { margin: 4px 0 0; color: #5b6b82; font-size: 14.5px; }
.smn-rows { padding: 6px 24px 4px; } .smn-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eef2f8; } .smn-row:last-child { border-bottom: 0; }
.smn-rw { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .smn-nm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .smn-nm b { font-size: 18px; color: #0f2f57; }
.smn-rw small { color: #5b6b82; font-size: 14px; } .smn-rw small i { color: #154C82; margin: 0 2px; } .smn-pr { color: #0f2f57 !important; font-weight: 600; } .smn-pr i { color: #2a8bf2 !important; } .smn-dotsep { opacity: .6; }
.smn-bd { background: #fff2cc; color: #8a6a12; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; } .smn-bd i { color: #E0A81F; }
.smn-ok { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #154C82, #0f3a66); color: #fff; font-weight: 800; font-size: 15.5px; cursor: pointer; box-shadow: 0 4px 12px rgba(21,76,130,.35); }
.smn-no { height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid #cdd8e8; background: var(--ice, #fff); color: #154C82; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.smn-foot { padding: 14px 24px 22px; border-top: 1px solid #eef2f8; display: flex; justify-content: flex-end; } .smn-cl { height: 46px; padding: 0 30px; border-radius: 12px; border: 1px solid #cdd8e8; background: var(--ice, #fff); color: #154C82; font-weight: 700; font-size: 15.5px; cursor: pointer; }
@media (max-width: 720px) { .smn-row { flex-wrap: wrap; } .smn-rw { flex-basis: calc(100% - 80px); } .smn-ok, .smn-no { flex: 1; } }

/* ── Solicitud «Empezar ahora» (plantilla) ── */
.smn-req .pfx-pop { max-width: 920px; width: calc(100vw - 24px); border-radius: 26px; overflow: hidden; } .smn-req .pfx-pop-body { padding: 0 !important; max-height: calc(100vh - 30px); overflow-y: auto; }
.smnr-top { position: relative; display: flex; align-items: center; gap: 20px; height: 112px; padding: 0 30px; background: radial-gradient(120% 220% at 85% 120%, rgba(240,193,44,.22), transparent 55%), linear-gradient(100deg, #0d3466 0%, #154C82 55%, #1a5a9c 100%); }
.smnr-top::after { content: ''; position: absolute; inset: auto 0 18px 40%; height: 42px; border-top: 1px solid rgba(240,193,44,.55); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-4deg); pointer-events: none; opacity: .7; }
.smnr-emb { height: 78px; width: auto; } .smnr-wm { height: 38px; width: auto; }
.smnr-x { margin-left: auto; width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; z-index: 1; }
.smnr-in { padding: 24px 30px 30px; } .smnr-ttl { display: flex; align-items: center; gap: 20px; } .smnr-ic { width: 76px; height: 76px; border-radius: 18px; background: #e7f0fb; color: #154C82; display: grid; place-items: center; font-size: 32px; flex: 0 0 auto; }
.smnr-ttl h2 { margin: 0; font-size: 30px; color: #0f2f57; } .smnr-ttl p { margin: 4px 0 0; color: #5b6b82; font-size: 19px; } .smnr-ttl > div { flex: 1; min-width: 0; }
.smnr-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: #dff5e7; color: #0f8a3e; font-weight: 700; font-size: 17px; white-space: nowrap; } .smnr-pill i { width: 12px; height: 12px; border-radius: 50%; background: #17a34a; }
.smnr-calc { display: flex; align-items: stretch; gap: 14px; margin: 22px 0 14px; padding: 12px; border-radius: 16px; background: #eaf2fc; } .smnr-gem { display: grid; place-items: center; font-size: 46px; color: #2a8bf2; padding: 0 8px; }
.smnr-calc small { display: block; color: #3b4a60; font-size: 15.5px; } .smnr-calc b { display: block; font-size: 38px; color: #0f2f57; line-height: 1.15; } .smnr-calc b em { font-style: normal; font-size: 24px; } .smnr-calc span { color: #3b4a60; font-size: 17px; }
.smnr-c1 { flex: 1.3; padding: 8px 4px; } .smnr-c2 { flex: 1.15; padding: 8px 14px; border-radius: 14px; border: 1px solid #d6e3f4; background: #f4f8fe; } .smnr-c2 b { font-size: 28px; }
.smnr-c3 { flex: 1.2; padding: 8px 18px; border-radius: 14px; border: 2px solid #F0C12C; background: #fdf0cf; } .smnr-c3 b { color: #5a3b00; }
.smnr-op { align-self: center; font-size: 30px !important; color: #154C82 !important; font-weight: 700; } .smn-g { color: #2a8bf2; font-size: .8em; }
.smnr-i { border: 0; background: transparent; color: #154C82; font-size: 18px; cursor: pointer; padding: 0 4px; }
.smnr-p1 { margin: 14px 0 8px; font-size: 17px; color: #0f2f57; } .smnr-p2 { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: #5b6b82; }
.smnr-bal { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; background: #eef4fc; border: 1px solid #d9e6f6; } .smnr-bg { font-size: 40px; color: #2a8bf2; } .smnr-bal small { display: block; color: #3b4a60; font-size: 16px; } .smnr-bal b { font-size: 28px; color: #0f2f57; }
.smnr-vl { width: 1px; align-self: stretch; background: #cdd8e8; margin: 0 10px; } .smnr-sh { font-size: 34px; color: #154C82; } .smnr-bal > div:last-child b { font-size: 20px; }
.smnr-btns { display: grid; grid-template-columns: 1.35fr 1.35fr .65fr; gap: 20px; margin-top: 26px; }
.smnr-btns button { display: flex; align-items: center; gap: 16px; height: 106px; padding: 0 26px; border-radius: 16px; font-size: 24px; font-weight: 800; cursor: pointer; text-align: left; }
.smnr-go { border: 0; background: linear-gradient(180deg, #F7D55C, #E0A81F); color: #1d2b3f; box-shadow: 0 8px 20px rgba(224,168,31,.4); } .smnr-go small { font-size: 18px; font-weight: 700; } .smnr-go > i:first-child { font-size: 34px; } .smnr-ch { margin-left: auto; font-size: 20px; }
.smnr-sc { border: 2px solid #cdd8e8; background: var(--ice, #fff); color: #0f2f57; } .smnr-sc > i:first-child { font-size: 32px; color: #154C82; }
.smnr-cl { justify-content: center; border: 2px solid #cdd8e8; background: var(--ice, #fff); color: #154C82; }
@media (max-width: 760px) { .smnr-calc { flex-wrap: wrap; } .smnr-btns { grid-template-columns: minmax(0, 1fr); } .smnr-btns button { height: 74px; font-size: 19px; } .smnr-ttl h2 { font-size: 22px; } .smnr-pill { display: none; } .smnr-top { height: 84px; } .smnr-emb { height: 56px; } .smnr-wm { height: 28px; } }
/* Los avisos fijos quedan por debajo de las ventanas */
#smn-live { z-index: 300; } #smn-in { z-index: 305; }
.smnr-c3 b { font-size: 31px; white-space: nowrap; } .smnr-c3 b em { font-size: 20px; } .smnr-btns button { font-size: 21px; } .smnr-btns { grid-template-columns: 1.3fr 1.5fr .6fr; }
.smnr-auto { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 16px 20px; border-radius: 14px; border: 2px solid #F0C12C; background: #fff8e1; cursor: pointer; }
.smnr-asw { position: relative; width: 62px; height: 34px; flex: 0 0 auto; } .smnr-asw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.smnr-asw i { position: absolute; inset: 0; border-radius: 999px; background: #c5cfdd; transition: .2s; } .smnr-asw i::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--ice, #fff); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: .2s; }
.smnr-asw input:checked + i { background: #154C82; } .smnr-asw input:checked + i::after { left: 32px; }
.smnr-at { flex: 1; } .smnr-at b { display: block; font-size: 19px; color: #0f2f57; } .smnr-at small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: #5b6b82; } .smnr-ab { font-size: 26px; color: #E0A81F; }

/* ── Cabecera (escritorio): accesos centrados en la página —sobre la foto redonda del perfil—, búsqueda como lupa a la derecha y
 *    globos rojos en la esquina del icono, sin taparlo. ── */
.pfx-topbar .top-main { display: flex; align-items: center; gap: inherit; }
.pfx-topbar .top-search { display: none; }
.pfx-topbar .top-action > [data-pfx-badge] { position: absolute; inset: 0; pointer-events: none; }   /* fuera del flujo: no descoloca icono ni texto */
@media (min-width: 1001px) {
  .pfx-topbar .topbar-inner { position: relative; grid-template-columns: 178px minmax(0, 1fr) !important; }
  .pfx-topbar .search.pfx-search-btn { display: none !important; }
  .pfx-topbar .top-actions { position: static !important; justify-content: flex-end !important; }
  .pfx-topbar .top-main { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); gap: 4px; z-index: 1; }
  .pfx-topbar .top-main > .top-action:first-child { margin-left: 0; }
  .pfx-topbar .top-search { display: grid !important; margin-left: auto; font-size: 19px; }
  .pfx-topbar .top-actions > .header-divider { margin-left: 8px !important; }
  .pfx-topbar .top-action .badge { top: 9px !important; left: calc(50% + 9px) !important; right: auto !important; }
}
@media (min-width: 1001px) and (max-width: 1199px) {
  .pfx-topbar .topbar-inner { grid-template-columns: 150px minmax(0, 1fr) !important; }
  .pfx-topbar .top-main { gap: 0; }
}
@media (min-width: 721px) and (max-width: 1000px) { .pfx-topbar .top-action .badge { left: calc(50% + 8px) !important; right: auto !important; top: 2px !important; } }
.dm-h .dm-rate { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff4d6; color: #9a6a05; font-size: 12px; font-weight: 800; vertical-align: 2px; }
.dm-fee { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 6px; margin: 10px 2px 0; font-size: 13px; color: #5B6F86; }
.dm-fee:empty { display: none; } .dm-fee b { color: #0d2a4a; font-weight: 800; } .dm-fee .sep { color: #9AAABD; font-weight: 700; } .dm-fee b.tot { color: #b8860b; font-size: 15px; }
@media (max-width: 720px) { .dm-fee { justify-content: flex-start; font-size: 12.5px; } }
