/* AI自嗨小说 · 全站样式
   主题：默认「墨夜」，可切换「纸白」；切换后写入 localStorage 全站生效 */

/* 强制 hidden 属性生效：避免被 display:xxx 类覆盖（如 .modal-mask/.login-wrap 的 display:grid） */
[hidden] { display: none !important; }

:root {
  --bg: #0b0d12;
  --bg-soft: #101319;
  --card: #141821;
  --card-2: #1a1f2b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #e8ebf2;
  --text-soft: #a8b1c2;
  --text-dim: #6f7a8d;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --accent: #f0abfc;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --read: "Georgia", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #eef0f6;
  --card: #ffffff;
  --card-2: #f4f6fa;
  --line: rgba(15, 20, 35, .09);
  --line-strong: rgba(15, 20, 35, .18);
  --text: #171b26;
  --text-soft: #4c5568;
  --text-dim: #7c869a;
  --shadow: 0 8px 24px rgba(20, 30, 60, .08);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
img { max-width: 100%; }

::selection { background: rgba(124, 92, 255, .35); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ------------------------------- 布局 ------------------------------- */

.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.wrap-narrow { width: min(880px, 100% - 40px); margin: 0 auto; }

/* ------------------------------- 顶栏 ------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .5px;
  white-space: nowrap;
}

.logo .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(124, 92, 255, .35);
}

.logo .sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.nav a {
  padding: 7px 13px;
  border-radius: 9px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  transition: .16s;
}

.nav a:hover { background: var(--card); color: var(--text); }
.nav a.on { background: var(--card-2); color: var(--text); }

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

/* ------------------------------- 控件 ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: .16s;
  white-space: nowrap;
}

.btn:hover { background: var(--card-2); border-color: var(--text-dim); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--grad);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 92, 255, .3);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-soft); }
.btn-ghost:hover { background: var(--card); color: var(--text); }

.btn-sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn-danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--err) 14%, transparent); }

.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  transition: .16s;
  font-size: 15px;
}
.icon-btn:hover { background: var(--card-2); border-color: var(--text-dim); }

.input, .select, textarea.input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: .16s;
}

.input:focus, textarea.input:focus, .select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .16);
}

textarea.input { resize: vertical; min-height: 92px; line-height: 1.7; }
.input::placeholder { color: var(--text-dim); }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 6px; font-weight: 600; }
label.field .hint { font-size: 12px; color: var(--text-dim); font-weight: 400; margin-top: 5px; line-height: 1.5; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--text-soft);
  background: var(--card);
}

.chip.on { background: color-mix(in srgb, var(--brand) 18%, var(--card)); border-color: var(--brand); color: var(--text); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.muted { color: var(--text-soft); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--mono); }

/* ------------------------------- 首页 ------------------------------- */

.hero {
  padding: 46px 0 30px;
  background: radial-gradient(120% 100% at 20% 0%, rgba(124, 92, 255, .16) 0%, transparent 55%),
              radial-gradient(100% 80% at 90% 10%, rgba(34, 211, 238, .12) 0%, transparent 50%);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -.5px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p { margin: 0 0 22px; color: var(--text-soft); font-size: 16px; max-width: 620px; }

.stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.stat b { display: block; font-size: 22px; letter-spacing: -.5px; }
.stat span { font-size: 12px; color: var(--text-dim); }

.search-row { display: flex; gap: 10px; margin: 22px 0 14px; flex-wrap: wrap; }
.search-row .input { flex: 1; min-width: 220px; }
.search-row .select { width: auto; min-width: 120px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters .chip { cursor: pointer; transition: .16s; }
.filters .chip:hover { border-color: var(--text-dim); }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
  padding-bottom: 50px;
}

.book-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s;
  display: flex;
  flex-direction: column;
}

.book-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.cover {
  aspect-ratio: 3 / 4;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  color: #fff;
  overflow: hidden;
}

.cover::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .55) 100%);
}

.cover > * { position: relative; z-index: 1; }

.cover .cv-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cover .cv-author { font-size: 12px; opacity: .85; margin-top: 6px; }

.cover .cv-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
}

/* 有真实封面图时：图片铺满，徽标仍浮在上层；图加载失败被移除后文字层自动露出 */
.cover .cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cover:has(.cv-img) .cv-title,
.cover:has(.cv-img) .cv-author { display: none; }

/* 创作中心作品行的缩略封面 */
.w-thumb { width: 42px; height: 58px; border-radius: 6px; overflow: hidden; flex: none; align-self: center; background: var(--line); }
.w-thumb .cv-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 工作台封面管理 */
.cover-box { display: flex; gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; background: color-mix(in srgb, var(--text) 3%, transparent); flex-wrap: wrap; align-items: flex-start; }
.cv-preview { width: 160px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; position: relative; flex: none; border: 1px solid var(--line); background: var(--bg-soft); }
.cv-preview .cv-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-preview .cv-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.3; box-sizing: border-box; }
.cv-preview .cv-fallback small { font-weight: 400; font-size: 11px; opacity: .8; margin-top: 4px; }
.cv-ops { flex: 1; min-width: 240px; }

.book-meta { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.book-meta .t { font-weight: 700; font-size: 14px; line-height: 1.35; }
.book-meta .d {
  font-size: 12.5px; color: var(--text-soft); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.book-meta .f { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--text-dim); margin-top: auto; }

/* ------------------------------- 阅读页 ------------------------------- */

.read-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 26px 0 60px; align-items: start; }
@media (max-width: 900px) { .read-layout { grid-template-columns: 1fr; } }

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.toc h3 { margin: 0 0 12px; font-size: 15px; }
.toc ol { list-style: none; margin: 0; padding: 0; }

.toc li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: .14s;
  line-height: 1.4;
}

.toc li a:hover { background: var(--card-2); color: var(--text); }
.toc li a.on { background: color-mix(in srgb, var(--brand) 18%, var(--card)); color: var(--text); font-weight: 600; }

.article { max-width: 760px; }

.article-head { margin-bottom: 26px; }
.article-head h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.4px; }

.prose {
  font-family: var(--read);
  font-size: 17.5px;
  line-height: 1.95;
  letter-spacing: .2px;
  white-space: pre-wrap;
  word-break: break-word;
}

.prose p { margin: 0 0 1.15em; }

.read-tools {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-soft);
}

.chapter-nav { display: flex; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.chapter-nav .btn { flex: 1; }

/* ------------------------------- 创作中心 ------------------------------- */

.page-head { display: flex; align-items: center; gap: 14px; padding: 28px 0 20px; flex-wrap: wrap; }
.page-head h2 { margin: 0; font-size: 24px; letter-spacing: -.4px; }
.page-head .spacer { flex: 1; }

.work-list { display: grid; gap: 12px; padding-bottom: 40px; }

.work-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: .16s;
}

.work-row:hover { border-color: var(--line-strong); }
.work-row .info { flex: 1; min-width: 0; }
.work-row .info h4 { margin: 0 0 4px; font-size: 16px; }
.work-row .info .m { font-size: 12.5px; color: var(--text-dim); display: flex; gap: 12px; flex-wrap: wrap; }
.work-row .acts { display: flex; gap: 8px; flex-wrap: wrap; }

.badge {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--line-strong); color: var(--text-soft);
}
.badge.pub { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.badge.draft { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); }

/* ------------------------------- 工作台 ------------------------------- */

.studio {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.05fr);
  gap: 18px;
  height: calc(100vh - 60px);
  padding: 16px 0;
}

@media (max-width: 1080px) {
  .studio { grid-template-columns: 1fr; height: auto; }
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  flex-shrink: 0;
}

.panel-head h3 { margin: 0; font-size: 14px; font-weight: 700; }
.panel-head .spacer { flex: 1; }

.panel-body { flex: 1; overflow: auto; padding: 16px; min-height: 0; }

/* 技能按钮：紧凑布局，只留图标+名字，描述挪到 title 提示，给对话输出框腾空间 */
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }

.skill-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card-2);
  cursor: pointer;
  transition: .16s;
  text-align: center;
}

.skill-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.skill-btn.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, var(--card)); }
.skill-btn .ic { font-size: 15px; line-height: 1; }
.skill-btn .nm { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.skill-btn .ds { display: none; }

/* 对话流 */
.chat-log { display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }

.msg { display: flex; gap: 10px; }
.msg .avatar {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  display: grid; place-items: center; font-size: 14px;
  background: var(--card-2); border: 1px solid var(--line);
}
.msg.me .avatar { background: var(--grad); border: none; color: #fff; }
.msg .bubble { flex: 1; min-width: 0; }
.msg .who { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.msg .body { white-space: pre-wrap; word-break: break-word; line-height: 1.75; font-size: 14.5px; }
.msg.ai .body { font-family: var(--read); }

.msg .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.cursor {
  display: inline-block; width: 8px; height: 1.05em;
  background: var(--brand-2); vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite; margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.composer { border-top: 1px solid var(--line); padding: 12px 16px; background: var(--bg-soft); flex-shrink: 0; }
.composer textarea { min-height: 76px; max-height: 220px; }
.composer .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.composer .row .spacer { flex: 1; }

.empty {
  text-align: center; padding: 50px 20px; color: var(--text-dim);
}
.empty .big { font-size: 42px; margin-bottom: 10px; }

/* 稿件面板 */
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--bg-soft); flex-shrink: 0; }
.tab {
  padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 13px;
  color: var(--text-soft); white-space: nowrap; border: 1px solid transparent; transition: .14s;
}
.tab:hover { background: var(--card); }
.tab.on { background: var(--card); color: var(--text); border-color: var(--line-strong); font-weight: 600; }

.doc-editor { flex: 1; width: 100%; min-height: 0; padding: 16px 18px; border: none; background: transparent; outline: none; resize: none;
  font-family: var(--read); font-size: 15px; line-height: 1.85; color: var(--text); }

/* 章节编辑器：占满稿件面板剩余高度 */
.ch-edit-box { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 0; }
.ch-edit-box .ch-edit-title { flex-shrink: 0; }
.ch-edit-box .ch-edit-content { flex: 1; min-height: 0; border: 0; background: transparent; outline: none; resize: none;
  padding: 14px 16px; font-family: var(--read); font-size: 15px; line-height: 1.85; color: var(--text); }

.save-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg-soft); flex-shrink: 0; font-size: 12.5px; color: var(--text-dim); }
.save-bar .spacer { flex: 1; }

/* 章节列表 */
.ch-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card-2); margin-bottom: 8px; transition: .14s;
}
.ch-item:hover { border-color: var(--line-strong); }
.ch-item .t { flex: 1; font-size: 14px; cursor: pointer; min-width: 0; }
.ch-item .t:hover { color: var(--brand-2); }
.ch-item .m { font-size: 11.5px; color: var(--text-dim); }

/* ------------------------------- 弹层 ------------------------------- */

.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 7, 12, .68);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fade .16s ease;
}
@keyframes fade { from { opacity: 0; } }

.modal {
  width: min(560px, 100%);
  max-height: 86vh; overflow: auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.modal h3 { margin: 0 0 6px; font-size: 19px; }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* toast */
.toast-host { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  padding: 10px 18px; border-radius: 10px;
  background: var(--card-2); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500;
  animation: pop .2s ease;
}
.toast.ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.toast.err { border-color: color-mix(in srgb, var(--err) 50%, transparent); color: var(--err); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } }

/* 设置页 */
.set-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 26px 0 60px; align-items: start; }
@media (max-width: 860px) { .set-grid { grid-template-columns: 1fr; } }

.set-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 76px; }
.set-nav a { padding: 9px 13px; border-radius: 9px; color: var(--text-soft); font-size: 14px; transition: .14s; }
.set-nav a:hover { background: var(--card); color: var(--text); }
.set-nav a.on { background: var(--card); color: var(--text); font-weight: 600; }

.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.preset {
  padding: 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card-2); cursor: pointer; transition: .16s;
}
.preset:hover { border-color: var(--brand); transform: translateY(-2px); }
.preset b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.preset span { font-size: 11.5px; color: var(--text-dim); font-family: var(--mono); }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); display: inline-block; }
.status-dot.ok { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.status-dot.err { background: var(--err); }

.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--text-dim); font-size: 13px; }
.foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
