/* 星云文件格式转换 · 界面样式 */
:root {
  --ink: #101227;
  --ink-2: #3d4160;
  --ink-3: #6b708f;
  --ink-4: #9a9eb8;
  --bg: #f7f8fd;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --surface-3: #f3f3fb;
  --line: #e8e9f4;
  --line-2: #d9dced;
  --brand: #5b57e8;
  --brand-2: #7b4dff;
  --brand-3: #12b8c9;
  --brand-soft: #efeeff;
  --brand-ink: #4540cf;
  --ok: #0d9b74;
  --ok-soft: #e7f7f1;
  --warn: #b97808;
  --warn-soft: #fdf4e3;
  --danger: #df4258;
  --danger-soft: #fdecef;
  --radius: 22px;
  --shadow: 0 30px 70px -46px rgba(37, 31, 110, .45), 0 2px 4px rgba(30, 28, 80, .03);
  --font: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(91, 87, 232, .18); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.12em; height: 1.12em;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none; display: block;
}
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; position: relative; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.4rem);
  line-height: 1.28; letter-spacing: -.025em; color: var(--ink);
  font-weight: 750; margin-top: 10px;
}
.section-aside {
  font-size: 13px; line-height: 1.9; color: var(--ink-3); text-align: right;
  max-width: 380px; flex: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--brand-ink); text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 16px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}
.card {
  background: var(--surface);
  border: 1px solid rgba(232, 233, 244, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mono { font-family: var(--mono); }

.page-orb {
  position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px);
  pointer-events: none; opacity: .55;
}
.orb-a {
  width: 560px; height: 560px; top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(124, 87, 255, .22), transparent 66%);
}
.orb-b {
  width: 620px; height: 620px; top: 120px; right: -300px;
  background: radial-gradient(circle, rgba(18, 184, 201, .15), transparent 68%);
}

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(248, 249, 253, .86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(228, 229, 242, .8);
  box-shadow: 0 8px 30px -28px rgba(30, 28, 80, .35);
}
.nav-inner {
  height: 72px; display: flex; align-items: center; gap: 34px;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; }
.brand-text { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand-text strong { font-size: 17px; letter-spacing: .02em; font-weight: 800; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--ink-3); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: linear-gradient(90deg, var(--brand), var(--brand-3));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.net-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; color: var(--ok);
  background: rgba(231, 247, 241, .75);
  border: 1px solid rgba(13, 155, 116, .16);
  padding: 5px 10px; border-radius: 99px;
}
.net-chip i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(13, 155, 116, .12);
}
.net-chip.is-offline { color: var(--warn); background: var(--warn-soft); border-color: rgba(185, 120, 8, .18); }
.net-chip.is-offline i { background: var(--warn); box-shadow: 0 0 0 3px rgba(185, 120, 8, .12); }
section[id] { scroll-margin-top: 86px; }
#converter { scroll-margin-top: 90px; }
.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface);
  align-items: center; justify-content: center; color: var(--ink);
}
.mobile-menu {
  display: none; padding: 8px 20px 18px;
  background: rgba(252, 252, 255, .98);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { display: block; padding: 11px 4px; font-size: 14px; border-bottom: 1px dashed var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 11px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #655bf4 0%, #6a5cff 48%, #8a4dff 100%);
  box-shadow: 0 10px 24px -12px rgba(91, 87, 232, .8), inset 0 1px 0 rgba(255, 255, 255, .26);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(91, 87, 232, .85); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  background: #c9cbe0; color: #fff; box-shadow: none; cursor: not-allowed; transform: none;
}
.btn-ghost {
  background: rgba(255, 255, 255, .72); border-color: var(--line-2); color: var(--ink-2);
}
.btn-ghost:hover { border-color: #bfc3dd; color: var(--ink); background: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); border-color: rgba(91, 87, 232, .1); }
.btn-soft:hover { background: #e6e4ff; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 14.5px; border-radius: 13px; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }
.btn-sm .icon { width: 14px; height: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, .icon-btn:focus-visible, .fmt-chip:focus-visible, .cat-tab:focus-visible,
.text-btn:focus-visible, .swap-btn:focus-visible, summary:focus-visible {
  outline: 2px solid rgba(91, 87, 232, .55); outline-offset: 2px;
}
.text-btn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; background: none; padding: 4px 2px;
  font-size: 12px; color: var(--ink-3); border-radius: 6px;
  transition: color .2s;
}
.text-btn .icon { width: 13px; height: 13px; }
.text-btn:hover { color: var(--ink); }
.text-btn.danger:hover { color: var(--danger); }
.text-btn:disabled { opacity: .5; cursor: wait; }
.icon-btn {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: transparent; border-radius: 8px; color: var(--ink-3);
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn .icon { width: 15px; height: 15px; }
.icon-btn:hover { background: var(--surface-3); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
code {
  font-family: var(--mono); font-size: .9em;
  background: var(--surface-3); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 5px; color: var(--ink-2);
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0 0 auto 0; height: 760px;
  background:
    radial-gradient(640px 440px at 16% 4%, rgba(124, 87, 255, .13), transparent 68%),
    radial-gradient(560px 380px at 86% 0%, rgba(18, 184, 201, .11), transparent 70%),
    radial-gradient(420px 300px at 66% 50%, rgba(239, 111, 180, .07), transparent 72%);
  pointer-events: none;
}
.hero-grid-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 22px 34px, rgba(91, 87, 232, .35), transparent 100%),
    radial-gradient(1px 1px at 118px 86px, rgba(18, 184, 201, .35), transparent 100%),
    radial-gradient(1px 1px at 74px 156px, rgba(124, 87, 255, .28), transparent 100%),
    radial-gradient(1.4px 1.4px at 166px 22px, rgba(239, 111, 180, .3), transparent 100%);
  background-size: 200px 200px, 220px 220px, 240px 240px, 260px 260px;
  opacity: .6;
  -webkit-mask-image: linear-gradient(#000 0%, transparent 82%);
  mask-image: linear-gradient(#000 0%, transparent 82%);
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 48px; align-items: center; padding-bottom: 34px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 650; letter-spacing: .04em;
  color: var(--brand-ink); background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(91, 87, 232, .14); border-radius: 99px;
  padding: 6px 12px 6px 10px; box-shadow: 0 6px 18px -16px rgba(40, 35, 110, .5);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(91, 87, 232, .42); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 87, 232, .35); }
  70% { box-shadow: 0 0 0 7px rgba(91, 87, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 87, 232, 0); }
}
h1 {
  margin: 20px 0 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.16; letter-spacing: -.035em; font-weight: 800; color: var(--ink);
}
.grad {
  background: linear-gradient(100deg, #5b57e8 0%, #8451f4 42%, #12a9c4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; white-space: nowrap;
}
.grad::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: .06em; height: 7px;
  background: linear-gradient(90deg, rgba(91, 87, 232, .16), rgba(18, 184, 201, .1));
  border-radius: 99px; z-index: -1;
}
.lede {
  margin-top: 22px; max-width: 500px;
  font-size: 15.5px; line-height: 1.95; color: var(--ink-3);
}
.hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 18px; margin-top: 26px;
  font-size: 12px; color: var(--ink-2); flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hero-trust .icon { width: 14px; height: 14px; color: var(--brand); }
.hero-trust em { font-style: normal; color: var(--ink-4); padding-left: 2px; }

.hero-visual {
  position: relative; min-height: 478px;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ""; position: absolute; width: 432px; height: 342px; border-radius: 28px;
  background: linear-gradient(152deg, rgba(255, 255, 255, .62), rgba(248, 246, 255, .14));
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 34px 70px -54px rgba(40, 35, 110, .45);
  transform: rotate(2.4deg);
  pointer-events: none;
}
.visual-halo {
  position: absolute; inset: 0; margin: auto; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 87, 255, .16), rgba(18, 184, 201, .05) 48%, transparent 70%);
  filter: blur(20px);
}
.orbit-ring { position: absolute; inset: 0; margin: auto; width: 470px; height: 470px; animation: spin 80s linear infinite; }
.ring-b { width: 520px; height: 520px; animation-duration: 110s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-window {
  position: relative; z-index: 2; width: min(404px, 92%);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  box-shadow: 0 40px 90px -46px rgba(38, 32, 110, .55), 0 12px 30px -24px rgba(38, 32, 110, .28), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: rotate(-1.2deg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.hero-visual:hover .demo-window { transform: rotate(0) translateY(-3px); }
.demo-bar {
  height: 42px; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; border-bottom: 1px solid var(--line);
}
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e4e5f1; }
.demo-dots i:nth-child(1) { background: #ffb7b2; }
.demo-dots i:nth-child(2) { background: #ffe0a8; }
.demo-dots i:nth-child(3) { background: #b9ecd4; }
.demo-title { font-size: 10.5px; color: var(--ink-3); letter-spacing: .04em; }
.demo-offline {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; color: var(--ok); background: var(--ok-soft);
  padding: 3px 7px; border-radius: 99px; font-weight: 600;
}
.demo-offline .icon { width: 11px; height: 11px; }
.demo-body { padding: 16px; }
.demo-row { display: flex; align-items: center; gap: 11px; }
.demo-thumb {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #edeaff, #f6f4ff);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(91, 87, 232, .1);
}
.demo-thumb .icon { width: 18px; height: 18px; }
.demo-thumb.alt { background: linear-gradient(135deg, #e6faf7, #f2fdfb); color: #0b9c84; border-color: rgba(13, 155, 116, .12); }
.demo-meta { min-width: 0; flex: 1; }
.demo-meta strong {
  display: block; font-size: 12.5px; font-weight: 650; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-meta span { display: block; font-size: 10.5px; color: var(--ink-4); margin-top: 2px; }
.demo-ext {
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px;
}
.demo-rail { display: flex; align-items: center; gap: 8px; padding: 10px 0 10px 19px; }
.demo-rail > span {
  width: 1px; height: 24px; margin-left: 18px;
  background-image: linear-gradient(#c9c6f2 45%, transparent 0);
  background-size: 1px 6px; background-repeat: repeat-y;
}
.demo-rail em {
  font-style: normal; display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; color: var(--brand-ink); background: var(--brand-soft);
  padding: 3px 8px; border-radius: 99px; font-weight: 600;
}
.demo-rail .icon { width: 10px; height: 10px; }
.demo-done {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--ok-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
}
.demo-done .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.demo-progress { height: 4px; background: #eeeff8; border-radius: 99px; margin: 13px 0 9px; overflow: hidden; }
.demo-progress i {
  display: block; width: 100%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}
.demo-foot { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-4); }
.float-tag {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-2); background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(228, 229, 243, .9); border-radius: 9px;
  padding: 6px 10px; box-shadow: 0 12px 28px -20px rgba(40, 35, 110, .5);
  animation: floaty 7s ease-in-out infinite;
}
.tag-a { top: 64px; left: -6px; color: #c0445a; }
.tag-b { top: 158px; right: -12px; color: var(--brand); animation-delay: -2s; }
.tag-c { bottom: 84px; left: 8px; color: #0a8d99; animation-delay: -4s; }
.tag-d { bottom: 200px; right: -4px; color: #96630f; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-metric {
  position: absolute; z-index: 4; right: 12px; bottom: 2px;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 40px -28px rgba(40, 35, 110, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-metric div { display: flex; align-items: baseline; gap: 5px; }
.hero-metric strong {
  font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hero-metric span { font-size: 9.5px; color: var(--ink-3); }
.hero-metric i { width: 1px; height: 22px; background: var(--line); }

.trust-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(232, 233, 244, .9);
  border-radius: 16px; padding: 4px 6px;
  box-shadow: 0 18px 40px -38px rgba(40, 35, 110, .5);
  margin-top: 30px;
}
.trust-item { display: flex; align-items: center; gap: 11px; padding: 14px 16px; position: relative; }
.trust-item + .trust-item::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: var(--line);
}
.ti-icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, #f0efff, #fbfaff);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(91, 87, 232, .1);
}
.ti-icon .icon { width: 16px; height: 16px; }
.trust-item > div > strong { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.trust-item > div > span { display: block; font-size: 10.5px; color: var(--ink-4); line-height: 1.5; margin-top: 2px; }

/* ---------------- 工作台 ---------------- */
.workbench-section { padding-top: 78px; }
.converter { overflow: hidden; }
.converter-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 24px; background: linear-gradient(180deg, #fdfdff, #fbfbfe);
  border-bottom: 1px solid var(--line);
}
.steps { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-4); }
.step { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.step i {
  font-style: normal; width: 19px; height: 19px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700;
  background: var(--surface-3); color: var(--ink-4);
  transition: background .2s, color .2s, box-shadow .2s;
}
.step.is-active { color: var(--ink); }
.step.is-active i { background: var(--primary-grad, linear-gradient(135deg, var(--brand), var(--brand-2))); color: #fff; box-shadow: 0 3px 8px -4px rgba(91, 87, 232, .8); }
.step.is-done { color: var(--ok); }
.step.is-done i { background: var(--ok-soft); color: var(--ok); }
.step-line { width: 18px; height: 1px; background: var(--line-2); }
.engine-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: var(--ink-3); white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px;
}
.engine-pill em { font-style: normal; color: var(--ink-4); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(13, 155, 116, .12); flex: none;
}
.converter-body { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.drop-panel {
  position: relative; padding: 24px; display: flex; flex-direction: column; min-width: 0;
}
.dropzone {
  position: relative; flex: 1; min-height: 330px;
  border: 1.5px dashed #d6d8eb; border-radius: 17px;
  background:
    radial-gradient(320px 170px at 50% 0%, rgba(91, 87, 232, .06), transparent 72%),
    linear-gradient(180deg, #fdfdff, #fbfbff);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px 22px; overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
  outline: none;
}
.dropzone:hover, .dropzone:focus-visible { border-color: #b9b6ee; background: #fcfcff; }
.dropzone.is-drag {
  border-color: var(--brand); background: #f7f6ff;
  box-shadow: inset 0 0 0 3px rgba(91, 87, 232, .07);
}
.dz-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 87, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 87, 232, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}
.dz-icon {
  position: relative; width: 64px; height: 64px; border-radius: 19px;
  background: linear-gradient(145deg, #edeaff, #f8f7ff);
  border: 1px solid rgba(91, 87, 232, .13);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -22px rgba(91, 87, 232, .6), inset 0 1px 0 #fff;
  margin-bottom: 16px;
}
.dz-icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.dz-icon::after {
  content: ""; position: absolute; inset: -8px; border-radius: 26px;
  border: 1px dashed rgba(91, 87, 232, .14); pointer-events: none;
}
.dropzone strong { position: relative; font-size: 18px; color: var(--ink); letter-spacing: -.01em; font-weight: 700; }
.dz-sub { position: relative; font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }
.dz-actions { position: relative; display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.dz-hint { position: relative; font-size: 11px; color: var(--ink-4); margin-top: 15px; }
.dz-drag-label {
  display: none; position: absolute; inset: auto 0 14px; font-size: 11px;
  color: var(--brand); font-weight: 700; letter-spacing: .08em;
}
.dropzone.is-drag .dz-drag-label { display: block; }
.drop-panel.has-files { padding: 18px; }
.drop-panel.has-files::after {
  content: "松手即可加入队列";
  position: absolute; inset: 10px; z-index: 5;
  display: none; align-items: center; justify-content: center;
  background: rgba(246, 245, 255, .94);
  border: 1.5px dashed var(--brand); border-radius: 15px;
  color: var(--brand-ink); font-size: 14px; font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(3px);
}
.drop-panel.has-files.is-drag-over::after { display: flex; }

.queue-card {
  border: 1px solid var(--line); border-radius: 15px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column; max-height: 420px;
}
.queue-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfdff, #fbfbfe);
}
.queue-title { display: flex; align-items: baseline; gap: 8px; }
.queue-title strong { font-size: 12.5px; color: var(--ink); }
.queue-title span { font-size: 10.5px; color: var(--ink-4); }
.queue-actions { display: flex; gap: 10px; }
.queue-list { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.drop-panel.has-files .queue-card { flex: 1; }
.queue-list::-webkit-scrollbar { width: 5px; }
.queue-list::-webkit-scrollbar-thumb { background: #dedff0; border-radius: 99px; }
.queue-item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 11px; align-items: center; padding: 11px 13px;
  border-bottom: 1px solid rgba(232, 233, 244, .7);
  transition: background .18s;
}
.queue-item:last-child { border-bottom: 0; }
.queue-item:hover { background: #fcfcff; }
.q-thumb {
  width: 40px; height: 40px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(140deg, #f0efff, #faf9ff);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232, 233, 244, .8);
}
.q-thumb img { width: 100%; height: 100%; object-fit: cover; }
.q-thumb .icon { width: 18px; height: 18px; }
.q-main { min-width: 0; }
.q-line { display: flex; align-items: center; gap: 8px; }
.q-name {
  flex: 1; min-width: 0; font-size: 12.5px; font-weight: 650; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.q-status {
  flex: none; font-size: 9.5px; font-weight: 650; padding: 2px 7px; border-radius: 99px;
  font-variant-numeric: tabular-nums;
}
.q-status.is-ready { color: var(--ink-3); background: var(--surface-3); }
.q-status.is-working { color: var(--brand-ink); background: var(--brand-soft); }
.q-status.is-done { color: var(--ok); background: var(--ok-soft); }
.q-status.is-error { color: var(--danger); background: var(--danger-soft); }
.q-meta { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 10px; color: var(--ink-4); }
.q-meta i { font-style: normal; color: #b0b3cb; font-size: 9px; }
.q-meta em { font-style: normal; margin-left: auto; font-variant-numeric: tabular-nums; }
.q-bar { height: 3px; border-radius: 99px; background: #f0f0f8; margin-top: 6px; overflow: hidden; }
.q-bar i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  transition: width .25s ease;
}
.q-error { margin: 5px 0 0; font-size: 10px; color: var(--danger); line-height: 1.5; }
.q-actions { display: flex; align-items: center; gap: 2px; }

.format-panel {
  position: relative; padding: 22px 24px 20px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(360px 240px at 100% 0, rgba(124, 87, 255, .045), transparent 70%),
    #fbfbfe;
  min-width: 0;
}
.format-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.format-head h3 { font-size: 14.5px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.format-head p { font-size: 11px; color: var(--ink-4); margin-top: 2px; }
.swap-btn {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, border-color .2s, color .2s;
}
.swap-btn .icon { width: 15px; height: 15px; }
.swap-btn:hover { border-color: #c3c0ee; color: var(--brand); transform: rotate(180deg); }
.swap-btn:disabled { opacity: .4; cursor: not-allowed; }
.cat-tabs {
  display: flex; gap: 6px; margin: 14px 0 16px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 10px; border-radius: 8px;
  border: 1px solid transparent; background: transparent;
  font-size: 11.5px; color: var(--ink-3); white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.cat-tab .icon { width: 13px; height: 13px; }
.cat-tab:hover { background: #f1f0fb; color: var(--ink-2); }
.cat-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 4px 10px -6px rgba(16, 18, 39, .7); }
.cat-tab.is-locked { opacity: .38; cursor: not-allowed; }
.format-group { }
.format-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 10.5px; color: var(--ink-3); margin-bottom: 7px;
}
.format-label span { font-weight: 650; letter-spacing: .06em; }
.format-label em { font-style: normal; color: var(--ink-4); font-size: 9.5px; }
.chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.chips-empty { grid-column: 1 / -1; font-size: 11px; color: var(--ink-4); }
.fmt-chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  height: 30px; padding: 0 4px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0;
  color: var(--ink-2); transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.fmt-chip:hover { border-color: #c6c3ef; transform: translateY(-1px); }
.fmt-chip.is-active {
  color: var(--brand-ink); border-color: #c3bff5; background: #f0eeff;
  box-shadow: inset 0 0 0 1px rgba(91, 87, 232, .08);
}
.fmt-chip.is-locked { opacity: .88; cursor: default; }
.fmt-chip.is-disabled { opacity: .4; cursor: not-allowed; border-style: dashed; }
.niche-dot {
  width: 4px; height: 4px; border-radius: 50%; background: #c58a12; flex: none;
  display: inline-block;
}
.fmt-chip.is-active .niche-dot { background: var(--brand); }
.format-bridge { display: flex; align-items: center; gap: 9px; margin: 11px 0; }
.bridge-line { flex: 1; height: 1px; background-image: linear-gradient(90deg, #d7d8e8 50%, transparent 0); background-size: 6px 1px; }
.bridge-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: .04em;
  color: var(--ink-3); background: #fff; border: 1px solid var(--line);
  border-radius: 99px; padding: 3px 9px; white-space: nowrap;
}
.options { margin-top: 2px; border-top: 1px dashed var(--line); padding-top: 2px; }
.option-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 7px 0; min-height: 36px;
}
.option-label { min-width: 0; }
.option-label span { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.option-label em { display: block; font-style: normal; font-size: 9.5px; color: var(--ink-4); line-height: 1.5; }
.option-control { flex: none; display: flex; align-items: center; }
.select {
  height: 30px; border-radius: 8px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); font-size: 11px; padding: 0 8px;
  max-width: 150px; outline: none;
}
.select:focus { border-color: #b9b6ec; }
.text-input {
  height: 30px; border-radius: 8px; border: 1px solid var(--line-2);
  background: #fff; padding: 0 9px; font-size: 11px; width: 158px; outline: none;
}
.text-input:focus { border-color: #b9b6ec; }
.range-wrap { display: flex; align-items: center; gap: 9px; }
.range {
  -webkit-appearance: none; appearance: none; width: 118px; height: 4px;
  border-radius: 99px; background: linear-gradient(90deg, #6a5cff, #12b8c9);
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); cursor: pointer;
  box-shadow: 0 2px 6px rgba(30, 28, 80, .2);
}
.range::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 2px solid var(--brand); cursor: pointer;
}
.range-wrap output {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  min-width: 25px; text-align: right; font-variant-numeric: tabular-nums;
}
.color-input {
  width: 30px; height: 26px; padding: 0; border: 1px solid var(--line-2);
  border-radius: 7px; background: #fff; overflow: hidden;
}
.color-input::-webkit-color-swatch-wrapper { padding: 2px; }
.color-input::-webkit-color-swatch { border: none; border-radius: 4px; }
.number-wrap { display: flex; align-items: center; gap: 5px; }
.number-wrap .text-input { width: 68px; }
.number-wrap span { font-size: 10px; color: var(--ink-4); }
.switch { display: inline-flex; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  width: 34px; height: 20px; border-radius: 99px; background: #dfe1ef;
  position: relative; transition: background .2s; flex: none;
}
.switch-track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(30, 28, 80, .2); transition: transform .2s;
}
.switch input:checked + .switch-track { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.switch input:checked + .switch-track::after { transform: translateX(14px); }
.switch input:focus-visible + .switch-track { outline: 2px solid rgba(91, 87, 232, .5); outline-offset: 2px; }
.option-note {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: 10px; line-height: 1.6; color: var(--ink-4);
  padding: 7px 0 2px;
}
.option-note .icon { width: 12px; height: 12px; margin-top: 2px; }
.convert-btn { height: 46px; margin-top: 12px; font-size: 13.5px; }
.convert-btn .icon { width: 15px; height: 15px; }
.convert-note {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 9.5px; color: var(--ink-4); margin-top: 9px; text-align: center;
}
.convert-note .icon { width: 11px; height: 11px; }
.is-busy .options { opacity: .55; pointer-events: none; }
.is-busy .chips, .is-busy .cat-tabs { pointer-events: none; opacity: .72; }

.task-area { border-top: 1px solid var(--line); background: #fcfcff; padding: 16px 24px 18px; }
.task-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.task-title { display: flex; align-items: center; gap: 9px; font-size: 12px; min-width: 0; }
.task-title strong { color: var(--ink); font-weight: 650; white-space: nowrap; }
.task-count { color: var(--ink-4); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.spinner {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 2px solid #dedcf5; border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
.task-actions { display: flex; align-items: center; gap: 12px; }
.task-percent { font-family: var(--mono); font-size: 11.5px; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.progress { height: 5px; border-radius: 99px; background: #eeeff8; margin-top: 10px; overflow: hidden; }
.progress i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  transition: width .25s ease;
}
.task-sub { margin-top: 7px; font-size: 10.5px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-area { border-top: 1px solid var(--line); background: linear-gradient(180deg, #fbfefc, #fdfdff); padding: 18px 24px 20px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.result-title { display: flex; align-items: center; gap: 11px; }
.result-check {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--ok-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
}
.result-check .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.result-title > div > strong { display: block; font-size: 13px; color: var(--ink); line-height: 1.4; }
.result-title > div > span { display: block; font-size: 10.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.result-actions { display: flex; gap: 8px; }
.result-list { margin-top: 8px; display: grid; gap: 2px; }
.result-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 2px;
  border-bottom: 1px dashed rgba(232, 233, 244, .8);
}
.result-item:last-child { border-bottom: 0; }
.r-icon {
  width: 26px; height: 26px; border-radius: 8px; background: #f0fbf6; color: var(--ok);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.r-icon .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.r-main { flex: 1; min-width: 0; }
.r-main strong {
  display: block; font-size: 12px; color: var(--ink); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.r-main span { display: block; font-size: 9.5px; color: var(--ink-4); margin-top: 1px; }
.workbench-foot {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; color: var(--ink-4); margin-top: 14px; text-align: center;
}
.workbench-foot .icon { width: 12px; height: 12px; }

/* ---------------- 格式矩阵 ---------------- */
.pairs-strip {
  --pairs-fade: 36px;
  display: flex; overflow-x: auto; overflow-y: hidden;
  padding: 2px 2px 6px;
  scrollbar-width: none; -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--pairs-fade), #000 calc(100% - var(--pairs-fade)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--pairs-fade), #000 calc(100% - var(--pairs-fade)), transparent 100%);
}
.pairs-strip::-webkit-scrollbar { width: 0; height: 0; display: none; }
.pairs-strip.is-looping { cursor: grab; }
.pairs-strip.is-looping:active { cursor: grabbing; }
.pairs-track { display: flex; gap: 8px; width: max-content; flex: none; }
.pairs-group { display: flex; gap: 8px; flex: none; }
.pair-card {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: 11px; color: var(--ink-2); transition: all .18s;
}
.pair-card:hover { border-color: #c3bff5; background: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -14px rgba(40, 35, 110, .45); }
.pair-card b { font-family: var(--mono); font-size: 10px; font-weight: 700; }
.pair-card i { font-style: normal; color: var(--ink-4); font-size: 9px; }
.pair-card span { font-size: 9.5px; color: var(--ink-4); padding-left: 2px; border-left: 1px solid var(--line); margin-left: 2px; }
.matrix { padding: 20px 22px 18px; }
.matrix-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.matrix-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.matrix-tabs::-webkit-scrollbar { display: none; }
.matrix-tab {
  height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; font-size: 11.5px; color: var(--ink-3); white-space: nowrap;
}
.matrix-tab:hover { background: var(--surface-3); color: var(--ink-2); }
.matrix-tab.is-active { background: var(--ink); color: #fff; }
.matrix-count { opacity: .45; font-size: 9px; font-variant-numeric: tabular-nums; }
.search-box {
  display: flex; align-items: center; gap: 7px;
  width: 240px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: 9px; background: #fff;
  color: var(--ink-4);
}
.search-box .icon { width: 14px; height: 14px; }
.search-box input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-size: 11px; color: var(--ink);
}
.search-box input::placeholder { color: var(--ink-4); }
.search-box:focus-within { border-color: #b9b6ec; box-shadow: 0 0 0 3px rgba(91, 87, 232, .08); }
.matrix-legend {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 10px; color: var(--ink-4); padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}
.matrix-legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.lg.both { background: var(--brand); }
.lg.read { background: var(--brand-3); }
.lg.write { background: #c58a12; }
.lg.none { background: #c7c9d8; }
.legend-note { margin-left: auto; color: var(--ink-4); }
.legend-note b { color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.format-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; padding-top: 14px;
}
.fmt-card {
  position: relative; border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s;
  min-width: 0;
}
.fmt-card:hover { border-color: #c9c6ee; box-shadow: 0 14px 30px -26px rgba(40, 35, 110, .5); transform: translateY(-1px); }
.fmt-card[data-status="none"] { background: #fbfbfe; border-style: dashed; }
.fmt-card[data-status="none"]:hover { transform: none; box-shadow: none; }
.fmt-head { display: flex; align-items: center; gap: 6px; }
.fmt-ext {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .03em;
  color: var(--ink); background: var(--surface-3); border: 1px solid var(--line);
  border-radius: 5px; padding: 2px 6px;
}
.fmt-card[data-status="both"] .fmt-ext { background: var(--brand-soft); color: var(--brand-ink); border-color: rgba(91, 87, 232, .12); }
.fmt-name { font-size: 12px; font-weight: 650; color: var(--ink); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmt-status {
  font-size: 8.5px; font-weight: 650; padding: 2px 6px; border-radius: 99px; flex: none;
}
.fmt-status.s-both { color: var(--brand-ink); background: var(--brand-soft); }
.fmt-status.s-read { color: #087f8c; background: #e6f8fa; }
.fmt-status.s-write { color: #96630f; background: #fdf3e2; }
.fmt-status.s-none { color: var(--ink-4); background: #f1f1f7; }
.fmt-niche {
  font-size: 8px; color: #96630f; background: #fdf4e3; border: 1px solid #f3e2c4;
  border-radius: 4px; padding: 1px 4px; flex: none;
}
.fmt-desc {
  font-size: 10.5px; line-height: 1.65; color: var(--ink-3); margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fmt-targets { margin-top: 8px; font-size: 9.5px; color: var(--ink-4); line-height: 1.6; }
.fmt-targets b { font-weight: 650; color: var(--ink-3); }
.fmt-targets span { color: var(--ink-2); font-family: var(--mono); font-size: 9px; }
.fmt-reason { margin-top: 7px; font-size: 9.5px; color: var(--ink-4); line-height: 1.55; }
.matrix-empty { padding: 40px 0; text-align: center; font-size: 12px; color: var(--ink-4); }
.unsupported-note {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px;
}
.un-icon {
  width: 32px; height: 32px; border-radius: 9px; background: var(--surface-3);
  color: var(--ink-3); display: flex; align-items: center; justify-content: center; flex: none;
}
.un-icon .icon { width: 15px; height: 15px; }
.unsupported-note > div { flex: 1; min-width: 0; }
.unsupported-note strong { font-size: 11.5px; color: var(--ink); font-weight: 650; }
.unsupported-note p { font-size: 10.5px; color: var(--ink-4); margin-top: 2px; line-height: 1.6; }

/* ---------------- 桌面端 ---------------- */
.desktop-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 58px; align-items: center; }
.desktop-copy h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.4rem); line-height: 1.28; color: var(--ink);
  letter-spacing: -.025em; font-weight: 750; margin-top: 10px;
}
.lede-small { font-size: 13.5px; line-height: 1.9; color: var(--ink-3); margin-top: 14px; max-width: 430px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.f-icon {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, #f0efff, #fbfaff);
  border: 1px solid rgba(91, 87, 232, .1); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.f-icon .icon { width: 15px; height: 15px; }
.feature-list strong { display: block; font-size: 12.5px; color: var(--ink); font-weight: 650; }
.feature-list p { font-size: 10.5px; color: var(--ink-4); line-height: 1.7; margin-top: 2px; }
.desktop-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.os-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px;
  font-size: 9.5px; color: var(--ink-4);
}
.os-row span { border: 1px solid var(--line); background: rgba(255, 255, 255, .6); border-radius: 5px; padding: 2px 7px; }
.os-row em { font-style: normal; padding-left: 2px; }
.download-note {
  display: flex; align-items: flex-start; gap: 7px; margin: 14px 0 0;
  font-size: 10.5px; line-height: 1.7; color: var(--ink-4);
}
.download-note .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--brand); }
.inline-link {
  border: 0; background: none; padding: 0; font: inherit; color: var(--brand);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.inline-link:hover { color: #4438d6; }
.desktop-visual { position: relative; }
.desktop-window {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 50px 100px -56px rgba(38, 32, 110, .55), 0 14px 40px -30px rgba(38, 32, 110, .25);
}
.dw-title {
  height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: linear-gradient(180deg, #fdfdff, #f8f8fd); border-bottom: 1px solid var(--line);
}
.dw-dots { display: flex; gap: 5px; }
.dw-dots i { width: 7px; height: 7px; border-radius: 50%; background: #dedfec; }
.dw-dots i:nth-child(1) { background: #ffb7b2; }
.dw-dots i:nth-child(2) { background: #ffe0a8; }
.dw-dots i:nth-child(3) { background: #b9ecd4; }
.dw-name { font-size: 9.5px; color: var(--ink-3); letter-spacing: .02em; }
.dw-offline { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--ok); }
.dw-offline .icon { width: 10px; height: 10px; }
.dw-body { display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 330px; }
.dw-side { background: #f6f5fd; border-right: 1px solid var(--line); padding: 13px 9px; display: flex; flex-direction: column; gap: 3px; }
.dw-brand { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; color: var(--ink); padding: 2px 7px 11px; }
.dw-nav {
  display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--ink-3);
  padding: 7px 8px; border-radius: 6px;
}
.dw-nav .icon { width: 11px; height: 11px; }
.dw-nav i {
  margin-left: auto; font-style: normal; font-size: 7.5px; background: #e8e7f4;
  padding: 1px 4px; border-radius: 99px; color: var(--ink-3);
}
.dw-nav.active { background: #fff; color: var(--brand-ink); box-shadow: 0 4px 10px -8px rgba(40, 35, 110, .4); font-weight: 650; }
.dw-side-foot { margin-top: auto; display: flex; align-items: center; gap: 5px; font-size: 7.5px; color: var(--ink-4); padding: 8px; }
.dw-side-foot .live-dot { width: 4px; height: 4px; box-shadow: none; }
.dw-main { padding: 13px 14px; min-width: 0; }
.dw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dw-head strong { display: block; font-size: 11px; color: var(--ink); }
.dw-head span { display: block; font-size: 7.5px; color: var(--ink-4); margin-top: 1px; }
.dw-pill { font-size: 7.5px !important; color: var(--ok) !important; background: var(--ok-soft); border-radius: 99px; padding: 2px 6px; margin: 0 !important; }
.dw-drop {
  margin-top: 10px; height: 64px; border: 1px dashed #d5d6e9; border-radius: 9px;
  background: #fcfcff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--ink-3);
}
.dw-drop .icon { width: 14px; height: 14px; color: var(--brand); }
.dw-drop span { font-size: 8px; }
.dw-drop em { font-style: normal; font-size: 7px; color: var(--ink-4); }
.dw-formats { display: flex; gap: 4px; margin: 9px 0 6px; flex-wrap: wrap; }
.dw-formats span {
  font-family: var(--mono); font-size: 7px; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px;
}
.dw-formats span.on { background: var(--brand-soft); border-color: #cbc7f4; color: var(--brand-ink); }
.dw-row {
  display: flex; align-items: center; gap: 7px; padding: 6px 0;
  border-top: 1px dashed var(--line);
}
.dw-thumb {
  width: 22px; height: 22px; border-radius: 6px; background: #f0efff; color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dw-thumb .icon { width: 11px; height: 11px; }
.dw-row div { min-width: 0; flex: 1; }
.dw-row b { display: block; font-size: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-row em { display: block; font-style: normal; font-size: 7px; color: var(--ink-4); }
.dw-done { color: var(--ok); }
.dw-done .icon { width: 12px; height: 12px; stroke-width: 2.2; }
.dw-progress { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.dw-progress::before {
  content: ""; flex: 1; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}
.dw-progress i { display: none; }
.dw-progress span { font-family: var(--mono); font-size: 7px; color: var(--ink-4); }
.dw-status {
  height: 25px; display: flex; align-items: center; gap: 14px; padding: 0 12px;
  background: #fbfbfe; border-top: 1px solid var(--line);
  font-size: 7px; color: var(--ink-4);
}
.dw-status span { display: inline-flex; align-items: center; gap: 4px; }
.dw-status span:nth-child(2) { margin-left: auto; }
.dw-status .live-dot { width: 4px; height: 4px; box-shadow: none; }
.visual-caption {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px;
  font-size: 9.5px; color: var(--ink-4); white-space: nowrap;
}
.visual-caption .icon { width: 11px; height: 11px; }

/* ---------------- 隐私 ---------------- */
.privacy-head { max-width: 620px; }
.privacy-head h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.4rem); line-height: 1.28; color: var(--ink);
  letter-spacing: -.025em; font-weight: 750; margin-top: 10px;
}
.privacy-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.privacy-card {
  position: relative; background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 18px;
  overflow: hidden;
}
.privacy-card::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 87, 232, .35), transparent);
}
.p-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, #efedff, #fbfaff);
  border: 1px solid rgba(91, 87, 232, .12); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.p-icon .icon { width: 19px; height: 19px; }
.privacy-card h3 { font-size: 14px; color: var(--ink); font-weight: 700; margin-top: 15px; }
.privacy-card p { font-size: 11px; line-height: 1.85; color: var(--ink-3); margin-top: 7px; }
.p-foot {
  display: inline-block; font-size: 9px; color: var(--ink-4);
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 8px; letter-spacing: .04em;
}
.verify-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 16px; padding: 16px 20px; border-radius: 14px;
  background: linear-gradient(120deg, #17182e, #1c1c38);
  color: rgba(255, 255, 255, .72);
}
.verify-strip strong { display: block; font-size: 12px; color: #fff; font-weight: 650; }
.verify-strip span { display: block; font-size: 10.5px; margin-top: 2px; }
.verify-strip .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; }
.verify-strip .btn-soft:hover { background: rgba(255, 255, 255, .16); }

/* ---------------- FAQ ---------------- */
.faq-section { padding-top: 20px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-intro h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.3rem); line-height: 1.28; color: var(--ink);
  letter-spacing: -.025em; font-weight: 750; margin-top: 10px;
}
.faq-intro > p { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.8; }
.faq-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 22px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: rgba(255, 255, 255, .6);
  font-size: 10.5px; color: var(--ink-4); line-height: 1.7;
}
.faq-note .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--brand); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 2px; font-size: 13.5px; font-weight: 650; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 15px; height: 15px; color: var(--ink-4); transition: transform .25s; flex: none; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--brand); }
.faq-body { padding: 0 26px 18px 2px; }
.faq-body p { font-size: 12px; line-height: 1.9; color: var(--ink-3); }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--line); background: rgba(251, 251, 254, .82); }
.footer-main { display: flex; justify-content: space-between; gap: 60px; padding: 48px 28px 38px; }
.footer-brand p { font-size: 11px; color: var(--ink-4); margin-top: 12px; }
.footer-links { display: flex; gap: 64px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { font-size: 10px; letter-spacing: .1em; color: var(--ink-4); font-weight: 650; }
.footer-links a { font-size: 11.5px; color: var(--ink-3); transition: color .18s; }
.footer-links a:hover { color: var(--brand-ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 18px;
  font-size: 9.5px; color: var(--ink-4);
}
.footer-badge { display: inline-flex; align-items: center; gap: 6px; }
.footer-badge .live-dot { width: 5px; height: 5px; box-shadow: none; }

/* ---------------- 弹窗 / 提示 ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 18, 39, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative; width: min(600px, 100%); max-height: 84vh; overflow: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 40px 100px -40px rgba(10, 10, 40, .6);
  outline: none;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: #fff; z-index: 1;
}
.modal-head h3 { font-size: 15px; color: var(--ink); font-weight: 700; }
.modal-body { padding: 20px 22px; font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.modal-body h4 { font-size: 12px; color: var(--ink); margin: 16px 0 6px; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin: 0 0 10px; }
.modal-body ol, .modal-body ul { padding-left: 20px; margin: 8px 0 12px; }
.modal-body li { margin: 4px 0; }
.modal-body pre {
  background: #17182c; color: #e9e9ff; border-radius: 9px;
  padding: 12px 14px; overflow: auto; font-family: var(--mono); font-size: 10.5px; line-height: 1.7;
}
.modal-body code { background: var(--surface-3); }
.hash-line { word-break: break-all; }
.hash-line code { font-size: 10.5px; padding: 2px 5px; }
.modal-body pre code { background: none; padding: 0; border: 0; color: inherit; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px;
  border-top: 1px solid var(--line); background: var(--surface-2);
}
.modal-foot:empty { display: none; }
.toast-stack {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: flex; flex-direction: column; gap: 8px; width: min(340px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px;
  border-radius: 11px; background: #191a2f; color: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 40px -20px rgba(8, 8, 30, .7);
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .22s;
  pointer-events: auto;
}
.toast.is-in { opacity: 1; transform: none; }
.toast-ico { color: #8ee6c8; display: flex; margin-top: 1px; }
.toast-ico .icon { width: 14px; height: 14px; }
.toast-error .toast-ico { color: #ff9aa8; }
.toast p { flex: 1; font-size: 11.5px; line-height: 1.6; margin: 0; word-break: break-word; }
.toast-close {
  border: 0; background: none; color: rgba(255, 255, 255, .4); padding: 1px;
  display: flex; flex: none;
}
.toast-close .icon { width: 12px; height: 12px; }
.toast-close:hover { color: #fff; }
.noscript {
  position: fixed; inset: auto 20px 20px; z-index: 200; background: #191a2f; color: #fff;
  padding: 14px 18px; border-radius: 10px; font-size: 12px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 440px; }
  .orbit-ring { width: 420px; height: 420px; }
  .ring-b { width: 470px; height: 470px; }
  .tag-a { left: 0; }
  .tag-b { right: 0; }
  .tag-d { right: 0; }
  .desktop-grid { gap: 36px; }
  .dw-body { grid-template-columns: 122px minmax(0, 1fr); }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .mobile-menu:not([hidden]) { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 620px; }
  .hero-visual { min-height: 470px; margin-top: 10px; }
  .hero-metric { right: 4px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3)::before { display: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .converter-body { grid-template-columns: 1fr; }
  .format-panel { border-left: 0; border-top: 1px solid var(--line); }
  .dropzone { min-height: 270px; }
  .desktop-grid { grid-template-columns: 1fr; gap: 44px; }
  .desktop-copy { max-width: 600px; }
  .desktop-visual { max-width: 620px; }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-aside { text-align: left; max-width: none; }
  .section-aside br { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 66px 0; }
  .nav-inner { height: 62px; }
  .brand-text em { display: none; }
  .net-chip { display: none; }
  .nav-cta { display: none; }
  .hero { padding-top: 46px; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 2.9rem); }
  .lede { font-size: 14px; }
  .hero-visual { min-height: 410px; }
  .hero-visual::before { width: 330px; height: 290px; border-radius: 22px; }
  .demo-window { width: 94%; }
  .orbit-ring { width: 360px; height: 360px; }
  .ring-b { width: 400px; height: 400px; }
  .float-tag { display: none; }
  .hero-metric { position: static; margin-top: 14px; align-self: center; }
  .hero-visual { flex-direction: column; justify-content: center; }
  .orbit-ring { top: 20%; }
  .visual-halo { width: 360px; height: 360px; }
  .trust-strip { margin-top: 22px; }
  .trust-item { padding: 12px; gap: 9px; }
  .trust-item span { font-size: 9.5px; }
  .converter-head { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .steps { gap: 6px; font-size: 10px; }
  .step-line { width: 10px; }
  .engine-pill { font-size: 9px; }
  .drop-panel { padding: 16px; }
  .drop-panel.has-files { padding: 12px; }
  .dropzone { min-height: 250px; padding: 24px 16px; }
  .dropzone strong { font-size: 16px; }
  .dz-sub { font-size: 11.5px; }
  .format-panel { padding: 18px 16px 16px; }
  .cat-tabs { flex-wrap: wrap; overflow: visible; gap: 4px; }
  .cat-tab { padding: 0 8px; font-size: 11px; gap: 4px; }
  .format-grid { grid-template-columns: 1fr; }
  .matrix { padding: 16px 14px; }
  .matrix-bar { gap: 10px; }
  .search-box { width: 100%; }
  .legend-note { margin-left: 0; width: 100%; }
  .unsupported-note { align-items: flex-start; flex-wrap: wrap; }
  .unsupported-note .text-btn { margin-left: 46px; }
  .footer-main { flex-direction: column; gap: 30px; padding: 36px 18px 28px; }
  .footer-links { gap: 36px; justify-content: space-between; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px 20px; }
  .desktop-window { border-radius: 12px; }
  .dw-body { grid-template-columns: 96px minmax(0, 1fr); min-height: 300px; }
  .dw-main { padding: 10px; }
  .dw-side { padding: 10px 6px; }
  .dw-name { display: none; }
  .task-area, .result-area { padding-left: 16px; padding-right: 16px; }
  .task-sub { max-width: 100%; }
  .result-actions { width: 100%; }
  .result-actions .btn { flex: 1; }
  .toast-stack { right: 16px; bottom: 16px; }
  .modal { padding: 14px; }
  .verify-strip { flex-direction: column; align-items: flex-start; }
  .verify-strip .btn { width: 100%; }
  .pairs-strip { margin-right: -18px; padding-right: 18px; }
}

@media (max-width: 460px) {
  .cat-tab { padding: 0 10px; font-size: 11px; }
  .cat-tab .icon { display: none; }
  .dz-actions { flex-direction: column; width: 100%; }
  .dz-actions .btn { width: 100%; }
  .cat-tab { height: 28px; font-size: 10.5px; }
  .fmt-chip { height: 28px; font-size: 9.5px; padding: 0 8px; }
  .option-row { gap: 8px; }
  .select { max-width: 128px; }
  .text-input { width: 132px; }
  .range { width: 92px; }
  .result-title { align-items: flex-start; }
  .queue-actions { gap: 6px; }
  .queue-head { padding: 10px 11px; }
  .hero-metric { padding: 10px 14px; }
  .hero-metric strong { font-size: 19px; }
  .dw-body { grid-template-columns: 78px minmax(0, 1fr); }
  .dw-nav { font-size: 8px; padding: 6px 5px; }
  .dw-brand { font-size: 9px; padding-left: 4px; }
  .dw-side-foot { font-size: 6.5px; padding: 6px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-visual:hover .demo-window { transform: none; }
}
