/* ============================================================
   大学生竞赛信息服务平台 - 样式（专业蓝视觉体系）
   设计语言：专业蓝渐变 + 蓝色强调 / 白色卡片 / 轻量动效
   说明：变量名 --orange* 沿用历史命名，取值已统一为品牌蓝，
        调整配色只需改这里的变量即可（保持专业蓝系层次）。
   适配：PC端 + 移动端（微信内置浏览器 H5）
   ============================================================ */

:root {
  /* 品牌蓝（深浅层次：600 → 700 → 500 → 50） */
  --navy: #155A9E;            /* 主色：深蓝（标题 / 主按钮） */
  --navy-deep: #0F4C81;       /* 次深蓝 */
  --brand: #1E6BB8;           /* 品牌蓝 */
  --brand-light: #3B82F6;     /* 亮蓝（强调 / 高亮） */
  --brand-50: #EFF6FF;        /* 极浅蓝底 */
  --brand-100: #DBEAFE;       /* 浅蓝（描边 / 徽标底） */
  --orange: #3B82F6;          /* 强调色（原橙色位 → 亮蓝） */
  --orange-dark: #1E6BB8;
  --orange-bg: #EFF6FF;       /* 浅蓝底（原浅橙底） */
  --orange-text: #155A9E;     /* 蓝字（原橙字） */
  --text: #000000;
  --text-sub: #000000;
  --text-muted: #000000;
  --line: #e3ebf4;            /* 蓝调分隔线 */
  --bg: #f6f8fb;              /* 浅蓝页面底 */
}

.comp-body {
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
/* 隐藏原站固定背景网格纹理，保持竞赛页面干净 */
.comp-body .page::before { display: none !important; }
/* hidden 属性优先级（避免被 .comp-tag 等 display 规则覆盖） */
.comp-body [hidden] { display: none !important; }

.main.comp-main {
  padding: 0 24px 28px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- 顶部导航（白底简洁） ---------- */
.comp-header.header {
  display: flex; align-items: center; justify-content: flex-start; gap: 20px;
  flex-wrap: wrap; /* 窄屏时用户区先占位、导航整行换行，避免错位 */
  background: #fff; padding: 14px 0; height: auto; min-height: 58px;
  border-bottom: 1px solid var(--line);
}
.comp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.comp-brand-logo {
  height: 38px; width: auto; border-radius: 6px; flex-shrink: 0; display: block;
}
.comp-brand-text { font-size: 18px; font-weight: 800; color: #000000; letter-spacing: .2px; }
.comp-brand-text em {
  font-style: normal; font-size: 12px; font-weight: 500;
  color: var(--text-muted); margin-left: 7px;
}
.comp-nav { display: flex; gap: 22px; overflow-x: auto; min-width: 0; }
.comp-nav a {
  font-size: 15px; color: #000000; text-decoration: none;
  padding: 4px 0; white-space: nowrap; border-bottom: 2px solid transparent;
}
.comp-nav a:hover { color: #000000; }
.comp-nav a.active { color: #000000; font-weight: 700; border-bottom-color: var(--orange); }
/* 用户区（登录 / admin）统一固定在最右侧 */
.comp-header .header-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  margin-left: auto; order: 2;
}
.comp-header .header-btn {
  font-size: 14px; padding: 7px 16px; border-radius: 6px; text-decoration: none;
  border: 1px solid var(--line); color: var(--text);
}
.comp-header .header-btn.login-btn { background: var(--navy); border-color: #000000; color: #fff; }
.comp-header .username-display { font-size: 14px; color: #000000; cursor: pointer; }
#user-menu { position: relative; }
.comp-header .user-dropdown {
  position: absolute; top: 130%; right: 0; z-index: 60; min-width: 150px;
  max-width: calc(100vw - 28px); /* 窄屏不溢出屏幕 */
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px;
  box-shadow: 0 8px 20px rgba(30, 58, 138, .12);
}
.comp-header .user-dropdown a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: 14px; color: var(--text); text-decoration: none;
}
.comp-header .user-dropdown a:hover { background: var(--bg); }

/* ---------- Hero（浅色明亮 + 搜索框 + 统计） ---------- */
.comp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(59, 130, 246, .16), transparent 44%),
    radial-gradient(circle at 70% 88%, rgba(30, 107, 184, .10), transparent 42%),
    linear-gradient(135deg, #EFF6FF 0%, #e9f3fd 45%, #f1f7ff 100%);
  border: 1px solid #e0ebfb;
  border-radius: 16px; padding: 40px 40px 32px; margin: 20px 0 24px;
}
.comp-hero-inner { display: flex; align-items: center; gap: 32px; position: relative; z-index: 1; }
.comp-hero-content { flex: 1; min-width: 0; position: relative; }
.comp-hero-visual {
  flex-shrink: 0; width: 340px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  animation: compFadeUp .5s ease .12s both;
}
.comp-hero-visual svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(30, 107, 184, .18));
  animation: heroFloat 7s ease-in-out infinite;
}
.comp-hero-stats { margin-top: 26px; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .comp-hero-visual, .comp-hero-visual svg { animation: none; }
}
@media (max-width: 860px) {
  .comp-hero { padding: 28px 22px 24px; }
  .comp-hero-inner { flex-direction: column; gap: 20px; }
  .comp-hero-visual { width: 100%; max-width: 320px; }
}
/* 右上角柔和装饰光斑（纯 CSS，无图片，加载快） */
.comp-hero::after {
  content: ""; position: absolute; right: -70px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), rgba(59, 130, 246, 0));
  pointer-events: none;
}
.comp-hero h1 {
  position: relative; margin: 0 0 10px; font-size: 32px; font-weight: 800;
  line-height: 1.35; letter-spacing: .3px; color: #000000;
}
.comp-hero h1 span { color: #000000; }
.comp-hero p {
  position: relative; margin: 0 0 22px; font-size: 14.5px; line-height: 1.8;
  color: #000000; max-width: 660px;
}
.comp-hero-search { position: relative; display: flex; max-width: 560px; margin-bottom: 26px; }
.comp-hero-search input {
  flex: 1; height: 46px; padding: 0 18px; font-size: 14.5px; color: var(--text);
  border: 1px solid #dbe5f5; border-right: none; border-radius: 8px 0 0 8px;
  outline: none; font-family: inherit; background: #fff; min-width: 0;
}
.comp-hero-search input::placeholder { color: #9aa3b2; }
.comp-hero-search input:focus { border-color: #b9cdf0; }
.comp-hero-search button {
  width: 96px; height: 46px; border: none; cursor: pointer; flex-shrink: 0;
  background: var(--orange); color: #fff; font-size: 15px; font-weight: 700;
  border-radius: 0 8px 8px 0; font-family: inherit;
}
.comp-hero-search button:hover { background: var(--orange-dark); }
/* 数据概览：4 个轻量白卡 */
.comp-hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.comp-hero-stats > div {
  background: #fff; border: 1px solid #e8eefb; border-radius: 10px;
  padding: 16px 12px; text-align: center;
}
.comp-hero-stats .stat-value {
  font-size: 25px; font-weight: 800; color: #000000; line-height: 1.2;
}
.comp-hero-stats .stat-label { font-size: 12.5px; color: var(--text-sub); margin-top: 5px; }

/* ---------- 2D 动效（入场 / 悬停微交互） ---------- */
@keyframes compFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 首屏文字依次上浮入场 */
.comp-hero h1 { animation: compFadeUp .5s ease both; }
.comp-hero p { animation: compFadeUp .5s ease .08s both; }
.comp-hero-search { animation: compFadeUp .5s ease .16s both; }
.comp-hero-stats { animation: compFadeUp .5s ease .24s both; }
/* 统计白卡悬停微抬升 */
.comp-hero-stats > div { transition: transform .2s ease, box-shadow .2s ease; }
.comp-hero-stats > div:hover {
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(27, 42, 74, .08);
}
/* 对动效敏感的用户（无障碍）：关闭动画 */
@media (prefers-reduced-motion: reduce) {
  .comp-hero h1, .comp-hero p, .comp-hero-search, .comp-hero-stats,
  .comp-card, .comp-hero-stats > div { animation: none; transition: none; }
}

/* ---------- 区块标题（与首页 features 区统一） ---------- */
.section-header-center { text-align: center; margin: 30px 0 24px; }
.section-badge {
  display: inline-block; padding: 6px 16px;
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
  color: #000000; font-size: 13px; font-weight: 600;
  border-radius: 20px; margin-bottom: 14px;
  border: 1px solid rgba(30, 107, 184, .12);
}

/* 内页小标题条 */
.comp-page-head { margin: 24px 0 20px; }
.comp-page-head h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #000000; }
.comp-page-head p { margin: 0; font-size: 14px; color: var(--text-sub); }

/* ---------- 筛选 / 排序工具条 ---------- */
.comp-toolbar {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 20px;
}
.comp-toolbar-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comp-toolbar-row + .comp-toolbar-row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.comp-toolbar-label { font-size: 13.5px; color: var(--text-sub); flex-shrink: 0; }

.comp-select, .comp-input {
  height: 38px; padding: 0 12px; font-size: 14px; font-family: inherit;
  border: 1px solid #dfe3ea; border-radius: 6px; background: #fff; color: var(--text);
  outline: none; min-width: 132px;
}
.comp-select:focus, .comp-input:focus, .comp-textarea:focus { border-color: var(--orange); }
.comp-input { flex: 1; min-width: 180px; }
.comp-textarea {
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--text);
  border: 1px solid #dfe3ea; border-radius: 6px; outline: none; resize: vertical; width: 100%;
}

.comp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 6px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  text-decoration: none; transition: background .15s, border-color .15s;
}
.comp-btn.navy { background: var(--navy); color: #fff; }
.comp-btn.navy:hover { background: #14203a; }
.comp-btn.primary { background: var(--orange); color: #fff; }
.comp-btn.primary:hover { background: var(--orange-dark); }
.comp-btn.ghost { background: #fff; border-color: #dfe3ea; color: var(--text); }
.comp-btn.ghost:hover { border-color: #c7cdd8; background: #fafbfc; }
.comp-btn.block { width: 100%; }
.comp-btn.lg { height: 46px; font-size: 15px; padding: 0 26px; }
.comp-btn:disabled { opacity: .55; cursor: not-allowed; }

/* 排序切换 */
.comp-sort { display: flex; gap: 8px; flex-wrap: wrap; }
.comp-sort button {
  height: 32px; padding: 0 14px; font-size: 13.5px; font-family: inherit; cursor: pointer;
  background: #fff; border: 1px solid #e3e7ee; border-radius: 999px; color: #000000;
  transition: all .18s ease;
}
.comp-sort button:hover { border-color: #c9cfda; transform: translateY(-1px); }
.comp-sort button.active {
  background: var(--orange-bg); border-color: #BFDBFE; color: var(--orange-text); font-weight: 700;
  box-shadow: 0 2px 8px rgba(30, 107, 184, .10);
}

/* ---------- 竞赛卡片 ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.comp-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--text-muted); font-size: 15px;
}
.comp-loading { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted); }

.comp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: compFadeUp .5s ease both; /* 入场：上浮淡入（配合 JS 交错延迟） */
  overflow: hidden;
}
.comp-card:hover {
  border-color: #BFDBFE; transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(30, 107, 184, .13);
}
.comp-card:hover .comp-card-title a { color: var(--orange-text); }
.comp-card:hover .comp-tag.tier { transform: scale(1.06); }

/* ---- 卡片顶部：分类图标 + 标签 ---- */
.comp-card .comp-card-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #EFF6FF 100%);
  border-bottom: 1px solid var(--line);
}
/* 详情页头部的标签行保持简洁（无渐变底） */
.comp-detail-head .comp-card-top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.comp-cat-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.comp-cat-ico svg { width: 22px; height: 22px; }
.comp-cat-ico.cat-理工类    { background: linear-gradient(135deg, #1E6BB8, #3B82F6); }
.comp-cat-ico.cat-经管类    { background: linear-gradient(135deg, #059669, #10b981); }
.comp-cat-ico.cat-人文社科类 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.comp-cat-ico.cat-艺术设计类 { background: linear-gradient(135deg, #db2777, #f472b6); }
.comp-cat-ico.cat-医学类    { background: linear-gradient(135deg, #dc2626, #f87171); }
.comp-cat-ico.cat-综合类    { background: linear-gradient(135deg, #6b7280, #9ca3af); }

.comp-card-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}

.comp-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12.5px; font-weight: 700; line-height: 1.6;
}
/* 级别标签（浅蓝底蓝字，与整体配色统一） */
.comp-tag.level { background: var(--orange-bg); color: var(--orange-text); }
.comp-tag.level.lv-省级 { background: #eef2ff; color: #3b50c8; }
.comp-tag.level.lv-市级 { background: #e9f7f4; color: #0f766e; }
.comp-tag.level.lv-校级 { background: #eef7ed; color: #2f8a3d; }
.comp-tag.level.lv-国际级 { background: #f5edff; color: #7c3aed; }
.comp-tag.level.lv-其他 { background: #f3f4f6; color: #6b7280; }
/* 竞赛类别 A/B/C（浅蓝三层次：深蓝 → 亮蓝 → 灰蓝） */
.comp-tag.tier { background: var(--navy); color: #fff; }
.comp-tag.tier.tier-B { background: var(--brand-light); }
.comp-tag.tier.tier-C { background: #94a3b8; }

.comp-card-title {
  margin: 14px 18px 10px; font-size: 18px; font-weight: 700;
  line-height: 1.5; color: #000000;
}
.comp-card-title a { color: inherit; text-decoration: none; }
.comp-card-title a:hover { color: var(--orange); }
.comp-card-desc {
  margin: 0 18px 14px; font-size: 14px; line-height: 1.75; color: #111827;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* meta 区域 */
.comp-card .comp-card-meta {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0 18px 14px;
}
.comp-card-meta .meta-item {
  display: flex; gap: 8px; font-size: 13.5px;
  color: var(--text-sub); line-height: 1.6; align-items: flex-start;
}
.comp-card-meta .meta-item .ico {
  flex-shrink: 0; opacity: .85;
  width: 18px; height: 18px; margin-top: 1px;
  color: #9ca3af;
}
.comp-card-meta .meta-item .ico svg { width: 18px; height: 18px; display: block; }
.comp-card-meta .meta-item b { color: var(--text); font-weight: 600; }

/* 性价比 / 含金量 可视化评分条 */
.comp-card-scores {
  margin: 0 18px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.score-row {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
}
.score-label {
  width: 44px; color: #6b7280; flex-shrink: 0;
}
.score-bar {
  flex: 1; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden;
}
.score-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #1E6BB8, #3B82F6);
  border-radius: 3px;
}
.score-bar.honor i {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}
.score-row b { width: 28px; text-align: right; color: #000000; font-weight: 700; }

/* 卡片：报名时间高亮条 */
.comp-card-reg {
  display: flex; align-items: center; gap: 8px;
  margin: 0 18px 14px;
  background: #fbfcfe; border: 1px solid #edf1f7; border-left: 3px solid var(--orange);
  border-radius: 6px; padding: 9px 12px;
  font-size: 13.5px; color: var(--text-sub); line-height: 1.6;
}
.comp-card-reg .ico { width: 18px; height: 18px; flex-shrink: 0; color: #9ca3af; }
.comp-card-reg .ico svg { width: 18px; height: 18px; display: block; }
.comp-card-reg b { color: #000000; font-weight: 700; }

/* 底部按钮 */
.comp-card-foot {
  display: flex; gap: 10px; margin-top: auto;
  padding: 0 18px 18px;
}
.comp-card-foot .comp-btn { flex: 1; }

/* 性价比徽标 */
.comp-value {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px;
  color: var(--orange-text); background: var(--orange-bg);
  padding: 3px 9px; border-radius: 4px; font-weight: 700;
}

/* 详情页：参赛好处 / 价值清单 */
.comp-benefit-list { display: flex; flex-direction: column; gap: 10px; }
.comp-benefit-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.8; color: #000000;
}
.comp-benefit-item .bd-ico {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--orange-bg); color: var(--orange-text);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 详情页：深度解读（一句话点评 + 核心亮点标签） ---------- */
.comp-insight { margin-top: 18px; }
.comp-insight-note {
  background: #EFF6FF; border: 1px solid #DBEAFE; border-left: 3px solid #1E6BB8; border-radius: 8px;
  padding: 12px 14px; font-size: 14px; line-height: 1.8; color: #000;
}
.comp-insight-note b { color: #000; margin-right: 6px; }
.comp-insight-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.comp-chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #BFDBFE; color: #000; font-size: 12.5px; font-weight: 600;
}

/* ---------- 分页 ---------- */
.comp-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.comp-pagination button {
  height: 36px; min-width: 36px; padding: 0 10px; font-size: 14px; font-family: inherit;
  background: #fff; border: 1px solid #e3e7ee; border-radius: 6px; color: #000000; cursor: pointer;
}
.comp-pagination button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-text); }
.comp-pagination button.active { background: var(--navy); border-color: #000000; color: #fff; font-weight: 700; }
.comp-pagination button:disabled { opacity: .45; cursor: not-allowed; }
.comp-pagination .page-info { font-size: 13.5px; color: var(--text-sub); margin: 0 6px; }

/* ---------- 详情页 ---------- */
.comp-detail-head {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 34px; margin: 22px 0 20px;
  animation: compFadeUp .5s ease both;
}
.comp-detail-head .comp-card-top { margin-bottom: 14px; }
.comp-detail-head h1 { margin: 0 0 14px; font-size: 28px; font-weight: 800; line-height: 1.45; color: #000000; }
.comp-detail-head .sub { margin: 0 0 22px; font-size: 14px; color: var(--text-sub); line-height: 1.8; }
.comp-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.comp-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comp-card-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px;
  animation: compFadeUp .5s ease both;
}
.comp-card-panel.full { grid-column: 1 / -1; }
.comp-card-panel h3 {
  margin: 0 0 18px; font-size: 17px; font-weight: 700; color: #000000;
  padding-left: 11px; border-left: 4px solid var(--orange); line-height: 1.2;
}
.info-row {
  display: flex; gap: 18px; padding: 11px 0; font-size: 14px;
  border-bottom: 1px dashed var(--line); line-height: 1.7;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { flex-shrink: 0; width: 92px; color: var(--text-muted); }
.info-row .value { flex: 1; color: var(--text); font-weight: 500; }
.comp-detail-text { font-size: 14.5px; line-height: 1.9; color: #111827; white-space: pre-wrap; }

/* 数据指标块（性价比/含金量/规模/难度） */
.comp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.comp-metric {
  background: #fafbfd; border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 12px; text-align: center;
}
.comp-metric .m-value { font-size: 20px; font-weight: 800; color: #000000; }
.comp-metric .m-label { font-size: 12.5px; color: var(--text-sub); margin-top: 5px; }

/* ---------- 收藏 / 咨询页 ---------- */
.comp-login-tip {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 44px 24px; text-align: center; margin-bottom: 20px;
}
.comp-login-tip p { margin: 0 0 18px; font-size: 15px; color: var(--text-sub); }
.comp-login-tip .comp-btn { margin: 0 5px; }

.comp-form-wrap { max-width: 780px; }
.comp-form-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 32px; }
.comp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comp-form-item { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.comp-form-item label { font-size: 14px; font-weight: 600; color: var(--text); }
.comp-form-item label em { color: var(--orange); font-style: normal; }
.comp-form-item .comp-select, .comp-form-item .comp-input { width: 100%; min-width: 0; }

.comp-privacy {
  background: #fafbfd; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 18px; margin-bottom: 22px;
}
.comp-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.comp-checkbox input { width: 16px; height: 16px; accent-color: var(--orange); cursor: pointer; }
.comp-checkbox a { color: var(--orange-text); font-weight: 600; }
.comp-privacy p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--text-muted); }
.comp-privacy p b { color: var(--text-sub); }

.comp-success { text-align: center; padding: 30px 10px; }
.comp-success .success-ico { font-size: 46px; margin-bottom: 12px; }
.comp-success h3 { margin: 0 0 10px; font-size: 20px; color: #000000; }
.comp-success p { margin: 0 0 20px; font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.comp-success a { color: var(--orange-text); font-weight: 600; }

/* ---------- 合规提示 / 页脚 ---------- */
.comp-disclaimer {
  margin-top: 26px; padding: 14px 18px; font-size: 12.5px; line-height: 1.85;
  color: var(--text-muted); background: #fff; border: 1px solid var(--line);
  border-radius: 8px; text-align: center;
}
.comp-footer {
  display: block; text-align: left; background: #0c1f36;
  margin-top: auto; padding: 48px 0 10px; width: 100%;
  border-top: none; color: #c6d2e2; font-size: 13px;
}
.comp-footer-top {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.comp-footer-brand b { color: #ffffff; font-size: 15px; }
.comp-footer-brand p { margin: 8px 0 0; font-size: 12.5px; color: #93a5bd; line-height: 1.7; }
.comp-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.comp-footer-links a { color: #c6d2e2; text-decoration: none; font-size: 13px; }
.comp-footer-links a:hover { color: #5ea8f0; }
.comp-footer-notice {
  max-width: 1160px; margin: 24px auto 0; padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; line-height: 1.85; color: #7a8ba3;
}

/* ---------- 轻提示 ---------- */
.comp-toast {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 10000;
  padding: 11px 20px; border-radius: 6px; font-size: 14px; color: #fff;
  background: var(--navy); box-shadow: 0 6px 20px rgba(27, 42, 74, .2);
  opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 86vw;
}
.comp-toast.show { opacity: 1; }
.comp-toast.success { background: #1a7f43; }
.comp-toast.error { background: #c0392b; }

/* ============================================================
   移动端适配
   ============================================================ */
@media (max-width: 900px) {
  .comp-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .comp-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .main.comp-main { padding: 0 14px 24px; }
  .comp-header.header { flex-wrap: wrap; gap: 10px; padding: 12px 0; min-height: auto; }
  .comp-brand-text { font-size: 17px; }
  .comp-brand-text em { display: none; }
  .comp-nav { order: 3; flex-basis: 100%; width: auto; gap: 16px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .comp-nav a { font-size: 14px; }
  .comp-header .header-right { margin-left: auto; }

  .comp-hero { padding: 24px 18px 20px; border-radius: 12px; }
  .comp-hero h1 { font-size: 23px; }
  .comp-hero p { font-size: 13.5px; margin-bottom: 18px; }
  .comp-hero-search { margin-bottom: 20px; }
  .comp-hero-search input { height: 44px; font-size: 14px; padding: 0 14px; }
  .comp-hero-search button { width: 78px; height: 44px; font-size: 14.5px; }
  .comp-hero-stats { gap: 8px; }
  .comp-hero-stats > div { padding: 12px 8px; }
  .comp-hero-stats .stat-value { font-size: 20px; }
  .comp-hero-stats .stat-label { font-size: 11.5px; }

  .comp-page-head h1 { font-size: 22px; }
  .comp-toolbar { padding: 12px 14px; }
  .comp-select, .comp-input { min-width: 0; flex: 1; }
  .comp-toolbar-row .comp-btn { flex: 1; }

  .comp-grid { grid-template-columns: 1fr; gap: 14px; }
  .comp-card-title { font-size: 17px; }
  .comp-card-desc { font-size: 13.5px; }
  .comp-cat-ico { width: 40px; height: 40px; }
  .comp-cat-ico svg { width: 20px; height: 20px; }

  .comp-detail-head { padding: 22px 20px; }
  .comp-detail-head h1 { font-size: 21px; }
  .comp-detail-actions .comp-btn { flex: 1; min-width: 45%; }
  .comp-detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .comp-card-panel { padding: 20px; }
  .comp-metrics { grid-template-columns: repeat(2, 1fr); }
  .info-row .label { width: 78px; font-size: 13.5px; }

  .comp-form-panel { padding: 22px 18px; }
  .comp-form-row { grid-template-columns: 1fr; gap: 0; }
  .comp-footer { font-size: 12.5px; }
  .comp-footer-top { flex-direction: column; gap: 14px; }
}

/* ============================================================
   v8.0 竞赛服务升级
   背景图 Hero · 排版字号提升 · 获奖作品学习库 · 竞赛服务板块
   ============================================================ */

/* ---------- 全局排版：更舒适的字号与行距 ---------- */
.comp-body { font-size: 15px; line-height: 1.75; }
.comp-body .section-title { font-size: 25px; font-weight: 800; letter-spacing: .2px; line-height: 1.4; }
.comp-body .section-subtitle { font-size: 15px; line-height: 1.8; max-width: 680px; margin-bottom: 30px; }
.comp-body .section-header-center { margin: 38px 0 28px; }
.comp-card-desc { font-size: 14.5px; line-height: 1.75; }
.comp-card-meta { font-size: 14px; line-height: 1.7; }
.comp-detail-text { font-size: 15.5px; line-height: 1.95; }
.info-row .value { font-size: 15px; line-height: 1.8; }

/* ---------- Hero：背景图 + 可读性蒙版 ---------- */
.comp-hero {
  padding: 48px 46px 38px;
  background: linear-gradient(135deg, #EFF6FF 0%, #e9f3fd 45%, #f1f7ff 100%);
}
.comp-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.comp-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
  opacity: .9;
}
/* 左侧重、右侧轻的白色蒙版，保证标题/搜索区可读 */
.comp-hero-bg-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(247,251,255,.98) 0%,
      rgba(244,249,255,.95) 34%,
      rgba(238,245,253,.72) 58%,
      rgba(233,243,253,.30) 80%,
      rgba(233,243,253,.10) 100%),
    linear-gradient(180deg, rgba(239,246,255,.70) 0%, rgba(239,246,255,.45) 100%);
}
.comp-hero::after { display: none; }               /* 旧光斑让位背景图 */
.comp-hero-inner { padding: 0; min-height: 300px; }
.comp-hero-content { max-width: 640px; }

/* 眉标 */
.comp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; margin-bottom: 18px;
  background: rgba(30,107,184,.10); color: #155A9E;
  border: 1px solid rgba(30,107,184,.22); border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
  animation: compFadeUp .5s ease both;
}
.comp-hero-eyebrow svg { width: 15px; height: 15px; }

/* 标题层级重设计 */
.comp-hero h1 {
  font-size: 42px; line-height: 1.28; margin-bottom: 16px;
  letter-spacing: .5px;
}
.comp-hero h1 span {
  color: #155A9E;
  background: linear-gradient(120deg, #0F4C81 0%, #1E6BB8 45%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.comp-hero p { font-size: 16.5px; line-height: 1.9; margin-bottom: 26px; max-width: 600px; }

/* 搜索框加大 */
.comp-hero-search { max-width: 600px; margin-bottom: 22px; }
.comp-hero-search input { height: 52px; font-size: 15.5px; border-radius: 10px 0 0 10px; }
.comp-hero-search button { width: 108px; height: 52px; font-size: 16px; border-radius: 0 10px 10px 0; }

/* 快捷 CTA */
.comp-hero-quick { display: flex; flex-wrap: wrap; gap: 12px; animation: compFadeUp .5s ease .22s both; }
.comp-hero-quick .comp-btn { border-radius: 10px; }
.comp-hero-quick .comp-btn.ghost { background: rgba(255,255,255,.85); border-color: #c4d6f0; color: #155A9E; font-weight: 700; }
.comp-hero-quick .comp-btn.ghost:hover { background: #fff; border-color: #1E6BB8; }

/* 统计卡在背景图上更立体 */
.comp-hero-stats { position: relative; z-index: 1; margin-top: 30px; }
.comp-hero-stats > div {
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 16px rgba(15,76,129,.08);
  padding: 18px 12px; border-radius: 12px;
}
.comp-hero-stats .stat-value { font-size: 27px; }
.comp-hero-stats .stat-label { font-size: 13px; }

/* ---------- 通用：内容分区（白底细边） ---------- */
.svc-band {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 36px; margin: 26px 0;
}

/* ---------- 获奖作品速览条（列表页） ---------- */
.wn-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.wn-mini {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid #e6edf6; border-radius: 12px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wn-mini:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(15,76,129,.12); }
.wn-mini-cover { position: relative; height: 148px; background: #eef4fb; }
.wn-mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.wn-mini-award {
  position: absolute; left: 10px; top: 10px;
  padding: 3px 10px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg,#b45309,#f59e0b); border-radius: 999px;
  box-shadow: 0 2px 8px rgba(180,83,9,.35);
}
.wn-mini-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 5px; }
.wn-mini-comp { font-size: 12px; color: #155A9E; font-weight: 600; }
.wn-mini-body h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: #000;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wn-mini-school { font-size: 12.5px; color: #6b7280; }

/* ---------- 竞赛服务板块 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  padding: 26px 20px; border: 1px solid #e8eef7; border-radius: 14px;
  background: linear-gradient(180deg,#fff,#fafcff);
  transition: transform .22s ease, box-shadow .22s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(15,76,129,.10); border-color: #cdddF2; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px; box-shadow: 0 6px 16px rgba(30,107,184,.22);
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { margin: 0 0 9px; font-size: 17.5px; font-weight: 800; color: #000; }
.svc-card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: #374151; }

/* 价值数据条 */
.svc-values {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
  margin: 30px 0; padding: 24px 12px;
  background: linear-gradient(135deg,#EFF6FF,#f4f9ff);
  border: 1px solid #dbe8fa; border-radius: 14px; text-align: center;
}
.svc-values b { display: block; font-size: 27px; font-weight: 800; color: #155A9E; line-height: 1.2; }
.svc-values span { display: block; margin-top: 6px; font-size: 13.5px; color: #334155; }

/* 转化 CTA 横幅（深蓝） */
.svc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: 16px;
  background: linear-gradient(120deg,#0F4C81 0%,#1E6BB8 60%,#2f7bd1 100%);
  box-shadow: 0 14px 34px rgba(15,76,129,.28);
}
.svc-cta-text h3 { margin: 0 0 6px; color: #fff; font-size: 22px; font-weight: 800; }
.svc-cta-text p { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; }
.svc-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wn-btn-white { background: #fff !important; color: #155A9E !important; border: 1px solid #fff !important; font-weight: 700; }
.wn-btn-white:hover { background: #EFF6FF !important; }
.wn-btn-outline { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.65) !important; font-weight: 700; }
.wn-btn-outline:hover { background: rgba(255,255,255,.18) !important; }

/* ============================================================
   获奖作品学习页 /competitions/winners
   ============================================================ */
.wn-hero {
  position: relative; overflow: hidden; border-radius: 16px;
  min-height: 340px; display: flex; align-items: center;
  margin: 20px 0 24px; border: 1px solid #dce8f8;
}
.wn-hero-bg { position: absolute; inset: 0; }
.wn-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wn-hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,32,62,.92) 0%, rgba(15,76,129,.82) 38%, rgba(30,107,184,.45) 72%, rgba(30,107,184,.18) 100%),
    linear-gradient(180deg, rgba(15,76,129,.35), rgba(15,76,129,.55));
}
.wn-hero-inner { position: relative; z-index: 1; padding: 48px 46px; max-width: 720px; }
.wn-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  color: #dbeafe; font-size: 13.5px; font-weight: 700;
}
.wn-eyebrow svg { width: 15px; height: 15px; }
.wn-hero h1 { margin: 0 0 14px; color: #fff; font-size: 38px; font-weight: 800; line-height: 1.3; letter-spacing: .5px; }
.wn-hero p { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.9; }
.wn-hero p b { color: #fde68a; font-weight: 700; }
.wn-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wn-hero .comp-btn.primary { border-radius: 10px; }
.wn-hero .comp-btn.ghost {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.6); color: #fff; border-radius: 10px;
}
.wn-hero .comp-btn.ghost:hover { background: rgba(255,255,255,.2); }

/* 筛选工具条 */
.wn-toolbar {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 22px;
}
.wn-toolbar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wn-toolbar-row + .wn-toolbar-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.wn-toolbar .comp-input { flex: 1; height: 42px; font-size: 15px; min-width: 220px; }
.wn-count { font-size: 14px; color: #64748b; white-space: nowrap; }

/* 案例卡片 */
.wn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; }
.wn-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  animation: compFadeUp .5s ease both;
}
.wn-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15,76,129,.13); border-color: #cfdff4; }
.wn-cover { position: relative; height: 196px; background: #eaf2fb; flex-shrink: 0; }
.wn-cover img { width: 100%; height: 100%; object-fit: cover; }
.wn-award {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 13px; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg,#b45309,#f59e0b); border-radius: 999px;
  box-shadow: 0 4px 12px rgba(180,83,9,.4); letter-spacing: .5px;
}
.wn-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.wn-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.wn-cat-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.wn-cat-ico svg { width: 23px; height: 23px; }
.wn-card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wn-comp-name { font-size: 13px; font-weight: 700; color: #155A9E; }
.wn-year { font-size: 12.5px; color: #6b7280; }
.wn-card h3 { margin: 0 0 9px; font-size: 18px; font-weight: 800; line-height: 1.5; color: #000; }
.wn-brief { margin: 0 0 13px; font-size: 14.5px; line-height: 1.8; color: #374151; }
.wn-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.wn-tag {
  padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: #155A9E;
  background: #EFF6FF; border: 1px solid #dbeafe; border-radius: 999px;
}

/* 展开的详情 */
.wn-detail { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.wn-detail.open { max-height: 2400px; }
.wn-detail-block { padding: 13px 0; border-top: 1px dashed #e3ebf5; }
.wn-detail-block h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #0F4C81; }
.wn-detail-block ul { margin: 0; padding-left: 19px; }
.wn-detail-block li { font-size: 14px; line-height: 1.85; color: #374151; margin-bottom: 4px; }
.wn-detail-block li::marker { color: #1E6BB8; }
.wn-detail-block p { margin: 0; font-size: 14px; line-height: 1.85; color: #374151; }
.wn-learn {
  margin-top: 14px; padding: 14px 16px; border-radius: 10px;
  background: linear-gradient(135deg,#EFF6FF,#f6faff);
  border: 1px solid #dbeafe;
  display: flex; flex-direction: column; gap: 5px;
}
.wn-learn b { font-size: 14px; color: #155A9E; }
.wn-learn span { font-size: 14px; line-height: 1.8; color: #334155; }

.wn-toggle {
  margin-top: auto; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border: none; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 700; color: #155A9E;
  background: #f1f6fd; border-radius: 10px; transition: background .18s ease;
}
.wn-toggle:hover { background: #e4eefc; }
.wn-toggle svg { width: 16px; height: 16px; transition: transform .3s ease; }
.wn-toggle.open svg { transform: rotate(180deg); }

/* 方法论四卡 */
.wn-method { padding: 8px 0 4px; }
.wn-method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.wn-method-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wn-method-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(15,76,129,.10); }
.wn-method-ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#1E6BB8,#3B82F6); box-shadow: 0 6px 16px rgba(30,107,184,.25);
}
.wn-method-ico svg { width: 25px; height: 25px; color: #fff; }
.wn-method-card h3 { margin: 0 0 9px; font-size: 17px; font-weight: 800; color: #000; }
.wn-method-card p { margin: 0; font-size: 14px; line-height: 1.85; color: #4b5563; }

/* 底部 CTA */
.wn-cta { margin: 30px 0 8px; }
.wn-cta-inner {
  padding: 38px 36px; border-radius: 16px; text-align: center;
  background: linear-gradient(120deg,#0F4C81 0%,#1E6BB8 55%,#3B82F6 100%);
  box-shadow: 0 14px 34px rgba(15,76,129,.28);
}
.wn-cta-inner h2 { margin: 0 0 10px; color: #fff; font-size: 26px; font-weight: 800; }
.wn-cta-inner p { margin: 0 0 22px; color: rgba(255,255,255,.9); font-size: 15.5px; }
.wn-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .wn-strip, .svc-grid, .wn-method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .comp-hero { padding: 30px 24px 26px; }
  .comp-hero-inner { min-height: 0; }
  .comp-hero h1 { font-size: 29px; }
  .comp-hero p { font-size: 15px; }
  .comp-hero-bg-mask {
    background:
      linear-gradient(180deg, rgba(244,249,255,.94) 0%, rgba(238,245,253,.80) 55%, rgba(233,243,253,.62) 100%),
      linear-gradient(90deg, rgba(239,246,255,.5), rgba(239,246,255,.5));
  }
  .comp-hero-bg img { object-position: center; opacity: .55; }
  .wn-hero { min-height: 0; }
  .wn-hero-inner { padding: 34px 26px; }
  .wn-hero h1 { font-size: 27px; }
  .svc-band { padding: 28px 20px; }
}
@media (max-width: 768px) {
  .comp-body { font-size: 14.5px; }
  .comp-body .section-title { font-size: 21px; }
  .comp-body .section-subtitle { font-size: 14px; }
  .comp-hero h1 { font-size: 25px; }
  .comp-hero-search input { height: 48px; }
  .comp-hero-search button { height: 48px; }
  .wn-grid { grid-template-columns: 1fr; }
  .wn-strip { grid-template-columns: 1fr; }
  .wn-cover { height: 180px; }
  .svc-grid, .wn-method-grid { grid-template-columns: 1fr; }
  .svc-values { grid-template-columns: repeat(2,1fr); gap: 18px 8px; }
  .svc-cta { padding: 24px 22px; flex-direction: column; align-items: stretch; text-align: center; }
  .svc-cta-actions { justify-content: center; }
  .wn-cta-inner { padding: 30px 22px; }
  .wn-cta-inner h2 { font-size: 22px; }
  .wn-toolbar { padding: 14px; }
}

/* ============================================================
   v9.0 获奖作品库升级：多维筛选 + 深化排版 + 可视化元素
   ============================================================ */

/* 筛选工具条优化 */
.wn-toolbar {
  padding: 20px 24px;
}
.wn-toolbar .comp-toolbar-label {
  font-size: 13.5px; font-weight: 700; color: #374151; white-space: nowrap;
}
.wn-toolbar .comp-sort button {
  padding: 7px 14px; font-size: 13.5px; border-radius: 999px;
}
.wn-toolbar .comp-input { flex: 1; min-width: 200px; }
.wn-count { font-size: 13px; color: #94a3b8; }

/* 卡片布局：封面放大 + 信息层次 */
.wn-card { border-radius: 14px; }
.wn-cover { height: 220px; }
.wn-body { padding: 22px 24px 24px; }
.wn-card h3 { font-size: 19px; line-height: 1.45; margin-bottom: 10px; }
.wn-brief { font-size: 15px; line-height: 1.85; color: #4b5563; margin-bottom: 14px; }

/* 封面亮点标签 */
.wn-highlights {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wn-hl {
  padding: 4px 10px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(15,76,129,.72); backdrop-filter: blur(4px);
  border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
}

/* 关键数据条 */
.wn-metrics {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  margin-bottom: 14px; padding: 14px 12px;
  background: linear-gradient(135deg,#f0f7ff,#f6faff);
  border: 1px solid #dbeafe; border-radius: 10px;
}
.wn-metric { text-align: center; }
.wn-metric b { display: block; font-size: 17px; font-weight: 800; color: #0F4C81; line-height: 1.2; }
.wn-metric span { display: block; font-size: 12px; color: #64748b; margin-top: 3px; }

/* 展开详情：大字号宽行距 */
.wn-detail { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.wn-detail.open { max-height: 5000px; }
.wn-detail-block { padding: 16px 0; border-top: 1px solid #e8eef7; }
.wn-detail-block:first-child { border-top: none; padding-top: 4px; }
.wn-detail-block h4 {
  margin: 0 0 10px; font-size: 16px; font-weight: 800; color: #0F4C81;
  display: flex; align-items: center; gap: 6px;
}
.wn-detail-block h4::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg,#1E6BB8,#3B82F6);
}
.wn-detail-block p {
  margin: 0; font-size: 15.5px; line-height: 2; color: #374151;
  text-align: justify;
}
.wn-detail-block ul { margin: 0; padding-left: 0; list-style: none; }
.wn-detail-block li {
  font-size: 15px; line-height: 2; color: #374151; margin-bottom: 8px;
  padding-left: 18px; position: relative;
}
.wn-detail-block li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #1E6BB8;
}
.wn-detail-block li:last-child { margin-bottom: 0; }

/* 实施过程：时间轴可视化 */
.wn-process { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.wn-step {
  display: flex; align-items: flex-start; gap: 12px; position: relative;
}
.wn-step-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#1E6BB8,#3B82F6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(30,107,184,.3);
}
.wn-step-line {
  width: 2px; flex-shrink: 0; align-self: stretch;
  background: linear-gradient(180deg,#1E6BB8,#dbeafe);
  margin-left: 13px;
}
.wn-step:last-child .wn-step-line { background: transparent; }
.wn-step-body { flex: 1; padding: 2px 0 20px 4px; min-width: 0; }
.wn-step-phase {
  display: inline-block; font-size: 14px; font-weight: 700; color: #0F4C81;
  background: #EFF6FF; padding: 2px 10px; border-radius: 6px; margin-right: 8px;
}
.wn-step-time { font-size: 13px; color: #94a3b8; }
.wn-step-desc {
  margin: 6px 0 0; font-size: 14.5px; line-height: 1.9; color: #4b5563;
}

/* 备赛启示 */
.wn-learn {
  margin-top: 16px; padding: 16px 18px; border-radius: 10px;
  background: linear-gradient(135deg,#EFF6FF,#f6faff);
  border: 1px solid #dbeafe;
  display: flex; flex-direction: column; gap: 6px;
}
.wn-learn b { font-size: 15px; color: #155A9E; display: flex; align-items: center; gap: 4px; }
.wn-learn b::before { content: '💡'; font-size: 14px; }
.wn-learn span { font-size: 15px; line-height: 1.95; color: #334155; text-align: justify; }

/* 展开按钮 */
.wn-toggle {
  margin-top: auto; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px; border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 700; color: #155A9E;
  background: #f1f6fd; border-radius: 10px; transition: all .2s ease;
}
.wn-toggle:hover { background: #dbeafe; color: #0F4C81; }
.wn-toggle svg { width: 17px; height: 17px; transition: transform .3s ease; }
.wn-toggle.open svg { transform: rotate(180deg); }

/* 方法论卡片 */
.wn-method-card { padding: 28px 24px; }
.wn-method-card h3 { font-size: 18px; margin-bottom: 10px; }
.wn-method-card p { font-size: 15px; line-height: 1.9; }

/* 响应式 */
@media (max-width: 980px) {
  .wn-grid { grid-template-columns: repeat(2, 1fr); }
  .wn-metrics { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .wn-grid { grid-template-columns: 1fr; }
  .wn-cover { height: 200px; }
  .wn-body { padding: 18px 18px 20px; }
  .wn-card h3 { font-size: 17px; }
  .wn-brief { font-size: 14.5px; }
  .wn-metrics { grid-template-columns: repeat(3,1fr); gap: 8px; padding: 12px 10px; }
  .wn-metric b { font-size: 15px; }
  .wn-metric span { font-size: 11px; }
  .wn-detail-block h4 { font-size: 15px; }
  .wn-detail-block p { font-size: 14.5px; }
  .wn-detail-block li { font-size: 14.5px; }
  .wn-step-desc { font-size: 13.5px; }
  .wn-learn span { font-size: 14px; }
  .wn-toolbar { padding: 14px; }
  .wn-toolbar .comp-sort button { padding: 6px 12px; font-size: 12.5px; }
}

/* ========== v8.1 获奖作品卡片跳转链接样式 ========== */
.wn-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.wn-card-link:hover {
  text-decoration: none;
}
.wn-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #1E6BB8;
  font-size: 14px;
  font-weight: 600;
}
.wn-detail-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.wn-card-link:hover .wn-detail-link svg {
  transform: translateX(4px);
}

/* ============================================================
   v8.2 组队广场（TeamUp）：组队帖 + 回帖 + 发布/举报弹窗
   ============================================================ */

/* --- 页面头部 --- */
.tm-hero {
  background: linear-gradient(135deg, #0F4C81 0%, #1E6BB8 55%, #3B82F6 100%);
  padding: 46px 24px 42px;
  color: #fff;
}
.tm-hero-inner { max-width: 1000px; margin: 0 auto; }
.tm-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.tm-eyebrow svg { width: 15px; height: 15px; }
.tm-hero h1 { font-size: 36px; font-weight: 800; margin: 0 0 12px; color: #fff; letter-spacing: 0.5px; }
.tm-hero h1 b { color: #BFDBFE; }
.tm-hero p { font-size: 16px; line-height: 1.9; margin: 0 0 22px; max-width: 640px; color: rgba(255,255,255,0.92); }
.tm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-hero .comp-btn.ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; }
.tm-hero .comp-btn.ghost:hover { background: rgba(255,255,255,0.22); }

/* --- 筛选工具条 --- */
.tm-toolbar {
  max-width: 1000px; margin: -20px auto 0; padding: 18px 20px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15,76,129,0.10);
  position: relative; z-index: 2;
}
.tm-toolbar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tm-select { max-width: 280px; flex: 1 1 200px; }
.tm-toolbar-row .comp-input:not(.tm-select) { flex: 1 1 200px; max-width: 300px; margin-left: auto; }
.tm-count-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #E5EDF5; }
.tm-count { font-size: 14px; font-weight: 700; color: #0F4C81; }
.tm-count-tip { font-size: 12.5px; color: #6b7280; }

/* --- 通知铃铛 --- */
.tm-notify-btn { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; color: #6b7280; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.tm-notify-btn:hover { background: #EFF6FF; color: #1E6BB8; }
.tm-notify-btn svg { width: 22px; height: 22px; }
.tm-notify-badge { position: absolute; top: 0; right: 0; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.tm-notify-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 320px; max-height: 420px; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(15,76,129,0.15); border: 1px solid #E5EDF5; z-index: 200; overflow: hidden; display: flex; flex-direction: column; }
.tm-notify-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #F0F4F8; font-weight: 700; color: #0F4C81; font-size: 14px; }
.tm-notify-clear { background: none; border: none; color: #1E6BB8; font-size: 12px; cursor: pointer; font-weight: 600; }
.tm-notify-clear:hover { text-decoration: underline; }
.tm-notify-list { overflow-y: auto; max-height: 360px; }
.tm-notify-empty { padding: 30px 14px; text-align: center; color: #9ca3af; font-size: 13px; }
.tm-notify-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #F7FAFC; cursor: pointer; transition: background .15s; }
.tm-notify-item:hover { background: #F8FBFF; }
.tm-notify-item.unread { background: #EFF6FF; }
.tm-notify-item .tm-avatar { width: 36px; height: 36px; font-size: 14px; }
.tm-notify-body { flex: 1; min-width: 0; }
.tm-notify-text { font-size: 13px; color: #1f2937; line-height: 1.5; }
.tm-notify-text b { color: #1E6BB8; }
.tm-notify-post { font-size: 12px; color: #6b7280; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-notify-time { font-size: 11px; color: #9ca3af; margin-top: 3px; }

/* --- 组队帖卡片 --- */
.tm-list { max-width: 1000px; margin: 22px auto 0; padding: 0 20px; display: grid; gap: 16px; min-width: 0; }
.tm-card {
  background: #fff; border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(15,76,129,0.07);
  border: 1px solid #EAF1F8;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
}
.tm-card:hover { box-shadow: 0 10px 30px rgba(15,76,129,0.13); transform: translateY(-2px); }
.tm-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tm-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tm-avatar-default {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E6BB8, #3B82F6);
  color: #fff; font-size: 17px; font-weight: 700;
}
.tm-card-user { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tm-name { font-size: 14.5px; font-weight: 700; color: #111827; }
.tm-meta { font-size: 12.5px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-status {
  flex-shrink: 0; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}
.tm-status.recruiting { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.tm-status.closed { background: #F3F4F6; color: #6b7280; border: 1px solid #E5E7EB; }

.tm-title { font-size: 17.5px; font-weight: 700; color: #111827; margin: 0 0 8px; line-height: 1.5; }
.tm-content {
  font-size: 14.5px; color: #374151; line-height: 1.9; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tm-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tm-tags-label { font-size: 13px; color: #6b7280; font-weight: 600; }
.tm-role {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #EFF6FF; color: #1E6BB8; border: 1px solid #BFDBFE;
  font-size: 12.5px; font-weight: 600;
}

.tm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tm-comp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 5px 12px; border-radius: 8px;
  background: #F0F7FF; color: #0F4C81; border: 1px solid #DBEAFE;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.tm-comp-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.tm-comp-chip:hover { background: #DBEAFE; }
.tm-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.tm-act {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: #6b7280; font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.tm-act svg { width: 15px; height: 15px; }
.tm-act:hover { background: #EFF6FF; color: #1E6BB8; }
.tm-act.sm { padding: 4px 8px; font-size: 12px; }

/* --- 浏览量 / 点赞 --- */
.tm-view {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; font-size: 13px; color: #6b7280; user-select: none;
}
.tm-view svg { width: 15px; height: 15px; }
.tm-like {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: #6b7280; font-size: 13px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.tm-like svg { width: 15px; height: 15px; }
.tm-like:hover { background: #FEF2F2; color: #ef4444; }
.tm-like:focus-visible { outline: 2px solid #1E6BB8; outline-offset: 2px; }
.tm-like:active { transform: scale(0.92); }
.tm-like.liked { color: #ef4444; font-weight: 700; }
.tm-like.liked:hover { background: #FEF2F2; color: #dc2626; }
.tm-view b, .tm-like b { font-weight: 700; }

/* --- 回帖区 --- */
.tm-replies { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #E5EDF5; display: grid; gap: 12px; }
.tm-reply-loading { font-size: 13px; color: #9ca3af; text-align: center; padding: 8px 0; }
.tm-reply { display: flex; gap: 10px; align-items: flex-start; }
.tm-reply .tm-avatar { width: 32px; height: 32px; font-size: 13px; }
.tm-reply-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tm-reply-body .tm-name { font-size: 13px; }
.tm-reply-body .tm-meta { font-size: 11.5px; }
.tm-reply-body p { margin: 0; font-size: 14px; color: #374151; line-height: 1.8; word-break: break-word; }
.tm-reply-form { display: flex; gap: 10px; margin-top: 4px; }
.tm-reply-form .comp-input { flex: 1; min-width: 0; height: 40px; }
.tm-reply-form .comp-btn { height: 40px; flex-shrink: 0; }

/* --- 详情页内嵌组队区 --- */
.tm-detail-panel .tm-detail-list { display: grid; gap: 10px; margin-bottom: 16px; }
.tm-detail-loading, .tm-detail-empty { font-size: 14px; color: #6b7280; padding: 10px 0; }
.tm-detail-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: #F8FAFD; border: 1px solid #EAF1F8;
  text-decoration: none; transition: background 0.15s, border-color 0.15s;
  min-width: 0;
}
.tm-detail-item:hover { background: #EFF6FF; border-color: #BFDBFE; }
.tm-detail-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tm-detail-item-main b { font-size: 14.5px; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-detail-item-main span { font-size: 12.5px; color: #6b7280; }
.tm-detail-item-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-detail-item-badge {
  flex-shrink: 0; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0;
}
.tm-detail-item-badge.closed { background: #F3F4F6; color: #6b7280; border-color: #E5E7EB; }
.tm-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- 社区公约 --- */
.tm-rules {
  max-width: 1000px; margin: 28px auto 0; padding: 20px 24px;
  background: #F8FAFD; border: 1px solid #E5EDF5; border-radius: 12px;
}
.tm-rules h3 { font-size: 15px; color: #0F4C81; margin: 0 0 10px; }
.tm-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.tm-rules li { font-size: 13.5px; color: #4b5563; line-height: 1.8; }

/* --- 弹窗 --- */
.tm-modal {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 40, 70, 0.5); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.tm-modal.open { display: flex; }
.tm-modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(15,40,70,0.3);
  animation: tmPop 0.22s ease;
}
.tm-modal-box.sm { max-width: 420px; }
@keyframes tmPop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.tm-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #EEF3F8;
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.tm-modal-head h3 { margin: 0; font-size: 17px; color: #111827; }
.tm-modal-close {
  border: none; background: transparent; font-size: 24px; line-height: 1;
  color: #9ca3af; cursor: pointer; padding: 2px 8px; border-radius: 6px;
}
.tm-modal-close:hover { color: #111827; background: #F3F4F6; }
.tm-modal-body { padding: 18px 22px; display: grid; gap: 14px; }
.tm-modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 22px 18px; border-top: 1px solid #EEF3F8;
}
.tm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tm-field > span { font-size: 13.5px; font-weight: 600; color: #374151; }
.tm-field > span i { font-style: normal; font-weight: 400; color: #9ca3af; font-size: 12px; }
.tm-field .comp-input { width: 100%; }
.tm-field-row { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.tm-form-tip { margin: 0; font-size: 12.5px; color: #9ca3af; line-height: 1.7; }
.tm-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-role-pick {
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #D1D5DB; background: #fff; color: #4b5563;
  font-size: 13px; transition: all 0.15s;
}
.tm-role-pick:hover { border-color: #1E6BB8; color: #1E6BB8; }
.tm-role-pick.on { background: #1E6BB8; border-color: #1E6BB8; color: #fff; font-weight: 600; }

/* --- Toast --- */
.tm-toast {
  position: fixed; left: 50%; bottom: 48px; transform: translateX(-50%) translateY(16px);
  background: #111827; color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 14px; opacity: 0; transition: all 0.25s; z-index: 1100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); pointer-events: none; max-width: 86vw;
}
.tm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.tm-toast.err { background: #DC2626; }

/* --- 帖子类型徽章 --- */
.tm-type-chip {
  flex-shrink: 0; padding: 3px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.tm-type-chip.team { background: #EFF6FF; color: #1E6BB8; border: 1px solid #BFDBFE; }
.tm-type-chip.question { background: #FFF7ED; color: #D97706; border: 1px solid #FED7AA; }
.tm-type-chip.share { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }

/* --- 类型化状态徽章 --- */
.tm-status.open { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.tm-status.done { background: #F3F4F6; color: #6b7280; border: 1px solid #E5E7EB; }
.tm-card[data-type="question"] .tm-status.open { background: #FFF7ED; color: #D97706; border-color: #FED7AA; }

/* --- 发帖弹窗类型选择 --- */
.tm-types { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-type-pick {
  padding: 8px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid #D1D5DB; background: #fff; color: #4b5563;
  font-size: 13.5px; transition: all 0.15s;
}
.tm-type-pick:hover { border-color: #1E6BB8; color: #1E6BB8; }
.tm-type-pick.on { background: #1E6BB8; border-color: #1E6BB8; color: #fff; font-weight: 700; }

/* --- 问答：最佳回答 --- */
.tm-best {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #fff; font-size: 11.5px; font-weight: 700;
  width: fit-content;
}
.tm-reply.accepted {
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 10px; padding: 10px 12px;
}
.tm-accept { color: #1E6BB8; font-weight: 600; }
.tm-accept:hover { background: #EFF6FF; color: #155A9E; }

/* --- 响应式 --- */
@media (max-width: 768px) {
  .tm-hero { padding: 34px 18px 30px; }
  .tm-hero h1 { font-size: 26px; }
  .tm-hero p { font-size: 14.5px; }
  .tm-toolbar { margin: -16px 14px 0; padding: 14px 16px; }
  .tm-toolbar-row .comp-input:not(.tm-select) { max-width: none; margin-left: 0; flex-basis: 100%; }
  .tm-list { padding: 0 14px; }
  .tm-card { padding: 16px; }
  .tm-title { font-size: 16px; }
  .tm-field-row { grid-template-columns: 1fr; }
  .tm-detail-actions .comp-btn { width: 100%; text-align: center; }
}

/* ---------- 全局未读消息角标 ---------- */
.global-unread-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:17px;height:17px;padding:0 5px;margin-left:5px;
  background:#e63946;color:#fff;border-radius:9px;
  font-size:11px;font-weight:700;line-height:1;
  border:1.5px solid #fff;box-sizing:border-box;vertical-align:2px;
  animation:badgePulse 2s infinite;
}
@keyframes badgePulse{0%,100%{box-shadow:0 0 0 0 rgba(230,57,70,.5);}50%{box-shadow:0 0 0 5px rgba(230,57,70,0);}}
.user-dropdown a:first-child{color:#e63946;font-weight:700;}
