.o-workshop-grid {
    margin: 0 -12px;
}

.o-workshop-col {
    padding: 0 12px;
    margin-bottom: 30px;
}

.o-workshop-card {
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 115, 232, 0.08);
}

.o-workshop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(26, 115, 232, 0.12);
    border-color: rgba(26, 115, 232, 0.2);
}

.o-workshop-img-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf5 0%, #dce3ec 100%);
}

.o-workshop-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.o-workshop-card:hover .o-workshop-img {
    transform: scale(1.05);
}

/* 硬件标签 */
.o-workshop-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

.o-workshop-badge.hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.o-workshop-badge.new {
    background: linear-gradient(135deg, #1a73e8, #0d5bbf);
}

.o-workshop-info {
    padding: 16px 16px 18px;
}

.o-workshop-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.o-workshop-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.o-workshop-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.o-workshop-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1a73e8;
}

.o-workshop-nickname {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

/* 科技感装饰 */
.o-workshop-card {
    position: relative;
}

.o-workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
    transition: left 0.5s ease;
}

.o-workshop-card:hover::before {
    left: 100%;
}

/* 全屏遮罩层 */
.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;
}