/* 固定音频播放器 */
.sticky-audio-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1f2937;
    color: #f9fafb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-audio-bar.sticky-audio-hidden {
    transform: translateY(100%);
}
.sticky-audio-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sticky-audio-toggle,
.sticky-audio-next,
.sticky-audio-prev,
.sticky-audio-close {
    background: transparent;
    color: #f9fafb;
    border: 1px solid #4b5563;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sticky-audio-toggle {
    background: #3b82f6;
    border-color: #3b82f6;
}
.sticky-audio-toggle:hover,
.sticky-audio-next:hover,
.sticky-audio-prev:hover,
.sticky-audio-close:hover {
    background: #4b5563;
}
.sticky-audio-toggle:hover {
    background: #2563eb;
}
.sticky-audio-info {
    flex: 1;
    min-width: 0;
}
.sticky-audio-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    color: #f9fafb;
}
.sticky-audio-progress {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}
.sticky-audio-bar-fill {
    height: 100%;
    width: 0;
    background: #3b82f6;
    transition: width 0.2s linear;
}

/* 原位置的占位 */
.rt-sticky-audio-slot {
    background: #f3f4f6;
    border: 1px dashed #9ca3af;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 12px 0;
    text-align: center;
}
.rt-sticky-audio-play-here {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.rt-sticky-audio-play-here:hover {
    background: #2563eb;
}
.rt-sticky-audio-play-here.rt-sticky-audio-playing {
    background: #ef4444;
}
