.pass-shell {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(115deg, rgba(255, 249, 239, 0.96) 0%, rgba(255, 241, 224, 0.94) 44%, rgba(230, 246, 239, 0.9) 100%),
    var(--paper);
}

.pass-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(22px, 4vw, 54px);
}

.pass-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 520px;
}

.pass-hero-copy h1,
.pass-section h2,
.redeem-card h2,
.pass-faq-card h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
  color: var(--ink);
}

.pass-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(54px, 8vw, 116px);
  line-height: 0.9;
}

.pass-hero-copy .lead {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.pass-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pass-preview-link {
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pass-ticket {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: space-between;
  min-height: 520px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(107, 64, 36, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(60, 37, 23, 0.04), rgba(60, 37, 23, 0)),
    #fff8ee;
  box-shadow: 0 28px 70px rgba(124, 72, 32, 0.14);
}

.pass-ticket::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(107, 64, 36, 0.18);
  border-radius: 24px;
  pointer-events: none;
}

.ticket-topline,
.ticket-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ticket-number {
  position: relative;
  z-index: 1;
  font-family: "JetBrains Mono", monospace;
  color: var(--brand-deep);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.95;
}

.ticket-pet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.ticket-pet img {
  width: 150px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}

.ticket-pet strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 48px);
}

.ticket-pet span {
  color: var(--ink-soft);
  font-weight: 800;
}

.ticket-cut {
  position: absolute;
  left: -24px;
  right: -24px;
  bottom: 92px;
  border-top: 1px dashed rgba(107, 64, 36, 0.32);
}

.pass-flow,
.pass-section,
.pass-redeem-grid {
  margin: 0 clamp(18px, 3vw, 38px);
}

.pass-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pass-flow article,
.pass-section,
.redeem-card,
.pass-faq-card {
  border: 1px solid rgba(231, 211, 191, 0.86);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.82);
  box-shadow: 0 18px 38px rgba(124, 72, 32, 0.07);
}

.pass-flow article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.pass-flow span {
  color: var(--brand-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.pass-flow strong {
  font-size: 18px;
}

.pass-flow p,
.pass-tier p,
.pass-faq-card p,
.redeem-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.pass-section {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 34px);
}

.pass-section h2,
.redeem-card h2,
.pass-faq-card h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.pass-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pass-tier {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(107, 64, 36, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0.96), rgba(255, 240, 222, 0.84));
}

.pass-tier.is-featured {
  border-color: rgba(244, 123, 44, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 231, 207, 0.9));
  box-shadow: 0 22px 46px rgba(195, 92, 28, 0.14);
}

.pass-tier::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(244, 123, 44, 0.18);
}

.pass-tier-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pass-tier h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.pass-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--brand-deep);
}

.pass-price strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 42px;
}

.serial-sample {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.pass-benefits {
  display: grid;
  gap: 8px;
}

.pass-benefits span {
  color: var(--ink-soft);
  line-height: 1.45;
}

.pass-redeem-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 16px;
  align-items: start;
  justify-content: center;
  padding-bottom: clamp(20px, 3vw, 38px);
}

.redeem-card,
.pass-faq-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
}

.redeem-form {
  display: grid;
  gap: 14px;
}

.redeem-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.redeem-form input,
.redeem-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(107, 64, 36, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.redeem-form input:focus,
.redeem-form select:focus {
  border-color: rgba(244, 123, 44, 0.5);
  box-shadow: 0 0 0 4px rgba(244, 123, 44, 0.12);
}

.serial-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed rgba(107, 64, 36, 0.22);
  border-radius: 18px;
  background: rgba(255, 248, 238, 0.76);
}

.serial-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.link-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  cursor: pointer;
  font-weight: 800;
}

.serial-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.serial-pill {
  min-height: 40px;
  border: 1px solid rgba(107, 64, 36, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.serial-pill.active {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.redeem-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.55;
}

.redeem-status.success {
  color: #22785d;
}

.redeem-status.error {
  color: #b54122;
}

.mini-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-rules span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(244, 123, 44, 0.1);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .pass-hero,
  .pass-redeem-grid {
    grid-template-columns: 1fr;
  }

  .pass-hero-copy,
  .pass-ticket {
    min-height: auto;
  }

  .pass-flow,
  .pass-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pass-page {
    width: min(100vw - 20px, var(--max-width));
    margin-top: 10px;
  }

  .pass-hero {
    padding: 18px;
  }

  .pass-hero-copy h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .pass-ticket {
    padding: 22px;
    border-radius: 22px;
  }

  .ticket-pet {
    grid-template-columns: 96px 1fr;
  }

  .ticket-pet img {
    width: 96px;
  }

  .ticket-number {
    font-size: clamp(36px, 11vw, 48px);
  }

  .pass-flow,
  .pass-section,
  .pass-redeem-grid {
    margin: 0 12px;
  }

  .serial-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
