/* =========================================================
   图转 · WebP 在线转换 — 设计系统（v2，美化版）
   美学：暖纸白 + 翡翠绿 + 沙金点缀；编辑式排版；
        英雄区双栏 + 转换示意插画；克制而有记忆点的动效
   ========================================================= */

:root {
  --paper:      #FBFAF6;
  --paper-2:    #F4F1EA;
  --paper-3:    #ECE8DD;
  --ink:        #18181B;
  --ink-soft:   #56565E;
  --ink-faint:  #8A8A92;
  --line:       #E6E1D5;
  --line-strong:#CFC9BA;

  --accent:       #0E8A6B;
  --accent-deep:  #0A6B51;
  --accent-soft:  #E4F2EC;
  --accent-ink:   #06523E;
  --accent-2:     #D9933B;   /* 沙金点缀 */
  --accent-2-soft:#FBEFDD;

  --font-display: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body:    "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --sp-1:.5rem; --sp-2:.75rem; --sp-3:1rem; --sp-4:1.5rem;
  --sp-5:2.25rem; --sp-6:clamp(2.5rem,5vw,4.5rem); --sp-7:clamp(4rem,8vw,7rem);

  --radius:   14px;
  --radius-lg:24px;
  --radius-sm:10px;
  --radius-pill:999px;

  --shadow-1: 0 1px 2px rgba(24,24,27,.04), 0 10px 28px -16px rgba(24,24,27,.22);
  --shadow-2: 0 2px 6px rgba(24,24,27,.05), 0 30px 60px -28px rgba(24,24,27,.30);
  --shadow-accent: 0 14px 30px -14px rgba(14,138,107,.55);

  --maxw: 1140px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out-quart: cubic-bezier(.15,.85,.25,1);
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(15px,1.05vw,16.5px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(58rem 40rem at 90% -10%, rgba(14,138,107,.08), transparent 60%),
    radial-gradient(48rem 36rem at -8% 6%, rgba(217,147,59,.06), transparent 55%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 5px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem,4vw,2.5rem); }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.78);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: var(--sp-4); height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), var(--shadow-accent);
}
.brand .mark svg { width: 20px; height: 20px; }
.brand b { color: var(--ink); }
.brand span.sub { color: var(--ink-faint); font-weight: 600; font-size: .8rem; letter-spacing: .02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.8rem,2.2vw,1.7rem); }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: .94rem; transition: color .2s var(--ease); }
.nav a:hover { color: var(--accent-deep); }
.nav .nav-cta {
  background: var(--ink); color: var(--paper);
  padding: .58rem 1.1rem; border-radius: var(--radius-pill); font-weight: 700;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s;
}
.nav .nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-accent); }

/* ---------- 英雄区（双栏） ---------- */
.hero { padding-top: clamp(2.5rem,6vw,4.5rem); padding-bottom: var(--sp-5); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-soft); border: 1px solid #cfe7dc;
  padding: .36rem .85rem; border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(14,138,107,.18); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem,5.6vw,4rem); line-height: 1.04; letter-spacing: -.035em;
  margin-top: 1.2rem; max-width: 15ch;
}
.hero h1 .hl { color: var(--accent-deep); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content:""; position:absolute; left:0; right:0; bottom:.08em; height:.32em; background: var(--accent-soft); z-index:-1; border-radius: 4px; }
.hero p.lede {
  margin-top: 1.2rem; font-size: clamp(1.02rem,1.5vw,1.2rem);
  color: var(--ink-soft); max-width: 50ch; line-height: 1.62;
}
.hero-actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-lg { display:inline-flex; align-items:center; gap:.5rem; background: var(--accent); color:#fff; font-weight:700; font-size:1.02rem; padding: .95rem 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-accent); transition: transform .18s var(--ease), background .18s var(--ease); }
.btn-lg:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-lg svg { width:18px; height:18px; }
.btn-ghost-lg { display:inline-flex; align-items:center; gap:.5rem; background:#fff; color:var(--ink); font-weight:700; font-size:1.02rem; padding: .95rem 1.5rem; border-radius: var(--radius-sm); border:1px solid var(--line-strong); transition: transform .18s var(--ease), border-color .18s, background .18s; }
.btn-ghost-lg:hover { transform: translateY(-2px); border-color: var(--ink-faint); background: var(--paper-2); }

.trust { margin-top: 1.9rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.trust .pill { display:inline-flex; align-items:center; gap:.45rem; font-size:.86rem; font-weight:600; color:var(--ink-soft); background:#fff; border:1px solid var(--line); padding:.42rem .8rem; border-radius:var(--radius-pill); }
.trust .pill svg { width:15px; height:15px; color:var(--accent); }

/* 子页英雄区元数据胶囊（与 trust 一致） */
.hero-meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); padding: .5rem .95rem; border-radius: var(--radius-pill); }
.hero-meta span svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* 英雄插画 */
.hero-visual { position: relative; }
.hero-visual .blob { position:absolute; border-radius:50%; filter: blur(34px); opacity:.5; z-index:0; }
.hero-visual .blob.a { width:220px; height:220px; background: rgba(14,138,107,.35); top:-30px; right:-20px; }
.hero-visual .blob.b { width:200px; height:200px; background: rgba(217,147,59,.30); bottom:-30px; left:-20px; }
.hv-card { position: relative; z-index:1; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: clamp(1.2rem,3vw,2rem); }
.hv-svg { width:100%; height:auto; }
.hv-arrow { stroke-dasharray: 7 9; animation: dash 2.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.hv-tgt { opacity:0; transform: translateY(10px); animation: rise .7s var(--ease-out-quart) forwards; animation-delay: calc(.35s + var(--i) * .18s); }
@keyframes rise { to { opacity:1; transform:none; } }
.hv-src { transform-origin:center; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }

/* ---------- 转换器区块 ---------- */
.converter-section { padding-bottom: var(--sp-6); }
.converter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.converter-head { display:flex; align-items:center; gap:.7rem; padding: clamp(1.1rem,3vw,1.5rem) clamp(1.4rem,3vw,2.2rem); border-bottom:1px solid var(--line); background: linear-gradient(180deg,#fff, var(--paper)); }
.converter-head .ch-ico { width:38px; height:38px; border-radius:11px; background: var(--accent-soft); color: var(--accent-deep); display:grid; place-items:center; flex:none; }
.converter-head .ch-ico svg { width:20px; height:20px; }
.converter-head h2 { font-family: var(--font-display); font-weight:700; font-size:1.12rem; letter-spacing:-.01em; }
.converter-head p { color: var(--ink-faint); font-size:.88rem; margin-top:.1rem; }
.converter-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 880px) { .converter-grid { grid-template-columns: 1.12fr .88fr; } }

.panel { padding: clamp(1.4rem,3vw,2.2rem); }
.panel.left { border-bottom: 1px solid var(--line); }
@media (min-width: 880px) { .panel.left { border-bottom: none; border-right: 1px solid var(--line); } }

.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.panel-title .tag { font-size: .7rem; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); padding: .15rem .5rem; border-radius: var(--radius-pill); letter-spacing: .03em; }

.dropzone {
  margin-top: 1.1rem; border: 2px dashed var(--line-strong); border-radius: var(--radius);
  background:
    radial-gradient(circle at 1px 1px, rgba(24,24,27,.05) 1px, transparent 0) 0 0/18px 18px,
    var(--paper);
  padding: clamp(1.7rem,4vw,2.7rem) 1.2rem; text-align: center;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
  cursor: pointer;
}
.dropzone:hover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.is-drag { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.01); }
.dropzone .ico { width: 54px; height: 54px; margin: 0 auto .85rem; color: var(--accent); }
.dropzone h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; }
.dropzone p { color: var(--ink-soft); font-size: .92rem; margin-top: .35rem; }
.dropzone .browse { color: var(--accent-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dropzone .fmt-hint { margin-top: .95rem; font-size: .8rem; color: var(--ink-faint); }

.filelist { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.filelist:empty { display: none; }
.file-row {
  display: grid; grid-template-columns: 46px 1fr auto; gap: .85rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .6rem .7rem; background: #fff;
  animation: rowIn .35s var(--ease) both;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.file-row .thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--paper-2); border: 1px solid var(--line); flex: none; }
.file-row .meta { min-width: 0; }
.file-row .fname { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row .fsub { font-size: .8rem; color: var(--ink-faint); }
.file-row .fsub .sep { opacity: .5; margin: 0 .35rem; }
.file-row .badge { font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: var(--radius-pill); background: var(--paper-2); color: var(--ink-soft); white-space: nowrap; }
.file-row .badge.ok { background: var(--accent-soft); color: var(--accent-ink); }
.file-row .badge.warn { background: var(--accent-2-soft); color: var(--accent-2); }
.file-row .x { width: 28px; height: 28px; border-radius: 8px; color: var(--ink-faint); display: grid; place-items: center; transition: background .15s, color .15s; }
.file-row .x:hover { background: var(--paper-2); color: var(--ink); }

.panel.right { background: linear-gradient(180deg, #fff, var(--paper)); }
.ctrl-group { margin-bottom: 1.3rem; }
.ctrl-group > label.lbl { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .55rem; }
.seg { display: flex; gap: .35rem; background: var(--paper-2); padding: .3rem; border-radius: var(--radius-pill); border: 1px solid var(--line); }
.seg button {
  flex: 1; padding: .55rem .3rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .9rem;
  color: var(--ink-soft); transition: all .2s var(--ease); display: flex; flex-direction: column; align-items: center; gap: .1rem;
}
.seg button small { font-weight: 600; font-size: .67rem; color: var(--ink-faint); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-1); }
.seg button[aria-pressed="true"] small { color: var(--accent); }

.quality { display: none; }
.quality.show { display: block; animation: rowIn .3s var(--ease) both; }
.quality .qhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.quality .qval { font-family: var(--font-display); font-weight: 700; color: var(--accent-deep); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--paper-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: var(--shadow-1); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); cursor: pointer; }

.check { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.check:hover { border-color: var(--line-strong); }
.check input { margin-top: .2rem; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.check .ctext { font-size: .88rem; color: var(--ink-soft); }
.check .ctext b { color: var(--ink); }

.btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem;
  padding: .95rem 1.2rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-accent);
  transition: transform .18s var(--ease), background .18s var(--ease), opacity .18s;
}
.btn:hover:not(:disabled) { background: var(--accent-deep); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover:not(:disabled) { background: var(--paper-2); border-color: var(--ink-faint); transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: .6rem; margin-top: .7rem; }
.btn-row .btn { flex: 1; }

.note { margin-top: 1rem; font-size: .82rem; color: var(--ink-faint); display: flex; gap: .5rem; align-items: flex-start; }
.note svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: .15rem; }

.result { margin-top: 1.1rem; }
.result:empty { display: none; }
.result .r-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .55rem; }
.result .r-info { min-width: 0; }
.result .r-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .r-stat { font-size: .8rem; color: var(--ink-faint); margin-top: .15rem; }
.result .r-stat .save { color: var(--accent-deep); font-weight: 700; }
.result .r-stat .grow { color: var(--accent-2); font-weight: 700; }
.result .dl { background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: var(--radius-pill); white-space: nowrap; transition: background .15s; }
.result .dl:hover { background: #cfe7dc; }

/* ---------- 通用区块 ---------- */
.section { padding-block: var(--sp-7); }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,4vw,2.5rem); letter-spacing: -.025em; line-height: 1.1; }
.section-head p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.04rem; }

.bento { margin-top: var(--sp-5); display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6,1fr); } }
.bento .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.bento .card::after { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: linear-gradient(90deg,var(--accent),var(--accent-2)); opacity:0; transition: opacity .25s; }
.bento .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.bento .card:hover::after { opacity:1; }
.bento .card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: .95rem; }
.bento .card .ic svg { width: 22px; height: 22px; }
.bento .card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; }
.bento .card p { margin-top: .45rem; color: var(--ink-soft); font-size: .92rem; }
.s2{grid-column:span 2;} .s3{grid-column:span 3;} .s4{grid-column:span 4;} .s6{grid-column:span 6;}
@media (max-width:759px){ .s2,.s3,.s4,.s6{grid-column:span 2;} }

.steps { margin-top: var(--sp-5); display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px){ .steps{ grid-template-columns: repeat(3,1fr);} }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--accent); flex: none; line-height: 1; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--accent-soft); display:grid; place-items:center; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.step p { color: var(--ink-soft); font-size: .93rem; margin-top: .3rem; }

.faq { margin-top: var(--sp-5); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style:none; cursor:pointer; padding: 1.2rem .2rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--line-strong); display:grid; place-items:center; color:var(--ink-soft); transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; }
.faq summary .pm svg { width:13px; height:13px; }
.faq details[open] summary .pm { background: var(--accent); border-color: var(--accent); color:#fff; transform: rotate(135deg); }
.faq .ans { padding: 0 .2rem 1.25rem; color: var(--ink-soft); max-width: 70ch; }
.faq .ans p + p { margin-top: .7rem; }

.cta-band { background: radial-gradient(120% 140% at 50% 0%, #1f2b27 0%, var(--ink) 60%); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(2.2rem,5vw,3.6rem); text-align:center; box-shadow: var(--shadow-2); position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background: rgba(14,138,107,.4); filter: blur(60px); top:-120px; left:50%; transform: translateX(-50%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem,3.5vw,2.3rem); letter-spacing: -.02em; }
.cta-band p { color: rgba(251,250,246,.72); margin-top: .7rem; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-lg { margin: 1.5rem auto 0; }

.site-foot { border-top: 1px solid var(--line); padding-block: var(--sp-5) var(--sp-4); margin-top: var(--sp-6); background: var(--paper-2); }
.foot-grid { display:grid; gap:2rem; grid-template-columns:1fr; }
@media (min-width:760px){ .foot-grid{ grid-template-columns:1.4fr 1fr 1fr 1fr;} }
.foot-grid .brand { margin-bottom: .8rem; }
.foot-col h4 { font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: .8rem; letter-spacing: .01em; }
.foot-col a { display:block; color: var(--ink-soft); font-size: .92rem; padding: .22rem 0; transition: color .15s; }
.foot-col a:hover { color: var(--accent-deep); }
.foot-col p { color: var(--ink-soft); font-size: .9rem; max-width: 36ch; }
.foot-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; justify-content:space-between; color: var(--ink-faint); font-size: .85rem; }

.crumb { padding-top: 1.2rem; font-size: .85rem; color: var(--ink-faint); }
.crumb a:hover { color: var(--accent-deep); }
.crumb span.sep { margin: 0 .45rem; opacity: .5; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* =========================================================
   移动端底部吸附操作栏（默认隐藏，仅窄屏显示）
   ========================================================= */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  align-items: center; gap: .8rem;
  padding: .7rem clamp(1rem, 4vw, 1.4rem) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251,250,246,.92);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 26px -12px rgba(24,24,27,.32);
  transform: translateY(110%);
  transition: transform .28s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .mb-info { min-width: 0; flex: 1; }
.mobile-bar .mb-count { font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.2; }
.mobile-bar .mb-sub { font-size: .78rem; color: var(--ink-faint); margin-top: .1rem; }
.mobile-bar .btn { width: auto; flex: none; padding: .8rem 1.25rem; font-size: .98rem; }

/* =========================================================
   移动端专用（≤760px）：工具优先，强化触摸体验，与 PC 不完全一致
   ========================================================= */
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  body.mb-active { padding-bottom: 6rem; }

  /* 顶部导航：窄屏隐藏次要链接，仅保留品牌与主 CTA，避免横向挤压溢出 */
  .site-head .wrap { height: 58px; }
  .nav { gap: .4rem; }
  .nav a:not(.nav-cta) { display: none; }
  .brand .sub { display: none; }

  /* 英雄区：隐藏装饰插画 + 压缩高度，让工具快速可达 */
  .hero-visual { display: none; }
  .hero { padding-top: 1.5rem; padding-bottom: 1rem; }
  .hero h1 { font-size: clamp(1.85rem, 7.6vw, 2.7rem); max-width: 20ch; margin-top: .85rem; }
  .hero p.lede { font-size: 1rem; margin-top: .85rem; }
  .hero-actions { flex-direction: column; gap: .6rem; margin-top: 1.25rem; }
  .hero-actions .btn-lg,
  .hero-actions .btn-ghost-lg { width: 100%; justify-content: center; padding: 1rem 1.2rem; font-size: 1.05rem; }
  .trust { margin-top: 1.2rem; }
  .trust .pill { font-size: .8rem; padding: .4rem .7rem; }

  /* 转换器：弱化副标题，突出操作本身 */
  .converter-head { padding: 1rem 1.1rem; }
  .converter-head p { display: none; }
  .panel { padding: 1.2rem 1.1rem; }
  .panel-title { font-size: .98rem; }

  /* 拖拽区：加大点击热区 */
  .dropzone { padding: 2.4rem 1rem; }
  .dropzone .ico { width: 60px; height: 60px; }
  .dropzone h3 { font-size: 1.08rem; }
  .dropzone p, .dropzone .fmt-hint { font-size: .82rem; }

  /* 格式分段控件：更大的触摸目标 */
  .seg { padding: .25rem; gap: .25rem; }
  .seg button { padding: .7rem .2rem; font-size: .95rem; }
  .seg button small { font-size: .7rem; }

  /* 文件行：缩小缩略图与间距，避免挤压文件名 */
  .file-row { grid-template-columns: 44px 1fr auto; gap: .55rem; padding: .55rem .6rem; }
  .file-row .thumb { width: 44px; height: 44px; }

  /* 结果行：下载按钮更醒目、独占一行 */
  .result .r-row { grid-template-columns: 1fr; gap: .4rem; }
  .result .dl { justify-self: start; }

  /* 区块间距收紧，信息更聚焦 */
  .section { padding-block: clamp(2.6rem, 9vw, 3.4rem); }
  .bento { gap: .7rem; }
  .bento .card { padding: 1.2rem; }
  .bento .card .ic { width: 38px; height: 38px; margin-bottom: .7rem; }
  .bento .card .ic svg { width: 19px; height: 19px; }
  .steps { gap: .9rem; }
  .step { gap: .85rem; }
  .step .num { width: 2.1rem; height: 2.1rem; font-size: 1.15rem; }

  /* 显示移动端吸附栏 */
  .mobile-bar { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- 相关转换（上下文内链，强化 SEO 与长尾收录） ---------- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.rel-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.rel-ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px; }
.rel-ico.png { background: var(--accent); }
.rel-ico.jpg { background: var(--accent-2); }
.rel-ico.gif { background: #4B5563; }
.rel-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rel-t b { font-size: 1.05rem; color: var(--ink); font-family: var(--font-display); }
.rel-t small { color: var(--ink-faint); font-size: .85rem; }
.rel-go { margin-left: auto; color: var(--accent); font-size: 1.4rem; font-weight: 700; flex: none; }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }
