/* =========================================================
   降重宝 · 全站样式
   视觉基调：深藏青星座 hero + 白色卡片区 + 蓝/红/橙点缀
   ========================================================= */

:root {
  --navy-950: #081736;
  --navy-900: #0f1b4d;
  --navy-800: #162c6b;
  --navy-700: #1a3a8a;
  --blue: #3d7cf7;
  --blue-600: #2557e0;
  --blue-700: #1c46c4;
  --blue-soft: #eef4ff;
  --red: #e34d4d;
  --red-600: #cf3b3b;
  --orange: #f08c2e;
  --orange-soft: #fff5e9;
  --green: #14a06a;
  --green-soft: #e9f8f1;
  --ink: #17233d;
  --ink-2: #33415c;
  --muted: #6b7b96;
  --muted-2: #93a1b8;
  --line: #e6ecf6;
  --line-2: #eef2f9;
  --bg: #f6f9fd;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 80, .04), 0 4px 14px rgba(20, 40, 80, .05);
  --shadow: 0 8px 30px rgba(20, 40, 80, .08);
  --shadow-lg: 0 18px 60px rgba(10, 25, 60, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(61, 124, 247, .18); }

/* ---------- 通用容器 ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.page-main { padding: 32px 0 72px; min-height: 60vh; }
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-600); text-transform: uppercase;
  background: var(--blue-soft); padding: 5px 12px; border-radius: 999px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--ink); margin: 14px 0 12px; }
.section-title .accent { color: var(--blue-600); }
.section-sub { font-size: 15px; color: var(--muted); }
.title-underline {
  width: 46px; height: 3px; border-radius: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--blue), #7ba8ff);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .18s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4f8fff 0%, #3568f0 45%, #2557e0 100%);
  box-shadow: 0 6px 18px rgba(53, 104, 240, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(53, 104, 240, .34); }
.btn-ghost { color: var(--ink-2); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c7d6ef; background: #f9fbff; }
.btn-soft { color: var(--blue-700); background: var(--blue-soft); }
.btn-soft:hover { background: #e3edff; }
.btn-danger { color: #fff; background: var(--red); }
.btn-danger:hover { background: var(--red-600); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 50px; padding: 0 30px; font-size: 16px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(20, 40, 80, .07);
}
.nav-wrap {
  max-width: 1320px; margin: 0 auto; padding: 0 22px;
  height: 62px; display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #5b93ff, #2f63e8 60%, #1c46c4);
  color: #fff; font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(47, 99, 232, .3);
}
.brand-mark-sm { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
.brand-text { font-size: 18px; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav-link {
  padding: 7px 11px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #46567a; white-space: nowrap; transition: .16s;
}
.nav-link:hover { color: var(--blue-700); background: #f2f6ff; }
.nav-link.is-active { color: var(--blue-700); font-weight: 700; }
.nav-admin { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-login { font-size: 14px; color: var(--ink-2); padding: 0 6px; }
.nav-login:hover { color: var(--blue-700); }

.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px;
  border-radius: 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: .16s;
}
.pill-points { color: var(--blue-700); background: var(--blue-soft); border: 1px solid #d9e7ff; }
.pill-points:hover { background: #e3edff; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pill-red { color: #fff; background: linear-gradient(135deg, #ef5b5b, #d93a3a); box-shadow: 0 3px 10px rgba(217, 58, 58, .25); }
.pill-orange { color: #fff; background: linear-gradient(135deg, #f7a53f, #ee8721); box-shadow: 0 3px 10px rgba(238, 135, 33, .24); }
.pill-orange:hover, .pill-red:hover { filter: brightness(1.04); transform: translateY(-1px); }
.pill-line { color: var(--ink-2); background: #fff; border: 1px solid var(--line); }

.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 9px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(78, 132, 255, .38), transparent 62%),
    radial-gradient(700px 420px at 88% 15%, rgba(38, 198, 218, .16), transparent 65%),
    linear-gradient(135deg, #0b1740 0%, #122a67 42%, #0e3f92 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .10;
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 18px 24px 74px; }

.notice-bar {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  max-width: 980px; margin: 0 auto 34px; padding: 9px 18px;
  background: rgba(255, 255, 255, .96); color: #4a5a78; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(4, 12, 40, .18); font-size: 12.5px; text-align: center;
}
.notice-bar svg { width: 17px; height: 17px; color: #3c9a76; flex: none; }
.notice-bar strong { color: var(--blue-700); }
.notice-bar a { color: var(--orange); font-weight: 600; }

.hero-title {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 42px; font-weight: 800; letter-spacing: -.02em; text-align: center;
  margin: 8px 0 14px; text-shadow: 0 4px 24px rgba(0, 12, 40, .3);
}
.hero-title .brand-block {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, #6ea2ff, #2f63e8 55%, #1b40b8);
  display: grid; place-items: center; font-size: 28px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(14, 40, 120, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hero-title-text { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; }
.hero-title-text .seg { white-space: nowrap; }
.hero-title-text .dot { opacity: .45; font-weight: 500; }
.hero-sub { text-align: center; font-size: 16px; color: rgba(226, 236, 255, .82); }
.hero-sub .vline { display: inline-block; width: 2px; height: 13px; background: rgba(255,255,255,.55); margin: 0 10px; vertical-align: -1px; }
.hero-lead { text-align: center; font-size: 14px; color: rgba(210, 224, 255, .66); margin-top: 8px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; font-size: 13px; color: rgba(235, 243, 255, .92);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px);
}
.hero-tag svg { width: 14px; height: 14px; opacity: .85; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin: 34px 0 30px;
}
.hero-stat { padding: 0 46px; text-align: center; position: relative; }
.hero-stat + .hero-stat::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px;
  background: rgba(255, 255, 255, .18);
}
.hero-stat .num { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.hero-stat .lbl { font-size: 12.5px; color: rgba(208, 222, 255, .72); margin-top: 2px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.hero-actions .btn { min-width: 132px; }
.btn-hero {
  background: linear-gradient(135deg, #4f8fff, #2a5ef0); color: #fff;
  box-shadow: 0 10px 26px rgba(42, 94, 240, .42); border-radius: 999px;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-ghost {
  background: rgba(255, 255, 255, .08); color: #eaf2ff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .16); }
.hero-note { text-align: center; font-size: 12px; color: rgba(196, 213, 245, .55); margin-top: 20px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 26px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card-title { font-size: 18px; font-weight: 700; }
.card-desc { font-size: 13px; color: var(--muted); }

/* ---------- 首页：优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: .2s;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dbe6fa; }
.adv-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-600); margin-bottom: 16px;
}
.adv-icon svg { width: 22px; height: 22px; }
.adv-icon.i-red { background: #fff1f1; color: var(--red); }
.adv-icon.i-orange { background: var(--orange-soft); color: var(--orange); }
.adv-icon.i-green { background: var(--green-soft); color: var(--green); }
.adv-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 类型卡 ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.type-card {
  position: relative; padding: 22px 20px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .18s;
  display: flex; flex-direction: column;
}
.type-card:hover { border-color: #bcd2ff; box-shadow: 0 10px 30px rgba(38, 84, 190, .1); transform: translateY(-2px); }
.type-card .tc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.type-card .tc-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.type-card .tc-lang {
  font-size: 11px; padding: 1px 7px; border-radius: 5px;
  background: #f0f5ff; color: var(--blue-700); font-weight: 600;
}
.type-card .tc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.type-card .tc-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.type-card .tc-group { font-size: 11.5px; color: var(--muted-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type-card .tc-price { font-size: 14px; font-weight: 800; color: var(--red); flex: none; white-space: nowrap; }
.type-card .tc-price small { font-size: 11px; font-weight: 500; color: var(--muted); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.step-no {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #5b93ff, #2f63e8); color: #fff; font-weight: 800; font-size: 15px;
  margin-bottom: 14px; box-shadow: 0 6px 14px rgba(47, 99, 232, .22);
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- 价格表 ---------- */
.price-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.price-table th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: #fafcff; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .strong { font-weight: 700; color: var(--ink); }
.price-table .red { color: var(--red); font-weight: 700; }
.price-side { background: linear-gradient(160deg, #f5f9ff, #eef4ff); border: 1px solid #dfeaff; border-radius: 16px; padding: 26px; }
.price-side h3 { font-size: 17px; margin-bottom: 14px; }
.price-side ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13.5px; }
.price-side li { margin-bottom: 9px; }
.price-side .tip { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px; background: none; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.faq-q .arrow { color: var(--muted-2); transition: .2s; display: inline-flex; align-items: center; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--blue); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: 22px; padding: 44px 40px; color: #fff; text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(97, 148, 255, .4), transparent 70%),
    linear-gradient(135deg, #0f1b4d, #1a3a8a 55%, #0d47a1);
  box-shadow: 0 20px 50px rgba(13, 40, 110, .25);
}
.cta-band h2 { font-size: 27px; margin-bottom: 10px; }
.cta-band p { color: rgba(214, 228, 255, .8); font-size: 14px; margin-bottom: 22px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0c1734; color: rgba(206, 219, 245, .72); padding: 52px 0 24px; margin-top: 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { font-size: 13px; margin-top: 12px; color: rgba(190, 206, 238, .62); max-width: 380px; }
.footer-note { font-size: 12px !important; color: rgba(170, 188, 224, .45) !important; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(190, 206, 238, .62); margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max); margin: 34px auto 0; padding: 18px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px;
  color: rgba(170, 188, 224, .45); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-label .req { color: var(--red); }
.input, .textarea, .select {
  width: 100%; border: 1px solid #dde6f4; background: #fff; border-radius: 10px;
  padding: 11px 14px; font-size: 14px; transition: .16s; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: #8fb4ff; box-shadow: 0 0 0 3px rgba(61, 124, 247, .12); }
.textarea { min-height: 220px; resize: vertical; line-height: 1.8; }
.input::placeholder, .textarea::placeholder { color: #a8b4c8; }
.form-hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.form-error { background: #fff2f2; border: 1px solid #ffd9d9; color: #c93b3b; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.form-ok { background: var(--green-soft); border: 1px solid #c8eedd; color: #0b7a50; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }

/* ---------- 认证页 ---------- */
.auth-wrap { min-height: calc(100vh - 62px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: radial-gradient(900px 400px at 50% 0%, #eaf2ff, transparent 70%); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 34px; }
.auth-card h1 { font-size: 23px; margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--blue-600); font-weight: 600; }

/* ---------- 下单页 ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; align-items: start; }
.tabs { display: flex; gap: 6px; background: #f1f6fd; border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.tab-btn { flex: 1; border: 0; background: transparent; border-radius: 9px; height: 38px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tab-btn.is-active { background: #fff; color: var(--blue-700); box-shadow: 0 2px 8px rgba(30, 60, 130, .1); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

.editor-wrap { position: relative; }
.editor-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.editor-meta .cnt strong { color: var(--blue-700); }
.dropzone {
  border: 1.5px dashed #cfdcf0; border-radius: 14px; background: #fafcff;
  padding: 40px 20px; text-align: center; cursor: pointer; transition: .18s;
}
.dropzone:hover, .dropzone.dragover { border-color: #8fb4ff; background: #f4f8ff; }
.dropzone svg { width: 34px; height: 34px; color: #9db8e8; margin-bottom: 10px; }
.dropzone .dz-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dropzone .dz-hint { font-size: 12px; color: var(--muted-2); margin-top: 5px; }
.file-chip { display: none; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 12px; }
.file-chip.show { display: flex; }
.file-chip .fc-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-600); display: grid; place-items: center; }
.file-chip .fc-name { font-size: 13px; font-weight: 600; word-break: break-all; }
.file-chip .fc-size { font-size: 11.5px; color: var(--muted-2); }
.file-chip .fc-del { margin-left: auto; border: 0; background: none; color: var(--muted-2); font-size: 18px; }

.type-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-opt { position: relative; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt label {
  display: block; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: .16s; background: #fff; height: 100%;
}
.type-opt label:hover { border-color: #bcd2ff; background: #fbfdff; }
.type-opt input:checked + label { border-color: var(--blue); background: #f3f8ff; box-shadow: 0 0 0 2px rgba(61, 124, 247, .12); }
.type-opt .to-name { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.type-opt .to-desc { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.type-opt .to-price { font-size: 11.5px; color: var(--red); font-weight: 600; margin-top: 6px; }
.tc-code { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #eef3fb; color: #7d8ca6; font-weight: 500; }

.summary { position: sticky; top: 82px; }
.summary-inner { padding: 24px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--muted); padding: 7px 0; }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-total { margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: flex-end; }
.sum-total .label { font-size: 13px; color: var(--muted); }
.sum-total .amount { font-size: 30px; font-weight: 800; color: var(--red); line-height: 1.1; letter-spacing: -.02em; }
.sum-total .amount small { font-size: 13px; font-weight: 600; margin-left: 2px; }
.sum-pts { font-size: 12.5px; color: var(--muted-2); text-align: right; margin-top: 4px; }
.balance-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin: 14px 0 16px; padding: 10px 12px; background: #f8fbff; border-radius: 9px; border: 1px solid var(--line-2); }
.balance-line b { color: var(--blue-700); }
.summary .btn { height: 46px; font-size: 15px; }

/* ---------- 列表 / 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.table th { font-size: 12px; color: var(--muted); font-weight: 600; background: #fafcff; }
.table tr:hover td { background: #fbfdff; }
.table .t-title { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table .t-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); }
.table .num { font-variant-numeric: tabular-nums; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-wait { color: #b7791f; background: #fff8e6; }
.badge-run { color: #1f6feb; background: #eaf2ff; }
.badge-done { color: #0b7a50; background: #e9f8f1; }
.badge-fail { color: #c0392b; background: #fff0ee; }
.badge-muted { color: #7a8699; background: #f1f4f9; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.filter-chip.is-active { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--blue-soft); display: grid; place-items: center; color: #9db8e8; }
.empty-state h3 { font-size: 17px; margin-bottom: 8px; }
.empty-state p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* ---------- 结果页 ---------- */
.progress-card { padding: 30px; }
.progress-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.progress-title { font-size: 20px; font-weight: 800; }
.progress-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.progress-ring { font-size: 26px; font-weight: 800; color: var(--blue-600); }
.bar { height: 9px; border-radius: 999px; background: #eef3fb; overflow: hidden; }
.bar-in { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5b93ff, #2f63e8); transition: width .5s ease; }
.bar-in.fail { background: linear-gradient(90deg, #f3a09a, #d85045); }
.progress-ring.fail { color: var(--red); }
.progress-hint { margin-top: 12px; font-size: 12.5px; color: var(--muted-2); display: flex; justify-content: space-between; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.compare-pane { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.compare-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: #fafcff; font-size: 13px; font-weight: 700; }
.compare-head .tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 5px; background: #eef3fb; color: var(--muted); }
.compare-body { padding: 18px; font-size: 13.5px; line-height: 2; color: var(--ink-2); max-height: 520px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.compare-body.empty { color: var(--muted-2); }

.order-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.oi-item { background: #fff; padding: 15px 18px; }
.oi-item .k { font-size: 11.5px; color: var(--muted-2); margin-bottom: 3px; }
.oi-item .v { font-size: 14px; font-weight: 600; }

/* ---------- 兑换页 ---------- */
.redeem-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.card-code-input { text-transform: uppercase; letter-spacing: .06em; font-family: ui-monospace, Menlo, monospace; font-size: 15px; }
.balance-hero { padding: 26px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #162c6b, #2557e0); box-shadow: 0 14px 34px rgba(28, 70, 196, .28); }
.balance-hero .bh-label { font-size: 12.5px; color: rgba(214, 228, 255, .75); }
.balance-hero .bh-num { font-size: 38px; font-weight: 800; line-height: 1.15; margin: 4px 0 2px; letter-spacing: -.02em; }
.balance-hero .bh-num small { font-size: 14px; font-weight: 600; opacity: .8; }
.balance-hero .bh-yuan { font-size: 12.5px; color: rgba(214, 228, 255, .7); }
.balance-hero .bh-actions { margin-top: 18px; display: flex; gap: 10px; }
.balance-hero .btn { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.balance-hero .btn:hover { background: rgba(255, 255, 255, .24); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat-card .s-label { font-size: 12px; color: var(--muted-2); }
.stat-card .s-num { font-size: 26px; font-weight: 800; margin-top: 3px; letter-spacing: -.02em; }
.stat-card .s-unit { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.stat-card.blue .s-num { color: var(--blue-600); }
.stat-card.red .s-num { color: var(--red); }
.stat-card.green .s-num { color: var(--green); }

/* ---------- 提示条 ---------- */
.alert { display: flex; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 13px; line-height: 1.7; }
.alert-info { background: #f2f7ff; border: 1px solid #dbe8ff; color: #35507a; }
.alert-warn { background: #fff9ec; border: 1px solid #ffe8b8; color: #8a6218; }
.alert-danger { background: #fff3f2; border: 1px solid #ffd9d4; color: #b3392e; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 38px; transform: translate(-50%, 20px); z-index: 200;
  background: rgba(16, 28, 56, .94); color: #fff; font-size: 13.5px; padding: 11px 20px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 后台 ---------- */
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-side { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: sticky; top: 82px; }
.admin-side .as-title { font-size: 12px; color: var(--muted-2); padding: 6px 10px 10px; letter-spacing: .08em; }
.admin-side a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 2px; }
.admin-side a:hover { background: #f4f8ff; color: var(--blue-700); }
.admin-side a.is-active { background: var(--blue-soft); color: var(--blue-700); font-weight: 700; }
.admin-main { min-width: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-head h1 { font-size: 22px; }
.admin-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 20px; }
.panel-title { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.panel-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form .input { width: auto; min-width: 110px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 7px 8px; font-size: 13.5px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .order-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 62px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20, 40, 80, .1);
    display: none; gap: 2px; z-index: 90;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 11px 12px; font-size: 14.5px; border-radius: 9px; }
  .nav-actions .pill-points { display: none; }
  .nav-actions .nav-cta { display: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-wrap { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .redeem-layout { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; display: flex; gap: 4px; overflow-x: auto; }
  .admin-side .as-title { display: none; }
  .admin-side a { white-space: nowrap; margin: 0; }
  .compare { grid-template-columns: 1fr; }
  .order-info { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 24px; }
  .hero-inner { padding: 12px 16px 52px; }
  .hero-title { font-size: 23px; gap: 0; margin-top: 10px; }
  .hero-title-text { gap: 0 6px; line-height: 1.4; }
  .hero-title .brand-block { display: none; }
  .hero-sub { font-size: 14px; }
  .hero-lead { font-size: 12.5px; padding: 0 6px; }
  .hero-tag { font-size: 11.5px; padding: 6px 11px; }
  .hero-stats { margin: 26px 0 24px; }
  .hero-stat { padding: 0 20px; }
  .hero-stat .num { font-size: 21px; }
  .hero-stat .lbl { font-size: 11px; }
  .hero-actions { flex-direction: column; gap: 10px; padding: 0 26px; }
  .hero-actions .btn { width: 100%; }
  .notice-bar { font-size: 11.5px; padding: 8px 12px; margin-bottom: 24px; text-align: left; }
  .adv-grid, .type-grid, .steps { grid-template-columns: 1fr; }
  .adv-card { padding: 22px 20px; }
  .cta-band { padding: 32px 22px; border-radius: 18px; }
  .cta-band h2 { font-size: 21px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .nav-wrap { height: 58px; padding: 0 14px; gap: 12px; }
  .main-nav { top: 58px; }
  .brand-text { font-size: 16.5px; }
  .pill-orange { padding: 0 9px; font-size: 11.5px; height: 28px; }
  .tab-btn { font-size: 12.5px; }
  .type-pick { grid-template-columns: 1fr; }
  .sum-total .amount { font-size: 26px; }
  .order-info { grid-template-columns: 1fr 1fr; }
  .table { font-size: 12.5px; }
  .table th, .table td { padding: 11px 12px; }
  .admin-side { padding: 8px; }
  .panel { padding: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
}
