/* 学习地图 /learning-map/ · 专属作用域 .lm-，不与全站任何组件交叉 */
/* 教程中心路径卡的标签从 span 改成 a（指向地图页），去下划线；不影响其它 tr-tagx */
.tr-road-card .tr-tagx { text-decoration: none; }
.tr-road-card .tr-tagx:hover { border-color: #d4a853; color: #f0d693; }
/* 移动端优先 */
.lm-page { max-width: 1180px; margin: 0 auto; padding: 18px 16px 60px; color: #1c2331; }
.lm-crumb { font-size: 12px; color: #8a90a0; margin: 4px 0 18px; }
.lm-crumb a { color: #7a808e; text-decoration: none; }
.lm-crumb a:hover { color: #b8862f; }
.lm-crumb span { color: #4a5160; }

.lm-hero { background: linear-gradient(135deg, #101a2e 0%, #16233c 55%, #1c2b47 100%); border-radius: 14px; padding: 30px 22px 26px; color: #eef2fa; position: relative; overflow: hidden; }
.lm-hero:after { content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border: 1px solid rgba(212,168,83,.13); border-radius: 50%; }
.lm-hero-en { font-size: 11px; letter-spacing: 2px; color: #d4a853; font-weight: 700; margin-bottom: 12px; }
.lm-hero h1 { font-size: 25px; line-height: 1.45; margin: 0 0 12px; font-weight: 700; color: #eef2fa; }
.lm-hero h1 em { color: #e6be6d; font-style: normal; }
.lm-hero p { font-size: 13px; line-height: 1.85; color: #b9c3d6; margin: 0 0 20px; max-width: 640px; }
.lm-hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.lm-hero-stats span { font-size: 12px; color: #93a0b8; }
.lm-hero-stats b { font-size: 21px; color: #e6be6d; margin-right: 4px; font-weight: 700; }

.lm-tabs { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 18px 0 10px; }
.lm-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e5ec; border-radius: 11px; background: #fff; text-decoration: none; color: #1c2331; transition: border-color .18s, box-shadow .18s; }
.lm-tab:hover, .lm-tab.is-on { border-color: #d4a853; box-shadow: 0 3px 14px rgba(180,134,47,.11); }
.lm-tab-no { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #15213a; color: #e6be6d; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.lm-tab-txt { display: flex; flex-direction: column; min-width: 0; }
.lm-tab-txt b { font-size: 14px; }
.lm-tab-txt small { font-size: 11px; color: #8a90a0; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lm-path { margin-top: 26px; scroll-margin-top: 16px; }
.lm-path-hd { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; background: linear-gradient(120deg, #f6f8fc, #eef2f9); border: 1px solid #e4e8f0; border-left: 3px solid #d4a853; border-radius: 10px; }
.lm-path-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: #15213a; display: flex; align-items: center; justify-content: center; }
.lm-path-label { font-size: 11px; letter-spacing: 1px; color: #b8862f; font-weight: 700; }
.lm-path-hdtxt h2 { font-size: 18px; margin: 4px 0 6px; color: #16213a; }
.lm-path-hdtxt p { font-size: 12px; line-height: 1.75; color: #697182; margin: 0; }

.lm-group { margin: 20px 0 8px; padding-left: 2px; }
.lm-group-t { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px dashed #dfe3eb; padding-bottom: 8px; }
.lm-group-t b { font-size: 13px; color: #26324a; }
.lm-group-t span { font-size: 11px; color: #9096a4; }

.lm-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 7px; background: #fff; border: 1px solid #e6e9ef; border-radius: 9px; text-decoration: none; color: #202a3c; transition: border-color .18s, transform .18s; }
.lm-step:hover { border-color: #d4a853; transform: translateX(2px); }
.lm-step-no { flex: 0 0 30px; font-size: 14px; font-weight: 700; color: #c1974a; font-variant-numeric: tabular-nums; }
.lm-step-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lm-step-body b { font-size: 13px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lm-step-meta { font-size: 11px; color: #949aa8; }
.lm-step-go { flex: 0 0 auto; font-size: 11px; color: #b8862f; }

.lm-path-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; }
.lm-path-foot a { color: #7a808e; text-decoration: none; }
.lm-path-foot a:hover { color: #b8862f; }

.lm-note { margin-top: 34px; padding: 16px; background: #f7f8fa; border: 1px solid #e8eaf0; border-radius: 9px; font-size: 11px; line-height: 1.8; color: #8a90a0; }

/* 桌面端 */
@media (min-width: 760px) {
  .lm-page { padding: 24px 24px 70px; }
  .lm-hero { padding: 42px 46px 38px; }
  .lm-hero h1 { font-size: 33px; }
  .lm-hero p { font-size: 14px; }
  .lm-tabs { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .lm-path-hd { padding: 22px 24px; }
  .lm-path-hdtxt h2 { font-size: 21px; }
  .lm-group-t { flex-direction: row; align-items: baseline; gap: 12px; }
  .lm-step { padding: 14px 18px; }
  .lm-step-body b { font-size: 14px; }
}
