:root{--compact-title:#b7470f;--compact-artist:#287052;--compact-number:#235b9d}
html[data-site-theme=dj],html[data-site-theme=nv480]{--compact-title:#ffb37e;--compact-artist:#8ed6b3;--compact-number:#9ec7ff}
.compact-song-list>.browser-song{display:flex;align-items:stretch;gap:0;padding:0;overflow:visible;cursor:pointer;background:var(--card,#fff)}
.compact-song-frame,.songbook-song{container-type:inline-size;min-width:0}
body .compact-song-frame{flex:1;margin:0;min-width:0}
body button.compact-song-button{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);grid-template-areas:'title title' 'artist number' 'choose choose';align-items:center;gap:10px 16px;width:100%;height:auto;min-height:150px;margin:0;padding:20px;text-align:left;white-space:normal;background:transparent;border:0;border-radius:13px;color:var(--foreground,#292929);line-height:1.5;cursor:pointer;box-shadow:none}
body button.compact-song-button:hover{background:var(--soft-hover,#fff7f1)}
body button.compact-song-button:focus-visible{outline:3px solid var(--primary,#b7470f);outline-offset:2px}
body .compact-song-button .compact-song-title{grid-area:title;display:block;min-width:0;margin:0;font-size:26px;font-weight:750;line-height:1.4;color:var(--compact-title)!important;overflow-wrap:anywhere}
body .compact-song-button .compact-song-artist{grid-area:artist;display:block;min-width:0;font-size:20px;font-weight:600;color:var(--compact-artist)!important;overflow-wrap:anywhere}
body .compact-song-button .compact-song-number{grid-area:number;display:block;max-width:100%;font-size:20px;font-weight:650;text-align:right;color:var(--compact-number)!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body .compact-song-number .compact-number-prefix{font-size:.75em;font-weight:500;white-space:nowrap}
body .compact-song-button .compact-song-choose{grid-area:choose;justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:7px 13px;border:1px solid currentColor;border-radius:9px;font-size:18px;font-weight:650;line-height:1.4;color:var(--compact-title)!important;white-space:nowrap}
body .compact-song-choose>span{font-size:1.4em;line-height:1}
.compact-song-list .browser-song-actions{display:none!important}
.compact-song-list .browser-song-actions:has(.inline-song-rename){display:flex!important;align-items:center;padding:12px}
.compact-song-list .browser-song-actions>.favorite-button,.compact-song-list .browser-song-actions>.add-song-button{display:none!important}
.compact-song-frame .song-card-admin-delete{margin:0;padding:0 20px 16px}
.big-song-browser[data-large=true] .compact-song-title{font-size:30px!important}
.big-song-browser[data-large=true] .compact-song-artist,.big-song-browser[data-large=true] .compact-song-number{font-size:23px!important}
@container (min-width:760px){body button.compact-song-button{grid-template-columns:minmax(0,1fr) minmax(90px,.4fr) minmax(105px,.45fr) max-content;grid-template-areas:'title artist number choose';min-height:108px;gap:18px;padding:22px}body .compact-song-button .compact-song-number{text-align:left}}
@media(max-width:400px){body button.compact-song-button{padding:17px 15px;gap:9px 10px}body .compact-song-button .compact-song-title{font-size:24px}body .compact-song-button .compact-song-artist,body .compact-song-button .compact-song-number{font-size:18px}body .compact-song-button .compact-song-choose{font-size:17px}}
@container (max-width:300px){body button.compact-song-button{grid-template-areas:'title title' 'artist artist' 'number number' 'choose choose'}body .compact-song-button .compact-song-number{text-align:left;justify-self:start}}
@container (max-width:759px){body button.compact-song-button[data-multiple-numbers=true]{grid-template-areas:'title title' 'artist artist' 'number number' 'choose choose'}body .compact-song-button[data-multiple-numbers=true] .compact-song-number{text-align:left;justify-self:start}}

/* Shared approved A warm-apricot card palette; page themes and controls stay intact. */
body .compact-song-list>.browser-song,body .songbook-list>.songbook-song{background:linear-gradient(135deg,#fff0d7,#f4ddbd)!important;border-color:#d6b181!important}
body button.compact-song-button{--compact-title:#a53e0c;--compact-artist:#205d45;--compact-number:#1e5194}
body button.compact-song-button:hover{background:transparent!important;box-shadow:inset 0 0 0 1px #b8844f}
body button.compact-song-button:active{background:#edcfaa66!important}
body button.compact-song-button:focus-visible{outline-color:#995321}
body button.compact-song-button.inyuan-number-result{background:linear-gradient(135deg,#fff0d7,#f4ddbd)!important;border:1px solid #d6b181}
