blockquote,
body,
dd,
dir,
dl,
fieldset,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
menu,
ol,
optgroup,
p,
pre,
tbody,
td,
textarea,
tfoot,
th,
thead,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style-type: none;
  list-style-image: none;
}

a {
  text-decoration: none;
}

a:active {
  background-color: transparent;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  font-size: 14px;
  line-height: 1.8;
}

body,
button,
input,
select,
textarea {
  font-family: helvetica neue, arial, hiragino sans gb, stheiti,
    wenquanyi micro hei, \5FAE\8F6F\96C5\9ED1, \5B8B\4F53, sans-serif;
  -ms-text-autospace: ideograph-alpha ideograph-numeric ideograph-parenthesis;
  text-spacing: ideograph-alpha ideograph-numeric ideograph-parenthesis;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

.p16 {
  padding: 16px;
}

.p8 {
  padding: 8px;
}

.p4 {
  padding: 4px;
}

.mt16 {
  margin-top: 16px;
}
.mt8 {
  margin-top: 8px;
}
.mt4 {
  margin-top: 4px;
}

abbr,
acronym {
  border-bottom: 1px dotted;
  cursor: help;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

hr {
  box-sizing: content-box;
  height: 0;
}

mark {
  background-color: #d2e5ff;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monaco, menlo, consolas, courier new, courier, monospace;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: auto;
}

q {
  quotes: none;
}

q:after,
q:before {
  content: "";
  content: none;
}

small {
  font-size: 85.7%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

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

th {
  text-align: left;
}

table td,
table th {
  border: 1px solid #ddd;
  padding: 8px 10px;
}

table th {
  font-weight: inherit;
  border-bottom-width: 2px;
  border-bottom-color: #ccc;
}

img {
  border: 0 none;
  width: auto\9;
  height: auto;
  max-width: 100%;
  vertical-align: top;
  -ms-interpolation-mode: bicubic;
}

svg:not(:root) {
  overflow: hidden;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button,
input {
  *overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  *height: 13px;
  *width: 13px;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

textarea {
  overflow: auto;
  resize: vertical;
}

option:disabled:checked,
select:disabled option:checked {
  color: #d2d2d2;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input {
    line-height: normal !important;
  }
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #a9a9a9;
  opacity: 1;
}

label {
  cursor: pointer;
}

select[multiple],
select[size],
select[size][multiple] {
  border: 1px solid #aaa;
  padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

[draggable] {
  cursor: move;
}

dialog {
  border: 1px solid;
  padding: 0;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

dialog::-webkit-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

dialog::backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

body {
  -webkit-font-smoothing: antialiased;
  background-color: #f5f7fa;
  color: #333;
  font-family: "PingFang SC", miui, system-ui, -apple-system, BlinkMacSystemFont,
    Helvetica Neue, Helvetica, sans-serif;
}

@font-face {
  font-family: BinancePlexRegular;
  src: url("../font/BinancePlex-Regular.ttf");
}

@font-face {
  font-family: BinancePlexBold;
  src: url("../font/BinancePlex-Bold.ttf");
}

@font-face {
  font-family: DinBold;
  src: url("../font/DINPro-Bold.otf");
}

.empty-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  height: 50px;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  transition: 0.3s ease;
}

header {
  background-color: #007bff;
  height: 60px;
}

.header {
  display: flex;
  align-items: center;
  height: 100%;
  height: 60px;
}

.header .menu {
  margin-left: 32px;
}

.header .menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header .menu a {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 6px;
  min-width: 48px;
  text-align: center;
}

.header .menu a.active {
  background-color: #fff;
  color: #007bff;
}

.header .mobile-menu {
  display: none;
}

@media screen and (max-width: 1024px) {

  header,
  .header {
    height: 48px;
  }

  .header {
    justify-content: space-between !important;
  }

  .header .menu a {
    display: none;
  }

  .header .mobile-menu {
    display: block;
  }

  .header .menu.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .header .menu.responsive {
    position: fixed;
    top: 48px;
    z-index: 22;
    left: -32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #007bff;
    gap: 8px;
    padding: 8px 0;
  }

  .header .menu.responsive a {
    display: block;
    font-size: 14px;
    color: #fff;
  }

  .header .menu.responsive a.active {
    background-color: #fff;
    color: #007bff;

    border-radius: 6px;
  }
}

.footer {
  background-color: #ffffff;
  padding: 16px 0;
}
.footer a{
  color: #999;
  text-decoration: none;
}
.footer p {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 8px 0;
}

.app-page {
  margin: 16px 0;
}

/* 公共 */
.blinking-dot {
  position: absolute;
  top: 2px;
  right: -2px;
  width: 1.4px;
  height: 4px;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.blinking-dot.white {
  background-color: #fff;
}

.blinking-dot.black {
  background-color: #333;
}

/* 闪烁动画 */
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.title-icon {
  padding-left: 10px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAABCCAYAAACIEIz4AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAD6ADAAQAAAABAAAAQgAAAACnVUfxAAAA/klEQVRIDe2WMQ7CMAxFnah07lquwAm4QG/AwMIFOEC3DmycgL0b3ISLkI0NIRVQiFErmirFbhm62FIku/Grv36jKmqxsvFzBjsFsAGA1C0qjAUoowcUUQ3mFNHaT92g3HGg64mtPV6KnHatHKmhN6YIjw6BB1onholhpANySEiL/AYxzPeDrMQw0iK/YTrDIl8Ir5q/DGxvBxgEx7aC9f3k1hEwZ8PL6vyZhlObIOFGIsLd6IW7Ersg1kE4JJGEf0nshTkSgzBXYghWlyxz99BxMd3ZlskDv5gYJoaRDvx9SL5/cXKW12C0srb0HjEL5PQ1SQqX7B3DVWCwH7k3ZwhZjbtFSZ4AAAAASUVORK5CYII=);
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: 4px 18px;
}

/* 公共左右布局 */

.page-container {
  display: flex;
  justify-content: space-between;

}

.page-container .container-left {
  width: 870px;
  transition: 0.3s ease;
}

.page-container .container-right {
  width: 314px;
  transition: 0.3s ease;
}

/* 公共内容盒 */
.container-block-box {
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 16px;
  width: 100%;
}

.container-block-box .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;

  padding: 0 10px;
  border-bottom: 1px solid #f6f6f6;
}

.container-block-box .title h2 {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  display: flex;
  justify-items: center;
}

.container-block-box .title h2 em {
  font-style: normal;
}

.container-block-box .title .tabs {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 24px;
  overflow: hidden;

}

.container-block-box .title .tabs .item {

  height: 32px;
  width: 56px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.container-block-box .title .tabs .item.active {
  background-color: #007bff;
  color: #fff;
}

.container-block-box .content-box {
  background-color: #fff;
}


@media (max-width: 1024px) {

  .page-container {
    flex-direction: column;
    align-items: center;
  }

  .page-container .container-left {
    width: 100%;
  }

  .page-container .container-right {
    display: none;
  }

  .wrapper {
    width: 98%;
  }

}




/* 热门联赛 */

.hot-league-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  overflow: hidden;
  padding: 10px;
}

.hot-league-list .item a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hot-league-list .item a .img {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hot-league-list .item a .img img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}

.hot-league-list .item a .name {
  font-size: 12px;
  color: #333;
  font-weight: 500;
  margin-top: 4px;
}

/* 热门联赛 */
/* 比赛项 */
.live-match-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 60px;
  border-bottom: 1px solid #f6f6f6;
  position: relative;
  transition: background-color 0.3s;
}

.live-match-card__link:hover {
  background-color: #f9f9f9;
}

.live-match-card__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-match-card__time {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.live-match-card__league {
  font-size: 12px;
  color: #666;
  font-weight: 400;
  width: 80px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 16px;
}

.live-match-card__main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.live-match-card__team {
  display: flex;
  align-items: center;
  width: 200px;
  gap: 8px;
}

.live-match-card__team-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.live-match-card__img {
  height: 26px;
  max-width: 26px;
  object-fit: cover;
}

.live-match-card__team--home {
  flex-direction: row-reverse;
}

.live-match-card__score-box {
  display: flex;
  align-items: center;
  width: 180px;
}

.live-match-card__status {
  background-color: #f1f1f1;
  width: 100px;
  font-size: 12px;
  color: #333;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  min-height: 24px;
}

.live-match-card__match-time {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #444;
  flex-direction: column;

}



.live-match-card__score {
  font-family: "DinBold";
  font-size: 16px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}





.live-match-card__labels {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-match-card__label {
  min-width: 60px;
  height: 26px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.live-match-card__label--live {
  background-color: #eaf2ff;
  color: #007bff;
}

.live-match-card__label--upcoming {
  border: 1px solid rgba(0, 123, 255, 0.2);
  color: rgba(0, 123, 255, 0.7);
  background-color: transparent;
}

.live-match-card__label--ended {
  background-color: #f9f9f9;
  color: #333;
}

/* 响应式处理 */
@media (max-width: 1024px) {
  .live-match-card__link {
    height: 80px;
  }

  .live-match-card__score-box {
    display: none;
  }

  .live-match-card__main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 130px;
    left: 54%;
  }

  .live-match-card__team--home {
    flex-direction: row;
  }

  .live-match-card__team {
    width: 100%;
    justify-content:left;
    gap: 5px;
  }
}

/* 比赛项 */





/*直播组件*/
.live-container-box {
  display: flex;
  flex-direction: column;
}

.live-container-box.zuqiu-bg {
  border-radius: 8px;
  height: 300px;
  background-image: url("../img/zuqiu-bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.live-container-box.lanqiu-bg {
  border-radius: 8px;
  height: 300px;
  background-image: url("../img/lanqiu-bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.live-container-box .match-live {
  flex: 1;

  height: 250px;
  display: grid;
  grid-template-columns: 40% 20% 40%;
  justify-items: center;
  align-items: center;


}

.live-container-box .match-live .team-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.live-container-box .match-live .team-info .team-logo {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-container-box .match-live .team-info .team-name {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  margin-top: 12px;
}

.live-container-box .match-live .match-live-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.live-container-box .match-live .match-live-status .league-name {
  font-size: 18px;
  color: #e7e7e7;
  font-weight: 500;
  height: 32px;
  width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}


.live-container-box .match-live .match-live-status .start-time {
  font-size: 14px;
  color: #e7e7e7;
  text-align: center;
  margin-bottom: 16px;
}


.live-container-box .match-live .match-live-status .match-status {
  width: 80px;
  background-color: rgba(120, 120, 120, 0.8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 26px;
  flex-direction: column;
}


.live-container-box .match-live .match-live-status .match-time {
  position: relative;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}
.live-container-box .match-live .match-live-status .match-state{
  font-size: 12px;
  color: #fff;
}


.live-container-box .match-live .match-live-status .score {
  font-size: 26px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  font-family: DinBold;
  display: flex;
  align-items: center;
  justify-content: center;
}





.match-statistics {
  align-items: center;
  display: flex;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.match-statistics .team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.match-statistics .data {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.match-statistics .data .vs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
}

.match-statistics .data .team .data-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.match-statistics .data .team .data-item span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  height: 30px;
  font-size: 14px;
  color: #fff;

}

.match-statistics .data .team .data-item span img {
  margin-right: 6px;
}

/* 直播组件 */



.zhibo-link-list {
  display: flex;
  flex-direction:row;
  flex-wrap: wrap;
  gap: 8px;
}
.zhibo-link-list .item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  padding: 4px 16px;
  background-color: #fff;
  border: 1px solid #007bff;
  font-size: 14px;
  color: #007bff;
  border-radius: 4px;
  
}



/* 联赛列表 */

.leagues-list {
  display: flex;
  align-items: center;
  justify-content:flex-start;
  flex-wrap: wrap;
  gap: 16px;
  overflow: hidden;
}
.leagues-list .leagues-item {
  width: calc(100% / 5 - 32px);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  padding: 8px;
}
.leagues-list .leagues-item a{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;


}

.leagues-list .leagues-item a .flag{
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leagues-list .leagues-item a .flag img{
  width: 80%;
  height: 80%;
  object-fit: cover;
}
.leagues-list .leagues-item a .alias{
  font-size: 12px;
  color: #999;

  margin-top: 4px;
}
.leagues-list .leagues-item a .name{
  font-size: 14px;
  color: #333;
  width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
  text-align: center;
}

.pages-box{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  justify-content: center;

  flex-wrap: wrap;
}

.pagination li {
  margin: 0 5px;
}

.pagination a,
.pagination span {
  display: block;
  padding: 4px 12px;
  color: #007bff;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.pagination li.active span {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  cursor: default;
}

.pagination li.disabled span {
  color: #ccc;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination a:hover {
  background-color: #f2f2f2;
}


@media (max-width: 1024px) {


  .leagues-list .leagues-item {
    width: calc(100% / 2 - 32px);
  }

}
