:root {
  --bg: #0a0f1f;
  --surface: #121a2f;
  --surface-soft: #18233f;
  --text: #f4f6fb;
  --muted: #a8b0c4;
  --primary: #1d428a;
  --accent: #c8102e;
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  background-color: #060a15;
  background-image: linear-gradient(160deg, #060a15 0%, #0d1529 60%, #141e36 100%);
  /* 为竖向滚动条预留槽位，减少布局抖动；Firefox 使用较宽滚动条 */
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: rgba(190, 200, 230, 0.55) rgba(14, 20, 38, 0.92);
}

/* Chromium / Edge / Safari：显式轨道、滑块、上下箭头按钮（系统「覆盖式滚动条」关闭时生效） */
html::-webkit-scrollbar {
  width: 16px;
}

html::-webkit-scrollbar-track {
  background: rgba(14, 20, 38, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(210, 218, 245, 0.5), rgba(150, 165, 205, 0.45));
  border-radius: 8px;
  border: 3px solid rgba(14, 20, 38, 0.96);
  min-height: 40px;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(230, 236, 255, 0.65), rgba(175, 188, 228, 0.55));
}

html::-webkit-scrollbar-button:single-button {
  display: block;
  height: 16px;
  width: 16px;
  background-color: rgba(42, 52, 78, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

html::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23c5cee8' d='M5 2.5 L1.5 6.5 h7z'/%3E%3C/svg%3E");
}

html::-webkit-scrollbar-button:single-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23c5cee8' d='M5 7.5 L1.5 3.5 h7z'/%3E%3C/svg%3E");
}

html::-webkit-scrollbar-button:single-button:hover {
  background-color: rgba(58, 70, 105, 0.98);
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background-color: #060a15;
  background-image: linear-gradient(160deg, #060a15 0%, #0d1529 60%, #141e36 100%);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

/* 移动端顶栏菜单展开时锁定背后页面滚动 */
html.menu-open-lock {
  overflow: hidden;
  height: 100%;
}

body.menu-open-lock {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #060a15;
  background-image: linear-gradient(160deg, #060a15 0%, #0d1529 60%, #141e36 100%);
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.breadcrumb-bar {
  padding: 12px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin: 0 auto;
  padding: 10px 14px;
  list-style: none;
  font-size: 0.82rem;
  color: #b8c3df;
  background: rgba(13, 21, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
  margin-left: 4px;
}

.breadcrumb a {
  color: #e3e9fa;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #8a96b5;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 13, 24, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 菜单展开时盖过侧边快捷按钮（z-index: 30） */
.topbar.menu-open {
  z-index: 100;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
}

/*
 * Logo 扫光：窄条 + 动画 left（在 overflow 内横向扫过，兼容性好）。
 * 挂在 .brand 上：帝国 temp.header 里即使没有 brand-logo-wrap，只有 img 也能看到。
 */
.brand::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 70%;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 38%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.2) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: brand-logo-sweep-x 2.2s ease-in-out infinite;
}

@keyframes brand-logo-sweep-x {
  0%,
  28% {
    left: -75%;
  }
  52% {
    left: 115%;
  }
  100% {
    left: 115%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand::after {
    animation: none;
  }
}

/* 可选内层：只裁切圆角，扫光已由 .brand::after 负责 */
.brand-logo-wrap {
  position: relative;
  display: block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-box {
  width: auto;
  height: 45px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  vertical-align: top;
}

.brand-text {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.main-nav {
  display: block;
  color: var(--muted);
  position: relative;
}

.main-nav a:hover {
  color: #fff;
}

.nav-list,
.sub-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  gap: 18px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-block;
  padding: 6px 0;
  white-space: nowrap;
}

.sub-nav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 140px;
  z-index: 20;
  background: rgba(12, 20, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 8px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sub-nav a {
  display: block;
  padding: 8px 12px;
  color: #dce3f6;
}

.sub-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-item:hover > .sub-nav {
  display: block;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  padding: 9px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.topbar.menu-open .menu-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:focus-visible {
  border: 1px solid var(--line);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.top-news-carousel {
  position: relative;
  width: min(1200px, 92%);
  margin: 16px auto 0;
  height: min(52vw, 420px);
  min-height: 260px;
  max-height: 460px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
  transition: opacity 0.45s ease;
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(18px, 5vw, 36px);
  	color:white;
}

.slide-tag {
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.slide-content h2 {
  margin: 0 0 8px;
  max-width: 780px;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
}

.slide-content p {
  margin: 0;
  color: #d3dbef;
  max-width: 620px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 10, 22, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

.hero {
  padding: 28px 0 8px;
}

.match-section .section-head {
  margin-bottom: 14px;
}

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}

.match-panel,
.news-panel {
  min-width: 0;
}

.match-panel {
  background: rgba(13, 21, 40, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.match-list {
  display: grid;
  gap: 8px;
}

.news-feed {
  display: grid;
  gap: 8px;
}

.news-feed-item {
  padding: 12px 14px;
  background: rgba(20, 30, 54, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.news-feed-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 6px;
}

.news-feed-time {
  font-size: 0.8rem;
  color: #b8c3df;
  white-space: nowrap;
}

.news-feed-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.news-feed-title a {
  color: #f4f6fb;
}

.news-feed-title a:hover {
  color: #fff;
  text-decoration: underline;
}

.news-feed-summary {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: #a8b5d4;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-media-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.news-media-item {
  background: rgba(18, 26, 47, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.news-media-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: stretch;
  color: inherit;
}

.news-media-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
  animation: news-thumb-breathe 6s ease-in-out infinite;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.news-media-body {
  padding: 10px 12px 10px 0;
  min-width: 0;
}

.news-media-title {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.35;
  color: #f3f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-media-title a {
  color: inherit;
}

.news-media-title a:hover {
  text-decoration: underline;
}

.news-media-summary {
  margin: 8px 0 10px;
  color: #a8b5d4;
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-media-summary a {
  color: inherit;
}

.news-media-summary a:hover {
  color: #d8e1f8;
  text-decoration: underline;
}

.news-media-meta {
  margin: 0;
  color: #95a4c8;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-media-meta span {
  position: relative;
}

.news-media-meta span + span::before {
  content: "•";
  margin-right: 10px;
  color: #6f81ad;
}

.news-media-meta a {
  color: #93c5fd;
}

.news-media-meta a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.news-media-item:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.news-media-item:hover .news-media-title {
  color: #fff;
}

.news-media-item:hover .news-media-thumb {
  transform: scale(1.08);
  filter: brightness(1.06);
}

@keyframes news-thumb-breathe {
  0%,
  100% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.06);
  }
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e3e9fa;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.news-pagination .page-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.news-pagination .page-nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.news-pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #dce3f6;
  background: rgba(21, 37, 63, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-pagination .page-num:hover {
  background: #1e3150;
  border-color: rgba(255, 255, 255, 0.22);
}

.news-pagination .page-num.is-current {
  background: #c8102e;
  border-color: rgba(255, 90, 116, 0.85);
  color: #fff;
  pointer-events: none;
}

html[data-theme="light"] .news-pagination .page-num.is-current  {
	background: #c8102e;
	color: #fff;
}

.news-pagination .page-ellipsis {
  padding: 0 4px;
  color: #8a96b5;
  font-size: 0.9rem;
  user-select: none;
}

.league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.league-tab {
  display: inline-block;
  min-width: 78px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 0.86rem;
  color: #fff;
  background: #15253f;
}

.league-tab:hover {
  background: #1e3150;
}

.league-tab.is-hot {
  background: #c8102e;
  color: #ffffff;
  font-weight: 700;
}

.day-block + .day-block {
  margin-top: 14px;
}

.match-list-update {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: #8a96b5;
  line-height: 1.5;
}

.video-article-block {
  margin: 6px 0 24px;
  padding: 10px;
  background: #d9d9d9;
}

.video-cover-link {
  position: relative;
  display: block;
  text-decoration: none;
  line-height: 0;
}

.video-cover-image {
  display: block;
  width: 100%;
  height: auto;
}

.video-cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 42px solid transparent;
  border-bottom: 42px solid transparent;
  border-left: 62px solid rgba(125, 213, 218, 0.9);
  transform: translate(-40%, -50%);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

.video-episode-list {
  margin-top: 8px;
}

.video-episode-list h3 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.2;
  color: #1b1b1b;
  font-weight: 800;
}

.video-episode-links a {
  display: block;
  margin: 0 0 18px;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.65;
  text-decoration: none;
}

.video-episode-links a:hover {
  text-decoration: underline;
}

/* 球员详情页（足球球员） */
.section-tit {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid #f97316;
  background: #f3f4f6;
}

.section-tit .name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.qdqyinfo {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.qy_logo {
  width: 160px;
  background: #7cb49f;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.qy_logo img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.qy_logo h1 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.qy_logo p {
  display: none;
}

.qy_qyxx {
  flex: 1;
}

.qy_qyxx ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qy_qyxx li {
  min-height: 90px;
  border: 1px solid #e5e7eb;
  margin: -1px 0 0 -1px;
  padding: 16px 8px 10px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.qy_qyxx li span {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #111827;
}

.qdqy_lmtit {
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.qdqy_content {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
}

.item-block.bgwhite {
  margin-top: 18px;
  background: #f8fafc;
  border: 1px solid #eceff4;
  padding: 12px;
}

.qiuyuanlist {
  background: #fff;
  border: 1px solid #eceff4;
  padding: 12px 10px 2px;
}

.hot_qiuyuan_main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

.hot_member_item a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 4px 2px;
  text-decoration: none;
}

.hot_member_item .pic {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
}

.hot_member_item .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hot_member_item .info {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.3;
}

.hot_member_item .info em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 980px) {
  .qdqyinfo {
    flex-direction: column;
  }
  .qy_logo {
    width: 100%;
    max-width: 220px;
  }
  .qy_qyxx ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hot_qiuyuan_main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.topic-hot-block {
  margin-top: 16px;
  padding: 18px 16px 22px;
  background: rgba(13, 21, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topic-hot-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8ecf8;
}

.topic-hot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
}

.topic-hot-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #dce3f5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topic-hot-card:hover {
  opacity: 0.94;
}

.topic-hot-card:hover .topic-hot-label {
  color: #fff;
  text-decoration: underline;
}

.topic-hot-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.topic-hot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-hot-label {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .topic-hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topic-hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .topic-hot-title {
    font-size: 1.1rem;
  }
}

.day-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e3e9fa;
  margin-bottom: 6px;
}

.day-list-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: #b8c3df;
}

.day-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.day-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #dce4fa;
  white-space: nowrap;
}

.day-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.day-item.is-active {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(200, 16, 46, 0.2);
  color: #fff;
}

.news-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.news-panel {
  background: rgba(18, 26, 47, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);

}

.news-panel .section-head {
  margin-bottom: 8px;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.news-list li a {
  display: block;
  padding: 8px 6px;
  border-radius: 8px;
  color: #dce3f6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.news-list li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.news-list li {
  min-width: 0;
}

.tag-panel {
  margin-top: 10px;
  border-top: 0;
  padding-top: 14px;
}

.tag-panel h3 {
  margin: 0 0 10px;
  color: #dce4f8;
  font-size: 1.03rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #c8102e;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
}

.tag-chip:hover {
  background: #dd2745;
}

.match-row {
  display: grid;
  grid-template-columns: 100px 98px 132px 62px 132px 66px 90px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(20, 30, 54, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 列表内文字超出省略号处理 */
.match-row > * {
  min-width: 0;
}
.match-row .league-cell {
  max-width: 100%;
  overflow: hidden;
}
.match-row .league-cell .league-name {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
.match-row .team-pair {
  display: flex;
  max-width: 100%;
  overflow: hidden;
}
.match-row .team-pair .team-home,
.match-row .team-pair .team-away {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: block;
}
.match-row .team-pair .team-logo {
  flex: 0 0 auto;
}
.hot-row .team-pair {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.hot-row .team-pair .team-home,
.hot-row .team-pair .team-away {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-row .team-pair .team-logo {
  flex: 0 0 auto;
}
.hot-row > * {
  min-width: 0;
}
.hot-row .league-cell {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.hot-row .league-cell .league-name {
  flex: 1 1 auto;
  min-width: 100px;
  max-width: 100%;
}

.league-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.league-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-time,
.team-home,
.team-away,
.bfn,
.row-status {
  margin: 0;
}

.match-time {
  color: #d6ddf1;
  font-size: 0.82rem;
}

.team-home,
.team-away {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.team-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: center;
  min-width: 0;
}

.team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.bfn {
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
}

.row-status {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.row-status.is-ing {
  color: #ff6278;
}

.row-status.is-soon {
  color: #f5c361;
}

.entry-btn {
  display: inline-block;
  text-align: center;
  padding: 7px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color:white;
  background: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.hero-main,
.hero-side {
  background: linear-gradient(155deg, rgba(19, 31, 56, 0.95), rgba(12, 20, 39, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.badge {
  display: inline-block;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-main h1 {
  margin: 14px 0 4px;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

.hero-time {
  color: #d7deef;
  margin: 0;
}

.hero-desc {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-side h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.upcoming-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.upcoming-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.upcoming-list span {
  color: #d6dcef;
  font-size: 0.88rem;
}

.upcoming-list em {
  font-style: normal;
  color: #ff576f;
  font-size: 0.8rem;
}

.games,
.news {
  padding: 18px 0 8px;
}

.hot-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 8px;
}

.hot-list.is-switching {
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.hot-carousel.slide-next .hot-list.is-switching {
  transform: translateX(-12px);
  opacity: 0.9;
}

.hot-carousel.slide-prev .hot-list.is-switching {
  transform: translateX(12px);
  opacity: 0.9;
}

.hot-carousel {
  position: relative;
}

.hot-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
}

.hot-carousel-btn {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 10, 22, 0.65);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hot-carousel-btn:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(5, 10, 22, 0.85);
}

.hot-carousel-btn.prev {
  left: 6px;
}

.hot-carousel-btn.next {
  right: 6px;
}

.hot-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.hot-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hot-dot.is-active {
  background: #fff;
}

.hot-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "league league league time time time"
    "home home bfn bfn away away"
    ". status status entry entry .";
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(20, 30, 54, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hot-row .league-cell {
  grid-area: league;
  justify-self: start;
}
.hot-row .league-cell1 {
	width:200px;
  display: flex;
}

.hot-row .match-time {
  grid-area: time;
  justify-self: end;
}

.hot-row .team-pair-home {
  grid-area: home;
  justify-self: start;
}

.hot-row .bfn {
  grid-area: bfn;
  justify-self: center;
}

.hot-row .team-pair-away {
  grid-area: away;
  justify-self: end;
}


.hot-row .row-status {
  grid-area: status;
  justify-self: center;
  text-align: center;
}

.hot-row .entry-btn {
  grid-area: entry;
  justify-self: center;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.section-head a {
  color: #d6ddf1;
  font-size: 0.9rem;
}

.games-grid,
.news-grid {
  display: grid;
  gap: 14px;
}

.games-grid {
  grid-template-columns: repeat(3, 1fr);
}

.game-card,
.news-card {
  background: rgba(18, 26, 47, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-card h3,
.news-card h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.game-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.game-status {
  margin: 0;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.game-status.ing {
  color: #ff5d75;
}

.game-status.soon {
  color: #f6c35f;
}

.game-status.replay {
  color: #6fc5ff;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.footer {
  margin-top: 20px;
}

.footer-link-box {
  background: linear-gradient(160deg, rgba(19, 30, 55, 0.62), rgba(14, 22, 40, 0.58));
  color: #dfe6f7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 14px 14px;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.footer-link-box h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.friend-links a {
  color: #b8c3de;
  font-size: 0.9rem;
}

.friend-links a:hover {
  color: #ffffff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.match-panel .video-grid {
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
}

@media (max-width: 640px) {
  .match-panel .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.video-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.video-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.video-meta {
  padding: 7px 8px 8px;
}

.video-title,
.video-date {
  margin: 0;
  color: #c7d2ec;
}

.video-title {
  font-size: 0.76rem;
  line-height: 1.45;
  max-height: 2.9em;
  overflow: hidden;
}

.video-date {
  margin-top: 6px;
  font-size: 0.72rem;
  color: #9eacc8;
}

.video-item:hover .video-title,
.video-item:hover .video-date {
  color: #fff;
}

.video-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.video-item:hover img {
  transform: scale(1.06);
}

.footer-dark {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.66), rgba(10, 15, 28, 0.72));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  min-height: 150px;
  padding: 18px 0 14px;
  color: #aeb9d2;
  text-align: center;
}

.footer-desc {
  margin: 0 0 12px;
  font-size: 0.86rem;
  line-height: 1.8;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #96a4bf;
}

.side-tools {
  position: fixed;
  right: 14px;
  bottom: 90px;
  z-index: 30;
  display: grid;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-tools.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.side-tool-btn {
  min-width: 92px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #f7f9ff;
  font-size: 0.76rem;
  padding: 7px 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.side-tool-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.side-tool-btn.go-top {
  background: rgba(200, 16, 46, 0.9);
  border-color: rgba(255, 90, 116, 0.95);
  color: #ffffff;
}

.side-tool-btn.go-top:hover {
  background: rgba(166, 12, 38, 0.95);
  border-color: rgba(255, 118, 139, 1);
}

.side-tool-btn.theme-toggle {
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.38);
  color: #ffd766;
  font-weight: 700;
}

.side-tool-btn.theme-toggle:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.55);
  color: #ffe08a;
}

.target-focus {
  animation: targetPulse 0.7s ease;
}

@keyframes targetPulse {
  0% {
    box-shadow: 0 0 0 rgba(200, 16, 46, 0);
  }
  45% {
    box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.24);
  }
  100% {
    box-shadow: 0 0 0 rgba(200, 16, 46, 0);
  }
}

@media (max-width: 1288px) and (min-width: 981px) {
  .match-row {
    grid-template-columns: 86px 80px minmax(0, 1fr) 54px minmax(0, 1fr) 58px 78px;
    gap: 6px;
    padding: 9px 10px;
  }

  .team-logo {
    width: 26px;
    height: 26px;
  }

  .match-time,
  .row-status,
  .entry-btn {
    font-size: 0.76rem;
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(10, 16, 30, 0.96);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  .topbar.menu-open .main-nav {
    display: flex;
    max-height: min(72vh, calc(100vh - 72px));
    max-height: min(72vh, calc(100dvh - 72px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-list {
    display: block;
  }

  .nav-item > a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    color: #dce3f6;
    display: block;
  }

  .nav-item:last-child > a {
    border-bottom: 0;
  }

  .sub-nav {
    display: block;
    position: static;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 0 6px 12px;
    min-width: auto;
  }

  .sub-nav a {
    padding: 8px 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
  }

  .sub-nav li:last-child a {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  /* 侧栏新闻：单行 + 省略号，容器裁切不横向溢出 */
  .news-panel {
    overflow-x: hidden;
    max-width: 100%;
  }

  .news-side {
    max-width: 100%;
  }

  .top-news-carousel {
    height: min(58vw, 360px);
  }

  .match-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "league league league time time time"
      "home home bfn bfn away away"
      ". status status entry entry .";
    padding: 12px;
    gap: 10px;
  }

  .match-row .league-cell {
    grid-area: league;
    justify-self: start;
  }

  .match-row .match-time {
    grid-area: time;
    justify-self: end;
  }

  .match-row .team-pair-home {
    grid-area: home;
    justify-self: start;
  }

  .match-row .bfn {
    grid-area: bfn;
    justify-self: center;
  }

  .match-row .team-pair-away {
    grid-area: away;
    justify-self: end;
  }

  .match-row .row-status {
    grid-area: status;
    justify-self: center;
    text-align: center;
    font-size: 0.88rem;
  }

  .match-row .entry-btn {
    grid-area: entry;
    justify-self: center;
    text-align: center;
    padding: 8px 10px;
  }

  .match-row .team-pair-home,
  .match-row .team-pair-away {
    gap: 5px;
  }
  
  .team-pair-home{
	  text-align: right;
  }

  .day-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .league-tab {
    min-width: 72px;
    padding: 5px 10px;
    font-size: 0.82rem;
  }

  .team-home,
  .team-away {
    font-size: 0.9rem;
  }

  .games-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 58px;
    gap: 8px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .top-news-carousel {
    min-height: 220px;
    height: 62vw;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }

  .slide-content h2 {
    margin-bottom: 6px;
  }

  .slide-content p {
    font-size: 0.86rem;
  }

  .hero-main,
  .hero-side {
    padding: 16px;
    border-radius: 12px;
  }

  .news-panel {
    padding: 12px;
  }

  .hot-list {
    grid-auto-columns: 100%;
  }

  .hot-carousel-btn.prev {
    left: 4px;
  }

  .hot-carousel-btn.next {
    right: 4px;
  }

  .day-filter {
    grid-template-columns: 1fr;
  }

  .league-tabs {
    gap: 6px;
    padding: 6px;
  }

  .league-tab {
    min-width: 66px;
    font-size: 0.78rem;
  }

  .day-item {
    justify-content: flex-start;
    font-size: 0.8rem;
  }

  .day-heading {
    flex-wrap: wrap;
    font-size: 0.84rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  .games-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-link-box {
    padding: 10px 12px 12px;
  }

  .friend-links {
    gap: 8px 12px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    min-height: auto;
    padding: 14px 0 12px;
  }

  .footer-desc {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .side-tools {
    right: 8px;
    bottom: 70px;
  }

  .side-tool-btn {
    min-width: 68px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }
}

/* ---------- 直播内页 /lq/1.html ---------- */

.dp-main {
  padding: 16px 0 36px;
}

.dp-primary {
  min-width: 0;
}

.dp-board-inner {
  background: linear-gradient(180deg, #2d3544 0%, #1f242d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 16px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.dp-board-meta {
  text-align: center;
  margin-bottom: 18px;
}

.dp-meta-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.dp-meta-league {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.dp-meta-time {
  font-size: 0.76rem;
  font-weight: 600;
  color: #eef2fb;
  letter-spacing: 0.02em;
}

.dp-board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dp-board-team {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-board-team.home {
  justify-content: flex-start;
}

.dp-board-team.away {
  justify-content: flex-start;
  flex-direction: row-reverse;
}

.team-logo-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.team-logo-ring .team-logo-lg {
  width: 42px;
  height: 42px;
}

.team-logo-lg {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-name-lg {
  font-size: clamp(0.92rem, 2.8vw, 1.12rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

/* Narrow screens: stack logo then name for both teams (must follow base .away row-reverse) */
@media (max-width: 900px) {
  .dp-board-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 8px 10px;
  }

  .dp-board-team.home,
  .dp-board-team.away {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    min-width: 0;
    text-align: center;
    gap: 10px;
  }

  .dp-board-team.away {
    flex-direction: column;
    justify-content: flex-start;
  }

  .dp-center {
    align-self: center;
    padding-top: 18px;
  }

  .dp-board-inner .team-logo-ring {
    width: 52px;
    height: 52px;
  }

  .dp-board-inner .team-logo-ring .team-logo-lg {
    width: 38px;
    height: 38px;
  }

  .dp-board-inner .team-name-lg {
    font-size: clamp(0.85rem, 3.4vw, 1rem);
  }
}

.dp-center {
  flex: 0 0 auto;
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.dp-sep {
  margin: 0 6px;
  opacity: 0.85;
}

.dp-board-status {
  text-align: center;
  margin-top: 20px;
}

.dp-pill {
  display: inline-block;
  padding: 9px 32px;
  background: #fff;
  color: #c8102e;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
}

.dp-source-panel {
  margin-top: 16px;
  margin-bottom: 14px;
  background: rgba(31, 36, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 16px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dp-source-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #eef2fb;
}

.dp-source-icon {
  color: #c8102e;
  font-size: 0.65rem;
  line-height: 1;
  animation: dpPulse 1.4s ease-in-out infinite;
}

@keyframes dpPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.dp-src-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dp-src-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e01535 0%, #c8102e 55%, #a60d26 100%);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  text-align: center;
  transition: filter 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.dp-src-btn:hover {
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.dp-source-backup {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.dp-source-bk-label {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #b8c3df;
  font-weight: 600;
}

.dp-src-btn-sm {
  padding: 7px 12px;
  font-size: 0.8rem;
}

.dp-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #3d4450;
  color: #f1f5f9;
  border-radius: 10px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.65;
}

.dp-notice-line {
  margin: 0;
}

.dp-notice-line + .dp-notice-line {
  margin-top: 8px;
}

.dp-notice .refresh-link {
  color: #4ade80;
  font-weight: 700;
  text-decoration: underline;
}

.dp-notice .refresh-link:hover {
  color: #86efac;
}

.dp-intro {
  margin-top: 8px;
  padding: 22px 18px 26px;
  background: rgba(13, 21, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dp-intro > h2 {
  margin: 0 0 16px;
  font-size: 1.22rem;
  color: #f4f6fb;
}

.intro-meta p {
  margin: 8px 0;
  font-size: 0.92rem;
  color: #b8c3df;
}

.intro-meta strong {
  color: #e3e9fa;
}

.intro-body {
  margin: 16px 0;
  line-height: 1.75;
  font-size: 0.92rem;
  color: #aeb9d4;
}

.intro-search-title {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #b8c3df;
}

.intro-search-links a {
  margin-right: 14px;
  color: #7dd3fc;
  font-size: 0.88rem;
}

.intro-search-links a:hover {
  text-decoration: underline;
}

.intro-league-links {
  margin: 16px 0 12px;
  font-size: 0.9rem;
  color: #dce3f6;
}

.intro-league-row {
  display: inline;
}

.intro-league-row .sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.25);
}

.intro-league-row a {
  color: #93c5fd;
}

.intro-tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.intro-tag-grid a {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  text-align: center;
  font-size: 0.8rem;
  color: #dce3f6;
  background: rgba(255, 255, 255, 0.03);
}

.intro-tag-grid a:hover {
  border-color: rgba(200, 16, 46, 0.45);
  color: #fff;
}

.intro-hash-tags {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hash-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #c7d2ec;
}

.intro-footer-meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #8a96b5;
}

.intro-footer-meta a {
  color: #93c5fd;
}

.url-box {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  word-break: break-all;
  color: #aeb9d2;
  font-size: 0.82rem;
}

.intro-disclaimer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #6b7a96;
}

/* ---------- 篮球新闻内页 news/lanqiu/1.html ---------- */

.news-article-panel {
  min-width: 0;
}

.news-article-panel > .topic-hot-block {
  margin-top: 22px;
}

.news-article-page .news-side .tag-panel .sidebar-panel-title {
  color: #c8102e;
}

.news-article-header {
  margin-bottom: 6px;
}

.news-article-title {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.38;
  color: #f4f6fb;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: #8a96b5;
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-meta-icon {
  opacity: 0.65;
  font-size: 0.72rem;
}

.news-article-cover {
  margin: 18px 0 20px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.news-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.news-article-body {
  margin: 0;
  line-height: 1.85;
  font-size: 0.94rem;
  color: #aeb9d4;
}

.news-article-body p {
  margin: 0 0 14px;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

.news-related-event {
  margin-top: 22px;
  padding: 14px 16px 16px;
  border-radius: 10px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.28);
}

.news-related-event-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: black;
}

.news-rel-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-rel-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  background: #c8102e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: filter 0.2s ease, transform 0.15s ease;
}

.news-rel-btn:hover {
  filter: brightness(1.06);
}

.news-article-hash {
  margin-top: 18px;
}

.news-article-foot.intro-footer-meta {
  margin-top: 20px;
}

.news-article-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 14px;
}

.news-pager-prev,
.news-pager-next {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 0.86rem;
}

.news-pager-prev a,
.news-pager-next a {
  color: #93c5fd;
}

.news-pager-prev a:hover,
.news-pager-next a:hover {
  text-decoration: underline;
}

.sidebar-panel-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8ecf8;
}

.sidebar-panel-desc {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: #8a96b5;
  line-height: 1.45;
}

.news-group .sidebar-panel-title + .sidebar-panel-desc {
  margin-top: -2px;
}

.sidebar-league-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sidebar-league-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  background: #c8102e;
  transition: filter 0.2s ease;
}

.sidebar-league-pill:hover {
  filter: brightness(1.08);
}

.sidebar-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sidebar-panel-head .sidebar-panel-title {
  margin: 0;
}

.sidebar-panel-more {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-panel-more:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.sidebar-more {
  margin: 10px 0 0;
  padding: 0;
  text-align: right;
  font-size: 0.82rem;
}

.sidebar-more a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-more a:hover {
  text-decoration: underline;
  color: #bfdbfe;
}

.tag-list-wide {
  gap: 8px 10px;
}

.news-side .tag-panel .tag-chip[class*="tag-tone-"] {
  background: #c8102e;
  color: #fff;
}

.news-side .tag-panel .tag-chip[class*="tag-tone-"]:hover {
  background: #f87171;
}

@media (max-width: 640px) {
  .news-media-link {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-media-thumb {
    height: 168px;
  }

  .news-media-body {
    padding: 10px 12px 12px;
  }

  .news-media-title {
    font-size: 1.02rem;
    white-space: normal;
  }

  .news-article-pager {
    flex-direction: column;
  }

  .news-pager-prev,
  .news-pager-next {
    flex-basis: auto;
  }
}

/* ---------- 联赛列表 liansai/index.html ---------- */

.league-catalog-panel .league-catalog-section + .league-catalog-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.league-catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.league-catalog-head h2 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: #e8ecf8;
}

.league-catalog-head a {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #93c5fd;
}

.league-catalog-head a:hover {
  text-decoration: underline;
}

.league-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 14px;
}

.league-catalog-grid a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #93c5fd;
  text-decoration: none;
  line-height: 1.45;
}

.league-catalog-grid a:hover {
  color: #e0f2fe;
  text-decoration: underline;
}

.hot-event-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-event-cloud a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: #c8102e;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.hot-event-cloud a:hover {
  filter: brightness(1.08);
}

@media (max-width: 980px) {
  .league-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .league-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== 全站搜索遮罩 #search-main（覆盖 page-pa 浅色默认） ========== */
#search-main.search-main {
  background: rgba(6, 10, 21, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#search-main .off-search-a {
  background: linear-gradient(180deg, rgba(18, 26, 47, 0.96) 0%, rgba(10, 15, 31, 0.88) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

#search-main .search-area {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--line);
}

#search-main .search-wrap {
  width: min(1200px, 92%);
  max-width: 1200px;
  padding: 22px 18px 28px;
}

/* 不用 float，避免 .search-item 高度塌陷导致只有文字上半区可点 */
#search-main .search-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  float: none;
  width: 100%;
  margin-bottom: 12px;
}

#search-main .search-tabs .search-item {
  cursor: pointer;
  display: flex;
  align-items: stretch;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

#search-main .search-tabs .search-item span {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

#search-main .search-tabs .search-item span:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(24, 35, 63, 0.95);
}

#search-main .search-tabs .search-item.active span {
  border-color: transparent;
}

/* 各引擎选中 Tab 与对应提交按钮：主题红 */
#search-main .search-item.searchbaidu.active span,
#search-main .search-item.searchbing.active span,
#search-main .search-item.searchsogou.active span,
#search-main .search-item.search360.active span {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

#search-main .search-baidu.tab-search .searchbar button,
#search-main .search-bing.tab-search .searchbar button,
#search-main .search-sogou.tab-search .searchbar button,
#search-main .search-360.tab-search .searchbar button {
  background: var(--accent);
  color: #fff;
}

#search-main .search-baidu.tab-search .searchbar button:hover,
#search-main .search-bing.tab-search .searchbar button:hover,
#search-main .search-sogou.tab-search .searchbar button:hover,
#search-main .search-360.tab-search .searchbar button:hover {
  filter: brightness(1.1);
}

#search-main .search-input input {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px 0 0 10px;
}

#search-main .search-input input::placeholder {
  color: rgba(168, 176, 196, 0.55);
}

#search-main .search-input input:focus {
  background: rgba(18, 26, 47, 0.95);
  border-color: rgba(147, 197, 253, 0.45);
  border-right: none;
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 66, 138, 0.35);
}

#search-main .search-wrap input.baidu-input:focus,
#search-main .search-wrap input.bing-input:focus,
#search-main .search-wrap input.input-360:focus,
#search-main .search-wrap input.sogou-input:focus {
  border-color: rgba(200, 16, 46, 0.65);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.22);
}

#search-main .searchbar button {
  border-radius: 0 10px 10px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#search-main .searchbar button:hover {
  opacity: 1;
  filter: brightness(1.12);
}

#search-main .search-nav {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

#search-main .search-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#search-main .search-menu li {
  float: none;
  margin: 0;
}

#search-main .search-menu a {
  float: none;
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

#search-main .search-menu a:hover {
  background: rgba(200, 16, 46, 0.22);
  border-color: rgba(200, 16, 46, 0.5);
  color: #fff;
}

#search-main .off-search {
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

#search-main .off-search:hover {
  filter: brightness(1.08);
}

#search-main .off-search:after {
  color: #fff;
}

.main-nav .nav-search {
  color: var(--muted);
  transition: color 0.18s ease;
}

.main-nav .nav-search:hover {
  color: #93c5fd;
}

.main-nav .nav-search:after {
  color: inherit;
}

/* 亮色首屏防闪：head 内需在加载本文件前有内联脚本设置 html[data-theme="light"]。
   避免 zb1-theme-light.css 尚未到达时先出现深色底/顶栏（与 zb1-theme-light.css 关键色一致）。 */
html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #eef2f9;
  background-image: linear-gradient(165deg, #f5f7fc 0%, #e8edf6 45%, #dfe8f3 100%);
}

html[data-theme="light"] body {
  color: #1a2233;
}

html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* ---------- 专题详情页（/zhuanti/）：布局与间距；配色跟随全局主题 ---------- */
.zhuanti-detail-page .topic-detail-h1 {
  margin: 0 0 18px;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #e8ecf8;
}

.zhuanti-detail-page .topic-detail-intro {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: rgba(20, 30, 54, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.zhuanti-detail-page .topic-detail-thumb {
  flex: 0 0 280px;
  display: block;
  line-height: 0;
}

.zhuanti-detail-page .topic-detail-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.zhuanti-detail-page .topic-detail-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.zhuanti-detail-page .topic-bullet-list {
  margin: 18px 0 0;
  padding: 0 0 0 1.15rem;
  list-style: disc;
  color: var(--text);
}

.zhuanti-detail-page .topic-bullet-list li {
  margin-bottom: 10px;
}

.zhuanti-detail-page .topic-bullet-list a {
  color: #dce3f6;
  text-decoration: none;
}

.zhuanti-detail-page .topic-bullet-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.zhuanti-detail-page .topic-hot-search-block {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zhuanti-detail-page .topic-hot-search-title {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #e8ecf8;
}

.zhuanti-detail-page .topic-hot-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
}

.zhuanti-detail-page .topic-hot-search-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: #dce3f5;
}

.zhuanti-detail-page .topic-hot-search-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.zhuanti-detail-page .topic-hot-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zhuanti-detail-page .topic-hot-search-label {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #c8d4ee;
}

.zhuanti-detail-page .topic-hot-search-card:hover .topic-hot-search-label {
  color: #fff;
  text-decoration: underline;
}

.zhuanti-detail-page .news-list li a {
  white-space: normal;
}

.zhuanti-detail-page .topic-video-date {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2px;
}

@media (max-width: 980px) {
  .zhuanti-detail-page .topic-detail-intro {
    flex-direction: column;
  }

  .zhuanti-detail-page .topic-detail-thumb {
    flex-basis: auto;
    max-width: 420px;
  }

  .zhuanti-detail-page .topic-hot-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lg-top-card{display: flex;width:100%}
.lg-top-img{flex: 0.8;}
.lg-top-logo{width:100px;height:120px;margin-top:45px;align-items:center;marin-left:10px;}
.lg-top-info{flex:3.5;}
.lg-top-info h2{font-size:30px;margin-bottom:8px;color:#dce3f6;}
.lg-top-info p{color:#dce3f6;margin-bottom:6px;}
html[data-theme="light"] .lg-top-info h2 {
  color:#1a2233;
}
html[data-theme="light"] .lg-top-info p {
  color:#1a2233;
}
@media screen and (max-width:768px) {
    .lg-top-card{flex-direction:column;text-align:center;padding:20px;}
}


.match-top-card{background:linear-gradient(135deg,#1a3a5c 0%,#1e2a4a 50%,#2a1a3e 100%);border-radius:12px;padding:32px 24px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;color:#fff;position:relative;overflow:hidden}
.match-top-card::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse at 50% 0%,rgba(100,150,255,0.15) 0%,transparent 70%);pointer-events:none}
.match-team{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;min-width:0}
.match-team-tag{font-size:13px;color:rgba(255,255,255,0.7)}
.match-team-logo{width:72px;height:72px;object-fit:contain;border-radius:8px;background:rgba(255,255,255,0.05);padding:4px}
.match-team-name{font-size:16px;font-weight:600;text-align:center;word-break:break-all}
.match-center{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1.2}
.match-center-league{font-size:14px;color:rgba(255,255,255,0.8)}
.match-center-time{font-size:13px;color:rgba(255,255,255,0.65)}
.match-center-vs{font-size:36px;font-weight:700;letter-spacing:6px;margin:4px 0}
.match-center-status{font-size:13px;padding:3px 14px;border-radius:4px;background:rgba(255,255,255,0.12);display:inline-block}
.match-center-status.is-live{background:rgba(76,175,80,0.25);color:#81c784}
.match-center-status.is-end{background:rgba(158,158,158,0.2);color:#bdbdbd}
.match-center-status.is-soon{background:rgba(33,150,243,0.2);color:#90caf9}
@media(max-width:768px){.match-top-card{padding:20px 12px;border-radius:8px}.match-team-logo{width:52px;height:52px}.match-team-name{font-size:14px}.match-center-vs{font-size:26px;letter-spacing:4px}.match-center-league{font-size:13px}.match-center-time{font-size:12px}}


.citiao{
	background: rgba(8, 13, 24, 0.62);
	padding: 15px 15px;
	border-radius: 20px;
}


html[data-theme="light"] .citiao {
  background: rgba(255, 255, 255, 0.88);
}

/* 热门联赛网格样式 */
.league-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC端3列 */
  gap:12px 8px;
}
.league-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:#fff;
}
.league-img{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:6px;
}
.league-img img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.league-name{
  font-size:13px;
  color:#fff;
}
html[data-theme="light"] .league-name {
  color:#1a2233;
}
/* 移动端适配：手机改成2列 */
@media (max-width:767px){
  .league-grid{
    grid-template-columns: repeat(2,1fr);
  }
  .league-img{
    width:42px;
    height:42px;
  }
}

.tab_liansais .match-row{
	margin-top:8px
}



.btn-box{
				  	text-align:center;
				  	padding:12px 0;
				  }
				  
				  .btn-sty{
				  	padding:10px 24px;
				  	background:#c8102e;
				  	color:#fff;
				  	border:none;
				  	border-radius:6px;
				  	cursor:pointer;
				  }
				  
				  .citiao-info{
					  display: flex;
				  }

