        @import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Manrope:wght@400;500;600;700;800&family=Orbitron:wght@400;700;900&family=Unbounded:wght@400;500;600;700;800;900&display=swap');
       
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        :root {
          --sidebar-bg: rgba(255, 255, 255, 0.137);
          --border-color: rgba(255, 255, 255, 0.2);
          --block-hover: rgba(255, 255, 255, 0.12);
          --block-bg: rgba(255, 255, 255, 0.08);
          --text-secondary: rgba(255, 255, 255, 0.7);
          --text-primary: #ffffff;
          --accent-color: #ff9a44;
          --accent-gradient: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
          --bg-gradient: linear-gradient(45deg, #1a1a1a, #2d2a1f, #4b3f26, #503923);
          --ui-font: 'Unbounded', 'Manrope', 'Segoe UI', sans-serif;
          --player-btn-size: 42px;
          --player-like-size: 42px;
        }

@font-face {
    font-family: 'g';
    src: url('fonts/g.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.titlebar {
  
  position: fixed;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.089);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 3000;
  -webkit-app-region: drag;
  user-select: none;
}

/* Кнопки окна */
.window-buttons {
  font-family: var(--ui-font);
  position: absolute;    /* позиционируем независимо от центра */
  right: 12px;           /* прижимаем к правому краю */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  -webkit-app-region: no-drag;
}

/* Кнопки */
.window-buttons button {
  font-family: var(--ui-font);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: white;
  font-size: 16px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-app-region: no-drag;
}

.window-buttons button:hover {
  font-family: var(--ui-font);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Логотип — по центру */
.titlebar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--ui-font);
  font-size: 20px;
  font-weight: 700;
  opacity: 0.5 !important;
  letter-spacing: 0.6px;
  pointer-events: none; /* чтобы не мешала перетаскиванию */
}

        
        body {
            font-family: var(--ui-font);
            font-optical-sizing: auto;
            overflow: hidden;
            height: 100vh;
            position: relative;
            user-select: none;
        }
        body,
        button,
        input,
        select,
        textarea {
            font-family: var(--ui-font);
            font-optical-sizing: auto;
        }
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }


.playerTitle,
.player-artist {
    font-family: var(--ui-font) !important;
}
            
        
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .container {
            display: flex;
            height: 99vh;
            padding: 20px;
            padding-bottom: 140px;
            gap: 20px;
            margin-top: 50px;
        }
        .sidebar {
            width: 200px;
            background: rgba(255, 255, 255, 0.089);
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 25px 20px;
            display: flex;
            flex-direction: column;
        }
        .logo {
            font-family: var(--ui-font);
            font-size: 5px;
            font-weight: 700;
            background: linear-gradient(135deg, rgba(255, 200, 100, 0.9), rgba(255, 150, 50, 0.7));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 30px;
            letter-spacing: 3px;
            text-shadow: none !important;
            animation: none !important;
            filter: none !important;
        }
        .user-info {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 1px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.103);
        }
        .user-info:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }
        .avatar {
            width: 40px;
            height: 40px;
            margin-top: 5px;
            margin-left: 5px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffffff9d 0%, #ffffff70 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: rgba(255, 255, 255, 0.185);
            border: 2px solid rgba(255, 255, 255, 0.3);
            overflow: hidden;
        }
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .username {
            color: white;
            font-weight: 600;
            font-size: 16px;
        }
        .nav-menu {
            
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex: 1;
        }
        .nav-item {
            padding: 10px 20px;
            color: rgba(255, 255, 255, 0.7);
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            border: 1px solid transparent;
        }
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: white;
            transform: translateX(5px);
        }
        .nav-item.active {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .norin {
            margin-top: auto; /* Автоматический отступ сверху, чтобы элемент был внизу */
            margin-bottom: 10px; /* Отступ снизу, чтобы не прилипало к краю */
            text-align: left; /* Выравнивание слева */
            padding-left: 50px; /* Отступ слева */
        }
        .author-link {
            font-size: 10px; /* уменьшает размер текста */
            color: rgba(255, 255, 255, 0.6); /* полупрозрачный белый, можно поменять */
            text-decoration: none; /* убирает подчёркивание */
            transition: 0.3s ease;
        }
        .author-link:hover {
            color: rgba(255, 255, 255, 0.185); /* подсветка при наведении */
        }
        .main-content {
            flex: 1;
            background: rgba(255, 255, 255, 0.089);
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 40px;
            overflow-y: auto;
            scrollbar-gutter: stable both-edges;
            
        }

        .main-content::-webkit-scrollbar {
            width: 8px;
        }

        .main-content::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.164);
            border-radius: 10px;
            margin: 30px 0; /* 🔥 вот это делает скролл короче сверху и снизу */
        }

        .content-header {
            text-align: center;
            margin-bottom: 30px;
        }
        .content-title {
            font-size: 36px;
            font-weight: 800;
            color: white;
            margin-bottom: 10px;
        }
        .content-subtitle {
            color: rgba(255, 255, 255, 0.6);
            font-size: 16px;
        }

        .content-subtitle2 {
            color: rgb(255, 255, 255);
            font-size: 16px;
        }

        .profile-settings {
            display: grid;
            gap: 25px;
            margin-bottom: 25px;
        }
        .setting-group {
            background: rgba(255, 255, 255, 0.08);
            padding: 25px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .setting-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .setting-input {
            width: 100%;
            padding: 12px 18px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            color: white;
            font-size: 15px;
            transition: all 0.3s ease;

        
        }
        .setting-input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.4);
        }
        .btn-primary {
            padding: 12px 30px;
            background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
            border: none;
            border-radius: 30px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 154, 68, 0.4);
        }
        .tracks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
            gap: 20px;
        }
        .track-card {
            font-family: var(--ui-font) !important;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 25px;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: default;
            transition:
                transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.45s ease;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            transform: translateZ(0);
        }
        .track-card:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-4px) scale(1.012);
            border-color: rgba(255, 255, 255, 0.24);
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }
.track-card {
    position: relative;
}

.track-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 24px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0.04) 42%,
        rgba(255, 255, 255, 0.11) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.track-card::after {
    content: '';
    position: absolute;
    top: -80%;
    left: -50%;
    width: 56%;
    height: 248%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.24),
        rgba(255, 255, 255, 0));
    transform: rotate(24deg) translateX(-36%);
    opacity: 0;
    transition: transform 0.82s ease, opacity 0.4s ease;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
}

.track-card > * {
    position: relative;
    z-index: 2;
}

.track-card:hover::before {
    opacity: 1;
}

.track-card:hover::after {
    opacity: 0.95;
    transform: rotate(24deg) translateX(220%);
}

.track-card.playing {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 40px rgba(255, 255, 255, 0.25),
        0 0 30px rgba(255, 255, 255, 0.25);
}

.track-card.playing::after {
    top: -84%;
    left: -50%;
    width: 64%;
    height: 264%;
    border-radius: 30px;
    background: linear-gradient(120deg,
        rgba(253, 253, 253, 0.055),
        rgba(255, 255, 255, 0.096),
        rgba(255, 255, 255, 0.103),
        rgba(255, 255, 255, 0.034),
        rgba(255, 255, 255, 0.041));
    background-size: 300% 300%;
    animation: trackGradientGlow 4s linear infinite;
    z-index: 1;
    opacity: 1;
    filter: blur(20px);
    pointer-events: none;
    transform: rotate(20deg) translateX(0);
}

.track-card.playing::before {
    inset: 1px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.068);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

@keyframes trackGradientGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.track-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}
.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition:
        opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.38s ease;
    pointer-events: none;  /* ← важно */
}
.track-card:hover .play-overlay {
    opacity: 1;
}
.track-card.playing .play-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.42);
}
.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    pointer-events: auto; /* ← обязательно */
    position: relative;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
        .play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(231, 231, 231, 0.384);
        }
.play-btn:not(.playing)::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 3px;
}
.play-btn.playing::before,
.play-btn.playing::after {
    content: '';
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: currentColor;
}
.play-btn.playing::before {
    margin-right: 6px;
}
.play-btn.playing::after {
    width: 4px;
    height: 18px;
    border: none;
    margin-left: 0;
}

.track-menu-btn,
.track-remove-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(13, 17, 24, 0.72);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.track-remove-btn {
    right: 64px;
}

.track-menu-btn:hover,
.track-remove-btn:hover {
    transform: translateY(-1px) scale(1.04);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.track-menu-btn i,
.track-remove-btn i {
    pointer-events: none;
    font-size: 14px;
}

.content-subtitle2 {
    display: inline-block;
    margin-right: 10px;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    color: #ffffff;
}

.copy-btn:hover {
    color: #cfcfcf;
}

        .track-info {
            color: white;
        }
        .track-title {
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .track-artist {
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .player-bar {
            position: fixed;
            background: rgba(255, 255, 255, 0.089);
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
            bottom: 15px;
            left: 50%;
            height: 64px;
            transform: translateX(-50%);
            width: calc(100% - 40px);
            max-width: 1200px;
            backdrop-filter: blur(50px);
            border-radius: 50px;
            padding: 4px 18px 4px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 3200;
            isolation: isolate;
            pointer-events: auto;
        }
        .player-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            position: relative;
            z-index: 4;
            pointer-events: auto;
        }
        .control-btn {
            width: var(--player-btn-size);
            height: var(--player-btn-size);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
        }
        .control-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.05);
            border-color: rgba(255, 255, 255, 0.4);
        }
        .control-btn.play-pause {
            width: var(--player-btn-size);
            height: var(--player-btn-size);
            border: 1.5px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 14px rgba(255, 255, 255, 0.18);
        }
        .control-btn.play-pause:hover {
            box-shadow: 0 6px 18px rgba(255, 255, 255, 0.28);
        }
        .control-btn.prev::after {
            content: '';
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 8px 12px 8px 0;
            border-color: transparent rgba(255, 255, 255, 0.801) transparent transparent;
            margin-right: 4px;
        }

        
        .control-btn.next::after {
            content: '';
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 8px 0 8px 12px;
            border-color: transparent transparent transparent rgba(255, 255, 255, 0.801);
            margin-left: 4px;
        }

        .control-btn.play-pause.playing::before {
            content: '';
            width: 4px;
            height: 15px;
            background: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-6px, -50%);
            border-radius: 999px;
        }
        .control-btn.play-pause.playing::after {
            content: '';
            width: 4px;
            height: 15px;
            background: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(2px, -50%);
            border-radius: 999px;
        }
        .control-btn.play-pause:not(.playing)::after {
            content: '';
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 9px 0 9px 14px;
            border-color: transparent transparent transparent white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-34%, -50%);
        }
        .progress-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            min-width: 0;
            padding: 0 2px;
            position: relative;
            isolation: isolate;
            z-index: 8;
            cursor: pointer;
            pointer-events: auto;
            touch-action: none;
        }
        .progress-bar {
            flex: 1;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            min-width: 0;
            z-index: 2;
            pointer-events: none;
        }
        .progress-fill {
            height: 100%;
            border-radius: 3px;
            width: 0%;
            transition: width 0.1s linear;
            pointer-events: none;
        }
        #currentTime,
        #totalTime {
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            white-space: nowrap;
            pointer-events: none;
            user-select: none;
            position: relative;
            z-index: 2;
        }
        .time-display {
            display: flex;
            justify-content: space-between;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
        }
        .player-info {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 0 1 190px;
            max-width: 190px;
            margin-left: 0;
            pointer-events: none;
            position: relative;
            z-index: 2;
        }
        .player-like-slot {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            margin-left: 0;
            position: relative;
            z-index: 4;
            pointer-events: auto;
        }
        .player-repeat-slot {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            margin-left: 0;
            position: relative;
            z-index: 4;
            pointer-events: auto;
        }
        .player-divider {
            width: 1px;
            height: 34px;
            background: rgba(255, 255, 255, 0.34);
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
            flex: 0 0 auto;
            margin: 0 4px;
            pointer-events: none;
        }
        .player-cover {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: linear-gradient(135deg, #ffffff 0%, #999999 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex: 0 0 42px;
            pointer-events: auto;
            cursor: pointer;
            transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
            border: 1px solid rgba(255, 255, 255, 0.16);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
            outline: none;
        }
        .player-cover:hover,
        .player-cover:focus-visible {
            transform: translateY(-1px) scale(1.04);
            box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
            border-color: rgba(255, 255, 255, 0.32);
            filter: saturate(1.05);
        }
        .player-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }
        .player-text {
            font-family: var(--ui-font) !important;
            flex: 1;
            min-width: 0;
        }

.player-title {
  color: white;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  max-width: 128px;
}

.player-title span {
  display: inline-block;
  will-change: transform;
  transform: translateX(0);
}

/* Только для длинных треков */
.player-title.scrolling span {
  animation: scrollTitle 12s ease-in-out infinite;
}

/* Плавное движение туда-сюда с паузами */
@keyframes scrollTitle {
  0%, 10% {
    transform: translateX(0); /* пауза в начале */
  }
  45%, 55% {
    transform: translateX(var(--scroll-distance)); /* прокрутка влево и пауза на конце */
  }
  90%, 100% {
    transform: translateX(0); /* возврат и пауза */
  }
}
.cookie-box {
    font-family: var(--ui-font);
    position: fixed;
    bottom: 94px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);

    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);

    z-index: 5000;
    animation: cookieFade 0.4s ease forwards;
    pointer-events: none;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes cookieFade {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.cookie-text {
    font-family: var(--ui-font) !important;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.5;
}

.cookie-btn {
    margin-top: 10px;
    width: 110px;
    padding: 10px 0;
    border-radius: 20px;

    background: linear-gradient(135deg, #6d6d6d, #979696);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    pointer-events: auto;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.35);
}

.hidden {
    display: none !important;
}


        .player-artist {
            max-width: 128px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .volume-control {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 4;
            pointer-events: auto;
        }
        .volume-slider {
            width: 0;
            opacity: 0;
            transition: all 0.3s ease;
        }
        .volume-control:hover .volume-slider {
            width: 100px;
            opacity: 1;
        }
        .volume-slider input {
            width: 100%;
            cursor: pointer;
        }
        .like-btn {
            width: var(--player-btn-size);
            height: var(--player-btn-size);
            min-width: var(--player-btn-size);
            flex: 0 0 var(--player-btn-size);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            cursor: pointer;
            display: flex;
            font-size: 20px;
            font-weight: 800;
            line-height: 1;
            align-items: center;
            justify-content: center;
            transform: scale(1);
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
            transition: transform 0.2s ease, background 0.25s ease, color 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
            position: relative;
            font-family: 'Segoe UI Symbol', 'Arial Unicode MS', var(--ui-font);
        }
        .like-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-1px) scale(1.02);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
        }
        .like-btn.liked {
            color: #ff4757;
            font-size: 21px;
            transform: scale(1.02);
            text-shadow: 0 5px 12px rgba(255, 71, 87, 0.2);
            box-shadow: 0 10px 22px rgba(255, 71, 87, 0.14);
        }
        .like-btn.like-bounce {
            animation: likeButtonHop 1.35s cubic-bezier(0.22, 1, 0.36, 1);
        }
        @keyframes likeButtonHop {
            0% { transform: translateY(0) scale(1); }
            12% { transform: translateY(-2px) scale(0.98); }
            26% { transform: translateY(-8px) scale(1.08); }
            42% { transform: translateY(-2px) scale(1.03); }
            58% { transform: translateY(-5px) scale(1.05); }
            76% { transform: translateY(0) scale(1.01); }
            100% { transform: translateY(0) scale(1); }
        }
        .repeat-btn {
            width: var(--player-btn-size);
            height: var(--player-btn-size);
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.14);
            color: rgba(255, 255, 255, 0.92);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
            transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
        }
        .repeat-btn:hover {
            transform: translateY(-1px) scale(1.03);
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.34);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
        }
        .repeat-btn svg {
            width: 19px;
            height: 19px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
            overflow: visible;
            pointer-events: none;
        }
        .repeat-btn text {
            fill: currentColor;
            stroke: none;
            font-size: 8px;
            font-weight: 700;
            text-anchor: middle;
            font-family: var(--ui-font);
        }
        .repeat-btn[data-mode="off"] {
            color: rgba(255, 255, 255, 0.52);
            background: rgba(255, 255, 255, 0.08);
        }
        .repeat-btn[data-mode="context"] {
            color: rgba(255, 255, 255, 0.96);
            background: rgba(255, 255, 255, 0.18);
        }
        .repeat-btn[data-mode="track"] {
            color: #141414;
            background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
            border-color: rgba(255, 255, 255, 0.96);
            box-shadow: 0 12px 26px rgba(255, 255, 255, 0.18);
        }
        .player-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            margin-left: 0;
            position: relative;
            z-index: 4;
            pointer-events: auto;
        }
        .player-action-btn {
            width: var(--player-btn-size);
            height: var(--player-btn-size);
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            flex: 0 0 auto;
        }
        .player-action-btn:hover {
            transform: translateY(-2px) scale(1.04);
            background: rgba(255, 255, 255, 0.18);
        }
        .player-action-btn i {
            font-size: 18px;
            line-height: 1;
            pointer-events: none;
        }
        .player-action-btn.pitch-action {
            background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
            color: #111111;
            border-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 8px 18px rgba(255, 255, 255, 0.16);
        }
        .player-action-btn.pitch-action:hover {
            background: #ffffff;
            box-shadow: 0 10px 22px rgba(255, 255, 255, 0.22);
        }
        .search-toolbar {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 18px;
        }
        .search-toolbar .setting-input {
            flex: 1;
            margin-bottom: 0;
        }
        .search-submit {
            margin: 0;
            flex: 0 0 auto;
        }
        .search-local-add {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 18px;
            margin-bottom: 24px;
            padding: 18px 20px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }
        .search-local-copy {
            min-width: 0;
        }
        .search-local-title {
            color: white;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .search-local-subtitle {
            color: rgba(255, 255, 255, 0.68);
            font-size: 13px;
            line-height: 1.45;
        }
        .search-local-btn {
            flex: 0 0 auto;
            white-space: nowrap;
        }
        .add-track-form {
            background: rgba(255, 255, 255, 0.08);
            padding: 25px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 30px;
        }
        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 15px;
            margin-bottom: 15px;
        }
        .file-upload {
            position: relative;
            margin-bottom: 15px;
        }
        .file-upload input[type="file"] {
            display: none;
        }
        .file-upload-label {
            display: block;
            padding: 12px 18px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px dashed rgba(255, 255, 255, 0.3);
            border-radius: 30px;
            color: rgba(255, 255, 255, 0.7);
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .file-upload-label:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.5);
        }
        .file-upload-label.has-file {
            border-style: solid;
            background: rgba(255, 154, 68, 0.2);
            border-color: rgba(255, 154, 68, 0.5);
        }
        .profile-avatar-upload {
            margin-bottom: 0;
        }
        .profile-avatar-label {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 18px;
            text-align: left;
            min-height: 78px;
        }
        .profile-avatar-slot {
            width: 48px;
            height: 48px;
            margin: 0;
            flex: 0 0 48px;
            border-width: 2px;
            border-color: rgba(255, 255, 255, 0.34);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
        }
        .profile-avatar-text {
            display: block;
            flex: 1;
            min-width: 0;
            line-height: 1.4;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .profile-avatar-label.has-file .profile-avatar-text {
            color: white;
        }
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        .hidden {
            display: none;
        }
        .mini-overlay {
            position: fixed;
            inset: 0;
            z-index: 6000;
            background: rgba(5, 5, 8, 0.48);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .cover-preview-overlay {
            z-index: 6080;
            background: radial-gradient(circle at center, rgba(28, 34, 52, 0.16) 0%, rgba(5, 7, 11, 0.62) 100%);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            cursor: default;
        }
        .cover-preview-shell {
            width: min(430px, calc(100vw - 56px));
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cover-preview-card {
            --cover-preview-shift-x: 0px;
            --cover-preview-shift-y: 0px;
            --cover-preview-rotate-x: 0deg;
            --cover-preview-rotate-y: 0deg;
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 30px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.08);
            box-shadow:
                0 36px 90px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transform:
                perspective(1200px)
                translate3d(var(--cover-preview-shift-x), var(--cover-preview-shift-y), 0)
                rotateX(var(--cover-preview-rotate-x))
                rotateY(var(--cover-preview-rotate-y));
            transition: transform 0.16s ease-out, box-shadow 0.2s ease-out;
            will-change: transform;
        }
        .cover-preview-glow {
            position: absolute;
            inset: -14%;
            background:
                radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 42%),
                radial-gradient(circle at 78% 84%, rgba(114, 163, 255, 0.2) 0%, rgba(114, 163, 255, 0) 44%);
            pointer-events: none;
            z-index: 1;
        }
        .cover-preview-media {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
        }
        .cover-preview-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .cover-preview-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
            color: white;
            font-size: clamp(110px, 19vw, 170px);
            line-height: 1;
            user-select: none;
        }
        .mini-window {
            position: relative;
            width: min(760px, calc(100vw - 40px));
            max-height: calc(100vh - 60px);
            overflow: auto;
            background: rgba(16, 16, 20, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 22px;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
            padding: 18px;
        }
        .mini-window-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 16px;
        }
        .mini-window-title {
            color: white;
            font-size: 18px;
            font-weight: 700;
        }
        .mini-window-subtitle {
            margin-top: 5px;
            color: rgba(255, 255, 255, 0.62);
            font-size: 13px;
            line-height: 1.45;
            font-family: var(--ui-font) !important;
        }
        .mini-error {
            margin-top: 10px;
            color: rgba(255, 120, 120, 0.9);
            font-size: 13px;
            line-height: 1.45;
            font-family: var(--ui-font) !important;
        }
        .mini-close-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.12);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            line-height: 1;
            transition: all 0.25s ease;
            -webkit-app-region: no-drag;
        }
        .mini-close-btn:hover {
            transform: rotate(90deg);
            background: rgba(255, 255, 255, 0.2);
        }
        .add-track-window {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .add-track-window .setting-input {
            width: 100%;
        }
        .add-track-window .form-row {
            margin-bottom: 0;
        }
        .add-track-window .file-upload {
            margin-bottom: 0;
        }
        .add-track-window .btn-primary {
            width: 100%;
        }
        .soundcloud-id-window {
            width: min(440px, calc(100vw - 40px));
            overflow: visible;
        }
        .soundcloud-id-window .setting-input {
            width: 100%;
        }
        .soundcloud-id-window .btn-primary {
            width: 100%;
        }
        .playlist-picker-window {
            width: min(460px, calc(100vw - 40px));
        }
        .playlist-create-row {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-bottom: 14px;
        }
        .playlist-create-btn {
            margin-top: 0;
            flex: 0 0 auto;
            white-space: nowrap;
        }
        .playlist-picker-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .playlist-pick-item {
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.06);
            border-radius: 18px;
            color: white;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }
        .playlist-pick-item:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.24);
        }
        .playlist-pick-item small {
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
        }
        .playlist-empty {
            padding: 18px;
            border-radius: 18px;
            border: 1px dashed rgba(255, 255, 255, 0.16);
            color: rgba(255, 255, 255, 0.56);
            text-align: center;
        }
        .playlist-create-panel {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
            padding: 16px;
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
        }
        .playlist-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 18px;
        }
        .playlist-card {
            position: relative;
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            padding: 18px;
            cursor: pointer;
            transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        }
        .playlist-card:hover {
            transform: translateY(-4px);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
        }
        .playlist-card-cover {
            width: 100%;
            aspect-ratio: 1.05;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255, 154, 68, 0.42) 0%, rgba(252, 96, 118, 0.42) 100%);
            color: white;
        }
        .playlist-card-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .playlist-card-cover i {
            font-size: 42px;
            opacity: 0.9;
        }
        .playlist-card-name {
            color: white;
            font-size: 16px;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .playlist-card-count {
            margin-top: 4px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
        }
        .playlist-card.shared-playlist {
            opacity: 0.72;
            border-style: dashed;
        }
        .playlist-card.shared-playlist:hover {
            opacity: 0.94;
        }
        .playlist-header {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .playlist-header-main {
            flex: 1;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .playlist-title-block {
            min-width: 0;
        }
        .playlist-title-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .playlist-title-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 0 0 auto;
        }
        .playlist-share-btn,
        .playlist-copy-btn {
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.08);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
        }
        .playlist-share-btn:hover,
        .playlist-copy-btn:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.26);
        }
        .playlist-share-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            transform: none;
        }
        .playlist-share-btn {
            min-height: 40px;
            padding: 0 16px;
            border-radius: 14px;
            font-size: 13px;
            font-weight: 700;
        }
        .playlist-copy-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
        }
        .playlist-shared-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            border: 1px dashed rgba(255, 255, 255, 0.26);
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.84);
            font-size: 12px;
            font-weight: 700;
        }
        .playlist-back-btn,
        .playlist-delete-btn {
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.08);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }
        .playlist-back-btn:hover,
        .playlist-delete-btn:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.26);
        }
        .playlist-back-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex: 0 0 auto;
        }
        .playlist-delete-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
        }
        .playlist-back-btn i,
        .playlist-delete-btn i,
        .playlist-copy-btn i {
            pointer-events: none;
        }
        .together-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            margin-bottom: 22px;
        }
        .together-panel {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .together-note {
            color: rgba(255, 255, 255, 0.66);
            font-size: 13px;
            line-height: 1.55;
        }
        .together-address-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .together-address-pill,
        .together-secondary-btn {
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.08);
            color: white;
            border-radius: 16px;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }
        .together-address-pill {
            padding: 10px 14px;
            font-size: 13px;
        }
        .together-address-pill.preferred {
            border-color: rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.14);
        }
        .together-address-pill:hover,
        .together-secondary-btn:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.24);
        }
        .together-room-card {
            padding: 16px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .together-room-code {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: fit-content;
            min-width: 104px;
            padding: 10px 18px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: white;
            font-size: 18px;
            font-weight: 800;
            letter-spacing: 0.06em;
        }
        .together-room-line,
        .together-status-row,
        .together-member {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .together-room-line span,
        .together-status-row span {
            color: rgba(255, 255, 255, 0.56);
            font-size: 13px;
        }
        .together-room-line strong,
        .together-status-row strong {
            color: white;
            font-size: 14px;
            font-weight: 700;
            text-align: right;
        }
        .together-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .together-action-btn,
        .together-secondary-btn {
            margin-top: 0;
        }
        .together-action-btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .together-secondary-btn {
            padding: 12px 18px;
            font-size: 14px;
            font-weight: 600;
        }
        .together-firewall-btn {
            background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
            border: none;
            box-shadow: 0 8px 20px rgba(255, 154, 68, 0.22);
        }
        .together-firewall-btn:hover {
            background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
            box-shadow: 0 10px 22px rgba(255, 154, 68, 0.36);
        }
        .together-input {
            margin-bottom: 0;
        }
        .together-status-panel {
            gap: 12px;
        }
        .together-members-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 4px;
        }
        .together-member {
            padding: 12px 14px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.05);
            color: white;
            font-size: 14px;
        }
        .together-member-role {
            color: rgba(255, 255, 255, 0.62);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        .together-empty {
            padding: 14px 16px;
            border-radius: 16px;
            border: 1px dashed rgba(255, 255, 255, 0.14);
            color: rgba(255, 255, 255, 0.58);
            font-size: 13px;
            line-height: 1.5;
        }
        .pitch-overlay {
            z-index: 6100;
        }
        .pitch-window {
            position: relative;
            width: min(320px, calc(100vw - 40px));
            background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 26px;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
            padding: 18px;
            color: #111111;
        }
        .pitch-window-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 18px;
        }
        .pitch-track-label {
            max-width: 220px;
            color: #111111;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .pitch-close-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: none;
            background: rgba(17, 17, 17, 0.08);
            color: #111111;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            line-height: 1;
            transition: all 0.25s ease;
        }
        .pitch-close-btn:hover {
            background: rgba(17, 17, 17, 0.15);
            transform: rotate(90deg);
        }
        .pitch-window-body {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 4px 0 4px;
        }
        .pitch-dial-label {
            color: rgba(17, 17, 17, 0.52);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .pitch-window-footer {
            display: flex;
            justify-content: center;
            padding-top: 12px;
        }
        .pitch-secondary-btn {
            width: 100%;
            border: 1px solid rgba(17, 17, 17, 0.12);
            border-radius: 18px;
            background: rgba(17, 17, 17, 0.06);
            color: #111111;
            font-size: 13px;
            font-weight: 700;
            padding: 11px 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .pitch-secondary-btn:hover {
            background: rgba(17, 17, 17, 0.12);
            transform: translateY(-1px);
        }
        .pitch-dial {
            --pitch-progress: 0deg;
            position: relative;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            cursor: grab;
            user-select: none;
            touch-action: none;
            background: radial-gradient(circle at 50% 50%, #ffffff 0 45%, #efefef 46% 68%, #d4d4d4 69% 100%);
            box-shadow:
                inset 0 2px 10px rgba(255, 255, 255, 0.65),
                inset 0 -6px 16px rgba(0, 0, 0, 0.08),
                0 16px 35px rgba(0, 0, 0, 0.18);
        }
        .pitch-dial:active {
            cursor: grabbing;
        }
        .pitch-dial-ring {
            position: absolute;
            inset: 12px;
            border-radius: 50%;
            background: conic-gradient(from -135deg, #ff9a44 0deg var(--pitch-progress), rgba(0, 0, 0, 0.09) var(--pitch-progress) 270deg, transparent 270deg 360deg);
            -webkit-mask: radial-gradient(circle, transparent 0 62%, #000 63%);
            mask: radial-gradient(circle, transparent 0 62%, #000 63%);
        }
        .pitch-dial-pointer {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 4px;
            height: 44px;
            margin-left: -2px;
            margin-top: -74px;
            transform-origin: center 74px;
            background: #111111;
            border-radius: 999px;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95);
            z-index: 1;
        }
        .pitch-dial-value {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            min-width: 86px;
            text-align: center;
            font-size: 30px;
            font-weight: 800;
            color: #111111;
            font-variant-numeric: tabular-nums;
            z-index: 2;
        }
        input[type="range"] {
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            margin-bottom: 12px;
            height: 5px;
            outline: none;

        }
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 15px;
            height: 15px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
        }
        .fade-in {
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .track-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            padding: 40px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }
        .track-page.active {
            opacity: 1;
            pointer-events: all;
        }
        .track-page-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        .audio-visualizer {
            position: fixed; /* прикрепляем к экрану */
            left: 0;
            bottom: 0; /* у нижней границы окна */
            width: 100%; /* на всю ширину */
            height: 120px; /* прежняя высота */
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 3px;
            background: transparent; /* если фон не нужен */
        }
        .visualizer-bar {
            width: 3px;
            position: absolute;   /* внутри waveform-container */
            background: linear-gradient(to top, rgba(255,120,180,0.8), rgba(255,255,255,0.4));
            border-radius: 2px;
            height: 20px;
            transition: height 0.15s ease, opacity 0.15s ease;
            z-index: 1201;
        }
        @keyframes pulse {
            0% { height: 20px; transform: scaleY(1); }
            100% { height: 100px; transform: scaleY(1.2); }
        }

        .equalizer {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 6px;
            height: 70px;
            width: 70%;
            margin: 20px auto 0;
        }

        .equalizer-bar {
            width: 5px;
            background: linear-gradient(to top, #ff9a44, #fc6076);
            border-radius: 3px;
            height: 20px;
            animation: eqPulse 1s ease-in-out infinite;
            opacity: 0.85;
        }

        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
        }
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 180, 100, 0.3);
            border-radius: 50%;
            animation: float 10s infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
        }
        .close-track-page {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
            margin-top: 40px;
        }
        .close-track-page:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }
        .track-page-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            position: relative;
            z-index: 1;
            margin-top: 50px;
        }
.track-page-cover-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
    margin-top: 30px;
    z-index: 5;
}

.track-page-cover {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.1s ease-out;
}

.cover-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: -1;
    transition: box-shadow 0.1s ease-out;
}
        .track-page-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 30px;
        }
        
        .dance-gif-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            z-index: 10;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
.dance-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    display: block;
    max-width: 100%;
    max-height: 100%;
}
        
        .track-page-info {
            text-align: center;
            margin-bottom: 40px;
        }
        .track-page-title {
            font-size: 48px;
            font-weight: 700;
            color: white;
            margin-bottom: 15px;
        }
        .track-page-artist {
            font-size: 24px;
            color: rgba(255, 255, 255, 0.7);
        }
        .waveform-container {
            width: 80%;
            max-width: 1000px;
            height: 150px;
            border-radius: 15px;
            padding: 10px;
            position: relative;
            cursor: pointer;
            overflow: hidden;
            z-index: 1;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        #spectrumCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        #fullscreenVisualizer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            opacity: 0.5;
        }
        .waveform {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 2px;
        }
        .waveform-bar {
            flex: 1;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            transition: background 0.3s ease;
            cursor: pointer;
        }
        .waveform-bar.played {
            background: linear-gradient(to top, #ff9a44, #fc6076);
        }
        .waveform-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            pointer-events: none;
            transition: width 0.1s linear;
        }

        #soundcloudPlayer iframe {
            position: absolute;
            width: 0 !important;
            height: 0 !important;
            opacity: 0;
            pointer-events: none;
        }

        .avatar-upload {
            position: relative;
            width: 50px;
            height: 50px;
        }
        .avatar-upload input {
            display: none;
        }
        .avatar-upload label {
            cursor: pointer;
            display: block;
        }
        .main-scroll {
            overflow-y: auto;
            height: 100%;
            scrollbar-gutter: stable both-edges;
        }

        /* ===== 🌈 Выбор темы ===== */

.theme-carousel-container {
  margin-top: 20px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 22px 24px 24px;
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  transition: background 0.5s ease, border-color 0.5s ease;
}

.theme-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
  width: 100%;
  min-width: 0;
}

.theme-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  width: 100%;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.07);
  min-width: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px;
  cursor: pointer;
  transition: 
      transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      background 0.4s ease,
      border-color 0.4s ease,
      box-shadow 0.4s ease;
}

.theme-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.theme-card::after {
  content: '';
  position: absolute;
  top: -78%;
  left: -48%;
  width: 62%;
  height: 255%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  transform: rotate(24deg) translateX(-32%);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.theme-card > * {
  position: relative;
  z-index: 1;
}

.theme-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-color);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.theme-card:hover::before {
  opacity: 1;
}

.theme-card:hover::after {
  opacity: 1;
  transform: rotate(24deg) translateX(236%);
}

.theme-card.active {
  border-color: var(--accent-color);
  transform: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.theme-preview {
  width: 100%;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 10px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, filter 0.4s ease;
}

.theme-card:hover .theme-preview {
  transform: scale(1.02) translateY(-1px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
}

.theme-card span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .theme-carousel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .theme-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .together-grid {
    grid-template-columns: 1fr;
  }

  .profile-avatar-label,
  .playlist-create-panel,
  .playlist-create-row {
    flex-direction: column;
    align-items: stretch;
  }

  .playlist-header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .playlist-title-actions {
    width: 100%;
  }

  .playlist-share-btn {
    width: 100%;
  }

  .profile-avatar-slot {
    align-self: flex-start;
  }

  .profile-avatar-text {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .theme-carousel {
    grid-template-columns: 1fr;
  }
}

/* ✨ Плавная анимация между темами */
html, body, .animated-bg, .sidebar, .main-content, .player-bar {
  transition: 
      background 1.2s ease,
      background-color 1.2s ease,
      color 0.8s ease,
      border-color 0.8s ease,
      box-shadow 0.8s ease;
}

/* ========================================
   EQ BUTTON & PANEL (Pro Q 3 Style)
   ======================================== */
.eq-button-container {
    position: fixed;
    bottom: 57px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.eq-button {
    background: rgba(255, 255, 255, 0.034);
    border: 1px solid rgba(255, 255, 255, 0.192);
    border-radius: 50px;
    padding: 2px 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.eq-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.eq-panel {
    position: absolute;
    bottom: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 380px;
    max-width: 90vw;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 14px 16px;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}

.eq-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
    z-index: -1;
}

.eq-panel.eq-panel-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(-10px);
}

.eq-button-active {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.eq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.eq-header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eq-title {
    color: white;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.eq-reset-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.363);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.eq-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.eq-close-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.eq-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.4);
}

.eq-warning {
    font-family: var(--ui-font) !important;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 6px 8px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.eq-bands {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4px;
    min-height: 200px;
    padding: 12px 0;
}

.eq-band {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.eq-band-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.eq-band-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 9px;
    font-weight: 600;
    margin-top: 3px;
    min-height: 12px;
}

.eq-slider-container {
    position: relative;
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 170px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    transform: rotate(-90deg);
    position: absolute;
    cursor: pointer;
}

.eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ff9a44, #fc6076);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.eq-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.226);
}

.eq-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ff9a44, #fc6076);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 154, 68, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.eq-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 154, 68, 0.6);
}

.eq-slider-track {
    position: absolute;
    width: 4px;
    background: rgba(255, 255, 255, 0.15);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.eq-slider-center {
    position: absolute;
    width: 1.5px;
    height: 170px;
    background: rgba(255, 255, 255, 0.25);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.eq-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.eq-presets select {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 6px 10px;
    color: white;
    font-size: 11px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.eq-presets select:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.eq-presets select option {
    background: rgba(20, 20, 25, 0.95);
    color: white;
    backdrop-filter: blur(20px);
}

/* Paper theme hard override */
:root {
    color-scheme: light;
    --sidebar-bg: rgba(255, 255, 255, 0.78);
    --border-color: rgba(18, 18, 18, 0.12);
    --block-hover: rgba(18, 18, 18, 0.05);
    --block-bg: rgba(255, 255, 255, 0.84);
    --text-secondary: rgba(18, 18, 18, 0.64);
    --text-primary: #111111;
    --accent-color: #111111;
    --accent-gradient: linear-gradient(135deg, #111111 0%, #4f4f4f 100%);
    --bg-gradient: linear-gradient(135deg, #f8f4ed, #ffffff, #f1ede5, #fbf8f2);
}

.animated-bg {
    background: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

.titlebar,
.sidebar,
.main-content,
.player-bar,
.mini-window,
.pitch-window,
.cookie-box,
.setting-group,
.track-card,
.theme-card,
.user-info,
.eq-button {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(18, 18, 18, 0.12);
    color: #111111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.titlebar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(18, 18, 18, 0.08);
}

.logo,
.titlebar .logo {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #111111;
    color: #111111;
    text-shadow: none;
}

.window-buttons button {
    color: #111111;
}

.window-buttons button:hover {
    background: rgba(0, 0, 0, 0.08);
}

.avatar {
    background: linear-gradient(135deg, #ffffff, #ece6db);
    border-color: rgba(18, 18, 18, 0.15);
    color: rgba(17, 17, 17, 0.36);
}

.username,
.content-title,
.content-subtitle2,
.track-info,
.track-title,
.track-artist,
.player-title,
.player-artist,
.setting-label,
.mini-window-title,
.pitch-track-label,
.cookie-title,
.cookie-text,
.theme-card span,
.eq-button,
.author-link {
    color: #111111;
}

.nav-item {
    color: rgba(17, 17, 17, 0.72);
}

.nav-item:hover,
.nav-item.active {
    background: rgba(0, 0, 0, 0.08);
    color: #111111;
    border-color: rgba(0, 0, 0, 0.12);
}

.content-subtitle,
.player-artist,
#currentTime,
#totalTime {
    color: rgba(17, 17, 17, 0.64);
}

.setting-input,
.eq-presets select {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(18, 18, 18, 0.12);
    color: #111111;
}

.eq-presets select:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(17, 17, 17, 0.22);
}

.eq-presets select option {
    background: #ffffff;
    color: #111111;
}

.btn-primary {
    background: linear-gradient(135deg, #111111 0%, #4f4f4f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}

.track-card,
.theme-card {
    background: rgba(255, 255, 255, 0.92);
}

.track-card:hover,
.theme-card:hover,
.track-card.playing {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(18, 18, 18, 0.18);
}

.track-cover {
    background: linear-gradient(135deg, #f8f2e8 0%, #dfd6c8 100%);
}

.play-btn {
    background: linear-gradient(135deg, #ffffff 0%, #dedede 100%);
    border-color: rgba(18, 18, 18, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: #111111;
}

.play-btn::after {
    border-color: transparent transparent transparent #111111;
}

.player-bar {
    backdrop-filter: blur(28px);
}

.player-cover {
    background: linear-gradient(135deg, #ffffff 0%, #e7e0d5 100%);
}

.control-btn {
    background: rgba(17, 17, 17, 0.08);
    color: #111111;
}

.control-btn:hover {
    background: rgba(17, 17, 17, 0.14);
}

.control-btn.play-pause {
    background: linear-gradient(135deg, #111111 0%, #4f4f4f 100%);
    color: #ffffff;
}

.eq-band-label {
    color: rgba(17, 17, 17, 0.72);
}

.eq-band-value {
    color: rgba(17, 17, 17, 0.62);
}

.eq-slider,
.eq-slider-track {
    background: rgba(17, 17, 17, 0.12);
}

.eq-slider-center {
    background: rgba(17, 17, 17, 0.18);
}

.eq-slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, #111111, #4f4f4f);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.18), 0 0 0 2px rgba(17, 17, 17, 0.08);
    border: 1.5px solid rgba(17, 17, 17, 0.18);
}

.eq-slider::-moz-range-thumb {
    background: linear-gradient(135deg, #111111, #4f4f4f);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.18), 0 0 0 2px rgba(17, 17, 17, 0.08);
    border: 1.5px solid rgba(17, 17, 17, 0.18);
}

.eq-footer {
    border-top-color: rgba(17, 17, 17, 0.12);
}
