﻿.hero-loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.hero-loading-overlay .loading-text {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-loading-overlay .loading-bar {
    width: 65%;
    max-width: 320px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}
.hero-loading-overlay .loading-bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}
#srImgBox {
    width: 520px !important;
    height: 520px !important;
}

/* 移动端覆盖（该文件后加载，需在此覆盖以保证优先级） */
@media (max-width: 639px) {
    .sr-modal-overlay {
        align-items: flex-end;
    }

    .sr-modal {
        width: 100% !important;
        height: auto !important;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        padding: 16px 0 20px;
    }

    .sr-modal-body {
        width: 100%;
        padding: 0 12px;
    }

    #srImgBox {
        width: 100% !important;
        max-width: 100vw;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .sr-modal-close {
        top: 12px;
        right: 12px;
    }
}