/* 由 build-css.php 生成，请勿直接编辑；改源文件后重新运行构建。 */

/* ===== theme-module.css ===== */
/* ==========================================================================
   全站主题 v4 · 模块覆盖层
   加载顺序：site.css → theme.css → 各模块自己的 css → 本文件
   目的：把会员中心 / 工具箱 / 社交模块里硬编码的 #2563eb 蓝、6~10px 小圆角，
   统一到 theme.css 的靛蓝与圆角体系。只覆盖颜色、圆角、边框与按钮形态。
   ========================================================================== */

/* ---------- 会员中心（member.css） ---------- */
.mf-body{
  background:transparent;          /* 去掉内层再画一遍的画布，白卡由 #page-bg 提供 */
  padding:2px 0 0;
  min-height:0;
}
.mf-title{
  font-family:var(--serif);
  font-size:21px;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--ink);
  padding-left:13px;
}
.mf-title::before{
  width:3px; height:18px; margin-top:-9px;
  background:var(--primary);
}
.mf-desc{ color:var(--muted); }
.mf-field{ margin-bottom:12px; }
.mf-field label{ color:var(--ink-2); font-size:13px; }
.mf-field input[type="text"],
.mf-field input[type="password"],
.mf-field input[type="email"],
.mf-field textarea,
.mf-field select{
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  padding:7px 11px;
  font-size:13.5px;
}
.mf-field input:focus,
.mf-field textarea:focus,
.mf-field select:focus{
  border-color:#a9b5ea;
  box-shadow:0 0 0 3px rgba(83,101,233,.12);
}
.mf-hint{ color:var(--muted); }
.mf-btn{
  height:38px; padding:0 20px;
  font-size:13.5px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  background:var(--primary);
  font-weight:600;
  box-shadow:var(--btn-shadow);
  transition:background .16s ease;
}
.mf-btn:hover{ background:var(--primary-dark); }
.mf-btn-ghost{ background:var(--soft); color:var(--ink-2); box-shadow:none; }
.mf-btn-ghost:hover{ background:#e4e8fb; color:var(--ink); }
.mf-btn-danger{ background:#d9534f; box-shadow:none; }
.mf-btn-danger:hover{ background:#c0453f; }
.mf-links{ color:var(--muted); }
.mf-links a{ color:var(--primary); }
.mf-empty a{ color:var(--primary); }
.mf-field input:focus,
.mf-field textarea:focus{ border-color:#a9b5ea; box-shadow:0 0 0 3px rgba(83,101,233,.12); }
.mf-card{ border-radius:16px; border-color:var(--line); }
.mf-card:hover{ border-color:#d5dbf0; }
.mf-stat{ background:#f8f9fe; border-color:var(--line); }
.mf-stat b{ color:var(--primary); }

/* ---------- 工具箱（toolbox.css） ---------- */
.tb-card{
  border-radius:16px;
  border-color:var(--line);
  background:#fff;
  box-shadow:0 1px 2px rgba(41,53,115,.04);
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.tb-card:hover{
  border-color:#d5dbf0;
  box-shadow:0 14px 30px -18px rgba(41,53,115,.35);
  transform:translateY(-1px);
}
.tb-card-name{ color:var(--ink); font-size:13.5px; }
.tb-card-desc{ color:var(--muted); }
.tb-glyph{
  background:var(--soft);
  border-radius:10px;
  color:var(--primary-dark);
}
.tb-actions .tb-btn,
.tb-actions button,
.tb-live-actions .tb-btn,
.tb-actions input[type="submit"]{
  border-radius:999px;
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
  box-shadow:var(--btn-shadow);
}
.tb-actions .tb-btn:hover,
.tb-actions button:hover{ background:var(--primary-dark); border-color:var(--primary-dark); }
.tb-back{ color:var(--muted); }
.tb-back:hover{ color:var(--primary); }
.tb-note{ border-radius:12px; border-color:var(--line); background:#f8f9fe; color:var(--ink-2); }
.tb-note-tip{ background:#fbf7ee; border-color:#f0e4cc; color:#7a6132; }

/* ---------- 社交模块（sns.css） ---------- */
.sns-nav{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px;
  gap:2px;
}
.sns-nav-a{
  border-radius:999px;
  color:var(--ink-2);
  font-weight:400;
}
.sns-nav-a:hover{ background:var(--soft); color:var(--primary); }
.sns-hero{
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(135deg,#f7f9ff 0%,#eef1fd 100%);
}
.sns-card,
.sns-article,
.sns-group,
.sns-album,
.sns-photo,
.sns-task{
  border-color:var(--line);
  border-radius:16px;
}
.sns-group:hover{ border-color:#d5dbf0; background:#fcfdff; }
.sns-btn{
  border-radius:999px;
  background:var(--primary);
  font-weight:600;
  box-shadow:0 4px 10px rgba(83,101,233,.18);
}
.sns-btn:hover{ background:var(--primary-dark); }
.sns-btn-ghost{ background:var(--soft); color:var(--ink-2); box-shadow:none; }
.sns-btn-ghost:hover{ background:#e4e8fb; color:var(--ink); }
.sns-btn-danger{ background:#d9534f; }
.sns-btn-danger:hover{ background:#c0453f; }
.sns-stat{ background:#f8f9fe; border-color:var(--line); border-radius:12px; }
.sns-stat:hover{ background:#fff; border-color:#d5dbf0; }
.sns-sec-title{ color:var(--ink); font-family:var(--serif); font-weight:600; }
.sns-sub{ color:var(--muted); }
.sns-form input[type="text"],
.sns-form input[type="password"],
.sns-form input[type="email"],
.sns-form textarea,
.sns-form select{
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}
.sns-form input:focus,
.sns-form textarea:focus{ border-color:#a9b5ea; }
.sns-page-link,.sns-page-num,.sns-jump-btn{ border-radius:999px; }
.sns-page-num.current{ background:var(--primary); border-color:var(--primary); color:#fff; }
.sns-sub a.on{ background:var(--primary); border-color:var(--primary); color:#fff; }
.sns-sub a.sns-btn{ background:var(--primary); border-color:var(--primary); color:#fff; }
.sns-sub a.sns-btn:hover{ background:var(--primary-dark); border-color:var(--primary-dark); color:#fff; }
.sns-jump-btn{ background:var(--primary); border-color:var(--primary); }
.sns-empty{ color:var(--muted); }
.sns-note{ border-radius:12px; border-color:var(--line); background:#f8f9fe; }

@media (max-width:768px){
  .mf-title{ font-size:18.5px; }
}

/* ===== polish.css ===== */
/* ==========================================================================
   细节层 v5（2026-12）
   加载顺序：site.css → theme.css → 模块 css → theme-module.css → 本文件
   只做三件事：把字号收敛成整数阶、把控件/提示条/表格的细节统一、
   给账号类页面（登录/注册/重发激活/邮箱验证）一条整齐的版心。
   不改任何页面结构，也不动后台。
   ========================================================================== */

/* ---------- 令牌：更轻的投影、更清楚的描边 ---------- */
:root{
  --line:#e5e8f1;
  --line-strong:#dfe3ef;
  --card-shadow:0 18px 40px rgba(41,53,115,.08),0 2px 6px rgba(41,53,115,.04);
  --btn-shadow:0 6px 14px rgba(83,101,233,.18);
  --radius-card:20px;
  --radius-block:12px;
  --radius-ctl:8px;
}

body{ font-size:14px; line-height:1.75; }
::selection{ background:rgba(83,101,233,.18); }

/* ---------- 1. 字号阶：28 / 21 / 17 / 14 / 13 / 12 ---------- */
#menu a{ font-size:13px; }
#footer .foot-links{ font-size:13px; }
#footer .foot-note{ font-size:12px; }
.mf-field label{ font-size:13px; }
.mf-hint{ font-size:12px; }
.mf-links{ font-size:13px; }
.mf-flash{ font-size:13px; }
.doc .doc-note{ font-size:12px; }
.doc .doc-faq dt{ font-size:14px; }
.tb-card-name{ font-size:14px; }
/* 桌面端输入框统一 14；移动端仍留给 member.css 的 16（iOS 聚焦不放大） */
@media (min-width:821px){
  .mf-field input[type="text"],
  .mf-field input[type="password"],
  .mf-field input[type="email"],
  .mf-field input[type="number"],
  .mf-field select,
  .mf-field textarea{ font-size:14px; }
}

/* ---------- 2. 输入控件 ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="url"], input[type="number"], select, textarea{
  box-sizing:border-box;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-ctl);
  background-color:#fff;
  color:var(--ink);
  font-size:14px;
  box-shadow:inset 0 1px 2px rgba(32,37,58,.03);
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="url"], input[type="number"], select{
  height:36px;
  padding:0 12px;
}
textarea{
  min-height:96px;
  padding:8px 12px;
  line-height:1.7;
}
/* 会员模块里的字段：同权重覆盖，保证 36 高、上下对称 */
.mf-field input[type="text"],
.mf-field input[type="password"],
.mf-field input[type="email"],
.mf-field input[type="number"],
.mf-field select{
  height:36px;
  padding:0 12px;
}
.mf-field textarea{
  height:auto;
  padding:8px 12px;
}
input:focus, select:focus, textarea:focus,
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus{
  border-color:#8f9ce8;
  box-shadow:0 0 0 3px rgba(83,101,233,.14);
  outline:none;
}
input::placeholder, textarea::placeholder{ color:#9aa2b8; }
input:disabled, select:disabled, textarea:disabled{
  background:#f5f6fa; color:#9aa2b8; cursor:not-allowed;
}
/* Chrome 自动填充的蓝底：新版 :autofill 与旧版伪类分开写，避免老浏览器整条规则失效 */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  box-shadow:0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color:var(--ink) !important;
  caret-color:var(--ink);
  transition:background-color 99999s ease-out 0s;
}
input:autofill, input:autofill:hover, input:autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  box-shadow:0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color:var(--ink) !important;
  caret-color:var(--ink);
  transition:background-color 99999s ease-out 0s;
}
/* 下拉箭头自己画，三套浏览器一个样 */
select{
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2369728c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:10px 6px;
  padding-right:34px;
}
input[type="checkbox"], input[type="radio"]{
  width:16px; height:16px;
  accent-color:var(--primary);
  vertical-align:-3px;
}

/* ---------- 3. 按钮：只有主按钮带投影 ---------- */
input[type="submit"], button.button, input.button, .btn, .mf-btn{
  box-sizing:border-box;
  height:38px;
  min-height:0;
  padding:0 20px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  box-shadow:none;
  transition:background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .06s ease;
}
input[type="submit"], button.button, input.button, .btn,
.mf-btn:not(.mf-btn-ghost):not(.mf-btn-line):not(.mf-btn-danger){
  background:var(--primary);
  border:1px solid var(--primary);
  color:#fff;
  box-shadow:var(--btn-shadow);
}
input[type="submit"]:hover, button.button:hover, input.button:hover, .btn:hover,
.mf-btn:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}
.mf-btn-ghost, .mf-btn-line{
  background:#fff;
  border:1px solid var(--line-strong);
  color:var(--ink-2);
  box-shadow:none;
}
.mf-btn-ghost:hover, .mf-btn-line:hover{
  background:#f7f8fd;
  border-color:#c9d0ea;
  color:var(--ink);
}
.mf-btn-danger{ background:#c0453f; border-color:#c0453f; box-shadow:none; }
.mf-btn-danger:hover{ background:#a83a35; border-color:#a83a35; }
input[type="submit"]:active, button:active, .btn:active, .mf-btn:active{
  transform:translateY(1px);
  box-shadow:none;
}
/* 卡片里的小按钮保持紧凑 */
.mf-btn.mf-btn-mini, .mf-btn-mini{
  height:30px; min-height:30px; padding:0 12px; font-size:12px; border-radius:999px;
}

/* ---------- 4. 圆角与层次 ---------- */
#page-bg{ border-radius:var(--radius-card); }
.mf-card, .tb-card, .sns-hero{ border-radius:var(--radius-block); }
.tb-glyph{ border-radius:var(--radius-ctl); }
.tb-card{ box-shadow:0 6px 18px rgba(41,53,115,.05); }
.tb-card:hover{ transform:none; box-shadow:0 12px 26px -18px rgba(41,53,115,.32); }
.doc-links a, .doc-table th{ border-radius:0; }
.doc-links a{ border-radius:999px; }

/* ---------- 5. 表格：只留横线 ---------- */
table{ border-collapse:collapse; }
table th, table td, .doc-table th, .doc-table td{
  border-left:0;
  border-right:0;
  border-top:0;
  border-bottom:1px solid var(--line);
}
table thead th, .doc-table thead th{ border-top:1px solid var(--line); }
table th, .doc-table th{ background:#f8f9fe; font-weight:600; }

/* ---------- 6. 提示条：底色淡、左侧一条色标 ---------- */
.mf-flash{
  position:relative;
  padding:10px 14px 10px 16px;
  border-radius:var(--radius-block);
  line-height:1.7;
}
.mf-flash::before{
  content:"";
  position:absolute; left:0; top:10px; bottom:10px;
  width:3px; border-radius:3px;
  background:currentColor; opacity:.55;
}
.mf-flash-ok{ background:#f2fbf5; border:1px solid #d9efdf; color:#1a6b46; }
.mf-flash-err{ background:#fef6f6; border:1px solid #f6dede; color:#a83a3a; }
.mf-flash-warn{ background:#fdf9f0; border:1px solid #f1e6cc; color:#8a6320; }
.mf-ts-off{
  background:#f8f9ff;
  border:1px solid #e2e6fa;
  border-radius:var(--radius-block);
  padding:14px 16px 12px;
}
.mf-ts-off b{ color:var(--ink); }
.mf-ts-off p{ color:var(--muted); }

/* ---------- 7. 账号页：一条版心，所有元素同左基线 ---------- */
body.auth #page-bg{
  box-sizing:border-box;
  width:520px;
  max-width:calc(100% - 32px);
  margin:10px auto 0;
  padding:30px 32px 28px;
}
body.auth .mf-body{
  max-width:360px;
  margin:0 auto;
  padding:0;
  min-height:0;
  background:transparent;
}
/* 只有状态块、没有表单的账号页：整列放宽一点，长句和按钮不挤 */
body.auth .mf-body:has(.mf-status){ max-width:440px; }
body.auth .mf-body > .mf-status:first-child{ margin-top:0; }
body.auth .mf-form{ max-width:none; }
body.auth .mf-desc{ max-width:34em; }
body.auth .mf-card{ max-width:none; margin:0; }
/* 兼容没有 .mf-status 的旧提示块 */

/* 状态块：激活成功 / 重发成功 / 邮箱验证 */
.mf-status{
  margin:22px 0 0;
  padding:18px 20px 16px;
  background:#f8f9ff;
  border:1px solid #e2e6fa;
  border-radius:var(--radius-block);
}
.mf-status-head{ display:flex; align-items:center; gap:10px; }
.mf-status-ico{
  flex:0 0 26px; width:26px; height:26px; border-radius:50%;
  background:#e7ebff; color:var(--primary-dark);
  font-size:13px; font-weight:700; line-height:26px; text-align:center;
}
.mf-status-title{
  font-size:16px; font-weight:600; letter-spacing:.01em; color:var(--ink); line-height:1.4;
}
.mf-status-body{
  margin:12px 0 0;
  font-size:14px; line-height:1.8; color:var(--ink-2);
}
.mf-status-body b{ color:var(--ink); font-weight:600; }
.mf-status-actions{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  margin-top:16px;
}
.mf-status-foot{
  margin:14px 0 0; padding-top:12px;
  border-top:1px solid #eaedfb;
  font-size:12px; line-height:1.7; color:var(--muted);
}
.mf-status.is-err{ background:#fdf7f7; border-color:#f3dede; }
.mf-status.is-err .mf-status-ico{ background:#fbe7e7; color:#b0463f; }
.mf-status.is-warn{ background:#fdfaf3; border-color:#f1e6cc; }
.mf-status.is-warn .mf-status-ico{ background:#faf0da; color:#8a6320; }

/* 状态页底部的弱动作 */
body.auth .mf-links{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 14px;
  margin-top:18px;
  color:var(--muted);
}
body.auth .mf-links a{ color:var(--primary); }
body.auth .mf-links a:hover{ color:var(--primary-dark); text-decoration:underline; text-underline-offset:2px; }

/* ---------- 8. 说明页段落节奏 ---------- */
.doc p{ margin:0 0 .85em; }
.doc li{ margin:5px 0; }
.doc h2{ margin:32px 0 12px; padding-top:20px; }

/* ---------- 移动端 ---------- */
@media (max-width:820px){
  body.auth #page-bg{
    max-width:calc(100% - 24px);
    padding:22px 18px 24px;
    border-radius:16px;
  }
  body.auth .mf-body{ max-width:none; }
  .mf-status{ padding:16px 16px 14px; }
  .mf-status-actions .mf-btn{ flex:1 1 auto; }
}

/* 文件选择框：原生「选择文件 / 未选择任何文件」太毛，换成胶囊按钮 */
input[type="file"]{ font-size:12px; color:var(--muted); }
input[type="file"]::file-selector-button{
  margin-right:10px;
  height:30px; padding:0 14px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:#fff;
  color:var(--ink-2);
  font-family:inherit;
  font-size:12px;
  cursor:pointer;
  transition:background-color .15s ease, border-color .15s ease;
}
input[type="file"]::file-selector-button:hover{
  background:#f7f8fd; border-color:#c9d0ea; color:var(--ink);
}

/* ==========================================================================
   9. 图标只有一个体系：字符徽记
   全站不引入图标字体，也不画二十多套线性图标——工具箱每个工具用一枚
   同尺寸、同描边、同字体的「字符徽记」，其余位置一律纯文字。
   ========================================================================== */
.tb-glyph{
  width:30px; height:30px;
  border:1px solid #e2e6fa;
  border-radius:9px;
  background:#fbfcff;
  color:var(--primary-dark);
  font-family:var(--serif);
  font-size:16px; font-weight:500; line-height:28px;
  box-shadow:none;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease;
}
.tb-card:hover .tb-glyph{ background:#f5f7ff; border-color:#c9d0ea; color:var(--primary); }

/* ==========================================================================
   10. 资料页分段导航：一条可横向滚动的胶囊条，滚动时标出当前段
   ========================================================================== */
.mf-links-inline{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; }
.mf-links-inline a{ color:var(--primary); }
.mf-links-inline a:hover{ color:var(--primary-dark); text-decoration:underline; text-underline-offset:2px; }

.sns-sub.sns-sub-tabs{
  position:sticky; top:12px; z-index:20;
  display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:2px;
  width:fit-content; max-width:100%;
  margin:0 0 18px; padding:5px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:0 6px 18px rgba(41,53,115,.05);
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.sns-sub.sns-sub-tabs::-webkit-scrollbar{ display:none; }
.sns-sub.sns-sub-tabs a{
  flex:0 0 auto;
  height:30px; line-height:18px;
  padding:6px 13px;
  border:0; border-radius:999px;
  background:transparent;
  color:var(--ink-2);
  font-size:13px;
  text-decoration:none;
}
.sns-sub.sns-sub-tabs a:hover{ background:var(--soft); color:var(--primary); }
.sns-sub.sns-sub-tabs a.on{ background:#e6eaff; color:#3343c4; font-weight:600; }
.sns-sub.sns-sub-tabs a.sns-btn{ background:var(--primary); color:#fff; }
[id^="sec-"]{ scroll-margin-top:76px; }

/* ==========================================================================
   11. 窄屏导航：注册胶囊移到 logo 行右侧，文字导航留在一行
   ========================================================================== */
@media (max-width:560px){
  #container{ position:relative; }
  #menu ul{ column-gap:10px; }
  #menu li.nav-register{ position:absolute; top:18px; right:18px; margin:0; }
  #menu li.nav-register a{ margin-left:0; padding:7px 16px; }

  /* 分段条在窄屏改为两行软胶囊，避免横向被裁掉 */
  .sns-sub.sns-sub-tabs{
    position:static; width:100%; flex-wrap:wrap; gap:6px;
    padding:0; border:0; background:transparent; box-shadow:none; border-radius:0;
  }
  .sns-sub.sns-sub-tabs a{ background:#f5f7ff; border:1px solid #e9edfb; }
  .sns-sub.sns-sub-tabs a.on{ background:#e2e8ff; border-color:#ccd5f7; color:#3343c4; }

  /* 卡片标题旁的限制说明在窄屏另起一行，标题不再被挤成两字 */
  .sns-card > h3{ display:block; }
  .sns-card > h3 small{ display:block; margin-top:3px; }
}

/* ==========================================================================
   12. 登录 / 注册：表单页骨架
   一条 440 的卡、34 内衬、内容不再二次缩进；顶部一行返回+眉标，
   标题下一句说明，字段 18 间距、40 高，主按钮通栏，底部一条浅色动作条。
   ========================================================================== */
/* 默认仍是账号页的 520 版心；只有登录/注册两页收窄到 440 并换骨架 */
body.auth #page-bg:has(.auth-top){
  width:440px;
  padding:30px 34px 26px;
}
body.auth #page-bg:has(.auth-top):has(.mf-status){
  width:520px;
  padding:30px 32px 28px;
}
/* 登录/注册内容铺满卡片；重发激活等页仍用原来的 360 */
body.auth #page-bg:has(.auth-top):has(.mf-form) .mf-body{ max-width:none; margin:0; }
body.auth #page-bg:has(.auth-top) .mf-body:has(.mf-status){ max-width:none; }

.auth-top{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin:0 0 16px;
}
.auth-back{
  display:inline-flex; align-items:center; gap:5px;
  font-size:12px; line-height:1.4; color:var(--muted);
  text-decoration:none;
}
.auth-back:hover{ color:var(--primary); text-decoration:none; }
.auth-eyebrow{
  font-size:9.5px; line-height:1.4; letter-spacing:.16em;
  color:#98a0b6; font-weight:600; text-transform:uppercase;
  white-space:nowrap;
}
body.auth #page-bg:has(.auth-top) .mf-title{
  margin:0 0 7px; padding-left:0;
  font-size:23px; line-height:1.35; letter-spacing:0;
}
body.auth #page-bg:has(.auth-top) .mf-title::before{ display:none; }
.auth-lead{
  margin:0 0 20px;
  font-size:13px; line-height:1.75; color:#5f6880;
  text-wrap:balance;
}
body.auth .mf-field{ margin:0 0 16px; }
body.auth .mf-field label{
  margin:0 0 7px;
  font-size:13px; font-weight:600; color:var(--ink-2);
}
body.auth .mf-field input[type="text"],
body.auth .mf-field input[type="password"],
body.auth .mf-field input[type="email"]{
  height:40px; padding:0 13px;
  font-size:14px; border-radius:9px;
}
/* member.css 只给 text/password 设了 100%，邮箱框在重发激活页会缩成默认 20 字符 */
body.auth .mf-field input[type="email"]{ width:100%; box-sizing:border-box; }
body.auth .mf-hint{
  margin:6px 0 0;
  font-size:12.5px; line-height:1.65; color:#6b7488;
  text-wrap:balance;
}
body.auth .mf-ts-field{ margin-bottom:22px; }
.auth-submit{
  display:flex; width:100%; height:40px; margin:2px 0 0;
  border-radius:10px; font-size:14px; letter-spacing:.04em;
}
/* 通栏按钮的投影比小胶囊再轻一点（选择器带 id，压过 .mf-btn:not(...) 的全局投影） */
body.auth #page-bg .auth-submit{ box-shadow:0 4px 10px rgba(83,101,233,.14); }
.auth-note{
  margin:10px 0 0;
  font-size:11.5px; line-height:1.65; color:#8b93ab; text-align:center;
}
.auth-note-second{ display:inline; }
.auth-foot{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:6px 16px;
  margin:20px -34px -26px; padding:12px 34px 13px;
  background:#f8f9fe; border-top:1px solid var(--line);
  border-radius:0 0 19px 19px;
  font-size:12.5px; line-height:1.6; color:var(--muted);
}
.auth-foot a{ color:var(--primary); text-decoration:none; }
.auth-foot a:hover{ color:var(--primary-dark); text-decoration:underline; text-underline-offset:2px; }

.auth-err{ margin:6px 0 0; font-size:12.5px; line-height:1.6; color:#b0463f; }
body.auth .mf-field.has-err input{ border-color:#e2b6b6; background:#fffafa; }
body.auth .mf-field.has-err input:focus{ border-color:#d99b9b; box-shadow:0 0 0 3px rgba(176,70,63,.10); }
.auth-flash{ margin:0 0 18px; }

/* 在注册页时，右上角「注册会员」不再是催注册的实心按钮，而是当前态 */
#menu li.nav-register a.on{
  background:#eef1ff; border-color:#d9e0ff; color:var(--primary-dark);
  box-shadow:none;
}
#menu li.nav-register a.on:hover{
  background:#e6eaff; border-color:#ccd5f7; color:var(--primary-dark);
}

@media (max-width:820px){
  body.auth #page-bg:has(.auth-top){ padding:26px 20px 22px; }
  body.auth #page-bg:has(.auth-top):has(.mf-status){ width:auto; padding:22px 18px 24px; }
  .auth-foot{ margin:22px -20px -22px; padding:12px 20px 13px; }
  body.auth #page-bg:has(.auth-top) .mf-title{ font-size:21px; }
}
@media (max-width:560px){
  .auth-top{ margin-bottom:14px; }
  .auth-eyebrow{ font-size:8.5px; letter-spacing:.12em; }
  .auth-lead{ margin-bottom:20px; }
  .auth-note{ font-size:11px; }
  .auth-note-second{ display:block; }
}
@media (max-width:360px){
  .auth-eyebrow{ display:none; }
  body.auth .mf-field input::placeholder{ font-size:12px; }
  .auth-foot{ flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:6px; }
}


/* ===== footer.css ===== */
/* ============================================================
   页脚 v2：安全提示 + 居中导航 + 平铺语言 + 版权行
   参考 taourl.de 的页脚结构，按传图的靛蓝配色重做。
   ============================================================ */

/* 安全提示卡：放在 #page 内、白卡之后，宽度与页脚 960 版心一致 */
.site-safety {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
    margin: 30px auto 0;
    padding: 17px 19px;
    border: 1px solid #ececf4;
    border-radius: 15px;
    background: #fafaff;
    color: #68718a;
    font-size: 13px;
    line-height: 1.75;
    text-align: left;
}
.site-safety strong {
    flex: 0 0 auto;
    color: #454e6d;
    font-weight: 600;
}
.site-safety span {
    flex: 1 1 auto;
    min-width: 0;
}

/* 页脚主体：居中，宽度跟首页版心 960 对齐 */
#footer {
    width: 100%;
    max-width: 960px;
    margin: 30px auto 0;
    padding: 26px 0 34px;
    border-top: 1px solid #e6e9f2;
    color: #7e879c;
    font-size: 13px;
    line-height: 1.75;
    text-align: center;
}

#footer .ft-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 22px;
    margin: 0;
}

#footer .ft-links > a {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
}
#footer .ft-links > a:hover {
    color: #5365e9;
    text-decoration: none;
}
#footer .ft-links > a.ft-en {
    color: #5365e9;
}

#footer .ft-lang {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px 13px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}
#footer .ft-lang a,
#footer .ft-lang .ft-lang-on {
    color: #8a94a8;
    text-decoration: none;
    white-space: nowrap;
}
#footer .ft-lang a:hover {
    color: #5365e9;
}
#footer .ft-lang .ft-lang-on {
    color: #5365e9;
    font-weight: 600;
}

#footer .ft-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 20px;
    margin-top: 8px;
    text-align: center;
}
#footer .ft-brand {
    color: #7e879c;
    font-size: 12.5px;
}
#footer .ft-brand a {
    color: #7e879c;
    text-decoration: none;
}
#footer .ft-brand a:hover {
    color: #5365e9;
}
#footer .ft-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 14px;
    font-size: 11.5px;
    line-height: 1.65;
}
#footer .ft-legal a {
    color: #94a3b8;
    text-decoration: none;
}
#footer .ft-legal a:hover {
    color: #5365e9;
}

@media (max-width: 768px) {
    .site-safety {
        flex-direction: column;
        margin: 22px 0 0;
        padding: 14px 15px;
        gap: 5px;
        border-radius: 12px;
        font-size: 12.5px;
        line-height: 1.65;
    }
    .site-safety span {
        width: 100%;
    }

    #footer {
        max-width: none;
        margin: 24px 0 0;
        padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
    }
    #footer .ft-links {
        gap: 8px 16px;
    }
    #footer .ft-lang {
        flex-basis: 100%;
        gap: 6px 12px;
        margin-top: 2px;
    }
    #footer .ft-bottom {
        display: block;
        margin-top: 12px;
    }
    #footer .ft-legal {
        margin-top: 5px;
    }
}

/* ===== depth.css ===== */
/* ==========================================================================
   大框架轻立体层（2026-12-03）
   沿用首页上传核心卡的视觉语言：冷白渐变纸面、极淡蓝紫渐变描边、
   底部实体边、远近两层阴影、内侧 1px 高光。
   只作用于页面级大框与首页大块；工具小卡、列表小卡、按钮保持平面，
   避免整页都是立体件，反而失去层次。
   ========================================================================== */

:root{
  --depth-border:linear-gradient(145deg,
    rgba(255,255,255,.98) 0%,
    rgba(214,221,246,.92) 36%,
    rgba(83,101,233,.24) 100%);
  --depth-paper:linear-gradient(180deg,#ffffff 0%,#fbfcff 58%,#f8f9fe 100%);
}

/* 页面级主卡：工具箱 / 会员中心 / FAQ / 登录 / 社交页等
   首页 #page-bg 内已有上传卡，排除，避免两层立体叠加 */
#page-bg:not(:has(.hv-upload)){
  position:relative;
  border:1px solid transparent;
  background:var(--depth-paper) padding-box,var(--depth-border) border-box;
  box-shadow:
    0 3px 0 rgba(219,224,242,.95),
    0 38px 72px -38px rgba(41,53,115,.34),
    0 16px 30px -22px rgba(83,101,233,.18),
    0 4px 10px rgba(41,53,115,.05),
    inset 0 1px 0 rgba(255,255,255,.98);
}
#page-bg:not(:has(.hv-upload))::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(255,255,255,.32);
}

/* 首页三块特性卡：比主卡轻一档 */
.hv-features > div{
  position:relative;
  border:1px solid transparent;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 70%,#f8f9fe 100%) padding-box,var(--depth-border) border-box;
  box-shadow:
    0 2px 0 rgba(219,224,242,.9),
    0 18px 36px -24px rgba(41,53,115,.28),
    0 6px 14px -10px rgba(83,101,233,.12),
    inset 0 1px 0 rgba(255,255,255,.98);
}

/* 首页 VIP 大块：与主卡同档，左右两栏结构不变 */
.vp-c{
  box-sizing:border-box;
  position:relative;
  border:1px solid transparent;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 60%,#f8f9fe 100%) padding-box,var(--depth-border) border-box;
  box-shadow:
    0 3px 0 rgba(219,224,242,.95),
    0 32px 60px -32px rgba(41,53,115,.3),
    0 14px 26px -20px rgba(83,101,233,.16),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.vp-c::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}

/* 全站安全提示条：长条只做薄边，避免厚重 */
#page .site-safety{
  border:1px solid transparent;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%) padding-box,var(--depth-border) border-box;
  box-shadow:
    0 2px 0 rgba(219,224,242,.9),
    0 14px 28px -22px rgba(41,53,115,.2),
    inset 0 1px 0 rgba(255,255,255,.98);
}

@media (max-width:820px){
  #page-bg:not(:has(.hv-upload)){
    box-shadow:
      0 2px 0 rgba(219,224,242,.9),
      0 26px 48px -34px rgba(41,53,115,.3),
      0 10px 20px -18px rgba(83,101,233,.14),
      inset 0 1px 0 rgba(255,255,255,.98);
  }
  .hv-features > div{
    box-shadow:
      0 1px 0 rgba(219,224,242,.9),
      0 12px 24px -20px rgba(41,53,115,.24),
      inset 0 1px 0 rgba(255,255,255,.98);
  }
  .vp-c{
    box-shadow:
      0 2px 0 rgba(219,224,242,.9),
      0 22px 42px -30px rgba(41,53,115,.26),
      0 8px 18px -16px rgba(83,101,233,.14),
      inset 0 1px 0 rgba(255,255,255,.98);
  }
  #page .site-safety{
    box-shadow:
      0 1px 0 rgba(219,224,242,.9),
      0 10px 20px -18px rgba(41,53,115,.18),
      inset 0 1px 0 rgba(255,255,255,.98);
  }
}

/* 登录 / 注册等账号页：中间小卡与页头、页尾之间多留一口气
   只改竖向间距，不动卡片宽度、内衬和表单骨架 */
body.auth #page-bg{
  margin-top:42px;
}
body.auth .site-safety{
  margin-top:56px;
}
body.auth #footer{
  margin-top:48px;
}
@media (max-width:820px){
  body.auth #page-bg{
    margin-top:36px;
  }
  body.auth .site-safety{
    margin-top:42px;
  }
  body.auth #footer{
    margin-top:42px;
  }
}
/* 工具箱小方章：只给工具卡的字符徽记一枚轻凸起，整张卡仍是平面
   2px 实体底边 + 极浅投影 + 顶部高光，尺寸 36px，和卡片 12px 圆角同一语言 */
.tb-card .tb-glyph{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  box-sizing:border-box;
  border:1px solid transparent;
  border-radius:10px;
  background:
    linear-gradient(180deg,#fbfdff 0%,#eef4ff 100%) padding-box,
    linear-gradient(145deg,rgba(255,255,255,.98) 0%,rgba(198,208,242,.95) 46%,rgba(83,101,233,.38) 100%) border-box;
  box-shadow:
    0 2px 0 rgba(208,216,240,.92),
    0 7px 13px -8px rgba(41,53,115,.42),
    inset 0 1px 0 rgba(255,255,255,.98);
  color:#3f4ed1;
  font-size:17px;
  font-weight:500;
  line-height:1;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.tb-card:hover .tb-glyph{
  border-color:transparent;
  background:
    linear-gradient(180deg,#ffffff 0%,#f1f6ff 100%) padding-box,
    linear-gradient(145deg,rgba(255,255,255,1) 0%,rgba(194,205,242,.96) 46%,rgba(83,101,233,.44) 100%) border-box;
  box-shadow:
    0 3px 0 rgba(204,213,239,.95),
    0 10px 18px -9px rgba(41,53,115,.48),
    inset 0 1px 0 rgba(255,255,255,1);
  color:#3546c9;
  transform:translateY(-1px);
}
@media (prefers-reduced-motion:reduce){
  .tb-card .tb-glyph{transition:none;}
  .tb-card:hover .tb-glyph{transform:none;}
}
/* 工具箱首页：中间大框架与页头之间再松一档
   只作用于工具列表页（有 .tb-group），不动登录、FAQ 等其它 #page-bg */
#page-bg:has(.tb-group){
  margin-top:24px;
}
@media (max-width:820px){
  #page-bg:has(.tb-group){
    margin-top:20px;
  }
}

/* 上传结果页：白卡离页头再松一档，与工具箱 24/20 同档
   只命中 upload.php 结果页的 .upl-result，不影响会员中心、登录等其它页面 */
#page-bg:has(.upl-result){
  margin-top:24px;
}
@media (max-width:820px){
  #page-bg:has(.upl-result){
    margin-top:20px;
  }
}

/* ===== layout-unify.css ===== */
/* ============================================================
   全站版心统一（2026-12-03）
   以首页 v6 的结构为基准：
   - 页头 76px，42px logo，菜单紧凑
   - 内容框架 1080（#container 含左右 24px 内边距 => 1128）
   - 页脚 / 安全提示 1080
   - 会员中心、个人主页、社交列表的内容列直接 1080
   本文件必须在 depth.css 之后加载，作为全站最后一道版式覆盖。
   ============================================================ */

/* ---------- 1. 公共外壳 ---------- */
#container {
    box-sizing: border-box;
    max-width: 1128px; /* 1080 内容 + 左右各 24 内边距 */
}

#page-bg {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* 登录 / 注册 / 重发激活：表单卡保持窄卡，只让页头页脚与全站同宽 */
#page-bg:has(.mf-form) {
    max-width: 520px;
}

/* 工具台 / 上传结果 / VIP：白卡外框 1080，内部保留 12px 呼吸 */
#page-bg:has(.mf-wrap):not(:has(.mf-form)) {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

/* ---------- 2. 会员中心：所有 tab 都走 1080 透明内容列 ---------- */
body:has(.mf-page-shell) #container {
    max-width: 1128px;
}

#page > #page-bg:has(.mf-member-page),
#page > #page-bg:has(.mf-page-shell) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin: 10px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#page > #page-bg:has(.mf-member-page) .mf-body,
#page > #page-bg:has(.mf-page-shell) .mf-body {
    padding: 0 0 38px;
    background: transparent;
}

/* ---------- 3. 个人主页：268 + 20 + 792 = 1080 ---------- */
#page > #page-bg:has(.sns-space) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin: 10px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#page > #page-bg:has(.sns-space) .mf-wrap,
#page > #page-bg:has(.sns-space) .mf-body {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

#page > #page-bg:has(.sns-space) .sns-space {
    width: 100%;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 20px;
}

/* ---------- 4. 社交列表页：卡片直接 1080 ---------- */
#page-bg:has(.sns-card):not(:has(.vip-wrap)):not(:has(.sns-space)),
#page-bg:has(.sns-albums) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin: 10px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#page-bg:has(.sns-card):not(:has(.vip-wrap)):not(:has(.sns-space)) .mf-wrap,
#page-bg:has(.sns-card):not(:has(.vip-wrap)):not(:has(.sns-space)) .mf-body,
#page-bg:has(.sns-albums) .mf-wrap,
#page-bg:has(.sns-albums) .mf-body {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* ---------- 5. VIP：套餐区撑满白卡内容宽 ---------- */
#page-bg:has(.vip-wrap) .vip-wrap {
    width: 100%;
    max-width: none;
}

/* ---------- 6. 页脚 / 安全提示：1080 ---------- */
#page .site-safety,
body.auth .site-safety {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

#footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 7. 页头：首页 v6 的 76px / 42px logo ---------- */
@media (min-width: 761px) {
    body {
        background-image: linear-gradient(180deg, #fff 0, #fff 76px, #f1f4ff 76px, #f6f7fb 480px);
    }
    #logo {
        min-height: 76px;
        gap: 12px;
    }
    #logo .logo-mark {
        width: 42px;
        height: 42px;
        border-width: 2.4px;
        border-radius: 12px;
    }
    #logo .logo-letter {
        font-size: 26px;
    }
    #logo h1, #logo .logo-title {
        font-size: 21px;
        line-height: 1.05;
        letter-spacing: .02em;
    }
    #logo p {
        margin-top: 4px;
        font-size: 9px;
        line-height: 1;
        letter-spacing: .14em;
    }
    #menu ul {
        gap: 18px;
    }
    #menu .nav-lang summary {
        height: 32px;
        padding: 0 12px;
        font-size: 11.5px;
    }
    #menu li.nav-login a {
        height: 32px;
        font-size: 12px;
    }
    #menu li.nav-register a,
    #menu a.solid {
        height: 32px;
        padding: 0 16px;
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    #logo {
        gap: 11px;
    }
    #logo .logo-mark {
        width: 42px;
        height: 42px;
        border-width: 2.4px;
        border-radius: 12px;
    }
    #logo .logo-letter {
        font-size: 26px;
    }
    #logo h1, #logo .logo-title {
        font-size: 21px;
    }
    #logo p {
        font-size: 9px;
        max-width: calc(100vw - 180px);
        line-height: 1.45;
    }
}

/* ---------- 8. 移动端：所有框架收进 354，禁止页脚撑出横滚 ---------- */
@media (max-width: 980px) {
    #page > #page-bg:has(.sns-space) .sns-space {
        grid-template-columns: minmax(0, 1fr);
    }
    #page > #page-bg:has(.sns-space) .sns-side {
        width: auto;
        position: static;
    }
}

@media (max-width: 820px) {
    #page-bg {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    #page-bg:has(.mf-wrap):not(:has(.mf-form)) {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    #page > #page-bg:has(.mf-member-page),
    #page > #page-bg:has(.mf-page-shell),
    #page > #page-bg:has(.sns-space),
    #page-bg:has(.sns-card):not(:has(.vip-wrap)):not(:has(.sns-space)),
    #page-bg:has(.sns-albums) {
        width: 100%;
        max-width: none;
        margin: 10px auto 0;
        padding-left: 0;
        padding-right: 0;
    }
    #page > #page-bg:has(.mf-page-shell) .mf-body {
        box-sizing: border-box;
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 30px;
    }
    #page > #page-bg:has(.sns-space) .mf-wrap,
    #page-bg:has(.sns-card):not(:has(.vip-wrap)):not(:has(.sns-space)) .mf-wrap,
    #page-bg:has(.sns-albums) .mf-wrap {
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
    }
    #page-bg:has(.mf-form) {
        width: auto;
        max-width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }
    #page .site-safety,
    body.auth .site-safety,
    #footer {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    #footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}
