:root {
  --ink: #171e2c;
  --muted: #75808f;
  --line: #e1e5e9;
  --green: #087c65;
  --tint: #f2faf7;
  --radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, input, a { outline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); }
p, h1, h2 { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.site-header { border-bottom: 1px solid #eceef0; }
.header-inner { max-width: 1240px; margin: auto; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 32px; font-weight: 720; letter-spacing: -1.6px; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.text-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.text-link:hover { color: var(--green); }
.text-button { background: none; border: 0; padding: 10px 0 10px 12px; color: var(--ink); font-size: 16px; }
.text-button:hover { color: var(--green); }
.page { max-width: 1240px; margin: auto; }
.intro { text-align: center; padding: 48px 0 46px; }
h1 { font-size: 48px; line-height: 1.25; font-weight: 700; letter-spacing: -1.5px; }
.intro p { font-size: 20px; color: #626c7c; margin-top: 12px; line-height: 1.5; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(310px, 1.04fr); gap: 36px; align-items: start; }
.form-section { margin: 0 0 42px; padding: 0; border: 0; min-width: 0; }
.form-section h2, legend { display: flex; align-items: center; gap: 24px; margin: 0 0 20px; padding: 0; font-size: 20px; font-weight: 650; line-height: 1.5; }
.form-section h2 > span, legend > span { color: var(--green); font-size: 28px; font-weight: 650; font-variant-numeric: tabular-nums; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.product-card { overflow: hidden; position: relative; min-height: 236px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.product-card:hover { border-color: #8ebdaf; box-shadow: 0 10px 28px #18251e0d; transform: translateY(-2px); }
.product-card:has(input:checked) { border-color: var(--green); box-shadow: 0 12px 34px #087c6514; }
.product-card:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 4px; }
.product-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-art { height: 108px; background: #18382d; position: relative; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .88; mix-blend-mode: screen; }
.product-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d2d23aa, transparent 58%); pointer-events: none; }
.product-art-label { position: absolute; z-index: 1; left: 18px; top: 15px; color: #f4f0df; font-size: 12px; letter-spacing: .17em; font-weight: 600; }
.product-card-body { min-height: 126px; padding: 16px 18px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; }
.product-card-body strong { font-size: 18px; font-weight: 650; line-height: 1.45; }
.product-card-body p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.product-card-price { color: var(--green); font-size: 20px; font-weight: 700; white-space: nowrap; }
.product-card-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.product-duration { color: var(--ink); font-size: 13px; }
.product-spec-count { color: var(--muted); font-size: 13px; align-self: center; white-space: nowrap; }
.tier-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.tier-option { position: relative; min-height: 68px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 11px 28px 11px 12px; border: 1px solid #d7e0dc; border-radius: 5px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.tier-option:hover { border-color: #8ebdaf; }.tier-option.is-selected { border-color: var(--green); background: var(--tint); }.tier-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }.tier-option input:focus-visible + .tier-name { outline: 2px solid var(--green); outline-offset: 3px; }.tier-name { font-size: 14px; font-weight: 650; }.tier-option strong { color: var(--green); font-size: 14px; }.tier-check { position: absolute; right: 8px; top: 8px; width: 17px; height: 17px; border: 1px solid #a8b0b8; border-radius: 50%; color: var(--green); display: grid; place-items: center; }.tier-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; opacity: 0; }.tier-option.is-selected .tier-check { border-color: var(--green); }.tier-option.is-selected .tier-check svg { opacity: 1; }
.product-selected { width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid #a8b0b8; border-radius: 50%; color: var(--green); }
.product-selected svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; opacity: 0; }
.product-card:has(input:checked) .product-selected { border-color: var(--green); }
.product-card:has(input:checked) .product-selected svg { opacity: 1; }
.product-choice { border: 1px solid var(--green); background: var(--tint); border-radius: var(--radius); min-height: 92px; padding: 20px 26px; display: flex; align-items: center; gap: 26px; }
.product-choice strong { font-size: 21px; line-height: 1.45; font-weight: 650; }
.product-choice p, .summary-product p { color: var(--muted); font-size: 16px; margin-top: 2px; }
.product-choice .product-price { margin-left: auto; color: var(--green); white-space: nowrap; }
.selection-indicator { width: 28px; height: 28px; border: 2px solid #9ba4b0; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.selection-indicator svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; opacity: 0; }
.selection-indicator.selected, .payment-choice:has(input:checked) .selection-indicator { border-color: var(--green); color: var(--green); }
.selection-indicator.selected svg, .payment-choice:has(input:checked) .selection-indicator svg { opacity: 1; }
.field-label { display: block; margin: 24px 0 10px; font-size: 17px; font-weight: 500; }
input[type=email] { width: 100%; height: 56px; padding: 0 20px; border: 1px solid #cdd2d9; border-radius: var(--radius); color: var(--ink); background: #fff; font-size: 17px; transition: border-color .15s, box-shadow .15s; }
input[type=email]::placeholder { color: #9ba3ae; }
input[type=email]:focus { border-color: var(--green); box-shadow: 0 0 0 3px #087c6510; outline: 0; }
.help-text { font-size: 15px; line-height: 1.6; margin-top: 10px; color: var(--muted); }
.payment-section { margin-bottom: 0; padding-top: 3px; }
.payment-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.payment-choice { min-height: 88px; padding: 16px 24px; display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; position: relative; transition: background .15s, border-color .15s; }
.payment-choice:hover { border-color: #90b9ac; }
.payment-choice:has(input:checked) { border-color: var(--green); background: var(--tint); }
.payment-choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.payment-choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 4px; }
.payment-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.payment-choice .selection-indicator { margin-left: auto; }
.method-label { font-size: 18px; font-weight: 600; white-space: nowrap; }
.pay-icon { width: 50px; height: 50px; border-radius: 10px; color: #fff; flex-shrink: 0; display: grid; place-items: center; }
.pay-icon.alipay { background: #078bff; font-size: 39px; line-height: 1; font-weight: 400; }
.pay-icon.usdt { background: #26a17b; font-size: 30px; font-weight: 700; }
.pay-icon.wechat { background: #13b70a; }
.wechat svg { width: 43px; height: 43px; }
.wechat path { fill: #fff; stroke: #13b70a; stroke-width: 1; }
.wechat circle { fill: #13b70a; }
.summary-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.summary-panel h2 { font-size: 22px; line-height: 1.5; font-weight: 650; }
.summary-product { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 32px 0 26px; border-bottom: 1px solid var(--line); }
.summary-product strong { font-size: 21px; font-weight: 550; }
.summary-product > span { font-size: 18px; white-space: nowrap; line-height: 1.6; }
.summary-method { display: flex; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.summary-total { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; }
.summary-total > span { font-size: 18px; }
.summary-total strong { color: var(--green); font-size: 34px; letter-spacing: -.8px; font-weight: 700; }
.primary-button { color: #fff; background: var(--green); border: 1px solid var(--green); padding: 16px 20px; border-radius: var(--radius); font-size: 18px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 16px; transition: background .15s; }
.primary-button:hover { background: #066953; }
.primary-button svg { fill: none; stroke: currentColor; stroke-width: 1.8; width: 24px; height: 24px; }
.submit-button { width: 100%; }
.demo-note { font-size: 13px; text-align: center; color: var(--muted); line-height: 1.5; margin: 14px -8px 14px; }
.summary-help { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 24px 12px 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); text-align: center; padding: 18px 0 28px; font-size: 14px; margin-top: 76px; }
.error-message { color: #b33b33; background: #fff6f5; border-radius: 4px; padding: 10px 12px; line-height: 1.5; font-size: 14px; margin-bottom: 16px; }
dialog { border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); padding: 28px; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 24px 100px #171e2c24; }
dialog::backdrop { background: #111b2a55; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-header h2 { font-size: 22px; font-weight: 650; }
.close-button { border: 0; background: none; color: var(--muted); padding: 5px; }
.close-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.payment-content { padding-top: 24px; }
.dialog-meta { font-size: 14px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.payment-amount { font-size: 38px; color: var(--green); font-weight: 700; margin: 14px 0 20px; text-align: center; }
.payment-center { text-align: center; }
.payment-center h3 { font-size: 20px; margin: 16px 0 8px; }
.payment-center p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 8px 0 20px; }
.delivery-area { color: var(--ink); font-size: 14px; line-height: 1.7; text-align: center; }
.delivery-area p { color: var(--muted); }
.delivery-heading { margin: 18px 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.delivery-code-label { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.delivery-code { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: var(--tint); border-radius: var(--radius); user-select: all; }
.qr-code { display: block; width: 224px; max-width: 100%; height: auto; margin: auto; }
.payment-content .primary-button { width: 100%; margin-top: 22px; font-size: 16px; }
.usdt-payment { text-align: center; }
.usdt-quote { display: grid; gap: 8px; margin: 18px 0; padding: 16px; border: 1px dashed #b9ae9e; border-radius: 10px; background: #eee8dd; text-align: left; }
.usdt-quote strong { font-size: 24px; color: #171717; }
.usdt-quote code { overflow-wrap: anywhere; color: #4c463e; font-size: 12px; }
.usdt-quote small { color: #746e65; line-height: 1.5; }
.secondary-button { border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: white; padding: 12px 16px; font-size: 15px; width: 100%; margin-top: 12px; }
.secondary-button:hover { background: #f7f9f8; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--green); margin: 18px auto 0; display: grid; place-items: center; }
.result-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; }
.status-message { color: var(--muted); line-height: 1.6; font-size: 14px; padding: 12px 0; text-align: center; }
.invoice-area { margin: 20px 0 8px; border-top: 1px solid var(--line); padding-top: 16px; }.invoice-area .secondary-button { margin-top: 0; }.invoice-status { text-align: center; color: var(--green); font-size: 14px; line-height: 1.7; }.invoice-status small { color: var(--muted); }
.invoice-form { display: grid; gap: 16px; padding-top: 20px; }.invoice-form label { display: grid; gap: 7px; color: #4c5a66; font-size: 14px; }.invoice-form input, .invoice-form select { width: 100%; border: 1px solid #cdd2d9; border-radius: var(--radius); color: var(--ink); background: #fff; padding: 12px 14px; font-size: 15px; }.invoice-form input:focus, .invoice-form select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px #087c6510; }.invoice-form .primary-button { margin-top: 2px; font-size: 16px; }.invoice-form-error { color: #b33b33; background: #fff6f5; padding: 9px 11px; border-radius: 4px; font-size: 13px; line-height: 1.5; }
.orders-dialog { width: min(640px, calc(100vw - 32px)); }
.orders-intro { margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.order-row { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; text-align: left; color: var(--ink); background: none; border-bottom: 0; border-left: 0; border-right: 0; width: 100%; }
.order-row:hover { color: var(--green); }
.order-row strong { display: block; font-size: 16px; font-weight: 600; }
.order-row small { display: block; font-size: 12px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; margin-top: 4px; }
.order-row-right { text-align: right; }
.order-status { display: block; margin-top: 8px; color: var(--green); font-size: 13px; }
.empty-state { color: var(--muted); text-align: center; padding: 48px 0; font-size: 16px; }
@media (max-width: 1320px) { .header-inner, .page { margin-left: 48px; margin-right: 48px; } .checkout-layout { gap: 28px; } .payment-choice { gap: 12px; padding: 16px; } }
@media (max-width: 1000px) { .header-inner, .page { margin-left: 32px; margin-right: 32px; } .checkout-layout { grid-template-columns: 1fr; gap: 32px; } .summary-column { order: 2; } .product-choice { padding: 18px; gap: 14px; } .product-choice strong { font-size: 18px; } .payment-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pay-icon { width: 36px; height: 36px; border-radius: 7px; } .pay-icon.alipay { font-size: 29px; } .wechat svg { width: 32px; height: 32px; } .method-label { font-size: 16px; } .payment-choice .selection-indicator { display: none; } .summary-panel { padding: 20px; } }
@media (max-width: 740px) { .header-inner, .page { margin-left: 20px; margin-right: 20px; } .header-inner { height: 64px; } .header-nav { gap: 14px; } .text-link { font-size: 13px; } .wordmark { font-size: 28px; } .intro { padding: 36px 0; } h1 { font-size: 34px; letter-spacing: -.8px; } .intro p { font-size: 15px; margin-top: 10px; } .checkout-layout { grid-template-columns: 1fr; gap: 32px; } .form-section { margin-bottom: 30px; } .payment-section { margin-bottom: 0; } .form-section h2, legend { font-size: 18px; gap: 16px; margin-bottom: 16px; } .form-section h2 > span, legend > span { font-size: 24px; } .product-grid { grid-template-columns: 1fr; gap: 14px; } .product-card { min-height: 220px; } .product-art { height: 96px; } .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-choice { min-height: 88px; padding: 18px; gap: 12px; } .product-choice p { font-size: 14px; } .product-choice .product-price { font-size: 19px; } .selection-indicator { width: 24px; height: 24px; } .field-label { margin-top: 16px; font-size: 15px; } input[type=email] { font-size: 16px; padding: 0 16px; height: 52px; } .help-text { font-size: 13px; } .payment-choice { min-height: 74px; gap: 12px; padding: 14px; } .summary-panel { padding: 22px; } .summary-product { padding: 22px 0; } .summary-method { padding: 20px 0; } .summary-total { padding: 24px 0; } .summary-help { text-align: center; margin: 16px 0 0; } .demo-note { margin-bottom: 0; } footer { margin-top: 40px; padding: 20px 0; font-size: 12px; } dialog { padding: 22px; } }
@media (max-width: 520px) { .header-nav { gap: 10px; } .header-nav .text-link:nth-child(2) { display: none; } }
@media (max-width: 420px) { .payment-choices { grid-template-columns: 1fr; } .tier-grid { grid-template-columns: 1fr; } .payment-choice .selection-indicator { display: flex; } .summary-total strong { font-size: 30px; } dialog { width: calc(100vw - 24px); padding: 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Ink and paper theme */
:root { --ink: #171717; --muted: #746e65; --line: #d9d1c6; --green: #171717; --tint: #f3eee5; --paper: #f7f3eb; }
body { background: var(--paper); color: var(--ink); }
.site-header { background: #faf7f1; border-color: var(--line); }
.wordmark, .text-button { color: var(--ink); }
.text-link { color: #746e65; }
.text-link:hover, .text-button:hover { color: #171717; }
.intro p { color: #746e65; }
.product-card, .summary-panel { background: #faf7f1; border-color: #cfc6b9; }
.product-card:hover, .product-card:has(input:checked) { border-color: #171717; box-shadow: 0 12px 34px #17171716; }
.product-art { background: #171717; }
.product-art img { mix-blend-mode: normal; opacity: .92; }
.product-art::after { background: linear-gradient(90deg, #00000088, transparent 58%); }
.product-art-label { color: #f4efe6; }
.tier-option { border-color: #d9d1c6; background: #faf7f1; }
.tier-option:hover, .tier-option.is-selected { border-color: #171717; }
.tier-option.is-selected { background: #eee8dd; }
.tier-option strong, .tier-check { color: #171717; }
.tier-option.is-selected .tier-check { border-color: #171717; }
.primary-button { color: #f7f3eb; background: #171717; border-color: #171717; }
.primary-button:hover { background: #39352f; }
.payment-choice:has(input:checked) { border-color: #171717; background: #eee8dd; }
.selection-indicator.selected, .payment-choice:has(input:checked) .selection-indicator { border-color: #171717; color: #171717; }
.summary-total strong, .product-card-price { color: #171717; }
.demo-note { color: #746e65; }
input[type=email], .invoice-form input, .invoice-form select { background: #fffdf9; border-color: #cfc6b9; }
dialog { background: #f7f3eb; border-color: #cfc6b9; }
.delivery-area { text-align: left; }
.delivery-heading, .delivery-area > p { text-align: center; }
.delivery-heading { color: #171717; }
.order-receipt { position: relative; width: min(100%, 270px); aspect-ratio: 2 / 3; margin: 20px auto 16px; overflow: hidden; transform: rotate(-1deg); filter: drop-shadow(0 18px 22px #17171726); }
.receipt-content { position: absolute; inset: 10% 12% 9%; display: flex; flex-direction: column; color: #171717; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.receipt-top, .receipt-row, .receipt-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.receipt-top { font-size: 10px; letter-spacing: .08em; }
.receipt-rule { border-top: 1px solid #17171766; margin: 16px 0; }
.receipt-rule.dashed { border-top-style: dashed; }
.receipt-content h4 { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; font-size: 21px; letter-spacing: 0; margin: 4px 0 18px; }
.receipt-row { font-size: 11px; line-height: 1.7; margin: 3px 0; }
.receipt-row span { color: #746e65; }
.receipt-row strong { max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.receipt-code-label { color: #746e65; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.receipt-code-display { margin-top: 8px; font-size: clamp(13px, 3.2vw, 20px); line-height: 1.3; letter-spacing: .08em; overflow-wrap: anywhere; }
.receipt-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid #17171766; color: #746e65; font-size: 9px; letter-spacing: .09em; }
.gift-pass { position: relative; width: min(100%, 320px); aspect-ratio: 1.58; margin: 24px auto 26px; padding: 22px 24px 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: visible; isolation: isolate; color: #f7f3eb; background-color: #171717; background-image: url("/assets/metal-brushed-card.png"); background-position: center; background-size: cover; background-repeat: no-repeat; border: 1px solid #c4c4c4; border-radius: 9px; box-shadow: 0 2px 0 #eeeeee, 0 5px 0 #777777, 0 9px 0 #181818, 0 30px 48px #000000d6, inset 0 1px 0 #ffffffd6, inset 0 -20px 28px #000000a8, inset 2px 0 0 #ffffff2e, inset -2px 0 0 #000000c7; filter: brightness(1.16) contrast(1.08) drop-shadow(0 13px 10px #00000073); will-change: transform; }
.gift-pass-thickness { position: absolute; z-index: 0; left: 7px; right: 7px; bottom: -10px; height: 11px; border: 1px solid #090909; border-top: 0; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #6b6b6b 0%, #2b2b2b 32%, #070707 100%); box-shadow: 0 10px 16px #000000b3; pointer-events: none; }
.gift-pass-rim { position: absolute; z-index: 0; inset: 9px; border: 1px solid #ffffff5e; border-radius: 5px; box-shadow: inset 0 1px 0 #ffffff2e, inset 0 -1px 0 #000000a8, 0 0 0 1px #00000066; pointer-events: none; }
.gift-pass-sheen { position: absolute; z-index: 0; top: -70%; left: -38%; width: 38%; height: 240%; transform: rotate(22deg) translateX(-360%); background: linear-gradient(90deg, transparent 0%, #ffffff16 24%, #ffffffd1 49%, #ffffff1e 74%, transparent 100%); filter: blur(5px); mix-blend-mode: screen; pointer-events: none; animation: gift-pass-sheen 5.5s cubic-bezier(.25, .1, .25, 1) -2.8s infinite; }
.gift-pass::before { content: ""; position: absolute; z-index: 0; inset: 1px; border: 1px solid #ffffff52; border-radius: 8px; pointer-events: none; background: linear-gradient(112deg, #ffffff36 0%, transparent 16%, transparent 42%, #ffffff20 50%, transparent 58%, transparent 100%); box-shadow: inset 0 1px 0 #ffffff7a, inset 0 -2px 0 #000000c2, inset 0 0 0 8px #00000014; opacity: .65; }
.gift-pass::after { content: ""; position: absolute; width: 132px; height: 132px; right: -46px; bottom: -1px; border: 1px solid #d1b27e78; border-radius: 50%; box-shadow: 0 0 18px #d1b27e2e, inset 0 0 10px #d1b27e12; pointer-events: none; }
.gift-pass-top, .gift-pass-bottom { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.gift-pass-top { color: #e1c58f; text-shadow: 0 1px 0 #000000b8, 0 0 8px #f1d59a4a; }.gift-pass-bottom { color: #c1bbb1; text-shadow: 0 1px 0 #000000; }
.gift-pass-code { position: relative; z-index: 1; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(14px, 3.5vw, 20px); letter-spacing: .08em; line-height: 1.3; overflow-wrap: anywhere; color: #fffdf6; text-shadow: 0 1px 0 #000000, 0 0 10px #ffffff24; }
.delivery-code-label { color: #746e65; }
.delivery-code { background: #eee8dd; border: 1px dashed #b9ae9e; }
.email-delivery-status { margin: 12px 0 0; color: #2b765d; font-size: 13px; text-align: center; }
.delivery-artifacts { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; align-items: center; max-width: 520px; margin: 20px auto; }
.delivery-artifacts .order-receipt, .delivery-artifacts .gift-pass { width: 100%; margin: 0; }
#payment-dialog { width: min(520px, calc(100vw - 24px)); }
#payment-dialog.delivery-dialog { background: #171717; border-color: #4a463e; color: #f7f3eb; }
#payment-dialog.delivery-dialog .dialog-header { border-bottom-color: #4a463e; }
#payment-dialog.delivery-dialog .dialog-header h2, #payment-dialog.delivery-dialog .close-button { color: #f7f3eb; }
#payment-dialog.delivery-dialog .delivery-heading, #payment-dialog.delivery-dialog .delivery-area > p { color: #f7f3eb; }
#payment-dialog.delivery-dialog .delivery-area > p { opacity: .7; }
#payment-dialog.delivery-dialog .gift-pass { width: 100%; max-width: 420px; margin: 18px auto; border-radius: 12px; box-shadow: 0 22px 36px #00000055; }
#payment-dialog.delivery-dialog .delivery-code-label { color: #c9c0b2; }
#payment-dialog.delivery-dialog .delivery-code { background: #24221f; border-color: #655d50; color: #f7f3eb; }
#payment-dialog.delivery-dialog .secondary-button { background: #f7f3eb; border-color: #f7f3eb; color: #171717; }
#payment-dialog.delivery-dialog .secondary-button:hover { background: #ded7cc; }
#payment-dialog.delivery-dialog .invoice-area { border-top-color: #4a463e; }
#payment-dialog.delivery-dialog { background: transparent; border: 0; box-shadow: none; padding: 18px 0 22px; overflow: visible; }
#payment-dialog.delivery-dialog::backdrop { background: #111111b8; backdrop-filter: blur(8px); }
#payment-dialog.delivery-dialog .dialog-header { padding: 0 14px 12px; border-bottom: 0; }
#payment-dialog.delivery-dialog .payment-content { padding: 0 14px; }
#payment-dialog.delivery-dialog .delivery-heading, #payment-dialog.delivery-dialog .delivery-area > p { color: #f7f3eb; }
#payment-dialog.delivery-dialog .gift-pass { margin: 18px auto 24px; border-color: #8d8d8d; box-shadow: 0 24px 44px #0000008c; animation: gift-pass-float 5s ease-in-out infinite; }
#payment-dialog.delivery-dialog .delivery-code-label { color: #f7f3eb; text-align: left; margin: 0 2px 8px; }
#payment-dialog.delivery-dialog .delivery-code { margin: 0 0 10px; background: #fffdf9; border: 0; border-radius: 10px; color: #171717; text-align: center; box-shadow: 0 12px 30px #00000026; }
#payment-dialog.delivery-dialog #copy-delivery { margin-top: 0; background: #fffdf9; color: #171717; border-color: #fffdf9; box-shadow: 0 12px 30px #00000022; }
#payment-dialog.delivery-dialog .invoice-area { border-top: 0; margin-top: 18px; }
#payment-dialog.delivery-dialog .invoice-area .secondary-button { background: #e9e2d8; border-color: #e9e2d8; color: #171717; }
#payment-dialog.delivery-dialog > .dialog-header .close-button { color: #f7f3eb; }
@keyframes gift-pass-float { 0%, 100% { transform: translateY(0) rotateZ(-.4deg); } 50% { transform: translateY(-6px) rotateZ(.4deg); } }
@keyframes gift-pass-sheen { 0%, 22% { transform: rotate(22deg) translateX(-360%); opacity: 0; } 34% { opacity: .75; } 62%, 100% { transform: rotate(22deg) translateX(620%); opacity: 0; } }
#payment-dialog.delivery-dialog .invoice-status { color: #d1b27e; }
#payment-dialog.order-detail-dialog { background: #f7f3eb; }
#payment-dialog.order-detail-dialog .order-receipt { width: min(100%, 270px); margin: 18px auto; }
@media (max-width: 520px) { .delivery-artifacts { grid-template-columns: 1fr; gap: 18px; max-width: 310px; } .order-receipt { width: min(100%, 270px); justify-self: center; } .receipt-content { inset: 10% 11% 9%; } .receipt-content h4 { font-size: 18px; } .receipt-rule { margin: 12px 0; } .receipt-row { font-size: 10px; } .gift-pass { width: min(100%, 290px); justify-self: center; } }
@media (max-width: 520px) { .gift-pass { width: min(100%, 290px); padding: 18px 20px 15px; } }
