/**
 * M 端设计稿 750×2048（bg.jpg）
 * rem：750 宽时 1rem = 100px（切图像素 / 100 = rem）
 */
@font-face {
  font-family: 'akaiti';
  src: url(https://media.zlongame.com/media/upload/20260226/AaKaiTi.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  background: #1a1214;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'akaiti', "KaiTi", "STKaiti", serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
}

img {
  display: block;
}

.slice-img {
  max-width: none;
  width: auto;
  height: auto;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  width: 7.5rem;
  min-height: 20.48rem;
  margin: 0 auto;
  background: url(../img/bg.jpg) center top / 7.5rem auto no-repeat;
  overflow: visible;
}

/* 示意图：左上 logo、右上竖排导航 */
.logo {
  position: absolute;
  left: 0.2rem;
  top: 0.22rem;
  width: 0.83rem;
  height: 1.52rem;
  z-index: 20;
}

.side-nav {
  position: absolute;
  top: 0.22rem;
  right: 0.24rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.side-nav a,
.side-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-nav img[width="24"] { width: 0.24rem; height: 0.24rem; }
.side-nav img[width="22"] { width: 0.22rem; height: 0.22rem; }
.side-nav img[width="23"] { width: 0.23rem; height: 0.23rem; }

.side-nav-tip {
  display: none !important;
}

.main {
  position: relative;
  z-index: 5;
  border-top: 1px solid transparent;
}

.panel-wrap {
  width: 7.32rem;
  margin: 5.35rem 0 0;
  box-sizing: border-box;
}

.select-wrap {
  position: relative;
  margin-top: 0.1rem;
}

.select-wrap.is-open {
  z-index: 30;
}

.action-bar {
  width: 7.32rem;
  background-repeat: no-repeat;
  background-position: left;
  background-size: 100% auto;
}

.info-bar {
  min-height: 2.21rem;
  background-image: url(../img/bar-bg.png);
  position: relative;
}

.select-bar {
  min-height: 1.64rem;
  background-image: url(../img/bar-bg2.png);
}

.bar-inner {
  width: 100%;
  box-sizing: border-box;
}

.bar-inner--info {
  padding: 0.35rem 0.4rem 0.22rem 0.6rem;
}

.bar-text {
  min-width: 0;
}

.activity-time {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
  font-size: 0.24rem;
  line-height: 1.35;
  color: #fff;
}

.activity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.07rem;
  height: 0.26rem;
  flex-shrink: 0;
  background: url(../img/activity-badge-bg.png) center / 1.07rem 0.26rem no-repeat;
  color: #3a2f35;
  font-size: 0.24rem;
  line-height: 1;
  white-space: nowrap;
}

.activity-date {
  font-size: 0.23rem;
  color: #301d1c;
}

.activity-tip {
  margin-top: 0.04rem;
  padding-left: 0.04rem;
  font-size: 0.18rem;
  line-height: 1.2;
  color: #301d1c;
}

.bar-status-panel {
  position: absolute;
  left: 51%;
  transform: translateX(-50%);
  bottom: 0.28rem;
  width: 6.9rem;
  height: 0.76rem;
  margin-top: 0.1rem;
  padding: 0.14rem 0.21rem;
  background: url(../img/bar-status-bg.png) center / 6.9rem 0.76rem no-repeat;
  box-sizing: border-box;
}

.bar-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.12rem;
  min-height: 0.48rem;
}

.bar-status-row.is-guest {
  justify-content: center;
}

.bar-booking {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.bar-booking:focus-visible {
  outline: 0.02rem solid rgba(154, 92, 88, 0.65);
  outline-offset: 0.04rem;
  border-radius: 0.04rem;
}

.bar-booking[hidden],
.bar-account[hidden],
.action-row[hidden],
.bar-status-row #btnLogin[hidden] {
  display: none !important;
}

.bar-booking-icon {
  width: 0.44rem;
  height: 0.44rem;
  flex-shrink: 0;
}

.bar-booking-meta {
  min-width: 0;
}

.bar-booking-main {
  font-size: 0.26rem;
  line-height: 1.35;
  color: #301d1c;
}

.bar-booking-server {
  font-style: normal;
  color: #9a3b35;
}

.bar-booking-sub {
  margin-top: 0.02rem;
  font-size: 0.18rem;
  line-height: 1.4;
  color: #4a3533;
}

.bar-account {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  flex-shrink: 0;
  margin-left: auto;
}

.bar-inner--info > #btnLogin,
.bar-status-row #btnLogin {
  flex-shrink: 0;
}

.bar-status-row.is-guest #btnLogin {
  margin-left: 0;
}

.bar-phone {
  font-size: 0.22rem;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  padding-bottom: 0.04rem;
  border-bottom: 0.01rem solid rgba(255, 255, 255, 0.75);
}

.select-bar-inner {
  padding: 0.54rem 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select-trigger {
  position: relative;
  width: 6.78rem;
  height: 0.56rem;
  background: url(../img/select-field-bg.png) center / 6.78rem 0.56rem no-repeat;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: .1rem;
}

.select-label {
  position: absolute;
  left: 0.34rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: 4.2rem;
  font-size: 0.26rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-label.is-placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.select-arrow {
  position: absolute;
  right: 0.12rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4.75rem;
  height: 0.26rem;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.select-wrap.is-open .select-arrow {
  transform: translateY(-50%) scaleY(-1);
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 7.32rem;
  margin: 0.12rem auto 0;
}

.action-row--reserved {
  gap: 0.1rem;
}

.btn-img {
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-img.is-cooldown {
  cursor: pointer;
  filter: grayscale(0.85) brightness(0.92);
  opacity: 0.72;
}

.btn-img.is-cooldown:active {
  transform: scale(0.98);
}

.btn-img--login .slice-img,
.btn-img--login img {
  width: 1.33rem;
  height: 0.45rem;
}

.btn-img--switch .slice-img,
.btn-img--switch img {
  width: 1.33rem;
  height: 0.45rem;
}

.btn-img--wide .slice-img,
.btn-img--wide img {
  width: 3.3rem;
  height: 0.76rem;
}

.btn-img:active {
  transform: scale(0.98);
}

.dropdown-panel {
  display: none;
  position: absolute;
  left: 52%;
  transform: translateX(-50%);
  top: 1.45rem;
  width: 7.38rem;
  min-height: 5.02rem;
  padding: 0.22rem 0.24rem 0.18rem;
  background: url(../img/dropdown-panel-bg.png) center / 7.38rem 5.02rem no-repeat;
  z-index: 30;
  box-sizing: border-box;
}

.select-wrap.is-open .dropdown-panel {
  display: block;
}

.server-list {
  max-height: 4.4rem;
  overflow-y: auto;
  padding-right: 0.06rem;
  scrollbar-width: thin;
  scrollbar-color: #b88984 rgba(200, 175, 168, 0.35);
}

.server-list::-webkit-scrollbar {
  width: 0.08rem;
}

.server-list::-webkit-scrollbar-track {
  background: rgba(200, 175, 168, 0.35);
  border-radius: 0.04rem;
}

.server-list::-webkit-scrollbar-thumb {
  background: #b88984;
  border-radius: 0.04rem;
}

.server-list::-webkit-scrollbar-thumb:hover {
  background: #9a5c58;
}

.server-option {
  padding: 0.12rem 0.28rem 0.1rem;
  cursor: pointer;
  border-radius: 0.04rem;
  transition: background 0.18s ease;
}

.server-option-top {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  min-height: 0.28rem;
}

.server-option:hover:not(.is-disabled) {
  background: rgba(255, 255, 255, 0.22);
}

.server-option.is-active:not(.is-disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.server-option.is-disabled {
  cursor: not-allowed;
}

.server-option.is-disabled .server-name,
.server-option.is-disabled .server-progress {
  color: #b8b0b2;
}

.server-option.is-disabled .server-tags img {
  opacity: 0.55;
}

.server-name {
  flex-shrink: 0;
  font-size: 0.24rem;
  line-height: 1.3;
  color: #3d2f35;
}

.server-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.06rem;
  min-width: 0;
}

.server-tags img {
  width: 0.5rem;
  height: 0.2rem;
  max-width: none;
}

.server-progress {
  margin-top: 0.04rem;
  padding-left: 0.02rem;
  font-size: 0.2rem;
  line-height: 1.35;
  color: #9a5c58;
}

.server-divider {
  line-height: 0;
  padding: 0.04rem 0;
}

.dropdown-divider {
  display: block;
  width: 6.39rem;
  height: 0.06rem;
  margin: 0 auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.rules-section {
  width: 7.5rem;
  margin: 0.28rem auto 0;
}

.title-rules {
  width: 5.5rem;
  height: 0.41rem;
  margin: 0 auto;
}

.rules-panel {
  width: 7.5rem;
  min-height: 7.51rem;
  margin-top: -0.18rem;
  padding: 0.72rem 0.48rem 0.56rem 0.56rem;
  background: url(../img/rules-panel-bg.png) center / 7.5rem 7.51rem no-repeat;
}

.rules-list {
  list-style: none;
  position: relative;
  padding-left: 0.16rem;
}

.rules-list::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 0.01rem;
  background: url(../img/rule-line.png) center top / 0.01rem auto repeat-y;
  z-index: 0;
}

.rules-list li {
  margin-bottom: 0.1rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.12rem;
  font-size: 0.22rem;
  line-height: 1.72;
  color: #301d1c;
}

.rule-num {
  flex-shrink: 0;
  width: 0.24rem;
  height: 0.24rem;
  margin-top: 0.06rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/rule-num-bg.png) center / 0.24rem 0.24rem no-repeat;
  font-size: 0.14rem;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.rule-text {
  flex: 1;
}

.footer {
  width: 100%;
  margin: 0.08rem auto 0;
  text-align: center;
}

.footer-activity {
  width: 7.5rem;
  margin: 0 auto;
}

.qrcode {
  width: 3.63rem;
  height: 2rem;
  margin: 0 auto;
}

.footer-text {
  margin-top: 0.12rem;
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02rem;
}

/* 对齐官网 mobile/index.html .page10 标底 */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
  display: flex;
  justify-content: center;
  font-family: 'akaiti', 'AaKaiTi', sans-serif;
}

.site-footer .footer_box {
  width: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0 0.5rem;
}

.site-footer .footer_box .footer_logo_i {
  width: 0.58rem;
  height: 1.04rem;
  flex-shrink: 0;
  background: url('https://media.zlongame.com/media/pictures/cn/7jiemt/cbt3/m/img/page10/logo.png') center / contain no-repeat;
}

.site-footer .footer_box .footer_info {
  margin-top: 0.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14rem;
  text-align: center;
}

.site-footer .footer_box .footer_info .footer_text {
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.site-footer .footer_box .footer_info .footer_text a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer .footer_box .footer_info .footer_health {
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.site-footer .footer_box .footer_info .footer_record {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.05rem 0.12rem;
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.site-footer .footer_box .footer_info .footer_record .beian_icon_i {
  width: 0.22rem;
  height: 0.22rem;
  flex-shrink: 0;
  background: url('https://media.zlongame.com/media/pictures/cn/7jiemt/cbt3/img/page10/beian_icon.png') center / contain no-repeat;
  transform: translateX(0.06rem);
}

.site-footer .footer_box .footer_info .footer_record a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.toast {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  max-width: 80%;
  padding: 0.16rem 0.28rem;
  border-radius: 0.08rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.24rem;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
}

.toast.is-show {
  display: block;
  animation: toast-in 0.2s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: auto;
}

.mask.is-show {
  display: block;
}

.orientation-pop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 0 0.48rem;
  background: rgba(0, 0, 0, 0.88);
  color: #f2dcb8;
  font-size: 0.36rem;
  line-height: 1.55;
  text-align: center;
  pointer-events: auto;
}

body.is-landscape-blocked {
  overflow: hidden;
}