/* Bio page — standalone (scan) and inside the editor's phone preview. */
.lf-bio-page { margin: 0; min-height: 100vh; background: #f6f3ee; }
.lf-bio {
  min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font);
  display: flex; justify-content: center; -webkit-font-smoothing: antialiased;
}
.lf-bio-page .lf-bio { min-height: 100vh; }
.lf-bio-inner { width: 100%; max-width: 480px; padding: 48px 20px 28px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lf-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: contain; background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05); }
.lf-avatar-txt { display: grid; place-items: center; font-size: 30px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.lf-title { font-size: 1.6rem; line-height: 1.2; margin: 18px 0 6px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lf-tagline { margin: 0; opacity: .72; font-size: .98rem; line-height: 1.45; max-width: 34ch; overflow-wrap: anywhere; }
.lf-links { list-style: none; padding: 0; margin: 28px 0 0; width: 100%; display: grid; gap: 12px; }
.lf-link {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 15px 20px; min-height: 56px; box-sizing: border-box; justify-content: center;
  background: var(--card); color: var(--text); text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lf-link:hover { border-color: var(--accent); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 22%, transparent); }
.lf-link:active { transform: scale(.985); }
.lf-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lf-link-label { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.lf-link-host { font-size: .75rem; opacity: .55; font-family: ui-sans-serif, system-ui, sans-serif; }
.lf-empty { opacity: .5; font-size: .9rem; padding: 12px; }
.lf-foot { margin-top: auto; padding-top: 36px; font-size: .72rem; opacity: .45; font-family: ui-sans-serif, system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { .lf-link { transition: none; } .lf-link:active { transform: none; } }

/* Messages (redirect notice, 404) */
.lf-msg { max-width: 440px; margin: 0 auto; padding: 22vh 20px 40px; font-family: ui-sans-serif, system-ui, sans-serif; color: #1d1b18; text-align: center; }
.lf-msg h1 { font-size: 1.5rem; margin: 6px 0 22px; overflow-wrap: anywhere; }
.lf-msg-k { margin: 0; opacity: .6; font-size: .9rem; }
.lf-msg-btn { display: inline-block; background: #1d1b18; color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.lf-msg-s { opacity: .55; font-size: .8rem; margin-top: 26px; }
.lf-msg a:not(.lf-msg-btn) { color: #2f5d50; }
