.drum-library{--a:var(--global-palette1,#29b3bc);--ink:var(--global-palette3,#292929);color:var(--ink);background:#fff;font-family:inherit;font-size:16px;line-height:1.6;padding:clamp(16px,4vw,48px);max-width:1200px;margin:auto}.drum-library *{box-sizing:border-box}.drum-library h1,.drum-library h2{font-family:inherit;font-weight:800;color:var(--ink);text-transform:none}.drum-library h1{font-size:clamp(24px,2.6vw,32px);line-height:1.15;margin:0 0 12px}.drum-library .intro{margin:0 0 30px;color:#555;max-width:960px}.drum-library .toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:4px solid var(--a);padding-bottom:20px}.drum-library fieldset{border:0;margin:0;padding:0;min-width:0}.drum-library legend{font-weight:600;margin-bottom:10px}.drum-library .types legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.drum-library label{display:inline-flex;align-items:center;gap:8px;margin:4px 16px 4px 0;cursor:pointer;font-size:14px}.drum-library input[type=checkbox]{accent-color:#147780;width:17px;height:17px;margin:0}.drum-library .types{display:flex;gap:10px}.drum-library .types label{margin:0;border:1px solid #b8d9d9;border-radius:3px;padding:10px 18px;font-weight:600}.drum-library .types label:has(input:checked){background:#eaf6f6;border-color:#1598a3}.drum-library input[type=search]{font:inherit;font-size:14px;color:var(--ink);background:#fff;border:1px solid #b8d9d9;border-radius:3px;padding:11px 14px;width:min(100%,340px)}.drum-library .filter-panel{border-bottom:1px solid #d5e5e5;padding:14px 0}.drum-library summary{font-weight:600;cursor:pointer;display:list-item;list-style-position:inside}.drum-library .filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding:20px 0}.drum-library fieldset[hidden]{display:none}.drum-library button{font:inherit;border-radius:3px;cursor:pointer;box-shadow:none;line-height:1.4}.drum-library .primary{background:var(--a);border:0;color:#111;font-weight:600;font-size:14px;padding:11px 20px}.drum-library .primary:hover{background:#b8d9d9}.drum-library .clear,.drum-library .chips button{background:transparent;color:#333;border:1px solid #b8d9d9;font-size:12px;padding:5px 9px}.drum-library .clear[hidden]{display:none}.drum-library .resultbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}.drum-library .status{font-size:13px;color:#555;margin:0}.drum-library .chips{display:flex;gap:6px;flex-wrap:wrap}.drum-library .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.drum-library article{background:var(--global-palette8,#f7faf9);border-top:3px solid var(--a);padding:22px;min-width:0}.drum-library article h2{font-size:20px;line-height:1.3;margin:8px 0 12px}.drum-library .tags{font-size:12px;color:#555;margin:0}.drum-library .tempo{font-size:13px;color:#555;margin:0 0 20px}.drum-library article.open{box-shadow:inset 0 0 0 2px var(--a)}.drum-library .player.expanded{grid-column:1/-1;min-width:0;background:#f7faf9;border-top:3px solid var(--a);padding:20px}.drum-library .player.expanded .practice{margin-top:0}.drum-library .player:empty{display:none}.drum-library .practice{max-width:760px;margin-top:20px;font-size:14px}.drum-library iframe{border:0;width:100%;height:460px;display:block;background:#fff}.drum-library .player a{display:inline-block;color:#146e75;font-size:13px;margin:10px 0;text-decoration:underline}.drum-library .pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:28px;font-size:13px}.drum-library .pagination button{padding:9px 14px;border:1px solid #b8d9d9;color:#292929;background:white}.drum-library button:disabled{opacity:.4;cursor:default}.drum-library :focus-visible{outline:3px solid #146e75;outline-offset:3px}.drum-library .empty{grid-column:1/-1}@media(max-width:850px){.drum-library .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.drum-library .filters{grid-template-columns:1fr 1fr}.drum-library .filters fieldset:first-child{grid-column:1/-1}}@media(max-width:520px){.drum-library .cards{grid-template-columns:1fr}.drum-library .toolbar{gap:14px}.drum-library input[type=search]{width:100%}.drum-library .filters{grid-template-columns:1fr}.drum-library article{padding:18px}}

/* Keep the three primary controls readable under narrow theme containers. */
.drum-library .types{min-inline-size:0;max-width:100%}
.drum-library .types label{white-space:nowrap;word-break:normal;overflow-wrap:normal;flex-shrink:0;min-height:44px}
.drum-library .types input{flex:0 0 17px}
.drum-library .types span{flex-shrink:0;white-space:nowrap}
@media(max-width:600px){.drum-library .types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px}.drum-library .types label{display:flex;justify-content:center;gap:6px;padding:10px 5px;font-size:13px;min-width:0}.drum-library .types input{width:16px;height:16px;flex-basis:16px}.drum-library .toolbar{display:block}.drum-library input[type=search]{width:100%;margin-top:12px}.drum-library .player.expanded{padding:12px}}

.drum-library .player.expanded{position:relative;padding-top:20px}.drum-library .player.expanded .practice{padding-right:48px}.drum-library .close-player{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #b8d9d9;background:#fff;color:#292929;font-family:Arial,sans-serif;font-size:30px;font-weight:400;line-height:1;cursor:pointer}.drum-library .close-player:hover{background:#eaf6f6;border-color:#1598a3}

.drum-library a.pdf-download{display:inline-block;margin:0 0 24px;color:#146e75;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}.drum-library a.pdf-download:hover{color:#292929}
