/* ============================================================
   碎月 BrokenMoon · 全局样式
   主题：cold(深蓝冷色) / moonsearch(极简白) / fumantang(旧纸暖黄)
         editorial(报刊冷调) / wetalk(现代社交) / admin(管理后台)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Inter, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #202124;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 26px;
  border-radius: 4px; border: none; text-decoration: none; cursor: pointer;
}

/* ---------- Toast ---------- */
#bm-toast {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(18, 22, 30, .92); color: #fff;
  font-size: 14px; padding: 10px 22px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: all .25s;
  z-index: 999; max-width: 86vw; text-align: center;
}
#bm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   冷色主题（入口 /、林家老宅）
   ============================================================ */
body[data-theme="cold"] { background: #0C1526; color: #E8EEF7; }
.cold-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; text-align: center; padding: 40px 20px;
}
.entry-svg { width: min(52vw, 220px); margin-bottom: 30px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.entry-title {
  font-size: 44px; letter-spacing: 18px; padding-left: 18px;
  margin: 0 0 8px; color: #EDE9D8; font-weight: 600;
}
.entry-en { font-size: 13px; letter-spacing: 6px; color: #8FA3C0; margin-bottom: 46px; }
.entry-btn {
  border: 1px solid #8FA3C0; color: #E8EEF7; background: transparent;
  border-radius: 999px; padding: 12px 48px; letter-spacing: 8px; transition: all .2s;
}
.entry-btn:hover { background: #A33535; border-color: #A33535; text-decoration: none; }

/* ============================================================
   林家老宅官网（暖纸纪念风）
   ============================================================ */
body[data-theme="linzhai"] { background: #F7F3EA; color: #3A3226; }
.lz-wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px 48px; }
.lz-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 12px 0 16px; border-bottom: 1px solid #E4DCCB; margin-bottom: 24px;
}
.lz-sitename { font-size: 18px; font-weight: 700; color: #6E4512; text-decoration: none; letter-spacing: 2px; }
.lz-sitename:hover { text-decoration: none; }
.lz-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.lz-nav a {
  padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center;
  font-size: 15px; color: #6B5840; text-decoration: none; border-radius: 4px;
}
.lz-nav a:hover { background: #EFE7D5; text-decoration: none; }
.lz-nav a.active { color: #8B4513; font-weight: 700; background: #F0E8D4; }
.lz-photo { max-width: 460px; margin: 8px auto 26px; background: #fff; padding: 10px; box-shadow: 0 2px 10px rgba(74, 52, 18, .14); }
.lz-photo img, .lz-photo svg { width: 100%; height: auto; filter: grayscale(1); }
.lz-title { font-size: 26px; color: #3A3226; text-align: center; margin: 0 0 6px; letter-spacing: 4px; }
.lz-subtitle { text-align: center; color: #8B4513; font-size: 15px; letter-spacing: 2px; margin-bottom: 22px; }
.lz-intro p { margin: 0 0 12px; line-height: 1.9; }
.lz-hint { font-size: 13px; color: #A79B85; margin-bottom: 14px; }
.lz-foot { text-align: center; font-size: 13px; color: #A79B85; margin-top: 40px; padding-top: 14px; border-top: 1px solid #E4DCCB; }

/* 相册 */
.lz-year { border: 1px solid #E4DCCB; border-radius: 4px; background: #FFFDF8; margin-bottom: 10px; overflow: hidden; }
.lz-year-head {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 16px; border: none; background: none; cursor: pointer; text-align: left; min-height: 48px;
}
.lz-year-head:hover { background: #FBF7EE; }
.lz-year-label { font-weight: 700; color: #8B4513; font-size: 16px; width: 64px; flex-shrink: 0; }
.lz-year-arrow { color: #A79B85; flex-shrink: 0; margin-left: auto; }
.lz-year-body { padding: 0 16px 16px; }
.lz-year-body img, .lz-year-body svg { width: 100%; height: auto; filter: grayscale(1); border: 1px solid #E4DCCB; }
.lz-year-desc { margin-top: 12px; font-size: 14px; line-height: 1.9; color: #3A3226; }
.lz-year-caption { margin-top: 8px; font-size: 12px; color: #A79B85; line-height: 1.8; }
/* 2023 照片：悬停浮现小字 */
.lz-photo-hover { position: relative; }
.lz-photo-hover .slot-img, .lz-photo-hover img, .lz-photo-hover svg { display: block; width: 100%; }
.lz-photo-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(20, 16, 10, .6); color: #F5EFE0;
  font-size: 13px; line-height: 1.8; padding: 10px 14px;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.lz-photo-hover:hover .lz-photo-note { opacity: 1; }
.lz-year-abnormal { margin-top: 10px; font-size: 14px; color: #6B5840; line-height: 1.8; }
.lz-year-abnormal.has { color: #A33535; }

/* 密码锁 */
.lz-lock {
  max-width: 400px; margin: 40px auto 0; background: #FFFDF8;
  border: 1px solid #E4DCCB; border-radius: 6px; padding: 30px 26px; text-align: center;
}
.lz-lock-hint { font-size: 18px; font-weight: 700; color: #3A3226; margin-bottom: 12px; }
.lz-lock-sub { font-size: 14px; color: #6B5840; line-height: 1.9; margin-bottom: 20px; }
.lz-lock-form { display: flex; flex-direction: column; gap: 12px; }
.lz-lock-form input {
  height: 46px; border: 1px solid #E4DCCB; border-radius: 4px;
  padding: 0 14px; font-size: 16px; text-align: center; outline: none; background: #fff; letter-spacing: 2px;
}
.lz-lock-form input:focus { border-color: #8B4513; }
.lz-lock-form button {
  height: 46px; border: none; border-radius: 4px; background: #8B4513;
  color: #fff; font-size: 15px; cursor: pointer; letter-spacing: 4px;
}
.lz-lock-error { color: #A33535; font-size: 13px; }
.lz-base64 {
  font-family: "Courier New", monospace; font-size: 18px; letter-spacing: 3px;
  color: #6E4512; background: #F3ECDD; border-radius: 4px; padding: 12px; margin-bottom: 20px; word-break: break-all;
}

/* 菜谱卡片 */
.lz-card { border: 1px solid #E4DCCB; border-radius: 4px; background: #FFFDF8; margin-bottom: 10px; overflow: hidden; }
.lz-card-head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 13px 16px; border: none; background: none; cursor: pointer; text-align: left; min-height: 48px;
}
.lz-card-head:hover { background: #FBF7EE; }
.lz-card-no { font-size: 13px; color: #A79B85; flex-shrink: 0; }
.lz-card-name { flex: 1; font-size: 16px; font-weight: 700; color: #3A3226; }
.lz-card-body { padding: 0 16px 18px; }
.lz-card-block { margin-bottom: 14px; }
.lz-card-label {
  display: inline-block; font-size: 13px; color: #8B4513;
  border: 1px solid #D9C8A6; border-radius: 3px; padding: 2px 10px; margin-bottom: 8px;
}
.lz-card-block p { font-size: 14px; line-height: 1.9; }
.lz-card-block ol { padding-left: 20px; }
.lz-card-block li { font-size: 14px; line-height: 1.9; margin-bottom: 4px; }
.lz-card-note {
  font-size: 14px; color: #6E4512; background: #F6EFDF;
  border-left: 3px solid #D9C8A6; padding: 10px 14px; line-height: 1.9; border-radius: 0 4px 4px 0;
}
.lz-footer-note {
  margin-top: 26px; background: #F6EFDF; border: 1px dashed #D9C8A6; border-radius: 6px;
  padding: 18px; font-size: 15px; color: #6E4512; line-height: 2;
}
.lz-footer-note p { margin: 0 0 10px; }

/* 家族树（节点树） */
.lz-tree {
  background: #FFFDF8; border: 1px solid #E4DCCB; border-radius: 6px;
  padding: 30px 14px 34px; text-align: center; overflow-x: auto;
}
.lz-tree-node {
  display: inline-block; background: #FFFDF8; border: 1px solid #D9C8A6; border-radius: 8px;
  padding: 9px 22px; font-size: 15px; color: #3A3226; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(74, 52, 18, .08);
}
.lz-tree-node-root { border-color: #8B4513; color: #6E4512; font-weight: 700; font-size: 16px; letter-spacing: 2px; }
.lz-tree ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 22px 0 0; position: relative; }
.lz-tree ul::before {
  content: ""; position: absolute; top: 0; left: 50%;
  border-left: 1px solid #C9B98F; width: 0; height: 22px;
}
.lz-tree li { position: relative; padding: 22px 12px 0; text-align: center; list-style: none; }
.lz-tree li::before, .lz-tree li::after {
  content: ""; position: absolute; top: 0; right: 50%;
  border-top: 1px solid #C9B98F; width: 50%; height: 22px;
}
.lz-tree li::after { right: auto; left: 50%; border-left: 1px solid #C9B98F; }
.lz-tree li:only-child::before, .lz-tree li:only-child::after { display: none; }
.lz-tree li:only-child { padding-top: 0; }
.lz-tree li:first-child::before, .lz-tree li:last-child::after { border: 0 none; }
.lz-tree li:last-child::before { border-right: 1px solid #C9B98F; border-radius: 0 6px 0 0; }
.lz-tree li:first-child::after { border-radius: 6px 0 0 0; }
.lz-tree ul ul::before {
  content: ""; position: absolute; top: 0; left: 50%;
  border-left: 1px solid #C9B98F; height: 22px;
}

/* 留言板 */
.lz-gb { background: #FFFDF8; border: 1px solid #E4DCCB; border-radius: 6px; padding: 22px 20px; }
.lz-gb-author { font-weight: 700; color: #6E4512; margin-bottom: 14px; }
.lz-gb p { margin: 0 0 14px; line-height: 2; }

/* ============================================================
   福满堂 · 已注销页（白底黑字）
   ============================================================ */
.fm-closed {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; text-align: center; padding: 20px;
}
.fm-closed-logo { margin-bottom: 34px; }
.fm-closed-logo img, .fm-closed-logo svg { width: min(160px, 56vw); height: auto; }
.fm-closed-main { font-size: 30px; font-weight: 700; color: #111; letter-spacing: 3px; }
.fm-closed-sub { margin-top: 20px; font-size: 15px; color: #D4D4D4; }
.fm-closed-sub a { color: #1A73E8; text-decoration: none; }
.fm-closed-sub a:hover { text-decoration: underline; }

/* ============================================================
   月搜（极简白底、无圆角、无阴影）
   ============================================================ */
.ms-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.ms-home { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 0 100px; }
.ms-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 42px; }
.ms-logo img, .ms-logo svg { width: 64px; height: 64px; }
.ms-word { font-size: 44px; font-weight: 700; color: #1A73E8; letter-spacing: 2px; }
.ms-search { display: flex; width: min(100%, 560px); }
.ms-input {
  flex: 1; min-width: 0; height: 48px;
  border: 1px solid #DFE1E5; border-right: none; border-radius: 0;
  padding: 0 16px; font-size: 16px; color: #202124; background: #fff; outline: none;
}
.ms-input:focus { border-color: #1A73E8; box-shadow: 0 1px 6px rgba(26, 115, 232, .25); }
.ms-btn {
  height: 48px; padding: 0 28px; border: none; border-radius: 0;
  background: #1A73E8; color: #fff; font-size: 16px; cursor: pointer;
}
.ms-btn:hover { background: #1765CC; }
.ms-foot { margin-top: 64px; font-size: 13px; color: #9AA0A6; }

/* 结果页 */
.ms-header {
  display: flex; align-items: center; gap: 26px;
  padding: 14px 0 8px; border-bottom: 1px solid #EBEDEF; margin-bottom: 28px;
}
.ms-logo-sm { display: flex; align-items: center; gap: 7px; text-decoration: none; flex-shrink: 0; }
.ms-logo-sm:hover { text-decoration: none; }
.ms-logo-sm img, .ms-logo-sm svg { width: 34px; height: 34px; }
.ms-logo-sm .ms-word { font-size: 24px; }
.ms-header .ms-search { flex: 1; }
.ms-header .ms-input, .ms-header .ms-btn { height: 42px; font-size: 15px; }
.ms-count { font-size: 13px; color: #70757A; margin-bottom: 20px; }
.ms-result { margin-bottom: 28px; }
.ms-result-title { font-size: 19px; color: #1A73E8; text-decoration: none; }
.ms-result-title:hover { text-decoration: underline; }
.ms-result-summary { font-size: 14px; color: #3C4043; margin-top: 4px; }
.ms-none {
  border: 1px solid #EBEDEF; border-radius: 0; background: #F8F9FA;
  padding: 52px 20px; text-align: center; color: #70757A; font-size: 15px;
}

/* ============================================================
   抓手 · 网页存档
   ============================================================ */
.zs-bar {
  background: #343B45; color: #E8EAED; font-size: 13px;
  padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.zs-bar img, .zs-bar svg { width: 16px; height: 16px; }
.zs-mark {
  position: fixed; right: 14px; bottom: 14px; z-index: 50;
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(90, 90, 90, .8);
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(0, 0, 0, .06);
  padding: 5px 10px; border-radius: 4px;
}
.zs-mark svg { width: 13px; height: 13px; }

/* ============================================================
   福满堂（旧纸暖黄、4px 小圆角、轻阴影）
   ============================================================ */
body[data-theme="fumantang"] { background: #FAF7F2; color: #2C2C2C; }
.fm-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 14px 0 18px; border-bottom: 1px solid #E4D9C4; margin-bottom: 26px;
}
.fm-brand { display: flex; align-items: center; gap: 8px; }
.fm-brand img, .fm-brand svg { width: 34px; height: 34px; }
.fm-name { font-size: 20px; font-weight: 700; color: #6E4512; letter-spacing: 1px; }
.fm-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.fm-nav a {
  padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center;
  font-size: 15px; color: #6B5840; text-decoration: none; border-radius: 4px;
}
.fm-nav a:hover { background: #F0E8D8; text-decoration: none; }
.fm-nav a.active { color: #8B4513; font-weight: 700; background: #F3EAD9; }
.fm-title { font-size: 24px; color: #6E4512; margin: 6px 0 20px; }
.fm-para { margin: 0 0 16px; }
.fm-intro { margin: 24px 0 18px; text-indent: 2em; }
.fm-closure { color: #8B4513; font-weight: 600; text-indent: 2em; }
.fm-copy {
  text-align: center; font-size: 13px; color: #A79B85;
  margin-top: 44px; padding-top: 16px; border-top: 1px solid #E4D9C4;
}

/* 旧照片相框 */
.photo-frame {
  background: #fff; padding: 10px 10px 12px;
  box-shadow: 0 2px 10px rgba(74, 52, 18, .14);
  transform: rotate(-.6deg); margin: 0 auto; max-width: 480px;
}
.photo-frame img, .photo-frame svg { width: 100%; height: auto; }
.fm-photo { margin-bottom: 28px; }
.fm-cut { max-width: 340px; margin-bottom: 28px; transform: none; }

/* 产品卡片 */
.fm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.fm-card {
  background: #fff; border: 1px solid #E9DFC9; border-radius: 4px;
  padding: 16px 16px 18px; text-align: center;
  box-shadow: 0 1px 4px rgba(60, 40, 10, .06);
}
.fm-card img, .fm-card svg { width: 100%; height: auto; }
.fm-card-name { font-size: 17px; font-weight: 700; margin-top: 12px; }
.fm-card-price { color: #8B4513; font-weight: 700; margin: 4px 0 10px; }
.fm-card-more { display: inline-block; font-size: 14px; color: #1A73E8; text-decoration: none; padding: 8px 0; min-height: 36px; }
.fm-card-more:hover { text-decoration: underline; }

/* 时间线 */
.fm-timeline { margin: 28px 0; border-left: 2px solid #E0D2B8; padding-left: 22px; }
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #8B4513; box-shadow: 0 0 0 3px #F0E6D0;
}
.tl-year { font-weight: 700; color: #8B4513; }
.tl-item p { margin: 2px 0 0; font-size: 15px; }
.fm-quote { text-align: center; color: #6E4512; font-size: 15px; margin-top: 32px; }

/* 五仁配料摩斯表 + 后台提示小字 */
.fm-morse { margin: 22px 0; }
.fm-morse-title { font-weight: 700; color: #6E4512; margin-bottom: 10px; }
.fm-morse-table { width: 100%; max-width: 380px; border-collapse: collapse; background: #fff; font-size: 15px; }
.fm-morse-table th, .fm-morse-table td { border: 1px solid #E4D9C4; padding: 8px 14px; text-align: center; }
.fm-morse-table th { background: #F0E8D8; color: #6E4512; font-weight: 700; }
.fm-morse-code { font-family: "Courier New", monospace; letter-spacing: 1px; }
.fm-admin-hint { margin-top: 24px; font-size: 12px; color: #A79B85; line-height: 1.9; }

/* 抓手页脚管理员入口 */
.zs-admin-entry { text-align: center; padding: 0 0 22px; }
.zs-admin-entry a { font-size: 13px; color: #A79B85; text-decoration: none; }
.zs-admin-entry a:hover { color: #8B4513; text-decoration: underline; }

/* 福满堂游戏内后台 */
.fa-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fa-login-card {
  background: #FFFDF8; border: 1px solid #E4D9C4; border-radius: 6px;
  padding: 32px 28px; width: min(100%, 360px); box-shadow: 0 2px 10px rgba(74, 52, 18, .1);
}
.fa-login-card h1 { font-size: 20px; color: #6E4512; text-align: center; margin: 0 0 24px; letter-spacing: 2px; }
.fa-login-form { display: flex; flex-direction: column; gap: 12px; }
.fa-login-form input {
  height: 46px; border: 1px solid #E4D9C4; border-radius: 4px;
  padding: 0 14px; font-size: 15px; outline: none; background: #fff;
}
.fa-login-form input:focus { border-color: #8B4513; }
.fa-login-form button {
  height: 46px; border: none; border-radius: 4px; background: #8B4513;
  color: #fff; font-size: 15px; cursor: pointer; letter-spacing: 2px;
}
.fa-error { color: #A33535; font-size: 13px; }
.fa-hints {
  background: #F6EFDF; border: 1px dashed #D9C8A6; border-radius: 4px;
  padding: 10px 14px; font-size: 14px; color: #6E4512; line-height: 1.9;
}
.fa-login-foot { text-align: center; margin-top: 20px; font-size: 13px; color: #A79B85; }
.fa-shell { display: flex; min-height: 100vh; }
.fa-menu {
  width: 190px; background: #F0E8D8; border-right: 1px solid #E4D9C4;
  padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.fa-menu-title {
  font-weight: 700; color: #6E4512; font-size: 15px;
  padding: 4px 12px 14px; border-bottom: 1px solid #E4D9C4; margin-bottom: 8px;
}
.fa-menu a {
  padding: 10px 14px; min-height: 44px; display: flex; align-items: center;
  color: #6B5840; text-decoration: none; border-radius: 4px; font-size: 15px;
}
.fa-menu a:hover { background: #E4D5B8; text-decoration: none; }
.fa-menu a.active { background: #8B4513; color: #fff; font-weight: 700; }
.fa-main { flex: 1; min-width: 0; padding: 22px 20px; }
.fa-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 4px 16px; border-bottom: 1px solid #E4D9C4; margin-bottom: 18px;
}
.fa-topbar-title { font-weight: 700; color: #6E4512; font-size: 16px; }
.fa-shell-foot { text-align: center; font-size: 12px; color: #A79B85; margin-top: 30px; padding-top: 12px; border-top: 1px solid #E4D9C4; }
.fa-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.fa-table th, .fa-table td { border: 1px solid #E4D9C4; padding: 9px 10px; text-align: left; white-space: nowrap; }
.fa-table th { background: #F0E8D8; color: #6E4512; font-weight: 700; }
.fa-order-detail {
  background: #FBF7EE; border: 1px dashed #D9C8A6; border-radius: 4px;
  padding: 12px 16px; font-size: 14px; line-height: 2; color: #6B5840; white-space: normal;
}
.fa-ledger {
  background: #FFFDF8; border: 1px solid #E4D9C4; border-radius: 6px;
  padding: 26px 22px; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  font-size: 16px; line-height: 2.2; color: #4A3B28;
  box-shadow: 0 2px 10px rgba(74, 52, 18, .12); transform: rotate(-.4deg);
  max-width: 480px; margin: 0 auto;
}
.fa-ledger-title { text-align: center; font-weight: 700; margin-bottom: 10px; letter-spacing: 2px; }
.fa-ledger p { margin: 0; }
.fa-settings-group { background: #fff; border: 1px solid #E4D9C4; border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.fa-settings-group h3 { background: #F0E8D8; margin: 0; padding: 10px 16px; font-size: 15px; color: #6E4512; }
.fa-settings-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 16px; border-bottom: 1px solid #F5EFE0; font-size: 14px;
}
.fa-settings-row:last-child { border-bottom: none; }
.fa-settings-row span:first-child { color: #A79B85; flex-shrink: 0; }
@media (max-width: 720px) {
  .fa-shell { flex-direction: column; }
  .fa-menu { width: 100%; flex-direction: row; overflow-x: auto; padding: 10px; }
  .fa-menu-title { display: none; }
  .fa-menu a { white-space: nowrap; }
}

/* 订单表 */
.table-scroll { overflow-x: auto; }
.fm-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.fm-table th, .fm-table td { border: 1px solid #E4D9C4; padding: 10px 12px; text-align: left; white-space: nowrap; }
.fm-table th { background: #F0E8D8; color: #6E4512; font-weight: 700; }
.fm-table .st-back { color: #A33535; font-weight: 700; }

/* ============================================================
   报刊风（新闻页 / 专访页，冷调：深蓝+灰白+暗红）
   ============================================================ */
body[data-theme="editorial"] { background: #F7F8FA; color: #22303E; }
.ed-masthead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-bottom: 3px double #16324F; padding-bottom: 10px; margin-bottom: 26px;
}
.ed-mast-name { font-size: 22px; font-weight: 800; color: #16324F; letter-spacing: 4px; }
.ed-mast-tag { font-size: 12px; color: #A33535; border: 1px solid #A33535; padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.ed-title { font-size: 24px; line-height: 1.5; color: #101820; margin: 0 0 10px; }
.ed-byline { font-size: 13px; color: #7A8694; margin-bottom: 20px; }
.ed-date { margin-left: 10px; }
.ed-para { text-indent: 2em; margin: 0 0 14px; font-size: 16px; }
.ed-foot { color: #7A8694; font-size: 14px; margin-top: 28px; padding-top: 14px; border-top: 1px solid #E2E6EA; }
.news-photo { margin: 20px 0 26px; }
.news-photo img, .news-photo svg { width: 100%; height: auto; border: 1px solid #E2E6EA; }

.iv-photo { max-width: 260px; margin: 20px auto 26px; }
.iv-photo img, .iv-photo svg { width: 100%; height: auto; border-radius: 6px; }
.iv-qa { margin: 22px 0; }
.iv-q { font-weight: 700; color: #16324F; margin: 0 0 6px; }
.iv-a { margin: 0 0 18px; }
.iv-shot { max-width: 320px; margin: 22px auto 0; }
.iv-shot img { border-radius: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }

/* 返回月搜 · 全局快捷按钮 */
.back-ms {
  position: fixed; top: 12px; right: 12px; z-index: 90;
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 15px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px; font-size: 14px; color: #1A73E8;
  text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.back-ms:hover { background: #fff; text-decoration: none; }
.back-ms svg { width: 16px; height: 16px; flex-shrink: 0; }
body[data-theme="wetalk"] .back-ms { top: 62px; }

/* ============================================================
   月搜百科
   ============================================================ */
.bk-band {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 0; border-bottom: 2px solid #1A73E8; margin-bottom: 28px;
}
.bk-band img, .bk-band svg { width: 30px; height: 30px; }
.bk-word { font-size: 20px; font-weight: 700; color: #1A73E8; }
.bk-title { font-size: 26px; margin: 0 0 18px; color: #202124; }
.bk-photo { max-width: 300px; margin: 0 auto 22px; border: 1px solid #EBEDEF; padding: 8px; background: #fff; }
.bk-photo img, .bk-photo svg { width: 100%; height: auto; }
.bk-para { margin: 0 0 14px; }
.bk-related { margin-top: 32px; border: 1px solid #DCE6F5; background: #F4F8FD; padding: 16px 18px; }
.bk-related-title { font-size: 14px; color: #5F7FA6; margin-bottom: 10px; }
.bk-chip { display: inline-block; margin: 0 12px 8px 0; color: #1A73E8; font-size: 15px; }
.bk-chip:hover { text-decoration: underline; }

/* ============================================================
   WeTalk（现代社交 App 风，12px 大圆角、中等阴影）
   ============================================================ */
body[data-theme="wetalk"] { background: #F0F2F5; color: #191919; }
.wt-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; }
.wt-card {
  background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
  padding: 42px 32px; width: min(100%, 380px);
  display: flex; flex-direction: column; align-items: center;
}
.wt-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.wt-logo img, .wt-logo svg { width: 44px; height: 44px; }
.wt-word { font-size: 26px; font-weight: 800; color: #07C160; letter-spacing: 1px; }
.wt-form { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.wt-input {
  height: 46px; border: none; background: #F5F5F5; border-radius: 12px;
  padding: 0 16px; font-size: 15px; outline: none; color: #191919;
}
.wt-input:focus { background: #ECECEC; }
.wt-error { color: #E64340; font-size: 13px; }
.wt-btn {
  height: 46px; border: none; background: #07C160; color: #fff;
  border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer;
}
.wt-btn:hover { background: #06AD56; }
.wt-foot { margin-top: 28px; font-size: 13px; color: #888; }

/* WeTalk 登录辅助（找回密码） */
.wt-link-btn {
  border: none; background: none; color: #1A73E8; font-size: 14px;
  cursor: pointer; margin-top: 16px; min-height: 36px; padding: 4px 10px;
}
.wt-recover { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.wt-recover-title { font-size: 17px; font-weight: 600; text-align: center; }
.wt-recover-account { font-size: 13px; color: #888; text-align: center; }
.wt-field { display: flex; flex-direction: column; gap: 6px; }
.wt-field-label { font-size: 14px; color: #555; }
.wt-recovered { text-align: center; font-size: 16px; color: #191919; padding: 8px 0; }
.wt-recovered b { color: #07C160; font-size: 18px; letter-spacing: 1px; }

/* WeTalk 首页（App 框架：顶栏 + 内容 + 底部导航） */
.wt-app { display: flex; flex-direction: column; min-height: 100vh; background: #F5F5F5; }
.wt-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 50px; padding: 0 12px; background: #fff;
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #EDEDED;
}
.wt-topbar-title { font-size: 16px; font-weight: 600; color: #191919; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 60%; }
.wt-topbar-title.wt-typing { font-size: 14px; font-weight: 400; color: #07C160; }
.wt-tb-title { border: none; background: none; cursor: pointer; font-size: 16px; font-weight: 600; color: #191919; padding: 4px 8px; }
.wt-tb-logo { display: flex; align-items: center; }
.wt-tb-logo img, .wt-tb-logo svg { width: 24px; height: 24px; }
.wt-tb-btn {
  min-width: 44px; height: 44px; border: none; background: none;
  font-size: 20px; color: #07C160; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.wt-tb-back { font-size: 30px; font-weight: 300; line-height: 1; }
.wt-tb-spacer { width: 44px; }
.wt-body { flex: 1; background: #fff; }
.wt-tabbar {
  display: flex; background: #fff; border-top: 1px solid #EDEDED;
  position: sticky; bottom: 0; z-index: 20;
}
.wt-tab { flex: 1; height: 50px; border: none; background: none; color: #666; font-size: 14px; cursor: pointer; }
.wt-tab.active { color: #07C160; font-weight: 700; }

/* 消息/联系人列表 */
.wt-list-empty { text-align: center; color: #AAA; font-size: 14px; padding: 70px 0; }
.wt-list-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 16px; border: none; background: #fff; text-align: left;
  border-bottom: 1px solid #F5F5F5; cursor: pointer; min-height: 68px;
}
.wt-list-item:hover { background: #F7F7F7; }
.wt-avatar {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  background: #B9C0C9; color: #fff; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.wt-avatar-group { background: #8FA3C0; border-radius: 10px; }
.wt-avatar-big { width: 68px; height: 68px; font-size: 26px; border-radius: 10px; }
.wt-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wt-list-name { font-size: 15px; color: #191919; font-weight: 500; }
.wt-list-last { font-size: 13px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-list-sub { font-size: 12px; color: #AAA; }
.wt-list-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.wt-list-time { font-size: 12px; color: #B0B0B0; }
.wt-dot { width: 9px; height: 9px; border-radius: 50%; background: #FA5151; }

/* 聊天界面 */
.wt-chat { background: #F5F5F5; padding: 14px 14px 24px; min-height: calc(100vh - 100px); }
.wt-chat-empty { text-align: center; color: #AAA; font-size: 13px; padding-top: 64px; }
.wt-chat-day { text-align: center; font-size: 12px; color: #A0A0A0; margin: 12px 0; }
.wt-chat-note { text-align: center; font-size: 12px; color: #A0A0A0; margin: 10px 0; }
.wt-msg { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.wt-msg-me { align-items: flex-end; }
.wt-bubble {
  max-width: 74%; padding: 9px 13px; border-radius: 10px;
  background: #fff; color: #191919; font-size: 15px; line-height: 1.55;
  word-break: break-word; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.wt-msg-me .wt-bubble { background: #95EC69; }

/* 聊天输入框（预留：关键节点自动填充） */
.wt-inputbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #fff; border-top: 1px solid #EDEDED;
  position: sticky; bottom: 0; z-index: 20;
}
.wt-inputbar-input {
  flex: 1; min-width: 0; height: 38px; border: none; background: #F5F5F5; border-radius: 8px;
  padding: 0 14px; font-size: 14px; color: #999; outline: none;
}
.wt-inputbar-input:disabled { opacity: 1; -webkit-text-fill-color: #999; }
.wt-inputbar-send {
  height: 38px; padding: 0 18px; border: none; border-radius: 8px;
  background: #07C160; color: #fff; font-size: 14px;
}
.wt-inputbar-send:disabled { background: #B5E5CB; }

/* ============================================================
   逐月科技官网（企业官网风，深蓝 Hero）
   ============================================================ */
body[data-theme="zhuyue"] { background: #F5F7FA; color: #232A34; }
.zy-page { min-height: 100vh; display: flex; flex-direction: column; }
.zy-wrap { max-width: 680px; margin: 0 auto; padding: 30px 16px 20px; width: 100%; }
.zy-header {
  background: #0D1B2E; color: #EDF2F8;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 12px 16px; position: sticky; top: 0; z-index: 20;
}
.zy-brand { display: flex; align-items: center; gap: 9px; color: #EDF2F8; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.zy-brand svg { width: 30px; height: 30px; }
.zy-brand:hover { text-decoration: none; }
.zy-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.zy-nav a {
  color: #AFC0D8; text-decoration: none; font-size: 14px;
  padding: 8px 10px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 4px;
}
.zy-nav a:hover { color: #EDF2F8; background: #16283F; text-decoration: none; }
.zy-nav a.active { color: #F5C85B; font-weight: 700; }

/* Hero */
.zy-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #0D1B2E 0%, #12233C 55%, #05090F 100%);
  color: #EDF2F8; padding: 70px 20px 120px;
}
.zy-hero-inner { position: relative; z-index: 2; }
.zy-hero h1 { font-size: 38px; letter-spacing: 10px; margin: 0 0 14px; padding-left: 10px; }
.zy-hero-slogan { font-size: 22px; font-weight: 600; color: #F5C85B; margin-bottom: 22px; }
.zy-hero-sub p { margin: 0 0 6px; font-size: 15px; color: #AFC0D8; line-height: 1.8; }
.zy-hero-btns { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.zy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 30px; border-radius: 999px; font-size: 15px; text-decoration: none;
}
.zy-btn-main { background: #F5C85B; color: #0D1B2E; font-weight: 700; }
.zy-btn-main:hover { background: #FFD97A; text-decoration: none; }
.zy-btn-ghost { border: 1px solid #AFC0D8; color: #EDF2F8; }
.zy-btn-ghost:hover { border-color: #F5C85B; color: #F5C85B; text-decoration: none; }
/* 巨大弯月（圆 + 同色遮罩切出月牙） */
.zy-hero-moon {
  position: absolute; left: 50%; bottom: -110px; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%; background: #F5C85B; z-index: 1;
}
.zy-hero-moon::after {
  content: ""; position: absolute; left: -46px; top: -40px;
  width: 320px; height: 320px; border-radius: 50%; background: #05090F;
}

/* 数据区 */
.zy-stats {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 8px 0 18px;
}
.zy-stat { text-align: center; min-width: 110px; }
.zy-stat-num { font-size: 26px; font-weight: 800; color: #0D1B2E; }
.zy-stat-label { font-size: 13px; color: #7A8694; margin-top: 2px; }

/* 通用区块 */
.zy-section { margin-bottom: 34px; }
.zy-sec-title { font-size: 22px; color: #0D1B2E; text-align: center; letter-spacing: 2px; margin: 0 0 8px; }
.zy-sec-sub { text-align: center; color: #7A8694; font-size: 14px; margin: 0 0 20px; }
.zy-about-p { margin: 0 0 12px; line-height: 1.9; font-size: 15px; }
.zy-product-more { display: inline-block; color: #1A73E8; font-size: 14px; text-decoration: none; margin-top: 6px; min-height: 36px; padding: 6px 0; }
.zy-product-more:hover { text-decoration: underline; }

/* 产品卡片 */
.zy-products { display: flex; flex-direction: column; gap: 14px; }
.zy-product {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06);
  padding: 18px 20px;
}
.zy-product.off { opacity: .72; }
.zy-product-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.zy-product-name { font-size: 18px; font-weight: 700; color: #0D1B2E; }
.zy-product-status {
  font-size: 12px; padding: 2px 10px; border-radius: 999px; flex-shrink: 0;
  background: #E4F5EC; color: #1E7F4F;
}
.zy-product.off .zy-product-status { background: #F0F1F4; color: #7A8694; }
.zy-product-tagline { font-size: 14px; color: #1A73E8; margin-bottom: 8px; }
.zy-product-desc { font-size: 14px; line-height: 1.9; color: #3C4654; margin: 0 0 8px; }
.zy-product-meta { font-size: 12px; color: #7A8694; }
.zy-product-note { font-size: 12px; color: #A33535; margin-top: 4px; }

/* 团队 */
.zy-team { display: flex; flex-direction: column; gap: 14px; }
.zy-member { display: flex; gap: 14px; background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06); padding: 16px 18px; }
.zy-member-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: #0D1B2E; color: #F5C85B;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.zy-member-main { flex: 1; min-width: 0; }
.zy-member-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.zy-member-name { font-size: 16px; font-weight: 700; }
.zy-member-role { font-size: 13px; color: #1A73E8; }
.zy-member-bio { font-size: 14px; line-height: 1.9; color: #3C4654; margin: 0; }

/* 动态 */
.zy-news { display: flex; flex-direction: column; gap: 14px; }
.zy-news-item { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06); padding: 16px 20px; }
.zy-news-date { font-size: 12px; color: #7A8694; }
.zy-news-title { font-size: 16px; font-weight: 700; color: #0D1B2E; margin: 4px 0 6px; }
.zy-news-body { font-size: 14px; line-height: 1.9; color: #3C4654; margin: 0 0 6px; }
.zy-news-quote { font-size: 14px; line-height: 1.9; color: #6E4512; background: #FBF7EE; border-left: 3px solid #D9C8A6; padding: 8px 12px; border-radius: 0 6px 6px 0; }

/* 职位表 */
.zy-jobs { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.zy-jobs th, .zy-jobs td { border: 1px solid #E3E8EF; padding: 10px 14px; text-align: left; }
.zy-jobs th { background: #EDF1F7; color: #55606E; }

/* 页脚 */
.zy-footer {
  background: #0D1B2E; color: #AFC0D8; text-align: center;
  padding: 30px 16px 22px; margin-top: auto;
}
.zy-footer-name { font-size: 17px; font-weight: 700; color: #EDF2F8; letter-spacing: 2px; }
.zy-footer-slogan { font-size: 13px; color: #F5C85B; margin: 6px 0 14px; }
.zy-footer-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.zy-footer-links a { color: #AFC0D8; font-size: 13px; text-decoration: none; }
.zy-footer-links a:hover { color: #F5C85B; }
.zy-footer-info { font-size: 12px; color: #6E7B8F; line-height: 1.9; margin-bottom: 12px; }
.zy-footer-copy { font-size: 12px; color: #6E7B8F; }
.zy-staff-entry {
  display: inline-block; margin-top: 12px; font-size: 11px; color: #4A5769; text-decoration: none;
}
.zy-staff-entry:hover { color: #AFC0D8; }

/* 员工入口登录 */
.zy-staff-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: #0D1B2E; }
.zy-staff-card {
  background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
  padding: 34px 28px; width: min(100%, 360px); text-align: center;
}
.zy-staff-logo svg { width: 44px; height: 44px; }
.zy-staff-card h1 { font-size: 20px; color: #0D1B2E; margin: 12px 0 22px; letter-spacing: 2px; }
.zy-staff-form { display: flex; flex-direction: column; gap: 12px; }
.zy-staff-form input {
  height: 46px; border: 1px solid #DCE3EC; border-radius: 8px;
  padding: 0 14px; font-size: 15px; outline: none; text-align: center;
}
.zy-staff-form input:focus { border-color: #1A73E8; }
.zy-staff-form button {
  height: 46px; border: none; border-radius: 8px; background: #0D1B2E;
  color: #F5C85B; font-size: 15px; cursor: pointer; letter-spacing: 2px;
}
.zy-staff-back { display: inline-block; margin-top: 18px; font-size: 13px; color: #7A8694; text-decoration: none; }
.zy-staff-back:hover { color: #1A73E8; }
.zy-staff-back-btn { border: none; background: none; cursor: pointer; }
.zy-staff-question { font-size: 15px; color: #3C4654; line-height: 1.8; margin-bottom: 4px; }
/* 加密压缩包页 */
.zy-archive-card { width: min(100%, 420px); text-align: left; }
.zy-archive-card h1 { text-align: center; }
.zy-archive-lock { font-size: 15px; color: #3C4654; text-align: center; margin-bottom: 16px; }
.zy-archive-hint-label { font-size: 13px; color: #7A8694; margin-bottom: 8px; }
.zy-archive-hint {
  font-family: "Segoe UI Symbol", "Wingdings", monospace;
  font-size: 17px; letter-spacing: 4px; line-height: 2.2; word-break: break-all;
  color: #0D1B2E; background: #F5F7FA; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px;
}
.zy-archive-success { font-size: 15px; color: #1E7F4F; text-align: center; margin-bottom: 14px; }
.zy-file-card { width: min(100%, 520px); text-align: left; }
.zy-file-card h1 { font-size: 18px; text-align: center; margin-bottom: 18px; }
.zy-file-head { font-size: 16px; font-weight: 700; color: #0D1B2E; text-align: center; margin-bottom: 12px; letter-spacing: 2px; }
.zy-file-para { font-size: 15px; line-height: 2; color: #3C4654; margin: 0 0 12px; }
.zy-file-note-title { font-size: 14px; font-weight: 700; color: #0D1B2E; margin: 14px 0 8px; }
.zy-file-note { font-size: 14px; line-height: 1.9; color: #55606E; margin: 0 0 6px; }
.zy-archive-files-title { font-size: 13px; color: #7A8694; margin-bottom: 8px; }
.zy-archive-card .zy-staff-form { margin-bottom: 6px; }
.zy-archive-card .zy-staff-back { margin-top: 14px; }
/* 员工系统 */
.zs-shell { display: flex; min-height: 100vh; }
.zs-menu {
  width: 190px; background: #0D1B2E; color: #AFC0D8;
  padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.zs-menu-logo {
  display: flex; align-items: center; gap: 8px; color: #EDF2F8;
  font-size: 14px; font-weight: 700; padding: 4px 10px 16px;
  border-bottom: 1px solid #1E2D44; margin-bottom: 8px;
}
.zs-menu-logo svg { width: 26px; height: 26px; }
.zs-menu-item {
  display: block; width: 100%; text-align: left; border: none; background: none;
  color: #AFC0D8; font-size: 14px; padding: 12px 14px; border-radius: 6px;
  cursor: pointer; min-height: 44px;
}
.zs-menu-item:hover { background: #16283F; color: #EDF2F8; }
.zs-menu-item.active { background: #1E3A5F; color: #F5C85B; font-weight: 700; }
.zs-logout { margin-top: auto; color: #6E7B8F; }
.zs-logout:hover { color: #E07A7A; }
.zs-main { flex: 1; min-width: 0; padding: 0 20px 26px; display: flex; flex-direction: column; }
.zs-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid #E3E8EF; margin-bottom: 16px;
}
.zs-topbar-title { font-weight: 700; color: #0D1B2E; font-size: 15px; }
.zs-avatar {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: #0D1B2E; color: #F5C85B; font-size: 15px;
}
.zs-content { flex: 1; }
.zs-bottom { text-align: center; font-size: 12px; color: #9AA6B4; padding-top: 18px; }
.zs-back { border: none; background: none; color: #1A73E8; font-size: 14px; cursor: pointer; padding: 4px 0 14px; min-height: 36px; }
.zs-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06); padding: 20px; }
.zs-title { font-size: 20px; color: #0D1B2E; margin: 0 0 10px; }
.zs-desc { font-size: 14px; line-height: 1.9; color: #3C4654; margin: 0 0 12px; }
.zs-rows { border-top: 1px solid #EDF1F5; margin-top: 8px; }
.zs-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 4px; border-bottom: 1px solid #EDF1F5; font-size: 14px;
}
.zs-row span:first-child { color: #7A8694; flex-shrink: 0; }
.zs-row span:last-child { text-align: right; word-break: break-all; }
.zs-off { color: #A33535; font-weight: 600; }
.zs-docs-title { font-size: 14px; color: #7A8694; margin: 18px 0 8px; }
.zs-doc-item {
  display: block; width: 100%; text-align: left; border: 1px solid #E3E8EF; background: #FBFCFE;
  border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #1A73E8;
  cursor: pointer; margin-bottom: 8px; min-height: 46px;
}
.zs-doc-item:hover { border-color: #1A73E8; }
.zs-doc-note { margin-top: 14px; font-size: 12px; color: #A79B85; line-height: 1.8; }
.zs-report-cover {
  border: 1px solid #E3E8EF; border-radius: 8px; text-align: center;
  padding: 30px 20px; background: #FBFCFE;
}
.zs-report-title { font-size: 18px; font-weight: 700; color: #0D1B2E; margin-bottom: 16px; letter-spacing: 2px; }
.zs-report-line { font-size: 14px; color: #7A8694; line-height: 2; }
.zs-announce { padding: 14px 4px; }
.zs-announce-striked { font-size: 15px; color: #7A8694; text-decoration: line-through; margin-bottom: 10px; }
.zs-announce-final { font-size: 16px; font-weight: 700; color: #0D1B2E; }
.zs-files { margin-top: 6px; }
.zs-file {
  display: flex; align-items: center; min-height: 46px; width: 100%; text-align: left;
  border: 1px solid #E3E8EF; border-radius: 8px; padding: 12px 16px;
  font-size: 14px; color: #3C4654; margin-bottom: 8px; background: #FBFCFE;
}
.zs-file-enc { color: #A33535; cursor: pointer; }
.zs-enc { margin-top: 14px; background: #FFF9F0; border: 1px dashed #D9C8A6; border-radius: 8px; padding: 16px; }
.zs-enc-lock { font-size: 14px; color: #6E4512; margin-bottom: 10px; }
.zs-enc-form { display: flex; flex-direction: column; gap: 10px; }
.zs-enc-form input {
  height: 44px; border: 1px solid #E4D9C4; border-radius: 6px;
  padding: 0 14px; font-size: 14px; outline: none; text-align: center;
}
.zs-enc-form input:focus { border-color: #8B4513; }
.zs-enc-btns { display: flex; gap: 10px; }
.zs-enc-btns button {
  flex: 1; height: 44px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px;
}
.zs-enc-btns button[type="submit"] { background: #8B4513; color: #fff; }
.zs-enc-btns button[type="button"] { background: #fff; border: 1px solid #E4D9C4; color: #6B5840; }
.zs-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.zs-table th, .zs-table td { border: 1px solid #E3E8EF; padding: 10px 14px; text-align: left; white-space: nowrap; }
.zs-table th { background: #EDF1F7; color: #55606E; }
.zs-link-row { cursor: pointer; }
.zs-link-row:hover td { background: #F7FAFE; }
.zs-link { color: #1A73E8; }
.zs-person { display: flex; flex-direction: column; align-items: center; padding: 28px 20px; }
.zs-person-avatar {
  width: 62px; height: 62px; border-radius: 50%; background: #0D1B2E; color: #F5C85B;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.zs-person .zs-rows { width: 100%; }
.zs-msg { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06); padding: 18px 20px; margin-bottom: 14px; }
.zs-msg-time { font-size: 12px; color: #7A8694; margin-bottom: 10px; }
.zs-msg-line { font-size: 14px; line-height: 2; color: #3C4654; }
.zs-msg-line b { color: #0D1B2E; }
@media (max-width: 720px) {
  .zs-shell { flex-direction: column; }
  .zs-menu { width: 100%; flex-direction: row; overflow-x: auto; padding: 10px; }
  .zs-menu-logo { display: none; }
  .zs-menu-item { white-space: nowrap; width: auto; }
  .zs-logout { margin: 0 0 0 auto; }
}

@media (max-width: 520px) {
  .zy-hero h1 { font-size: 30px; letter-spacing: 6px; padding-left: 6px; }
  .zy-hero-slogan { font-size: 19px; }
  .zy-stats { gap: 10px; }
  .zy-stat { min-width: 80px; }
  .zy-stat-num { font-size: 21px; }
}

/* ============================================================
   林建的故事（日记）
   ============================================================ */
body[data-theme="story"] { background: #F6F1E7; color: #3A3226; }
.st-wrap { max-width: 680px; margin: 0 auto; padding: 30px 20px 60px; }
.st-head { text-align: center; padding-bottom: 18px; border-bottom: 1px solid #E4DCCB; margin-bottom: 24px; }
.st-title { font-size: 24px; letter-spacing: 4px; color: #6E4512; font-weight: 700; }
.st-subtitle { font-size: 14px; color: #A79B85; margin-top: 6px; }
.st-back { display: inline-block; margin-bottom: 16px; color: #A79B85; font-size: 13px; text-decoration: none; }
.st-back:hover { color: #8B4513; }
/* 目录 */
.st-list { display: flex; flex-direction: column; gap: 6px; }
.st-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; background: #FFFDF8; border: 1px solid #E4DCCB; border-radius: 6px;
  color: #3A3226; text-decoration: none; font-size: 15px; min-height: 48px;
}
.st-list a:hover { border-color: #8B4513; }
.st-list-date { color: #8B4513; font-weight: 700; flex-shrink: 0; }
.st-list-preview {
  color: #A79B85; font-size: 13px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 62%;
}
/* 日记页 */
.st-entry-date { text-align: center; font-size: 18px; font-weight: 700; color: #8B4513; letter-spacing: 2px; margin-bottom: 20px; }
.st-entry { background: #FFFDF8; border: 1px solid #E4DCCB; border-radius: 8px; padding: 28px 24px; }
.st-entry p { margin: 0 0 16px; line-height: 2.1; font-size: 15px; }
.st-cipher {
  font-family: "Courier New", monospace; font-size: 12px; line-height: 1.8;
  word-break: break-all; color: #55606E; background: #F3ECDD;
  border: 1px dashed #D9C8A6; border-radius: 6px; padding: 16px; white-space: pre-wrap;
}
.st-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.st-nav a { color: #8B4513; text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.st-nav a:hover { text-decoration: underline; }
.st-nav .disabled { color: #C9BFA8; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
/* 结局 */
.st-endings { margin-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.st-endings-title { font-size: 14px; color: #A79B85; margin-bottom: 4px; }
.st-endings a {
  display: block; padding: 12px 16px; background: #FFFDF8; border: 1px solid #E4DCCB;
  border-radius: 6px; color: #6E4512; text-decoration: none; font-size: 15px; min-height: 48px;
  display: flex; align-items: center;
}
.st-endings a:hover { border-color: #8B4513; }
.st-endings-page { margin-top: 24px; }
.st-quote {
  background: #F3ECDD; border-left: 3px solid #D9C8A6; border-radius: 0 6px 6px 0;
  padding: 14px 16px; margin: 14px 0;
}
.st-quote-title { font-weight: 700; color: #8B4513; margin-bottom: 8px; font-size: 14px; }
.st-quote p { margin: 0 0 10px; font-size: 14px; line-height: 2; color: #4A3B28; }
.st-audio-btn {
  display: flex; align-items: center; justify-content: center;
  margin-top: 24px; padding: 14px 20px; min-height: 48px;
  background: #6E4512; color: #FFFDF8; border-radius: 6px;
  text-decoration: none; font-size: 15px; letter-spacing: 3px;
}
.st-audio-btn:hover { background: #8B4513; text-decoration: none; }

/* ============================================================
   外婆的录音（全黑音频页）
   ============================================================ */
body[data-theme="audio"] { background: #000; color: #E8E3D2; }
.au-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 30px 20px; position: relative;
}
.au-play {
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid #3A3F4A; background: #0E1116; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.au-play svg { width: 30px; height: 30px; fill: #EDE9D8; margin-left: 4px; }
.au-play:hover { border-color: #EDE9D8; }
.au-lines { max-width: 560px; width: 100%; max-height: 62vh; overflow-y: auto; padding: 0 6px; }
.au-line { font-size: 16px; line-height: 2.1; color: #E8E3D2; margin-bottom: 10px; }
.au-stage { font-size: 12px; color: #5A6068; font-style: italic; margin-bottom: 8px; }
.au-end {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; animation: auFade 3s ease forwards;
}
@keyframes auFade { from { opacity: 0; } to { opacity: 1; } }
.au-end-title { font-size: 34px; letter-spacing: 10px; padding-left: 10px; color: #EDE9D8; font-weight: 600; }
.au-end-sub { margin-top: 14px; font-size: 11px; color: #555B64; letter-spacing: 2px; }

/* ============================================================
   密讯（匿名论坛，暗色）
   ============================================================ */
body[data-theme="mixun"] { background: #10141C; color: #C9D2E0; }
.mx-wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px 48px; }
.mx-header {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 0 14px; border-bottom: 1px solid #232B38; margin-bottom: 20px;
}
.mx-logo { font-size: 26px; font-weight: 800; color: #EDF2F8; letter-spacing: 6px; }
.mx-subtitle { font-size: 13px; color: #6E7B8F; }
.mx-search { display: flex; margin-bottom: 18px; }
.mx-search input {
  flex: 1; min-width: 0; height: 46px; background: #171D28;
  border: 1px solid #232B38; border-right: none; border-radius: 8px 0 0 8px;
  padding: 0 14px; font-size: 15px; color: #C9D2E0; outline: none;
}
.mx-search input:focus { border-color: #3B4A63; }
.mx-search button {
  height: 46px; padding: 0 24px; border: none; border-radius: 0 8px 8px 0;
  background: #2E3A50; color: #C9D2E0; font-size: 15px; cursor: pointer;
}
.mx-boards { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mx-board {
  border: 1px solid #232B38; background: none; color: #8B98AD;
  border-radius: 999px; padding: 8px 18px; font-size: 14px; cursor: pointer; min-height: 40px;
}
.mx-board.active { background: #2E3A50; color: #EDF2F8; border-color: #3B4A63; }
.mx-hot-title { font-size: 14px; color: #6E7B8F; margin-bottom: 12px; }
.mx-post {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #171D28; border: 1px solid #232B38; border-radius: 8px;
  padding: 14px 16px; margin-bottom: 12px; text-decoration: none;
}
.mx-post:hover { border-color: #3B4A63; }
.mx-post-title { font-size: 16px; font-weight: 600; color: #EDF2F8; margin-bottom: 6px; }
.mx-post-meta { font-size: 12px; color: #6E7B8F; display: flex; gap: 14px; flex-wrap: wrap; }
.mx-board-tag { color: #7FB3E8; }
.mx-none { text-align: center; color: #6E7B8F; padding: 40px 0; font-size: 14px; }
.mx-back {
  border: none; background: none; color: #7FB3E8; font-size: 14px;
  cursor: pointer; padding: 4px 0 16px; min-height: 36px; display: inline-block; text-decoration: none;
}
.mx-detail { background: #171D28; border: 1px solid #232B38; border-radius: 8px; padding: 20px; }
.mx-detail h1 { font-size: 20px; color: #EDF2F8; margin: 0 0 10px; line-height: 1.5; }
.mx-author-link { color: #7FB3E8; text-decoration: none; }
.mx-author-link:hover { text-decoration: underline; }
.mx-detail-body { margin: 16px 0; font-size: 15px; line-height: 2; color: #C9D2E0; }
.mx-detail-body p { margin: 0 0 12px; }
.mx-replies { border-top: 1px solid #232B38; padding-top: 14px; margin-top: 18px; }
.mx-replies-title { font-size: 13px; color: #6E7B8F; margin-bottom: 12px; }
.mx-reply { margin-bottom: 14px; }
.mx-reply-head { font-size: 13px; color: #8B98AD; margin-bottom: 4px; }
.mx-reply p { font-size: 14px; color: #C9D2E0; line-height: 1.8; }
.mx-reply-avatar {
  display: inline-flex; width: 18px; height: 18px; border-radius: 50%;
  background: #2E3A50; color: #8B98AD; font-size: 11px;
  align-items: center; justify-content: center; vertical-align: -3px; margin-right: 4px;
}
.mx-user-history { margin-top: 18px; border-top: 1px solid #1F2733; padding-top: 14px; }
.mx-user-history-title { font-size: 13px; color: #6E7B8F; margin-bottom: 12px; }
.mx-history-item { margin-bottom: 14px; }
.mx-history-meta { font-size: 12px; color: #6E7B8F; }
.mx-history-title { font-size: 14px; color: #7FB3E8; margin: 2px 0 4px; }
.mx-history-content { font-size: 14px; color: #C9D2E0; line-height: 1.8; margin: 0; }
.mx-user { background: #171D28; border: 1px solid #232B38; border-radius: 8px; padding: 24px 20px; }
.mx-user-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mx-user-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: #2E3A50; color: #8B98AD;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.mx-user-name { font-size: 17px; font-weight: 600; color: #EDF2F8; }
.mx-user-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid #1F2733; font-size: 14px;
}
.mx-user-row span:first-child { color: #6E7B8F; flex-shrink: 0; }
.mx-signature { margin-top: 14px; font-size: 14px; color: #8B98AD; font-style: italic; }

/* ============================================================
   月亮直聘（招聘网站风）
   ============================================================ */
body[data-theme="moonjob"] { background: #F5F7FA; color: #232A34; }
.mj-wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px 44px; }
.mj-header { display: flex; align-items: center; gap: 10px; padding: 10px 0 20px; }
.mj-header img, .mj-header svg { width: 36px; height: 36px; flex-shrink: 0; }
.mj-logo-text { font-size: 18px; font-weight: 700; color: #1A73E8; }
.mj-search { display: flex; margin-bottom: 22px; }
.mj-search input {
  flex: 1; min-width: 0; height: 46px;
  border: 1px solid #DCE3EC; border-right: none; border-radius: 8px 0 0 8px;
  padding: 0 14px; font-size: 15px; outline: none; background: #fff; color: #232A34;
}
.mj-search input:focus { border-color: #1A73E8; }
.mj-search button {
  height: 46px; padding: 0 24px; border: none; border-radius: 0 8px 8px 0;
  background: #1A73E8; color: #fff; font-size: 15px; cursor: pointer;
}
.mj-title { font-size: 15px; font-weight: 700; color: #55606E; margin-bottom: 12px; }
.mj-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: #fff; border: none; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06);
  padding: 16px 18px; margin-bottom: 14px; text-align: left; cursor: pointer;
}
.mj-card:hover { box-shadow: 0 4px 14px rgba(15, 30, 60, .12); }
.mj-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #1A73E8; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.mj-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mj-card-name { font-size: 16px; font-weight: 700; }
.mj-card-meta { font-size: 13px; color: #7A8694; }
.mj-card-intent { font-size: 14px; color: #1A73E8; }
.mj-card-more { font-size: 13px; color: #1A73E8; flex-shrink: 0; }
.mj-none { text-align: center; color: #7A8694; padding: 44px 0; font-size: 14px; }
.mj-back { border: none; background: none; color: #1A73E8; font-size: 15px; cursor: pointer; padding: 6px 0 16px; min-height: 40px; }
.mj-resume { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06); padding: 22px 20px; }
.mj-resume-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid #EDF1F5; margin-bottom: 6px;
}
.mj-resume-name { font-size: 20px; font-weight: 700; }
.mj-resume-meta { font-size: 13px; color: #7A8694; margin-top: 2px; }
.mj-field { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F5F7FA; font-size: 14px; }
.mj-field-label { width: 76px; flex-shrink: 0; color: #7A8694; }
.mj-field-value { flex: 1; line-height: 1.7; }
.mj-contact { color: #1A73E8; }

/* 我的 */
.wt-profile-rows { width: 100%; margin-top: 10px; border-top: 1px solid #F2F2F2; }
.wt-profile-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 4px; border-bottom: 1px solid #F2F2F2; font-size: 14px;
}
.wt-profile-row span:first-child { color: #888; flex-shrink: 0; }
.wt-profile-row span:last-child { color: #191919; text-align: right; word-break: break-all; }
.wt-me { padding: 44px 20px 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wt-me img, .wt-me svg { width: 76px; height: 76px; border-radius: 50%; }
.wt-me-name { font-size: 19px; font-weight: 600; }
.wt-memorial { color: #A33535; font-weight: 600; }
.wt-btn-line { height: 44px; border-radius: 12px; font-size: 15px; cursor: pointer; background: #fff; border: 1px solid #DDD; color: #333; }
.wt-me .wt-btn-line { min-width: 200px; padding: 0 24px; }

/* 结局提示（脚本对话完结后） */
.wt-ending {
  margin-top: 18px; background: #fff; border-radius: 12px;
  padding: 18px 16px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.wt-ending p { margin: 0 0 6px; font-size: 14px; color: #666; line-height: 1.8; }
.wt-ending-options { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.wt-ending-btn {
  height: 44px; border: 1px solid #DDD; background: #fff; border-radius: 12px;
  font-size: 15px; cursor: pointer; color: #191919;
}
.wt-ending-btn:hover { border-color: #07C160; color: #07C160; }
.wt-ending-btn.done { opacity: .5; pointer-events: none; }
.wt-ending-chosen { margin-top: 14px; font-size: 14px; color: #07C160; font-weight: 600; }

/* 添加好友 */
.wt-add { padding: 20px 16px; }
.wt-add-search { display: flex; gap: 10px; margin-bottom: 18px; }
.wt-add-search .wt-input { flex: 1; min-width: 0; }
.wt-add-search .wt-btn { height: 46px; padding: 0 22px; border-radius: 12px; flex-shrink: 0; }
.wt-add-hint { text-align: center; color: #AAA; font-size: 14px; padding: 40px 0; }
.wt-add-result { text-align: center; padding: 36px 0; font-size: 15px; }
.wt-add-cancelled { color: #A33535; font-weight: 600; }
.wt-add-ok-text { color: #07C160; font-weight: 600; }
.wt-add-verify {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  padding: 24px 20px; text-align: center;
}
.wt-add-verify-title { font-size: 16px; font-weight: 600; color: #191919; }
.wt-add-verify-meta { font-size: 13px; color: #888; margin-top: 6px; }
.wt-add-verify .wt-field { text-align: left; margin-top: 12px; }
.wt-add-verify .wt-btn { width: 100%; margin-top: 6px; }

/* 弹窗 */
.wt-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wt-modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.wt-modal-card {
  position: relative; background: #fff; border-radius: 12px; padding: 26px 22px 18px;
  width: min(100%, 320px); text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}
.wt-modal-title { font-size: 16px; font-weight: 600; color: #191919; }
.wt-modal-reason { font-size: 14px; color: #888; margin: 10px 0 20px; }
.wt-modal-ok { width: 100%; height: 44px; border: none; background: #07C160; color: #fff; border-radius: 10px; font-size: 15px; cursor: pointer; }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; padding: 90px 20px; color: #70757A; }
.nf-code { font-size: 56px; font-weight: 800; color: #DADCE0; margin-bottom: 10px; }
.notfound p { margin-bottom: 18px; font-size: 15px; }
.notfound a { color: #1A73E8; }

/* ============================================================
   管理后台
   ============================================================ */
body[data-theme="admin"] { background: #EEF1F5; color: #232A34; }
.admin-gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-gate-card {
  background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(15, 30, 60, .12);
  padding: 36px 30px; width: min(100%, 360px);
}
.admin-gate-card h1 { font-size: 20px; margin: 0 0 22px; text-align: center; }
.admin-gate-card form { display: flex; flex-direction: column; gap: 14px; }
.admin-gate-card input {
  height: 44px; border: 1px solid #D9DEE6; border-radius: 8px;
  padding: 0 14px; font-size: 15px; outline: none;
}
.admin-gate-card input:focus { border-color: #1A73E8; }
.admin-gate-card button {
  height: 44px; background: #1A73E8; color: #fff;
  border: none; border-radius: 8px; font-size: 15px; cursor: pointer;
}

.admin-shell { display: flex; min-height: 100vh; }
.admin-menu {
  width: 224px; background: #1C2430; color: #CBD5E1;
  padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.admin-logo {
  color: #fff; font-weight: 700; padding: 4px 12px 18px;
  font-size: 15px; border-bottom: 1px solid #2E3A4C; margin-bottom: 10px;
}
.admin-menu-item {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: #CBD5E1; font-size: 14px; padding: 12px 14px; border-radius: 8px;
  cursor: pointer; min-height: 44px;
}
.admin-menu-item:hover { background: #2A3444; }
.admin-menu-item.active { background: #1A73E8; color: #fff; font-weight: 600; }
.admin-logout { margin-top: auto; color: #E07A7A; }
.admin-main { flex: 1; padding: 26px; min-width: 0; }
.ad-panel h2 { font-size: 20px; margin: 0 0 6px; }
.ad-tip { font-size: 13px; color: #7A8694; margin: 0 0 20px; line-height: 1.8; }
.ad-group {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06);
  padding: 20px; margin-bottom: 18px;
}
.ad-group-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; color: #16324F; }
.ad-field { display: block; margin-bottom: 12px; }
.ad-label { display: block; font-size: 13px; color: #7A8694; margin-bottom: 5px; }
.ad-field input, .ad-field textarea {
  width: 100%; border: 1px solid #D9DEE6; border-radius: 6px;
  padding: 10px 12px; font-size: 14px; outline: none; background: #FBFCFD; color: #232A34;
}
.ad-field textarea { resize: vertical; line-height: 1.7; }
.ad-field input:focus, .ad-field textarea:focus { border-color: #1A73E8; background: #fff; }
.ad-btn, .ad-btn-ghost {
  min-height: 44px; padding: 10px 20px; border-radius: 8px;
  font-size: 14px; cursor: pointer; border: none; margin-top: 4px;
}
.ad-btn { background: #1A73E8; color: #fff; }
.ad-btn:hover { background: #1765CC; }
.ad-btn-ghost { background: #fff; color: #1A73E8; border: 1px solid #BBD4F5; }
.ad-btn-ghost:hover { background: #F0F6FE; }
.ad-rows { margin-bottom: 10px; }
.ad-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px; align-items: center; margin-bottom: 8px;
}
.ad-row input {
  width: 100%; border: 1px solid #D9DEE6; border-radius: 6px;
  padding: 9px 10px; font-size: 14px; color: #232A34; min-width: 0;
}
.ad-del { background: none; border: none; color: #C0392B; font-size: 20px; cursor: pointer; min-width: 32px; height: 44px; }
.ad-kw-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ad-kw {
  border: 1px solid #D9DEE6; background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 14px; cursor: pointer; min-height: 40px; color: #232A34;
}
.ad-kw.active { background: #1A73E8; border-color: #1A73E8; color: #fff; }
.ad-kw-add { display: flex; gap: 8px; }
.ad-kw-add input { flex: 1; border: 1px solid #D9DEE6; border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.ad-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.ad-img-card {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15, 30, 60, .06);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.ad-img-preview {
  height: 120px; border: 1px dashed #D9DEE6; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #F7F9FB;
}
.ad-img-preview img { width: 100%; height: 100%; object-fit: cover; }
.ad-img-preview span { color: #AAB3BF; font-size: 12px; padding: 0 10px; text-align: center; }
.ad-img-name { font-size: 13px; color: #55606E; }
.ad-file { text-align: center; display: block; }
.ad-meta { font-size: 13px; color: #7A8694; margin-top: 18px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 760px) {
  .admin-shell { flex-direction: column; }
  .admin-menu { width: 100%; flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; }
  .admin-logo { display: none; }
  .admin-menu-item { width: auto; white-space: nowrap; padding: 10px 14px; min-height: 40px; }
  .admin-logout { margin: 0 0 0 auto; }
}
@media (max-width: 520px) {
  .ms-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .fm-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fm-card { padding: 12px; }
  .ed-title { font-size: 21px; }
  .fm-nav a { padding: 8px 10px; font-size: 14px; }
  .fm-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .fm-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
