Files
Psychotoxical-psysonic/src/styles/components.css
T
2026-03-27 17:17:09 +01:00

4058 lines
75 KiB
CSS

/* ─── Pages & Components CSS ─── */
/* ─ Hero ─ */
.hero {
position: relative;
width: 100%;
height: 360px;
overflow: hidden;
flex-shrink: 0;
}
.hero-placeholder {
width: 100%;
height: 360px;
background: linear-gradient(135deg, var(--ctp-surface0), var(--ctp-mantle));
flex-shrink: 0;
}
.hero-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
transition: transform 8s ease, opacity 0.8s ease, filter 0.8s ease;
transform: scale(1.05);
filter: blur(12px);
}
.hero:hover .hero-bg {
filter: blur(8px);
}
.hero:hover .hero-bg {
transform: scale(1);
}
.hero-dots {
position: absolute;
bottom: var(--space-4);
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 6px;
z-index: 10;
}
.hero-dot {
width: 8px;
height: 8px;
border-radius: var(--radius-full);
background: rgba(255, 255, 255, 0.35);
border: none;
padding: 0;
cursor: pointer;
transition: all 0.3s ease;
}
.hero-dot:hover:not(.hero-dot-active) {
background: rgba(255, 255, 255, 0.6);
}
.hero-dot-active {
width: 24px;
background: rgba(255, 255, 255, 0.9);
}
.hero-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to right,
rgba(0, 0, 0, 0.78) 0%,
rgba(0, 0, 0, 0.45) 50%,
rgba(0, 0, 0, 0.18) 100%),
linear-gradient(to top,
rgba(0, 0, 0, 0.88) 0%,
transparent 60%);
}
.hero-content {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
gap: 2rem;
padding: var(--space-8);
}
.hero-cover {
width: 220px;
height: 220px;
border-radius: var(--radius-md);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
object-fit: cover;
flex-shrink: 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-text {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.hero-eyebrow {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: var(--space-2);
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(24px, 3vw, 36px);
font-weight: 700;
color: #ffffff;
margin-bottom: var(--space-1);
line-height: 1.2;
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
max-width: 500px;
}
.hero-artist {
font-size: 16px;
color: rgba(255, 255, 255, 0.72);
margin-bottom: var(--space-3);
}
.hero-meta {
display: flex;
gap: var(--space-2);
margin-bottom: var(--space-4);
}
.hero-play-btn {
display: inline-flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-3) var(--space-5);
background: var(--accent);
color: var(--ctp-crust);
border-radius: var(--radius-full);
font-size: 14px;
font-weight: 600;
transition: all var(--transition-fast);
width: fit-content;
}
.hero-play-btn:hover {
background: var(--accent);
filter: brightness(1.1);
transform: scale(1.02);
box-shadow: var(--shadow-glow);
}
/* ─ Section titles ─ */
.section-title,
.page-title {
font-family: var(--font-display);
font-size: 20px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: var(--space-4);
}
/* ─ Album Card ─ */
.album-card {
cursor: pointer;
background: var(--bg-card);
border-radius: var(--radius-lg);
border: 1px solid var(--border-subtle);
overflow: hidden;
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.album-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
border-color: var(--border);
}
.album-card-cover {
position: relative;
aspect-ratio: 1;
overflow: hidden;
background: var(--bg-hover);
}
.album-card-cover img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-slow);
}
.album-card:hover .album-card-cover img {
transform: scale(1.04);
}
.album-card-cover-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
}
/* ─ Artist Card (Grid View) ─ */
.artist-card {
display: flex;
flex-direction: column;
background: var(--bg-card);
border-radius: var(--radius-lg);
border: 1px solid var(--border-subtle);
cursor: pointer;
overflow: hidden;
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.artist-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
border-color: var(--border);
}
.artist-card-avatar {
position: relative;
aspect-ratio: 1;
overflow: hidden;
background: var(--bg-hover);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
}
.artist-card-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-slow);
}
.artist-card:hover .artist-card-avatar img {
transform: scale(1.04);
}
.artist-card-avatar-initial {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 50% !important;
border: 2px solid;
width: calc(100% - 2 * var(--space-4));
margin: var(--space-3) auto var(--space-3);
}
.artist-card-avatar-initial span {
font-size: 3rem;
font-weight: 800;
font-family: var(--font-display);
line-height: 1;
user-select: none;
}
.artist-card-info {
padding: var(--space-3) var(--space-3) var(--space-2);
display: flex;
flex-direction: column;
gap: 2px;
}
.artist-card-name {
font-weight: 600;
font-size: 13px;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.artist-card-meta {
font-size: 12px;
color: var(--text-secondary);
}
/* ─ Album Row Container ─ */
.album-row-section {
display: flex;
flex-direction: column;
gap: var(--space-4);
position: relative;
}
.album-row-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.album-row-nav {
display: flex;
align-items: center;
gap: var(--space-2);
}
.album-row-nav .nav-btn {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
color: var(--text-secondary);
transition: all var(--transition-fast);
cursor: pointer;
}
.album-row-nav .nav-btn:hover:not(.disabled) {
background: var(--bg-hover);
color: var(--text-primary);
border-color: var(--border);
}
.album-row-nav .nav-btn.disabled {
opacity: 0.3;
cursor: default;
}
.album-grid-wrapper {
position: relative;
}
.album-grid {
display: flex;
gap: var(--space-4);
overflow-x: auto;
padding-bottom: var(--space-4);
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
/* Hide scrollbar for Webkit */
-webkit-overflow-scrolling: touch;
}
.album-grid::-webkit-scrollbar {
display: none;
}
.album-grid {
-ms-overflow-style: none;
scrollbar-width: none;
}
.album-grid-wrap {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: var(--space-4);
}
@media (min-width: 1024px) {
.album-grid-wrap {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
}
.album-grid .album-card,
.album-grid .artist-card {
flex: 0 0 clamp(140px, 15vw, 180px);
scroll-snap-align: start;
}
.album-card-more {
flex: 0 0 clamp(140px, 15vw, 180px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--space-3);
background: var(--bg-hover);
border-radius: var(--radius-lg);
border: 1px dashed var(--border);
color: var(--text-secondary);
cursor: pointer;
scroll-snap-align: start;
transition: all var(--transition-base);
}
.album-card-more:hover {
background: var(--ctp-surface0);
color: var(--text-primary);
border-color: var(--accent);
box-shadow: var(--shadow-sm);
}
.album-card-offline-badge {
position: absolute;
top: 6px;
right: 6px;
background: color-mix(in srgb, var(--accent) 85%, transparent);
color: var(--ctp-crust);
border-radius: var(--radius-sm);
padding: 3px 4px;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
pointer-events: none;
}
.album-card-play-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity var(--transition-base);
}
.album-card:hover .album-card-play-overlay {
opacity: 1;
}
.album-card-details-btn {
background: var(--accent);
color: var(--ctp-crust);
border: none;
padding: 8px 20px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 13px;
cursor: pointer;
transition: transform var(--transition-fast), background var(--transition-fast);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.album-card-details-btn:hover {
transform: scale(1.05);
background: var(--accent);
}
.album-card-info {
padding: var(--space-3) var(--space-4) var(--space-4);
}
.album-card-title {
font-weight: 600;
font-size: 13px;
color: var(--text-primary);
margin-bottom: 2px;
}
.album-card-artist {
font-size: 12px;
color: var(--text-secondary);
}
.album-card-year {
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
}
/* ─ Live Search ─ */
.live-search {
position: relative;
min-width: 280px;
max-width: 420px;
flex: 1;
}
.live-search-input-wrap {
position: relative;
display: flex;
align-items: center;
}
.live-search-icon {
position: absolute;
left: 12px;
color: var(--text-muted);
pointer-events: none;
display: flex;
align-items: center;
}
.live-search-field {
padding-left: 36px !important;
padding-right: 32px !important;
border-radius: var(--radius-full) !important;
}
.live-search-clear {
position: absolute;
right: 12px;
font-size: 18px;
color: var(--text-muted);
line-height: 1;
transition: color var(--transition-fast);
}
.live-search-clear:hover {
color: var(--text-primary);
}
.live-search-dropdown {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
background: var(--ctp-surface0);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
max-height: 420px;
overflow-y: auto;
z-index: 1000;
animation: fadeIn 150ms ease both;
}
.search-section {
padding: var(--space-2) 0;
}
.search-section+.search-section {
border-top: 1px solid var(--border-subtle);
}
.search-section-label {
display: flex;
align-items: center;
gap: 6px;
padding: var(--space-2) var(--space-4);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-muted);
}
.search-result-item {
display: flex;
align-items: center;
gap: var(--space-3);
width: 100%;
padding: var(--space-2) var(--space-4);
text-align: left;
transition: background var(--transition-fast);
border-radius: 0;
}
.search-result-item:hover,
.search-result-item.active {
background: var(--bg-hover);
}
.search-result-icon {
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
background: var(--bg-hover);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
flex-shrink: 0;
}
.search-result-thumb {
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
object-fit: cover;
flex-shrink: 0;
}
.search-result-name {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
}
.search-result-sub {
font-size: 11px;
color: var(--text-secondary);
margin-top: 2px;
}
.search-empty {
padding: var(--space-4);
text-align: center;
color: var(--text-muted);
font-size: 13px;
}
/* ─ Album Detail ─ */
/* ─── Offline Library ─── */
.offline-library {
padding: var(--space-6);
display: flex;
flex-direction: column;
gap: var(--space-6);
}
.offline-library-header {
display: flex;
align-items: center;
gap: 14px;
color: var(--accent);
}
.offline-library-title {
font-size: 22px;
font-weight: 700;
color: var(--text-primary);
margin: 0;
}
.offline-library-count {
font-size: 13px;
color: var(--text-secondary);
margin: 2px 0 0;
}
.offline-library-card .album-card-info {
gap: 3px;
}
.offline-library-card-meta {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 2px;
}
.offline-library-enqueue {
background: none;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-muted);
font-size: 10px;
padding: 2px 6px;
cursor: pointer;
transition: color var(--transition-fast), border-color var(--transition-fast);
}
.offline-library-enqueue:hover {
color: var(--accent);
border-color: var(--accent);
}
.offline-library-tracks {
font-size: 10px;
color: var(--text-muted);
}
.offline-library-delete {
background: none;
border: none;
padding: 2px 4px;
cursor: pointer;
color: var(--text-muted);
display: flex;
align-items: center;
border-radius: var(--radius-sm);
transition: color var(--transition-fast);
}
.offline-library-delete:hover {
color: var(--color-error, #e05050);
}
.album-detail {
display: flex;
flex-direction: column;
gap: 0;
}
.album-detail-header {
position: relative;
padding: var(--space-6) var(--space-6) 0;
overflow: hidden;
}
.album-detail-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
filter: blur(20px) brightness(0.6);
transform: scale(1.1);
/* Hide blur edges */
z-index: 0;
opacity: 0.8;
transition: opacity var(--transition-slow);
}
.album-detail-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to bottom,
rgba(30, 30, 46, 0.5) 0%,
var(--bg-app) 100%);
z-index: 0;
}
.album-detail-hero {
display: flex;
gap: var(--space-6);
align-items: flex-start;
padding: var(--space-4) 0 var(--space-6);
}
.album-detail-cover-btn {
padding: 0;
border-radius: var(--radius-lg);
flex-shrink: 0;
cursor: zoom-in;
position: relative;
overflow: hidden;
display: block;
width: clamp(120px, 15vw, 200px);
height: clamp(120px, 15vw, 200px);
}
.album-detail-cover-btn:hover .album-detail-cover {
transform: scale(1.04);
}
.album-detail-cover {
width: 100%;
height: 100%;
border-radius: var(--radius-lg);
object-fit: cover;
box-shadow: var(--shadow-lg);
display: block;
transition: transform 0.2s ease;
}
/* ─── Cover Lightbox ─── */
.cover-lightbox-overlay {
position: fixed;
inset: 0;
z-index: 9000;
background: rgba(0, 0, 0, 0.88);
display: flex;
align-items: center;
justify-content: center;
padding: 40px;
box-sizing: border-box;
cursor: zoom-out;
backdrop-filter: blur(6px);
}
.cover-lightbox-img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: var(--radius-lg);
box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
cursor: default;
}
.cover-lightbox-close {
position: fixed;
top: 24px;
right: 24px;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.12);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background var(--transition-fast);
z-index: 1;
}
.cover-lightbox-close:hover {
background: rgba(255, 255, 255, 0.24);
}
.album-cover-placeholder {
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-card);
font-size: 48px;
color: var(--text-muted);
}
.album-detail-meta {
min-width: 0;
flex: 1;
}
.album-detail-title {
font-family: var(--font-display);
font-size: clamp(20px, 3vw, 32px);
font-weight: 800;
color: var(--text-primary);
line-height: 1.1;
margin: var(--space-2) 0 var(--space-1);
overflow-wrap: break-word;
}
.album-detail-artist {
font-size: clamp(13px, 1.5vw, 16px);
color: var(--accent);
font-weight: 600;
}
.album-detail-artist-link {
background: none;
border: none;
padding: 0;
color: var(--accent);
font-size: inherit;
font-weight: inherit;
cursor: pointer;
text-decoration: none;
transition: color var(--transition-fast), text-decoration var(--transition-fast);
}
.album-detail-artist-link:hover {
color: var(--text-primary);
text-decoration: underline;
}
.album-detail-info {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
color: var(--text-muted);
font-size: 13px;
margin: var(--space-2) 0 var(--space-4);
}
.album-detail-actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
align-items: center;
row-gap: var(--space-2);
}
.album-detail-actions-primary {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.album-detail-content {
position: relative;
z-index: 1;
}
.album-detail-badge {
margin-bottom: 0.5rem;
}
.album-detail-back {
margin-bottom: 1rem;
gap: 6px;
}
.album-info-dot {
margin: 0 4px;
}
.album-related {
padding: 0 var(--space-6) var(--space-8);
}
.album-related-divider {
border-top: 1px solid var(--border-subtle);
margin-bottom: 2rem;
}
.album-related-title {
margin-bottom: 1rem;
}
.download-hint {
display: flex;
align-items: center;
gap: 5px;
font-size: 11px;
color: var(--text-secondary);
background: rgba(203, 166, 247, 0.08);
border: 1px solid rgba(203, 166, 247, 0.2);
border-radius: var(--radius-full);
padding: 3px 10px 3px 8px;
cursor: default;
white-space: nowrap;
}
.download-progress-wrap {
display: flex;
align-items: center;
gap: var(--space-2);
padding: 0 var(--space-3);
height: 36px;
border-radius: var(--radius-md);
background: var(--surface-1);
border: 1px solid var(--border);
min-width: 180px;
color: var(--text-secondary);
font-size: 12px;
}
.download-progress-bar {
flex: 1;
height: 4px;
background: var(--surface-2);
border-radius: 2px;
overflow: hidden;
}
.download-progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--ctp-mauve), var(--ctp-blue));
border-radius: 2px;
transition: width 0.2s ease;
}
.download-progress-pct {
min-width: 28px;
text-align: right;
font-variant-numeric: tabular-nums;
}
/* ─ Offline cache button ─ */
.offline-cache-btn {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.offline-cache-btn--cached {
color: var(--color-star-active, var(--accent));
border-color: var(--color-star-active, var(--accent));
}
.offline-cache-btn--progress {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
opacity: 0.75;
padding: 6px 10px;
}
/* ─ Download folder modal ─ */
.download-folder-pick-row {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-input, var(--bg-sidebar));
margin-bottom: 12px;
}
.download-folder-path {
flex: 1;
font-size: 13px;
color: var(--text-primary);
word-break: break-all;
min-width: 0;
}
.download-folder-path:empty::before,
.download-folder-path[data-empty]::before {
color: var(--text-muted);
}
.download-remember-row {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text-secondary);
cursor: pointer;
user-select: none;
margin-bottom: 4px;
}
.download-modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding-top: 12px;
border-top: 1px solid var(--border);
margin-top: 4px;
}
/* ─ Tracklist ─ */
.tracklist {
padding: 0 var(--space-6) var(--space-6);
}
.col-center {
text-align: center;
}
.tracklist-header {
display: grid;
grid-template-columns: 36px minmax(100px, 3fr) 70px 80px 60px 120px;
gap: var(--space-3);
align-items: center;
padding: var(--space-2) var(--space-3);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
border-bottom: 1px solid var(--border-subtle);
margin-bottom: var(--space-2);
}
.tracklist-header.tracklist-va {
grid-template-columns: 36px minmax(100px, 2fr) minmax(80px, 1.2fr) 70px 80px 60px 120px;
}
.track-row {
display: grid;
grid-template-columns: 36px minmax(100px, 3fr) 70px 80px 60px 120px;
gap: var(--space-3);
align-items: center;
padding: var(--space-2) var(--space-3);
border-radius: var(--radius-md);
cursor: pointer;
transition: background var(--transition-fast);
user-select: none;
}
.track-row.track-row-va {
grid-template-columns: 36px minmax(100px, 2fr) minmax(80px, 1.2fr) 70px 80px 60px 120px;
}
.tracklist-total {
display: grid;
grid-template-columns: 36px minmax(100px, 3fr) 70px 80px 60px 120px;
gap: var(--space-3);
border-top: 1px solid var(--border-subtle);
padding: var(--space-2) var(--space-3);
margin-top: var(--space-1);
}
.tracklist-total.tracklist-va {
grid-template-columns: 36px minmax(100px, 2fr) minmax(80px, 1.2fr) 70px 80px 60px 120px;
}
.tracklist-total-label {
grid-column: 1 / 5;
text-align: right;
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.tracklist-total-value {
grid-column: 5 / 6;
text-align: center;
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
font-variant-numeric: tabular-nums;
}
.tracklist-total.tracklist-va .tracklist-total-label {
grid-column: 1 / 6;
}
.tracklist-total.tracklist-va .tracklist-total-value {
grid-column: 6 / 7;
}
.track-row:hover,
.track-row.context-active {
background: var(--bg-hover);
}
.track-row.active {
background: var(--accent-dim);
animation: track-pulse 3s ease-in-out infinite;
}
.track-row.active:hover {
background: var(--accent-dim);
animation: none;
}
@keyframes track-pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}
.track-row>* {
padding-top: 6px;
padding-bottom: 6px;
}
.track-num {
display: flex;
align-items: center;
justify-content: center;
}
/* Equalizer bars — shown for the currently playing track */
.eq-bars {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 2px;
width: 14px;
height: 13px;
}
.eq-bar {
flex: 1;
height: 100%;
background: var(--accent);
border-radius: 1px;
transform-origin: bottom;
transform: scaleY(0.25);
animation: eq-bounce 1.1s ease-in-out infinite;
}
.eq-bar:nth-child(1) {
animation-delay: 0s;
animation-duration: 1.0s;
}
.eq-bar:nth-child(2) {
animation-delay: 0.18s;
animation-duration: 1.3s;
}
.eq-bar:nth-child(3) {
animation-delay: 0.35s;
animation-duration: 0.9s;
}
@keyframes eq-bounce {
0%,
100% {
transform: scaleY(0.25);
}
50% {
transform: scaleY(1);
}
}
/* CD / Disc separator */
.disc-header {
display: flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-4) var(--space-3) var(--space-2);
font-family: var(--font-display);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent);
margin-top: var(--space-3);
border-top: 1px solid var(--border-subtle);
}
.disc-header:first-child {
border-top: none;
margin-top: 0;
}
.disc-icon {
font-size: 16px;
}
.track-num {
font-size: 13px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
}
.track-info {
min-width: 0;
}
.track-title {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
overflow-wrap: break-word;
word-break: break-word;
}
.track-artist-cell {
min-width: 0;
display: flex;
align-items: flex-start;
}
.track-artist {
font-size: 12px;
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.track-codec {
display: block;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.04em;
color: var(--text-muted);
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.track-size {
color: var(--ctp-overlay0);
}
.track-duration {
font-size: 12px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
text-align: center;
}
.track-meta {
display: flex;
align-items: center;
}
.track-meta .track-codec {
margin-top: 0;
}
.track-star-cell {
display: flex;
justify-content: center;
}
.track-star-btn {
padding: 4px;
height: auto;
min-height: unset;
}
/* ─ Modal ─ */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(17, 17, 27, 0.85);
backdrop-filter: blur(8px);
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 10vh;
z-index: 9999;
animation: fadeIn 150ms ease both;
}
.modal-content {
background: var(--ctp-surface0);
border: 1px solid var(--border);
border-radius: var(--radius-xl);
padding: var(--space-8);
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
position: relative;
animation: fadeIn 200ms ease both;
box-shadow: var(--shadow-lg);
}
.modal-close {
position: absolute;
top: var(--space-4);
right: var(--space-4);
color: var(--text-muted);
}
.modal-close:hover {
color: var(--text-primary);
}
.modal-title {
margin-bottom: 1rem;
font-family: var(--font-display);
}
.artist-bio {
font-size: 14px;
line-height: 1.7;
color: var(--text-secondary);
user-select: text;
}
.artist-bio a {
color: var(--accent);
text-decoration: underline;
}
/* Artist Detail Page */
.artist-detail-header {
display: flex;
align-items: flex-start;
gap: 2rem;
margin-bottom: 2rem;
}
.artist-detail-avatar {
width: 160px;
height: 160px;
border-radius: 50%;
overflow: hidden;
background: var(--bg-card);
flex-shrink: 0;
box-shadow: var(--shadow-md);
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border-subtle);
}
.artist-detail-avatar-btn {
display: block;
width: 100%;
height: 100%;
padding: 0;
border: none;
background: none;
cursor: zoom-in;
transition: transform 0.2s ease, filter 0.2s ease;
}
.artist-detail-avatar-btn:hover {
transform: scale(1.04);
filter: brightness(1.08);
}
.artist-detail-meta {
flex: 1;
min-width: 0;
padding-top: 0.5rem;
}
.artist-detail-links {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.artist-ext-link {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 12px;
border-radius: var(--radius-full);
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
}
.artist-ext-link:hover {
background: var(--bg-hover);
color: var(--text-primary);
border-color: var(--border-subtle);
}
/* Bio section */
.artist-bio-section {
margin-bottom: 0.5rem;
}
.artist-bio-text {
font-size: 14px;
line-height: 1.75;
color: var(--text-secondary);
max-width: 100%;
user-select: text;
}
.artist-bio-text a {
color: var(--accent);
text-decoration: underline;
}
/* ─ Artists Page ─ */
.letter-heading {
font-size: 13px;
font-weight: 700;
color: var(--text-muted);
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: var(--space-2);
padding: var(--space-2) 0;
border-bottom: 1px solid var(--border-subtle);
}
.artist-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.artist-row {
display: flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-3);
border-radius: var(--radius-md);
transition: background var(--transition-fast);
width: 100%;
text-align: left;
}
.artist-row:hover {
background: var(--bg-hover);
}
.artist-avatar {
width: 38px;
height: 38px;
border-radius: 50%;
background: var(--accent-dim);
display: flex;
align-items: center;
justify-content: center;
color: var(--accent);
flex-shrink: 0;
}
.artist-avatar-initial {
background: var(--bg-card);
border: 2px solid;
}
.artist-avatar-initial span {
font-size: 1rem;
font-weight: 700;
font-family: var(--font-display);
line-height: 1;
user-select: none;
}
.artist-name {
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
}
.artist-meta {
font-size: 12px;
color: var(--text-muted);
margin-top: 2px;
}
/* ─ Years Page ─ */
.decade-heading {
font-family: var(--font-display);
font-size: 22px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: var(--space-3);
}
.year-section {
margin-bottom: var(--space-3);
}
.year-toggle {
display: flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-3);
border-radius: var(--radius-md);
width: 100%;
text-align: left;
color: var(--text-secondary);
font-size: 15px;
font-weight: 500;
transition: background var(--transition-fast);
}
.year-toggle:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.year-label {
font-variant-numeric: tabular-nums;
}
/* ─ Settings ─ */
.settings-tabs {
display: flex;
gap: 4px;
padding: 4px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
margin-bottom: 2rem;
flex-wrap: wrap;
}
.settings-tab {
display: flex;
align-items: center;
gap: 7px;
padding: 7px 16px;
border-radius: calc(var(--radius-lg) - 4px);
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
background: none;
border: none;
cursor: pointer;
transition: color var(--transition-fast), background var(--transition-fast);
white-space: nowrap;
}
.settings-tab:hover {
color: var(--text-primary);
background: var(--bg-hover);
}
.settings-tab.active {
color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.settings-section {
margin-bottom: var(--space-8);
}
.settings-section-header {
display: flex;
align-items: center;
gap: var(--space-2);
color: var(--accent);
margin-bottom: var(--space-3);
}
.settings-section-header h2 {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
}
.settings-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: var(--space-5);
}
/* ─ Help Page ─ */
.help-list {
display: flex;
flex-direction: column;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
overflow: hidden;
}
/* ── Theme Accordion ─────────────────────────────────────────────────────── */
.theme-accordion {
display: flex;
flex-direction: column;
}
.theme-accordion-item {
border-bottom: 1px solid var(--border-subtle);
}
.theme-accordion-item:last-child {
border-bottom: none;
}
.theme-accordion-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
width: 100%;
padding: 10px var(--space-4);
text-align: left;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--text-muted);
background: var(--bg-card);
border-left: 3px solid transparent;
transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.theme-accordion-header:hover {
background: var(--bg-hover);
color: var(--text-secondary);
}
.theme-accordion-open .theme-accordion-header {
color: var(--accent);
background: var(--bg-hover);
border-left: 3px solid var(--accent);
padding-left: calc(var(--space-5) + 3px);
}
.theme-accordion-chevron {
flex-shrink: 0;
color: var(--text-muted);
transition: transform 0.2s ease;
}
.theme-accordion-open .theme-accordion-chevron {
transform: rotate(180deg);
color: var(--accent);
}
.theme-accordion-content {
padding: 14px var(--space-4) var(--space-4) calc(var(--space-4) + 3px);
background: var(--bg-app);
border-top: 1px solid var(--border-subtle);
border-left: 3px solid var(--accent);
}
.theme-accordion-active-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent);
margin-left: 8px;
vertical-align: middle;
opacity: 0.8;
}
/* ── Queue Tab Bar ────────────────────────────────────────────────────────── */
.queue-tab-bar {
display: flex;
border-top: 1px solid var(--border-subtle);
flex-shrink: 0;
}
.queue-tab-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 8px;
background: none;
border: none;
cursor: pointer;
font-size: 12px;
font-weight: 500;
color: var(--text-muted);
transition: color 0.15s, background 0.15s;
}
.queue-tab-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.queue-tab-btn.active { color: var(--accent); }
/* ── Lyrics Pane (sidebar) ────────────────────────────────────────────────── */
.lyrics-pane {
flex: 1;
overflow-y: auto;
padding: 16px 16px 8px;
scroll-behavior: smooth;
}
.lyrics-pane-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.lyrics-status {
text-align: center;
color: var(--text-muted);
font-size: 13px;
padding: 40px 0;
}
.lyrics-synced {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 0 16px;
}
.lyrics-line {
font-size: 14px;
font-weight: 400;
color: var(--text-muted);
text-align: center;
padding: 5px 8px;
border-radius: 6px;
line-height: 1.6;
transition: color 0.25s;
cursor: default;
}
.lyrics-line.active {
color: var(--accent);
}
.lyrics-plain {
padding: 4px 0 16px;
}
.lyrics-plain-line {
font-size: 13px;
line-height: 1.85;
color: var(--text-secondary);
text-align: center;
margin: 0;
}
/* ── Help ─────────────────────────────────────────────────────────────────── */
.help-item {
border-bottom: 1px solid var(--border-subtle);
}
.help-item:last-child {
border-bottom: none;
}
.help-question {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
width: 100%;
padding: 10px var(--space-4);
text-align: left;
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
background: var(--bg-card);
border-left: 3px solid transparent;
transition: background var(--transition-fast), border-color var(--transition-fast);
}
.help-question:hover {
background: var(--bg-hover);
}
.help-item-open .help-question {
color: var(--accent);
background: var(--bg-hover);
border-left: 3px solid var(--accent);
padding-left: calc(var(--space-5) + 3px);
}
.help-chevron {
flex-shrink: 0;
color: var(--text-muted);
transition: transform 0.2s ease;
}
.help-item-open .help-chevron {
transform: rotate(180deg);
color: var(--accent);
}
.help-answer {
padding: 10px var(--space-4) var(--space-4) calc(var(--space-4) + 3px);
font-size: 13px;
color: var(--text-secondary);
line-height: 1.65;
background: var(--bg-app);
border-top: 1px solid var(--border-subtle);
border-left: 3px solid var(--accent);
}
.settings-toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
}
.settings-about {
display: flex;
flex-direction: column;
}
.settings-about-header {
display: flex;
align-items: center;
gap: var(--space-4);
}
/* Toggle switch */
.toggle-switch {
position: relative;
display: inline-block;
width: 44px;
height: 24px;
flex-shrink: 0;
cursor: pointer;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-track {
position: absolute;
inset: 0;
background: var(--ctp-surface2);
border-radius: var(--radius-full);
transition: background var(--transition-base);
}
.toggle-track::before {
content: '';
position: absolute;
left: 3px;
top: 3px;
width: 18px;
height: 18px;
border-radius: 50%;
background: white;
transition: transform var(--transition-base);
box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked+.toggle-track {
background: var(--accent);
}
.toggle-switch input:checked+.toggle-track::before {
transform: translateX(20px);
}
/* ─ Login Page ─ */
.login-page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
background: var(--bg-app);
}
.login-bg {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 20% 50%, rgba(203, 166, 247, 0.08) 0%, transparent 60%),
radial-gradient(ellipse at 80% 20%, rgba(137, 180, 250, 0.06) 0%, transparent 50%);
pointer-events: none;
}
.login-card {
width: 100%;
max-width: 520px;
background: var(--ctp-mantle);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
padding: var(--space-8);
box-shadow: var(--shadow-lg);
position: relative;
z-index: 1;
}
.login-logo {
display: flex;
justify-content: center;
margin-bottom: var(--space-5);
}
.login-title {
text-align: center;
font-family: var(--font-display);
font-size: 28px;
font-weight: 800;
background: linear-gradient(135deg, var(--ctp-mauve), var(--ctp-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.login-subtitle {
text-align: center;
color: var(--text-muted);
font-size: 13px;
margin: var(--space-1) 0 var(--space-6);
}
.login-form {
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.form-group {
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.form-group label {
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
letter-spacing: 0.03em;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3);
}
.login-status {
display: flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-2) var(--space-3);
border-radius: var(--radius-md);
font-size: 13px;
}
.login-status--testing {
background: var(--accent-dim);
color: var(--accent);
}
.login-status--ok {
background: rgba(166, 227, 161, 0.15);
color: var(--positive);
}
.login-status--error {
background: rgba(243, 139, 168, 0.15);
color: var(--danger);
}
.login-saved-servers {
display: flex;
flex-direction: column;
gap: var(--space-2);
margin-bottom: var(--space-4);
}
.login-saved-label {
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: var(--space-1);
}
.login-server-btn {
display: flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-3) var(--space-4);
text-align: left;
width: 100%;
}
.login-divider {
display: flex;
align-items: center;
gap: var(--space-3);
color: var(--text-muted);
font-size: 12px;
margin: var(--space-2) 0;
}
.login-divider::before,
.login-divider::after {
content: '';
flex: 1;
height: 1px;
background: var(--border);
}
/* ─ Loading / Empty ─ */
.loading-center {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
.empty-state {
text-align: center;
padding: var(--space-10);
color: var(--text-muted);
}
/* ─────────────────────────────────────────
Fullscreen Player — Ambient Stage
──────────────────────────────────────────── */
.fs-player {
position: fixed;
inset: 0;
z-index: 9000;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
will-change: transform;
contain: layout style paint;
animation: fsIn 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
background: #0e0e1a;
}
@keyframes fsIn {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* ── Cover breathing ── */
@keyframes ambilight-pulse {
0%, 100% { opacity: 0.7; }
50% { opacity: 1.0; }
}
@keyframes cover-breathe {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.018);
}
}
@keyframes ken-burns {
0% { transform: scale(1.05) translate(-4%, -1%); }
25% { transform: scale(1.08) translate( 4%, -1.5%); }
50% { transform: scale(1.06) translate( 3%, 1%); }
75% { transform: scale(1.09) translate(-3%, 1.5%); }
100% { transform: scale(1.05) translate(-4%, -1%); }
}
/* ── Blurred background ── */
.fs-bg {
position: absolute;
inset: -30%;
background-size: cover;
background-position: center 20%;
filter: blur(6px) brightness(0.25) saturate(1.6);
animation: ken-burns 120s linear infinite;
z-index: 0;
will-change: transform;
pointer-events: none;
transition: opacity 700ms ease;
}
.fs-bg-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 0;
pointer-events: none;
}
/* ── Close button ── */
.fs-close {
position: absolute;
top: 20px;
left: 24px;
z-index: 10;
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(8px);
color: rgba(255, 255, 255, 0.7);
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-fast);
cursor: pointer;
}
.fs-close:hover {
background: rgba(255, 255, 255, 0.16);
color: #ffffff;
transform: translateY(-1px);
}
/* ── Center stage ── */
.fs-stage {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
width: min(440px, 88vw);
padding: 16px 0;
}
/* Artist name — above cover */
.fs-artist {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent);
margin: 0;
opacity: 0.9;
}
/* Cover — breathes slowly */
.fs-cover-wrap {
width: clamp(300px, 30vw, 480px);
max-height: calc(100vh - 300px);
aspect-ratio: 1 / 1;
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: none;
flex-shrink: 0;
animation: cover-breathe 9s ease-in-out infinite;
}
.fs-cover {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.fs-cover-placeholder {
width: 100%;
height: 100%;
background: var(--ctp-surface0);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
}
/* Track info — below cover */
.fs-track-info {
text-align: center;
width: 100%;
}
.fs-title-wrap {
font-family: var(--font-display);
font-size: clamp(20px, 3vw, 32px);
font-weight: 800;
color: #ffffff;
margin: 0 0 6px;
line-height: 1.15;
white-space: nowrap;
overflow: hidden;
}
.fs-title-marquee {
display: inline-block;
animation: marquee-scroll 14s linear infinite alternate;
}
@keyframes marquee-scroll {
0%,
15% {
transform: translateX(0);
}
85%,
100% {
transform: translateX(var(--scroll-amount, 0px));
}
}
.fs-album {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fs-codec {
display: inline-block;
font-size: 10px;
font-family: monospace;
letter-spacing: 0.04em;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 2px 8px;
border-radius: var(--radius-full);
color: rgba(255, 255, 255, 0.35);
margin-top: 8px;
}
/* Progress bar */
.fs-progress-wrap {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
}
.fs-time {
font-size: 11px;
color: rgba(255, 255, 255, 0.4);
font-variant-numeric: tabular-nums;
min-width: 36px;
text-align: center;
}
.fs-progress-bar {
flex: 1;
position: relative;
}
.fs-progress-bar input[type="range"] {
width: 100%;
height: 3px;
background: linear-gradient(to right,
rgba(255, 255, 255, 0.85) var(--pct, 0%),
rgba(255, 255, 255, 0.32) var(--pct, 0%),
rgba(255, 255, 255, 0.32) var(--buf, 0%),
rgba(255, 255, 255, 0.15) var(--buf, 0%));
border-radius: 2px;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
}
.fs-progress-bar input[type="range"]::-webkit-slider-thumb {
appearance: none;
-webkit-appearance: none;
width: 13px;
height: 13px;
border-radius: 50%;
background: #ffffff;
cursor: pointer;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
transition: transform var(--transition-fast);
}
.fs-progress-bar input[type="range"]:hover::-webkit-slider-thumb {
transform: scale(1.3);
}
/* Transport controls */
.fs-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
}
.fs-btn {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
transition: all var(--transition-fast);
background: transparent;
}
.fs-btn:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.1);
}
.fs-btn.active {
color: var(--accent);
}
.fs-btn-sm {
width: 28px;
height: 28px;
}
.fs-btn-play {
width: 54px;
height: 54px;
background: var(--accent);
color: var(--ctp-crust);
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
.fs-btn-play:hover {
background: var(--accent);
color: var(--ctp-crust);
transform: scale(1.07);
filter: brightness(1.12);
box-shadow: 0 10px 34px rgba(0, 0, 0, 0.6);
}
/* Chat */
.chat-popup {
position: absolute;
width: 340px;
height: 480px;
background: var(--bg-card);
backdrop-filter: blur(12px);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
display: flex;
flex-direction: column;
z-index: 9999;
overflow: hidden;
animation: slideInDown 0.2s ease-out;
}
@keyframes slideInDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.chat-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
background: var(--surface1);
}
.chat-popup-messages {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.chat-message-row {
display: flex;
flex-direction: column;
}
.chat-message-row.me {
align-items: flex-end;
}
.chat-message-row.other {
align-items: flex-start;
}
.chat-message-bubble {
max-width: 85%;
padding: 8px 12px;
border-radius: 12px;
font-size: 0.95rem;
line-height: 1.4;
word-break: break-word;
}
.chat-message-row.me .chat-message-bubble {
background: var(--accent);
color: var(--mantle);
border-bottom-right-radius: 4px;
}
.chat-message-row.other .chat-message-bubble {
background: var(--surface2);
color: var(--text);
border-bottom-left-radius: 4px;
}
.chat-message-author {
font-size: 0.75rem;
font-weight: 600;
margin-bottom: 2px;
opacity: 0.8;
}
.chat-message-time {
font-size: 0.7rem;
margin-top: 4px;
text-align: right;
opacity: 0.7;
}
.chat-popup-input {
display: flex;
padding: 12px;
border-top: 1px solid var(--border);
background: var(--surface1);
gap: 8px;
}
.chat-popup-input input {
flex: 1;
background: var(--crust);
border: 1px solid var(--border);
border-radius: 20px;
padding: 8px 16px;
color: var(--text);
outline: none;
transition: border-color 0.2s;
}
.chat-popup-input input:focus {
border-color: var(--accent);
}
.chat-popup-input button {
background: var(--accent);
color: var(--mantle);
border: none;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: opacity 0.2s;
}
.chat-popup-input button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* ─ Context Menu ─ */
.context-menu {
position: fixed;
z-index: 10000;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: var(--space-1) 0;
min-width: 200px;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
backdrop-filter: blur(16px);
color: var(--text-primary);
font-size: 13px;
}
.context-menu-item {
padding: var(--space-2) var(--space-4);
display: flex;
align-items: center;
gap: var(--space-2);
cursor: pointer;
transition: background var(--transition-fast);
}
.context-menu-item:hover {
background: var(--surface-2);
color: var(--accent);
}
.context-menu-divider {
height: 1px;
background: var(--border-subtle);
margin: var(--space-1) 0;
}
/* ─ CSS Tooltips ─ */
/* Tooltips are handled by TooltipPortal (React portal) — no CSS pseudo-elements needed */
[data-tooltip] {
position: relative;
}
/* ─ Playlists Page ─ */
.playlist-page-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.5rem;
}
.playlist-page-header .page-title {
margin-bottom: 0;
}
.playlist-filter-input {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 13px;
padding: 6px 12px;
width: 220px;
outline: none;
transition: border-color 0.15s;
}
.playlist-filter-input:focus {
border-color: var(--accent);
}
.playlist-filter-input::placeholder {
color: var(--text-muted);
}
.playlist-list {
display: flex;
flex-direction: column;
}
.playlist-list-header {
display: grid;
grid-template-columns: 36px 1fr 90px 90px 44px;
gap: var(--space-3);
padding: 6px var(--space-3);
border-bottom: 1px solid var(--border-subtle);
margin-bottom: 4px;
}
.playlist-sort-btn {
display: flex;
align-items: center;
gap: 4px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
background: none;
border: none;
cursor: pointer;
padding: 0;
transition: color 0.15s;
}
.playlist-sort-btn:hover,
.playlist-sort-btn.active {
color: var(--accent);
}
.playlist-row {
display: grid;
grid-template-columns: 36px 1fr 90px 90px 44px;
gap: var(--space-3);
align-items: center;
padding: 6px var(--space-3);
border-radius: var(--radius-md);
transition: background 0.15s;
user-select: none;
}
.playlist-row:hover {
background: var(--bg-hover);
}
.playlist-play-icon {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--accent);
color: var(--ctp-base);
border: none;
cursor: pointer;
opacity: 0;
transition: opacity 0.15s, transform 0.15s;
flex-shrink: 0;
}
.playlist-row:hover .playlist-play-icon {
opacity: 1;
}
.playlist-play-icon:hover {
transform: scale(1.1);
}
.playlist-name {
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
}
.playlist-meta {
font-size: 12px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
}
.playlist-delete-btn {
opacity: 0;
color: var(--ctp-red) !important;
padding: 4px;
height: auto;
min-height: unset;
transition: opacity 0.15s;
justify-self: center;
}
.playlist-row:hover .playlist-delete-btn {
opacity: 1;
}
.fav-remove-btn {
opacity: 0;
color: var(--text-muted);
background: none;
border: none;
padding: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-sm);
transition: opacity 0.15s, color 0.15s;
}
.fav-remove-btn:hover {
color: var(--ctp-red);
}
.track-row:hover .fav-remove-btn,
.track-row.context-active .fav-remove-btn {
opacity: 1;
}
/* ─ Statistics Page ─ */
.stats-page {
display: flex;
flex-direction: column;
gap: 3rem;
}
.stats-overview {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-4);
}
@media (max-width: 600px) {
.stats-overview {
grid-template-columns: repeat(2, 1fr);
}
}
.stats-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: var(--space-5) var(--space-4);
display: flex;
flex-direction: column;
gap: 4px;
align-items: center;
text-align: center;
}
.stats-card-value {
font-family: var(--font-display);
font-size: 2rem;
font-weight: 800;
color: var(--accent);
line-height: 1;
}
.stats-card-label {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
}
/* Genre chart */
.genre-chart {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: var(--space-5);
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.genre-row {
display: flex;
flex-direction: column;
gap: 6px;
}
.genre-row-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: var(--space-3);
}
.genre-name {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.genre-counts {
font-size: 12px;
color: var(--text-muted);
white-space: nowrap;
flex-shrink: 0;
}
.genre-bar-track {
width: 100%;
height: 6px;
background: var(--bg-hover);
border-radius: 3px;
overflow: hidden;
}
.genre-bar-fill {
height: 100%;
background: var(--accent);
border-radius: 3px;
transition: width 0.8s ease-out;
}
/* ─ Connection Indicator ─ */
.connection-indicator {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.connection-led {
width: 9px;
height: 9px;
border-radius: 50%;
flex-shrink: 0;
transition: background 0.4s ease, box-shadow 0.4s ease;
}
.connection-led--connected {
background: #a6e3a1;
box-shadow: 0 0 6px 2px rgba(166, 227, 161, 0.55);
}
.connection-led--disconnected {
background: #f38ba8;
box-shadow: 0 0 6px 2px rgba(243, 139, 168, 0.55);
}
.connection-led--checking {
background: var(--text-muted);
box-shadow: none;
animation: led-pulse 1.2s ease-in-out infinite;
}
@keyframes led-pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.3;
}
}
.connection-meta {
display: flex;
flex-direction: column;
line-height: 1.2;
}
.connection-type {
font-size: 11px;
font-weight: 600;
color: var(--text-primary);
letter-spacing: 0.03em;
}
.connection-server {
font-size: 10px;
color: var(--text-muted);
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* ─ Offline Overlay ─ */
.offline-overlay {
position: absolute;
inset: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.offline-overlay-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding: 40px 48px;
background: var(--bg-app);
border: 1px solid var(--border-subtle);
border-radius: 16px;
text-align: center;
max-width: 360px;
}
.offline-icon {
color: var(--text-muted);
opacity: 0.7;
}
.offline-title {
font-size: 20px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.offline-subtitle {
font-size: 14px;
color: var(--text-muted);
margin: 0;
line-height: 1.5;
}
.offline-retry {
display: flex;
align-items: center;
gap: 8px;
margin-top: 4px;
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* ─ Now Playing Page ─ */
/* ─── Now Playing Page ─────────────────────────────────────── */
.np-page {
position: relative;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
background:
radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent) 10%, var(--bg-main)) 0%, transparent 60%),
radial-gradient(ellipse at 80% 100%, color-mix(in srgb, var(--ctp-blue) 8%, var(--bg-main)) 0%, transparent 60%),
var(--bg-main);
}
/* Main scrollable content */
.np-main {
flex: 1;
overflow-y: auto;
padding: 28px 28px 40px;
display: flex;
flex-direction: column;
gap: 18px;
min-width: 0;
position: relative;
z-index: 1;
}
/* ── Hero card: 3-column (cover+info | EQ | tag cloud) ── */
.np-hero-card {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 28px;
padding: 32px;
background: rgba(0, 0, 0, 0.30);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.08);
flex-shrink: 0;
}
/* Left column: meta info, big text */
.np-hero-left {
min-width: 0;
display: flex;
align-items: center;
}
.np-hero-cover-wrap {
flex-shrink: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.np-hero-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 14px;
justify-content: center;
}
/* Right column: tag cloud */
.np-tag-cloud {
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
gap: 0;
}
.np-tag-cloud-tags {
display: flex;
flex-wrap: wrap;
gap: 8px 10px;
justify-content: flex-end;
align-items: center;
overflow: visible;
}
.np-tag-cloud-header {
width: 100%;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: rgba(255, 255, 255, 0.4);
margin-bottom: 10px;
text-align: right;
}
.np-tag {
font-size: 13px;
font-weight: 600;
padding: 6px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.10);
color: rgba(255, 255, 255, 0.75);
letter-spacing: 0.03em;
white-space: nowrap;
}
.np-tag-accent {
background: color-mix(in srgb, var(--accent) 22%, transparent);
color: var(--accent);
}
.np-tag-clickable {
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.np-tag-clickable:hover {
background: color-mix(in srgb, var(--accent) 30%, transparent);
color: white;
}
/* ── Info cards (artist / album) ── */
.np-info-card {
background: rgba(0, 0, 0, 0.22);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.07);
padding: 20px 24px;
display: flex;
flex-direction: column;
gap: 14px;
}
.np-card-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.np-card-title {
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.07em;
color: rgba(255, 255, 255, 0.70);
margin: 0;
}
.np-card-link {
background: none;
border: none;
cursor: pointer;
font-size: 12px;
color: var(--accent);
display: flex;
align-items: center;
gap: 4px;
padding: 0;
flex-shrink: 0;
transition: opacity 0.15s;
}
.np-card-link:hover { opacity: 0.75; }
/* ── Artist bio ── */
.np-artist-bio-row {
display: flex;
gap: 16px;
align-items: flex-start;
}
.np-artist-thumb {
width: 80px;
height: 80px;
border-radius: var(--radius-md);
object-fit: cover;
flex-shrink: 0;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.np-bio-wrap {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.np-bio-text {
font-size: 13px;
line-height: 1.65;
color: rgba(255, 255, 255, 0.72);
user-select: text;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.np-bio-text.expanded {
display: block;
overflow: visible;
-webkit-line-clamp: unset;
}
.np-bio-text a { color: var(--accent); }
.np-bio-toggle {
background: none;
border: none;
cursor: pointer;
font-size: 12px;
color: var(--accent);
padding: 0;
align-self: flex-start;
opacity: 0.8;
}
.np-bio-toggle:hover { opacity: 1; }
/* ── Album tracklist ── */
.np-album-tracklist {
display: flex;
flex-direction: column;
gap: 1px;
}
.np-album-track {
display: grid;
grid-template-columns: 28px 1fr 44px;
align-items: center;
gap: 8px;
padding: 7px 8px;
border-radius: var(--radius-sm);
cursor: pointer;
transition: background 0.12s;
}
.np-album-track:hover {
background: rgba(255, 255, 255, 0.06);
}
.np-album-track.active {
background: rgba(255, 255, 255, 0.08);
}
.np-album-track-num {
font-size: 12px;
color: rgba(255, 255, 255, 0.55);
text-align: right;
font-variant-numeric: tabular-nums;
display: flex;
align-items: center;
justify-content: flex-end;
}
.np-album-track.active .np-album-track-num {
color: var(--accent);
}
.np-album-track-title {
font-size: 13px;
color: rgba(255, 255, 255, 0.80);
}
.np-album-track.active .np-album-track-title {
color: var(--accent);
font-weight: 600;
}
.np-album-track-dur {
font-size: 12px;
color: rgba(255, 255, 255, 0.65);
font-variant-numeric: tabular-nums;
text-align: right;
}
/* ── Queue Sidebar ── */
.np-queue-sidebar {
width: 260px;
flex-shrink: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border-left: 1px solid rgba(255, 255, 255, 0.07);
background: rgba(0, 0, 0, 0.28);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
position: relative;
z-index: 1;
}
.np-qs-header {
padding: 16px 14px 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
}
.np-qs-title {
font-size: 13px;
font-weight: 700;
color: white;
}
.np-qs-meta {
font-size: 11px;
color: rgba(255, 255, 255, 0.40);
margin-top: 2px;
}
.np-qs-actions {
display: flex;
gap: 2px;
flex-shrink: 0;
}
.np-qs-list {
flex: 1;
overflow-y: auto;
padding: 6px 0;
}
.np-qs-item {
display: grid;
grid-template-columns: 26px 1fr 36px 22px;
align-items: center;
gap: 6px;
padding: 6px 10px 6px 12px;
cursor: pointer;
transition: background 0.1s;
}
.np-qs-item:hover,
.np-qs-item.context-active {
background: rgba(255, 255, 255, 0.06);
}
.np-qs-item.active {
background: rgba(255, 255, 255, 0.08);
}
.np-qs-num {
font-size: 11px;
color: rgba(255, 255, 255, 0.30);
text-align: right;
display: flex;
align-items: center;
justify-content: flex-end;
font-variant-numeric: tabular-nums;
}
.np-qs-info {
min-width: 0;
}
.np-qs-track-title {
font-size: 12px;
color: rgba(255, 255, 255, 0.80);
line-height: 1.3;
}
.np-qs-track-title.active {
color: var(--accent);
font-weight: 600;
}
.np-qs-track-artist {
font-size: 11px;
color: rgba(255, 255, 255, 0.35);
margin-top: 1px;
}
.np-qs-dur {
font-size: 11px;
color: rgba(255, 255, 255, 0.30);
font-variant-numeric: tabular-nums;
text-align: right;
}
/* ── Shared np- classes (kept) ── */
/* Hero (old, kept for NpBg) */
.np-hero {
position: relative;
min-height: 280px;
display: flex;
align-items: center;
flex-shrink: 0;
}
.np-hero-content {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 16px;
padding: 28px 56px 32px;
width: 100%;
box-sizing: border-box;
}
/* Cover */
.np-cover-wrap {
flex-shrink: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.np-cover {
position: relative;
z-index: 1;
width: 280px;
height: 280px;
border-radius: 16px;
object-fit: cover;
}
.np-cover-fallback {
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-hover);
color: var(--text-muted);
}
/* Info column (legacy, kept for compat) */
.np-info {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
color: white;
max-width: 600px;
}
.np-title {
font-family: var(--font-display);
font-size: 36px;
font-weight: 700;
line-height: 1.15;
color: white;
}
.np-artist-album {
font-size: 19px;
color: rgba(255, 255, 255, 0.75);
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 6px;
align-items: center;
}
.np-link:hover {
color: white;
text-decoration: underline;
}
.np-sep {
opacity: 0.4;
}
.np-tech-row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 8px;
align-items: center;
margin-top: 4px;
}
.np-badge {
font-size: 11px;
font-weight: 600;
padding: 3px 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
color: rgba(255, 255, 255, 0.85);
letter-spacing: 0.04em;
}
.np-star-btn {
background: none;
border: none;
cursor: pointer;
padding: 2px;
display: flex;
align-items: center;
color: white;
transition: transform 0.15s;
}
.np-star-btn:hover {
transform: scale(1.2);
}
/* Progress */
.np-progress-wrap {
display: flex;
align-items: center;
gap: 10px;
margin-top: 4px;
}
.np-waveform {
flex: 1;
}
.np-time {
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
font-variant-numeric: tabular-nums;
flex-shrink: 0;
min-width: 36px;
}
/* Controls */
.np-controls {
display: flex;
align-items: center;
gap: 16px;
margin-top: 4px;
}
.np-ctrl-btn {
background: none;
border: none;
cursor: pointer;
color: rgba(255, 255, 255, 0.75);
display: flex;
align-items: center;
padding: 6px;
border-radius: 50%;
transition: color 0.15s, background 0.15s;
}
.np-ctrl-btn:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
}
.np-ctrl-btn:disabled {
opacity: 0.3;
cursor: default;
}
.np-ctrl-btn.np-ctrl-active {
color: var(--accent);
}
.np-ctrl-lg {
color: rgba(255, 255, 255, 0.9);
}
.np-ctrl-play {
width: 60px;
height: 60px;
border-radius: 50%;
background: white;
color: var(--bg-app);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.15s, box-shadow 0.15s;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.np-ctrl-play:hover {
transform: scale(1.07);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
/* Volume */
.np-volume-row {
display: flex;
align-items: center;
gap: 8px;
}
.np-volume-slider {
width: 120px;
accent-color: white;
opacity: 0.7;
cursor: pointer;
}
.np-volume-slider:hover {
opacity: 1;
}
.np-empty-state {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
color: rgba(255, 255, 255, 0.5);
padding: 40px 0;
}
/* Queue section */
.np-queue-section {
flex: 1;
padding: 144px 56px 40px;
display: flex;
flex-direction: column;
gap: 0;
}
.np-queue-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-subtle);
margin-bottom: 4px;
}
.np-queue-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.np-queue-meta {
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
}
.np-queue-actions {
display: flex;
align-items: center;
gap: 4px;
}
.np-action-btn {
background: none;
border: none;
cursor: pointer;
color: var(--text-muted);
padding: 6px 8px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
transition: color 0.15s, background 0.15s;
}
.np-action-btn:hover {
color: var(--text-primary);
background: var(--bg-hover);
}
.np-action-btn:disabled {
opacity: 0.3;
cursor: default;
}
/* Queue list */
.np-queue-list {
display: flex;
flex-direction: column;
}
.np-queue-item {
display: grid;
grid-template-columns: 36px 1fr auto 28px;
align-items: center;
gap: 8px;
padding: 8px 10px;
border-radius: var(--radius-md);
cursor: pointer;
transition: background 0.12s;
user-select: none;
}
.np-queue-item:hover,
.np-queue-item.context-active {
background: var(--bg-hover);
}
.np-queue-item.active {
background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.np-queue-num {
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
min-width: 24px;
}
.np-queue-item-info {
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.np-queue-item-title {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
}
.np-queue-item-active {
color: var(--accent);
}
.np-queue-item-artist {
font-size: 11px;
color: var(--text-muted);
}
.np-queue-item-duration {
font-size: 12px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
flex-shrink: 0;
}
.np-queue-remove {
background: none;
border: none;
cursor: pointer;
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
width: 24px;
height: 24px;
opacity: 0;
transition: opacity 0.12s, color 0.12s, background 0.12s;
}
.np-queue-item:hover .np-queue-remove {
opacity: 1;
}
.np-queue-remove:hover {
color: var(--ctp-red);
background: var(--bg-hover);
}
/* ─ Equalizer ─ */
.eq-wrap {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 660px;
}
.eq-controls-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.eq-toggle-label {
display: flex;
align-items: center;
gap: 0;
font-size: 13px;
color: var(--text-secondary);
}
.eq-preset-row {
display: flex;
align-items: center;
gap: 6px;
}
.eq-preset-select {
padding: 5px 10px;
font-size: 12px;
min-width: 140px;
}
/* ─ Custom Select ─ */
.custom-select-trigger {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
width: 100%;
padding: 0.5rem 0.75rem;
background: var(--bg-input);
border: 1px solid var(--border-dropdown, var(--border));
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 0.875rem;
cursor: pointer;
text-align: left;
transition: border-color 0.15s, background 0.15s;
}
.custom-select-trigger:hover {
border-color: var(--accent);
background: var(--bg-hover);
}
.custom-select-trigger:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.custom-select-label {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.custom-select-chevron {
flex-shrink: 0;
color: var(--text-muted);
transition: transform 0.2s ease;
}
.custom-select-chevron.open {
transform: rotate(180deg);
}
.custom-select-dropdown {
background: var(--bg-card);
border: 1px solid var(--border-dropdown, var(--border));
border-radius: var(--radius-md);
box-shadow: 0 8px 32px var(--shadow-dropdown, rgba(0, 0, 0, 0.4));
overflow-y: auto;
overscroll-behavior: contain;
}
.custom-select-option {
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
color: var(--text-primary);
cursor: pointer;
transition: background 0.1s;
}
.custom-select-option:hover {
background: var(--bg-hover);
}
.custom-select-option.selected {
color: var(--accent);
font-weight: 600;
background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.custom-select-option.disabled {
color: var(--text-muted);
cursor: default;
}
.custom-select-group-label {
padding: 0.375rem 0.75rem 0.25rem;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
border-top: 1px solid var(--border-subtle);
margin-top: 0.25rem;
}
.custom-select-group-label:first-child {
border-top: none;
margin-top: 0;
}
.eq-ctrl-btn {
background: var(--bg-hover);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text-secondary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
transition: background 0.15s, color 0.15s;
flex-shrink: 0;
}
.eq-ctrl-btn:hover {
background: var(--accent);
color: var(--bg-app);
}
.eq-save-row {
display: flex;
align-items: center;
gap: 8px;
}
/* Main EQ panel — canvas area + faders */
.eq-panel {
background: var(--bg-app);
border: 1px solid var(--border);
border-radius: 10px;
overflow: hidden;
transition: opacity 0.2s;
}
.eq-panel--off {
opacity: 0.4;
pointer-events: none;
}
.eq-canvas {
display: block;
width: 100%;
height: 120px;
margin-bottom: 12px;
}
.eq-faders {
display: flex;
align-items: stretch;
padding: 12px 8px 12px;
gap: 0;
height: 155px;
border-top: 1px solid var(--border);
}
/* dB scale on left */
.eq-db-scale {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0 6px 0 0;
width: 28px;
flex-shrink: 0;
}
.eq-db-tick {
font-size: 9px;
color: var(--text-muted);
font-family: monospace;
text-align: right;
line-height: 1;
}
/* Individual band column */
.eq-band {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
flex: 1;
min-width: 0;
}
.eq-gain-val {
font-size: 9px;
color: var(--text-muted);
font-family: monospace;
font-variant-numeric: tabular-nums;
line-height: 1;
height: 12px;
}
/* Fader track — the rotated slider is absolute, so this only needs
enough height for the visual fader length. */
.eq-fader-track {
position: relative;
flex: 1;
min-height: 110px;
width: 100%;
}
/* Zero-dB center mark — horizontal line at 50% = 0 dB position */
.eq-zero-mark {
position: absolute;
left: 10%;
right: 10%;
height: 1px;
background: var(--text-muted);
pointer-events: none;
top: 50%;
transform: translateY(-50%);
}
/* Custom div-based vertical fader — no native range input, full pixel control */
.eq-fader-custom {
position: absolute;
inset: 0;
user-select: none;
touch-action: none;
}
/* The thin vertical track line */
.eq-track-line {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 3px;
transform: translateX(-50%);
background: var(--border);
border-radius: 2px;
pointer-events: none;
}
/* The draggable handle */
.eq-thumb {
position: absolute;
left: 50%;
width: 20px;
height: 8px;
transform: translateX(-50%) translateY(-50%);
background: var(--accent);
border-radius: 3px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
pointer-events: none;
transition: opacity 0.15s;
}
.eq-freq-label {
font-size: 9px;
color: var(--text-muted);
white-space: nowrap;
}
/* ─── Changelog ────────────────────────────────────────────────────────────── */
.changelog-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.changelog-entry {
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
background: var(--bg-card);
overflow: hidden;
}
.changelog-summary {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
cursor: pointer;
list-style: none;
user-select: none;
color: var(--text-primary);
}
.changelog-summary::-webkit-details-marker { display: none; }
.changelog-summary::before {
content: '▶';
font-size: 9px;
color: var(--text-muted);
transition: transform 0.15s;
flex-shrink: 0;
}
.changelog-entry[open] > .changelog-summary::before {
transform: rotate(90deg);
}
.changelog-version {
font-size: 13px;
font-weight: 600;
color: var(--accent);
font-variant-numeric: tabular-nums;
}
.changelog-date {
font-size: 11px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
}
.changelog-body {
padding: 4px 14px 12px 28px;
display: flex;
flex-direction: column;
gap: 2px;
}
.changelog-h3 {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent);
margin-top: 10px;
margin-bottom: 2px;
}
.changelog-h4 {
font-size: 12px;
font-weight: 600;
color: var(--text-primary);
margin-top: 6px;
}
.changelog-item {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.5;
padding-left: 12px;
position: relative;
}
.changelog-item::before {
content: '·';
position: absolute;
left: 2px;
color: var(--text-muted);
}
.changelog-text {
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
}
.changelog-code {
font-family: var(--font-mono, monospace);
font-size: 11px;
background: var(--bg-hover);
color: var(--accent);
padding: 1px 4px;
border-radius: 3px;
}