﻿
.container4 {
    position:fixed;
    bottom:130px;
    right:0px;
    color:#008822;
    padding:20px 10px;
    line-height:16px; 
    font-size:20px; 
    font-weight:bold;
    background:#e0f0fd;
    border-radius:5px;
    text-align:center; 
}
.container-menu {
    position:fixed;
    bottom:146px;
    right:5px;
    width: 415px;
    border:3px solid #096479;
    margin-left:5px;
    border-radius:8px;
    background:#096479;
    z-index:9999;
}
.container3 {
    position:fixed;
    right:0px;
    width:430px;
    bottom:0px;
}
.container-rate {
    position:fixed;
    bottom:200px;
    right:5px;
    width:300px;
    background: white;
    border:1px solid #0066cc; 
    z-index:9999;
}


.tts-playbox {
    float:left; 
    width: 400px;
    background: white;
    padding: 10px 10px 5px 10px;
    margin:0 5px 10px 5px;
    background:#096479;
    border-radius:10px; 
}
.container {
    position:fixed;
    right:0px;
    top:180px;
    width: 120px;
    background: white;
    border-radius: 10px 0 0 10px;
    padding: 10px 10px;
    background:#e0f0fd;
    border:#79b1f6 1px solid; 
}
.container5 {
    position:fixed;
    bottom:150px;
    right:0px;
    color:#008822;
    padding:8px 5px;
    line-height:16px; 
    font-size:13px; 
    background:#e0f0fd;
    border-radius:5px;
    text-align:center; 
}
.tts-progress {
    float:left;
    width:100%;
    padding-bottom:5px;
}
.tts-time {
    float:left;
    width:60px;
    color:#ffffff;
    line-height:30px;
    font-size:13px;
    text-align:center;
}
.tts-pro {
    float:left;
    width:calc(100% - 120px);
    height: 6px;
    margin-top:12px;
    color:#ffffff;
    line-height:30px;
    font-size:12px;
}
.tts-play {
    float:left;
    width:50px;
    height: 50px; 
    color:#ffffff;
    line-height:50px;
    border-radius:50px;
    font-size:24px;
    font-weight:bold;
    background:#096479;
    text-align:center;
}
.tts-next {
    float:left;
    width:70px;
    height:50px; 
    color:#ffffff;
    line-height:50px;
    border-radius:50px;
    font-size:20px;
    font-weight:bold;
    background:#096479;
}
.tts-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* 为了兼容各浏览器，上面三个属性都加上 */
    line-height:20px;
    color:#777777;  
    font-size:14px;
    text-align:center;
    background:#e0f0fd;
    border:none;
}
.tts-seg {
    float:left;
    width:calc(50% - 95px);
    height:40px; 
    line-height:20px;
    padding:5px 0;
    color:#ffffff;  
    font-size:14px;
    text-align:center;  
}
.tts-close {
    float:right;
    height:30px; 
    line-height:30px;
    padding:0 10px;
    color:#096479; 
    font-weight:bold;
    border-radius:5px; 
    font-size:14px;
    margin-bottom:5px;
    margin-right:5px;
    background:#ffffff;
}
.tts-title {
    float:left;
    width:100%;
    height:36px;
    line-height:36px;
    color:#ffffff;
    font-size:16px;
    margin-bottom:5px;
    text-align:center;
    overflow:hidden;
}
.tts-status {
    float:left;
    width:100%;
    text-align:center;
}
.containerMask { position: fixed; z-index:9998; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display:none; }
.sp-mark {
    float:left;
    width:100%;
    height:30px;
    line-height:30px;
    color:#0066cc;
    font-size:14px;
    overflow:hidden;
}
.sp-mark2 {
    float:left;
    width:100%;
    height:40px;
    line-height:40px;
    color:#0066cc;
    font-size:14px;
    overflow:hidden;
}
.box-input-text {
    width:72px;
    height:30px;
    line-height:30px;
    color:#0066cc;
    font-size:14px;
    margin-top:4px;
    border-radius:5px;
    border:1px solid #ccc;
    display:inline-block;
}
.sp-select {
    float:left;
    width:calc(100% - 12px);
    height:30px;
    line-height:30px;
    color:#0066cc;
    font-size:13px;
    padding:0 5px;
    border:1px solid #ccc;
    border-radius:5px;
    background:#f5f5f5 url(/images/jiantou.png) right 8px no-repeat;
    overflow:hidden;
}
.ulList {
    float:left;
    width:100%;
    height:300px;
    padding:5px 0px;
    background:#ffffff;
    border-radius:0 0 5px 5px;
    overflow-x:hidden;
    overflow-y:scroll;
}
.ulList li{
    float:left; width:calc(100% - 20px); height:28px; line-height:28px; font-size:14px; padding:0 10px; overflow:hidden;
}
/* ✅ 选中效果：高亮背景 + 颜色变化 + 右侧对勾 */
.ulList li.selected {
    background: #e6f7ff;        /* 浅蓝色背景 */
    color: #1890ff;             /* 蓝色文字 */
    font-weight: 600;
    position: relative;
}

.ulList2 {
    float:left;
    width:100%;
    overflow-x:hidden;
    overflow-y:scroll;
}
.ulList2 li{
    float:left; width:calc(100% - 30px); height:50px; line-height:50px; padding:0 15px; font-size:20px; text-align:left; border-bottom:1px solid #ccc; overflow:hidden;
}

/* ✅ 选中效果：高亮背景 + 颜色变化 + 右侧对勾 */
.ulList2 li.selected {
    background: #e6f7ff;        /* 浅蓝色背景 */
    color: #1890ff;             /* 蓝色文字 */
    font-weight: 600;
    position: relative;
}

/* 选中项右侧加一个对勾 ✔ */
.ulList2 li.selected::after {
    content: "✔";
    position: absolute;
    right: 16px;
    color: #1890ff;
}

.btnTTS {
    float:left;
    width:100%;
    font-size: 15px;
    font-weight: 300;
    height: 36px;
    line-height: 36px;
    border: none;
    border-radius: 12px;
    cursor: pointer; 
    margin-top:5px;
    transition: all 0.2s;
    touch-action: manipulation;
}
.btn-primary {
    background: #4299e1;
    color: white;
}
.btn-primary:active {
    background: #3182ce;
    transform: scale(0.97);
}
.btn-danger {
    background: #fc8181;
    color: white;
}
.btn-danger:active {
    background: #f56565;
    transform: scale(0.97);
}
.btn-success {
    background: #48bb78;
    color: white;
}
.btn-success:active {
    background: #38a169;
    transform: scale(0.97);
}
.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}
.btn-secondary:active {
    background: #cbd5e0;
    transform: scale(0.97);
}
.status {
    margin-top: 3px;
    background: #edf2f7;
    border-radius: 5px;
    text-align: left;
    color: #2d3748; 
    height:20px;
    line-height:20px;
    padding: 5px; 
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    display:inline-block;
    overflow:hidden;
    background:#096479;
}
.status.normal {
    background: #e0f0fd;
    color: #555555;
}
.status.loading {
    background: #bee3f8;
    color: #2b6cb0;
}
.status.success {
    background: #c6f6d5;
    color: #22543d; 
}
.status.errortts {
    background: #fed7d7;
    color: #9b2c2c; 
}
audio {
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
}
.char-count {
    text-align: right;
    font-size: 13px;
    color: #a0aec0;
    margin-top: 5px;
}
.preset-texts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.preset-btn {
    padding: 6px 14px;
    font-size: 13px;
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    touch-action: manipulation;
    color: #2d3748;
}
.preset-btn:active {
    background: #cbd5e0;
}