/* 赛程详情 - 比赛信息卡片（pq8sp 风格） */
.player-wrap.pq8sp-style {
  margin: 0 0 24px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.player-wrap .game-countdown {
  background: #0b0e13;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

/* 顶部信息栏：开赛时间 + 天气 */
.player-wrap .weather-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: linear-gradient(180deg, #12161d 0%, #0f1319 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.player-wrap .weather-bar .weather-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-left: auto;
}

.player-wrap .weather-bar .weather-item {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.player-wrap .weather-bar .weather-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: center / contain no-repeat;
  opacity: 0.9;
}

.player-wrap .weather-bar .weather-item:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd166'%3E%3Cpath d='M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z'/%3E%3C/svg%3E");
}

.player-wrap .weather-bar .weather-item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8a3d'%3E%3Cpath d='M15 13V5c0-1.66-1.34-3-3-3S9 3.34 9 5v8c-1.21.91-2 2.37-2 4 0 2.76 2.24 5 5 5s5-2.24 5-5c0-1.63-.79-3.09-2-4z'/%3E%3C/svg%3E");
}

.player-wrap .weather-bar .weather-item:nth-child(n+3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238ecae6'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .player-wrap .weather-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .player-wrap .weather-bar .weather-info {
    margin-left: 0;
    width: 100%;
  }
}

.player-wrap .weather-bar .date {
  position: relative;
  padding-left: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.player-wrap .weather-bar .date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff5c2a 100%);
}

/* 中央卡片头部：状态 + 联赛徽章 */
.player-wrap .panel-head {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.player-wrap .meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.player-wrap .meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.player-wrap .meta-badge .meta-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: center / contain no-repeat;
  opacity: 0.92;
}

.player-wrap .meta-status .meta-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8a55'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z'/%3E%3C/svg%3E");
}

.player-wrap .meta-status.is-live {
  color: #ff9a6a;
}

.player-wrap .meta-league .meta-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd166'%3E%3Cpath d='M18 6l-1.42 1.42-1.59-1.59L18 6zM6 18l1.42-1.42 1.59 1.59L6 18zm12-6.34L16.34 12 18 13.66 19.66 12 18 10.66zM6 10.66L4.34 12 6 13.66 7.66 12 6 10.66zM12 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8z'/%3E%3C/svg%3E");
}

.player-wrap .panel-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.02em;
}

.player-wrap .panel-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.player-wrap .panel-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.player-wrap .panel-status.is-live {
  background: rgba(255, 92, 42, 0.18);
  color: #ff9a6a;
}

/* 球场舞台 */
.player-wrap .pitch-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 24px 16px 28px;
  background: #071108;
  overflow: hidden;
}

.player-wrap .pitch-stage .pitch-bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 0;
  pointer-events: none;
}

.player-wrap .pitch-stage .pitch-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 17, 8, 0.35) 0%, rgba(7, 17, 8, 0) 28%, rgba(7, 17, 8, 0) 62%, rgba(7, 17, 8, 0.28) 100%);
  pointer-events: none;
}

/* 中央比分卡片 */
.player-wrap .match-panel {
  position: relative;
  z-index: 2;
  width: min(92%, 520px);
  margin: 0 auto;
  padding: 18px 22px 16px;
  border-radius: 14px;
  background: rgba(12, 16, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player-wrap .match-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.player-wrap .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-width: 150px;
}

.player-wrap .team .logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.player-wrap .team .logo.logo-empty {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.player-wrap .team .name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  line-height: 1.35;
}

.player-wrap .team.left .name {
  flex-direction: column;
}

.player-wrap .team.right .name {
  flex-direction: column;
}

.player-wrap .team .team-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.player-wrap .team .role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.player-wrap .vs {
  flex-shrink: 0;
  min-width: 110px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.player-wrap .vs.is-vs {
  font-size: 28px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.player-wrap .vs .half-score {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0;
}

/* 统计表格 */
.player-wrap .football-info,
.player-wrap .basketball-info {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.player-wrap .info-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px;
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.player-wrap .info-row.title {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 0;
}

.player-wrap .info-row.title span:nth-child(2),
.player-wrap .info-row.title span:nth-child(3) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-wrap .info-row span:nth-child(1) {
  color: rgba(255, 255, 255, 0.55);
}

.player-wrap .info-row span:nth-child(2),
.player-wrap .info-row span:nth-child(3) {
  text-align: center;
  font-weight: 600;
  color: #fff;
}

/* 卡片下方直播信号 */
.match-live-signal {
  margin: -8px 0 20px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.match-live-signal-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.match-live-signal .zhibo_btn {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-page .topic-live-signal .match-live-signal {
  margin: 0;
  border-radius: 16px;
  box-shadow: none;
  padding: 16px 20px;
}

@media (max-width: 768px) {
  .player-wrap .pitch-stage {
    min-height: 300px;
    padding: 16px 10px 20px;
  }

  .player-wrap .pitch-stage .pitch-bg {
    max-height: 88%;
  }

  .player-wrap .match-panel {
    width: 96%;
    padding: 14px 14px 12px;
  }

  .player-wrap .team {
    max-width: 100px;
  }

  .player-wrap .team .logo {
    width: 52px;
    height: 52px;
    padding: 6px;
  }

  .player-wrap .team .team-name {
    max-width: 92px;
    font-size: 12px;
  }

  .player-wrap .vs {
    min-width: 72px;
    font-size: 28px;
  }

  .player-wrap .match-info {
    gap: 10px;
  }

  .match-live-signal {
    margin-top: 0;
    padding: 14px 12px;
  }
}

.match-detail-switching .modetoggle {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.match-detail-switching .modetoggle::-webkit-scrollbar {
  display: none;
}

.match-detail-switching .modetoggle li {
  flex: 0 0 auto;
}

.match-detail-switching .modetoggle li a {
  white-space: nowrap;
}

.match-tab-media {
  padding: 4px 0;
}

.match-tab-media .tab-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ece8f4;
}

.match-tab-media .tab-media-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.match-tab-media .tab-media-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7633ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.match-tab-media .tab-media-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.match-tab-media .tab-media-list li {
  border-bottom: 1px solid #f0f0f2;
}

.match-tab-media .tab-media-list li:last-child {
  border-bottom: none;
}

.match-tab-media .tab-media-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: inherit;
  text-decoration: none;
}

.match-tab-media .tab-media-list li:hover a p {
  color: #7633ff;
}

.match-tab-media .tab-media-list li a .icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.match-tab-media .tab-media-list li a .icon .iconfont {
  font-size: 28px;
  color: #ddd;
}

.match-tab-media .tab-media-list li a .icon .strong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.match-tab-media .tab-media-list li:nth-child(1) a .icon .iconfont,
.match-tab-media .tab-media-list li:nth-child(2) a .icon .iconfont,
.match-tab-media .tab-media-list li:nth-child(3) a .icon .iconfont {
  color: #f4a83b;
}

.match-tab-media .tab-media-list li a p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #413d48;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.match-detail-switching .option_view .item.is-hide {
  display: none;
}

.match-detail-switching .modetoggle li {
  cursor: pointer;
}

.match-detail-switching .modetoggle li a {
  pointer-events: none;
}

/* 赛况 */
.match-stats {
  padding: 4px 0;
}

.match-stats .stats-section {
  margin-bottom: 24px;
}

.match-stats .stats-section:last-child {
  margin-bottom: 0;
}

.match-stats .stats-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.match-stats .stats-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #413d48;
}

.match-stats .stats-head .home {
  color: #7633ff;
}

.match-stats .stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.match-stats .stats-row .val {
  flex: 0 0 42px;
  font-size: 13px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.match-stats .stats-row .val.home {
  text-align: left;
}

.match-stats .stats-row .val.away {
  text-align: right;
}

.match-stats .stats-row .bar-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.match-stats .stats-row .label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.match-stats .stats-row .bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #f0edf5;
}

.match-stats .stats-row .home-bar {
  background: linear-gradient(90deg, #7633ff 0%, #9e6fff 100%);
}

.match-stats .stats-row .away-bar {
  background: linear-gradient(90deg, #ffb347 0%, #ff8a3d 100%);
}

.match-stats .stats-table-wrap {
  overflow-x: auto;
}

.match-stats .stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.match-stats .stats-table th,
.match-stats .stats-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f2;
  text-align: center;
}

.match-stats .stats-table th {
  color: #7633ff;
  font-weight: 700;
  background: #faf7ff;
}

.match-stats .stats-table td:first-child,
.match-stats .stats-table td:last-child {
  font-weight: 600;
  color: #222;
}

.match-stats .stats-table td:nth-child(2) {
  color: #666;
  white-space: nowrap;
}

.match-stats .stats-table small {
  color: #999;
  font-weight: 400;
}

.match-stats .stats-events,
.match-stats .stats-live {
  list-style: none;
  margin: 0;
  padding: 0;
}

.match-stats .stats-event,
.match-stats .stats-live-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f2;
  font-size: 13px;
  line-height: 1.5;
}

.match-stats .stats-event:last-child,
.match-stats .stats-live-item:last-child {
  border-bottom: none;
}

.match-stats .stats-event .time,
.match-stats .stats-live-item .time {
  flex: 0 0 36px;
  color: #7633ff;
  font-weight: 700;
}

.match-stats .stats-event.is-goal .text {
  color: #222;
  font-weight: 700;
}

.match-stats .stats-event.is-card .text {
  color: #f4a83b;
}

.match-stats .stats-live-item.is-main .text {
  color: #222;
  font-weight: 600;
}

.match-stats .stats-live-item .text {
  color: #555;
}

/* 历史分析 */
.match-analysis {
  padding: 4px 0;
}

.match-analysis .analysis-section {
  margin-bottom: 22px;
}

.match-analysis .analysis-section:last-child {
  margin-bottom: 0;
}

.match-analysis .analysis-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.match-analysis .analysis-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.match-analysis .analysis-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f2;
}

.match-analysis .analysis-row:last-child {
  border-bottom: none;
}

.match-analysis .analysis-row.is-link {
  padding: 0;
}

.match-analysis .analysis-row-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 8px;
  transition: background-color .15s ease;
}

.match-analysis .analysis-row.is-link:hover .analysis-row-link {
  background: #f7f4ff;
}

.match-analysis .analysis-meta {
  flex-shrink: 0;
  width: 92px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.match-analysis .analysis-meta .time {
  display: block;
  color: #666;
  font-weight: 600;
}

.match-analysis .analysis-meta .date,
.match-analysis .analysis-meta .league {
  display: block;
}

.match-analysis .analysis-match {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.match-analysis .analysis-match .team {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-analysis .analysis-match .team.home {
  text-align: right;
}

.match-analysis .analysis-match .team.away {
  text-align: left;
}

.match-analysis .analysis-match .logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-analysis .analysis-match .score {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  color: #222;
}

.match-analysis .analysis-status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .match-analysis .analysis-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .match-analysis .analysis-row-link {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
  }

  .match-analysis .analysis-meta {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .match-analysis .analysis-meta .time,
  .match-analysis .analysis-meta .date,
  .match-analysis .analysis-meta .league {
    display: inline;
  }

  .match-analysis .analysis-match {
    flex: 1 1 auto;
    width: calc(100% - 72px);
    min-width: 0;
    order: 2;
    justify-content: space-between;
    gap: 4px;
  }

  .match-analysis .analysis-match .team {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    font-size: 13px;
  }

  .match-analysis .analysis-match .logo {
    width: 18px;
    height: 18px;
  }

  .match-analysis .analysis-match .score {
    min-width: 40px;
    flex: 0 0 auto;
    font-size: 13px;
  }

  .match-analysis .analysis-status {
    order: 3;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 3px 8px;
    font-size: 11px;
  }
}

/* 侧边栏 - 今日比赛 */
.match-detail-page .main > .w {
  width: 100%;
  max-width: 1200px;
  padding: 0 32px;
  box-sizing: border-box;
}

.match-detail-page .outside .package {
  gap: 28px;
}

.match-detail-page .outside .package .within {
  width: 68%;
}

.match-detail-page .outside .package .aside {
  flex: 1;
  min-width: 0;
}

.detail-page .outside .package {
  align-items: flex-start;
  gap: 24px;
}

.detail-page .outside .package .within {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: calc(100% - 336px);
  box-sizing: border-box;
  padding-right: 4px;
}

.detail-page .outside .package .aside {
  flex: 0 0 312px;
  width: 312px;
  max-width: 312px;
  min-width: 280px;
  box-sizing: border-box;
}

.detail-page .outside .package .aside .today-matches,
.detail-page .outside .package .aside .sidebar-day-tabs {
  width: 100%;
  max-width: 100%;
}

.detail-page .together {
  box-sizing: border-box;
  overflow: hidden;
}

.today-matches {
  margin-bottom: 24px;
}

.today-matches .today-match-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.today-matches .today-match-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #ece8f4;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.today-matches .match-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.today-matches .today-match-link:hover .today-match-row {
  border-color: #d9cbff;
  background: #faf7ff;
}

.today-matches .today-match-link:hover .match-teams .name {
  color: #7633ff;
}

.today-matches .match-time {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #413d48;
  white-space: nowrap;
}

.today-matches .match-league {
  flex: 0 1 auto;
  display: inline-block;
  max-width: calc(100% - 130px);
  padding: 4px 10px;
  border: 1px solid #c9b0ff;
  border-radius: 6px;
  background: #f3ecff;
  color: #7633ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.today-matches .match-status {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff8eb;
  color: #f4a83b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.today-matches .match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  width: 100%;
  min-width: 0;
}

.today-matches .match-teams .team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.today-matches .match-teams .team.home {
  justify-content: flex-end;
}

.today-matches .match-teams .team.away {
  justify-content: flex-start;
}

.today-matches .match-teams .team img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.today-matches .match-teams .name {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  color: #413d48;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}

.today-matches .match-teams .team.home .name {
  text-align: right;
}

.today-matches .match-teams .team.away .name {
  text-align: left;
}

.today-matches .match-teams .vs {
  flex: none;
  width: 28px;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  color: #9e6fff;
  font-weight: 700;
}

.today-matches .aside-heading {
  margin: 0;
  padding: 0;
  font: inherit;
  font-weight: inherit;
}

.today-matches .aside-heading span {
  color: #413d48;
  font-size: 18px;
  font-weight: bold;
}

.today-matches .vertical {
  gap: 10px !important;
}

.today-matches .vertical li {
  display: block;
}

.today-matches .vertical li + li {
  border-top: none;
  padding-top: 0;
}

.today-matches-empty {
  margin: 0;
  padding: 8px 4px 16px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.today-matches-empty a {
  color: #7633ff;
}

.sidebar-day-tabs {
  margin-bottom: 20px;
}

.sidebar-day-tab-nav {
  display: flex;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: 2px solid #ece8f8;
  gap: 0;
}

.sidebar-day-tab-nav .sidebar-day-tab {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  user-select: none;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-day-tab-nav .sidebar-day-tab.active {
  color: #7633ff;
  border-bottom-color: #7633ff;
}

.sidebar-day-tabs .sidebar-day-panel {
  display: none;
}

.sidebar-day-tabs .sidebar-day-panel.show {
  display: block;
}

.content-related {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ece8f8;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.content-related .hotnews {
  width: 100%;
  min-width: 0;
  background: #faf9ff;
  border-radius: 8px;
  padding: 16px 16px 8px;
  box-shadow: 0 2px 8px rgba(118, 51, 255, 0.06);
  box-sizing: border-box;
}

.content-related .hotnews .aside_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ece8f8;
}

.content-related .hotnews .aside_title .topic span {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.content-related .hotnews .aside_title .topic p {
  font-size: 11px;
  color: #999;
  margin: 2px 0 0;
  letter-spacing: 1px;
}

.content-related .hotnews .vertical {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-related .hotnews .vertical li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.content-related .hotnews .vertical li a p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  color: #413d48;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-related .hotnews .vertical li a:hover p {
  color: #7633ff;
}

.content-related .hotnews .vertical li a .icon {
  position: relative;
  flex-shrink: 0;
}

.content-related .hotnews .vertical li a .icon .iconfont {
  font-size: 22px;
  color: #d2d2d2;
}

.content-related .hotnews .vertical li a .icon .strong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #fff;
  font-weight: bold;
}

.content-related .hotnews .vertical li:nth-child(1) a .icon .iconfont {
  color: #f43f3b;
  font-size: 26px;
}

.content-related .hotnews .vertical li:nth-child(2) a .icon .iconfont {
  color: #f4a83b;
  font-size: 26px;
}

.content-related .hotnews .vertical li:nth-child(3) a .icon .iconfont {
  color: #6c4cff;
}

@media (max-width: 960px) {
  .detail-page .outside .package {
    flex-direction: column;
    gap: 16px;
  }

  .detail-page .outside .package .within {
    max-width: 100%;
    padding-right: 0;
  }

  .detail-page .outside .package .aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1000px) {
  .match-detail-page .main > .w {
    padding: 0 16px;
  }

  .match-detail-page .outside .package .within {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .today-matches {
    margin-bottom: 20px;
  }

  .today-matches .aside-heading span {
    font-size: 16px;
  }

  .today-matches .today-match-row {
    padding: 10px 12px;
    gap: 8px;
  }

  .today-matches .match-teams .name {
    font-size: 12px;
  }
}

.match-detail-page .together .switching + .article {
  margin-top: 20px;
}

.match-detail-page .textInfor .match-detail-tags .assort {
  margin-right: 4px;
}
