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

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

    body[data-page="music-creators"] .page-affiliate-note {
      display: none;
    }

    .creators-hero {
      position: relative;
      margin-top: 0;
      margin-bottom: 8px;
      padding-top: 0;
    }

    .creators-hero-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: 6px;
      margin-bottom: 8px;
    }

    .creators-hero-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .creators-hero .subpage-back-link {
      margin: 0;
      flex: 0 0 auto;
    }

    .creators-hero .page-updated-at {
      position: static;
      margin: 0;
      flex: 0 0 auto;
      text-align: right;
    }

    .creators-hero .subpage-title {
      font-size: 1.35rem;
      line-height: 1.2;
      margin: 0 0 4px;
      color: var(--accent);
    }

    .creators-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .creators-search-box {
      display: grid;
      gap: 0;
      width: 100%;
    }

    .creators-search-tabs {
      position: relative;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      width: 100%;
      margin-bottom: 0;
      z-index: 1;
    }

    .creators-search-tab {
      display: flex;
      align-items: center;
      justify-content: center;
      appearance: none;
      border: 2px solid var(--brand-light);
      background: #fff;
      color: var(--accent);
      border-bottom: 2px solid var(--brand-light);
      border-radius: 12px 12px 0 0;
      min-height: 44px;
      padding: 7px 6px 6px;
      font: inherit;
      font-weight: 700;
      line-height: 1.2;
      text-align: center;
      cursor: pointer;
      box-sizing: border-box;
    }

    .creators-search-tab.is-active {
      background: linear-gradient(135deg, #fff0f7 0%, #ffe6f2 100%);
      border-color: var(--brand);
      position: relative;
      z-index: 2;
    }

    .creators-search-tab + .creators-search-tab {
      margin-left: -2px;
    }

    .creators-search {
      width: 100%;
      min-width: 0;
      padding: 8px 12px;
      border: 2px solid var(--brand-light);
      border-radius: 0 0 12px 12px;
      font: inherit;
      background: #fff;
      color: var(--text-main);
      margin-top: -2px;
    }

    .creators-search:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 4px rgba(0, 168, 137, 0.12);
    }

    .creators-filter-label {
      margin: 0 0 6px;
      font-size: 0.84rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .creators-role-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .creators-role-tab {
      appearance: none;
      border: 2px solid var(--brand-light);
      background: #fff;
      color: var(--accent);
      border-radius: 999px;
      padding: 10px 16px;
      font: inherit;
      font-weight: 700;
      line-height: 1;
      cursor: pointer;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
      box-shadow: 2px 2px 0 rgba(0, 168, 137, 0.14);
      box-sizing: border-box;
    }

    .creators-role-tab:hover,
    .creators-role-tab:focus-visible {
      border-color: var(--brand);
      transform: translateY(-1px);
      box-shadow: 4px 4px 0 rgba(0, 168, 137, 0.18);
    }

    .creators-role-tab.is-active {
      background: linear-gradient(135deg, #fff0f7 0%, #ffe6f2 100%);
      border-width: 3px;
      border-color: var(--brand);
      box-shadow: 0 0 0 2px rgba(0, 168, 137, 0.08) inset;
    }

    .creators-table-wrap {
      overflow-x: auto;
      border: 2px solid #f8d4e6;
      border-radius: 18px;
      background: #fffdfd;
    }

    .creators-table {
      width: 100%;
      min-width: 0;
      border-collapse: collapse;
      table-layout: fixed;
    }

    .creators-table th:nth-child(1),
    .creators-table td:nth-child(1) {
      width: 34%;
    }

    .creators-table th:nth-child(2),
    .creators-table td:nth-child(2) {
      width: 48%;
    }

    .creators-table th:nth-child(3),
    .creators-table td:nth-child(3) {
      width: 18%;
    }

    .creators-table thead th {
      position: sticky;
      top: 0;
      z-index: 1;
      background: #fff6fb;
      border-bottom: 2px solid #f5cade;
      padding: 0;
      text-align: left;
      white-space: nowrap;
    }

    .creators-table tbody td {
      padding: 13px 12px;
      border-bottom: 1px solid #f8dfea;
      vertical-align: middle;
      font-size: 0.96rem;
    }

    .creators-table tbody tr:last-child td {
      border-bottom: 0;
    }

    .creators-table tbody tr:nth-child(even) {
      background: rgba(252, 242, 248, 0.55);
    }

    .creators-sort-button {
      width: 100%;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      justify-content: flex-start;
      appearance: none;
      background: transparent;
      border: 0;
      padding: 13px 12px;
      font: inherit;
      font-weight: 800;
      color: var(--accent);
      cursor: pointer;
    }

    .creators-sort-button:hover,
    .creators-sort-button:focus-visible {
      background: rgba(0, 168, 137, 0.08);
      outline: none;
    }

    .creators-sort-icon {
      display: inline-block;
      min-width: 1.2em;
      color: #d16a99;
      font-size: 0.92rem;
    }

    .creators-title-button {
      width: 100%;
      display: inline-flex;
      align-items: flex-start;
      gap: 7px;
      justify-content: flex-start;
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      font: inherit;
      color: inherit;
      text-align: left;
      cursor: pointer;
    }

    .creators-title-button:hover .creators-title-button-text,
    .creators-title-button:focus-visible .creators-title-button-text {
      color: var(--accent);
    }

    .creators-title-button:focus-visible {
      outline: none;
    }

    .creators-title-button-text {
      display: block;
      min-width: 0;
      font-weight: 700;
      word-break: break-word;
    }

    .creators-title-button-icon {
      flex: 0 0 auto;
      margin-top: 0.16em;
      font-size: 0.7rem;
      line-height: 1;
      color: #d16a99;
    }

    .creators-roles-cell {
      color: var(--text-main);
    }

    .creators-role-pill,
    .creators-song-role-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 999px;
      background: #fff0f7;
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .creators-role-pill-count {
      font-variant-numeric: tabular-nums;
    }

    .creators-role-pill[data-role-key="lyricist"],
    .creators-song-role-pill[data-role-key="lyricist"] {
      background: #ffe8c9;
      color: #b56c00;
    }

    .creators-role-pill[data-role-key="composer"],
    .creators-song-role-pill[data-role-key="composer"] {
      background: #e7efff;
      color: #2f69bf;
    }

    .creators-role-pill[data-role-key="arranger"],
    .creators-song-role-pill[data-role-key="arranger"] {
      background: #e5f5e8;
      color: #31824f;
    }

    .creators-roles-cell,
    .creators-card-roles,
    .creators-song-side {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .creators-count-cell {
      font-variant-numeric: tabular-nums;
      font-weight: 800;
      color: var(--accent);
      white-space: nowrap;
    }

    .creators-detail-cell {
      padding: 12px;
      background: #fffafc;
    }

    .creators-detail {
      display: grid;
      gap: 8px;
      border: 1px solid #f4d9e7;
      border-radius: 12px;
      background: #fff;
      padding: 10px 12px 12px;
    }

    .creators-song-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding-top: 8px;
      border-top: 1px solid #f6ddea;
    }

    .creators-song-item:first-child {
      padding-top: 0;
      border-top: 0;
    }

    .creators-song-main {
      min-width: 0;
    }

    .creators-song-title {
      margin: 0;
      font-weight: 700;
      color: var(--text-main);
      word-break: break-word;
    }

    .creators-song-singer {
      margin: 4px 0 0;
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.35;
      word-break: break-word;
    }

    .creators-empty {
      margin: 0;
      padding: 28px 18px;
      text-align: center;
      color: var(--text-muted);
    }

    .creators-cards {
      display: grid;
      gap: 8px;
      padding: 8px;
    }

    .creators-mobile-list-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 80px;
      gap: 10px;
      align-items: center;
      padding: 0 2px 2px;
    }

    .creators-mobile-sort-button {
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      font: inherit;
      font-size: 0.84rem;
      font-weight: 700;
      color: var(--text-muted);
      text-align: left;
      cursor: pointer;
    }

    .creators-mobile-sort-button.is-active {
      color: var(--accent);
    }

    .creators-mobile-sort-button--count {
      text-align: right;
    }

    .creators-card {
      border: 2px solid #f8d4e6;
      border-radius: 14px;
      background: #fff;
      padding: 10px 12px;
    }

    .creators-card-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .creators-card-main {
      min-width: 0;
      display: grid;
      gap: 6px;
    }

    .creators-card-title {
      margin: 0;
      font-size: 1rem;
      line-height: 1.3;
      color: var(--text-main);
      word-break: break-word;
    }

    .creators-card-count {
      min-width: 64px;
      padding: 8px 10px;
      border-radius: 12px;
      background: #fff6fb;
      text-align: center;
      font-size: 1.12rem;
      font-weight: 800;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .creators-card .creators-detail {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #f6ddea;
    }

    @media (max-width: 850px) {
      body[data-page="music-creators"] .page-affiliate-note {
        display: block;
      }

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

      .panel {
        padding: 8px 6px;
        margin-bottom: 4px;
      }

      .creators-role-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
      }

      .creators-role-tab {
        width: 100%;
        min-width: 0;
        padding: 7px 0;
        font-size: 0.82rem;
        line-height: 1;
        box-shadow: none;
      }

      .creators-search-tab {
        min-height: 48px;
        padding: 7px 4px 6px;
        font-size: 0.82rem;
        line-height: 1.2;
      }

      .creators-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
      }
    }

    @media (max-width: 520px) {
      .panel {
        padding: 8px 6px;
      }

      .creators-hero {
        margin-top: -4px;
        margin-bottom: 6px;
        padding: 0 4px;
      }

      .creators-hero-top {
        margin-bottom: 6px;
      }

      .creators-hero-links {
        gap: 6px;
      }

      .creators-filter-label {
        margin-bottom: 4px;
      }

      .creators-role-pill,
      .creators-song-role-pill {
        gap: 5px;
        padding: 5px 8px;
        font-size: 0.74rem;
      }

      .creators-song-item {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
      }

      .creators-mobile-list-head {
        gap: 6px;
      }

      .creators-mobile-sort-button {
        font-size: 0.78rem;
      }

      .creators-card-count {
        min-width: 58px;
        font-size: 1.04rem;
      }
    }

body[data-page="idol-profiles"] .layout-shell,
body[data-page="units"] .layout-shell,
body[data-page="voice-actors"] .layout-shell {
  max-width: 1280px;
  margin-top: 0;
}

body[data-page="idol-profiles"] .main-content,
body[data-page="units"] .main-content,
body[data-page="voice-actors"] .main-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
  padding-bottom: 28px;
}

body[data-page="idol-profiles"] .page-affiliate-note,
body[data-page="units"] .page-affiliate-note,
body[data-page="voice-actors"] .page-affiliate-note {
  display: none;
}

.creators-table--idol-profiles th:nth-child(1),
.creators-table--idol-profiles td:nth-child(1) {
  width: 28%;
}

.creators-table--idol-profiles th:nth-child(2),
.creators-table--idol-profiles td:nth-child(2) {
  width: 22%;
}

.creators-table--idol-profiles th:nth-child(3),
.creators-table--idol-profiles td:nth-child(3) {
  width: 15%;
}

.creators-table--idol-profiles th:nth-child(4),
.creators-table--idol-profiles td:nth-child(4) {
  width: 20%;
}

.creators-table--idol-profiles th:nth-child(5),
.creators-table--idol-profiles td:nth-child(5) {
  width: 15%;
}

.creators-table--voice-actors th:nth-child(1),
.creators-table--voice-actors td:nth-child(1) {
  width: 34%;
}

.creators-table--voice-actors th:nth-child(2),
.creators-table--voice-actors td:nth-child(2) {
  width: 44%;
}

.creators-table--voice-actors th:nth-child(3),
.creators-table--voice-actors td:nth-child(3) {
  width: 22%;
}

.idol-filter-groups {
  display: grid;
  gap: 10px;
}

.idol-mobile-list-head {
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}

.idol-detail-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 10px;
  margin: 0;
}

.idol-detail-list dt {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.idol-detail-list dd {
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}

.idol-member-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idol-member-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  padding-top: 8px;
  border-top: 1px solid #f6ddea;
}

.idol-member-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.idol-member-name {
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

.idol-member-meta {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  word-break: break-word;
}

.idol-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.idol-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff0f7;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.idol-pill--type {
  background: #e7faf5;
}

.idol-pill--count {
  background: #e7efff;
  color: #2f69bf;
}

@media (max-width: 850px) {
  body[data-page="idol-profiles"] .page-affiliate-note,
  body[data-page="units"] .page-affiliate-note,
  body[data-page="voice-actors"] .page-affiliate-note {
    display: block;
  }

  body[data-page="idol-profiles"] .main-content,
  body[data-page="units"] .main-content,
  body[data-page="voice-actors"] .main-content {
    padding: 6px 8px 8px;
  }

  .idol-member-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .idol-detail-list {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 7px 8px;
  }
}
