/* 频率直播页面样式 */
.main-content {
    min-height: calc(100vh - 64px);
}

.content-layout {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 934px;
    height: 100%;
    margin: 0 auto;
    padding-bottom: 124px;
    background: url('../images/radio/program_bg@2x.png') no-repeat top center / cover;
}

/* 电台列表 */
.top-section {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: url('../images/radio/header_bg@2x.png') no-repeat center center / cover;
}

.top-title {
    padding: 0 35px;
    margin-top: 52px;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #3D3D3D;
}

.radio-list-section {
    margin-top: 36px;
}

.radio-grid {
    display: flex;
}

.radio-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    width: 175px;
    height: 175px;
    margin-left: 32px;
    overflow: hidden;
}

.radio-card:nth-child(1) {
    margin-left: 32px;
}
.radio-card:nth-child(2) {
    margin-left: 63px;
}
.radio-card:nth-child(3) {
    margin-left: 58px;
}
.radio-card:nth-child(4) {
    margin-left: 57px;
}

.radio-logo {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s;
    overflow: hidden;
}

.radio-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
}

.radio-info {
    position: relative;
    width: 120px;
}

.radio-name {}

.radio-desc {
    font-weight: 400;
    font-size: 16px;
    color: #666666;
}

.radio-card.active .radio-logo {
    width: 100%;
    height: 100%;
}

.radio-card.active .radio-info {
    width: 140px;
    margin-top: -20px;
    font-size: 18px;
    color: #333333;
}

.radio-card.active .radio-info .radio-desc {
    font-size: 18px;
    color: #333333;
}


/* 时间线指示器 */
.radio-timeline {
    position: relative;
    height: 40px;
    margin-top: 18px;
}

.timeline-bar {
    position: absolute;
    background: url('../images/radio/line@2x.png') no-repeat center center / 100% 100%;
    left: 5px;
    bottom: 0;
    width: 923px;
    height: 16px;
}

.timeline-indicator {
    position: absolute;
    bottom: 0;
    width: 7px;
    height: 40px;
    background: url('../images/radio/active_radio@2x.png') no-repeat center center / 100% 100%;
    transition: left 0.3s ease;
}

/* 节目单 */
.bottom-section {
    width: 100%;
    flex: 1;
    min-height: 560px;
}

.schedule-section {
    padding: 50px 0;
}

.section-title {
    padding: 0 35px;
    margin-bottom: 17px;
    font-weight: 700;
    font-size: 20px;
    color: #333333;
    line-height: 20px;
}

.schedule-list {
    position: relative;
    display: flex;
    gap: 0;
}

.schedule-days {
    width: 135px;
    flex-shrink: 0;
}

.schedule-day-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 81px;
    height: 32px;
    margin: 12px 25px 12px 28px;
    box-shadow: inset 0px 0px 10px 0px rgba(255,255,255,0.48);
    border-radius: 16px;
    font-weight: 400;
    font-size: 16px;
    vertical-align: middle;
    color: #666666;
    line-height: 32px;
    cursor: pointer;
    transition: all 0.2s;
}

.schedule-day-item:hover {
    color: #FF65A5;
    background: #FFFFFF;
}

.schedule-day-item.active {
    background: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    color: #FF65A5;
    line-height: 20px;
}

.schedule-content {
    flex: 1;
    position: relative;
}

.schedule-timeline {
    position: absolute;
    left: 153px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FBC2DA;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
}
.schedule-timeline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2px;
    height: 50px;
    background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
}
.schedule-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item.active {
}

.schedule-time {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 56px;
    padding: 12px 37px;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 16px;
}

.schedule-item.active .schedule-time {
    font-size: 14px;
    color: #FF4692;
    line-height: 16px;
}

.schedule-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 30px;
    z-index: 1;
}
.schedule-dot::before {
    content: '';
    position: relative;
    width: 8px;
    height: 8px;
    background: #FBC2DA;
    border-radius: 50%;
}

.schedule-item.active .schedule-dot {
    background: url('../images/radio/active_program@2x.png') no-repeat center center / contain;
}

.schedule-item.active .schedule-dot::before {
    background: transparent;
}

.schedule-program {
    flex: 1;
    padding-left: 132px;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    line-height: 20px
}

.schedule-program span {
    cursor: not-allowed;
}

.out-time .schedule-program {
    color: #999999;
}
.out-time .schedule-program span {
    cursor: pointer;
}

/* 底部播放器 */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(229,229,229,0.3) 0%, rgba(229,229,229, 1) 50% , rgba(229,229,229, 1) 100%);
    box-shadow: inset 0px -1px 31px 0px rgba(255,255,255,0.26);
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6000000238418579), rgba(255, 255, 255, 0)) 1 1;
    padding: 12px 0;
    z-index: 1000;
}

.player-content {
    display: flex;
    max-width: 947px;
    height: 124px;
    padding: 0;
    margin: 0 auto;
    align-items: center;
    gap: 24px;
}

.player-info {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 12px;
    width: 380px;
}

.player-logo-small {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.player-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-text {
    flex: 1;
    min-width: 150px;
}

.player-title {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.player-title >span {
    display: inline-block;
    max-width: 260px;
    font-weight: 500;
    font-size: 20px;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-title >img,
.player-title >svg.waveform-icon {
    width: 18px; 
    height: 18px;
    margin-bottom: -4px;
    margin-left: 7px;
    flex-shrink: 0;
}

/* 波形图标样式 */
.waveform-icon {
    display: inline-block;
}

.waveform-icon .wave-bar {
    transition: all 0.3s ease;
}

/* 播放时的波动动画 */
.waveform-icon.playing .wave-bar {
    animation: waveAnimation 1.2s ease-in-out infinite;
}

.waveform-icon.playing .wave-bar:nth-child(1) {
    animation-delay: 0s;
}

.waveform-icon.playing .wave-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.waveform-icon.playing .wave-bar:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes waveAnimation {
    0%, 100% {
        height: 2px;
        y: 8px;
    }
    25% {
        height: 8px;
        y: 5px;
    }
    50% {
        height: 14px;
        y: 3px;
    }
    75% {
        height: 6px;
        y: 6px;
    }
}

.player-time {
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 16px;
}

.player-controls-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: flex-start;
    padding-left: 80px;
}

.control-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.control-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.control-btn:hover {
    /* background: #fa84b7; */
    /* color: #ffffff; */
    background-color: #ffffff;
    transform: scale(1.1);
}

.play-btn {
    width: 64px;
    height: 64px;
    /* background: #fa84b7; */
    color: #ffffff;
}

.play-btn:hover {
    /* background: #ff6b9d; */
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block !important;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.player-volume svg {
    color: #666;
    flex-shrink: 0;
}

.player-volume-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.player-volume-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.volume-slider {
    flex: 1;
    height: 2px;
    width: 163px;
    background: #999999;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}