/* LoreCrafting · el ícono de perfil y la ventana para entrar (iguales en el sitio, el editor y el visor) */
.pf-caja {
  --pf-fondo: #ffffff; --pf-tinta: #1f2a30; --pf-tinta2: #56646b; --pf-linea: #dfe3dd; --pf-acento: #2f6f7e; --pf-oro: #a7742a; --pf-suave: #eef3f2;
  position: relative; display: inline-flex; align-items: center; flex: none; margin-left: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.pf-velo {
  --pf-fondo: #ffffff; --pf-tinta: #1f2a30; --pf-tinta2: #56646b; --pf-linea: #dfe3dd; --pf-acento: #2f6f7e; --pf-oro: #a7742a; --pf-suave: #eef3f2;
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 18, .55); backdrop-filter: blur(3px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .pf-caja, .pf-velo { --pf-fondo: #1c2429; --pf-tinta: #e7ece9; --pf-tinta2: #a9b5ba; --pf-linea: #34413f; --pf-acento: #6fb3c2; --pf-oro: #d8a65a; --pf-suave: #22313a }
}
.pf-boton { display: inline-flex; align-items: center; gap: 7px; height: 36px; min-width: 36px; padding: 0; border-radius: 999px; border: 1px solid var(--pf-linea);
  background: var(--pf-fondo); color: var(--pf-tinta); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; overflow: hidden }
.pf-boton:hover, .pf-boton[aria-expanded="true"] { border-color: var(--pf-acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-acento) 18%, transparent) }
.pf-boton.pf-fuera { padding: 0 14px 0 6px }
.pf-boton.pf-fuera svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; border-radius: 50%; background: var(--pf-suave); padding: 3px }
.pf-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex: none }
.pf-av.grande { width: 46px; height: 46px; font-size: 20px }
.pf-ini { background: var(--pf-acento); color: #fff; font-weight: 700 }
.pf-menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(290px, calc(100vw - 24px)); z-index: 9999; background: var(--pf-fondo); color: var(--pf-tinta);
  border: 1px solid var(--pf-linea); border-radius: 14px; padding: 8px; box-shadow: 0 18px 48px rgba(0, 0, 0, .22); display: grid; gap: 2px }
.pf-yo { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--pf-linea); margin-bottom: 4px }
.pf-yo > div { display: grid; gap: 1px; min-width: 0 }
.pf-yo b { font-size: 15px }
.pf-yo small { color: var(--pf-tinta2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.pf-plan { justify-self: start; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--pf-suave); color: var(--pf-tinta) }
.pf-menu a, .pf-menu button { display: block; text-align: left; padding: 9px 10px; border-radius: 8px; color: var(--pf-tinta); text-decoration: none; font-family: inherit; font-weight: 500; font-size: 14px; background: none; border: 0; cursor: pointer; width: 100% }
.pf-menu a:hover, .pf-menu button:hover { background: var(--pf-suave) }
.pf-menu .pf-dios { color: var(--pf-oro); font-weight: 700 }
.pf-menu .pf-salir { color: #b4473b; border-top: 1px solid var(--pf-linea); border-radius: 0 0 8px 8px; margin-top: 4px }
@media (max-width: 560px) { .pf-txt { display: none } .pf-boton.pf-fuera { padding: 0 6px } }

.pf-dialogo { position: relative; width: min(400px, 100%); background: var(--pf-fondo); color: var(--pf-tinta); border-radius: 18px; padding: 30px 26px 22px;
  display: grid; gap: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); text-align: center }
.pf-dialogo h2 { margin: 0; font: 400 28px/1.1 "IM Fell English SC", Georgia, serif; letter-spacing: .01em }
.pf-sub { margin: 0; color: var(--pf-tinta2); font-size: 14.5px; line-height: 1.5 }
.pf-sello { justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--pf-suave); color: var(--pf-acento) }
.pf-sello svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.pf-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; background: none; color: var(--pf-tinta2); font-size: 24px; cursor: pointer; border-radius: 8px }
.pf-x:hover { background: var(--pf-suave) }
.pf-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px; border: 1px solid var(--pf-linea); background: var(--pf-fondo);
  color: var(--pf-tinta); font-family: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; margin-top: 4px }
.pf-google:hover { border-color: var(--pf-acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-acento) 15%, transparent) }
.pf-google svg { width: 20px; height: 20px }
.pf-o { display: flex; align-items: center; gap: 10px; color: var(--pf-tinta2); font-size: 12.5px }
.pf-o::before, .pf-o::after { content: ""; flex: 1; height: 1px; background: var(--pf-linea) }
.pf-campo { display: grid; gap: 4px; text-align: left }
.pf-campo span { font-size: 12.5px; font-weight: 600; color: var(--pf-tinta2) }
.pf-campo input { font-family: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--pf-linea); border-radius: 10px; background: var(--pf-suave); color: var(--pf-tinta) }
.pf-link { height: 42px; border-radius: 10px; border: 0; background: var(--pf-acento); color: #fff; font-family: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer }
.pf-link:hover { filter: brightness(1.08) }
.pf-estado { margin: 0; min-height: 1.2em; font-size: 13.5px; color: var(--pf-tinta2) }
.pf-estado.err { color: #b4473b }
.pf-estado.ok { color: #2f7d4f }
.pf-mini { margin: 0; font-size: 12px; color: var(--pf-tinta2) }
.pf-menu .pf-extra { display: flex; align-items: center; gap: 10px }
.pf-menu .pf-extra svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round }
.pf-sep { border: 0; border-top: 1px solid var(--pf-linea); margin: 4px 0 }
