.content-wrapper {
    position: relative;
}

.content-wrapper.collapsed .content-inner {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.content-wrapper.collapsed .content-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
}

.read-more-btn {
    display: none;
    margin: 20px auto;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #005a87;
}

.content-wrapper.collapsed .read-more-btn {
    display: block;
}

.content-wrapper.expanded .read-more-btn {
    display: block;
}

/* 验证弹窗样式 */

.verify-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.verify-modal {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    z-index: 10000;
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}
.verify-modal {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.verify-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.3s;
}

.verify-modal-close:hover {
    color: #333;
}

.verify-modal h3 {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.verify-qrcode {
    text-align: center;
    margin: 20px 0;
}

.verify-qrcode img {
    max-width: 200px;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.verify-tip {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 15px 0;
}

.verify-tip strong {
    color: #0073aa;
}

.verify-input-group {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.verify-code-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.verify-code-input:focus {
    outline: none;
    border-color: #0073aa;
}

.verify-code-input.error-shake {
    animation: shake 0.5s;
    border-color: #e74c3c;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.verify-submit-btn {
    padding: 12px 25px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    white-space: nowrap;
}

.verify-submit-btn:hover {
    background: #005a87;
}

.verify-error {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin: 10px 0 0 0;
}

/* 暗色模式适配 */
body.dark .verify-modal {
    background: #2c2c2c;
    color: #fff;
}

body.dark .verify-modal h3 {
    color: #fff;
}

body.dark .verify-code-input {
    background: #3a3a3a;
    border-color: #555;
    color: #fff;
}

body.dark .verify-code-input:focus {
    border-color: #0073aa;
}