/* MHD GAME 2026 | Shared storefront design, additive and scoped. */
body.left-mhd-v2 {
  --bg:#050914;
  --bg-dark:#050914;
  --surface:#0b1220;
  --surface-dark:#0b1220;
  --card:#0f172a;
  --card-dark:#0f172a;
  --card-soft:#121d30;
  --card-soft-dark:#121d30;
  --border:#29374b;
  --border-dark:#29374b;
  --text:#f8fafc;
  --text-dark:#f8fafc;
  --muted:#9aa8bc;
  --muted-dark:#9aa8bc;
  --accent:#f59e0b;
  --accent-glow:rgba(245,158,11,.21);
  --surface-rgb:11,18,32;
  background:radial-gradient(ellipse 70% 450px at 50% -140px,rgba(245,158,11,.10),transparent 78%),var(--bg);
  color:var(--text);
  font-family:'Cairo',sans-serif;
}
html[data-theme="light"] body.left-mhd-v2 {
  --bg:#f4f7fb;
  --bg-dark:#f4f7fb;
  --surface:#fff;
  --surface-dark:#fff;
  --card:#fff;
  --card-dark:#fff;
  --card-soft:#eef2f7;
  --card-soft-dark:#eef2f7;
  --text:#0b1220;
  --text-dark:#0b1220;
  --muted:#526071;
  --muted-dark:#526071;
  --border:#dbe3ef;
  --border-dark:#dbe3ef;
  --accent:#c87900;
  --accent-glow:rgba(200,121,0,.13);
  --surface-rgb:255,255,255;
}
body.left-mhd-v2::before {animation:none;opacity:.05}
body.left-mhd-v2 .topbar {
  border-bottom:1px solid var(--border);
  background:rgba(var(--surface-rgb),.9);
  backdrop-filter:blur(18px);
  box-shadow:0 8px 30px rgba(0,0,0,.09);
}
body.left-mhd-v2 .topbar-inner{max-width:1140px;min-height:55px;margin:auto;padding:8px 17px}
body.left-mhd-v2 :is(.balance,.user-box .username,.category-name,.game-name){
  border:1px solid var(--border);
  background:var(--card-soft);
  border-radius:25px;
  padding:6px 12px;
  font-weight:800;
}
body.left-mhd-v2 :is(.back-btn,.back-link){border-radius:12px;border:1px solid var(--border);background:var(--card-soft);color:var(--accent)}
body.left-mhd-v2 :is(.container,.search-container){max-width:1120px}
body.left-mhd-v2 :is(.page-header,.card-header) {align-items:center}
body.left-mhd-v2 :is(.page-title,.title){color:var(--text);letter-spacing:0;font-family:'Cairo',sans-serif;font-weight:900}
body.left-mhd-v2 .page-title::before{height:75%;border-radius:8px;box-shadow:none}
body.left-mhd-v2 .mhd-page-intro{
  position:relative;
  display:flex;align-items:center;gap:16px;
  border:1px solid var(--border);
  border-radius:23px;
  background:linear-gradient(115deg,var(--surface),var(--card));
  box-shadow:0 15px 35px rgba(0,0,0,.1);
  padding:23px 25px;
  margin:11px 0 24px;
  overflow:hidden;
}
body.left-mhd-v2 .mhd-page-intro::after{
  content:"";position:absolute;width:165px;height:165px;
  left:-65px;top:-75px;border-radius:50%;background:var(--accent-glow);
  filter:blur(50px);pointer-events:none;
}
body.left-mhd-v2 .mhd-intro-icon{
  flex-shrink:0;width:64px;height:64px;border:1px solid var(--border);
  background:var(--card-soft);color:var(--accent);border-radius:19px;
  display:grid;place-items:center;font-size:25px;
}
body.left-mhd-v2 .mhd-intro-eyebrow{font-size:11px;color:var(--accent);font-weight:900;letter-spacing:.35px}
body.left-mhd-v2 .mhd-page-intro h1{
  margin:3px 0 5px;
  font-family:'Cairo',sans-serif;font-weight:900;
  line-height:1.4;font-size:clamp(19px,3vw,26px);
}
body.left-mhd-v2 .mhd-page-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.9}
body.left-mhd-v2 :is(.game-card,.product-card,.glass-card,.method-card-3d){
  border-radius:20px;
  border:1px solid var(--border);
  background:var(--card);
  box-shadow:0 10px 28px rgba(0,0,0,.11);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body.left-mhd-v2 :is(.game-card,.product-card,.method-card-3d):not(.disabled):not(.method-disabled):hover {
  border-color:var(--accent);
  box-shadow:0 16px 40px var(--accent-glow);
  transform:translateY(-3px);
}
body.left-mhd-v2 :is(.game-card,.product-card,.method-card-3d):focus-within{border-color:var(--accent)}
body.left-mhd-v2 .game-card .game-title{font-size:12px;line-height:1.7;padding:12px 8px;white-space:normal;min-height:52px;display:grid;place-items:center}
body.left-mhd-v2 .game-image{aspect-ratio:1/1;object-fit:cover}
body.left-mhd-v2 .product-card .product-info{padding:12px;gap:7px}
body.left-mhd-v2 .product-card .product-title{font-weight:800;line-height:1.6;min-height:35px}
body.left-mhd-v2 .product-card .product-price{color:var(--accent);font-weight:900}
body.left-mhd-v2 :is(.buy-btn,.action-btn){border-radius:12px;box-shadow:none;font-weight:900}
body.left-mhd-v2 .method-card-3d{transform:none;box-shadow:0 10px 27px rgba(0,0,0,.11)}
body.left-mhd-v2 .method-card-3d:active{transform:scale(.98)}
body.left-mhd-v2 .method-img-wrapper{aspect-ratio:1.1}
body.left-mhd-v2 .glass-card{padding:22px}
body.left-mhd-v2 .card-header{padding-right:13px;border-right:3px solid var(--accent);margin-bottom:20px}
body.left-mhd-v2 .methods-grid{gap:14px}
body.left-mhd-v2.mhd-deposit-method .container{max-width:820px}
body.left-mhd-v2.mhd-deposit-method .card{
  background:var(--card);border:1px solid var(--border);
  border-radius:24px;padding:25px;box-shadow:0 14px 35px rgba(0,0,0,.12)
}
body.left-mhd-v2.mhd-deposit-method .method-image-wrapper{border-radius:20px}
body.left-mhd-v2.mhd-deposit-method .deposit-info-box{background:var(--card-soft);border-radius:17px}
body.left-mhd-v2 :is(.input-field,.dynamic-param-input,#searchInput){
  border:1px solid var(--border);background:var(--card-soft);color:var(--text);
  border-radius:13px;outline:none;transition:border-color .15s,box-shadow .15s
}
body.left-mhd-v2 :is(.input-field,.dynamic-param-input,#searchInput):focus{
  border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)
}
body.left-mhd-v2 .bottom-nav {
  backdrop-filter:blur(17px);background:rgba(var(--surface-rgb),.96);
  border-top:1px solid var(--border);box-shadow:0 -4px 25px rgba(0,0,0,.08)
}
body.left-mhd-v2 .bottom-nav .nav-item:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body.left-mhd-v2 .top-badge{animation:none;border-radius:9px}
body.left-mhd-v2 :is(.loading-state,.empty-state,.no-results){border-radius:19px;border-color:var(--border);background:var(--card)}
@media(max-width:640px){
 body.left-mhd-v2 .mhd-page-intro{padding:16px;gap:13px;margin:10px 0 19px;border-radius:20px}
 body.left-mhd-v2 .mhd-intro-icon{width:53px;height:53px;font-size:21px;border-radius:16px}
 body.left-mhd-v2 .mhd-page-intro p{font-size:10.5px}
 body.left-mhd-v2 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 body.left-mhd-v2 .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 body.left-mhd-v2 .game-card .game-title{font-size:12px;min-height:45px}
 body.left-mhd-v2 .product-card .product-title{font-size:12px}
 body.left-mhd-v2 .glass-card{padding:17px 14px;border-radius:20px}
 body.left-mhd-v2 .methods-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 body.left-mhd-v2.mhd-deposit-method .card{padding:17px 15px}
 body.left-mhd-v2 .container{padding-inline:13px}
}
@media(max-width:375px){body.left-mhd-v2 .products-grid{gap:8px}}
@media(min-width:768px){
 body.left-mhd-v2 .products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
 body.left-mhd-v2 .games-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
}
@media(min-width:1080px){body.left-mhd-v2 .games-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){body.left-mhd-v2 *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* MHD GAME / unified storefront extension, customer-facing pages only */
body.left-mhd-v2 .container{max-width:1120px;margin-inline:auto}
body.left-mhd-v2.mhd-store .container{max-width:1120px}
body.left-mhd-v2.mhd-store .container>.grid{gap:15px}
body.left-mhd-v2.mhd-store .card{
 background:var(--card);border:1px solid var(--border);border-radius:20px;
 box-shadow:0 10px 28px rgba(0,0,0,.1);overflow:hidden;
 transition:transform .2s,border-color .2s,box-shadow .2s
}
body.left-mhd-v2.mhd-store .card:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:0 14px 36px var(--accent-glow)}
body.left-mhd-v2.mhd-store .card-title{color:var(--text);font-weight:800;line-height:1.55}
body.left-mhd-v2.mhd-wallet .card,
body.left-mhd-v2.mhd-orders .order-card-compact,
body.left-mhd-v2.mhd-orders .order-table,
body.left-mhd-v2.mhd-api .card{
 background:var(--card);border:1px solid var(--border);border-radius:19px;
 box-shadow:0 10px 30px rgba(0,0,0,.09)
}
body.left-mhd-v2.mhd-orders .order-card-compact{padding:14px;margin-bottom:11px}
body.left-mhd-v2.mhd-orders .topbar-balance{border-radius:30px;border:1px solid var(--border);background:var(--card-soft);color:var(--accent)}
body.left-mhd-v2.mhd-orders .topbar-inner{min-height:58px}
body.left-mhd-v2.mhd-orders .order-card-compact:active{transform:scale(.99)}
body.left-mhd-v2.mhd-accounts{
 --bg:#050914;--panel:#0b1220;--panel2:#121d30;--card:#0f172a;
 --card-soft:#121d30;--border:#29374b;--text:#f8fafc;--muted:#9aa8bc;
 --accent:#f59e0b;--accent2:#cb1e30;--accent-soft:rgba(245,158,11,.12);
 background:radial-gradient(ellipse 75% 460px at 50% -155px,rgba(245,158,11,.12),transparent),var(--bg)
}
body.left-mhd-v2.mhd-accounts .store-header{background:rgba(11,18,32,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}
body.left-mhd-v2.mhd-accounts .account-card{border:1px solid var(--border);border-radius:20px;background:var(--card);box-shadow:0 12px 30px rgba(0,0,0,.2);overflow:hidden}
body.left-mhd-v2.mhd-accounts .account-card:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:0 16px 38px var(--accent-glow)}
body.left-mhd-v2.mhd-accounts .card-cover{overflow:hidden}
body.left-mhd-v2.mhd-accounts .card-title{font-weight:900}
body.left-mhd-v2.mhd-accounts .bottom-nav{background:rgba(11,18,32,.96);border-top:1px solid var(--border)}
body.left-mhd-v2.mhd-api .topbar{background:rgba(var(--surface-rgb),.92)}
body.left-mhd-v2.mhd-api :is(input,select,textarea){border-radius:12px}
body.mhd-auth{
 --bg:#050914;--surface:#0b1220;--card:#0f172a;--soft:#121d30;--accent:#f59e0b;--border:#29374b;
 background:radial-gradient(ellipse 70% 50% at 50% -10%,rgba(245,158,11,.17),transparent),#050914!important;
 font-family:'Cairo',sans-serif
}
body.mhd-auth :is(.login-box,.register-box){
 background:linear-gradient(155deg,rgba(15,23,42,.95),rgba(11,18,32,.92));
 border:1px solid rgba(245,158,11,.25);border-radius:25px;
 box-shadow:0 25px 65px rgba(0,0,0,.38),0 0 45px rgba(245,158,11,.09);
 backdrop-filter:blur(20px)
}
body.mhd-auth :is(.login-box,.register-box):hover{box-shadow:0 25px 65px rgba(0,0,0,.38),0 0 45px rgba(245,158,11,.12)}
body.mhd-auth :is(input,button,select){border-radius:12px}
body.mhd-auth :is(input,textarea):focus{outline-color:#f59e0b}
body.mhd-auth .mhd-auth-brand{text-align:center;margin:0 0 12px;font:900 13px 'Cairo',sans-serif;color:#aab8ca;letter-spacing:1.5px}
body.mhd-auth .mhd-auth-brand b{color:#f59e0b}
@media(max-width:640px){
 body.left-mhd-v2.mhd-store .container{padding-inline:13px}
 body.left-mhd-v2.mhd-orders .order-card-compact{padding:12px;border-radius:16px}
 body.mhd-auth :is(.login-box,.register-box){border-radius:21px;padding:22px 18px}
}
@media(prefers-reduced-motion:reduce){body.left-mhd-v2 *{transition:none!important}}

body.left-mhd-v2 :is(.card,.game-card,.product-card){animation:none!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}
body.left-mhd-v2 :is(.game-card,.product-card,.card){border-radius:16px}
body.left-mhd-v2 img{max-width:100%}
@media(max-width:768px){body.left-mhd-v2 :is(.container,.topbar-inner){max-width:100%;box-sizing:border-box}body.left-mhd-v2 :is(.card,.game-card,.product-card){backdrop-filter:none!important}body.left-mhd-v2 :is(.game-card,.product-card,.card):hover{transform:none!important}}
@media(prefers-reduced-motion:reduce){body.left-mhd-v2 *{animation:none!important;transition:none!important}}

.left-server-filters:not([hidden]){display:flex;gap:8px;overflow-x:auto;padding:10px 0;margin:0 0 12px}.left-server-filters button{border:1px solid #ad832d;border-radius:12px;padding:9px 16px;background:var(--card);color:var(--text);font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}.left-server-filters button[aria-pressed=true]{background:#f59e0b;color:#18120a}.product-card[hidden],.left-server-filters[hidden]{display:none!important}

.left-server-selector-link{padding:10px 18px;border:1px solid #ad832d;color:var(--text);border-radius:12px;text-decoration:none;font-weight:700}
