body[data-page="work-sidem-growing-stars"] .work-hero {
  margin-bottom: 24px;
}

body[data-page="work-sidem-growing-stars"] .site-intro-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

body[data-page="work-sidem-growing-stars"] .site-intro-top .subpage-back-link {
  margin-top: 0;
}

body[data-page="work-sidem-growing-stars"] .site-intro-top .page-updated-at {
  position: static;
  margin-top: 5px;
}

.work-overview-copy {
  margin: 0;
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.7;
}

.work-identity {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--rule-line);
}

.work-identity > div {
  display: grid;
  grid-template-columns: minmax(7em, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px dashed var(--rule-line);
}

.work-identity dt {
  color: var(--accent);
  font-weight: 800;
}

.work-identity dd {
  margin: 0;
  min-width: 0;
}

.work-common-links {
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  body[data-page="work-sidem-growing-stars"] .site-intro-top {
    gap: 8px;
  }

  body[data-page="work-sidem-growing-stars"] .site-intro-top .page-updated-at {
    margin-top: 4px;
  }

  .work-overview-copy {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .work-identity > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 4px;
  }
}


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

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

    body[data-page="work-sidem-growing-stars"] .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-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(0, 168, 137, 0.14);
      box-sizing: border-box;
    }

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

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

    #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, #fff0f7 0%, #ffe6f2 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(0, 168, 137, 0.12);
    }

    .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, #fff0f7 0%, #ffe6f2 100%);
      border-color: var(--brand);
    }

    .notes-mobile-list-head {
      display: block;
      padding: 0 2px 2px;
    }

    .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-table-wrap {
      overflow-x: auto;
      border: 2px solid #f8d4e6;
      border-radius: 18px;
      background: #fffdfd;
    }

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

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

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

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

    .notes-table tbody td {
      padding: 13px 12px;
      border-bottom: 1px solid #d6f4ec;
      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(238, 251, 247, 0.65);
    }

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

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

    .notes-sort-icon {
      display: inline-block;
      min-width: 1.2em;
      color: var(--brand);
      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: var(--brand);
    }

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

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

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

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

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

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

    .notes-unit-pill {
      display: inline-flex;
      align-items: center;
      margin: 0 5px 5px 0;
      padding: 3px 8px;
      border-radius: 999px;
      background: #e7faf5;
      color: var(--accent);
      font-size: 0.84rem;
      font-weight: 700;
    }

    .notes-muted {
      color: var(--text-muted);
    }

    .notes-credit-detail,
    .notes-variable-detail {
      border: 1px solid #d6f4ec;
      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: 42px 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 #f6ddea;
      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 #f8d4e6;
      border-radius: 14px;
      background: #fff;
      padding: 10px 12px;
    }

    .notes-card-row {
      display: block;
    }

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

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

      body[data-page="work-sidem-growing-stars"] .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-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-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(0, 168, 137, 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-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: 40px 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-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-variable-detail {
        margin-top: 8px;
        padding: 8px 10px 10px;
        border-top: 1px solid #f6ddea;
      }

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

/* Static responsive views for this work page. */
.notes-desktop-view {
  display: block;
}

.notes-mobile-view {
  display: none;
}

.notes-static-detail-row[hidden],
.notes-static-card-detail[hidden] {
  display: none;
}

@media (max-width: 850px) {
  .notes-desktop-view {
    display: none;
  }

  .notes-mobile-view {
    display: block;
  }
}
