html,body{ font-size: 14px;background-color: #f5f5f3;margin: 0; height: 100%;   color: #000;}   
.container{ 
    width: 100%;
    max-width: 800px; /* 超过就限制 */
    margin: 0 auto;    /* 居中 */
    padding: 0;
    background-color: #fff;    
    padding-top:60px ;
    min-height: 500px;
    
 
}

.bg{background-color: #eeeeee;}
.bg2{ background-color: #ffffff;} 
#data-table  tbody td {height: 42px;}
#data-table {
    width: 100%;;
    border-collapse:  collapse;
    margin: 0;
    padding: 0;
    table-layout: fixed; /*关键：固定布局，按比例缩放 */
    border-left: 1px solid #DBDDF7;
    border-right: 1px solid #DBDDF7;

}

#data-table thead td {
    background-color: #004080;           
    color: #fff; 
}
.fl{color:#fff !important;}
.pBtn{ cursor: pointer;  color: #ff5722; text-decoration: none;   }
.total{     
     position: relative;
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
    background-color: #ff5722;
    color: #fff;
    border-radius: 2px;
}
.search-box {
    margin: 15px 0;
}
.lanSet{ cursor: pointer; 
width: auto;
    height: 22px;
    display: inline-block; 
    background: #fff;
    line-height: 22px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2px;;
    margin-left: 1px;;

}
.lanSet span{color: #8c8c8c;line-height: 22px; height: 22px;padding: 0 8px; display: inline-block;}
.lanSet span:hover{color: #555;}
.lanSet .sel{    background: #eee;
    color: #555;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14);}


.bf{color: #0000FF; font-weight: bold;}
.bf span{font-weight: normal; font-size: 10px; display: block; color: #FF0000 ;}

.tabs-header {
    display: flex;             /* 启用 flex 布局 */
    justify-content: space-around; /* 让空隙按比例平均 */
    flex-wrap: nowrap;             /* 禁止换行 */
    flex-wrap: nowrap;         /* 禁止换行 */
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #eee;
    font-size: clamp( 16px, 2.5vw,18px); /* 根据屏幕宽度自动缩放字体 */
    background-color: #fff; 
 
  
}
.tabs-header li {
    flex: 0 1 auto;               /* 宽度根据内容自适应 */
    padding: 10px 1.5vw;           /* 使用相对单位，随屏幕缩放 */
    display: inline-block;
    vertical-align: middle;
    margin: 0 !important; 
    text-align: center;
    cursor: pointer;
}
.tabs-header li.sel {
    color: #0000FF; font-weight: bold;
    border-bottom: 3px solid #0000FF;
}



.odds {color: #C0C0C0; display: flex;}
.odds .yq{flex: 1; text-align: right; }
.odds .img{ text-align: center; width: 80px;; }
.odds .img img{vertical-align: bottom;}
.odds .ds{flex: 1; text-align: left; }
.szp,.sdzp,.skp,.sdkp{color: #A05050;}
.spk,.sdpk{color: #333333;}
.odds .tv{ width: 89px;}
.cf{color: #FF00FF;}
.xf{color:#FF0000;}
.xb{color:blue;}
.oddstr td{height: 26px !important;    }
.nba{display: flex;   align-items: center;   }
.nba div{height: 42px; align-items: center; display: flex;  }

.nba .home{flex: 1;justify-content: right; }
.nba .away{flex: 1; ; ; }
.nba  .bf{width: 70px; justify-content: center; }

.home{ text-align: right;}
.away{ text-align: left;}
.home span,.away span{font-size: calc(14px + 0.2vw);}
.bf{cursor: pointer; }
.bf_h{font-size:12px;font-family:Arial;color:#FF0000}
.tools{ display: flex; padding-top: 6px; margin-bottom: 1px;; background-color: #fefefe;}
.tools label{ height: 23px; line-height: 23px; margin-left: 5px;display: inline-flex; align-items: center;  }
.tools label input{ vertical-align: middle;    margin: 0;padding: 0;  }
.r_color {
    FONT-SIZE: 8pt;
    COLOR: #ffffff;
    FONT-FAMILY: Verdana;
    BACKGROUND-COLOR: #ff0000;
    margin-left: 2px;
}
 
.y_color {
    FONT-SIZE: 8pt;
    COLOR: #993300;
    FONT-FAMILY: Verdana;
    BACKGROUND-COLOR: #FFDE00;
    margin-left: 2px;
}
.play sup{font-size: 10px;color: #555;FONT-FAMILY: Verdana;}
 

/* 响应式设计 */
@media (max-width: 768px) { 
    .odds .img{ text-align: center; width: 50px; }
    .odds  .rw{width: 60px;}
    /* .odds .tv{ width: 48px;} */
    #data-table {
        table-layout: auto;
    }
    .container{ padding-top: 48px;;}
    /* .tabs-header-mobile{ top: 48px;} */
    .time_wk{font-size:10px;font-family:Arial}
}


/* 遮罩层 */
#iframe-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 弹窗容器 */
.popup-box {
  background: #fff;
  width: 98%;
  max-width: 800px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  
}

/* 头部栏 */
.popup-header {
 
  color: #111;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  position: relative;
  line-height: 35px;
}

/* 关闭按钮 */
.popup-close {
  position: absolute;
  right: 10px;
  top: 5px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 40px;
  cursor: pointer;
  width: 60px;;
}

/* iframe区域 */
.popup-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}
.AddHome{ flex:1; color:#3762fe;line-height: 23px; text-align: right;padding-right: 10px;}
.AddHome span{ cursor: pointer; }
.AddHome font{cursor: pointer; font-weight: bold; font-size: 15px;  }
.AddHome i{ margin-right: 2px;font-size: 18px;}
.botm {
  text-align: center;
  background: #fff;
  width: 100%;
  height: 90px;
line-height: 28px;
}
/* 响应式设计 */
@media (max-width: 390px) { 
     body{font-size: 12px;}
    .odds .img{ text-align: center; width: 50px; }
    .odds  .rw{width: 60px;}
    /* .odds .tv{ width: 48px;} */
    .tabs-header {font-size: 14px;;}
    #data-table {
        table-layout: auto;
    }    
    .lanSet span{padding: 0 5px;}
    .home span, .away span {font-size: 12px;;}
    .AddHome font {font-size: 12px;}
    .AddHome i {font-size: 16px;}
    
}
