/* 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; }
.archive-section-nav { margin-top: 8px; }
@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; }

/* Keep long adopted cast credits outside the compact language badge. */
.static-card-supplement { grid-column: 1 / -1; color: var(--text-main); font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.static-card-supplement p { margin: 2px 0; }
.static-card-supplement strong { color: var(--text-muted); margin-right: .25em; }
@media (max-width: 850px) {
  #voice-cast .character-card-summary, #voice-cast .character-mobile-list-head,
  #experiments .character-card-summary, #experiments .character-mobile-list-head { grid-template-columns: minmax(0, 1fr) 7.5rem; }
}

@media (min-width: 851px) and (max-width: 1100px) {
  [data-static-list] .character-detail { grid-template-columns: minmax(0, 1fr); }
}

/* Wrap compound badges between values, keeping each short term readable. */
#recordings .character-card-value, #grabpack-hands .character-card-value { word-break: keep-all; overflow-wrap: normal; }
