:root{--bg:#f3f2fb;--ink:#23233c;--dark:#1e1b4b;--dark2:#2b2767;--red:#c73e3e;--red2:#b91c1c;
  --mut:#67678b;--line:#dddaf0;--vio:#5f3fb4;--ok:#0f8a3d;--gold:#b45309;--amber:#f59e0b;
  --av:#0aa5f5;--avink:#0064b0;--f:'Manrope',system-ui,sans-serif;--w:1240px;--r:16px;
  --game:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cg fill='none' stroke='%231e1b4b' stroke-opacity='.06' stroke-width='2'%3E%3Crect x='16' y='18' width='26' height='46' rx='6'/%3E%3Ccircle cx='29' cy='34' r='4'/%3E%3Cpath d='M78 44h8v-8h8v8h8v8h-8v8h-8v-8h-8z'/%3E%3Ccircle cx='124' cy='40' r='6'/%3E%3Ccircle cx='140' cy='52' r='6'/%3E%3Crect x='96' y='88' width='40' height='30' rx='5'/%3E%3Cpath d='M96 98h40'/%3E%3Crect x='18' y='98' width='36' height='36' rx='9'/%3E%3Ccircle cx='29' cy='109' r='3'/%3E%3Ccircle cx='45' cy='123' r='3'/%3E%3Cpath d='M24 120h10M29 115v10'/%3E%3Ccircle cx='72' cy='134' r='5'/%3E%3Cpath d='M64 14h42v10l-6 6h-30l-6-6z'/%3E%3C/g%3E%3C/svg%3E");
  --game-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='2'%3E%3Crect x='16' y='18' width='26' height='46' rx='6'/%3E%3Ccircle cx='29' cy='34' r='4'/%3E%3Cpath d='M78 44h8v-8h8v8h8v8h-8v8h-8v-8h-8z'/%3E%3Ccircle cx='124' cy='40' r='6'/%3E%3Ccircle cx='140' cy='52' r='6'/%3E%3Crect x='96' y='88' width='40' height='30' rx='5'/%3E%3Cpath d='M96 98h40'/%3E%3Crect x='18' y='98' width='36' height='36' rx='9'/%3E%3Ccircle cx='29' cy='109' r='3'/%3E%3Ccircle cx='45' cy='123' r='3'/%3E%3Cpath d='M24 120h10M29 115v10'/%3E%3Ccircle cx='72' cy='134' r='5'/%3E%3Cpath d='M64 14h42v10l-6 6h-30l-6-6z'/%3E%3C/g%3E%3C/svg%3E");}
.topline{background:#fff;border-bottom:1px solid var(--line)}
.topline .w{max-width:var(--w);margin:0 auto;padding:6px 20px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--mut)}
.topline b{color:var(--ink)}
.dotlive{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);animation:pl 1.6s infinite}
@keyframes pl{50%{opacity:.25}}
.hd{background:#fff;border-bottom:1px solid var(--line)}
.hd .w{max-width:var(--w);margin:0 auto;padding:12px 20px;display:grid;grid-template-columns:auto auto 1fr auto;gap:16px;align-items:center}
.logo img{height:54px}
.catbtn{position:relative;display:inline-flex;align-items:center;gap:10px;padding:12px 20px;min-height:48px;border-radius:12px;background:var(--red);color:#fff;font-weight:800;font-size:14px;border:0;cursor:pointer}
.catbtn:hover{background:var(--red2)}
.catbtn .bg3{width:16px;height:12px;position:relative}
.catbtn .bg3 i{position:absolute;left:0;right:0;height:2px;background:#fff;border-radius:2px}
.catbtn .bg3 i:nth-child(1){top:0}
.catbtn .bg3 i:nth-child(2){top:5px}
.catbtn .bg3 i:nth-child(3){top:10px}
.drop{display:none;position:absolute;top:calc(100% + 10px);left:0;z-index:300;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px rgba(18,21,28,.22);padding:18px;grid-template-columns:repeat(4,1fr);gap:18px;width:min(92vw,980px);color:var(--ink);text-align:left}
.catbtn:hover .drop,.catbtn:focus .drop,.catbtn:focus-within .drop{display:grid}
.drop h5{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:var(--red);margin-bottom:7px}
.drop a{display:block;font-size:12.5px;font-weight:700;color:var(--ink);padding:3.5px 0}
.drop a:hover{color:var(--red)}
.drop .cnt3{float:right;color:var(--mut);font-weight:700;font-size:10.5px}
.srch{display:flex;max-width:560px;width:100%;justify-self:center;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:#f8f9fb}
.srch input{flex:1;border:0;padding:13px 16px;font:inherit;outline:none;min-width:0;background:transparent}
.srch button{border:0;background:var(--red);color:#fff;font-weight:800;padding:0 20px;cursor:pointer}
.acts{display:flex;gap:12px;align-items:center}
.icl{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:12.5px;font-weight:800;min-height:44px}
.icl svg{width:18px;height:18px;opacity:.8}
.cartb{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;min-height:48px;border-radius:12px;background:#16161c;color:#fff;font-weight:800;font-size:13.5px}
.subnav{background:#fff;border-bottom:1px solid var(--line)}
.subnav .w{max-width:var(--w);margin:0 auto;padding:6px 20px;display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:12.5px;font-weight:800}
.subnav a{color:var(--ink);padding:8px 13px;border-radius:100px;min-height:38px;display:inline-flex;align-items:center;gap:6px}
.subnav a:hover{background:var(--bg);color:var(--red)}
.subnav a.hot{background:rgba(199,62,62,.1);color:var(--red)}
/* фон сайта: оригинальный прод #f3f2fb + мягкий mesh + паттерн джойстиков */
body.theme-prostore-like{background:radial-gradient(1000px 520px at 8% -6%,rgba(95,63,180,.11),transparent 62%),radial-gradient(860px 460px at 98% -2%,rgba(199,62,62,.07),transparent 60%),radial-gradient(1200px 700px at 50% 118%,rgba(95,63,180,.06),transparent 62%),#f3f2fb !important;background-attachment:fixed !important}
body.theme-prostore-like::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:url("/image/catalog/bg/console-pattern-tile.webp") repeat;opacity:.05}
body.theme-prostore-like .ps-wrap,body.theme-prostore-like #content,body.theme-prostore-like .ps-footer,body.theme-prostore-like header,body.theme-prostore-like nav,body.theme-prostore-like .ps-topbar{position:relative;z-index:1}
body.theme-prostore-like .j-new{position:relative;z-index:900}
.j-old{display:none!important}
.j-new a{text-decoration:none!important}
/* родная прод-корзина в новой шапке (с дропдауном) */
.j-new .j-cart{position:relative}
.j-new .j-cart .btn-group{display:block;margin:0}
.j-new .j-cart button:first-child{height:46px;background:#16161c;color:#fff;border:0;border-radius:12px;font-weight:800;font-size:12.5px;padding:0 16px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.j-new .j-cart button:first-child:hover{background:#c73e3e}
.j-new .j-cart button:first-child .fa{color:#fff!important;font-size:13px}
.j-new .j-cart .dropdown-menu{right:0;left:auto;top:calc(100% + 8px);border-radius:14px;border:1px solid var(--line,#e8e6f4);box-shadow:0 20px 44px rgba(16,16,40,.16);padding:8px;min-width:300px;margin:0}
.hd .w{gap:16px}
.logo img{height:44px;display:block}
.catbtn{position:relative}
/* mega 2.0 */
.drop{left:-4px;top:calc(100% + 10px);min-width:1080px;max-width:min(1080px,92vw);padding:20px 24px 16px;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px rgba(16,16,40,.18);background:#fff;grid-template-columns:repeat(4,1fr);gap:4px 26px;z-index:80}
.drop>span{min-width:0}
.drop>span h5{margin:0 0 8px;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#8b87a3;border-bottom:1px solid #f0eef8;padding-bottom:9px}
.drop>span a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;margin:0 -10px;border-radius:9px;font-size:13px;font-weight:700;color:#2b2840;text-decoration:none}
.drop>span a:hover{background:#f6f5fd;color:var(--red)}
/* прод-поиск в шапке */
.hd .srch{display:flex;flex:1;max-width:640px}
.srch form,.srch .ps-search,.srch .ps-search-smart-wrap,.srch .input-group{width:100%;display:flex;margin:0}
.srch input.form-control{flex:1;height:48px;border:1.5px solid var(--line)!important;border-right:0!important;border-radius:12px 0 0 12px!important;background:#f8f9fb!important;font-size:13.5px;box-shadow:none!important;padding:0 16px}
.srch input.form-control:focus{border-color:#6d5ae0!important;background:#fff!important}
.srch .ps-oc-search-btn,.srch button[type=submit]{height:48px;border-radius:0 12px 12px 0!important;background:#16161c!important;color:#fff!important;border:0;font-weight:800;font-size:13px;padding:0 22px}
.srch .ps-oc-search-btn:hover,.srch button[type=submit]:hover{background:#c73e3e!important}
.srch .ps-search-ac{position:absolute;top:52px;left:0;right:0;z-index:90;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px rgba(16,16,40,.14);overflow:hidden;margin:0}
.cartb svg,.icl svg{display:inline-block;vertical-align:-2px}
/* дропдауны подменю как в проде */
.submi{position:relative;display:inline-flex}
.subdrop{display:none;position:absolute;top:calc(100% + 2px);left:0;z-index:80;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 44px rgba(16,16,40,.16);padding:8px;min-width:250px}
.submi:hover .subdrop,.submi:focus-within .subdrop{display:grid;gap:1px}
.subdrop a{padding:8px 11px;border-radius:9px;font-size:12.5px;font-weight:700;color:#2b2840;text-decoration:none;white-space:nowrap}
.subdrop a:hover{background:#f6f5fd;color:var(--red)}
/* читаемый топлайн */
.topline .w a{color:#6b6a83;text-decoration:none;font-weight:700}
.topline .w a:hover{color:#c73e3e}
.topline .w b,.topline .w b a{color:#16161c}
@media(max-width:768px){
.topline{display:none!important}
.hd .catbtn{display:none!important}
.hd .w{padding:8px 12px;gap:10px}
.logo img{height:34px}
.acts .icl{display:none}
.subnav .w{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:6px 12px}
.subnav .w::-webkit-scrollbar{display:none}
.subnav a{white-space:nowrap}
.submi{position:static}
.subdrop{display:none!important}
}
