/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #0f172a; color: #e2e8f0; }
a { color: inherit; text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 24px; }
.card { background: #1e293b; border-radius: 12px; padding: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-gap: 16px; gap: 16px; }
input, textarea { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: #e2e8f0; }
button { padding: 10px 14px; border-radius: 8px; border: 0; background: #2563eb; color: white; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.row { display: flex; gap: 12px; align-items: center; }

/*!********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/mp.css ***!
  \********************************************************************************************************************************************************************************************************************************************************/
:root {
    color-scheme: dark;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.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;
}

.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem clamp(0.9rem, 3vw, 2rem);
    border-radius: 0;
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    z-index: 30;
}

.floating-header__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #f8fafc;
    border: 1px solid transparent;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.floating-header__action--back {
    padding: 0.35rem;
    border: none;
    background: transparent;
    box-shadow: none;
}

.floating-header__action--back:hover {
    color: #a5b4fc;
}

.floating-header__action--menu {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.floating-header__action--menu:hover {
    border-color: rgba(248, 250, 252, 0.6);
    background: rgba(99, 102, 241, 0.3);
}

.floating-header__icon {
    font-size: 1rem;
    line-height: 1;
}

.floating-header__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.floating-header__dots span {
    width: 0.1rem;
    height: 0.1rem;
    background: #f8fafc;
    border-radius: 999px;
}

.player-shell {
    margin-top: clamp(2.8rem, 6vw, 4.5rem);
}

.album-gallery {
    background: rgba(15, 23, 42, 0.85);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    box-shadow: 0 35px 60px rgba(2, 6, 23, 0.55);
}

.album-gallery__heading {
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.album-gallery__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 0.75rem;
}

.album-gallery__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.album-gallery__subtitle {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.95rem;
}

.album-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.75rem;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.album-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1.25rem;
    /* background: rgba(15, 23, 42, 0.9); */
    /* border: 1px solid rgba(148, 163, 184, 0.2); */
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.album-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.55);
    background: rgba(30, 41, 59, 0.95);
}

.album-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
    background: rgba(15, 23, 42, 0.6);
}

.album-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.album-card:hover .album-card__image {
    transform: scale(1.03);
}

.album-card__body {
    text-align: center;
}

.album-card__title {
    font-size: 1rem;
    font-weight: 600;
}

.album-card__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(148, 163, 184, 0.85);
}

.album-card__meta span {
    display: inline-flex;
    align-items: center;
}

.album-card__divider {
    width: 1.5rem;
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
    display: inline-flex;
    align-self: center;
}

.progress-container {
    position: relative;
    height: 12px;
    border-radius: 9999px;
    cursor: pointer;
    background: rgba(148, 163, 184, 0.3);
}

.buffered-bar {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(148, 163, 184, 0.5);
    width: 0%;
}

.progress-bar {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    width: 0%;
}

input[type="range"] {
    accent-color: #8b5cf6;
}

.track-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.3;
    max-width: 100%;
    width: 100%;
}

.track-title.single-line {
    display: flex;
    align-items: center;
    min-height: 2.6em;
    white-space: nowrap;
    word-break: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

@media (pointer: coarse), (hover: none) {
    .volume-control {
        /* display: none !important; */
    }
}

.gallery-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(2, 6, 23, 0.88);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
}

.gallery-overlay.hidden {
    display: none;
}

.gallery-overlay__image-frame {
    position: relative;
    width: min(100%, 960px);
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}

.gallery-overlay__image {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.gallery-close-btn,
.gallery-nav-btn {
    position: absolute;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.75);
    color: #f8fafc;
    border-radius: 9999px;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}

.gallery-close-btn:hover,
.gallery-nav-btn:hover {
    background: rgba(99, 102, 241, 0.85);
    border-color: rgba(99, 102, 241, 0.85);
}

.gallery-close-btn {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
}

.gallery-nav-btn {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-nav-btn--left {
    left: min(2%, 2rem);
}

.gallery-nav-btn--right {
    right: min(2%, 2rem);
}

@media (max-width: 640px) {
    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay__image {
        border-radius: 1rem;
    }

    .gallery-close-btn,
    .gallery-nav-btn {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
    }

    .gallery-close-btn {
        top: 1rem;
        right: 1rem;
    }
}
