/* Inherit Xuanshu's paper, ink, gold, WenKai and current scene/light layers. */
.xs-redeem-guide{grid-column:1/-1;min-width:0;scroll-margin-top:16px;border:1px solid color-mix(in srgb,var(--primary) 30%,var(--border));border-top:2px solid var(--primary);background:var(--xs-panel);color:var(--foreground);border-radius:2px;line-height:1.65;}
.xs-redeem-guide *{box-sizing:border-box;}
.xs-redeem-guide a:focus-visible,.xs-redeem-search summary:focus-visible{outline:2px solid var(--ring);outline-offset:4px;}
.xs-redeem-teaser{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;}
.xs-redeem-teaser strong{font-size:16px;font-weight:600;}
.xs-redeem-teaser div>span{margin-left:18px;font-size:13px;color:var(--muted-foreground);}
.xs-redeem-teaser>a{flex-shrink:0;font-size:13px;color:var(--primary);text-decoration:underline;text-underline-offset:4px;}
.xs-redeem-full{display:none;}
.xs-redeem-open .xs-redeem-full{display:block;}
.xs-redeem-open .xs-redeem-teaser{display:none;}
.xs-redeem-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px 20px;border-bottom:1px solid var(--border);}
.xs-redeem-eyebrow{margin:0 0 7px!important;font-size:11px;letter-spacing:.2em;color:var(--primary);}
.xs-redeem-header h2{margin:0;font-family:var(--font-heading,var(--font-body));font-size:clamp(21px,2vw,28px);font-weight:500;letter-spacing:.03em;line-height:1.45;}
.xs-redeem-header>div>p:last-child{margin:9px 0 0;font-size:13px;color:var(--muted-foreground);}
.xs-redeem-native-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0;padding:9px 0;color:var(--primary);font-size:13px;text-decoration:underline;text-underline-offset:5px;}
.xs-redeem-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);}
.xs-redeem-purchase{padding:22px 26px 24px;border-right:1px solid var(--border);}
.xs-redeem-instructions{padding:22px 26px 24px;}
.xs-redeem-step{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.xs-redeem-step>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--primary);font-size:12px;flex-shrink:0;}
.xs-redeem-step h3{margin:0;font-size:15px;font-weight:600;}
.xs-redeem-denominations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid color-mix(in srgb,var(--primary) 45%,var(--border));background:color-mix(in srgb,var(--primary) 5%,transparent);}
.xs-redeem-denominations>.xs-redeem-buy{padding:14px 8px;text-align:center;border-right:1px dashed color-mix(in srgb,var(--primary) 38%,var(--border));}
.xs-redeem-denominations>.xs-redeem-buy:last-child{border-right:0;}
.xs-redeem-denominations small{display:block;font-size:10px;color:var(--muted-foreground);letter-spacing:.12em;}
.xs-redeem-denominations strong{display:block;margin-top:4px;font-size:clamp(21px,2.3vw,32px);font-family:var(--font-heading,var(--font-body));font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;}
.xs-redeem-ratio{margin:9px 0 17px;font-size:12px;color:var(--muted-foreground);}
.xs-redeem-buy{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:42px;padding:10px 16px;background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);font-size:14px;font-weight:600;text-decoration:none;transition:filter .15s;}
.xs-redeem-buy:hover{filter:brightness(1.1);}
.xs-redeem-store{margin:10px 0 14px;font-size:13px;}
.xs-redeem-store>span{display:block;color:var(--muted-foreground);font-size:12px;overflow-wrap:anywhere;}
.xs-redeem-search{border-top:1px solid var(--border);padding-top:11px;}
.xs-redeem-search summary{cursor:pointer;color:var(--primary);font-size:13px;}
.xs-redeem-search p,.xs-redeem-instructions>p,.xs-redeem-instructions li{font-size:13px;color:var(--muted-foreground);}
.xs-redeem-search p{margin:9px 0 0;}
.xs-redeem-instructions>p{margin:0 0 10px;}
.xs-redeem-step-last{margin-top:22px;margin-bottom:11px;}
.xs-redeem-instructions ol{margin:0 0 7px;padding-left:1.4em;}
.xs-redeem-instructions li{padding-left:3px;margin-bottom:5px;}
.xs-redeem-native-help{margin:9px 0 0;font-size:12px;color:var(--muted-foreground);}
[data-slot="card"].xs-redeem-target{outline:2px solid var(--primary);outline-offset:3px;}
@media(max-width:900px){.xs-redeem-header{align-items:flex-start;flex-direction:column;gap:8px;}.xs-redeem-layout{grid-template-columns:minmax(0,1fr);}.xs-redeem-purchase{border-right:0;border-bottom:1px solid var(--border);}.xs-redeem-teaser{align-items:flex-start;flex-direction:column;gap:6px;}.xs-redeem-teaser div>span{display:block;margin:4px 0 0;}}
@media(max-width:480px){.xs-redeem-header,.xs-redeem-purchase,.xs-redeem-instructions{padding:18px 16px;}.xs-redeem-header h2{font-size:22px;}.xs-redeem-denominations>.xs-redeem-buy{padding:12px 3px;}.xs-redeem-denominations strong{font-size:25px;}.xs-redeem-header>div>p:last-child{font-size:12px;}.xs-redeem-teaser{padding:14px 16px;}}
@media(prefers-reduced-motion:reduce){.xs-redeem-buy{transition:none;}}

/* Four verified service-denomination purchase links. */
.xs-redeem-denominations>.xs-redeem-buy{display:block;min-height:0;padding:14px 8px;color:var(--foreground);background:transparent;border:0;border-right:1px dashed color-mix(in srgb,var(--primary) 38%,var(--border));font-weight:400;text-decoration:none;}
.xs-redeem-denominations>.xs-redeem-buy:last-child{border-right:0;}
.xs-redeem-denominations>.xs-redeem-buy:hover{background:color-mix(in srgb,var(--primary) 10%,transparent);filter:none;}
.xs-redeem-buy-label{display:block;margin-top:9px;color:var(--primary);font-size:12px;}
@media(max-width:480px){.xs-redeem-denominations{grid-template-columns:repeat(2,minmax(0,1fr));}.xs-redeem-denominations>.xs-redeem-buy{padding:13px 7px;}.xs-redeem-denominations>.xs-redeem-buy:nth-child(2){border-right:0;}.xs-redeem-denominations>.xs-redeem-buy:nth-child(-n+2){border-bottom:1px dashed color-mix(in srgb,var(--primary) 38%,var(--border));}}

.xs-redeem-denominations>button.xs-redeem-buy:disabled{opacity:.65;cursor:not-allowed;font:inherit;}
.xs-redeem-denominations>button.xs-redeem-buy:disabled:hover{background:transparent;}
.xs-redeem-purchase-status{margin:12px 0 7px;font-size:13px;color:var(--primary);font-weight:600;}
