/* 山人玩具俱乐部 — 静态站样式
   设计原则：浅底深字、克制配色、信息密度高、任何设备可读 */

:root {
  --ink: #1c1917;
  --ink2: #57534e;
  --ink3: #8a827a;
  --line: #e4dfd6;
  --line2: #d6d0c4;
  --bg: #fbf9f5;
  --card: #ffffff;
  --brand: #8a6d3b;
  --brand-d: #6b5228;
  --brand-l: #f5efe3;
  --blue: #185fa5;
  --blue-l: #e6f1fb;
  --green: #0f6e56;
  --green-l: #e1f5ee;
  --amber: #854f0b;
  --amber-l: #faf0d8;
  --gray-l: #f1efe8;
  --radius: 12px;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
p { margin: 0 0 14px; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- 头部 ---------------- */
.site-head {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-txt { font-size: 15px; font-weight: 500; line-height: 1.3; }
.brand-txt em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink3);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink2); font-size: 14px; }
.nav a:hover { color: var(--brand-d); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--brand);
  transition: background 0.15s;
}
.btn:hover { background: var(--brand-d); text-decoration: none; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-d); }
.btn-ghost:hover { background: var(--brand-l); color: var(--brand-d); }
.btn-sm { padding: 7px 14px; font-size: 13px; background: var(--brand); color: #fff; }
.btn-sm:hover { background: var(--brand-d); color: #fff; }
.btn-block { display: block; text-align: center; margin-top: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(180deg, var(--brand-l) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 48px;
}
/* 首屏：左 LOGO / 右「关于平台」，进来先知道这是谁、靠不靠谱 */
.hero-intro {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  margin-bottom: 26px;
}
.hero-brand { flex: 0 0 200px; }
.hero-logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 14px;
  border-radius: 12px;
}
.brand-name { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.brand-slogan { font-size: 13px; color: var(--ink3); line-height: 1.6; }
.hero-about { flex: 1; min-width: 0; }
.about-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brand-d);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.7);
}
.hero h1 { font-size: 34px; line-height: 1.25; margin-bottom: 14px; max-width: 720px; }
.about-prose { font-size: 15px; color: var(--ink2); max-width: 680px; line-height: 1.75; }
.hero-trust { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.hero-trust li { font-size: 13.5px; color: var(--ink2); padding-left: 18px; position: relative; }
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
}
.hero-trust b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.about-link { margin-top: 14px; font-size: 14px; }
.about-link a { font-weight: 500; }
.hero-sub { font-size: 17px; color: var(--ink2); max-width: 640px; margin-bottom: 26px; }
.hero-act { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 44px;
  list-style: none;
  padding: 22px 0 0;
  margin: 0;
  border-top: 1px solid var(--line2);
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 30px; font-weight: 500; color: var(--brand-d); line-height: 1.1; }
.hero-stats span { font-size: 13px; color: var(--ink3); }

/* ---------------- 区块 ---------------- */
.sec { padding: 48px 0; }
.sec-top { padding: 12px 0 48px; }
.sec-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { font-size: 22px; margin-bottom: 8px; }
.sec-desc { color: var(--ink2); max-width: 720px; margin-bottom: 28px; }
.lede { color: var(--ink2); font-size: 16px; max-width: 760px; margin-bottom: 8px; }
.prose { color: var(--ink2); max-width: 760px; }
.more { margin-top: 28px; }
.more a:not(.btn) { font-weight: 500; }

/* 面包屑 */
.crumb { font-size: 13px; color: var(--ink3); padding: 20px 0 4px; }
.crumb a { color: var(--ink3); }
.crumb a:hover { color: var(--brand-d); }
.crumb span { margin-left: 8px; }
.crumb a + span::before { content: "/"; margin-right: 8px; color: var(--line2); }

/* ---------------- 五宫格 ---------------- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.tile:hover { border-color: var(--brand); text-decoration: none; }
.tile-n { font-size: 13px; color: var(--brand); font-weight: 500; }
.tile h3 { margin: 6px 0 8px; font-size: 16px; }
.tile p { font-size: 13px; color: var(--ink3); line-height: 1.65; margin: 0; }

/* ---------------- 卡片 ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.card-top h3 { margin: 0; font-size: 17px; }
.card-top h3 a { color: var(--ink); }
.card-title { font-size: 14px; color: var(--ink2); margin: 0 0 8px; }
.card-meta { font-size: 13px; color: var(--ink3); margin: 0 0 10px; }
.card-desc { font-size: 13px; color: var(--ink2); line-height: 1.65; margin: 0 0 12px; flex: 1; }
.card-tags { margin: 0 0 12px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink3);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 0;
}
.card-foot a { font-weight: 500; white-space: nowrap; }
.card-flat { margin-bottom: 14px; }
.card-flat .dl { margin-top: 12px; }
.cards-plain { max-width: 860px; }

/* 徽标 */
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* ---- 俱乐部等级徽章 ---- */
.level-badge {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline-block;
}
.level-badge-lg {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
/* 名字后面的「山人」小熊徽章：直接就是一张带透明底的圆牌，无额外底盘 */
.level-chip {
  display: inline-block;
  width: 36px;
  height: 36px;
  vertical-align: middle;
  border-radius: 50%;
  object-fit: contain;
}

.level-note {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin: 20px 0;
  background: #fdfbf6;
  border: 1px solid #ece5d8;
  border-radius: 12px;
}
.level-txt { display: flex; flex-direction: column; gap: 4px; }
.level-name { font-size: 20px; font-weight: 700; color: #8a6d3b; }
.level-desc { font-size: 13px; color: #6f675d; }
.level-hint { font-size: 12px; color: #9b938a; }

.level-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0 36px;
}
.level-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.level-card.level-gold { background: #fbf3e2; border-color: #dcc79a; }
.level-card.level-silver { background: #f2f4f6; border-color: #d3d8dd; }
.level-card.level-white { background: #faf9f7; border-color: #e4dfd6; }
.level-card .level-name { font-size: 18px; font-weight: 700; color: #8a6d3b; margin-bottom: 2px; }
.level-card .level-desc { font-size: 13px; color: #6f675d; }
.tag-ok { background: var(--green-l); color: var(--green); border-color: #bfe5d8; }
.tag-gray { background: var(--gray-l); color: var(--ink3); border-color: var(--line2); }
/* 认证供应商：金色标识，对应数据 promoted 字段（推荐位预留） */
.tag-gold { background: var(--brand-l); color: var(--brand); border-color: #dcc79a; font-weight: 500; }
.state { font-size: 11px; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.state-open { background: var(--green-l); color: var(--green); }
.state-busy { background: var(--amber-l); color: var(--amber); }
.mini {
  display: inline-block;
  font-size: 11px;
  color: var(--ink2);
  background: var(--gray-l);
  padding: 3px 8px;
  border-radius: 5px;
  margin: 0 5px 5px 0;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.pill {
  font-size: 12px;
  color: var(--ink2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 20px;
}
.pill:hover { border-color: var(--brand); text-decoration: none; color: var(--brand-d); }

/* ---------------- 详情页 ---------------- */
.profile { padding: 24px 0 8px; }
.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.profile-head h1 { margin-bottom: 6px; }
.profile-title { font-size: 16px; color: var(--ink2); margin: 0 0 12px; }
.profile-cta { text-align: center; }
.profile-body { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.profile-body h2 { font-size: 18px; margin: 32px 0 12px; }
.profile-body h2:first-child { margin-top: 0; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel-side { position: sticky; top: 92px; }
.panel h3 { margin-bottom: 14px; }
.panel p { font-size: 14px; color: var(--ink2); }

/* 定义列表 */
.dl { margin: 0; }
.dl-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.dl-row:last-child { border-bottom: none; }
.dl dt { color: var(--ink3); margin: 0; }
.dl dd { color: var(--ink); margin: 0; line-height: 1.6; }

/* ---------------- 列表与步骤 ---------------- */
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.ticks b { color: var(--ink); font-weight: 500; }

.steps { padding-left: 20px; margin: 0 0 24px; }
.steps li { margin-bottom: 12px; color: var(--ink2); font-size: 14px; }
.steps b { color: var(--ink); font-weight: 500; }
.steps-big li { margin-bottom: 24px; font-size: 15px; }
.steps-big li p { margin: 6px 0 0; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }

.rel-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.rel-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.rel-list li a { display: block; font-weight: 500; margin-bottom: 2px; }
.rel-list .dim { font-size: 12px; color: var(--ink3); }

/* 术语表 */
.glossary-toc { margin: 20px 0 8px; }
.glossary-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.glossary-item h2 { font-size: 18px; margin-bottom: 8px; }
.glossary-item p { margin: 0; }

/* 入驻页 */
.tabs-static { display: grid; gap: 16px; margin: 28px 0; }
.tabp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tabp h2 { font-size: 18px; }
.tabp p { color: var(--ink2); font-size: 14px; }

/* ---------------- 提示 ---------------- */
.note {
  font-size: 13px;
  color: var(--ink2);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  padding: 13px 16px;
  margin: 20px 0;
  line-height: 1.7;
}
.note-sm { font-size: 12px; color: var(--ink3); margin: 14px 0 0; line-height: 1.6; }
.dim { color: var(--ink3); font-size: 12px; }

/* ---------------- 页脚 ---------------- */
.site-foot {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 44px 0 24px;
  margin-top: 20px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.foot-cols h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; }
.foot-cols a { display: block; font-size: 13px; color: var(--ink3); margin-bottom: 8px; }
.foot-cols a:hover { color: var(--brand-d); }
.foot-note p { font-size: 12px; color: var(--ink3); line-height: 1.7; }
.foot-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--ink3);
  flex-wrap: wrap;
}

/* ---------------- 联系方式 ---------------- */
.foot-contact {
  padding: 22px 0 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot-contact .fc-txt { flex: 1 1 auto; min-width: 0; }
.foot-contact h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; }
.foot-logo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.foot-miniapp {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.foot-miniapp .fm-code {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  display: block;
}
.foot-miniapp .fm-txt h4 { font-size: 13px; color: var(--ink); margin: 0 0 6px; }
.foot-miniapp .fm-txt p { margin: 0; font-size: 12px; color: var(--dim, #8a827a); line-height: 1.7; }
@media (max-width: 560px) {
  .foot-contact { flex-direction: column; align-items: flex-start; }
  .foot-miniapp { align-self: stretch; justify-content: center; }
  .foot-logo { align-self: flex-end; margin-top: 12px; }
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 560px;
}
.contact-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.contact-head b { font-size: 16px; color: var(--ink); }
.contact-desc { font-size: 13px; color: var(--ink2); margin-bottom: 14px; }
.contact-rows { display: flex; flex-direction: column; gap: 10px; }
.contact-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.contact-row .ck { width: 40px; flex: none; color: var(--ink3); font-size: 13px; }
.contact-row .cv { flex: 1; min-width: 150px; color: var(--ink); }
.contact-row code {
  background: var(--brand-l);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.mini-btn {
  font-family: inherit;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--brand-d);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.6;
}
.mini-btn:hover { border-color: var(--brand); }
.mini-btn[disabled] { color: var(--ink3); cursor: default; }
.phone-mask { letter-spacing: 0.5px; }
.contact-hours { font-size: 12px; color: var(--ink3); margin-top: 12px; }
.contact-compact { padding: 14px 16px; }

/* ---------------- 技术培训 ---------------- */
.org-line { font-size: 14px; color: var(--ink3); margin-bottom: 24px; }
.hl-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.hl-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.hl-item b { display: block; font-size: 26px; color: var(--brand); line-height: 1.3; font-weight: 500; }
.hl-item span { font-size: 13px; color: var(--ink2); }
.course-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.course-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
}
.course-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.course-head h3 { font-size: 19px; margin: 0; }
.course-desc { font-size: 14px; color: var(--ink2); line-height: 1.75; margin-bottom: 14px; }
.course-meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--ink2); margin-bottom: 14px; }
.course-meta b { color: var(--ink3); font-weight: 400; margin-right: 4px; }
.course-outline { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--ink2); }
.course-outline b { display: block; color: var(--ink); margin-bottom: 8px; }
.course-outline ol { margin: 0; padding-left: 20px; }
.course-outline li { margin-bottom: 4px; }
.teacher {
  background: var(--bg);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 16px;
}
.teacher-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.teacher-name b { font-size: 16px; }
.teacher p { font-size: 14px; color: var(--ink2); line-height: 1.75; margin: 0; }
.fmt-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.fmt { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.fmt h4 { font-size: 15px; margin-bottom: 8px; }
.fmt p { font-size: 13px; color: var(--ink2); line-height: 1.7; margin: 0; }
.steps { padding-left: 22px; font-size: 14px; color: var(--ink2); line-height: 1.8; }

/* ---- 首页技术培训区块（招生入口，紧跟首屏） ---- */
.train-sec {
  background: linear-gradient(180deg, #fffaf0 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.train-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.train-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.train-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-l);
  padding: 6px;
  border: 1px solid var(--brand);
}
.train-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 6px;
}
.train-slogan { font-size: 14px; color: var(--ink2); margin-top: 4px; }
.train-head-act { margin: 0; }
.train-hl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  padding: 0;
}
.train-hl li {
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.train-hl b { display: block; font-size: 22px; color: var(--brand-d); font-weight: 500; line-height: 1.3; }
.train-hl span { font-size: 13px; color: var(--ink2); }
.train-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.tcourse {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.tcourse:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(138, 109, 59, .10); }
.tcourse-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--brand-d);
  background: var(--brand-l);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.tcourse-name { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.tcourse-dur { display: block; font-size: 12px; color: var(--ink3); }
.train-foot { font-size: 13px; color: var(--ink3); margin-top: 18px; }
.train-foot a { color: var(--brand-d); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .profile-body, .split { grid-template-columns: 1fr; gap: 28px; }
  .panel-side { position: static; }
}
@media (max-width: 640px) {
  h1 { font-size: 25px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 29px; }
  .hero-intro { flex-direction: column; gap: 18px; }
  .hero-brand { flex: none; display: flex; align-items: center; gap: 14px; }
  .hero-logo { width: 96px; margin-bottom: 0; }
  .hero-stats { gap: 28px; }
  .hero-stats b { font-size: 25px; }
  .site-head .wrap { min-height: auto; }
  .nav { gap: 14px; font-size: 13px; }
  .brand-txt em { display: none; }
  .profile-head { flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 72px 1fr; gap: 8px; }
  .hl-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .train-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .train-brand { gap: 12px; }
  .train-logo { width: 60px; height: 60px; }
  .train-hl { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .train-courses { grid-template-columns: 1fr; }
  .course-card { padding: 18px 20px; }
  .course-meta { flex-direction: column; gap: 6px; }
  .contact-row .ck { width: auto; }
  .contact-row .cv { min-width: 120px; }
}
@media print {
  .site-head, .site-foot, .nav, .btn, .profile-cta { display: none; }
  body { background: #fff; }
}
.level-card.level-admin { background: #fbf3e2; border-color: #c9a45c; }

/* ---------------- 入驻申请表单 ---------------- */
.af-switch { display: flex; gap: 12px; margin: 20px 0 16px; flex-wrap: wrap; }
.af-tab {
  flex: 1 1 240px; text-align: left; cursor: pointer; font-family: inherit;
  padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  font-size: 14px; color: var(--ink); line-height: 1.5;
}
.af-tab em { display: block; font-style: normal; font-size: 12px; color: var(--ink3); margin-top: 4px; }
.af-tab.is-on { border-color: var(--brand); background: var(--brand-l); }
.af-pane { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; }
.af-pane p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; }
.apply-form { margin-bottom: 24px; }
.af-row { margin-bottom: 16px; }
.af-row label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.af-row label b { color: #b4231f; }
.af-row input, .af-row select, .af-row textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--card);
}
.af-row textarea { resize: vertical; }
.af-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 16px; }
.af-group legend { font-size: 13px; color: var(--ink); padding: 0 6px; }
.af-act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.af-result { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px; }
.af-result h3 { font-size: 15px; margin: 0 0 8px; }
.af-tip { font-size: 13px; margin: 0 0 12px; color: var(--ink2); }
.af-text {
  white-space: pre-wrap; word-break: break-all; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
  font-size: 13px; line-height: 1.7; max-height: 320px; overflow: auto; margin: 0;
}
.af-send { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 8px; }
.af-wx { font-size: 13px; color: var(--ink2); }
.af-wx b { color: var(--brand); }
.af-note { font-size: 12px; color: var(--ink3); margin: 0; }

/* ---------------- 会员中心 ---------------- */
.mem-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.mem-card h2 { font-size: 15px; margin: 0 0 14px; }
.mem-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--brand-l); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; font-size: 13px; }
.mem-bar b { color: var(--brand-d); }
.mb-code-row { display: flex; gap: 10px; }
.mb-code-row input { flex: 1; }
.mb-err { font-size: 12px; color: #b4231f; margin: 6px 0 0; min-height: 16px; }
.mb-msg { font-size: 13px; color: var(--ink2); margin: 12px 0 0; min-height: 18px; }
.mb-msg.mb-bad { color: #b4231f; }
.mem-order { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: var(--bg); }
.mo-top { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 14px; }
.mo-line { font-size: 12px; color: var(--ink2); margin: 0 0 4px; }
.mo-line.dim { color: var(--ink3); }
.mem-tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--gray-l); color: var(--ink2); border: 1px solid var(--line); }
.mem-tag.ok { background: var(--green-l); color: var(--green); border-color: var(--green); }

/* ---------------- 页脚备案号 ---------------- */
.foot-bar .beian-link { color: var(--ink3); text-decoration: none; }
.foot-bar .beian-link:hover { color: var(--brand); text-decoration: underline; }
