.redpack-dot{width:7px;height:7px;border-radius:50%;background:#e24b49;box-shadow:0 0 0 3px #fff;flex:none;margin-left:2px}.redpack-dot[hidden]{display:none}.redpack-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(115deg,#fff8ee,#fff0ed);border:1px solid #f0d6ca;border-radius:20px;padding:30px;margin-bottom:22px}.redpack-hero .eyebrow{color:#a86a41}.redpack-hero h2{font-size:28px;color:#713730;margin:8px 0}.redpack-hero p{color:#8c6e62;margin:8px 0}.redpack-hero-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #eac8ae;border-radius:50%;width:108px;height:108px;flex:none;color:#9b5c3c;background:#fffaf1;gap:6px}.redpack-hero-stamp b{font-size:30px}.redpack-hero-stamp small{font-size:11px}.redpack-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.redpack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.redpack-card{position:relative;overflow:hidden;border:1px solid #da5c50;border-radius:18px;background:linear-gradient(145deg,#c64f42,#a73132);color:#fff0ce;min-height:275px;padding:20px;display:flex;flex-direction:column;text-align:center;box-shadow:0 6px 15px #66372e0b}.redpack-card:after{content:'';position:absolute;width:150%;height:130px;border:1px solid #f6c48e55;border-radius:0 0 50% 50%;top:-38px;left:-25%;pointer-events:none}.redpack-card-top{display:flex;justify-content:space-between;gap:8px;position:relative;z-index:1;font-size:11px;letter-spacing:.06em}.redpack-type{border:1px solid #ffe0b154;border-radius:20px;padding:4px 9px}.redpack-coin{padding:4px;font-weight:800}.redpack-wish{font-size:17px;font-weight:600;overflow-wrap:anywhere;margin:25px 0 12px;position:relative;z-index:1}.redpack-seal{min-height:91px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;position:relative;z-index:1;margin:auto 0 16px}.redpack-open{border:1px solid #fff0be;background:linear-gradient(145deg,#ffe2a7,#e6ba6b);color:#704621;border-radius:50%;width:82px;height:82px;cursor:pointer;font-size:13px;font-weight:800;box-shadow:0 0 0 5px #e9bb7825,0 5px 12px #702a2b30;transition:transform .2s}.redpack-open:hover{transform:translateY(-3px) rotate(-5deg)}.redpack-open:disabled{opacity:.7;cursor:wait}.redpack-open.opening{animation:redpack-wiggle .5s infinite}.redpack-card-foot{border-top:1px solid #ffe0b130;padding-top:14px;display:flex;flex-direction:column;gap:7px;font-size:11px;line-height:1.5}.redpack-card-foot small{opacity:.8;font-size:10px}.redpack-card.claimed{background:#fff8ea;border-color:#edd9b5;color:#8d663d;box-shadow:none}.redpack-card.claimed:after{border-color:#e3c58f55}.redpack-card.claimed .redpack-type{border-color:#e6d1ae}.redpack-card.claimed .redpack-card-foot{border-color:#eadac0}.redpack-claimed-amount{font-size:33px;letter-spacing:-.03em}.redpack-card.expired,.redpack-card.cancelled{background:#f1f3ed;border-color:#d9dfd0;color:#84907d;box-shadow:none}.redpack-closed-label{font-size:23px;font-weight:700}.redpack-empty{grid-column:1/-1;padding:65px 20px;text-align:center;border:1px dashed #d9dfd0;border-radius:18px;color:#7d8c73}.redpack-empty-icon{font-size:36px;color:#c49b71}.redpack-empty h3{font-size:16px;margin:16px}.redpack-result{border:0;border-radius:24px;padding:36px;background:#fff8eb;text-align:center;width:min(380px,calc(100vw - 32px));box-shadow:0 25px 100px #273a2640;color:#7d4b31}.redpack-result::backdrop{background:#1628208a;backdrop-filter:blur(4px)}.redpack-result h2{font-size:22px;overflow-wrap:anywhere;margin:18px 0}.redpack-result-value{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:28px 0 15px}.redpack-result-value strong{font-size:52px;letter-spacing:-.045em}.redpack-result-note{font-size:12px;color:#96816a;margin-bottom:25px}.redpack-result .button{width:100%;background:#ad493d;color:#fff8e8;border:0}.redpack-result-record{font-size:10px;color:#a08c76;margin-top:15px}@keyframes redpack-wiggle{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}@media(max-width:1100px){.redpack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.redpack-hero{padding:20px;gap:12px}.redpack-hero h2{font-size:21px}.redpack-hero p{font-size:12px}.redpack-hero-stamp{width:74px;height:74px}.redpack-hero-stamp b{font-size:23px}.redpack-grid{gap:12px}.redpack-card{padding:14px;min-height:265px}.redpack-wish{font-size:15px}.redpack-open{width:74px;height:74px;font-size:12px}.redpack-card-top{font-size:10px}.redpack-card-foot{font-size:10px}.redpack-type{padding:3px 6px}}@media(prefers-reduced-motion:reduce){.redpack-open{transition:none}.redpack-open.opening{animation:none}}

main.redpack-mode .page-heading,main.redpack-mode .account-identity{display:none}main.redpack-mode .mfa-reminder:not([hidden]){padding:10px 14px;font-size:11px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:14px 0}main.redpack-mode .redpack-hero{margin-top:18px}main.redpack-mode .redpack-hero h2{font-size:26px}@media(max-width:560px){main.redpack-mode .redpack-hero h2{font-size:21px}.redpack-hero .eyebrow{font-size:8px;letter-spacing:.12em}.redpack-hero-stamp small{font-size:9px}.redpack-card-foot small{overflow-wrap:anywhere}}

/* User-funded gifts share the existing envelope, with concise ownership facts. */
.redpack-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.redpack-actions .button{min-height:42px}.redpack-tabs{display:flex;gap:4px;padding:4px;background:#edf2e6;border-radius:12px}.redpack-tabs button{border:0;background:none;color:#75866e;font:inherit;font-size:13px;font-weight:600;padding:10px 18px;border-radius:9px;cursor:pointer}.redpack-tabs button.active{background:#fff;color:#244e37;box-shadow:0 2px 7px #244e370c}.redpack-reserved-note{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#7a8972;margin:0 0 22px}.redpack-reserved-note strong{color:#385a3b}.redpack-reserved-note span{margin-left:auto}.redpack-card.own{min-height:340px}.redpack-phrase-code{display:flex;align-items:center;gap:8px;justify-content:center;position:relative;z-index:1;padding:9px 6px;background:#ffffff12;border:1px solid #ffe0b133;border-radius:10px;margin-bottom:12px}.redpack-phrase-code code{font-family:inherit;font-size:15px;font-weight:650;overflow-wrap:anywhere;user-select:all}.redpack-copy{position:relative;z-index:1;background:none;border:1px solid currentColor;border-radius:8px;padding:6px 9px;color:inherit;cursor:pointer;font:inherit;font-size:11px}.redpack-recipient{display:block;overflow-wrap:anywhere;margin-bottom:12px}.redpack-card progress{appearance:none;width:100%;height:5px;border:0;border-radius:5px;background:#fff3;margin-top:6px;flex:none}.redpack-card progress::-webkit-progress-bar{background:#fff3;border-radius:5px}.redpack-card progress::-webkit-progress-value{background:#ffda8e;border-radius:5px}.redpack-card progress::-moz-progress-bar{background:#ffda8e;border-radius:5px}.redpack-progress-label{font-size:12px;margin:8px 0 12px}.redpack-card>.redpack-copy{align-self:center;margin-bottom:16px}.redpack-card.exhausted{background:#fff8ea;border-color:#edd9b5;color:#8d663d;box-shadow:none}.redpack-card.exhausted .redpack-card-foot{border-color:#e7d9bb}.redpack-card.exhausted progress::-webkit-progress-value{background:#bc9863}.redpack-card.exhausted .redpack-phrase-code{border-color:#e5d7ba}.redpack-card.own .redpack-seal{min-height:60px;margin:3px 0 14px}.redpack-card.own .redpack-card-foot{margin-top:auto}.redpack-compose{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e2d9c7;border-radius:22px;padding:28px;color:#34583d;background:#fffdf7}.redpack-compose::backdrop{background:#1628208a;backdrop-filter:blur(4px)}.redpack-compose h2{font-size:25px;margin:10px 0}.redpack-compose>.muted{font-size:13px;line-height:1.6;margin-bottom:22px}.redpack-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.redpack-form-grid .gift-full{grid-column:1/-1}.redpack-form-grid label,.redpack-redeem label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.redpack-form-grid [hidden]{display:none!important}.redpack-compose input,.redpack-compose select{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #d8dfca;background:#fff;border-radius:9px;padding:10px 12px;font:inherit;color:#284c34}.redpack-compose select{cursor:pointer}.gift-input-unit{display:flex;align-items:center;position:relative}.gift-input-unit input{padding-right:50px}.gift-input-unit b{position:absolute;right:12px;font-size:11px;color:#94a080;pointer-events:none}.redpack-total{display:flex;justify-content:space-between;align-items:center;background:#edf3e5;border:1px solid #dce6ce;border-radius:12px;padding:16px;margin-top:20px;gap:12px}.redpack-total span{font-size:12px;color:#788c6f}.redpack-total strong{font-size:23px;letter-spacing:-.03em}.redpack-compose .inline-note{font-size:11px;line-height:1.7;color:#829273;margin:14px 0}.redpack-redeem{width:min(430px,calc(100vw - 28px))}.redpack-redeem input{font-size:19px;text-align:center;min-height:56px;background:#fff8ec}.redpack-redeem .wide{margin-top:16px}.redpack-claim-list{max-height:45dvh;overflow:auto}.redpack-claim-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e3e9d9;font-size:13px}.redpack-claim-row small{display:block;color:#88997c;font-size:10px;margin-top:5px}.redpack-details .list-pagination{margin-top:18px}.redpack-copy:focus-visible,.redpack-tabs button:focus-visible{outline:2px solid #b8ff00;outline-offset:3px}@media(max-width:560px){.redpack-hero{align-items:flex-start}.redpack-hero-stamp{margin-top:4px}.redpack-actions{gap:8px;margin-top:16px}.redpack-actions .button{padding:10px 12px;font-size:12px}.redpack-toolbar{gap:10px}.redpack-tabs button{padding:9px 12px;font-size:12px}.redpack-reserved-note span{margin-left:0;width:100%}.redpack-compose{padding:24px 20px;border-radius:18px}.redpack-total strong{font-size:20px}.redpack-phrase-code{flex-direction:column}.redpack-card.own{min-height:355px}.redpack-form-grid{gap:13px}.redpack-card-top{flex-wrap:wrap}.redpack-claimed-amount{font-size:27px}}@media(max-width:360px){.redpack-grid{grid-template-columns:1fr}.redpack-form-grid{grid-template-columns:1fr}}
.redpack-form-grid label,.redpack-redeem label{margin:0}.redpack-form-grid label>span{float:none;font-size:12px;font-weight:600;color:inherit}.redpack-compose input,.redpack-compose select{margin:0}.redpack-compose .redpack-form-grid{row-gap:16px}

/* Customer records keep envelope actions separate from accounting facts. */
.redpack-parties{text-align:left;display:grid;gap:8px;position:relative;z-index:1;margin:3px 0 15px;padding:10px;border:1px solid #fff3;border-radius:10px;background:#ffffff0b}.redpack-parties>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.redpack-parties small{font-size:10px;opacity:.8;white-space:nowrap}.redpack-parties strong{font-size:11px;font-weight:600;overflow-wrap:anywhere;text-align:right}.redpack-card.claimed .redpack-parties,.redpack-card.expired .redpack-parties,.redpack-card.exhausted .redpack-parties,.redpack-card.cancelled .redpack-parties{border-color:#9e89622b}.redpack-card .redpack-seal{min-height:60px;margin:5px 0 15px}.redpack-card .redpack-card-foot{margin-top:auto}.redpack-details{font-size:13px;line-height:1.7}.redpack-details>h3{overflow-wrap:anywhere}.redpack-record-id{display:block;overflow-wrap:anywhere;color:#84917d;margin:5px 0 18px;font-size:10px;user-select:all}.redpack-record-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.redpack-record-facts>div{border:1px solid #dfe5d6;border-radius:10px;padding:12px;min-width:0}.redpack-record-facts small{display:block;color:#89977e;font-size:10px}.redpack-record-facts strong{display:block;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.redpack-details>progress{display:block;width:100%;height:6px;accent-color:#a87340}.redpack-refund{padding:15px;background:#f3f7ec;border:1px solid #dfe8d0;border-radius:11px;margin:15px 0 22px;font-size:12px}.redpack-refund.pending{background:#fff4de;border-color:#f0deba}.redpack-refund p{margin:8px 0 0}.redpack-funding{border:1px solid #e0e5d7;border-radius:12px;padding:16px;margin:18px 0 24px}.redpack-funding h3{margin:0 0 8px}.redpack-fund-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px dashed #dfe6d5}.redpack-fund-row small{display:block;font-size:10px;color:#839475;overflow-wrap:anywhere}.redpack-fund-row strong{font-size:12px}.redpack-fund-row>div:last-child{text-align:right;min-width:145px}.redpack-funding>.button{margin-top:14px}.redpack-card>.redpack-copy{margin-bottom:14px}.redpack-details .redpack-claim-list{max-height:36dvh}.redpack-details .list-pagination{gap:8px}@media(max-width:600px){.redpack-grid{grid-template-columns:1fr}.redpack-card,.redpack-card.own{padding:20px;min-height:0}.redpack-parties strong{font-size:12px}.redpack-parties small{font-size:11px}.redpack-card .redpack-wish{margin-top:22px}.redpack-record-facts{gap:8px}.redpack-record-facts>div{padding:10px}.redpack-fund-row{flex-wrap:wrap;gap:6px}.redpack-fund-row>div:last-child{text-align:left;min-width:0;width:100%}.redpack-funding{padding:13px}.redpack-details .redpack-claim-row{flex-wrap:wrap}.redpack-details .redpack-claim-row>strong{margin-left:auto}}

.redpack-share-actions{display:flex;gap:8px;flex-wrap:nowrap;margin:8px 0 14px;position:relative;z-index:1}.redpack-share-actions>.redpack-copy{flex:1 1 0;min-width:0;margin:0;white-space:normal;line-height:1.4;padding:10px 6px}.redpack-share-ready{display:grid;gap:16px}.redpack-share-ready input{width:100%;min-width:0;padding:12px;border:1px solid #dce5d2;border-radius:10px;font-size:12px}.redpack-share-ready p{line-height:1.6;margin:0}

/* Desktop: actions first, invitation copy alongside; narrow screens wrap safely. */
.redpack-hero-main{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.redpack-hero-main .redpack-actions{flex:none;flex-wrap:nowrap;margin:0}.redpack-hero .redpack-invite-note{margin:0;min-width:0;font-size:12px;line-height:1.65}.redpack-invite-note strong{display:inline;font-size:12px;color:#713730;margin-inline-end:4px}.redpack-invite-note span{display:inline}@media(max-width:760px){.redpack-hero-main{flex-wrap:wrap;gap:12px}.redpack-hero .redpack-invite-note{flex-basis:100%;font-size:11px}.redpack-invite-note strong{font-size:11px}.redpack-share-actions>.redpack-copy{font-size:11px}}

.redpack-self{display:inline-block;margin-inline-start:6px;padding:1px 5px;border-radius:5px;background:#edf3e5;color:#527443;font-size:10px;font-weight:500}.redpack-claim-value{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none}.redpack-luckiest{display:inline-flex;align-items:center;gap:4px;background:#fff2cf;color:#91621b;border:1px solid #ead49c;border-radius:20px;padding:2px 8px;font-size:11px;white-space:nowrap}.redpack-luckiest>span:first-child{font-size:16px;line-height:1}.redpack-result .redpack-result-details{margin-top:10px;background:transparent;color:#85583b;border:1px solid #dcbf98}.redpack-claim-row>div:first-child{min-width:0;overflow-wrap:anywhere}.redpack-claim-row .redpack-claim-value strong{white-space:nowrap}

.redpack-details .redpack-claim-list{max-height:none;overflow:visible}.redpack-details .redpack-claim-list+.list-pagination{margin-bottom:20px}.redpack-details>.muted{font-size:11px;line-height:1.6}

.redpack-claim-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.redpack-claim-name>strong{min-width:0;overflow-wrap:anywhere}.redpack-claim-name .redpack-luckiest{flex:none;line-height:1.35;padding:3px 7px;background:linear-gradient(135deg,#fff7d9,#ffeab0);border-color:#ecd495;box-shadow:0 1px 3px #b17c1610}.redpack-claim-name .redpack-luckiest>span:first-child{font-size:15px;transform:rotate(-8deg);transform-origin:center}
