/* ==========================================================================
   墨榜 · 投稿地图（重做版）
   浅色近白 + 发丝线 + 软影；品牌紫只用在强调与选中；桌面一行 4 卡。
   ========================================================================== */

.sm {
  --bg: #f6f6fa;
  --card: #fff;
  --surface: #fff;
  --surface-2: #fafafd;
  --ink: #15151d;
  --dim: #5c5c72;
  --faint: #6e6e83;
  --line: rgba(20, 20, 40, .08);
  --line-2: rgba(20, 20, 40, .14);
  --brand: #6a45ff;
  --brand-2: #b52eff;
  --brand-solid: #6a45ff;
  --brand2-solid: #a82ae8;
  --brand-soft: #f1ecff;
  --ok: #0a7355;
  --ok-soft: #e8f5f0;
  --warn: #8f5e00;
  --warn-soft: #fff4dd;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 40, .04), 0 10px 30px rgba(20, 20, 40, .05);
  --shadow-lg: 0 24px 60px rgba(20, 20, 40, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  min-height: 100vh;
  padding-bottom: 40px;
  -webkit-font-smoothing: antialiased;
}
.sm *, .sm *::before, .sm *::after { box-sizing: border-box; }
.sm [hidden] { display: none !important; }
.sm button, .sm input, .sm select, .sm textarea { font: inherit; color: inherit; }
.sm button { cursor: pointer; }
.sm a { color: inherit; text-decoration: none; }
.sm svg { display: block; }
.sm :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* 输入类控件自己已经有边框/底色来表达聚焦，再叠一层全局焦点环就是"两层线"（搜索框被打回过两次） */
.sm input:focus-visible, .sm textarea:focus-visible, .sm select:focus-visible { outline: none; }

/* ---------------- 顶栏 ---------------- */
.sm-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.sm-top-in { max-width: 1560px; margin: 0 auto; height: 66px; padding: 0 34px; display: flex; align-items: center; gap: 24px; }
.sm-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.sm-brand-mark { position: relative; width: 34px; height: 34px; display: block; flex: none; }
.sm-brand-mark img { width: 100%; height: 100%; display: block; border-radius: 25%; }

.sm-brand-tx b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.sm-brand-tx i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .16em; color: var(--faint); }
.sm-nav { display: flex; gap: 2px; flex: 1; min-width: 0; }
.sm-nav a { padding: 9px 13px; border-radius: 10px; font-size: 14px; color: var(--dim); transition: .16s ease; }
.sm-nav a:hover { color: var(--ink); background: #f1f1f7; }
.sm-top-r { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.sm-updated { font-size: 12.5px; color: var(--faint); }
.sm-user { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 13px; }
.sm-login { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.sm-login:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------- 主体 ---------------- */
.sm-main { max-width: 1560px; margin: 0 auto; padding: 34px 34px 24px; }

/* 标题区 */
.sm-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 22px; }
.sm-crumb { font-size: 12.5px; color: var(--faint); display: flex; gap: 7px; align-items: center; margin-bottom: 12px; }
.sm-crumb a:hover { color: var(--brand); }
.sm-crumb i { font-style: normal; opacity: .5; }
.sm-crumb b { font-weight: 600; color: var(--dim); }
.sm-intro h1 { margin: 0; font-size: 40px; font-weight: 850; letter-spacing: -.8px; line-height: 1.15; }
.sm-intro p { margin: 12px 0 0; font-size: 15px; color: var(--dim); line-height: 1.7; max-width: 620px; }
.sm-stats { display: flex; align-items: stretch; gap: 0; margin-top: 24px; }
.sm-stat { padding: 0 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.sm-stat:first-child { padding-left: 0; border-left: 0; }
.sm-stat b { font-size: 28px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.sm-stat span { font-size: 12.5px; color: var(--faint); }
.sm-stat-hot b { color: var(--warn); }

/* 市场切换 */
.sm-switch { display: inline-flex; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.sm-seg { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 24px; border: 0; border-radius: 11px; background: transparent; text-align: left; transition: .18s ease; }
.sm-seg b { font-size: 16px; font-weight: 750; color: var(--dim); }
.sm-seg span { font-size: 11.5px; color: var(--faint); }
.sm-seg:hover b { color: var(--ink); }
.sm-seg.is-on { background: var(--brand-soft); }
.sm-seg.is-on b { color: var(--brand); }
.sm-seg.is-on span { color: color-mix(in srgb, var(--brand) 62%, #fff); }

.sm-alert { margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 12.5px; border: 1px solid rgba(143, 94, 0, .18); }

/* ---------------- 收稿动态 ---------------- */
.sm-radar { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
.sm-radar-h { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 13px; font-weight: 700; color: var(--dim); border-right: 1px solid var(--line); background: #fbfbfe; white-space: nowrap; }
.sm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(106, 69, 255, .14); }
.sm-radar-list { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.sm-radar-list::-webkit-scrollbar { display: none; }
.sm-ri { flex: none; display: flex; align-items: center; gap: 9px; padding: 17px 20px; border: 0; background: transparent; border-right: 1px solid var(--line); text-align: left; transition: .16s ease; max-width: 470px; }
.sm-ri:hover { background: #faf9ff; }
.sm-ri-st { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.sm-ri-p { font-size: 13.5px; font-weight: 750; white-space: nowrap; }
.sm-ri-tx { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-ri-d { flex: none; font-size: 11.5px; color: var(--faint); margin-left: 2px; white-space: nowrap; }
.sm-radar-empty { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 18px; font-size: 13px; color: var(--faint); text-align: center; }
.sm-radar-more { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 20px; font-size: 13px; border: 0; border-left: 1px solid var(--line); background: transparent; font-size: 12px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.sm-radar-more:hover { background: var(--brand-soft); }
.sm-radar-more i { font-style: normal; }

/* ---------------- 筛选 ---------------- */
.sm-filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 22px; }
.sm-f-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sm-search { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: #fbfbfe; color: var(--faint); transition: .16s ease; }
.sm-search:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(106, 69, 255, .1); }
/* type="search" 在 WebKit/Blink 下会自己画一层原生 searchfield 外框，border:0 去不掉它
   ——这就是"搜索框两层线"的真凶，必须关掉 appearance 并清掉原生的放大镜/清除按钮。 */
.sm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px;
  appearance: none; -webkit-appearance: none; }
/* 站内全局焦点环 `.sm :focus-visible{outline:2px solid brand}`(0,2,0) 压过了上面的 outline:0(0,1,1)，
   真机点进输入框就多出一个紫色方框——这里用更高优先级 + !important 彻底关掉；
   聚焦提示由外层 .sm-search 的品牌色描边承担。 */
.sm-search input:focus,
.sm-search input:focus-visible { outline: none !important; box-shadow: none !important; border: 0 !important; }
.sm-search input::-webkit-search-decoration,
.sm-search input::-webkit-search-cancel-button,
.sm-search input::-webkit-search-results-button,
.sm-search input::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; display: none; }
.sm input[type="search"] { appearance: none; -webkit-appearance: none; }
.sm-search input::placeholder { color: var(--faint); }
.sm-f-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.sm-pv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 11px 14px;
  border-radius: 12px; background: rgba(90,70,220,.06); border: 1px solid rgba(90,70,220,.14); font-size: 12.5px; color: var(--dim); }
.sm-pv b { color: var(--brand); font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(90,70,220,.12); }
.sm-pv span { flex: 1 1 auto; min-width: 0; }
.sm-pv a { flex: none; padding: 6px 14px; border-radius: 9px; background: var(--brand); color: #fff; text-decoration: none; font-size: 12.5px; }
.sm-ed-c.is-pv { opacity: .72; }
.sm-count { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 2px; }
.sm-select { height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--dim); }
.sm-toggle { height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--dim); transition: .16s ease; }
.sm-toggle[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.sm-more { height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.sm-more[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
.sm-more b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; }
.sm-reset { height: 40px; padding: 0 10px; border: 0; background: transparent; font-size: 13.5px; color: var(--faint); }
.sm-reset:hover { color: var(--brand); }

.sm-f-quick { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sm-f-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.sm-g { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.sm-g > i { flex: none; width: 40px; padding-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .04em; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.sm-chip { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; color: var(--dim); transition: .16s ease; }
.sm-chip:hover { border-color: var(--brand); color: var(--brand); }
.sm-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 650; }
.sm-chip.is-on.is-all { background: var(--brand-soft); border-color: rgba(106, 69, 255, .32); color: var(--brand); font-weight: 600; }

/* ---------------- 卡片 ---------------- */
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sm-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(20, 20, 40, .03); cursor: pointer; transition: .18s var(--ease);
}
.sm-card:hover { transform: translateY(-2px); border-color: rgba(106, 69, 255, .34); box-shadow: 0 16px 36px rgba(20, 20, 40, .09); }
.sm-card:active { transform: translateY(0); }
.sm-card-hd { display: flex; align-items: flex-start; gap: 13px; }
.sm-ava { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; font-weight: 850; letter-spacing: -.5px; background: hsl(var(--h, 250) 90% 96%); color: hsl(var(--h, 250) 52% 40%); }
.sm-name { font-size: 19px; font-weight: 800; letter-spacing: -.3px; line-height: 1.35; overflow-wrap: anywhere; }
.sm-sub { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); flex-wrap: wrap; }
.sm-status { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.sm-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sm-status.is-hot { color: var(--warn); }
.sm-status.is-open { color: var(--ok); }
.sm-status.is-off, .sm-status.is-unknown { color: var(--faint); }
.sm-ok { display: inline-flex; align-items: center; gap: 3px; color: var(--ok); font-weight: 650; }
.sm-save { margin-left: auto; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--faint); }
.sm-save:hover { background: #f4f4f9; color: var(--brand); }
.sm-save.is-on { color: var(--brand); background: var(--brand-soft); }

.sm-kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sm-kv div { min-width: 0; }
.sm-kv span { display: block; font-size: 11.5px; color: var(--faint); margin-bottom: 2px; }
.sm-kv b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.sm-kv b.is-empty { color: var(--faint); font-weight: 500; }

.sm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-tag { font-size: 12px; color: var(--dim); background: #f5f5fa; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.sm-tag.is-empty { color: var(--faint); background: transparent; border: 1px dashed var(--line-2); }

.sm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.sm-edn { font-size: 12.5px; color: var(--faint); }
.sm-edn b { color: var(--dim); font-weight: 700; }
.sm-go { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; padding: 0; font-size: 13.5px; font-weight: 750; color: var(--brand); }
.sm-card:hover .sm-go { text-decoration: underline; text-underline-offset: 3px; }

/* 空态 */
.sm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 22px; border: 1px dashed var(--line-2); border-radius: var(--r); background: rgba(255, 255, 255, .6); }
.sm-empty svg { color: var(--faint); margin-bottom: 12px; }
.sm-empty h3 { margin: 0 0 6px; font-size: 15px; }
.sm-empty p { margin: 0 0 16px; font-size: 12.5px; color: var(--dim); }
.sm-empty-actions { display: flex; gap: 8px; }

.sm-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 11.5px; color: var(--faint); line-height: 1.7; }
.sm-main > .sm-foot { border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------------- 全屏详情 ---------------- */
.sm-sheet { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--bg); animation: sm-in .2s var(--ease); }
@keyframes sm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sm-sheet-bar { flex: none; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 26px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.sm-back { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; }
.sm-back:hover { border-color: var(--brand); color: var(--brand); }
.sm-sheet-crumb { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 24px 34px 80px; }
.sm-dt { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sm-dt-flat { max-width: 1560px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sm-dt-l, .sm-dt-r { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sm-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.sm-dt-hd { display: flex; align-items: flex-start; gap: 14px; }
.sm-dt-hd .sm-ava { width: 62px; height: 62px; border-radius: 17px; font-size: 26px; }
.sm-dt-hd h2 { margin: 0; font-size: 26px; font-weight: 850; letter-spacing: -.4px; }
.sm-dt-meta { margin-top: 7px; display: flex; gap: 11px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.sm-dt-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 650; color: var(--ink); transition: .16s ease; }
.sm-btn:hover { border-color: var(--brand); color: var(--brand); }
.sm-btn-p { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.sm-btn-p:hover { background: #5a37f0; border-color: #5a37f0; color: #fff; }
.sm-btn:disabled { opacity: .45; cursor: not-allowed; }
/* 反馈提交成功后，详情页那颗「反馈」按钮自己变成回执（弹窗会关掉，toast 一闪就没了） */
.sm-btn.is-done { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.sm-btn.is-done:hover { border-color: var(--brand); color: var(--brand); }

.sm-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.sm-dt-flat .sm-facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.sm-dt-flat .sm-dt-hd { align-items: center; gap: 18px; }
.sm-dt-flat .sm-panel { width: 100%; min-width: 0; }
.sm-fact { background: #fff; padding: 15px 17px; }
.sm-fact span { display: block; font-size: 11.5px; color: var(--faint); margin-bottom: 3px; }
.sm-fact b { font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; }
.sm-fact b.is-empty { color: var(--faint); font-weight: 500; }

.sm-h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-size: 14.5px; font-weight: 800; }
.sm-h3 em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--faint); }
.sm-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--dim); }
.sm-risk { border-color: rgba(143, 94, 0, .22); background: #fffdf7; }
.sm-risk .sm-note { color: var(--warn); }
.sm-src { font-size: 12.5px; color: var(--faint); line-height: 1.7; }
.sm-src a { color: var(--brand); border-bottom: 1px solid rgba(106, 69, 255, .3); }

/* 编辑行 */
.sm-eds { display: flex; flex-direction: column; gap: 8px; }
.sm-ed { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px 6px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .16s ease; }
.sm-ed-main { display: flex; align-items: flex-start; gap: 11px; flex: 1; min-width: 0; padding: 8px; border: 0; border-radius: 9px; background: transparent; text-align: left; }
.sm-ed-acts { flex: none; display: flex; flex-direction: column; gap: 6px; }
.sm-ed-tx b { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sm-ed-tx .sm-ed-st { font-weight: 700; }
.sm-ed-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 11.5px; line-height: 1.6; color: var(--dim); }
.sm-briefrow { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sm-briefrow:hover { border-color: var(--brand); background: #fdfcff; }
.sm-briefrow .sm-ed-av { background: var(--brand-soft); color: var(--brand); }
.sm-briefrow .sm-ed-st { background: var(--brand-soft); color: var(--brand); }
.sm-ed-line em { flex: none; font-style: normal; color: var(--faint); }
.sm-ed-line + .sm-ed-line { margin-top: 2px; }
.sm-ed-main:hover { background: #faf9ff; }
.sm-ed-view { flex: none; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 11.5px; font-weight: 700; color: var(--dim); }
.sm-ed-view:hover { border-color: var(--brand); color: var(--brand); }
.sm-ed-c { display: block; margin-top: 3px; font-size: 11px; color: var(--dim); font-family: ui-monospace, Consolas, "Courier New", monospace; letter-spacing: .02em; }
.sm-ed-mask { margin: 0; font-size: 14px; font-weight: 700; color: var(--dim); font-family: ui-monospace, Consolas, "Courier New", monospace; letter-spacing: .03em; }
.sm-rp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sm-rp-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--dim); font-size: 13.5px; font-weight: 750; }
.sm-rp-btn:hover { border-color: var(--brand); color: var(--brand); }
.sm-rp-btn.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.sm-rp-btn:disabled { opacity: .55; cursor: default; }
.sm-rp-state { margin: 9px 0 0; font-size: 12px; line-height: 1.7; color: var(--faint); }
@media (min-width: 900px) {
  .sm-eds-panel .sm-eds, .sm-briefs-panel .sm-eds { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; overflow: visible; padding: 2px 0 0; }
  .sm-eds-panel .sm-ed { height: 100%; min-width: 0; }
  .sm-eds-panel .sm-ed-main { align-items: flex-start; }
  .sm-briefs-panel .sm-briefrow { min-width: 0; }
}
@media (max-width: 899px) {
  .sm-dt-flat .sm-facts { grid-template-columns: 1fr 1fr; }
  .sm-eds-panel .sm-eds { max-height: 360px; overflow-y: auto; padding-right: 5px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
}
.sm-contact-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfbfe; }
.sm-contact-box code { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; word-break: break-all; }
.sm-ed:hover { border-color: var(--brand); background: #fdfcff; }
.sm-ed-av { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14.5px; font-weight: 800; background: #f3f3fa; color: var(--dim); }
.sm-ed-tx { min-width: 0; flex: 1; }
.sm-ed-tx b { display: block; font-size: 14.5px; font-weight: 750; }
.sm-ed-tx i { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-ed-st { flex: none; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.sm-ed-st.is-off { background: #f3f3f8; color: var(--faint); }
.sm-eds-empty { font-size: 12px; color: var(--faint); line-height: 1.7; padding: 10px 2px; }

/* ---------------- 对比条 ---------------- */
.sm-comparebar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 65;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 10px 12px 10px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.sm-compare-label { font-size: 12px; color: var(--faint); white-space: nowrap; }
.sm-compare-label b { color: var(--ink); font-size: 13px; }
.sm-compare-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sm-compare-chips::-webkit-scrollbar { display: none; }
.sm-cc { display: inline-flex; align-items: center; gap: 5px; padding: 5px 6px 5px 10px; border-radius: 999px; background: #f5f5fa; font-size: 12px; white-space: nowrap; }
.sm-cc button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: transparent; color: var(--faint); font-size: 13px; line-height: 1; }
.sm-cc button:hover { background: #e9e9f2; color: var(--ink); }

/* ---------------- 弹层 ---------------- */
.sm-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(18, 18, 34, .26); backdrop-filter: blur(3px); }
.sm-modal-card { width: 100%; max-width: 760px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; animation: sm-pop .18s var(--ease); }
@keyframes sm-pop { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.sm-modal-sm { max-width: 560px; }
.sm-modal-xs { max-width: 440px; }
.sm-modal-md { max-width: 620px; }
.sm-modal-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.sm-modal-hd h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.sm-modal-hd h2 span { font-size: 14px; color: var(--brand); margin-left: 6px; }
.sm-modal-hd p { margin: 5px 0 0; font-size: 12px; color: var(--faint); line-height: 1.65; }
.sm-x { flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; font-size: 13px; color: var(--faint); }
.sm-x:hover { border-color: var(--brand); color: var(--brand); }

.sm-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.sm-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.sm-table th, .sm-table td { padding: 10px 12px; text-align: left; font-size: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sm-table thead th { background: #fafafd; color: var(--faint); font-weight: 650; white-space: nowrap; }
.sm-table tbody th { color: var(--faint); font-weight: 600; white-space: nowrap; }
.sm-table td b { font-weight: 700; }
.sm-table tr:last-child th, .sm-table tr:last-child td { border-bottom: 0; }

.sm-form { display: flex; flex-direction: column; gap: 10px; }
.sm-form label { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--dim); }
.sm-form input, .sm-form select, .sm-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 10px; background: #fbfbfe; font-size: 13px; outline: 0; }
.sm-form input:focus, .sm-form select:focus, .sm-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(106, 69, 255, .1); }
.sm-form textarea { min-height: 70px; resize: vertical; }
.sm-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-form-ft { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.sm-hint { padding: 10px 12px; border-radius: 10px; background: #f7f7fb; border: 1px solid var(--line); font-size: 11.5px; line-height: 1.7; color: var(--dim); }
.sm-tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sm-tips li { display: flex; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px; line-height: 1.7; color: var(--dim); }
.sm-tips b { flex: none; color: var(--brand); font-size: 11px; letter-spacing: .04em; }

.sm-radar-all { display: flex; flex-direction: column; gap: 8px; }
.sm-rai { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-align: left; font-size: 12px; }
.sm-rai:hover { border-color: var(--brand); background: #fdfcff; }
.sm-rai b { font-size: 12.5px; white-space: nowrap; }
.sm-rai .sm-rai-tx { flex: 1; min-width: 0; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-rai i { font-style: normal; color: var(--faint); font-size: 10.5px; }

.sm-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 8px); z-index: 120; padding: 9px 15px; border-radius: 999px; background: #15151d; color: #fff; font-size: 12.5px; opacity: 0; pointer-events: none; transition: .2s ease; max-width: calc(100vw - 40px); text-align: center; }
.sm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1099px) {
  .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-dt { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .sm-top-in { padding: 0 16px; gap: 12px; }
  .sm-nav { display: none; }
  .sm-main { padding: 20px 16px 16px; }
  .sm-intro { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .sm-intro h1 { font-size: 28px; }
  .sm-stats { margin-top: 16px; flex-wrap: wrap; row-gap: 12px; }
  .sm-stat { padding: 0 16px; }
  .sm-switch { width: 100%; }
  .sm-seg { flex: 1; align-items: center; }
  .sm-radar { flex-wrap: wrap; }
  .sm-radar-h { flex: 1 1 auto; border-right: 0; border-bottom: 0; padding: 12px 14px; }
  .sm-radar-more { border-left: 0; padding: 0 14px; }
  .sm-radar-list { order: 3; flex: 1 1 100%; border-top: 1px solid var(--line); }
  .sm-radar-empty { flex: 1 1 100%; padding: 18px 14px; }
  .sm-ri { max-width: none; }
  .sm-grid { grid-template-columns: 1fr; }
  .sm-f-top { gap: 8px; }
  .sm-search { flex: 1 1 100%; order: 0; }
  .sm-f-right { width: 100%; order: 1; margin-left: 0; }
  .sm-count { margin-right: auto; }
  .sm-g { flex-direction: column; gap: 6px; }
  .sm-g > i { width: auto; padding-top: 0; }
  .sm-sheet-bar { padding: 0 14px; min-height: 54px; }
  .sm-sheet-body { padding: 16px 14px calc(60px + env(safe-area-inset-bottom)); }
  .sm-panel { padding: 15px; }
  .sm-facts { grid-template-columns: 1fr 1fr; }
  .sm-comparebar { left: 12px; right: 12px; transform: none; bottom: 12px; max-width: none; flex-wrap: wrap; }
  .sm-compare-chips { width: 100%; order: 3; }
  .sm-modal { padding: 12px; }
  .sm-modal-card { padding: 16px; max-height: calc(100vh - 24px); }
  .sm-frow { grid-template-columns: 1fr; }
  .sm-dt-hd h2 { font-size: 19px; }
}

@media (max-width: 899px) {
  .zn-theme, .sm-login, .sm-user { width: 40px; height: 40px; }
  .sm-top-in { height: 60px; }
  .sm-updated { display: none; }
}

/* 手机端细修：触控区域、筛选行、编辑行、弹层和动态条 */
@media (max-width: 899px) {
  .sm-radar-list { scrollbar-width: none; }
  .sm-ri { flex: 0 0 min(320px, 82vw); max-width: min(320px, 82vw); padding: 14px 14px; }
  .sm-radar-more { min-height: 42px; }
  .sm-f-top { align-items: stretch; }
  .sm-select, .sm-more, .sm-reset { min-height: 42px; }
  .sm-g { flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
  .sm-g > i { flex: none; width: auto; padding-top: 0; font-size: 11px; }
  .sm-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
  .sm-chips::-webkit-scrollbar { display: none; }
  .sm-chip { flex: 0 0 auto; min-height: 38px; }
  .sm-count { align-self: center; }
  .sm-card { padding: 17px 16px 15px; gap: 13px; }
  .sm-card-hd { gap: 10px; }
  .sm-ava { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
  .sm-name { font-size: 17px; }
  .sm-go { min-height: 38px; padding: 0 2px; }
  .sm-save { width: 38px; height: 38px; }
  .sm-panel { padding: 14px; }
  .sm-dt-acts .sm-btn { flex: 1 1 auto; min-width: 132px; }
  .sm-ed { padding: 7px; gap: 6px; }
  .sm-ed-main { min-height: 48px; padding: 8px 7px; gap: 9px; }
  .sm-ed-av { width: 38px; height: 38px; border-radius: 11px; }
  .sm-ed-tx b { font-size: 14px; }
  .sm-ed-view { min-height: 36px; padding: 0 12px; }
  .sm-briefrow { min-height: 48px; }
  .sm-facts { grid-template-columns: 1fr 1fr; }
  .sm-modal { padding: 10px; align-items: end; }
  .sm-modal-card { max-height: calc(88vh - 10px); border-radius: 18px; padding: 16px; }
  .sm-form-ft .sm-btn { flex: 1 1 46%; }
  .sm-x { width: 36px; height: 36px; }
  .sm-back { min-height: 38px; }
  .sm-empty { padding: 40px 16px; }
}
@media (max-width: 520px) {
  .sm-updated { display: none; }
  .sm-facts, .sm-dt-flat .sm-facts { grid-template-columns: 1fr 1fr; }
  .sm-fact { padding: 11px 12px; }
  .sm-fact span { font-size: 10.5px; margin-bottom: 2px; }
  .sm-fact b { font-size: 14px; }
  .sm-intro p { font-size: 14px; }
  .sm-stat b { font-size: 23px; }
  .sm-stat span { font-size: 11px; }
  .sm-ed-line { font-size: 12px; }
}

/* 动效降级：系统开了「减少动态效果」就不做入场动画 */
@media (prefers-reduced-motion: reduce) {
  .sm-sheet, .sm-modal-card { animation: none !important; }
  .sm-card, .sm-chip, .sm-btn { transition: none !important; }
}

/* ---------------- 投稿预检页 ---------------- */
.sm-ck { max-width: 1180px; }
.sm-ck-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sm-ck-head h1 { margin: 6px 0 0; font-size: 36px; font-weight: 850; letter-spacing: -.7px; }
.sm-ck-head p { margin: 10px 0 0; font-size: 14.5px; color: var(--dim); line-height: 1.75; max-width: 680px; }
.sm-ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sm-ck-sel { display: block; }
.sm-ck-sel select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: #fbfbfe; font-size: 14px; }
.sm-ck-brief { margin-top: 14px; border: 1px solid var(--line); border-radius: 13px; padding: 16px; background: #fbfbfe; }
.sm-ck-brief-hd { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.sm-ck-brief-hd b { font-size: 16px; font-weight: 800; }
.sm-ck-brief-hd span { font-size: 12px; color: var(--faint); }
.sm-ck-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.sm-ck-kv span { display: block; font-size: 11px; color: var(--faint); margin-bottom: 2px; }
.sm-ck-kv b { font-size: 13.5px; font-weight: 700; }
.sm-ck-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.sm-ck-line > i { flex: none; width: 32px; padding-top: 3px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--faint); }
.sm-tag-no { color: #b03a2e; background: #fdeeea; }
.sm-ck-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-ck-flags span { font-size: 11.5px; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 3px 10px; }
.sm-ck-form { display: flex; flex-direction: column; gap: 11px; }
.sm-ck-form label { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--dim); }
.sm-ck-form textarea { width: 100%; min-height: 190px; padding: 12px; border: 1px solid var(--line-2); border-radius: 11px; background: #fbfbfe; font-size: 13.5px; line-height: 1.8; resize: vertical; }
.sm-ck-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(106, 69, 255, .1); outline: 0; }
.sm-ck-form input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 10px; background: #fbfbfe; font-size: 13.5px; }
.sm-ck-count { font-size: 11.5px; color: var(--faint); margin-top: -4px; }
.sm-ck-count span { color: var(--brand); font-weight: 800; font-size: 13px; }
.sm-ck-count i { font-style: normal; }
.sm-ck-checks { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding-bottom: 4px; }
.sm-ck-chk { flex-direction: row !important; align-items: center; gap: 7px !important; font-size: 12.5px !important; }
.sm-ck-chk input { width: auto; height: auto; }
.sm-ck-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.sm-ck-report { margin-top: 18px; }
.sm-ck-verdict { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border-radius: 13px; border: 1px solid var(--line); background: #fbfbfe; }
.sm-ck-verdict b { font-size: 18px; font-weight: 850; }
.sm-ck-verdict span { font-size: 13px; color: var(--dim); }
.sm-ck-verdict em { font-style: normal; font-size: 11.5px; color: var(--faint); }
.sm-ck-verdict.is-fail { background: #fdf1ee; border-color: rgba(176, 58, 46, .22); }
.sm-ck-verdict.is-fail b { color: #b03a2e; }
.sm-ck-verdict.is-warn { background: var(--warn-soft); border-color: rgba(143, 94, 0, .2); }
.sm-ck-verdict.is-warn b { color: var(--warn); }
.sm-ck-verdict.is-pass { background: var(--ok-soft); border-color: rgba(10, 115, 85, .2); }
.sm-ck-verdict.is-pass b { color: var(--ok); }
.sm-ck-items { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.sm-ck-item { display: flex; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sm-ck-lv { flex: none; width: 54px; font-size: 11px; font-weight: 800; padding-top: 1px; }
.sm-ck-item.is-fail .sm-ck-lv { color: #b03a2e; }
.sm-ck-item.is-warn .sm-ck-lv { color: var(--warn); }
.sm-ck-item.is-pass .sm-ck-lv { color: var(--ok); }
.sm-ck-item.is-info .sm-ck-lv { color: var(--faint); }
.sm-ck-item b { font-size: 13.5px; }
.sm-ck-item p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--dim); }
.sm-ck-item q { display: block; margin-top: 7px; padding-left: 10px; border-left: 2px solid var(--line-2); font-size: 11.5px; line-height: 1.7; color: var(--faint); }
.sm-ck-item.is-fail { border-color: rgba(176, 58, 46, .2); }
.sm-ck-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sm-ck-tip { margin: 12px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--faint); }
@media (max-width: 899px) {
  .sm-ck-grid { grid-template-columns: 1fr; }
  .sm-ck-head h1 { font-size: 28px; }
  .sm-ck-foot { align-items: stretch; }
}

/* ---------------- 投稿专区外壳（地图 / 预检 / 投稿台 / 编辑库 共用） ---------------- */
.zone-top .sm-top-in { gap: 22px; }
.zn-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.zn-nav::-webkit-scrollbar { display: none; }
.zn-item { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--dim); white-space: nowrap; transition: .16s ease; }
.zn-item svg { width: 17px; height: 17px; flex: none; }
.zn-item:hover { color: var(--ink); background: #f1f1f7; }
.zn-item.is-on { color: var(--brand); background: var(--brand-soft); }
.zn-tabbar { display: none; }

@media (max-width: 899px) {
  .zn-nav { display: none; }
  .zn-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 0;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
  }
  .zn-tabbar .zn-item { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 3px; height: 50px; padding: 0; border-radius: 0; font-size: 10.5px; font-weight: 650; }
  .zn-tabbar .zn-item svg { width: 20px; height: 20px; }
  .zn-tabbar .zn-item:hover { background: transparent; color: var(--dim); }
  .zn-tabbar .zn-item.is-on { background: transparent; color: var(--brand); }
  .sm { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sm-comparebar { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .sm-toast { bottom: calc(132px + env(safe-area-inset-bottom)); }
}

/* ---------------- 夜间模式 ---------------- */
html.sm-dark .sm {
  --bg: #0e0f14;
  --card: #161821;
  --ink: #f1f1f6;
  --text: #f1f1f6;
  --dim: #a7a7bb;
  --faint: #85859b;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .17);
  --line-s: rgba(255, 255, 255, .22);
  --brand: #9d86ff;
  --brand-2: #b45cff;
  --brand-soft: rgba(157, 134, 255, .16);
  --brand-solid: #7c5cff;
  --brand2-solid: #b45cff;
  --ok: #4cc38a;
  --ok-soft: rgba(76, 195, 138, .14);
  --ok-text: #6fd6a5;
  --warn: #e0a24a;
  --warn-soft: rgba(224, 162, 74, .14);
  --gold-text: #e5b877;
  --up-text: #ff8a9a;
  --surface: #161821;
  --surface-2: #1b1d27;
  --surface-h: #1f2230;
  --surface-s: #1a1c25;
  --glass-solid: rgba(14, 15, 20, .92);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
}
html.sm-dark .sm .sm-top { background: rgba(14, 15, 20, .86); }
html.sm-dark .sm .zn-tabbar { background: rgba(14, 15, 20, .94); }
html.sm-dark .sm .sm-search { background: #11131a; }
html.sm-dark .sm .sm-select, html.sm-dark .sm .sm-more, html.sm-dark .sm .sm-tipsbtn,
html.sm-dark .sm .sm-chip, html.sm-dark .sm .sm-ed, html.sm-dark .sm .sm-briefrow,
html.sm-dark .sm .sm-ed-main:hover, html.sm-dark .sm .sm-ed-view { background: #1a1c25; color: var(--ink); }
html.sm-dark .sm .sm-fact { background: #161821; }
html.sm-dark .sm .sm-tag { background: #20232e; color: var(--dim); }
html.sm-dark .sm .sm-ava { background: hsl(var(--h, 250) 42% 22%); color: hsl(var(--h, 250) 85% 80%); }
html.sm-dark .sm .sm-modal-card { background: #161821; }
html.sm-dark .sm .sm-table thead th { background: #1b1d27; }
html.sm-dark .sm .sm-form input, html.sm-dark .sm .sm-form select, html.sm-dark .sm .sm-form textarea,
html.sm-dark .sm .sm-ck-form textarea, html.sm-dark .sm .sm-ck-form input, html.sm-dark .sm .sm-ck-sel select { background: #11131a; color: var(--ink); }
html.sm-dark .sm .sm-hint, html.sm-dark .sm .sm-ck-brief, html.sm-dark .sm .sm-contact-box { background: #1a1c25; }
html.sm-dark .sm .sm-toast { background: #f1f1f6; color: #15151d; }
html.sm-dark .sm .sm-empty { background: rgba(255, 255, 255, .03); }
html.sm-dark .sm .sm-comparebar { background: #161821; }
html.sm-dark .sm .sm-sheet-bar { background: rgba(14, 15, 20, .9); }
html.sm-dark .sm .sm-radar-h, html.sm-dark .sm .sm-radar { background: transparent; }
html.sm-dark .sm .sm-radar-h { background: #14161d; }
html.sm-dark .sm .sm-ri:hover, html.sm-dark .sm .sm-radar-more:hover { background: #1d2029; }
html.sm-dark .sm .sm-ck-brief { border-color: var(--line); }
html.sm-dark .sm { color-scheme: dark; }
html.sm-dark .sm .sm-btn { background: #1a1c25; border-color: var(--line-2); color: var(--ink); }
html.sm-dark .sm .sm-btn:hover { background: #20232e; border-color: var(--brand); color: var(--brand); }
html.sm-dark .sm .sm-btn-p { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff !important; }
html.sm-dark .sm .sm-btn-p:hover { background: #6f50ff; border-color: #6f50ff; }
html.sm-dark .sm .sm-back,
html.sm-dark .sm .sm-x,
html.sm-dark .sm .sm-rai { background: #1a1c25; color: var(--ink); border-color: var(--line-2); }
html.sm-dark .sm .sm-rai:hover { background: #20232e; border-color: var(--brand); }
html.sm-dark .sm .sm-risk { background: #211b12; border-color: rgba(224, 162, 74, .24); }
html.sm-dark .sm .sm-tag-no { background: rgba(255, 138, 154, .12); color: #ff9da7; }
html.sm-dark .sm .sm-ck-verdict { background: #1a1c25; border-color: var(--line); }
html.sm-dark .sm .sm-ck-verdict.is-fail { background: rgba(255, 138, 154, .09); border-color: rgba(255, 138, 154, .24); }
html.sm-dark .sm .sm-ck-verdict.is-warn { background: rgba(224, 162, 74, .09); border-color: rgba(224, 162, 74, .24); }
html.sm-dark .sm .sm-ck-verdict.is-pass { background: rgba(76, 195, 138, .09); border-color: rgba(76, 195, 138, .24); }
html.sm-dark .sm .sm-ck-item { background: #161821; border-color: var(--line); }
html.sm-dark .sm .sm-ck-item.is-fail { border-color: rgba(255, 138, 154, .2); }
html.sm-dark .sm .sm-ed-st,
html.sm-dark .sm .sm-ed-st.is-off { background: #20232e; color: var(--dim); }
html.sm-dark .sm .sm-ed:hover,
html.sm-dark .sm .sm-briefrow:hover { background: #1a1c25; border-color: var(--brand); }
html.sm-dark .sm .sm-cc { background: #20232e; }
html.sm-dark .sm .sm-cc button:hover { background: #2a2d3a; color: var(--ink); }
html.sm-dark .sm .sm-save:hover { background: #20232e; }
html.sm-dark .sm .zn-item:hover { background: #1d2029; }
html.sm-dark .sm .sm-search:focus-within { background: #11131a; }
html.sm-dark .sm .sm-alert { background: rgba(224, 162, 74, .12); border-color: rgba(224, 162, 74, .22); }
html.sm-dark .sm .sm-rp-btn { background: #1a1c25; color: var(--ink); border-color: var(--line-2); }
html.sm-dark .sm .sm-rp-btn:hover { border-color: var(--brand); color: var(--brand); }
html.sm-dark .sm .sm-rp-btn.is-on { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }

/* 主题切换按钮 */
.zn-theme { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; display: grid; place-items: center; color: var(--dim); }
.zn-theme:hover { color: var(--brand); border-color: var(--brand); }
.zn-theme svg { width: 17px; height: 17px; }
.zn-theme .i-moon { display: none; }
html.sm-dark .zn-theme .i-sun { display: none; }
html.sm-dark .zn-theme .i-moon { display: block; }

/* ---------------- 海外写作教程入口条（2026-10-22） ---------------- */
.sm-guide { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 15px 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(135deg, #fff, var(--brand-soft));
  box-shadow: var(--shadow); transition: .16s var(--ease); }
.sm-guide:hover { transform: translateY(-2px); border-color: rgba(106, 69, 255, .34); box-shadow: 0 16px 36px rgba(20, 20, 40, .09); }
.sm-guide-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-solid), var(--brand2-solid)); color: #fff; box-shadow: 0 6px 18px rgba(124, 92, 255, .35); }
.sm-guide-ic svg { width: 20px; height: 20px; }
.sm-guide-tx { flex: 1; min-width: 0; }
.sm-guide-tx b { display: block; font-size: 15px; font-weight: 750; }
.sm-guide-tx i { display: block; margin-top: 3px; font-style: normal; font-size: 13px; line-height: 1.7; color: var(--dim); }
.sm-guide-go { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.sm-guide-go em { font-style: normal; transition: .16s ease; }
.sm-guide:hover .sm-guide-go em { transform: translateX(3px); }
.sm-dark .sm-guide { background: linear-gradient(135deg, #16161d, #1e1a2c); border-color: rgba(255, 255, 255, .1); }
@media (max-width: 720px) {
  .sm-guide { gap: 11px; padding: 13px 14px; border-radius: 14px; }
  .sm-guide-ic { width: 34px; height: 34px; }
  .sm-guide-tx b { font-size: 14px; }
  .sm-guide-tx i { font-size: 12.5px; line-height: 1.65; }
  .sm-guide-go { font-size: 13px; }
}

/* ---------- 投稿地图手机端：搜索一行，结果数一行，排序 + 更多筛选 + 重置 同一行 ---------- */
@media (max-width: 899px) {
  /* 第一行：结果数 + 排序；第二行：三个按钮各占三分之一，别四个控件挤一排 */
  .sm-f-right { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: center; }
  .sm-count { grid-column: 1 / 7; align-self: center; margin: 0; font-size: 12px; }
  .sm-select { grid-column: 1 / 4; width: 100%; max-width: none; margin: 0; min-height: 42px; }
  .sm-more, .sm-reset { min-height: 42px; justify-content: center; width: 100%; margin: 0; }
  .sm-more { grid-column: 4 / 6; }
  .sm-reset { grid-column: 6 / 7; }
  .sm-search { height: 46px; }
}

/* ---------- 投稿预检（2026-10-23）：稿件信息 → 正文 → 结果与适配编辑 ---------- */
.sm-ck-flow { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.sm-ck-flow .sb-card { padding: 18px 20px; }
.sm-ck-flow .sm-ck-verdict { margin-top: 2px; }
.sm-ck-flow .sm-ck-checks { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 0; }
.sm-ck-flow .sm-ck-actions { margin-top: 14px; }
.ck-eds { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ck-eds-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ck-eds-hd b { font-size: 15px; }
.ck-eds-hd span { font-size: 11.5px; color: var(--faint); }
.ck-eds-tip { margin: 0; font-size: 13px; line-height: 1.8; color: var(--dim); }
.ck-eds-tip a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.ck-ed-g { margin-bottom: 12px; }
.ck-ed-g-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ck-ed-g-h b { font-size: 13.5px; }
.ck-ed-g-h span { font-size: 11.5px; color: var(--faint); }
.ck-ed { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ck-ed input { flex: none; width: 16px; height: 16px; accent-color: var(--brand); }
.ck-ed-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-ed-b b { font-size: 13.5px; font-weight: 750; }
.ck-ed-b i, .ck-ed-b em { font-style: normal; font-size: 11.5px; line-height: 1.6; }
.ck-ed-b i { color: var(--faint); }
.ck-ed-b em { color: var(--gold-text); }
.ck-ed-sc { flex: none; font-size: 14px; font-weight: 850; color: var(--brand); }
.ck-ed:has(input:checked) { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
html.sm-dark .sm .ck-ed { background: #161821; }
html.sm-dark .sm .ck-ed:has(input:checked) { background: rgba(106, 69, 255, .14); }

/* ---------- 投稿数据（2026-10-23） ---------- */
.sm-st-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:6px 0 18px;flex-wrap:wrap}
.sm-st-tx h1{margin:0 0 8px;font-size:30px;font-weight:850;letter-spacing:-.4px}
.sm-st-tx p{margin:0;max-width:640px;font-size:13.5px;line-height:1.8;color:var(--dim)}
.sm-st-seg{display:inline-flex;padding:3px;border-radius:10px;background:color-mix(in srgb,var(--dim) 7%,transparent);gap:3px}
.sm-st-seg button{appearance:none;border:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:var(--dim);padding:7px 14px;border-radius:8px;cursor:pointer}
.sm-st-seg button.on{background:var(--card);color:var(--brand);box-shadow:var(--shadow)}
.st-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.st-kpi{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);box-shadow:var(--shadow)}
.st-kpi span{display:block;font-size:12px;color:var(--faint);font-weight:700}
.st-kpi b{display:block;margin:4px 0 2px;font-size:26px;font-weight:850;letter-spacing:-.5px}
.st-kpi i{font-style:normal;font-size:11px;color:var(--faint)}
.st-panel{padding:16px 18px;margin-bottom:16px}
.st-ph{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.st-ph b{font-size:15px}
.st-ph span{font-size:11.5px;color:var(--faint)}
.st-chart{width:100%;height:auto;display:block}
.st-grid{stroke:var(--line);stroke-width:1}
.st-ax{fill:var(--faint);font-size:10.5px}
.st-area{fill:color-mix(in srgb,var(--brand) 12%,transparent)}
.st-line{fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.st-line.pass{stroke:var(--acc-gold)}
.st-legend{display:flex;gap:16px;margin-top:6px;font-size:11.5px;color:var(--faint)}
.st-legend .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--brand);margin-right:6px}
.st-legend .dot.pass{background:var(--acc-gold)}
.st-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.st-tw{overflow-x:auto}
.st-tbl{width:100%;border-collapse:collapse;font-size:12.5px;white-space:nowrap}
.st-tbl th{text-align:right;padding:7px 8px;font-size:11px;font-weight:700;color:var(--faint);border-bottom:1px solid var(--line)}
.st-tbl td{text-align:right;padding:9px 8px;border-bottom:1px solid var(--line);color:var(--text)}
.st-tbl th:first-child,.st-tbl td:first-child{text-align:left}
.st-nm{font-weight:700;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.st-dim{color:var(--faint)}
.st-na{font-style:normal;color:var(--faint)}
.st-empty-cell{text-align:center!important;color:var(--faint)!important;padding:18px 0!important}
.st-note{margin:2px 0 0;font-size:11.5px;line-height:1.8;color:var(--faint)}
.sm-st-empty{padding:40px 20px;text-align:center;border:1px dashed var(--line-s);border-radius:var(--r);color:var(--dim)}
.sm-st-empty b{display:block;font-size:16px;color:var(--text);margin-bottom:6px}
.sm-st-empty p{margin:0 0 14px;font-size:13px;line-height:1.8}
.sm-st-gate{padding:36px 24px;text-align:center}
.sm-st-gate b{font-size:16px}
.sm-st-gate p{color:var(--dim);font-size:13px;margin:8px 0 16px}
.zd-rst{appearance:none;height:26px;padding:0 22px 0 8px;border-radius:7px;border:1px solid var(--line-2);
  background-color:var(--card);color:var(--dim);font:inherit;font-size:11.5px;cursor:pointer;margin-left:auto;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2385859d' stroke-width='3'><path d='M6 9.5l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 6px center}
.zd-rst.is-pass{color:var(--ok-text);border-color:color-mix(in srgb,var(--ok-text) 35%,var(--line))}
.zd-rst.is-reject{color:var(--up-text);border-color:color-mix(in srgb,var(--up-text) 30%,var(--line))}
@media(max-width:899px){
  .st-kpis{grid-template-columns:1fr 1fr}
  .st-cols{grid-template-columns:1fr}
  .sm-st-tx h1{font-size:24px}
}

/* ---------- 公共「投稿避坑」入口（2026-10-24）：原来挂在每张平台详情里，重复又吃首屏高度 ---------- */
.sm-f-common { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.sm-f-common > span { font-size: 12px; color: var(--faint); }
.sm-tipsbtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 650; color: var(--dim); cursor: pointer; transition: .16s ease; }
.sm-tipsbtn:hover { color: var(--brand); border-color: var(--brand); }
@media (max-width: 899px) { .sm-f-common { margin-top: 10px; padding-top: 10px; } }
html.sm-dark .sm .sm-f-common { border-top-color: rgba(255, 255, 255, .09); }

/* ---------- 手机端首屏收敛（2026-10-24）：副标题 / 收稿动态 / 公共避坑行只在小屏收起 ----------
   必须放在文件末尾：上面 .sm-f-common{display:flex} 也在末尾，同特异性靠后者取胜，写在中间压不住。
   桌面（>899）一行都没动；避坑内容还在 #tipsModal 里，只是手机上暂时没入口。 */
@media (max-width: 899px) {
  .sm-intro-sub, .sm-radar { display: none; }
  .sm-crumb, .sm-desk-sub { display: none; }   /* 面包屑与页头副说明：小屏不占行 */
  .sm-intro-l h1 { margin-bottom: 2px; }
}

/* ---------- 2026-10-24 追加 ----------
   「投稿避坑」那一行桌面也收起（用户要求）：#tipsModal 与按钮都留着，恢复只要删掉下面这行。 */
.sm-f-common { display: none; }
/* 手机端工具行：结果数自己一行；排序下拉只占 1/3（原来占一半，按钮挤得没地方），
   更多筛选 + 重置 与它同一行并排。 */
@media (max-width: 899px) {
  .sm-f-right { gap: 6px; }
  .sm-select { grid-column: 1 / 3; }
  .sm-more { grid-column: 3 / 5; }
  .sm-reset { grid-column: 5 / 7; }
}

/* ---------- 手机端再压一屏（2026-10-24 实测 390 后加的） ----------
   介绍区 192px（市场切换每个 65px 高）、筛选卡 229px（搜索独占一行）、
   编辑卡一条 151px 高，一屏只看到两条。这里全部收到一屏内能多看几条。 */
@media (max-width: 899px) {
  /* 页面留白：左右收到 12px，给一排三个按钮腾位置；卡间距也跟着收 */
  .sm-main { padding:14px 12px 16px }
  .sm-grid { gap:12px }
  /* 顶部标题加大，不再被上一版的"压薄"压成小字 */
  .sm-intro { margin-bottom:10px;gap:10px;display:flex;flex-direction:column;align-items:stretch }
  /* 顺序改成：标题 → 国内/海外切换 → 四个数据（用户 2026-10-24 要求对调）。
     注意必须 align-items:stretch + 宽度 100%，旧的 align-items:start 会让数据卡缩成内容宽。 */
  .sm-intro-l { display:contents }
  .sm-intro h1 { order:1 }
  .sm-switch { order:2 }
  .sm-stats { order:3;width:100% }
  .sm-intro h1 { font-size:27px;letter-spacing:-.6px;line-height:1.2 }
  /* 四个数据合成一张底卡：只在容器上给描边/圆角/投影，内部用竖线分组，不再四块独立 */
  .sm-stats { margin-top:0;gap:0;padding:11px 2px;border:1px solid var(--line);border-radius:14px;
    background:var(--card);box-shadow:var(--shadow);flex-wrap:nowrap }
  .sm-stat { flex:1 1 0;min-width:0;padding:0 6px;border:0;border-radius:0;background:transparent;
    align-items:center;text-align:center }
  .sm-stats .sm-stat:first-child { border-left:0;padding-left:10px }
  .sm-stat + .sm-stat { border-left:1px solid var(--line) }
  .sm-stat b { font-size:20px;line-height:1.2 }
  .sm-stat span { font-size:10.5px;line-height:1.35 }
  .sm-switch { display:grid;grid-template-columns:1fr 1fr;width:100%;padding:3px;gap:3px }
  .sm-seg { min-width:0;padding:7px 10px;gap:1px }
  .sm-seg b { font-size:14px }
  .sm-seg span { font-size:10.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
  /* 筛选行：结果数一行、搜索一行，排序 + 更多筛选 + 重置 三个同一行等宽（44 高、同描边圆角）。 */
  .sm-filters { padding:12px 12px 14px;margin-bottom:12px }
  .sm-f-top { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:stretch }
  .sm-f-right { display:contents }
  .sm-count { grid-column:1 / 7;grid-row:1;font-size:11.5px }
  .sm-search { grid-column:1 / 7;grid-row:2;order:0;flex:none;width:100%;min-width:0;height:44px;border-radius:11px }
  /* 卡子已经有一圈描边，搜索框再自带一圈就成"两层线"：手机端改成软底胶囊。
     聚焦同理——去掉 3px 光圈，只亮一条品牌边（光圈看着就是第二层线）。 */
  .sm-search { border-color:transparent;background:var(--surface-2) }
  .sm-search:focus-within { border-color:var(--brand);background:#fff;box-shadow:none }
  html.sm-dark .sm .sm-search { border-color:transparent;background:#1f2230 }
  html.sm-dark .sm .sm-search:focus-within { background:#11131a;box-shadow:none }
  .sm-search input { font-size:13px }
  .sm-select { grid-column:1 / 3;grid-row:3;width:100%;min-width:0;max-width:none;height:44px;padding:0 8px;font-size:12.5px;border-radius:11px }
  .sm-more { grid-column:3 / 5;grid-row:3;width:100%;height:44px;padding:0 8px;font-size:12.5px;border-radius:11px;justify-content:center;gap:5px }
  .sm-reset { grid-column:5 / 7;grid-row:3;width:100%;height:44px;padding:0 8px;font-size:12.5px;border-radius:11px;
    border:1px solid var(--line-2);background:#fff;color:var(--dim);font-weight:700 }
  html.sm-dark .sm .sm-reset { background:#1a1c25;color:var(--ink);border-color:var(--line-2) }
  .sm-f-quick { margin-top:10px;padding-top:10px }
  /* 编辑卡两列：卡片内部改成上下两段（上=头像+文字，下=查看按钮）。
     之前给 .sm-ed-acts 写了 width:100%，而卡片本身还是 flex:row，
     结果 acts 把整行占满、正文被挤成 6px 宽 → 一个字一行（2026-10-24 线上抓到）。 */
  .sm-eds-panel .sm-eds { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
    max-height:none;overflow:visible;padding-right:0 }
  .sm-eds-panel .sm-ed { min-width:0;padding:8px 7px;gap:6px;flex-direction:column;align-items:stretch }
  .sm-eds-panel .sm-ed-main { width:100%;flex:1 1 auto;flex-direction:row;align-items:flex-start;gap:7px;padding:0;min-height:0 }
  .sm-eds-panel .sm-ed-av { width:26px;height:26px;border-radius:8px;font-size:12px }
  .sm-eds-panel .sm-ed-tx { flex:1 1 auto;min-width:0;width:auto }
  .sm-eds-panel .sm-ed-tx b { font-size:13px;gap:5px }
  .sm-eds-panel .sm-ed-tx i { font-size:10.5px }
  .sm-eds-panel .sm-ed-c { font-size:10px }
  .sm-eds-panel .sm-ed-st { font-size:10px;padding:1px 6px }
  .sm-eds-panel .sm-ed-line { font-size:10.5px;line-height:1.55;-webkit-line-clamp:2 }
  .sm-eds-panel .sm-ed-acts { width:auto;flex:0 0 auto;flex-direction:row;justify-content:flex-end;
    border-top:1px solid var(--line);padding-top:6px }
  .sm-eds-panel .sm-ed-view { min-height:30px;padding:0 12px;font-size:11.5px }
}

/* ---------- 手机端顶栏不吸顶（2026-10-24 用户明确：筛选按钮不要固定） ----------
   桌面与平板（>899）保持原来的吸顶效果，手机上让顶栏跟着页面一起滚走。 */
@media (max-width: 899px) {
  .sm-top { position: static; }
}

/* ---------- 投稿数据：低样本参考值 / 零投递引导（2026-10-24） ---------- */
.st-thin{color:var(--faint);border-bottom:1px dashed var(--faint);cursor:help}
.sm-st-lead{margin-bottom:14px}
/* ---------- 视觉打磨（2026-10-24，只吸收外部方案里安全的部分） ----------
   底色更冷一档、卡片圆角 16→18、控件圆角统一、卡片悬停顶部一条品牌亮线。
   刻意不动：--faint 保持 #6e6e83（外部方案把它提到 #8b8ba0，小字对比度 4.62→3.05，会发虚）；
   投稿台主按钮也保持哑光实色，不换成渐变。 */
.sm { --bg:#f4f4fb; --r:18px; }
.sm-search { border-radius:12px; }
.sm-select, .sm-more, .sm-toggle { border-radius:11px; transition:border-color .16s ease, background .16s ease; }
.sm-fact { transition:background .15s ease; }
.sm-fact:hover { background:color-mix(in srgb, var(--brand) 4%, #fff); }
html.sm-dark .sm .sm-fact:hover { background:rgba(255,255,255,.045); }
.sm-card::before { content:""; position:absolute; top:0; left:18px; right:18px; height:2px; border-radius:0 0 4px 4px;
  background:linear-gradient(135deg,#6a45ff,#9048ff); opacity:0; transition:opacity .2s ease; pointer-events:none; }
.sm-card:hover::before { opacity:.9; }
html.sm-dark .sm .sm-card:hover::before { opacity:.75; }
/* ---------- 状态胶囊（2026-10-24，按外部方案移植）：在收=绿底、急缺=橙底 ---------- */
.sm-status { font-size:12px; padding:3px 9px; border-radius:999px; }
.sm-status i { width:5px; height:5px; }
.sm-status.is-hot { background:var(--warn-soft); }
.sm-status.is-open { background:var(--ok-soft); }
.sm-status.is-off, .sm-status.is-unknown { background:color-mix(in srgb, var(--dim) 10%, transparent); }
/* 夜间档 --ok-soft/--warn-soft 没有重定义，直接给暗色 tint，避免亮色药丸压在深色卡上 */
html.sm-dark .sm .sm-status.is-hot { background:rgba(224,162,74,.16); color:#f0c07a; }
html.sm-dark .sm .sm-status.is-open { background:rgba(76,195,138,.16); color:#6fd6a5; }
html.sm-dark .sm .sm-status.is-off,
html.sm-dark .sm .sm-status.is-unknown { background:rgba(255,255,255,.06); color:#9a9ab0; }
/* ---------- 投稿专区 UI 一致性 v2（2026-10-24） ----------
   六类统一：主按钮投影、表单控件圆角、表格头/行反馈、数字等宽、表格容器圆角。
   刻意不用渐变、不用彩色发光（按钮只加很淡的中性投影）。 */
.sm-btn-p { box-shadow: 0 6px 16px rgba(20,20,40,.10); }
.sm-btn-p:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(20,20,40,.14); }
html.sm-dark .sm .sm-btn-p { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.sm-form input, .sm-form select, .sm-form textarea,
.sm-ck-form input, .sm-ck-form textarea, .sm-ck-form select { border-radius: 11px; }
.sm-table-wrap { border-radius: var(--r-sm); }
.st-tbl th { background: var(--surface-2); }
.st-tbl tbody tr { transition: background .15s ease; }
.st-tbl tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.st-tbl td { font-variant-numeric: tabular-nums; }
.st-tbl tbody tr:last-child td { border-bottom: 0; }
html.sm-dark .sm .st-tbl th { background: rgba(255,255,255,.04); }
html.sm-dark .sm .st-tbl tbody tr:hover { background: rgba(255,255,255,.045); }
.sm-stat b, .st-kpi b { font-variant-numeric: tabular-nums; }
/* ---------- 吸收外部方案里安全的点（2026-10-24，全部保持哑光、无渐变） ---------- */
.sm-switch { padding:4px; border-radius:16px; gap:2px; }
.sm-seg { border-radius:12px; }
.sm-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb, var(--brand) 30%, var(--line)); }
.sm-ed { border-radius:13px; transition:transform .16s ease, border-color .16s ease, background .16s ease; }
.sm-ed:hover { transform:translateY(-1px); }
.sm-risk { border-left:3px solid color-mix(in srgb, var(--warn) 55%, transparent); }
html.sm-dark .sm .sm-risk { border-left-color:color-mix(in srgb, var(--warn) 60%, transparent); }
.st-kpi { transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.st-kpi:hover { transform:translateY(-2px); border-color:color-mix(in srgb, var(--brand) 24%, var(--line)); box-shadow:0 12px 28px rgba(20,20,40,.10); }
html.sm-dark .sm .st-kpi:hover { box-shadow:0 12px 28px rgba(0,0,0,.40); }
