:root { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #24282b; background: #fff; --orange: #fe6238; --line: #e4e8eb; --muted: #606b73; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; font-size: 16px; line-height: 1.85; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .intro-title { text-wrap: balance; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, .viewer-body:focus-visible { outline: 2px solid #197c76; outline-offset: 4px; }
::selection { background: #fe62382b; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 8px 16px; background: #fff; }
.skip-link:focus { top: 8px; }
.guide-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(1280px, calc(100% - 80px)); min-height: 80px; margin: auto; display: flex; align-items: center; gap: 24px; }
.guide-brand { flex-shrink: 0; width: 148px; }
.guide-brand img { width: 148px; height: 34px; object-fit: cover; }
.header-label { padding-left: 24px; border-left: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--muted); }
.header-actions { display: flex; margin-left: auto; gap: 26px; align-items: center; }
.language-toggle, .theme-switcher, .zoom-toggle { display: flex; padding: 3px; gap: 2px; border-radius: 6px; background: #edf1ee; }
.language-toggle button, .theme-switcher button, .zoom-toggle button { border: 0; background: transparent; border-radius: 4px; min-height: 32px; padding: 0 12px; font-size: 12px; }
.language-toggle button[aria-pressed="true"] { background: #252a28; color: #fff; }
.back-link { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 12px; }
.guide-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 64px; width: min(1280px, calc(100% - 80px)); margin: auto; }
.guide-sidebar { position: sticky; top: 112px; align-self: start; padding-top: 32px; padding-right: 16px; border-right: 1px solid var(--line); max-height: calc(100dvh - 128px); overflow-y: auto; scrollbar-width: thin; }
.sidebar-label { color: #68747d; font-size: 11px; font-weight: 650; margin-bottom: 22px; }
.guide-sidebar nav { display: grid; gap: 6px; }
.guide-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 12px; border-left: 2px solid transparent; text-decoration: none; color: #626d76; font-size: 13px; transition: color .18s, background .18s; }
.guide-sidebar nav a > span:first-child { color: #8c98a0; font: 10px/24px monospace; }
.guide-sidebar nav a:hover { background: #f4f6f7; color: #24282b; }
.guide-sidebar nav a[aria-current="location"] { color: #fff; border-color: var(--orange); background: var(--orange); font-weight: 650; }
.guide-sidebar nav a[aria-current="location"] > span:first-child { color: #fff; }
.sidebar-foot { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.edition { font: 10px/1.5 monospace; color: #8b948f; }
.sidebar-foot p { margin-top: 10px; max-width: 150px; font-size: 14px; color: #55645c; }
.mobile-chapters { display: none; }
.guide-content { min-width: 0; }
.guide-section { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 8px; }
.overview { padding-top: 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; color: #b74423; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; flex-shrink: 0; background: var(--orange); }
h1 { font-size: 64px; line-height: 1.2; font-weight: 750; }
h1 strong { display: inline-block; color: var(--orange); font-size: 1.2em; text-shadow: 1px 1px #f45a2e, 2px 2px #ed542a, 3px 3px #e65025, 4px 6px 8px #94341420; }
h1 > span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: #4c5961; }
html[lang="zh-CN"] h1 > span { font-family: inherit; font-style: normal; font-weight: 400; }
.intro-title { font-size: 28px; line-height: 1.4; margin-top: 24px; font-weight: 600; }
.intro-description { max-width: 660px; margin-top: 12px; color: var(--muted); font-size: 16px; }
.guide-cover { position: relative; isolation: isolate; overflow: hidden; background: #fdfcfb; border-bottom: 1px solid var(--line); }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: calc(50% + 300px) center; z-index: -1; }
.cover-inner { width: min(1280px, calc(100% - 80px)); min-height: 440px; margin: auto; display: flex; align-items: center; padding-block: 48px; }
.cover-copy { width: 620px; max-width: 100%; }
.cover-copy h1 { white-space: nowrap; }
.cover-copy .eyebrow { margin-bottom: 20px; }
.cover-copy .intro-title { max-width: 540px; font-size: 30px; font-weight: 600; }
.start-guide { display: inline-flex; align-items: center; gap: 36px; margin-top: 28px; padding: 10px 18px; min-height: 48px; border-radius: 6px; background: var(--orange); color: #fff; font-weight: 650; font-size: 14px; text-decoration: none; transition: background .2s, box-shadow .2s; }
.start-guide:hover { background: #ff754f; box-shadow: 0 6px 16px #fe623824; }
.start-guide img { filter: brightness(0) invert(1); transition: transform .2s; }.start-guide:hover img { transform: translateY(3px); }
.guide-figure { margin: 32px 0; min-width: 0; }
.figure-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 40px; }
.figure-label { font-size: 12px; font-weight: 600; color: #5e6b74; margin-right: auto; }
.theme-switcher button { display: flex; align-items: center; gap: 7px; }
.theme-switcher button[aria-pressed="true"], .zoom-toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px #20382b12; }
.swatch { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #b4beb8; }
.swatch.light { background: #fff; }.swatch.dark { background: #242528; border-color: #242528; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.icon-button:hover { background: #f1f5f2; }
.screenshot { width: 100%; height: auto; border: 1px solid #dce2e5; border-radius: 8px; box-shadow: 0 16px 32px -20px #27374635, 0 2px 6px #27374605; }
figcaption { font-size: 12px; line-height: 1.65; color: #737e87; margin-top: 14px; }
.concepts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 42px; }
.concepts > div { padding-top: 18px; border-top: 2px solid var(--orange); }
.concepts > div:nth-child(2) { border-color: #348bff; }
.concepts > div:nth-child(3) { border-color: #16b9a3; }
.concept-index { color: var(--orange); font: 600 32px/1.25 "Segoe UI", sans-serif; }.concept-index.blue { color: #348bff; }.concept-index.mint { color: #159b89; }
.concepts h3 { font-size: 16px; margin-top: 8px; }.concepts p { font-size: 14px; color: var(--muted); margin-top: 8px; }
h2 { font-size: 36px; line-height: 1.3; font-weight: 700; max-width: 720px; }
.section-lead { margin-top: 18px; color: var(--muted); max-width: 700px; }
.steps { padding: 0; margin: 26px 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 52px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: 6px; width: 1px; background: var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; display: grid; place-items: center; left: 0; top: 0; width: 32px; height: 32px; border: 1px solid #f6c5b7; border-radius: 50%; font: 11px/1 monospace; color: #b74423; }
.steps p { margin-top: 5px; color: var(--muted); }
.guide-note { border-left: 3px solid #21ac99; padding: 14px 20px; margin-top: 28px; background: #f5f9f8; }
.guide-note strong { font-size: 14px; }.guide-note p { color: var(--muted); font-size: 14px; margin-top: 7px; }
.create-focus { position: relative; width: min(100%, 520px); aspect-ratio: 664 / 762; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.create-focus img { position: absolute; max-width: none; width: 378.788%; height: auto; left: -139.394%; top: -55.696%; }
.example-prompt { margin: 18px 0 0; padding: 20px 24px; border-left: 3px solid var(--orange); background: #fff5ef; color: #4c555d; font-size: 15px; line-height: 1.9; }
.bot-walkthrough { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro visual" "prompt visual"; grid-template-rows: auto 1fr; gap: 28px 48px; align-items: start; }
.walkthrough-intro { grid-area: intro; }
.bot-walkthrough .guide-figure { grid-area: visual; margin: 0; }
.bot-walkthrough .figure-toolbar { margin-top: 0; }
.prompt-example { grid-area: prompt; font-size: 14px; color: var(--muted); }
.settings-list { margin: 26px 0 0; }.settings-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); }.settings-list dt { font-weight: 650; font-size: 14px; }.settings-list dd { margin: 0; color: var(--muted); font-size: 14px; }
.guide-faq { margin-top: 30px; }.guide-faq details { border-top: 1px solid var(--line); padding: 18px 0; }.guide-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }.guide-faq p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.guide-footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 48px 0; border-top: 4px solid var(--orange); }.guide-footer h2 { font-size: 28px; }.footer-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 2px solid var(--orange); font-size: 13px; white-space: nowrap; text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); background: #fafcfb; }
.site-footer-inner { width: min(1280px, calc(100% - 80px)); margin: auto; min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #b74423; }
.footer-brand { font-size: 22px; font-weight: 750; }.footer-brand strong { color: var(--orange); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 12px; }
.footer-note { font-size: 11px; color: #738078; }
@media (max-width: 800px) { .site-footer-inner { width: calc(100% - 40px); gap: 14px 24px; }.footer-note { width: 100%; } }
#guide-image-dialog { width: min(96vw, 1920px); max-width: none; max-height: 96dvh; padding: 0; border: 1px solid #d7ded8; border-radius: 8px; background: #fff; color: #252a28; }
#guide-image-dialog::backdrop { background: #17201bd9; }.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; min-height: 60px; font-size: 12px; }.viewer-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }.viewer-body { overflow: auto; max-height: calc(96dvh - 72px); padding: 0 12px 12px; }.viewer-body img { display: block; width: 100%; height: auto; max-height: calc(96dvh - 84px); object-fit: contain; }.viewer-body[data-actual="true"] img { width: auto; max-width: none; max-height: none; }
html:has(#guide-image-dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) { .guide-layout { gap: 36px; grid-template-columns: 180px minmax(0,1fr); }.header-label { display: none; }h1 { font-size: 38px; }.concepts { gap: 18px; } }
@media (max-width: 800px) { html { scroll-padding-top: 148px; }.header-inner { min-height: 72px; width: calc(100% - 40px); gap: 12px; }.header-actions { gap: 16px; }.guide-brand, .guide-brand img { width: 128px; }.guide-brand img { height: 30px; }.back-link span { display: none; }.guide-layout { display: block; width: calc(100% - 40px); }.guide-sidebar { display: none; }.mobile-chapters { display: flex; position: sticky; top: 72px; z-index: 10; align-items: center; gap: 16px; min-height: 56px; background: #fff; border-bottom: 1px solid var(--line); }.mobile-chapters label { color: var(--muted); font-size: 12px; }.mobile-chapters select { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; background: #fff; }.overview { padding-top: 32px; }h1 { font-size: 34px; }.intro-title { font-size: 22px; }.guide-section { padding-bottom: 36px; padding-top: 36px; }h2 { font-size: 26px; }.guide-footer { flex-direction: column; align-items: start; } }
@media (max-width: 500px) { body { font-size: 14px; }.intro-description { font-size: 14px; }.concepts { grid-template-columns: 1fr; gap: 18px; }.concepts > div { position: relative; padding-left: 32px; }.concept-index { position: absolute; top: 4px; left: 0; }.concepts h3 { margin-top: 0; }.concepts p { margin-top: 4px; }.settings-list > div { grid-template-columns: 1fr; gap: 6px; }.figure-toolbar { flex-wrap: wrap; gap: 8px; }#home-figure .figure-label { width: 100%; }.theme-switcher { margin-right: auto; }.example-prompt { padding: 16px; }.viewer-header { padding: 10px; gap: 8px; }.viewer-actions { gap: 8px; }#viewer-title { max-width: 130px; }.zoom-toggle button { padding: 0 8px; } }
@media (max-width: 360px) { h1 { font-size: 30px; }.header-actions { gap: 10px; }.guide-brand, .guide-brand img { width: 116px; } }
@media (max-width: 1100px) { .bot-walkthrough { grid-template-columns: 1fr; grid-template-areas: "intro" "visual" "prompt"; grid-template-rows: auto; gap: 28px; }.bot-walkthrough .guide-figure { max-width: 440px; width: 100%; margin-inline: auto; } }
@media (max-width: 800px) { .guide-section { padding-block: 40px; }.overview { padding-top: 32px; }.concepts > div { padding-top: 16px; }.concept-index { top: 20px; }.guide-figure { margin-block: 26px; } }
@media (max-width: 800px) { .back-link { width: 44px; height: 44px; justify-content: center; }.language-toggle button, .theme-switcher button { min-height: 38px; }.icon-button { width: 44px; height: 44px; } }
@media (max-width: 1100px) { .cover-copy { width: 520px; }.cover-copy h1 { font-size: 50px; }.cover-copy .intro-title { max-width: 420px; font-size: 26px; }.cover-art { object-position: calc(50% + 250px) center; } }
@media (max-width: 800px) {
  .cover-inner { width: calc(100% - 40px); min-height: 0; padding: 28px 0 200px; }
  .cover-copy { width: 100%; }
  .cover-copy h1 { font-size: 38px; }
  .cover-copy .intro-title { font-size: 22px; max-width: 430px; margin-top: 16px; }
  .cover-copy .eyebrow { margin-bottom: 12px; }
  .cover-art { inset: auto 0 0; height: 220px; object-position: calc(50% - 50px) bottom; }
  .start-guide { min-height: 44px; margin-top: 20px; padding: 8px 16px; }
  .guide-footer h2 { font-size: 24px; }
}
@media (max-width: 500px) { .concepts > div { padding-left: 52px; }.concept-index { font-size: 26px; top: 18px; }.cover-copy h1 > span { display: block; font-size: 28px; margin-top: 4px; }.cover-art { height: 200px; object-position: calc(50% - 35px) bottom; } }
@media (max-width: 360px) { .cover-copy h1 { font-size: 34px; }.cover-copy .intro-title { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.start-guide, .start-guide img { transition: none; } }
