<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Audio Player Component Styles
 * Used by: song-player.php, mixtape-player.php
 * 
 * Includes:
 * - Sticky audio player (Amplitude.js)
 * - Player controls and progress bar
 * - Mobile optimizations
 * - Swiper integration for sticky player mode
 */

/* ====================================
   Sticky Player Container
   ==================================== */
.sticky-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #282828 0%, #181818 100%);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
}

/* ====================================
   Progress Bar at Top
   ==================================== */
.progress-row-top {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    width: auto;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10;
    transition: all 0.2s ease;
}

/* Expanded touch target for better accessibility */
.progress-row-top::before {
    content: '';
    position: absolute;
    top: -19px; /* Creates 44px total touch target (6px + 38px) */
    bottom: -19px;
    left: 0;
    right: 0;
    cursor: pointer;
    z-index: 1;
}

/* Visual feedback on hover/active */
.progress-row-top:hover,
.progress-row-top:active {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}

/* Top progress bar container */
.progress-row-top .progress-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* Progress Bar Styling */
.progress-row-top .amplitude-song-played-progress {
    width: 100%;
    height: 100%;
    background: transparent;
    appearance: none;
    border: none;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* WebKit Progress Bar */
.progress-row-top .amplitude-song-played-progress::-webkit-progress-bar {
    background: transparent;
    height: 100%;
}

.progress-row-top .amplitude-song-played-progress::-webkit-progress-value {
    background: linear-gradient(90deg, #dc3545 0%, #ff6b35 100%);
    height: 100%;
    transition: all 0.1s ease;
}

/* Firefox Progress Bar */
.progress-row-top .amplitude-song-played-progress::-moz-progress-bar {
    background: linear-gradient(90deg, #dc3545 0%, #ff6b35 100%);
    height: 100%;
}

/* Progress Thumb */
.progress-row-top .progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: #dc3545;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.5);
    transition: all 0.2s ease;
    z-index: 15;
    opacity: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.progress-row-top .progress-thumb.visible {
    opacity: 0.9;
}

.progress-row-top .progress-thumb:active,
.progress-row-top .progress-thumb.dragging {
    cursor: grabbing;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 3px 15px rgba(220, 53, 69, 0.7);
    transition: none;
}

/* Full opacity on hover/drag */
.progress-row-top:hover .progress-thumb,
.progress-row-top:active .progress-thumb {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.progress-row-top.dragging {
    cursor: grabbing;
}

/* ====================================
   Player Layout and Controls
   ==================================== */
.sticky-player-compact {
    display: flex;
    align-items: center;
    padding: 20px 20px 16px 20px; /* Extra top padding for duration space */
    height: 110px; /* Increased from 90px for duration display */
    position: relative;
}

.sticky-player-compact .controls-row {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Track Information */
.sticky-player-compact .track-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    align-self: center;
    transform: translateY(25px); /* Move down to accommodate duration display */
}

.sticky-player-compact .track-artwork {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sticky-player-compact .track-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-player-compact .track-details {
    flex: 1;
    min-width: 0;
}

.sticky-player-compact .track-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-player-compact .track-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Player Controls */
.sticky-player-compact .player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 20px;
}

.sticky-player-compact .control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.sticky-player-compact .control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.sticky-player-compact .amplitude-play-pause {
    background: #dc3545;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.sticky-player-compact .amplitude-play-pause:hover {
    background: #e74c3c;
    transform: scale(1.05);
}

/* ====================================
   Duration Display
   ==================================== */
.duration-display {
    position: absolute;
    top: 8px;
    left: 20px;
    right: 20px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    z-index: 15;
    pointer-events: none;
}

.current-time {
    text-align: left;
}

.total-duration {
    text-align: right;
}

/* ====================================
   Mobile Touch Optimizations
   ==================================== */
.player-controls .control-btn {
    touch-action: manipulation; /* Eliminates 300ms delay */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    user-select: none; /* Prevent text selection */
}

.amplitude-song-time-visualization {
    touch-action: manipulation; /* Eliminates 300ms delay */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    user-select: none; /* Prevent text selection */
}

/* ====================================
   Content Spacing for Sticky Player
   ==================================== */
body.sticky-player-enabled .content-sections {
    padding-bottom: 130px; /* Space for taller sticky player */
}

/* ====================================
   Swiper Integration for Sticky Player
   ==================================== */
body.sticky-player-enabled .swiper-slide {
    text-align: left;
}

body.sticky-player-enabled .slide-card {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.sticky-player-enabled .slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.sticky-player-enabled .slide-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

/* Override for video cards in sticky player mode */
body.sticky-player-enabled .video-card .slide-cover {
    aspect-ratio: 16/9;
}

body.sticky-player-enabled .slide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.sticky-player-enabled .slide-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.sticky-player-enabled .slide-card:hover .slide-play-overlay {
    opacity: 1;
}

body.sticky-player-enabled .slide-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: red;
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.sticky-player-enabled .slide-play-btn:hover {
    background-color: red;
    transform: scale(1.1);
}

body.sticky-player-enabled .slide-info {
    padding: 20px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

body.sticky-player-enabled .slide-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.sticky-player-enabled .slide-artist {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ====================================
   Special States and Animations
   ==================================== */
.amplitude-play-pause.autoplay-blocked {
    animation: pulse 2s infinite;
    background: linear-gradient(45deg, #dc3545, #ff6b35) !important;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.amplitude-play-pause.mobile-play-prompt {
    background: linear-gradient(45deg, #dc3545, #ff6b35) !important;
    animation: mobilePlayPulse 2s infinite;
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-prompt-text {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #dc3545;
    font-weight: 600;
    animation: fadeInOut 3s infinite;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1001;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes mobilePlayPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(220, 53, 69, 0.7); }
    50% { transform: scale(1.08); box-shadow: 0 0 35px rgba(220, 53, 69, 0.9); }
}

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

/* ====================================
   Mobile Responsive (max-width: 768px)
   ==================================== */
@media (max-width: 768px) {
    .sticky-player-compact {
        padding: 16px 15px 12px 15px; /* Extra top padding for duration space */
        height: 95px; /* Increased from 80px for duration display */
    }
    
    .sticky-player-compact .track-info {
        transform: translateY(20px); /* Move down to accommodate duration display */
    }

    .progress-row-top {
        left: 15px;
        right: 15px;
        height: 8px; /* Larger on mobile */
        background: rgba(255, 255, 255, 0.08);
    }
    
    .duration-display {
        left: 15px;
        right: 15px;
        top: 7px;
        font-size: 11px;
    }
    
    /* Even bigger touch target on mobile */
    .progress-row-top::before {
        top: -20px; /* Creates 48px total touch target */
        bottom: -20px;
    }

    .progress-row-top:hover,
    .progress-row-top:active {
        height: 12px;
        background: rgba(255, 255, 255, 0.12);
    }
    
    /* Always show thumb on mobile for better visibility */
    .progress-row-top .progress-thumb.visible {
        opacity: 0.8;
    }
    
    /* Larger thumb on mobile */
    .progress-row-top .progress-thumb {
        width: 18px;
        height: 18px;
    }
    
    /* Subtle visual indicator for expanded touch area */
    .progress-row-top::after {
        content: '';
        position: absolute;
        top: -20px;
        bottom: -20px;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.02) 40%,
            rgba(255, 255, 255, 0.02) 60%,
            transparent 100%
        );
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Show indicator on touch/hover */
    .progress-row-top:active::after {
        opacity: 1;
    }

    .sticky-player-compact .track-artwork {
        width: 52px;
        height: 52px;
        margin-right: 12px;
    }

    .sticky-player-compact .track-title {
        font-size: 0.9rem;
    }

    .sticky-player-compact .track-artist {
        font-size: 0.8rem;
    }

    .sticky-player-compact .player-controls {
        gap: 10px;
        margin: 0 15px;
    }

    .sticky-player-compact .amplitude-play-pause {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    body.sticky-player-enabled .content-sections {
        padding-bottom: 115px; /* Updated for taller mobile player */
    }

    /* Swiper text adjustments for mobile */
    body.sticky-player-enabled .slide-info {
        padding: 12px 15px;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    body.sticky-player-enabled .slide-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    body.sticky-player-enabled .slide-artist {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ====================================
   Small Mobile (max-width: 576px)
   ==================================== */
@media (max-width: 576px) {
    body.sticky-player-enabled .slide-info {
        padding: 10px 12px;
        height: 85px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    body.sticky-player-enabled .slide-title {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    body.sticky-player-enabled .slide-artist {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Hide track action buttons when disabled */
.hide-track-actions .track-like-btn,
.hide-track-actions .track-more-btn {
    display: none !important;
}</pre></body></html>