/* 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; }

.static-control-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.static-control-actions [data-static-count] { margin: 0; }
.static-no-script-note { color: var(--text-muted); font-size: .82rem; margin: .5rem 0; }
.site-page-jump-links { margin-top: 8px; font-size: .88rem; }
.catalog-toc { line-height: 1.6; }
.catalog-table { min-width: 720px; }
.catalog-table--rc-cells th:nth-child(1), .catalog-table--rc-cells td:nth-child(1) { width: 28%; }
.catalog-table--rc-cells th:nth-child(2), .catalog-table--rc-cells td:nth-child(2) { width: 14%; }
.catalog-table--rc-cells th:nth-child(3), .catalog-table--rc-cells td:nth-child(3) { width: 18%; }
.catalog-table--rc-cells th:nth-child(4), .catalog-table--rc-cells td:nth-child(4) { width: 40%; }
.catalog-table--ability-spheres th:nth-child(1), .catalog-table--ability-spheres td:nth-child(1) { width: 32%; }
.catalog-table--ability-spheres th:nth-child(2), .catalog-table--ability-spheres td:nth-child(2) { width: 20%; }
.catalog-table--ability-spheres th:nth-child(3), .catalog-table--ability-spheres td:nth-child(3) { width: 32%; }
.catalog-table--ability-spheres th:nth-child(4), .catalog-table--ability-spheres td:nth-child(4) { width: 16%; }
.catalog-table--skills th:nth-child(1), .catalog-table--skills td:nth-child(1) { width: 24%; }
.catalog-table--skills th:nth-child(2), .catalog-table--skills td:nth-child(2) { width: 16%; }
.catalog-table--skills th:nth-child(3), .catalog-table--skills td:nth-child(3) { width: 18%; }
.catalog-table--skills th:nth-child(4), .catalog-table--skills td:nth-child(4) { width: 42%; }
.catalog-table--items th:nth-child(1), .catalog-table--items td:nth-child(1) { width: 30%; }
.catalog-table--items th:nth-child(2), .catalog-table--items td:nth-child(2) { width: 20%; }
.catalog-table--items th:nth-child(3), .catalog-table--items td:nth-child(3) { width: 50%; }
.catalog-table--battle-effects th:nth-child(1), .catalog-table--battle-effects td:nth-child(1) { width: 25%; }
.catalog-table--battle-effects th:nth-child(2), .catalog-table--battle-effects td:nth-child(2) { width: 18%; }
.catalog-table--battle-effects th:nth-child(3), .catalog-table--battle-effects td:nth-child(3) { width: 57%; }
.catalog-mobile-list-head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-card-summary { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 10px; }
.catalog-card-secondary { display: grid; gap: 5px; min-width: 0; font-size: .76rem; line-height: 1.45; }
.catalog-card-secondary span { overflow-wrap: anywhere; }
