
.guide-shell{--guide-paper:var(--bg-card,#fff);--guide-line:var(--border,#e2e8f0);--guide-muted:var(--text-secondary,#475569);--guide-tint:var(--bg-hover,#f1f5f9);--guide-action:#2563eb;--guide-on-action:#fff;--guide-action-hover:#1d4ed8;--guide-action-pressed:#1e40af;--guide-scroll:#b6c2d2;--guide-scroll-hover:#7b8da5;max-width:1200px;margin:0 auto;padding:28px 20px 64px;display:grid;grid-template-columns:208px minmax(0,1fr);gap:32px;align-items:start;color:var(--text-primary)}
.guide-side{position:sticky;top:84px;max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;padding:0 12px 4px 0;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--guide-scroll) transparent}
.guide-side:hover,.guide-side:focus-within{scrollbar-color:var(--guide-scroll-hover) transparent}
.guide-side::-webkit-scrollbar{width:6px}
.guide-side::-webkit-scrollbar-track{background:transparent}
.guide-side::-webkit-scrollbar-thumb{background:var(--guide-scroll);border-radius:99px}
.guide-side::-webkit-scrollbar-thumb:hover{background:var(--guide-scroll-hover)}
.guide-nav-group{margin-bottom:16px}.guide-nav-group p{font-size:12px;font-weight:700;letter-spacing:.025em;margin:0 0 5px;color:var(--guide-muted)}
.guide-nav-group a{display:block;font-size:13px;line-height:1.5;min-height:32px;padding:6px 8px;color:var(--guide-muted);text-decoration:none;border-radius:5px}
.guide-shell .guide-nav-group p{font-size:12px;line-height:1.5}
.guide-nav-group a:hover,.guide-nav-group a.current{background:var(--guide-tint);color:var(--primary)}
.guide-main{min-width:0;background:var(--guide-paper);padding:32px 40px 0;border:1px solid var(--guide-line);border-radius:12px}
.guide-eyebrow{color:var(--guide-muted);font-size:12px;margin-bottom:10px}
.guide-heading h1{font-size:32px;line-height:1.3;letter-spacing:-.035em;font-weight:750;margin:0 0 16px}
.guide-heading>p:last-child{font-size:15px;color:var(--guide-muted);line-height:1.9;margin:0 0 24px}
.guide-start{border-top:1px solid var(--guide-line)}
.guide-start a{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--guide-line);color:inherit;text-decoration:none}
.guide-start a>span:first-child{flex:0 0 20px;white-space:nowrap}.guide-start a>div{min-width:0}.guide-start a>b{flex-shrink:0}
.guide-start a:hover strong{color:var(--primary)}.guide-start span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--guide-muted)}.guide-start strong{font-size:15px;font-weight:650}.guide-start small{display:block;color:var(--guide-muted);font-size:12px;margin-top:2px}.guide-start b{margin-left:auto;color:var(--primary);font-weight:400}
.guide-related{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:12px;padding:18px 0 28px;color:var(--guide-muted)}.guide-related a{min-height:32px;display:flex;align-items:center}
.guide-shell .doc-section{border:0;border-radius:0;box-shadow:none;background:none;padding:30px 0;margin:0;border-top:1px solid var(--guide-line);scroll-margin-top:84px}
.guide-shell .section-header{border:0;padding:0;margin:0 0 24px}.guide-shell .section-title{font-size:22px;font-weight:700;line-height:1.5;margin:0}
.guide-shell h3{font-size:16px;margin:24px 0 8px;color:var(--text-primary);font-weight:650}
.guide-shell p,.guide-shell li{font-size:14px;line-height:1.95}.guide-shell .doc-section p{margin:8px 0 14px}
.guide-shell .tip-block{background:var(--guide-tint);border:0;border-left:2px solid var(--guide-line);border-radius:0;padding:14px 18px;margin:20px 0;font-size:13px;color:var(--guide-muted)}
.guide-shell .tip-block p{font-size:13px;margin:4px 0}.guide-shell .tip-label{color:var(--text-primary);font-size:12px;margin-bottom:4px;letter-spacing:0}
.guide-shell .feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:14px 0}
.guide-shell .feature-card{display:block;border:0;border-radius:0;border-bottom:1px solid var(--guide-line);box-shadow:none;padding:14px 0;background:none;color:inherit;text-decoration:none;transform:none}
.guide-shell .fc-title{color:var(--text-primary);font-size:14px}.guide-shell .fc-desc{color:var(--guide-muted);font-size:13px}
.guide-fold{border:1px solid var(--guide-line);border-radius:7px;margin:12px 0;padding:0 16px}.guide-fold>summary{min-height:48px;cursor:pointer;font-size:14px;font-weight:600;display:list-item;padding:12px 0}.guide-fold[open]{padding-bottom:16px}
.guide-shell .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.guide-shell .shop-badge{background:var(--guide-tint);border:1px solid var(--guide-line);color:var(--guide-muted);font-size:12px;padding:8px;box-shadow:none}
.guide-shell .step-num{color:var(--guide-muted);background:var(--guide-tint);border-radius:4px;font-size:12px;min-width:24px;height:24px}
.guide-shell .tag{color:var(--text-primary);background:var(--guide-tint)}
.guide-shell .guide-actions{display:flex;flex-wrap:wrap;gap:10px}
.guide-shell a:focus-visible,.guide-shell summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.guide-shell pre,.guide-shell code{overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%}
.guide-shell a{overflow-wrap:anywhere}
.guide-mobile-nav{display:none}
[data-theme=dark] .guide-shell{--primary:#adc8ff;--guide-action:#91b5ff;--guide-on-action:#142139;--guide-action-hover:#acc7ff;--guide-action-pressed:#c3d7ff;--guide-scroll:#52647d;--guide-scroll-hover:#8196b1}
[data-theme=dark] .guide-shell .discord-banner,[data-theme=dark] .guide-shell .x-banner{background:var(--bg-hover);color:var(--text-primary)}
@media(max-width:1000px){.guide-shell{grid-template-columns:180px minmax(0,1fr);gap:24px}.guide-main{padding:26px 24px 0}.guide-related{gap:6px 16px}}
@media(max-width:760px){.guide-shell{display:block;padding:18px 12px 40px}.guide-side{display:none}.guide-main{padding:22px 18px 0}.guide-heading h1{font-size:26px}.guide-heading>p:last-child{font-size:14px}.desktop-break{display:none}.guide-mobile-nav{display:block;border-block:1px solid var(--guide-line);margin:20px 0}.guide-mobile-nav>summary{cursor:pointer;padding:12px 0;min-height:44px;font-size:14px;font-weight:650}.guide-mobile-nav nav{padding:12px 10px}.guide-mobile-nav a{min-height:44px;font-size:14px}.guide-start a{gap:12px;padding:16px 0}.guide-start strong{font-size:14px}.guide-start small{font-size:12px}.guide-related{display:block;padding:16px 0 24px}.guide-related span{display:block;margin-bottom:4px}.guide-related a{min-height:40px;font-size:13px}.guide-shell .feature-grid{grid-template-columns:minmax(0,1fr)}.guide-shell .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-shell .section-title{font-size:20px}.guide-shell .doc-section{padding:24px 0}.guide-shell .tip-block{padding:12px}.guide-shell li{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.guide-shell a{color:var(--primary)}
.guide-shell .guide-nav-group a,.guide-shell .guide-start a,.guide-shell .feature-card{color:inherit}
.guide-shell .guide-nav-group a.current,.guide-shell .guide-nav-group a:hover,.guide-shell .guide-start a:hover strong{color:var(--primary)}
.guide-shell .doc-section svg[fill="#fff"]{fill:currentColor}
.guide-shell .doc-cta a{background:var(--guide-action);color:var(--guide-on-action);border:1px solid var(--guide-action);min-height:44px;line-height:1.6;transition:background-color .15s,color .15s,border-color .15s}
.guide-shell .doc-cta a:hover{background:var(--guide-action-hover);border-color:var(--guide-action-hover)}
.guide-shell .doc-cta a:active{background:var(--guide-action-pressed);border-color:var(--guide-action-pressed)}
.guide-shell .doc-cta a.is-ghost{color:var(--primary);background:transparent;border-color:var(--guide-line)}
.guide-shell .doc-cta a.is-ghost:hover,.guide-shell .doc-cta a.is-ghost:active{background:var(--guide-tint);border-color:var(--primary)}
.guide-shell .doc-cta a:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(pointer:coarse){.guide-shell .guide-nav-group a{min-height:44px;display:flex;align-items:center}}

.guide-code{min-width:0;margin:16px 0 24px;border:1px solid var(--guide-line);border-radius:8px;overflow:hidden;background:var(--guide-tint)}
.guide-code-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:4px 12px 4px 16px;border-bottom:1px solid var(--guide-line);font-size:12px;color:var(--guide-muted)}
.guide-copy{font:inherit;flex-shrink:0;min-height:44px;min-width:80px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--primary);cursor:pointer}
.guide-copy:hover{background:var(--guide-paper);border-color:var(--guide-line)}
.guide-copy:active{background:var(--guide-paper);border-color:var(--primary)}
.guide-shell .guide-code pre{margin:0;padding:18px 20px;overflow:auto;white-space:pre;overflow-wrap:normal;tab-size:2;scrollbar-width:thin;scrollbar-color:var(--guide-scroll) transparent}
.guide-shell .guide-code code{display:block;padding:0;border:0;background:transparent;color:var(--text-primary);font:13px/1.85 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;overflow-wrap:normal;max-width:none}
.guide-shell :not(pre)>code{padding:2px 5px;border:1px solid var(--guide-line);border-radius:4px;background:var(--guide-tint);font: .9em/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--text-primary);box-decoration-break:clone}
.guide-copy:focus-visible,.guide-code pre:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.guide-copy-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.guide-next{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin:20px 0 0;padding-top:12px;border-top:1px dashed var(--guide-line);font-size:13px}
.guide-next>span{font-size:12px;color:var(--guide-muted)}
.guide-next a{display:inline-flex;align-items:center;min-height:36px;text-decoration:none;text-underline-offset:4px}
.guide-next a:hover{text-decoration:underline}
.guide-shell .doc-section p a{text-underline-offset:3px;text-decoration-thickness:1px}
@media(max-width:760px){.guide-code-bar{padding-left:12px}.guide-shell .guide-code pre{padding:14px 12px}.guide-next{gap:0 16px}.guide-next>span{flex-basis:100%}.guide-next a{min-height:44px}}
[data-theme=dark] .guide-shell .tip-block{background:var(--guide-tint);border-left-color:var(--guide-line);color:var(--guide-muted)}
[data-theme=dark] .guide-shell .tip-block .tip-label{color:var(--text-primary)}

@media(max-width:760px){.guide-shell{padding:0 0 40px}.guide-main{border:0;border-radius:0;padding:24px 16px 0}.guide-shell #open-api .step-list li{display:block;padding-left:36px;position:relative}.guide-shell #open-api .step-list .step-num{position:absolute;left:0;top:12px}.guide-shell #open-api .step-list li>strong:first-of-type{white-space:nowrap}}
