/* Gift coupons share the original 430px mobile shell and short native transitions. */
.gift-page,.gift-form,.gift-card,.gift-ticket,.gift-banner,.gift-setting-card,.gift-preview,.gift-record{box-sizing:border-box;min-width:0;max-width:100%;color:#26394b;overflow-wrap:anywhere}
.gift-page{font-size:13px;line-height:1.7}
.gift-page h2,.gift-page h3,.gift-setting-card h3{color:#26394b;font-weight:650;line-height:1.5;margin:0 0 8px}
.gift-page h2{font-size:19px}.gift-page h3,.gift-setting-card h3{font-size:15px}
.gift-entry,.product-ops .gift-entry{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;max-width:100%;padding:8px 11px;border:1px solid #eedbc5;border-radius:8px;background:#fff1e2;color:#664a33;font-size:12px;line-height:1.5;white-space:normal;text-decoration:none}
.gift-entry:hover,.product-ops .gift-entry:hover{background:#fce8d2;color:#664a33}
.member-nav.gift-member-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:100%!important;gap:3px!important;overflow:visible;white-space:normal;scroll-snap-type:none}
.member-nav.gift-member-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:9px 4px!important;font-size:12px!important;white-space:normal!important;text-align:center;line-height:1.5;overflow-wrap:anywhere}
.member-nav.gift-member-nav .gift-member-entry{color:#b94450}.member-nav.gift-member-nav .gift-member-entry.active{color:#b94450!important;background:#fff0f1}
.product-ops.gift-product-ops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;align-items:stretch}
.product-ops.gift-product-ops>.btn{order:0;min-width:0;min-height:38px;max-width:100%;padding:7px 3px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;text-align:center;background:#f3f5fa;border:1px solid #e6eaf1;color:#4c5b73;font-size:11px}
.product-ops.gift-product-ops>.btn.gift-entry{grid-column:auto;background:#fff1e9;border-color:#edc7bb;color:#b34743}
.product-ops.gift-product-ops>.btn.red{background:#fff1e9;border-color:#eddbd1;color:#98654b!important}
.gift-buy-row{display:flex;align-items:center;justify-content:flex-end;grid-column:1/-1;order:-1;min-width:0;margin:0 0 2px}
.product-ops.gift-product-ops .gift-buy-row>.btn{min-width:62px;min-height:36px;padding:7px 13px;background:#355e99;border:1px solid #355e99;color:#fff;font-size:12px}
.gift-entry svg{width:17px;height:17px;flex:none;stroke:currentColor}
.gift-banner{padding:17px;margin:0 0 14px;border:1px solid #d9e7f3;border-radius:15px;background:linear-gradient(125deg,#e7f3ff,#f3f8fd 75%,#fff2e3)}
.gift-banner p{margin:6px 0;font-size:12px;line-height:1.8}.gift-banner strong{color:#314e69;font-weight:650}
.gift-card,.gift-ticket,.gift-setting-card,.gift-preview,.gift-record{padding:15px;margin:0 0 12px;border:1px solid #e0e8f0;border-radius:13px;background:#fff}
.gift-ticket{position:relative;border-left:4px solid #a8c8e9;padding-left:13px}
.gift-ticket[data-status="redeemed"],.gift-ticket[data-status="expired"],.gift-ticket[data-status="void"]{border-left-color:#d8e0e8;background:#fbfcfe}
.gift-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0;margin-bottom:8px}
.gift-ticket-head>div{min-width:0;flex:1}.gift-ticket-head h3,.gift-ticket-head h2{margin:0}.gift-ticket-head strong{font-size:14px;font-weight:650;min-width:0}
.gift-ticket p,.gift-card p,.gift-preview p,.gift-record p{margin:6px 0;font-size:12px;line-height:1.8}
.gift-status{display:inline-block;flex:none;max-width:100%;padding:3px 8px;border-radius:6px;background:#ecf1f6;color:#475b6d;font-size:11px;font-weight:500;line-height:1.7;white-space:normal}
.gift-status[data-status="unused"]{background:#fff0dc;color:#715331}.gift-status[data-status="redeemed"]{background:#e7f1f8;color:#345774}.gift-status[data-status="expired"],.gift-status[data-status="void"]{background:#edf0f3;color:#596677}
.gift-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.gift-stats>div,.gift-stats>article{min-width:0;padding:11px 5px;border:1px solid #e2ebf3;border-radius:10px;background:#f2f7fc;text-align:center;overflow-wrap:anywhere}
.gift-stats strong,.gift-stats b{display:block;color:#304b66;font-size:21px;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums}.gift-stats span,.gift-stats small{display:block;color:#52687b;font-size:11px;line-height:1.7}
.gift-tabs{display:flex;gap:4px;min-width:0;max-width:100%;padding:4px;margin:14px 0;border:1px solid #e0e9f1;border-radius:10px;background:#edf3f8}
.gift-tabs>button,.gift-tabs>a{display:flex;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:39px;padding:8px 3px;border:0;border-radius:7px;background:transparent;color:#4d6277;font-size:12px;line-height:1.6;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.gift-tabs>.active,.gift-tabs>[aria-selected="true"],.gift-tabs>[aria-pressed="true"]{background:#fff;color:#294a67;font-weight:600;box-shadow:0 2px 5px #324f7008}
.gift-tabs small{font-size:10px}.gift-empty{margin:12px 0;padding:28px 17px;border:1px dashed #ccdeec;border-radius:12px;background:#f4f8fc;color:#52697e;text-align:center;font-size:13px;line-height:1.8}
.gift-empty strong{display:block;color:#314d67;font-size:15px;margin-bottom:8px}
.gift-note,.gift-page .gift-note,.gift-setting-card .gift-note{margin:9px 0;color:#586e82;font-size:11px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.gift-code{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:15px 0 10px;color:#263c55;text-align:center;font-size:clamp(17px,6.2vw,25px);font-weight:700;line-height:1.65;letter-spacing:2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;word-break:break-word;user-select:all}
.gift-qr{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;min-width:0;margin:14px auto;padding:12px;width:208px;box-sizing:border-box;border:1px solid #e1e8f0;border-radius:12px;background:#fff}
.gift-qr p{margin:9px 0 0;font-size:11px;text-align:center;color:#506a80}
.gift-qr img,.gift-qr canvas,.gift-qr svg,img.gift-qr,canvas.gift-qr,svg.gift-qr{display:block;width:100%;max-width:184px;height:auto;object-fit:contain;image-rendering:pixelated}
.gift-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;min-width:0;margin:13px 0 3px}
.gift-actions>.btn,.gift-actions>button,.gift-actions>a{display:inline-flex;justify-content:center;align-items:center;flex:1 1 110px;min-width:0;min-height:42px;max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #c5dced;border-radius:9px;background:#dcecf9;color:#263e57;font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-decoration:none;text-align:center}
.gift-actions>.btn:hover,.gift-actions>button:hover,.gift-actions>a:hover{background:#d1e6f7;color:#263e57}
.gift-actions>.gift-secondary,.gift-actions>.btn.gift-secondary{background:#f4f7fa;border-color:#e0e8f0;color:#435a70}
.gift-actions>button:disabled,.gift-actions>.btn:disabled{cursor:default;background:#edf1f5;border-color:#e2e7ec;color:#748393;opacity:1}
.gift-preview{border-color:#d2e1ef;background:#f1f7fd}.gift-preview .field-row{min-width:0;gap:10px;font-size:12px}.gift-preview .field-row .value{min-width:0;overflow-wrap:anywhere}
.gift-supplier-header{padding:16px;margin:0 0 14px;border:1px solid #d7e7f3;border-radius:13px;background:#eaf4fc;min-width:0;overflow-wrap:anywhere}
.gift-supplier-header h2,.gift-supplier-header h3{margin:0 0 6px}.gift-supplier-header p{font-size:12px;margin:6px 0;color:#455f76;line-height:1.8}
.gift-supplier-header>label{display:block;margin:12px 0 6px;font-size:12px;color:#324a60}
.gift-supplier-header select{display:block;width:100%;min-width:0;max-width:100%;min-height:42px;box-sizing:border-box;padding:8px 10px;border:1px solid #c4dbe9;border-radius:8px;background:#fff;color:#263c50;font-size:13px}
.gift-banner>span,.gift-supplier-header>span,.gift-ticket-head>span:has(svg){display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;color:#42617c}
.gift-banner>span,.gift-supplier-header>span{margin-bottom:10px}.gift-banner>span svg,.gift-supplier-header>span svg,.gift-ticket-head>span svg{flex:none;width:20px;height:20px;color:#35516e}
.gift-form{font-size:12px;line-height:1.7}
.gift-field{display:block;min-width:0;max-width:100%;margin:12px 0;color:#324a60;font-size:12px;line-height:1.7}
.gift-field>span{display:block;margin-bottom:6px}
.gift-field input,.gift-field select,.gift-field textarea,.gift-form>.field-row input,.gift-form>.field-row select,.gift-form>.field-row textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:42px;padding:9px 10px;border:1px solid #cadde9;border-radius:8px;background:#fff;color:#263c50;font-family:inherit;font-size:13px;line-height:1.7}
.gift-form>label:not(.gift-field):not(.gift-confirm-check):not(.gift-toggle){display:block;margin:8px 0 6px;color:#324a60}
.gift-form>input:not([type="checkbox"]):not([type="radio"]){display:block;width:100%;min-width:0;max-width:100%;min-height:43px;box-sizing:border-box;padding:10px;border:1px solid #cadde9;border-radius:8px;background:#fff;color:#263c50;font-size:13px;line-height:1.7}
.gift-form>.btn{display:flex;justify-content:center;width:100%;min-height:43px;margin-top:13px;padding:10px 12px;border:1px solid #c5dced;border-radius:9px;background:#dcecf9;color:#263e57;font-size:13px;line-height:1.6;white-space:normal}
.gift-form>.btn:hover{background:#d1e6f7;color:#263e57}
.gift-form .gift-actions>label{display:flex;align-items:center;justify-content:center;flex:1;gap:7px;min-width:0;min-height:42px;padding:8px;border:1px solid #d4e4ef;border-radius:8px;background:#f0f7fc;color:#324a60;font-size:12px;cursor:pointer}
.gift-form .gift-actions>label input{width:17px;height:17px;flex:none;margin:0;accent-color:#5c8db4}
.gift-confirm-check{display:flex;align-items:flex-start;gap:9px;margin:16px 0 10px;color:#324a60;font-size:12px;line-height:1.8;cursor:pointer}.gift-confirm-check input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:#5c8db4}
.gift-field textarea,.gift-form textarea{resize:vertical;min-height:82px}
.gift-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gift-form-grid .gift-field{margin:5px 0}
.gift-form .field-row{min-width:0;gap:9px}.gift-form .field-row .value{min-width:0}.gift-form .field-row label{font-size:12px}
.gift-toggle{display:flex;align-items:center;gap:9px;min-height:44px;margin:5px 0;color:#324a60;font-size:13px;cursor:pointer}.gift-toggle input{width:18px;height:18px;margin:0;flex:none;accent-color:#5c8db4}
.gift-form input:focus-visible,.gift-form select:focus-visible,.gift-form textarea:focus-visible,.gift-page button:focus-visible,.gift-setting-card button:focus-visible,.gift-tabs a:focus-visible,.gift-entry:focus-visible{outline:2px solid #88b5d8;outline-offset:2px}
.gift-inline-error{margin:10px 0;padding:9px 11px;border-radius:8px;background:#fff0ed;color:#91443c;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.gift-inline-error:empty{display:none}
.gift-record{padding:12px;background:#fbfcfe}.gift-record time{display:block;color:#597084;font-size:11px;font-variant-numeric:tabular-nums}.gift-record strong{color:#304a62;font-size:13px}
.profile-menu>.gift-profile-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:62px;color:#30455c}
.gift-profile-entry>span{min-width:0}.gift-profile-entry small{display:block;margin-top:4px;color:#61758a;font-size:10px;font-weight:400;line-height:1.7}.gift-profile-entry svg{width:21px;height:21px;flex:none;stroke:currentColor}
@media(max-width:350px){.gift-banner,.gift-card,.gift-ticket,.gift-setting-card,.gift-preview,.gift-supplier-header{padding:12px}.gift-ticket{padding-left:10px}.gift-tabs>button,.gift-tabs>a{font-size:11px;gap:3px}.gift-actions{gap:7px}.gift-actions>.btn,.gift-actions>button,.gift-actions>a{padding:9px 8px;font-size:11px}.gift-form-grid{gap:9px}.gift-stats{gap:6px}.gift-code{letter-spacing:1px}.gift-entry,.product-ops .gift-entry{font-size:11px;padding:7px 8px}}

/* Client gift structure: red value face, claim/exchange, and expandable history. */
.gift-item,.gift-item-meta,.gift-item-actions,.gift-face,.gift-face-value,.gift-face-name,.gift-list-tools,.gift-record-filters,.gift-record-row,.gift-claim-panel,.gift-exchange-panel{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.gift-item{padding:14px;margin:0 0 13px;border:1px solid #e0e8f0;border-radius:12px;background:#fff}
.gift-item[data-status="expired"],.gift-item[data-status="void"]{background:#fbfcfe}
.gift-item-meta{font-size:12px;line-height:1.85;color:#35495e}
.gift-item-meta p{margin:0 0 3px}.gift-item-meta>div{min-width:0}.gift-item-meta small,.gift-item-meta time{font-size:11px;color:#5d7184;font-variant-numeric:tabular-nums}
.gift-item-meta strong{font-weight:600}.gift-item-meta .gift-count,.gift-counts strong{color:#bd454f;font-variant-numeric:tabular-nums}
.gift-face{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:330px;min-height:98px;margin:15px auto;padding:17px 13px;border-radius:4px;background:#e74860;color:#fff;box-shadow:0 3px 8px #bd314417}
.gift-face-value{display:flex;align-items:baseline;justify-content:center;gap:1px;flex:1 1 57%;color:#fff17d;font-size:clamp(24px,7.2vw,32px);font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}
.gift-face-value strong,.gift-face-value b{min-width:0;max-width:100%;font:inherit;color:inherit;overflow-wrap:anywhere}
.gift-face-value small,.gift-face-value>span{flex:none;font-size:13px;font-weight:400;line-height:1.5}
.gift-face-name{flex:1 1 43%;color:#fff;font-size:16px;line-height:1.8;text-align:center;font-weight:500}
.gift-face-subtitle{display:block;color:inherit;font-size:15px;line-height:1.8;font-weight:400}
.gift-item-actions{display:flex;align-items:stretch;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.gift-item-actions>.btn,.gift-item-actions>button,.gift-item-actions>a{display:inline-flex;justify-content:center;align-items:center;flex:1 1 95px;min-width:0;min-height:40px;padding:8px 10px;border:1px solid #d9e4ee;border-radius:8px;background:#f4f7fa;color:#465c72;font-size:12px;line-height:1.6;white-space:normal;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.gift-item-actions>.btn:last-child,.gift-item-actions>button:last-child,.gift-item-actions>a:last-child{border-color:#e9c8cd;background:#fff0f1;color:#b33e4c}
.gift-item-actions>button:disabled{border-color:#e2e7ec;background:#edf1f5;color:#748393;opacity:1;cursor:default}
.gift-list-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:10px 0 12px}
.gift-list-tools>.btn,.gift-list-tools>button,.gift-list-tools>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;max-width:100%;padding:7px 11px;border:1px solid #dbe5ee;border-radius:8px;background:#fff;color:#3f5872;font-size:12px;line-height:1.7;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.gift-list-tools .gift-tabs{flex:1;margin:0}
.gift-counts{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:12px 0;color:#465b70;font-size:12px;line-height:1.8}
.gift-counts strong{margin-left:3px;font-weight:600}
.gift-record-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;margin:14px 0 18px;padding:12px;border:1px solid #e0e8f0;border-radius:10px;background:#f7f9fc}
.gift-record-filters>label{display:block;min-width:0;max-width:100%;font-size:12px;line-height:1.7;color:#3f576e}
.gift-record-filters>label>span{display:block;margin:0 0 5px}
.gift-record-filters input,.gift-record-filters select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:8px 7px;border:1px solid #cbdce9;border-radius:7px;background:#fff;color:#30485e;font-family:inherit;font-size:12px;line-height:1.6}
.gift-record-filters input[type="date"]{appearance:none;-webkit-appearance:none;min-width:0}.gift-record-filters input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
.gift-record-filters>.btn,.gift-record-filters>button{display:flex;align-items:center;justify-content:center;min-height:40px;max-width:100%;padding:8px 10px;border:1px solid #c5dced;border-radius:8px;background:#dcecf9;color:#2f4a64;font-size:12px;line-height:1.6;white-space:normal}
.gift-record-row{margin:0 0 12px;border:1px solid #dce6ef;border-radius:11px;background:#fff}
.gift-record-row>summary{position:relative;display:block;min-width:0;min-height:44px;padding:12px 31px 12px 12px;list-style:none;color:#344c63;cursor:pointer}
.gift-record-row>summary::-webkit-details-marker{display:none}
.gift-record-row>summary::after{content:"";position:absolute;top:18px;right:13px;width:7px;height:7px;border-right:1.5px solid #536b80;border-bottom:1.5px solid #536b80;transform:rotate(-45deg)}
.gift-record-row[open]>summary::after{transform:rotate(45deg)}
.gift-record-row[open]>summary{border-bottom:1px solid #e8edf3}
.gift-record-row>summary>time{display:block;margin:0 0 7px;font-size:11px;color:#5a7288;font-variant-numeric:tabular-nums}
.gift-record-row>.gift-face{width:calc(100% - 24px);margin:14px auto}
.gift-record-row>.gift-item{margin:0;border:0;border-radius:0;background:transparent}
.gift-record-row>.gift-note,.gift-record-row>.gift-actions,.gift-record-row>.gift-item-actions{margin:10px 12px 13px}
.gift-record-row>.gift-record-body{padding:12px;min-width:0}
.gift-claim-panel,.gift-exchange-panel{padding:17px 14px;border:1px solid #c9dceb;border-radius:13px;background:#fff}
.gift-claim-panel>h2,.gift-claim-panel>h3{margin:0 0 12px;color:#ba3948;font-size:16px;text-align:center;line-height:1.7}
.gift-claim-panel>p{margin:10px 0;text-align:center;line-height:1.8;font-size:12px}
.gift-claim-panel>.gift-note{color:#a94754}.gift-claim-panel .gift-face{margin:14px auto}
.gift-claim-panel .gift-actions,.gift-exchange-panel .gift-actions{margin-top:18px}
.gift-exchange-panel>h2,.gift-exchange-panel>h3{font-size:16px;text-align:center;margin:0 0 18px;color:#344d65}
.gift-exchange-panel>p{font-size:13px;line-height:1.9;margin:10px 0;color:#3e556b}
.gift-exchange-panel .gift-actions>.btn:last-child,.gift-claim-panel .gift-actions>.btn:last-child{background:#fff0f1;border-color:#e7c2c8;color:#ae3d4b}
.gift-record-row>summary:focus-visible,.gift-record-filters input:focus-visible,.gift-record-filters button:focus-visible,.gift-item-actions>button:focus-visible,.gift-list-tools>button:focus-visible{outline:2px solid #88b5d8;outline-offset:2px}
@media(max-width:350px){
  .member-nav.gift-member-nav a{min-height:39px;padding:9px 3px!important;font-size:11px!important}
  .product-ops.gift-product-ops{gap:4px}.product-ops.gift-product-ops>.btn{padding:6px 2px;font-size:10px;min-height:40px}
  .gift-item{padding:11px}.gift-item-meta{font-size:11px}.gift-face{gap:8px;padding:14px 10px;min-height:90px}.gift-face-value{font-size:24px}.gift-face-name{font-size:14px}.gift-face-subtitle{font-size:13px}.gift-face-value small,.gift-face-value>span{font-size:11px}
  .gift-record-filters{padding:10px;gap:8px}.gift-record-filters input,.gift-record-filters select{padding:7px 5px;font-size:11px}
  .gift-claim-panel,.gift-exchange-panel{padding:14px 11px}.gift-item-actions{gap:7px}.gift-item-actions>.btn,.gift-item-actions>button,.gift-item-actions>a{padding:8px 7px;font-size:11px}
}

.gift-item-meta{display:grid;grid-template-columns:14px minmax(0,1fr);gap:6px}.gift-item-meta>div>div{display:flex;flex-wrap:wrap;gap:4px 9px}.gift-item-meta>div>div>span{display:inline-block}.gift-text-button{min-height:38px;padding:8px;border:0;background:transparent;color:#b93c4e;font:inherit;cursor:pointer}.gift-record-filters>label,.gift-record-filters>input,.gift-record-filters>.gift-inline-error{grid-column:1/-1}.gift-record-filters>.gift-inline-error:empty{display:none}.gift-face-value{min-width:0}.gift-face-value strong{font-size:clamp(18px,7vw,30px)}
.product-ops.gift-product-ops .gift-buy-row>.btn{flex:0 0 auto;width:auto}.product-ops.gift-product-ops>.btn{font-size:10px;padding-left:1px;padding-right:1px;text-wrap:balance}

/* Shared member/supplier times and the gift evidence timeline. */
.gift-time-summary,.gift-time-summary>div,.gift-time-summary dt,.gift-time-summary dd,.gift-validity,.gift-progress-label,.gift-time-progress,.gift-evidence,.gift-evidence-chain,.gift-evidence-chain>li,.gift-event-heading,.gift-event-progress{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.gift-time-summary{display:grid;gap:4px;margin:9px 0 0;font-size:11px;line-height:1.75}
.gift-time-summary>div{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:8px}
.gift-time-summary dt{margin:0;color:#61758a;font-weight:400}
.gift-time-summary dd{margin:0;color:#354d63;font-variant-numeric:tabular-nums}
.gift-time-summary time,.gift-event-heading time{display:block;max-width:100%;color:#52697e;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.75;white-space:normal;overflow-wrap:anywhere}
.gift-time-summary>.gift-time-progress-row{grid-template-columns:minmax(0,1fr);margin:3px 0 4px}
.gift-validity,.gift-event-progress{display:grid;grid-template-columns:auto minmax(48px,1fr);align-items:center;gap:9px;width:100%}
.gift-progress-label{display:block;color:#566d81;font-size:11px;line-height:1.8}
.gift-progress-label b{color:#b53e50;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.gift-time-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;margin:0;padding:0;border:0;border-radius:999px;background:#f2dfe3;color:#d45569;accent-color:#d45569;overflow:hidden}
.gift-time-progress::-webkit-progress-bar{border-radius:999px;background:#f2dfe3}
.gift-time-progress::-webkit-progress-value{border-radius:999px;background:#d45569}
.gift-time-progress::-moz-progress-bar{border-radius:999px;background:#d45569}
.gift-evidence{width:100%;max-width:430px;margin:0 auto}
.gift-evidence>.field-row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:8px;min-height:0;padding:4px 0;font-size:12px;line-height:1.8}
.gift-evidence>.field-row>label,.gift-evidence>.field-row>.label{width:auto;min-width:0;max-width:100%;color:#61758a;font-size:11px;line-height:1.95;white-space:normal}
.gift-evidence>.field-row>.value{min-width:0;max-width:100%;color:#354d63;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.gift-evidence>.gift-status{margin-top:9px}
.gift-evidence>.gift-time-summary{padding:11px 12px;border:1px solid #e2e9f0;border-radius:9px;background:#f7f9fc}
.gift-evidence-chain{margin:18px 0 0;padding:0 0 0 4px;list-style:none}
.gift-evidence-chain>li{position:relative;margin:0;padding:0 0 16px 16px;border-left:1px solid #dbe5ee;color:#435c73;font-size:11px;line-height:1.8}
.gift-evidence-chain>li:last-child{padding-bottom:3px;border-left-color:transparent}
.gift-evidence-chain>li::before{content:"";position:absolute;top:5px;left:-4px;width:7px;height:7px;border:1px solid #d45569;border-radius:50%;background:#fff0f2}
.gift-event-heading{display:grid;gap:2px}
.gift-event-heading strong{color:#304b63;font-size:12px;font-weight:650;line-height:1.7}
.gift-evidence-chain>li>p{margin:4px 0;color:#566d81;font-size:11px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.gift-event-progress{margin:5px 0 3px}
@media(max-width:350px){
  .gift-time-summary>div{grid-template-columns:54px minmax(0,1fr);gap:6px}
  .gift-validity,.gift-event-progress{gap:7px}
  .gift-evidence>.field-row{grid-template-columns:60px minmax(0,1fr);gap:6px}
  .gift-evidence>.gift-time-summary{padding:10px}
  .gift-evidence-chain>li{padding-left:13px}
}
/* Activity names open the same explanations as the member product page. */
form[data-v12="purchase"] .v12-promotion-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin-top:12px}
form[data-v12="purchase"] .v12-promotion-choice{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;margin:0;font-size:12px;line-height:1.5;white-space:nowrap;min-height:40px}
form[data-v12="purchase"] .v12-promotion-choices input{flex:0 0 15px;width:15px;height:15px;margin:0;accent-color:var(--accent)}
form[data-v12="purchase"] .v12-promotion-help{min-width:0;min-height:40px;margin:0;padding:4px 0;border:0;background:transparent;color:#355e99;font:inherit;white-space:nowrap;cursor:pointer;text-decoration:underline;text-decoration-color:#b8c9df;text-underline-offset:4px}
form[data-v12="purchase"] .v12-promotion-help:focus-visible{outline:2px solid #355e99;outline-offset:2px;border-radius:3px}
@media(max-width:350px){form[data-v12="purchase"] .v12-promotion-choices{gap:5px}form[data-v12="purchase"] .v12-promotion-choice{font-size:11px;gap:3px}}
.gift-item-meta .gift-card-claimed{margin:6px 0;font-size:12px;line-height:1.7;color:#43596f}
.gift-item-meta .gift-card-claimed time{font-size:12px;color:inherit}
.gift-card-claimed time{font-variant-numeric:tabular-nums;white-space:normal}
.gift-card-validity{display:grid;grid-template-columns:auto minmax(30px,1fr);gap:5px 8px;margin-top:6px}
.gift-card-validity .gift-progress-hint{grid-column:1/-1;color:#718394;font-size:10px;line-height:1.4}
.gift-offer-panel{padding:14px;border:1px solid #e0e8f0;border-radius:13px;background:#fff}
.gift-offer-description h3{margin:0 0 12px;text-align:center;color:#ad4050}
.gift-offer-description p{font-size:12px;line-height:1.85}

/* Keep every current gift visible below the campaign artwork. */
body #modal-root .gift-offer-catalog .activity-poster-card{min-height:360px;padding:22px 18px 16px}
body #modal-root .gift-offer-catalog .activity-poster-heading h2{font-size:32px}
body #modal-root .gift-offer-catalog .activity-poster-benefit{margin-top:13px;padding:10px}
body #modal-root .gift-offer-catalog .activity-poster-benefit>strong{font-size:24px}
body #modal-root .gift-offer-catalog .activity-poster-art-space{min-height:64px}
body #modal-root .gift-offer-catalog .activity-poster-operations{margin-top:8px;padding-top:4px}
.gift-campaign-list{margin:24px 0 0;min-width:0;color:#151a18}
.gift-campaign-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
body #modal-root .gift-campaign-list-heading h2{margin:0;font-size:21px;line-height:1.4;color:#151a18}
.gift-campaign-list-heading>span{font-size:12px;white-space:nowrap}
.gift-campaign-list-intro{font-size:12px;line-height:1.7;margin:8px 0 14px}
.gift-campaign-list>ol{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.gift-campaign-card{min-width:0;padding:16px;border:1px solid #e0e6df;border-radius:16px;background:#fff;overflow-wrap:anywhere}
.gift-campaign-card>header{display:flex;align-items:baseline;gap:10px}
.gift-campaign-number{font-size:12px;font-variant-numeric:tabular-nums;color:#151a18}
body #modal-root .gift-campaign-card h3{margin:0;font-size:16px;line-height:1.6;color:#151a18}
body #modal-root .gift-campaign-card .gift-face{margin:12px 0;max-width:none;min-height:88px;padding:14px 10px;box-shadow:none}
body #modal-root .gift-campaign-card .sa-gift-image{width:100%;max-height:190px;object-fit:contain;margin-top:12px;border-radius:10px}
.gift-campaign-summary{display:grid;gap:5px;font-size:12px;line-height:1.7}
body #modal-root .gift-campaign-detail-button{display:block;width:100%;min-height:42px;margin-top:14px;border:1px solid #b7c9bc;background:#f3f7f1;color:#151a18;border-radius:9px;font-size:14px}
body #modal-root .gift-campaign-description{padding:4px 0 14px;color:#151a18}
body #modal-root .gift-campaign-description>h2{margin:2px 0 20px;font-size:23px;line-height:1.5;color:#151a18;overflow-wrap:anywhere}
.gift-campaign-description-lead{margin:18px 0;font-size:14px;line-height:1.9}
.gift-campaign-description .field-row{align-items:flex-start}
.gift-campaign-description :is(.value,.gift-note){white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:350px){body #modal-root .gift-offer-catalog .activity-poster-card{padding:20px 14px 14px}.gift-campaign-card{padding:13px}body #modal-root .gift-campaign-list-heading h2{font-size:20px}}
