/* 独立交付页面：卡密只在经过授权的本站页面呈现。 */
.completion-page,.completion-state{max-width:1050px;margin:0 auto;color:#263c3a}
.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:#deefe4;color:#286247;margin-bottom:18px}
.completion-check .icon{width:28px;height:28px;stroke-width:2}
.completion-heading .eyebrow{color:#43725a;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:#596e67}
.completion-order{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:18px 24px;background:#e8f0eb;border:1px solid #d0dfd5;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:#566c60}
.completion-order small{margin-left:auto;font-size:12px;color:#566c60;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:#f9fbf8;border:1px solid #d7e2da;border-radius:12px;min-width:0}
.completion-steps>li:first-child{grid-row:1/3;background:#e8f0f7;border-color:#cbdbe6}
.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:#2f6350;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:#536760;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 #b7cbd8;border-radius:8px;background:#fff;color:#284252;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 #5b9681;outline-offset:3px}
.completion-copy-status{min-height:22px;font-size:12px!important;line-height:1.7;color:#2b624c!important;margin:4px 0 10px!important}
.completion-recharge{background:#315f52;color:#fff;border:1px solid #315f52;font-size:13px;min-height:44px;padding:11px 18px}
.completion-recharge:hover{background:#244c40}
.completion-domain{display:inline-block;font-size:12px;color:#536760;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 #c8d8e2}
.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:#536760;overflow-wrap:anywhere}
.completion-step-body .completion-credential-note{font-size:12px;line-height:1.85;padding-top:12px;border-top:1px solid #d7e2da;margin-top:15px}
.completion-help{padding:22px 25px;margin-top:23px;background:#f0f3ee;border:1px solid #d7e2da;border-radius:10px}
.completion-help>p{font-size:12px;line-height:1.95;color:#536760;margin:0}
.completion-help .payment-actions{margin-bottom:0;gap:14px 22px}
.completion-state{padding:32px;border:1px solid #d7e2da;border-radius:12px;background:#f9fbf8}
.completion-state h1{font-size:28px;line-height:1.6;margin:12px 0}
.completion-state>p{line-height:1.9;font-size:14px;color:#536760}
.completion-state>a{display:block;margin-top:20px}
.delivery-entry{padding:20px;background:#e5f0ea;border:1px solid #c6dacf;border-radius:9px;margin:22px 0}
.delivery-entry p{font-size:14px;line-height:1.9;margin:0 0 14px;color:#425e51}
.delivery-entry>span{display:block;margin-top:12px;font-size:12px;color:#536760}
@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:#282522}
.completion-recharge{background:#bc6b4b;border-color:#bc6b4b;color:#fffaf4}
.completion-recharge:hover{background:#a75236;border-color:#a75236}
.completion-code,.completion-order,.completion-help{border-color:#e0d0c1}
.completion-check,.completion-step-number{background:#d4a189;color:#2d241f}
