body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.lazy {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    background-color: #f0f0f0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.lazy:not(.loaded) {
    animation: pulse 1.5s infinite;
}

.watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    pointer-events: none;
    user-select: none;
    z-index: 9999;
    overflow: hidden;
}

.watermark-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 120px;
    justify-items: center;
    align-items: center;
}

.watermark-layer span {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.05);
    font-weight: bold;
    transform: rotate(-30deg);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .watermark-layer {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        grid-auto-rows: 80px;
    }
    .watermark-layer span {
        font-size: 16px;
    }
}

/* 禁用移动端长按下载图片 */
.lazy {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
