.customer-page{background:radial-gradient(ellipse at 80% 0,#4814143b,transparent 55%),#0c0d12;min-height:100vh}.customer-header{display:flex;justify-content:space-between;align-items:center;padding:16px max(20px,calc((100vw - 1100px)/2));border-bottom:1px solid var(--line);background:#11131a}.customer-brand{display:flex;align-items:center;gap:10px}.customer-brand img{width:44px;height:52px;object-fit:contain}.customer-brand strong{font-size:22px}.customer-main{max-width:1140px;margin:auto;padding:44px 20px 60px}.customer-intro{color:var(--muted);margin:12px 0 28px;line-height:1.7}.account-content{min-height:45vh}.auth-card{max-width:510px;margin:20px auto}.auth-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.auth-tabs .button{flex:1}.account-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border:1px solid #e94040;border-radius:15px;background:linear-gradient(120deg,#350f0f,#141721);margin-bottom:24px}.balance-label{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#fff}.balance{font-family:Outfit,sans-serif;font-size:40px;margin-top:5px}.customer-email{font-size:14px;color:#fff;overflow-wrap:anywhere}.customer-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;align-items:start}.customer-grid .settings-card{margin-top:0}.customer-grid h2{font-size:22px}.customer-grid .field{margin:0}.customer-grid form{display:grid;gap:16px}.checkout-box{border-color:#e94040}.checkout-price{font-family:Outfit,sans-serif;font-size:32px;margin:14px 0}.checkout-image{width:100%;max-height:150px;object-fit:contain;background:#0d0f14;border-radius:10px}.customer-order{padding:20px 0;border-top:1px solid var(--line)}.customer-order h3{font-size:18px;font-weight:500}.customer-order p{color:var(--muted);font-size:13px;line-height:1.6;margin:7px 0}.customer-order button{margin-top:10px}.account-error{color:#e94040;margin:12px 0;line-height:1.5}.recovery-content{padding:28px}.recovery-content p{margin:16px 0;line-height:1.7;color:var(--muted)}.payment-details{background:#10131a;border:1px solid var(--line);border-radius:10px;padding:16px;line-height:1.8;margin-bottom:18px}.payment-details span{color:#fff}.movement{display:grid;grid-template-columns:1fr auto;gap:6px;padding:14px 0;border-top:1px solid var(--line);font-size:14px}.movement small{grid-column:1/-1;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.account-loading{padding:36px}.form-help{font-size:12px;color:var(--muted);line-height:1.6}.recovery-link{margin-top:18px}.customer-help{margin-top:22px;color:var(--muted);font-size:13px}.customer-help a{text-decoration:underline}.customer-grid .button{white-space:normal}.customer-header .button{font-size:13px}
@media(max-width:760px){.customer-main{padding:30px 16px}.customer-header{padding:12px 16px}.customer-brand strong{font-size:18px}.customer-grid{grid-template-columns:1fr}.account-top{padding:18px;align-items:flex-start;flex-wrap:wrap}.balance{font-size:34px}.auth-tabs .button{padding:10px}.customer-header .button{padding:8px;font-size:12px}.customer-brand img{width:35px}.customer-order h3{overflow-wrap:anywhere}}

.account-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.account-nav .button{flex:1;min-width:120px}.customer-grid{display:block}.wallet-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.customer-page .settings-card{min-width:0}.customer-page .private-delivery{word-break:break-word}.customer-page button:disabled{cursor:not-allowed}@media(max-width:760px){.wallet-columns{grid-template-columns:1fr}.account-nav{gap:6px}.account-nav .button{min-width:90px;font-size:12px;padding:9px}}
.registration-invite{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:14px;color:#fff;line-height:1.7}.registration-invite button{padding:0;background:none;border:0;color:#e94040;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer}

.account-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}.account-summary>div{border:1px solid var(--line);background:#141720;border-radius:12px;padding:18px}.account-summary span{font-size:12px;color:var(--muted)}.account-summary strong{display:block;font-size:22px;margin-top:8px}.account-nav{border-bottom:1px solid var(--line);padding-bottom:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.total-pill{background:#2a3042;border-radius:20px;padding:7px 12px;font-size:12px;white-space:nowrap}.orders-tools{display:grid;grid-template-columns:1fr 200px;gap:14px;margin:22px 0}.customer-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.customer-order{border:1px solid #2c3246;border-radius:14px;background:#12151d;padding:22px;min-width:0}.order-heading{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.order-symbol{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:linear-gradient(140deg,#531717,#312030);border:1px solid #e94040;border-radius:10px;font:600 23px Outfit,sans-serif}.order-heading>div:nth-child(2){flex:1;min-width:100px}.order-number{font-size:11px;color:#fff;display:block;margin-top:5px}.order-status{display:inline-block;padding:6px 9px;border-radius:6px;background:#2a3043;color:#fff;font-size:11px;white-space:nowrap}.order-status.delivered{color:#8ee0b7;background:#164331}.order-status.pending_manual{color:#ffcc83;background:#47361e}.order-status.refunded{background:#343b52;color:#fff}.order-facts{display:grid;grid-template-columns:1fr 1.3fr;gap:16px;margin:23px 0}.order-facts>div:last-child{grid-column:1/-1}.order-facts dt,.account-credentials dt{color:#fff;font-size:11px;margin-bottom:6px}.order-facts dd{font-size:13px;margin:0;color:#fff}.customer-order>.button{width:100%;margin:0}.order-notice{padding:12px;background:#1d222f;border-radius:8px}.account-credentials{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.account-credentials dl{margin:0}.account-credentials dl>div{background:#0d0f14;padding:12px;margin:8px 0;border-radius:8px}.account-credentials dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 monospace}.empty-orders{padding:40px 20px;text-align:center;color:var(--muted);line-height:1.7;border:1px dashed #353d54;border-radius:12px}.payment-qr{width:min(100%,280px);margin:24px auto 12px;background:#fff;border-radius:16px;padding:18px}.payment-qr img{display:block;width:100%;height:auto;object-fit:contain}.qr-owner{text-align:center;font-size:13px;color:#fff;margin:0 0 24px}.pending-topup{border:1px solid #75552d;border-radius:12px;padding:20px;background:#322919;margin-top:24px}.pending-topup h3{font-size:30px;margin:12px 0}.pending-topup p{font-size:14px;line-height:1.7;color:#fff}.pending-topup small{display:block;margin-top:12px;font-size:11px;color:#fff}.qr-empty{padding:28px 16px;border:1px dashed var(--line);border-radius:12px;line-height:1.7;color:var(--muted)}
@media(max-width:900px){.customer-orders{grid-template-columns:1fr}}@media(max-width:600px){.account-summary{gap:8px}.account-summary>div{padding:13px 10px}.account-summary span{font-size:10px}.account-summary strong{font-size:15px}.orders-tools{grid-template-columns:1fr}.customer-order{padding:17px}.section-heading{align-items:flex-start}.total-pill{font-size:10px}.customer-grid h2{font-size:23px}.account-nav .button{font-size:11px;min-width:80px}}

.customer-main{max-width:1560px}.customer-header{padding-inline:max(20px,calc((100vw - 1520px)/2))}.purchase-status-filters{display:flex;gap:8px;flex-wrap:wrap;padding:22px 0 18px;border-bottom:1px solid var(--line)}.purchase-chip{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #333a50;border-radius:8px;background:#1a1e2a;color:#fff;font-family:inherit;font-size:13px;font-weight:500;cursor:pointer}.purchase-chip span{font-size:11px;background:#2c3245;border-radius:6px;padding:2px 7px;min-width:24px;text-align:center}.purchase-chip.active{color:#fff;background:#451313;border-color:#e94040}.purchase-chip.active span{background:#792121;color:#fff}.purchase-chip:focus-visible{outline:2px solid #e94040;outline-offset:3px}.purchase-tools{display:flex;gap:20px;align-items:end;justify-content:space-between;margin:20px 0}.purchase-tools .field{width:min(100%,470px);margin:0}.purchase-tools .help{max-width:245px;text-align:right;line-height:1.6}.purchases-table-wrap{border:1px solid #31384d;border-radius:10px;overflow:auto;max-width:100%;max-height:65vh}.purchases-table-wrap:focus-visible{outline:2px solid #e94040;outline-offset:3px}.purchases-table{width:100%;min-width:1540px;border-collapse:collapse;text-align:left;font-size:12px}.purchases-table th{position:sticky;top:0;z-index:1;background:#141721;color:#fff;text-transform:uppercase;letter-spacing:.045em;font-size:10px;padding:14px 12px;white-space:nowrap}.purchases-table td{padding:20px 12px;border-top:1px solid #2a3043;vertical-align:middle;line-height:1.6;max-width:260px;overflow-wrap:anywhere}.purchases-table tbody tr{background:#161923}.purchases-table tbody tr:nth-child(even){background:#14171f}.purchases-table tbody tr:hover{background:#1d212e}.purchase-platform{display:flex;align-items:center;gap:12px;min-width:230px}.purchase-platform img{width:54px;height:48px;object-fit:contain;flex-shrink:0;background:#0f1117;border:1px solid #323a50;border-radius:8px;padding:3px}.purchase-platform strong{font-size:13px;display:block;line-height:1.5}.purchase-platform small{display:block;font-size:10px;color:#fff;margin-top:5px}.purchase-email{min-width:190px;font-weight:600;color:#fff}.purchase-muted{font-weight:400;color:#fff}.purchase-id{font:11px monospace;color:#fff;white-space:nowrap}.purchases-table time{display:block;max-width:110px;font-size:10px;color:#fff;margin-top:8px}.purchase-password{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:90px}.purchase-password span,.purchase-pin{font-family:monospace;white-space:pre-wrap;overflow-wrap:anywhere}.purchase-password span{max-width:170px}.purchase-password .button{font-size:10px;padding:3px 9px;min-height:26px}.purchase-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:120px}.purchase-actions .button{font-size:11px;padding:7px 10px}.purchase-actions a{font-size:10px;color:#fff;text-decoration:underline;text-underline-offset:3px}.purchase-date{white-space:nowrap;color:#fff;font-size:11px}.purchase-days{color:#8bddb1;white-space:nowrap;font-size:11px}.purchase-days.expired{color:#e94040}.purchase-amount{white-space:nowrap;font-weight:600}.order-status.expired{background:#521717;color:#e94040}.purchase-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;font-size:12px;color:#fff}.purchase-pagination label{display:flex;align-items:center;gap:8px}.purchase-pagination select{width:70px;min-height:34px;font-size:12px;padding:5px 8px}.empty-purchases{text-align:center;padding:42px!important;color:#fff}.purchase-dialog{width:min(600px,calc(100% - 32px));max-height:85vh;border:1px solid #4e4157;border-radius:16px;padding:28px;color:#fff;background:#161923;margin:auto;overflow:auto}.purchase-dialog::backdrop{background:#050609d1;backdrop-filter:blur(3px)}.purchase-dialog h2{font-size:23px;overflow-wrap:anywhere}.purchase-detail-list{margin-top:24px}.purchase-detail-list>div{padding:12px 0;border-top:1px solid #31384d}.purchase-detail-list dt{font-size:11px;color:#fff;margin-bottom:5px}.purchase-detail-list dd{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
@media(max-width:760px){.purchase-tools{align-items:stretch;flex-direction:column;gap:10px}.purchase-tools .field{width:100%}.purchase-tools .help{text-align:left;max-width:none}.purchase-status-filters{gap:6px}.purchase-chip{font-size:11px;padding:8px 10px;gap:6px}.purchase-pagination>span{flex-basis:100%}.orders-panel .section-heading{flex-wrap:wrap}.orders-panel .section-heading .button{font-size:11px}.purchase-dialog{padding:20px}.customer-header{padding-inline:16px}.purchases-table-wrap{max-height:65vh}}

/* Recovery support stays next to the code, then stacks on small screens. */
.recovery-support-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.recovery-support-row .field{min-width:0}.recovery-support{padding:12px;background:#141720;border:1px solid #2d3447;border-radius:10px}.recovery-support p{margin:0 0 10px;font-size:12px;line-height:1.5;color:#fff}.recovery-support .button{white-space:normal;text-align:center;font-size:12px;width:100%;box-sizing:border-box}@media(max-width:600px){.recovery-support-row{grid-template-columns:1fr}.recovery-support{margin-bottom:12px}}

.report-account-button{border-color:#c28e40!important;color:#fff!important;background:#382c1e!important}.customer-report{border:1px solid #3b4256;border-radius:10px;padding:16px;margin:18px 0;background:#13161e}.customer-report p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#fff}.customer-report h3{font-size:13px;margin:15px 0 6px}.customer-report small{color:#fff}.customer-report .section-heading{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}#accountReportForm{margin-top:24px}#accountReportForm textarea{min-height:120px}
.replacement-account-button{border-color:#e94040!important;color:#fff!important;background:#4a1414!important}.renewal-account-button{border-color:#4c8f76!important;color:#fff!important;background:#17382f!important}.purchase-card-actions .replacement-account-button,.purchase-card-actions .renewal-account-button{width:100%;white-space:normal;text-align:center}
.order-action-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto;border-color:#e94040;background:linear-gradient(145deg,#241720,#12151d)}
.order-action-dialog form{padding:26px;display:grid;gap:20px}
.order-action-heading{display:flex;align-items:center;gap:12px}
.order-action-heading svg{width:28px;height:28px;flex-shrink:0;color:#e94040}
.order-action-heading h2{font-size:23px;line-height:1.3;margin:0}
.order-action-account{display:grid;gap:7px;padding:16px;border:1px solid #e94040;border-radius:10px;background:#100f18;overflow-wrap:anywhere}
.order-action-account span{font-size:12px;color:#fff}
.order-action-dialog p{margin:0;font-size:14px;line-height:1.7}
.order-action-dialog strong{color:#fff}
.order-action-status{color:#8ee0b7}
.order-action-status:empty{display:none}
.order-action-buttons{display:flex;gap:10px;flex-wrap:wrap}
.order-action-buttons .button{flex:1;white-space:normal}
.order-action-buttons .primary{background:linear-gradient(120deg,#e94040,#e94040);border-color:#e94040;box-shadow:0 4px 16px #e9404040}
@media(max-width:520px){.order-action-dialog form{padding:20px}.order-action-buttons{flex-direction:column-reverse}}
.checkout-box{padding:36px;border-color:#e94040;background:linear-gradient(120deg,#12151e,#10131a)}.checkout-layout{display:grid;grid-template-columns:280px 1fr;gap:30px;align-items:center}.checkout-visual{border-right:1px solid var(--line);padding-right:30px}.checkout-art{height:232px;border-radius:16px;overflow:hidden;background:#0b0d12;display:grid;place-items:center;margin-bottom:24px}.checkout-art img{width:100%;height:100%;object-fit:cover}.checkout-art span{font-size:58px;color:#e94040}.checkout-benefits{display:grid;gap:16px}.checkout-benefits p{display:flex;gap:12px;align-items:flex-start;margin:0;color:#fff}.checkout-benefits b{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#360f0f;color:#e94040;font-size:20px;flex:0 0 auto}.checkout-benefits small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:4px}.checkout-content h2{font-size:34px;margin:8px 0 12px}.checkout-content .section-note{margin-bottom:16px}.coupon-box{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:18px 0}.coupon-box .field{margin:0}.coupon-box .button{margin-top:12px}.checkout-total{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px 0;font-size:15px}.checkout-total strong{font-size:28px}.checkout-content #confirmPurchase{width:100%;background:#e94040;border-color:#e94040;box-shadow:0 8px 20px #e9404033}.checkout-content>a{width:100%;text-align:center;margin-top:12px}@media(max-width:760px){.checkout-box{padding:20px}.checkout-layout{grid-template-columns:1fr}.checkout-visual{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.checkout-art{height:180px}.checkout-content h2{font-size:28px}}
.checkout-art{height:152px!important}

.checkout-recipient{margin:18px 0;padding:16px;border:1px solid #3d4459;border-radius:14px;background:#161922}.checkout-recipient .field{margin:0}.checkout-recipient .form-help{margin:9px 0 0}


/* Compact purchase layout: product, summary and customer details share one row. */
.checkout-layout{grid-template-columns:250px minmax(260px,320px) minmax(300px,380px);gap:22px;align-items:stretch;justify-content:start}
.checkout-visual{grid-row:1 / span 2}
.checkout-summary{display:flex;flex-direction:column;justify-content:center;min-width:0}
.checkout-summary h2{font-size:34px;margin:10px 0}
.checkout-summary .section-note{margin:0;color:var(--muted)}
.checkout-badge{align-self:flex-start;margin:8px 0 0;padding:6px 9px;border:1px solid #375a49;border-radius:999px;background:#12271e;color:#74dba7;font-size:10px;font-weight:800}
.checkout-fields{display:grid;gap:12px;width:100%;max-width:380px;min-width:0;justify-self:start}
.checkout-recipient,.coupon-box{margin:0;padding:15px;border-color:#373f55;background:#151822}
.coupon-box .field{gap:8px}
.coupon-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.coupon-controls .button{margin:0;padding-inline:14px}
.coupon-box #discountStatus{margin:8px 0 0;color:#e94040;font-size:12px;line-height:1.5}
.coupon-box #discountStatus:empty{display:none}
.checkout-actions{grid-column:2 / -1;display:grid;grid-template-columns:minmax(180px,1fr) minmax(270px,auto);gap:18px;align-items:center;padding-top:20px;border-top:1px solid var(--line)}
.checkout-actions .checkout-total{border:0;padding:0}
.checkout-actions #confirmPurchase{width:100%;background:#e94040;border-color:#e94040;box-shadow:0 8px 20px #e9404033}
.checkout-actions .account-error{grid-column:1 / -1;margin:0}
.checkout-back{width:100%;text-align:center;margin-top:14px}
@media(max-width:1100px){.checkout-layout{grid-template-columns:220px minmax(0,1fr)}.checkout-visual{grid-row:1 / span 2}.checkout-summary,.checkout-fields{grid-column:2}.checkout-fields{max-width:520px;justify-self:start}.checkout-actions{grid-column:2}.checkout-art{height:150px!important}}
@media(max-width:760px){.checkout-layout{grid-template-columns:1fr}.checkout-visual,.checkout-summary,.checkout-fields,.checkout-actions{grid-column:1;grid-row:auto}.checkout-fields{max-width:none}.checkout-actions{grid-template-columns:1fr}.checkout-summary h2{font-size:28px}.coupon-controls{grid-template-columns:1fr}.coupon-controls .button{width:100%}}

/* Preserve readable text on red surfaces. */
.order-status.expired,.checkout-benefits b{color:#fff}

.auth-card .auth-current-icon{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle;pointer-events:none}.auth-card button:has(>.auth-current-icon),.auth-card .field>span,.auth-card h2{display:flex;align-items:center;gap:8px}.auth-card h2>.auth-current-icon{width:25px;height:25px;flex-basis:25px;color:#6b9ded}.auth-card .field>span>.auth-current-icon{width:17px;height:17px;flex-basis:17px;color:#a9b8d0}.auth-card .registration-invite button{display:inline-flex}

.auth-card #authForm>.field:has(>input[name="username"]),.auth-card #authForm>.field:has(>input[name="phone"]){margin-bottom:4px}.auth-card #authForm>.field:has(>input[name="username"])+.form-help,.auth-card #authForm>.field:has(>input[name="phone"])+.form-help{margin:0 0 18px}

.auth-card .registration-invite{display:flex;align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:7px;margin:22px 0 0;line-height:1.6}.auth-card .registration-invite button{margin:0;padding:3px 0;gap:7px}.auth-card .recovery-link{margin-top:16px}

.auth-card .recovery-email-note{margin:0 0 20px;line-height:1.6;color:var(--muted);font-size:14px}.auth-card .recovery-code-help{margin:-8px 0 18px}

/* Larger, more readable profile details. */
.profile-card .purchase-detail-list>div{padding:17px 0}
.profile-card .purchase-detail-list dt{font-size:13px;line-height:1.5;margin-bottom:7px}
.profile-card .purchase-detail-list dd{font-size:16px;line-height:1.65}
.profile-card .profile-editable{gap:10px;min-width:0}
.profile-card .profile-editable>span{min-width:0;overflow-wrap:anywhere}

.wallet-offline-message>h2>.ui3d-symbol{display:none!important}

/* Colorful icons scoped to sign-in, registration and recovery. */
.auth-card .auth-current-icon{width:22px;height:22px;flex-basis:22px;filter:drop-shadow(0 1px 1px #0003)}.auth-card .field>span>.auth-current-icon{width:20px;height:20px;flex-basis:20px}.auth-card h2>.auth-current-icon{width:28px;height:28px;flex-basis:28px}.auth-card .auth-tabs .button{gap:9px}


/* Reuse the catalog waves behind authentication screens. */
.customer-page #bgWave{position:fixed;inset:0;z-index:0;pointer-events:none;width:100%;height:100%;display:none}.customer-page:has(.auth-card) #bgWave{display:block}.customer-page:has(.auth-card)>.customer-header,.customer-page:has(.auth-card)>.customer-main{position:relative;z-index:1}

