/* PrivilegeFans v33 · módulo «perfil» (E) · estilos. Prefijo .perf-. Responsive: la misma pantalla se adapta a 430 px con @media. */

/* ───── página (diseño 2026: portada a todo el ancho y contenido centrado a 1180 px) ───── */
main.perf-page.pfx-page { width: 100%; max-width: none; margin: 0; padding: 0 0 56px; }
.perf-page[data-perf-loading] { min-height: 50vh; padding-top: 40px; }
.perf-page > .perf-notes, .perf-page > .perf-body { width: min(var(--pf-w, 1500px), calc(100% - 64px)); margin-left: auto; margin-right: auto; }

/* ───── cabecera ───── */
.perf-head { position: relative; }
.perf-cover { position: relative; height: clamp(220px, calc(100vw / 4.29), 400px); overflow: hidden; background: #cfd8e3; }
.perf-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.perf-cover-shade { position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to top, rgba(10, 34, 58, .30), transparent); pointer-events: none; }
.perf-cover-tr { position: absolute; top: 18px; right: max(20px, calc((100% - 1310px) / 2)); }
.perf-cover-bl { position: absolute; left: max(20px, calc((100% - 1310px) / 2)); bottom: 48px; display: flex; align-items: flex-end; gap: 8px; max-width: calc(50% - 110px); }
.perf-cover-br { position: absolute; right: max(20px, calc((100% - 1310px) / 2)); bottom: 48px; display: flex; gap: 10px; align-items: center; }
.perf-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.perf-chips:empty { display: none; }

.perf-cam { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 15px; cursor: pointer; background: rgba(255, 255, 255, .94); color: var(--pfx-blue); box-shadow: 0 3px 10px rgba(0, 0, 0, .22); transition: transform .12s, background .12s; }
.perf-cam:hover { background: var(--ice, #fff); transform: scale(1.06); }
.perf-cam.tl { position: absolute; top: 18px; left: max(20px, calc((100% - 1310px) / 2)); }
.perf-cam.av { position: absolute; left: 6px; bottom: 10px; width: 38px; height: 38px; background: var(--pfx-blue); color: #fff; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(15, 54, 84, .3); }
.perf-cam.av:hover { background: var(--pfx-blue-2); }

.perf-stars { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 7px 13px; border-radius: 99px; background: rgba(10, 54, 90, .7); backdrop-filter: blur(6px); color: #fff; font-weight: 800; font-size: 13px; }
.perf-stars-i { color: var(--pfx-gold); display: inline-flex; gap: 2px; font-size: 13px; } .perf-stars-i .fa-regular { color: rgba(255, 255, 255, .6); }
.perf-stars:hover { background: rgba(10, 54, 90, .86); }

/* controles oscuros sobre la portada (como «Ver tráiler del canal» del diseño) */
.perf-rbtn, .perf-pill { border: 1px solid rgba(255, 255, 255, .26); background: rgba(10, 54, 90, .84); color: #fff; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .12s, background .12s, color .12s; position: relative; font-family: inherit; }
.perf-rbtn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.perf-pill { height: 46px; border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.perf-rbtn:hover, .perf-pill:hover { background: rgba(10, 54, 90, .96); transform: translateY(-1px); }
.perf-rbtn:disabled, .perf-pill:disabled { opacity: .6; }
.perf-follow .i-on, .perf-follow .i-unf, .perf-follow .t-on, .perf-follow .t-unf { display: none; }
.perf-follow.on { background: rgba(255, 255, 255, .95); color: var(--d-navy, #154C82); }
.perf-follow.on .i-off, .perf-follow.on .t-off { display: none; } .perf-follow.on .i-on, .perf-follow.on .t-on { display: inline; }
.perf-follow.on:hover { background: var(--ice, #fff); } .perf-follow.on:hover .i-on, .perf-follow.on:hover .t-on { display: none; } .perf-follow.on:hover .i-unf, .perf-follow.on:hover .t-unf { display: inline; }
.perf-blk.active { color: #fff; background: var(--pfx-bad); }

/* etiquetas sobre la portada: privilegiados, «Eres Privilegiado», +18 */
.perf-chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 6px; border-radius: 99px; background: rgba(15, 54, 84, .72); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255, 255, 255, .38); font-size: 13px; line-height: 1.2; }
button.perf-chip { cursor: pointer; font-weight: 800; } button.perf-chip:hover { background: rgba(15, 54, 84, .88); }
.perf-chip > i { width: 28px; height: 28px; border-radius: 50%; background: var(--ice, #fff); color: var(--pfx-gold-2); display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
.perf-chip b { font-weight: 800; } .perf-chip small { display: block; font-size: 11px; font-weight: 600; opacity: .92; margin-top: 1px; }
.perf-chip.privd { background: linear-gradient(135deg, rgba(21, 76, 130, .86), rgba(15, 54, 84, .86)); border-color: rgba(240, 193, 44, .7); }
.perf-chip.privd.mine { background: linear-gradient(135deg, rgba(110, 76, 24, .86), rgba(70, 46, 10, .86)); }
.perf-chip.adult { padding: 0; width: 44px; height: 44px; justify-content: center; background: rgba(176, 30, 44, .88); border-color: rgba(255, 255, 255, .6); } .perf-chip.adult b { font-size: 15px; }

/* panel blanco que monta sobre la portada */
.perf-panel { position: relative; z-index: 2; margin-top: -28px; background: var(--ice, #fff); border-radius: 28px 28px 0 0; }
.perf-panel-in { position: relative; width: min(var(--pf-w, 1500px), calc(100% - 64px)); margin: 0 auto; padding: 16px 0 26px; text-align: center; }
.perf-av-wrap { position: absolute; left: 50%; top: -134px; transform: translateX(-50%); width: 172px; height: 172px; z-index: 3; }
.perf-av { display: block; width: 100%; height: 100%; border-radius: 50%; border: 6px solid #fff; background: var(--ice, #fff); overflow: hidden; box-shadow: 0 10px 30px rgba(15, 54, 84, .22); cursor: zoom-in; }
.perf-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.perf-av-badge { position: absolute; right: 8px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--d-gold-grad, linear-gradient(180deg, #E2B53A, #B8891F)); color: #fff; font-size: 15px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(177, 137, 55, .4); }

.perf-statrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 58px; }
.perf-stats { display: flex; align-items: stretch; }
.perf-st { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 4px 24px; border: 0; border-left: 1px solid var(--d-line, #E7EDF4); background: transparent; font-family: inherit; color: inherit; }
.perf-st:first-child { border-left: 0; padding-left: 6px; }
button.perf-st { cursor: pointer; } button.perf-st:hover b { color: var(--d-navy, #154C82); }
.perf-st b { font-size: 19px; font-weight: 800; color: var(--d-ink, #0B2D52); line-height: 1.1; }
.perf-st span { font-size: 13px; color: var(--d-muted, #6B7F95); font-weight: 600; }
.perf-page[data-other][data-zone="private"] .perf-st-followers, .perf-page[data-other][data-zone="private"] .perf-st-following { visibility: hidden; }   /* en la zona privada de otro perfil no se ven seguidores ni seguidos */
.perf-rate { display: grid; justify-items: end; gap: 5px; padding-top: 4px; }
.perf-rate-top { display: flex; align-items: center; gap: 10px; }
.perf-rate-stars { color: #E2B53A; font-size: 16px; display: inline-flex; gap: 3px; }
.perf-rate b { font-size: 15px; color: var(--d-ink, #0B2D52); font-weight: 800; }
.perf-rate small { font-size: 12.5px; color: var(--d-muted, #6B7F95); }

.perf-text { margin-top: 4px; }
.perf-name { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: Lato, system-ui, sans-serif; font-weight: 900; font-size: 36px; line-height: 1.15; color: #0E1726; overflow-wrap: anywhere; letter-spacing: -.01em; }
.perf-name .perf-nick { color: inherit; font-family: inherit; font-weight: inherit; }
.perf-nick { color: var(--pfx-gold-2); font-weight: 800; }
.perf-seal { position: relative; flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 30px; color: #E2B53A; line-height: 1; }
.perf-seal .fa-check { position: absolute; font-size: 12px; color: #fff; }
.perf-user { color: var(--d-gold-2, #B18937); font-weight: 700; font-size: 15.5px; margin-top: 4px; }
.perf-bio { max-width: 820px; margin: 14px auto 0; color: var(--d-text, #3C5068); font-size: 15.5px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.perf-bio.empty { display: block; background: transparent; border: 1.5px dashed #cdd9e6; border-radius: 12px; padding: 9px 16px; color: #7d8da1; font-family: inherit; cursor: pointer; } .perf-bio.empty:hover { border-color: var(--pfx-blue); color: var(--pfx-blue); }
.perf-meta { display: flex; align-items: center; justify-content: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--d-text, #3C5068); }
.perf-mt { display: inline-flex; align-items: center; gap: 8px; color: var(--d-text, #3C5068); text-decoration: none; }
.perf-mt i { color: var(--d-navy, #154C82); font-size: 15px; }
a.perf-mt:hover { color: var(--d-navy, #154C82); text-decoration: underline; }
.perf-wish i { color: var(--d-gold-2, #B18937); }
.perf-meta-sep { width: 1px; height: 20px; background: #D5DEE8; }
.perf-social { display: inline-flex; align-items: center; gap: 18px; }
.perf-social a { color: var(--d-navy, #154C82); font-size: 19px; line-height: 1; transition: color .12s, transform .12s; } .perf-social a:hover { color: var(--d-gold-2, #B18937); transform: translateY(-1px); }

/* acciones (Suscribirse · Enviar mensaje · Apoyar con propina, o las del propio perfil) */
.perf-panel .pp-ctas { display: flex; justify-content: center; gap: 16px; margin: 24px 0 0; padding: 0; flex-wrap: wrap; }
.perf-panel .pp-cta { min-width: 250px; height: 56px; padding: 0 24px; border-radius: 10px; border: 1px solid #E1E9F2; background: var(--d-soft, #EEF3F9); color: var(--d-navy, #154C82); display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.perf-panel .pp-cta span { display: grid; text-align: left; line-height: 1.15; }
.perf-panel .pp-cta b { font-size: 15.5px; font-weight: 800; } .perf-panel .pp-cta small { font-size: 12.5px; font-weight: 600; opacity: .88; }
.perf-panel .pp-cta i { font-size: 18px; }
.perf-panel .pp-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(21, 76, 130, .12); background: #E6EEF7; }
.perf-panel .pp-cta.sub { background: linear-gradient(180deg, #1A5A97, #123F6E); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(21, 76, 130, .25); }
.perf-panel .pp-cta.sub i { color: var(--d-gold, #F0C12C); font-size: 20px; }
.perf-panel .pp-cta.sub:hover { background: linear-gradient(180deg, #1D63A6, #144577); }
.perf-panel .pp-cta.sub.on { background: var(--d-gold-grad, linear-gradient(180deg, #E2B53A, #B8891F)); } .perf-panel .pp-cta.sub.on i { color: #fff; }
.perf-panel .pp-cta.is-off { opacity: .6; }

/* avisos bajo la cabecera */
.perf-notes:empty { display: none; }
.perf-note { display: flex; gap: 10px; align-items: flex-start; background: #fff8e7; border: 1px solid #f1dfae; color: #6f5210; border-radius: 12px; padding: 10px 14px; font-size: 12.5px; line-height: 1.5; margin-top: 14px; } .perf-note i { margin-top: 2px; }

/* pestañas: franja blanca a todo el ancho, subrayado dorado */
.perf-tabs { background: var(--ice, #fff); border-top: 1px solid #EEF2F6; border-bottom: 1px solid var(--d-line, #E7EDF4); position: relative; z-index: 1; }
.perf-tabs.is-empty { display: none; }
.perf-tabs-in { width: min(var(--pf-w, 1500px), calc(100% - 64px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.perf-tabs-in::-webkit-scrollbar { display: none; }
.perf-tab { display: inline-flex; align-items: center; gap: 10px; padding: 19px 16px 16px; font-weight: 700; font-size: 15px; color: #50657C; text-decoration: none; border: 0; border-bottom: 3px solid transparent; background: transparent; white-space: nowrap; transition: color .12s; font-family: inherit; cursor: pointer; }
.perf-tab i { font-size: 17px; color: #5E7389; } .perf-tab:hover, .perf-tab:hover i { color: var(--d-navy, #154C82); }
.perf-tab.on { color: var(--d-navy, #154C82); font-weight: 800; border-bottom-color: #C9A43A; }
.perf-tab.on i { color: var(--d-navy, #154C82); }
.perf-tab[data-tab="zona-privada"].on i { color: var(--d-gold-2, #B18937); }
.perf-tab-more { padding-left: 12px; padding-right: 12px; } .perf-tab-more.active i { color: var(--d-gold-2, #B18937); }
.perf-body { margin-top: 26px; min-width: 0; }
.perf-page .ini-zonebar { display: none !important; }   /* la zona se elige con las pestañas «Publicaciones» / «Zona privada» */

@media (max-width: 1000px) {
  .perf-panel .pp-cta { min-width: 0; flex: 1 1 200px; }
}
@media (max-width: 760px) {
  .perf-page > .perf-notes, .perf-page > .perf-body { width: calc(100% - 24px); }
  .perf-cover { height: 190px; }
  .perf-cover-bl { left: 12px; bottom: 34px; max-width: calc(100% - 24px); }
  .perf-cover-br { right: 12px; bottom: 34px; gap: 8px; }
  .perf-cover-tr { right: 12px; top: 12px; }
  .perf-cam.tl { left: 12px; top: 12px; }
  .perf-rbtn { width: 40px; height: 40px; font-size: 15px; } .perf-pill { height: 40px; padding: 0 14px; font-size: 13px; }
  .perf-page[data-other] .perf-cover-bl { bottom: 84px; }
  .perf-panel { margin-top: -22px; border-radius: 22px 22px 0 0; }
  .perf-panel-in { width: calc(100% - 24px); padding-top: 12px; padding-bottom: 20px; }
  .perf-av-wrap { width: 116px; height: 116px; top: -86px; }
  .perf-av { border-width: 5px; }
  .perf-av-badge { width: 30px; height: 30px; font-size: 12px; right: 4px; bottom: 6px; }
  .perf-cam.av { width: 32px; height: 32px; font-size: 12px; left: 2px; bottom: 6px; }
  .perf-statrow { flex-direction: column; align-items: center; gap: 8px; padding-top: 34px; min-height: 0; }
  .perf-st { padding: 2px 16px; } .perf-st b { font-size: 17px; } .perf-st span { font-size: 12px; }
  .perf-rate { justify-items: center; padding-top: 0; }
  .perf-text { margin-top: 10px; }
  .perf-name { font-size: 27px; gap: 8px; } .perf-seal { width: 26px; height: 26px; font-size: 24px; } .perf-seal .fa-check { font-size: 10px; }
  .perf-bio { font-size: 14px; }
  .perf-meta { gap: 8px 16px; font-size: 13px; }
  .perf-panel .pp-ctas { gap: 8px; margin-top: 18px; }
  .perf-panel .pp-cta { flex: 1 1 40%; height: 50px; padding: 0 12px; } .perf-panel .pp-cta.sub { flex-basis: 100%; }
  .perf-panel .pp-cta b { font-size: 14px; }
  .perf-tabs-in { width: 100%; justify-content: flex-start; padding: 0 6px; }
  .perf-tab { padding: 14px 11px 12px; font-size: 13.5px; gap: 7px; } .perf-tab i { font-size: 15px; }
  .perf-body { margin-top: 16px; }
}

/* perfil restringido / bloqueado */
.perf-blockcard { padding: 38px 22px; display: grid; gap: 9px; justify-items: center; text-align: center; margin-top: 14px; }
.perf-blockcard > i { font-size: 42px; color: var(--pfx-gold); } .perf-blockcard > i.fa-ban { color: var(--pfx-bad); }
.perf-blockcard b { color: var(--pfx-blue-2); font-size: 16px; } .perf-blockcard span { color: #6b7f95; font-size: 13px; max-width: 460px; line-height: 1.5; } .perf-blockcard .pfx-btn { margin-top: 8px; }

/* ───── menús de opciones (tres puntos, bloqueo) ───── */
.perf-optmenu .pfx-menu-title { text-align: center; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pfx-blue); padding: 10px 10px 6px; }
.perf-mi { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.perf-sw { display: inline-block; width: 36px; height: 20px; border-radius: 99px; background: #cdd8e4; position: relative; flex: 0 0 auto; transition: .15s; }
.perf-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ice, #fff); box-shadow: 0 1px 3px rgba(0, 0, 0, .28); transition: .15s; }
.perf-sw.on { background: var(--pfx-blue); } .perf-sw.on::after { transform: translateX(16px); }
.perf-cons-h { margin: 0 0 6px; } ul.perf-cons { text-align: left; margin: 8px 0 4px; padding-left: 20px; font-size: 13px; color: #4b6078; line-height: 1.55; } .perf-cons li { margin: 4px 0; }

/* ventana de zonas */
.perf-zones { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--pfx-line); border-radius: 14px; overflow: hidden; }
.perf-zones-col + .perf-zones-col { border-left: 1px solid var(--pfx-line); }
.perf-z { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; font-weight: 700; font-size: 13.5px; color: #26405c; cursor: pointer; } .perf-z + .perf-z { border-top: 1px solid var(--pfx-line); } .perf-z:hover { background: #f5f9fd; }
.perf-zones-hint { margin: 12px 2px 0; color: var(--pfx-muted); font-size: 12px; line-height: 1.5; } .perf-zones-note { background: #fff8e7; border: 1px solid #f1dfae; color: #6f5210; border-radius: 12px; padding: 10px 13px; font-size: 12.5px; margin: 0 0 12px; }

/* cancelar renovación (respaldo) */
.perf-cancel-pop [hidden] { display: none !important; }
.perf-banner { background: var(--pfx-blue); color: #fff; border-radius: 11px; padding: 11px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; } .perf-banner i { margin-top: 2px; color: var(--pfx-gold); }
.perf-rn-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-weight: 800; font-size: 13px; color: #26405c; }
.perf-rn-sw { display: inline-flex; align-items: center; gap: 8px; } .perf-rn-sw em { font-style: normal; color: #6b7f95; font-weight: 700; }

/* ranking */
.perf-rank { text-align: center; } .perf-rank-stars { color: var(--pfx-gold); font-size: 30px; display: flex; gap: 6px; justify-content: center; margin: 4px 0 8px; } .perf-rank-stars .fa-regular { color: #d3dce6; }
.perf-rank b { color: var(--pfx-blue-2); } .perf-rank p { color: #4b6078; font-size: 13.5px; line-height: 1.55; margin: 8px 0; } .perf-rank-s { color: var(--pfx-muted) !important; font-size: 12px !important; }

/* ───── editar perfil ───── */
.perf-edit-pop .pfx-pop-titles h3 { text-align: center; } .perf-edit-pop .pfx-pop-body { padding: 0 0 6px; }
.perf-ed-host { min-height: 120px; }
.perf-ed { padding: 0 22px 8px; }
.perf-ed-media { position: relative; margin: 0 -22px 56px; }
.perf-ed-cover { position: relative; height: 150px; background: #cfd8e3; overflow: hidden; } .perf-ed-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.perf-ed-avatar { position: absolute; left: 50%; bottom: -50px; transform: translateX(-50%); width: 108px; height: 108px; border-radius: 50%; border: 4px solid #fff; background: var(--ice, #fff); box-shadow: 0 6px 18px rgba(15, 54, 84, .25); overflow: visible; }
.perf-ed-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.perf-ed-cbtn, .perf-ed-abtn { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .95); color: var(--pfx-blue); font-weight: 800; font-size: 12px; padding: 7px 11px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); font-family: inherit; }
.perf-ed-cbtn { position: absolute; left: 12px; top: 12px; }
.perf-ed-abtn { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; border: 1px solid #d3e0ee; }
.perf-ed-cbtn:hover, .perf-ed-abtn:hover { background: var(--ice, #fff); color: var(--pfx-blue-2); }
.perf-ed-cover.pulse, .perf-ed-avatar.pulse { animation: perfPulse .9s ease 2; }
@keyframes perfPulse { 50% { box-shadow: 0 0 0 5px rgba(240, 193, 44, .55); } }
.perf-ed .pfx-field.invalid input, .perf-ed .pfx-field.invalid textarea { border-color: var(--pfx-bad); background: #fffafa; }
.perf-ed-user { display: flex; align-items: stretch; border: 1px solid #dbe4ee; border-radius: 11px; overflow: hidden; background: var(--ice, #fff); } .perf-ed-user:focus-within { border-color: #6fa2cf; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.perf-ed-user > span { display: flex; align-items: center; padding: 0 4px 0 13px; color: #7d8da1; font-size: 13.5px; white-space: nowrap; background: #f6f9fc; }
.perf-ed-user input.pfx-input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-width: 0; padding-left: 2px; color: var(--pfx-blue); font-weight: 800; }
[data-ed-uhint].ok { color: var(--pfx-ok); font-weight: 700; }
.perf-ed-bio { position: relative; } .perf-ed-bio textarea { padding-right: 46px; } .perf-ed-bio .pfx-iconbtn { position: absolute; right: 6px; top: 6px; }
.perf-ed-count { align-self: flex-end; } .perf-ed-count.over { color: var(--pfx-bad); font-weight: 800; }
.perf-ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pfx-field.locked input { background: #eef2f7; color: #55677d; cursor: not-allowed; } .pfx-field.locked label i { color: #98a8ba; font-size: 11px; margin-left: 4px; }
.perf-ed-bday { margin: -4px 2px 14px; font-size: 12px; color: var(--pfx-muted); line-height: 1.5; }
.perf-link { background: none; border: 0; padding: 0; color: var(--pfx-blue); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.perf-ed-foot { display: flex; justify-content: center; padding: 6px 0 12px; } .perf-ed-foot .pfx-btn { min-width: 190px; }

/* ───── listas: seguidores, seguidos, privilegiados ───── */
.perf-lists .pfx-pop-body { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.perf-l { display: flex; flex-direction: column; min-height: 0; }
.perf-l-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--pfx-line); padding-right: 12px; }
.perf-l-tabs { display: flex; flex: 1; }
.perf-l-tabs button { flex: 1; border: 0; background: transparent; padding: 17px 10px 14px; font-weight: 700; color: #6b7f95; border-bottom: 3px solid transparent; font-family: inherit; font-size: 14px; cursor: pointer; margin-bottom: -1px; }
.perf-l-tabs button b { color: var(--pfx-blue-2); font-weight: 900; margin-right: 3px; } .perf-l-tabs button.on { color: var(--pfx-blue-2); border-bottom-color: var(--pfx-blue); } .perf-l-tabs button:hover:not(.on) { background: #f5f9fd; }
.perf-l-title { margin: 0; padding: 17px 8px 14px 20px; font-size: 16px; color: var(--pfx-blue-2); } .perf-l-title b { font-weight: 900; }
.perf-l-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #55677d; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; } .perf-l-x:hover { background: #e4ebf3; }
.perf-l-bar { display: flex; gap: 8px; align-items: center; padding: 14px 16px 8px; } .perf-l-bar .pfx-input-icon { flex: 1; }
.perf-l-sort.active { background: #e3eefa; color: var(--pfx-blue); }
.perf-l-list { max-height: min(54vh, 470px); min-height: 150px; overflow-y: auto; padding: 4px 10px 8px; }
.perf-l-foot { padding: 4px 16px 14px; text-align: center; font-size: 12px; color: var(--pfx-muted); } .perf-l-foot:empty { display: none; }
.perf-l-row .nick { font-weight: 800; }
.perf-prv-r { display: grid; justify-items: end; gap: 5px; text-align: right; }
.perf-prv-ren { font-size: 12px; color: #5a6f86; } .perf-prv-ren small { font-size: 12px; color: #7d8da1; font-weight: 600; } .perf-prv-ren b { color: var(--pfx-blue-2); }
.perf-prv-st { min-width: 98px; text-align: center; padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 800; border: 1.5px solid var(--pfx-blue); }
.perf-prv-st.on { background: var(--pfx-blue); color: #fff; } .perf-prv-st.off { background: var(--ice, #fff); color: var(--pfx-blue); }

/* ───── tarjeta de 4 pasos para ser creador ───── */
.perf-onb { padding: 24px 22px 26px; text-align: center; }
.perf-onb h3 { margin: 0; color: var(--pfx-blue-2); font-size: 20px; } .perf-onb-sub { margin: 6px auto 20px; max-width: 620px; color: #6b7f95; font-size: 13.5px; line-height: 1.5; }
.perf-onb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: center; }
.perf-onb-step { background: #f6f9fc; border: 1px solid #e1eaf3; border-radius: 16px; padding: 18px 14px 16px; display: grid; gap: 8px; justify-items: center; align-content: start; }
.perf-onb-step.now { background: var(--ice, #fff); border-color: #bcd2e8; box-shadow: 0 8px 24px rgba(21, 76, 130, .09); } .perf-onb-step.wait { opacity: .7; } .perf-onb-step.done { background: #f3faf6; border-color: #cfe9d9; }
.perf-onb-n { width: 40px; height: 40px; border-radius: 50%; background: var(--pfx-blue); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; } .perf-onb-step.done .perf-onb-n { background: var(--pfx-ok); }
.perf-onb-step b { color: var(--pfx-blue-2); font-size: 14px; line-height: 1.25; } .perf-onb-step p { margin: 0; color: #6b7f95; font-size: 12px; line-height: 1.5; }
.perf-onb-act { display: grid; gap: 7px; justify-items: center; margin-top: 4px; width: 100%; } .perf-onb-act small { color: #7d8da1; font-size: 11.5px; line-height: 1.4; } .perf-onb-act small.bad { color: var(--pfx-bad); }
.perf-onb-ok { color: var(--pfx-ok); font-weight: 800; font-size: 13px; } .perf-onb-wait { color: var(--pfx-warn); font-weight: 800; font-size: 13px; }
.perf-onb-code { display: grid; gap: 7px; width: 100%; } .perf-onb-code input { text-align: center; letter-spacing: .25em; font-weight: 900; font-size: 16px; }
.perf-onb-act .pfx-err { text-align: center; }

/* ───── móvil (430 px) ───── */
@media (max-width: 760px) {
  .perf-onb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .perf-page { padding: 10px 10px 40px; }
  .perf-cover { height: 148px; border-radius: 12px 12px 0 0; }
  .perf-cam.tl { top: 10px; left: 10px; width: 34px; height: 34px; } .perf-cover-tr { top: 10px; right: 10px; } .perf-stars { padding: 5px 10px; font-size: 12px; }
  .perf-cover-bl { left: 10px; bottom: 10px; max-width: calc(100% - 20px); } .perf-cover-br { right: 10px; bottom: 10px; gap: 6px; }
  .perf-rbtn { width: 34px; height: 34px; font-size: 14px; }
  /* en el perfil de otro, etiquetas y botones van arriba para no chocar con la foto */
  .perf-page[data-other] .perf-cover-bl { top: 10px; bottom: auto; right: 176px; max-width: none; }
  .perf-page[data-other] .perf-cover-br { top: 10px; bottom: auto; }
  .perf-page[data-other] .perf-chips { gap: 6px; } .perf-page[data-other] .perf-chip:not(.adult) { max-width: 100%; min-width: 0; padding-right: 10px; gap: 6px; } .perf-page[data-other] .perf-chip.adult { flex: 0 0 auto; padding: 0; }
  .perf-page[data-other] .perf-chip > span { min-width: 0; } .perf-page[data-other] .perf-chip b, .perf-page[data-other] .perf-chip small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .perf-chip { padding: 4px 12px 4px 4px; font-size: 12px; } .perf-chip > i { width: 24px; height: 24px; font-size: 11px; } .perf-chip.adult { width: 36px; height: 36px; }
  .perf-id { margin-top: -50px; padding: 0 8px; }
  .perf-av-wrap { width: 100px; height: 100px; } .perf-av { border-width: 4px; } .perf-cam.av { width: 32px; height: 32px; bottom: 2px; }
  .perf-stat { font-size: 12.5px; padding: 6px 6px; margin-bottom: 8px; } .perf-stat b { font-size: 15px; }
  .perf-text { padding: 6px 14px 0; } .perf-name { font-size: 26px; } .perf-user { font-size: 13.5px; } .perf-bio { font-size: 13.5px; margin-top: 10px; }
  .perf-pencil { position: static; margin: 12px auto 0; } .perf-head { padding-bottom: 14px; display: block; }
  .perf-tabs { padding: 0 4px; } .perf-tabs-in { justify-content: flex-start; } .perf-tab { padding: 13px 13px; font-size: 13px; }
  .perf-ed { padding: 0 14px 6px; } .perf-ed-media { margin: 0 -14px 56px; } .perf-ed-grid { grid-template-columns: minmax(0, 1fr); }
  .perf-zones { grid-template-columns: minmax(0, 1fr); } .perf-zones-col + .perf-zones-col { border-left: 0; border-top: 1px solid var(--pfx-line); }
  .perf-onb { padding: 20px 12px 20px; } .perf-onb-steps { grid-template-columns: minmax(0, 1fr); }
  .perf-l-list { max-height: 58vh; } .perf-l-tabs button { font-size: 13px; }
  .perf-prv-r { gap: 4px; } .perf-prv-st { min-width: 84px; padding: 4px 8px; font-size: 11.5px; }
}
@media (max-width: 380px) {
  .perf-page[data-other] .perf-cover-bl { top: 54px; right: 10px; }
  .perf-page[data-other] .perf-cover-br { gap: 5px; }
  .perf-name { font-size: 24px; }
}
