:root {
  --ink: #443b35;
  --muted: #786d63;
  --cream: #faf6f0;
  --paper: #fffdf9;
  --line: #e8dfd3;
  --accent: #a64f40;
  --gold: #957744;
  --serif: "STKaiti", "KaiTi", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.85 var(--sans); overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: 42px; line-height: 1.4; }
h2 { font-size: 27px; line-height: 1.5; }
h3 { font-size: 18px; margin: 20px 0 5px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 30; transform: translateY(-150%); padding: 9px 16px; background: var(--paper); border: 2px solid var(--accent); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fffdf9f5; border-bottom: 1px solid var(--line); padding: 13px max(20px, calc((100vw - 1100px)/2)); backdrop-filter: blur(12px); }
.brand { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.toplinks { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.toplinks a { white-space: nowrap; }
.button { display: inline-block; padding: 10px 21px; border-radius: 30px; background: var(--accent); color: white; text-decoration: none; font-weight: 600; text-align: center; }
.button:hover { background: #8f4235; }
.button-secondary { background: transparent; color: var(--accent); border: 1px solid #c9a998; }
.button-secondary:hover { background: #fff7ee; }
.hero { text-align: center; max-width: 850px; margin: auto; padding: 58px 24px 28px; }
.hero p { max-width: 650px; color: var(--muted); margin: 18px auto 25px; }
.hero .device { font-size: 14px; margin: 15px 0 0; }
.kicker { font-size: 13px; color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.wrap { max-width: 1020px; margin: auto; padding: 0 24px; }
.guide-index { max-width: 920px; }
.intro-section { margin: 6px 0 36px; }
.section-heading { margin: 0 0 22px; }
.section-heading h2 { margin-top: 4px; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.label { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.workflow { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 16px; background: #f4ede3; }
.workflow a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.workflow a:hover { color: var(--accent); }
.workflow a span { font-size: 11px; color: var(--gold); margin-right: 8px; }
.flow-arrow { color: #b9a995; }
.flow-note { font-size: 13px; text-align: center; color: var(--muted); margin-top: 12px; }
.qa-card { padding: 25px 28px; margin: 14px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 105px; }
.qa-question, .qa-answer { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.qa-question h3 { font-size: 18px; font-weight: 600; line-height: 1.65; margin: 0; padding-top: 1px; }
.qa-mark { display: grid; place-items: center; width: 28px; height: 29px; border-radius: 8px; color: var(--accent); background: #f3e5dc; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.qa-answer { margin-top: 11px; }
.answer-mark { color: #a18b74; font-family: Georgia, serif; font-size: 15px; text-align: center; }
.qa-answer p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.detail-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 13px; font-size: 14px; font-weight: 600; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }
.anchor-alias { display: block; height: 0; scroll-margin-top: 105px; }
.scene-hero { padding-bottom: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; font-size: 13px; color: var(--muted); padding: 10px 0 12px; }
.mobile-entry { background: #f2e8db; border: 1px solid #e4d5c2; border-radius: 14px; padding: 17px 21px; margin: 10px 0 26px; color: #765f43; font-size: 14px; scroll-margin-top: 105px; }
.mobile-entry strong { color: #654c37; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; margin: 22px 0; scroll-margin-top: 105px; }
.step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.number { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f0e1d5; color: var(--accent); font-size: 16px; font-weight: 700; }
.step p { margin: 9px 0; color: var(--muted); }
.step strong { color: var(--ink); }
.step ul, .step ol { padding-left: 24px; color: var(--muted); margin: 14px 0; }
.step li { margin: 8px 0; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.device-grid > div { padding: 16px 18px; border-radius: 12px; background: #f8f3ec; border: 1px solid #eee4d8; }
.device-grid h3 { margin: 0 0 6px; font-size: 15px; color: var(--accent); }
.device-grid p { margin: 0; font-size: 15px; }
.tip { font-size: 14px; border-left: 3px solid #bf9a68; background: #f7f0e5; padding: 11px 15px; margin: 18px 0; color: #765f43; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 700px; margin: 25px auto; }
.shots.single { max-width: 340px; grid-template-columns: 1fr; }
.shots.wide { max-width: none; grid-template-columns: 1fr; }
.shots img { border: 1px solid var(--line); border-radius: 12px; background: #f3eee8; width: 100%; }
.shots a { display: block; border-radius: 12px; }
.shots figcaption { color: var(--muted); font-size: 13px; text-align: center; margin: 9px 4px 0; line-height: 1.7; }
.related { border-top: 1px solid var(--line); margin-top: 38px; padding: 26px 4px 0; }
.related h2 { font-size: 23px; }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 12px; }
.related-links a { padding: 8px 0; font-size: 14px; }
.action-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta { text-align: center; padding: 32px 22px; margin: 38px 0 24px; background: #f2e7da; border-radius: 20px; }
.cta p { margin: 10px 0 20px; color: var(--muted); }
footer { text-align: center; padding: 25px 20px 40px; font-size: 13px; color: var(--muted); }
a:focus-visible { outline: 3px solid #a68754; outline-offset: 4px; }
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar { padding: 12px 15px; flex-wrap: wrap; gap: 8px 12px; }
  .brand { font-size: 14px; }
  .toplinks { gap: 12px; font-size: 12px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .toplinks .button { padding: 6px 12px; }
  .hero { padding: 36px 22px 20px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .kicker { font-size: 11px; letter-spacing: 2px; }
  .hero p { font-size: 14px; margin: 16px 0 22px; }
  .wrap { padding: 0 15px; }
  .workflow { gap: 8px; padding: 14px 10px; font-size: 14px; }
  .workflow a span { display: block; text-align: center; font-size: 10px; margin: 0; line-height: 1.5; }
  .flow-arrow { font-size: 12px; }
  .flow-note { padding: 0 6px; }
  .intro-section { margin-bottom: 28px; }
  .qa-card { padding: 20px 17px; margin: 12px 0; }
  .qa-question, .qa-answer { grid-template-columns: 25px minmax(0, 1fr); gap: 10px; }
  .qa-mark { width: 25px; height: 27px; }
  .qa-question h3 { font-size: 16px; }
  .qa-answer p { font-size: 14px; }
  .detail-link { margin-top: 12px; min-height: 30px; }
  .breadcrumb { font-size: 12px; line-height: 1.6; }
  .mobile-entry { padding: 15px 17px; }
  .step { padding: 22px 18px; border-radius: 16px; }
  .step-head { gap: 10px; align-items: flex-start; }
  .step-head h2 { font-size: 22px; }
  .number { width: 30px; height: 30px; font-size: 14px; margin-top: 2px; }
  .device-grid { grid-template-columns: 1fr; gap: 10px; }
  .device-grid > div { padding: 14px 15px; }
  .device-grid p { font-size: 14px; }
  .shots { gap: 12px; }
  .shots.single { max-width: 300px; }
  .shots figcaption { font-size: 12px; }
  .related-links { grid-template-columns: 1fr; gap: 2px; }
  .cta { padding: 28px 17px; }
  .cta p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
