body[data-page="characters"] .layout-shell {
  max-width: 1280px;
  margin-top: 0;
}

body[data-page="characters"] .main-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
  padding-bottom: 28px;
}

body[data-page="characters"] .site-intro {
  margin-top: 0;
  padding-top: 0;
}

body[data-page="characters"] .character-table--scoped th:nth-child(1),
body[data-page="characters"] .character-table--scoped td:nth-child(1) {
  width: 24%;
}

body[data-page="characters"] .character-table--scoped th:nth-child(2),
body[data-page="characters"] .character-table--scoped td:nth-child(2) {
  width: 18%;
}

body[data-page="characters"] .character-table--scoped th:nth-child(3),
body[data-page="characters"] .character-table--scoped td:nth-child(3) {
  width: 34%;
}

body[data-page="characters"] .character-table--scoped th:nth-child(4),
body[data-page="characters"] .character-table--scoped td:nth-child(4) {
  width: 24%;
}

body[data-page="characters"] .character-card-meta-cell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 6px;
  min-width: 0;
}

@media (max-width: 600px) {
  body[data-page="characters"] .layout-shell {
    margin-top: 0;
  }

  body[data-page="characters"] .main-content {
    padding: 6px 8px 8px;
  }

  body[data-page="characters"] .layout-shell,
  body[data-page="characters"] .main-content,
  body[data-page="characters"] .panel,
  body[data-page="characters"] .mobile-ad-slot,
  body[data-page="characters"] .sp-ad-viewport,
  body[data-page="characters"] .sp-ad-card,
  body[data-page="characters"] .character-list,
  body[data-page="characters"] .character-card {
    max-width: 100%;
    min-width: 0;
  }

  body[data-page="characters"] .character-card-meta-cell {
    grid-template-columns: minmax(0, 1fr);
  }
}
