
:root{--docs-accent:#6f4cf5;--docs-text:#282637;--docs-muted:#676371;--docs-border:rgba(52,47,75,.1);--docs-bg:#f7f8fc}
*{box-sizing:border-box}
body{margin:0;background:var(--docs-bg);color:var(--docs-text);font:15px/1.75 Arial,'PingFang SC','Hiragino Kaku Gothic ProN','Yu Gothic','Microsoft YaHei',sans-serif}
a{color:inherit;text-decoration:none}
.docs-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:0 22px;border-bottom:1px solid var(--docs-border);background:rgba(249,250,253,.94);backdrop-filter:blur(16px)}
.docs-brand{display:flex;align-items:center;gap:7px;font-size:19px;font-weight:700;color:#864cf2}
.docs-header-actions{display:flex;align-items:center;gap:10px}
.docs-action-btn{display:flex;align-items:center;justify-content:center;height:44px;min-width:84px;padding:0 14px;border-radius:10px;background:linear-gradient(100deg,#8f5df5 0%,#5b5df9 100%);box-shadow:0 8px 20px rgba(92,76,220,.16);color:#fff;font-size:15px;font-weight:600;white-space:nowrap;cursor:pointer;transition:transform 160ms cubic-bezier(.23,1,.32,1),box-shadow 160ms ease}
.docs-action-btn svg{width:16px;height:16px;margin-right:7px;flex-shrink:0}
.docs-action-btn:hover{box-shadow:0 10px 24px rgba(92,76,220,.24);transform:translateY(-1px)}
.docs-action-btn:active{transform:scale(.97)}
.docs-action-btn[aria-disabled='true']{cursor:wait;opacity:.58;pointer-events:none}
.docs-lang-switcher{position:relative;flex-shrink:0}
.docs-lang-switcher>button{width:44px;height:44px;padding:0;border:1px solid rgba(91,65,201,.16);border-radius:10px;background:rgba(255,255,255,.82);box-shadow:0 7px 18px rgba(74,58,143,.08);color:#6941dc;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform 140ms cubic-bezier(.23,1,.32,1),border-color 160ms ease,background-color 160ms ease}
.docs-lang-switcher>button:hover{border-color:rgba(91,65,201,.28);background:#f4f1ff}
.docs-lang-switcher>button:active{transform:scale(.97)}
.docs-lang-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:30;width:190px;padding:6px;border:1px solid rgba(81,62,162,.12);border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 18px 50px rgba(45,36,85,.16)}
.docs-lang-menu a{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 12px;border-radius:10px;color:#555264;font-size:14px;font-weight:600;border-bottom:none}
.docs-lang-menu a:hover{background:#f5f2ff;color:#6941dc}
.docs-lang-menu a.current{color:#6941dc}
.docs-lang-menu a strong{color:#6941dc;font-weight:700}
.docs-layout{display:flex;max-width:1180px;margin:0 auto;padding:0 22px;gap:40px;align-items:flex-start}
.docs-sidebar{width:250px;flex-shrink:0;position:sticky;top:84px;max-height:calc(100vh - 100px);overflow-y:auto;padding:26px 0 40px;font-size:14px}
.docs-sidebar a{display:block;padding:7px 12px;border-radius:8px;color:var(--docs-muted)}
.docs-sidebar a:hover{background:#f0edff;color:#6941dc}
.docs-sidebar a.current{background:#eeeaff;color:#6941dc;font-weight:600}
.docs-nav-group{margin-top:22px;padding-top:14px;border-top:1px solid var(--docs-border)}
.docs-nav-group-label{display:block;margin:2px 0 4px;padding:6px 12px;color:#3d3852;font-size:14px;font-weight:800;letter-spacing:.02em}
.docs-content-wrap{flex:1;min-width:0;display:flex;gap:36px;align-items:flex-start}
.docs-content{flex:1;min-width:0;padding:34px 0 70px}
.docs-content h2,.docs-content h3,.docs-content h4{scroll-margin-top:86px}
.docs-anchor{margin-left:8px;color:#b9b3c9;font-size:.8em;font-weight:400;border-bottom:none;opacity:0;transition:opacity .15s}
.docs-content h2:hover .docs-anchor,.docs-content h3:hover .docs-anchor,.docs-content h4:hover .docs-anchor{opacity:1}
.docs-anchor:hover{color:#6941dc}
.docs-toc{width:210px;flex-shrink:0;position:sticky;top:96px;max-height:calc(100vh - 120px);overflow-y:auto;padding:34px 0 40px 14px;border-left:2px solid var(--docs-border);font-size:13px}
.docs-toc-label{display:block;margin-bottom:6px;color:#9a95a8;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.docs-toc a{display:block;padding:4px 0;color:var(--docs-muted);border-bottom:none;line-height:1.5}
.docs-toc a:hover{color:#6941dc}
.docs-toc .docs-toc-level3{padding-left:12px;font-size:12px}
.docs-content h1{font-size:30px;line-height:1.3;margin:0 0 18px}
.docs-content h2{font-size:22px;line-height:1.4;margin:38px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--docs-border)}
.docs-content h3{font-size:18px;margin:28px 0 10px}
.docs-content p{margin:0 0 14px}
.docs-content ul,.docs-content ol{margin:0 0 16px;padding-left:24px}
.docs-content li{margin:4px 0}
.docs-content img{max-width:100%;height:auto;border-radius:10px;border:1px solid var(--docs-border);margin:6px 0}
.docs-content code{padding:2px 6px;border-radius:6px;background:#f0edff;color:#5b3dc9;font-size:.92em}
.docs-content pre{padding:14px 16px;border-radius:10px;background:#f4f2fb;overflow-x:auto}
.docs-content pre code{padding:0;background:none;color:inherit}
.docs-content table{border-collapse:collapse;width:100%;margin:0 0 18px;font-size:14px}
.docs-content th,.docs-content td{border:1px solid var(--docs-border);padding:8px 12px;text-align:left}
.docs-content th{background:#f0edff}
.docs-content a{color:#5536d7;border-bottom:1px solid rgba(85,54,215,.25)}
.docs-content a:hover{color:#6941dc}
.docs-admonition{margin:0 0 16px;padding:12px 16px;border-radius:10px;border-left:4px solid;background:#f6f6fb}
.docs-admonition .docs-admonition-title{margin:0 0 6px;font-weight:700}
.docs-admonition>:last-child{margin-bottom:0}
.docs-admonition--note{border-color:#4c6ef5;background:#eef2ff}
.docs-admonition--note .docs-admonition-title{color:#3b5bdb}
.docs-admonition--tip{border-color:#12b886;background:#e6fcf5}
.docs-admonition--tip .docs-admonition-title{color:#087f5b}
.docs-admonition--warning{border-color:#f59f00;background:#fff4e0}
.docs-admonition--warning .docs-admonition-title{color:#b0750a}
.docs-admonition--danger{border-color:#e8590c;background:#fff0eb}
.docs-admonition--danger .docs-admonition-title{color:#c9481b}
.docs-grid-cards ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;list-style:none;padding:0}
.docs-grid-cards li{padding:16px;border:1px solid var(--docs-border);border-radius:12px;background:#fff}
.docs-grid-cards li h3{margin:0 0 8px}
.docs-footer{display:flex;gap:18px;align-items:center;justify-content:center;padding:26px 22px;border-top:1px solid var(--docs-border);color:var(--docs-muted);font-size:13px}
.docs-footer a:hover{color:#6941dc}
@media (max-width:1100px){.docs-toc{display:none}}
@media (max-width:900px){.docs-layout{flex-direction:column;gap:0}.docs-sidebar{position:static;width:100%;max-height:none;padding:10px 0 0;border-bottom:1px solid var(--docs-border)}.docs-header{min-height:58px;padding:0 14px}.docs-action-btn{min-width:0;padding:0 10px;font-size:14px}.docs-action-btn svg{width:14px;height:14px;margin-right:5px}.docs-lang-switcher>button{width:40px;height:40px}}
