/* 与首页横幅保持统一圆角，移动端加高展示 / Keep rounded banner; increase its mobile height. */
.home-slideshow{position:relative;aspect-ratio:3/1;width:100%;overflow:hidden;border-radius:18px;background:var(--fill,#eef0f5);touch-action:pan-y}.home-slideshow>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s;pointer-events:none}.home-slideshow>img.active{opacity:1}.home-slide-controls{position:absolute;bottom:8px;left:12px;right:12px;display:flex;align-items:center;gap:8px;justify-content:center}.home-slide-controls>button{display:grid;place-items:center;border:0;border-radius:50%;width:25px;height:25px;background:#0005;color:#fff;font-size:17px;cursor:pointer;line-height:1}.home-slide-dots{display:flex;align-items:center;gap:6px;margin:0 4px}.home-slide-dots button{border:0;background:#ffffff80;width:6px;height:6px;border-radius:6px;padding:0;cursor:pointer;box-shadow:0 1px 3px #0002}.home-slide-dots button.active{background:#fff;width:18px}.home-slide-controls button:focus-visible{outline:2px solid #fff;outline-offset:3px}@media(prefers-reduced-motion:reduce){.home-slideshow>img{transition:none}}@media(max-width:640px){.home-slideshow{aspect-ratio:2.3/1;min-height:132px;max-height:160px;border-radius:16px}.home-slideshow>img{object-position:left center}}

/* 加载占位，等首页配置返回后再展示站名与幻灯片 / Keep stale defaults hidden until homepage settings load. */
.home-slideshow-loading{background:linear-gradient(110deg,#e9eef8 8%,#f5f7fb 18%,#e9eef8 33%);background-size:200% 100%;animation:home-slideshow-loading 1.35s ease-in-out infinite}
@keyframes home-slideshow-loading{to{background-position-x:-200%}}
@media(prefers-reduced-motion:reduce){.home-slideshow-loading{animation:none}}

.home-slideshow-video{height:180px;aspect-ratio:auto}
.home-slideshow-video video{display:block;width:100%;height:100%;object-fit:fill}
