/* ========== 基础重置 ========== */
* {
  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);
}

.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;
}

/* ========== 页面内容 ========== */
.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: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
}

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

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

.camp-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.camp-register-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.camp-register-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  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: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
}

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

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

.ic-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.ic-register-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ic-register-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  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: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
}

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

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

.tr-register-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.tr-register-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tr-register-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  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: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
}

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

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

.lc-enroll-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.lc-enroll-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lc-enroll-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  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: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  animation: slideUp 0.25s ease;
  margin-top: 4px;
}

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

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

.co-contact-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.co-contact-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.co-contact-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  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;
  }
}
