* {
  box-sizing: border-box;
  --main-color: #1e293b; /* 主色：高级深藏青（代替原来的大红） */
  --secondary-color: #3b82f6; /* 强调色：活力蓝（代替原来的深绿） */
  --third-color: rgb(46,37,37);
  --qjfeqoije: ;
}

html { scroll-behavior: smooth; }
body { flex-direction: column; max-height: 100vh; }

.dateheader {
    width: 100%;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 0px;
    margin: 5px 0%;
    background-color: #e2e8f0; /* 极浅灰蓝背景 */
    color: var(--main-color);
    font-weight: 700;
    font-size: 16px;
}
/* 顶部导航栏 */
header {
    background-color: var(--main-color); /* 深藏青 */
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

.nav-container { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 10px; justify-content: space-between; }
.nav-menu a.active { background-color: #fff; color: var(--main-color); }
.logo { font-size: 28px; font-weight: bold; color: #fff; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; margin-left: 25px; }
.nav-menu a { color: #fff; font-size: 16px; transition: color 0.3s, background-color 0.3s; padding: 10px 15px; display: block; border-radius: 4px; }
.nav-menu a:hover { background-color: var(--secondary-color); color: #fff; }

/* 二级导航 */
.sub-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--main-color); list-style: none; padding: 10px 0; margin: 0; min-width: 180px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); border-radius: 4px; }
.sub-menu li { margin: 0; }
.sub-menu a { padding: 10px 15px; font-size: 14px; }
.nav-menu li:hover .sub-menu { display: block; }

.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: #fff; }
#hot_league { margin: 5px; }
.header_newnav { width: 1200px; display: flex; align-items: center; background: #ffffff; margin: 0 auto; }
.headline { display: flex; align-items: center; margin-right: 50px; }

.has-submenu > a::after { content: "▼"; font-size: 12px; margin-left: 8px; transition: transform 0.3s ease; }
.has-submenu:hover > a::after { transform: rotate(180deg); }
#newNav { display: flex; flex-wrap: wrap; padding: 10px 10px; }
.teamslists{padding-right: 15px;}

@media (max-width: 768px) {
    .nav_reg, .header_newnav, .focus { width: 100%; }
    .headline { margin-right: 0; overflow: auto; padding: 4px; }
    #newNav { flex-wrap: nowrap; white-space: nowrap; overflow: auto; }
    .nav-menu { display: none; flex-direction: column; background-color: var(--main-color); position: absolute; top: 60px; left: 0; right: 0; padding: 20px; }
    .nav-menu.active { display: flex; z-index: 1000; }
    .nav-menu li { margin: 10px 0; }
    .menu-toggle { display: block; }
    .container { flex-direction: column; }
    .sub-menu { position: static; display: none; background-color: rgba(255,255,255,0.1); padding-left: 20px; }
    .nav-menu li:hover .sub-menu { display: none; }
    .nav-menu li.active .sub-menu { display: block; }
    .has-submenu > a::after { content: "▶"; }
    .has-submenu.active > a::after { content: "▼"; }
}

.flex2 {display:flex; align-items:center; justify-content:center; flex-wrap:wrap; flex-direction: column;}
.flex2 h2{font-size:16px}
.flex2 img{width:75px;}
.xinhao{margin: 10px; font-size: 16px; font-weight: bold;}

.forms-grid { align-items: center; display: flex; justify-content: center; margin: 40px auto; max-width: 1200px; width: 100%; }
.btn { align-items: center; background: var(--main-color); border-radius: 6px; border: 0; color: #fff; cursor: pointer; display: flex; font-size: 16px; padding: 15px 45px; transition: 0.2s; font-weight: 600; }
.btn:hover { background: var(--secondary-color); transform: translateY(-2px); }

.register, .login { border-radius: 5px; box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1); height: auto; max-width: 400px; padding: 40px 15px; text-align: center; width: 100%; background: #fff; }
.register .fas, .login .fas { color: var(--secondary-color); font-size: 30px; margin-bottom: 5px; }
.register strong, .login strong { color: #3b3663; display: block; font-size: 28px; }
.register span, .login span { color: #696687; font-size: 18px; opacity: 0.8; }
.register { margin-left: 30px; }
.register .form-password:focus, .register .form-text:focus, .login .form-password:focus, .login .form-text:focus { background-size: 100% 2px, 100% 1px; outline: none; }

#login_btn { color: white; margin-right: 10px; }
.text-white { color: white; }
.pb-10px { padding-bottom: 10px; }
.cursor-pointer { cursor: pointer; }
a { text-decoration-line: none; color: unset; }
h3 { margin: 0; }
ul { padding-left: 0; margin: 0; }
.login_btn { margin-left: 10px; }
.iconfont { color: #999999; }
.search_div { }
.overflow-y-auto { overflow-y: auto; }
#page_content { min-height: calc(100vh - 320px); }
.ml-10px { margin-left: 10px; }
.ml-30px { margin-left: 30px; }
li { list-style-type: none; }
.mr-10px { margin-right: 10px; }
img { display: block; }

.site_container { width: 100%; margin: 0 auto; color: var(--third-color); font-weight: bold; max-width: 1200px; padding: 0 15px; }
.score { color: var(--secondary-color); }
.px-10px { padding-left: 10px; padding-right: 10px; }
.flex { display: flex; align-items: center; }
.bread_crumbs { margin: 10px 0; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-start { align-items: flex-start; }
.mt-10px { margin-top: 10px; }
.mt-30px { margin-top: 30px; }
.mtimg img{width:100%;}
.gap-10px { gap: 10px; }
.act p{ line-height: 30px; font-weight: 500; }
.flex-1 { flex-grow: 1; }
.hidden { display: none; }

header { -webkit-box-shadow: 0px 4px 10px -3px rgba(0, 0, 0, 0.35); -moz-box-shadow: 0px 4px 10px -3px rgba(0, 0, 0, 0.35); box-shadow: 0px 4px 10px -3px rgba(0, 0, 0, 0.35); }
header nav { align-items: center; justify-content: space-between; }
sidebar { min-width: 200px; border-radius: 20px; }
sidebar li h3 { color: var(--secondary-color); }
.sidebar_link { color: var(--main-color); font-size: 20px; line-height: 30px; width: 300px; border: 1px solid var(--main-color); border-radius: 5px; }

#tabs, #tab { display: flex; justify-content: space-between; border-bottom: 2px solid var(--main-color); margin-bottom: 10px; }
#tabs .tab_d, #tab > span { width: calc(100% / 3); color: var(--main-color); font-size: 30px; text-align: center; line-height: 50px; cursor: pointer; }
#tabs .tab_d.active, #tab > span.b47_YjM4_dGFiLWN1cnJlbnRw { background-color: var(--main-color); color: white; }

.content { width: 100%; }
.single-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
p { margin: 0; }
.right-side { width: 300px; }
.right-side > li { border: 1px solid var(--main-color); }
.right-side > li > h3 { background-color: var(--main-color); padding: 10px; color: white; }
.right-side > li > ul { padding: 10px; font-size: 14px; }

.fight { font-weight: bold; font-size: 14px; line-height: 1.5; }
.text-right { text-align: right; color: #ccc; }
.text-left { text-align: left; }
.hot-teams { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; }
.tab_content, .tab_content_block { display: flex; justify-content: space-between; flex-wrap: wrap; }
.tab_content_item { display: flex; justify-content: space-between; flex-direction: column; flex-wrap: wrap; width: 100%; text-align: center; border: 1px solid var(--main-color); align-items: center; border-radius: 10px; margin-bottom: 5px; }
.tab_content_item_head { background-color: var(--main-color); color: white; padding: 10px; width: 100%; border-top-left-radius: 10px; border-top-right-radius: 10px; }

.start { background-color: var(--secondary-color); color: white; padding: 5px; border-radius: 5px; display: inline-block; width: 120px; text-align: center; }
.end { background-color: #666; color: white; padding: 5px; border-radius: 5px; display: inline-block; width: 120px; text-align: center; }
.tab_content_item_content { padding: 10px; }
.MatchName { font-weight: bold; color: var(--secondary-color); display: block; }

footer { background-color: var(--main-color); margin-top: 30px; padding: 10px; line-height: 1.5; }

.team-item { border: 1px solid var(--main-color); width: 100%; text-align: center; padding: 10px 0; border-radius: 10px; color: var(--main-color); }
.news li { margin-bottom: 10px; }
.news li a { position: relative; }
.news li img { width: 100%; position: relative; }
.news li p { width: 100%; position: absolute; bottom: 0; background-color: rgba(0, 0, 0, 0.1); }

.cccc { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 10px; row-gap: 10px; }
.articale_section { display: flex; justify-content: space-between; color: var(--main-color); line-height: 2; align-items: end; border-bottom: 1px dashed var(--main-color); }
.articale_section dl { padding: 0 10px; }
.articale_section dl dt { font-weight: bold; color: var(--secondary-color); font-size: 18px; }
.articale_section img { min-width: 100px; }
.pagination { display: flex; justify-content: center; gap: 10px; }
.pagination > .active { color: var(--secondary-color); }
.bread_crumbs_pagination { display: flex; justify-content: space-between; align-items: center; }
.tab_link { color: white; }
.articale_section_date { text-align: right; color: #ccc; }

.w-full { width: 100%; }
.w-full1{ display: flex; justify-content: center; }
.hover{ }
.hover1{ display: flex; margin: 10px 0px; border-bottom: 1px solid var(--main-color); padding-bottom: 6px; }
.tab_content_item.w-full { width: 100%; padding: 10px; text-align: left; }
.articale-info { display: flex; justify-content: space-between; align-items: center; }
.text-999999 { color: #999999; }
#list li { margin-top: 10px; }
.py-20px { padding-top: 20px; padding-bottom: 20px; }

#type-list, #start-list, .b47_YjM4_bGl2ZV9kZXRhaWxw_tab, thead th { border-bottom: 2px solid var(--main-color); }
#start-list li { width: calc(100% / 3); text-align: center; line-height: 50px; }
#type-list li, .b47_YjM4_bGl2ZV9kZXRhaWxw_tab li { width: calc(100% / 4); text-align: center; line-height: 50px; }
.b47_YjM4_bGl2ZV9kZXRhaWxw_tab li.active, #type-list li.active, #start-list li.active, #date-list li.active { color: white; background-color: var(--main-color); }
#date-list { display: flex; gap: 10px; }
#date-list li { border: 2px solid var(--main-color); width: calc(100% / 9); text-align: center; }

.vs { width: 80px; display: inline-block; text-align: center; }
.round { width: 80px; margin-right: 4px; display: inline-block; }
.team { display: flex; align-items: center; width: 200px; }
.team img { width: 30px; height: 30px; margin: 0 5px; }
.reverse { flex-direction: row-reverse; }

.live_list { display: flex; justify-content: start; flex-wrap: wrap; gap: 10px; }
.live_list li { width: calc((100% / 3) - (10px * 2) / 3); border: 1px solid var(--main-color); padding: 10px; text-align: center; }
.live_list li span { text-align: left; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap { flex-wrap: wrap; }

.signal_list, .news_list, .year_list { display: flex; justify-content: start; align-items: start; flex-wrap: wrap; gap: 10px; flex-direction: column; }
.gap-0px { gap: 0px; }
.signal_list li, .year_list li { width: calc(100% / 5); border: 1px solid var(--main-color); padding: 10px; text-align: center; }
.signal_list li.active, .year_list li.active { background-color: var(--main-color); color: white; }
.text-center { text-align: center; margin: 0px 40px; }
.logo_img { width: 30px; height: 30px; }
.items-center { align-items: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

.live_team { display: flex; width: 100%; align-items: center; justify-content: start; }
.live_team img { width: 20px; height: 20px; margin-right: 5px; }
.live_teams { padding-bottom: 10px; position: relative; }
.live_teams::after { content: ""; position: absolute; width: 100%; border: 1px solid var(--main-color); }

.tag_data { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 10px; align-items: flex-start; flex-grow: 1; }
.tag_time { font-size: 14px; }
.tag_info_img { width: 120px; height: 80px; object-fit: cover; }
thead th { line-height: 30px; }
tbody tr { line-height: 30px; }
tbody tr:nth-child(odd) { background-color: #f9f9f9; }
.b47_YjM4_bG9nb19zdHlsZXA { width: 30px; height: 30px; display: inline; margin: 0 10px; }

.to_top { position: fixed; width: 40px; height: 40px; right: 30px; bottom: 80px; cursor: pointer; background: url(../images/top.png) no-repeat center #fff; background-size: 22px; transition: all 0.3s; z-index: 9999999; border: #ccc 1px solid; border-radius: 100%; }
.items-start { align-items: flex-start; }
.pc_only { display: block; }
.h5_only { display: none; }

.input_block { display: grid; column-gap: 10px; grid-template-columns: repeat(3, 1fr); }
.hot_team_list { display: grid; column-gap: 10px; row-gap: 10px; grid-template-columns: repeat(6, 1fr); }
.hot_team_list li { text-align: center; color: var(--main-color); line-height: 20px; border-radius: 5px; border: 1px solid var(--main-color); }
.hot_team_list li:hover { background-color: var(--main-color); color: white; }

.MatchNameItem { border-bottom: 1px solid var(--main-color); height: 40px; }
.MatchNameItem:hover { background-color: #f8f8f8; }
.hover:hover { background-color: #f8f8f8; cursor: pointer; }
#mask { position: fixed; background-color: rgba(0, 0, 0, 0.1); width: 100vw; height: 100vh; z-index: 1; }

.tab_link_content, .search_div { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); background-color: white; padding: 10px; border-radius: 5px; display: flex; color: var(--main-color); text-align: center; font-weight: bold; flex-direction: column; gap: 10px; }
.search_div { flex-direction: row; }

ul.flex.flex-row.flex-wrap.text-white.hot_games {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  text-align: left;
  color: var(--main-color);
  font-size: 14px;
  margin-top: 10px;
}

@media only screen and (max-width: 768px) {
  ul.flex.flex-row.flex-wrap.text-white.hot_games { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-top: 10px; }
  nav.site_container img { width: 100%; }
  .h5_only { display: block; }
  .pc_only { display: none; }
  header nav.site_container { flex-direction: row; padding: 0 15px; }
  header nav.site_container h2 { font-size: 20px; }
  .login_btn { width: 85px; }
  .text-right { min-width: 175px; }
  header { position: relative; }
  sidebar { display: none; position: fixed; top: 0; left: 0; text-align: center; padding: 10px; background: white; height: 100%; }
  sidebar ul li ul { display: flex; flex-wrap: wrap; }
  sidebar h3 { position: relative; display: flex; justify-content: center; align-items: center; }
  sidebar h3::after, sidebar h3::before { content: ""; width: 30%; height: 1px; background-color: var(--main-color); margin: 0 10px; }
  .sidebar_link { display: inline-block; line-height: 30px; }
  .hot_team_list { grid-template-columns: repeat(2, 1fr); }
  .bread_crumbs_pagination { flex-direction: column; align-items: flex-start; }
  #date-list { flex-wrap: wrap; gap: 0; }
  #date-list li { width: calc(100% / 3); }
  .pagination { flex-wrap: wrap; }
  .articale_section { flex-direction: column; }
  header > div { padding: 15px; }
  .site_container { flex-direction: column; margin: 30px 0 0; }
  .tab_links { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; column-gap: 10px; }
  .tab_links .cursor-pointer { margin-left: 0; }
  header .site_container { padding: 0; margin: 0; }
  .right-side { width: 100%; }
  .right-side h3 { text-align: center; }
  .right-side img { width: 100%; }
  .right-side .live_teams img { width: 20px; height: 20px; }
  .tab_content_item { width: 100%; }
  .articale_section.w-full { width: 100%; align-items: center; }
  .text-999999.single-ellipsis { max-width: 100%; white-space: unset; }
  .fqjweiofjoiw { max-width: 165px; }
  .MatchNameItem { flex-direction: column; height: 120px; padding-bottom: 10px; }
  .MatchNameItem .epjaifjpo { justify-content: center; }
  .MatchNameItem .epjaifjpo p:last-child { text-align: right; }
  .MatchNameItem .ddddddd { display: flex; flex-direction: column; }
  .tbox{ width: 48% !important; margin: 10px 1.5% 20px .5% !important; }
  .articale-info { flex-direction: column; align-items: flex-start; }
  header h1 { margin: 0; font-size: 24px; }
  .arc_content-h1 { font-size: 20px; }
  div[name="material_home_zq"] #tabs .tab_d { font-size: 18px; }
  div[name="tv_list"] .live_list li { width: 100%; }
  .signal_list .b47_YjM4_aXRlbV9pcA { width: 50%; }
  .cccc, .input_block { display: block; }
}

@media (max-width: 870px) {
  .forms-grid { flex-wrap: wrap; flex-direction: column; margin: 30px auto; }
  .register { margin-left: 0px; margin-top: 30px; }
}
@media (max-width: 480px) {
  a.brand-logo { font-size: 36px; line-height: 46px; }
}
@media (max-width: 415px) {
  a.brand-logo { font-size: 30px; line-height: 40px; }
}
@media (max-width: 384px) {
  section.forms { padding: 30px 15px; }
  .register, .login { padding: 35px 5px; }
  .register .form .form-row.bottom .forgot, .login .form .form-row.bottom .forgot, .register .form .form-row .form-check input[type="checkbox"] + label, .login .form .form-row .form-check input[type="checkbox"] + label { font-size: 17px; }
  .register strong, .login strong { font-size: 25px; }
  .register .fas, .login .fas { font-size: 25px; }
}

.app-site a{ padding: 10px; margin: 5px 20px 0 0; background: var(--main-color); color: #fff; border-radius: 6px; transition: transform 0.5s; animation: spring-animation 1s infinite alternate; display: inline-block; }

.match-recommend-box { width: 100%; margin-bottom: 15px; }
.match-recommend-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; }
.match-recommend-item { display: block; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; padding: 12px; transition: all .2s ease; }
.match-recommend-item:hover { border-color: var(--main-color); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.match-league-row { margin-bottom: 10px; }
.match-league-tag { display: inline-block; padding: 4px 10px; font-size: 12px; color: var(--main-color); background: #f1f5f9; border-radius: 20px; }
.match-recommend-team { display: flex; flex-direction: column; gap: 10px; }
.match-recommend-team-row { display: grid; grid-template-columns: 34px 1fr 36px; align-items: center; gap: 8px; }
.match-team-logo { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid #eee; }
.match-team-logo img { width: 100%; height: 100%; object-fit: cover; }
.match-team-name { font-size: 14px; color: #333; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-team-role { font-size: 12px; color: #999; text-align: right; }
.match-recommend-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eee; }
.match-status { display: inline-block; padding: 4px 10px; font-size: 12px; color: #fff; border-radius: 20px; }
.status-wait { background: #999; }
.status-live { background: var(--secondary-color); }
.status-end { background: #666; }
.match-time { font-size: 12px; color: #666; }
.match-recommend-empty { margin-top: 10px; padding: 16px 12px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; color: #999; text-align: center; }

.cue .tag-title .xinhaoyuan{ font-size: 18px; margin-bottom: 14px; }
.cue{ margin-bottom: 20px; display: inline-block !important; }
.match_info_btn{ color: var(--secondary-color); font-size: 20px; }

.box{ display: flex; flex-wrap: wrap; }
.tbox{ width: 24%; margin: 0px .5% 20px .5%; border: solid 1px #c7c7c7; border-radius: 10px; padding: 10px; margin-top: 16px; }
.tbox .tiaozhuan{ display: inline-block; background: #eff6ff; color: var(--secondary-color); padding: 4px 10px; border-radius: 10px; font-size: 12px; }
.tbox-title span{ color: #979797; float: right; }
.tbox-txt p{ margin: 14px 0px; }
.tbox-txt p img{ width: 20px; display: inline; }
.tbox-txt p span{ position: relative; top: -4px; }
.tbox-txt p b{ float: right; font-size: 12px; color: #979797; }

/* 新信号位样式 */
.live-signal-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; width: 100%; box-sizing: border-box; }
.signal-item { position: relative; width: 100%; box-sizing: border-box; }
.signal-tag { position: absolute; top: -8px; right: 12px; background: var(--secondary-color); color: #fff; font-size: 12px; padding: 1px 10px; border-radius: 20px; z-index: 2; white-space: nowrap; border: 2px solid #fff; letter-spacing: 1px; }
.signal-item a { display: block; text-align: center; padding: 10px 10px; border: 2px solid var(--secondary-color); border-radius: 16px; color: var(--main-color); font-size: 14px; font-weight: bold; text-decoration: none; background: #ffffff; letter-spacing: 1px; transition: all 0.3s ease; }
.signal-item-red a { background: var(--secondary-color); color: #fff; }
.signal-item a:hover { box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); transform: translateY(-2px); }

@media screen and (max-width: 768px) {
    .live-signal-wrap { grid-template-columns: 1fr; gap: 14px; }
    .signal-item a { font-size: 14px; padding: 12px 10px; }
    .signal-tag { top: -6px; right: 12px; font-size: 14px; }
}