/* SaldoHiggs blue/white palette, inspired by qontak.com. Semantic status colours remain independent. */
:root{--brand-blue:#0854d4;--brand-blue-hover:#0645ad;--brand-blue-light:#2979ff;--brand-soft:#edf4ff;--surface:#fff;--page-bg:#f5f8ff;--ink:#232933;--muted:#626b79;--line:#dce5f2;--primary:var(--brand-blue);--topup-yellow:var(--brand-blue);--topup-ink:var(--ink)}
html,html.member-layout,body{background:var(--page-bg);color:var(--ink)}
.app-shell,.member-layout .layout,.wallet-shell,.policy-shell{background:var(--surface)}
.app-shell>header,.member-layout .main>header,.wallet-header,.policy-header,.checkout-header{background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line)}
.app-shell>header::before,.app-shell>header::after{display:none}
.brand,.brand span,.member-brand .brand,.member-brand .brand span,.wallet-brand,.wallet-brand span,.policy-brand,.policy-brand>span,.checkout-header .brand,.admin-workspace .brand,.admin-workspace .brand span{color:var(--brand-blue)!important}
.header-ticker{color:var(--muted)}
.member-layout .avatar{color:var(--brand-blue);background:var(--brand-soft);border-color:var(--line)}
:where(.primary,.wallet-pin-submit,.wallet-pin-profile-link){background:var(--brand-blue);color:white}
:is(.app-shell,.member-layout,.admin-workspace,.login-main,.checkout-main,.wallet-hub,.member-profile) .primary,#product-dialog .primary,.wallet-pin-submit,.wallet-pin-profile-link,.policy-contact button{background:var(--brand-blue)!important;color:#fff!important;border-color:var(--brand-blue)!important}
:is(.app-shell,.member-layout,.admin-workspace,.login-main,.checkout-main,.wallet-hub,.member-profile) .primary:hover,#product-dialog .primary:hover,.wallet-pin-submit:hover,.policy-contact button:hover{background:var(--brand-blue-hover)!important}
button.primary:disabled,#product-dialog .primary:disabled,.wallet-pin-submit:disabled{background:#e9edf3!important;border-color:#e9edf3!important;color:#758195!important;cursor:not-allowed}
.secondary,.small-button{color:var(--brand-blue);border-color:var(--line);background:#f5f8ff}
.member-layout .member-bottom-nav a.active,.wallet-nav [aria-current],.app-shell .bottom-nav .active{color:var(--brand-blue)}
.member-layout .member-bottom-nav a.active .nav-icon,.wallet-nav [aria-current]>span{background:var(--brand-soft)}
.member-layout .member-bottom-nav a[data-nav="home"] .nav-icon{background:var(--brand-blue);color:#fff}
.member-layout .member-bottom-nav a[data-nav="home"]{color:var(--brand-blue)}
.app-shell .bottom-nav :is(a,button).active svg{color:var(--brand-blue)}
.wallet-hub .member-wallet-card{background:linear-gradient(120deg,#0645ad,#0854d4);border-color:#0854d4;color:white}
.wallet-hub .member-wallet-card .member-balance{color:#fff}.wallet-hub .member-wallet-label,.wallet-hub .member-wallet-card p{color:#e5eeff}
.wallet-hub .member-wallet-card a.primary{background:#fff!important;color:var(--brand-blue)!important;border-color:#fff!important}
.wallet-hub .member-wallet-card a.primary:hover{background:#edf4ff!important}
.balance,.profile-avatar{background:var(--brand-soft);border-color:var(--line);color:var(--brand-blue)}
.balance strong,.balance-icon,.balance>a,.profile-security-icon{color:var(--brand-blue)}
.wallet-pin-total{background:var(--brand-soft)}.wallet-pin-total strong{color:var(--brand-blue)}
.profile-pin-state.is-active{background:#e9f6ec;color:#267644}.profile-session>a{color:#a74032}
.app-shell .category-icon:is(.purple,.orange,.green,.yellow){background:var(--brand-soft);color:var(--brand-blue);box-shadow:none}
.app-shell .category.active:after{background:var(--brand-blue)}
.app-shell .category-icon .domigo-icon{filter:none}
.progress span.done{border-color:var(--brand-blue);color:var(--brand-blue)}
#product-dialog .option:has(input:checked),#product-dialog .payment-option:has(input:checked){border-color:var(--brand-blue);background:var(--brand-soft)}
#product-dialog input,#product-dialog select,input[type=checkbox],input[type=radio]{accent-color:var(--brand-blue)}
.campaign-designed{background:linear-gradient(120deg,#0645ad,#0854d4 65%,#2979ff)}
.campaign-eyebrow,.campaign-eyebrow>span,.campaign-copy p{color:#e5eeff}.campaign-copy h2{color:#fff}
.campaign-cta{background:#fff;color:var(--brand-blue)}
.auth-tabs a[aria-current=page]{background:var(--brand-blue);color:#fff}
body:has(.login-main){background:linear-gradient(160deg,#edf4ff,#fff 65%)}
.login-main>.brand{color:var(--brand-blue)}
.admin-workspace,.admin-workspace .main,.admin-workspace main,.admin-workspace aside,.admin-workspace header{background:#fff}
.admin-workspace nav a.active{background:var(--brand-soft);color:var(--brand-blue)}
.admin-workspace .stat.featured{background:var(--brand-blue);color:#fff}.admin-workspace .stat.featured strong{color:#fff}
.admin-workspace .supplier-balance{color:var(--brand-blue);background:var(--brand-soft);border-color:var(--line)}.admin-workspace .supplier-balance strong{color:var(--brand-blue)}
:where(a,button,input,select,textarea,summary):focus-visible{outline-color:var(--brand-blue-light)}

.app-shell .header-ticker{color:var(--muted);border-left-color:var(--line)}
#product-dialog{--topup-green:var(--brand-blue);--topup-ink:var(--ink)}
.campaign-action{background:#fff;color:var(--brand-blue)}

#shop-banners .campaign-brand-image .campaign-action{background:#fff;color:var(--brand-blue);box-shadow:0 3px 12px #08183322}
#shop-banners .campaign-brand-image .campaign-action:hover{background:#edf4ff}
.app-shell .bottom-nav .nav-home .nav-home-icon,.app-shell .bottom-nav .nav-home.selected .nav-home-icon{background:var(--brand-blue);color:#fff}

/* Quiet card surfaces; reserve saturated blue for actions and selection. */
#product-dialog .option small,#product-dialog .option:has(input:checked) small{color:var(--ink)}
#product-dialog .option:has(input:checked),#product-dialog .payment-option:has(input:checked){background:#f0f6ff}
#product-dialog .nominal-flash-group .option:has(input:checked){background:#f0f6ff}
#product-dialog .nominal-group-heading{background:#f6f8fb}
#product-dialog .nominal-flash-group .nominal-group-heading{background:transparent}
#product-dialog .nominal-compare del{color:var(--muted)}
#product-dialog .option .nominal-icon{width:36px;height:36px;flex:none;object-fit:contain;border-radius:7px;background:#fff}
#product-dialog .option .nominal-price,#product-dialog .option:has(input:checked) .nominal-price{color:#087e3b;font-weight:800}
#product-dialog .nominal-compare b,#product-dialog .nominal-flash-group .nominal-compare b{background:#d92d3b;color:#fff;font-weight:700}
#product-dialog .option>span{flex:1;min-width:0}
.app-shell .home-deal-discount{background:#e7efff;color:#0645ad}
.brand-start-topup{background:var(--brand-blue);color:#fff}
.brand-start-topup:hover{background:var(--brand-blue-hover)}

/* Shared alignment rules for long names, compact phones and operational tables. */
:is(.panel-head,.page-title,.filters,.checkout-top,.checkout-actions)>*{min-width:0}
.panel-head,.filters{flex-wrap:wrap}
.filters{align-items:center}
.filters :is(input,select){min-height:44px}
.admin-workspace .orders-table td{vertical-align:top}
.admin-workspace .orders-table{min-width:1050px;table-layout:fixed}
.admin-workspace .orders-table :is(th,td):nth-child(n){min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}
.admin-workspace .orders-table th:nth-child(1){width:16%}
.admin-workspace .orders-table th:nth-child(2){width:17%}
.admin-workspace .orders-table th:nth-child(3){width:10%}
.admin-workspace .orders-table th:nth-child(4){width:12%}
.admin-workspace .orders-table th:nth-child(5){width:13%}
.admin-workspace .orders-table th:nth-child(6){width:10%}
.admin-workspace .orders-table th:nth-child(7){width:12%}
.admin-workspace .orders-table th:last-child{width:80px;text-align:center}
.admin-workspace .orders-table .order-actions{min-width:0;max-width:none}
.admin-workspace .orders-table .status{white-space:normal;line-height:1.5}
.admin-workspace .order-actions>summary{min-height:44px;padding:10px 0}
.admin-workspace .order-actions-list :is(button,a){display:flex;align-items:center;min-height:40px;line-height:1.5}
.admin-workspace :is(.page-title h1,.stat strong,.panel-head h2){overflow-wrap:anywhere}
.admin-workspace .dialog-head button,.admin-workspace #close-live-dialog{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;flex:none}
.admin-workspace .orders-table .order-view-cell{vertical-align:middle;text-align:center;padding:12px 16px}
.order-view-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--brand-blue);cursor:pointer}
.order-view-button:hover{background:var(--brand-soft);border-color:#a9c7f5}
.order-view-button:focus-visible{outline:3px solid #8bb6f5;outline-offset:3px}
#order-detail-dialog{width:min(680px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:#fff;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #08183330}
#order-detail-dialog::backdrop{background:#08183380}
.order-detail-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;background:#fff;border-bottom:1px solid var(--line)}
.order-detail-head h2{font-size:20px;letter-spacing:-.4px}
.order-detail-head p{margin:6px 0 0;font-size:12px;overflow-wrap:anywhere}
.order-detail-head .order-view-button{color:var(--muted);border-color:transparent}
.order-detail-body{padding:24px;display:grid;gap:24px;min-width:0}
.order-detail-body h3{font-size:14px;margin:0 0 12px}
.order-detail-product{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.order-detail-product h3{font-size:18px;margin:0 0 6px}
.order-detail-product p{margin:0}
.order-detail-product>div:last-child{text-align:right;flex-shrink:0}
.order-detail-product span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.order-detail-product strong{display:block;font-size:22px;font-weight:800;letter-spacing:-.5px}
.order-detail-status,.order-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.order-detail-status{padding:16px;background:#f7f9fc;border:1px solid #e8edf5;border-radius:12px}
#order-detail-dialog dt{font-size:12px;color:var(--muted);margin:0 0 8px}
#order-detail-dialog dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#order-detail-dialog .status{white-space:normal;line-height:1.5}
.order-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.order-detail-actions,.order-detail-note{border-top:1px solid var(--line);padding-top:20px}
.order-detail-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#order-detail-dialog .small-button{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 16px;white-space:normal;line-height:1.5;text-align:center;border:1px solid var(--line);border-radius:10px;background:var(--brand-soft);color:var(--brand-blue);font-size:14px}
#order-detail-dialog [data-live-action="wallet-reject"],#order-detail-dialog [data-live-action="reject-payment"],#order-detail-dialog [data-status="failed"],#order-detail-dialog [data-status="cancelled"]{color:#b42335;border-color:#f3d4d9;background:#fff5f6}
#order-detail-dialog .supplier-response{border-top:1px solid var(--line);padding-top:16px;min-width:0}
#order-detail-dialog .supplier-response summary{font-size:13px;color:var(--muted);cursor:pointer;padding:8px 0;line-height:1.6}
#order-detail-dialog .supplier-response pre{max-width:100%;max-height:200px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border-radius:10px;padding:14px;font-size:12px;line-height:1.7}
@media(max-width:540px){.order-detail-head,.order-detail-body{padding:18px}.order-detail-product{flex-direction:column;gap:16px}.order-detail-product>div:last-child{text-align:left}.order-detail-status{grid-template-columns:1fr;gap:12px}.order-detail-status>div{display:flex;align-items:center;justify-content:space-between;gap:12px}#order-detail-dialog .order-detail-status dt{margin:0}.order-detail-fields,.order-detail-action-grid{grid-template-columns:1fr}.order-detail-body{gap:20px}}
.admin-workspace .order-arrows button{min-width:40px;min-height:40px;display:inline-grid;place-items:center}
.admin-workspace .stat strong{font-variant-numeric:tabular-nums}
.admin-workspace #content .panel-toggles{flex-wrap:wrap;min-width:0}
.admin-workspace #content .panel-toggle{flex:1 1 140px;white-space:normal;line-height:1.5;min-width:0}
.admin-workspace #content .nominal-toolbar{min-width:0}
.admin-workspace #breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis}
.member-order-top{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;row-gap:7px;align-items:start}
.member-order-top>.member-order-icon{grid-row:1 / span 2}
.member-order-top>.status{grid-column:2;justify-self:start;max-width:100%;white-space:normal;line-height:1.5}
.member-layout .member-order-bottom{gap:12px;align-items:center}
.member-order-bottom>div{min-width:0}
.member-order-bottom .small-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex:none}
.member-layout .main>header,.wallet-header{height:56px;padding:6px 18px}
.member-brand .brand,.wallet-brand{font-size:20px;letter-spacing:-.7px}
.checkout-top>a,.login-foot>a,.back-products,.brand-back{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.checkout-top>a>.domigo-icon{width:18px;height:18px}
.checkout-header>a:last-child{display:inline-flex;align-items:center;gap:5px;min-height:44px;line-height:1.5}
.checkout-header{height:56px;gap:16px}
.checkout-header .brand{font-size:20px}
.checkout-top{flex-wrap:wrap}
.checkout-actions>*{min-width:140px;min-height:44px;line-height:1.5}
.checkout-grid,.checkout-grid>.panel{min-width:0}
.wallet-shell .balance{position:relative;align-items:center;padding:16px;gap:10px}
.wallet-shell .balance>a{position:absolute;right:6px;top:6px}
.wallet-shell .balance>div>span{display:block;padding-right:36px}
.wallet-shell .balance strong{font-size:clamp(18px,5vw,24px);line-height:1.4;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.result-icon.pending,.result-icon.review,.result-icon.awaiting_admin{background:#fff4da;color:#805b15}
.result-icon.expired{background:#fdebec;color:#a3353d}
.result-icon.refunded,.member-layout .status.refunded{background:#e6f5e9;color:#22643c}
#product-dialog .nominal-group-heading{flex-wrap:wrap}
#product-dialog .nominal-group-heading small{white-space:normal}
#product-dialog .id-check-result[data-state=valid]::before{content:'';width:18px;height:18px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224%22%3E%3Cpath%20d%3D%22M382-240%20154-468l57-57%20171%20171%20367-367%2057%2057-424%20424Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#product-dialog .option:has(input:checked)::after{right:12px;top:12px;width:16px;height:16px;border:0;transform:none;background:white;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224%22%3E%3Cpath%20d%3D%22M382-240%20154-468l57-57%20171%20171%20367-367%2057%2057-424%20424Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#product-dialog .voucher-terms summary:after{content:'';width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224%22%3E%3Cpath%20d%3D%22M480-345%20240-585l56-56%20184%20184%20184-184%2056%2056-240%20240Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#product-dialog .voucher-terms[open] summary:after{content:'';transform:rotate(180deg)}
.campaign-arrows button{min-width:44px;min-height:44px;display:inline-grid;place-items:center}
#shop-banners .campaign-arrows{bottom:-44px;height:44px}
#shop-banners .campaign-arrows .campaign-prev{right:48px}
#shop-banners .campaign-arrows .campaign-next{right:0}
#shop-banners .campaign-controls{min-height:44px}
.campaign-action>.domigo-icon{width:18px;height:18px}
.category-search-box button{min-height:44px;min-width:44px}
@media(max-width:700px){
 .admin-workspace header #breadcrumb{display:none}
 .admin-workspace header .account{max-width:40%;min-width:0}
 .admin-workspace .stat strong{font-size:clamp(15px,4.5vw,20px);line-height:1.4;letter-spacing:-.4px}
 .admin-workspace .profit-filter .panel-body{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 .admin-workspace .profit-filter label{min-width:0;width:100%}
 .admin-workspace .profit-filter .help{margin:0}
 .admin-workspace .filters{gap:8px}
 .admin-workspace .filters input{flex:1 1 150px;max-width:none}
 .admin-workspace .filters select{flex:1 1 120px;max-width:none}
 .admin-workspace .primary,.admin-workspace .secondary,.admin-workspace .small-button{min-height:44px}
 :is(.admin-workspace,.login-main,.checkout-main) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
 .member-order-meta>span{max-width:100%;overflow-wrap:anywhere}
 .wallet-pagination{flex-wrap:wrap;gap:12px}
}

/* Mobile storefront: readable cards, compact header and a level navigation dock. */
.app-shell>header{height:48px;min-height:48px;padding:0 14px}
.app-shell header .topline{height:48px}
.app-shell header .brand{font-size:20px;max-width:calc(100% - 94px)}
.app-shell .header-account{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;min-width:72px;padding:0 8px;border:0;background:transparent;color:var(--brand-blue);font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.app-shell .header-account svg{width:22px;height:22px}
.app-shell .store-search{padding:8px 14px}
.app-shell .store-search .search{height:42px;padding:0 12px;border-radius:12px}
.app-shell>main{padding-left:16px;padding-right:16px}
.app-shell #shop-banners{margin-bottom:14px}
.app-shell .categories{margin:2px 0 14px;gap:5px;padding:0}
.app-shell .category{min-width:48px;min-height:60px;gap:4px;font-size:11px}
.app-shell .category-icon{width:36px;height:36px;border-radius:11px}
.app-shell .category-icon svg{width:22px;height:22px}
.app-shell .category.active:after{bottom:-5px;width:20px;height:3px}
.app-shell .section-heading{margin:20px 0 10px}
.app-shell .section-heading h2{font-size:17px;letter-spacing:-.45px}
.app-shell .section-heading>span{font-size:11px}
.app-shell #catalog .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
.app-shell #catalog .game-card{position:relative;padding:6px;border-radius:12px;box-shadow:none}
.app-shell #catalog .game-card-copy{display:flex;flex-direction:column;flex:1;padding:0 1px 3px}
.app-shell #catalog .game-card strong{font-size:12px;line-height:1.4;height:2.8em;margin:7px 0 5px;min-height:2.8em;overflow-wrap:normal}
.app-shell #catalog .game-card small{font-size:11px;font-weight:400;line-height:1.5;margin-top:auto;color:var(--muted)}
.app-shell #catalog .card-price{font-size:13px;font-weight:700;color:var(--ink);margin-top:1px;letter-spacing:-.25px}
.app-shell #catalog .card-sale{position:absolute;top:10px;left:10px;margin:0;font-size:9px;padding:3px 5px;background:#fff;color:var(--brand-blue);box-shadow:0 1px 4px #08183315}
.app-shell .category-more{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:14px;border-radius:12px;background:var(--brand-soft);border:0}
.app-shell .home-flash{margin:0 0 16px;padding:9px;border-radius:14px;background:var(--brand-soft)}
.app-shell .home-flash .home-content-heading{margin-bottom:6px}
.app-shell .home-flash .home-content-heading h2{display:flex;align-items:center;gap:4px;font-size:15px}
.app-shell .home-deal{border-radius:12px}
.app-shell .home-deal-art{width:52px;height:60px;margin:7px 0 7px 7px}
.app-shell .home-deal-copy{padding:7px 9px;grid-template-columns:minmax(0,1fr);gap:3px}
.app-shell .home-deal-game{font-size:11px}
.app-shell .home-deal h3{font-size:12px}
.app-shell .home-deal strong{grid-column:1;grid-row:3;font-size:16px;color:#267644}
.app-shell .home-deal del{grid-column:1;grid-row:4;font-size:11px}
.app-shell .home-deal-clock{font-size:10px;margin-top:2px}
.app-shell .home-deal-discount{background:#d92d3b;color:#fff;font-size:10px}
.app-shell .bottom-nav{align-items:center;height:calc(64px + env(safe-area-inset-bottom));min-height:64px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -4px 18px #08183306}
.app-shell .bottom-nav button,.app-shell .bottom-nav .nav-home{min-width:0;min-height:52px;flex:1;margin:0;gap:4px;font-size:11px;font-weight:500;color:var(--muted);padding:0}
.app-shell .bottom-nav .nav-home .nav-home-icon,.app-shell .bottom-nav .nav-home.selected .nav-home-icon{width:28px;height:28px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:inherit}
.app-shell .bottom-nav button svg,.app-shell .bottom-nav .nav-home svg{width:22px;height:22px;background:transparent;border-radius:0}
.app-shell .bottom-nav button.selected{color:var(--brand-blue);font-weight:700}
.app-shell .bottom-nav button>span:first-child{display:grid;place-items:center;height:28px}
.app-shell .nav-chat-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;height:52px;gap:4px;padding:0;font-size:11px;color:var(--muted);pointer-events:none}
.app-shell .nav-chat-slot[hidden]{display:none}
.app-shell:not(.category-shell){padding-bottom:calc(80px + env(safe-area-inset-bottom))}
.app-shell.category-shell>header{height:48px;min-height:48px}
@media(max-width:359px){.app-shell #catalog .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .category{font-size:11px}.app-shell .category-icon{width:36px;height:36px}}
.app-shell .store-footer{margin-left:-16px;margin-right:-16px}
.app-shell .home-deal-copy{grid-template-columns:auto minmax(0,1fr);column-gap:7px}
.app-shell .home-deal del{grid-column:2;grid-row:3}

.category-shell .category-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.category-shell .category-links a{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:12px;padding:8px}

.app-shell .nav-chat-icon{display:grid;place-items:center;height:28px}.app-shell .nav-chat-icon svg{width:22px;height:22px}

.app-shell .bottom-nav button,.app-shell .nav-chat-slot{line-height:1.3}
/* Owner-requested 75% storefront density. Scope the scale to the shopper shell
   so supplier chat coordinates and the admin workspace stay independent. */
@supports (zoom: .75){
 .app-shell{zoom:.75;width:100%;max-width:640px;min-height:calc(100dvh / .75)}
 .app-shell .bottom-nav{max-width:640px}
 .app-shell #catalog .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .app-shell #catalog .game-card strong{font-size:14px}
 .app-shell #catalog .game-card small{font-size:13px}
 .app-shell #catalog .card-price{font-size:15px}
 .app-shell .bottom-nav button,.app-shell .nav-chat-slot{font-size:13px}
 .app-shell .category{font-size:14px}
 @media(max-width:359px){.app-shell #catalog .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
}

/* The member's E-Wallet catalog shares the same 75% shopper canvas. */
@supports (zoom: .75){
 .wallet-shell{zoom:.75;width:100%;max-width:640px;min-height:calc(100dvh / .75)}
 .wallet-shell .wallet-nav{width:100%;max-width:640px}
 .wallet-shell .wallet-nav>a{font-size:13px}
}

/* Help is a normal link, independent of third-party chat loading. */
.app-shell .nav-chat-slot{pointer-events:auto;text-decoration:none;cursor:pointer}
