/* ============================================================
   万容泰禾 · 全局样式（工业 B2B 风格）
   主色：工业墨绿 #0F5132；辅助：深灰 + 橙红；小圆角；无衬线；数字等宽
   ============================================================ */

:root {
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #f0f2ee;
  --surface-3: #e7eae4;
  --zebra: #f7f8f5;
  --border: #e0e3dc;
  --border-strong: #cdd2c6;
  --text: #1f2420;
  --muted: #4d554c;
  --faint: #8b9489;
  --accent: #0F5132;          /* 工业墨绿（主色） */
  --accent-dark: #0a3d26;
  --warn: #c2410c;            /* 橙红（重点按钮 / 删除） */
  --warn-dark: #9a3412;
  --up: #b0433a;              /* 低饱和红（涨） */
  --down: #3f7a52;            /* 低饱和绿（跌） */
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 6px 18px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.16);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC",
          -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { stroke-width: 1.5px; }   /* 内联图标统一细线性风格 */
::selection { background: rgba(15, 81, 50, 0.18); }

/* ---------- 顶栏（单条导航：品牌+标语+导航+登录） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav { display: flex; gap: 2px; margin-left: 4px; }

.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  transition: color 0.12s, background 0.12s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--accent); background: rgba(15, 81, 50, 0.08); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.auth-user {
  color: var(--muted);
  font-size: 13px;
  margin-right: 2px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  user-select: none;
  white-space: nowrap;
}

.btn-sm { padding: 5px 10px; font-size: 13px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(15, 81, 50, 0.25);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-warn {
  background: var(--warn);
  color: #fff;
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.25);
}
.btn-warn:hover { background: var(--warn-dark); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-danger {
  background: rgba(194, 65, 12, 0.07);
  border-color: rgba(194, 65, 12, 0.35);
  color: var(--warn);
}
.btn-danger:hover { background: rgba(194, 65, 12, 0.14); }

.btn-block { width: 100%; }

/* ---------- 主体 ---------- */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  min-height: calc(100vh - 60px - 56px);
}

/* ---------- 首页头区 ---------- */
.page-head { margin-bottom: 18px; }
.page-head h1 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--text); }
.page-head .lead { margin: 0; color: var(--muted); font-size: 13.5px; }

.search-filter { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.search-box { position: relative; flex: 1 1 260px; min-width: 210px; }
.search-box svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--faint); pointer-events: none;
}
.search-box input {
  width: 100%; height: 40px; padding: 0 12px 0 36px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 14px; outline: none;
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus { border-color: rgba(15, 81, 50, 0.6); box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.12); }

.select {
  height: 40px; padding: 0 30px 0 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 14px; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b9489' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.select:focus { border-color: rgba(15, 81, 50, 0.6); }

.stat { color: var(--muted); font-size: 13px; margin: 6px 2px 14px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

.cover { position: relative; aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center;
  background: rgba(194, 65, 12, 0.95); color: #fff;
  font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px;
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 13px 13px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; padding: 2px 8px; border-radius: 3px;
  background: rgba(15, 81, 50, 0.08); color: var(--accent);
}
.tag:hover { background: rgba(15, 81, 50, 0.16); }
.tag.tag-plain { background: var(--surface-2); color: var(--muted); }

.card-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text); }
.card-title a:hover { color: var(--accent); }

.card-desc {
  margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.card-meta {
  margin-top: auto; padding-top: 9px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--faint); font-size: 12px; font-family: var(--mono);
}

.card-actions { display: flex; gap: 8px; margin-top: 11px; }
.card-actions .btn { flex: 1; }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center; padding: 50px 24px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--muted);
}
.empty .empty-icon { display: block; margin: 0 auto 12px; color: var(--faint); }
.empty h3 { margin: 0 0 6px; color: var(--text); font-size: 16px; }
.empty p { margin: 0; font-size: 13px; }

/* ---------- 详情页 ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.back-link:hover { color: var(--text); }

.detail {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.detail-cover { background: var(--surface-3); min-height: 240px; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 22px 22px 24px; }

.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.detail-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--text); }
.detail-desc { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-line; }
.detail-desc:empty { display: none; }

.detail-specs { margin-top: 14px; }
.detail-specs h4 {
  margin: 0 0 6px; font-size: 14px; color: var(--accent);
  padding-left: 8px; border-left: 3px solid var(--accent);
}
.detail-specs .spec-text { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-line; }

.detail-meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 12px; font-family: var(--mono);
}

.detail-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.detail-actions .btn { min-width: 130px; }

.detail-disclaimer {
  margin-top: 14px; padding: 9px 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--faint); font-size: 12px; line-height: 1.6;
}

/* ---------- 管理页 ---------- */
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 960px) { .admin-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
}
.panel h2 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--text); }
.panel .panel-sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; }

/* 发布表单分区 */
.form-section {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section h3 {
  margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--accent-dark);
}
.form-section h3 .sec-index {
  display: inline-block; margin-right: 6px;
  color: #fff; background: var(--accent);
  font-size: 12px; font-weight: 700;
  width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 3px;
}

.field { margin-bottom: 14px; }
.field > label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }

.field input[type="text"],
.field input[type="password"],
.field input[type="file"],
.field textarea,
.field select {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 14px; padding: 9px 11px;
  outline: none; font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(15, 81, 50, 0.6); box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.12);
}
.field .hint { margin-top: 5px; color: var(--faint); font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.check-list { display: flex; flex-wrap: wrap; gap: 7px; }
.check-list label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--surface-2); font-size: 13px; cursor: pointer;
}
.check-list label:has(input:checked) { border-color: rgba(15, 81, 50, 0.5); background: rgba(15, 81, 50, 0.08); }
.check-list input { width: auto; accent-color: var(--accent); }

.file-input input[type="file"] { padding: 8px; color: var(--muted); cursor: pointer; }
.file-input input[type="file"]::file-selector-button {
  margin-right: 10px; border: 0; border-radius: 3px; padding: 6px 11px;
  background: var(--surface-3); color: var(--text); cursor: pointer; font-weight: 600;
}

/* 批量操作栏 */
.batch-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 11px; margin-bottom: 10px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.batch-bar .batch-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.batch-bar input[type="checkbox"] { accent-color: var(--accent); }

/* 管理列表 */
.manage-list { display: flex; flex-direction: column; gap: 8px; }
.manage-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface);
}
.manage-item:nth-child(even) { background: var(--zebra); }   /* 斑马纹 */
.manage-item .ck { flex: 0 0 auto; accent-color: var(--accent); }
.manage-item .thumb { width: 76px; height: 56px; border-radius: 3px; object-fit: cover; background: var(--surface-3); flex: 0 0 auto; }
.manage-item .mi-main { flex: 1; min-width: 0; }
.manage-item .mi-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.manage-item .mi-meta { color: var(--faint); font-size: 12px; font-family: var(--mono); }
.manage-item .mi-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }

.status-tag { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 3px; }
.status-tag.on { background: rgba(15, 81, 50, 0.1); color: var(--accent); }
.status-tag.off { background: rgba(194, 65, 12, 0.1); color: var(--warn); }

/* 线索表格 */
.lead-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lead-table th, .lead-table td {
  text-align: left; padding: 8px 9px; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.lead-table th { color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.lead-table tbody tr:nth-child(even) { background: var(--zebra); }
.lead-table .mono { font-family: var(--mono); font-size: 12px; }

/* 宽表格：手机上横向滑动查看 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.log-list { font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--muted); }
.log-list div { border-bottom: 1px dashed var(--border); padding: 3px 0; }

/* ---------- 登录 ---------- */
.auth-body { display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-page { width: min(400px, 100%); }
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 26px 24px; box-shadow: var(--shadow-lg);
}
.brand-center { justify-content: center; margin-bottom: 16px; }
.auth-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; text-align: center; color: var(--text); }
.auth-sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-err {
  background: rgba(194, 65, 12, 0.08); border: 1px solid rgba(194, 65, 12, 0.3);
  color: var(--warn); padding: 9px 11px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 14px;
}
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.auth-links a { color: var(--accent); }
.auth-links a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 20px;
  color: var(--muted); font-size: 12.5px;
}
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-disclaimer { margin-top: 8px; color: var(--faint); font-size: 12px; line-height: 1.6; border-top: 1px solid var(--border); padding-top: 8px; }

/* ---------- 公告（商务提示：主色细竖条 + 加粗标题） ---------- */
.notice-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.notice-item {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
  padding: 12px 14px; box-shadow: none;
}
.notice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.notice-badge {
  display: inline-flex; align-items: center; background: var(--warn); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 3px;
}
.notice-date { color: var(--faint); font-size: 12px; font-family: var(--mono); margin-top: 6px; }
.notice-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
.notice-content { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }

/* ---------- 左侧价格面板（轻量侧边栏：无边框，细分割线） ---------- */
.price-panel {
  position: fixed; left: 16px; top: 50%; transform: translateY(-50%);
  width: 140px; z-index: 45;
  background: transparent; border: 0; box-shadow: none;
  padding: 0; display: none;
}
.price-panel-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.price-panel-src { font-size: 11px; color: var(--faint); margin-bottom: 8px; line-height: 1.5; }
.price-panel-time { font-size: 11px; color: var(--faint); margin-top: 8px; font-family: var(--mono); }
.price-list { display: flex; flex-direction: column; }
.price-item {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
  background: transparent; border-radius: 0;
}
.price-item:last-child { border-bottom: 0; }
.pi-label { font-size: 12px; color: var(--muted); }
.pi-price { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.2; font-family: var(--mono); }
.pi-change { font-size: 11px; font-weight: 600; font-family: var(--mono); }
/* 涨=低饱和红，跌=低饱和绿 */
.price-item.up .pi-price, .price-item.up .pi-change { color: var(--up); }
.price-item.down .pi-price, .price-item.down .pi-change { color: var(--down); }
.price-item.flat .pi-price, .price-item.flat .pi-change { color: var(--faint); }
.price-loading { font-size: 12px; color: var(--faint); padding: 8px 0; }

@media (min-width: 1120px) {
  .price-panel { display: block; }
  body { padding-left: 168px; }
}

/* ---------- 右侧 WAN TAI 镂空水印 ---------- */
.watermark {
  position: fixed; right: 6px; top: auto; bottom: 44px; z-index: 0;
  pointer-events: none; user-select: none;
  font-family: var(--font); font-size: 110px; font-weight: 900;
  letter-spacing: 10px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(15, 81, 50, 0.22);
  writing-mode: vertical-rl;
  background-image: url('/assets/london.jpg');
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 1119px) { .watermark { display: none; } }

/* ---------- 联系我们悬浮窗 / 弹窗 ---------- */
.contact-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 17px; border: 0; border-radius: 999px;
  background: var(--warn); color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
  transition: background 0.12s ease;
}
.contact-fab:hover { background: var(--warn-dark); }

.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(17, 24, 39, 0.5);
}
.modal-card {
  position: relative; width: min(440px, 100%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 22px 20px; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 30px; height: 30px; border: 0; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--surface-3); color: var(--text); }
.modal-title { margin: 0 0 5px; font-size: 17px; font-weight: 700; color: var(--text); }
.modal-sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.modal-success { text-align: center; padding: 24px 8px; }
.modal-success p { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--text); }
.modal-disclaimer { margin-top: 12px; padding: 8px 10px; background: var(--surface-2); border-radius: var(--radius-sm); color: var(--faint); font-size: 12px; line-height: 1.55; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .header-inner { height: auto; min-height: 56px; padding: 8px 14px; flex-wrap: wrap; gap: 8px; }
  .header-actions { margin-left: 0; }
  .site-main { padding: 18px 14px 40px; }
  .detail { grid-template-columns: 1fr; }
  .detail-body { padding: 16px 14px 18px; }
  .page-head h1 { font-size: 18px; }
}

@media (max-width: 640px) {
  .table-scroll .lead-table { min-width: 620px; }
  .detail-actions .btn { flex: 1 1 100%; min-width: 0; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .search-filter .btn { flex: 1; }
  .manage-item { flex-wrap: wrap; }
}

/* ---------- 手机端：不显示价格面板（底部横条已删除） ---------- */
@media (max-width: 1119px) {
  .price-panel { display: none !important; }
  .contact-fab { bottom: 20px; }
  body { padding-bottom: 0; }
}

/* ---------- 管理后台：访客统计漂浮窗 ---------- */
.visitor-float {
  position: fixed; right: 20px; top: 76px; z-index: 80;
  width: 212px; background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 14px; font-size: 13px;
}
.visitor-float .vf-title {
  font-weight: 700; font-size: 14px; color: var(--accent-dark);
  margin-bottom: 8px; border-bottom: 1px solid var(--border); padding-bottom: 6px;
}
.visitor-float .vf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 3px 0; color: var(--muted);
}
.visitor-float .vf-row b { color: var(--text); }
.visitor-float .mono { font-family: var(--mono); font-size: 12px; }
.visitor-float .vf-table { margin-top: 6px; border-top: 1px dashed var(--border); padding-top: 4px; }
@media (max-width: 860px) {
  .visitor-float { display: none; }
}

/* ---------- 行情中心 ---------- */
.chart-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;   /* 单列大图 */
}
.chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.chart-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.chart-title { font-size: 16px; font-weight: 700; color: var(--text); }
.chart-chg { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.chart-chg.up { color: var(--up); }
.chart-chg.down { color: var(--down); }
.chart-empty { color: var(--faint); font-size: 13px; padding: 30px 0; text-align: center; }

.report-box {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  font-size: 13.5px; line-height: 1.9; color: var(--muted);
}
.report-box b { color: var(--text); }
.report-box .mono { font-family: var(--mono); }

.chart-svg-wrap { position: relative; cursor: crosshair; }
.chart-tip {
  display: none; position: absolute; z-index: 6;
  background: rgba(255, 255, 255, 0.97); border: 1px solid var(--border-strong);
  border-radius: 4px; padding: 8px 12px;
  font-size: 13px; line-height: 1.9; color: var(--text);
  box-shadow: var(--shadow-sm); pointer-events: none;
  white-space: nowrap; font-family: var(--mono);
}
.chart-tip b { color: var(--accent-dark); font-size: 13.5px; }
.chart-tip .tip-pin { color: var(--warn); font-size: 12px; }
