.receipt-page { min-height: 100vh; background: radial-gradient(ellipse at 68% 25%, #542038 0, transparent 55%), var(--paper); }
.receipt-support { color: var(--muted); font-size: .9rem; }
.receipt { width: min(42rem, calc(100% - 2.5rem)); margin: clamp(2rem, 5vw, 4.8rem) auto; }
.receipt-pass { border: 1px solid #864758; border-radius: 22px; background: linear-gradient(132deg, #582436, #3b1626 70%); box-shadow: inset 0 1px #ffe4c911, 0 24px 65px #20081855; }
.receipt-intro, .receipt-stub { padding: clamp(1.4rem, 4vw, 2.8rem); }
.receipt-intro { position: relative; }
.receipt h1 { margin: .55rem 0 1rem; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: .92; }
.receipt h1 em { color: #ffc3b4; }
.receipt-intro p:not(.pass-label) { max-width: 39ch; color: var(--muted); }
.receipt-intro > .cta { margin-top: 1.4rem; }
.receipt-gift { float: right; width: clamp(5rem, 17vw, 11rem); height: auto; margin: .6rem -.3rem 1rem 1rem; transform: rotate(9deg); }
.receipt-stub { border-top: 1px dashed #9b6273; background: #2c101944; border-radius: 0 0 22px 22px; }
.receipt-key-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.receipt h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
#copy-license { padding: .35rem .7rem; border-radius: 6px; border: 1px solid #865165; background: transparent; color: #ffd0bb; font-size: .85rem; }
#license { display: block; padding: .9rem 1rem; background: #2d0f1b; border: 1px solid var(--line); border-radius: 8px; color: #ffe3d3; font: .95rem/1.6 ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.receipt-spec { margin: .55rem 0 0; font-size: .82rem; color: var(--subtle); overflow-wrap: anywhere; }
.receipt-stub .cta { margin-top: 1.35rem; }
.receipt-setup { padding: 1.5rem clamp(.2rem, 3vw, 2.8rem); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: baseline; }
.receipt-setup p { color: var(--muted); font-size: .9rem; }
@media (max-width: 450px) {
  .receipt-gift { width: 4.25rem; margin-left: .4rem; }
  .receipt-setup { grid-template-columns: 1fr; gap: .4rem; }
}
