
html, body, *, :after, :before {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    /*background-color: #fdfdea;*/
    height: 100%;
}

body {
    margin: auto;
    max-width: 1300px;
    min-width: 320px;
    font-size: .14rem;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    overflow-y: scroll;
}

img {
    display: block;
    width: 100%;
    border-style: none;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:focus, a:active, a:hover {
    outline: none;
}

b {
    font-weight: bolder;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

#app {
    height: 100%;
    /*margin-top: 66px;*/
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: solid #eee;
    border-width: 0 1px 1px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 .02rem .04rem rgba(0, 0, 0, .12), 0 0 .06rem rgba(0, 0, 0, .04);
}

.dashboard > * {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    height: .76rem;
    width: 35%;
}

.dashboard > :first-child {
    width: 30%;
}

.dashboard > :nth-child(2) {
    border-width: 0 1px;
    border-style: solid;
    border-color: #eee;
}

@media screen and (max-width: 950px) {
    .dashboard > :nth-child(2) {
        border-width: 1px 0;
    }

    .dashboard > * {
        width: 100% !important;
    }
}

.section {
    /*padding-left: .15rem;*/
    font-size: 14px;
}

.section span {
    padding: 0 .04rem;
    color: #e50012;
}

.openNumber {
    display: inline-flex;
    align-items: center;
    padding-right: .1rem;
}

.openNumber dt {
    width: .4rem;
    border-radius: 5px;
    color: #fa7513;
    text-align: center;
    line-height: .4rem;
    font-weight: 700;
    background: linear-gradient(to bottom right, #fefefe, #ececec);
    border: 1px solid #e5e5e5;
}

.openNumber dt:last-of-type {
    background: linear-gradient(to bottom right, #ff9800, #fa7712);
    color: #fff;
}

.openNumber dd {
    margin: 0;
    padding: 0 .05rem;
    color: #999;
}

.openCalculate {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: .85rem;
    height: 100%;
    padding-left: .1rem;
}

.openCalculate b {
    width: .32rem;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: .32rem;
    font-weight: 400;
}

.openCalculate b:first-of-type {
    background-color: #96cb3b;
}

.openCalculate b:last-of-type {
    background-color: #ff831f;
}

.countDown {
    display: inline-flex;
    align-items: center;
    font-size: .16rem;
}

.countDown dd {
    width: .4rem;
    margin: 0 .15rem;
    background: linear-gradient(to bottom right, #ff9800, #fa7712);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: .4rem;
    font-weight: 700;
}

.countDown img:first-of-type {
    width: .36rem;
}

.countDown img:last-of-type {
    width: .16rem;
}

.countDown span {
    padding: 0 .08rem;
}

.tabs-table {
    width: 100%;
}

.tabs-table tr:nth-child(even) {
    background-color: #f1f6fc;
}

.tabs-table td {
    padding: .12rem 0;
    border-bottom: 1px solid #ebeef5;
    font-size: .15rem;
    text-align: center;
}

.tabs-table thead td {
    color: #909399;
}

.tabs-table span {
    padding: .03rem .05rem;
    border-radius: .06rem;
    font-weight: 600;
    /*color: #fff;*/
}

.orange_span {
    background-color: #ff831f;
}

.green_span {
    background-color: #96cb3b;
}

.red {
    color: #e74c3c;
}

.orange {
    color: #e67e22;
}

.purper {
    color: #9b59b6;
}

.green {
    color: #2ecc71;
}

.mui-bar {
    height: 66px;
    border-bottom: 0;
    background-color: #b21824;
    padding: 0 40px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 -10px 18px rgba(0, 0, 0, .4);
}

.mui-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 66px;
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    color: #fff;
}

.el-tabs__header {
    padding: 0;
    position: relative;
    /*margin: 0 0 15px;*/
}

.el-tabs__nav-wrap {
    overflow: hidden;
    margin-bottom: -1px;
    position: relative;
}

.el-tabs__nav {
    white-space: nowrap;
    position: relative;
    min-width: 100%;
    transition: transform .3s;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.el-tabs__nav.is-stretch>* {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.el-tabs__item {
    /*padding: 0 20px;*/
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    color: #fff;
    position: relative;
    background: #335397;
    text-align: center;
}

.el-tabs__item:hover, .el-tabs__item.is-active {
    background: #00c7f7;
    color: #fff;
}

.el-tabs__content {
    overflow: hidden;
    position: relative;
}

.el-tabs--border-card {
    background: #fff;
    border: 1px solid #dcdfe6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
    margin-top: 0;
}

.el-link {
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-decoration: none;
    padding: 0;
    position: relative;
}

.el-link--primary {
    color: #409eff;
}

.el-link--primary:hover {
    color: #66b1ff;
}

.el-link.is-underline:hover:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    bottom: 0;
    border-bottom: 1px solid #409eff;
}

.moreMore {
    margin: 15px;
    text-align: center;
    border-radius: 4px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    background: none;
    line-height: 2;
    border: 1px solid #8e8e8e;
}

.moreMore a {
    font-size: 17px;
    color: #666;
}

.moreMore:focus, .moreMore:hover {
    color: #fff !important;
    background: #f1f1f1;
    text-decoration: none;
}

.el-menu {
    border-right: 1px solid #e6e6e6;
    list-style: none;
    position: relative;
    margin: 0;
    padding-left: 0;
}

.el-menu, .el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, .el-menu--horizontal>.el-menu-item:not(.is-disabled):hover {
    background-color: #fff;
}

.el-menu:after, .el-menu:before {
    display: table;
    content: "";
}

.el-menu:after {
    clear: both;
}

.el-menu.el-menu--horizontal {
    border-bottom: 1px solid #e6e6e6;
}

.el-menu--horizontal {
    border-right: none;
}

.el-menu--horizontal>.el-menu-item {
    float: left;
    height: 60px;
    line-height: 60px;
    margin: 0;
    border-bottom: 2px solid transparent;
    color: #909399;
}

.el-menu--horizontal>.el-menu-item a, .el-menu--horizontal>.el-menu-item a:hover {
    color: inherit;
}

.el-menu--horizontal .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal .el-menu-item:not(.is-disabled):hover {
    outline: 0;
    color: #bfcbd9;
}

.el-menu--horizontal>.el-menu-item.is-active {
    border-bottom: 2px solid #409eff;
    color: white;
    background-color: #409eff;
}

.el-menu-item {
    height: 56px;
    line-height: 56px;
    position: relative;
    -webkit-box-sizing: border-box;
    white-space: nowrap;
    list-style: none;
}

.el-menu-item {
    font-size: 14px;
    color: #bfcbd9;
    cursor: pointer;
    -webkit-transition: border-color .3s, background-color .3s, color .3s;
    transition: border-color .3s, background-color .3s, color .3s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.el-menu-item * {
    vertical-align: middle;
}

.el-menu-item:focus, .el-menu-item:hover {
    outline: 0;
    background-color: #ecf5ff;
}

.el-menu-item.is-active {
    color: #409eff;
}

.el-menu--horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.el-menu--horizontal>.el-menu-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    height: .46rem;
    text-align: center;
    line-height: .46rem;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.table_title {
    font-size: .15rem;
    color: #fff;
    width: 1rem;
    height: .25rem;
    line-height: .25rem;
    background: #108ae0;
    border-radius: 0 .1rem 0 0;
    text-align: left;
    padding-left: .2rem;
}

.mustlook table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    font-size: .15rem;
}

.mustlook tr td {
    width: 50%;
    color: #323232;
    text-align: center;
    padding: .08rem 0;
}

.mustlook tr:nth-child(2n-1) {
    background: #f2f9ff;
}

.mustlook tr i {
    font-style: normal;
    width: .42rem;
    display: inline-block;
    color: #ff5722;
}

.redball {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    background: #1089e0;
    border-radius: 50%;
    font-size: 14px;
}

.btn {
    background: #c62d1f;
    background-image: -webkit-linear-gradient(top, #c62d1f, #f24437);
    background-image: -moz-linear-gradient(top, #c62d1f, #f24437);
    background-image: -ms-linear-gradient(top, #c62d1f, #f24437);
    background-image: -o-linear-gradient(top, #c62d1f, #f24437);
    background-image: linear-gradient(to bottom, #c62d1f, #f24437);
    border-radius: 5px;
    text-shadow: 0px 1px 0px #810e05;
    -webkit-box-shadow: 3px 4px 0px 0px #8a2a21;
    -moz-box-shadow: 3px 4px 0px 0px #8a2a21;
    box-shadow: 3px 4px 0px 0px #8a2a21;
    color: #fff;
    font-size: 16px;
    padding: 5px 15px;
    border: solid #d02718 1px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 10px;
}

/* 针对滚动条样式的设置 */
::-webkit-scrollbar {
    width: 1px;  /* 设置滚动条宽度为1px */
    height: 1px; /* 水平滚动条宽度 */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);  /* 设置半透明滚动条 */
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);  /* 滚动条轨道的背景颜色 */
    border-radius: 10px;
}



 canvas{display:inline-block;vertical-align:baseline;}
@media print{
    *{text-shadow:none!important;color:#000!important;background:transparent!important;box-shadow:none!important;}
    img{page-break-inside:avoid;}
    img{max-width:100%!important;}
}
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
.top-head{width:100%;}
.top-title{font-size:18px;color:#fff;margin-top:-7.5%;}
.top-title span{color:#ffdf2c;}
.top-qibg{margin-top:-36%;text-align:center;}
.top-qibg img{width:60%;}
.center{margin-top:12%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;}
.center-diban{width:100%;}
.center-lo{width:100%;position:absolute;max-width:500px;z-index:99;}
.center-data{font-size:0.5rem;position:absolute;display:flex;}
.center-num{font-size:40px;border:1px solid #ccc;width:60px;height:60px;text-align:center;line-height:60px;border-radius:50%;margin:0 0.1rem;}
.center-sum{font-size:40px;line-height:50px;}
.foot{margin-top:-3%;padding-top:5%;padding-bottom:9%;background-color:#f83b44;text-align:center;}
.foot-nt{width:94%;margin-bottom:0.2rem;}
.foot-data{font-size:16px;color:#fff;margin-top:-13%;display:flex;justify-content:space-evenly;line-height:0rem;}
.foot-data span{color:#ffdf2c;}
.foot-refrash{border:none;color:#f96f56;height:30px;line-height:30px;width:80px;border-radius:15px;background:linear-gradient(#fffbfb, #fedcdc);font-size:14px;margin-top:-3%;}
.mipai{display:flex;position:fixed;flex-wrap:wrap;align-items:center;justify-content:center;width:100vw;height:100vh;opacity:0;left:0;top:0;z-index:-1;}
.mipai img{border:0;vertical-align:middle;display:inline;}
.mipai-bg{position:fixed;width:100vw;height:100vh;z-index:999;background-color:rgba(0, 0, 0, 0.8);}
.mi-index{max-width:500px;margin:0 auto;z-index:9999;}
.mi-close{margin-top:20px;text-align:center;}
.mi-close img{width:40px;}


 .container {
     /*max-width: 600px;*/
     margin: 0 auto;
     padding: 5px;
     background-color: #fff;
 }

.sectionYiLou {
    margin-bottom: 5px;
    border-radius: 10px;
    border: 1px solid #40afe4;
    overflow: hidden;
}

.section-header {
    background-color: #00c7f7;
    background: linear-gradient(90deg, #335397, #4977d6);
    color: white;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.section-content {
    /* background-color: #f0f8ff; */
    padding: 0;
}

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

.row:nth-child(odd) {
    /* background-color: #f0f8ff; */
}

.row:nth-child(even) {
    /* background-color: #fff; */
}

.cell {
    flex: 1;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cell span:nth-child(1){
    color: #5b5b5b;
    font-weight: bold;
    margin-right: 10px;
}

.cell-left {
    border-right: 1px solid #d6d6d6;
}

.number {
    color: #ff6600;
    font-weight: bold;
}

.red-number {
    color: #ff3300;
    font-weight: bold;
}

.black-number {
    color: #000;
}

.period {
    color: #666;
    margin-left: 5px;
}

.ratio {
    display: flex;
    align-items: center;
}

.circle-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #507ddb;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
}

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

.point-row:nth-child(odd) {
    background-color: #f0f8ff;
}

.point-row:nth-child(even) {
    background-color: #fff;
}

.point-cell {
    flex: 1;
    padding: 10px;
    display: flex;
    align-items: center;
}

.point-cell span:nth-child(1) {
    color: #5b5b5b;
    font-weight: bold;
    font-size: larger;
}


 .gg {    box-shadow: 0 .02rem .04rem rgba(0, 0, 0, .12), 0 0 .06rem rgba(0, 0, 0, .04); }


 .pagination {
     display: flex;
     justify-content: space-evenly;
     margin: 20px 0;
 }
.pagination a, .pagination span {
    text-decoration: none;
    border-radius: 50%;
    color: white;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: #b3b3b3;
}
.pagination .current {
    font-weight: bold;
    background: #335397;
}


 .keno {
     max-width: 1200px;
     margin: 5px;
 }

.lottery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

/* PC端布局 - 宽屏显示多列 */
@media (min-width: 768px) {
    .lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .lottery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lottery-item {
    background: linear-gradient(180deg, #092f5c, #6187ad);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 号码网格 */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
    background: #0d3360;
    border-radius: 8px;
    overflow: hidden;
}

.number-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.number-cell:hover {
    transform: scale(1.05);
}

.number-cell.selected-blue {
    background: #4a90e2;
    color: white;
}

.number-cell.selected-red {
    background: #e74c3c;
    color: white;
}

/* 计算面板 */
.calculation-panel {
    color: white;
    padding: 5px;
    border-radius: 12px;
    text-align: center;
}

.period-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.equation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.number-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.number-circle.result {
    background: #e74c3c;
    border-color: #e74c3c;
}

.operator {
    font-size: 24px;
    font-weight: bold;
}

/* 计算过程面板 */
.process-panel {
    /*background: linear-gradient(135deg, #34495e, #2c3e50);*/
    color: white;
    padding: 5px;
    border-radius: 12px;
}

.process-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.process-item {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 14px;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .lottery-item {
        padding: 15px;
    }

    .number-cell {
        font-size: 12px;
    }

    .period-title {
        font-size: 24px;
    }

    .number-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .operator {
        font-size: 20px;
    }
}
