.player-fixed-container {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 4000;
}

.player-fixed-inner {
    width: 100%;
}

.podcast-player {
    width: 100%;
    background-color: #ffffff;
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #1f2430;
}

.player-progress {
    position: relative;
    height: 5px;
    width: 100%;
    background-color: #e3e6ef;
    cursor: pointer;
    transition: height 0.2s ease;
    overflow: visible;
}

.player-progress:hover {
    height: 14px;
}

.player-progress-current {
    height: 100%;
    background: linear-gradient(90deg, #5665ff, #7f9bff);
    width: 0;
    transition: width 0.1s linear;
}

.player-progress-tooltip {
    position: absolute;
    background-color: rgba(31, 36, 48, 0.92);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    transform: translate(-50%, -120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.player-progress:hover .player-progress-tooltip {
    opacity: 1;
}

.player-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 24px;
    column-gap: 18px;
}

.player-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.player-time {
    font-size: 13px;
    color: #5b6172;
    min-width: 120px;
}

.player-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2430;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-title.is-link {
    cursor: pointer;
    color: #1f2430;
}

.player-title.is-link:focus-visible {
    outline: 2px solid #5665ff;
    outline-offset: 2px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.player-play-btn,
.player-jump-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
    background-color: #5665ff;
    font-size: 18px;
}

.player-play-btn i,
.player-jump-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.player-play-btn i.fa-play {
    margin-left: 2px;
}

.player-jump-btn {
    width: 34px;
    height: 34px;
    background-color: #f0f2fb;
    color: #1f2430;
    font-size: 14px;
}

.player-play-btn:hover,
.player-jump-btn:hover {
    transform: scale(1.08);
}

.player-right {
    min-width: 220px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.player-speed {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.player-speed-toggle {
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    background-color: #f2f3fb;
    color: #4c5162;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.player-speed-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.player-speed.open .player-speed-toggle i {
    transform: rotate(180deg);
}

.player-speed-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.35rem);
    background-color: #ffffff;
    border-radius: 0.5714rem;
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 5.5rem;
    z-index: 2;
}

.player-speed-menu[hidden] {
    display: none;
}

.player-speed-option {
    border: none;
    background: none;
    border-radius: 0.4rem;
    padding: 0.35rem 0.6rem;
    text-align: left;
    font-size: 0.85rem;
    color: #4c5162;
    cursor: pointer;
}

.player-speed-option:hover,
.player-speed-option:focus-visible {
    background-color: #f0f2fb;
}

.player-speed-option.active {
    color: #111111;
    font-weight: 600;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-volume-icon i {
    font-size: 16px;
    width: 24px;
    text-align: center;
    cursor: pointer;
    color: #373c4c;
}

.player-volume-bar {
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background-color: #e3e6ef;
    position: relative;
    cursor: pointer;
}

.player-volume-current {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5665ff, #7f9bff);
    width: 60%;
}

.player-status {
    margin-top: 4px;
    font-size: 12px;
    color: #6f7385;
    min-height: 16px;
}

.player-play-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.player-play-btn .icon-spinner {
    display: inline-block;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .player-body {
        padding: 16px 18px;
        column-gap: 12px;
    }

    .player-left {
        gap: 8px;
        flex: 0 0 auto;
    }

    .player-title {
        display: none;
    }

    .player-time {
        min-width: 120px;
        display: inline-flex;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .player-right {
        min-width: 120px;
        gap: 12px;
    }

    .player-volume-bar {
        width: 90px;
    }

    .player-volume {
        display: none;
    }

    .player-speed-toggle {
        font-size: 1rem;
        padding: 8px 14px;
    }

    .player-speed-option {
        font-size: 1rem;
        padding: 0.45rem 0.75rem;
    }

    .player-jump-btn {
        display: none;
    }

    .player-controls {
        gap: 0;
    }
}
