/* The original table/card layout is shared; these rules only support static twins. */
body[data-rendering="static"] [hidden] { display: none !important; }
[data-static-list] { min-width: 0; scroll-margin-top: 1rem; }
[data-static-list] .static-mobile { display: none; }
[data-static-list] .character-card-value { white-space: normal; overflow-wrap: anywhere; }
[data-static-list] [data-static-count] { font-size: .8rem; text-align: right; margin: .5rem 0; }
[data-static-list] [data-static-reset] { font: inherit; cursor: pointer; }
[data-static-list] button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-static-list] .character-detail { padding: 10px; }
@media (max-width: 850px) {
  [data-static-list] .static-desktop { display: none; }
  [data-static-list] .static-mobile { display: block; }
}

body[data-rendering="static"] .static-page-kind { display: inline-block; }
[data-static-list] .static-list-description { margin: -4px 0 12px; color: var(--text-muted); line-height: 1.6; }
[data-rendering="static"] .static-page-toc { padding: 12px 16px; }
[data-rendering="static"] .static-page-toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
[data-rendering="static"] .static-page-toc li { margin: 0; padding: 0; }
[data-rendering="static"] .static-page-toc a { display: inline-flex; align-items: center; min-height: 2rem; padding: 5px 11px; border: 1px solid #f8d4e6; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 800; line-height: 1.3; text-decoration: none; }
[data-rendering="static"] .static-page-toc a:hover { background: #fff0f7; color: var(--accent); }
[data-rendering="static"] .static-page-toc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-static-list] .static-mobile .character-mobile-list-head { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
[data-static-list] .static-card-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0 10px 10px; }
[data-static-list] .static-card-fields .character-detail-item { grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); margin: 0; }
[data-static-list] .static-card-fields .character-detail-item p { overflow-wrap: anywhere; }
[data-static-list] [data-static-value] { overflow-wrap: anywhere; }
