/* Cuentas (Fede 22/11/2026): botón Entrar, foto, Guardar en artículos y página Mi perfil. */
.eps-entrar { display: inline-flex; align-items: center; justify-content: center; font: 600 14px Inter, system-ui, sans-serif; color: #fff;
  background: var(--azul, #007ea8); border-radius: 999px; padding: 7px 14px; margin-right: 6px; text-decoration: none; white-space: nowrap; }
.eps-entrar.con-foto { background: none; padding: 0; }
.eps-av { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; color: #fff; font-weight: 700; flex: none; line-height: 1; }
.eps-fila { display: flex; flex-wrap: wrap; gap: 10px; justify-self: start; }
.eps-guardar.mio { color: #ffcf6b; border-color: #ffcf6b; }
.eps-guardar.mio svg { fill: currentColor; }

/* Mi perfil */
.pf-tarjeta { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 26px 18px 22px; border-radius: 20px;
  background: linear-gradient(160deg, #10364c, #127ea8); color: #fff; margin: 14px 0 18px; }
.pf-foto { position: relative; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.pf-foto .eps-av { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.pf-foto i { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0f3d56;
  display: grid; place-items: center; font-style: normal; font-size: 15px; }
.pf-nombre { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 700; margin-top: 8px; }
.pf-nombre button { background: rgba(255,255,255,.18); border: 0; color: #fff; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 15px; }
.pf-desde { color: rgba(255,255,255,.8); font-size: 15px; }
.pf-redes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.pf-redes a { color: #fff; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.pf-numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 8px; }
.pf-numeros div { background: #1b2a35; border: 1px solid #2a3d4a; border-radius: 14px; padding: 12px 4px; text-align: center; }
.pf-numeros b { display: block; font-size: 24px; color: #fff; line-height: 1.1; }
.pf-numeros span { font-size: 12px; color: #8aa0ad; }
.pf-lista { display: grid; gap: 10px; }
.pf-vacio { color: #8aa0ad; font-size: 15px; }
.pf-tests { display: grid; gap: 8px; }
.pf-tests a { display: flex; justify-content: space-between; gap: 10px; background: #1b2a35; border: 1px solid #2a3d4a; border-radius: 12px;
  padding: 12px 14px; color: #d6dfe5; text-decoration: none; font-size: 15px; }
.pf-tests a b { color: #fff; }
.pf-avatares { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.pf-avatares button { border: 2px solid transparent; background: none; border-radius: 50%; padding: 2px; cursor: pointer; }
.pf-avatares button[aria-pressed="true"] { border-color: #ffcf6b; }
.pf-redes-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .pf-redes-form { grid-template-columns: 1fr; } .pf-numeros { grid-template-columns: repeat(2, 1fr); } }
.pf-check { display: flex; gap: 10px; align-items: flex-start; color: #c4d0d8; font-size: 15px; line-height: 1.5; margin: 8px 0 4px; cursor: pointer; }
.pf-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #127ea8; }
.pf-aviso { text-align: center; font-size: 15px; min-height: 22px; color: #8fd6ef; margin: 8px 0; }
.pf-aviso.error { color: #ff9b9b; }
.pf-peligro { margin-top: 34px; padding-top: 18px; border-top: 1px solid #2a3d4a; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pf-peligro .btn.borrar { background: transparent; border: 1px solid #a14848; color: #ff9b9b; font-size: 15px; padding: 11px 18px; }
.pf-entrar { text-align: center; padding: 26px 18px; border-radius: 20px; background: linear-gradient(160deg, #10364c, #127ea8); color: #fff; margin: 16px 0; }
.pf-entrar h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }
.pf-entrar ul { text-align: left; max-width: 400px; margin: 14px auto 20px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.pf-entrar li { font-size: 16px; line-height: 1.45; }
.pf-entrar .g-caja { display: flex; justify-content: center; min-height: 48px; }
.pf-entrar small { display: block; margin-top: 14px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }
.pf-entrar small a { color: #fff; }

/* Etapa 2: nivel, tabla de posiciones y perfil público (Fede 22/11/2026) */
.pf-nivel { width: 100%; max-width: 320px; margin-top: 10px; display: grid; gap: 6px; }
.pf-nivel b { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #ffe08a; }
.pf-nivel i { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.pf-nivel i span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffcf6b, #ffe9a8); }
.pf-nivel small { font-size: 13px; color: rgba(255,255,255,.8); }
.pf-como { margin: 6px 0 0; padding: 12px 14px; border-radius: 14px; background: #1b2a35; border: 1px solid #2a3d4a; }
.pf-como p { margin: 0; font-size: 14px; line-height: 1.7; color: #c4d0d8; }
.pf-como .chico { margin-bottom: 4px; }
.tb-pestanas { margin: 14px 0 12px; }
.tb-mio { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #10364c, #127ea8); color: #fff; font-size: 15px; }
.tb-mio a { color: #fff; font-weight: 700; }
.tb-lista { display: grid; gap: 8px; }
.tb-fila { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #1b2a35; border: 1px solid #2a3d4a;
  color: #d6dfe5; text-decoration: none; }
.tb-fila:hover { border-color: var(--celeste, #8fd6ef); }
.tb-fila.yo { border-color: #ffcf6b; background: #24313a; }
.tb-puesto { width: 30px; text-align: center; font-weight: 700; font-size: 17px; color: #fff; flex: none; }
.tb-nombre { flex: 1; min-width: 0; display: grid; }
.tb-nombre b { color: #fff; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-nombre small { color: #ffe08a; font-size: 13px; }
.tb-pts { font-weight: 700; color: #fff; font-size: 17px; text-align: right; }
.tb-pts small { display: block; font-size: 11px; color: #8aa0ad; font-weight: 600; }

/* Perfil como tarjeta, ventanitas y Mi cuenta (Fede 22/11/2026) */
.pf-tarjeta { position: relative; }
.pf-ajustes { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); text-decoration: none; font-size: 19px; }
p.pf-como { text-align: center; color: #c4d0d8; font-size: 15px; margin: 4px 0 0; }
.pf-menu { display: grid; gap: 8px; margin-top: 22px; }
.pf-menu details, .pf-menu > a { background: #1b2a35; border: 1px solid #2a3d4a; border-radius: 14px; }
.pf-menu summary, .pf-menu > a { display: flex; align-items: center; gap: 8px; padding: 15px 16px; font: 600 16px Inter, system-ui, sans-serif; color: #eef3f6;
  cursor: pointer; list-style: none; text-decoration: none; }
.pf-menu summary::-webkit-details-marker { display: none; }
.pf-menu summary::after, .pf-menu > a::after { content: '›'; margin-left: auto; color: #8aa0ad; font-size: 22px; transition: transform .2s; }
.pf-menu details[open] summary::after { transform: rotate(90deg); }
.pf-menu summary em { font-style: normal; color: #8aa0ad; font-weight: 500; }
.pf-menu details > div { padding: 0 12px 14px; }
.eps-hoja { position: fixed; inset: 0; z-index: 9998; background: rgba(5,10,14,.7); display: flex; align-items: flex-end; justify-content: center; }
.eps-hoja-caja { background: #16232d; color: #e6eef3; width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 20px 20px 28px;
  max-height: 88vh; overflow: auto; animation: subir .22s ease; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.eps-hoja-tit { font: 700 20px Inter, system-ui, sans-serif; margin: 0 0 14px; }
.eps-hoja-input { width: 100%; box-sizing: border-box; font: 18px Inter, system-ui, sans-serif; color: #eef3f6; background: #0f1b23;
  border: 1px solid #2a3d4a; border-radius: 14px; padding: 14px 16px; }
.eps-hoja-input:focus { outline: none; border-color: var(--azul, #007ea8); }
.eps-hoja-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.eps-hoja-aviso { min-height: 20px; color: #ff9b9b; font-size: 14px; margin: 8px 0 0; }
.eps-hoja-subir, .eps-hoja-google { display: block; width: 100%; box-sizing: border-box; margin-bottom: 10px; cursor: pointer; }
.eps-hoja-sub { color: #8aa0ad; font-size: 14px; margin: 8px 0 6px; }
.eps-hoja .pf-avatares { margin: 0; }
.mc-grupo { margin: 22px 0 0; }
.mc-grupo h2 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #8fd6ef; margin: 0 0 8px; }
.mc-fila { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; text-align: left; padding: 15px 16px; margin: 0 0 6px;
  background: #1b2a35; border: 1px solid #2a3d4a; border-radius: 14px; color: #eef3f6; font: 500 16px Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
div.mc-fila { cursor: default; }
.mc-fila b { margin-left: auto; font-weight: 500; color: #9caeb9; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-fila i { font-style: normal; color: #8aa0ad; font-size: 22px; margin-left: 6px; }
.mc-fila b + i { margin-left: 6px; }
.mc-fila span + i { margin-left: auto; }
.mc-col { flex-direction: column; align-items: stretch; }
.mc-col small { color: #9caeb9; font-size: 14px; }
.mc-col .chips { margin-top: 10px; }
.mc-peligro { color: #ff9b9b; }
.pf-creador { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #0f3d56; background: #ffe08a; border-radius: 999px; padding: 3px 9px; }

/* Íconos Lucide en perfil, cuenta y herramientas (Fede 22/11/2026) */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; flex: none; }
.pf-ajustes { font-size: 0; color: #fff; } .pf-ajustes .ic { width: 22px; height: 22px; }
.pf-foto i { font-size: 0; } .pf-foto i .ic { width: 17px; height: 17px; }
.pf-nombre button { font-size: 0; display: grid; place-items: center; } .pf-nombre button .ic { width: 16px; height: 16px; }
.pf-menu summary .ic, .pf-menu > a .ic { width: 21px; height: 21px; color: #9fc7d8; }
.btn .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.mc-fila span .ic { width: 20px; height: 20px; color: #9fc7d8; margin-right: 8px; vertical-align: -4px; }
.mc-peligro span .ic { color: #ff9b9b; }
.pf-entrar li .ic { width: 19px; height: 19px; margin-right: 6px; vertical-align: -4px; color: #ffe08a; }
.tb-puesto { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: #24394a; }
.tb-puesto.p1 { background: linear-gradient(135deg, #f7d774, #c99a2e); color: #3a2a00; }
.tb-puesto.p2 { background: linear-gradient(135deg, #e8edf1, #9fb0bd); color: #23303a; }
.tb-puesto.p3 { background: linear-gradient(135deg, #f0b98a, #b5703c); color: #3a1f08; }
.eps-hoja-subir .ic { width: 19px; height: 19px; vertical-align: -4px; }
img.eps-av { color-scheme: only light; filter: none !important; }
/* Recortar foto (Fede 22/11/2026) */
.eps-recorte { position: relative; width: 280px; height: 280px; margin: 4px auto 14px; border-radius: 50%; overflow: hidden; background: #0b151c;
  touch-action: none; cursor: grab; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.eps-recorte img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; transform-origin: 0 0; }
.eps-zoom { width: 100%; accent-color: #127ea8; }
