:root {
    --bg-deep: #080711;
    --bg-panel: rgba(28, 26, 45, 0.65);
    --bg-panel-solid: #121023;
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --neon-cyan: #00ffe6;
    --neon-pink: #ff007f;
    --neon-purple: #8b00ff;
    --neon-emerald: #10b981;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 230, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Ambient glowing headers */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(8, 7, 17, 0.8);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--neon-pink);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--neon-pink);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* Language Toggle design */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-select {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn {
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.lang-btn.active {
    color: #fff;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* Reusable Glass Card Panel */
.glass-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 14px 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
    min-width: 0;
    max-width: 100%;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Layout Container: 95% Width */
main {
    max-width: 95%;
    width: 95%;
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ----------------------------------------------------
   HORIZONTAL NOW PLAYING DASHBOARD ROW
   ---------------------------------------------------- */
.now-playing-row {
    display: flex;
    align-items: center;
    gap: 35px;
    width: 100%;
}

.now-playing-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.now-playing-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    width: 100%;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.genre-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.genre-badge.cyan {
    background: rgba(0, 255, 230, 0.1);
    border-color: rgba(0, 255, 230, 0.3);
    color: var(--neon-cyan);
    box-shadow: 0 0 5px rgba(0, 255, 230, 0.1);
}

.genre-badge.purple {
    background: rgba(139, 0, 255, 0.1);
    border-color: rgba(139, 0, 255, 0.3);
    color: #c084fc;
    box-shadow: 0 0 5px rgba(139, 0, 255, 0.1);
}

.genre-badge.pink {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.3);
    color: #f472b6;
    box-shadow: 0 0 5px rgba(255, 0, 127, 0.1);
}

.genre-badge.emerald {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--neon-emerald);
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.1);
}

.track-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(180deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.track-artist {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 15px;
}

/* Vinyl disc visualization - smaller for row format */
.vinyl-container {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.vinyl {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #333 10%, #111 11%, #111 100%);
    border: 5px solid #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}

.vinyl.playing {
    animation-play-state: running;
}

.vinyl-center {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--neon-purple);
    border: 2px solid #111;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Timeline & Progress */
.progress-bar-container {
    width: 100%;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 6px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 8px var(--neon-cyan);
    border-radius: 10px;
    transition: width 0.5s ease-out;
}

.time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    width: 100%;
}

/* ----------------------------------------------------
   TABS NAVIGATION
   ---------------------------------------------------- */
.tabs-nav {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 2px;
    margin-bottom: 5px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--neon-cyan);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.tab-content {
    display: none;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* ----------------------------------------------------
   TWO COLUMN LAYOUT FOR GUESTS - EQUAL WIDTHS (50% / 50%)
   ---------------------------------------------------- */
.party-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: start;
}

.party-left-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    min-width: 0;
}

@media (max-width: 950px) {
    .party-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: stretch;
    }
    .party-left-col {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
}

.toast-notify {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111;
    border: 1px solid var(--neon-cyan);
    border-left: 5px solid var(--neon-cyan);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}

/* ----------------------------------------------------
   LYRICS EDITOR STYLES (Phase 13)
   ---------------------------------------------------- */
.lyrics-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 25px;
    align-items: start;
}

@media (max-width: 950px) {
    .lyrics-grid {
        grid-template-columns: 1fr;
    }
}

.lyric-line-preview {
    font-size: 14.5px;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.5;
    border: 1px solid transparent;
}

.lyric-line-preview:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.lyric-line-preview.active-line {
    color: var(--neon-cyan);
    font-weight: 700;
    background: rgba(0, 255, 230, 0.06);
    border-color: rgba(0, 255, 230, 0.15);
    text-shadow: 0 0 10px rgba(0, 255, 230, 0.3);
    transform: scale(1.03);
}

.lyric-version-item {
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lyric-version-item:hover {
    background: rgba(0, 255, 230, 0.03);
    border-color: rgba(0, 255, 230, 0.2);
}


/* ----------------------------------------------------
   SONG ITEM & DESIGNS
   ---------------------------------------------------- */
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    outline: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 255, 230, 0.2);
}

.song-list-scrollable {
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 5px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.song-list-scrollable::-webkit-scrollbar {
    width: 6px;
}
.song-list-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.song-list-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
    min-width: 0;
    width: 100%;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.song-info {
    flex-grow: 1;
    padding-right: 15px;
    overflow: hidden;
}

.song-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.song-artist-container {
    display: contents;
}

.song-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.priority-indicator {
    background: var(--neon-pink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 5px var(--neon-pink);
}

.vote-btn {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 8px rgba(139, 0, 255, 0.2);
    flex-shrink: 0;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 0, 127, 0.4);
}

.vote-btn:active {
    transform: translateY(0);
}

.vote-count {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    font-family: var(--font-display);
    font-weight: 700;
}

/* ----------------------------------------------------
   TIMELINE SCHEDULE PREVIEW CARD
   ---------------------------------------------------- */
.schedule-card {
    margin-top: 0;
}

.timeline-preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 0;
    width: 100%;
}

.timeline-slot-item.active-slot {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 230, 0.04);
    box-shadow: 0 0 12px rgba(0, 255, 230, 0.15);
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    0% { border-color: rgba(0, 255, 230, 0.4); }
    100% { border-color: rgba(0, 255, 230, 1); }
}

.slot-time {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 6px;
}

.timeline-slot-item.active-slot .slot-time {
    color: var(--neon-cyan);
    background: rgba(0, 255, 230, 0.1);
}

.slot-genre {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.timeline-slot-item.active-slot .slot-genre {
    color: #fff;
}

.slot-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
    display: inline-block;
}

.timeline-slot-item.active-slot .slot-status-dot {
    background-color: var(--neon-emerald);
    box-shadow: 0 0 8px var(--neon-emerald);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* ----------------------------------------------------
   DJ CABINET / ADMIN VIEW
   ---------------------------------------------------- */
.dj-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.dj-cabinet-grid {
    grid-template-columns: 34fr 66fr;
}

@media (max-width: 950px) {
    .dj-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .dj-cabinet-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.btn-action {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-action:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-muted);
}

.btn-primary {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
}
.btn-primary:hover {
    background: #9b22ff;
    box-shadow: 0 0 10px rgba(139,0,255,0.4);
}

.dj-control-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.dj-volume-row span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.dj-volume-row .dj-volume-label {
    min-width: 28px;
    white-space: nowrap;
}

.dj-volume-row #vol-percentage {
    min-width: 36px;
    text-align: right;
}

#dj-play-pause, #dj-restart, #dj-skip {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
}

#dj-play-pause:hover, #dj-restart:hover, #dj-skip:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(1.15);
    opacity: 0.8;
}

#dj-play-pause:active, #dj-restart:active, #dj-skip:active {
    transform: scale(1);
}

.volume-slider {
    flex-grow: 1;
    height: 12px;
    appearance: none;
    -webkit-appearance: none; /* Essential for WebKit mobile browsers */
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    outline: none;
}

.volume-slider::-webkit-slider-runnable-track {
    background: transparent;
    border: none;
    height: 12px;
}

.volume-slider::-moz-range-track {
    background: transparent;
    border: none;
    height: 12px;
}

.volume-slider::-moz-range-progress {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    height: 12px;
    border-radius: 10px;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--neon-cyan);
    cursor: pointer;
    box-shadow: 0 0 8px var(--neon-cyan);
    margin-top: -5px; /* Centering: (12px - 22px) / 2 = -5px */
}

.volume-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--neon-cyan);
    cursor: pointer;
    box-shadow: 0 0 8px var(--neon-cyan);
    border: none;
}

/* Timeline Slot Manager Table */
.timeline-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.timeline-table th, .timeline-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.timeline-table th {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.timeline-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    padding: 6px;
    border-radius: 6px;
    width: 100%;
    outline: none;
}
.timeline-input:focus {
    border-color: var(--neon-cyan);
}

.timeline-input.edit-start,
.timeline-input.edit-end {
    width: 85px;
    padding: 4px;
}

.available-tags-pool {
    max-height: 75px;
    width: 230px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px;
    border-radius: 6px;
    background: rgba(0,0,0,0.15);
}

.toast-notify {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111;
    border: 1px solid var(--neon-cyan);
    border-left: 5px solid var(--neon-cyan);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}

/* ----------------------------------------------------
   LYRICS EDITOR STYLES (Phase 13)
   ---------------------------------------------------- */
.lyrics-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 25px;
    align-items: start;
}

@media (max-width: 950px) {
    .lyrics-grid {
        grid-template-columns: 1fr;
    }
}

.lyric-line-preview {
    font-size: 14.5px;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.5;
    border: 1px solid transparent;
}

.lyric-line-preview:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.lyric-line-preview.active-line {
    color: var(--neon-cyan);
    font-weight: 700;
    background: rgba(0, 255, 230, 0.06);
    border-color: rgba(0, 255, 230, 0.15);
    text-shadow: 0 0 10px rgba(0, 255, 230, 0.3);
    transform: scale(1.03);
}

.lyric-version-item {
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lyric-version-item:hover {
    background: rgba(0, 255, 230, 0.03);
    border-color: rgba(0, 255, 230, 0.2);
}

/* ----------------------------------------------------
   SOUND & DSP REMIXER STYLES (Phase 17)
   ---------------------------------------------------- */
.dsp-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    align-items: start;
}

@media (max-width: 950px) {
    .dsp-grid {
        grid-template-columns: 1fr;
    }
}

.dsp-card-eq {
    display: flex;
    flex-direction: column;
}

/* EQ Mixing Deck */
.eq-deck {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 20px 15px;
    overflow-x: auto;
    min-height: 380px;
}

.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 34px;
}

.eq-value {
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--neon-cyan);
    height: 16px;
    text-shadow: 0 0 5px rgba(0, 255, 230, 0.25);
}

.eq-slider-wrapper {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: 
        /* 0dB Line (Horizontal Anchor) */
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        /* Cyan Ticks (+1 to +10 dB, 14px spaced) */
        repeating-linear-gradient(to bottom, rgba(0, 255, 230, 0.6) 0px, rgba(0, 255, 230, 0.6) 1px, transparent 1px, transparent 14px),
        /* Pink Ticks (-1 to -10 dB, 14px spaced) */
        repeating-linear-gradient(to bottom, rgba(255, 0, 127, 0.6) 0px, rgba(255, 0, 127, 0.6) 1px, transparent 1px, transparent 14px),
        /* Top Half Translucent Cyan Backglow */
        linear-gradient(to bottom, rgba(0, 255, 230, 0.15), rgba(0, 255, 230, 0.015)),
        /* Bottom Half Translucent Pink Backglow */
        linear-gradient(to bottom, rgba(255, 0, 127, 0.015), rgba(255, 0, 127, 0.15)),
        /* Dark Slot Groove */
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    background-position: 
        center 150px,
        center 10px,
        center 164px,
        center 10px,
        center 150px,
        center 10px;
    background-size: 
        28px 2px,
        16px 127px,
        16px 127px,
        6px 140px,
        6px 140px,
        6px 280px;
    background-repeat: no-repeat;
    border-radius: 6px;
    padding: 0 4px;
}

/* Styling vertical slider inputs using standard writing modes */
.eq-slider {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 28px;
    height: 280px;
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 2;
    position: relative;
    margin: 0;
}

.eq-slider::-webkit-slider-runnable-track {
    background: transparent;
    border: none;
}

.eq-slider::-moz-range-track {
    background: transparent;
    border: none;
}

.eq-slider::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 10px;
    border-radius: 3px;
    background: #ffffff;
    border: 1.5px solid var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan), 0 2px 4px rgba(0,0,0,0.5);
    cursor: grab;
    transition: all 0.15s ease;
}

.eq-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--neon-cyan);
    border-color: #ffffff;
    box-shadow: 0 0 14px var(--neon-cyan), 0 3px 6px rgba(0,0,0,0.6);
}

.eq-slider::-moz-range-thumb {
    width: 22px;
    height: 10px;
    border-radius: 3px;
    background: #ffffff;
    border: 1.5px solid var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan), 0 2px 4px rgba(0,0,0,0.5);
    cursor: grab;
    transition: all 0.15s ease;
}

.eq-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: var(--neon-cyan);
    border-color: #ffffff;
    box-shadow: 0 0 14px var(--neon-cyan), 0 3px 6px rgba(0,0,0,0.6);
}

.eq-freq {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Compressor Sliders List */
.comp-sliders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.comp-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.comp-control-label {
    color: var(--text-muted);
}

.comp-control-val {
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 230, 0.2);
}

/* Inherits cyan styles from volume-slider to avoid purple thumbs */

/* Premium iOS Switch styling */
.ios-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.08);
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ios-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

input:checked + .ios-slider {
    background-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 230, 0.3);
}

input:checked + .ios-slider:before {
    transform: translateX(20px);
}

/* Premium active DSP preset button glow states */
.btn-action.active-eq-preset {
    background: rgba(0, 255, 230, 0.12) !important;
    border-color: var(--neon-cyan) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 255, 230, 0.35) !important;
    text-shadow: 0 0 3px rgba(255,255,255,0.4);
}

.btn-action.active-comp-preset {
    background: rgba(139, 0, 255, 0.12) !important;
    border-color: var(--neon-purple) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(139, 0, 255, 0.35) !important;
    text-shadow: 0 0 3px rgba(255,255,255,0.4);
}

.btn-action.active-comp-preset.inactive-preset {
    background: rgba(150, 150, 150, 0.08) !important;
    border-color: rgba(150, 150, 150, 0.25) !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ----------------------------------------------------
   MOBILE DEVICE VIEWPORT RESPONSIVE SYSTEM (under 600px)
   ---------------------------------------------------- */
@media (max-width: 600px) {
    main {
        width: 94%;
        max-width: 94%;
        margin: 15px auto;
        gap: 15px;
    }
    
    header {
        padding: 8px 4%;
    }
    
    .logo {
        font-size: 14px;
    }
    
    /* Strict Card compaction & identical margins/paddings on mobile */
    .glass-card {
        padding: 12px 14px !important;
        border-radius: 16px;
    }
    
    .now-playing-row {
        padding: 12px 14px !important;
    }
    
    .progress-bar-bg {
        height: 5px;
        margin-bottom: 4px;
    }
    
    /* Make the large player title size readable on mobile screens */
    #track-title-container {
        font-size: 18px !important;
        margin-bottom: 8px;
        gap: 4px;
    }
    
    /* Horizontal scrolling for premium DJ tab selectors */
    .tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--border-glass);
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 13.5px;
        flex-shrink: 0;
    }
    
    .tab-btn.active::after {
        height: 2px;
        bottom: -2px;
    }
    
    /* Compact Equalizer and Mixing Deck for DJ view on mobile */
    .eq-deck {
        padding: 15px 4px !important;
        min-height: 260px;
        gap: 2px !important;
        overflow-x: hidden !important; /* Force all 16 sliders to fit without scrolling */
    }
    
    .eq-band {
        min-width: 0 !important;
        flex: 1 !important;
    }
    
    .eq-slider-wrapper {
        width: 18px !important;
        height: 180px !important;
        background-size: 
            16px 2px,
            8px 80px,
            8px 80px,
            3px 90px,
            3px 90px,
            3px 160px !important;
        background-position: 
            center 90px,
            center 10px,
            center 100px,
            center 10px,
            center 90px,
            center 10px !important;
    }
    
    .eq-slider {
        width: 18px !important;
        height: 160px !important;
    }
    
    /* Make equalizer slider thumbs narrower on mobile to prevent overlaps */
    .eq-slider::-webkit-slider-thumb {
        width: 14px !important;
        height: 8px !important;
    }
    
    .eq-slider::-moz-range-thumb {
        width: 14px !important;
        height: 8px !important;
    }
    
    .eq-freq {
        font-size: 7.5px !important;
        margin-top: 4px !important;
    }
    
    .eq-value {
        font-size: 8px !important;
        height: 12px !important;
    }
    
    /* Mobile-optimized music schedules lists */
    .timeline-slot-item {
        padding: 8px 10px;
    }
    
    .timeline-slot-item > div {
        flex-wrap: wrap;
        gap: 6px !important;
    }
    
    .slot-genre {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    /* Mobile-optimized DJ playback control panel layout */
    .dj-control-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .dj-control-row.dj-playback-row {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }
    
    .dj-control-row.dj-volume-row {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    .volume-slider {
        width: auto;
    }
    
    /* Mobile styles for timeline table and inline editor */
    .timeline-table th, 
    .timeline-table td {
        padding: 6px 4px !important;
        font-size: 11px !important;
    }
    
    .timeline-table th {
        font-size: 9px !important;
    }
    
    .timeline-table .btn-text {
        display: none;
    }
    
    .timeline-table .vote-btn,
    .timeline-table .btn-action {
        padding: 5px 6px !important;
    }
    
    .timeline-input.edit-start,
    .timeline-input.edit-end {
        width: 58px !important;
        padding: 4px 2px !important;
        font-size: 11px !important;
    }
    
    .available-tags-pool {
        width: 100% !important;
        max-width: 170px !important;
        max-height: 60px !important;
    }
}

/* DJ Tags Grouping Selectors */
.tags-group-selector {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 3px 6px;
}

.tags-group-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tags-group-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tags-group-btn.active {
    color: #363446;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.tag-group-section {
    margin-bottom: 12px;
}

.tag-group-header {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13.5px;
    color: var(--neon-cyan);
    border-bottom: 1px solid rgba(0, 255, 230, 0.15);
    padding: 5px 10px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag-group-count {
    font-size: 10px;
    background: rgba(0, 255, 230, 0.1);
    color: var(--neon-cyan);
    padding: 2px 8px;
    border-radius: 12px;
    font-family: var(--font-body);
}

/* Unified Tags & Lyrics Accordion Edit Drawer */
.song-item-wrapper {
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.song-edit-drawer {
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.25);
}

.song-edit-drawer-content {
    animation: fadeInDrawer 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInDrawer {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.song-edit-drawer input[type="text"],
.song-edit-drawer input[type="number"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.song-edit-drawer input[type="text"]:focus,
.song-edit-drawer input[type="number"]:focus {
    border-color: var(--neon-cyan) !important;
    background: rgba(0, 255, 230, 0.03);
    box-shadow: 0 0 6px rgba(0, 255, 230, 0.15);
}

.song-edit-drawer .btn-action:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.song-edit-drawer .vote-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.lyric-line-preview {
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.lyric-line-preview:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.lyric-line-preview.active-line {
    background: rgba(139, 0, 255, 0.15);
    border: 1px solid rgba(139, 0, 255, 0.3) !important;
    color: var(--neon-cyan) !important;
    font-weight: 700;
    font-size: 13.5px;
    text-shadow: 0 0 8px rgba(0, 255, 230, 0.4);
    box-shadow: 0 0 10px rgba(139, 0, 255, 0.2);
}

/* Glassmorphic inline versions search list for LRCLIB alternative releases */
.lyric-version-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lyric-version-item:hover {
    background: rgba(0, 255, 230, 0.03);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 255, 230, 0.15);
}

/* Stack artist and title vertically on mobile inside DJ Playlist Manager boxes */
@media (max-width: 950px) {
    #slot-playlist-songs .song-item,
    #slot-search-results .song-item {
        padding: 8px 10px !important;
    }
    
    #slot-playlist-songs .song-info,
    #slot-search-results .song-info {
        align-items: flex-start !important;
    }
    
    #slot-playlist-songs .song-name,
    #slot-search-results .song-name {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        white-space: normal !important;
    }
    
    #slot-playlist-songs .song-separator,
    #slot-search-results .song-separator {
        display: none !important;
    }
    
    #slot-playlist-songs .song-artist,
    #slot-search-results .song-artist {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    
    #slot-playlist-songs .song-title,
    #slot-search-results .song-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: var(--neon-cyan) !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        text-shadow: 0 0 5px rgba(0, 255, 230, 0.15) !important;
    }
    
    #slot-search-results .song-artist-container {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }
    
    #slot-playlist-songs .must-play-text {
        display: none !important;
    }
    
    .img-preview-local-play {
        width: 36px !important;
        height: 36px !important;
    }
}
