/* =========================================================
   我的竞赛路线 · 首页改版 v2.0
   风格：延续 knowledge.css 米白柔和体系（--kn-* 变量）
   结构：英雄区(进度+CTA) | 横向征途地图(节点+悬浮卡) | 今日任务
        | 四大功能入口 | 战绩成就 | 快捷导航
   动效：悬浮上浮、进度渐变(橙→金)、通关粒子 —— 克制不花哨
   ========================================================= */

.rt-main { max-width: 1080px; margin: 0 auto; padding: 30px 16px 100px; }   /* 顶部离开导航、底部大幅留白与页脚拉开 */

/* 区块标题（模块间留足呼吸感） */
.rt-sec-head {
  display: flex; align-items: baseline; gap: 10px;
  margin: 38px 2px 14px;
}
.rt-sec-head b { font-size: 16.5px; color: #2b2b2b; }
.rt-sec-sub { font-size: 12px; color: #b0a490; }

/* 区块间隔：每个模块区独立留白，页面节奏清晰 */
.rt-map-wrap { margin-top: 16px; }
.rt-tasks { margin-top: 8px; }
.rt-entries { margin-top: 8px; }
.rt-achv { margin-top: 8px; }
.rt-quicknav { margin-top: 34px; margin-bottom: 6px; }

/* ================= ① 英雄区 ================= */
.rt-hero {
  display: flex; align-items: stretch; gap: 18px;
  background: linear-gradient(135deg, #fff7ec, #fffdf8);
  border: 1px solid #f5e3c8; border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 6px 24px rgba(255, 0, 110, .06);
}
.rt-hero-l { flex: 1.1; min-width: 0; }
.rt-hero-r { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.rt-hello { margin: 0 0 8px; font-size: 14px; color: #8a7a66; }
.rt-hero-nums { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rt-big-num {
  font-size: 52px; line-height: 1; font-weight: 800;
  background: linear-gradient(120deg, #ff006e, #ffb800);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-big-sub { font-size: 13.5px; color: #8a7a66; }
.rt-hero-tags { display: flex; gap: 8px; margin: 12px 0 16px; flex-wrap: wrap; }
.rt-cur-stage { background: #fff; border: 1px solid #f0e2cf; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: #8a6a4a; }
.rt-vip-tag { background: linear-gradient(135deg, #f7b733, #fc4a1a); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }

/* 两个数据小卡 */
.rt-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 340px; }
.rt-stat-card {
  background: #fff; border: 1px solid #f0e8dc; border-radius: 14px;
  padding: 12px 14px; text-decoration: none;
  display: flex; flex-direction: column; gap: 2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(60, 50, 30, .1); }
.rt-stat-ico { font-size: 18px; }
.rt-stat-val { font-size: 24px; font-weight: 800; color: #2b2b2b; line-height: 1.1; }
.rt-stat-name { font-size: 11.5px; color: #a29880; }

/* 主 CTA：超大橙色按钮 */
.rt-continue {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: linear-gradient(135deg, #ff006e, #ff006e);
  color: #fff; text-decoration: none; text-align: center;
  border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 12px 28px -8px rgba(255, 0, 110, .5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-continue:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255, 0, 110, .55); }
.rt-continue-main { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.rt-continue-sub { font-size: 12px; opacity: .92; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-ide-link {
  align-self: center; font-size: 12.5px; color: #c07b1a; text-decoration: none;
  background: #fff; border: 1px solid #f0e2cf; border-radius: 999px; padding: 6px 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-ide-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(60, 50, 30, .08); }

/* 加宽渐变进度条 + 终点奖杯 */
.rt-progress-line { position: relative; padding-right: 34px; margin-top: 6px; }
.rt-progress-bar {
  height: 12px; border-radius: 999px; background: #f1e7d8; overflow: hidden;
}
.rt-progress-bar.rt-wide { height: 16px; border-radius: 999px; }
.rt-progress-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #ff006e, #ffb800);
  transition: width .8s cubic-bezier(.22, .8, .36, 1);
}
.rt-trophy {
  position: absolute; right: 0; top: 50%; transform: translateY(-52%);
  font-size: 24px; filter: drop-shadow(0 2px 4px rgba(255, 184, 0, .45));
}
.rt-progress-note { margin: 0; font-size: 11.5px; color: #b0a490; text-align: right; }

/* ================= ② 横向闯关征途地图 ================= */
.rt-map-wrap {
  background: #fff; border: 1px solid #f0e8dc; border-radius: 16px;
  padding: 4px 0 14px; overflow: hidden;
}
.rt-map { padding: 0 16px; }

/* 阶段（征途分段） */
.rt-stage { margin-top: 12px; }
.rt-stage-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  padding: 10px 14px; background: linear-gradient(135deg, #fffaf3, #fff);
  border: 1px solid #f0e8dc; border-radius: 12px;
  border-left: 5px solid var(--stage-color, #ff006e);
}
.rt-stage-icon { font-size: 20px; }
.rt-stage-title { font-size: 15px; font-weight: 700; color: #2b2b2b; }
.rt-stage-sub { font-size: 12px; color: #6b5c44; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-stage-pct { font-size: 13px; font-weight: 700; color: var(--stage-color, #ff006e); white-space: nowrap; }

/* 节点轨道：横向滚动征途 */
.rt-track {
  display: flex; align-items: flex-start; gap: 4px;
  overflow-x: auto; padding: 8px 4px 14px;
  scrollbar-width: thin; scrollbar-color: #ecdcc4 transparent;
}
.rt-track::-webkit-scrollbar { height: 6px; }
.rt-track::-webkit-scrollbar-thumb { background: #ecdcc4; border-radius: 999px; }

.rt-node {
  position: relative; flex: none; width: 128px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; padding: 6px 4px; border-radius: 12px;
  transition: transform .15s ease;
}
.rt-node:hover { transform: translateY(-3px); }
/* 节点圆徽 */
.rt-node-dot {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  background: #f4ecdf; color: #a29880; border: 2px solid #eaddc6;
}
/* 节点连接线（当前节点之后到下一节点） */
.rt-node:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 30px);
  width: calc(100% - 60px); height: 3px; border-radius: 999px; background: #eee2cd;
}
.rt-node.done:not(:last-child)::after { background: #9fd8a6; }
/* 已通关：柔和绿点亮 + 打勾 */
.rt-node.done .rt-node-dot { background: #e8f7e9; color: #1aad19; border-color: #9fd8a6; }
/* 当前关卡：高亮放大 */
.rt-node.open .rt-node-dot {
  background: linear-gradient(135deg, #ff006e, #ff006e); color: #fff;
  border-color: #ff006e; transform: scale(1.12);
  box-shadow: 0 6px 16px -2px rgba(255, 0, 110, .55);
  animation: rt-pulse 2s ease-in-out infinite;
}
@keyframes rt-pulse {
  0%, 100% { box-shadow: 0 6px 16px -2px rgba(255, 0, 110, .55); }
  50% { box-shadow: 0 6px 22px 2px rgba(255, 0, 110, .75); }
}
/* 未解锁：灰色锁 */
.rt-node.locked, .rt-node.member { cursor: not-allowed; }
.rt-node.locked .rt-node-dot { background: #f2f2f0; color: #857f72; border-color: #d8d4cc; }
.rt-node.member .rt-node-dot { background: #fdf3e3; color: #c9a25e; border-color: #ecd9b4; }

.rt-node-name { font-size: 11.5px; color: #4a4438; text-align: center; line-height: 1.35; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-node.done .rt-node-name { color: #1aad19; }
.rt-node.locked .rt-node-name { color: #b8b4ac; }
.rt-node-state { font-size: 10.5px; color: #7a6c52; font-weight: 600; }

/* 悬浮关卡内容卡（录播课/笔记/题单/小测） */
.rt-node-tip {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); z-index: 60;
  width: 216px; background: #fff; border: 1px solid #f0e2cf; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(60, 50, 30, .16); padding: 10px 12px;
  text-align: left; cursor: default;
}
.rt-node:hover .rt-node-tip { display: block; }
.rt-node-tip b { display: block; font-size: 12.5px; color: #2b2b2b; margin-bottom: 6px; }
.rt-node-tip .rt-tip-row { font-size: 11.5px; color: #6a6254; line-height: 1.9; }
.rt-node-tip .rt-tip-ok { color: #1aad19; }
.rt-node-tip .rt-tip-go { display: inline-block; margin-top: 6px; font-size: 11.5px; color: #ff006e; font-weight: 700; text-decoration: none; }

/* 骨架屏 */
.rt-skeleton { padding: 10px 16px 16px; }
.rt-sk-stage { height: 42px; border-radius: 12px; margin-bottom: 12px; }
.rt-sk-track { display: flex; gap: 22px; margin-bottom: 16px; overflow: hidden; }
.rt-sk-node { flex: none; width: 128px; height: 84px; border-radius: 12px; }
.rt-sk-stage, .rt-sk-node {
  background: linear-gradient(90deg, #f5efe4 25%, #faf6ec 45%, #f5efe4 65%);
  background-size: 200% 100%; animation: rt-shimmer 1.3s infinite linear;
}
@keyframes rt-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* 空态 / 未安装提示 */
.rt-empty { font-size: 12.5px; color: #b0a490; text-align: center; padding: 18px 0; }
.rt-login-tip { text-align: center; padding: 22px 0 6px; font-size: 13.5px; color: #8a7a66; }
.rt-login-tip a {
  display: inline-block; margin-top: 12px; background: var(--kn-orange, #ff006e);
  color: #fff; border-radius: 10px; padding: 10px 28px; text-decoration: none; font-size: 14px;
}

/* ================= ③ 今日必做任务 ================= */
.rt-task-list { display: flex; flex-direction: column; gap: 10px; }
.rt-task {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #f0e8dc; border-radius: 14px;
  padding: 14px 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-task:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60, 50, 30, .09); }
.rt-task-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; font-size: 21px;
  display: flex; align-items: center; justify-content: center; background: #fff7ec;
}
.rt-task-main { flex: 1; min-width: 0; }
.rt-task-title { font-size: 14.5px; font-weight: 700; color: #2b2b2b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-task-desc { font-size: 12px; color: #6b5c44; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-task-side { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.rt-task-tag { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.rt-task-tag.main { background: #fff0e6; color: #ff006e; }
.rt-task-tag.review { background: #f1edff; color: #7c5cff; }
.rt-task-tag.weak { background: #fff3e0; color: #c07b1a; }
.rt-task-tag.hw { background: #e6f4fb; color: #0077b6; }
.rt-task-est { font-size: 11.5px; color: #6b5c44; font-weight: 600; }
.rt-task-go {
  flex: none; background: linear-gradient(135deg, #d60062, #ff006e); color: #fff;
  border-radius: 10px; padding: 8px 18px; font-size: 13.5px; font-weight: 800; text-decoration: none;
  text-shadow: 0 1px 2px rgba(140, 45, 0, .4);
  box-shadow: 0 6px 14px -4px rgba(230, 80, 20, .55);
  transition: transform .15s ease;
}
.rt-task:hover .rt-task-go { transform: translateX(2px); }

/* ================= ④ 四大功能入口 ================= */
.rt-entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rt-entry {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #f0e8dc; border-radius: 16px;
  padding: 18px 16px; text-decoration: none; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rt-entry:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 50, 30, .1); }
.rt-entry::after {
  content: ''; position: absolute; right: -20px; top: -20px; width: 72px; height: 72px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 110, .08), transparent 70%);
}
.rt-entry-ico { font-size: 26px; }
.rt-entry b { font-size: 14.5px; color: #2b2b2b; }
.rt-entry p { margin: 0; font-size: 11.5px; color: #a29880; line-height: 1.65; }
.rt-entry-badge {
  position: absolute; top: 12px; right: 12px; min-width: 20px; height: 20px;
  background: #ff4d4f; color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; display: none; align-items: center; justify-content: center; padding: 0 6px;
}
.rt-entry-badge.show { display: inline-flex; }

/* ================= ⑤ 战绩成就栏 ================= */
.rt-achv-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.rt-card { background: #fff; border: 1px solid #f0e8dc; border-radius: 14px; overflow: hidden; }
.rt-card-head {
  display: flex; align-items: baseline; gap: 8px; padding: 13px 16px;
  border-bottom: 1px solid #f5efe5; font-size: 14px; color: #2b2b2b;
}
.rt-card-head b { font-size: 14.5px; }
.rt-card-sub { font-size: 11.5px; color: #b0a490; }
.rt-card-body { padding: 10px 14px 14px; min-height: 96px; }

/* 勋章 */
.rt-badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rt-badge {
  display: flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 11.5px; font-weight: 600;
  transition: transform .15s ease;
}
.rt-badge:hover { transform: translateY(-2px); }
.rt-badge .rt-badge-ico { font-size: 18px; }
.rt-badge.gold { background: linear-gradient(135deg, #fff6dc, #ffefd0); color: #a06a00; border: 1px solid #f3ddad; }
.rt-badge.silver { background: #f4f6f8; color: #6a7686; border: 1px solid #dde4ea; }

/* 最近测评 */
.rt-run {
  display: flex; align-items: center; gap: 8px; padding: 7px 4px;
  border-bottom: 1px dashed #f0e8dc; font-size: 12.5px; color: #4a4438;
}
.rt-run:last-child { border-bottom: 0; }
.rt-run-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-run-score { font-weight: 800; color: #ff006e; }
.rt-run-date { font-size: 11px; color: #b0a490; }

/* 倒计时 */
.rt-cd { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }
.rt-cd-days {
  flex: none; min-width: 58px; text-align: center;
  font-size: 20px; font-weight: 800; color: #ff006e;
  background: #fff0e6; border-radius: 12px; padding: 6px 10px;
}
.rt-cd-days small { display: block; font-size: 10px; font-weight: 600; color: #c9925f; }
.rt-cd-name { font-size: 12.5px; color: #4a4438; line-height: 1.5; }
.rt-cd-name small { display: block; font-size: 11px; color: #a29880; }

/* ================= ⑥ 底部快捷导航 ================= */
.rt-quicknav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; margin-bottom: 40px; }
.rt-quick {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #fff 55%, #fff6ec 100%);
  border: 1px solid #f2e5d2; border-radius: 16px; padding: 16px 16px;
  text-decoration: none; color: #2b2b2b; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* 左侧能量条：四卡四色，一眼区分 */
.rt-quick::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #ff8f1f, #ff7a00);
}
.rt-quick:nth-child(2)::before { background: linear-gradient(180deg, #7c5cff, #5b6cff); }
.rt-quick:nth-child(3)::before { background: linear-gradient(180deg, #ff4d94, #ff8f1f); }
.rt-quick:nth-child(4)::before { background: linear-gradient(180deg, #22b07d, #5bc98c); }
.rt-quick:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(255, 0, 110, .14); border-color: #ffd9b8; }
.rt-quick-ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, #fff1e4, #ffe0c7);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .15);
}
.rt-quick:nth-child(2) .rt-quick-ico { background: linear-gradient(135deg, #eeebff, #ded8ff); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .15); }
.rt-quick:nth-child(3) .rt-quick-ico { background: linear-gradient(135deg, #ffe9f2, #ffd4e6); box-shadow: inset 0 0 0 1px rgba(255, 77, 148, .15); }
.rt-quick:nth-child(4) .rt-quick-ico { background: linear-gradient(135deg, #e3f7ee, #cdeeda); box-shadow: inset 0 0 0 1px rgba(34, 176, 125, .15); }
.rt-quick-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rt-quick-txt b { font-size: 14.5px; }
.rt-quick-txt small { font-size: 11.5px; color: #b0a490; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-quick-go {
  margin-left: auto; flex: none; font-size: 12px; font-weight: 700; color: #ff8f1f;
  opacity: 0; transform: translateX(-6px); transition: .2s ease;
}
.rt-quick:hover .rt-quick-go { opacity: 1; transform: translateX(0); }

/* ================= 编程工具下载 ================= */
.rt-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }

/* ---- 平台数据大屏：三色渐变大数字 + count-up ---- */
.rt-plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rt-plat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff; border: 1px solid #f5e6ee; border-radius: 18px; padding: 22px 14px 18px;
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.rt-plat-card::before {
  content: ''; position: absolute; inset: auto -20% -55% -20%; height: 90px; border-radius: 50%;
  background: var(--pc, rgba(255, 0, 110, .1)); filter: blur(26px); pointer-events: none;
}
.rt-plat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(255, 0, 110, .35); }
.rt-plat-card.p1 { --pc: rgba(255, 122, 0, .16); }
.rt-plat-card.p2 { --pc: rgba(255, 0, 110, .16); }
.rt-plat-card.p3 { --pc: rgba(131, 56, 236, .16); }
.rt-plat-card.p4 { --pc: rgba(0, 180, 216, .16); }
.rt-plat-ico { font-size: 26px; line-height: 1.2; }
.rt-plat-num {
  font-size: 34px; font-weight: 900; letter-spacing: 1px; line-height: 1.15; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #ff7a00 10%, #ff006e 55%, #8338ec 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-plat-card small { font-size: 12.5px; color: #8a7a68; font-weight: 600; }
.rt-plat-card::after {
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 3px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #ff7a00, #ff006e, #8338ec); opacity: 0; transition: opacity .18s ease;
}
.rt-plat-card:hover::after { opacity: 1; }
@media (max-width: 900px) { .rt-plat-grid { grid-template-columns: repeat(2, 1fr); } .rt-plat-num { font-size: 28px; } }
.rt-tool {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid #f0e8dc; border-radius: 16px; padding: 18px 16px;
  text-decoration: none; overflow: hidden; color: #2b2b2b;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rt-tool:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 50, 30, .1); }
.rt-tool-ico {
  width: 42px; height: 42px; border-radius: 12px; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef1ff, #e3e8ff);
}
.rt-tool b { font-size: 14.5px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rt-tool b small { font-size: 10.5px; color: #ff8f1f; background: #fff3e8; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.rt-tool p { margin: 0; font-size: 11.5px; color: #a29880; line-height: 1.65; }
.rt-tool-go { font-size: 12px; font-weight: 700; color: #ff8f1f; margin-top: auto; }

/* ================= 最新资讯 ================= */
.rt-news-card {
  background: #fff; border: 1px solid #f0e8dc; border-radius: 16px;
  padding: 8px 20px; box-shadow: 0 2px 10px rgba(60, 50, 30, .04);
}
.rt-news-list { list-style: none; margin: 0; padding: 0; }
.rt-news-list li { border-bottom: 1px dashed #f2ebdf; }
.rt-news-list li:last-child { border-bottom: 0; }
.rt-news-list a {
  display: flex; align-items: center; gap: 10px; padding: 11px 2px;
  font-size: 13.5px; color: #4a4438; text-decoration: none; transition: color .15s;
}
.rt-news-list a:hover { color: #ff006e; }
.rt-news-list a::after { content: '›'; margin-left: auto; color: #d8cbb6; font-size: 16px; }
.rt-news-tag {
  flex: none; font-size: 10.5px; font-weight: 700; color: #b07020;
  background: #fff3e0; border-radius: 999px; padding: 2px 8px;
}
.rt-news-tag.hot { color: #fff; background: linear-gradient(120deg, #ff7a00, #ff8f1f); }
.rt-news-tag.student { color: #fff; background: linear-gradient(120deg, #8338ec, #ff006e); }
.rt-news-more {
  display: block; text-align: center; padding: 12px 0 6px;
  font-size: 12.5px; font-weight: 700; color: #ff8f1f; text-decoration: none;
}
.rt-news-more:hover { color: #ff7a00; }
.rt-news-date { margin-left: auto; flex: none; font-size: 11.5px; color: #c9bda6; }
.rt-news-list a::after { display: none; }
.rt-news-empty { text-align: center; padding: 26px 0; font-size: 13px; color: #b0a490; }

/* ================= ⑦ 资讯详情页 ================= */
.rt-news-detail { max-width: 820px; margin: 0 auto; }
.rt-news-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; padding: 6px 14px;
  font-size: 13px; font-weight: 700; color: #8a7a5e; text-decoration: none;
  background: #fff; border: 1px solid #f0e4d0; border-radius: 999px;
  transition: color .15s, border-color .15s;
}
.rt-news-back:hover { color: #ff006e; border-color: #ffd9bd; }
.rt-news-art {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid #f2e5d2; border-radius: 18px;
  padding: 34px 38px 38px;
  box-shadow: 0 8px 28px rgba(120, 90, 40, .05);
}
.rt-news-art::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff006e, #ffb347, #7dd3fc);
}
.rt-news-art-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rt-news-art-time { margin-left: auto; font-size: 12.5px; color: #c9bda6; }
.rt-news-art-title {
  font-size: 25px; line-height: 1.45; color: #241c10; margin: 0 0 14px;
  padding-bottom: 16px; position: relative;
}
.rt-news-art-title::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, #ff006e, #ffb347);
}
.rt-news-art-body { font-size: 15px; line-height: 1.95; color: #4a4234; word-break: break-word; }
.rt-news-art-body img { max-width: 100%; height: auto; border-radius: 10px; }
.rt-news-art-body a { color: #ff006e; }
.rt-news-art-body p { margin: 0 0 12px; }
.rt-news-art-body h3 {
  margin: 22px 0 10px; font-size: 16.5px; color: #241c10;
  padding-left: 10px; border-left: 4px solid #ffb347; line-height: 1.4;
}
.rt-news-art-body ul, .rt-news-art-body ol { margin: 0 0 14px; padding-left: 22px; }
.rt-news-art-body li { margin-bottom: 6px; }
.rt-news-art-body li::marker { color: #ff8f1f; }
.rt-news-art-body blockquote {
  margin: 14px 0; padding: 12px 16px;
  background: #fffaf0; border: 1px solid #f5e3c8; border-left: 4px solid #ffb347;
  border-radius: 10px; font-size: 13.5px; color: #8a6d3b;
}
.rt-news-art-body strong { color: #d97706; }
/* 正文待整理占位卡 */
.rt-news-todo {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 34px 16px; margin: 6px 0 4px;
  background: repeating-linear-gradient(-45deg, #fffaf0, #fffaf0 12px, #fff5e2 12px, #fff5e2 24px);
  border: 1px dashed #e8cfa0; border-radius: 14px; text-align: center;
}
.rt-news-todo-ico { font-size: 34px; line-height: 1; }
.rt-news-todo b { font-size: 15px; color: #8a6d3b; }
.rt-news-todo small { font-size: 12.5px; color: #b09a72; }
/* 原文入口 */
.rt-news-src { margin-top: 24px; padding-top: 18px; border-top: 1px dashed #f0e4d0; }
.rt-news-src a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: #ff006e; text-decoration: none;
  background: linear-gradient(135deg, #fff4ea, #ffe9db);
  border: 1px solid #ffd9bd; transition: transform .15s, box-shadow .15s;
}
.rt-news-src a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 0, 110, .18); }
/* 更多资讯 */
.rt-news-more-card {
  background: #fff; border: 1px solid #f2e5d2; border-radius: 18px;
  padding: 20px 26px 10px; margin-top: 26px;
  box-shadow: 0 8px 28px rgba(120, 90, 40, .05);
}
.rt-news-more-card h3 { margin: 0 0 8px; font-size: 15px; color: #241c10; }
.rt-news-more-card .rt-news-list a::after {
  content: '›'; margin-left: auto; flex: none;
  font-size: 18px; color: #d8c9a8; transition: color .15s, transform .15s;
}
.rt-news-more-card .rt-news-list a:hover::after { color: #ff006e; transform: translateX(3px); }
@media (max-width: 767px) {
  .rt-news-back { padding: 7px 16px; font-size: 13.5px; }
  .rt-news-art { padding: 24px 18px 26px; border-radius: 14px; }
  .rt-news-art-title { font-size: 19px; }
  .rt-news-art-body { font-size: 14.5px; line-height: 1.9; }
  .rt-news-art-body h3 { font-size: 15.5px; }
  .rt-news-more-card { padding: 16px 16px 6px; border-radius: 14px; }
  .rt-news-src a { display: flex; justify-content: center; }
}

/* ================= 未登录示例任务（锁定态） ================= */
.rt-task-guest { cursor: pointer; opacity: .82; }
.rt-task-guest .rt-task-go { color: #fff; text-shadow: 0 1px 2px rgba(140, 45, 0, .4); }
.rt-guest-cta {
  margin-top: 12px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(120deg, #fff3e8, #ffe9f2);
  border: 1px dashed #ffc9a3; font-size: 13px; color: #7a5a34;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.rt-guest-cta a {
  margin-left: auto; background: linear-gradient(120deg, #ff7a00, #ff8f1f); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 8px 18px; border-radius: 999px; box-shadow: 0 6px 14px rgba(255, 0, 110, .3);
  transition: transform .15s ease;
}
.rt-guest-cta a:hover { transform: translateY(-2px); }

/* ================= 通关粒子庆祝（轻量） ================= */
.rt-spark {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; border-radius: 2px;
  animation: rt-spark .9s ease-out forwards;
}
@keyframes rt-spark {
  from { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(540deg) scale(.4); }
}

/* ================= 手机端 ================= */
@media (max-width: 900px) {
  .rt-entry-grid { grid-template-columns: 1fr 1fr; }
  .rt-achv-grid { grid-template-columns: 1fr; }
  .rt-tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .rt-main { padding: 12px 10px 70px; }
  .rt-hero { flex-direction: column; padding: 18px 16px; gap: 16px; }
  .rt-hero-r { gap: 12px; }
  .rt-big-num { font-size: 42px; }
  .rt-hero-nums { gap: 10px; }
  .rt-stat-cards { max-width: none; }
  .rt-stat-card { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
  .rt-stat-val { font-size: 20px; flex: 1; }
  .rt-continue-main { font-size: 17px; padding: 2px 0; }
  .rt-continue { padding: 16px 18px; }
  .rt-sec-head { margin: 30px 2px 12px; }
  .rt-sec-head b { font-size: 15px; }
  .rt-sec-sub { display: none; }
  .rt-map-wrap { margin-top: 12px; padding-bottom: 10px; }
  /* 横向征途：触屏滑动提示 */
  .rt-track { -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .rt-node { width: 108px; scroll-snap-align: start; }
  .rt-node:not(:last-child)::after { width: calc(100% - 52px); left: calc(50% + 26px); }
  /* 触屏没有 hover：提示卡改为常显在节点下方由点击引导面板兜底，隐藏悬浮卡避免遮挡 */
  .rt-node-tip { display: none !important; }
  .rt-task { flex-wrap: wrap; row-gap: 8px; }
  .rt-task-main { flex-basis: 100%; order: 3; }
  .rt-task-side { flex-direction: row; align-items: center; gap: 8px; }
  .rt-task-go { margin-left: auto; }
  .rt-achv-grid { gap: 10px; }
  .rt-card-body { padding: 8px 12px 12px; }
  .rt-quicknav { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .rt-quick { padding: 13px 8px; font-size: 12.5px; }
}
@media (max-width: 420px) {
  .rt-entry-grid { grid-template-columns: 1fr; }
  .rt-stat-cards { grid-template-columns: 1fr 1fr; }
  .rt-big-num { font-size: 38px; }
  .rt-hero { padding: 16px 13px; }
  .rt-task-ico { width: 38px; height: 38px; font-size: 18px; }
  .rt-tools-grid { grid-template-columns: 1fr; }
  .rt-quicknav { grid-template-columns: 1fr; }
  .rt-quick { padding: 13px 12px; }
}

/* ==================== ⑥ 牛博士 AI 答疑入口卡 ==================== */
.rt-doctor { margin-top: 26px; }
.rt-doctor-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff8ef 0%, #fff2e2 55%, #ffeede 100%);
  border: 1.5px solid #ffdcb8;
  box-shadow: 0 10px 26px rgba(255, 138, 76, .12);
}
.rt-doctor-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 76, .18), transparent 70%);
  pointer-events: none;
}
.rt-doctor-l { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.rt-doctor-ava {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #ffe9d2);
  border: 2px solid #ffc48a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(255, 138, 76, .22);
}
.rt-doctor-ava i {
  position: absolute;
  right: -4px;
  top: -8px;
  font-size: 16px;
  font-style: normal;
  transform: rotate(12deg);
}
.rt-doctor-txt { min-width: 0; }
.rt-doctor-txt b { font-size: 16px; color: #3d2a17; }
.rt-doctor-txt p { margin: 4px 0 0; font-size: 12.5px; color: #8a6a4a; line-height: 1.6; }
.rt-doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: none; max-width: 300px; }
.rt-doctor-tags span {
  font-size: 11.5px;
  color: #c2591f;
  background: #fff;
  border: 1px solid #ffd8b4;
  border-radius: 999px;
  padding: 3px 10px;
}
.rt-doctor-btn {
  flex: none;
  border: 0;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(130deg, #ff006e, #ff006e);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 0, 110, .32);
  transition: transform .18s, box-shadow .18s;
}
.rt-doctor-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 0, 110, .42); }
@media (max-width: 900px) {
  .rt-doctor-card { flex-wrap: wrap; gap: 12px; }
  .rt-doctor-tags { order: 3; max-width: none; }
  .rt-doctor-btn { order: 4; width: 100%; }
}

/* 训练工具箱卡片交互增强 */
.rt-entry { transition: transform .2s, box-shadow .2s; }
.rt-entry:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(255, 138, 76, .16); }

/* ============================================================
   ⑦ 闯关征途视觉升级（高大上版）
   ============================================================ */

/* ---- 阶段横幅：左侧彩色 energy bar + 渐变底 ---- */
.rt-stage { padding: 6px 0 12px; }
.rt-stage-head {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #f3e3cd;
  background: linear-gradient(120deg, #fffdf8 0%, #fff7ec 60%, #fdf0dd 100%);
  box-shadow: 0 8px 22px rgba(190, 130, 60, .10);
}
.rt-stage-head::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--stage-color, #ff006e), #ffc98f);
}
.rt-stage-head::after {
  content: '';
  position: absolute;
  right: -30px; top: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--stage-color, #ff006e), transparent 70%);
  opacity: .10;
  pointer-events: none;
}
.rt-stage-title { font-size: 15.5px; letter-spacing: .5px; }
.rt-stage-pct {
  background: #fff;
  border: 1.5px solid var(--stage-color, #ff006e);
  border-radius: 999px;
  padding: 3px 12px;
  box-shadow: 0 4px 10px rgba(190, 130, 60, .12);
}

/* ---- 节点徽章：立体渐变 + 更大更醒目 ---- */
.rt-track { padding: 16px 6px 18px; }
.rt-node-dot {
  width: 50px;
  height: 50px;
  font-size: 17px;
  font-weight: 800;
  border: 2.5px solid #ecd9bc;
  background: linear-gradient(160deg, #fffdf8, #f5e9d4);
  box-shadow: 0 6px 14px rgba(170, 120, 60, .16), inset 0 -3px 0 rgba(120, 80, 30, .06);
}
.rt-node.done { cursor: pointer; }
.rt-node.open { cursor: pointer; }
.rt-node.done .rt-node-dot {
  background: linear-gradient(160deg, #ddf6e1, #b3ebbc);
  border-color: #7fd18a;
  color: #12961a;
  box-shadow: 0 8px 18px rgba(40, 170, 70, .24);
}
.rt-node.open .rt-node-dot {
  background: linear-gradient(150deg, #ff006e, #ff5f2e);
  border-color: #ff006e;
  box-shadow: 0 10px 24px rgba(255, 100, 40, .40);
}
/* 当前关卡：脉冲光环 */
.rt-node.open .rt-node-dot::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 0, 110, .55);
  animation: rtPulse 1.9s ease-out infinite;
}
@keyframes rtPulse {
  0% { transform: scale(.92); opacity: .9; }
  75%, 100% { transform: scale(1.34); opacity: 0; }
}

/* ---- 连接线：更粗 + 渐变 ---- */
.rt-node:not(:last-child)::after {
  top: 25px;
  left: calc(50% + 35px);
  width: calc(100% - 66px);
  height: 4px;
  background: linear-gradient(90deg, #eee2cd, #f4ead8);
}
.rt-node.done:not(:last-child)::after {
  background: linear-gradient(90deg, #8fd39a, #cdeecd);
}

/* ---- 节点文字 ---- */
.rt-node-name { font-size: 12px; font-weight: 700; color: #3f382c; }
.rt-node.open .rt-node-state { color: #ff006e; font-weight: 700; }
.rt-node.done .rt-node-name { color: #12961a; }

/* ---- 悬浮行动卡 ---- */
.rt-node-tip {
  border-radius: 14px;
  border: 1px solid #ffe3c8;
  box-shadow: 0 18px 44px rgba(90, 40, 0, .20);
}

/* ---- 移动端回调 ---- */
@media (max-width: 768px) {
  .rt-node-dot { width: 44px; height: 44px; font-size: 15px; }
  .rt-node:not(:last-child)::after { top: 23px; left: calc(50% + 30px); width: calc(100% - 56px); }
}

/* ============================================================
   ⑧ 卡通化装饰 + 手机端修复
   ============================================================ */

/* ---- 英雄区：卡通漂浮装饰 ---- */
.rt-hero { position: relative; overflow: hidden; }
.rt-hero::before {
  content: '\1F680';
  position: absolute;
  right: 5%; top: 12px;
  font-size: 30px;
  opacity: .5;
  animation: rtFloat 4s ease-in-out infinite;
  pointer-events: none;
}
.rt-hero::after {
  content: '\2B50';
  position: absolute;
  right: 17%; bottom: 10px;
  font-size: 18px;
  opacity: .55;
  animation: rtFloat 5.2s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes rtFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-9px) rotate(6deg); }
}

/* ---- 牛博士卡：卡通化升级（头像虚线旋转光环） ---- */
.rt-doctor-card { border-radius: 22px; }
.rt-doctor-ava { width: 64px; height: 64px; font-size: 32px; border-width: 3px; }
.rt-doctor-ava::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed #ffb877;
  animation: rtSpin 16s linear infinite;
}
@keyframes rtSpin { to { transform: rotate(360deg); } }

/* ---- 手机端牛博士卡：改为纵向堆叠，彻底修复文字挤成竖条 ---- */
@media (max-width: 900px) {
  .rt-doctor-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .rt-doctor-l { width: 100%; }
  .rt-doctor-tags { order: 3; max-width: none; }
  .rt-doctor-btn { order: 4; width: 100%; }
}

/* ---- 手机端 CTA 全宽 ---- */
@media (max-width: 768px) {
  .rt-continue { display: block; text-align: center; }
  .rt-ide-link { display: block; text-align: center; }
}

/* ============================================================
   ⑨ 首页改版 v2.1：机构徽章 / 倒计时条 / 折叠地图 / 学情诊断
   ============================================================ */

/* ---- 英雄卡左上角机构徽章 ---- */
.rt-hero-top { min-height: 22px; }
.rt-org {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: #7c5cff;
  background: linear-gradient(135deg, #f3f0ff, #ebe5ff);
  border: 1px solid #ddd2ff; border-radius: 999px;
  padding: 3px 12px;
}

/* ---- 独立赛事倒计时提示条 ---- */
.rt-cd-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  background: linear-gradient(120deg, #fff4e8, #ffe9d6 60%, #fde5cf);
  border: 1px solid #ffd9b8; border-radius: 14px;
  padding: 10px 18px; margin-bottom: 18px;
  font-size: 13.5px; color: #a05a20;
}
.rt-cd-bar .rt-cdb-ico { font-size: 17px; }
.rt-cd-bar .rt-cdb-item { display: inline-flex; align-items: baseline; gap: 6px; }
.rt-cd-bar .rt-cdb-item b {
  font-size: 20px; color: #ff5f2e; font-weight: 800; line-height: 1;
}
.rt-cd-bar .rt-cdb-item small { font-size: 11.5px; color: #c08a55; }

/* ---- 地图折叠：阶段头可点击 + 收起状态 ---- */
.rt-sec-head .rt-map-toggle {
  margin-left: auto;
  border: 1px solid #f0d9c0; background: #fffaf3; color: #b07020;
  font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 5px 14px; cursor: pointer; flex: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rt-sec-head .rt-map-toggle:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(60, 50, 30, .08); }
.rt-stage .rt-stage-head { cursor: pointer; user-select: none; }
.rt-stage .rt-stage-head .rt-fold-arrow {
  margin-left: auto; flex: none; font-size: 12px; color: #c9a06d;
  transition: transform .25s ease;
}
.rt-stage.fold .rt-stage-head .rt-fold-arrow { transform: rotate(-90deg); }
.rt-stage.fold .rt-stage-head { opacity: .82; }
/* 收起：整段轨道隐藏（含悬浮卡基座，克制动效） */
.rt-stage .rt-track { transition: opacity .2s ease; }
.rt-stage.fold .rt-track { display: none; }

/* ---- 未解锁关卡：低饱和 + 去光泽 ---- */
.rt-node.locked { filter: saturate(.55); opacity: .82; }
.rt-node.member { filter: saturate(.8); opacity: .94; }

/* ---- 任务卡「拿本关问牛博士」按钮 ---- */
.rt-task-ask {
  flex: none; border: 1px solid #ffd9b8; background: #fffaf3; color: #d4761a;
  font-size: 12px; font-weight: 700; border-radius: 10px;
  padding: 7px 12px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-task-ask:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255, 130, 60, .16); }

/* ---- 最近测评：学情诊断行 ---- */
.rt-diag {
  margin: 4px 0 10px; padding: 8px 12px;
  background: linear-gradient(135deg, #f0f9ff, #e8f6ef);
  border: 1px solid #d3ecdf; border-radius: 10px;
  font-size: 12.5px; color: #2b7a54; line-height: 1.6;
}
.rt-diag b { color: #1d8a4e; }

/* ---- 任务空状态庆祝 ---- */
.rt-task-done {
  text-align: center; padding: 26px 14px;
  background: linear-gradient(135deg, #f0fbf3, #e6f8ec);
  border: 1.5px dashed #9fd8ae; border-radius: 14px;
  color: #2b8a4e; font-size: 14px; font-weight: 600; line-height: 1.9;
}

/* ---- 移动端适配 ---- */
@media (max-width: 768px) {
  .rt-cd-bar { padding: 10px 14px; gap: 8px 14px; font-size: 12.5px; }
  .rt-cd-bar .rt-cdb-item b { font-size: 17px; }
  .rt-sec-head .rt-map-toggle { padding: 4px 10px; }
  .rt-task-ask { padding: 6px 10px; font-size: 11.5px; }
}

/* ============================================================
   ⑩ 超级版本 v2.2：称号系统 / 学情洞察带 / 里程碑进度 / 紧急度
   ============================================================ */

/* ---- 称号徽章（与机构徽章并排） ---- */
.rt-title {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 800; color: #9a6a00;
  background: linear-gradient(135deg, #fff6d8, #ffe9ad);
  border: 1px solid #f2d888; border-radius: 999px;
  padding: 3px 12px;
  box-shadow: 0 3px 10px rgba(230, 180, 40, .18);
}
.rt-hero-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- 学情洞察带 ---- */
.rt-insights {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
}
.rt-in-chip {
  flex: 1 1 130px; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid #f3e8d8; border-radius: 13px;
  padding: 10px 13px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rt-in-chip:hover {
  transform: translateY(-2px); border-color: #ffd9b8;
  box-shadow: 0 10px 22px rgba(60, 50, 30, .09);
}
.rt-in-ico { font-size: 20px; flex: none; }
.rt-in-main { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rt-in-main small { font-size: 11px; color: #b09a7e; }
.rt-in-main b { font-size: 15px; color: #3d2f1e; font-weight: 800; white-space: nowrap; }

/* ---- 勋章卡里程碑进度 ---- */
.rt-ms-row { display: flex; gap: 12px; margin-bottom: 12px; }
.rt-ms { flex: 1; min-width: 0; background: #fffaf3; border: 1px solid #f3e8d8; border-radius: 11px; padding: 9px 12px; }
.rt-ms-head { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: #7a6648; }
.rt-ms-head b { color: #d4761a; font-size: 14px; font-weight: 800; margin-left: auto; }
.rt-ms-bar { height: 7px; border-radius: 999px; background: #f1e7d8; overflow: hidden; margin: 6px 0 4px; }
.rt-ms-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb800, #ff006e); transition: width .6s ease; }
.rt-ms small { font-size: 10.5px; color: #b09a7e; }
.rt-ms.full .rt-ms-bar i { background: linear-gradient(90deg, #38c172, #06d6a0); }

/* ---- 倒计时紧急度：≤7 天红色脉冲 / ≤30 天深橙 ---- */
.rt-cdb-item.warm b { color: #e8641a; }
.rt-cdb-item.hot b { color: #e63535; }
.rt-cdb-item.hot { animation: rt-cd-pulse 1.6s ease-in-out infinite; }
@keyframes rt-cd-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.rt-cd.hot .rt-cd-days { color: #e63535; }
.rt-cd.hot { border-color: #ffc4b8; background: linear-gradient(135deg, #fff3f0, #ffe4dd); }

/* ---- 移动端 v2.2 ---- */
@media (max-width: 768px) {
  .rt-insights { gap: 8px; }
  .rt-in-chip { flex: 1 1 calc(50% - 8px); padding: 8px 11px; }
  .rt-ms-row { flex-direction: column; gap: 8px; }
}

/* ============================================================
   ⑪ v2.2.1：区块间隔修复 + hidden 保险 + 14 天刷题热力条
   ============================================================ */

/* ---- 间隔修复：英雄卡与洞察带之间留白；hidden 属性不被作者 display 覆盖 ---- */
.rt-hero { margin-bottom: 18px; }
.rt-org[hidden], .rt-title[hidden], .rt-insights[hidden],
.rt-heat[hidden], .rt-cd-bar[hidden] { display: none !important; }

/* ---- 14 天刷题热力条 ---- */
.rt-heat {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  background: #fff; border: 1px solid #f3e8d8; border-radius: 13px;
  padding: 10px 16px; margin-bottom: 18px;
}
.rt-heat-label { font-size: 12.5px; font-weight: 700; color: #7a6648; flex: none; }
.rt-heat-cells { display: flex; gap: 4px; flex: none; }
.rt-heat-cells i {
  width: 18px; height: 18px; border-radius: 5px;
  background: #f1ead9; cursor: default;
  transition: transform .15s ease;
}
.rt-heat-cells i:hover { transform: scale(1.22); }
.rt-heat-cells i.lv1 { background: #ffe08a; }
.rt-heat-cells i.lv2 { background: #ff9f43; }
.rt-heat-cells i.lv3 { background: #ff5f2e; }
.rt-heat-cells i[data-today] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #ff006e; }
.rt-heat-sum { font-size: 11.5px; color: #b09a7e; }

@media (max-width: 768px) {
  .rt-heat { padding: 9px 12px; }
  .rt-heat-cells { gap: 3px; }
  .rt-heat-cells i { width: 14px; height: 14px; border-radius: 4px; }
}

/* ============================================================
   ⑫ v2.3：区块进场渐显（纯 CSS，无需 JS）
   ============================================================ */
.rt-main > section { animation: rtRise .5s ease both; }
.rt-main > section:nth-of-type(2) { animation-delay: .05s; }
.rt-main > section:nth-of-type(3) { animation-delay: .1s; }
.rt-main > section:nth-of-type(4) { animation-delay: .15s; }
.rt-main > section:nth-of-type(5) { animation-delay: .2s; }
.rt-main > section:nth-of-type(6) { animation-delay: .25s; }
.rt-main > section:nth-of-type(7) { animation-delay: .3s; }
@keyframes rtRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-main > section { animation: none; }
}

/* =========================================================
   v2.1 双视图升级：游客招商首屏 / 冲刺驾驶舱 / 分层任务
        / 勋章三分类 / 学情报告 / 家长预览 / 双Tab / 深色模式
   ========================================================= */

/* ---------- 游客首屏（左文案右轮播，移动端上下堆叠） ---------- */
.rt-ghero {
  display: flex; align-items: center; gap: 26px;
  background: linear-gradient(135deg, #fff7ec, #fffdf8);
  border: 1px solid #f5e3c8; border-radius: 20px;
  padding: 34px 34px 30px;
  box-shadow: 0 6px 24px rgba(255, 0, 110, .06);
}
.rt-ghero-l { flex: 1.05; min-width: 0; }
.rt-ghero-badge {
  display: inline-block; background: #fff; border: 1px solid #ffd9b8; color: #d9640e;
  border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; margin-bottom: 14px;
}
.rt-ghero-title { margin: 0 0 12px; font-size: 30px; line-height: 1.3; color: #2b2b2b; letter-spacing: .5px; }
.rt-ghero-title em {
  font-style: normal;
  background: linear-gradient(120deg, #ff7a00, #ff006e 55%, #8338ec);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-ghero-sub { margin: 0 0 14px; font-size: 14px; line-height: 1.8; color: #7a6a56; }
.rt-ghero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.rt-ghero-tags span { background: #fff; border: 1px solid #f0e2cf; border-radius: 999px; padding: 4px 12px; font-size: 12px; color: #8a6a4a; }
.rt-ghero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rt-ghero-main {
  background: linear-gradient(135deg, #ff7a00, #ff006e 60%, #8338ec); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 800; padding: 13px 30px; border-radius: 14px; letter-spacing: 1px;
  box-shadow: 0 12px 28px -8px rgba(255, 0, 110, .5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-ghero-main:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255, 0, 110, .55); }
.rt-ghero-ghost {
  background: #fff; color: #c07b1a; text-decoration: none;
  font-size: 14.5px; font-weight: 700; padding: 13px 26px; border-radius: 14px; border: 1px solid #f0d9b8;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-ghero-ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(60, 50, 30, .08); }
.rt-ghero-note { margin: 12px 0 0; font-size: 12px; color: #b0a490; }
/* 游客 hero 数据带（三色点缀） */
.rt-ghero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.rt-ghero-stats span {
  background: rgba(255, 255, 255, .85); border: 1px solid #f5e3d5; border-radius: 12px;
  padding: 7px 14px; font-size: 12.5px; color: #7a6a56; font-weight: 600;
}
.rt-ghero-stats b { color: #ff006e; font-size: 14px; margin: 0 2px; }
.rt-ghero-stats span:nth-child(2) b { color: #8338ec; }
.rt-ghero-stats span:nth-child(3) b { color: #ff7a00; }
.rt-ghero-stats span:nth-child(4) b { color: #00a884; }
body.rt-dark .rt-ghero-stats span { background: #2b251e; border-color: #3a332a; color: #c2b49a; }

/* 轮播卡（纯 CSS mock，无图片依赖） */
.rt-ghero-r { flex: .95; min-width: 0; }
.rt-carousel { position: relative; }
.rt-slide { display: none; animation: rtSlideIn .45s ease; }
.rt-slide.on { display: block; }
@keyframes rtSlideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rt-slide-cap { margin: 10px 2px 0; font-size: 12.5px; color: #8a7a66; text-align: center; }
.rt-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.rt-dots i { width: 8px; height: 8px; border-radius: 999px; background: #e8dcc8; cursor: pointer; transition: all .2s; }
.rt-dots i.on { width: 20px; background: linear-gradient(90deg, #ff006e, #ffb800); }

/* mock 小界面 */
.rt-mock {
  background: #fff; border: 1px solid #f0e2cf; border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px -10px rgba(255, 0, 110, .16);
}
.rt-mock-bar {
  display: flex; align-items: center; gap: 5px;
  background: #fff7ec; border-bottom: 1px solid #f5e8d5; padding: 9px 12px;
}
.rt-mock-bar i { width: 8px; height: 8px; border-radius: 999px; background: #ffd9b8; }
.rt-mock-bar span { margin-left: auto; font-size: 11px; color: #a29880; }
.rt-mock-bar2 { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px 4px; }
.rt-mock-bar2 b { font-size: 20px; background: linear-gradient(120deg, #ff006e, #ffb800); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rt-mock-bar2 small { font-size: 11px; color: #a29880; }
.rt-mock-progress { height: 10px; border-radius: 999px; background: #f1e7d8; margin: 8px 14px 14px; overflow: hidden; }
.rt-mock-progress i { display: block; height: 100%; background: linear-gradient(90deg, #ff006e, #ffb800); border-radius: 999px; }
.rt-mock-track { display: flex; gap: 10px; padding: 18px 14px; align-items: center; }
.rt-mock-track span {
  width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex: none;
}
.rt-mock-track span.ok { background: #e6f8ef; color: #3fb27f; }
.rt-mock-track span.now { background: linear-gradient(135deg, #ff006e, #ff006e); color: #fff; box-shadow: 0 6px 14px -4px rgba(255, 0, 110, .5); }
.rt-mock-track span.lock { background: #f4efe6; color: #b8a88f; font-size: 12px; }
.rt-mock-doc { padding: 14px 16px 16px; }
.rt-mock-doc b { display: block; font-size: 14px; color: #2b2b2b; margin-bottom: 10px; }
.rt-mock-doc .ln { display: block; height: 8px; border-radius: 999px; background: #f1e7d8; margin: 7px 0; }
.rt-mock-doc .w90 { width: 90%; }
.rt-mock-doc .w75 { width: 75%; }
.rt-mock-doc .w82 { width: 82%; }
.rt-mock-doc .w60 { width: 60%; }
.rt-mock-doc .w70 { width: 70%; }
.rt-mock-doc code {
  display: block; background: #2d2a26; color: #ffd9a8; font-size: 11.5px;
  border-radius: 8px; padding: 8px 10px; margin: 9px 0; font-family: Consolas, monospace;
}
.rt-mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 90px; padding: 14px 16px 0; }
.rt-mock-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.rt-mock-chart .col i { width: 100%; max-width: 26px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ffb800, #ff006e); }
.rt-mock-chart .col small { font-size: 10px; color: #a29880; }

/* ---------- 省一冲刺驾驶舱 ---------- */
.rt-est {
  margin-top: 14px; background: linear-gradient(135deg, #fffaf0, #fffdf8);
  border: 1px solid #f5e3c8; border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 6px 24px rgba(255, 0, 110, .06);
}
.rt-est-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rt-est-head b { font-size: 16px; color: #2b2b2b; }
.rt-est-pill { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 13px; }
.rt-est-pill.onTrack { background: #e6f8ef; color: #1d8a5f; }
.rt-est-pill.risky { background: #fff3e0; color: #c07b1a; }
.rt-est-pill.behind { background: #ffe9e9; color: #d9534f; }
.rt-est-pill.done { background: linear-gradient(135deg, #f7b733, #fc4a1a); color: #fff; }
.rt-est-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; color: #6a5a46; }
.rt-est-gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.rt-gap { background: #fff; border: 1px solid #f0e2cf; border-radius: 12px; padding: 10px 13px; display: flex; flex-direction: column; gap: 2px; }
.rt-gap small { font-size: 11.5px; color: #a29880; }
.rt-gap b { font-size: 19px; color: #2b2b2b; }
.rt-gap i { font-style: normal; font-size: 10.5px; color: #b8ab93; }
.rt-est-advice { margin: 0; font-size: 12.5px; color: #8a6a4a; background: #fff; border: 1px dashed #f0d9b8; border-radius: 10px; padding: 8px 12px; }

/* 班级置顶公告 / 主线预警 */
.rt-class-notice {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #ffe1b8; border-left: 4px solid #ffb800;
  border-radius: 12px; padding: 11px 16px; font-size: 13px; color: #7a5a2a;
}
.rt-task-warn {
  margin-bottom: 10px; background: #fff2f0; border: 1px solid #ffd2cb; border-left: 4px solid #ff4d4f;
  border-radius: 12px; padding: 11px 16px; font-size: 13px; color: #b4302d; font-weight: 600;
}

/* ---------- 分层今日必做：优先级标签 + 预期增益 ---------- */
.rt-task-tag.extra { background: #e8f6ef; color: #2f9e6e; }
.rt-task-gain { font-size: 10.5px; font-weight: 700; color: #d9640e; background: #fff7ec; border-radius: 999px; padding: 2px 8px; }
.rt-task-l .rt-task-est { min-width: 64px; text-align: right; }

/* ---------- 闯关征途：竞赛对标 + 进度对标 ---------- */
.rt-comp-tag {
  font-size: 11px; font-weight: 700; color: #7c5cff; background: #f1edff;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.rt-tip-res { color: #7a6a56; font-size: 11.5px; border-top: 1px dashed #f0e2cf; margin-top: 4px; padding-top: 5px; }
.rt-map-goal {
  margin: 10px 16px 0; font-size: 12.5px; color: #8a6a4a;
  background: #fffaf0; border: 1px dashed #f0d9b8; border-radius: 10px; padding: 9px 14px;
}
.rt-map-goal b { color: #d9640e; }

/* ---------- 工具箱分组 ---------- */
.rt-group-label { margin: 6px 2px 10px; font-size: 13px; font-weight: 700; color: #8a7a66; }
.rt-group-label small { font-weight: 400; color: #b0a490; font-size: 11px; }
.rt-entry-preview {
  position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, #ffb800, #ff006e);
  border-radius: 999px; padding: 3px 10px;
}

/* ---------- 资讯双 Tab ---------- */
.rt-tabs { display: flex; gap: 8px; margin-bottom: -1px; position: relative; z-index: 1; }
.rt-tab {
  border: 1px solid #f0e2cf; border-bottom: 0; background: #faf3e6; color: #a29880;
  font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 12px 12px 0 0; cursor: pointer;
  transition: all .15s ease;
}
.rt-tab.on { background: #fff; color: #d9640e; border-color: #f0e2cf; }
.rt-tab-pane.on { display: block; }

/* ---------- 勋章三分类 + 学情报告 ---------- */
.rt-bdg-group-title { margin: 12px 0 6px; font-size: 12.5px; font-weight: 700; color: #8a7a66; display: flex; align-items: baseline; gap: 8px; }
.rt-bdg-none { font-weight: 400; font-size: 11px; color: #c2b49a; }
.rt-badge.bronze { border-color: #e8c9a0; background: #fdf6ec; }
.rt-rep-title { margin: 10px 0 6px; font-size: 12.5px; font-weight: 700; color: #6a5a46; }
.rt-rep-title:first-child { margin-top: 0; }
.rt-rep-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rt-rep-chip { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 11px; }
.rt-rep-chip.good { background: #e6f8ef; color: #1d8a5f; }
.rt-rep-chip.bad { background: #ffe9e9; color: #d9534f; }
.rt-rep-empty { font-size: 12px; color: #b8ab93; margin: 0; }
.rt-rep-route { margin: 4px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.9; color: #6a5a46; }

/* ---------- 家长预览视图 ---------- */
.rt-viewmode {
  align-self: center; font-size: 12.5px; font-weight: 700; color: #7c5cff;
  background: #fff; border: 1px solid #e2d9ff; border-radius: 999px; padding: 7px 18px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-viewmode:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(124, 92, 255, .12); }
.rt-parent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rt-p-card { background: #fff; border: 1px solid #f0e2cf; border-radius: 14px; padding: 13px 15px; }
.rt-p-card.big { grid-column: span 2; }
.rt-p-card.wide { grid-column: 1 / -1; }
.rt-p-card small { display: block; font-size: 11px; color: #a29880; margin-bottom: 4px; }
.rt-p-card b { font-size: 21px; color: #2b2b2b; }
.rt-p-card.big b { font-size: 30px; background: linear-gradient(120deg, #ff006e, #ffb800); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rt-p-card i { display: block; font-style: normal; font-size: 11px; color: #b8ab93; margin-top: 2px; }
.rt-p-warn { margin: 4px 0; font-size: 12.5px; color: #b4302d; font-weight: 600; }
.rt-p-risks { margin: 4px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.9; color: #b4302d; }
.rt-p-ok { margin: 4px 0 0; font-size: 12.5px; color: #1d8a5f; font-weight: 600; }
/* 家长模式：隐藏刷题操作 */
body.rt-parent-mode .rt-tasks,
body.rt-parent-mode .rt-entries .rt-entry-grid.rt-stu-only,
body.rt-parent-mode .rt-doctor,
body.rt-parent-mode .rt-heat,
body.rt-parent-mode .rt-achv { display: none !important; }

/* ---------- 牛博士卡按钮组 ---------- */
.rt-doctor-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.rt-doctor-save {
  font-size: 12px; font-weight: 700; color: #7a5a2a; background: #fff;
  border: 1px solid #f0d9b8; border-radius: 999px; padding: 7px 18px; cursor: pointer;
  transition: transform .15s ease;
}
.rt-doctor-save:hover { transform: translateY(-2px); }

/* ---------- 深色/极简模式悬浮开关 ---------- */
.rt-fab-tools { position: fixed; right: 16px; bottom: 96px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.rt-fab-tools button {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid #f0e2cf;
  background: #fff; font-size: 17px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(60, 50, 30, .14);
  transition: transform .15s ease;
}
.rt-fab-tools button:hover { transform: translateY(-2px); }
/* 极简模式：隐藏干扰区块 */
body.rt-minimal .rt-hide-minimal { display: none !important; }
body.rt-minimal .rt-doctor { display: none !important; }

/* ---------- 右上角机构入口 ---------- */
.rt-org-link { color: #d9640e !important; font-weight: 700; }

/* ---------- v2.1 移动端适配 ---------- */
@media (max-width: 900px) {
  .rt-ghero { flex-direction: column; align-items: stretch; padding: 24px 18px; gap: 18px; }
  .rt-ghero-title { font-size: 24px; }
  .rt-est-gaps { grid-template-columns: 1fr; }
  .rt-parent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rt-ghero { padding: 20px 14px; }
  .rt-ghero-cta .rt-ghero-main,
  .rt-ghero-cta .rt-ghero-ghost { flex: 1; text-align: center; padding: 12px 10px; font-size: 14.5px; }
  .rt-ghero-title { font-size: 21px; }
  .rt-est { padding: 14px 14px; }
  .rt-est-head { flex-wrap: wrap; gap: 8px; }
  .rt-parent-grid { grid-template-columns: 1fr 1fr; }
  .rt-p-card.big { grid-column: span 2; }
  .rt-doctor-btns { flex-direction: row; }
  .rt-doctor-btns .rt-doctor-btn,
  .rt-doctor-btns .rt-doctor-save { flex: 1; padding: 9px 6px; }
  .rt-fab-tools { right: 10px; bottom: 84px; }
  .rt-task-side { flex-direction: column; align-items: flex-end; gap: 3px; }
  .rt-map-goal { margin: 10px 10px 0; }
}

/* APPEND_MARKER */

/* ================= v2.1 深色模式（body.rt-dark） ================= */
body.rt-dark { background: #191613; }
body.rt-dark .rt-sec-head b { color: #f0e8dc; }
body.rt-dark .rt-sec-sub { color: #8d8271; }
body.rt-dark .rt-ghero,
body.rt-dark .rt-est,
body.rt-dark .rt-hero { background: linear-gradient(135deg, #24201a, #1e1a15); border-color: #3a332a; box-shadow: none; }
body.rt-dark .rt-ghero-badge { background: #2b251e; border-color: #4a3f30; color: #ffb066; }
body.rt-dark .rt-ghero-title { color: #f0e8dc; }
body.rt-dark .rt-ghero-sub { color: #b8ab93; }
body.rt-dark .rt-ghero-tags span { background: #2b251e; border-color: #3a332a; color: #c2b49a; }
body.rt-dark .rt-ghero-ghost { background: #2b251e; border-color: #4a3f30; color: #ffb066; }
body.rt-dark .rt-ghero-note { color: #8d8271; }
body.rt-dark .rt-mock { background: #241f19; border-color: #3a332a; box-shadow: none; }
body.rt-dark .rt-mock-bar { background: #2b251e; border-color: #3a332a; }
body.rt-dark .rt-mock-bar span { color: #8d8271; }
body.rt-dark .rt-mock-bar i { background: #4a3f30; }
body.rt-dark .rt-mock-bar2 small,
body.rt-dark .rt-slide-cap { color: #8d8271; }
body.rt-dark .rt-mock-progress { background: #3a332a; }
body.rt-dark .rt-mock-doc .ln { background: #3a332a; }
body.rt-dark .rt-mock-doc b { color: #f0e8dc; }
body.rt-dark .rt-mock-doc code { background: #14110d; color: #ffd9a8; }
body.rt-dark .rt-mock-chart .col small { color: #8d8271; }
body.rt-dark .rt-dots i { background: #3a332a; }
body.rt-dark .rt-est-text { color: #c2b49a; }
body.rt-dark .rt-est-advice { background: #241f19; border-color: #4a3f30; color: #c2b49a; }
body.rt-dark .rt-gap { background: #241f19; border-color: #3a332a; }
body.rt-dark .rt-gap small,
body.rt-dark .rt-gap i { color: #8d8271; }
body.rt-dark .rt-gap b { color: #f0e8dc; }
body.rt-dark .rt-class-notice { background: #2b251e; border-color: #4a3f30; color: #d9b98a; }
body.rt-dark .rt-task-warn { background: #2e1f1d; border-color: #5a2f2b; color: #ff9a94; }
body.rt-dark .rt-task-gain { background: #2b251e; color: #ffb066; }
body.rt-dark .rt-stat-card,
body.rt-dark .rt-entry,
body.rt-dark .rt-tool,
body.rt-dark .rt-card,
body.rt-dark .rt-map-wrap,
body.rt-dark .rt-news-card,
body.rt-dark .rt-p-card,
body.rt-dark .rt-doctor-card { background: #241f19; border-color: #3a332a; }
body.rt-dark .rt-stat-val,
body.rt-dark .rt-p-card b { color: #f0e8dc; }
body.rt-dark .rt-stat-name,
body.rt-dark .rt-in-main small { color: #8d8271; }
body.rt-dark .rt-in-main b { color: #f0e8dc; }
body.rt-dark .rt-cur-stage { background: #2b251e; border-color: #3a332a; color: #c2b49a; }
body.rt-dark .rt-hello { color: #b8ab93; }
body.rt-dark .rt-ide-link { background: #2b251e; border-color: #3a332a; color: #ffb066; }
body.rt-dark .rt-progress-bar { background: #3a332a; }
body.rt-dark .rt-continue { background: linear-gradient(135deg, #ff006e, #e0641f); }
body.rt-dark .rt-stage-head { background: linear-gradient(135deg, #2b251e, #241f19); border-color: #3a332a; }
body.rt-dark .rt-stage-title { color: #f0e8dc; }
body.rt-dark .rt-stage-sub { color: #8d8271; }
body.rt-dark .rt-node-name { color: #d8cdb8; }
body.rt-dark .rt-node-tip { background: #2b251e; border-color: #4a3f30; color: #c2b49a; }
body.rt-dark .rt-comp-tag { background: #2f2a3a; color: #b3a1ff; }
body.rt-dark .rt-map-goal { background: #2b251e; border-color: #4a3f30; color: #c2b49a; }body.rt-dark .rt-task { background: #241f19; border-color: #3a332a; }
body.rt-dark .rt-task-title { color: #f0e8dc; }
body.rt-dark .rt-task-desc,
body.rt-dark .rt-task-est { color: #8d8271; }
body.rt-dark .rt-task-tag.main { background: #3a2a1e; color: #ff8f4d; }
body.rt-dark .rt-task-tag.review { background: #2b2640; color: #b3a1ff; }
body.rt-dark .rt-task-tag.weak { background: #33291a; color: #e0a84d; }
body.rt-dark .rt-task-tag.extra { background: #1f2e26; color: #5fd39a; }
body.rt-dark .rt-bdg-group-title,
body.rt-dark .rt-rep-title { color: #b8ab93; }
body.rt-dark .rt-rep-route { color: #c2b49a; }
body.rt-dark .rt-tab { background: #241f19; border-color: #3a332a; color: #8d8271; }
body.rt-dark .rt-tab.on { background: #2b251e; color: #ffb066; }
body.rt-dark .rt-group-label { color: #b8ab93; }
body.rt-dark .rt-quick { background: #241f19; border-color: #3a332a; }
body.rt-dark .rt-quick-txt b { color: #f0e8dc; }
body.rt-dark .rt-quick-txt small { color: #8d8271; }
body.rt-dark .rt-viewmode { background: #2b251e; border-color: #4a3f30; color: #b3a1ff; }
body.rt-dark .rt-fab-tools button { background: #2b251e; border-color: #4a3f30; }
body.rt-dark .rt-doctor-btn { background: linear-gradient(135deg, #ff006e, #e0641f); }
body.rt-dark .rt-doctor-save { background: #2b251e; border-color: #4a3f30; color: #d9b98a; }
body.rt-dark .rt-empty { color: #8d8271; }
body.rt-dark .rt-diag { background: #2b251e; color: #c2b49a; }
body.rt-dark .rt-p-card small { color: #8d8271; }
body.rt-dark .rt-rep-chip.good { background: #1f2e26; color: #5fd39a; }
body.rt-dark .rt-rep-chip.bad { background: #2e1f1d; color: #ff9a94; }
body.rt-dark .rt-map-goal b { color: #ffb066; }
body.rt-dark .rt-news-tag { background: #2b251e; color: #c2b49a; }
body.rt-dark .rt-news-tag.hot { background: #3a2a1e; color: #ff8f4d; }
body.rt-dark .rt-news-tag.case { background: #1f2e26; color: #5fd39a; }
body.rt-dark .rt-news-list a { color: #d8cdb8; }
body.rt-dark .rt-est-pill.onTrack { background: #1f2e26; color: #5fd39a; }
body.rt-dark .rt-est-pill.risky { background: #33291a; color: #e0a84d; }
body.rt-dark .rt-est-pill.behind { background: #2e1f1d; color: #ff9a94; }

/* =========================================================
   v3.1 区块间距修复
   ========================================================= */

/* 驾驶舱建议条 / 班级公告条 / 洞察芯片带 之间留足呼吸感 */
.rt-est { margin-bottom: 14px; }
.rt-class-notice { margin-top: 14px; margin-bottom: 16px; }
.rt-insights { margin-top: 14px; }

/* 页脚上方留白保障：长页面下 footer 的 margin-top:auto 不产生空隙，
   用更大的 main 底部填充把最后一块卡片与页脚彩虹线拉开 */
.rt-main { padding-bottom: 150px; }
@media (max-width: 767px) {
  .rt-main { padding-bottom: 110px; }
}
/* =========================================================
   v4 硬核竞赛驾驶舱（与领跑 LeadKids 卡通风区隔：石墨深底 + 三色霓虹）
   ========================================================= */
.rt-cockpit {
  background: radial-gradient(circle at 88% -10%, rgba(131, 56, 236, .3), transparent 46%),
              radial-gradient(circle at 6% 108%, rgba(255, 122, 0, .2), transparent 42%),
              linear-gradient(150deg, #4a2460 0%, #3e1d54 55%, #341747 100%);
  border: 1px solid #7a4a92; border-radius: 20px;
  color: #f6ecfa; padding: 18px 20px 20px; position: relative; overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(131, 56, 236, .38);
}
.rt-cockpit::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #ff7a00, #ff006e, #8338ec);
}
.rt-ck-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rt-ck-head-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rt-ck-head .rt-org {
  color: #ffd3e4; font-size: 12px;
  background: rgba(255, 0, 110, .14); border-color: rgba(255, 100, 165, .5);
}
.rt-ck-head .rt-org b { color: #fff; }
.rt-ck-head .rt-title { background: none; -webkit-text-fill-color: currentColor; color: #ffd166; }
.rt-lead-tag {
  display: inline-flex; align-items: center; cursor: pointer; user-select: none;
  font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: #7ef0c2;
  background: rgba(6, 214, 160, .12); border: 1px solid rgba(6, 214, 160, .4);
  border-radius: 999px; padding: 3px 11px;
}
.rt-lead-tag:hover { background: rgba(6, 214, 160, .2); }
.rt-ck-views { margin-left: auto; display: flex; gap: 6px; }
.rt-vbtn {
  border: 1px solid #6a3a80; background: rgba(255, 255, 255, .08); color: #e8d4f2;
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 13px; cursor: pointer;
  transition: all .15s ease;
}
.rt-vbtn:hover { color: #fff; border-color: #ff006e; }
.rt-vbtn.on { background: linear-gradient(120deg, #ff7a00, #ff006e); color: #fff; border-color: transparent; }
.rt-ck-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.rt-cockpit .rt-hello { margin: 0 0 8px; font-size: 13.5px; color: #d8c2e8; }
.rt-cockpit .rt-big-num {
  font-family: Consolas, monospace; font-size: 46px; font-weight: 900; letter-spacing: 1px;
  background: linear-gradient(100deg, #ff7a00, #ff006e 70%, #8338ec);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rt-cockpit .rt-big-sub { font-size: 12.5px; color: #c9aed8; margin-left: 10px; }
/* 六站成长轨道 */
.rt-track6 { margin: 14px 0 10px; }
.rt6-line {
  position: relative; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, .08);
}
.rt6-line > i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px;
  background: linear-gradient(90deg, #ff7a00, #ff006e, #8338ec);
  transition: width .6s ease;
}
.rt6-baseline { position: absolute; top: -5px; bottom: -5px; width: 2px; background: #06d6a0; opacity: .85; }
.rt6-baseline u {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; font-style: normal; color: #7ef0c2; white-space: nowrap; text-decoration: none;
}
.rt6-nodes { display: flex; justify-content: space-between; margin-top: 9px; }
.rt6-node {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; color: #c9aed8; text-align: center; max-width: 64px;
}
.rt6-node u {
  width: 34px; height: 34px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: #38184a; border: 2px solid #6a3a80;
}
.rt6-node.doing u { border-color: #ff006e; box-shadow: 0 0 12px rgba(255, 0, 110, .45); }
.rt6-node.done u { border-color: #06d6a0; background: rgba(6, 214, 160, .15); }
.rt6-node.done { color: #7ef0c2; }
.rt-cockpit .rt-cur-stage { background: rgba(255, 209, 102, .1); border-color: #6a3a80; color: #ffd166; }
.rt-cockpit .rt-vip-tag { background: rgba(255, 209, 102, .1); border: 1px solid rgba(255, 209, 102, .4); color: #ffd166; }
/* 健康评级区（深底内嵌浅卡反差） */
.rt-ck-health {
  margin-top: 12px; background: rgba(255, 255, 255, .06);
  border: 1px solid #5c2a72; border-radius: 14px; padding: 12px 14px;
}
.rt-ck-health .rt-est-head b { color: #fff; font-size: 14px; }
.rt-est-pill { border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 800; background: #3d1a4e; color: #d8c2e8; }
.rt-est-pill.onTrack { background: rgba(6, 214, 160, .15); color: #7ef0c2; }
.rt-est-pill.risky { background: rgba(255, 184, 0, .15); color: #ffd166; }
.rt-est-pill.behind { background: rgba(255, 61, 87, .15); color: #ff7a8f; }
.rt-est-pill.done { background: rgba(6, 214, 160, .15); color: #7ef0c2; }
.rt-cockpit .rt-est-text { color: #e4d2ee; font-size: 12.5px; line-height: 1.8; margin: 8px 0; }
.rt-est-gaps { display: flex; gap: 8px; flex-wrap: wrap; }
.rt-gap {
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, .07); border: 1px solid #5c2a72;
  border-radius: 10px; padding: 7px 12px;
}
.rt-gap small { font-size: 11px; color: #cbb0da; }
.rt-gap b { font-family: Consolas, monospace; font-size: 16px; color: #ff9ac1; }
.rt-gap i { font-size: 10px; color: #c9aed8; font-style: normal; }
.rt-cockpit .rt-est-advice {
  margin: 9px 0 0; font-size: 12px; color: #9fe8c8;
  background: rgba(6, 214, 160, .08); border: 1px dashed rgba(6, 214, 160, .35);
}
/* 领跑档案面板 */
.rt-lead-panel {
  margin-top: 12px; background: rgba(6, 214, 160, .06);
  border: 1px dashed rgba(6, 214, 160, .4); border-radius: 14px; padding: 12px 14px;
}
.rt-lead-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rt-lead-head b { color: #7ef0c2; font-size: 13.5px; }
.rt-lead-head span { font-size: 11.5px; color: #9fb8ad; }
.rt-lead-stats { display: flex; gap: 18px; margin: 10px 0 6px; }
.rt-lead-stats b { display: block; font-family: Consolas, monospace; font-size: 20px; color: #7ef0c2; }
.rt-lead-stats small { font-size: 11px; color: #c9aed8; }
.rt-lead-tracks { margin: 0 0 8px; font-size: 12px; color: #e4d2ee; }
.rt-lead-go { color: #ff9ac1; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.rt-lead-go:hover { color: #ff6b9a; }
/* 右侧行动区 */
.rt-cockpit .rt-continue {
  display: block; text-decoration: none; border-radius: 14px; padding: 14px 16px;
  background: linear-gradient(120deg, #ff7a00, #ff006e 70%, #8338ec);
  color: #fff; box-shadow: 0 14px 30px -10px rgba(255, 0, 110, .5);
}
.rt-cockpit .rt-continue-main { display: block; font-size: 15px; font-weight: 800; letter-spacing: .5px; }
.rt-cockpit .rt-continue-sub { display: block; font-size: 12px; opacity: .85; margin-top: 3px; }
.rt-cockpit .rt-ide-link, .rt-cockpit .rt-review-link {
  display: block; margin-top: 9px; text-decoration: none; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .1);
  border: 1px solid #7a4a92; border-radius: 12px; padding: 9px 14px; color: #f2e2fa;
}
.rt-cockpit .rt-ide-link:hover, .rt-cockpit .rt-review-link:hover { border-color: #ff006e; color: #fff; }
.rt-cockpit .rt-progress-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.rt-progress-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rt-progress-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff7a00, #ff006e, #8338ec); }
.rt-trophy { font-size: 18px; }
.rt-cockpit .rt-progress-note { margin: 7px 0 0; font-size: 11.5px; color: #c9aed8; }
.rt-cockpit .rt-progress-note b { color: #ffd166; }
.rt-ck-side .rt-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rt-ck-side .rt-stat-card {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid #5c2a72; border-radius: 12px; padding: 10px 12px;
}
.rt-ck-side .rt-stat-val { font-family: Consolas, monospace; font-size: 20px; font-weight: 900; color: #e8e6f0; }
.rt-ck-side .rt-stat-name { font-size: 11px; color: #c9aed8; }
/* 欠账计数器 / 奖励 / 任务标签 */
.rt-debt {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  background: #fff7ec; border: 1px solid #ffe3b0; border-left: 4px solid #ffb800;
  color: #7a5a1a; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: 12.5px;
}
.rt-debt.warn { background: #fff4e8; border-color: #ffc9a3; }
.rt-debt.bad { background: #fdeef0; border-color: #ffc4cf; border-left-color: #ff3d57; color: #a02038; }
.rt-debt b { font-size: 14px; }
.rt-reward {
  margin-top: 10px; background: linear-gradient(120deg, #eefaf4, #fff);
  border: 1px dashed #7ecfae; border-radius: 12px; padding: 12px 16px;
  font-size: 13px; color: #1a7a52; font-weight: 600;
}
.rt-reward a { color: #ff006e; font-weight: 800; text-decoration: none; margin-left: 6px; }
.rt-task-tags { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: 1px; }
.rt-ttag {
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  color: #8338ec; background: #f1edff; border-radius: 999px; padding: 1px 8px;
}
.rt-ttag:first-child { color: #ff006e; background: #ffe9f2; }
/* 洞察芯片评级 */
.rt-in-chip.good { border-left: 3px solid #06d6a0; }
.rt-in-chip.mid { border-left: 3px solid #ffb800; }
.rt-in-chip.bad { border-left: 3px solid #ff3d57; }
/* 热力图例 */
.rt-heat-legend { display: inline-flex; gap: 8px; margin-left: 10px; font-size: 10.5px; color: #8a7a66; }
.rt-heat-legend u { text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.rt-heat-legend u::before { content: ''; width: 9px; height: 9px; border-radius: 2.5px; display: inline-block; }
.rt-heat-legend u.g3::before { background: #ff006e; }
.rt-heat-legend u.g2::before { background: #ff9ac1; }
.rt-heat-legend u.g1::before { background: #ffd9c0; }
.rt-heat-legend u.g0::before { background: #eee7da; }
/* 趋势折线 */
.rt-trend-box { background: #fff; border: 1px solid #f0e2d5; border-radius: 16px; padding: 14px; }
.rt-trend-svg { width: 100%; height: auto; display: block; }
.rt-trend-grid { stroke: #f3ead8; stroke-width: 1; }
.rt-trend-label { font-size: 9px; fill: #a29380; text-anchor: middle; }
.rt-trend-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rt-trend-line.ac { stroke: url(#rtGradAc); filter: drop-shadow(0 2px 4px rgba(255, 0, 110, .3)); }
.rt-trend-line.rate { stroke: #8338ec; stroke-dasharray: 5 4; }
.rt-trend-area { fill: rgba(255, 0, 110, .06); stroke: none; }
.rt-trend-peakdot { fill: #ff006e; stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 2px 5px rgba(255, 0, 110, .55)); animation: rtTrendFade .8s ease 1.1s both; }
.rt-trend-peaklabel { font-size: 11px; font-weight: 800; fill: #ff006e; animation: rtTrendFade .8s ease 1.2s both; }
.rt-trend-legend .rt-legend-num { color: #ff006e; font-size: 12.5px; }
.rt-trend-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 11.5px; color: #7a6a58; }
.rt-trend-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: 3px; }
.rt-trend-legend i.ac { background: #ff006e; }

/* 折线图动效：描线 + 十字线 + 数据点 + 悬浮气泡 */
.rt-trend-wrap { position: relative; }
.rt-trend-cross { stroke: #c9a8d8; stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .15s; pointer-events: none; }
.rt-trend-dot { fill: #fff; stroke-width: 3; opacity: 0; transition: opacity .15s; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(255, 0, 110, .45)); }
.rt-trend-dot.ac { stroke: #ff006e; }
.rt-trend-dot.rate { stroke: #8338ec; }
.rt-trend-tip {
  position: absolute; top: 4px; z-index: 5; pointer-events: none;
  background: linear-gradient(135deg, #4a2460, #341747); color: #f2e2fa;
  border: 1px solid rgba(255, 120, 180, .5); border-radius: 9px;
  padding: 6px 11px; font-size: 12px; line-height: 1.5; white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(131, 56, 236, .5);
}
.rt-trend-tip b { color: #ff9ec4; margin: 0 2px; }
.rt-trend-tip::before { content: ''; }
@keyframes rtTrendFade { from { opacity: 0; } to { opacity: 1; } }
.rt-trend-legend i.rate { background: #8338ec; }
.rt-trend-peak { margin-left: auto; color: #a29380; }
/* 备考时间轴 */
.rt-plan-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.rt-plan-node {
  display: flex; gap: 10px; background: #fff; border: 1px solid #f0e2d5;
  border-radius: 14px; padding: 12px;
}
.rt-plan-node.done { border-color: #9fdcb8; background: #f4fcf7; }
.rt-plan-node.behind { border-color: #ffc4cf; background: #fff5f7; }
.rt-plan-ico { font-size: 22px; }
.rt-plan-main { flex: 1; min-width: 0; }
.rt-plan-main b { display: block; font-size: 13px; color: #2b2b2b; }
.rt-plan-main small { display: block; font-size: 11px; color: #8a7a66; margin-top: 2px; }
.rt-plan-warn { font-style: normal; font-size: 10.5px; color: #c0392b; background: #fdeeee; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.rt-plan-ok { font-style: normal; font-size: 10.5px; color: #12961a; background: #e8f8ee; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.rt-plan-bar { height: 5px; border-radius: 3px; background: #f3ead8; margin-top: 7px; overflow: hidden; }
.rt-plan-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ff7a00, #ff006e); }
.rt-plan-node.behind .rt-plan-bar i { background: linear-gradient(90deg, #ffb800, #ff3d57); }
.rt-plan-warnbar {
  background: #fff4e8; border: 1px solid #ffc9a3; color: #a05a1a;
  border-radius: 12px; padding: 10px 14px; font-size: 12.5px; font-weight: 600; margin-bottom: 10px;
}
/* PDF 按钮 */
.rt-pdf-btn {
  margin-left: auto; font-size: 11.5px; font-weight: 800; text-decoration: none;
  color: #fff; background: linear-gradient(120deg, #ff7a00, #ff006e);
  border-radius: 999px; padding: 4px 13px;
}
.rt-pdf-btn:hover { box-shadow: 0 6px 14px rgba(255, 0, 110, .3); }
/* 游客：成长闭环 / 样例时间线 / CTA 分层 */
.rt-chain, .rt-growth, .rt-cta3 { margin-top: 26px; }
.rt-chain-flow { display: flex; align-items: stretch; gap: 14px; }
.rt-chain-card {
  flex: 1; background: #fff; border: 1px solid #f0e2d5; border-radius: 18px; padding: 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rt-chain-card:hover { transform: translateY(-4px); }
.rt-chain-card.lead { border-top: 4px solid #06d6a0; }
.rt-chain-card.pilot { border-top: 4px solid #ff006e; box-shadow: 0 14px 34px rgba(255, 0, 110, .1); }
.rt-chain-card .rt-chain-ico { font-size: 26px; }
.rt-chain-card b { display: block; font-size: 16px; color: #1a1a2e; margin: 8px 0 2px; }
.rt-chain-card b small { font-size: 11.5px; color: #a29380; font-weight: 600; margin-left: 6px; }
.rt-chain-card p { margin: 8px 0 0; font-size: 12.5px; color: #7a6a58; line-height: 1.9; }
/* 领跑卡整卡为 <a> 链接 + 右下角「进入领跑」角标 */
a.rt-chain-card { display: block; text-decoration: none; cursor: pointer; }
.rt-chain-card .rt-chain-go {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800;
  color: #059e78; background: #e6fbf5; border-radius: 999px; padding: 5px 13px;
}
.rt-chain-card:hover .rt-chain-go { background: #059e78; color: #fff; }
.rt-chain-arrow {
  align-self: center; flex: none; text-align: center; font-size: 12px; font-weight: 800;
  color: #ff006e; background: #ffe9f2; border-radius: 999px; padding: 8px 14px; white-space: nowrap;
}
.rt-chain-arrow b { display: block; font-size: 18px; }
.rt-chain-note {
  margin: 14px 0 0; text-align: center; font-size: 12.5px; color: #7a5a34;
  background: #fff7ec; border: 1px dashed #ffd9a8; border-radius: 12px; padding: 11px 16px;
}
.rt-chain-note b { color: #ff006e; }
.rt-growth-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: g; }
.rt-g-node {
  position: relative; background: #fff; border: 1px solid #f0e2d5; border-radius: 14px;
  padding: 40px 12px 12px; text-align: center;
}
.rt-g-node::before {
  counter-increment: g; content: counter(g);
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #ff7a00, #8338ec);
}
.rt-g-node i { font-style: normal; font-size: 11px; color: #a29380; display: block; }
.rt-g-node b { display: block; font-size: 13.5px; color: #1a1a2e; margin: 4px 0; }
.rt-g-node small { font-size: 11px; color: #8a7a66; line-height: 1.7; display: block; }
.rt-cta3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rt-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-decoration: none; border-radius: 16px; padding: 18px; transition: transform .15s ease, box-shadow .15s ease;
}
.rt-cta:hover { transform: translateY(-3px); }
.rt-cta span { font-size: 24px; }
.rt-cta b { font-size: 15.5px; }
.rt-cta small { font-size: 12px; opacity: .85; line-height: 1.6; }
.rt-cta.org { background: linear-gradient(120deg, #ff7a00, #ff006e); color: #fff; box-shadow: 0 12px 28px -8px rgba(255, 0, 110, .4); }
.rt-cta.teacher { background: #fff; border: 1.5px solid #8338ec; color: #6a2ec7; }
.rt-cta.student { background: #fff; border: 1.5px solid #06d6a0; color: #0a8a68; }
/* 移动端折叠按钮 */
.rt-m-toggle {
  display: none; width: 100%; text-align: left; border: 1px solid #f0e2d5; background: #fff;
  border-radius: 12px; padding: 11px 14px; font-size: 13px; font-weight: 700; color: #6b5c44;
  cursor: pointer; margin-top: 12px;
}
@media (max-width: 767px) {
  .rt-m-toggle { display: block; }
  .rt-ck-body { grid-template-columns: 1fr; }
  .rt6-node { font-size: 9px; max-width: 50px; }
  .rt6-node u { width: 28px; height: 28px; font-size: 12px; }
  .rt-ck-views { margin-left: 0; width: 100%; }
  .rt-chain-flow { flex-direction: column; }
  .rt-chain-arrow b { display: inline; margin-left: 6px; }
  .rt-growth-line { grid-template-columns: 1fr 1fr; }
  .rt-cta3 { grid-template-columns: 1fr; }
}
