/* ============================================================
   DC 标准翻译 · 设计系统  (浅蓝清爽 Light Aurora)
   light-blue base · violet #7C3AED / magenta #FF006E / teal #00A8C8
   ============================================================ */
:root {
  --bg:        #e9f3fc;
  --bg-2:      #f6faff;
  --panel:     rgba(255, 255, 255, 0.80);
  --panel-2:   rgba(255, 255, 255, 0.94);
  --line:      rgba(72, 118, 172, 0.16);
  --txt:       #1e2b3c;
  --muted:     #5b7188;
  --dim:       #8aa3bc;
  --violet:    #4ba0f0;
  --magenta:   #74c6f5;
  --cyan:      #2f9ef2;
  --green:     #0faf74;
  --amber:     #d98a00;
  --red:       #e5484d;
  --radius:    18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--txt);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { opacity: .85; }

/* ---------- 浅色背景 ---------- */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 40rem at 12% -8%, rgba(75,160,240,.12), transparent 60%),
    radial-gradient(50rem 38rem at 88% 6%, rgba(47,158,242,.11), transparent 60%),
    radial-gradient(46rem 40rem at 50% 120%, rgba(116,198,245,.06), transparent 60%),
    linear-gradient(160deg, #e9f3fc 0%, #f6faff 48%, #e9f3fc 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(72,118,172,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,118,172,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(90rem 60rem at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(90rem 60rem at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- 布局 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 16px rgba(40, 70, 110, .08), inset 0 -1px 0 rgba(255,255,255,.5);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.nav .wrap { max-width: none; padding: 0 22px; }   /* 头部通栏：品牌居左、用户操作居右 */
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: .3px; color: var(--txt); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  box-shadow: 0 0 14px rgba(116,198,245,.35);
}
.brand .logo { flex-shrink: 0; background: transparent; border-radius: 50%; box-shadow: none; }
.brand .logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--muted); padding: 8px 14px; border-radius: 10px;
  font-size: 14px; transition: .18s; border: 1px solid transparent;
}
.nav-links a:hover { color: var(--txt); background: var(--panel); }
.nav-links a.on { color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  border-color: transparent; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.userchip { display: flex; align-items: center; gap: 10px; }
.userchip .chip-bal { font-variant-numeric: tabular-nums; font-size: 13px;
  color: var(--cyan); background: rgba(47,158,242,.09); border: 1px solid rgba(47,158,242,.3);
  padding: 5px 11px; border-radius: 999px; }

/* ---------- 按钮 ---------- */
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-size: 14px; font-weight: 600;
  color: var(--txt); background: rgba(255,255,255,.9); border: 1px solid var(--line);
  transition: .18s;
}
.btn:hover { background: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
/* 按钮内 svg 固定尺寸 + 文字不折行：无宽高属性的 svg 在 flex 里会把按钮挤成最小宽度，导致文字竖排 */
.btn { white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  border: none; box-shadow: 0 6px 18px rgba(116,198,245,.22);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(116,198,245,.32); filter: brightness(1.05); }
.btn-cyan {
  color: #fff;
  background: linear-gradient(135deg, rgba(47,158,242,.92), rgba(75,160,240,.94));
  border: none; box-shadow: 0 6px 18px rgba(47,158,242,.22);
}
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn-danger { color: #d92d4a; background: rgba(255,84,112,.10); border: 1px solid rgba(255,84,112,.35); }
.btn-danger:hover { background: rgba(255,84,112,.18); }

/* ---------- 卡片 · 毛玻璃 ---------- */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.66), rgba(255,255,255,.38));
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow: 0 8px 28px rgba(40, 70, 110, .10), inset 0 1px 0 rgba(255,255,255,.7);
}
.glow-card { position: relative; }
.glow-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 19px; z-index: -1;
  background: linear-gradient(120deg, rgba(47,158,242,.4), rgba(75,160,240,.4), rgba(116,198,245,.4));
  filter: blur(16px); opacity: .22;
}
.pad { padding: 26px; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.input, select.input, textarea.input {
  width: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 13px; color: var(--txt); font-size: 14px; font-family: var(--font);
  transition: .18s;
}
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,158,242,.14); }
select.input { appearance: auto; }
textarea.input { resize: vertical; min-height: 96px; }

/* ---------- 小部件 ---------- */
.section-title { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dim); font-weight: 600; margin: 0 0 14px; }
h1.hero { font-size: clamp(28px, 5vw, 46px); line-height: 1.12; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -.5px; color: var(--txt); }
h1.hero .grad {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); font-size: 15px; line-height: 1.7; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.5); }
.tag.ok   { color: var(--green); border-color: rgba(15,175,116,.4); }
.tag.warn { color: var(--amber); border-color: rgba(217,138,0,.4); }
.tag.err  { color: var(--red); border-color: rgba(229,72,77,.45); }
.tag.cy   { color: var(--cyan); border-color: rgba(47,158,242,.4); }

/* 进度环/条 */
.progress { height: 8px; border-radius: 99px; background: rgba(72,118,172,.12); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  box-shadow: 0 0 10px rgba(47,158,242,.5); }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .6px; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid rgba(72,118,172,.08); }
.tbl tr:hover td { background: rgba(255,255,255,.7); }

/* ---------- toast ---------- */
#toast { position: fixed; top: 72px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(40,70,110,.18), inset 0 1px 0 rgba(255,255,255,.8);
  max-width: 360px; }
.toast.err { border-color: rgba(229,72,77,.5); }
.toast.ok  { border-color: rgba(15,175,116,.45); }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 上传区 ---------- */
.dropzone {
  border: 1.5px dashed rgba(47,158,242,.5); border-radius: var(--radius);
  padding: 34px 20px; text-align: center; cursor: pointer; transition: .2s;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--cyan); background: rgba(47,158,242,.08);
  box-shadow: inset 0 0 30px rgba(47,158,242,.09);
}
.dropzone svg { width: 40px; height: 40px; stroke: var(--cyan); }
.filetag { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.78); border-radius: 11px; padding: 10px 14px; margin-top: 12px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }

/* 语言选择 */
.lang-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.lang-swap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--magenta); cursor: pointer; }
.lang-swap:hover { border-color: var(--magenta); }

/* ---------- 空态 ---------- */
.empty { text-align: center; color: var(--dim); padding: 34px 10px; font-size: 14px; }

/* ---------- modal ---------- */
.modal-mask { position: fixed; inset: 0; z-index: 150; background: rgba(30,55,90,.32);
  backdrop-filter: blur(6px); display: grid; place-items: center; }
.modal { width: min(92vw, 430px); max-height: 88vh; overflow: auto;
  background: linear-gradient(165deg, rgba(255,255,255,.88), rgba(236,247,255,.78));
  border: 1px solid rgba(255,255,255,.85); border-radius: 20px; padding: 26px;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  box-shadow: 0 24px 60px rgba(40,70,110,.25), inset 0 1px 0 rgba(255,255,255,.9); }
.modal h3 { margin: 0 0 16px; font-size: 19px; color: var(--txt); }
.modal .close { float: right; cursor: pointer; color: var(--muted); font-size: 22px; line-height: 1; }

/* 登录 tab */
.tabs { display: flex; gap: 6px; background: rgba(255,255,255,.55); padding: 4px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 12px; margin-bottom: 18px;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%); }
.tabs button { flex: 1; padding: 9px; border-radius: 9px; background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 600; }
.tabs button.on { background: linear-gradient(135deg, var(--violet), var(--magenta)); color: #fff; }

/* ---------- 个人中心 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat { padding: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.66), rgba(255,255,255,.4));
  border: 1px solid rgba(255,255,255,.78); border-radius: 14px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 20px rgba(40,70,110,.08), inset 0 1px 0 rgba(255,255,255,.7); }
.stat .v { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 4px; }
.stat .k { color: var(--dim); font-size: 13px; }

/* 免费额度进度 */
.quota-bar { height: 12px; border-radius: 99px; background: rgba(72,118,172,.12); overflow: hidden; }
.quota-bar > i { display: block; height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan)); box-shadow: 0 0 12px rgba(15,175,116,.4); }

/* 页脚 */
footer { margin-top: 60px; padding: 26px 0 40px; border-top: 1px solid var(--line);
  color: var(--dim); font-size: 13px; text-align: center; }

.hidden { display: none !important; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(72,118,172,.25); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

/* 密码可见性切换 */
.pwd-wrap { position: relative; }
.pwd-wrap .input { padding-right: 42px; }
.pwd-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--muted); opacity: .55;
}
.pwd-eye:hover { opacity: 1; color: var(--cyan); }
.pwd-eye svg { width: 18px; height: 18px; }

/* 智能文档翻译工作台（双预览器布局） */
.wrap-home { max-width: none; padding: 0 22px; }
.dx-head { margin-bottom: 12px; }
.dx-title { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: #16324f; }
.dx-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dx-highlights { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.dx-hl { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: #16324f; background: rgba(47, 158, 242, .08); border: 1px solid rgba(47, 158, 242, .28);
  padding: 7px 16px; border-radius: 999px; }
.dx-card { background: #fff; border: 1px solid #e6ecf5; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(72, 118, 172, .06); }
.dx-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.dx-upload { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
  border: 1.5px dashed #cdd9ec; }
.dx-upload.drag { border-color: #12b76a; background: #f6fef9; }
.dx-cloud { flex: none; display: flex; }
.dx-upload-main { font-size: 15px; font-weight: 600; color: #16324f; }
.dx-upload-sub { margin-top: 4px; font-size: 12.5px; color: var(--dim); }
.dx-upload-btns { margin-left: auto; display: flex; gap: 10px; flex: none; }
.dx-mini { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dbe4f0; background: #fff;
  border-radius: 10px; padding: 9px 14px; font-size: 13.5px; color: #33475e; cursor: pointer; font-family: inherit; }
.dx-mini:hover { border-color: #12b76a; color: #0e9f5f; }
.dx-ic { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; padding: 3px 6px;
  border-radius: 6px; letter-spacing: .3px; }
.dx-ic-pdf { background: #e0564a; }
.dx-ic-word { background: #2f6fe4; }
.dx-ic-ppt { background: #e8752a; }
.dx-ic-xls { background: #1a9e5b; }
.dx-mini:disabled { opacity: .55; cursor: not-allowed; }
.dx-ic-other { background: #8aa3bc; }
.dx-langs { display: flex; align-items: flex-end; gap: 8px; padding: 16px 18px; }
.dx-lang { flex: 1 1 120px; min-width: 0; }
.dx-lang label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.dx-lang .input { min-width: 0; width: 100%; padding-left: 10px; padding-right: 26px; }
.dx-swap { border: none; background: none; color: var(--dim); font-size: 17px; cursor: pointer; padding: 6px 2px 8px; flex: none; }
.dx-swap:hover { color: var(--cyan); }
.dx-start { margin-left: auto; flex: none; border: none; cursor: pointer; color: #fff; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 10px; background: #12b76a; font-family: inherit; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(18, 183, 106, .3); }
.dx-start:hover:not(:disabled) { background: #0ea35e; }
.dx-start:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.dx-meta { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.4fr);
  gap: 14px; margin-top: 14px; }
.dx-fileinfo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.dx-file-ic .dx-ic { font-size: 12px; padding: 7px 9px; border-radius: 9px; }
.dx-file-txt { flex: 1; min-width: 0; }
.dx-file-name { font-size: 14px; font-weight: 600; color: #16324f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dx-file-sub { margin-top: 3px; font-size: 12.5px; color: var(--dim); }
.dx-badge { flex: none; font-size: 12px; padding: 4px 10px; border-radius: 99px; background: #eef2f8; color: var(--muted); }
.dx-badge.ok { background: #e8f8f0; color: #0e9f5f; }
.dx-badge.err { background: #fdeeee; color: var(--red); }
.dx-progress { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.dx-prog-head { display: flex; justify-content: space-between; font-size: 13.5px; color: #33475e; }
.dx-prog-head span:last-child { color: #0e9f5f; font-weight: 700; }
.dx-bar { height: 8px; border-radius: 99px; background: #edf1f7; overflow: hidden; margin: 9px 0 8px; }
.dx-bar > i { display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #34d399, #12b76a); }
.dx-prog-sub { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); }
.dx-formats { padding: 14px 16px; }
.dx-formats-t { font-size: 13.5px; color: #33475e; font-weight: 600; }
.dx-fmt-row { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.dx-fmt { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--dim); }
.dx-fmt i { font-style: normal; }
.dx-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 284px;
  gap: 14px; margin-top: 14px; align-items: stretch; }
.dx-viewer { background: #fff; border: 1px solid #e6ecf5; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(72, 118, 172, .06); }
.dx-viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid #eef2f8; font-size: 14px; font-weight: 600;
  color: #16324f; background: #fbfcfe; flex-wrap: wrap; }
.dx-viewer-info { font-size: 12px; font-weight: 400; color: var(--dim); }
.dx-viewer-body { position: relative; flex: 1; min-height: 420px; background: #f4f6fa; }
.pv-scroll { position: absolute; inset: 0; overflow: auto; padding: 14px; }
.pv-scroll[hidden] { display: none; }
.pv-scroll canvas { display: block; margin: 0 auto; background: #fff;
  box-shadow: 0 2px 14px rgba(30, 55, 90, .16); border-radius: 4px; }
.dx-viewer-empty { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; color: #9aa7b8; font-size: 14px; text-align: center;
  padding: 20px; background: #f4f6fa; }
.pv-ctrl { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #33475e;
  background: #fff; border: 1px solid #e2e9f3; border-radius: 9px; padding: 2px 4px; }
.pv-ctrl[hidden] { display: none; }
.pv-btn { border: none; background: none; cursor: pointer; color: #33475e; font-size: 12px;
  padding: 3px 7px; border-radius: 6px; font-family: inherit; line-height: 1.4; }
.pv-btn:hover { background: #eef2f8; color: var(--cyan); }
.pv-page, .pv-zoom { min-width: 42px; text-align: center; font-variant-numeric: tabular-nums;
  font-weight: 600; color: #33475e; }
.pv-sep { width: 1px; height: 14px; background: #dbe4f0; margin: 0 3px; }
.dx-viewer-empty i { font-style: normal; font-size: 12px; color: #b9c5d6; }
.pv-pages { min-height: 100%; }
.pv-page-wrap { margin: 0 auto 12px; }
.pv-page-wrap:last-child { margin-bottom: 0; }
.dx-side { display: flex; flex-direction: column; gap: 14px; }
.dx-ops { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.dx-side-t { font-size: 14px; font-weight: 700; color: #16324f;
  display: flex; justify-content: space-between; align-items: center; }
.dx-side-t a { font-size: 12px; font-weight: 400; }
.dx-op { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  border-radius: 10px; padding: 10px 12px; font-size: 13.5px; cursor: pointer; font-family: inherit;
  border: 1px solid #cdeeda; background: #fff; color: #0e9f5f; }
.dx-op:hover:not(:disabled) { background: #f2fbf6; }
.dx-op:disabled { opacity: .45; cursor: not-allowed; }
.dx-op-main { background: #12b76a; border-color: #12b76a; color: #fff; font-weight: 600;
  box-shadow: 0 6px 14px rgba(18, 183, 106, .28); }
.dx-op-main:hover:not(:disabled) { background: #0ea35e; }
.dx-op-ghost { border-color: #dbe4f0; color: #5b7188; }
.dx-op-ghost:hover:not(:disabled) { background: #f6f9fc; }
.dx-op .dx-ic { font-size: 10px; line-height: 1; padding: 3px 4px; min-width: 16px; text-align: center; border-radius: 6px; }
.dx-op svg { flex: none; }
.dx-op-word { border-color: #2f6fe4; color: #2f6fe4; }
.dx-op-word:hover:not(:disabled) { background: #eef4ff; }
.dx-op-pdf { border-color: #e0564a; color: #e0564a; }
.dx-op-pdf:hover:not(:disabled) { background: #fdf0ef; }
.dx-more { font-size: 12px; color: var(--dim); text-align: center; }
.dx-more a { color: var(--cyan); cursor: pointer; }
.dx-recent { padding: 16px 14px; flex: 1; }
.dx-rec { display: flex; align-items: center; gap: 9px; padding: 9px 6px; border-radius: 9px; cursor: pointer; }
.dx-rec:hover { background: #f6f9fc; }
.dx-rec.on { background: #eef4fd; }
.dx-rec.on .dx-rec-name { color: #1f6fd6; font-weight: 600; }
.dx-rec-ic { flex: none; display: flex; }
.dx-rec-txt { min-width: 0; display: flex; flex-direction: column; }
.dx-rec-name { font-size: 12.5px; color: #33475e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dx-rec-sub { font-size: 11px; color: var(--dim); margin-top: 2px; }
.dx-rec-del { margin-left: auto; flex: none; display: none; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px; color: #b6c2d4; cursor: pointer; }
.dx-rec:hover .dx-rec-del { display: flex; }
.dx-rec-del:hover { color: var(--red); background: rgba(255,84,112,.10); }
.dx-rec-del svg { width: 14px; height: 14px; }
@media (max-width: 1120px) {
  .dx-main { grid-template-columns: 1fr 1fr; }
  .dx-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .dx-top, .dx-meta, .dx-main { grid-template-columns: 1fr; }
  .dx-langs { flex-wrap: wrap; }
  .dx-lang { flex: 1 1 100%; }
  .dx-start { margin-left: 0; width: 100%; }
  .dx-side { grid-template-columns: 1fr; }
  .dx-upload { flex-wrap: wrap; }
  .dx-upload-btns { margin-left: 0; }
}

/* ============================================================
   批量翻译 (#/batch)
   ============================================================ */
.bt-sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.bt-upload { flex-direction: column; text-align: center; padding: 26px 20px 22px; gap: 10px; cursor: pointer; }
.bt-upload .dx-upload-btns { margin: 4px 0 0; justify-content: center; }
.bt-upload.drag { border-color: var(--cyan); background: rgba(47, 158, 242, .06); }
.bt-langs { flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 16px; }
.bt-set-t { font-size: 15px; font-weight: 700; color: #16324f; margin-bottom: 14px; }
.bt-set-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.bt-set-row .dx-lang { flex: 1 1 150px; }
.bt-start { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; color: #fff; font-size: 14px; font-weight: 600; padding: 11px 18px;
  border-radius: 10px; background: #12b76a; font-family: inherit; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(18, 183, 106, .3); }
.bt-start:hover:not(:disabled) { background: #0ea35e; }
.bt-start:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bt-start svg { width: 11px; height: 11px; }
.bt-set-tip { margin-top: 12px; font-size: 12px; color: var(--dim); line-height: 1.6; }

.bt-main { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 14px;
  margin-top: 14px; align-items: start; }
.bt-list { padding: 16px 16px 10px; }
.bt-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap; }
.bt-list-t { font-size: 15px; font-weight: 700; color: #16324f; }
.bt-list-t a { font-size: 12px; font-weight: 400; margin-left: 10px; cursor: pointer; }
.bt-bulk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bt-bulk b { color: var(--cyan); }
.bt-tbl-wrap { overflow-x: auto; }
.bt-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.bt-tbl th { text-align: left; font-weight: 600; font-size: 12px; color: #8aa3bc; padding: 8px;
  border-bottom: 1px solid #eef2f8; white-space: nowrap; }
.bt-tbl td { padding: 9px 8px; border-bottom: 1px solid #f0f4fa; vertical-align: middle; white-space: nowrap; }
.bt-tbl tbody tr:hover td { background: #f8fbff; }
.bt-tbl .c-check { width: 30px; }
.bt-tbl input[type=checkbox] { width: 15px; height: 15px; accent-color: #2f6fe4; cursor: pointer; }
.bt-fname { display: flex; align-items: center; gap: 8px; max-width: 240px; }
.bt-fname .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #33475e; font-weight: 500; }
.bt-fname .dx-ic { flex: none; font-size: 9px; padding: 3px 5px; }
.bt-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; }
.bt-tag.gray   { background: #f1f4f9; color: #66788f; }
.bt-tag.blue   { background: #eaf2ff; color: #2f6fe4; }
.bt-tag.green  { background: #e8f8f0; color: #0e9f5f; }
.bt-tag.orange { background: #fef3e6; color: #d98a00; }
.bt-tag.red    { background: #fdeeee; color: #d92d4a; }
.bt-tag.amber  { background: #fff7e0; color: #b47d00; }
.bt-prog { display: flex; align-items: center; gap: 8px; min-width: 140px; }
.bt-bar { flex: 1; height: 6px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.bt-bar > i { display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #4f8cff, #2f6fe4); }
.bt-bar.g > i { background: linear-gradient(90deg, #34d399, #12b76a); }
.bt-prog span { font-size: 12px; color: #66788f; min-width: 36px; text-align: right;
  font-variant-numeric: tabular-nums; }
.bt-elp { font-variant-numeric: tabular-nums; color: #33475e; }
.bt-acts { display: flex; gap: 4px; }
.bt-act { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 7px; border: none; background: none; color: #5b7188; cursor: pointer; }
.bt-act:hover { background: #eef4ff; color: #2f6fe4; }
.bt-act.danger:hover { background: #fdeeee; color: #d92d4a; }
.bt-act svg { width: 14px; height: 14px; }
.bt-empty { padding: 34px 10px; text-align: center; color: #9aa7b8; font-size: 13.5px; }
.bt-pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 12px 2px 8px;
  font-size: 12.5px; color: #66788f; flex-wrap: wrap; }
.bt-pg { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 8px; border: 1px solid #dbe4f0;
  background: #fff; color: #33475e; font-size: 12.5px; cursor: pointer; font-family: inherit; }
.bt-pg.on { background: #2f6fe4; border-color: #2f6fe4; color: #fff; }
.bt-pg:disabled { opacity: .4; cursor: default; }
.bt-pager select { border: 1px solid #dbe4f0; border-radius: 8px; padding: 4px 6px; font-size: 12.5px;
  color: #33475e; background: #fff; font-family: inherit; margin-left: 4px; }

.bt-side { display: flex; flex-direction: column; gap: 14px; }
.bt-overview { padding: 16px; }
.bt-ov-wrap { display: flex; gap: 14px; margin-top: 12px; align-items: center; }
.bt-ov-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bt-ov { border-radius: 12px; padding: 12px 14px; background: #f7faff; border: 1px solid #eef2f8; }
.bt-ov .k { font-size: 12.5px; color: #66788f; }
.bt-ov .v { font-size: 24px; font-weight: 800; color: #16324f; margin-top: 2px;
  font-variant-numeric: tabular-nums; }
.bt-ov .u { font-size: 11.5px; color: #8aa3bc; margin-top: 1px; }
.bt-ov .c-blue   { color: #2f6fe4; }
.bt-ov .c-green  { color: #0e9f5f; }
.bt-ov .c-orange { color: #ef8e19; }
.bt-donut-box { flex: none; width: 126px; }
.bt-donut-box svg { width: 100%; display: block; }
.bt-donut-bg { fill: none; stroke: #edf1f7; stroke-width: 13; }
.bt-donut-fg { fill: none; stroke: #2f6fe4; stroke-width: 13; stroke-linecap: round;
  transition: stroke-dasharray .6s; }
.bt-donut-k { font-size: 11px; fill: #8aa3bc; }
.bt-donut-v { font-size: 20px; font-weight: 800; fill: #16324f; }

.bt-sessions { padding: 16px; }
.bt-sess { border-top: 1px solid #f0f4fa; padding: 12px 2px 10px; }
.bt-sess:first-child { border-top: none; padding-top: 4px; }
.bt-sess-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bt-sess-name { font-size: 13.5px; font-weight: 600; color: #16324f; }
.bt-sess-line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5b7188;
  margin-top: 6px; flex-wrap: wrap; }
.bt-sess-line svg { width: 13px; height: 13px; color: #8aa3bc; flex: none; }
.bt-sess-prog { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.bt-sess-prog .bt-bar { height: 5px; }
.bt-sess-prog span { font-size: 12px; color: #66788f; font-variant-numeric: tabular-nums; }

.bt-menu { position: fixed; z-index: 300; width: 150px; background: #fff; border: 1px solid #e6ecf5;
  border-radius: 10px; box-shadow: 0 12px 32px rgba(40, 70, 110, .18); padding: 5px; }
.bt-menu button { display: block; width: 100%; text-align: left; border: none; background: none;
  cursor: pointer; padding: 8px 10px; border-radius: 7px; font-size: 13px; color: #33475e; font-family: inherit; }
.bt-menu button:hover { background: #f2f7ff; color: #2f6fe4; }
.bt-menu-sep { height: 1px; background: #eef2f8; margin: 4px 6px; }

@media (max-width: 1024px) {
  .bt-main { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .bt-set-row { flex-direction: column; align-items: stretch; }
  .bt-set-row .dx-lang { flex: 1 1 100%; }
  .bt-start { width: 100%; }
  .bt-ov-wrap { flex-direction: column; }
}

/* ================= 首页 · Landing ================= */
.btn-lg { padding: 14px 30px; font-size: 15.5px; border-radius: 14px; }
.landing { padding-bottom: 10px; }

.ld-hero { text-align: center; padding: 64px 22px 26px; }
.ld-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(47,158,242,.09); border: 1px solid rgba(47,158,242,.3);
  color: #1877d2; font-size: 13px; font-weight: 600;
}
.ld-hero h1.hero { margin-bottom: 16px; }
.ld-sub { max-width: 600px; margin: 0 auto 26px; }
.ld-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.ld-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* 双栏预览示意 */
.ld-mock {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 720px; margin: 46px auto 0; position: relative;
}
.ld-mock-pane {
  background: #fff; border: 1px solid #e6ecf5; border-radius: 14px;
  padding: 15px 17px; text-align: left;
  box-shadow: 0 18px 44px rgba(40,70,110,.13);
}
.ld-mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.ld-mock-chip {
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(229,72,77,.1); color: #e5484d; border: 1px solid rgba(229,72,77,.3);
}
.ld-mock-chip.cy { background: rgba(47,158,242,.1); color: #2f9ef2; border-color: rgba(47,158,242,.3); }
.ld-mock-name { font-size: 12px; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-mock-lang { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--dim); }
.ld-mock-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(116,198,245,.5);
}
.sk {
  display: block; height: 10px; border-radius: 5px; margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(72,118,172,.13), rgba(72,118,172,.22));
}
.sk.cy { background: linear-gradient(90deg, rgba(47,158,242,.25), rgba(75,160,240,.38)); }
.sk.blk { height: 62px; border-radius: 10px; margin: 14px 0; }

/* 区块 */
.ld-sec { padding: 54px 0 6px; }
.ld-sec-head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.ld-sec-head h2 {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 800;
  letter-spacing: -.4px; margin: 0 0 10px; color: var(--txt);
}
.ld-sec-head .sub { margin: 0; }
.ld-narrow { max-width: 780px; }

/* 卡片 */
.ld-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ld-card {
  background: #fff; border: 1px solid #e6ecf5; border-radius: 16px;
  padding: 24px; transition: .2s;
  box-shadow: 0 6px 20px rgba(72,118,172,.06);
}
.ld-card:hover {
  transform: translateY(-4px); border-color: rgba(47,158,242,.35);
  box-shadow: 0 14px 34px rgba(72,118,172,.13);
}
.ld-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--txt); }
.ld-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.ld-ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 21px;
  background: rgba(217,138,0,.10);
}
.ld-ic.blue { background: rgba(75,160,240,.13); }
.ld-ic.green { background: rgba(15,175,116,.10); }
.ld-ic.violet { background: rgba(116,198,245,.18); }
.ld-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--cyan); }

/* 福利数据带 */
.ld-stats-wrap { padding: 40px 22px 0; }
.ld-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  border-radius: 20px; padding: 34px 26px; text-align: center;
  background: linear-gradient(135deg, #4ba0f0, #74c6f5);
  color: #fff; box-shadow: 0 18px 44px rgba(75,160,240,.28);
}
.ld-stats b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 5px; }
.ld-stats span { font-size: 13px; opacity: .93; }

/* 三步流程 */
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-step {
  background: #fff; border: 1px solid #e6ecf5; border-radius: 16px;
  padding: 24px; box-shadow: 0 6px 20px rgba(72,118,172,.06);
}
.ld-step i {
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 13px;
  display: grid; place-items: center; font-style: normal;
  font-weight: 800; font-size: 15px;
  background: rgba(47,158,242,.12); color: #1877d2;
}
.ld-step h3 { margin: 0 0 8px; font-size: 16.5px; }
.ld-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* FAQ */
.ld-faq {
  background: #fff; border: 1px solid #e6ecf5; border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px;
}
.ld-faq summary {
  cursor: pointer; font-weight: 700; font-size: 15px; color: var(--txt);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq-x { flex: none; position: relative; width: 16px; height: 16px; }
.ld-faq-x::before, .ld-faq-x::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; border-radius: 2px; background: var(--dim);
  transform: translate(-50%, -50%); transition: .18s;
}
.ld-faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.ld-faq[open] .ld-faq-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.ld-faq p { margin: 11px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* 底部 CTA */
.ld-cta-band {
  text-align: center; border-radius: 24px; padding: 54px 26px; margin-top: 44px;
  background: linear-gradient(135deg, #4ba0f0, #74c6f5);
  color: #fff; box-shadow: 0 18px 44px rgba(75,160,240,.28);
}
.ld-cta-band h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.4px; }
.ld-cta-band p { margin: 0 0 24px; font-size: 14.5px; opacity: .93; }
.ld-cta-btn { background: #fff; color: #1877d2; border: none; box-shadow: 0 10px 26px rgba(30,80,140,.25); }
.ld-cta-btn:hover { filter: brightness(.98); box-shadow: 0 12px 30px rgba(30,80,140,.3); }

/* 页脚 */
.ld-foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0 34px; }
.ld-foot .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ld-foot nav { display: flex; gap: 16px; font-size: 13.5px; }
.ld-foot nav a { color: var(--muted); }
.ld-foot nav a:hover { color: var(--cyan); }
.ld-foot p { margin: 0 0 0 auto; color: var(--dim); font-size: 13px; }

@media (max-width: 960px) {
  .ld-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ld-hero { padding-top: 44px; }
  .ld-grid3, .ld-grid4, .ld-steps { grid-template-columns: 1fr; }
  .ld-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .ld-mock { grid-template-columns: 1fr; }
  .ld-mock-badge { display: none; }
  .ld-foot .wrap { justify-content: center; text-align: center; }
  .ld-foot p { margin: 0 auto; width: 100%; }
}

/* ---------- 导航移动端适配（v50a：修复 ≤720px 横向溢出，余额改到个人中心查看） ---------- */
@media (max-width: 720px) {
  .nav-inner { gap: 10px; }
  .nav .wrap { padding: 0 14px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 9px; font-size: 13px; }
  .nav-right { gap: 8px; }
  .userchip { gap: 8px; }
  .userchip .chip-bal { display: none; }
  .userchip .btn-sm { padding: 6px 10px; font-size: 12.5px; }
}

/* ---------- v52: Hero 占满首屏，内容随视口放大（对齐 doclingo 首屏占比） ---------- */
.ld-hero {
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 22px 44px;
}
.ld-badge { font-size: 14px; padding: 8px 18px; margin-bottom: 26px; }
.ld-hero h1.hero { font-size: clamp(32px, 3.4vw, 68px); margin-bottom: 18px; }
.ld-sub { font-size: clamp(15px, 1.05vw, 18px); max-width: 680px; margin-bottom: 30px; }
.ld-pills { gap: 12px; margin-bottom: 34px; }
.ld-pills .dx-hl { font-size: 14.5px; padding: 9px 19px; }
.ld-cta { gap: 16px; }
.ld-cta .btn-lg { padding: 16px 38px; font-size: 17px; border-radius: 16px; }
.ld-mock { max-width: min(880px, 58vw); margin: 52px auto 0; gap: 22px; }
.ld-mock-pane { padding: 18px 22px; border-radius: 16px; }
.ld-mock-head { margin-bottom: 15px; }
.ld-mock-chip { font-size: 11px; padding: 3px 8px; }
.ld-mock-name { font-size: 13px; }
.sk { height: 11px; margin-bottom: 13px; }
.sk.blk { height: 84px; margin: 16px 0; }
.ld-mock-badge { width: 56px; height: 56px; font-size: 15px; }
@media (max-width: 720px) {
  .ld-hero { min-height: 0; padding: 44px 18px 20px; }
  .ld-mock { max-width: none; }
}

/* ---------- v53: 比例全面对齐 doclingo 首页 ----------
   doclingo 实测(1511×844)：容器1200居中 / hero=左文案+右图形 占首屏~52%，
   "为什么选择"标题在首屏 61.5% 处 / H1≈2.6vw / 区块h2≈34px / 正文16px / 按钮40px高 */
.ld-hero { min-height: 0; display: block; padding: 44px 0 40px; }
.ld-hero-grid {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 46px; align-items: center;
}
.ld-hero-copy { text-align: left; }
.ld-hero .ld-badge { margin-bottom: 20px; }
.ld-hero h1.hero { font-size: clamp(30px, 2.6vw, 52px); text-align: left; margin-bottom: 16px; }
.ld-hero .ld-sub { font-size: 16px; max-width: 560px; margin-bottom: 24px; }
.ld-hero .ld-pills { justify-content: flex-start; gap: 10px 22px; margin-bottom: 28px; }
.ld-hero .ld-pills .dx-hl {
  background: transparent; border: none; padding: 0;
  font-size: 15px; color: #33465c;
}
.ld-hero .ld-cta { justify-content: flex-start; }
.ld-hero .ld-cta .btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 12px; }
.ld-hero-visual { min-width: 0; }
.ld-mock { max-width: none; margin: 0; gap: 16px; }
.ld-mock-pane { padding: 16px 18px; }
.ld-mock-badge { width: 52px; height: 52px; font-size: 14px; }

/* 区块节奏：标题/正文/间距与 doclingo 同级 */
.ld-sec { padding: 62px 0 8px; }
.ld-sec-head { margin-bottom: 38px; }
.ld-sec-head h2 { font-size: clamp(26px, 2.25vw, 40px); }
.ld-card h3, .ld-step h3 { font-size: 18px; }
.ld-card p, .ld-step p, .ld-faq p { font-size: 14.5px; }

@media (max-width: 960px) {
  .ld-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ld-hero-copy { text-align: center; }
  .ld-hero h1.hero { text-align: center; }
  .ld-hero .ld-sub { margin-left: auto; margin-right: auto; text-align: center; }
  .ld-hero .ld-pills, .ld-hero .ld-cta { justify-content: center; }
  .ld-mock { max-width: 560px; margin: 0 auto; }
}

/* v53b: mock 卡片头部防挤压——文件名省略号生效、语言标签不换行 */
.ld-mock-name { min-width: 0; flex: 0 1 auto; }
.ld-mock-lang { flex: none; white-space: nowrap; }

/* v94: 页脚已删，CTA 带作为页面收尾，补底部留白 */
.landing { padding-bottom: 64px; }

/* v95: 图片卡片——真实图片 + 居中大标题（无描述小字，对齐 doclingo） */
.ld-card-img { padding: 14px 14px 24px; }
.ld-card-img img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  border-radius: 12px; border: 1px solid #eef3fa;
}
.ld-card-img h3 { margin: 18px 0 0; text-align: center; font-size: 21px; letter-spacing: .3px; }

/* ---------- v96: 核心功能改为 doclingo 式交替大区块（文案 + DOM 界面模拟图） ---------- */
.ld-feats { padding: 20px 0 4px; }
.ld-feat { padding: 40px 0; }
.ld-feat-grid {
  display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: 56px; align-items: center;
}
.ld-feat.rev .ld-feat-copy { order: 2; }
.ld-feat.rev .ld-feat-visual { order: 1; }
.ld-feat-copy h3 { margin: 0; font-size: clamp(28px, 2.6vw, 44px); font-weight: 800; letter-spacing: -.4px; color: var(--txt); }
.ld-feat-bar { display: block; width: 150px; height: 7px; border-radius: 99px; margin: 20px 0 22px;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.ld-feat-sub { margin: 0 0 14px; font-size: 16.5px; font-weight: 600; color: var(--txt); }
.ld-feat-list { margin: 0 0 26px; padding: 0; list-style: none; }
.ld-feat-list li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.ld-feat-list li::before { content: "·"; position: absolute; left: 3px; font-weight: 800; color: var(--cyan); }
.ld-feat .ld-more { font-size: 16px; font-weight: 700; }

/* 界面模拟图（纯 DOM 产品窗口） */
.ld-shot { background: #fff; border: 1px solid #e6ecf5; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(40,70,110,.13); }
.ld-shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #fbfdff; border-bottom: 1px solid #eef3fa; }
.ld-shot-bar i { width: 10px; height: 10px; border-radius: 50%; }
.ld-shot-bar i:nth-child(1) { background: #ff5f57; }
.ld-shot-bar i:nth-child(2) { background: #febc2e; }
.ld-shot-bar i:nth-child(3) { background: #28c840; }
.ld-shot-url { flex: 1; height: 12px; border-radius: 6px; background: #eef3fa; margin-left: 12px; }
.ld-shot-body { position: relative; padding: 24px; min-height: 330px; }
.sk2 { display: block; height: 9px; border-radius: 5px; background: #e9eef6; margin-bottom: 11px; }
.sk2.b { background: #cfe4fa; }
.sk2.w { background: rgba(255,255,255,.55); }

/* 模拟1：文档翻译 */
.ld-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ld-page { background: #f8fafd; border: 1px solid #eef3fa; border-radius: 10px; padding: 16px 14px; }
.ld-float { position: absolute; background: #fff; border: 1px solid #e6ecf5; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(40,70,110,.18); }
.ld-langs { left: 50%; top: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 13px 20px; }
.ld-langs b { font-size: 14px; color: #16324f; }
.ld-langs .ld-swap { color: #2f9ef2; font-weight: 800; }
.ld-upload { left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 13px 18px; }
.ld-chip { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.ld-chip.pdf { color: #e5484d; background: rgba(229,72,77,.1); border: 1px solid rgba(229,72,77,.3); }
.ld-chip.word { color: #2f6fe0; background: rgba(47,111,224,.1); border: 1px solid rgba(47,111,224,.3); }
.ld-uphint { font-style: normal; font-size: 13px; color: var(--muted); }

/* 模拟2：批量任务 */
.ld-task { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: #fff;
  border: 1px solid #eef3fa; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(72,118,172,.05); }
.ld-fico { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; }
.ld-fico.g { color: #e5484d; background: rgba(229,72,77,.08); border: 1px solid rgba(229,72,77,.22); }
.ld-fico.b { color: #2f6fe0; background: rgba(47,111,224,.08); border: 1px solid rgba(47,111,224,.22); }
.ld-fmeta { flex: 1; min-width: 0; }
.ld-fname { display: block; height: 9px; width: 58%; border-radius: 5px; background: #e9eef6; margin-bottom: 9px; }
.ld-fprog { display: block; height: 7px; border-radius: 99px; background: #eef3fa; overflow: hidden; }
.ld-fprog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.ld-fst { flex: none; font-size: 12.5px; font-weight: 800; }
.ld-fst.ok { color: #0faf74; }
.ld-fst.pct { color: #1877d2; font-variant-numeric: tabular-nums; }
.ld-fst.wait { color: var(--dim); font-weight: 600; }
.ld-upload2 { left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 13px 20px; }
.ld-plus { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(47,158,242,.12); color: #1877d2; font-weight: 800; }

/* 模拟3：AI 对话 */
.ld-chat { display: flex; flex-direction: column; gap: 12px; }
.ld-bub { max-width: 76%; padding: 13px 15px; border-radius: 14px; }
.ld-bub.me { align-self: flex-end; background: linear-gradient(135deg, #4ba0f0, #74c6f5); border-radius: 14px 4px 14px 14px; }
.ld-bub.ai { align-self: flex-start; background: #f6faff; border: 1px solid #e6ecf5; border-radius: 4px 14px 14px 14px; }
.ld-bub .sk2:last-child { margin-bottom: 0; }
.ld-imgthumb { display: block; width: 92px; height: 54px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,.3)); }
.ld-typing { display: flex; gap: 5px; align-items: center; padding: 14px 16px; }
.ld-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9cbe2; }
.ld-chat-input { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 11px 13px;
  border: 1px solid #dfe8f4; border-radius: 12px; background: #fff; }
.ld-chat-input .sk2 { margin: 0; flex: 1; }
.ld-send { flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); }

/* 模拟4：双栏对照 */
.ld-dual { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #eef3fa; border-radius: 12px; overflow: hidden; }
.ld-dual > div { padding: 16px 14px; background: #f8fafd; }
.ld-dual > div:last-child { background: #fbfdff; border-left: 1px dashed #cfdcec; }
.ld-pagepill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #16324f; color: #fff; font-size: 12.5px; font-weight: 800;
  padding: 7px 14px; border-radius: 99px; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .ld-feat-grid { grid-template-columns: 1fr; gap: 30px; }
  .ld-feat.rev .ld-feat-copy { order: 1; }
  .ld-feat.rev .ld-feat-visual { order: 2; }
}

/* v96b: rev 行用对称列宽模板，模拟图固定占 11fr 宽列 */
.ld-feat.rev .ld-feat-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }

/* ================= AI PPT（#/ppt） ================= */
.ap-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.ap-form { padding: 22px 24px; margin-top: 4px; }
.ap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.ap-files { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.ap-filebtn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #16324f; background: rgba(47,158,242,.08); border: 1px solid rgba(47,158,242,.28);
  transition: .18s;
}
.ap-filebtn:hover { background: rgba(47,158,242,.14); }
.ap-fname { font-size: 12.5px; color: var(--muted); margin-right: 10px; }
.ap-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.ap-hint { font-size: 12.5px; color: var(--dim); }
.ap-result { padding: 34px 24px; margin-top: 14px; }
.ap-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ap-done-ic { font-size: 34px; }
.ap-done-t { font-size: 18px; font-weight: 800; color: #16324f; }
.ap-done-f { font-size: 13px; color: var(--muted); }
.ap-done-err { font-size: 13px; color: var(--red); max-width: 560px; line-height: 1.6; }
.ap-done .btn { margin-top: 8px; }
.ap-spin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(47,158,242,.18); border-top-color: var(--cyan);
  animation: ap-spin 1s linear infinite;
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .ap-grid { grid-template-columns: 1fr; } }

/* AI PPT v2：模板封面卡片 + 进度条 */
.ap-tplgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ap-tplcard {
  border: 1px solid #e6ecf5; border-radius: 12px; overflow: hidden;
  cursor: pointer; background: #fff; transition: .18s;
}
.ap-tplcard:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(72,118,172,.12); }
.ap-tplcard.on { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(47,158,242,.22); }
.ap-tplcard img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block;
  background: #f6f9fd; border-bottom: 1px solid #eef3fa;
}
.ap-tpl-ph { height: auto; aspect-ratio: 16 / 9; }
.ap-tplcard span {
  display: block; font-size: 12px; padding: 6px 8px; text-align: center;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ap-tpl-none, .ap-tpl-ph {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-size: 13px; color: var(--dim); background: #f8fafd;
}
.ap-tpl-none { color: #16324f; font-weight: 600; }
.ap-prog {
  width: min(420px, 84%); height: 8px; border-radius: 99px;
  background: rgba(72,118,172,.15); overflow: hidden;
}
.ap-prog i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}
@media (max-width: 860px) { .ap-tplgrid { grid-template-columns: repeat(2, 1fr); } }

/* AI PPT：左表单/结果 + 右历史记录 双栏 */
.ap-top { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 14px; align-items: start; }
@media (max-width: 900px) { .ap-top { grid-template-columns: 1fr; } }

/* 翻译设置（快速/智能） */
.ts-row { margin-top: 14px; }
.ts-label { font-size: 13px; font-weight: 600; color: #33475e; margin-bottom: 8px; }
.ts-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ts-opt { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #dce0e4; border-radius: 8px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.ts-opt:hover { border-color: #9dbde8; }
.ts-opt.on { border-color: var(--cyan); background: #f0f6ff; }
.ts-ck { flex: none; width: 16px; height: 16px; border: 1.5px solid #b8c4d4; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: #fff; }
.ts-opt.on .ts-ck { background: var(--cyan); border-color: var(--cyan); }
.ts-opt.on .ts-ck::after { content: "✓"; }
.ts-txt { display: flex; flex-direction: column; min-width: 0; }
.ts-txt b { font-size: 14px; color: #16324f; }
.ts-txt i { font-style: normal; font-size: 12px; color: var(--dim); margin-top: 2px; }
.ts-opt.on .ts-txt b { color: var(--cyan); }
@media (max-width: 800px) { .ts-opts { grid-template-columns: 1fr; } }

/* 翻译设置移入语言卡 */
.dx-langs { flex-wrap: wrap; row-gap: 10px; }
.ts-inline { flex: 1 1 100%; border-top: 1px dashed #dce0e4; padding-top: 12px; margin-top: 4px; }
.ts-inline .ts-label { margin-bottom: 8px; }
.ts-inline .ts-opt { padding: 10px 12px; }

/* 批量列表行内下拉 */
.bt-row-sel { width: 100%; min-width: 96px; font-size: 12.5px; padding: 5px 8px; height: auto; }

/* 批量列表拆分：进行中/已完成两张卡（20260915-bt9） */
.bt-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin-top: 20px; }
.bt-bulk-strip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.bt-bulk-strip b { color: var(--cyan); }
