.player-container {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px
}

.player-container:after,.player-container:before {
    content: " ";
    display: table
}

@media (min-width:1px) and (max-width:375px) {
    .player-container {
        margin-bottom: 5px
    }
}

@media (min-width:376px) and (max-width:425px) {
    .player-container {
        margin-bottom: 5px
    }
}

.player-container .player .play-pause-button {
    text-align: center;
    position: relative;
    padding: 20px 0 25px;
    background-color: #929db0
}
.player-container .title {
    font-size: 1.2em;
    font-weight: 700;
    color: #555;
    text-transform: capitalize;
    margin: 2px 0 4px;
    padding: 6px;
}
@media (min-width:1025px) {
    .player-container .player .play-pause-button {
    }
}

.player-container .player .play-pause-button a {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: block;
    color: #67768e;
    background-color: #f9fafb;
    border-radius: 50%;
    background-clip: padding-box
}

.player-container .player .play-pause-button a i {
    position: relative;
    top: 18px;
    left: 4px;
    font-size: 26px
}

.player-container .player .play-pause-button a i.fa-pause {
    left: 1px;
    top: 18px;
    font-size: 26px
}

.player-container .player .play-pause-button a.active,.player-container .player .play-pause-button a:active,.player-container .player .play-pause-button a:focus,.player-container .player .play-pause-button a:hover {
    background-color: #fff;
    outline: 0;
    text-decoration: none
}

.player-container .player .play-pause-button .player-controls {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0
}

.player-container .player .play-pause-button .player-controls .time-info {
    font-family: monospace;
    margin: 0 2px 2px;
    z-index: 199;
    font-size: .7em
}

@media (min-width:50px) and (max-width:199px) {
    .player-container .player .play-pause-button .player-controls .time-info {
        font-size: .6em
    }
}

.player-container .player .play-pause-button .player-controls .time-info .duration,.player-container .player .play-pause-button .player-controls .time-info .elapsed {
    padding: 4px;
    position: relative;
    z-index: 201;
    background-color: #fff;
    border-radius: 2px
}

.player-container .player .play-pause-button .player-controls .progress {
    position: relative;
    z-index: 200;
    height: 20px;
    margin-bottom: 0;
    border-radius: 0;
    background-color: #cdd2db
}
@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.cover {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #ccc;
    position: relative;
    border-radius: 50%;
    background-size: cover;
    animation: spin 5s linear infinite paused
}

.playing-cover {
    animation-play-state: running
}

.player .tit_layer {
    white-space: nowrap;
    text-overflow: ellipsis;
    background-color: #000000a6;
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    font-size: 13px;
    line-height: 17px;
    width: 100%;
}

.pd-description h1 {
    display: inline-block;
    font-size: 20px;
    margin: 0 0 0 5px;
}

.player-container .player .title-container {
    width: 100%
}

.player-container .player .title-container .title {
    margin: 2px 0 4px;
    font-size: 1.2em;
    font-weight: 700;
    color: #555;
    text-transform: capitalize;
    padding: 6px
}

@media (min-width:1px) and (max-width:375px) {
    .player-container .player .title-container .title {
        font-size: 1em;
        margin-bottom: 2px
    }
}
.player-container .info .actions div {
    display: block;
    float: left;
    text-align: center;
    width: 60%;
    padding: 8px 0;
    font-size: 1em
}    

.player-container .info .actions div.download-ringtone {
    cursor: pointer;
    background-color: #c14953;
    color: #fff
}
    

.player-container .info .actions div.like-ringtone-button {
    width: 40%;
    background-color: #67768e;
    color: #fff
}

.player-container .info .actions div .count {
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 400
}

@media (min-width:1px) and (max-width:375px) {
    .player-container .info .actions div {
        font-size: .9em
    }
}
.play-pause-button .player {
    position: relative;
    margin: 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center
}

.play-pause-button .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.5);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1
}
.play-pause-button .play-button i {
    font-size: 20px;
}
.video-container .play-button .fa-play {
    font-size: 13px;
    color: #000;
}
.player-container .info .actions .download-ringtone svg,
.player-container .info .actions .like-ringtone svg {
    margin-right: 5px;
}

.player-container .info .actions .text {
    margin-right: 5px;
    font-weight: 500;
}

.player-container .info .actions .count {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    color: #666;
}

/* 裁剪提示样式 - 更新颜色以匹配网站风格并减小尺寸 */
.cutter-tips-container {
    margin: 10px 0; /* 减小上下边距 */
    text-align: center;
}

.cutter-tips {
    display: inline-block;
    background-color: #337ab7; /* 网站主色调蓝色 */
    color: white;
    padding: 5px 12px; /* 减小内边距 */
    border-radius: 16px; /* 减小圆角 */
    font-weight: normal; /* 改为普通字重 */
    font-size: 12px; /* 减小字体大小 */
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* 减小阴影 */
    transition: all 0.3s;
}

.cutter-tips:hover {
    background-color: #286090; /* 更深的蓝色作为悬停状态 */
    transform: scale(1.05);
}

.cutter-tips i {
    font-size: 11px; /* 减小图标大小 */
    margin-right: 4px; /* 减小图标与文字间距 */
}

/* 脉冲动画 - 更新颜色并减小效果 */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 122, 183, 0.6); /* 降低透明度 */
    }
    70% {
        box-shadow: 0 0 0 6px rgba(51, 122, 183, 0); /* 减小脉冲范围 */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(51, 122, 183, 0);
    }
}

/* 弹出层样式 - 优化移动端显示 */
.cutter-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: hidden;
}

.cutter-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 0 auto;
    padding: 15px 15px 5px 15px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    /* 调整高度以适应内容 */
    max-height: fit-content;
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
}

.cutter-close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
}

.cutter-close:hover {
    color: #333;
}

.cutter-modal h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

/* 移动端优化 - 进一步减小按钮尺寸 */
@media (max-width: 767px) {
    .cutter-tips {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .cutter-tips i {
        font-size: 10px;
    }
    
    .cutter-modal-content {
        width: 95%;
        padding: 10px 10px 0 10px;
        margin: 0 auto;
    }
    
    .cutter-modal h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .cutter-close {
        top: 2px;
        right: 8px;
    }
}

/* 针对不同设备高度的优化 */
@media (max-height: 600px) {
    .cutter-modal-content {
        padding-top: 5px;
    }
    
    .cutter-modal h3 {
        margin-bottom: 5px;
        font-size: 14px;
    }
}

.cutter-container {
    width: 100%;
    margin: 0;
    background: transparent;
    padding: 10px;
}
.cutter-container .waveform-container {
    position: relative;
    height: 180px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: none;
}
.cutter-container #waveform {
    width: 100%;
    height: 100%;
}
.cutter-container .handle {
    position: absolute;
    width: 6px;
    background-color: #ff5722;
    height: 180px;
    top: 0;
    cursor: col-resize;
    z-index: 10;
}
.cutter-container .handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 32px;
    background-color: #ff5722;
    border-radius: 4px;
}
.cutter-container .handle.left {
    left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.cutter-container .handle.right {
    right: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.cutter-container .selection {
    position: absolute;
    height: 100%;
    background-color: rgba(255, 87, 34, 0.2);
    pointer-events: none;
    top: 0;
}
.cutter-container .controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.cutter-container .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}
.cutter-container .btn:hover {
    opacity: 0.9;
}
.cutter-container .btn-play {
    background-color: #4CAF50;
    color: white;
}
.cutter-container .btn-play:hover {
    background-color: #45a049;
}
.cutter-container .btn-cut {
    background-color: #2196F3;
    color: white;
}
.cutter-container .btn-cut:hover {
    background-color: #0b7dda;
}

/* 改进的加载动画 */
.cutter-container .loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.cutter-container .loading-text {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.cutter-container .progress-container {
    width: 80%;
    max-width: 300px;
    background-color: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cutter-container .progress-bar {
    height: 10px;
    width: 0%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.cutter-container .progress-percentage {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.cutter-container .loading-status {
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.cutter-container .time-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}
/* 下载进度条样式 */
.download-loading {
    text-align: center;
    padding: 20px;
}

.download-loading .loading-progress {
    margin-bottom: 20px;
}

.download-loading .progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.download-loading .progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

.download-loading .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.download-loading .progress-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.download-loading .loading-tip {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.share-content {
    text-align: center;
    padding: 20px;
}