/* ============ 基础 ============ */
* { box-sizing: border-box; }

:root {
  --brand: #e8490f;
  --brand-2: #ff7a1a;
  --brand-soft: #fff2ec;
  --ink: #17181c;
  --ink-2: #50555f;
  --muted: #8b909b;
  --line: #e9ebf0;
  --line-2: #f1f2f5;
  --bg: #f6f7f9;
  --card: #ffffff;
  --ok: #12a05c;
  --err: #d93a3a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, .05);
  --shadow-md: 0 6px 24px rgba(20, 22, 28, .07);
  --shadow-lg: 0 18px 48px rgba(20, 22, 28, .13);
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#homeView, #workbench { flex: 1 0 auto; }
.foot { flex: 0 0 auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
.hidden { display: none !important; }

/* ============ 顶栏 ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 62px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(232, 73, 15, .3);
}
.brand-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; }
.brand-tag {
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid #ffdccd;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.top-link {
  font-size: 13px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.top-link:hover { color: var(--brand); }
.privacy-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(18, 160, 92, .14);
}
.top-sep {
  width: 1px;
  height: 13px;
  background: var(--line);
}
.top-dl {
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-weight: 500;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.top-dl:hover {
  border-color: #ffcdb8;
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(232, 73, 15, .1);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 320px at 12% -10%, #ffe9dc 0%, rgba(255, 233, 220, 0) 65%),
    radial-gradient(700px 280px at 88% -20%, #ffeef0 0%, rgba(255, 238, 240, 0) 60%),
    #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 24, 28, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 24, 28, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(520px 240px at 50% 0%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(520px 240px at 50% 0%, #000 0%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 24px 34px;
  text-align: center;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: 33px;
  line-height: 1.25;
  letter-spacing: -.8px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  margin: 0 auto;
  max-width: 620px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  font-size: 12px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ============ 主体 ============ */
.page { max-width: 1120px; margin: 0 auto; padding: 30px 24px 60px; }

.section { margin-bottom: 34px; }
.section-head {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 14px;
}
.section-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.section-head span { font-size: 12px; color: var(--muted); }
.section-head::before {
  content: "";
  width: 3px; height: 14px;
  border-radius: 2px;
  background: linear-gradient(var(--brand-2), var(--brand));
  align-self: center;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 860px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tool-grid { grid-template-columns: 1fr; }
}

.tool-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: #ffcbb4;
  box-shadow: var(--shadow-md);
}
.tool-card:hover .tool-icon { background: var(--brand); color: #fff; border-color: var(--brand); }
.tool-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid #ffe3d7;
  transition: background .18s, color .18s, border-color .18s;
}
.tool-meta { min-width: 0; }
.tool-name {
  font-size: 14px; font-weight: 650;
  margin: 1px 0 2px;
  display: flex; align-items: center; gap: 6px;
}
.tool-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pill {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 5px;
  padding: 0 5px;
  line-height: 15px;
}
/* ============ 工作台 ============ */
.workbench { max-width: 1120px; width: 100%; margin: 0 auto; padding: 22px 24px 70px; }

.wb-head { margin-bottom: 18px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-2);
  background: none; border: 0; padding: 6px 0;
}
.back-btn:hover { color: var(--brand); }
.wb-title { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.wb-title .tool-icon { width: 46px; height: 46px; border-radius: 13px; }
.wb-title h2 { margin: 0; font-size: 21px; letter-spacing: -.4px; }
.wb-title p { margin: 0; font-size: 13px; color: var(--muted); }

.wb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
/* 长文件名的 min-content 不能把整列撑宽 */
.wb-main { min-width: 0; }
@media (max-width: 900px) {
  .wb-body { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 26px; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* 拖放区 */
.dropzone {
  position: relative;
  border: 1.5px dashed #d9dde5;
  border-radius: var(--radius);
  background: #fff;
  padding: 34px 20px;
  text-align: center;
  transition: border-color .16s, background .16s;
}
.dropzone.small {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-align: left;
}
.dropzone.small .dz-icon,
.dropzone.small .dz-sub { display: none; }
.dropzone.small .dz-title { font-size: 13px; font-weight: 550; }
.dropzone.small .dz-btn { margin: 0 0 0 auto; height: 32px; padding: 0 14px; font-size: 12.5px; box-shadow: none; }
.dropzone.dragover {
  border-color: var(--brand);
  background: #fff8f5;
}
.dz-icon {
  width: 46px; height: 46px;
  margin: 0 auto 10px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
}
.dz-title { font-size: 14.5px; font-weight: 600; }
.dz-title b { color: var(--brand); }
.dz-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dz-btn {
  margin-top: 14px;
  height: 38px;
  padding: 0 20px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(232, 73, 15, .24);
}
.dz-btn:hover { filter: brightness(1.04); }
.dz-btn:active { transform: translateY(1px); }

/* 文件列表 */
.files { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.file-badge {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 12px;
  background: var(--line-2);
  color: var(--ink-2);
}
.file-badge.pdf { background: #ffece7; color: #d8410d; }
.file-badge.img { background: #e9f4ff; color: #1a72c9; }
.file-info { min-width: 0; flex: 1; }
.file-name {
  font-size: 13px; font-weight: 550;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-sub { font-size: 11.5px; color: var(--muted); }
.icon-btn {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}
.icon-btn:hover { background: var(--line-2); color: var(--ink); }
.icon-btn.danger:hover { background: #ffeceb; color: var(--err); }
.icon-btn.ord { width: 23px; height: 23px; font-size: 13px; }
.icon-btn.ord:disabled { opacity: .28; cursor: default; }
.icon-btn.ord:disabled:hover { background: transparent; color: var(--muted); }
.file-row[draggable="true"] { cursor: grab; }
.file-row.dragging { opacity: .45; }
.order-no {
  flex: 0 0 auto;
  width: 18px; font-size: 11px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 缩略图（页面管理） */
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  transition: border-color .15s, box-shadow .15s, opacity .15s;
}
.thumb-img {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: #fbfbfc;
}
.thumb canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 22, 28, .12);
}
.thumb .no {
  font-size: 11px; color: var(--muted);
  text-align: center; padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.thumb .thumb-tools {
  display: flex; gap: 3px; justify-content: center;
  margin-top: 4px;
}
.thumb .mini {
  flex: 1 1 auto;
  min-width: 0;
  height: 22px;
  padding: 0 3px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 10.5px;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  line-height: 1;
  white-space: nowrap;
}
.thumb .mini.nav {
  flex: 0 0 17px;
  font-size: 14px;
  color: var(--muted);
}
.thumb .mini.nav:hover { color: var(--brand); border-color: var(--brand); }
.thumb .mini:hover { border-color: var(--brand); color: var(--brand); }
.thumb.deleted { border-color: #f0bcbc; background: #fffafa; }
.thumb.deleted canvas { opacity: .3; filter: grayscale(1); }
.thumb.deleted::after {
  content: "已删除";
  position: absolute; left: 6px; right: 6px; top: 6px;
  height: 22px;
  display: grid; place-items: center;
  background: rgba(217, 58, 58, .92);
  color: #fff;
  font-size: 11px; font-weight: 700;
  border-radius: 5px;
  pointer-events: none;
}
.thumb.dragging { opacity: .3; }
.thumb.drop-target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 73, 15, .12); }
.thumbs-bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; font-size: 12px; color: var(--muted);
  flex-wrap: wrap;
}
.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--brand); font-size: 12px;
}
.link-btn:hover { text-decoration: underline; }

/* 选项卡 */
.wb-side { position: sticky; top: 78px; }
.options { padding: 16px; }
.options h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .2px;
}
.field { margin-bottom: 13px; }
.field:last-child { margin-bottom: 0; }
.field > label {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 5px;
  font-weight: 550;
}
.field .row { display: flex; gap: 8px; align-items: center; }
.field .row > * { flex: 1 1 0; min-width: 0; width: auto; }

input[type="text"], input[type="number"], select, textarea {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-size: 13px;
}
textarea { height: auto; padding: 8px 10px; resize: vertical; }
input[type="text"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
  border-color: #ffb695;
  box-shadow: 0 0 0 3px rgba(232, 73, 15, .1);
}
input[type="color"] {
  width: 100%; height: 34px; padding: 3px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
input[type="range"] { width: 100%; accent-color: var(--brand); }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-val {
  font-size: 12px; color: var(--ink-2);
  min-width: 34px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.seg {
  display: flex;
  background: var(--line-2);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 7px;
  height: 28px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.seg button.active {
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(20, 22, 28, .1);
}
.check {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-2);
  cursor: pointer;
}
.check input { width: 15px; height: 15px; accent-color: var(--brand); }
.hint { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  transition: filter .15s, transform .1s, background .15s;
}
.btn:hover { background: #fafbfc; }
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(232, 73, 15, .24);
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.primary:active { transform: translateY(1px); }
.btn.lg { width: 100%; height: 44px; margin-top: 12px; font-size: 14.5px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; filter: none; }

/* 结果卡 */
.result {
  margin-top: 12px;
  border: 1px solid #cfead9;
  background: #f4fbf7;
  border-radius: 12px;
  padding: 13px 14px;
}
.result .r-title {
  font-size: 13px; font-weight: 650; color: #0d7a46;
  display: flex; align-items: center; gap: 6px;
}
.result .r-sub { font-size: 12px; color: #4b7a63; margin-top: 2px; word-break: break-word; }
.result .btn { margin-top: 10px; height: 34px; }

/* 批量结果：逐条列表 + 打包按钮 */
.result .r-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result .r-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: #fff;
  border: 1px solid #dcefe4;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12.5px;
  color: #2b5241;
}
.result .r-idx {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 4px;
  background: #e8f6ee;
  color: #0d7a46;
  font-size: 11px;
  font-weight: 600;
}
.result .r-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result .r-size { flex: 0 0 auto; color: #6b8b7b; font-size: 11.5px; }
.result .r-dl {
  flex: 0 0 auto;
  height: 25px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #b7dfc8;
  background: #fff;
  color: #0d7a46;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.result .r-dl:hover { background: #e8f6ee; }
.result #dlAll { margin-top: 11px; width: 100%; height: 36px; }

/* 全局遮罩 */
.overlay {
  position: fixed; inset: 0;
  background: rgba(251, 251, 252, .78);
  backdrop-filter: blur(3px);
  display: grid; place-items: center;
  z-index: 90;
}
.spinner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  min-width: 260px;
  text-align: center;
}
.spinner {
  width: 30px; height: 30px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2.5px solid #ffe0d3;
  border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.overlay .msg { font-size: 13.5px; font-weight: 550; }
.bar {
  height: 4px; margin-top: 12px;
  background: var(--line-2); border-radius: 999px; overflow: hidden;
}
.bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border-radius: 999px;
  transition: width .2s;
}

/* Toast */
.toasts {
  position: fixed; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 100;
}
.toast {
  background: #17181c;
  color: #fff;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  animation: rise .22s ease;
  max-width: 78vw;
}
.toast.err { background: #8f2222; }
.toast.ok { background: #0f6b42; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 说明块 */
.notes {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.notes h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.notes ul {
  margin: 0;
  padding-left: 17px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.8;
}
.notes li::marker { color: #c9ccd4; }
.notes b { color: var(--ink); font-weight: 650; }

@media (max-width: 640px) {
  .topbar-inner { padding: 0 14px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 14px; white-space: nowrap; }
  .brand-tag, .top-link.privacy, .top-sep { display: none; }
  .topbar-right { gap: 12px; }
  .top-dl { height: 28px; padding: 0 10px; font-size: 12px; }
  .hero-inner { padding: 30px 16px 26px; }
  .hero h1 { font-size: 23px; letter-spacing: -.4px; }
  .hero p.sub { font-size: 13px; }
  .page, .workbench { padding-left: 14px; padding-right: 14px; }
  .toasts { bottom: 16px; }
  .toast { font-size: 12.5px; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); gap: 8px; }
  .thumb-img { height: 138px; }
  .thumb .mini { height: 24px; font-size: 10px; }
  .file-row { padding: 9px 10px; }
  .options { padding: 14px; }
  .dropzone { padding: 26px 16px; }
  .dz-title { font-size: 13.5px; }
  .seg button { font-size: 12px; }
}

/* 页脚 */
.foot {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 20px 24px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.foot p { margin: 0; }
.foot-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 8px;
  line-height: 1.8;
}
.foot-row + .foot-row { margin-top: 4px; }
.foot-row a { color: var(--muted); transition: color .15s; white-space: nowrap; }
.foot-row a:hover { color: var(--brand); }
.foot .sep { color: #dcdfe6; }
@media (max-width: 640px) {
  .foot { padding: 15px 14px 20px; font-size: 11.5px; }
  /* 手机端：底部信息逐条竖排，共 5 行 */
  .foot-row { flex-direction: column; gap: 2px; line-height: 1.75; }
  .foot-row .sep { display: none; }
  .foot-row + .foot-row { margin-top: 3px; }
}
