/* Original hanging mascot: a fixed grip with independent gaze and leg motion. */
.hero-with-pad.hero-hanging-scene{height:auto;min-height:1120px}
.hero-with-pad.hero-hanging-scene .hero-layout{height:auto;align-items:start;padding-bottom:76px}
.hero-with-pad.hero-hanging-scene .hero-introduction{display:flex;flex-direction:column;align-self:start;min-width:0;gap:0}
.hero-with-pad.hero-hanging-scene .hero-hanging-art{position:relative;top:auto;right:auto;bottom:auto;left:auto;width:var(--hain-hang-fit-width,min(700px,calc(100% + 48px)));max-width:none;aspect-ratio:1260/1530;margin:var(--hain-hang-top-gap,32px) 0 0;padding:0;align-self:center;pointer-events:none;filter:drop-shadow(0 12px 10px #170a2825)}
.hero-hanging-mascot{display:block;width:100%;height:auto;overflow:visible;stroke:none}
.hero-hang-swing{transform-box:view-box;transform-origin:58.96825397% 4.57516340%;animation:hain-hang-sway 4.8s ease-in-out infinite}
.hero-hang-leg-left{transform-box:view-box;transform-origin:37.30158730% 69.28104575%;animation:hain-hang-left-leg 3.2s ease-in-out infinite}
.hero-hang-leg-right{transform-box:view-box;transform-origin:51.74603175% 69.28104575%;animation:hain-hang-right-leg 3.7s ease-in-out -.9s infinite}
.hero-hang-gaze{animation:hain-hang-gaze 6.4s ease-in-out infinite}
@keyframes hain-hang-sway{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
@keyframes hain-hang-left-leg{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@keyframes hain-hang-right-leg{0%,100%{transform:rotate(4.5deg)}50%{transform:rotate(-4.5deg)}}
@keyframes hain-hang-gaze{0%,14%,86%,100%{transform:translateX(0)}26%,38%{transform:translateX(-7px)}50%,58%{transform:translateX(0)}70%,80%{transform:translateX(7px)}}
@media(max-width:800px){.hero-with-pad.hero-hanging-scene{min-height:0}.hero-with-pad.hero-hanging-scene .hero-layout{padding-bottom:56px}.hero-with-pad.hero-hanging-scene .hero-introduction{display:contents}.hero-hanging-scene .hero-copy{order:1}.hero-hanging-scene .hero-presale{order:2}.hero-with-pad.hero-hanging-scene .hero-hanging-art{order:3;width:min(600px,calc(100% + 24px));max-width:none;margin:34px 0 0}}
@media(prefers-reduced-motion:reduce){.hero-hang-swing,.hero-hang-leg-left,.hero-hang-leg-right,.hero-hang-gaze{animation:none;transform:none}}

.hero-comets{position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none}
.hero-comet{position:absolute;width:clamp(90px,12vw,165px);aspect-ratio:144/64;opacity:0;filter:drop-shadow(0 0 8px #b0f7ff55);animation:hain-header-comet 13s linear var(--comet-delay,0s) infinite}
.hero-comet svg{display:block;width:100%;height:100%}.comet-one{top:22%;left:3%;--comet-delay:-2s}.comet-two{top:8%;left:48%;--comet-delay:-7s}.comet-three{top:48%;left:25%;--comet-delay:-10s;width:clamp(75px,9vw,125px)}
@keyframes hain-header-comet{0%{opacity:0;transform:translate3d(-60px,-90px,0)}4%,22%{opacity:.8}28%,100%{opacity:0;transform:translate3d(180px,260px,0)}}
@media(prefers-reduced-motion:reduce){.hero-comets{display:none}}

.about-layout{display:block;min-height:0;max-width:900px}
.about-layout .brush-card{width:100%;margin:0 auto}
.how-to-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:40px;max-width:960px;margin:0 auto}
.roadmap-footer{min-height:0;max-width:800px;justify-content:center;text-align:center}
.presale-summary>.section-wrap{display:block;max-width:850px;text-align:center}
.staking-intro,.publication-intro{display:block;max-width:890px;margin:0 auto 35px}
.theme-tab-body .staking-intro .section-heading,.publication-intro .section-heading{margin:0;text-align:center}
.publication-intro .section-heading>p{margin-left:auto;margin-right:auto}
.airdrop-layout{grid-template-columns:minmax(0,1fr);gap:0;max-width:850px;margin:0 auto}
.theme-footer{padding-top:245px}
.theme-footer>.section-wrap{padding-top:135px;border-top:2px solid var(--ink)}
.footer-mascot{position:absolute;top:-236px;bottom:auto;left:calc(50% - 150px);width:300px;height:360px;overflow:visible;z-index:2;pointer-events:none}
.footer-mascot img{display:block;width:100%;height:100%;object-fit:contain;transform:none}

@media(max-width:800px){.about-layout{padding-top:0}.theme-footer{padding-top:220px}.theme-footer>.section-wrap{padding-top:145px}.footer-mascot{width:270px;height:324px;left:calc(50% - 135px);top:-212px}}
@media(max-width:480px){.how-to-layout{grid-template-columns:minmax(0,1fr);gap:26px}.staking-intro,.publication-intro{margin-bottom:28px}.theme-tab-body .staking-intro .comic-title.small{font-size:31px}.publication-intro .comic-title.small{font-size:38px}.theme-footer>.section-wrap{padding-top:140px}.footer-mascot{width:260px;height:312px;left:calc(50% - 130px);top:-204px}}
