        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: #333;
            line-height: 1.6;
            padding-bottom: 40px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            background: linear-gradient(to right, #d22630, #ff0000);
            color: white;
            padding: 25px 0;
            text-align: center;
            border-bottom: 5px solid #ffcc00;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .subtitle {
            font-size: 1.0rem;
            opacity: 0.9;
            margin-bottom: 10px;
        }
        
        .draw-info {
            background: rgba(255, 255, 255, 0.2);
            padding: 8px 20px;
            border-radius: 8px;
            display: inline-block;
            margin-top: 10px;
        }
        
        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            padding: 18px;
            margin-bottom: 30px;
            transition: transform 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
        }
        
        .card-title {
            color: #d22630;
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 5px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
        }
        
        .card-title i {
            margin-right: 10px;
        }
        
.latest-result {
    display: flex;
    justify-content: center; /* 修改为居中 */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* 增加间距更美观 */
}
        
        .draw-date {
            font-size: 1.2rem;
            color: #666;
            background: #f8f9fa;
            padding: 10px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            width: 100%;
        }
        
        .numbers {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 20px 0;
        }
        
        .number {
            width: 50px;
            height: 50px;
            background: linear-gradient(to bottom, #d22630, #a11c25);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .bonus-number {
            width: 50px;
            height: 50px;
            background: linear-gradient(to bottom, #ffcc00, #e6b800);
            color: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        
        .bonus-number::before {
            content: "";
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            white-space: nowrap;
            color: #666;
        }
        
        .prediction-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            padding: 20px;
            margin: 30px 0;
            border: 2px dashed #d22630;
        }
        
        .prediction-title {
            text-align: center;
            color: #d22630;
            font-size: 1.8rem;
            margin-bottom: 25px;
        }
        
        .prediction-cards {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .prediction-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            flex: 1;
            min-width: 300px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
        .prediction-card h3 {
            color: #d22630;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .prediction-card p {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .prediction-numbers {
            display: flex;
            justify-content: center;
            flex-wrap: nowrap; /* 修改：改为不换行 */
            overflow-x: auto; /* 修改：允许横向滚动 */
            gap: 14px;
            margin: 15px 0;
            padding-bottom: 5px; /* 修改：为滚动条留出空间 */
        }
        
        .prediction-number {
            width: 27px;
            height: 27px;
            background: linear-gradient(to bottom, #4a90e2, #357abd);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            flex-shrink: 0; /* 防止号码被压缩 */
        }
        
        .prediction-bonus {
            width: 36px;
            height: 36px;
            background: linear-gradient(to bottom, #50c878, #3cb371);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            margin: 0 auto;
            position: relative;
            flex-shrink: 0; /* 防止号码被压缩 */
        }
        
        .prediction-bonus::before {
            content: "";
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            white-space: nowrap;
            color: #666;
        }
        
        .winners-carousel {
            position: relative;
            overflow: hidden;
            height: 280px;
        }
        
        .winners-container {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .winner {
            flex: 0 0 calc(25% - 20px);
            margin: 0 10px;
            text-align: center;
            background: #f9f9f9;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        }
        
        .winner-avatar {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #ffcc00;
            margin: 0 auto 15px;
        }
        
        .winner-icon {
            color: #d22630;
            font-size: 1.8rem;
            margin: 10px 0;
        }
        
        .winner-amount {
            color: #d22630;
            font-weight: bold;
            font-size: 1.4rem;
            margin: 10px 0;
        }
        
        .winner-name {
            color: #333;
            font-weight: 500;
            margin-top: 10px;
        }
        
        .carousel-controls {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }
        
        .carousel-control {
            background: #d22630;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: background 0.3s;
        }
        
        .carousel-control:hover {
            background: #a11c25;
        }
        
        .history-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        .history-table th, .history-table td {
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }
        
        .history-table th {
            background: #f8f9fa;
            color: #d22630;
            font-weight: 600;
        }
        
        .history-table tr:hover {
            background: #f5f7fa;
        }
        
        .history-numbers {
            display: flex;
            gap: 8px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .history-number {
            width: 36px;
            height: 36px;
            background: #e9ecef;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .history-bonus {
            width: 36px;
            height: 36px;
            background: #ffcc00;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }
        
        .pagination button {
            padding: 10px 18px;
            background: #d22630;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .pagination button:hover {
            background: #a11c25;
        }
        
        .pagination button.active {
            background: #a11c25;
            font-weight: bold;
        }
        
        .countdown {
            background: #ffcc00;
            color: #333;
            padding: 9px 15px;
            border-radius: 8px;
            font-weight: bold;
            margin-top: 15px;
            text-align: center;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }
        
        .loading i {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #d22630;
        }
        
        .error {
            text-align: center;
            padding: 20px;
            color: #d22630;
            background: #ffe6e6;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        .copyright {
            font-size: 12px;
            color: #f8f9fa;
            animation: blink 1.5s infinite;
            text-align: center;
            padding: 10px;
            background: rgba(44, 152, 138, 0.8);
            border-radius: 4px;
        }

        @keyframes blink {
            0% { opacity: 0.3; }
            50% { opacity: 1; text-shadow: 0 0 5px #ff9900; }
            100% { opacity: 0.3; }
        }
        
        /* 响应式设计调整 */
        @media (max-width: 768px) {
            .winner {
                flex: 0 0 calc(50% - 20px);
            }
            
            .number, .bonus-number {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .history-number, .history-bonus {
                w display: flex;
    justify-content: center;  /* 内容水平居中 */
    align-items: center;      /* 内容垂直居中 */
    margin: 0 auto;           /* 关键：强制在 <td> 中居中 */
            }
            
    .prediction-cards {
        display: flex;
        flex-direction: column;
        align-items: center;   /* 关键：让子元素水平居中 */
    }
            
    .prediction-card {
        width: 100%;           /* 改为固定宽度，避免两边贴边 */
        max-width: 480px;     /* 限制最大宽度 */
        margin: 0 auto;       /* 水平居中 */
        text-align: center;   /* 卡片内部内容居中 */
    }
            
            .prediction-numbers {
                justify-content: flex-start; /* 左对齐以便滚动 */
            }
            
            /* 开奖记录表格调整 */
            .history-table {
                font-size: 0.8rem;
            }
            
            .history-table th, 
            .history-table td {
                padding: 8px 4px;
            }
            
            .history-number, 
            .history-bonus {
                width: 18px;
                height: 18px;
                font-size: 0.7rem;
            }
            
            .history-numbers {
                gap: 4px;
            }
        }
        
        @media (max-width: 480px) {
            .winner {
                flex: 0 0 calc(100% - 20px);
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .numbers {
                gap: 6px; /* 调整间隙防止溢出 */
                justify-content: center; /* 居中显示 */
            }
            
            .number, .bonus-number {
                width: 32px; /* 进一步缩小号码球 */
                height: 32px;
                font-size: 0.8rem;
            }
            
            .prediction-card {
                min-width: 100%;
            }
            
            .carousel-controls {
                gap: 5px;
            }
            
            .carousel-control {
                width: 35px;
                height: 35px;
            }
        }
        
        /* 特别调整超小屏幕 */
        @media (max-width: 360px) {
            .history-table {
                font-size: 0.7rem;
            }
            
            .history-number, 
            .history-bonus {
                width: 20px;
                height: 20px;
            }
            
            .number, .bonus-number {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }
        }
