

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

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

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

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

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

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

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

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

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

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

    .notes-filter-group + .notes-filter-group {
      margin-top: 8px;
    }

    .notes-filter-group[data-filter-panel="difficulty"] {
      display: none;
    }

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

    .notes-filter-toggle {
      display: none;
    }

    .notes-filter-body {
      display: block;
    }

    .notes-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(36, 52, 71, 0.14);
      box-sizing: border-box;
    }

    .notes-tab[data-attribute-style="all-filter"] {
      background: #fff;
      border-color: var(--brand-light);
      color: var(--accent);
    }

    .notes-tab[data-attribute-style="all-attribute"] {
      background: #fff;
      border-color: var(--brand-light);
      color: var(--accent);
    }

    .notes-tab[data-attribute-style="brilliant"] {
      background: #dfeeff;
      border-color: #79b0f2;
      color: #2f69bf;
    }

    .notes-tab[data-attribute-style="flash"] {
      background: #fff2bf;
      border-color: #efc248;
      color: #b88400;
    }

    .notes-tab[data-attribute-style="glitter"] {
      background: #dff1e3;
      border-color: #7fc18b;
      color: #31824f;
    }

    .notes-tab[data-attribute-style="sparkle"] {
      background: #eef3f7;
      border-color: #f58a9b;
      color: #bd4057;
    }

    .notes-tab:hover,
    .notes-tab:focus-visible {
      border-color: var(--brand);
      transform: translateY(-1px);
      box-shadow: 4px 4px 0 rgba(36, 52, 71, 0.18);
    }

    .notes-tab.is-active {
      background: linear-gradient(135deg, #eef7f8 0%, #e3eef2 100%);
      border-color: var(--brand);
    }

    .notes-tab.is-active[data-attribute-style="all-filter"] {
      background: #fff;
      border-width: 3px;
      border-color: var(--brand);
      box-shadow: 0 0 0 2px rgba(36, 52, 71, 0.08) inset;
    }

    .notes-tab.is-active[data-attribute-style="all-attribute"] {
      background: #fff;
      border-width: 3px;
      border-color: var(--brand);
      box-shadow: 0 0 0 2px rgba(36, 52, 71, 0.08) inset;
    }

    .notes-tab.is-active[data-attribute-style="brilliant"] {
      background: #dfeeff;
      border-width: 3px;
      border-color: #2f69bf;
      color: #2f69bf;
      box-shadow: none;
    }

    .notes-tab.is-active[data-attribute-style="flash"] {
      background: #fff2bf;
      border-width: 3px;
      border-color: #c79515;
      color: #b88400;
      box-shadow: none;
    }

    .notes-tab.is-active[data-attribute-style="glitter"] {
      background: #dff1e3;
      border-width: 3px;
      border-color: #31824f;
      color: #31824f;
      box-shadow: none;
    }

    .notes-tab.is-active[data-attribute-style="sparkle"] {
      background: #ffc8d2;
      border-width: 3px;
      border-color: #bd4057;
      color: #bd4057;
      box-shadow: none;
    }

    #notes-unit-tabs .notes-tab.is-active {
      border-width: 3px;
    }

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

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

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

    .notes-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;
    }

    .notes-search-tab-label {
      display: inline-block;
      max-width: 100%;
    }

    .notes-search-tab-label--stack {
      display: inline-block;
      white-space: nowrap;
    }

    .notes-search-tab-label--stack span {
      display: inline;
    }

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

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

    .notes-search {
      flex: 1 1 320px;
      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;
    }

    .notes-search:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 4px rgba(36, 52, 71, 0.12);
    }

    .notes-book-tabs {
      max-height: 220px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .notes-book-tab {
      text-align: left;
      justify-content: flex-start;
    }

    .notes-meta-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px 16px;
      align-items: center;
      margin-bottom: 12px;
    }

    .notes-mobile-difficulty-tabs {
      display: none;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
      margin-top: 8px;
    }

    .notes-mobile-difficulty-tab {
      appearance: none;
      border: 2px solid var(--brand-light);
      background: #fff;
      color: var(--accent);
      border-radius: 999px;
      padding: 8px 12px;
      font: inherit;
      font-weight: 700;
      line-height: 1;
      cursor: pointer;
      box-sizing: border-box;
    }

    .notes-mobile-difficulty-tab.is-active {
      background: linear-gradient(135deg, #eef7f8 0%, #e3eef2 100%);
      border-color: var(--brand);
    }

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

    .notes-mobile-list-head-side {
      display: grid;
      grid-template-columns: 84px 64px;
      gap: 6px;
      align-items: center;
      justify-content: end;
    }

    .notes-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;
    }

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

    .notes-mobile-sort-button--side {
      width: 100%;
      text-align: center;
    }

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

    .notes-table {
      width: 100%;
      min-width: 760px;
      border-collapse: collapse;
      table-layout: fixed;
    }

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

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

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

    .notes-table th:nth-child(n + 4),
    .notes-table td:nth-child(n + 4) {
      width: 8.5%;
    }

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

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

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

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

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

    .notes-sort-button:hover,
    .notes-sort-button:focus-visible {
      background: rgba(36, 52, 71, 0.08);
      outline: none;
    }

    .notes-table th:nth-child(n + 4) .notes-sort-button {
      flex-direction: column;
      align-items: flex-start;
      padding-inline: 4px;
      font-size: 0.82rem;
      line-height: 1.3;
    }

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

    .notes-title-cell {
      color: var(--text-main);
    }

    .notes-title-main {
      display: block;
      font-weight: 700;
    }

    .notes-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;
    }

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

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

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

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

    .notes-title-sub {
      display: block;
      margin-top: 4px;
      font-size: 0.84rem;
      color: var(--text-muted);
    }

    .notes-title-note-variation {
      display: inline-block;
      margin-top: 6px;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--accent);
    }

    .notes-attribute-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 80px;
      padding: 6px 8px;
      border-radius: 999px;
      background: #eef7f8;
      color: var(--accent);
      font-size: 0.86rem;
      font-weight: 700;
    }

    .notes-attribute-pill[data-attribute-style="all-attribute"] {
      background: #fff;
      color: var(--accent);
      border: 1px solid rgba(36, 52, 71, 0.18);
    }

    .notes-attribute-pill[data-attribute-style="brilliant"] {
      background: #e8f2ff;
      color: #2f69bf;
    }

    .notes-attribute-pill[data-attribute-style="flash"] {
      background: #fff3c9;
      color: #b88400;
    }

    .notes-attribute-pill[data-attribute-style="glitter"] {
      background: #e5f5e8;
      color: #31824f;
    }

    .notes-attribute-pill[data-attribute-style="sparkle"] {
      background: #eef3f7;
      color: #bd4057;
    }

    .notes-book-text {
      display: block;
      font-size: 0.86rem;
      line-height: 1.35;
      word-break: break-word;
    }

    .notes-platform-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      max-width: 100%;
      padding: 6px 9px;
      border-radius: 999px;
      background: #eef3f7;
      color: #2f4a5c;
      font-size: 0.78rem;
      font-weight: 700;
      line-height: 1.15;
      text-align: center;
    }

    .notes-platform-pill[data-platform="app-only"] {
      background: #fff4df;
      color: #8a5a00;
    }

    .notes-value-cell {
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    .notes-detail-button {
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      font: inherit;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--accent);
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 0.14em;
    }

    .notes-table tbody td.notes-variable-cell {
      padding: 12px;
      background: #f8fafc;
    }

    .notes-record-detail {
      display: grid;
      gap: 10px;
    }

    .notes-card .notes-record-detail {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #d7e0e7;
    }

    .notes-credit-detail,
    .notes-variable-detail {
      border: 1px solid #c7d2dc;
      border-radius: 12px;
      background: #fff;
      padding: 10px 12px 12px;
    }

    .notes-credit-list {
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .notes-credit-item {
      margin: 0;
      display: grid;
      grid-template-columns: 4.5em minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }

    .notes-credit-label {
      margin: 0;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .notes-credit-value {
      margin: 0;
      font-size: 0.9rem;
      line-height: 1.45;
      color: var(--text-main);
      word-break: break-word;
    }

    .notes-variable-detail {
      padding: 10px 12px 12px;
    }

    .notes-variable-head,
    .notes-variable-row {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
      gap: 8px;
      align-items: center;
    }

    .notes-variable-head {
      padding-bottom: 6px;
      font-size: 0.76rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .notes-variable-row {
      padding: 6px 0;
      border-top: 1px solid #d7e0e7;
      font-size: 0.88rem;
      color: var(--text-main);
    }

    .notes-variable-row:first-of-type {
      border-top: 0;
    }

    .notes-variable-unit {
      font-weight: 700;
    }

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

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

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

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

    .notes-card-main {
      min-width: 0;
    }

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

    .notes-card-singer {
      margin: 2px 0 0;
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.25;
      word-break: break-word;
    }

    .notes-card-note-variation {
      margin: 4px 0 0;
      font-size: 0.7rem;
      font-weight: 700;
      line-height: 1.2;
      color: var(--accent);
    }

    .notes-card-side {
      display: grid;
      grid-template-columns: 64px;
      align-items: center;
      justify-content: end;
      gap: 6px;
    }

    .notes-card-value {
      padding: 8px 8px;
      border-radius: 12px;
      background: #f4f8fa;
      text-align: center;
      font-size: 1.16rem;
      font-weight: 800;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .notes-card-value-button {
      appearance: none;
      border: 0;
      cursor: pointer;
    }

    .notes-card-side .notes-attribute-pill {
      width: 100%;
      min-width: 0;
    }

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

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

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

      .notes-filter-row {
        align-items: stretch;
      }

      .notes-search {
        flex-basis: 100%;
      }

      .notes-tabs,
      .notes-mobile-difficulty-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
        gap: 6px;
      }

      .notes-filter-group[data-filter-panel="difficulty"] {
        display: block;
      }

      .notes-filter-label {
        display: none;
      }

      .notes-filter-toggle {
        width: 100%;
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) 14px;
        align-items: center;
        column-gap: 10px;
        padding: 8px 12px;
        border: 2px solid var(--brand-light);
        border-radius: 12px;
        background: #fff;
        color: var(--text-main);
        font: inherit;
        cursor: pointer;
      }

      .notes-filter-toggle-label {
        font-size: 0.84rem;
        font-weight: 700;
        color: var(--text-muted);
        text-align: left;
      }

      .notes-filter-toggle-value {
        min-width: 0;
        font-size: 0.84rem;
        font-weight: 700;
        color: var(--accent);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        padding: 4px 12px;
        border-radius: 999px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .notes-filter-group[data-filter-panel="attribute"] .notes-filter-toggle-value {
        border: 1px solid transparent;
      }

      .notes-filter-group[data-filter-panel="attribute"] .notes-filter-toggle[data-attribute-style="brilliant"] .notes-filter-toggle-value {
        background: #dfeeff;
        border-color: #79b0f2;
        color: #2f69bf;
      }

      .notes-filter-group[data-filter-panel="attribute"] .notes-filter-toggle[data-attribute-style="flash"] .notes-filter-toggle-value {
        background: #fff2bf;
        border-color: #efc248;
        color: #b88400;
      }

      .notes-filter-group[data-filter-panel="attribute"] .notes-filter-toggle[data-attribute-style="glitter"] .notes-filter-toggle-value {
        background: #dff1e3;
        border-color: #7fc18b;
        color: #31824f;
      }

      .notes-filter-group[data-filter-panel="attribute"] .notes-filter-toggle[data-attribute-style="sparkle"] .notes-filter-toggle-value {
        background: #ffc8d2;
        border-color: #e26a7f;
        color: #bd4057;
      }

      .notes-filter-toggle-icon {
        font-size: 0.8rem;
        color: var(--text-muted);
        justify-self: end;
      }

      .notes-filter-body {
        display: none;
        padding-top: 6px;
      }

      .notes-filter-group.is-open .notes-filter-body {
        display: block;
      }

      .notes-filter-group.is-open .notes-filter-toggle {
        border-color: var(--brand);
        box-shadow: 0 0 0 2px rgba(36, 52, 71, 0.08) inset;
      }

      .notes-filter-group.is-open .notes-filter-toggle-icon {
        color: var(--accent);
      }

      .notes-tab,
      .notes-mobile-difficulty-tab {
        width: 100%;
        min-width: 0;
        padding: 7px 0;
        font-size: 0.82rem;
        line-height: 1;
      }

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

      .notes-search-tab-label--stack {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        white-space: normal;
      }

      .notes-search-tab-label--stack span {
        display: block;
      }

      .notes-tab {
        box-shadow: none;
      }

      .notes-book-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        max-height: 230px;
      }

      .notes-book-tab {
        width: 100%;
        border-radius: 10px;
        padding: 9px 11px;
        line-height: 1.15;
        white-space: normal;
      }

      #notes-unit-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

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

      .notes-meta-row {
        margin-bottom: 4px;
      }
    }

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

      .notes-panel-search {
        padding-bottom: 4px;
        margin-bottom: 2px;
      }

      .notes-panel-filters {
        padding-top: 4px;
        padding-bottom: 4px;
        margin-bottom: 0;
      }

      .notes-credit-item {
        grid-template-columns: 4.5em minmax(0, 1fr);
        gap: 8px;
      }

      .notes-panel-list {
        padding-top: 2px;
        padding-bottom: 0;
        margin-bottom: 0;
      }

      .notes-filter-row {
        gap: 8px;
      }

      .notes-search {
        padding: 7px 10px;
      }

      .notes-card {
        padding: 6px 10px;
      }

      .notes-attribute-pill {
        min-width: 0;
        padding: 4px 9px;
        font-size: 0.78rem;
      }

      .notes-card-title {
        font-size: 0.94rem;
        line-height: 1.2;
      }

      .notes-card-singer {
        margin-top: 1px;
        font-size: 0.74rem;
        line-height: 1.15;
      }

      .notes-card-row {
        gap: 4px;
      }

      .notes-card-side {
        grid-template-columns: 56px;
        gap: 5px;
      }

      .notes-card-value {
        padding: 6px 8px;
        font-size: 1.02rem;
      }

      .notes-variable-detail {
        margin-top: 8px;
        padding: 8px 10px 10px;
        border-top: 1px solid #d7e0e7;
      }

      .notes-variable-head,
      .notes-variable-row {
        grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
        gap: 6px;
      }

      .notes-variable-head {
        font-size: 0.68rem;
      }

      .notes-variable-row {
        font-size: 0.74rem;
      }

      .notes-detail-button {
        font-size: 0.82rem;
      }

      .notes-mobile-list-head {
        gap: 5px;
      }

      .notes-mobile-list-head-side {
        grid-template-columns: 78px 56px;
        gap: 5px;
      }

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

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

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

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

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

      .notes-filter-group + .notes-filter-group {
        margin-top: 4px;
      }

      .notes-mobile-list-head {
        padding-top: 0;
      }

      .notes-cards {
        padding-top: 4px;
        padding-bottom: 0;
      }
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .collections-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;
    }

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

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

    .collections-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;
    }

    .collections-search:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 4px rgba(36, 52, 71, 0.12);
    }

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

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

    .collections-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(36, 52, 71, 0.14);
      box-sizing: border-box;
    }

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

    .collections-role-tab.is-active {
      background: linear-gradient(135deg, #eef7f8 0%, #e3eef2 100%);
      border-width: 3px;
      border-color: var(--brand);
      box-shadow: 0 0 0 2px rgba(36, 52, 71, 0.08) inset;
    }

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

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

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

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

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

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

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

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

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

    .collections-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;
    }

    .collections-sort-button:hover,
    .collections-sort-button:focus-visible {
      background: rgba(36, 52, 71, 0.08);
      outline: none;
    }

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

    .collections-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;
    }

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

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

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

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

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

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

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

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

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

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

    .collections-role-pill[data-role-key="artist"],
    .collections-song-role-pill[data-role-key="artist"] {
      background: #eef3f7;
      color: #2f4a5c;
    }

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

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

    .collections-detail-cell {
      padding: 12px;
      background: #f8fafc;
    }

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

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

    .collections-detail-meta {
      padding: 8px 10px;
      border-radius: 10px;
      background: #f4f8fa;
    }

    .collections-detail-meta-label {
      margin: 0 0 3px;
      font-size: 0.76rem;
      font-weight: 800;
      color: var(--text-muted);
    }

    .collections-detail-meta-value {
      margin: 0;
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text-main);
      word-break: break-word;
    }

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

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

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

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

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

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

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

    .collections-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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    body[data-page="deemo"] .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, #eef7f8 0%, #e3eef2 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(36, 52, 71, 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(36, 52, 71, 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(36, 52, 71, 0.18);
    }

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

    .creators-table-wrap {
      overflow-x: auto;
      border: 2px solid #c7d2dc;
      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: #f4f8fa;
      border-bottom: 2px solid #b8c5d0;
      padding: 0;
      text-align: left;
      white-space: nowrap;
    }

    .creators-table tbody td {
      padding: 13px 12px;
      border-bottom: 1px solid #d7e0e7;
      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(36, 52, 71, 0.08);
      outline: none;
    }

    .creators-sort-icon {
      display: inline-block;
      min-width: 1.2em;
      color: #0f5f6d;
      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: #0f5f6d;
    }

    .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: #eef7f8;
      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-role-pill[data-role-key="artist"],
    .creators-song-role-pill[data-role-key="artist"] {
      background: #eef3f7;
      color: #2f4a5c;
    }

    .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: #f8fafc;
    }

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

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

    .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 #c7d2dc;
      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: #f4f8fa;
      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 #d7e0e7;
    }

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

      body[data-page="deemo"] .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="deemo"] .layout-shell {
      max-width: 1280px;
      margin-top: 0;
    }

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

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

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

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

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

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

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

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

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

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

    .characters-search:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 4px rgba(36, 52, 71, 0.12);
    }

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

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

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

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

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

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

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

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

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

    .characters-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;
    }

    .characters-sort-button:hover,
    .characters-sort-button:focus-visible {
      background: rgba(36, 52, 71, 0.08);
      outline: none;
    }

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

    .characters-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;
    }

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

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

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

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

    .characters-alias-cell {
      color: var(--text-main);
      word-break: break-word;
    }

    .characters-role-cell {
      font-weight: 800;
      color: var(--accent);
      white-space: nowrap;
    }

    .characters-detail-cell {
      padding: 12px;
      background: #f8fafc;
    }

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

    .characters-detail-profile,
    .characters-spoiler {
      margin: 0;
      color: var(--text-main);
      line-height: 1.55;
    }

    .characters-spoiler {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .characters-detail-list {
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .characters-detail-item {
      display: grid;
      grid-template-columns: 8em minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }

    .characters-detail-item dt {
      margin: 0;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .characters-detail-item dd {
      margin: 0;
      font-size: 0.9rem;
      line-height: 1.45;
      color: var(--text-main);
      word-break: break-word;
    }

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

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

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

    .characters-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;
    }

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

    .characters-mobile-sort-button--role {
      text-align: right;
    }

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

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

    .characters-card-main {
      min-width: 0;
      display: grid;
      gap: 4px;
    }

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

    .characters-card-alias {
      margin: 0;
      color: var(--text-muted);
      font-size: 0.78rem;
      line-height: 1.3;
      word-break: break-word;
    }

    .characters-card-role {
      min-width: 64px;
      padding: 8px 10px;
      border-radius: 12px;
      background: #f4f8fa;
      text-align: center;
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      white-space: nowrap;
    }

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

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

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

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

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

    @media (max-width: 520px) {
      .characters-hero {
        margin-top: -4px;
        margin-bottom: 6px;
        padding: 0 4px;
      }

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

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

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

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

      .characters-card-role {
        min-width: 58px;
        font-size: 0.78rem;
      }

      .characters-card-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        align-items: start;
      }

      .characters-card-role {
        justify-self: start;
        min-width: 0;
        padding: 6px 9px;
      }

      .characters-detail-item {
        grid-template-columns: 6.8em minmax(0, 1fr);
        gap: 8px;
      }
    }
    body[data-page="deemo"] .layout-shell {
      max-width: 1280px;
      margin-top: 0;
    }

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

    .deemo-integrated-content {
      display: grid;
      gap: 24px;
    }

    .deemo-integrated-hero {
      display: grid;
      gap: 10px;
      margin-top: 6px;
      padding: 18px 20px 20px;
      border: 2px solid var(--brand-light);
      border-radius: 20px;
      background: linear-gradient(180deg, #fff9fc 0%, #fff 100%);
      box-shadow: 0 6px 16px rgba(36, 52, 71, 0.08);
      scroll-margin-top: 16px;
    }

    .deemo-integrated-hero-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--text-muted);
      font-size: 0.8rem;
    }

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

    .deemo-integrated-hero-kicker {
      margin: 0;
      color: var(--accent);
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .deemo-integrated-title {
      margin: 0;
      color: var(--accent);
      font-size: clamp(1.65rem, 3vw, 2.35rem);
      line-height: 1.2;
    }

    .deemo-integrated-description {
      max-width: 72ch;
      margin: 0;
      color: var(--text-muted);
      line-height: 1.75;
    }

    .deemo-section-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 4px;
    }

    .deemo-section-nav a {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 7px 12px;
      border: 1px solid var(--brand-light);
      border-radius: 999px;
      background: #fff;
      color: var(--accent);
      font-size: 0.88rem;
      font-weight: 700;
      text-decoration: none;
    }

    .deemo-section-nav a:hover,
    .deemo-section-nav a:focus-visible {
      border-color: var(--brand);
      outline: none;
    }

    .deemo-content-section {
      min-width: 0;
      scroll-margin-top: 16px;
    }

    .deemo-content-section + .deemo-content-section {
      padding-top: 8px;
      border-top: 1px solid rgba(130, 86, 206, 0.18);
    }

    .deemo-related-links {
      display: grid;
      gap: 10px;
      margin-top: 2px;
    }

    .deemo-related-links h2 {
      margin: 0;
      color: var(--accent);
      font-size: 1rem;
    }

    .deemo-related-links nav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
    }

    .deemo-related-links a {
      color: var(--accent);
    }

    [data-static-desktop] {
      display: block;
    }

    [data-static-mobile] {
      display: none;
    }

    @media (max-width: 850px) {
      [data-static-desktop] {
        display: none;
      }

      [data-static-mobile] {
        display: block;
      }

      .deemo-integrated-hero {
        padding: 14px 12px 16px;
      }

      .deemo-integrated-hero-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
      }

      .deemo-integrated-title {
        font-size: 1.55rem;
      }

      .deemo-section-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .deemo-section-nav a {
        justify-content: center;
        padding-inline: 8px;
        text-align: center;
      }
    }

    @media (max-width: 520px) {
      .deemo-integrated-content {
        gap: 18px;
      }

      .deemo-section-nav {
        grid-template-columns: 1fr;
      }
    }

/* A failed or disabled interaction script leaves every detail readable. */
.deemo-content-section:not(.is-enhanced) [data-static-desktop] { display: none; }
.deemo-content-section:not(.is-enhanced) [data-static-mobile] { display: block; }
.deemo-content-section:not(.is-enhanced) [data-note-detail-host],
.deemo-content-section:not(.is-enhanced) [data-collection-detail-host],
.deemo-content-section:not(.is-enhanced) [data-creator-detail-host],
.deemo-content-section:not(.is-enhanced) [data-character-detail-host] { display: block; }
.deemo-content-section:not(.is-enhanced) .panel[aria-label="検索欄"],
.deemo-content-section:not(.is-enhanced) .notes-panel-filters,
.deemo-content-section:not(.is-enhanced) [class$="mobile-list-head"],
.deemo-content-section:not(.is-enhanced) [class$="title-button-icon"],
.deemo-content-section:not(.is-enhanced) .notes-card-side { display: none; }
.notes-static-detail { border: 1px solid #c7d2dc; border-radius: 12px; background: #fff; padding: 10px 12px; }
.notes-static-detail dl { margin: 0; display: grid; gap: 8px; }
.notes-static-detail dl > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 10px; align-items: start; }
.notes-static-detail dt { margin: 0; font-size: .78rem; font-weight: 700; color: var(--text-muted); }
.notes-static-detail dd { margin: 0; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
@media (min-width: 851px) { .is-enhanced .notes-static-detail [data-chart-notes] { display: none; } }
@media (max-width: 850px) { .is-enhanced .notes-static-detail [data-chart-notes].is-current { display: none; } }
