@charset "utf-8";
@import url("style.css");
/* CSS Document */
html, body {
    font-family: 'Microsoft YaHei', Arial, Helvetica, sans-serif; ΢���ź�;
    color: #fff;
    font-size: 14px;
}
html{
    background: #F4F4F4;
    background-attachment: fixed;
}
body{
    max-width: 720px;
    margin:0 auto;
/*    overflow-x: hidden;*/
}
/*div, span, iframe, map, font, input, img, a img, samp, hr, h1, h2, h3, h4, h5, h6, p, blockquote, a, address, code, dl, dt, dd, ol, ul, li, form, label, table, tr, td, th {

    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}*/

* {
    padding: 0;
    
    border: 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

ol, ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #FF0000;
}

a:active {
    text-decoration: none;
}

a:focus {
    outline: none;
}

a.hidefocus {
    outline: none
}



input[type=text], input[type=button], input[type=submit] {
    -webkit-appearance: none;
    outline: none;
}




button {
    border: 0;
    outline: none;
    cursor: pointer;
}
input{outline:none}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
table{
    table-layout: fixed;
    width: 100%;
}
.tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 10px;
    background: #f0f0f0;
}
.tab {
    padding: 6px 12px;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 4px;
    text-align: center;
}
.tab.lottery_5.active {
    background-color: #1fb61d;
    color: white;
}
.tab.lottery_1.active {
    background-color: #e71607;
    color: white;
}

/* 外观 */
.qs-wrap{display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif}
.qs-box{order:0;background:#e4b13e;padding:12px;border-radius:12px}
.qs-inner{display:flex;flex-direction:column;gap:12px}

/* 标签栏 */
/* 标签栏：改成横向滚动，不换行 */
.qs-tabs{
  order:-1;
  background:#2f3f57;
  padding:16px;
  border-radius:16px;
  display:flex;
  gap:16px;
  flex-wrap:nowrap;           /* 不换行 */
  overflow-x:auto;            /* 横向滚动 */
  overflow-y:hidden;
  -webkit-overflow-scrolling: touch; /* iOS 惯性滚动 */
  scroll-snap-type:x proximity;       /* 贴边对齐，手感更好（可选） */
}

.qs-tabs::-webkit-scrollbar{height:8px}
.qs-tabs::-webkit-scrollbar-thumb{background:#9db4ff;border-radius:999px}
.qs-tabs{scrollbar-width:thin} /* Firefox */

.qs-pill{
  flex:0 0 auto;              /* 固定宽度，参与横向滚动 */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 28px;
  border-radius:999px;
  background:#d7e7ff;
  color:#173b6f;
  font-weight:800;
  cursor:pointer;
  scroll-snap-align:start;    /* 跟上面的 scroll-snap 配合（可选） */
}

/* 隐藏单选（不要求是直系子元素） */
.qs-inner input[type=radio]{position:absolute;left:-9999px}

/* 面板区域 */
.qs-panel{display:none;border:1px solid #eaeaea;background:#fff;border-radius:12px;overflow:hidden}

/* 表格风格（富文本里直接改 <td> 文本） */
.qs-panel table{width:100%;border-collapse:collapse}
.qs-panel th,.qs-panel td{padding:12px 10px;border-bottom:1px solid #eee}
.qs-panel th{width:72px;text-align:center;font-weight:800;background:#fff}
.qs-panel td{background:#101010;color:#fff}
.qs-panel tr:last-child th,.qs-panel tr:last-child td{border-bottom:none}

/* ——切换逻辑—— */
/* 显示被选中的面板：要求 input 紧跟着对应 .qs-panel */
.qs-inner input[type=radio]:checked + .qs-panel{display:block}

/* 高亮对应 pill（.qs-tabs 在后面，用 ~ 通配同级任意后序兄弟） */
/* 214 */
#qs214:checked ~ .qs-tabs label[for="qs214"],
#qs214:checked ~ * .qs-tabs label[for="qs214"],
#qs214:checked ~ * * .qs-tabs label[for="qs214"],
#qs214:checked ~ * * * .qs-tabs label[for="qs214"] { background:#4c8df7;color:#fff; }

/* 213 */
#qs213:checked ~ .qs-tabs label[for="qs213"],
#qs213:checked ~ * .qs-tabs label[for="qs213"],
#qs213:checked ~ * * .qs-tabs label[for="qs213"],
#qs213:checked ~ * * * .qs-tabs label[for="qs213"] { background:#4c8df7;color:#fff; }

/* 212 */
#qs212:checked ~ .qs-tabs label[for="qs212"],
#qs212:checked ~ * .qs-tabs label[for="qs212"],
#qs212:checked ~ * * .qs-tabs label[for="qs212"],
#qs212:checked ~ * * * .qs-tabs label[for="qs212"] { background:#4c8df7;color:#fff; }

/* 211 */
#qs211:checked ~ .qs-tabs label[for="qs211"],
#qs211:checked ~ * .qs-tabs label[for="qs211"],
#qs211:checked ~ * * .qs-tabs label[for="qs211"],
#qs211:checked ~ * * * .qs-tabs label[for="qs211"] { background:#4c8df7;color:#fff; }

/* 210 */
#qs210:checked ~ .qs-tabs label[for="qs210"],
#qs210:checked ~ * .qs-tabs label[for="qs210"],
#qs210:checked ~ * * .qs-tabs label[for="qs210"],
#qs210:checked ~ * * * .qs-tabs label[for="qs210"] { background:#4c8df7;color:#fff; }

@media (max-width:480px){.qs-panel th{width:64px}}
