/* =========================================
   二洋欢乐多 · 主题样式
   暖白 + 金琥珀
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F2F0EB;
  color: #3A3A3A;
  line-height: 1.8;
  min-height: 100vh;
}

::selection {
  background: #C8A86B44;
  color: #2E2E2E;
}

/* --- Container --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid #E0DCD3;
  margin-bottom: 48px;
}

.site-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2E2E2E;
  text-decoration: none;
  display: block;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.site-title:hover {
  color: #C8A86B;
}

.site-subtitle {
  font-size: 0.875rem;
  color: #8A8A8A;
  margin-top: 4px;
  display: block;
}

/* --- Hero Section --- */
.hero {
  margin-bottom: 40px;
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #5A5A5A;
  margin-bottom: 20px;
}

/* --- Category Nav --- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8125rem;
  color: #6A6A6A;
  background: transparent;
  border: 1px solid #D5D0C5;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.cat-tag:hover,
.cat-tag.active {
  background: #C8A86B;
  color: #fff;
  border-color: #C8A86B;
}

/* --- Site Navigation --- */
.site-header {
  padding: 32px 0 0;
  border-bottom: 1px solid #E0DCD3;
  margin-bottom: 48px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.site-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E0DCD3;
  margin-bottom: -1px;
  align-items: stretch;
}
.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.nav-search input {
  padding: 4px 10px;
  font-size: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  width: 120px;
  transition: width 0.2s;
}
.nav-search input:focus { width: 180px; border-color: #C8A86B; }

.nav-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8A8A8A;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: #2E2E2E;
}

.nav-link.active {
  color: #2E2E2E;
  border-bottom-color: #C8A86B;
}

/* --- Dropdown Nav --- */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-trigger { cursor: default; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #E0DCD3;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 340px;
  padding: 8px 0;
  z-index: 100;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dropdown-group { padding: 4px 0; }
.dropdown-label {
  padding: 6px 16px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #C8A86B;
  letter-spacing: 0.5px;
}
.dropdown-item {
  display: block;
  padding: 5px 16px 5px 24px;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  transition: all 0.1s;
}
.dropdown-item:hover { color: #2E2E2E; background: #f8f6f0; }

/* --- Hot Page --- */
.hot-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hot-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2E2E2E;
}

.hot-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: #9A9A9A;
}

.hot-refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  color: #C8A86B;
  background: transparent;
  border: 1px solid #C8A86B;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hot-refresh:hover {
  background: #C8A86B;
  color: #fff;
}

.hot-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.refresh-icon {
  display: inline-block;
  font-size: 1rem;
}

.refresh-icon.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Hot Tabs --- */
.hot-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hot-tab {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6A6A6A;
  background: transparent;
  border: 1px solid #D5D0C5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hot-tab:hover {
  border-color: #C8A86B;
  color: #C8A86B;
}

.hot-tab.active {
  background: #C8A86B;
  border-color: #C8A86B;
  color: #fff;
}

/* --- Hot List --- */
.hot-content {
  min-height: 200px;
}

.hot-loading {
  padding: 60px 20px;
  text-align: center;
  color: #9A9A9A;
  font-size: 0.875rem;
}

.hot-items {
  list-style: none;
  padding: 0;
}

/* NBA 新闻特殊样式 */
.nba-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nba-title {
  font-weight: 500;
  white-space: normal;
  display: block;
}

.nba-summary {
  font-size: 0.8125rem;
  color: #7A7A7A;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nba-update-time {
  font-size: 0.8rem;
  color: #888;
  padding: 10px 16px 6px;
  border-bottom: 1px solid #E8E4DB;
}

/* NBA 来源子 tab 栏 */
.nba-subtabs-container {
  margin-bottom: 20px;
}
.nba-subtabs {
  display: flex;
  gap: 5px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.nba-subtabs + .nba-subtabs {
  border-top: 1px solid #f0ede6;
  margin-top: 0;
  padding-top: 8px;
}
.nba-subtab {
  font-size: 0.78rem;
  padding: 4px 12px;
  border: 1px solid #D8D4CB;
  border-radius: 14px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.nba-subtab:hover {
  border-color: #C8A86B;
  color: #C8A86B;
}
.nba-subtab.active {
  background: #C8A86B;
  border-color: #C8A86B;
  color: #fff;
  font-weight: 600;
}
/* 来源 Tab（第一行）使用更浅的样式 */
.nba-subtabs:first-child .nba-subtab {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 10px;
  background: #f5f4f0;
  border-color: #e0ddd5;
  color: #888;
}
.nba-subtabs:first-child .nba-subtab.active {
  background: #555;
  border-color: #555;
  color: #fff;
}
/* 主题 Tab（第二行）使用更突出的样式 */
.nba-subtabs:last-child .nba-subtab {
  font-size: 0.82rem;
  padding: 5px 14px;
}

.nba-meta {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #AAAAAA;
}

.nba-source {
  color: #C8A86B;
  font-weight: 500;
}

/* NBA 来源标签颜色区分 */
.source-虎扑 {
  display: inline-block;
  background: #E53935;
  color: #fff !important;
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: 3px;
  font-weight: 600;
}
.source-ESPN {
  display: inline-block;
  background: #D32F2F;
  color: #fff !important;
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: 3px;
  font-weight: 600;
}
.source-NBAcom {
  display: inline-block;
  background: #1E88E5;
  color: #fff !important;
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: 3px;
  font-weight: 600;
}

.nba-date {
  color: #AAAAAA;
}

.hot-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #F0EDE4;
  gap: 10px;
}
.nba-item-img { flex-shrink: 0; }
.nba-item-img img { display: block; }

.hot-item:hover {
  background: #F8F6F2;
}

.hot-rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9A9A9A;
  background: #E8E4DB;
  border-radius: 4px;
  flex-shrink: 0;
}

.hot-item.rank-1 .hot-rank { background: #C8A86B; color: #fff; }
.hot-item.rank-2 .hot-rank { background: #C8A86B; color: #fff; }
.hot-item.rank-3 .hot-rank { background: #C8A86B; color: #fff; }

.hot-link {
  flex: 1;
  font-size: 0.875rem;
  color: #3A3A3A;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-link:hover {
  color: #C8A86B;
}

.hot-val {
  font-size: 0.75rem;
  color: #9A9A9A;
  flex-shrink: 0;
  white-space: nowrap;
}

.hot-source {
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 0.75rem;
  color: #9A9A9A;
  text-align: center;
}

.hot-source a {
  color: #C8A86B;
  text-decoration: none;
}

/* --- Home Layout: Sidebar + Article List --- */
.home-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

/* --- Sidebar --- */
.home-sidebar {
  width: 140px;
  flex-shrink: 0;
  position: sticky;
  top: 30px;
  align-self: flex-start;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #B0A080;
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-link {
  display: block;
  font-size: 0.88rem;
  color: #666;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.sidebar-link:hover {
  background: #F0EDE4;
  color: #333;
}

.sidebar-link.active {
  background: #C8A86B;
  color: #fff;
  font-weight: 600;
}
.sidebar-link-empty {
  color: #ccc !important;
  cursor: default !important;
}
.sidebar-link-empty:hover {
  background: transparent !important;
  color: #ccc !important;
}

/* --- Collapsible Sidebar --- */
.sidebar-collapse { margin-bottom: 8px; }
.sidebar-collapse-trigger {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.sidebar-collapse-trigger:hover { color: #2E2E2E; }
@media (max-width: 768px) {
  .sidebar-collapse .sidebar-nav { display: none; }
}
.collapse-icon {
  display: inline-block;
  font-size: 0.55rem;
  transition: transform 0.2s;
  color: #C8A86B;
}
.collapse-icon.open { transform: rotate(90deg); }

/* --- Main Content (Article List) --- */
.home-content {
  flex: 1;
  min-width: 0;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- List Card (single column) --- */
.list-card {
  display: flex;
  gap: 20px;
  padding: 18px 20px;
  background: #F8F6F2;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.list-thumb {
  width: 140px;
  height: 95px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

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

.list-body {
  flex: 1;
  min-width: 0;
}

.list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.list-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C8A86B;
  text-transform: uppercase;
}

.list-date {
  font-size: 0.72rem;
  color: #9A9A9A;
  font-weight: 400;
}

.list-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}

.list-title a {
  color: #2E2E2E;
  text-decoration: none;
  transition: color 0.2s;
}

.list-title a:hover {
  color: #C8A86B;
}

.list-excerpt {
  font-size: 0.83rem;
  color: #777;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Article Grid (Category page, kept for compatibility) --- */

.card-body {
  padding: 20px 22px;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C8A86B;
  text-transform: uppercase;
}

.card-date {
  font-size: 0.75rem;
  color: #9A9A9A;
  font-weight: 400;
}

.card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-title a {
  color: #2E2E2E;
  text-decoration: none;
  transition: color 0.2s;
}

.card-title a:hover {
  color: #C8A86B;
}

.card-excerpt {
  font-size: 0.875rem;
  color: #6A6A6A;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Single Article Page --- */
.post-article {
  max-width: 720px;
  margin: 0 auto 60px;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E0DCD3;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C8A86B;
  text-transform: uppercase;
}

.post-date {
  font-size: 0.8125rem;
  color: #9A9A9A;
}

.post-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.4;
  color: #2E2E2E;
}

/* --- Article Content --- */
.post-content {
  font-size: 1rem;
  line-height: 1.95;
  color: #3A3A3A;
}

.post-content h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: #2E2E2E;
  padding-bottom: 8px;
  border-bottom: 1px solid #E8E4DB;
}

.post-content h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #2E2E2E;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content strong {
  color: #2E2E2E;
  font-weight: 700;
}

.post-content em {
  font-style: italic;
  color: #5A5A5A;
}

.post-content a {
  color: #C8A86B;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.post-content a:hover {
  color: #A88A4B;
}

.post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #F8F6F2;
  border-left: 3px solid #C8A86B;
  color: #5A5A5A;
  font-style: normal;
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content ul,
.post-content ol {
  margin: 12px 0 16px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 6px;
}

.post-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  background: #E8E4DB;
  border-radius: 3px;
  color: #2E2E2E;
}

.post-content pre {
  margin: 20px 0;
  padding: 16px 20px;
  background: #E8E4DB;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.post-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.post-content hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #E0DCD3;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

/* --- Post Navigation --- */
.post-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #E0DCD3;
}

.back-link {
  font-size: 0.875rem;
  color: #C8A86B;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: #A88A4B;
}

/* --- Category Page --- */
.category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E0DCD3;
}

.category-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2E2E2E;
}

/* --- Footer --- */
.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid #E0DCD3;
  text-align: center;
}

.site-footer p {
  font-size: 0.8125rem;
  color: #9A9A9A;
}

/* =========================================
   Mobile Responsive — 所有页面统一在 640px 断点
   ========================================= */
@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }

  .site-header {
    padding: 20px 0 12px;
    margin-bottom: 24px;
  }

  .header-top {
    margin-bottom: 10px;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .site-subtitle {
    font-size: 0.75rem;
  }

  /* ===== 顶栏导航 ===== */
  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .site-nav::-webkit-scrollbar { display: none; }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-search {
    margin-left: 0;
    padding: 4px 0;
    width: 100%;
    order: 10;
    flex-shrink: 0;
  }
  .nav-search input {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  .nav-search input:focus { width: 100%; }

  /* ===== Home Layout: Sidebar + Article List ===== */
  .home-layout {
    flex-direction: column;
    gap: 16px;
  }
  .home-sidebar {
    width: 100%;
    position: static;
  }
  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sidebar-nav li {
    margin-bottom: 0;
  }
  .sidebar-link {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  /* ===== Article Cards ===== */
  .list-card {
    flex-direction: row;
    gap: 12px;
    padding: 12px;
    align-items: flex-start;
  }
  .list-thumb {
    width: 100px;
    height: 70px;
    border-radius: 4px;
  }
  .list-body { min-width: 0; }
  .list-title {
    font-size: 0.9rem;
  }
  .list-excerpt {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }
  .list-meta { gap: 6px; }

  /* ===== Single Article Page ===== */
  .post-article {
    padding: 0;
  }
  .post-title {
    font-size: 1.2rem;
  }
  .post-content {
    font-size: 0.92rem;
    line-height: 1.85;
  }
  .post-content h2 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
  }
  .post-content h3 {
    font-size: 1rem;
    margin: 20px 0 10px;
  }
  .post-content blockquote {
    padding: 12px 14px;
  }
  .post-content pre {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
  .post-nav { margin-top: 32px; }

  /* ===== Category Page ===== */
  .category-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }

  /* ===== Page Title (NBA/Football) ===== */
  .page-title { font-size: 1.2rem !important; }

  /* ===== Hot Tabs ===== */
  .hot-tabs {
    gap: 4px;
    margin-bottom: 16px;
  }
  .hot-tab {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .hot-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hot-title { font-size: 1.1rem; }
  .hot-toolbar { gap: 8px; }
  .hot-refresh { padding: 5px 10px; font-size: 0.78rem; }

  .hot-rank {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
  .hot-link {
    font-size: 0.82rem;
    white-space: normal;
    text-overflow: clip;
  }
  .hot-val { font-size: 0.7rem; white-space: nowrap; }
  .x-meta { font-size: 0.7rem; gap: 4px; }

  .hot-items .hot-item { padding: 6px 0; gap: 6px; }
  .hot-items li:first-child { padding-top: 0; }

  /* ===== NBA/Football 子 Tabs ===== */
  .nba-subtabs-container { margin-bottom: 12px; }
  .nba-subtabs {
    gap: 3px;
    padding: 4px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .nba-subtabs::-webkit-scrollbar { display: none; }

  .nba-subtabs:first-child .nba-subtab {
    font-size: 0.7rem;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .nba-subtabs:last-child .nba-subtab {
    font-size: 0.75rem;
    padding: 4px 10px;
    white-space: nowrap;
  }

  /* ===== NBA/Football 文章列表 ===== */
  .nba-update-time { font-size: 0.75rem; padding: 8px 12px 6px; }
  .nba-item-img img { width: 60px !important; height: 45px !important; }
  .nba-title { font-size: 0.85rem; }
  .nba-summary { font-size: 0.75rem; }
  .nba-meta { font-size: 0.7rem; gap: 6px; }
  .nba-source { font-size: 0.65rem; padding: 1px 5px; }

  .hot-source { font-size: 0.7rem; padding: 8px 12px; margin-top: 12px; }

  /* ===== Search Page ===== */
  #searchInput {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.85rem !important;
  }
  .search-page .hot-toolbar { flex-wrap: wrap; }

  /* ===== World Cup ===== */
  .wc-page { padding: 1rem 0.5rem; }
  .wc-title { font-size: 1.3rem; }
  .wc-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .wc-tab { padding: 0.5rem 1rem; font-size: 0.85rem; white-space: nowrap; }
  .wc-gc-flags { font-size: 1rem; }
  .wc-gc-name { font-size: 0.8rem; }
  .wc-gc-standings { font-size: 0.6rem; }
  .wc-match-card { padding: 0.5rem; }
  .wc-mc-teams { gap: 0.3rem; }
  .wc-mc-team { font-size: 0.75rem; }
  .wc-mc-score { font-size: 0.95rem; }

  /* ===== Footer ===== */
  .site-footer { padding: 20px 0 32px; }
  .site-footer p { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 8px; }
  .site-title { font-size: 1.05rem; }
  .nav-link { padding: 6px 8px; font-size: 0.75rem; }
  .list-thumb { width: 80px; height: 56px; }
  .list-title { font-size: 0.85rem; }
  .list-excerpt { font-size: 0.75rem; -webkit-line-clamp: 1; }
  .hot-tab { padding: 5px 8px; font-size: 0.72rem; }
  .hot-link { font-size: 0.78rem; }
}

/* --- NBA 速报页 --- */

/* =========================================
   X 趋势条目元信息
   ========================================= */
.x-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.x-time {
  color: #999;
}
.x-time::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #CCC;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- NBA 速报页 --- */
.nba-monitor-page {
  padding-bottom: 60px;
}

.monitor-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 60px;
}

.monitor-content .page-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
  margin-top: 0;
}

.monitor-content .page-subtitle {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 32px;
}

.monitor-feed .loading,
.monitor-feed .empty {
  color: #999;
  font-size: 0.9rem;
  padding: 40px 0;
  text-align: center;
}

.monitor-date-group {
  margin-bottom: 28px;
}

.monitor-date {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #C8A86B;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #EDE8DE;
}

.monitor-item {
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.monitor-headline {
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 2px;
}

.monitor-title {
  color: inherit;
}

.monitor-num {
  color: #C8A86B;
  font-weight: 700;
  margin-right: 4px;
}

.monitor-summary {
  color: #666;
  padding-left: 1.5em;
}

.monitor-time {
  color: #999;
  font-size: 0.78rem;
  padding-left: 1.5em;
  margin-top: 2px;
}

/* ===== 2026 世界杯比分专栏 ===== */
.wc-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.wc-title {
  font-size: 1.8rem;
  margin: 0 0 0.2rem;
  color: #1A3A8A;
}
.wc-subtitle {
  color: #666;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

/* Tabs */
.wc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.5rem;
}
.wc-tab {
  padding: 0.7rem 1.8rem;
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.wc-tab:hover { color: #1A3A8A; }
.wc-tab.active {
  color: #1A3A8A;
  border-bottom-color: #1A3A8A;
  font-weight: 600;
}

/* Views */
.wc-view { display: none; }
.wc-view.active { display: block; }

/* Favorites */
.wc-cal-matches {
  margin-top: 16px;
  margin-bottom: 20px;
}

.wc-favorites {
  background: #f8f6f0;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.wc-fav-header {
  padding: 0.6rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1A3A8A;
  user-select: none;
}
.wc-fav-toggle { font-size: 0.85rem; color: #888; }
.wc-fav-body { padding: 0 1rem 1rem; }
.wc-fav-select { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.wc-fav-select select {
  flex: 1;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.wc-fav-btn {
  padding: 0.4rem 1rem;
  background: #1A3A8A;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.wc-fav-btn:hover { background: #132a66; }
.wc-fav-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wc-fav-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #d0d8f0;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.85rem;
}
.wc-fav-remove {
  cursor: pointer;
  color: #E63946;
  font-weight: bold;
}
.wc-fav-empty { color: #999; font-size: 0.85rem; }

/* Group Cards */
.wc-groups-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .wc-groups-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .wc-groups-grid { grid-template-columns: repeat(3, 1fr); }
}
.wc-group-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.wc-group-card:hover { border-color: #00B4D8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.wc-group-card.active { border-color: #1A3A8A; background: #f0f4ff; }
.wc-gc-name {
  font-weight: 700;
  font-size: 1rem;
  color: #1A3A8A;
  margin-bottom: 0.4rem;
}
.wc-gc-flags { font-size: 1.3rem; margin-bottom: 0.4rem; letter-spacing: 2px; }
.wc-gc-standings { font-size: 0.7rem; color: #666; line-height: 1.3; }

/* Group Detail */
.wc-gd-title { font-size: 1.3rem; color: #1A3A8A; margin: 0 0 1rem; }

/* Standings Table */
.wc-st-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.wc-st-table th {
  background: #1A3A8A;
  color: #fff;
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
}
.wc-st-table th:first-child { border-radius: 6px 0 0 0; }
.wc-st-table th:last-child { border-radius: 0 6px 0 0; }
.wc-st-table td {
  padding: 0.4rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.wc-st-table tr:last-child td:first-child { border-radius: 0 0 0 6px; }
.wc-st-table tr:last-child td:last-child { border-radius: 0 0 6px 0; }
.wc-st-q { background: rgba(0, 180, 216, 0.12); }
.wc-st-b3 { background: rgba(46, 204, 113, 0.10); }
.wc-st-out { color: #aaa; }

/* Match Cards */
.wc-gd-matches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (max-width: 800px) {
  .wc-gd-matches { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .wc-gd-matches { grid-template-columns: 1fr; }
}
.wc-match-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  position: relative;
  transition: all 0.15s;
}
.wc-match-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.08); border-color: #ccc; }
.wc-match-card.wc-mc-live { border-left: 3px solid #E63946; }
.wc-match-card.wc-mc-finished { border-left: 3px solid #2ECC71; }
.wc-mc-stage {
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 0.3rem;
}
.wc-mc-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 0.35rem;
}
.wc-mc-venue { }
.wc-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.wc-badge-live { background: #E63946; color: #fff; animation: wc-blink 1.2s infinite; }
.wc-badge-finished { background: #2ECC71; color: #fff; }
.wc-mc-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.wc-mc-team {
  flex: 1;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-mc-team:first-child { justify-content: flex-start; }
.wc-mc-team:last-child { justify-content: flex-end; text-align: right; }
.wc-mc-score {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wc-sc-w { color: #1A3A8A; }
.wc-sc-l { color: #bbb; }
.wc-sc-sep { color: #ccc; }
.wc-mc-time {
  font-size: 0.85rem;
  color: #999;
  white-space: nowrap;
  font-weight: 600;
}
.wc-live {
  color: #E63946;
  animation: wc-blink 1.2s infinite;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-live-min {
  font-size: 0.7rem;
  background: #E63946;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  animation: none;
}
@keyframes wc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.wc-mc-pen {
  text-align: center;
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}
.wc-mc-goals {
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}
.wc-goal {
  display: inline-block;
  font-size: 0.72rem;
  color: #666;
  margin: 0 3px;
}
.wc-goal-home { }
.wc-goal-away { }
.wc-fav-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.7rem;
}

/* Bracket */
.wc-bracket-scroll {
  overflow-x: auto;
  padding-bottom: 1rem;
}
.wc-bracket {
  display: flex;
  gap: 1rem;
  min-width: 800px;
}
.wc-bracket-round {
  flex: 1;
  min-width: 160px;
}
.wc-br-label {
  text-align: center;
  font-weight: 700;
  color: #1A3A8A;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: #f0f4ff;
  border-radius: 6px;
  font-size: 0.9rem;
}
.wc-bracket-match {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.wc-bm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.3rem;
  border-radius: 4px;
  gap: 4px;
}
.wc-bm-winner {
  background: rgba(0, 180, 216, 0.10);
  font-weight: 600;
}
.wc-bm-team {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.wc-bm-score {
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 24px;
  text-align: right;
}
.wc-bm-pen {
  text-align: center;
  font-size: 0.7rem;
  color: #888;
  margin-top: 2px;
}
.wc-bm-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E63946;
  margin-bottom: 0.3rem;
}

/* Calendar */
.wc-cal-scroll {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.wc-cal-axis {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.wc-cal-day {
  text-align: center;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  min-width: 56px;
  border: 1px solid transparent;
}
.wc-cal-day:hover { background: #f0f4ff; }
.wc-cal-day.active {
  background: #1A3A8A;
  color: #fff;
}
.wc-cal-d { font-size: 0.85rem; font-weight: 600; }
.wc-cal-count { font-size: 0.7rem; color: #999; }
.wc-cal-day.active .wc-cal-count { color: rgba(255,255,255,0.7); }

.wc-cal-title {
  font-size: 1.1rem;
  color: #1A3A8A;
  margin: 0 0 1rem;
}
.wc-cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (max-width: 800px) {
  .wc-cal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .wc-cal-grid { grid-template-columns: 1fr; }
}

/* News */
.wc-news-loading { padding: 1rem; color: #888; }
.wc-news-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0.75rem; border-bottom: 2px solid #e0e0e0; }
.wc-news-tab { padding: 0.4rem 0.8rem; font-size: 0.82rem; cursor: pointer; color: #666; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; white-space: nowrap; }
.wc-news-tab:hover { color: #333; }
.wc-news-tab.active { color: #1a73e8; border-bottom-color: #1a73e8; font-weight: 600; }
.wc-news-count { font-size: 0.8rem; color: #999; margin-bottom: 0.5rem; }
.wc-news-feed { display: flex; flex-direction: column; gap: 0; }
.wc-news-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  align-items: flex-start;
}
.wc-news-item:hover { background: #f8f9ff; margin: 0 -0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; border-radius: 6px; }
.wc-news-img {
  flex-shrink: 0;
  width: 100px;
}
.wc-news-img img {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}
.wc-news-body { flex: 1; min-width: 0; }
.wc-news-src {
  font-size: 0.7rem;
  color: #1A3A8A;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: inline-block;
  background: #f0f4ff;
  padding: 0 6px;
  border-radius: 3px;
}
.wc-news-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}
.wc-news-summary {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}
.wc-news-date {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 0.2rem;
}
