/* 亮色主题：由 html[data-theme="light"] 启用，与 nba-theme.css 配套 */

html[data-theme="light"] {
  background-color: #eef2f9;
  background-image: linear-gradient(165deg, #f5f7fc 0%, #e8edf6 45%, #dfe8f3 100%);
}

html[data-theme="light"] body {
  color: #1a2233;
  background-color: #eef2f9;
  background-image: linear-gradient(165deg, #f5f7fc 0%, #e8edf6 45%, #dfe8f3 100%);
}

html[data-theme="light"] body.menu-open-lock {
  background-color: #eef2f9;
  background-image: linear-gradient(165deg, #f5f7fc 0%, #e8edf6 45%, #dfe8f3 100%);
}

html[data-theme="light"] {
  scrollbar-color: rgba(90, 100, 130, 0.75) rgba(232, 238, 248, 0.98);
}

html[data-theme="light"]::-webkit-scrollbar-track {
  background: rgba(232, 238, 248, 0.98);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"]::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(120, 135, 175, 0.55), rgba(90, 105, 145, 0.5));
  border: 3px solid rgba(232, 238, 248, 0.98);
}

html[data-theme="light"]::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(100, 115, 160, 0.65), rgba(75, 90, 130, 0.55));
}

html[data-theme="light"]::-webkit-scrollbar-button:single-button {
  background-color: rgba(218, 226, 240, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

html[data-theme="light"]::-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='%23334155' d='M5 2.5 L1.5 6.5 h7z'/%3E%3C/svg%3E");
}

html[data-theme="light"]::-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='%23334155' d='M5 7.5 L1.5 3.5 h7z'/%3E%3C/svg%3E");
}

html[data-theme="light"]::-webkit-scrollbar-button:single-button:hover {
  background-color: rgba(200, 210, 230, 0.98);
}

html[data-theme="light"] .breadcrumb {
  color: #5a6478;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .breadcrumb li:not(:last-child)::after {
  color: rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .breadcrumb a {
  color: #1d428a;
}

html[data-theme="light"] .breadcrumb a:hover {
  color: #0f2d66;
}

html[data-theme="light"] .breadcrumb [aria-current="page"] {
  color: #6b7385;
}

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

html[data-theme="light"] .brand::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(29, 66, 138, 0.12) 38%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(29, 66, 138, 0.12) 62%,
    rgba(255, 255, 255, 0) 100%
  );
}

html[data-theme="light"] .main-nav {
  color: #4a5568;
}

html[data-theme="light"] .main-nav a:hover {
  color: #1a2233;
}

html[data-theme="light"] .sub-nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .sub-nav a {
  color: #2d3748;
}

html[data-theme="light"] .sub-nav a:hover {
  background: rgba(29, 66, 138, 0.08);
}

html[data-theme="light"] .menu-toggle {
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a2233;
}

html[data-theme="light"] .menu-toggle span {
  background: #1a2233;
}

html[data-theme="light"] .menu-toggle:focus-visible {
  outline-color: #1d428a;
}

html[data-theme="light"] .top-news-carousel {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .carousel-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #1a2233;
}

html[data-theme="light"] .match-panel,
html[data-theme="light"] .news-panel {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .match-row,
html[data-theme="light"] .hot-row {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .news-feed-item {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .news-feed-time {
  color: #64748b;
}

html[data-theme="light"] .news-feed-title a {
  color: #1a2233;
}

html[data-theme="light"] .news-feed-title a:hover {
  color: #1d428a;
}

html[data-theme="light"] .news-feed-summary {
  color: #64748b;
}

html[data-theme="light"] .news-pagination {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .news-pagination .page-btn {
  color: #2d3748;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .news-pagination .page-btn:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .news-pagination .page-num {
  color: #334155;
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .news-pagination .page-num:hover {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .news-pagination .page-ellipsis {
  color: #94a3b8;
}

html[data-theme="light"] .league-tabs {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(241, 245, 249, 0.9);
}

html[data-theme="light"] .league-tab {
  color: #1a2233;
  background: #e2e8f0;
}

html[data-theme="light"] .league-tab:hover {
  background: #cbd5e1;
}

html[data-theme="light"] .match-list-update {
  border-top-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

html[data-theme="light"] .video-article-block {
  background: #d9d9d9;
}

html[data-theme="light"] .video-episode-list h3 {
  color: #1b1b1b;
}

html[data-theme="light"] .video-episode-links a {
  color: #2b2b2b;
}

html[data-theme="light"] .section-tit {
  background: #f3f4f6;
}

html[data-theme="light"] .section-tit .name {
  color: #111827;
}

html[data-theme="light"] .qy_qyxx li {
  border-color: #e5e7eb;
  color: #9ca3af;
}

html[data-theme="light"] .qy_qyxx li span {
  color: #111827;
}

html[data-theme="light"] .qdqy_lmtit {
  color: #111827;
}

html[data-theme="light"] .qdqy_content {
  color: #4b5563;
}

html[data-theme="light"] .item-block.bgwhite {
  background: #f8fafc;
  border-color: #eceff4;
}

html[data-theme="light"] .qiuyuanlist {
  background: #fff;
  border-color: #eceff4;
}

html[data-theme="light"] .hot_member_item .info {
  color: #111827;
}

html[data-theme="light"] .topic-hot-block {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .topic-hot-title {
  color: #1a2233;
}

html[data-theme="light"] .topic-hot-label {
  color: #334155;
}

html[data-theme="light"] .topic-hot-card:hover .topic-hot-label {
  color: #1d428a;
}

html[data-theme="light"] .topic-hot-thumb {
  background: rgba(241, 245, 249, 0.9);
}

html[data-theme="light"] .day-heading {
  color: #1e293b;
}

html[data-theme="light"] .day-list-title {
  color: #64748b;
}

html[data-theme="light"] .day-item {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

html[data-theme="light"] .day-item:hover {
  background: #f1f5f9;
}

html[data-theme="light"] .news-list li a {
  color: #334155;
}

html[data-theme="light"] .news-list li a:hover {
  background: rgba(29, 66, 138, 0.06);
}

html[data-theme="light"] .tag-panel h3 {
  color: #1e293b;
}

html[data-theme="light"] .news-article-page .news-side .tag-panel > h3 {
  color: #c8102e;
}

html[data-theme="light"] .league-catalog-panel .league-catalog-section + .league-catalog-section {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .league-catalog-head h2 {
  color: #1a2233;
}

html[data-theme="light"] .league-catalog-grid a {
  color: #1d428a;
}

html[data-theme="light"] .league-catalog-grid a:hover {
  color: #1e40af;
}

html[data-theme="light"] .match-time {
  color: #475569;
}

html[data-theme="light"] .team-home,
html[data-theme="light"] .team-away {
  color: #1a2233;
}

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

html[data-theme="light"] .section-head h2 {
  color: #1a2233;
}

html[data-theme="light"] .section-head a {
  color: #1d428a;
}

html[data-theme="light"] .footer-link-box {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.92));
  color: #334155;
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .friend-links a {
  color: #475569;
}

html[data-theme="light"] .friend-links a:hover {
  color: #1d428a;
}

html[data-theme="light"] .video-item {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .video-title,
html[data-theme="light"] .video-date {
  color: #475569;
}

html[data-theme="light"] .video-item:hover .video-title,
html[data-theme="light"] .video-item:hover .video-date {
  color: #1a2233;
}

html[data-theme="light"] .footer-dark {
  background: linear-gradient(180deg, #e8edf6, #dfe7f0);
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .footer-inner {
  color: #475569;
}

html[data-theme="light"] .footer-copy {
  color: #64748b;
}

html[data-theme="light"] .game-card,
html[data-theme="light"] .news-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .game-card h3,
html[data-theme="light"] .news-card h3 {
  color: #1a2233;
}

html[data-theme="light"] .game-card p,
html[data-theme="light"] .news-card p {
  color: #64748b;
}

html[data-theme="light"] .hot-carousel-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #1a2233;
}

html[data-theme="light"] .hot-carousel-btn:hover {
  background: #f1f5f9;
}

html[data-theme="light"] .hot-dot {
  background: rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .hot-dot.is-active {
  background: #1d428a;
}

html[data-theme="light"] .room-btn {
  color: #fff;
}

html[data-theme="light"] .side-tool-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #1a2233;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 14px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .side-tool-btn:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .side-tool-btn.theme-toggle {
  background: linear-gradient(180deg, #fff9e6, #fff3cc);
  border-color: rgba(180, 140, 40, 0.35);
  color: #7c5d12;
  font-weight: 700;
}

html[data-theme="light"] .side-tool-btn.theme-toggle:hover {
  background: linear-gradient(180deg, #fff3cc, #ffe9a8);
  border-color: rgba(180, 140, 40, 0.5);
}

html[data-theme="light"] .side-tool-btn.go-top {
  background: rgba(200, 16, 46, 0.92);
  border-color: rgba(200, 16, 46, 0.95);
  color: #fff;
}

html[data-theme="light"] .side-tool-btn.go-top:hover {
  background: rgba(166, 12, 38, 0.96);
  border-color: rgba(166, 12, 38, 1);
  color: #fff;
}

html[data-theme="light"] .hero-main,
html[data-theme="light"] .hero-side {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .hero-main h1 {
  color: #1a2233;
}

html[data-theme="light"] .hero-time {
  color: #64748b;
}

html[data-theme="light"] .hero-desc {
  color: #475569;
}

html[data-theme="light"] .btn-secondary {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #1a2233;
}

html[data-theme="light"] .live-list li {
  background: rgba(241, 245, 249, 0.85);
}

html[data-theme="light"] .live-list span {
  color: #334155;
}

html[data-theme="light"] .hero-side h2 {
  color: #1e293b;
}

html[data-theme="light"] .live-signals-panel {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .live-signals-title {
  color: #1a2233;
}

html[data-theme="light"] .live-signals-backup-label {
  color: #475569;
}

html[data-theme="light"] .live-signals-backup {
  border-top-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .live-match-intro {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .live-match-intro > h2 {
  color: #1a2233;
}

html[data-theme="light"] .intro-meta p {
  color: #475569;
}

html[data-theme="light"] .intro-meta strong {
  color: #1e293b;
}

html[data-theme="light"] .intro-body {
  color: #64748b;
}

html[data-theme="light"] .intro-search-title {
  color: #64748b;
}

html[data-theme="light"] .intro-league-links {
  color: #334155;
}

html[data-theme="light"] .intro-tag-grid a {
  color: #334155;
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .hash-chip {
  background: #f1f5f9;
  color: #475569;
}

html[data-theme="light"] .intro-footer-meta {
  color: #64748b;
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .url-box {
  background: #f1f5f9;
  color: #64748b;
}

html[data-theme="light"] .intro-disclaimer {
  color: #94a3b8;
}

html[data-theme="light"] .news-article-title {
  color: #1a2233;
}

html[data-theme="light"] .news-article-meta {
  color: #64748b;
}

html[data-theme="light"] .news-article-body {
  color: #475569;
}

html[data-theme="light"] .news-related-live {
  background: rgba(74, 144, 226, 0.08);
  border-color: rgba(74, 144, 226, 0.22);
}

html[data-theme="light"] .news-related-live-title {
  color: #1e40af;
}

html[data-theme="light"] .sidebar-panel-title {
  color: #1a2233;
}

html[data-theme="light"] .sidebar-panel-desc {
  color: #64748b;
}

html[data-theme="light"] .sidebar-panel-more,
html[data-theme="light"] .sidebar-more a {
  color: #1d428a;
}

html[data-theme="light"] .sidebar-panel-more:hover,
html[data-theme="light"] .sidebar-more a:hover {
  color: #0f2d66;
}

html[data-theme="light"] .news-pager-prev a,
html[data-theme="light"] .news-pager-next a {
  color: #1d428a;
}

html[data-theme="light"] .news-article-cover {
  background: #f1f5f9;
}

html[data-theme="light"] .news-article-hash .hash-chip {
  background: rgba(241, 245, 249, 0.95);
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .news-side .tag-panel .tag-chip[class*="tag-tone-"] {
  color: #fff;
}

html[data-theme="light"] .news-media-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .news-media-title {
  color: #1a2233;
}

html[data-theme="light"] .news-media-summary {
  color: #51607a;
}

html[data-theme="light"] .news-media-meta {
  color: #6b7a95;
}

html[data-theme="light"] .news-media-meta a {
  color: #1d428a;
}

html[data-theme="light"] .news-media-meta a:hover {
  color: #0f2d66;
}

html[data-theme="light"] .news-media-meta span + span::before {
  color: #93a0ba;
}

html[data-theme="light"] .news-media-item:hover {
  border-color: rgba(29, 66, 138, 0.22);
}

html[data-theme="light"] .news-media-item:hover .news-media-title {
  color: #0f2d66;
}

@media (max-width: 980px) {
  html[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
  }

  html[data-theme="light"] .nav-item > a {
    color: #1a2233;
    border-bottom-color: rgba(0, 0, 0, 0.08);
  }

  html[data-theme="light"] .sub-nav {
    background: rgba(248, 250, 252, 0.98);
  }

  html[data-theme="light"] .sub-nav a {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    color: #334155;
  }
}

/* 亮色：全站搜索遮罩 */
html[data-theme="light"] #search-main.search-main {
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

html[data-theme="light"] #search-main .off-search-a {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.94) 100%);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] #search-main .search-area {
  background: #fff;
  color: #1a2233;
  border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] #search-main .search-tabs .search-item span {
  background: #f1f5f9;
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] #search-main .search-tabs .search-item span:hover {
  color: #1a2233;
  background: #e2e8f0;
  border-color: rgba(29, 66, 138, 0.2);
}

html[data-theme="light"] #search-main .search-input input {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a2233;
}

html[data-theme="light"] #search-main .search-input input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] #search-main .search-input input:focus {
  background: #fff;
  border-color: rgba(29, 66, 138, 0.45);
  box-shadow: 0 0 0 2px rgba(29, 66, 138, 0.15);
}

html[data-theme="light"] #search-main .search-nav {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] #search-main .search-menu a {
  color: #475569;
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] #search-main .search-menu a:hover {
  background: rgba(200, 16, 46, 0.12);
  border-color: rgba(200, 16, 46, 0.35);
  color: #9f1239;
}

html[data-theme="light"] .main-nav .nav-search {
  color: #64748b;
}

html[data-theme="light"] .main-nav .nav-search:hover {
  color: #1d428a;
}

html[data-theme="light"] .zhuanti-detail-page .topic-detail-h1 {
  color: #1a2233;
}

html[data-theme="light"] .zhuanti-detail-page .topic-detail-intro {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .zhuanti-detail-page .topic-detail-summary p {
  color: #64748b;
}

html[data-theme="light"] .zhuanti-detail-page .topic-bullet-list {
  color: #1a2233;
}

html[data-theme="light"] .zhuanti-detail-page .topic-bullet-list a {
  color: #334155;
}

html[data-theme="light"] .zhuanti-detail-page .topic-bullet-list a:hover {
  color: #1d428a;
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-block {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-title {
  color: #1a2233;
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-card {
  color: #334155;
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-thumb {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-label {
  color: #475569;
}

html[data-theme="light"] .zhuanti-detail-page .topic-hot-search-card:hover .topic-hot-search-label {
  color: #1d428a;
}

html[data-theme="light"] .zhuanti-detail-page .topic-video-date {
  color: #64748b;
}

html[data-theme="light"] .zhuanti-detail-page .news-list li a:hover {
  background: rgba(29, 66, 138, 0.06);
}
