/* Visitor presentation. Load after the existing stylesheets. */
:root { --muted: #526762; }
.visitor-intro { max-width: 620px; color: var(--muted); margin: -10px 0 28px; line-height: 1.7; }
.visitor-empty { grid-column: 1 / -1; width: 100%; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, #edf0e7, #faf9f5); padding: clamp(28px, 5vw, 64px) 24px; text-align: center; }
.visitor-empty h2 { font-size: clamp(28px, 3vw, 40px); margin: 16px auto; max-width: 600px; }
.visitor-empty p { max-width: 490px; margin: 0 auto 20px; color: var(--muted); line-height: 1.7; }
.visitor-spark { font-size: 34px; color: #6e8055; }
.visitor-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.visitor-note { color: var(--muted); font-size: 14px; line-height: 1.6; }
.visitor-prose { max-width: 740px; line-height: 1.8; }
.visitor-prose h2 { margin-top: 36px; font-size: 30px; }
.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); z-index: 50; background: var(--ink); color: white; padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { transform: none; }
#main:focus { outline: none; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.age-card h1 { max-width: 620px; }
.age-card p { font-size: 16px; }
.age-card .wordmark { margin-bottom: 28px; }
.age-card .visitor-note { font-size: 13px; }
#toast { max-width: calc(100vw - 32px); width: max-content; white-space: normal; overflow-wrap: anywhere; }
.filters > input { min-width: 0; }
.filters #search { flex: 1 1 220px; }
.filters #city { flex: 1 1 160px; }
.filters .toggle { min-height: 44px; }
.heart, .city-link { min-height: 44px; }
.card-top { gap: 6px; }
.card-top a { min-width: 0; overflow-wrap: anywhere; }
.heart { flex: 0 0 44px; }
header:not(.site-header), footer { column-gap: 22px; }
@media (max-width: 700px) {
  .age-screen { align-items: start; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
  .age-card { margin: auto; padding: 18px 0; }
  .age-card h1 { font-size: clamp(36px, 10vw, 48px); letter-spacing: -1.5px; }
  header:not(.site-header) { gap: 12px; }
  header:not(.site-header) nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; text-align: center; }
  header:not(.site-header) nav a { min-height: 44px; font-size: 13px; }
  .header-actions .outline { min-height: 44px; font-size: 14px; }
  .filters #search { flex-basis: 100%; width: 100%; }
  .filters #country, .filters #city { width: calc(50% - 4px); min-width: 0; flex: 1 1 calc(50% - 4px); }
  .filters select { font-size: 16px; }
  .filters #sort { flex: 1 1 160px; }
  .visitor-empty { padding: 30px 18px; }
  .visitor-actions > a, .visitor-actions > button { width: 100%; }
  dialog { max-height: 90dvh; padding: 44px 18px 24px; }
  dialog .close { width: 44px; height: 44px; }
  .sidebar { max-width: 100%; }
  .profile-info .detail-list { grid-template-columns: 1fr; }
  footer { gap: 16px 22px; }
  footer .wordmark { width: 100%; }
  .auth-panel { margin: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
