/* A delivered card is a product, with redemption details separate from the receipt. */
.gift-card-reveal { margin-bottom:22px;min-width:0; }
.owned-gift-card { position:relative;isolation:isolate;overflow:hidden;padding:24px;border-radius:23px;color:#281d39;background:radial-gradient(ellipse at 100% 0,#fff9,transparent 65%),linear-gradient(130deg,#ddceff,#b7a0e1);box-shadow:0 15px 42px #0002; }
.owned-gift-card:before { content:'';position:absolute;z-index:-1;inset:-90px -160px auto auto;width:380px;height:380px;border-radius:50%;background:#fff2;pointer-events:none; }
.owned-gift-top { display:flex;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:1.7px;font-weight:650;opacity:.7; }
.owned-gift-merchant { display:flex;align-items:center;gap:14px;margin:26px 0 22px;min-width:0; }
.owned-gift-merchant img { width:105px;height:65px;object-fit:contain;background:#fff;border-radius:10px;padding:4px;flex:none; }
.owned-gift-merchant h2 { font-size:22px;font-weight:650;letter-spacing:-.6px;line-height:1.15;margin:0;overflow-wrap:anywhere; }
.owned-gift-value { display:grid;gap:2px; }
.owned-gift-value strong { font-size:clamp(32px,3.5vw,46px);font-weight:700;letter-spacing:-1.7px;line-height:1.15;text-shadow:0 1px 0 #fff7;overflow-wrap:anywhere; }
.owned-gift-value>span { font-size:10px;opacity:.75; }
.owned-gift-bottom { display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 16px;min-width:0; }
.owned-gift-bottom>span:first-child { font-size:12px;letter-spacing:1.4px;overflow-wrap:anywhere; }
.owned-gift-mimo { display:flex;align-items:center;gap:3px;flex:none; }
.owned-gift-mimo img { object-fit:contain; }
.owned-gift-mimo b { font-size:12px;letter-spacing:-.4px; }
.gift-reveal-toggle { display:flex;justify-content:center;align-items:center;gap:10px;background:#241a32;color:#f8f2ff;width:100%;min-height:46px;border:0;border-radius:12px;font-weight:550;font-size:13px;padding:12px 16px; }
.gift-reveal-toggle .icon { width:15px;height:15px; }
.gift-reveal-toggle:disabled { opacity:.7; }
.gift-reveal-feedback { font-size:12px;line-height:1.7;color:#e6c79d;margin:12px 2px; }
.gift-reveal-feedback:empty { display:none; }
.gift-redemption { padding:22px;margin-top:12px;background:#211d29;border-radius:18px; }
.gift-redemption-title { margin-bottom:18px; }.gift-redemption-title h3 { margin:0;font-size:16px;letter-spacing:-.3px; }.gift-redemption-title>span { font-size:11px;color:#ac9dbd;display:block;margin-top:4px; }
.gift-secret-row { margin:0 0 16px; }.gift-secret-row label { font-size:10px;color:#ad9cbd;margin:0 0 7px; }.gift-secret-row>div { display:flex;align-items:center;gap:12px;padding:14px;background:#131017;border-radius:11px; }
.gift-secret-row code { font-size:15px;letter-spacing:.5px;line-height:1.65;overflow-wrap:anywhere;word-break:break-word;min-width:0;user-select:all;flex:1; }
.gift-secret-row button { flex:none;min-height:40px;padding:8px 12px;border-radius:8px;background:#c4a6ff15;color:#d5bcff;font-size:11px; }
.gift-redemption-image { margin:16px 0;padding:20px;background:white;border-radius:12px;text-align:center;color:#282031; }
.gift-redemption-image img { display:block;width:100%;max-height:none;height:auto;object-fit:contain;margin:auto; }
.gift-redemption-image img[alt*="QR"] { max-width:240px; }
.gift-redemption-image figcaption { font-size:10px;margin-top:12px; }.gift-redemption-image p { font-size:12px;line-height:1.6; }
.gift-copy-feedback { font-size:11px;color:#c4aee4; }.gift-copy-feedback:empty { display:none; }
.gift-merchant-info { margin-top:14px;font-size:12px;line-height:1.8;color:#c2b6ce;overflow-wrap:anywhere; }.gift-merchant-info summary { color:#e3d9ed;cursor:pointer;padding:10px 0; }.gift-merchant-info>div { max-height:360px;overflow:auto; }.gift-merchant-info ul,.gift-merchant-info ol { padding-left:20px; }.gift-merchant-info h3,.gift-merchant-info h4,.gift-merchant-info h5 { font-size:13px; }.gift-merchant-info a { text-decoration:underline;text-underline-offset:3px;color:#d6baff; }.gift-merchant-info table { max-width:100%;font-size:11px; }.gift-merchant-info td,.gift-merchant-info th { padding:5px; }
.gift-balance-note { color:#a79ab5;font-size:10px;line-height:1.7;margin:13px 3px 0; }
@media(max-width:1200px) { .gift-card-reveal { max-width:650px;margin:0 auto 22px; } }
@media(max-width:400px) { .owned-gift-card { padding:20px; }.owned-gift-merchant { gap:10px; }.owned-gift-merchant img { width:85px;height:56px; }.owned-gift-merchant h2 {font-size:19px;}.owned-gift-bottom {gap:8px;}.owned-gift-bottom>span:first-child {font-size:10px;letter-spacing:1px;}.owned-gift-mimo img {width:36px;height:36px;}.owned-gift-mimo b {font-size:10px;}.gift-redemption {padding:18px;}.gift-secret-row>div {gap:8px;padding:10px;}.gift-secret-row code {font-size:13px;} }
@media print { .gift-card-reveal { display:none!important; } }
