/* 封面选择按钮组样式（与上传 label 色调一致） */
.cover-choice {
    display: inline-flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 6px;
    box-sizing: border-box;
}

.choice-btn {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #fff;
    border: none;
    padding: 10px 15px;
    padding-right: 24px; /* 右侧为对勾预留空间，避免文字被遮挡 */
    border-radius: 10px;
    font-size: 10px; /* 字号稍微缩小 */
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
    white-space: nowrap;
    word-break: keep-all;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 0 0; /* 两个按钮等分容器宽度 */
    min-width: 0; /* 允许内容在等分时合理收缩 */
    }

.choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
}

.choice-btn:hover::before { left: 100%; }

/* 选中态：高亮并显示对勾 */
.choice-btn.active {
    box-shadow: 0 8px 24px rgba(26, 188, 156, 0.55);
}

.choice-btn .choice-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
}

.choice-btn.active .choice-icon {
    opacity: 1;
    animation: pop-in 280ms ease-out;
    transform: translateY(-50%) scale(1);
}

@keyframes pop-in {
    0% { transform: translateY(-50%) scale(0.6); opacity: 0; }
    60% { transform: translateY(-50%) scale(1.15); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

.choice-feedback { display: none; }

/* 深色模式下的按钮配色（与 .dark .select-btn 保持一致） */
.dark .choice-btn {
    background: linear-gradient(135deg, #169b86 0%, #107a6a 100%);
    box-shadow: 0 4px 15px rgba(22, 155, 134, 0.3);
}

.dark .choice-btn:hover {
    box-shadow: 0 6px 20px rgba(22, 155, 134, 0.45);
}

.dark .choice-btn.active {
    box-shadow: 0 8px 24px rgba(22, 155, 134, 0.6);
}
