body[data-rendering="static"] .layout-shell { max-width: 1360px; }
body[data-rendering="static"] .main-content { min-width: 0; }
body[data-rendering="static"] .static-hero { margin: 0 0 12px; }
body[data-rendering="static"] .static-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 10px; }
body[data-rendering="static"] .static-hero .page-updated-at { position: static; margin: 0; text-align: right; }
body[data-rendering="static"] .static-hero .subpage-title { margin: 0 0 6px; color: var(--accent); font-size: 1.4rem; line-height: 1.25; }
body[data-rendering="static"] .static-hero > p { margin: 0; color: var(--text-muted); line-height: 1.55; }
body[data-rendering="static"] .static-page-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
body[data-rendering="static"] .static-page-toc span { margin-right: 2px; color: var(--text-muted); font-size: .83rem; }
body[data-rendering="static"] .static-page-toc a { display: inline-flex; min-height: 34px; align-items: center; padding: 5px 10px; border: 1px solid var(--brand-light); border-radius: 9px; background: #fff; color: var(--accent); font-size: .84rem; text-decoration: none; }
body[data-rendering="static"] .static-page-toc a:hover, body[data-rendering="static"] .static-page-toc a:focus-visible { border-color: var(--brand); background: var(--surface-2); }
body[data-rendering="static"] .static-section { scroll-margin-top: 1rem; }
body[data-rendering="static"] .static-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
body[data-rendering="static"] .static-section-heading h2 { margin: 0 0 4px; color: var(--accent); font-size: 1.2rem; }
body[data-rendering="static"] .static-section-heading p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
body[data-rendering="static"] .static-controls { display: grid; gap: 8px; margin-bottom: 12px; }
body[data-rendering="static"] .static-search-tabs, body[data-rendering="static"] .static-group-filters, body[data-rendering="static"] .static-sort-controls { display: flex; flex-wrap: wrap; gap: 6px; }
body[data-rendering="static"] .static-search-tabs button, body[data-rendering="static"] .static-group-filters button, body[data-rendering="static"] .static-sort-controls button, body[data-rendering="static"] .static-reset {
  min-height: 36px; padding: 6px 10px; border: 1px solid var(--brand-light); border-radius: 9px; background: #fff; color: var(--accent); font: inherit; font-size: .86rem; cursor: pointer;
}
body[data-rendering="static"] .static-search-tabs button[aria-pressed="true"], body[data-rendering="static"] .static-group-filters button[aria-pressed="true"], body[data-rendering="static"] .static-sort-controls button.is-active {
  border-color: var(--brand); background: var(--surface-2); font-weight: 700;
}
body[data-rendering="static"] .static-search-tabs button:focus-visible, body[data-rendering="static"] .static-group-filters button:focus-visible, body[data-rendering="static"] .static-sort-controls button:focus-visible, body[data-rendering="static"] .static-reset:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
body[data-rendering="static"] .static-sort-controls button:disabled { cursor: default; opacity: .65; }
body[data-rendering="static"] [data-static-search] { width: 100%; min-width: 0; min-height: 42px; padding: 8px 11px; border: 2px solid var(--brand-light); border-radius: 10px; color: var(--text-main); font: inherit; }
body[data-rendering="static"] [data-static-search]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .13); }
body[data-rendering="static"] .static-control-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
body[data-rendering="static"] .static-result-count { margin: 0; color: var(--text-muted); font-size: .82rem; text-align: right; }
body[data-rendering="static"] .static-reset { justify-self: start; }
body[data-rendering="static"] .static-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px; }
body[data-rendering="static"] .static-entry { min-width: 0; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
body[data-rendering="static"] .static-entry-title { margin: 0; color: var(--accent); font-size: .98rem; line-height: 1.4; overflow-wrap: anywhere; }
body[data-rendering="static"] .static-entry-title a { color: inherit; text-decoration-color: rgba(var(--accent-rgb), .35); text-underline-offset: .16em; }
body[data-rendering="static"] .static-entry-meta { margin: 4px 0 0; color: var(--text-muted); font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
body[data-rendering="static"] .static-muted { color: var(--text-muted); font-size: .84em; }
body[data-rendering="static"] .static-detail { margin-top: 7px; border-top: 1px solid var(--line-soft); padding-top: 6px; }
body[data-rendering="static"] .static-detail summary { color: var(--accent); font-size: .86rem; font-weight: 700; cursor: pointer; }
body[data-rendering="static"] .static-detail-body { padding: 6px 2px 1px; font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }
body[data-rendering="static"] .static-detail-body p { margin: 0; }
body[data-rendering="static"] .static-detail-body p + p { margin-top: 6px; }
body[data-rendering="static"] .static-credits, body[data-rendering="static"] .static-link-list { margin: 0; padding-left: 1.25rem; }
body[data-rendering="static"] .static-credits li + li, body[data-rendering="static"] .static-link-list li + li { margin-top: 3px; }
body[data-rendering="static"] .static-character-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 10px; margin: 7px 0 0; font-size: .84rem; }
body[data-rendering="static"] .static-character-meta div { display: flex; gap: 6px; min-width: 0; }
body[data-rendering="static"] .static-character-meta dt { flex: 0 0 auto; color: var(--text-muted); font-weight: 700; }
body[data-rendering="static"] .static-character-meta dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
body[data-rendering="static"] .static-month-toc { display: flex; flex-wrap: wrap; gap: 5px; }
body[data-rendering="static"] .static-month-toc a { display: inline-flex; min-width: 42px; min-height: 34px; justify-content: center; align-items: center; border: 1px solid var(--brand-light); border-radius: 9px; color: var(--accent); font-size: .85rem; text-decoration: none; }
body[data-rendering="static"] .static-month-group { grid-column: 1 / -1; min-width: 0; }
body[data-rendering="static"] .static-month-group > h3 { margin: 12px 0 6px; padding: 5px 9px; border-radius: 8px; background: var(--surface-2); color: var(--accent); font-size: 1rem; scroll-margin-top: 1rem; }
body[data-rendering="static"] .static-month-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
body[data-rendering="static"] .birthday-entry { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 8px; }
body[data-rendering="static"] .birthday-date { margin: 1px 0 0; color: var(--accent); font-weight: 700; white-space: nowrap; }
body[data-rendering="static"] .static-empty { padding: 16px 8px; color: var(--text-muted); text-align: center; }
@media (max-width: 850px) {
  body[data-rendering="static"] .static-items, body[data-rendering="static"] .static-month-items { grid-template-columns: minmax(0, 1fr); }
  body[data-rendering="static"] .static-control-row { align-items: flex-start; flex-direction: column; }
  body[data-rendering="static"] .static-month-toc { order: 2; }
  body[data-rendering="static"] .static-section-heading { flex-direction: column; }
  body[data-rendering="static"] .static-hero-top { margin-top: 2px; }
  body[data-page="characters"] .static-hero .page-updated-at, body[data-page="songs"] .static-hero .page-updated-at, body[data-page="singers"] .static-hero .page-updated-at { font-size: .78rem; }
}
@media (max-width: 520px) {
  body[data-rendering="static"] .static-hero { margin: 0 4px 8px; }
  body[data-rendering="static"] .static-hero .subpage-title { font-size: 1.2rem; }
  body[data-rendering="static"] .static-section { padding: 12px; }
  body[data-rendering="static"] .static-entry { padding: 10px; }
  body[data-rendering="static"] .static-search-tabs button { flex: 1 1 auto; }
  body[data-rendering="static"] .birthday-entry { grid-template-columns: 62px minmax(0, 1fr); }
}
