/* static/css/css_pc.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
}

.appHeader {
    background: linear-gradient(135deg, #d80011, #b3000e);
    color: white;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.appHeader ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.appHeader li {
    margin: 0 5px;
}

.appHeader a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s;
    border-radius: 3px;
}

.appHeader a:hover {
    background: rgba(255,255,255,0.1);
}

.LotteryIndex {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 0px;
}

.swiper-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lotteryHall {
    margin-top: 30px;
}

.mainLottery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.lotteryTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.lotteryTitle .title {
    font-size: 24px;
    font-weight: bold;
    color: #d80011;
}

.lotteryNum {
    text-align: center;
    margin: 30px 0;
}

.lastTitle {
    margin-bottom: 20px;
}

.lotteryName {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.lotteryIssue {
    font-size: 16px;
    color: #666;
}

.num {
    font-size: 0;
}

.ball {
    display: inline-block;
    margin: 0 10px;
}

.balls { 
    display: inline-flex; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    align-items: center; 
    justify-content: center; 
    font-size: 24px; 
    font-weight: bold; 
    color: rgb(0, 0, 0); 
    margin: 0 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
}
.red { background-image: url('static/images/red.png'); }
.yellow { background-image: url('static/images/yellow.png'); }
.blue { background-image: url('static/images/blue.png'); }

.lotteryTime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.leftTime {
    display: flex;
    align-items: center;
    font-size: 0;
}

.hour, .minute, .second {
    display: inline-block;
}

.num {
    display: inline-block;
    width: 30px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #333;
    color: white;
    margin: 0 2px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: bold;
}

.dot {
    margin: 0 5px;
    font-size: 20px;
    font-weight: bold;
}

.check .video {
    background: #d80011;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.check .video a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.history a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.history a:hover {
    color: #d80011;
}

.postLottery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.postHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.postHeader .left {
    font-size: 18px;
    font-weight: bold;
    color: #d80011;
}

.postHeader .right a {
    color: #d80011;
    text-decoration: none;
}

.postLottery ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.postLottery li {
    border: 1px solid #eee;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.postLottery li:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.historyIssue {
    margin-bottom: 10px;
    font-weight: bold;
}

.historyNum {
    text-align: center;
}

.lhcHisCode {
    display: inline-block;
    margin: 0 5px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .appHeader {
        flex-direction: column;
        padding: 10px;
    }
    
    .appHeader ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .appHeader li {
        margin: 5px;
    }
    
    .lotteryTime {
        flex-direction: column;
        gap: 15px;
    }
    
    .balls {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    ul, ol {
    padding-inline-start: 0px;
}

/* 确保列表项也没有默认内边距 */
li {
    padding-inline-start: 0px;
}

}/* static/css/css_pc.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
}

/* 移除列表默认内边距 */
ul, ol {
    padding-inline-start: 0px;
}

li {
    padding-inline-start: 0px;
}

.appHeader {
    background: linear-gradient(135deg, #d80011, #b3000e);
    color: white;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.appHeader ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.appHeader li {
    margin: 0 5px;
}

.appHeader a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s;
    border-radius: 3px;
}

.appHeader a:hover {
    background: rgba(255,255,255,0.1);
}

.LotteryIndex {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 0px;
}

.swiper-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lotteryHall {
    margin-top: 30px;
}

.mainLottery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.lotteryTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.lotteryTitle .title {
    font-size: 24px;
    font-weight: bold;
    color: #d80011;
}

.lotteryNum {
    text-align: center;
    margin: 30px 0;
}

.lastTitle {
    margin-bottom: 20px;
}

.lotteryName {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.lotteryIssue {
    font-size: 16px;
    color: #666;
}

.num {
    font-size: 0;
}

.ball {
    display: inline-block;
    margin: 0 10px;
}

.balls { 
    display: inline-flex; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    align-items: center; 
    justify-content: center; 
    font-size: 24px; 
    font-weight: bold; 
    color: rgb(0, 0, 0); 
    margin: 0 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
}
.red { background-image: url('static/images/red.png'); }
.yellow { background-image: url('static/images/yellow.png'); }
.blue { background-image: url('static/images/blue.png'); }

.lotteryTime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.leftTime {
    display: flex;
    align-items: center;
    font-size: 0;
}

.hour, .minute, .second {
    display: inline-block;
}

.num {
    display: inline-block;
    width: 30px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #333;
    color: white;
    margin: 0 2px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: bold;
}

.dot {
    margin: 0 5px;
    font-size: 20px;
    font-weight: bold;
}

.check .video {
    background: #d80011;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.check .video a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.history a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.history a:hover {
    color: #d80011;
}

.postLottery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.postHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.postHeader .left {
    font-size: 18px;
    font-weight: bold;
    color: #d80011;
}

.postHeader .right a {
    color: #d80011;
    text-decoration: none;
}

.postLottery ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.postLottery li {
    border: 1px solid #eee;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.postLottery li:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.historyIssue {
    margin-bottom: 10px;
    font-weight: bold;
}

.historyNum {
    text-align: center;
}

.lhcHisCode {
    display: inline-block;
    margin: 0 5px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .appHeader {
        flex-direction: column;
        padding: 10px;
    }
    
    .appHeader ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .appHeader li {
        margin: 5px;
    }
    
    .lotteryTime {
        flex-direction: column;
        gap: 15px;
    }
    
    .balls {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}