/* ====== 牛马效率工具 · PC 网页公共样式（对齐原官网 layout + 暖橙主题） ====== */
:root {
  --primary: #f59e0b;
  --primary-2: #d97706;
  --primary-soft: #fef3c7;
  --accent-grad: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --bg: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
  --radius: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
.container { max-width: 94vw; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
main { flex: 1 0 auto; }

/* ===== 通用按钮 ====== */
.btn {
  height: 44px; padding: 0 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--primary); color: #fff; transition: .2s; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.btn:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--primary-2); border: 1px solid #f0d9a8; }
.btn.ghost:hover { background: var(--primary-soft); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.lg { height: 52px; padding: 0 32px; font-size: 15px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 4px 6px; border-radius: 999px; transition: background .2s; }
.user-chip:hover { background: rgba(0,0,0,.04); }
.user-chip .avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-size: 14px; overflow: hidden; flex: 0 0 auto; }
.user-chip .avatar .ai { line-height: 1; }
.user-chip .avatar .aimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.user-chip .u-meta { display: flex; flex-direction: column; line-height: 1.15; }
.user-chip .u-meta .uname { font-weight: 600; color: #0f172a; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.user-chip .u-meta .uid { font-size: 11px; color: var(--muted); }
.tag-vip { font-size: 11px; background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.vip-remain { font-size: 11px; color: #ea580c; background: #fff7ed; padding: 1px 7px; border-radius: 999px; white-space: nowrap; cursor: default; }
.tag-vip.perm { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.tag-vip.expired { background: #e2e8f0; color: #94a3b8; }

/* 账户卡（点击头像弹出，固定在右上角，避免被 header 裁切） */
.acct-pop { position: fixed; top: 64px; right: 20px; width: 260px; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.16); padding: 20px; z-index: 9998; display: none; animation: acctIn .18s ease; }
.acct-pop.show { display: block; }
@keyframes acctIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.acct-pop .acct-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin-bottom: 12px; }
.acct-pop .acct-head .avatar { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-size: 20px; overflow: hidden; flex: 0 0 auto; }
.acct-pop .acct-head .avatar .ai { line-height: 1; }
.acct-pop .acct-head .avatar .aimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acct-pop .acct-name { font-size: 16px; font-weight: 700; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-pop .acct-uid { font-size: 12px; color: var(--muted); margin-top: 2px; }
.acct-pop .acct-copy { margin-left: 6px; color: var(--primary-2); cursor: pointer; font-size: 11px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0 6px; }
.acct-pop .acct-copy:hover { background: #f1f5f9; }
.acct-pop .acct-row { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.acct-pop .acct-stats { display: flex; gap: 8px; margin-top: 12px; }
.acct-pop .acct-stats .stat-item { flex: 1; background: #f8fafc; border-radius: 10px; padding: 10px 4px; text-align: center; }
.acct-pop .acct-stats .stat-num { font-size: 16px; font-weight: 700; color: var(--primary-2); font-variant-numeric: tabular-nums; }
.acct-pop .acct-stats .stat-lab { font-size: 11px; color: var(--muted); margin-top: 2px; }
.acct-pop .acct-logout { margin-top: 14px; width: 100%; height: 40px; border: none; border-radius: 10px; background: #f1f5f9; color: #ef4444; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.acct-pop .acct-logout:hover { background: #fee2e2; }

/* ===== 顶部导航（桌面端：固定 + 毛玻璃，与手机端无底栏区分） ====== */
.header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(226, 232, 240, .7); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; flex-wrap: wrap; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; }
.logo-icon { font-size: 32px; }
.logo .grad, .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #475569; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-use { background: var(--primary); color: #fff; padding: 8px 24px; border-radius: 40px; font-weight: 600; transition: .2s; }
.btn-use:hover { background: var(--primary-2); transform: scale(1.02); }
.user-chip .logout { color: var(--muted); font-size: 13px; }
.user-chip .logout:hover { color: var(--primary-2); }

/* ===== Hero（两栏：左文案+统计+按钮，右白卡二维码，对齐原官网） ====== */
.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding: 60px 0 40px; }
.hero-left { flex: 1; min-width: 300px; }
.hero-badge { background: var(--primary-soft); color: var(--primary-2); display: inline-block; padding: 4px 14px; border-radius: 40px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero-left h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero-left h1 span { color: var(--primary); }
.hero-left p { font-size: 1.1rem; color: #475569; margin-bottom: 28px; max-width: 90%; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 14px; color: var(--muted); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--primary); color: #fff; padding: 12px 32px; border-radius: 40px; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid #cbd5e1; padding: 12px 32px; border-radius: 40px; font-weight: 600; transition: .2s; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-right { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.qr-card { background: #fff; border-radius: 32px; padding: 32px; box-shadow: 0 20px 35px -12px rgba(0, 0, 0, .1); text-align: center; width: 100%; max-width: 360px; }
.qr-emoji { font-size: 48px; margin-bottom: 12px; }
.qr-title { font-weight: 600; margin-bottom: 8px; font-size: 18px; }
.qr-img-box { width: 200px; height: 200px; margin: 0 auto 12px; border-radius: 16px; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center; }
.qr-img-box img { width: 100%; height: 100%; object-fit: cover; }
.qr-fallback { color: var(--muted-2); font-size: 14px; }
.qr-tip { font-size: 12px; color: var(--muted-2); }

/* ===== 区块标题（居中，对齐原官网） ====== */
.section-title { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 28px; }

/* ===== 热门应用 / 最近使用（首页精选，横向图标卡） ====== */
.hot-apps { padding: 30px 0 10px; }
.recent-apps { padding: 10px 0; }
.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hot-card { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); cursor: pointer; transition: .3s; border: 1px solid transparent; }
.hot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #fde9c2; }
.hot-card:hover .hot-arrow { transform: translateX(3px); color: var(--primary-2); }
.hot-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; background: var(--primary-soft); display: grid; place-items: center; font-size: 28px; }
.hot-info { flex: 1; min-width: 0; }
.hot-name { font-size: 16px; font-weight: 600; color: var(--text); }
.hot-desc { font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-arrow { color: var(--muted-2); font-size: 18px; transition: .2s; }

/* ===== 工具区（分类 Tab + 居中卡片网格） ====== */
.features { padding: 20px 0 50px; }
.tools-search { max-width: 560px; margin: 0 auto 26px; position: relative; }
.tools-search input { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 0 22px 0 46px; font-size: 15px; outline: none; transition: .2s; }
.tools-search::before { content: "🔍"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); opacity: .45; }
.tools-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(245, 158, 11, .14); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.tab { height: 42px; padding: 0 22px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; color: var(--muted); transition: .2s; }
.tab:hover { border-color: #f0d9a8; color: var(--primary-2); }
.tab.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(245, 158, 11, .6); }
.cat-section { padding: 10px 0; }
.cat-title { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; margin-bottom: 18px; }
.cat-title .dot { width: 10px; height: 10px; border-radius: 3px; }
.cat-title .count { font-size: 13px; color: var(--muted); font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.tool-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: .3s; box-shadow: var(--shadow); cursor: pointer; position: relative; border: 1px solid transparent;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #fde9c2; }
.tool-icon { font-size: 42px; line-height: 1; margin-bottom: 12px; }
.tool-name { font-size: 16px; font-weight: 600; }
.tool-tag { display: inline-block; margin-top: 10px; background: var(--primary-soft); color: var(--primary-2); padding: 3px 12px; border-radius: 20px; font-size: 12px; }

/* ===== 适用场景（白卡） ====== */
.scenes { background: #fff; border-radius: 32px; padding: 48px 32px; margin: 30px 0; box-shadow: var(--shadow); }
.scenes .section-title { font-size: 1.5rem; }
.scenes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 32px; }
.scene-item { text-align: center; padding: 12px; }
.scene-icon { font-size: 36px; margin-bottom: 12px; }
.scene-item h4 { margin-bottom: 8px; font-size: 16px; }
.scene-item p { font-size: 13px; color: var(--muted); }

/* ===== 信任数据 ====== */
.trust { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 20px 0; }
.trust-item { text-align: center; }
.trust-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.trust-item > div:last-child { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ===== 号召行动 ====== */
.cta { text-align: center; padding: 60px 0; }
.cta h2 { font-size: 1.8rem; margin-bottom: 16px; }
.cta p { color: var(--muted); margin-bottom: 24px; }
.qr-code { display: inline-block; background: #fff; padding: 20px; border-radius: 24px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .1); }
.qr-code .qr-img-box { width: 200px; height: 200px; }
.qr-code .qr-cap { font-weight: 600; margin-top: 8px; }

/* ===== 页脚（居中，对齐原官网） ====== */
.footer { text-align: center; padding: 40px 0; color: var(--muted-2); font-size: 14px; border-top: 1px solid var(--border); margin-top: 30px; }
.footer .logo { justify-content: center; font-size: 18px; margin-bottom: 12px; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin: 12px 0; flex-wrap: wrap; }
.footer-links a:hover { color: var(--primary-2); }
.footer-legal { margin-top: 10px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--primary-2); }
.footer-legal .sep { margin: 0 10px; opacity: .5; }

/* ============================================================
   桌面端专属：应用外壳（app-shell）布局 —— 与小程序的单列手机视图区分
   ============================================================ */

/* 工具页：左侧固定「工具目录」侧栏 + 右侧工作区（桌面端最典型的两栏布局） */
.app-shell { display: grid; grid-template-columns: 248px 1fr; gap: 26px; align-items: start; margin: 26px 0 0; animation: fadeInUp .5s ease both; }
@media (max-width: 1080px) { .app-shell { grid-template-columns: 200px 1fr; gap: 18px; } }
@media (max-width: 720px) { .app-shell { grid-template-columns: 1fr; gap: 16px; } .app-side { position: static !important; max-height: none; } }

.app-side { position: sticky; top: 76px; align-self: start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; max-height: calc(100vh - 96px); overflow: auto; }
.side-title { font-size: 12px; font-weight: 700; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; padding: 6px 10px 10px; }
.side-search { width: 100%; height: 38px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; font-size: 13px; outline: none; background: #fff; margin-bottom: 10px; box-sizing: border-box; }
.side-search:focus { border-color: var(--primary); }
.side-list { display: flex; flex-direction: column; gap: 2px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; color: #334155; transition: .15s; border: 1px solid transparent; }
.side-item .si-ic { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; background: var(--primary-soft); font-size: 16px; }
.side-item .si-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item:hover { background: #f1f5f9; }
.side-item.active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.side-item.active .si-ic { background: rgba(255, 255, 255, .25); }

/* 首页工具目录：桌面端以「分组」分区呈现，弱化手机式的居中胶囊 Tab */
.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.cat-bar button { border: 1px solid var(--border); background: #fff; color: var(--muted); padding: 7px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: .15s; }
.cat-bar button:hover { border-color: var(--primary); color: var(--primary); }
.cat-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.tool-section { margin-top: 26px; }
.tool-section .sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.tool-section .sec-head h2 { font-size: 19px; margin: 0; }
.tool-section .sec-head .count { font-size: 13px; color: var(--muted); }
.tool-section .sec-head .desc { margin-left: auto; font-size: 13px; color: var(--muted); }

.auth-wrap { display: grid; place-items: center; padding: 48px 20px; }
.auth-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); width: 100%; max-width: 760px; padding: 40px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h2 { font-size: 26px; font-weight: 800; }
.auth-head p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-col { border: 1px solid var(--border); border-radius: 20px; padding: 22px; text-align: center; background: #fffaf0; }
.qr-col .label { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.qr-col .sub { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.qr-box { width: 200px; height: 200px; margin: 0 auto; background: #fff; border: 1px dashed #e5c98f; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.qr-box .qr-img { width: 100%; height: 100%; object-fit: contain; }
.qr-box .qr-fallback { text-align: center; color: var(--muted); font-size: 13px; padding: 10px; }
.qr-box .qr-fallback .qr-emoji { font-size: 42px; display: block; margin-bottom: 6px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 26px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.code-row { display: flex; gap: 12px; }
.code-row input { flex: 1; height: 48px; border-radius: 12px; border: 1px solid var(--border); padding: 0 16px; font-size: 16px; letter-spacing: 2px; outline: none; text-align: center; text-transform: uppercase; }
.code-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(245, 158, 11, .14); }
.hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.hint a { color: var(--primary-2); }

/* ====== 工具使用页 ====== */
.tool-hero { padding: 30px 0 6px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tool-hero .ic { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--accent-grad); box-shadow: 0 8px 20px rgba(245, 158, 11, .25); flex-shrink: 0; }
.tool-hero h1 { font-size: 25px; font-weight: 800; }
.tool-hero p { color: var(--muted); font-size: 14px; }
.back { font-size: 14px; color: var(--muted); }
.back:hover { color: var(--primary-2); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 18px; box-shadow: var(--shadow); }

/* 工具页两栏工作区（输入 | 进度/结果），网页原生布局，区别于手机端单列 */
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 1080px) { .tool-layout { gap: 16px; } }
@media (max-width: 720px) { .tool-layout { grid-template-columns: 1fr; gap: 16px; } }
.tool-col { min-width: 0; }
/* 工作区左右两栏各自成卡，PC 工作台风格（区别于手机端窄卡堆叠） */
.work-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.work-card:hover { box-shadow: var(--shadow-hover); }
/* ===== 文件选择框 ===== */
.dropzone { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px;
  border: 2px dashed var(--border); border-radius: 18px; padding: 26px 24px; text-align: left; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .1s; background: #fbfdff; }
.file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dropzone:hover { border-color: var(--primary); background: #f5f9ff; }
.dropzone:active { transform: scale(.995); }
.dropzone.drag { border-color: var(--primary); background: #eef5ff; box-shadow: 0 0 0 4px rgba(245, 158, 11, .12); }
.dz-icon { font-size: 46px; line-height: 1; flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.08)); }
.dz-text { flex: 1 1 auto; min-width: 0; }
.dz-title { font-weight: 700; font-size: 16px; color: #1f2937; }
.dz-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.dz-btn { flex: 0 0 auto; padding: 9px 22px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(245, 158, 11, .28); transition: .2s; }
.dropzone:hover .dz-btn { background: #e6900a; }

/* ===== 文件信息卡片 ===== */
.file-info { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; }
.file-info .fi-ic { font-size: 26px; }
.file-info .fi-name { font-weight: 600; font-size: 14px; word-break: break-all; }
.file-info .fi-size { font-size: 12px; color: var(--muted); }
.file-info .fi-x { margin-left: auto; color: var(--muted); cursor: pointer; font-size: 18px; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; transition: .15s; }
.file-info .fi-x:hover { background: #fed7aa; color: #b45309; }
.file-info-box { margin-top: 14px; display: none; flex-direction: column; gap: 10px; }

/* ===== 功能说明 / 提示卡片 ===== */
.tip-card { margin-top: 18px; background: linear-gradient(180deg, #fffdf7, #fffaf0); border: 1px solid #fde9c4; border-radius: 16px; padding: 18px 20px; }
.tip-head { display: flex; align-items: center; gap: 8px; }
.tip-ic { font-size: 18px; }
.tip-title { font-weight: 700; font-size: 15px; color: #92400e; }
.tip-desc { margin: 10px 0 0; font-size: 14px; color: #475569; line-height: 1.6; }
.tip-steps { margin: 12px 0 0; padding-left: 4px; list-style: none; display: grid; gap: 8px; }
.tip-steps li { font-size: 13.5px; color: #475569; line-height: 1.5; }
.tip-steps b { display: inline-block; min-width: 18px; color: var(--primary); }
.tip-support { margin-top: 14px; display: none; align-items: center; flex-wrap: wrap; gap: 8px; }
.sup-label { font-size: 13px; color: var(--muted); }
.sup-chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #eef5ff; color: #2563eb; border: 1px solid #dbeafe; }

/* hero 标签 */
.hero-main { flex: 1; }
.hero-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.htag { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: #f1f5f9; color: #475569; border: 1px solid var(--border); }
.htag:nth-child(1) { background: #fff7ed; color: #b45309; border-color: #fed7aa; }

/* 未登录提示条（不遮挡交互） */
.login-tip { margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 12px 16px; }
.login-tip .lt-ic { font-size: 20px; }
.login-tip .lt-text { flex: 1; min-width: 220px; font-size: 13.5px; color: #92400e; line-height: 1.5; }
.login-tip .lt-text b { color: #b45309; }
.btn.sm { padding: 7px 16px; font-size: 13px; }

.options { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.opt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.opt input { width: 16px; height: 16px; accent-color: var(--primary); }
.actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.steps { display: flex; gap: 10px; margin-top: 22px; }
.step { flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); background: #fff7ed; border: 1px solid var(--border); border-radius: 999px; padding: 9px 10px; transition: .2s; }
.step .num { width: 22px; height: 22px; border-radius: 50%; background: #e5e7eb; color: var(--muted); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.step.active { border-color: var(--primary); color: var(--primary-2); background: var(--primary-soft); }
.step.active .num { background: var(--primary); color: #fff; }
.step.done { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.step.done .num { background: #10b981; color: #fff; }
/* ===== 处理进度（网页内联式，替代手机端全屏弹窗） ===== */
.progress-inline { display: none; margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: #f8fafc; }
.progress-inline.show { display: block; animation: piIn .2s ease; }
@keyframes piIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pi-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; font-weight: 700; font-size: 18px; }
.pi-label { font-size: 15px; font-weight: 600; color: #1f2937; }
.pi-percent { font-size: 14px; font-weight: 600; color: #2563eb; margin-left: auto; font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.pi-percent.hide { display: none; }
.pi-close { margin-left: 12px; height: 32px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #475569; font-size: 13px; cursor: pointer; transition: background .2s; }
.pi-close:hover { background: #eef2f7; }
.pi-bar-track { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.pi-bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%); border-radius: 999px; transition: width .2s ease; position: relative; overflow: hidden; }
.pi-bar-fill::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: piShine 1.5s ease-in-out infinite; }
@keyframes piShine { 0% { left: -100%; } 100% { left: 200%; } }
.pi-bar-fill.indet { width: 100% !important; }
.pi-hint { font-size: 12px; color: #94a3b8; margin-top: 10px; }
.result { margin-top: 20px; display: none; padding: 20px; border-radius: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.result.show { display: block; }

/* 右栏空闲占位（结果出现前） */
.output-placeholder { display: flex; flex-direction: column; gap: 16px; min-height: 220px; padding: 22px; border: 1px dashed var(--border); border-radius: 14px; background: #fbfdff; color: var(--muted); text-align: left; }
.output-placeholder .op-head { display: flex; align-items: center; gap: 14px; }
.output-placeholder .op-icon { font-size: 34px; flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .06)); }
.output-placeholder .op-title { font-size: 16px; font-weight: 600; color: #1f2937; }
.output-placeholder .op-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.output-placeholder .op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.output-placeholder .op-cell { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.output-placeholder .op-k { font-size: 12px; color: #94a3b8; }
.output-placeholder .op-v { font-size: 13px; color: #475569; }
.output-placeholder .op-tips { margin: 0; padding-left: 18px; font-size: 12px; color: #94a3b8; line-height: 1.9; }

/* 收起进度后的「后台处理中」浮动提示（非阻塞，网页右下角） */
.resume-bar { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: none; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); animation: rbIn .2s ease; }
@keyframes rbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.resume-bar .rb-dot { width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; position: relative; flex: 0 0 auto; }
.resume-bar .rb-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(59, 130, 246, .35); animation: rbPulse 1.4s ease-out infinite; }
@keyframes rbPulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.resume-bar .rb-text { font-size: 13px; color: #1e40af; }
.resume-bar .btn.sm { flex: 0 0 auto; }

/* 收起后：右栏原地的「后台处理中」内联卡片（用户视线所在处，避免误以为任务消失） */
.bg-running { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #eff6ff, #f0f9ff); border: 1px solid #bfdbfe; box-shadow: 0 6px 18px rgba(59, 130, 246, .12); animation: fadeInUp .35s ease; }
.bg-running .bgr-spinner { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; border: 3px solid #bfdbfe; border-top-color: #3b82f6; animation: bgrSpin .8s linear infinite; }
@keyframes bgrSpin { to { transform: rotate(360deg); } }
.bg-running .bgr-text { flex: 1 1 auto; min-width: 0; }
.bg-running .bgr-title { font-weight: 700; color: #1e40af; font-size: 15px; }
.bg-running .bgr-sub { font-size: 12px; color: #3b82f6; margin-top: 3px; line-height: 1.6; }
.bg-running .btn.sm { flex: 0 0 auto; }
.result-title { font-weight: 700; color: #047857; margin-bottom: 12px; }
.file-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #d1fae5; border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px; }
.file-icon { width: 42px; height: 42px; flex: 0 0 42px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #ecfdf5; border-radius: 8px; }
.file-details { min-width: 0; }
.file-name { font-weight: 600; color: #065f46; font-size: 14px; word-break: break-all; }
.file-size { font-size: 12px; color: #6b7280; margin-top: 2px; }
.img-preview { max-width: 100%; max-height: 460px; border-radius: 10px; display: block; margin: 6px 0 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.pdf-preview { width: 100%; height: 560px; border: 0; border-radius: 10px; background: #fff; margin: 6px 0 14px; }
.result.error { background: #fef2f2; border-color: #fecaca; }
.result-error { display: flex; gap: 14px; align-items: flex-start; }
.result-error .err-ic { font-size: 26px; line-height: 1; }
.result-error .err-title { font-weight: 700; color: #b91c1c; margin-bottom: 4px; }
.result-error .err-msg { font-size: 13px; color: #7f1d1d; white-space: pre-wrap; word-break: break-word; }

/* VIP 失效弹框 */
.nm-modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.nm-modal { background: #fff; border-radius: 18px; padding: 26px 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); animation: nmpop .2s ease; }
@keyframes nmpop { from { transform: translateY(10px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.nm-modal-ic { font-size: 40px; }
.nm-modal-title { margin: 10px 0 8px; font-size: 19px; color: #0f172a; }
.nm-modal-desc { font-size: 14px; color: #475569; line-height: 1.6; margin: 0 0 16px; }
.nm-modal-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.nm-modal-qr img { width: 160px; height: 160px; border: 1px solid var(--border, #e5e7eb); border-radius: 12px; background: #fff; }
.nm-modal-qr-tip { font-size: 12px; color: var(--muted, #94a3b8); }
.nm-modal-actions { display: flex; gap: 10px; }
.nm-modal-btn { flex: 1; padding: 10px; border: none; border-radius: 10px; background: var(--primary, #3B82F6); color: #fff; font-size: 14px; cursor: pointer; }
.nm-modal-btn:hover { filter: brightness(1.05); }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: #1e293b; color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 36px 0 24px; }
  .hero-left h1 { font-size: 2rem; }
  .hero-left p { max-width: 100%; }
  .qr-row { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .steps { flex-direction: column; }
}

/* ====== 导航「处理中」数量徽标 ====== */
.nav-badge {
  display: none; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; line-height: 16px; vertical-align: middle;
}

/* ====== 转换记录页 ====== */
.records-page { padding: 28px 0 40px; }
.rec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rec-head h1 { font-size: 26px; margin: 0; color: #0f172a; }
.rec-sub { margin: 6px 0 0; color: #64748b; font-size: 14px; }

/* 工具栏：筛选 + 每页大小 */
.rec-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 4px; gap: 4px; }
.tab { border: none; background: transparent; color: #475569; font-size: 14px; padding: 7px 16px; border-radius: 8px; cursor: pointer; transition: all .15s; }
.tab:hover { color: #0f172a; }
.tab.active { background: #fff; color: #0f172a; font-weight: 600; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.rec-page-size { font-size: 13px; color: #64748b; }
.rec-page-size select { margin-left: 6px; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #334155; cursor: pointer; }

/* 列表（桌面端行式卡片） */
.rec-list { display: flex; flex-direction: column; gap: 10px; }
.rec-item { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); transition: .15s; }
.rec-item:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); }
.rec-item[data-status="0"] { background: #fffdf8; }
.rec-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--primary-soft); }
.rec-main { min-width: 0; }
.rec-name { font-weight: 600; font-size: 15px; color: #0f172a; word-break: break-all; }
.rec-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.rec-status { flex: 0 0 auto; }
.rec-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.rec-badge-0 { background: #fff7ed; color: #ea580c; }
.rec-badge-1 { background: #ecfdf5; color: #059669; }
.rec-badge-2 { background: #fef2f2; color: #dc2626; }
.rec-actions { display: flex; gap: 8px; }
.btn-dl { border: none; background: #10b981; color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.btn-dl:hover { filter: brightness(1.05); }
.btn-preview { border: 1px solid #d1d5db; background: #fff; color: #374151; font-size: 13px; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.btn-preview:hover { background: #f3f4f6; }
.btn-refresh { border: 1px solid #fed7aa; background: #fff7ed; color: #ea580c; font-size: 13px; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.btn-refresh:hover { background: #ffedd5; }

/* 预览弹框（图片灯箱 / 其他类型下载提示） */
.modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .74); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.modal-mask[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 16px; max-width: 94vw; max-height: 90vh; overflow: auto; position: relative; box-shadow: 0 24px 70px rgba(0, 0, 0, .4); }
.modal-close { position: absolute; top: 10px; right: 12px; z-index: 3; width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #334155; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.modal-close:hover { background: #fff; }
.modal-body { padding: 18px; }
.modal-img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 12px; }
.modal-dl { text-align: center; padding: 30px 28px; min-width: 260px; }
.modal-dl-icon { font-size: 46px; }
.modal-dl-tip { font-size: 15px; color: #334155; margin: 14px 0 20px; line-height: 1.5; }
.modal-dl-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal-dl-btn { border: none; background: #10b981; color: #fff; font-size: 14px; padding: 10px 22px; border-radius: 10px; cursor: pointer; }
.modal-dl-btn:hover { filter: brightness(1.05); }
.rec-err { font-size: 13px; color: #dc2626; margin-top: 4px; }

/* 分页器 */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pager-info { font-size: 13px; color: #64748b; }
.pager-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pg-btn { min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid #e2e8f0; background: #fff; color: #334155; font-size: 13px; border-radius: 8px; cursor: pointer; transition: all .15s; }
.pg-btn:hover:not(:disabled) { background: #f8fafc; border-color: #cbd5e1; }
.pg-btn.active { background: #10b981; border-color: #10b981; color: #fff; font-weight: 600; }
.pg-btn:disabled { opacity: .45; cursor: not-allowed; }
.pg-ellipsis { color: #94a3b8; padding: 0 4px; }
.loading { text-align: center; color: #64748b; padding: 40px 0; }
.empty { text-align: center; color: #64748b; padding: 50px 0; font-size: 15px; }

/* ====== 关于我们 / 联系客服（简洁页） ====== */
.simple-page { padding: 32px 0 44px; max-width: 760px; }
.page-title { font-size: 28px; margin: 0 0 6px; color: #0f172a; }
.page-sub { margin: 0 0 24px; color: #64748b; font-size: 15px; }
.info-card { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.info-card h2 { margin: 10px 0 8px; color: #0f172a; }
.info-card h3 { margin: 0 0 12px; color: #0f172a; }
.info-card p { color: #475569; line-height: 1.7; font-size: 14px; margin: 0 0 10px; }
.about-logo { font-size: 46px; text-align: center; }
.about-points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.about-points li { font-size: 14px; color: #334155; }
.ver-line { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ver-badge { background: #eef2ff; color: #4338ca; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.ver-tip { font-size: 13px; color: #64748b; }
.support { text-align: center; }
.support-tip { text-align: center; }
.qr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.qr-col2 { text-align: center; }
.qr-label { font-weight: 700; color: #0f172a; margin-top: 10px; }
.qr-hint { font-size: 12px; color: #94a3b8; }

/* 联系客服卡片 */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #eef2f7; border-radius: 12px; cursor: pointer; transition: .15s; }
.contact-item:hover { border-color: #c7d2fe; background: #f8faff; }
.card-icon { width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 10px; }
.card-icon.email { background: linear-gradient(135deg, #e8f4fd, #cce5ff); }
.card-icon.wechat { background: linear-gradient(135deg, #e3fcf5, #c3f1e4); }
.card-icon.qq { background: linear-gradient(135deg, #edeafc, #ddd6fe); }
.card-info { flex: 1; min-width: 0; }
.info-label { font-size: 12px; color: #94a3b8; }
.info-value { font-size: 15px; font-weight: 600; color: #0f172a; word-break: break-all; }
.copy-btn { flex: 0 0 auto; font-size: 13px; color: #4338ca; border: 1px solid #c7d2fe; background: #eef2ff; padding: 5px 12px; border-radius: 8px; }
.service-time { margin-top: 14px; font-size: 13px; color: #64748b; text-align: center; }

@media (max-width: 768px) {
  .qr-row2 { grid-template-columns: 1fr; }
  .rec-head { flex-direction: column; align-items: flex-start; }
}

/* ====== 动态效果增强（PC 端交互反馈，区别于手机端静态呈现） ====== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes dzPulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.22); } 100% { box-shadow: 0 0 0 12px rgba(245,158,11,0); } }

.tool-hero { animation: fadeInUp .5s ease both; }
.tip-card { animation: fadeInUp .5s ease .08s both; }

/* 顶栏滚动阴影 */
.header { transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 8px 24px rgba(15,23,42,.10); }

/* 侧栏项 hover 滑动 */
.side-item:hover { background: #f1f5f9; transform: translateX(3px); }
.side-item.active { transition: background .2s; }

/* 步骤激活数字圈 pop 动效 */
.step.active .num { background: var(--primary); color: #fff; animation: popIn .35s ease; }

/* 拖拽态脉冲 */
.dropzone.drag { animation: dzPulse 1.1s ease-out infinite; }

/* 结果 / 文件信息淡入 */
.result.show { animation: fadeIn .35s ease; }
.file-info-box { animation: fadeIn .3s ease; }

/* 首页 / 记录页卡片入场（仅透明度，避免与 hover 位移冲突） */
.hot-card, .tool-card, .rec-item { animation: fadeIn .5s ease both; }

/* 按钮聚焦环 */
.btn:focus-visible { outline: 3px solid rgba(245,158,11,.4); outline-offset: 2px; }

/* 文本工具 / JSON 工具工作区入场 */
.app-main > .panel, .jf-wrap { animation: fadeInUp .5s ease both; }
