/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background: #00002e;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ========== 导航栏 ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #007bff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-link.active {
  color: #007bff;
  font-weight: 600;
}

.arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 4px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 右侧按钮 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.avatar-btn:hover {
  background: #0056b3;
}

/* 头像下拉菜单 */
.avatar-wrapper {
  position: relative;
}

.avatar-wrapper .avatar-btn.logged-in {
  cursor: default;
}

.avatar-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 4px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
  z-index: 1500;
}

.avatar-wrapper:hover .avatar-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.avatar-greeting {
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.avatar-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2px 0;
}

.avatar-dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.avatar-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.avatar-dropdown-logout {
  color: rgba(244, 67, 54, 0.8);
}

.avatar-dropdown-logout:hover {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
}

/* 管理员头像 */
.avatar-btn.admin-avatar {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  cursor: pointer;
}

.avatar-btn.admin-avatar:hover {
  background: linear-gradient(135deg, #f57c00, #e65100);
}

/* ========== 页面内容 ========== */
.page {
  padding: 32px;
}

.page h1 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #fff;
}

.page > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 16px;
}

.card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* 占位区块 */
.placeholder {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 4px;
  color: #6c757d;
}

/* ========== 表单 ========== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 480px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background: #0056b3;
}

/* ========== 表格 ========== */
.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #fff;
}

tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ========== 列表 ========== */
.list-item {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease;
}

.list-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.list-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #fff;
}

.list-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.list-item .meta {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== 搜索栏 ========== */
.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-bar input {
  flex: 1;
  max-width: 360px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-bar input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.search-bar button {
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.search-bar button:hover {
  background: #0056b3;
}

/* ========== 页脚 ========== */
.site-footer {
  margin-top: auto;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

/* body 需要撑满页面 */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
}

/* ========== 新闻资讯页面 ========== */
.news-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.news-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.news-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.news-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.news-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.filter-option input[type="radio"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.filter-confirm {
  background: #007bff;
  color: #fff;
}

.filter-confirm:hover {
  background: #0056b3;
}

/* 中间新闻列表 */
.news-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 每行：新闻卡片 + 来源卡片 */
.news-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* 新闻卡片 */
.news-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.news-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
}

.news-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-card-category {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.15);
  color: #007bff;
  border-radius: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

.news-card-top {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 71, 87, 0.15);
  color: #e74c3c;
  border-radius: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

.news-card-title h3 {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 500;
  margin: 0;
}

.news-card-summary {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.6;
  margin-top: 0;
}

.news-card:hover .news-card-summary {
  max-height: 60px;
  opacity: 1;
  margin-top: 10px;
}

/* 来源卡片（与新闻卡片同行，固定高度，顶部对齐） */
.source-card {
  width: 180px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  box-sizing: border-box;
}

.source-card-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.source-card-source {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.source-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s;
}

.source-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.source-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 */
.news-load-more {
  text-align: center;
  padding: 24px 0;
}

.load-more-btn {
  padding: 10px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.load-more-btn.disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
}

.news-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}


/* ========== 新闻详情页 ========== */
.detail-page {
  flex: 1;
  padding: 32px;
}

.detail-layout {
  display: flex;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.detail-main {
  flex: 1;
  min-width: 0;
}

.detail-back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 0.15s;
}

.detail-back:hover {
  color: #fff;
}

/* 白色卡片 */
.detail-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.detail-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-title {
  font-size: 26px;
  color: #1a1a2e;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

.detail-meta-divider {
  margin: 0 4px;
}

.detail-body {
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.75);
  font-size: 16px;
}

.detail-body p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.detail-error {
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  font-size: 16px;
  padding: 48px 0;
}

/* 右侧操作栏 */
.detail-sidebar {
  width: 56px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.detail-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 52px;
  height: 64px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 11px;
}

.detail-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.detail-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.3);
  background: rgba(255, 71, 87, 0.1);
}

.detail-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

.detail-action-count {
  font-size: 12px;
  font-weight: 500;
}

/* 推荐新闻 */
.detail-recommend {
  margin-top: 32px;
}

.detail-recommend-title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-recommend-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.detail-recommend-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.detail-recommend-item .rec-category {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.15);
  color: #64b5f6;
  border-radius: 4px;
  font-size: 11px;
  flex-shrink: 0;
}

.detail-recommend-item .rec-title {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-recommend-item .rec-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* ========== 竞赛信息页面 ========== */
.comp-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.comp-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.comp-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.comp-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.comp-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.comp-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.comp-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.comp-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.comp-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.comp-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.comp-filter-panel .filter-section {
  margin-bottom: 20px;
}

.comp-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comp-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.comp-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.comp-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.comp-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.comp-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.comp-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.comp-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.comp-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 竞赛卡片网格 */
.comp-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 竞赛卡片 */
.comp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.comp-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.comp-card:hover .comp-card-image {
  opacity: 0;
}

.comp-card-image .comp-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.comp-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.comp-card:hover .comp-card-info {
  opacity: 1;
}

.comp-card-info .comp-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.comp-info-status.status-completed {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.comp-info-status.status-registering {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.comp-info-status.status-upcoming {
  background: rgba(33, 150, 243, 0.2);
  color: #42a5f5;
}

.comp-info-status.status-ongoing {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.comp-card-info .comp-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.comp-card-info .comp-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 70px;
  flex-shrink: 0;
}

.comp-card-info .comp-info-level {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.2);
  color: #64b5f6;
  border-radius: 4px;
  font-size: 12px;
}

/* 卡片底部操作按钮 */
.comp-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.comp-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.comp-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.comp-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.comp-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.comp-load-more {
  text-align: center;
  padding: 24px 0;
}

.comp-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* 竞赛详情页 */
.comp-detail-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.comp-detail-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comp-detail-title {
  font-size: 26px;
  color: #1a1a2e;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}

.comp-detail-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.comp-detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.comp-detail-field {
  padding: 14px 18px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #007bff;
}

.comp-detail-field-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-detail-field-value {
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 500;
}

.comp-detail-section {
  margin-bottom: 24px;
}

.comp-detail-section-title {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

.comp-detail-section-content {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.8;
  white-space: pre-line;
}

.comp-detail-results {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.1));
  border-radius: 8px;
  border: 1px solid rgba(0, 123, 255, 0.15);
}

/* 竞赛详情推荐 */
.comp-detail-recommend {
  margin-top: 32px;
}

.comp-detail-recommend-title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

.comp-detail-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-detail-recommend-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.comp-detail-recommend-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.comp-detail-recommend-item .rec-level {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.15);
  color: #64b5f6;
  border-radius: 4px;
  font-size: 11px;
  flex-shrink: 0;
}

.comp-detail-recommend-item .rec-title {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comp-detail-recommend-item .rec-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 1200px) {
  .comp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }

  .comp-layout {
    flex-direction: column;
  }

  .comp-filter-panel {
    width: 100%;
    min-width: 0;
  }

  .comp-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 训练营页面 ========== */
.camp-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.camp-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.camp-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.camp-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.camp-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.camp-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.camp-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.camp-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.camp-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.camp-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.camp-filter-panel .filter-section {
  margin-bottom: 20px;
}

.camp-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.camp-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.camp-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.camp-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.camp-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.camp-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.camp-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.camp-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.camp-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.camp-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.camp-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 训练营卡片网格 */
.camp-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.camp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 训练营卡片 */
.camp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.camp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.camp-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.camp-card:hover .camp-card-image {
  opacity: 0;
}

.camp-card-image .camp-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.camp-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.camp-card:hover .camp-card-info {
  opacity: 1;
}

.camp-card-info .camp-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.camp-info-status.status-registering {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.camp-info-status.status-almost-full {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.camp-info-status.status-full {
  background: rgba(244, 67, 54, 0.2);
  color: #ef5350;
}

.camp-info-status.status-completed {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.camp-card-info .camp-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.camp-card-info .camp-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 50px;
  flex-shrink: 0;
}

.camp-card-info .camp-info-level {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.2);
  color: #64b5f6;
  border-radius: 4px;
  font-size: 12px;
}

/* 卡片底部操作按钮 */
.camp-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.camp-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.camp-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.camp-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.camp-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.camp-load-more {
  text-align: center;
  padding: 24px 0;
}

.camp-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* 训练营响应式 */
@media (max-width: 1200px) {
  .camp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .camp-grid {
    grid-template-columns: 1fr;
  }

  .camp-layout {
    flex-direction: column;
  }

  .camp-filter-panel {
    width: 100%;
    min-width: 0;
  }
}

/* 训练营详情页 */
.camp-detail-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.camp-detail-img-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a237e, #283593);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.camp-detail-img-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* 报名方式卡片 */
.camp-register-card {
  width: 220px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.camp-register-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.camp-register-close:hover {
  color: #333;
}

.camp-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.camp-register-field {
  margin-bottom: 10px;
}

.camp-register-field:last-child {
  margin-bottom: 0;
}

.camp-register-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.camp-register-value {
  font-size: 13px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}

/* ========== 政策法规页面 ========== */
.policy-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.policy-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.policy-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.policy-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

.policy-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.policy-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.policy-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.policy-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.policy-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
}

.policy-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.policy-card-category {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.15);
  color: #007bff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.policy-card-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.policy-card-status.status-in-effect {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.policy-card-status.status-effective-soon {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}

.policy-card-status.status-repealed {
  background: rgba(158, 158, 158, 0.15);
  color: #9e9e9e;
}

.policy-card-title h3 {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

.policy-card-summary {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
  margin-top: 0;
}

.policy-card:hover .policy-card-summary {
  max-height: 100px;
  opacity: 1;
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.7);
}

.meta-card {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
}

.meta-card-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.meta-card-source {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.meta-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.meta-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.15s;
  color: rgba(255, 255, 255, 0.5);
}

.meta-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.meta-action-btn.active {
  color: #ff4757;
}

.policy-load-more {
  text-align: center;
  padding: 24px 0;
}

.policy-empty {
  text-align: center;
  padding: 60px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
}

/* ========== 政策详情页 ========== */
.policy-detail-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 24px;
}

.policy-detail-header {
  margin-bottom: 24px;
}

.policy-detail-title {
  font-size: 24px;
  color: #1a1a2e;
  font-weight: 700;
  line-height: 1.4;
}

.policy-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.policy-detail-field {
  background: #f8f9fa;
  border-left: 3px solid #007bff;
  border-radius: 6px;
  padding: 12px 16px;
}

.policy-detail-field-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-detail-field-value {
  font-size: 14px;
  color: #1a1a2e;
  font-weight: 500;
}

.policy-info-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.policy-info-status.status-in-effect {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.policy-info-status.status-effective-soon {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}

.policy-info-status.status-repealed {
  background: rgba(158, 158, 158, 0.15);
  color: #9e9e9e;
}

.policy-detail-section {
  margin-bottom: 24px;
}

.policy-detail-section-title {
  font-size: 18px;
  color: #1a1a2e;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007bff;
}

.policy-detail-section-content {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.8;
}

.policy-detail-section-content.summary-content {
  background: #f0f4ff;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  font-style: italic;
}

.policy-detail-recommend {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .policy-layout {
    flex-direction: column;
  }

  .policy-filter-panel {
    width: 100%;
    min-width: 0;
  }

  .policy-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .policy-row {
    flex-direction: column;
  }

  .meta-card {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 0 0 12px;
  }
}

/* ========== 兴趣班列表页 ========== */
.ic-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.ic-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.ic-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.ic-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.ic-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.ic-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.ic-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.ic-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.ic-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.ic-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.ic-filter-panel .filter-section {
  margin-bottom: 20px;
}

.ic-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ic-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ic-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.ic-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ic-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ic-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ic-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.ic-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ic-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ic-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.ic-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 兴趣班卡片网格 */
.ic-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.ic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 兴趣班卡片 */
.ic-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.ic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.ic-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.ic-card:hover .ic-card-image {
  opacity: 0;
}

.ic-card-image .ic-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.ic-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.ic-card:hover .ic-card-info {
  opacity: 1;
}

.ic-card-info .ic-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.ic-info-status.status-registering {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.ic-info-status.status-almost-full {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.ic-info-status.status-full {
  background: rgba(244, 67, 54, 0.2);
  color: #ef5350;
}

.ic-info-status.status-completed {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.ic-card-info .ic-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.ic-card-info .ic-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 70px;
  flex-shrink: 0;
}

/* 卡片底部操作按钮 */
.ic-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.ic-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.ic-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.ic-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.ic-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.ic-load-more {
  text-align: center;
  padding: 24px 0;
}

.ic-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.load-more-btn {
  padding: 10px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.load-more-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 兴趣班报名卡片 */
.ic-register-card {
  width: 220px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ic-register-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.ic-register-close:hover {
  color: #333;
}

.ic-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.ic-register-field {
  margin-bottom: 10px;
}

.ic-register-field:last-child {
  margin-bottom: 0;
}

.ic-register-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ic-register-value {
  font-size: 13px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}

/* 响应式 */
@media (max-width: 1200px) {
  .ic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ic-grid {
    grid-template-columns: 1fr;
  }

  .ic-layout {
    flex-direction: column;
  }

  .ic-filter-panel {
    width: 100%;
    min-width: 0;
  }
}

/* ========== 集训机会列表页 ========== */
.tr-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.tr-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.tr-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.tr-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.tr-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.tr-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.tr-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.tr-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.tr-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.tr-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.tr-filter-panel .filter-section {
  margin-bottom: 20px;
}

.tr-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tr-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tr-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.tr-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tr-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tr-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.tr-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tr-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tr-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.tr-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 集训卡片网格 */
.tr-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 集训卡片 */
.tr-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.tr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.tr-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.tr-card:hover .tr-card-image {
  opacity: 0;
}

.tr-card-image .tr-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.tr-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.tr-card:hover .tr-card-info {
  opacity: 1;
}

.tr-card-info .tr-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.tr-info-status.status-registering {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.tr-info-status.status-almost-full {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.tr-info-status.status-full {
  background: rgba(244, 67, 54, 0.2);
  color: #ef5350;
}

.tr-info-status.status-completed {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.tr-card-info .tr-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.tr-card-info .tr-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 70px;
  flex-shrink: 0;
}

/* 卡片底部操作按钮 */
.tr-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.tr-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.tr-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.tr-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.tr-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.tr-load-more {
  text-align: center;
  padding: 24px 0;
}

.tr-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* 集训报名卡片 */
.tr-register-card {
  width: 220px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.tr-register-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.tr-register-close:hover {
  color: #333;
}

.tr-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.tr-register-field {
  margin-bottom: 10px;
}

.tr-register-field:last-child {
  margin-bottom: 0;
}

.tr-register-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tr-register-value {
  font-size: 13px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}

/* 响应式 */
@media (max-width: 1200px) {
  .tr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tr-grid {
    grid-template-columns: 1fr;
  }

  .tr-layout {
    flex-direction: column;
  }

  .tr-filter-panel {
    width: 100%;
    min-width: 0;
  }
}

/* ========== 讲座与在线课程列表页 ========== */
.lc-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.lc-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.lc-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.lc-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.lc-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.lc-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.lc-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lc-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.lc-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.lc-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.lc-filter-panel .filter-section {
  margin-bottom: 20px;
}

.lc-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lc-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.lc-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lc-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lc-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lc-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.lc-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lc-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lc-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.lc-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 课程卡片网格 */
.lc-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.lc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 课程卡片 */
.lc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.lc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.lc-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.lc-card:hover .lc-card-image {
  opacity: 0;
}

.lc-card-image .lc-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.lc-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.lc-card:hover .lc-card-info {
  opacity: 1;
}

.lc-card-info .lc-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.lc-info-status.status-available {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.lc-info-status.status-upcoming {
  background: rgba(33, 150, 243, 0.2);
  color: #42a5f5;
}

.lc-info-status.status-ongoing {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.lc-info-status.status-ended {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.lc-card-info .lc-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.lc-card-info .lc-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 70px;
  flex-shrink: 0;
}

/* 卡片底部操作按钮 */
.lc-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.lc-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.lc-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lc-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.lc-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.lc-load-more {
  text-align: center;
  padding: 24px 0;
}

.lc-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* 课程报名卡片 */
.lc-enroll-card {
  width: 220px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.lc-enroll-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.lc-enroll-close:hover {
  color: #333;
}

.lc-enroll-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.lc-enroll-field {
  margin-bottom: 10px;
}

.lc-enroll-field:last-child {
  margin-bottom: 0;
}

.lc-enroll-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lc-enroll-value {
  font-size: 13px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}

/* 响应式 */
@media (max-width: 1200px) {
  .lc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lc-grid {
    grid-template-columns: 1fr;
  }

  .lc-layout {
    flex-direction: column;
  }

  .lc-filter-panel {
    width: 100%;
    min-width: 0;
  }
}

/* ========== 专业教练页面 ========== */
.co-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.co-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.co-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.co-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 24px 0;
  gap: 0;
}

/* 左侧筛选栏 */
.co-filter-panel {
  width: 12.5%;
  min-width: 120px;
  padding: 0 16px;
  flex-shrink: 0;
}

.co-filter-panel .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.co-filter-panel .filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.co-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
  color: #64b5f6;
}

.co-filter-panel .filter-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.co-filter-panel .filter-panel-content.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}

.co-filter-panel .filter-section {
  margin-bottom: 20px;
}

.co-filter-panel .filter-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.co-filter-panel .filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.co-filter-panel .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s;
}

.co-filter-panel .filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.co-filter-panel .filter-option input[type="checkbox"] {
  accent-color: #007bff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.co-filter-panel .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.co-filter-panel .filter-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.co-filter-panel .filter-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.co-filter-panel .filter-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.co-filter-panel .filter-confirm {
  background: #007bff;
  color: #fff;
}

.co-filter-panel .filter-confirm:hover {
  background: #0056b3;
}

/* 教练卡片网格 */
.co-main {
  flex: 1;
  padding: 0 24px;
  min-width: 0;
}

.co-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 教练卡片 */
.co-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.co-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片图片区域 */
.co-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 1;
}

.co-card:hover .co-card-image {
  opacity: 0;
}

.co-card-image .co-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 悬浮信息层 */
.co-card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.co-card:hover .co-card-info {
  opacity: 1;
}

.co-card-info .co-info-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.co-info-status.status-active {
  background: rgba(76, 175, 80, 0.2);
  color: #66bb6a;
}

.co-info-status.status-retired {
  background: rgba(158, 158, 158, 0.2);
  color: #bdbdbd;
}

.co-info-status.status-parttime {
  background: rgba(255, 152, 0, 0.2);
  color: #ffa726;
}

.co-card-info .co-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.co-card-info .co-info-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 70px;
  flex-shrink: 0;
}

.co-card-info .co-info-level {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 123, 255, 0.2);
  color: #64b5f6;
  border-radius: 4px;
  font-size: 12px;
}

/* 卡片底部操作按钮 */
.co-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 3;
}

.co-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.co-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.co-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.15);
}

.co-action-btn.active svg {
  fill: #ff4757;
  stroke: #ff4757;
}

/* 加载更多 & 空状态 */
.co-load-more {
  text-align: center;
  padding: 24px 0;
}

.co-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* 教练详情页 */
.co-detail-card {
  background: rgba(255, 255, 255, 0.95);
}

/* 联系信息卡片 */
.co-contact-card {
  width: 240px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.co-contact-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.co-contact-close:hover {
  color: #333;
}

.co-contact-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.co-contact-field {
  margin-bottom: 10px;
}

.co-contact-field:last-child {
  margin-bottom: 0;
}

.co-contact-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.co-contact-value {
  font-size: 13px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}

/* 详情页头像 */
.co-detail-avatar {
  width: 180px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.co-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 响应式 */
@media (max-width: 1200px) {
  .co-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .co-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-layout {
    flex-direction: column;
  }

  .co-filter-panel {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .co-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 喜欢列表页 ========== */
.fav-page-header {
  padding: 24px 0 0;
  text-align: center;
}

.fav-page-header h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.fav-page-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.fav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px 48px;
}

/* 未登录提示 */
.fav-login-prompt {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

/* 空状态 */
.fav-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
}

/* 板块标题 */
.fav-section {
  margin-bottom: 36px;
}

.fav-section-title {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 123, 255, 0.5);
  display: inline-block;
}

/* 卡片网格 */
.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* 分类卡片 */
.fav-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  cursor: default;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.fav-card.has-items {
  cursor: pointer;
}

.fav-card.has-items:hover {
  border-color: rgba(0, 123, 255, 0.4);
  background: rgba(0, 123, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.fav-card.expanded {
  border-color: rgba(0, 123, 255, 0.6);
  background: rgba(0, 123, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 卡片头部 */
.fav-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fav-card-title {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.fav-card-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.fav-card.has-items .fav-card-count {
  color: #64b5f6;
}

/* 悬浮提示 */
.fav-card-hover-hint {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 30, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  border-radius: 12px;
  z-index: 2;
}

.fav-card.has-items:hover .fav-card-hover-hint {
  opacity: 1;
}

.fav-card.expanded .fav-card-hover-hint {
  display: none;
}

/* 展开列表 */
.fav-card-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.3s ease;
  margin-top: 0;
}

.fav-card.expanded .fav-card-list {
  max-height: 2000px;
  margin-top: 16px;
}

.fav-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fav-list-item:last-child {
  border-bottom: none;
}

.fav-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64b5f6;
  flex-shrink: 0;
}

.fav-list-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-list-link:hover {
  color: #64b5f6;
  text-decoration: underline;
}

/* ========== Light Theme (Public Site) ========== */
body[data-theme="light"] {
  background: #f0f2f5 !important;
  color: #1a1a2e;
}

/* Broad text override: force dark text on all elements in light theme */
body[data-theme="light"] * {
  color: #1a1a2e;
}

/* Exceptions: elements that should keep white text (colored backgrounds) */
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-danger,
body[data-theme="light"] .camp-action-btn.active,
body[data-theme="light"] .co-action-btn.active,
body[data-theme="light"] .interest-action-btn.active,
body[data-theme="light"] .training-action-btn.active,
body[data-theme="light"] .lecture-action-btn.active,
body[data-theme="light"] .career-apply-btn,
body[data-theme="light"] .career-action-btn.active,
body[data-theme="light"] .venue-contact-btn,
body[data-theme="light"] .news-read-more,
body[data-theme="light"] .camp-register-btn,
body[data-theme="light"] .co-contact-btn,
body[data-theme="light"] .interest-register-btn,
body[data-theme="light"] .training-apply-btn,
body[data-theme="light"] .lecture-register-btn,
body[data-theme="light"] .dir-contact-btn,
body[data-theme="light"] .detail-back-btn,
body[data-theme="light"] .detail-share-btn,
body[data-theme="light"] .detail-fav-btn,
body[data-theme="light"] .news-detail-back,
body[data-theme="light"] .competition-back-btn,
body[data-theme="light"] .policy-back-btn,
body[data-theme="light"] .ranking-back-btn,
body[data-theme="light"] .camp-back-btn,
body[data-theme="light"] .co-back-btn,
body[data-theme="light"] .interest-back-btn,
body[data-theme="light"] .training-back-btn,
body[data-theme="light"] .lecture-back-btn,
body[data-theme="light"] .career-back-btn,
body[data-theme="light"] .dir-back-btn,
body[data-theme="light"] .venue-back-btn,
body[data-theme="light"] .announcement-back-btn,
body[data-theme="light"] .login-btn,
body[data-theme="light"] .register-btn,
body[data-theme="light"] .submit-btn,
body[data-theme="light"] .avatar-btn,
body[data-theme="light"] .search-bar button,
body[data-theme="light"] .filter-confirm,
body[data-theme="light"] .camp-filter-panel .filter-confirm,
body[data-theme="light"] .co-filter-panel .filter-confirm,
body[data-theme="light"] .interest-filter-panel .filter-confirm,
body[data-theme="light"] .training-filter-panel .filter-confirm,
body[data-theme="light"] .lecture-filter-panel .filter-confirm,
body[data-theme="light"] .career-filter-panel .filter-confirm,
body[data-theme="light"] .dir-filter-panel .filter-confirm,
body[data-theme="light"] .venue-filter-panel .filter-confirm,
body[data-theme="light"] .comp-filter-panel .filter-confirm,
body[data-theme="light"] .ic-filter-panel .filter-confirm,
body[data-theme="light"] .lc-filter-panel .filter-confirm,
body[data-theme="light"] .tr-filter-panel .filter-confirm,
body[data-theme="light"] .career-detail-login-btn,
body[data-theme="light"] .venue-detail-login-btn,
body[data-theme="light"] .dir-detail-login-btn,
body[data-theme="light"] .dir-card-contact-btn,
/* Card titles on images (dark overlays) */
body[data-theme="light"] .camp-card-image .camp-card-title,
body[data-theme="light"] .co-card-image .co-card-title,
body[data-theme="light"] .interest-card-image .interest-card-title,
body[data-theme="light"] .training-card-image .training-card-title,
body[data-theme="light"] .lecture-card-image .lecture-card-title,
body[data-theme="light"] .career-card-image .career-card-title,
body[data-theme="light"] .career-card-title,
body[data-theme="light"] .venue-card-image .venue-card-title,
body[data-theme="light"] .dir-card-title,
body[data-theme="light"] .rank-card-title,
body[data-theme="light"] .news-source-card .source-title,
body[data-theme="light"] .detail-img-label,
body[data-theme="light"] .camp-detail-img-label,
/* Detail page close buttons hover */
body[data-theme="light"] .rank-detail-close:hover,
body[data-theme="light"] .career-detail-close:hover,
body[data-theme="light"] .venue-detail-close:hover,
body[data-theme="light"] .dir-detail-close:hover,
body[data-theme="light"] .co-contact-close:hover,
body[data-theme="light"] .camp-register-close:hover,
body[data-theme="light"] .interest-register-close:hover,
body[data-theme="light"] .training-apply-close:hover,
body[data-theme="light"] .lecture-register-close:hover,
body[data-theme="light"] .career-apply-close:hover,
body[data-theme="light"] .dir-contact-close:hover,
body[data-theme="light"] .venue-contact-close:hover,
/* Top3 medal ranks with dark text */
body[data-theme="light"] .rank-card-top3-item:nth-child(3) .rank-card-top3-rank,
body[data-theme="light"] .dir-card-top3-item:nth-child(3) .dir-card-top3-rank,
/* Detail titles */
body[data-theme="light"] .rank-detail-title,
body[data-theme="light"] .career-detail-title,
body[data-theme="light"] .venue-detail-title,
body[data-theme="light"] .dir-detail-title,
/* Login modal elements */
body[data-theme="light"] .login-modal-title,
body[data-theme="light"] .register-modal-title,
body[data-theme="light"] .login-btn,
body[data-theme="light"] .register-btn,
body[data-theme="light"] .submit-btn {
  color: #fff;
}

/* Navbar */
body[data-theme="light"] .navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
}

body[data-theme="light"] .logo {
  color: #1a1a2e;
}

body[data-theme="light"] .nav-link {
  color: rgba(0, 0, 0, 0.7);
}

body[data-theme="light"] .nav-link:hover {
  color: #007bff;
}

body[data-theme="light"] .nav-link.active {
  color: #007bff;
}

body[data-theme="light"] .arrow {
  border-color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .dropdown {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .dropdown a {
  color: rgba(0, 0, 0, 0.7);
}

body[data-theme="light"] .dropdown a:hover {
  background: #f0f2f5;
  color: #007bff;
}

/* Nav buttons */
body[data-theme="light"] .lang-btn {
  background: #f0f0f0;
  border-color: #d0d0d0;
  color: #333;
}

body[data-theme="light"] .lang-btn:hover {
  background: #e0e0e0;
  border-color: #bbb;
}

body[data-theme="light"] .theme-btn {
  background: #f0f0f0;
  border-color: #d0d0d0;
  color: #333;
}

body[data-theme="light"] .theme-btn:hover {
  background: #e0e0e0;
  border-color: #bbb;
}

/* Avatar dropdown */
body[data-theme="light"] .avatar-dropdown {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .avatar-dropdown-item {
  color: rgba(0, 0, 0, 0.7);
}

body[data-theme="light"] .avatar-dropdown-item:hover {
  background: #f0f2f5;
  color: #007bff;
}

body[data-theme="light"] .avatar-dropdown-logout:hover {
  background: rgba(244, 67, 54, 0.08);
  color: #f44336;
}

body[data-theme="light"] .avatar-greeting {
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .avatar-dropdown-divider {
  border-top-color: #e0e0e0;
}

/* Cards */
body[data-theme="light"] .card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

body[data-theme="light"] .card:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Page content cards (white cards with dark backgrounds in dark theme) */
body[data-theme="light"] .news-card,
body[data-theme="light"] .news-detail-card,
body[data-theme="light"] .source-card,
body[data-theme="light"] .competition-card,
body[data-theme="light"] .camp-card,
body[data-theme="light"] .co-card,
body[data-theme="light"] .interest-card,
body[data-theme="light"] .training-card,
body[data-theme="light"] .lecture-card,
body[data-theme="light"] .career-card,
body[data-theme="light"] .dir-card,
body[data-theme="light"] .venue-card,
body[data-theme="light"] .announcement-card,
body[data-theme="light"] .policy-card,
body[data-theme="light"] .ranking-table-wrap,
body[data-theme="light"] .detail-content,
body[data-theme="light"] .detail-sidebar,
body[data-theme="light"] .detail-recommend,
body[data-theme="light"] .camp-register-modal .modal-content,
body[data-theme="light"] .co-contact-modal .modal-content,
body[data-theme="light"] .interest-register-modal .modal-content,
body[data-theme="light"] .training-apply-modal .modal-content,
body[data-theme="light"] .lecture-register-modal .modal-content,
body[data-theme="light"] .career-apply-modal .modal-content,
body[data-theme="light"] .dir-contact-modal .modal-content,
body[data-theme="light"] .venue-contact-modal .modal-content,
body[data-theme="light"] .fav-container,
body[data-theme="light"] .fav-card,
body[data-theme="light"] .login-modal-content,
body[data-theme="light"] .register-modal-content,
body[data-theme="light"] .filter-panel,
body[data-theme="light"] .search-bar,
body[data-theme="light"] .page-header,
body[data-theme="light"] .detail-header {
  background: #ffffff;
  border-color: #e0e0e0;
}

/* Filter panels and modals */
body[data-theme="light"] .filter-panel,
body[data-theme="light"] .camp-filter-panel,
body[data-theme="light"] .co-filter-panel,
body[data-theme="light"] .interest-filter-panel,
body[data-theme="light"] .training-filter-panel,
body[data-theme="light"] .lecture-filter-panel,
body[data-theme="light"] .career-filter-panel,
body[data-theme="light"] .dir-filter-panel,
body[data-theme="light"] .venue-filter-panel {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Inputs and selects in light theme */
body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea {
  background: #ffffff;
  border-color: #d0d0d0;
  color: #1a1a2e;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* Footer */
body[data-theme="light"] .site-footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

body[data-theme="light"] .footer-content {
  border-top-color: #e0e0e0;
}

body[data-theme="light"] .footer-links a {
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .footer-links a:hover {
  color: #007bff;
}

body[data-theme="light"] .footer-copyright {
  color: rgba(0, 0, 0, 0.3);
}

/* Misc: dividers, borders, badges */
body[data-theme="light"] .divider,
body[data-theme="light"] hr {
  border-color: #e0e0e0;
}

body[data-theme="light"] .page-header {
  border-bottom-color: #e0e0e0;
}

body[data-theme="light"] .detail-header {
  border-bottom-color: #e0e0e0;
}

/* Scrollbar in light theme */
body[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}

body[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

/* ========== 亮色主题：筛选按钮修复 ========== */
body[data-theme="light"] .filter-toggle-btn,
body[data-theme="light"] .camp-filter-panel .filter-toggle-btn,
body[data-theme="light"] .co-filter-panel .filter-toggle-btn,
body[data-theme="light"] .interest-filter-panel .filter-toggle-btn,
body[data-theme="light"] .training-filter-panel .filter-toggle-btn,
body[data-theme="light"] .lecture-filter-panel .filter-toggle-btn,
body[data-theme="light"] .career-filter-panel .filter-toggle-btn,
body[data-theme="light"] .dir-filter-panel .filter-toggle-btn,
body[data-theme="light"] .venue-filter-panel .filter-toggle-btn,
body[data-theme="light"] .comp-filter-panel .filter-toggle-btn,
body[data-theme="light"] .ic-filter-panel .filter-toggle-btn,
body[data-theme="light"] .lc-filter-panel .filter-toggle-btn,
body[data-theme="light"] .tr-filter-panel .filter-toggle-btn {
  background: #f0f2f5;
  border-color: #d0d0d0;
  color: #333;
}

body[data-theme="light"] .filter-toggle-btn:hover,
body[data-theme="light"] .camp-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .co-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .interest-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .training-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .lecture-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .career-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .dir-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .venue-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .comp-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .ic-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .lc-filter-panel .filter-toggle-btn:hover,
body[data-theme="light"] .tr-filter-panel .filter-toggle-btn:hover {
  background: #e0e0e0;
  border-color: #bbb;
}

body[data-theme="light"] .filter-toggle-btn.active,
body[data-theme="light"] .camp-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .co-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .interest-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .training-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .lecture-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .career-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .dir-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .venue-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .comp-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .ic-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .lc-filter-panel .filter-toggle-btn.active,
body[data-theme="light"] .tr-filter-panel .filter-toggle-btn.active {
  background: rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.4);
  color: #007bff;
}

body[data-theme="light"] .filter-cancel,
body[data-theme="light"] .camp-filter-panel .filter-cancel,
body[data-theme="light"] .co-filter-panel .filter-cancel,
body[data-theme="light"] .interest-filter-panel .filter-cancel,
body[data-theme="light"] .training-filter-panel .filter-cancel,
body[data-theme="light"] .lecture-filter-panel .filter-cancel,
body[data-theme="light"] .career-filter-panel .filter-cancel,
body[data-theme="light"] .dir-filter-panel .filter-cancel,
body[data-theme="light"] .venue-filter-panel .filter-cancel,
body[data-theme="light"] .comp-filter-panel .filter-cancel,
body[data-theme="light"] .ic-filter-panel .filter-cancel,
body[data-theme="light"] .lc-filter-panel .filter-cancel,
body[data-theme="light"] .tr-filter-panel .filter-cancel {
  background: #f0f2f5;
  color: #555;
  border-color: #d0d0d0;
}

body[data-theme="light"] .filter-cancel:hover,
body[data-theme="light"] .camp-filter-panel .filter-cancel:hover,
body[data-theme="light"] .co-filter-panel .filter-cancel:hover,
body[data-theme="light"] .interest-filter-panel .filter-cancel:hover,
body[data-theme="light"] .training-filter-panel .filter-cancel:hover,
body[data-theme="light"] .lecture-filter-panel .filter-cancel:hover,
body[data-theme="light"] .career-filter-panel .filter-cancel:hover,
body[data-theme="light"] .dir-filter-panel .filter-cancel:hover,
body[data-theme="light"] .venue-filter-panel .filter-cancel:hover,
body[data-theme="light"] .comp-filter-panel .filter-cancel:hover,
body[data-theme="light"] .ic-filter-panel .filter-cancel:hover,
body[data-theme="light"] .lc-filter-panel .filter-cancel:hover,
body[data-theme="light"] .tr-filter-panel .filter-cancel:hover {
  background: #e0e0e0;
}

body[data-theme="light"] .filter-title,
body[data-theme="light"] .camp-filter-panel .filter-title,
body[data-theme="light"] .co-filter-panel .filter-title,
body[data-theme="light"] .interest-filter-panel .filter-title,
body[data-theme="light"] .training-filter-panel .filter-title,
body[data-theme="light"] .lecture-filter-panel .filter-title,
body[data-theme="light"] .career-filter-panel .filter-title,
body[data-theme="light"] .dir-filter-panel .filter-title,
body[data-theme="light"] .venue-filter-panel .filter-title,
body[data-theme="light"] .comp-filter-panel .filter-title,
body[data-theme="light"] .ic-filter-panel .filter-title,
body[data-theme="light"] .lc-filter-panel .filter-title,
body[data-theme="light"] .tr-filter-panel .filter-title {
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .filter-option,
body[data-theme="light"] .camp-filter-panel .filter-option,
body[data-theme="light"] .co-filter-panel .filter-option,
body[data-theme="light"] .interest-filter-panel .filter-option,
body[data-theme="light"] .training-filter-panel .filter-option,
body[data-theme="light"] .lecture-filter-panel .filter-option,
body[data-theme="light"] .career-filter-panel .filter-option,
body[data-theme="light"] .dir-filter-panel .filter-option,
body[data-theme="light"] .venue-filter-panel .filter-option,
body[data-theme="light"] .comp-filter-panel .filter-option,
body[data-theme="light"] .ic-filter-panel .filter-option,
body[data-theme="light"] .lc-filter-panel .filter-option,
body[data-theme="light"] .tr-filter-panel .filter-option {
  color: rgba(0, 0, 0, 0.75);
}

body[data-theme="light"] .filter-option:hover,
body[data-theme="light"] .camp-filter-panel .filter-option:hover,
body[data-theme="light"] .co-filter-panel .filter-option:hover,
body[data-theme="light"] .interest-filter-panel .filter-option:hover,
body[data-theme="light"] .training-filter-panel .filter-option:hover,
body[data-theme="light"] .lecture-filter-panel .filter-option:hover,
body[data-theme="light"] .career-filter-panel .filter-option:hover,
body[data-theme="light"] .dir-filter-panel .filter-option:hover,
body[data-theme="light"] .venue-filter-panel .filter-option:hover,
body[data-theme="light"] .comp-filter-panel .filter-option:hover,
body[data-theme="light"] .ic-filter-panel .filter-option:hover,
body[data-theme="light"] .lc-filter-panel .filter-option:hover,
body[data-theme="light"] .tr-filter-panel .filter-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

body[data-theme="light"] .filter-actions,
body[data-theme="light"] .camp-filter-panel .filter-actions,
body[data-theme="light"] .co-filter-panel .filter-actions,
body[data-theme="light"] .interest-filter-panel .filter-actions,
body[data-theme="light"] .training-filter-panel .filter-actions,
body[data-theme="light"] .lecture-filter-panel .filter-actions,
body[data-theme="light"] .career-filter-panel .filter-actions,
body[data-theme="light"] .dir-filter-panel .filter-actions,
body[data-theme="light"] .venue-filter-panel .filter-actions,
body[data-theme="light"] .comp-filter-panel .filter-actions,
body[data-theme="light"] .ic-filter-panel .filter-actions,
body[data-theme="light"] .lc-filter-panel .filter-actions,
body[data-theme="light"] .tr-filter-panel .filter-actions {
  border-top-color: #e0e0e0;
}

/* ========== 亮色主题：推荐区域修复 ========== */
body[data-theme="light"] .detail-recommend,
body[data-theme="light"] .comp-detail-recommend,
body[data-theme="light"] .policy-detail-recommend {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

body[data-theme="light"] .detail-recommend-title,
body[data-theme="light"] .comp-detail-recommend-title {
  color: #1a1a2e;
}

body[data-theme="light"] .detail-recommend-item,
body[data-theme="light"] .comp-detail-recommend-item {
  background: #ffffff;
  border-color: #e0e0e0;
}

body[data-theme="light"] .detail-recommend-item:hover,
body[data-theme="light"] .comp-detail-recommend-item:hover {
  background: #f0f2f5;
  border-color: #007bff;
}

body[data-theme="light"] .detail-recommend-item .rec-category,
body[data-theme="light"] .comp-detail-recommend-item .rec-level {
  background: rgba(0, 123, 255, 0.12);
  color: #007bff;
}

body[data-theme="light"] .detail-recommend-item .rec-title,
body[data-theme="light"] .comp-detail-recommend-item .rec-title {
  color: #1a1a2e;
}

body[data-theme="light"] .detail-recommend-item .rec-date,
body[data-theme="light"] .comp-detail-recommend-item .rec-date {
  color: rgba(0, 0, 0, 0.4);
}

/* ========== 亮色主题：世界排名详情弹窗修复 ========== */
body[data-theme="light"] .rank-detail-content {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .rank-detail-title {
  color: #1a1a2e;
}

body[data-theme="light"] .rank-detail-field {
  background: #f5f7fa;
  border-left-color: #007bff;
}

body[data-theme="light"] .rank-detail-field-label {
  color: rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .rank-detail-field-value {
  color: #1a1a2e;
}

body[data-theme="light"] .rank-detail-close {
  color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .rank-detail-close:hover {
  color: #1a1a2e;
}

/* ========== 亮色主题：行业名录详情弹窗修复 ========== */
body[data-theme="light"] .dir-detail-content {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .dir-detail-title {
  color: #1a1a2e;
}

body[data-theme="light"] .dir-detail-field {
  background: #f5f7fa;
  border-left-color: #007bff;
}

body[data-theme="light"] .dir-detail-field-label {
  color: rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .dir-detail-field-value {
  color: #1a1a2e;
}

body[data-theme="light"] .dir-detail-field-value a {
  color: #007bff;
}

body[data-theme="light"] .dir-detail-close {
  color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .dir-detail-close:hover {
  color: #1a1a2e;
}

body[data-theme="light"] .dir-detail-section-title {
  color: rgba(0, 0, 0, 0.5);
  border-top-color: #e0e0e0;
}

body[data-theme="light"] .dir-detail-desc {
  background: #f5f7fa;
  color: rgba(0, 0, 0, 0.75);
}

body[data-theme="light"] .dir-detail-login-prompt {
  background: #f5f7fa;
  border-color: #d0d0d0;
}

body[data-theme="light"] .dir-detail-login-text {
  color: rgba(0, 0, 0, 0.6);
}

/* ========== 亮色主题：场地详情弹窗修复 ========== */
body[data-theme="light"] .venue-detail-content {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .venue-detail-title {
  color: #1a1a2e;
}

body[data-theme="light"] .venue-detail-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] .venue-detail-field {
  background: #f5f7fa;
  border-left-color: #007bff;
}

body[data-theme="light"] .venue-detail-field-label {
  color: rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .venue-detail-field-value {
  color: #1a1a2e;
}

body[data-theme="light"] .venue-detail-field-value a {
  color: #007bff;
}

body[data-theme="light"] .venue-detail-close {
  color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .venue-detail-close:hover {
  color: #1a1a2e;
}

body[data-theme="light"] .venue-detail-section-title {
  color: rgba(0, 0, 0, 0.5);
  border-top-color: #e0e0e0;
}

body[data-theme="light"] .venue-detail-desc {
  background: #f5f7fa;
  color: rgba(0, 0, 0, 0.75);
}

body[data-theme="light"] .venue-detail-login-prompt {
  background: #f5f7fa;
  border-color: #d0d0d0;
}

body[data-theme="light"] .venue-detail-login-text {
  color: rgba(0, 0, 0, 0.6);
}

/* ========== 亮色主题：排名表格修复 ========== */
body[data-theme="light"] .rank-list-table th,
body[data-theme="light"] .rank-list-table td {
  border-bottom-color: #e0e0e0;
  color: rgba(0, 0, 0, 0.85);
}

body[data-theme="light"] .rank-list-table th {
  background: #f5f7fa;
  color: rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] .rank-list-row:hover td {
  background: #f0f2f5;
}

body[data-theme="light"] .rank-cell {
  background: #f0f2f5;
  color: rgba(0, 0, 0, 0.7);
}

body[data-theme="light"] .rank-cell-id {
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .rank-change.same {
  color: rgba(0, 0, 0, 0.4);
}

/* 亮色主题：名录表格修复 */
body[data-theme="light"] .dir-list-table th,
body[data-theme="light"] .dir-list-table td {
  border-bottom-color: #e0e0e0;
  color: rgba(0, 0, 0, 0.85);
}

body[data-theme="light"] .dir-list-table th {
  background: #f5f7fa;
  color: rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] .dir-list-row:hover td {
  background: #f0f2f5;
}

body[data-theme="light"] .dir-cell-id {
  color: rgba(0, 0, 0, 0.5);
}

/* ========== 亮色主题：加载更多按钮修复 ========== */
body[data-theme="light"] .load-more-btn,
body[data-theme="light"] .news-load-more .load-more-btn,
body[data-theme="light"] .comp-load-more .load-more-btn,
body[data-theme="light"] .camp-load-more .load-more-btn,
body[data-theme="light"] .policy-load-more .load-more-btn {
  background: #f0f2f5;
  border-color: #d0d0d0;
  color: #333;
}

body[data-theme="light"] .load-more-btn:hover:not(.disabled),
body[data-theme="light"] .news-load-more .load-more-btn:hover:not(.disabled),
body[data-theme="light"] .comp-load-more .load-more-btn:hover:not(.disabled),
body[data-theme="light"] .camp-load-more .load-more-btn:hover:not(.disabled),
body[data-theme="light"] .policy-load-more .load-more-btn:hover:not(.disabled) {
  background: #e0e0e0;
  border-color: #bbb;
}

body[data-theme="light"] .load-more-btn.disabled {
  background: #f5f7fa;
  border-color: #e0e0e0;
  color: rgba(0, 0, 0, 0.3);
}

/* ========== 亮色主题：来源卡片修复 ========== */
body[data-theme="light"] .source-card {
  background: #f5f7fa;
  border-color: #e0e0e0;
}

body[data-theme="light"] .source-card-date {
  color: rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .source-card-source {
  color: rgba(0, 0, 0, 0.65);
}

body[data-theme="light"] .source-action-btn {
  background: #f0f2f5;
  border-color: #d0d0d0;
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .source-action-btn:hover {
  background: #e0e0e0;
  color: rgba(0, 0, 0, 0.8);
  border-color: #bbb;
}

/* ========== 亮色主题：新闻页面标题修复 ========== */
body[data-theme="light"] .news-page-header h1,
body[data-theme="light"] .comp-page-header h1,
body[data-theme="light"] .camp-page-header h1,
body[data-theme="light"] .co-page-header h1,
body[data-theme="light"] .policy-page-header h1,
body[data-theme="light"] .ic-page-header h1,
body[data-theme="light"] .tr-page-header h1,
body[data-theme="light"] .lc-page-header h1,
body[data-theme="light"] .fav-page-header h1 {
  color: #1a1a2e;
}

body[data-theme="light"] .news-page-subtitle,
body[data-theme="light"] .comp-page-subtitle,
body[data-theme="light"] .camp-page-subtitle,
body[data-theme="light"] .co-page-subtitle,
body[data-theme="light"] .policy-page-subtitle,
body[data-theme="light"] .ic-page-subtitle,
body[data-theme="light"] .tr-page-subtitle,
body[data-theme="light"] .lc-page-subtitle,
body[data-theme="light"] .fav-page-subtitle {
  color: rgba(0, 0, 0, 0.5);
}

/* ========== 亮色主题：详情页侧边栏修复 ========== */
body[data-theme="light"] .detail-action-btn {
  background: #f0f2f5;
  border-color: #d0d0d0;
  color: rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] .detail-action-btn:hover {
  background: #e0e0e0;
  color: #1a1a2e;
  border-color: #bbb;
}

body[data-theme="light"] .detail-action-btn.active {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.3);
  background: rgba(255, 71, 87, 0.08);
}

/* ========== 亮色主题：详情页返回按钮修复 ========== */
body[data-theme="light"] .detail-back {
  color: rgba(0, 0, 0, 0.5);
}

body[data-theme="light"] .detail-back:hover {
  color: #007bff;
}

/* ========== 亮色主题：meta卡片修复 ========== */
body[data-theme="light"] .meta-card-date {
  color: rgba(0, 0, 0, 0.55);
}

body[data-theme="light"] .meta-card-source {
  color: rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .meta-action-btn {
  color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .meta-action-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.7);
}

/* ========== 亮色主题：分享弹窗修复 ========== */
body[data-theme="light"] .share-overlay {
  background: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .share-content {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .share-title {
  color: #1a1a2e;
}

body[data-theme="light"] .share-close {
  color: rgba(0, 0, 0, 0.4);
}

body[data-theme="light"] .share-close:hover {
  color: #1a1a2e;
}

body[data-theme="light"] .share-link-input {
  background: #f5f7fa;
  border-color: #d0d0d0;
  color: #1a1a2e;
}

/* 响应式 */
@media (max-width: 768px) {
  .fav-grid {
    grid-template-columns: 1fr;
  }

  .fav-container {
    padding: 16px;
  }
}
