:root{--site-header-height: 68px;scrollbar-gutter:stable}html :is(.site-header,.miku-header){height:var(--site-header-height);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding-inline:clamp(16px,4vw,64px)}html :is(.wordmark,.miku-wordmark){display:inline-flex;align-items:center;gap:10px;font:800 12px/18px var(--mono, "Cascadia Code", Consolas, monospace);white-space:nowrap}html :is(.wordmark-mark,.miku-wordmark>b){flex:none;width:38px;height:38px;font-size:10px;line-height:1}html :is(.site-nav,.miku-nav){display:flex;align-items:center;gap:clamp(14px,2vw,34px);font:600 12px/18px var(--mono, "Cascadia Code", Consolas, monospace)}html :is(.site-nav,.miku-nav)>a{padding:0;font:inherit;letter-spacing:0;white-space:nowrap}html :is(.header-tools,.miku-tools){justify-self:end;display:flex;align-items:center;gap:8px}html :is(.site-header,.miku-header) :is(.icon-button,.square-button){flex:none;width:40px;height:40px;padding:0;border-radius:50%;font-size:16px;line-height:1}html .header-tools{position:relative}.theme-control{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px}.theme-menu{position:absolute;z-index:3;top:calc(100% + 10px);right:0;width:112px;max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--line, #38433c);border-radius:12px;background:var(--ink-soft, var(--bg-soft, #13171b));color:var(--paper, var(--fg, #edf4ee));box-shadow:0 10px 26px #0003}.theme-menu[hidden]{display:none}.theme-option{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:8px;border:0;border-radius:7px;background:transparent;color:inherit;font:600 13px/20px var(--sans, sans-serif);text-align:left;cursor:pointer}.theme-option:is(:hover,:focus-visible){outline:none;background:var(--line, #38433c)}.theme-option[aria-checked=true]{background:color-mix(in srgb,currentColor 10%,transparent)}.theme-option[aria-checked=true]:after{content:"✓";margin-left:auto}.theme-option__icon{display:grid;place-items:center;flex:none;width:20px;height:20px;font-size:20px;font-weight:400}.theme-option__icon--prism{width:16px;height:16px;margin-inline:2px;border-radius:50%;background:conic-gradient(from 35deg,#c7acf3,#96d7e3,#edb2ce,#c7acf3)}html[data-theme=light] .theme-menu{background:#fff;color:#213d3e;border-color:#2354514d}html[data-theme=prism] .theme-menu{background:#2a1d38;color:#fbf8ff;border-color:#dfc2e559}html :is(.site-header,.miku-header) .theme-cycle{position:relative;display:grid;place-items:center;isolation:isolate}.theme-cycle__orb{position:absolute;width:18px;height:18px;border-radius:50%;background:transparent;box-shadow:inset -6px -2px 0 currentColor;transform:rotate(-25deg);pointer-events:none;transition:width .35s ease,height .35s ease,transform .4s ease,box-shadow .35s ease}.theme-cycle__rays{position:absolute;width:28px;height:28px;opacity:0;transform:scale(.65) rotate(-35deg);pointer-events:none;transition:opacity .3s ease,transform .4s ease}.theme-cycle[data-theme=light] .theme-cycle__orb{width:10px;height:10px;background:currentColor;box-shadow:none;transform:rotate(0)}.theme-cycle[data-theme=light] .theme-cycle__rays{opacity:1;transform:scale(1) rotate(0)}.theme-cycle[data-theme=prism] .theme-cycle__orb{background:conic-gradient(from 35deg,#c7acf3,#96d7e3,#edb2ce,#c7acf3);box-shadow:inset -2px -3px 5px #39285755,0 0 12px #c7acf355;transform:rotate(135deg)}.theme-cycle:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media (prefers-reduced-motion: reduce){.theme-cycle__orb,.theme-cycle__rays{transition:none}}.auto-browse-control{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px}html .auto-browse-toggle{display:grid;place-items:center}.auto-browse-toggle svg{display:block;width:18px;height:18px;margin:0}.auto-browse-toggle[aria-pressed=true]{color:#0b100f;background:var(--visual-green, #c6ff55);border-color:var(--visual-green, #c6ff55)}.auto-browse-menu{position:absolute;z-index:2;top:calc(100% + 10px);right:0;width:112px;padding:4px;border:1px solid var(--line, #38433c);border-radius:10px;background:var(--ink-soft, #13171b);color:var(--paper, #f2f0e9);box-shadow:0 10px 26px #0003}.auto-browse-menu[hidden]{display:none}.auto-browse-speeds{display:grid;grid-template-columns:1fr}.auto-browse-speeds button{display:block;height:36px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:inherit;font:600 13px/18px var(--sans, sans-serif);text-align:left;cursor:pointer}.auto-browse-speeds button:hover,.auto-browse-speeds button:focus-visible{background:var(--line, #38433c)}.auto-browse-speeds button[aria-checked=true]{background:var(--visual-green, #c6ff55);color:#0b100f}html.is-auto-browsing{scroll-behavior:auto}html .miku-hero{margin-top:var(--site-header-height)}@media (max-width: 1040px){:root{--site-header-height: 64px}html :is(.site-header,.miku-header){grid-template-columns:minmax(0,1fr) auto}html :is(.site-nav,.miku-nav){position:absolute;top:var(--site-header-height);left:0;right:0;display:none;align-items:stretch;gap:0;padding:18px 24px}html :is(.site-nav,.miku-nav).is-open{display:grid}html :is(.site-nav,.miku-nav)>a{min-height:47px;padding:14px 0}html :is(.menu-button,.miku-menu-button){display:inline-block}}@media (max-width: 520px){html .wordmark>span:last-child,html .miku-wordmark>span{display:none}}:root{--type-heading: STXingkai, "华文行楷", STKaiti, KaiTi, "Kaiti SC", "Songti SC", Georgia, serif;--type-copy: FangSong, STFangsong, "Songti SC", "Noto Serif CJK SC", SimSun, Georgia, serif;--type-accent-a: #71d6bd;--type-accent-b: #eaa9c2;--type-accent-c: #a6d8e8}html[data-theme=light]{--type-accent-a: #226d66;--type-accent-b: #9c4768;--type-accent-c: #426d8a}html[data-theme=prism]{--type-accent-a: #a780d1;--type-accent-b: #d78aae;--type-accent-c: #8fbcd5}body.page-tutorial{--type-accent-a: #18594f;--type-accent-b: #834456;--type-accent-c: #375f73}html[data-theme=light] body.page-tutorial{--type-accent-a: #206a60;--type-accent-b: #91445d;--type-accent-c: #416c82}html[data-theme=prism] body.page-tutorial{--type-accent-a: #664280;--type-accent-b: #874267;--type-accent-c: #435f7d}body :is(h1,h2){font-family:var(--type-heading)!important;letter-spacing:0;overflow-wrap:anywhere;text-wrap:balance}body :is(p,li,blockquote,dd){font-family:var(--type-copy)}body :is(.identity-strip dd,.archive-stats dt,.project-main strong,.directory-row strong,.resource-primary strong){font-family:var(--type-heading);text-shadow:0 2px 12px color-mix(in srgb,currentColor 24%,transparent)}body .archive-stats div:nth-child(3n+1) dt{color:color-mix(in srgb,currentColor 76%,var(--type-accent-a))}body .archive-stats div:nth-child(3n+2) dt{color:color-mix(in srgb,currentColor 76%,var(--type-accent-b))}body .archive-stats div:nth-child(3n+3) dt{color:color-mix(in srgb,currentColor 76%,var(--type-accent-c))}@keyframes type-ink-flow{to{background-position:100% 0}}@supports (-webkit-background-clip: text){body :is(h1,h2):not(:has(>span)):not(:has(code)):not(.articles-sr-only),body .hero h1 .hero-line:last-child,body .archive-scene h2>span{background-image:linear-gradient(105deg,color-mix(in srgb,currentColor 85%,var(--type-accent-a)),color-mix(in srgb,currentColor 74%,var(--type-accent-b)) 37%,color-mix(in srgb,currentColor 79%,var(--type-accent-c)) 72%,color-mix(in srgb,currentColor 85%,var(--type-accent-a)));background-size:240% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:type-ink-flow 16s ease-in-out infinite alternate;text-shadow:0 3px 14px color-mix(in srgb,currentColor 16%,transparent)}body .hero-title-accent{-webkit-text-fill-color:currentColor}}@media (prefers-reduced-motion: reduce){body :is(h1,h2):not(:has(>span)):not(:has(code)):not(.articles-sr-only),body .hero h1 .hero-line:last-child,body .archive-scene h2>span{animation:none}}@media (max-width: 700px){body .hero h1 .hero-line{white-space:normal}}.page-tutorial .main{min-width:0}.page-profile .tool-mark{object-fit:contain;image-rendering:auto;background:transparent;border:0;box-shadow:none}@media (max-width: 1040px){html{scroll-padding-top:calc(var(--site-header-height, 64px) + 12px)}html body{min-width:0}html :is(.site-nav,.miku-nav).is-open{max-height:calc(100dvh - var(--site-header-height, 64px));overflow-y:auto;overscroll-behavior:contain}:is(.section-shell,.miku-shell,.archive-scene__inner)>*{min-width:0}:is(.directory-row,.directory-card,.profile-block,.skill-column,.track-entry__name){min-width:0;overflow-wrap:anywhere}.page-profile .profile-terminal{flex-wrap:wrap;gap:.45rem .7rem}.page-profile .profile-terminal-output{white-space:normal;overflow-wrap:anywhere}.page-profile .profile-offscreen :is(.ambient-slot--guitar,.ambient-object--guitar){grid-column:2;grid-row:1 / span 2;height:360px}html :is(.site-footer,.miku-footer){grid-template-columns:minmax(0,1fr) auto}html :is(.site-footer,.miku-footer)>span:nth-child(2){display:block;grid-column:1 / -1;grid-row:2;font-size:.68rem;line-height:1.7;overflow-wrap:anywhere}html :is(.site-footer,.miku-footer)>a{grid-column:2;grid-row:1}}@media (max-width: 700px){:is(.section-shell,.miku-shell,.archive-scene__inner){max-width:calc(100% - 2rem)}:is(.hero-lead,.profile-block p,.skill-column p,.directory-row small){overflow-wrap:anywhere}html .work-band .section-heading h2{white-space:normal}.page-profile .skill-column h3{font-size:1.18rem;line-height:1.5;overflow-wrap:anywhere}.page-profile .profile-offscreen :is(.ambient-slot--guitar,.ambient-object--guitar){grid-column:1;grid-row:2;height:340px}.page-other .directory-hero{display:block;min-height:0}.page-other .directory-hero .section-shell{padding-block:3.5rem 1rem}.page-other .directory-hero>:is(.ambient-slot--nunchaku,.ambient-object--nunchaku){position:relative;inset:auto;width:min(calc(100% - 2rem),420px);height:280px;margin:0 auto 2rem;opacity:1}html .site-footer{grid-template-columns:minmax(0,1fr) auto;gap:.75rem 1rem;padding-inline:1rem}html .site-footer>span:nth-child(2){display:block;grid-column:1 / -1;grid-row:2;font-size:.68rem;line-height:1.7;overflow-wrap:anywhere}html .miku-footer{grid-template-columns:minmax(0,1fr) auto;gap:.75rem 1rem;padding-inline:1rem}html .miku-footer>span:nth-child(2){display:block;grid-column:1 / -1;grid-row:2;font-size:.68rem;line-height:1.7}.miku-hero .hero-meta{flex-wrap:wrap;gap:.45rem 1rem}.miku-hero .hero-meta span:nth-child(2){display:block}.miku-vector{object-fit:contain;object-position:center}.listening-head{flex-wrap:wrap;gap:1rem}.page-articles{height:auto;overflow-y:auto}.page-articles .articles-console{height:auto;min-height:100svh;overflow:visible}.page-articles .articles-rig{max-height:none}.page-articles .article-monitor__head{height:clamp(360px,58svh,440px)}.page-articles .article-screen__topline{flex-wrap:wrap;gap:.35rem;padding-block:.4rem}.page-articles .article-scene{overflow-y:auto;justify-content:flex-start;overscroll-behavior:contain;touch-action:pan-y;padding:16px 18px}.page-articles .article-scene :is(h2,p,.article-scene__read){flex-shrink:0;max-width:100%}.page-articles .article-scene h2{font-size:clamp(1.45rem,6vw,2rem);margin-block:.7rem}.page-articles .article-scene__read{min-height:40px;margin-top:.75rem}.page-articles .article-screen__bottomline{flex-wrap:wrap;gap:.5rem 1rem;padding-block:.5rem}.page-articles .article-screen__steps{order:1;width:100%;justify-content:center}.page-articles .article-screen__steps button{width:32px;height:16px}.page-articles .article-screen__actions button{width:40px;height:40px}.history-home :is(.hero,.section,.profile-card,.card,.hero-copy){min-width:0}.history-home .hero{grid-template-columns:minmax(0,1fr);padding:1.25rem}.history-home .avatar-container{width:min(260px,100%);height:auto;aspect-ratio:1}.history-home :is(.meta,.stats){min-width:0;max-width:100%}.history-home .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.history-home :is(a,p,h1,h2,.brand){overflow-wrap:anywhere}.history-about :is(.container,.section-card,.hero,.hero-content,.skill-card){min-width:0}.history-about :is(a,p,h1,h2,.typed-wrap){overflow-wrap:anywhere}.history-about .skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 1040px){.page-tutorial :is(.main,.content){width:100%;min-width:0;max-width:100%;box-sizing:border-box}.page-tutorial .content{padding-inline:1rem}.page-tutorial :is(p,li,blockquote,td,th,.info,.warn,.tip,.content){overflow-wrap:anywhere}.page-tutorial table{display:block;width:100%;max-width:100%;overflow-x:auto}.page-tutorial pre{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.page-tutorial code{overflow-wrap:anywhere;white-space:normal}.page-tutorial pre code{overflow-wrap:normal;white-space:pre}.page-tutorial .diagram{max-width:100%;padding:1rem;overflow-x:auto}.page-tutorial .diagram svg{min-width:640px;max-width:none}.page-tutorial .sidebar{max-height:100dvh;overscroll-behavior:contain}}@media (max-height: 520px) and (max-width: 1040px){.page-articles{height:auto;overflow-y:auto}.page-articles .articles-console{height:auto;min-height:100svh;overflow:visible}.page-articles .articles-rig{max-height:none}.page-articles .article-monitor__head{height:360px;aspect-ratio:auto}.page-articles .article-scene{justify-content:flex-start;overflow-y:auto;padding:18px}.page-articles .article-scene :is(h2,p,.article-scene__read){flex-shrink:0;max-width:100%}.page-articles .article-scene h2{font-size:2rem}}@media (max-width: 520px){html :is(.site-header,.miku-header){padding-inline:12px}html :is(.wordmark,.miku-wordmark){min-width:0;gap:6px}html :is(.wordmark-mark,.miku-wordmark>b){width:32px;height:32px}html .wordmark>span:last-child,html .miku-wordmark>span{display:block;max-width:4.2rem;white-space:normal;font-size:10px;line-height:1.4}html :is(.header-tools,.miku-tools){gap:4px}.auto-browse-menu{max-height:calc(100dvh - 88px);overflow-y:auto}}
