kv-music/styles.css
2026-04-27 09:02:46 +03:00

11528 lines
236 KiB
CSS

:root {
color-scheme: light dark;
--font-family:
'Inter', 'Noto Sans', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans HK', 'Noto Sans JP', 'Noto Sans KR',
'Noto Sans Hebrew', 'Noto Sans Arabic', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Thai',
'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Gujarati', 'Noto Sans Kannada', 'Noto Sans Malayalam',
'Noto Sans Sinhala', 'Noto Sans Khmer', 'Noto Sans Lao', 'Noto Sans Myanmar', 'Noto Sans Georgian',
'Noto Sans Armenian', 'Noto Sans Ethiopic', system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
sans-serif;
--font-family-ja:
'Inter', 'Noto Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', meiryo, 'Noto Sans JP',
'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans HK', 'Noto Sans Hebrew', 'Noto Sans Arabic',
'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Thai', 'Noto Sans Tamil', 'Noto Sans Telugu',
'Noto Sans Gujarati', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Sinhala', 'Noto Sans Khmer',
'Noto Sans Lao', 'Noto Sans Myanmar', 'Noto Sans Georgian', 'Noto Sans Armenian', 'Noto Sans Ethiopic',
system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, sans-serif;
--font-size-scale: 100%;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-md: 1.125rem;
--text-lg: 1.25rem;
--text-xl: 1.5rem;
--text-2xl: 1.875rem;
--text-3xl: 2.25rem;
--text-4xl: 3rem;
--text-5xl: 3.75rem;
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
--leading-none: 1;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--space-0: 0;
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
--space-20: 5rem;
--space-24: 6rem;
--spacing-xs: var(--space-1);
--spacing-sm: var(--space-2);
--spacing-md: var(--space-4);
--spacing-lg: var(--space-6);
--spacing-xl: var(--space-8);
--spacing-2xl: var(--space-12);
--spacing-3xl: var(--space-16);
--radius-none: 0;
--radius-xs: 2px;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--radius-2xl: 24px;
--radius-full: 9999px;
--radius: var(--radius-md);
--player-bar-height-desktop: 90px;
--player-bar-height-mobile: 130px;
--sidebar-width: 240px;
--sidebar-collapsed-width: 70px;
--duration-instant: 0ms;
--duration-fast: 150ms;
--duration-normal: 300ms;
--duration-slow: 500ms;
--ease-linear: linear;
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
--ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
--ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
--transition-fast: var(--duration-fast) var(--ease-in-out);
--transition-normal: var(--duration-normal) var(--ease-in-out);
--transition-slow: var(--duration-slow) var(--ease-in-out);
--transition: var(--transition-normal);
--shadow-none: none;
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
--shadow-glow: 0 0 20px rgb(var(--highlight-rgb) / 0.5);
--z-hide: -1;
--z-base: 0;
--z-docked: 10;
--z-dropdown: 1000;
--z-sticky: 1100;
--z-banner: 1200;
--z-overlay: 1300;
--z-modal: 1400;
--z-popover: 1500;
--z-tooltip: 1600;
--z-toast: 1700;
/* Buttons */
--btn-height-sm: 32px;
--btn-height-md: 40px;
--btn-height-lg: 48px;
--btn-padding-sm: var(--space-2) var(--space-3);
--btn-padding-md: var(--space-3) var(--space-4);
--btn-padding-lg: var(--space-4) var(--space-6);
/* Inputs */
--input-height: 40px;
--input-padding: var(--space-3) var(--space-4);
/* Cards */
--card-padding: var(--space-4);
--card-gap: var(--space-4);
--card-radius: var(--radius-lg);
/* Modals */
--modal-padding: var(--space-6);
--modal-radius: var(--radius-xl);
--modal-max-width-sm: 400px;
--modal-max-width-md: 500px;
--modal-max-width-lg: 600px;
--modal-max-width-xl: 800px;
/* Covers */
--cover-filter: blur(50px) brightness(0.4);
--cover-radius: var(--radius-md);
--color-danger: #ef4444;
--color-danger-hover: #dc2626;
--color-success: #10b981;
--color-success-hover: #059669;
--color-warning: #f59e0b;
--color-warning-hover: #d97706;
--color-info: #3b82f6;
--color-info-hover: #2563eb;
}
:lang(ja) {
--font-family: var(--font-family-ja);
}
:root[data-theme='monochrome'] {
color-scheme: dark;
--background: #0a0a0a;
--foreground: #f5f5f5;
--card: #141414;
--card-foreground: #f5f5f5;
--primary: #f5f5f5;
--primary-foreground: #0a0a0a;
--secondary: #1f1f1f;
--secondary-foreground: #e0e0e0;
--muted: #1f1f1f;
--muted-foreground: #a0a0a0;
--border: #2a2a2a;
--input: #1f1f1f;
--ring: #f5f5f5;
--highlight: #f5f5f5;
--highlight-rgb: 245, 245, 245;
--active-highlight: var(--highlight);
--explicit-badge: #f5f5f5;
}
:root[data-theme='dark'] {
color-scheme: dark;
--background: #0a0a0a;
--foreground: #ededed;
--card: #1a1a1a;
--card-foreground: #ededed;
--primary: #3b82f6;
--primary-foreground: #fff;
--secondary: #2a2a2a;
--secondary-foreground: #ededed;
--muted: #2a2a2a;
--muted-foreground: #a0a0a0;
--border: #2a2a2a;
--input: #2a2a2a;
--ring: #3b82f6;
--highlight: #3b82f6;
--highlight-rgb: 59, 130, 246;
--active-highlight: #3b82f6;
--explicit-badge: #750a0a;
}
:root[data-theme='ocean'] {
color-scheme: dark;
--background: #0c1821;
--foreground: #e0f4ff;
--card: #1b2838;
--card-foreground: #e0f4ff;
--primary: #06b6d4;
--primary-foreground: #0c1821;
--secondary: #1e3a52;
--secondary-foreground: #e0f4ff;
--muted: #1e3a52;
--muted-foreground: #94c5e0;
--border: #1e3a52;
--input: #1e3a52;
--ring: #06b6d4;
--highlight: #06b6d4;
--highlight-rgb: 6, 182, 212;
--active-highlight: #06b6d4;
--explicit-badge: #f43f5e;
}
:root[data-theme='purple'] {
color-scheme: dark;
--background: #0f0514;
--foreground: #f3e8ff;
--card: #1e0a2e;
--card-foreground: #f3e8ff;
--primary: #a855f7;
--primary-foreground: #fff;
--secondary: #2d1545;
--secondary-foreground: #f3e8ff;
--muted: #2d1545;
--muted-foreground: #c4b5fd;
--border: #2d1545;
--input: #2d1545;
--ring: #a855f7;
--highlight: #a855f7;
--highlight-rgb: 168, 85, 247;
--active-highlight: #a855f7;
--explicit-badge: #ec4899;
}
:root[data-theme='forest'] {
color-scheme: dark;
--background: #0a1409;
--foreground: #e8f5e9;
--card: #1a2e1a;
--card-foreground: #e8f5e9;
--primary: #22c55e;
--primary-foreground: #0a1409;
--secondary: #2d4a2d;
--secondary-foreground: #e8f5e9;
--muted: #2d4a2d;
--muted-foreground: #86efac;
--border: #2d4a2d;
--input: #2d4a2d;
--ring: #22c55e;
--highlight: #22c55e;
--highlight-rgb: 34, 197, 94;
--active-highlight: #22c55e;
--explicit-badge: #f59e0b;
}
:root[data-theme='mocha'] {
color-scheme: dark;
--background: #1e1e2e;
--foreground: #cdd6f4;
--card: #313244;
--card-foreground: #9399b2;
--primary: #89b4fa;
--primary-foreground: #313244;
--secondary: #45475a;
--secondary-foreground: #9399b2;
--muted: #313244;
--muted-foreground: #a6adc8;
--border: #313244;
--input: #45475a;
--ring: #89b4fa;
--highlight: #89b4fa;
--highlight-rgb: 180, 190, 254;
--active-highlight: #b4befe;
--explicit-badge: #f9e2af;
}
:root[data-theme='machiatto'] {
color-scheme: dark;
--background: #24273a;
--foreground: #cad3f5;
--card: #363a4f;
--card-foreground: #939ab7;
--primary: #8aadf4;
--primary-foreground: #363a4f;
--secondary: #494d64;
--secondary-foreground: #6e738d;
--muted: #363a4f;
--muted-foreground: #a5adcb;
--border: #363a4f;
--input: #494d64;
--ring: #8aadf4;
--highlight: #8aadf4;
--highlight-rgb: 183, 189, 248;
--active-highlight: #b7bdf8;
--explicit-badge: #eed49f;
}
:root[data-theme='frappe'] {
color-scheme: dark;
--background: #303446;
--foreground: #c6d0f5;
--card: #414559;
--card-foreground: #949cbb;
--primary: #8caaee;
--primary-foreground: #313244;
--secondary: #51576d;
--secondary-foreground: #a5adce;
--muted: #414559;
--muted-foreground: #a5adce;
--border: #414559;
--input: #45475a;
--ring: #8caaee;
--highlight: #8caaee;
--highlight-rgb: 186, 187, 241;
--active-highlight: #babbf1;
--explicit-badge: #e5c890;
}
:root[data-theme='latte'] {
color-scheme: light;
--background: #eff1f5;
--foreground: #4c4f69;
--card: #ccd0da;
--card-foreground: #7c7f93;
--primary: #1e66f5;
--primary-foreground: #ccd0da;
--secondary: #bcc0cc;
--secondary-foreground: #9ca0b0;
--muted: #ccd0da;
--muted-foreground: #6c6f85;
--border: #ccd0da;
--input: #bcc0cc;
--ring: #fdfdfd;
--highlight: #1e66f5;
--highlight-rgb: 114, 135, 253;
--active-highlight: #7287fd;
--explicit-badge: #df8e1d;
}
:root[data-theme='white'] {
color-scheme: light;
--background: #f5f5f5;
--foreground: #1a1a1a;
--card: #e8e8e8;
--card-foreground: #1a1a1a;
--primary: #1a1a1a;
--primary-foreground: #f5f5f5;
--secondary: #ddd;
--secondary-foreground: #2a2a2a;
--muted: #e0e0e0;
--muted-foreground: #555;
--border: #ccc;
--input: #e0e0e0;
--ring: #1a1a1a;
--highlight: #1a1a1a;
--highlight-rgb: 26, 26, 26;
--active-highlight: var(--highlight);
--explicit-badge: #1a1a1a;
--cover-filter: blur(50px) brightness(1.6) opacity(0.35);
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
font-family: var(--font-family, 'Inter', sans-serif) !important;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100%;
overflow: hidden;
font-size: var(--font-size-scale, 100%);
}
body {
background-color: var(--background);
color: var(--foreground);
font-family: var(--font-family, 'Inter', sans-serif) !important;
overflow: hidden;
transition:
background-color 0.3s ease,
color 0.3s ease;
height: 100%;
position: fixed;
width: 100%;
}
.text-link {
color: var(--primary);
text-decoration: underline;
cursor: pointer;
}
.text-link:hover {
color: var(--highlight);
}
kbd {
background-color: var(--secondary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: var(--space-1) var(--space-2);
font-size: var(--text-sm);
font-family: inherit;
box-shadow: var(--shadow-sm);
}
/* Typography utilities */
.text-xs {
font-size: var(--text-xs);
}
.text-sm {
font-size: var(--text-sm);
}
.text-base {
font-size: var(--text-base);
}
.text-md {
font-size: var(--text-md);
}
.text-lg {
font-size: var(--text-lg);
}
.text-xl {
font-size: var(--text-xl);
}
.text-2xl {
font-size: var(--text-2xl);
}
.text-3xl {
font-size: var(--text-3xl);
}
.text-4xl {
font-size: var(--text-4xl);
}
.font-normal {
font-weight: var(--font-normal);
}
.font-medium {
font-weight: var(--font-medium);
}
.font-semibold {
font-weight: var(--font-semibold);
}
.font-bold {
font-weight: var(--font-bold);
}
.leading-none {
line-height: var(--leading-none);
}
.leading-tight {
line-height: var(--leading-tight);
}
.leading-snug {
line-height: var(--leading-snug);
}
.leading-normal {
line-height: var(--leading-normal);
}
.leading-relaxed {
line-height: var(--leading-relaxed);
}
/* Spacing utilities */
.m-0 {
margin: var(--space-0);
}
.m-1 {
margin: var(--space-1);
}
.m-2 {
margin: var(--space-2);
}
/* Base Elements */
a {
color: inherit;
text-decoration: none;
transition: color var(--transition-fast);
}
svg {
display: block;
vertical-align: middle;
}
img {
max-width: 100%;
display: block;
background-color: var(--muted);
border: none;
}
button {
font-family: inherit;
font-size: inherit;
color: inherit;
background: none;
border: none;
padding: 0;
cursor: pointer;
transition: all var(--transition-fast);
}
button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
input,
select,
textarea {
font-family: inherit;
font-size: inherit;
color: inherit;
background: none;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: var(--space-2) var(--space-3);
outline: none;
transition: all var(--transition-fast);
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px rgb(var(--highlight-rgb) / 0.2);
}
span {
display: inline-block;
}
li {
list-style: none;
}
ul {
padding: 0;
margin: 0;
}
.m-3 {
margin: var(--space-3);
}
.m-4 {
margin: var(--space-4);
}
.m-6 {
margin: var(--space-6);
}
.m-8 {
margin: var(--space-8);
}
.mt-0 {
margin-top: var(--space-0);
}
.mt-1 {
margin-top: var(--space-1);
}
.mt-2 {
margin-top: var(--space-2);
}
.mt-3 {
margin-top: var(--space-3);
}
.mt-4 {
margin-top: var(--space-4);
}
.mt-6 {
margin-top: var(--space-6);
}
.mb-0 {
margin-bottom: var(--space-0);
}
.mb-1 {
margin-bottom: var(--space-1);
}
.mb-2 {
margin-bottom: var(--space-2);
}
.mb-3 {
margin-bottom: var(--space-3);
}
.mb-4 {
margin-bottom: var(--space-4);
}
.mb-6 {
margin-bottom: var(--space-6);
}
.ml-0 {
margin-left: var(--space-0);
}
.ml-2 {
margin-left: var(--space-2);
}
.ml-4 {
margin-left: var(--space-4);
}
.mr-0 {
margin-right: var(--space-0);
}
.mr-2 {
margin-right: var(--space-2);
}
.mr-4 {
margin-right: var(--space-4);
}
.mx-0 {
margin-left: var(--space-0);
margin-right: var(--space-0);
}
.mx-2 {
margin-left: var(--space-2);
margin-right: var(--space-2);
}
.mx-4 {
margin-left: var(--space-4);
margin-right: var(--space-4);
}
.my-0 {
margin-top: var(--space-0);
margin-bottom: var(--space-0);
}
.my-2 {
margin-top: var(--space-2);
margin-bottom: var(--space-2);
}
.my-4 {
margin-top: var(--space-4);
margin-bottom: var(--space-4);
}
.p-0 {
padding: var(--space-0);
}
.p-1 {
padding: var(--space-1);
}
.p-2 {
padding: var(--space-2);
}
.p-3 {
padding: var(--space-3);
}
.p-4 {
padding: var(--space-4);
}
.p-6 {
padding: var(--space-6);
}
.px-0 {
padding-left: var(--space-0);
padding-right: var(--space-0);
}
.px-2 {
padding-left: var(--space-2);
padding-right: var(--space-2);
}
.px-3 {
padding-left: var(--space-3);
padding-right: var(--space-3);
}
.px-4 {
padding-left: var(--space-4);
padding-right: var(--space-4);
}
.py-0 {
padding-top: var(--space-0);
padding-bottom: var(--space-0);
}
.py-1 {
padding-top: var(--space-1);
padding-bottom: var(--space-1);
}
.py-2 {
padding-top: var(--space-2);
padding-bottom: var(--space-2);
}
.py-3 {
padding-top: var(--space-3);
padding-bottom: var(--space-3);
}
.gap-0 {
gap: var(--space-0);
}
.gap-1 {
gap: var(--space-1);
}
.gap-2 {
gap: var(--space-2);
}
.gap-3 {
gap: var(--space-3);
}
.gap-4 {
gap: var(--space-4);
}
.gap-6 {
gap: var(--space-6);
}
/* Radius utilities */
.rounded-none {
border-radius: var(--radius-none);
}
.rounded-xs {
border-radius: var(--radius-xs);
}
.rounded-sm {
border-radius: var(--radius-sm);
}
.rounded-md {
border-radius: var(--radius-md);
}
.rounded-lg {
border-radius: var(--radius-lg);
}
.rounded-xl {
border-radius: var(--radius-xl);
}
.rounded-full {
border-radius: var(--radius-full);
}
/* Shadow utilities */
.shadow-none {
box-shadow: var(--shadow-none);
}
.shadow-xs {
box-shadow: var(--shadow-xs);
}
.shadow-sm {
box-shadow: var(--shadow-sm);
}
.shadow-md {
box-shadow: var(--shadow-md);
}
.shadow-lg {
box-shadow: var(--shadow-lg);
}
.shadow-xl {
box-shadow: var(--shadow-xl);
}
/* Display utilities */
.block {
display: block;
}
.inline-block {
display: inline-block;
}
.inline {
display: inline;
}
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
/* Flex utilities */
.flex-row {
flex-direction: row;
}
.flex-col {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-nowrap {
flex-wrap: nowrap;
}
.items-start {
align-items: flex-start;
}
.items-center {
align-items: center;
}
.items-end {
align-items: flex-end;
}
.justify-start {
justify-content: flex-start;
}
.justify-center {
justify-content: center;
}
.justify-end {
justify-content: flex-end;
}
.justify-between {
justify-content: space-between;
}
.flex-1 {
flex: 1 1 0%;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-none {
flex: none;
}
/* Text utilities */
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Color utilities */
.text-muted {
color: var(--muted-foreground);
}
.text-highlight {
color: var(--highlight);
}
/* Cursor utilities */
.cursor-pointer {
cursor: pointer;
}
.cursor-default {
cursor: default;
}
/* Transition utilities */
.transition-fast {
transition: all var(--duration-fast) var(--ease-in-out);
}
.transition-normal {
transition: all var(--duration-normal) var(--ease-in-out);
}
.transition-slow {
transition: all var(--duration-slow) var(--ease-in-out);
}
.app-container {
display: grid;
height: 100vh;
height: 100dvh;
min-height: 0;
grid-template:
'sidebar main' 1fr
'player player' auto / 210px 1fr;
}
.sidebar {
grid-area: sidebar;
min-height: 0;
background-color: var(--background);
border-right: 1px solid var(--border);
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 2rem;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-content {
display: flex;
flex-direction: column;
height: 100%;
}
.sidebar-nav.main {
flex: 1;
flex-shrink: 0;
}
.sidebar-bottom-container {
margin-top: auto;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.sidebar-nav-bottom {
margin-top: auto;
padding-top: 1rem;
flex: 0 0 auto;
border-top: 1px solid var(--border);
background: var(--background);
position: relative;
}
.sidebar-nav-bottom::before {
content: '';
display: block;
height: 0.5rem;
margin-top: -0.5rem;
}
.main-content {
grid-area: main;
min-height: 0;
min-width: 0;
overflow-y: auto;
overflow-x: hidden;
padding: var(--spacing-xl);
scroll-behavior: smooth;
position: relative;
/* Context for background */
padding-bottom: 160px !important;
}
.server-disruption-sidebar {
display: flex;
align-items: flex-start;
gap: 0.375rem;
padding: 0.4rem 0.6rem;
margin-bottom: 1rem;
background: rgb(245, 158, 11, 0.12);
border: 1px solid rgb(245, 158, 11, 0.25);
border-radius: var(--radius-md);
color: #f59e0b;
font-size: 0.7rem;
line-height: 1.3;
}
.server-disruption-sidebar .disruption-icon {
font-size: 0.8rem;
flex-shrink: 0;
margin-top: 1px;
}
.server-disruption-sidebar .disruption-dismiss {
margin-left: auto;
background: none;
border: none;
color: #f59e0b;
font-size: 1rem;
cursor: pointer;
padding: 0 0.125rem;
line-height: 1;
opacity: 0.7;
transition: opacity 0.15s;
flex-shrink: 0;
}
.server-disruption-sidebar .disruption-dismiss:hover {
opacity: 1;
}
#page-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 60vh;
min-height: 400px;
z-index: 0;
background-size: cover;
background-position: center 20%;
background-repeat: no-repeat;
opacity: 0;
transition: opacity 0.5s ease-in-out;
/* Fade out at the bottom */
mask-image: linear-gradient(to bottom, rgb(0, 0, 0, 1) 0%, rgb(0, 0, 0, 0.8) 40%, rgb(0, 0, 0, 0) 100%);
/* Blur effect */
filter: var(--cover-filter);
pointer-events: none;
}
#page-background.active {
opacity: 1;
}
/* Light mode adjustments */
:root[data-theme='white'] #page-background {
mask-image: linear-gradient(to bottom, rgb(0, 0, 0, 1) 0%, rgb(0, 0, 0, 0) 100%);
}
.now-playing-bar {
grid-area: player;
padding: var(--spacing-sm) var(--spacing-md);
display: grid;
grid-template-columns: 1fr 0.9fr 1fr;
align-items: center;
gap: var(--spacing-sm);
z-index: 2100;
/* Floating bar overrides */
width: calc(96% - 190px) !important;
left: calc(190px + 2%);
bottom: max(15px, env(safe-area-inset-bottom)) !important;
border-radius: var(--radius);
/* Standardized radius */
position: fixed !important;
background-color: color-mix(in srgb, var(--card) 85%, transparent);
backdrop-filter: blur(20px);
border: 1px solid var(--border);
box-shadow: var(--shadow-2xl);
/* Standardized shadow */
transition: all var(--transition-normal) var(--ease-out-back);
height: var(--player-bar-height-desktop);
animation: slide-up var(--transition-slow) var(--ease-out-back);
}
:root[data-theme='white'] .now-playing-bar {
background-color: color-mix(in srgb, var(--card) 80%, transparent);
border-color: rgb(0, 0, 0, 0.1);
}
.sidebar-logo {
display: flex;
align-items: center;
gap: 6px;
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1rem;
}
.sidebar-logo-link {
display: flex;
align-items: center;
gap: 6px;
color: inherit;
text-decoration: none;
}
.sidebar-logo .app-logo {
width: 15px;
height: 15px;
flex-shrink: 0;
}
.sidebar-logo span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
#sidebar-toggle {
padding: 0;
flex-shrink: 0;
}
.sidebar-nav ul {
list-style: none;
}
.sidebar-nav .nav-item a {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
border-radius: var(--radius);
color: var(--muted-foreground);
font-weight: 500;
transition:
background-color var(--transition-fast),
color var(--transition-fast),
transform var(--transition-fast);
cursor: pointer;
}
.search-bar svg.search-icon {
width: 20px;
height: 20px;
}
.sidebar-nav .nav-item a:hover {
background-color: var(--secondary);
color: var(--foreground);
transform: translateX(4px);
/* Slide effect */
}
.sidebar-nav .nav-item a.active {
background-color: var(--primary);
color: var(--primary-foreground);
}
.sidebar-nav .nav-item a svg {
width: 20px;
height: 20px;
flex-shrink: 0;
}
.sidebar-nav.bottom {
margin: 0;
padding: 0;
}
.sidebar-nav.bottom .nav-item a {
padding: 0.5rem 0.75rem;
gap: 0.5rem;
font-size: 0.8125rem;
font-weight: 500;
}
.sidebar-nav.bottom .nav-item a svg {
width: 17px;
height: 17px;
}
.pinned-items-header {
font-size: 0.75rem;
text-transform: uppercase;
color: var(--muted-foreground);
padding: 0 0.75rem;
margin-bottom: 0.5rem;
font-weight: 600;
letter-spacing: 0.05em;
}
#pinned-items-nav {
margin-top: auto;
min-height: 0;
flex: 1 1 auto;
margin-bottom: 0;
padding-bottom: 0;
overflow: visible;
}
#pinned-items-list .nav-item a {
gap: 0.75rem;
padding: 0.5rem 0.75rem;
font-size: 0.9rem;
}
#pinned-items-list .nav-item a .pinned-item-cover {
width: 24px;
height: 24px;
border-radius: var(--radius-sm);
flex-shrink: 0;
object-fit: cover;
}
#pinned-items-list .nav-item a .pinned-item-cover.artist {
border-radius: var(--radius-full);
}
#pinned-items-list .nav-item a .pinned-item-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
}
.pinned-item-collage {
width: 24px;
height: 24px;
border-radius: var(--radius-sm);
flex-shrink: 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
overflow: hidden;
}
.pinned-item-collage img {
width: 100%;
height: 100%;
object-fit: cover;
background-color: var(--muted);
}
#sidebar-overlay {
display: none;
position: fixed;
inset: 0;
background: rgb(0, 0, 0, 0.5);
z-index: 2150;
backdrop-filter: blur(2px);
}
.main-header {
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: var(--spacing-xl);
gap: var(--spacing-md);
position: relative;
z-index: 1000;
width: 100%;
}
.header-account-control {
position: relative;
flex-shrink: 0;
margin-left: auto;
}
#header-account-dropdown {
left: auto;
right: 0;
}
#header-account-btn {
display: flex;
align-items: center;
justify-content: center;
}
.header-account-icon-wrap {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.navigation-controls {
display: flex;
gap: 0.5rem;
align-items: center;
}
.nav-btn {
width: 32px;
height: 32px;
border-radius: var(--radius-full);
background-color: var(--card);
border: 1px solid var(--border);
/* Better definition */
color: var(--foreground);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition:
transform var(--transition-fast),
background-color var(--transition-fast),
box-shadow var(--transition-fast);
box-shadow: var(--shadow-sm);
}
.nav-btn:hover {
background-color: var(--secondary);
transform: scale(1.1);
box-shadow: var(--shadow-md);
}
.nav-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.hamburger-menu {
display: none;
background: transparent;
border: none;
color: var(--foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: background-color var(--transition);
}
.hamburger-menu:hover {
background-color: var(--secondary);
}
.search-bar {
width: auto;
max-width: 100%;
min-width: 0;
flex: 1;
}
.search-bar input {
font-size: 1rem;
transition:
box-shadow var(--transition-fast),
border-color var(--transition-fast),
background-color var(--transition-fast);
}
/* Shared search bar styles */
.search-bar,
.track-list-search-container {
position: relative;
display: flex;
align-items: center;
}
.search-bar svg.search-icon,
.track-list-search-container svg.search-icon {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: var(--muted-foreground);
pointer-events: none;
}
.search-bar input,
.track-list-search-input {
width: 100%;
padding: 0.75rem 2.5rem;
background-color: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
transition:
box-shadow var(--transition-fast),
border-color var(--transition-fast);
}
.search-bar input:focus,
.track-list-search-input:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb) / 0.2);
}
.search-clear-btn {
position: absolute;
right: 0.25rem;
top: 50%;
transform: translateY(-50%);
font-size: 1.5rem;
line-height: 1;
z-index: 1;
}
body.has-page-background .search-bar input {
background-color: var(--background);
}
body.has-page-background .track-item:hover {
background-color: var(--track-hover-bg, var(--secondary));
transform: scale(1.005);
}
.search-history {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--card);
border: 1px solid var(--border);
border-top: none;
border-radius: 0 0 var(--radius) var(--radius);
max-height: 300px;
overflow-y: auto;
z-index: 9999;
box-shadow: var(--shadow-xl);
margin-top: -1px;
animation: slide-up var(--transition-fast) var(--ease-out-back);
transform-origin: top;
}
.search-history-item {
padding: 0.75rem 1rem;
display: flex;
align-items: center;
gap: 0.75rem;
cursor: pointer;
transition: background var(--transition);
}
.search-history-item:hover {
background: var(--secondary);
}
.search-history-item .history-icon {
color: var(--muted-foreground);
opacity: 0.5;
flex-shrink: 0;
}
.search-history-item .query-text {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-history-item .delete-history-btn {
padding: 4px;
color: var(--muted-foreground);
opacity: 0.5;
transition: opacity var(--transition);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.search-history-item .delete-history-btn:hover {
opacity: 1;
color: #ef4444;
}
.search-history-clear-all {
padding: 0.75rem 1rem;
text-align: center;
font-size: 0.85rem;
color: var(--primary);
cursor: pointer;
border-top: 1px solid var(--border);
transition: background var(--transition);
}
.search-history-clear-all:hover {
background: var(--secondary);
}
input[type='search']::-webkit-search-cancel-button {
appearance: none;
display: none;
}
.page {
display: none;
position: relative;
z-index: 1;
}
.page.active {
display: block;
animation: fade-in-slide-up var(--transition-normal) var(--ease-out-back);
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fade-in-slide-up {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes scale-in {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes pop-in {
0% {
opacity: 0;
transform: scale(0.9);
}
70% {
transform: scale(1.02);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes slide-in {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slide-out {
from {
opacity: 1;
transform: translateX(0);
}
to {
opacity: 0;
transform: translateX(20px);
}
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@keyframes heart-beat {
0% {
transform: scale(1);
}
25% {
transform: scale(1.2);
}
50% {
transform: scale(0.95);
}
100% {
transform: scale(1);
}
}
@keyframes skeleton-loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.animate-spin {
animation: spin 1s linear infinite;
}
.content-section {
margin-bottom: var(--spacing-2xl);
}
.section-title {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: var(--spacing-lg);
}
.section-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--spacing-md);
}
.section-header-row .section-title {
margin-bottom: 0;
}
.search-tabs {
display: flex;
gap: var(--spacing-xs);
margin-bottom: var(--spacing-lg);
border-bottom: 1px solid var(--border);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar {
display: none;
}
.search-tab {
background: transparent;
border: none;
color: var(--muted-foreground);
padding: var(--spacing-sm) var(--spacing-lg);
cursor: pointer;
font-size: 1rem;
font-weight: 500;
border-bottom: 2px solid transparent;
white-space: nowrap;
flex-shrink: 0;
/* Keep layout stable */
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
transition:
color var(--transition-fast),
background-color var(--transition-fast),
transform var(--transition-fast);
position: relative;
/* For Pseudo-elements if needed later */
}
.search-tab:hover {
color: var(--foreground);
background-color: rgb(var(--highlight-rgb), 0.05);
/* Subtle highlight */
}
.search-tab:active {
transform: translateY(1px);
}
.search-tab.active {
color: var(--foreground);
border-bottom-color: var(--highlight);
}
.search-tab-content {
display: none;
}
.search-tab-content.active {
display: block;
animation: fade-in-slide-up 0.4s var(--ease-out-back);
/* Use standardized animation */
}
/* Settings Tabs */
.settings-tabs {
display: flex;
gap: var(--spacing-xs);
margin-bottom: var(--spacing-lg);
border-bottom: 1px solid var(--border);
flex-wrap: wrap;
}
.settings-tab {
background: transparent;
border: none;
color: var(--muted-foreground);
padding: var(--spacing-sm) var(--spacing-lg);
cursor: pointer;
font-size: 1rem;
font-weight: 500;
border-bottom: 2px solid transparent;
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
transition:
color var(--transition-fast),
background-color var(--transition-fast),
transform var(--transition-fast);
position: relative;
}
.settings-tab:hover {
color: var(--foreground);
background-color: rgb(var(--highlight-rgb), 0.05);
}
.settings-tab:active {
transform: translateY(1px);
}
.settings-tab.active {
color: var(--foreground);
border-bottom-color: var(--highlight);
}
.settings-tab-content {
display: none;
max-width: 100%;
min-width: 0;
overflow-x: auto;
overflow-y: visible;
}
.settings-tab-content.active {
display: block;
animation: fade-in-slide-up 0.4s var(--ease-out-back);
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--spacing-lg);
}
.card {
display: block;
background-color: var(--card);
padding: var(--spacing-md);
border-radius: var(--radius);
transition:
transform var(--transition-normal),
box-shadow var(--transition-normal),
background-color var(--transition-normal);
position: relative;
border: 1px solid transparent;
}
.card:hover {
background-color: var(--secondary);
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-color: var(--border);
}
/* Card Image wrapper interactions */
.card-image-wrapper {
position: relative;
margin-bottom: var(--spacing-md);
border-radius: var(--radius);
/* Ensure images inherit standard radius */
overflow: hidden;
box-shadow: var(--shadow-md);
transition: box-shadow var(--transition-normal);
aspect-ratio: 1;
/* Enforce square aspect ratio */
}
.card:hover .card-image-wrapper {
box-shadow: var(--shadow-xl);
}
.card-image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--radius);
transition: transform var(--transition-slow);
}
.card:hover .card-image {
transform: scale(1.05);
/* Subtle zoom */
}
.card-like-btn {
position: absolute;
right: 2%;
top: 2%;
}
.card-menu-btn {
position: absolute;
left: 2%;
top: 2%;
}
.card-like-btn,
.card-menu-btn,
.edit-playlist-btn,
.delete-playlist-btn {
background: rgb(0, 0, 0, 0.4) !important;
backdrop-filter: blur(8px);
border-radius: 50% !important;
width: 32px !important;
height: 32px !important;
padding: 0 !important;
display: flex !important;
align-items: center;
justify-content: center;
opacity: 0;
transform: scale(0.8);
transition:
transform var(--transition-fast),
opacity var(--transition-fast),
background-color var(--transition-fast) !important;
z-index: 10;
color: white !important;
border: 1px solid rgb(255, 255, 255, 0.1) !important;
cursor: pointer;
}
.card-like-btn:hover,
.card-menu-btn:hover,
.edit-playlist-btn:hover,
.delete-playlist-btn:hover {
background: rgb(0, 0, 0, 0.7) !important;
transform: scale(1.1) rotate(5deg) !important;
/* Playful rotation */
border-color: rgb(255, 255, 255, 0.3) !important;
}
.card:hover .card-like-btn,
.card:hover .card-menu-btn,
.card-like-btn.active,
.card:hover .edit-playlist-btn,
.card:hover .delete-playlist-btn {
opacity: 1;
transform: scale(1);
transition-delay: 0.05s;
/* Slight delay for staggered feel */
}
.card-like-btn.active {
color: #ef4444 !important;
}
.edit-playlist-btn {
position: absolute;
top: 2%;
right: 2%;
}
.delete-playlist-btn {
position: absolute;
top: 2%;
left: 2%;
}
.delete-playlist-btn:hover {
color: #ef4444 !important;
}
.card-collage {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
overflow: hidden;
padding: 0;
}
.card-collage img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0;
margin: 0;
}
.card-collage.items-3 img:first-child {
grid-row: span 2;
height: 100%;
}
.card-collage.items-2 {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
}
.card.artist .card-image {
border-radius: var(--radius-full);
}
.card-image-wrapper .explicit-badge {
position: absolute;
top: 0.5rem;
right: 0.5rem;
}
.card-title {
font-weight: 600;
margin-bottom: 0.25rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-subtitle {
font-size: 0.9rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.heart-icon {
transition:
transform 0.2s ease,
color 0.2s ease;
}
.like-btn:hover .heart-icon {
color: #ef4444;
}
.heart-icon.filled {
color: #ef4444;
fill: #ef4444;
stroke: #ef4444;
animation: heart-beat 0.4s var(--ease-elastic);
}
.track-item:hover .like-btn {
opacity: 1;
}
.like-btn.active .heart-icon {
color: #ef4444;
fill: #ef4444;
}
.explicit-badge {
background-color: var(--secondary);
color: var(--muted-foreground);
font-size: 0.6rem;
font-weight: 700;
padding: 0.15rem 0.3rem;
border-radius: var(--radius-xs);
margin-left: 0.5rem;
vertical-align: middle;
line-height: 1;
}
.quality-hires {
border: 1px solid var(--secondary);
color: var(--muted-foreground);
font-size: 0.6rem;
font-weight: 700;
padding: 0.15rem 0.3rem;
border-radius: var(--radius-xs);
margin-left: 0.5rem;
vertical-align: middle;
line-height: 1;
}
.quality-atmos {
border: 1px solid var(--secondary);
color: var(--muted-foreground);
padding: 0.15rem 0.3rem;
border-radius: var(--radius-xs);
margin-left: 0.5rem;
vertical-align: middle;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
}
.quality-atmos svg {
height: 0.6rem;
width: auto;
}
.track-list {
display: flex;
flex-direction: column;
gap: 2px;
}
#home-recommended-songs,
#artist-detail-tracks,
#playlist-detail-recommended {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
gap: 2px var(--spacing-xl);
}
#artist-detail-in-library {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
gap: 2px var(--spacing-xl);
}
#artist-detail-in-library[hidden] {
display: none;
}
.library-source {
color: var(--muted-foreground);
font-size: inherit;
display: flex;
align-items: center;
min-width: 0;
flex-shrink: 1;
overflow: hidden;
cursor: pointer;
}
.library-artist-flex {
display: flex;
align-items: center;
gap: 0.35em;
min-width: 0;
}
.library-artist-name {
flex-shrink: 0;
white-space: nowrap;
}
.library-year {
flex-shrink: 0;
white-space: nowrap;
}
.library-source-label {
flex-shrink: 0;
white-space: nowrap;
}
.library-source-link {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
transition: color var(--transition);
}
.library-source:hover .library-source-link {
color: var(--highlight);
text-decoration: underline;
}
#playlist-detail-recommended .track-item {
grid-template-columns: 40px 1fr 32px auto;
}
@media (max-width: 1100px) {
#home-recommended-songs,
#artist-detail-tracks,
#artist-detail-in-library,
#playlist-detail-recommended {
grid-template-columns: 1fr;
}
}
.album-content-layout {
display: block;
}
.album-content-layout::after {
content: '';
display: table;
clear: both;
}
@media (min-width: 1200px) {
#album-detail-tracklist {
float: left;
width: 55%;
margin-right: var(--spacing-2xl);
margin-bottom: var(--spacing-2xl);
}
.album-content-layout .content-section {
/* Default flow to allow wrapping around the float */
margin-top: 0 !important;
margin-bottom: var(--spacing-2xl);
}
/* Switch to inline-block layout for flow behavior */
.album-content-layout .content-section .card-grid {
display: block;
gap: 0;
}
.album-content-layout .content-section .card-grid .card {
display: inline-block;
vertical-align: top;
width: 155px;
/* Fixed width to ensure consistent flow */
margin: 0 var(--spacing-md) var(--spacing-md) 0;
white-space: normal;
/* Reset in case inherited */
}
.album-content-layout .content-section .card-grid .card.compact {
display: inline-flex;
vertical-align: top;
width: 220px;
margin-right: var(--spacing-sm);
}
.album-content-layout .section-title {
font-size: 1.4rem;
margin-bottom: var(--spacing-md);
clear: none;
/* Allow sitting next to float */
}
}
.track-list-header {
display: grid;
grid-template-columns: 40px 1fr 80px 48px;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-sm);
color: var(--muted-foreground);
font-size: 0.9rem;
border-bottom: 1px solid var(--border);
margin-bottom: var(--spacing-xs);
}
.track-list-header .duration-header {
justify-self: flex-end;
}
.is-editable .track-list-header .duration-header {
padding-right: 1.5rem;
}
/* Track Item Standardization */
.track-item {
display: grid;
grid-template-columns: 40px 1fr 60px auto;
gap: var(--spacing-md);
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--radius-sm);
align-items: center;
transition:
background-color var(--transition-fast),
transform var(--transition-fast);
cursor: pointer;
border: 1px solid transparent;
position: relative;
}
.track-item.no-duration {
grid-template-columns: 40px 1fr auto;
}
.track-item.no-duration .track-item-duration {
display: none;
}
.track-item.no-duration.track-item--inline-like {
grid-template-columns: 40px 1fr auto auto;
}
.track-item:hover {
background-color: var(--secondary);
transform: scale(1.005);
}
/* Add active state for click feedback */
.track-item:active {
transform: scale(0.99);
}
.track-item.playing {
background-color: rgb(var(--highlight-rgb), 0.15);
border-left: 3px solid var(--highlight);
padding-left: calc(var(--spacing-sm) - 3px);
}
.track-item.playing .track-item-details .title {
color: var(--highlight);
}
.track-item.video-track-item {
gap: var(--spacing-xl);
}
.track-item.unavailable {
opacity: 0.5;
cursor: not-allowed;
filter: grayscale(1);
}
.track-item.unavailable .title,
.track-item.unavailable .artist,
.track-item.unavailable .track-item-duration {
color: var(--muted-foreground);
}
.track-item.dragging {
opacity: 0.5;
z-index: 2000;
pointer-events: auto;
}
.track-checkbox {
display: none;
width: 18px;
height: 18px;
cursor: pointer;
color: var(--muted-foreground);
flex-shrink: 0;
transition: color var(--transition-fast);
position: absolute;
left: 8px;
z-index: 1;
}
.multi-select-mode .track-checkbox,
body.multi-select-mode .track-checkbox {
display: flex !important;
align-items: center;
justify-content: center;
}
.track-checkbox:hover {
color: var(--foreground);
}
.track-checkbox.checked {
color: var(--primary);
}
.track-item.selected {
background-color: rgb(var(--highlight-rgb), 0.1);
}
body.multi-select-mode .track-item {
cursor: default;
padding-left: 36px;
}
body.multi-select-mode .track-item:hover {
transform: none;
}
.selection-bar {
display: none;
position: fixed;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
background: var(--primary);
color: var(--primary-foreground);
padding: 12px 20px;
border-radius: 24px;
font-size: 0.9rem;
font-weight: 500;
z-index: 1000;
box-shadow: 0 4px 20px rgb(0, 0, 0, 0.3);
gap: 12px;
align-items: center;
}
.selection-bar.visible {
display: flex;
}
.selection-bar .selection-count {
color: var(--primary-foreground);
}
.selection-bar .selection-actions {
display: flex;
gap: 8px;
}
.selection-bar button {
background: transparent;
border: 1px solid var(--primary-foreground);
color: var(--primary-foreground);
padding: 6px 12px;
border-radius: 16px;
cursor: pointer;
font-size: 0.85rem;
transition: background var(--transition-fast);
}
.selection-bar button:hover {
background: rgb(255, 255, 255, 0.2);
}
.track-number {
color: var(--muted-foreground);
text-align: center;
font-size: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
}
.track-item-info {
display: flex;
align-items: center;
gap: var(--spacing-md);
min-width: 0;
}
.track-item-cover {
width: 40px;
height: 40px;
background-color: var(--muted);
border-radius: var(--radius-sm);
object-fit: cover;
flex-shrink: 0;
}
.track-item-details {
min-width: 0;
}
.track-item-details .title {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
align-items: center;
}
.track-item-details .artist {
font-size: 0.9rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.track-item--inline-like {
grid-template-columns: 40px 1fr auto 3.25rem auto;
}
.track-item-inline-like {
display: flex;
align-items: center;
justify-content: center;
}
.track-row-like-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 0.25rem;
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
border-radius: var(--radius-sm);
transition:
color var(--transition-fast),
transform var(--transition-fast);
}
.track-row-like-btn:hover {
color: var(--foreground);
transform: scale(1.08);
}
.track-row-like-btn.active {
color: #ef4444;
}
.track-item-duration {
color: var(--muted-foreground);
justify-self: flex-end;
font-variant-numeric: tabular-nums;
}
.track-item-actions {
justify-self: flex-end;
display: flex;
align-items: center;
min-width: 40px;
justify-content: flex-end;
}
.track-menu-btn {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
z-index: 10;
}
.track-item:hover .track-menu-btn {
opacity: 1;
padding: 0.5rem;
margin: 0;
}
.track-menu-btn:hover {
background-color: rgb(var(--highlight-rgb), 0.2);
color: var(--foreground);
}
.track-action-btn.active {
opacity: 1;
}
.track-action-btn {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
/* Prevent buttons from squishing */
}
.track-action-btn:hover {
background-color: rgb(var(--highlight-rgb), 0.2);
color: var(--foreground);
}
.detail-header {
display: flex;
align-items: flex-start;
gap: var(--spacing-xl);
margin-bottom: var(--spacing-lg);
padding-bottom: var(--spacing-md);
}
.detail-header-image {
width: 200px;
height: 200px;
flex-shrink: 0;
background-color: var(--muted);
border-radius: var(--radius);
object-fit: cover;
box-shadow: var(--shadow-lg);
transition: opacity 0.3s ease-in-out;
}
.detail-header-cover-container {
position: relative;
flex-shrink: 0;
}
.detail-header-collage {
width: 200px;
height: 200px;
flex-shrink: 0;
background-color: var(--muted);
border-radius: var(--radius);
box-shadow: var(--shadow-lg);
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
.detail-header-collage img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0;
margin: 0;
background-color: var(--muted);
}
.detail-header-image.loading {
opacity: 0.3;
}
.detail-header-image.artist {
border-radius: var(--radius-full);
}
.detail-header-banner {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.detail-header-banner video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.6);
display: block;
}
#page-artist .detail-header {
position: relative;
padding: 12rem 3rem 4rem;
border-radius: 0;
overflow: hidden;
margin-top: -8rem;
margin-left: calc(var(--spacing-xl) * -1);
margin-right: calc(var(--spacing-xl) * -1);
margin-bottom: var(--spacing-xl);
min-height: 550px;
display: flex;
align-items: flex-end;
}
@media (max-width: 1024px) {
#page-artist .detail-header {
margin-top: -7rem;
margin-left: calc(var(--spacing-lg) * -1);
margin-right: calc(var(--spacing-lg) * -1);
padding: 10rem 2rem 3rem;
min-height: 450px;
}
}
@media (max-width: 768px) {
#page-artist .detail-header {
margin-top: -6rem;
margin-left: calc(var(--spacing-md) * -1);
margin-right: calc(var(--spacing-md) * -1);
padding: 8rem 1rem 2rem;
min-height: 400px;
}
}
@media (max-width: 480px) {
#page-artist .detail-header {
margin-top: -5rem;
margin-left: -1rem;
margin-right: -1rem;
padding: 5rem 1rem 2rem;
min-height: 300px;
flex-direction: column;
align-items: center;
text-align: center;
gap: 1.25rem;
}
#page-artist .detail-header-image {
width: 140px;
height: 140px;
border-width: 3px;
}
#page-artist .detail-header-info .title {
font-size: 2rem;
justify-content: center;
gap: 0.5rem;
}
#page-artist .detail-header-info .meta {
justify-content: center;
font-size: 0.85rem;
}
#page-artist .detail-header-actions {
justify-content: center;
margin-top: 1rem;
}
#page-artist .artist-bio {
text-align: center;
margin-left: auto;
margin-right: auto;
font-size: 0.85rem;
line-height: 1.4;
}
}
.detail-header-banner::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgb(0, 0, 0, 0.4) 0%,
rgb(0, 0, 0, 0) 40%,
rgb(0, 0, 0, 0.2) 70%,
var(--background) 100%
);
z-index: 1;
}
#page-artist .detail-header-image {
width: 200px;
height: 200px;
border: 4px solid var(--background);
box-shadow: 0 12px 32px rgb(0, 0, 0, 0.6);
z-index: 2;
}
#page-artist .detail-header-info {
z-index: 2;
text-shadow: 0 2px 15px rgb(0, 0, 0, 0.7);
}
.detail-header-info .type {
font-weight: 600;
margin-bottom: 0.5rem;
}
.detail-header-info .title {
font-size: 4rem;
font-weight: 800;
line-height: 1.1;
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
overflow-wrap: anywhere;
word-break: normal;
min-width: 0;
}
.detail-header-info .title.long-title {
font-size: 2.5rem;
}
.detail-header-info .title.very-long-title {
font-size: 1.75rem;
}
.artist-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-left: 1rem;
}
.artist-tag {
background-color: var(--secondary);
color: var(--muted-foreground);
padding: 0.15rem 0.6rem;
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 500;
text-transform: capitalize;
}
.detail-header-info .meta {
color: var(--muted-foreground);
margin-top: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.detail-header-info .meta a {
color: var(--foreground);
text-decoration: none;
transition: color var(--transition);
}
.detail-header-info .meta a:hover {
color: var(--highlight);
}
/* Artist Biography Styles */
.artist-bio {
color: var(--muted-foreground);
margin-top: 1rem;
font-size: 0.95rem;
line-height: 1.5;
max-width: 600px;
display: block;
overflow: hidden;
transition: color var(--transition);
}
.artist-bio:hover {
color: var(--foreground);
}
.artist-socials {
display: flex;
gap: 0.75rem;
margin-top: 0.75rem;
flex-wrap: wrap;
}
.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: var(--radius-full);
background-color: var(--secondary);
color: var(--muted-foreground);
transition: all var(--transition-fast);
}
.social-link:hover {
background-color: var(--highlight);
color: var(--background);
transform: translateY(-2px);
}
.social-link svg {
width: 18px;
height: 18px;
}
.bio-link {
color: var(--highlight) !important;
text-decoration: underline !important;
cursor: pointer !important;
font-weight: 500 !important;
pointer-events: auto !important;
}
.bio-link:hover {
color: var(--primary) !important;
text-decoration: none !important;
}
.bio-read-more {
display: block;
color: var(--highlight);
text-decoration: underline;
cursor: pointer;
font-weight: bold;
font-size: 0.95rem;
margin-top: 0.5rem;
}
.bio-read-more:hover {
color: var(--primary);
}
.bio-source {
display: block;
margin-top: 1.5rem;
font-size: 0.9rem;
opacity: 0.6;
font-style: italic;
border-top: 1px solid var(--border);
padding-top: 1rem;
}
.detail-header-actions {
display: flex;
gap: 0.5rem;
margin-top: 1.5rem;
flex-wrap: wrap;
align-items: center;
}
.detail-header-actions .btn-primary,
.detail-header-actions .btn-secondary {
width: 40px;
height: 40px;
padding: 0;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
#page-party-detail .detail-header-actions .btn-primary,
#page-party-detail .detail-header-actions .btn-secondary {
width: auto;
height: auto;
padding: 0.6rem 1.2rem;
border-radius: var(--radius-full);
}
#page-party-detail .detail-header-actions .btn-primary span,
#page-party-detail .detail-header-actions .btn-secondary span {
display: inline;
}
.detail-header-actions .card-menu-btn,
.detail-header-actions #album-menu-btn {
position: static !important;
opacity: 1 !important;
transform: none !important;
}
.detail-header-actions .btn-primary span,
.detail-header-actions .btn-secondary span {
display: none;
}
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
/* Adjusted for consistency */
background-color: var(--primary);
color: var(--primary-foreground);
border: none;
border-radius: var(--radius-full);
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition:
transform var(--transition-fast),
box-shadow var(--transition-fast),
filter var(--transition-fast);
box-shadow: var(--shadow-sm);
-webkit-tap-highlight-color: transparent;
position: relative;
overflow: hidden;
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-glow);
filter: brightness(1.1);
/* Brighter instead of darker */
}
.btn-primary:active {
transform: scale(0.96) translateY(0);
}
.btn-primary:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.btn-primary svg {
flex-shrink: 0;
transition: transform var(--transition-fast);
}
.btn-primary:hover svg {
transform: scale(1.1);
}
.btn-secondary {
padding: 0.5rem 1rem;
background-color: var(--secondary);
color: var(--foreground);
border: none;
border-radius: var(--radius);
cursor: pointer;
font-weight: 500;
font-size: 0.8333rem;
transition: all var(--transition);
}
.btn-secondary:hover {
background-color: var(--muted);
filter: brightness(1.1);
}
.btn-secondary:active {
transform: scale(0.98);
}
.btn-secondary:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-secondary.danger {
background: #ef4444;
color: #fff;
}
.btn-secondary.danger:hover {
background: #dc2626;
}
.modal-actions .btn-secondary {
padding: 0.875rem 1.75rem;
border-radius: var(--radius-full);
font-weight: 600;
font-size: 0.95rem;
}
.settings-list {
max-width: 800px;
width: 100%;
min-width: 0;
box-sizing: border-box;
}
.settings-group {
border-bottom: 1px solid var(--border);
padding: var(--spacing-lg) 0;
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.settings-group .setting-item {
border-bottom: none;
padding: 0;
}
.sidebar-settings-section {
display: flex;
flex-direction: column;
gap: 0;
}
.sidebar-settings-section-label {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--muted-foreground);
margin-bottom: 0;
}
.sidebar-settings-section .sidebar-settings-section-label + .setting-item {
margin-top: var(--spacing-sm);
}
.sidebar-settings-section .setting-item + .setting-item {
margin-top: var(--spacing-md);
}
.setting-item {
display: flex;
justify-content: space-between;
padding: var(--spacing-lg) 0;
border-bottom: 1px solid var(--border);
gap: var(--spacing-lg);
min-width: 0;
}
.setting-item.sidebar-setting-item {
align-items: center;
gap: var(--spacing-md);
cursor: grab;
}
.setting-item.sidebar-setting-item::before {
content: '';
width: 14px;
height: 16px;
border-radius: var(--radius-sm);
flex-shrink: 0;
display: inline-block;
background-image: radial-gradient(currentcolor 1.2px, transparent 1.3px);
background-size: 6px 6px;
background-position: center;
background-repeat: repeat;
color: var(--muted-foreground);
}
.setting-item.sidebar-setting-item .info {
flex: 1;
min-width: 0;
}
.setting-item.sidebar-setting-item .toggle-switch {
flex-shrink: 0;
}
.setting-item.sidebar-setting-item.dragging {
opacity: 0.6;
cursor: grabbing;
}
.setting-item .info {
display: flex;
flex-direction: column;
min-width: 0;
}
.setting-item .label {
font-weight: 500;
}
.setting-item .description {
font-size: 0.9rem;
color: var(--muted-foreground);
}
.setting-item .info.setting-details {
width: 100%;
display: block;
}
.setting-item .info.setting-details .description {
font-size: 0.8rem;
}
.setting-item select,
.setting-item input[type='number'] {
background-color: var(--input);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.5rem;
appearance: auto; /* Force native dropdown for Tesla/Mobile */
}
.setting-item input[type='number'] {
width: 100px;
}
.setting-item input[type='range'] {
width: 120px;
accent-color: var(--accent);
appearance: none;
height: 6px;
background: var(--border);
border-radius: var(--radius-full);
outline: none;
}
.setting-item input[type='range']::-webkit-slider-thumb {
appearance: none;
width: 18px;
height: 18px;
background: var(--primary);
border-radius: var(--radius-full);
cursor: pointer;
transition: background-color var(--transition-fast);
}
.setting-item input[type='range']::-webkit-slider-thumb:hover {
background: var(--highlight);
}
.playback-speed-control {
display: flex;
align-items: center;
gap: var(--spacing-md);
}
.playback-speed-slider {
appearance: none;
width: 150px;
height: 6px;
background: var(--border);
border-radius: var(--radius-full);
cursor: pointer;
outline: none;
}
.playback-speed-slider::-webkit-slider-thumb {
appearance: none;
width: 16px;
height: 16px;
background: var(--primary);
border-radius: 50%;
cursor: pointer;
transition: transform 0.1s ease;
}
.playback-speed-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
.playback-speed-number-input {
width: 80px;
padding: 0.25rem 0.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--input);
color: var(--foreground);
text-align: center;
font-size: 0.9rem;
}
.playback-speed-unit {
font-size: 0.9rem;
color: var(--muted-foreground);
min-width: 1rem;
}
.playback-speed-number-input:focus {
outline: none;
border-color: var(--primary);
}
/* Hide arrows/spinners for number input */
.playback-speed-number-input::-webkit-outer-spin-button,
.playback-speed-number-input::-webkit-inner-spin-button {
appearance: none;
margin: 0;
}
.template-input {
width: 100%;
max-width: 400px;
padding: 0.5rem;
background-color: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.9rem;
}
.template-input:focus {
outline: none;
border-color: var(--ring);
}
.font-settings-container {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.font-settings-container .info {
width: 100%;
}
.font-input-group {
display: flex;
flex-direction: column;
gap: 0.75rem;
width: 100%;
max-width: 500px;
}
.font-type-select {
width: 100%;
padding: 0.5rem;
background-color: var(--input);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.9rem;
}
.font-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.font-section select {
width: 100%;
padding: 0.5rem;
background-color: var(--input);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.9rem;
}
.font-input {
width: 100%;
padding: 0.5rem;
background-color: var(--input);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.9rem;
}
.font-name-input {
margin-top: 0.25rem;
}
.font-file-input {
padding: 0.5rem;
background-color: var(--input);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.9rem;
cursor: pointer;
}
.font-file-input::file-selector-button {
background-color: var(--secondary);
color: var(--secondary-foreground);
border: none;
border-radius: var(--radius-sm);
padding: 0.4rem 0.8rem;
margin-right: 0.75rem;
cursor: pointer;
font-size: 0.85rem;
transition: background-color var(--transition-fast);
}
.font-file-input::file-selector-button:hover {
background-color: var(--secondary-hover);
}
.uploaded-fonts-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-top: 0.5rem;
}
.uploaded-font-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 0.75rem;
background-color: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.9rem;
}
.uploaded-font-item .font-name {
flex: 1;
color: var(--foreground);
}
.uploaded-font-item .font-actions {
display: flex;
gap: 0.5rem;
}
/* Font Size Control */
.font-size-control {
display: flex;
align-items: center;
gap: var(--spacing-md);
}
.font-size-slider {
appearance: none;
width: 150px;
height: 6px;
background: var(--border);
border-radius: var(--radius-full);
outline: none;
}
.font-size-slider::-webkit-slider-thumb {
appearance: none;
width: 18px;
height: 18px;
background: var(--primary);
border-radius: var(--radius-full);
cursor: pointer;
transition: background-color var(--transition-fast);
}
.font-size-slider::-webkit-slider-thumb:hover {
background: var(--highlight);
}
.font-size-slider::-moz-range-thumb {
width: 18px;
height: 18px;
background: var(--primary);
border-radius: var(--radius-full);
cursor: pointer;
border: none;
transition: background-color var(--transition-fast);
}
.font-size-slider::-moz-range-thumb:hover {
background: var(--highlight);
}
.font-size-number-input {
width: 60px;
padding: 0.4rem 0.5rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.9rem;
text-align: center;
transition: border-color var(--transition-fast);
}
.font-size-number-input:hover {
border-color: var(--primary);
}
.font-size-number-input:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
/* Hide number input arrows */
.font-size-number-input::-webkit-outer-spin-button,
.font-size-number-input::-webkit-inner-spin-button {
appearance: none;
margin: 0;
}
.font-size-number-input[type='number'] {
appearance: textfield;
}
.font-size-unit {
font-size: 0.9rem;
color: var(--muted-foreground);
margin-left: -0.25rem;
}
#font-size-reset {
padding: 0.4rem 0.75rem;
font-size: 0.85rem;
}
.uploaded-font-item .btn-icon {
padding: 0.25rem 0.5rem;
background-color: var(--secondary);
color: var(--secondary-foreground);
border: none;
border-radius: var(--radius-sm);
font-size: 0.75rem;
cursor: pointer;
transition: background-color var(--transition-fast);
}
.uploaded-font-item .btn-icon:hover {
background-color: var(--secondary-hover);
}
.uploaded-font-item .btn-delete {
background-color: var(--destructive);
color: var(--destructive-foreground);
}
.uploaded-font-item .btn-delete:hover {
background-color: var(--destructive-hover);
}
.toggle-switch {
position: relative;
display: inline-block;
width: 40px;
height: 24px;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
inset: 0;
background-color: var(--secondary);
transition: background-color var(--transition-normal);
border-radius: var(--radius-2xl);
box-shadow: inset 0 2px 4px rgb(0, 0, 0, 0.1);
/* Inner shadow for depth */
}
.slider::before {
position: absolute;
content: '';
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: var(--foreground);
transition: transform var(--transition-spring, 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275));
/* Spring animation */
border-radius: var(--radius-full);
box-shadow: 0 2px 4px rgb(0, 0, 0, 0.2);
}
input:checked + .slider {
background-color: var(--primary);
}
input:checked + .slider::before {
transform: translateX(16px);
background-color: var(--primary-foreground);
box-shadow: -2px 2px 4px rgb(0, 0, 0, 0.1);
}
.toggle-switch:hover .slider::before {
transform: scale(1.1);
/* Hover scale effect */
}
.toggle-switch:hover input:checked + .slider::before {
transform: translateX(16px) scale(1.1);
}
.toggle-switch input:disabled + .slider {
opacity: 0.5;
cursor: not-allowed;
}
.toggle-switch input:disabled + .slider::before {
box-shadow: none;
transform: translateX(0);
}
.toggle-switch input:disabled:checked + .slider::before {
transform: translateX(16px);
}
.toggle-switch:hover input:disabled + .slider::before {
transform: translateX(0);
}
.toggle-switch:hover input:disabled:checked + .slider::before {
transform: translateX(16px);
}
.track-info {
display: flex;
align-items: center;
gap: 1rem;
min-width: 0;
}
.track-info .cover {
width: 56px;
height: 56px;
border-radius: var(--radius-sm);
background-color: var(--muted);
object-fit: cover;
flex-shrink: 0;
}
.track-info .details {
min-width: 0;
}
.track-info .details .title {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
transition: color var(--transition);
}
.track-info .details .title:hover {
color: var(--highlight);
}
.track-info .details .album {
font-size: 0.8rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
transition: color var(--transition);
}
.track-info .details .album:hover {
color: var(--highlight);
}
.track-info .details .artist {
font-size: 0.8rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
transition:
color var(--transition-fast),
transform var(--transition-fast);
display: block;
max-width: 100%;
}
.track-info .details .artist:hover {
color: var(--highlight);
transform: translateX(2px);
}
#radio-btn.active,
#fs-radio-btn.active {
color: var(--primary);
}
#radio-btn.active svg,
#fs-radio-btn.active svg {
filter: drop-shadow(0 0 4px var(--primary));
}
#radio-loading-indicator {
display: none;
position: absolute;
top: -35px;
left: 50%;
transform: translateX(-50%);
background: var(--background-secondary);
padding: 6px 14px;
border-radius: 20px;
font-size: 0.85rem;
border: 1px solid var(--border);
box-shadow: var(--shadow-lg);
align-items: center;
gap: 10px;
z-index: 100;
white-space: nowrap;
animation: radio-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#radio-loading-indicator .animate-spin {
width: 14px;
height: 14px;
border: 2px solid var(--primary);
border-top-color: transparent;
border-radius: 50%;
}
#radio-loading-indicator span {
font-weight: 500;
}
@keyframes radio-slide-up {
from {
opacity: 0;
transform: translate(-50%, 10px);
}
to {
opacity: 1;
transform: translate(-50%, 0);
}
}
.player-controls {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--spacing-sm);
}
.player-controls.waveform-loaded {
gap: 0.1rem;
margin-bottom: 0.3rem;
}
.player-controls .buttons {
display: flex;
align-items: center;
gap: var(--spacing-md);
}
.player-controls .buttons button {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
transition:
transform var(--transition-fast),
color var(--transition-fast),
background-color var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: var(--radius-full);
position: relative;
-webkit-tap-highlight-color: transparent;
}
.player-controls .buttons button:hover {
transform: scale(1.1);
/* Pop effect */
}
.player-controls .buttons button:active {
transform: scale(0.9);
color: var(--foreground);
background-color: var(--secondary);
}
@media (hover: hover) {
.player-controls .buttons button:hover {
color: var(--foreground);
background-color: var(--secondary);
}
}
.player-controls .buttons button.active {
color: var(--active-highlight);
}
.player-controls .buttons button#repeat-btn.repeat-one::after {
content: '1';
position: absolute;
font-size: 0.5rem;
font-weight: bold;
}
.player-controls .buttons .play-pause-btn {
background-color: var(--primary);
color: var(--primary-foreground);
width: 36px;
height: 36px;
}
@media (hover: hover) {
.player-controls .buttons .play-pause-btn:hover {
transform: scale(1.05);
background-color: var(--primary);
color: var(--primary-foreground);
}
}
.player-controls .buttons .play-pause-btn:active {
transform: scale(0.95);
background-color: var(--primary);
color: var(--primary-foreground);
}
.player-controls .progress-container {
width: 100%;
max-width: 500px;
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 0.8rem;
color: var(--muted-foreground);
order: -1;
}
.player-controls .progress-container span {
min-width: 40px;
font-variant-numeric: tabular-nums;
flex-shrink: 0;
}
#current-time {
text-align: right;
}
.progress-bar,
.volume-bar {
position: relative;
cursor: pointer;
user-select: none;
touch-action: none;
}
.progress-bar {
flex-grow: 1;
height: 6px;
background-color: var(--secondary);
border-radius: var(--radius-xs);
}
.progress-bar:hover {
height: 8px;
}
.progress-bar .progress-fill {
width: 0;
height: 100%;
background-color: var(--muted-foreground);
border-radius: var(--radius-xs);
transition: background-color 0.2s ease;
position: relative;
pointer-events: none;
}
.progress-bar:hover .progress-fill {
background-color: var(--highlight);
}
.progress-bar:hover .progress-fill::after,
.progress-bar:active .progress-fill::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background-color: var(--highlight);
border-radius: var(--radius-full);
box-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}
.progress-bar.has-waveform.waveform-loaded {
height: 28px;
}
.progress-bar.has-waveform.waveform-loaded .progress-fill {
background-color: var(--primary);
}
.progress-bar.has-waveform.waveform-loaded .progress-fill::after {
display: none;
}
#waveform-canvas {
display: none;
}
.volume-controls {
display: flex;
justify-content: center !important;
align-items: flex-end !important;
gap: 0.5rem !important;
flex-direction: column !important;
overflow: hidden;
}
.volume-controls button {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
transition: all var(--transition);
padding: 0.25rem;
width: 28px;
height: 28px;
border-radius: var(--radius);
display: flex;
align-items: center;
justify-content: center;
}
@media (hover: hover) {
.volume-controls button:hover {
color: var(--foreground);
background-color: var(--secondary);
}
}
.volume-controls button:active {
color: var(--foreground);
background-color: var(--secondary);
}
.volume-controls .volume-bar {
width: 100px;
height: 4px;
background-color: var(--secondary);
border-radius: var(--radius-xs);
}
.volume-controls .volume-bar:hover {
height: 6px;
}
.volume-controls .volume-bar .volume-fill {
width: var(--volume-level, 70%);
height: 100%;
background-color: var(--muted-foreground);
border-radius: var(--radius-xs);
transition: background-color 0.2s ease;
position: relative;
pointer-events: none;
}
.volume-controls .volume-bar:hover .volume-fill {
background-color: var(--highlight);
}
.volume-controls .volume-bar:hover .volume-fill::after,
.volume-controls .volume-bar:active .volume-fill::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background-color: var(--highlight);
border-radius: var(--radius-full);
box-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}
/* Sleep Timer Button */
#sleep-timer-btn {
position: relative;
font-size: 0.8rem;
font-weight: bold;
transition: all var(--transition);
}
#sleep-timer-btn:hover {
color: var(--highlight);
}
#sleep-timer-btn.active {
color: var(--primary);
text-shadow: 0 0 8px rgb(var(--highlight-rgb), 0.5);
}
#sleep-timer-btn svg {
width: 20px;
height: 20px;
}
#sleep-timer-btn span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
}
#context-menu,
#sort-menu,
#eq-node-context-menu,
#eq-empty-context-menu {
display: none;
position: fixed;
background-color: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.5rem;
box-shadow: var(--shadow-lg);
z-index: 3000;
min-width: 160px;
transform-origin: top left;
animation: scale-in var(--transition-fast) var(--ease-out-back);
}
#context-menu ul,
#sort-menu ul,
#eq-node-context-menu ul,
#eq-empty-context-menu ul {
list-style: none;
}
#context-menu li,
#sort-menu li,
#eq-node-context-menu li,
#eq-empty-context-menu li {
padding: 0.5rem 0.75rem;
margin-right: 8px;
cursor: pointer;
border-radius: var(--radius-sm);
transition:
background-color var(--transition-fast),
transform var(--transition-fast);
/* Add transform */
font-size: 0.9rem;
display: flex;
/* Ensure spacing if icons are added */
align-items: center;
}
#sort-menu li.sort-active {
font-weight: bold;
}
#context-menu li:hover,
#sort-menu li:hover,
#eq-node-context-menu li:hover,
#eq-empty-context-menu li:hover {
background-color: var(--secondary);
transform: translateX(4px);
/* Slide interaction */
color: var(--foreground);
}
#context-menu li.separator,
#eq-node-context-menu li.separator {
height: 1px;
background-color: var(--border);
margin: 0.5rem 0;
padding: 0;
cursor: default;
pointer-events: none;
}
#context-menu li.separator:hover,
#eq-node-context-menu li.separator:hover {
background-color: var(--border);
transform: none;
}
#eq-node-context-menu li.eq-ctx-active {
color: var(--primary);
font-weight: 600;
}
.blocked-items-list {
list-style: none;
max-height: 300px;
overflow-y: auto;
}
.blocked-items-list li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0.75rem;
background: var(--accent);
border-radius: var(--radius-sm);
margin-bottom: 0.25rem;
}
.blocked-items-list li:hover {
background: var(--secondary);
}
.blocked-items-list .item-info {
flex: 1;
min-width: 0;
}
.blocked-items-list .item-name {
font-weight: 500;
font-size: 0.9rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.blocked-items-list .item-meta {
font-size: 0.75rem;
color: var(--muted-foreground);
}
.blocked-items-list .unblock-btn {
background: transparent;
border: none;
color: var(--primary);
cursor: pointer;
padding: 0.25rem 0.5rem;
font-size: 0.8rem;
border-radius: var(--radius-sm);
}
.blocked-items-list .unblock-btn:hover {
background: var(--secondary);
}
/* Blocked content styling */
.track-item.blocked {
opacity: 0.4;
filter: grayscale(100%);
}
.track-item.blocked .track-item-info {
text-decoration: line-through;
}
.card.blocked {
opacity: 0.4;
filter: grayscale(100%);
}
.card.blocked .card-title,
.card.blocked .card-subtitle {
text-decoration: line-through;
}
.queue-track-item.blocked {
opacity: 0.4;
filter: grayscale(100%);
}
.queue-track-item.blocked .track-item-details {
text-decoration: line-through;
}
#queue-modal-overlay {
display: none;
position: fixed;
inset: 0;
background-color: rgb(0, 0, 0, 0.7);
backdrop-filter: blur(4px);
z-index: 3000;
justify-content: center;
align-items: center;
animation: fade-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay {
position: fixed;
inset: 0;
z-index: 2000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
animation: fade-in 0.3s ease;
overflow: hidden;
background-color: rgb(11 13 17);
/* Reserve space above taskbar / system UI so volume controls stay visible (fixes #322) */
padding-bottom: max(env(safe-area-inset-bottom), 1.5rem);
--fullscreen-drag-progress: 0;
--fs-accent-rgb: var(--highlight-rgb);
}
#fullscreen-cover-overlay::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 50% 50%, rgb(255 255 255 / 0.035), transparent 58%),
linear-gradient(180deg, rgb(6 8 12 / 0.12), rgb(6 8 12 / 0.34));
z-index: -1;
transition: opacity 0.65s ease;
opacity: calc(1 - (var(--fullscreen-drag-progress, 0) * 0.32));
}
#fullscreen-cover-overlay::after {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 22%, rgb(var(--fs-accent-rgb) / 0.28), transparent 36%),
radial-gradient(circle at 82% 18%, rgb(255 255 255 / 0.09), transparent 28%),
linear-gradient(135deg, rgb(10 13 18 / 0.48), rgb(10 13 18 / 0.2) 38%, rgb(var(--fs-accent-rgb) / 0.12) 100%);
opacity: calc(0.36 - (var(--fullscreen-drag-progress, 0) * 0.26));
pointer-events: none;
z-index: 0;
transition:
opacity 0.65s ease,
background 0.65s ease;
}
#visualizer-container {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
filter: blur(8px) saturate(0.9) brightness(0.8);
transform: scale(1.03);
opacity: 0.8;
transition:
opacity 0.65s ease,
filter 0.65s ease,
transform 0.65s ease;
}
#visualizer-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.fullscreen-cover-content {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
position: relative;
padding: 1rem;
overflow: hidden;
transform: translateY(var(--fullscreen-drag-offset, 0));
opacity: calc(1 - (var(--fullscreen-drag-progress, 0) * 0.16));
transition:
transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
opacity 0.22s ease;
will-change: transform, opacity;
}
#fullscreen-dismiss-handle {
position: absolute;
top: calc(0.75rem + env(safe-area-inset-top));
left: 50%;
width: 3.25rem;
height: 1rem;
border: 0;
padding: 0;
margin: 0;
background: transparent;
transform: translateX(-50%);
z-index: 14;
display: none;
cursor: grab;
touch-action: none;
}
#fullscreen-dismiss-handle::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 3rem;
height: 0.3rem;
border-radius: 999px;
transform: translate(-50%, -50%);
background: rgb(255 255 255 / 0.28);
box-shadow: 0 2px 12px rgb(0 0 0 / 0.25);
}
#fullscreen-cover-overlay.fullscreen-dragging .fullscreen-cover-content {
transition: none;
}
#fullscreen-cover-overlay.fullscreen-dismissing .fullscreen-cover-content {
transform: translateY(calc(100% + 3rem));
opacity: 0;
}
/* UI Toggle Button for Visualizer Mode - Rightmost position */
#toggle-ui-btn {
position: absolute;
top: 1rem;
right: 1rem;
background-color: var(--background);
border: none;
color: var(--foreground);
width: 48px;
height: 48px;
border-radius: var(--radius-full);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition:
opacity 0.3s ease,
transform 0.2s ease,
right 0.3s ease;
z-index: 10;
opacity: 0.5;
pointer-events: auto;
}
#toggle-ui-btn:hover {
opacity: 0.8;
transform: scale(1.05);
}
#toggle-ui-btn.active {
color: var(--primary);
opacity: 0.8;
}
/* When UI is hidden, toggle button is hidden by default */
#fullscreen-cover-overlay.ui-hidden #toggle-ui-btn {
opacity: 0;
pointer-events: none;
}
/* When UI is hidden and mouse is near, show the toggle button */
#fullscreen-cover-overlay.ui-hidden #toggle-ui-btn.visible {
opacity: 0.5;
pointer-events: auto;
}
/* Lyrics Toggle - Middle position */
.fullscreen-lyrics-toggle {
position: absolute;
top: 1rem;
right: 4.5rem;
background: rgb(0, 0, 0, 0.5);
border: none;
color: white;
padding: 0.75rem;
border-radius: var(--radius-full);
cursor: pointer;
z-index: 1001;
display: flex;
align-items: center;
justify-content: center;
transition:
all 0.2s ease,
right 0.3s ease;
}
.fullscreen-lyrics-toggle:hover {
background: rgb(0, 0, 0, 0.7);
transform: scale(1.1);
}
.fullscreen-lyrics-toggle.active {
background: var(--primary);
}
#toggle-fullscreen-lyrics-mobile-btn {
display: none;
position: absolute;
top: calc(0.85rem + env(safe-area-inset-top));
right: calc(0.9rem + env(safe-area-inset-right));
width: 38px;
height: 38px;
border: none;
border-radius: 999px;
padding: 0;
align-items: center;
justify-content: center;
background: rgb(9 12 18 / 0.32);
color: rgb(255 255 255 / 0.76);
backdrop-filter: blur(10px);
z-index: 14;
transition:
background-color 0.2s ease,
color 0.2s ease,
opacity 0.2s ease,
transform 0.2s ease;
}
#toggle-fullscreen-lyrics-mobile-btn.active {
background: rgb(255 255 255 / 0.12);
color: rgb(255 255 255 / 0.96);
}
#toggle-fullscreen-lyrics-mobile-btn:hover {
transform: scale(1.04);
}
/* Close Button - Leftmost position */
#close-fullscreen-cover-btn {
position: absolute;
top: 1rem;
right: 8rem;
background-color: var(--background);
border: none;
color: var(--foreground);
font-size: 2rem;
width: 48px;
height: 48px;
border-radius: var(--radius-full);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition:
opacity 0.2s,
right 0.3s ease;
z-index: 10;
opacity: 0.5;
}
#close-fullscreen-cover-btn:hover {
opacity: 0.8;
}
/* UI Hidden State for Visualizer Mode */
#fullscreen-cover-overlay.ui-hidden .fullscreen-main-view,
#fullscreen-cover-overlay.ui-hidden .fullscreen-controls,
#fullscreen-cover-overlay.ui-hidden #fullscreen-next-track {
opacity: 0;
pointer-events: none;
transition: opacity 0.5s ease;
}
/* When UI is hidden, only toggle button stays visible at right edge (when .visible class is added) */
#fullscreen-cover-overlay.ui-hidden .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay.ui-hidden .fullscreen-top-actions {
opacity: 0;
pointer-events: none;
}
#fullscreen-cover-overlay.ui-hidden::before,
#fullscreen-cover-overlay.ui-hidden::after {
opacity: 0;
}
#fullscreen-cover-overlay.ui-hidden #visualizer-container {
filter: none;
transform: none;
opacity: 1;
}
#fullscreen-cover-overlay:not(.ui-hidden) .fullscreen-main-view,
#fullscreen-cover-overlay:not(.ui-hidden) .fullscreen-controls,
#fullscreen-cover-overlay:not(.ui-hidden) #fullscreen-next-track {
opacity: 1;
pointer-events: auto;
transition: opacity 0.5s ease;
}
/* Auto-hide controls on idle */
#fullscreen-cover-overlay.controls-idle .fullscreen-track-info,
#fullscreen-cover-overlay.controls-idle .fullscreen-controls,
#fullscreen-cover-overlay.controls-idle #fullscreen-next-track,
#fullscreen-cover-overlay.controls-idle #toggle-ui-btn,
#fullscreen-cover-overlay.controls-idle .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay.controls-idle .fullscreen-top-actions {
opacity: 0;
pointer-events: none;
transition:
opacity 0.6s ease,
transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay.controls-idle #fullscreen-cover-image {
transform: translateY(4rem);
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay:not(.controls-idle) #fullscreen-cover-image {
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay.controls-idle .fullscreen-controls {
transform: translateY(1.5rem);
}
#fullscreen-cover-overlay.controls-idle .fullscreen-track-info {
transform: translateY(0.5rem);
}
#fullscreen-cover-overlay.controls-idle #toggle-ui-btn,
#fullscreen-cover-overlay.controls-idle .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay.controls-idle .fullscreen-top-actions {
transform: translateY(-0.5rem);
}
#fullscreen-cover-overlay:not(.controls-idle) .fullscreen-track-info,
#fullscreen-cover-overlay:not(.controls-idle) .fullscreen-controls,
#fullscreen-cover-overlay:not(.controls-idle) #fullscreen-next-track,
#fullscreen-cover-overlay:not(.controls-idle) #toggle-ui-btn,
#fullscreen-cover-overlay:not(.controls-idle) .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay:not(.controls-idle) .fullscreen-top-actions {
opacity: 1;
transform: translateY(0);
transition:
opacity 0.4s ease,
transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay.controls-idle {
cursor: none;
}
#fullscreen-cover-image {
max-width: 55vw;
max-height: 45vh;
border-radius: var(--radius);
box-shadow: 0 20px 50px rgb(0, 0, 0, 0.5);
object-fit: contain;
margin-bottom: 1rem;
z-index: 1;
}
#fullscreen-cover-overlay.fullscreen-cover-no-round #fullscreen-cover-image {
border-radius: 0;
}
/* Enhanced drop shadow for album cover in visualizer mode */
#fullscreen-cover-overlay.visualizer-active #fullscreen-cover-image {
box-shadow:
0 25px 60px rgb(0, 0, 0, 0.6),
0 10px 30px rgb(0, 0, 0, 0.4),
0 0 100px rgb(0, 0, 0, 0.3);
}
.fullscreen-track-info {
text-align: center;
z-index: 1;
max-width: 90%;
background-color: color-mix(in srgb, var(--card) 40%, transparent);
backdrop-filter: blur(20px);
padding: 0.75rem 1.5rem;
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: 0 8px 32px rgb(0, 0, 0, 0.4);
}
#fullscreen-track-title {
font-size: 2rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--foreground);
overflow-wrap: break-word;
}
#fullscreen-track-artist {
font-size: 1.25rem;
color: color-mix(in srgb, var(--foreground), transparent 40%);
font-weight: 500;
transition:
color 0.2s,
text-decoration 0.2s;
}
#fullscreen-track-artist:hover {
color: var(--primary);
text-decoration: underline;
cursor: pointer;
}
#fullscreen-next-track {
margin-top: 1rem;
font-size: 0.9rem;
color: color-mix(in srgb, var(--foreground), transparent 40%);
display: flex;
flex-direction: column;
gap: 0.2rem;
opacity: 0;
/* Initially hidden for animation */
}
#fullscreen-next-track.animate-in {
animation: fade-in 0.5s ease 0.2s forwards;
/* Added forwards to keep opacity 1 */
}
#fullscreen-next-track .label {
text-transform: uppercase;
letter-spacing: 0.05em;
font-size: 0.75rem;
opacity: 0.8;
}
#fullscreen-next-track .value {
font-weight: 500;
color: var(--foreground);
}
.fullscreen-controls {
width: 100%;
max-width: 600px;
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
z-index: 10;
}
.fullscreen-progress-container {
display: flex;
align-items: center;
gap: 1rem;
width: 100%;
color: var(--foreground);
font-size: 0.9rem;
font-variant-numeric: tabular-nums;
}
.fullscreen-progress-container .progress-bar {
flex: 1;
height: 6px;
background: rgb(255, 255, 255, 0.2);
border-radius: var(--radius-xs);
cursor: pointer;
position: relative;
transition: height 0.2s ease;
}
.fullscreen-progress-container .progress-bar:hover {
height: 8px;
}
.fullscreen-progress-container .progress-fill {
height: 100%;
background: var(--foreground);
border-radius: var(--radius-xs);
width: 0%;
transition: width 0.1s ease;
position: relative;
pointer-events: none;
}
.fullscreen-progress-container .progress-bar:hover .progress-fill {
background: var(--highlight);
}
.fullscreen-progress-container .progress-bar:hover .progress-fill::after,
.fullscreen-progress-container .progress-bar:active .progress-fill::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background-color: var(--highlight);
border-radius: var(--radius-full);
box-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}
.fullscreen-buttons {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
}
.fullscreen-buttons button {
background: transparent;
border: none;
color: var(--foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
transition:
transform var(--transition-fast),
background-color var(--transition-fast);
}
.fullscreen-buttons button:hover {
background: rgb(255, 255, 255, 0.1);
transform: scale(1.15) rotate(0deg);
/* Slight rotation on some icons could be cool, but sticking to scale */
}
.fullscreen-buttons button:active {
transform: scale(0.95);
}
.fullscreen-buttons #fs-play-pause-btn {
width: 64px;
height: 64px;
background: var(--foreground);
color: var(--background);
border-radius: var(--radius-full);
}
.fullscreen-buttons #fs-play-pause-btn:hover {
transform: scale(1.05);
background: var(--foreground);
}
.fullscreen-buttons button.active {
color: var(--primary);
}
.fullscreen-volume-container {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-top: 1rem;
position: relative;
}
.fs-volume-btn {
background: transparent;
border: none;
color: var(--foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
width: 40px;
height: 40px;
}
.fs-volume-btn:hover {
background: rgb(255, 255, 255, 0.1);
transform: scale(1.1);
}
.fs-volume-btn.muted {
color: var(--muted-foreground);
}
.fs-volume-bar {
width: 150px;
height: 6px;
background-color: rgb(255, 255, 255, 0.2);
border-radius: var(--radius-xs);
cursor: pointer;
position: relative;
transition: height 0.2s ease;
}
.fs-volume-bar:hover {
height: 8px;
}
.fs-volume-fill {
height: 100%;
background-color: var(--foreground);
border-radius: var(--radius-xs);
width: var(--fs-volume-level, 70%);
transition: width 0.1s ease;
position: relative;
pointer-events: none;
}
.fs-volume-bar:hover .fs-volume-fill {
background-color: var(--highlight);
}
.fs-volume-bar:hover .fs-volume-fill::after,
.fs-volume-bar:active .fs-volume-fill::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background-color: var(--highlight);
border-radius: var(--radius-full);
box-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
.fullscreen-volume-container {
gap: 0.75rem;
}
.fs-volume-bar {
width: 120px;
}
}
.fullscreen-actions {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 0.75rem;
}
#queue-modal {
background-color: var(--card);
width: 90%;
max-width: 500px;
max-height: 80vh;
border-radius: var(--radius);
display: flex;
flex-direction: column;
box-shadow: var(--shadow-xl);
animation: scale-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#queue-modal-header {
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border);
}
#queue-modal-header h3 {
margin: 0;
}
#queue-modal-header #close-queue-btn {
background: transparent;
border: none;
color: var(--muted-foreground);
font-size: 1.5rem;
cursor: pointer;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
transition: all var(--transition);
}
#queue-modal-header #clear-queue-btn {
background-color: transparent;
}
#queue-modal-header #clear-queue-btn:hover,
#queue-modal-header #close-queue-btn:hover {
background-color: var(--secondary);
color: var(--foreground);
}
#queue-list {
overflow-y: auto;
padding: 0.5rem;
}
.queue-track-item {
display: grid;
grid-template-columns: 32px 1fr auto auto auto;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-sm);
border-radius: var(--radius);
cursor: grab;
transition: all var(--transition);
margin-bottom: 2px;
}
.queue-track-item .queue-like-btn {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: center;
opacity: 0.2;
}
.queue-track-item:hover .queue-like-btn {
opacity: 1;
}
.queue-track-item .queue-like-btn:hover {
background-color: rgb(var(--highlight-rgb), 0.2);
color: var(--foreground);
}
.queue-track-item .queue-like-btn.active {
color: #ef4444;
}
.queue-track-item .queue-like-btn.active svg {
fill: #ef4444;
color: #ef4444;
}
.queue-track-item:active {
cursor: grabbing;
}
.queue-track-item:hover {
background-color: var(--secondary);
}
.queue-track-item.playing {
background-color: rgb(var(--highlight-rgb), 0.15);
border-left: 3px solid var(--highlight);
padding-left: calc(var(--spacing-sm) - 3px);
}
.queue-track-item .drag-handle {
color: var(--muted-foreground);
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
}
.queue-track-item .queue-remove-btn {
background: transparent;
border: none;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: all var(--transition);
display: flex;
align-items: center;
color: var(--foreground);
justify-content: center;
flex-shrink: 0;
opacity: 0.2;
}
.queue-track-item:hover .queue-remove-btn {
opacity: 1;
}
.queue-track-item .queue-remove-btn:hover {
background-color: var(--background);
color: var(--foreground);
}
.queue-track-item .queue-remove-btn svg {
width: 20px;
height: 20px;
}
.placeholder-text {
padding: 2rem 1rem;
color: var(--muted-foreground);
}
.placeholder-text.loading {
animation: pulse 1.5s infinite ease-in-out;
}
.skeleton {
background: linear-gradient(90deg, var(--secondary) 0%, var(--muted) 50%, var(--secondary) 100%);
background-size: 200% 100%;
animation: skeleton-loading 2s infinite ease-in-out;
/* Slower, smoother pulse */
border-radius: var(--radius);
}
.skeleton-track {
display: grid;
grid-template-columns: 40px 1fr 60px 40px;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-sm) var(--spacing-md);
}
.skeleton-track.no-duration {
grid-template-columns: 40px 1fr 40px;
}
.skeleton-track.no-duration .skeleton-track-duration {
display: none;
}
.skeleton-track-number {
width: 24px;
height: 20px;
margin: 0 auto;
}
.skeleton-track-info {
display: flex;
align-items: center;
gap: var(--spacing-md);
min-width: 0;
}
.skeleton-track-cover {
width: 40px;
height: 40px;
flex-shrink: 0;
border-radius: var(--radius-sm);
}
.skeleton-track-details {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
}
.skeleton-track-title {
height: 16px;
width: 60%;
max-width: 200px;
}
.skeleton-track-artist {
height: 14px;
width: 40%;
max-width: 150px;
}
.skeleton-track-duration {
width: 40px;
height: 14px;
}
.skeleton-track-actions {
width: 24px;
height: 24px;
justify-self: flex-end;
}
.skeleton-card {
background-color: var(--card);
border-radius: var(--radius);
padding: var(--spacing-md);
}
.skeleton-card-image {
width: 100%;
aspect-ratio: 1/1;
margin-bottom: var(--spacing-md);
border-radius: calc(var(--radius) - 4px);
}
.skeleton-card.artist .skeleton-card-image {
border-radius: var(--radius-full);
}
.skeleton-card-title {
height: 18px;
width: 80%;
margin-bottom: var(--spacing-xs);
}
.skeleton-card-subtitle {
height: 14px;
width: 60%;
}
.skeleton-container {
width: 100%;
}
/* Skeleton grids for recommended sections */
#home-recommended-albums .skeleton-container,
#home-recommended-artists .skeleton-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--spacing-lg);
}
#home-recommended-songs .skeleton-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
gap: 2px var(--spacing-xl);
}
@media (max-width: 1100px) {
#home-recommended-songs .skeleton-container {
grid-template-columns: 1fr;
}
}
#api-instance-list {
list-style: none;
margin-bottom: 1rem;
}
#api-instance-list li {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
background-color: var(--secondary);
border-radius: var(--radius);
margin-bottom: 0.5rem;
}
#api-instance-list li .instance-url {
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.9rem;
}
#api-instance-list li .controls {
display: flex;
gap: 0.5rem;
}
#api-instance-list li button {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-sm);
transition:
transform var(--transition-fast),
color var(--transition-fast),
background-color var(--transition-fast);
}
#api-instance-list li button:hover {
color: var(--foreground);
background-color: var(--muted);
transform: scale(1.15);
}
#api-instance-list li button:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.theme-picker {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.theme-option {
padding: 1rem;
border: 2px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
transition: all var(--transition);
text-align: center;
font-weight: 500;
}
.theme-option:hover {
border-color: var(--highlight);
background-color: var(--secondary);
}
.theme-option.active {
border-color: var(--primary);
background-color: var(--primary);
color: var(--primary-foreground);
}
.custom-theme-editor {
margin-top: 1rem;
padding: 1rem;
background-color: var(--secondary);
border-radius: var(--radius);
display: none;
}
.custom-theme-editor.show {
display: block;
}
.theme-color-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.theme-color-input {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.theme-color-input label {
font-size: 0.9rem;
color: var(--muted-foreground);
}
.theme-color-input input[type='color'] {
width: 100%;
height: 40px;
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
}
.theme-actions {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.about-content {
padding: 2rem 0;
max-width: 800px;
margin: 0 auto;
}
.about-donate {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 2rem;
margin: 2rem 0;
text-align: center;
}
.about-donate .section-title {
margin-bottom: 1rem;
}
.donate-description {
color: var(--muted-foreground);
line-height: 1.6;
}
.about-donate .btn-secondary {
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
}
.about-description {
color: var(--foreground);
line-height: 1.8;
margin-bottom: 1.5rem;
font-size: 1.05rem;
}
.about-features,
.about-tech {
margin-bottom: 2rem;
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.5rem;
}
.about-features h4,
.about-tech h4 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--foreground);
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border);
}
.about-features ul {
list-style: none;
padding: 0;
}
.about-features li {
padding: 0.5rem 0 0.5rem 1.5rem;
position: relative;
color: var(--foreground);
line-height: 1.5;
}
.about-features li::before {
content: '✓';
position: absolute;
left: 0;
color: var(--highlight);
font-weight: bold;
transition: transform var(--transition-spring);
}
.about-features li:hover::before {
transform: scale(1.3) rotate(15deg);
}
.about-features li:hover {
color: var(--highlight);
transform: translateX(4px);
transition:
transform var(--transition-fast),
color var(--transition-fast);
}
.about-tech p {
color: var(--muted-foreground);
font-size: 0.9rem;
}
.about-links {
display: flex;
gap: 1rem;
margin: 1.5rem 0;
flex-wrap: wrap;
justify-content: center;
}
.github-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
background-color: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-weight: 500;
transition: all var(--transition);
}
.github-link:hover {
background-color: var(--secondary);
border-color: var(--highlight);
transform: translateY(-2px);
}
.github-link svg {
flex-shrink: 0;
}
.about-footer {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--border);
text-align: center;
}
.about-footer p {
margin: 0.5rem 0;
font-size: 0.9rem;
}
.about-footer .version {
color: var(--foreground);
font-weight: 600;
}
.about-footer .license {
color: var(--muted-foreground);
}
.about-footer .disclaimer {
color: var(--muted-foreground);
font-size: 0.8rem;
font-style: italic;
margin-top: 1rem;
padding: 0.75rem;
background-color: var(--secondary);
border-radius: var(--radius);
border-left: 3px solid var(--muted-foreground);
}
#download-notifications {
position: fixed;
bottom: calc(max(env(safe-area-inset-bottom), 0px) + 12px);
right: 20px;
z-index: 20000;
max-width: 350px;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.download-task {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem;
box-shadow: var(--shadow-lg);
animation: slide-in 0.3s ease;
min-width: 300px;
}
.download-cancel:hover {
background: var(--secondary) !important;
color: var(--foreground) !important;
}
#lastfm-controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.desktop-only {
display: flex;
}
#cast-btn {
position: relative;
}
#cast-btn.available {
color: var(--highlight);
}
#cast-btn.available::before {
content: '';
position: absolute;
top: 6px;
right: 6px;
width: 6px;
height: 6px;
background-color: var(--highlight);
border-radius: var(--radius-full);
animation: pulse 2s infinite;
}
#cast-btn.connected {
color: #10b981;
}
#cast-btn.connected::after {
content: '';
position: absolute;
top: 6px;
right: 6px;
width: 8px;
height: 8px;
background-color: #10b981;
border-radius: var(--radius-full);
}
#download-current-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.template-guide {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
font-size: 0.9rem;
}
.template-guide th,
.template-guide td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid var(--border);
}
.template-guide th {
font-weight: 600;
background-color: var(--secondary);
}
.template-guide code {
background-color: var(--secondary);
padding: 0.2rem 0.4rem;
border-radius: var(--radius-sm);
font-size: 0.85em;
}
.offline-notification,
.update-notification {
position: fixed;
bottom: 130px;
right: 20px;
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem;
box-shadow: var(--shadow-lg);
z-index: 10000;
display: flex;
align-items: center;
gap: 1rem;
max-width: 350px;
animation: slide-in 0.3s ease;
}
.offline-notification svg {
flex-shrink: 0;
color: #f59e0b;
}
.update-notification {
flex-direction: column;
align-items: stretch;
}
.update-notification-actions {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.75rem;
}
.update-notification-actions .btn-icon {
background: transparent;
border: 1px solid var(--border);
color: var(--muted-foreground);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
cursor: pointer;
transition: all var(--transition);
flex-shrink: 0;
}
.update-notification-actions .btn-icon:hover {
background: var(--secondary);
color: var(--foreground);
border-color: var(--foreground);
}
.close-shortcuts {
background: transparent;
border: none;
color: var(--muted-foreground);
font-size: 1.5rem;
cursor: pointer;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
transition: all var(--transition);
}
.close-shortcuts:hover {
background: var(--secondary);
color: var(--foreground);
}
.shortcuts-content {
padding: 1rem;
}
.shortcut-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 0;
border-bottom: 1px solid var(--border);
}
.shortcut-item:last-child {
border-bottom: none;
}
.customize-shortcuts-content {
padding: 1rem;
}
.shortcut-hint {
color: var(--muted-foreground);
font-size: 0.85rem;
margin-bottom: 1rem;
}
.customize-shortcut-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 0;
border-bottom: 1px solid var(--border);
}
.customize-shortcut-item:last-child {
border-bottom: none;
}
.customize-shortcut-item .shortcut-description {
flex: 1;
}
.customize-shortcut-item .shortcut-key {
display: flex;
gap: 0.25rem;
align-items: center;
}
.customize-shortcut-item kbd {
background: var(--secondary);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.25rem 0.5rem;
font-size: 0.8rem;
font-family: inherit;
min-width: 28px;
text-align: center;
}
.customize-shortcut-item kbd.recording {
background: var(--primary);
color: var(--primary-foreground);
border-color: var(--primary);
animation: pulse 1s infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.customize-shortcut-item .shortcut-btn {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 0.25rem;
margin-left: 0.5rem;
opacity: 0;
transition: opacity var(--transition);
}
.customize-shortcut-item:hover .shortcut-btn {
opacity: 1;
}
.customize-shortcut-item .shortcut-btn:hover {
color: var(--foreground);
}
.customize-shortcuts-actions {
display: flex;
justify-content: space-between;
padding: 1rem;
border-top: 1px solid var(--border);
}
.close-customize-shortcuts {
background: transparent;
border: none;
color: var(--muted-foreground);
font-size: 1.5rem;
cursor: pointer;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
transition: all var(--transition);
}
.close-customize-shortcuts:hover {
background: var(--secondary);
color: var(--foreground);
}
#playlist-detail-description,
#mix-detail-description {
color: var(--foreground);
font-size: 0.9rem;
}
#playlist-detail-tracklist {
display: flex;
flex-direction: column;
gap: 2px;
}
#playlist-detail-tracklist .track-list-header,
#mix-detail-tracklist .track-list-header {
display: grid;
grid-template-columns: 40px 1fr 3.25rem 80px auto;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-sm);
color: var(--muted-foreground);
font-size: 0.9rem;
border-bottom: 1px solid var(--border);
margin-bottom: var(--spacing-xs);
}
#playlist-detail-tracklist .track-list-header .duration-header,
#mix-detail-tracklist .track-list-header .duration-header {
justify-self: flex-end;
}
/* Responsive Design */
@supports (padding-top: env(safe-area-inset-top)) {
.now-playing-bar {
padding-bottom: max(var(--spacing-sm), env(safe-area-inset-bottom));
}
.main-content,
.sidebar {
padding-top: max(var(--spacing-md), env(safe-area-inset-top));
}
.sidebar {
padding-bottom: env(safe-area-inset-bottom);
}
.side-panel {
padding-top: env(safe-area-inset-top);
padding-bottom: env(safe-area-inset-bottom);
}
}
/* Side Panels (Lyrics & Queue) */
.side-panel {
position: fixed;
right: 0;
top: 0;
bottom: 0;
width: var(--side-panel-width, 600px);
max-width: 90vw;
background: var(--card);
border-left: 1px solid var(--border);
z-index: 2050;
display: flex;
flex-direction: column;
transform: translateX(100%);
transition:
transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 0.3s ease;
box-shadow: none;
container-type: inline-size;
container-name: sidepanel;
}
@container sidepanel (min-width: 500px) {
.panel-content am-lyrics {
--lyplus-font-size-base: 36px;
}
}
@container sidepanel (min-width: 700px) {
.panel-content am-lyrics {
--lyplus-font-size-base: 42px;
}
}
@container sidepanel (min-width: 900px) {
.panel-content am-lyrics {
--lyplus-font-size-base: 52px;
--lyplus-padding-line: 16px;
}
}
@container sidepanel (min-width: 1100px) {
.panel-content am-lyrics {
--lyplus-font-size-base: 64px;
--lyplus-padding-line: 24px;
}
}
.side-panel-resizer {
position: absolute;
left: -3px;
top: 0;
bottom: 0;
width: 6px;
cursor: ew-resize;
z-index: 10;
background: transparent;
transition: background-color 0.2s ease;
}
.side-panel-resizer:hover,
.side-panel-resizer:active {
background-color: var(--brand);
}
.side-panel.active {
transform: translateX(0);
box-shadow: var(--shadow-xl);
}
.side-panel[data-view='lyrics'],
.side-panel[data-view='queue'] {
background: color-mix(in srgb, var(--card) 60%, transparent);
backdrop-filter: blur(20px);
border-left: 1px solid rgb(255, 255, 255, 0.1);
}
.panel-header {
padding: 1rem;
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
}
.panel-header h3 {
margin: 0;
font-size: 1.25rem;
font-weight: 600;
padding-left: 0.5rem;
}
.panel-controls {
display: flex;
gap: 0.5rem;
}
/* Lyrics timing adjustment controls */
.lyrics-timing-controls {
display: flex;
align-items: center;
gap: 0.25rem;
margin-right: auto;
padding-right: 0.5rem;
border-right: 1px solid var(--border);
}
.lyrics-timing-display {
font-size: 0.875rem;
font-weight: 600;
color: var(--foreground);
min-width: 3.5rem;
text-align: center;
user-select: none;
cursor: default;
}
.lyrics-timing-controls .btn-icon {
padding: 0.4rem;
width: 28px;
height: 28px;
}
.lyrics-timing-controls .btn-icon:hover {
background: var(--secondary);
color: var(--primary);
}
.panel-content {
flex: 1;
overflow-y: auto;
padding: 1rem;
padding-bottom: calc(var(--player-bar-height-desktop) + 2rem);
scroll-behavior: smooth;
}
.btn-icon {
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: center;
}
.btn-icon:hover {
background: var(--secondary);
color: var(--foreground);
}
/* Synced lyrics styling with Apple Music animations */
.synced-line {
padding: 0.5rem 0;
font-size: 1.125rem;
line-height: 1.8;
color: var(--muted-foreground);
opacity: 0.5;
transform: scale(0.95);
filter: blur(1.5px);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.synced-line.active {
color: var(--highlight);
font-weight: 600;
font-size: 1.25rem;
opacity: 1;
transform: scale(1);
filter: blur(0);
text-shadow: 0 0 20px rgb(var(--highlight-rgb), 0.3);
}
.synced-line.upcoming {
opacity: 0.7;
transform: scale(0.98);
filter: blur(0.8px);
}
.synced-line.past {
opacity: 0.3;
transform: scale(0.93);
filter: blur(2px);
}
.lyrics-loading,
.lyrics-error {
text-align: center;
padding: 2rem;
color: var(--muted-foreground);
}
/* Compact Cards (Artist and Album) */
.card.compact {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.75rem;
padding: 0.5rem;
min-height: 60px;
}
.card.compact .card-image-wrapper {
width: 48px;
height: 48px;
margin-bottom: 0;
flex-shrink: 0;
}
.card.artist.compact .card-image-wrapper {
width: 40px;
height: 40px;
}
.card.compact .card-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.card.compact .card-title {
margin: 0;
font-size: 0.9rem;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card.compact .card-subtitle {
margin: 0;
font-size: 0.8rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--muted-foreground);
}
/* Compact Card Play Button */
.card.compact .card-play-btn {
right: 0.5rem;
top: 25%;
width: 36px !important;
height: 36px !important;
background-color: var(--primary) !important;
color: var(--primary-foreground) !important;
box-shadow: var(--shadow-md);
transition: opacity 0.2s ease;
}
/* Hide play button initially on desktop (hover capable), show on hover */
/* Adjust like button for compact size */
.card.compact .card-like-btn {
width: 24px !important;
height: 24px !important;
top: 0;
right: 0;
}
.card.compact:hover .card-like-btn {
opacity: 1;
}
.card.compact.user-playlist .edit-playlist-btn,
.card.compact.user-playlist .delete-playlist-btn {
display: none !important;
/* Hide edit/delete on compact view to prevent covering image */
}
/* Mobile adjustments */
/* Clickable album cover indicator */
.now-playing-bar .cover {
cursor: pointer;
transition: all var(--transition);
position: relative;
}
.now-playing-bar .cover:hover {
transform: scale(1.05);
}
.now-playing-bar .cover::after {
content: '🎵';
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgb(0, 0, 0, 0.7);
opacity: 0;
transition: opacity var(--transition);
font-size: 1.5rem;
}
.now-playing-bar .cover:hover::after {
opacity: 1;
}
/* Window Controls Overlay */
.now-playing-bar .artist .artist-link {
cursor: pointer;
transition: color var(--transition);
}
.now-playing-bar .artist .artist-link:hover {
color: var(--highlight);
text-decoration: underline;
}
.track-item .artist .artist-link {
cursor: pointer;
transition: color var(--transition);
}
.track-item .artist .artist-link:hover {
color: var(--highlight);
text-decoration: underline;
}
/* Updated Volume Controls Layout */
.player-actions-row {
display: flex;
align-items: center;
gap: 0.75rem;
}
.volume-slider-row {
display: flex;
align-items: center;
gap: 0.75rem;
}
/* Ensure buttons in rows behave correctly */
.player-actions-row button,
.volume-slider-row button {
display: flex;
align-items: center;
justify-content: center;
}
/* Show a grey box for images with no source, hiding the broken icon */
img:not([src]),
img[src=''] {
content: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
background-color: var(--muted);
}
/* Card Play Button */
.card-play-btn {
position: absolute;
bottom: 2%;
right: 2%;
background: var(--highlight) !important;
border-radius: 50% !important;
width: 42px !important;
height: 42px !important;
padding: 0 !important;
display: flex !important;
align-items: center;
justify-content: center;
opacity: 0;
transform: translateY(10px);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
z-index: 20;
color: var(--background) !important;
border: none !important;
box-shadow: var(--shadow-md);
}
.card:hover .card-play-btn {
opacity: 1;
transform: translateY(0);
}
.card-play-btn:hover {
transform: scale(1.1) translateY(0) !important;
box-shadow: var(--shadow-lg);
filter: brightness(1.1);
}
.appwrite-settings-wrapper {
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 100%;
max-width: 400px;
}
.custom-appwrite-endpoint,
.custom-appwrite-project {
display: none;
flex-direction: column;
gap: 0.5rem;
margin-top: 0.5rem;
width: 100%;
}
.custom-appwrite-endpoint.visible,
.custom-appwrite-project.visible {
display: flex;
}
.config-help-text {
font-size: 0.8rem;
opacity: 0.7;
margin-bottom: 0.25rem;
}
.appwrite-controls-container {
display: flex;
gap: 0.5rem;
width: 100%;
}
#toggle-auth-config-btn {
width: fit-content;
}
.account-content {
padding: 1rem 0;
}
.fullscreen-main-view {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6rem 2rem 2rem;
overflow-y: auto;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-cover-content {
align-items: stretch;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-main-view {
justify-content: flex-end;
align-items: center;
width: 100%;
padding: 2rem 2rem max(1.5rem, env(safe-area-inset-bottom));
pointer-events: none;
background: linear-gradient(to top, rgb(0, 0, 0, 0.6) 0%, rgb(0, 0, 0, 0.2) 15%, transparent 40%);
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-track-info {
text-align: center;
background: none !important;
backdrop-filter: none !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
max-width: min(500px, 90vw);
margin: 0;
pointer-events: auto;
}
#fullscreen-cover-overlay.is-video-mode #fullscreen-track-title {
font-size: 1.1rem;
font-weight: 600;
text-shadow: 0 1px 3px rgb(0, 0, 0, 0.8);
margin-bottom: 0.1rem;
}
#fullscreen-cover-overlay.is-video-mode #fullscreen-track-artist {
font-size: 0.9rem;
text-shadow: 0 1px 2px rgb(0, 0, 0, 0.8);
opacity: 0.7;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-controls {
position: relative;
bottom: auto;
left: auto;
right: auto;
width: 100%;
max-width: 500px;
margin: 0.75rem auto 0;
background: transparent;
backdrop-filter: none;
padding: 0.6rem 1rem;
border-radius: 10px;
border: none;
box-shadow: none;
transition:
transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.4s ease;
pointer-events: auto;
z-index: 100;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-buttons {
gap: 1.25rem;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-buttons button {
width: 28px;
height: 28px;
padding: 0.25rem;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-buttons button svg {
width: 18px;
height: 18px;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-buttons #fs-play-pause-btn {
width: 40px;
height: 40px;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-progress-container {
gap: 0.75rem;
font-size: 0.75rem;
}
#fullscreen-cover-overlay.is-video-mode .fullscreen-volume-container {
display: none;
}
#fullscreen-cover-overlay.is-video-mode .fs-quality-btn {
display: flex !important;
width: 28px;
height: 28px;
padding: 0.25rem;
}
#fullscreen-cover-overlay.is-video-mode .fs-quality-btn svg {
width: 18px;
height: 18px;
}
#fullscreen-cover-overlay.is-video-mode .fs-quality-label {
display: none;
}
.fs-quality-btn {
background: transparent;
border: none;
color: white;
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
font-size: 0.75rem;
display: flex;
align-items: center;
gap: 4px;
opacity: 0.7;
transition: opacity 0.2s;
position: relative;
}
.fs-quality-btn:hover {
opacity: 1;
background: rgb(255, 255, 255, 0.1);
}
.fullscreen-volume-container {
position: relative;
}
.fs-quality-menu {
position: absolute;
bottom: 100%;
right: 0;
background: rgb(20, 20, 20);
border: 1px solid rgb(255, 255, 255, 0.1);
border-radius: 8px;
padding: 4px;
min-width: 120px;
box-shadow: 0 4px 20px rgb(0, 0, 0, 0.5);
z-index: 1000;
margin-bottom: 8px;
}
.fs-quality-option {
display: block;
width: 100%;
padding: 8px 12px;
border: none;
background: transparent;
color: white;
text-align: left;
cursor: pointer;
font-size: 0.85rem;
border-radius: 4px;
transition: background 0.2s;
}
.fs-quality-option:hover {
background: rgb(255, 255, 255, 0.1);
}
.fs-quality-option.active {
background: var(--primary);
color: white;
}
#fullscreen-cover-overlay.ui-hidden .fullscreen-main-view,
#fullscreen-cover-overlay.ui-hidden .fullscreen-controls,
#fullscreen-cover-overlay.ui-hidden #fullscreen-next-track,
#fullscreen-cover-overlay.ui-hidden .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay.ui-hidden #close-fullscreen-cover-btn {
opacity: 0;
pointer-events: none;
transform: translateY(20px);
}
#fullscreen-cover-overlay.is-video-mode.ui-hidden .fullscreen-controls {
transform: translateY(100px);
}
#fullscreen-cover-overlay.is-video-mode.ui-hidden .fullscreen-main-view {
transform: translateY(0);
}
/* Modals */
.modal {
position: fixed;
inset: 0;
z-index: 10000;
display: none;
align-items: center;
justify-content: center;
}
.modal.active {
display: flex;
backdrop-filter: blur(4px);
background: rgb(0, 0, 0, 0.6);
transition: opacity var(--transition-normal);
}
.modal-overlay {
position: fixed;
inset: 0;
background: rgb(0, 0, 0, 0.7);
backdrop-filter: blur(4px);
z-index: -1;
}
.modal-content {
background: var(--card);
padding: 2rem;
border: 1px solid var(--border);
border-radius: var(--radius);
max-width: 400px;
width: 90%;
box-shadow: var(--shadow-xl);
animation: scale-in 0.2s ease;
max-height: 90vh;
overflow-y: auto;
}
.modal-content.wide {
max-width: 600px;
}
.modal-content.extra-wide {
max-width: 1000px;
}
.modal-content.medium {
max-width: 500px;
}
.email-auth-modal-content {
padding: 1.5rem;
}
.email-auth-modal-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.25rem;
}
.email-auth-modal-header h3 {
margin: 0;
font-size: 1.1rem;
font-weight: 600;
}
.email-auth-modal-close {
flex-shrink: 0;
}
.email-auth-input {
width: 100%;
margin-bottom: 0.65rem;
}
.email-auth-password-block {
margin-bottom: 0.65rem;
}
.email-auth-password-block .email-auth-input {
margin-bottom: 0;
}
.email-auth-actions {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-top: 1.25rem;
}
.email-auth-actions .email-auth-submit {
width: 100%;
min-height: 2.75rem;
padding: 0.75rem 1.5rem;
border-radius: var(--radius-md);
font-size: 0.95rem;
font-weight: 600;
box-sizing: border-box;
}
.email-auth-actions .btn-primary.email-auth-submit {
border: 1px solid var(--primary);
}
.email-auth-actions .btn-secondary.email-auth-submit {
border: 1px solid var(--border);
background-color: var(--secondary);
color: var(--foreground);
}
.email-auth-forgot-link {
display: block;
width: fit-content;
max-width: 100%;
margin-top: 0.35rem;
margin-left: 0;
padding: 0;
background: none;
border: none;
color: var(--muted-foreground);
font-size: 0.8125rem;
text-align: left;
text-decoration: underline;
cursor: pointer;
}
.email-auth-forgot-link:hover {
color: var(--foreground);
}
#page-library .library-header {
margin-bottom: var(--spacing-xl);
}
#page-library .library-header h2 {
margin: 0;
}
#page-library #my-playlists-container {
margin-bottom: var(--spacing-lg);
}
#page-library #my-playlists-container .library-create-dashed-card {
order: 1;
}
#page-library .library-create-dashed-card {
display: block;
width: 100%;
min-width: 0;
padding: var(--spacing-md);
margin: 0;
text-align: left;
font: inherit;
color: inherit;
cursor: pointer;
border: 1px solid transparent;
background-color: var(--card);
-webkit-tap-highlight-color: transparent;
}
#page-library .library-create-dashed-art {
position: relative;
margin-bottom: var(--spacing-md);
border-radius: var(--radius);
overflow: hidden;
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
border: 2px dashed var(--border);
background: var(--secondary);
box-shadow: var(--shadow-md);
transition:
border-color var(--transition-fast),
box-shadow var(--transition-normal);
}
#page-library .library-create-dashed-card:hover .library-create-dashed-art {
border-color: var(--highlight);
box-shadow: var(--shadow-xl);
}
#page-library .library-create-dashed-card .card-info {
padding: 0;
}
#page-library .library-create-dashed-card .card-title {
margin-bottom: 0;
}
.library-liked-tracks-toolbar {
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-md);
}
.library-liked-search.track-list-search-container {
width: 100%;
}
.library-liked-tracks-toolbar-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
}
.library-liked-tracks-toolbar-actions .btn-secondary {
display: flex;
}
.library-liked-view-btn.active {
color: var(--highlight);
background: rgb(var(--highlight-rgb) / 0.12);
}
@media (min-width: 720px) {
.library-liked-tracks-toolbar {
flex-direction: row;
align-items: center;
}
.library-liked-search.track-list-search-container {
flex: 1;
min-width: 200px;
max-width: 420px;
}
}
.modal-list {
margin: 1rem 0;
max-height: 200px;
overflow-y: auto;
}
.modal-option {
padding: 0.75rem;
cursor: pointer;
border-bottom: 1px solid var(--border);
transition: background 0.2s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-option:hover {
background: var(--secondary);
}
.modal-option.already-contains {
opacity: 0.6;
cursor: default;
}
.modal-option.already-contains:hover {
background: transparent;
}
.modal-option .checkmark {
color: var(--highlight);
flex-shrink: 0;
}
.modal-option:last-child {
border-bottom: none;
}
.modal-actions {
display: flex;
gap: 0.5rem;
justify-content: flex-end;
margin-top: 1.5rem;
}
.timer-options {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.timer-option {
text-align: center;
}
#playlist-modal {
animation: fade-in 0.1s ease-in;
}
/* fuck this chud ass shit bro */
.csv-import-progress {
position: fixed;
bottom: 120px;
right: 3%;
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.5rem;
box-shadow: var(--shadow-xl);
z-index: 10001;
max-width: 400px;
min-width: 350px;
animation: slide-in 0.3s ease;
}
.csv-import-progress .progress-header {
margin-bottom: 1rem;
}
.csv-import-progress .progress-header h4 {
margin: 0 0 0.5rem;
font-size: 1.1rem;
font-weight: 600;
color: var(--foreground);
}
.csv-import-progress .progress-warning {
font-size: 0.85rem;
color: var(--muted-foreground);
line-height: 1.4;
}
.csv-import-progress .progress-content {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.csv-import-progress .current-track {
font-size: 0.9rem;
color: var(--foreground);
font-weight: 500;
min-height: 1.2rem;
}
.csv-import-progress .progress-bar {
width: 100%;
height: 8px;
background: var(--secondary);
border-radius: var(--radius-sm);
overflow: hidden;
position: relative;
}
.csv-import-progress .progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--highlight));
border-radius: var(--radius-sm);
width: 0%;
transition: width 0.3s ease;
position: relative;
}
.csv-import-progress .progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(90deg, transparent 0%, rgb(255, 255, 255, 0.3) 50%, transparent 100%);
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
.csv-import-progress .progress-text {
font-size: 0.85rem;
color: var(--muted-foreground);
text-align: center;
}
.csv-import-progress .progress-text span {
font-weight: 600;
color: var(--foreground);
}
.missing-tracks-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 2rem 1.5rem;
border-bottom: 1px solid var(--border);
}
.missing-tracks-header h3 {
margin: 0;
font-size: 1.5rem;
font-weight: 700;
color: var(--foreground);
letter-spacing: -0.025em;
}
.close-missing-tracks {
background: transparent;
border: none;
color: var(--muted-foreground);
font-size: 1.5rem;
cursor: pointer;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
transition: all var(--transition);
}
.close-missing-tracks:hover {
background: var(--secondary);
color: var(--foreground);
}
.missing-tracks-content {
padding: 2rem;
}
.missing-tracks-content p {
margin-bottom: 2rem;
line-height: 1.7;
color: var(--foreground);
font-size: 1rem;
font-weight: 400;
}
.missing-tracks-list h4 {
margin-bottom: 1rem;
font-size: 1.1rem;
font-weight: 600;
color: var(--foreground);
letter-spacing: -0.01em;
}
.missing-tracks-list ul {
list-style: none;
padding: 0;
max-height: 400px;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--secondary);
}
.missing-tracks-list li {
padding: 0.75rem 1.25rem;
border-bottom: 1px solid var(--border);
color: var(--foreground);
font-size: 0.95rem;
font-weight: 400;
line-height: 1.4;
}
.missing-tracks-list li:last-child {
border-bottom: none;
}
.missing-tracks-list li:nth-child(even) {
background: rgb(255, 255, 255, 0.02);
}
.missing-tracks-actions {
padding: 1.5rem 2rem 2rem;
border-top: 1px solid var(--border);
display: flex;
justify-content: flex-end;
gap: 0.75rem;
flex-wrap: wrap;
}
.missing-tracks-actions .btn-secondary {
min-width: 100px;
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
font-weight: 500;
}
/* Default responsive classes */
.mobile-only {
display: none !important;
}
/* Mobile-specific overrides */
@media (max-width: 768px) {
.mobile-only {
display: flex !important;
}
.desktop-only {
display: none !important;
}
/* position the cast button on mobile to the bottom right cuz damn shit already cluttered */
#cast-btn {
position: absolute !important;
bottom: 10px !important;
right: 10px !important;
z-index: 10 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
width: 24px !important;
height: 24px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: none !important;
padding: 0 !important;
}
#cast-btn:hover {
background: transparent !important;
transform: none !important;
}
#cast-btn svg {
width: 20px !important;
height: 20px !important;
}
.now-playing-bar .player-controls {
position: relative !important;
padding-bottom: 50px !important;
}
.player-controls.waveform-loaded {
gap: 0;
}
}
/* --- Responsive & Media Queries --- */
@media (min-width: 1440px) {
.card-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}
@media (min-width: 1920px) {
.card-grid {
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
}
@media (min-width: 769px) and (max-width: 1024px) {
.now-playing-bar {
grid-template-columns: minmax(150px, 1fr) 1fr auto;
gap: var(--spacing-md);
padding: var(--spacing-md);
}
.volume-controls {
display: flex;
}
.desktop-only {
display: flex;
}
}
@media (max-width: 1024px) {
.app-container {
grid-template-columns: 160px 1fr;
}
.card-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: var(--spacing-md);
}
.detail-header-info .title {
font-size: 3rem;
}
.detail-header-info .title.long-title {
font-size: 2rem;
}
.detail-header-info .title.very-long-title {
font-size: 1.35rem;
}
.main-content {
padding: var(--spacing-lg);
}
.now-playing-bar {
width: calc(96% - 160px) !important;
left: calc(160px + 2%);
}
}
@media (max-width: 768px) {
html,
body {
height: auto;
min-height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
body {
position: static;
}
.player-controls .progress-container {
order: -1;
max-width: none;
font-size: 0.75rem;
gap: 0.5rem;
}
#fullscreen-cover-overlay {
padding-bottom: 0;
}
#fullscreen-cover-image {
max-height: 45vh;
/* Reduce height on mobile to fit text */
margin-bottom: 1.5rem;
}
.fullscreen-main-view {
padding-top: 4rem;
}
#fullscreen-track-title {
font-size: 1.5rem;
}
#fullscreen-track-artist {
font-size: 1rem;
}
.app-container {
grid-template:
'header' auto
'main' 1fr
'player' auto / 1fr;
height: auto;
min-height: 100vh;
min-height: 100dvh;
}
.main-content {
padding: var(--spacing-md);
grid-area: main;
overflow-y: visible;
overflow-x: hidden;
min-width: 0;
}
.main-header {
grid-area: header;
margin-bottom: var(--spacing-md);
padding-top: env(safe-area-inset-top);
}
.sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
transform: translateX(-100%);
z-index: 2200;
transition:
transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 0.3s ease;
}
.sidebar.is-open {
transform: translateX(0);
box-shadow: 0 0 20px rgb(0, 0, 0, 0.5);
}
.hamburger-menu {
display: block;
}
#sidebar-overlay.is-visible {
display: block;
}
.search-bar {
max-width: none;
width: auto;
}
.content-section {
margin-bottom: var(--spacing-xl);
max-width: 100%;
overflow-x: hidden;
}
.section-title {
font-size: 1.5rem;
margin-bottom: var(--spacing-md);
}
.card-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: var(--spacing-md);
}
/* Fix library page layout on mobile */
#page-library .search-tabs {
flex-wrap: wrap;
}
#page-library .library-header {
flex-wrap: wrap;
}
#page-library .library-create-dashed-card {
margin: 0 !important;
}
.detail-header {
flex-direction: row;
gap: var(--spacing-md);
padding-bottom: var(--spacing-sm);
margin-bottom: var(--spacing-lg);
}
.detail-header-image {
width: 120px;
height: 120px;
}
.detail-header-collage {
width: 120px;
height: 120px;
}
.detail-header-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.detail-header-info .title {
font-size: 1.5rem;
line-height: 1.2;
}
.detail-header-info .title.long-title {
font-size: 1.35rem;
}
.detail-header-info .title.very-long-title {
font-size: 1.25rem;
}
.detail-header-info .meta {
font-size: 0.85rem;
gap: 0.35rem;
margin-top: 0.25em;
}
.detail-header-actions {
margin-top: 0.5em;
}
.now-playing-bar {
grid-template:
'track controls' auto
'progress progress' auto / 1fr auto;
gap: var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-md);
height: var(--player-bar-height-mobile);
}
.now-playing-bar .track-info {
grid-area: track;
min-width: 0;
}
.track-info {
gap: var(--spacing-sm);
}
.track-info .cover {
width: 48px;
height: 48px;
}
.track-info .details {
min-width: 0;
flex: 1;
}
.track-info .details .title {
font-size: 0.9rem;
}
.track-info .details .artist {
font-size: 0.75rem;
}
.now-playing-bar .volume-controls {
grid-area: controls;
display: flex;
gap: 0.25rem;
justify-content: flex-end;
}
.now-playing-bar .player-controls {
grid-area: progress;
width: 100%;
}
.player-controls .buttons {
justify-content: center;
gap: var(--spacing-lg);
padding: 0 15%;
}
.player-controls .buttons button {
width: 28px;
height: 28px;
}
.player-controls .buttons .play-pause-btn {
width: 32px;
height: 32px;
}
.desktop-only {
display: none !important;
}
.volume-controls button:not(.desktop-only) {
display: flex;
}
#download-notifications {
bottom: calc(max(env(safe-area-inset-bottom), 0px) + 10px);
right: 10px;
left: 10px;
max-width: none;
}
.track-menu-btn {
opacity: 1;
}
.about-links {
flex-direction: column;
}
.github-link {
width: 100%;
justify-content: center;
}
.setting-item {
flex-direction: column;
align-items: flex-start;
gap: var(--spacing-md);
}
.setting-item:has(.toggle-switch) {
flex-direction: row;
align-items: center;
width: 100%;
}
.setting-item:has(.toggle-switch) .info {
width: auto;
flex: 1;
min-width: 0;
}
.setting-item:has(.toggle-switch) .label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.setting-item:has(.toggle-switch) .description {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.setting-item:has(.toggle-switch) .toggle-switch {
margin-left: auto;
}
.setting-item .info {
width: 100%;
}
.template-input {
max-width: none;
font-size: 0.85rem;
}
.track-item {
grid-template-columns: 36px 1fr auto auto;
gap: var(--spacing-sm);
padding: var(--spacing-sm);
}
.track-item.track-item--inline-like {
grid-template-columns: 36px minmax(0, 1fr) auto minmax(2.5rem, auto) auto;
}
.track-item-info {
gap: var(--spacing-sm);
min-width: 0;
overflow: hidden;
}
.track-item-cover {
width: 36px;
height: 36px;
}
.track-item-details {
min-width: 0;
overflow: hidden;
}
.track-item-duration {
text-align: right;
white-space: nowrap;
}
.track-menu-btn svg {
width: 18px;
height: 18px;
}
.track-action-btn {
padding: 0.25rem;
}
.queue-track-item {
grid-template-columns: 24px 1fr 40px 32px 32px;
gap: var(--spacing-sm);
padding: var(--spacing-sm);
}
.queue-track-item .drag-handle {
width: 24px;
}
.queue-track-item .drag-handle svg {
width: 14px;
height: 14px;
}
.queue-track-item .track-item-cover {
width: 36px;
height: 36px;
}
.queue-track-item .queue-like-btn,
.queue-track-item .queue-remove-btn {
padding: 0.5rem;
width: 32px;
height: 32px;
}
.sidebar-nav .nav-item a {
padding: 1rem 0.75rem;
}
.offline-notification,
.update-notification {
left: 10px;
right: 10px;
max-width: none;
bottom: 10px;
}
.side-panel {
width: 100vw;
max-width: 100vw;
bottom: 0;
}
.side-panel-resizer {
display: none;
}
.panel-content {
padding-bottom: calc(var(--player-bar-height-mobile) + 2rem);
}
.synced-line {
font-size: 1rem;
}
.synced-line.active {
font-size: 1.125rem;
}
.karaoke-title {
font-size: 1.5rem;
}
.karaoke-artist {
font-size: 1rem;
}
.karaoke-line {
font-size: 1.25rem;
}
.karaoke-line.active {
font-size: 1.75rem;
}
.fullscreen-cover-content {
flex-direction: column;
}
.csv-import-progress {
bottom: 145px;
right: 10px;
left: 10px;
max-width: none;
min-width: 0;
}
.missing-tracks-modal {
width: 95%;
max-height: 90vh;
margin: 1rem;
}
.missing-tracks-header,
.missing-tracks-content,
.missing-tracks-actions {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.missing-tracks-header {
padding-top: 1.5rem;
padding-bottom: 1rem;
}
.missing-tracks-content {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.missing-tracks-actions {
padding-top: 1rem;
padding-bottom: 1.5rem;
}
.missing-tracks-list ul {
max-height: 250px;
}
.missing-tracks-header h3 {
font-size: 1.25rem;
}
.missing-tracks-content p {
font-size: 0.95rem;
}
.missing-tracks-list li {
padding: 0.625rem 1rem;
font-size: 0.9rem;
}
.mobile-only {
display: flex !important;
}
}
@media (max-width: 480px) {
.card-grid {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: var(--spacing-sm);
}
.section-title {
font-size: 1.25rem;
}
/* Fix library page horizontal scrolling */
#page-library .search-tabs {
flex-wrap: wrap;
gap: var(--spacing-xs);
}
#page-library .search-tab {
padding: var(--spacing-xs) var(--spacing-sm);
font-size: 0.85rem;
flex: 1;
min-width: auto;
white-space: nowrap;
}
#page-library .library-header {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-sm);
align-items: center;
}
#page-library .library-header h2 {
width: 100%;
margin-bottom: var(--spacing-sm);
}
#page-library .library-create-dashed-card {
margin: 0 !important;
}
.detail-header-info .title {
font-size: 1.25rem;
}
.detail-header-info .title.long-title {
font-size: 1.1rem;
}
.detail-header-info .title.very-long-title {
font-size: 0.9rem;
}
.search-tab {
padding: var(--spacing-sm) var(--spacing-md);
font-size: 0.9rem;
}
.player-controls .buttons {
gap: 0.25rem;
}
.player-controls .buttons button {
width: 24px;
height: 24px;
}
.player-controls .buttons button svg {
width: 16px;
height: 16px;
}
.player-controls .buttons .play-pause-btn {
width: 28px;
height: 28px;
}
.player-controls .buttons .play-pause-btn svg {
width: 18px;
height: 18px;
}
.volume-controls button {
padding: 0.25rem;
min-width: 28px;
min-height: 28px;
}
.volume-controls button svg {
width: 16px;
height: 16px;
}
.track-item {
grid-template-columns: 32px 1fr 40px auto;
gap: 0.375rem;
padding: var(--spacing-xs);
}
.track-item.track-item--inline-like {
grid-template-columns: 32px minmax(0, 1fr) auto minmax(2.25rem, auto) auto;
}
.track-number {
width: 32px;
}
.track-item-cover {
width: 32px;
height: 32px;
}
.track-item-details .title {
font-size: 0.85rem;
}
.track-item-details .artist {
font-size: 0.75rem;
}
.track-item-duration {
font-size: 0.75rem;
}
.track-menu-btn {
padding: 0.25rem;
}
.track-menu-btn svg {
width: 16px;
height: 16px;
}
.queue-track-item {
grid-template-columns: 20px 1fr 36px 32px 32px;
gap: 0.375rem;
padding: 0.5rem;
}
.queue-track-item .drag-handle {
width: 20px;
}
.queue-track-item .track-item-cover {
width: 32px;
height: 32px;
}
.queue-track-item .queue-like-btn,
.queue-track-item .queue-remove-btn {
width: 32px;
height: 32px;
}
[data-track-actions-mode='inline'] .track-actions-inline .track-action-btn:not([data-action='play-next']) {
display: none;
}
.player-actions-row {
gap: 0.25rem;
}
}
@media (max-width: 360px) {
.player-controls .buttons {
justify-content: space-between;
width: 100%;
}
#shuffle-btn,
#repeat-btn {
display: none;
}
}
/* stylelint-disable-next-line media-feature-name-value-no-unknown */
@media (display-mode: window-controls-overlay) {
.app-container {
margin-top: env(titlebar-area-height, 0);
}
.main-header {
-webkit-app-region: drag;
}
.main-header * {
-webkit-app-region: no-drag;
}
.sidebar {
padding-top: max(1.5rem, env(titlebar-area-height, 0));
}
}
@media (hover: hover) {
.card.compact .card-play-btn {
opacity: 0;
}
.card.compact:hover .card-play-btn {
opacity: 1;
}
}
@media (hover: none) {
.track-menu-btn {
opacity: 1;
}
.track-actions-inline {
opacity: 1;
}
.queue-track-item .queue-remove-btn {
opacity: 1;
}
/* Hide like button on compact cards on mobile */
.card.compact .card-like-btn {
display: none !important;
}
}
@media (hover: none) and (pointer: coarse) {
/* Allow play button to float outside square cover on mobile */
.card-image-wrapper {
overflow: visible;
}
.card:not(.artist) .card-image-wrapper .card-image,
.card:not(.artist) .card-image-wrapper .card-collage {
clip-path: inset(0 round var(--radius));
}
.main-content {
padding: var(--spacing-sm);
grid-area: main;
overflow-x: hidden;
min-width: 0;
}
.progress-bar:not(.waveform-loaded),
.volume-bar {
height: 8px;
}
.progress-bar .progress-fill::after,
.volume-bar .volume-fill::after {
content: '';
position: absolute;
right: -8px;
top: 50%;
transform: translateY(-50%);
width: 16px;
height: 16px;
background-color: var(--highlight);
border-radius: var(--radius-full);
box-shadow: 0 2px 6px rgb(0, 0, 0, 0.3);
}
button {
min-height: 36px;
min-width: 36px;
}
.track-item {
grid-template-columns: 32px 1fr 32px auto;
}
.track-item.track-item--inline-like {
grid-template-columns: 32px minmax(0, 1fr) auto minmax(2.25rem, auto) auto;
}
.player-controls .buttons button {
min-height: 36px;
min-width: 36px;
}
.card:hover {
transform: none !important;
}
.card-like-btn {
opacity: 1 !important;
top: -0.25em !important;
right: -0.25em !important;
transform: none !important;
}
.card-play-btn {
opacity: 1 !important;
bottom: -0.25em !important;
right: -0.25em !important;
transform: none !important;
}
}
body:has(#fullscreen-cover-overlay:not([style*='display: none'])) .now-playing-bar {
width: 96% !important;
left: 2% !important;
}
@media (max-width: 768px) {
.now-playing-bar {
width: 96% !important;
left: 2%;
}
}
/* Custom Tooltip */
#custom-tooltip {
position: fixed;
background: var(--card);
color: var(--card-foreground);
padding: 0.5rem 0.75rem;
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: var(--shadow-lg);
font-size: 0.85rem;
pointer-events: none;
z-index: 10000;
opacity: 0;
transition: opacity 0.1s ease;
white-space: nowrap;
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
will-change: transform, opacity;
}
/* Genius i love genius brah!! */
.genius-annotation-modal {
position: fixed;
inset: 0;
z-index: 10002;
display: flex;
align-items: center;
justify-content: center;
background: rgb(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
animation: fade-in 0.2s ease;
}
.genius-annotation-modal .genius-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #ffff64;
}
.genius-annotation-modal .genius-line {
font-style: italic;
color: #ffff64;
font-weight: 600;
margin-right: 1rem;
}
.genius-annotation-modal .close-genius {
background: none;
border: none;
color: var(--foreground);
font-size: 1.5rem;
cursor: pointer;
line-height: 1;
}
.genius-modal-content {
background: var(--card);
padding: 1.5rem;
border-radius: var(--radius);
max-width: 500px;
width: 90%;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: var(--shadow-xl);
border: 1px solid var(--border);
}
.genius-annotation-modal .genius-body {
overflow-y: auto;
}
.annotation-item {
margin-bottom: 1.5rem;
}
.annotation-fragment {
font-size: 0.8rem;
color: var(--muted-foreground);
margin-bottom: 0.5rem;
}
.annotation-text {
line-height: 1.6;
}
.active-genius svg path:first-child {
fill: #ffff64;
}
.genius-annotated {
background-color: rgb(255, 255, 100, 0.1);
cursor: pointer;
border-radius: var(--radius-sm);
transition: background-color 0.2s;
}
.genius-annotated:hover {
background-color: rgb(255, 255, 100, 0.2);
}
.genius-multi-start {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.genius-multi-mid {
border-radius: 0;
}
.genius-multi-end {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
@media (min-width: 769px) {
body.sidebar-collapsed .app-container {
grid-template-columns: 80px 1fr;
}
body.sidebar-collapsed .sidebar-logo span {
display: none;
}
body.sidebar-collapsed .sidebar-nav span {
display: none;
}
body.sidebar-collapsed .sidebar-logo {
justify-content: center;
flex-direction: column;
gap: 10px;
}
body.sidebar-collapsed .sidebar-nav .nav-item a {
justify-content: center;
padding: 0.75rem 0;
}
body.sidebar-collapsed .pinned-items-header {
display: none;
}
body.sidebar-collapsed #pinned-items-list .nav-item a .pinned-item-name {
display: none;
}
body.sidebar-collapsed #pinned-items-list .nav-item a {
justify-content: center;
}
body.sidebar-collapsed .now-playing-bar {
width: calc(96% - 80px) !important;
left: calc(80px + 2%);
}
body.sidebar-collapsed #sidebar-toggle {
margin-left: 0 !important;
}
}
#page-track .detail-header {
flex-direction: column;
align-items: center;
text-align: center;
padding: 4rem 2rem;
gap: 2rem;
}
#page-track .detail-header-image {
width: 350px;
height: 350px;
box-shadow: 0 30px 60px rgb(0, 0, 0, 0.5);
}
#page-track .detail-header-info {
align-items: center;
width: 100%;
}
#page-track .detail-header-info .title {
justify-content: center;
text-align: center;
font-size: 3.5rem;
margin-bottom: 0.5rem;
}
#page-track .detail-header-info .meta {
justify-content: center;
font-size: 1.1rem;
opacity: 0.8;
}
#page-track .detail-header-actions {
justify-content: center;
margin-top: 2rem;
}
#page-track .section-title {
text-align: center;
}
@media (max-width: 768px) {
#page-track .detail-header {
padding: 2rem 1rem;
}
#page-track .detail-header-image {
width: 200px;
height: 200px;
}
#page-track .detail-header-info .title {
font-size: 1.75rem;
}
}
.tracker-modal .track-item.loading {
opacity: 0.7;
pointer-events: none;
}
.tracker-modal .track-item.loading .track-number {
color: var(--highlight);
}
@media (max-width: 768px) {
.tracker-modal .modal-content {
height: 90vh !important;
max-height: 90vh !important;
padding: 1rem !important;
}
.tracker-modal .detail-header {
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.5rem;
margin-bottom: 0.5rem !important;
}
.tracker-modal .detail-header-image {
width: 80px !important;
height: 80px !important;
}
.tracker-modal .detail-header-info .title {
font-size: 1.25rem !important;
margin-bottom: 0.25rem;
}
.tracker-modal .detail-header-info .meta {
max-height: 60px;
overflow-y: auto;
display: block;
font-size: 0.85rem;
}
.tracker-modal .detail-header-actions .btn-secondary {
width: auto !important;
height: auto !important;
padding: 0.5rem 1.5rem !important;
border-radius: 2rem !important;
}
#tracker-filters {
padding: 0 0 0.5rem !important;
justify-content: center;
}
}
@media (max-width: 768px) {
.tracker-modal .detail-header {
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.75rem;
}
.tracker-modal .detail-header-image {
width: 100px !important;
height: 100px !important;
}
.tracker-modal .detail-header-info .title {
font-size: 1.5rem !important;
}
.tracker-modal .detail-header-info .meta {
max-height: 80px;
overflow-y: auto;
display: block;
}
}
/* Fullscreen layout shift when side panel is active */
body:has(#side-panel.active) .fullscreen-main-view {
transition:
flex 0.3s ease,
padding-right 0.3s ease,
margin-right 0.3s ease;
padding-right: 600px;
}
body:has(#side-panel.active) .fullscreen-lyrics-toggle {
right: calc(600px + 4.5rem);
}
body:has(#side-panel.active) #close-fullscreen-cover-btn {
right: calc(600px + 1rem);
}
@media (max-width: 1200px) {
body:has(#side-panel.active) .fullscreen-main-view {
padding-right: 50vw;
}
body:has(#side-panel.active) .fullscreen-lyrics-toggle {
right: calc(50vw + 4.5rem);
}
body:has(#side-panel.active) #close-fullscreen-cover-btn {
right: calc(50vw + 1rem);
}
}
@media (max-width: 768px) {
body:has(#side-panel.active) .fullscreen-main-view {
padding-right: 0;
}
/* Hide fullscreen specific buttons on mobile when panel is open */
body:has(#side-panel.active) .fullscreen-lyrics-toggle,
body:has(#side-panel.active) #close-fullscreen-cover-btn {
display: none;
}
}
@media (max-width: 480px) {
.player-controls .buttons {
gap: 1.25rem;
}
}
@media (max-width: 480px) {
.player-controls .buttons button svg {
width: 25px;
height: 25px;
}
}
/* Scrollbars */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: var(--radius-full);
border: 2px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
background: var(--input);
}
/* Selection */
::selection {
background: var(--primary);
color: var(--primary-foreground);
}
.modal.active .modal-content {
animation: pop-in var(--transition-normal) var(--ease-out-back);
box-shadow: var(--shadow-2xl);
border: 1px solid var(--border);
}
/* Micro-animations for Interactive Elements */
.nav-item a {
position: relative;
overflow: hidden;
}
.nav-item a:active {
transform: scale(0.97);
}
/* ========================================
16-Band Graphic Equalizer (Legacy EQ)
======================================== */
.graphic-eq-section {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.graphic-eq-config-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
flex-wrap: wrap;
}
.graphic-eq-config-row label {
font-size: 0.8rem;
font-weight: 600;
color: var(--foreground);
}
.geq-config-input {
width: 70px;
padding: 4px 6px;
border: 1px solid var(--border-color, #444);
border-radius: 4px;
background: var(--bg-secondary, #222);
color: inherit;
font-size: 0.85rem;
}
.graphic-eq-preset-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.graphic-eq-preset-label {
font-size: 0.8rem;
font-weight: 600;
color: var(--foreground);
white-space: nowrap;
}
.graphic-eq-preset-select {
flex: 1;
padding: 8px 12px;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
}
.graphic-eq-bands {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 2px;
padding: var(--spacing-md) var(--spacing-sm);
background: rgb(0, 0, 0, 0.15);
border-radius: var(--radius);
min-height: 240px;
overflow-x: auto;
overscroll-behavior-x: contain;
}
.graphic-eq-band {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
flex: 1;
min-width: 0;
}
.graphic-eq-band-value {
font-size: 0.65rem;
color: var(--foreground);
font-variant-numeric: tabular-nums;
white-space: nowrap;
min-height: 14px;
opacity: 0.7;
}
.graphic-eq-band-slider-wrap {
position: relative;
height: 160px;
width: 28px;
display: flex;
align-items: center;
justify-content: center;
}
.graphic-eq-band-slider-wrap input[type='range'] {
writing-mode: vertical-lr;
direction: rtl;
width: 28px;
height: 100%;
accent-color: var(--foreground);
cursor: pointer;
margin: 0;
padding: 0;
}
.graphic-eq-band-label {
font-size: 0.6rem;
color: var(--muted-foreground);
white-space: nowrap;
text-align: center;
letter-spacing: -0.02em;
}
.graphic-eq-bottom-row {
display: flex;
align-items: center;
gap: var(--spacing-md);
flex-wrap: wrap;
}
.graphic-eq-preamp {
display: flex;
align-items: center;
gap: var(--spacing-sm);
flex: 1;
}
.graphic-eq-preamp-label {
font-size: 0.75rem;
font-weight: 600;
color: var(--muted-foreground);
white-space: nowrap;
}
.graphic-eq-preamp-slider {
flex: 1;
height: 4px;
accent-color: var(--highlight);
}
.graphic-eq-preamp-value {
font-size: 0.75rem;
color: var(--muted-foreground);
min-width: 45px;
text-align: right;
font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
.graphic-eq-bands {
min-height: 180px;
}
.graphic-eq-band-slider-wrap {
height: 130px;
width: 22px;
}
.graphic-eq-band-label {
font-size: 0.5rem;
}
.graphic-eq-band-value {
font-size: 0.5rem;
}
.graphic-eq-bottom-row {
gap: var(--spacing-sm);
}
.graphic-eq-preamp {
min-width: 0;
flex-basis: 100%;
}
}
/* ========================================
Precision AutoEQ - Redesigned Equalizer
======================================== */
.equalizer-container {
margin-top: var(--spacing-md);
padding: var(--spacing-lg);
background: linear-gradient(145deg, var(--card), rgb(var(--highlight-rgb), 0.03));
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: inset 0 1px 1px rgb(255, 255, 255, 0.05);
display: flex;
flex-direction: column;
gap: var(--spacing-lg);
}
/* --- Mode Toggle --- */
.autoeq-mode-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.autoeq-mode-toggle {
display: flex;
flex: 1;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.eq-howto-btn {
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid var(--highlight);
background: rgb(var(--highlight-rgb), 0.12);
color: var(--highlight);
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
transition: all var(--transition-fast);
flex-shrink: 0;
}
.eq-howto-btn:hover {
border-color: var(--highlight);
color: var(--primary-foreground);
background: var(--highlight);
}
.eq-howto-panel {
border: 1px solid var(--border);
border-radius: var(--radius);
background: rgb(var(--highlight-rgb), 0.03);
padding: var(--spacing-md);
position: relative;
animation: fade-slide-in 0.2s ease;
}
@keyframes fade-slide-in {
from {
opacity: 0;
transform: translateY(-6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.eq-howto-close {
position: absolute;
top: var(--spacing-sm);
right: var(--spacing-sm);
width: 24px;
height: 24px;
border: none;
background: none;
color: var(--muted-foreground);
font-size: 1.2rem;
cursor: pointer;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
}
.eq-howto-close:hover {
color: var(--foreground);
background: rgb(var(--highlight-rgb), 0.1);
}
/* stylelint-disable-next-line no-descending-specificity */
.eq-howto-tab h4 {
font-size: 0.85rem;
font-weight: 700;
color: var(--foreground);
margin: 0 0 var(--spacing-sm) 0;
}
.eq-howto-tab ol {
margin: 0;
padding-left: 1.4em;
font-size: 0.78rem;
color: var(--muted-foreground);
line-height: 1.7;
}
.eq-howto-tab ol b {
color: var(--foreground);
}
.eq-howto-tip {
margin: var(--spacing-sm) 0 0;
padding: var(--spacing-xs) var(--spacing-sm);
background: rgb(var(--highlight-rgb), 0.06);
border-radius: var(--radius-sm);
font-size: 0.72rem;
color: var(--primary);
font-weight: 500;
}
.autoeq-mode-btn {
flex: 1;
padding: 0.5rem 1rem;
font-size: 0.8rem;
font-weight: 600;
background: transparent;
border: none;
color: var(--muted-foreground);
cursor: pointer;
transition: all var(--transition-fast);
text-align: center;
}
.autoeq-mode-btn:hover {
color: var(--foreground);
}
.autoeq-mode-btn.active {
background: var(--primary);
color: var(--primary-foreground);
}
/* --- Graph Section --- */
.autoeq-graph-section {
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
}
.autoeq-graph-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: var(--spacing-sm);
}
.autoeq-graph-title {
font-size: 0.8rem;
font-weight: 600;
color: var(--muted-foreground);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.autoeq-graph-legend {
display: flex;
gap: var(--spacing-md);
flex-wrap: wrap;
}
.legend-item {
display: flex;
align-items: center;
gap: var(--spacing-xs);
font-size: 0.7rem;
color: var(--muted-foreground);
}
.legend-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.legend-original .legend-dot {
background: #3b82f6;
}
.legend-target .legend-dot {
background: color-mix(in srgb, var(--foreground) 50%, transparent);
border: 1px dashed color-mix(in srgb, var(--foreground) 30%, transparent);
}
.legend-corrected .legend-dot {
background: #f472b6;
}
.autoeq-graph-wrapper {
position: relative;
width: 100%;
height: 300px;
background: color-mix(in srgb, var(--background) 25%, #111);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.autoeq-response-canvas {
display: block;
width: 100%;
height: 100%;
cursor: crosshair;
}
.autoeq-auto-preamp {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-xs) 0;
}
.autoeq-auto-preamp-label {
font-size: 0.75rem;
color: var(--muted-foreground);
cursor: pointer;
user-select: none;
}
.toggle-switch-sm {
transform: scale(0.75);
transform-origin: right center;
}
/* --- Controls Section --- */
.autoeq-controls-section {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.autoeq-control-group {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
}
.autoeq-control-label {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--primary);
font-weight: 600;
}
.autoeq-select-wrapper {
display: flex;
gap: var(--spacing-xs);
}
.autoeq-select-wrapper select {
flex: 1;
padding: 0.6rem 0.75rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
cursor: pointer;
transition: border-color var(--transition-fast);
}
.autoeq-select-wrapper select:hover {
border-color: var(--primary);
}
.autoeq-select-wrapper select:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
.autoeq-settings-btn {
width: 40px;
display: flex;
align-items: center;
justify-content: center;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--muted-foreground);
cursor: pointer;
transition: all var(--transition-fast);
flex-shrink: 0;
}
.autoeq-settings-btn:hover {
border-color: var(--primary);
color: var(--foreground);
}
.autoeq-controls-row {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: var(--spacing-sm);
}
.autoeq-control-mini {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-control-mini select {
padding: 0.6rem 0.5rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
cursor: pointer;
transition: border-color var(--transition-fast);
}
.autoeq-control-mini select:hover {
border-color: var(--primary);
}
.autoeq-control-mini select:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
.autoeq-actions-row {
display: flex;
gap: var(--spacing-sm);
align-items: stretch;
}
.autoeq-download-btn {
width: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--muted-foreground);
cursor: pointer;
transition: all var(--transition-fast);
flex-shrink: 0;
}
.autoeq-download-btn:hover {
border-color: var(--primary);
color: var(--foreground);
}
.autoeq-run-btn {
flex: 1;
padding: 0.75rem 1.5rem;
font-size: 1rem;
font-weight: 700;
background: var(--primary);
border: none;
border-radius: var(--radius);
color: var(--primary-foreground);
cursor: pointer;
transition: all var(--transition-fast);
letter-spacing: 0.02em;
}
.autoeq-run-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.autoeq-run-btn:hover:not(:disabled) {
filter: brightness(1.1);
box-shadow: 0 4px 16px rgb(var(--highlight-rgb), 0.3);
}
.autoeq-status {
font-size: 0.75rem;
color: var(--muted-foreground);
font-style: italic;
}
.autoeq-status.error {
color: var(--destructive);
}
.autoeq-status.success {
color: var(--primary);
}
/* --- Saved Profiles --- */
.autoeq-saved-section {
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.autoeq-saved-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-sm) var(--spacing-md);
background: rgb(var(--highlight-rgb), 0.04);
gap: var(--spacing-sm);
flex-wrap: wrap;
}
.autoeq-saved-header-left {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.autoeq-saved-title {
font-size: 0.75rem;
font-weight: 700;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.autoeq-saved-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
font-size: 0.65rem;
font-weight: 700;
background: var(--primary);
color: var(--primary-foreground);
border-radius: var(--radius-full);
}
.autoeq-saved-header-right {
display: flex;
align-items: center;
gap: var(--spacing-xs);
}
.autoeq-profile-name-input {
width: 140px;
padding: 0.35rem 0.6rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.8rem;
transition: border-color var(--transition-fast);
}
.autoeq-profile-name-input:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
.autoeq-save-btn {
padding: 0.35rem 0.75rem;
font-size: 0.8rem;
}
.autoeq-collapse-btn {
background: none;
border: none;
color: var(--muted-foreground);
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
transition: transform var(--transition-fast);
}
.autoeq-collapse-btn.collapsed {
transform: rotate(180deg);
}
.autoeq-saved-grid {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.autoeq-profile-card {
display: flex;
flex-direction: column;
padding: 0;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius-lg, 12px);
cursor: pointer;
transition:
background var(--transition-fast),
border-color var(--transition-fast);
position: relative;
overflow: hidden;
}
.autoeq-profile-card:last-child {
border-bottom: 1px solid var(--border);
}
.autoeq-profile-card:hover {
border-color: var(--primary);
background: rgb(var(--highlight-rgb), 0.06);
}
.autoeq-profile-card.active {
border-color: var(--primary);
background: rgb(var(--highlight-rgb), 0.08);
}
.autoeq-profile-preview {
width: 100%;
height: 100px;
display: block;
background: rgb(0 0 0 / 0.25);
}
.autoeq-profile-info {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.25rem var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}
.autoeq-profile-active-icon {
display: none;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--primary);
color: var(--primary-foreground);
font-size: 0.7rem;
font-weight: 700;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.autoeq-profile-card.active .autoeq-profile-active-icon {
display: flex;
}
.autoeq-profile-name {
font-size: 0.95rem;
font-weight: 600;
color: var(--foreground);
}
.autoeq-profile-meta {
font-size: 0.75rem;
color: var(--muted-foreground);
width: 100%;
padding-left: 0;
margin-left: 0;
}
.autoeq-profile-card.active .autoeq-profile-meta {
padding-left: calc(22px + var(--spacing-sm));
}
.autoeq-profile-delete {
position: absolute;
bottom: var(--spacing-sm);
right: var(--spacing-sm);
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: rgb(var(--highlight-rgb), 0.1);
border: none;
border-radius: var(--radius);
color: var(--muted-foreground);
cursor: pointer;
opacity: 0;
pointer-events: none;
transition: all var(--transition-fast);
font-size: 1rem;
}
.autoeq-profile-delete:hover {
background: var(--destructive);
color: var(--destructive-foreground);
}
.autoeq-profile-card:hover .autoeq-profile-delete,
.autoeq-profile-card:focus-within .autoeq-profile-delete {
opacity: 1;
pointer-events: auto;
}
/* --- Database Browser --- */
.autoeq-database-section {
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.autoeq-database-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-md);
}
.autoeq-database-title {
font-size: 1rem;
font-weight: 700;
color: var(--foreground);
margin: 0;
}
.autoeq-database-subtitle {
font-size: 0.7rem;
color: var(--muted-foreground);
display: block;
}
.autoeq-database-count {
font-size: 0.75rem;
color: var(--muted-foreground);
font-weight: 500;
}
.autoeq-database-search {
display: flex;
align-items: center;
gap: var(--spacing-sm);
padding: 0 var(--spacing-md) var(--spacing-md);
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-database-search svg {
color: var(--muted-foreground);
flex-shrink: 0;
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-database-search input {
flex: 1;
padding: 0.5rem 0.75rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
transition: border-color var(--transition-fast);
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-database-search input:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
.autoeq-database-content {
display: flex;
position: relative;
}
.autoeq-database-list {
flex: 1;
max-height: 400px;
overflow-y: auto;
}
.autoeq-database-alpha-index {
width: 22px;
display: flex;
flex-direction: column;
align-items: center;
padding: 2px 0;
flex-shrink: 0;
position: sticky;
top: 0;
align-self: flex-start;
max-height: 400px;
overflow: hidden;
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-database-alpha-index button {
width: 18px;
height: 16px;
font-size: 0.5rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
color: var(--muted-foreground);
background: none;
border: none;
cursor: pointer;
border-radius: var(--radius-sm);
padding: 0;
line-height: 1;
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-database-alpha-index button:hover {
color: var(--primary);
background: rgb(var(--highlight-rgb), 0.1);
}
.autoeq-db-item {
display: flex;
align-items: center;
gap: var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-md);
border-top: 1px solid rgb(var(--highlight-rgb), 0.05);
cursor: pointer;
transition: background var(--transition-fast);
}
.autoeq-db-item:hover {
background: rgb(var(--highlight-rgb), 0.08);
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-db-item svg {
color: var(--muted-foreground);
flex-shrink: 0;
}
.autoeq-db-item-info {
flex: 1;
min-width: 0;
}
.autoeq-db-item-name {
font-size: 0.85rem;
font-weight: 500;
color: var(--primary);
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.autoeq-db-item-meta {
font-size: 0.7rem;
color: var(--muted-foreground);
display: block;
}
.autoeq-db-item-chevron {
color: var(--muted-foreground);
flex-shrink: 0;
opacity: 0.5;
transition: transform var(--transition-fast);
}
.autoeq-db-item.expanded .autoeq-db-item-chevron {
transform: rotate(90deg);
}
.autoeq-db-sub-list {
display: none;
padding-left: var(--spacing-lg);
background: rgb(var(--highlight-rgb), 0.02);
}
.autoeq-db-sub-list.visible {
display: block;
}
.autoeq-db-sub-item {
display: flex;
align-items: center;
gap: var(--spacing-sm);
padding: var(--spacing-xs) var(--spacing-md);
border-top: 1px solid rgb(var(--highlight-rgb), 0.03);
cursor: pointer;
font-size: 0.8rem;
color: var(--muted-foreground);
transition: all var(--transition-fast);
}
.autoeq-db-sub-item:hover {
background: rgb(var(--highlight-rgb), 0.08);
color: var(--foreground);
}
.autoeq-db-sub-item .sub-source {
font-size: 0.65rem;
padding: 1px 6px;
border-radius: var(--radius-sm);
background: rgb(var(--highlight-rgb), 0.08);
color: var(--muted-foreground);
}
.autoeq-database-list::-webkit-scrollbar {
width: 6px;
}
.autoeq-database-list::-webkit-scrollbar-track {
background: transparent;
}
.autoeq-database-list::-webkit-scrollbar-thumb {
background: rgb(var(--highlight-rgb), 0.2);
border-radius: 3px;
}
.autoeq-database-list::-webkit-scrollbar-thumb:hover {
background: rgb(var(--highlight-rgb), 0.4);
}
/* --- Parametric EQ Filters Section --- */
.autoeq-filters-section {
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.autoeq-filters-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-sm) var(--spacing-md);
background: rgb(var(--highlight-rgb), 0.04);
cursor: pointer;
user-select: none;
font-size: 0.75rem;
font-weight: 700;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 0.08em;
transition: background var(--transition-fast);
}
.autoeq-filters-header:hover {
background: rgb(var(--highlight-rgb), 0.08);
}
.autoeq-filters-content {
padding: var(--spacing-md);
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.autoeq-preset-row {
display: flex;
gap: var(--spacing-sm);
}
.autoeq-preset-row .autoeq-control-group {
flex: 1;
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-preset-row select {
width: 100%;
padding: 0.6rem 0.75rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
cursor: pointer;
transition: border-color var(--transition-fast);
}
.autoeq-preset-row select:hover {
border-color: var(--primary);
}
.autoeq-preset-row select:focus {
outline: none;
border-color: var(--ring);
box-shadow: 0 0 0 3px rgb(var(--highlight-rgb), 0.2);
}
.autoeq-parametric-profiles {
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.autoeq-parametric-profiles .autoeq-saved-header {
padding: var(--spacing-xs) var(--spacing-md);
}
.autoeq-filters-actions {
display: flex;
gap: var(--spacing-xs);
flex-wrap: wrap;
align-items: center;
}
/* stylelint-disable-next-line no-descending-specificity */
.autoeq-filters-actions button {
padding: 0.35rem 0.75rem;
font-size: 0.75rem;
}
.autoeq-preamp-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.autoeq-preamp-label {
font-size: 0.8rem;
font-weight: 600;
color: var(--foreground);
min-width: 55px;
}
.autoeq-preamp-slider {
flex: 1;
height: 6px;
appearance: none;
background: var(--border);
border-radius: 3px;
outline: none;
cursor: pointer;
}
.autoeq-preamp-slider::-webkit-slider-thumb {
appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
transition: transform var(--transition-fast);
}
.autoeq-preamp-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
.autoeq-preamp-slider::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
border: none;
}
.autoeq-preamp-value {
font-size: 0.8rem;
font-weight: 600;
color: var(--primary);
min-width: 50px;
text-align: right;
}
.autoeq-bands-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.autoeq-band-control {
padding: 0.4rem 0.6rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.autoeq-band-header {
display: flex;
align-items: center;
gap: 0.5rem;
}
.autoeq-band-number {
font-size: 0.65rem;
font-weight: 700;
color: var(--muted-foreground);
min-width: 1rem;
text-align: center;
opacity: 0.6;
}
.autoeq-type-select,
.autoeq-channel-select {
padding: 0.15rem 0.3rem;
font-size: 0.7rem;
font-weight: 600;
background: var(--background);
color: var(--primary);
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
outline: none;
flex-shrink: 0;
}
.autoeq-type-select:hover,
.autoeq-channel-select:hover {
border-color: var(--primary);
}
.autoeq-type-select:focus,
.autoeq-channel-select:focus {
border-color: var(--ring);
}
.autoeq-band-param {
display: flex;
align-items: baseline;
gap: 0.25rem;
flex: 1;
justify-content: center;
}
.autoeq-band-param-label {
font-size: 0.65rem;
color: var(--muted-foreground);
font-weight: 500;
text-transform: uppercase;
opacity: 0.7;
}
.autoeq-band-value {
font-size: 0.75rem;
font-weight: 600;
color: var(--primary);
white-space: nowrap;
}
.autoeq-band-sliders {
display: flex;
gap: 0.4rem;
align-items: center;
}
.autoeq-band-slider {
flex: 1;
height: 4px;
appearance: none;
background: var(--border);
border-radius: 2px;
outline: none;
cursor: pointer;
}
.autoeq-band-slider::-webkit-slider-thumb {
appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
transition: transform var(--transition-fast);
}
.autoeq-band-slider::-webkit-slider-thumb:hover {
transform: scale(1.3);
}
.autoeq-band-slider::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
border: none;
}
/* --- Speaker EQ --- */
.speaker-eq-section {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.speaker-eq-header {
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
}
.speaker-eq-config-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.speaker-config-select {
padding: 0.5rem 0.75rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--foreground);
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
}
.speaker-config-select:hover {
border-color: var(--primary);
}
.speaker-channel-tabs {
display: flex;
gap: 2px;
overflow-x: auto;
padding-bottom: 2px;
}
.speaker-channel-tab {
padding: 0.4rem 0.8rem;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--muted-foreground);
cursor: pointer;
transition: all var(--transition-fast);
position: relative;
}
.speaker-channel-tab:hover {
border-color: var(--primary);
color: var(--foreground);
}
.speaker-channel-tab.active {
background: var(--primary);
border-color: var(--primary);
color: var(--primary-foreground);
}
.speaker-channel-tab.has-data::after {
content: '';
position: absolute;
top: 3px;
right: 3px;
width: 5px;
height: 5px;
border-radius: 50%;
background: #4ade80;
}
.speaker-channel-tab.active.has-data::after {
background: var(--primary-foreground);
}
.speaker-eq-controls {
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
padding: var(--spacing-md);
background: rgb(var(--highlight-rgb), 0.03);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.speaker-eq-measurement-row {
display: flex;
gap: var(--spacing-sm);
align-items: flex-end;
flex-wrap: wrap;
}
.speaker-measurement-status {
flex: 1;
font-size: 0.8rem;
color: var(--muted-foreground);
padding: 0.5rem 0.75rem;
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.speaker-measurement-status.loaded {
color: #4ade80;
border-color: rgb(74 222 128 / 0.3);
}
.speaker-eq-params-row {
display: flex;
gap: var(--spacing-sm);
flex-wrap: wrap;
align-items: flex-end;
}
.speaker-eq-slider-control {
flex: 1;
min-width: 120px;
}
.speaker-eq-slider-row {
display: flex;
align-items: center;
gap: var(--spacing-xs);
}
.speaker-eq-slider-row input[type='range'] {
flex: 1;
}
.speaker-eq-slider-value {
font-size: 0.7rem;
font-weight: 600;
color: var(--primary);
min-width: 45px;
text-align: right;
}
.speaker-eq-slider-value.bass {
color: #22d3ee;
}
.speaker-eq-slider-value.room {
color: #f59e0b;
}
.speaker-eq-section .autoeq-control-label.bass {
color: #22d3ee;
}
.speaker-eq-section .autoeq-control-label.room {
color: #f59e0b;
}
.speaker-measure-btn {
color: #f472b6;
}
.speaker-measure-btn:hover {
background: rgb(244 114 182 / 0.15);
}
.speaker-measure-btn:disabled {
opacity: 0.5;
pointer-events: none;
}
.speaker-eq-actions-row {
display: flex;
align-items: center;
gap: var(--spacing-sm);
flex-wrap: wrap;
}
.speaker-all-btn {
background: var(--surface-2) !important;
color: var(--foreground) !important;
border: 1px solid var(--border);
font-size: 0.75rem;
padding: 0.35rem 0.75rem;
flex: 0 0 auto;
width: auto;
}
.speaker-all-btn:hover {
background: var(--surface-3) !important;
border-color: var(--primary);
}
/* Speaker Saved Profiles */
.speaker-saved-section {
margin-top: var(--spacing-sm);
}
/* --- Responsive --- */
@media (max-width: 768px) {
.equalizer-container {
padding: var(--spacing-md);
}
.autoeq-graph-wrapper {
height: 220px;
}
.autoeq-controls-row {
grid-template-columns: 1fr 1fr 1fr;
}
.autoeq-database-list {
max-height: 300px;
}
}
@media (max-width: 900px) {
.autoeq-graph-db-row {
flex-direction: column;
}
.autoeq-graph-db-row > .autoeq-database-section {
width: auto;
}
}
@media (max-width: 480px) {
.autoeq-graph-wrapper {
height: 180px;
}
.autoeq-graph-header {
flex-direction: column;
align-items: flex-start;
}
.autoeq-saved-header {
flex-direction: column;
align-items: flex-start;
}
.autoeq-saved-header-right {
width: 100%;
}
.autoeq-profile-name-input {
flex: 1;
width: auto;
}
}
/* Track List Search */
.track-list-search-container {
margin: 1rem 0;
}
.track-list-search-input {
font-size: 0.95rem;
}
#custom-tooltip.visible {
opacity: 1;
}
/* profile CSS :eyes: */
.profile-header-container {
position: relative;
margin-bottom: 4rem;
display: flex;
flex-direction: column;
align-items: center;
}
.profile-banner {
width: 100%;
height: 400px;
background-color: var(--secondary);
background-size: cover;
background-position: center;
border-radius: 0 0 var(--radius-xl) var(--radius-xl);
position: absolute;
top: 0;
left: 0;
z-index: 0;
mask-image: linear-gradient(to bottom, rgb(0, 0, 0, 1) 50%, rgb(0, 0, 0, 0));
}
.profile-info-section {
padding: 0 2rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: relative;
z-index: 1;
margin-top: 250px;
width: 100%;
max-width: 800px;
}
.profile-avatar {
width: 180px;
height: 180px;
border-radius: 50%;
border: 4px solid var(--background);
background-color: var(--card);
object-fit: cover;
flex-shrink: 0;
box-shadow: var(--shadow-2xl);
margin-bottom: 1.5rem;
}
.profile-details {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
#profile-display-name {
font-size: 3rem;
font-weight: 800;
margin: 0 0 0.5rem;
line-height: 1.1;
text-shadow: 0 4px 12px rgb(0, 0, 0, 0.5);
}
.profile-username {
color: var(--muted-foreground);
font-size: 1.2rem;
margin-bottom: 1rem;
background: rgb(0, 0, 0, 0.3);
padding: 0.25rem 0.75rem;
border-radius: var(--radius-full);
backdrop-filter: blur(4px);
}
.profile-status {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--secondary);
padding: 0.5rem 1rem;
border-radius: var(--radius-full);
font-size: 0.95rem;
margin-bottom: 1.5rem;
color: var(--foreground);
border: 1px solid var(--border);
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-about {
margin-top: 0.5rem;
max-width: 600px;
line-height: 1.6;
font-size: 1.05rem;
color: var(--foreground);
}
.profile-links {
display: flex;
gap: 1.5rem;
margin-top: 1.5rem;
justify-content: center;
}
.profile-link {
color: var(--primary);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
}
.profile-link:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.profile-info-section {
flex-direction: column;
align-items: center;
text-align: center;
padding: 0 1rem;
gap: 1rem;
}
.profile-banner {
height: 150px;
margin-bottom: -50px;
}
.profile-avatar {
width: 100px;
height: 100px;
}
#profile-display-name {
font-size: 2rem;
}
.profile-actions {
width: 100%;
display: flex;
justify-content: center;
}
}
.status-picker-container {
position: relative;
}
.search-results-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
max-height: 200px;
overflow-y: auto;
z-index: 100;
display: none;
box-shadow: var(--shadow-lg);
}
.search-result-item {
padding: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
border-bottom: 1px solid var(--border);
}
.search-result-item:last-child {
border-bottom: none;
}
.search-result-item:hover {
background: var(--secondary);
}
.search-result-item img {
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
object-fit: cover;
}
.search-result-info {
flex: 1;
min-width: 0;
}
.search-result-title {
font-size: 0.9rem;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result-subtitle {
font-size: 0.8rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.5rem;
z-index: 2000;
min-width: 200px;
margin-top: 0.5rem;
box-shadow: var(--shadow-lg);
flex-direction: column;
gap: 0.25rem;
}
.dropdown-menu.active {
display: flex;
animation: scale-in 0.1s ease-out;
}
.dropdown-menu button {
width: 100%;
text-align: left;
justify-content: flex-start;
}
.theme-card-preview {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--border);
}
.theme-card-preview-header {
height: 30%;
border-bottom: 1px solid var(--border);
}
.theme-card-preview-body {
flex: 1;
padding: 0.5rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.theme-card-preview-line {
height: 4px;
border-radius: 2px;
width: 100%;
opacity: 0.5;
}
.theme-editor-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--secondary);
padding: 0.5rem;
border: 1px solid var(--border);
border-bottom: none;
border-radius: var(--radius) var(--radius) 0 0;
flex-wrap: wrap;
gap: 0.5rem;
}
.theme-editor-toolbar .color-picker-group {
display: flex;
gap: 0.25rem;
}
.theme-editor-toolbar .style-picker-group {
display: flex;
gap: 0.25rem;
}
/* stylelint-disable-next-line no-descending-specificity */
.theme-editor-toolbar select {
height: 24px;
padding: 0 4px;
font-size: 0.75rem;
background-color: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--foreground);
cursor: pointer;
}
.theme-editor-toolbar input[type='color'] {
width: 24px;
height: 24px;
padding: 0;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
cursor: pointer;
background: none;
}
#theme-upload-css {
border-top-left-radius: 0;
border-top-right-radius: 0;
max-width: 100%;
}
#theme-preview-window {
position: fixed;
bottom: 20px;
right: 20px;
width: 300px;
height: 400px;
background: var(--background);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-xl);
z-index: 10000;
overflow: hidden;
resize: both;
display: flex;
flex-direction: column;
}
.home-header-tabs {
display: flex;
gap: 1.5rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--border);
}
.home-tab {
background: transparent;
border: none;
color: var(--muted-foreground);
padding: 0.75rem 0.5rem;
cursor: pointer;
font-size: 1.1rem;
font-weight: 600;
border-bottom: 2px solid transparent;
transition: all var(--transition);
}
.home-tab:hover {
color: var(--foreground);
}
.home-tab.active {
color: var(--foreground);
border-bottom-color: var(--highlight);
}
.home-view {
animation: fade-in 0.3s ease;
}
#command-palette-overlay {
position: fixed;
inset: 0;
background: rgb(0 0 0 / 60%);
backdrop-filter: blur(8px);
z-index: 10000;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: min(10vh, 120px);
animation: cmdk-overlay-in 150ms ease-out;
}
@keyframes cmdk-overlay-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes cmdk-scale-in {
from {
opacity: 0;
transform: scale(0.96);
}
to {
opacity: 1;
transform: scale(1);
}
}
.command-palette {
width: 100%;
max-width: 640px;
margin: 0 1rem;
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow:
0 16px 70px rgb(0 0 0 / 50%),
0 0 0 1px rgb(255 255 255 / 5%) inset;
display: flex;
flex-direction: column;
overflow: hidden;
max-height: min(60vh, 480px);
animation: cmdk-scale-in 150ms ease-out;
}
.command-palette-header {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
}
.command-palette-search-icon {
flex-shrink: 0;
color: var(--muted-foreground);
}
#command-palette-input {
flex: 1;
min-width: 0;
background: transparent;
border: none;
font-size: 1rem;
font-weight: 400;
color: var(--foreground);
outline: none;
}
#command-palette-input::placeholder {
color: var(--muted-foreground);
}
.command-palette-kbd {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 6px;
font-size: 11px;
font-family: inherit;
font-weight: 500;
color: var(--muted-foreground);
background: var(--secondary);
border: 1px solid var(--border);
border-radius: 6px;
line-height: 1.4;
}
.command-palette-results {
flex: 1;
overflow-y: auto;
overscroll-behavior: contain;
padding: 6px 8px;
}
.cmdk-group + .cmdk-group {
margin-top: 4px;
}
.cmdk-group-heading {
padding: 6px 10px 4px;
font-size: 11px;
font-weight: 600;
color: var(--muted-foreground);
text-transform: uppercase;
letter-spacing: 0.04em;
user-select: none;
}
.cmdk-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: var(--radius, 8px);
cursor: pointer;
font-size: 0.875rem;
color: var(--foreground);
transition: background 80ms ease;
user-select: none;
position: relative;
}
.cmdk-item:hover {
background: var(--secondary);
}
.cmdk-item[data-selected='true'] {
background: var(--secondary);
}
.cmdk-item-icon {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
min-width: 20px;
min-height: 20px;
color: var(--muted-foreground);
}
/* stylelint-disable-next-line no-descending-specificity */
.cmdk-item-icon img {
width: 28px;
height: 28px;
border-radius: 4px;
object-fit: cover;
aspect-ratio: 1 / 1;
}
.cmdk-item-content {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.cmdk-item-label {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cmdk-item-description {
font-size: 0.75rem;
color: var(--muted-foreground);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cmdk-item-shortcut {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 4px;
margin-left: auto;
}
.cmdk-item-shortcut kbd {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 5px;
font-size: 10px;
font-family: inherit;
font-weight: 500;
color: var(--muted-foreground);
background: var(--secondary);
border: 1px solid var(--border);
border-radius: 4px;
line-height: 1;
}
.cmdk-empty {
display: flex;
align-items: center;
justify-content: center;
height: 64px;
color: var(--muted-foreground);
font-size: 0.875rem;
}
.cmdk-loading {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px;
color: var(--muted-foreground);
font-size: 0.8rem;
}
.cmdk-loading-spinner {
width: 14px;
height: 14px;
border: 2px solid var(--border);
border-top-color: var(--foreground);
border-radius: 50%;
animation: cmdk-spin 600ms linear infinite;
}
@keyframes cmdk-spin {
to {
transform: rotate(360deg);
}
}
.cmdk-separator {
height: 1px;
background: var(--border);
margin: 4px 8px;
}
.command-palette-footer {
display: flex;
align-items: center;
gap: 16px;
padding: 8px 16px;
border-top: 1px solid var(--border);
font-size: 0.7rem;
color: var(--muted-foreground);
}
.command-palette-hint {
display: flex;
align-items: center;
gap: 4px;
}
.command-palette-hint kbd {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1px 4px;
font-size: 10px;
font-family: inherit;
font-weight: 500;
color: var(--muted-foreground);
background: var(--secondary);
border: 1px solid var(--border);
border-radius: 4px;
}
@media (width <= 640px) {
#command-palette-overlay {
padding-top: 0;
align-items: flex-start;
}
.command-palette {
max-width: 100%;
max-height: 100dvh;
margin: 0;
border-radius: 0;
border: none;
}
.command-palette-footer {
display: none;
}
}
.video-card .card-image-container {
aspect-ratio: 16 / 9 !important;
margin-bottom: var(--spacing-sm);
}
.video-card .card-image {
aspect-ratio: 16 / 9 !important;
object-fit: cover !important;
}
.video-duration-badge {
position: absolute;
bottom: 8px;
right: 8px;
background: rgb(0, 0, 0, 0.7);
color: white;
padding: 2px 6px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
pointer-events: none;
z-index: 5;
}
#fullscreen-video-container {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 0;
background: black;
display: none;
justify-content: center;
align-items: center;
}
#fullscreen-video-container video {
width: 100%;
height: 100%;
object-fit: contain;
}
.search-tab[data-tab='videos'] {
display: flex;
align-items: center;
gap: 0.5rem;
}
.party-container {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.party-content-layout {
display: grid;
grid-template-columns: 1fr 350px;
gap: 2rem;
}
@media (max-width: 1024px) {
.party-content-layout {
grid-template-columns: 1fr;
}
}
.party-indicator-card {
position: fixed;
bottom: calc(var(--player-bar-height-desktop) + 1.5rem);
right: 1.5rem;
background: var(--card);
border: 1px solid var(--border);
border-right: 4px solid var(--primary);
border-radius: var(--radius-md);
padding: 0.6rem 1rem;
display: flex;
align-items: center;
gap: 1rem;
z-index: 2000;
box-shadow: var(--shadow-lg);
cursor: pointer;
transition: all 0.2s ease;
max-width: 280px;
}
.party-indicator-card:hover {
background: var(--secondary);
}
.party-indicator-content {
flex: 1;
min-width: 0;
text-align: right;
}
.party-indicator-label {
color: var(--muted-foreground);
font-size: 0.65rem;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 0.05em;
display: block;
margin-bottom: 2px;
}
.party-indicator-name {
font-size: 0.85rem;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.party-indicator-count {
background: var(--secondary);
color: var(--primary);
font-size: 0.75rem;
font-weight: 800;
padding: 2px 8px;
border-radius: 10px;
min-width: 24px;
text-align: center;
order: -1;
}
@media (max-width: 768px) {
.party-indicator-card {
bottom: calc(var(--player-bar-height-mobile) + 1rem);
left: 1rem;
right: 1rem;
max-width: none;
}
}
.chat-msg {
margin-bottom: 0.5rem;
animation: fade-in 0.2s ease-out;
}
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.party-status-badge {
padding: 0.25rem 0.5rem;
background: var(--primary);
color: var(--primary-foreground);
border-radius: var(--radius-sm);
font-size: 0.75rem;
font-weight: bold;
text-transform: uppercase;
}
.member-item {
transition: transform 0.2s ease;
}
.member-item:hover {
transform: scale(1.02);
}
/* FUCK FLEX FUCK CSS FUCKKKKK */
.about-contributors {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
}
.about-contributors div {
width: calc(20% - 10px);
min-width: 150px;
border: 1px solid var(--border);
border-radius: 14px;
padding: 20px;
text-align: center;
overflow: hidden;
background: var(--card);
transition:
transform 0.2s ease,
border-color 0.2s ease;
}
.about-contributors div:hover {
border-color: var(--primary);
transform: translateY(-2px);
}
.about-contributors a {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-decoration: none;
color: inherit;
}
.about-contributors img {
display: block;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.about-contributors span {
color: var(--foreground);
font-weight: 500;
font-size: 14px;
line-height: 1.2;
display: block;
word-break: break-word;
}
.about-contributors .contrib {
color: var(--muted-foreground);
font-size: 12px;
font-weight: 400;
}
@media (max-width: 768px) {
.about-contributors div {
width: calc(33.33% - 12px);
padding: 15px;
}
}
@media (max-width: 480px) {
.about-contributors {
gap: 8px;
}
.about-contributors div {
width: calc(50% - 8px);
min-width: 0;
padding: 12px;
}
.about-contributors span {
font-size: 13px;
}
.about-contributors .contrib {
font-size: 11px;
}
}
/* Fullscreen layout rebuild on PR 378 base */
#fullscreen-cover-overlay .fullscreen-shell {
width: 100%;
height: 100%;
display: flex;
align-items: stretch;
justify-content: center;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
min-height: 0;
overflow: hidden;
}
#fullscreen-cover-overlay .fullscreen-main-view {
--fs-media-column-size: minmax(340px, 430px);
--fs-lyrics-column-size: minmax(520px, 760px);
width: min(1480px, 100%);
height: 100%;
flex: 1;
display: grid;
grid-template-columns: var(--fs-media-column-size) var(--fs-lyrics-column-size);
gap: clamp(2rem, 4vw, 4.5rem);
align-items: center;
justify-content: center;
padding: clamp(4rem, 7vh, 5rem) clamp(3rem, 6vw, 5rem) clamp(3rem, 6vh, 4rem);
position: relative;
z-index: 1;
min-height: 0;
overflow: hidden;
transition:
grid-template-columns 0.34s cubic-bezier(0.22, 1, 0.36, 1),
width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
gap 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
#fullscreen-cover-overlay .fullscreen-media-column,
#fullscreen-cover-overlay .fullscreen-lyrics-pane {
min-height: 0;
}
#fullscreen-cover-overlay .fullscreen-media-column {
width: min(420px, 100%);
display: flex;
flex-direction: column;
gap: 0.95rem;
justify-self: center;
transform: none;
transition:
width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
opacity 0.24s ease;
}
#fullscreen-cover-overlay .fullscreen-artwork-card {
width: min(420px, 100%);
aspect-ratio: 1 / 1;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 28px 80px rgb(0, 0, 0, 0.26);
}
#fullscreen-cover-overlay #fullscreen-cover-image {
width: 100%;
height: 100%;
margin: 0;
max-width: none;
max-height: none;
object-fit: cover;
border-radius: 18px;
transform: none !important;
}
#fullscreen-cover-overlay .fullscreen-track-info {
width: min(420px, 100%);
display: block;
text-align: left;
max-width: none;
padding: 0.15rem 0 0;
background: none;
border: 0;
box-shadow: none;
backdrop-filter: none;
}
#fullscreen-cover-overlay .fullscreen-track-text {
min-width: 0;
}
#fullscreen-cover-overlay #fullscreen-track-title {
margin: 0;
font-size: clamp(1.15rem, 1.5vw, 1.42rem);
line-height: 1.08;
letter-spacing: -0.03em;
}
#fullscreen-cover-overlay #fullscreen-track-artist {
margin: 0.12rem 0 0;
font-size: 0.94rem;
color: rgb(255 255 255 / 0.74);
}
#fullscreen-cover-overlay #toggle-fullscreen-lyrics-btn,
#fullscreen-cover-overlay .fullscreen-lyrics-toggle {
display: flex;
}
#fullscreen-cover-overlay .fullscreen-actions {
display: flex !important;
align-items: center;
gap: 0.5rem;
margin-top: 0.9rem;
}
#fullscreen-cover-overlay .fullscreen-actions .btn-icon {
width: 38px;
height: 38px;
padding: 0;
border-radius: 999px;
color: rgb(255 255 255 / 0.74);
background: transparent;
transition:
color 0.2s ease,
background-color 0.2s ease,
transform 0.2s ease;
}
#fullscreen-cover-overlay .fullscreen-actions .btn-icon:hover {
color: rgb(255 255 255 / 0.96);
background: rgb(255 255 255 / 0.08);
transform: scale(1.03);
}
#fullscreen-cover-overlay #fullscreen-next-track {
display: flex;
align-items: center;
gap: 0.45rem;
margin-top: 0.85rem;
color: rgb(255 255 255 / 0.56);
}
#fullscreen-cover-overlay #fullscreen-next-track .label {
font-size: 0.72rem;
letter-spacing: 0.12em;
text-transform: uppercase;
}
#fullscreen-cover-overlay #fullscreen-next-track .value {
font-size: 0.84rem;
color: rgb(255 255 255 / 0.74);
}
#fullscreen-cover-overlay .fullscreen-top-actions {
position: absolute;
top: 1.25rem;
left: calc(1.5rem + env(safe-area-inset-left));
right: auto;
display: flex;
align-items: center;
gap: 0.4rem;
z-index: 12;
}
#fullscreen-cover-overlay .fullscreen-top-actions button {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 999px;
padding: 0;
background: rgb(9 12 18 / 0.34);
color: rgb(255 255 255 / 0.72);
backdrop-filter: blur(10px);
transition:
color 0.2s ease,
background-color 0.2s ease,
opacity 0.2s ease;
}
#fullscreen-cover-overlay .fullscreen-top-actions #fs-visualizer-btn {
order: 3;
}
#fullscreen-cover-overlay .fullscreen-top-actions #toggle-fullscreen-lyrics-btn,
#fullscreen-cover-overlay .fullscreen-top-actions #fs-visualizer-btn,
#fullscreen-cover-overlay .fullscreen-top-actions #close-fullscreen-cover-btn {
position: static;
top: auto;
right: auto;
left: auto;
bottom: auto;
margin: 0;
opacity: 1;
}
#fullscreen-cover-overlay .fullscreen-top-actions #toggle-fullscreen-lyrics-btn {
order: 2;
}
#fullscreen-cover-overlay .fullscreen-top-actions #toggle-fullscreen-lyrics-btn.active {
color: rgb(255 255 255 / 0.96);
background: rgb(255 255 255 / 0.12);
}
#fullscreen-cover-overlay .fullscreen-top-actions #close-fullscreen-cover-btn {
order: 1;
}
#fullscreen-cover-overlay.ui-hidden .fullscreen-top-actions {
opacity: 1;
pointer-events: auto;
transform: none;
}
#fullscreen-cover-overlay.ui-hidden .fullscreen-top-actions button,
#fullscreen-cover-overlay.ui-hidden .fullscreen-top-actions #close-fullscreen-cover-btn,
#fullscreen-cover-overlay.ui-hidden .fullscreen-top-actions #fs-visualizer-btn {
opacity: 1;
pointer-events: auto;
transform: none;
}
#fullscreen-cover-overlay #toggle-ui-btn {
top: 1.25rem;
left: calc(1.5rem + env(safe-area-inset-left) + (40px * 3) + (0.4rem * 3));
right: auto;
width: 40px;
height: 40px;
background: rgb(9 12 18 / 0.34);
color: rgb(255 255 255 / 0.72);
backdrop-filter: blur(10px);
opacity: 1;
z-index: 12;
}
#fullscreen-cover-overlay .fullscreen-controls {
width: min(420px, 100%);
margin-top: 0;
align-items: center;
gap: 0.85rem;
position: relative;
}
#fullscreen-cover-overlay .fullscreen-buttons {
width: 100%;
justify-content: center;
gap: 0.4rem;
}
#fullscreen-cover-overlay .fullscreen-buttons button {
width: 40px;
height: 40px;
color: rgb(255 255 255 / 0.72);
border-radius: 999px;
padding: 0;
transition:
color 0.2s ease,
transform 0.2s ease,
background-color 0.2s ease,
opacity 0.2s ease;
}
#fullscreen-cover-overlay .fullscreen-buttons button:hover {
color: rgb(255 255 255 / 0.94);
background: rgb(255 255 255 / 0.08);
transform: scale(1.04);
}
#fullscreen-cover-overlay .fullscreen-buttons button.active {
color: rgb(var(--fs-accent-rgb) / 0.98);
}
#fullscreen-cover-overlay .fullscreen-buttons #fs-play-pause-btn {
width: 54px;
height: 54px;
background: rgb(255 255 255 / 0.96);
color: rgb(11 15 21 / 0.92);
box-shadow: 0 12px 28px rgb(0 0 0 / 0.2);
}
#fullscreen-cover-overlay .fullscreen-buttons #fs-play-pause-btn:hover {
background: rgb(255 255 255 / 1);
transform: scale(1.02);
}
#fullscreen-cover-overlay .fullscreen-volume-container {
width: 238px;
max-width: 100%;
align-self: center;
justify-content: center;
margin-top: 0.2rem;
margin-inline: auto;
position: relative;
}
#fullscreen-cover-overlay .fs-visualizer-btn,
#fullscreen-cover-overlay .fs-volume-btn {
width: 30px;
height: 30px;
padding: 0;
color: rgb(255 255 255 / 0.62);
}
#fullscreen-cover-overlay .fs-visualizer-btn:hover,
#fullscreen-cover-overlay .fs-volume-btn:hover {
background: transparent;
color: rgb(255 255 255 / 0.9);
}
#fullscreen-cover-overlay .fs-visualizer-btn.active {
color: rgb(var(--fs-accent-rgb) / 0.96);
}
#fullscreen-cover-overlay .fs-volume-btn {
position: absolute;
left: -2.5rem;
top: 50%;
transform: translateY(-50%);
}
#fullscreen-cover-overlay .fs-volume-btn:hover {
transform: translateY(-50%);
}
#fullscreen-cover-overlay .fs-volume-bar {
width: 238px;
height: 4px;
background: rgb(255 255 255 / 0.24);
margin-inline: auto;
}
#fullscreen-cover-overlay .fs-volume-bar:hover {
height: 4px;
}
#fullscreen-cover-overlay .fs-volume-fill,
#fullscreen-cover-overlay .fullscreen-progress-container .progress-fill {
background: rgb(255 255 255 / 0.92);
}
#fullscreen-cover-overlay .fullscreen-progress-container {
color: rgb(255 255 255 / 0.62);
font-size: 0.78rem;
}
#fullscreen-cover-overlay .fullscreen-progress-container .progress-bar {
height: 4px;
background: rgb(255 255 255 / 0.2);
}
#fullscreen-cover-overlay .fullscreen-progress-container .progress-bar:hover {
height: 4px;
}
#fullscreen-cover-overlay .fullscreen-progress-container .progress-bar:hover .progress-fill,
#fullscreen-cover-overlay .fs-volume-bar:hover .fs-volume-fill {
background: rgb(var(--fs-accent-rgb) / 0.94);
}
#fullscreen-cover-overlay .fullscreen-progress-container .progress-bar:hover .progress-fill::after,
#fullscreen-cover-overlay .fullscreen-progress-container .progress-bar:active .progress-fill::after,
#fullscreen-cover-overlay .fs-volume-bar:hover .fs-volume-fill::after,
#fullscreen-cover-overlay .fs-volume-bar:active .fs-volume-fill::after {
width: 10px;
height: 10px;
box-shadow: 0 4px 12px rgb(0 0 0 / 0.28);
}
#fullscreen-cover-overlay .fullscreen-lyrics-pane {
display: flex;
align-items: stretch;
justify-content: flex-start;
overflow: hidden;
min-width: 0;
opacity: 1;
transform: translateX(0);
transition:
opacity 0.24s ease,
transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
visibility 0s linear 0s;
}
#fullscreen-cover-overlay .fullscreen-lyrics-shell,
#fullscreen-cover-overlay .fullscreen-lyrics-content,
#fullscreen-cover-overlay .fullscreen-lyrics-content am-lyrics {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
outline: none !important;
backdrop-filter: none !important;
}
#fullscreen-cover-overlay .fullscreen-lyrics-shell {
width: min(860px, 100%);
min-height: 0;
margin-left: 0;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content {
min-height: 0;
height: 100%;
position: relative;
padding-left: clamp(0.5rem, 1.6vw, 1.5rem);
mask-image: none;
overflow: visible;
scrollbar-width: none;
-ms-overflow-style: none;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content::-webkit-scrollbar {
display: none;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content am-lyrics {
--am-lyrics-highlight-color: #f6f4ef;
--lyrics-scroll-padding-top: 18%;
--lyplus-blur-amount: 0.16em;
--lyplus-blur-amount-near: 0.085em;
height: 100%;
width: 100%;
font-family:
'SF Pro Display', Inter, 'Noto Sans', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans HK', 'Noto Sans JP',
'Noto Sans KR', 'Noto Sans Hebrew', 'Noto Sans Arabic', 'Noto Sans Devanagari', 'Noto Sans Bengali',
'Noto Sans Thai', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Gujarati', 'Noto Sans Kannada',
'Noto Sans Malayalam', 'Noto Sans Sinhala', 'Noto Sans Khmer', 'Noto Sans Lao', 'Noto Sans Myanmar',
'Noto Sans Georgian', 'Noto Sans Armenian', 'Noto Sans Ethiopic', system-ui, sans-serif;
--lyplus-font-size-base: clamp(34px, 3vw, 52px);
--lyplus-padding-line: 8px;
--lyplus-text-color: rgb(246, 244, 239, 0.08);
--lyplus-active-color: #f6f4ef;
line-height: 1.32;
letter-spacing: -0.04em;
font-weight: 600;
isolation: isolate;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content::after {
content: none;
}
#fullscreen-cover-overlay .fullscreen-lyrics-empty,
#fullscreen-cover-overlay .fullscreen-lyrics-content .lyrics-loading,
#fullscreen-cover-overlay .fullscreen-lyrics-content .lyrics-error {
padding: clamp(5rem, 14vh, 7rem) 0 0 clamp(2rem, 5vw, 4.5rem);
background: none;
border: 0;
}
#fullscreen-cover-overlay.lyrics-unavailable .fullscreen-lyrics-pane {
opacity: 0.55;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-main-view {
--fs-media-column-size: minmax(420px, 760px);
--fs-lyrics-column-size: minmax(0, 0fr);
width: min(760px, 100%);
gap: 0;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-media-column {
justify-self: center;
width: min(520px, 100%);
transform: translateX(clamp(2rem, 4vw, 3.5rem));
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-lyrics-pane {
opacity: 0;
transform: translateX(2rem);
visibility: hidden;
pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
#fullscreen-cover-overlay .fullscreen-main-view,
#fullscreen-cover-overlay .fullscreen-media-column,
#fullscreen-cover-overlay .fullscreen-lyrics-pane {
transition: none !important;
}
}
#fullscreen-cover-overlay.queue-panel-active .fullscreen-main-view {
grid-template-columns: 1fr;
width: min(760px, 100%);
}
#fullscreen-cover-overlay.queue-panel-active .fullscreen-media-column {
justify-self: center;
transform: none;
}
#fullscreen-cover-overlay.queue-panel-active .fullscreen-lyrics-pane {
display: none;
}
@media (max-width: 980px) {
#fullscreen-cover-overlay .fullscreen-main-view {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: auto minmax(0, 1fr) auto;
width: min(760px, 100%);
gap: 1.25rem;
align-items: stretch;
padding: calc(5rem + env(safe-area-inset-top)) clamp(1rem, 4vw, 1.75rem)
calc(1.5rem + env(safe-area-inset-bottom));
}
#fullscreen-cover-overlay .fullscreen-media-column {
justify-self: center;
transform: none;
width: min(100%, 620px);
}
#fullscreen-cover-overlay .fullscreen-lyrics-pane {
display: flex;
width: min(100%, 620px);
justify-self: center;
min-height: min(48vh, 440px);
}
#fullscreen-cover-overlay .fullscreen-lyrics-shell {
width: 100%;
margin-left: 0;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content {
padding-left: 0;
}
}
@media (max-width: 768px) {
#fullscreen-cover-overlay {
--fs-mobile-top-btn-size: 42px;
--fs-mobile-top-btn-gap: 0.6rem;
--fs-mobile-top-btn-left: calc(1rem + env(safe-area-inset-left));
}
#fullscreen-cover-overlay .fullscreen-cover-content {
padding: 0 calc(0.9rem + env(safe-area-inset-right)) calc(0.9rem + env(safe-area-inset-bottom))
calc(0.9rem + env(safe-area-inset-left));
}
#fullscreen-dismiss-handle {
display: block;
}
#fullscreen-cover-overlay .fullscreen-top-actions {
display: flex;
top: calc(0.85rem + env(safe-area-inset-top));
left: auto;
right: calc(3.85rem + env(safe-area-inset-right));
gap: 0;
}
#fullscreen-cover-overlay .fullscreen-lyrics-toggle,
#fullscreen-cover-overlay #close-fullscreen-cover-btn,
#fullscreen-cover-overlay #toggle-ui-btn {
display: none !important;
}
#toggle-fullscreen-lyrics-mobile-btn {
display: flex;
}
#fullscreen-cover-overlay .fullscreen-top-actions #toggle-fullscreen-lyrics-btn {
display: none !important;
}
#fullscreen-cover-overlay .fullscreen-top-actions #fs-visualizer-btn {
display: flex !important;
width: 38px;
height: 38px;
}
#fullscreen-cover-overlay .fullscreen-main-view {
width: 100%;
height: 100%;
max-width: 100%;
min-width: 0;
min-height: 0;
box-sizing: border-box;
grid-template-columns: minmax(78px, 92px) minmax(0, 1fr);
grid-template-rows: auto minmax(0, 1fr) auto;
grid-template-areas:
'art info'
'lyrics lyrics'
'controls controls';
gap: 1rem 0.9rem;
padding: calc(4.45rem + env(safe-area-inset-top)) 0 calc(0.8rem + env(safe-area-inset-bottom));
}
#fullscreen-cover-overlay .fullscreen-media-column {
display: contents;
width: auto;
min-width: 0;
}
#fullscreen-cover-overlay .fullscreen-artwork-card {
grid-area: art;
width: 100%;
max-width: 92px;
box-sizing: border-box;
border-radius: 12px;
align-self: start;
margin-left: 0.95rem;
box-shadow: 0 20px 48px rgb(0 0 0 / 0.34);
}
#fullscreen-cover-overlay #fullscreen-cover-image {
border-radius: 12px;
}
#fullscreen-cover-overlay .fullscreen-track-info {
grid-area: info;
width: 100%;
min-width: 0;
align-self: center;
display: grid;
gap: 0.3rem;
padding-top: 0.2rem;
padding-left: 0.95rem;
}
#fullscreen-cover-overlay .fullscreen-track-text {
display: grid;
gap: 0.14rem;
}
#fullscreen-cover-overlay #fullscreen-track-title {
font-size: clamp(1.1rem, 4.7vw, 1.34rem);
line-height: 1.04;
}
#fullscreen-cover-overlay #fullscreen-track-artist {
margin-top: 0;
font-size: 0.92rem;
color: rgb(255 255 255 / 0.7);
}
#fullscreen-cover-overlay .fullscreen-actions {
display: none !important;
}
#fullscreen-cover-overlay #fullscreen-next-track {
display: none !important;
}
#fullscreen-cover-overlay .fullscreen-lyrics-pane {
grid-area: lyrics;
width: 100%;
max-width: 100%;
min-height: 0;
min-width: 0;
box-sizing: border-box;
justify-self: stretch;
}
#fullscreen-cover-overlay .fullscreen-lyrics-shell {
min-height: 0;
position: relative;
background: transparent !important;
box-shadow: none !important;
border-radius: 0;
overflow: visible;
}
#fullscreen-cover-overlay .fullscreen-lyrics-content {
height: 100%;
padding: 0 0 0.2rem;
overflow: hidden;
mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 88%, transparent 100%);
}
#fullscreen-cover-overlay .fullscreen-lyrics-content am-lyrics {
--lyrics-scroll-padding-top: 18%;
--lyplus-font-size-base: clamp(1.75rem, 7vw, 2.35rem);
--lyplus-padding-line: 6px;
--lyplus-text-color: rgb(246, 244, 239, 0.16);
--lyplus-blur-amount: 0.16em;
--lyplus-blur-amount-near: 0.08em;
line-height: 1.2;
}
#fullscreen-cover-overlay .fullscreen-lyrics-empty,
#fullscreen-cover-overlay .fullscreen-lyrics-content .lyrics-loading,
#fullscreen-cover-overlay .fullscreen-lyrics-content .lyrics-error {
padding: 2.5rem 1.2rem 0;
}
#fullscreen-cover-overlay .fullscreen-controls {
grid-area: controls;
width: 100%;
max-width: none;
min-width: 0;
box-sizing: border-box;
margin-top: 0;
padding: 0.15rem 0 0;
gap: 0.9rem;
}
#fullscreen-cover-overlay .fullscreen-mobile-quality {
display: none;
}
#fullscreen-cover-overlay .fullscreen-volume-container {
display: none;
}
#fullscreen-cover-overlay .fullscreen-progress-container {
gap: 0.55rem;
font-size: 0.72rem;
}
#fullscreen-cover-overlay .fullscreen-buttons {
gap: 0.1rem;
justify-content: space-between;
}
#fullscreen-cover-overlay .fullscreen-buttons button {
width: 42px;
height: 42px;
}
#fullscreen-cover-overlay .fullscreen-buttons #fs-play-pause-btn {
width: 62px;
height: 62px;
box-shadow: 0 14px 28px rgb(0 0 0 / 0.3);
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-main-view {
display: grid;
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr) auto;
align-items: center;
justify-items: center;
gap: 0;
padding: calc(4.45rem + env(safe-area-inset-top)) clamp(1rem, 4vw, 1.4rem)
calc(0.8rem + env(safe-area-inset-bottom));
height: 100%;
width: 100%;
max-width: 100%;
min-width: 0;
overflow: hidden;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-lyrics-pane {
display: none;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-media-column {
display: flex;
flex-direction: column;
grid-row: 2;
justify-content: center;
align-items: center;
align-self: center;
width: min(100%, 320px);
max-width: min(88vw, 320px);
min-height: 0;
min-width: 0;
margin: 0 auto;
transform: none;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-artwork-card {
max-width: min(88vw, 320px);
width: min(100%, 320px);
margin: 0 auto;
align-self: center;
justify-self: center;
border-radius: 14px;
box-shadow: 0 24px 56px rgb(0 0 0 / 0.28);
}
#fullscreen-cover-overlay.lyrics-hidden #fullscreen-cover-image {
border-radius: 14px;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-track-info {
align-self: center;
width: min(100%, 320px);
padding: 0;
gap: 0.3rem;
margin-top: 0.9rem;
text-align: center;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-track-text {
gap: 0.2rem;
justify-items: center;
}
#fullscreen-cover-overlay.lyrics-hidden #fullscreen-track-title {
font-size: clamp(1.15rem, 5vw, 1.5rem);
line-height: 1.05;
}
#fullscreen-cover-overlay.lyrics-hidden #fullscreen-track-artist {
font-size: 0.95rem;
color: rgb(255 255 255 / 0.66);
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-controls {
grid-row: 4;
width: min(100%, 320px);
max-width: min(88vw, 320px);
justify-self: center;
align-self: end;
margin-top: 0;
}
#fullscreen-cover-overlay.lyrics-hidden #fullscreen-track-title .quality-badge,
#fullscreen-cover-overlay.lyrics-hidden #fullscreen-track-title .shaka-quality-badge {
display: none !important;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-mobile-quality {
display: flex;
justify-content: center;
align-items: center;
min-height: 1.25rem;
margin: 0 auto -0.1rem;
}
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-mobile-quality .quality-badge,
#fullscreen-cover-overlay.lyrics-hidden .fullscreen-mobile-quality .shaka-quality-badge {
display: inline-flex !important;
}
#fullscreen-cover-overlay .fullscreen-volume-container {
width: min(280px, calc(100% - 3rem));
margin-top: 0;
}
#fullscreen-cover-overlay .fs-volume-btn {
left: -2.5rem;
}
#fullscreen-cover-overlay .fs-volume-bar {
width: 100%;
}
}
/* ==========================================
Binaural / Spatial DSP
========================================== */
.binaural-dsp-container {
padding: var(--spacing-md) 0;
border-bottom: 1px solid var(--border);
}
.binaural-status {
padding: var(--spacing-sm) var(--spacing-md);
margin-bottom: var(--spacing-md);
background: var(--secondary);
border-radius: var(--radius-md);
font-size: 0.85rem;
color: var(--muted-foreground);
}
.binaural-mode-label {
font-weight: 500;
}
.binaural-sub-setting {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-sm) 0;
gap: var(--spacing-md);
min-width: 0;
}
.binaural-sub-setting select {
background: var(--secondary);
color: var(--foreground);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: var(--spacing-xs) var(--spacing-sm);
font-size: 0.85rem;
cursor: pointer;
}
.binaural-sub-setting .info {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1;
}
.binaural-sub-setting .label {
font-weight: 500;
font-size: 0.9rem;
}
.binaural-sub-setting .description {
font-size: 0.8rem;
color: var(--muted-foreground);
}
.binaural-slider {
width: 140px;
accent-color: var(--primary);
cursor: pointer;
}
.binaural-width-value {
font-size: 0.85rem;
font-weight: 500;
color: var(--primary);
min-width: 2.5em;
text-align: right;
}
.binaural-badge {
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.8;
vertical-align: middle;
}
img.cd {
border-radius: 50% !important;
box-shadow: none;
clip-path: url('#cd-hole-clip');
}
.fullscreen-artwork-card.cd {
position: relative;
border-radius: 50% !important;
border: 0.125vw solid #ccc;
animation: spin 200s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
.fullscreen-artwork-card.cd {
animation: none;
}
}
.cd-ring {
display: none;
}
.cd-ring.cd {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 23.5%;
height: 23.5%;
border-radius: 50%;
border: 0.125vw solid #ccc;
}