/* RSS Sticky Player v4.2 (Thumbnail Feature Added) */

/* ============================================= */
/* 재생 목록 (List) */
/* ============================================= */
.ssp-list-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}
/* 목록 구분점(bullet)을 근본적으로 제거하는 강력한 규칙 */
.ssp-list-container ul,
.ssp-list-container li.ssp-item-wrapper {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.ssp-list-container li.ssp-item-wrapper::before {
    display: none !important;
}

.ssp-list-container ul {
    background-color: #ffffff;
}
.ssp-item-wrapper {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}
.ssp-item-wrapper:last-child {
    border-bottom: none;
}
.ssp-item-wrapper.is-open {
    background-color: #f8f9fa;
}

.ssp-playable-item {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    cursor: pointer;
}
.ssp-item-wrapper .ssp-playable-item.playing {
    background-color: #e7f5ff;
}
.ssp-item-wrapper .ssp-playable-item.playing .ssp-item-title {
    color: #1c7ed6;
    font-weight: 600;
}
.ssp-item-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    margin-right: 16px;
}
.ssp-item-play-icon {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #a0a0a0;
    margin-left: 3px;
    transition: border-color 0.2s ease;
}
.ssp-item-wrapper .ssp-playable-item.playing .ssp-item-play-icon,
.ssp-item-wrapper .ssp-playable-item:hover .ssp-item-play-icon {
    border-left-color: #1c7ed6;
}

/* ================== [추가] 목록 썸네일 스타일 ================== */
.ssp-item-thumbnail {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 16px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.ssp-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ============================================================== */

.ssp-item-details {
    min-width: 0;
    flex-grow: 1;
}
.ssp-item-title {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ssp-item-author {
    font-size: 14px;
    color: #888888;
    margin-top: 2px;
}

/* 아코디언 콘텐츠 스타일 */
.ssp-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.ssp-item-wrapper.is-open .ssp-accordion-content {
    max-height: 1000px;
}
/* [복원] 원래 스타일로 복원 */
.ssp-description-inner {
    padding: 30px 20px 30px 60px; /* 위, 오른쪽, 아래, 왼쪽 순서로 여백 */
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.ssp-description-inner p:first-child { margin-top: 0; }
.ssp-description-inner p:last-child { margin-bottom: 0; }
.ssp-description-inner a { color: #1c7ed6; text-decoration: none; }
.ssp-description-inner a:hover { text-decoration: underline; }

/* ============================================= */
/* 하단 고정 플레이어 (Sticky Player) */
/* ============================================= */
#ssp-sticky-player { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 10000; background: linear-gradient(to top, #f3f8ff 0%, #ffffff 100%); box-shadow: 0 -4px 25px rgba(76, 110, 245, 0.1); transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); border-top: 1px solid #dee2e6; }
#ssp-sticky-player.ssp-visible { transform: translateY(0); }
.ssp-player-wrapper { display: flex; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 25px; height: 100%; gap: 25px; }
#ssp-close-btn { position: absolute; top: -20px; right: 15px; width: 40px; height: 40px; background: linear-gradient(135deg, #2AFADF 0%, #4C83FF 100%); color: #fff; border: 2px solid #fff; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 300; line-height: 1; padding: 0 0 2px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.2s ease, box-shadow 0.2s ease; }
#ssp-close-btn:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.ssp-player-thumb { flex-shrink: 0; width: 68px; height: 68px; border-radius: 8px; overflow: hidden; background-color: #f0f0f0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.ssp-player-image { width: 100%; height: 100%; object-fit: cover; }
.ssp-player-info { flex-grow: 1; flex-basis: 40%; min-width: 0; text-align: left; }
.ssp-player-title { margin: 0; font-size: 1rem; font-weight: 700; color: #212529; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssp-player-author { font-size: 0.85rem; color: #495057; margin-top: 4px; }
.ssp-player-controls { flex-grow: 1; flex-basis: 60%; }
#ssp-player-audio { width: 100%; background: transparent; vertical-align: middle; }

@media (max-width: 768px) {
    .ssp-player-wrapper { padding: 0 15px; position: relative; }
    .ssp-player-info { position: absolute; top: 10px; left: 98px; right: 15px; margin: 0; }
    .ssp-player-controls { position: absolute; bottom: 10px; left: 98px; right: 15px; width: auto; }
}

/* ============================================= */
/* 페이지네이션 (Pagination) 스타일 */
/* ============================================= */
.ssp-pagination { margin-top: 25px; text-align: center; }
.ssp-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 2px; border: 1px solid #e0e0e0; border-radius: 4px; color: #555; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.ssp-pagination .page-numbers:hover { background-color: #f5f5f5; color: #000; }
.ssp-pagination .page-numbers.current { background-color: #333; border-color: #333; color: #fff; font-weight: bold; }
.ssp-pagination .page-numbers.dots { border: none; padding: 8px 0; }