﻿/* 基础层：现代商业门户（白底 / 深墨文字 / 单一深青品牌色 / 8–12px 圆角 / 柔和阴影） */
:root {
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --paper-3: #ffffff;
  --line: #e6e9ee;
  --line-2: #eef1f4;
  --ink: #14161a;
  --ink-2: #2b3038;
  --muted: #6c7480;
  --navy: #0b5d57;
  --navy-2: #084b46;
  --navy-3: #0e726a;
  --steel: #9aa3ae;
  --steel-2: #d8dde3;
  --accent: #0b5d57;
  --accent-2: #084b46;
  --gold: #c8a55a;
  --white: #fff;
  --ok: #1f7a56;
  --warn: #9a6414;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .07);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, .05);
  --shadow-hover: 0 16px 38px rgba(16, 24, 40, .11);
  --display: "HarmonyOS Sans SC", "HarmonyOS Sans", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --num: var(--display);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1180px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.ic svg { width: 1.08em; height: 1.08em; display: inline-block; vertical-align: -.14em; }
.num, .mono { font-family: var(--display); font-variant-numeric: normal; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: 40px; line-height: 1.16; letter-spacing: -.02em; }
.page-note { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 760px; line-height: 1.75; }

/* 按钮：8px 圆角，实色主按钮，浅描边次按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 12px 22px;
  font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer;
  text-decoration: none; background: var(--paper-2); color: var(--ink);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:hover { color: var(--ink); background: #eef1f4; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(11, 93, 87, .18); }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 10px 24px rgba(11, 93, 87, .24); }
.btn-line { background: #fff; border-color: #dbe0e6; color: var(--ink); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-soft { background: rgba(11, 93, 87, .08); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #e2e6eb; }
.btn-light:hover { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.link-arrow .ic { transition: transform .18s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* 标签与胶囊 */
.tag {
  display: inline-flex; align-items: center; padding: 4px 11px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--muted); background: #fff; white-space: nowrap;
}
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: 13px; line-height: 1.6; white-space: nowrap; background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line);
}
.chip.ok { background: #e8f4ef; color: var(--ok); border-color: #cfe8dc; }
.chip.warn { background: #fbf1dd; color: var(--warn); border-color: #eddfbc; }
.chip.mute { background: var(--paper-2); color: var(--muted); }

/* 表单 */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label, .field-label { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid #dfe3e9; border-radius: var(--radius-sm); background: #fff;
  padding: 11px 13px; font-size: 14px; line-height: 1.45; transition: border-color .16s, box-shadow .16s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 93, 87, .1); }
.textarea { resize: vertical; min-height: 104px; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #6c7480 50%), linear-gradient(135deg, #6c7480 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.form-error { color: #b03a3a; font-size: 13px; min-height: 20px; margin-top: 6px; }
.seg { display: flex; gap: 6px; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; }
.seg label { flex: 1; text-align: center; padding: 9px 12px; font-size: 13px; cursor: pointer; color: var(--muted); font-weight: 600; border-radius: 8px; transition: background .16s, color .16s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--ink); }
.seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.7; }
.checkline input { margin-top: 4px; accent-color: var(--navy); }
.checkline a { color: var(--navy); }

/* 验证码 */
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .input { flex: 1; }
.captcha { border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--paper-2); flex: none; }
.captcha:active { transform: scale(.99); }

/* 表格与空态 */
.tbl th {
  text-align: left; font-size: 13px; color: var(--muted);
  font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.tbl th:first-child { border-radius: 10px 0 0 0; }
.tbl th:last-child { border-radius: 0 10px 0 0; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.tbl tr:hover td { background: #fafbfc; }
.empty { padding: 52px 24px; text-align: center; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); font-size: 14px; }

/* 弹层 */
.sheet-mask {
  position: fixed; inset: 0; z-index: 120; background: rgba(15, 20, 25, .5);
  display: flex; align-items: center; justify-content: center; padding: 28px; backdrop-filter: blur(2px);
}
.sheet {
  position: relative; width: 580px; max-width: 100%; max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 16px; padding: 32px 32px 28px;
  box-shadow: 0 24px 80px rgba(12, 18, 24, .28);
}
.sheet h3 { font-size: 22px; margin-bottom: 10px; }
.sheet-x {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--paper-2); font-size: 20px; line-height: 1; color: var(--muted);
}
.sheet-x:hover { color: var(--ink); background: #eceff2; }
.sheet .btn { margin-top: 8px; }
.sheet-wide { width: 780px; }

/* 提示 */
.toast {
  position: fixed; right: 26px; bottom: 26px; z-index: 160;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 10px;
  font-size: 14px; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: 400px; box-shadow: 0 14px 40px rgba(12, 18, 24, .22);
}
.toast.show { opacity: 1; transform: none; }
.toast.err { background: #8f2b2b; }
.toast.ok { background: #14634c; }

/* 顶部导航（信息站 / 商城共用语言） */
.topbar {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.topbar-in { max-width: 1280px; margin: 0 auto; height: 72px; padding: 0 40px; display: flex; align-items: center; gap: 34px; }
.tb-brand { display: flex; flex-direction: column; gap: 1px; font-size: 19px; font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.tb-brand span { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.tb-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--ink-2); }
.tb-nav a { padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.tb-nav a:hover { color: var(--navy); border-bottom-color: rgba(11, 93, 87, .3); }
.tb-nav a.on { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.tb-tel { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tb-tel:hover { color: var(--navy); }
.tb-user { color: var(--muted); white-space: nowrap; }
.tb-user:hover { color: var(--navy); }
.tb-cta { padding: 9px 18px; font-size: 13px; }
.tb-mall { padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; white-space: nowrap; }
.tb-mall:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tb-back { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tb-back:hover { color: var(--navy); }
.tb-out { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tb-out:hover { color: #8f2b2b; }

/* 授权页顶栏 */
.authbar {
  height: 72px; display: flex; align-items: center; gap: 16px;
  padding: 0 40px; background: #fff; border-bottom: 1px solid var(--line);
}
.authbar-brand { font-size: 19px; font-weight: 700; white-space: nowrap; }
.authbar-tag { font-size: 12px; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
.authbar-right { margin-left: auto; display: flex; gap: 24px; font-size: 13px; color: var(--muted); align-items: center; }
.authbar-right a:hover { color: var(--navy); }
[data-chrome="auth"] { background: var(--paper-2); }

/* 页脚：四列链接 + 单行备案 */
.ft-site { background: #101216; color: #a7aeb8; margin-top: 0; }
.ft-in { max-width: 1280px; margin: 0 auto; padding: 60px 40px 26px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ft-brand { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.ft-brand-sub { margin-top: 8px; font-size: 14px; color: #8d96a2; line-height: 1.8; max-width: 320px; }
.ft-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ft-contact b { color: #fff; font-size: 20px; letter-spacing: .01em; }
.ft-contact a:hover { color: #fff; }
.ft-col h4 { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 14px; }
.ft-col a { display: block; font-size: 13px; color: #9aa3ae; padding: 5px 0; }
.ft-col a:hover { color: #fff; }
.ft-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; font-size: 12px; color: #7d8591; }
.ft-bottom a { color: #7d8591; }
.ft-bottom a:hover { color: #fff; }
.ft-bottom .ft-update { margin-left: auto; }
.ft-slim {
  background: #101216; color: #8d96a2;
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 40px; font-size: 12px;
}
.ft-slim a { color: #c6ccd4; }
.ft-slim a:hover { color: #fff; }

/* 后台顶栏 */
.adminbar { height: 64px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; padding: 0 32px; }
.adminbar-name { font-weight: 700; font-size: 16px; }
.adminbar-site { font-size: 13px; color: var(--muted); }
.adminbar-back { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.adminbar-back:hover { color: var(--navy); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c9cfd6; border-radius: 6px; }
::-webkit-scrollbar-track { background: #f2f4f6; }

/* 授权页：两站各自登录 / 注册 / 找回密码共用骨架 */
/* 授权页 */
.auth-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 40px 70px; }
.auth-sheet { display: grid; grid-template-columns: 380px 1fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(16, 24, 40, .12); min-height: 600px; }
.auth-side { background: var(--navy); color: #fff; padding: 40px 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.auth-side h2 { font-size: 28px; line-height: 1.3; color: #fff; margin-top: 10px; }
.auth-side-k { font-size: 13px; color: #a9c8c4; letter-spacing: .06em; }
.side-rows { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .22); }
.side-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 13px; }
.side-rows span { color: #a9c8c4; }
.side-rows b { color: #fff; font-weight: 600; text-align: right; }
.side-note { margin-top: auto; padding-top: 26px; font-size: 13px; color: #a9c8c4; line-height: 1.8; position: relative; z-index: 2; }
.auth-panel { padding: 46px 52px; display: flex; flex-direction: column; justify-content: center; }
.auth-panel-in { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-panel h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.auth-panel .auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; line-height: 1.7; }
.auth-panel .field > label { font-size: 13px; color: var(--muted); }
.auth-panel .captcha-row { align-items: stretch; }
.auth-panel .captcha { border-radius: var(--radius-sm); height: 44px; }
.auth-panel .form-error { color: #b03a3a; font-size: 13px; }
.auth-panel .checkline a { color: var(--navy); }
.auth-panel .btn-primary { width: 100%; margin-top: 6px; height: 48px; }
.auth-alt { margin-top: 18px; display: flex; gap: 18px; font-size: 13px; }
.auth-alt a { color: var(--navy); }
.auth-alt a:hover { text-decoration: underline; }
.auth-sep { margin: 24px 0 14px; border-top: 1px solid var(--line); }
.auth-legal { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 20px; }
.auth-legal a { color: var(--navy); }
.auth-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.auth-steps span { flex: 1; height: 4px; background: var(--line); border-radius: 2px; }
.auth-steps span.on { background: var(--navy); }
.auth-done { background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.auth-done b { display: block; margin-bottom: 4px; }
.pwd-meter { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.pwd-meter i { width: 32px; height: 4px; border-radius: 2px; background: var(--line); }
.pwd-meter span { margin-left: 6px; font-size: 12px; color: var(--muted); }
.pwd-meter[data-level="1"] i:nth-child(1) { background: #c2705b; }
.pwd-meter[data-level="2"] i:nth-child(-n+2) { background: #c8a55a; }
.pwd-meter[data-level="3"] i { background: var(--ok); }
.auth-finish .btn { width: 100%; }
