.o-gallery-grid {
    margin: 0 -12px;
}

.o-gallery-col {
    padding: 0 12px;
    margin-bottom: 30px;
}

.o-gallery-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.o-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1);
}

.o-gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.o-gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.o-gallery-card:hover .o-gallery-img {
    transform: scale(1.06);
}

.o-gallery-info {
    padding: 14px 14px 16px;
}

.o-gallery-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.o-gallery-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.o-gallery-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.o-gallery-nickname {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* 全屏遮罩层 */
.o-fs-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.o-fs-mask.active {
    display: flex;
}

.o-fs-img {
    max-width: 88%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    animation: fsFadeIn 0.25s ease;
}

@keyframes fsFadeIn {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

.o-fs-close {
    position: absolute;
    top: 28px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 32px;
    color: #fff;
    opacity: 0.7;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.o-fs-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.o-fs-prev, .o-fs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 40px;
    color: #fff;
    opacity: 0.6;
    font-family: "Segoe UI", "Microsoft YaHei", monospace;
    font-weight: 300;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.o-fs-prev { left: 28px; }
.o-fs-next { right: 28px; }

.o-fs-prev:hover, .o-fs-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%) scale(1.02);
}

.o-fs-counter {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}

.o-fs-title {
    position: absolute;
    bottom: 68px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
    max-width: 70%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}