        :root {
            --primary-color: #28a745;
            --primary-dark: #1e7e34;
        }

        body {
            font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
            background-color: #f8f9fa;
            padding-top: 60px;
        }

        .page-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 40px 0 20px;
            margin-bottom: 20px;
        }

        .poster-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin: 20px 0;
        }

        .poster-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .poster-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .poster-header {
            padding: 15px 15px 10px;
            border-bottom: 1px solid #eee;
        }

        .poster-number {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            /* width: 36px;  删掉固定宽度 */
            min-width: 36px; /* 单个数字时保持圆形大小 */
            height: 36px;
            padding: 0 10px; /* 增加左右内边距，让长文字像个胶囊 */
            border-radius: 50px; /* 改为胶囊形圆角 */
            text-align: center;
            line-height: 36px;
            font-weight: bold;
            font-size: 1.1rem;
            margin-bottom: 10px;
            white-space: nowrap; /* 强制不换行 */
        }
        .poster-title {
            font-weight: 600;
            font-size: 1.05rem;
            color: #333;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .poster-image-container {
            width: 100%;
            height: 220px;
            overflow: hidden;
            position: relative;
            cursor: zoom-in;
        }

        .poster-image {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 👈 这会让横图或长图被强行截断以填满方框 */
            transition: transform 0.3s ease;
        }

        .poster-image:hover {
            transform: scale(1.05);
        }

        .poster-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .poster-image-container:hover .poster-image-overlay {
            opacity: 1;
        }

        .zoom-icon {
            background: rgba(255,255,255,0.9);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .poster-content {
            padding: 15px 15px 10px;
        }

        .poster-meta {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
        }

        .poster-meta i {
            color: var(--primary-color);
            width: 18px;
            margin-right: 6px;
        }

        .poster-actions {
            padding: 0 15px 15px;
            display: flex;
            justify-content: center;
        }

        .btn-download {
            width: 100%;
            padding: 8px 0;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-download:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .filter-section {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }

        .filter-badge {
            cursor: pointer;
            padding: 6px 12px;
            font-size: 0.85rem;
        }

        .filter-badge.active {
            background: var(--primary-color) !important;
            color: white !important;
        }

        .footer {
            background: #333;
            color: white;
            padding: 30px 0 15px;
            margin-top: 40px;
        }

        .modal-body img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .modal-header {
            border-bottom: 2px solid var(--primary-color);
        }

        .modal-title {
            color: var(--primary-color);
            font-weight: 600;
        }

        .modal-footer {
            border-top: 1px solid #eee;
        }

        .stats-section {
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary-dark);
        }

        .stat-label {
            color: #666;
            font-size: 0.9rem;
        }

        .image-loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .file-type-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            z-index: 1;
        }

        @media (max-width: 768px) {
            .poster-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }
        }

        @media (max-width: 576px) {
            .poster-grid {
                grid-template-columns: 1fr;
            }

            .page-header h1 {
                font-size: 1.5rem;
            }

            .poster-image-container {
                height: 200px;
            }
        }