/* M 端弹窗 */

.pop-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.16rem;
  background: rgba(0, 0, 0, 0.72);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pop-overlay.is-show {
  display: flex;
}

.pop-panel {
  display: none;
  width: 100%;
}

.pop-panel.is-active {
  display: block;
}

.pop-close {
  display: block;
  width: 0.49rem;
  height: 0.49rem;
  margin: 0.24rem auto 0;
  padding: 0;
  border: none;
  background: url(../img/popup/icon-pop-close.png) center / 0.49rem 0.49rem no-repeat;
  cursor: pointer;
  flex-shrink: 0;
}

.pop-share-wrap {
  position: relative;
  width: 6.83rem;
  max-width: 100%;
  margin: 0 auto;
}

.pop-close--share,
.pop-close--dialog {
  margin-top: 0.28rem;
}

/* 登录 / 通用弹窗壳 */
.pop-dialog-wrap {
  width: 6.83rem;
  max-width: 100%;
  margin: 0 auto;
}

.pop-shell {
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.pop-shell--normal {
  width: 6.83rem;
  max-width: 100%;
  min-height: 5.66rem;
  background-image: url(../img/popup/pop-bg.png);
}

.pop-shell--small {
  width: 6.58rem;
  max-width: 100%;
  min-height: 4.71rem;
  margin: -.5rem auto;
  background: url(../img/popup/pop-bg-small.png) .45rem top / 100% auto no-repeat;

}

.pop-dialog-wrap--small {
  width: 6.58rem;
  max-width: 100%;
}

.pop-shell--small .pop-head {
  padding: 0.92rem 0.66rem 0.06rem;
}

.pop-shell--small .pop-body--modify,
.pop-shell--small .pop-body--modify-blocked,
.pop-shell--small .pop-body--no-qualify {
  padding: 0.06rem 1.2rem 0.28rem;
}

.pop-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;
  padding: 0.9rem 0.4rem 0.08rem;
}

.pop-title-deco {
  width: 1.3rem;
  height: 0.11rem;
  flex-shrink: 0;
  object-fit: contain;
}

.pop-title-deco--right {
  transform: scaleX(-1);
}

.pop-title-text {
  font-size: 0.32rem;
  line-height: 1.2;
  color: #4a2f2c;
  font-weight: normal;
  white-space: nowrap;
}

.pop-login-tip {
  margin: 0.16rem 0.55rem 0;
  font-size: 0.24rem;
  line-height: 1.5;
  color: #2c2b2a;
  text-align: left;
}

.pop-login-tip-em {
  font-style: normal;
  color: #9a3b35;
}

.pop-login-divider {
  display: block;
  width: 5.77rem;
  max-width: calc(100% - 0.8rem);
  height: 1px;
  min-height: 1px;
  margin: 0.08rem auto 0.16rem;
  object-fit: fill;
}

.pop-body--login {
  padding: 0.04rem 0.55rem 0.36rem;
}

.pop-field {
  margin-bottom: 0.14rem;
}

.pop-field-label {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  margin-bottom: 0.06rem;
}

.pop-field-label-text {
  flex-shrink: 0;
  font-size: 0.2rem;
  line-height: 1.2;
  color: #4a2f2c;
}

.pop-field-label-dots {
  flex-shrink: 0;
  width: 0.54rem;
  height: 0.14rem;
  background: url(../img/popup/input-phone-bg.png) left center / 0.54rem 0.14rem no-repeat;
}

.pop-body--login .pop-input-wrap {
  position: relative;
  box-sizing: border-box;
  height: 0.45rem;
  background: #c1bec8;
  border-radius: 0.04rem;
  position: relative;
}

.pop-body--login .pop-input-wrap .pop-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 0.14rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.2rem;
  color: #4a2f2c;
  outline: none;
}

.pop-body--login .pop-input-wrap--code .pop-input {
  padding-right: 1.8rem;
}

.pop-input::placeholder {
  color: rgba(74, 47, 44, 0.45);
}

.pop-btn-get-code {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.72rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  background: url(../img/popup/btn-get-code.png) center / 100% 100% no-repeat;
  cursor: pointer;
}

.pop-btn-get-code:disabled {
  cursor: not-allowed;
  filter: grayscale(0.85) brightness(0.92);
  opacity: 0.72;
}

.pop-btn-get-code-text {
  font-family: 'akaiti', "KaiTi", "STKaiti", serif;
  font-size: 0.2rem;
  line-height: 1;
  color: #4a2f2c;
  white-space: nowrap;
  pointer-events: none;
}

.pop-btn-img {
  display: block;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.pop-btn-img:disabled {
  cursor: not-allowed;
  filter: grayscale(0.85) brightness(0.92);
  opacity: 0.72;
}

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

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

.pop-btn-login {
  width: 2.47rem;
  height: 0.53rem;
  margin: 0.3rem auto 0;
}

.pop-btn-login img {
  display: block;
  width: 2.47rem;
  height: 0.53rem;
}

/* 确认预约 */
.pop-body--confirm {
  padding: 0.08rem 0.5rem 0.32rem;
  text-align: center;
}

.pop-confirm-question {
  margin: 0 0 0.12rem;
  font-size: 0.22rem;
  line-height: 1.5;
  color: #4a2f2c;
}

.pop-confirm-server-em {
  font-style: normal;
  color: #9a3b35;
}

.pop-confirm-divider {
  display: block;
  width: 5.77rem;
  max-width: calc(100% - 0.4rem);
  height: 1px;
  min-height: 1px;
  margin: 0 auto 0.2rem;
  object-fit: fill;
}

.pop-confirm-rules {
  list-style: none;
  margin: 0 auto 0.28rem;
  padding: 0;
  max-width: 5.6rem;
  text-align: left;
}

.pop-confirm-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.08rem;
  margin-bottom: 0.1rem;
  font-size: 0.2rem;
  line-height: 1.55;
  color: #2c2b2a;
}

.pop-confirm-rule:last-child {
  margin-bottom: 0;
}

.pop-confirm-rule-icon {
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  margin-top: 0.04rem;
  object-fit: contain;
}

.pop-actions--confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
}

.pop-btn-think-again,
.pop-btn-confirm-reserve {
  flex-shrink: 0;
  width: 2.52rem;
  height: 0.53rem;
}

.pop-btn-think-again img,
.pop-btn-confirm-reserve img {
  display: block;
  width: 2.52rem;
  height: 0.53rem;
}

/* 修改预约 / 无资格 / 冷却 */
.pop-body--modify {
  text-align: center;
}

.pop-modify-current {
  margin: 0 0 0.12rem;
  font-size: 0.22rem;
  line-height: 1.5;
  color: #4a2f2c;
}

.pop-modify-current-server {
  font-style: normal;
  color: #9a3b35;
}

.pop-modify-hint {
  margin: 0 0 0.28rem;
  font-size: 0.2rem;
  line-height: 1.55;
  color: #2c2b2a;
  text-align: left;
}

.pop-body--modify-blocked {
  text-align: left;
}

.pop-modify-blocked-msg {
  margin: 0 0 0.12rem;
  font-size: 0.2rem;
  line-height: 1.55;
  color: #2c2b2a;
}

.pop-modify-blocked-em {
  font-style: normal;
  color: #9a3b35;
}

.pop-modify-blocked-remain {
  margin: 0 0 0.28rem;
  font-size: 0.2rem;
  line-height: 1.5;
  color: #2c2b2a;
}

.pop-modify-blocked-countdown {
  font-style: normal;
  color: #9a3b35;
  font-variant-numeric: tabular-nums;
}

.pop-body--no-qualify {
  text-align: center;
}

.pop-no-qualify-msg {
  margin: 0.58rem 0 0.4rem;
  font-size: 0.2rem;
  line-height: 1.55;
  color: #2c2b2a;
}

.pop-actions--single {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pop-btn-cancel,
.pop-btn-confirm-modify {
  flex-shrink: 0;
  width: 2.26rem;
  height: 0.48rem;
}

.pop-btn-cancel img,
.pop-btn-confirm-modify img {
  display: block;
  width: 2.26rem;
  height: 0.48rem;
  object-fit: contain;
}

.pop-body--confirm .pop-btn-confirm-modify {
  width: 2.27rem;
  height: 0.48rem;
}

.pop-body--confirm .pop-btn-confirm-modify img {
  width: 2.27rem;
  height: 0.48rem;
}

.pop-btn-go-modify {
  flex-shrink: 0;
  width: 2.27rem;
  height: 0.48rem;
}

.pop-btn-go-modify img {
  display: block;
  width: 2.27rem;
  height: 0.48rem;
  object-fit: contain;
}

.pop-btn-know {
  width: 2.47rem;
  height: 0.53rem;
}

.pop-btn-know img {
  display: block;
  width: 2.47rem;
  height: 0.53rem;
  object-fit: contain;
}

/* 预约成功 */
.pop-shell--tall {
  width: 6.83rem;
  max-width: 100%;
  min-height: 7.56rem;
  background-image: url(../img/popup/pop-bg-tall.png);
}

.pop-body--success {
  padding: 1rem 0.53rem 0.32rem;
  text-align: center;
}

.pop-success-title {
  display: block;
  width: 2.96rem;
  height: 0.42rem;
  margin-bottom: .2rem;
}

.pop-success-subtitle {
  margin: 0 0 0.14rem;
  font-size: 0.22rem;
  line-height: 1.5;
  color: #2c2b2a;
  text-align: left;
}

.pop-success-detail {
  margin: 0 auto 0.12rem;
  padding: 0.1rem 0.12rem;
  max-width: 100%;
  border: 0.01rem solid #bcbbb9;
  border-radius: 0.08rem;
  text-align: left;
}

.pop-success-row {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  min-height: 0.4rem;
  padding: 0.06rem 0;
  border-bottom: 0.01rem solid rgba(180, 160, 155, 0.45);
}

.pop-success-row--last {
  border-bottom: none;
  padding-bottom: 0.02rem;
}

.pop-success-row-icon {
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  object-fit: contain;
}

.pop-success-label {
  flex-shrink: 0;
  width: 1.48rem;
  font-size: 0.2rem;
  line-height: 1.4;
  color: #2c2b2a;
}

.pop-success-value {
  flex: 1;
  min-width: 0;
  font-size: 0.2rem;
  line-height: 1.4;
  color: #2c2b2a;
  text-align: right;
}

.pop-success-value--em {
  color: #9a3b35;
}

.pop-success-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.pop-success-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  max-width: 100%;
  padding: 0.04rem 0.12rem 0.04rem 0.09rem;
  border-radius: 999px;
  font-size: 0.18rem;
  line-height: 1.2;
  color: #2c2b2a;
  white-space: nowrap;
}

.pop-success-status-dot {
  flex-shrink: 0;
  width: 0.08rem;
  height: 0.08rem;
  border-radius: 50%;
}

.pop-success-status-pill--smooth,
.pop-success-status-pill--recommend {
  background: rgba(168, 216, 181, 0.58);
}

.pop-success-status-pill--smooth .pop-success-status-dot,
.pop-success-status-pill--recommend .pop-success-status-dot {
  background: #6bcc5a;
}

.pop-success-status-pill--hot {
  background: rgba(232, 188, 148, 0.58);
}

.pop-success-status-pill--hot .pop-success-status-dot {
  background: #e08840;
}

.pop-success-status-pill--crowded {
  background: rgba(224, 160, 160, 0.58);
}

.pop-success-status-pill--crowded .pop-success-status-dot {
  background: #d04a4a;
}

.pop-success-status-pill--closed {
  background: rgba(180, 180, 180, 0.58);
}

.pop-success-status-pill--closed .pop-success-status-dot {
  background: #888;
}

.pop-success-remind {
  display: flex;
  align-items: flex-start;
  gap: 0.08rem;
  margin: 0 auto 0.12rem;
  padding: 0.1rem 0.12rem;
  max-width: 100%;
  background: rgba(245, 228, 196, 0.72);
  border-radius: 0.06rem;
  text-align: left;
}

.pop-success-remind-icon {
  flex-shrink: 0;
  width: 0.17rem;
  height: 0.12rem;
  margin-top: 0.05rem;
  object-fit: contain;
}

.pop-success-remind-text {
  margin: 0;
  font-size: 0.18rem;
  line-height: 1.55;
  color: #4a3533;
}

.pop-success-cooldown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.12rem;
  margin: 0 auto 0.14rem;
  max-width: 100%;
  min-height: 0.36rem;
  padding: 0.08rem 0.14rem;
  box-sizing: border-box;
  border: 0.01rem solid #9da1a7;
  border-radius: 0.1rem;
}

.pop-success-cooldown[hidden] {
  display: none !important;
}

.pop-success-cooldown-label {
  font-size: 0.18rem;
  line-height: 1.4;
  color: #2c2b2a;
}

.pop-success-cooldown-time {
  font-size: 0.14rem;
  line-height: 1.4;
  color: #4a2f2c;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pop-actions--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.pop-actions--success {
  margin-top: 0.04rem;
}

.pop-success-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 100%;
}

.pop-btn-share-invite {
  width: 5.78rem;
  max-width: 100%;
  height: 0.54rem;
}

.pop-btn-share-invite img {
  display: block;
  width: 5.78rem;
  max-width: 100%;
  height: 0.54rem;
  object-fit: contain;
}

.pop-btn-modify,
.pop-btn-back-home {
  width: 2.81rem;
  height: 0.44rem;
}

.pop-btn-modify img,
.pop-btn-back-home img {
  display: block;
  width: 2.81rem;
  height: 0.44rem;
}

.pop-share-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;
  margin-bottom: 0.1rem;
  padding: 0 0.04rem;
}

.pop-share-deco {
  width: 0.95rem;
  height: 0.05rem;
  flex-shrink: 0;
  object-fit: contain;
}

.pop-share-deco--right {
  transform: scaleX(-1);
}

.pop-share-tip {
  flex: 1;
  min-width: 0;
  font-size: 0.22rem;
  line-height: 1.45;
  color: #f2dcb8;
  text-align: center;
}

.pop-share-poster {
  position: relative;
  width: 6.83rem;
  max-width: 100%;
  margin: 0 auto;
}

.pop-share-illus {
  display: block;
  width: 100%;
  height: auto;
}

.pop-share-qrcode {
  position: absolute;
  right: 0;
  bottom: 0.12rem;
  width: 1.09rem;
  height: 1.15rem;
  object-fit: contain;
  pointer-events: none;
}

.pop-share-poster.is-booked .pop-share-qrcode {
  height: 1.08rem;
}

.pop-share-save-img {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: fill;
  pointer-events: auto;
}

.pop-share-save-img[hidden] {
  display: none !important;
}

.pop-share-booked {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: 'akaiti', "KaiTi", "STKaiti", serif;
}

.pop-share-poster:not(.is-booked) .pop-share-booked {
  display: none !important;
}

.pop-share-booked[hidden] {
  display: none !important;
}

.pop-share-booked-center {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 88%;
  text-align: center;
}

.pop-share-booked-server {
  display: inline-block;
  min-width: 1.2rem;
  padding: 0.04rem 0.18rem;
  background: rgba(245, 228, 196, 0.94);
  border-radius: 0.04rem;
  font-size: 0.24rem;
  line-height: 1.3;
  color: #4a2f2c;
}

.pop-share-booked-invite {
  margin: 0.08rem 0 0;
  font-size: 0.22rem;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 0.01rem 0.05rem rgba(0, 0, 0, 0.4);
}

.pop-share-booked-meta {
  position: absolute;
  left: 0.28rem;
  bottom: 0.18rem;
  text-align: left;
}

.pop-share-booked-phone,
.pop-share-booked-time {
  margin: 0;
  font-size: 0.18rem;
  line-height: 1.55;
  text-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.42);
}

.pop-share-booked-label {
  color: #d4b38a;
}

.pop-share-booked-value {
  color: #e0e0e0;
  font-variant-numeric: tabular-nums;
}

.pop-share-link-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
  margin-top: 0.12rem;
  min-height: 0.55rem;
  padding: 0.06rem 0.1rem 0.06rem 0.14rem;
  background: url(../img/popup/pop-share-link-bar-bg.png) center / 100% 0.55rem no-repeat;
  box-sizing: border-box;
}

.pop-share-link-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.04rem;
  font-size: 0.2rem;
  line-height: 1.35;
  color: #301d1c;
}

.pop-share-link-label {
  flex-shrink: 0;
  color: #301d1c;
}

.pop-share-link-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #301d1c;
}

.pop-btn-copy {
  flex-shrink: 0;
  width: 0.94rem;
  height: 0.44rem;
}

.pop-btn-copy img {
  display: block;
  width: 0.94rem;
  height: 0.44rem;
}
