/* 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] .character-table--list-page {
  min-width: 760px;
  table-layout: auto;
}
[data-static-list] .character-table--list-page th:nth-child(n),
[data-static-list] .character-table--list-page td:nth-child(n) {
  width: auto;
}
[data-static-list] .list-page-card-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
[data-static-list] .list-page-card-summary .static-mobile-primary {
  order: -1;
  flex: 1 1 45%;
}
[data-static-list] .list-page-card-summary .static-mobile-secondary {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
[data-static-list] .list-page-card-summary .static-mobile-secondary[data-static-label]::before {
  content: attr(data-static-label) ": ";
}
[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; }
