/* 客户中心 / 运营后台共用样式（与官网同色系，但更紧凑） */
:root {
  --ink: #0c1730; --ink-2: #33424f; --muted: #6b7c8c; --line: #e4e9ee; --line-2: #eef2f6;
  --bg: #f6f8f9; --card: #fff; --brand: #1664ff; --brand-d: #0d47c8; --brand-l: #e9f1ff;
  --red: #c0392b; --red-l: #fdeeec; --amber: #b7791f; --amber-l: #fdf5e6; --blue: #2563a8; --blue-l: #eaf2fb;
  --green: #0f9d73; --green-l: #e6f5ef;
  --radius: 12px; --shadow: 0 2px 8px rgba(12, 23, 48, .05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.2px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; background: var(--brand); color: #fff;
  transition: .16s; white-space: nowrap;
}
.btn:hover { background: var(--brand-d); color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #b9cdff; color: var(--brand); background: #fff; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn-danger { background: #fff; border-color: #efc9c3; color: var(--red); }
.btn-danger:hover { background: var(--red-l); color: var(--red); border-color: #e3a79e; }
.btn-plain { background: transparent; color: var(--muted); }
.btn-plain:hover { background: var(--line-2); color: var(--ink); }

/* 表单 */
.input, select.input, textarea.input {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff; transition: .16s;
}
textarea.input { height: auto; padding: 9px 12px; resize: vertical; line-height: 1.65; }
.input:focus { outline: none; border-color: #9dc0ff; box-shadow: 0 0 0 3px rgba(22, 100, 255, .1); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 卡片 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; }
.card-head h3 { font-size: 15px; }
.card-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 20px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table th { font-size: 12px; color: var(--muted); font-weight: 600; background: #fafbfc; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fbfcfd; }
.table td.num, .table th.num { font-family: var(--mono); }
.table .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll-x { overflow-x: auto; }

/* 标签 */
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--brand-l); color: var(--brand-d); white-space: nowrap; }
.tag.gray { background: #f0f3f6; color: var(--muted); }
.tag.red { background: var(--red-l); color: var(--red); }
.tag.amber { background: var(--amber-l); color: var(--amber); }
.tag.blue { background: var(--blue-l); color: var(--blue); }
.tag.green { background: var(--green-l); color: var(--green); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
/* 在线状态圆点：带呼吸光晕，和「已禁用/离线」一眼区分 */
.tag.green .dot { box-shadow: 0 0 0 3px rgba(15, 157, 115, .18); }

/* 统计卡 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; }
.stat b { display: block; font-size: 22px; letter-spacing: -.5px; margin-bottom: 2px; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* 提示 */
.toast-wrap { position: fixed; top: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  min-width: 200px; max-width: 340px; background: #10251f; color: #fff; padding: 10px 14px;
  border-radius: 9px; font-size: 13px; box-shadow: 0 12px 30px rgba(12, 23, 48, .2); animation: tin .2s ease;
}
.toast.err { background: #7c2620; }
@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }

/* 弹窗 */
.mask { position: fixed; inset: 0; background: rgba(12, 23, 48, .42); z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal { width: 100%; max-width: 560px; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .22); max-height: 88vh; display: flex; flex-direction: column; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; }
.modal-head h3 { font-size: 16px; }
.modal-head .x { margin-left: auto; cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; }
.modal-body { padding: 20px 22px; overflow: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; justify-content: flex-end; }

/* 登录页 */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background:
  radial-gradient(700px 400px at 80% 0%, #e9f1ff, transparent 65%), var(--bg); }
.auth-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: 0 24px 60px rgba(12, 23, 48, .08); }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.auth-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #4c8dff, #0d47c8); color: #fff; display: grid; place-items: center; font-weight: 700; }
.auth-card h1 { font-size: 18px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* 控制台骨架 */
.shell { display: grid; grid-template-columns: 216px 1fr; min-height: 100vh; }
.side { background: #101a2e; color: #ccd6ee; padding: 18px 14px; display: flex; flex-direction: column; }
.side .brand { display: flex; align-items: center; gap: 9px; color: #fff; padding: 4px 8px 18px; }
.side .brand .m { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(145deg, #4c8dff, #0d47c8); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.side .brand b { font-size: 14.5px; }
.side .brand small { display: block; font-size: 10px; letter-spacing: 1.4px; color: #7c8bb5; text-transform: uppercase; }
.side nav { display: flex; flex-direction: column; gap: 3px; }
.side nav a {
  color: #b3c0dd; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; display: flex; align-items: center; gap: 8px;
}
.side nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side nav a.on { background: rgba(22, 100, 255, .26); color: #fff; font-weight: 600; }
.side .foot { margin-top: auto; font-size: 11.5px; color: #6d7a9c; padding: 12px 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.main { padding: 22px 26px 40px; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.topbar h1 { font-size: 20px; letter-spacing: -.4px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.who { font-size: 13px; color: var(--muted); }
.page + .page { display: none; }
.section-title { font-size: 14px; margin: 26px 0 12px; }

/* 客户中心 */
.cc-top { background: #fff; border-bottom: 1px solid var(--line); }
.cc-top .inner { max-width: 1080px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 14px; }
.cc-main { max-width: 1080px; margin: 0 auto; padding: 24px 22px 48px; }
.lic { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.lic + .lic { margin-top: 16px; }
.lic-head { padding: 16px 20px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.lic-head h3 { font-size: 15.5px; }
.lic-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.key { font-family: var(--mono); font-size: 13px; background: #f7f9fa; border: 1px dashed var(--line); padding: 2px 8px; border-radius: 6px; letter-spacing: .5px; }

/* 授权码：客户激活软件要用，必须一眼看到、能一键复制 */
.keybox {
  margin-top: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 10px;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
  border: 1px solid #cddffb;
}
.keybox-label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.keybox-label b { font-size: 12.5px; color: #33465e; font-weight: 600; }
.keybox-code {
  font-family: var(--mono); font-size: 19px; font-weight: 600; letter-spacing: 1.5px;
  color: #12386e; word-break: break-all; line-height: 1.35;
}
.keybox-actions { margin-left: auto; display: flex; gap: 8px; }
.keybox.ok { background: #f0faf3; border-color: #bfe3cb; }
@media (max-width: 640px) {
  .keybox-code { font-size: 16px; letter-spacing: 1px; }
  .keybox-actions { margin-left: 0; width: 100%; }
}
.bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { flex-direction: row; align-items: center; padding: 10px 12px; overflow-x: auto; }
  .side .brand { padding: 0 10px 0 4px; }
  .side .brand small { display: none; }
  .side nav { flex-direction: row; }
  .side .foot { display: none; }
  .main { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 80px 1fr; }
}

/* 客户中心：多产品下载行 */
.dl-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 12px 0; }
.dl-row + .dl-row { border-top: 1px solid var(--line-2); }
.dl-row-main { flex: 1; min-width: 240px; }

/* 系统通知（客户中心） */
.ntf-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #eef2f6; }
.ntf-row:last-child { border-bottom: 0; }
.ntf-row.unread .ntf-main b { color: #0e7c66; }
.ntf-main { flex: 1; min-width: 0; line-height: 1.65; font-size: 14px; }
.ntf-side { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* 客户中心改版：顶栏导航 / 欢迎区 / 快捷操作 / 两栏卡片 / 支付横幅 */
.cc-nav { display: flex; gap: 2px; margin-left: 16px; }
.cc-nav a { color: var(--muted); font-size: 13px; padding: 5px 11px; border-radius: 8px; }
.cc-nav a:hover { background: var(--line-2); color: var(--ink); }
.cc-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cc-hero {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #e9f1ff 0%, #f6f8fb 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
}
.cc-hero-hi { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.cc-hero-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.qacts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pay-banner {
  display: flex; align-items: center; gap: 10px;
  background: #e8f8f0; border: 1px solid #bfe3cb; color: #0e7c66;
  border-radius: 12px; padding: 12px 16px; font-size: 13.5px; font-weight: 600;
}
.pay-banner .x { margin-left: auto; cursor: pointer; color: #0e7c66; opacity: .6; font-size: 18px; line-height: 1; }
.pay-banner .x:hover { opacity: 1; }
.ord-no { font-family: var(--mono); font-size: 12.5px; letter-spacing: .3px; }
@media (max-width: 860px) {
  .cc-grid2 { grid-template-columns: 1fr; }
  .qacts { margin-left: 0; width: 100%; }
  .cc-nav { display: none; }
}

/* ================= 客户端后台视觉润色（v1.8） ================= */
::selection { background: rgba(22, 100, 255, .15); }
.btn {
  background: linear-gradient(180deg, #2b76f7 0%, #1664ff 60%, #1257e8 100%);
  box-shadow: 0 1px 2px rgba(22, 100, 255, .16), 0 3px 10px rgba(22, 100, 255, .12);
}
.btn:hover {
  background: linear-gradient(180deg, #3d84fa 0%, #1e6aff 60%, #1660f0 100%);
  box-shadow: 0 2px 4px rgba(22, 100, 255, .18), 0 7px 18px rgba(22, 100, 255, .18);
}
.btn-ghost, .btn-plain, .btn-soft, .btn-sm { box-shadow: none; }
.btn-ghost:hover, .btn-plain:hover { box-shadow: 0 2px 8px rgba(12, 23, 48, .08); }

.card { transition: box-shadow .18s ease, border-color .18s ease; }
.card:hover { border-color: #d4dcf6; box-shadow: 0 10px 30px rgba(12, 23, 48, .07); }

.card-head h3 { letter-spacing: .2px; }
.table th { letter-spacing: .3px; }
.section-title { letter-spacing: .4px; }

.cc-hero-hi { letter-spacing: .3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cdd6e2; border-radius: 8px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #b3bfd0; }
::-webkit-scrollbar-track { background: transparent; }

/* ================= 科技蓝主题强化（v1.9） ================= */
:root {
  --brand-2: #19c6ff;
  --tech-glow: rgba(22, 100, 255, .32);
  --ink: #0c1730;
}
.btn {
  background: linear-gradient(180deg, #2b76f7 0%, #1664ff 60%, #1257e8 100%);
  position: relative; overflow: hidden;
}
.btn:hover {
  background: linear-gradient(180deg, #3d84fa 0%, #1e6aff 60%, #1660f0 100%);
  box-shadow: 0 2px 4px rgba(22, 100, 255, .18), 0 8px 20px rgba(22, 100, 255, .2);
}
.btn:active {
  background: linear-gradient(180deg, #1257e8 0%, #1257e8 100%);
}
.btn::after { display: none; }
.card:hover { border-color: rgba(22, 100, 255, .34); box-shadow: 0 12px 32px rgba(22, 100, 255, .10); }
.input:focus, select.input:focus, textarea.input:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 100, 255, .13);
}
/* 顶栏光线 */
.cc-top, .topbar { position: relative; }
.cc-top::after, .topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 100, 255, .35), rgba(25, 198, 255, .3), transparent);
}
/* 侧栏选中态渐变条 */
.cc-nav a.on, .side nav a.on {
  background: linear-gradient(90deg, rgba(22, 100, 255, .12), rgba(25, 198, 255, .06));
  color: var(--brand-d);
  box-shadow: inset 2px 0 0 var(--brand);
}
.side nav a.on {
  background: linear-gradient(90deg, rgba(22, 100, 255, .34), rgba(25, 198, 255, .18));
  color: #fff;
  box-shadow: inset 2px 0 0 var(--brand-2);
}
/* 统计渐变字（蓝→青） */
.stat b, .cc-hero-hi {
  background: linear-gradient(120deg, var(--brand-d), var(--brand) 55%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ================= 语义按钮配色（v2.0 按功能分配，文字不用黑色） =================
   蓝=主操作(提交/保存/发送/新建)  绿=获取与确认(下载/通过/恢复/启用/签发)
   青=查看与工具(查看/复制/搜索/编辑/自检)  橙=待办与提醒(续费/重置/重试/去认证)
   红=危险与停用(删除/驳回/解绑/禁用/停用)  蓝灰=中性(取消/分页/退出) */
.btn-success { background: linear-gradient(180deg, #2fd06f 0%, #16b45c 60%, #11a052 100%); color: #fff; border-color: transparent; }
.btn-success:hover { background: linear-gradient(180deg, #3edd7d 0%, #1cc467 60%, #14b05b 100%); color: #fff; box-shadow: 0 2px 4px rgba(22, 180, 92, .18), 0 7px 18px rgba(22, 180, 92, .18); }
.btn-success:active { background: #11a052; }

.btn-info { background: linear-gradient(180deg, #35c2f0 0%, #12a5dd 60%, #0d92c7 100%); color: #fff; border-color: transparent; }
.btn-info:hover { background: linear-gradient(180deg, #4ecdf6 0%, #1fb2e8 60%, #109ed1 100%); color: #fff; box-shadow: 0 2px 4px rgba(18, 165, 221, .18), 0 7px 18px rgba(18, 165, 221, .18); }
.btn-info:active { background: #0d92c7; }

.btn-warn { background: linear-gradient(180deg, #ffb347 0%, #f5970a 60%, #e08600 100%); color: #fff; border-color: transparent; }
.btn-warn:hover { background: linear-gradient(180deg, #ffc062 0%, #ffa41f 60%, #ee9200 100%); color: #fff; box-shadow: 0 2px 4px rgba(245, 151, 10, .18), 0 7px 18px rgba(245, 151, 10, .18); }
.btn-warn:active { background: #e08600; }

.btn-danger { background: linear-gradient(180deg, #f4695c 0%, #e8493c 60%, #d63d31 100%); color: #fff; border-color: transparent; }
.btn-danger:hover { background: linear-gradient(180deg, #f67b6f 0%, #ef5747 60%, #e2483b 100%); color: #fff; box-shadow: 0 2px 4px rgba(232, 73, 60, .18), 0 7px 18px rgba(232, 73, 60, .18); }
.btn-danger:active { background: #d63d31; }

/* 幽灵/中性按钮：文字一律蓝系，绝不用黑 */
.btn-ghost { color: var(--brand-d); border-color: #c9d9f5; background: #fff; }
.btn-ghost:hover { color: var(--brand-d); border-color: var(--brand); background: #fff; }
.btn-plain { color: #667d9c; background: transparent; }
.btn-plain:hover { color: var(--brand-d); background: var(--line-2); }

/* ==================================================================
   现代按钮体系 v3.0（客户中心 / 管理后台 · 与官网同一语言）
   斜向柔和渐变 + 大圆角 + 彩色光晕，去浮雕去扫光去单一蓝
   ================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  position: relative;
  height: 38px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1;
  letter-spacing: .2px; white-space: nowrap; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, #5b54ea 0%, #4338ca 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 18px -8px rgba(79, 70, 229, .5);
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease,
              color .22s ease, border-color .22s ease;
}
.btn::after, .btn::before { display: none !important; }

.btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 26px -10px rgba(79, 70, 229, .58);
}
.btn:active {
  background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
  color: #fff; transform: translateY(0) scale(.985);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 4px 10px -6px rgba(79, 70, 229, .42);
}
.btn:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-lg { height: 46px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-success {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%); color: #fff; border-color: transparent;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 18px -8px rgba(5, 150, 105, .48);
}
.btn-success:hover {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 26px -10px rgba(5, 150, 105, .55);
}
.btn-success:active { background: linear-gradient(135deg, #059669 0%, #065f46 100%); color: #fff; transform: translateY(0) scale(.985); }

.btn-info {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); color: #fff; border-color: transparent;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 18px -8px rgba(2, 132, 199, .48);
}
.btn-info:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 26px -10px rgba(2, 132, 199, .55);
}
.btn-info:active { background: linear-gradient(135deg, #0284c7 0%, #075985 100%); color: #fff; transform: translateY(0) scale(.985); }

.btn-warn {
  background: linear-gradient(135deg, #f0a825 0%, #c2740c 100%); color: #fff; border-color: transparent;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 18px -8px rgba(194, 116, 12, .5);
}
.btn-warn:hover {
  background: linear-gradient(135deg, #d9900f 0%, #a5600a 100%); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 26px -10px rgba(194, 116, 12, .58);
}
.btn-warn:active { background: linear-gradient(135deg, #c2740c 0%, #8f5208 100%); color: #fff; transform: translateY(0) scale(.985); }

.btn-danger {
  background: linear-gradient(135deg, #f2555a 0%, #b91c1c 100%); color: #fff; border-color: transparent;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 18px -8px rgba(185, 28, 28, .48);
}
.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 26px -10px rgba(185, 28, 28, .55);
}
.btn-danger:active { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); color: #fff; transform: translateY(0) scale(.985); }

.btn-ghost {
  background: #fff; color: #475569; border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.btn-ghost:hover {
  background: #fff; color: #0f172a; border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 20px -10px rgba(15, 23, 42, .2);
}
.btn-ghost:active { background: #f8fafc; transform: translateY(0) scale(.985); }

.btn-plain { background: transparent; color: #64748b; box-shadow: none; border-color: transparent; }
.btn-plain:hover { background: #f1f5f9; color: #0f172a; box-shadow: none; border-color: transparent; transform: none; }
.btn-plain:active { background: #e9eef6; transform: none; }

.btn-light {
  background: #fff; color: #0f172a; border-color: transparent;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 18px -8px rgba(15, 23, 42, .4);
}
.btn-light:hover { background: #fff; color: #0f172a; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(15, 23, 42, .5); }

.btn-outline-light {
  background: rgba(255, 255, 255, .06); color: #fff;
  border: 1px solid rgba(255, 255, 255, .34); box-shadow: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .55);
  transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .45);
}
.btn-outline-light:active { background: rgba(255, 255, 255, .24); transform: translateY(0) scale(.985); }

.btn-soft {
  background: #eef2ff; color: #4338ca; border: 1px solid #dfe4ff; box-shadow: none;
}
.btn-soft:hover {
  background: #e4e9ff; color: #3730a3; border-color: #c9d1ff;
  transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(67, 56, 202, .4);
}
.btn-soft:active { transform: translateY(0) scale(.985); }

/* ==================================================================
   臻感按钮体系 v4.0（高级感重塑 · 深宝石色 · 绒面光影）
   与官网 site.css v4.0 同一设计语言：降饱和宝石色 + 1px 定义描边 +
   双层柔影 + 高级缓动；仍禁浮雕内阴影 / 扫光伪元素 / 垂直多段渐变
   ================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  position: relative;
  height: 38px; padding: 0 20px;
  border: 1px solid #3a32b0; border-radius: 10px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1;
  letter-spacing: .3px; white-space: nowrap; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, #5a52e0 0%, #4238c0 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .1), 0 12px 28px -12px rgba(80, 70, 220, .48);
  transition: all .24s cubic-bezier(.22, .75, .3, 1);
}
.btn::after, .btn::before { display: none !important; }

.btn:hover {
  background: linear-gradient(135deg, #665ee8 0%, #4a40cc 100%);
  border-color: #4238c0; color: #fff; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .1), 0 18px 36px -12px rgba(80, 70, 220, .55);
}
.btn:active {
  background: linear-gradient(135deg, #4238c0 0%, #332b9e 100%);
  border-color: #2d2687; color: #fff; transform: translateY(0) scale(.985);
  box-shadow: 0 1px 2px rgba(28, 25, 23, .12), 0 6px 14px -8px rgba(80, 70, 220, .4);
}
.btn:focus-visible { outline: 2px solid rgba(99, 102, 241, .55); outline-offset: 2px; }
/* 禁用态只做降透明处理，不覆盖语义底色 */
.btn:disabled, .btn[disabled] {
  opacity: .45; cursor: not-allowed; transform: none; box-shadow: none;
}

.btn-lg { height: 46px; padding: 0 28px; font-size: 15px; border-radius: 12px; letter-spacing: .4px; }
.btn-sm { height: 30px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; letter-spacing: .2px; }
.btn-block { width: 100%; }

/* —— 语义·获取与确认（祖母绿）—— */
.btn-success {
  background: linear-gradient(135deg, #0f9d73 0%, #0a7455 100%); color: #fff; border-color: #096b4e;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .1), 0 12px 28px -12px rgba(12, 140, 100, .46);
}
.btn-success:hover {
  background: linear-gradient(135deg, #12ab7e 0%, #0c8060 100%); color: #fff;
  border-color: #0a7455; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .1), 0 18px 36px -12px rgba(12, 140, 100, .54);
}
.btn-success:active {
  background: linear-gradient(135deg, #0a7455 0%, #075740 100%); color: #fff;
  border-color: #064c38; transform: translateY(0) scale(.985);
}

/* —— 语义·查看与工具（深青）—— */
.btn-info {
  background: linear-gradient(135deg, #1279a8 0%, #0c5a80 100%); color: #fff; border-color: #0b5175;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .1), 0 12px 28px -12px rgba(15, 110, 155, .46);
}
.btn-info:hover {
  background: linear-gradient(135deg, #1587ba 0%, #0e668f 100%); color: #fff;
  border-color: #0c5a80; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .1), 0 18px 36px -12px rgba(15, 110, 155, .54);
}
.btn-info:active {
  background: linear-gradient(135deg, #0c5a80 0%, #094562 100%); color: #fff;
  border-color: #083c55; transform: translateY(0) scale(.985);
}

/* —— 语义·待办与提醒（香槟金）—— */
.btn-warn {
  background: linear-gradient(135deg, #c58a1f 0%, #96640f 100%); color: #fff; border-color: #85580c;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .1), 0 12px 28px -12px rgba(180, 125, 25, .46);
}
.btn-warn:hover {
  background: linear-gradient(135deg, #d29628 0%, #a47012 100%); color: #fff;
  border-color: #96640f; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .1), 0 18px 36px -12px rgba(180, 125, 25, .54);
}
.btn-warn:active {
  background: linear-gradient(135deg, #96640f 0%, #764d09 100%); color: #fff;
  border-color: #674208; transform: translateY(0) scale(.985);
}

/* —— 语义·危险与停用（石榴红）—— */
.btn-danger {
  background: linear-gradient(135deg, #c23842 0%, #93232c 100%); color: #fff; border-color: #7f1c24;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .1), 0 12px 28px -12px rgba(175, 40, 50, .46);
}
.btn-danger:hover {
  background: linear-gradient(135deg, #cf424c 0%, #a02832 100%); color: #fff;
  border-color: #93232c; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .1), 0 18px 36px -12px rgba(175, 40, 50, .54);
}
.btn-danger:active {
  background: linear-gradient(135deg, #93232c 0%, #6f161d 100%); color: #fff;
  border-color: #5e1218; transform: translateY(0) scale(.985);
}

/* —— 描边中性（暖石）—— */
.btn-ghost {
  background: #fff; color: #524d47; border: 1px solid #e4dfd8;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .06), 0 10px 24px -14px rgba(28, 25, 23, .22);
}
.btn-ghost:hover {
  background: #fff; color: #231f1c; border-color: #cfc7bd;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .07), 0 16px 32px -14px rgba(28, 25, 23, .28);
}
.btn-ghost:active { background: #faf9f7; border-color: #bdb4a8; transform: translateY(0) scale(.985); }

.btn-plain { background: transparent; color: #78716c; box-shadow: none; border-color: transparent; }
.btn-plain:hover { background: #f5f4f2; color: #292524; box-shadow: none; border-color: transparent; transform: none; }
.btn-plain:active { background: #ebe9e5; transform: none; }

/* —— 深色背景上的实心白钮 —— */
.btn-light {
  background: #fff; color: #1c1917; border-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 14px 30px -12px rgba(0, 0, 0, .42);
}
.btn-light:hover { background: #fff; color: #1c1917; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 20px 40px -12px rgba(0, 0, 0, .5); }

/* —— 深色背景上的透明白描边钮 —— */
.btn-outline-light {
  background: rgba(255, 255, 255, .07); color: #fff;
  border: 1px solid rgba(255, 255, 255, .32); box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .52);
  transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5);
}
.btn-outline-light:active { background: rgba(255, 255, 255, .22); transform: translateY(0) scale(.985); }

/* —— 浅调辅助钮（紫罗兰缎面）—— */
.btn-soft {
  background: #efedfb; color: #4238c0; border: 1px solid #dcd8f5; box-shadow: 0 1px 2px rgba(28, 25, 23, .05);
}
.btn-soft:hover {
  background: #e5e2f8; color: #352ca6; border-color: #c6c0ee;
  transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(66, 56, 192, .38);
}
.btn-soft:active { background: #dbd7f4; transform: translateY(0) scale(.985); }
