a {
  text-decoration: none;
}
html {
  box-sizing: border-box;

  padding: 0;
  margin: 0;
}
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
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;
}
p {
  margin: 0;
  padding: 0;
}

@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");
}

.p16 {
  padding: 16px;
}

.p8 {
  padding: 8px;
}

.p4 {
  padding: 4px;
}
.mt16 {
  margin-top: 16px;
}
.mt8 {
  margin-top: 8px;
}
.mt4 {
  margin-top: 4px;
}
.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: 1460px;
  margin: 0 auto;
  transition: 0.3s ease;
}

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

.header {
  display: flex;
  height: 100%;
  height: 60px;

  align-items: center;
  justify-content: center;
  position: relative;
}
.header .nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
}
.header .nav .item {
  height: 32px;
  line-height: 32px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
}
.header .nav .item.active {
  background-color: #ffffff;
  color: #007bff;
  font-weight: bold;
}
.header .nav a {
  color: #fff;
}
.header .back {
  position: absolute;
  left: 10px;

  height: 60px;
  top: 0;
}
.header .back a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: #fff;

  font-weight: 500;
}
.header .back a svg {
  width: 20px;
  height: 20px;
}
.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 {
  height: calc(100vh - 60px);
  overflow-y: auto;
}

/* 公共 */
.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;
}

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

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

.live-container-box.lanqiu-bg {
  min-height: 320px;
  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;
  padding: 8px;
}

.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;
  margin-top: 16px;
}

.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%;
}

@media (max-width: 768px) {
  .match-statistics .data {
    flex-direction: column;
    align-items: center;
  }
}

.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;
}

/* 直播组件 */

.match-box .match-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-box .match-title h2 {
  font-size: 18px;
}
.match-list {
  display: flex;
  flex-direction: column;
}

.match-item {
  display: flex;
  background-color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}
.match-item .match-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.match-item .match-info .league-info {
  font-size: 14px;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
}
.match-item .match-info .match-time {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  width: 120px;
  text-align: center;
}
.match-item .match-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.match-item .match-main .team-info {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 200px;
}

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

.match-item .match-main .team-info .team-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 150px;
}
.match-item .match-main .team-info.home {
  flex-direction: row-reverse;
}
.match-item .match-main .team-info.home .team-name {
  text-align: right;
}
.match-item .match-main .match-status {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.match-item .match-main .match-status .match-score {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  font-family: "DinBold";
}
.match-item .match-main .match-status .state {
  background-color: #f9f9f9;
  font-size: 12px;
  width: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2px 0;
  min-height: 20px;
}
.match-item .match-main .match-status .state .match-time {
  position: relative;
  color: #333;
}
.match-item .match-main .match-status .state .stage{
  color: #666;
  font-size: 12px;
}

.match-item .match-other {
  text-align: right;
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.match-item .match-other .live-state {
  font-size: 14px;
  color: #999;
  width: 80px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.match-item .match-other .live-state.live {
  background-color: #eaf2ff;
  color: #007bff;
}
.match-item .match-other .live-state.upcoming {
  border: 1px solid rgba(0, 123, 255, 0.2);
  color: rgba(0, 123, 255, 0.7);
  background-color: transparent;
}
.match-item .match-other .live-state.over {
  background-color: #f5f5f5;
  color: #999;
}

@media (max-width: 768px) {
  .match-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .match-item .match-info {
    width: 100%;
    justify-content: space-between;
  }
  .match-item .match-main .team-info {
    width: 100%;
  }
  .match-item .match-main .team-info .team-name {
    width: 80px;
  }
  .match-item .match-other {
    width: 100%;
    justify-content: center;
  }
}

.zhibo-container {
}

/* 公共内容盒 */
.container-block-box {
  border-radius: 8px;
  overflow: hidden;

  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: #f1452c;
  color: #fff;
}

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

  font-size: 14px;
}

.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;
}
