






#winamp {
  width: 560px;
  user-select: none;
}


.wa-main {
  background: linear-gradient(180deg, #3a3a4a 0%, #2a2a3a 4%, #1e1e2e 50%, #2a2a3a 96%, #3a3a4a 100%);
  border: 2px solid #555;
  border-radius: 4px;
  padding: 4px;
  position: relative;
}

.wa-titlebar {
  background: linear-gradient(90deg, #0a0a3a, #1a1a5a, #0a0a3a);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-radius: 2px 2px 0 0;
  cursor: move;
}

.wa-titlebar .title {
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 4px #00aaff;
}

.wa-titlebar .wa-btns button {
  width: 16px; height: 16px;
  background: #333;
  border: 1px solid #666;
  color: #ccc;
  font-size: 9px;
  cursor: pointer;
  margin-left: 2px;
  line-height: 14px;
}


.wa-display {
  background: #000;
  border: 2px inset #333;
  margin: 4px;
  padding: 8px;
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wa-display .viz-bar {
  position: absolute;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, #ff0000, #ffff00, #00ff00);
  transition: height 0.1s;
}

.wa-track-info {
  position: relative;
  z-index: 2;
}

.wa-track-scroll {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #00ff41;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 0 6px #00ff41;
  height: 18px;
  line-height: 18px;
}

.wa-track-scroll span {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.wa-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.wa-time {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: #00ff41;
  text-shadow: 0 0 8px #00ff41;
  letter-spacing: 1px;
}

.wa-info-badges {
  display: flex;
  gap: 6px;
}

.wa-badge {
  font-size: 8px;
  font-family: 'Press Start 2P', monospace;
  padding: 2px 4px;
  border: 1px solid;
  border-radius: 2px;
}

.wa-badge.fm { color: #ff6600; border-color: #ff6600; }
.wa-badge.freq { color: #00ccff; border-color: #00ccff; }
.wa-badge.khz { color: #ffcc00; border-color: #ffcc00; }


.wa-seek {
  margin: 2px 4px;
  height: 12px;
  background: #111;
  border: 1px inset #333;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.wa-seek-fill {
  height: 100%;
  background: linear-gradient(90deg, #005500, #00cc00);
  border-radius: 2px;
  transition: width 1s linear;
  position: relative;
}

.wa-seek-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -2px;
  width: 8px;
  height: 16px;
  background: linear-gradient(180deg, #eee, #888);
  border: 1px solid #555;
  border-radius: 2px;
}


.wa-controls {
  display: flex;
  align-items: center;
  padding: 6px 4px;
  gap: 4px;
}

.wa-transport {
  display: flex;
  gap: 2px;
}

.wa-btn {
  width: 36px;
  height: 26px;
  background: linear-gradient(180deg, #4a4a5a, #2a2a3a);
  border: 1px solid #666;
  border-bottom-color: #222;
  border-right-color: #222;
  color: #ccc;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.1s;
}

.wa-btn:hover { background: linear-gradient(180deg, #5a5a6a, #3a3a4a); color: #fff; }
.wa-btn:active { border-style: inset; }
.wa-btn.active { background: linear-gradient(180deg, #003300, #005500); color: #00ff00; border-color: #00aa00; }

.wa-btn-play { color: #00ff00; }
.wa-btn-pause { color: #ffcc00; }
.wa-btn-stop { color: #ff4444; }


.wa-sliders {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 8px;
}

.wa-slider-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-slider-label {
  font-size: 9px;
  color: #888;
  width: 28px;
  text-align: right;
}

.wa-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  background: #111;
  border: 1px inset #333;
  border-radius: 3px;
  outline: none;
}

.wa-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 14px;
  background: linear-gradient(180deg, #eee, #888);
  border: 1px solid #555;
  border-radius: 2px;
  cursor: pointer;
}

.wa-slider-val {
  font-size: 9px;
  color: #00cc00;
  width: 24px;
}


.wa-toggles {
  display: flex;
  gap: 3px;
  padding: 0 4px 4px;
}

.wa-toggle {
  font-size: 9px;
  padding: 3px 8px;
  background: #222;
  border: 1px solid #444;
  color: #666;
  cursor: pointer;
  border-radius: 2px;
  font-weight: bold;
}

.wa-toggle.on { color: #00ff00; border-color: #00aa00; background: #002200; }


.wa-browser {
  background: linear-gradient(180deg, #3a3a4a 0%, #1e1e2e 4%, #111 100%);
  border: 2px solid #555;
  border-radius: 0 0 4px 4px;
  border-top: none;
  margin-top: -2px;
}

.wa-browser-header {
  background: linear-gradient(90deg, #0a0a3a, #1a1a5a, #0a0a3a);
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-browser-header .label {
  font-size: 10px;
  color: #aaa;
  font-weight: bold;
}

.wa-breadcrumb {
  font-size: 9px;
  color: #666;
  padding: 2px 8px;
  background: #0a0a0a;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-breadcrumb span {
  cursor: pointer;
  color: #00aaff;
}

.wa-breadcrumb span:hover { text-decoration: underline; }

.wa-filelist {
  max-height: 200px;
  overflow-y: auto;
  padding: 2px;
}

.wa-filelist::-webkit-scrollbar { width: 10px; }
.wa-filelist::-webkit-scrollbar-track { background: #111; }
.wa-filelist::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }
.wa-filelist::-webkit-scrollbar-thumb:hover { background: #666; }

.wa-file {
  display: flex;
  align-items: center;
  padding: 3px 6px;
  font-size: 11px;
  cursor: pointer;
  border-bottom: 1px solid #1a1a1a;
  gap: 6px;
}

.wa-file:hover { background: #1a2a1a; }
.wa-file.is-dir { color: #ffcc00; }
.wa-file.is-audio { color: #00cc00; }

.wa-file-icon {
  width: 16px;
  text-align: center;
  font-size: 10px;
}

.wa-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-file-add {
  font-size: 9px;
  color: #555;
  padding: 1px 4px;
  border: 1px solid #444;
  border-radius: 2px;
  background: #222;
}

.wa-file-add:hover { color: #00ff00; border-color: #00aa00; }


.wa-playlist {
  background: linear-gradient(180deg, #3a3a4a 0%, #1e1e2e 4%, #111 100%);
  border: 2px solid #555;
  border-radius: 0 0 4px 4px;
  border-top: none;
  margin-top: -2px;
}

.wa-playlist-header {
  background: linear-gradient(90deg, #0a0a3a, #1a1a5a, #0a0a3a);
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-playlist-header .label {
  font-size: 10px;
  color: #aaa;
  font-weight: bold;
}

.wa-playlist-header .count {
  font-size: 9px;
  color: #666;
}

.wa-pl-actions {
  display: flex;
  gap: 3px;
}

.wa-pl-btn {
  font-size: 9px;
  padding: 2px 6px;
  background: #222;
  border: 1px solid #444;
  color: #888;
  cursor: pointer;
  border-radius: 2px;
}

.wa-pl-btn:hover { color: #ff4444; border-color: #ff4444; }

.wa-pl-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 2px;
}

.wa-pl-list::-webkit-scrollbar { width: 10px; }
.wa-pl-list::-webkit-scrollbar-track { background: #111; }
.wa-pl-list::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.wa-pl-item {
  display: flex;
  align-items: center;
  padding: 3px 6px;
  font-size: 11px;
  cursor: pointer;
  border-bottom: 1px solid #1a1a1a;
  gap: 6px;
}

.wa-pl-item:hover { background: #1a2a1a; }
.wa-pl-item.active { background: #002200; color: #00ff41; }

.wa-pl-num {
  color: #555;
  font-size: 9px;
  width: 24px;
  text-align: right;
}

.wa-pl-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #00cc00;
}

.wa-pl-item.active .wa-pl-name { color: #00ff41; font-weight: bold; }

.wa-pl-dur {
  color: #666;
  font-size: 9px;
}

.wa-pl-rm {
  color: #444;
  font-size: 9px;
  cursor: pointer;
  padding: 0 2px;
}

.wa-pl-rm:hover { color: #ff4444; }


.wa-loading {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  display: none;
}

.wa-loading.show { display: flex; }

.wa-loading-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #00ff41;
  text-shadow: 0 0 8px #00ff41;
  animation: blink 0.8s infinite;
}

@keyframes blink { 50% { opacity: 0.5; } }


@media (max-width: 600px) {
  #winamp { width: 100%; }
  .wa-btn { width: 32px; height: 24px; font-size: 10px; }
}

#commander{background:#d4d0c8;border:2px solid;border-color:#fff #777 #777 #fff;padding:4px;color:#111;font:14px Tahoma,"Microsoft YaHei",sans-serif;box-shadow:2px 3px 9px #0002}
.tc-panel,.tc-sync,#winamp section{margin:0}
.tc-tree-wrap{min-width:0;height:100%;overflow:hidden}.tc-tree-wrap>summary{font-size:12px;background:#e4e1da;padding:6px;cursor:pointer;border-bottom:1px solid #888}.tc-tree-wrap .tc-tree{height:calc(100% - 28px)}#winamp .wa-titlebar button{border-radius:1px}
.tc-titlebar{background:linear-gradient(90deg,#10358e,#3979be);color:white;display:flex;justify-content:space-between;padding:7px 10px;letter-spacing:.2px}.tc-menu{display:flex;gap:24px;padding:9px}.tc-direction{margin-left:auto;color:#244477}.tc-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}
#commander button{border:1px solid;border-color:#fff #777 #777 #fff;border-radius:0;background:#d4d0c8;color:#111;font:13px Tahoma,"Microsoft YaHei",sans-serif;padding:5px 8px;cursor:pointer}#commander button:hover{background:#e6e3dc}#commander button:active{border-color:#777 #fff #fff #777}#commander button:disabled{color:#8b8985;cursor:default}#commander input,#commander select{font:13px Tahoma,"Microsoft YaHei",sans-serif;border:1px solid #888;border-radius:0;padding:5px;min-width:0;max-width:100%;color:#111;background:white}
.tc-panel{min-width:0;border:1px solid #888}.tc-panel-title{background:#12367e;color:white;display:flex;justify-content:space-between;padding:7px 9px;font-weight:bold}.tc-panel-title span{font-weight:normal;font-size:12px}.tc-drive,.tc-path{display:flex;align-items:center;gap:5px;padding:4px;min-height:35px}.tc-drive select,.tc-drive>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-drive button{white-space:nowrap}.tc-path{background:#fff;border:1px solid #aaa;padding:2px}.tc-path>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Consolas,monospace;color:#16326a;font-size:13px}.tc-filter{width:100%;margin:4px 0}
.tc-directory{display:grid;grid-template-columns:145px minmax(0,1fr);height:410px;background:white;border:1px inset #aaa}.tc-tree{border-right:2px solid #aaa;padding:4px 1px;overflow:auto;background:#fafafa}.tc-tree-row{display:flex;align-items:center;white-space:nowrap;padding-left:calc(var(--depth)*12px);min-height:27px}.tc-tree-row.selected{background:#12367e;color:white}#commander .tc-tree-row button{background:transparent;border:0;color:inherit;padding:4px 1px;font-size:12px}#commander .tc-tree-row button:first-child{width:18px;flex-shrink:0;color:#777}#commander .tc-tree-row.selected button{color:white}#commander .tc-tree-row button:last-child{text-align:left;overflow:hidden;text-overflow:ellipsis}.tc-files{overflow:auto;min-width:0}.tc-columns{position:sticky;top:0;background:#e4e1da;display:grid;grid-template-columns:1fr 112px;padding:6px;border-bottom:1px solid #888;font-size:12px;z-index:1}.tc-columns span:last-child{border-left:1px solid #aaa;text-align:center}.tc-file-row{display:flex;align-items:center;gap:5px;padding:5px 6px;min-height:39px;border-bottom:1px solid #eee;font-size:13px}.tc-file-row:hover{background:#eef3ff}.tc-file-name{flex:1;min-width:0;overflow-wrap:anywhere}#commander .tc-file-name button{padding:0;background:none;border:0;text-align:left;color:#101d56;font-size:13px;overflow-wrap:anywhere}.tc-file-meta{width:90px;flex-shrink:0;text-align:right;font-size:12px;color:#555}.tc-file-meta small{display:block;font-size:11px;color:#888;margin-top:4px}.tc-status{display:flex;align-items:center;padding:3px;gap:4px;min-height:32px}.tc-status>span{flex:1;text-align:center;font-size:12px}.tc-actions{position:relative}.tc-actions summary{cursor:pointer;padding:5px;list-style:none}.tc-actions[open]{z-index:5}.tc-actions>div{position:absolute;right:0;top:22px;background:#eee;box-shadow:1px 2px 6px #0006;min-width:140px;padding:5px;display:grid;gap:3px}.tc-actions a{font-size:13px;padding:6px;background:white}.tc-empty{font-size:13px!important;color:#666;padding:20px;line-height:1.8}.tc-functionbar{display:flex;gap:4px;padding:5px 0;flex-wrap:wrap}#commander .tc-functionbar button{flex:1;white-space:nowrap;min-height:37px}#commander #sync-run{background:#163b8d;color:white;flex:1.6}#commander #sync-run b{font-size:19px;margin-right:6px}.tc-sync{border:1px inset #aaa;background:#f0eee9;padding:10px}.tc-sync-line{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px;font-size:13px}.tc-sync-line strong{font-weight:normal;color:#132f72}.tc-sync-line label{white-space:nowrap}.tc-sync progress{margin-top:9px;height:10px;accent-color:#143d93}.tc-sync p{font-size:13px!important;margin:6px 0 0;line-height:1.6}.tc-help{font-size:13px!important;color:#6c756d;line-height:1.8}.tc-sync .hub-note{font-size:13px;color:#555}
.winamp-desk{background:#1a1a2e;padding:28px 20px;min-height:720px;border:1px solid #444;display:flex;justify-content:center}#winamp{width:660px;max-width:100%;font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#00dd32}#winamp *{box-sizing:border-box}#winamp button{font-family:inherit}#winamp .wa-main{border-radius:3px}#winamp .wa-titlebar{height:26px;cursor:default}#winamp .wa-titlebar .title{font-size:12px}#winamp .wa-titlebar button{padding:0}#winamp .wa-display{height:102px;padding:12px}#winamp .wa-track-scroll{font-family:Consolas,monospace;font-size:15px;line-height:22px;height:24px}#winamp .wa-track-scroll span{animation:none}#winamp .wa-time{font:26px Consolas,monospace;letter-spacing:2px}#winamp .wa-badge{font-family:Consolas,monospace;font-size:12px}#wa-state{font-size:12px;color:#789b78;margin-top:5px}#winamp .wa-position{display:block;width:calc(100% - 12px);margin:9px 6px;height:9px}#winamp .wa-controls{padding:8px 5px}#winamp .wa-btn{padding:0;width:42px;height:31px;font-size:16px}#winamp .wa-slider{min-width:20px;padding:0;border-radius:2px}#winamp .wa-slider-label{font-size:11px;width:35px;color:#aaa}#winamp .wa-toggle{font-size:12px;padding:6px 8px;color:#b5b5bd;border-radius:2px;text-decoration:none}#winamp .wa-toggle.on{color:#00ff41;border-color:#00aa00;background:#002200}#winamp .wa-toggles{flex-wrap:wrap}#winamp .wa-output{padding-top:7px}#winamp #fm-settings{padding:3px 5px 9px}#winamp #fm-settings .wa-slider-row{margin:7px 0}#winamp output{font:12px Consolas,monospace;min-width:28px;color:#00cc00}#winamp #wa-freq-value{min-width:82px}#winamp .wa-pl-btn{font-size:12px;color:#ccc;padding:5px 8px}#winamp .wa-fm-summary{display:grid;gap:3px;font-size:12px;padding:6px 9px;color:#a4abb4;border-top:1px solid #454554}#winamp #fm-status{font-size:12px;color:#e6a15f}#winamp #fm-title{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#winamp #fm-message:empty{display:none}#winamp .wa-playlist-header,#winamp .wa-browser-header{min-height:29px}#winamp .label{font-size:12px;color:#ccc}#winamp .count{font-size:12px;color:#a2ac9e}#winamp .wa-pl-item{font-size:13px;min-height:31px}#winamp .wa-pl-list{max-height:185px}#winamp .wa-pl-num{font-size:12px;width:30px}#winamp .wa-pl-name{text-align:left;border:0;background:transparent;border-radius:0;font-size:13px;padding:3px;color:#00cc00}#winamp .wa-pl-item a{font-size:12px;color:#aaa;white-space:nowrap}#winamp .wa-empty{font-size:13px;color:#668266;padding:12px}#winamp #music-search{display:flex;gap:5px;padding:7px;flex-wrap:wrap;background:#242432}#winamp #music-search input,#winamp #music-search select{background:#070c07;color:#00d52f;font:13px "Segoe UI","Microsoft YaHei",sans-serif;border:1px inset #777;border-radius:0;padding:7px;min-width:0}#winamp #music-query{flex:1;width:120px}#winamp .wa-filelist{max-height:340px}#winamp .music-row{padding:7px 5px;gap:6px;flex-wrap:wrap;border-bottom:1px solid #252b25}#winamp .music-name{font-size:14px;flex-basis:100%;color:#00dd32}#winamp .music-name small{font-size:12px;color:#91a291;line-height:1.5}#winamp .row-actions{justify-content:flex-start}#winamp .row-actions button,#winamp .row-actions a{font-size:12px;padding:4px 7px;background:#242432;border:1px solid #50505b;border-radius:2px;color:#b5b9b9}#winamp .wa-pagination{display:flex;align-items:center;gap:8px;padding:6px;font-size:12px}#winamp #music-count{font-size:12px;color:#91a291}#winamp button:disabled{opacity:.45;cursor:default}#winamp .wa-queue-active{background:#002200}#persistent-player{background:linear-gradient(#383848,#1e1e2e);border-top:3px ridge #6a6a77;box-shadow:0 -4px 20px #0004;color:#00ff41}#persistent-player .player-label small{color:#9ba69b}#persistent-player button{background:linear-gradient(#484857,#282836);border:1px solid;border-color:#777 #15151c #15151c #777;color:#d2d2d7;border-radius:2px}#hub-audio{color-scheme:dark}#persistent-player a{color:#00ff41}
@media(max-width:1000px){.tc-directory{grid-template-columns:110px minmax(0,1fr)}.tc-file-meta{width:70px;font-size:11px}.tc-columns{grid-template-columns:1fr 90px}.tc-panel-title{font-size:13px}.tc-panel-title span{font-size:11px}}
@media(max-width:700px){.tc-directory{grid-template-columns:1fr;height:350px}.tc-tree{display:none}.tc-panel-title{display:block;padding:6px}.tc-panel-title span{display:block;margin-top:4px}.tc-drive{flex-wrap:wrap}.tc-drive>span,.tc-drive select{flex-basis:100%;width:100%}.tc-drive button{width:100%}.tc-file-row{flex-wrap:wrap;gap:3px}.tc-file-meta{width:auto;text-align:left;font-size:11px}.tc-file-meta small{display:none}.tc-file-name{flex-basis:100%;font-size:12px}.tc-actions{margin-left:auto}.tc-columns{display:block}.tc-columns span:last-child{display:none}.tc-functionbar button{flex-basis:40%!important}.tc-direction{display:none}.tc-empty{padding:12px}.winamp-desk{padding:12px 5px;min-height:600px}#winamp .wa-titlebar .title{font-size:10px}#winamp .wa-badge{font-size:10px}#winamp .wa-controls{flex-wrap:wrap}#winamp .wa-btn{width:34px}#winamp .wa-slider-label{width:30px}#winamp .wa-toggle{font-size:11px;padding:5px}#winamp .wa-time{font-size:23px}#winamp .wa-pl-list{max-height:165px}#winamp .wa-filelist{max-height:360px}#winamp #music-search select{width:100%}}
@media(max-width:700px){.tc-directory{display:flex;flex-direction:column;height:430px}.tc-tree-wrap{height:auto;flex:none;max-height:140px}.tc-tree-wrap .tc-tree{display:block;height:auto;max-height:108px;border-right:0}.tc-files{flex:1;min-height:170px}.tc-tree-wrap>summary{padding:5px}}

#commander .tc-download{font-size:11px;white-space:nowrap;color:#12367e;padding:5px 3px;text-decoration:underline}#sync-message{overflow-wrap:anywhere}

body.music-page .topbar{height:60px}
body.music-page .hub-nav{margin-bottom:12px;padding-bottom:10px}
body.music-page #page-music{margin-top:0;margin-bottom:12px}
body.music-page .hub-heading{margin-bottom:12px}
body.music-page .hub-heading h1{font-size:22px}
body.music-page .hub-heading p,body.music-page footer,body.music-page #persistent-player{display:none}
body.music-page.has-player{padding-bottom:0}
.winamp-desk{padding:12px;min-height:0;height:min(640px,calc(100dvh - 210px));align-items:stretch}
#winamp{display:grid;grid-template-columns:410px minmax(0,1fr);gap:10px;width:1100px;min-height:0}
#winamp.library-hidden{grid-template-columns:minmax(0,410px);width:410px}
#winamp .wa-deck{display:flex;flex-direction:column;gap:8px;min-height:0;min-width:0}
#winamp .wa-main{flex:none}
#winamp .wa-titlebar .title{font-size:10px;letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#winamp .wa-btns{display:flex;flex:none;align-items:center}
#winamp #wa-library-toggle{width:auto;height:22px;padding:0 5px;font-size:11px;white-space:nowrap}
#winamp .wa-display{height:82px;padding:7px}
#winamp .wa-track-scroll{font-size:13px;height:21px;line-height:21px}
#winamp .wa-time{font-size:23px}
#winamp .wa-output{padding-top:4px}
#winamp .wa-toggle{font-size:11px;padding:4px 6px}
#winamp .wa-controls{padding:5px;gap:6px}
#winamp #wa-download{white-space:nowrap;flex-shrink:0}
#winamp .wa-sliders{min-width:0}
#winamp .wa-btn{width:34px;height:28px;font-size:15px}
#winamp #fm-settings{padding-bottom:3px}
#winamp #fm-settings .wa-slider-row{margin:4px 0}
#winamp .wa-fm-summary{padding:4px 7px}
#winamp .wa-playlist{flex:1;min-height:0;display:flex;flex-direction:column;border-top:2px solid #555}
#winamp .wa-pl-list{flex:1;min-height:0;max-height:none;overflow:auto}
#winamp .wa-browser{min-height:0;min-width:0;display:flex;flex-direction:column;border-top:2px solid #555;border-radius:3px}
#winamp .wa-browser-header,#winamp .wa-playlist-header,#winamp #music-search,#winamp .wa-pagination{flex:none}
#winamp #music-search input,#winamp #music-search select{padding:5px;font-size:12px}
#winamp .wa-filelist{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
#winamp .wa-folder-bar{display:flex;align-items:center;gap:5px;padding:5px 7px;background:#0a0a0a;border-bottom:1px solid #383838;flex:none}
#music-path{font-size:12px;color:#a3b4a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#winamp .music-folder{flex-wrap:nowrap;min-height:37px}
#winamp .music-folder button{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;background:transparent;border:0;color:#a5c9ef;padding:4px;font-size:13px}
#winamp .music-folder span{color:#707e70;font-size:11px;white-space:nowrap}
#winamp .music-name{font-size:13px}
#winamp .music-name small{margin-top:2px;font-size:11px}
@media(max-width:850px){
  .winamp-desk{height:auto;min-height:0;padding:8px}
  #winamp{grid-template-columns:minmax(0,1fr);width:520px}
  #winamp .wa-playlist{flex:none;max-height:190px}
  #winamp .wa-pl-list{max-height:150px;flex:auto}
  #winamp .wa-browser{height:420px}
  #winamp.library-hidden{width:520px;grid-template-columns:minmax(0,1fr)}
}

.topbar,main,footer{max-width:none;padding-left:20px;padding-right:20px}
.topbar{height:60px;gap:28px;justify-content:flex-start}
.topbar .brand{flex:none;font-size:18px}
.topbar .hub-nav{margin:0;padding:0;border:0;gap:5px;align-items:center}
.topbar .hub-nav a{font-size:13px;padding:8px 12px;border-radius:6px;white-space:nowrap}
.topbar>.muted{margin-left:auto}
body.music-page .topbar .hub-nav{margin:0;padding:0}
.intro{margin:14px 0 18px}.intro .eyebrow{display:none}.intro h1{font-size:25px;margin:6px 0}.intro p{margin:5px 0}
#page-dsh{margin:0}
.dsh-toolbar{height:36px;display:flex;gap:8px;align-items:center;font-size:12px;color:#6c776f}
.dsh-toolbar>span{flex:1}
.dsh-toolbar button{padding:4px 8px;font-size:12px}
#dsh-frame{display:block;width:100%;height:calc(100dvh - 108px);border:1px solid #d9e2d9;background:white;border-radius:6px}
body.dsh-page footer{display:none}
body.dsh-page.has-player{padding-bottom:0}
body.dsh-page.has-player #dsh-frame{height:calc(100dvh - 200px)}
@media(max-width:700px){
  .topbar{height:auto;min-height:92px;gap:8px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
  body.music-page .topbar{height:auto}
  .topbar .hub-nav{flex-basis:100%;justify-content:flex-start;gap:3px}
  .topbar .hub-nav a{padding:7px 9px;font-size:12px}
  .topbar,main,footer{padding-left:12px;padding-right:12px}
  #dsh-frame{height:calc(100dvh - 160px)}
  body.dsh-page.has-player #dsh-frame{height:calc(100dvh - 335px)}
}

.topbar{position:sticky;top:0;z-index:50;background:#f5f6f2}
.topbar .hub-nav{flex-wrap:wrap;min-width:0}
.hub-nav [data-page],#nav-move{touch-action:none;user-select:none}
#nav-move{border:0;background:transparent;padding:5px;color:#6c776f;cursor:grab;font-size:20px;line-height:1}
.hub-nav .nav-dragging{opacity:.45;cursor:grabbing}
.hub-nav .nav-drop-before{box-shadow:inset 3px 0 #db9c22}
.hub-nav .nav-drop-after{box-shadow:inset -3px 0 #db9c22}
.nav-options{position:relative;flex:none;font-size:13px}
.nav-options summary{cursor:pointer;list-style:none;padding:6px 8px}
.nav-options>div{position:absolute;right:0;top:100%;min-width:150px;display:grid;gap:3px;background:#fff;border:1px solid #d9e2d9;border-radius:6px;padding:6px;box-shadow:0 5px 20px #0002;z-index:60}
.nav-options button{font-size:12px;white-space:nowrap;text-align:left;padding:8px;border:0}
.nav-drop-zones{position:fixed;inset:0;z-index:1000;pointer-events:none}
.nav-drop-zones>div{position:absolute;display:grid;place-items:center;color:#24573e;background:#e8f4e8dd;border:2px dashed #699774;border-radius:8px;font-size:15px}
.nav-drop-zones [data-zone=top]{top:4px;left:25%;right:25%;height:65px}
.nav-drop-zones [data-zone=left]{left:4px;top:100px;bottom:30px;width:110px}
.nav-drop-zones [data-zone=right]{right:4px;top:100px;bottom:30px;width:110px}
.nav-drop-zones .active{background:#c5e5c5ee;border-style:solid}
#page-plex{margin:0}#plex-frame{display:block;width:100%;height:calc(100dvh - 108px);border:1px solid #d9e2d9;background:#181818;border-radius:6px}
.dsh-toolbar a{font-size:12px;white-space:nowrap}
body.plex-page footer{display:none}body.plex-page.has-player{padding-bottom:0}
@media(min-width:701px){
  body[data-nav-dock=left] .hub-nav,body[data-nav-dock=right] .hub-nav{position:fixed;top:65px;bottom:12px;width:146px;flex-direction:column;align-items:stretch;justify-content:flex-start;background:#f7f8f5;border:1px solid #d9e2d9;border-radius:8px;padding:8px;z-index:40;overflow:visible}
  body[data-nav-dock=left] .hub-nav{left:8px}body[data-nav-dock=right] .hub-nav{right:8px}
  body[data-nav-dock=left] main,body[data-nav-dock=left] footer{margin-left:154px}
  body[data-nav-dock=right] main,body[data-nav-dock=right] footer{margin-right:154px}
  body[data-nav-dock=left] #persistent-player{left:154px}body[data-nav-dock=right] #persistent-player{right:154px}
  body[data-nav-dock=left] .nav-options>div{left:0;right:auto}
  body[data-nav-dock=left] .nav-drop-before,body[data-nav-dock=right] .nav-drop-before{box-shadow:inset 0 3px #db9c22}
  body[data-nav-dock=left] .nav-drop-after,body[data-nav-dock=right] .nav-drop-after{box-shadow:inset 0 -3px #db9c22}
}
@media(max-width:1100px){.topbar>.muted{display:none}.topbar{gap:12px}}
@media(min-width:701px) and (max-width:950px){body:not([data-nav-dock=left]):not([data-nav-dock=right]) .topbar{height:auto;min-height:60px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}}
@media(max-width:700px){.topbar .hub-nav{gap:2px}.topbar .hub-nav a{padding:7px 6px;font-size:11px}.topbar .brand{font-size:17px}.dsh-toolbar{height:auto;min-height:36px;flex-wrap:wrap}.dsh-toolbar>span{min-width:100px}}
