/* StarPro 演示站统一弹窗 */
.demo-modal-root {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.demo-modal-root.is-open {
    opacity: 1;
    visibility: visible;
}

.demo-modal-panel {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.2s ease;
}

.demo-modal-root.is-open .demo-modal-panel {
    transform: translateY(0) scale(1);
}

.demo-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px 0;
}

.demo-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff8e6;
    color: #e6a700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.demo-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.demo-modal-body {
    padding: 12px 20px 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    word-break: break-word;
}

.demo-modal-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-end;
}

.demo-modal-btn {
    min-width: 88px;
    padding: 9px 20px;
    border: none;
    border-radius: 20px;
    background: #50d5b0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.demo-modal-btn:hover {
    background: #43c29e;
}

.demo-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #fff3cd 0%, #ffe69c 100%);
    border-bottom: 1px solid #ffc107;
    color: #856404;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.demo-banner strong {
    font-weight: 600;
}

@media (max-width: 576px) {
    .demo-modal-panel {
        max-width: 100%;
    }

    .demo-banner {
        font-size: 12px;
        padding: 8px 12px;
    }
}
