.search-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.song-search { width: 100%; min-height: 52px; font-size: 16px; }
.songs-status { color: var(--muted); font-size: 14px; margin: 16px 0; }
.songs-status:empty { display: none; }
.song-list, .material-list { padding: 0; margin: 0; list-style: none; }
.song-list { display: grid; gap: 10px; }
.song-link { min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.song-link:hover, .material-list a:hover { background: var(--color-primary-soft); }
.song-description { min-width: 0; flex: 1; }
.song-title { display: block; font-size: 17px; font-weight: 650; line-height: 1.35; }
.song-artist { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.song-key { flex: 0 0 auto; font-size: 14px; padding: 5px 10px; border-radius: 10px; background: var(--color-primary-soft); font-weight: 650; }
.song-arrow { color: var(--muted); font-size: 24px; }
#songs-retry { border: 0; cursor: pointer; }
.back-link { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; }
.song-library-action { margin: 0 0 18px; }
.add-song-button { gap: 8px; }
.add-song-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.song-hero { margin: 0 0 26px; padding: 20px; border: 1px solid color-mix(in srgb, var(--color-primary), var(--color-border) 72%); border-radius: 24px; background: var(--color-primary-soft); }
.song-hero > h1 { margin-bottom: 6px; }
.song-detail-heading { display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.song-detail-heading > h1 { min-width: 0; flex: 0 1 auto; }
.song-hero .song-detail-heading > h1.song-detail-title { margin-bottom: 6px; }
.song-edit-action { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: 0; border-radius: 10px; color: var(--accent); text-decoration: none; opacity: .52; -webkit-tap-highlight-color: transparent; }
.song-edit-action:hover, .song-edit-action:active, .song-edit-action:focus-visible { background: var(--color-primary-soft); opacity: 1; }
.song-edit-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-artist { margin: 0 0 20px; color: var(--muted); }
.song-service-caption { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.song-materials { margin-top: 24px; border-top: 1px solid var(--line); }
.song-materials > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 12px; list-style: none; font-size: 17px; font-weight: 650; cursor: pointer; }
.song-materials > summary::-webkit-details-marker { display: none; }
.song-materials > summary::after { content: ''; width: 8px; height: 8px; flex-shrink: 0; margin-right: 4px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); }
.song-materials[open] > summary::after { transform: rotate(225deg); }
.service-song-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.service-song-navigation a, .service-song-navigation-disabled { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: white; text-align: center; text-decoration: none; font-size: 14px; font-weight: 650; }
.service-song-navigation-disabled { color: var(--muted); background: var(--surface); opacity: .55; }
.song-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 1px solid var(--line); background: white; padding: 18px; border-radius: 18px; }
.song-metadata dt { font-size: 12px; color: var(--muted); }
.song-metadata dd { margin: 4px 0 0; font-size: 20px; font-weight: 650; }
.song-metadata-inline { display: flex; gap: 0; border: 0; border-radius: 0; background: none; padding: 0; margin: 20px 0; }
.song-metadata-inline > div { flex: 1; min-width: 0; padding-inline: 16px; }
.song-metadata-inline > div:first-child { padding-left: 0; }
.song-metadata-inline > div:last-child { padding-right: 0; }
.song-metadata-inline > div + div { border-left: 1px solid var(--line); }
.song-metadata-inline dd { font-size: 18px; }
.song-original-key { margin-left: 4px; color: var(--color-text-muted); font-size: .58em; font-weight: 650; line-height: 0; opacity: .62; vertical-align: super; }
.transpose-controls { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-top: 20px; }
.transpose-controls label { flex-basis: 100%; font-size: 14px; font-weight: 600; }
.transpose-controls button, .transpose-controls select { min-height: var(--control-height); background: var(--surface); }
.transpose-controls button { min-width: 48px; cursor: pointer; font-weight: 600; }
.transpose-controls select { min-width: 0; flex: 1; }
.transpose-controls .transpose-reset { flex: 0 0 44px; min-width: 44px; min-height: 44px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border-color: transparent; }
.transpose-reset svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.transpose-reset:not(:disabled):hover { background: var(--color-primary-soft); }
.transpose-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.transpose-controls button:disabled { opacity: .5; cursor: default; }
.transpose-status { font-size: 14px; color: var(--muted); }
.song-lyrics { margin: 28px 0; font-size: 17px; }
.song-part { margin: 18px 0; padding: 16px; border-left: 3px solid color-mix(in srgb, var(--color-primary), white 58%); border-radius: 0 14px 14px 0; background: var(--surface); }
.song-section { font-size: 17px; margin: 0 0 12px; color: var(--accent); }
.lyric-line { line-height: 1.4; }
.lyric-gap { height: 18px; }
.lyric-space { white-space: pre-wrap; tab-size: 4; }
.lyric-word { display: inline-flex; max-width: 100%; vertical-align: bottom; }
.lyric-chunk { display: inline-grid; min-width: 0; grid-template-rows: auto auto; vertical-align: bottom; }
.chord { color: var(--color-chord); font-weight: 700; font-size: 14px; min-height: 20px; overflow-wrap: anywhere; }
.chord:not(:empty) { padding-right: 4px; }
.lyric-text { min-width: 0; overflow-wrap: anywhere; }
.materials-heading { font-size: 21px; }
.materials-note { font-size: 13px; color: var(--muted); }
.material-list { display: grid; gap: 8px; }
.material-list a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border-radius: 12px; background: white; border: 1px solid var(--line); text-decoration: none; }
