.queue { display: flex; flex-direction: column; min-height: 0; height: 100%; color: white; &-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; &-text { display: flex; flex-direction: column; min-width: 0; } &-actions { display: flex; align-items: center; gap: 0.125rem; flex-shrink: 0; .MuiIconButton-root { color: rgb(255 255 255 / 0.75); &:hover { color: white; } } } } &-title { margin: 0; font-size: 1.1rem; font-weight: 700; } &-summary { font-size: 0.8rem; opacity: 0.6; } &-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 1.25rem; // Room so focus rings and the dragged row aren't clipped padding: 2px 2px 1rem; margin: 0 -2px; &::-webkit-scrollbar { width: 6px; } &::-webkit-scrollbar-thumb { background: rgb(255 255 255 / 0.2); border-radius: 3px; } } &-section { display: flex; flex-direction: column; gap: 0.5rem; &-label { margin: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; } &-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 0.25rem 0.5rem; margin: 0 -0.5rem; border-radius: 0.5rem; &:hover, &:focus-visible { background: rgb(255 255 255 / 0.05); } .material-symbols-rounded { opacity: 0.6; } } } &-list { display: flex; flex-direction: column; gap: 2px; } &-hint { margin: 0.25rem 0 0; font-size: 0.75rem; opacity: 0.4; text-align: center; } &-empty { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 2rem 1rem; text-align: center; border: 1px dashed rgb(255 255 255 / 0.12); border-radius: 0.75rem; &-icon { font-size: 2.25rem; opacity: 0.4; margin-bottom: 0.25rem; } &-title { font-weight: 600; } &-text { font-size: 0.85rem; opacity: 0.6; } } } .queue-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.5rem; border-radius: 0.6rem; outline: none; background: transparent; transition: background-color 0.15s ease; &[role="button"] { cursor: pointer; } &:hover, &:focus-visible, &.is-dragging { background: rgb(255 255 255 / 0.07); } &:focus-visible { box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4); } &.is-dragging { box-shadow: 0 8px 24px rgb(0 0 0 / 0.45); background: rgb(40 40 50 / 0.95); } &-current { background: rgb(255 255 255 / 0.08); .queue-row-title { color: $clr-accent-default; } } &-history { opacity: 0.6; &:hover, &:focus-visible { opacity: 1; } } &-handle { all: unset; display: flex; align-items: center; justify-content: center; width: 1.25rem; margin-right: -0.25rem; cursor: grab; touch-action: none; opacity: 0; transition: opacity 0.15s ease; .material-symbols-rounded { font-size: 1.2rem; } &:active { cursor: grabbing; } &:focus-visible { opacity: 1; outline: 2px solid rgb(255 255 255 / 0.4); border-radius: 4px; } } &-art { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: rgb(255 255 255 / 0.08); img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } &-fallback, &-overlay, &-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; } &-fallback { opacity: 0.4; font-size: 1.25rem !important; } &-overlay, &-play { background: rgb(0 0 0 / 0.55); z-index: 1; } &-overlay { color: $clr-accent-default; } &-play { opacity: 0; transition: opacity 0.15s ease; } } &-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; } &-title { font-size: 0.9rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; } &-subtitle { font-size: 0.78rem; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &-duration { flex-shrink: 0; font-size: 0.78rem; opacity: 0.55; font-variant-numeric: tabular-nums; } &-remove.MuiIconButton-root { flex-shrink: 0; color: rgb(255 255 255 / 0.7); opacity: 0; transition: opacity 0.15s ease; .material-symbols-rounded { font-size: 1.1rem; } } // Reveal row controls on hover / keyboard focus; always shown on touch screens &:hover, &:focus-within { .queue-row-handle, .queue-row-remove { opacity: 1; } .queue-row-art-play { opacity: 1; } } @media (hover: none) { .queue-row-handle, .queue-row-remove { opacity: 1; } } } // Queue drawer (mini player / video player) .queue-drawer-paper.MuiPaper-root { width: 420px; max-width: 100%; padding: 1.25rem 1rem 0 1.25rem; box-sizing: border-box; background: rgb(18 18 24 / 0.97); border-left: 1px solid rgb(255 255 255 / 0.08); background-image: none; }