"<!doctype html>\n<html lang=\"en\" data-hero-query=\"\">\n<head><script>if(window.frameElement?.closest('.ninnin-hero-stage'))document.documentElement.setAttribute('data-nn-host-dock','')</script><style>html[data-nn-host-dock] .dock{display:none!important}</style>\n  <meta charset=\"utf-8\">\n  <meta name=\"viewport\" content=\"width=device-width,initial-scale=1,viewport-fit=cover\">\n  <meta name=\"theme-color\" content=\"#708d53\">\n  <title>NiNNiN — The courtyard</title>\n\n  <link rel=\"preload\" as=\"fetch\" crossorigin=\"anonymous\" href=\"https://framerusercontent.com/assets/X4XdPR60ylQEHcZwYQYd1q6Fw.webp\">\n  <link rel=\"preload\" as=\"image\" crossorigin=\"anonymous\" href=\"https://framerusercontent.com/assets/VbbM1IetAjjskmV9WxgaYyoFQ.webp\" media=\"(prefers-reduced-motion: no-preference)\">\n  <style>@font-face{font-family:Inter;src:url(\"https://framerusercontent.com/assets/HcBE9IJP1a9rtZ7kicPoGnz8.woff2\") format(\"woff2\");font-style:normal;font-weight:100 900;font-display:swap}html:lang(en) body{font-weight:500}\n*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:transparent;color:#212322;font-family:Inter,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #eab759;outline-offset:5px}#stage{position:fixed;inset:0;overflow:hidden;touch-action:none;cursor:crosshair;user-select:none}#world-art{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none;will-change:transform}#actor{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#destination{position:absolute;width:25px;height:12px;border:2px solid #fff7df;border-radius:50%;opacity:0;pointer-events:none;box-shadow:0 0 0 1px #8d775f70;transition:opacity .25s}#actor-hit{position:absolute;border:0;background:transparent;border-radius:40%;cursor:pointer}.hotspot{position:absolute;pointer-events:none}header{position:fixed;inset:0 0 auto;z-index:5;height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:#fff;pointer-events:none}.clear-button{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:16px;font-size:13px;font-weight:700;min-height:44px;pointer-events:auto;padding:8px 0;text-shadow:0 1px 5px #21232240}.brand{position:absolute;left:50%;transform:translateX(-50%);padding:0}.brand img{width:158px;height:62px;object-fit:contain}.hamburger{width:24px;height:16px;border-top:2px solid;border-bottom:2px solid;position:relative}.hamburger:after{content:'';position:absolute;top:5px;left:0;width:18px;border-top:2px solid}.language{font-size:13px;font-weight:700;text-shadow:0 1px 5px #21232240}.dock{position:fixed;z-index:6;bottom:20px;left:50%;transform:translateX(-50%);--dock-rest:248px;--dock-open:304px;--dock-pad:14px;--dock-gap:var(--ninnin-dock-gap);--highlight-inset:4px;--highlight-overhang:calc(var(--dock-pad) - var(--highlight-inset));width:var(--dock-rest);height:58px;display:flex;gap:var(--dock-gap);padding:4px var(--dock-pad);background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:0;border-radius:999px;box-shadow:0 2px 8px rgba(33,35,34,.07)}.dock :is(a,button){display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:999px;font-size:12px;font-weight:500;color:#212322}.dock .dock-icon{display:block;width:24px;height:24px;flex:none;fill:#212322;stroke:none}#status{position:fixed;z-index:8;bottom:112px;left:50%;transform:translateX(-50%);background:#faf7efed;border-radius:30px;padding:10px 18px;font-size:12px;pointer-events:none}#status:empty{display:none}#menu-card{position:fixed;z-index:8;left:28px;top:88px;width:230px;border-radius:18px;padding:12px;background:#faf7ef;box-shadow:0 8px 40px #21232230}#menu-card button,#menu-card a{display:block;width:100%;border:0;background:transparent;text-align:left;padding:14px 12px;font-size:13px;border-radius:10px;color:#212322}#menu-card button:hover,#menu-card a:hover{background:#e6ecdd}[hidden]{display:none!important}@media(max-width:1100px){.dock{bottom:24px}}@media(max-width:699px){header{height:76px;padding:0 18px}.brand img{width:125px;height:51px}.language{font-size:11px}#menu-button>span:last-child{display:none}.dock{bottom:calc(40px + env(safe-area-inset-bottom));height:56px}#status{bottom:158px}#menu-card{left:16px;top:80px;width:220px}}\n#actor{z-index:2}.object-shape{z-index:1}#actor-hit{z-index:3}.map-tag{z-index:4}\n\n#map-atmosphere{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}\n#map-atmosphere canvas{position:absolute;pointer-events:none}\n@media (prefers-reduced-motion: reduce){#map-atmosphere{display:none}}\n\n/* The approved artwork is an untouched layer. All UI and WebGL live above it. */\n#map-ground{position:absolute;top:0;left:0;width:1920px;height:1080px;transform-origin:0 0;pointer-events:none;will-change:transform}\n#map-ground img{position:absolute;inset:0;width:100%;height:100%;max-width:none;pointer-events:none;user-select:none}\n#world-art{will-change:auto;filter:none}\n#stage:focus{outline:none}#stage:focus-visible{outline:3px solid #fff7df;outline-offset:-5px}\n.header-actions{margin-left:auto;display:flex;align-items:center;gap:18px;pointer-events:auto}\n.language{border:0;background:none;color:inherit;min-width:66px}\n.map-button svg{width:25px;height:25px;fill:currentColor}.map-button circle{fill:#668352}\n.spot-label{left:50%;top:-25px;transform:translateX(-50%)}\n.map-tag{position:absolute;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 15px 0 12px;white-space:nowrap;border-radius:20px;background:#fffaf0;color:#212322;font-size:14px;font-weight:700;line-height:1;box-shadow:0 2px 6px #21232216}\n.map-tag .tag-text{position:relative;top:1px}\n.map-tag::before{content:'';flex:0 0 6px;height:6px;border-radius:50%;background:currentColor}\n/* The link, its visible silhouette and its tag share one interaction state. */\n.object-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}\n.object-shape path{fill:transparent;stroke:transparent;stroke-width:4px;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:fill;transition:stroke 140ms ease}\n.map-item:is(.is-hovered,:focus-visible,:has(:focus-visible)) .object-shape path{stroke:#fffbec}\n.map-tag{opacity:0;translate:0 5px;pointer-events:none;transition:opacity 150ms ease,translate 170ms ease-out}\n.map-item:is(.is-hovered,:focus-visible,:has(:focus-visible)) .map-tag{opacity:1;translate:0 0;pointer-events:auto}\n.hotspot:focus-visible,#actor-hit:focus-visible{outline:none}\n#stage:has(#character-controls.is-hovered,#character-controls :focus-visible) #actor{filter:url(#actor-outline)}\n#stage.mouse-picks #actor-hit{border-radius:0}\n#stage.mouse-picks #actor-hit:not(.on-model){pointer-events:none}\n#mail-spot .spot-label{left:calc(100% + 8px);top:18.13%;transform:translateY(-50%)}\n@media(max-width:699px){#mail-spot .spot-label{left:calc(100% + 4px)}}\n.clear-button,.language{font-size:14px}\n.instagram{position:fixed;right:32px;bottom:35px;width:44px;height:44px;z-index:6;display:grid;place-items:center;color:white;filter:drop-shadow(0 1px 3px #21232240)}\n.instagram svg{width:29px;height:29px;stroke:currentColor;stroke-width:2;fill:none}.instagram .ig-dot{fill:currentColor;stroke:none}\n#menu-card hr{border:0;border-top:1px solid #21232222;margin:6px 12px}#menu-card button,#menu-card a{font-size:14px}\n#page-preview{border:0;padding:0;background:#faf7ef;border-radius:18px;width:min(1050px,94vw);max-height:90dvh;color:#212322;box-shadow:0 20px 100px #21232250;overflow:auto}\n#page-preview::backdrop{background:#21232266;backdrop-filter:blur(5px)}\n.dialog-bar{position:sticky;top:0;background:#faf7efef;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;z-index:1;border-bottom:1px solid #21232222}.dialog-bar h1{margin:0;font-size:18px;font-weight:700}.dialog-bar button{border:0;background:#e6ecdd;color:#212322;border-radius:50%;font-size:28px;width:40px;height:40px;line-height:1}\n#page-preview:not([data-section=\"about\"]) #about-panel,#page-preview:not([data-section=\"contact\"]) #contact-faq,#page-preview[data-section=\"about\"] #preview-image,html:lang(en) .menu-panel [lang=\"ja\"],html:lang(ja) .menu-panel [lang=\"en\"]{display:none}\n#page-preview[data-section=\"about\"]{max-width:620px}\n.menu-panel{padding:clamp(16px,4vw,32px);color:#212322}\n.menu-panel h2{font-size:clamp(19px,2.3vw,27px);line-height:1.2;margin:0 0 .5em}\n.menu-panel p{font-size:15px;line-height:1.55;margin:.4em 0}\n#about-panel{display:flex;align-items:center;gap:clamp(12px,3vw,24px)}\n#about-panel img{width:clamp(65px,15vw,108px);height:auto}\n#contact-faq{border-bottom:1px solid #21232230}\n#contact-faq details{border-top:1px solid #21232230}\n#contact-faq summary{cursor:pointer;padding:12px 0;font-weight:700}\n#contact-faq details p{margin:0 0 12px}\n#contact-faq a{text-decoration:underline;text-underline-offset:3px}\n#contact-faq summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}\n#preview-image{display:block;width:100%;height:auto}\n@media(max-width:1100px){.instagram{bottom:33px;right:22px}}\n@media(max-width:699px){.header-actions{gap:8px}.brand img{width:118px;height:48px}.language{font-size:12px;min-width:56px}.map-button svg{width:22px;height:22px}.instagram{right:14px;bottom:198px;width:36px;height:36px}.map-tag{height:30px;font-size:13px;padding:0 13px 0 10px}#menu-card{width:230px}#page-preview{max-height:92dvh;width:94vw}}\n@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}\n\n/* The approved paw outline is a crisp SVG mask; alternating steps replace the crosshair. */\n#stage{cursor:grab}#stage.walkable{cursor:none}#stage.dragging{cursor:grabbing}\n.paw{position:absolute;display:block;width:21px;height:20px;background:#777873;-webkit-mask:url('https://framerusercontent.com/assets/zq4tDjfGgTEYv5Qguffz3MuWvXk.svg') center/contain no-repeat;mask:url('https://framerusercontent.com/assets/zq4tDjfGgTEYv5Qguffz3MuWvXk.svg') center/contain no-repeat;pointer-events:none}\n#footprints{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0;pointer-events:none;z-index:1}\n#footprints .paw{width:24px;height:24px;background:#795e46}\n#path-cursor{position:absolute;z-index:7;width:40px;height:43px;pointer-events:none;transform:translate(-50%,-50%) rotate(var(--paw-angle,0deg))}\n#path-cursor .paw:first-child{left:0;top:22px;transform:rotate(-9deg);animation:paw-walk 1.1s infinite}\n#path-cursor .paw:last-child{right:0;top:0;transform:rotate(9deg);animation:paw-walk 1.1s .55s infinite}\n@keyframes paw-walk{0%,100%{opacity:.24;scale:.93}25%,55%{opacity:.88;scale:1}80%{opacity:.30;scale:.95}}\n#destination{z-index:2;width:20px;height:20px;border:0;border-radius:0;box-shadow:none;transform:translate(-50%,-50%) rotate(var(--paw-angle,0deg)) scaleY(.82);transition:opacity .2s;pointer-events:none}\n#destination .paw{width:20px;height:20px;opacity:0;background:#624c3a}\n#destination .paw:first-child{left:-14px;top:19px;transform:rotate(-9deg)}\n#destination .paw:last-child{left:0;top:0;transform:rotate(9deg)}\n#destination.stamping .paw{animation:paw-stamp .78s both}\n#destination.stamping .paw:last-child{animation-delay:.18s}\n@keyframes paw-stamp{0%{opacity:0;scale:1.12}12%,66%{opacity:.8;scale:1}100%{opacity:0;scale:1}}\n@media(prefers-reduced-motion:reduce){#path-cursor .paw:first-child,#path-cursor .paw:last-child{animation:none;opacity:.72}#destination.stamping .paw{animation:none;opacity:.72}}\n\n/* Reveal the character only under its loading-complete ninjutsu smoke. */\n#actor{opacity:0}\n#spell-fire{position:absolute;z-index:2;pointer-events:none}\n#entrance-smoke{position:absolute;z-index:4;pointer-events:none;transform-origin:0 0}\n#arrival-smoke{position:absolute;left:0;top:0;width:176px;height:176px;z-index:4;contain:strict;overflow:hidden;pointer-events:none;transform-origin:0 0}\n#arrival-smoke img{position:absolute;left:0;top:0;width:1584px;max-width:none;will-change:transform}\n#spell-chant{position:absolute;left:0;top:0;z-index:4;pointer-events:none;white-space:nowrap;color:#fff;font-size:20px;line-height:1;text-shadow:none}\n#spell-chant img{display:block;width:100%;height:auto}\n@media(prefers-reduced-motion:reduce){#arrival-smoke,#spell-chant,#entrance-smoke{display:none!important}}\n</style>\n<script id=\"nn-panel-routes\">\nconst nnPanels = new Map([\n ['ramen', {path:'/menu', title:'Ramen menu'}],\n ['about', {path:'/about', title:'About NiNNiN', source:'https://framerusercontent.com/assets/H0oZk7zm2lZZSm4GsHJn5krORmE.json'}],\n ['contact', {path:'/contact', title:'Contact', source:'https://framerusercontent.com/assets/7TsOR7RZrgUJhJy0VIPY101V7g.json'}],\n ['visit', {path:'/locations', title:'Locations', source:'https://framerusercontent.com/assets/O6bHxxp6OtuBADjvO3CCvhJB4.json'}]\n]);\nconst nnPanelOrder = [...nnPanels.keys()];\nconst nnPanelAt = path => nnPanelOrder.find(key => nnPanels.get(key).path === path.replace(/\\/$/, ''));\n</script><script>const heroFiles = {\"assets/chant/fire-chant.svg\":\"https://framerusercontent.com/images/73v9sOaMprrTe3QeV4K7KcoWUN0.svg\",\"assets/character/map-poses/layout.json\":\"https://framerusercontent.com/assets/AJGlW4aSmrUBPtiYzX0zRYkQIY.json\",\"assets/character/map-mesh/part-0-uv.deflate\":\"https://framerusercontent.com/assets/BFO52fYUEjruJy2g3JEYKd4zWQ.deflate\",\"assets/NiNNiN-Hero-1280.webp\":\"https://framerusercontent.com/assets/XznJzaaxcMp9sLbAnhmq2dSI7Ak.webp\",\"assets/NiNNiN-Hero-1920.webp\":\"https://framerusercontent.com/assets/XHiYwNlqC5HtAczNLF9oqXSkY.webp\",\"assets/Inter-Bold-ui.woff\":\"https://framerusercontent.com/assets/bXUPmpEE8uLSZkfHuhzy0gxOU.woff\",\"assets/Inter-Regular-ui.woff\":\"https://framerusercontent.com/assets/z6brB9m2v11CLHoaiv2DYGPofw.woff\",\"assets/NiNNiN-Hero-2560.webp\":\"https://framerusercontent.com/assets/F1IO5FpKZR9Om5mh4QNFm4BvsA.webp\",\"assets/character/arrival-smoke.webp\":\"https://framerusercontent.com/assets/VbbM1IetAjjskmV9WxgaYyoFQ.webp\",\"assets/character/cast-ignition.json\":\"https://framerusercontent.com/assets/ZSBdhrxn1MwxrPYoEOxphO4tUs.json\",\"assets/NiNNiN-Hero-3840.webp\":\"https://framerusercontent.com/assets/U50KqYNIZmUPQ947GdjE84iErck.webp\",\"assets/chant/vanish-chant.svg\":\"https://framerusercontent.com/images/2zjXaeMzEzYAyZVLrar4dCCIyE.svg\",\"assets/character/map-mesh/1001-Metallic.webp\":\"https://framerusercontent.com/assets/CW2XXmMzVJw9urotBRNKcAb2QNk.webp\",\"assets/character/cast-ignition.webp\":\"https://framerusercontent.com/assets/PR8hVTFMBJs5ZDrBCUAYyRFiKo.webp\",\"assets/character/map-mesh/1001-BaseColor.webp\":\"https://framerusercontent.com/assets/heqoZYWzAx34vVS0Ng9G4bgc4.webp\",\"assets/character/map-mesh/1001-Normal.webp\":\"https://framerusercontent.com/assets/OC0bBELcv2DMomwIfk1886fXK0.webp\",\"assets/character/map-mesh/1002-Metallic.webp\":\"https://framerusercontent.com/assets/CW2XXmMzVJw9urotBRNKcAb2QNk.webp\",\"assets/character/map-mesh/1002-BaseColor.webp\":\"https://framerusercontent.com/assets/NaFzKB6QTQWDCXhDmK2cKonws.webp\",\"assets/character/map-mesh/1002-Normal.webp\":\"https://framerusercontent.com/assets/JfWbKdbwAnHhdHTEZqSaXZX1Ty4.webp\",\"assets/character/map-mesh/1001-Roughness.webp\":\"https://framerusercontent.com/assets/6hWTCSw77tTN6dbqzVIO64snys.webp\",\"assets/character/map-mesh/1002-Roughness.webp\":\"https://framerusercontent.com/assets/YE1gjmHoCfMoUApdl3eZoL3AQ8.webp\",\"assets/character/map-mesh/1003-Normal.webp\":\"https://framerusercontent.com/assets/24rVNc5MGhahGCotlpZn2DZOnc.webp\",\"assets/character/map-mesh/1003-Metallic.webp\":\"https://framerusercontent.com/assets/n98S8yEILSp8sNzN7g5x10JStCc.webp\",\"assets/character/map-mesh/1003-BaseColor.webp\":\"https://framerusercontent.com/assets/z97UQDX9XZis7rv7UuXDg1Rs0w.webp\",\"assets/character/map-mesh/flip.json\":\"https://framerusercontent.com/assets/ZKgaSH6QUwe1k21PAu60Md0tjkc.json\",\"assets/character/map-mesh/1003-Roughness.webp\":\"https://framerusercontent.com/assets/cLrZJ01l7os3NKxi7li01pcE8Pc.webp\",\"assets/character/map-mesh/curious.json\":\"https://framerusercontent.com/assets/pHtxEm99u6Qr3H79wH74fUjLK8.json\",\"assets/character/map-mesh/cast.json\":\"https://framerusercontent.com/assets/6LgE6sBY2RnSaHsaF4v172Lsw.json\",\"assets/character/map-mesh/idle.json\":\"https://framerusercontent.com/assets/p9khMgVn9jGBLsg5XcX5ha1zXA.json\",\"assets/character/map-mesh/manifest.json\":\"https://framerusercontent.com/assets/oMTrmLjSJRHP8NJhPL9Z4wGM.json\",\"assets/character/map-mesh/part-0-cast.deflate\":\"https://framerusercontent.com/assets/YqHqZ1oDCwrPcXo2roD4ng10g9M.deflate\",\"assets/character/map-mesh/part-0-animation.deflate\":\"https://framerusercontent.com/assets/mrLOOvGCXjwLQjua6a511NiRSw.deflate\",\"assets/character/map-mesh/part-0-curious.deflate\":\"https://framerusercontent.com/assets/0cQ2bBFk2aIC0YkdKBx60mpM.deflate\",\"assets/character/map-mesh/part-0-indices.deflate\":\"https://framerusercontent.com/assets/nnwsFNOd4JNc9rnc7QfBoOilo.deflate\",\"assets/character/map-mesh/part-0-idle.deflate\":\"https://framerusercontent.com/assets/nU0vDzxVjHCQt3uQRUvOh19lcDw.deflate\",\"assets/character/map-mesh/part-0-flip.deflate\":\"https://framerusercontent.com/assets/fOerbyKcX8tmiS6VvangZcf20QA.deflate\",\"assets/character/map-mesh/part-0-seal.deflate\":\"https://framerusercontent.com/assets/7udiMzy6KZOuMuQPLwEO59EQ.deflate\",\"assets/character/map-mesh/part-0-wave.deflate\":\"https://framerusercontent.com/assets/5QZgek1Y58eVhhUxg8S4lGSED4.deflate\",\"assets/character/map-mesh/part-1-animation.deflate\":\"https://framerusercontent.com/assets/hkIHwnjrrFwklVu7U3HmmmSKik.deflate\",\"assets/character/map-mesh/part-1-cast.deflate\":\"https://framerusercontent.com/assets/47K6P8jMIQxpLiPz0ZLk5DxaUo.deflate\",\"assets/character/map-mesh/part-1-curious.deflate\":\"https://framerusercontent.com/assets/OVFtJMF9iQE2E5xGUtb32iE8O8.deflate\",\"assets/character/map-mesh/part-1-indices.deflate\":\"https://framerusercontent.com/assets/e4wVOKZMXHVmtSSffat1wSnpJU.deflate\",\"assets/character/map-mesh/part-1-idle.deflate\":\"https://framerusercontent.com/assets/5aSJEoEywAZW6s8WsieR3tPyWI.deflate\",\"assets/character/map-mesh/part-1-flip.deflate\":\"https://framerusercontent.com/assets/Zks7BSAJqFX68xdgUaUalh7oAs.deflate\",\"assets/character/map-mesh/part-1-wave.deflate\":\"https://framerusercontent.com/assets/Bgl8lDW8OvSg9jB9CRGT7x2lM.deflate\",\"assets/character/map-mesh/part-1-uv.deflate\":\"https://framerusercontent.com/assets/3lsXJSfb3j22SXmER19Trtwt8.deflate\",\"assets/character/map-mesh/part-1-seal.deflate\":\"https://framerusercontent.com/assets/rVrsF5QlSbbIfPw0UWuxavhIKM.deflate\",\"assets/character/map-mesh/part-2-animation.deflate\":\"https://framerusercontent.com/assets/HBBEjhlv4w9NV0TBov4i88CW4iI.deflate\",\"assets/character/map-mesh/part-2-curious.deflate\":\"https://framerusercontent.com/assets/IuPRlxIe8N5Y33XcaehRSpe5k.deflate\",\"assets/character/map-mesh/part-2-cast.deflate\":\"https://framerusercontent.com/assets/HegWPmggv28WeVQmTyQfokVUKA.deflate\",\"assets/character/map-mesh/part-2-idle.deflate\":\"https://framerusercontent.com/assets/MUgwhAGC72UDgUW7armfMocPU.deflate\",\"assets/character/map-mesh/part-2-flip.deflate\":\"https://framerusercontent.com/assets/lc8ffO0LcZ3XdgSomyMCCEuPWQ.deflate\",\"assets/character/map-mesh/part-2-seal.deflate\":\"https://framerusercontent.com/assets/qWCD0p7R3qbwDcau6xr2jFHGeA.deflate\",\"assets/character/map-mesh/part-2-indices.deflate\":\"https://framerusercontent.com/assets/DPV5MpwiAWDBzWi5jBO9iWlcLk.deflate\",\"assets/character/map-mesh/part-2-wave.deflate\":\"https://framerusercontent.com/assets/aHHEIWQz8IifcRD7FJ1B9sNdk.deflate\",\"assets/character/map-mesh/part-2-uv.deflate\":\"https://framerusercontent.com/assets/k3B146ovwhmWVyL9S6BCA9K53A.deflate\",\"assets/character/map-mesh/wave.json\":\"https://framerusercontent.com/assets/k4OkVMNG1OP9rBc80UPM97A5ds.json\",\"assets/character/map-mesh/seal.json\":\"https://framerusercontent.com/assets/BojvSAdD22DPrU01oY0Xu9h6B8.json\",\"assets/character/map-poses/curious.webp\":\"https://framerusercontent.com/assets/cXJCP1yrTvo64PTx6FXwXViVIU.webp\",\"assets/character/map-poses/cast.webp\":\"https://framerusercontent.com/assets/dB48mmZmYZBFsU13GDqbHK8HWNQ.webp\",\"assets/character/map-poses/idle.webp\":\"https://framerusercontent.com/assets/kWyZHxiAMlJj4DjSynfmR19waE.webp\",\"assets/character/map-poses/flip.webp\":\"https://framerusercontent.com/assets/Rq78Xl0Ud2rn3mm2CzXXC8qks.webp\",\"assets/character/map-poses/movement/pivot-0.webp\":\"https://framerusercontent.com/assets/dpJoQCfdPphFrAQahaiT6Zxb3fA.webp\",\"assets/character/map-poses/movement/pivot-1.webp\":\"https://framerusercontent.com/assets/iJt1xiuhwhJpTar6Ko05vZWc5c.webp\",\"assets/character/map-poses/movement/pivot-2.webp\":\"https://framerusercontent.com/assets/viFxiDYFqxcCxfBE17BHYHASTs.webp\",\"assets/character/map-poses/movement/pivot-3.webp\":\"https://framerusercontent.com/assets/LcV3Jyi5XtLk8BYcG8iJHSENo.webp\",\"assets/character/map-poses/movement/stride-0.webp\":\"https://framerusercontent.com/assets/Z0LHfxV5FRvre5lZdTUVOazchfg.webp\",\"assets/character/map-poses/movement/release.webp\":\"https://framerusercontent.com/assets/0Lw7rAMNR5t0TAAJezrzXBZEgU.webp\",\"assets/character/map-poses/movement/stride-1.webp\":\"https://framerusercontent.com/assets/IW1kV43zk7b3ilqeOl5IgVIOo.webp\",\"assets/character/map-poses/movement/stride-11.webp\":\"https://framerusercontent.com/assets/xbyAxfAccdQZ36IswTP9pnb9vE.webp\",\"assets/character/map-poses/movement/stride-12.webp\":\"https://framerusercontent.com/assets/pVXqqhHw8LHutm9eFnEYixFR7G4.webp\",\"assets/character/map-poses/movement/stride-10.webp\":\"https://framerusercontent.com/assets/Yx0l7APfNGeesNjPvZ3s2vVw.webp\",\"assets/character/map-poses/movement/stride-13.webp\":\"https://framerusercontent.com/assets/Z7IxrvawnuTqBvBpL25VoBcv2SE.webp\",\"assets/character/map-poses/movement/stride-15.webp\":\"https://framerusercontent.com/assets/mRQR3K0qrYN26WvRIb4B1UFRto.webp\",\"assets/character/map-poses/movement/stride-14.webp\":\"https://framerusercontent.com/assets/TE4ByZh4YTfLOXkreF3oHq9E.webp\",\"assets/character/map-poses/movement/stride-16.webp\":\"https://framerusercontent.com/assets/SYYXH6IlLHcHhRRZmp3dWYYlqSM.webp\",\"assets/character/map-poses/movement/stride-17.webp\":\"https://framerusercontent.com/assets/AL8uzz5fDnDEP4zeS5C6zHcTrsI.webp\",\"assets/character/map-poses/movement/stride-18.webp\":\"https://framerusercontent.com/assets/dWlIQNIfpeAz3KLY5bf4RoVB14.webp\",\"assets/character/map-poses/movement/stride-2.webp\":\"https://framerusercontent.com/assets/gpBULOPgJHAndDeIjtbtXI9QE8.webp\",\"assets/character/map-poses/movement/stride-19.webp\":\"https://framerusercontent.com/assets/rHeH38tYDfVG71UmKXqfxnjDDYw.webp\",\"assets/character/map-poses/movement/stride-20.webp\":\"https://framerusercontent.com/assets/8slMU4glF1Ta8JKwtE2zuvui0.webp\",\"assets/character/map-poses/movement/stride-21.webp\":\"https://framerusercontent.com/assets/CoF88Jp5Jpg2wIM76BbWLPfb8.webp\",\"assets/character/map-poses/movement/stride-22.webp\":\"https://framerusercontent.com/assets/vOaPpJyHQBngZeVQH8cU5UgBrhc.webp\",\"assets/character/map-poses/movement/stride-23.webp\":\"https://framerusercontent.com/assets/SFjRvPu38UHmdXkiL712wqzoQM.webp\",\"assets/character/map-poses/movement/stride-24.webp\":\"https://framerusercontent.com/assets/NlfGjUvrGFy1rLGOckEJUGERqNY.webp\",\"assets/character/map-poses/movement/stride-26.webp\":\"https://framerusercontent.com/assets/HjktjZVwHZ6KfVSYedWZ15otg.webp\",\"assets/character/map-poses/movement/stride-25.webp\":\"https://framerusercontent.com/assets/wHUP5p2FpHRUbl6vOLH3NH80.webp\",\"assets/character/map-poses/movement/stride-27.webp\":\"https://framerusercontent.com/assets/AGn6oYRajSbTXfwcUvilzfExQk.webp\",\"assets/character/map-poses/movement/stride-29.webp\":\"https://framerusercontent.com/assets/nQGMyZDeMXSRXEzjNB2MIK4MAWA.webp\",\"assets/character/map-poses/movement/stride-28.webp\":\"https://framerusercontent.com/assets/7vaM5WkuY8t7o7Se2b7CVQq5o4.webp\",\"assets/character/map-poses/movement/stride-30.webp\":\"https://framerusercontent.com/assets/7DPmv5PAaWTq6YfaIX5ge6vi8BU.webp\",\"assets/character/map-poses/movement/stride-3.webp\":\"https://framerusercontent.com/assets/HhJ6bMAZ3bivBVmB3TW33DbnLc.webp\",\"assets/character/map-poses/movement/stride-32.webp\":\"https://framerusercontent.com/assets/L7CcTg5Aqty7MeccV3wYaFrFWS4.webp\",\"assets/character/map-poses/movement/stride-31.webp\":\"https://framerusercontent.com/assets/u2TlAmrmKYRWRWG3DvhAnSEVF8.webp\",\"assets/character/map-poses/movement/stride-33.webp\":\"https://framerusercontent.com/assets/CfrETcLLXevUnGTCOajwNmiAP0.webp\",\"assets/character/map-poses/movement/stride-34.webp\":\"https://framerusercontent.com/assets/N3EwsIkPc2chUUa8vJWK8ryg9Y.webp\",\"assets/character/map-poses/movement/stride-36.webp\":\"https://framerusercontent.com/assets/VvQqPamjL9mr1lHrJvFxbol4gKI.webp\",\"assets/character/map-poses/movement/stride-35.webp\":\"https://framerusercontent.com/assets/6ihRjZ8O1w1YDm3QMtgv2NBp1YQ.webp\",\"assets/character/map-poses/movement/stride-37.webp\":\"https://framerusercontent.com/assets/2WH2IdhmaDgMv9psiDKR4Xf5OE.webp\",\"assets/character/map-poses/movement/stride-38.webp\":\"https://framerusercontent.com/assets/Pyp8alE59joHOVS9mSs2y0TjmI.webp\",\"assets/character/map-poses/movement/stride-39.webp\":\"https://framerusercontent.com/assets/iM25AHZsfNBDZsEPGZD4pzqFE.webp\",\"assets/character/map-poses/movement/stride-4.webp\":\"https://framerusercontent.com/assets/uBah973DJ48PkpOgEY97FSu3Ik.webp\",\"assets/character/map-poses/movement/stride-41.webp\":\"https://framerusercontent.com/assets/A7GZvlw1FoCGrWwz5IvGpfr0Yj4.webp\",\"assets/character/map-poses/movement/stride-40.webp\":\"https://framerusercontent.com/assets/WOyzEL5fJ7Ng1ViK9rg03BJLkg.webp\",\"assets/character/map-poses/movement/stride-42.webp\":\"https://framerusercontent.com/assets/osrhVjxbqJKd8gkqrOI3Q6i7WfM.webp\",\"assets/character/map-poses/movement/stride-43.webp\":\"https://framerusercontent.com/assets/GsahjHXvME06xa4Q3LSu6vUVdA.webp\",\"assets/character/map-poses/movement/stride-44.webp\":\"https://framerusercontent.com/assets/4fvNEli7r6h55ge2vNZR2YICRM.webp\",\"assets/character/map-poses/movement/stride-45.webp\":\"https://framerusercontent.com/assets/ELbeW3fEVqedPjauHCYkwDLaMU.webp\",\"assets/character/map-poses/movement/stride-46.webp\":\"https://framerusercontent.com/assets/QscA0mfuDrN0ft5pl9reDx6dQ.webp\",\"assets/character/map-poses/movement/stride-47.webp\":\"https://framerusercontent.com/assets/QDPzZWKNRvFwa9EWfqd5OcBr6Q.webp\",\"assets/character/map-poses/movement/stride-5.webp\":\"https://framerusercontent.com/assets/iAt8fTmajnSwfVRilKPUpftLgw.webp\",\"assets/character/map-poses/movement/stride-6.webp\":\"https://framerusercontent.com/assets/kvezgzUhN8AYu9fqel37DQcSuo.webp\",\"assets/character/map-poses/movement/stride-7.webp\":\"https://framerusercontent.com/assets/idjeBKCk4uoAte9guLuniqXPhZQ.webp\",\"assets/character/map-poses/seal.webp\":\"https://framerusercontent.com/assets/DcwP1zvX3dF4TCzZ2M5lrWU2s8.webp\",\"assets/character/map-poses/movement/stride-9.webp\":\"https://framerusercontent.com/assets/EvgLas18HgJ8MeCtGsjJJxa4A.webp\",\"assets/character/map-poses/movement/stride-8.webp\":\"https://framerusercontent.com/assets/4adHTPP5lUQn4UotUC7UJHw3Q.webp\",\"assets/character/vanish-smoke.json\":\"https://framerusercontent.com/assets/ZJRCNQmDprKnoxrLnmPQrMkTz4.json\",\"assets/character/map-poses/wave.webp\":\"https://framerusercontent.com/assets/Ew80LeOo6lV1a9pwoCaOsmQdSX8.webp\",\"assets/character/map-poses/walk.webp\":\"https://framerusercontent.com/assets/j2tO28ScwBAbouVGyh427hxNhiI.webp\",\"assets/character/vanish-smoke.webp\":\"https://framerusercontent.com/assets/PiBoo6mcXj19VFeJgDlJmplm8E.webp\",\"assets/chimney-billows.png\":\"https://framerusercontent.com/assets/jwXeIQRvl4pD9K9WzDzXJ1ZQqcg.png\",\"assets/wordmark-header.png\":\"https://framerusercontent.com/assets/5aXvbUcPRKtQZB1S4IRxIi6xE.png\",\"pages/Mobile/01-ramen.png\":\"https://framerusercontent.com/assets/A4BMdiZBehMWdeYMasVOVfQJ8jA.png\",\"assets/paw.svg\":\"https://framerusercontent.com/assets/zq4tDjfGgTEYv5Qguffz3MuWvXk.svg\",\"pages/Mobile/02-ninnin.png\":\"https://framerusercontent.com/assets/G06gMRQaVlp5nIcNNZWEQtVzVjE.png\",\"pages/Mobile/03-visit.png\":\"https://framerusercontent.com/assets/2018L0HQPSWBnJk10uiaFLZRBU.png\",\"pages/Mobile/04-contact.png\":\"https://framerusercontent.com/assets/XtGCnMrypedhZZJ6p6qQ8GOD8g.png\",\"pages/PC/01-ramen.png\":\"https://framerusercontent.com/assets/W1P6ZJ1UxJywDuY8m2vWwaE2c.png\",\"pages/PC/02-ninnin.png\":\"https://framerusercontent.com/assets/utK6O5Zx0WANPFCoRSgB9VO9rE.png\",\"pages/PC/03-visit.png\":\"https://framerusercontent.com/assets/B1Kfbq2kSV2ozq0R6qilIO2iZ0.png\",\"pages/PC/04-contact.png\":\"https://framerusercontent.com/assets/TOaqrwn8j3wIfgtcgGg7mIaWEVs.png\",\"pages/Tablet/01-ramen.png\":\"https://framerusercontent.com/assets/teXZzmp65e0Wv6P4kWftKp1HwUI.png\",\"pages/Tablet/02-ninnin.png\":\"https://framerusercontent.com/assets/1k2DIFGXX9c84ZsoY72h1GiynqA.png\",\"pages/Tablet/04-contact.png\":\"https://framerusercontent.com/assets/Qfbi03x8mhNIGYSwgvKNCysbic.png\",\"pages/Tablet/03-visit.png\":\"https://framerusercontent.com/assets/AWTTHS77bs8ZPnwxeN4PKrFyI7c.png\"};\nfunction heroAsset(name, directory) {\n const key = directory + name.split('?')[0];\n if (!heroFiles[key]) throw new Error('Missing courtyard file: ' + key);\n return heroFiles[key];\n}\nfunction heroImage(){const image=new Image();image.crossOrigin='anonymous';return image;}\n</script><style>\n.dock :is(a,button){position:relative;min-width:0;border:0;background:transparent;padding:0;line-height:1.2;text-align:center}\n.dock [id^=\"dock-name-\"],.dock #dock-walk-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}\n@property --ninnin-dock-gap{syntax:\"<length>\";inherits:true;initial-value:0px}\n.dock{--ninnin-dock-gap:0px;transition:width var(--ninnin-ui-slide) var(--ninnin-ui-ease),--ninnin-dock-gap var(--ninnin-ui-slide) var(--ninnin-ui-ease)}\n.dock[data-engaged]{width:var(--dock-open);--ninnin-dock-gap:10px}\n.dock :is(a,button){flex:1 1 0;min-width:0}\n.dock::before{\n content:\"\";position:absolute;pointer-events:none;left:var(--highlight-inset);inset-block:var(--highlight-inset);\n width:calc((100% - 2 * var(--dock-pad) - 4 * var(--dock-gap)) / 5 + 2 * var(--highlight-overhang));\n transform:translateX(calc(var(--dock-index,0) * (100% - 2 * var(--highlight-overhang) + var(--dock-gap))));\n background:var(--nn-dock-highlight);border-radius:999px;opacity:0;\n transition:opacity var(--ninnin-ui-fade) var(--ninnin-ui-ease),transform var(--ninnin-ui-slide) var(--ninnin-ui-ease)\n}\n.dock{--nn-dock-highlight:rgba(33,35,34,.08)}\n.dock:not([data-engaged])::before{transition-property:opacity}\n.dock[data-engaged]::before{opacity:1}\n.dock:has(> a[aria-current=\"page\"]) > :is(a,button):not([aria-current=\"page\"]) > :is(.dock-icon,.walk-icon-slot) {opacity:.55}\n@media(forced-colors:active) {\n  .dock:has(> a[aria-current=\"page\"]) > :is(a,button):not([aria-current=\"page\"]) > :is(.dock-icon,.walk-icon-slot) {opacity:1}\n}\n@media(forced-colors:active){.dock > a[aria-current=\"page\"]{outline:2px solid Highlight;outline-offset:-2px}}\n@media(max-width:699px){.dock{--dock-open:300px}}\n@media(prefers-reduced-motion:reduce){.dock,.dock::before{transition:none}}\n.dock .walk-icon-slot{display:grid;place-items:center;width:24px;height:24px;flex:none}\n.dock .walk-icon-slot>.dock-icon{grid-area:1 / 1;width:100%;height:100%;pointer-events:none}\n.dock button[data-playing=\"true\"] .play-glyph,.dock button[data-playing=\"false\"] .pause-glyph{visibility:hidden}\n.dock .dock-tip{position:absolute;bottom:calc(100% + 13px);left:50%;width:max-content;max-width:calc(100vw - 28px);transform:translate(-50%,3px);background:#212322;color:#fff;border-radius:8px;padding:7px 10px;font:500 12px/1.35 Inter,sans-serif;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .13s ease,transform .13s ease}\n.dock .dock-tip[role=tooltip]{border-radius:8px!important;corner-shape:var(--ninnin-capsule-curve,superellipse(1.25))!important}\n.dock.nn-tip-fallback .dock-tip[role=tooltip]{border-radius:0!important;clip-path:none!important;-webkit-mask-box-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 0H16C21.27 0 24 2.73 24 8V16C24 21.27 21.27 24 16 24H8C2.73 24 0 21.27 0 16V8C0 2.73 2.73 0 8 0Z'/%3E%3C/svg%3E\") 8 fill / 8px / 0 stretch}\n.dock :is(a,button):focus-visible .dock-tip{opacity:1;visibility:visible;transform:translate(-50%,0)}\n@media(hover:hover) and (pointer:fine){.dock [data-dock-hover] .dock-tip{opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:.12s}}\n.dock[data-dismiss-tip] .dock-tip{visibility:hidden!important;opacity:0!important}\n@media(max-width:699px){.dock .dock-tip{font-size:11px}.dock>:first-child .dock-tip{left:0;translate:50% 0}.dock>:last-child .dock-tip{left:auto;right:0;translate:50% 0}}\n\n@media(max-width:599px){.dock{height:52px}.dock :is(a,button){gap:3px}.dock .dock-icon,.dock .walk-icon-slot{width:22px;height:22px}.dock .walk-icon-slot>.dock-icon{width:100%;height:100%}}\n@media(prefers-reduced-transparency:reduce){.dock{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}\n</style><script>\nif (window.parent !== window) {\n  const theme = getComputedStyle(window.parent.document.documentElement);\n  for (const name of ['--ninnin-ui-ease','--ninnin-ui-slide','--ninnin-ui-fade']) {\n    const value = theme.getPropertyValue(name).trim();\n    if (value) document.documentElement.style.setProperty(name, value);\n  }\n}\n</script>\n<style>\n:root { --ninnin-ui-ease:cubic-bezier(.2,.72,.24,1.04); --ninnin-ui-slide:260ms; --ninnin-ui-fade:160ms }\n@media(prefers-reduced-motion:no-preference) {\n  .map-tag, .dock .dock-tip {transition-duration:var(--ninnin-ui-fade),var(--ninnin-ui-slide);transition-timing-function:var(--ninnin-ui-ease)}\n\n  .object-shape path,#destination {transition-duration:var(--ninnin-ui-fade);transition-timing-function:var(--ninnin-ui-ease)}\n}\n</style><style>\n@media (hover:none) and (pointer:coarse){.dock,.dock[data-engaged]{--dock-rest:min(var(--nn-phone-bar-width,304px),calc(100vw - 32px));--dock-open:var(--dock-rest);--dock-pad:var(--nn-phone-icon-pad,4px);--dock-gap:var(--nn-phone-icon-gap,8px);--highlight-overhang:calc(var(--dock-pad) - var(--highlight-inset));width:var(--dock-rest);gap:var(--dock-gap);padding-inline:var(--dock-pad)}}\n#nn-live-menu{position:fixed;z-index:1000;inset:0 0 auto;margin:0;padding:0;border:0;width:100%;height:calc(100% - var(--nn-browser-cover,0px));max-width:none;max-height:none;background:transparent;overflow:hidden}\n#nn-live-menu::backdrop{background:transparent}\n#nn-live-menu .nn-panel-surface::before{content:\"\";position:absolute;inset:var(--nn-sheet-edges,0);border-radius:var(--nn-sheet-radius,0);corner-shape:var(--nn-sheet-corner,round);box-shadow:0 20px 80px #2523113b;pointer-events:none}\n#nn-live-menu .nn-panel-surface,#nn-live-menu .nn-panel-viewport{position:absolute;inset:0}\n#nn-live-menu{--nn-sheet-radius:calc(var(--nn-shared-radius,29px) + 12px);--nn-sheet-corner:var(--ninnin-capsule-curve,superellipse(1.25))}\n@media(max-width:700px){#nn-live-menu{--nn-sheet-radius:36px}}\n#nn-live-menu .nn-panel-mask{position:absolute;inset:var(--nn-sheet-edges,0);overflow:hidden;isolation:isolate;border-radius:var(--nn-sheet-radius);corner-shape:var(--nn-sheet-corner)}\n#nn-live-menu .nn-panel-mask>.nn-panel-viewport{inset:var(--nn-frame-edges,0)}\n@supports not (corner-shape:superellipse(1.25)){#nn-live-menu .nn-panel-mask{border-radius:0;clip-path:var(--nn-mask-path)}}\n#nn-live-menu iframe{position:absolute;inset:0;border:0;width:100%;height:100%;display:block;background:transparent}\n#nn-live-menu .nn-panel-surface{opacity:0;transform:translateY(32px);transition:transform .22s cubic-bezier(.4,0,.6,1),opacity .2s ease}\n#nn-live-menu[data-visible] .nn-panel-surface{opacity:1;transform:translateY(0);transition:transform .38s cubic-bezier(.16,1,.3,1),opacity .28s ease-out}\nbody:has(#nn-live-menu[open]) .dock{visibility:hidden}\n@media(prefers-reduced-motion:reduce){#nn-live-menu .nn-panel-surface,#nn-live-menu[data-visible] .nn-panel-surface{transition:none;transform:none}}\n</style><style>@keyframes nn-slide-in {\n  from { translate: var(--nn-travel,100%) 0 }\n  to { translate: 0 0 }\n}\n@keyframes nn-slide-out {\n  from { translate: 0 0 }\n  to { translate: calc(-1 * var(--nn-travel,100%)) 0 }\n}\n@media (prefers-reduced-motion:no-preference) {\n  #nn-live-menu iframe[data-slide],\n  :root[data-cut]::view-transition-old(nn-about-body),\n  :root[data-cut]::view-transition-new(nn-about-body) {\n    animation: nn-slide-in 340ms cubic-bezier(.35,.02,.2,1) both;\n  }\n  #nn-live-menu iframe[data-slide=\"out\"],\n  :root[data-cut]::view-transition-old(nn-about-body) { animation-name: nn-slide-out }\n  #nn-live-menu iframe[data-slide] { clip-path:var(--nn-panel-window); transition:none; opacity:1; transform:none }\n  #nn-live-menu[open] .nn-panel-surface{will-change:transform,opacity}\n  :root[data-cut=\"back\"] { --nn-travel:-100% }\n  :root[data-cut] { view-transition-name:none }\n  :root[data-cut] .body { view-transition-name:nn-about-body }\n  :root[data-cut]::view-transition { pointer-events:none }\n  :root[data-cut]::view-transition-group(nn-about-body) { animation:none }\n  :root[data-cut]::view-transition-image-pair(nn-about-body) {\n    overflow:clip; isolation:isolate; border-radius:0 0 var(--nn-slide-radius) var(--nn-slide-radius);\n    corner-shape:superellipse(1.25);\n  }\n  :root[data-cut]::view-transition-old(nn-about-body),\n  :root[data-cut]::view-transition-new(nn-about-body) { mix-blend-mode:normal }\n}\n</style><script type=\"application/json\" id=\"nn-menu-source\">\"\\u003c!doctype html>\\u003chtml lang=\\\"en\\\">\\u003cmeta charset=\\\"utf-8\\\">\\u003cmeta name=\\\"viewport\\\" content=\\\"width=device-width,initial-scale=1\\\">\\u003ctitle>NiNNiN · Ramen\\u003c/title>\\n\\u003cstyle>@font-face{font-family:\\\"NiNNiN Text JP\\\";src:url(\\\"https://framerusercontent.com/assets/b1jl6D57LbRbNWPjCCcTRMGm6D8.woff2\\\") format(\\\"woff2\\\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\\\"NiNNiN Text JP\\\";src:url(\\\"https://framerusercontent.com/assets/VdWwYMBTFisxJy27OCAIgWQ2ZgY.woff2\\\") format(\\\"woff2\\\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\\\"Stadio\\\";src:url(\\\"https://framerusercontent.com/assets/myB62AqEVPhUQg8dsLgG4HjuWE.woff2\\\") format(\\\"woff2\\\");font-weight:750;font-display:swap}\\n@font-face{font-family:\\\"Banana\\\";src:url(\\\"https://framerusercontent.com/assets/qgITezBTDTqHx7efvhQ0Z4FKo.woff2\\\") format(\\\"woff2\\\");font-weight:400;font-display:swap}\\n@font-face{font-family:\\\"Inter\\\";src:url(\\\"https://framerusercontent.com/assets/HcBE9IJP1a9rtZ7kicPoGnz8.woff2\\\") format(\\\"woff2\\\");font-weight:100 900;font-display:swap}\\n@font-face {\\n  font-family: \\\"Source Han Sans VF\\\";\\n  src: url(\\\"https://framerusercontent.com/assets/b1jl6D57LbRbNWPjCCcTRMGm6D8.woff2\\\") format(\\\"woff2\\\");\\n  font-weight:400;\\n  font-display: swap;\\n}@font-face {\\n  font-family: \\\"Source Han Sans VF\\\";\\n  src: url(\\\"https://framerusercontent.com/assets/VdWwYMBTFisxJy27OCAIgWQ2ZgY.woff2\\\") format(\\\"woff2\\\");\\n  font-weight:700;\\n  font-display: swap;\\n}\\n:root {\\n  --nn-ink: #212322;\\n  --nn-secondary-opacity: .5;\\n  --nn-japanese-display-size: 40px;\\n  --nn-japanese-display: Banana, \\\"YDW bananaslip plus plus\\\", sans-serif;\\n  --nn-display-size: 42px;\\n  --nn-display-leading: 48px;\\n  --nn-title-size: 36px;\\n  --nn-title-leading: 1.2;\\n  --nn-highlight-size: 24px;\\n  --nn-highlight-leading: 28px;\\n}\\n\\n/* Resolve the font recipes again at each explicit language boundary.\\n   This covers translated documents and mixed-language lines in one component. */\\n:where(:root, [lang]) {\\n  --nn-display-family: Stadio, \\\"Stadio Now Novarese\\\", sans-serif;\\n  --nn-display-weight: 750;\\n  --nn-ui-family: Inter, sans-serif;\\n  --nn-emphasis-weight: 600;\\n  --nn-type-display: var(--nn-display-weight) var(--nn-display-size)/var(--nn-display-leading) var(--nn-display-family);\\n  --nn-type-title: var(--nn-display-weight) var(--nn-title-size)/var(--nn-title-leading) var(--nn-display-family);\\n  --nn-type-highlight: var(--nn-emphasis-weight) var(--nn-highlight-size)/var(--nn-highlight-leading) var(--nn-ui-family);\\n  --nn-type-section: var(--nn-emphasis-weight) var(--nn-section-size,20px)/24px var(--nn-ui-family);\\n  --nn-type-subtitle: var(--nn-emphasis-weight) 16px/20px var(--nn-ui-family);\\n  --nn-type-item: var(--nn-type-subtitle);\\n  --nn-type-body: 400 13px/20px var(--nn-ui-family);\\n  --nn-type-control: var(--nn-emphasis-weight) 13px/16px var(--nn-ui-family);\\n  --nn-type-caption: 400 12px/16px var(--nn-ui-family);\\n}\\n:where(:root, [lang]):lang(ja) {\\n  --nn-ui-family: \\\"Source Han Sans VF\\\", sans-serif;\\n  --nn-emphasis-weight: 700;\\n  --nn-display-size: var(--nn-japanese-display-size);\\n  --nn-display-family: var(--nn-japanese-display);\\n  --nn-display-weight: 400;\\n}\\n.nn-type-display { font: var(--nn-type-display); letter-spacing: 0 }\\n.nn-type-title { font: var(--nn-type-title); font-size: var(--nn-title-size); letter-spacing: 0 }\\n/* Optional Japanese line beneath a Stadio brand title. Inter headings use Subtitle in Japanese. */\\n.nn-type-brand-subtitle:lang(ja) { font: 400 20px/24px var(--nn-japanese-display) }\\n.nn-type-highlight { font: var(--nn-type-highlight) }\\n.nn-type-section { font: var(--nn-type-section) }\\n.nn-type-subtitle, .nn-type-item { font: var(--nn-type-subtitle) }\\n.nn-type-body { font: var(--nn-type-body) }\\n.nn-type-control { font: var(--nn-type-control) }\\n.nn-type-caption { font: var(--nn-type-caption) }\\n\\n@media (width \\u003c 810px) {\\n  :root { --nn-japanese-display-size: 34px; --nn-display-size: 36px; --nn-display-leading: 40px; --nn-title-size: 32px }\\n}\\n\\n@media (width \\u003c 1200px) {\\n  :root { --nn-highlight-size: 22px; --nn-section-size: 19px }\\n}\\n@media (width \\u003c= 700px) {\\n  :root { --nn-highlight-size: 20px; --nn-highlight-leading: 24px; --nn-section-size: 18px }\\n}\\n\\n\\n\\n* { box-sizing: border-box }\\n:root {\\n  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px;\\n  --bowl-surface: #fcf7ee; /* 25% beige mixed into the menu paper */ --ivory: #ffebc4; --tray-inset: var(--s2); --tray-radius: 24px; --tray-choice-radius: calc(var(--tray-radius) - var(--tray-inset)); --ivory-ink: var(--ink); --charcoal: #2c302d;\\n  --chili: #c93720; --leaf: #548c25;\\n  --paper: #fffcf5; --ink: var(--nn-ink); --secondary-opacity: var(--nn-secondary-opacity);\\n}\\nbody { margin: 0; font: var(--nn-type-body); color: var(--ink); background: #afb384 }\\nbutton { font: inherit; cursor: pointer; color: inherit; border: 0 }\\nbutton:focus-visible, [tabindex]:focus-visible { outline: 2px solid #94611a; outline-offset: -3px }\\n.details:focus { outline:none }\\n.details:focus-visible h2 { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px }\\nmain { height: 100dvh; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden }\\n.map { position: absolute; inset: 0; z-index: -3; background: url(\\\"https://framerusercontent.com/assets/QiIu7Oupppzxn98s2zd3fWdVhw.jpg\\\") center/cover }\\n.veil { position: absolute; inset: 0; z-index: -1; background: #19241930; backdrop-filter: blur(2px) }\\n[hidden] { display: none !important }\\n@media (max-width:809px),(hover:none) and (pointer:coarse) and (max-height:540px) { .veil { display:none } }\\n.reopen { background: var(--paper); border-radius: 999px; padding: var(--s3) var(--s6) }\\n.sheet {\\n  --panel-radius: 44px; --inset: var(--s8);\\n  position: relative; display: grid; width: min(1280px, 94vw); height: min(644px, 80dvh);\\n  grid-template-columns: minmax(max-content, clamp(208px, 18vw, 248px)) minmax(0, 1fr) clamp(276px, 26vw, 360px);\\n  grid-template-rows: auto minmax(0, 1fr); overflow: hidden;\\n  \\n  background: var(--paper); box-shadow: 0 20px 80px #2523113b;\\n}\\n.sheet, .choice-plate, nav button, .identity { border-radius: var(--panel-radius); corner-shape: var(--ninnin-capsule-curve, superellipse(1.25)) }\\nheader, .columns { display: contents }\\n.menu-heading { grid-area: 1/1; display: grid; justify-items: start; align-content: start; gap: var(--s1); margin: var(--inset) var(--inset) var(--s8) }\\nh1, h2, h3, p, dl, dt, dd { margin: 0 }\\n\\n.ja { font-family: var(--nn-japanese-display) }\\n.menu-heading .ja:lang(en) { font-size: 16px; line-height: 20px; color: var(--ink); white-space: nowrap }\\n.menu-heading .ja:lang(en) { font-family: var(--nn-display-family); font-weight: 750 }\\n.close { --close-inset: var(--s6); position: absolute; top: var(--close-inset); right: var(--close-inset); z-index: 4; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: transparent }\\n.close img { width: 32px; height: 32px; transform: rotate(45deg) }\\nnav {\\n  --key-depth: 4px;\\n  position: relative; isolation: isolate; grid-area: 2/1; display: grid; align-content: start;\\n  background-color: var(--bowl-surface);\\n  box-shadow: inset 3px 5px 12px -3px rgb(144 107 65 / 23%),\\n              inset -1px -2px 5px -2px rgb(144 107 65 / 11%);\\n  gap: var(--s1); padding: 0 var(--s4) var(--s4); min-height: 0; overflow: auto }\\nnav button { -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; --panel-radius: 18px; position: relative; z-index: 1; display: flex; align-items: center; min-height: 76px; text-align: left; padding: var(--s4) 52px var(--s4) calc(var(--inset) - var(--s4)); background: transparent }\\nnav strong { display: block; letter-spacing: 0 }\\nnav small { display: block; margin-top: var(--s1); color: var(--ink); opacity: var(--secondary-opacity) }\\n.mobile-name { display: none }\\nnav[data-point=red], [data-bowl=red] .identity { --bowl-title: #ffffff; --choice: #d72519; --pattern: #b51818; --reverse: #fffaf1 }\\nnav[data-point=white], [data-bowl=white] .identity { --bowl-title: #7f5d18; --choice: #fcf4dd; --pattern: #efd89c; --reverse: var(--ivory-ink) }\\nnav[data-point=black], [data-bowl=black] .identity { --bowl-title: #feae00; --choice: #252424; --pattern: #4b4b4b; --reverse: #fffaf1 }\\nnav[data-point=green], [data-bowl=green] .identity { --bowl-title: #0a320a; --choice: #d0e19a; --pattern: #93c37e; --reverse: var(--ink) }\\nnav .pointed { color: var(--reverse) }\\nnav .pointed small { color: inherit } nav .pointed :is(strong, .mobile-name) { color: var(--bowl-title) }\\n.choice-plate {\\n  position: absolute; inset: 0 auto auto 0; pointer-events: none; z-index: 0; --panel-radius: 24px;\\n  filter: drop-shadow(0 1px 1px rgb(108 78 48 / 8%)) drop-shadow(0 2px 2.5px rgb(108 78 48 / 17%));\\n}\\n.choice-face {\\n  position: absolute; inset: 0; border-radius: inherit; corner-shape: inherit;\\n  overflow: hidden; isolation: isolate; background-color: var(--choice); transition: background-color 160ms ease-out;\\n}\\n.choice-ingredient { position: absolute; right: -18%; bottom: calc(-23% - var(--pattern-drop, var(--s2))); width: 72%; aspect-ratio: 1; background: var(--pattern); mask-position: center; mask-size: contain; mask-repeat: no-repeat; }\\nnav[data-point=red] .choice-ingredient { mask-image: url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjYxNy41NjIgMTczLjU2MiAzMDAgMzAwIiBmaWxsPSJjdXJyZW50Q29sb3IiPgogIDx0aXRsZT5DaGlsaSBwZXBwZXJzPC90aXRsZT4KICA8cGF0aCBkPSJNIDcwNC45NCA0MjcuNjM3IEMgNzA1LjQ3OSA0MTEuMzk2IDcwNC4wMyAzODguNTcyIDcwMi41MjEgMzY0LjgwNiBDIDcwMS40NTcgMzQ4LjA1MiA3MDAuNDUyIDMzMi4yMjggNzAwLjIxIDMxOS4zMjkgQyA2OTkuODUgMzAwLjEzOCA3MDMuNTE4IDI5NC4yODkgNzA1LjExMiAyOTIuNjY0IEMgNzA1Ljk5MyAyOTEuNzY4IDcwNi44OTYgMjkxLjQwMSA3MDguMjI4IDI5MS40MDEgQyA3MTUuMjUgMjkxLjQwMSA3MTkuMDA2IDMwNy4xNCA3MjAuOTIyIDMyMC4zNDMgQyA3MjYuNTMgMzU5LjAyMyA3MTEuMTQzIDQwOS40NjIgNzA0Ljk0IDQyNy42MzcgWiAKICAgIE0gNzA4LjIyOCAyNzguOTAxIEMgNzA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+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPHRpdGxlPkJvd2wgd2l0aCBhIHNjb29wIG9mIG1pc288L3RpdGxlPgogIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgICA8cGF0aCBkPSJNMzQuNSAxMS4xQzMxLjYgMTAuMiAyOCA5LjcgMjQgOS43QzEzLjkgOS43IDUuNiAxMi44IDUuNiAxNi42UzEzLjkgMjMuNSAyNCAyMy41UzQyLjQgMjAuNCA0Mi40IDE2LjZRNDIuNCAxNC43IDM5LjYgMTMuMiIvPgogICAgPHBhdGggZD0iTTUuNiAxNy4xQzYuNCAyNC44IDEwLjkgMzEuOSAxOC40IDM0LjZMMTguOSAzNy40UTI0IDM5LjggMjkuMSAzNy40TDI5LjYgMzQuNkMzNy4xIDMxLjkgNDEuNiAyNC44IDQyLjQgMTcuMSIvPgogICAgPHBhdGggZD0iTTE3IDMyLjJhNy4yIDcuMiAwIDAgMSAxNCAwIi8+CiAgICA8cGF0aCBkPSJNMjAuOCAzMi4zYTMuMyAzLjMgMCAwIDEgNi40IDAiLz4KICAgIDxwYXRoIGQ9Ik0xNi43IDIyLjlDMTcuNCAxOSAyMC4yIDE2IDI0IDE2UzMwLjYgMTkgMzEuMyAyMi45Ii8+CiAgPC9nPgo8L3N2Zz4K\\\"); }\\n.stage { --photo-size: min(94cqw, 103cqh); grid-area: 1/2/3/3; position: relative; overflow: hidden; container-type: size; min-width: 0; min-height: 0; background: var(--bowl-surface) url(https://framerusercontent.com/assets/kYJCD3qa0ooTRK6asv1ik9M4GI.webp) center / cover no-repeat }\\n/* Both shadows follow the ceramic rim, independent of the nori silhouette. */\\n.stage::before, .stage::after {\\n  content: \\\"\\\";\\n  position: absolute;\\n  left: 50%; top: 50%;\\n  width: calc(var(--photo-size) * .76);\\n  height: calc(var(--photo-size) * .75);\\n  border-radius: 50%;\\n  pointer-events: none;\\n}\\n.stage::before {\\n  transform: translate(-46.8%, -44.8%);\\n  background: rgb(66 53 37 / 25%);\\n  filter: blur(calc(var(--photo-size) * .025));\\n}\\n.stage::after {\\n  transform: translate(-48.9%, -48%);\\n  background: rgb(57 45 32 / 34%);\\n  filter: blur(calc(var(--photo-size) * .009));\\n}\\n/* Bowl rims in the supplied WebPs share a centre at 53.5% across and 52.3% down. */\\n.hero { position: absolute; left: 50%; top: 50%; z-index: 1; width: var(--photo-size); height: auto; aspect-ratio: 1; transform: translate(-53.5%,-52.3%) }\\n.details { container-type: inline-size; grid-area: 1/3/3/4; overflow: auto; min-height: 0; padding: calc(var(--s12) + var(--s8)) var(--inset) var(--inset) }\\n.identity { --panel-radius: 12px; display: inline-block; padding: 4px 10px; background: var(--choice); color: var(--bowl-title); font-size: 22px; line-height: 28px }\\n\\n\\n\\nh2 { margin: var(--s2) 0 var(--s4) }\\n.bowl-word { white-space: nowrap }\\n/* An empty inline box sits on the text baseline. Its cap height follows the title at every width. */\\n.marks { display: inline-block; position: relative; vertical-align: baseline; height: 1cap; width: 39px; margin-left: var(--s3) }\\n.marks img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 16px; width: auto }\\n.marks img + img { left: 24px; height: 20px; margin-top: 1px }\\n.details p {\\n  color: var(--ink);\\n  text-wrap: pretty;\\n}\\n.details section { margin-top: calc(2 * var(--s8)); padding-top: var(--s6); border-top: 1px solid var(--token-iP942QhEF, rgba(33, 35, 34, .25)) }\\n\\n.ingredients { display: grid; gap: var(--s4); margin-top: var(--s6) }\\n.ingredients > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: var(--s3); align-items: baseline }\\n.ingredients dt { color: var(--ink); opacity: var(--secondary-opacity) }\\n.ingredients dd { overflow-wrap: break-word }\\n@container (max-width: 238px) {\\n  .ingredients > div { grid-template-columns: minmax(0,1fr); gap: var(--s1) }\\n}\\n@media (min-width: 701px) and (max-width: 1040px) {\\n  .sheet { --inset: var(--s6); grid-template-columns: minmax(max-content, 192px) minmax(0, 1fr) 264px }\\n  nav button { min-height: 72px }\\n}\\n@media (min-width: 701px) {\\n  :root { --tray-radius: 32px; --tray-inset: var(--s2) }\\n  nav { margin: 0 var(--s3) var(--s3); padding: var(--tray-inset); border-radius: var(--tray-radius); --panel-radius: var(--tray-radius); corner-shape: var(--ninnin-capsule-curve, superellipse(1.25)); grid-template-rows: repeat(4, minmax(min-content, 1fr)); align-content: stretch }\\n  nav button, .choice-plate { --panel-radius: var(--tray-choice-radius) }\\n  nav button { align-items: flex-start; padding-inline: var(--s4) }\\n  .menu-heading { margin-inline-start: calc(var(--s3) + var(--tray-inset) + var(--s4)) }\\n}\\n@media (min-width: 701px) and (max-height: 660px) {\\n  .menu-heading { margin-block: var(--s4) }\\n  nav button { min-height: 56px; padding-block: var(--s2); padding-right: 52px }\\n}\\n@media (max-width:700px), (hover:none) and (pointer:coarse) and (max-height:540px) { .sheet { width: calc(100% - 48px) } }\\n@media (max-width: 700px) {\\n  .map { background-image: url(\\\"https://framerusercontent.com/assets/irZ2q98L4MPTFfOoLxmI3w5E.jpg\\\") }\\n  .sheet { --panel-radius: 36px; --inset: var(--s6); height: min(88dvh,840px); display: flex; flex-direction: column }\\n  header { display: flex; align-items: flex-start; padding: var(--s4) calc(var(--s4) + var(--s1) + 44px + var(--s2)) var(--s2) var(--inset) }\\n  .menu-heading { margin: 0 }\\n  .menu-heading .ja:lang(en) { font-size: 14px; line-height: 16px }\\n  .close { --close-inset: var(--s4); width: 44px; height: 44px }\\n  .close img { width: 26px; height: 26px }\\n  .columns { display: block; overflow-y: auto; overscroll-behavior: contain }\\n  nav { --panel-radius: var(--tray-radius); border-radius: var(--panel-radius); corner-shape: var(--ninnin-capsule-curve, superellipse(1.25)); display: flex; position: sticky; top: var(--s2); z-index: 2; margin: var(--s1) var(--s4) var(--s4); padding: var(--tray-inset); gap: var(--s2); }\\n  nav button { --panel-radius: var(--tray-choice-radius); flex: 1 1 0; display: grid; place-items: center; min-height: 40px; min-width: 0; padding: 0; text-align: center }\\n  nav strong, nav small, .choice-ingredient { display: none }\\n  nav { --key-depth: 2px; box-shadow: inset 3px 5px 14px -2px rgb(144 107 65 / 19.8%), inset -1px -2px 9px -2px rgb(144 107 65 / 10.8%) }\\n  .pointed .mobile-name { transform: translateY(-2px) }\\n  .choice-plate { --panel-radius: var(--tray-choice-radius) }\\n  nav button { touch-action: manipulation; user-select: none; -webkit-user-select: none; overflow: hidden }\\n  nav button .label, nav button .mobile-name { pointer-events: none }\\n  nav button:focus:not(:focus-visible) { outline: none }\\n  .mobile-name { display: inline }\\n  .stage { height: clamp(232px,min(80vw,38dvh),375px) }\\n  .details { padding: var(--s6) var(--inset) var(--s8); overflow: visible }\\n  h2 { margin-bottom: var(--s3) }\\n\\n  .details section { margin-top: max(var(--s12), var(--ingredients-clearance, 0px)); padding-top: var(--s4) }\\n  .ingredients { margin-top: var(--s4) }\\n}\\n@media (min-width:701px) { nav button { min-height: 64px; padding-right: var(--s4) } } @media (prefers-reduced-motion:no-preference) {\\n  .close img { animation: shuriken 4s linear infinite }\\n  .hero.swap { animation: arrive .24s ease-out }\\n  @keyframes shuriken { from { transform: rotate(45deg) } to { transform: rotate(405deg) } }\\n  @keyframes arrive { from { opacity: .55 } to { opacity: 1 } }\\n}\\n@media (prefers-reduced-motion:reduce) { .choice-face { transition: none } }\\n\\u003c/style>\\u003cstyle>.close:focus,.close:focus-visible{outline:none;box-shadow:none}.close:focus-visible img{scale:1.15}\\u003c/style>\\u003cstyle>html,body,main{background:transparent}.map,.veil{display:none}main{padding:100px 0 24px}.sheet{height:min(644px,calc(100dvh - 124px))}@media(max-width:700px){main{padding:84px 0 21px;align-items:start}.sheet{height:min(835px,calc(100dvh - 105px))}}\\u003c/style>\\u003cstyle>/* Ramen's heading, text rails and close target share a responsive inset system. */\\n.sheet {\\n  --nn-popup-text-inset:36px;\\n  --nn-popup-heading-top:32px;\\n  --nn-popup-close-inset:24px;\\n  --nn-popup-close-target:48px;\\n  --nn-popup-star-size:32px;\\n}\\n@media (min-width:701px) and (max-width:1040px) {\\n  .sheet { --nn-popup-heading-top:24px }\\n}\\n@media (min-width:701px) and (max-height:660px) {\\n  .sheet { --nn-popup-heading-top:16px }\\n}\\n@media (max-width:700px) {\\n  .sheet {\\n    --nn-popup-text-inset:24px; --nn-popup-heading-top:16px;\\n    --nn-popup-close-inset:16px; --nn-popup-close-target:44px; --nn-popup-star-size:26px;\\n  }\\n}\\n.sheet .close {\\n  top:var(--nn-popup-close-inset); right:var(--nn-popup-close-inset);\\n  width:var(--nn-popup-close-target); height:var(--nn-popup-close-target); padding:0;\\n}\\n.sheet .close img { width:var(--nn-popup-star-size); height:var(--nn-popup-star-size) }\\n@media (min-width:701px) {\\n  .sheet .menu-heading { margin-inline-start:var(--nn-popup-text-inset); margin-top:var(--nn-popup-heading-top) }\\n}\\n@media (max-width:700px) {\\n  .sheet > header:not(.top) { padding-left:var(--nn-popup-text-inset); padding-top:var(--nn-popup-heading-top) }\\n}\\n.sheet .top { padding-left:var(--nn-popup-text-inset); padding-top:var(--nn-popup-heading-top); padding-bottom:16px }\\n.sheet .top h1 { align-self:start }\\n\\n@media (min-width:701px) {\\n  .sheet .top .tabs {\\n    position:absolute;\\n    right:calc(var(--nn-popup-close-inset) + var(--nn-popup-close-target) + 28px);\\n    top:calc(var(--nn-popup-close-inset) + var(--nn-popup-close-target) / 2);\\n    transform:translateY(-50%);\\n  }\\n}\\n\\n/* The courtyard header and fixed navigation share the viewport with both panels. */\\nbody > main:has(> .sheet) {\\n  --nn-panel-top:100px;\\n  --nn-panel-bottom:92px;\\n  --nn-panel-width:min(1280px,94vw);\\n  --nn-panel-height:752px;\\n  padding:var(--nn-panel-top) 0 var(--nn-panel-bottom);\\n  place-items:center;\\n}\\nbody > main > .sheet {\\n  width:var(--nn-panel-width);\\n  height:min(var(--nn-panel-height),calc(100dvh - var(--nn-panel-top) - var(--nn-panel-bottom)));\\n}\\n@media (min-width:1441px) {\\n  body > main:has(> .sheet) {\\n    --nn-panel-width:min(calc(1280px + 36vw - 518.4px),1568px);\\n    --nn-panel-height:calc(752px + clamp(0px,min(calc(21vw - 302.4px),calc(40dvh - 320px)),168px));\\n  }\\n  .sheet[data-bowl] { grid-template-columns:clamp(248px,17vw,272px) minmax(0,1fr) clamp(360px,24vw,400px) }\\n}\\n@media (max-width:700px) {\\n  body > main:has(> .sheet) {\\n    --nn-panel-width:calc(100% - 48px);\\n    --nn-panel-top:84px;\\n    --nn-panel-bottom:calc(80px + env(safe-area-inset-bottom,0px));\\n    --nn-panel-height:100dvh;\\n  }\\n}\\n@media (max-height:540px) {\\n  body > main:has(> .sheet) { --nn-panel-top:64px; --nn-panel-bottom:calc(76px + env(safe-area-inset-bottom,0px)) }\\n}\\n.sheet:focus { outline:none }\\n.sheet .close { border-radius:50% }\\n.sheet .close:focus { outline:none; box-shadow:none }\\n.sheet .close:focus-visible { outline:2px solid var(--nn-ink,#212322); outline-offset:-4px }\\n@media (forced-colors:active) {\\n  .sheet .close:focus-visible { outline-color:Highlight }\\n}\\n\\u003c/style>\\u003cstyle>[data-nn-switch] {\\n  --switch-height: 36px;\\n  --switch-inset: 8px;\\n  --switch-radius: 24px;\\n  --switch-face-radius: calc(var(--switch-radius) - var(--switch-inset));\\n  --switch-shadow: inset 3px 5px 12px -3px rgb(144 107 65 / 14%), inset -1px -2px 5px -2px rgb(144 107 65 / 6%);\\n  --switch-motion: 260ms cubic-bezier(.2,.75,.25,1);\\n  background-color: #fcf7ee;\\n  box-shadow: var(--switch-shadow);\\n}\\n.sheet .tabs[data-nn-switch], .track[data-nn-switch] {\\n  padding: var(--switch-inset);\\n  border-radius: var(--switch-radius);\\n  corner-shape: superellipse(1.25);\\n}\\n.tabs[data-nn-switch] button, .track[data-nn-switch] :is(label span,button) {\\n  box-sizing: border-box;\\n  height: var(--switch-height);\\n  display: grid;\\n  place-items: center;\\n  padding-block: 0;\\n}\\n.tabs[data-nn-switch]::before, .track[data-nn-switch] .selection {\\n  border-radius: var(--switch-face-radius);\\n  corner-shape: superellipse(1.25);\\n  box-shadow: 0 1px 3px rgb(99 71 45 / 8%);\\n  transition: transform var(--switch-motion), width var(--switch-motion);\\n}\\n@media (max-width:700px) {\\n  .tabs[data-nn-switch]::before, .track[data-nn-switch] .selection, nav[data-nn-switch] .choice-plate {\\n    box-shadow: 0 1px 0 color-mix(in srgb, var(--choice,var(--track-face,#212322)) 80%, #61503e);\\n    filter: drop-shadow(0 1px 1px rgb(108 78 48 / 8%)) drop-shadow(0 2px 2.5px rgb(108 78 48 / 17%));\\n  }\\n  nav[data-nn-switch] {\\n    --tray-radius: var(--switch-radius);\\n    --tray-choice-radius: var(--switch-face-radius);\\n    padding: var(--switch-inset);\\n    column-gap: 0;\\n    flex-shrink: 0;\\n  }\\n  nav[data-nn-switch] button { height: var(--switch-height); min-height: var(--switch-height) }\\n  nav[data-nn-switch] .choice-plate {\\n    transition: translate var(--switch-motion);\\n  }\\n}\\n@media (prefers-reduced-motion:reduce) {\\n  .tabs[data-nn-switch]::before, .track[data-nn-switch] .selection, nav[data-nn-switch] .choice-plate { transition: none }\\n}\\n\\u003c/style>\\u003cmain>\\u003cdiv class=\\\"map\\\">\\u003c/div>\\u003cdiv class=\\\"veil\\\">\\u003c/div>\\u003cbutton class=\\\"reopen\\\" hidden>Open ramen menu\\u003c/button>\\u003carticle class=\\\"sheet\\\" aria-label=\\\"Ramen menu\\\">\\u003cheader>\\u003cdiv class=\\\"menu-heading\\\">\\u003ch1 class=\\\"nn-type-title\\\">Ramen\\u003c/h1>\\u003cspan lang=\\\"ja\\\" class=\\\"ja nn-type-brand-subtitle\\\">ラーメン\\u003c/span>\\u003c/div>\\u003cbutton class=\\\"close\\\" aria-label=\\\"Close ramen menu\\\" title=\\\"Close menu\\\">\\u003cimg alt=\\\"\\\" src=\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4NS4wNCA4NS4wNCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzIxMjMyMjsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllciAxIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTgzLjgxLDQwLjQxbC0yNS4wOC0xNC4xTDQ0LjYyLDEuMjNjLS45Mi0xLjY0LTMuMjgtMS42NC00LjIxLDBsLTE0LjEsMjUuMDhMMS4yMyw0MC40MWMtMS42NC45My0xLjY0LDMuMjksMCw0LjIxbDI1LjA4LDE0LjExLDE0LjEsMjUuMDhjLjkzLDEuNjQsMy4yOSwxLjY0LDQuMjEsMGwxNC4xMS0yNS4wOCwyNS4wOC0xNC4xMUM4NS40NSw0My43LDg1LjQ1LDQxLjM0LDgzLjgxLDQwLjQxWk00OC42Niw1MS41NGMtMTAuNDMsNS45OC0yMS4xNC00LjczLTE1LjE2LTE1LjE2LjY5LTEuMiwxLjY4LTIuMTksMi44OC0yLjg4LDEwLjQzLTUuOTgsMjEuMTQsNC43MywxNS4xNiwxNS4xNkM1MC44NSw0OS44Niw0OS44Niw1MC44NSw0OC42Niw1MS41NFoiLz4KICA8L2c+Cjwvc3ZnPg==\\\">\\u003c/button>\\u003c/header>\\n\\u003cdiv class=\\\"columns\\\">\\u003cnav data-nn-switch aria-label=\\\"Choose a ramen bowl\\\">\\u003c/nav>\\u003cdiv class=\\\"stage\\\">\\u003cimg class=\\\"hero\\\" alt=\\\"\\\" fetchpriority=\\\"high\\\" decoding=\\\"async\\\">\\u003c/div>\\u003cdiv class=\\\"details\\\" tabindex=\\\"0\\\" aria-label=\\\"Bowl details\\\">\\u003cdiv class=\\\"identity ja\\\" lang=\\\"ja\\\">\\u003c/div>\\u003ch2 class=\\\"nn-type-title\\\">\\u003c/h2>\\u003cp class=\\\"nn-type-body\\\">\\u003c/p>\\u003csection>\\u003ch3 class=\\\"nn-type-section\\\">In the bowl\\u003c/h3>\\u003cdl class=\\\"ingredients\\\">\\u003c/dl>\\u003c/section>\\u003c/div>\\u003c/div>\\u003c/article>\\u003c/main>\\n\\u003cscript>\\nconst entries = __NN_BOWLS__;\\nconst firstBowl = 0;\\nconst japanese = document.documentElement.lang === 'ja';\\nconst prefix = japanese ? 'ja' : 'en';\\nconst $=s=>document.querySelector(s),nav=$('nav'),detail=$('.details'),hero=$('.hero');\\nconst photos = Object.fromEntries(Object.entries(entries).map(([key, row])=>[key,row.photo]));\\nconst bowls = Object.entries(entries).map(([key,row])=>[\\n key, row[prefix+'Name'], row.badge, row[prefix+'Flavour'], row[prefix+'Description'],\\n row[prefix+'Broth'], row[prefix+'Noodles'], row[prefix+'Toppings']\\n]);\\nconst fieldLabels = japanese ? ['スープ','麺','具材'] : ['Broth','Noodles','Toppings'];\\nconst dishName = bowl => bowl[1];\\nif (japanese) {\\n document.documentElement.lang = 'ja';\\n document.title = 'NiNNiN · ラーメン';\\n $('h1').textContent = 'ラーメン';\\n const secondary = $('.menu-heading .ja');\\n secondary.lang = 'en';\\n secondary.textContent = 'Ramen';\\n $('.reopen').textContent = 'ラーメンメニューを開く';\\n $('.sheet').setAttribute('aria-label','ラーメンメニュー');\\n $('.close').setAttribute('aria-label','メニューを閉じる');\\n $('.close').title = 'メニューを閉じる';\\n nav.setAttribute('aria-label','ラーメンを選ぶ');\\n detail.setAttribute('aria-label','ラーメンの詳細');\\n $('h3').textContent = '一杯の中身';\\n}\\nfunction marks(){\\n const group=document.createElement('span');group.className='marks';group.setAttribute('role','img');group.setAttribute('aria-label',japanese ? 'ベジタリアン' : 'Vegetarian');\\n for(const src of [\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDggMTA4Ij48cmVjdCB3aWR0aD0iMTA4IiBoZWlnaHQ9IjEwOCIgcng9IjEzIiBmaWxsPSIjNTQ4QzI1Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE5IDIwaDIwbDE1IDUwIDE2LTUwaDIwTDY1IDkxSDQ0WiIvPjwvc3ZnPgo=\\\", \\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTQgMTU3Ij48ZyBzdHJva2U9IiM1NDhDMjUiIHN0cm9rZS13aWR0aD0iNi41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGZpbGw9IiNBM0Q5NjMiIGQ9Ik0xMDkgNEM3OCAxIDQ0IDEwIDI0IDMxIDYgNDkgMCA3NCA1IDk5YzQgMjMgMjAgMzkgNDMgNDAgMjYgMSA0Ny0xMyA1Ni0zNyA3LTIwIDUtMzkgMy01NS0yLTE3LTMtMzAgMi00M1oiLz48cGF0aCBmaWxsPSJub25lIiBkPSJNMjkgMTUzYy0xLTIyIDUtNDMgMTMtNjNDNTYgNTUgODAgMjQgMTA4IDVNMzkgOTZjLTEzLTYtMTYtMTgtMTQtMjltMTYgMjljMTMgNSAyNSAyIDM1LThNNTMgNjJjLTEyLTUtMTMtMTYtNi0yNW03IDI1YzEyIDQgMjQtMSAzMi0xMCIvPjwvZz48L3N2Zz4K\\\"]){const img=document.createElement('img');img.alt='';img.src=src;group.append(img)}\\n return group;\\n}\\nfunction rows(el,items){el.replaceChildren();for(const [name,val] of items){const a=document.createElement('dt'),b=document.createElement('dd');a.className='nn-type-control';b.className='nn-type-body';a.textContent=name;b.textContent=val;const group=document.createElement(\\\"div\\\");group.append(a,b);el.append(group)}}\\nconst menuScroll = $('.columns');\\nconst descriptionText = $('.details p');\\nconst phoneLayout = matchMedia('(max-width:700px)');\\n// Keep the divider just beyond the first view, even when the description is short.\\nfunction fitBowlIntro() {\\n if (!phoneLayout.matches || !menuScroll.clientHeight) return;\\n const introEnd = descriptionText.getBoundingClientRect().bottom - menuScroll.getBoundingClientRect().top + menuScroll.scrollTop;\\n const clearance = Math.max(0, Math.ceil(menuScroll.clientHeight - introEnd) + 1);\\n detail.style.setProperty('--ingredients-clearance', clearance + 'px');\\n}\\nconst introSize = new ResizeObserver(fitBowlIntro);\\n[menuScroll, nav, $('.stage'), $('.identity'), $('h2'), descriptionText].forEach(el => introSize.observe(el));\\nfunction choose(i) {\\n const bowl = bowls[i];\\n const [key, name, badge, flavour, description, broth, noodles, toppings] = bowl;\\n nav.querySelectorAll('button').forEach((button, j) => button.setAttribute('aria-pressed', String(i === j)));\\n hero.src = photos[key];\\n hero.alt = japanese ? dishName(bowl) + '（' + flavour + '）' : 'NiNNiN ' + dishName(bowl) + ' with ' + flavour.toLowerCase();\\n hero.classList.remove('swap');\\n void hero.offsetWidth;\\n hero.classList.add('swap');\\n $('.identity').textContent = badge;\\n $('.sheet').dataset.bowl = key;\\n const title = $('h2');\\n const suffix = japanese && name.endsWith('ラーメン') ? 'ラーメン' : name.split(/\\\\s+/).pop() || name;\\n title.textContent = name.slice(0, name.length - suffix.length);\\n const word = document.createElement('span');\\n word.className = 'bowl-word';\\n word.textContent = suffix;\\n if (key === 'green') word.append(marks());\\n title.append(word);\\n $('.details p').textContent = description;\\n const values = [broth, noodles, toppings];\\n rows($('.ingredients'), fieldLabels.map((label, j) => [label, values[j]]));\\n detail.scrollTop = 0;\\n menuScroll.scrollTop = 0;\\n fitBowlIntro();\\n}\\nbowls.forEach((bowl, i) => {\\n const button = document.createElement('button');\\n button.type = 'button';\\n button.setAttribute('aria-label', dishName(bowl) + (japanese ? '、' : ', ') + bowl[3]);\\n button.innerHTML = '\\u003cspan class=\\\"label\\\">\\u003cstrong class=\\\"nn-type-highlight\\\">\\u003c/strong>\\u003csmall class=\\\"nn-type-caption\\\">\\u003c/small>\\u003cspan class=\\\"mobile-name nn-type-control\\\">\\u003c/span>\\u003c/span>';\\n button.querySelector('strong').textContent = dishName(bowl);\\n button.querySelector('small').textContent = bowl[3];\\n button.querySelector('.mobile-name').textContent = japanese ? bowl[1].replace(/ラーメン$/, '') || bowl[1] : bowl[1].replace(/ Bowl$/i, '') || bowl[1];\\n nav.append(button);\\n});\\nchoose(firstBowl);\\nconst plate = document.createElement('div');\\nplate.className = 'choice-plate';\\nplate.setAttribute('aria-hidden', 'true');\\nconst pointer = document.createElement('span');\\npointer.className = 'choice-ingredient';\\nconst face = document.createElement('span');\\nface.className = 'choice-face';\\nface.append(pointer); plate.append(face);\\nnav.append(plate);\\nconst options = Array.from(nav.querySelectorAll('button'));\\nconst quiet = matchMedia('(prefers-reduced-motion:reduce)');\\nlet current = firstBowl, shown = -1, frameId = 0, lastTime = 0;\\nlet x=0,y=0,vx=0,vy=0,tx=0,ty=0;\\nfunction travel(time){\\n const dt=Math.min(.06,(time-lastTime)/1000),f=6000/260,decay=Math.exp(-f*dt);\\n lastTime=time;\\n const dx=x-tx,dy=y-ty,sx=vx+f*dx,sy=vy+f*dy;\\n x=tx+(dx+sx*dt)*decay;y=ty+(dy+sy*dt)*decay;\\n vx=(vx-f*sx*dt)*decay;vy=(vy-f*sy*dt)*decay;\\n const speed=Math.hypot(vx,vy), done=Math.abs(x-tx)+Math.abs(y-ty)\\u003c.08&&speed\\u003c1.5;\\n if(done){x=tx;y=ty;vx=vy=0}\\n plate.style.translate=x+'px '+y+'px';\\n frameId=done?0:requestAnimationFrame(travel);\\n}\\nfunction point(i,snap=false){\\n const b=options[i];if(!b.offsetWidth)return;\\n options.forEach((el,j)=>el.classList.toggle('pointed',i===j));\\n const bounds=b.getBoundingClientRect(), tray=nav.getBoundingClientRect();\\n tx=bounds.left-tray.left-nav.clientLeft+nav.scrollLeft;\\n ty=bounds.top-tray.top-nav.clientTop+nav.scrollTop;\\n plate.style.width=bounds.width+'px';plate.style.height=bounds.height+'px';\\n nav.dataset.point=bowls[i][0];\\n const horizontal = !desktopMenu.matches;\\n plate.style.transition = snap || shown \\u003c 0 ? 'none' : '';\\n if(horizontal||snap||quiet.matches||shown\\u003c0){\\n  cancelAnimationFrame(frameId);frameId=0;vx=vy=0;x=tx;y=ty;plate.style.translate=x+'px '+y+'px';\\n }else if(!frameId){lastTime=performance.now();frameId=requestAnimationFrame(travel)}\\n shown=i;\\n}\\nconst desktopMenu = matchMedia('(min-width:701px)');\\nfunction selectBowl(i) {\\n if (i !== current) {\\n  current = i;\\n  choose(i);\\n }\\n point(i);\\n}\\noptions.forEach((button, i) => {\\n button.addEventListener('pointerenter', event => {\\n  if (desktopMenu.matches && event.pointerType === 'mouse') selectBowl(i);\\n });\\n button.addEventListener('focus', () => {\\n  if (button.matches(':focus-visible')) selectBowl(i);\\n });\\n button.addEventListener('click', () => selectBowl(i));\\n});\\nnew ResizeObserver(() => point(current, true)).observe(nav);\\nquiet.addEventListener('change', () => point(current, true));\\npoint(firstBowl,true);\\n\\nfunction toggle(open){if(!open && window.parent!==window){window.parent.postMessage({type:\\\"nn-close-ramen\\\"},\\\"*\\\");return}$('.sheet').hidden=!open;$('.veil').hidden=!open;$('.reopen').hidden=open;(open?$('.close'):$('.reopen')).focus()}\\n$('.close').onclick=()=>toggle(false);$('.reopen').onclick=()=>toggle(true);window.addEventListener('keydown',e=>{if(e.key==='Escape'&&!$('.sheet').hidden)toggle(false)});\\nconst closeButton = $('.close');\\nconst star = closeButton.querySelector('img');\\nlet frame = 0;\\nlet speed = 1;\\nfunction spinTo(target) {\\n cancelAnimationFrame(frame);\\n const spin = star.getAnimations().find(a => a.animationName === 'shuriken');\\n if (!spin) return;\\n let previous = performance.now();\\n function ease(now) {\\n  const elapsed = now - previous;\\n  previous = now;\\n  speed += (target - speed) * (1 - Math.exp(-elapsed / (target === 1 ? 180 : 60)));\\n  if (Math.abs(target - speed) \\u003c .015) speed = target;\\n  spin.updatePlaybackRate(speed);\\n  if (speed !== target) frame = requestAnimationFrame(ease);\\n }\\n frame = requestAnimationFrame(ease);\\n}\\ncloseButton.addEventListener('pointerenter', e => { if (e.pointerType !== 'touch') spinTo(6) });\\ncloseButton.addEventListener('pointerleave', () => spinTo(1));\\ncloseButton.addEventListener('click', () => { cancelAnimationFrame(frame); speed = 1 });\\n\\n// Apply the same curve families in browsers that lack native corner-shape.\\n// Framer's color tokens live on the host document and do not inherit into srcdoc.\\ntry {\\n  let frame = window;\\n  while (frame.parent !== frame) {\\n    const owner = frame.parent;\\n    const token = owner.getComputedStyle(frame.frameElement || owner.document.body).getPropertyValue('--token-iP942QhEF').trim();\\n    if (token) {\\n      document.documentElement.style.setProperty('--token-iP942QhEF', token);\\n      break;\\n    }\\n    frame = owner;\\n  }\\n} catch {}\\n(()=>{let w=window;try{while(w.parent!==w){w=w.parent;const shared=w.document.getElementById('nn-corner-system');if(shared && !document.querySelector('nav[data-nn-switch]')){const s=document.createElement('script');s.textContent=shared.textContent;document.head.append(s);return}}}catch{}\\n(() => {\\n const doc=document, root=doc.documentElement;\\n let owner=window;\\n try {\\n  while(owner.parent!==owner&&owner.parent.document)owner=owner.parent;\\n } catch {}\\n const media=owner.matchMedia('(max-width:809px),(hover:none) and (pointer:coarse) and (max-height:540px)');\\n const native=CSS.supports('corner-shape','superellipse(1.25)');\\n const site=!doc.querySelector('#stage,.sheet')&&window===owner;\\n const menu=doc.querySelector('.sheet nav');\\n const named='[data-framer-name=\\\"Menu dropdown\\\"] :is([data-framer-name=\\\"Page links\\\"],[data-framer-name=\\\"NiNNiN map controls\\\"])';\\n const candidates=site?'#main :is([data-framer-name],[data-border],a,button,form,input,textarea,select),'+named:\\n  menu?'.sheet,.sheet nav,.choice-plate,.choice-face,nav button,.identity,.reopen':\\n  '.map-tag,.dock-tip,#menu-card,#menu-card :is(a,button),#page-preview,.dialog-bar button,#status';\\n let radius,shape,handle;\\n const observed=new WeakSet();\\n function sync(){\\n  const theme=owner.getComputedStyle(owner.document.documentElement);\\n  shape=theme.getPropertyValue('--ninnin-capsule-curve').trim()||'superellipse(1.25)';\\n  const height=parseFloat(theme.getPropertyValue('--ninnin-bar-height'))||(media.matches?52:58);\\n  radius=height/2;\\n  handle=(Math.pow(.5,1/Math.pow(2,Number(shape.match(/\\\\(([.\\\\d]+)\\\\)/)?.[1]||1.25)))-.5)/.375;\\n  root.style.setProperty('--nn-shared-radius',radius+'px');\\n  if(window!==owner){root.style.setProperty('--ninnin-capsule-curve',shape);root.style.setProperty('--ninnin-bar-height',height+'px');}\\n }\\n // A selection tray is the reference contour. If two adjacent edges are\\n // inset together, its enclosing panel expands outward by that same inset.\\n const groupSelector='nav,[role=\\\"menu\\\"],[role=\\\"tablist\\\"],[role=\\\"listbox\\\"],[data-nn-corner-group],'+named;\\n function enclosingRadius(el){\\n  if(menu&&el===menu.closest('.sheet')&&window.matchMedia('(max-width:700px)').matches){\\n   return parseFloat(getComputedStyle(el).getPropertyValue('--panel-radius'))||radius;\\n  }\\n  let outer=radius;\\n  if(!el.childElementCount||el.matches(groupSelector))return outer;\\n  const groups=el.querySelectorAll(groupSelector);\\n  if(!groups.length)return outer;\\n  const box=el.getBoundingClientRect();\\n  for(const group of groups){\\n   if(!group.offsetWidth||!group.offsetHeight)continue;\\n   const nearest=group.parentElement.closest('[data-nn-rounded]');\\n   if(nearest&&nearest!==el&&el.contains(nearest))continue;\\n   const g=group.getBoundingClientRect();\\n   const dx=Math.min(g.left-box.left,box.right-g.right);\\n   const dy=Math.min(g.top-box.top,box.bottom-g.bottom);\\n   if(dx\\u003c0||dy\\u003c0||Math.max(dx,dy)>radius||Math.abs(dx-dy)>.5)continue;\\n   const inner=Math.min(radius,group.offsetWidth/2,group.offsetHeight/2);\\n   outer=Math.max(outer,inner+(dx+dy)/2);\\n  }\\n  return outer;\\n }\\n function curve(el){\\n  const box=(!native&&menu&&window.matchMedia('(max-width:700px)').matches)\\n   ?el.getBoundingClientRect():null;\\n  const w=box?box.width:el.offsetWidth,h=box?box.height:el.offsetHeight;\\n  if(!w||!h)return;\\n  const nested=menu&&menu.contains(el)&&el!==menu;\\n  const compactTray=menu && menu.hasAttribute('data-nn-switch') && window.matchMedia('(max-width:700px)').matches && (el===menu||nested);\\n  const limit=compactTray?parseFloat(getComputedStyle(menu).getPropertyValue('--switch-radius'))-(nested?parseFloat(getComputedStyle(menu).paddingLeft):0):nested?Math.max(0,Math.min(radius,menu.offsetWidth/2,menu.offsetHeight/2)-parseFloat(getComputedStyle(menu).paddingLeft)):enclosingRadius(el);\\n  const r=Math.min(limit,w/2,h/2);\\n  el.style.setProperty('--nn-ui-radius',r+'px');\\n  el.setAttribute('data-nn-rounded','');\\n  if(native||el.classList.contains('choice-plate')||(nested&&el.tagName==='BUTTON'))return;\\n  // The plate casts the shadow. Its child draws the visible rounded face.\\n  const k=r*handle,a=w-r,b=h-r;\\n  const path='M '+r+' 0 H '+a+' C '+(a+k)+' 0 '+w+' '+(r-k)+' '+w+' '+r+' V '+b+' C '+w+' '+(b+k)+' '+(a+k)+' '+h+' '+a+' '+h+' H '+r+' C '+(r-k)+' '+h+' 0 '+(b+k)+' 0 '+b+' V '+r+' C 0 '+(r-k)+' '+(r-k)+' 0 '+r+' 0 Z';\\n  el.style.setProperty('--nn-ui-path','path(\\\"'+path+'\\\")');\\n  el.setAttribute('data-nn-curve-path','');\\n }\\n const sizes=new ResizeObserver(entries=>{\\n  const affected=new Set();\\n  for(const {target} of entries){\\n   affected.add(target);\\n   if(target.matches(groupSelector)){\\n    const parent=target.parentElement.closest('[data-nn-rounded]');\\n    if(parent)affected.add(parent);\\n   }\\n  }\\n  affected.forEach(curve);\\n });\\n function register(el){\\n  if(observed.has(el))return;\\n  if(site&&!el.matches(named)){\\n   const st=getComputedStyle(el),r=st.borderTopLeftRadius;\\n   if(!parseFloat(r)||![st.borderTopRightRadius,st.borderBottomRightRadius,st.borderBottomLeftRadius].every(v=>v===r))return;\\n  }\\n  observed.add(el);sizes.observe(el);curve(el);\\n }\\n function scan(node){\\n  if(node.nodeType!==1)return;\\n  if(node.matches(candidates))register(node);\\n  node.querySelectorAll(candidates).forEach(register);\\n }\\n const style=doc.createElement('style');\\n style.textContent='[data-nn-rounded]{border-radius:var(--nn-ui-radius)!important;corner-shape:var(--ninnin-capsule-curve)!important}[data-nn-curve-path]{clip-path:var(--nn-ui-path)!important;border-radius:calc(var(--nn-ui-radius) * .75)!important}[data-nn-curve-path]:focus-visible{outline-offset:-3px}';\\n doc.head.append(style);\\n sync();scan(doc.body);\\n const changes=new MutationObserver(records=>{for(const r of records)r.addedNodes.forEach(scan)});\\n changes.observe(doc.body,{childList:true,subtree:true});\\n function refresh(){sync();scan(doc.body);doc.querySelectorAll('[data-nn-rounded]').forEach(curve)}\\n media.addEventListener('change',refresh);\\n window.addEventListener('pagehide',e=>{if(!e.persisted){media.removeEventListener('change',refresh);changes.disconnect();sizes.disconnect()}},{once:true});\\n})();\\n})();\\n\\n\\n\\u003c/script>\\u003cstyle id=\\\"nn-kunai-pointer\\\">@media (hover:hover) and (pointer:fine) {\\n  :root, .dock { --nn-kunai-ink:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KICA8dGl0bGU+TmlOTmlOIEt1bmFpPC90aXRsZT4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9InNoYWRvdyIgeD0iLTMwJSIgeT0iLTMwJSIgd2lkdGg9IjE3NSUiIGhlaWdodD0iMTgwJSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KICAgICAgPGZlRHJvcFNoYWRvdyBkeD0iLjciIGR5PSIyIiBz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9IndyYXAtY29sb3IiIHg9IjI4IiB5PSItMi45IiB3aWR0aD0iMTUiIGhlaWdodD0iNS44IiBmaWxsPSIjQzczQjI4Ii8+CiAgICAgICAgICA8cGF0aCBkPSJtMzAtMyAyLjkgNm0xLjUtNiAyLjkgNm0xLjUtNiAyLjkgNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjIyIiBzdHJva2Utd2lkdGg9Ii45NSIvPgogICAgICAgICAgPHBhdGggZD0ibTMwLjktMyAyLjkgNm0xLjUtNiAyLjkgNm0xLjUtNiAyLjkgNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utb3BhY2l0eT0iLjIzIiBzdHJva2Utd2lkdGg9Ii43NSIvPgogICAgICAgIDwvZz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==\\\") 2 2, auto }\\n  :root, body, body *, .dock, .dock * { --nn-trail-tone:ink; cursor:var(--nn-kunai-ink) !important }\\n  body [data-nn-dark-under],\\n  body :is(.meet-banner,.wordmark-band,.map-key,.dock-tip,.tabs button[aria-pressed=\\\"true\\\"]),\\n  body .meet-banner *, body .wordmark-band *, body .tabs button[aria-pressed=\\\"true\\\"] *,\\n  body nav:is([data-point=\\\"red\\\"],[data-point=\\\"black\\\"]) .pointed,\\n  body nav:is([data-point=\\\"red\\\"],[data-point=\\\"black\\\"]) .pointed * { --nn-trail-tone:light; cursor:var(--nn-kunai-ink) !important }\\n  body .meet-banner button, body .meet-banner button * { --nn-trail-tone:ink; cursor:var(--nn-kunai-ink) !important }\\n  .dock[data-kunai-tracking], .dock[data-kunai-tracking] *, .dock[data-kunai-tracking]::before, .dock[data-kunai-tracking]::after { cursor:none !important }\\n  body :is(textarea,input:not([type]),input:is([type=text],[type=email],[type=search],[type=password],[type=tel],[type=url]),[contenteditable=true],[contenteditable=true] *) { cursor:text !important }\\n  body :is(button,input):disabled { cursor:not-allowed !important }\\n  body .spin-window:active, body .spin-window:active *, body #stage.dragging { cursor:grabbing !important }\\n  #path-cursor { visibility:hidden }\\n}\\n\\u003c/style>\\u003cscript>// Resolve solid surfaces once when the pointer enters them. Keep the cursor native.\\n(() => {\\n  const fine = matchMedia('(hover:hover) and (pointer:fine)');\\n  let marked, artwork;\\n  const tones = new WeakMap();\\n  // Keep a small colour sample of each displayed illustration, using its existing image.\\n  function readArtwork(event) {\\n    if (!artwork?.complete || !artwork.naturalWidth) return;\\n    let sample = tones.get(artwork);\\n    if (!sample || sample.url !== artwork.currentSrc) {\\n      const canvas = document.createElement('canvas');\\n      canvas.width = canvas.height = 96;\\n      const ctx = canvas.getContext('2d', {willReadFrequently:true});\\n      sample = {url:artwork.currentSrc};\\n      try {\\n        ctx.drawImage(artwork,0,0,96,96);\\n        sample.pixels = ctx.getImageData(0,0,96,96).data;\\n      } catch {}\\n      tones.set(artwork,sample);\\n    }\\n    if (!sample.pixels) return;\\n    const box = artwork.getBoundingClientRect();\\n    const x = Math.floor(96*(event.clientX-box.left)/box.width);\\n    const y = Math.floor(96*(event.clientY-box.top)/box.height);\\n    const i = 4*(y*96+x), p = sample.pixels;\\n    const dark = x>=0 && y>=0 && x\\u003c96 && y\\u003c96 && p[i+3]>190 &&\\n      .2126*p[i]+.7152*p[i+1]+.0722*p[i+2] \\u003c 112;\\n    const target = event.composedPath()[0];\\n    if (dark && !marked) {target.setAttribute('data-nn-dark-under','');marked=target}\\n    if (!dark && marked) {marked.removeAttribute('data-nn-dark-under');marked=null}\\n  }\\n  function clear() {\\n    marked?.removeAttribute('data-nn-dark-under');\\n    marked = null;\\n    artwork = null;\\n  }\\n  function enter(event) {\\n    clear();\\n    if (!fine.matches || event.pointerType !== 'mouse') return;\\n    const target = event.composedPath()[0];\\n    if (target?.nodeType !== 1 || target.closest('.dock')) return;\\n    if (target.matches('img.bowls')) artwork = target;\\n    else if (target.matches('#stage, #stage .object-shape, #stage .object-shape *'))\\n      artwork = document.getElementById('world-art');\\n    if (artwork) {readArtwork(event);return}\\n    // Composite translucent fills over their ancestors, starting at the hit element.\\n    let luminance = 0, remaining = 1;\\n    for (let node = target; node; node = node.parentElement) {\\n      const style = getComputedStyle(node);\\n      if (style.backgroundImage !== 'none') return;\\n      const rgb = style.backgroundColor.match(/^rgba?\\\\(([^)]+)\\\\)$/);\\n      if (!rgb) continue;\\n      const [r,g,b,a = 1] = rgb[1].split(',').map(Number);\\n      luminance += remaining * a * (.2126*r + .7152*g + .0722*b);\\n      remaining *= 1-a;\\n      if (remaining \\u003c .01) break;\\n    }\\n    if (luminance + 255*remaining \\u003c 112) {\\n      target.setAttribute('data-nn-dark-under','');\\n      marked = target;\\n    }\\n  }\\n  document.addEventListener('pointerover', enter, {capture:true, passive:true});\\n  document.addEventListener('pointermove', event => {if(artwork)readArtwork(event)}, {capture:true, passive:true});\\n  document.addEventListener('pointerout', clear, {capture:true, passive:true});\\n  fine.addEventListener('change', clear);\\n\\n})();\\n\\u003c/script>\\u003cscript>// A tapered steel glint follows the actual arc of a quick mouse stroke.\\n(() => {\\n  const enabled = matchMedia('(any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference)');\\n  let host = window;\\n  try { while (host !== host.parent && host.parent.document) host = host.parent; } catch {}\\n  const lifetime = 390;\\n  const hold = 100;\\n  const reach = 310;\\n\\n  function makeTrail() {\\n    const svgNS = 'http://www.w3.org/2000/svg';\\n    const svg = host.document.createElementNS(svgNS, 'svg');\\n    svg.setAttribute('aria-hidden','true');\\n    svg.setAttribute('data-nn-kunai-trail','');\\n    svg.style.cssText = 'position:fixed;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:2147483646;display:none';\\n    const path = (fill) => {\\n      const p = host.document.createElementNS(svgNS,'path');\\n      p.setAttribute('fill',fill);\\n      svg.append(p);\\n      return p;\\n    };\\n    const palettes = {\\n      ink: [path('#302e2a'), path('#685843')],\\n      light: [path('#be8637'), path('#fff5d8')]\\n    };\\n    host.document.documentElement.append(svg);\\n    let points = [], raf = 0;\\n    function clear() {\\n      host.cancelAnimationFrame(raf);\\n      raf = 0;\\n      points = [];\\n      svg.style.display = 'none';\\n    }\\n    // Round the sampled edges, preserving both sharp tips.\\n    function outline(vertices) {\\n      const [a,...rest] = vertices;\\n      let d = 'M'+a.x+' '+a.y;\\n      for (let i=0; i\\u003crest.length-1; i++) {\\n        const p=rest[i], q=rest[i+1];\\n        d += 'Q'+p.x+' '+p.y+' '+(p.x+q.x)/2+' '+(p.y+q.y)/2;\\n      }\\n      const end = rest[rest.length-1];\\n      return d+'L'+end.x+' '+end.y;\\n    }\\n    function paint() {\\n      raf=0;\\n      const now=host.performance.now();\\n      while(points.length>1 && now-points[1].t>=lifetime) points.shift();\\n      if(points.length\\u003c2 || now-points[points.length-1].t>=lifetime) {clear();return}\\n      const p=points.map(p=>({...p}));\\n      // Trim the tail by both age and distance, even for a single long mouse event.\\n      let distance=0;\\n      for(let i=p.length-2;i>=0;i--){\\n        const a=p[i], b=p[i+1], len=Math.hypot(b.x-a.x,b.y-a.y);\\n        const cut=Math.min(1,(reach-distance)/Math.max(.001,len),(b.t-now+lifetime)/Math.max(.001,b.t-a.t));\\n        if(cut\\u003c1){a.x=b.x+(a.x-b.x)*cut;a.y=b.y+(a.y-b.y)*cut;p.splice(0,i);break}\\n        distance+=len;\\n      }\\n      // Place the colour seam between consecutive hits on opposite surfaces.\\n      const singleSegment = p.length === 2;\\n      for (let i=p.length-1; i>0; i--) {\\n        const a=p[i-1], b=p[i];\\n        if (singleSegment || a.tone!==b.tone) {\\n          p.splice(i,0,{x:(a.x+b.x)/2,y:(a.y+b.y)/2,tone:a.tone});\\n        }\\n      }\\n      const lengths=[0];\\n      for(let i=1;i\\u003cp.length;i++)lengths.push(lengths[i-1]+Math.hypot(p[i].x-p[i-1].x,p[i].y-p[i-1].y));\\n      const total=lengths[lengths.length-1];\\n      if(total\\u003c1){clear();return}\\n      const left=[],right=[],core=[];\\n      for(let i=0;i\\u003cp.length;i++){\\n        const a=p[Math.max(0,i-1)], b=p[Math.min(p.length-1,i+1)], c=p[i];\\n        const len=Math.hypot(b.x-a.x,b.y-a.y)||1;\\n        const width=Math.sin(Math.PI*lengths[i]/total)*Math.min(5.8,total*.045);\\n        const nx=-(b.y-a.y)*width/len, ny=(b.x-a.x)*width/len;\\n        left.push({x:c.x+nx,y:c.y+ny});\\n        right.push({x:c.x-nx,y:c.y-ny});\\n        core.push({x:c.x+nx*.27,y:c.y+ny*.27});\\n      }\\n      // Keep each stretch of the ribbon in the tone of the surface it crossed.\\n      const shapes = {ink:['',''], light:['','']};\\n      let start = 0;\\n      for (let i=1; i\\u003cp.length; i++) {\\n        const tone = p[i].tone;\\n        if (i+1\\u003cp.length && p[i+1].tone===tone) continue;\\n        const edge = outline(right.slice(start,i+1).reverse()).replace(/^M/,'L')+'Z';\\n        shapes[tone][0] += outline(left.slice(start,i+1))+edge;\\n        shapes[tone][1] += outline(core.slice(start,i+1))+edge;\\n        start = i;\\n      }\\n      for (const tone of ['ink','light']) {\\n        palettes[tone].forEach((layer,index)=>layer.setAttribute('d',shapes[tone][index]));\\n      }\\n      const age = now - points[points.length-1].t;\\n      const fade = Math.max(0, (age-hold)/(lifetime-hold));\\n      svg.style.opacity = String(1 - fade*fade*(3-2*fade));\\n      svg.style.display='block';\\n      raf=host.requestAnimationFrame(paint);\\n    }\\n    function extend(from,to){\\n      const last=points[points.length-1];\\n      if(!last || Math.hypot(last.x-from.x,last.y-from.y)>5 || to.t-last.t>lifetime) points=[from];\\n      points.push(to);\\n      if(!raf)raf=host.requestAnimationFrame(paint);\\n    }\\n    host.addEventListener('blur',clear);\\n    return {extend,clear,dispose(){clear();host.removeEventListener('blur',clear);svg.remove()}};\\n  }\\n\\n  let localTrail;\\n  function draw(from,to) {\\n    (localTrail ||= makeTrail()).extend(from,to);\\n  }\\n  // Keep the renderer in the outer document when a popup's iframe is replaced.\\n  if(window===host)host.__nnDrawKunaiTrail=draw;\\n  window.addEventListener('pagehide',event=>{\\n    if(!event.persisted){localTrail?.dispose();localTrail=null}\\n  });\\n  let previous=null, drawing=false;\\n  function reset(){previous=null;drawing=false}\\n  function move(event) {\\n    if(!enabled.matches || event.pointerType!=='mouse' || event.buttons){reset();return}\\n    const x=event.clientX,y=event.clientY,t=host.performance.now(),last=previous;\\n    if(last && t-last.t\\u003c4)return;\\n    previous={x,y,t};\\n    if(!last || t-last.t>100){drawing=false;return}\\n    const length=Math.hypot(x-last.x,y-last.y),dt=Math.max(4,t-last.t);\\n    if(length\\u003c1)return;\\n    drawing = length/dt >= (drawing ? .70 : 1.05);\\n    if(!drawing || event.target.closest?.('input,textarea,[contenteditable=true]'))return;\\n    const target = event.composedPath()[0];\\n    if (target?.nodeType !== 1) return;\\n    const tone = getComputedStyle(target).getPropertyValue('--nn-trail-tone').trim()==='light' ? 'light' : 'ink';\\n    previous.tone = tone;\\n    const from={...last,tone:last.tone || tone},to={x,y,t,tone};\\n    for(let w=window;w!==host;w=w.parent){\\n      const frame=w.frameElement;\\n      if(!frame || !frame.offsetWidth || !frame.offsetHeight)return;\\n      const rect=frame.getBoundingClientRect(),sx=rect.width/frame.offsetWidth,sy=rect.height/frame.offsetHeight;\\n      for(const p of [from,to]){\\n        p.x=rect.left+(frame.clientLeft+p.x)*sx;\\n        p.y=rect.top+(frame.clientTop+p.y)*sy;\\n      }\\n    }\\n    (host.__nnDrawKunaiTrail || draw)(from,to);\\n  }\\n  document.addEventListener('pointermove',move,{capture:true,passive:true});\\n  document.addEventListener('pointerout',e=>{if(!e.relatedTarget)reset()},true);\\n  document.addEventListener('pointercancel',reset,true);\\n  window.addEventListener('blur',reset);\\n  enabled.addEventListener('change',()=>{reset();if(!enabled.matches)localTrail?.clear()});\\n})();\\n\\u003c/script>\\u003c/html>\\n\"</script><style id=\"nn-kunai-pointer\">@media (hover:hover) and (pointer:fine) {\n  :root, .dock { --nn-kunai-ink:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvM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JNMCAwIDIyLjYtNi40IDMwLTIuMnY0LjRsLTcuNCA0LjJaIi8+CiAgICAgICAgPHBhdGggZmlsbD0iIzQwNDQ0MiIgZD0iTTAgMGgyNC44TDIyLjYgNi40WiIvPgogICAgICAgIDxjaXJjbGUgaWQ9InJpbmciIGN4PSI0Ny41IiByPSI0LjQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzIzMjYyNSIgc3Ryb2tlLXdpZHRoPSIzLjIiLz4KICAgICAgICA8ZyBjbGlwLXBhdGg9InVybCgjZ3JpcCkiPgogICAgICAgICAgPHJlY3QgaWQ9IndyYXAtY29sb3IiIHg9IjI4IiB5PSItMi45IiB3aWR0aD0iMTUiIGhlaWdodD0iNS44IiBmaWxsPSIjQzczQjI4Ii8+CiAgICAgICAgICA8cGF0aCBkPSJtMzAtMyAyLjkgNm0xLjUtNiAyLjkgNm0xLjUtNiAyLjkgNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjIyIiBzdHJva2Utd2lkdGg9Ii45NSIvPgogICAgICAgICAgPHBhdGggZD0ibTMwLjktMyAyLjkgNm0xLjUtNiAyLjkgNm0xLjUtNiAyLjkgNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utb3BhY2l0eT0iLjIzIiBzdHJva2Utd2lkdGg9Ii43NSIvPgogICAgICAgIDwvZz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==\") 2 2, auto }\n  :root, body, body *, .dock, .dock * { --nn-trail-tone:ink; cursor:var(--nn-kunai-ink) !important }\n  body [data-nn-dark-under],\n  body :is(.meet-banner,.wordmark-band,.map-key,.dock-tip,.tabs button[aria-pressed=\"true\"]),\n  body .meet-banner *, body .wordmark-band *, body .tabs button[aria-pressed=\"true\"] *,\n  body nav:is([data-point=\"red\"],[data-point=\"black\"]) .pointed,\n  body nav:is([data-point=\"red\"],[data-point=\"black\"]) .pointed * { --nn-trail-tone:light; cursor:var(--nn-kunai-ink) !important }\n  body .meet-banner button, body .meet-banner button * { --nn-trail-tone:ink; cursor:var(--nn-kunai-ink) !important }\n  .dock[data-kunai-tracking], .dock[data-kunai-tracking] *, .dock[data-kunai-tracking]::before, .dock[data-kunai-tracking]::after { cursor:none !important }\n  body :is(textarea,input:not([type]),input:is([type=text],[type=email],[type=search],[type=password],[type=tel],[type=url]),[contenteditable=true],[contenteditable=true] *) { cursor:text !important }\n  body :is(button,input):disabled { cursor:not-allowed !important }\n  body .spin-window:active, body .spin-window:active *, body #stage.dragging { cursor:grabbing !important }\n  #path-cursor { visibility:hidden }\n}\n</style><script>// Resolve solid surfaces once when the pointer enters them. Keep the cursor native.\n(() => {\n  const fine = matchMedia('(hover:hover) and (pointer:fine)');\n  let marked, artwork;\n  const tones = new WeakMap();\n  // Keep a small colour sample of each displayed illustration, using its existing image.\n  // Prepare a tiny map colour sample before the pointer reaches the courtyard.\n  // Reading a 4K image for the first time inside pointerover delayed that frame.\n  function prepareMapSample(art) {\n    if(!art?.naturalWidth||tones.get(art)?.url===art.currentSrc)return;\n    const entry={url:art.currentSrc};tones.set(art,entry);\n    const sample=async()=>{\n      let bitmap;\n      try{\n        if(window.createImageBitmap)try{bitmap=await createImageBitmap(art,{resizeWidth:96,resizeHeight:96,resizeQuality:'low'});}catch{}\n        const canvas=document.createElement('canvas');canvas.width=canvas.height=96;\n        const ctx=canvas.getContext('2d',{willReadFrequently:true});\n        ctx.drawImage(bitmap||art,0,0,96,96);\n        entry.pixels=ctx.getImageData(0,0,96,96).data;\n      }catch{}finally{bitmap?.close();}\n    };\n    if(window.requestIdleCallback)requestIdleCallback(sample,{timeout:600});else setTimeout(sample,0);\n  }\n  document.addEventListener('load',e=>{if(e.target?.id==='world-art')prepareMapSample(e.target);},true);\n  prepareMapSample(document.getElementById('world-art'));\n  function readArtwork(event) {\n    if (!artwork?.complete || !artwork.naturalWidth) return;\n    if(artwork.id==='world-art')prepareMapSample(artwork);\n    let sample = tones.get(artwork);\n    if (!sample || sample.url !== artwork.currentSrc) {\n      const canvas = document.createElement('canvas');\n      canvas.width = canvas.height = 96;\n      const ctx = canvas.getContext('2d', {willReadFrequently:true});\n      sample = {url:artwork.currentSrc};\n      try {\n        ctx.drawImage(artwork,0,0,96,96);\n        sample.pixels = ctx.getImageData(0,0,96,96).data;\n      } catch {}\n      tones.set(artwork,sample);\n    }\n    if (!sample.pixels) return;\n    const box = artwork.getBoundingClientRect();\n    const x = Math.floor(96*(event.clientX-box.left)/box.width);\n    const y = Math.floor(96*(event.clientY-box.top)/box.height);\n    const i = 4*(y*96+x), p = sample.pixels;\n    const dark = x>=0 && y>=0 && x<96 && y<96 && p[i+3]>190 &&\n      .2126*p[i]+.7152*p[i+1]+.0722*p[i+2] < 112;\n    const target = event.composedPath()[0];\n    if (dark && !marked) {target.setAttribute('data-nn-dark-under','');marked=target}\n    if (!dark && marked) {marked.removeAttribute('data-nn-dark-under');marked=null}\n  }\n  function clear() {\n    marked?.removeAttribute('data-nn-dark-under');\n    marked = null;\n    artwork = null;\n  }\n  function enter(event) {\n    clear();\n    if (!fine.matches || event.pointerType !== 'mouse') return;\n    const target = event.composedPath()[0];\n    if (target?.nodeType !== 1 || target.closest('.dock')) return;\n    if (target.matches('img.bowls')) artwork = target;\n    else if (target.matches('#stage, #stage .object-shape, #stage .object-shape *'))\n      artwork = document.getElementById('world-art');\n    if (artwork) {readArtwork(event);return}\n    // Composite translucent fills over their ancestors, starting at the hit element.\n    let luminance = 0, remaining = 1;\n    for (let node = target; node; node = node.parentElement) {\n      const style = getComputedStyle(node);\n      if (style.backgroundImage !== 'none') return;\n      const rgb = style.backgroundColor.match(/^rgba?\\(([^)]+)\\)$/);\n      if (!rgb) continue;\n      const [r,g,b,a = 1] = rgb[1].split(',').map(Number);\n      luminance += remaining * a * (.2126*r + .7152*g + .0722*b);\n      remaining *= 1-a;\n      if (remaining < .01) break;\n    }\n    if (luminance + 255*remaining < 112) {\n      target.setAttribute('data-nn-dark-under','');\n      marked = target;\n    }\n  }\n  document.addEventListener('pointerover', enter, {capture:true, passive:true});\n  document.addEventListener('pointermove', event => {if(artwork)readArtwork(event)}, {capture:true, passive:true});\n  document.addEventListener('pointerout', clear, {capture:true, passive:true});\n  fine.addEventListener('change', clear);\n\n})();\n</script><script>// A tapered steel glint follows the actual arc of a quick mouse stroke.\n(() => {\n  const enabled = matchMedia('(any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference)');\n  let host = window;\n  try { while (host !== host.parent && host.parent.document) host = host.parent; } catch {}\n  const lifetime = 390;\n  const hold = 100;\n  const reach = 310;\n\n  function makeTrail() {\n    const svgNS = 'http://www.w3.org/2000/svg';\n    const svg = host.document.createElementNS(svgNS, 'svg');\n    svg.setAttribute('aria-hidden','true');\n    svg.setAttribute('data-nn-kunai-trail','');\n    svg.style.cssText = 'position:fixed;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:2147483646;display:none';\n    const path = (fill) => {\n      const p = host.document.createElementNS(svgNS,'path');\n      p.setAttribute('fill',fill);\n      svg.append(p);\n      return p;\n    };\n    const palettes = {\n      ink: [path('#302e2a'), path('#685843')],\n      light: [path('#be8637'), path('#fff5d8')]\n    };\n    host.document.documentElement.append(svg);\n    let points = [], raf = 0;\n    function clear() {\n      host.cancelAnimationFrame(raf);\n      raf = 0;\n      points = [];\n      svg.style.display = 'none';\n    }\n    // Round the sampled edges, preserving both sharp tips.\n    function outline(vertices) {\n      const [a,...rest] = vertices;\n      let d = 'M'+a.x+' '+a.y;\n      for (let i=0; i<rest.length-1; i++) {\n        const p=rest[i], q=rest[i+1];\n        d += 'Q'+p.x+' '+p.y+' '+(p.x+q.x)/2+' '+(p.y+q.y)/2;\n      }\n      const end = rest[rest.length-1];\n      return d+'L'+end.x+' '+end.y;\n    }\n    function paint() {\n      raf=0;\n      const now=host.performance.now();\n      while(points.length>1 && now-points[1].t>=lifetime) points.shift();\n      if(points.length<2 || now-points[points.length-1].t>=lifetime) {clear();return}\n      const p=points.map(p=>({...p}));\n      // Trim the tail by both age and distance, even for a single long mouse event.\n      let distance=0;\n      for(let i=p.length-2;i>=0;i--){\n        const a=p[i], b=p[i+1], len=Math.hypot(b.x-a.x,b.y-a.y);\n        const cut=Math.min(1,(reach-distance)/Math.max(.001,len),(b.t-now+lifetime)/Math.max(.001,b.t-a.t));\n        if(cut<1){a.x=b.x+(a.x-b.x)*cut;a.y=b.y+(a.y-b.y)*cut;p.splice(0,i);break}\n        distance+=len;\n      }\n      // Place the colour seam between consecutive hits on opposite surfaces.\n      const singleSegment = p.length === 2;\n      for (let i=p.length-1; i>0; i--) {\n        const a=p[i-1], b=p[i];\n        if (singleSegment || a.tone!==b.tone) {\n          p.splice(i,0,{x:(a.x+b.x)/2,y:(a.y+b.y)/2,tone:a.tone});\n        }\n      }\n      const lengths=[0];\n      for(let i=1;i<p.length;i++)lengths.push(lengths[i-1]+Math.hypot(p[i].x-p[i-1].x,p[i].y-p[i-1].y));\n      const total=lengths[lengths.length-1];\n      if(total<1){clear();return}\n      const left=[],right=[],core=[];\n      for(let i=0;i<p.length;i++){\n        const a=p[Math.max(0,i-1)], b=p[Math.min(p.length-1,i+1)], c=p[i];\n        const len=Math.hypot(b.x-a.x,b.y-a.y)||1;\n        const width=Math.sin(Math.PI*lengths[i]/total)*Math.min(5.8,total*.045);\n        const nx=-(b.y-a.y)*width/len, ny=(b.x-a.x)*width/len;\n        left.push({x:c.x+nx,y:c.y+ny});\n        right.push({x:c.x-nx,y:c.y-ny});\n        core.push({x:c.x+nx*.27,y:c.y+ny*.27});\n      }\n      // Keep each stretch of the ribbon in the tone of the surface it crossed.\n      const shapes = {ink:['',''], light:['','']};\n      let start = 0;\n      for (let i=1; i<p.length; i++) {\n        const tone = p[i].tone;\n        if (i+1<p.length && p[i+1].tone===tone) continue;\n        const edge = outline(right.slice(start,i+1).reverse()).replace(/^M/,'L')+'Z';\n        shapes[tone][0] += outline(left.slice(start,i+1))+edge;\n        shapes[tone][1] += outline(core.slice(start,i+1))+edge;\n        start = i;\n      }\n      for (const tone of ['ink','light']) {\n        palettes[tone].forEach((layer,index)=>layer.setAttribute('d',shapes[tone][index]));\n      }\n      const age = now - points[points.length-1].t;\n      const fade = Math.max(0, (age-hold)/(lifetime-hold));\n      svg.style.opacity = String(1 - fade*fade*(3-2*fade));\n      svg.style.display='block';\n      raf=host.requestAnimationFrame(paint);\n    }\n    function extend(from,to){\n      const last=points[points.length-1];\n      if(!last || Math.hypot(last.x-from.x,last.y-from.y)>5 || to.t-last.t>lifetime) points=[from];\n      points.push(to);\n      if(!raf)raf=host.requestAnimationFrame(paint);\n    }\n    host.addEventListener('blur',clear);\n    return {extend,clear,dispose(){clear();host.removeEventListener('blur',clear);svg.remove()}};\n  }\n\n  let localTrail;\n  function draw(from,to) {\n    (localTrail ||= makeTrail()).extend(from,to);\n  }\n  // Keep the renderer in the outer document when a popup's iframe is replaced.\n  if(window===host)host.__nnDrawKunaiTrail=draw;\n  window.addEventListener('pagehide',event=>{\n    if(!event.persisted){localTrail?.dispose();localTrail=null}\n  });\n  let previous=null, drawing=false;\n  function reset(){previous=null;drawing=false}\n  function move(event) {\n    if(!enabled.matches || event.pointerType!=='mouse' || event.buttons){reset();return}\n    const x=event.clientX,y=event.clientY,t=host.performance.now(),last=previous;\n    if(last && t-last.t<4)return;\n    previous={x,y,t};\n    if(!last || t-last.t>100){drawing=false;return}\n    const length=Math.hypot(x-last.x,y-last.y),dt=Math.max(4,t-last.t);\n    if(length<1)return;\n    drawing = length/dt >= (drawing ? .70 : 1.05);\n    if(!drawing || event.target.closest?.('input,textarea,[contenteditable=true]'))return;\n    const target = event.composedPath()[0];\n    if (target?.nodeType !== 1) return;\n    const tone = getComputedStyle(target).getPropertyValue('--nn-trail-tone').trim()==='light' ? 'light' : 'ink';\n    previous.tone = tone;\n    const from={...last,tone:last.tone || tone},to={x,y,t,tone};\n    for(let w=window;w!==host;w=w.parent){\n      const frame=w.frameElement;\n      if(!frame || !frame.offsetWidth || !frame.offsetHeight)return;\n      const rect=frame.getBoundingClientRect(),sx=rect.width/frame.offsetWidth,sy=rect.height/frame.offsetHeight;\n      for(const p of [from,to]){\n        p.x=rect.left+(frame.clientLeft+p.x)*sx;\n        p.y=rect.top+(frame.clientTop+p.y)*sy;\n      }\n    }\n    (host.__nnDrawKunaiTrail || draw)(from,to);\n  }\n  document.addEventListener('pointermove',move,{capture:true,passive:true});\n  document.addEventListener('pointerout',e=>{if(!e.relatedTarget)reset()},true);\n  document.addEventListener('pointercancel',reset,true);\n  window.addEventListener('blur',reset);\n  enabled.addEventListener('change',()=>{reset();if(!enabled.matches)localTrail?.clear()});\n})();\n</script><script>// The bar keeps its footprint while the pointer crosses a gap between controls.\nfunction bindCourtyardDock(bar) {\n bar.classList.toggle(\"nn-tip-fallback\",!CSS.supports(\"corner-shape\",\"superellipse(1.25)\"));\n  const items = Array.from(bar.querySelectorAll(':scope > a, :scope > button'));\n  let hovered = -1;\n  function paint(index) {\n    if (index < 0) {\n      bar.removeAttribute('data-engaged');\n      return;\n    }\n    if (bar.style.getPropertyValue('--dock-index') !== String(index)) bar.style.setProperty('--dock-index', String(index));\n    if (!bar.hasAttribute('data-engaged')) {\n      getComputedStyle(bar, '::before').transform;\n      bar.setAttribute('data-engaged', '');\n    }\n  }\n  function select(index) {\n    if (hovered >= 0 && hovered !== index) items[hovered].removeAttribute('data-dock-hover');\n    hovered = index;\n    if (index >= 0) items[index].setAttribute('data-dock-hover', '');\n    paint(index >= 0 ? index : items.findIndex(el => el.matches(':focus-visible')));\n  }\n  function move(e) {\n    if (e.pointerType !== 'mouse') return;\n    const bounds = items.map(el => el.getBoundingClientRect());\n    const centers = bounds.map(r => r.left + r.width / 2);\n    const x = e.clientX;\n    let next = centers.findIndex((c,i) => i === centers.length - 1 || x < (c + centers[i+1]) / 2);\n    if (hovered >= 0 && next !== hovered) {\n      const step = Math.sign(next-hovered);\n      const boundary = (centers[hovered] + centers[hovered+step]) / 2;\n      if ((x-boundary)*step < 5) return;\n    }\n    if (next !== hovered) select(next);\n    bar.removeAttribute('data-dismiss-tip');\n  }\n  bar.addEventListener('pointerenter', move);\n  bar.addEventListener('pointermove', move);\n  bar.addEventListener('pointerdown', e => { const index=items.indexOf(e.target.closest('a,button')); if(index>=0)select(index); });\n  for (const name of ['pointerleave','pointercancel']) bar.addEventListener(name, () => select(-1));\n  bar.addEventListener('pointerup', e => { if(e.pointerType!=='mouse')select(-1); });\n  bar.addEventListener('focusin', e => { if(e.target.matches(':focus-visible')) {select(-1);bar.removeAttribute('data-dismiss-tip');} });\n  bar.addEventListener('focusout', () => queueMicrotask(() => {if(hovered<0)select(-1);}));\n}\n</script></head>\n<body>\n  <main id=\"stage\" tabindex=\"0\" aria-label=\"NiNNiN courtyard. Click nearby ground to walk, or drag to explore.\">\n    <div id=\"map-ground\">\n      <picture><source media=\"(pointer:coarse) and (max-width:1000px)\" srcset=\"https://framerusercontent.com/assets/XHiYwNlqC5HtAczNLF9oqXSkY.webp\"><img id=\"world-art\" crossorigin=\"anonymous\" src=\"https://framerusercontent.com/assets/XznJzaaxcMp9sLbAnhmq2dSI7Ak.webp\" srcset=\"https://framerusercontent.com/assets/XznJzaaxcMp9sLbAnhmq2dSI7Ak.webp 1280w, https://framerusercontent.com/assets/XHiYwNlqC5HtAczNLF9oqXSkY.webp 1920w, https://framerusercontent.com/assets/F1IO5FpKZR9Om5mh4QNFm4BvsA.webp 2560w, https://framerusercontent.com/assets/U50KqYNIZmUPQ947GdjE84iErck.webp 3840w\" sizes=\"(min-aspect-ratio: 16/9) 100vw, 177.78vh\" decoding=\"async\" fetchpriority=\"high\" width=\"1920\" height=\"1080\" alt=\"A Japanese ramen shop in a green courtyard, with a stone lantern, bench and winding sandy path.\" draggable=\"false\"></picture>\n    </div>\n    <div id=\"map-atmosphere\" aria-hidden=\"true\" hidden><canvas id=\"chimney-smoke\"></canvas><canvas id=\"kitchen-heat\"></canvas></div>\n    <div id=\"footprints\" aria-hidden=\"true\"></div>\n    <div id=\"destination\" aria-hidden=\"true\"><i class=\"paw\"></i><i class=\"paw\"></i></div>\n    <div id=\"path-cursor\" aria-hidden=\"true\" hidden><i class=\"paw\"></i><i class=\"paw\"></i></div>\n    <canvas id=\"actor\" aria-hidden=\"true\"></canvas>\n    <canvas id=\"spell-fire\" aria-hidden=\"true\" hidden></canvas>\n    <div id=\"arrival-smoke\" aria-hidden=\"true\" hidden></div>\n    <div id=\"spell-chant\" lang=\"ja\" aria-hidden=\"true\" hidden><img alt=\"\" draggable=\"false\"></div>\n    <canvas id=\"entrance-smoke\" aria-hidden=\"true\" hidden></canvas>\n    <svg width=\"0\" height=\"0\" aria-hidden=\"true\" focusable=\"false\" style=\"position:absolute\">\n      <defs><filter id=\"actor-outline\" color-interpolation-filters=\"sRGB\">\n        <feComponentTransfer in=\"SourceAlpha\" result=\"mesh\"><feFuncA type=\"linear\" slope=\"2\" intercept=\"-.8\"/></feComponentTransfer>\n        <feMorphology in=\"mesh\" operator=\"dilate\" radius=\"4\" result=\"edge\"/>\n        <feFlood flood-color=\"#fffbec\"/><feComposite in2=\"edge\" operator=\"in\"/>\n        <feMerge><feMergeNode/><feMergeNode in=\"SourceGraphic\"/></feMerge>\n      </filter></defs>\n    </svg>\n    <div id=\"character-controls\" class=\"map-item\">\n      <button id=\"actor-hit\" aria-label=\"Play NiNNiN’s next action\" hidden></button>\n      <a hidden id=\"ninnin-label\" class=\"map-tag\" href=\"#about\" data-page=\"about\" aria-label=\"About NiNNiN\"><span class=\"tag-text\">NiNNiN</span></a>\n    </div>\n    <a id=\"ramen-spot\" class=\"hotspot map-item\" href=\"#ramen\" data-page=\"ramen\" aria-label=\"Ramen menu\">\n      <svg class=\"object-shape\" viewBox=\"60 69 352 394\" preserveAspectRatio=\"none\" aria-hidden=\"true\" focusable=\"false\">\n        <path fill-rule=\"evenodd\" d=\"M108 133 Q108 131 112 129 L306 70 Q309 69 312 70 L324 77 Q327 78 327 81 L411 400 Q412 404 410 405 L391 412 Q390 413 387 411 L371 405 Q370 404 370 401 L362 369 L218 413 L227 452 Q228 455 226 456 L207 463 Q205 463 202 462 L189 456 Q186 455 186 452 L160 346 L113 361 L104 405 Q104 408 101 409 L82 415 Q80 416 78 414 L62 406 Q60 405 61 402 Z\"/>\n      </svg>\n      <span class=\"spot-label map-tag\"><span class=\"tag-text\">RAMEN</span></span></a>\n    <a id=\"mail-spot\" class=\"hotspot map-item\" href=\"#contact\" data-page=\"contact\" aria-label=\"Contact\">\n      <svg class=\"object-shape\" viewBox=\"91 63 118 333\" preserveAspectRatio=\"none\" aria-hidden=\"true\" focusable=\"false\">\n        <path fill-rule=\"evenodd\" d=\"M91.5 92 C91.3 82 97.5 75 108 70.5 C118 65.5 130 64.5 144 64.5 C157 64.5 167.5 65.5 175.5 68 C185 71 193.5 76.5 198.5 83 C202 88 205 106 207.5 117.5 L207.5 132.5 Q207.2 133.1 206 133.1 L198.6 133.3 L198.1 227.8 Q198.1 233.4 194.6 234.1 L172.1 234.8 L172.1 385.7 C172 390.5 157.5 396.4 146.5 396 C134.8 396 125.2 393.1 120.4 387 L121.3 371 Q123 370 121.8 366.7 L122.2 358.7 Q130.5 344.5 130.6 327.7 L130.4 315.5 Q134.8 314.2 134.5 311 L134.5 306.8 Q140.4 306.3 139.3 301.1 Q138 293.3 130 284.1 Q132.3 282.5 134.1 280.3 Q136.2 276.3 125.2 269 L125.2 262 Q126.7 258.6 126 256 Q125.7 254.3 123.2 251.2 L123.1 235.8 L104.2 235.8 Q100 235.8 99.8 231.4 L98.8 134.5 L95.4 134.5 Q93.5 134.4 93.5 132.1 Z\"/>\n      </svg>\n      <span class=\"spot-label map-tag\"><span class=\"tag-text\">CONTACT</span></span></a>\n  </main>\n  <header>\n    <button id=\"menu-button\" class=\"clear-button\" aria-expanded=\"false\" aria-controls=\"menu-card\"><span class=\"hamburger\" aria-hidden=\"true\"></span><span data-i18n=\"menu\">MENU</span></button>\n    <button id=\"home\" class=\"clear-button brand\" aria-label=\"Return to NiNNiN\"><img src=\"https://framerusercontent.com/assets/5aXvbUcPRKtQZB1S4IRxIi6xE.png\" alt=\"NiNNiN Ramen House\" width=\"158\" height=\"62\"></button>\n    <div class=\"header-actions\"><button id=\"language\" class=\"clear-button language\" aria-label=\"Switch to Japanese\">EN / JP</button><a class=\"clear-button map-button\" href=\"/locations\" data-page=\"visit\" aria-label=\"Locations\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 22s8-8.2 8-14A8 8 0 0 0 4 8c0 5.8 8 14 8 14Z\"/><circle cx=\"12\" cy=\"8\" r=\"3\"/></svg></a></div>\n  </header>\n  <aside id=\"menu-card\" hidden>\n    <a href=\"#ramen\" data-page=\"ramen\" data-i18n=\"ramen\">Ramen</a>\n    <a href=\"#about\" data-page=\"about\" data-i18n=\"about\">About</a>\n    <a href=\"#contact\" data-page=\"contact\" data-i18n=\"contact\">Contact</a>\n    <a href=\"/locations\" data-page=\"visit\" data-i18n=\"visit\">Locations</a>\n    <hr><button id=\"pause-menu\">Pause walking</button><button id=\"reset-menu\" data-i18n=\"reset\">Back to NiNNiN</button>\n  </aside>\n  <nav class=\"dock\" aria-label=\"Main navigation\">\n    <a href=\"#ramen\" data-page=\"ramen\" aria-labelledby=\"dock-name-ramen\" aria-describedby=\"dock-tip-ramen\"><svg data-ninnin-icon=\"01\" class=\"dock-icon \" viewBox=\"157.56000 146.63500 404.88000 404.88000\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"0.08750\" d=\"M414.6,503.27h-109.2c-5.79,0-10.5-4.7-10.5-10.5s4.71-10.5,10.5-10.5h109.2c5.79,0,10.5,4.7,10.5,10.5S420.39,503.27,414.6,503.27ZM360,468.13c-45.31,0-87.75-17.48-119.49-49.21-31.73-31.74-49.21-74.18-49.21-119.49,0-5.8,4.7-10.5,10.5-10.5h316.4c5.8,0,10.5,4.7,10.5,10.5,0,45.31-17.48,87.75-49.21,119.49C447.75,450.65,405.31,468.13,360,468.13ZM212.65,309.93c2.46,35.72,17.4,68.83,42.71,94.14,27.78,27.77,64.94,43.06,104.64,43.06s76.86-15.29,104.64-43.06c25.31-25.31,40.25-58.42,42.7-94.14H212.65ZM430.31,268.78c-5.8,0-10.5-4.7-10.5-10.5v-36.2c0-5.8,4.7-10.5,10.5-10.5s10.5,4.7,10.5,10.5v36.2C440.81,264.08,436.11,268.78,430.31,268.78ZM360,268.78c-5.8,0-10.5-4.7-10.5-10.5v-52.9c0-5.8,4.7-10.5,10.5-10.5s10.5,4.7,10.5,10.5v52.9C370.5,264.08,365.8,268.78,360,268.78ZM289.69,268.78c-5.8,0-10.5-4.7-10.5-10.5v-36.2c0-5.8,4.7-10.5,10.5-10.5s10.5,4.7,10.5,10.5v36.2C300.19,264.08,295.49,268.78,289.69,268.78Z\"/></svg><span id=\"dock-name-ramen\" data-i18n=\"ramen\">Ramen</span><span class=\"dock-tip\" id=\"dock-tip-ramen\" role=\"tooltip\" data-i18n=\"ramenTip\">Explore the ramen menu</span></a>\n    <a href=\"#about\" data-page=\"about\" aria-labelledby=\"dock-name-ninnin\" aria-describedby=\"dock-tip-ninnin\"><svg data-ninnin-icon=\"02\" class=\"dock-icon \" viewBox=\"152.58000 145.57500 414.84000 414.84000\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"0.60625\" d=\"m360 525.85c-3.95 0-7.57-2.22-9.36-5.75l-53.14-104.61-104.61-53.13c-3.52-1.79-5.74-5.41-5.74-9.37s2.22-7.57 5.74-9.36l104.61-53.13 53.14-104.61c1.79-3.53 5.41-5.75 9.36-5.75s7.57 2.22 9.36 5.75l53.14 104.61 104.61 53.13c3.52 1.79 5.74 5.41 5.74 9.36s-2.22 7.58-5.74 9.37l-104.61 53.13-53.14 104.61c-1.79 3.53-5.41 5.75-9.36 5.75zm-139.17-172.86 89.24 45.33c1.98 1.01 3.6 2.62 4.6 4.61l45.33 89.23 45.33-89.23c1-1.99 2.62-3.6 4.6-4.61l89.24-45.33-89.24-45.32c-1.98-1.01-3.6-2.62-4.6-4.61l-45.33-89.23-45.33 89.23c-1 1.99-2.62 3.6-4.6 4.61z\"/><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"1.60625\" d=\"m360 390.27c-20.56 0-37.28-16.72-37.28-37.28s16.72-37.27 37.28-37.27 37.28 16.72 37.28 37.27-16.72 37.28-37.28 37.28zm0-54.55c-9.53 0-17.28 7.75-17.28 17.27s7.75 17.28 17.28 17.28 17.28-7.75 17.28-17.28-7.75-17.27-17.28-17.27z\"/></svg><span id=\"dock-name-ninnin\" data-i18n=\"about\">About</span><span class=\"dock-tip\" id=\"dock-tip-ninnin\" role=\"tooltip\" data-i18n=\"ninninTip\">About NiNNiN</span></a>\n    <a href=\"#contact\" data-page=\"contact\" aria-labelledby=\"dock-name-contact\" aria-describedby=\"dock-tip-contact\"><svg data-ninnin-icon=\"03\" class=\"dock-icon \" viewBox=\"144.10800 144.10800 431.78400 431.78400\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"1.48875\" d=\"M502.66,488.77H217.34c-20.54,0-37.25-16.71-37.25-37.25v-183.04c0-20.54,16.71-37.25,37.25-37.25h285.32c20.54,0,37.25,16.71,37.25,37.25v183.04C539.91,472.06,523.2,488.77,502.66,488.77ZM217.34,252.23c-8.96,0-16.25,7.29-16.25,16.25v183.04c0,8.96,7.29,16.25,16.25,16.25h285.32c8.96,0,16.25-7.29,16.25-16.25v-183.04c0-8.96-7.29-16.25-16.25-16.25H217.34Z\"/><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"1.48875\" d=\"M360,375.38c-14.59,0-29.19-4.87-41.09-14.61l-122.49-100.21c-4.49-3.68-5.15-10.29-1.48-14.78,3.68-4.49,10.29-5.15,14.78-1.48l122.48,100.22c16.11,13.18,39.49,13.17,55.6,0l122.48-100.22c4.49-3.67,11.1-3.01,14.78,1.48,3.67,4.49,3.01,11.1-1.48,14.78l-122.49,100.21C389.19,370.51,374.59,375.38,360,375.38Z\"/></svg><span id=\"dock-name-contact\" data-i18n=\"dockContact\">Contact</span><span class=\"dock-tip\" id=\"dock-tip-contact\" role=\"tooltip\" data-i18n=\"contactTip\">Contact us &amp; FAQs</span></a>\n    <a href=\"/locations\" data-page=\"visit\" aria-labelledby=\"dock-name-visit\" aria-describedby=\"dock-tip-visit\"><svg data-ninnin-icon=\"04\" class=\"dock-icon \" viewBox=\"129.37330 129.37380 461.25240 461.25240\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><path stroke=\"#212322\" stroke-linejoin=\"round\" stroke-width=\"3.02356\" d=\"M510.65,506.28H209.35c-5.8,0-10.5-4.7-10.5-10.5v-152.8c-3.21-.87-5.88-3.23-7.09-6.45l-23.28-62.07c-1.21-3.23-.76-6.84,1.2-9.67,1.97-2.83,5.19-4.52,8.63-4.52h12.78v-36.05c0-5.8,4.7-10.5,10.5-10.5h316.82c5.8,0,10.5,4.7,10.5,10.5v36.05h12.77c3.45,0,6.67,1.69,8.63,4.52,1.97,2.83,2.42,6.44,1.21,9.67l-23.28,62.07c-1.21,3.22-3.88,5.58-7.09,6.45v152.8C521.15,501.58,516.45,506.28,510.65,506.28ZM424.39,485.28h75.76v-141.94H219.85v141.94h75.76v-86.63c0-5.8,4.7-10.5,10.5-10.5h107.78c5.8,0,10.5,4.7,10.5,10.5V485.28ZM316.61,485.28h86.78v-76.13h-86.78V485.28ZM510.65,322.34h.48l15.4-41.07H193.47l15.4,41.07H510.65ZM212.09,260.27h295.82v-25.55H212.09V260.27Z\"/></svg><span id=\"dock-name-visit\" data-i18n=\"dockVisit\">Locations</span><span class=\"dock-tip\" id=\"dock-tip-visit\" role=\"tooltip\" data-i18n=\"visitTip\">Find our locations</span></a>\n    <button type=\"button\" id=\"pause\" data-playing=\"true\" aria-label=\"Pause walking\" aria-describedby=\"dock-tip-walk\">\n      <span class=\"walk-icon-slot\" aria-hidden=\"true\"><svg data-ninnin-icon=\"06\" class=\"dock-icon pause-glyph\" viewBox=\"179.61600 173.69600 360.76800 360.76800\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><g fill=\"none\" stroke=\"#212322\" stroke-width=\"18.79000\" stroke-linejoin=\"round\" stroke-linecap=\"round\"><circle cx=\"360\" cy=\"354.08\" r=\"140.92500\"/><path d=\"M329.21 304.34 V403.12 M392.09 304.34 V403.12\"/></g></svg><svg data-ninnin-icon=\"05\" class=\"dock-icon play-glyph\" viewBox=\"179.61600 173.69600 360.76800 360.76800\" fill=\"#212322\" aria-hidden=\"true\" focusable=\"false\"><g fill=\"none\" stroke=\"#212322\" stroke-width=\"18.79000\" stroke-linejoin=\"round\" stroke-linecap=\"round\"><circle cx=\"360\" cy=\"354.08\" r=\"140.92500\"/><path d=\"M328.93 295.82 L422.15 354.08 L328.93 412.34 Z\"/></g></svg></span>\n      <span id=\"dock-walk-label\">Pause</span><span class=\"dock-tip\" id=\"dock-tip-walk\" role=\"tooltip\">Pause NiNNiN’s walk</span>\n    </button>\n  </nav>\n  <a class=\"instagram\" href=\"https://www.instagram.com/ninninramen/\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"NiNNiN on Instagram\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"5\"/><circle cx=\"12\" cy=\"12\" r=\"4\"/><circle class=\"ig-dot\" cx=\"17.5\" cy=\"6.5\" r=\"1\"/></svg></a>\n  <div id=\"status\" role=\"status\"></div>\n  <dialog id=\"page-preview\" aria-labelledby=\"preview-title\"><div class=\"dialog-bar\"><h1 id=\"preview-title\">Ramen</h1><button id=\"close-preview\" aria-label=\"Close\">×</button></div><section id=\"about-panel\" class=\"menu-panel\">\n<img src=\"https://framerusercontent.com/images/QsVyb0dT5tpG5hpUeJthPNEwoNs.svg\" width=\"108\" height=\"108\" alt=\"\">\n<div><h2>NiNNiN Ramen House</h2>\n<p lang=\"en\">Meet NiNNiN, the little ninja at the heart of NiNNiN Ramen House by Horin. For friends and ramen, he’s all in, always.</p>\n<p lang=\"ja\">NiNNiN Ramen House by Horin の小さな忍者、NiNNiN。仲間のためにも、大好きなラーメンのためにも、いつだって、思いきり。</p></div></section>\n<section id=\"contact-faq\" class=\"menu-panel\"><h2><span lang=\"en\">FAQ</span><span lang=\"ja\">よくある質問</span></h2>\n<details><summary><span lang=\"en\">Where can I find the shop?</span><span lang=\"ja\">お店はどこにありますか？</span></summary><p lang=\"en\">Open Locations in the menu for directions.</p><p lang=\"ja\">メニューの「店舗案内」からご覧ください。</p></details>\n<details><summary><span lang=\"en\">Where can I follow NiNNiN?</span><span lang=\"ja\">NiNNiNの近況はどこで見られますか？</span></summary><p><a href=\"https://www.instagram.com/ninninramen/\" target=\"_blank\" rel=\"noopener noreferrer\">Instagram · @ninninramen</a></p></details></section><img id=\"preview-image\" alt=\"\"></dialog>\n  <script>\n// Project the posed character into a small ground-space mask, then soften it at map scale.\nwindow.NiNNiNGroundShadow=class {\n constructor(gl,shader){\n  this.gl=gl;\n  const width=256,height=128;\n  this.texture=gl.createTexture();gl.bindTexture(gl.TEXTURE_2D,this.texture);\n  gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,width,height,0,gl.RGBA,gl.UNSIGNED_BYTE,null);\n  for(const parameter of [gl.TEXTURE_MIN_FILTER,gl.TEXTURE_MAG_FILTER])gl.texParameteri(gl.TEXTURE_2D,parameter,gl.LINEAR);\n  for(const parameter of [gl.TEXTURE_WRAP_S,gl.TEXTURE_WRAP_T])gl.texParameteri(gl.TEXTURE_2D,parameter,gl.CLAMP_TO_EDGE);\n  this.framebuffer=gl.createFramebuffer();gl.bindFramebuffer(gl.FRAMEBUFFER,this.framebuffer);\n  gl.framebufferTexture2D(gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0,gl.TEXTURE_2D,this.texture,0);\n  if(gl.checkFramebufferStatus(gl.FRAMEBUFFER)!==gl.FRAMEBUFFER_COMPLETE)throw Error('Ground shadow framebuffer is incomplete.');\n  gl.bindFramebuffer(gl.FRAMEBUFFER,null);\n  const p=this.program=gl.createProgram();\n  gl.attachShader(p,shader(gl.VERTEX_SHADER,`attribute vec2 corner; uniform vec2 anchor,viewport; uniform vec4 bounds; uniform float ppu;\n    varying vec2 uv; void main(){uv=corner; vec2 screen=anchor+ppu*(bounds.xy+bounds.zw*vec2(corner.x,1.-corner.y));\n    gl_Position=vec4(screen/viewport*vec2(2.,-2.)+vec2(-1.,1.),0.,1.);}`));\n  gl.attachShader(p,shader(gl.FRAGMENT_SHADER,`precision mediump float;\n    varying vec2 uv; uniform sampler2D mask; uniform float lift;\n    void main(){\n      vec2 px=vec2(1./256.,1./128.);\n      vec2 radius=px*(1.0+1.8*lift);\n      vec2 coverage=texture2D(mask,uv).rg*0.20;\n      for(int i=0;i<8;i++){float a=(float(i)+0.5)*0.785398;\n       vec2 direction=vec2(cos(a),sin(a));\n       coverage+=texture2D(mask,uv+direction*radius*1.4).rg*0.075;\n       coverage+=texture2D(mask,uv+direction*radius*2.8).rg*0.025;}\n      float alpha=coverage.r*mix(.245,.17,lift)+coverage.g*.11;\n      gl_FragColor=vec4(vec3(.25,.235,.18)*alpha,alpha);\n    }`));\n  gl.linkProgram(p);if(!gl.getProgramParameter(p,gl.LINK_STATUS))throw Error(gl.getProgramInfoLog(p));\n  this.corner=gl.getAttribLocation(p,'corner');\n  this.u=Object.fromEntries(['anchor','viewport','bounds','ppu','lift','mask'].map(key=>[key,gl.getUniformLocation(p,key)]));\n  this.quad=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,this.quad);\n  gl.bufferData(gl.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,1,1]),gl.STATIC_DRAW);\n  this.bounds=[-.72,-.48,2.44,1.16];\n }\n begin(){\n  const gl=this.gl;\n  gl.activeTexture(gl.TEXTURE0);gl.bindTexture(gl.TEXTURE_2D,null);\n  gl.bindFramebuffer(gl.FRAMEBUFFER,this.framebuffer);gl.viewport(0,0,256,128);\n  gl.disable(gl.DEPTH_TEST);gl.clear(gl.COLOR_BUFFER_BIT);\n  gl.enable(gl.BLEND);gl.blendFunc(gl.ONE,gl.ONE);\n }\n composite(x,y,ppu,w,h,lift){\n  const gl=this.gl,u=this.u;\n  gl.disable(gl.BLEND);gl.bindFramebuffer(gl.FRAMEBUFFER,null);\n  gl.viewport(0,0,gl.drawingBufferWidth,gl.drawingBufferHeight);\n  gl.useProgram(this.program);gl.bindBuffer(gl.ARRAY_BUFFER,this.quad);\n  gl.enableVertexAttribArray(this.corner);gl.vertexAttribPointer(this.corner,2,gl.FLOAT,false,0,0);\n  gl.activeTexture(gl.TEXTURE0);gl.bindTexture(gl.TEXTURE_2D,this.texture);gl.uniform1i(u.mask,0);\n  gl.uniform2f(u.anchor,x,y);gl.uniform2f(u.viewport,w,h);gl.uniform4fv(u.bounds,this.bounds);gl.uniform1f(u.ppu,ppu);gl.uniform1f(u.lift,lift);\n  gl.drawArrays(gl.TRIANGLE_STRIP,0,4);gl.bindTexture(gl.TEXTURE_2D,null);gl.enable(gl.DEPTH_TEST);\n }\n};\n\n</script>\n  <script>\n(()=>{\n// Seven original contour drawings. Each starts at the right shoulder, sweeps up\n// and around the main flare, then returns to the left shoulder. Sparse knots\n// give the rising edge a long gesture and leave room for open air between tips.\nconst crownPoses=[\n [[.98,.49],[.66,.23],[.57,.58],[.76,1.01],[.64,1.40],[.24,1.75],[-.13,2.04],[-.21,2.27],[-.30,2.04],[-.16,1.77],[.05,1.42],[-.13,1.13],[-.52,.88],[-.67,1.30],[-.80,.99],[-.77,.65],[-.92,.41]],\n [[.95,.70],[.64,.35],[.58,.72],[.60,1.14],[.29,1.49],[-.14,1.76],[-.20,2.17],[.05,2.50],[-.32,2.29],[-.48,1.90],[-.32,1.49],[-.30,1.14],[-.60,1.01],[-.82,1.51],[-.86,1.07],[-.77,.75],[-.95,.37]],\n [[1.01,.67],[.72,.38],[.49,.70],[.41,1.18],[.16,1.57],[.04,1.89],[.20,2.21],[.44,2.36],[.14,2.34],[-.19,2.07],[-.19,1.63],[-.43,1.27],[-.67,1.08],[-.69,1.37],[-.85,1.04],[-.76,.75],[-.91,.38]],\n [[.93,.40],[.71,.25],[.65,.69],[.58,1.08],[.43,1.36],[.49,1.61],[.58,1.78],[.56,1.94],[.40,1.88],[.15,1.58],[-.18,1.47],[-.41,1.11],[-.58,.79],[-.79,1.11],[-.89,.85],[-.80,.55],[-.95,.32]],\n [[1.01,.33],[.79,.13],[.66,.54],[.78,.89],[.78,1.19],[.56,1.45],[.36,1.54],[.21,1.77],[.16,1.57],[.24,1.30],[.06,1.10],[-.26,.93],[-.54,.69],[-.76,1.04],[-.81,.83],[-.82,.54],[-.95,.32]],\n [[.98,.57],[.71,.26],[.59,.60],[.80,1.00],[.71,1.36],[.38,1.58],[.25,1.88],[.32,2.08],[.08,1.94],[.02,1.63],[-.12,1.32],[-.30,1.08],[-.55,.82],[-.69,1.17],[-.81,.97],[-.78,.65],[-.95,.35]],\n [[.96,.46],[.66,.20],[.61,.63],[.78,1.05],[.63,1.44],[.25,1.78],[.03,2.09],[.03,2.37],[-.18,2.13],[-.17,1.77],[-.06,1.45],[-.21,1.15],[-.53,.85],[-.67,1.34],[-.76,.99],[-.78,.68],[-.94,.39]]\n];\n// Left shoulder: low broad rolls spill outward. Right shoulder: a narrow,\n // right-leaning spear splits against a second tall tongue.\nconst leftPoses=[\n [[1.05,.36],[.79,.19],[.63,.47],[.62,.79],[.32,1.02],[-.20,1.19],[-.65,1.45],[-.71,1.77],[-.89,1.50],[-.80,1.23],[-.60,.97],[-.75,.77],[-.94,.66],[-1.14,.94],[-1.10,.64],[-.97,.36],[-1.02,.13]],\n [[1.02,.64],[.75,.29],[.60,.56],[.62,.96],[.20,1.18],[-.35,1.19],[-.84,1.37],[-1.03,1.61],[-1.04,1.28],[-.81,1.06],[-.55,.89],[-.61,.62],[-.83,.48],[-1.10,.75],[-1.12,.51],[-1.00,.29],[-1.02,.10]],\n [[.91,.49],[.72,.16],[.60,.43],[.71,.72],[.42,1.01],[.06,1.06],[-.32,1.13],[-.43,1.49],[-.66,1.25],[-.65,1.01],[-.47,.76],[-.65,.60],[-.93,.62],[-1.15,1.06],[-1.10,.71],[-.99,.42],[-1.03,.15]],\n [[.97,.36],[.77,.18],[.55,.50],[.42,.86],[.08,1.00],[-.32,1.14],[-.49,1.54],[-.36,1.89],[-.71,1.59],[-.77,1.27],[-.56,.93],[-.69,.70],[-.94,.62],[-1.15,.89],[-1.10,.61],[-1.02,.33],[-1.00,.12]]\n];\nconst rightPoses=[\n [[1.00,.74],[.68,.42],[.63,.82],[.79,1.39],[.75,1.78],[.50,2.08],[.52,2.46],[.79,2.74],[.40,2.54],[.23,2.16],[.33,1.68],[.06,1.40],[-.24,1.12],[-.46,2.02],[-.69,1.57],[-.61,.88],[-.87,.46]],\n [[1.09,.93],[.80,.41],[.68,.95],[.68,1.43],[.39,1.76],[.31,2.11],[.72,2.44],[.98,2.62],[.61,2.62],[.10,2.23],[.10,1.80],[-.07,1.49],[-.30,1.22],[-.19,1.93],[-.50,1.74],[-.65,1.10],[-.86,.48]],\n [[.93,.61],[.70,.30],[.61,.77],[.84,1.21],[.83,1.60],[.63,1.90],[.68,2.06],[.74,2.22],[.47,2.09],[.32,1.86],[.31,1.56],[.00,1.52],[-.32,1.36],[-.44,2.23],[-.63,1.68],[-.59,.96],[-.83,.49]],\n [[.99,.57],[.73,.29],[.55,.66],[.62,1.12],[.67,1.65],[.39,1.98],[.28,2.39],[.39,2.68],[.12,2.46],[.09,2.07],[.22,1.65],[-.01,1.39],[-.27,1.04],[-.52,1.71],[-.67,1.32],[-.60,.87],[-.84,.43]]\n];\nconst models=[\n {poses:leftPoses,beats:[0,.25,.49,.75,1],release:.26,drift:-1},\n {poses:rightPoses,beats:[0,.14,.39,.68,1],release:.18,drift:1},\n {poses:crownPoses,beats:[0,.16,.30,.41,.54,.70,.84,1],release:.273,drift:1}\n];\nfunction drawingAt(phase,form){\n const {poses,beats}=models[form];\n phase=((phase%1)+1)%1;\n let i=0;while(phase>=beats[i+1])i++;\n const f=(phase-beats[i])/(beats[i+1]-beats[i]),a=poses[i],b=poses[(i+1)%poses.length];\n // Tangents follow the spacing of the actual key drawings.\n const before=poses[(i+poses.length-1)%poses.length],after=poses[(i+2)%poses.length];\n const h=beats[i+1]-beats[i];\n const prior=i?beats[i]-beats[i-1]:1-beats[beats.length-2];\n const next=i+2<beats.length?beats[i+2]-beats[i+1]:beats[1];\n return a.map((p,k)=>p.map((v,j)=>{\n  const m=h*(b[k][j]-before[k][j])/(h+prior),n=h*(after[k][j]-v)/(h+next);\n  return v*(2*f**3-3*f*f+1)+m*f*(f-1)**2+b[k][j]*(3*f*f-2*f**3)+n*f*f*(f-1);\n }));\n}\nfunction curve(points,sharp={}){\n const p=new Path2D(),n=points.length;p.moveTo(...points[0]);\n for(let i=0;i<n;i++){\n  const j=(i+1)%n,a=points[(i+n-1)%n],b=points[i],c=points[j],d=points[(j+1)%n];\n  const ka=(sharp[i]??1)/6,kb=(sharp[j]??1)/6;\n  p.bezierCurveTo(b[0]+ka*(c[0]-a[0]),b[1]+ka*(c[1]-a[1]),c[0]-kb*(d[0]-b[0]),c[1]-kb*(d[1]-b[1]),...c);\n }p.closePath();return p;\n}\nfunction stops(gradient,colors){for(const [at,color] of colors)gradient.addColorStop(at,color);return gradient;}\nfunction radial(g,x,y,r,colors){return stops(g.createRadialGradient(x,y,0,x,y,r),colors);}\nfunction paint(g,p,color){g.fillStyle=color;g.fill(p);}\nfunction bodyAt(t,k){\n const breath=.018*Math.sin(t*5.7),lateral=.017*Math.sin(t*4.3);\n const lower=[[.00,-.94],[.52+breath,-.82],[.87,-.52],[.98+breath,-.12]];\n const last=[[-.99+breath,-.03],[-.86,-.51],[-.51+lateral,-.83]];\n // Alternate a clinging side flare and a higher burst as the main flame passes.\n const side=Math.sin(5.6*t+1.5),left=Math.sin(6.1*t-.7);\n k[13][1]+=.26*left-.09;k[13][0]+=.19*Math.sin(6.1*t-1.35);\n k[0][1]+=.23*side-.025;k[0][0]+=.115*Math.sin(5.6*t+.65);\n const hinge=[.88+.05*side,.11+.045*side];\n return curve([...lower,hinge,...k,...last],{5:.10,12:.02,18:.08});\n}\nfunction fire(g,t,phase,form){\n const pose=drawingAt(phase,form);\n const outline=bodyAt(t,pose);\n const motion=Math.sin,turn=t*3.65;\n g.save();g.clip(outline);\n paint(g,outline,radial(g,-.16,.03,1.29,[[0,'#ffbe27'],[.54,'#ff8e13'],[.86,'#f3531c'],[1,'#e9431c']]));\n // The amber body follows the bend with a short delay. Its broad base rolls\n // forward while its narrow end folds back into the tall silhouette.\n const back=drawingAt(phase-.029,form);\n const amber=curve([[-.01,-.78],[.49,-.64],[.72,-.29],[.68,.07],\n  [.58,.41],[.45,.63],[back[3][0]*.72,back[3][1]*.84],\n  [back[4][0]*.79,back[4][1]*.87],[back[5][0]*.90,back[5][1]*.91],\n  [back[7][0]*.91,back[7][1]*.94],[back[9][0]*.9+.025,back[9][1]*.91],\n  [back[10][0]*.77-.025,back[10][1]*.88],[-.21,.85],[-.48,.59],\n  [-.62,.62],[-.60,.32],[-.79,.01],[-.66,-.45],[-.38,-.70]],{9:.03,14:.14});\n paint(g,amber,stops(g.createLinearGradient(-.18,-.70,.22,1.83),[[0,'#ff7413'],[.36,'#ffa114'],[.70,'#ffd135'],[1,'#ff941e']]));\n // A bright deep chamber rises as the near wall opens. The warm fringe\n // swallows it again a beat later, keeping a rounded mass at the base.\n const bend=back[5][0],root=motion(turn-.3),head=motion(turn-1.17);\n const inner=curve([[.08,-.76],[.46,-.54],[.58,-.18],[.48,.16],[.36+.11*root,.49],\n  [.38+.15*head,.80],[bend*.66+.13,1.12+.22*head],[bend*.72-.02,1.38+.25*head],\n  [bend*.60-.17,1.12+.18*head],[.06+.22*head,.82],[-.21+.14*root,.60],\n  [-.47,.45+.15*head],[-.63,.10],[-.57,-.36],[-.32,-.63]],{7:.04,11:.28});\n paint(g,inner,radial(g,-.11,-.09,1.30,[[0,'#fff18a'],[.38,'#ffdf45'],[.70,'#ffbf23'],[1,'#ffa113']]));\n // A receding sheet curls in from the left. The broad lower flank crosses\n // the bright interior, but the live tip stays thin and pointed.\n const a=motion(turn+.26),b=motion(turn-.76);\n const curl=new Path2D();\n curl.moveTo(-1.18,.65);curl.bezierCurveTo(-.94,.25,-.93,-.20,-.63,-.39);\n curl.bezierCurveTo(-.38,-.56,-.04,-.55,.10+.20*a,-.32+.07*b);\n curl.bezierCurveTo(-.05+.18*a,-.42+.08*b,-.23+.09*a,-.27,-.25+.13*a,-.10+.11*b);\n curl.bezierCurveTo(-.35+.13*a,.13+.11*b,-.14+.18*a,.36+.11*b,.09+.22*a,.48+.23*b);\n curl.bezierCurveTo(-.24+.15*a,.43+.06*b,-.42,.30,-.54,.26);\n curl.bezierCurveTo(-.69,.23,-.77,.36,-.66,.61);curl.bezierCurveTo(-.83,.57,-1.01,.60,-1.18,.65);curl.closePath();\n g.save();g.globalAlpha*=.83;paint(g,curl,stops(g.createLinearGradient(-.87,-.43,.16,.47),[[0,'#f76519'],[.53,'#ff971d'],[1,'#ffce35']]));g.restore();\n // Foreground ember-red fold wraps under the round body. Its rising right\n // edge peels back like a wave instead of rotating the entire silhouette.\n const sweep=motion(turn*.88+.64),crest=motion(turn*.88-.1);\n const near=new Path2D();near.moveTo(-1.1,-.48);\n near.bezierCurveTo(-.77,-.69,-.37,-.89,.04,-.69+.04*sweep);\n near.bezierCurveTo(.36,-.55,.56,-.34,.53+.068*sweep,-.07+.09*sweep);\n near.bezierCurveTo(.51+.06*sweep,.13+.10*sweep,.33+.16*crest,.23+.12*crest,.19+.16*crest,.32+.13*crest);\n near.bezierCurveTo(.45+.07*crest,.28+.08*crest,.69+.08*sweep,.13,.77,.26);\n near.bezierCurveTo(.86,.39,.95,.55,1.13,.26);near.lineTo(1.18,-1.08);near.lineTo(-1.16,-1.09);near.closePath();\n paint(g,near,radial(g,.22,-.28,1.14,[[0,'#ffad1c'],[.49,'#ff8815'],[.81,'#f26118'],[1,'#de471e']]));\n // Small cream-coloured upwelling in the chamber; its tip lags behind its base.\n const coal=curve([[-.24,-.37],[-.20,-.14],[-.03+.10*root,.07],[.09+.17*head,.34+.13*b],\n  [.03+.11*head,.51+.11*b],[.22+.11*head,.34],[.28,.07],[.19,-.20],[-.01,-.38]],{4:.02});\n g.save();g.globalAlpha*=.59;paint(g,coal,radial(g,.02,-.10,.65,[[0,'#fff6ad'],[.5,'#ffed75'],[1,'#ffd343']]));g.restore();\n // Warm optical depth at the limb and a broad yellow well of light inside.\n g.fillStyle=radial(g,-.075,.095,1.13,[[0,'rgba(255,229,85,.11)'],[.48,'rgba(255,135,11,0)'],[.72,'rgba(226,66,8,.04)'],[.95,'rgba(192,38,19,.43)'],[1,'rgba(203,41,21,.43)']]);\n g.fill(outline);\n g.restore();\n}\nfunction looseFlame(g,x,y,scale,angle){\n g.save();g.translate(x,y);g.rotate(angle);g.scale(scale,scale);\n const p=curve([[-.84,-.22],[-.35,-.51],[.32,-.47],[.78,-.12],[.65,.41],[.76,.78],[.39,.57],[.15,.18],[-.24,.11],[-.73,.20]],{5:.01,9:.25});\n paint(g,p,stops(g.createLinearGradient(-.7,-.3,.68,.69),[[0,'#ffc438'],[.42,'#ff971a'],[1,'#ee531d']]));\n g.restore();\n}\nfunction fragments(g,phase,form){\n const u=(phase%1+1)%1,{release,drift}=models[form];\n const f=(u-release)/.52;\n if(f>0&&f<1){\n  const p=drawingAt(release,form)[7],size=.225*Math.sin(Math.PI*f)**.65;\n  looseFlame(g,p[0]+drift*(.33*f+.045*Math.sin(Math.PI*f)),p[1]+.42*f+.11*f*f,size,drift*(.65+1.9*f));\n }\n if(u>.19&&u<.54){\n  const f=(u-.19)/.35,p=drawingAt(.19,form)[13];\n  looseFlame(g,p[0]-.16*f,p[1]+.51*f,.115*Math.sin(Math.PI*f),1.0+f);\n }\n}\nwindow.NiNNiNDrawFlame=function(g,form,age){\n const rates=[.94,1.32,.96],offsets=[.08,.47,.02];\n const t=age*rates[form]+offsets[form];\n const phase=1.11*t+.059*Math.sin(4.4*t)+.022*Math.sin(3.6*t+.71);\n fire(g,t,phase,form);\n fragments(g,phase,form);\n};\n})();\n\n</script>\n  <script>\n// The burning poses and the short bursts of rolling gas share the actor projection.\n(()=>{\n const clamp=t=>Math.max(0,Math.min(1,t));\n const ease=(a,b,t)=>{const u=clamp((t-a)/(b-a));return u*u*(3-2*u);};\n const riseStart=1.69,bakedContact=2.385,riseSpeed=2;\n const contactTime=riseStart+(bakedContact-riseStart)/riseSpeed;\n const timing=[1.00,1.09,contactTime];\n // Play only the rising poses faster. Palm ignition and the spent flame\n // on either side of the lift keep their original frame spacing.\n function plumeTime(t){\n  if(t<=riseStart)return t;\n  if(t<contactTime)return riseStart+(t-riseStart)*riseSpeed;\n  return bakedContact+(t-contactTime);\n }\n const firstLight=timing[0]-.19;\n const atlas=heroImage();\n let frameTable,loading;\n function loadGas(){\n  if(!loading){\n   const base='assets/character/';\n   atlas.src=heroAsset('cast-ignition.webp',base);\n   loading=Promise.all([fetch(heroAsset('cast-ignition.json',base)).then(r=>{\n    if(!r.ok)throw Error('Missing cast flipbook');return r.json();\n   }),atlas.decode()]).then(([data])=>{frameTable=data;}).catch(()=>{loading=null;});\n  }\n  return loading;\n }\n const width=350,height=374,left=175,top=353;\n function spheres(t,yaw,pitch){\n  return timing.map((start,i)=>{\n   const age=t-start,side=i===0?-1:i===1?1:0,seed=i*2.37+.41;\n   const grow=side?ease(.035,.40,age):ease(0,.13,age);\n   const cool=1-ease(3.66+.05*i,4.04+.05*i,t);\n   const ember=side?ease(-.19,.055,age)*(1-ease(.08,.37,age)):0;\n   const kick=side?0:ease(0,.052,age)*Math.exp(-Math.max(0,age-.052)*11);\n   const radius=[.125,.114,.160][i]*(side?(.76+.24*grow):(.32+.68*grow)*(1+.23*kick))*Math.sqrt(cool);\n   const lift=ease(0,.44,age);\n   // The wrists stay together through the chant, then open on different\n   // beats in the baked cast. The fire takes off from that moving anchor.\n   const open=ease(1.21+(i===1?.06:0),1.44+(i===1?.06:0),t);\n   const floating=ease(1.34,1.68,t);\n   const handX=(side<0?-.045:.065)+side*.316*open-.066*(1-open);\n   const palmX=handX*(1-floating)+side*.566*floating;\n   const x=(side?palmX:0)+.009*Math.sin(3.2*t+seed)*lift;\n   const handY=-.25+.12*open,handZ=.347+.066*open;\n   const y=side?handY*(1-floating)+(-.15+.013*Math.cos(2.8*t+seed))*floating:-.13;\n   const z=(side?handZ*(1-floating)+.612*floating:1.44)+.016*lift*Math.sin(3.75*t+seed)+.06*(1-cool);\n   const d=Math.sin(yaw)*x+Math.cos(yaw)*y;\n   return {x:Math.cos(yaw)*x-Math.sin(yaw)*y,y:Math.cos(pitch)*z+Math.sin(pitch)*d,\n    radius,seed,kick,ember,age,life:ease(side?.115:0,side?.36:.055,age)*cool,\n    power:.44*ember+cool*(grow*(side?1.35:1.95)+4.6*kick)};\n  });\n }\n function rollingGas(g,t,source,crown,i){\n  const isBirth=t<1.67;\n  // Transfer frame 74 has both tips at the collision point. Never sample\n  // that frame before the spark burst and the crown share their first beat.\n  const frame=isBirth?Math.round((t-.85)*48):Math.floor((plumeTime(t)-bakedContact)*48+74+1e-8);\n  const rect=frameTable?.[i]?.[frame];\n  if(!rect)return;\n  const [x,y,w,h,ox,oy]=rect;\n  const mirror=i===0?1:-1;\n  const sx=isBirth?mirror:(crown.x-source.x)/.566;\n  const sy=isBirth?1:(crown.y-source.y)/.77;\n  g.save();g.translate(source.x,source.y);g.scale(sx,-sy);\n  g.drawImage(atlas,x,y,w,h,-.28+ox/240,-1.04+oy/240,w/240,h/240);\n  g.restore();\n }\n function uncover(g,age,i){\n  const amount=ease(.115,.46,age);\n  if(amount>=1)return;\n  // A turning, uneven combustion front crosses the bulb from the palm side.\n  // The traveling curl supplies the bright leading lip of the reveal.\n  const top=-1.04+amount*4.8,lean=i===0?1:-1;\n  g.beginPath();g.moveTo(-2,-2);g.lineTo(2,-2);g.lineTo(2,top+.64*lean);\n  g.bezierCurveTo(1.08,top+.40*lean,.65,top-.42*lean,-.13,top+.10*lean);\n  g.bezierCurveTo(-.74,top+.29*lean,-1.31,top-.24*lean,-2,top-.63*lean);\n  g.closePath();g.clip();\n }\n function glow(g,x,y,r,rgb,opacity){\n  const halo=g.createRadialGradient(x,y,0,x,y,r);\n  for(const [at,weight] of [[0,1],[.22,.72],[.60,.19],[1,0]])\n   halo.addColorStop(at,'rgba('+rgb+','+opacity*weight+')');\n  g.fillStyle=halo;g.fillRect(x-r,y-r,2*r,2*r);\n }\n function contact(g,s){\n  const age=s.age;\n  if(age<0||age>.48)return;\n  const flash=1-ease(0,.145,age);\n  if(flash>0){\n   glow(g,s.x,s.y,.07+.21*ease(0,.095,age),'255,198,49',.85*flash);\n   g.beginPath();g.ellipse(s.x,s.y,.028*flash,.039*flash,.24,0,2*Math.PI);\n   g.fillStyle='rgba(255,249,184,'+flash+')';g.fill();\n  }\n  // Two unequal fans inherit momentum from the colliding tongues.\n  for(let k=0;k<23;k++){\n   const fan=k<11?.57:k<19?2.54:4.15;\n   const a=fan+.61*Math.sin(k*2.39996)+.22*Math.sin(k*5.47),delay=k<12?0:.006+.003*(k%6);\n   const dt=age-delay,life=.22+.16*(.5+.5*Math.cos(4*a));\n   if(dt<0||dt>=life)continue;\n   const speed=1.62+1.08*(.5+.5*Math.cos(2.23*k));\n   const travel=speed*(1-Math.exp(-3.5*dt))/3.5;\n   const x=s.x+Math.cos(a)*travel,y=s.y+Math.sin(a)*travel*.88+.14*dt-.94*dt*dt;\n   const alpha=1-ease(life*.37,life,dt);\n   const len=.014+(.056+.022*Math.cos(k))*ease(0,.035,dt)*alpha,w=.006+.004*(k%3);\n   g.save();g.translate(x,y);g.rotate(Math.atan2(Math.sin(a)*speed*.88+.14-1.88*dt,Math.cos(a)*speed));\n   g.globalAlpha=alpha;g.fillStyle=k%3===0?'#fff2a2':k%3===1?'#ffc744':'#ff8a22';\n   g.beginPath();g.moveTo(-len,0);g.quadraticCurveTo(0,w*1.8,w,0);\n   g.quadraticCurveTo(0,-w,-len,0);g.fill();g.restore();\n  }\n }\n window.NiNNiNFire=class{\n  constructor(canvas){this.canvas=canvas;}\n  init(){this.g=this.canvas.getContext('2d');return loadGas();}\n  light(t,yaw,pitch){return spheres(t,yaw,pitch).flatMap(s=>[s.x,s.y,s.power]);}\n  clear(){this.canvas.hidden=true;}\n  draw(t,x,y,unit,yaw,pitch){\n   if(t<firstLight||t>=4.15){this.clear();return;}\n   if(!this.g)this.init();\n   const {canvas,g}=this;\n   const dpr=Math.min(devicePixelRatio||1,2),w=Math.max(1,Math.round(width*unit*dpr)),h=Math.max(1,Math.round(height*unit*dpr));\n   if(canvas.width!==w||canvas.height!==h){canvas.width=w;canvas.height=h;}\n   Object.assign(canvas.style,{left:(x-left*unit)+'px',top:(y-top*unit)+'px',width:width*unit+'px',height:height*unit+'px'});\n   canvas.hidden=false;g.setTransform(1,0,0,1,0,0);g.clearRect(0,0,w,h);\n   g.setTransform(w/width*174,0,0,-h/height*174,w/width*left,h/height*top);\n   const orbs=spheres(t,yaw,pitch);\n   if(t>=1.67)for(let i=0;i<2;i++)rollingGas(g,t,orbs[i],orbs[2],i);\n   orbs.forEach((s,i)=>{\n    if(s.ember>.001)glow(g,s.x,s.y,.035+.105*s.ember,'255,162,45',s.ember*.66);\n    if(s.life<.001)return;\n    const start=i===0?riseStart:1.77;\n    const liftTime=plumeTime(t);\n    const pull=i<2?ease(start-.08,start+.075,liftTime)*(1-ease(start+.125,start+.34,liftTime)):0;\n    const burst=i===2?ease(0,.035,s.age)*(1-ease(.035,.16,s.age)):0;\n    const rx=s.radius*(i===0?1.08:i===1?.91:1)*(1-.12*pull+.40*burst);\n    g.save();g.translate(s.x,s.y);g.scale(rx,s.radius*(1+.17*pull-.42*burst));\n    g.transform(1,0,(i===0?-.20:.14)*pull,1,0,0);\n    if(i<2)uncover(g,s.age,i);\n    g.globalAlpha=s.life;\n    const halo=g.createRadialGradient(0,.23,.30,0,.23,1.97);\n    halo.addColorStop(0,'rgba(255,176,53,'+(.30+.27*s.kick)+')');halo.addColorStop(1,'rgba(255,143,28,0)');\n    g.fillStyle=halo;g.fillRect(-2,-1.8,4,4);\n    window.NiNNiNDrawFlame(g,i,s.age);\n    g.restore();\n   });\n   if(t<1.67)for(let i=0;i<2;i++)rollingGas(g,t,orbs[i],orbs[2],i);\n   contact(g,orbs[2]);\n  }\n };\n const breathEnds=1.79,returnStarts=breathEnds+1.76;\n const departureCover=elapsed=>ease(.25,.31,elapsed);\n window.NiNNiNVanish={\n  duration:returnStarts+1.24,\n  relocateAt:breathEnds+1.22,\n  departureCover,\n  visibility:t=>1-departureCover(t-breathEnds)+ease(returnStarts+.22,returnStarts+.30,t),\n  holdsPosition:t=>t>=breathEnds-.08&&t<returnStarts+.82,\n  pose(t,clips){\n   // Use the actual two-syllable muzzle and hand-seal animation. Switch\n   // to the returning seal only while the entire model is concealed.\n   const clipTime=t<=.32?t:.32+(t-.32)*(.74/(breathEnds-.32));\n   if(t<breathEnds+.33)return {gesture:'cast',gesturePhase:Math.min(clipTime,1.19)/clips.cast.duration};\n   return {gesture:'seal',gesturePhase:.52+.48*ease(returnStarts+.25,returnStarts+.96,t)};\n  },\n  smoke(t){\n   const returning=t>=returnStarts;\n   return {returning,time:returning?(t-returnStarts)*1.18:t-breathEnds};\n  }\n };\n})();\n\n</script>\n  <script>\n/* Uses the accepted animation and materials verbatim. Courtyard lighting is evaluated in camera space as the character turns. */\nwindow.NiNNiNActor=class {\n static gait={sourceReach:.055,reach:.094,stance:.54,sourceDuration:.8};\n // Additional ankle travel follows the baked contact and swing curves on each side.\n static ankleExtension(phase){\n  const {sourceReach,reach,stance}=this.gait,extra=reach-sourceReach;\n  const t=phase%1;\n  if(t<=stance)return extra*(2*t/stance-1);\n  const u=(t-stance)/(1-stance);\n  return extra*(1-2*u+Math.sin(2*Math.PI*u)/(Math.PI*stance));\n }\n constructor(canvas){this.canvas=canvas;}\n async init(){\n  try{return await this.load();}\n  catch(error){this.decoder?.terminate();throw error;}\n }\n async load(){\nconst canvas=this.canvas,gl=canvas.getContext('webgl',{alpha:true,antialias:true,premultipliedAlpha:true});\nif(!gl)throw Error('WebGL is unavailable in this browser.');\nconst derivatives=!!gl.getExtension('OES_standard_derivatives');\nfunction shader(type,src){const s=gl.createShader(type);gl.shaderSource(s,src);gl.compileShader(s);if(!gl.getShaderParameter(s,gl.COMPILE_STATUS))throw Error(gl.getShaderInfoLog(s));return s;}\nconst p=gl.createProgram();gl.attachShader(p,shader(gl.VERTEX_SHADER,`attribute vec3 position;attribute vec3 normal;attribute vec3 nextPosition;attribute vec3 nextNormal;attribute vec2 uv;attribute vec3 restPosition;attribute vec3 restNormal;uniform float blend;uniform float restBlend;uniform bool groundPass;uniform vec4 groundBounds;varying float altitude;uniform vec2 stepExtension;uniform vec2 angles;uniform vec2 anchor;uniform float ppu;uniform vec2 viewport;varying vec3 vp;varying vec3 vn;varying vec2 vt;void main(){vec3 point=mix(mix(position,nextPosition,blend),restPosition,restBlend)*2.0;vec3 norm=normalize(mix(mix(normal,nextNormal,blend),restNormal,restBlend));// Carry each planted paw and its cuff together. Taper the shift below the hips.\n vec3 base=restPosition*2.0;\n float leg=(1.0-smoothstep(.095,.225,base.z))*(1.0-smoothstep(.18,.24,abs(base.y)))*(1.0-smoothstep(.20,.27,abs(base.x)));\n point.y+=leg*mix(stepExtension.y,stepExtension.x,smoothstep(-.045,.045,base.x));\n float c=cos(angles.x),s=sin(angles.x),cp=cos(angles.y),sp=sin(angles.y);float x=c*point.x-s*point.y,d=s*point.x+c*point.y,y=cp*point.z+sp*d,z=cp*d-sp*point.z;altitude=point.z;\n if(groundPass){vec2 ground=vec2(x+.55*point.z,-sp*d+.13*point.z);\n  gl_Position=vec4((ground-groundBounds.xy)/groundBounds.zw*vec2(2.,-2.)+vec2(-1.,1.),0.,1.);return;}\n vp=vec3(x,y,-z);float nd=s*norm.x+c*norm.y;vn=vec3(c*norm.x-s*norm.y,cp*norm.z+sp*nd,-cp*nd+sp*norm.z);vt=uv;gl_Position=vec4(2.0*(anchor.x+ppu*x)/viewport.x-1.0,1.0-2.0*(anchor.y-ppu*y)/viewport.y,z/4.0,1.0);}`));\nconst detail=derivatives?`if(detailOn){vec3 a=dFdx(vp),b=dFdy(vp);vec2 x=dFdx(vt),y=dFdy(vt);float det=x.x*y.y-x.y*y.x;if(abs(det)>0.00000001){vec3 t=(a*y.y-b*x.y)/det;vec3 bit=(-a*y.x+b*x.x)/det;t=normalize(t-n*dot(n,t));vec3 bt=normalize(cross(n,t));bt*=dot(bt,bit)<0.0?-1.0:1.0;vec3 map=texture2D(normalMap,vt).xyz*2.0-1.0;n=normalize(mix(n,normalize(t*map.x+bt*map.y+n*map.z),0.55));}}`:'';\ngl.attachShader(p,shader(gl.FRAGMENT_SHADER,(derivatives?'#extension GL_OES_standard_derivatives : enable\\n':'')+`precision highp float;varying vec3 vp;varying vec3 vn;varying vec2 vt;uniform sampler2D colorMap;uniform sampler2D normalMap;uniform sampler2D roughMap;uniform sampler2D metalMap;uniform bool rawColor;uniform bool detailOn;uniform bool groundPass;uniform vec3 fireLight[3];varying float altitude;\nvoid main(){if(groundPass){gl_FragColor=vec4(1.,1.-smoothstep(.009,.032,altitude),0.,1.);return;}vec3 srgb=texture2D(colorMap,vt).rgb;if(rawColor){gl_FragColor=vec4(srgb,1.0);return;}vec3 albedo=pow(srgb,vec3(2.2));vec3 n=normalize(vn);${detail}float rough=clamp(texture2D(roughMap,vt).r,0.05,1.0),metal=texture2D(metalMap,vt).r;\n// Match the courtyard's warm daylight and sandy reflected light.\n// The original texture colours stay intact; fill light opens the shadow side.\nvec3 sun=normalize(vec3(-0.55,0.78,1.0));\nfloat exposure=smoothstep(-0.40,1.0,dot(n,sun));\nfloat sky=smoothstep(-0.70,1.0,n.y);\nfloat ground=smoothstep(0.0,1.0,-n.y);\nfloat front=smoothstep(-0.30,1.0,n.z);\nvec3 ambient=mix(vec3(.72,.67,.57),vec3(.82,.79,.71),sky);\nvec3 diffuse=ambient+vec3(.30,.275,.225)*exposure+vec3(.12,.11,.09)*front+vec3(.10,.08,.045)*ground;\nvec3 halfVector=normalize(sun+vec3(0.,0.,1.));\nfloat lobe=pow(max(dot(n,halfVector),0.0),mix(70.,10.,rough))*(.06+.14*(1.-rough));\nvec3 specular=mix(vec3(.034),albedo,metal)*lobe*exposure;\nfloat velvet=pow(1.-max(n.z,0.),2.8)*exposure;\nfloat darkCloth=(1.-smoothstep(.035,.18,dot(albedo,vec3(.2126,.7152,.0722))))*rough*(1.-metal);\nvec3 clothFill=vec3(.017,.0145,.0105)*darkCloth*(.45+.55*exposure);\nvec3 rgb=albedo*diffuse+specular+clothFill+vec3(.010,.008,.005)*velvet;\n// Firelight is local to the warm-facing cheeks, cuffs and hood.\nvec3 fireDiffuse=vec3(0.);\nif(fireLight[0].z+fireLight[1].z+fireLight[2].z>0.)for(int i=0;i<3;i++){\n vec3 bulb=vec3(fireLight[i].xy,.28);\n vec3 ray=bulb-vp;float energy=fireLight[i].z*max(.10,dot(n,normalize(ray)))/(1.+10.*dot(ray,ray));\n fireDiffuse+=energy*vec3(.68,.215,.032);\n}\nrgb+=(albedo+.055)*fireDiffuse;\nrgb=mix(rgb, .88+.12*(1.-exp(-max(rgb-.88,0.)/.12)),step(vec3(.88),rgb));\ngl_FragColor=vec4(pow(max(rgb,0.),vec3(1./2.2)),1.0);}`));gl.linkProgram(p);if(!gl.getProgramParameter(p,gl.LINK_STATUS))throw Error(gl.getProgramInfoLog(p));gl.useProgram(p);\nconst attrs={};for(const n of ['position','normal','nextPosition','nextNormal','uv','restPosition','restNormal'])attrs[n]=gl.getAttribLocation(p,n);const u={};for(const n of ['blend','restBlend','stepExtension','angles','anchor','ppu','viewport','rawColor','detailOn','groundPass','groundBounds','fireLight','colorMap','normalMap','roughMap','metalMap'])u[n]=gl.getUniformLocation(p,n==='fireLight'?'fireLight[0]':n);\nconst assetRoot='assets/character/map-mesh/';\nconst manifestResponse=await fetch(heroAsset('manifest.json',assetRoot));\nif(!manifestResponse.ok)throw Error('The character manifest could not load.');\nconst walk=await manifestResponse.json();\nconst idleResponse=await fetch(heroAsset('idle.json',assetRoot));\nif(!idleResponse.ok)throw Error('The standing animation could not load.');\nconst idle=await idleResponse.json();\nconst gestures={};\nawait Promise.all(['wave','curious','flip','seal','cast'].map(async name=>{\n const response=await fetch(heroAsset(name+'.json',assetRoot));\n if(!response.ok)throw Error('A standing gesture could not load.');\n gestures[name]=await response.json();\n}));\nconst nextTask=()=>window.scheduler?.yield?window.scheduler.yield():new Promise(resolve=>setTimeout(resolve,0));\nconst jobs=new Map();\ntry{\n this.decoder=new Worker(URL.createObjectURL(new Blob([\"// Expand the baked animation into WebGL's interleaved SHORT attributes off the UI thread.\\nself.onmessage=({data:{file,buffer,stride}})=>{\\n const bytes=new Uint8Array(buffer),count=bytes.length/2,values=new Int16Array(count);\\n for(let i=0;i<count;i++){\\n  const delta=bytes[i]|(bytes[count+i]<<8);\\n  values[i]=delta+(i>=stride?values[i-stride]:0);\\n }\\n self.postMessage({file,buffer:values.buffer},[values.buffer]);\\n};\\n\"],{type:'text/javascript'})));\n this.decoder.onmessage=({data:{file,buffer}})=>{jobs.get(file)?.(buffer);jobs.delete(file);};\n this.stopDecoder=()=>{\n  this.decoder?.terminate();this.decoder=null;\n  jobs.forEach(finish=>finish(null));jobs.clear();\n };\n this.decoder.onerror=this.stopDecoder;\n}catch{this.decoder=null;}\nconst data=async(file,Type,delta=false,stride=0)=>{\n const response=await fetch(heroAsset(file,assetRoot));if(!response.ok)throw Error('A character animation file could not load.');\n const stream=response.body.pipeThrough(new DecompressionStream('deflate'));\n const buffer=await new Response(stream).arrayBuffer();\n if(gl.isContextLost())throw Error(\"Character graphics context lost\");\n if(!delta)return new Type(buffer);\n if(this.decoder){\n  const unpacked=await new Promise(resolve=>{\n   jobs.set(file,resolve);this.decoder.postMessage({file,buffer,stride},[buffer]);\n  });\n  if(unpacked)return new Int16Array(unpacked);\n  return data(file,Type,delta,stride);\n }\n // Embedded sites can disable workers. Yield between chunks there as well.\n const planes=new Uint8Array(buffer),count=planes.length/2,values=new Int16Array(count);\n for(let start=0;start<count;start+=65536){\n  const end=Math.min(count,start+65536);\n  for(let i=start;i<end;i++)values[i]=(planes[i]|(planes[count+i]<<8))+(i>=stride?values[i-stride]:0);\n  if(end<count)await nextTask();\n }\n return values;\n};\nconst N=walk.frames,Stored=walk.storedFrames,Duration=walk.duration,IdleFrames=idle.frames,IdleDuration=idle.duration;\nconst uint32=!!gl.getExtension('OES_element_index_uint'),parts=[];\nfor(const src of walk.parts){const idleSrc=idle.parts[parts.length];const [v,uv,ix,standing]=await Promise.all([data(src.animation,Int16Array,src.animationEncoding==='delta-i16-byteplanes',src.vertices*6),data(src.uv,Float32Array),data(src.indices,Uint32Array),data(idleSrc.animation,Int16Array,true,src.vertices*6)]);if(v.length!==src.vertices*6*Stored||uv.length!==src.vertices*2||ix.length!==src.count||idleSrc.vertices!==src.vertices||standing.length!==src.vertices*6*IdleFrames)throw Error('动画数据不完整');const ib=gl.createBuffer(),b=gl.createBuffer(),ub=gl.createBuffer(),idleBuffer=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,b);gl.bufferData(gl.ARRAY_BUFFER,v,gl.STATIC_DRAW);gl.bindBuffer(gl.ARRAY_BUFFER,idleBuffer);gl.bufferData(gl.ARRAY_BUFFER,standing,gl.STATIC_DRAW);gl.bindBuffer(gl.ARRAY_BUFFER,ub);gl.bufferData(gl.ARRAY_BUFFER,uv,gl.STATIC_DRAW);gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,ib);const short=src.vertices<65536;if(!short&&!uint32)throw Error('浏览器不支持此模型的索引格式');gl.bufferData(gl.ELEMENT_ARRAY_BUFFER,short?new Uint16Array(ix):ix,gl.STATIC_DRAW);parts.push({tile:src.tile,vertices:src.vertices,count:src.count,buffer:b,idleBuffer,uvBuffer:ub,indexBuffer:ib,indexType:short?gl.UNSIGNED_SHORT:gl.UNSIGNED_INT,textures:[]});}\n\nconst textureJobs=parts.flatMap(part=>['BaseColor','Normal','Roughness','Metallic'].map(async(name,i)=>{\n const im=heroImage();im.src=heroAsset(walk.textures[part.tile][name],assetRoot);await im.decode();\n let pixels=im;\n if(window.createImageBitmap){\n  try{pixels=await createImageBitmap(im,{imageOrientation:'flipY',premultiplyAlpha:'none'});}catch{}\n }\n return {part,i,pixels,flipped:pixels!==im};\n}));\nfor(const {part,i,pixels,flipped} of await Promise.all(textureJobs)){\n await nextTask();\n const tex=gl.createTexture();part.textures[i]=tex;gl.bindTexture(gl.TEXTURE_2D,tex);\n gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL,!flipped);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,gl.RGBA,gl.UNSIGNED_BYTE,pixels);\n gl.generateMipmap(gl.TEXTURE_2D);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR_MIPMAP_LINEAR);\n gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.LINEAR);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE);\n gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE);if(flipped)pixels.close();\n}\ngl.enable(gl.DEPTH_TEST);gl.depthFunc(gl.LEQUAL);gl.clearColor(0,0,0,0);\nfor(let i=0;i<parts.length;i++){\n parts[i].gestureBuffers={};\n}\nconst ready=new Set(),pending=new Map();\nthis.ensureGesture=name=>{\n if(name==='vanish')return Promise.all(['cast','seal'].map(this.ensureGesture));\n if(ready.has(name)||!gestures[name])return Promise.resolve();\n if(pending.has(name))return pending.get(name);\n const clip=gestures[name];\n const job=Promise.all(parts.map(async(part,i)=>{\n  const src=clip.parts[i],values=await data(src.animation,Int16Array,true,part.vertices*6);\n  if(src.vertices!==part.vertices||values.length!==part.vertices*6*clip.frames)throw Error('Standing gesture data is incomplete.');\n  return values;\n })).then(async values=>{\n  const buffers=[];\n  try{\n   for(let i=0;i<parts.length;i++){\n    await nextTask();\n    if(gl.isContextLost())throw Error('Character graphics context lost');\n    const buffer=gl.createBuffer();buffers.push(buffer);\n    gl.bindBuffer(gl.ARRAY_BUFFER,buffer);gl.bufferData(gl.ARRAY_BUFFER,values[i],gl.STATIC_DRAW);\n   }\n   parts.forEach((part,i)=>part.gestureBuffers[name]=buffers[i]);\n   ready.add(name);\n   if(ready.size===Object.keys(gestures).length){this.decoder?.terminate();this.decoder=null;}\n  }catch(error){buffers.forEach(buffer=>gl.deleteBuffer(buffer));throw error;}\n }).finally(()=>pending.delete(name));\n pending.set(name,job);return job;\n};\nthis.hasGesture=name=>name==='vanish'?ready.has('cast')&&ready.has('seal'):ready.has(name);\nawait Promise.all(['wave','seal'].map(this.ensureGesture));\nthis.ground=new window.NiNNiNGroundShadow(gl,shader);\nObject.assign(this,{gl,p,attrs,u,parts,N,Duration,IdleFrames,IdleDuration,gestures});return this;\n }\n // Called immediately after drawing while the default WebGL framebuffer is valid.\n coversPixel(x,y,width,height){\n  const gl=this.gl;\n  if(this.bounds){x-=this.bounds.x;y-=this.bounds.y;width=this.bounds.w;height=this.bounds.h;}\n  const px=Math.floor(x*gl.drawingBufferWidth/width),py=gl.drawingBufferHeight-1-Math.floor(y*gl.drawingBufferHeight/height);\n  if(px<0||py<0||px>=gl.drawingBufferWidth||py>=gl.drawingBufferHeight)return false;\n  this.pickPixel??=new Uint8Array(4);\n  gl.readPixels(px,py,1,1,gl.RGBA,gl.UNSIGNED_BYTE,this.pickPixel);\n  return this.pickPixel[3]>=128;\n }\n draw({x,y,ppu,yaw,pitch,phase=0,idlePhase=0,restBlend=0,gesture='',gesturePhase=0,fireLight=null,lift=0,w,h,onMap=false}){\n const {canvas,gl,p,attrs,u,parts,N,IdleFrames,gestures}=this;if(!gl)return;\n // Include the highest flip and the full projected shadow. A transparent\n // screen-sized framebuffer previously had to be cleared and composited every step.\n if(onMap){\n  const left=Math.floor(x-.75*ppu),top=Math.floor(y-1.98*ppu);\n  w=Math.ceil(2.50*ppu)+2;h=Math.ceil(2.69*ppu)+2;\n  this.bounds={x:left,y:top,w,h};\n  Object.assign(canvas.style,{inset:'auto',left:'0',top:'0',width:w+'px',height:h+'px',transform:'translate('+left+'px,'+top+'px)'});\n  x-=left;y-=top;\n }else this.bounds=null;\n const dpr=Math.min(window.devicePixelRatio||1,this.pixelRatioLimit??1.5),pw=Math.max(1,Math.round(w*dpr)),ph=Math.max(1,Math.round(h*dpr));\n if(canvas.width!==pw||canvas.height!==ph){canvas.width=pw;canvas.height=ph;}gl.viewport(0,0,pw,ph);gl.clear(gl.COLOR_BUFFER_BIT|gl.DEPTH_BUFFER_BIT);gl.useProgram(p);\n if(this.handoffYaw){\n  const t=Math.min(1,(performance.now()-this.handoffYaw.start)/120);\n  yaw+=this.handoffYaw.offset*(1-t*t*(3-2*t));\n  if(t===1)this.handoffYaw=null;\n }\n const gaitWeight=1-restBlend;\n gl.uniform2f(u.stepExtension,gaitWeight*NiNNiNActor.ankleExtension(phase),gaitWeight*NiNNiNActor.ankleExtension(phase+.5));\n const standing=restBlend>=1,clip=this.hasGesture(gesture)?gestures[gesture]:null,gesturing=!!clip;\n let sampledFrame=0;\n if(clip?.times){\n  const time=Math.max(0,Math.min(1,gesturePhase))*clip.duration;\n  const end=clip.times.findIndex(value=>value>time);\n  sampledFrame=end<0?clip.frames-1:end-1+(time-clip.times[end-1])/(clip.times[end]-clip.times[end-1]);\n }else if(clip){sampledFrame=Math.max(0,Math.min(1,gesturePhase))*(clip.loop?clip.frames:clip.frames-1);}\n const restFrame=gesturing&&!standing?Math.min(clip.frames-1,Math.floor(sampledFrame)):Math.floor(((idlePhase%1)+1)%1*IdleFrames);\n const count=standing?(gesturing?clip.frames:IdleFrames):N;\n const once=standing&&clip?.loop===false;\n const cyclicPhase=standing?idlePhase:phase;\n const exact=standing&&gesturing?sampledFrame:((cyclicPhase%1)+1)%1*count;\n const frame=Math.min(count-1,Math.floor(exact)),next=once?Math.min(frame+1,count-1):(frame+1)%count;\n const smooth=t=>{t=Math.max(0,Math.min(1,t));return t*t*(3-2*t);};\n const greetingWeight=smooth(gesturePhase/.10)*smooth((1-gesturePhase)/.12);\n gl.uniform1f(u.blend,exact-frame);gl.uniform1f(u.restBlend,standing?(gesturing&&!once?1-greetingWeight:0):restBlend);gl.uniform2f(u.angles,yaw,pitch);gl.uniform2f(u.anchor,x,y);gl.uniform1f(u.ppu,ppu);gl.uniform2f(u.viewport,w,h);gl.uniform1i(u.rawColor,0);gl.uniform1i(u.detailOn,1);\n this.unlit??=new Float32Array(9);gl.uniform3fv(u.fireLight,fireLight||this.unlit);gl.uniform4fv(u.groundBounds,this.ground.bounds);\n for(const groundPass of [true,false]){\n  if(groundPass)this.ground.begin();\n  else{this.ground.composite(x,y,ppu,w,h,lift);gl.useProgram(p);}\n  gl.uniform1i(u.groundPass,groundPass);\n  for(const part of parts){\n   gl.bindBuffer(gl.ARRAY_BUFFER,standing?(gesturing?part.gestureBuffers[gesture]:part.idleBuffer):part.buffer);\n  for(const [name,offset]of[['position',frame*part.vertices*12],['normal',frame*part.vertices*12+6],['nextPosition',next*part.vertices*12],['nextNormal',next*part.vertices*12+6]]){gl.enableVertexAttribArray(attrs[name]);gl.vertexAttribPointer(attrs[name],3,gl.SHORT,true,12,offset);}\n  gl.bindBuffer(gl.ARRAY_BUFFER,gesturing&&!standing?part.gestureBuffers[gesture]:part.idleBuffer);\n  for(const [name,offset]of[['restPosition',restFrame*part.vertices*12],['restNormal',restFrame*part.vertices*12+6]]){gl.enableVertexAttribArray(attrs[name]);gl.vertexAttribPointer(attrs[name],3,gl.SHORT,true,12,offset);}\n  gl.bindBuffer(gl.ARRAY_BUFFER,part.uvBuffer);gl.enableVertexAttribArray(attrs.uv);gl.vertexAttribPointer(attrs.uv,2,gl.FLOAT,false,8,0);gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,part.indexBuffer);for(let i=0;i<4;i++){gl.activeTexture(gl.TEXTURE0+i);gl.bindTexture(gl.TEXTURE_2D,part.textures[i]);gl.uniform1i(u[['colorMap','normalMap','roughMap','metalMap'][i]],i);}gl.drawElements(gl.TRIANGLES,part.count,part.indexType,0);\n  }\n }\n }\n};\n\n</script>\n  <script>\n// Transparent frames of the approved mesh share the live actor's ground anchor and pose clock.\nwindow.NiNNiNSpriteActor=class {\n constructor(canvas){\n  this.canvas=canvas;\n  this.ctx=canvas.getContext('2d');\n  this.canvas.style.inset='auto';\n  this.canvas.style.left=this.canvas.style.top='0';\n  this.sheets=new Map();this.pending=new Map();this.compact=!!navigator.connection?.saveData;\n  this.base='assets/character/map-poses/';\n }\n async init(){\n  const response=await fetch(heroAsset('layout.json',this.base));\n  if(!response.ok)throw Error('The character frame layout could not load.');\n  const {ppu,clips}=await response.json();\n  this.gestures=clips;\n  const frames=[...Object.values(clips),this.clip('release')];\n  const extent=f=>Math.max(...frames.map(f));\n  const anchorX=extent(f=>f.anchorX),anchorY=extent(f=>f.anchorY);\n  this.bounds={anchorX,anchorY,width:anchorX+extent(f=>f.width-f.anchorX),height:anchorY+extent(f=>f.height-f.anchorY)};\n  this.ppu=ppu;this.IdleDuration=clips.idle.duration;\n  if(window.Worker&&window.OffscreenCanvas&&window.createImageBitmap){\n   try{\n    this.jobs=new Map();this.worker=new Worker(URL.createObjectURL(new Blob([\"// Rasterize the approved poses away from the map's paint loop. A first step then\\n// uploads only its own small frame, without decoding the entire walk sheet.\\nself.onmessage=async({data:{name,url,clip}})=>{\\n let atlas;\\n const frames=[];\\n try{\\n  const response=await fetch(url);\\n  if(!response.ok)throw Error('Missing pose sheet');\\n  atlas=await createImageBitmap(await response.blob());\\n  const {width,height,columns}=clip,canvas=new OffscreenCanvas(width,height);\\n  const ctx=canvas.getContext('2d',{willReadFrequently:true});\\n  for(let i=0;i<clip.frames*clip.directions;i++){\\n   ctx.drawImage(atlas,i%columns*width,Math.floor(i/columns)*height,width,height,0,0,width,height);\\n   frames.push(canvas.transferToImageBitmap());\\n  }\\n  self.postMessage({name,frames},frames);\\n }catch{\\n  frames.forEach(frame=>frame.close());\\n  self.postMessage({name});\\n }finally{atlas?.close();}\\n};\\n\"],{type:'text/javascript'})));\n    this.worker.onmessage=({data:{name,frames}})=>{this.jobs.get(name)?.(frames);this.jobs.delete(name);};\n    this.worker.onerror=()=>{\n     this.worker.terminate();this.worker=null;\n     this.jobs.forEach(finish=>finish(null));this.jobs.clear();\n    };\n   }catch{this.worker=null;}\n  }\n  await this.load('release').catch(()=>this.load('seal'));\n  return this;\n }\n clip(name){\n  if(this.gestures[name])return this.gestures[name];\n  const frames=name==='release'?67:name.startsWith('pivot-')?45:32;\n  return {width:248,height:244,anchorX:87,anchorY:192,columns:8,frames,directions:1};\n }\n direction(yaw,count){return (Math.round(yaw*count/(2*Math.PI))%count+count)%count;}\n prepareTurn(from,to,walking=true){\n  const delta=Math.atan2(Math.sin(to-from),Math.cos(to-from)),segments=Math.ceil(Math.abs(delta)*180/Math.PI/10);\n  const sheets=new Set();\n  if(walking)sheets.add(this.compact?'walk':'stride-'+this.direction(to,48));\n  for(let i=0;i<=segments;i++){\n   const pose=this.direction(from+delta*i/(segments||1),180);\n   if(pose!==0)sheets.add('pivot-'+Math.floor(pose/45));\n  }\n  return Promise.all([...sheets].map(name=>this.load(name))).catch(()=>this.load('walk').catch(()=>{}));\n }\n load(name){\n  if(this.sheets.has(name))return Promise.resolve();\n  if(this.pending.has(name))return this.pending.get(name);\n  const revision=name==='walk'||name.startsWith('stride-')?'?v=longer-step':'';\n  const url=heroAsset((this.gestures[name]?'':'movement/')+name+'.webp'+revision,this.base);\n  const decoded=this.worker?new Promise(resolve=>{\n   this.jobs.set(name,resolve);this.worker.postMessage({name,url,clip:this.clip(name)});\n  }):Promise.resolve(null);\n  const done=decoded.then(async frames=>{\n   if(frames){this.sheets.set(name,frames);return;}\n   const image=heroImage();image.src=url;await image.decode();this.sheets.set(name,image);\n  }).finally(()=>this.pending.delete(name));\n  this.pending.set(name,done);return done;\n }\n async loadRemaining(){\n  for(const name of Object.keys(this.gestures)){\n   if(!['seal','walk'].includes(name)&&!this.sheets.has(name))await this.load(name).catch(()=>{});\n  }\n }\n pivot(yaw){\n  const pose=this.direction(yaw,180),name='pivot-'+Math.floor(pose/45);\n  if(pose&&this.sheets.has(name))return [name,pose%45];\n  if(this.sheets.has('release'))return ['release',66];\n  return ['seal',21];\n }\n // Load only headings used by route segments. Intermediate angles during a turn\n // can use the closest cached stride without queueing a burst of atlas decodes.\n prepareStride(yaw,currentYaw){\n  if(this.compact){\n   if(!this.sheets.has('walk')&&!this.pending.has('walk')&&performance.now()>=(this.retryWalkAt||0)){\n    this.load('walk').catch(()=>{this.retryWalkAt=performance.now()+30000;});\n   }\n   return;\n  }\n  const name='stride-'+this.direction(yaw,48);\n  if(this.travelStride!==name&&Math.abs(Math.atan2(Math.sin(yaw-currentYaw),Math.cos(yaw-currentYaw)))>.35){\n   this.prepareTurn(currentYaw,yaw,false);\n  }\n  this.travelStride=name;\n  if(this.sheets.has(name)||this.strideJob||performance.now()<(this.retryStride?.get(name)||0))return;\n  this.strideJob=this.load(name).then(()=>{\n   const cached=[...this.sheets.keys()].filter(key=>key.startsWith('stride-'));\n   let count=cached.length;\n   for(const key of cached){\n    if(count<=4)break;\n    if(key===name||key===this.travelStride||key===this.name)continue;\n    const frames=this.sheets.get(key);\n    if(Array.isArray(frames))frames.forEach(frame=>frame.close());\n    this.sheets.delete(key);\n    count--;\n   }\n  }).catch(()=>{\n   this.retryStride??=new Map();this.retryStride.set(name,performance.now()+30000);\n   if(!this.sheets.has('walk'))this.load('walk').catch(()=>{});\n  }).finally(()=>{this.strideJob=null;});\n }\n stride(yaw,phase){\n  if(this.compact&&this.sheets.has('walk'))return ['walk',this.direction(yaw,8)*12+phase*12];\n  const direction=this.direction(yaw,48),wanted='stride-'+direction;\n  if(this.sheets.has(wanted))return [wanted,phase*32];\n  let best=Infinity,nearest;\n  for(const key of this.sheets.keys())if(key.startsWith('stride-')){\n   const delta=Math.abs(Number(key.slice(7))-direction),gap=Math.min(delta,48-delta);\n   if(gap<best){best=gap;nearest=key;}\n  }\n  if(best<=2)return [nearest,phase*32];\n  if(this.sheets.has('walk'))return ['walk',this.direction(yaw,8)*12+phase*12];\n  const pivot=this.pivot(yaw);\n  if(nearest&&!pivot[0].startsWith('pivot-'))return [nearest,phase*32];\n  return pivot;\n }\n draw({x,y,ppu,yaw,phase=0,idlePhase=0,restBlend,gesture,gesturePhase=0,turnFromYaw}){\n  let sample,standing,blend=0;\n  if(restBlend<1){\n   sample=this.stride(turnFromYaw??yaw,phase);\n   if(restBlend>0 && (sample[0]==='walk' || sample[0].startsWith('stride-') || gesture==='wave')){\n    const waveFacingViewer=gesture==='wave'&&Math.cos(yaw)>.7&&this.sheets.has('wave');\n    standing=waveFacingViewer?['wave',gesturePhase*(this.gestures.wave.frames-1)]:this.pivot(yaw);\n    blend=restBlend;\n   }\n  }else if(gesture==='seal'&&this.sheets.has('release')){\n   sample=['release',Math.min(1,Math.max(0,(gesturePhase-.60)/.40))*66];\n  }else if(gesture&&this.sheets.has(gesture)){\n   sample=[gesture,gesturePhase*(this.gestures[gesture].frames-1)];\n  }else if(Math.abs(yaw)>.0001||!this.sheets.has('idle')){\n   sample=this.pivot(yaw);\n  }else{\n   sample=['idle',idlePhase*this.gestures.idle.frames];\n  }\n  const [name,index]=sample,clip=this.bounds;\n  const {width,height,anchorX,anchorY}=clip,scale=ppu/this.ppu;\n  const w=width*scale,h=height*scale,dpr=Math.min(devicePixelRatio||1,1.5),pw=Math.max(1,Math.round(w*dpr)),ph=Math.max(1,Math.round(h*dpr));\n  const {canvas,ctx}=this;\n  this.left=x-anchorX*scale;this.top=y-anchorY*scale;this.scale=scale;\n  canvas.style.transform='translate('+this.left+'px,'+this.top+'px)';\n  canvas.style.width=w+'px';canvas.style.height=h+'px';\n  if(canvas.width!==pw||canvas.height!==ph){canvas.width=pw;canvas.height=ph;}\n  else if(name===this.name&&index===this.index&&blend===this.lastBlend&&standing?.[0]===this.standingName&&standing?.[1]===this.standingIndex)return;\n  this.name=name;this.index=index;this.lastBlend=blend;this.standingIndex=standing?.[1];this.standingName=standing?.[0];\n  ctx.clearRect(0,0,pw,ph);\n  const render=([key,position],alpha)=>{\n   const sheet=this.sheets.get(key),frame=this.clip(key);\n   if(!sheet)return;\n   const sx=pw/width,sy=ph/height;\n   const dx=(anchorX-frame.anchorX)*sx,dy=(anchorY-frame.anchorY)*sy,dw=frame.width*sx,dh=frame.height*sy;\n   const first=Math.floor(position),fraction=position-first;\n   const paintFrame=(i,weight)=>{\n    ctx.globalAlpha=weight;\n    if(Array.isArray(sheet))ctx.drawImage(sheet[i],dx,dy,dw,dh);\n    else ctx.drawImage(sheet,i%frame.columns*frame.width,Math.floor(i/frame.columns)*frame.height,frame.width,frame.height,dx,dy,dw,dh);\n   };\n   paintFrame(first,alpha*(1-fraction));\n   if(fraction>0){\n    // Walking directions occupy separate rows of poses. Wrap within this gait only.\n    const start=Math.floor(first/frame.frames)*frame.frames;\n    const next=start+(first-start+1)%frame.frames;\n    paintFrame(next,alpha*fraction);\n   }\n  };\n  ctx.globalCompositeOperation='lighter';\n  if(standing)render(standing,blend);\n  render(sample,1-blend);ctx.globalAlpha=1;ctx.globalCompositeOperation='source-over';\n }\n coversPixel(x,y){\n  if(!this.name)return false;\n  const {width,height}=this.bounds;\n  const px=Math.floor((x-this.left)*this.canvas.width/(width*this.scale)),py=Math.floor((y-this.top)*this.canvas.height/(height*this.scale));\n  if(px<0||py<0||px>=this.canvas.width||py>=this.canvas.height)return false;\n  return this.ctx.getImageData(px,py,1,1).data[3]>=128;\n }\n};\n\n</script>\n  <script>\n// Coordinates here are foot positions in the 1920 × 1080 courtyard artwork.\n(function(root){\n 'use strict';\n const nodes={\n  home:[822,736],frontWest:[691,618],frontMiddle:[980,760],frontEast:[1100,754],\n  leftFront:[555,507],boardFront:[615,575],mailboxFront:[1300,747],junction:[1400,730],\n  lawnGate:[733,711],lawnWest:[600,710],lawnCenter:[704,750],lawnEast:[788,802],lawnSouth:[752,865],\n  westCurve:[511,449],westRise:[466,353],upperFork:[413,281],upperPath:[386,246],\n  meadowEntry:[485,280],meadowWest:[532,247],meadowMiddle:[628,243],meadowEast:[713,236],\n  sideCorner:[1450,684],sideFront:[1518,648],crateFront:[1549,608],\n  leftField:[304,693],lowerField:[431,844],westGrass:[146,610],southPath:[1020,985],eastGrass:[1396,822]\n };\n const patrol=['boardFront','meadowEast','upperPath','westGrass','leftField','lowerField','home','lawnSouth','frontMiddle','frontEast','mailboxFront','crateFront','junction','eastGrass','southPath','lawnEast','home'];\n // Trace silhouettes on the back and sides, with room for the character's body.\n // The front edges mark where the feet can safely pass in front of each object.\n const obstacles=[\n  // Left tree, lantern, shrubs, rocks and the adjoining fence.\n  [[0,0],[243,0],[248,87],[185,146],[185,169],[232,199],[246,215],[281,203],[318,221],[335,248],[361,262],[366,315],[338,345],[223,356],[199,389],[159,401],[0,411]],\n  [[0,357],[120,374],[161,411],[207,404],[256,408],[303,397],[339,382],[402,385],[441,405],[453,441],[480,447],[490,493],[448,505],[316,513],[277,546],[251,562],[210,563],[150,547],[123,509],[0,490]],\n  // Counter, stools, pot, shop, A-board and the bushes against the facade.\n  [[719,414],[646,395],[631,353],[658,308],[681,281],[731,253],[757,239],[771,206],[804,181],[897,175],[945,173],[970,112],[1040,102],[1250,148],[1505,238],[1550,333],[1552,413],[1580,427],[1587,557],[1555,579],[1530,589],[1517,606],[1467,617],[1422,669],[1392,713],[1360,718],[1341,736],[1310,738],[1285,720],[1275,702],[1208,684],[1207,718],[1176,726],[1127,728],[1102,712],[1105,670],[1071,657],[1067,679],[1001,686],[976,674],[967,660],[968,631],[922,611],[904,590],[887,563],[813,578],[782,579],[751,562],[720,554],[710,538],[722,486]],\n  // Keep the whole passage beyond the front of the crates and the bench closed.\n  [[1143,0],[1920,0],[1920,663],[1836,661],[1771,674],[1734,660],[1682,667],[1650,675],[1621,649],[1596,604],[1532,604],[1495,565],[1440,475],[1200,268],[1135,170]],\n  // Foreground trees that sit over the ground plane.\n  [[0,587],[49,601],[99,634],[131,679],[130,738],[109,792],[81,810],[157,792],[230,803],[282,836],[325,893],[339,924],[390,909],[440,920],[478,945],[513,992],[519,1080],[0,1080]],\n  [[1621,1080],[1617,1003],[1647,957],[1692,934],[1721,898],[1775,876],[1834,871],[1920,908],[1920,1080]],\n  // Lower left flower bed, center-right bush and boulder, and the right hedge.\n  [[484,814],[500,778],[542,754],[571,754],[604,777],[615,794],[651,790],[681,809],[697,842],[680,867],[613,873],[590,886],[545,881],[533,863],[500,859]],\n  [[1074,869],[1090,826],[1125,799],[1148,765],[1195,744],[1257,743],[1304,759],[1334,794],[1342,843],[1322,875],[1277,892],[1261,919],[1224,936],[1169,930],[1159,909],[1112,906],[1082,889]],\n  [[1727,756],[1748,717],[1783,683],[1832,674],[1880,679],[1920,696],[1920,805],[1884,816],[1832,818],[1769,807],[1738,790]],\n  // Direction sign, stones and shrubs at its base. Leave the grass between them open.\n  [[1523,728],[1539,695],[1581,690],[1657,718],[1670,811],[1629,841],[1649,852],[1678,876],[1669,917],[1622,939],[1572,946],[1531,927],[1553,895],[1567,853],[1571,837],[1524,810]],\n  [[1438,912],[1454,875],[1482,856],[1524,857],[1566,877],[1572,929],[1537,952],[1485,963],[1446,950]],\n  [[1544,970],[1561,946],[1595,944],[1626,957],[1628,985],[1599,1001],[1561,999]],\n  [[1451,765],[1468,745],[1500,744],[1530,759],[1529,787],[1499,800],[1464,796]],\n  // Left meadow boulder, above the outer curve.\n  [[839,87],[854,62],[879,53],[909,61],[936,84],[937,119],[911,137],[856,137],[838,124]]\n ].map(points=>({points,x0:Math.min(...points.map(p=>p[0])),x1:Math.max(...points.map(p=>p[0])),y0:Math.min(...points.map(p=>p[1])),y1:Math.max(...points.map(p=>p[1]))}));\n const point=id=>({x:nodes[id][0],y:nodes[id][1]});\n const metric=(a,b)=>Math.hypot(b.x-a.x,(b.y-a.y)/Math.sin(.42));\n function inside(x,y,poly){\n  if(x<poly.x0||x>poly.x1||y<poly.y0||y>poly.y1)return false;\n  let result=false;\n  for(let i=0,j=poly.points.length-1;i<poly.points.length;j=i++){\n   const [ax,ay]=poly.points[i],[bx,by]=poly.points[j];\n   if((ay>y)!==(by>y)&&x<(bx-ax)*(y-ay)/(by-ay)+ax)result=!result;\n  }\n  return result;\n }\n const step=8,cols=240,rows=135,size=cols*rows,open=new Uint8Array(size);\n const cell=(x,y)=>Math.floor(y/step)*cols+Math.floor(x/step);\n const center=id=>({x:(id%cols+.5)*step,y:(Math.floor(id/cols)+.5)*step});\n for(let id=0;id<size;id++){\n  const {x,y}=center(id);\n  if(x>54&&x<1864&&y>=176&&y<=1056&&!obstacles.some(poly=>inside(x,y,poly)))open[id]=1;\n }\n // Keep only ground connected to the starting spot; clicks and teleportation share it.\n const queue=new Int32Array(size),parent=new Int32Array(size);\n const cardinal=[1,-1,cols,-cols];\n const home=point('home'),origin=cell(home.x,home.y);\n let head=0,count=1;queue[0]=origin;open[origin]=2;\n while(head<count){\n  const id=queue[head++];\n  for(const d of cardinal){const n=id+d;if(open[n]===1){open[n]=2;queue[count++]=n;}}\n }\n const reachable=queue.slice(0,count);\n function project(x,y){return {x,y,valid:x>=0&&y>=0&&x<1920&&y<1080&&open[cell(x,y)]===2,key:x+':'+y};}\n function clearLine(a,b){\n  let id=cell(a.x,a.y);const end=cell(b.x,b.y);\n  const dx=b.x-a.x,dy=b.y-a.y,sx=Math.sign(dx),sy=Math.sign(dy);\n  const tx=dx?step/Math.abs(dx):Infinity,ty=dy?step/Math.abs(dy):Infinity;\n  let vx=dx?((Math.floor(a.x/step)+(sx>0))*step-a.x)/dx:Infinity;\n  let vy=dy?((Math.floor(a.y/step)+(sy>0))*step-a.y)/dy:Infinity;\n  while(id!==end){\n   // An endpoint on a grid line belongs to its own cell, including negative travel.\n   const crossX=id%cols!==end%cols?vx:Infinity,crossY=Math.floor(id/cols)!==Math.floor(end/cols)?vy:Infinity;\n   if(Math.abs(crossX-crossY)<1e-9){\n    if(open[id+sx]!==2||open[id+sy*cols]!==2)return false;\n    id+=sx+sy*cols;vx+=tx;vy+=ty;\n   }else if(crossX<crossY){id+=sx;vx+=tx;}else{id+=sy*cols;vy+=ty;}\n   if(open[id]!==2)return false;\n  }\n  return true;\n }\n function plan(start,end){\n  if(!project(start.x,start.y).valid||!project(end.x,end.y).valid)return [];\n  const a={x:start.x,y:start.y},b={x:end.x,y:end.y};\n  if(clearLine(a,b))return [a,b];\n  const first=cell(a.x,a.y),last=cell(b.x,b.y);let read=0,length=1;\n  queue[0]=first;parent.fill(-1);parent[first]=first;\n  while(read<length&&parent[last]===-1){\n   const id=queue[read++];\n   for(const offset of cardinal){const n=id+offset;if(open[n]!==2||parent[n]!==-1)continue;parent[n]=id;queue[length++]=n;}\n  }\n  if(parent[last]===-1)return [];\n  const path=[b];for(let id=last;id!==first;id=parent[id])path.push(center(id));\n  path.push(center(first),a);path.reverse();\n  const smooth=[a];let index=0;\n  while(index<path.length-1){let j=path.length-1;while(j>index+1&&!clearLine(path[index],path[j]))j--;smooth.push(path[j]);index=j;}\n  return smooth;\n }\n function randomLanding(from,visible){\n  const start=Math.floor(Math.random()*reachable.length);\n  let fallback;\n  for(let i=0;i<reachable.length;i++){\n   const p=center(reachable[(start+i)%reachable.length]);\n   if(Math.hypot(p.x-from.x,p.y-from.y)<160)continue;\n   fallback??=p;if(visible(p))return p;\n  }\n  return fallback||{x:from.x,y:from.y};\n }\n const api={nodes,patrol,point,project,plan,metric,randomLanding};\n if(typeof module!=='undefined'&&module.exports)module.exports=api;else root.NiNNiNPaths=api;\n})(typeof window==='undefined'?globalThis:window);\n\n</script>\n  <script>\n/* One-shot ninja smoke. Small density volumes are lit once, then animated as\n   billows: soft translucent edges, warm daylight and no drawn outlines. */\n(()=>{\n const clamp=t=>Math.max(0,Math.min(1,t));\n const smooth=t=>{t=clamp(t);return t*t*(3-2*t);};\n const ease=t=>1-Math.pow(1-clamp(t),3);\n\n // A lightweight fallback for a missing sheet. The normal effect uses the baked volume.\n function billow(seed){\n  const canvas=document.createElement('canvas'),size=120;\n  canvas.width=canvas.height=size;\n  const ctx=canvas.getContext('2d');\n  for(let i=0;i<7;i++){\n   const a=i*2.40+seed,r=i===6?35:24+3*Math.sin(a);\n   const x=60+(i===6?0:23*Math.cos(a)),y=58+(i===6?0:20*Math.sin(a));\n   const light=ctx.createRadialGradient(x-r*.22,y-r*.33,0,x,y,r);\n   light.addColorStop(0,'#f4eee0');light.addColorStop(.58,'#dfddcd');light.addColorStop(1,'rgba(173,178,162,0)');\n   ctx.fillStyle=light;ctx.fillRect(x-r,y-r,r*2,r*2);\n  }\n  return canvas;\n }\n window.NiNNiNEntrance=class{\n  constructor(canvas){this.canvas=canvas;this.ctx=canvas.getContext('2d');}\n  prepareVanish(){\n   if(this.vanishReady)return this.vanishReady;\n   const base='assets/character/',sheet=heroImage();\n   sheet.src=heroAsset('vanish-smoke.webp',base);\n   this.vanishReady=Promise.all([sheet.decode(),fetch(heroAsset('vanish-smoke.json',base)).then(r=>{\n    if(!r.ok)throw Error('Missing smoke frames');return r.json();\n   })]).then(([,data])=>{this.vanishSheet=sheet;this.vanishData=data;})\n    .catch(()=>{this.vanishReady=null;});\n   return this.vanishReady;\n  }\n  async prepareArrival(){\n   const sheet=heroImage();sheet.src='https://framerusercontent.com/assets/VbbM1IetAjjskmV9WxgaYyoFQ.webp';\n   try{await sheet.decode();this.arrivalSheet=sheet;}\n   catch{/* The small procedural puffs also work when the entrance sheet is unavailable. */}\n  }\n  primeArrival({x,y},unit){\n   const frame=document.getElementById('arrival-smoke');\n   if(!frame?.animate||!this.arrivalSheet)return;\n   this.arrival=frame;\n   frame.append(this.arrivalSheet);\n   const columns=9,cell=176,frameCount=72;\n   this.arrivalMs=1200;\n   this.cells=Array.from({length:frameCount},(_,i)=>({\n    offset:i/frameCount,transform:'translate3d('+(-cell*(i%columns))+'px,'+(-cell*Math.floor(i/columns))+'px,0)',easing:'steps(1, end)'\n   }));\n   this.cells.push({offset:1,transform:'translate3d(0,0,0)'});\n   this.placeArrival(x,y,unit);\n   frame.hidden=false;\n  }\n  placeArrival(x,y,unit){\n   this.arrival.style.transform='translate3d('+(x-128*unit)+'px,'+(y-247*unit)+'px,0) scale('+(unit*272/176)+')';\n  }\n  playArrival({time,x,y,unit}){\n   if(!this.arrival)return false;\n   this.placeArrival(x,y,unit);\n   const ms=time*1000;\n   this.arrival.hidden=ms>=this.arrivalMs;\n   if(!this.sheetAnimation){\n    this.sheetAnimation=this.arrivalSheet.animate(this.cells,{duration:this.arrivalMs,fill:'both'});\n    this.revealAnimation=document.getElementById('actor').animate([\n     {offset:0,opacity:0},{offset:.25/.31,opacity:0},{offset:1,opacity:1}\n    ],{duration:310,fill:'both'});\n   }\n   // Native transforms and opacity continue between JS frames. Re-anchor only on\n   // a seek (including a hidden-tab resume), never during ordinary playback.\n   if(this.sheetAnimation.startTime===null||Math.abs(Math.min(ms,this.arrivalMs)-this.sheetAnimation.currentTime)>75){\n    const start=document.timeline.currentTime-ms;\n    this.sheetAnimation.startTime=start;this.revealAnimation.startTime=start;\n   }\n   return true;\n  }\n  suspendArrival(hidden){\n   for(const animation of [this.sheetAnimation,this.revealAnimation]){\n    if(hidden&&animation?.playState==='running')animation.pause();\n    else if(!hidden&&animation?.playState==='paused')animation.play();\n   }\n  }\n  finishArrival(){\n   if(!this.arrival)return;\n   this.arrival.hidden=true;\n   this.sheetAnimation?.cancel();this.revealAnimation?.cancel();\n   this.sheetAnimation=this.revealAnimation=null;\n  }\n  drawVanish({time,returning,x,y,unit}){\n   if(time<0||time>=1.20){this.clear();return;}\n   if(!this.vanishData){this.draw({time,x,y,unit});return;}\n   const frame=this.vanishData.frames[Math.round(time*this.vanishData.fps)];\n   if(!frame){this.clear();return;}\n   const {canvas,ctx}=this,dpr=Math.min(devicePixelRatio||1,2);\n   const w=320*unit*(returning?.90:1),h=312*unit*(returning?.96:1);\n   const pw=Math.max(1,Math.round(w*dpr)),ph=Math.max(1,Math.round(h*dpr));\n   canvas.hidden=false;\n   Object.assign(canvas.style,{left:(x-w/2)+'px',top:(y-h*271/312)+'px',width:w+'px',height:h+'px'});\n   if(canvas.width!==pw||canvas.height!==ph){canvas.width=pw;canvas.height=ph;}\n   ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,pw,ph);\n   ctx.setTransform((returning?-1:1)*pw/320,0,0,ph/312,pw/2,ph*271/312);\n   const [sx,sy,sw,sh,dx,dy]=frame;\n   ctx.drawImage(this.vanishSheet,sx,sy,sw,sh,dx,dy,sw,sh);\n  }\n  clear(){if(!this.canvas.hidden){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);this.canvas.hidden=true;}}\n  draw({time,x,y,unit}){\n   if(time>=1.3){this.clear();return;}\n   this.billows??=[.2,1.4,2.7,4.1].map(billow);\n   const{canvas,ctx}=this,dpr=Math.min(devicePixelRatio||1,1.5),width=400,height=340;\n   canvas.hidden=false;canvas.style.left=(x-200*unit)+'px';canvas.style.top=(y-250*unit)+'px';canvas.style.width=width*unit+'px';canvas.style.height=height*unit+'px';\n   const pw=Math.round(width*unit*dpr),ph=Math.round(height*unit*dpr);\n   if(canvas.width!==pw||canvas.height!==ph){canvas.width=pw;canvas.height=ph;}\n   ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,pw,ph);ctx.setTransform(unit*dpr,0,0,unit*dpr,0,0);\n   const appear=smooth(time/.055),burst=ease(time/.20);\n   // Each lobe has its own outward speed and buoyancy. The front clears first;\n   // smaller edge wisps keep rising and thinning rather than vanishing in unison.\n   const puffs=[\n    [-40,-37,71,0,.06,.92], [26,-43,76,1,.00,1.04],\n    [-54,11,73,2,.04,1.12], [54,-2,67,3,.02,1.02],\n    [-36,53,59,1,.05,.84], [31,48,62,0,.03,.94],\n    [-9,-8,77,3,0,.66], [18,22,62,2,.01,.62],\n   ];\n   for(let i=0;i<puffs.length;i++){\n    const[dx,dy,r,sprite,delay,life]=puffs[i],t=Math.max(0,time-delay),core=i>=6;\n    const drift=ease(t/1.18),fade=smooth((t-(core?.25:.34))/(life-(core?.25:.34)));\n    const opacity=appear*(1-fade);if(opacity<.001)continue;\n    const spread=.22+.85*burst+.65*drift;\n    const cx=200+dx*spread+Math.sin(t*2+i)*6*drift,cy=151+dy*spread-(18+10*(i%3))*drift;\n    const radius=r*(.21+.79*burst)*(1+.28*drift);\n    ctx.save();ctx.globalAlpha=opacity;ctx.translate(cx,cy);\n    ctx.rotate((i%2?1:-1)*.12*drift);ctx.scale(1+.06*Math.sin(i),1-.08*drift);\n    ctx.drawImage(this.billows[sprite],-radius,-radius,radius*2,radius*2);ctx.restore();\n   }\n  }\n };\n})();\n\n</script>\n  <script>\n// All silhouettes below are in pixels of the approved 3840 × 2160 courtyard.\n(()=>{\n const clamp=t=>Math.max(0,Math.min(1,t));\n const ease=(a,b,t)=>{const u=clamp((t-a)/(b-a));return u*u*(3-2*u);};\n const tau=2*Math.PI;\n const visibleSoup=new Path2D('M2104 871 C2104 851 2137 844 2169 846 C2205 846 2235 856 2235 873 C2234 888 2200 898 2167 898 C2134 898 2105 885 2104 871Z');\n // The left and middle noren have a narrow, tapered gap between their hem ends.\n const behindCurtain=new Path2D('M1990 825 L2113 861 L2118 733 L2128 733 L2128 860 L2260 907 V1080 H1990Z');\n const insideStove=new Path2D('M2152 1017 Q2152 989 2179 986 Q2201 981 2212 993 Q2221 1002 2225 1019 L2214 1020 L2202 1021 L2192 1029 L2186 1022 L2180 1031 L2177 1027 L2165 1019Z');\n const bubbles=[[2119,873,3.5,1.13],[2133,876,5,1.41],[2145,885,4.6,1.07],[2150,878,3.4,1.63],[2161,886,5.4,1.32],[2176,889,4.3,1.52],[2186,886,3.2,1.04],[2198,888,4.5,1.24],[2140,870,2.6,1.42]];\n function billow(seed){\n  const c=document.createElement('canvas');c.width=c.height=72;\n  const g=c.getContext('2d'),pix=g.createImageData(72,72);\n  const lobes=[[0,0,.83],[-.36,.08,.54],[.32,-.20,.60],[.02,-.45,.43],[.36,.28,.45]];\n  for(let y=0;y<72;y++)for(let x=0;x<72;x++){\n   const px=(x-35.5)/32,py=(y-35.5)/32;let density=0;\n   lobes.forEach(([cx,cy,r],j)=>{\n    const dx=px-cx-.05*Math.sin(seed+j),dy=py-cy-.05*Math.cos(seed+j);\n    const w=clamp(1-(dx*dx+dy*dy)/(r*r));density+=w*w;\n   });\n   const a=1-Math.exp(-1.9*density),lit=clamp(.53-.26*px-.31*py),n=(y*72+x)*4;\n   pix.data[n]=191+61*lit;pix.data[n+1]=183+65*lit;pix.data[n+2]=172+66*lit;pix.data[n+3]=Math.round(255*a);\n  }\n  g.putImageData(pix,0,0);return c;\n }\n function chimney(g,t,billows,fallback){\n  g.save();\n  // Emit through the opening and keep the front rim of the pipe in front of the smoke.\n  g.beginPath();g.moveTo(2530,34);g.lineTo(3010,34);g.lineTo(3010,540);g.lineTo(2686,543);\n  g.bezierCurveTo(2678,559,2641,557,2634,545);g.lineTo(2530,540);g.clip();\n  const interval=1.92,lifetime=5.6,latest=Math.floor(t/interval);\n  for(let k=latest-3;k<=latest;k++){\n   const angle=k*2.39996,birth=k*interval+.24*(1+Math.sin(angle+.5));\n   const age=t-birth;\n   if(age<0||age>=lifetime)continue;\n   const f=age/lifetime,swell=ease(0,.83,f);\n   const x=2661+47*f*f+f*(6*Math.sin(4*f+angle)+3*Math.sin(.55*t));\n   const y=547-(185+9*Math.sin(angle*.76))*f;\n   const width=29+(45+6*Math.cos(angle))*swell,height=29+41*swell;\n   g.save();g.translate(x,y);g.rotate(.12*Math.sin(angle+f*2));\n   g.globalAlpha=.53*ease(0,.085,f)*(1-ease(.51,1,f));\n   const i=((k%3)+3)%3;\n   if(billows.complete&&billows.naturalWidth)g.drawImage(billows,i*128,0,128,128,-width*.5,-height*.55,width,height);\n   else g.drawImage(fallback[i],-width*.5,-height*.55,width,height);\n   g.restore();\n  }\n  g.restore();\n }\n // One continuous, soft-edged plume. The curl travels up while its source stays on the broth.\n function brothSteam(g,t,x,y,height,drift,width,opacity,age,emission){\n  const phase=t*1.65,levels=18,profile=[];\n  for(let i=0;i<=levels;i++){\n   const u=i/levels;\n   const cx=x+drift*u+width*u*(1.2*Math.sin(phase-u*6.8)+.45*Math.sin(phase*.71-u*10));\n   const spread=width*(.24+.76*u)*(.9+.15*Math.sin(phase-u*7.5));\n   profile.push([cx,y-height*u,spread]);\n  }\n  const fade=g.createLinearGradient(0,y,0,y-height);\n  for(const [at,alpha] of [[0,0],[.12,.55],[.29,1],[.57,.9],[.82,.5],[1,0]]){\n   // The second wisp appears at the broth first; its last curl dissolves at the top.\n   const localTime=age===undefined?0:age-at*1.25;\n   const pulse=age===undefined?1:ease(0,.62,localTime)*(1-ease(emission-.75,emission,localTime));\n   fade.addColorStop(at,'rgba(252,248,239,'+(alpha*pulse)+')');\n  }\n  g.save();g.fillStyle=fade;\n  for(const [radius,weight] of [[1.85,.07],[1.4,.12],[1.03,.18],[.67,.19],[.34,.12]]){\n   g.globalAlpha=weight*opacity*(.89+.11*Math.sin(phase*.73));\n   g.beginPath();\n   profile.forEach(([cx,cy,r],i)=>{if(i)g.lineTo(cx-radius*r,cy);else g.moveTo(cx-radius*r,cy);});\n   for(let i=levels;i>=0;i--){const [cx,cy,r]=profile[i];g.lineTo(cx+radius*r,cy);}\n   g.closePath();g.fill();\n  }\n  g.restore();\n }\n function nextBowlWisp(t){\n  const side=Math.random()<.5?-1:1;\n  return {\n   start:t+1.65+Math.random()*3,emission:2.2+Math.random()*1.7,\n   x:2292+side*(23+Math.random()*7),y:1114+Math.random()*5,height:54+Math.random()*17,\n   drift:side*(3+Math.random()*7),width:6+Math.random()*2,phase:Math.random()*tau\n  };\n }\n function soup(g,t){\n  g.save();g.clip(behindCurtain);\n  g.save();g.clip(visibleSoup);\n  for(const [i,[x,y,r,period]] of bubbles.entries()){\n   const f=(t/period+i*.381966)%1,px=x+1.6*Math.sin(i+t*1.8);\n   if(f<.58){\n    const rad=r*ease(0,.52,f);if(rad<.14)continue;\n    const grad=g.createRadialGradient(px-.28*rad,y-.44*rad,0,px,y,rad);\n    grad.addColorStop(0,'rgba(255,246,190,.88)');grad.addColorStop(.60,'rgba(247,213,145,.77)');grad.addColorStop(1,'rgba(157,118,70,.57)');\n    g.fillStyle=grad;g.beginPath();g.ellipse(px,y,rad,rad*.60,0,0,tau);g.fill();\n   }else{\n    const u=(f-.58)/.42;g.strokeStyle='rgba(255,244,198,'+(.72*(1-u))+')';g.lineWidth=1.45*(1-u)+.4;\n    g.beginPath();g.ellipse(px,y,r*(1+u*1.3),r*(.38+u*.42),0,0,tau);g.stroke();\n   }\n  }g.restore();\n  brothSteam(g,t,2126,885,64,-12,16,1.05);\n  g.restore();\n }\n const hearthJets=[[2174,1024,7,24,-6,.7],[2198,1023,7,27,4,3.2],[2184,1027,10.5,38,1,1.8],[2189,1027,5.5,22,5,4.1]];\n // Each tongue is rooted in the log bed. Gaps open between the faster tips\n // while the lower fuel continues to burn in the same spot.\n function hearthTongue(g,x,y,w,h,lean,t,seed,gradient){\n  const levels=18;\n  const left=[],right=[];\n  for(let i=0;i<=levels;i++){\n   const f=i/levels,wave=6.2*f-7*t+seed;\n   const bend=lean*f*f+h*f*(.105*Math.sin(wave)+.047*Math.sin(wave*1.72+seed));\n   const center=x+bend;\n   const swell=(.78+.38*Math.sin(Math.PI*f))*(1+.19*f*Math.sin(8*f-8.1*t+seed));\n   const radius=w*Math.pow(1-f,.81)*swell;\n   left.push([center-radius,y-h*f]);right.push([center+radius,y-h*f]);\n  }\n  g.fillStyle=gradient;g.beginPath();g.moveTo(...left[0]);\n  for(let i=1;i<=levels;i++)g.lineTo(...left[i]);\n  for(let i=levels-1;i>=0;i--)g.lineTo(...right[i]);\n  g.closePath();g.fill();\n }\n function stove(g,t){\n  g.save();g.clip(insideStove);\n  // Attenuate the fire baked into the illustration behind the moving flames.\n  const bed=g.createRadialGradient(2185,1009,3,2185,1009,38);\n  bed.addColorStop(0,'rgba(70,28,10,.97)');bed.addColorStop(.57,'rgba(76,29,9,.92)');bed.addColorStop(1,'rgba(70,28,10,0)');\n  g.fillStyle=bed;g.fillRect(2149,983,83,50);\n  const draft=.5+.28*Math.sin(4.7*t)+.22*Math.sin(8.3*t+1.1);\n  const bounce=g.createRadialGradient(2184,1025,1,2184,1025,38);\n  bounce.addColorStop(0,'rgba(255,170,43,.68)');bounce.addColorStop(.47,'rgba(255,112,17,'+(.27+.10*draft)+')');bounce.addColorStop(1,'rgba(255,85,9,0)');\n  g.fillStyle=bounce;g.fillRect(2148,984,80,48);\n  const flameGradient=(x,y,h,stops)=>{\n   const gradient=g.createLinearGradient(x,y,x,y-h);for(const [at,c] of stops)gradient.addColorStop(at,c);\n   return gradient;\n  };\n  const outside=[[0,'#ffd065'],[.36,'#ff961e'],[.75,'#ff6b12'],[1,'rgba(255,87,14,.72)']];\n  const inside=[[0,'#fff3b8'],[.47,'#ffdb67'],[1,'#ff9c21']];\n  for(const [x,y,w,base,lean,seed] of hearthJets){\n   const height=base*(.87+.19*Math.sin(6.3*t+seed)+.14*Math.sin(9.2*t+2.9*seed))*(.9+.18*draft);\n   hearthTongue(g,x,y,w,height,lean,t,seed,flameGradient(x,y,height,outside));\n   const coreHeight=height*(.53+.13*Math.sin(5.2*t+seed));\n   hearthTongue(g,x-.8,y,w*.53,coreHeight,lean*.43,t,seed,flameGradient(x,y,coreHeight,inside));\n  }\n  for(let i=0;i<2;i++){\n   const f=(t*(.91+.15*i)+i*.47)%1;g.globalAlpha=.9*Math.sin(Math.PI*f);\n   g.fillStyle='#ffc66b';g.beginPath();g.ellipse(2176+i*16+3*Math.sin(5*f+2*i),1013-28*f,.85,1.45,-.25,0,tau);g.fill();\n  }\n  g.restore();\n }\n window.NiNNiNShopEffects=class{\n  constructor(root,art){\n   this.root=root;this.art=art;this.clock=0;this.last=-1;this.bowlWisp=nextBowlWisp(0);\n   this.puffs=[.3,1.8,3.4].map(billow);\n   this.billows=heroImage();this.billows.src='https://framerusercontent.com/assets/jwXeIQRvl4pD9K9WzDzXJ1ZQqcg.png';\n   this.layers=[['chimney-smoke',2530,34,480,526],['kitchen-heat',1990,732,417,436]].map(([id,x,y,w,h])=>{\n    const canvas=document.getElementById(id);\n    Object.assign(canvas.style,{left:x/2+'px',top:y/2+'px',width:w/2+'px',height:h/2+'px'});\n    return {g:canvas.getContext('2d'),canvas,x,y,w,h};\n   });\n  }\n  advance(dt){this.clock+=Math.min(dt,.1);}\n  draw(scale,transform,reduce){\n   this.root.style.transform=transform;\n   this.root.hidden=reduce||!this.art.naturalWidth;\n   if(this.root.hidden)return;\n   const ratio=Math.min(1.5,scale*(devicePixelRatio||1)/2);\n   if(this.ratio===ratio&&this.clock-this.last<1/30)return;\n   this.ratio=ratio;this.last=this.clock;\n   this.layers.forEach(({g,canvas,x,y,w,h},i)=>{\n    const pw=Math.max(1,Math.round(w*ratio)),ph=Math.max(1,Math.round(h*ratio));\n    if(canvas.width!==pw||canvas.height!==ph){canvas.width=pw;canvas.height=ph;}\n    g.setTransform(pw/w,0,0,ph/h,-x*pw/w,-y*ph/h);g.clearRect(x,y,w,h);\n    if(i===0)chimney(g,this.clock,this.billows,this.puffs);\n    else{\n     stove(g,this.clock);soup(g,this.clock);\n     const t=this.clock;\n     brothSteam(g,t*.86+.8,2292,1109,80+5*Math.sin(t*.64),-9,10,.84+.05*Math.sin(t*.91));\n     const w=this.bowlWisp,age=t-w.start;\n     if(age>=w.emission+1.25)this.bowlWisp=nextBowlWisp(t);\n     else if(age>0)brothSteam(g,t*.74+w.phase,w.x,w.y,w.height,w.drift,w.width,.79,age,w.emission);\n    }\n   });\n  }\n };\n})();\n\n</script>\n  <script>\n/* One coordinate system for art, ground, character, and navigation on every screen. */\n(()=>{'use strict';\nconst WORLD={w:1920,h:1080},PITCH=.42,PPU=200,GROUND_Y=Math.sin(PITCH);\nconst gait=window.NiNNiNActor.gait;\nconst CYCLE_DISTANCE=PPU*2*gait.reach/gait.stance;\nconst STEP_DISTANCE=CYCLE_DISTANCE/2,ANKLE_OFFSET=.122*PPU;\n// The right foot starts half a cycle ahead of the left in the baked walk.\nconst FIRST_LIFT=(gait.stance-.5)*CYCLE_DISTANCE;\nconst STEP_SECONDS=.52,SPEED=STEP_DISTANCE/STEP_SECONDS;\nconst VANISH_MIN_DISTANCE=4*PPU*2*gait.sourceReach/gait.stance;\nconst FRONT_YAW=0,IDLE_TURN_SECONDS=.55,CAMERA_FOLLOW_RATE=8;\nconst nav=window.NiNNiNPaths,project=nav.project,route=Object.values(nav.nodes);\nconst spots={\n 'ramen-spot':[730,372,176,197],\n 'mail-spot':[1345.5,541.5,59,166.5]\n};\nconst clamp=(v,a,b)=>Math.max(a,Math.min(b,v));\nconst smoothStep=(a,b,value)=>{const t=clamp((value-a)/(b-a),0,1);return t*t*(3-2*t);};\nconst angleDelta=(a,b)=>Math.atan2(Math.sin(b-a),Math.cos(b-a));\nconst $=id=>document.getElementById(id),stage=$('stage'),status=$('status'),art=$('world-art'),ground=$('map-ground'),hit=$('actor-hit'),label=$('ninnin-label'),destination=$('destination'),pathCursor=$('path-cursor');\nconst params=new URLSearchParams(document.documentElement.dataset.heroQuery),motion=matchMedia('(prefers-reduced-motion: reduce)');\nconst mobileScene=matchMedia('(pointer:coarse) and (max-width:1000px)').matches;\nconst entrance=new window.NiNNiNEntrance($('entrance-smoke'));\nlet shop;\nconst fire=new window.NiNNiNFire($('spell-fire')),vanish=window.NiNNiNVanish;\nconst previewSpell=params.get('ninjutsu')==='fire'?'cast':params.get('demo')==='vanish'?'vanish':null;\nfunction gestureSeconds(){\n // The flip's pose, height and landing all use the same normalized phase.\n if(state.gesture==='flip')return 1.25;\n return state.gesture==='vanish'?vanish.duration:actor.gestures[state.gesture].duration;\n}\nconst text={en:{dockContact:'Contact',dockVisit:'Locations',visitTip:'Find our locations',ramenTip:'Explore the ramen menu',ninninTip:'About NiNNiN',contactTip:'Contact us & FAQs',pauseShort:'Pause',playShort:'Play',pauseTip:'Pause NiNNiN’s walk',playTip:'Resume NiNNiN’s walk',about:'About',characters:'Characters',menu:'MENU',ramen:'Ramen',ninnin:'NiNNiN',visit:'Locations',contact:'Contact',reset:'Back to NiNNiN',pause:'Pause walking',resume:'Resume walking',loading:'Loading NiNNiN…',error:'NiNNiN could not load. Reload to try again.'},ja:{dockContact:'連絡先',dockVisit:'店舗',visitTip:'店舗案内を見る',ramenTip:'ラーメンのお品書きを見る',ninninTip:'NiNNiNについて',contactTip:'お問い合わせ・よくある質問',pauseShort:'一時停止',playShort:'再開',pauseTip:'NiNNiNの散歩を一時停止',playTip:'NiNNiNの散歩を再開',about:'お店について',characters:'キャラクター',menu:'メニュー',ramen:'ラーメン',ninnin:'NiNNiN',visit:'店舗案内',contact:'お問い合わせ',reset:'NiNNiNにもどる',pause:'歩くのをとめる',resume:'歩くのを再開',loading:'NiNNiNを準備中…',error:'NiNNiNを読み込めませんでした。もう一度お試しください。'}};\nlet language=params.get('lang')==='ja'?'ja':'en';\nconst home=nav.point('home');\n// On the direct spell previews the clear lawn keeps the crown flame readable against the map.\nfunction courtyardArrival(){\n const front=nav.point('frontMiddle');\n const cx=(home.x+front.x)/2,cy=(home.y+front.y)/2;\n for(let i=0;i<12;i++){\n  const theta=Math.random()*Math.PI*2,r=Math.sqrt(Math.random());\n  const x=Math.round(cx+96*r*Math.cos(theta)),y=Math.round(cy+36*r*Math.sin(theta));\n  if(nav.project(x,y).valid)return {x,y};\n }\n return home;\n}\nconst arrivalPoint=previewSpell&&!motion.matches?nav.point('lawnCenter'):courtyardArrival();\nconst state={x:arrivalPoint.x,y:arrivalPoint.y,s:0,target:'',phase:0,idlePhase:0,yaw:FRONT_YAW,restBlend:1,idleTurning:false,playing:!motion.matches,ready:false,follow:true,manualTarget:false,panned:false,camX:0,camY:0,cameraMoving:false,scale:1,w:1,h:1,speed:0,age:0};\nconst followUpGestures=['curious','flip'];\nconst pauseBetweenActions=()=>.4+Math.random()*1.45;\nObject.assign(state,{idleSeconds:0,idleDelay:0,gesture:'',gesturePhase:0,gestureIndex:0,landingPending:false});\nObject.assign(state,{entering:false,entranceTime:0,entrancePlayed:false});\nlet round=null,afterEntrance;\n// A visit has one click sequence. Autonomous gestures keep their own schedule.\nconst clickActions=['wave','curious','flip','cast','vanish'];\nlet nextClick=0,pendingClick=null,clickRound=null;\nfunction clickBusy(){return Boolean(pendingClick||(clickRound&&round===clickRound&&state.gesture&&!state.playing));}\nfunction syncClickControl(){\n const finished=nextClick>=clickActions.length;\n const label=language==='ja'\n  ?(finished?'すべてのアクションを見ました':'NiNNiNの次のアクション')\n  :(finished?'All NiNNiN actions played':'Play NiNNiN’s next action');\n hit.setAttribute('aria-label',label);\n hit.setAttribute('aria-disabled',String(finished||clickBusy()||motion.matches));\n}\nfunction startPendingClick(){\n const request=pendingClick;\n if(!request?.ready||state.entering||dialog.open||document.hidden||motion.matches)return;\n // Let a jump land and a disappearing character reappear at its new location.\n if(!state.playing&&(deferWalk()||state.gesture==='vanish'))return;\n pendingClick=null;\n clickRound=[request.name];nextClick++;\n if(mobileScene&&nextClick===clickActions.length)nextClick=0;\n setPlaying(false,clickRound);\n}\nasync function requestClick(){\n if(!state.ready||motion.matches||dialog.open||nextClick>=clickActions.length||clickBusy())return;\n if(actor instanceof window.NiNNiNSpriteActor)startMesh(actor);\n const request={name:clickActions[nextClick],ready:false};\n pendingClick=request;syncClickControl();\n try{\n  const clips=request.name==='vanish'?['cast','seal']:[request.name];\n  const assets=actor.ensureGesture?[actor.ensureGesture(request.name)]:clips.map(name=>actor.load(name));\n  if(request.name==='cast')assets.push(fire.init());\n  if(request.name==='vanish')assets.push(entrance.prepareVanish());\n  await Promise.all(assets);\n  if(pendingClick!==request)return;\n  request.ready=true;startPendingClick();invalidate();\n }catch(error){\n  if(pendingClick===request){pendingClick=null;syncClickControl();}\n  console.warn('NiNNiN action could not load.',error);\n }\n}\nfunction chooseSpell(){\n if(Math.random()>=.45)return null;\n const spell=Math.random()<.5?'cast':'vanish';\n if(spell==='vanish'&&state.s<VANISH_MIN_DISTANCE)return null;\n if(spell==='vanish')entrance.prepareVanish();\n return spell;\n}\nfunction shuffledIdleRound(){\n const actions=[...followUpGestures];\n const spell=chooseSpell();\n if(spell)actions.push(spell);\n for(let end=actions.length-1;end>0;end--){\n  const pick=Math.floor(Math.random()*(end+1));\n  [actions[end],actions[pick]]=[actions[pick],actions[end]];\n }\n return ['wave',...actions];\n}\nfunction chantArt(file){return heroAsset(file+'.svg','assets/chant/');}\nlet waitForGesture=null;\nfunction beginGesture(name){\n waitForGesture=null;\n if(actor?.ensureGesture&&!actor.hasGesture(name)){\n  const job=actor.ensureGesture(name);\n  waitForGesture=job;\n  job.catch(()=>{\n   if(waitForGesture===job&&state.gesture===name){clearGesture();state.gestureIndex++;syncClickControl();}\n  }).finally(()=>{if(waitForGesture===job){waitForGesture=null;invalidate();}});\n }\n if(actor instanceof window.NiNNiNSpriteActor){\n  const key=name==='vanish'?'cast':name;\n  if(actor.gestures[key])actor.load(key).then(invalidate).catch(()=>{});\n }\n state.gesture=name;state.gesturePhase=0;\n if(name==='vanish')entrance.prepareVanish();\n if(spellChants[name]){const image=heroImage();image.src=chantArt(spellChants[name].file);}\n if(name==='cast')fire.init();\n}\nfunction rearmGreeting(){round=null;state.idleSeconds=0;state.idleDelay=0;state.gestureIndex=0;}\nfunction flipHeight(){if(state.gesture!=='flip')return 0;const t=clamp((state.gesturePhase-.20)/.60,0,1);return 4*.72*t*(1-t);}\nfunction deferWalk(){\n if(motion.matches)return false;\n if(state.gesture==='flip')return state.gesturePhase>=.20&&state.gesturePhase<.80;\n const t=state.gesturePhase*vanish.duration;\n return state.gesture==='vanish'&&vanish.holdsPosition(t);\n}\nfunction clearGesture(){waitForGesture=null;state.gesture='';state.gesturePhase=0;state.landingPending=false;}\nlet idleFromYaw=FRONT_YAW,idleFromRest=1,idleElapsed=0,idleTurnLoad;\n// Both opening paths lead into the visible foreground from the shop.\nfunction openingPatrolIndex(){return nav.patrol.indexOf(Math.random()<.5?'lawnEast':'frontMiddle');}\nlet plannedRoute=[],pathIndex=1,patrolIndex=openingPatrolIndex();\nlet openingTurn=null;\nfunction prepareOpeningTurn(){\n const next=plannedRoute[pathIndex];\n if(!next||motion.matches||previewSpell||!state.playing){openingTurn=null;return;}\n const heading=Math.atan2(next.x-state.x,(next.y-state.y)/GROUND_Y);\n const delta=angleDelta(state.yaw,heading);\n const turn={from:state.yaw,delta,elapsed:0,duration:Math.max(.20,Math.abs(delta)/3.15),ready:true};\n openingTurn=turn;\n if(actor?.prepareTurn){\n  turn.ready=false;\n  return actor.prepareTurn(turn.from,heading).finally(()=>{turn.ready=true;invalidate();});\n }\n}\nfunction pivotAfterSeal(dt){\n const turn=openingTurn;\n if(!turn)return false;\n if(!turn.ready)return true;\n turn.elapsed+=dt;\n const t=clamp(turn.elapsed/turn.duration,0,1);\n state.yaw=turn.from+turn.delta*t*t*(3-2*t);\n if(t===1)openingTurn=null;\n return true;\n}\nfunction queueRoute(p,manual){const plan=nav.plan(state,p);if(!plan.length)return false;plannedRoute=plan;pathIndex=1;state.target=p.key;state.manualTarget=manual;return true;}\nfunction queuePatrol(){const p=nav.point(nav.patrol[patrolIndex]);queueRoute(project(p.x,p.y),false);}\nqueuePatrol();\nconst footprintLayer=$('footprints'),footprints=[];\n\nfunction stampLift(x,y,yaw,liftIndex,walkWeight){\n const side=(liftIndex%2===0?-1:1)*ANKLE_OFFSET;\n const forward=-gait.reach*PPU*walkWeight;\n const mark=document.createElement('i');mark.className='paw';\n mark.style.left=(x+Math.cos(yaw)*side+Math.sin(yaw)*forward)+'px';\n mark.style.top=(y+(-Math.sin(yaw)*side+Math.cos(yaw)*forward)*GROUND_Y)+'px';\n mark.style.transform='translate(-50%,-50%) scaleY(.74) rotate('+(Math.PI-yaw)+'rad)';\n mark.style.opacity='.38';\n footprintLayer.append(mark);\n footprints.push({mark,age:0});\n}\nfunction ageFootprints(elapsed){\n for(let i=footprints.length-1;i>=0;i--){\n  const print=footprints[i];print.age+=elapsed;\n  if(print.age>=2.06){print.mark.remove();footprints.splice(i,1);continue;}\n  if(print.age>.64)print.mark.style.opacity=String(.38*(1-smoothStep(.64,2.06,print.age)));\n }\n}\nlet artReady=false,actor,last=null,raf=0,dirty=true,pointer=null,dest=null,destTimer=0;\nfunction cameraAxis(position, foot, view, world, before, after, dragging, blend) {\n const mapMin=Math.min(0,view-world);\n // The hard limits keep the whole silhouette in the frame. The soft band\n // starts tracking earlier and gives the character some room to wander.\n const low=clamp(before-foot,mapMin,0),high=clamp(view-after-foot,mapMin,0);\n if(low>high){const center=clamp((low+high)*.5,mapMin,0);return {value:center,target:center}}\n const slack=Math.max(0,(high-low)*.5);\n const lead=Math.min(slack,view*.12);\n const safe=clamp(position,low,high);\n const target=dragging?safe:clamp(safe,low+lead,high-lead);\n return {value:Math.abs(target-safe)<.05?target:safe+(target-safe)*blend,target};\n}\n// Hold the composition visible at menu entry, then track the walking actor.\nconst phoneView = matchMedia('(max-width:809px), (pointer:coarse) and (max-height:540px)');\nlet explorePhase = '', exploreTimeout = 0;\nlet glideTargetX = 0;\nconst glideFriction = 4.8; // Per second, shared by projection and frame interpolation.\nfunction stopExploring(){\n clearTimeout(exploreTimeout);\n explorePhase='';\n}\nfunction waitToFollow(){\n clearTimeout(exploreTimeout);\n exploreTimeout=setTimeout(()=>{\n  if(explorePhase!=='hold'&&explorePhase!=='glide')return;\n  explorePhase='return';state.cameraMoving=true;invalidate();\n },5000);\n}\nfunction phoneCameraX(dt){\n const left=Math.min(0,state.w-WORLD.w*state.scale);\n const current=clamp(state.camX,left,0);\n if(explorePhase==='glide'){\n  const value=clamp(current+(glideTargetX-current)*(-Math.expm1(-glideFriction*dt)),left,0);\n  const target=clamp(glideTargetX,left,0);\n  if(Math.abs(target-value)<.35||motion.matches){\n   explorePhase='hold';\n   const settled=motion.matches?current:target;\n   return {value:settled,target:settled};\n  }\n  return {value,target};\n }\n if(explorePhase==='hold')return {value:current,target:current};\n const target=clamp(state.w*.5-state.x*state.scale,left,0);\n const delta=target-current;\n if(Math.abs(delta)<2){\n  stopExploring();\n  return {value:target,target};\n }\n return {value:current+delta*(1-Math.exp(-5*dt)),target};\n}\nlet menuCameraAnchor = null;\ndocument.addEventListener('nn-ramen-tracking',event=>{\n menuCameraAnchor=event.detail ? screen(state.x,state.y) : null;\n if(menuCameraAnchor&&explorePhase)menuCameraAnchor.x=state.w*.5;\n invalidate();\n});\nfunction frameActor(dt,dragging=false){\n const scale=state.scale,ppu=PPU*scale;\n const top=(1.02+flipHeight()*Math.cos(PITCH))*ppu;\n const blend=1-Math.exp(-CAMERA_FOLLOW_RATE*dt);\n if(explorePhase&&!phoneView.matches)stopExploring();\n const freeX=Boolean(explorePhase);\n const x=freeX ? phoneCameraX(dt) : cameraAxis(state.camX,state.x*scale,state.w,WORLD.w*scale,.54*ppu+8,.54*ppu+8,dragging,blend);\n const y=cameraAxis(state.camY,state.y*scale,state.h,WORLD.h*scale,top+10,.12*ppu+12,dragging,blend);\n if(menuCameraAnchor&&!dragging){\n  const follow=(axis,current,foot,anchor,extent)=>{\n   axis.target=clamp(anchor-foot,Math.min(0,extent),0);\n   axis.value=current+(axis.target-current)*blend;\n  };\n  if(!freeX)follow(x,state.camX,state.x*scale,menuCameraAnchor.x,state.w-WORLD.w*scale);\n  follow(y,state.camY,state.y*scale,menuCameraAnchor.y,state.h-WORLD.h*scale);\n }\n state.camX=x.value;state.camY=y.value;\n state.cameraMoving=Math.abs(x.target-x.value)+Math.abs(y.target-y.value)>.05;\n}\nfunction cameraClamp(){frameActor(0,true)}\nfunction setCameraHome(){state.camX=state.w<700?state.w*.5-(state.x+50)*state.scale:(state.w-WORLD.w*state.scale)/2;state.camY=(state.h-WORLD.h*state.scale)/2;cameraClamp();}\nfunction inLandingView(point){\n const p=screen(point.x,point.y),scale=state.scale;\n return p.x>58*scale&&p.x<state.w-58*scale&&p.y>180*scale+40&&p.y<state.h-85;\n}\nfunction relocateBehindSmoke(){\n const destination=state.manualTarget?plannedRoute.at(-1):null;\n const landing=nav.randomLanding(state,inLandingView);\n state.x=landing.x;state.y=landing.y;state.speed=0;\n if(!explorePhase&&!inLandingView(landing)){\n  state.camX=state.w*.5-state.x*state.scale;\n  state.camY=state.h*.55-state.y*state.scale;\n  cameraClamp();\n }\n if(destination){queueRoute(project(destination.x,destination.y),true);return;}\n if(nav.metric(state,nav.point(nav.patrol[patrolIndex]))<80)patrolIndex=(patrolIndex+1)%nav.patrol.length;\n queuePatrol();\n}\nfunction resize(){const w=stage.clientWidth,h=stage.clientHeight;if(!w||!h)return;if(w===state.w&&h===state.h){invalidate();return;}const old=state.scale,cx=(state.w/2-state.camX)/old,cy=(state.h/2-state.camY)/old;state.w=w;state.h=h;state.scale=Math.max(w/WORLD.w,h/WORLD.h);if(state.panned){state.camX=w/2-cx*state.scale;state.camY=h/2-cy*state.scale;cameraClamp();}else setCameraHome();syncControls();invalidate();}\nfunction advanceCamera(dt){frameActor(dt,Boolean(pointer?.drag))}\nfunction syncControls(){const t=text[language],label=state.playing?t.pause:t.resume;$('pause').dataset.playing=String(state.playing);$('pause').setAttribute('aria-label',label);$('dock-walk-label').textContent=state.playing?t.pauseShort:t.playShort;$('dock-tip-walk').textContent=state.playing?t.pauseTip:t.playTip;$('pause-menu').textContent=label;syncClickControl();document.documentElement.lang=language;document.querySelector('.map-button').setAttribute('aria-label',t.visit);document.querySelectorAll('[data-i18n]').forEach(el=>el.textContent=t[el.dataset.i18n]);$('language').textContent=language==='en'?'EN / JP':'JP / EN';$('language').setAttribute('aria-label',language==='en'?'日本語に切り替え':'Switch to English');}\nfunction setPlaying(value,actions){\n if(value&&deferWalk()){state.landingPending=true;syncControls();invalidate();return;}\n if(!value)openingTurn=null;\n const wasPlaying=state.playing;state.playing=Boolean(value);state.speed=0;last=null;if(wasPlaying!==state.playing)rearmGreeting();if(wasPlaying&&!state.playing){state.idlePhase=0;clearGesture();}\n idleTurnLoad=null;\n if(state.playing)state.idleTurning=false;\n else if(motion.matches){state.yaw=FRONT_YAW;state.restBlend=1;state.idleTurning=false;clearGesture();rearmGreeting();}\n else{idleFromYaw=state.yaw;idleFromRest=state.restBlend;idleElapsed=0;state.idleTurning=Math.abs(angleDelta(state.yaw,FRONT_YAW))>.0001||state.restBlend<1;}\n if(state.idleTurning&&actor?.prepareTurn){\n  const load=actor.prepareTurn(state.yaw,FRONT_YAW,false);\n  idleTurnLoad=load;\n  load.finally(()=>{if(idleTurnLoad===load){idleTurnLoad=null;invalidate();}});\n }\n if(!state.playing&&!motion.matches&&(wasPlaying||actions)){\n  round=actions||shuffledIdleRound();\n  state.gestureIndex=0;state.idleSeconds=0;state.idleDelay=0;\n  beginGesture(round[0]);\n }\n syncControls();invalidate();}\nfunction pawAngle(p){return Math.atan2(p.y-state.y,p.x-state.x)*180/Math.PI+90;}\nfunction hidePathCursor(){pathCursor.hidden=true;pathCursor.style.opacity='1';stage.classList.remove('walkable');}\nfunction updatePathCursor(e){\n if(e.pointerType!=='mouse'||pointer?.drag||e.target.closest('a,button')){hidePathCursor();return;}\n const p=project((e.clientX-state.camX)/state.scale,(e.clientY-state.camY)/state.scale);\n if(!p.valid){hidePathCursor();return;}\n pathCursor.hidden=false;stage.classList.add('walkable');pathCursor.style.left=e.clientX+'px';pathCursor.style.top=e.clientY+'px';pathCursor.style.setProperty('--paw-angle',pawAngle(p)+'deg');\n const stamped=dest&&screen(dest.x,dest.y);pathCursor.style.opacity=stamped&&Math.hypot(e.clientX-stamped.x,e.clientY-stamped.y)<48?'0':'1';\n}\nfunction targetAt(x,y){const p=project(x,y);if(!p.valid||!queueRoute(p,true))return false;pendingClick=null;dest={x:p.x,y:p.y,angle:pawAngle(p)};state.landingPending=deferWalk();state.playing=!state.landingPending;if(state.entering||openingTurn)prepareOpeningTurn();state.idleTurning=false;state.age=2;if(!state.landingPending)rearmGreeting();clearTimeout(destTimer);destination.classList.remove('stamping');void destination.offsetWidth;destination.classList.add('stamping');destination.style.opacity='1';pathCursor.style.opacity='0';destTimer=setTimeout(()=>{destination.style.opacity='0';destination.classList.remove('stamping');dest=null;pathCursor.style.opacity='1';invalidate();},1000);syncControls();invalidate();return true;}\nfunction closeMenu(){const open=!$('menu-card').hidden;$('menu-card').hidden=true;$('menu-button').setAttribute('aria-expanded','false');return open;}\nfunction reset(){stopExploring();pendingClick=null;openingTurn=null;footprintLayer.replaceChildren();footprints.length=0;clearGesture();rearmGreeting();clearTimeout(destTimer);dest=null;destination.style.opacity='0';destination.classList.remove('stamping');hidePathCursor();state.x=home.x;state.y=home.y;state.s=0;patrolIndex=openingPatrolIndex();queuePatrol();state.phase=0;state.idlePhase=0;state.yaw=FRONT_YAW;state.restBlend=1;state.idleTurning=false;state.follow=true;state.panned=false;state.age=0;state.speed=0;setCameraHome();setPlaying(!motion.matches);closeMenu();}\nfunction advance(dt,elapsed=dt){\n if(!motion.matches&&!document.hidden)shop?.advance(elapsed);\n if(!state.ready)return;\n if(state.entering){\n  const duration=motion.matches?.20:actor.gestures.seal.duration;\n  state.entranceTime=Math.min(duration,state.entranceTime+elapsed);\n  if(state.entranceTime>=duration){state.entering=false;state.entrancePlayed=true;state.age=2;state.idlePhase=0;entrance.finishArrival();entrance.clear();document.body.dataset.entrance='complete';if(afterEntrance)afterEntrance();\n   if(previewSpell&&!motion.matches&&!state.manualTarget){setPlaying(false,[previewSpell]);}\n  }\n  advanceCamera(dt);return;\n }\n if(pendingClick)startPendingClick();\n if(!motion.matches&&(!state.gesture||waitForGesture)&&(!state.playing||state.age<1.8)&&state.restBlend===1)state.idlePhase=(state.idlePhase+elapsed/actor.IdleDuration)%1;\n // The greeting advances while the feet settle and NiNNiN turns toward the viewer.\n if(!state.playing&&!motion.matches&&!waitForGesture&&!(mobileScene&&state.idleTurning)){\n  if(state.gesture){\n   const previousPhase=state.gesturePhase;\n   state.gesturePhase=Math.min(1,state.gesturePhase+elapsed/gestureSeconds());\n   if(state.gesture==='vanish'&&previousPhase<vanish.relocateAt/vanish.duration&&state.gesturePhase>=vanish.relocateAt/vanish.duration)relocateBehindSmoke();\n   if(state.landingPending&&!deferWalk()){state.landingPending=false;setPlaying(true);}\n   else if(state.gesturePhase>=1){\n    state.yaw=FRONT_YAW;state.idleSeconds=0;\n    const finishedVanish=state.gesture==='vanish';\n    state.gestureIndex++;clearGesture();\n    if(round===clickRound)syncClickControl();\n    // After relocating, the next beat is the walk from the new position.\n    if(finishedVanish)state.gestureIndex=round.length;\n    state.idleDelay=pauseBetweenActions();\n   }\n  }else{\n   state.idleSeconds+=elapsed;\n   if(state.idleSeconds>=state.idleDelay){\n    if(!round)round=shuffledIdleRound();\n    if(state.gestureIndex<round.length)beginGesture(round[state.gestureIndex]);\n    else{state.age=2;setPlaying(true);}\n   }\n  }\n }\n ageFootprints(elapsed);advanceActor(dt);advanceCamera(dt);\n}\nfunction advanceActor(dt){\n if(!state.playing){\n  if(state.idleTurning){if(idleTurnLoad)return;idleElapsed+=dt;const t=clamp(idleElapsed/IDLE_TURN_SECONDS,0,1),ease=t*t*(3-2*t);state.yaw=idleFromYaw+angleDelta(idleFromYaw,FRONT_YAW)*ease;state.restBlend=idleFromRest+(1-idleFromRest)*ease;if(t===1){state.yaw=FRONT_YAW;state.restBlend=1;state.idleTurning=false;}}\n  return;\n }\n if(mobileScene&&pendingClick){state.speed=0;return;}\n if(pivotAfterSeal(dt))return;\n const previousRest=state.restBlend;\n state.age+=dt;if(state.age<1.8)return;state.restBlend=Math.max(0,state.restBlend-dt*5);if(state.restBlend===0)clearGesture();\n while(pathIndex<plannedRoute.length&&nav.metric(state,plannedRoute[pathIndex])<.08){state.x=plannedRoute[pathIndex].x;state.y=plannedRoute[pathIndex].y;pathIndex++;}\n if(pathIndex>=plannedRoute.length){\n  state.speed=0;\n  const manualArrival=state.manualTarget;\n  patrolIndex=(patrolIndex+1)%nav.patrol.length;\n  queuePatrol();\n  if(manualArrival){setPlaying(false);return;}\n  if(pathIndex>=plannedRoute.length)return;\n  const spell=motion.matches?null:chooseSpell();\n  if(spell){setPlaying(false,['wave',spell]);return;}\n }\n const previousYaw=state.yaw;\n const next=plannedRoute[pathIndex],remaining=nav.metric(state,next),desired=Math.atan2(next.x-state.x,(next.y-state.y)/GROUND_Y),da=angleDelta(state.yaw,desired);\n state.yaw+=clamp(da,-4*dt,4*dt);\n if(!motion.matches)actor?.prepareStride?.(desired,state.yaw);\n const slowdown=pathIndex===plannedRoute.length-1?Math.sqrt(Math.min(1,remaining/15)):1;\n const goal=SPEED*Math.max(0,Math.cos(da))*slowdown;state.speed+=(goal-state.speed)*(1-Math.exp(-dt*14));\n const distance=Math.min(remaining,Math.max(.08,state.speed)*dt),oldDistance=state.s;\n const dx=Math.sin(desired),dy=Math.cos(desired)*GROUND_Y;\n // Stamp at the end of stance. The actor layer uncovers the print as the foot swings away.\n const lastLift=Math.floor((oldDistance+distance-FIRST_LIFT)/STEP_DISTANCE);\n for(let lift=Math.floor((oldDistance-FIRST_LIFT)/STEP_DISTANCE)+1;lift<=lastLift;lift++){\n  const travel=FIRST_LIFT+lift*STEP_DISTANCE-oldDistance,fraction=travel/distance;\n  const yaw=previousYaw+(state.yaw-previousYaw)*fraction;\n  const walkWeight=1-(previousRest+(state.restBlend-previousRest)*fraction);\n  stampLift(state.x+dx*travel,state.y+dy*travel,yaw,lift,walkWeight);\n }\n state.x+=dx*distance;state.y+=dy*distance;state.s+=distance;state.phase=(state.phase+distance/CYCLE_DISTANCE)%1;\n}\nfunction screen(x,y){return {x:state.camX+x*state.scale,y:state.camY+y*state.scale};}\nfunction placeRect(id,x,y,w,h){const p=screen(x,y);Object.assign($(id).style,{left:p.x+'px',top:p.y+'px',width:w*state.scale+'px',height:h*state.scale+'px'});}\nlet mousePoint=null,hoverItem=null,leaveTimer;\nconst characterControls=$('character-controls');\nfunction placeScreenHit(x,y,width,height){\n Object.assign(hit.style,{left:x+'px',top:y+'px',width:width+'px',height:height+'px'});\n}\nfunction showHover(item){\n clearTimeout(leaveTimer);\n if(hoverItem===item)return;\n hoverItem?.classList.remove('is-hovered');\n hoverItem=item;\n hoverItem?.classList.add('is-hovered');\n if(item)hidePathCursor();\n}\nfunction scheduleHoverExit(){\n clearTimeout(leaveTimer);\n leaveTimer=setTimeout(()=>showHover(null),140);\n}\nfunction clearMapPointer(){\n mousePoint=null;\n hit.classList.remove('on-model');\n stage.classList.remove('mouse-picks');\n showHover(null);\n}\nstage.addEventListener('pointerover',e=>{\n if(e.pointerType!=='mouse'){clearMapPointer();return;}\n const item=e.target.closest('.map-item');\n if(item&&!pointer)showHover(item);\n});\nstage.addEventListener('pointerout',e=>{\n const item=e.target.closest('.map-item');\n if(!item||item===e.relatedTarget?.closest?.('.map-item'))return;\n // Give the pointer time to cross the small space between the object and its tag.\n scheduleHoverExit();\n});\nstage.addEventListener('pointermove',e=>{\n if(e.pointerType!=='mouse')return;\n const foot=screen(state.x,state.y);\n const nearActor=point=>point&&Math.abs(point.x-foot.x)<160*state.scale&&Math.abs(point.y-foot.y)<425*state.scale;\n const wasNear=nearActor(mousePoint);\n mousePoint={x:e.clientX,y:e.clientY};\n stage.classList.add('mouse-picks');\n if(wasNear||nearActor(mousePoint))invalidate();\n});\nstage.addEventListener('pointerleave',clearMapPointer);\nstage.addEventListener('pointercancel',clearMapPointer);\nwindow.addEventListener('blur',clearMapPointer);\nconst chantLabel=$('spell-chant'),chantEm=17;\nconst spellChants={\n cast:{file:'fire-chant',text:'…えいっ　熱っ　あつっ！',beats:[.35,1.10,1.94],end:2.78},\n vanish:{file:'vanish-chant',text:'にん、にん…　ドロン',beats:[.32,1.58],end:2.32}\n};\nfunction drawChant(name,t,foot,unit){\n const block=spellChants[name];\n if(!block||t<block.beats[0]||t>=block.end){chantLabel.hidden=true;return;}\n const columns=block.beats.length,width=chantEm*columns;\n const image=chantLabel.firstElementChild;\n if(chantLabel.dataset.art!==block.file){\n  chantLabel.dataset.art=block.file;\n  chantLabel.style.width=width+'px';\n  image.src=chantArt(block.file);image.alt=block.text;\n }\n // Reveal whole columns in reading order without shifting the artwork.\n const stops=block.beats.map((beat,i)=>{\n  const alpha=smoothStep(beat,beat+.08,t);\n  return 'rgba(0,0,0,'+alpha+') '+(i*100/columns)+'% '+((i+1)*100/columns)+'%';\n });\n chantLabel.style.maskImage='linear-gradient(to left,'+stops.join(',')+')';\n const x=clamp(foot.x+64*unit,8,state.w-8-width);\n const height=image.naturalWidth?width*image.naturalHeight/image.naturalWidth:chantEm*4.5;\n const y=clamp(foot.y-190*unit,12,state.h-12-height);\n chantLabel.style.opacity=String(1-smoothStep(block.end-.12,block.end,t));\n chantLabel.style.transform='translate('+x+'px,'+y+'px)';\n chantLabel.hidden=false;\n}\nlet lastCamX,lastCamY,lastMapScale;\nfunction paint(){const v=screen(state.x,state.y),scale=state.scale,unit=scale*PPU/174,height=flipHeight(),lift=height*Math.cos(PITCH)*PPU*scale;\n const castActive=state.gesture==='cast'&&!state.playing;\n const castTime=castActive?state.gesturePhase*actor.gestures.cast.duration:0;\n const vanishing=state.gesture==='vanish'&&!state.playing&&!motion.matches;\n const smokeActive=!motion.matches&&(state.entering||vanishing);\n const vanishTime=state.gesturePhase*vanish.duration;\n drawChant(!motion.matches&&!state.entering&&(castActive||vanishing)?state.gesture:'',vanishing?vanishTime:castTime,v,unit);\n let reveal=state.ready?1:0;\n if(state.entering)reveal=motion.matches?smoothStep(0,.20,state.entranceTime):vanish.departureCover(state.entranceTime);\n else if(vanishing)reveal=vanish.visibility(vanishTime);\n const controlsReady=reveal>=.95&&(!state.entering||motion.matches||state.entranceTime>=.85);\n if(state.camX!==lastCamX||state.camY!==lastCamY||scale!==lastMapScale){\n  lastCamX=state.camX;lastCamY=state.camY;lastMapScale=scale;\n  ground.style.transform=`translate(${state.camX}px,${state.camY}px) scale(${scale})`;\n  footprintLayer.style.transform=ground.style.transform;\n  for(const [id,rect]of Object.entries(spots))placeRect(id,...rect);\n }\n if(!controlsReady&&hoverItem===characterControls)showHover(null);\n shop?.draw(scale,ground.style.transform,motion.matches);\n // Allow any animated pose inside this broad mouse area; only rendered pixels receive the hit.\n const halfWidth=mousePoint?115:65,above=mousePoint?216:165,below=mousePoint?65:7;\n const hitLeft=v.x-halfWidth*unit,hitTop=v.y-above*unit-lift,hitWidth=2*halfWidth*unit,hitHeight=(above+below)*unit;\n placeScreenHit(hitLeft,hitTop,hitWidth,hitHeight);\n label.style.left=(v.x+48*unit)+'px';label.style.top=(v.y+5*unit)+'px';label.hidden=!controlsReady;hit.hidden=!controlsReady;$('actor').style.opacity=String(reveal);\n if(dest){const q=screen(dest.x,dest.y);destination.style.left=q.x+'px';destination.style.top=q.y+'px';destination.style.setProperty('--paw-angle',dest.angle+'deg');}\n if(state.ready){\n  const pose=state.entering&&!motion.matches&&state.entranceTime<=1.51?{gesture:'seal',gesturePhase:.60+.40*clamp((state.entranceTime-.39)/1.12,0,1)}\n   :vanishing?vanish.pose(vanishTime,actor.gestures):{gesture:state.gesture,gesturePhase:state.gesturePhase};\n  actor.draw({onMap:true,x:v.x,y:v.y,ppu:PPU*scale,yaw:state.yaw,pitch:PITCH,phase:state.phase,idlePhase:state.idlePhase,restBlend:state.entering?1:state.restBlend,...pose,...(mobileScene&&state.idleTurning?{gesture:'',turnFromYaw:idleFromYaw}:{}),fireLight:castActive?fire.light(castTime,state.yaw,PITCH):null,lift:height/.72,w:state.w,h:state.h});\n }\n if(mousePoint){\n  const {x,y}=mousePoint;\n  const within=controlsReady&&!pointer&&x>=hitLeft&&x<hitLeft+hitWidth&&y>=hitTop&&y<hitTop+hitHeight;\n  const onModel=within&&actor.coversPixel(x,y,state.w,state.h);\n  if(onModel!==hit.classList.contains('on-model')){\n   hit.classList.toggle('on-model',onModel);\n   // A pose can move beneath a stationary cursor without a new pointerover event.\n   const underPointer=document.elementFromPoint(x,y)?.closest('.map-item');\n   if(underPointer)showHover(underPointer);\n   else if(hoverItem===characterControls)scheduleHoverExit();\n  }\n }\n if(castActive)fire.draw(castTime,v.x,v.y,unit,state.yaw,PITCH);else fire.clear();\n if(smokeActive){\n  const puff=state.entering?{time:state.entranceTime,returning:false}:vanish.smoke(vanishTime);\n  const placement={...puff,x:v.x,y:v.y,unit};\n  if(!state.entering||!entrance.playArrival(placement))entrance.drawVanish(placement);\n }\n else entrance.clear();\n}\nfunction idleAnimating(){return state.ready&&!state.playing&&!motion.matches;}\nfunction actorAnimating(){return state.ready&&(state.entering||state.playing||state.idleTurning||state.cameraMoving||idleAnimating()||footprints.length>0);}\nfunction frame(now){\n raf=0;if(document.hidden){last=null;return;}\n const elapsed=last===null?0:(now-last)/1000,animate=actorAnimating();\n const ambience=state.ready&&artReady&&!motion.matches;\n last=now;advance(Math.min(.05,elapsed),elapsed);\n if(visit && state.ready && now>=nextCheckpoint){nextCheckpoint=now+500;remember();}\n if(dirty||animate){paint();dirty=false;}\n else if(ambience)shop?.draw(state.scale,ground.style.transform,false);\n if((actorAnimating()||ambience)&&!raf)raf=requestAnimationFrame(frame);\n}\nfunction invalidate(){dirty=true;if(!raf&&!document.hidden)raf=requestAnimationFrame(frame);}\nconst dockNav=document.querySelector('.dock');\nbindCourtyardDock(dockNav);\nconst dismissDockTip=event=>{if(event.key==='Escape')dockNav.setAttribute('data-dismiss-tip','')};\ndocument.addEventListener('keydown',dismissDockTip);\nif(window.parent!==window){\n try{\n  const hostDocument=window.parent.document;\n  hostDocument.addEventListener('keydown',dismissDockTip);\n  window.addEventListener('pagehide',()=>hostDocument.removeEventListener('keydown',dismissDockTip),{once:true});\n }catch{}\n}\nfor(const id of ['pause','pause-menu'])$(id).addEventListener('click',()=>{pendingClick=null;setPlaying(!state.playing);});\nlet touchStart=null,touchDragged=false;\nhit.addEventListener('pointerdown',e=>{\n touchDragged=false;\n touchStart=e.pointerType==='touch'?{x:e.clientX,y:e.clientY}:null;\n});\nhit.addEventListener('pointermove',e=>{\n if(touchStart&&Math.hypot(e.clientX-touchStart.x,e.clientY-touchStart.y)>8)touchDragged=true;\n});\nhit.addEventListener('pointerup',()=>{touchStart=null;});\nhit.addEventListener('pointercancel',()=>{touchStart=null;touchDragged=true;});\nhit.addEventListener('click',e=>{if(!e.detail||!touchDragged)requestClick();});\nfor(const id of ['home','reset-menu'])$(id).addEventListener('click',reset);\n$('language').addEventListener('click',()=>{language=language==='en'?'ja':'en';syncControls();});\n$('menu-button').addEventListener('click',()=>{const menu=$('menu-card');menu.hidden=!menu.hidden;$('menu-button').setAttribute('aria-expanded',String(!menu.hidden));});\ndocument.addEventListener('pointerdown',e=>{if(!e.target.closest('#menu-card,#menu-button'))closeMenu();});\ndocument.addEventListener('keydown',e=>{if(e.key==='Escape'&&closeMenu())$('menu-button').focus();});\nstage.addEventListener('keydown',e=>{if(e.target!==stage)return;if(e.key===' '){e.preventDefault();pendingClick=null;setPlaying(!state.playing);}else if(['ArrowLeft','ArrowRight','ArrowUp','ArrowDown'].includes(e.key)){e.preventDefault();const direction={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[e.key],candidates=Object.values(nav.nodes).map(([x,y])=>({x,y,d:Math.hypot(x-state.x,y-state.y),dot:(x-state.x)*direction[0]+(y-state.y)*direction[1]})).filter(p=>p.d>10&&p.dot/p.d>.35).sort((a,b)=>a.d-b.d);if(candidates.length)targetAt(candidates[0].x,candidates[0].y);}});\nstage.addEventListener('pointerdown',e=>{\n if(!e.isPrimary||pointer)return;\n const phone=e.pointerType==='touch'&&phoneView.matches;\n const control=Boolean(e.target.closest('a,button'));\n if(!phone&&control)return;\n const braking=phone&&explorePhase==='glide';\n if(phone&&explorePhase){clearTimeout(exploreTimeout);explorePhase='hold';}\n pointer={id:e.pointerId,phone,control,braking,vx:0,sampleTime:e.timeStamp,startX:e.clientX,startY:e.clientY,x:e.clientX,y:e.clientY,drag:false,vertical:false};\n if(!phone)stage.setPointerCapture(e.pointerId);\n});\nstage.addEventListener('pointermove',e=>{\n updatePathCursor(e);\n const p=pointer;\n if(!p||p.id!==e.pointerId||p.vertical)return;\n const totalX=e.clientX-p.startX,totalY=e.clientY-p.startY;\n if(!p.drag){\n  if(Math.hypot(totalX,totalY)<=8)return;\n  if(p.phone&&Math.abs(totalY)>=Math.abs(totalX)){p.vertical=true;return;}\n  p.drag=true;\n  if(p.phone){explorePhase='hold';stage.setPointerCapture(e.pointerId);}\n  hidePathCursor();stage.classList.add('dragging');\n }\n state.camX+=e.clientX-p.x;\n if(p.phone){\n  const elapsed=Math.max(1,e.timeStamp-p.sampleTime);\n  const dx=e.clientX-p.x;\n  const speed=clamp(dx*1000/elapsed,-2600,2600);\n  const blend=-Math.expm1(-elapsed/35);\n  if(dx*p.vx<0)p.vx=0;\n  p.vx+=(speed-p.vx)*blend;\n  p.sampleTime=e.timeStamp;\n }else state.camY+=e.clientY-p.y;\n p.x=e.clientX;p.y=e.clientY;\n state.panned=true;cameraClamp();invalidate();\n});\nfunction finishMapPointer(e){\n const p=pointer;\n if(!p||p.id!==e.pointerId)return;\n pointer=null;stage.classList.remove('dragging');\n if(p.phone&&explorePhase==='hold'){\n  const stillFor=Math.max(0,e.timeStamp-p.sampleTime);\n  if(e.type==='pointerup'&&p.drag&&stillFor<100&&!motion.matches){\n   const speed=p.vx*Math.exp(-Math.max(0,stillFor-24)/40);\n   if(Math.abs(speed)>100){\n    glideTargetX=state.camX+speed/glideFriction;\n    explorePhase='glide';state.cameraMoving=true;invalidate();\n   }\n  }\n  waitToFollow();\n }\n if(e.type==='pointerup'){\n  if(!p.drag&&!p.vertical&&!p.control&&!p.braking)targetAt((e.clientX-state.camX)/state.scale,(e.clientY-state.camY)/state.scale);\n  updatePathCursor(e);\n }else hidePathCursor();\n}\nstage.addEventListener('pointerup',finishMapPointer);\nstage.addEventListener('pointercancel',finishMapPointer);\nstage.addEventListener('lostpointercapture',e=>{if(e.target===stage)finishMapPointer(e);});\nstage.addEventListener('pointerleave',hidePathCursor);\ndocument.addEventListener('pointermove',e=>{if(!stage.contains(e.target))hidePathCursor();});\nwindow.addEventListener('pagehide',stopExploring);\nconst files={ramen:'01-ramen.png',visit:'03-visit.png',contact:'04-contact.png'};\nconst dialog=$('page-preview');\nlet previewTicket=0, previewLeaving=false;\nfor(const a of document.querySelectorAll('[data-page]')){\n const key=a.dataset.page,configured=params.get(key)||(key==='about'?params.get('ninnin'):null);\n if(configured){try{const url=new URL(configured,params.get('parentOrigin')||location.href);if(['http:','https:'].includes(url.protocol)){a.href=url.href;a.target=window.parent===window?'_self':'_top';continue;}}catch{}}\n a.addEventListener('click',async e=>{e.preventDefault();closeMenu();const ticket=++previewTicket;const folder=state.w<700?'Mobile':state.w<1100?'Tablet':'PC';dialog.dataset.section=key;const title=text[language][key];$('preview-title').textContent=title;if(files[key]){$('preview-image').alt=title+' — NiNNiN';$('preview-image').src=heroAsset(files[key],'pages/'+folder+'/');}if(files[key])await $('preview-image').decode().catch(()=>{});\n if(ticket!==previewTicket||!document.isConnected||dialog.open)return;\n dialog.showModal();dialog.scrollTop=0;\n if(!motion.matches)dialog.animate([{opacity:0,transform:'translateY(24px)'},{opacity:1,transform:'none'}],{duration:310,easing:'cubic-bezier(.16,1,.3,1)'});\n });\n}\nfunction closePreview(){\n if(!dialog.open||previewLeaving)return;\n const ticket=++previewTicket;previewLeaving=true;\n const done=()=>{if(ticket===previewTicket && dialog.open)dialog.close();previewLeaving=false};\n if(motion.matches){done();return}\n const current=getComputedStyle(dialog);\n dialog.animate([{opacity:current.opacity,transform:current.transform},{opacity:0,transform:'translateY(20px)'}],{duration:180,easing:'ease-in',fill:'backwards'}).finished.then(done,done);\n}\ndocument.addEventListener('nn-switch-from-preview',()=>{\n previewTicket++;\n if(dialog.open)dialog.close();\n});\ndialog.addEventListener('cancel',e=>{e.preventDefault();closePreview()});\n$('close-preview').addEventListener('click',closePreview);dialog.addEventListener('click',e=>{if(e.target===dialog){const r=dialog.getBoundingClientRect();if(e.clientX<r.left||e.clientX>r.right||e.clientY<r.top||e.clientY>r.bottom)closePreview();}});\nnew ResizeObserver(resize).observe(stage);addEventListener('resize',resize);document.addEventListener('visibilitychange',()=>{last=null;entrance.suspendArrival(document.hidden);if(!document.hidden)invalidate();});motion.addEventListener('change',e=>{if(e.matches){pendingClick=null;state.idlePhase=0;setPlaying(false);}else{syncClickControl();invalidate();}});\nwindow.__ninninCourtyard={getState:()=>({...state,language,remainingRoute:plannedRoute.slice(pathIndex)}),setPlaying,targetAt,reset,advance,resize,screen,route,spots,paths:nav};\nlet visit=null,nextCheckpoint=0;\ntry{if(mobileScene && parent!==window && frameElement?.closest('.ninnin-hero-stage'))visit=parent.document;}catch{}\nconst prior=visit?.__nnCourtyardPosition;\nfunction remember(){\n if(!visit||!state.ready)return;\n const next=plannedRoute[pathIndex],end=plannedRoute[plannedRoute.length-1];\n visit.__nnCourtyardPosition={x:state.x,y:state.y,yaw:state.yaw,phase:state.phase,playing:state.playing,\n  patrol:patrolIndex,manual:state.manualTarget,targetX:end?.x,targetY:end?.y,hasRoute:!!next,\n  camX:state.camX,camY:state.camY,w:state.w,h:state.h,language};\n}\nif(visit)addEventListener('pagehide',remember);\nresize();\nfunction useActor(next,renderer){\n const current=$('actor');\n if(next.canvas!==current)current.replaceWith(next.canvas);\n actor=next;\n document.body.dataset.renderer=renderer;\n if(state.ready)paint();\n invalidate();\n}\nasync function loadMesh(){\n const canvas=$('actor').cloneNode(false);canvas.removeAttribute('style');\n const mesh=new window.NiNNiNActor(canvas);\n if(mobileScene)mesh.pixelRatioLimit=1.25;\n await mesh.init();\n if(mesh.gl.isContextLost()||mesh.gl.getError()!==mesh.gl.NO_ERROR)throw Error('Character GPU initialization failed.');\n return mesh;\n}\nlet meshRequested=false;\nfunction startMesh(sprites){\n if(meshRequested||motion.matches||navigator.connection?.saveData)return;\n meshRequested=true;upgradeActor(sprites);\n}\nasync function upgradeActor(sprites){\n try{\n  const mesh=await loadMesh();\n  // Keep the current pose visible while the matching mesh action is decoded.\n  for(;;){\n   if(actor!==sprites||!sprites.canvas.isConnected)return;\n   if(state.gesture&&!mesh.hasGesture(state.gesture)){await mesh.ensureGesture(state.gesture);continue;}\n   if(pendingClick&&!mesh.hasGesture(pendingClick.name)){await mesh.ensureGesture(pendingClick.name);continue;}\n   // The atlas blends two silhouettes when leaving a stand. Hand off at a\n   // single pose so the GPU starts at the same yaw and animation phase.\n   if(!state.entering&&!openingTurn&&!state.idleTurning&&(state.restBlend===0||state.restBlend===1))break;\n   await new Promise(resolve=>requestAnimationFrame(resolve));\n  }\n  mesh.canvas.addEventListener('webglcontextlost',()=>{\n   mesh.stopDecoder?.();\n   useActor(sprites,'sprites');\n   if(state.gesture&&sprites.gestures[state.gesture])sprites.load(state.gesture).then(invalidate).catch(()=>{});\n  },{once:true});\n  // A stride sheet has 48 headings. Start on the actual displayed heading,\n  // then release its small rounding offset as the live camera moves.\n  if(sprites.name?.startsWith('stride-')){\n   const heading=Number(sprites.name.slice(7))*2*Math.PI/48;\n   const offset=angleDelta(state.yaw,heading);\n   if(Math.abs(offset)<=Math.PI/24)mesh.handoffYaw={start:performance.now(),offset};\n  }\n  useActor(mesh,'webgl');\n }catch(error){meshRequested=false;console.warn('Using NiNNiN’s lightweight character renderer.',error);}\n}\n(async()=>{try{\n // A fresh route shares its courtyard with the panel. Warm the entrance after the\n // panel settles, and reserve playback for the first unobstructed view of the map.\n const embedded=window.frameElement?.closest('.ninnin-hero-stage');\n const directPanel=embedded && nnPanelAt(parent.location.pathname) && window.frameElement.getClientRects().length;\n const playArrival=!prior && !motion.matches && (directPanel || !embedded || parent.performance.getEntriesByType('navigation')[0]?.type!=='back_forward');\n const once=type=>new Promise(resolve=>document.addEventListener(type,resolve,{once:true}));\n const firstClose=directPanel?once('nn-first-menu-done'):null;\n if(directPanel)await Promise.race([firstClose,once('nn-direct-panel-ready')]);\n shop=new window.NiNNiNShopEffects($('map-atmosphere'),art);\n const sprites=new window.NiNNiNSpriteActor($('actor'));\n const initialActor=sprites.init().catch(()=>loadMesh());\n const [first]=await Promise.all([initialActor,art.decode(),motion.matches||!playArrival?null:entrance.prepareArrival()]);\n useActor(first,first===sprites?'sprites':'webgl');\n if(playArrival)await prepareOpeningTurn();\n if(firstClose)await firstClose;\n while(document.querySelector('#nn-live-menu[open]'))await once('nn-first-menu-done');\n artReady=true;\n // Upload the decoded art and first smoke cell before starting the entrance clock.\n const v=screen(state.x,state.y);\n if(first===sprites)sprites.draw({...v,ppu:PPU*state.scale,yaw:FRONT_YAW,restBlend:1,gesture:'seal',gesturePhase:0});\n if(!motion.matches&&playArrival){\n  entrance.primeArrival(v,state.scale*PPU/174);\n }\n await new Promise(resolve=>requestAnimationFrame(()=>requestAnimationFrame(resolve)));\n const introHost=window.frameElement?.closest('.ninnin-hero-stage')?window.parent:null;\n await introHost?.__nnIntro?.reveal();\n if(prior){\n  state.x=prior.x;state.y=prior.y;state.yaw=prior.yaw;state.phase=prior.phase;\n  state.playing=prior.playing&&!motion.matches;state.age=2;state.entrancePlayed=true;patrolIndex=prior.patrol;\n  if(prior.hasRoute)queueRoute(project(prior.targetX,prior.targetY),prior.manual);else queuePatrol();\n  if(prior.w===state.w&&prior.h===state.h){state.camX=prior.camX;state.camY=prior.camY;cameraClamp();}else setCameraHome();\n  language=prior.language;openingTurn=null;\n }\n state.entering=playArrival;state.entrancePlayed=!playArrival;state.entranceTime=0;state.ready=true;last=null;status.textContent='';\n document.body.dataset.actorReady='true';document.body.dataset.entrance=playArrival?'playing':'complete';syncControls();remember();invalidate();document.dispatchEvent(new Event('nn-courtyard-start'));\n if(first===sprites){\n  if(!motion.matches)sprites.load(previewSpell?'cast':'wave').then(invalidate).catch(()=>{});\n  sprites.load('idle').then(invalidate).catch(()=>{});\n }\n if(playArrival)await new Promise(resolve=>{afterEntrance=resolve;});\n afterEntrance=null;\n if(first===sprites&&!motion.matches&&!navigator.connection?.saveData){\n  const start=()=>{if(actor===sprites&&sprites.canvas.isConnected)startMesh(sprites);};\n  if(window.requestIdleCallback)requestIdleCallback(start,{timeout:750});else setTimeout(start,0);\n }\n if(previewSpell==='cast')fire.init();\n\n}catch(e){try{window.parent.__nnIntro?.finish()}catch{}status.textContent=text[language].error;document.body.dataset.actorReady='error';console.error(e);}})();\n})();\n\n</script>\n<script>\n(() => {\n const frame = window.frameElement, host = frame?.ownerDocument;\n if (!host || !frame.closest('.ninnin-hero-stage')) return;\n const media = host.defaultView.matchMedia('(max-width:809px),(hover:none) and (pointer:coarse) and (max-height:540px)');\n const original = document.querySelector('.dock'), dialog = document.getElementById('page-preview');\n let shell, rail, observer, removedObserver, sizeObserver;\n let dockEntrance, dockFade;\n function enter(){\n   if (!shell || shell.hidden || !shell.hasAttribute('data-wait')) return;\n   const root=host.documentElement;\n   const reduced=host.defaultView.matchMedia('(prefers-reduced-motion:reduce)').matches;\n   let delay=0;\n   if(root.hasAttribute('data-nn-intro')){\n     if(root.dataset.nnIntro!=='opening' || reduced)return;\n     // Follow the live logo transition, including a dock mounted partway through it.\n     const logo=host.querySelector('#nn-courtyard-intro > .nn-intro-lockup');\n     const flight=logo?.getAnimations().find(a=>a.transitionProperty==='transform');\n     if(!flight)return;\n     const remaining=flight.effect.getComputedTiming().endTime-(flight.currentTime ?? 0);\n     delay=Math.max(0,remaining-200);\n   }\n   if(nnPanelAt(host.location.pathname) && !root.hasAttribute('data-nn-live-menu') && !dialog?.open)return;\n   const bar=shell.shadowRoot.querySelector('.dock');\n   if(!host.__nnDockEntered && !reduced){\n     // Mirror the header dropdown's opening motion across the horizontal axis.\n     const timing={duration:320,delay,fill:'backwards'};\n     dockEntrance=bar.animate([{transform:'translate3d(0,5px,0)'},{transform:'translate3d(0,0,0)'}],\n       {...timing,easing:'cubic-bezier(.18,.72,.22,1)'});\n     dockFade=bar.animate([{opacity:0},{opacity:1}],{...timing,easing:'cubic-bezier(.42,0,.42,1)'});\n     dockEntrance.id='nn-dock-enter';\n     dockFade.id='nn-dock-fade';\n   }\n   host.__nnDockEntered=true;\n   shell.removeAttribute('data-wait');\n }\n function remove(){\n   dockEntrance?.cancel();dockFade?.cancel();document.removeEventListener('nn-ramen-tracking',enter);\n   document.removeEventListener('nn-courtyard-start',enter);\n   observer?.disconnect();sizeObserver?.disconnect();removedObserver?.disconnect();shell?.remove();rail?.remove();shell=null;rail=null;original.hidden=false;\n   original.style.removeProperty('display');\n }\n function mount(){\n   remove();\n   if(frame.contentDocument!==document)return;\n   document.addEventListener('nn-ramen-tracking',enter);\n   original.style.removeProperty('visibility');\n   shell=host.createElement('nn-phone-dock');\n   const root=shell.attachShadow({mode:'open'}),style=host.createElement('style');\n   // Copy only the rules used by the existing dock, including its masked corners.\n   function dockRules(rules){\n     return Array.from(rules,r=>{\n       if(r.selectorText && r.selectorText.includes('.dock'))return r.cssText;\n       if(r.type===CSSRule.MEDIA_RULE){const body=dockRules(r.cssRules);return body?'@media '+r.conditionText+'{'+body+'}':''}\n       return '';\n     }).join('\\n');\n   }\n   style.textContent=Array.from(document.styleSheets,s=>{try{return dockRules(s.cssRules)}catch{return ''}}).join('\\n')+\n    ':host{all:initial;position:fixed;--dock-bottom:calc(20px + env(safe-area-inset-bottom,0px));inset:auto 0 var(--dock-bottom);display:block;z-index:90;pointer-events:none}:host([hidden]){display:none!important}:host([data-wait]){visibility:hidden}:host([data-wait]) .dock{opacity:0;transform:translate3d(0,5px,0)}*,*::before,*::after{box-sizing:border-box}.dock{position:relative;inset:auto;transform:translate3d(0,0,0);margin:0 auto;pointer-events:auto;z-index:0;color:#212322;--ninnin-ui-slide:.18s;--ninnin-ui-fade:.12s;--ninnin-ui-ease:ease-out}.dock a,.dock button{cursor:pointer;color:inherit;text-decoration:none;font:600 13px/16px Inter,sans-serif}.dock a:focus-visible,.dock button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}@media(max-width:809px),(hover:none) and (pointer:coarse){:host{--dock-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.dock,.dock[data-engaged]{--dock-rest:var(--nn-phone-bar-width,248px);--dock-open:var(--dock-rest);--dock-pad:var(--nn-phone-icon-pad,8px);--dock-gap:var(--nn-phone-icon-gap,0px);width:var(--dock-rest);gap:var(--dock-gap);padding-inline:var(--dock-pad)}}';\n   rail=host.createElement('div');\n   rail.className='nn-dock-rail';\n   rail.style.cssText='position:absolute;inset:0 0 auto;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none;z-index:90';\n   style.textContent+=':host([data-park]){position:sticky;inset:auto 0 var(--dock-bottom);flex:none}';\n   const copy=original.cloneNode(true);\n   bindCourtyardDock(copy);\n   style.textContent+=' .dock,.dock *,.dock *::before,.dock *::after{cursor:var(--nn-site-cursor,var(--nn-kunai-ink))!important}';\n\n   copy.addEventListener('keydown',event=>{\n     if(event.key!=='Escape')return;\n     if(document.getElementById('nn-live-menu')?.open)document.dispatchEvent(new Event('nn-dismiss-ramen'));\n     else if(dialog?.open)document.getElementById('close-preview').click();\n     else return;\n     event.preventDefault();\n   });\n   copy.removeAttribute('hidden');copy.style.removeProperty('display');\n   function sync(){\n     shell.hidden=!frame.isConnected || frame.getBoundingClientRect().width < 1;\n     enter();\n     const footer=[...host.querySelectorAll('footer[data-framer-name=\"Footer\"]')].find(el=>el.offsetWidth);\n     shell.toggleAttribute('data-park',!!footer && !host.documentElement.hasAttribute('data-nn-live-menu') && !dialog?.open);\n     if(footer){\n       const height=Math.max(0,footer.getBoundingClientRect().top-rail.getBoundingClientRect().top-20)+'px';\n       if(rail.style.height!==height)rail.style.height=height;\n     }\n     copy.lang=document.documentElement.lang;\n     for(let i=0;i<copy.children.length;i++){\n       const source=original.children[i],target=copy.children[i];\n       if (source.hasAttribute('aria-current')) target.setAttribute('aria-current',source.getAttribute('aria-current'));\n       else target.removeAttribute('aria-current');\n       for(const key of ['href','target','aria-label','data-playing']){\n         const value=source.getAttribute(key);if(value!==null && target.getAttribute(key)!==value)target.setAttribute(key,value);\n       }\n       const labels=target.querySelectorAll('span[id]');for(const el of labels){const text=document.getElementById(el.id)?.textContent;if(text!=null&&el.textContent!==text)el.textContent=text}\n     }\n   }\n   copy.addEventListener('click',e=>{\n     const button=e.target.closest('a,button');if(!button)return;\n     if(button.tagName==='A' && (e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||(!nnPanels.has(button.dataset.page) && /^https?:/i.test(button.getAttribute('href')||''))))return;\n     e.preventDefault();\n     if(button.tagName==='A' && host.defaultView.scrollY>0)frame.scrollIntoView({block:'start',behavior:'instant'});\n     original.children[Array.from(copy.children).indexOf(button)].click();\n   });\n   root.append(style,copy);shell.setAttribute('data-wait','');rail.append(shell);host.body.append(rail);original.style.display='none';\n   document.addEventListener('nn-courtyard-start',enter);\n   sync();observer=new MutationObserver(sync);\n   observer.observe(original,{subtree:true,childList:true,characterData:true,attributes:true,attributeFilter:['href','target','aria-label','data-playing','aria-current']});\n   observer.observe(document.documentElement,{attributes:true,attributeFilter:['lang']});\n   sizeObserver=new ResizeObserver(sync);sizeObserver.observe(frame);sizeObserver.observe(host.body);\n   observer.observe(host.documentElement,{attributes:true,attributeFilter:['data-nn-live-menu','data-nn-intro']});\n   if(dialog)observer.observe(dialog,{attributes:true,attributeFilter:['open']});\n   removedObserver=new MutationObserver(()=>{if(!frame.isConnected||frame.contentDocument!==document)remove()});\n   removedObserver.observe(host.body,{childList:true,subtree:true});\n }\n mount();\n window.addEventListener('pagehide',()=>{remove()});\n window.addEventListener('pageshow',e=>{if(e.persisted){mount()}});\n})();\n\n</script>\n<script>\n// Runs in the live courtyard. The Ramen dialog has its own surface so it does\n// not enter the scene's pause/resume path for the other previews.\n(() => {\n const host = window.parent, shell = window.frameElement;\n if (!shell || !shell.closest('.ninnin-hero-stage')) return;\n const dialog = document.createElement('dialog');\n dialog.id = 'nn-live-menu';\n dialog.setAttribute('aria-label','Ramen menu');\n const template = JSON.parse(document.getElementById('nn-menu-source').textContent);\n let contentRequest;\n function extract(doc) {\n   const value = doc.querySelector('[data-nn-bowl-content]')?.getAttribute('data-nn-bowl-content');\n   if (!value) return null;\n   const rows = JSON.parse(value);\n   return ['red','white','black','green'].every(key => typeof rows[key]?.enName === 'string' && typeof rows[key]?.photo === 'string') ? rows : null;\n }\n function readRenderedPage() {\n   return new Promise((resolve,reject)=>{\n     const reader=host.document.createElement('iframe');\n     reader.hidden=true;reader.title='Menu content';reader.setAttribute('aria-hidden','true');\n     const url=new URL('/menu',host.location.origin);url.searchParams.set('nn-menu-reader','1');\n     reader.src=url.href;\n     let observer;\n     const finish=(rows)=>{host.clearTimeout(timer);observer?.disconnect();reader.remove();if(rows)resolve(rows);else reject(new Error('Menu content unavailable'))};\n     const timer=host.setTimeout(()=>finish(null),12000);\n     reader.onload=()=>{try{\n       const doc=reader.contentDocument;\n       const check=()=>{const rows=extract(doc);if(rows)finish(rows)};\n       observer=new MutationObserver(check);observer.observe(doc,{subtree:true,attributes:true,childList:true});check();\n     }catch{finish(null)}};\n     host.document.body.append(reader);\n   });\n }\n function getRows() {\n   const local = extract(host.document);\n   if (local) return Promise.resolve(local);\n   if (!contentRequest) contentRequest = fetch(new URL('/menu',host.location.origin)).then(async res=>{\n     if (!res.ok) throw new Error('Menu '+res.status);\n     const rows=extract(new DOMParser().parseFromString(await res.text(),'text/html'));\n     if (!rows) return readRenderedPage();\n     return rows;\n   }).catch(error=>{contentRequest=null;throw error});\n   return contentRequest;\n }\n const viewport=document.createElement('div');\n viewport.className='nn-panel-viewport';\n const surface=document.createElement('div');\n surface.className='nn-panel-surface';\n const mask=document.createElement('div');\n mask.className='nn-panel-mask';\n mask.append(viewport);\n surface.append(mask);\n dialog.append(surface);\n document.body.append(dialog);\n // The elevation belongs to the stationary panel. Only the viewport clips the sliding pages.\n let activeSheet;\n function measurePanel(){\n   if(!activeSheet || !dialog.open)return;\n   const r=activeSheet.getBoundingClientRect();\n   if(!r.width || !r.height)return;\n   const edges=[r.top,dialog.clientWidth-r.right,dialog.clientHeight-r.bottom,r.left];\n   dialog.style.setProperty('--nn-sheet-edges',edges.map(v=>v+'px').join(' '));\n   dialog.style.setProperty('--nn-frame-edges',edges.map(v=>-v+'px').join(' '));\n   if(!CSS.supports('corner-shape','superellipse(1.25)')){\n     // Match the cubic superellipse fallback used by the Ramen tray.\n     const style=getComputedStyle(mask),w=r.width,h=r.height;\n     const radius=Math.min(parseFloat(getComputedStyle(surface,'::before').borderTopLeftRadius),w/2,h/2);\n     const exponent=Number(style.getPropertyValue('--nn-sheet-corner').match(/superellipse\\(\\s*([.\\d]+)/)?.[1] || 1.25);\n     const k=radius*(Math.pow(.5,1/Math.pow(2,exponent))-.5)/.375;\n     const x=w-radius,y=h-radius,t=radius-k;\n     const path=`M ${radius} 0 H ${x} C ${x+k} 0 ${w} ${t} ${w} ${radius} V ${y} C ${w} ${y+k} ${x+k} ${h} ${x} ${h} H ${radius} C ${t} ${h} 0 ${y+k} 0 ${y} V ${radius} C 0 ${t} ${t} 0 ${radius} 0 Z`;\n     mask.style.setProperty('--nn-mask-path','path(\"'+path+'\")');\n   }\n }\n const panelSize=new ResizeObserver(measurePanel);\n panelSize.observe(dialog);\n function trackPanel(sheet){\n   if(activeSheet)panelSize.unobserve(activeSheet);\n   activeSheet=sheet;\n   if(!sheet)return;\n   sheet.style.boxShadow='none';\n   // The fixed outer mask owns all four corners for both resting and moving pages.\n   const style=sheet.ownerDocument.createElement('style');\n   style.textContent=':root body .sheet.sheet{border-radius:0!important;clip-path:none!important}:root[data-cut]::view-transition-image-pair(nn-about-body){border-radius:0!important}';\n   sheet.ownerDocument.head.append(style);\n   panelSize.observe(sheet);\n   measurePanel();\n }\n let frame, opener, generation = 0, leaving = false, addedEntry = false;\n const language = () => document.documentElement.lang === 'ja' ? 'ja' : 'en';\n const routeKind=()=>nnPanelAt(host.location.pathname) || 'ramen';\n let kind=routeKind();\n const publicURL = (section=kind) => {\n   const url=new URL(nnPanels.get(section).path,host.location.origin);\n   if(language()==='ja')url.searchParams.set('lang','ja');\n   return url;\n };\n const marker = 'nnLiveRamen';\n const panelRequests=new Map();\n function panelSource(section){\n   if(!panelRequests.has(section)){\n     const request=fetch(nnPanels.get(section).source).then(response=>{\n       if(!response.ok)throw Error(section+' unavailable');\n       return response.json();\n     }).catch(error=>{panelRequests.delete(section);throw error});\n     panelRequests.set(section,request);\n   }\n   return panelRequests.get(section);\n }\n const touchMenu = host.matchMedia('(max-width:809px), (hover:none) and (pointer:coarse)');\n let inlineMenu = false;\n let inertSiblings = [];\n function openSurface(){\n   inlineMenu = touchMenu.matches;\n   if (!inlineMenu) {dialog.showModal();return}\n   inertSiblings = [...document.body.children].filter(el => el !== dialog && el instanceof HTMLElement &&\n      !['SCRIPT','STYLE','LINK'].includes(el.tagName) && !el.inert);\n   inertSiblings.forEach(el=>{el.inert=true});\n   dialog.open = true;\n }\n function closeSurface(){\n   if (inlineMenu) {\n      dialog.open = false;\n      inertSiblings.forEach(el=>{el.inert=false});\n      inertSiblings=[];\n   } else dialog.close();\n }\n let chime;\n function showStarClash(event, child) {\n   const r = child.getBoundingClientRect(), d = dialog.getBoundingClientRect();\n   const x = r.left-d.left+event.clientX*r.width/child.clientWidth;\n   const y = r.top-d.top+event.clientY*r.height/child.clientHeight;\n   if (!matchMedia('(prefers-reduced-motion:reduce)').matches) {\n     const burst=document.createElement('span');\n     burst.className='nn-kunai-sparks';\n     burst.setAttribute('aria-hidden','true');\n     burst.style.cssText='position:absolute;pointer-events:none;z-index:4;left:'+x+'px;top:'+y+'px';\n     dialog.append(burst);\n     // A quick, asymmetric sweep marks the contact before the sparks disperse.\n     for (const [angle,length,delay] of [[-34,40,0],[52,20,20]]) {\n       const glint = document.createElement('i');\n       glint.style.cssText = 'position:absolute;pointer-events:none;left:0;top:0;width:'+length+'px;height:3px;background:linear-gradient(90deg,#efa51c,#fff6cc 36%,#fff 52%,#ffb526);clip-path:polygon(0 56%,46% 0,100% 49%,43% 100%)';\n       burst.append(glint);\n       const origin = 'translate(-50%,-50%) rotate('+angle+'deg) ';\n       glint.animate([{transform:origin+'scaleX(.1)',opacity:0},{offset:.22,transform:origin+'scaleX(1)',opacity:1},{transform:origin+'translateX(5px) scaleX(.6)',opacity:0}],{duration:155,delay,fill:'both',easing:'ease-out'});\n     }\n     for(const [i,angle] of [-153,-112,-71,-28,19,64,117,163].entries()){\n       const ray=document.createElement('i');\n       const gold=i%2===0;\n       ray.style.cssText='position:absolute;left:0;top:-1px;width:'+(gold?10:6)+'px;height:2px;border-radius:50%;transform-origin:0 50%;background:'+(gold?'#ffb41c':'#fff0b7')+';box-shadow:0 0 1px #96591f';\n       burst.append(ray);\n       const turn='rotate('+angle+'deg) ';\n       ray.animate([{transform:turn+'translateX(1px) scaleX(.3)',opacity:1},{offset:.32,transform:turn+'translateX(6px) scaleX(1)',opacity:1},{transform:turn+'translateX('+(gold?25:18)+'px) scaleX(.2)',opacity:0}],{duration:190,easing:'ease-out',fill:'both'});\n     }\n     setTimeout(()=>burst.remove(),200);\n   }\n }\n // The same two-note chime, rendered ahead of time. Opening the system audio\n // context synchronously on the first map drag used to block pointer delivery.\n chime=new host.Audio();\n chime.preload='auto';\n chime.src='data:audio/wav;base64,UklGRu4sAABXQVZFZm10IBAAAAABAAEAIlYAAESsAAACABAAZGF0YcosAAAAAAQABwAGAAMA///9//3///8AAP7/+//4//j//v8HAA8AEgAMAAEA9v/x//L/+P/+//7/+//5//3/CgAaACQAHwAJAOz/1P/O/9z/9f8MABYAEwAOABIAIgA0ADQAFQDc/5//f/+S/9P/JgBmAHgAYAA4AB0AGAAaAP//t/9S/wb/D/+J/1QAGgGCAVwBwQACAHT/O/85/yz/7f6f/qL+VP/AAHECngOTAyMC0f+S/Un8evyK/ab+Xf/H/1wAcAHaAuwD2wNMAqr//fxl+3z7Cf0y/wAB7gEXAvsBCQI9AiYCQAFy/0T9p/t0++T8ZP/nAXEDngO/AokBlwANAJ3/4f7G/bv8c/xv/ZL/GwL7A20EWQNfAWr/MP7T/fj9Iv4f/ir+uP4PAO8BmwM8BGEDTQHa/gb9bvwD/TT+VP8MAHkA+ADEAawCJQOhAv4Auf66/Nn7bvwc/hcAkgExAiAC0wGkAYsBMAE9ALb+Hv01/I78Kv5sAGgCYQMlAxYC3ADz/3L/E/+K/tP9TP16/aT+kQCMAr0DoQNRAm8AyP7k/cv9If57/rL+9/6g/88AOwJHA1YDMwI7ADf+8vzQ/KX94v70/5kA8gBLAcwBRwJRAowB/v8n/sb8evxi/RD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v/W/+r/BAAdACwAMAAnABgABgD1/+f/3P/X/9n/5P/3/w8AJAAxADAAIgANAPb/5P/a/9n/3v/o//b/BwAYACYALQApABkAAgDq/9n/0//Y/+b/9/8IABYAIAAlACQAHAAMAPf/4//V/9L/3P/v/wUAGAAjACYAIQAYAAsA/f/t/9//1//Z/+X/+f8PACEAKgAoABwADAD7/+3/4//e/97/5f/y/wMAFwAlACsAJQAVAAAA7f/h/9z/3//o//P/AQAPABwAJAAlABwADAD3/+T/2v/Z/+L/8v8CABAAGgAfAB8AGgAQAAAA7//g/9n/3P/o//v/DgAcACIAIAAZAA4AAQD0/+n/4P/e/+T/8f8EABYAIgAlAB8AEQABAPP/6f/j/+P/5//w//3/DAAaACMAIwAaAAkA9//o/+H/4f/n//H//f8JABQAHAAfABwAEQABAPD/4v/d/+H/7f/8/woAFAAaABsAGAARAAYA+P/q/+H/3//m//P/BAATAB0AHgAZABAABQD5/+//5//k/+b/7v/8/wwAGQAgAB8AFQAIAP3/8P/n/+P/5v/u//v/CAAUABsAHAAXAA0AAAD0/+n/5P/l/+z/9/8EABAAGQAcABkAEAAEAPf/7P/m/+X/6v/0/wEADQAWABsAGQASAAcA+//w/+j/5v/p//H//f8JABMAGQAaABQACwD///P/6v/m/+j/7//6/wYAEAAXABkAFgANAAIA9v/t/+j/6P/t//f/AgANABUAGQAXABAABQD6//D/6f/o/+z/9P///woAEwAYABcAEQAIAP3/8//r/+j/6//y//z/BwAQABYAFwATAAsAAAD2/+3/6f/q//D/+f8EAA0AFAAXABQADQADAPn/8P/r/+r/7v/2/wEACwASABYAFQAPAAYA/P/z/+z/6v/t//T//v8IABAAFQAVABAACAD///X/7v/r/+3/8v/7/wUADQATABUAEgALAAEA+P/w/+z/7P/x//n/AgALABEAFAASAA0ABAD7//P/7f/s//D/9v///wgADwATABMADgAGAP3/9f/v/+3/7//1//3/BgANABIAEwAPAAkAAAD3//H/7v/u//P/+v8DAAsAEQASABAACgACAPr/8//v/+7/8v/4/wEACQAPABIAEQAMAAUA/P/1//D/7v/x//f//v8GAA0AEQARAA0ABwD///f/8f/v//D/9f/8/wQACwAQABEADgAJAAEA+f/z//D/8P/0//r/AgAJAA4AEAAPAAoAAwD8//X/8f/w//P/+P8AAAcADQAQAA8ACwAFAP7/9//y//D/8v/3//7/BQALAA8ADwAMAAcAAAD5//T/8f/y//X//P8DAAkADgAPAA0ACAACAPv/9f/y//L/9P/6/wEABwAMAA4ADgAKAAQA/f/3//P/8v/0//j///8FAAsADgAOAAsABQD///n/9P/y//P/9//9/wMACQANAA4ADAAHAAEA+v/1//P/8//2//v/AgAHAAwADQAMAAgAAgD8//f/9P/z//X/+v8AAAYACgANAAwACQAEAP7/+P/1//P/9f/5//7/BAAJAAwADAAKAAUAAAD6//b/9P/0//j//f8CAAgACwAMAAsABwABAPz/9//0//T/9//7/wEABgAKAAwACwAIAAMA/f/4//X/9P/2//r///8EAAkACwALAAkABAD///r/9v/1//b/+f/+/wMACAAKAAsACQAGAAAA+//3//X/9f/4//z/AQAGAAoACwAKAAcAAgD9//n/9v/1//f/+/8AAAUACQAKAAoABwADAP7/+v/3//b/9//6////AwAHAAoACgAIAAQAAAD7//j/9v/3//n//f8CAAYACQAKAAkABQABAPz/+f/3//b/+P/8/wEABQAIAAoACQAGAAIA/v/6//f/9//4//v///8EAAcACQAJAAcAAwD///v/+P/3//j/+v/+/wIABgAJAAkACAAEAAAA/P/5//f/9//6//3/AQAFAAgACQAIAAUAAQD9//r/+P/3//n//P8AAAQABwAJAAgABgADAP//+//4//j/+f/7////AwAGAAgACAAHAAQAAAD8//n/+P/4//r//v8CAAUABwAIAAcABAABAP3/+v/4//j/+v/9/wEABAAHAAgABwAFAAIA/v/7//n/+P/5//z/AAADAAYABwAHAAYAAwD///z/+f/4//n/+////wIABQAHAAcABgAEAAAA/f/6//n/+f/7//7/AQAEAAYABwAGAAQAAQD+//v/+f/5//r//f8AAAMABgAHAAcABQACAP///P/6//n/+v/8////AgAFAAcABwAFAAMAAAD9//r/+f/6//z//v8BAAQABgAHAAYABAABAP7/+//6//r/+//+/wEAAwAFAAYABgAEAAEA/v/8//r/+v/7//3/AAADAAUABgAGAAUAAgD///3/+//6//r//P///wIABAAGAAYABQADAAAA/f/7//r/+v/8//7/AQADAAUABgAFAAMAAQD+//z/+v/6//v//f8AAAMABQAGAAUABAACAP///f/7//r/+//9////AgAEAAUABQAEAAIAAAD9//v/+//7//z///8BAAMABQAFAAUAAwAAAP7//P/7//v//P/+/wAAAwAFAAUABQADAAEA///9//v/+//8//3/AAACAAQABQAFAAQAAgD///3//P/7//v//f///wEAAwAFAAUABAACAAAA/v/8//v/+//9////AQADAAQABQAEAAMAAQD+//3/+//7//z//v8AAAIABAAFAAQAAwABAP///f/8//v//P/9/wAAAgADAAQABAADAAIAAAD+//z//P/8//3///8BAAMABAAEAAQAAgAAAP7//f/8//z//f/+/wAAAgAEAAQABAADAAEA///9//z//P/9//7/AAACAAMABAAEAAMAAQD///7//P/8//z//v///wEAAwAEAAQAAwACAAAA/v/9//z//P/9////AQACAAQABAADAAIAAQD///3//P/8//3//v8AAAIAAwAEAAQAAwABAP///v/9//z//f/+/wAAAQADAAQABAADAAEAAAD+//3//P/9//7///8BAAIAAwAEAAMAAgAAAP///f/9//3//f///wAAAgADAAMAAwACAAEA///+//3//f/9//7/AAABAAMAAwADAAIAAQAAAP7//f/9//3//v///wEAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=';\n let soundUnlocked=false,unlocking=false;\n function unlockChime(event){\n  if(!event.isTrusted||soundUnlocked||unlocking||chime.readyState<1)return;\n  unlocking=true;\n  try{\n   // Play the silent tail once under user activation so a later hover can ring.\n   chime.currentTime=.20;\n   chime.play().then(()=>{soundUnlocked=true;},()=>{}).finally(()=>{unlocking=false;});\n  }catch{unlocking=false;}\n }\n function listenForAudioGesture(doc){\n  for(const type of ['pointerup','keydown'])doc.addEventListener(type,unlockChime,true);\n }\n listenForAudioGesture(host.document);\n listenForAudioGesture(document);\n window.addEventListener('pagehide',()=>{\n  for(const type of ['pointerup','keydown'])host.document.removeEventListener(type,unlockChime,true);\n },{once:true});\n function playStarChime(){\n  try{\n   chime.currentTime=0;\n   chime.play().then(()=>{soundUnlocked=true;},()=>{});\n  }catch{}\n }\n async function prepare(section,epoch,direct=false) {\n   const lang = language();\n   if (frame?.lang === lang && frame.dataset.section === section) return;\n   let source;\n   if(nnPanels.get(section).source) source=await panelSource(section);\n   else {\n     const rows=await getRows();\n     source=template.replace(\"__NN_BOWLS__\",()=>JSON.stringify(rows).replace(/</g,\"\\\\u003c\"));\n   }\n   if (epoch !== generation) return;\n   const next = document.createElement('iframe');\n   next.lang=lang; next.dataset.section=section;\n   if(direct && section==='about'){\n     next.setAttribute('data-wait-film','');\n     if(host.performance.getEntriesByType('navigation')[0]?.type==='reload')\n       next.setAttribute('data-about-refresh','');\n   }\n   next.title=section==='ramen' && lang==='ja'?'ラーメン':nnPanels.get(section).title;\n   dialog.setAttribute('aria-label',next.title);\n   next.setAttribute('allowtransparency','true');\n   const page=section==='ramen'?source.replace('<html lang=\"en\">','<html lang=\"'+lang+'\">'):source;\n   const rules=document.getElementById('nn-site-type');\n   const binding=document.getElementById('nn-type-binding');\n   const css=rules?.outerHTML || '';\n   const sync=binding?'<scr'+'ipt>'+binding.textContent+'</scr'+'ipt>':'';\n   const styled=page.includes('<'+'/head>')?page.replace('<'+'/head>',()=>css+'<'+'/head>'):page.replace('<style',()=>css+'<style');\n   const end=styled.includes('<'+'/body>')?'<'+'/body>':'<'+'/html>';\n   next.srcdoc=styled.includes(end)?styled.replace(end,()=>sync+end):styled+sync;\n   next.style.visibility = 'hidden';\n   await new Promise(resolve => {\n     next.onload = async () => {\n       const doc = next.contentDocument;\n       if (!doc?.querySelector('.sheet')) {next.remove();resolve();return;}\n       await Promise.race([Promise.allSettled([doc.fonts.ready, doc.querySelector('img.hero, img.bowls')?.decode()]),new Promise(r=>setTimeout(r,900))]);\n       if (epoch !== generation) {next.remove();resolve();return;}\n       const previous = frame;\n       stopSwap();\n       frame = next;\n       trackPanel(doc.querySelector('.sheet'));\n       next.style.visibility = '';\n       dialog.dataset.currentSection = section;\n       listenForAudioGesture(doc);\n       const close = doc.querySelector('.close');\n       const star = close?.querySelector('img');\n       if (star) {\n         let touching = false, centerX, centerY, radius, lastImpact = -Infinity;\n         function trackTip(event) {\n           if (!event.isTrusted || event.pointerType !== 'mouse' || event.buttons) return;\n           const distance = Math.hypot(event.offsetX-centerX,event.offsetY-centerY);\n           if (!touching && distance <= radius) {\n             touching = true;\n             // Each contact rings. Let the previous visual burst finish before drawing another.\n             playStarChime();\n             if (event.timeStamp-lastImpact >= 200) {\n               lastImpact = event.timeStamp;\n               showStarClash(event,next);\n             }\n           } else if (distance > radius + 3) touching = false;\n         }\n         close.addEventListener('pointerenter',event=>{\n           centerX=close.clientWidth/2;\n           centerY=close.clientHeight/2;\n           radius=Math.min(star.offsetWidth,star.offsetHeight)/2;\n           trackTip(event);\n         });\n         close.addEventListener('pointermove',trackTip);\n         close.addEventListener('pointerleave',()=>{touching=false});\n         close.addEventListener('click',event=>{\n           if (!event.isTrusted || !event.detail) return;\n           showStarClash(event,next);\n           playStarChime();\n         },{capture:true});\n       }\n       if (previous && dialog.open && dialog.hasAttribute('data-visible') && !matchMedia('(prefers-reduced-motion:reduce)').matches) {\n         previous.inert = true;\n         exiting = previous;\n         const sheet = doc.querySelector('.sheet');\n         const rect = sheet.getBoundingClientRect();\n         dialog.setAttribute('data-pushing','');\n         dialog.style.setProperty('--nn-panel-window','inset(var(--nn-sheet-edges))');\n         dialog.style.setProperty('--nn-travel',(nnPanelOrder.indexOf(section)>nnPanelOrder.indexOf(previous.dataset.section)?rect.width:-rect.width)+'px');\n         previous.dataset.slide = 'out';\n         next.dataset.slide = 'in';\n         swapAnimation = next.getAnimations().find(a=>a.animationName==='nn-slide-in');\n         if(swapAnimation) swapAnimation.finished.then(finish,finish);\n         else finish();\n         function finish(){if(frame===next && exiting===previous)stopSwap()}\n       } else previous?.remove();\n       resolve();\n     };\n     viewport.append(next);\n   });\n }\n let exiting;\n let swapAnimation;\n function stopSwap() {\n   exiting?.remove();\n   exiting = undefined;\n   if(frame) {\n     delete frame.dataset.slide;\n   }\n   dialog.removeAttribute('data-pushing');\n   dialog.style.removeProperty('--nn-panel-window');\n   dialog.style.removeProperty('--nn-travel');\n   swapAnimation?.cancel();\n   swapAnimation = undefined;\n }\n\n function markDockPage(section) {\n   for (const link of document.querySelectorAll('.dock > a[data-page]')) {\n     if (link.dataset.page===section) link.setAttribute('aria-current','page');\n     else link.removeAttribute('aria-current');\n   }\n }\n function closed() {\n   markDockPage(null);\n   document.dispatchEvent(new Event('nn-first-menu-done'));\n   stopSwap();\n   generation++;\n   leaving = false;\n   dialog.removeAttribute('data-visible');\n   if (dialog.open) {closeSurface();document.dispatchEvent(new CustomEvent('nn-ramen-tracking',{detail:false}))}\n   delete host.document.documentElement.dataset.nnLiveMenu;\n   if(!document.querySelector('#page-preview[open]') && opener?.isConnected && opener.getClientRects().length)opener.focus({preventScroll:true});\n   opener = null;\n   if(frame?.dataset.section!=='ramen' || frame?.style.visibility==='hidden'){\n     trackPanel(null);\n     frame=null;\n     dialog.querySelectorAll('iframe').forEach(old=>old.remove());\n     delete dialog.dataset.currentSection;\n   }\n\n }\n function releaseDirectEntry(){\n   dialog.removeAttribute('data-direct-entry');\n   const waiting=viewport.querySelector('iframe[data-wait-film]');\n   if(waiting){\n     waiting.removeAttribute('data-wait-film');\n     waiting.contentDocument?.dispatchEvent(new Event('nn-panel-entered'));\n   }\n }\n function rememberCourtyardScroll(){\n   const entry=host.history.state,x=host.scrollX,y=host.scrollY;\n   if(entry?.routeId&&(entry.scrollPosition?.x!==x||entry.scrollPosition?.y!==y)){\n     host.history.replaceState({...entry,scrollPosition:{x,y}},'');\n   }\n }\n function alignCourtyard(){\n   if(Math.abs(shell.getBoundingClientRect().top)>2)shell.scrollIntoView({block:'start',behavior:'instant'});\n }\n async function present(trigger,direct=false) {\n   const epoch = ++generation;\n   leaving = false;\n   opener = trigger || opener;\n   releaseDirectEntry();\n   const stageEntry=direct && !dialog.open;\n   try { await prepare(kind,epoch,stageEntry); }\n   catch { if (epoch !== generation) return;\n     document.dispatchEvent(new Event('nn-first-menu-done'));\n     const retry=document.createElement('button');retry.type='button';retry.textContent=language()==='ja'?'再読み込み':'Retry menu';\n     retry.style.cssText='position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:12px 20px;border:0;border-radius:16px;background:#fffcf5;color:#212322;z-index:9999';\n     retry.onclick=()=>{retry.remove();present(trigger)};\n     document.body.append(retry);return; }\n   if (epoch !== generation || !shell.isConnected) return;\n   markDockPage(kind);\n   if (!dialog.open) {\n     // Reserve the visible viewport when Safari's toolbar is expanded.\n     alignCourtyard();\n     host.document.documentElement.dataset.nnLiveMenu = '';\n     if(stageEntry)dialog.setAttribute('data-direct-entry','');\n     openSurface();\n     measurePanel();\n     document.dispatchEvent(new CustomEvent('nn-ramen-tracking',{detail:true}));\n   }\n   if (!inlineMenu || opener?.matches(':focus-visible')) {\n     const panel=frame.contentDocument.querySelector('.sheet');\n     panel.setAttribute('tabindex','-1');\n     panel.focus({preventScroll:true});\n   }\n   if(stageEntry){\n     // The previously hidden iframe can measure text and paint its first visible art now.\n     const doc=frame.contentDocument,poster=doc.querySelector('.mural video')?.poster;\n     const art=poster?new Image():doc.querySelector('img.hero');\n     if(poster)art.src=poster;\n     const ready=[doc.fonts.ready,art?.decode()];\n     const refresh=frame.hasAttribute('data-about-refresh');\n     if(refresh){\n       const bowls=doc.querySelector('[data-story-src]');\n       const rect=bowls?.getBoundingClientRect();\n       const sheet=doc.querySelector('.sheet').getBoundingClientRect();\n       if(rect && Math.min(rect.bottom,sheet.bottom,frame.clientHeight)>Math.max(rect.top,sheet.top,0)\n          && Math.min(rect.right,sheet.right,frame.clientWidth)>Math.max(rect.left,sheet.left,0)){\n         if(!bowls.hasAttribute('src')) bowls.src=bowls.dataset.storySrc;\n         ready.push(bowls.decode());\n       }\n       ready.push(doc.querySelector('img.brand-name')?.decode());\n     }\n     await Promise.race([Promise.allSettled(ready),new Promise(r=>setTimeout(r,refresh?900:240))]);\n     await new Promise(resolve=>requestAnimationFrame(()=>requestAnimationFrame(resolve)));\n     if(epoch!==generation || !dialog.open)return;\n   }\n   // Commit the start pose before transitioning to the resting pose.\n   getComputedStyle(surface).transform;\n   dialog.setAttribute('data-visible','');\n   if(stageEntry){\n     const entering=surface.getAnimations().map(animation=>animation.finished);\n     Promise.allSettled(entering).then(()=>{\n       if(epoch===generation){releaseDirectEntry();document.dispatchEvent(new Event('nn-direct-panel-ready'))}\n     });\n   }\n\n }\n function dismiss() {\n   if (leaving) return;\n   leaving = true;\n   releaseDirectEntry();\n   stopSwap();\n   const epoch = ++generation;\n   dialog.removeAttribute('data-visible');\n   const animations = dialog.open ? [...surface.getAnimations(), ...dialog.getAnimations()] : [];\n   Promise.allSettled(animations.map(a=>a.finished)).then(()=>{\n     if (epoch === generation) closed();\n   });\n }\n function requestClose() {\n   if (addedEntry && host.history.state?.[marker]) {\n     addedEntry = false;\n     dismiss();\n     host.history.back();\n   } else {\n     // A directly opened menu already has a live courtyard in this document.\n     if(host.location.pathname.replace(/\\/$/,'')===publicURL().pathname){\n       const url=new URL(host.location.href);\n       url.pathname='/';\n       if(language()==='ja')url.searchParams.set('lang','ja');else url.searchParams.delete('lang');\n       const entry={...host.history.state};delete entry[marker];\n       host.history.replaceState(entry,'',url);\n       host.document.title=\"NiNNiN Ramen World\";\n     }\n     dismiss();\n   }\n }\n function activate(e) {\n   const link=e.target.closest('a[data-page]');\n   if(!nnPanels.has(link?.dataset.page))return;\n   if(!link || e.defaultPrevented || e.button!==0 || e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;\n   if(document.querySelector('#page-preview[open]'))document.dispatchEvent(new Event('nn-switch-from-preview'));\n   kind=link.dataset.page;\n   const url=publicURL();\n   e.preventDefault();\n   if(dialog.open && !addedEntry){host.history.replaceState(host.history.state,'',url)}\n   else if(!host.history.state?.[marker]){\n     // Record the aligned courtyard as the return position for this panel entry.\n     alignCourtyard();\n     rememberCourtyardScroll();\n     host.history.pushState({...host.history.state,[marker]:true},'',url);\n     addedEntry=true;\n   } else { host.history.replaceState(host.history.state,'',url); }\n   const active=host.document.activeElement;\n   present(active?.shadowRoot?.activeElement || (active!==shell && active!==host.document.body ? active : link));\n }\n function pop(e) {\n   if(!shell.isConnected || !shell.getClientRects().length)return;\n   if(e.state?.[marker] && nnPanelAt(host.location.pathname)){\n     kind=routeKind();\n     e.stopImmediatePropagation();addedEntry=true;present(null);\n   }else if(dialog.open || addedEntry || opener){\n     e.stopImmediatePropagation();\n     if(dialog.open)rememberCourtyardScroll();\n     addedEntry=false;dismiss();\n   }\n }\n function receive(e) {\n   if(e.source===frame?.contentWindow && e.data?.type==='nn-close-ramen')requestClose();\n }\n const langObserver = new MutationObserver(()=>{\n   if(!dialog.open || leaving || language()===frame?.lang)return;\n   const url=publicURL();\n   if(language()==='ja')url.searchParams.set('lang','ja');else url.searchParams.delete('lang');\n   host.history.replaceState(host.history.state,'',url);\n   present(null);\n });\n dialog.addEventListener('cancel',e=>{e.preventDefault();requestClose()});\n document.addEventListener('click',activate,true);\n host.addEventListener('popstate',pop,true);\n window.addEventListener('message',receive);\n document.addEventListener('nn-dismiss-ramen',()=>{if(dialog.open || addedEntry)requestClose()});\n langObserver.observe(document.documentElement,{attributes:true,attributeFilter:['lang']});\n if(nnPanelAt(host.location.pathname) && shell.getClientRects().length){\n   host.__nnIntro?.finish();\n   function firstPanelSettled(){\n     document.removeEventListener('nn-direct-panel-ready',firstPanelSettled);\n     document.removeEventListener('nn-first-menu-done',firstPanelSettled);\n     host.dispatchEvent(new Event('nn-first-panel-settled'));\n   }\n   document.addEventListener('nn-direct-panel-ready',firstPanelSettled);\n   document.addEventListener('nn-first-menu-done',firstPanelSettled);\n   present(null,true);\n }\n // Warm fonts and the first photograph after the courtyard entrance.\n const warm = () => (window.requestIdleCallback || (cb=>setTimeout(cb,100)))(()=>{if(!opener&&!dialog.open&&kind==='ramen')prepare('ramen',generation).catch(()=>{})});\n if(document.body.dataset.actorReady==='true')warm();else document.addEventListener('nn-courtyard-start',warm,{once:true});\n window.addEventListener('pagehide',()=>{host.removeEventListener('popstate',pop,true);langObserver.disconnect();panelSize.disconnect();closed()},{once:true});\n})();\n\n</script><script>(()=>{let w=window;try{while(w.parent!==w){w=w.parent;const shared=w.document.getElementById('nn-corner-system');if(shared){const s=document.createElement('script');s.textContent=shared.textContent;document.head.append(s);return}}}catch{}\n(() => {\n const doc=document, root=doc.documentElement;\n let owner=window;\n try {\n  while(owner.parent!==owner&&owner.parent.document)owner=owner.parent;\n } catch {}\n const media=owner.matchMedia('(max-width:809px),(hover:none) and (pointer:coarse) and (max-height:540px)');\n const native=CSS.supports('corner-shape','superellipse(1.25)');\n const site=!doc.querySelector('#stage,.sheet')&&window===owner;\n const menu=doc.querySelector('.sheet nav');\n const named='[data-framer-name=\"Menu dropdown\"] :is([data-framer-name=\"Page links\"],[data-framer-name=\"NiNNiN map controls\"])';\n const candidates=site?'#main :is([data-framer-name],[data-border],a,button,form,input,textarea,select),'+named:\n  menu?'.sheet,.sheet nav,.choice-plate,.choice-face,nav button,.identity,.reopen':\n  '.map-tag,.dock-tip,#menu-card,#menu-card :is(a,button),#page-preview,.dialog-bar button,#status';\n let radius,shape,handle;\n const observed=new WeakSet();\n function sync(){\n  const theme=owner.getComputedStyle(owner.document.documentElement);\n  shape=theme.getPropertyValue('--ninnin-capsule-curve').trim()||'superellipse(1.25)';\n  const height=parseFloat(theme.getPropertyValue('--ninnin-bar-height'))||(media.matches?52:58);\n  radius=height/2;\n  handle=(Math.pow(.5,1/Math.pow(2,Number(shape.match(/\\(([.\\d]+)\\)/)?.[1]||1.25)))-.5)/.375;\n  root.style.setProperty('--nn-shared-radius',radius+'px');\n  if(window!==owner){root.style.setProperty('--ninnin-capsule-curve',shape);root.style.setProperty('--ninnin-bar-height',height+'px');}\n }\n // A selection tray is the reference contour. If two adjacent edges are\n // inset together, its enclosing panel expands outward by that same inset.\n const groupSelector='nav,[role=\"menu\"],[role=\"tablist\"],[role=\"listbox\"],[data-nn-corner-group],'+named;\n function enclosingRadius(el){\n  if(menu&&el===menu.closest('.sheet')&&window.matchMedia('(max-width:700px)').matches){\n   return parseFloat(getComputedStyle(el).getPropertyValue('--panel-radius'))||radius;\n  }\n  let outer=radius;\n  if(!el.childElementCount||el.matches(groupSelector))return outer;\n  const groups=el.querySelectorAll(groupSelector);\n  if(!groups.length)return outer;\n  const box=el.getBoundingClientRect();\n  for(const group of groups){\n   if(!group.offsetWidth||!group.offsetHeight)continue;\n   const nearest=group.parentElement.closest('[data-nn-rounded]');\n   if(nearest&&nearest!==el&&el.contains(nearest))continue;\n   const g=group.getBoundingClientRect();\n   const dx=Math.min(g.left-box.left,box.right-g.right);\n   const dy=Math.min(g.top-box.top,box.bottom-g.bottom);\n   if(dx<0||dy<0||Math.max(dx,dy)>radius||Math.abs(dx-dy)>.5)continue;\n   const inner=Math.min(radius,group.offsetWidth/2,group.offsetHeight/2);\n   outer=Math.max(outer,inner+(dx+dy)/2);\n  }\n  return outer;\n }\n function curve(el){\n  const box=(!native&&menu&&window.matchMedia('(max-width:700px)').matches)\n   ?el.getBoundingClientRect():null;\n  const w=box?box.width:el.offsetWidth,h=box?box.height:el.offsetHeight;\n  if(!w||!h)return;\n  const nested=menu&&menu.contains(el)&&el!==menu;\n  const limit=nested?Math.max(0,Math.min(radius,menu.offsetWidth/2,menu.offsetHeight/2)-parseFloat(getComputedStyle(menu).paddingLeft)):enclosingRadius(el);\n  const r=Math.min(limit,w/2,h/2);\n  el.style.setProperty('--nn-ui-radius',r+'px');\n  el.setAttribute('data-nn-rounded','');\n  if(native||el.classList.contains('choice-plate')||(nested&&el.tagName==='BUTTON'))return;\n  // The plate casts the shadow. Its child draws the visible rounded face.\n  const k=r*handle,a=w-r,b=h-r;\n  const path='M '+r+' 0 H '+a+' C '+(a+k)+' 0 '+w+' '+(r-k)+' '+w+' '+r+' V '+b+' C '+w+' '+(b+k)+' '+(a+k)+' '+h+' '+a+' '+h+' H '+r+' C '+(r-k)+' '+h+' 0 '+(b+k)+' 0 '+b+' V '+r+' C 0 '+(r-k)+' '+(r-k)+' 0 '+r+' 0 Z';\n  el.style.setProperty('--nn-ui-path','path(\"'+path+'\")');\n  el.setAttribute('data-nn-curve-path','');\n }\n const sizes=new ResizeObserver(entries=>{\n  const affected=new Set();\n  for(const {target} of entries){\n   affected.add(target);\n   if(target.matches(groupSelector)){\n    const parent=target.parentElement.closest('[data-nn-rounded]');\n    if(parent)affected.add(parent);\n   }\n  }\n  affected.forEach(curve);\n });\n function register(el){\n  if(observed.has(el))return;\n  if(site&&!el.matches(named)){\n   const st=getComputedStyle(el),r=st.borderTopLeftRadius;\n   if(!parseFloat(r)||![st.borderTopRightRadius,st.borderBottomRightRadius,st.borderBottomLeftRadius].every(v=>v===r))return;\n  }\n  observed.add(el);sizes.observe(el);curve(el);\n }\n function scan(node){\n  if(node.nodeType!==1)return;\n  if(node.matches(candidates))register(node);\n  node.querySelectorAll(candidates).forEach(register);\n }\n const style=doc.createElement('style');\n style.textContent='[data-nn-rounded]{border-radius:var(--nn-ui-radius)!important;corner-shape:var(--ninnin-capsule-curve)!important}[data-nn-curve-path]{clip-path:var(--nn-ui-path)!important;border-radius:calc(var(--nn-ui-radius) * .75)!important}[data-nn-curve-path]:focus-visible{outline-offset:-3px}';\n doc.head.append(style);\n sync();scan(doc.body);\n const changes=new MutationObserver(records=>{for(const r of records)r.addedNodes.forEach(scan)});\n changes.observe(doc.body,{childList:true,subtree:true});\n function refresh(){sync();scan(doc.body);doc.querySelectorAll('[data-nn-rounded]').forEach(curve)}\n media.addEventListener('change',refresh);\n window.addEventListener('pagehide',e=>{if(!e.persisted){media.removeEventListener('change',refresh);changes.disconnect();sizes.disconnect()}},{once:true});\n})();\n})();</script></body>\n</html>\n"