* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; color: #e0e0e0; background: #0f0f1a; line-height: 1.6; }
a { color: #e0e0e0; text-decoration: none; }
a:hover { color: #00a8ff; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== Header ===== */
.header { background: #1a1a2e; position: relative; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 22px; font-weight: 700; color: #00a8ff; letter-spacing: 1px; }
.logo:hover { color: #00a8ff; text-decoration: none; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 0 14px; line-height: 60px; font-size: 15px; color: #ccc; font-weight: 500; }
.nav-item > a.active { color: #fff; border-bottom: 2px solid #00a8ff; }
.nav-item > a:hover { color: #fff; }
.nav-item.has-dropdown > a { padding-right: 22px; }
.arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #999; margin-left: 4px; vertical-align: middle; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 140px; background: #1a1a2e; box-shadow: 0 4px 12px rgba(0,0,0,0.5); border-radius: 4px; overflow: hidden; border: 1px solid #2a2a3e; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 14px; color: #ccc; border-bottom: 1px solid #2a2a3e; white-space: nowrap; }
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover { background: #00a8ff; color: #fff; }
.nav-item.has-dropdown:hover .dropdown-menu { display: block; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #00a8ff; }

/* ===== SubNav ===== */
.sub-nav { display: flex; gap: 10px; margin-bottom: 15px; }
.sub-nav a { padding: 6px 16px; font-size: 14px; color: #999; background: #1a1a2e; border-radius: 4px; border: 1px solid #2a2a3e; }
.sub-nav a.active { background: #00a8ff; color: #fff; border-color: #00a8ff; }
.sub-nav a:hover { text-decoration: none; color: #fff; }

/* ===== Main Layout ===== */
.main-layout { display: flex; gap: 20px; }
.main-layout > main { flex: 1; min-width: 0; }
.main-layout > aside { width: 340px; flex-shrink: 0; }

/* ===== Card Panel ===== */
.card-panel { background: #1a1a2e; border-radius: 8px; padding: 16px; margin-bottom: 16px; border: 1px solid #2a2a3e; }

/* ===== Section Title Bar ===== */
.section-title-bar { font-size: 18px; font-weight: 700; color: #fff; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #00a8ff; position: relative; }
.title-icon { display: inline-block; width: 4px; height: 18px; background: #00a8ff; border-radius: 2px; margin-right: 8px; vertical-align: middle; }

/* ===== Swiper ===== */
.news-swiper { width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 16px; position: relative; }
.swiper-slide { position: relative; }
.swiper-slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.swiper-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; font-size: 20px; font-weight: 700; }
.swiper-title small { font-size: 13px; color: #ccc; font-weight: 400; }

/* ===== Match Filter Tabs ===== */
.match-filter-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.filter-tag { padding: 4px 14px; font-size: 13px; color: #999; cursor: pointer; border-radius: 4px; background: #1a1a2e; border: 1px solid #2a2a3e; }
.filter-tag.active { color: #fff; background: #00a8ff; border-color: #00a8ff; }
.filter-tag:hover { color: #fff; }

/* ===== Match List ===== */
.match-list { background: #1a1a2e; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid #2a2a3e; }
.match-row { display: grid; grid-template-columns: 72px 90px 70px 1fr 60px 1fr 90px; align-items: center; padding: 10px 0; border-bottom: 1px solid #2a2a3e; font-size: 13px; }
.match-row:last-child { border-bottom: 0; }
.m-status { text-align: center; font-size: 12px; padding: 2px 6px; border-radius: 3px; background: #1e3a1e; color: #4caf50; }
.m-status.live { background: #3a1e1e; color: #e4393c; }
.m-status.finished { background: #2a2a3e; color: #999; }
.m-time { text-align: center; color: #999; }
.m-league { text-align: center; }
.m-league a { color: #999; }
.m-team { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.m-team.home { justify-content: flex-end; }
.m-team.away { justify-content: flex-start; }
.m-team img { width: 22px; height: 22px; object-fit: contain; }
.m-team a { color: #e0e0e0; }
.m-score { text-align: center; font-weight: 700; color: #e4393c; font-size: 14px; }
.m-action { text-align: center; }
.btn-live { display: inline-block; padding: 4px 12px; background: #00a8ff; color: #fff; border-radius: 4px; font-size: 12px; }
.btn-live:hover { background: #0090e0; color: #fff; text-decoration: none; }

/* ===== Tab Group ===== */
.tab-group { background: #1a1a2e; border-radius: 8px; padding: 16px; margin-bottom: 16px; border: 1px solid #2a2a3e; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; border-bottom: 1px solid #2a2a3e; padding-bottom: 10px; }
.tab-item { padding: 4px 14px; font-size: 14px; color: #999; cursor: pointer; border-radius: 4px; }
.tab-item.active { color: #00a8ff; font-weight: 600; background: rgba(0,168,255,0.1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== Side List ===== */
.side-list li { padding: 8px 0; border-bottom: 1px dashed #2a2a3e; }
.side-list li:last-child { border-bottom: 0; }
.side-list li a { display: block; font-size: 13px; color: #ccc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list li a:hover { color: #00a8ff; }

/* ===== Side Video Grid ===== */
.side-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.video-card { display: block; }
.video-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; }
.video-card span { display: block; font-size: 12px; color: #999; margin-top: 4px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-card:hover span { color: #00a8ff; }

/* ===== Tag Cloud ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-flex; align-items: center; padding: 4px 10px; background: #1a1a2e; border-radius: 4px; font-size: 13px; color: #999; border: 1px solid #2a2a3e; }
.tag-cloud a:hover { background: #00a8ff; color: #fff; text-decoration: none; border-color: #00a8ff; }
.tag-item { display: inline-flex; align-items: center; padding: 4px 10px; background: #1a1a2e; border-radius: 4px; font-size: 13px; color: #999; border: 1px solid #2a2a3e; }
.tag-item:hover { background: #00a8ff; color: #fff; text-decoration: none; }
.tag-num { color: #666; font-size: 12px; margin-left: 2px; }

/* ===== News Grid ===== */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.news-card-h { display: flex; gap: 12px; background: #1a1a2e; padding: 12px; border-radius: 8px; border: 1px solid #2a2a3e; }
.news-card-h img { width: 140px; height: 90px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.news-card-h-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-card-h-title { font-size: 15px; font-weight: 600; color: #e0e0e0; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card-h-summary { font-size: 13px; color: #999; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 4px; }
.news-card-h-meta { font-size: 12px; color: #666; margin-top: 6px; }

/* ===== Bottom Section / Hot Videos ===== */
.bottom-section { margin-bottom: 16px; }
.bottom-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.data-card { display: block; background: #1a1a2e; border-radius: 8px; overflow: hidden; border: 1px solid #2a2a3e; }
.data-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.data-card span { display: block; padding: 8px; font-size: 13px; color: #ccc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-card:hover span { color: #00a8ff; }

/* ===== Avatar Row ===== */
.avatar-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 12px 0; }
.avatar-item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 80px; }
.avatar-item img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
.avatar-item span { font-size: 12px; color: #999; text-align: center; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: #999; padding: 30px 0; margin-top: 24px; border-top: 1px solid #2a2a3e; }
.footer p { font-size: 13px; line-height: 1.8; text-align: center; }
.footer a { color: #ccc; }
.footer a:hover { color: #fff; }

/* ===== News List Vertical ===== */
.news-list { background: #1a1a2e; border-radius: 8px; padding: 16px; border: 1px solid #2a2a3e; }
.news-item-v { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #2a2a3e; }
.news-item-v:last-child { border-bottom: 0; }
.news-item-v-img { flex-shrink: 0; }
.news-item-v-img img { width: 200px; height: 130px; object-fit: cover; border-radius: 6px; }
.news-item-v-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-item-v-title { font-size: 17px; font-weight: 600; color: #e0e0e0; line-height: 1.4; margin-bottom: 8px; }
.news-item-v-title:hover { color: #00a8ff; }
.news-item-v-desc { font-size: 14px; color: #999; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; }
.news-item-v-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #666; }
.news-item-v-meta-left { display: flex; gap: 16px; }
.news-item-v-meta-left span { color: #666; }

/* ===== Pagination ===== */
.pagination-container { padding: 16px 0; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; }
.page-item .page-link { display: block; padding: 6px 12px; background: #1a1a2e; border-radius: 4px; font-size: 14px; color: #999; border: 1px solid #2a2a3e; }
.page-item.active .page-link { background: #00a8ff; color: #fff; border-color: #00a8ff; }
.page-item.disabled .page-link { color: #555; pointer-events: none; }
.page-item .page-link:hover { background: #00a8ff; color: #fff; text-decoration: none; }

/* ===== Rank List ===== */
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #2a2a3e; }
.rank-item:last-child { border-bottom: 0; }
.rank-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: #2a2a3e; color: #999; font-size: 12px; border-radius: 4px; flex-shrink: 0; }
.rank-num.top { background: #e4393c; color: #fff; }
.rank-title { font-size: 13px; color: #ccc; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rank-title:hover { color: #00a8ff; }

/* ===== Video Card with play icon ===== */
.video-card-img { position: relative; border-radius: 4px; overflow: hidden; }
.video-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.video-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; background: rgba(0,0,0,0.6); border-radius: 50%; }
.video-play-icon::after { content: ''; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #fff; }

/* ===== Detail Page ===== */
.item-content { margin-bottom: 20px; }
.item-title-container { margin: 20px auto; text-align: center; }
.item-title { font-size: 20px; font-weight: 700; color: #fff; }
.item-date-container { margin: 10px auto 20px; text-align: center; font-size: 13px; color: #999; }
.item-img-container { position: relative; margin: 20px auto; width: 90%; border-radius: 10px; padding: 10px; cursor: pointer; background: #000; }
.item-img { width: 100%; height: auto; display: block; border-radius: 6px; }
.play-btn-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; background: rgba(0,168,255,0.25); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 0 15px rgba(0,168,255,0.3); }
.play-btn-overlay::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; margin-left: 7px; }
.item-img-container:hover .play-btn-overlay { background: rgba(0,168,255,0.45); transform: translate(-50%, -50%) scale(1.08); }
.item-desc-container { padding: 10px; line-height: 30px; font-size: 14px; color: #ccc; }
.item-info-container { margin-top: 20px; }
.match-video-list { margin: 20px 0; }
.match-video-list a { display: inline-block; margin: 5px 10px 5px 0; padding: 8px 15px; background: #00a8ff; color: #fff; text-decoration: none; border-radius: 4px; font-size: 14px; }
.match-video-list a:hover { background: #0090e0; color: #fff; }
.item-tags { margin-top: 16px; font-size: 14px; color: #999; }
.item-tags a { color: #00a8ff; margin-right: 8px; }
.item-tags a:hover { text-decoration: underline; }
.prev-article { display: block; margin: 10px 0; font-size: 14px; color: #ccc; }
.prev-article:hover { color: #00a8ff; }
.no-article { display: block; margin: 10px 0; font-size: 14px; color: #666; }

/* ===== Related Live Matches ===== */
.related-live-section { margin: 20px 0; }
.related-live-list { display: flex; flex-direction: column; gap: 10px; }
.related-live-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #1a1a2e; border-radius: 8px; border: 1px solid #2a2a3e; }
.rl-date { font-size: 15px; font-weight: 600; color: #fff; min-width: 100px; }
.rl-league { font-size: 13px; color: #999; background: #2a2a3e; padding: 2px 8px; border-radius: 3px; }
.rl-teams { flex: 1; font-size: 15px; color: #e0e0e0; }
.rl-btn { display: inline-block; padding: 6px 16px; background: #00a8ff; color: #fff; border-radius: 4px; font-size: 13px; }
.rl-btn:hover { background: #0090e0; color: #fff; text-decoration: none; }

/* ===== Signal Panel ===== */
.signal-panel { margin: 18px 0; }
.signal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.signal-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 16px; background: #1a1a2e; color: #ccc; border: 1px solid #2a2a3e; border-radius: 4px; text-align: center; }
.signal-btn:hover { background: #00a8ff; color: #fff; text-decoration: none; border-color: #00a8ff; }
.signal-btn.primary { background: #00a8ff; color: #fff; border-color: #00a8ff; }
.signal-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.signal-action { font-size: 12px; }

/* ===== Match Scoreboard ===== */
.match-scoreboard { display: flex; align-items: center; justify-content: space-around; padding: 30px 0; background: #12121f; border-radius: 8px; margin: 18px 0; }
.match-scoreboard > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.match-scoreboard img { width: 60px; height: 60px; object-fit: contain; }
.match-scoreboard strong { font-size: 18px; color: #fff; }
.match-scoreboard > b { font-size: 28px; color: #e4393c; font-weight: 800; }

/* ===== Side Widget ===== */
.side-widget { background: #1a1a2e; border-radius: 8px; padding: 16px; margin-bottom: 16px; border: 1px solid #2a2a3e; }
.side-title { font-size: 16px; font-weight: 700; color: #fff; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #00a8ff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-layout { flex-direction: column; }
  .main-layout > aside { width: 100%; }
  .bottom-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 60px 80px 60px 1fr 50px 1fr 80px; font-size: 12px; }
  .related-live-item { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 8px 0; }
  .nav-menu { overflow-x: auto; width: 100%; gap: 0; }
  .nav-item > a { padding: 0 10px; line-height: 44px; font-size: 14px; }
  .bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .match-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .news-item-v { flex-direction: column; }
  .news-item-v-img img { width: 100%; height: auto; }
  .side-video-grid { grid-template-columns: repeat(2, 1fr); }
  .avatar-row { gap: 10px; }
}