/* Scoped family browsing; does not affect the playable keyboard geometry. */
#scCatalog.if-grouped {display:block;padding-top:0;max-height:600px;scrollbar-gutter:stable;overscroll-behavior:contain;}
.if-family{margin:12px 0 26px;min-width:0;}
.if-heading{font-size:18px;letter-spacing:.015em;padding:14px 0 8px;margin:0;border-top:1px solid #355449;color:#c4efd9;}
.if-description{font-size:12px;color:#a3b9ad;line-height:1.6;margin:0 0 14px;}
.if-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.if-card-grid .sc-sound{width:100%;min-width:0;overflow-wrap:anywhere;}
.if-filter{display:flex;flex-direction:column;gap:5px;min-width:140px;flex:1;}
.if-filter>span{font-size:11px;color:#a8c0b2;}
.if-filter select{width:100%;min-width:0;}
#soundscapeLibrary>.sc-toolbar:first-of-type{align-items:end;}
.if-count{font-size:13px;color:#c3e7d3;margin:12px 20px 6px;}
.if-explainer{font-size:12px;line-height:1.65;color:#a8bfb1;margin:6px 20px 18px;max-width:960px;}
.if-reset{align-self:end;}
.if-empty{padding:20px;border:1px dashed #50735d;border-radius:7px;}
.if-header-button{display:block;font-size:11px;padding:4px 9px;margin-top:5px;min-height:25px;}
.if-legacy-heading{grid-column:1/-1;font-size:14px;padding:9px 0;margin:8px 0 0;border-bottom:1px solid #344d40;color:#bce7ce;}
#presetSelect optgroup,#fmPreset optgroup,#platformContentSelect optgroup{font-weight:700;}
#presetSelect option,#fmPreset option,#platformContentSelect option{font-weight:400;}
@media(max-width:1000px){.if-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.if-card-grid{grid-template-columns:minmax(0,1fr);} .if-count,.if-explainer{margin-left:14px;margin-right:14px;} .if-filter{min-width:125px;} .if-heading{font-size:17px;} #soundscapeLibrary .sc-toolbar>*{max-width:100%;} }
