:root{
  --bg:#050301;
  --surface-player:rgba(26,14,6,.42);
  --surface-player-2:rgba(30,17,8,.34);
  --surface-player-3:rgba(25,15,8,.28);
  --surface-workflow:rgba(22,14,8,.28);
  --surface-library:rgba(18,12,7,.20);
  --surface-list:rgba(0,0,0,.14);
  --border-strong:rgba(255,214,170,.28);
  --border-soft:rgba(255,218,178,.16);
  --orange:#ffb25a;
  --amber:#ff8f2b;
  --text-main:rgba(255,236,208,.96);
  --text-soft:rgba(255,224,194,.82);
  --text-dim:rgba(255,208,168,.66);
}

html, body{ height:100%; }
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  overflow-x:hidden;
}
main.page{ flex:1 0 auto; }
footer.footer{ flex:0 0 auto; }

#shader{
  position:fixed;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  background:#000;
  opacity:.94;
  filter:saturate(1.02) brightness(.90) contrast(1.02);
}
.crt-overlay{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,210,150,.04) 0%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.24) 100%),
    radial-gradient(circle at center, rgba(255,188,120,.05) 0%, rgba(0,0,0,.24) 52%, rgba(0,0,0,.62) 100%);
  mix-blend-mode:normal;
}

.container{
  max-width:1080px;
  margin:auto;
  padding:24px 20px 28px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

h1{
  text-align:center;
  margin:0;
  letter-spacing:2px;
  color:var(--amber);
  text-shadow:0 0 8px rgba(255,140,40,.22);
}
.site-title-link{
  color:inherit;
  text-decoration:none;
}
.site-title-link:hover,
.site-title-link:focus{
  color:inherit;
}

h2{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:1.1px;
  color:var(--orange);
  text-shadow:none;
  text-transform:lowercase;
}

.player-workspace,
.workflow-zone,
.library-zone{
  position:relative;
}

.player-shell{
  position:relative;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:grid;
  gap:14px;
  overflow:visible;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.player-shell::before{
  content:none;
}

.zone-kicker{
  margin:2px 4px 10px;
  color:rgba(255,190,120,.70);
  font-size:11px;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.workflow-grid,
.library-grid{
  display:grid;
  gap:14px;
}
.workflow-grid{
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr);
}
.library-grid{
  grid-template-columns:minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items:start;
}

.card{
  margin:0;
  padding:14px 16px;
  border:1px solid var(--border-soft);
  border-radius:16px;
  background:var(--surface-workflow);
  box-shadow:
    0 0 0 1px rgba(255,246,236,.04) inset,
    0 14px 32px rgba(0,0,0,.16);
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
}
.listen-card{
  padding:14px 16px;
  border:1px solid var(--border-soft);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  box-shadow:
    0 0 0 1px rgba(255,246,236,.04) inset,
    0 14px 32px rgba(0,0,0,.16);
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
}
.now-playing-card{
  background:transparent;
  border-color:transparent;
}
.controls-panel{
  background:var(--surface-player-3);
  border-color:rgba(255,228,198,.14);
}
.workflow-panel{
  background:var(--surface-workflow);
}
.library-panel{
  background:var(--surface-library);
  border-color:rgba(255,230,202,.10);
}
.combined-browser-panel{
  margin-top:14px;
}
.player-support-card{
  padding:12px 14px;
  background:rgba(255,255,255,.05);
  border-color:rgba(255,236,214,.10);
}

.player-toolbar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.listen-card h2{
  margin:0;
  font-size:11px;
  letter-spacing:1.4px;
  color:rgba(255,200,140,.74);
  text-transform:uppercase;
}
.player-toolbar-mode{
  color:rgba(255,188,120,.70);
  font-size:11px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.btnrow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
  align-items:center;
}
.btnrow.mt-2{ margin-top:2px; }
.btnrow.mt-10{ margin-top:10px; }
.grow{ flex:1; min-width:18px; }

button, .btn{
  padding:10px 12px;
  border:1px solid rgba(255,232,206,.16);
  border-radius:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color:rgba(255,196,126,.98);
  font-weight:900;
  cursor:pointer;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 10px 20px rgba(0,0,0,.12);
  text-decoration:none;
  display:inline-block;
  user-select:none;
  transition:background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease;
  backdrop-filter:blur(14px) saturate(1.08);
  -webkit-backdrop-filter:blur(14px) saturate(1.08);
}
button:hover, .btn:hover{
  border-color:rgba(255,240,222,.24);
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 12px 22px rgba(0,0,0,.16);
}
button:active, .btn:active{ transform:translateY(1px); }
button.small, .btn.small{
  padding:8px 10px;
  font-weight:800;
}
button.on, .btn.on{
  border-color:rgba(255,230,198,.32);
  background:linear-gradient(180deg, rgba(255,196,126,.18), rgba(255,255,255,.05));
  color:rgba(255,234,206,.98);
}

.player-stream-row{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.volwrap{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
}
.now-playing-volume{
  justify-content:center;
  margin-top:12px;
}
.now-playing-volume-action,
.now-playing-volume-mute{
  min-width:44px;
}
#vol{
  height:12px;
  width:360px;
  background:rgba(255,255,255,.12);
  border-radius:999px;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 0 12px rgba(0,0,0,.18) inset;
}
#volbar{
  height:12px;
  width:80%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(255,170,70,.95), rgba(255,120,25,.95));
}
.volpct{
  min-width:32px;
  text-align:right;
  font-size:12px;
  color:var(--text-soft);
  font-variant-numeric:tabular-nums;
}

.statusline{
  margin-top:12px;
  font-size:12px;
  color:var(--text-soft);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:baseline;
  text-align:left;
}
.pill{
  display:inline-block;
  padding:3px 8px;
  border:1px solid rgba(255,238,220,.14);
  border-radius:999px;
  background:rgba(255,255,255,.05);
}

.now-playing-summary-main{
  min-width:0;
}
.now-playing-unified{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:0;
  align-items:center;
  justify-content:center;
}
.now-playing-frame{
  padding:4px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.now-playing-card{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.browser-column h3{
  margin-bottom:12px;
  font-size:10px;
  letter-spacing:1.5px;
  color:rgba(255,202,146,.62);
}
.now-playing-unified > *{
  min-width:0;
}
.now-track-body,
.current-cover-wrap{
  padding:12px 14px;
}
.now-track-body,
.current-cover-wrap{
  min-height:0;
}
.now-track-body{
  display:grid;
  gap:2px;
  align-content:start;
  justify-items:center;
  min-width:0;
  text-align:center;
}
#nowLi{
  padding-left:0;
}
#nowLi::before{ content:none; }
.now-track-title{
  display:block;
  font-size:13px;
  line-height:1.42;
  letter-spacing:0;
  text-decoration:none;
  word-break:break-word;
}
.now-track-meta{
  display:grid;
  gap:0;
  margin:0 auto;
  padding:0;
  width:100%;
}
.now-track-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  align-items:center;
}
.now-track-inline-meta{
  gap:0;
}
.now-track-sep{
  color:rgba(255,196,128,.82);
}
.now-track-link{
  min-width:0;
  font-size:13px;
  line-height:1.42;
  word-break:break-word;
  text-decoration:none;
}
.controls-shell{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:18px;
  align-items:end;
  padding:0;
}
.control-cluster{
  min-width:0;
}
.utility-buttons,
.transport-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.utility-buttons button{
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border-color:rgba(255,238,220,.12);
}
.transport-buttons button{
  min-width:46px;
  padding:11px 14px;
  background:linear-gradient(180deg, rgba(255,210,154,.18), rgba(255,255,255,.04));
  border-color:rgba(255,232,206,.22);
  color:rgba(255,238,214,.98);
}
.transport-buttons button:hover{
  background:linear-gradient(180deg, rgba(255,220,174,.22), rgba(255,255,255,.06));
  border-color:rgba(255,240,222,.30);
}

.current-cover-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:0;
  padding:0 14px 2px;
}
#progCircleWrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
#progCircleShell{
  position:relative;
  width:240px;
  height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.now-playing-side-btn{
  position:absolute;
  top:50%;
  z-index:4;
  min-width:46px;
  padding:11px 12px;
  transform:translateY(-50%);
  background:linear-gradient(180deg, rgba(255,210,154,.18), rgba(255,255,255,.04));
  border-color:rgba(255,232,206,.22);
  color:rgba(255,238,214,.98);
}
.now-playing-side-btn:hover{
  background:linear-gradient(180deg, rgba(255,220,174,.22), rgba(255,255,255,.06));
  border-color:rgba(255,240,222,.30);
}
.now-playing-side-btn-prev{
  right:calc(100% + 18px);
}
.now-playing-side-btn-next{
  left:calc(100% + 18px);
}
#progCircle{
  position:absolute;
  inset:0;
  width:240px;
  height:240px;
  cursor:pointer;
  filter:drop-shadow(0 0 16px rgba(255,130,30,.18));
  pointer-events:none;
}
.prog-circle-track{
  fill:none;
  stroke:rgba(255,255,255,.12);
  stroke-width:10;
}
.prog-circle-bar{
  fill:none;
  stroke:url(#circleRingGradient);
  stroke-width:10;
  stroke-linecap:round;
  transform:rotate(-90deg);
  transform-origin:50% 50%;
  transition:stroke-dashoffset .08s linear;
}
#circleSeekText{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  z-index:3;
  width:116px;
  color:rgba(255,224,188,.92);
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
  line-height:1.15;
  text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
  pointer-events:none;
}
.circle-seek-current,
.circle-seek-total{
  display:block;
}
.circle-seek-current{
  font-size:14px;
}
.circle-seek-total{
  font-size:12px;
}
.current-audio-meta{
  min-height:16px;
  font-size:9px;
  line-height:1.35;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,212,166,.72);
  text-align:center;
  white-space:nowrap;
}
.now-playing-transport{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}
.now-playing-transport-btn{
  min-width:48px;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,170,60,.24);
  background:rgba(20,10,4,.72);
  color:rgba(255,228,198,.94);
  font-size:22px;
  cursor:pointer;
}
.now-playing-transport-btn:hover:not(:disabled){
  border-color:rgba(255,190,90,.42);
  background:rgba(36,16,4,.82);
}
.now-playing-transport-btn:disabled{
  opacity:.45;
  cursor:default;
}
.now-playing-transport-btn-primary{
  min-width:58px;
  min-height:58px;
  font-size:28px;
  background:linear-gradient(180deg, rgba(255,168,72,.2), rgba(255,118,26,.18));
}
.current-cover-link{
  -webkit-appearance:none;
  appearance:none;
  position:relative;
  z-index:2;
  display:inline-flex;
  text-decoration:none;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
}
.current-cover-link:disabled{ cursor:default; }
.current-cover-link:focus{ outline:none; }
.current-cover-link::-moz-focus-inner{ border:0; padding:0; }
.current-cover-img{
  width:166px;
  height:166px;
  object-fit:cover;
  border-radius:50%;
  background:transparent;
  display:none;
  transform-origin:center center;
}
.current-cover-img.is-playing{
  animation:cover-spin-cw 4s linear infinite;
}
@keyframes cover-spin-cw{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

.playlist-panel,
.search-panel,
.db-panel,
.stored-panel{
  overflow:hidden;
}
.combined-browser-grid{
  margin-top:10px;
  min-height:540px;
}
.collections-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.collections-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 18px;
  justify-content:center;
}
.collections-tab{
  min-width:0;
  border-color:transparent;
  box-shadow:none;
  background:transparent;
}
.collections-tab.is-active{
  border-color:transparent;
  background:linear-gradient(180deg, rgba(255,196,126,.18), rgba(255,255,255,.05));
  color:rgba(255,234,206,.98);
}
.collections-status{
  margin:0;
  color:var(--text-soft);
  font-size:13px;
}
.collections-status[data-tone="warn"]{
  color:rgba(255,198,132,.92);
}
.collections-status[data-tone="error"]{
  color:rgba(255,154,118,.94);
}
.browser-column{
  min-width:0;
}
.collections-panel{
  display:none;
  min-height:540px;
  padding:16px 18px 18px;
  box-sizing:border-box;
}
.collections-panel.is-active{
  display:block;
}
.browser-column-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.browser-column h3{
  margin:0;
  font-size:12px;
  letter-spacing:1.1px;
  color:rgba(255,206,156,.86);
  text-transform:uppercase;
}
.browser-meta{
  color:var(--text-dim);
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.playlist-list,
.search-results,
.db-tree,
.stored-list{
  margin:0;
  padding:0;
  list-style:none;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius:12px;
  overflow:auto;
  backdrop-filter:blur(14px) saturate(1.1);
  -webkit-backdrop-filter:blur(14px) saturate(1.1);
}
.playlist-list{ max-height:360px; }
.search-results,
.stored-list{ max-height:320px; }
.db-tree{ max-height:360px; min-height:180px; padding:2px 0; }
.collections-panel:not(#collectionsPanelNowPlaying) .playlist-list,
.collections-panel:not(#collectionsPanelNowPlaying) .search-results,
.collections-panel:not(#collectionsPanelNowPlaying) .stored-list,
.collections-panel:not(#collectionsPanelNowPlaying) .db-tree{
  min-height:540px;
  max-height:540px;
}
.collections-panel:not(#collectionsPanelNowPlaying) .search-results{
  min-height:492px;
  max-height:492px;
}
.collections-panel:not(#collectionsPanelNowPlaying) .controls-shell{
  min-height:540px;
  align-content:start;
}

.playlist-list li,
.search-results li,
.stored-list li{
  padding:8px 10px;
  border-top:1px solid rgba(255,170,60,.10);
}
.playlist-list li{
  border-top:0;
}
.stored-list li{
  border-top:0;
}
.playlist-list li:first-child,
.search-results li:first-child,
.stored-list li:first-child{ border-top:0; }
.playlist-list li::before,
.search-results li::before,
.stored-list li::before{ content:none; }

.playlist-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:grab;
  border-radius:0;
}
.playlist-item.current{
  border-radius:10px;
  background:rgba(255,206,156,.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,236,214,.18),
    0 10px 20px rgba(0,0,0,.08);
}
.playlist-item.current .playlist-index{
  color:rgba(255,234,192,.92);
  font-weight:700;
}
.playlist-item.current .li-title{
  color:rgba(255,220,176,.98);
}
.playlist-item.dragging{
  opacity:.5;
  cursor:grabbing;
}
.playlist-item.drop-before{
  box-shadow:inset 0 2px 0 rgba(255,170,70,.8);
}
.playlist-item.drop-after{
  box-shadow:inset 0 -2px 0 rgba(255,170,70,.8);
}
.playlist-main{
  min-width:0;
  flex:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}
.playlist-meta{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  margin-top:2px;
}
.playlist-index{
  flex:0 0 3ch;
  text-align:right;
  color:var(--text-soft);
  font-size:12px;
}
.playlist-path{
  display:block;
  min-width:0;
  flex:1;
  color:var(--text-dim);
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.playlist-actions,
.search-actions,
.db-tree-actions,
.stored-actions{
  margin-left:auto;
  display:flex;
  gap:6px;
}
.playlist-btn{
  min-width:34px;
  padding:6px 8px;
}
.playlist-btn.danger{
  border-color:rgba(255,120,90,.22);
}
.playlist-empty,
.search-empty{
  color:var(--text-soft);
  font-size:13px;
}

.search-form{
  display:flex;
  gap:8px;
  align-items:center;
  margin:0 0 10px;
}
.search-form .input{
  flex:1;
}
.search-results{
  margin-top:10px;
}
.search-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.search-main{
  min-width:0;
  flex:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.search-name{
  color:rgba(255,216,172,.92);
}
.search-type{
  font-size:11px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:rgba(255,170,95,.84);
  border:1px solid rgba(255,170,60,.20);
  border-radius:999px;
  padding:1px 7px;
}
.search-path{
  width:100%;
  color:var(--text-dim);
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.search-tagline{
  width:100%;
  color:var(--text-soft);
  font-size:12px;
}
.search-btn,
.stored-btn{
  min-width:72px;
}

.db-tree{
  border-radius:12px;
}
.db-tree-list{
  margin:0;
  padding-left:14px;
  list-style:none;
}
.db-tree-list.root{ padding-left:2px; }
.db-tree-list li{
  padding:6px 8px;
  line-height:1.35;
}
.db-tree-list li::before{ content:none; }
.db-tree-list details{ margin:2px 0; }
.db-tree-list summary{
  cursor:pointer;
  user-select:none;
  color:rgba(255,210,160,.82);
  display:flex;
  align-items:center;
  gap:8px;
}
.db-tree-list summary:hover{ color:var(--orange); }
.db-tree-file{
  display:flex;
  align-items:center;
  gap:8px;
}
.db-tree-label{
  min-width:0;
  flex:1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.db-add-btn{
  padding:4px 8px;
}
.db-tree-note,
.stored-note{
  margin:4px 0 0;
  color:rgba(255,188,120,.82);
  font-size:13px;
}
.stored-note:empty,
.db-tree-note:empty{
  display:none;
}

.stored-item{
  display:flex;
  align-items:center;
  gap:10px;
}
.stored-name{
  min-width:0;
  flex:1;
  color:rgba(255,208,156,.82);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

ul{
  margin:0;
  padding-left:0;
  list-style:none;
}
li{
  line-height:1.45;
  position:relative;
  padding-left:18px;
}
li::before{
  content:"#";
  position:absolute;
  left:0;
  top:0;
  color:rgba(255,180,90,.62);
}
.li-artist{ color:rgba(255,214,168,.78); }
.li-title{ color:rgba(255,163,74,.94); }
.li-album{ color:rgba(255,196,128,.82); }
a.discogs-link{
  text-decoration:none;
}
a.discogs-link.disabled-link{
  pointer-events:none;
}
.dur{
  color:rgba(255,220,176,.74);
  font-size:12px;
  padding-left:6px;
  opacity:.85;
}
.sep{ opacity:.48; }
.no-margin{ margin:0; }
.mt-10{ margin-top:10px; }

footer.footer{
  max-width:1080px;
  width:100%;
  margin:0 auto;
  padding:0 20px 20px;
}
.footerbar{
  margin-top:8px;
  padding-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.footerbar .left,
.footerbar .mid,
.footerbar .right{
  flex:1;
  display:flex;
}
.footerbar .left{ justify-content:flex-start; }
.footerbar .mid{ justify-content:center; }
.footerbar .right{ justify-content:flex-end; }

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.70);
  display:none;
  z-index:60;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.modal:target{ display:flex; }
.modalbox{
  width:min(520px, 100%);
  border:1px solid rgba(255,170,60,.18);
  border-radius:16px;
  overflow:hidden;
  background:rgba(0,0,0,.48);
  box-shadow:0 24px 56px rgba(0,0,0,.50);
}
.modalbox .card{
  border:0;
  border-radius:0;
  background:rgba(9,6,3,.86);
}
.modalclose{
  float:right;
  text-decoration:none;
  color:rgba(255,180,90,.65);
  font-weight:900;
}
.modalclose:hover{ color:var(--orange); }

.cover-details-modalbox{
  width:min(680px, 100%);
}
.cover-details-card{
  padding:18px 18px 20px;
}
.cover-details-body{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.cover-details-img{
  width:min(100%, 320px);
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:20px;
  border:1px solid rgba(255,170,60,.22);
  background:rgba(0,0,0,.28);
  align-self:center;
}
.cover-details-lines{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cover-details-line{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,170,60,.12);
}
.cover-details-line:last-child{
  padding-bottom:0;
  border-bottom:0;
}
.cover-details-label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,184,108,.7);
}
.cover-details-value{
  font-size:14px;
  line-height:1.45;
  color:rgba(255,230,205,.94);
  word-break:break-word;
}
.input{
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid rgba(255,180,90,.18);
  border-radius:10px;
  background:rgba(18,8,2,.54);
  color:var(--orange);
  outline:none;
}
.err{
  margin-top:10px;
  color:#ffb25a;
  opacity:.9;
  font-size:12px;
}

.helptext{
  font-size:13px;
  line-height:1.55;
  color:rgba(255,210,160,.86);
}
.helptext p{ margin:10px 0; }
.helptext code{
  color:var(--orange);
  background:rgba(0,0,0,.28);
  padding:1px 6px;
  border-radius:6px;
  border:1px solid rgba(255,170,60,.18);
}

.authed-only{ display:none; }
body.authed .collections-tab.authed-only{ display:inline-block; }
body.authed .collections-panel.authed-only{ display:none; }
body.authed .collections-panel.authed-only.is-active{ display:block; }
.auth-only-block{ display:none; }
body.authed .auth-only-block{ display:block; }

@media (max-width: 920px){
  .now-playing-summary-main,
  .workflow-grid,
  .library-grid,
  .controls-shell{
    grid-template-columns:1fr;
  }
  .transport-cluster{
    justify-self:start;
  }
}

@media (max-width: 640px){
  .container{
    padding:18px 14px 24px;
    gap:14px;
  }
  h1{
    font-size:24px;
    line-height:1.2;
  }
  .player-shell,
  .card{
    border-radius:16px;
  }
  .player-shell{
    padding:0;
  }
  .card{
    padding:12px 13px;
  }
  .listen-card{
    padding:0;
    border-radius:0;
  }
  .player-stream-row{
    gap:6px;
  }
  .statusline{
    gap:8px;
  }
  .now-playing-card{
    padding:0;
  }
  .now-playing-frame{
    padding:2px 0 0;
  }
  .now-track-body{
    padding:10px 8px;
  }
  .current-cover-wrap{
    padding:0 8px 2px;
  }
  .now-track-title{
    font-size:22px;
  }
  .now-track-row{
    gap:4px;
  }
  .now-track-meta{
    gap:8px;
    padding-top:10px;
  }
  .collections-head,
  .browser-column-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .combined-browser-grid{
    min-height:500px;
  }
  .collections-panel{
    min-height:500px;
    padding:14px;
  }
  .collections-panel:not(#collectionsPanelNowPlaying) .playlist-list,
  .collections-panel:not(#collectionsPanelNowPlaying) .search-results,
  .collections-panel:not(#collectionsPanelNowPlaying) .stored-list,
  .collections-panel:not(#collectionsPanelNowPlaying) .db-tree{
    min-height:500px;
    max-height:500px;
  }
  .collections-panel:not(#collectionsPanelNowPlaying) .search-results{
    min-height:452px;
    max-height:452px;
  }
  .collections-panel:not(#collectionsPanelNowPlaying) .controls-shell{
    min-height:500px;
  }
  #vol{
    width:min(180px, 40vw);
  }
  #progCircleShell{
    width:224px;
    height:224px;
  }
  .now-playing-side-btn{
    min-width:42px;
    padding:10px 11px;
  }
  .now-playing-side-btn-prev{
    right:calc(100% + 10px);
  }
  .now-playing-side-btn-next{
    left:calc(100% + 10px);
  }
  #progCircle{
    width:224px;
    height:224px;
  }
  .current-cover-img{
    width:154px;
    height:154px;
  }
  .footerbar{
    gap:8px;
  }
  .cover-details-card{
    padding:14px 14px 16px;
  }
  .cover-details-img{
    width:min(100%, 260px);
  }
}
