/* Scoped listening room: the shared background and navigation stay unchanged. */
#soundtrackPage .archive-page-hero { min-height: 350px; padding: 100px max(6vw, 24px) 48px; }
#soundtrackPage .archive-page-hero h1 { font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: 1.05; max-width: 1000px; margin: 14px 0 18px; }
#soundtrackPage .archive-page-hero p { max-width: 670px; font-size: 1rem; }
#soundtrackPage .archive-section { width: min(1220px, calc(100% - 48px)); margin: 64px auto; }
#soundtrackPage .archive-section::before { font-size: 4rem; top: -28px; left: 0; opacity: .55; }
#soundtrackPage .archive-heading { font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.15; margin: 8px 0 26px; }
#soundtrackPage .archive-kicker { font-size: .8rem; line-height: 1.5; letter-spacing: .12em; }
#ostPlayer { grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); min-height: 0; padding: 36px; gap: 44px; border-radius: 26px; }
#ostPlayer .ost-artwork { min-width: 0; text-align: center; }
#ostPlayer .ost-art { width: 88%; max-width: 280px; }
#ostPlayer .ost-art-caption { display: block; color: #aca094; margin-top: 36px; font-size: .8rem; letter-spacing: .12em; }
#ostPlayer .ost-console { min-width: 0; }
#ostPlayer h3, #ostPlayer button { overflow-wrap: anywhere; }
#ostPlayer .mood-controls button { min-width: 0; }
#ostPlayer .ost-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#ostPlayer #ambientState { border: 1px solid #4d4440; border-radius: 999px; padding: 5px 12px; font: 500 .8rem/1.4 Arial, sans-serif; color: #c3b9af; }
#ostPlayer.playing #ambientState { color: var(--mood-color); border-color: color-mix(in srgb, var(--mood-color) 45%, transparent); }
#ostPlayer h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; margin: 16px 0 12px; }
#ostPlayer .archive-lead { font-size: 1rem; line-height: 1.65; max-width: 580px; }
#ostPlayer .mood-controls { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 24px 0 20px; }
#ostPlayer #ostConsole .mood-controls button { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-height: 68px; padding: 12px; border-radius: 16px !important; font-size: .875rem; text-transform: none; background: #191517 !important; color: #d4cbc1; border: 1px solid #493b36 !important; box-shadow: none !important; }
#ostPlayer .mood-controls button span { color: #9a8e81; font: .75rem Arial,sans-serif; }
#ostPlayer #ostConsole .mood-controls button.active { color: #fff; background: color-mix(in srgb, var(--mood-color) 13%, #151114) !important; border-color: var(--mood-color) !important; }
#ostPlayer .mood-controls button.active span { color: var(--mood-color); }
#ostPlayer #ostConsole button:hover { background: #282023 !important; box-shadow: none !important; border-color: #b29b77 !important; transform: translateY(-2px); }
#ostPlayer #ostConsole button:focus-visible { outline: 2px solid #efce8c !important; outline-offset: 4px; }
#ostPlayer .ost-signal { background: rgba(0,0,0,.25); border: 1px solid #332a2a; border-radius: 16px; padding: 14px 16px; }
#ostPlayer .ost-signal-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: #b5aaa0; }
#ostPlayer #ambientFrequencies { color: var(--mood-color); font-variant-numeric: tabular-nums; }
#ostPlayer .waveform { height: 65px; padding: 12px 0 0; margin: 0; gap: 3px; border: 0; justify-content: center; }
#ostPlayer .waveform i { flex: 1; min-width: 1px; max-width: none; height: 3px; border-radius: 3px; opacity: .6; animation: none !important; box-shadow: none; transition: none; }
#ostPlayer.playing .waveform i { opacity: 1; }
#ostPlayer .ost-transport { display: grid; grid-template-columns: auto minmax(130px,1fr); gap: 24px; align-items: center; margin-top: 22px; }
#ostPlayer #ostConsole #ambientToggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 20px; border-radius: 999px !important; color: #f7eee4; border: 1px solid #ac4655 !important; background: linear-gradient(120deg,#5d1a29,#301319) !important; box-shadow: none !important; font-size: .875rem; text-transform: none; letter-spacing: .02em; }
#ostPlayer #ostConsole #ambientToggle:hover { background: linear-gradient(120deg,#712636,#401b23) !important; }
#ostPlayer #ambientToggle:disabled { opacity: .65; cursor: wait; }
#ostPlayer .ost-play-icon { color: #f0c785; font-size: .9rem; }
#ostPlayer .ost-volume { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; font: .875rem/1.4 Arial,sans-serif; color: #c5b8ab; }
#ostPlayer #ambientVolumeValue { color: #f0cc88; font-variant-numeric: tabular-nums; }
#ostPlayer #ambientVolume { appearance: none; grid-column: 1 / -1; width: 100%; height: 6px; margin: 8px 0; border-radius: 999px; background: linear-gradient(to right,#c8a15e 0 var(--volume,35%),#3d3235 var(--volume,35%) 100%); accent-color: #d5b371; cursor: pointer; }
#ostPlayer #ambientVolume::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #edce92; border: 3px solid #211819; box-shadow: 0 0 0 1px #c2a674; }
#ostPlayer #ambientVolume::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #edce92; border: 2px solid #211819; }
#ostPlayer #ambientVolume:focus-visible { outline: 2px solid #efce8c; outline-offset: 7px; }
#ostPlayer #ambientStatus { min-height: 2.8em; margin: 15px 0 0; font-size: .875rem; line-height: 1.5; color: #afa397; }
#soundtrackPage .archive-panel { min-height: 240px; border-radius: 22px; padding: 28px; }
#soundtrackPage .archive-panel::before { font-size: .875rem; margin-bottom: 28px; }
#soundtrackPage .archive-panel h3 { font-size: 1.7rem; line-height: 1.2; }
#soundtrackPage .archive-panel:hover { transform: translateY(-3px); border-color: #856441; }
#soundtrackPage .archive-section[data-index="03"] { padding: 30px; border-radius: 24px; }
#soundtrackPage .archive-section[data-index="03"] .archive-heading { font-size: clamp(1.8rem,3vw,2.7rem); }
#soundtrackPage .archive-section[data-index="03"] .archive-chip { font-size: .875rem; border-radius: 999px !important; }
@media(max-width:1000px) {
    #ostPlayer { grid-template-columns: minmax(170px,230px) minmax(0,1fr); padding: 28px; gap: 28px; }
    #ostPlayer .ost-transport { grid-template-columns: 1fr; gap: 16px; }
    #ostPlayer .mood-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #soundtrackPage .archive-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    #soundtrackPage .archive-panel { padding: 22px; }
}
@media(max-width:700px) {
    #soundtrackPage .archive-page-hero { min-height: 0; padding: 105px 22px 40px; }
    #soundtrackPage .archive-page-hero h1 { font-size: clamp(2.4rem,12vw,4.4rem); overflow-wrap: anywhere; }
    #soundtrackPage .archive-section { width: calc(100% - 28px); margin: 48px auto; }
    #soundtrackPage .archive-heading { font-size: clamp(1.8rem,7.5vw,2.8rem); overflow-wrap: anywhere; }
    #ostPlayer { grid-template-columns: 1fr; padding: 24px 18px; gap: 28px; }
    #ostPlayer .ost-art { width: 170px; }
    #ostPlayer .ost-art-caption { margin-top: 27px; }
    #ostPlayer h3 { font-size: 1.8rem; }
    #ostPlayer .ost-topline .archive-kicker { font-size: .75rem; }
    #ostPlayer .ost-signal { padding: 12px; }
    #soundtrackPage .archive-grid { grid-template-columns: 1fr; }
    #soundtrackPage .archive-panel { min-height: 0; }
    #soundtrackPage .archive-panel::before { margin-bottom: 20px; }
    #soundtrackPage .archive-section[data-index="03"] { padding: 22px; }
}
@media(prefers-reduced-motion:reduce) {
    #ostPlayer *, #soundtrackPage .archive-panel { animation: none !important; transition: none !important; }
    #ostPlayer #ostConsole button:hover, #ostPlayer.playing .ost-art, #soundtrackPage .archive-panel:hover { transform: none; }
}
