:root { --pf-w: 1500px; }   /* ancho máximo de toda la web (cabecera, banner y páginas); a los lados queda el resto libre */
/* PrivilegeFans v33 · estilos del kit común (PFX). Mismos tokens que styles.css: azul Privilege #154C82, dorado #F0C12C. */
:root {
  --pfx-blue: #154C82; --pfx-blue-2: #0F3654; --pfx-gold: #F0C12C; --pfx-gold-2: #B18937;
  --pfx-ink: #10243d; --pfx-muted: #718096; --pfx-line: #e6ecf3; --pfx-bg: #f6f8fb;
  --pfx-ok: #159447; --pfx-bad: #e5484d; --pfx-warn: #d98b0b;
  --pfx-radius: 18px; --pfx-shadow: 0 25px 80px rgba(10, 34, 58, .28);
}
html.pfx-noscroll, html.pfx-noscroll body { overflow: hidden; }
#pfx-layer { position: relative; z-index: 400; font-family: Lato, Arial, sans-serif; color: var(--pfx-ink); }

/* ───── Ventana emergente (único diseño para toda la plataforma) ───── */
.pfx-pop-backdrop { position: fixed; inset: 0; background: rgba(5, 19, 34, .52); display: grid; place-items: center; padding: 18px; z-index: 410; backdrop-filter: blur(3px); animation: pfxFade .16s ease; overflow-y: auto; }
.pfx-pop-backdrop.closing { opacity: 0; transition: opacity .14s; }
.pfx-pop { width: min(540px, 100%); max-height: calc(100dvh - 36px); background: var(--ice, #fff); border-radius: var(--pfx-radius); box-shadow: var(--pfx-shadow); display: flex; flex-direction: column; overflow: hidden; animation: pfxPop .18s cubic-bezier(.2, .9, .3, 1.2); }
.pfx-pop.sm { width: min(420px, 100%); } .pfx-pop.lg { width: min(720px, 100%); } .pfx-pop.xl { width: min(980px, 100%); }
.pfx-pop-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--pfx-line); }
.pfx-pop-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eaf2fa; color: var(--pfx-blue); font-size: 17px; flex: 0 0 auto; }
.pfx-pop-titles { flex: 1; min-width: 0; } .pfx-pop-titles h3 { margin: 0; font-size: 18px; color: var(--pfx-blue-2); line-height: 1.2; } .pfx-pop-titles p { margin: 3px 0 0; color: var(--pfx-muted); font-size: 12.5px; }
.pfx-pop-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #55677d; flex: 0 0 auto; display: grid; place-items: center; }
.pfx-pop-x:hover { background: #e4ebf3; }
.pfx-pop-body { padding: 18px 20px; overflow-y: auto; flex: 1 1 auto; }
.pfx-pop-foot { padding: 12px 20px 16px; border-top: 1px solid var(--pfx-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pfx-pop-btns { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.pfx-pop.left .pfx-pop-body { text-align: left; }
.pfx-confirm .pfx-pop-body { padding: 26px 24px 8px; } .pfx-confirm .pfx-pop-foot { border-top: 0; justify-content: center; padding: 8px 20px 22px; } .pfx-confirm .pfx-pop-btns { margin: 0; justify-content: center; width: 100%; }
.pfx-confirm .pfx-pop-btns .pfx-btn { flex: 1 1 130px; max-width: 190px; }
.pfx-confirm-body { text-align: center; } .pfx-confirm-body h3 { margin: 6px 0 6px; font-size: 18px; color: var(--pfx-blue-2); } .pfx-confirm-body p { margin: 0 0 6px; color: #51657b; font-size: 13.5px; line-height: 1.5; }
.pfx-confirm-icon { width: 54px; height: 54px; border-radius: 50%; display: inline-grid; place-items: center; background: #eaf2fa; color: var(--pfx-blue); font-size: 22px; margin-bottom: 6px; }
.pfx-confirm-icon.danger { background: #fdecec; color: var(--pfx-bad); } .pfx-confirm-icon.success { background: #e7f6ed; color: var(--pfx-ok); } .pfx-confirm-icon.warn { background: #fff4de; color: var(--pfx-warn); }
@keyframes pfxFade { from { opacity: 0; } } @keyframes pfxPop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (max-width: 560px) { .pfx-pop-backdrop { align-items: end; padding: 0; } .pfx-pop { width: 100% !important; border-radius: 20px 20px 0 0; max-height: 92dvh; } .pfx-pop-btns { width: 100%; } .pfx-pop-btns .pfx-btn { flex: 1; } }

/* ───── Botones ───── */
.pfx-btn { border: 1px solid transparent; border-radius: 12px; min-height: 42px; padding: 0 18px; font-weight: 800; font-size: 13.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: filter .12s, transform .05s, background .12s; white-space: nowrap; }
.pfx-btn:active { transform: translateY(1px); } .pfx-btn:disabled { opacity: .55; cursor: not-allowed; }
.pfx-btn.primary { background: linear-gradient(135deg, #1b5d9f, var(--pfx-blue)); color: #fff; box-shadow: 0 6px 16px rgba(21, 76, 130, .22); } .pfx-btn.primary:hover:not(:disabled) { filter: brightness(1.07); }
.pfx-btn.gold { background: linear-gradient(135deg, #f6d46a, var(--pfx-gold)); color: #3a2a00; } .pfx-btn.gold:hover:not(:disabled) { filter: brightness(1.04); }
.pfx-btn.ghost { background: var(--ice, #fff); color: var(--pfx-blue); border-color: #cddbea; } .pfx-btn.ghost:hover:not(:disabled) { background: #f3f8fd; }
.pfx-btn.danger { background: var(--pfx-bad); color: #fff; } .pfx-btn.soft { background: #eaf2fa; color: var(--pfx-blue); }
.pfx-btn.sm { min-height: 34px; padding: 0 13px; font-size: 12.5px; border-radius: 10px; } .pfx-btn.block { width: 100%; }
.pfx-iconbtn { width: 38px; height: 38px; border: 0; background: transparent; color: #5d7189; border-radius: 50%; display: inline-grid; place-items: center; font-size: 17px; cursor: pointer; } .pfx-iconbtn:hover { background: #eef3f8; color: var(--pfx-blue); }
.pfx-link { color: var(--pfx-blue); font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; } .pfx-link:hover { text-decoration: underline; }
.pfx-userlink { font-weight: 800; color: var(--pfx-blue-2); } .pfx-userlink.is-privileged { color: var(--pfx-gold-2); } .pfx-userlink.is-creator { color: var(--pfx-bad); } .pfx-userlink:hover { text-decoration: underline; }

/* ───── Campos de formulario ───── */
.pfx-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; position: relative; }
.pfx-field > label { font-weight: 800; font-size: 12.5px; color: #26405c; } .pfx-req { color: var(--pfx-bad); }
.pfx-field input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), .pfx-field select, .pfx-field textarea, input.pfx-date, .pfx-input {
  border: 1px solid #dbe4ee; background: var(--ice, #fff); border-radius: 11px; padding: 11px 13px; min-height: 44px; outline: none; width: 100%; color: var(--pfx-ink); font-size: 14px; transition: border-color .12s, box-shadow .12s; }
.pfx-field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.pfx-field input:focus, .pfx-field select:focus, .pfx-field textarea:focus, input.pfx-date:focus, .pfx-input:focus { border-color: #6fa2cf; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.pfx-field.invalid input, .pfx-field.invalid select, .pfx-field.invalid textarea { border-color: var(--pfx-bad); background: #fffafa; }
.pfx-field small { color: var(--pfx-muted); font-size: 11.5px; } .pfx-err { margin: 0; color: var(--pfx-bad); font-size: 12px; min-height: 0; } .pfx-err:empty { display: none; }
.pfx-field select, select.pfx-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pfx-blue) 50%), linear-gradient(135deg, var(--pfx-blue) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; color: var(--pfx-blue); font-weight: 700; }
.pfx-field select option, select.pfx-input option { color: var(--pfx-blue); }
.pfx-row { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 12px; } @media (max-width: 560px) { .pfx-row { grid-template-columns: minmax(0, 1fr); } }
.pfx-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pfx-input-icon { position: relative; } .pfx-input-icon > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #7d8da1; pointer-events: none; } .pfx-input-icon > input { padding-left: 38px !important; }
input.pfx-date { cursor: pointer; background-image: none; }
.pfx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3c5069; line-height: 1.4; cursor: pointer; } .pfx-check input { margin-top: 3px; accent-color: var(--pfx-blue); width: 17px; height: 17px; flex: 0 0 auto; }

/* ───── Interruptor ───── */
.pfx-switch { position: relative; display: inline-block; width: 44px; height: 25px; flex: 0 0 auto; } .pfx-switch input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.pfx-switch span { position: absolute; inset: 0; background: #cdd8e4; border-radius: 99px; transition: .16s; } .pfx-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; background: var(--ice, #fff); border-radius: 50%; transition: .16s; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pfx-switch input:checked + span { background: var(--pfx-blue); } .pfx-switch input:checked + span::after { transform: translateX(19px); } .pfx-switch input:disabled + span { opacity: .5; }

/* ───── Menús, calendario, hora ───── */
.pfx-menus { position: fixed; inset: 0; pointer-events: none; z-index: 430; } .pfx-menus > * { pointer-events: auto; }
.pfx-menu { position: fixed; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 34, 58, .2); padding: 6px; min-width: 190px; max-height: 70dvh; overflow: auto; animation: pfxFade .12s; }
.pfx-menu-title { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; color: var(--pfx-muted); text-transform: uppercase; letter-spacing: .04em; }
.pfx-menu hr { border: 0; border-top: 1px solid var(--pfx-line); margin: 5px 4px; }
.pfx-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 10px 11px; border-radius: 9px; text-align: left; color: var(--pfx-ink); font-size: 13.5px; font-weight: 600; }
.pfx-menu-item i:first-child { width: 18px; text-align: center; color: var(--pfx-blue); } .pfx-menu-item:hover { background: #eef4fa; } .pfx-menu-item.danger { color: var(--pfx-bad); } .pfx-menu-item.danger i { color: var(--pfx-bad); }
.pfx-menu-item span { flex: 1; } .pfx-menu-check { color: var(--pfx-blue); } .pfx-menu-badge { background: var(--pfx-bad); color: #fff; border-radius: 99px; font-size: 10.5px; padding: 1px 7px; }
.pfx-datepicker { position: fixed; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 34, 58, .22); padding: 12px; animation: pfxFade .12s; }
.pfx-dp-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; } .pfx-dp-head > button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f6fb; color: var(--pfx-blue); }
.pfx-dp-head span { display: flex; gap: 6px; flex: 1; justify-content: center; } .pfx-dp-head select { border: 1px solid #dbe4ee; border-radius: 9px; padding: 5px 6px; color: var(--pfx-blue); font-weight: 800; background: var(--ice, #fff); max-width: 50%; }
.pfx-dp-dow, .pfx-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; } .pfx-dp-dow i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--pfx-muted); padding: 4px 0; }
.pfx-dp-grid button { border: 0; background: transparent; border-radius: 9px; height: 34px; color: var(--pfx-blue); font-weight: 800; font-size: 13px; } .pfx-dp-grid button:hover:not(.dis) { background: #e8f1fa; }
.pfx-dp-grid button.sel { background: var(--pfx-blue); color: #fff; } .pfx-dp-grid button.today:not(.sel) { box-shadow: inset 0 0 0 1.5px var(--pfx-gold); } .pfx-dp-grid button.dis { color: #c1cbd7; cursor: not-allowed; font-weight: 600; }
.pfx-dp-foot { margin-top: 8px; text-align: center; } .pfx-dp-foot button { border: 0; background: none; color: var(--pfx-blue); font-weight: 800; }
.pfx-timepicker { position: fixed; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 12px; box-shadow: 0 18px 50px rgba(10, 34, 58, .2); max-height: 220px; overflow: auto; padding: 4px; display: grid; }
.pfx-timepicker button { border: 0; background: transparent; padding: 9px 12px; text-align: left; color: var(--pfx-blue); font-weight: 800; border-radius: 8px; } .pfx-timepicker button:hover { background: #eef4fa; } .pfx-timepicker button.sel { background: var(--pfx-blue); color: #fff; }

/* ───── Avisos push (barra azul que se vacía) y toasts ───── */
.pfx-pushes { position: fixed; top: 14px; right: 14px; display: grid; gap: 10px; width: min(380px, calc(100vw - 28px)); z-index: 450; pointer-events: none; }
.pfx-push { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; box-shadow: 0 16px 44px rgba(10, 34, 58, .22); padding: 12px 40px 15px 12px; animation: pfxIn .22s cubic-bezier(.2, .9, .3, 1.1); }
.pfx-push.clickable { cursor: pointer; } .pfx-push.out { opacity: 0; transform: translateX(20px); transition: .18s; }
.pfx-push-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; } .pfx-push-ic { width: 40px; height: 40px; border-radius: 12px; background: #eaf2fa; color: var(--pfx-blue); display: grid; place-items: center; flex: 0 0 auto; }
.pfx-push-ic.success { background: #e7f6ed; color: var(--pfx-ok); } .pfx-push-ic.warn { background: #fff4de; color: var(--pfx-warn); }
.pfx-push-tx { min-width: 0; display: grid; gap: 1px; } .pfx-push-tx b { font-size: 13.5px; color: var(--pfx-blue-2); } .pfx-push-tx span { font-size: 12.5px; color: #587089; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pfx-push-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: #8a9bb0; } .pfx-push-x:hover { background: #f0f4f8; }
.pfx-push-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--pfx-blue), #3d86c6); transform-origin: left; animation-name: pfxBar; animation-timing-function: linear; animation-fill-mode: forwards; }
.pfx-push.paused .pfx-push-bar { animation-play-state: paused; }
@keyframes pfxBar { to { transform: scaleX(0); } } @keyframes pfxIn { from { opacity: 0; transform: translateX(26px); } }
@media (max-width: 560px) { .pfx-pushes { top: max(10px, env(safe-area-inset-top)); right: 10px; left: 10px; width: auto; } }

/* ───── Etiquetas, pestañas, acordeón, estados vacíos ───── */
.pfx-tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 10px; font-size: 11px; font-weight: 800; background: #eaf2fa; color: var(--pfx-blue); }
.pfx-tag.gold { background: #fff4cf; color: #8a6510; } .pfx-tag.red { background: #fdecec; color: var(--pfx-bad); } .pfx-tag.green { background: #e7f6ed; color: var(--pfx-ok); } .pfx-tag.grey { background: #eef1f5; color: #667789; } .pfx-tag.adult { background: #fdecec; color: var(--pfx-bad); }
.pfx-gem { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; color: var(--pfx-blue); } .pfx-gem i { color: #3d86c6; font-size: .9em; }
.pfx-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pfx-line); overflow-x: auto; scrollbar-width: none; } .pfx-tabs::-webkit-scrollbar { display: none; }
.pfx-tabs button { border: 0; background: transparent; padding: 12px 14px; font-weight: 800; color: #5d7189; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; gap: 7px; align-items: center; } .pfx-tabs button.on { color: var(--pfx-blue); border-bottom-color: var(--pfx-gold); }
.pfx-seg { display: inline-flex; background: #eef3f8; border-radius: 12px; padding: 3px; gap: 2px; } .pfx-seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 800; font-size: 12.5px; color: #5d7189; } .pfx-seg button.on { background: var(--ice, #fff); color: var(--pfx-blue); box-shadow: 0 2px 8px rgba(10, 34, 58, .1); }
.pfx-acc { border: 1px solid var(--pfx-line); border-radius: 14px; background: var(--ice, #fff); margin-bottom: 10px; overflow: hidden; } .pfx-acc-head { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 15px 16px; font-weight: 800; font-size: 14.5px; color: var(--pfx-blue-2); text-align: left; } .pfx-acc-head > span { flex: 1; } .pfx-acc-head > i:first-child { width: 22px; color: var(--pfx-blue); }
.pfx-acc-chev { transition: transform .18s; color: #7d8da1; } .pfx-acc.open .pfx-acc-chev { transform: rotate(180deg); } .pfx-acc-body { display: none; padding: 4px 16px 16px; } .pfx-acc.open .pfx-acc-body { display: block; }
.pfx-empty { text-align: center; padding: 38px 18px; color: var(--pfx-muted); display: grid; gap: 6px; justify-items: center; } .pfx-empty i { font-size: 34px; color: #b7c6d6; } .pfx-empty b { color: var(--pfx-blue-2); }
.pfx-loading { text-align: center; padding: 30px 12px; color: var(--pfx-muted); }
.pfx-card { background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; box-shadow: 0 4px 18px rgba(15, 54, 84, .035); } .pfx-card.pad { padding: 16px; }
.pfx-list-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid #eef2f6; } .pfx-list-row:last-child { border-bottom: 0; } .pfx-list-row > .grow { flex: 1; min-width: 0; } .pfx-list-row small { color: var(--pfx-muted); display: block; }
.pfx-note { background: #f2f7fc; border: 1px solid #dbe8f4; color: #36546f; border-radius: 12px; padding: 11px 13px; font-size: 12.5px; line-height: 1.5; } .pfx-note.warn { background: #fff8e7; border-color: #f1dfae; color: #7a5a10; } .pfx-note.bad { background: #fdf0f0; border-color: #f3c9c9; color: #8a2b2b; }
.pfx-pos { color: var(--pfx-ok); font-weight: 800; } .pfx-neg { color: var(--pfx-bad); font-weight: 800; }
.pfx-muted { color: var(--pfx-muted); }
.pfx-progress { height: 8px; border-radius: 99px; background: #e7eef6; overflow: hidden; } .pfx-progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--pfx-blue), #3d86c6); border-radius: 99px; }

/* ───── Avatares y puntos de estado ───── */
.pfx-avatar { position: relative; display: inline-block; border-radius: 50%; flex: 0 0 auto; } .pfx-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #e9eff6; }
.pfx-dot { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 9px; min-height: 9px; border-radius: 50%; border: 2px solid #fff; background: #aab8c7; } .pfx-dot.on { background: #f0c12c; }
.pfx-verified { color: #2e8bd8; font-size: .85em; margin-left: 3px; }

/* ───── Emojis y GIFs ───── */
.pfx-emoji { position: fixed; width: 280px; max-height: 300px; overflow: auto; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 34, 58, .22); padding: 8px 10px 10px; animation: pfxFade .12s; }
.pfx-emoji h5 { margin: 8px 2px 4px; font-size: 11px; color: var(--pfx-muted); text-transform: uppercase; letter-spacing: .05em; } .pfx-emoji div { display: grid; grid-template-columns: repeat(7, 1fr); } .pfx-emoji button { border: 0; background: transparent; font-size: 21px; padding: 5px 0; border-radius: 8px; } .pfx-emoji button:hover { background: #eef4fa; }
.pfx-gifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; } .pfx-gifs button { border: 1px solid var(--pfx-line); background: #f3f6fa; border-radius: 12px; padding: 0; overflow: hidden; aspect-ratio: 1; } .pfx-gifs button:hover { border-color: var(--pfx-blue); } .pfx-gifs img { width: 100%; height: 100%; object-fit: cover; }

/* ───── Galería ───── */
.pfx-lightbox.pfx-pop-backdrop { background: rgba(3, 12, 22, .92); padding: 0; } .pfx-lightbox .pfx-pop { width: 100%; height: 100dvh; max-height: none; background: transparent; box-shadow: none; border-radius: 0; } .pfx-lightbox .pfx-pop-body { padding: 0; display: grid; }
.pfx-lb { position: relative; display: grid; grid-template-rows: 1fr auto; height: 100%; min-height: 0; } .pfx-lb-stage { display: grid; place-items: center; min-height: 0; padding: 20px 64px; } .pfx-lb-stage img, .pfx-lb-stage video { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 10px; object-fit: contain; }
.pfx-lb-x, .pfx-lb-nav { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 18px; backdrop-filter: blur(6px); } .pfx-lb-x { top: 14px; right: 14px; } .pfx-lb-nav { top: 50%; transform: translateY(-50%); } .pfx-lb-nav.prev { left: 14px; } .pfx-lb-nav.next { right: 14px; }
.pfx-lb-foot { color: #e7eef6; padding: 8px 20px 18px; text-align: center; display: grid; gap: 4px; } .pfx-lb-foot em { opacity: .7; font-size: 12px; }
@media (max-width: 560px) { .pfx-lb-stage { padding: 56px 0 8px; } .pfx-lb-nav { display: none; } }

/* ───── Gráficos ───── */
.pfx-chart { position: relative; width: 100%; } .pfx-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.pfx-chart .grid { stroke: #e6ecf3; stroke-width: 1; } .pfx-chart .yl, .pfx-chart .xl { fill: #8294a8; font-size: 13px; font-family: Lato, Arial, sans-serif; } .pfx-chart .guide { stroke: #b9c9da; stroke-dasharray: 4 4; }
.pfx-chart-tip { position: absolute; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 10px; box-shadow: 0 10px 30px rgba(10, 34, 58, .18); padding: 8px 11px; font-size: 12px; pointer-events: none; display: grid; gap: 3px; white-space: nowrap; z-index: 3; } .pfx-chart-tip b { color: var(--pfx-blue-2); }
.pfx-chart-tip span { display: flex; gap: 6px; align-items: center; } .pfx-chart-tip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pfx-legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 2px; } .pfx-legend button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 12.5px; color: #3a5068; padding: 4px 6px; border-radius: 8px; } .pfx-legend button i { width: 11px; height: 11px; border-radius: 3px; } .pfx-legend button.off { opacity: .4; text-decoration: line-through; }

/* ───── Captura de foto / vídeo / audio ───── */
.pfx-cap-stage { position: relative; background: #0b1c2e; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; display: grid; place-items: center; } .pfx-cap-stage video, .pfx-cap-shot { width: 100%; height: 100%; object-fit: cover; }
.pfx-cap-stage.audio { aspect-ratio: auto; min-height: 160px; gap: 8px; padding: 18px; background: linear-gradient(145deg, #0f3654, #154C82); } .pfx-cap-mic { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; display: grid; place-items: center; } .pfx-cap-wave { width: 100%; max-width: 520px; background: rgba(255, 255, 255, .92); border-radius: 10px; }
.pfx-cap-hud { position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, .55); color: #fff; padding: 4px 10px; border-radius: 99px; display: flex; gap: 7px; align-items: center; font-weight: 800; font-size: 12.5px; } .pfx-rec { width: 9px; height: 9px; border-radius: 50%; background: #ff4b4b; animation: pfxBlink 1s infinite; } @keyframes pfxBlink { 50% { opacity: .2; } }
.pfx-cap-note { margin: 10px 0 0; font-size: 12px; color: #7a5a10; background: #fff8e7; border-radius: 10px; padding: 8px 10px; }
.pfx-cap-ctrl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 14px; } .pfx-cap-ctrl > :first-child { justify-self: start; } .pfx-cap-max { justify-self: end; color: var(--pfx-muted); font-size: 12px; }
.pfx-cap-main { width: 66px; height: 66px; border-radius: 50%; border: 4px solid var(--pfx-blue); background: var(--ice, #fff); padding: 5px; display: grid; place-items: center; } .pfx-cap-main i { width: 100%; height: 100%; border-radius: 50%; background: var(--pfx-blue); display: block; transition: .15s; } .pfx-cap-main.recording i { background: var(--pfx-bad); border-radius: 12px; transform: scale(.55); } .pfx-cap-main:disabled { opacity: .4; }

/* ───── Utilidades de página ───── */
.pfx-page { width: min(var(--pf-w, 1500px), 100%); margin: 0 auto; padding: 22px; } .pfx-page.narrow { width: min(820px, 100%); }
.pfx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; } .pfx-head h1 { margin: 0; font-size: 26px; color: var(--pfx-blue-2); } .pfx-head p { margin: 2px 0 0; color: var(--pfx-muted); }
.pfx-grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--min, 3), minmax(0, 1fr)); } @media (max-width: 900px) { .pfx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .pfx-grid { grid-template-columns: minmax(0, 1fr); } .pfx-page { padding: 14px; } }
.pfx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pfx-adult-badge { display: inline-grid; place-items: center; background: var(--pfx-bad); color: #fff; font-weight: 900; font-size: 10.5px; border-radius: 6px; padding: 1px 5px; line-height: 1.3; }
