/* The record room: a finite set of moods, a growing catalogue of sleeves. */
[hidden]{display:none!important}
.library-page .lineup-intro h1.hero-lockup{max-width:680px;margin-block:22px 16px}
.library-page .lineup-intro{padding-top:24px}
.library-page .hero-bottom{padding-bottom:4px}
.browse-console{border:2px solid var(--ink);background:#e7dcbc;box-shadow:5px 5px 0 var(--ink);padding:28px;scroll-margin-top:20px}
.browse-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.browse-heading h2{font-size:clamp(2rem,4vw,3.4rem);margin:12px 0;letter-spacing:-.05em}
.browse-heading p:last-child{font-size:1rem;line-height:1.5}
.browse-profile{font-size:.875rem;font-weight:700;line-height:1.5;text-underline-offset:4px;flex-shrink:0;padding-block:8px}
.browse-tools{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-top:28px}
.shelf-switch{display:flex;align-self:end;border:2px solid var(--ink);background:#f8eed6;padding:4px;gap:4px}
.shelf-switch button{min-height:48px;padding:10px 18px;font-size:.9375rem;font-weight:700;display:flex;align-items:center;gap:14px}
.shelf-switch button span{font-size:.8125rem;font-weight:400}
.shelf-switch button[aria-pressed=true]{background:var(--ink);color:var(--cream)}
.search-label{display:grid;gap:8px;flex:1;max-width:360px;font-weight:700;font-size:.875rem}
.search-label input{width:100%;min-width:0;min-height:52px;border:2px solid var(--ink);background:#fffaec;padding:10px 14px;color:var(--ink);font:400 1rem Station,Arial,sans-serif;border-radius:0}
.mood-controls{margin:26px 0 0;padding:0;border:0;min-width:0}
.mood-controls legend{font-weight:700;font-size:.875rem;letter-spacing:.07em;margin-bottom:12px;padding:0;text-transform:uppercase}
.mood-buttons{display:flex;flex-wrap:wrap;gap:10px}
.mood-buttons button{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--ink);padding:12px 15px;min-height:48px;background:#fff7e2;font-size:.9375rem;line-height:1.3;font-weight:700;text-align:left}
.mood-buttons button[aria-pressed=true]{background:var(--gold);box-shadow:3px 3px 0 var(--ink);border-width:2px;padding:11px 14px}
.filter-count{min-width:1.2em;text-align:center;font-size:.8125rem;opacity:.8}
.mood-buttons button:hover,.shelf-switch button:hover:not([aria-pressed=true]){background:#f7e4a9}
.library-results{margin-top:46px;scroll-margin-top:20px}
.results-bar{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}
.results-bar h2{font-size:2rem;line-height:1.1;margin:0 0 8px;letter-spacing:-.04em}
#results-count{font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}
.result-tools{display:flex;align-items:end;gap:18px}.result-tools label{font-size:.8125rem;font-weight:700;display:grid;gap:6px}.result-tools select{appearance:none;border:1px solid var(--ink);border-radius:0;color:var(--ink);background:#fff7e2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23171612' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;padding:10px 34px 10px 12px;min-height:44px;font:400 .875rem Station,Arial,sans-serif;max-width:100%}
#reset-filters{font-size:.875rem;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px 0}
.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.record-card{border:1px solid var(--ink);background:var(--paper);display:flex;flex-direction:column;min-width:0;scroll-margin-top:24px;box-shadow:3px 3px 0 var(--ink)}
.record-art{display:block;padding:18px;background:var(--paper);line-height:0}
.record-art img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.record-card-body{padding:4px 20px 18px;display:flex;flex-direction:column;flex:1;min-width:0}
.record-badges{display:flex;flex-wrap:wrap;gap:6px;min-height:24px;margin-bottom:14px}
.record-badges span{display:inline-block;font-size:.6875rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;background:var(--ink);color:var(--cream);padding:4px 7px;line-height:1.2}
.record-tag{font-size:.8125rem;color:var(--accent);font-weight:700;line-height:1.4;margin-bottom:8px}
.record-card h3{font-size:clamp(1.3rem,2vw,1.9rem);letter-spacing:-.035em;line-height:1.1;margin:0 0 12px;overflow-wrap:break-word}
.record-card h3 a{text-decoration:none}.record-card h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.card-summary{font-size:.9375rem;line-height:1.5;margin-bottom:22px}
.card-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:auto;border-top:1px solid #17161250;padding-top:12px}
.card-actions a{display:flex;align-items:center;min-height:44px;font-weight:700;font-size:.875rem;text-underline-offset:4px}
.card-actions .listen-link{padding:9px 14px;background:var(--ink);color:var(--cream);text-decoration:none}
.listen-link:hover{background:var(--accent)}
.empty-results{padding:44px 24px;border:2px dashed #8f8265;background:#fff7e2;text-align:center}.empty-results h3{font-size:1.6rem;line-height:1.2;margin:0 0 14px}.empty-results p{font-size:1rem;line-height:1.5}.empty-results button,#load-more{display:block;background:var(--ink);color:var(--cream);padding:14px 22px;font-weight:700;min-height:48px;margin:24px auto 0}
.library-end{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;margin:60px 0 40px;border-top:2px solid var(--ink);padding-top:24px;font-weight:700;font-size:.9375rem;line-height:1.5}.library-end a{text-underline-offset:4px}
/* A single listening room, loaded only when a sleeve is opened. */
dialog.playlist-dialog{width:min(1080px,calc(100% - 32px));max-height:calc(100svh - 32px);padding:0;border:2px solid var(--ink);border-top:6px solid var(--red);box-shadow:7px 7px 0 var(--gold);background:#f2e8cf;color:var(--ink);overflow:auto}
.player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 24px;background:#f2e8cf;position:sticky;top:0;z-index:2;border-bottom:1px solid var(--ink)}
.player-toolbar>span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.player-toolbar button{display:flex;gap:12px;align-items:center;min-height:44px;font-weight:700;font-size:.875rem}.player-toolbar button span{font-size:1.5rem;font-weight:400}
.record-detail{background:var(--paper);min-width:0}.record-top{background:var(--accent);color:#fff6dd;display:flex;justify-content:space-between;gap:20px;padding:12px 24px;font-size:.8125rem;font-weight:700;line-height:1.5}
.record-top span:last-child{text-align:right}
.record-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;padding:32px;align-items:start}
.record-sleeve{min-width:0}.record-sleeve>img{width:100%;height:auto;display:block}.record-sleeve .spotify-link{width:100%;margin-top:18px}.permalink{display:block;text-align:center;font-size:.8125rem;line-height:1.5;text-underline-offset:3px;padding:16px 0 0}
.record-copy{min-width:0}.record-copy :is(h1,h2){font-size:clamp(2rem,4vw,3.3rem);line-height:1.03;letter-spacing:-.045em;margin:0 0 18px;overflow-wrap:break-word}
.record-copy p,.playlist-dialog .record-copy p{font-size:1rem;line-height:1.6;margin:12px 0 0}.record-copy .record-headline{font-weight:700}
.record-copy .player-wrap{margin-top:24px}.record-copy .player-label,.playlist-dialog .record-copy .player-label{font-size:.8125rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin:0 0 10px}
.record-copy .playback-note,.playlist-dialog .record-copy .playback-note{font-size:.8125rem;line-height:1.5}
.record-notes{border-top:1px solid #17161250;margin-top:24px;padding-top:20px}.record-notes h3{font-size:1.25rem;margin:0}.record-notes .guide-link{display:block;font-size:.9375rem}
.standalone-record .listen-main{padding-block:24px 60px}.back-to-library{display:inline-flex;min-height:44px;align-items:center;margin-bottom:18px;font-weight:700;font-size:.9375rem;text-underline-offset:4px}.standalone-record .record-detail{border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink)}
.library-page :is(input,select):focus-visible{outline:3px solid #a42812;outline-offset:4px}
@media(max-width:900px){.record-grid{gap:22px}.browse-heading{align-items:start}.browse-profile{max-width:170px;flex-shrink:1}.browse-tools{align-items:stretch;gap:18px}.shelf-switch button{padding-inline:12px}.record-layout{gap:24px;padding:24px}}
@media(max-width:760px){.browse-console{padding:22px}.browse-heading{display:block}.browse-profile{display:inline-block;max-width:none;margin-top:12px}.browse-tools{flex-direction:column;margin-top:20px}.shelf-switch{align-self:start}.search-label{max-width:none}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-art{padding:12px}.record-card-body{padding:2px 14px 14px}.record-badges{gap:4px;margin-bottom:12px}.record-badges span{font-size:.625rem;letter-spacing:.03em}.card-actions{flex-direction:column;align-items:stretch;gap:4px}.card-actions a{justify-content:center}.record-card h3{font-size:1.4rem}.results-bar{align-items:start}.result-tools{flex-direction:column-reverse;gap:4px;align-items:end}.record-layout{grid-template-columns:1fr}.record-sleeve{max-width:360px;margin:auto;width:100%}.record-copy :is(h1,h2){font-size:2.6rem}.player-toolbar{padding-inline:18px}.record-top{padding-inline:20px}}
@media(max-width:480px){.library-page main.listen-main{padding-inline:16px}.browse-console{padding:18px 16px;box-shadow:3px 3px 0 var(--ink)}.browse-heading h2{font-size:2.2rem}.browse-heading .eyebrow{font-size:.75rem}.shelf-switch{align-self:stretch}.shelf-switch button{flex:1;gap:8px;padding:10px 8px;font-size:.875rem;justify-content:center}.mood-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mood-buttons button{font-size:.8125rem;gap:8px;padding:10px;min-height:52px}.mood-buttons button[aria-pressed=true]{padding:9px}.mood-controls legend{font-size:.8125rem}.results-bar{gap:12px}.results-bar h2{font-size:1.65rem}.result-tools label{max-width:140px}.result-tools select{max-width:140px;padding-left:8px;font-size:.8125rem}.record-grid{gap:18px 12px}.record-card h3{font-size:1.25rem}.record-card-body{padding-inline:10px}.record-art{padding:10px}.card-summary{font-size:.875rem}.record-tag{font-size:.75rem}.record-badges{min-height:0}.record-badges:empty{margin-bottom:0}.record-card{box-shadow:2px 2px 0 var(--ink)}.library-end{margin-top:42px}.library-end p{width:100%}.playlist-dialog .player-toolbar>span{max-width:95px;line-height:1.4}.player-toolbar button{font-size:.8125rem;gap:6px}.record-top{font-size:.75rem;padding-inline:16px}.record-layout{padding:18px}.record-copy :is(h1,h2){font-size:2.2rem}.record-copy iframe{height:352px}.standalone-record .listen-main{padding-inline:16px}}
@media(max-width:360px){.record-grid{grid-template-columns:1fr}.record-art{padding:18px}.record-card-body{padding:0 18px 18px}.record-card h3{font-size:1.6rem}.card-actions{flex-direction:row;gap:14px}.card-actions a{flex:1}.record-badges span{font-size:.6875rem}.record-tag{font-size:.8125rem}.results-bar{flex-wrap:wrap}.result-tools{flex-direction:row;align-items:end;justify-content:space-between;width:100%}dialog.playlist-dialog{width:calc(100% - 16px)}.record-layout{padding:14px}}
