.track-card__art,
.sample-card__cover,
.loop-card__cover,
.hall-library-card__cover {
    position: relative;
    overflow: hidden;
}

.control-shell,
.dock,
.page-fixed-player-shell {
    display: none !important;
}

.inline-deck {
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    display: grid;
    gap: 0.4rem;
    padding: 0.44rem 0.48rem;
    border: 1px solid rgba(233, 205, 160, 0.24);
    border-radius: 22px;
    background:
        repeating-linear-gradient(110deg, rgba(255,255,255,0.045) 0 2px, rgba(255,255,255,0.012) 2px 8px),
        linear-gradient(180deg, rgba(10, 10, 10, 0.16), rgba(8, 8, 8, 0.88)),
        linear-gradient(135deg, rgba(217, 173, 103, 0.09), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
    cursor: default;
    transform-origin: bottom center;
    transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.inline-deck__top,
.inline-deck__bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-deck__top {
    justify-content: space-between;
}

.inline-deck__brand {
    min-width: 0;
    display: grid;
    gap: 0.08rem;
    outline: none;
    flex: 1 1 auto;
    pointer-events: none;
}

.inline-deck__brand strong,
.inline-deck__brand span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inline-deck__brand strong {
    color: #f6ecde;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inline-deck__brand span {
    color: rgba(246, 236, 222, 0.72);
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.inline-deck__actions {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.inline-deck__button {
    appearance: none;
    border: 1px solid rgba(233, 205, 160, 0.24);
    border-radius: 999px;
    background:
        repeating-linear-gradient(110deg, rgba(255,255,255,0.05) 0 2px, rgba(255,255,255,0.012) 2px 8px),
        linear-gradient(180deg, rgba(48, 40, 33, 0.92), rgba(22, 18, 15, 0.92));
    color: #f4ddb6;
    cursor: pointer;
    font: inherit;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.inline-deck__button:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 173, 103, 0.44);
}

.inline-deck__button--play {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 800;
}

.inline-deck__button--hq {
    min-width: 2.3rem;
    height: 2rem;
    padding: 0 0.58rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.inline-deck__button.is-active,
.inline-deck.is-active .inline-deck__button--play {
    background: linear-gradient(135deg, rgba(221, 181, 110, 0.96), rgba(164, 102, 54, 0.92));
    color: #1e140b;
    border-color: rgba(232, 198, 142, 0.58);
}

.inline-deck__bottom {
    display: grid;
    gap: 0.42rem;
    overflow: hidden;
    max-height: 12rem;
    opacity: 1;
    transition: max-height 180ms ease, opacity 180ms ease, margin-top 180ms ease;
    margin-top: 0.05rem;
}

.inline-deck.is-condensed .inline-deck__bottom {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.inline-deck__seek {
    display: grid;
    gap: 0.22rem;
}

.inline-deck__seek-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inline-deck__time {
    color: rgba(246, 236, 222, 0.72);
    font-size: 0.54rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.inline-deck__seek-range {
    width: 100%;
    margin: 0;
    accent-color: #d9ad67;
}

.inline-deck__eq {
    display: flex;
    align-items: end;
    gap: 0.55rem;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: space-between;
}

.inline-deck__band,
.inline-deck__db {
    display: grid;
    gap: 0.24rem;
}

.inline-deck__band-label,
.inline-deck__db {
    color: rgba(246, 236, 222, 0.74);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.inline-deck__band {
    justify-items: center;
}

.inline-deck__db {
    min-width: 3.8rem;
    text-align: right;
    align-self: center;
}

.inline-deck__range {
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    writing-mode: bt-lr;
    width: 0.9rem;
    height: 4.8rem;
    accent-color: #d9ad67;
    margin: 0;
}

.inline-deck.is-playing {
    border-color: rgba(232, 198, 142, 0.54);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(232, 198, 142, 0.18);
}

.inline-deck.is-reacting {
    border-color: rgba(236, 206, 154, 0.6);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        0 0 calc(12px + 28px * var(--react-strength, 0.3)) rgba(233, 190, 113, 0.42),
        0 0 0 1px rgba(232, 198, 142, 0.18);
}

.inline-deck[data-react-band="low"].is-reacting {
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        0 0 calc(14px + 26px * var(--react-strength, 0.3)) rgba(199, 142, 82, 0.42),
        0 0 0 1px rgba(232, 198, 142, 0.18);
}

.inline-deck[data-react-band="mid"].is-reacting {
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        0 0 calc(14px + 26px * var(--react-strength, 0.3)) rgba(224, 178, 95, 0.5),
        0 0 0 1px rgba(232, 198, 142, 0.18);
}

.inline-deck[data-react-band="high"].is-reacting {
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        0 0 calc(14px + 26px * var(--react-strength, 0.3)) rgba(243, 225, 183, 0.46),
        0 0 0 1px rgba(232, 198, 142, 0.18);
}

@media (max-width: 720px) {
    .inline-deck {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.5rem 0.54rem;
    }

    .inline-deck__brand strong {
        font-size: 0.64rem;
    }

    .inline-deck__button--play,
    .inline-deck__button--hq {
        height: 1.9rem;
    }

    .inline-deck__eq {
        gap: 0.4rem;
    }

    .inline-deck__range {
        height: 4.2rem;
    }

    .inline-deck__bottom {
        max-height: 11rem;
    }
}
