/* ============================================
   SUE CHEA MUSIC SHOWCASE - CYBERPUNK DESIGN
   Color Palette: Cyan (#00E5FF), Magenta (#FF006E), Purple (#9D4EDD)
   Background: Deep Dark (#0A0A14)
   ============================================ */

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

:root {
    --primary-cyan: #00E5FF;
    --primary-magenta: #FF006E;
    --primary-purple: #9D4EDD;
    --bg-dark: #0A0A14;
    --bg-darker: #0F0F1E;
    --bg-card: #1e1e3e;
    --text-primary: #FFFFFF;
    --text-secondary: #D0D0D0;
    --text-muted: #808080;
    --border-color: #2A2A3E;
    --radius: 10px;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #0F0F1E, #0A0A14);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0A0A14, transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00E5FF, #9D4EDD, #FF006E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    background: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-purple);
    box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.1);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.2);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

/* ============================================
   CONTAINER & SECTION
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   FILTER BUTTONS
   ============================================ */

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
}

/* ============================================
   ALBUMS GRID
   ============================================ */

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* ============================================
   ALBUM CARD
   ============================================ */

.album-card {
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.album-card:hover {
    transform: translateY(-8px);
}

.album-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--bg-card), #0a0a14);
    transition: all 0.3s ease;
}

.album-card:hover .album-thumbnail-wrapper {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.album-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-thumbnail {
    transform: scale(1.05);
}

.album-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.album-card:hover .album-play-overlay {
    opacity: 1;
}

.play-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--text-primary);
    transform: scale(1.1);
}

.play-button::after {
    content: '▶';
    color: var(--bg-dark);
    font-size: 1.2rem;
    margin-left: 3px;
}

.album-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 4;
}

/* ============================================
   ALBUM INFO
   ============================================ */

.album-info {
    padding: 0.75rem 0.5rem;
}

.album-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.album-card:hover .album-title {
    color: var(--primary-cyan);
}

.album-views {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    border-color: var(--primary-cyan);
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .modal-content {
        max-width: 95vw;
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background-color: var(--darker-bg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--primary-cyan);
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* ============================================
   SELF-HOSTED MUSIC PLAYLIST
   ============================================ */

:root {
    --darker-bg: #07070f;
    --text-tertiary: #808080;
    --gradient-primary: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.local-playlist-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 25%, rgba(0, 229, 255, 0.11), transparent 30rem),
        radial-gradient(circle at 85% 75%, rgba(255, 0, 110, 0.12), transparent 28rem),
        linear-gradient(180deg, rgba(15, 15, 30, 0.45), rgba(10, 10, 20, 0.96));
}

.local-playlist-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.24;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.local-playlist-section .container {
    position: relative;
    z-index: 1;
}

.playlist-heading {
    max-width: 670px;
}

.section-eyebrow,
.playlist-kicker {
    color: var(--primary-cyan);
    font-family: 'Poppins', sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-eyebrow {
    margin-bottom: 0.45rem;
}

.local-player {
    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(320px, 0.93fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.now-playing-card,
.playlist-tracks-wrap {
    border: 1px solid rgba(151, 154, 224, 0.2);
    background: linear-gradient(145deg, rgba(30, 30, 62, 0.94), rgba(12, 12, 29, 0.93));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
}

.now-playing-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 0.74fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.4rem);
    padding: clamp(1.1rem, 3vw, 2rem);
    border-radius: 18px;
    overflow: hidden;
}

.now-playing-card::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(157, 78, 221, 0.05), 0 0 0 44px rgba(0, 229, 255, 0.035);
    pointer-events: none;
}

.now-playing-artwork-wrap {
    position: relative;
    align-self: center;
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 14px;
    overflow: visible;
}

.now-playing-artwork {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.36);
}

.artwork-glow {
    position: absolute;
    z-index: 0;
    inset: 16%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    filter: blur(34px);
    opacity: 0.45;
}

.now-playing-details {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.now-playing-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-magenta);
    box-shadow: 0 0 12px var(--primary-magenta);
}

.is-playing .live-indicator {
    animation: playerPulse 1.4s ease-out infinite;
}

.now-playing-number {
    margin-top: 0.7rem;
    color: rgba(0, 229, 255, 0.45);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

#nowPlayingTitle {
    margin: 0.25rem 0 0.35rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 2.05rem);
    font-weight: 700;
    line-height: 1.16;
}

#nowPlayingArtist {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0 1.1rem;
}

.player-icon-btn,
.player-play-btn,
.playlist-track-play {
    border: 0;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.player-icon-btn {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    letter-spacing: -3px;
}

.player-play-btn {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), #61f0ff);
    box-shadow: 0 9px 26px rgba(0, 229, 255, 0.34);
    color: #06141a;
    font-size: 1.15rem;
}

.player-play-btn.is-paused #playPauseIcon {
    letter-spacing: -2px;
}

.player-icon-btn:hover,
.player-icon-btn:focus-visible {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.player-play-btn:hover,
.player-play-btn:focus-visible {
    box-shadow: 0 12px 34px rgba(0, 229, 255, 0.56);
    transform: translateY(-2px) scale(1.03);
}

.player-icon-btn:active,
.player-play-btn:active,
.playlist-track-play:active {
    transform: scale(0.97);
}

.player-icon-btn:focus-visible,
.player-play-btn:focus-visible,
.playlist-track-play:focus-visible,
.seek-bar:focus-visible,
.volume-bar:focus-visible {
    outline: 3px solid rgba(0, 229, 255, 0.48);
    outline-offset: 3px;
}

.player-timeline {
    width: 100%;
}

.seek-bar,
.volume-bar {
    display: block;
    width: 100%;
    height: 6px;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-cyan) 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.16) 100%);
    cursor: pointer;
}

.seek-bar::-webkit-slider-thumb,
.volume-bar::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    appearance: none;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
    background: var(--text-primary);
    box-shadow: 0 0 0 2px var(--primary-cyan);
}

.seek-bar::-moz-range-thumb,
.volume-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
    background: var(--text-primary);
    box-shadow: 0 0 0 2px var(--primary-cyan);
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
}

.volume-control {
    display: grid;
    grid-template-columns: auto minmax(80px, 1fr);
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.05rem;
}

.volume-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.volume-label span {
    margin-right: 0.25rem;
    color: var(--primary-purple);
}

.playlist-tracks-wrap {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-radius: 18px;
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
}

.playlist-tracks-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.track-count {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.playlist-tracks {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.playlist-track {
    display: grid;
    grid-template-columns: 26px 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.playlist-track:last-child {
    border-bottom: 0;
}

.playlist-track-number {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.playlist-track-play {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--primary-cyan);
    font-size: 0.75rem;
}

.playlist-track-play:hover,
.playlist-track.is-active .playlist-track-play {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.98), rgba(157, 78, 221, 0.98));
    color: #06141a;
    box-shadow: 0 5px 18px rgba(0, 229, 255, 0.22);
}

.playlist-track-meta {
    min-width: 0;
}

.playlist-track-title {
    display: block;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-track-artist {
    display: block;
    overflow: hidden;
    margin-top: 0.1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-track.is-active .playlist-track-title {
    color: var(--primary-cyan);
}

.playlist-track-duration {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
}

.player-status {
    min-height: 1.4em;
    margin: 0.8rem 0 0;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.player-status.is-error {
    color: #ff7eb2;
}

@keyframes playerPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 110, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 0, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 110, 0); }
}

@media (max-width: 900px) {
    .local-player {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .now-playing-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 1rem;
    }

    .now-playing-card::after {
        display: none;
    }

    .now-playing-label,
    .now-playing-number {
        font-size: 0.68rem;
    }

    #nowPlayingTitle {
        font-size: 1.22rem;
    }

    .player-controls {
        gap: 0.55rem;
        margin: 1rem 0;
    }

    .player-icon-btn {
        width: 35px;
        height: 35px;
    }

    .player-play-btn {
        width: 50px;
        height: 50px;
    }

    .volume-control {
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr);
    }
}

@media (max-width: 390px) {
    .now-playing-card {
        grid-template-columns: 1fr;
    }

    .now-playing-artwork-wrap {
        max-width: 180px;
    }

    .playlist-track {
        grid-template-columns: 22px 38px minmax(0, 1fr);
        gap: 0.55rem;
    }

    .playlist-track-duration {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Repeat-one control */
.player-repeat-btn {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.player-repeat-btn.is-active {
    border-color: var(--primary-magenta);
    background: rgba(255, 0, 110, 0.16);
    color: #ff94bd;
    box-shadow: 0 0 18px rgba(255, 0, 110, 0.26);
}

.player-repeat-btn.is-active:hover,
.player-repeat-btn.is-active:focus-visible {
    border-color: var(--primary-magenta);
    background: rgba(255, 0, 110, 0.24);
    color: #ffd2e2;
}

/* Full-listen destination link */
.full-listen-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin: -0.45rem 0 1rem;
    color: var(--primary-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.full-listen-link:hover,
.full-listen-link:focus-visible {
    color: #c7f9ff;
    transform: translateX(2px);
}

.full-listen-link:focus-visible {
    outline: 3px solid rgba(0, 229, 255, 0.48);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Upcoming tracks awaiting their MP3 upload */
.playlist-track.is-pending {
    opacity: 0.68;
}

.playlist-track.is-pending .playlist-track-title {
    color: rgba(255, 255, 255, 0.78);
}

.playlist-track-play:disabled,
.playlist-track.is-pending .playlist-track-play {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-muted);
    box-shadow: none;
    transform: none;
}

.playlist-track-play:disabled:hover {
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-muted);
}

.playlist-track-availability {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.35rem;
    padding: 0.12rem 0.42rem;
    border: 1px solid rgba(157, 78, 221, 0.42);
    border-radius: 999px;
    background: rgba(157, 78, 221, 0.1);
    color: #d8c2ff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.3;
    text-transform: uppercase;
}
