@scope (.program-preview) {
.mast { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 23px; }
.eyebrow { color: #775b26; font: italic 20px Georgia, serif; margin: 0 0 4px; }
.set { padding: 0; margin: 0; list-style: none; }
.number { color: #7d612a; font: 15px Georgia, serif; font-variant-numeric: tabular-nums; }
.song { font-family: "Noto Sans", Arial, sans-serif; font-size: 20px; line-height: 1.15; font-weight: 600; margin: 0; }
.players { display: flex; flex-wrap: wrap; gap: 5px 15px; align-items: baseline; }
.player { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.instrument { font-size: 11px; font-weight: 600; color: #78581d; }
.name { font-size: 13px; color: #342c21; }
.hint { color: #6c5a40; font-size: 12px; }
.b2 .set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b2 li { min-width: 0; background: #f9f3e6; border: 1px solid #d6c6a7; padding: 14px 16px; }
.b2 .players { display: block; margin: 8px 0 0 39px; }
.b2 .player { gap: 4px; }
.b2 .name { order: -1; font-size: 14px; }
.b2 .instrument { font-size: 12px; font-weight: 400; }
.b2 .hint { display: block; margin-bottom: 2px; }
.b2 .ensemble-note { display: inline-block; margin: 0 0 0 6px; white-space: nowrap; }
.players > details { width: 100%; }
.players > details summary { cursor: pointer; }
@media (max-width: 660px) {
  .b2 .set { grid-template-columns: 1fr; }
  .b2 li { padding: 13px; }
  .song { font-size: 18px; }
}
.sheets li { --sequence-width: 20px; --heading-gap: 11px; }
.sheets .card-top { display: grid; grid-template-columns: var(--sequence-width) 56px minmax(0, 1fr); align-items: start; gap: var(--heading-gap); }
.sheets .viewer-trigger { color: inherit; border: 0; padding: 0; background: none; text-align: start; font: inherit; cursor: pointer; }
.sheets .score-trigger { align-self: center; justify-self: start; min-width: 0; }
.sheets .score-trigger:hover .song { text-decoration: underline; text-underline-offset: 3px; }
.sheets .composer { display: block; margin-top: 3px; color: #705b3e; font-size: 12px; line-height: 1.25; }
.sheets .cover { display: block; width: 56px; height: 56px; object-fit: cover; border: 1px solid #cfc1a3; }
.sheets .number { padding-top: 4px; }
.sheets .players { margin: 8px 0 0 calc(var(--sequence-width) + var(--heading-gap)); line-height: 1.65; }
.sheets .player { margin-inline-end: 7px; }
.sheets .player:has(+ .player)::after { content: none; }
.sheets .ensemble-note { margin-inline-start: 0; }
.sheets .viewer-trigger:focus-visible { outline: 2px solid #775b26; outline-offset: 4px; }
@media (max-width: 660px) {
  .sheets li { --sequence-width: 19px; --heading-gap: 8px; }
  .sheets .card-top { grid-template-columns: var(--sequence-width) 42px minmax(0, 1fr); }
  .sheets .cover { width: 42px; height: 42px; }
}
}

.program-preview { color-scheme: light; background: #eee6d4; color: #28231b; padding-block: clamp(1.5rem, 5vw, 4rem); font: 15px/1.55 Arial, "Noto Sans CJK TC", sans-serif; -webkit-font-smoothing: auto; text-rendering: auto; }
.program-preview > .wrap { max-width: 1106px; padding-inline: 28px; }
.program-preview .mast h2 { margin: 0; font-size: clamp(27px, 4vw, 37px); font-weight: 500; line-height: 1.24; }
.program-preview .eyebrow { letter-spacing: normal; }
@media (max-width: 660px) { .program-preview > .wrap { padding-inline: 15px; } }
.album-grid .cover-trigger { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--surface); overflow: hidden; cursor: pointer; }
.album-grid .cover-trigger:hover img { transform: scale(1.055); }
.album-grid .cover-trigger:focus-visible { position: relative; z-index: 1; }

html:has(.score-dialog[open]), body:has(.score-dialog[open]) { overflow: hidden; }
.score-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.score-dialog::backdrop { background: #000; }
.score-scroll { position: absolute; inset: 0; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-width: none; }
.score-scroll::-webkit-scrollbar { display: none; }
.score-scroll:focus { outline: none; }
.score-pages { display: flex; flex-direction: column; align-items: center; width: max-content; min-width: 100%; padding-block: 50vh; padding-block: 50dvh; }
.score-page { margin: 0; }
.score-page img { display: block; width: 100%; height: auto; user-select: none; }
.score-close { position: absolute; z-index: 1; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #777; background: #171717e8; color: #fff; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.score-zoom { position: absolute; z-index: 1; display: flex; bottom: max(10px, env(safe-area-inset-bottom)); right: max(10px, env(safe-area-inset-right)); border: 1px solid #777; border-radius: 24px; background: #171717e8; }
.score-zoom button { min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 22px; background: transparent; color: #fff; font: 21px/1 Arial, sans-serif; cursor: pointer; }
.score-zoom [data-zoom="reset"] { min-width: 56px; font-size: 13px; font-variant-numeric: tabular-nums; }
.score-zoom button:disabled { color: #aaa; cursor: default; }
.score-close:focus-visible, .score-zoom button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.score-dialog[data-mode="album"] .score-scroll, .score-dialog[data-mode="album"] .score-zoom { display: none; }
.album-scroll { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; }
.album-view { box-sizing: border-box; width: min(100%, 860px); min-height: 100%; margin: 0 auto; padding: 64px 20px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; align-items: center; gap: 24px; }
.album-view img { display: block; width: 100%; height: auto; max-height: 65dvh; object-fit: contain; }
.album-view h2 { margin: 0; line-height: 1.2; }
.album-view p { margin: 10px 0 0; }
.album-view .album-credit { color: #d8c6a9; font-size: 14px; }
.tune-reference { margin: 18px 0 0; line-height: 1.55; }
.tune-reference blockquote { margin: 0; padding-inline-start: 12px; border-inline-start: 2px solid #80715a; }
.tune-reference figcaption { margin-top: 6px; font-size: 13px; color: #d8c6a9; }
.tune-reference cite { font-style: normal; }
.tune-reference a { color: inherit; text-underline-offset: 3px; }
.tune-reference a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.album-video { margin-top: 16px; }
.album-video :is(button, iframe) { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #171717; }
.album-video button { position: relative; overflow: hidden; cursor: pointer; }
.album-view .album-video img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.album-video button::after { content: '▶'; display: grid; place-items: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 44px; border-radius: 12px; background: #c00; color: #fff; font: 21px/1 Arial, sans-serif; }
.album-video button:hover::after { background: #e00000; }
.album-video button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.album-scroll:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (max-width: 660px) {
  .album-view { max-width: 440px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .album-view img { max-height: 55dvh; }
}
