/* One shared audio library. Namespaced so the workshop and account can reuse it. */
.music-library{--ml-cyan:#78e7f5;--ml-lilac:#c2b3ff;--ml-muted:#a5b2d5;--ml-line:#26334f;--ml-panel:#101b32;display:grid;grid-template-columns:minmax(290px,.82fr) minmax(0,1.55fr);gap:32px;align-items:start;color:#f4f5ff;font:inherit;margin:0 0 36px;min-width:0}
.music-library *, .music-library *::before,.music-library *::after{box-sizing:border-box}
.music-library [hidden]{display:none!important}.music-library .ml-audio{display:none}
.music-library button,.music-library input,.music-library a{font:inherit}.music-library button,.music-library a{-webkit-tap-highlight-color:transparent}
.music-library button{cursor:pointer}.music-library button:disabled{cursor:default;opacity:.36}.music-library :is(button,a,input):focus-visible{outline:2px solid var(--ml-cyan);outline-offset:4px}
.music-library svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle;pointer-events:none}
.music-library .ml-player{position:sticky;top:104px;background:radial-gradient(ellipse at 50% 26%,#182d51aa,transparent 64%),linear-gradient(145deg,#111e37,#0d162a);border:1px solid var(--ml-line);border-radius:20px;padding:24px;min-width:0;box-shadow:0 16px 48px #01071538}
.music-library .ml-player-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:650;color:#dcdfff;font-size:15px;margin-bottom:22px}.music-library .ml-air-badge{color:var(--ml-cyan);font-size:12px;white-space:nowrap}.music-library .ml-air-badge::before,.music-library .ml-row-air::before{content:'';display:inline-block;width:6px;height:6px;background:var(--ml-cyan);border-radius:50%;margin-right:7px;vertical-align:middle}
.music-library .ml-cover{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;object-fit:cover;border:1px solid #42648c;border-radius:22px;margin:0 auto 24px;box-shadow:0 16px 40px #0004}
.music-library .ml-now-title{font:700 clamp(21px,2.3vw,29px)/1.2 inherit;letter-spacing:-.035em;font-family:inherit;font-weight:700;font-size:clamp(21px,2.3vw,29px);line-height:1.2;margin:0 0 10px;overflow-wrap:anywhere;color:#f5f5ff}
.music-library .ml-model{font-size:11px;line-height:1.2;border:1px solid #2d586e;background:#10314466;color:#84e2ec;border-radius:100px;display:inline-flex;padding:6px 10px;white-space:nowrap;align-items:center;justify-content:center;max-width:100%}.music-library .ml-model[data-provider=minimax]{color:var(--ml-lilac);background:#29214755;border-color:#443969}
.music-library .ml-now-variant{font-size:12px;color:var(--ml-muted);margin-left:8px}.music-library .ml-now-copy{min-width:0;margin-bottom:25px}
.music-library .ml-timeline{width:100%;min-width:0}.music-library input[type=range]{--ml-progress:0%;appearance:none;-webkit-appearance:none;height:5px;border-radius:4px;background:linear-gradient(to right,var(--ml-cyan) 0 var(--ml-progress),#39435f var(--ml-progress) 100%);border:0;cursor:pointer;padding:0;margin:9px 0 0;display:block;width:100%;box-shadow:none}
.music-library input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;border:2px solid #b5f5ff;background:#6edbef;box-shadow:0 0 12px #78e7f52b}.music-library input[type=range]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;border:2px solid #b5f5ff;background:#6edbef}.music-library input[type=range]:disabled{opacity:.4;cursor:default}
.music-library .ml-times{display:flex;justify-content:space-between;font-size:12px;font-variant-numeric:tabular-nums;color:#b8c6e6;margin-top:12px}
.music-library .ml-transport{display:grid;grid-template-columns:1fr 1fr 1.45fr 1fr 1fr;gap:7px;align-items:center;justify-items:center;margin:20px 0 24px}
.music-library .ml-icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:0;background:transparent;color:#c9c9f5;width:40px;height:40px;min-height:40px;padding:9px;border-radius:12px;text-decoration:none;transition:background .15s,color .15s}.music-library .ml-icon-button:hover{background:#a3bef014;color:#fff}.music-library .ml-icon-button[aria-pressed=true]{color:var(--ml-cyan)}
.music-library .ml-main-play{display:flex;align-items:center;justify-content:center;border:1px solid #d3c6ff;box-shadow:0 6px 26px #a792ff25;color:#17213b;background:linear-gradient(145deg,#e4d9ff,#ada7f6);width:66px;height:66px;border-radius:50%;padding:18px;transition:transform .15s,box-shadow .15s}.music-library .ml-main-play svg{width:28px;height:28px}.music-library .ml-main-play:hover{transform:scale(1.035);box-shadow:0 6px 30px #a792ff50}.music-library .is-loading .ml-main-play{box-shadow:0 0 0 5px #c2b3ff22}
.music-library .ml-player-lower{display:flex;gap:10px;align-items:center;color:var(--ml-muted);font-size:11px}.music-library .ml-player-lower .ml-mute{width:28px;min-width:28px;padding:4px}.music-library .ml-volume{flex:1;min-width:30px;max-width:140px;margin:0!important;--ml-cyan:var(--ml-lilac)}.music-library .ml-queue-note{margin-left:auto;white-space:nowrap}.music-library .ml-player-status{color:#d0c5ff;font-size:12px;line-height:1.6;margin:14px 0 0}
.music-library .ml-collection{min-width:0;padding-top:6px}.music-library .ml-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 23px}.music-library .ml-heading h2{font-family:inherit;font-size:clamp(23px,2.4vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.035em;margin:0;color:#f3f4ff}.music-library .ml-create{display:inline-flex;gap:10px;align-items:center;justify-content:center;white-space:nowrap;min-height:46px;color:#092237;background:var(--ml-cyan);font-size:13px;font-weight:700;padding:12px 17px;border-radius:12px;text-decoration:none;box-shadow:0 4px 20px #77e6f510}.music-library .ml-create:hover{background:#a0f3fa}
.music-library .ml-toolbar{display:flex;gap:15px}.music-library .ml-search{display:flex;align-items:center;gap:12px;border:1px solid var(--ml-line);border-radius:12px;padding:0 15px;min-height:48px;flex:1;color:#aebee5;background:#0b152788;margin:0}.music-library .ml-search input{width:100%;min-width:0;border:0;outline:0;background:transparent!important;color:#f4f5ff;padding:12px 0;box-shadow:none;font-size:14px;border-radius:0;min-height:0}.music-library .ml-search input::placeholder{color:#667b9e}.music-library .ml-search:focus-within{border-color:#78e7f599;box-shadow:0 0 0 3px #78e7f50a}
.music-library .ml-tabs{display:flex;gap:24px;margin:17px 0 0;border-bottom:1px solid var(--ml-line)}.music-library .ml-tabs:empty{display:none}.music-library .ml-tab{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0 13px;min-height:42px;font-size:13px;font-weight:500;color:var(--ml-muted);white-space:nowrap}.music-library .ml-tab[aria-pressed=true]{color:var(--ml-cyan);border-bottom-color:var(--ml-cyan)}
.music-library .ml-filterbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:20px 0 16px}.music-library .ml-filters{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.music-library .ml-filter{color:#acbee1;border:1px solid #2a3c5d;padding:8px 13px;min-height:37px;white-space:nowrap;border-radius:99px;font-size:12px;background:#0f1b31}.music-library .ml-filter[aria-pressed=true]{border-color:var(--ml-cyan);background:var(--ml-cyan);color:#0b2638}.music-library .ml-count{color:var(--ml-muted);font-size:12px;white-space:nowrap}
.music-library .ml-table-head,.music-library .ml-row{display:grid;grid-template-columns:20px minmax(100px,1fr) 120px 45px minmax(48px,135px);gap:12px;align-items:center}.music-library .ml-table-head{font-size:10px;color:var(--ml-muted);padding:0 14px 12px}.music-library .ml-table-head span:nth-child(4){font-size:0}.music-library .ml-table-head span:nth-child(4)::after{content:'Время';font-size:10px}.music-library .ml-table-head span:nth-child(5){text-align:right}
.music-library .ml-row{position:relative;padding:13px 14px;min-height:80px;border-bottom:1px solid #26334f99;border-radius:0}.music-library .ml-row.is-current{border:1px solid #46537f;background:linear-gradient(110deg,#182444,#171e38);border-radius:12px;padding:12px 13px;box-shadow:0 7px 25px #02091922}.music-library .ml-row-number{font-size:12px;color:var(--ml-muted);font-variant-numeric:tabular-nums}.music-library .ml-row-title-cell{display:flex;align-items:center;gap:10px;min-width:0}.music-library .ml-row-cover{height:44px;width:44px;border:1px solid #43619766;border-radius:8px;object-fit:cover;flex-shrink:0}.music-library .ml-row-cover.tone-1{filter:hue-rotate(38deg)}.music-library .ml-row-cover.tone-2{filter:hue-rotate(-24deg)}.music-library .ml-row-cover.tone-3{filter:hue-rotate(75deg)}.music-library .ml-row-copy{display:flex;flex-direction:column;min-width:0;gap:5px}.music-library .ml-row-title{font-weight:600;font-size:13px;line-height:1.4;overflow-wrap:anywhere;color:#f3f4ff}.music-library .ml-row-variant{font-size:10px;line-height:1.4;color:#8fa5cc}.music-library .ml-row-play{width:29px;height:29px;min-height:29px;padding:7px;border:1px solid #7d85ab80;border-radius:50%;background:#a6bdff0d}.music-library .ml-row-play svg{width:15px;height:15px}.music-library .is-current .ml-row-play{color:var(--ml-cyan);border-color:#78e7f560}.music-library .ml-row-model{justify-self:start;font-size:9px;padding:5px 7px}.music-library .ml-row-duration{text-align:right;font-size:11px;color:var(--ml-muted);font-variant-numeric:tabular-nums}.music-library .ml-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.music-library .ml-air-button{display:inline-flex;align-items:center;gap:6px;background:#0b1428;border:1px solid #384968;color:#c8caee;border-radius:9px;padding:7px 9px;min-height:34px;font-size:10px;white-space:nowrap}.music-library .ml-air-button svg{width:16px;height:16px}.music-library .ml-air-button[aria-pressed=true]{color:var(--ml-cyan);background:#12313f66;border-color:#2a5d71}.music-library .ml-row-air{font-size:10px;white-space:nowrap;color:var(--ml-cyan)}.music-library .ml-more{width:29px;height:34px;min-height:34px;padding:5px}.music-library .ml-order{width:26px;height:26px;min-height:26px;padding:4px}.music-library .ml-order svg{width:17px;height:17px}
.music-library .ml-row-menu{grid-column:2/-1;display:flex;gap:6px;justify-content:flex-end;padding:10px 0 0}.music-library .ml-menu-action,.music-library .ml-restore{display:inline-flex;align-items:center;justify-content:center;color:#d4dcf4;background:#1c2c48;border:1px solid #3b4d6a;padding:9px 12px;border-radius:8px;min-height:36px;white-space:nowrap;text-decoration:none;font-size:12px}.music-library .ml-danger{color:#ffc4c6;border-color:#a768774d}.music-library .ml-confirm{grid-column:2/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:8px}.music-library .ml-confirm p{font-size:12px;line-height:1.6;color:#d2d8ef;flex-basis:100%;margin:0 0 3px}.music-library .ml-confirm-yes{color:#ffe1e4;background:#583744;border:1px solid #8b5269;border-radius:8px;padding:9px 12px;font-size:12px;min-height:36px}.music-library .ml-list-help{color:#90a3c6;font-size:12px;line-height:1.7;margin:17px 0;max-width:600px}.music-library .ml-list:empty+.ml-list-help{border:1px dashed #314361;border-radius:14px;padding:34px 24px;text-align:center;max-width:none}.music-library .ml-notice{color:#cad4ed;background:#17243b;border:1px solid #324261;font-size:12px;line-height:1.6;padding:12px 15px;border-radius:10px;margin-top:18px}
/* Inline reuse in the workshop and public radio. */
.music-library.is-compact{display:flex;flex-direction:column;gap:18px;margin:0}.music-library.is-compact .ml-player{position:relative;top:auto;display:grid;grid-template-columns:60px minmax(0,1fr) auto;column-gap:14px;align-items:center;padding:16px;border-radius:14px;width:100%;box-shadow:none}.music-library.is-compact .ml-player-top,.music-library.is-compact .ml-player-lower{display:none}.music-library.is-compact .ml-cover{width:60px;height:60px;border-radius:10px;margin:0;grid-row:1/3}.music-library.is-compact .ml-now-copy{margin:0}.music-library.is-compact .ml-now-title{font-size:17px;margin-bottom:7px}.music-library.is-compact .ml-now-variant{font-size:10px}.music-library.is-compact .ml-model{font-size:9px;padding:4px 7px}.music-library.is-compact .ml-transport{grid-column:3;grid-row:1/3;display:flex;gap:2px;margin:0}.music-library.is-compact .ml-repeat,.music-library.is-compact .ml-download{display:none}.music-library.is-compact .ml-main-play{width:43px;height:43px;padding:10px}.music-library.is-compact .ml-main-play svg{width:22px;height:22px}.music-library.is-compact .ml-timeline{grid-column:2;grid-row:2;margin-top:10px}.music-library.is-compact .ml-times{font-size:10px;margin-top:8px}.music-library.is-compact .ml-player-status{grid-column:1/-1}.music-library.is-compact .ml-collection{width:100%;padding:0}.music-library.is-compact .ml-heading{margin-bottom:14px}.music-library.is-compact .ml-heading h2{font-size:23px}.music-library.is-compact .ml-search{min-height:42px}.music-library.is-compact .ml-search input{font-size:12px}.music-library.is-compact .ml-filterbar{margin:9px 0}.music-library.is-compact .ml-row,.music-library.is-compact .ml-table-head{grid-template-columns:20px minmax(0,1fr) 110px 42px 35px;gap:10px}.music-library.is-compact .ml-row{min-height:72px}.music-library.is-compact .ml-row-cover{width:36px;height:36px}.music-library.is-compact .ml-row-actions{gap:0}.music-library.is-compact .ml-row-air{display:none}.music-library.is-compact:not(.has-selection) .ml-player{display:none}
@media(min-width:1500px){.music-library{gap:38px}.music-library .ml-player{padding:30px}.music-library .ml-row,.music-library .ml-table-head{grid-template-columns:23px minmax(150px,1fr) 145px 55px 155px;gap:15px}.music-library .ml-row-title{font-size:14px}.music-library .ml-row-model{font-size:10px}.music-library .ml-air-button{font-size:11px;padding:9px 11px}}
@media(max-width:1150px) and (min-width:761px){.music-library{gap:22px;grid-template-columns:minmax(265px,.85fr) minmax(0,1.4fr)}.music-library .ml-player{padding:19px}.music-library .ml-row,.music-library .ml-table-head{grid-template-columns:16px minmax(90px,1fr) 40px 102px;gap:9px}.music-library .ml-row-model,.music-library .ml-table-head span:nth-child(3){display:none}.music-library .ml-row-cover{width:36px;height:36px}.music-library .ml-row-title-cell{gap:7px}.music-library .ml-row-play{width:25px;height:25px;min-height:25px;padding:5px}.music-library .ml-row-title{font-size:12px}.music-library .ml-filter{font-size:10px;padding:7px 9px}.music-library .ml-create{font-size:11px;padding:10px 12px}.music-library .ml-create svg{display:none}.music-library .ml-heading{gap:8px}.music-library .ml-row-actions{gap:0}.music-library .ml-more{width:25px}.music-library .ml-air-button{padding:6px;font-size:9px}.music-library .ml-air-button svg{width:13px}.music-library .ml-volume{max-width:85px}}
@media(max-width:760px){
 .music-library{display:flex;flex-direction:column;gap:0;margin-bottom:24px;padding-bottom:0}.music-library.has-selection:not(.is-compact){padding-bottom:196px}.music-library .ml-collection{width:100%;padding:0}.music-library .ml-heading{margin-bottom:20px;gap:10px}.music-library .ml-heading h2{font-size:26px}.music-library .ml-create{padding:10px 12px;font-size:11px;min-height:42px;border-radius:10px}.music-library .ml-create svg{width:17px;height:17px}.music-library .ml-search{min-height:45px;border-radius:11px;padding:0 12px}.music-library .ml-search input{font-size:13px}.music-library .ml-tabs{gap:27px;margin-top:13px}.music-library .ml-tab{font-size:12px}.music-library .ml-filterbar{margin:17px 0 10px;gap:6px}.music-library .ml-filters{gap:6px}.music-library .ml-filter{font-size:10px;padding:7px 10px;min-height:33px}.music-library .ml-count{font-size:10px}.music-library .ml-table-head{display:none!important}
 .music-library .ml-row,.music-library.is-compact .ml-row{grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:0;padding:14px 0;min-height:83px}.music-library .ml-row.is-current{padding:13px 8px;margin-left:-8px;margin-right:-8px}.music-library .ml-row-number,.music-library .ml-row-duration{display:none}.music-library .ml-row-title-cell{grid-column:1;grid-row:1/3;gap:9px}.music-library .ml-row-cover,.music-library.is-compact .ml-row-cover{width:43px;height:43px}.music-library .ml-row-copy{gap:4px}.music-library .ml-row-title{font-size:13px;line-height:1.3}.music-library .ml-row-variant{font-size:10px}.music-library .ml-row-play{width:29px;height:29px;min-height:29px;padding:7px}.music-library .ml-row-model{display:none}.music-library .ml-row-actions{grid-column:2;grid-row:1/3;max-width:104px;gap:3px}.music-library .ml-air-button{padding:7px;font-size:10px;min-height:34px}.music-library .ml-air-button svg{width:14px;height:14px}.music-library .ml-more{width:25px;min-height:34px;padding:4px}.music-library .ml-order{width:23px;height:23px;min-height:23px}.music-library .ml-row-menu,.music-library .ml-confirm{grid-column:1/-1;margin-top:8px}.music-library .ml-row-air{font-size:9px}.music-library .ml-restore{font-size:10px;padding:8px}.music-library .ml-list-help{font-size:11px}
 .music-library:not(.is-compact) .ml-player{display:none}.music-library.has-selection:not(.is-compact) .ml-player{display:grid;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;z-index:70;grid-template-columns:46px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:9px;padding:14px 18px calc(13px + env(safe-area-inset-bottom,0px));border-radius:18px 18px 0 0;border-width:1px 0 0;border-color:#4b6081;box-shadow:0 -10px 45px #010713a8;background:linear-gradient(130deg,#142543f7,#151e37fa);backdrop-filter:blur(20px)}
 .music-library:not(.is-compact) .ml-player-top,.music-library:not(.is-compact) .ml-player-lower{display:none}.music-library:not(.is-compact) .ml-cover{grid-column:1;grid-row:1;width:46px;height:46px;border-radius:9px;margin:0}.music-library:not(.is-compact) .ml-now-copy{grid-column:2;grid-row:1;margin:0}.music-library:not(.is-compact) .ml-now-title{font-size:14px;line-height:1.25;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.music-library:not(.is-compact) .ml-now-copy .ml-model{font-size:9px;padding:3px 7px}.music-library:not(.is-compact) .ml-now-variant{font-size:9px;margin-left:5px}.music-library:not(.is-compact) .ml-timeline{grid-column:1/-1;grid-row:2}.music-library:not(.is-compact) .ml-times{margin-top:9px;font-size:10px}.music-library:not(.is-compact) .ml-transport{grid-column:3;grid-row:1;display:flex;gap:3px;margin:0}.music-library:not(.is-compact) .ml-repeat,.music-library:not(.is-compact) .ml-download{display:none}.music-library:not(.is-compact) .ml-prev,.music-library:not(.is-compact) .ml-next{width:29px;height:37px;min-height:37px;padding:5px}.music-library:not(.is-compact) .ml-main-play{width:45px;height:45px;padding:12px;box-shadow:none}.music-library:not(.is-compact) .ml-main-play svg{width:23px;height:23px}.music-library:not(.is-compact) .ml-player-status{grid-column:1/-1;margin:0;font-size:11px;line-height:1.45}
 .music-library.is-compact{padding-bottom:0;gap:14px}.music-library.is-compact .ml-player{grid-template-columns:42px minmax(0,1fr) auto;column-gap:10px;padding:13px}.music-library.is-compact .ml-cover{width:42px;height:42px}.music-library.is-compact .ml-now-title{font-size:13px}.music-library.is-compact .ml-transport{gap:0}.music-library.is-compact .ml-main-play{width:37px;height:37px;padding:9px}.music-library.is-compact .ml-prev,.music-library.is-compact .ml-next{width:25px;padding:4px}.music-library.is-compact .ml-timeline{grid-column:1/-1;grid-row:3;margin-top:8px}.music-library.is-compact .ml-transport{grid-row:1/3}.music-library.is-compact .ml-now-variant{display:none}.music-library.is-compact .ml-row-actions{max-width:32px}.music-library.is-compact .ml-row-model{display:none}
}
@media(max-width:380px){.music-library .ml-heading h2{font-size:23px}.music-library .ml-create{font-size:10px;gap:6px}.music-library .ml-filter{font-size:9px;padding:7px 8px}.music-library .ml-count{font-size:9px}.music-library .ml-row-cover{width:35px;height:35px}.music-library .ml-row-play{width:25px;height:25px;min-height:25px;padding:5px}.music-library .ml-row-title-cell{gap:6px}.music-library .ml-air-button{padding:6px;font-size:9px}.music-library .ml-row-title{font-size:12px}.music-library:not(.is-compact) .ml-prev{display:none}}
@media(prefers-reduced-motion:reduce){.music-library *{transition:none!important;animation:none!important}}
/* Search owns one border on its wrapper; override the site's generic form inputs. */
.music-library .ml-toolbar .ml-search input[type="search"]{border:0;border-radius:0;padding:12px 0;margin:0;box-shadow:none;background:transparent;color:#f4f5ff;font-size:14px;line-height:1.5;min-height:0}
.music-library.is-compact .ml-toolbar .ml-search input[type="search"]{font-size:13px;padding:10px 0}
@media(min-width:1151px){
 .music-library:not(.is-compact) .ml-row-title{font-size:15px}
 .music-library:not(.is-compact) .ml-row-model{font-size:11px}
 .music-library:not(.is-compact) .ml-row-variant{font-size:11px}
 .music-library:not(.is-compact) .ml-row-duration{font-size:12px}
 .music-library:not(.is-compact) .ml-row-number{font-size:13px}
 .music-library:not(.is-compact) .ml-table-head,.music-library:not(.is-compact) .ml-table-head span:nth-child(4)::after{font-size:13px}
 .music-library:not(.is-compact) .ml-filter,.music-library:not(.is-compact) .ml-count{font-size:13px}
 .music-library:not(.is-compact) .ml-tab{font-size:14px}
 .music-library:not(.is-compact) .ml-air-button{font-size:11px}
 .music-library.is-compact .ml-row-title{font-size:14px}
}
@media(max-width:760px){.music-library .ml-toolbar .ml-search input[type="search"],.music-library.is-compact .ml-toolbar .ml-search input[type="search"]{font-size:16px}}
@media(max-width:760px){
 .music-library .ml-row-play{width:40px;height:40px;min-height:40px;padding:11px}
 .music-library .ml-row-play svg{width:17px;height:17px}
 .music-library .ml-row-actions{max-width:124px;gap:4px}
 .music-library .ml-air-button{min-height:40px;padding:8px;font-size:10px}
 .music-library .ml-more,.music-library .ml-order{width:40px;height:40px;min-height:40px;padding:9px}
 .music-library .ml-order svg{width:20px;height:20px}
 .music-library .ml-menu-action,.music-library .ml-confirm-yes,.music-library .ml-restore{min-height:44px}
 .music-library:not(.is-compact) .ml-prev,.music-library:not(.is-compact) .ml-next{width:40px;height:44px;min-height:44px;padding:9px}
 .music-library.is-compact .ml-row-actions{max-width:44px}
 .music-library.is-compact .ml-prev,.music-library.is-compact .ml-next{width:40px;height:44px;min-height:44px;padding:9px}
 .music-library.is-compact .ml-main-play{width:44px;height:44px;padding:11px}
}
/* One player expands into a native dialog; opening it never replaces the audio. */
.music-library .ml-row-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;border:0;border-radius:9px;background:transparent;color:inherit;padding:0;min-height:44px;box-shadow:none}
.music-library .ml-row-open:hover{background:transparent;color:inherit}
.music-library .ml-cover-open{display:block;flex-shrink:0;width:min(100%,320px);padding:0;margin:0 auto 24px;border:0;border-radius:22px;background:transparent;color:inherit;min-height:0;box-shadow:none}
.music-library .ml-cover-open .ml-cover{width:100%;height:auto;margin:0}
.music-library .ml-cover-open:disabled{opacity:1;cursor:default}
.music-library.is-compact .ml-cover-open{width:60px;height:60px;margin:0;grid-column:1;grid-row:1/3;border-radius:10px}
.music-library .ml-ready-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;margin-top:12px;border:1px solid #547b94;border-radius:11px;color:#b3f3fb;text-align:center;font-size:13px;text-decoration:none;background:#14344680}
.music-library .ml-expanded{width:min(500px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #62749b88;border-radius:28px;overflow:auto;overscroll-behavior:contain;color:#f4f5ff;background:#0b1428;box-shadow:0 30px 100px #01040caa;scrollbar-width:thin;z-index:200}
.music-library .ml-expanded::backdrop{background:#030818cf;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.music-library .ml-expanded[open]{display:block;animation:ml-player-enter .2s ease-out}
.music-library.is-expanded .ml-expanded .ml-player{display:flex;flex-direction:column;position:relative;inset:auto;width:100%;min-width:0;max-width:none;padding:24px 28px 28px;gap:0;border:0;border-radius:27px;background:radial-gradient(ellipse at 18% 4%,#20505b80,transparent 50%),radial-gradient(ellipse at 100% 58%,#37305d80,transparent 60%),linear-gradient(160deg,#101d35,#10162b);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.music-library.is-expanded .ml-expanded .ml-player-top{position:sticky;top:0;z-index:2;background:#111b30;display:flex;justify-content:space-between;width:100%;margin:0 0 17px;gap:10px;font-size:13px;color:#c4d3ed}
.music-library.is-expanded .ml-expanded .ml-minimize{width:auto;height:44px;min-height:44px;padding:8px 10px;gap:5px;margin-left:-9px;white-space:nowrap;font-size:13px}
.music-library.is-expanded .ml-expanded .ml-player-top>span:first-of-type{margin-right:auto;letter-spacing:.05em}
.music-library.is-expanded .ml-expanded .ml-cover-open{width:min(100%,390px,46dvh);height:auto;aspect-ratio:1;margin:0 auto 24px;grid-column:auto;grid-row:auto;border-radius:22px}
.music-library.is-expanded .ml-expanded .ml-cover{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:22px;margin:0;box-shadow:0 18px 48px #02061980;border:1px solid #93a6d144}
.music-library.is-expanded .ml-expanded .ml-now-copy{width:100%;margin:0 0 22px;grid-column:auto;grid-row:auto}
.music-library.is-expanded .ml-expanded .ml-now-title{display:block;font-size:clamp(22px,5vw,29px);line-height:1.15;margin:0 0 10px;letter-spacing:-.025em;overflow:visible;-webkit-line-clamp:unset}
.music-library.is-expanded .ml-expanded .ml-now-copy .ml-model{font-size:11px;padding:6px 10px}
.music-library.is-expanded .ml-expanded .ml-now-variant{display:inline;font-size:12px;margin-left:9px}
.music-library.is-expanded .ml-expanded .ml-timeline{width:100%;grid-column:auto;grid-row:auto;margin:0}
.music-library.is-expanded .ml-expanded .ml-times{font-size:12px;margin-top:13px}
.music-library.is-expanded .ml-expanded .ml-transport{display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr 1fr;width:100%;align-items:center;justify-items:center;margin:20px 0 22px;gap:8px;grid-column:auto;grid-row:auto}
.music-library.is-expanded .ml-expanded .ml-repeat,.music-library.is-expanded .ml-expanded .ml-download,.music-library.is-expanded .ml-expanded .ml-prev,.music-library.is-expanded .ml-expanded .ml-next{display:inline-flex;width:44px;height:44px;min-height:44px;padding:10px}
.music-library.is-expanded .ml-expanded .ml-main-play{width:72px;height:72px;padding:21px;box-shadow:0 8px 35px #c2b3ff30}
.music-library.is-expanded .ml-expanded .ml-main-play svg{width:30px;height:30px}
.music-library.is-expanded .ml-expanded .ml-player-lower{display:flex;width:100%;gap:10px;font-size:12px}
.music-library.is-expanded .ml-expanded .ml-player-lower .ml-mute{width:44px;height:44px;min-height:44px;padding:10px}
.music-library.is-expanded .ml-expanded .ml-volume{max-width:150px}
.music-library.is-expanded .ml-expanded .ml-player-status{width:100%;font-size:12px;line-height:1.6;margin:12px 0 0}
@keyframes ml-player-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
 .music-library:not(.is-compact) .ml-cover-open{grid-column:1;grid-row:1;width:46px;height:46px;margin:0;border-radius:9px}
 .music-library.is-compact .ml-cover-open{width:42px;height:42px}
 .music-library .ml-row-open{gap:9px}
 .music-library .ml-ready-download{grid-column:1/-1}
 .music-library .ml-expanded{position:fixed;inset:auto 8px 8px;width:calc(100% - 16px);height:auto;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px));border:1px solid #62749b88;border-radius:24px;margin:0;padding:0;overflow:auto}
 .music-library.is-expanded .ml-expanded .ml-player{min-height:0;border-radius:23px;justify-content:flex-start;padding:0 18px calc(12px + env(safe-area-inset-bottom,0px))}
 .music-library.is-expanded .ml-expanded .ml-player-top{position:sticky;top:0;z-index:2;flex-shrink:0;min-height:56px;margin-bottom:8px;background:#111b30;border-bottom:1px solid #ffffff12}
 .music-library.is-expanded .ml-expanded .ml-player-top>span:first-of-type{font-size:11px;letter-spacing:0}
 .music-library.is-expanded .ml-expanded .ml-cover-open{width:min(100%,280px);width:min(100%,280px,max(110px,calc(100dvh - 430px)));margin-bottom:14px}
 .music-library.is-expanded .ml-expanded .ml-now-copy{margin-bottom:12px}
 .music-library.is-expanded .ml-expanded .ml-now-title{font-size:22px;line-height:1.2;margin-bottom:6px}
 .music-library.is-expanded .ml-expanded .ml-now-copy .ml-model{padding:4px 8px;font-size:10px}
 .music-library.is-expanded .ml-expanded .ml-times{margin-top:10px;font-size:11px}
 .music-library.is-expanded .ml-expanded .ml-transport{margin:12px 0 8px;gap:4px}
 .music-library.is-expanded .ml-expanded .ml-main-play{width:60px;height:60px;padding:16px}
 .music-library.is-expanded .ml-expanded .ml-main-play svg{width:26px;height:26px}
 .music-library.is-expanded .ml-expanded .ml-player-lower{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.music-library .ml-expanded[open]{animation:none}}
@media(prefers-reduced-transparency:reduce){.music-library .ml-expanded::backdrop{backdrop-filter:none;background:#030818f5}}
/* Shared library refinement. Audio and download paths stay with existing controllers. */
.music-library .ml-download-label { display:none; }
.music-library .ml-row-open { min-height:48px; }
.music-library .ml-row-title { font-size:15px; line-height:1.4; }
.music-library .ml-row-variant { font-size:12px; color:#b0bfda; }
.music-library .ml-row.is-current { background:#172640; border-color:#5c94a6; box-shadow:none; }
.music-library .ml-row-cover { border-radius:10px; }
.music-library.is-compact .ml-player { border-radius:18px; background:#101e34; padding:20px; grid-template-columns:76px minmax(0,1fr) auto; }
.music-library.is-compact .ml-cover-open { width:76px; height:76px; }
.music-library.is-compact .ml-cover { width:76px; height:76px; }
.music-library.is-compact .ml-now-title { font-size:20px; line-height:1.3; }
.music-library.is-compact .ml-now-variant { font-size:12px; }
.music-library.is-compact .ml-model { font-size:11px; }
.music-library .ml-expanded { border-radius:24px; }
.music-library.is-expanded .ml-expanded .ml-player { background:#101b30; }
.music-library.is-expanded .ml-expanded .ml-player-top { background:#101b30; }
.music-library.is-expanded .ml-expanded .ml-minimize { border:1px solid #7894b147; border-radius:12px; margin-left:0; padding:9px 12px; }
.music-library.is-expanded .ml-expanded .ml-transport { grid-template-columns:1fr 1fr 1.4fr 1fr; row-gap:16px; margin-bottom:12px; }
.music-library.is-expanded .ml-expanded .ml-download { grid-column:1 / -1; display:flex; width:100%; min-height:48px; height:auto; padding:12px; gap:10px; border:1px solid #7894b14d; border-radius:13px; background:#162d42; color:#a4edf5; font-size:14px; text-decoration:none; }
.music-library.is-expanded .ml-expanded .ml-download-label { display:inline; }
.music-library.is-expanded .ml-expanded .ml-cover-open { border-radius:18px; }
.music-library.is-expanded .ml-expanded .ml-cover { border-radius:18px; box-shadow:none; }
@media(max-width:760px) {
 .music-library .ml-row,.music-library.is-compact .ml-row { min-height:88px; padding-top:16px; padding-bottom:16px; }
 .music-library .ml-row-title,.music-library.is-compact .ml-row-title { font-size:14px; }
 .music-library .ml-row-variant { font-size:12px; }
 .music-library .ml-row-play { width:44px; height:44px; min-height:44px; }
 .music-library .ml-row-cover,.music-library.is-compact .ml-row-cover { width:46px; height:46px; }
 .music-library.has-selection:not(.is-expanded) { padding-bottom:150px; }
 .music-library.has-selection:not(.is-expanded) .ml-player { display:grid; position:fixed; z-index:80; top:auto; bottom:calc(var(--mobile-nav-clearance,88px) + 6px); left:12px; right:12px; width:auto; grid-template-columns:48px minmax(0,1fr) 44px; grid-template-rows:auto auto; gap:6px 10px; padding:12px 14px 10px; border:1px solid #7399b45c; border-radius:18px; background:#132238f5; box-shadow:0 8px 30px #0005; backdrop-filter:blur(18px); }
 .music-library.has-selection:not(.is-expanded) .ml-cover-open { grid-column:1; grid-row:1; width:48px; height:48px; margin:0; border-radius:10px; }
 .music-library.has-selection:not(.is-expanded) .ml-cover { width:48px; height:48px; border-radius:10px; margin:0; }
 .music-library.has-selection:not(.is-expanded) .ml-now-copy { grid-column:2; grid-row:1; margin:0; }
 .music-library.has-selection:not(.is-expanded) .ml-now-title { font-size:14px; line-height:1.35; margin:0 0 5px; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
 .music-library.has-selection:not(.is-expanded) .ml-model { font-size:10px; padding:3px 6px; }
 .music-library.has-selection:not(.is-expanded) .ml-now-variant { display:inline; font-size:10px; margin-left:5px; }
 .music-library.has-selection:not(.is-expanded) .ml-transport { display:flex; grid-column:3; grid-row:1; margin:0; }
 .music-library.has-selection:not(.is-expanded) .ml-transport > :not(.ml-main-play) { display:none; }
 .music-library.has-selection:not(.is-expanded) .ml-main-play { width:44px; height:44px; padding:11px; box-shadow:none; }
 .music-library.has-selection:not(.is-expanded) .ml-timeline { grid-column:1 / -1; grid-row:2; margin:0; }
 .music-library.has-selection:not(.is-expanded) .ml-times { margin-top:6px; font-size:10px; }
 .music-library.has-selection:not(.is-expanded) :is(.ml-player-top,.ml-player-lower,.ml-telegram) { display:none; }
 .music-library.has-selection:not(.is-expanded) .ml-player-status { grid-column:1/-1; margin:4px 0 0; font-size:12px; }
 .music-library.is-expanded .ml-expanded .ml-cover-open { width:min(250px,100%,max(100px,calc(100dvh - 460px))); margin-bottom:16px; }
 .music-library.is-expanded .ml-expanded .ml-player-top { min-height:60px; }
 .music-library.is-expanded .ml-expanded .ml-player-lower { display:none; }
 .music-library.is-expanded .ml-expanded .ml-download { min-height:48px; font-size:13px; }
 html[data-keyboard-open=true] .music-library.has-selection:not(.is-expanded) .ml-player { display:none; }
}
@media(prefers-reduced-transparency:reduce){.music-library.has-selection:not(.is-expanded) .ml-player{background:#132238;backdrop-filter:none}}


