@layer design {
  :root { --commerce-dialog-width:620px; }
  .button.is-submitting:disabled { position:relative; padding-inline:46px; opacity:1; cursor:wait; }
  .button-primary.is-submitting:disabled { background:var(--primary); color:#fff; }
  .button.is-submitting::before,.button.is-submitting::after { display:none; }
  .activity-spinner { display:block; flex:none; width:24px; height:24px; overflow:visible; pointer-events:none; }
  .activity-spinner,.activity-spinner * { animation:none!important; transition:none!important; }
  .activity-spinner circle,.activity-spinner path { fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; }
  .button.is-submitting>.activity-spinner {
    position:absolute; inset:auto; inset-inline-start:18px; top:calc(50% - 12px);
    width:24px; height:24px; margin:0; opacity:1; transform:none;
  }
  .checkout-operation-progress { display:flex; align-items:center; justify-content:center; gap:12px; margin:24px 0; color:var(--muted); font-size:14px; }
  .checkout-operation-progress[hidden] { display:none; }
  .checkout-operation-spinner { flex:none; width:24px; height:24px; color:var(--accent); }
  .checkout-operation-dialog .receipt-reference code { overflow-wrap:anywhere; }
  .topup-currency-note { margin:8px 0 0; text-align:center; color:var(--muted); font-size:12px; }
  html:has(:is(.checkout-dialog,.payment-dialog,.topup-dialog)[open]),body:has(:is(.checkout-dialog,.payment-dialog,.topup-dialog)[open]) { overflow:hidden; }
  :is(.checkout-dialog,.payment-dialog,.topup-dialog) {
    --dialog-pad:24px;
    width:min(var(--commerce-dialog-width),calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 40px);
    margin:auto; padding:var(--dialog-pad); overflow:auto; overscroll-behavior:contain;
    border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line)); border-radius:24px;
    background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 9%,var(--surface)),var(--surface) 42%);
    color:var(--ink); box-shadow:0 24px 90px #0005; transform:none;
    scrollbar-width:thin; scrollbar-color:var(--line-hover) transparent;
  }
  :is(.checkout-dialog,.payment-dialog,.topup-dialog)::backdrop { background:rgb(5 6 13 / .48); backdrop-filter:blur(5px); }
  :root[data-theme='light'] :is(.checkout-dialog,.payment-dialog,.topup-dialog)::backdrop { background:rgb(30 24 50 / .22); }
  :is(.checkout-dialog,.payment-dialog,.topup-dialog) :is(.button,.pay-option,.modal-close) { transform:none; transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s; }
  :is(.checkout-dialog,.payment-dialog,.topup-dialog) :is(.button,.pay-option):hover { transform:none; }
  :is(.checkout-dialog,.payment-dialog,.topup-dialog) .button-primary { box-shadow:0 4px 18px color-mix(in srgb,var(--primary) 15%,transparent); }
  .checkout-dialog-close,:is(.payment-dialog,.topup-dialog)>.modal-close { display:grid; place-items:center; width:34px; height:34px; padding:8px; border:1px solid var(--line); border-radius:11px; background:color-mix(in srgb,var(--surface) 65%,transparent); color:var(--muted); flex-shrink:0; }
  :is(.payment-dialog,.topup-dialog)>.modal-close,.checkout-dialog>.checkout-dialog-close { position:absolute; right:18px; top:18px; z-index:1; }
  .checkout-dialog-close:hover,:is(.payment-dialog,.topup-dialog)>.modal-close:hover { color:var(--ink); border-color:var(--line-hover); background:var(--surface-2); }
  .checkout-dialog-close svg,:is(.payment-dialog,.topup-dialog)>.modal-close svg { width:18px; height:18px; }
  .checkout-dialog-heading { display:flex; align-items:center; justify-content:center; gap:14px; padding-inline:32px; margin:0; }
  .checkout-dialog-heading h2 { font-size:28px; line-height:1.25; letter-spacing:-.035em; margin:0; font-weight:550; outline:none; }
  .checkout-direct { max-width:650px; }
  .checkout-direct .checkout-compact { padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--surface); }
  .checkout-selection { display:grid; grid-template-columns:44px minmax(0,1fr) 32px; align-items:center; gap:13px; padding:16px; border:1px solid var(--line); border-radius:15px; background:color-mix(in srgb,var(--surface-2) 55%,transparent); }
  .checkout-selection .large-logo { width:44px; height:44px; padding:8px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
  .checkout-selection .large-logo img { width:27px; height:27px; }
  .checkout-selection h3 { margin:0; font-size:15px; font-weight:500; line-height:1.5; letter-spacing:-.2px; overflow-wrap:anywhere; }
  .checkout-selection p { display:flex; flex-wrap:wrap; gap:7px; margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
  .checkout-selection-edit { display:grid; place-items:center; width:32px; height:34px; border:1px solid var(--line); border-radius:9px; color:var(--muted); }
  .checkout-selection-edit:hover { color:var(--accent); border-color:var(--line-hover); }
  .checkout-selection-edit svg { width:16px; height:16px; }
  .checkout-compact .checkout-payment { margin:23px 0 0; padding:0; border:0; background:none; }
  .checkout-compact .checkout-payment h3 { margin:0 0 12px; font-size:14px; font-weight:500; color:var(--muted); }
  .checkout-compact .checkout-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; }
  .checkout-compact .pay-option,.topup-payment-options .pay-option { gap:12px; padding:14px; border-radius:13px; background:color-mix(in srgb,var(--surface) 85%,transparent); }
  .checkout-compact .pay-option { min-height:82px; padding:14px; }
  .checkout-compact .pay-option .payment-symbol,.topup-payment-options .payment-symbol { width:38px; height:38px; flex:0 0 38px; border-radius:11px; }
  .checkout-compact .pay-option .payment-symbol svg,.checkout-compact .pay-option .payment-symbol img,.topup-payment-options .payment-symbol svg,.topup-payment-options .payment-symbol img { width:26px; height:26px; }
  .checkout-compact .pay-option .method-copy,.topup-payment-options .method-copy { min-width:0; }
  .checkout-compact .pay-option .method-copy b,.topup-payment-options .method-copy b { font-size:15px; line-height:1.45; font-weight:500; }
  .checkout-compact .pay-option .method-copy small,.topup-payment-options .method-copy small { font-size:13px; line-height:1.5; }
  .checkout-compact .pay-option .payment-check,.checkout-compact .pay-option .method-lock,.topup-payment-options .payment-check,.topup-payment-options .method-lock { position:static; width:16px; height:16px; margin-left:auto; }
  .checkout-compact .payment-check svg,.checkout-compact .method-lock svg { width:16px; height:16px; }
  .checkout-compact .pay-option.available,.topup-payment-options .pay-option.available { border-color:color-mix(in srgb,var(--accent) 80%,var(--line)); background:color-mix(in srgb,var(--primary) 12%,var(--surface)); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 10%,transparent); }
  .checkout-compact .pay-option[data-method='card']:disabled,.topup-payment-options .pay-option[data-method='card']:disabled { display:none; }
  .checkout-compact .checkout-total { position:static; width:100%; margin:0; padding:0; background:none; border:0; border-radius:0; box-shadow:none; opacity:1; transform:none; transition:none; animation:none; }
  .checkout-compact .grand-total { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:18px 0 0; padding:16px 0 0; border-top:1px solid var(--line); }
  .checkout-compact .grand-total>span { font-size:14px; color:var(--muted); }
  .checkout-compact .grand-total>b { font-size:32px; line-height:1.2; font-weight:600; letter-spacing:-.04em; }
  .checkout-compact .terms-check { align-items:flex-start; margin:17px 0 0; font-size:13px; line-height:1.65; }
  .checkout-compact .terms-check input { margin-top:3px; }
  .checkout-compact .notice { margin:15px 0 0; padding:12px 14px; font-size:13px; line-height:1.6; border-radius:12px; }
  .test-checkout .notice { padding:0; border:0; background:none; color:var(--muted); font-size:12px; margin:10px 0 0; }
  .checkout-compact .checkout-actions { margin-top:20px; }
  .checkout-compact .checkout-actions>.button { width:100%; min-width:0; min-height:50px; border-radius:13px; font-size:15px; }
  .checkout-compact .checkout-summary-foot { display:block; justify-content:center; text-align:center; margin:12px 0 0; font-size:12px; line-height:1.6; }
  .checkout-summary-foot svg { width:14px; height:14px; vertical-align:-2px; margin-right:4px; }
  .checkout-signin-note { margin:20px 0 0; color:var(--muted); font-size:15px; }
  .order-product-cover { position:relative; display:flex; align-items:center; min-height:220px; padding:24px; border:1px solid #c9baff25; border-radius:18px; overflow:hidden; isolation:isolate; background:var(--cover-base); color:#fff; }
  .order-cover-scene { position:absolute; inset:0; z-index:-1; pointer-events:none; }
  .order-cover-city { width:100%; height:100%; object-fit:cover; object-position:right center; opacity:.5; mix-blend-mode:luminosity; }
  .order-cover-scene::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,var(--cover-base),color-mix(in srgb,var(--cover-base) 88%,transparent) 35%,transparent 100%); }
  .order-cover-character { position:absolute; z-index:1; top:5px; right:-1%; width:42%; max-width:310px; height:auto; }
  .order-cover-character.payment-cover-character { top:0; right:0; width:44%; height:135%; max-width:none; object-fit:contain; object-position:center top; }
  .order-product-cover .card-cover-character { width:48%; max-width:280px; right:-1%; top:0; }
  .order-cover-copy { width:65%; max-width:420px; position:relative; z-index:1; }
  .order-cover-service { display:flex; align-items:center; gap:7px; margin-bottom:11px; color:#fff; font-size:13px; font-weight:500; line-height:1.25; }
  .order-cover-service .service-logo,.order-cover-service>img { width:23px; height:23px; object-fit:contain; }
  .order-product-cover:is(.chatgpt,.capcut,.elevenlabs,.api) .order-cover-service .service-logo { filter:brightness(0) invert(1); }
  .order-cover-copy h3 { color:#fff; margin:0; min-height:0; font-size:21px; font-weight:550; line-height:1.4; letter-spacing:-.025em; overflow-wrap:anywhere; text-shadow:0 1px 12px #0003; }
  .order-cover-copy p { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:10px 0 0; color:#e2def0; font-size:13px; line-height:1.4; }
  .order-cover-copy p strong { color:#fff; font-size:18px; font-weight:550; margin-left:4px; }
  .order-product-cover .checkout-selection-edit { position:absolute; right:12px; top:12px; z-index:2; color:#ece8fa; border-color:#e2d6ff3b; background:#1713248c; backdrop-filter:blur(6px); }
  .payment-order-cover,.order-ready-cover { margin-bottom:22px; }
  .demo-notice a { margin-left:auto; color:var(--accent); font-size:13px; font-weight:500; white-space:nowrap; text-underline-offset:4px; }
  .demo-notice a:hover { text-decoration:underline; }

  .payment-receipt,.order-ready { padding:0; background:none; text-align:left; color:var(--ink); }
  .payment-result:has(.payment-receipt),.payment-result:has(.order-ready) { width:min(620px,100%); max-width:none; padding:30px; border-radius:24px; border:1px solid var(--line); background:var(--surface); }
  .payment-return-card { max-width:620px; text-align:center; }
  .return-status-mark { width:68px; height:68px; margin:0 auto 20px; color:var(--accent); }
  .return-status-mark svg { width:100%; height:100%; }
  .payment-return-card h1 { margin:0 0 16px; }
  .payment-return-card p { color:var(--muted); line-height:1.6; margin:0 0 26px; }
  .payment-stage-heading { margin:calc(-1 * var(--dialog-pad,30px)) calc(-1 * var(--dialog-pad,30px)) 24px; padding:var(--dialog-pad,30px) var(--dialog-pad,30px) 24px; border-bottom:1px solid var(--line); background:radial-gradient(ellipse at 5% 0%,color-mix(in srgb,var(--primary) 10%,transparent),transparent 80%); }
  .receipt-heading,.order-ready-heading,.topup-heading { display:flex; align-items:center; justify-content:center; gap:14px; padding-inline:32px; }
  .payment-stage-heading { text-align:center; }
  .payment-receipt h1,.order-ready h1 { font-size:28px; font-weight:550; line-height:1.23; letter-spacing:-.04em; margin:0; outline:none; }
  .checkout-heading-icon,.topup-heading-icon,.order-ready-icon,.payment-receipt .receipt-visual { display:grid; place-items:center; position:static; width:60px; height:60px; flex:0 0 60px; margin:0; border:0; border-radius:0; background:none; color:var(--accent); box-shadow:none; }
  .payment-receipt .receipt-visual::before,.payment-receipt .receipt-visual::after { content:none; animation:none; }
  :is(.checkout-heading-icon,.topup-heading-icon,.order-ready-icon,.receipt-visual)>.payment-status-mark { display:block; width:100%; height:100%; overflow:visible; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .payment-status-tile { fill:color-mix(in srgb,var(--primary) 24%,var(--surface)); stroke:color-mix(in srgb,var(--accent) 62%,var(--surface)); stroke-width:1.3; transform-origin:32px 32px; }
  .payment-status-glyph { stroke:var(--accent); stroke-width:2.1; }
  .status-check,.status-cross { stroke-width:3; }
  .status-wallet-dot { fill:currentColor; stroke:none; }
  .status-pending-trail { stroke:var(--accent); stroke-width:1.8; stroke-dasharray:24 76; stroke-dashoffset:0; }
  .status-clock-hand { transform-origin:32px 32px; }
  .payment-stage-heading>.eyebrow { display:inline-flex; margin:12px 0 0; padding:3px 9px; background:var(--soft); color:var(--accent); border:1px solid color-mix(in srgb,var(--accent) 16%,transparent); border-radius:7px; letter-spacing:0; font-size:12px; font-weight:400; }
  .payment-stage-heading>.receipt-description,.order-ready-description { max-width:none; margin:14px 0 0; font-size:15px; line-height:1.65; color:var(--muted); }
  .receipt-amount,.payment-receipt[data-state=success] .receipt-amount { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 24px; padding:4px 0 0; border:0; border-radius:0; background:none; }
  .receipt-amount span { color:var(--muted); font-size:14px; }
  .receipt-amount b { display:block; margin:0; color:var(--ink); font-size:38px; line-height:1.2; font-weight:550; letter-spacing:-.04em; }
  .preview-payment-controls { margin:0 0 20px; padding:17px; border:1px solid var(--line); border-radius:15px; background:color-mix(in srgb,var(--surface-2) 45%,transparent); text-align:left; }
  .preview-payment-controls p { margin:0 0 13px; font-size:13px; line-height:1.6; color:var(--muted); }
  .preview-payment-controls>div { display:flex; gap:9px; }
  .preview-payment-controls .button { min-height:46px; font-size:14px; border-radius:11px; }
  .preview-payment-controls .button-primary { flex:1; }
  .preview-payment-controls .button-secondary { padding-inline:18px; }
  .receipt-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin:0; }
  .receipt-actions>.button { width:100%; min-height:49px; margin:0; font-size:15px; border-radius:12px; }
  .receipt-actions>.receipt-cancel { box-shadow:none; }
  .receipt-support { display:flex; width:100%; justify-content:center; align-items:center; min-height:46px; gap:9px; margin:18px 0 0; padding:11px 16px; border:1px solid color-mix(in srgb,var(--accent) 25%,var(--line)); border-radius:12px; background:color-mix(in srgb,var(--primary) 6%,var(--surface)); color:var(--accent); font-size:14px; }
  .receipt-support svg { width:16px; height:16px; }
  :is(.provider-payment,.receipt-refresh,.receipt-cancel,.receipt-support) { display:grid; grid-template-columns:20px minmax(0,1fr) 20px; align-items:center; gap:10px; }
  :is(.provider-payment,.receipt-refresh,.receipt-cancel,.receipt-support)>svg { grid-column:1; grid-row:1; justify-self:center; }
  :is(.provider-payment,.receipt-refresh,.receipt-cancel,.receipt-support)>span { grid-column:2; grid-row:1; text-align:center; }
  .payment-receipt>.receipt-auto { justify-content:center; margin:18px 0 0; font-size:12px; color:var(--muted); }
  .payment-details { margin-top:20px; padding-top:14px; border-top:1px solid var(--line); color:var(--muted); }
  .payment-details summary { display:flex; align-items:center; gap:9px; width:fit-content; min-height:30px; cursor:pointer; list-style:none; font-size:13px; }
  .payment-details summary::-webkit-details-marker { display:none; }
  .payment-details summary::after { content:''; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform .18s; }
  .payment-details[open] summary::after { transform:rotate(225deg); margin-top:3px; }
  .payment-details summary:focus-visible { outline-offset:4px; }
  .payment-reference-list { display:grid; gap:9px; margin-top:12px; }
  .payment-details .receipt-reference { display:flex; align-items:stretch; flex-direction:column; gap:7px; margin:0; padding:13px 15px; border:1px solid var(--line); border-radius:12px; background:color-mix(in srgb,var(--surface-2) 55%,transparent); }
  .payment-reference-list .receipt-reference>span { color:var(--muted); font-size:12px; }
  .payment-reference-list .receipt-reference>div { align-items:center; justify-content:space-between; gap:14px; }
  .payment-reference-list .receipt-reference code { color:var(--ink); font:12px/1.6 Consolas,monospace; overflow-wrap:anywhere; }
  .payment-reference-list .receipt-reference .copy-icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; padding:8px; margin:0; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--muted); }
  .payment-reference-list .receipt-reference .copy-icon:hover { background:var(--soft); color:var(--accent); border-color:var(--line-hover); }
  .receipt-reference>span,.order-ready-reference>span,.order-ready-payment>span { flex-shrink:0; min-width:45px; font-size:12px; }
  .receipt-reference>div { display:flex; align-items:flex-start; gap:7px; min-width:0; }
  .receipt-reference code,.order-ready-reference code,.order-ready-payment code { color:var(--muted); font:12px/1.6 Onest,Arial,sans-serif; overflow-wrap:anywhere; word-break:break-word; }
  .payment-details .copy-icon { flex-shrink:0; width:28px; height:28px; padding:5px; margin-top:-4px; }
  .payment-details .order-ready-reference { margin-top:13px; color:var(--muted); }
  .payment-details .order-ready-payment { margin-top:8px; color:var(--muted); }
  .order-description summary { gap:10px; color:var(--accent); font-size:14px; font-weight:500; }
  .order-description:not([open]) .description-label-close,.order-description[open] .description-label-open { display:none; }
  .order-description .lot-description-body { margin-top:18px; padding:0 0 4px; font-size:14px; line-height:1.8; }
  .order-description .lot-description-body>p:first-child { margin-top:0; }
  .order-description .lot-description-body>p:last-child { margin-bottom:0; }
  .order-description+.order-ready-wait[hidden]~.payment-details { margin-top:14px; }
  .order-ready-product { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0 0 22px; margin:0 0 22px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
  .order-ready-product>div { min-width:0; }
  .order-ready-product b { display:block; font-size:15px; font-weight:500; line-height:1.5; }
  .order-ready-product small { display:block; margin-top:4px; font-size:13px; color:var(--muted); }
  .order-ready-product>span { color:var(--ink); font-size:24px; font-weight:550; font-variant-numeric:tabular-nums; white-space:nowrap; }
  .order-ready-delivery { margin:28px 0 0; padding:0; border:0; }
  .order-data-title { display:flex; align-items:center; gap:10px; margin:0 0 20px; color:var(--ink); font-size:21px; font-weight:600; line-height:1.4; letter-spacing:-.02em; }
  .order-data-title svg { width:21px; height:21px; flex:0 0 21px; color:var(--accent); }
  .order-data-panel { border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line)); border-radius:15px; overflow:hidden; background:color-mix(in srgb,var(--primary) 5%,var(--surface-2)); }
  .order-ready-toolbar { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; padding:10px; border-top:1px solid var(--line); background:color-mix(in srgb,var(--surface) 65%,transparent); }
  .order-ready-toolbar .button { justify-content:center; min-height:42px; padding:10px 12px; font-size:13px; border-radius:10px; color:var(--muted); background:transparent; border:1px solid transparent; gap:8px; }
  .order-ready-toolbar .button svg { width:17px; height:17px; }
  .order-ready-toolbar .copy-ready-delivery { background:var(--soft); color:var(--accent); }
  .order-ready-toolbar .button:hover { color:var(--ink); background:var(--surface-3); border-color:var(--line-hover); }
  .order-data-panel>.delivery-data { margin:0; padding:22px; border:0; border-radius:0; background:none; color:var(--ink); font:14px/1.75 Consolas,monospace; max-height:210px; }
  .order-ready-wait { padding:0; border:0; background:none; margin:20px 0; font-size:14px; color:var(--muted); }
  .order-ready-footer { display:grid; grid-template-columns:1fr 1fr; gap:10px; border:0; margin:22px 0 0; padding:0; }
  .order-ready-footer .order-ready-support,.order-ready-footer .order-ready-account { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; margin:0; padding:12px; border-radius:12px; font-size:14px; gap:9px; }
  .order-ready-footer .order-ready-support { color:var(--accent); border-color:color-mix(in srgb,var(--accent) 25%,var(--line)); background:color-mix(in srgb,var(--primary) 6%,var(--surface)); }
  .order-ready-footer .order-ready-support svg { width:19px; height:19px; }
  .topup-heading h2 { margin:0; font-size:28px; line-height:1.25; font-weight:550; letter-spacing:-.035em; outline:none; }
  .topup-heading-icon { margin:0; }
  .topup-amount-field { display:grid; gap:12px; margin-top:22px; color:var(--muted); font-size:14px; text-align:center; }
  .topup-amount-control { display:flex; align-items:center; justify-content:center; gap:8px; min-height:76px; padding:12px 20px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); transition:border-color .18s; cursor:text; }
  .topup-amount-control:focus-within { border-color:var(--accent); }
  .topup-dialog .topup-amount-control>input { width:calc((var(--amount-digits,3) + .5) * 1ch); min-width:1ch; max-width:calc(100% - 32px); min-height:0; height:auto; padding:0; border:0; border-radius:0; outline:none; box-shadow:none; background:transparent; color:var(--ink); font:550 34px/1.3 Onest,Arial,sans-serif; font-variant-numeric:tabular-nums; text-align:center; appearance:none; }
  .topup-amount-control>b { color:var(--muted); font-size:23px; font-weight:500; }
  .topup-dialog .wallet-payment-cover { min-height:174px; }
  .topup-presets { gap:8px; margin:10px 0 22px; }
  .topup-presets button { min-height:36px; padding:7px 10px; font-size:13px; border-color:var(--line); background:var(--surface); }
  .topup-presets button.selected { color:var(--accent); border-color:var(--accent); background:var(--soft); }
  .topup-method-label { font-size:14px; margin-bottom:10px; }
  .topup-payment-options { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:0 0 22px; }
  .topup-payment-options .pay-option { display:flex; flex-wrap:wrap; align-items:center; min-height:110px; padding:14px; }
  .topup-payment-options .method-copy { order:2; flex-basis:100%; gap:3px; }
  .topup-payment-options .payment-check { align-self:flex-start; }
  .wallet-cover-label { display:block; color:#dfd8f0; font-size:14px; }
  .wallet-cover-total { display:block; margin-top:7px; color:#fff; font-size:38px; font-weight:550; line-height:1.2; letter-spacing:-.035em; }
  .topup-dialog .button[type='submit'] { min-height:49px; font-size:15px; border-radius:12px; }
  .topup-dialog .form-note { margin:12px 0 0; font-size:12px; color:var(--muted); }

  .payment-notice-slot.container { position:sticky; top:var(--payment-notice-top,100px); z-index:45; max-width:1280px; width:calc(100% - 64px); margin:14px auto 0; }
  .pending-payment-bar.payment-notice { position:relative; z-index:20; inset:auto; display:flex; align-items:center; flex-wrap:nowrap; gap:14px; width:100%; margin:0; padding:14px 18px; border:1px solid var(--line-hover); border-radius:16px; background:linear-gradient(110deg,color-mix(in srgb,var(--primary) 7%,transparent),transparent 75%),color-mix(in srgb,var(--surface) 84%,transparent); backdrop-filter:blur(16px); color:var(--ink); box-shadow:0 5px 18px #0000000c; }
  .payment-notice .notice-status-icon { display:grid; place-items:center; width:37px; height:37px; flex:0 0 37px; border:1px solid var(--line); border-radius:12px; background:var(--soft); color:var(--accent); }
  .payment-notice .notice-status-icon svg { width:20px; height:20px; }
  .payment-notice.complete .notice-status-icon { background:var(--soft); color:var(--accent); border-color:color-mix(in srgb,var(--accent) 25%,var(--line)); }
  .payment-notice .notice-copy { display:flex; align-items:center; gap:18px; flex:1; min-width:0; }
  .payment-notice .notice-title { display:block; color:var(--ink); font-size:14px; font-weight:500; line-height:1.4; }
  .payment-notice .notice-open { display:block; margin:0 0 0 auto; padding:8px 12px; border:0; border-radius:9px; background:var(--soft); color:var(--accent); font-size:13px; line-height:1.45; font-weight:500; white-space:nowrap; }
  .payment-notice .notice-open:hover { background:var(--surface-3); color:var(--ink); }
  .payment-notice .notice-timer { width:24px; height:24px; flex:0 0 24px; transform:rotate(-90deg); fill:none; stroke-width:2.2; stroke:var(--line); }
  .payment-notice .notice-timer-progress { stroke:var(--accent); stroke-linecap:round; }
  .payment-notice .notice-close { display:grid; place-items:center; width:28px; height:30px; flex:0 0 28px; padding:6px; margin:0 0 0 -5px; border:0; border-radius:8px; color:var(--muted); background:none; }
  .payment-notice .notice-close svg { width:16px; height:16px; }
  .payment-notice .notice-close:hover { background:var(--surface-2); color:var(--ink); }
  .payment-notice.is-dismissing { opacity:0; transform:translateY(6px); transition:opacity .18s,transform .18s; }
  @media(max-width:600px) {
    :is(.checkout-dialog,.payment-dialog,.topup-dialog) { --dialog-pad:22px; width:calc(100% - 24px); max-height:calc(100dvh - 28px); border-radius:22px; }
    .checkout-dialog-heading { gap:11px; padding-inline:20px; }
    .checkout-dialog-heading h2 { font-size:23px; }
    .checkout-heading-icon { width:52px; height:52px; flex-basis:52px; }
    .checkout-selection { padding:13px; grid-template-columns:36px minmax(0,1fr) 30px; gap:10px; }
    .checkout-selection .large-logo { width:36px; height:36px; padding:5px; }
    .checkout-selection .large-logo img { width:25px; height:25px; }
    .checkout-selection h3 { font-size:14px; }
    .checkout-selection-edit { width:30px; height:32px; }
    .order-product-cover { min-height:184px; padding:20px; margin-inline:0; width:100%; }
    .order-cover-copy { width:69%; }
    .order-cover-copy h3 { font-size:17px; }
    .order-cover-character { width:48%; right:-4%; top:6px; }
    .order-product-cover .card-cover-character { width:58%; right:-8%; }
    .order-cover-service { font-size:12px; gap:6px; margin-bottom:9px; }
    .order-cover-service .service-logo,.order-cover-service>img { width:20px; height:20px; }
    .order-cover-copy p { font-size:12px; }
    .checkout-compact .checkout-methods { grid-template-columns:1fr; }
    .checkout-compact .pay-option { min-height:68px; padding:11px 12px; }
    .checkout-direct .checkout-compact { padding:20px; }
    .receipt-heading,.order-ready-heading,.topup-heading { gap:11px; padding-inline:20px; }
    .topup-heading-icon,.order-ready-icon,.payment-receipt .receipt-visual { width:52px; height:52px; flex-basis:52px; }
    .payment-receipt h1,.order-ready h1,.topup-heading h2 { font-size:23px; }
    .topup-payment-options { grid-template-columns:1fr; }
    .topup-payment-options .pay-option { min-height:68px; flex-wrap:nowrap; padding:11px 12px; }
    .topup-payment-options .method-copy { order:0; flex-basis:auto; }
    .topup-payment-options .payment-check { align-self:center; }
    .wallet-cover-total { font-size:34px; }
    .payment-stage-heading { padding-bottom:21px; margin-bottom:21px; }
    .payment-stage-heading>.receipt-description,.order-ready-description { font-size:14px; }
    .receipt-amount b { font-size:34px; }
    .preview-payment-controls { padding:14px; }
    .preview-payment-controls>div { flex-direction:column; }
    .preview-payment-controls .button { min-height:44px; }
    .order-ready-toolbar .button { padding:10px 7px; font-size:12px; }
    .order-data-panel>.delivery-data { padding:15px; font-size:13px; }
    .order-data-title { font-size:19px; margin-bottom:18px; }
    .order-cover-character.payment-cover-character { width:48%; right:0; }
    .topup-dialog .wallet-payment-cover { min-height:156px; }
    .order-ready-product b { font-size:14px; }
    .payment-result:has(.payment-receipt),.payment-result:has(.order-ready) { --dialog-pad:22px; padding:22px; }
  }
  @media(min-width:701px) and (max-width:1100px) { .payment-notice-slot.container { width:calc(100% - 40px); } }
  @media(max-width:700px) {
    .payment-notice-slot.container { width:calc(100% - 24px); margin-top:12px; }
    .pending-payment-bar.payment-notice { padding:10px; gap:8px; }
    .payment-notice .notice-copy { gap:8px; }
    .payment-notice .notice-status-icon { width:32px; height:32px; flex-basis:32px; border-radius:10px; }
    .payment-notice .notice-status-icon svg { width:18px; height:18px; }
    .payment-notice .notice-open { padding:9px 10px; min-height:36px; font-size:12px; }
    .payment-notice .notice-title { font-size:13px; }
    .payment-notice .notice-close { width:26px; height:36px; flex-basis:26px; padding:5px; margin:0; }
    .payment-notice .notice-timer { width:20px; height:20px; flex-basis:20px; }
  }
  @media(max-width:420px) {
    .checkout-dialog-heading,.receipt-heading,.order-ready-heading,.topup-heading { flex-direction:column; gap:10px; padding-inline:4px; }
    .topup-heading-icon,.order-ready-icon,.payment-receipt .receipt-visual { width:52px; height:52px; flex-basis:52px; }
    .payment-stage-heading { padding-bottom:16px; margin-bottom:18px; }
    .payment-stage-heading>.receipt-description,.order-ready-description { margin-top:10px; }
  }
  @media(prefers-reduced-motion:no-preference) {
    :is(.checkout-dialog,.payment-dialog,.topup-dialog)[open] { animation:nm-dialog-in .24s cubic-bezier(.22,1,.36,1); }
    .payment-watch>.payment-receipt,.order-ready[data-ready='true'] { animation:nm-stage-in .26s cubic-bezier(.22,1,.36,1); }
    .payment-status-tile { animation:nm-status-tile .4s cubic-bezier(.22,1,.36,1) both; }
    .status-stroke { stroke-dasharray:100; animation:nm-status-draw .5s .16s ease-out both; }
    .status-stroke-late { animation-delay:.3s; }
    .status-wallet-add { animation:nm-wallet-add .7s .2s cubic-bezier(.22,1,.36,1) both; }
    .status-pending-trail { animation:nm-status-orbit 2.8s linear infinite; }
    .status-clock-hand { animation:nm-payment-wait 12s linear infinite; }
    .payment-notice { animation:nm-stage-in .24s ease-out; }
    @keyframes nm-dialog-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
    @keyframes nm-stage-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
    @keyframes nm-status-tile { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
    @keyframes nm-status-draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
    @keyframes nm-wallet-add { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
    @keyframes nm-status-orbit { to { stroke-dashoffset:-100; } }
    @keyframes nm-payment-wait { to { transform:rotate(360deg); } }
  }
  @media(prefers-reduced-motion:reduce) { :is(.checkout-dialog,.payment-dialog,.topup-dialog)[open],.payment-watch>*,.payment-status-mark *,.payment-notice { animation:none; } .payment-notice.is-dismissing { transition:none; transform:none; } }
  @media(min-width:601px) and (max-height:760px) { :is(.checkout-dialog,.payment-dialog,.topup-dialog) { --dialog-pad:20px; } .payment-stage-heading { padding-bottom:18px; margin-bottom:18px; } .receipt-amount { margin-bottom:18px; } .payment-details { margin-top:16px; } .order-product-cover { min-height:154px; } .order-cover-character { max-width:250px; } }
}
