/* 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; }
/* Static lists have four or five columns, rather than the legacy two. */
[data-static-list] .character-table th,
[data-static-list] .character-table td { width: auto; }
[data-static-list] .character-table th:nth-child(1) { width: var(--list-col-1, 14%); }
[data-static-list] .character-table th:nth-child(2) { width: var(--list-col-2, 38%); }
[data-static-list] .character-table th:nth-child(3) { width: var(--list-col-3, 28%); }
[data-static-list] .character-table th:nth-child(4) { width: var(--list-col-4, 20%); }
[data-static-list] .character-table th:nth-child(5) { width: var(--list-col-5); }
[data-static-list] .character-table th > span { display: block; padding: 8px 10px; }
#performances { --list-col-2: 48%; --list-col-3: 24%; --list-col-4: 14%; }
#performance-casts { --list-col-2: 34%; --list-col-3: 24%; --list-col-4: 28%; }
#relationship-events { --list-col-1: 12%; --list-col-2: 19%; --list-col-3: 25%; --list-col-4: 22%; --list-col-5: 22%; }
#trophies { --list-col-1: 12%; --list-col-2: 42%; --list-col-4: 18%; }
#characters { --list-col-1: 26%; --list-col-3: 14%; --list-col-4: 22%; }
@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; }
