.lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sr-style-section {
    height: 250px !important;
    flex: initial !important;
}
.lang-tag {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 13px;
    border: 1.5px solid var(--sr-color-border);
    border-radius: 20px;
    background: #fff;
    color: var(--sr-color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    user-select: none;
}
.lang-tag:hover {
    border-color: var(--sr-color-primary);
    background: #f5f3ff;
}
.lang-tag.active {
    border-color: var(--sr-color-primary);
    background: var(--sr-color-primary);
    color: #fff;
}
.hero-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}
.hero-img-wrapper > img {
    display: block;
    width: 100%;
    border-radius: 12px;
}
.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;
    border-radius: 12px;
    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%;
}

/* ========== 图片放大灯箱 ========== */
.image-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    gap: 20px;
}
.image-lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.image-lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}
.image-lightbox-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.image-lightbox-download:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.image-lightbox-download svg {
    width: 18px;
    height: 18px;
}
