.fan-landscape-footer{position:relative;isolation:isolate;background:var(--bg,#f8faff);padding-bottom:0}
.fan-landscape-footer::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("assets/fan-footer-river-sakura-lotus.webp") center bottom / 100% auto no-repeat;mix-blend-mode:multiply}
.fan-landscape-footer>footer.wrap{position:relative;margin-bottom:0;padding-bottom:clamp(135px,15vw,265px);background:transparent}
.fan-landscape-footer>.fan-copyright{position:relative;border:0;color:#334b67;margin:0;padding:8px 16px 6px;background:linear-gradient(transparent,rgba(248,250,255,.9));text-shadow:0 1px 3px #fff;font-size:12px;line-height:1.8}
#scroll-top{z-index:1000}
@media(max-width:700px){.fan-landscape-footer::before{background-size:auto 260px}.fan-landscape-footer>footer.wrap{padding-bottom:160px}.fan-landscape-footer>footer.wrap>.footer-brand{max-width:240px}.fan-landscape-footer>.fan-copyright{padding:8px 12px 5px;font-size:11px}}
@media print{.fan-landscape-footer::before{display:none}.fan-landscape-footer>footer.wrap{padding-bottom:0}}
/* Coordinates follow the lotus at the left bank; decorative, never blocks controls. */
.fan-dragonfly{position:absolute;left:8.1%;bottom:clamp(35px,5.1vw,98px);width:clamp(34px,3.5vw,54px);height:auto;line-height:0;pointer-events:none;z-index:2;transform:rotate(-12deg);transform-origin:50% 65%;filter:drop-shadow(0 3px 2px #264d5220)}
.fan-dragonfly svg{display:block;width:100%;overflow:visible}.dragonfly-wings{transform-origin:50px 34px;animation:dragonfly-rest 4s ease-in-out infinite}.is-flying .dragonfly-wings{animation:dragonfly-beat .065s linear infinite alternate}
@keyframes dragonfly-beat{from{transform:scaleY(.2) scaleX(.86)}to{transform:scaleY(1) scaleX(1)}}
@keyframes dragonfly-rest{0%,88%,100%{transform:scaleY(1)}92%{transform:scaleY(.85)}96%{transform:scaleY(1)}}
@media(max-width:700px){.fan-landscape-footer::before{background-position:left bottom}.fan-dragonfly{left:54px;bottom:94px;width:38px}}
@media(prefers-reduced-motion:reduce){.dragonfly-wings{animation:none}}
@media print{.fan-dragonfly{display:none}}

/* Compact transition from community to the river landscape. */
#community.community-section{padding-bottom:24px}
.fan-landscape-footer>footer.wrap{padding-top:0;gap:0;min-height:0}
@media(max-width:700px){#community.community-section{padding-bottom:18px}.fan-landscape-footer>footer.wrap{padding-top:0}}

/* Reserve the entire panorama instead of clipping it inside a short footer. */
#community.community-section{padding-bottom:36px}
.fan-landscape-footer{min-height:calc(100vw * 683 / 2048 + 34px);padding:0 0 34px;box-sizing:border-box}
.fan-landscape-footer::before{inset:0 0 34px;background-size:100% auto;background-position:center bottom}
.fan-landscape-footer>footer.wrap{padding:0;margin:0;height:0;min-height:0}
.fan-landscape-footer>.fan-copyright{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box;min-height:34px;padding:7px 12px 5px;background:var(--bg,#f8faff)}
.fan-dragonfly{left:7.6%;bottom:calc(34px + 5.1vw);width:clamp(23px,3.5vw,54px)}
@media(max-width:700px){#community.community-section{padding-bottom:26px}.fan-landscape-footer{min-height:calc(100vw * 683 / 2048 + 34px)}.fan-landscape-footer::before{background-size:100% auto;background-position:center bottom}.fan-dragonfly{left:7.6%;bottom:calc(34px + 5.1vw);width:clamp(23px,3.5vw,34px)}}
@media print{.fan-landscape-footer{min-height:0;padding:0}.fan-landscape-footer>.fan-copyright{position:relative}}

/* The landscape reaches the document edge; copyright overlays the river. */
.fan-landscape-footer{min-height:calc(100vw * 683 / 2048);padding-bottom:0}
.fan-landscape-footer::before{inset:0;background-position:center bottom}
.fan-landscape-footer>.fan-copyright{background:linear-gradient(transparent,rgba(248,250,255,.55));padding-bottom:3px;min-height:30px}
.fan-dragonfly{bottom:5.1vw}
#page-bottom{height:0;margin:0;padding:0}
@media(max-width:700px){.fan-landscape-footer{min-height:calc(100vw * 683 / 2048);padding-bottom:0}.fan-dragonfly{bottom:5.1vw}}
