/* ============================================
   SHINY BLACK HOLES - Vintage Chrome Player
   ============================================ */

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a1a;
    color: #fff;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* ============================================
   LEFT PANEL - Integrated LP Video (75%)
   ============================================ */

.left-panel {
    width: 75%;
    height: 100vh;
    position: relative;
    background: #000;
    overflow: hidden;
}

.lp-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lp-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Info panel at bottom with attribution and buttons */
/* Closed Captions Overlay */
.captions-overlay {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 80%;
    max-width: 800px;
    text-align: center;
    pointer-events: none;
}

.caption-line {
    font-family: 'Syne Mono', 'Courier New', monospace;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(232, 192, 64, 1);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: lowercase;
}

.caption-line.visible {
    opacity: 1 !important;
}

.caption-word {
    display: inline-block;
    margin: 0 4px;
}

.caption-word.active {
    color: rgba(255, 255, 255, 1);
    text-shadow:
        0 0 12px rgba(232, 192, 64, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

/* ============================================
   INFO HEADER - Cohesive Glass Panel
   ============================================ */

.info-header {
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 2px 8px rgba(0,0,0,0.3);
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
}

.info-header-branding {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: transparent;
    gap: 20px;
}

.info-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-family: 'Syne Mono', monospace;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 5px;
    color: rgba(232, 192, 64, 1);
    text-shadow:
        0 1px 2px rgba(0,0,0,0.5),
        0 0 8px rgba(232,192,64,0.3);
    text-transform: lowercase;
    white-space: nowrap;
}

.attribution-text {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.attribution-text-mobile {
    display: none;
}

.info-header-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Hide mobile header on desktop */
.info-header-mobile {
    display: none;
}

/* ============================================
   RIGHT PANEL - Frosted Glass with Etched Text
   ============================================ */

.right-panel {
    width: 25%;
    height: 100vh;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.15) 0%,
            rgba(255,255,255,0.08) 40%,
            rgba(255,255,255,0.05) 100%),
        linear-gradient(180deg,
            rgba(240,240,240,0.12) 0%,
            rgba(220,220,220,0.08) 50%,
            rgba(200,200,200,0.05) 100%);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-left: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    padding: 15px;
    position: relative;
    box-shadow:
        inset 0 0 30px rgba(255,255,255,0.1),
        inset 0 0 60px rgba(255,255,255,0.05),
        0 0 40px rgba(0,0,0,0.2),
        inset -2px 0 4px rgba(255,255,255,0.2);
}

/* Frosted glass texture */
.right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

/* Etched pattern overlay */
.right-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.03) 100px,
            rgba(255,255,255,0.03) 101px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.03) 100px,
            rgba(255,255,255,0.03) 101px
        );
    mix-blend-mode: overlay;
}

/* ============================================
   PHOTOREALISTIC ANALOG VU METERS
   ============================================ */

.vu-meter-container {
    height: 80px;
    margin-bottom: 20px;
    position: relative;
}

.vu-meter-panel {
    display: flex;
    gap: 15px;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.analog-vu-meter {
    width: 140px;
    height: 70px;
    position: relative;
    background: rgba(0,0,0,0.05);
    border-radius: 5px;
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,0.2),
        inset 0 1px 4px rgba(0,0,0,0.15),
        0 1px 0 rgba(255,255,255,0.5),
        0 0 0 1px rgba(0,0,0,0.08);
    padding: 1px;
}

.meter-face {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    border-radius: 2px;
    box-shadow:
        inset 0 0 15px rgba(232,192,64,0.3),
        inset 0 0 8px rgba(232,192,64,0.2),
        inset 0 1px 2px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Scale markings - removed, we'll just use text labels */

/* VU scale arc */
.meter-face::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 15%;
    right: 15%;
    height: 25px;
    border-top: 0.5px solid rgba(0,0,0,0.2);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.meter-scale {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scale-mark {
    position: absolute;
    font-size: 6px;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    transform: translateX(-50%);
    top: 0;
    letter-spacing: -0.3px;
}

.scale-mark.red {
    color: #b00;
    font-weight: 600;
}

.meter-needle {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 30px;
    height: 30px;
    transform-origin: center bottom;
    transform: translateX(-50%) rotate(-40deg);
    transition: transform 0.08s cubic-bezier(0.4, 0.0, 0.6, 1);
    pointer-events: none;
}

.needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg,
        #1a1a1a 0%,
        #2a2a2a 20%,
        #1a1a1a 90%,
        transparent 100%);
    transform: translateX(-50%);
}

.needle-pivot {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background:
        radial-gradient(circle,
            #4a4a4a 0%,
            #2a2a2a 40%,
            #1a1a1a 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow:
        inset 0 0.5px 0.5px rgba(255,255,255,0.1),
        0 0.5px 1px rgba(0,0,0,0.5);
    border: 0.5px solid #2a2a2a;
    z-index: 1;
}

.meter-label {
    position: absolute;
    bottom: 3px;
    left: 10px;
    font-size: 8px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    color: #3a3a3a;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Glass overlay effect - vintage */
.meter-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%),
        linear-gradient(90deg,
            transparent 0%,
            rgba(255,255,255,0.1) 50%,
            transparent 100%);
    pointer-events: none;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ============================================
   ETCHED GLASS DISPLAY
   ============================================ */

.digital-display {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 15px;
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,0.25),
        inset 0 1px 4px rgba(0,0,0,0.2),
        0 1px 0 rgba(255,255,255,0.5),
        0 0 0 1px rgba(0,0,0,0.08),
        inset 0 0 15px rgba(232,192,64,0.25);
    position: relative;
}

/* Glass effect for digital display */
.digital-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 5px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}


.display-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.display-label {
    font-size: 10px;
    color: rgba(60,60,60,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.3);
    font-weight: 500;
}

.display-value {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: rgba(40,40,40,0.9);
    text-shadow:
        0 1px 1px rgba(255,255,255,0.4);
    letter-spacing: 0.3px;
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 75%;
}

/* ============================================
   FROSTED GLASS BUTTONS
   ============================================ */

.chrome-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.chrome-btn {
    width: 60px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.1),
        inset 0 1px 2px rgba(255,255,255,0.3),
        inset 0 -1px 2px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px) saturate(1.5);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    transition: all 0.2s ease;
}

.chrome-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        inset 0 1px 2px rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.chrome-btn:active {
    transform: translateY(0);
    background: rgba(255,255,255,0.08);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(0,0,0,0.1),
        inset 0 -1px 2px rgba(255,255,255,0.2);
}

/* Amber backlight for prev/next when seeking (long press) - unified color */
.chrome-btn.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(0,0,0,0.2),
        inset 0 0 15px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(232,192,64,0.2),
        0 1px 0 rgba(255,255,255,0.3),
        0 4px 6px rgba(0,0,0,0.1);
}

.chrome-btn.active .btn-icon {
    color: rgba(20,20,20,0.9);
    text-shadow:
        0 1px 1px rgba(255,255,255,0.5),
        0 0 3px rgba(0,0,0,0.1);
}

/* Glass effect for active chrome buttons */
.chrome-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 6px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.play-btn {
    width: 70px;
    height: 55px;
}

/* Active state for play button when playing - unified amber */
.play-btn.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(0,0,0,0.2),
        inset 0 0 15px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(232,192,64,0.2),
        0 1px 0 rgba(255,255,255,0.3),
        0 4px 6px rgba(0,0,0,0.1);
}

/* Glass effect overlay for active play button */
.play-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 6px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-icon {
    color: rgba(50,50,50,0.8);
    font-size: 16px;
    font-weight: 500;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

.play-btn.active .btn-icon {
    color: rgba(20,20,20,0.9);
    text-shadow:
        0 1px 1px rgba(255,255,255,0.5),
        0 0 3px rgba(0,0,0,0.1);
}

.play-btn .btn-icon {
    font-size: 20px;
}

/* ============================================
   FROSTED GLASS PLAYLIST
   ============================================ */

.playlist-container {
    flex: 1;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.playlist-header {
    display: none; /* Hide header - no need for label */
}

.playlist-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(30,30,30,0.9);
    text-shadow:
        0 1px 1px rgba(255,255,255,0.3);
    text-transform: uppercase;
}

.playlist-tracks {
    flex: 1;
    overflow-y: auto;
    padding: 8px 4px;
    background: transparent;
}

.track-item {
    display: grid;
    grid-template-columns: 38px 68px 1fr 42px;
    align-items: center;
    column-gap: 4px;
    padding: 5px 8px;
    margin-bottom: 2px;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.track-item:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.9);
}

.track-item.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    border-radius: 4px;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(0,0,0,0.2),
        inset 0 0 15px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(200,140,0,0.2),
        0 1px 0 rgba(255,255,255,0.3);
    color: rgba(0,0,0,0.9);
    font-weight: 600;
}

/* Glass effect for active track */
.track-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 4px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

@keyframes yellowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.track-number {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    margin-right: 10px;
    min-width: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.7;
}

.track-title {
    flex: 1;
    font-size: 11px;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
    text-transform: lowercase;
}

.track-item.active .track-title {
    color: rgba(20,20,20,0.9);
    font-weight: 600;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.5),
        0 0 3px rgba(0,0,0,0.1);
}

.track-duration {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(50,50,50,0.5);
    margin-left: 8px;
    position: relative;
    z-index: 1;
}

.track-item.active .track-duration {
    color: rgba(20,20,20,0.8);
    font-weight: 600;
}

/* Track name column - widest, no truncation */
.track-name {
    text-transform: lowercase;
    min-width: 0;
}

.track-item.active .track-year,
.track-item.active .track-location {
    opacity: 0.6;
}

/* Hide cassette video on desktop */
.cassette-video {
    display: none;
}

/* ============================================
   MOBILE RESPONSIVE - CASSETTE PLAYER
   ============================================ */

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .chrome-btn:hover,
    .info-btn:hover,
    .track-item:hover,
    .review-tab:hover {
        transform: none !important;
        background: inherit !important;
        border-color: inherit !important;
        box-shadow: inherit !important;
    }
}

@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
    }

    /* Disable all hover states on mobile */
    .chrome-btn:hover,
    .info-btn:hover,
    .track-item:hover,
    .review-tab:hover,
    .mini-player-btn:hover {
        transform: none !important;
        background: inherit !important;
        border-color: inherit !important;
        box-shadow: inherit !important;
        color: inherit !important;
    }

    /* Hide desktop layout */
    .left-panel {
        display: none;
    }

    /* Hide attribution on mobile (will show on cassette container instead) */
    .attribution-message {
        display: none;
    }

    /* Full screen mobile layout */
    .right-panel {
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 0 10px 10px 10px;
        padding-top: 0; /* No top padding - header is fixed */
        margin: 0;
        background:
            linear-gradient(180deg, rgba(42,42,42,0.7) 0%, rgba(26,26,26,0.8) 50%, rgba(10,10,10,0.9) 100%),
            url('tape_bg.jpg') center/cover no-repeat;
        border: none;
        border-radius: 0;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        gap: 10px;
    }

    /* Add spacer for fixed header */
    .right-panel > .info-header-mobile {
        position: relative;
        margin-bottom: 10px;
    }

    /* Remove all frosted glass effects on mobile */
    .right-panel::before,
    .right-panel::after {
        display: none;
    }

    /* Cassette container at top - larger to fit cassette properly */
    .vu-meter-container {
        position: relative;
        width: 100%;
        height: 35vh;
        min-height: 200px;
        max-height: 300px;
        padding: 0;
        margin: 0;
        background: #1a1a1a;
        border: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Remove old attribution overlay - now in header */
    .vu-meter-container::after {
        display: none;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,0.8);
        text-shadow: 0 2px 4px rgba(0,0,0,0.9);
        z-index: 100;
        pointer-events: none;
        background: rgba(0,0,0,0.4);
        padding: 4px 12px;
        border-radius: 3px;
        white-space: nowrap;
    }

    /* Hide VU meters */
    .vu-meter-panel {
        display: none;
    }

    /* Show cassette video full width */
    .cassette-video {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: #0a0a0a;
    }

    /* Adjust digital display for mobile tape player */
    .digital-display {
        display: none; /* Hide on mobile - info redundant */
    }

    .display-row {
        display: contents;
    }

    .display-label {
        display: none;
    }

    .display-value {
        font-size: 13px;
        color: rgba(255,255,255,0.9);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #trackName {
        flex: 1 1 auto;
        min-width: 0;
    }

    #timeDisplay {
        flex-shrink: 0;
        font-family: 'Courier New', monospace;
        font-size: 12px;
        color: rgba(255,255,255,0.7);
    }

    /* Tape-style controls for mobile */
    .chrome-controls {
        margin: 0;
        gap: 30px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        flex-shrink: 0;
    }

    .chrome-btn {
        width: 32px;
        height: 28px;
        background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
        border: 1px solid #0a0a0a;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.1),
            0 1px 0 #050505,
            0 2px 3px rgba(0,0,0,0.6);
    }

    .chrome-btn.play-btn {
        width: 36px;
        height: 32px;
    }

    .chrome-btn:active {
        transform: translateY(1px);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.1),
            0 0 0 #050505,
            0 1px 2px rgba(0,0,0,0.6);
    }

    .btn-icon {
        font-size: 12px;
        color: #999;
        text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
    }

    /* Tape-style playlist for mobile - fills ALL remaining space */
    .playlist-container {
        flex: 1 1 0;
        min-height: 0;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        overflow: hidden;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .playlist-header {
        padding: 10px;
        background: rgba(0,0,0,0.6);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        flex-shrink: 0;
    }

    .playlist-title {
        font-size: 11px;
        letter-spacing: 2px;
        color: rgba(255,255,255,0.7);
    }

    .playlist-tracks {
        flex: 1 1 0;
        min-height: 0;
        padding: 8px;
        overflow-y: auto;
        overflow-x: hidden;
        background: transparent;
        -webkit-overflow-scrolling: touch;
    }

    .track-item {
        display: grid;
        grid-template-columns: 38px 68px 1fr 42px;
        align-items: center;
        column-gap: 4px;
        padding: 8px 10px;
        margin-bottom: 4px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 4px;
        color: rgba(255,255,255,0.8);
    }

    /* Remove persistent :active state on mobile taps */
    .track-item:active {
        background: rgba(255,255,255,0.1);
    }

    .track-item:focus {
        outline: none;
    }

    /* Prevent focus outline from persisting */
    .track-item {
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .track-item.active {
        background: rgba(232,192,64,0.2);
        border-color: rgba(232,192,64,0.4);
        color: #E8C040;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    }

    .track-number {
        font-size: 10px;
        margin-right: 10px;
        opacity: 0.7;
    }

    .track-title {
        font-size: 13px;
        color: inherit;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .right-panel {
        padding: 8px;
    }

    .chrome-btn {
        width: 30px;
        height: 26px;
    }

    .chrome-btn.play-btn {
        width: 34px;
        height: 30px;
    }

    .btn-icon {
        font-size: 11px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

.playlist-tracks::-webkit-scrollbar {
    width: 8px;
}

.playlist-tracks::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

.playlist-tracks::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    box-shadow:
        inset 0 0 1px rgba(255,255,255,0.1);
}

.playlist-tracks::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
    .left-panel {
        width: 65%;
    }

    .right-panel {
        width: 35%;
    }
}

/* ============================================
   INFO PANEL BUTTONS - REVIEWS & LYRICS
   ============================================ */

.info-btn {
    /* Default state - match chrome button style */
    padding: 7px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.1),
        inset 0 1px 2px rgba(255,255,255,0.3),
        inset 0 -1px 2px rgba(0,0,0,0.1),
        0 0 12px rgba(232,192,64,0.2);
    backdrop-filter: blur(10px) saturate(1.5);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    transition: all 0.2s ease;
    color: rgba(232, 192, 64, 0.9);
    font-family: 'Syne Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.3px;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.5),
        0 0 8px rgba(232,192,64,0.3);
    text-transform: lowercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        inset 0 1px 2px rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.info-btn:active {
    transform: translateY(0);
    background: rgba(255,255,255,0.08);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(0,0,0,0.1),
        inset 0 -1px 2px rgba(255,255,255,0.2);
}

/* Active state - amber backlight unified color */
.info-btn.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    border: 1px solid rgba(232, 192, 64, 0.5);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(0,0,0,0.2),
        inset 0 0 15px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(232,192,64,0.2),
        0 1px 0 rgba(255,255,255,0.3);
    color: rgba(20,20,20,0.9);
    font-weight: 600;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.5),
        0 0 3px rgba(0,0,0,0.1);
}

/* Glass effect overlay for active state */
.info-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.05) 30%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 4px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Reviews & Lyrics Overlays - Over LP video on desktop */
.reviews-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background: transparent;
    display: none;
    z-index: 200;
    padding: 30px;
}

.lyrics-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background: transparent;
    display: none;
    z-index: 200;
    padding: 30px;
}

.reviews-overlay.active,
.lyrics-overlay.active {
    display: block;
}

.reviews-panel {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lyrics-panel {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.reviews-header,
.lyrics-header {
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
}

/* Mini player wrapper and controls - hidden on desktop, shown on mobile */
.mini-player-wrapper {
    display: none;
}

.mini-player-controls {
    display: flex;
    gap: 6px;
}

.mini-track-title {
    font-size: 8px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-top: 2px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.mini-player-btn {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-btn-icon {
    color: rgba(50,50,50,0.8);
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

.mini-play-btn {
    width: 32px;
}

/* Amber backlight for mini play button when playing - unified color */
.mini-play-btn.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 0 8px rgba(232,192,64,0.2),
        0 1px 0 rgba(255,255,255,0.3);
}

.mini-play-btn.active .mini-btn-icon {
    color: rgba(20,20,20,0.9);
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.mini-play-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.25) 0%,
            transparent 50%,
            rgba(0,0,0,0.08) 100%);
    border-radius: 4px;
    pointer-events: none;
}

.reviews-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(232, 192, 64, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.lyrics-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.reviews-close,
.lyrics-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.reviews-close:hover,
.lyrics-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Reviews Tabs - Toggle Switch Style */
.reviews-tabs {
    display: flex;
    gap: 6px;
    padding: 12px 32px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    flex-wrap: nowrap;
    justify-content: center;
}

.reviews-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.review-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-transform: uppercase;
    position: relative;
    box-shadow:
        0 -2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.review-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.review-tab.active {
    background:
        radial-gradient(ellipse at center,
            rgba(232,192,64,0.95) 0%,
            rgba(220,180,60,0.92) 60%,
            rgba(200,170,55,0.9) 100%);
    color: rgba(20,20,20,0.9);
    font-weight: 600;
    border-color: rgba(232, 192, 64, 0.5);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.3),
        inset 0 0 8px rgba(232,192,64,0.2),
        0 1px 0 rgba(255,255,255,0.3);
    text-shadow:
        0 1px 1px rgba(255,255,255,0.5),
        0 0 3px rgba(0,0,0,0.1);
}

.review-tab-content {
    display: none;
}

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

.reviews-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
}

.reviews-content p,
.reviews-content h1,
.reviews-content h2,
.reviews-content h3,
.reviews-content h4 {
    color: rgba(255, 255, 255, 0.95);
}

/* Synchronized lyrics styling */
.synchronized-lyrics {
    font-family: 'Syne Mono', monospace;
    line-height: 1.6;
    font-size: 14px;
    padding: 30px 40px;
    letter-spacing: 0.3px;
}

.synchronized-lyrics br + br {
    display: block;
    content: "";
    margin-top: 0.8em;
}

.lyric-word,
.lyric-word-static {
    display: inline;
    padding: 1px 2px;
    border-radius: 2px;
    transition: all 0.15s ease;
    color: rgba(255,255,255,0.75);
}

.lyric-word.active {
    color: rgba(232, 192, 64, 1);
    background: rgba(232, 192, 64, 0.15);
    font-weight: 600;
    text-shadow: 0 0 6px rgba(232,192,64,0.4);
}

.lyrics-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px 48px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

/* Lyrics specific styling */
.lyrics-content {
    white-space: pre-wrap;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.lyrics-display {
    font-family: 'Syne Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.loading-message {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.review-header-track {
    text-align: center;
    padding: 0 0 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

.review-header-track h3 {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.review-header-track h2 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.track-section {
    margin-bottom: 32px;
}

.track-section h4 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.track-section p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 16px;
}

.album-reviews-link {
    text-align: center;
    padding: 40px 0 0 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.album-reviews-link a {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1.8px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.album-reviews-link a:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.album-reviews-header {
    display: none;
}

.review-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-section:last-child {
    border-bottom: none;
}

.review-section h3 {
    display: none;
}

.review-section h4,
.review-tab-content h4 {
    color: rgba(232, 192, 64, 1);
    font-size: 15px;
    margin: 32px 0 16px 0;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.review-section p,
.review-tab-content p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.9;
}

.review-section p + p,
.review-tab-content p + p {
    margin-top: 24px;
}

.review-section em,
.review-tab-content em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.review-section strong,
.review-tab-content strong {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

/* Clickable song links in reviews - yellow/gold */
.song-link {
    color: rgba(200, 150, 30, 1);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.song-link:hover {
    color: rgba(232, 192, 64, 1);
    text-decoration: underline;
}

.song-link:active {
    color: rgba(180, 140, 20, 1);
}

/* Custom scrollbar for reviews and lyrics content */
.reviews-content::-webkit-scrollbar,
.lyrics-content::-webkit-scrollbar {
    width: 8px;
}

.reviews-content::-webkit-scrollbar-track,
.lyrics-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.reviews-content::-webkit-scrollbar-thumb,
.lyrics-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.reviews-content::-webkit-scrollbar-thumb:hover,
.lyrics-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile adjustments for reviews and lyrics */
@media (max-width: 768px) {
    /* Hide desktop header */
    .left-panel .info-header {
        display: none;
    }

    /* Show mobile header - fixed at top */
    .info-header-mobile {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.4);
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
        margin: 0;
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 1000;
    }

    .info-header-mobile .info-header-branding {
        padding: 10px 12px;
        background: transparent;
        border-bottom: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .info-header-mobile .info-header-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
    }

    .info-header-mobile .brand-name {
        font-family: 'Syne Mono', monospace;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 2.5px;
        text-transform: lowercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .info-header-mobile .attribution-text {
        display: none;
    }

    .info-header-mobile .attribution-text-mobile {
        display: block;
        font-size: 10px;
        font-weight: 300;
        letter-spacing: 0.8px;
        color: rgba(255,255,255,0.95);
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    .info-header-mobile .info-header-buttons {
        display: flex;
        flex-direction: row;
        gap: 4px;
        flex-shrink: 0;
    }

    .info-header-mobile .info-btn {
        padding: 6px 8px;
        font-size: 8px;
        letter-spacing: 0.8px;
        min-width: 48px;
    }

    .reviews-overlay,
    .lyrics-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 20px;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .reviews-panel,
    .lyrics-panel {
        width: 100%;
        height: 100%;
        background: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .reviews-header,
    .lyrics-header {
        padding: 12px 15px;
        gap: 8px;
    }

    .reviews-header h2,
    .lyrics-header h2 {
        font-size: 12px;
        letter-spacing: 1.5px;
        flex: 0 0 auto;
    }

    /* Show mini player wrapper on mobile */
    .mini-player-wrapper {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        flex: 0 0 auto;
    }

    .mini-player-controls {
        display: flex;
        gap: 6px;
    }

    .reviews-tabs {
        padding: 0 20px;
    }

    .review-tab {
        padding: 10px 16px;
        font-size: 10px;
    }

    .reviews-content,
    .lyrics-content {
        padding: 20px;
        font-size: 14px;
    }

    .review-section h3 {
        font-size: 14px;
    }

    .review-section h4 {
        font-size: 13px;
    }

    /* Amber track text on mobile */
    .track-item.active .track-title {
        color: rgba(232, 192, 64, 1);
        text-shadow:
            0 1px 1px rgba(0,0,0,0.5),
            0 0 4px rgba(232,192,64,0.4);
    }

    .track-item.active .track-duration {
        color: rgba(232, 192, 64, 1);
    }

    /* Position captions over cassette video on mobile */
    .captions-overlay {
        position: fixed;
        top: 40%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        z-index: 500;
        pointer-events: none;
    }

    .caption-line {
        font-size: 18px;
        text-transform: lowercase;
        opacity: 1 !important;
    }
}
/* Year and location - identical styling, tightly grouped */
.track-year,
.track-location {
    font-size: 10px;
    opacity: 0.5;
    font-weight: 400;
    text-transform: lowercase;
}

.track-year {
    text-align: right;
}

.track-location {
    padding-left: 2px;
}

/* Year as tag annotation for player display */
.track-year-sup {
    font-size: 0.65em;
    opacity: 0.5;
    margin-left: 6px;
    font-weight: 400;
    vertical-align: baseline;
    position: relative;
    top: -0.15em;
    letter-spacing: 0.5px;
}

/* CC Toggle - compact, left-aligned */
.cc-toggle-container {
    width: 100%;
    padding: 6px 0 6px 0;
    display: flex;
    align-items: center;
}

.cc-toggle {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(20, 20, 20, 0.6);
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 1.5px;
    padding: 0;
    margin-left: 0;
    text-transform: uppercase;
    transition: color 0.2s ease;
    text-align: left;
}

.cc-toggle.active {
    color: rgba(20, 20, 20, 0.9);
}

/* Progress scrubber - subtle, thin, light gray */
.progress-container {
    width: 100%;
    padding: 6px 0 4px 0;
}

.progress-bar {
    width: 100%;
    height: 1px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(100, 100, 100, 0.3);
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.3);
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(60, 60, 60, 1);
    cursor: pointer;
}

.progress-bar::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(60, 60, 60, 1);
    cursor: pointer;
    border: none;
}

/* Notes content styling */
.note-heading-large {
    font-size: 22px;
    font-weight: 700;
    color: rgba(232, 192, 64, 1);
    margin: 30px 0 15px 0;
    letter-spacing: 1px;
    text-transform: none;
}

.note-heading-medium {
    font-size: 18px;
    font-weight: 700;
    color: rgba(232, 192, 64, 0.9);
    margin: 25px 0 12px 0;
    letter-spacing: 0.5px;
}

.note-heading-small {
    font-size: 16px;
    font-weight: 600;
    color: rgba(232, 192, 64, 0.8);
    margin: 20px 0 10px 0;
}

#notesContent {
    font-family: 'Syne Mono', monospace;
}

#notesContent p {
    margin: 0 0 0 0;
    line-height: 1.5;
}

#notesContent p + p {
    margin-top: 10px;
}

#notesContent ul {
    margin: 8px 0 8px 0 !important;
    line-height: 1.5;
}

#notesContent li {
    margin-bottom: 6px;
}

#notesContent hr {
    margin: 20px 0;
    border-color: rgba(232, 192, 64, 0.2);
}

/* Button font - Inter lowercase */
.info-btn {
    font-family: 'Inter', sans-serif !important;
    text-transform: lowercase !important;
    font-weight: 500;
}

/* NOTES button - yellow with black text */
#notesBtn,
#notesBtnMobile {
    background: rgba(232, 192, 64, 1) !important;
    color: rgba(20, 20, 20, 1) !important;
    border-color: rgba(232, 192, 64, 1) !important;
}

#notesBtn:hover,
#notesBtnMobile:hover {
    background: rgba(232, 192, 64, 0.9) !important;
}

/* Cross-modal navigation - styled like main buttons */
.modal-nav {
    text-align: center;
    padding: 12px 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.modal-nav-btn {
    /* Exact match to .info-btn styling */
    font-family: 'Inter', sans-serif !important;
    text-transform: lowercase !important;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hide modal nav on mobile */
@media (max-width: 768px) {
    .modal-nav {
        display: none;
    }
}

/* First visit hint */
.first-visit-hint {
    position: fixed;
    top: 50px;
    right: 320px;
    display: none;
    align-items: center;
    gap: 8px;
    font-family: 'Syne Mono', monospace;
    font-size: 11px;
    color: rgba(232, 192, 64, 0.9);
    pointer-events: none;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.first-visit-hint.visible {
    display: flex;
    opacity: 1;
}

.hint-cursor {
    font-size: 24px;
    animation: pointDown 0.8s ease-in-out infinite;
}

.hint-text {
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(232, 192, 64, 0.5);
}

@keyframes pointDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (max-width: 768px) {
    .first-visit-hint {
        top: 40px;
        right: 120px;
        font-size: 10px;
    }
    .hint-cursor {
        font-size: 20px;
    }
}

/* Larger modal buttons on mobile */
@media (max-width: 768px) {
    .info-btn {
        font-size: 14px !important;
        padding: 12px 20px !important;
        letter-spacing: 2px;
    }
}
