/* PC・スマホの両方に初期HTMLで一覧を持つ。 */
[data-static-list] [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; }

.hero-english {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
}

#heroes .character-table th:nth-child(1),
#heroes .character-table td:nth-child(1):not([colspan]) { width: 36%; }

#heroes .character-table th:nth-child(2),
#heroes .character-table td:nth-child(2) { width: 31%; }

#heroes .character-table th:nth-child(3),
#heroes .character-table td:nth-child(3) { width: 33%; }

#heroes .character-filter-control span,
#heroes .character-sort-button,
#heroes .character-mobile-sort-button,
#heroes .character-open-icon,
#heroes .character-card-value,
#heroes .character-detail-item h3,
#heroes .character-name-button:is(:hover, :focus-visible) {
  color: var(--accent);
}

@media (max-width: 850px) {
  #heroes .character-card-summary--with-value,
  #heroes .character-mobile-list-head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  }
}
