/* 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; }
/* The consolidated work page contains several table shapes at once, so the
   one-page IDs provide the column widths that former page-level body markers
   used to supply. */
#commands .work-reference-table th:nth-child(1),
#commands .work-reference-table td:nth-child(1) { width: 17%; }
#commands .work-reference-table th:nth-child(2),
#commands .work-reference-table td:nth-child(2) { width: 19%; }
#commands .work-reference-table th:nth-child(3),
#commands .work-reference-table td:nth-child(3) { width: 20%; }
#commands .work-reference-table th:nth-child(4),
#commands .work-reference-table td:nth-child(4) { width: 44%; }
#cards .work-reference-table th:nth-child(1),
#cards .work-reference-table td:nth-child(1) { width: 20%; }
#cards .work-reference-table th:nth-child(2),
#cards .work-reference-table td:nth-child(2) { width: 27%; }
#cards .work-reference-table th:nth-child(3),
#cards .work-reference-table td:nth-child(3) { width: 53%; }
@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; }

/* Rebirth of Souls consolidates four former tables; scope their independent
   column contracts to the one-page section IDs. */
body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table th:nth-child(1), body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table td:nth-child(1) { width: 34%; }
body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table th:nth-child(2), body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table td:nth-child(2) { width: 28%; }
body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table th:nth-child(3), body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table td:nth-child(3) { width: 20%; }
body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table th:nth-child(4), body[data-work-slug="rebirth-of-souls"] #characters .work-reference-table td:nth-child(4) { width: 18%; }
body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table th:nth-child(1), body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table td:nth-child(1) { width: 22%; }
body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table th:nth-child(2), body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table td:nth-child(2) { width: 15%; }
body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table th:nth-child(3), body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table td:nth-child(3) { width: 20%; }
body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table th:nth-child(4), body[data-work-slug="rebirth-of-souls"] #soul-crystals .work-reference-table td:nth-child(4) { width: 43%; }
body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table th:nth-child(1), body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table td:nth-child(1) { width: 23%; }
body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table th:nth-child(2), body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table td:nth-child(2) { width: 15%; }
body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table th:nth-child(3), body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table td:nth-child(3) { width: 20%; }
body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table th:nth-child(4), body[data-work-slug="rebirth-of-souls"] #achievements .work-reference-table td:nth-child(4) { width: 42%; }
body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table th:nth-child(1), body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table td:nth-child(1) { width: 21%; }
body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table th:nth-child(2), body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table td:nth-child(2) { width: 19%; }
body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table th:nth-child(3), body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table td:nth-child(3) { width: 15%; }
body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table th:nth-child(4), body[data-work-slug="rebirth-of-souls"] #moves .work-reference-table td:nth-child(4) { width: 45%; }
