* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  color: #fff;
  font-family:
    "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.viewport-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0c1747;
}
#screen-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  background:
    url("/assets/images/bg.png") center / 100% 100% no-repeat,
    linear-gradient(180deg, #250f4f, #19154c 48%, #0c1747);
}
.swiper,
.swiper-slide {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  overflow: hidden;
}
.data-slide,
.with-header {
  background: transparent;
}
.section {
  width: 1920px;
  height: 1080px;
  padding: 0 40px;
}
.header {
  height: 95px;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.header-time {
  display: flex;
  align-items: center;
  margin: 38px 0 0 12px;
  font-size: 20px;
  line-height: 35px;
  max-width: 520px;
  white-space: nowrap;
}
.header-time .weekday {
  margin-left: 20px;
}
.weather {
  margin-left: 45px;
  font-size: 18px;
  color: #e6f4ff;
  text-overflow: ellipsis;
  overflow: hidden;
}
.header-time .weather:first-child {
  margin-left: 0;
}
.header-logo {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #feffff;
  white-space: nowrap;
  max-width: 745px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-reflect: below 6px
    linear-gradient(transparent, rgba(254, 255, 255, 0.12));
}
.header-title {
  margin: 40px 89px 0 auto;
  line-height: 35px;
  font-size: 22px;
  max-width: 410px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-fallback .header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background: linear-gradient(
    95deg,
    #58638b 0%,
    #2e345b 28%,
    transparent 33% 67%,
    #2e345b 72%,
    #58638b 100%
  );
  clip-path: polygon(
    0 5%,
    100% 5%,
    98% 23%,
    70% 23%,
    67% 75%,
    33% 75%,
    30% 23%,
    2% 23%
  );
}
.content {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 430px 900px 430px;
  gap: 40px;
}
.column {
  display: grid;
  gap: 40px;
  align-content: start;
  min-width: 0;
}
.card {
  position: relative;
  height: 275px;
  background: rgba(209, 192, 165, 0.15);
  border-radius: 30px;
  overflow: hidden;
}
.tall {
  height: 590px;
}
.card-title {
  display: flex;
  align-items: center;
  height: 30px;
  margin: 15px 0 0 14px;
}
.card-title img {
  width: 30px;
  height: 30px;
}
.card-title h2 {
  min-width: 0;
  margin: 0 12px 0 12px;
  padding-left: 13px;
  border-left: 2px solid #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart {
  width: 400px;
  height: 215px;
  margin: 0 auto;
}
.chart-category {
  width: 390px;
  margin-top: 8px;
}
.chart-online {
  width: 98%;
  height: 220px;
}
.chart-visit {
  width: 100%;
  height: 210px;
  margin-top: 6px;
}
.chart-service {
  width: 318px;
  height: 226px;
  margin: -2px 0 0 108px;
}
.rank-list,
.map-legend {
  padding: 0;
  list-style: none;
}
.rank-list {
  margin: 14px 17px 0;
  overflow: hidden;
}
.rank-row {
  position: relative;
  margin-top: 25px;
  height: 73px;
}
.rank-row.enter {
  animation: rank-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 0.14s);
}
@keyframes rank-in {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.rank-photo {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: 0;
  width: 71px;
  height: 71px;
  border-radius: 50%;
  object-fit: cover;
  background: #182c5b;
}
.rank-box {
  position: relative;
  width: 348px;
  height: 73px;
  margin-left: 34px;
  border: 1px dashed #3d9bba;
}
.rank-name {
  margin: 10px 27px 5px 47px;
  font-size: 16px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.rank-row.no-count .rank-box {
  display: flex;
  align-items: center;
}
.rank-row.no-count .rank-name {
  margin-top: 0;
  margin-bottom: 0;
}
.rank-count {
  position: absolute;
  right: 28px;
  bottom: 7px;
  color: #29ebfb;
  font-size: 12px;
}
.rank-badge {
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  width: 32px;
  height: 41px;
  object-fit: scale-down;
}
.video-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #141638;
}
.center-media-frame,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.center-media-frame.cover { object-fit: cover; }
.center-media-frame.contain { object-fit: contain; }
.center-media-index {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 19, 43, .76);
  color: #bdefff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.video-placeholder {
  display: grid;
  place-items: center;
  color: #abb2d5;
  font-size: 18px;
  background-size: cover;
  background-position: center;
}
.video-placeholder[hidden] {
  display: none;
}
.service-legend {
  position: absolute;
  top: 92px;
  left: 32px;
  display: flex;
  gap: 18px;
}
.service-key {
  width: 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
}
.service-key i {
  display: block;
  width: 18px;
  height: 11px;
  margin: 0 auto 10px;
  border-radius: 2px;
  background: #215595;
}
.service-key:first-child i {
  background: #36b1ff;
  box-shadow: 0 0 8px #36b1ff;
}
.wechat {
  display: flex;
}
.fans {
  width: 190px;
  margin: 38px 0 0 30px;
  text-align: center;
}
.fans-label {
  height: 55px;
  margin-bottom: 24px;
  background: url("/assets/images/wx_bg.png") center bottom no-repeat;
  color: #effafa;
  font-size: 18px;
  line-height: 26px;
}
.fans-number {
  height: 56px;
  line-height: 56px;
  border-radius: 10px;
  background: rgba(114, 72, 165, 0.35) url("/assets/images/wx_number_bg.png")
    center/cover;
  border: 1px solid rgba(168, 130, 220, 0.35);
  font-size: 30px;
  font-weight: 500;
  color: #ffd93b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qr {
  width: 150px;
  height: 170px;
  margin: 17px 0 0 30px;
  background: rgba(114, 72, 165, 0.32) url("/assets/images/ewm_bg.png")
    center/cover;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}
.qr img {
  display: block;
  width: 136px;
  height: 136px;
  margin: 7px auto 4px;
  object-fit: cover;
  border-radius: 8px;
}
.qr figcaption {
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.map-panel {
  position: relative;
}
.map-image {
  display: block;
  width: 861px;
  height: 504px;
  margin: 50px auto 0;
  object-fit: contain;
}
.map-legend {
  position: absolute;
  right: 50px;
  bottom: 40px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  max-width: 240px;
}
.map-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 25px;
  color: var(--color);
  white-space: nowrap;
}
.map-legend span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-legend i {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 8px var(--color);
}
.map-legend .star {
  width: 14px;
  height: 14px;
  clip-path: polygon(
    50% 0,
    64% 34%,
    100% 38%,
    72% 63%,
    80% 100%,
    50% 80%,
    20% 100%,
    28% 63%,
    0 38%,
    36% 34%
  );
}
.visit-stat::before,
.visit-stat::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 99px;
  background: linear-gradient(transparent, #29ebfb, transparent);
  top: 127px;
  left: 11px;
}
.visit-stat::after {
  left: auto;
  right: 11px;
  top: 82px;
}
.visit-kpi {
  width: 260px;
  height: 120px;
  margin: 48px auto 0;
  padding-top: 26px;
  background: linear-gradient(#71beff, #284fb7);
  border-radius: 6px;
  text-align: center;
}
.visit-number {
  font-size: 30px;
  color: #c6fcff;
}
.visit-label {
  font-size: 18px;
  color: #b8dcff;
  margin-top: 8px;
}
.highlights {
  position: relative;
  width: 390px;
  height: 198px;
  margin: 14px auto 0;
  overflow: hidden;
  border: 1px solid rgba(59, 240, 235, 0.45);
  border-radius: 14px;
  background: #0e2254;
  box-shadow: 0 0 14px rgba(12, 134, 185, 0.35);
}
.highlight-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.highlight-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 14px 10px;
  background: linear-gradient(180deg, rgba(10, 20, 56, 0), rgba(10, 20, 56, 0.88));
}
.highlight-name {
  min-width: 0;
  overflow: hidden;
  color: #effaff;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.highlight-index {
  flex: none;
  color: #74f5ff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.highlight-empty {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: #b8dcff;
  font-size: 15px;
}
.swiper-slide-active .highlights {
  animation: highlight-light 5.6s ease-in-out infinite;
}
@keyframes highlight-light {
  50% { box-shadow: 0 0 17px rgba(12, 134, 185, 0.49); }
}
.media-opaque {
  background-color: #080813;
}
.media-slide .header {
  margin: 0 40px;
}
.media-body {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.with-header .media-body {
  height: 985px;
}
.media-body img,
.media-body video {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
}
.media-body .cover {
  object-fit: cover;
}
#screen-message {
  position: absolute;
  z-index: 2;
  inset: 48% 0 auto;
  text-align: center;
  font-size: 22px;
  color: #c7d7f4;
  pointer-events: none;
}

.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}
.swiper-slide {
  will-change: transform;
  backface-visibility: hidden;
}
.rank-shield {
  display: grid;
  place-items: center;
  width: 28px;
  height: 33px;
  color: #e7f7ff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(145deg, #71aad2, #304b87);
  clip-path: polygon(50% 0, 100% 20%, 100% 76%, 50% 100%, 0 76%, 0 20%);
}
.swiper-slide-active .map-legend li i:not(.star) {
  animation: ring-light 3.6s ease-in-out infinite;
}
.swiper-slide-active .visit-stat::before,
.swiper-slide-active .visit-stat::after {
  animation: line-light 3.6s ease-in-out infinite;
}
@keyframes ring-light {
  0%,
  100% {
    box-shadow: 0 0 6px var(--color, #169bdd);
  }
  50% {
    box-shadow: 0 0 13px var(--color, #169bdd);
  }
}
@keyframes line-light {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

.district-map-host { position:absolute; inset:0; }

.booking-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 20px 10px;
}
.booking-metrics:empty,
.booking-ranking:empty {
  display: none;
}
.booking-metric {
  border: 1px solid rgba(59, 240, 235, 0.28);
  background: linear-gradient(180deg, rgba(40, 96, 186, 0.38), rgba(18, 42, 98, 0.52));
  border-radius: 10px;
  padding: 7px 6px;
  text-align: center;
}
.booking-amount,
.booking-label,
.booking-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-amount {
  line-height: 24px;
  font-variant-numeric: tabular-nums;
  color: #74f5ff;
}
.booking-value { font-size: 20px; font-weight: 700; }
.booking-metric:first-child .booking-value { color: #ffd96d; }
.booking-unit { margin-left: 3px; font-size: 12px; }
.booking-label { margin-top: 2px; font-size: 12px; color: #cbe8ff; }
.booking-ranking {
  margin: 8px 20px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.booking-row {
  display: grid;
  grid-template-columns: 18px 108px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 18px;
  color: #effaff;
  font-size: 13px;
}
.booking-rank {
  display: grid;
  place-items: center;
  height: 18px;
  border-radius: 6px;
  background: rgba(54, 177, 255, 0.19);
  color: #98ebff;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.booking-rank.leader { color: #ffdc83; background: rgba(255, 209, 95, 0.17); }
.booking-volume {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.booking-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(118, 189, 255, 0.16);
  overflow: hidden;
}
.booking-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #29ebfb, #6b7bff);
  box-shadow: 0 0 8px rgba(41, 235, 251, 0.45);
  transform-origin: left;
}
.swiper-slide-active[data-entered] .booking-fill { animation: booking-grow 0.8s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes booking-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.booking-empty { margin: 60px 20px 0; color: #cbe8ff; text-align: center; }
