/*
 * R15 mobile/PWA hotfix.
 * Keeps device safe areas intact while tightening page-owned whitespace.
 */
.entry-header[data-v-9636ed3e] {
  height: 46px;
}

.entry-scroll[data-v-9636ed3e] {
  padding: 2px 24px max(16px, env(safe-area-inset-bottom));
}

.entry-page[data-v-9636ed3e] .lounge-ticket--without-time {
  min-height: 414px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.lounge-item p[data-v-09d1de7a],
.lounge-info dd[data-v-daed5e12],
.record-list-card dd[data-v-d7791176] {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.feedback.feedback--steps[data-v-056bbaa2] {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ed;
  color: #7f5a2d;
  font-size: 13px;
  line-height: 1.75;
  text-align: left;
  white-space: pre-line;
}

.vip-install-reopen {
  position: absolute;
  z-index: 46;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  min-width: 112px;
  height: 40px;
  padding: 0 13px 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(205, 124, 40, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.96);
  color: #965512;
  box-shadow: 0 5px 18px rgba(90, 52, 15, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1;
}

.vip-install-reopen span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c9751d;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.vip-install-reopen strong {
  font-weight: 500;
  white-space: nowrap;
}

html.vip-install-prompt-pending .vip-install-reopen,
html.vip-install-prompt-disabled .vip-install-reopen {
  display: none !important;
}

@media (display-mode: standalone) {
  .vip-install-reopen {
    display: none !important;
  }
}

/*
 * Per-order installation policy.
 * Keep the bundled modal out of layout while the public order configuration
 * is loading, and keep it suppressed when the administrator disabled it.
 */
.vip-install-prompt-pending [data-testid="install-guide"],
.vip-install-prompt-disabled [data-testid="install-guide"] {
  display: none !important;
}

/*
 * Reservation arrival gate. It is injected immediately before the QR ticket
 * on both the entry page and reservation detail page.
 */
.vip-airport-arrival {
  display: flex;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(218, 118, 34, 0.3);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 247, 233, 0.98), rgba(255, 235, 202, 0.98));
  box-shadow: 0 7px 20px rgba(151, 82, 18, 0.12);
  color: #4a2a10;
}

.vip-airport-arrival__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #b86619;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  place-items: center;
}

.vip-airport-arrival__content {
  flex: 1 1 auto;
  min-width: 0;
}

.vip-airport-arrival__content > strong {
  display: block;
  margin: 1px 0 5px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.vip-airport-arrival__content > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.vip-airport-arrival [data-vip-arrival-button] {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 13px 0 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 23px;
  background: linear-gradient(100deg, #d97721, #ae5411);
  box-shadow: 0 5px 13px rgba(174, 84, 17, 0.22);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.vip-airport-arrival [data-vip-arrival-button]:disabled {
  cursor: default;
  opacity: 0.72;
}

.vip-airport-arrival__status {
  min-height: 18px;
  margin-top: 8px !important;
  color: #8b5b32;
  font-size: 12px !important;
}

.vip-airport-arrival--confirmed {
  border-color: rgba(48, 145, 92, 0.25);
  background:
    linear-gradient(135deg, rgba(241, 251, 245, 0.98), rgba(224, 246, 234, 0.98));
  color: #205b3b;
}

.vip-airport-arrival--confirmed .vip-airport-arrival__icon {
  background: #30915c;
}

.vip-airport-arrival--confirmed [data-vip-arrival-button] {
  background: #4a9b6d;
  box-shadow: none;
}

.vip-airport-arrival--confirmed .vip-airport-arrival__status {
  color: #3f7657;
}

.vip-airport-arrival--error {
  border-color: rgba(192, 55, 55, 0.28);
}

.vip-airport-arrival--error .vip-airport-arrival__status {
  color: #b32727;
}

.ticket-refresh.ticket-refresh--awaiting-arrival {
  cursor: not-allowed !important;
  filter: grayscale(0.35);
  opacity: 0.45 !important;
}

/*
 * VIP lounge directory typography and wrapping.
 * A floated label lets a wrapped lounge name use the full next line,
 * so its continuation can sit below the "近期预约" badge.
 */
.vip-page[data-v-09d1de7a] .record-line[data-v-09d1de7a] {
  display: block;
}

.vip-page[data-v-09d1de7a] .record-line[data-v-09d1de7a]::after {
  display: block;
  clear: both;
  content: "";
}

.vip-page[data-v-09d1de7a] .record-line span[data-v-09d1de7a] {
  float: left;
  margin: 1px 8px 0 0;
  padding: 1px 7px;
  line-height: 17px;
  white-space: nowrap;
}

.vip-page[data-v-09d1de7a] .record-line strong[data-v-09d1de7a] {
  display: block;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.vip-page[data-v-09d1de7a] .airport-strip button[data-v-09d1de7a] {
  font-size: 14px;
  font-weight: 400;
}

.vip-page[data-v-09d1de7a] .open-tag[data-v-09d1de7a] {
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.vip-page[data-v-09d1de7a] .lounge-title strong[data-v-09d1de7a] {
  font-weight: 400;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/*
 * Keep long, manually formatted lounge addresses readable on order details.
 * The address moves below its label and uses the full card width, while the
 * shorter lounge name and position rows retain their compact two-column layout.
 */
.detail-page[data-v-daed5e12] .lounge-info[data-v-daed5e12] {
  grid-template-columns: 110px minmax(0, 1fr);
  justify-content: stretch;
}

.detail-page[data-v-daed5e12] .lounge-info dd[data-v-daed5e12]:nth-of-type(3) {
  grid-column: 1 / -1;
  width: auto;
  justify-self: stretch;
  margin-top: -7px;
  text-align: left;
  transform: none;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

@media (max-width: 350px) {
  .entry-header[data-v-9636ed3e] {
    height: 46px;
  }
}
