:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #f6f3f1;
    background: #101116;
    font-size: 16px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    padding-bottom: 110px
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

button:focus-visible,
input:focus-visible {
    outline: 2px solid #ffe000;
    outline-offset: 3px
}

.shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: calc(100vh - 95px)
}

.sidebar {
    background: #15161b;
    border-right: 1px solid #2a2a30;
    padding: 32px 22px;
    display: flex;
    flex-direction: column
}

.brand {
    font-weight: 900;
    letter-spacing: .11em;
    display: flex;
    align-items: center;
    gap: 12px
}

.brand small {
    display: block;
    color: #a39b92;
    font-size: .62rem;
    letter-spacing: .16em;
    margin-top: 3px
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #ffe000;
    color: #15161b;
    border-radius: 12px;
    font-size: 1.5rem
}

.sidebar nav {
    margin-top: 60px;
    display: grid;
    gap: 8px
}

.nav {
    border: 0;
    background: transparent;
    color: #b7b5b3;
    text-align: left;
    padding: 13px 15px;
    border-radius: 10px
}

.nav:hover,
.nav.active {
    color: white;
    background: #29262a
}

.side-bottom {
    margin-top: auto;
    color: #e5dfd7;
    line-height: 1.7;
    font-size: .88rem
}

.side-bottom small {
    color: #949093
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffe000;
    margin-right: 6px
}

main {
    max-width: 1400px;
    width: 100%;
    padding: 48px clamp(24px, 5vw, 78px);
    margin: 0 auto
}

header {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: start;
    margin-bottom: 40px
}

.eyebrow {
    color: #ffe000;
    letter-spacing: .2em;
    font-size: .72rem;
    font-weight: 800
}

h1 {
    font-size: clamp(2rem, 4.5vw, 4.4rem);
    letter-spacing: -.06em;
    line-height: 1.08;
    margin: 15px 0 0
}

h1 em {
    font-style: normal;
    color: #a29b97
}

h2 {
    font-size: 1.35rem;
    letter-spacing: -.02em;
    margin: 0
}

.pill {
    background: #25252b;
    color: #f7eee5;
    border: 1px solid #49494f;
    padding: 11px 16px;
    border-radius: 99px
}

.pill:hover {
    border-color: #ffe000
}

.panel {
    max-width: 760px;
    background: #1d1e24;
    border: 1px solid #37343a;
    border-radius: 18px;
    padding: 28px
}

.panel p {
    color: #c1bdba;
    line-height: 1.5
}

.panel label {
    display: block;
    margin: 24px 0 9px;
    font-weight: 650
}

.row {
    display: flex;
    gap: 10px
}

.row input {
    min-width: 0;
    flex: 1
}

.panel input,
.search input {
    color: white;
    background: #111217;
    border: 1px solid #4a464a;
    border-radius: 9px;
    padding: 13px
}

.primary {
    border: 0;
    border-radius: 9px;
    background: #ffe000;
    color: #17170e;
    padding: 12px 18px;
    font-weight: 750
}

.primary:hover {
    background: #fff066
}

.hint {
    font-size: .88rem;
    overflow-wrap: anywhere
}

.hint code {
    color: #fff066
}

.hidden {
    display: none !important
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0
}

.ghost {
    background: transparent;
    color: #ffe000;
    border: 0
}

.folder-list {
    display: grid;
    gap: 7px;
    margin-bottom: 22px;
    max-height: 340px;
    overflow: auto
}

.folder {
    background: #292a31;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 13px;
    color: #faf7f2;
    text-align: left
}

.folder:hover {
    border-color: #ffe000
}

.search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 560px);
    background: #1e1f25;
    border: 1px solid #3b3b42;
    border-radius: 12px;
    padding: 0 17px
}

.search span {
    font-size: 1.6rem;
    color: #ffe000
}

.search input {
    border: 0;
    background: transparent;
    width: 100%;
    outline: none
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 18px
}

.album-card {
    background: #1b1c22;
    border: 1px solid #2d2d34;
    color: #f5f1ed;
    border-radius: 15px;
    text-align: left;
    padding: 12px;
    transition: transform .15s, border .15s
}

.album-card:hover {
    transform: translateY(-3px);
    border-color: #ffe000
}

.art {
    aspect-ratio: 1;
    border-radius: 10px;
    background: linear-gradient(140deg, #45432d, #292a30 58%, #1d1d27);
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: #ffe000;
    overflow: hidden
}

.art img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.album-card strong,
.album-card small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.album-card strong {
    font-size: .95rem;
    margin-top: 12px
}

.album-card small {
    font-size: .8rem;
    color: #aca5a4;
    margin: 5px 0
}

.muted {
    color: #a9a3a2
}

.track-list {
    background: #1c1d23;
    border-radius: 14px;
    overflow: hidden
}

.track {
    display: flex;
    width: 100%;
    gap: 14px;
    align-items: center;
    padding: 13px 18px;
    color: #f7f4f2;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #2f3036
}

.track:hover,
.track.current {
    background: #2e2e34
}

.track .number {
    color: #ffe000;
    width: 28px
}

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

.track .details strong,
.track .details small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.track .details small {
    color: #aaa4a1;
    font-size: .8rem
}

.message {
    margin-top: 22px;
    color: #fff066;
    min-height: 22px
}

.player {
    height: 95px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #202127;
    border-top: 1px solid #3b3940;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 12px 28px;
    z-index: 10
}

.now {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.mini-art {
    height: 54px;
    width: 54px;
    flex: none;
    background: #45432d;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #ffe000;
    font-size: 1.5rem;
    overflow: hidden
}

.mini-art img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.now strong,
.now small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.now small {
    color: #b5ada9;
    font-size: .8rem;
    margin-top: 4px
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px
}

.controls button {
    color: #f7f1ea;
    background: transparent;
    border: 0;
    font-size: 1.3rem
}

.controls .play-button {
    background: #ffe000;
    color: #17170e;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem
}

.timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    color: #a9a5a5
}

.timeline input {
    flex: 1
}

.volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #aaa
}

.volume input {
    width: 90px
}

input[type=range] {
    accent-color: #ffe000;
    cursor: pointer
}

@media(max-width:750px) {
    .shell {
        display: block
    }

    .sidebar {
        padding: 12px 20px;
        display: block
    }

    .brand {
        font-size: .8rem
    }

    .brand-mark {
        height: 32px;
        width: 32px
    }

    .sidebar nav,
    .side-bottom {
        display: none
    }

    main {
        padding: 25px 18px
    }

    header {
        display: block;
        margin-bottom: 24px
    }

    header .pill {
        margin-top: 20px
    }

    .panel {
        padding: 20px
    }

    .row {
        display: block
    }

    .row input,
    .row button {
        width: 100%;
        margin-bottom: 10px
    }

    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .player {
        height: 116px;
        grid-template-columns: 1fr auto;
        gap: 3px;
        padding: 9px 14px
    }

    .playback {
        display: contents
    }

    .controls {
        grid-column: 2;
        grid-row: 1
    }

    .timeline {
        grid-column: 1/3;
        grid-row: 2
    }

    .volume {
        display: none
    }

    body {
        padding-bottom: 130px
    }

    .now {
        grid-column: 1;
        grid-row: 1
    }

    .mini-art {
        height: 43px;
        width: 43px
    }
}
.lib-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mode-btn {
  opacity: 0.45;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.mode-btn:hover {
  opacity: 0.85;
}
.mode-btn.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.7));
}