.guide-body { --guide-blue: #2f80ed; --guide-green: #29b879; --guide-purple: #786be9; }
.site-header .nav-links a.is-current { color: var(--blue-strong); font-weight: 800; }
.guide-main { padding-bottom: 80px; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 80px; align-items: center; min-height: 540px; padding: 86px 0 70px; }
.guide-hero-copy h1 { max-width: 680px; margin: 26px 0 21px; color: var(--ink); font-size: clamp(48px, 6vw, 76px); line-height: 1.08; letter-spacing: -.075em; }
.guide-hero-copy h1 span { color: var(--guide-blue); }
.guide-hero-copy > p { max-width: 600px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.guide-hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.guide-hero-summary { position: relative; padding: 29px 32px 25px; border: 1px solid #cfe1f8; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(241,247,255,.78)); box-shadow: var(--shadow); }
.summary-kicker, .guide-progress span, .step-label { color: #7895b8; font: 700 10px var(--mono); letter-spacing: .11em; }
.summary-kicker { margin-bottom: 25px; }
.summary-route { display: flex; gap: 14px; align-items: center; }
.summary-node { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; color: #fff; font: 800 13px var(--mono); box-shadow: 0 9px 20px rgba(47,128,237,.2); }
.summary-node-blue { background: linear-gradient(135deg, #5b9cff, #2f80ed); }
.summary-node-green { background: linear-gradient(135deg, #5dcf9e, #20a971); box-shadow: 0 9px 20px rgba(41,184,121,.18); }
.summary-node-purple { background: linear-gradient(135deg, #9e94ff, #7363df); box-shadow: 0 9px 20px rgba(120,107,233,.18); }
.summary-route b, .summary-route small { display: block; }
.summary-route b { color: var(--ink); font-size: 15px; }
.summary-route small { color: var(--muted); font-size: 12px; }
.summary-line { display: block; width: 1px; height: 22px; margin: 5px 0 5px 21px; background: linear-gradient(#b8d4f5, #d8e8fa); }
.summary-footer { display: flex; align-items: center; gap: 9px; margin-top: 26px; padding-top: 17px; border-top: 1px solid #dbe8f7; color: var(--ink-soft); font-size: 11px; }
.summary-footer .status-dot { width: 5px; height: 5px; }
.guide-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-sidebar { position: sticky; top: 106px; min-width: 0; }
.guide-progress { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid #d7e7f8; }
.guide-progress strong { color: var(--blue-strong); font: 700 13px var(--mono); }
.guide-progress strong em { font-style: normal; font-size: 22px; }
.guide-step-nav { display: grid; gap: 4px; padding: 13px 0 22px; }
.guide-step-nav a { display: grid; grid-template-columns: 29px 1fr; column-gap: 10px; padding: 10px 11px; border-radius: 13px; color: var(--muted); text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.guide-step-nav a:hover { background: rgba(255,255,255,.64); color: var(--blue-strong); transform: translateX(2px); }
.guide-step-nav a.is-active { background: #e1efff; color: var(--blue-strong); box-shadow: 0 8px 20px rgba(68,135,211,.08); }
.guide-step-nav a > span { grid-row: span 2; color: #92aac8; font: 700 10px/25px var(--mono); }
.guide-step-nav a.is-active > span { color: var(--blue); }
.guide-step-nav b { font-size: 13px; line-height: 1.4; }
.guide-step-nav small { color: #9aadc6; font-size: 10px; line-height: 1.45; }
.guide-sidebar-note { display: flex; gap: 10px; align-items: flex-start; padding: 15px 13px; border: 1px solid #d2e4f8; border-radius: 15px; background: rgba(255,255,255,.56); color: var(--muted); font-size: 10px; line-height: 1.65; }
.guide-sidebar-note p { margin: 0; }
.guide-sidebar-note b { color: var(--ink-soft); font-size: 11px; }
.guide-sidebar-note .security-dot { width: 22px; height: 22px; font-size: 11px; }
.guide-content { min-width: 0; }
.guide-section { scroll-margin-top: 110px; padding: 83px 0 0; }
.guide-section-first { padding-top: 0; }
.guide-section-last { padding-bottom: 40px; }
.guide-section + .guide-section { margin-top: 82px; border-top: 1px solid #d9e8f8; }
.guide-section-heading { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(250px, 1.1fr); gap: 40px; align-items: end; margin-bottom: 32px; }
.guide-section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(32px, 4vw, 47px); line-height: 1.15; letter-spacing: -.06em; }
.guide-section-heading > p { margin: 0 0 4px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.guide-section-heading .section-index { margin-bottom: 12px; }
.prepare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.prepare-item { min-height: 170px; padding: 21px; border: 1px solid #d7e7f8; border-radius: 18px; background: rgba(255,255,255,.72); }
.prepare-icon { display: grid; place-items: center; width: 31px; height: 25px; margin-bottom: 20px; border-radius: 8px; background: #e2f0ff; color: var(--blue); font: 700 10px var(--mono); }
.prepare-item h3 { margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.prepare-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.guide-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 17px; padding: 14px 16px; border: 1px solid #d6e7f8; border-radius: 14px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.guide-note p { margin: 0; }
.guide-note b { color: var(--ink); }
.guide-note-warning { background: rgba(255,250,235,.75); border-color: #f1dfb9; }
.guide-note-success { align-items: center; background: rgba(235,251,243,.78); border-color: #c8ecd9; }
.guide-note-success .inline-link { margin: 0 0 0 auto; white-space: nowrap; }
.guide-note-icon { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #ffecbd; color: #b97b00; font: 800 13px var(--mono); }
.guide-note-success .guide-note-icon { background: #d5f5e2; color: #179662; }
.provider-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; padding: 15px 17px; border: 1px solid #d7e7f8; border-radius: 17px; background: rgba(255,255,255,.65); }
.provider-strip > div { display: flex; gap: 11px; align-items: center; }
.provider-logo { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #fff; font: 800 16px var(--mono); }
.provider-logo-deepseek { background: #234e93; }
.provider-logo-qwen { background: #2fb889; }
.provider-strip b, .provider-strip small { display: block; }
.provider-strip b { color: var(--ink); font-size: 14px; }
.provider-strip small { color: var(--muted); font-size: 11px; }
.provider-link { color: var(--blue-strong); font-size: 12px; font-weight: 800; text-decoration: none; }
.provider-link:hover { color: #0d58be; }
.guide-steps { display: grid; gap: 15px; }
.guide-step-card { padding: 23px; border: 1px solid #d6e6f8; border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.step-card-head { display: flex; align-items: flex-start; gap: 12px; }
.step-number { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 10px; background: #e1efff; color: var(--blue); font: 800 13px var(--mono); }
.step-number-green { background: #ddf7e9; color: #159664; }
.step-number-purple { background: #ece9ff; color: #6959d4; }
.step-card-head .step-label { margin: 1px 0 4px; }
.step-card-head h3 { margin: 0; color: var(--ink); font-size: 19px; line-height: 1.35; letter-spacing: -.03em; }
.step-status { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: #edf5ff; color: #5e83ad; font: 600 10px var(--mono); white-space: nowrap; }
.step-status-green { background: #e8f8ef; color: #27936a; }
.step-status-purple { background: #eeecff; color: #6d60d0; }
.guide-step-card > p { margin: 14px 0 17px 43px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.guide-figure { position: relative; overflow: hidden; margin: 0; border: 1px solid #dbe8f7; border-radius: 14px; background: #f8fbff; }
.guide-figure img { width: 100%; max-height: 480px; object-fit: contain; object-position: top center; background: #f8fbff; }
.guide-figure figcaption { padding: 10px 13px; border-top: 1px solid #e1edf9; color: var(--muted); font-size: 11px; line-height: 1.55; }
.figure-zoom { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(20,42,76,.75); color: #fff; font: 700 10px var(--sans); cursor: pointer; opacity: .88; }
.figure-zoom:hover { background: var(--blue); opacity: 1; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-left: 43px; }
.copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0 43px; }
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; align-items: center; padding: 10px 11px; border: 1px solid #d8e7f7; border-radius: 12px; background: #f8fbff; }
.copy-field-wide { grid-column: 1 / -1; }
.copy-field > span { grid-column: 1 / -1; color: #7c9ab9; font: 700 10px var(--mono); letter-spacing: .05em; }
.copy-field code { min-width: 0; overflow-wrap: anywhere; color: var(--ink); font: 11px var(--mono); }
.copy-field button { border: 0; background: transparent; color: var(--blue-strong); font: 800 11px var(--sans); cursor: pointer; }
.copy-field button.is-copied { color: var(--green); }
.guide-callout { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; padding: 17px 19px; border: 1px solid #d8d2ff; border-radius: 16px; background: rgba(242,240,255,.68); }
.callout-icon { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 9px; background: #e7e3ff; color: var(--guide-purple); font-size: 20px; }
.guide-callout b, .guide-callout p { display: block; }
.guide-callout b { color: var(--ink); font-size: 13px; }
.guide-callout p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.standalone-step { margin-top: 0; }
.verify-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.verify-card { position: relative; min-height: 190px; padding: 21px; border: 1px solid #d7e7f8; border-radius: 18px; background: rgba(255,255,255,.72); }
.verify-number { color: #94abc7; font: 700 10px var(--mono); }
.verify-icon { float: right; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #e4f0ff; color: var(--blue); font: 800 16px var(--mono); }
.verify-card h3 { margin: 25px 0 6px; color: var(--ink); font-size: 17px; }
.verify-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.verify-state { display: inline-flex; margin-top: 17px; padding: 5px 8px; border-radius: 999px; background: #edf5ff; color: #5d82aa; font: 600 10px var(--mono); }
.verify-state-green { background: #e8f8ef; color: #27936a; }
.verify-state-purple { background: #eeecff; color: #6d60d0; }
.guide-faq-list { border-top: 1px solid #d8e7f7; }
.guide-faq-list details { border-bottom: 1px solid #d8e7f7; }
.guide-faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 3px; color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.guide-faq-list summary::-webkit-details-marker { display: none; }
.guide-faq-list summary span { color: var(--blue); font: 500 20px/1 var(--sans); transition: transform .2s ease; }
.guide-faq-list details[open] summary span { transform: rotate(45deg); }
.guide-faq-list details p { max-width: 720px; margin: -4px 28px 17px 3px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.guide-faq-list code { padding: 2px 5px; border-radius: 5px; background: #edf5ff; color: var(--blue-strong); font: 11px var(--mono); }
.image-viewer { width: min(1120px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 30px 80px rgba(15, 39, 73, .35); }
.image-viewer::backdrop { background: rgba(15, 33, 57, .68); backdrop-filter: blur(7px); }
.image-viewer-inner { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 18px; background: #fff; }
.image-viewer img { width: 100%; max-height: 82vh; object-fit: contain; background: #f7fbff; }
.image-viewer p { margin: 0; padding: 12px 17px; color: var(--ink-soft); background: #fff; font-size: 12px; }
.image-viewer-close { position: absolute; z-index: 1; top: 11px; right: 11px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(20,42,76,.76); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.image-viewer-close:hover { background: var(--blue); }

@media (max-width: 980px) {
  .guide-hero { grid-template-columns: 1fr; gap: 36px; min-height: auto; padding-top: 66px; }
  .guide-hero-summary { width: min(600px, 100%); }
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .guide-sidebar { position: sticky; top: 68px; z-index: 5; padding: 11px 0; border-bottom: 1px solid #d8e7f7; background: rgba(239,247,255,.9); backdrop-filter: blur(18px); }
  .guide-progress { border-bottom: 0; padding: 0 0 9px; }
  .guide-step-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0; scrollbar-width: none; }
  .guide-step-nav::-webkit-scrollbar { display: none; }
  .guide-step-nav a { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; padding: 8px 10px; }
  .guide-step-nav a > span { line-height: 1; }
  .guide-step-nav small { display: none; }
  .guide-sidebar-note { display: none; }
  .guide-section-heading { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 700px) {
  .guide-hero { padding: 55px 0 56px; }
  .guide-hero-copy h1 { font-size: clamp(42px, 12vw, 62px); }
  .guide-hero-actions { flex-direction: column; align-items: stretch; }
  .guide-hero-actions .button { width: 100%; }
  .guide-hero-summary { padding: 23px 20px; }
  .guide-section { padding-top: 58px; }
  .guide-section + .guide-section { margin-top: 58px; }
  .guide-section-heading h2 { font-size: 37px; }
  .prepare-grid, .verify-grid { grid-template-columns: 1fr; }
  .prepare-item { min-height: auto; }
  .provider-strip { align-items: flex-start; flex-direction: column; gap: 11px; }
  .guide-step-card { padding: 17px; border-radius: 17px; }
  .step-status { font-size: 9px; }
  .guide-step-card > p { margin-left: 0; }
  .figure-grid, .copy-grid { grid-template-columns: 1fr; margin-left: 0; }
  .copy-field-wide { grid-column: auto; }
  .guide-note-success { flex-wrap: wrap; }
  .guide-note-success .inline-link { width: 100%; margin-left: 33px; }
  .guide-figure img { max-height: 330px; }
  .image-viewer { width: calc(100% - 20px); }
}
