/* ── phone 스킨: 모든 규칙을 #mp-phone-outer 하위로 스코프 ── */

#mp-phone-outer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9000;
    user-select: none;
    background: #111;
    border-radius: 30px;
    padding: 5px;
    box-shadow:
        0 0 0 1px #303030,
        0 20px 50px rgba(0,0,0,0.55),
        0 4px 12px rgba(0,0,0,0.3);
}

/* 노치 */
#mp-phone-outer::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 12px;
    background: #111;
    border-radius: 0 0 10px 10px;
    z-index: 10;
    pointer-events: none;
}

/* 플레이어 wrap */
#mp-phone-outer #mp-player-wrap {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    width: 172px !important;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* 앨범 영역: flex column */
#mp-phone-outer .mp-album-area {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}

/* 상태바: phone 스킨 전용 — #mp-phone-outer 하위로 스코프 */
#mp-phone-outer #mp-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 2px 12px 2px 12px;
    background: var(--mp-bg, #fff);
    color: var(--mp-sub, #888);
    font-size: 9px;
    font-weight: 600;
    pointer-events: none;
    position: relative;
    z-index: 2;
}
#mp-phone-outer #mp-status-time {
    margin-left: 4px;
}
#mp-phone-outer #mp-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 4px;
}

/* 다른 스킨에서 상태바/홈바 숨김 */
#mp-player-wrap:not([data-skin="phone"]) #mp-status-bar,
#mp-player-wrap:not([data-skin="phone"]) #mp-home-bar {
    display: none !important;
}

/* 앨범아트: 남은 공간 채움 */
#mp-phone-outer .mp-album-placeholder,
#mp-phone-outer .mp-album-img {
    flex: 1;
    min-height: 0;
}

/* overlay 버튼: 상태바 높이(28px) 아래부터 */
#mp-phone-outer .mp-album-overlay {
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    z-index: 3;
}
#mp-phone-outer .mp-album-overlay button {
    pointer-events: all;
}

/* 홈바: 줄 없이 인디케이터만 */
#mp-phone-outer #mp-home-bar {
    background: var(--mp-bg, #fff);
    padding: 7px 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: none;
}
#mp-phone-outer #mp-home-indicator {
    width: 60px;
    height: 4px;
    background: var(--mp-text, #222);
    opacity: 0.2;
    border-radius: 2px;
}