/* V6: each original sketch glyph is a real, independently decoded image. */
#ending{isolation:isolate}
#ending .ending-paper{z-index:0}
#ending-reveal{z-index:1}
#ending .ending-brand{z-index:2;clip-path:none;transition:opacity 2.9s cubic-bezier(.25,.46,.45,.94),transform 3.2s cubic-bezier(.22,.61,.36,1)}
#ending .ending-brand img{opacity:1;visibility:inherit}
#ending-logo-particles{z-index:2}
#ending .slogan{top:52%;width:min(720px,84vw);height:min(98.63px,11.5068vw);aspect-ratio:auto;transform:translate(-50%,0);transition:transform 2.6s cubic-bezier(.22,.61,.36,1);pointer-events:none}
#ending .slogan.settled{transform:translate(-50%,-24px)}
#slogan-art{position:relative;width:100%;height:100%;display:flex;align-items:stretch}
#ending .slogan-letter{position:relative;display:block;height:100%;flex-grow:0;flex-shrink:0;inset:auto;background:none!important;clip-path:none!important;opacity:0;transform:none;transition:none;mix-blend-mode:normal;filter:none;overflow:visible}
#ending .slogan-letter.visible{opacity:1}
.slogan-letter .glyph-image{display:block;width:100%;height:100%;object-fit:fill;opacity:0;position:relative;z-index:1}
.slogan-letter .glyph-fallback{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;color:#35413f;font-family:"Songti SC",STSong,"Noto Serif CJK SC",serif;font-size:clamp(25px,7.2vw,76px);line-height:1;font-weight:400}
.slogan-letter.glyph-ready .glyph-image{opacity:1}
.slogan-letter.glyph-ready .glyph-fallback{visibility:hidden}
#ending .slogan.settled .slogan-letter.visible{filter:drop-shadow(0 0 2px #f5f4eff2) drop-shadow(0 0 5px #f5f4efe6) drop-shadow(0 0 9px #f5f4efb3)}
#ending .slogan.dissolving .slogan-letter{opacity:0}
#ending .ending-brand.dissolving{visibility:hidden}
#ending .ending-brand.dissolving img{visibility:hidden!important;opacity:0!important;transition:none!important}
#ending-particles{z-index:4}
#typing-cursor{z-index:5;top:15%;height:70%}
#skip-ending{z-index:8;opacity:.8;transition:opacity .4s}
@media(max-width:600px){#ending .slogan{width:90vw;height:12.3288vw;top:52%}#ending .slogan.settled{transform:translate(-50%,-18px)}#ending .ending-brand{width:125vw;height:105vh}}
@media(prefers-reduced-motion:reduce){#ending .ending-brand,#ending .slogan{transition-duration:.01ms}}
