.dml-library{--dml-blue:#e50932;--dml-red:#e50932;--dml-ink:#111c32;--dml-muted:#57677e;--dml-line:rgba(49,79,127,.22);--dml-surface:rgba(255,255,255,.88);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--dml-ink);background:transparent!important;width:100%;max-width:1280px;margin:0 auto;padding:28px 0;box-sizing:border-box;font-size:15px;line-height:1.45}
.dml-library *{box-sizing:border-box}.dml-library [hidden]{display:none!important}.dml-library button,.dml-library input,.dml-library select{font:inherit}.dml-library button{cursor:pointer;border:1px solid var(--dml-line);border-radius:5px;background:transparent;color:var(--dml-ink);padding:10px 14px;font-weight:700;line-height:1.3;box-shadow:none;text-transform:none;transition:background .15s,color .15s,border-color .15s}.dml-library button:hover{background:rgba(229,9,50,.07);border-color:var(--dml-blue)}.dml-library button:disabled{opacity:.4;cursor:default}.dml-library :is(button,a,input,select,summary):focus-visible{outline:3px solid #ffad28;outline-offset:3px}.dml-library a{color:var(--dml-blue);text-decoration:none}.dml-library a:hover{text-decoration:underline}.dml-library p{margin:0}.dml-library .dml-hero{display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:3px solid var(--dml-blue);padding:0 0 26px;margin-bottom:22px;background:transparent}.dml-library .dml-eyebrow{display:flex;align-items:center;gap:9px;font-weight:800;font-size:12px;letter-spacing:2px;color:var(--dml-blue)}.dml-library .dml-live-dot{display:inline-block;width:9px;height:9px;background:var(--dml-red);border-radius:50%}.dml-library h2{font-size:clamp(32px,5vw,58px);line-height:1.05;letter-spacing:-2px;font-weight:900;margin:10px 0 12px;color:var(--dml-ink)}.dml-library .dml-hero p{color:var(--dml-muted);font-size:15px}.dml-library .dml-hero-total{text-align:right;white-space:nowrap}.dml-library .dml-hero-total strong{display:block;font-size:44px;line-height:1;color:var(--dml-blue);letter-spacing:-2px}.dml-library .dml-hero-total span{font-size:12px;color:var(--dml-muted)}
.dml-library .dml-playlists{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:22px 0}.dml-library .dml-playlist-card{position:relative;text-align:left;display:flex;flex-direction:column;min-height:155px;border:1px solid var(--dml-line);border-top:4px solid var(--playlist-color);padding:18px;background:transparent;overflow-wrap:anywhere}.dml-library .dml-playlist-card[aria-pressed=true]{background:var(--playlist-color);color:white;border-color:var(--playlist-color)}.dml-library .dml-playlist-tag{font-size:9px;letter-spacing:1.5px;opacity:.75}.dml-library .dml-playlist-card strong{font-size:20px;line-height:1.15;margin:10px 0}.dml-library .dml-playlist-description{font-weight:400;font-size:11px;line-height:1.5;opacity:.8}.dml-library .dml-playlist-number{font-size:11px;margin-top:auto;padding-top:16px;letter-spacing:.3px}
.dml-library .dml-toolbar{display:grid;grid-template-columns:minmax(210px,2fr) repeat(3,minmax(130px,1fr)) auto;gap:13px;align-items:end;padding:20px 0;border-bottom:1px solid var(--dml-line)}.dml-library label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;letter-spacing:.25px}.dml-library input:not([type=checkbox]),.dml-library select,.dml-library textarea{border:1px solid var(--dml-line);border-radius:5px;background:var(--dml-surface);color:var(--dml-ink);min-height:42px;padding:10px 11px;width:100%;font-size:13px;box-shadow:none}.dml-library input[type=checkbox]{width:17px;height:17px;accent-color:var(--dml-blue);margin:0}.dml-library .dml-hit-label{flex-direction:row;align-items:center;min-height:42px;white-space:nowrap;padding:0 5px}.dml-library .dml-viewbar{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:22px 0 13px}.dml-library .dml-views,.dml-library .dml-tree-tools{display:flex;gap:5px;flex-wrap:wrap}.dml-library .dml-views button{border-color:transparent;padding:10px 16px;font-size:12px}.dml-library .dml-views button[aria-pressed=true]{background:var(--dml-blue);color:white}.dml-library .dml-tree-tools button{font-size:11px;padding:9px}.dml-library .dml-results-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.dml-library .dml-count{font-size:12px;color:var(--dml-muted)}.dml-library .dml-active-playlist{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:var(--dml-blue)}
.dml-library .dml-track-list{border-top:1px solid var(--dml-line)}.dml-library .dml-track{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:19px 12px;border-bottom:1px solid var(--dml-line);background:transparent}.dml-library .dml-track-meta{display:flex;gap:7px;align-items:center;margin-bottom:5px}.dml-library .dml-track-year{font-size:11px;font-weight:800;color:var(--dml-blue)}.dml-library .dml-hit-badge,.dml-library .dml-hidden-badge{background:var(--dml-red);color:white;font-size:8px;letter-spacing:1px;padding:2px 5px;border-radius:2px}.dml-library .dml-hidden-badge{background:#5c6476}.dml-library .dml-track-title{font-size:19px;line-height:1.3;font-weight:800;color:var(--dml-ink);margin:0 0 3px;overflow-wrap:anywhere}.dml-library .dml-track-artist{font-size:13px;font-weight:700;color:var(--dml-muted)}.dml-library .dml-track-album{font-size:11px;color:var(--dml-muted);margin-top:5px;overflow-wrap:anywhere}.dml-library .dml-track-genres{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.dml-library .dml-track-genres span{font-size:9px;line-height:1.6;border:1px solid var(--dml-line);padding:1px 6px;border-radius:2px}.dml-library .dml-custom-value{font-size:11px;margin-top:6px}.dml-library .dml-track-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;align-content:center;justify-content:flex-end;max-width:340px;font-size:11px}.dml-library .dml-track-actions a{border:1px solid var(--dml-line);padding:8px 10px;border-radius:4px;font-weight:700}.dml-library .dml-track-actions .dml-spotify{color:#137342;border-color:rgba(19,115,66,.35)}.dml-library .dml-track-actions button{font-size:11px;padding:8px 10px}.dml-library .dml-track-actions .dml-play{background:var(--dml-blue);color:white}.dml-library .dml-track-extra{width:100%;text-align:right;max-width:340px;font-size:10px;color:var(--dml-muted)}.dml-library .dml-track-extra summary{cursor:pointer}.dml-library .dml-track-extra>div{padding-top:8px}.dml-library .dml-track-extra p{margin-bottom:8px}.dml-library .dml-track-extra a{display:inline-block}
.dml-library .dml-tree{border-top:1px solid var(--dml-line)}.dml-library .dml-branch{border-bottom:1px solid var(--dml-line);background:transparent}.dml-library .dml-branch>summary{list-style:none;display:flex;gap:15px;align-items:center;padding:17px 14px;cursor:pointer;color:var(--dml-ink);font-weight:800;font-size:18px}.dml-library .dml-branch>summary::-webkit-details-marker{display:none}.dml-library .dml-branch>summary:hover{background:rgba(229,9,50,.045)}.dml-library .dml-branch[open]>summary{color:var(--dml-blue)}.dml-library .dml-branch-name{flex:1;overflow-wrap:anywhere}.dml-library .dml-branch-count{font-weight:400;font-size:11px;white-space:nowrap;color:var(--dml-muted)}.dml-library .dml-chevron{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border:1px solid var(--dml-line);font-size:20px;border-radius:50%;color:var(--dml-blue)}.dml-library .dml-branch[open]>summary .dml-chevron{transform:rotate(45deg)}.dml-library .dml-branch-body{padding:0 0 0 20px;border-left:2px solid rgba(229,9,50,.13);margin-left:13px}.dml-library .dml-branch-body .dml-branch>summary{font-size:13px;padding:13px 12px}.dml-library .dml-branch-body .dml-track-title{font-size:16px}.dml-library .dml-branch-body .dml-track{padding:15px 10px}.dml-library .dml-load-more{margin:12px}.dml-library .dml-pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:25px 0;font-size:12px}.dml-library .dml-pagination button{font-size:12px}.dml-library .dml-empty{text-align:center;border:1px dashed var(--dml-line);padding:45px 20px;margin:15px 0}.dml-library .dml-empty p{font-size:12px;color:var(--dml-muted);margin-top:10px}.dml-library .dml-provenance{margin-top:30px;font-size:11px;color:var(--dml-muted);border-top:1px solid var(--dml-line);padding-top:14px}.dml-library .dml-provenance summary{cursor:pointer;font-weight:700}.dml-library .dml-provenance p{margin-top:10px;max-width:900px}
.dml-library .dml-admin-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 0;border-top:1px dashed var(--dml-line);border-bottom:1px dashed var(--dml-line);margin:18px 0;font-size:11px}.dml-library .dml-admin-toolbar button{font-size:11px;padding:9px 11px}.dml-library .dml-admin-toolbar .dml-add-component{background:var(--dml-blue);color:white;font-size:12px}.dml-library .dml-add-component span{font-size:20px;line-height:10px;vertical-align:middle}.dml-library .dml-add-wrap{position:relative}.dml-library .dml-add-menu{position:absolute;left:0;top:calc(100% + 5px);z-index:100;width:200px;background:white;box-shadow:0 10px 30px rgba(20,40,70,.15);border:1px solid var(--dml-line);border-radius:6px;padding:6px}.dml-library .dml-add-menu button{width:100%;text-align:left;border:0}.dml-library .dml-import-label{font-size:10px;letter-spacing:0}.dml-library .dml-import-file{font-size:10px!important;width:160px!important;padding:3px!important;min-height:0!important}.dml-library .dml-clear-db{color:#c31f43;border-color:rgba(195,31,67,.35)}.dml-library .dml-admin-status{width:100%;color:var(--dml-muted);font-size:11px}
.dml-library .dml-editor-dialog{border:1px solid var(--dml-line);border-top:4px solid var(--dml-blue);border-radius:7px;background:#fff;color:var(--dml-ink);width:min(820px,94vw);max-height:88vh;padding:25px;overflow:auto;box-shadow:0 20px 80px rgba(0,30,100,.25)}.dml-library .dml-editor-dialog::backdrop{background:rgba(10,25,50,.6)}.dml-library .dml-editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.dml-library .dml-editor-heading h3{font-size:23px;line-height:1.2;margin:0}.dml-library .dml-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dml-library .dml-editor-dialog p{font-size:12px;color:var(--dml-muted);margin:15px 0}.dml-library .dml-editor-dialog .dml-editor-save{background:var(--dml-blue);color:white}.dml-library .dml-editor-dialog textarea{min-height:90px;resize:vertical}.dml-library .dml-wide{grid-column:1/-1}.dml-library .dml-checklist{max-height:230px;overflow:auto;border:1px solid var(--dml-line);padding:8px;margin-top:10px;grid-column:1/-1}.dml-library .dml-checklist label{display:flex;flex-direction:row;align-items:center;padding:7px;gap:9px;font-weight:400;font-size:12px}.dml-library .dml-playlist-manage-row{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--dml-line)}.dml-library .dml-playlist-manage-row strong{flex:1}.dml-library .dml-playlist-manage-row button{font-size:11px}.dml-library .dml-dialog-danger{border-top-color:var(--dml-red)}.dml-library .dml-dialog-danger .dml-editor-save{background:var(--dml-red)}
.dml-library .dml-player{position:fixed;right:22px;bottom:22px;z-index:10000;width:360px;background:#fff;border-radius:6px;box-shadow:0 12px 55px rgba(0,25,75,.25);border-top:4px solid var(--dml-blue);overflow:hidden}.dml-library .dml-player-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px}.dml-library .dml-player-label{display:block;font-size:8px;color:var(--dml-blue);letter-spacing:1.5px;font-weight:800}.dml-library .dml-now{display:block;max-width:270px;font-size:12px;margin-top:5px}.dml-library .dml-close{border:0;padding:8px}.dml-library .dml-frame iframe{display:block;width:100%;height:203px;border:0}.dml-library .dml-video-link{display:block;font-size:11px;text-align:center;padding:12px}
@media(max-width:950px){.dml-library .dml-toolbar{grid-template-columns:2fr 1fr 1fr}.dml-library .dml-search-label{grid-column:1/-1}.dml-library .dml-playlists{grid-template-columns:repeat(3,1fr)}.dml-library .dml-track-actions{max-width:250px}.dml-library .dml-viewbar{flex-direction:column}}
@media(max-width:600px){.dml-library{padding:18px 0}.dml-library h2{letter-spacing:-1px;font-size:35px}.dml-library .dml-hero{gap:12px;align-items:flex-start}.dml-library .dml-hero-total strong{font-size:29px}.dml-library .dml-hero-total span{font-size:9px}.dml-library .dml-hero p{font-size:12px}.dml-library .dml-playlists{grid-template-columns:repeat(2,1fr);gap:8px}.dml-library .dml-playlist-card{padding:12px;min-height:145px}.dml-library .dml-playlist-card strong{font-size:16px}.dml-library .dml-toolbar{grid-template-columns:1fr 1fr;gap:10px}.dml-library .dml-track{grid-template-columns:1fr;gap:12px;padding:17px 5px}.dml-library .dml-track-actions{max-width:none;justify-content:flex-start}.dml-library .dml-track-extra{max-width:none;text-align:left}.dml-library .dml-views button{font-size:11px;padding:9px 11px}.dml-library .dml-branch>summary{font-size:15px;padding:15px 7px;gap:8px}.dml-library .dml-branch-body{padding-left:8px;margin-left:5px}.dml-library .dml-branch-body .dml-branch>summary{font-size:12px;padding:13px 6px}.dml-library .dml-branch-count{font-size:9px}.dml-library .dml-editor-fields{grid-template-columns:1fr}.dml-library .dml-editor-dialog{padding:18px}.dml-library .dml-player{width:calc(100vw - 24px);max-width:360px;right:12px;bottom:12px}.dml-library .dml-frame iframe{height:200px}.dml-library .dml-results-heading{align-items:flex-start}.dml-library .dml-active-playlist{text-align:right;font-size:9px}}

/* 3.1: schede, controlli compatti e anteprime alternate */
.dml-library .dml-tabs-row{display:flex;align-items:center;gap:10px;border-bottom:2px solid var(--dml-red);margin:22px 0}
.dml-library .dml-playlists{display:flex;flex:1;gap:4px;overflow-x:auto;margin:0;padding-top:4px;align-items:stretch}
.dml-library .dml-playlist-card{flex:0 0 auto;min-height:0;display:flex;flex-direction:row;align-items:center;gap:9px;border:1px solid var(--dml-line);border-bottom:0;border-top:0;border-radius:9px 9px 0 0;padding:12px 16px;white-space:nowrap}
.dml-library .dml-playlist-card strong{font-size:13px;margin:0}.dml-library .dml-playlist-number{padding:0;margin:0;font-size:10px;opacity:.75}
.dml-library .dml-playlist-card[aria-selected=true]{background:var(--dml-red);border-color:var(--dml-red);color:#fff}
.dml-library .dml-search-row{display:flex;gap:12px;align-items:flex-end}.dml-library .dml-search-label{flex:1;min-width:0}
.dml-library .dml-quick-tools{border:0;padding:0;margin:0;flex-wrap:nowrap}.dml-library .dml-icon{width:42px;height:42px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;font-size:24px!important;color:var(--dml-red)}
.dml-library .dml-add-component,.dml-library .dml-toggle-edit[aria-pressed=true]{background:var(--dml-red);color:white}
.dml-library .dml-toolbar{grid-template-columns:110px minmax(140px,1fr) minmax(160px,1.3fr) 130px;gap:10px;padding:13px 0}
.dml-library .dml-hit-label{display:block}.dml-library .dml-admin-status{display:block;margin:6px 0}
.dml-library:not(.dml-editing) .dml-edit,.dml-library:not(.dml-editing) .dml-edit-control{display:none!important}
.dml-library .dml-track{display:flex;align-items:center;gap:22px;padding:20px 10px}.dml-library .dml-track-body{flex:1;min-width:0;display:flex;justify-content:space-between;gap:18px;align-items:center}
.dml-library .dml-video-right{flex-direction:row-reverse}.dml-library .dml-video-preview{position:relative;width:240px;flex:0 0 240px;aspect-ratio:16/9;min-height:135px;background:rgba(229,9,50,.05);border:1px solid var(--dml-line);border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.dml-library .dml-video-preview img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.dml-library .dml-preview-play{z-index:1;border:0;background:var(--dml-red);color:white;border-radius:50%;width:48px;height:48px;padding:0}
.dml-library .dml-video-missing{color:var(--dml-muted);font-size:11px}.dml-library .dml-video-preview .dml-player{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;box-shadow:none;background:#000}
.dml-library .dml-video-preview .dml-player-heading{position:absolute;z-index:2;right:0;top:0;padding:0;background:rgba(0,0,0,.65)}.dml-library .dml-video-preview .dml-player-heading>div,.dml-library .dml-video-preview .dml-video-link{display:none}.dml-library .dml-video-preview .dml-close{color:white}
.dml-library .dml-video-preview .dml-frame,.dml-library .dml-video-preview iframe{width:100%;height:100%}.dml-library .dml-fullscreen{position:absolute;right:0;bottom:0;z-index:2;background:rgba(0,0,0,.7);color:white;font-size:10px;padding:5px}
.dml-library .dml-database-tools{padding:20px;border:1px solid var(--dml-line)}
@media(max-width:950px){.dml-library .dml-track-body{flex-direction:column;align-items:flex-start}.dml-library .dml-track-actions{justify-content:flex-start;max-width:none}.dml-library .dml-track-extra{text-align:left}.dml-library .dml-toolbar{grid-template-columns:100px 1fr 1fr 110px}.dml-library .dml-video-preview{width:220px;flex-basis:220px}}
@media(max-width:600px){.dml-library .dml-toolbar{grid-template-columns:90px minmax(0,1fr)}.dml-library .dml-track,.dml-library .dml-video-right{flex-direction:column;align-items:stretch}.dml-library .dml-video-preview{width:100%;flex-basis:auto}.dml-library .dml-track-body{width:100%}.dml-library .dml-playlist-card{padding:10px 12px}.dml-library .dml-search-row{gap:7px}.dml-library .dml-icon{width:36px;height:42px}.dml-library .dml-toolbar select{min-width:0}.dml-library .dml-tabs-row{gap:6px}}

.dml-library.dml-database-page>:not(.dml-hero):not(.dml-database-tools):not(.dml-admin-status):not(.dml-editor-dialog){display:none!important}
.dml-library .dml-video-preview{min-height:200px}.dml-library .dml-video-preview .dml-fullscreen{bottom:32px}

/* Wikipedia: readable article, isolated markup and responsive dialog. */
.dml-library button.dml-wiki-link{font:inherit;color:inherit;background:none;border:0;border-radius:0;padding:0;text-align:left;font-weight:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(229,9,50,.3);text-underline-offset:3px}
.dml-library button.dml-wiki-link:hover{color:var(--dml-red);text-decoration-color:currentColor}
.dml-library button.dml-wiki-group{border:0;padding:2px 6px;color:var(--dml-red);font-size:18px;font-weight:400}
.dml-library .dml-wiki-dialog{background:#fff;color:var(--dml-ink);border:0;border-top:4px solid var(--dml-red);border-radius:10px;width:min(1040px,94vw);max-height:90vh;padding:0;box-shadow:0 25px 90px rgba(0,0,0,.25);overflow:auto;font-family:inherit}
.dml-library .dml-wiki-dialog::backdrop{background:rgba(15,20,30,.65)}
.dml-library .dml-wiki-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px;border-bottom:1px solid var(--dml-line);position:sticky;top:0;z-index:2;background:#fff}
.dml-library .dml-wiki-heading h3{font-size:26px;line-height:1.2;margin:0}.dml-library .dml-wiki-heading button{font-size:25px;border:0;padding:0 8px}
.dml-library .dml-wiki-controls{display:flex;gap:8px;padding:16px 28px}.dml-library .dml-wiki-controls select{width:110px;flex:0 0 110px}.dml-library .dml-wiki-controls input{min-width:0;flex:1}.dml-library .dml-wiki-controls button{font-size:12px}
.dml-library .dml-wiki-status{padding:0 28px;font-size:13px;color:var(--dml-muted)}.dml-library .dml-wiki-status:empty{display:none}
.dml-library .dml-wiki-content{padding:16px 28px 28px;overflow-wrap:anywhere}.dml-library .dml-wiki-article{font-size:15px;line-height:1.75}
.dml-library .dml-wiki-article p{margin:0 0 16px}.dml-library .dml-wiki-article h2{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:30px 0 15px;padding-bottom:8px;border-bottom:1px solid var(--dml-line);font-weight:750;scroll-margin-top:100px}
.dml-library .dml-wiki-article h3{font-size:19px;margin:25px 0 12px}.dml-library .dml-wiki-article h4{font-size:16px;margin:20px 0 10px}
.dml-library .dml-wiki-article img{max-width:100%;height:auto;border-radius:4px}.dml-library .dml-wiki-article table{border-collapse:collapse;max-width:100%;font-size:12px;margin:0 0 20px}.dml-library .dml-wiki-article td,.dml-library .dml-wiki-article th{padding:7px 10px;border:1px solid var(--dml-line);vertical-align:top}
.dml-library .dml-wiki-article .infobox,.dml-library .dml-wiki-article .sinottico{float:right;width:290px;max-width:42%;margin:0 0 22px 24px;background:#fafafa}.dml-library .dml-wiki-article .thumb,.dml-library .dml-wiki-article figure{max-width:340px;margin:15px 0}.dml-library .dml-wiki-article .tright{float:right;margin-left:20px}.dml-library .dml-wiki-article .thumbcaption,.dml-library .dml-wiki-article figcaption{font-size:11px;line-height:1.5;color:var(--dml-muted)}
.dml-library .dml-wiki-article ul,.dml-library .dml-wiki-article ol{padding-left:22px;margin-bottom:18px}.dml-library .dml-wiki-article blockquote{border-left:3px solid var(--dml-red);padding-left:16px;margin:20px 0;color:var(--dml-muted)}
.dml-library .dml-wiki-toc{margin-bottom:25px;padding:12px 16px;border:1px solid var(--dml-line);border-radius:5px;font-size:12px}.dml-library .dml-wiki-toc summary{cursor:pointer;font-weight:700}.dml-library .dml-wiki-toc>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.dml-library .dml-wiki-toc button{font-size:11px;padding:6px 9px}
.dml-library .dml-wiki-choice{display:block;width:100%;text-align:left;padding:15px;margin-bottom:10px}.dml-library .dml-wiki-choice strong{display:block;font-size:16px;margin-bottom:5px}.dml-library .dml-wiki-choice span{display:block;font-size:12px;font-weight:400;line-height:1.6}
.dml-library .dml-wiki-footer{clear:both;display:flex;flex-wrap:wrap;gap:10px 18px;padding:18px 28px;border-top:1px solid var(--dml-line);font-size:10px;color:var(--dml-muted)}.dml-library .dml-wiki-footer button{font-size:11px;padding:6px 10px}
.dml-library .dml-youtube-tools{width:100%;padding-top:15px;border-top:1px solid var(--dml-line)}.dml-library .dml-youtube-tools h3{font-size:18px;margin:0 0 8px}.dml-library .dml-youtube-tools p{font-size:12px;line-height:1.6;margin-bottom:12px}.dml-library .dml-youtube-candidates button{display:block;width:100%;text-align:left;margin-bottom:8px;font-size:12px}
/* Listening is an independent tab, with playback started by a user gesture. */
.dml-library.dml-listening>:is(.dml-search-row,.dml-toolbar,.dml-viewbar,.dml-results-heading,.dml-results,.dml-pagination,.dml-provenance){display:none!important}
.dml-library .dml-listen-panel{padding:20px 0 30px}.dml-library .dml-listen-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.dml-library .dml-listen-top h3{font-size:26px;line-height:1.2;margin:9px 0}.dml-library .dml-listen-top label{min-width:200px;max-width:350px}
.dml-library .dml-listen-status{font-size:12px;color:var(--dml-muted);margin:0 0 16px;min-height:20px}.dml-library .dml-listen-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:25px;align-items:center}
.dml-library .dml-listen-stage{position:relative;aspect-ratio:16/9;min-height:200px;background:#111;border-radius:8px;overflow:hidden;color:white}.dml-library .dml-listen-video,.dml-library .dml-listen-video iframe{width:100%;height:100%;position:absolute;inset:0;border:0}.dml-library .dml-listen-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;font-size:13px;color:#ddd}
.dml-library .dml-listen-detail h4{font-size:27px;line-height:1.2;margin:0 0 12px}.dml-library .dml-listen-artist{font-weight:700;font-size:17px}.dml-library .dml-listen-album{color:var(--dml-muted);font-size:12px;margin:10px 0}.dml-library .dml-listen-counter{font-size:11px;color:var(--dml-red);margin:15px 0}.dml-library .dml-listen-links{display:flex;gap:12px;flex-wrap:wrap;font-size:11px}
.dml-library .dml-listen-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:22px}.dml-library .dml-listen-controls button{min-height:42px}.dml-library .dml-listen-controls .dml-listen-play{background:var(--dml-red);color:#fff}.dml-library .dml-listen-controls label{flex-direction:row;align-items:center;gap:8px}.dml-library .dml-listen-controls select{width:105px}.dml-library .dml-listen-note{font-size:11px;color:var(--dml-muted);margin-top:16px}
.dml-library .dml-listen-stage:fullscreen{width:100vw;height:100vh;border-radius:0;aspect-ratio:auto}
@media(max-width:650px){.dml-library .dml-wiki-heading{padding:18px}.dml-library .dml-wiki-heading h3{font-size:22px}.dml-library .dml-wiki-controls{padding:12px 18px;flex-wrap:wrap}.dml-library .dml-wiki-controls select{flex-basis:100px;width:100px}.dml-library .dml-wiki-controls input{width:120px}.dml-library .dml-wiki-content{padding:15px 18px}.dml-library .dml-wiki-status{padding:0 18px}.dml-library .dml-wiki-article{font-size:14px}.dml-library .dml-wiki-article .infobox,.dml-library .dml-wiki-article .sinottico{float:none;width:100%;max-width:100%;margin:0 0 20px}.dml-library .dml-wiki-article .tright{float:none;margin-left:0}.dml-library .dml-wiki-footer{padding:16px 18px}.dml-library .dml-wiki-article table{display:block;overflow-x:auto}.dml-library .dml-listen-top{flex-direction:column;align-items:stretch}.dml-library .dml-listen-top label{max-width:none;min-width:0}.dml-library .dml-listen-layout{grid-template-columns:1fr;gap:18px}.dml-library .dml-listen-detail h4{font-size:24px}.dml-library .dml-listen-controls button{font-size:12px;padding:9px 11px}}

.dml-library .dml-brand{display:flex;align-items:center;gap:18px;min-width:0}.dml-library .dml-logo{display:block;width:88px;height:auto;flex:0 0 88px;object-fit:contain}.dml-library .dml-brand>div{min-width:0}
@media(max-width:600px){.dml-library .dml-brand{gap:10px;align-items:flex-start}.dml-library .dml-logo{width:54px;flex-basis:54px;margin-top:3px}.dml-library .dml-brand h2{font-size:27px}.dml-library .dml-hero-total strong{font-size:23px}}
