Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
docs: match the home page to the design source
rpone157f0d4b966c
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.tsindex 72851e50..0c4c66ab 100644--- a/docs/.vitepress/config.ts+++ b/docs/.vitepress/config.ts@@ -239,13 +239,12 @@ export default defineConfig({head: [["meta", { name: "theme-color", content: "#f3f0e8", media: "(prefers-color-scheme: light)" }],["meta", { name: "theme-color", content: "#131211", media: "(prefers-color-scheme: dark)" }],- // Runs before first paint: restores the "intro already seen" flag, marks the- // home page so the branded palette paints without a flash, and sends- // zh-preferring visitors to the Chinese home.+ // Runs before first paint: marks the home page so the branded palette paints+ // without a flash, and sends zh-preferring visitors to the Chinese home.["script",{},- `(function(){var p=location.pathname,b=${JSON.stringify(base)},k="narratage-locale",h="narratage-hero-intro-seen",d=document.documentElement,l;try{if(sessionStorage.getItem(h)==="1")d.classList.add("hero-intro-seen");l=localStorage.getItem(k)}catch(e){}if(!l)l=(navigator.language||"").toLowerCase().indexOf("zh")===0?"zh":"en";var en=p===b||(b.length>1&&p===b.slice(0,-1)),zh=p===b+"zh/"||p===b+"zh";if(en||zh)d.classList.add("home-page");if(en&&l==="zh")location.replace(b+"zh/"+location.search+location.hash)})()`,+ `(function(){var p=location.pathname,b=${JSON.stringify(base)},k="narratage-locale",d=document.documentElement,l;try{l=localStorage.getItem(k)}catch(e){}if(!l)l=(navigator.language||"").toLowerCase().indexOf("zh")===0?"zh":"en";var en=p===b||(b.length>1&&p===b.slice(0,-1)),zh=p===b+"zh/"||p===b+"zh";if(en||zh)d.classList.add("home-page");if(en&&l==="zh")location.replace(b+"zh/"+location.search+location.hash)})()`,],["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }],["link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" }],diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vueindex 9559e56d..d74938b0 100644--- a/docs/.vitepress/theme/Layout.vue+++ b/docs/.vitepress/theme/Layout.vue@@ -4,10 +4,9 @@ import { useData } from "vitepress";import { computed } from "vue";import HeroMasthead from "./components/HeroMasthead.vue";import LocalePreference from "./components/LocalePreference.vue";+import NarratageLogo from "./components/NarratageLogo.vue";import PaperFooter from "./components/PaperFooter.vue";import { useHomeThemeScope } from "./HomeThemeScope";-import NarratageMark from "./components/NarratageMark.vue";-import NarratageWordmark from "./components/NarratageWordmark.vue";const DefaultLayout = DefaultTheme.Layout;@@ -19,8 +18,7 @@ useHomeThemeScope(isHome);<template><DefaultLayout>- <template #nav-bar-title-before><NarratageMark v-if="isHome" class="nav-narratage-mark" /></template>- <template #nav-bar-title-after><NarratageWordmark v-if="isHome" class="nav-narratage-wordmark" animate /></template>+ <template #nav-bar-title-before><NarratageLogo v-if="isHome" class="nav-narratage-logo" /></template><template #layout-top><LocalePreference /></template><template #home-hero-info><HeroMasthead /></template><template #layout-bottom><PaperFooter v-if="isHome" /></template>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-1.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-1.svgdeleted file mode 100644index d8f410f7..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-1.svg+++ /dev/null@@ -1,4 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="634.000 502.500 109.500 219.500"><path d="M673.6,621.2c0,32.9,0,65.9,0,99.1c-12.9,0-25.4,0-38.2,0c0-72.4,0-144.4,0-216.7c12.8,0,25,0,38.2,0- c9.9,34,19.9,68.2,30.2,103.2c0-34.8,0-68.7,0-103.1c13,0,25.7,0,38.7,0c0,72.1,0,144.1,0,216.8c-3.5,0-6.7,0-10,0- c-7,0-14-0.4-21,0.2c-5.8,0.5-8.3-1.2-9.9-7.1c-8.4-30.1-17.2-60.1-26-90.1c-0.3-0.9-0.7-1.8-1.1-2.6- C674.2,621,673.9,621.1,673.6,621.2z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-2.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-2.svgdeleted file mode 100644index 7ab54e68..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-2.svg+++ /dev/null@@ -1,6 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="909.000 755.000 103.500 220.500"><path d="M1011.3,974.1c-13,0-25.4,0-38.3,0c0-19.1,0-37.8,0-57c-8.1,0-15.7,0-23.9,0c0,18.9,0,37.7,0,56.9- c-13.2,0-25.8,0-38.9,0c-0.1-1.6-0.2-3.2-0.2-4.8c0-60.3,0-120.6,0.1-180.9c0-7.7,0.9-15.3,5.7-21.8- c4.9-6.7,11.6-9.9,19.7-10c16.7-0.2,33.3-0.3,50-0.1c13.4,0.2,22.2,7.7,24.8,20.9c0.7,3.6,1,7.3,1,10.9- c0.1,60.1,0.1,120.3,0.1,180.4C1011.3,970.3,1011.3,972.1,1011.3,974.1z M972.5,881.5c0.1-1.3,0.3-2,0.3-2.6- c0-27,0.1-53.9,0.1-80.9c0-5.4-2.1-7.4-7.7-7.5c-2.5,0-5,0-7.5,0c-7.6,0.1-9,1.5-9,9.1c0,25.6,0,51.3,0,76.9- c0,1.6,0.2,3.2,0.2,5C957,881.5,964.6,881.5,972.5,881.5z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-3.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-3.svgdeleted file mode 100644index e297a5e8..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-3.svg+++ /dev/null@@ -1,6 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1126.500 502.000 104.000 219.500"><path d="M1166.8,720.4c-13.5,0-25.9,0-38.6,0c-0.1-1.3-0.3-2.4-0.3-3.5c0-61.3-0.1-122.6,0-183.9- c0-15.5,6.6-25.2,19.1-28.7c2-0.6,4.3-0.8,6.4-0.8c16.5-0.1,33-0.1,49.5,0c13.1,0,21.8,6.9,24.7,19.6- c0.9,3.9,1.4,7.9,1.4,11.9c0.1,60.5,0,120.9,0,181.4c0,1.2-0.1,2.3-0.2,4c-12.7,0-25.4,0-38.6,0c0-21.7,0-43.3,0-65.4- c-7.8,0-15.2,0-23.3,0C1166.8,676.5,1166.8,698.2,1166.8,720.4z M1189.3,619.2c0.3-0.8,0.5-1.1,0.5-1.4- c0-24.9,0.1-49.9,0-74.8c0-3.8-2.1-5.7-6-5.7c-2.8,0.1-5.7,0-8.5,0c-7.6,0-8.8,1.1-8.8,8.6c0,22.8,0,45.6,0,68.3- c0,1.6,0.2,3.2,0.3,5C1174.6,619.2,1181.8,619.2,1189.3,619.2z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-4.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-4.svgdeleted file mode 100644index deaa5bb2..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-4.svg+++ /dev/null@@ -1,6 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="763.500 502.000 103.500 219.500"><path d="M803.9,720.4c-13.5,0-25.9,0-39.1,0c0-2,0-3.8,0-5.6c0-60,0-120,0.1-180c0-4.8,0.8-9.7,2.2-14.2- c3.2-10.3,12.5-17.1,23.3-17.2c16.8-0.2,33.7-0.2,50.5,0c14.4,0.2,23.8,10.3,24.7,26.1c0.3,5.8,0.1,11.7,0.1,17.5- c0,56,0,112,0,168c0,1.6,0,3.3,0,5.3c-13,0-25.5,0-38.8,0c-0.1-1.7-0.2-3.5-0.2-5.2c0-18.5-0.1-37,0.1-55.5- c0.1-4.2-1.2-5.6-5.3-5.3c-5.6,0.3-11.3,0.1-17.6,0.1C803.9,676.5,803.9,698.2,803.9,720.4z M826.8,619.2- c0-2,0-3.6,0-5.2c0-21,0-41.9,0-62.9c0-14.8,0.2-13.8-13.5-13.7c-8.4,0-9.6,1-9.6,9.4c0,22.8,0,45.6,0.1,68.4- c0,1.3,0.3,2.5,0.4,4C811.8,619.2,819,619.2,826.8,619.2z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-5.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-5.svgdeleted file mode 100644index 7f4b1799..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-5.svg+++ /dev/null@@ -1,7 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1005.500 502.000 102.500 219.500"><path d="M1106.4,720.4c-13.2,0-25.7,0-38.7,0c0-2.2,0-4.1,0-6.1c0-18.5,0-37,0-55.5c0-8.4-2.2-10.5-10.7-10.5- c-3.8,0-7.6,0-11.8,0c0,24.2,0,47.8,0,71.8c-13,0-25.5,0-38.4,0c0-72.1,0-144.1,0-216.8c2.1,0,4.1,0,6,0- c22.3,0,44.6,0,67,0c15.4,0,25.1,8.3,26,23.7c0.9,16.1,0.6,32.3,0.7,48.4c0.1,9.5-0.1,19,0.1,28.5- c0.2,12.5-4.2,22.1-17.9,26.8c1.7,0.6,2.5,0.9,3.3,1.2c8,2.4,12.5,7.9,13.8,16c0.4,2.8,0.6,5.6,0.6,8.5- c0.1,19,0.1,38,0.1,57C1106.4,715.5,1106.4,717.7,1106.4,720.4z M1045.3,612.4c5.7,0,11.2,0.2,16.6-0.1- c3.2-0.2,5.7-2.3,5.7-5.8c0.1-21.1,0.1-42.2,0.1-63.4c0-3.3-1.8-5.5-5.1-5.6c-5.6-0.2-11.2-0.1-17.2-0.1- C1045.3,562.6,1045.3,587.3,1045.3,612.4z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-6.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-6.svgdeleted file mode 100644index b0dea41c..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-6.svg+++ /dev/null@@ -1,7 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="886.500 502.000 101.500 219.500"><path d="M925.7,720.4c-13.1,0-25.3,0-38,0c0-72.3,0-144.4,0-217c2,0,3.7,0,5.5,0c22,0,44,0,66,0- c16.7,0,26.4,8.7,27.2,25.4c0.7,16,0.3,32,0.4,48c0,8.7-0.2,17.3,0.1,26c0.5,13.1-3.2,23.4-17.4,27.8- c0.9,0.7,1.2,1,1.5,1.1c10.8,3.4,15.4,9,15.6,20.4c0.3,12.5,0.2,25,0.2,37.5c0,10.1,0,20.3,0,30.8- c-13.1,0-25.7,0-39,0c0-1.8,0-3.6,0-5.3c0-19,0-38,0-57c0-7.4-2.2-9.5-9.5-9.7c-4-0.1-7.9,0-12.6,0- c0,12.4,0,24.3,0,36.2C925.7,696.3,925.7,708.1,925.7,720.4z M926,612.4c5.6,0,10.9,0.3,16.1-0.1- c3.5-0.2,5.7-2.5,5.7-6.3c0-21,0.1-42-0.2-63c0-1.9-2.4-5.1-4-5.3c-5.8-0.6-11.8-0.3-17.7-0.3- C926,562.8,926,587.4,926,612.4z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-7.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-7.svgdeleted file mode 100644index 3d4e65e9..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-7.svg+++ /dev/null@@ -1,7 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1029.000 755.000 103.000 220.500"><path d="M1080.8,853.3c16.6,0,33,0,49.8,0c0.1,1.8,0.2,3.4,0.2,5c0,29.5,0.2,59-0.2,88.5- c-0.1,5.5-1.4,11.4-3.7,16.3c-4,8.3-11.9,11.3-20.8,11.3c-16.2,0.1-32.3,0-48.5,0c-16.2,0-25.4-8.4-26.9-24.7- c-0.3-3.5-0.2-7-0.2-10.5c0-50.1-0.1-100.3,0.1-150.4c0-5.7,1-11.7,2.7-17.1c2.9-9.4,10.1-14.7,19.8-15- c18.6-0.5,37.3-0.5,56-0.1c10.3,0.2,18.8,8.1,20.5,18.7c1.1,6.7,1,13.6,1.1,20.4c0.2,12.1,0,24.3,0,36.8- c-12.6,0-24.8,0-37.8,0c0-7.4,0-14.6,0-21.9c0-4.2,0.1-8.3,0-12.5c-0.1-5.7-2-7.5-7.5-7.5c-3,0-6,0-9,0.1- c-5.8,0.1-7.7,2-7.7,7.9c-0.1,20,0,40,0,60c0,23.8,0,47.6,0,71.5c0,7.9,1.6,9.5,9.2,9.4c3,0,6,0,9-0.1- c3.7-0.1,6.1-2,6.1-5.8c0.1-15.3,0-30.6,0-46.5c-4.2-0.2-8.1-0.4-12.2-0.5C1080.8,875.2,1080.8,864.4,1080.8,853.3z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-8.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-8.svgdeleted file mode 100644index 051f161e..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-8.svg+++ /dev/null@@ -1,4 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1149.500 755.500 81.500 220.000"><path d="M1189.1,790.4c0,19.9,0,38.7,0,58.1c12.4,0,24.6,0,37.2,0c0,11.7,0,22.8,0,34.4c-12.4,0-24.6,0-37.1,0- c0,18.9,0,37.2,0,56.1c13.3,0,26.5,0,40.3,0c0,11.5,0.1,22.3-0.2,33c0,0.8-2.9,2.2-4.5,2.2- c-18.7,0.2-37.3,0.1-56,0.1c-6,0-11.9,0-18.3,0c0-72.8,0-145,0-217.7c26.3,0,52.4,0,78.7,0c0,11.1,0,22,0,33.7- C1215.9,790.4,1202.7,790.4,1189.1,790.4z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/glyph-9.svg b/docs/.vitepress/theme/assets/narratage-logo/glyph-9.svgdeleted file mode 100644index 98beef32..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/glyph-9.svg+++ /dev/null@@ -1,2 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="801.000 755.500 100.500 220.000"><path d="M870.1,974.1c-13.3,0-25.6,0-38.3,0c0-61,0-121.9,0-183.4c-10,0-19.6,0-29.5,0c0-11.7,0-22.7,0-34.2- c32.7,0,65.1,0,97.9,0c0,11.2,0,22.2,0,33.8c-9.9,0-19.7,0-30.1,0C870.1,851.8,870.1,912.7,870.1,974.1z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/assets/narratage-logo/mark.svg b/docs/.vitepress/theme/assets/narratage-logo/mark.svgdeleted file mode 100644index befcacd3..00000000--- a/docs/.vitepress/theme/assets/narratage-logo/mark.svg+++ /dev/null@@ -1,19 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="186.500 453.500 413.000 523.000"><path d="M265.7,726.2c-7.2-9.9-14.8-18.5-20.4-28.2c-31.4-54-31.5-109-1.5-163.1c29.5-53.3,77.3-78.3,137.3-80.2- c41.8-1.4,78.8,12,109.9,40.2c38.1,34.6,52.6,78.7,49.5,129.1c-1.4,22.8-7.2,44.6-17.5,65.2c-4.1,8.1-9.7,11.8-19,11.6- c-16.5-0.5-33-0.4-49.5-0.1c-11.3,0.2-20.9-3.7-29.1-11.2c-2.8-2.6-4.8-2.6-8.2-1c-41.6,19.7-104.5,1.7-113.5-61.1- c-5.1-35.7,11.1-67.8,41.2-83.5c43.9-23,102.2-2.8,114.1,51.1c4.5,20.5,1.4,40.2-10.5,57.8c-2.4,3.6-1.7,5.9,1.2,7.9- c2.4,1.6,5.3,3.2,8.1,3.3c9.3,0.5,18.7,0.9,27.9,0.3c2.7-0.2,6.3-3.5,7.5-6.3c3.3-7.9,6.8-16.1,8.1-24.5- c6.8-43-5.3-80-38.2-108.9c-24.4-21.4-53.9-30-86.1-28.7c-41,1.7-73.7,19.4-96.4,53.8c-48.8,74.1-3.8,172.7,84.1,183.6- c17.9,2.2,36.2,1.1,54.3,0.9c53.6-0.7,107.3-1.9,160.9-2.7c10.7-0.2,18.3,7.6,18.3,18.3c0.1,68.3,0.1,136.7,0,205- c0,12.3-8.2,20.2-20.5,20.2c-122.5,0-245,0-367.5,0.1c-15.5,0-22.5-7.1-22.5-22.7c0-67.5,0-135,0-202.5- c0-16,7.4-23.5,23.5-23.6c15.7-0.1,31.3,0,47,0C260.6,726.2,262.9,726.2,265.7,726.2z M286.5,935.4- c72.9,0,144.9,0,216.9,0c0-54.4,0-108.4,0-162.7c-1.6,0-2.7,0-3.9,0c-28.3,1.4-56.6,2.1-84.8,4.3- c-26.1,2-51.3,7.8-74.2,21.3c-27.2,16-45.6,38.9-51.5,70.2c-2.5,13.1-1.9,26.8-2.4,40.3C286.2,917.4,286.5,926.2,286.5,935.4z- M382.9,574.5c-21.8-0.1-40.1,17.5-40.3,38.8c-0.2,22.3,17.2,39.9,39.4,39.9c21.5,0,39.1-17.9,39.1-39.8- C421.2,592.3,403.8,574.6,382.9,574.5z M254.5,928.9c0-11.5,0-22.5,0-33.6c-11.1,0-21.9,0-32.6,0c0,11.4,0,22.4,0,33.6- C232.9,928.9,243.5,928.9,254.5,928.9z M221.8,829.9c0,11.5,0,22.4,0,33.6c11,0,21.8,0,32.7,0c0-11.3,0-22.3,0-33.6- C243.5,829.9,232.9,829.9,221.8,829.9z M565.7,865.3c0-11.3,0-22.1,0-33c-11,0-21.7,0-32.4,0c0,11.2,0,22,0,33- C544.2,865.3,554.7,865.3,565.7,865.3z M254.6,798.9c0-11.2,0-21.9,0-32.8c-11.1,0-21.8,0-32.6,0c0,11.1,0,21.8,0,32.8- C233,798.9,243.5,798.9,254.6,798.9z M533.4,896.3c0,11.2,0,22.1,0,33.1c11,0,21.5,0,32.3,0c0-11.2,0-22.1,0-33.1- C554.7,896.3,544.1,896.3,533.4,896.3z M565.7,802.1c0-11,0-21.4,0-31.9c-11.1,0-21.7,0-32.3,0c0,10.9,0,21.3,0,31.9- C544.3,802.1,554.7,802.1,565.7,802.1z" fill="currentColor"/></svg>diff --git a/docs/.vitepress/theme/components/HeroMasthead.vue b/docs/.vitepress/theme/components/HeroMasthead.vueindex e6f8ce00..351d5c01 100644--- a/docs/.vitepress/theme/components/HeroMasthead.vue+++ b/docs/.vitepress/theme/components/HeroMasthead.vue@@ -8,11 +8,6 @@ const isChinese = computed(() => lang.value.toLowerCase().startsWith("zh"));<template><div class="np-masthead">- <div class="np-masthead-meta">- <span class="np-masthead-label">{{ isChinese ? "开源项目" : "Open source" }}</span>- <span class="np-rule tick-r np-masthead-rule"></span>- </div>-<div class="np-masthead-wrap"><!--One <text> with two <tspan>s, not two <text>s: textLength is applied perdiff --git a/docs/.vitepress/theme/components/LocalePreference.vue b/docs/.vitepress/theme/components/LocalePreference.vueindex 2bd551df..93632c02 100644--- a/docs/.vitepress/theme/components/LocalePreference.vue+++ b/docs/.vitepress/theme/components/LocalePreference.vue@@ -2,7 +2,6 @@import { onBeforeUnmount, onMounted } from "vue";const storageKey = "narratage-locale";-const heroIntroKey = "narratage-hero-intro-seen";// The dev server serves the site under `/docs/`; the Pages deploy builds with// VITEPRESS_BASE=/ and serves it at the domain root. Vite substitutes the right@@ -20,21 +19,11 @@ function rememberLocale(event: MouseEvent) {if (!link) return;const url = new URL(link.href, window.location.href);if (!url.pathname.startsWith(base)) return;- const nextLocale = localeFromPath(url.pathname);- const currentLocale = localeFromPath(window.location.pathname);try {- window.localStorage.setItem(storageKey, nextLocale);+ window.localStorage.setItem(storageKey, localeFromPath(url.pathname));} catch {// Storage can be unavailable in private or restricted browser contexts.}- if (nextLocale !== currentLocale) {- document.documentElement.classList.add("hero-intro-seen");- try {- window.sessionStorage.setItem(heroIntroKey, "1");- } catch {- // The in-document class still skips the animation for SPA navigation.- }- }}onMounted(() => {diff --git a/docs/.vitepress/theme/components/NarratageLogo.vue b/docs/.vitepress/theme/components/NarratageLogo.vuenew file mode 100644index 00000000..f38b1a73--- /dev/null+++ b/docs/.vitepress/theme/components/NarratageLogo.vue@@ -0,0 +1,20 @@+<script setup lang="ts">+withDefaults(defineProps<{ label?: string }>(), { label: "Narratage" });+</script>++<template>+ <span class="narratage-logo">+ <svg viewBox="182 444 1063 541" fill="currentColor" role="img" :aria-label="label">+ <path d="M265.7,726.2c-7.2-9.9-14.8-18.5-20.4-28.2-31.4-54-31.5-109-1.5-163.1,29.5-53.3,77.3-78.3,137.3-80.2,41.8-1.4,78.8,12,109.9,40.2,38.1,34.6,52.6,78.7,49.5,129.1-1.4,22.8-7.2,44.6-17.5,65.2-4.1,8.1-9.7,11.8-19,11.6-16.5-.5-33-.4-49.5-.1-11.3.2-20.9-3.7-29.1-11.2-2.8-2.6-4.8-2.6-8.2-1-41.6,19.7-104.5,1.7-113.5-61.1-5.1-35.7,11.1-67.8,41.2-83.5,43.9-23,102.2-2.8,114.1,51.1,4.5,20.5,1.4,40.2-10.5,57.8-2.4,3.6-1.7,5.9,1.2,7.9,2.4,1.6,5.3,3.2,8.1,3.3,9.3.5,18.7.9,27.9.3,2.7-.2,6.3-3.5,7.5-6.3,3.3-7.9,6.8-16.1,8.1-24.5,6.8-43-5.3-80-38.2-108.9-24.4-21.4-53.9-30-86.1-28.7-41,1.7-73.7,19.4-96.4,53.8-48.8,74.1-3.8,172.7,84.1,183.6,17.9,2.2,36.2,1.1,54.3.9,53.6-.7,107.3-1.9,160.9-2.7,10.7-.2,18.3,7.6,18.3,18.3.1,68.3.1,136.7,0,205,0,12.3-8.2,20.2-20.5,20.2-122.5,0-245,0-367.5.1-15.5,0-22.5-7.1-22.5-22.7v-202.5c0-16,7.4-23.5,23.5-23.6,15.7-.1,31.3,0,47,0,2.4-.1,4.7-.1,7.5-.1ZM286.5,935.4h216.9v-162.7h-3.9c-28.3,1.4-56.6,2.1-84.8,4.3-26.1,2-51.3,7.8-74.2,21.3-27.2,16-45.6,38.9-51.5,70.2-2.5,13.1-1.9,26.8-2.4,40.3-.4,8.6-.1,17.4-.1,26.6ZM382.9,574.5c-21.8-.1-40.1,17.5-40.3,38.8-.2,22.3,17.2,39.9,39.4,39.9s39.1-17.9,39.1-39.8c.1-21.1-17.3-38.8-38.2-38.9ZM254.5,928.9v-33.6h-32.6v33.6h32.6ZM221.8,829.9v33.6h32.7v-33.6h-32.7ZM565.7,865.3v-33h-32.4v33h32.4ZM254.6,798.9v-32.8h-32.6v32.8h32.6ZM533.4,896.3v33.1h32.3v-33.1h-32.3ZM565.7,802.1v-31.9h-32.3v31.9h32.3Z" />+ <path d="M675.54,613.37v99.1h-38.2v-216.7h38.2c9.9,34,19.9,68.2,30.2,103.2v-103.1h38.7v216.8h-10c-7,0-14-.4-21,.2-5.8.5-8.3-1.2-9.9-7.1-8.4-30.1-17.2-60.1-26-90.1-.3-.9-.7-1.8-1.1-2.6-.3.1-.6.2-.9.3Z" />+ <path d="M997.05,975.04h-40.8v-58.17h-25.46v58.07h-41.44c-.11-1.63-.21-3.27-.21-4.9,0-61.54,0-123.08.11-184.61,0-7.86.96-15.61,6.07-22.25,5.22-6.84,12.36-10.1,20.99-10.21,17.79-.2,35.48-.31,53.27-.1,14.28.2,23.65,7.86,26.42,21.33.75,3.67,1.07,7.45,1.07,11.12.11,61.33.11,122.77.11,184.1-.11,1.73-.11,3.57-.11,5.61ZM955.71,877.97c.11-1.3.32-2,.32-2.6,0-27,.11-53.9.11-80.9,0-5.4-2.24-7.4-8.2-7.5h-7.99c-8.1.1-9.59,1.5-9.59,9.1v76.9c0,1.6.21,3.2.21,5h25.14Z" />+ <path d="M1166.8,712.34h-38.6c-.1-1.3-.3-2.4-.3-3.5,0-61.3-.1-122.6,0-183.9,0-15.5,6.6-25.2,19.1-28.7,2-.6,4.3-.8,6.4-.8,16.5-.1,33-.1,49.5,0,13.1,0,21.8,6.9,24.7,19.6.9,3.9,1.4,7.9,1.4,11.9.1,60.5,0,120.9,0,181.4,0,1.2-.1,2.3-.2,4h-38.6v-65.4h-23.3c-.1,21.5-.1,43.2-.1,65.4ZM1189.3,611.14c.3-.8.5-1.1.5-1.4,0-24.9.1-49.9,0-74.8,0-3.8-2.1-5.7-6-5.7-2.8.1-5.7,0-8.5,0-7.6,0-8.8,1.1-8.8,8.6v68.3c0,1.6.2,3.2.3,5,7.8,0,15,0,22.5,0Z" />+ <path d="M804.1,711.89h-39.1v-5.6c0-60,0-120,.1-180,0-4.8.8-9.7,2.2-14.2,3.2-10.3,12.5-17.1,23.3-17.2,16.8-.2,33.7-.2,50.5,0,14.4.2,23.8,10.3,24.7,26.1.3,5.8.1,11.7.1,17.5v173.3h-38.8c-.1-1.7-.2-3.5-.2-5.2,0-18.5-.1-37,.1-55.5.1-4.2-1.2-5.6-5.3-5.3-5.6.3-11.3.1-17.6.1v66ZM827,610.69v-68.1c0-14.8.2-13.8-13.5-13.7-8.4,0-9.6,1-9.6,9.4,0,22.8,0,45.6.1,68.4,0,1.3.3,2.5.4,4h22.6Z" />+ <path d="M1106.4,712.87h-38.7v-61.6c0-8.4-2.2-10.5-10.7-10.5h-11.8v71.8h-38.4v-216.8h73c15.4,0,25.1,8.3,26,23.7.9,16.1.6,32.3.7,48.4.1,9.5-.1,19,.1,28.5.2,12.5-4.2,22.1-17.9,26.8,1.7.6,2.5.9,3.3,1.2,8,2.4,12.5,7.9,13.8,16,.4,2.8.6,5.6.6,8.5.1,19,.1,38,.1,57-.1,2.1-.1,4.3-.1,7ZM1045.3,604.87c5.7,0,11.2.2,16.6-.1,3.2-.2,5.7-2.3,5.7-5.8.1-21.1.1-42.2.1-63.4,0-3.3-1.8-5.5-5.1-5.6-5.6-.2-11.2-.1-17.2-.1-.1,25.2-.1,49.9-.1,75Z" />+ <path d="M925.7,711.74h-38v-217h71.5c16.7,0,26.4,8.7,27.2,25.4.7,16,.3,32,.4,48,0,8.7-.2,17.3.1,26,.5,13.1-3.2,23.4-17.4,27.8.9.7,1.2,1,1.5,1.1,10.8,3.4,15.4,9,15.6,20.4.3,12.5.2,25,.2,37.5v30.8h-39v-62.3c0-7.4-2.2-9.5-9.5-9.7-4-.1-7.9,0-12.6,0v72ZM926,603.74c5.6,0,10.9.3,16.1-.1,3.5-.2,5.7-2.5,5.7-6.3,0-21,.1-42-.2-63,0-1.9-2.4-5.1-4-5.3-5.8-.6-11.8-.3-17.7-.3.1,25.4.1,50,.1,75Z" />+ <path d="M1071.22,851.6h53.05c.11,1.83.21,3.46.21,5.1,0,30.06.21,60.12-.21,90.18-.11,5.6-1.49,11.62-3.94,16.61-4.26,8.46-12.68,11.51-22.16,11.51-17.26.1-34.41,0-51.67,0s-27.06-8.56-28.66-25.17c-.32-3.57-.21-7.13-.21-10.7,0-51.05-.11-102.21.11-153.26,0-5.81,1.07-11.92,2.88-17.43,3.09-9.58,10.76-14.98,21.09-15.29,19.81-.51,39.74-.51,59.66-.1,10.97.2,20.03,8.25,21.84,19.06,1.17,6.83,1.07,13.86,1.17,20.79.21,12.33,0,24.76,0,37.5h-40.27v-22.32c0-4.28.11-8.46,0-12.74-.11-5.81-2.13-7.64-7.99-7.64-3.2,0-6.39,0-9.59.1-6.18.1-8.2,2.04-8.2,8.05-.11,20.38,0,40.76,0,61.14v72.86c0,8.05,1.7,9.68,9.8,9.58,3.2,0,6.39,0,9.59-.1,3.94-.1,6.5-2.04,6.5-5.91.11-15.59,0-31.18,0-47.38-4.47-.2-8.63-.41-13-.51v-33.93Z" />+ <path d="M1186.46,787.27v59.32h39.63v35.12h-39.52v57.27h42.93c0,11.74.11,22.77-.21,33.69,0,.82-3.09,2.25-4.79,2.25-19.92.2-39.74.1-59.66.1h-19.5v-222.25h83.84v34.4c-14.17.1-28.23.1-42.72.1Z" />+ <path d="M846.62,975.04h-40.8v-187.34h-31.43v-34.94h104.29v34.53h-32.07c0,62.82,0,125.03,0,187.75Z" />+ </svg>+ </span>+</template>diff --git a/docs/.vitepress/theme/components/NarratageMark.vue b/docs/.vitepress/theme/components/NarratageMark.vuedeleted file mode 100644index 74a3258d..00000000--- a/docs/.vitepress/theme/components/NarratageMark.vue+++ /dev/null@@ -1,9 +0,0 @@-<script setup lang="ts">-import markSvg from "../assets/narratage-logo/mark.svg?raw";--withDefaults(defineProps<{ class?: string; label?: string }>(), { label: "Narratage" });-</script>--<template>- <span :class="['narratage-mark', $props.class]" role="img" :aria-label="label" v-html="markSvg"></span>-</template>diff --git a/docs/.vitepress/theme/components/NarratageWordmark.vue b/docs/.vitepress/theme/components/NarratageWordmark.vuedeleted file mode 100644index 53d3cce8..00000000--- a/docs/.vitepress/theme/components/NarratageWordmark.vue+++ /dev/null@@ -1,37 +0,0 @@-<script setup lang="ts">-import nSvg from "../assets/narratage-logo/glyph-1.svg?raw";-import aTopSvg from "../assets/narratage-logo/glyph-4.svg?raw";-import rTopSvg from "../assets/narratage-logo/glyph-6.svg?raw";-import rSecondSvg from "../assets/narratage-logo/glyph-5.svg?raw";-import aBottomSvg from "../assets/narratage-logo/glyph-3.svg?raw";-import tSvg from "../assets/narratage-logo/glyph-9.svg?raw";-import aLastSvg from "../assets/narratage-logo/glyph-2.svg?raw";-import gSvg from "../assets/narratage-logo/glyph-7.svg?raw";-import eSvg from "../assets/narratage-logo/glyph-8.svg?raw";--const letters = [- { svg: nSvg, width: .499 },- { svg: aTopSvg, width: .472 },- { svg: rTopSvg, width: .462 },- { svg: rSecondSvg, width: .467 },- { svg: aBottomSvg, width: .474 },- { svg: tSvg, width: .457 },- { svg: aLastSvg, width: .469 },- { svg: gSvg, width: .467 },- { svg: eSvg, width: .37 },-];-withDefaults(defineProps<{ class?: string; label?: string; animate?: boolean }>(), { label: "NARRATAGE", animate: false });-</script>--<template>- <span class="narratage-wordmark" :class="[$props.class, { 'is-animated': animate }]" role="img" :aria-label="label">- <span- v-for="(letter, index) in letters"- :key="index"- class="narratage-wordmark-letter"- :style="{ '--narratage-letter-width': `${letter.width}em` }"- aria-hidden="true"- v-html="letter.svg"- ></span>- </span>-</template>diff --git a/docs/.vitepress/theme/components/SvmlDemoCarousel.vue b/docs/.vitepress/theme/components/SvmlDemoCarousel.vueindex 162ad8d1..9ef1a755 100644--- a/docs/.vitepress/theme/components/SvmlDemoCarousel.vue+++ b/docs/.vitepress/theme/components/SvmlDemoCarousel.vue@@ -119,6 +119,8 @@ onBeforeUnmount(() => cardObserver?.disconnect());@pointermove="updateDemoPointer"@pointerleave="clearDemoPointer">+ <div class="np-rule"></div>+<header class="demo-heading carousel-heading"><h2><span class="hover-interaction-copy">{{ isChinese ? "悬停标记范围,查看对应画面" : "Hover a marked range to see the corresponding frame" }}</span><span class="touch-interaction-copy">{{ isChinese ? "点击标记范围,查看对应画面" : "Tap a marked range to see the corresponding frame" }}</span></h2></header>@@ -155,40 +157,27 @@ onBeforeUnmount(() => cardObserver?.disconnect());<style scoped>/* The cap covers the padding as well, so this column and the masthead — which iscapped at 1280px inside the same padding — share a left edge. */-.svml-demo-showcase { width: 100%; max-width: calc(1280px + var(--pad) * 2); margin: 0 auto; padding: 48px var(--pad) 96px; box-sizing: border-box; }+.svml-demo-showcase { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) 60px; box-sizing: border-box; }.demo-list { display: grid; gap: 64px; width: 100%; margin-inline: 0; }.carousel-heading { width: 100%; margin-right: 0; margin-left: 0; }-.demo-card { width: 100%; min-width: 0; border-radius: 2px; background: transparent; opacity: 0; transform: translateY(18px); animation: demo-card-rise .48s cubic-bezier(.22,1,.36,1) forwards; }-.demo-card:nth-child(1) { animation-delay: 1.59s; }-.demo-card:nth-child(2) { animation-delay: 1.75s; }-.demo-card:nth-child(3) { animation-delay: 1.91s; }-/* These delays continue the intro sequence in style.css, which ends at the carousel- heading. That file cancels the sequence under `.hero-intro-seen`; the cards are the- only part of it living outside it, so they need the matching cancellation here. */-.hero-intro-seen .demo-card { opacity: 1; transform: none; animation: none; }+.demo-card { width: 100%; min-width: 0; border-radius: 2px; background: transparent; }.demo-card-content { min-width: 0; overflow: hidden; border-radius: 2px; background: var(--paper-2); }.demo-card-content :deep(.svml-demo) { margin-top: 0; }.demo-card-content :deep(.demo-shell) { box-shadow: none; }.demo-loading { display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 720px; border: 1px solid var(--rule-soft); border-radius: 2px; background: var(--paper-2); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }.demo-loading-spinner { width: 30px; height: 30px; border: 2px solid var(--crimson-soft); border-top-color: var(--crimson); border-radius: 50%; animation: demo-loading-spin .7s linear infinite; }@keyframes demo-loading-spin { to { transform: rotate(360deg); } }-@keyframes demo-card-rise { to { opacity: 1; transform: translateY(0); } }@media (max-width: 959px) {- .svml-demo-showcase { width: calc(100% - 96px); }.demo-loading { min-height: 990px; }}@media (max-width: 639px) {- .svml-demo-showcase { width: 100%; padding-inline: 24px; }+ .svml-demo-showcase { width: 100%; }}@media (max-width: 520px) {- .svml-demo-showcase { padding: 48px 24px 72px; }+ .svml-demo-showcase { padding: 0 24px 48px; }.demo-list { gap: 32px; }}--@media (prefers-reduced-motion: reduce) {- .demo-card { opacity: 1; transform: none; animation: none; }-}</style>diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.cssindex 58bbcc8b..1b29f7a8 100644--- a/docs/.vitepress/theme/style.css+++ b/docs/.vitepress/theme/style.css@@ -36,9 +36,10 @@ html.home-page {"Roboto Mono", Consolas, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei","Noto Sans SC", monospace;--pad: clamp(20px, 4vw, 56px);+ --vp-nav-height: 74px;/* Paper grain. Multiplied over a light page, overlaid on a dark one. */- --grain-op: .34;+ --grain-op: .42;--grain-blend: multiply;--collage-blend: multiply;@@ -86,6 +87,8 @@ html.home-page.dark {html.home-page body {background: var(--paper);color: var(--ink);+ font-size: 14px;+ line-height: 1.65;letter-spacing: 0;font-variant-ligatures: none;}@@ -108,8 +111,6 @@ html.home-page :focus-visible { outline: 2px solid var(--crimson); outline-offse.np-rule::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--rule); }.np-rule::before { left: 0; }.np-rule::after { right: 0; }-.np-rule.tick-r::before { display: none; }-.np-rule.tick-l::after { display: none; }/** Paper grain, over the page and the nav but under the search modal (z-100),@@ -144,38 +145,32 @@ html.home-page .VPNavBar {html.home-page .VPNavBar .content-body { background-color: transparent !important; }html.home-page .VPNavBar .divider-line { background-color: var(--rule) !important; }-html.home-page .VPNavBarTitle { display: flex; align-items: center; height: 64px; }+html.home-page .VPNavBar .wrapper { padding: 0; }+html.home-page .VPNavBar .container { max-width: 1280px; padding-inline: var(--pad); }+html.home-page .VPNavBarTitle { display: flex; align-items: center; height: var(--vp-nav-height); }html.home-page .VPNavBarTitle .title {display: inline-flex;align-items: center;- gap: 7px;width: auto;- height: 32px;+ height: auto;padding: 0;+ border-bottom: 0;color: var(--ink);font-size: 0;}-/* The configured siteTitle text; the mark and wordmark stand in for it. */+/* The configured siteTitle text; the logotype stands in for it. */html.home-page .VPNavBarTitle .title > span:not([class]) { display: none; }-html.home-page .nav-narratage-mark {- display: block;+html.home-page .nav-narratage-logo { display: block; flex: 0 0 auto; height: 46px; color: var(--ink); }+html.home-page .nav-narratage-logo svg { display: block; width: auto; height: 100%; }+/* The rule that separates the brand from the rest of the bar. */+html.home-page .VPNavBarTitle::after {+ content: "";flex: 0 0 auto;- width: 30px;- height: 30px;- color: var(--ink);-}-html.home-page .nav-narratage-mark svg { display: block; width: 100%; height: 100%; }-html.home-page .nav-narratage-wordmark {- display: inline-flex;- align-items: center;- width: auto;- height: 30px;- gap: .09em;- color: var(--ink);- font-size: 25px;- transform: translateY(1px);+ width: 1px;+ height: 44px;+ margin-left: 22px;+ background: var(--rule);}-html.home-page .nav-narratage-wordmark .narratage-wordmark-letter { height: 25px; }html.home-page .VPNavBarMenuLink,html.home-page .VPNavBarMenuGroup .text,@@ -215,20 +210,45 @@ html.home-page .VPNavScreen { background: var(--paper); }html.home-page .VPNav .DocSearch-Button,html.home-page .VPNav .VPNavBarSearchButton {+ height: 38px;+ border: 1px solid var(--ink);border-radius: 0;- border-color: var(--ink);+ padding: 0 10px 0 12px;background: transparent;- color: var(--ink);+ color: var(--muted);font-family: var(--mono);+ font-size: 13px;}-html.home-page .VPNav .DocSearch-Button:hover { border-color: var(--crimson); }-html.home-page .VPNav .DocSearch-Button-Placeholder,-html.home-page .VPNav .DocSearch-Button-Key { color: var(--muted); }+html.home-page .VPNav .DocSearch-Button:hover { border-color: var(--crimson); color: var(--ink); }+html.home-page .VPNav .DocSearch-Button-Placeholder { color: var(--muted); font-size: 13px; }+html.home-page .VPNav .DocSearch-Button-Keys { gap: 2px; }html.home-page .VPNav .DocSearch-Button-Key {+ width: auto;+ min-width: 0;border-radius: 0;+ padding: 1px 5px;background: transparent;box-shadow: inset 0 0 0 1px var(--rule);+ color: var(--muted);+ font-family: var(--mono);+ font-size: 11px;+ letter-spacing: .06em;+}+html.home-page .VPNavBarSearch { padding-left: 22px; }++/*+ * Stock draws a `::before` separator before each of the three icon controls. The+ * React header has one rule before the group, so the first is kept and restyled+ * to match the brand divider, and the other two are dropped.+ */+html.home-page .VPNavBarTranslations { margin-left: 28px; }+html.home-page .VPNavBarTranslations::before {+ height: 44px;+ margin-right: 10px;+ background-color: var(--rule);}+html.home-page .VPNavBarAppearance::before,+html.home-page .VPNavBarSocialLinks::before { display: none; }/* The appearance toggle also renders inside this flyout between 768 and 1279px. */html.home-page .VPMenu {@@ -246,31 +266,22 @@ html.home-page .VPHome { margin-bottom: 0; overflow-x: clip; }html.home-page .VPContent,html.home-page .VPPage { background: var(--paper); }-html.home-page .VPHero { padding: 104px var(--pad) 0; }+html.home-page .VPHero { padding: calc(var(--vp-nav-height) + 20px) 0 28px; }html.home-page .VPHomeHero .container {max-width: 1280px;margin-inline: auto;+ padding-inline: var(--pad);text-align: left;}html.home-page .VPHomeHero .main { width: 100%; max-width: none; }-.np-masthead-meta { display: flex; align-items: center; gap: 22px; }-.np-masthead-label {- flex: 0 0 auto;- color: var(--muted);- font-size: 11px;- letter-spacing: .16em;- text-transform: uppercase;-}-.np-masthead-rule { flex: 1; }-.np-masthead-wrap { position: relative; }.np-masthead-wordmark {display: block;width: 52%;height: auto;- margin: 6px 0 0;+ margin: 0;}.np-masthead-ink { fill: var(--ink); }.np-masthead-red { fill: var(--crimson); }@@ -381,7 +392,7 @@ html.home-page .VPHome .vp-doc.container {/* A flex item in `.Layout`, so it needs an explicit width to stop shrinkingto its columns before the cap and the auto margins can centre it. */width: 100%;- max-width: calc(1280px + var(--pad) * 2);+ max-width: 1280px;margin: 0 auto;border-top: 1px solid var(--rule);padding: 44px var(--pad) 52px;@@ -467,7 +478,7 @@ html.home-page.dark .svml-demo {--demo-marker-active-text: #131211;}-.demo-heading { margin: 0 0 28px; }+.demo-heading { margin: 26px 0 20px; }.vp-doc .demo-heading h2 { margin: 0; border: 0; padding: 0; color: var(--ink); font-family: var(--mono); font-size: clamp(15px, 1.7vw, 19px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }.VPHome .vp-doc .demo-heading h2 { font-size: clamp(15px, 1.7vw, 19px); }.touch-interaction-copy { display: none; }@@ -558,68 +569,12 @@ html.home-page.dark .svml-demo {.ranking-track .segment:nth-child(1) { background: var(--demo-segment-cyan); }.ranking-track .segment:nth-child(2) { background: var(--demo-segment-green); }.ranking-track .segment:nth-child(3) { background: var(--demo-segment-gold); }.ranking-track .segment:nth-child(4) { background: var(--demo-segment-pink); }.ranking-track .segment:nth-child(5) { background: var(--demo-segment-violet); }.demo-provenance { margin: 12px 4px 0 !important; color: var(--muted); font-size: 11px; text-align: right; }.demo-provenance code { color: var(--crimson); background: transparent; }-/* ============================================================- Intro sequence- ============================================================ */--/* The nav wordmark types itself in; the layout rules below it are load-bearing. */-.narratage-wordmark { display: inline-flex; align-items: flex-end; gap: .09em; color: currentColor; vertical-align: bottom; }-.narratage-wordmark-letter { display: block; width: var(--narratage-letter-width); height: 1em; flex: 0 0 auto; }-.narratage-wordmark-letter svg { display: block; width: 100%; height: 100%; color: inherit; }-.narratage-wordmark.is-animated .narratage-wordmark-letter { opacity: 0; transform: translateY(.12em); animation: wordmark-letter-type .11s cubic-bezier(.22,1,.36,1) forwards; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(1) { animation-delay: .18s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(2) { animation-delay: .25s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(3) { animation-delay: .32s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(4) { animation-delay: .39s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(5) { animation-delay: .46s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(6) { animation-delay: .53s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(7) { animation-delay: .60s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(8) { animation-delay: .67s; }-.narratage-wordmark.is-animated .narratage-wordmark-letter:nth-child(9) { animation-delay: .74s; }-@keyframes wordmark-letter-type { to { opacity: 1; transform: translateY(0); } }--/*- * The masthead reveals in the same rhythm — label, hairline, wordmark, then the- * reading order below it — and hands off to the demo cards, which continue the- * sequence at 1.59s in SvmlDemoCarousel.vue. Keep the tail delays in step.- */-.np-masthead-label { opacity: 0; animation: hero-content-rise .32s cubic-bezier(.22,1,.36,1) .1s forwards; }-.np-masthead-rule { transform: scaleX(0); transform-origin: left; animation: hero-rule-draw .52s cubic-bezier(.22,1,.36,1) .16s forwards; }-/* Nine steps, one per letter of NARRATAGE — a typewriter, without nine elements. */-.np-masthead-wordmark { clip-path: inset(0 100% 0 0); animation: hero-wordmark-wipe .62s steps(9, end) .34s forwards; }-.np-masthead-stamp { opacity: 0; animation: hero-content-rise .4s cubic-bezier(.22,1,.36,1) .8s forwards; }-.np-masthead-tagline,-.np-masthead-subline,-.VPHome .VPHero .actions,-.VPHome .carousel-heading {- opacity: 0;- transform: translateY(12px);- animation: hero-content-rise .4s cubic-bezier(.22,1,.36,1) forwards;-}-.np-masthead-tagline { animation-delay: 1.03s; }-.np-masthead-subline { animation-delay: 1.17s; }-.VPHome .VPHero .actions { animation-delay: 1.31s; }-.VPHome .carousel-heading { animation-delay: 1.45s; }-@keyframes hero-content-rise { to { opacity: 1; transform: translateY(0); } }-@keyframes hero-rule-draw { to { transform: scaleX(1); } }-@keyframes hero-wordmark-wipe { to { clip-path: inset(0 0 0 0); } }--.hero-intro-seen .narratage-wordmark.is-animated .narratage-wordmark-letter,-.hero-intro-seen .np-masthead-label,-.hero-intro-seen .np-masthead-stamp,-.hero-intro-seen .np-masthead-tagline,-.hero-intro-seen .np-masthead-subline,-.hero-intro-seen .VPHome .VPHero .actions,-.hero-intro-seen .VPHome .carousel-heading { opacity: 1; transform: none; animation: none; }-.hero-intro-seen .np-masthead-rule { transform: none; animation: none; }-.hero-intro-seen .np-masthead-wordmark { clip-path: none; animation: none; }-/* ============================================================Breakpoints============================================================ */@media (max-width: 900px) {- html.home-page .VPHero { padding-top: 88px; }+ html.home-page .VPHero { padding-top: calc(var(--vp-nav-height) + 16px); }.demo-shell { grid-template-columns: 1fr; }.source-panel { border-right: 0; border-bottom: 1px solid var(--rule-soft); }.code-scroll { height: 390px; }@@ -642,7 +597,6 @@ html.home-page.dark .svml-demo {}@media (max-width: 520px) {- .np-masthead-meta { gap: 14px; }.np-masthead-wordmark { width: 100%; }.np-footer-grid { gap: 32px; }.code-line { font-size: 12.5px; }@@ -652,21 +606,7 @@ html.home-page.dark .svml-demo {.real-semantic-controls { margin-inline: 12px; grid-template-columns: minmax(0,1fr); }}-/*- * Scoped to the home page: documentation pages keep the stock theme's own motion.- * Enumerated rather than blanket-disabled, because zeroing `animation-duration`- * alone leaves these elements invisible for the length of their delay.- */@media (prefers-reduced-motion: reduce) {- html.home-page .narratage-wordmark.is-animated .narratage-wordmark-letter,- html.home-page .np-masthead-label,- html.home-page .np-masthead-stamp,- html.home-page .np-masthead-tagline,- html.home-page .np-masthead-subline,- html.home-page .VPHome .VPHero .actions,- html.home-page .VPHome .carousel-heading { opacity: 1; transform: none; animation: none !important; }- html.home-page .np-masthead-rule { transform: none; animation: none !important; }- html.home-page .np-masthead-wordmark { clip-path: none; animation: none !important; }html.home-page .VPHero .VPButton.brand::after,html.home-page .VPNavBarMenuLink::after { transition: none; }}