/* =========================================
   플레이리스트 독립 페이지 전용 스타일
   싸이바- 감상실 버전 (수정됨: 상단 여백 확보로 잘림 방지)
   ========================================= */

/* 기본 배경 및 레이아웃 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

body::before,
body::after {
    display: none !important;
    content: none !important;
}

html {
    background: transparent !important;
}

/* 컨테이너 */
.playlist-page-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent !important;
    background-color: transparent !important;
    padding: 20px !important;
    overflow: visible !important;
}

/* 헤더 스타일 */
.playlist-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.playlist-header h1 {
    font-family: var(--f-deco);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: #000000;
    margin-bottom: 40px;
}

/* 카툰형 말풍선 스타일 */
.header-subtitle.speech-bubble {
    position: relative;
    display: inline-block;
    background: #ffffff;
    border: 3px solid #000000;
    padding: 15px 25px;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

/* 좌측 말풍선 (음악만 들으러 왔어요) - 데스크탑에서 좌측으로 120px 이동 */
.header-subtitle.speech-bubble-left {
    margin-right: auto;
    margin-left: 120px;
}

/* 좌측 말풍선 화살표 (왼쪽 아래) */
.header-subtitle.speech-bubble-left::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000000;
}

.header-subtitle.speech-bubble-left::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 32px;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #ffffff;
    z-index: 1;
}

/* 우측 말풍선 (저도요) - 우측 정렬 */
.header-subtitle.speech-bubble-right {
    margin-left: auto;
    margin-right: 120px;
}

/* 우측 말풍선 화살표 (오른쪽 아래) */
.header-subtitle.speech-bubble-right::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 30px;
    left: auto;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000000;
}

.header-subtitle.speech-bubble-right::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 32px;
    left: auto;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #ffffff;
    z-index: 1;
}

/* 말풍선들을 감싸는 wrapper - 데스크탑에서 중앙 정렬 */
.speech-bubbles-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 좌측 말풍선 위치 조정 */
.header-subtitle.speech-bubble-left {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
}

/* 우측 말풍선 위치 조정 */
.header-subtitle.speech-bubble-right {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 30px;
}

/* 모든 텍스트 검정색 - 특이성 높여서 !important 제거 */
.playlist-page-container,
.playlist-page-container * {
    color: #000000;
}

.playlist-page-container .lp-title,
.playlist-page-container .lp-artist,
.playlist-page-container .lp-pl-title,
.playlist-page-container .lp-pl-artist,
.playlist-page-container .lp-pl-num {
    color: #000000;
}

/* 아이콘은 제외 */
.playlist-page-container i.fa-solid,
.playlist-page-container i.fa-regular,
.playlist-page-container i.fa-brands {
    color: inherit;
}

/* 버튼 스크린톤 효과는 lp-player.css에서 상속 */

/* LP 플레이어 스타일 */
.playlist-page-container .lp-player {
    background: transparent;
    padding: 20px 0;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.playlist-page-container #sect-playlist {
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
}

/* 파형 관련 */
.playlist-page-container .lp-record-with-soundwave {
    overflow: visible;
    position: relative;
    background: transparent;
}

.playlist-page-container .lp-soundwave-ring {
    overflow: visible;
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.playlist-page-container .lp-record-container {
    position: relative;
    pointer-events: none;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    z-index: 2;
}

/* LP 디스크 z-index 유지 (파형보다 앞에) */
.playlist-page-container .lp-disc {
    z-index: 1;
}

.playlist-page-container .lp-record-container::before,
.playlist-page-container .lp-record-container::after {
    display: none;
}

.playlist-page-container .lp-record-container img,
.playlist-page-container .lp-label {
    pointer-events: none;
}

/* LP 레이블 (커버 아트 스타일) - 찌그러짐 방지 */
.playlist-page-container .lp-label {
    background: transparent;
    width: 60px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    overflow: hidden;
}

.playlist-page-container .lp-label img {
    background: transparent;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* lp-pl-thumb (플레이리스트 썸네일) - 찌그러짐 방지 */
.lp-pl-thumb {
    width: 130px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    object-fit: cover;
    background: transparent !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #000000;
}

.lp-left-section {
    background: transparent !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
    width: auto;
}

/* 트랙 정보 */
.playlist-page-container .lp-track-info .lp-title,
.playlist-page-container .lp-track-info .lp-artist {
    color: #000000;
}

.playlist-page-container .lp-title {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.playlist-page-container .lp-artist {
    font-weight: 600;
    font-size: 0.9rem;
}

/* 프로그레스 바 */
.playlist-page-container .lp-progress-bar {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #000000;
    border-radius: 10px;
    height: 6px;
    cursor: pointer;
}

.playlist-page-container .lp-progress-fill {
    background: #000000;
    border-radius: 10px;
}

.playlist-page-container .lp-progress-fill::after {
    background: #000000;
    border: 2px solid #ffffff;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.playlist-page-container .lp-progress-time span,
.playlist-page-container #phone-current-time,
.playlist-page-container #phone-total-time {
    color: #000000;
    font-weight: 600;
}

/* 트랙 정보 카툰 스타일 */
.playlist-page-container .lp-track-info {
    background: #ffffff;
    padding: 12px 0;
    margin: 15px 0;
    border-bottom: 2px dashed #000000;
}

/* 컨트롤 버튼 카툰 스타일 */
.playlist-page-container .lp-controls {
    background: #ffffff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.playlist-page-container .lp-controls button {
    border: 2px solid #000000;
    background-color: #fff;
    color: #000000;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* 셔플 버튼 */
.playlist-page-container .lp-controls .lp-shuffle-btn {
    background: transparent;
}
.playlist-page-container .lp-controls .lp-shuffle-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    color: #000000;
}
.playlist-page-container .lp-controls .lp-shuffle-btn.active {
    background: rgba(0, 0, 0, 0.2);
}
.playlist-page-container .lp-controls .lp-shuffle-btn:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.3);
}

/* 이전 곡 버튼 */
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(2) {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.3) 4px, rgba(0, 0, 0, 0.3) 8px);
    background-size: 12px 12px;
}
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(2):hover {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.5) 4px, rgba(0, 0, 0, 0.5) 8px);
    transform: scale(1.1);
    color: #000000;
}
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(2):active {
    transform: scale(0.95);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.7) 4px, rgba(0, 0, 0, 0.7) 8px);
}

/* 다음 곡 버튼 */
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(4) {
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.3) 4px, rgba(0, 0, 0, 0.3) 8px);
    background-size: 12px 12px;
}
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(4):hover {
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.5) 4px, rgba(0, 0, 0, 0.5) 8px);
    transform: scale(1.1);
    color: #000000;
}
.playlist-page-container .lp-controls .lp-ctrl-side:nth-child(4):active {
    transform: scale(0.95);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(0, 0, 0, 0.7) 4px, rgba(0, 0, 0, 0.7) 8px);
}

/* 플레이 버튼 */
.playlist-page-container .lp-ctrl-main {
    border-width: 3px;
    font-size: 1.3rem;
    width: 50px;
    height: 50px;
    background-color: #fff;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.25) 1px, transparent 1.5px), linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
    background-size: 3px 3px, 100% 100%;
    background-repeat: repeat, no-repeat;
    color: #000;
}
.playlist-page-container .lp-ctrl-main:hover {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.5) 1px, transparent 1.5px), linear-gradient(180deg, #e0e0e0 0%, #707070 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.playlist-page-container .lp-ctrl-main:active {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.6) 1px, transparent 1.5px), linear-gradient(180deg, #505050 0%, #303030 100%);
}
.playlist-page-container .lp-player.playing .lp-ctrl-main {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.5) 1px, transparent 1.5px), linear-gradient(180deg, #e0e0e0 0%, #707070 100%);
    color: #fff;
}

.playlist-page-container .lp-ctrl-side {
    border-width: 2px;
    font-size: 1rem;
}

/* 플레이리스트 래퍼 */
.lp-playlist-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: none !important;
    filter: none !important;
    overflow: hidden;
    min-width: 200px; 
    width: 200px;
    flex-shrink: 0;
}

/* 모든 그림자 효과 완전 제거 */
.playlist-page-container .lp-playlist-wrapper,
.playlist-page-container .lp-playlist-wrapper * {
    box-shadow: none !important;
    filter: none !important;
}

/* [수정] 플레이리스트 컨테이너 - 상단 패딩 대폭 추가 (50px) */
.lp-playlist {
    background: #ffffff;
    background-image: 
        repeating-linear-gradient(0deg, #000000 0px, #000000 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, #000000 0px, #000000 1px, transparent 1px, transparent 40px);
    
    /* 기존 15px -> 상단 50px로 변경하여 첫 번째 앨범 호버 공간 확보 */
    padding: 50px 15px 15px 15px;
    
    border: 2px dashed #000000;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: relative;
    height: 600px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    opacity: 1;
    box-shadow: none;
    filter: none;
    text-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    width: 100%;
}


/* 플레이리스트 복원 시 페이드 인 */
.lp-playlist.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* 플레이리스트 아이템 스타일 */
.lp-playlist .lp-pl-item {
    background: transparent;
    border-radius: 0;
    margin-bottom: -120px;
    padding: 0;
    border: none;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    flex-shrink: 0;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center bottom;
    z-index: 1;
    cursor: pointer;
    pointer-events: auto;
    will-change: transform;
    overflow: hidden;
}

/* 첫 번째 앨범 */
.lp-playlist .lp-pl-item:first-child {
    margin-top: 0;
    margin-bottom: -120px;
}

/* 호버 시 앨범 강조 */
.lp-playlist .lp-pl-item:hover {
    transform: translateY(-30px) scale(1.05);
    overflow: visible;
}

/* 재생 중인 앨범 강조 */
.lp-playlist .lp-pl-item.active {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.5);
}

.lp-playlist .lp-pl-item.active:hover {
    transform: translateY(-30px) scale(1.05);
}

.lp-playlist .lp-pl-item.active .lp-pl-thumb {
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* 마지막 아이템 하단 여백 */
.lp-playlist .lp-pl-item:last-child {
    margin-bottom: 40px;
    padding-bottom: 0;
}

.lp-playlist .lp-pl-item:last-child .lp-pl-thumb,
.lp-playlist .lp-pl-item:last-child .lp-pl-text,
.lp-playlist .lp-pl-item:last-child .lp-pl-num,
.lp-playlist .lp-pl-item:last-child .lp-pl-title,
.lp-playlist .lp-pl-item:last-child .lp-pl-artist {
    margin-bottom: 0;
    padding-bottom: 0;
}

.lp-playlist .lp-pl-item::before,
.lp-playlist .lp-pl-item::after { display: none; content: none; background: none; }
.lp-playlist .lp-pl-item * { background: transparent; }
.lp-playlist .lp-pl-text { background: transparent; }
.lp-playlist .lp-pl-num, .lp-playlist .lp-pl-title, .lp-playlist .lp-pl-artist { background: transparent; }

/* 단순한 검은 스크롤바 */
.playlist-page-container .lp-playlist::-webkit-scrollbar {
    width: 8px;
}
.playlist-page-container .lp-playlist::-webkit-scrollbar-track {
    background: #ffffff;
}
.playlist-page-container .lp-playlist::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}
.playlist-page-container .lp-playlist::-webkit-scrollbar-thumb:hover {
    background: #333333;
}
.playlist-page-container .lp-playlist {
    scrollbar-width: thin;
    scrollbar-color: #000000 #ffffff;
}

.playlist-page-container .rhetoric-box { display: none; }

/* =========================================
   신청곡: 리스트/폼 아웃사이드, 본문 중앙 정렬 (수정: 찌그러짐 방지)
   ========================================= */
.lp-player-with-stickies {
    display: grid;
    grid-template-columns: auto minmax(auto, 960px) auto;
    align-items: start;
    column-gap: 30px;
    row-gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 25px;
    padding: 0 20px;
    box-sizing: border-box;
    justify-content: center;
}

/* 본문: LP 플레이어 (중앙) */
.lp-main-content {
    grid-column: 2;
    min-width: 0;
}

.playlist-page-container .lp-player-with-stickies .lp-player {
    max-width: 100%;
    margin: 0 auto;
}

/* 아웃사이드 좌: 신청곡 리스트 */
.guestbook-sticky.guestbook-sticky--outside {
    position: sticky;
    top: 24px;
    width: 200px;
    max-width: 200px;
    justify-self: end;
}

.guestbook-sticky--left.guestbook-sticky--outside {
    grid-column: 1;
}

.guestbook-sticky-inner {
    font-family: var(--f-serif);
    color: #000000;
    background: #fffff8;
    border: 2px solid #000000;
    box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.15);
    padding: 16px;
    box-sizing: border-box;
    min-height: 120px;
    width: 100%;
}

.guestbook-sticky--left .guestbook-sticky-inner {
    transform: rotate(-2deg);
}

/* 아웃사이드 우: 신청곡 스티키 (폼) */
.request-sticky-outside {
    grid-column: 3;
    justify-self: start;
    margin-left: 0;
    position: sticky;
    top: 50px;
    z-index: 10;
}

.request-sticky-wrap {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.request-sticky-inner {
    font-family: var(--f-serif);
    color: #000000;
    background: #fffff8;
    border: 2px solid #000000;
    box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.15);
    padding: 12px 14px;
    box-sizing: border-box;
    min-width: 130px;
    max-width: 150px;
    transform: rotate(2deg);
}

.request-pencil {
    font-size: 1.25rem;
    color: #000000;
    opacity: 0.85;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

/* 그라모폰만 (폼 제거됨) */
.lp-record-and-sticky {
    width: 100%;
    max-width: 100%;
}

.lp-record-and-sticky .lp-record-with-soundwave {
    flex-shrink: 0;
}

.guestbook-sticky-title {
    font-family: var(--f-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

/* 모바일 전용 쪽지 아이콘 (데스크탑에서 숨김) */
.request-modal-trigger {
    display: none;
}

/* 신청 쪽지 모달 (모바일) */
.request-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.request-modal-overlay.is-open {
    display: flex;
}

.request-modal {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #fffff8;
    border: 2px solid #000000;
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 24px 20px;
    box-sizing: border-box;
}

.request-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.request-modal-close:hover {
    background: #000000;
    color: #ffffff;
}

.request-modal-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.request-modal-inner .guestbook-sticky-title {
    margin-bottom: 12px;
}

.request-pencil--modal {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
    transform: rotate(-45deg);
}

/* 폼 */
.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guestbook-label {
    font-family: var(--f-serif);
    font-size: 0.75rem;
    color: #000000;
    opacity: 0.8;
}

.guestbook-input,
.guestbook-textarea {
    font-family: var(--f-serif);
    font-size: 0.85rem;
    color: #000000;
    background: transparent;
    border: 1px solid #000000;
    border-radius: 4px;
    padding: 6px 10px;
    box-sizing: border-box;
    width: 100%;
    transition: background 0.2s, box-shadow 0.2s;
}

.guestbook-textarea {
    resize: vertical;
    min-height: 72px;
}

.guestbook-input::placeholder,
.guestbook-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.guestbook-input:focus,
.guestbook-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 1px #000000;
}

.guestbook-send-btn {
    font-family: var(--f-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.guestbook-send-btn:hover {
    background: #000000;
    color: #ffffff;
}

.guestbook-send-btn:active {
    transform: translate(1px, 1px);
}

/* 리스트: 등록된 신청곡 스티키 */
.guestbook-list {
    font-family: var(--f-serif);
    font-size: 0.8rem;
    line-height: 1.6;
    color: #000000;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guestbook-list .guestbook-entry {
    background: #fffff8;
    border: 2px solid #000000;
    box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.12);
    padding: 10px 12px;
    box-sizing: border-box;
    transform: rotate(1deg);
}

.guestbook-list .guestbook-entry:nth-child(even) {
    transform: rotate(-1deg);
}

.guestbook-list .guestbook-entry-name {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 4px;
    overflow: hidden;
}

.guestbook-list .guestbook-entry-date {
    font-weight: normal;
    font-size: 0.7rem;
    color: #888;
    float: right;
    margin-left: 8px;
}

.guestbook-list .guestbook-entry-msg {
    font-style: italic;
    white-space: pre-wrap;
    word-break: break-word;
}

.guestbook-list .guestbook-empty {
    font-style: italic;
    opacity: 0.6;
    font-size: 0.8rem;
}

.playlist-page-container .guestbook-list::-webkit-scrollbar {
    width: 6px;
}
.playlist-page-container .guestbook-list::-webkit-scrollbar-track {
    background: transparent;
}
.playlist-page-container .guestbook-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.playlist-page-container .guestbook-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* 전역 트랜지션 */
.playlist-page-container * {
    transition: all 0.2s ease;
}

.playlist-page-container button:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

/* 애니메이션: 플레이리스트 전체 슬라이드 아웃 */
.lp-playlist.sliding-out {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    pointer-events: none;
}

/* 빈 슬롯 (Placeholder) - 리스트 전체 교체 */
.playlist-page-container .lp-playlist-placeholder {
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed #000000;
    border-radius: 12px;
    padding: 40px 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    animation: fadeInPlaceholder 0.5s ease-in-out 0.5s forwards;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

@keyframes fadeInPlaceholder {
    from { opacity: 0; }
    to { opacity: 1; }
}

.playlist-page-container .lp-playlist-placeholder-text {
    font-family: var(--f-serif);
    font-size: 1rem;
    color: #000000;
    opacity: 0.7;
    font-style: italic;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* 다음 앨범 버튼 */
.next-album-button-wrapper,
.back-album-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 0;
}

.next-album-btn,
.back-album-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #000000;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.next-album-btn i,
.back-album-btn i {
    color: #ffffff;
}

.next-album-btn:hover,
.back-album-btn:hover {
    background-color: #333333;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.next-album-btn:active,
.back-album-btn:active {
    transform: scale(0.95);
    background-color: #000000;
}

/* Who's music, for what? 작은 문구 */
.playlist-invitation-small {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.invitation-text-small {
    font-family: var(--f-sans);
    font-size: 0.7rem !important;
    color: #000000 !important;
    opacity: 0.6;
    letter-spacing: 1px;
    font-weight: 500;
    font-style: italic;
}

/* 하단 크레딧 */
.page-footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
    border-top: 1px dashed #000000;
}

.footer-text {
    font-family: var(--f-serif);
    font-size: 0.9rem;
    color: #000000;
    opacity: 0.7;
    letter-spacing: 1px;
}


/* 반응형 */
@media (max-width: 768px) {
    .playlist-header h1 { font-size: 2rem; letter-spacing: 4px; margin-bottom: 30px; }
    .header-subtitle.speech-bubble { font-size: 1.2rem; padding: 12px 20px; }
    .speech-bubbles-wrapper { flex-direction: column; align-items: center; gap: 15px; padding: 0 10px; }
    .header-subtitle.speech-bubble-left, .header-subtitle.speech-bubble-right { margin-left: auto; margin-right: auto; }
    
    .lp-player-with-stickies {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        gap: 20px;
    }
    
    /* 본문 상단, 신청곡 현황 하단 */
    .lp-main-content { grid-column: 1; grid-row: 1; }
    .guestbook-sticky--left.guestbook-sticky--outside {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        max-width: 280px;
        width: 100%;
    }
    
    /* 데스크탑 신청 쪽지 스티키 숨김 → 모달로 대체 */
    .request-sticky-outside {
        display: none !important;
    }
    
    /* 모바일 전용 좌측 상단 플로팅 (타이틀보다 약간 위, 스크롤 시 뷰포트 고정) */
    .request-modal-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 12px;
        left: 12px;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        border: 2px solid #000000;
        background: #fffff8;
        color: #000000;
        box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.2);
        z-index: 9998;
        cursor: pointer;
        font-size: 1.25rem;
        transition: transform 0.2s, background 0.2s, color 0.2s;
    }
    .request-modal-trigger:hover {
        background: #000000;
        color: #ffffff;
        transform: scale(1.05);
    }
    
    .request-sticky-inner { max-width: 140px; }
    .request-pencil { font-size: 1.1rem; }
    
    .lp-record-and-sticky .lp-record-with-soundwave { flex-shrink: 0; }
    
    .playlist-page-container .lp-player { flex-direction: column; gap: 20px; }
    .playlist-page-container .lp-left-section { width: 100%; max-width: 100%; }
    
    .playlist-page-container .lp-record-with-soundwave { width: 280px; height: 245px; max-width: 100%; }
    .playlist-page-container .gramophone-body { width: 220px; height: 220px; }
    .playlist-page-container .lp-disc { width: 170px; height: 170px; }
    
    .playlist-page-container .lp-playlist-wrapper { width: 100% !important; max-width: 280px !important; margin: 0 auto !important; min-width: 0 !important; }
    
    /* [수정] 모바일 플레이리스트 컨테이너 - 상단 패딩 50px */
    .playlist-page-container .lp-playlist {
        background: #ffffff;
        
        /* 모바일에서도 50px 상단 패딩 적용 */
        padding: 50px 10px 15px 10px;
        
        border: 2px dashed #000000;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        height: 500px;
        max-height: 500px;
        overflow-y: auto;
        background-image: repeating-linear-gradient(0deg, #000000 0px, #000000 1px, transparent 1px, transparent 30px), repeating-linear-gradient(90deg, #000000 0px, #000000 1px, transparent 1px, transparent 30px);
    }
    .playlist-page-container .lp-playlist::-webkit-scrollbar { display: none; }
    
    .playlist-page-container .lp-playlist .lp-playlist-placeholder {
        width: calc(100% - 20px) !important;
        height: calc(500px - 80px) !important;
        padding: 15px 10px !important;
    }
    
    .playlist-page-container .lp-playlist .lp-pl-item {
        width: 140px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -100px;
    }
    .playlist-page-container .lp-playlist .lp-pl-item:first-child { margin-top: 0; margin-bottom: -100px; }
    .playlist-page-container .lp-playlist .lp-pl-item:hover { transform: translateY(-30px) scale(1.05); }
    .playlist-page-container .lp-playlist .lp-pl-item.active:hover { transform: translateY(-30px) scale(1.05); }
    .playlist-page-container .lp-playlist .lp-pl-item:last-child { margin-bottom: 50px; }
    
    .playlist-page-container .lp-playlist .lp-pl-thumb { width: 140px; height: 140px; margin-left: auto; margin-right: auto; }
    .playlist-page-container .lp-playlist .lp-pl-item.active { width: 140px; }
    
    .next-album-btn, .back-album-btn { width: 45px; height: 45px; font-size: 1rem; }
    .next-album-button-wrapper, .back-album-button-wrapper { margin-top: 25px; }
}

@media (max-width: 440px) {
    .playlist-header h1 { font-size: 1.6rem; letter-spacing: 3px; margin-bottom: 25px; }
    .header-subtitle.speech-bubble { font-size: 1rem; padding: 10px 16px; }
    .request-sticky-inner { max-width: 120px; padding: 10px 12px; }
    .request-pencil { font-size: 1rem; }
    .guestbook-sticky { max-width: 240px; }
    .guestbook-list { max-height: 200px; }
    
    .speech-bubbles-wrapper { gap: 12px; padding: 0 8px; }
    
    .playlist-page-container .lp-record-with-soundwave { width: 240px; height: 210px; }
    .playlist-page-container .gramophone-body { width: 190px; height: 190px; }
    .playlist-page-container .lp-disc { width: 150px; height: 150px; }
    
    .playlist-page-container .lp-playlist-wrapper { max-width: 240px !important; }
    
    /* [수정] 작은 모바일 플레이리스트 컨테이너 - 상단 패딩 45px */
    .playlist-page-container .lp-playlist {
        padding: 45px 8px 15px 8px;
        height: 450px;
        max-height: 450px;
        background-image: repeating-linear-gradient(0deg, #000000 0px, #000000 1px, transparent 1px, transparent 25px), repeating-linear-gradient(90deg, #000000 0px, #000000 1px, transparent 1px, transparent 25px);
    }
    
    .playlist-page-container .lp-playlist .lp-playlist-placeholder {
        width: calc(100% - 16px) !important;
        height: calc(450px - 25px) !important;
        padding: 12px 8px !important;
    }
    
    .playlist-page-container .lp-playlist .lp-pl-item { width: 120px; margin-bottom: -90px; }
    .playlist-page-container .lp-playlist .lp-pl-item:first-child { margin-bottom: -90px; }
    .playlist-page-container .lp-playlist .lp-pl-item:last-child { margin-bottom: 40px; }
    
    .playlist-page-container .lp-playlist .lp-pl-thumb { width: 120px; height: 120px; }
    .playlist-page-container .lp-playlist .lp-pl-item.active { width: 120px; }
    
    .next-album-btn, .back-album-btn { width: 40px; height: 40px; font-size: 0.9rem; }
}