:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --red: #de280b;
  --red-ink: #9d220c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }
.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
  padding: 0 28px;
  background: rgba(245, 245, 247, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(222, 40, 11, 0.25);
}
.nav { display: flex; gap: 8px; margin-left: auto; align-items: center; font-size: 14px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.7); }
.nav a.solid { background: var(--ink); color: #f5f5f7; }
.nav a.solid:hover { background: #000; }
.lang { border: 1px solid var(--line); background: white; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  gap: 28px 56px;
  align-items: center;
  padding: 64px 0 28px;
}
.hero h1 { max-width: 12em; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; }
.hero-art {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 24px 18px 0;
  box-shadow: var(--shadow);
}
.fox {
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.section { padding: 36px 0 8px; }
.section h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.04em; }
.steps, .platforms { display: grid; gap: 14px; padding: 18px 0 8px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.platforms { grid-template-columns: 1fr 1fr; }
.platform {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 22px;
}
.platform h3, .card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.platform p { margin: 0; color: var(--muted); line-height: 1.55; }
.platform .actions { margin-top: 22px; }
.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 22px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-foot p { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.045em;
}
.lede { max-width: 36em; margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.actions a,
.actions button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
}
.actions .primary { background: var(--red); color: white; border-color: var(--red); }
.actions .dark { background: var(--ink); color: #f5f5f7; border-color: var(--ink); }
.editors-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.editors-actions a { justify-content: center; padding: 0 12px; text-align: center; }
@media (max-width: 640px) { .editors-actions { max-width: none; } }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.poster {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster img { width: 100%; height: auto; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 0 8px; }
.card, .fmt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
}
.card h2, .fmt h2, .band h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.card p, .fmt p, .band p { margin: 0; color: var(--muted); line-height: 1.55; }
.step {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
}
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 8px 0 20px; }
.page { padding: 56px 0 8px; }
.page h1 { max-width: 16em; font-size: clamp(34px, 4.4vw, 52px); }
.more { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0 72px; }
.more a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}
.more a:hover { border-color: var(--red); }
button.fmt {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
button.fmt:hover { border-color: var(--red); }
.fmt strong { display: block; margin-bottom: 6px; font-size: 22px; letter-spacing: -0.03em; }
.fmt span { color: var(--muted); font-size: 14px; }
.formats { padding-top: 28px; }
section[id], a.tool[id], .tool-group { scroll-margin-top: 88px; }
.band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 8px auto 64px;
  padding: 22px;
  background: var(--ink);
  color: #f5f5f7;
  border-radius: 24px;
}
.band img { width: 64px; height: 64px; border-radius: 16px; }
.band p { color: #a1a1a6; max-width: 46em; }
.band .actions { margin-top: 0; }
.band .actions a { background: transparent; color: #f5f5f7; border-color: rgba(245, 245, 247, 0.28); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0 8px; }
.feature-grid h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.note {
  margin: 36px 0 8px;
  padding: 36px 32px;
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: 28px;
}
.note h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.04em; }
.note p { margin: 0; max-width: 44em; color: #a1a1a6; line-height: 1.6; font-size: 17px; }
.band .actions .primary { background: var(--red); border-color: var(--red); color: white; }
.langs { position: relative; }
.langs summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}
.langs summary::-webkit-details-marker { display: none; }
.langmenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 6;
  min-width: 196px;
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.langmenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.langmenu a:hover, .langmenu a[aria-current="page"] { background: var(--paper); }
.tools-groups { padding: 12px 0 8px; }
.tool-group { margin-top: 34px; }
.tool-group:first-child { margin-top: 12px; }
.tool-group h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 0 6px;
}
a.tool {
  display: block;
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.tool strong { display: block; font-size: 17px; letter-spacing: -0.02em; }
a.tool span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
a.tool:hover {
  border-color: rgba(222, 40, 11, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
a.tool:focus-visible { outline: 3px solid rgba(222, 40, 11, 0.4); outline-offset: 2px; }
.tool.pulse { border-color: var(--red); animation: tool-pulse 1.6s ease-out 1; }
@keyframes tool-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(222, 40, 11, 0); }
  30% { box-shadow: 0 0 0 7px rgba(222, 40, 11, 0.22); }
}
.more-link { font-weight: 650; color: var(--ink); }
.privacy-line { margin: 10px 0 0; font-size: 13px; }
.crumbs { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }
.prose { max-width: 44em; }
.prose p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 900px;
  padding: 20px 0 8px;
}
.bullets div {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.bullets strong { display: block; margin-bottom: 5px; font-size: 15px; }
.bullets span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.faq { max-width: 50em; margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.faq p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
dialog.work {
  width: min(1280px, 96vw);
  height: min(88vh, 900px);
  max-width: 96vw;
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}
dialog.work[open] { display: flex; flex-direction: column; }
dialog.work::backdrop { background: rgba(20, 20, 22, 0.55); backdrop-filter: blur(3px); }
.work-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 10px 0 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.work-bar strong { font-size: 15px; letter-spacing: -0.01em; }
.work-state { margin-left: auto; color: var(--muted); font-size: 13px; }
.work-bar button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.work-bar button:hover { border-color: var(--red); }
.frame-wrap { position: relative; flex: 1; min-height: 0; background: var(--paper); }
.frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.work-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: var(--paper);
  color: var(--muted);
}
.work-loading[hidden] { display: none; }
.work-loading p { margin: 0; max-width: 32em; font-size: 15px; line-height: 1.55; }
.work-loading.is-error p { color: var(--red-ink); }
.work-loading.is-error .spinner { display: none; }
.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  max-width: min(92vw, 560px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #f5f5f7;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .hero, .formats, .band, .steps, .platforms, .grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .note { padding: 28px 22px; }
  .bar { padding: 0 16px; height: 64px; }
  .nav > a:not(.solid) { display: none; }
  .hero { padding-top: 32px; gap: 20px; }
  .fox { width: min(78vw, 320px); }
  .band .actions { justify-content: flex-start; }
  .site-foot { align-items: flex-start; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .bullets, .related-grid { grid-template-columns: 1fr; }
  dialog.work { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .work-bar { padding-left: 14px; }
}
