/* =========================================================
   国家电网招聘模拟练习系统 — 样式
   视觉参考真实平台：绿色主题 / 白底表单 / 红色必填提示
   ========================================================= */

:root {
  --green: #009b72;
  --green-dark: #00805e;
  --green-light: #e8f6f1;
  --green-line: #cfe9e0;
  --ink: #333;
  --ink-2: #555;
  --muted: #8a8a8a;
  --line: #e3e3e3;
  --bg: #f6f7f8;
  --red: #e4393c;
  --link: #2f6fb5;
  --warn: #f5a623;
  --radius: 3px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1 0 auto; }
.site-footer { flex: 0 0 auto; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: normal; }
input, select, textarea, button { font-family: inherit; font-size: 14px; outline: none; }

/* ---------- 顶部 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.site-header .inner {
  width: 1200px;
  margin: 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 52px; height: 52px; flex: none; border-radius: 6px;
  object-fit: cover; background: #fff; box-shadow: 0 0 0 1px #eee;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #35b98f, #00795a);
  position: relative; flex: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.brand-mark::after {
  content: "国网";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; letter-spacing: 1px;
}
.brand-text { line-height: 1.25; display: block; }
.brand-text .l1, .brand-text .l2 { display: block; }
.brand-text .l1 {
  font-size: 20px; color: #1d3b32; font-weight: 700; letter-spacing: 3px;
}
.brand-text .l2 {
  font-size: 12px; color: #6d7f79; letter-spacing: 2px; border-top: 1px solid #d8e3df;
  margin-top: 3px; padding-top: 3px;
}
.header-right { display: flex; align-items: center; gap: 10px; }
.sim-badge {
  font-size: 12px; color: #a2620a; background: #fff6e5; border: 1px solid #f3d19a;
  padding: 3px 9px; border-radius: 12px; letter-spacing: .5px;
}

/* ---------- 主导航 ---------- */
.main-nav { background: var(--green); }
.main-nav .inner {
  width: 1200px; margin: 0 auto; height: 52px; display: flex; align-items: stretch;
}
.main-nav a.nav-item {
  color: #eafaf4; padding: 0 26px; display: flex; align-items: center;
  font-size: 15px; letter-spacing: 1px; position: relative;
}
.main-nav a.nav-item:hover { background: rgba(0, 0, 0, .07); text-decoration: none; }
.main-nav a.nav-item.active { background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
.main-nav .nav-spacer { flex: 1; }
.main-nav .nav-note {
  color: #d6f2e8; font-size: 12px; display: flex; align-items: center; padding-right: 4px;
}

/* ---------- 布局 ---------- */
.container { width: 1200px; margin: 0 auto; }
.page { padding: 26px 0 60px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-pad { padding: 26px 30px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; background: #fff; color: var(--ink); transition: .15s;
  letter-spacing: 1px;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { background: #a9d6c7; cursor: not-allowed; }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-ghost { border-color: #d7d7d7; color: #666; }
.btn-ghost:hover { border-color: #bbb; }
.btn-lg { height: 46px; padding: 0 40px; font-size: 16px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-link { background: none; border: 0; color: var(--link); padding: 0 6px; height: 26px; cursor: pointer; }
.btn-link.danger { color: var(--red); }
.btn-block { width: 100%; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field > label.lbl {
  display: block; color: var(--ink-2); margin-bottom: 6px; font-size: 13px;
}
.req { color: var(--red); margin-right: 3px; font-style: normal; }
.input, .select, .textarea {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid #d6d6d6; border-radius: var(--radius);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 76px; padding: 8px 11px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 2px rgba(0, 154, 114, .12);
}
.input:disabled, .select:disabled, .textarea:disabled {
  background: #f3f4f5; color: #777; cursor: not-allowed;
}
.input.invalid, .select.invalid, .textarea.invalid {
  border-color: var(--red); box-shadow: 0 0 0 2px rgba(228, 57, 60, .12);
}
.field-note { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.5; }
.field-err { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.field-err.show { display: block; }

/* 省市区三级联动 */
.region-row { display: flex; gap: 8px; }
.region-row .select { flex: 1; min-width: 0; }
.region-row.invalid .select { border-color: var(--red); }

/* 头像上传 */
.avatar-box { display: flex; gap: 18px; align-items: flex-start; }
.avatar-preview {
  width: 90px; height: 120px; flex: none; border: 1px dashed #d5d5d5; border-radius: 3px;
  background: #fafafa; display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 12px; overflow: hidden;
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-side { padding-top: 4px; }

.r-str { color: var(--red); margin-right: 4px; }
.dr-red { color: #d0021b; }

.radio-row { display: flex; align-items: center; gap: 26px; height: 38px; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); }
.radio-row input[type="radio"] { accent-color: var(--green); width: 15px; height: 15px; }

.file-row { display: flex; align-items: center; gap: 10px; }
.file-name { color: var(--muted); font-size: 12px; }

/* ---------- 注册页 ---------- */
.register-wrap { background: #fff; padding: 30px 0 50px; }
.register-card { width: 1180px; margin: 0 auto; display: flex; gap: 40px; padding: 34px 0 10px; }
.register-left { flex: 1; padding-left: 60px; }
.register-side { width: 300px; flex: none; }
.reg-row { display: flex; align-items: flex-start; margin-bottom: 22px; }
.reg-row > .reg-label {
  width: 110px; flex: none; text-align: right; padding-right: 18px; line-height: 38px;
  color: var(--ink-2); font-size: 15px;
}
.reg-row > .reg-ctrl { width: 462px; flex: none; }
.reg-row > .reg-hint { flex: 1; padding-left: 16px; padding-top: 8px; line-height: 1.65; font-size: 13px; color: var(--red); }
.reg-row > .reg-hint .tip-ok { color: var(--green); }
.reg-ctrl .input { height: 38px; }
.reg-ctrl .input.filled { background: #eef3fb; }
.reg-sms { display: flex; gap: 10px; }
.reg-sms .input { width: 174px; flex: none; }
.reg-sms .btn { width: 148px; flex: none; height: 38px; background: #7cc9b6; color: #fff; border: 0; }
.reg-sms .btn:not(:disabled):hover { background: var(--green); }
.reg-sms .btn:disabled { background: #7cc9b6; color: #f2fffb; cursor: not-allowed; }
.agree-row { display: flex; align-items: center; gap: 6px; padding-left: 128px; margin-top: 4px; color: #666; }
.agree-row input { accent-color: var(--green); width: 15px; height: 15px; }
.agree-row a { color: var(--link); }
.reg-submit { padding-left: 128px; margin-top: 26px; }
.reg-submit .btn { width: 300px; height: 44px; font-size: 17px; letter-spacing: 4px; background: var(--green); color: #fff; }
.reg-submit .btn:hover { background: var(--green-dark); }
.reg-top { width: 1180px; margin: 0 auto; padding: 10px 0 6px 60px; }
.reg-top .switch { color: #666; font-size: 14px; }
.reg-top .switch a { color: var(--link); }

/* ---------- 登录页 ---------- */
.login-stage {
  min-height: calc(100vh - 74px - 52px);
  background: linear-gradient(160deg, #dff0f7 0%, #cfe8f3 40%, #b9dcee 100%);
  display: flex; align-items: center; justify-content: center; padding: 40px 0;
  position: relative; overflow: hidden;
}
.login-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .5));
}
.login-panel {
  width: 386px; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(20, 60, 80, .15);
  position: relative; z-index: 2; overflow: hidden;
}
.login-panel h2 {
  height: 56px; background: var(--green); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 2px;
}
.login-body { padding: 30px 28px 26px; }
.login-field { position: relative; margin-bottom: 16px; }
.login-field .ic {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: .55;
}
.login-field .input { height: 46px; padding-left: 42px; }
.login-captcha { display: flex; gap: 10px; align-items: center; }
.login-captcha .input { flex: 1; }
.captcha-img { width: 96px; height: 40px; border: 1px solid #e0e0e0; border-radius: 3px; cursor: pointer; background: #fff; }
.login-submit { width: 100%; height: 44px; font-size: 16px; letter-spacing: 3px; }
.login-foot { display: flex; justify-content: space-between; font-size: 13px; margin-top: 16px; color: #777; }

/* ---------- 步骤进度 ---------- */
.steps {
  display: flex; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 22px; margin-bottom: 16px;
}
.step { display: flex; align-items: center; gap: 9px; color: #9a9a9a; font-size: 13px; }
.step .no {
  width: 24px; height: 24px; border-radius: 50%; background: #eee; color: #999;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.step.done { color: var(--green); }
.step.done .no { background: var(--green); color: #fff; }
.step.done .no::after { content: "✓"; }
.step.done .no span { display: none; }
.step.current { color: var(--ink); font-weight: 700; }
.step.current .no { background: #fff; border: 2px solid var(--green); color: var(--green); }
.step-line { flex: 1; height: 1px; background: #e6e6e6; margin: 0 14px; }

/* ---------- 简历板块 ---------- */
.resume-head {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
}
.resume-head .welcome { font-size: 15px; color: var(--ink-2); }
.resume-head .warn { color: var(--red); font-size: 13px; margin-top: 6px; }
.progress-ring { display: flex; align-items: center; gap: 12px; }
.ring-outer {
  width: 62px; height: 62px; border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #eaeaea 0);
  display: flex; align-items: center; justify-content: center;
}
.ring-inner {
  width: 48px; height: 48px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--green); font-weight: 700;
}
.ring-label { font-size: 12px; color: var(--muted); line-height: 1.5; }

.part { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.part-title {
  display: flex; align-items: center; gap: 14px; padding: 0 22px; height: 54px; cursor: pointer;
}
.part-title h3 { font-size: 15px; color: var(--green); font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.part-title .line { flex: 1; height: 1px; background: var(--green-line); }
.part-title .tag {
  font-size: 12px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--green);
  color: var(--green); white-space: nowrap;
}
.part-title .tag.optional { color: #999; border-color: #ccc; }
.part-title .tag.done { background: var(--green); color: #fff; }
.part-title .caret { color: #bbb; font-size: 12px; transition: transform .2s; }
.part.collapsed .caret { transform: rotate(-90deg); }
.part-body { padding: 4px 22px 22px; border-top: 1px solid #f0f0f0; }
.part.collapsed .part-body { display: none; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 42px; padding-top: 14px; }
.form-grid .field.wide { grid-column: 1 / -1; }
.form-grid .field > label.lbl { font-size: 13px; }
.section-note {
  background: #fbfdfc; border: 1px dashed var(--green-line); border-radius: 3px;
  padding: 12px 16px; margin: 14px 0 4px; color: #5c7a70; font-size: 12.5px; line-height: 1.8;
}
.section-note b { color: var(--green); }
.section-actions { display: flex; justify-content: center; gap: 14px; padding-top: 18px; }
.section-actions .btn { min-width: 108px; }
.empty-hint { color: var(--muted); font-size: 13px; padding: 16px 0 6px; }
.empty-hint .btn { margin-left: 8px; }

/* 列表项表格 */
.item-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.item-table th, .item-table td { border-bottom: 1px solid #eee; padding: 10px 8px; text-align: left; }
.item-table th { background: #f7faf9; color: #5c7a70; font-weight: normal; }
.item-table td .btn-link { padding: 0 4px; }

/* ---------- 求职 ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid #e6e6e6; margin-bottom: 18px; }
.tab {
  padding: 10px 22px; cursor: pointer; color: #666; border-bottom: 2px solid transparent; font-size: 14px;
}
.tab.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.tab .badge { background: #f0f0f0; color: #777; border-radius: 9px; padding: 0 7px; font-size: 11px; margin-left: 6px; }
.search-bar { display: flex; gap: 0; margin: 6px 0 20px; }
.search-bar .select { width: 132px; border-right: 0; border-radius: 3px 0 0 3px; }
.search-bar .input { flex: 1; border-radius: 0; }
.search-bar .btn { border-radius: 0 3px 3px 0; min-width: 100px; }
.job-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.job-table th {
  background: #f2f2f2; color: #666; font-weight: normal; padding: 12px 10px; text-align: left; border-bottom: 1px solid #e6e6e6;
}
.job-table td { padding: 12px 10px; border-bottom: 1px solid #f0f0f0; color: #555; }
.job-table tr:hover td { background: #fafcfb; }
.job-table .t { color: var(--link); }
.job-table .ops a, .job-table .ops button { margin-right: 10px; }
.pager { display: flex; justify-content: flex-end; gap: 6px; margin-top: 16px; align-items: center; color: #888; font-size: 13px; }
.pager span.pg {
  min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e0e0e0; border-radius: 2px; background: #fff; cursor: pointer; color: #666;
}
.pager span.pg.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- 预览 ---------- */
.preview-sheet { background: #fff; border: 1px solid var(--line); padding: 34px 44px; }
.preview-sheet h1 { text-align: center; font-size: 20px; letter-spacing: 6px; color: #234; margin-bottom: 6px; }
.preview-meta { text-align: center; color: #999; font-size: 12px; margin-bottom: 26px; }
.pv-sec { margin-bottom: 22px; }
.pv-sec h3 {
  font-size: 14px; color: var(--green); border-bottom: 1px solid var(--green-line);
  padding-bottom: 7px; margin-bottom: 12px; font-weight: 700; letter-spacing: 1px;
}
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; font-size: 13px; }
.pv-grid .k { color: #999; }
.pv-grid .v { color: #333; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pv-table th, .pv-table td { border: 1px solid #e8e8e8; padding: 8px 10px; text-align: left; }
.pv-table th { background: #f7faf9; color: #5c7a70; font-weight: normal; }

/* ---------- 练习助手 ---------- */
.nav-coach-btn {
  align-self: center; height: 30px; padding: 0 14px; margin-right: 12px;
  background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 15px; cursor: pointer; font-size: 12.5px; letter-spacing: 1px;
}
.nav-coach-btn:hover { background: rgba(255, 255, 255, .28); }
.coach {
  position: fixed; right: 18px; top: 140px; width: 330px; z-index: 60; display: none;
  background: #fff; border: 1px solid #d9e9e3; border-radius: 6px;
  box-shadow: 0 8px 26px rgba(10, 60, 45, .18); overflow: hidden;
}
.coach.open { display: block; }
.coach-head {
  background: linear-gradient(135deg, #00a97d, #007f5d); color: #fff; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: 1px;
}
.coach-head .t { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.coach-head .close { cursor: pointer; opacity: .85; }
.coach-body { max-height: 340px; overflow: auto; padding: 12px 14px 14px; font-size: 12.5px; color: #4b5b56; line-height: 1.75; }
.coach-body h4 { font-size: 12.5px; color: var(--green); margin: 10px 0 4px; font-weight: 700; }
.coach-body h4:first-child { margin-top: 0; }
.coach-body ul { padding-left: 16px; list-style: disc; }
.coach-body li { margin-bottom: 3px; }
.coach-body .kbd { background: #f1f5f3; border: 1px solid #e0e8e4; border-radius: 3px; padding: 0 4px; color: #4b7a69; }
.coach-foot { border-top: 1px solid #eef2f0; padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8a9a94; }
.coach-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--green); color: #fff; border: 0; border-radius: 22px; height: 44px; padding: 0 20px;
  box-shadow: 0 6px 18px rgba(0, 140, 100, .3); cursor: pointer; display: none;
}

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; top: 142px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: rgba(40, 40, 40, .9); color: #fff; padding: 10px 20px; border-radius: 3px; font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2); animation: toastIn .18s ease-out; max-width: 620px; line-height: 1.5;
}
.toast.error { background: rgba(200, 40, 42, .94); }
.toast.success { background: rgba(0, 140, 104, .94); }
.toast.info { background: rgba(45, 62, 80, .94); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 弹窗 ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .42); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.mask.hidden { display: none; }
.dialog { background: #fff; border-radius: 4px; width: 560px; max-width: 100%; max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; }
.dialog.wide { width: 860px; }
.dialog-head {
  padding: 14px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center;
}
.dialog-head h3 { font-size: 15px; color: var(--ink); font-weight: 700; letter-spacing: 1px; }
.dialog-head .x { cursor: pointer; color: #999; font-size: 18px; line-height: 1; }
.dialog-body { padding: 20px; overflow: auto; }
.dialog-foot { padding: 12px 20px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 报告 ---------- */
.report-hero { display: flex; gap: 30px; align-items: center; padding: 28px 30px; }
.score-ring {
  width: 132px; height: 132px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #ececec 0);
  display: flex; align-items: center; justify-content: center;
}
.score-inner { width: 106px; height: 106px; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-inner .n { font-size: 34px; color: var(--green); font-weight: 700; line-height: 1; }
.score-inner .u { font-size: 11px; color: #999; margin-top: 4px; }
.report-title { font-size: 20px; color: #234; margin-bottom: 8px; letter-spacing: 1px; }
.report-sub { color: #7b8b86; font-size: 13px; line-height: 1.9; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; padding: 4px 30px 26px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; padding: 10px 12px; border: 1px solid #eef2f0; border-radius: 3px; }
.check-item .st { width: 18px; height: 18px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.check-item.ok .st { background: var(--green); }
.check-item.no .st { background: #d8d8d8; }
.check-item .tx b { display: block; color: #333; font-weight: normal; }
.check-item .tx span { color: #98a5a1; font-size: 12px; }
.err-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.err-table th, .err-table td { padding: 9px 10px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.err-table th { color: #8a9a94; font-weight: normal; background: #fafcfb; }
.err-table td.msg { color: #c0392b; }

/* ---------- 首页 ---------- */
.hero {
  height: 300px; background: linear-gradient(120deg, #e7f5ef, #d6eee6 55%, #c7e8dd);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45);
}
.hero::before { width: 420px; height: 420px; right: -80px; top: -160px; }
.hero::after { width: 260px; height: 260px; left: -60px; bottom: -120px; }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-inner h1 { font-size: 34px; color: #0d4f3d; letter-spacing: 6px; font-weight: 700; }
.hero-inner p { color: #3f6d5e; margin: 14px 0 0; letter-spacing: 2px; font-size: 14px; }
.hero-inner .btns { margin-top: 26px; display: flex; gap: 14px; justify-content: center; }

.notice-bar { background: #fff; border-bottom: 1px solid #eee; }
.notice-bar .inner { width: 1200px; margin: 0 auto; height: 46px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #666; }
.notice-bar .tag { color: var(--green); border: 1px solid var(--green-line); background: var(--green-light); border-radius: 2px; padding: 1px 8px; font-size: 12px; }

.home-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; }
.news-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed #eee; font-size: 13.5px; }
.news-list li a { color: #444; }
.news-list li .d { color: #a5a5a5; font-size: 12px; }
.quick-card { padding: 20px 22px; }
.quick-card h3 { font-size: 14px; color: #2a4a40; margin-bottom: 10px; letter-spacing: 1px; }
.quick-list li { padding: 9px 0; border-bottom: 1px dashed #eee; font-size: 13px; display: flex; justify-content: space-between; color: #666; }
.quick-list li:last-child { border-bottom: 0; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid #eaeaea; background: #fff; padding: 22px 0 30px; margin-top: 30px; }
.site-footer .inner { width: 1200px; margin: 0 auto; text-align: center; color: #999; font-size: 12px; line-height: 2; }
.site-footer .links a { color: #7a8a85; margin: 0 8px; }
.footer-qr {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px;
  padding: 10px 18px; border: 1px solid #eef2f0; border-radius: 6px; background: #fbfdfc; text-align: left;
}
.footer-qr img { width: 72px; height: 72px; display: block; border-radius: 4px; }
.footer-qr-tx { line-height: 1.6; }
.footer-qr-tx b { display: block; color: #2a4a40; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.footer-qr-tx span { color: #9aa9a3; font-size: 12px; }

/* ---------- 其他 ---------- */
.tag-mini { display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 2px; background: #f2f5f4; color: #6f8a81; margin-left: 6px; }
.lock-tip { background: #fff8e6; border: 1px solid #f6e2b5; color: #8a6414; font-size: 12.5px; padding: 10px 14px; border-radius: 3px; line-height: 1.7; }
.divider { height: 1px; background: #eee; margin: 16px 0; }
.kv { display: flex; gap: 10px; font-size: 13px; padding: 6px 0; }
.kv .k { color: #999; width: 92px; flex: none; }
.center-text { text-align: center; }
.hidden { display: none !important; }

@media (max-width: 1240px) {
  .container, .site-header .inner, .main-nav .inner, .notice-bar .inner, .site-footer .inner, .register-card, .reg-top { width: 100%; padding-left: 16px; padding-right: 16px; }
  .home-grid { grid-template-columns: 1fr; }
  .coach { display: none; }
}
