/* 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; }
[data-static-list] .character-detail-item:only-child { grid-column: 1 / -1; }
[data-static-list] .character-detail-item h3,
[data-static-list] .character-detail-item p {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}
[data-static-list] .work-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 6px 12px 9px;
  color: var(--text-main);
  font-size: .86rem;
  line-height: 1.5;
}
[data-static-list] .work-card-meta > span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
[data-static-list] .work-card-meta-label::before {
  content: attr(data-label) " ";
  font-weight: 700;
}
/* 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%; }

/* Brave Souls combines four-column and three-column tables on one page. */
body[data-work-slug="brave-souls"] #units .character-table th:nth-child(1), body[data-work-slug="brave-souls"] #units .character-table td:nth-child(1) { width: 34%; }
body[data-work-slug="brave-souls"] #units .character-table th:nth-child(2), body[data-work-slug="brave-souls"] #units .character-table td:nth-child(2) { width: 34%; }
body[data-work-slug="brave-souls"] #units .character-table th:nth-child(3), body[data-work-slug="brave-souls"] #units .character-table td:nth-child(3) { width: 14%; }
body[data-work-slug="brave-souls"] #units .character-table th:nth-child(4), body[data-work-slug="brave-souls"] #units .character-table td:nth-child(4) { width: 18%; }
body[data-work-slug="brave-souls"] #accessories .character-table th:nth-child(1), body[data-work-slug="brave-souls"] #accessories .character-table td:nth-child(1) { width: 48%; }
body[data-work-slug="brave-souls"] #accessories .character-table th:nth-child(2), body[data-work-slug="brave-souls"] #accessories .character-table td:nth-child(2) { width: 22%; }
body[data-work-slug="brave-souls"] #accessories .character-table th:nth-child(3), body[data-work-slug="brave-souls"] #accessories .character-table td:nth-child(3) { width: 30%; }
