.commerce-document { min-height: 100vh; }
.commerce-shell { width: min(1000px, calc(100% - 40px)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 28px 0 66px; }
.commerce-shell .breadcrumbs { margin-bottom: 30px; }
.commerce-heading { margin: 0 0 25px; animation: rise-in .5s ease both; }
.commerce-heading h1 { margin: 7px 0 4px; font: 600 clamp(27px, 4vw, 38px)/1.2 "Prompt", sans-serif; letter-spacing: -.03em; }
.commerce-heading p, .muted-copy { margin: 0; color: #9c9c9c; font-size: 13px; line-height: 1.7; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(275px, .8fr); align-items: start; gap: 18px; }
.commerce-card { border: 1px solid #2b2b2b; border-radius: 14px; background: #111110ed; box-shadow: 0 18px 50px #0004; }
.checkout-form-card, .order-summary-card { padding: clamp(18px, 3vw, 26px); animation: rise-in .55s .06s ease both; }
.commerce-card h2 { margin: 0 0 8px; color: #f2f2f2; font-size: 17px; font-weight: 600; }
.muted-copy { margin-bottom: 17px; font-size: 12px; }
.payment-options { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.payment-option { position: relative; display: flex; min-height: 68px; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #303030; border-radius: 9px; background: #161516; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.payment-option:hover { border-color: #707070; transform: translateY(-1px); }
.payment-option:has(input:checked) { border-color: #9c9c9c; background: linear-gradient(100deg, #282828, #191919); box-shadow: inset 0 0 0 1px #a8a8a822; }
.payment-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.payment-option:focus-within { outline: 2px solid #c2c2c2; outline-offset: 2px; }
.payment-brand { display: grid; width: 64px; height: 48px; flex: none; place-items: center; overflow: hidden; border: 1px solid #e9e9e9; border-radius: 8px; background: #fff; }
.payment-brand img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.payment-brand img.promptpay-logo { width: 60px; max-height: 36px; }
.payment-brand img.truemoney-logo { width: 44px; height: 44px; border-radius: 50%; }
.payment-brand.bank-logos { display: flex; width: auto; gap: 3px; padding: 4px 5px; }
.payment-brand.bank-logos img { width: 20px; height: 20px; border-radius: 50%; }
.payment-option > span:nth-of-type(2) { display: grid; gap: 3px; }
.payment-option strong { color: #eaeaea; font-size: 12px; font-weight: 500; }
.payment-option small { color: #969696; font-size: 10px; }
.option-check { display: grid; width: 19px; height: 19px; flex: none; place-items: center; margin-left: auto; border: 1px solid #4a4a4a; border-radius: 50%; color: transparent; }
.option-check .ui-icon { width: 12px; height: 12px; stroke-width: 2.2; }
.payment-option:has(input:checked) .option-check { border-color: #c2c2c2; background: #c2c2c2; color: #181818; }
.payment-option.is-disabled { opacity: .52; cursor: not-allowed; }
.payment-option.is-disabled:hover { transform: none; border-color: #303030; }
.payment-option.is-disabled .option-check { opacity: 0; }
.payment-off {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #3a2528;
  color: #f0a0a6;
  font: 600 8px "IBM Plex Sans Thai", sans-serif;
}
html[data-theme="light"] .payment-option.is-disabled:hover { border-color: #e2e2e2; }
html[data-theme="light"] .payment-off { background: #fbe9ea; color: #a83e48; }
.secure-note { display: flex; gap: 11px; margin: 18px 0 16px; padding: 12px 13px; border: 1px solid #443b30; border-radius: 8px; background: #201c17; color: #c1b9ad; }
.secure-note > .ui-icon { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #d2b884; }
.secure-note p { margin: 0; font-size: 10px; line-height: 1.65; }
.secure-note strong { color: #ead9b5; font-weight: 600; }
.commerce-primary { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: #c0c0c0; color: #181818; cursor: pointer; font: 600 13px "IBM Plex Sans Thai", sans-serif; transition: background .2s, transform .2s, box-shadow .2s; }
.commerce-primary:hover { transform: translateY(-1px); background: #d2d2d2; box-shadow: 0 9px 25px #9c9c9c38; }
.commerce-primary:active { transform: scale(.99); }
.commerce-primary:disabled { transform: none; background: #5b5b5b; color: #c8c8c8; box-shadow: none; cursor: not-allowed; }
.commerce-feedback { min-height: 16px; margin: 9px 0 0; color: #dda3a8; font-size: 11px; }
.order-summary-card { position: sticky; top: 80px; }
.order-summary-card h2 { padding-bottom: 14px; border-bottom: 1px solid #2b2b2b; }
.summary-product { display: flex; align-items: center; gap: 12px; padding: 14px 0 16px; }
.summary-product img { width: 61px; height: 54px; border: 1px solid #353535; border-radius: 8px; object-fit: cover; }
.summary-product > div { display: grid; gap: 5px; }
.summary-product strong { color: #e8e8e8; font-size: 12px; font-weight: 500; }
.summary-product small { color: #969696; font-size: 10px; }
.summary-line, .summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #2a2a2a; color: #a5a5a5; font-size: 11px; }
.summary-line strong { color: #e8e8e8; font: 500 13px "Prompt", sans-serif; }
.fee-free { color: #72cba8; }
.summary-total { margin-top: 4px; color: #dfdfdf; font-size: 12px; }
.summary-total strong { color: #ededed; font: 600 21px "Prompt", sans-serif; }
.topup-prompt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin-top: 13px; padding: 12px; border: 1px solid #393939; border-radius: 8px; background: #1a1a1a; color: #a8a8a8; font-size: 10px; text-decoration: none; transition: border-color .2s, background .2s; }
.topup-prompt:hover { border-color: #8c8c8c; background: #222222; }
.topup-prompt b { color: #dbdbdb; font-weight: 500; }
.summary-footnote { margin: 12px 0 0; color: #787878; font-size: 10px; line-height: 1.6; }
.demo-receipt { display: flex; align-items: center; gap: 17px; margin-top: 18px; padding: 20px; border: 1px solid #4d725e; border-radius: 12px; background: linear-gradient(110deg, #14241c, #111411); animation: rise-in .35s ease both; }
.demo-receipt[hidden] { display: none; }
.receipt-mark { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 50%; background: #284c37; color: #9be1b4; }
.receipt-mark .ui-icon { width: 21px; height: 21px; stroke-width: 2.2; }
.demo-receipt h2 { margin: 5px 0 2px; font-size: 15px; }
.demo-receipt p { margin: 0 0 5px; color: #a5b8a9; font-size: 11px; }
.demo-receipt strong { color: #dedede; font: 500 11px "Prompt", sans-serif; letter-spacing: .04em; }
.demo-receipt .button { flex: none; margin-left: auto; }
.topup-shell { max-width: 930px; }
.topup-grid { grid-template-columns: minmax(0, 1.25fr) minmax(275px, .8fr); }
.topup-paybox { margin: 16px 0 4px; padding: 14px; border: 1px solid #383838; border-radius: 10px; background: #121212; }
.topup-paybox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.topup-paybox-head strong { color: #eeeeee; font: 600 12px "IBM Plex Sans Thai", sans-serif; }
.topup-paybox-badge { padding: 3px 7px; border: 1px solid #4a4a4a; border-radius: 5px; color: #c4c4c4; font-size: 9px; letter-spacing: .05em; }
.topup-paybox-body { display: grid; gap: 10px; }
.topup-pay-details { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.topup-pay-lines { display: grid; gap: 7px; min-width: 0; }
.topup-pay-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #d9d9d9; font-size: 12px; }
.topup-pay-line > span { color: #969696; font-size: 10px; }
.topup-pay-line code { font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: #f2f2f2; overflow-wrap: anywhere; }
.topup-qr { width: 140px; height: 140px; object-fit: contain; padding: 6px; border-radius: 8px; background: #fff; }
.topup-copy { padding: 2px 7px; border: 1px solid #4a4a4a; border-radius: 5px; background: transparent; color: #c4c4c4; font: 500 10px "IBM Plex Sans Thai", sans-serif; cursor: pointer; }
.topup-warning { margin: 0; color: #e6a0a4; font-size: 11px; line-height: 1.5; }
.topup-note { margin: 0; color: #aaaaaa; font-size: 11px; line-height: 1.55; }
.topup-slip-field { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px dashed #383838; border-radius: 8px; color: #aaaaaa; font-size: 11px; cursor: pointer; }
.topup-slip-field:hover, .topup-slip-field:focus-within { border-color: #868686; color: #d9d9d9; }
.topup-slip-field input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.topup-slip-field input:disabled { cursor: wait; }
.topup-slip-button { padding: 5px 9px; border: 1px solid #4a4a4a; border-radius: 6px; color: #dcdcdc; white-space: nowrap; }
.topup-slip-hint { margin: 6px 0 0; color: #8e8e8e; font-size: 10px; }
.topup-slip-preview { width: 100%; max-width: 220px; max-height: 260px; margin-top: 10px; object-fit: contain; border: 1px solid #2c2c2c; border-radius: 8px; background: #121212; }
.amount-field { display: grid; gap: 8px; color: #aaaaaa; font-size: 11px; }
.amount-input-wrap { display: flex; height: 44px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #383838; border-radius: 8px; background: #171717; color: #c9c9c9; }
.amount-input-wrap:focus-within { border-color: #a0a0a0; box-shadow: 0 0 0 3px #a4a4a41a; }
.amount-input-wrap b { font: 500 15px "Prompt", sans-serif; }
.amount-input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: #f2f2f2; font: 500 15px "Prompt", sans-serif; }
.amount-field > input[type="text"] { height: 38px; padding: 0 12px; border: 1px solid #383838; border-radius: 8px; outline: 0; background: #171717; color: #f2f2f2; font: 400 12px "IBM Plex Sans Thai", sans-serif; }
.amount-field > input[type="text"]:focus { border-color: #a0a0a0; box-shadow: 0 0 0 3px #a4a4a41a; }
.amount-field > input[type="text"]::placeholder { color: #787878; }
.topup-method-title { margin-top: 23px !important; }
.wallet-art { position: relative; display: flex; min-height: 143px; align-items: center; gap: 14px; margin: 12px 0 16px; padding: 17px; overflow: hidden; border: 1px solid #555555; border-radius: 12px; background: radial-gradient(ellipse at 82% 8%, #5c5c5c, transparent 58%), linear-gradient(135deg, #2c2c2c, #181818 70%); }
.wallet-art::after { position: absolute; right: -25px; bottom: -71px; width: 210px; height: 150px; border: 1px solid #cecece25; border-radius: 50%; content: ""; box-shadow: 0 0 0 18px #cecece0c, 0 0 0 36px #cecece08; }
.wallet-art > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #e3e3e346; border-radius: 50%; background: #e6e6e61a; color: #ececec; font: 600 23px "Prompt", sans-serif; }
.wallet-art > div { display: grid; gap: 8px; }
.wallet-art small { color: #c4c4c4; font-size: 9px; letter-spacing: .17em; }
.wallet-art strong { color: #f2f2f2; font: 600 23px "Prompt", sans-serif; transition: transform .2s; }
.wallet-art .wallet-sparkle { position: absolute; top: 17px; right: 18px; width: 18px; height: 18px; color: #e2e2e2; stroke-width: 1.5; }
.topup-help { margin-top: 16px; padding: 12px; border-radius: 8px; background: #191919; }
.topup-help strong { color: #dadada; font-size: 11px; }
.topup-help p { margin: 5px 0 0; color: #929292; font-size: 10px; line-height: 1.65; }
.discord-help .discord-support-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 9px; border: 1px solid #414141; border-radius: 7px; background: #222222; color: #dadada; font-size: 10px; text-decoration: none; transition: border-color .2s, background .2s; }
.discord-help .discord-support-link:hover { border-color: #898989; background: #313131; }
.topup-summary .topup-prompt { margin-top: 15px; }
.topup-faq { margin-top: 20px; padding: 22px; }
.topup-faq h2 { margin: 5px 0 10px; }
.topup-faq details { border-top: 1px solid #2a2a2a; }
.topup-faq summary { padding: 12px 0; color: #dadada; cursor: pointer; font-size: 12px; }
.topup-faq details p { margin: -2px 0 13px; color: #a0a0a0; font-size: 11px; line-height: 1.7; }
.account-shell { max-width: 920px; }
.account-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); align-items: center; gap: clamp(24px, 6vw, 76px); }
.account-intro { animation: rise-in .5s ease both; }
.account-intro h1 { margin: 10px 0 13px; color: #f2f2f2; font: 600 clamp(30px, 4vw, 46px)/1.2 "Prompt", sans-serif; letter-spacing: -.035em; }
.account-intro h1 span { color: #cecece; }
.account-intro > p { color: #a3a3a3; font-size: 13px; }
.account-note { display: flex; align-items: center; gap: 11px; margin-top: 32px; padding: 13px; border: 1px solid #323232; border-radius: 9px; background: #121212b8; color: #dcdcdc; font-size: 11px; }
.account-note b { display: grid; width: 31px; height: 31px; flex: none; place-items: center; border-radius: 8px; background: #272727; color: #d4d4d4; }
.account-note b .ui-icon { width: 17px; height: 17px; }
.account-note small { color: #969696; font-size: 10px; }
.account-card { padding: clamp(19px, 3vw, 27px); animation: rise-in .55s .08s ease both; }
.account-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 19px; }
.account-card-head img { width: 42px; height: 42px; object-fit: contain; }
.account-card-head h2 { margin: 2px 0 0; font-size: 18px; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 19px; padding: 4px; border: 1px solid #2f2f2f; border-radius: 8px; background: #0d0d0d; }
.account-tabs button { min-height: 35px; border: 0; border-radius: 6px; background: transparent; color: #999999; cursor: pointer; font: 500 11px "IBM Plex Sans Thai", sans-serif; transition: background .2s, color .2s; }
.account-tabs button[aria-selected="true"] { background: #333333; color: #f0f0f0; box-shadow: 0 2px 8px #0005; }
.account-form { display: grid; gap: 13px; }
.account-form[hidden] { display: none; }
.account-form > label { display: grid; gap: 6px; color: #b1b1b1; font-size: 11px; }
.account-form > label > small { color: #777777; }
.account-form input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #303030; border-radius: 8px; outline: 0; background: #171717; color: #eeeeee; font: 400 12px "IBM Plex Sans Thai", sans-serif; transition: border-color .2s, box-shadow .2s; }
.account-form input::placeholder { color: #6a6a6a; }
.account-form input:focus { border-color: #9a9a9a; box-shadow: 0 0 0 3px #9a9a9a1c; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 45px; }
.password-wrap button { position: absolute; top: 4px; right: 5px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: transparent; color: #9a9a9a; cursor: pointer; }
.password-wrap button:hover { background: #2a2a2a; color: #e8e8e8; }
.account-form-links { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 2px; font-size: 10px; }
.account-form-links a, .back-to-login { color: #cecece; text-decoration: none; }
.account-form-links a:hover, .back-to-login:hover { text-decoration: underline; }
.account-form-links span { color: #777777; }
.back-to-login { justify-self: center; margin-top: 4px; font-size: 11px; }
.account-feedback { min-height: 34px; margin: 13px 0 0; padding: 9px 10px; border: 1px solid #3a3a3a; border-radius: 7px; background: #191919; color: #aaaaaa; font-size: 10px; line-height: 1.55; }
.account-feedback.is-error { border-color: #704147; background: #28181a; color: #e6a0a4; }
.account-feedback.is-success { border-color: #4a7058; background: #17231b; color: #a5d7b3; }
.account-summary { display: grid; gap: 8px; margin-bottom: 19px; }
.account-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #2c2c2c; border-radius: 8px; background: #121212; }
.account-summary span { color: #969696; font-size: 10px; }
.account-summary strong { color: #eeeeee; font: 500 12px "IBM Plex Sans Thai", sans-serif; text-align: right; overflow-wrap: anywhere; }
.account-summary-id > .account-id-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account-id-wrap strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.account-copy { flex: 0 0 auto; padding: 3px 8px; border: 1px solid #2c2c2c; border-radius: 6px; background: transparent; color: #969696; font: 500 10px "IBM Plex Sans Thai", sans-serif; cursor: pointer; white-space: nowrap; }
.account-copy:hover { color: #eeeeee; border-color: #6c6c6c; }
.account-ban-notice { margin: 0 0 16px; padding: 10px 12px; border: 1px solid #5b2f33; border-radius: 8px; background: #1e1214; color: #e6a0a4; font-size: 11px; }
.account-card h3 { margin: 0 0 9px; color: #8e8e8e; font: 500 10px "IBM Plex Sans Thai", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.account-list { display: grid; gap: 6px; margin: 0 0 19px; padding: 0; list-style: none; }
.account-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #2c2c2c; border-radius: 8px; background: #121212; }
.account-list li > span { display: grid; gap: 2px; min-width: 0; }
.account-list li strong { color: #eeeeee; font: 500 12px "IBM Plex Sans Thai", sans-serif; overflow-wrap: anywhere; }
.account-list li small { color: #8e8e8e; font-size: 10px; }
.account-list li b { color: #dcdcdc; font: 500 12px "IBM Plex Sans Thai", sans-serif; white-space: nowrap; }
.account-list li b.is-credit { color: #8fd3a5; }
.account-list li b.is-debit { color: #e6a0a4; }
.account-list li.muted-copy { color: #777777; font-size: 11px; }
.info-shell { max-width: 850px; }
.status-list { padding: 4px 22px; }
.status-list article { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid #2a2a2a; }
.status-list article:last-child { border-bottom: 0; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.status-dot.is-ready { background: #60d19a; color: #60d19a; }
.status-dot.is-preview { background: #d9ae63; color: #d9ae63; }
.status-dot.is-offline { background: #767676; color: #767676; }
.status-list article div { display: grid; gap: 3px; }
.status-list article strong { color: #e4e4e4; font-size: 12px; font-weight: 500; }
.status-list article p { margin: 0; color: #959595; font-size: 10px; line-height: 1.6; }
.status-list article > b { color: #aaaaaa; font-size: 10px; font-weight: 500; text-align: right; }
.info-actions { display: flex; gap: 9px; margin-top: 17px; }
.info-actions .commerce-primary { width: auto; padding: 0 18px; text-decoration: none; }
.terms-card { display: grid; gap: 0; padding: 5px 24px; }
.terms-card section { padding: 19px 0; border-bottom: 1px solid #2a2a2a; }
.terms-card section:last-child { border-bottom: 0; }
.terms-card h2 { margin: 0 0 7px; font-size: 13px; }
.terms-card p { margin: 0; color: #a2a2a2; font-size: 11px; line-height: 1.8; }
.footer-note { display: block; margin: 7px 0; color: #7c7c7c; font-size: 11px; line-height: 1.6; }
.order-guide-shell { max-width: 1040px; }
.order-guide-shell .breadcrumbs { margin-bottom: 22px; }
.order-guide-intro { display: flex; min-height: 196px; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; padding: clamp(23px, 4vw, 39px); overflow: hidden; background: radial-gradient(ellipse at 87% 13%, #92929229, transparent 38%), linear-gradient(120deg, #171717, #121212 70%); animation: rise-in .5s ease both; }
.order-guide-intro h1 { margin: 9px 0 8px; color: #f2f2f2; font: 600 clamp(27px, 4vw, 40px)/1.2 "Prompt", sans-serif; letter-spacing: -.035em; }
.order-guide-intro p { max-width: 620px; margin: 0; color: #ababab; font-size: 13px; line-height: 1.8; }
.guide-stamp { display: grid; width: 140px; min-width: 140px; height: 124px; align-content: center; justify-items: center; gap: 3px; border: 1px solid #cacaca3d; border-radius: 50%; background: #cacaca0a; color: #d4d4d4; transform: rotate(7deg); }
.guide-stamp span, .guide-stamp small { font-size: 8px; letter-spacing: .16em; }
.guide-stamp strong { color: #f0f0f0; font: 600 25px "Prompt", sans-serif; letter-spacing: -.04em; }
.order-guide-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guide-step { position: relative; z-index: 1; display: flex; min-height: 246px; flex-direction: column; align-items: flex-start; padding: 19px 17px 16px; border: 1px solid #2e2e2e; border-radius: 11px; background: #121212ed; animation: rise-in .5s ease both; }
.guide-step:nth-child(2) { animation-delay: .06s; }
.guide-step:nth-child(3) { animation-delay: .12s; }
.guide-step:nth-child(4) { animation-delay: .18s; }
.guide-step-top { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.guide-step-number { color: #cccccc; font: 600 18px "Prompt", sans-serif; letter-spacing: .04em; }
.guide-step-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #414141; border-radius: 9px; background: #222222; color: #d6d6d6; }
.guide-step-icon .ui-icon { width: 18px; height: 18px; }
.guide-step h2 { margin: 0 0 8px; color: #ececec; font-size: 14px; font-weight: 600; line-height: 1.5; }
.guide-step p { margin: 0 0 15px; color: #9c9c9c; font-size: 11px; line-height: 1.75; }
.guide-step-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: #d2d2d2; font-size: 10px; text-decoration: none; }
a.guide-step-link:hover, .guide-note-link:hover { color: #f0f0f0; }
.guide-step-hint { color: #7a7a7a; }
.guide-preview-note { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 20px; border: 1px solid #554634; border-radius: 11px; background: linear-gradient(110deg, #201b15, #151413); }
.guide-note-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #79644766; border-radius: 9px; background: #3c3020; color: #e0c18b; }
.guide-note-icon .ui-icon { width: 18px; height: 18px; }
.guide-preview-note h2 { margin: 4px 0 3px; color: #ede4d6; font-size: 13px; font-weight: 600; }
.guide-preview-note p { margin: 0; color: #b2a99b; font-size: 10px; line-height: 1.7; }
.guide-note-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid #514639; border-radius: 7px; color: #dfd1bb; font-size: 10px; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.guide-note-link:hover { border-color: #877354; background: #2a241b; }
.guide-next-step { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 36px; padding: 0 3px; }
.guide-next-step h2 { margin: 6px 0 3px; color: #eaeaea; font: 600 20px "Prompt", sans-serif; }
.guide-next-step p { margin: 0; color: #999999; font-size: 11px; }
.guide-next-step .commerce-primary { width: auto; min-width: 158px; padding: 0 16px; text-decoration: none; }
.search-empty { margin: 0; padding: 14px 3px; color: #9c9c9c; font-size: 11px; }
.product-error { display: grid; justify-items: start; gap: 8px; max-width: 520px; margin: 70px auto; padding: 28px; }
.product-error h1 { margin: 3px 0 0; font-size: 25px; }
.product-error p { margin: 0 0 10px; color: #a0a0a0; font-size: 12px; }
.product-error .purchase-button { width: auto; padding: 0 16px; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 740px) {
  .commerce-shell { width: calc(100% - 24px); padding-top: 18px; }
  .commerce-shell .breadcrumbs { margin-bottom: 22px; }
  .checkout-grid, .topup-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; grid-row: 1; }
  .checkout-form-card { grid-row: 2; }
  .demo-receipt { align-items: flex-start; flex-wrap: wrap; }
  .demo-receipt .button { margin-left: 59px; }
  .account-layout { grid-template-columns: 1fr; gap: 20px; }
  .account-intro h1 { font-size: 31px; }
  .account-note { display: none; }
  .order-guide-intro { min-height: auto; gap: 12px; padding: 21px; }
  .guide-stamp { width: 91px; min-width: 91px; height: 83px; }
  .guide-stamp span, .guide-stamp small { font-size: 6px; }
  .guide-stamp strong { font-size: 18px; }
  .order-guide-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .guide-step { min-height: 226px; padding: 15px 13px; }
  .guide-preview-note { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 15px; }
  .guide-note-link { grid-column: 2; justify-self: start; }
  .guide-next-step { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .status-list { padding-inline: 15px; }
  .status-list article { grid-template-columns: 9px 1fr; gap: 10px; }
  .status-list article > b { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-heading, .checkout-form-card, .order-summary-card, .demo-receipt { animation: none; }
  .payment-option, .commerce-primary, .account-tabs button, .account-form input { transition: none; }
  .order-guide-intro, .guide-step { animation: none; }
}

html[data-theme="light"] .commerce-heading p, html[data-theme="light"] .muted-copy { color: #6c6c6c; }
html[data-theme="light"] .commerce-card { border-color: #e2e2e2; background: #fff; box-shadow: 0 18px 50px #2d2d2d0b; }
html[data-theme="light"] .commerce-card h2, html[data-theme="light"] .account-intro h1 { color: #2b2b2b; }
html[data-theme="light"] .payment-option { border-color: #e2e2e2; background: #fcfcfc; }
html[data-theme="light"] .payment-option:has(input:checked) { border-color: #a2a2a2; background: #f5f5f5; box-shadow: inset 0 0 0 1px #a2a2a222; }
html[data-theme="light"] .payment-option strong, html[data-theme="light"] .summary-product strong { color: #2f2f2f; }
html[data-theme="light"] .payment-option small, html[data-theme="light"] .summary-product small { color: #707070; }
html[data-theme="light"] .option-check { border-color: #cccccc; }
html[data-theme="light"] .payment-option:has(input:checked) .option-check { border-color: #888888; background: #888888; color: white; }
html[data-theme="light"] .secure-note { border-color: #eadbbd; background: #fff9ec; color: #655738; }
html[data-theme="light"] .secure-note strong { color: #534220; }
html[data-theme="light"] .summary-product img { border-color: #e2e2e2; }
html[data-theme="light"] .summary-line, html[data-theme="light"] .summary-total { border-top-color: #e5e5e5; color: #656565; }
html[data-theme="light"] .summary-line strong { color: #363636; }
html[data-theme="light"] .summary-total { color: #3b3b3b; }
html[data-theme="light"] .summary-total strong { color: #4a4a4a; }
html[data-theme="light"] .topup-prompt { border-color: #e0e0e0; background: #f8f8f8; color: #646464; }
html[data-theme="light"] .topup-prompt b { color: #5a5a5a; }
html[data-theme="light"] .summary-footnote { color: #767676; }
html[data-theme="light"] .amount-input-wrap { border-color: #dddddd; background: #fcfcfc; color: #505050; }
html[data-theme="light"] .amount-input-wrap input { color: #2d2d2d; }
html[data-theme="light"] .amount-field > input[type="text"] { border-color: #dddddd; background: #fcfcfc; color: #2d2d2d; }
html[data-theme="light"] .amount-field > input[type="text"]::placeholder { color: #9a9a9a; }
html[data-theme="light"] .topup-help { background: #f4f4f4; }
html[data-theme="light"] .topup-help strong, html[data-theme="light"] .topup-faq summary { color: #3a3a3a; }
html[data-theme="light"] .topup-help p, html[data-theme="light"] .topup-faq details p { color: #696969; }
html[data-theme="light"] .discord-help .discord-support-link { border-color: #dfdfdf; background: #f8f8f8; color: #5f5f5f; }
html[data-theme="light"] .discord-help .discord-support-link:hover { border-color: #ababab; background: #eeeeee; }
html[data-theme="light"] .topup-faq details { border-top-color: #e5e5e5; }
html[data-theme="light"] .account-intro h1 span { color: #737373; }
html[data-theme="light"] .account-intro > p { color: #646464; }
html[data-theme="light"] .account-note { border-color: #dfdfdf; background: #f6f6f6; color: #424242; }
html[data-theme="light"] .account-note small { color: #666666; }
html[data-theme="light"] .account-tabs { border-color: #e2e2e2; background: #f4f4f4; }
html[data-theme="light"] .account-tabs button { color: #636363; }
html[data-theme="light"] .account-tabs button[aria-selected="true"] { background: #eaeaea; color: #383838; box-shadow: 0 2px 8px #2e2e2e10; }
html[data-theme="light"] .account-form > label { color: #525252; }
html[data-theme="light"] .account-form > label > small { color: #767676; }
html[data-theme="light"] .account-form input { border-color: #dedede; background: #fcfcfc; color: #2c2c2c; }
html[data-theme="light"] .account-form input::placeholder { color: #909090; }
html[data-theme="light"] .password-wrap button { color: #696969; }
html[data-theme="light"] .password-wrap button:hover { background: #f0f0f0; color: #3e3e3e; }
html[data-theme="light"] .account-form-links span { color: #7a7a7a; }
html[data-theme="light"] .account-form-links a, html[data-theme="light"] .back-to-login { color: #666666; }
html[data-theme="light"] .account-feedback { border-color: #e2e2e2; background: #f6f6f6; color: #606060; }
html[data-theme="light"] .account-feedback.is-error { border-color: #e0bfc2; background: #fff3f3; color: #913f4a; }
html[data-theme="light"] .account-feedback.is-success { border-color: #bdd9c5; background: #f0fbf3; color: #326442; }
html[data-theme="light"] .status-list article { border-bottom-color: #e6e6e6; }
html[data-theme="light"] .status-list article strong { color: #363636; }
html[data-theme="light"] .status-list article p, html[data-theme="light"] .status-list article > b { color: #656565; }
html[data-theme="light"] .terms-card section { border-bottom-color: #e6e6e6; }
html[data-theme="light"] .terms-card p { color: #606060; }
html[data-theme="light"] .footer-note { color: #686868; }
html[data-theme="light"] .order-guide-intro { border-color: #e2e2e2; background: radial-gradient(ellipse at 87% 13%, #9d9d9d1c, transparent 38%), linear-gradient(120deg, #fff, #f8f8f8 70%); }
html[data-theme="light"] .order-guide-intro h1, html[data-theme="light"] .guide-next-step h2 { color: #2b2b2b; }
html[data-theme="light"] .order-guide-intro p, html[data-theme="light"] .guide-next-step p { color: #696969; }
html[data-theme="light"] .guide-stamp { border-color: #8c8c8c3d; background: #9d9d9d14; color: #6e6e6e; }
html[data-theme="light"] .guide-stamp strong { color: #424242; }
html[data-theme="light"] .guide-step { border-color: #e2e2e2; background: #fff; }
html[data-theme="light"] .guide-step-number { color: #767676; }
html[data-theme="light"] .guide-step-icon { border-color: #e0e0e0; background: #f3f3f3; color: #6b6b6b; }
html[data-theme="light"] .guide-step h2 { color: #363636; }
html[data-theme="light"] .guide-step p, html[data-theme="light"] .guide-step-hint { color: #696969; }
html[data-theme="light"] .guide-step-link { color: #686868; }
html[data-theme="light"] .guide-preview-note { border-color: #e6dcc9; background: linear-gradient(110deg, #fff9ee, #fffdf9); }
html[data-theme="light"] .guide-preview-note h2 { color: #403725; }
html[data-theme="light"] .guide-preview-note p { color: #685d49; }
html[data-theme="light"] .guide-note-link { border-color: #ded2bd; color: #655338; }
html[data-theme="light"] .guide-note-link:hover { background: #f8f0e3; }
html[data-theme="light"] .checkout-empty p { color: #696969; }
@media (max-width: 430px) {
  .order-guide-flow { grid-template-columns: 1fr; }
  .guide-step { min-height: 0; }
  .payment-option { gap: 8px; padding-inline: 9px; }
  .payment-brand { width: 48px; }
  .payment-brand.bank-logos { gap: 2px; padding-inline: 3px; }
  .payment-brand.bank-logos img { width: 17px; height: 17px; }
}

/* ---------- Monochrome commerce theme ---------- */
.commerce-primary { background: var(--blue); color: var(--bg); }
.commerce-primary:hover { background: #ffffff; color: #0b0b0b; box-shadow: none; }
.payment-option:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, var(--panel)); box-shadow: none; }
.payment-option:has(input:checked) .option-check { border-color: var(--blue); background: var(--blue); color: var(--bg); }
.secure-note { border-color: #333333; background: #181818; color: #b8b8b8; }
.secure-note > .ui-icon { color: #d8d8d8; }
.secure-note strong { color: #f0f0f0; }
.guide-preview-note { border-color: #333333; background: linear-gradient(110deg, #191919, #141414); }
.guide-note-icon { border-color: #555555; background: #262626; color: #e0e0e0; }
.guide-preview-note h2 { color: #ededed; }
.guide-preview-note p { color: #aaaaaa; }
.guide-note-link { border-color: #3a3a3a; color: #dddddd; }
.guide-note-link:hover { border-color: #7a7a7a; background: #242424; }
html[data-theme="light"] .commerce-primary:not(:disabled) { background: #111111; color: #f7f7f7; }
html[data-theme="light"] .commerce-primary:not(:disabled):hover { background: #2c2c2c; color: #f7f7f7; }
html[data-theme="light"] .payment-option:has(input:checked) { border-color: #111111; background: #f2f2f2; }
html[data-theme="light"] .secure-note { border-color: #dddddd; background: #f5f5f5; color: #555555; }
html[data-theme="light"] .secure-note > .ui-icon { color: #333333; }
html[data-theme="light"] .secure-note strong { color: #222222; }
html[data-theme="light"] .guide-preview-note { border-color: #dddddd; background: linear-gradient(110deg, #f6f6f6, #fbfbfb); }
html[data-theme="light"] .guide-note-icon { border-color: #cccccc; background: #ebebeb; color: #333333; }
html[data-theme="light"] .guide-preview-note h2 { color: #222222; }
html[data-theme="light"] .guide-preview-note p { color: #666666; }
html[data-theme="light"] .guide-note-link { border-color: #cccccc; color: #333333; }
html[data-theme="light"] .guide-note-link:hover { border-color: #999999; background: #eeeeee; }

/* ---------- TrueMoney voucher redemption ---------- */
.truemoney-panel { margin-top: 22px; }
.truemoney-panel .topup-method-title { margin-top: 0 !important; }
.truemoney-panel .amount-input-wrap input { font-size: 12px; }
.truemoney-hint { margin: 9px 0 0; color: #9a9a9a; font-size: 10px; line-height: 1.75; }
.truemoney-note { margin-top: 14px; padding: 11px 12px; border: 1px solid #363636; border-radius: 8px; background: #181818; color: #a9a9a9; font-size: 10px; line-height: 1.75; }
.truemoney-note strong { color: #eeeeee; }
html[data-theme="light"] .truemoney-hint { color: #6d6d6d; }
html[data-theme="light"] .truemoney-note { border-color: #e2e2e2; background: #f7f7f7; color: #616161; }
html[data-theme="light"] .truemoney-note strong { color: #222222; }

/* ---------- Top-up account gate ---------- */
.topup-auth-loading, .topup-auth-gate { max-width: 760px; margin: 0 auto 22px; padding: clamp(22px, 4vw, 38px); }
.topup-auth-loading p { margin: 0; }
.topup-auth-gate h2 { margin: 10px 0 8px; font-size: clamp(23px, 4vw, 32px); }
.topup-auth-gate > p { max-width: 570px; margin: 0; color: #9c9c9c; font-size: 13px; line-height: 1.8; }
.topup-auth-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.topup-auth-actions .commerce-primary { display: inline-flex; width: auto; min-width: 170px; padding: 0 18px; text-decoration: none; }
.topup-auth-actions .button.outline { text-decoration: none; }
html[data-theme="light"] .topup-auth-gate > p { color: #6d6d6d; }
