
/* Compact checkout keeps the order and primary controls together. */
.currency-row select,[data-theme="dark"] .currency-row select{background:#ffb7dc;color:#351326;border:2px solid #b42a70;min-height:44px;font-weight:700;max-width:100%;width:100%;text-overflow:ellipsis}
.currency-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}
.currency-row select:focus-visible{outline:3px solid #cf3488;outline-offset:3px}
.checkout-total>span{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:4px 8px}
.checkout-total strong,.checkout-item-price,.checkout-pay strong{overflow-wrap:anywhere;white-space:normal}
.checkout-product{flex-wrap:wrap}.checkout-item-price{max-width:100%}
@media(max-width:760px){
#purchase-dialog.checkout-design{width:min(560px,calc(100vw - 16px));height:auto;max-height:calc(100dvh - 16px);margin:auto;border-radius:18px;overflow-y:auto;overflow-x:hidden}
#purchase-dialog.checkout-design[open]{display:block}
#purchase-dialog .checkout-yellow{display:none}
#purchase-dialog .checkout-white{padding:12px 16px 14px}
#purchase-dialog .checkout-topbar{min-height:36px;margin:0 0 8px}
#purchase-dialog .checkout-close{position:static;width:36px;height:36px;font-size:28px}
#purchase-dialog .checkout-white #purchase-title{font-size:28px;line-height:1.1;margin:0 0 5px;letter-spacing:-1px}
#purchase-dialog .checkout-subtitle{font-size:13px;line-height:1.3}
#purchase-dialog .checkout-steps{margin:14px 0;gap:5px}
#purchase-dialog .checkout-step{font-size:10px;gap:4px}
#purchase-dialog .checkout-step>span{width:25px;height:25px;font-size:12px}
#purchase-dialog .checkout-order-card{padding:12px}
#purchase-dialog .checkout-product{gap:8px;padding-bottom:10px}
#purchase-dialog .checkout-product-icon{width:34px;height:34px}
#purchase-dialog .checkout-product-name{flex:1}
#purchase-dialog .checkout-product-name h3{font-size:14px;letter-spacing:-.3px}
#purchase-dialog .checkout-product-name p{font-size:11px}
#purchase-dialog .checkout-item-price{font-size:20px}
#purchase-dialog .checkout-specs{padding:9px 0;gap:6px;font-size:12px}
#purchase-dialog .checkout-total{padding-top:10px}
#purchase-dialog .checkout-total>b{font-size:19px}
#purchase-dialog .checkout-total strong{font-size:26px}
#purchase-dialog .currency-row{margin-top:12px}
#purchase-dialog .currency-row label{font-size:13px}
#purchase-dialog .currency-row select{font-size:14px;padding:8px;width:100%}
#purchase-dialog .checkout-pay{margin-top:12px;min-height:48px;padding:12px;font-size:17px;gap:8px;flex-wrap:wrap}
#purchase-dialog .checkout-pay strong{font-size:20px;max-width:100%}
#purchase-dialog .checkout-service-status{font-size:11px;line-height:1.35;margin-top:7px}
#purchase-dialog .checkout-policy-links{margin-top:12px;padding-top:10px;font-size:11px;gap:7px}
}
/* About anchors clear the fixed navigation; narrow content can wrap. */
.page-layout>*,.info-card{min-width:0}
.info-card{scroll-margin-top:130px;overflow-wrap:break-word}
.page-toc a{overflow-wrap:break-word}
@media(max-width:480px){.page-intro h1{font-size:36px;overflow-wrap:break-word}.page-toc{display:grid;grid-template-columns:1fr;gap:0}.page-toc a{padding:9px 0}.info-card{padding:18px;scroll-margin-top:110px}}
