@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --navy: #1A3A5C;
  --red: #E63946;
  --bg: #F5F5F5;
  --tag: #FF6B35;
  --white: #FFFFFF;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body.m1-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, .m1-display {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }

.m1-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.m1-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.m1-logo a {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.m1-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.m1-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.m1-nav a:hover { color: #fff; border-bottom-color: var(--red); }

.m1-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.m1-leagues {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
}

.m1-league-item {
  text-align: center;
  min-width: 72px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.m1-league-item:hover { transform: translateY(-3px); }
.m1-league-item img { width: 48px; height: 48px; object-fit: contain; display: block; margin: 0 auto 6px; }
.m1-league-item span { font-size: 0.75rem; color: var(--navy); }

.m1-news-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.m1-news-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.m1-news-hero:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.m1-news-hero img { width: 100%; height: 280px; object-fit: cover; display: block; }

.m1-news-hero-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(26,58,92,0.85));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.m1-news-side { display: flex; flex-direction: column; gap: 10px; }

.m1-news-side a {
  background: var(--white);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 4px solid var(--red);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.m1-news-side a:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }

.m1-score-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0;
  margin-bottom: 28px;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.m1-score-item {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 180px;
  text-align: center;
  font-size: 0.85rem;
  transition: transform 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.m1-score-item:hover { transform: translateY(-3px); }
.m1-score-item strong { color: var(--red); display: block; margin-bottom: 4px; }

.m1-section {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

.m1-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.m1-video-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.m1-video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.m1-video-card img { width: 100%; height: 120px; object-fit: cover; background: #ddd; }
.m1-video-card div { padding: 12px; font-size: 0.85rem; }
.m1-video-card span { font-size: 0.75rem; color: #888; }

.m1-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.m1-card-panel {
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.m1-player-row, .m1-team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: transform 0.2s;
}

.m1-player-row:hover, .m1-team-row:hover { transform: translateX(4px); }
.m1-player-row img, .m1-team-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.m1-team-row img { border-radius: 6px; }
.m1-rank { color: var(--red); font-weight: 700; min-width: 24px; }

.m1-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 24px;
}

.m1-tag-cloud a {
  padding: 6px 14px;
  background: rgba(255,107,53,0.1);
  color: var(--tag);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.m1-tag-cloud a:nth-child(3n+1) { font-size: 1rem; font-weight: 700; }
.m1-tag-cloud a:nth-child(3n+2) { font-size: 0.9rem; }
.m1-tag-cloud a:hover { transform: translateY(-2px); background: var(--tag); color: #fff; }

.m1-body .site-subtitle { color: var(--tag); font-weight: 400; font-size: 16px; margin-left: 8px; }
.m1-body .match_filter_item.on a { background: var(--navy) !important; color: #fff !important; }
.m1-body .info_right.start a { background: var(--red) !important; color: #fff !important; }
.m1-body .header, .m1-body .second-header { display: none !important; }

.m1-footer.footer-wrapper { background: var(--navy); color: rgba(255,255,255,0.9); }
.m1-footer p, .m1-footer .footer-desc { text-align: center; color: rgba(255,255,255,0.9); }
.m1-footer a { color: #fff; }

/* 详情页 */
.m1-page { max-width: var(--max); margin: 0 auto; padding: 0 20px 40px; }

.m1-breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: #888;
}

.m1-breadcrumb a { color: var(--navy); }

.m1-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.m1-detail-main {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.m1-detail h1 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: var(--navy);
  line-height: 1.4;
}

.m1-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

.m1-detail-meta a { color: var(--red); }

.m1-detail-cover img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  max-height: 400px;
  object-fit: cover;
}

.m1-detail-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  word-break: break-word;
}

.m1-detail-body a { color: var(--red); }

.m1-detail-video {
  max-width: 1000px;
  margin: 0 auto 20px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
}

.m1-detail-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.m1-detail-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m1-detail-tags a {
  padding: 4px 12px;
  background: rgba(255,107,53,0.12);
  color: var(--tag);
  border-radius: 999px;
  font-size: 0.8rem;
}

.m1-prenext {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.m1-prenext a { color: var(--navy); }
.m1-prenext a:hover { color: var(--red); }

.m1-aside-box {
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.m1-aside-box h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
}

.m1-aside-link {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}

.m1-aside-link:hover { color: var(--red); }

.m1-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.m1-related-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.m1-related-card:hover { transform: translateY(-3px); }
.m1-related-card img { width: 100%; height: 90px; object-fit: cover; background: #ddd; }
.m1-related-card p { padding: 10px; font-size: 0.82rem; margin: 0; }

.m1-record-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 24px;
  padding-bottom: 8px;
}

.m1-record-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.m1-record-card:hover { transform: translateY(-3px); }
.m1-record-card img { width: 100%; height: 100px; object-fit: cover; background: #ddd; }
.m1-record-card p { padding: 10px; font-size: 0.82rem; margin: 0; }

.m1-record-play {
  display: inline-block;
  padding: 10px 20px;
  background: var(--red);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  margin: 12px 0;
}

/* 列表页 */
.m1-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.m1-list-head h1 { margin: 0; font-size: 1.4rem; color: var(--navy); }

.m1-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.m1-filters span {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
}

.m1-filters span.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.m1-list-row {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.m1-list-row:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.m1-list-row img { width: 140px; height: 90px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #ddd; }
.m1-list-body { flex: 1; min-width: 0; }
.m1-list-body h3 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); }
.m1-list-body p { margin: 0 0 8px; font-size: 0.85rem; color: #666; }
.m1-list-meta { font-size: 0.78rem; color: #999; display: flex; gap: 12px; flex-wrap: wrap; }
.m1-list-meta .tag { color: var(--tag); }

.m1-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.m1-body .container { max-width: var(--max); width: 100% !important; }
.m1-body .position { background: var(--bg); }

.m1-body .container.flex-between:has(.ny_leftside) {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 32px;
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) 300px;
  gap: 16px;
  float: none !important;
}

.m1-body .container.flex-between:not(:has(.ny_leftside)) {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  float: none !important;
}

.m1-body .container.flex-between:has(.ny_leftside) .ny_leftside {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  float: none !important;
}

.m1-body .container.flex-between:has(.ny_leftside) .ny_leftside .all {
  background: var(--navy);
  width: 100%;
}

.m1-body .container_left,
.m1-body .container_right {
  width: 100% !important;
  float: none !important;
  min-width: 0;
}

.m1-body .container_left .match-item {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.m1-main .match_zhibo_list { display: block; }

@media (max-width: 900px) {
  .m1-nav { display: none; }
  .m1-news-split { grid-template-columns: 1fr; }
  .m1-video-grid { grid-template-columns: 1fr; }
  .m1-dual { grid-template-columns: 1fr; }
  .m1-detail-layout, .m1-list-layout { grid-template-columns: 1fr; }
  .m1-related-grid { grid-template-columns: 1fr; }
  .m1-list-row { flex-direction: column; }
  .m1-list-row img { width: 100%; height: 160px; }
  .m1-body .container.flex-between:has(.ny_leftside),
  .m1-body .container.flex-between:not(:has(.ny_leftside)) {
    grid-template-columns: 1fr;
  }
  .m1-body .container.mt10.flex-between {
    grid-template-columns: 1fr;
  }
}

/* 赛事详情页 */
.m1-body .match_allinfo .top {
  background: linear-gradient(135deg, var(--navy), #2a5a8c);
  border-radius: 10px 10px 0 0;
}

.m1-body .match_allinfo .top,
.m1-body .match_allinfo .top p,
.m1-body .match_allinfo .qiudui_name { color: #fff; }

.m1-body .match_info,
.m1-body .match_analysis,
.m1-body .xiangguanzhibo,
.m1-body .hotvideos {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.m1-body .match_analysis .senav span.on {
  background: var(--red);
  color: #fff;
  border-radius: 4px;
}

.m1-body .zhibo_btn .redirectLink {
  background: var(--red);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  margin: 4px;
  display: inline-block;
}

.m1-body .container.mt10.flex-between {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  float: none !important;
}

.m1-body .position .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 0.85rem;
}

.m1-body .position .crumb { color: var(--navy); }
