.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* 提高层级，确保显示在最上层 */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    animation: zoom 0.3s ease-in-out;
}
@keyframes zoom {
    from {transform: translateY(-50%) scale(0.1)}
    to {transform: translateY(-50%) scale(1)}
}
.close {
    position: fixed; /* 改为 fixed 定位 */
    right: 25px;
    top: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000; /* 确保在模态框之上 */
}
.close:hover {
    color: #bbb;
    text-decoration: none;
}
/* 确保图片容器不影响模态框 */
.picture-list-pc .image-container {
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 6px;
    position: relative; /* 添加相对定位 */
    z-index: 1; /* 降低正常显示时的层级 */
}

/* 确保图片hover效果不影响模态框 */
.picture-list-pc .image-container img:hover {
    transform: scale(1.05);
    z-index: 2; /* 确保hover时不会超过模态框 */
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* 图片容器样式更新 */
.picture-list-pc {
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
    cursor: grab;
    position: relative;
    padding: 10px 0;
}

.image-card {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.image-container img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}/* 添加容器样式 */
.picture-container {
    width: 700px;
    height: 230px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.picture-list-pc {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    gap: 10px;
    padding: 10px;
}

/* 美化滚动条 */
.picture-list-pc::-webkit-scrollbar {
    height: 6px;
}

.picture-list-pc::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.picture-list-pc::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

/* 图片卡片样式 */
.picture-list-pc .col-4 {
    flex: 0 0 auto;
    width: 130px; /* 图片宽度 */
}

.picture-list-pc .image-card {
    height: 170px;
    position: relative;
}

.picture-list-pc .image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.picture-list-pc .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.picture-list-pc .image-container img:hover {
    transform: scale(1.05);
}

.picture-list-pc .image-title {
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
        /* 优化生肖显示 */
        .zodiac-display {
            display: inline-block;
            vertical-align: middle;
            font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
            margin: 0 5px;
            position: relative;
            /* 添加定位 */
            min-width: 1em;
            /* 确保最小宽度 */
            text-align: center;
            height: 40px;
            /* 与图片高度一致 */
            line-height: 40px;
            /* 垂直居中 */
        }

        /* 确保内容区域稳定 */
        .content-wrapper {
            min-height: 100vh;
            width: 100%;
            position: relative;
            overflow-x: hidden;
        }

        /* 新增布局样式 */
        .content-wrapper {
            display: flex;
            gap: 20px;
            margin: 10px 0;
        }

        .lottery-content {
            flex: 1;
        }

        .calendar-container {
            width: 300px;
            background: #ffffff;
            border-radius: 8px;
            padding: 16px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .nav-btn {
            background: none;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 4px;
            font-size: 16px;
        }

        .nav-btn:hover {
            background-color: #f0f0f0;
        }

        .month-display {
            font-size: 16px;
            font-weight: 500;
        }

        .weekdays-header {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            margin-bottom: 8px;
        }

        .weekday {
            text-align: center;
            font-size: 14px;
            color: #333;
            padding: 8px 0;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border-radius: 4px;
            cursor: default;
            position: relative;
        }

        .calendar-day.empty {
            background: none;
        }

        .calendar-day.past {
            background-color: #e0e0e0;
            color: #333;
        }

        .calendar-day.future {
            background-color: #ff4444;
            color: white;
        }

        .calendar-legend {
            margin-top: 15px;
            display: flex;
            gap: 20px;
            justify-content: flex-start;
            padding: 0 10px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            color: #333;
        }

        .legend-square {
            width: 8px;
            height: 8px;
            display: inline-block;
        }

        .legend-square.red {
            background-color: #ff4444;
        }

        .legend-square.gray {
            background-color: #e0e0e0;
        }

        .legend-text {
            position: relative;
            top: 1px;
        }

        /* 移除之前的伪元素样式 */
        .legend-item::before {
            content: none;
        }
                .winners-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 20px;
                }

                .winners-header h2 {
                    color: white;
                    margin: 0;
                    font-size: 24px;
                }

                .winners-container {
                    margin: 0 auto;
                    background-color: #004d4d;
                    border-radius: 20px;
                    padding: 20px;
                }

                .view-all {
                    color: white;
                    text-decoration: none;
                    font-size: 14px;
                }

                .winners-grid {
                    display: flex;
                    justify-content: space-between;
                    gap: 10px;
                }

                .winner-card {
                    width: calc((1058px - 80px - 40px) / 5);
                    /* 容器宽度减去padding和gap的总和，再除以5 */
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                }

                .winner-card img {
                    width: 100%;
                    aspect-ratio: 1/1;
                    border-radius: 10px;
                    object-fit: cover;
                }

                .buy-ticket {
                    padding: 10px;
                    border: none;
                    border-radius: 8px;
                    background-color: white;
                    color: #333;
                    cursor: pointer;
                    font-weight: bold;
                    transition: background-color 0.3s;
                }

                .buy-ticket:hover {
                    background-color: #f0f0f0;
                }

                .popup_notice {
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    background-position: center;
                    width: 100%;
                    height: 100%;
                    border-radius: 1rem;
                    border: 0.3rem solid #bb7e12;
                }

                .popup_notice .notice_main {
                    padding: 90px 0.5rem 0.5rem 0.5rem;
                    font-size: 1rem;
                    text-align: center;
                    font-weight: bold;
                    line-height: 1.5rem;
                    padding-left: 3.5rem;
                    padding-top: 65px;
                    padding-right: 3rem;
                }

                .popup_notice .popup_close {
                    text-align: center;
                    font-size: 1.2rem;
                    color: #fff;
                    position: absolute;
                    bottom: 0.6rem;
                }

                .popup_notice .popup_close span {
                    border-radius: 1rem;
                    background-color: #473760;
                    padding: 0.5rem 5rem;
                }

                .zodiac-table table {
                    width: 100%;
                    border-collapse: collapse;
                }

                .zodiac-table th,
                .zodiac-table td {
                    border: 1px solid #fff;
                    padding: 12px 8px;
                    text-align: center;
                    color: white;
                    background-color: #4ca69b;
                    font-size: 18px;
                    font-weight: bold;
                }

                /* 标题行样式 */
                .zodiac-table .main-title {
                    background-color: #dc0000;
                    padding: 12px;
                    font-size: 24px;
                    font-weight: bold;
                    color: yellow;
                }

                /* 第一列（2025年生肖属性）样式 */
                .zodiac-table .year-cell {
                    width: 150px;
                    font-size: 20px;
                    line-height: 1.5;
                }

                /* 生肖文字样式 */
                .zodiac-table .zodiac {
                    color: yellow;
                    font-weight: bold;
                    display: block;
                    margin-top: 4px;
                    font-size: 20px;
                }

                /* 其他单元格样式 */
                .zodiac-table td {
                    width: calc((100% - 150px) / 6);
                    line-height: 1.4;
                }

                .slideshow-container {
                    max-width: 1058px;
                    position: relative;
                    margin: auto;
                    overflow: hidden;
                }

                .slideshow-container {
                    max-width: 1058px;
                    position: relative;
                    margin: auto;
                    overflow: hidden;
                    border-radius: 20px;
                    /* 添加圆弧效果 */
                }

                .slides {
                    display: flex;
                    transition: transform 0.5s ease-in-out;
                }

                .slides img {
                    width: 1058px;
                    height: 226px;
                    flex-shrink: 0;
                    border-radius: 20px;
                    /* 给图片也添加圆弧效果 */
                }

                .prev,
                .next {
                    cursor: pointer;
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    padding: 16px;
                    color: white;
                    font-weight: bold;
                    font-size: 18px;
                    background-color: rgba(0, 0, 0, 0.5);
                    border: none;
                    border-radius: 3px;
                }

                .prev {
                    left: 10px;
                }

                .next {
                    right: 10px;
                }

                /* 修改导航点的样式和位置 */
                .dots {
                    position: absolute;
                    top: 200px;
                    /* 距离顶部的距离 */
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 2;
                }

                .dot {
                    height: 8px;
                    width: 8px;
                    margin: 0 4px;
                    background-color: rgba(255, 255, 255, 0.5);
                    border: 2px solid rgba(255, 255, 255, 0.7);
                    border-radius: 50%;
                    display: inline-block;
                    cursor: pointer;
                    transition: all 0.3s ease;
                }

                .dot.active {
                    background-color: white;
                    border-color: white;
                    transform: scale(1.2);
                }

/* 基础容器样式 */
.HomeCard_homeCard__KMKvt {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

/* 标题栏样式 */
.HomeCard_title__8OSPd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
    color: #212121;
    font-size: 18px;
}

.HomeCard_left__VlI2a {
    display: flex;
    gap: 8px;
    margin-top: -17px;
}

.HomeCard_left__VlI2a img {
    width: 24px;
    height: 24px;
}

.HomeCard_more__lJ\+8L a {
    color: #999;
    font-size: 14px;
    text-decoration: none;
}

/* 属性表格通用样式 */
.Home_attr_table__ipynd {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 0;
}

/* 五行和生肖表格共同样式 */
.Home_wu_xing__HzJFS,
.Home_sheng_xiao__hH0\+D {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

/* 五行表格样式 */
.Home_wu_xing__HzJFS > div {
    display: flex;
    width: 100%;
}
.Home_attr_table__ipynd .Home_wu_xing__HzJFS .Home_content__7HZam>span {
    margin-left: 14px;
}
.Home_attr_table__ipynd .Home_sheng_xiao__hH0\+D>div:nth-child(2)>div>span {
    height: 25.5px;
    width: 100%;
}
.Home_wu_xing__HzJFS > div > div {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    height: 35px;
    text-align: center;
}

.Home_wu_xing__HzJFS > div > div:first-child {
    width: 98px;
    font-weight: 400;
}

.Home_wu_xing__HzJFS > div > div:nth-child(2) {
    width: calc(100% - 98px);
}

.Home_wu_xing__HzJFS > div:nth-child(2n) {
    background-color: #f1f1f1;
}

/* 生肖表格样式 */
.Home_sheng_xiao__hH0\+D {
    width: 50%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    border-right: 1px solid #eee;
}
.Home_sheng_xiao__hH0\+D > div:first-child {
    border-bottom: 1px solid #eee;
    background: #f5f5f5;
}
.Home_attr_table__ipynd .Home_bo_se__7LScX>div:first-child, .Home_attr_table__ipynd .Home_row__4kEsk {
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    border-top: 1px solid #eee;
}
.Home_attr_table__ipynd .Home_bo_se__7LScX>div:first-child {
    height: 35px;
}
.Home_attr_table__ipynd .Home_row__4kEsk>div:nth-child(2)>span {
display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    text-align: center;
    margin-left: 3%;
}
.Home_attr_table__ipynd .Home_row__4kEsk>div:nth-child(2) {
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    width: calc(100% - 98px);
}
.Home_sheng_xiao__hH0\+D > div:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.Home_sheng_xiao__hH0\+D > div:first-child > div {
    line-height: 35px;
    text-align: center;
}

.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    padding: 16px 4px;
    text-align: center;
    height: auto;
}
.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div:first-child {
    border-left: none;
}

/* 生肖文字样式 */
.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div > span {
    display: block;
    margin-bottom: 4px;
}

/* 数字样式 */
.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div > span:nth-child(2),
.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div > span:nth-child(3),
.Home_sheng_xiao__hH0\+D > div:nth-child(2) > div > span:nth-child(4) {
    margin-top: 2px;
}
/* 数字颜色样式 */
.Home_red__qfgm0 { color: #ff0000; }
.Home_blue__TlLbl { color: #0000ff; }
.Home_green__wujO4 { color: #008000; }

/* 波色表格样式 */
.Home_bo_se__7LScX {
    margin-top: 15px;
    width: 1015px;
    border: 1px solid #eee;
}

.Home_row__4kEsk {
    display: flex;
    border-bottom: 1px solid #eee;
}

.Home_row__4kEsk > div:first-child {
    width: 60px;
    text-align: center;
}

.Home_row__4kEsk > div:last-child {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    
}
/* 添加外层容器样式 */
.attr-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    border: 1px solid #eee;
}

/* 调整内部间距 */
.HomeCard_homeCard__KMKvt {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
}

/* 调整表格容器样式 */
.Home_attr_table__ipynd {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
/* 获奖展示区域的滚动样式 */
.winners-container {
    width: 1020px;
    overflow: hidden;
    position: relative;
}

.winners-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.1s linear;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.winner-card {
    flex: 0 0 auto;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
}

.winner-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    user-select: none;
    -webkit-user-drag: none;
}

.buy-ticket {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    background: #1890ff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.buy-ticket:hover {
    background: #40a9ff;
}
.notice-bar {
    background: linear-gradient(135deg, #fff6f6 0%, #fff0f0 100%);
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.notice-container {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 15px;
}

.notice-icon {
    flex-shrink: 0;
    color: #ff4d4f;
    animation: bell-ring 2s infinite;
}

.notice-content {
    flex-grow: 1;
    overflow: hidden;
}

.notice-scroll {
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

.notice-scroll p {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.highlight {
    color: #ff4d4f;
    font-weight: bold;
    padding: 0 4px;
}

@keyframes bell-ring {
    0%, 100% {
        transform: rotate(0);
    }
    5%, 15% {
        transform: rotate(15deg);
    }
    10%, 20% {
        transform: rotate(-15deg);
    }
    25% {
        transform: rotate(0);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 鼠标悬停时暂停动画 */
.notice-scroll:hover {
    animation-play-state: paused;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .notice-container {
        padding: 10px;
    }
    
    .notice-scroll p {
        font-size: 16px;
    }
}

/* 添加渐变边缘效果 */
.notice-content::before,
.notice-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
}

.notice-content::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,246,246,1), rgba(255,246,246,0));
}

.notice-content::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,246,246,1), rgba(255,246,246,0));
}.notice-img {
    width: 30px;
    height: 30px;
    object-fit: contain; /* 保持图片比例 */
    vertical-align: middle;
}