.debate-vote {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background-color: white; /* 卡片背景白 */
    position: relative;
    overflow: hidden;
}
.vote-user i {
    font-style: normal !important;
}
.vote-user ul {
    margin: 0;
    padding: 0;
}
.vote-user li {
    margin: 0;
}

/* 卡片装饰角 */
.debate-vote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
    border-radius: 0 0 80px 0;
    opacity: 0.1;
}

.vote-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 12px;
}

/* 标题下划线装饰 */
.vote-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #409eff, #66b1ff);
    border-radius: 3px;
}

/* 进度条容器 - 精致化 */
.vote-progress {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 8px; /* 减少底部间距，给人数统计留空间 */
    position: relative;
    border: 1px solid #e8f4ff;
    background-color: #f5f9ff; /* 进度条背景底色 */
}

/* 投票人数统计样式 */
.vote-count {
    text-align: center;
    font-size: 14px;
    color: #606266;
    margin-bottom: 24px; /* 统计文本与按钮区的间距 */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.vote-count i {
    color: #409eff;
    font-size: 12px;
}

/* 进度条基础样式 */
.progress-support, .progress-oppose {
    white-space: nowrap;
    height: 100%;
    transition: width 0.5s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 12px;
    width: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-support {
    background: linear-gradient(90deg, #409eff, #66b1ff);
}

.progress-oppose {
    background: linear-gradient(90deg, #f56c6c, #f78989);
}

/* 进度条粒子动画（装饰） */
.progress-support::after, .progress-oppose::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-support.active::after, .progress-oppose.active::after {
    opacity: 1;
}

/* 进度条高亮动画 */
@keyframes progressHighlight {
    0% { opacity: 1; }
    50% { opacity: 0.9; background: linear-gradient(90deg, #66b1ff, #409eff); }
    100% { opacity: 1; background: linear-gradient(90deg, #409eff, #66b1ff); }
}

@keyframes opposeHighlight {
    0% { opacity: 1; }
    50% { opacity: 0.9; background: linear-gradient(90deg, #f78989, #f56c6c); }
    100% { opacity: 1; background: linear-gradient(90deg, #f56c6c, #f78989); }
}

.progress-support.active {
    animation: progressHighlight 0.8s ease;
}

.progress-oppose.active {
    animation: opposeHighlight 0.8s ease;
}

/* 按钮容器 */
.vote-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px; /* 新增：给查看列表按钮留空间 */
}

/* 查看列表按钮容器 */
.list-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* 按钮基础样式 - 带图标美化 */
.vote-btn, .list-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px; /* 图标和文字间距 */
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 按钮悬浮上浮效果 */
.vote-btn:hover, .list-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 按压缩放效果 */
.vote-btn:active, .list-btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-support {
    background: linear-gradient(90deg, #409eff, #66b1ff);
    color: white;
}

.btn-support:hover {
    background: linear-gradient(90deg, #3393ff, #55a5ff);
}

.btn-oppose {
    background: linear-gradient(90deg, #f56c6c, #f78989);
    color: white;
}

.btn-oppose:hover {
    background: linear-gradient(90deg, #f45c5c, #f67979);
}

/* 查看列表按钮样式 */
.list-btn {
    background: linear-gradient(90deg, #909399, #c0c4cc);
    color: white;
}

.list-btn:hover {
    background: linear-gradient(90deg, #73767a, #a8acb3);
}

.vote-btn:disabled {
    background: #e5e9f2;
    color: #909399;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 按钮波纹动画 */
.vote-btn .ripple, .list-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(5);
        opacity: 0;
    }
}

/* 模态框遮罩 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-mask.show {
    opacity: 1;
    visibility: visible;
}

/* 模态框内容 */
.modal-content {
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-mask.show .modal-content {
    transform: scale(1);
}

/* 模态框标题 */
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 关闭按钮 */
.close-btn {
    background: none;
    border: none;
    font-size: 25px;
    color: #909399;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #f56c6c;
}

/* 投票列表样式 */
.vote-list {
    list-style: none;
}

.vote-user .vote-list-item {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin-bottom: 10px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.vote-list-item:hover {
    background-color: #e8f4ff;
}

/* 投票立场标签 */
.vote-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.tag-support {
    background-color: #409eff;
}

.tag-oppose {
    background-color: #f56c6c;
}

/* 空列表提示 */
.empty-tip {
    text-align: center;
    color: #909399;
    padding: 40px 0;
    font-size: 14px;
}
@media (max-width: 767px) {
    .debate-vote {
        width: 95%;
    }
}