/* ============ 星焰跨境 AI 导航 · 深色出海风 ============ */
:root {
  --bg: #060a13;
  --bg-soft: #0a1120;
  --panel: #0e1728;
  --panel-2: #111c30;
  --border: rgba(148, 184, 255, 0.12);
  --text: #e8eefb;
  --text-2: #93a4c0;
  --text-3: #5c6d8c;
  --primary: #38bdf8;
  --primary-2: #6366f1;
  --cyan: #22d3ee;
  --green: #34d399;
  --gold: #fbbf24;
  --danger: #f87171;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(56, 132, 255, 0.14), transparent 60%),
    radial-gradient(900px 420px at -10% 10%, rgba(99, 102, 241, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-body { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ---------- 顶部 ---------- */
.site-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 12, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.logo img { height: 32px; }
.logo-mark { color: var(--cyan); font-size: 22px; }
.logo-text { background: linear-gradient(90deg, #7dd3fc, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 13px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; transition: all .2s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a.active { color: #fff; background: linear-gradient(135deg, rgba(56,189,248,.16), rgba(99,102,241,.16)); box-shadow: inset 0 0 0 1px rgba(56,189,248,.35); }
/* 站外自有平台入口（导航栏外链） */
.main-nav a.nav-external {
  color: var(--cyan);
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, .38);
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(99,102,241,.14));
}
.main-nav a.nav-external:hover {
  color: #fff;
  border-color: rgba(34, 211, 238, .85);
  background: linear-gradient(135deg, rgba(34,211,238,.32), rgba(99,102,241,.32));
}
.main-nav a.nav-external .ext-arrow { font-size: 12px; margin-left: 2px; opacity: .85; }
.top-search { flex: 1; display: flex; max-width: 300px; margin-left: auto; }
.top-search input {
  flex: 1; min-width: 0; padding: 7px 13px; border-radius: 20px 0 0 20px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text);
  font-size: 13px; outline: none;
}
.top-search input:focus { border-color: rgba(56,189,248,.5); }
.top-search button {
  padding: 7px 16px; border: 1px solid rgba(56,189,248,.4); border-left: none;
  border-radius: 0 20px 20px 0; background: rgba(56,189,248,.14); color: var(--cyan); cursor: pointer; font-size: 13px;
}
.top-user { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 14px; }
.top-user a { color: var(--text-2); transition: color .2s; }
.top-user a:hover { color: #fff; }
.top-user .btn-reg { color: var(--cyan); border: 1px solid rgba(56,189,248,.4); padding: 4px 12px; border-radius: 999px; }
.user-hello { color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 66px; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(56,189,248,.16), transparent 70%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.25), transparent 70%);
  width: 340px; height: 340px; filter: blur(30px);
}
.hero::before { top: -120px; left: -80px; }
.hero::after { bottom: -140px; right: -60px; width: 260px; height: 260px; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(180deg, #fff, #bcd3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--text-2); margin-top: 14px; font-size: 17px; }
.hero-search { display: flex; max-width: 560px; margin: 30px auto 0; }
.hero-search input {
  flex: 1; padding: 15px 22px; border-radius: 30px 0 0 30px; font-size: 15px; outline: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(56,189,248,.35); color: #fff;
}
.hero-search button {
  padding: 0 30px; border-radius: 0 30px 30px 0; border: none; cursor: pointer;
  background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font-size: 15px; font-weight: 600;
}
.hero-stats { display: flex; justify-content: center; gap: 36px; margin-top: 26px; color: var(--text-2); font-size: 13.5px; }
.hero-stats b { color: var(--cyan); font-size: 20px; margin-right: 4px; }

/* ---------- 轮播 ---------- */
.banner-sec { margin-bottom: 10px; }
.carousel { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 190px;
  border-radius: var(--radius); display: flex; align-items: center; overflow: hidden;
  text-decoration: none; border: 1px solid var(--border);
}
.grad-0 { background: linear-gradient(120deg, #0c4a6e, #1e1b4b 60%, #0ea5e9); }
.grad-1 { background: linear-gradient(120deg, #134e4a, #1e1b4b 60%, #6366f1); }
.grad-2 { background: linear-gradient(120deg, #3b0764, #1e1b4b 60%, #22d3ee); }
.grad-3 { background: linear-gradient(120deg, #4a044e, #1e1b4b 60%, #fb923c); }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.slide-txt { position: relative; z-index: 2; padding: 30px 36px; max-width: 640px; }
.slide-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.slide-sub { margin-top: 10px; color: rgba(255,255,255,.82); font-size: 14.5px; }
.slide-btn { display: inline-block; margin-top: 16px; color: #0b1120; font-weight: 700; font-size: 13px; background: #fff; padding: 7px 18px; border-radius: 999px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(148,184,255,.3); cursor: pointer; transition: all .25s; }
.dot.on { width: 24px; border-radius: 999px; background: var(--cyan); }

/* ---------- Section ---------- */
.sec { margin: 46px auto; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.sec-head h2 { font-size: 21px; font-weight: 700; position: relative; padding-left: 14px; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(#22d3ee, #6366f1); }
.sec-more { color: var(--cyan); font-size: 13.5px; }
.sec-more:hover { text-decoration: underline; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: linear-gradient(160deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; transition: all .25s; position: relative; overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.12), transparent 70%);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.5); box-shadow: 0 12px 32px rgba(2, 8, 24, .6); }
.cat-icon { font-size: 26px; }
.cat-name { font-size: 16.5px; font-weight: 700; margin: 8px 0 4px; }
.cat-desc { font-size: 12.5px; color: var(--text-3); min-height: 36px; }
.cat-count { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--cyan); background: rgba(56,189,248,.1); padding: 2px 10px; border-radius: 999px; }

/* ---------- 标签 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px;
  background: rgba(148,163,220,.1); color: var(--text-2); border: 1px solid transparent;
}
.chip.big {
  padding: 7px 16px; font-size: 13px; cursor: pointer; transition: all .2s;
  background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); color: var(--text);
}
.chip.big:hover { border-color: rgba(56,189,248,.55); color: #fff; transform: translateY(-2px); }

/* ---------- 工具卡片 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card {
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; transition: all .22s; position: relative;
}
.tool-card:hover { border-color: rgba(56,189,248,.4); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2,8,24,.55); }
.tc-head { display: flex; align-items: center; gap: 12px; }
.tc-logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(56,189,248,.2), rgba(99,102,241,.2));
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.tc-logo img { width: 100%; height: 100%; object-fit: cover; }
.tc-logo.big { width: 60px; height: 60px; border-radius: 14px; }
.tc-logo-txt { font-size: 20px; font-weight: 800; color: var(--cyan); }
.tc-title { min-width: 0; }
.tc-title > a { font-weight: 700; font-size: 15.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-title > a:hover { color: var(--cyan); }
.tc-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.type-badge {
  font-size: 11px; padding: 1px 8px; border-radius: 999px; display: inline-block; white-space: nowrap;
}
.type-badge.big { font-size: 12px; padding: 3px 12px; }
.type-self { background: rgba(52,211,153,.15); color: var(--green); border: 1px solid rgba(52,211,153,.4); }
.type-agent { background: rgba(251,191,36,.12); color: var(--gold); border: 1px solid rgba(251,191,36,.4); }
.type-third { background: rgba(148,163,220,.12); color: #a5b4fc; border: 1px solid rgba(148,163,220,.35); }
.type-badge.gold { background: rgba(251,191,36,.15); color: var(--gold); border: 1px solid rgba(251,191,36,.45); }
.tc-cat { font-size: 11.5px; color: var(--text-3); }
.tc-summary { font-size: 13px; color: var(--text-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-foot { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); border-top: 1px dashed var(--border); padding-top: 10px; }
.tc-price { color: var(--green); }
.tc-clicks { margin-left: auto; }
.tc-actions { display: flex; align-items: center; gap: 6px; }
.btn-fav {
  background: transparent; border: 1px solid var(--border); color: var(--text-3); cursor: pointer;
  width: 30px; height: 30px; border-radius: 8px; font-size: 15px; line-height: 1; transition: all .2s;
}
.btn-fav:hover { color: var(--gold); border-color: rgba(251,191,36,.5); }
.btn-fav.on { color: var(--gold); background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.5); }
.btn-go {
  background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; border: none; cursor: pointer;
  padding: 6px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 600; transition: filter .2s;
}
.btn-go:hover { filter: brightness(1.15); }

/* ---------- 课程卡片 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course-grid.wide { grid-template-columns: repeat(2, 1fr); }
.course-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--panel); transition: all .22s; display: block; }
.course-card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.45); box-shadow: 0 14px 30px rgba(2,8,24,.55); }
.cc-banner { position: relative; padding: 22px 20px; min-height: 116px; display: flex; flex-direction: column; justify-content: center; }
.cc-grad-0 { background: linear-gradient(130deg, rgba(14,165,233,.5), rgba(23,37,84,.6)); }
.cc-grad-1 { background: linear-gradient(130deg, rgba(99,102,241,.5), rgba(30,27,75,.6)); }
.cc-grad-2 { background: linear-gradient(130deg, rgba(34,211,238,.4), rgba(8,51,68,.6)); }
.cc-grad-3 { background: linear-gradient(130deg, rgba(16,185,129,.4), rgba(6,78,59,.6)); }
.cc-tag {
  position: absolute; top: 12px; right: 12px; font-size: 11px; padding: 2px 10px; border-radius: 999px;
  background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.cc-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.cc-sub { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 6px; }
.cc-body { padding: 13px 18px; font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 5px; }
.cc-teacher { color: var(--text); }
.cc-enter { color: var(--cyan); margin-top: 4px; }

/* ---------- Panel / two-col ---------- */
.panel {
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.panel-title { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.panel-title.big { font-size: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notice-list { list-style: none; }
.notice-list li { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.notice-list li:last-child { border-bottom: none; }
.n-title { color: var(--text); font-weight: 600; font-size: 14.5px; }
.n-title:hover { color: var(--cyan); }
.n-content { font-size: 12.5px; color: var(--text-3); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cta-panel { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.cta-panel.center { text-align: center; align-items: center; }
.cta-panel .btn { align-self: flex-start; }
.cta-panel.center .btn { align-self: center; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; }
.btn.primary { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; }
.btn.primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.btn.ghost:hover { border-color: rgba(56,189,248,.5); color: #fff; }
.btn.lg { padding: 12px 30px; font-size: 15px; }
.btn.fav-lg { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.btn.fav-lg:hover { color: var(--gold); border-color: rgba(251,191,36,.5); }
.btn.fav-lg.on { color: var(--gold); border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.08); }

/* ---------- 页面头/面包屑 ---------- */
.page-head { padding: 34px 20px 6px; max-width: 1200px; }
.page-head h1 { font-size: 27px; }
.page-head p { color: var(--text-2); margin-top: 6px; }
.crumb { font-size: 13px; color: var(--text-3); padding: 22px 0 6px; }
.crumb a:hover { color: var(--cyan); }

/* ---------- 筛选条 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.filter-bar.slim { margin-top: 12px; }
.fb-label { color: var(--text-3); font-size: 13px; margin-right: 6px; }
.fb-item { font-size: 13px; padding: 5px 12px; border-radius: 999px; color: var(--text-2); border: 1px solid transparent; cursor: pointer; }
.fb-item em { font-style: normal; font-size: 11px; color: var(--text-3); margin-left: 3px; }
.fb-item:hover { color: #fff; }
.fb-item.on { color: #fff; background: linear-gradient(135deg, rgba(14,165,233,.85), rgba(99,102,241,.85)); }
.filter-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fb-result { font-size: 13px; color: var(--text-3); margin-right: 8px; }

/* ---------- 详情 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin-top: 10px; }
.detail-head { display: flex; gap: 18px; align-items: flex-start; }
.detail-name { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-summary { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 13px; color: var(--text-3); }
.detail-meta a { color: var(--cyan); }
.detail-actions { display: flex; gap: 12px; margin: 20px 0; }
.detail-body { margin-top: 16px; }
.detail-body h3 { font-size: 16px; margin-bottom: 12px; }
.rich-p { color: var(--text-2); font-size: 14.5px; margin-bottom: 10px; }
.note-self { margin-top: 18px; padding: 13px 16px; border-radius: 10px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); color: var(--green); font-size: 13.5px; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }
.side-card p { font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.muted { color: var(--text-3); font-size: 12.5px !important; }
.rel-list { list-style: none; }
.rel-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.rel-list li:last-child { border-bottom: none; }
.rel-list a:hover { color: var(--cyan); }
.rel-type { font-size: 10.5px; padding: 0 7px; }

/* ---------- 培训/课程详情 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teacher-card, .teacher-inline { background: linear-gradient(165deg, var(--panel), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.teacher-card { text-align: center; }
.t-avatar {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #6366f1); display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
}
.t-name { font-weight: 700; }
.t-title { color: var(--cyan); font-size: 13px; margin-top: 3px; }
.t-bio { color: var(--text-2); font-size: 12.5px; margin-top: 10px; line-height: 1.7; }
.teacher-inline { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.teacher-inline .t-avatar { margin: 0; width: 52px; height: 52px; font-size: 22px; }
.course-detail-hero { display: grid; grid-template-columns: 1fr 360px; gap: 22px; margin-top: 14px; align-items: start; }
.cdh-info { background: linear-gradient(150deg, var(--panel), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.cdh-info h1 { font-size: 25px; line-height: 1.4; }
.cdh-sub { color: var(--text-2); margin-top: 8px; }
.cdh-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; font-size: 13px; color: var(--text-2); }
.cdh-intro { font-size: 14px; color: var(--text-2); border-top: 1px dashed var(--border); padding-top: 14px; }
.reg-form { display: flex; flex-direction: column; gap: 10px; }
.reg-form input, .reg-form textarea, form.auth-card input {
  padding: 11px 14px; border-radius: 10px; font-size: 14px; outline: none;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text); font-family: inherit; width: 100%;
}
.reg-form input:focus, .reg-form textarea:focus { border-color: rgba(56,189,248,.6); }
.reg-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.reg-tip { font-size: 11.5px; color: var(--text-3); }
.reg-success { padding: 26px 20px; text-align: center; border: 1px solid rgba(52,211,153,.4); border-radius: 12px; background: rgba(52,211,153,.08); color: var(--green); font-size: 15px; line-height: 1.9; }
.reg-success.big { font-size: 17px; }
.radio-row { display: flex; gap: 18px; font-size: 13.5px; }
.radio-row label { display: flex; align-items: center; gap: 6px; }
.course-sec { max-width: 1200px; }
.outline { margin-left: 20px; color: var(--text-2); font-size: 14px; }
.outline li { padding: 6px 0; }
.course-card .cc-enter { display: block; }

/* ---------- 表单页（登录注册） ---------- */
.site-main.narrow { display: flex; justify-content: center; padding: 60px 20px; }
.auth-card { width: 100%; max-width: 420px; padding: 32px; }
.auth-card h1 { font-size: 24px; margin-bottom: 18px; }
.auth-card label { display: block; font-size: 13px; color: var(--text-2); margin: 12px 0 6px; }
.auth-card input { padding: 11px 14px; border-radius: 10px; font-size: 14px; outline: none; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text); width: 100%; }
.auth-card input:focus { border-color: rgba(56,189,248,.6); }
.auth-card .btn { width: 100%; margin-top: 18px; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.auth-alt a { color: var(--cyan); }
.form-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fca5a5; padding: 9px 13px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
.center { text-align: center; }
.err-code { font-size: 60px; font-weight: 800; background: linear-gradient(90deg,#7dd3fc,#a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 页签/我的 ---------- */
.tab-row { display: flex; gap: 6px; margin-bottom: 18px; }
.tab { padding: 8px 18px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.tab.on { color: #fff; background: linear-gradient(135deg, rgba(14,165,233,.8), rgba(99,102,241,.8)); border-color: transparent; }
.empty { text-align: center; color: var(--text-3); padding: 60px 20px; border: 1px dashed var(--border); border-radius: 14px; }
.empty a { color: var(--cyan); }

/* ---------- 表格 ---------- */
.reg-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.data-table th { color: var(--text-3); font-weight: 600; font-size: 12.5px; background: rgba(255,255,255,.02); }
.data-table a { color: var(--cyan); }
.st { padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.st.new { background: rgba(56,189,248,.12); color: var(--cyan); }
.st.contacted { background: rgba(251,191,36,.12); color: var(--gold); }
.st.done { background: rgba(52,211,153,.12); color: var(--green); }

/* ---------- 关于/联系我们 ---------- */
.about-panel p { margin-bottom: 4px; }
.about-panel.accent { border-color: rgba(56,189,248,.3); }
.contact-col { align-items: start; }
.sep { border: none; border-top: 1px dashed var(--border); margin: 14px 0; }

/* ---------- 页脚 ---------- */
.site-foot { margin-top: 70px; border-top: 1px solid var(--border); background: rgba(4,8,16,.6); padding: 40px 20px 18px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-brand { font-size: 16px; font-weight: 800; }
.foot-brand::before { content: "✦ "; color: var(--cyan); }
.foot-desc { color: var(--text-3); font-size: 13px; margin-top: 8px; }
.foot-title { font-size: 14px; color: var(--text-2); margin-bottom: 10px; font-weight: 600; }
.foot-grid a { display: block; color: var(--text-3); font-size: 13px; padding: 3px 0; }
.foot-grid a:hover { color: var(--cyan); }
.foot-grid p { color: var(--text-3); font-size: 13px; padding: 2px 0; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 16px; text-align: center; color: var(--text-3); font-size: 12.5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid, .tool-grid, .course-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .top-search { display: none; }
  .detail-wrap, .course-detail-hero, .two-col { grid-template-columns: 1fr; }
  .main-nav a { padding: 8px 8px; }
}
@media (max-width: 640px) {
  .cat-grid, .tool-grid, .course-grid.wide, .course-grid, .teacher-grid { grid-template-columns: 1fr; }
  .main-nav { overflow-x: auto; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr; }
}
