::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}::view-transition-new(root){z-index:9999}::view-transition-old(root){z-index:1}.theme-transitioning,.theme-transitioning *,.theme-transitioning *::before,.theme-transitioning *::after{transition:background-color .42s ease,color .42s ease,border-color .42s ease,box-shadow .42s ease!important}.theme-control{position:relative;display:inline-flex}.theme-toggle{width:36px;height:36px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);display:grid;place-items:center;cursor:pointer}.theme-toggle svg{width:17px;height:17px}.theme-menu{position:absolute;z-index:260;top:calc(100% + 9px);right:0;width:190px;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 18px 50px rgba(15,23,42,.16);display:grid;gap:2px}.theme-menu[hidden]{display:none!important}.theme-option{width:100%;min-height:38px;border:0;border-radius:5px;padding:0 10px;background:transparent;color:var(--muted);display:grid;grid-template-columns:20px 1fr;align-items:center;gap:8px;text-align:left;cursor:pointer}.theme-option svg{width:16px;height:16px}.theme-option:hover{background:var(--blue-soft);color:var(--ink)}.theme-option.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.mobile-theme{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.mobile-theme>span{display:block;margin-bottom:10px;color:var(--muted);font-size:12px;font-weight:700}.mobile-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-theme-options .theme-option{border:1px solid var(--line);min-height:44px}.docs-actions{justify-self:end;display:flex;align-items:center;gap:8px}
html[data-theme=dark]{color-scheme:dark;--ink:#f2f5f7;--muted:#a5adb8;--line:#30353b;--blue:#5b9cf6;--blue-dark:#79adf7;--blue-soft:#182431;--mint:#35c89c;--orange:#f5b65c;--surface:#171a1d;--green:#36c792;--sidebar:#141719}html[data-theme=dark] body{background:#111315;color:var(--ink)}html[data-theme=dark] .site-header{background:rgba(17,19,21,.94);border-color:#2c3137;box-shadow:0 8px 28px rgba(0,0,0,.22)}html[data-theme=dark] .desktop-nav{color:#c4cad1}html[data-theme=dark] .header-ghost{border-color:#37577e}html[data-theme=dark] .menu-button,html[data-theme=dark] .mobile-nav{background:#15181b;color:var(--ink)}html[data-theme=dark] .hero{background:#151d25}html[data-theme=dark] .hero-status{color:#b7c0ca}html[data-theme=dark] .hero-meta,html[data-theme=dark] .hero-carousel-tabs button{color:#929daa}html[data-theme=dark] .hero-carousel-tabs button::before{background:#46515e}html[data-theme=dark] .intro,html[data-theme=dark] .scene,html[data-theme=dark] .download-center,html[data-theme=dark] .site-footer{background:#111315}html[data-theme=dark] .scene-resume{background:#161a1e}html[data-theme=dark] .scene-index{color:#46505b}html[data-theme=dark] .scene-install .scene-label{color:#f3b45b}html[data-theme=dark] .matrix{background:#151d25}html[data-theme=dark] .matrix-grid,html[data-theme=dark] .matrix-grid article{border-color:#35414d}html[data-theme=dark] .system-row>div{background:#181c20;border-color:#30363d}html[data-theme=dark] .system-row svg{color:#bac3cc}html[data-theme=dark] .site-footer{border-color:#2b3036}html[data-theme=dark] .custom-blocks,html[data-theme=dark] .custom-block{background:#111315}html[data-theme=dark] .custom-block{border-color:#2d3238}html[data-theme=dark] .custom-block:nth-child(even){background:#161a1e}html[data-theme=dark] .custom-block h2{color:var(--ink)}html[data-theme=dark] .custom-block-copy{color:var(--muted)}
html[data-theme=dark] .docs-header{background:rgba(17,19,21,.96)}html[data-theme=dark] .docs-search{background:#191d21;border-color:#333941;color:#9ba5b0}html[data-theme=dark] .docs-search:focus-within{background:#1b2025}html[data-theme=dark] .docs-search span,html[data-theme=dark] .icon-button{background:#191d21;border-color:#343a42}html[data-theme=dark] .home-link{color:#c1c8d0}html[data-theme=dark] .docs-sidebar{background:#141719}html[data-theme=dark] .nav-group a{color:#a8b1bc}html[data-theme=dark] .nav-group a:hover{background:#1b2025;color:var(--ink)}html[data-theme=dark] .nav-group a.active{background:#182431;color:var(--blue)}html[data-theme=dark] .article-body{color:#c9cfd6}html[data-theme=dark] .article-body blockquote{background:#182431;color:#b9cbe0}html[data-theme=dark] .article-body :not(pre)>code{background:#20262c;color:#bcd4ee}html[data-theme=dark] .article-body pre{background:#0d1013;border-color:#30363d}html[data-theme=dark] .article-toc nav a{border-color:#353b42;color:#99a3ae}html[data-theme=dark] .mobile-search{background:#111315}
.theme-toggle{position:relative;overflow:hidden;transition:transform .2s ease,border-color .2s ease,background-color .2s ease}.theme-toggle:hover{transform:translateY(-1px);border-color:var(--blue)}.theme-toggle svg{transition:transform .28s ease}.theme-toggle:hover svg{transform:rotate(14deg)}.theme-toggle.is-switching{animation:theme-button-pulse .58s cubic-bezier(.22,.8,.2,1)}.theme-toggle.is-switching svg{animation:theme-icon-orbit .58s cubic-bezier(.2,.85,.2,1)}@keyframes theme-icon-orbit{0%{opacity:0;transform:rotate(-150deg) scale(.2)}55%{opacity:1;transform:rotate(16deg) scale(1.22)}100%{opacity:1;transform:rotate(0) scale(1)}}@keyframes theme-button-pulse{0%,100%{box-shadow:0 0 0 0 rgba(40,120,240,0)}45%{box-shadow:0 0 0 8px rgba(40,120,240,.14)}}@media(max-width:980px){.header-inner{grid-template-columns:1fr auto auto;gap:8px}.header-actions{justify-self:end;display:flex}.header-actions>:not(.theme-control){display:none}.header-actions .theme-control{display:inline-flex}.header-actions .theme-toggle{width:40px;height:40px}.menu-button{justify-self:end}}@media(max-width:760px){.docs-actions{gap:5px}.docs-actions .theme-toggle{width:38px;height:38px}}@media(prefers-reduced-motion:reduce){::view-transition-group(root){animation-duration:.01ms!important}.theme-transitioning,.theme-transitioning *{transition:none!important}.theme-toggle.is-switching,.theme-toggle.is-switching svg{animation:none!important}}
