:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: #f7f9fb;
  background: #05090d;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-width: 320px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #05090d;
}

.signage {
  width: min(100vw, calc(100vh * 11 / 19));
  height: min(100vh, calc(100vw * 19 / 11));
  overflow: hidden;
  position: relative;
  background: #07131d;
  box-shadow: 0 0 56px rgb(0 0 0 / 55%);
}

.rate-panel {
  position: relative;
  z-index: 2;
  height: 50%;
  overflow: hidden;
  background: #07131d;
}

.rate-panel-image {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel {
  position: relative;
  height: 50%;
  overflow: hidden;
  border-top: 3px solid rgb(220 231 234 / 88%);
  background: #10151a;
}

.carousel-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center 52%;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.15s ease, transform 5.8s ease;
}

.carousel-image.is-active { opacity: 1; transform: scale(1); }

.carousel-shade {
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: rgb(4 11 16 / 42%);
  box-shadow: 0 -35px 55px rgb(4 11 16 / 42%);
}

.carousel-caption {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(255 255 255 / 88%);
  font-size: 17px;
  letter-spacing: 0.22em;
  text-shadow: 0 2px 4px rgb(0 0 0 / 72%);
}

.carousel-dots { display: flex; align-items: center; gap: 6px; }
.carousel-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  transition: width 300ms ease, border-radius 300ms ease, background-color 300ms ease;
}
.carousel-dots i.is-active { width: 19px; border-radius: 999px; background: #d8bd78; }

@media (prefers-reduced-motion: reduce) {
  .carousel-image, .carousel-dots i { transition: none; }
}
