/* XinHammer Pro & Plus (/pass/) — Plan 1 Segmented Breathing Layout + Craft 1 Chipless Luxury Metal NFC Pass */

.v4-wrap {
  width: min(74rem, calc(100% - 2.4rem));
  margin-inline: auto;
}
@media (max-width: 30rem) {
  .v4-wrap { width: calc(100% - 1.5rem); }
}

.p1-hero {
  padding-block: clamp(2rem, 3.8vw, 3rem) clamp(2.2rem, 4vw, 2.8rem);
  text-align: center;
}
.p1-hero h1 {
  margin: 0;
  font-size: clamp(1.78rem, 3.4vw, 2.8rem);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.p1-hero-sub {
  margin: 0.58rem auto 0;
  max-width: 42rem;
  color: #64748b;
  font-size: clamp(0.86rem, 1.05vw, 0.95rem);
  line-height: 1.65;
}

/* Dynamic Contextual Credit / Deep-Link Banner */
.pro-credit-banner {
  margin: 1.15rem auto 0;
  max-width: 48rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  padding: 0.8rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(35, 80, 220, 0.22);
  background: linear-gradient(135deg, rgba(35, 80, 220, 0.06), rgba(212, 175, 114, 0.1));
  text-align: left;
}
.pro-credit-banner-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  flex: 1 1 15rem;
}
.pro-credit-banner-copy strong {
  color: #1e3a8a;
  font-size: 0.86rem;
  font-weight: 680;
}
.pro-credit-banner-copy span {
  color: #475569;
  font-size: 0.79rem;
  line-height: 1.5;
}

/* Segmented Controls */
.v4-seg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.45rem;
}
.pass-redeem-entry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.48rem 0.96rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #1e293b;
  font-size: 0.83rem;
  font-weight: 640;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.pass-redeem-entry-pill:hover {
  border-color: #2350dc;
  color: #2350dc;
  background: rgba(35, 80, 220, 0.04);
}
@media (prefers-color-scheme: dark) {
  .pass-redeem-entry-pill {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
  }
  .pass-redeem-entry-pill:hover {
    border-color: #60a5fa;
    color: #93c5fd;
  }
}
.v4-seg {
  display: inline-flex;
  max-width: 100%;
  padding: 0.26rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.v4-seg button {
  padding: 0.46rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 640;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.v4-seg button[aria-selected="true"] {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}
.v4-cycle-seg {
  display: inline-flex;
  max-width: 100%;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(35, 80, 220, 0.07);
  border: 1px solid rgba(35, 80, 220, 0.16);
}
.v4-cycle-seg button {
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 620;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.v4-cycle-seg button[aria-selected="true"] {
  background: #2350dc;
  color: #ffffff;
}

/* ========== 3 ALL-ACCESS PRO CARDS ========== */
.v4-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.6rem;
  align-items: stretch;
  text-align: left;
}
.v4-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 1.55rem;
  border-radius: 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 14px 34px -20px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  min-width: 0;
}
.v4-card:hover { transform: translateY(-3px); }
.v4-card--featured {
  border: 2px solid #2350dc;
  background: linear-gradient(180deg, rgba(35, 80, 220, 0.038), #ffffff 38%);
  box-shadow: 0 24px 48px -20px rgba(35, 80, 220, 0.26);
}
.v4-card--lifetime {
  border: 1.5px solid rgba(212, 175, 114, 0.55);
  background: linear-gradient(155deg, #0d1017 0%, #171920 55%, #221d15 100%);
  color: #f8fafc;
  box-shadow: 0 26px 54px -20px rgba(15, 23, 42, 0.55);
}

.v4-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}
.v4-card-icon-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v4-card-icon-slot svg {
  display: block;
  overflow: visible;
}

.v4-tag {
  display: inline-block;
  max-width: 100%;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}
.v4-tag--blue { background: #2350dc; color: #ffffff; }
.v4-tag--champagne {
  background: linear-gradient(135deg, #f3e5c8 0%, #d4af72 100%);
  color: #18181b;
  font-weight: 700;
}

.v4-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.26rem;
  font-weight: 740;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.v4-card--lifetime h3 { color: #ffffff; }
.v4-desc {
  margin: 0.28rem 0 0;
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.52;
}
.v4-card--lifetime .v4-desc { color: rgba(255, 255, 255, 0.72); }

.v4-price-box {
  display: grid;
  gap: 0.42rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.v4-card--lifetime .v4-price-box { border-bottom-color: rgba(255, 255, 255, 0.12); }
.v4-price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.18rem;
}
.v4-yen { font-size: 1.15rem; font-weight: 700; color: #0f172a; }
.v4-num {
  font-size: 2.48rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.v4-unit { font-size: 0.83rem; color: #64748b; }
.v4-strike { font-size: 0.82rem; color: #94a3b8; margin-left: 0.35rem; }
.v4-card--lifetime .v4-yen,
.v4-card--lifetime .v4-num { color: #f3e5c8; }
.v4-card--lifetime .v4-unit { color: rgba(255, 255, 255, 0.72); }
.v4-card--lifetime .v4-strike { color: rgba(255, 255, 255, 0.45); }

.pro-credit-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.16rem 0.56rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #047857;
  font-size: 0.74rem;
  font-weight: 660;
}
.pro-credit-pill--champagne {
  background: rgba(229, 198, 142, 0.16);
  border-color: rgba(229, 198, 142, 0.4);
  color: #f3e5c8;
}

.v4-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.54rem;
  flex: 1;
}
.v4-ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.54;
  color: #334155;
}
.v4-ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2350dc;
}
.v4-ul strong { color: #0f172a; font-weight: 640; }
.v4-card--lifetime .v4-ul li { color: rgba(255, 255, 255, 0.9); }
.v4-card--lifetime .v4-ul li::before { color: #e5c68e; }
.v4-card--lifetime .v4-ul strong { color: #f3e5c8; }

.pro-plan-cta {
  width: 100%;
  justify-content: center;
  padding: 0.76rem 0.95rem !important;
  font-size: 0.9rem !important;
}
.v4-btn-champagne {
  background: linear-gradient(135deg, #f5e9d0 0%, #dfc088 52%, #c69f5f 100%) !important;
  color: #141416 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 720 !important;
  box-shadow: 0 10px 24px -10px rgba(212, 175, 114, 0.42);
}
.v4-btn-champagne:hover { filter: brightness(1.04); }

/* ========== 7 SINGLE PLUS & SCENE PACK CARDS ========== */
.v4-plus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
  margin-top: 1.5rem;
  text-align: left;
}
.v4-plus-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
  padding: 1.32rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
.v4-plus-card:hover { transform: translateY(-2px); }
.v4-plus-card.is-focused {
  border: 2px solid #2350dc;
  box-shadow: 0 0 0 4px rgba(35, 80, 220, 0.14), 0 18px 36px -16px rgba(35, 80, 220, 0.24);
}
.v4-plus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.v4-plus-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.34rem;
}
.single-owned-pill {
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 680;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}
.v4-plus-card h3 {
  margin: 0.65rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 730;
  color: #0f172a;
}
.v4-plus-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.52;
}
.v4-plus-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}
.v4-plus-price strong {
  font-size: 1.42rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.v4-plus-price span {
  font-size: 0.78rem;
  color: #64748b;
  margin-left: 0.15rem;
}
.v4-anchor-tip {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #475569;
}
.v4-anchor-tip button {
  background: none;
  border: 0;
  padding: 0;
  color: #2350dc;
  font-size: inherit;
  font-family: inherit;
  font-weight: 660;
  cursor: pointer;
}
.v4-anchor-tip button:hover { text-decoration: underline; }

/* ========== SECTION 2: CRAFT 1 LUXURY METAL NFC PASS & INSTANT REDEEM ========== */
.p1-wallet-sec {
  padding-block: clamp(2.1rem, 4vw, 2.8rem) clamp(2.6rem, 5vw, 3.4rem);
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(15, 23, 42, 0.02);
}
.pass-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  align-items: start;
}
.v4-wallet-col {
  display: grid;
  gap: 0.78rem;
  min-width: 0;
}
.pass-card-scene { perspective: 1100px; }

.xh-lux-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 30%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.05rem;
  min-height: 14.8rem;
  padding: clamp(1.2rem, 2.3vw, 1.55rem) clamp(1.2rem, 2.5vw, 1.65rem);
  border-radius: 1.35rem;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 28px 56px -18px rgba(15, 23, 42, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease;
}
.xh-lux-card[data-finish="free"] {
  background:
    radial-gradient(ellipse at 22% 15%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(132deg, #3a4352 0%, #596579 46%, #2c3340 100%);
  border-color: rgba(226, 232, 240, 0.45);
}
.xh-lux-card[data-finish="single"],
.xh-lux-card[data-finish="scene"] {
  background:
    radial-gradient(ellipse at 22% 15%, rgba(186, 230, 253, 0.26), transparent 55%),
    linear-gradient(132deg, #0f2347 0%, #1d448f 48%, #0b1833 100%);
  border-color: rgba(147, 197, 253, 0.48);
}
.xh-lux-card[data-finish="monthly"],
.xh-lux-card[data-finish="yearly"] {
  background:
    radial-gradient(ellipse at 24% 16%, rgba(219, 234, 254, 0.3), transparent 56%),
    linear-gradient(130deg, #12224d 0%, #1e40af 38%, #3b82f6 54%, #172e6e 84%, #0c1738 100%);
  border-color: rgba(191, 219, 254, 0.6);
}
.xh-lux-card[data-finish="lifetime"] {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(229, 198, 142, 0.16), transparent 52%),
    linear-gradient(135deg, #0a0c10 0%, #1a1c23 44%, #25211b 72%, #090a0e 100%);
  border-color: rgba(212, 175, 114, 0.5);
}

.xh-lux-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.1) 44%, transparent 62%);
  pointer-events: none;
}
.xh-lux-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 260px at var(--mx) var(--my), rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.xh-lux-guilloche {
  position: absolute;
  right: -3.2rem;
  top: 50%;
  width: 17rem;
  height: 17rem;
  transform: translateY(-50%);
  opacity: 0.14;
  pointer-events: none;
}
.xh-lux-guilloche svg { display: block; width: 100%; height: 100%; }

.xh-lux-top,
.xh-lux-mid,
.xh-lux-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.xh-lux-wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.xh-lux-wordmark strong {
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.xh-lux-wordmark small {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1px;
}
.xh-lux-serial {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xh-lux-card[data-finish="lifetime"] .xh-lux-serial {
  color: #f3e5c8;
  border-color: rgba(229, 198, 142, 0.35);
}

.xh-lux-chip-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.xh-lux-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.xh-lux-mark svg { display: block; }
.xh-lux-title-block { min-width: 0; }
.xh-lux-title-block span {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.76);
}
.xh-lux-title-block h2 {
  margin: 0.16rem 0 0;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  font-weight: 760;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}
.xh-lux-quota {
  text-align: right;
  flex-shrink: 0;
}
.xh-lux-quota small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}
.xh-lux-quota strong {
  display: block;
  font-size: clamp(1.38rem, 2.1vw, 1.65rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.xh-lux-card[data-finish="lifetime"] .xh-lux-quota strong { color: #f3e5c8; }

.xh-lux-foot {
  padding-top: 0.62rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.84);
  flex-wrap: wrap;
}

.v4-lux-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}
.pass-tier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}
.pass-tier-pill {
  padding: 0.34rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 560;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.pass-tier-pill[aria-pressed="true"] {
  border-color: #2350dc;
  background: #2350dc;
  color: #ffffff;
}
.pass-back-mine {
  border: 1px solid rgba(35, 80, 220, 0.28);
  background: rgba(35, 80, 220, 0.07);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 620;
  font-family: inherit;
  cursor: pointer;
}
.pass-link-btn {
  background: none;
  border: 0;
  padding: 0.2rem 0;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.pro-nfc-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.88rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 114, 0.34);
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.95), rgba(243, 229, 200, 0.45));
}
.pro-nfc-status-copy { display: grid; gap: 0.18rem; min-width: 0; }
.pro-nfc-status-copy strong { color: #3f311c; font-size: 0.88rem; }
.pro-nfc-status-copy span { color: #6b5635; font-size: 0.78rem; line-height: 1.48; }

/* Right Column: Instant Redeem Panel */
.pass-panel {
  padding: 1.5rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.pass-panel-badge {
  display: inline-block;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 640;
}
.pass-panel-badge--spend { background: rgba(35, 80, 220, 0.1); color: #1d4ed8; }
.pass-panel-head h2 {
  margin: 0.5rem 0 0;
  font-size: 1.18rem;
  font-weight: 720;
  color: #0f172a;
}
.pass-panel-desc {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #475569;
}
.pass-panel-desc code {
  padding: 0.1rem 0.36rem;
  border-radius: 0.35rem;
  background: rgba(35, 80, 220, 0.08);
  color: #1d4ed8;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
}

.pass-order-form { display: grid; gap: 0.55rem; }
.pass-order-row2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}
.pass-input,
.pass-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.88rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 0.82rem;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.pass-input--subtle {
  padding: 0.54rem 0.82rem;
  font-size: 0.8rem;
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.09);
}
.pass-input:focus,
.pass-textarea:focus {
  outline: none;
  border-color: #2350dc;
  box-shadow: 0 0 0 3px rgba(35, 80, 220, 0.14);
}

.pro-coupons-box {
  padding: 0.88rem 1rem;
  border-radius: 0.95rem;
  border: 1px dashed rgba(212, 175, 114, 0.55);
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.95), rgba(243, 229, 200, 0.45));
  display: grid;
  gap: 0.55rem;
}
.pro-coupons-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pro-coupons-head strong { font-size: 0.84rem; color: #3f311c; }
.pro-coupons-head a { font-size: 0.78rem; font-weight: 640; color: #8a642c; }
.pro-coupons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}
.pro-coupons-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.52rem 0.72rem;
  border-radius: 0.72rem;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 114, 0.3);
  font-size: 0.8rem;
}
.pro-coupons-list code {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: #1d4ed8;
  margin-left: 0.4rem;
}

.pass-order-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.pass-order-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.8rem;
}
.pass-order-history strong { display: block; color: #0f172a; font-size: 0.82rem; }
.pass-order-history span { color: #64748b; }
.pass-order-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 620;
  white-space: nowrap;
}
.pass-order-tag--ok { background: rgba(16, 185, 129, 0.14); color: #047857; }
.pass-order-tag--pending { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.pass-order-tag--rej { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.v4-footnote {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.76rem;
  line-height: 1.62;
  color: #64748b;
}
.v4-footnote a { color: #2350dc; font-weight: 560; }

/* Buttons */
.pass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.66rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 620;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, filter 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.pass-btn:hover { filter: brightness(1.03); }
.pass-btn:active { transform: scale(0.985); }
.pass-btn--sm { padding: 0.46rem 0.88rem; font-size: 0.8rem; }
.pass-btn--primary { background: #2350dc; color: #ffffff; }
.pass-btn--wx { background: #07c160; color: #ffffff; font-weight: 660; }
.pass-btn--gold {
  background: linear-gradient(135deg, #f5e9d0 0%, #dfc088 52%, #c69f5f 100%);
  color: #141416;
  font-weight: 700;
}
.pass-btn--outline { background: transparent; border-color: rgba(15, 23, 42, 0.18); color: #0f172a; }
.pass-btn--outline:hover { border-color: #2350dc; color: #1d4ed8; }

/* Dialogs */
.pass-dialog {
  width: min(34rem, calc(100vw - 1.5rem));
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1.3rem;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 32px 80px -20px rgba(15, 23, 42, 0.38);
}
.pass-dialog::backdrop {
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
}
.pass-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.pass-dialog-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 640;
  color: #2350dc;
  letter-spacing: 0.04em;
}
.pass-dialog-head h3 { margin: 0.25rem 0 0; font-size: 1.15rem; font-weight: 700; }
.pass-dialog-close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  color: #475569;
  cursor: pointer;
}
.pass-dialog-body {
  padding: 1.2rem 1.35rem 1.35rem;
  display: grid;
  gap: 1rem;
}
.pass-dialog-desc { margin: 0; font-size: 0.88rem; line-height: 1.65; color: #475569; }
.pass-dialog-foot { display: flex; justify-content: flex-end; gap: 0.6rem; }

.pro-buy-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(35, 80, 220, 0.06), rgba(212, 175, 114, 0.09));
  border: 1px solid rgba(35, 80, 220, 0.18);
}
.pro-buy-summary strong { display: block; font-size: 1.02rem; color: #0f172a; }
.pro-buy-summary span { display: block; margin-top: 0.18rem; font-size: 0.8rem; color: #475569; }
.pro-buy-summary .pro-buy-credit-note {
  margin-top: 0.32rem;
  display: inline-block;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  font-size: 0.74rem;
  font-weight: 660;
}
.pro-buy-price-col { text-align: right; flex-shrink: 0; }
.pro-buy-price { font-size: 1.6rem; font-weight: 800; color: #1d4ed8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-buy-orig-price { display: block; font-size: 0.8rem; color: #94a3b8; font-variant-numeric: tabular-nums; }

.pro-buy-upsell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  padding: 0.7rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(35, 80, 220, 0.32);
  background: rgba(35, 80, 220, 0.04);
  font-size: 0.8rem;
  color: #334155;
}
.pro-buy-upsell span { flex: 1 1 14rem; line-height: 1.5; }

.pro-buy-account-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  border-radius: 0.85rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
}
.pro-buy-account-bar strong { color: #0f172a; margin-right: auto; }

.pro-buy-channels { display: grid; gap: 0.8rem; }
.pro-buy-channel {
  padding: 0.95rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  display: grid;
  gap: 0.48rem;
}
.pro-buy-channel strong { font-size: 0.9rem; color: #0f172a; }
.pro-buy-channel p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: #475569; }
.pro-buy-channel-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.pro-buy-channel--wxpay { border-color: rgba(7, 193, 96, 0.32); background: linear-gradient(180deg, rgba(7, 193, 96, 0.04), #ffffff 48%); }
.pro-wxpay-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.pro-wxpay-badge { padding: 0.16rem 0.56rem; border-radius: 999px; font-size: 0.72rem; font-weight: 650; background: rgba(15, 23, 42, 0.07); color: #475569; }
.pro-wxpay-badge[data-ready="true"] { background: rgba(7, 193, 96, 0.14); color: #047857; }
.pro-wxpay-qr-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 0.85rem; border-radius: 0.95rem; background: #f8fafc; border: 1px solid rgba(7, 193, 96, 0.24); }
.pro-wxpay-qr-wrap { width: 156px; height: 156px; flex: none; padding: 8px; border-radius: 0.85rem; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.2); }
.pro-wxpay-qr-wrap canvas { display: block; width: 100%; height: 100%; }
.pro-wxpay-qr-meta { display: grid; gap: 0.38rem; flex: 1 1 12rem; min-width: 0; }
.pro-wxpay-qr-meta strong { font-size: 0.92rem; color: #047857; }
.pro-wxpay-qr-meta span { font-size: 0.76rem; color: #64748b; font-family: ui-monospace, Consolas, monospace; word-break: break-all; }

.pass-poster-body { justify-items: center; }
.pass-poster-canvas-wrap {
  width: min(100%, 22rem);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.25);
}
.pass-poster-canvas-wrap canvas { display: block; width: 100%; height: auto; }
.pass-poster-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

.pass-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: min(92vw, 30rem);
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 560;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.48);
}

/* Dark Mode 1:1 Adaptation */
@media (prefers-color-scheme: dark) {
  .p1-hero h1,
  .v4-card h3,
  .v4-yen,
  .v4-num,
  .v4-ul strong,
  .v4-plus-card h3,
  .v4-plus-price strong,
  .pass-panel-head h2,
  .pass-order-history strong,
  .pro-buy-summary strong,
  .pro-buy-account-bar strong,
  .pro-buy-channel strong { color: #f8fafc; }

  .v4-card--lifetime .v4-yen,
  .v4-card--lifetime .v4-num,
  .v4-card--lifetime .v4-ul strong { color: #f3e5c8; }

  .p1-hero-sub,
  .pro-credit-banner-copy span,
  .v4-desc,
  .v4-ul li,
  .v4-plus-sub,
  .v4-anchor-tip,
  .pass-panel-desc,
  .v4-footnote,
  .pass-dialog-desc,
  .pro-buy-summary span,
  .pro-buy-upsell,
  .pro-buy-channel p { color: #94a3b8; }

  .v4-seg { background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.18); }
  .v4-seg button { color: #94a3b8; }
  .v4-seg button[aria-selected="true"] { background: #1e293b; color: #f8fafc; }
  .v4-cycle-seg { background: rgba(59, 130, 246, 0.14); border-color: rgba(96, 165, 250, 0.28); }
  .v4-cycle-seg button { color: #cbd5e1; }
  .v4-cycle-seg button[aria-selected="true"] { background: #3b82f6; color: #ffffff; }

  .v4-tag { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; }
  .v4-tag--blue { background: #2563eb; color: #ffffff; }
  .v4-tag--champagne { background: linear-gradient(135deg, #f3e5c8 0%, #d4af72 100%); color: #18181b; }

  .v4-card,
  .v4-plus-card,
  .pass-panel,
  .pro-buy-channel,
  .pass-dialog {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.16);
  }
  .v4-card--featured {
    border-color: #60a5fa;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), #111827 40%);
  }
  .v4-card--lifetime {
    border-color: rgba(212, 175, 114, 0.55);
    background: linear-gradient(155deg, #0b0d13 0%, #171920 58%, #252017 100%);
  }
  .v4-plus-card.is-focused {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 18px 36px -16px rgba(15, 23, 42, 0.5);
  }
  .v4-price-box,
  .v4-plus-foot,
  .p1-wallet-sec,
  .v4-footnote { border-color: rgba(148, 163, 184, 0.14); }
  .p1-wallet-sec { background: rgba(15, 23, 42, 0.35); }

  .pro-credit-banner,
  .pro-buy-upsell {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(212, 175, 114, 0.12));
    border-color: rgba(96, 165, 250, 0.32);
  }
  .pro-credit-banner-copy strong { color: #bfdbfe; }
  .v4-anchor-tip button,
  .v4-footnote a { color: #93c5fd; }

  .single-owned-pill,
  .pro-credit-pill,
  .pro-buy-summary .pro-buy-credit-note {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
  }
  .pro-nfc-status-box,
  .pro-coupons-box {
    background: rgba(212, 175, 114, 0.12);
    border-color: rgba(212, 175, 114, 0.32);
  }
  .pro-nfc-status-copy strong,
  .pro-coupons-head strong { color: #f3e5c8; }
  .pro-nfc-status-copy span,
  .pro-coupons-head a { color: #dfc088; }
  .pro-coupons-list li,
  .pass-order-history li,
  .pro-buy-account-bar { background: #0d1322; border-color: rgba(148, 163, 184, 0.14); color: #e2e8f0; }
  .pro-coupons-list code,
  .pass-panel-desc code { color: #93c5fd; }
  .pass-panel-desc code { background: rgba(59, 130, 246, 0.18); }

  .pass-tier-pill { background: #1e293b; border-color: rgba(148, 163, 184, 0.22); color: #cbd5e1; }
  .pass-tier-pill[aria-pressed="true"] { background: #3b82f6; border-color: #3b82f6; color: #ffffff; }
  .pass-back-mine { background: rgba(59, 130, 246, 0.16); border-color: rgba(96, 165, 250, 0.35); color: #93c5fd; }
  .pass-input,
  .pass-textarea { background: #0b1120; border-color: rgba(148, 163, 184, 0.24); color: #f8fafc; }
  .pass-btn--outline { border-color: rgba(148, 163, 184, 0.28); color: #e2e8f0; }
  .pass-btn--outline:hover { border-color: #60a5fa; color: #93c5fd; }

  .pass-dialog { color: #f8fafc; }
  .pass-dialog-head { border-bottom-color: rgba(148, 163, 184, 0.16); }
  .pass-dialog-close { border-color: rgba(148, 163, 184, 0.24); color: #cbd5e1; }
  .pro-buy-price { color: #93c5fd; }
  .pro-buy-channel--wxpay { background: linear-gradient(180deg, rgba(7, 193, 96, 0.11), #111827 50%); border-color: rgba(52, 211, 153, 0.32); }
  .pro-wxpay-qr-panel { background: #0d1322; border-color: rgba(52, 211, 153, 0.28); }
  .pro-wxpay-qr-meta strong { color: #6ee7b7; }
  .pro-wxpay-badge { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
  .pro-wxpay-badge[data-ready="true"] { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
  .pass-toast { background: #f8fafc; color: #0f172a; }
}

/* ---------- Magic Auto-Fill Redeem Dialog ---------- */
.pass-magic-dialog {
  width: min(32rem, calc(100vw - 1.5rem));
}
.pass-magic-body {
  gap: 0.95rem;
}
.magic-preview-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(35, 80, 220, 0.08), rgba(212, 175, 114, 0.12));
  border: 1px solid rgba(35, 80, 220, 0.22);
}
.magic-preview-card[data-state="lifetime"] {
  background: linear-gradient(145deg, #10131c 0%, #1f1d18 65%, #2b2419 100%);
  border-color: rgba(229, 198, 142, 0.55);
  color: #f8fafc;
}
.magic-preview-card[data-state="claimed"],
.magic-preview-card[data-state="invalid"] {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(148, 163, 184, 0.35);
}
.magic-preview-emblem {
  flex: none;
  display: grid;
  place-items: center;
}
.magic-preview-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.magic-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.magic-preview-row strong {
  font-size: 1.02rem;
  font-weight: 760;
  color: inherit;
}
.magic-preview-copy p {
  margin: 0.28rem 0 0;
  font-size: 0.81rem;
  line-height: 1.55;
  color: #475569;
}
.magic-preview-card[data-state="lifetime"] .magic-preview-copy p {
  color: rgba(243, 229, 200, 0.82);
}
.magic-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.56rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}
.magic-preview-card[data-state="lifetime"] .magic-state-pill {
  background: rgba(229, 198, 142, 0.2);
  color: #f3e5c8;
}
.magic-preview-card[data-state="claimed"] .magic-state-pill,
.magic-preview-card[data-state="invalid"] .magic-state-pill {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}
.magic-field-label {
  display: grid;
  gap: 0.38rem;
  font-size: 0.78rem;
  font-weight: 640;
  color: #475569;
}
.magic-code-input {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.magic-account-bar {
  justify-content: space-between;
}
.magic-account-meta {
  display: grid;
  gap: 0.14rem;
}
.magic-account-meta span {
  font-size: 0.74rem;
  color: #64748b;
}
.magic-account-meta strong {
  font-size: 0.88rem;
}
.magic-actions {
  display: grid;
  gap: 0.5rem;
}
.magic-submit-btn {
  width: 100%;
  padding: 0.82rem 1.2rem;
  font-size: 0.94rem;
  font-weight: 720;
}

/* ---------- Ceremonial 3D Metal Card Forging & Unlocking Dialog ---------- */
.pass-celebrate-dialog {
  width: min(35.5rem, calc(100vw - 1.25rem));
  max-height: calc(100dvh - 1.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(229, 198, 142, 0.36);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.22), transparent 54%),
              radial-gradient(circle at 82% 18%, rgba(229, 198, 142, 0.18), transparent 48%),
              linear-gradient(165deg, #090d18 0%, #101729 55%, #080b14 100%);
  color: #f8fafc;
  box-shadow: 0 36px 90px -18px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.pass-celebrate-dialog::backdrop {
  background: radial-gradient(circle at 50% 35%, rgba(17, 24, 39, 0.74), rgba(5, 8, 16, 0.88));
  backdrop-filter: blur(8px);
}
.celebrate-confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.celebrate-stage {
  position: relative;
  z-index: 2;
  padding: 1.55rem 1.45rem 1.45rem;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
}
.celebrate-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.celebrate-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.celebrate-crest {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #f3e5c8;
  background: radial-gradient(circle, rgba(229, 198, 142, 0.22), rgba(229, 198, 142, 0.04));
  box-shadow: 0 0 28px rgba(229, 198, 142, 0.28);
}
.pass-celebrate-dialog.is-animating .celebrate-crest {
  animation: xhCrestPop 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.celebrate-crest-ring {
  stroke-dasharray: 160;
  stroke-dashoffset: 0;
}
.celebrate-crest-check {
  stroke-dasharray: 42;
  stroke-dashoffset: 0;
}
.pass-celebrate-dialog.is-animating .celebrate-crest-ring {
  animation: xhStrokeRing 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pass-celebrate-dialog.is-animating .celebrate-crest-check {
  animation: xhStrokeCheck 0.48s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.celebrate-kicker {
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  color: #f3e5c8;
  text-transform: uppercase;
}
.celebrate-title {
  margin: 0;
  font-size: clamp(1.32rem, 3.2vw, 1.65rem);
  font-weight: 820;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, #ffffff 15%, #f3e5c8 68%, #dfc088 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.celebrate-sub {
  margin: 0;
  max-width: 28rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #94a3b8;
}
.celebrate-card-stage {
  width: 100%;
  max-width: 28.5rem;
  margin: 0.35rem 0 0.25rem;
  perspective: 1200px;
  text-align: left;
}
.celebrate-lux-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 56px -16px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
.pass-celebrate-dialog.is-animating .celebrate-lux-card {
  animation: xhMetalCardForge 0.88s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.celebrate-laser-beam {
  position: absolute;
  top: -35%;
  bottom: -35%;
  width: 44%;
  left: -65%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(243, 229, 200, 0.12) 35%,
    rgba(255, 255, 255, 0.62) 50%,
    rgba(147, 197, 253, 0.16) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 4;
}
.pass-celebrate-dialog.is-animating .celebrate-laser-beam {
  animation: xhLaserSweep 1.15s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.celebrate-perks {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  width: 100%;
  max-width: 28.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
  text-align: left;
}
.celebrate-perks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.72rem;
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 580;
  color: #e2e8f0;
  line-height: 1.4;
}
.celebrate-perk-dot {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  display: grid;
  place-items: center;
}
.pass-celebrate-dialog.is-animating .celebrate-perks li {
  animation: xhPerkRise 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pass-celebrate-dialog.is-animating .celebrate-perks li:nth-child(1) { animation-delay: 0.36s; }
.pass-celebrate-dialog.is-animating .celebrate-perks li:nth-child(2) { animation-delay: 0.44s; }
.pass-celebrate-dialog.is-animating .celebrate-perks li:nth-child(3) { animation-delay: 0.52s; }
.pass-celebrate-dialog.is-animating .celebrate-perks li:nth-child(4) { animation-delay: 0.60s; }

.celebrate-coupon-strip {
  width: 100%;
  max-width: 28.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.68rem 0.9rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(229, 198, 142, 0.16), rgba(212, 175, 114, 0.07));
  border: 1px solid rgba(229, 198, 142, 0.4);
  text-align: left;
}
.celebrate-coupon-info {
  display: grid;
  gap: 0.14rem;
}
.celebrate-coupon-info strong {
  font-size: 0.8rem;
  color: #f3e5c8;
}
.celebrate-coupon-info code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 720;
  color: #ffffff;
}
.celebrate-foot-actions {
  width: 100%;
  max-width: 28.5rem;
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.celebrate-ghost-btn {
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.celebrate-ghost-btn:hover {
  border-color: #f3e5c8 !important;
  color: #f3e5c8 !important;
}
.celebrate-main-btn {
  flex: 1 1 12rem;
  box-shadow: 0 12px 28px -8px rgba(212, 175, 114, 0.48);
}

@keyframes xhCrestPop {
  0% { opacity: 0; transform: scale(0.55); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes xhStrokeRing {
  0% { stroke-dashoffset: 160; }
  100% { stroke-dashoffset: 0; }
}
@keyframes xhStrokeCheck {
  0% { stroke-dashoffset: 42; }
  100% { stroke-dashoffset: 0; }
}
@keyframes xhMetalCardForge {
  0% {
    opacity: 0;
    transform: rotateY(-32deg) rotateX(11deg) translateY(22px) scale(0.86);
  }
  62% {
    opacity: 1;
    transform: rotateY(4deg) rotateX(-2deg) translateY(-2px) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) rotateX(0deg) translateY(0) scale(1);
  }
}
@keyframes xhLaserSweep {
  0% { left: -65%; opacity: 0; }
  18% { opacity: 1; }
  85% { opacity: 0.95; }
  100% { left: 135%; opacity: 0; }
}
@keyframes xhPerkRise {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-color-scheme: dark) {
  .magic-preview-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(212, 175, 114, 0.12));
    border-color: rgba(96, 165, 250, 0.32);
  }
  .magic-preview-copy p,
  .magic-field-label { color: #cbd5e1; }
  .magic-preview-card[data-state="claimed"],
  .magic-preview-card[data-state="invalid"] {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(148, 163, 184, 0.25);
  }
  .magic-preview-card[data-state="claimed"] .magic-state-pill,
  .magic-preview-card[data-state="invalid"] .magic-state-pill {
    background: rgba(248, 113, 113, 0.2);
    color: #fca5a5;
  }
  .pass-celebrate-dialog {
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.24), transparent 54%),
                radial-gradient(circle at 82% 18%, rgba(229, 198, 142, 0.2), transparent 48%),
                linear-gradient(165deg, #090d18 0%, #101729 55%, #080b14 100%);
  }
}

@media (max-width: 36rem) {
  .celebrate-stage { padding: 1.3rem 1rem 1.2rem; }
  .celebrate-perks { grid-template-columns: minmax(0, 1fr); }
  .magic-preview-card { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .pass-celebrate-dialog.is-animating .celebrate-crest,
  .pass-celebrate-dialog.is-animating .celebrate-crest-ring,
  .pass-celebrate-dialog.is-animating .celebrate-crest-check,
  .pass-celebrate-dialog.is-animating .celebrate-lux-card,
  .pass-celebrate-dialog.is-animating .celebrate-laser-beam,
  .pass-celebrate-dialog.is-animating .celebrate-perks li {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 60rem) {
  .v4-pro-grid,
  .pass-dual-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .v4-plus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 42rem) {
  .v4-plus-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .v4-seg button {
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 36rem) {
  .pass-order-row2 { grid-template-columns: minmax(0, 1fr); }
  .pro-nfc-status-box,
  .pro-coupons-list li { flex-direction: column; align-items: flex-start; }
  .xh-lux-mid { flex-direction: column; align-items: flex-start; }
  .xh-lux-quota { text-align: left; }
}
@media (max-width: 24rem) {
  .v4-seg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    box-sizing: border-box;
  }
  .v4-seg button {
    padding: 0.4rem 0.35rem;
    font-size: 0.74rem;
    white-space: normal;
    line-height: 1.25;
  }
  .v4-cycle-seg button {
    padding: 0.32rem 0.62rem;
    font-size: 0.74rem;
  }
  .xh-lux-top {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
}
