/* PixoGame Dark V6 — single final visual layer, phone-safe */
:root{color-scheme:dark;--bg:#050508;--panel:#0e0f15;--panel2:#151720;--line:#292b36;--text:#f7f8fb;--muted:#a7a9b3;--red:#ff304f;--red2:#d90832}
*{box-sizing:border-box}
html,body,body.light-mode{margin:0!important;min-height:100%;background:#050508!important;color:var(--text)!important;color-scheme:dark!important}
body{font-family:'Plus Jakarta Sans',Inter,sans-serif!important;background-image:radial-gradient(circle at 8% 0,rgba(255,48,79,.09),transparent 28%),radial-gradient(circle at 92% 34%,rgba(90,57,210,.06),transparent 28%)!important;background-attachment:fixed!important}
body.light-mode *{color-scheme:dark}
#main-header,body.light-mode #main-header{background:rgba(6,6,10,.92)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:blur(20px)!important}
#main-content,.page-view,body.light-mode #main-content,body.light-mode .page-view{background:transparent!important;color:var(--text)!important}
h1,h2,h3,h4,h5,h6,.product-name,.product-title,body.light-mode h1,body.light-mode h2,body.light-mode h3,body.light-mode h4,body.light-mode h5,body.light-mode h6,body.light-mode .product-name{color:#fff!important;-webkit-text-fill-color:#fff!important}
p,.text-muted,.product-info-meta,body.light-mode p,body.light-mode .text-muted{color:var(--muted)!important}
.nav-btn,.product-card,.brand-logo-card,.modal-content,.admin-form-box,.product-detail-grid,.drawer-header,.drawer-menu,#user-drawer,body.light-mode .nav-btn,body.light-mode .product-card,body.light-mode .modal-content,body.light-mode .admin-form-box{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
.nav-btn i,.drawer-item,.drawer-item i,body.light-mode .nav-btn i,body.light-mode .drawer-item{color:#fff!important}
input,select,textarea,.form-control,body.light-mode input,body.light-mode select,body.light-mode textarea{background:#090a0f!important;color:#fff!important;border:1px solid #30323d!important}
input::placeholder,textarea::placeholder{color:#727581!important}
footer,body.light-mode footer{background:#08090d!important;color:var(--muted)!important;border-color:var(--line)!important}
#theme-toggle,.theme-toggle,[data-action='toggle-theme']{display:none!important}

@media(max-width:760px){
 html,body,body.light-mode{width:100%!important;overflow-x:hidden!important;background:#050508!important}
 body{font-size:14px!important;padding:0!important}
 body::before{content:'';position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 20% 0,rgba(255,48,79,.10),transparent 30%),#050508!important}
 #main-header{position:sticky!important;top:0!important;z-index:1000!important;width:100%!important;height:64px!important;background:rgba(5,5,8,.96)!important}
 .navbar{height:64px!important;min-height:64px!important;padding:0 14px!important;display:flex!important;align-items:center!important;gap:7px!important}
 .logo{width:120px!important;max-width:120px!important;margin-right:auto!important;overflow:hidden!important}
 .logo img{display:block!important;width:100%!important;height:32px!important;object-fit:contain!important;object-position:left center!important}
 .nav-links,.desktop-nav-balance,.news-nav-icon,#auth-area,.mobile-user-btn,.mobile-hesab-ac-btn{display:none!important}
 .nav-actions{margin-left:auto!important;display:flex!important;gap:7px!important}
 .nav-btn{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid var(--line)!important;border-radius:13px!important;background:#14151c!important;color:#fff!important;display:grid!important;place-items:center!important}
 .nav-btn .badge{background:var(--red)!important;color:#fff!important}
 #main-content{width:100%!important;max-width:none!important;margin:0!important;padding:16px 14px 112px!important}
 .page-view{width:100%!important;margin:0!important;padding:0!important}
 .slideshow-banner-container{width:100%!important;margin:0 0 12px!important;border-radius:18px!important;overflow:hidden!important;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 18px 40px rgba(0,0,0,.38)!important}
 .slideshow-banner-container img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
 #home-banners-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:0 0 16px!important;padding:0!important;overflow:visible!important}
 #home-banners-grid .grid-banner{display:block!important;width:100%!important;min-width:0!important;aspect-ratio:16/9!important;border-radius:15px!important;overflow:hidden!important;background:var(--panel)!important;border:1px solid var(--line)!important}
 #home-banners-grid .grid-banner:first-child,#home-banners-grid .grid-banner:nth-child(n+4){display:none!important}
 #home-banners-grid .grid-banner img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
 .brand-logos-section{width:100%!important;margin:0 0 24px!important;padding:0!important;background:transparent!important;border:0!important}
 .brand-logos-track,.brand-logos-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;overflow:visible!important}
 .brand-logo-card{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:82px!important;padding:12px!important;border-radius:16px!important;background:linear-gradient(145deg,#12131a,#090a0f)!important;border:1px solid var(--line)!important}
 .brand-logo-card img{max-width:88%!important;max-height:48px!important;object-fit:contain!important}
 .section-header{margin:24px 0 14px!important}
 .section-header h3{font-size:1.2rem!important;line-height:1.25!important;color:#fff!important;padding-left:13px!important}
 .section-header h3::before{width:4px!important;background:var(--red)!important;border-radius:99px!important}
 .products-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
 .product-card{min-width:0!important;overflow:hidden!important;border-radius:18px!important;background:linear-gradient(150deg,#12131a,#090a0f)!important;border:1px solid var(--line)!important;box-shadow:0 12px 28px rgba(0,0,0,.32)!important}
 .product-image-container{overflow:hidden!important;background:#090a0f!important}
 .product-image-container img{display:block!important;width:100%!important;object-fit:cover!important}
 .product-info,.product-details{padding:11px!important;background:transparent!important;color:var(--text)!important}
 .product-name,.product-title{display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;font-size:.86rem!important;line-height:1.35!important}
 .product-price,.price{color:#ff4962!important;-webkit-text-fill-color:#ff4962!important;font-weight:800!important}
 .btn-buy{background:linear-gradient(135deg,var(--red),var(--red2))!important;color:#fff!important;border:0!important}
 .btn-cart,.wishlist-toggle-btn{background:#14151c!important;color:#fff!important;border:1px solid #3b3d48!important}
 .product-detail-grid{display:block!important;width:100%!important;padding:15px!important;margin:0!important;border-radius:20px!important;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 18px 40px rgba(0,0,0,.4)!important}
 .product-detail-img{width:100%!important;border-radius:16px!important;border:1px solid var(--line)!important}
 .product-info-col{padding-top:16px!important;gap:13px!important}
 #prod-detail-title,.product-info-title{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:1.5rem!important;line-height:1.2!important}
 #prod-detail-desc,.product-info-meta{color:#b4b6c0!important}
 .admin-form-box{width:100%!important;padding:17px 14px!important;border-radius:20px!important;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 18px 40px rgba(0,0,0,.38)!important}
 .paycard{background:linear-gradient(145deg,#20222c,#101118)!important;color:#fff!important;border:1px solid #343743!important;box-shadow:0 16px 38px rgba(0,0,0,.4)!important}
 .paycard *{color:#fff!important;-webkit-text-fill-color:#fff!important}
 .admin-table-container{width:100%!important;overflow-x:auto!important;border-radius:14px!important;background:#090a0f!important;border:1px solid var(--line)!important}
 .admin-table{min-width:560px!important;background:#090a0f!important;color:#fff!important}
 .admin-table th,.admin-table td{background:#090a0f!important;color:#eceef3!important;border-color:#242630!important}
 .mobile-bottom-navbar{position:fixed!important;left:10px!important;right:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;z-index:100000!important;width:auto!important;height:72px!important;padding:6px!important;display:flex!important;transform:none!important;border-radius:23px!important;background:rgba(14,15,21,.97)!important;border:1px solid rgba(255,48,79,.25)!important;box-shadow:0 18px 45px rgba(0,0,0,.6)!important;backdrop-filter:blur(20px)!important}
 .mobile-nav-item{flex:1!important;min-width:0!important;height:60px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;color:#afb1ba!important;-webkit-text-fill-color:#afb1ba!important;opacity:1!important;font-size:.59rem!important}
 .mobile-nav-item i,.mobile-nav-item span{color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
 .mobile-nav-item.active{color:#ff405a!important;-webkit-text-fill-color:#ff405a!important}
 .mobile-nav-center-btn{width:50px!important;height:50px!important;border-radius:17px!important;background:linear-gradient(145deg,var(--red),var(--red2))!important;color:#fff!important;box-shadow:0 8px 24px rgba(255,48,79,.42)!important}
 #drawer-backdrop.active{display:block!important;background:rgba(0,0,0,.76)!important;backdrop-filter:blur(8px)!important}
 #user-drawer{position:fixed!important;top:0!important;right:-100vw!important;width:100vw!important;max-width:430px!important;height:100dvh!important;z-index:100001!important;background:#090a0f!important;color:#fff!important;transition:right .32s cubic-bezier(.2,.8,.2,1)!important;box-shadow:-20px 0 60px rgba(0,0,0,.65)!important;overflow-y:auto!important}
 #user-drawer.active{right:0!important;transform:none!important;visibility:visible!important;pointer-events:auto!important}
 .drawer-header{padding:20px 17px!important;background:#111219!important;border-bottom:1px solid var(--line)!important}
 .drawer-user-details h4{color:#fff!important}.drawer-user-details p{color:#aaaeba!important}
 .drawer-balance-card{margin:14px!important;padding:18px!important;border-radius:20px!important;background:linear-gradient(135deg,#ff3b53,#d80a35 65%,#9b0027)!important;color:#fff!important;box-shadow:0 15px 35px rgba(215,12,53,.25)!important}
 .drawer-balance-card *{color:#fff!important;-webkit-text-fill-color:#fff!important}
 .drawer-menu{padding:2px 12px 28px!important;background:#090a0f!important}
 .drawer-item{min-height:49px!important;padding:0 14px!important;color:#f0f1f4!important;-webkit-text-fill-color:#f0f1f4!important;border-bottom:1px solid rgba(255,255,255,.055)!important;border-radius:12px!important}
 .drawer-item i{color:#ff5168!important;-webkit-text-fill-color:#ff5168!important}
 .modal-content{width:calc(100% - 24px)!important;max-width:520px!important;max-height:90dvh!important;overflow:auto!important;padding:19px!important;border-radius:20px!important;background:#111219!important;color:#fff!important;border:1px solid var(--line)!important;box-shadow:0 24px 60px rgba(0,0,0,.6)!important}
 footer{background:#08090d!important;color:#b6b8c1!important}
}

@media(max-width:360px){.navbar{padding:0 10px!important}.logo{width:104px!important}.nav-btn{width:35px!important;height:35px!important;min-width:35px!important}#main-content{padding-left:10px!important;padding-right:10px!important}.mobile-nav-item{font-size:.54rem!important}}

/* Hard reset for real mobile browsers and saved light preference */
html,html.light-mode,html[data-theme='light'],body,body.light-mode,body[data-theme='light']{background-color:#050508!important;background-image:none!important;color:#f7f8fb!important}
@media(max-width:760px){
 html body .mobile-bottom-navbar,html body.light-mode .mobile-bottom-navbar,html[data-theme='light'] body .mobile-bottom-navbar{background:rgba(14,15,21,.98)!important;background-color:#0e0f15!important;border-color:#3a1f29!important;color:#afb1ba!important}
 html body .mobile-bottom-navbar::before,html body .mobile-bottom-navbar::after{background:transparent!important}
 html body .mobile-nav-item,html body.light-mode .mobile-nav-item{background:transparent!important;color:#afb1ba!important;-webkit-text-fill-color:#afb1ba!important}
 html body .mobile-nav-item.active,html body.light-mode .mobile-nav-item.active{color:#ff405a!important;-webkit-text-fill-color:#ff405a!important}
 html body #main-content,html body .page-view,html body #home-view,html body #product-view,html body #balance-history-view{background:#050508!important;color:#f7f8fb!important}
 html body .product-card,html body .product-details,html body .product-detail-grid,html body .admin-form-box{background:#0e0f15!important;color:#f7f8fb!important;border-color:#292b36!important}
}


/* Mobile banner visibility fix 2026-10-19 */
@media (max-width: 760px) {
  #home-banners-grid .grid-banner:nth-child(2),
  #home-banners-grid .grid-banner:nth-child(3) {
    display: block !important;
  }
}

/* Route QA remediation 2026-10-19: theme-aware readable light surfaces */
:root{--ui-bg:#07080d;--ui-surface:#11131b;--ui-raised:#191c26;--ui-border:#2b2e39;--ui-text:#f5f6fa;--ui-muted:#b6bac6;--ui-accent:#ff405a}
html body.light-mode,html[data-theme="light"] body,html body[data-theme="light"]{--ui-bg:#f3f4f7;--ui-surface:#fff;--ui-raised:#f8f8fb;--ui-border:#d7d9e1;--ui-text:#171923;--ui-muted:#555b69;background:var(--ui-bg)!important;color:var(--ui-text)!important;color-scheme:light!important}
html body.light-mode *,html[data-theme="light"] body *,html body[data-theme="light"] *{color-scheme:light}
html body.light-mode #main-header,html[data-theme="light"] body #main-header{background:rgba(255,255,255,.96)!important;border-color:var(--ui-border)!important}
html body.light-mode #main-content,html body.light-mode .page-view,html[data-theme="light"] body #main-content,html[data-theme="light"] body .page-view{background:transparent!important;color:var(--ui-text)!important}
html body.light-mode h1,html body.light-mode h2,html body.light-mode h3,html body.light-mode h4,html body.light-mode h5,html body.light-mode h6,html body.light-mode p,html body.light-mode label,html body.light-mode .section-header h3,html[data-theme="light"] body h1,html[data-theme="light"] body h2,html[data-theme="light"] body h3,html[data-theme="light"] body p,html[data-theme="light"] body label{color:var(--ui-text)!important;-webkit-text-fill-color:var(--ui-text)!important}
html body.light-mode .text-muted,html body.light-mode .product-info-meta,html body.light-mode small,html[data-theme="light"] body .text-muted,html[data-theme="light"] body small{color:var(--ui-muted)!important;-webkit-text-fill-color:var(--ui-muted)!important}
html body.light-mode .nav-btn,html body.light-mode .product-card,html body.light-mode .product-details,html body.light-mode .product-detail-grid,html body.light-mode .admin-form-box,html body.light-mode .modal-content,html body.light-mode .drawer-header,html body.light-mode .drawer-menu,html[data-theme="light"] body .product-card,html[data-theme="light"] body .product-details,html[data-theme="light"] body .admin-form-box,html[data-theme="light"] body .modal-content{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html body.light-mode input,html body.light-mode select,html body.light-mode textarea,html body.light-mode .form-control,html[data-theme="light"] body input,html[data-theme="light"] body select,html[data-theme="light"] body textarea{background:#fff!important;color:#171923!important;border:1px solid #c8cbd5!important}
html body.light-mode footer,html[data-theme="light"] footer{background:#fff!important;color:var(--ui-muted)!important;border-color:var(--ui-border)!important}
html body.light-mode .mobile-bottom-navbar,html[data-theme="light"] body .mobile-bottom-navbar{background:rgba(255,255,255,.97)!important;background-color:#fff!important;border-color:#e1e2e8!important;box-shadow:0 12px 36px rgba(29,35,53,.18)!important}
html body.light-mode .mobile-nav-item,html[data-theme="light"] body .mobile-nav-item{color:#555b69!important;-webkit-text-fill-color:#555b69!important}
html body.light-mode .mobile-nav-item.active,html[data-theme="light"] body .mobile-nav-item.active{color:#cf1735!important;-webkit-text-fill-color:#cf1735!important}
/* Support chat stays a compact panel, never a full-page image block. */
#pixo-chat-shell{position:fixed!important;right:20px!important;bottom:20px!important;z-index:100002!important;width:min(390px,calc(100vw - 32px))!important;height:min(580px,calc(100dvh - 40px))!important;overflow:hidden!important;border-radius:22px!important;box-shadow:0 20px 70px rgba(0,0,0,.4)!important}
#pixo-chat-shell[aria-hidden="true"]{display:none!important}
#pixo-chat-shell.is-open{display:flex!important}
#pixo-chat-shell .pixo-chat-panel{width:100%!important;height:100%!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#pixo-chat-shell .pixo-chat-header{flex:0 0 auto!important;height:auto!important;min-height:64px!important}
#pixo-chat-shell .pixo-chat-messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
#pixo-chat-shell .pixo-chat-composer{flex:0 0 auto!important}
@media(max-width:760px){html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}#main-content{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}#pixo-chat-shell{left:12px!important;right:12px!important;bottom:calc(92px + env(safe-area-inset-bottom))!important;width:auto!important;height:min(72dvh,620px)!important;border-radius:22px!important}}

/* Strong page-view overrides: several legacy ID selectors otherwise keep light pages charcoal. */
html:has(body.light-mode){background:#f3f4f7!important;color-scheme:light!important}
html body.light-mode #main-content .page-view{background:var(--ui-bg)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html body.light-mode #main-content .page-view h1,html body.light-mode #main-content .page-view h2,html body.light-mode #main-content .page-view h3,html body.light-mode #main-content .page-view h4,html body.light-mode #main-content .page-view h5,html body.light-mode #main-content .page-view p,html body.light-mode #main-content .page-view label,html body.light-mode #main-content .page-view .section-header h3,html body.light-mode #main-content .page-view .product-name,html body.light-mode #main-content .page-view .product-title{color:var(--ui-text)!important;-webkit-text-fill-color:var(--ui-text)!important}
html body.light-mode #main-content .page-view .text-muted,html body.light-mode #main-content .page-view small,html body.light-mode #main-content .page-view .product-info-meta{color:var(--ui-muted)!important;-webkit-text-fill-color:var(--ui-muted)!important}
html body.light-mode #main-content .page-view .product-card,html body.light-mode #main-content .page-view .product-details,html body.light-mode #main-content .page-view .product-detail-grid,html body.light-mode #main-content .page-view .admin-form-box,html body.light-mode #main-content .page-view .profile-card,html body.light-mode #main-content .page-view .balance-card,html body.light-mode #main-content .page-view .history-card,html body.light-mode #main-content .page-view .order-card{background:#fff!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}

html body.light-mode #main-header .logo img,html[data-theme="light"] #main-header .logo img{filter:brightness(0) saturate(100%)!important}

/* Tablet still uses the fixed bottom nav in the current shell; reserve its footprint too. */
@media(max-width:1024px){#main-content{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}}

html body.light-mode #main-header .nav-btn i,html body.light-mode #main-header .nav-btn svg{color:#252936!important;-webkit-text-fill-color:#252936!important}

/* Prevent the uploaded 512px support avatar from expanding the chat header. */
#pixo-chat-shell.is-open{flex-direction:column!important}
#pixo-chat-shell.is-open .pixo-chat-launcher{display:none!important}
#pixo-chat-shell .pixo-chat-header{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:64px!important;max-height:76px!important;padding:10px 14px!important;overflow:hidden!important}
#pixo-chat-shell .pixo-bot-avatar{display:flex!important;flex:0 0 40px!important;width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;overflow:hidden!important;border-radius:50%!important}
#pixo-chat-shell .pixo-bot-avatar img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important}
#pixo-chat-shell .pixo-chat-identity{flex:1 1 auto!important;min-width:0!important}

#pixo-chat-shell .pixo-chat-panel{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;border-radius:20px!important}
#pixo-chat-shell .pixo-chat-auth-gate{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html body.light-mode #pixo-chat-shell .pixo-chat-panel,html body.light-mode #pixo-chat-shell .pixo-chat-auth-gate{background:#fff!important;color:#171923!important}
html body.light-mode #pixo-chat-shell .pixo-chat-auth-gate strong,html body.light-mode #pixo-chat-shell .pixo-chat-auth-gate p{color:#171923!important;-webkit-text-fill-color:#171923!important}

#pixo-chat-shell .pixo-chat-identity{display:flex!important;flex-direction:column!important;gap:3px!important;text-align:left!important}
#pixo-chat-shell .pixo-chat-identity strong{font-size:15px!important;font-weight:750!important;color:var(--ui-text)!important}
#pixo-chat-shell .pixo-chat-identity span{font-size:12px!important;color:var(--ui-muted)!important}
#pixo-chat-shell .pixo-chat-icon-btn{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border:1px solid var(--ui-border)!important;border-radius:12px!important;background:var(--ui-raised)!important;color:var(--ui-text)!important}
#pixo-chat-shell .pixo-chat-auth-gate{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;padding:24px!important;text-align:center!important}
#pixo-chat-shell .pixo-auth-icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:16px!important;background:rgba(255,64,90,.1)!important;color:var(--ui-accent)!important;font-size:21px!important}
#pixo-chat-shell .pixo-chat-auth-gate strong{max-width:280px!important;font-size:15px!important;font-weight:750!important;line-height:1.4!important;color:var(--ui-text)!important}
#pixo-chat-shell .pixo-chat-auth-gate p{max-width:290px!important;margin:0!important;color:var(--ui-muted)!important;font-size:13px!important;line-height:1.55!important}
#pixo-chat-shell #pixo-chat-login{width:100%!important;max-width:280px!important;min-height:46px!important;padding:0 16px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#ff405a,#d9113a)!important;color:#fff!important;font-size:14px!important;font-weight:750!important;box-shadow:0 8px 20px rgba(255,48,79,.22)!important}

/* Ensure account drawer foreground remains readable in light mode. */
html body.light-mode #user-drawer{background:#fff!important;color:#171923!important;box-shadow:-20px 0 60px rgba(29,35,53,.22)!important}
html body.light-mode #user-drawer .drawer-header{background:#fff!important;color:#171923!important;border-color:#e1e2e8!important}
html body.light-mode #user-drawer .drawer-user-details h4,html body.light-mode #user-drawer .drawer-user-details p,html body.light-mode #user-drawer .drawer-item,html body.light-mode #user-drawer .drawer-item span{color:#252936!important;-webkit-text-fill-color:#252936!important}
html body.light-mode #user-drawer .drawer-menu{background:#fff!important;color:#252936!important}
html body.light-mode #user-drawer .drawer-item{border-color:#e5e7ed!important}
html body.light-mode #user-drawer .drawer-item i,html body.light-mode #user-drawer .close-drawer{color:#e82d4a!important;-webkit-text-fill-color:#e82d4a!important}


/* Mobile order history uses readable cards instead of a clipped six-column table. */
@media(max-width:600px){
  #user-orders-view .admin-table-container{width:100%!important;max-width:100%!important;overflow:visible!important}
  #user-orders-view .admin-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}
  #user-orders-view .admin-table thead{display:none!important}
  #user-orders-view .admin-table tbody{display:block!important;width:100%!important}
  #user-orders-view .admin-table tbody tr{display:block!important;width:100%!important;margin:0 0 12px!important;background:var(--ui-surface,#111219)!important;border:1px solid var(--ui-border,#262833)!important;border-radius:14px!important;overflow:hidden!important}
  #user-orders-view .admin-table tbody td{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:11px 12px!important;border-bottom:1px solid var(--ui-border,#262833)!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere!important}
  #user-orders-view .admin-table tbody td::before{content:attr(data-label);flex:0 0 auto;text-align:left!important;color:var(--ui-muted,#a4a7b2)!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.04em}
  #user-orders-view .admin-table tbody td[data-label="Məhsul"]{display:block!important;text-align:left!important}
  #user-orders-view .admin-table tbody td[data-label="Məhsul"]::before{display:block!important;margin-bottom:8px!important}
  #user-orders-view .admin-table tbody td:last-child{border-bottom:0!important}
  #user-orders-view .admin-table td[colspan]{display:block!important;text-align:center!important}
  #user-orders-view .admin-table .btn{min-height:44px!important}
}


/* Account identity card shares the calm Pixogame surface and theme tokens. */
#profile-view .profile-card-container{background:linear-gradient(150deg,#171922,#101118)!important;border:1px solid rgba(255,64,90,.32)!important;border-radius:22px!important;box-shadow:0 14px 38px rgba(0,0,0,.26)!important}
#profile-view .card-inner{border:0!important}
#profile-view .card-header{border-bottom:1px solid rgba(255,255,255,.1)!important}
#profile-view .card-title,#profile-view .info-field .label{color:#aeb4c2!important}
#profile-view .info-field .value{color:#f7f8fb!important}
#profile-view .card-footer{display:none!important}
html body.light-mode #profile-view .profile-card-container{background:linear-gradient(150deg,#fff,#f7f8fb)!important;border:1px solid #e1e2e8!important;box-shadow:0 14px 36px rgba(29,35,53,.1)!important}
html body.light-mode #profile-view .card-header{border-bottom-color:#e1e2e8!important}
html body.light-mode #profile-view .card-title,html body.light-mode #profile-view .info-field .label{color:#626a78!important}
html body.light-mode #profile-view .info-field .value{color:#171923!important}


/* Account gamer card: remove the retro scanline/black slab from light mode. */
#profile-view .profile-card-container{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#profile-view .gamer-id-card{background:linear-gradient(150deg,#171922,#101118)!important;border:1px solid rgba(255,64,90,.24)!important;border-radius:22px!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important;color:#f7f8fb!important}
#profile-view .gamer-id-card .scanline{display:none!important}
#profile-view .gamer-id-card .card-photo-sec img{border:1px solid #343743!important;box-shadow:none!important}
html body.light-mode #profile-view .gamer-id-card{background:linear-gradient(150deg,#fff,#f7f8fb)!important;border:1px solid #e1e2e8!important;box-shadow:0 14px 36px rgba(29,35,53,.1)!important;color:#171923!important}
html body.light-mode #profile-view .gamer-id-card .card-photo-sec img{border:1px solid #e1e2e8!important;box-shadow:none!important}
html body.light-mode #profile-view .gamer-id-card .info-field .label{color:#626a78!important}
html body.light-mode #profile-view .gamer-id-card .info-field .value{color:#171923!important}
html body.light-mode #profile-view .gamer-id-card .status-active{color:#16804b!important}


/* 20261019: remove home promos only; preserve partner logos and Pixostore identity */
#home-view #home-banners-grid{display:none!important}
#home-view #brand-logos-section{display:block!important;visibility:visible!important}
@media(max-width:767px){
  #main-header,.navbar,.nav-actions{overflow:visible!important}
  #main-header .nav-actions{gap:8px!important;flex-shrink:0!important;min-width:max-content!important}
  #main-header .nav-btn{position:relative!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;overflow:visible!important;box-sizing:border-box!important}
  #main-header .nav-btn i{display:block!important;line-height:1!important;font-size:16px!important}
  #main-header .nav-btn .badge{top:-5px!important;right:-4px!important;z-index:5!important;min-width:19px!important;height:19px!important;padding:0 4px!important;line-height:19px!important;box-sizing:border-box!important;white-space:nowrap!important}
}
@media(max-width:360px){#main-header .nav-actions{gap:6px!important}#main-header .nav-btn{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important}}


/* 20261019: light contrast for legal, balance and order views */
html body.light-mode .policy-hero{background:radial-gradient(circle at 88% 12%,rgba(255,64,90,.09),transparent 32%),linear-gradient(145deg,#fff,#f5f6fa)!important;border:1px solid #e3e6ee!important;color:#171923!important;box-shadow:0 14px 36px rgba(24,34,55,.08)!important}
html body.light-mode .policy-hero h2{color:#171923!important;-webkit-text-fill-color:#171923!important}
html body.light-mode .policy-hero p{color:#596273!important;-webkit-text-fill-color:#596273!important}
html body.light-mode .policy-kicker{color:#dc2342!important;-webkit-text-fill-color:#dc2342!important}
html body.light-mode .policy-surface,html body.light-mode .policy-list{background:#fff!important;border:1px solid #e3e6ee!important;color:#252936!important;box-shadow:0 12px 30px rgba(24,34,55,.06)!important}
html body.light-mode .faq-item,html body.light-mode .policy-card{background:linear-gradient(145deg,#fff,#f8f9fc)!important;border:1px solid #e4e7ee!important;color:#252936!important;box-shadow:0 8px 22px rgba(24,34,55,.05)!important}
html body.light-mode .faq-header,html body.light-mode .policy-card h3,html body.light-mode .policy-list h3{color:#171923!important;-webkit-text-fill-color:#171923!important}
html body.light-mode .faq-body,html body.light-mode .policy-card p,html body.light-mode .policy-list p{color:#4b5565!important;-webkit-text-fill-color:#4b5565!important}
html body.light-mode #balance-history-view .admin-table-container,html body.light-mode #user-orders-view .admin-table-container{background:#fff!important;border-color:#dfe3eb!important;box-shadow:0 8px 24px rgba(20,28,45,.06)!important}
html body.light-mode #balance-history-view .admin-table,html body.light-mode #user-orders-view .admin-table{background:#fff!important;color:#252936!important}
html body.light-mode #balance-history-view .admin-table th,html body.light-mode #user-orders-view .admin-table th{background:#f1f3f7!important;color:#454e5d!important;border-color:#e2e5eb!important}
html body.light-mode #balance-history-view .admin-table td,html body.light-mode #user-orders-view .admin-table td{background:#fff!important;color:#252936!important;border-color:#e7e9ef!important}
html body.light-mode #user-orders-view .admin-table td[style*="color:white"]{color:#252936!important}
@media(max-width:767px){html body.light-mode #user-orders-view .admin-table tbody tr{background:#fff!important;border:1px solid #e1e5ec!important;box-shadow:0 8px 22px rgba(24,34,55,.06)!important}html body.light-mode #user-orders-view .admin-table td{color:#252936!important}html body.light-mode #user-orders-view .admin-table td::before{color:#667085!important}}

html body.light-mode .policy-list article{background:linear-gradient(145deg,#fff,#f8f9fc)!important;border:1px solid #e4e7ee!important;color:#252936!important;box-shadow:0 8px 22px rgba(24,34,55,.05)!important}
html body.light-mode .policy-list article h3{color:#171923!important;-webkit-text-fill-color:#171923!important}
html body.light-mode .policy-list article p{color:#4b5565!important;-webkit-text-fill-color:#4b5565!important}
html body.light-mode #faq-view .faq-item{background:#fff!important}

/* Chat and mobile polish 2026-10-19 */
@media(max-width:760px){#pixo-chat-shell.is-open{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;border-radius:0!important;z-index:2147483000!important}#pixo-chat-shell.is-open .pixo-chat-panel{width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important;display:flex!important;flex-direction:column!important}#pixo-chat-shell.is-open .pixo-chat-messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}#pixo-chat-shell.is-open .pixo-chat-suggestions{flex:0 0 auto!important;max-height:88px!important;overflow-x:auto!important;overflow-y:hidden!important}#pixo-chat-shell.is-open .pixo-chat-composer{flex:0 0 auto!important;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}#pixo-chat-shell.is-open:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-messages,#pixo-chat-shell.is-open:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-suggestions,#pixo-chat-shell.is-open:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-composer{display:none!important}}

@media(max-width:760px){#pixo-chat-panel:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-messages,#pixo-chat-panel:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-suggestions,#pixo-chat-panel:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-composer,#pixo-chat-panel:has(.pixo-chat-auth-gate:not([hidden])) .pixo-chat-form{display:none!important}#pixo-chat-panel .pixo-chat-auth-gate{flex:1 1 auto!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:28px!important;margin:auto!important}#pixo-chat-panel .pixo-chat-header{flex:0 0 auto!important}}

@media(max-width:760px){#pixo-chat-panel:has(#pixo-chat-auth-gate:not([hidden])) #pixo-chat-messages,#pixo-chat-panel:has(#pixo-chat-auth-gate:not([hidden])) #pixo-chat-suggestions,#pixo-chat-panel:has(#pixo-chat-auth-gate:not([hidden])) #pixo-chat-form{display:none!important}#pixo-chat-panel img:not([alt="Dəstək"]){max-width:44px!important;max-height:44px!important;object-fit:cover!important}}

@media(max-width:760px){#pixo-chat-panel:has(.pixo-chat-auth-gate:not([hidden]))>:nth-child(n+3){display:none!important}}
/* Customer support chat polish: human operator, animated open/close, theme-aware controls */
#pixo-chat-shell{transform-origin:bottom right;transition:opacity .24s ease,transform .3s cubic-bezier(.2,.8,.2,1)!important}
#pixo-chat-shell[aria-hidden="true"]{display:block!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(18px) scale(.96)!important}
#pixo-chat-shell.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
#pixo-chat-shell .pixo-chat-panel{border:1px solid rgba(239,64,90,.22)!important;box-shadow:0 28px 90px rgba(0,0,0,.4)!important}
#pixo-chat-shell .pixo-chat-launcher{transition:transform .2s ease,box-shadow .2s ease!important}
#pixo-chat-shell .pixo-chat-launcher:hover{transform:translateY(-3px) scale(1.025)!important}
#pixo-chat-shell .pixo-chat-header{background:linear-gradient(135deg,#171820,#22232d)!important}
#pixo-chat-shell .pixo-chat-composer input,#pixo-chat-shell .pixo-chat-composer textarea{min-height:48px!important;border-radius:14px!important}
#pixo-chat-shell .pixo-chat-auth-gate{border-radius:20px!important}
html body.light-mode #pixo-chat-shell .pixo-chat-header{background:linear-gradient(135deg,#fff,#f2f4f8)!important}
@media(max-width:760px){#pixo-chat-shell.is-open{inset:0!important;width:100vw!important;height:100dvh!important;border-radius:0!important}#pixo-chat-shell.is-open .pixo-chat-panel{border-radius:0!important}#pixo-chat-shell .pixo-chat-header{min-height:70px!important;padding:14px 18px!important}#pixo-chat-shell .pixo-chat-composer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}}

/* Mobile polish: readable product actions, tighter home spacing and usable cart sheet */
@media (max-width: 767px) {
  body.light-mode #home-view .btn-cart { background: linear-gradient(135deg,#fff,#f2f4f8) !important; color:#202637 !important; border:1px solid #cbd2df !important; box-shadow:0 4px 12px rgba(20,28,45,.14) !important; }
  body.light-mode #home-view .wishlist-toggle-btn { background:#fff !important; color:#e11d48 !important; border:1px solid #f3a0b2 !important; box-shadow:0 4px 12px rgba(20,28,45,.16) !important; }
  #home-view #all-products-grid { margin-top:22px !important; }
  #home-view .main-slideshow-wrapper { margin-bottom:12px !important; }
  #cart-modal .modal-content { width:100% !important; max-width:none !important; max-height:88dvh !important; overflow:auto !important; margin:0 !important; align-self:flex-end !important; border-radius:24px 24px 0 0 !important; padding:22px 16px calc(20px + env(safe-area-inset-bottom)) !important; }
  #cart-modal #cart-items-container { min-height:100px !important; padding:20px 4px !important; gap:12px !important; }
}

/* Product detail: keep purchase actions, remove like/share/reviews controls. */
#product-view #prod-detail-like-btn, #product-view #prod-detail-share-btn, #product-view #prod-detail-reviews-btn { display:none !important; }
/* Cart sheet above navigation. */
#cart-modal.modal { z-index:2147483001 !important; align-items:flex-end !important; padding:0 !important; }
#cart-modal .modal-content { width:min(620px,100vw) !important; max-width:620px !important; max-height:min(88dvh,820px) !important; overflow:auto !important; border-radius:28px 28px 0 0 !important; padding:28px clamp(18px,5vw,30px) calc(24px + env(safe-area-inset-bottom)) !important; margin:0 auto !important; background:linear-gradient(155deg,#171923 0%,#0d0f15 72%) !important; border:1px solid rgba(255,255,255,.12) !important; box-shadow:0 -20px 80px rgba(0,0,0,.48) !important; color:#f6f7fb !important; }
#cart-modal .modal-content h3 { font-size:clamp(24px,6vw,32px) !important; margin:0 0 20px !important; }
#cart-modal #cart-items-container { max-height:48dvh !important; min-height:140px !important; padding:12px 4px 22px !important; }
#cart-modal #cart-total-val { color:#ff405a !important; font-size:clamp(23px,6vw,30px) !important; }
#cart-modal .modal-content .modal-close { width:42px !important; height:42px !important; border-radius:14px !important; background:rgba(255,255,255,.09) !important; color:#fff !important; }
html body.light-mode #cart-modal .modal-content { background:linear-gradient(155deg,#fff 0%,#f6f7fb 100%) !important; color:#191d2b !important; border-color:#e1e5ee !important; box-shadow:0 -20px 70px rgba(27,35,55,.2) !important; }
html body.light-mode #cart-modal .modal-content .modal-close { background:#edf0f6 !important; color:#283044 !important; }
html body.light-mode #cart-modal #cart-total-val { color:#e11d48 !important; }
/* Human operator chat visual refresh. */
#pixo-chat-shell { --support-surface:#11131b; --support-line:rgba(255,255,255,.1); }
#pixo-chat-shell .pixo-chat-panel { border:1px solid var(--support-line) !important; border-radius:24px !important; overflow:hidden !important; background:var(--support-surface) !important; box-shadow:0 26px 90px rgba(0,0,0,.48) !important; }
#pixo-chat-shell .pixo-chat-header { min-height:76px !important; padding:16px 18px !important; background:linear-gradient(125deg,#ff405a,#cc173e) !important; color:#fff !important; }
#pixo-chat-shell .pixo-chat-header *, #pixo-chat-shell .pixo-chat-title { color:#fff !important; }
#pixo-chat-shell .pixo-chat-messages { padding:18px !important; gap:12px !important; background:radial-gradient(ellipse at 100% 0%,rgba(255,64,90,.08),transparent 45%),var(--support-surface) !important; }
#pixo-chat-shell .pixo-message-bubble { max-width:min(82%,460px) !important; padding:12px 15px !important; border-radius:18px !important; line-height:1.55 !important; }
#pixo-chat-shell .pixo-message-bubble.is-user { background:linear-gradient(135deg,#ff405a,#d91942) !important; color:#fff !important; border-bottom-right-radius:6px !important; }
#pixo-chat-shell .pixo-message-bubble.is-admin, #pixo-chat-shell .pixo-message-bubble.is-operator { background:#20232e !important; color:#f7f8fc !important; border:1px solid rgba(255,255,255,.08) !important; border-bottom-left-radius:6px !important; }
#pixo-chat-shell .pixo-chat-composer { padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px)) !important; background:var(--support-surface) !important; border-top:1px solid var(--support-line) !important; }
#pixo-chat-shell .pixo-chat-composer input, #pixo-chat-shell .pixo-chat-composer textarea { min-height:48px !important; border-radius:15px !important; }
#pixo-chat-shell .pixo-chat-composer button[type=submit] { width:48px !important; height:48px !important; border-radius:15px !important; background:linear-gradient(135deg,#ff405a,#d91942) !important; color:#fff !important; }
#pixo-chat-shell .pixo-chat-suggestions button { border-radius:999px !important; border:1px solid rgba(255,64,90,.3) !important; padding:9px 13px !important; background:rgba(255,64,90,.09) !important; color:#ff8798 !important; }
#pixo-chat-shell .pixo-chat-auth-gate { background:radial-gradient(circle at 50% 15%,rgba(255,64,90,.14),transparent 42%),var(--support-surface) !important; }
html body.light-mode #pixo-chat-shell { --support-surface:#fff; --support-line:#e5e8ef; }
html body.light-mode #pixo-chat-shell .pixo-chat-messages { background:radial-gradient(ellipse at 100% 0%,rgba(255,64,90,.06),transparent 45%),#fff !important; }
html body.light-mode #pixo-chat-shell .pixo-message-bubble.is-admin, html body.light-mode #pixo-chat-shell .pixo-message-bubble.is-operator { background:#f1f3f8 !important; color:#202637 !important; border-color:#e3e6ee !important; }
html body.light-mode #pixo-chat-shell .pixo-chat-suggestions button { background:#fff3f5 !important; color:#b42343 !important; }
@media (max-width:767px) {
 #cart-modal.modal { align-items:flex-end !important; }
 #cart-modal .modal-content { width:100vw !important; max-width:none !important; max-height:88dvh !important; border-radius:26px 26px 0 0 !important; padding:24px 17px calc(24px + env(safe-area-inset-bottom)) !important; }
 #cart-modal #cart-items-container { max-height:42dvh !important; }
 #pixo-chat-shell.is-open { z-index:2147483002 !important; }
 #pixo-chat-shell.is-open .pixo-chat-panel { width:100vw !important; height:100dvh !important; max-height:100dvh !important; border-radius:0 !important; }
}
@media (min-width:768px) { #cart-modal.modal { align-items:center !important; padding:24px !important; } #cart-modal .modal-content { border-radius:26px !important; margin:auto !important; } }
@media(max-width:767px){#cart-modal.modal{align-items:center!important;justify-content:center!important;padding:12px!important}#cart-modal .modal-content{align-self:center!important;margin:auto!important;transform:none!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 110px)!important;overflow:auto!important;border-radius:24px!important}body.support-page-open #cart-modal.modal{display:none!important}}
/* Light theme cart: clear item cards, stronger text contrast and balanced actions. */
html body.light-mode #cart-modal .modal-content{background:radial-gradient(ellipse at 50% 0%,rgba(255,64,90,.07),transparent 45%),linear-gradient(155deg,#fff,#f5f7fb)!important;color:#172033!important;border:1px solid #e1e5ef!important;box-shadow:0 24px 80px rgba(20,30,50,.24)!important}
html body.light-mode #cart-modal .modal-content h3{color:#171d2b!important;text-align:center;font-weight:850;letter-spacing:-.035em}
html body.light-mode #cart-modal #cart-items-container{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;min-height:0!important;max-height:38dvh!important;padding:8px!important;margin-bottom:18px!important;background:#f3f5f9!important;border:1px solid #e5e8ef!important;border-radius:18px!important;text-align:left!important}
html body.light-mode #cart-modal #cart-items-container>div{width:100%;padding:12px!important;border:1px solid #e5e8ef!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 16px rgba(25,38,62,.06)!important}
html body.light-mode #cart-modal #cart-items-container h5{margin:0 0 5px!important;color:#182033!important;font-size:14px!important;line-height:1.35!important}
html body.light-mode #cart-modal #cart-items-container img{flex:none;border:1px solid #e8ebf1}
html body.light-mode #cart-modal #cart-items-container .nav-btn{background:#fff!important;color:#c81e46!important;border:1px solid #f1c4cf!important;border-radius:12px!important}
html body.light-mode #cart-modal #cart-items-container p{color:#667186!important}
html body.light-mode #cart-modal .modal-content>div[style*="border-top"]{border-color:#e4e7ee!important;color:#293348}
html body.light-mode #cart-modal #cart-total-val{color:#dc1745!important;font-weight:900}
html body.light-mode #cart-modal .btn-secondary{background:#fff!important;color:#273246!important;border:1px solid #d8deea!important;box-shadow:0 4px 12px rgba(24,35,56,.05)!important}
html body.light-mode #cart-modal #checkout-btn{background:linear-gradient(120deg,#ff4962,#e9003d)!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(232,0,61,.2)!important}
#cart-modal #checkout-btn{white-space:normal;line-height:1.2}
@media(max-width:767px){
 #home-view .slideshow-banner-container{margin-bottom:8px!important}
 #home-view #catalog-header.section-header{margin:8px 0 6px!important}
 #home-view #catalog-header h3{margin:0!important}
 #home-view #all-products-grid{margin-top:8px!important}
 html body.light-mode #cart-modal #cart-items-container{max-height:30dvh!important}
}

@media(max-width:767px){
 #home-view .slideshow-banner-container{margin-bottom:0!important}
 #home-view #catalog-header.section-header{margin:0 0 4px!important}
 #home-view #all-products-grid{margin-top:-10px!important;padding-top:0!important}
}
