/* 独立交付页面：卡密只在经过授权的本站页面呈现。 */
.completion-page,.completion-state{max-width:1050px;margin:0 auto;color:#28273b}
.order-page.delivery-order-page{max-width:1050px;padding:0;border:0;background:transparent;box-shadow:none}
.completion-heading{text-align:center;margin:6px 0 28px}
.completion-check{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#dedfef;color:#2a2961;margin-bottom:18px}
.completion-check .icon{width:28px;height:28px;stroke-width:2}
.completion-heading .eyebrow{color:#444471;margin-bottom:10px}
.completion-heading h1{font-family:var(--serif);font-size:clamp(28px,3vw,38px);font-weight:500;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
.completion-heading>p:last-child{font-size:14px;line-height:1.9;color:#5a5a6d}
.completion-order{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:18px 24px;background:#e8e8f0;border:1px solid #d0d1df;border-radius:10px;margin-bottom:24px}
.completion-order strong{font-size:16px;min-width:0;overflow-wrap:anywhere}
.completion-order span{font-size:13px;color:#57576b}
.completion-order small{margin-left:auto;font-size:12px;color:#57576b;overflow-wrap:anywhere}
.completion-steps{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px;list-style:none;padding:0;margin:0}
.completion-steps>li{display:flex;align-items:flex-start;gap:15px;padding:25px;background:#f8f8fb;border:1px solid #d7d8e2;border-radius:12px;min-width:0}
.completion-steps>li:first-child{grid-row:1/3;background:#eae8f7;border-color:#cfcce5}
.completion-steps>li:nth-child(n+2){grid-column:2}
.completion-step-number{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;background:#313062;color:#fff;border-radius:50%;font-size:13px;font-weight:600}
.completion-step-body{min-width:0;width:100%}
.completion-step-body h2{font-size:19px;line-height:1.55;font-weight:600;margin:1px 0 10px}
.completion-step-body>p{font-size:13px;line-height:1.95;color:#545466;margin:0 0 14px;overflow-wrap:anywhere}
.completion-cards{margin-top:20px!important;padding:0!important;border:0!important;background:transparent!important}
.completion-code{margin:0 0 18px}
.completion-code-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.completion-code-heading label{font-weight:600;font-size:13px}
.completion-code-heading .button{min-height:40px;font-size:12px;padding:9px 13px;background:#fff;flex:none}
.completion-code textarea{display:block;width:100%;min-width:0;min-height:104px;resize:vertical;padding:15px;border:1px solid #bbb8d7;border-radius:8px;background:#fff;color:#2e2951;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}
.completion-code textarea:focus-visible{outline:3px solid #5e5c95;outline-offset:3px}
.completion-copy-status{min-height:22px;font-size:12px!important;line-height:1.7;color:#2d2c61!important;margin:4px 0 10px!important}
.completion-recharge{background:#34325e;color:#fff;border:1px solid #34325e;font-size:13px;min-height:44px;padding:11px 18px}
.completion-recharge:hover{background:#26254b}
.completion-domain{display:inline-block;font-size:12px;color:#545466;margin:8px 0 8px 12px}
.completion-loading{font-size:13px;line-height:1.8;margin:18px 0;padding:16px;background:#ffffffaa;border-radius:8px;overflow-wrap:anywhere}
.completion-product-guide{margin-top:20px;padding-top:15px;border-top:1px solid #cbc9e1}
.completion-product-guide summary{cursor:pointer;font-size:13px;font-weight:600;padding:6px 0}
.completion-product-guide p{font-size:12px;line-height:1.9;color:#545466;overflow-wrap:anywhere}
.completion-step-body .completion-credential-note{font-size:12px;line-height:1.85;padding-top:12px;border-top:1px solid #d7d8e2;margin-top:15px}
.completion-help{padding:22px 25px;margin-top:23px;background:#eeeff3;border:1px solid #d7d8e2;border-radius:10px}
.completion-help>p{font-size:12px;line-height:1.95;color:#545466;margin:0}
.completion-help .payment-actions{margin-bottom:0;gap:14px 22px}
.completion-state{padding:32px;border:1px solid #d7d8e2;border-radius:12px;background:#f8f8fb}
.completion-state h1{font-size:28px;line-height:1.6;margin:12px 0}
.completion-state>p{line-height:1.9;font-size:14px;color:#545466}
.completion-state>a{display:block;margin-top:20px}
.delivery-entry{padding:20px;background:#e5e5f0;border:1px solid #c7c7d9;border-radius:9px;margin:22px 0}
.delivery-entry p{font-size:14px;line-height:1.9;margin:0 0 14px;color:#43435d}
.delivery-entry>span{display:block;margin-top:12px;font-size:12px;color:#545466}
@media(max-width:760px){.completion-heading{margin-top:0}.completion-order{padding:17px;gap:7px 12px}.completion-order small{width:100%;margin-left:0}.completion-steps{grid-template-columns:minmax(0,1fr)}.completion-steps>li:first-child{grid-row:auto}.completion-steps>li:nth-child(n+2){grid-column:auto}.completion-steps>li{padding:20px 17px;gap:12px}.completion-step-number{flex-basis:27px;height:27px}.completion-step-body h2{font-size:18px}.completion-code textarea{font-size:16px}.completion-help{padding:18px}.completion-state{padding:23px}.completion-domain{display:block;margin-left:0;margin-top:10px}}
@media(max-width:380px){.completion-steps>li{padding:18px 13px;gap:9px}.completion-code-heading{flex-wrap:wrap}.completion-code-heading .button{min-height:42px}.completion-code textarea{padding:10px;font-size:14px}.completion-heading h1{font-size:26px}}
/* 交付内容优先出现在首屏，状态提示保持紧凑。 */
.order-page.delivery-order-page{margin-inline:auto}
.subpage:has(.delivery-order-page){padding-top:32px}
.completion-heading{display:grid;grid-template-columns:58px minmax(0,1fr);column-gap:20px;align-items:center;text-align:left;margin:0 0 26px}
.completion-check{grid-column:1;grid-row:1/4;margin:0}
.completion-heading .eyebrow{grid-column:2;margin-bottom:5px}
.completion-heading h1{grid-column:2;font-size:32px;margin-bottom:6px;line-height:1.5}
.completion-heading>p:last-child{grid-column:2;font-size:13px}
@media(max-width:760px){.subpage:has(.delivery-order-page){padding-top:28px}.completion-heading{grid-template-columns:42px minmax(0,1fr);gap:0 13px}.completion-check{width:42px;height:42px}.completion-check .icon{width:23px;height:23px}.completion-heading h1{font-size:25px}.completion-heading>p:last-child{font-size:12px}}

/* 与 Claude 版主页一致的交付页色彩。 */
.completion-page,.completion-state{color:#222428}
.completion-recharge{background:#4e6ab9;border-color:#4e6ab9;color:#f6f8fd}
.completion-recharge:hover{background:#3956a4;border-color:#3956a4}
.completion-code,.completion-order,.completion-help{border-color:#c2c9df}
.completion-check,.completion-step-number{background:#8b9dd2;color:#1f232d}
