.theme-v1 .mobile-menu-toggle,.theme-v1 .mobile-account,.theme-v1 .mobile-site-menu{display:none}
.theme-v1 .denomination-grid{padding:7px 5px 2px;gap:12px}
.theme-v1 .denomination-choice .stock-badge{top:-7px;right:-6px;min-width:29px;height:24px;padding:0 7px;border-radius:12px;background:#17824c;color:#fff;font-size:12px;box-shadow:0 2px 5px #13663c40;z-index:1}
.theme-v1 .quantity-control{display:flex;align-items:stretch;width:max-content;max-width:100%;border:1px solid #ddd;border-radius:6px;overflow:hidden;background:white}
.theme-v1 .purchase-content .quantity-control button{width:44px;min-height:40px;margin:0;padding:0;border:0;border-radius:0;background:#f5f5f5;color:#333;font-size:21px;cursor:pointer}
.theme-v1 .purchase-content .quantity-control input{width:70px;min-width:0;margin:0;border:0;border-radius:0;text-align:center;font-weight:700;appearance:textfield;-moz-appearance:textfield}
.theme-v1 .quantity-control input::-webkit-inner-spin-button,.theme-v1 .quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.theme-v1 .profile-security-disclosure{margin-bottom:18px}.theme-v1 .profile-security-disclosure summary{cursor:pointer;font-size:17px;font-weight:700;padding:0 0 10px}.theme-v1 .profile-security-disclosure>p{margin:0 0 8px}
.theme-v1 .wallet-balance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;background:#fff5ef;border:1px solid #f9e2d8;border-radius:9px;padding:16px;margin:18px 0 22px}.theme-v1 .wallet-balance span{grid-column:1;color:#806c63}.theme-v1 .wallet-balance strong{grid-column:1;font-size:22px;color:#d94d32}.theme-v1 .wallet-balance a{grid-column:2;grid-row:1/3;white-space:nowrap;padding:9px 12px;border-radius:6px;background:#fff;color:#d94d32;text-decoration:none}.theme-v1 .wallet-entries article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 0;border-bottom:1px solid #eee}.theme-v1 .wallet-entries article small{grid-column:1/-1;color:#777}
.theme-v1 .allowed-amounts{border:0;margin:12px 0 0;padding:0}.theme-v1 .allowed-amounts legend{font-weight:700}.theme-v1 .allowed-amount-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.theme-v1 .allowed-amount-list label{display:flex;align-items:center;gap:5px;padding:7px 10px;margin:0;border:1px solid #ddd;border-radius:5px}.theme-v1 .allowed-amount-list input{width:auto;margin:0}.theme-v1 .allowed-amounts small{display:block;color:#777;margin-top:7px}
@media(max-width:600px){.theme-v1 .site-header{display:grid;grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);gap:4px;align-items:center}.theme-v1 .site-header .top-nav{display:none}.theme-v1 .site-header .brand{justify-self:center;white-space:nowrap}.theme-v1 .mobile-menu-toggle{display:block;justify-self:start;width:40px;height:40px;padding:0;border:0;background:transparent;color:#e35537;font-size:25px;line-height:1;cursor:pointer}.theme-v1 .mobile-account{display:flex;align-items:center;justify-self:end;gap:4px;max-width:100%;padding:7px;border-radius:6px;background:#e35537;color:#fff;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}.theme-v1 .mobile-login{font-size:11px}.theme-v1 .mobile-site-menu:not([hidden]){display:grid;background:#fff;border-bottom:1px solid #eee;box-shadow:0 4px 8px #0000000d}.theme-v1 .mobile-site-menu a{padding:11px 16px;border-top:1px solid #f2f2f2;color:#333;text-decoration:none;font-weight:600}.theme-v1 .wallet-balance{padding:13px}}

.theme-v1 .brand-logo{display:block;max-width:180px;max-height:42px;width:auto;height:auto;object-fit:contain}@media(max-width:600px){.theme-v1 .brand-logo{max-width:125px;max-height:38px}}

.theme-v1 .quantity-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:12px 14px;border:1px solid #eee;border-radius:8px;background:#fafafa}
.theme-v1 .purchase-content .quantity-row>label{margin:0;font-weight:700}
.theme-v1 .quantity-row .quantity-control{flex-shrink:0;border-color:#dedede}
.theme-v1 .purchase-content .quantity-control button{width:40px;min-height:38px;color:#d94d32;background:#fff}
.theme-v1 .purchase-content .quantity-control input{width:54px;border-left:1px solid #eee;border-right:1px solid #eee;background:#fff}
.theme-v1 .purchase-content .quantity-control button:hover{background:#fff4ef}
@media(max-width:360px){.theme-v1 .quantity-row{padding:10px;gap:8px}}

.theme-v1 .home-card-catalog .catalog-item{min-height:80px;padding:12px 8px;gap:0;text-align:center;line-height:1.35;color:#3d4652;font-size:14px;font-weight:700;overflow-wrap:anywhere;transition:background-color .15s,color .15s}.theme-v1 .home-card-catalog .catalog-item:hover,.theme-v1 .home-card-catalog .catalog-item:focus-visible{background:#fff5ef;color:#dd5335}.theme-v1 .home-card-name{display:block;max-width:100%}@media(max-width:600px){.theme-v1 .home-card-catalog .catalog-item{min-height:64px;font-size:13px;padding:10px 7px}}

.theme-v1 .account-panel,.theme-v1 .game-page,.theme-v1 .game-detail,.theme-v1 .card-catalog-detail{width:100%;max-width:768px;margin:8px auto;background:#fff}.theme-v1 .auth-page{max-width:768px}.theme-v1 .purchase-content button[type=submit]:not(:disabled),.theme-v1 .detail-card .quote-submit:not(:disabled),.theme-v1 .account-panel button[type=submit]:not(:disabled),.theme-v1 .account-panel a.quote-login{background:#e35537;color:#fff;cursor:pointer;transition:background .15s,transform .1s}.theme-v1 .purchase-content button[type=submit]:not(:disabled):hover,.theme-v1 .detail-card .quote-submit:not(:disabled):hover,.theme-v1 .account-panel button[type=submit]:not(:disabled):hover,.theme-v1 .account-panel a.quote-login:hover{background:#c94128;color:#fff}.theme-v1 .purchase-content button[type=submit]:not(:disabled):active,.theme-v1 .detail-card .quote-submit:not(:disabled):active,.theme-v1 .account-panel button[type=submit]:not(:disabled):active{transform:scale(.99)}.theme-v1 button[type=submit]:disabled{opacity:.6;cursor:not-allowed}

/* Cấu hình nhận diện chung cho giao diện v1. */
.theme-v1 .banner.banner-image{display:block;min-height:0;border:0;background:#fff}.theme-v1 .banner-image img{display:block;width:100%;height:auto}.theme-v1 .brand,.theme-v1 .section-heading a,.theme-v1 .page-back{color:var(--site-primary)}.theme-v1 .account-panel button[type=submit]:not(.secondary-button):not(:disabled),.theme-v1 .purchase-content button[type=submit]:not(:disabled){background-color:var(--site-primary)}

/* Màu nhận diện áp dụng cho các trạng thái tương tác chính. */
.theme-v1 .top-nav a[aria-current=page],.theme-v1 .bottom-nav a.active,.theme-v1 .mobile-menu-toggle,.theme-v1 .account-panel a,.theme-v1 .page-kicker,.theme-v1 .detail-back,.theme-v1 .detail-header small,.theme-v1 .card-sale-price{color:var(--site-primary)}
.theme-v1 .card-type.selected,.theme-v1 .mode-list a.active,.theme-v1 .denomination-choice:has(input:checked),.theme-v1 .payment-option input:checked+.payment-option-body{border-color:var(--site-primary);color:var(--site-primary);background:#fff;background:color-mix(in srgb,var(--site-primary) 7%,white)}
.theme-v1 .package-option input:checked+span{border-color:var(--site-primary);background:#fff;background:color-mix(in srgb,var(--site-primary) 7%,white)}
.theme-v1 .payment-option input:checked+.payment-option-body .payment-check{border-color:var(--site-primary);background:var(--site-primary);color:#fff}
.theme-v1 .mobile-account,.theme-v1 .detail-card .quote-submit:not(:disabled),.theme-v1 .account-panel a.quote-login{background:var(--site-primary);color:#fff}
.theme-v1 .purchase-content button[type=submit]:not(:disabled):hover,.theme-v1 .detail-card .quote-submit:not(:disabled):hover,.theme-v1 .account-panel button[type=submit]:not(:disabled):hover,.theme-v1 .account-panel a.quote-login:hover{background:var(--site-primary);color:#fff;filter:brightness(.88)}

.theme-v1 .brand-mark,.theme-v1 .purchase-content .quantity-control button{color:var(--site-primary)}
@media(max-width:600px){.theme-v1 .site-header{grid-template-columns:minmax(48px,1fr) minmax(0,2fr) minmax(76px,1fr)}.theme-v1 .site-header .brand{min-width:0;max-width:100%;overflow:hidden;font-size:clamp(14px,4vw,20px)}.theme-v1 .site-header .brand strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-v1 .mobile-account{overflow:hidden;text-overflow:ellipsis}}

/* Chữ và trạng thái được chọn vẫn đọc được với màu rất sáng hoặc tối. */
.theme-v1 .brand,.theme-v1 .brand-mark,.theme-v1 .section-heading a,.theme-v1 .page-back,.theme-v1 .top-nav a[aria-current=page],.theme-v1 .bottom-nav a.active,.theme-v1 .mobile-menu-toggle,.theme-v1 .account-panel a,.theme-v1 .page-kicker,.theme-v1 .detail-back,.theme-v1 .detail-header small,.theme-v1 .card-sale-price,.theme-v1 .purchase-content .quantity-control button{color:var(--site-ink)}
.theme-v1 .card-type.selected,.theme-v1 .mode-list a.active,.theme-v1 .denomination-choice:has(input:checked),.theme-v1 .payment-option input:checked+.payment-option-body{border-color:var(--site-ink);color:var(--site-ink)}
.theme-v1 .package-option input:checked+span{border-color:var(--site-ink)}
.theme-v1 .payment-option input:checked+.payment-option-body .payment-check,.theme-v1 .mobile-account,.theme-v1 .detail-card .quote-submit:not(:disabled),.theme-v1 .account-panel a.quote-login,.theme-v1 .account-panel button[type=submit]:not(.secondary-button):not(:disabled),.theme-v1 .purchase-content button[type=submit]:not(:disabled){color:#fff}
.theme-v1 .purchase-content button[type=submit]:not(:disabled):hover,.theme-v1 .detail-card .quote-submit:not(:disabled):hover,.theme-v1 .account-panel button[type=submit]:not(:disabled):hover,.theme-v1 .account-panel a.quote-login:hover{background:var(--site-hover);color:var(--site-on-hover);filter:none}
/* Giữ ranh giới rõ ràng khi chọn màu nền gần trắng. */
.theme-v1 .purchase-content button[type=submit]:not(:disabled),.theme-v1 .detail-card .quote-submit:not(:disabled),.theme-v1 .account-panel button[type=submit]:not(.secondary-button):not(:disabled),.theme-v1 .account-panel a.quote-login{box-shadow:inset 0 0 0 1px var(--site-ink)}
.theme-v1 .payment-option input:checked+.payment-option-body .payment-check{border-color:var(--site-ink)}

.theme-v1 .payment-option input:disabled+.payment-option-body{opacity:.6;background:#f3f4f6;color:#666;cursor:not-allowed}

/* Nút chính dùng chữ trắng trên nền đủ tương phản. */
.theme-v1 .purchase-content button[type=submit]:not(:disabled),.theme-v1 .detail-card .quote-submit:not(:disabled),.theme-v1 .account-panel button[type=submit]:not(.secondary-button):not(:disabled),.theme-v1 .account-panel a.quote-login{background:var(--site-ink);color:#fff}
.theme-v1 .purchase-content button[type=submit]:not(:disabled):hover,.theme-v1 .detail-card .quote-submit:not(:disabled):hover,.theme-v1 .account-panel button[type=submit]:not(:disabled):hover,.theme-v1 .account-panel a.quote-login:hover{background:var(--site-ink);color:#fff;filter:brightness(.88)}

.theme-v1 .bottom-nav{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}

.history-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 18px 0; }
.history-filter label { flex: 1 1 170px; margin: 0; }
.history-filter button { width: auto; min-width: 90px; margin: 0; }
.exchange-history-item { border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; margin: 12px 0; overflow-wrap: anywhere; }
.exchange-history-item p { margin: 7px 0; }
@media (max-width: 480px) { .history-filter label { flex-basis: calc(50% - 12px); min-width: 0; } .history-filter button { flex: 1 1 auto; } }

.withdrawal-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin: 14px 0 20px; border: 1px solid #eedbd4; border-radius: 10px; background: #fff8f5; }
.withdrawal-summary strong { color: var(--site-ink); font-size: 1.1rem; }
.theme-v1 .account-panel form.history-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.theme-v1 .account-panel form.history-search label{min-width:0;margin:0}
.theme-v1 .account-panel form.history-search>button{width:auto;min-width:90px;min-height:42px;margin:0}
.withdraw-account-link{margin:18px 0 28px}.withdraw-account-link a{display:inline-flex;align-items:center;min-height:42px;font-weight:700}
.saved-bank-account{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #eee}.saved-bank-account div{min-width:0;overflow-wrap:anywhere}.saved-bank-account small{display:block;color:#777;margin-top:5px}.saved-bank-account form{margin:0}.theme-v1 .account-panel .saved-bank-account button.secondary-button{width:auto;margin:0}
@media(max-width:380px){.theme-v1 .account-panel form.history-search>button{min-width:76px;padding-inline:10px}.saved-bank-account{align-items:flex-start}}

/* Keep the desktop navigation balanced inside the 768px storefront shell. */
@media(min-width:601px){.theme-v1 .site-header{gap:10px;padding-inline:16px}.theme-v1 .brand{flex:0 0 auto;font-size:20px;white-space:nowrap}.theme-v1 .brand-mark{font-size:30px}.theme-v1 .top-nav{flex:0 0 auto;min-width:max-content;gap:clamp(8px,1vw,11px);font-size:13px;white-space:nowrap}.theme-v1 .top-nav a{flex:0 0 auto;white-space:nowrap}.theme-v1 .home-game-actions{display:flex;align-items:center;gap:14px}.theme-v1 .home-game-actions .home-game-search{margin:0}}
@media(min-width:601px){.theme-v1 .top-nav{gap:12px}.theme-v1 .top-nav a{padding-inline:5px}.theme-v1 .top-nav a+a{border-left:1px solid #e6e8eb;padding-left:12px}}

@media(min-width:601px){.theme-v1 .site-header{justify-content:initial;gap:14px}.theme-v1 .top-nav{flex:1 1 auto;min-width:0;justify-content:center}.theme-v1 .mobile-account.header-account{display:flex;flex:0 0 auto;align-items:center;gap:10px;margin-left:8px;padding:0;background:transparent;color:var(--site-primary);white-space:nowrap}.theme-v1 .header-balance{display:inline-flex;align-items:center;padding:7px 12px;border-radius:24px;background:var(--site-primary);color:#fff;font-size:13px;font-weight:700}.theme-v1 .header-avatar{width:30px;height:30px;flex:0 0 30px}.theme-v1 .header-login{padding:8px 12px!important;border-radius:8px!important;background:var(--site-primary)!important;color:#fff!important}}
@media(max-width:600px){.theme-v1 .mobile-account.header-account{gap:5px;padding:6px!important}.theme-v1 .header-balance{padding:0;background:transparent;color:#fff;font-size:11px}.theme-v1 .header-avatar{width:23px;height:23px;flex-basis:23px;color:#fff}.theme-v1 .mobile-login{padding:7px!important}}

.theme-v1 .home-game-more{display:flex;width:calc(100% - 28px);min-height:46px;align-items:center;justify-content:center;margin:12px 14px 16px;padding:12px 18px;border:1px solid var(--site-primary);border-radius:6px;background:var(--site-primary);color:#fff;font-size:14px;font-weight:700;text-align:center;transition:background-color .15s ease,transform .15s ease}.theme-v1 .home-game-more:hover{background:var(--site-hover);transform:translateY(-1px)}.theme-v1 .home-game-more:focus-visible{outline:3px solid color-mix(in srgb,var(--site-primary),transparent 65%);outline-offset:2px}
.theme-v1 #danh-sach-game{padding-bottom:16px}

/* Game recharge form: neutral labels, reserve the site color for required marks and selection. */
.theme-v1 .game-detail .detail-card .game-field{margin-top:12px}
.theme-v1 .game-detail .detail-card .game-field-label>span{color:#333}
.theme-v1 .game-detail .detail-card .game-field-label>span>b{color:var(--site-primary,#e35537)}
.theme-v1 .game-detail .detail-card .game-field-label .batch-toggle{color:#42566f!important}
.theme-v1 .game-detail .detail-card .payment-methods{margin-top:12px}
.theme-v1 .game-detail .detail-card .payment-choices{margin-top:6px;gap:8px}
.theme-v1 .game-detail .detail-card .quote-submit{margin-top:14px}
@media(max-width:600px){.theme-v1 .game-detail{padding:16px 12px}.theme-v1 .game-detail .detail-card{padding:15px}.theme-v1 .game-detail .detail-card .game-field{margin-top:11px}}

.theme-v1 .order-history-page{max-width:768px;padding:22px}
.theme-v1 .order-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;padding:12px;border:1px solid #eceff2;border-radius:10px;background:#fafbfc}
.theme-v1 .order-history-summary div{min-width:0;padding:4px 8px;border-right:1px solid #e7eaed}
.theme-v1 .order-history-summary div:last-child{border:0}
.theme-v1 .order-history-summary span,.theme-v1 .order-history-summary strong{display:block;overflow-wrap:anywhere}
.theme-v1 .order-history-summary span{color:#68717d;font-size:12px}
.theme-v1 .order-history-summary strong{margin-top:4px;color:#303944;font-size:15px}
.theme-v1 .order-history-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;margin:18px 0 20px}
.theme-v1 .order-history-filter label{display:block;min-width:0;margin:0;color:#39424d;font-size:12px;font-weight:700}
.theme-v1 .order-history-filter input,.theme-v1 .order-history-filter select{box-sizing:border-box;width:100%;min-width:0;height:42px;margin-top:6px;padding:8px 10px;border:1px solid #d9dee4;border-radius:6px;background:#fff;color:#303944;font:inherit;font-size:13px}
.theme-v1 .order-filter-actions{display:flex;grid-column:1/-1;align-items:center;gap:14px}
.theme-v1 .order-history-filter .order-filter-actions button{width:auto;min-width:130px;margin:0;padding:10px 16px;border:0;border-radius:6px;background:var(--site-ink);color:#fff;font-size:13px;cursor:pointer}
.theme-v1 .order-filter-actions a{color:var(--site-ink);font-size:13px;font-weight:600}
.theme-v1 .order-history-list{display:grid;gap:9px}
.theme-v1 .customer-order-card{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:13px 14px;border:1px solid #e7eaed;border-radius:9px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,background .15s}
.theme-v1 .customer-order-card:hover,.theme-v1 .customer-order-card:focus-visible{border-color:var(--site-primary);background:#fffdfc;outline:none}
.theme-v1 .customer-order-main,.theme-v1 .customer-order-total{display:grid;min-width:0;gap:5px}
.theme-v1 .customer-order-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.theme-v1 .customer-order-code{color:#303944;font-size:13px;overflow-wrap:anywhere}
.theme-v1 .customer-order-kind{color:#4b5562;font-size:12px;overflow-wrap:anywhere}
.theme-v1 .customer-order-date,.theme-v1 .customer-order-total small{color:#78818c;font-size:11px}
.theme-v1 .customer-order-total{justify-items:end;flex:0 0 auto;text-align:right}
.theme-v1 .customer-order-total strong{color:var(--site-ink);font-size:14px;white-space:nowrap}
.theme-v1 .customer-order-total>span{color:var(--site-ink);font-size:11px;font-weight:700}
.theme-v1 .customer-order-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#4e5e70;font-size:10px;font-weight:700;line-height:1.3}
.theme-v1 .customer-order-status.status-completed{background:#eaf6ee;color:#287849}
.theme-v1 .customer-order-status.status-cancelled{background:#f1f2f4;color:#606975}
.theme-v1 .customer-order-status.status-needs_review,.theme-v1 .customer-order-status.status-cancel_pending,.theme-v1 .customer-order-status.status-pending_payment{background:#fff4df;color:#8a5a12}
.theme-v1 .order-history-empty{padding:28px 16px;border:1px dashed #d9dee4;border-radius:9px;text-align:center;color:#495360}
.theme-v1 .order-history-empty p{margin:7px 0;color:#78818c;font-size:13px}
.theme-v1 .order-history-empty a{color:var(--site-ink);font-weight:700}
.theme-v1 .customer-order-detail{max-width:768px;padding:22px}
.theme-v1 .order-detail-back{display:inline-block;margin-bottom:18px;color:var(--site-ink);font-weight:600;text-decoration:none}
.theme-v1 .order-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.theme-v1 .order-detail-heading h1{margin:5px 0;font-size:21px;overflow-wrap:anywhere}
.theme-v1 .order-detail-heading p{margin:0;color:#78818c;font-size:12px}
.theme-v1 .order-detail-heading>.customer-order-status{margin-top:5px}
.theme-v1 .order-detail-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;margin:16px 0 20px}
.theme-v1 .order-detail-totals>div{display:grid;gap:5px;padding:12px;border:1px solid #eceff2;border-radius:8px;background:#fafbfc}
.theme-v1 .order-detail-totals span{color:#78818c;font-size:11px}
.theme-v1 .order-detail-totals strong{color:#303944;font-size:16px}
.theme-v1 .order-detail-totals .refunded-amount{color:#287849}
.theme-v1 .order-detail-section{margin-top:18px;padding-top:16px;border-top:1px solid #eceff2}
.theme-v1 .order-detail-section h2{margin:0 0 10px;font-size:15px}
.theme-v1 .order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0}
.theme-v1 .order-detail-grid>div{display:grid;grid-template-columns:minmax(95px, .7fr) minmax(0,1.3fr);gap:8px;padding:9px 0;border-bottom:1px solid #f0f1f3}
.theme-v1 .order-detail-grid dt{color:#78818c;font-size:12px}
.theme-v1 .order-detail-grid dd{margin:0;color:#303944;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.theme-v1 .delivered-cards-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.theme-v1 .delivered-cards-heading span{color:#78818c;font-size:12px}
.theme-v1 .delivered-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px;padding:12px;border:1px solid #e7eaed;border-radius:8px;background:#fafbfc}
.theme-v1 .delivered-card span,.theme-v1 .delivered-card strong{display:block;overflow-wrap:anywhere}
.theme-v1 .delivered-card span{margin-bottom:4px;color:#78818c;font-size:11px}
.theme-v1 .delivered-card strong{color:#303944;font-size:13px;user-select:all}
.theme-v1 .order-customer-actions>p{color:#78818c;font-size:12px}
.theme-v1 .order-customer-actions form{display:inline-block;margin:4px 8px 0 0}
.theme-v1 .order-customer-actions button{width:auto;margin:0;padding:9px 12px;border:0;border-radius:6px;background:var(--site-ink);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.theme-v1 .order-customer-actions button.secondary-button{background:#f1f2f4;color:#39424d}
@media(max-width:620px){.theme-v1 .order-history-page,.theme-v1 .customer-order-detail{padding:16px 12px}.theme-v1 .order-history-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.theme-v1 .order-filter-actions{grid-column:1/-1}.theme-v1 .order-history-summary{gap:4px;padding:9px}.theme-v1 .order-history-summary div{padding:4px}.theme-v1 .order-history-summary strong{font-size:13px}.theme-v1 .customer-order-card{align-items:flex-start;gap:8px;padding:11px}.theme-v1 .customer-order-total strong{font-size:13px}.theme-v1 .order-detail-grid{grid-template-columns:1fr}.theme-v1 .order-detail-grid>div{grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr)}.theme-v1 .delivered-card{grid-template-columns:1fr}}
@media(max-width:360px){.theme-v1 .order-history-filter{grid-template-columns:1fr}.theme-v1 .order-history-summary{grid-template-columns:1fr}.theme-v1 .order-history-summary div{border-right:0;border-bottom:1px solid #e7eaed;padding:7px}.theme-v1 .order-history-summary div:last-child{border-bottom:0}.theme-v1 .customer-order-card{flex-direction:column}.theme-v1 .customer-order-total{width:100%;grid-template-columns:1fr auto;align-items:center;justify-items:start;text-align:left}.theme-v1 .customer-order-total>span{justify-self:end}}
.theme-v1 .wallet-entries article{border:1px solid #e7eaed;border-radius:8px;padding:12px 14px;margin:8px 0;background:#fff}.theme-v1 .wallet-entries article strong{font-size:13px;color:#303944}.theme-v1 .wallet-entries article .wallet-credit{color:#287849;font-weight:700}.theme-v1 .wallet-entries article .wallet-debit{color:#b54732;font-weight:700}
.theme-v1 .order-history-page .exchange-history-item{margin:8px 0;padding:12px 14px;border-radius:8px}.theme-v1 .order-history-page .exchange-history-item>strong{color:#303944;font-size:13px}.theme-v1 .order-history-page .exchange-history-item p{color:#586371;font-size:12px}

.theme-v1 .delivered-card{grid-template-columns:1fr;gap:12px}
.theme-v1 .delivered-card-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.theme-v1 .delivered-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.theme-v1 .delivered-card-actions button{min-height:34px;padding:7px 10px;border:1px solid #e3c7bd;border-radius:6px;background:#fff;color:var(--site-ink);font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.theme-v1 .delivered-card-actions button:hover{background:color-mix(in srgb,var(--site-primary) 8%,white)}
.theme-v1 .copy-feedback{min-height:1.25em;margin:6px 0 0;color:#287849;font-size:12px}
@media(max-width:620px){.theme-v1 .delivered-card-values{grid-template-columns:1fr}.theme-v1 .delivered-card-actions button{flex:1 1 auto}}

/* Keep purchase validation feedback beside the action that resolves it. */
.theme-v1 .purchase-form-error{margin:16px 0 12px;padding:14px 16px;border:1px solid #edb7ae;border-radius:8px;background:#fff1ef;color:#a93624;font-size:15px;font-weight:600;line-height:1.45}
@media(max-width:620px){.theme-v1 .purchase-form-error{margin:12px 0 10px;padding:12px 14px;font-size:14px}}
