/**
 * MFAudioPlayer + game-page Podcast Mentions card styles (P7–P8).
 * Feature: podcast-mentions-playback_ff
 */

/* ---- Podcast Mentions card rows ---- */
.podcast-mentions__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.podcast-mentions__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #111827;
    border-radius: 10px;
}

.podcast-mentions__art {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 56px;
}

.podcast-mentions__art--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #1f2937;
}

.podcast-mentions__body {
    flex: 1 1 auto;
    min-width: 0;
}

.podcast-mentions__show {
    font-weight: 600;
}

.podcast-mentions__episode {
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.podcast-mentions__sentiment {
    margin-top: 4px;
}

.podcast-mentions__row .mf-podcast-listen-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .podcast-mentions__row {
        flex-wrap: wrap;
    }
    .podcast-mentions__row .mf-podcast-listen-btn {
        width: 100%;
    }
}

/* ---- Player modal ---- */
.mf-audio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mf-audio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.mf-audio-modal__container {
    position: relative;
    width: min(720px, 100%);
    margin: 0 12px 24px;
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mf-audio-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px 8px;
}

.mf-audio-modal__titles {
    flex: 1 1 auto;
    min-width: 0;
}

.mf-audio-modal__show {
    font-weight: 700;
    color: #fb923c;
}

.mf-audio-modal__episode {
    margin-top: 2px;
    font-size: 0.92rem;
    color: #d1d5db;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mf-audio-modal__close {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

.mf-audio-modal__close:hover {
    color: #fff;
}

.mf-audio-modal__body {
    padding: 4px 16px 16px;
}

.mf-audio-modal__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #78350f;
    color: #fde68a;
}

.mf-audio-modal__status {
    padding: 10px 0;
    color: #9ca3af;
}

.mf-audio-modal__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mf-audio-modal__playpause {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fb923c;
    color: #111827;
    font-size: 1rem;
    cursor: pointer;
}

.mf-audio-modal__playpause:hover {
    background: #fdba74;
}

.mf-audio-modal__time {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    font-size: 0.85rem;
    color: #d1d5db;
}

.mf-audio-modal__bar {
    position: relative;
    flex: 1 1 auto;
    height: 8px;
    border-radius: 4px;
    background: #374151;
    cursor: pointer;
}

.mf-audio-modal__bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 4px;
    background: #fb923c;
    pointer-events: none;
}

.mf-audio-modal__bar-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mf-audio-modal__marker {
    position: absolute;
    top: -3px;
    width: 4px;
    height: 14px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fde68a;
}

.mf-audio-modal__error {
    padding: 10px 0;
    color: #fca5a5;
}

.mf-audio-modal__error a {
    color: #fb923c;
}
