@import url('./framework/motion.css');
:root{--page:#f6f7f9;--panel:#fcfcfd;--ink:#20252c;--muted:#68717d;--line:#e0e4e9;--accent:#2455dd;--soft:#edf1ff;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,#stage:focus-visible{outline:3px solid #3863e0;outline-offset:3px}button{border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;min-height:40px;padding:8px 15px}button:hover{background:#edf0f5}a{color:inherit}button.primary{background:var(--ink);color:#fcfcfd;border-color:var(--ink);min-width:90px}h1,h2,h3,h4,p{margin:0}.skip{position:fixed;top:-80px;z-index:100;background:var(--panel);padding:14px}.skip:focus{top:8px}.top{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 32px;gap:30px;background:var(--panel)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:700;font-size:18px}.brand-icon{font-size:34px;color:var(--accent)}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:500;margin-top:5px}.top-note{font-size:13px;color:var(--muted);margin-left:38px}.download{margin-left:auto;text-decoration:none;font-size:13px;border:1px solid var(--line);border-radius:7px;padding:11px 15px}.download span{margin-left:12px}.workspace{display:grid;grid-template-columns:220px minmax(0,1fr) 250px;min-height:calc(100vh - 88px);max-width:1920px;margin:auto}.library{padding:30px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:23px}.library-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.library h1{font-size:14px}.library-heading>span{font-size:11px;color:var(--muted);background:#e9ecf1;padding:3px 7px;border-radius:4px}.search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--panel)}.search span{font-size:19px;color:var(--muted)}.search input{min-width:0;width:100%;border:0;background:none;outline-offset:6px;font-size:12px;color:var(--ink)}#categories{display:grid;gap:5px}.category{border:none;background:transparent;text-align:left;display:flex;align-items:center;padding:11px 12px;font-size:12px;gap:11px;min-height:44px}.category .number{color:#8b95a1;font:11px ui-monospace,monospace}.category .count{margin-left:auto;font:10px ui-monospace,monospace;color:var(--muted)}.category.selected{background:var(--soft);color:var(--accent);font-weight:600}.category.selected .number{color:var(--accent)}.library-foot{margin-top:auto;padding:40px 10px 12px;font-size:11px;color:var(--muted)}.library-foot small{display:block;font-size:10px;padding-left:13px;margin-top:8px}.dot{display:inline-block;width:5px;height:5px;background:#329b72;border-radius:50%;margin-right:8px}.studio{padding:34px 34px 40px;min-width:0}.intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:24px}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:1px;margin-bottom:11px}.intro h2{font-size:30px;font-weight:650;letter-spacing:-.8px;margin-bottom:9px}.intro>div>p:last-child{font-size:12px;color:var(--muted);line-height:1.8}.engine-chip{border:1px solid var(--line);border-radius:5px;padding:7px 9px;font:10px ui-monospace,monospace;white-space:nowrap;margin-top:28px}.stage-shell{border-radius:13px;overflow:hidden;background:#11161e;border:1px solid #252b35;box-shadow:0 14px 36px -24px #34445e66}.stage-toolbar{height:47px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff10;padding:0 16px;color:#a7b1bf;background:#131923;font-size:10px}.stage-label{display:flex;align-items:center;gap:7px}.live-dot{width:5px;height:5px;border-radius:50%;background:#a8edcb}.viewport-switch{display:flex;margin-left:auto;background:#0b1017;border:1px solid #ffffff12;border-radius:5px;padding:2px}.viewport-switch button{border:0;background:none;color:#a7b1bf;border-radius:3px;padding:4px 11px;min-height:26px;font-size:10px}.viewport-switch button.selected{background:#293342;color:#f1f4f9}#fullscreen{min-height:28px;min-width:30px;padding:0;border:0;background:transparent;color:#c1cbd7;font-size:20px}.stage-wrap{display:flex;justify-content:center;height:420px;overflow:hidden;background:#080e16}#stage{width:100%;height:100%;position:relative;overflow:hidden;transition:width .25s;background:#0d141e}#stage.phone{max-width:330px;border-inline:1px solid #ffffff15}.stage-footer{height:36px;border-top:1px solid #ffffff10;color:#b2becd;font-size:10px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#131923}.transport{display:flex;gap:9px;align-items:center;margin:18px 0 29px}.transport button{font-size:12px}.reduce{margin-left:auto;display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.reduce input{accent-color:var(--accent);width:15px;height:15px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h3{font-size:13px}.section-heading span{font-size:10px;color:var(--muted)}.effect-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.effect-card{text-align:left;padding:15px 12px;min-height:84px;border-radius:8px;position:relative}.effect-card.selected{border-color:#8caae9;box-shadow:inset 0 0 0 1px #8caae9;background:var(--soft)}.effect-card strong{display:block;font-size:12px;margin-bottom:9px;font-weight:600}.effect-card small{display:block;font-size:9px;color:var(--muted)}.effect-card .mini-symbol{color:#7b8b9f;font-size:19px;float:right;font-weight:400}.effect-card.selected .mini-symbol{color:var(--accent)}#noResults{font-size:13px;color:var(--muted);padding:20px}.code-panel{margin-top:23px;border-top:1px solid var(--line);padding-top:18px}.code-panel summary{cursor:pointer;font-size:12px}.code-panel summary>span{float:right;font-size:10px;color:var(--muted)}.code-head{display:flex;justify-content:space-between;align-items:center;margin:15px 0 6px;color:var(--muted);font-size:10px}.code-head button{font-size:10px;min-height:30px;padding:4px 10px}pre{background:#eaeef4;border-radius:7px;padding:16px;overflow-x:auto;font:11px/1.85 ui-monospace,monospace;margin:0;color:#35415a}.code-panel p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:12px}.inspector{border-left:1px solid var(--line);background:#f9fafc;padding:31px 23px;min-width:0}.inspector-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.inspector-head h3{font-size:13px}.inspector-head>span{font:8px ui-monospace,monospace;color:#329b72;border:1px solid #bedbcc;padding:3px 5px;border-radius:3px}.inspector section{padding-bottom:24px;margin-bottom:23px;border-bottom:1px solid var(--line)}.inspector h4{font-size:10px;font-weight:600;margin-bottom:18px;color:#546171}.control-label{font-size:11px;display:flex;justify-content:space-between;margin:19px 0 11px}.control-label output{font:10px ui-monospace,monospace;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer;height:20px;margin:0}.range-ends{display:flex;justify-content:space-between;color:#778291;font-size:9px;margin-top:4px}.swatches{display:flex;gap:12px}.swatches button{background:var(--swatch);width:28px;height:28px;min-height:28px;padding:0;border:3px solid #f9fafc;border-radius:50%;outline:1px solid var(--line)}.swatches button.selected{outline:2px solid #546171}.effect-notes p{font-size:11px;color:var(--muted);line-height:1.95;margin-bottom:20px}.effect-notes h4{margin-bottom:9px}.capability{font-size:10px;color:#26704e;background:#eaf5ee;border-radius:5px;padding:8px;line-height:1.8}.capability.warning{color:#8a4b17;background:#fff2df}.features{list-style:none;padding:0;margin:0;display:grid;gap:13px;font-size:10px;color:var(--muted)}.features li::before{content:'✓';color:#548f75;margin-right:8px}.report-link{font-size:10px;color:var(--muted);text-underline-offset:4px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#20252c;color:#fcfcfd;border-radius:8px;padding:12px 20px;font-size:12px;z-index:50;max-width:90vw}.stage-shell:fullscreen{display:flex;flex-direction:column}.stage-shell:fullscreen .stage-wrap{flex:1;height:auto}.stage-shell:fullscreen #stage.phone{max-width:420px}
@media(min-width:1600px){.stage-wrap{height:510px}.studio{padding:40px 48px}.intro h2{font-size:36px}}
@media(max-width:1180px){.workspace{grid-template-columns:190px minmax(0,1fr)}.inspector{grid-column:2;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px 30px}.inspector-head{grid-column:1/-1;margin:0}.inspector section{margin:0}.inspector .report-link{grid-column:1/-1}.studio{padding:30px 24px}.stage-wrap{height:390px}.top-note{margin-left:5px}}
@media(max-width:760px){.top{height:76px;padding:0 18px;gap:10px}.brand{font-size:15px}.brand-icon{font-size:29px}.brand small{font-size:8px;letter-spacing:1.5px}.top-note{display:none}.download{font-size:11px;padding:10px}.workspace{display:block}.library{border-right:0;border-bottom:1px solid var(--line);padding:18px;gap:14px}.library-heading{display:none}.search{max-width:100%}#categories{display:flex;overflow-x:auto;gap:5px;padding:2px 2px 8px}.category{flex-shrink:0;padding:10px;gap:5px;min-height:44px}.category .number,.category .count{display:none}.library-foot{display:none}.studio{padding:23px 18px}.intro{margin-bottom:18px;gap:6px}.intro h2{font-size:25px}.engine-chip{font-size:8px;padding:6px;margin-top:24px}.intro>div>p:last-child{font-size:11px}.stage-wrap{height:340px}.stage-toolbar{padding:0 10px}.stage-footer{font-size:9px;padding:0 10px}.transport{gap:7px;flex-wrap:wrap;margin-bottom:25px}.transport button{min-height:44px;padding:9px 12px}.reduce{font-size:10px;min-height:44px}.effect-list{grid-template-columns:repeat(2,minmax(0,1fr))}.effect-card{min-height:85px}.inspector{display:grid;grid-template-columns:1fr 1fr;padding:25px 18px;gap:20px}.effect-notes{grid-column:1/-1}.inspector-head{grid-column:1/-1}.inspector .report-link{grid-column:1/-1}.code-panel summary>span{font-size:9px}.swatches{gap:10px}.viewport-switch button{min-height:30px}#fullscreen{min-height:32px}.stage-wrap #stage.phone{max-width:290px}}
@media(prefers-reduced-motion:reduce){#stage{transition:none}}

.category-section{font-size:10px;letter-spacing:1px;color:#737b88;padding:12px 10px 6px}.stage-wrap:has(.interaction-stage){height:560px}.interaction-stage{background:#14202b}
@media(min-width:761px){.library{position:sticky;top:0;align-self:start;max-height:100vh;overflow:auto}.library nav{overflow:visible}}
@media(max-width:760px){.category-section{display:none}.stage-wrap:has(.interaction-stage){height:520px}}
.top{height:auto;min-height:88px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.top .download{margin-left:0;white-space:nowrap}.top-note{margin-right:auto}@media(max-width:760px){.top .brand{flex-basis:100%}.top{min-height:110px}}

.nf-main-preview{height:100%;overflow:auto;background:#f4f1e8}.nf-page-link{display:block;color:#283b2e;padding:14px 22px;font:12px Arial;background:#e4e9dc}.nf-main-preview .nf-reader{height:360px}.nf-main-preview .nf-destination{min-height:110px}

.hf-main-preview{height:100%;overflow:auto;padding:10px;background:#edf0e8}.hf-main-preview .hf-reader{height:310px}.hf-page-link{display:block;color:#183a30;font-size:11px;padding:12px;text-align:center}

.hf-main-preview .hf-demo{height:calc(100% - 42px);display:flex;flex-direction:column}.hf-main-preview .hf-reader{height:auto;min-height:0;flex:1}.hf-main-preview .hf-footnote{flex-shrink:0;padding:10px 12px}.hf-main-preview .hf-hero{min-height:280px;padding-top:36px;padding-bottom:30px}.hf-main-preview .hf-demo[data-header-kind=transparent] .hf-hero,.hf-main-preview .hf-demo[data-header-kind=floating] .hf-hero{padding-top:105px}

.hf-main-preview .hf-footnote{font-size:11px;line-height:1.4;padding:8px 12px}
