/* 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 tables must fit the content column beside the desktop sidebar. */
[data-static-list] .character-table { min-width: 0; }
#cooking .character-table th:nth-child(1),
#cooking .character-table td:nth-child(1) { width: 55%; }
#cooking .character-table th:nth-child(2),
#cooking .character-table td:nth-child(2) { width: 20%; }
#cooking .character-table th:nth-child(3),
#cooking .character-table td:nth-child(3) { width: 25%; }
#memories .character-table th:nth-child(1),
#memories .character-table td:nth-child(1) { width: 18%; }
#memories .character-table th:nth-child(2),
#memories .character-table td:nth-child(2) { width: 82%; }

#memories .costume-card-date span:first-child { flex: 0 0 7.5rem; }
#memories .costume-card-date span:last-child { flex: 1 1 auto; min-width: 0; }

#weapons .character-name-static { word-break: normal; overflow-wrap: break-word; line-break: strict; }
