/* Native navigation, quiet hierarchy and shared content rhythm. */
.topbar .brand { font-weight: 700; flex-wrap: wrap; gap: 0; }
.topbar .brand .latin { display: inline; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: inherit; }
.topbar nav[aria-label="站点导航"] { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 500; }
.topbar-side { min-width: 0; }
.topbar .auth-link, .topbar .account-chip { font-size: 16px; font-weight: 500; }
.topbar a[aria-current="page"] { color: var(--seal); text-decoration: underline; text-underline-offset: 6px; }
.topbar a, .topbar .account-entry { min-height: 44px; }
.topbar :focus-visible, .calendar-sections :focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; }
.calendar-sections { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 0 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.calendar-sections a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.calendar-sections a[aria-current] { color: var(--seal); text-decoration: underline; text-underline-offset: 8px; }
.birthday-page .page-heading { margin-bottom: 16px; }
.birthday-page .page-heading h1 { font-size: 32px; font-weight: 700; }
@media (max-width: 760px) {
  .topbar, .story-page .topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .topbar .brand { max-width: 100%; white-space: normal; }
  .topbar .topbar-side, .story-page .topbar-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; width: 100%; gap: 8px; }
  .topbar nav[aria-label="站点导航"], .story-page .topbar nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; align-items: start; gap: 12px; }
  .topbar .account-chip { padding: 4px 8px; gap: 4px; }
  .topbar .account-name { max-width: 3em; }
  .topbar .account-chip .avatar { display: none; }
}
