﻿[data-active-page="ticket"] .brand-bar,
[data-active-page="ticket"] .bottom-nav,
[data-active-page="ticket"] .demo-note {
  display: none;
}

[data-active-page="ticket"] #app-main {
  padding: 0;
}

[data-active-page="ticket"] .site-shell {
  width: min(100%, 760px);
  background: #3e406b;
}

.ticket-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: #3e406b;
}

.ticket-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 570px;
  overflow: hidden;
  background: #393b66;
}

.ticket-backdrop img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: blur(38px) saturate(0.72);
  opacity: 0.7;
  transform: translate(-8%, -8%) scale(1.2);
}

.ticket-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(34, 35, 54, 0.1), #3e406b 88%);
}

.ticket-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 104px;
  grid-template-columns: 54px 1fr 54px;
  align-items: end;
  padding: 28px 18px 19px;
  color: #fff;
}

.ticket-topbar h1 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 27px;
}

.ticket-back {
  display: grid;
  width: 46px;
  height: 46px;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 42px;
}

.ticket-scroll {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0 18px 40px;
}

.ticket-event-summary {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(25, 26, 50, 0.2);
}

.ticket-event-summary > img {
  width: 132px;
  height: 176px;
  object-fit: cover;
  border-radius: 12px;
}

.ticket-event-summary h2 {
  margin: 0 0 40px;
  font-size: 24px;
  line-height: 1.45;
}

.ticket-event-summary p {
  margin: 7px 0 0;
  color: #333740;
  font-size: 16px;
}

.ticket-pass {
  overflow: hidden;
  padding: 26px 20px 30px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(24, 25, 49, 0.22);
}

.ticket-count {
  margin-bottom: 10px;
  font-size: 18px;
}

.ticket-count b {
  color: var(--coral);
}

.ticket-pass > h2 {
  margin: 0;
  text-align: center;
  font-size: 24px;
}

.ticket-security-note {
  margin: 12px 0 18px;
  color: #a6a7ad;
  text-align: center;
  font-size: 16px;
}

.identity-panel {
  width: min(100%, 390px);
  margin: 0 auto 22px;
  padding: 34px 28px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8ec;
  box-shadow: 0 8px 24px rgba(45, 46, 70, 0.05);
}

.identity-card-art {
  display: grid;
  width: 245px;
  height: 145px;
  align-content: center;
  gap: 8px;
  margin: 0 auto 24px;
  color: #716a82;
  background:
    linear-gradient(150deg, rgba(198, 222, 255, 0.8), rgba(255, 238, 247, 0.92) 54%, rgba(217, 182, 255, 0.75)),
    #eff2f8;
  border-radius: 14px;
}

.identity-card-art span {
  font-size: 17px;
}

.identity-card-art strong {
  font-size: 23px;
  letter-spacing: 0.18em;
}

.identity-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.identity-panel p {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.identity-hidden {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 14px;
  color: #747581;
  background: #f3f4f9;
  border-radius: 9px;
}

.ticket-seat {
  margin: 0;
  text-align: center;
  font-size: 27px;
}

.ticket-price {
  margin: 15px 0 28px;
  color: #a5a6ac;
  text-align: center;
  font-size: 22px;
}

.ticket-type {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #777985;
  font-size: 17px;
}

.ticket-type i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #609ef5;
  background: #e3f0ff;
  border-radius: 17px;
  font-size: 29px;
}

.ticket-code {
  display: flex;
  justify-content: space-between;
  margin: 28px -20px 0;
  padding: 15px 20px;
  color: #f38aa8;
  background: linear-gradient(90deg, #fff7fb, #f6fffb, #fff8f2);
  border-top: 1px dashed #ecdfe5;
  border-bottom: 1px dashed #ecdfe5;
}

.ticket-code strong {
  font-weight: 600;
}

.ticket-detail-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 -20px;
  border-bottom: 1px solid #efeff2;
}

.ticket-detail-tabs button {
  position: relative;
  padding: 22px 8px 19px;
  color: #8a8b91;
  background: transparent;
  border: 0;
  font-size: 18px;
}

.ticket-detail-tabs button.is-active {
  color: #171920;
  font-weight: 800;
}

.ticket-detail-tabs button.is-active::after {
  position: absolute;
  right: 35%;
  bottom: 5px;
  left: 35%;
  height: 5px;
  content: "";
  background: #ff8c17;
  border-radius: 999px;
}

.ticket-warning {
  margin-top: 20px;
  padding: 20px;
  color: #ef4a70;
  background: linear-gradient(145deg, #fff1f5, #ffe6ee);
  border-radius: 18px;
}

.ticket-warning h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 20px;
}

.ticket-warning p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .ticket-topbar {
    min-height: 60px;
    padding: 8px 8px 7px;
  }

  .ticket-topbar h1 {
    font-size: 20px;
  }

  .ticket-back {
    width: 38px;
    height: 38px;
    font-size: 33px;
  }

  .ticket-scroll {
    padding: 0 10px 24px;
  }

  .ticket-event-summary {
    grid-template-columns: 76px 1fr;
    gap: 10px;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 15px;
  }

  .ticket-event-summary > img {
    width: 76px;
    height: 100px;
    border-radius: 8px;
  }

  .ticket-event-summary h2 {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.35;
  }

  .ticket-event-summary p {
    margin-top: 3px;
    font-size: 11px;
  }

  .ticket-pass {
    padding: 13px 10px 18px;
    border-radius: 16px;
  }

  .ticket-count {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .ticket-pass > h2 {
    font-size: 15px;
  }

  .ticket-security-note {
    margin: 6px 0 10px;
    font-size: 11px;
  }

  .identity-panel {
    width: 74%;
    margin-bottom: 12px;
    padding: 14px 12px;
  }

  .identity-card-art {
    width: 160px;
    height: 86px;
    gap: 4px;
    margin-bottom: 10px;
  }

  .identity-card-art span {
    font-size: 11px;
  }

  .identity-card-art strong {
    font-size: 16px;
  }

  .identity-panel h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .identity-panel p {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .identity-hidden {
    gap: 5px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .ticket-seat {
    font-size: 18px;
  }

  .ticket-price {
    margin: 5px 0 12px;
    font-size: 15px;
  }

  .ticket-type {
    gap: 5px;
    font-size: 13px;
  }

  .ticket-type i {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 21px;
  }

  .ticket-code {
    margin: 14px -10px 0;
    padding: 9px 10px;
    font-size: 10px;
  }

  .ticket-detail-tabs {
    margin-right: -10px;
    margin-left: -10px;
  }

  .ticket-detail-tabs button {
    padding: 12px 3px 11px;
    font-size: 12px;
  }

  .ticket-warning {
    margin-top: 12px;
    padding: 12px;
  }

  .ticket-warning h3 {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .ticket-warning p {
    font-size: 12px;
    line-height: 1.55;
  }
}
