

/* ---- 原站内联样式块 3 ---- */

        /* Unified Header Card */
        .ds-header-card {
            background: #fff;
            border-radius: 16px;
            padding: 20px 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        /* HIDE THEME DEFAULT PAGE TITLE */
        .article-header {
            display: none !important;
        }

        /* Title Area */
        .ds-header-title {
            font-size: 20px;
            font-weight: 800;
            color: #333;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            line-height: 1;
        }

        .ds-header-title .icon {
            color: #f39c12;
            /* Lightning color */
            font-size: 24px;
        }

        /* Controls Area (Date + Tabs) */
        .ds-header-controls {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }



        /* Filter Tabs */
        .ds-filter-tabs {
            display: flex;
            gap: 10px;
            margin: 0;
            /* Override old margin */
            background: #f8f9fa;
            padding: 4px;
            border-radius: 12px;
        }

        .ds-filter-tab {
            padding: 6px 20px;
            border-radius: 8px;
            color: #666;
            text-decoration: none !important;
            font-size: 14px;
            font-weight: 500;
            border: none;
            box-shadow: none;
            transition: all 0.2s ease;
            background: transparent;
        }

        .ds-filter-tab:hover {
            color: #333;
            background: rgba(0, 0, 0, 0.03);
            transform: none;
            box-shadow: none;
        }

        .ds-filter-tab.active {
            background: #fff;
            color: #3498db;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            font-weight: 600;
            transform: none;
        }

        /* === NEW: Date Navigation Styles === */
        .ds-date-nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ds-date-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f0f0f0;
            color: #555;
            text-decoration: none;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .ds-date-btn:hover {
            background: #e0e0e0;
            color: #333;
            transform: scale(1.05);
        }

        .ds-date-btn.disabled {
            opacity: 0.4;
            pointer-events: none;
            cursor: not-allowed;
        }

        .ds-date-btn svg {
            display: block;
        }

        .ds-date-display {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            color: #fff;
            font-weight: 500;
            min-width: 100px;
            justify-content: center;
        }

        .ds-date-text {
            font-size: 15px;
            font-weight: 600;
        }

        .ds-date-weekday {
            font-size: 12px;
            opacity: 0.85;
        }

        .ds-date-today-tag {
            background: rgba(255,255,255,0.25);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            margin-left: 4px;
        }

        /* Mobile Date Picker (hidden on desktop, shown on mobile) */
        .ds-date-picker {
            display: none;
            width: 120px;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            color: #555;
            background: #fff;
            cursor: pointer;
            -webkit-appearance: none;
            appearance: none;
        }

        .ds-date-picker:focus {
            border-color: #667eea;
            outline: none;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .ds-header-card {
                flex-direction: column;
                justify-content: center;
                padding: 20px 15px;
                gap: 15px;
                text-align: center;
                position: relative;
                z-index: 50;
            }

            .ds-header-controls {
                flex-direction: column;
                width: 100%;
                gap: 12px;
                position: relative;
                z-index: 51;
            }

            .ds-filter-tabs {
                width: 100%;
                justify-content: center;
            }

            .ds-filter-tab {
                flex: 1;
                text-align: center;
            }
            
            /* Mobile: Replace date display with native date picker */
            .ds-date-nav {
                width: 100%;
                justify-content: center;
                position: relative;
                z-index: 52;
            }
            
            .ds-date-display {
                display: none;
            }
            
            .ds-date-picker {
                display: block;
                width: 140px;
                padding: 12px 16px;
                font-size: 16px;
                border: 2px solid #e0e0e0;
                background: #fff;
                touch-action: manipulation;
                -webkit-touch-callout: none;
            }
            
            .ds-date-btn {
                width: 44px;
                height: 44px;
                background: #f5f5f5;
            }
        }
    

            .ds-stats-bar {
                display: flex;
                justify-content: space-around;
                align-items: center;
                background: #fff;
                padding: 15px 10px;
                margin-bottom: 25px;
                border-radius: 8px;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
                flex-wrap: wrap;
                gap: 10px;
            }

            .ds-stat-item {
                text-align: center;
                flex: 1;
                min-width: 80px;
            }

            .ds-stat-label {
                font-size: 12px;
                color: #999;
                margin-bottom: 5px;
                display: block;
            }

            .ds-stat-val {
                font-size: 16px;
                font-weight: bold;
                color: #333;
                display: block;
            }

            .ds-stat-val.orange {
                color: #f59e0b;
            }

            @media (max-width: 480px) {
                .ds-stats-bar {
                    padding: 10px 5px;
                }

                .ds-stat-label {
                    font-size: 11px;
                    transform: scale(0.9);
                }

                .ds-stat-val {
                    font-size: 14px;
                }
            }
        

        #daily-summary {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 20px 0;
            width: 100%;
        }

        @media (min-width: 768px) {
            #daily-summary {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
            }
        }

        .ds-title-daily-summary {
            text-align: center;
            font-size: 24px;
            margin-bottom: 20px;
            font-weight: bold;
            color: #333;
        }

        #daily-summary .ds-item {
            position: relative;
            display: block;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            background-color: #f0f0f0;
        }

        #daily-summary .ds-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }

        #daily-summary .ds-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        #daily-summary .ds-item .no-thumb {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #999;
            font-size: 12px;
            text-align: center;
            padding: 10px;
        }


        /* Seal Styles - Renamed to force update */
        .ds-seal-new {
            position: absolute !important;
            top: 5px !important;
            right: 10px !important;
            width: 24px !important;
            height: 24px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 10 !important;
            font-size: 12px !important;
            font-weight: 900 !important;
            line-height: 1 !important;
            transform: rotate(0deg) !important;
            background-color: rgba(255, 255, 255, 0.95) !important;
            border: 1px solid currentColor !important;
            /* Box shadow will receive specific color in subclasses */
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
            font-family: "Microsoft YaHei", sans-serif !important;
        }

        @media (max-width: 768px) {
            .ds-seal-new {
                width: 18px !important;
                height: 18px !important;
                font-size: 10px !important;
                top: 4px !important;
                right: 6px !important;
            }
        }

        .ds-seal-new.red {
            color: #f44336 !important;
            border-color: #f44336 !important;
            box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #f44336, 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        }

        .ds-seal-new.black {
            color: #555 !important;
            border-color: #555 !important;
            box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #555, 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        }

        /* Hide old pseudo if accidentally matched */
        .ds-seal-new::after,
        .ds-seal::after {
            display: none !important;
            content: none !important;
        }

        /* Recommendation Tag Styles */
        .ds-rec-tag {
            position: absolute;
            top: 6px;
            left: 4px;
            background: rgba(255, 255, 255, 0.9);
            padding: 0 4px;
            border-radius: 2px;
            font-size: 10px;
            line-height: 14px;
            /* font-weight: bold; Removed */
            z-index: 9;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            transform: scale(0.9);
            transform-origin: top left;
        }

        /* Desktop: Larger Font */
        @media (min-width: 768px) {
            .ds-rec-tag {
                font-size: 13px !important;
                padding: 1px 6px !important;
                transform: none !important;
                top: 8px !important;
                left: 6px !important;
                line-height: normal !important;
            }
        }
    
