/* Palette inspirée d'Apple Music : surfaces neutres, rouge vif, rose et corail. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --paper: #f5f5f7;
  --surface: #ffffff;
  --forest: #e21c39;
  --lime: #ffd4dc;
  --rose: #fa233b;
  --blue: #5e8cff;
  --shadow: 0 18px 50px #30141a12;
  --shadow-float: 0 25px 70px #2b091735;
}
body.authenticated { --paper: #f5f5f7; }

.sidebar { background: #f8f8fa; border-color: #e7e7eb; }
.topbar { background: #f8f8fadf; border-color: #e7e7eb; }
.nav-item.active, .mobile-bottom-nav button.active, .settings-tab.active {
  background: #ffe6eb;
  color: #d31635;
}
.nav-icon, .nav-item.active .nav-icon { color: #d73b52; }
.nav-item:hover, .settings-tab:hover { background: #fff0f2; }
.avatar, .top-avatar { background: #ffe1e7; color: #bd1836; }
.brand-mark { background: linear-gradient(145deg, #fa233b, #fc6276); box-shadow: 0 6px 16px #d6173938; }
.brand-mark i, .brand-mark i:nth-child(1), .brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: #fff; }
.period { color: #fa233b; }
.search-box { border-color: #e7e7eb; background: #fff; }
.search-box:focus-within { border-color: #fa7183; box-shadow: 0 0 0 3px #fa233b16; }
.breadcrumb b { color: #35353a; }

.welcome-orbit { background: linear-gradient(145deg, #ffe8eb, #fff5ef); box-shadow: inset 0 1px 0 #fff, 0 12px 28px #cc224022; }
.welcome-orbit:before { border-color: #ffc3cd; }
.welcome-orbit:after { border-color: #ffe1e7; }
.welcome-orbit span { color: #e42c47; }
.welcome-orbit i, .status-dot { background: #fa233b; }
.home-hero {
  background: radial-gradient(ellipse at 78% 22%, #ff8d96 0, transparent 32%),
              radial-gradient(ellipse at 100% 100%, #ffae74 0, transparent 42%),
              radial-gradient(ellipse at 50% 100%, #b9143e 0, transparent 48%),
              linear-gradient(116deg, #280e1b 0%, #7d1734 50%, #bd1a42 100%);
  box-shadow: 0 26px 62px #7b112e38, inset 0 1px 0 #ffffff33;
}
.home-hero .eyebrow { color: #ffdce3; }
.home-hero h2 em { color: #ffd3dc; }
.home-hero p { color: #ffe2e4; }
.button-light { background: #fff; color: #aa1733; box-shadow: 0 8px 24px #31061730; }
.button-light:hover { background: #fff0f2; }
/* A complete media scene replaces the former empty decorative frame. */
.home-hero.illustrated-hero {
  height: auto;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
}
.illustrated-hero .home-hero-copy { min-width: 0; max-width: none; }
.illustrated-hero .home-hero-art.hero-scene {
  position: relative;
  inset: auto;
  width: 100%;
  height: clamp(230px, 25vw, 320px);
  overflow: visible;
  opacity: 1;
}
.hero-scene-image { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .home-hero.illustrated-hero { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
  .illustrated-hero .home-hero-art.hero-scene { height: 180px; }
}
.art-orb, .art-lines, .art-lines:before, .art-lines:after { border-color: #ffd5df55; }

.collection-card, .settings-panel, .account-card, .library-row { background: #fff; border-color: #ececef; }
.collection-card { box-shadow: 0 14px 35px #55112416, inset 0 1px 0 #fff; }
.collection-card:hover { box-shadow: 0 24px 48px #55112426, inset 0 1px 0 #fff; }
/* Original artwork for the two home collections, independent of library covers. */
.collection-card .collection-illustration {
  height: clamp(180px, 25vw, 360px);
  min-height: 160px;
  padding: 0;
  background: #eee5e6;
}
@supports (aspect-ratio: 1) {
  .collection-card .collection-illustration { height: auto; aspect-ratio: 1.7; }
}
.collection-card .collection-illustration::before,
.collection-card .collection-illustration::after { content: none; }
.collection-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.collection-illustration .visual-count {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffffde;
  border: 1px solid #ffffffa8;
  color: #34303a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 2px 9px #3020390a;
}
body.tv-mode .collection-illustration .visual-count { font-size: 15px; top: 18px; right: 18px; }
.round-arrow, .collection-card:hover .round-arrow { background: #fff0f2; color: #d92743; }
.item-cover { background: #f4e7eb; box-shadow: 0 8px 24px #530d2714; }
.cover-placeholder { background: radial-gradient(ellipse at 72% 20%, #fff8fa 0, transparent 48%), linear-gradient(145deg, #f7dfe6, #eaddec 56%, #dce1f0); color: #8f5278; }
.item-play { background: #fff; color: #df2441; }
.filter-chip.active { color: #c91839; }
.filter-chip.active:after { background: #fa233b; }
.count-badge { background: #ffe7ec; color: #ba1d3a; }
.empty-mark { background: linear-gradient(145deg, #ffe0e6, #fff2eb); color: #e22c49; }

.login-view { background: #f7f7f9; }
.login-art {
  background: radial-gradient(ellipse at 52% 40%, #ff7589 0, transparent 38%),
              radial-gradient(ellipse at 78% 82%, #ffab78 0, transparent 42%),
              linear-gradient(148deg, #310b1b, #a91b3b 59%, #f64b5f);
}
.orb-one:before { background: repeating-radial-gradient(circle, #24171c 0 2px, #70404b 3px, #2e1d23 4px 8px); box-shadow: 0 22px 65px #31091580; }
.orb-one:after { background: #ffe2e6; box-shadow: inset 0 0 0 16px #f18e9c; }
.orb-two { border-color: #ffd9df66; }
.art-note { color: #ffe9ec; }
.login-copy h1 em { color: #e32d4a; }
.login-form input { background: #fff; border-color: #e5e5ea; }
.login-form input:focus { border-color: #f36c7e; box-shadow: 0 0 0 3px #fa233b16; }
.button-primary, .login-submit { background: linear-gradient(112deg, #e8193b, #fa4d64); color: #fff; box-shadow: 0 10px 25px #d71a3e32; }
.button-primary:hover, .login-submit:hover { background: linear-gradient(112deg, #cf1434, #ed3651); }
.button-outline { border-color: #f0dce1; background: #fff; color: #c51f3f; }
.button-outline:hover { background: #fff3f5; }

.player {
  background: radial-gradient(ellipse at 76% 18%, #681629 0, transparent 42%),
              radial-gradient(ellipse at 16% 93%, #501320 0, transparent 48%), #120d12;
}
.player-art { background: radial-gradient(ellipse at 70% 24%, #ffb5a3, transparent 41%), linear-gradient(145deg, #fd5f79, #be2348 53%, #5a1835); color: #fff; }
.player-art-placeholder { background: repeating-radial-gradient(circle, #24171c 0 2px, #6b3545 3px, #321a24 4px 8px); color: #ffd4dc; }
.play-toggle, .mini-play { background: #fff; color: #d51c3b; box-shadow: 0 6px 22px #fa233b36; }
.player-progress input, .player-volume input, .preference-slider { accent-color: #fa233b; }
.player-label { color: #ffd9df; }
.mini-player { background: linear-gradient(112deg, #a41c39, #d7284c 58%, #f25e69); box-shadow: 0 17px 44px #730e2e45; }
.mini-art { background: #ffd1dc center/cover; color: #ad1738; }

.settings-note { background: linear-gradient(110deg, #fff0f2, #fff5f0); color: #ba3651; }
.settings-note>span { color: #ea3b59; }
.library-icon, .extension-symbol, .addon-card-icon, .dialog-icon { background: #ffe8ed; color: #d72948; }
.music-collection-dialog, .confirm-dialog { background: #fff; border-color: #f3e6e9; box-shadow: 0 34px 110px #43111f40; }
.music-collection-dialog .eyebrow, .settings-note a, .tv-server-link, .share-result { color: #bd2141; }
.track-mark { background: linear-gradient(145deg, #ffe5e9, #fff0e9); color: #d62b49; }
.track-action { background: #ffe6eb; color: #cc1e40; }
.track-action:hover { background: #ffd2dc; }
.mobile-bottom-nav { background: #fafafaea; border-color: #e6e6e9; }

.playlists-section { margin: 26px 0 4px; }
.playlists-section .home-section-head { margin-bottom: 12px; }
.playlists-section .home-section-head h2 { margin: 0; font-size: 18px; }
.playlists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.playlist-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid #ececef; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.playlist-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #55112415; }
.playlist-card-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: linear-gradient(145deg, #ffe5e9, #fff0e8); color: #cf2545; font-size: 19px; }
.playlist-card-icon.has-cover { overflow: hidden; }
.playlist-card-icon.has-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.playlist-card-meta { display: grid; gap: 4px; flex: 1; min-width: 0; }
.playlist-card-meta strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.playlist-card-meta small { color: var(--muted); font-size: 10px; }
.playlist-card-arrow { color: #cc1e40; font-size: 23px; }
@media (max-width: 760px) {
  .playlists-section { margin-top: 22px; }
  .playlists-grid { grid-template-columns: 1fr; gap: 8px; }
  .playlist-card { min-height: 64px; padding: 10px 12px; }
}

@media (max-width: 760px) {
  .login-view { background: radial-gradient(ellipse at 82% 6%, #ffe8eb 0, transparent 33%), #f7f7f9; }
}
.account-management{margin-top:28px;padding-top:25px;border-top:1px solid #ececef}
.account-management>h2{margin:0 0 7px}.account-management>.muted{line-height:1.55}
.accounts-list{display:grid;gap:13px;margin:18px 0}
.managed-account,.account-form{padding:18px;border:1px solid #ececef;border-radius:18px;background:#fff;box-shadow:0 8px 24px #2c18210a}
.managed-account-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.managed-account-head strong{font-size:14px}.managed-account-head small{color:#84838a}
.managed-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.managed-account-remove{margin-left:auto;color:#ae2944;border-color:#e8a8b4}
.managed-account-remove[hidden],.managed-account-confirm[hidden]{display:none}
.managed-account-confirm{display:grid;gap:12px;margin-top:15px;padding:15px;border:1px solid #e9b6c0;border-radius:13px;background:#fff7f8}
.managed-account-confirm p{margin:0;color:#58313a;font-size:12px;line-height:1.5}
.managed-account-confirm label{display:grid;gap:7px;color:#58313a;font-size:12px;font-weight:700}
.managed-account-confirm input{width:min(100%,360px);min-height:43px;padding:9px 11px;border:1px solid #db9ca9;border-radius:9px;background:#fff;color:#2b2024;font:inherit;font-size:16px}
.managed-account-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}
.managed-account-confirm-delete{border:1px solid #b62f4c;border-radius:10px;background:#b62f4c;color:#fff;cursor:pointer}
.managed-account-confirm-delete:disabled{opacity:.45;cursor:default}
@media(max-width:760px){.managed-account-actions .button{flex:1}.managed-account-confirm-actions .button{flex:1}}
.access-options{display:grid;gap:8px;margin:17px 0}.access-options>strong{margin-top:9px;font-size:11px;color:#ae2843}.access-options>small{color:#939198;font-size:11px}
.access-option{display:flex;align-items:center;gap:10px;min-height:37px;padding:6px 10px;border:1px solid #f0edf0;border-radius:11px;font-size:12px;line-height:1.35;cursor:pointer}.access-option:has(input:disabled){opacity:.55;cursor:default}.access-option input{width:17px;height:17px;accent-color:#fa233b;flex:none}
.account-form h3{margin:0 0 14px;font-size:14px}.account-fields{display:grid;gap:11px;margin-bottom:15px}.account-fields label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#59545c}.account-fields input{min-width:0;width:100%;height:43px;padding:0 12px;border:1px solid #e4e1e5;border-radius:10px;background:#fff;color:#26232b;font-size:12px}.account-fields input:focus{outline:2px solid #fa233b44;border-color:#fa233b}
.account-fields select{min-width:0;width:100%;height:43px;padding:0 12px;border:1px solid #e4e1e5;border-radius:10px;background:#fff;color:#26232b;font:inherit;font-size:12px}.account-fields select:focus{outline:2px solid #fa233b44;border-color:#fa233b}
@media(max-width:760px){.managed-account,.account-form{padding:15px}.account-fields input{height:47px}}
.source-files{margin-top:30px;padding-top:24px;border-top:1px solid #eee6e9}.source-files h3{margin:4px 0 7px;font-size:18px}.source-files>.muted{font-size:12px;line-height:1.6}.source-files-label{display:block;margin:20px 0 7px;font-size:11px;font-weight:700;color:#635d63}.source-files select{width:100%;min-height:46px;padding:0 13px;border:1px solid #e5dde2;border-radius:12px;background:#fff;color:#28232a;font:inherit;font-size:12px}.source-files #source-files-status{min-height:18px;margin:11px 0;color:#79727a;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.source-files #source-files-status.error{color:#be2947}.source-files-breadcrumbs{display:flex;align-items:center;gap:5px;overflow-x:auto;padding:7px 0 12px;white-space:nowrap}.source-files-breadcrumbs button{border:0;background:none;color:#c12a47;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.source-files-breadcrumbs button:disabled{color:#4a4149;cursor:default}.source-files-breadcrumbs span{color:#aaa0a8}.source-files-actions{display:flex;flex-wrap:wrap;gap:8px;margin:7px 0 12px}.source-files-actions .button{min-height:39px}.source-files-list{margin:14px 0;border:1px solid #eee8ec;border-radius:14px;overflow:hidden}.source-file-row{display:flex;align-items:center;gap:10px;min-height:47px;padding:8px 12px;border-bottom:1px solid #f1edf0;font-size:12px}.source-file-row:last-child{border-bottom:0}.source-file-folder{cursor:pointer}.source-file-folder:hover,.source-file-folder:focus-visible{background:#fff5f7}.source-file-icon{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:8px;background:#ffe9ee;color:#d72e50;font-size:15px}.source-file-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-file-row small{flex:none;color:#928891;font-size:10px}.source-files-empty{padding:12px;font-size:11px}.source-files-progress{margin:16px 0;padding:12px;border-radius:12px;background:#fff0f3}.source-files-progress-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:11px}.source-files-progress-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-files-progress-head button{border:0;background:none;color:#c12a47;font:inherit;font-weight:700;cursor:pointer}.source-files-progress progress{width:100%;height:8px;accent-color:#ed3151}
@media(max-width:760px){.source-files-actions .button{flex:1;min-width:115px}.source-files select{min-height:49px}.source-file-row{min-height:54px}}
/* iOS Safari enlarges the entire page when a focused form control uses text below 16px. */
@media(max-width:760px){
  input:not([type="range"]):not([type="checkbox"]):not([type="file"]),select,textarea{font-size:16px}
  .source-files select{font-size:16px}
  .topbar,.top-actions,.search-box,.page-content,.settings-panel{min-width:0}
  .search-box{flex-shrink:1}
  .search-box input{width:100%}
}
.account-source-options{display:grid;gap:15px;margin:16px 0}.account-source-group{padding:13px;border:1px solid #f1e6e9;border-radius:14px;background:#fffafb}.account-source-group>strong{display:block;margin-bottom:8px;color:#a91d3a;font-size:12px}.account-source-group>.muted{margin:0 0 9px;font-size:11px}.account-source-choice{display:flex;align-items:center;gap:9px;min-height:41px;padding:7px 9px;margin-bottom:7px;border-radius:10px;background:#fff;border:1px solid #f0e7eb}.account-source-choice span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:11px;line-height:1.45}.account-source-choice button{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:#ffe9ee;color:#bd2744;font-size:18px;cursor:pointer}.account-source-add{width:100%;margin-top:4px}.account-source-dialog{width:min(560px,calc(100vw - 24px));max-height:min(80dvh,740px);padding:22px;border:1px solid #f0e5e9;border-radius:22px;background:#fff;color:#1d1d1f;box-shadow:0 30px 90px #28111c55}.account-source-dialog::backdrop{background:#1b12208c;backdrop-filter:blur(7px)}.account-source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.account-source-head h2{margin:0 0 15px;font-size:22px}.account-source-close{width:34px;height:34px;border:0;border-radius:50%;background:#f5f2f4;font-size:21px;cursor:pointer}.account-source-dialog select{display:block;width:100%;min-height:46px;margin-top:7px;padding:0 12px;border:1px solid #e6dce1;border-radius:12px;background:#fff;font-size:14px}.account-source-path{padding:12px 0;color:#756b75;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.account-source-list{min-height:90px;max-height:34dvh;overflow:auto;border:1px solid #f0e8eb;border-radius:13px}.account-source-list>.muted{padding:12px;font-size:11px}.account-source-folder{display:block;width:100%;min-height:44px;padding:10px 13px;border:0;border-bottom:1px solid #f2edf0;background:#fff;text-align:left;font-size:12px;cursor:pointer}.account-source-folder:last-child{border-bottom:0}.account-source-folder:hover{background:#fff4f6}.account-source-folder.back{color:#c02846;font-weight:700}.account-source-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.account-source-actions .button{min-height:43px}
@media(max-width:760px){.account-source-dialog{width:calc(100vw - 20px);max-height:calc(84dvh - env(safe-area-inset-top));padding:19px;margin:auto auto calc(10px + env(safe-area-inset-bottom))}.account-source-dialog select{font-size:16px}.account-source-actions .button{flex:1}}
.source-files-picker{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-top:18px}.source-files-selected{display:flex;flex:1;flex-wrap:wrap;gap:8px;min-width:180px}.source-files-selected>.muted{margin:9px 0;font-size:12px}.source-files-chip{display:inline-flex;align-items:center;min-width:0;border:1px solid #eadfe4;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #36212d0a}.source-files-chip.active{border-color:#ee5972;background:#fff2f5;box-shadow:0 3px 12px #d83e601b}.source-files-chip-open{max-width:220px;min-height:39px;padding:8px 11px;border:0;background:transparent;color:#342b31;font:inherit;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.source-files-chip-remove{width:32px;min-height:39px;border:0;border-left:1px solid #f0e5e9;background:transparent;color:#a53049;font-size:18px;cursor:pointer}.source-files-chip button:disabled{opacity:.55;cursor:default}.mac-folder-locations{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 14px}.mac-folder-location{min-height:34px;padding:6px 11px;border:1px solid #ebdfe4;border-radius:999px;background:#fff;color:#3d343b;font:inherit;font-size:11px;font-weight:650;cursor:pointer}.mac-folder-location.active{border-color:#ec6b82;background:#fff0f4;color:#a91d3a}.mac-folder-dialog .account-source-list{max-height:37dvh}.mac-folder-status{min-height:20px;margin:10px 0 0;font-size:11px;color:#aa2947}.mac-folder-type{margin:0 0 8px}.mac-folder-type[hidden]{display:none}@media(max-width:760px){.source-files-picker{display:block}.source-files-selected{margin-bottom:10px}.source-files-picker>#source-files-add-source{width:100%}.source-files-chip-open{max-width:190px}.mac-folder-dialog .account-source-list{max-height:43dvh}}

.transfer-intro{max-width:720px;font-size:12px;line-height:1.65}
.transfer-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:22px}
.transfer-pane{min-width:0;padding:18px;border:1px solid #ece5e9;border-radius:20px;background:linear-gradient(160deg,#fff,#fffafb);box-shadow:0 12px 30px #3b1b2b0c}
.transfer-pane-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.transfer-pane-head h3{margin:5px 0 0;font-size:18px;letter-spacing:-.03em}
.transfer-step{color:#ab405d;font-size:10px;font-weight:800;letter-spacing:.13em}
.transfer-pane-symbol{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:13px;background:#ffebef;color:#cf3152;font-size:22px}
.transfer-actions{display:flex;flex-wrap:wrap;gap:8px}
.transfer-actions .button{flex:1;min-width:110px}
.transfer-local-drop{min-height:300px;max-height:420px;overflow:auto;margin-top:14px;border:1px dashed #e7b7c4;border-radius:16px;background:#fffafb;transition:border-color .18s,background .18s}
.transfer-local-breadcrumbs{display:flex;align-items:center;gap:6px;min-height:30px;margin-top:10px;overflow-x:auto;white-space:nowrap}.transfer-local-breadcrumbs button{padding:4px 2px;border:0;background:transparent;color:#b33050;font:inherit;font-size:11px;cursor:pointer}.transfer-local-breadcrumbs button:disabled{color:#716873;cursor:default}.transfer-local-breadcrumbs span{color:#a79da7}.transfer-local-folder{display:block;width:100%;min-height:42px;padding:8px 10px;border:0;border-bottom:1px solid #f1e9ed;background:transparent;color:#473540;text-align:left;font:inherit;font-size:11px;font-weight:650;cursor:pointer}.transfer-local-folder:hover{background:#fff0f4}
.transfer-local-drop.drag-over{border-color:#e6335a;background:#fff0f4}
.transfer-local-list{padding:9px}
.transfer-empty{display:grid;place-items:center;min-height:275px;margin:0;padding:18px;color:#8b8189;font-size:12px;line-height:1.55;text-align:center}
.transfer-file-row{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 8px;border-bottom:1px solid #f1e9ed}
.transfer-file-row:last-child{border-bottom:0}
.transfer-more{margin:8px;padding:10px;color:#8d818a;font-size:11px;text-align:center}
.transfer-file-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:9px;background:#ffe7ed;color:#c92f50}
.transfer-file-details{display:grid;gap:3px;min-width:0;flex:1}
.transfer-file-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.transfer-file-details small{overflow:hidden;color:#8d818a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.transfer-file-remove,.source-file-download{display:grid;place-items:center;min-width:31px;height:31px;flex:none;border:1px solid #efdee4;border-radius:10px;background:#fff;color:#c52b4b;font:inherit;font-size:16px;cursor:pointer}
.transfer-file-remove:hover,.source-file-download:hover{background:#fff0f4}
.transfer-local-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}
.transfer-local-footer .muted{font-size:10px;line-height:1.45}
.transfer-local-footer .button{flex:none}
.transfer-local-footer .button:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}
.transfer-download-destination{margin-top:18px;padding-top:15px;border-top:1px solid #f0e7eb}
.transfer-download-destination strong{font-size:11px}
.transfer-download-destination p{margin:5px 0 11px;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.transfer-pane-copy{margin:0;font-size:11px;line-height:1.55}
.transfer-remote .source-files{margin-top:0;padding-top:0;border:0}
.transfer-remote .source-files-picker{margin-top:0}
.transfer-remote .source-files-list{max-height:420px;overflow:auto}
.transfer-remote .source-file-name{font-size:11px}
.transfer-remote .source-files-chip-open{max-width:150px}
.transfer-remote #source-files-add-files,.transfer-remote #source-files-add-folder{display:none}
@media(max-width:980px){.transfer-workspace{grid-template-columns:1fr}.transfer-local-drop{min-height:180px;max-height:310px}.transfer-empty{min-height:155px}}
@media(max-width:760px){.transfer-workspace{gap:12px}.transfer-pane{padding:15px;border-radius:17px}.transfer-local-footer{align-items:stretch;flex-direction:column}.transfer-local-footer .button{width:100%}.transfer-remote .source-files-list{max-height:350px}.transfer-pane-head h3{font-size:17px}}
.transfer-queue{margin-top:14px;padding:18px;border:1px solid #ece5e9;border-radius:20px;background:#fff;box-shadow:0 12px 30px #3b1b2b0c}
.transfer-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.transfer-queue-head h3{margin:4px 0 0;font-size:17px}.transfer-queue-head .muted,.transfer-queue-hint{font-size:11px}.transfer-queue-list{display:grid;gap:8px}.transfer-queue-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #f0e6ea;border-radius:13px;background:#fffafb}.transfer-queue-details{display:grid;gap:5px;min-width:0;flex:1}.transfer-queue-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.transfer-queue-details small{color:#817781;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.transfer-queue-details progress{width:100%;height:6px;accent-color:#dc395b}.transfer-queue-actions{display:flex;flex-wrap:wrap;gap:5px}.transfer-queue-action,.source-file-delete{min-height:31px;padding:5px 9px;border:1px solid #eddfe4;border-radius:9px;background:#fff;color:#7f3548;font:inherit;font-size:10px;font-weight:650;cursor:pointer}.transfer-queue-action:hover,.source-file-delete:hover{background:#fff0f4}.transfer-queue-action.danger,.source-file-delete{color:#bd2744}.transfer-queue-row.is-failed{border-color:#edb4c1}.transfer-queue-row.is-done{background:#f6fbf7}.transfer-queue-hint{margin:12px 0 0;line-height:1.5}.source-file-delete{flex:none;margin-left:auto}.transfer-remote .source-file-row{gap:7px}.transfer-remote .source-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.transfer-queue{padding:15px;border-radius:17px}.transfer-queue-row{align-items:stretch;flex-direction:column}.transfer-queue-actions{justify-content:flex-end}.source-file-delete{padding:5px 7px}}
@media(max-width:760px){#music-page #sort-music{display:none}#music-page .filter-tabs{gap:12px;overflow-x:auto;scrollbar-width:none}#music-page .filter-tabs::-webkit-scrollbar{display:none}#music-page .filter-chip{flex:none}}
