/* 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; }
/* Static lists have their own column count; the two-column character widths do not apply. */
body[data-rendering="static"] [data-static-list] .character-table { min-width: 0; }
body[data-rendering="static"] [data-static-list] .character-table th,
body[data-rendering="static"] [data-static-list] .character-table td { width: auto; }
[data-static-list] .static-mobile { display: none; }
[data-static-list] .character-card-value { white-space: normal; overflow-wrap: anywhere; }
[data-static-list] .character-card-meta--context span { font-size: .86rem; line-height: 1.5; }
[data-static-list] .character-card-meta--context strong { font-size: inherit; }
body[data-rendering="static"] [data-static-list] [data-static-reset] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--brand-light); border-radius: 10px; background: #fff; color: var(--accent); }
[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; }
body[data-rendering="static"] [data-static-list] .character-detail { padding: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
[data-static-list] .static-mobile-sort-controls { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
[data-static-list] .static-mobile-sort-controls::before { content: "その他の並び替え"; flex-basis: 100%; font-size: .8rem; color: var(--text-main); }
[data-static-list] .static-mobile-sort-controls .character-mobile-sort-button { flex: 1 1 auto; }
[data-static-list] .character-mobile-sort-label { padding: 8px; color: var(--accent); font-size: .8rem; font-weight: 700; }
[data-static-list] .static-heading-wrap { display: block; }
[data-static-list] .static-heading-part { display: inline-block; }
@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; }
