/* Wide website only: preserve title fonts, cards and single-row bottom player. */
html[data-sehaj-desktop-catalog="true"] .toolbar-row-controls {display:none!important;}
html[data-sehaj-desktop-catalog="true"] .toolbar-row-filters {display:block!important;width:100%!important;}
html[data-sehaj-desktop-catalog="true"] .toolbar-row-filters > :not(#qaD38A8Icons) {display:none!important;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons > button {display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;padding:8px;background:var(--card-bg,#fff);color:inherit;border:1px solid #cbd5e1;border-radius:9px;font:inherit;cursor:pointer;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons .qa-d38a8-symbol {font-size:24px;line-height:1.2;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons .qa-d38a8-label {font-size:14px;font-weight:600;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons > button[aria-pressed="true"] {background:#e7f0ff!important;border:2px solid #2563eb!important;color:#1746a2!important;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons > button:focus-visible {outline:3px solid #2563eb;outline-offset:2px;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel[open] {display:block!important;}
html[data-sehaj-desktop-catalog="true"] .card-actions > .fav-heart-btn {display:inline-flex!important;position:static!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:6px;border:1px solid #cbd5e1;border-radius:10px;font-size:25px;flex:0 0 auto;}
html[data-sehaj-desktop-catalog="true"] .qa-d38c-panel {max-width:900px;max-height:calc(100dvh - 32px);}
html[data-sehaj-desktop-catalog="true"] .qa-d38c-body {padding:20px;}
html[data-sehaj-desktop-catalog="true"] .qa-d38c-actions {grid-template-columns:repeat(4,minmax(0,1fr));}
@media(min-width:1400px){html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons {grid-template-columns:repeat(10,minmax(0,1fr));}}
/* Keep the primary playback action first and details last. */
html[data-sehaj-desktop-catalog="true"] .card-actions > .play-btn-icon {order:-2;}
html[data-sehaj-desktop-catalog="true"] .card-actions > .fav-heart-btn {order:-1;}
html[data-sehaj-desktop-catalog="true"] .card-actions > .card-more-btn {order:2;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions {display:flex;gap:12px;flex-wrap:wrap;padding:16px 0 4px;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions button {min-height:46px;padding:10px 18px;border:1px solid #94a3b8;border-radius:9px;font:inherit;font-weight:600;cursor:pointer;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Apply {background:#126feb;color:white;border-color:#126feb;}
/* Related sorting controls start a fresh row together on tablet/laptop grids. */
@media(min-width:600px){
 #moreFiltersPanel .extra-filters > .named-filter:has(#triggerSortBy) {grid-column:1!important;}
 #moreFiltersPanel .extra-filters > .named-filter:has(#triggerSortOrder) {grid-column:2!important;}
}
html[data-sehaj-tablet-player="two-row"] #moreFiltersPanel .extra-filters > .named-filter:has(#triggerSortBy) {grid-column:1!important;}
html[data-sehaj-tablet-player="two-row"] #moreFiltersPanel .extra-filters > .named-filter:has(#triggerSortOrder) {grid-column:2!important;}
/* Compact laptop controls: save vertical space, retain selected text sizes. */
html[data-sehaj-desktop-catalog="true"] #qaD38A8Icons > button {flex-direction:row;min-height:44px;padding:6px;gap:6px;}
html[data-sehaj-desktop-catalog="true"] .toolbar {padding:12px;margin-bottom:12px!important;}
html[data-sehaj-desktop-catalog="true"] #songsList {margin-top:12px!important;gap:10px;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .sehaj-desktop-filter-header {display:flex!important;align-items:center;gap:12px;padding:6px 0!important;}
html[data-sehaj-desktop-catalog="true"] .sehaj-desktop-filter-header > .named-filter {width:min(360px,50%);margin-left:auto;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .extra-filters {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px 12px!important;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .filter-btn-trigger {min-height:40px;padding:7px 10px;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter {min-width:0;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .filter-field-label {margin:0 0 3px;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions {grid-column:3/5;align-self:end;justify-content:flex-end;padding:0;gap:8px;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions button {min-height:40px;padding:7px 12px;}
html[data-sehaj-desktop-catalog="true"] .song-card {min-height:0!important;padding:12px 16px!important;gap:6px!important;}
html[data-sehaj-desktop-catalog="true"] .song-details {width:100%;}
html[data-sehaj-desktop-catalog="true"] .song-title-row {margin:0!important;padding:0!important;gap:0;}
html[data-sehaj-desktop-catalog="true"] .song-card .recording-title-field {margin:0!important;padding:0!important;}
html[data-sehaj-desktop-catalog="true"] .song-card .recording-title-toggle {min-height:0!important;margin:0!important;padding:3px 0!important;line-height:1.35;}
html[data-sehaj-desktop-catalog="true"] .sehaj-desktop-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;margin-top:8px;}
html[data-sehaj-desktop-catalog="true"] .sehaj-desktop-footer .recording-stats-row {margin:0!important;flex:1 1 auto;}
html[data-sehaj-desktop-catalog="true"] .sehaj-desktop-footer .card-actions {margin:0!important;padding:0!important;width:auto!important;flex:0 0 auto;gap:8px;}
/* Two aligned desktop filter rows, with no separate header strip. */
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .sehaj-desktop-filter-header {display:none!important;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .extra-filters {grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:end;justify-items:center;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .extra-filters > .named-filter {width:100%;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .filter-field-label {text-align:center;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerFilterContributor) {grid-column:1!important;grid-row:1;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerFilterAlbum) {grid-column:2!important;grid-row:1;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerFilterLocation) {grid-column:3!important;grid-row:1;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerFilterLanguage) {grid-column:4!important;grid-row:1;}
html[data-sehaj-desktop-catalog="true"] #closeMoreFiltersBtn {grid-column:5;grid-row:1;justify-self:center;align-self:end;min-width:44px;width:44px;height:40px;min-height:40px;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerFilterMonth) {grid-column:1!important;grid-row:2;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerSortBy) {grid-column:2!important;grid-row:2;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .named-filter:has(#triggerSortOrder) {grid-column:3!important;grid-row:2;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions {display:contents!important;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions > button:first-child {grid-column:4;grid-row:2;width:100%;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8Apply {grid-column:5;grid-row:2;width:100%;}
html[data-sehaj-desktop-catalog="true"] #moreFiltersPanel .filter-btn-trigger,
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions > button {min-height:44px;}
html[data-sehaj-desktop-catalog="true"] #closeMoreFiltersBtn {width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;}
html[data-sehaj-desktop-catalog="true"] #qaD38A8SheetActions > button:first-child {background:#126feb;color:white;border-color:#126feb;}
html[data-sehaj-desktop-catalog="true"] .qa-d38c-panel .qa-d38c-x {background:#126feb;color:white;border:1px solid rgba(255,255,255,.55);}
