/* ============================================================
   东海县实验小学 · 校园主题（v2.1 多色调）
   色调：青碧蓝   [teal]
   在 style.css / mobile.css 之后加载；后台「全局设置 → 界面色调」选择
   本文件由色板生成器从绿色基准统一映射，请勿手工改单个色值
   ============================================================ */
:root {
  --primary: #168a97;
  --primary-2: #2aabba;
  --accent: #4fc9c0;
  --accent-2: #7cdcd2;
  --ink: #233d41;
  --ink-2: #3b575b;
  --muted: #6f8575;
  --light: #9aafb0;
  --bg: #f2faf9;
  --card: #ffffff;
  --line: #deeaea;
  --soft: #ecf8f6;
  --gold: #e3a022;
  --shadow: 0 10px 30px rgba(47, 105, 110, .09);
  --shadow-lg: 0 20px 50px rgba(35, 84, 90, .15);
  --radius: 20px;
  --sx-brand: #4fc9c0;
  --sx-dark: #14505c;
  --sx-sun: #ffb930;
  --sx-sky: #42a5d8;
  --sx-coral: #ff7a59;
  --sx-cream: #fffbef;
}

body { background: var(--bg); }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: .2px; }
.kicker { color: #349b8f; }
a:hover { color: var(--primary-2); }
code { background: #e5f7f4; color: #2c6870; }

/* 柔和校园背景：去掉科技网格，换成绿 / 阳光光斑 */
.ambient .grid-lines { display: none; }
.ambient .orb-a { background: #8ae2d3; opacity: .26; }
.ambient .orb-b { background: #ffe09a; opacity: .22; }
.ambient::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 12% 18%, rgba(63, 198, 173, .10) 0 3px, transparent 4px),
                    radial-gradient(circle at 88% 30%, rgba(255,185,48,.10) 0 4px, transparent 5px),
                    radial-gradient(circle at 75% 80%, rgba(66,165,216,.08) 0 3px, transparent 4px);
  background-size: 180px 180px, 240px 240px, 200px 200px;
}

/* ---------- 顶部导航 ---------- */
.site-header { background: rgba(255,255,255,.95); border-bottom: 2px solid #dcf1ee; }
.header-inner { height: 76px; }
.brand { min-width: 264px; }
.brand-mark { width: 48px; height: 48px; background: #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(30, 62, 74, .14); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.brand-text strong { font-size: 17.5px; color: var(--sx-dark); letter-spacing: .5px; }
.brand-text small { font-size: 11.5px; color: #528b88; }
.main-nav a { border-radius: 999px; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { background: #dff6f2; color: #2b717a; }
.head-search { background: #eff9f7; border-color: #d2ebe8; border-radius: 999px; }
.head-search button { color: #3d848b; }
.avatar-chip { background: #dff6f2; color: #2b717a; }
.avatar { background: linear-gradient(135deg, #4ea4aa, #3fc6ad); }
.btn-primary { box-shadow: 0 8px 18px rgba(47, 131, 143, .22); }
.btn-primary:hover { box-shadow: 0 12px 24px rgba(47, 131, 143, .3); }
.btn-outline { border-color: #aed9d6; color: #2b717a; }
.btn-outline:hover { background: #e7f8f6; color: #25626b; }
.btn-light, .btn-white { color: #27636b; }
.btn-light:hover { color: #1d4e55; }
.btn-danger { background: #fff1ee; border-color: #ffd0c4; color: #c04a2d; }
.btn-done { background: #e4f7f6; color: #2b717a; }
.chip { background: #ddf6f2; color: #35767a; }
.chip-soft { background: #eaf6f4; color: #5b7576; }
.chip-hot { background: #fff2d9; color: #b57a12; }
.chip-gold { background: #fff4d6; color: #9a6812; }
.pill.info { background: #dff4f1; color: #3b797c; }
.pill.on { background: #dff5f4; color: #246d7a; }
.alert-success, .alert-info { background: #e8f9f7; border-color: #bae9e5; color: #255d65; }
.tag { background: #e5f7f4; color: #35767a; }

/* ---------- 通用容器 / 首页旧组件换色 ---------- */
.hero h1 em { background: linear-gradient(100deg, #3f949d, #3fc6ad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-btn { background: linear-gradient(120deg, #2f838f, #3fb7ab); }
.case-cover { background: linear-gradient(145deg, var(--cc), #2b616b); }
.course-cover { background: linear-gradient(140deg, var(--c1), #3fc6ad); }
.cc-cover { background: linear-gradient(130deg, #35767f, #3fc6ad); }
.course-hero { background: linear-gradient(120deg, #1e4f5a, #3d919b 60%, #3fc6ad); }
.progress i { background: linear-gradient(90deg, #4ea4aa, #4cd6b8); }
.cta-band { background: linear-gradient(115deg, #2b717a, #3fb2a7 60%, #4cccaf); border-radius: 26px; }
.side-tip { background: linear-gradient(150deg, #e9f9f6, #f1fcfa); }
.achievement-strip { background: linear-gradient(110deg, #e7f9f6, #fff9e8); }
.tool-topbar, .td-head { background: linear-gradient(100deg, #e9f9f7, #f1fcfa); }
.td-cta { background: linear-gradient(100deg, #2b717a, #3fb2a7); }
.td-cta .btn-light { color: #2b717a; }
.verify-ok { border-color: #cbebe7; background: linear-gradient(140deg, #fbfef9, #eaf9f7); }
.tool-logo, .verify-seal { background: linear-gradient(135deg, #2f838f, #3fc6ad); }
.profile-top { background: linear-gradient(115deg, #1e4f5a, #3d919b 65%, #3fc6ad); }
.auth-side { background: linear-gradient(135deg, #1e4f5a, #3d919b 65%, #3fc6ad); }
.info-block h2 { border-left-color: #3fc6ad; }
.info-toc a { background: #e5f7f4; }
.login-tab.active { color: #2b717a; border-bottom-color: #3fc6ad; }
.wb-toast { background: #23535c; }
.copy-btn.copied, .copy-btn.mini.copied { background: #4c9a9c !important; border-color: #4c9a9c !important; }
.ai-warning { border-radius: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1d3c45; color: #cfe3e3; }
.site-footer a:hover { color: #ffd67a; }
.footer-about strong { color: #fff; font-size: 17px; }
.sx-footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.sx-footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.sx-footer-brand div { display: flex; flex-direction: column; line-height: 1.35; }
.sx-footer-brand small { font-size: 12px; opacity: .72; }
.sx-footer-small { font-size: 12.5px; opacity: .75; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); }

/* ============================================================
   首页：校园横幅 / 理念 / 快捷入口 / 专题培训 CTA
   ============================================================ */
.sx-campus {
  position: relative; border-radius: 26px; overflow: hidden; min-height: 270px;
  background: #d2efec url('../img/campus-banner.jpg') center 42% / cover no-repeat;
  box-shadow: var(--shadow-lg); margin-bottom: 22px;
}
.sx-campus::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 54, 62, .86) 0%, rgba(24, 69, 78, .62) 42%, rgba(255,255,255,.03) 82%);
}
.sx-campus-inner { position: relative; z-index: 1; padding: 34px 38px; color: #fff; display: flex; gap: 20px; align-items: center; }
.sx-campus-inner img { width: 88px; height: 88px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.sx-campus-inner h1 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0 0 4px; letter-spacing: 1px; }
.sx-campus-inner .sx-campus-sub { font-size: 16px; color: #d8f5f1; margin: 0 0 12px; font-weight: 600; }
.sx-campus-inner .sx-campus-motto { font-size: 14px; color: #fff5cf; letter-spacing: .5px; }
.sx-campus-inner .sx-campus-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-campus-inner .sx-campus-tags span { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 999px; font-size: 12.5px; }
.sx-campus-label { position: absolute; right: 18px; bottom: 16px; z-index: 1; background: rgba(255,255,255,.92); color: #23535c; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }

.sx-welcome { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid #d8efec; border-radius: 22px; padding: 20px 26px; margin-bottom: 22px; box-shadow: var(--shadow); }
.sx-welcome h2 { margin: 0 0 6px; font-size: 21px; }
.sx-welcome p { margin: 0; color: var(--muted); font-size: 14px; }
.sx-welcome-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-welcome-tags span { background: #e5f8f5; color: #35767a; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }

.sx-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 26px; }
.sx-quick a { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 18px;
  box-shadow: var(--shadow); transition: .2s; overflow: hidden; }
.sx-quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sx-quick a::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -28px; top: -28px; opacity: .18; background: var(--q); }
.sx-quick .sx-q-ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--q); color: #fff; margin-bottom: 12px; }
.sx-quick b { display: block; font-size: 16px; color: var(--ink); }
.sx-quick small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; line-height: 1.6; }

.stat-strip { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.stat-strip strong { color: #2f838f; }

/* 助学课堂理念区 */
.sx-idea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sx-idea-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sx-brand); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.sx-idea-card:nth-child(2) { border-top-color: var(--sx-sun); }
.sx-idea-card:nth-child(3) { border-top-color: var(--sx-sky); }
.sx-idea-card:nth-child(4) { border-top-color: var(--sx-coral); }
.sx-idea-card span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.sx-idea-card b { display: block; font-size: 15.5px; color: var(--ink); margin: 6px 0 8px; line-height: 1.55; }
.sx-idea-card p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* 专题培训大 CTA */
.sx-training-cta { position: relative; overflow: hidden; border-radius: 26px; padding: 32px 36px; margin: 30px 0;
  background: linear-gradient(115deg, #eafbf8, #fff8e6 70%, #e4f8f5); border: 1px solid #d0efeb; }
.sx-training-cta::after { content: '🌱'; position: absolute; right: 26px; top: 8px; font-size: 108px; opacity: .12; }
.sx-training-cta h2 { font-size: 25px; margin: 4px 0 8px; }
.sx-training-cta p { color: var(--ink-2); max-width: 720px; }
.sx-training-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.sx-training-flow span { background: #fff; border: 1px solid #c7e9e5; border-radius: 999px; padding: 7px 15px; font-size: 13.5px; font-weight: 700; color: #316e74; }
.sx-training-flow i { color: #95c9c3; font-style: normal; }
.sx-training-cta .btn { margin-right: 8px; }

/* 通用小组件 */
.sx-res-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(100deg, #e5f8f5, #fff8e8); border: 1px solid #d0efeb; border-radius: 20px; padding: 18px 24px; margin-bottom: 18px; }
.sx-res-band strong { display: block; font-size: 17px; color: var(--ink); }
.sx-res-band span { font-size: 13px; color: var(--muted); }
.sx-res-count { font-size: 13px; color: var(--muted); margin-left: auto; }
.section { margin: 34px 0; }
.section-head h2 { font-size: 22px; }

/* ============================================================
   专题培训页
   ============================================================ */
.sx-tr { max-width: 1160px; margin: 0 auto; }
.sx-tr-hero { position: relative; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, #1e4f5a, #3d919b 58%, #3fc6ad); color: #fff;
  border-radius: 28px; padding: 40px 44px; overflow: hidden; box-shadow: var(--shadow-lg); }
.sx-tr-hero::before { content: ''; position: absolute; width: 320px; height: 320px; border: 60px solid rgba(255,255,255,.07); border-radius: 50%; right: -90px; top: -120px; }
.sx-tr-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.sx-tr-hero .kicker { color: #ffe49a; }
.sx-tr-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; margin: 0 0 14px; }
.sx-tr-hero h1 em { font-style: normal; color: #ffeeb0; }
.sx-tr-lead { font-size: 15.5px; line-height: 1.8; opacity: .95; max-width: 620px; }
.sx-tr-strategy { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 8px 18px; font-size: 14.5px; font-weight: 700; margin: 8px 0 12px; }
.sx-tr-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; opacity: .92; }
.sx-tr-tags span { background: rgba(255,255,255,.12); border-radius: 999px; padding: 5px 14px; }
.sx-tr-hero-btns { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.sx-tr-hero-btns .btn-outline { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.65); color: #fff; }
.sx-tr-hero-btns .btn-outline:hover { background: rgba(255,255,255,.26); color: #fff; }
.sx-tr-hero-badge { position: relative; z-index: 1; text-align: center; align-self: center; min-width: 190px; }
.sx-tr-hero-badge img { width: 132px; height: 132px; border-radius: 50%; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.sx-tr-hero-badge b { display: block; margin-top: 12px; font-size: 16px; }
.sx-tr-hero-badge small { opacity: .85; font-size: 12.5px; }

.sx-tr-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 22px 0 8px; position: sticky; top: 76px; z-index: 12;
  background: rgba(242, 250, 249, .94); backdrop-filter: blur(8px); padding: 10px 0; border-radius: 14px; }
.sx-tr-nav a { background: #fff; border: 1px solid #d2ebe8; color: #3b676b; border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600; }
.sx-tr-nav a:hover { background: #dcf5f1; color: #246770; }

.sx-tr-sec { margin: 34px 0 44px; scroll-margin-top: 130px; }
.sx-tr-sec > .section-head h2 { font-size: 24px; }
.sx-tr-idea { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.sx-tr-idea-img { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); text-align: center; }
.sx-tr-idea-img img { width: 100%; border-radius: 12px; display: block; }
.sx-tr-idea-img small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.sx-tr-idea-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sx-tr-idea-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sx-brand); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.sx-tr-idea-card:nth-child(2) { border-left-color: var(--sx-sun); }
.sx-tr-idea-card:nth-child(3) { border-left-color: var(--sx-sky); }
.sx-tr-idea-card:nth-child(4) { border-left-color: var(--sx-coral); }
.sx-tr-idea-card span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.sx-tr-idea-card b { display: block; font-size: 16px; color: var(--ink); margin: 6px 0; line-height: 1.6; }
.sx-tr-idea-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.75; }
.sx-tr-flow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px dashed #aed9d5; border-radius: 18px; padding: 18px 22px; margin-top: 16px; }
.sx-tr-flow b { font-size: 15px; }
.sx-tr-flow p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.sx-tr-flow-links { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-tr-note { background: var(--sx-cream); border: 1px solid #f2e2bb; border-radius: 16px; padding: 16px 20px; font-size: 13.5px; color: #745c25; line-height: 1.8; margin-top: 18px; }

.sx-tr-steps { display: grid; gap: 16px; }
.sx-tr-step { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.sx-tr-step-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; color: #fff; background: linear-gradient(100deg, #3d919b, #3fc6ad); }
.sx-tr-step.g2 .sx-tr-step-head { background: linear-gradient(100deg, #d99222, #f0bb4c); }
.sx-tr-step.g3 .sx-tr-step-head { background: linear-gradient(100deg, #2f8fa8, #63c0d5); }
.sx-tr-step.g4 .sx-tr-step-head { background: linear-gradient(100deg, #7a63b8, #a894dd); }
.sx-tr-step.g5 .sx-tr-step-head { background: linear-gradient(100deg, #d4664a, #f0976f); }
.sx-tr-step-no { font-size: 30px; font-weight: 800; opacity: .85; }
.sx-tr-step-head h3 { color: #fff; margin: 0; font-size: 20px; }
.sx-tr-step-head small { color: rgba(255,255,255,.92); font-size: 13px; }
.sx-tr-step-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 24px 8px; }
.sx-tr-step-body b { font-size: 14px; color: var(--ink); }
.sx-tr-step-body ul { margin: 8px 0 0; padding-left: 20px; }
.sx-tr-step-body li { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.sx-tr-step-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px 24px 20px; }
.sx-tr-step-foot span { background: #effaf8; border-radius: 12px; padding: 12px 14px; font-size: 12.8px; color: var(--ink-2); line-height: 1.7; }
.sx-tr-step-foot b { color: #2c717a; }

.sx-tr-six { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.sx-tr-six div { background: #fff; border: 1px solid #d2ebe8; border-radius: 14px; padding: 12px; font-size: 12.5px; color: var(--muted); }
.sx-tr-six span { display: block; color: #2c717a; font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.sx-tr-hint { background: var(--sx-cream); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; color: #745c25; line-height: 1.8; }
.sx-tr-code { margin: 14px 0; }
.sx-tr-code .md-code-head { flex-wrap: wrap; gap: 8px; }
.sx-tr-code .md-code-head b { color: #2c717a; }
.sx-tr-code pre { max-height: 330px; overflow: auto; font-size: 12.8px; line-height: 1.75; }

.sx-tr-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sx-tr-case { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.sx-tr-case-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sx-tr-case-top h3 { font-size: 17px; margin: 0; }
.sx-tr-case-core { color: var(--muted); font-size: 13.5px; margin: 10px 0 14px; line-height: 1.7; }
.sx-tr-case-do { background: #effaf8; border-radius: 12px; padding: 12px 14px; }
.sx-tr-case-do b { font-size: 13px; color: #2c717a; }
.sx-tr-case-do p { margin: 6px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.sx-tr-case-point { margin-top: 12px; font-size: 13px; color: #8a6a20; line-height: 1.7; }
.sx-tr-case-point b { color: #a87b16; }

.sx-tr-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.sx-tr-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13.5px; }
.sx-tr-table th { background: #e5f7f4; color: #2c717a; text-align: left; padding: 13px 16px; font-size: 13px; }
.sx-tr-table td { padding: 14px 16px; border-top: 1px solid #e8f3f1; color: var(--ink-2); line-height: 1.7; vertical-align: top; }
.sx-tr-table td:first-child { color: #2c717a; font-weight: 700; white-space: nowrap; }
.sx-tr-learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.sx-tr-learn-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; transition: .2s; }
.sx-tr-learn-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sx-tr-learn-card > span { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; background: #ddf6f2; color: #2f838f; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.sx-tr-learn-card b { font-size: 15px; color: var(--ink); }
.sx-tr-learn-card small { font-size: 12.8px; color: var(--muted); line-height: 1.7; }

.sx-tr-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sx-tr-tool { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.sx-tr-tool b { display: block; color: #2c717a; font-size: 14.5px; margin-bottom: 10px; }
.sx-tr-tool pre { margin: 0; background: #f3fbfa; border: 1px dashed #c1e3df; border-radius: 10px; padding: 12px; font: 12.5px/1.8 Consolas, Monaco, "Microsoft YaHei", monospace; color: var(--ink-2); white-space: pre-wrap; word-break: break-all; }
.sx-tr-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.sx-tr-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.sx-tr-faq p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.sx-tr-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(115deg, #2b717a, #3fb3a5); color: #fff; border-radius: 26px; padding: 30px 36px; margin: 40px 0 10px; }
.sx-tr-cta h2 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.sx-tr-cta p { margin: 0; opacity: .9; font-size: 14px; }
.sx-tr-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sx-tr-cta .btn-outline { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; }

/* ============================================================
   教师资源展播
   ============================================================ */
.sx-res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0; }
.sx-res-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.sx-res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.sx-res-cover { height: 118px; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(120deg, #3d919b, #3fc6ad); color: #fff; }
.sx-res-cover.t-micro { background: linear-gradient(120deg, #d99222, #f0bb4c); }
.sx-res-cover.t-doc { background: linear-gradient(120deg, #2f8fa8, #63c0d5); }
.sx-res-cover.t-audio { background: linear-gradient(120deg, #7a63b8, #a894dd); }
.sx-res-cover.t-image { background: linear-gradient(120deg, #d4664a, #f0976f); }
.sx-res-cover span { font-size: 44px; }
.sx-res-cover small { position: absolute; right: 12px; bottom: 10px; background: rgba(255,255,255,.24); border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.sx-res-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.sx-res-body h3 { font-size: 16px; margin: 10px 0 8px; line-height: 1.5; }
.sx-res-body p { font-size: 12.8px; color: var(--muted); line-height: 1.7; margin: 0 0 14px; flex: 1; }
.sx-res-foot { display: flex; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 12px; color: var(--muted); }
.sx-res-detail-head { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; margin-bottom: 18px; box-shadow: var(--shadow); }
.sx-res-detail-head h1 { font-size: 25px; margin: 10px 0 12px; }
.sx-res-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.sx-res-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sx-res-frame { background: #f3fbfa; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.sx-res-frame video, .sx-res-frame img { max-width: 100%; max-height: 560px; border-radius: 10px; }
.sx-res-frame iframe { width: 100%; height: 620px; border: 0; border-radius: 10px; background: #fff; }
.sx-res-frame audio { width: 100%; }
.sx-res-download-note { display: flex; align-items: center; gap: 18px; background: var(--sx-cream); border: 1px dashed #e9d7a8; border-radius: 16px; padding: 20px; }
.sx-res-big-ico { font-size: 48px; }
.sx-res-download-note p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.sx-res-notice { margin-top: 16px; font-size: 12.8px; color: var(--muted); line-height: 1.8; }

/* ============================================================
   登录 / 首次改密：校园分屏
   ============================================================ */
.sx-auth { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; min-height: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); margin: 14px 0 26px; }
.sx-auth-campus { position: relative; background: #d2efec url('../img/campus-gate.jpg') center 45% / cover no-repeat; display: flex; align-items: center; }
.sx-auth-campus::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20, 54, 62, .88), rgba(30, 81, 90, .62) 60%, rgba(20, 54, 62, .82)); }
.sx-auth-campus-inner { position: relative; z-index: 1; color: #fff; padding: 40px; text-align: center; width: 100%; }
.sx-auth-badge-lg { width: 116px; height: 116px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.sx-auth-campus-inner h1 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); margin: 18px 0 4px; letter-spacing: 1px; }
.sx-auth-sub { font-size: 17px; color: #c6f0ea; margin: 0 0 22px; font-weight: 600; }
.sx-auth-motto { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 700; }
.sx-auth-line { margin-top: 18px; font-size: 12.8px; color: #ddf6f2; opacity: .9; }
.sx-auth-panel { display: flex; align-items: center; justify-content: center; padding: 38px 36px; background: #fff; }
.sx-auth-card { width: 100%; max-width: 380px; }
.sx-auth-card h2 { font-size: 26px; margin: 6px 0; }
.sx-auth-card > .muted { font-size: 13px; }
.sx-auth-badge { text-align: center; margin-bottom: 12px; }
.sx-auth-badge img { width: 76px; height: 76px; border-radius: 50%; }
.sx-auth-note { margin-top: 16px; background: var(--sx-cream); border: 1px solid #f2e4c0; border-radius: 14px; padding: 12px 14px; font-size: 12.8px; color: #7a6329; line-height: 1.8; }
.sx-auth-note b { color: #a07a19; }
.auth-foot { font-size: 12.8px; }
.sx-auth-single { grid-template-columns: 1fr; min-height: 0; max-width: 620px; margin: 26px auto; }
.sx-auth-single .sx-auth-panel { padding: 42px; }
.sx-auth-single .sx-auth-card { text-align: left; }
.sx-auth-single .sx-auth-badge { text-align: left; }

/* ============================================================
   后台：绿色控制台（前台变量已覆盖，这里只调侧栏）
   ============================================================ */
.admin-body { background: #eff8f7; }
.admin-side { background: #1d3c45; }
.admin-brand-mark { background: #fff; overflow: hidden; }
.admin-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.admin-role b { color: #8ae2d3; }
.admin-nav-item.active { background: linear-gradient(100deg, #3d919b, #2f838f); box-shadow: 0 6px 16px rgba(40, 102, 110, .3); }
.nav-group-title { color: #8fb0b5; }
.admin-side-foot a:hover { color: #8ae2d3; }
.welcome-band { background: linear-gradient(115deg, #1e4f5a, #3d919b 65%, #3fc6ad); }
.welcome-band .kicker { color: #ffe49a; }
.admin-table th { background: #ecf8f6; }
.stat-card .stat-ico { color: #3d919b; }

/* ============================================================
   响应式（覆盖 mobile.css 中残留的蓝色硬编码）
   ============================================================ */
@media (max-width: 1100px) {
  .sx-quick { grid-template-columns: repeat(2, 1fr); }
  .sx-idea-grid { grid-template-columns: repeat(2, 1fr); }
  .sx-tr-six { grid-template-columns: repeat(3, 1fr); }
  .sx-res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-actions > a.m-head-follow { background: linear-gradient(135deg, #4ca3aa, #3fc6ad); color: #fff; border-color: #3fc6ad; }
  .mobile-toggle.open { background: #dff6f2; border-color: #bde6e0; }
  .mobile-nav a:hover, .mobile-nav a.active { background: #dff6f2; color: #2b717a; }
  .m-head-profile { border-color: #bde6e0; color: #2b717a; background: linear-gradient(180deg, #fff, #eaf9f6); }
  .hero-actions .btn-outline { border-color: #aed9d6; }
  .sx-auth { grid-template-columns: 1fr; }
  .sx-auth-campus { min-height: 230px; }
  .sx-auth-campus-inner { padding: 24px; }
  .sx-auth-badge-lg { width: 76px; height: 76px; }
  .sx-auth-panel { padding: 28px 22px; }
  .sx-tr-nav { position: static; }
  .sx-tr-hero { padding: 28px 24px; }
  .sx-tr-hero-badge { display: none; }
  .sx-tr-idea { grid-template-columns: 1fr; }
  .sx-tr-idea-img { max-width: 320px; margin: 0 auto; }
  .sx-tr-step-body, .sx-tr-step-foot, .sx-tr-cases, .sx-tr-tools, .sx-tr-learn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sx-campus { min-height: 210px; }
  .sx-campus-inner { padding: 22px; gap: 12px; }
  .sx-campus-inner img { width: 62px; height: 62px; }
  .sx-campus-inner .sx-campus-motto { font-size: 12px; }
  .sx-campus-inner .sx-campus-tags { margin-top: 8px; }
  .sx-campus-label { right: 10px; bottom: 10px; font-size: 11px; }
  .sx-quick, .sx-idea-grid, .sx-tr-idea-cards, .sx-tr-six, .sx-res-grid { grid-template-columns: 1fr; }
  .sx-welcome { padding: 16px 18px; }
  .sx-training-cta, .sx-tr-cta { padding: 24px 20px; }
  .sx-res-frame iframe { height: 460px; }
  .sx-footer-brand img { width: 42px; height: 42px; }
}
