@font-face{font-family:Rubik;src:url('rubik.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}

/* ============================================================
   CS-HOST DESIGN SYSTEM
   ============================================================ */
html{
  --bg:#0b1220;
  --bg2:#0f1729;
  --surface:rgba(17,27,45,.92);
  --surface-solid:#121d33;
  --card:rgba(26,38,60,.9);
  --card-solid:#1a2740;
  --card2:rgba(34,48,74,.9);
  --border:rgba(120,160,220,.14);
  --border-strong:rgba(130,175,235,.26);
  --text:#e6edf8;
  --text-dim:#a3b4cd;
  --muted:#7187a4;
  --accent:#4a7dff;
  --accent2:#3a6ae6;
  --accent-ink:#ffffff;
  --accent-glow:rgba(74,125,255,.2);
  --cyan:#38bdf8;
  --violet:#7c6df2;
  --ok:#2dd881;
  --bad:#f2555f;
  --shadow:0 18px 44px rgba(3,8,20,.5);
  --shadow-sm:0 6px 18px rgba(3,8,20,.32);
  --radius:14px;
  --radius-sm:10px;
  --grad-accent:linear-gradient(180deg,#4d7fff 0%,#3568e4 100%);
  --grad-panel:linear-gradient(180deg,rgba(30,44,70,.92) 0%,rgba(22,33,54,.94) 100%);
  --glass-blur:none;
}
html[data-theme="light"]{
  --bg:#f1f5fb;
  --bg2:#e8eef8;
  --surface:rgba(255,255,255,.94);
  --surface-solid:#ffffff;
  --card:rgba(255,255,255,.92);
  --card-solid:#ffffff;
  --card2:rgba(240,245,252,.95);
  --border:rgba(25,60,120,.1);
  --border-strong:rgba(25,60,120,.2);
  --text:#16233a;
  --text-dim:#425773;
  --muted:#6b7f9c;
  --accent:#2563eb;
  --accent2:#1d4ed8;
  --accent-ink:#ffffff;
  --accent-glow:rgba(37,99,235,.16);
  --cyan:#0891b2;
  --violet:#6d5ae0;
  --ok:#12a866;
  --bad:#dc2f3d;
  --shadow:0 14px 36px rgba(25,55,110,.12);
  --shadow-sm:0 5px 16px rgba(25,55,110,.08);
  --grad-accent:linear-gradient(180deg,#2f6dea 0%,#1f54d0 100%);
  --grad-panel:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(246,249,254,.97) 100%);
  --glass-blur:none;
}

/* ---------- HARD RESET of legacy theme (style.css) ---------- */
body,body.mh-site{
  margin:0!important;padding:0!important;
  min-width:320px!important;
  background-color:#070c16;
  background-image:
    radial-gradient(900px 420px at 50% -160px,rgba(74,125,255,.16),transparent 64%),
    radial-gradient(760px 380px at 110% -20px,rgba(56,189,248,.1),transparent 58%),
    linear-gradient(180deg,rgba(11,18,32,.5) 0%,rgba(11,18,32,.68) 55%,rgba(11,18,32,.9) 100%),
    url('/template/images/refresh/bg.jpg');
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat;
  background-position:center top,center top,center top,center top;
  background-size:auto,auto,auto,cover;
  background-attachment:fixed,fixed,fixed,fixed;
  color:var(--text)!important;
  font:400 14px/1.68 Rubik,Arial,Helvetica,sans-serif!important;
  position:static!important;
}
html[data-theme="light"] body,html[data-theme="light"] body.mh-site{
  background-color:#eef2f9;
  background-image:
    radial-gradient(900px 420px at 50% -160px,rgba(37,99,235,.1),transparent 64%),
    radial-gradient(760px 380px at 110% -20px,rgba(8,145,178,.08),transparent 58%),
    linear-gradient(180deg,rgba(241,245,251,.62) 0%,rgba(241,245,251,.78) 55%,rgba(241,245,251,.92) 100%),
    url('/template/images/refresh/bg_light.jpg');
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat;
  background-position:center top,center top,center top,center top;
  background-size:auto,auto,auto,cover;
  background-attachment:fixed,fixed,fixed,fixed;
}
body::before,body::after{display:none!important;content:none!important}
*,*::before,*::after{box-sizing:border-box}

a,a:link{color:var(--accent2)!important;text-decoration:none!important}
a:hover{color:var(--accent)!important}
a:visited{color:var(--accent2)!important}
img{max-width:100%;height:auto}
h1,h2,h3,h4,h5,h6{color:var(--text)!important;font-family:Rubik,Arial,sans-serif!important;font-weight:600!important;letter-spacing:-.3px;margin:0 0 14px!important;background:none!important;border:0!important;min-height:0!important;height:auto!important;line-height:1.28!important;text-transform:none!important}
p,li,td,th,div,span,pre,label,blockquote{color:var(--text)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.mh-wrap{width:min(1380px,calc(100% - 44px));margin:0 auto}
.mh-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none}

/* ============================================================
   TOP BAR
   ============================================================ */
.mh-top{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;color:var(--muted);font-size:12px;position:relative;z-index:5}
.mh-top>span,.mh-top>div,.mh-top a{display:flex;align-items:center;gap:8px}
.mh-top>div{gap:20px;flex-wrap:wrap;justify-content:flex-end}
.mh-top .mh-icon,.mh-top i{width:16px;height:16px}
.mh-top a{color:var(--text-dim)!important}
.mh-top a:hover{color:var(--accent)!important}
.mh-top .mh-login{border:1px solid var(--border-strong);border-radius:9px;padding:6px 22px;background:var(--card);color:var(--text)!important}
.mh-top .mh-btn{padding:7px 20px;font-size:12px}

/* ============================================================
   HEADER
   ============================================================ */
/* kill legacy body > header (style.css: width 1150px / overflow hidden / color white) */
body > header,body > header.mh-header{
  width:min(1380px,calc(100% - 44px))!important;
  margin:12px auto 22px!important;
  overflow:visible!important;
  min-height:84px!important;
  color:var(--text)!important;
  position:sticky!important;
}
.mh-header{
  position:sticky;top:0;z-index:80;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:15px 22px;
  border:1px solid var(--border-strong);border-radius:20px;
  background:var(--surface);box-shadow:var(--shadow);
  backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);
}
.mh-brand{flex:none;position:relative;z-index:2;display:flex;align-items:center;gap:12px;white-space:nowrap;color:var(--text)!important;font-size:27px;line-height:1.02}
.mh-brand img{width:46px;height:52px;object-fit:contain;filter:drop-shadow(0 6px 16px var(--accent-glow))}
.mh-brand-name{color:var(--text)}
.mh-brand-name b{color:var(--accent)!important;font-weight:800;letter-spacing:.5px}
.mh-brand-name small{display:block;font-size:9px;letter-spacing:1.6px;color:var(--muted)!important;margin-top:5px;font-weight:500}
.mh-nav{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:0 220px;pointer-events:none}
.mh-nav a{pointer-events:auto}
.mh-nav a{position:relative;color:var(--text-dim)!important;font-size:13px;white-space:nowrap;padding:9px 13px;border-radius:10px;font-weight:500;transition:.2s}
.mh-nav a:hover{color:var(--text)!important;background:var(--card2)}
.mh-nav a.is-active{color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 14%,transparent)}
.mh-nav a.is-active:after{content:'';position:absolute;left:13px;right:13px;bottom:3px;height:2.5px;border-radius:4px;background:var(--grad-accent)}
.mh-header-tools{flex:none;position:relative;z-index:2;margin-left:auto;display:flex;align-items:center;gap:9px}
.mh-icon-btn{width:42px;height:42px;border:1px solid var(--border-strong);border-radius:13px;color:var(--text)!important;background:var(--card);display:grid;place-items:center;cursor:pointer;transition:.22s;font-size:15px}
.mh-icon-btn:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px);box-shadow:0 10px 24px var(--accent-glow)}
.mh-burger{display:none}

/* ============================================================
   BUTTONS
   ============================================================ */
.mh-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 24px;border-radius:10px;border:1px solid transparent;
  background:var(--accent);color:var(--accent-ink)!important;
  font-size:14px;font-weight:500;line-height:1.35;cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  transition:background .18s,box-shadow .18s,transform .18s;
}
.mh-btn:hover{color:var(--accent-ink)!important;background:var(--accent2);transform:translateY(-1px);box-shadow:0 4px 12px var(--accent-glow)}
.mh-btn:active{transform:translateY(0)}
.mh-btn.mh-ghost{background:transparent;color:var(--text)!important;border-color:var(--border-strong);box-shadow:none}
.mh-btn.mh-ghost:hover{color:var(--accent)!important;border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.mh-btn.mh-small{padding:9px 18px;font-size:12px;border-radius:10px}
.mh-btn.mh-block{width:100%}
.mh-btn i,.mh-btn .mh-icon{width:16px;height:16px}

/* ============================================================
   HERO
   ============================================================ */
.mh-hero{
  position:relative;min-height:492px;border-radius:24px;overflow:hidden;
  isolation:isolate;border:1px solid var(--border-strong);
  box-shadow:var(--shadow);margin-bottom:24px;background:var(--bg2)
}
.mh-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .85s ease,visibility .85s;background-size:cover;background-position:center}
.mh-slide.is-active{opacity:1;visibility:visible;z-index:1}
.mh-slide:before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(7,12,22,.96) 4%,rgba(7,12,22,.82) 34%,rgba(7,12,22,.18) 68%,rgba(7,12,22,.55) 100%)
}
html[data-theme="light"] .mh-slide:before{
  background:linear-gradient(100deg,rgba(238,242,249,.96) 4%,rgba(238,242,249,.84) 34%,rgba(238,242,249,.18) 68%,rgba(238,242,249,.5) 100%)
}
.mh-slide:after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(720px 320px at 12% 88%,var(--accent-glow),transparent 62%)
}
.mh-hero-copy{position:relative;z-index:3;padding:46px 50px;width:64%}
.mh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:2.4px;text-transform:uppercase;color:var(--accent)!important;font-weight:600;margin-bottom:14px;padding:6px 13px;border-radius:20px;background:color-mix(in srgb,var(--accent) 15%,transparent);border:1px solid color-mix(in srgb,var(--accent) 32%,transparent)}
.mh-hero h1,.mh-hero h2{font-size:clamp(30px,3.3vw,47px);line-height:1.1;letter-spacing:-1.4px;margin:0 0 16px;max-width:730px;font-weight:700!important;color:var(--text)!important;text-shadow:0 8px 30px rgba(0,0,0,.35)}
.mh-hero-copy p{font-size:15.5px;color:var(--text-dim)!important;line-height:1.72;margin:0 0 26px;max-width:560px}
.mh-actions{display:flex;flex-wrap:wrap;gap:12px}
.mh-perks{position:absolute;left:50px;bottom:38px;width:56%;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;z-index:3}
.mh-perks>div{display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:15px;background:rgba(255,255,255,.08);border:1px solid var(--border-strong);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:12px;line-height:1.45;color:var(--text)!important}
html[data-theme="light"] .mh-perks>div{background:rgba(255,255,255,.72)}
.mh-perks i{width:24px;height:24px;color:var(--accent)!important;font-size:19px}
.mh-perks span{color:var(--text)!important;font-weight:500}
.mh-perks small{display:block;font-size:10.5px;color:var(--muted)!important;margin-top:2px;font-weight:400}

.mh-glass{position:absolute;right:22px;bottom:58px;width:32%;display:grid;grid-template-columns:50px 1fr;gap:13px;padding:17px;border:1px solid var(--border-strong);border-radius:18px;background:rgba(255,255,255,.09);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);box-shadow:var(--shadow);z-index:3}
html[data-theme="light"] .mh-glass{background:rgba(255,255,255,.72)}
.mh-glass .mh-symbol{height:50px;border-radius:13px;background:var(--grad-accent);color:var(--accent-ink)!important;display:grid;place-items:center;font-size:21px;box-shadow:0 8px 20px var(--accent-glow)}
.mh-glass strong{display:block;font-size:17px;font-weight:700;letter-spacing:.3px;color:var(--text)!important}
.mh-glass span{font-size:11px;color:var(--muted)!important}
.mh-glass-links{grid-column:1/-1;display:flex;gap:8px}
.mh-glass-links a{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 4px;border-radius:11px;background:var(--card);color:var(--text)!important;font-size:10px;font-weight:500;border:1px solid var(--border)}
.mh-glass-links a:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px)}
.mh-glass-links i{width:18px;height:18px;color:var(--accent)!important;font-size:15px}

.mh-slider-controls{position:absolute;right:22px;bottom:13px;z-index:4;display:flex;gap:13px;align-items:center;color:var(--muted)!important;font-size:12px;font-weight:500}
.mh-slider-controls button{width:35px;height:32px;border-radius:9px;border:1px solid var(--border-strong);background:var(--card);color:var(--text)!important;cursor:pointer;display:grid;place-items:center;transition:.2s}
.mh-slider-controls button:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px)}
.mh-dots{position:absolute;right:22px;bottom:0;z-index:4;display:flex;gap:6px}
.mh-dots button{width:44px;height:3.5px;border:0;padding:0;background:var(--border-strong);cursor:pointer;border-radius:3px;transition:.25s}
.mh-dots button[aria-pressed="true"]{background:var(--grad-accent);box-shadow:0 0 14px var(--accent-glow)}

/* ============================================================
   CARDS / SECTIONS
   ============================================================ */
.mh-card{
  background:var(--grad-panel);border:1px solid var(--border);
  border-radius:var(--radius);padding:26px 28px;margin-bottom:22px;
  box-shadow:var(--shadow);position:relative;overflow:hidden;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
.mh-card:before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--border-strong),transparent)}
.mh-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px;flex-wrap:wrap}
.mh-section-head h2{font-size:28px;letter-spacing:-.6px;margin:0;color:var(--text)!important}
.mh-section-head p{margin:6px 0 0;color:var(--muted)!important;font-size:14px}

/* ============================================================
   GAME CARDS
   ============================================================ */
.mh-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.mh-filters button{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:1px solid var(--border);border-radius:22px;background:var(--card);color:var(--muted)!important;font-size:12px;font-weight:500;cursor:pointer;transition:.22s}
.mh-filters button[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink)!important;border-color:transparent;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.mh-filters button:hover{border-color:var(--accent);color:var(--text)!important}
.mh-filters i{width:16px;height:16px}

.mh-game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(218px,1fr));gap:15px}
.mh-game-card{
  border:1px solid var(--border);border-radius:16px;
  background:var(--grad-panel);padding:9px;
  transition:transform .28s,box-shadow .28s,border-color .28s;position:relative;overflow:hidden;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
.mh-game-card:hover{transform:translateY(-5px);box-shadow:0 26px 48px rgba(0,0,0,.42);border-color:var(--accent)}
.mh-cover{display:block;position:relative;overflow:hidden;border-radius:11px;aspect-ratio:1.85;background:var(--card-solid)}
.mh-cover img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .5s ease}
.mh-game-card:hover .mh-cover img{transform:scale(1.09)}
.mh-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.42) 100%)}
.mh-cover .mh-cover-ico{position:absolute;right:10px;bottom:10px;width:31px;height:31px;border-radius:10px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;color:#fff!important;z-index:2}
.mh-cover .mh-cover-ico i{width:16px;height:16px;font-size:13px}
.mh-game-body{padding:12px 8px 6px}
.mh-game-body h3{font-size:15px;margin:0 0 5px;font-weight:600!important}
.mh-game-body h3 a{color:var(--text)!important}
.mh-game-body h3 a:hover{color:var(--accent)!important}
.mh-game-body p{font-size:11.5px;color:var(--muted)!important;margin:0 0 9px;min-height:18px}
.mh-price{font-size:23px;line-height:1.25;color:var(--text)!important;margin-bottom:10px;font-weight:700;letter-spacing:-.5px}
.mh-price span{font-size:12px;color:var(--muted)!important;font-weight:400}
.mh-price-note{margin:16px 0 0;font-size:11.5px;color:var(--muted)!important}

/* ============================================================
   FEATURES
   ============================================================ */
.mh-features{background:var(--grad-panel);border:1px solid var(--border);border-radius:22px;padding:32px 30px;margin-bottom:24px;box-shadow:var(--shadow);position:relative;overflow:hidden;backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.mh-features:before{content:'';position:absolute;top:-90px;right:-90px;width:280px;height:280px;border-radius:50%;background:var(--accent-glow);filter:blur(70px);opacity:.5;pointer-events:none}
.mh-features h2{font-size:28px;margin-bottom:8px;letter-spacing:-.6px}
.mh-features-intro{color:var(--muted)!important;margin:0 0 24px;font-size:14px}
.mh-features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(218px,1fr));gap:14px;position:relative}
.mh-features-grid article{padding:21px 19px;border:1px solid var(--border);border-radius:15px;background:var(--card);transition:.26s;position:relative;overflow:hidden;backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.mh-features-grid article:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 18px 36px rgba(0,0,0,.3)}
.mh-feature-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 28%,transparent),color-mix(in srgb,var(--violet) 26%,transparent));color:var(--accent)!important;margin-bottom:13px;font-size:19px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}
.mh-features-grid h3{font-size:15px;margin:0 0 7px;font-weight:600!important}
.mh-features-grid p{font-size:12.5px;color:var(--muted)!important;margin:0;line-height:1.68}

/* ============================================================
   SIDEBAR
   ============================================================ */
.mh-aside .l_block{margin:0 0 12px!important;border:1px solid var(--border);background:var(--grad-panel);border-radius:15px;overflow:hidden;box-shadow:var(--shadow-sm);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.mh-aside .l_block_head{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 18%,var(--card-solid)),var(--card-solid))!important;
  font-size:12px;padding:11px 14px!important;height:auto!important;line-height:1.35!important;
  text-transform:none!important;color:var(--text)!important;font-weight:600!important;
  border-bottom:1px solid var(--border);letter-spacing:.2px
}
.mh-aside .l_block_head img{width:15px;height:15px;vertical-align:middle;margin-right:6px;float:none!important}
.mh-aside .l_block_head i{color:var(--accent)!important;margin-right:6px;width:15px;text-align:center;font-size:12px}
.mh-aside .l_block_c{padding:7px 9px!important;background:transparent!important;overflow:visible!important}
.mh-aside .mar-2{margin:0!important}
.mh-aside .block_menu{width:auto!important;margin:0!important}
.mh-aside .block_menu ul{list-style:none;padding:0;margin:0}
.mh-aside .block_menu li{margin:0!important;padding:0!important;height:auto!important;line-height:1.3!important;float:none!important;display:block!important;background:none!important}
.mh-aside .block_menu a{
  display:flex!important;align-items:center;gap:9px;
  padding:6px 9px!important;margin:0!important;height:auto!important;min-height:0!important;
  font-size:12px;line-height:1.3!important;border-radius:8px;
  color:var(--text-dim)!important;background:transparent!important;font-weight:500
}
.mh-aside .block_menu a:hover{background:var(--card2)!important;color:var(--accent)!important;transform:translateX(2px)}
.mh-aside .block_menu a i,.mh-aside .block_menu a .fa,.mh-aside .block_menu a .fas{width:15px;color:var(--accent)!important;text-align:center;font-size:11px;flex:none}
.mh-aside .block_menu a .notice{margin-left:auto;width:auto;color:var(--accent)!important}
.mh-aside p{color:var(--muted)!important;font-size:12px;line-height:1.7;margin:2px 4px}
.mh-aside .online__users{padding:5px 8px!important;margin:0!important;line-height:1.85}
.mh-aside .online__users b{color:var(--accent)!important}
.mh-aside .mini-banner{display:flex;justify-content:center;margin:5px 0}
.mh-aside .mini-banner-img{width:100%;max-width:260px;height:auto;border-radius:9px}

/* ============================================================
   LAYOUT
   ============================================================ */
.inner,.content,.side_content{width:100%!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;min-height:0!important}
.side_left{width:auto!important;float:none!important;margin:0!important}
.side_top{width:100%!important;background:transparent!important;border:0!important;padding:0!important;margin:0 0 18px!important;float:none!important;height:auto!important;overflow:visible!important}
.side_top nav{margin:0!important}
.side_top nav ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0;justify-content:center}
.side_top nav ul li{float:none!important;display:inline-block!important;height:auto!important;padding:0!important;background:none!important}
.side_top nav ul li a{display:inline-flex!important;align-items:center;padding:9px 17px!important;height:auto!important;line-height:1.3!important;border-radius:11px;border:1px solid var(--border);background:var(--card);color:var(--text-dim)!important;font-size:12.5px!important;text-transform:none!important;font-weight:500;transition:.22s}
.side_top nav ul li a:hover{background:var(--card2)!important;color:var(--accent)!important;border-color:var(--accent);transform:translateY(-2px)}
aside{display:block;float:none!important;width:auto!important;padding:0!important;margin:0!important;background:transparent!important}
.mh-lower{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:22px;align-items:start}
.mh-lower main{min-width:0}
.mh-aside{min-width:0}

/* ============================================================
   LEGACY BLOCKS (r_block / hblock_content / informer)
   ============================================================ */
.r_block,.block,.informer,.white{
  background:var(--grad-panel)!important;border:1px solid var(--border)!important;
  border-radius:16px!important;color:var(--text)!important;box-shadow:var(--shadow-sm);
  margin:0 0 18px!important;overflow:hidden;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
.hblock_content,.r_block>.hblock_content,.block>.hblock_content,h1.hblock_content,h2.hblock_content,h4.hblock_content{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 16%,var(--card-solid)),var(--card-solid))!important;
  background-image:none!important;
  color:var(--text)!important;border-bottom:1px solid var(--border)!important;
  padding:15px 20px!important;font-size:17px!important;font-weight:600!important;
  height:auto!important;line-height:1.35!important;min-height:0!important;
  letter-spacing:-.2px;text-transform:none!important;font-family:Rubik,Arial,sans-serif!important
}
.block_content,.r_block>.block_content,.block>.block_content{padding:19px 21px!important;background:transparent!important;color:var(--text)!important}
.v_mess,.mess,.text,.pretext{color:var(--text)!important}
.muted,.v_info,.grey,.v_mess{color:var(--muted)!important}
.alert{background:var(--card)!important;border:1px solid var(--border)!important;border-left:3px solid var(--accent)!important;color:var(--text)!important;border-radius:13px!important;padding:15px 19px!important;box-shadow:none!important}
.alert-info{background:color-mix(in srgb,var(--accent) 11%,var(--card))!important}
.alert b{color:var(--accent)!important}
.informer.blue,.informer.white{background:var(--card)!important}
.info_version,.info_version1{background:var(--card)!important;border:1px solid var(--border)!important;color:var(--text)!important}

/* ============================================================
   TABLES / FORMS
   ============================================================ */
table.form,table.table_pad,table{border-color:var(--border)!important;width:100%;border-collapse:collapse}
table.form td,table.table_pad td,table td{padding:10px 11px;color:var(--text)!important;border-color:var(--border)!important;background:transparent!important;vertical-align:top}
th{background:var(--card2)!important;color:var(--text)!important;border-color:var(--border)!important;font-weight:600!important}
tr:hover td{background:color-mix(in srgb,var(--accent) 6%,transparent)!important}

input[type=text],input[type=password],input[type=email],input[type=number],input[type=search],input[type=tel],input[type=url],select,textarea{
  width:100%;padding:12px 15px;border:1px solid var(--border-strong);border-radius:11px;
  background:var(--card);color:var(--text)!important;outline:none;transition:.22s;font-size:13.5px
}
input::placeholder,textarea::placeholder{color:var(--muted)!important;opacity:.85}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3.5px var(--accent-glow)}
input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:auto}
select option{background:var(--surface-solid);color:var(--text)}
label{color:var(--text-dim)!important;font-size:12px;font-weight:500}

.btn,.button,.btn-short,.btn-success,.btn-primary{
  background:var(--accent)!important;color:var(--accent-ink)!important;
  border:1px solid transparent!important;border-radius:9px!important;padding:10px 20px!important;
  cursor:pointer;font-weight:500!important;box-shadow:0 1px 2px rgba(0,0,0,.1);transition:.18s;
  text-shadow:none!important
}
.btn:hover,.button:hover{transform:translateY(-1px);background:var(--accent2)!important;color:var(--accent-ink)!important}
.btn-yellow{background:linear-gradient(135deg,#ffdf6b,#ffb02e)!important;color:#2a1a00!important;border:0!important;border-radius:11px!important;padding:11px 20px!important;font-weight:600!important;cursor:pointer}
.btn.left{margin:0 6px 6px 0}

/* pagination */
.pagination{gap:6px!important}
.pagination a,.pagination span{background:var(--card)!important;border:1px solid var(--border)!important;color:var(--text)!important;border-radius:10px!important;font-weight:500!important;box-shadow:none!important}
.pagination a:hover{background:var(--grad-accent)!important;color:var(--accent-ink)!important;border-color:transparent!important;transform:translateY(-2px)}
.pagination .pagination-current{background:var(--grad-accent)!important;color:var(--accent-ink)!important;border-color:transparent!important}

/* breadcrumb */
.breadcrumb,.nav_path,.path{color:var(--muted)!important;background:transparent!important}
.breadcrumb a,.nav_path a{color:var(--muted)!important}
.breadcrumb a:hover{color:var(--accent)!important}

/* server nav */
.server_nav{width:100%;border-collapse:separate;border-spacing:6px 0}
.server_nav td a{display:block;padding:11px 15px;border-radius:11px;background:var(--card);border:1px solid var(--border);color:var(--text-dim)!important;font-size:12.5px;text-align:center;font-weight:500;transition:.22s}
.server_nav td a:hover,.server_nav td a.active{background:var(--grad-accent);color:var(--accent-ink)!important;border-color:transparent;box-shadow:0 8px 20px var(--accent-glow)}
.server_nav td a i{margin-right:6px}

/* space */
.space{height:18px}
.full_screen{width:100%}

/* ============================================================
   NEWS
   ============================================================ */
.mh-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:16px}
.mh-news{border:1px solid var(--border);border-radius:17px;background:var(--grad-panel);overflow:hidden;transition:.28s;position:relative;backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.mh-news:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 24px 44px rgba(0,0,0,.38)}
.mh-news-cover{display:block;overflow:hidden;position:relative;aspect-ratio:2.1;background:var(--card-solid)}
.mh-news-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.mh-news:hover .mh-news-cover img{transform:scale(1.06)}
.mh-news-body{padding:17px 19px}
.mh-news-body h3{font-size:16.5px;margin:0 0 9px;font-weight:600!important}
.mh-news-body h3 a{color:var(--text)!important}
.mh-news-body h3 a:hover{color:var(--accent)!important}
.mh-news-body p,.mh-news-text{color:var(--muted)!important;font-size:12.5px;margin:0 0 13px;line-height:1.68}
.mh-news-text{max-height:84px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}
.mh-news-text pre{white-space:pre-wrap;word-wrap:break-word;font:inherit;margin:0;color:inherit}
.mh-news-text img{max-width:100%;height:auto;border-radius:9px}
.mh-meta{display:flex;flex-wrap:wrap;gap:13px;align-items:center;color:var(--muted)!important;font-size:11px;font-weight:500}
.mh-meta a{color:var(--accent)!important;font-weight:600}
.mh-meta i{color:var(--accent)!important;margin-right:4px}

/* ============================================================
   AUTH
   ============================================================ */
.mh-auth{max-width:530px;margin:8px auto}
.mh-auth .form-row{margin-bottom:15px}
.mh-auth label{display:block;font-size:12px;color:var(--muted)!important;margin-bottom:7px;font-weight:500}
.mh-tabs{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.mh-tab{padding:9px 19px;border-radius:22px;border:1px solid var(--border);background:var(--card);color:var(--muted)!important;font-size:12px;cursor:pointer;font-weight:500}
.mh-tab[aria-selected="true"]{background:var(--grad-accent);color:var(--accent-ink)!important;border-color:transparent}

/* ============================================================
   TABLES (monitoring)
   ============================================================ */
.mh-table{width:100%;border-collapse:collapse}
.mh-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.9px;color:var(--muted)!important;padding:12px;border-bottom:1px solid var(--border)}
.mh-table td{padding:13px;border-bottom:1px solid var(--border);font-size:12.5px;color:var(--text)!important}
.mh-table tr:hover td{background:var(--card2)}
.mh-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block;margin-right:7px;box-shadow:0 0 0 3px color-mix(in srgb,var(--ok) 25%,transparent)}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.mh-theme-sun,.mh-theme-moon{width:18px;height:18px}
html[data-theme="light"] .mh-theme-moon{display:none}
html:not([data-theme="light"]) .mh-theme-sun{display:none}

/* ============================================================
   DESC / UTILS
   ============================================================ */
.mh-desc{background:var(--grad-panel);border:1px solid var(--border);border-radius:20px;padding:28px 30px;margin-bottom:24px;box-shadow:var(--shadow);position:relative;overflow:hidden;backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.mh-desc:before{content:'';position:absolute;bottom:-100px;left:-70px;width:260px;height:260px;border-radius:50%;background:color-mix(in srgb,var(--cyan) 18%,transparent);filter:blur(60px);opacity:.55;pointer-events:none}
.mh-desc h2{font-size:22px;display:flex;align-items:center;gap:11px;letter-spacing:-.3px}
.mh-desc h2 i{color:var(--accent)!important}
.mh-desc p,.mh-desc div{color:var(--text-dim)!important;font-size:13.5px;line-height:1.82;position:relative}

.mh-center{text-align:center}
.mh-mt{margin-top:18px}
.mh-mb{margin-bottom:18px}
.mh-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.mh-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 13px;border-radius:22px;font-size:11px;font-weight:600;background:color-mix(in srgb,var(--accent) 17%,transparent);color:var(--accent)!important;border:1px solid color-mix(in srgb,var(--accent) 34%,transparent)}

/* ============================================================
   LEGACY COMPONENTS (services grid, wiki, forms)
   ============================================================ */
.services{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:13px;overflow:visible!important;margin:0 0 8px!important;width:auto!important}
.service_block{
  float:none!important;width:auto!important;height:auto!important;
  border:1px solid var(--border)!important;border-radius:15px!important;
  background:var(--grad-panel);padding:9px;margin:0!important;position:relative;
  transition:transform .26s,box-shadow .26s,border-color .26s;overflow:hidden;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
.service_block:hover{transform:translateY(-4px);border-color:var(--accent)!important;box-shadow:0 20px 38px rgba(0,0,0,.34)}
.service_block .poster{width:100%!important;height:112px!important;object-fit:cover;border-radius:11px!important;display:block;margin:0 0 9px}
.service_block .service_game{font:600 12.5px Rubik,Arial,sans-serif!important;text-transform:none!important;color:var(--text)!important;letter-spacing:.2px;min-height:32px;line-height:1.35}
.service_block .service_slot{font:700 15px Rubik,Arial,sans-serif!important;text-transform:none!important;color:var(--accent)!important;margin:4px 0 8px}
.service_block .read_more{
  width:100%!important;height:35px!important;background:var(--accent)!important;
  font:500 11.5px/35px Rubik,Arial,sans-serif!important;text-transform:none!important;
  color:var(--accent-ink)!important;border-radius:9px!important;margin:6px 0 0;display:block;text-align:center;
  box-shadow:0 1px 2px rgba(0,0,0,.1)
}
.service_block .read_more:hover{background:var(--accent2)!important;color:var(--accent-ink)!important}
.service_block .read_more:hover{filter:brightness(1.08);background:var(--grad-accent)!important;color:var(--accent-ink)!important}
.service_block .new.badge{position:absolute!important;top:10px;right:10px;background:var(--grad-accent)!important;color:var(--accent-ink)!important;padding:4px 11px!important;border-radius:22px!important;font:600 10px Rubik,Arial,sans-serif!important;letter-spacing:.7px;box-shadow:0 3px 9px var(--accent-glow)}

.image-frame{width:100%!important;max-width:790px;border:1px solid var(--border)!important;border-radius:16px!important;overflow:hidden;box-shadow:var(--shadow-sm)!important;margin:0 auto 18px}
.image-frame img{width:100%;height:auto;display:block;max-height:230px;object-fit:cover}

.pretext{white-space:pre-wrap;word-wrap:break-word;font:400 13.5px/1.78 Rubik,Arial,sans-serif!important;color:var(--text)!important;background:var(--card)!important;border:1px solid var(--border)!important;border-radius:13px;padding:17px 19px}
.help_question{margin-top:12px;color:var(--muted)!important;font-size:12px}

.mini-banner{display:flex;justify-content:center;margin:8px 0}
.mini-banner-img{width:100%;max-width:300px;height:auto;border-radius:11px}

.language{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:8px}
.langsItem{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--border);border-radius:11px;cursor:pointer;color:var(--text-dim)!important;font-size:12.5px;background:var(--card);transition:.2s}
.langsItem:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px)}
.language__img{width:20px;height:14px;object-fit:cover;border-radius:3px}

/* popup */
.popup-overlay{display:none!important;position:fixed;inset:0;background:rgba(4,10,22,.74);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);z-index:1000;justify-content:center;align-items:center}
.popup-overlay.popup-visible{display:flex!important}
.popup-content{background:var(--surface-solid);border:1px solid var(--border-strong);border-radius:21px;padding:34px 30px;max-width:460px;width:90%;text-align:center;box-shadow:var(--shadow);animation:popup-appear .35s ease-out}
.popup-content:before{display:none!important;animation:none!important}
.popup-content h2{color:var(--text)!important;margin-bottom:12px;font-size:21px!important;text-shadow:none!important}
.popup-content p{color:var(--muted)!important;line-height:1.72;font-size:13.5px;margin-bottom:22px}
.popup-content .server-icon{font-size:46px;margin-bottom:12px;color:var(--accent)!important;text-shadow:none!important}
.popup-close{padding:12px 28px;background:var(--grad-accent)!important;color:var(--accent-ink)!important;border:0;border-radius:12px;cursor:pointer;font-weight:600}
@keyframes popup-appear{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}

/* ============================================================
   FOOTER
   ============================================================ */
.mh-footer{
  background:linear-gradient(180deg,var(--bg2),var(--bg));
  border-top:1px solid var(--border);padding:40px 0 24px;margin-top:28px;
  float:none!important;width:100%!important;height:auto!important;position:relative;overflow:hidden
}
.mh-footer:before{content:'';position:absolute;top:-140px;left:50%;transform:translateX(-50%);width:620px;height:280px;border-radius:50%;background:var(--accent-glow);filter:blur(90px);opacity:.35;pointer-events:none}
.mh-footer>.mh-wrap{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:32px;position:relative}
.mh-footer .mh-brand{font-size:23px;color:var(--text)!important}
.mh-footer .mh-brand img{width:42px;height:48px}
.mh-footer p{color:var(--muted)!important;font-size:12.5px;margin:13px 0 0;line-height:1.75}
.mh-footer h2{color:var(--text)!important;font-size:12.5px!important;margin:0 0 13px!important;text-transform:uppercase;letter-spacing:1.3px;font-weight:700!important}
.mh-footer a{color:var(--muted)!important;display:flex;align-items:center;gap:10px;line-height:2.1;font-size:12.5px;font-weight:500}
.mh-footer a:hover{color:var(--accent)!important}
.mh-footer a i,.mh-footer a .mh-icon{width:17px;height:17px;color:var(--accent)!important}
.mh-footer .mhp-footer-social{width:17px;height:17px;opacity:.85}
.mh-copyright{
  grid-column:1/-1;border-top:1px solid var(--border);padding-top:19px;margin:10px 0 0;
  color:var(--muted)!important;font-size:12px;display:flex;flex-wrap:wrap;gap:14px;
  align-items:center;justify-content:space-between;position:relative
}
.mh-copyright button{background:var(--card);border:1px solid var(--border);border-radius:9px;padding:7px 15px;color:var(--muted)!important;cursor:pointer;font-size:12px}
.mh-copyright button:hover{color:var(--accent)!important;border-color:var(--accent)}
.mh-copyright .mh-meta{gap:16px}

/* ============================================================
   COOKIE BAR
   ============================================================ */
.mh-cookie{
  position:fixed;left:18px;right:18px;bottom:18px;z-index:200;
  display:flex;flex-wrap:wrap;align-items:center;gap:14px;justify-content:space-between;
  padding:16px 20px;border-radius:16px;background:var(--surface-solid);
  border:1px solid var(--border-strong);box-shadow:var(--shadow)
}
.mh-cookie p{margin:0;color:var(--muted)!important;font-size:12.5px;max-width:70ch}
.mh-cookie .mh-actions{gap:10px}

/* ============================================================
   MODAL (bootstrap legacy)
   ============================================================ */
.modal-content,.modal-body,.modal-header,.modal-footer{background:var(--surface-solid)!important;color:var(--text)!important;border-color:var(--border)!important}
.modal-header{border-bottom:1px solid var(--border)!important}
.modal-footer{border-top:1px solid var(--border)!important}
.bootbox .modal-body{color:var(--text)!important}
h3.red{color:var(--bad)!important}

/* ============================================================
   FORM FIELDS HARD RESET  (beats inline <style> inside pages)
   ============================================================ */
input,select,textarea,keygen,button,option{
  background-color:var(--card)!important;
  color:var(--text)!important;
  border-color:var(--border-strong)!important;
}
input[type=text],input[type=password],input[type=email],input[type=number],
input[type=search],input[type=tel],input[type=url],input[type=submit],
select,textarea,.form-control,.inputports,.form-control:focus{
  background-color:var(--card)!important;
  background-image:none!important;
  color:var(--text)!important;
  border:1px solid var(--border-strong)!important;
}
input:focus,select:focus,textarea:focus,.form-control:focus,.inputports:focus{
  background-color:var(--card)!important;
  border-color:var(--accent)!important;
  outline:none!important;
  box-shadow:0 0 0 3.5px var(--accent-glow)!important;
  color:var(--text)!important;
}
input::placeholder,textarea::placeholder{color:var(--muted)!important;opacity:.9}
select option,select optgroup{
  background-color:var(--surface-solid)!important;
  color:var(--text)!important;
}
select:hover,textarea:hover,input:hover{border-color:var(--accent)!important}

label,label.control-label{color:var(--text-dim)!important;background:transparent!important;font-weight:500!important}
legend{color:var(--text)!important;background:transparent!important;border:0!important}

/* tables inside order forms */
table,table.table_pad,table.form,table.table{
  background-color:transparent!important;
  border-color:var(--border)!important;
}
table td,table th,table.table_pad td,table.table_pad th,table.form td,table.form th{
  background-color:transparent!important;
  color:var(--text)!important;
  border-color:var(--border)!important;
}
table tr:nth-child(even) td,table tr:nth-child(even),.table_pad tr:nth-child(even) td{
  background-color:rgba(255,255,255,.035)!important;
}
html[data-theme="light"] table tr:nth-child(even) td,
html[data-theme="light"] table tr:nth-child(even),
html[data-theme="light"] .table_pad tr:nth-child(even) td{
  background-color:rgba(20,60,120,.04)!important;
}
table tr:hover td{background-color:color-mix(in srgb,var(--accent) 10%,transparent)!important}

/* blocks that pages hardcode white */
.block_content,.block_content td,.r_block>.block_content,
.panel,.panel-body,.well,.alert,.form-horizontal,.tab-content,
.bordered,.content-block,.settings-block{
  background-color:transparent!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
.bordered,.content-block,.settings-block{background-color:var(--card)!important;border:1px solid var(--border)!important;border-radius:12px!important}

/* generic inline-styled light boxes */
[style*="background-color: #fff"],
[style*="background-color: #ffffff"],
[style*="background-color:#fff"],
[style*="background-color:#ffffff"],
[style*="background: #fff"],
[style*="background: #ffffff"],
[style*="background:#fff"],
[style*="background:#ffffff"],
[style*="background: white"],
[style*="background:white"]{
  background-color:var(--card)!important;
  background-image:none!important;
  color:var(--text)!important;
}

/* buttons on order pages */
.btn,.button,.btn-primary,.btn-success,.btn-default,.btn-info,.btn-warning,.btn-danger{
  background-color:var(--accent)!important;
  background-image:none!important;
  color:var(--accent-ink)!important;
  border-color:transparent!important;
}
.btn:hover,.button:hover,.btn-primary:hover,.btn-success:hover{
  background-color:var(--accent2)!important;
  color:var(--accent-ink)!important;
}
.btn.disabled,.btn[disabled]{opacity:.55}

/* helper text / hints */
.help-block,.hint,.form-hint,small,.text-muted{color:var(--muted)!important}

/* ============================================================
   SERVER CONTROL PANEL
   ============================================================ */

/* --- horizontal tab menu (gmenu) --- */
.full_screen{width:100%!important;overflow:visible!important;display:block}
table.server_nav{
  display:flex!important;flex-wrap:wrap!important;gap:5px!important;
  width:100%!important;margin:0 0 16px!important;border:0!important;
  border-collapse:separate!important;border-spacing:0!important;
  background:transparent!important;padding:6px!important;
  border:1px solid var(--border)!important;border-radius:14px!important;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
table.server_nav tbody,table.server_nav tr{display:contents!important}
table.server_nav td{
  display:block!important;float:none!important;
  padding:0!important;margin:0!important;border:0!important;
  background:transparent!important;flex:0 1 auto!important;
  min-width:0!important;width:auto!important;height:auto!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important
}
table.server_nav td a{
  display:flex!important;align-items:center;gap:5px;justify-content:center;
  padding:6px 10px!important;margin:0!important;height:auto!important;min-width:0!important;
  border:1px solid transparent!important;border-radius:8px!important;
  background:transparent!important;color:var(--muted)!important;
  font:500 11px/1.2 Rubik,Arial,sans-serif!important;
  white-space:nowrap!important;letter-spacing:.1px;
  transition:background .18s,color .18s,box-shadow .18s
}
table.server_nav td a i,table.server_nav td a svg{
  font-size:10px!important;width:12px!important;flex:none!important;
  display:inline-block!important;float:none!important;margin:0!important;
  color:var(--muted)!important;opacity:.9
}
table.server_nav td a:hover{
  background:var(--card2)!important;color:var(--text)!important
}
table.server_nav td a:hover i,table.server_nav td a:hover svg{color:var(--accent)!important}
table.server_nav td a.active,table.server_nav .active{
  background:var(--grad-accent)!important;color:var(--accent-ink)!important;
  box-shadow:0 3px 9px var(--accent-glow)
}
table.server_nav td a.active i,table.server_nav td a.active svg{color:var(--accent-ink)!important;opacity:1}

/* --- vertical menu (vmenu) --- */
.mini_screen{
  width:100%!important;margin:0 0 14px!important;padding:0!important;
  border:1px solid var(--border)!important;border-radius:14px!important;
  background:var(--grad-panel)!important;overflow:hidden;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)
}
.mini_screen > .title{
  padding:11px 15px!important;margin:0!important;height:auto!important;line-height:1.3!important;
  font:600 11px Rubik,Arial,sans-serif!important;letter-spacing:1px;text-transform:uppercase;
  color:var(--muted)!important;background:transparent!important;
  border-bottom:1px solid var(--border)!important;
  border-radius:0!important;box-shadow:none!important
}
.mini_screen ul{list-style:none;margin:0!important;padding:6px!important}
.mini_screen ul li{margin:0!important;padding:0!important;float:none!important;display:block!important}
.mini_screen ul li a{
  display:flex!important;align-items:center;gap:8px;
  padding:7px 11px!important;margin:1px 0!important;height:auto!important;
  border:0!important;border-radius:8px!important;
  background:transparent!important;color:var(--muted)!important;
  font:500 11.5px/1.3 Rubik,Arial,sans-serif!important;white-space:nowrap!important
}
.mini_screen ul li a i,.mini_screen ul li a svg{
  width:14px!important;font-size:11px!important;flex:none!important;
  display:inline-block!important;float:none!important;margin:0!important;color:var(--muted)!important
}
.mini_screen ul li a:hover{background:var(--card2)!important;color:var(--text)!important}
.mini_screen ul li a:hover i,.mini_screen ul li a:hover svg{color:var(--accent)!important}
.mini_screen ul li a.active{
  background:var(--grad-accent)!important;color:var(--accent-ink)!important;
  box-shadow:0 3px 9px var(--accent-glow)
}
.mini_screen ul li a.active i,.mini_screen ul li a.active svg{color:var(--accent-ink)!important}

/* --- server settings columns (kill hardcoded 260px / 530px) --- */
.left[style*="width: 260px"],
.left[style*="width:260px"]{
  width:calc(31% - 9px)!important;max-width:none!important;
  float:left!important;margin:0 12px 12px 0!important
}
.right[style*="width: 530px"],
.right[style*="width:530px"]{
  width:calc(69% - 9px)!important;max-width:none!important;
  float:right!important;margin:0 0 12px!important
}
.left[style*="width: 260px"] + .right[style*="width: 530px"],
.left[style*="width:260px"] + .right[style*="width:530px"]{clear:none!important}
/* the .right on server index is 40% — keep it, just tidy */
.right[style*="width: 40%"],.right[style*="width:40%"]{
  width:calc(40% - 12px)!important;max-width:none!important
}
.left:not([style*="width"]){width:calc(60% - 12px)!important;max-width:none!important}

/* clearfix for floated columns */
.side_left > *:has(> .left),.side_left:has(> .left){overflow:visible!important}
.side_left:after,.block_content:after,.left:after,.right:after{content:'';display:table;clear:both}

/* --- server info card (original layout: img left, table right) --- */
.server_list{
  width:100%!important;display:block!important;
  padding:0!important;margin:0!important;overflow:visible!important
}
.server_list .server_img{
  display:block!important;float:left!important;
  width:172px!important;height:128px!important;
  margin:2px 16px 12px 0!important;
  border-radius:12px!important;overflow:hidden;
  border:1px solid var(--border)!important;background:var(--card-solid)
}
.server_list .server_img img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block
}
.server_name{
  font:700 16px Rubik,Arial,sans-serif!important;color:var(--text)!important;
  letter-spacing:-.3px;margin:0!important;background:transparent!important;
  max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
.server_list table{
  width:calc(100% - 188px)!important;margin:0!important;
  border-collapse:collapse!important;border-spacing:0!important;
  background:transparent!important;float:right!important
}
.server_list table td{
  padding:7px 10px!important;vertical-align:middle!important;
  border:0!important;border-bottom:1px solid var(--border)!important;
  background:transparent!important;color:var(--text)!important;
  font:400 12px/1.5 Rubik,Arial,sans-serif!important;
  box-shadow:none!important;border-radius:0!important;text-align:left!important
}
.server_list table tr:last-child td{border-bottom:0!important;padding-top:11px!important;padding-bottom:4px!important}
.server_list table td u{color:var(--accent)!important;text-decoration:none;font-weight:600}
.server_list #online{color:var(--accent)!important;font-weight:700}
.server_list #buttons{white-space:normal!important}
.server_list #status{font-weight:600!important}
.server_list .btn{position:relative!important;bottom:0!important}
.server_list:before,.server_list:after{content:'';display:table;clear:both}

/* --- action buttons --- */
.btn,.btn-short,.btn-blue,.btn-green,.btn-gray,.btn-info,.btn-success,.btn-primary{
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;
  padding:8px 15px!important;height:auto!important;line-height:1.3!important;
  border-radius:9px!important;border:1px solid transparent!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;text-shadow:none!important;
  cursor:pointer;white-space:nowrap!important;transition:.2s
}
.btn-blue,.btn-info{background:var(--accent)!important;color:var(--accent-ink)!important;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.btn-green,.btn-success{background:#1f9d63!important;color:#ffffff!important;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.btn-gray,.btn-default{background:var(--card)!important;color:var(--text)!important;border-color:var(--border-strong)!important;box-shadow:none}
.btn:hover,.btn-short:hover,.btn-blue:hover,.btn-green:hover,.btn-gray:hover{
  transform:translateY(-1px);filter:none
}
.btn-blue:hover,.btn-info:hover{background:var(--accent2)!important}
.btn-green:hover,.btn-success:hover{background:#188654!important}
.btn.right{float:none!important;margin:0 0 0 6px!important}

/* --- load gauges --- */
.unit-load-container{background:transparent!important}
.unit-load-bar{background-color:var(--card)!important;border:1px solid var(--border)!important;border-radius:6px!important;height:7px!important}
.unit-load-fill{border-radius:6px!important}
.unit-load-text{color:var(--muted)!important;font-size:11px!important}
.unit-load-numbers{color:var(--accent)!important;font-weight:600!important}
#load_usr,#load_cpu,#load_ram,#load_hdd{min-width:80px}

/* --- console --- */
.server_console pre{
  background-color:#0b1424;color:#c3d9ff;
  border:1px solid var(--border)!important;border-radius:12px!important;
  font:400 11.5px/1.6 Consolas,Monaco,monospace!important
}

/* --- generic block title inside panel --- */
.block .title,.service > .title{
  background:transparent!important;color:var(--muted)!important;
  border-bottom:1px solid var(--border)!important;height:auto!important;
  padding:11px 15px!important;font:600 11px Rubik,Arial,sans-serif!important;
  letter-spacing:1px;text-transform:uppercase
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1280px){
  .mh-nav{gap:3px}
  .mh-nav a{font-size:11.5px;padding:8px 10px}
  .mh-brand{font-size:23px}
  .mh-hero-copy{padding:36px}
  .mh-perks{left:36px;width:58%;gap:9px}
  .mh-glass{width:33%}
}
@media(max-width:1024px){
  .mh-wrap{width:calc(100% - 28px)}
  .mh-brand{flex:none}
  .mh-burger{display:grid}
  .mh-header-tools{flex:none;margin-left:auto}
  .mh-nav{display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;bottom:auto;width:100%;max-width:none;transform:none;pointer-events:auto;padding:15px;z-index:90;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:none;gap:3px;border:1px solid var(--border-strong);border-radius:17px;background:var(--surface-solid);box-shadow:var(--shadow)}
  .mh-nav a{pointer-events:auto}
  .mh-nav.is-open{display:flex}
  .mh-nav a{font-size:14px;padding:12px 13px;border-radius:11px}
  .mh-nav a.is-active:after{display:none}
  .mh-hero{min-height:540px}
  .mh-hero-copy{width:100%;padding:28px 26px}
  .mh-glass{display:none}
  .mh-perks{position:static;width:auto;margin:0 26px 26px}
  .mh-lower{grid-template-columns:minmax(0,1fr)}
  .mh-aside{margin-top:8px}
  .mh-footer>.mh-wrap{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .mh-top>span{display:none}
  .mh-top{justify-content:flex-end}
  .mh-top>div{gap:11px}
  .mh-header{padding:12px 14px;border-radius:15px;min-height:70px;gap:10px}
  .mh-brand{font-size:20px;gap:8px}
  .mh-brand img{width:34px;height:40px}
  .mh-brand-name small{font-size:7px;letter-spacing:.8px}
  .mh-hero{min-height:580px;border-radius:17px}
  .mh-hero h1,.mh-hero h2{font-size:28px;letter-spacing:-.8px}
  .mh-hero-copy{padding:22px 18px}
  .mh-perks{grid-template-columns:1fr;margin:0 18px 18px;gap:8px}
  .mh-perks>div{padding:10px 12px;font-size:11px}
  .mh-features-grid{grid-template-columns:1fr 1fr;gap:10px}
  .mh-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mh-news-grid{grid-template-columns:1fr}
  .mh-footer>.mh-wrap{grid-template-columns:1fr}
  .mh-copyright{flex-direction:column;align-items:flex-start}
  .mh-cookie{left:10px;right:10px;bottom:10px;padding:14px}
  .mh-section-head{flex-direction:column;align-items:flex-start}
  .services{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service_block .poster{height:88px}
  table.server_nav td a{padding:6px 9px!important;font-size:10px!important;gap:4px!important}
  table.server_nav td a i,table.server_nav td a svg{width:11px!important;font-size:10px!important}
  .server_list .server_img{width:120px!important;height:92px!important;margin-right:12px!important}
  .server_list table{width:calc(100% - 132px)!important}
  .server_list table td{font-size:11px!important;padding:6px 8px!important}
  .server_name{font-size:14px!important}
  .mini_screen ul li a{padding:6px 8px!important;font-size:11px!important}
  .left,.right{width:100%!important;float:none!important;margin:0 0 12px!important}
  .left[style*="width: 260px"],.right[style*="width: 530px"],
  .right[style*="width: 40%"],.left:not([style*="width"]){width:100%!important;float:none!important}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ============================================================
   MENUS — primary nav (pill tabs) + utility strip
   ============================================================ */

/* --- PRIMARY NAV : segmented pill tabs, centred --- */
.mh-nav{
  gap:3px;
  padding:0 210px;
  pointer-events:none;
}
.mh-nav a{
  pointer-events:auto;
  position:relative;
  padding:8px 16px;
  margin:0;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--text-dim)!important;
  font:500 12.5px/1.2 Rubik,Arial,sans-serif!important;
  letter-spacing:.1px;
  transition:background .18s,color .18s,border-color .18s;
}
.mh-nav a:hover{
  background:var(--card2)!important;
  color:var(--text)!important;
  border-color:var(--border);
}
.mh-nav a.is-active,.mh-nav a.is-current{
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  border-color:transparent!important;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.mh-nav a.is-active:after,.mh-nav a.is-current:after{display:none!important}

/* --- SECONDARY UTILITY STRIP (side_top) --- */
.side_top{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:0;
  width:100%!important;
  margin:0 0 16px!important;
  padding:0 12px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--card)!important;
}
.side_top nav{width:100%!important;margin:0!important;display:flex;justify-content:center}
.side_top nav ul{
  display:flex!important;flex-wrap:wrap!important;
  gap:0!important;justify-content:center!important;
  width:100%!important;margin:0!important;padding:0!important;
  list-style:none
}
.side_top nav ul li{
  display:block!important;float:none!important;
  margin:0!important;padding:0!important;height:auto!important;
  background:none!important;position:relative
}
.side_top nav ul li + li:before{
  content:'';position:absolute;left:0;top:28%;bottom:28%;width:1px;
  background:var(--border);
}
.side_top nav ul li a{
  display:flex!important;align-items:center!important;gap:6px;
  padding:11px 15px!important;height:auto!important;line-height:1.2!important;
  margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;
  color:var(--muted)!important;
  font:500 11.5px/1.2 Rubik,Arial,sans-serif!important;
  text-transform:none!important;letter-spacing:.2px;
  transition:color .18s,background .18s
}
.side_top nav ul li a:hover{
  background:transparent!important;
  color:var(--accent)!important
}
.side_top nav ul li a:after{
  content:'';position:absolute;left:15px;right:15px;bottom:6px;height:2px;
  border-radius:2px;background:var(--accent);
  transform:scaleX(0);transform-origin:center;transition:transform .22s ease
}
.side_top nav ul li a:hover:after{transform:scaleX(1)}
.side_top nav ul li a.is-active,.side_top nav ul li a.active{
  color:var(--accent)!important;background:transparent!important
}
.side_top nav ul li a.is-active:after,.side_top nav ul li a.active:after{transform:scaleX(1)}

/* --- header tools stay tidy --- */
.mh-header-tools .mh-icon-btn{width:38px;height:38px;border-radius:10px;font-size:14px}

/* ============================================================
   MENUS RESPONSIVE
   ============================================================ */
@media(max-width:1280px){
  .mh-nav{padding:0 190px;gap:2px}
  .mh-nav a{padding:7px 11px;font-size:11.5px}
}
@media(max-width:1024px){
  .mh-nav{
    display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;
    width:100%;padding:10px;z-index:90;
    flex-direction:column;align-items:stretch;justify-content:flex-start;
    gap:2px;background:var(--surface-solid);
    border:1px solid var(--border-strong);border-radius:14px;
    box-shadow:var(--shadow);pointer-events:auto
  }
  .mh-nav.is-open{display:flex}
  .mh-nav a{
    padding:11px 13px;font-size:13.5px;border-radius:9px;
    width:100%;text-align:left;justify-content:flex-start
  }
  .mh-nav a.is-active:after,.mh-nav a.is-current:after{display:none!important}
  .side_top{padding:6px 8px!important}
  .side_top nav ul li + li:before{display:none}
  .side_top nav ul li a{padding:9px 11px!important;font-size:11px!important}
  .side_top nav ul li a:after{display:none}
}
@media(max-width:680px){
  .mh-nav{padding:8px}
  .mh-nav a{padding:10px 12px;font-size:13px}
  .side_top nav ul{justify-content:flex-start!important}
  .side_top nav ul li a{padding:8px 10px!important;font-size:10.5px!important}
}


/* ============================================================
   BUTTON TEXT CONTRAST — hard fix
   ============================================================ */
.btn,.button,.btn-short,.btn-max,.btn-blue,.btn-green,.btn-gray,.btn-info,
.btn-success,.btn-primary,.btn-error,.btn-warning,.btn-danger,.btn-default,
.btn-yellow,.read_more,.mh-btn,.mh-btn.mh-small,.mh-btn.mh-block,.popup-close{
  color:#ffffff!important;
  text-shadow:none!important;
}
.btn a,.btn i,.btn span,.btn div,.btn u,.btn small,.btn b,
.button a,.button span,.read_more i,.mh-btn i,.mh-btn span,.mh-btn .mh-icon,
.popup-close i,.popup-close span{
  color:inherit!important;
}
a.btn,a.button,a.btn-short,a.btn-blue,a.btn-green,a.btn-info,a.btn-success,
a.btn-primary,a.mh-btn,a.mh-btn.mh-small,a.read_more{
  color:#ffffff!important;
}
/* secondary / neutral buttons keep dark text */
.btn-gray,.btn-default,.btn-ghost,.mh-btn.mh-ghost,.mh-btn.mh-ghost:hover{
  color:var(--text)!important;
}
.btn-gray a,.btn-gray i,.btn-gray span,.btn-gray div,
.btn-default a,.btn-default i,.btn-default span,
.mh-btn.mh-ghost a,.mh-btn.mh-ghost i,.mh-btn.mh-ghost span,.mh-btn.mh-ghost .mh-icon{
  color:inherit!important;
}
.btn-gray:hover,.btn-default:hover,.mh-btn.mh-ghost:hover{color:var(--accent)!important}
.btn-gray:hover a,.btn-gray:hover i,.btn-gray:hover span{color:inherit!important}
/* yellow brand button */
.btn-yellow,.btn-yellow a,.btn-yellow i,.btn-yellow span{color:#2a1a00!important}
/* nav / tab active text */
table.server_nav td a.active,table.server_nav td a.active i,
table.server_nav td a.active svg,table.server_nav .active,
.mini_screen ul li a.active,.mini_screen ul li a.active i,.mini_screen ul li a.active svg,
.mh-filters button[aria-pressed="true"],.mh-filters button[aria-pressed="true"] i,
.mh-tab[aria-selected="true"],.mh-glass .mh-symbol,.mh-glass .mh-symbol i,
.pagination a:hover,.pagination .pagination-current,
.service_block .new.badge,.service_block .read_more,.service_block .read_more:hover{
  color:#ffffff!important;
}
/* hover state text */
.btn:hover,.button:hover,.btn-blue:hover,.btn-green:hover,.btn-success:hover,
.btn-primary:hover,.btn-info:hover,.btn-error:hover,.btn-warning:hover,
.btn-danger:hover,.btn-short:hover,.btn-max:hover,.read_more:hover,
.mh-btn:hover,.popup-close:hover{
  color:#ffffff!important;
}


/* ============================================================
   HERO — myhost.su style
   ============================================================ */
.mh-hero{
  position:relative;min-height:500px;border-radius:22px;overflow:hidden;
  isolation:isolate;border:1px solid var(--border-strong);
  box-shadow:var(--shadow);margin-bottom:26px;background:var(--bg2)
}
.mh-slide{
  position:absolute;inset:0;opacity:0;visibility:hidden;
  transition:opacity .8s ease,visibility .8s;
  background-size:cover;background-position:center
}
.mh-slide.is-active{opacity:1;visibility:visible;z-index:1}
.mh-slide:before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(7,12,22,.94) 0%,rgba(7,12,22,.78) 36%,rgba(7,12,22,.12) 66%,rgba(7,12,22,.5) 100%)
}
html[data-theme="light"] .mh-slide:before{
  background:linear-gradient(100deg,rgba(238,244,252,.95) 0%,rgba(238,244,252,.8) 36%,rgba(238,244,252,.12) 66%,rgba(238,244,252,.5) 100%)
}
.mh-slide:after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 300px at 10% 90%,var(--accent-glow),transparent 60%)
}

.mh-hero-copy{position:relative;z-index:3;padding:52px 54px;width:62%}
.mh-eyebrow{
  display:block;font-size:11px;letter-spacing:2.6px;line-height:1.6;
  text-transform:uppercase;color:var(--accent)!important;
  font-weight:500;margin-bottom:16px;background:none;border:0;padding:0
}
.mh-hero h1,.mh-hero h2{
  font-size:clamp(32px,3.5vw,50px);line-height:1.12;letter-spacing:-1.6px;
  margin:0 0 18px;max-width:720px;font-weight:500!important;
  color:var(--text)!important;text-shadow:0 6px 26px rgba(0,0,0,.3)
}
.mh-hero-copy p{
  font-size:15.5px;color:var(--text-dim)!important;line-height:1.75;
  margin:0 0 28px;max-width:540px
}
.mh-actions{display:flex;flex-wrap:wrap;gap:12px}
.mh-actions .mh-btn{padding:13px 26px;font-size:14px;border-radius:11px}

/* perks strip */
.mh-perks{
  position:absolute;left:54px;bottom:34px;width:52%;
  display:grid;grid-template-columns:repeat(3,1fr);gap:11px;z-index:3
}
.mh-perks>div{
  display:flex;align-items:center;gap:11px;padding:13px 15px;
  border-radius:16px;background:rgba(255,255,255,.1);
  border:1px solid var(--border-strong);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  font-size:12px;line-height:1.45;color:var(--text)!important
}
html[data-theme="light"] .mh-perks>div{background:rgba(255,255,255,.72)}
.mh-perks i{width:26px;height:26px;flex:none;font-size:20px;color:var(--accent)!important}
.mh-perks span{color:var(--text)!important;font-weight:500}
.mh-perks small{display:block;font-size:10.5px;color:var(--muted)!important;margin-top:2px;font-weight:400}

/* game glass card */
.mh-glass{
  position:absolute;right:22px;bottom:56px;width:33%;
  display:grid;grid-template-columns:50px 1fr;gap:13px;padding:18px;
  border:1px solid var(--border-strong);border-radius:18px;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);
  box-shadow:var(--shadow);z-index:3
}
html[data-theme="light"] .mh-glass{background:rgba(255,255,255,.74)}
.mh-glass .mh-symbol{
  height:50px;border-radius:13px;background:var(--accent);
  color:var(--accent-ink)!important;display:grid;place-items:center;font-size:21px
}
.mh-glass strong{display:block;font-size:18px;font-weight:500;letter-spacing:.4px;color:var(--text)!important}
.mh-glass span{font-size:11px;color:var(--muted)!important}
.mh-glass-links{grid-column:1/-1;display:flex;gap:8px}
.mh-glass-links a{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:11px 4px;border-radius:11px;
  background:rgba(255,255,255,.12);color:var(--text)!important;
  font-size:10px;font-weight:500;border:1px solid var(--border)
}
html[data-theme="light"] .mh-glass-links a{background:rgba(255,255,255,.8)}
.mh-glass-links a:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px)}
.mh-glass-links i{width:18px;height:18px;font-size:15px;color:var(--accent)!important}

/* slider controls + counter */
.mh-slider-controls{
  position:absolute;right:22px;bottom:12px;z-index:4;
  display:flex;gap:16px;align-items:center;
  color:var(--text-dim)!important;font-size:12px;font-weight:500;letter-spacing:1px
}
.mh-slider-controls button{
  width:36px;height:32px;border-radius:9px;
  border:1px solid var(--border-strong);background:rgba(255,255,255,.12);
  color:var(--text)!important;cursor:pointer;display:grid;place-items:center;transition:.2s
}
html[data-theme="light"] .mh-slider-controls button{background:rgba(255,255,255,.8)}
.mh-slider-controls button:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-2px)}
.mh-dots{position:absolute;right:22px;bottom:0;z-index:4;display:flex;gap:6px}
.mh-dots button{width:44px;height:3.5px;border:0;padding:0;background:var(--border-strong);cursor:pointer;border-radius:3px;transition:.25s}
.mh-dots button[aria-pressed="true"]{background:var(--accent);box-shadow:none}

/* hero responsive */
@media(max-width:1280px){
  .mh-hero-copy{padding:40px}
  .mh-perks{left:40px;width:56%;gap:8px}
  .mh-glass{width:34%}
}
@media(max-width:1024px){
  .mh-hero{min-height:540px}
  .mh-hero-copy{width:100%;padding:30px 28px}
  .mh-glass{display:none}
  .mh-perks{position:static;width:auto;margin:0 28px 28px}
}
@media(max-width:680px){
  .mh-hero{min-height:580px;border-radius:16px}
  .mh-hero h1,.mh-hero h2{font-size:29px;letter-spacing:-.9px}
  .mh-hero-copy{padding:24px 20px}
  .mh-eyebrow{font-size:9.5px;letter-spacing:1.8px}
  .mh-perks{grid-template-columns:1fr;margin:0 20px 20px;gap:8px}
  .mh-perks>div{padding:10px 12px;font-size:11px}
}


/* ============================================================
   HERO SLOT — full width above content + sidebar (myhost.su)
   ============================================================ */
.mh-hero-slot{
  width:100%;
  margin:0 0 24px;
  min-height:0
}
.mh-hero-slot:empty{display:none;margin:0}
.mh-hero-slot > .mh-hero{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  position:relative;
  z-index:2
}

/* kill the fragile display:contents / grid-area approach */
.mh-lower:has(.mh-hero) > main.side_left{
  display:block;
  grid-column:auto;
  grid-row:auto;
  min-width:0
}
.mh-lower:has(.mh-hero) > main.side_left > .mh-hero,
.mh-lower:has(.mh-hero) > main.side_left > *,
.mh-lower:has(.mh-hero) > aside.mh-aside{
  grid-column:auto;
  grid-row:auto;
  grid-area:auto;
  min-width:0
}
.mh-lower{
  display:grid;
  grid-template-columns:minmax(0,1fr) 268px;
  gap:22px;
  align-items:start
}
.mh-lower > main.side_left{min-width:0}
.mh-lower > aside.mh-aside{min-width:0}

@media(max-width:1024px){
  .mh-lower{grid-template-columns:minmax(0,1fr)}
}


/* ============================================================
   INLINE SVG icons (myhost.su style)
   ============================================================ */
.mh-icon{
  width:20px;height:20px;display:inline-block;vertical-align:middle;
  flex:none;stroke:currentColor;fill:none
}
.mh-btn .mh-icon{width:17px;height:17px}
.mh-btn.mh-small .mh-icon{width:15px;height:15px}
.mh-eyebrow .mh-icon{width:15px;height:15px}
.mh-glass .mh-symbol .mh-icon{width:26px;height:26px}
.mh-glass-links .mh-icon{width:18px;height:18px}
.mh-perks .mh-icon{width:26px;height:26px}
.mh-slider-controls .mh-icon{width:16px;height:16px}
.mh-filters .mh-icon{width:16px;height:16px}
.mh-cover-ico .mh-icon{width:17px;height:17px}
.mh-filters button .mh-icon{color:currentColor}
.mh-glass-links a .mh-icon{color:var(--accent)}
.mh-glass-links a:hover .mh-icon{color:var(--accent)}
.mh-slider-controls button .mh-icon{transform:none}
#mhPrev .mh-icon{transform:rotate(180deg)}


/* ============================================================
   HERO FORCED VISIBILITY — guarantee it never collapses
   ============================================================ */
.mh-hero-slot{
  display:block!important;
  width:100%!important;
  min-height:520px!important;
  margin:0 0 26px!important;
  position:relative;
  z-index:2
}
.mh-hero-slot > .mh-hero,
.mh-hero{
  display:block!important;
  width:100%!important;
  min-height:520px!important;
  height:520px!important;
  max-width:none!important;
  overflow:hidden!important;
  position:relative!important
}
.mh-slide{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  min-height:520px!important
}
.mh-slide.is-active{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:1
}
.mh-hero-copy{
  display:block!important;
  position:relative!important;
  z-index:3
}
.mh-hero h1,.mh-hero h2{margin-top:0!important}
@media(max-width:1024px){
  .mh-hero-slot,.mh-hero-slot > .mh-hero,.mh-hero,.mh-slide{min-height:560px!important;height:auto!important}
  .mh-hero{height:560px!important}
}
@media(max-width:680px){
  .mh-hero-slot,.mh-hero-slot > .mh-hero,.mh-hero,.mh-slide{min-height:600px!important}
  .mh-hero{height:600px!important}
}

/* ============================================================
   HERO SLOT — hide when empty (no empty gap on other pages)
   ============================================================ */
.mh-hero-slot{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  position:relative;
  z-index:2
}
.mh-hero-slot:empty{
  display:none!important;
  min-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important
}
.mh-hero-slot > .mh-hero{margin:0 0 26px!important}

/* ============================================================
   GAME PAGE HERO — static banner on each order page
   ============================================================ */
.mh-hero-page{
  display:block!important;
  position:relative!important;
  min-height:340px!important;
  height:auto!important;
  border-radius:20px!important;
  overflow:hidden!important;
  border:1px solid var(--border-strong)!important;
  background-color:var(--bg2)!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:var(--shadow)!important;
  margin:0 0 22px!important;
  isolation:isolate
}
.mh-hero-page:before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(7,12,22,.92) 0%,rgba(7,12,22,.72) 38%,rgba(7,12,22,.1) 70%,rgba(7,12,22,.45) 100%)
}
html[data-theme="light"] .mh-hero-page:before{
  background:linear-gradient(100deg,rgba(238,244,252,.93) 0%,rgba(238,244,252,.75) 38%,rgba(238,244,252,.12) 70%,rgba(238,244,252,.45) 100%)
}
.mh-hero-page .mh-hero-copy{
  position:relative;z-index:3;padding:38px 42px;width:62%;
  display:block!important
}
.mh-hero-page h1{
  font-size:clamp(26px,3vw,40px)!important;line-height:1.14;
  letter-spacing:-1.2px;margin:0 0 14px!important;
  font-weight:600!important;color:var(--text)!important;
  text-shadow:0 6px 24px rgba(0,0,0,.3)
}
.mh-hero-page .mh-hero-copy p{
  font-size:14.5px;color:var(--text-dim)!important;line-height:1.7;
  margin:0 0 22px!important;max-width:520px
}
.mh-hero-page .mh-eyebrow{
  display:block;font-size:10.5px;letter-spacing:2.4px;
  text-transform:uppercase;color:var(--accent)!important;
  font-weight:500;margin-bottom:13px;background:none!important;
  border:0!important;padding:0!important
}
.mh-hero-page .mh-glass{
  position:absolute;right:22px;bottom:26px;width:32%;
  display:grid;grid-template-columns:46px 1fr;gap:12px;padding:16px;
  border:1px solid var(--border-strong);border-radius:16px;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(16px) saturate(150%);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  box-shadow:var(--shadow);z-index:3
}
html[data-theme="light"] .mh-hero-page .mh-glass{background:rgba(255,255,255,.74)}
.mh-hero-page .mh-symbol{
  height:46px;border-radius:12px;background:var(--accent);
  color:var(--accent-ink)!important;display:grid;place-items:center;font-size:19px
}
.mh-hero-page .mh-glass strong{display:block;font-size:16px;font-weight:500;color:var(--text)!important}
.mh-hero-page .mh-glass span{font-size:11px;color:var(--muted)!important}
.mh-hero-page .mh-glass-links{grid-column:1/-1;display:flex;gap:7px}
.mh-hero-page .mh-glass-links a{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;
  padding:9px 4px;border-radius:10px;
  background:rgba(255,255,255,.12);color:var(--text)!important;
  font-size:9.5px;font-weight:500;border:1px solid var(--border)
}
html[data-theme="light"] .mh-hero-page .mh-glass-links a{background:rgba(255,255,255,.8)}
.mh-hero-page .mh-glass-links a:hover{border-color:var(--accent);color:var(--accent)!important}
.mh-hero-page .mh-glass-links .mh-icon{width:16px;height:16px;color:var(--accent)!important}
.mh-hero-page .mh-perks{
  position:absolute;left:42px;bottom:24px;width:54%;
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;z-index:3
}
.mh-hero-page .mh-perks>div{
  display:flex;align-items:center;gap:10px;padding:11px 13px;
  border-radius:14px;background:rgba(255,255,255,.1);
  border:1px solid var(--border-strong);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font-size:11.5px;line-height:1.4;color:var(--text)!important
}
html[data-theme="light"] .mh-hero-page .mh-perks>div{background:rgba(255,255,255,.72)}
.mh-hero-page .mh-perks .mh-icon{width:22px;height:22px;flex:none;color:var(--accent)!important;font-size:17px}
.mh-hero-page .mh-perks span{color:var(--text)!important;font-weight:500}
.mh-hero-page .mh-perks small{display:block;font-size:10px;color:var(--muted)!important;margin-top:1px}

@media(max-width:1024px){
  .mh-hero-page .mh-hero-copy{width:100%;padding:28px 24px}
  .mh-hero-page .mh-glass{display:none}
  .mh-hero-page .mh-perks{position:static;width:auto;margin:0 24px 24px;grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .mh-hero-page{min-height:280px!important}
  .mh-hero-page h1{font-size:24px!important}
  .mh-hero-page .mh-hero-copy{padding:22px 18px}
  .mh-hero-page .mh-perks{grid-template-columns:1fr;margin:0 18px 18px}
}

/* ============================================================
   SIDEBAR ICONS — coloured chips
   ============================================================ */
.mh-aside .block_menu a i,
.mh-aside .block_menu a .fa,
.mh-aside .block_menu a .fas,
.mh-aside .block_menu a svg{
  width:26px!important;height:26px!important;flex:none!important;
  display:grid!important;place-items:center;
  border-radius:8px;
  background:color-mix(in srgb,var(--accent) 14%,transparent);
  color:var(--accent)!important;
  font-size:12px!important;opacity:1;
  transition:background .2s,color .2s,transform .2s
}
.mh-aside .block_menu a:hover i,
.mh-aside .block_menu a:hover .fa,
.mh-aside .block_menu a:hover .fas,
.mh-aside .block_menu a:hover svg{
  background:var(--accent);
  color:var(--accent-ink)!important;
  transform:scale(1.06)
}
.mh-aside .block_menu a .notice{
  width:auto!important;height:auto!important;background:none!important;
  color:var(--accent)!important;margin-left:auto;font-size:11px!important
}
.mh-aside .l_block_head i,
.mh-aside .l_block_head .fa,
.mh-aside .l_block_head .fas{
  width:24px!important;height:24px!important;
  display:inline-grid!important;place-items:center;
  border-radius:7px;
  background:color-mix(in srgb,var(--accent) 16%,transparent);
  color:var(--accent)!important;font-size:11px!important;
  margin-right:8px;opacity:1
}

/* ============================================================
   SERVER PANEL — full button system
   ============================================================ */

/* base */
.btn,.btn-short,.btn-max,.btn-none,.btn-switch,.btn-primary,.btn-success,
.btn-info,.btn-warning,.btn-danger,.btn-error,.btn-gray,.btn-default,
.btn-blue,.btn-green,.btn-yellow,.btn.left,.btn.right{
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;
  padding:8px 15px!important;height:auto!important;min-height:32px;
  line-height:1.3!important;
  border-radius:9px!important;border:1px solid transparent!important;
  font:500 11.5px/1.3 Rubik,Arial,sans-serif!important;
  text-shadow:none!important;white-space:nowrap!important;
  cursor:pointer;transition:background .18s,color .18s,border-color .18s,transform .18s,box-shadow .18s;
  background:var(--accent)!important;color:#ffffff!important;
  box-shadow:0 1px 2px rgba(0,0,0,.1)
}
.btn:hover,.btn-short:hover,.btn-max:hover,.btn-none:hover,.btn-switch:hover,
.btn-primary:hover,.btn-success:hover,.btn-info:hover,.btn-warning:hover,
.btn-danger:hover,.btn-error:hover,.btn-gray:hover,.btn-default:hover,
.btn-blue:hover,.btn-green:hover{
  transform:translateY(-1px);color:#ffffff!important
}

/* primary / success */
.btn-success,.btn-primary,.btn-blue,.btn-green,.btn-info{
  background:var(--accent)!important;color:#ffffff!important
}
.btn-success:hover,.btn-primary:hover,.btn-blue:hover,.btn-green:hover,.btn-info:hover{
  background:var(--accent2)!important
}

/* danger */
.btn-error,.btn-danger{
  background:#d9414f!important;color:#ffffff!important
}
.btn-error:hover,.btn-danger:hover{background:#c23141!important}

/* warning */
.btn-warning{
  background:#e09025!important;color:#221400!important
}
.btn-warning:hover{background:#d1821a!important}

/* neutral / ghost */
.btn-gray,.btn-default,.btn-none{
  background:var(--card)!important;color:var(--text)!important;
  border-color:var(--border-strong)!important;box-shadow:none
}
.btn-gray:hover,.btn-default:hover,.btn-none:hover{
  background:var(--card2)!important;color:var(--accent)!important;
  border-color:var(--accent)!important
}

/* switch / toggle look */
.btn-switch{
  background:var(--card)!important;color:var(--text-dim)!important;
  border-color:var(--border)!important;border-radius:20px!important;
  padding:7px 16px!important;box-shadow:none
}
.btn-switch:hover,.btn-switch.active,.btn-switch.on{
  background:var(--accent)!important;color:#ffffff!important;border-color:transparent!important
}

/* wide / block button */
.btn-max{width:100%!important}

/* yellow brand */
.btn-yellow,.btn-yellow:hover{
  background:linear-gradient(180deg,#ffdf6b,#f0b429)!important;color:#2a1a00!important
}

/* icon inside buttons */
.btn i,.btn-short i,.btn-none i,.btn-max i,.btn-success i,.btn-error i,.btn-gray i{
  width:13px;font-size:11px;opacity:.9
}

/* console / specific helpers */
.btn.border{border:1px solid var(--border-strong)!important}
.console-yellow{background:#c9922b!important;color:#fff!important}

/* ============================================================
   SERVER PANEL — blocks and tables polish
   ============================================================ */
.hblock_content,.hblock_content.table_pad,.hblock_content.none{
  display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;
  padding:13px 17px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 13%,var(--card-solid)),var(--card-solid))!important;
  border:1px solid var(--border)!important;border-radius:13px!important;
  color:var(--text)!important;font:600 13px Rubik,Arial,sans-serif!important;
  margin:0 0 12px!important;height:auto!important;line-height:1.4!important
}
.block_content,.block_content.none{
  padding:16px 18px!important;
  background:var(--card)!important;
  border:1px solid var(--border)!important;border-radius:13px!important;
  margin:0 0 14px!important
}
.block .title,.service > .title,.title{
  padding:11px 15px!important;
  background:var(--card2)!important;
  border-bottom:1px solid var(--border)!important;
  color:var(--text)!important;font:600 11.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.7px;text-transform:uppercase;height:auto!important;line-height:1.4!important
}

/* tables in server panel */
table.table_pad,table.table_pad.input_pad,table.form,input_pad{
  width:100%!important;border-collapse:collapse!important;
  background:transparent!important
}
table.table_pad td,table.table_pad th,table.form td,table.form th{
  padding:9px 12px!important;
  border-bottom:1px solid var(--border)!important;
  background:transparent!important;color:var(--text)!important;
  font:400 12px/1.5 Rubik,Arial,sans-serif!important
}
table.table_pad tr:hover td{background:color-mix(in srgb,var(--accent) 6%,transparent)!important}
table.table_pad tr:last-child td{border-bottom:0!important}

/* inputs inside server forms */
input.inputports,input[type=text],input[type=password],input[type=number],select,textarea{
  background:var(--card)!important;color:var(--text)!important;
  border:1px solid var(--border-strong)!important;border-radius:9px!important;
  padding:8px 12px!important
}
input:focus,select:focus,textarea:focus{
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* server info rows */
.server_list table td{background:transparent!important}
.change_map,.change_close{
  background:var(--card)!important;border:1px solid var(--border)!important;
  color:var(--text)!important;border-radius:8px
}

/* load gauges */
.unit-load-bar{background:var(--card)!important;border:1px solid var(--border)!important}
.unit-load-text{color:var(--text-dim)!important}
.unit-load-numbers{color:var(--accent)!important}

@media(max-width:680px){
  .btn,.btn-short,.btn-max,.btn-none,.btn-switch,.btn-success,.btn-error,.btn-gray{
    padding:7px 11px!important;font-size:10.5px!important;min-height:28px
  }
  .mh-aside .block_menu a i,.mh-aside .block_menu a .fa,.mh-aside .block_menu a .fas{
    width:22px!important;height:22px!important;font-size:10px!important
  }
}

/* ============================================================
   FINAL POLISH — leftover hardcoded colours
   ============================================================ */
[style*="color: #C46666"],
[style*="color:#C46666"],
.red,.red b,.red span{
  color:var(--bad)!important
}
h3.red,h4.red{color:var(--bad)!important}
[style*="background: #fff"],
[style*="background:#fff"],
[style*="background-color: #fff"],
[style*="background-color:#fff"],
[style*="background: white"],
[style*="background:white"]{
  background-color:var(--card)!important;
  background-image:none!important;
  color:var(--text)!important
}
[style*="color: white"],
[style*="color:white"],
[style*="color: #fff"],
[style*="color:#fff"],
[style*="color: #ffffff"],
[style*="color:#ffffff"]{
  color:var(--text)!important
}
/* buttons that live inside inline-styled wrappers keep white text */
.btn[style*="color"],.btn-short[style*="color"],.btn-success[style*="color"],
.btn-error[style*="color"],.btn-blue[style*="color"],.btn-green[style*="color"],
.btn-gray[style*="color"],.btn-none[style*="color"]{
  color:#ffffff!important
}
.btn-gray[style*="color"],.btn-none[style*="color"]{color:var(--text)!important}

/* status colours */
.ok,.green,.text-success{color:var(--ok)!important}
.warn,.orange,.text-warning{color:#e09025!important}

/* account / profile blocks */
.account,.ta,.name{
  color:var(--text)!important
}

/* console output */
.console-output,pre.console{
  background:#0b1424!important;color:#c3d9ff!important;
  border:1px solid var(--border)!important;border-radius:11px!important
}

/* space helper between blocks */
.space{height:16px!important}

/* any remaining <u> underlines look clean */
u{text-decoration:none!important;color:var(--accent)!important;font-weight:600}

/* ============================================================
   PATCH 2026-10-19 — notice icon + news + paybuild + down + console
   (additive only, nothing removed)
   ============================================================ */

/* ---- 1. TECH SUPPORT new-message indicator: hidden until JS shows it ---- */
#help_notice,
.mh-aside .block_menu a i#help_notice,
.mh-aside .block_menu a i.notice,
.mh-aside .block_menu a .notice,
li a i#help_notice{
  display:none;
  width:8px!important;height:8px!important;min-width:8px!important;
  margin-left:auto!important;padding:0!important;
  background:#e05252!important;background-image:none!important;
  border:0!important;border-radius:50%!important;
  font-size:0!important;color:transparent!important;
  opacity:1!important;
  box-shadow:0 0 0 3px rgba(224,82,82,.22)
}

/* ---- 2. NEWS cards + single news page ---- */
.mh-news-cover{display:block;overflow:hidden;position:relative;aspect-ratio:2.05;background:var(--card-solid)}
.mh-news-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.mh-news-body h3 a{color:var(--text)!important}
.mh-news-body h3 a:hover{color:var(--accent)!important}
.mh-news-text{color:var(--muted)!important}

.mh-news-full{
  background:var(--grad-panel);border:1px solid var(--border);
  border-radius:18px;padding:26px 28px;margin:0 0 22px;box-shadow:var(--shadow)
}
.mh-news-full-head h1{
  font-size:clamp(22px,2.6vw,32px);line-height:1.25;letter-spacing:-.5px;
  margin:8px 0 12px;font-weight:600!important;color:var(--text)!important
}
.mh-news-full-head .mh-meta{padding-bottom:15px;border-bottom:1px solid var(--border);margin-bottom:18px}
.mh-news-full-cover{
  width:100%;border-radius:13px;overflow:hidden;
  border:1px solid var(--border);margin:0 0 20px;
  background:var(--card-solid);aspect-ratio:2.2
}
.mh-news-full-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.mh-news-full-body,.mh-news-full-body.pretext{
  white-space:pre-wrap!important;word-wrap:break-word;
  font:400 14.5px/1.85 Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important;background:transparent!important;
  border:0!important;padding:0!important;margin:0 0 20px!important
}
.mh-news-full-body img{max-width:100%;height:auto;border-radius:11px;margin:14px 0}
.mh-news-full-body a{color:var(--accent)!important}
.mh-news-full-tags{
  display:flex;align-items:center;gap:9px;padding:12px 15px;margin:0 0 18px;
  background:var(--card);border:1px solid var(--border);border-radius:11px;
  color:var(--muted)!important;font-size:12.5px
}
.mh-news-full-tags i{color:var(--accent)!important}
.mh-news-full-tags b{color:var(--text)!important}
.mh-news-full-nav{
  display:flex;flex-wrap:wrap;gap:11px;justify-content:space-between;
  padding-top:18px;border-top:1px solid var(--border)
}

/* ---- 3. PAYBUILD (сборки серверов) ---- */
.card{
  background:var(--surface-solid)!important;border:1px solid var(--border)!important;
  border-radius:15px!important;box-shadow:var(--shadow-sm)!important;
  margin:0 0 18px!important;overflow:hidden
}
.card-header{
  padding:14px 17px!important;background:var(--card2)!important;background-image:none!important;
  color:var(--text)!important;border-bottom:1px solid var(--border)!important;
  font:600 13.5px Rubik,Arial,sans-serif!important
}
.card-body,.card-body p,.card-body div,.card-body span,
.plugin-info,.plugin-info *{color:var(--text)!important}
.card .text-secondary,.text-secondary{color:var(--muted)!important}
.card .text-warning,.text-warning{color:#d9a125!important}
.card .text-danger,.text-danger{color:#e05252!important}
.card .small,.small{font-size:11.5px!important;color:var(--muted)!important}
.addon-img{display:flex!important;flex-wrap:wrap!important;gap:7px;padding:8px 0}
.addon-img img{
  width:78px!important;height:56px!important;object-fit:cover!important;
  margin:0!important;border-radius:8px!important;
  border:1px solid var(--border)!important;background:var(--card-solid)!important
}
.addon-img img:hover{transform:scale(1.06);border-color:var(--accent)!important}

/* ---- 4. DOWN (загрузка сборки) ---- */
.down-box,.build-box{
  background:var(--surface-solid)!important;border:1px solid var(--border)!important;
  border-radius:14px!important;padding:18px 20px!important;margin:0 0 16px!important
}
.progress-bar,.progress{
  background:var(--card)!important;border:1px solid var(--border)!important;
  border-radius:9px!important;overflow:hidden;height:12px!important
}
.progress-bar > div,.progress-bar > span,.progress > div{
  background:var(--accent)!important;height:100%!important
}
.log-out,.down-log,pre.log{
  background:#0b1424!important;color:#c3d9ff!important;
  border:1px solid var(--border)!important;border-radius:11px!important;
  padding:13px 15px!important;
  font:400 11.5px/1.6 Consolas,Monaco,monospace!important;
  white-space:pre-wrap!important;word-break:break-word
}

/* ---- 5. CONSOLE colors (dark theme readable) ---- */
.server_console pre,pre#console{
  background:#0b1424;
  color:#c3d9ff;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  padding:13px 15px!important;
  font:400 11.5px/1.65 Consolas,Monaco,monospace!important;
  min-height:260px!important
}
.console-white{background:#0b1424;color:#ffffff}
.console-solarized{background:#002B36;color:#188F98}
.console-green{background:#04140a;color:#00ff45}
.console-yellow{background:#141414;color:#ffcc3c}
.console-red{background:#112435;color:#f94747}
.console-blue{background:#0b1a33;color:#3c7fff}
.btn.console-white,.btn.console-solarized,.btn.console-green,.btn.console-yellow,.btn.console-red,.btn.console-blue{
  color:#ffffff!important
}
.btn.console-green{color:#00ff45!important}
.btn.console-solarized{color:#188F98!important}
.btn.console-yellow{color:#ffcc3c!important}
.btn.console-red{color:#f94747!important}
.btn.console-blue{color:#3c7fff!important}
#console_update i{color:var(--accent)!important;font-size:22px}

@media(max-width:680px){
  .mh-news-full{padding:18px}
  .addon-img img{width:64px!important;height:46px!important}
}

/* ============================================================
   PATCH 2 — icons visible + CSS without cache-busting
   ============================================================ */
.mh-aside .block_menu a i,
.mh-aside .block_menu a .fa,
.mh-aside .block_menu a .fas,
.mh-aside .block_menu a svg,
.mh-aside .l_block_head i,
.mh-aside .l_block_head .fa,
.mh-aside .l_block_head .fas{
  display:inline-block!important;
  width:16px!important;height:16px!important;min-width:16px!important;
  background:transparent!important;
  border:0!important;border-radius:0!important;
  color:var(--text-dim)!important;
  font-size:13px!important;line-height:1!important;
  opacity:1!important;visibility:visible!important;
  text-align:center!important;vertical-align:middle
}
.mh-aside .block_menu a:hover i,
.mh-aside .block_menu a:hover .fa,
.mh-aside .block_menu a:hover .fas,
.mh-aside .block_menu a:hover svg{
  color:var(--accent)!important
}
/* only the new-message dot stays hidden */
#help_notice,
.mh-aside .block_menu a i#help_notice,
.mh-aside .block_menu a i.notice,
.mh-aside .block_menu a .notice{
  display:none!important;
  width:8px!important;height:8px!important;min-width:8px!important;
  margin-left:auto!important;padding:0!important;
  background:#e05252!important;background-image:none!important;
  border:0!important;border-radius:50%!important;
  font-size:0!important;color:transparent!important
}

/* ============================================================
   PATCH 3 — FTP file list: compact and readable
   ============================================================ */
.block_content.filetp,
.block_content .filetp,
.filetp{
  padding:8px 10px!important
}
.block_content.filetp table,
.block_content.filetp .table_pad,
.filetp table,
.filetp .table_pad,
table.table_pad.input_pad{
  width:100%!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  background:transparent!important
}
.block_content.filetp table td,
.block_content.filetp table th,
.filetp table td,
.filetp table th,
.table_pad td,.table_pad th{
  padding:6px 9px!important;
  vertical-align:middle!important;
  border-bottom:1px solid var(--border)!important;
  font:400 11.5px/1.4 Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important;
  background:transparent!important;
  margin:0!important
}
.block_content.filetp table thead td,
.filetp table thead td,
.table_pad thead td{
  color:var(--muted)!important;font-weight:600!important;
  font-size:10.5px!important;letter-spacing:.7px;text-transform:uppercase;
  border-bottom:1px solid var(--border-strong)!important
}
.block_content.filetp table tr:hover td,
.filetp table tr:hover td,
.table_pad tr:hover td{
  background:var(--card)!important
}

/* kill the <p> margins that create huge gaps */
.block_content.filetp td p,
.filetp td p,
.block_content.filetp td div p,
.block_content.filetp p,
.filetp td div p{
  margin:0!important;padding:0!important;
  display:flex!important;align-items:center;gap:7px;
  font-size:11.5px!important;line-height:1.4!important;
  color:var(--text)!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.block_content.filetp td div,
.filetp td div{margin:0!important;padding:0!important}
.block_content.filetp td p i,
.filetp td p i,
.filetp td i{
  width:14px!important;height:14px!important;min-width:14px!important;
  font-size:11px!important;color:var(--accent)!important;
  text-align:center!important;flex:none
}

/* action buttons column — tight, no floats */
.block_content.filetp td:last-child,
.filetp td:last-child{white-space:nowrap!important;text-align:right!important}
.block_content.filetp .btn,
.filetp .btn,
.block_content.filetp .btn-short,
.filetp .btn-short{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:28px!important;height:26px!important;min-width:28px!important;
  margin:0 0 0 4px!important;padding:0!important;
  border-radius:8px!important;
  background:var(--card)!important;color:var(--text-dim)!important;
  border:1px solid var(--border)!important;
  box-shadow:none!important;float:none!important;
  vertical-align:middle;cursor:pointer
}
.block_content.filetp .btn i,
.filetp .btn i,
.filetp .btn-short i{
  width:11px!important;height:11px!important;font-size:10px!important;
  margin:0!important;color:inherit!important
}
.block_content.filetp .btn:hover,
.filetp .btn:hover,
.filetp .btn-short:hover{
  border-color:var(--accent)!important;color:var(--accent)!important;
  transform:translateY(-1px)
}
.block_content.filetp .btn.btn-error,
.filetp .btn.btn-error{
  color:#e05252!important;border-color:rgba(224,82,82,.35)!important
}
.block_content.filetp .btn.btn-error:hover,
.filetp .btn.btn-error:hover{
  background:#e05252!important;color:#fff!important;border-color:#e05252!important
}

/* info table (filetp_on / filetp_off) */
.block_content > table.table_pad td{padding:8px 10px!important}
.block_content table.table_pad td p{
  margin:0!important;line-height:1.75!important;
  font-size:12.5px!important;color:var(--text-dim)!important;
  display:block!important;white-space:normal!important
}

@media(max-width:680px){
  .block_content.filetp table td,.filetp table td{padding:5px 6px!important;font-size:10.5px!important}
  .block_content.filetp .btn,.filetp .btn,.filetp .btn-short{width:24px!important;height:23px!important;min-width:24px!important}
}

/* ============================================================
   PATCH 4 — light theme: buttons must be clearly visible
   ============================================================ */

/* --- filled buttons: solid blue + white text --- */
html[data-theme="light"] .mh-btn,
html[data-theme="light"] .mh-btn.mh-small,
html[data-theme="light"] .mh-btn.mh-block,
html[data-theme="light"] .btn,
html[data-theme="light"] .btn-short,
html[data-theme="light"] .btn-max,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-blue,
html[data-theme="light"] .btn-green,
html[data-theme="light"] .btn-info,
html[data-theme="light"] .read_more,
html[data-theme="light"] .send-button,
html[data-theme="light"] .au-submit,
html[data-theme="light"] .popup-close{
  background:#2563eb!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #2563eb!important;
  box-shadow:0 2px 8px rgba(37,99,235,.22)!important;
  text-shadow:none!important
}
html[data-theme="light"] .mh-btn:hover,
html[data-theme="light"] .mh-btn.mh-small:hover,
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .btn-short:hover,
html[data-theme="light"] .btn-success:hover,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-blue:hover,
html[data-theme="light"] .btn-green:hover,
html[data-theme="light"] .btn-info:hover,
html[data-theme="light"] .read_more:hover,
html[data-theme="light"] .send-button:hover,
html[data-theme="light"] .au-submit:hover{
  background:#1d4ed8!important;color:#ffffff!important;border-color:#1d4ed8!important
}

/* --- ghost / secondary buttons: white + dark text + border --- */
html[data-theme="light"] .mh-btn.mh-ghost,
html[data-theme="light"] .mh-btn.mh-ghost.mh-small,
html[data-theme="light"] .btn-gray,
html[data-theme="light"] .btn-default,
html[data-theme="light"] .btn-none,
html[data-theme="light"] .btn-warning{
  background:#ffffff!important;
  background-image:none!important;
  color:#1e293b!important;
  border:1px solid #cbd5e1!important;
  box-shadow:0 1px 3px rgba(15,40,80,.1)!important;
  text-shadow:none!important
}
html[data-theme="light"] .mh-btn.mh-ghost:hover,
html[data-theme="light"] .mh-btn.mh-ghost.mh-small:hover,
html[data-theme="light"] .btn-gray:hover,
html[data-theme="light"] .btn-default:hover,
html[data-theme="light"] .btn-none:hover{
  background:#eef4ff!important;color:#1d4ed8!important;border-color:#2563eb!important
}

/* --- danger buttons --- */
html[data-theme="light"] .btn-error,
html[data-theme="light"] .btn-danger{
  background:#dc2f3d!important;color:#ffffff!important;border-color:#dc2f3d!important
}
html[data-theme="light"] .btn-error:hover,
html[data-theme="light"] .btn-danger:hover{background:#c02533!important;color:#ffffff!important}

/* --- social buttons keep brand colours, white text --- */
html[data-theme="light"] .au-soc-vk{background:#0077ff!important;color:#ffffff!important;border-color:#0077ff!important}
html[data-theme="light"] .au-soc-ya{background:#fc3f1d!important;color:#ffffff!important;border-color:#fc3f1d!important}
html[data-theme="light"] .au-soc{color:#1e293b!important;background:#ffffff!important;border-color:#cbd5e1!important}

/* --- icons inside buttons --- */
html[data-theme="light"] .mh-btn i,
html[data-theme="light"] .mh-btn .mh-icon,
html[data-theme="light"] .btn i,
html[data-theme="light"] .btn-short i,
html[data-theme="light"] .send-button i,
html[data-theme="light"] .au-submit i{color:inherit!important}
html[data-theme="light"] .mh-btn.mh-ghost i,
html[data-theme="light"] .mh-btn.mh-ghost .mh-icon,
html[data-theme="light"] .btn-gray i,
html[data-theme="light"] .btn-none i{color:inherit!important}

/* --- banner page: code block readable on light --- */
html[data-theme="light"] .bn-card-code pre{background:#f1f5f9;color:#1e293b;border-color:#dbe3ec}
html[data-theme="light"] .bn-card-img{background:#f6f9fc}
html[data-theme="light"] .bn-hero{background:#ffffff;border-color:#dbe3ec}
html[data-theme="light"] .bn-hero h1{color:#132840!important}
html[data-theme="light"] .bn-note{background:#eef4ff;border-color:#c8dcfb}
html[data-theme="light"] .bn-note b{color:#132840!important}
html[data-theme="light"] .bn-tag{background:#e8f0fe;color:#1d4ed8!important;border-color:#c8dcfb}

/* --- auth page: social + submit visible --- */
html[data-theme="light"] .au-hero{background:#ffffff;border-color:#dbe3ec}
html[data-theme="light"] .au-hero h1{color:#132840!important}
html[data-theme="light"] .au-card{background:#ffffff;border-color:#dbe3ec}
html[data-theme="light"] .au-alert{background:#fff8e6;border-color:#f0d9a0}
html[data-theme="light"] .au-alert b{color:#132840!important}
html[data-theme="light"] .au-foot span{color:#6b7f99!important}

@media(max-width:680px){
  html[data-theme="light"] .mh-btn,
  html[data-theme="light"] .btn,
  html[data-theme="light"] .btn-short{padding:9px 15px!important}
}

/* ============================================================
   PATCH 5 — WIKI colours for dark + light themes
   ============================================================ */

/* category chips */
.help_category{
  display:inline-flex!important;align-items:center;gap:8px;
  padding:11px 17px!important;margin:0 7px 9px 0!important;
  background:var(--card)!important;
  border:1px solid var(--border-strong)!important;
  border-radius:11px!important;
  color:var(--text)!important;
  font:500 13px Rubik,Arial,sans-serif!important;
  transition:.2s
}
.help_category:hover{
  background:var(--accent)!important;color:#ffffff!important;
  border-color:var(--accent)!important;transform:translateY(-2px)
}

/* question rows */
.help_question{
  margin:0 0 10px!important;padding:12px 14px!important;
  background:var(--card)!important;
  border:1px solid var(--border)!important;
  border-radius:11px!important;
  transition:.2s
}
.help_question:hover{border-color:var(--accent)!important;transform:translateY(-2px)}
.help_question p{
  margin:0 0 5px!important;padding:0!important;
  color:var(--text)!important;font-size:13px!important;font-weight:500!important;
  line-height:1.5!important;display:flex!important;
  align-items:center;justify-content:space-between;gap:10px
}
.help_question p i,
.help_question p .right{
  color:var(--muted)!important;font-size:11px!important;font-style:normal!important;
  flex:none
}
.help_question > a{color:var(--text)!important;text-decoration:none!important}
.help_question > a:hover p{color:var(--accent)!important}
.help_question div{color:var(--muted)!important;font-size:11px!important;margin:0!important}

/* search block */
.help_category + .block_content input,
#search,#search_result{
  color:var(--text)!important
}
#search{
  background:var(--card)!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  padding:11px 14px!important
}
#search::placeholder{color:var(--muted)!important}
#search:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-glow)!important}
#search_result a{color:var(--accent)!important;font-weight:500}
#search_result{color:var(--text-dim)!important}

/* answer page */
.mh-news-full-body.pretext,.pretext{
  color:var(--text-dim)!important;background:transparent!important;border:0!important
}

/* table in wiki */
.block_content table.table_pad td{color:var(--text-dim)!important}
.block_content table.table_pad td b,
.block_content table.table_pad td strong{color:var(--text)!important}

/* earnings leaderboard sidebar (was hardcoded green) */
.mar-2.block_menu div[style*="border-bottom"]{
  border-bottom-color:var(--border)!important
}
.mar-2.block_menu div[style*="border-bottom"] span{
  color:var(--text-dim)!important
}
.mar-2.block_menu div[style*="border-bottom"] span[style*="28a745"],
.mar-2.block_menu div[style*="border-bottom"] span[style*="#28a745"]{
  color:var(--ok)!important
}

/* generic inline green fallback */
[style*="color: #28a745"],
[style*="color:#28a745"]{color:var(--ok)!important}

/* light theme specifics */
html[data-theme="light"] .help_category{background:#ffffff!important;border-color:#d3e0ee!important;color:#1e293b!important}
html[data-theme="light"] .help_category:hover{background:#2563eb!important;color:#ffffff!important;border-color:#2563eb!important}
html[data-theme="light"] .help_question{background:#ffffff!important;border-color:#dce6f0!important}
html[data-theme="light"] .help_question p{color:#16233a!important}
html[data-theme="light"] .help_question p i,
html[data-theme="light"] .help_question div{color:#6b7f99!important}
html[data-theme="light"] #search{background:#ffffff!important;border-color:#cfdcee!important;color:#16233a!important}
html[data-theme="light"] #search_result{color:#42536b!important}

@media(max-width:680px){
  .help_category{width:100%;justify-content:flex-start}
}

/* ============================================================
   PATCH 6 — auth buttons + game filters visible in both themes
   ============================================================ */

/* ---------- A. AUTH PAGE BUTTONS ---------- */
/* primary submit */
.au-submit,
html[data-theme="light"] .au-submit{
  width:100%!important;
  padding:14px 22px!important;
  border-radius:12px!important;
  font:600 14.5px Rubik,Arial,sans-serif!important;
  background:#2563eb!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #2563eb!important;
  box-shadow:0 6px 18px rgba(37,99,235,.28)!important
}
.au-submit:hover,html[data-theme="light"] .au-submit:hover{
  background:#1d4ed8!important;color:#ffffff!important;border-color:#1d4ed8!important;
  transform:translateY(-2px)
}
html:not([data-theme="light"]) .au-submit{
  background:var(--accent)!important;border-color:var(--accent)!important;
  color:#ffffff!important;box-shadow:0 6px 18px var(--accent-glow)!important
}
html:not([data-theme="light"]) .au-submit:hover{background:var(--accent2)!important;border-color:var(--accent2)!important}

/* social: VK / Yandex / generic */
.au-soc,.au-soc i,.au-soc span{color:inherit!important}
html[data-theme="light"] .au-soc-vk{background:#0077ff!important;color:#ffffff!important;border-color:#0077ff!important}
html[data-theme="light"] .au-soc-ya{background:#fc3f1d!important;color:#ffffff!important;border-color:#fc3f1d!important}
html[data-theme="light"] .au-soc{background:#ffffff!important;color:#1e293b!important;border-color:#cbd5e1!important;box-shadow:0 1px 3px rgba(15,40,80,.1)!important}
html[data-theme="light"] .au-soc:hover{border-color:#2563eb!important;color:#1d4ed8!important}
html[data-theme="light"] .au-soc-vk:hover{background:#1a86ff!important;color:#ffffff!important}
html[data-theme="light"] .au-soc-ya:hover{background:#ff5235!important;color:#ffffff!important}
html:not([data-theme="light"]) .au-soc-vk{background:#0077ff!important;color:#ffffff!important;border-color:#0077ff!important}
html:not([data-theme="light"]) .au-soc-ya{background:#fc3f1d!important;color:#ffffff!important;border-color:#fc3f1d!important}

/* ghost buttons on auth (Восстановить / Зарегистрироваться) */
html[data-theme="light"] .au-card .mh-btn.mh-ghost,
html[data-theme="light"] .mh-btn.mh-ghost{
  background:#ffffff!important;color:#1e293b!important;
  border:1px solid #cbd5e1!important;box-shadow:none!important
}
html[data-theme="light"] .au-card .mh-btn.mh-ghost:hover,
html[data-theme="light"] .mh-btn.mh-ghost:hover{
  background:#eef4ff!important;color:#1d4ed8!important;border-color:#2563eb!important
}
html:not([data-theme="light"]) .mh-btn.mh-ghost{
  background:var(--card)!important;color:var(--text)!important;
  border:1px solid var(--border-strong)!important
}

/* ---------- B. GAME FILTER CHIPS (Выберите свою игру) ---------- */
.mh-filters button,
html[data-theme="light"] .mh-filters button{
  display:inline-flex!important;align-items:center;gap:8px;
  padding:9px 18px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:22px!important;
  background:var(--surface-solid)!important;
  color:var(--text)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  box-shadow:0 1px 3px rgba(15,40,80,.08)!important;
  cursor:pointer;transition:.2s
}
html[data-theme="light"] .mh-filters button{
  background:#ffffff!important;color:#1e293b!important;border-color:#cbd5e1!important
}
html:not([data-theme="light"]) .mh-filters button{
  background:var(--card)!important;color:var(--text)!important;border-color:var(--border-strong)!important
}
.mh-filters button:hover,
html[data-theme="light"] .mh-filters button:hover{
  border-color:var(--accent)!important;color:var(--accent)!important;
  transform:translateY(-1px)
}
.mh-filters button[aria-pressed="true"],
html[data-theme="light"] .mh-filters button[aria-pressed="true"],
html:not([data-theme="light"]) .mh-filters button[aria-pressed="true"]{
  background:#2563eb!important;color:#ffffff!important;
  border-color:#2563eb!important;box-shadow:0 4px 14px rgba(37,99,235,.3)!important
}
html:not([data-theme="light"]) .mh-filters button[aria-pressed="true"]{
  background:var(--accent)!important;border-color:var(--accent)!important;
  color:#ffffff!important;box-shadow:0 4px 14px var(--accent-glow)!important
}
.mh-filters button i,.mh-filters button svg,.mh-filters button .mh-icon{color:inherit!important}
.mh-filters button[aria-pressed="true"] i,
.mh-filters button[aria-pressed="true"] svg{color:#ffffff!important}

/* game card buttons on home */
html[data-theme="light"] .mh-btn.mh-small.mh-block,
html[data-theme="light"] .mh-btn.mh-block{
  background:#2563eb!important;color:#ffffff!important;border-color:#2563eb!important
}
html[data-theme="light"] .mh-btn.mh-small.mh-block:hover,
html[data-theme="light"] .mh-btn.mh-block:hover{background:#1d4ed8!important;color:#ffffff!important}

@media(max-width:680px){
  .mh-filters button{padding:8px 13px!important;font-size:11px!important}
  .au-submit{padding:13px 18px!important}
}

/* ============================================================
   PATCH 7 — bgmain.jpg as site background + rebuilt palette
   ============================================================ */

/* ---------- A. BACKGROUND IMAGE (both themes) ---------- */
body,body.mh-site{
  background-color:#070c16!important;
  background-image:
    radial-gradient(1100px 520px at 50% -180px,rgba(74,125,255,.14),transparent 62%),
    linear-gradient(180deg,rgba(7,12,22,.42) 0%,rgba(7,12,22,.58) 55%,rgba(7,12,22,.82) 100%),
    url('/template/images/refresh/bgmain.jpg')!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-position:center top,center top,center top!important;
  background-size:auto,auto,cover!important;
  background-attachment:fixed,fixed,fixed!important;
}
html[data-theme="light"] body,html[data-theme="light"] body.mh-site{
  background-color:#eef3fa!important;
  background-image:
    radial-gradient(1100px 520px at 50% -180px,rgba(37,99,235,.10),transparent 62%),
    linear-gradient(180deg,rgba(244,248,253,.72) 0%,rgba(244,248,253,.86) 55%,rgba(244,248,253,.96) 100%),
    url('/template/images/refresh/bgmain.jpg')!important;
}

/* ---------- B. REBUILT PALETTE — DARK (deep navy, clean contrast) ---------- */
html{
  --bg:#070c16;
  --bg2:#0b1220;
  --surface:rgba(15,22,38,.92);
  --surface-solid:#101827;
  --card:rgba(21,31,52,.92);
  --card-solid:#17223a;
  --card2:rgba(28,40,66,.95);
  --border:rgba(125,165,225,.13);
  --border-strong:rgba(135,180,240,.26);
  --text:#e9eef7;
  --text-dim:#a7b5ca;
  --muted:#7c8da5;
  --accent:#5b8def;
  --accent2:#4a7ce0;
  --accent-ink:#ffffff;
  --accent-glow:rgba(91,141,239,.22);
  --cyan:#3eb9f2;
  --violet:#8a7cf0;
  --ok:#2fd186;
  --bad:#f4626c;
  --shadow:0 18px 44px rgba(2,6,18,.52);
  --shadow-sm:0 6px 18px rgba(2,6,18,.34);
  --grad-accent:linear-gradient(180deg,#5f92f2 0%,#3d6fe0 100%);
  --grad-panel:linear-gradient(180deg,rgba(24,35,58,.94) 0%,rgba(16,24,42,.96) 100%);
}

/* dark surfaces a touch deeper for contrast with bg image */
html:not([data-theme="light"]) .mh-sidebar,
html:not([data-theme="light"]) .mh-card,
html:not([data-theme="light"]) .mh-box,
html:not([data-theme="light"]) .content_block{
  background-color:rgba(18,27,46,.86)!important;
  border-color:rgba(125,165,225,.16)!important;
}
html:not([data-theme="light"]) .mh-top{background-color:rgba(9,14,26,.9)!important}
html:not([data-theme="light"]) .mh-nav{
  background-color:rgba(12,19,34,.92)!important;
  border-color:rgba(125,165,225,.18)!important
}

/* ---------- C. REBUILT PALETTE — LIGHT (clean, airy) ---------- */
html[data-theme="light"]{
  --bg:#f2f6fc;
  --bg2:#e9eff9;
  --surface:rgba(255,255,255,.95);
  --surface-solid:#ffffff;
  --card:rgba(255,255,255,.94);
  --card-solid:#ffffff;
  --card2:rgba(241,246,253,.96);
  --border:rgba(30,60,120,.11);
  --border-strong:rgba(30,60,120,.22);
  --text:#12213a;
  --text-dim:#3f5372;
  --muted:#6d81a0;
  --accent:#2563eb;
  --accent2:#1d4ed8;
  --accent-ink:#ffffff;
  --accent-glow:rgba(37,99,235,.18);
  --cyan:#0891b2;
  --violet:#6d5ae0;
  --ok:#12a866;
  --bad:#dc2f3d;
  --shadow:0 14px 36px rgba(25,55,110,.13);
  --shadow-sm:0 5px 16px rgba(25,55,110,.09);
  --grad-accent:linear-gradient(180deg,#2f6dea 0%,#1f54d0 100%);
  --grad-panel:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(246,250,255,.98) 100%);
}

/* light surfaces crisp white over the bg image */
html[data-theme="light"] .mh-sidebar,
html[data-theme="light"] .mh-card,
html[data-theme="light"] .mh-box,
html[data-theme="light"] .content_block{
  background-color:rgba(255,255,255,.9)!important;
  border-color:rgba(30,60,120,.14)!important;
  box-shadow:0 8px 24px rgba(25,55,110,.08)!important
}
html[data-theme="light"] .mh-top{background-color:rgba(255,255,255,.94)!important;border-color:rgba(30,60,120,.12)!important}
html[data-theme="light"] .mh-nav{
  background-color:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.14)!important
}

/* ---------- D. header/hero text over background ---------- */
html:not([data-theme="light"]) .mh-title,
html:not([data-theme="light"]) .mh-sub,
html:not([data-theme="light"]) .mh-hero h1{color:#f2f6fc!important}
html[data-theme="light"] .mh-title,
html[data-theme="light"] .mh-sub,
html[data-theme="light"] .mh-hero h1{color:#0f1c33!important}

/* footer stays readable over the image */
html:not([data-theme="light"]) .mh-foot{background-color:rgba(7,11,20,.94)!important}
html[data-theme="light"] .mh-foot{background-color:rgba(255,255,255,.95)!important}

@media(max-width:900px){
  body,body.mh-site,html[data-theme="light"] body,html[data-theme="light"] body.mh-site{
    background-attachment:scroll,scroll,scroll!important
  }
}

/* ============================================================
   PATCH 8 — "Сейчас на сайте" online users block, both themes
   ============================================================ */

.online__users,.online__users.static__egp{
  margin:0!important;
  font:400 12.5px Rubik,Arial,sans-serif!important;
  line-height:1.85!important;
  color:var(--text-dim)!important
}

/* labels stay soft */
.online__users{color:var(--muted)!important}

/* values (numbers / names) */
.online__users b{
  color:var(--text)!important;
  font-weight:600!important;
  font-size:12.5px!important
}

/* bots row — distinct accent colour per theme */
html:not([data-theme="light"]) .online__users b{
  color:#8fb2ff!important
}
html[data-theme="light"] .online__users b{
  color:#12213a!important
}

/* highlight the bot names themselves */
.online__users b b,
.online__users br + b:last-of-type,
.online__users > b:nth-of-type(3){
  letter-spacing:.1px
}

/* registered-count delta (was inline --ok) */
.online__users b[style*="--ok"]{
  color:var(--ok)!important;
  font-weight:700!important
}

/* support / online / guests rows — accent numbers */
html:not([data-theme="light"]) .online__users b{color:#a9c1f5!important}
html:not([data-theme="light"]) .online__users b[style*="--ok"]{color:#2fd186!important}

html[data-theme="light"] .online__users{color:#6d81a0!important}
html[data-theme="light"] .online__users b{color:#12213a!important}
html[data-theme="light"] .online__users b[style*="--ok"]{color:#12a866!important}

/* bots specifically get a violet tint so they stand out */
.online__users .mh-bot,
.online__users b:nth-of-type(3){
  padding:1px 7px;border-radius:7px;
  background:rgba(124,109,240,.14);
  border:1px solid rgba(124,109,240,.28)
}
html:not([data-theme="light"]) .online__users b:nth-of-type(3){
  color:#b8a9ff!important;background:rgba(138,124,240,.16);
  border-color:rgba(138,124,240,.32)
}
html[data-theme="light"] .online__users b:nth-of-type(3){
  color:#5b48c8!important;background:rgba(109,90,224,.1);
  border-color:rgba(109,90,224,.22)
}

/* block container for this widget */
.l_block_c .online__users{padding:2px 0!important}

@media(max-width:680px){
  .online__users{font-size:11.5px!important;line-height:1.8!important}
}

/* ============================================================
   PATCH 9 — server panel tab bar (.server_nav) visible + pretty
   ============================================================ */

/* container: solid panel so tabs are readable over bg image */
.full_screen:has(> .server_nav),
.server_nav{
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:var(--radius)!important;
  box-shadow:var(--shadow-sm)!important;
  overflow:visible!important
}

/* the table becomes a flex pill bar */
table.server_nav,table.server_nav > tbody,table.server_nav > tbody > tr{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  width:100%!important;
  border:0!important;
  background:transparent!important;
  padding:8px!important;
  margin:0!important
}
table.server_nav > tbody > tr > td{
  display:block!important;
  border:0!important;padding:0!important;margin:0!important;
  background:transparent!important
}

/* each tab = pill */
table.server_nav td > a{
  display:flex!important;align-items:center;gap:8px;
  padding:9px 15px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--text-dim)!important;
  font:600 12.5px Rubik,Arial,sans-serif!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:.2s
}
table.server_nav td > a i,table.server_nav td > a .fa,table.server_nav td > a .fab{
  font-size:13px!important;color:var(--muted)!important;width:16px!important;text-align:center
}

table.server_nav td > a:hover{
  background:var(--card)!important;
  color:var(--accent)!important;
  border-color:var(--border-strong)!important
}
table.server_nav td > a:hover i{color:var(--accent)!important}

/* ACTIVE tab */
table.server_nav td > a.active{
  background:var(--accent)!important;
  color:#ffffff!important;
  border-color:var(--accent)!important;
  box-shadow:0 4px 14px var(--accent-glow)!important
}
table.server_nav td > a.active i,
table.server_nav td > a.active .fa,
table.server_nav td > a.active .fab{color:#ffffff!important}

/* ---------- light theme: crisp white panel ---------- */
html[data-theme="light"] .full_screen:has(> .server_nav),
html[data-theme="light"] .server_nav{
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(30,60,120,.14)!important;
  box-shadow:0 10px 28px rgba(25,55,110,.1)!important
}
html[data-theme="light"] table.server_nav td > a{
  color:#42536b!important;background:transparent!important;border-color:transparent!important
}
html[data-theme="light"] table.server_nav td > a i{color:#7d8ea6!important}
html[data-theme="light"] table.server_nav td > a:hover{
  background:#eef4ff!important;color:#1d4ed8!important;border-color:#c8dcfb!important
}
html[data-theme="light"] table.server_nav td > a:hover i{color:#1d4ed8!important}
html[data-theme="light"] table.server_nav td > a.active{
  background:#2563eb!important;color:#ffffff!important;
  border-color:#2563eb!important;box-shadow:0 5px 16px rgba(37,99,235,.32)!important
}
html[data-theme="light"] table.server_nav td > a.active i{color:#ffffff!important}

/* ---------- dark theme: slightly darker panel over image ---------- */
html:not([data-theme="light"]) .full_screen:has(> .server_nav),
html:not([data-theme="light"]) .server_nav{
  background:rgba(16,24,42,.9)!important;
  border-color:rgba(125,165,225,.18)!important
}
html:not([data-theme="light"]) table.server_nav td > a{
  color:#b8c6dc!important
}
html:not([data-theme="light"]) table.server_nav td > a i{color:#8b9cb5!important}
html:not([data-theme="light"]) table.server_nav td > a:hover{
  background:rgba(30,42,68,.95)!important;color:#9fc0ff!important;border-color:rgba(135,180,240,.32)!important
}
html:not([data-theme="light"]) table.server_nav td > a.active{
  background:#5b8def!important;color:#ffffff!important;border-color:#5b8def!important
}
html:not([data-theme="light"]) table.server_nav td > a.active i{color:#ffffff!important}

/* ---------- responsive: scrollable row on small screens ---------- */
@media(max-width:900px){
  table.server_nav,table.server_nav > tbody,table.server_nav > tbody > tr{
    flex-wrap:nowrap!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important
  }
  table.server_nav td > a{padding:8px 12px!important;font-size:11.5px!important}
  .full_screen:has(> .server_nav),.server_nav{padding:6px!important}
}

/* ============================================================
   PATCH 10 — top user bar (.mh-top) links in a nice frame
   ============================================================ */

/* the whole top bar becomes a framed panel */
.mh-top,.mh-wrap.mh-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:8px 14px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:13px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow-sm)!important;
  margin:10px auto 0!important
}

/* left slogan */
.mh-top > span{
  display:flex!important;align-items:center;gap:8px;
  color:var(--text-dim)!important;
  font:500 11.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.2px!important;
  padding:4px 12px!important;
  border:1px solid var(--border)!important;
  border-radius:20px!important;
  background:var(--card)!important
}
.mh-top > span i{color:var(--accent)!important;font-size:12px!important}

/* right link group */
.mh-top > div{
  display:flex!important;align-items:center!important;
  gap:6px!important;flex-wrap:wrap!important;
  border:0!important;background:transparent!important;padding:0!important
}

/* every link = framed pill */
.mh-top > div > a{
  display:flex!important;align-items:center;gap:7px;
  padding:6px 13px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:9px!important;
  background:var(--card)!important;
  color:var(--text-dim)!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:.2s
}
.mh-top > div > a i{font-size:11px!important;color:var(--muted)!important;width:13px!important;text-align:center}

.mh-top > div > a:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-1px)
}
.mh-top > div > a:hover i{color:var(--accent)!important}

/* highlight: user name */
.mh-top > div > a:nth-last-child(3){
  border-color:rgba(91,141,239,.4)!important;
  color:var(--accent)!important
}
.mh-top > div > a:nth-last-child(3) i{color:var(--accent)!important}

/* highlight: balance */
.mh-top > div > a:nth-last-child(2){
  background:linear-gradient(135deg,rgba(47,209,134,.16),rgba(47,209,134,.08))!important;
  border-color:rgba(47,209,134,.42)!important;
  color:var(--ok)!important
}
.mh-top > div > a:nth-last-child(2) i{color:var(--ok)!important}

/* logout = subtle red */
.mh-top > div > a:last-child{
  border-color:rgba(244,98,108,.32)!important;
  color:var(--bad)!important
}
.mh-top > div > a:last-child i{color:var(--bad)!important}
.mh-top > div > a:last-child:hover{
  background:rgba(244,98,108,.14)!important;
  border-color:var(--bad)!important;color:var(--bad)!important
}

/* ---------- light theme ---------- */
html[data-theme="light"] .mh-top,html[data-theme="light"] .mh-wrap.mh-top{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.16)!important;
  box-shadow:0 8px 22px rgba(25,55,110,.09)!important
}
html[data-theme="light"] .mh-top > span{
  background:#eef4ff!important;border-color:#d3e0ee!important;color:#42536b!important
}
html[data-theme="light"] .mh-top > div > a{
  background:#ffffff!important;color:#3d5273!important;border-color:#cfdcee!important
}
html[data-theme="light"] .mh-top > div > a i{color:#7d8ea6!important}
html[data-theme="light"] .mh-top > div > a:hover{
  background:#eef4ff!important;color:#1d4ed8!important;border-color:#2563eb!important
}
html[data-theme="light"] .mh-top > div > a:nth-last-child(3){color:#1d4ed8!important;border-color:#a8c6f8!important}
html[data-theme="light"] .mh-top > div > a:nth-last-child(2){
  background:#e9f9f1!important;color:#0f8a52!important;border-color:#a8e0c2!important
}
html[data-theme="light"] .mh-top > div > a:last-child{
  background:#fdeced!important;color:#c62f3c!important;border-color:#f3bcc0!important
}
html[data-theme="light"] .mh-top > div > a:last-child:hover{background:#fbdadd!important;color:#b12733!important}

/* ---------- dark theme ---------- */
html:not([data-theme="light"]) .mh-top,html:not([data-theme="light"]) .mh-wrap.mh-top{
  background:rgba(16,24,42,.88)!important;
  border-color:rgba(125,165,225,.2)!important
}
html:not([data-theme="light"]) .mh-top > div > a{
  background:rgba(24,34,58,.92)!important;color:#c2d0e4!important
}
html:not([data-theme="light"]) .mh-top > div > a i{color:#8b9cb5!important}
html:not([data-theme="light"]) .mh-top > div > a:hover{
  background:rgba(35,52,86,.98)!important;color:#9fc0ff!important
}
html:not([data-theme="light"]) .mh-top > div > a:nth-last-child(2){
  background:rgba(47,209,134,.14)!important;color:#3ddc92!important;border-color:rgba(47,209,134,.4)!important
}
html:not([data-theme="light"]) .mh-top > div > a:last-child{
  background:rgba(244,98,108,.12)!important;color:#ff8b93!important;border-color:rgba(244,98,108,.34)!important
}

@media(max-width:900px){
  .mh-top,.mh-wrap.mh-top{flex-direction:column!important;align-items:stretch!important;gap:8px!important}
  .mh-top > span{justify-content:center}
  .mh-top > div{justify-content:center}
  .mh-top > div > a{padding:6px 10px!important;font-size:11px!important}
}

/* ============================================================
   PATCH 11 — home "Выберите свою игру" cards = same look as /services
   ============================================================ */

/* --- grid matches services grid --- */
.mh-game-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(198px,1fr))!important;
  gap:12px!important;
  margin:14px 0 0!important
}

/* --- card = same shell as .service_block --- */
.mh-game-card{
  float:none!important;width:auto!important;height:auto!important;
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  background:var(--grad-panel)!important;
  padding:9px!important;
  margin:0!important;
  position:relative!important;
  overflow:hidden!important;
  transition:transform .26s,box-shadow .26s,border-color .26s
}
.mh-game-card:hover{
  transform:translateY(-4px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 20px 38px rgba(0,0,0,.34)
}

/* --- poster = same as .service_block .poster --- */
.mh-game-card .mh-cover{
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  border-radius:11px!important;
  aspect-ratio:auto!important;
  height:112px!important;
  background:var(--card-solid)!important;
  margin:0 0 9px!important
}
.mh-game-card .mh-cover img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  display:block!important;margin:0!important;
  border-radius:11px!important;
  transition:transform .5s ease
}
.mh-game-card:hover .mh-cover img{transform:scale(1.07)}

/* keep the icon badge on the poster */
.mh-game-card .mh-cover .mh-cover-ico{
  position:absolute!important;right:9px!important;bottom:9px!important;
  width:28px!important;height:28px!important;border-radius:9px!important;
  background:rgba(255,255,255,.18)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  display:grid!important;place-items:center!important;
  color:#ffffff!important;z-index:2
}

/* --- body: name / desc / price / button --- */
.mh-game-body{padding:0!important;margin:0!important}

.mh-game-body h3{
  margin:0!important;padding:0!important;
  font:600 12.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.2px!important;line-height:1.35!important;
  min-height:32px!important
}
.mh-game-body h3 a{
  color:var(--text)!important;text-decoration:none!important;
  font:inherit!important
}
.mh-game-card:hover .mh-game-body h3 a{color:var(--accent)!important}

.mh-game-body p{
  margin:2px 0 0!important;padding:0!important;
  font:400 11px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important;line-height:1.4!important
}

/* price = same as .service_slot */
.mh-game-body .mh-price,
.mh-price{
  margin:6px 0 9px!important;padding:0!important;
  font:700 15px Rubik,Arial,sans-serif!important;
  color:var(--accent)!important
}
.mh-price span{
  font:500 11px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important
}

/* button = same as .read_more */
.mh-game-body .mh-btn.mh-small.mh-block,
.mh-game-body .mh-btn.mh-block{
  display:block!important;width:100%!important;
  margin:0!important;
  padding:9px 12px!important;
  border-radius:10px!important;
  background:var(--accent)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--accent)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
  transition:.2s
}
.mh-game-body .mh-btn.mh-small.mh-block:hover,
.mh-game-body .mh-btn.mh-block:hover{
  background:var(--accent2)!important;color:#ffffff!important;
  transform:translateY(-1px)
}

/* ---------- light theme: same crisp look as /services ---------- */
html[data-theme="light"] .mh-game-card{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.14)!important;
  box-shadow:0 8px 22px rgba(25,55,110,.08)!important
}
html[data-theme="light"] .mh-game-card:hover{
  border-color:#2563eb!important;
  box-shadow:0 18px 34px rgba(25,55,110,.16)!important
}
html[data-theme="light"] .mh-game-body h3 a{color:#12213a!important}
html[data-theme="light"] .mh-game-card:hover .mh-game-body h3 a{color:#1d4ed8!important}
html[data-theme="light"] .mh-game-body p{color:#6d81a0!important}
html[data-theme="light"] .mh-price{color:#2563eb!important}
html[data-theme="light"] .mh-price span{color:#6d81a0!important}
html[data-theme="light"] .mh-game-body .mh-btn.mh-small.mh-block{
  background:#2563eb!important;border-color:#2563eb!important;color:#ffffff!important
}
html[data-theme="light"] .mh-game-body .mh-btn.mh-small.mh-block:hover{
  background:#1d4ed8!important;border-color:#1d4ed8!important
}

/* ---------- dark theme ---------- */
html:not([data-theme="light"]) .mh-game-card{
  background:rgba(24,34,58,.9)!important;
  border-color:rgba(125,165,225,.16)!important
}
html:not([data-theme="light"]) .mh-price{color:#8fb2ff!important}

@media(max-width:680px){
  .mh-game-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:9px!important}
  .mh-game-card .mh-cover{height:96px!important}
}

/* ============================================================
   PATCH 12 — /help/section/create themed (inline styles override)
   ============================================================ */

/* ---- generic inline light panels -> themed surfaces ---- */
[style*="background: linear-gradient(to right, #fff, #fcfcfc)"],
[style*="background:white"],
[style*="background: white"],
[style*="background: #f8fafc"],
[style*="background: #f0f4fa"],
[style*="background: #fff0f0"]{
  background:var(--grad-panel)!important;
  border-color:var(--border)!important;
  color:var(--text)!important;
  box-shadow:var(--shadow-sm)!important
}

/* forbidden / required info boxes */
[style*="background: #fff4f2"]{
  background:rgba(244,98,108,.12)!important;
  border-left-color:var(--bad)!important;
  color:var(--text)!important
}
[style*="background: #e9f2fa"]{
  background:rgba(56,189,248,.12)!important;
  border-left-color:var(--accent)!important;
  color:var(--text)!important
}

/* all inline dark texts -> theme text */
[style*="color: #1a2634"],
[style*="color: #2c3e50"],
[style*="color: #1e293b"],
[style*="color: #1e3a5f"],
[style*="color: #0a58ca"],
[style*="color: #b02a37"],
[style*="color: #b91c1c"]{
  color:var(--text)!important
}

/* headings / labels inside */
.hblock_content,main.side_left h4,main.side_left h3,main.side_left h2{
  color:var(--text)!important
}

/* form fields on this page */
main.side_left input,
main.side_left select,
main.side_left textarea{
  background:var(--card)!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  color:var(--text)!important;
  padding:11px 14px!important;
  font:400 13px Rubik,Arial,sans-serif!important
}
main.side_left input::placeholder,
main.side_left textarea::placeholder{color:var(--muted)!important}
main.side_left input:focus,
main.side_left select:focus,
main.side_left textarea:focus{
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important;
  outline:none!important
}
main.side_left label{color:var(--text-dim)!important}

/* buttons on the page */
main.side_left .btn,
main.side_left .btn-short,
main.side_left .btn-success{
  background:var(--accent)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--accent)!important;
  border-radius:10px!important;
  font:600 12.5px Rubik,Arial,sans-serif!important
}
main.side_left .btn-success:hover{background:var(--accent2)!important;color:#ffffff!important}

/* chips / badges keep readable colour on dark */
[style*="background: #dc3545"]{background:var(--bad)!important;color:#ffffff!important}
[style*="background: #28a745"]{background:var(--ok)!important;color:#ffffff!important}

/* SLA legend dots stay coloured */
main.side_left span[style*="border-radius: 50%"]{border-radius:50%!important}

/* ---------- LIGHT THEME: keep it clean, not pure white ---------- */
html[data-theme="light"] [style*="background: linear-gradient(to right, #fff, #fcfcfc)"],
html[data-theme="light"] [style*="background:white"],
html[data-theme="light"] [style*="background: white"],
html[data-theme="light"] [style*="background: #f8fafc"],
html[data-theme="light"] [style*="background: #f0f4fa"]{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.14)!important;
  color:#12213a!important;
  box-shadow:0 8px 22px rgba(25,55,110,.08)!important
}
html[data-theme="light"] [style*="background: #fff4f2"]{
  background:#fdeff0!important;border-left-color:#dc2f3d!important;color:#12213a!important
}
html[data-theme="light"] [style*="background: #e9f2fa"]{
  background:#e9f2ff!important;border-left-color:#2563eb!important;color:#12213a!important
}
html[data-theme="light"] main.side_left input,
html[data-theme="light"] main.side_left select,
html[data-theme="light"] main.side_left textarea{
  background:#ffffff!important;border-color:#cfdcee!important;color:#12213a!important
}
html[data-theme="light"] main.side_left .btn,
html[data-theme="light"] main.side_left .btn-short{
  background:#2563eb!important;border-color:#2563eb!important;color:#ffffff!important
}

/* ---------- DARK THEME ---------- */
html:not([data-theme="light"]) [style*="background: linear-gradient(to right, #fff, #fcfcfc)"],
html:not([data-theme="light"]) [style*="background:white"],
html:not([data-theme="light"]) [style*="background: white"],
html:not([data-theme="light"]) [style*="background: #f8fafc"],
html:not([data-theme="light"]) [style*="background: #f0f4fa"]{
  background:rgba(21,31,52,.92)!important;
  border-color:rgba(125,165,225,.18)!important;
  color:#e9eef7!important;
  box-shadow:0 14px 32px rgba(2,6,18,.4)!important
}
html:not([data-theme="light"]) [style*="background: #fff4f2"]{
  background:rgba(244,98,108,.14)!important;border-left-color:#f4626c!important;color:#e9eef7!important
}
html:not([data-theme="light"]) [style*="background: #e9f2fa"]{
  background:rgba(56,189,248,.14)!important;border-left-color:#5b8def!important;color:#e9eef7!important
}
html:not([data-theme="light"]) main.side_left input,
html:not([data-theme="light"]) main.side_left select,
html:not([data-theme="light"]) main.side_left textarea{
  background:rgba(18,27,46,.92)!important;
  border-color:rgba(125,165,225,.24)!important;
  color:#e9eef7!important
}
html:not([data-theme="light"]) main.side_left .btn,
html:not([data-theme="light"]) main.side_left .btn-short{
  background:#5b8def!important;border-color:#5b8def!important;color:#ffffff!important
}
html:not([data-theme="light"]) [style*="background: #dc3545"]{background:#f4626c!important}
html:not([data-theme="light"]) [style*="background: #28a745"]{background:#2fd186!important}

/* ---------- AI notice block: readable in both themes ---------- */
.ai-notice{color:#ffffff!important}
html[data-theme="light"] .ai-notice{color:#ffffff!important}
html:not([data-theme="light"]) .ai-notice{
  background:linear-gradient(135deg,#2b3f78 0%,#3b2d6e 100%)!important;
  box-shadow:0 10px 28px rgba(2,6,18,.45)!important
}

@media(max-width:680px){
  [style*="grid-template-columns: 1fr 1fr"]{
    grid-template-columns:1fr!important
  }
}

/* ============================================================
   PATCH 13 — softer, calmer buttons (console + server panel)
   ============================================================ */

/* generic buttons: muted, not neon */
.btn,.btn-short,.btn-max{
  border-radius:10px!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  letter-spacing:.1px!important;
  transition:.18s
}

/* primary = soft blue, not blazing */
.btn-primary,.btn-blue,.btn.btn-primary{
  background:#3b6fd4!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #3b6fd4!important;
  box-shadow:0 2px 7px rgba(59,111,212,.22)!important;
  text-shadow:none!important
}
.btn-primary:hover,.btn-blue:hover,.btn.btn-primary:hover{
  background:#2f5cbb!important;color:#ffffff!important;border-color:#2f5cbb!important;
  transform:translateY(-1px)
}

/* danger = muted red */
.btn-danger,.btn-error,.btn.btn-danger{
  background:#c4505c!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #c4505c!important;
  box-shadow:0 2px 7px rgba(196,80,92,.22)!important;text-shadow:none!important
}
.btn-danger:hover,.btn-error:hover{background:#ab4250!important;color:#ffffff!important}

/* info = muted cyan */
.btn-info,.btn.btn-info{
  background:#3d8ba0!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #3d8ba0!important;
  box-shadow:0 2px 7px rgba(61,139,160,.22)!important;text-shadow:none!important
}
.btn-info:hover{background:#327587!important;color:#ffffff!important}

/* success = muted green */
.btn-success,.btn-green,.btn.btn-success{
  background:#2f9e6b!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #2f9e6b!important;
  box-shadow:0 2px 7px rgba(47,158,107,.22)!important;text-shadow:none!important
}
.btn-success:hover,.btn-green:hover{background:#27845a!important;color:#ffffff!important}

/* warning / gray */
.btn-warning{
  background:#c9922b!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #c9922b!important;text-shadow:none!important
}
.btn-gray,.btn-default{
  background:var(--card)!important;color:var(--text-dim)!important;
  border:1px solid var(--border-strong)!important;text-shadow:none!important
}
.btn-gray:hover,.btn-default:hover{color:var(--accent)!important;border-color:var(--accent)!important}

/* ---------- light theme: softer pastel fills ---------- */
html[data-theme="light"] .btn-primary,html[data-theme="light"] .btn-blue,
html[data-theme="light"] .btn.btn-primary{
  background:#3b6fd4!important;border-color:#3b6fd4!important;color:#ffffff!important
}
html[data-theme="light"] .btn-danger,html[data-theme="light"] .btn.btn-danger{
  background:#c4505c!important;border-color:#c4505c!important
}
html[data-theme="light"] .btn-info,html[data-theme="light"] .btn.btn-info{
  background:#3d8ba0!important;border-color:#3d8ba0!important
}
html[data-theme="light"] .btn-success,html[data-theme="light"] .btn.btn-success{
  background:#2f9e6b!important;border-color:#2f9e6b!important
}
html[data-theme="light"] .btn-gray,html[data-theme="light"] .btn-default{
  background:#ffffff!important;color:#42536b!important;border-color:#cfdcee!important
}

/* ---------- dark theme: slightly deeper fills ---------- */
html:not([data-theme="light"]) .btn-primary,
html:not([data-theme="light"]) .btn.btn-primary{
  background:#2f5cbb!important;border-color:#2f5cbb!important
}
html:not([data-theme="light"]) .btn-danger{background:#a84452!important;border-color:#a84452!important}
html:not([data-theme="light"]) .btn-info{background:#2e7284!important;border-color:#2e7284!important}
html:not([data-theme="light"]) .btn-success{background:#27845a!important;border-color:#27845a!important}

/* console colour swatches: small neat squares */
.btn.console-white,.btn.console-solarized,.btn.console-green,
.btn.console-yellow,.btn.console-red,.btn.console-blue{
  width:30px!important;height:30px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:8px!important;padding:0!important;margin-right:5px!important;
  border:1px solid var(--border-strong)!important;
  box-shadow:0 1px 4px rgba(0,0,0,.18)!important
}
.btn.console-white{background:#0b1424!important;color:#ffffff!important}
.btn.console-solarized{background:#002B36!important;color:#188F98!important}
.btn.console-green{background:#04140a!important;color:#00ff45!important}
.btn.console-yellow{background:#141414!important;color:#ffcc3c!important}
.btn.console-red{background:#112435!important;color:#f94747!important}
.btn.console-blue{background:#0b1a33!important;color:#3c7fff!important}
.btn.console-white:hover,.btn.console-solarized:hover,.btn.console-green:hover,
.btn.console-yellow:hover,.btn.console-red:hover,.btn.console-blue:hover{
  transform:translateY(-2px)!important;
  border-color:var(--accent)!important
}

@media(max-width:680px){
  .btn,.btn-short{padding:8px 13px!important;font-size:11.5px!important}
}

/* ============================================================
   PATCH 14 — footer design credit
   ============================================================ */
.mh-design-credit{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  flex-wrap:wrap!important;
  margin:12px auto 0!important;
  padding:11px 18px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:12px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow-sm)!important;
  font:500 11.5px Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important;
  letter-spacing:.2px!important;
  text-align:center!important
}
.mh-design-credit > i{
  color:var(--accent)!important;
  font-size:13px!important;
  width:16px!important;
  text-align:center!important
}
.mh-design-credit b{
  color:var(--accent)!important;
  font-weight:700!important;
  letter-spacing:.4px!important
}
.mh-design-sep{
  margin:0 7px!important;
  color:var(--muted)!important;
  opacity:.7
}
.mh-design-ban{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:3px 11px!important;
  border:1px solid rgba(244,98,108,.34)!important;
  border-radius:20px!important;
  background:rgba(244,98,108,.12)!important;
  color:var(--bad)!important;
  font-weight:600!important;
  font-size:11px!important;
  letter-spacing:.3px!important;
  text-transform:uppercase!important
}
.mh-design-ban i{font-size:10px!important}

/* light theme */
html[data-theme="light"] .mh-design-credit{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.16)!important;
  color:#42536b!important;
  box-shadow:0 8px 22px rgba(25,55,110,.09)!important
}
html[data-theme="light"] .mh-design-credit b{color:#1d4ed8!important}
html[data-theme="light"] .mh-design-credit > i{color:#2563eb!important}
html[data-theme="light"] .mh-design-ban{
  background:#fdeff0!important;border-color:#f3bcc0!important;color:#c62f3c!important
}

/* dark theme */
html:not([data-theme="light"]) .mh-design-credit{
  background:rgba(16,24,42,.88)!important;
  border-color:rgba(125,165,225,.2)!important;
  color:#b8c6dc!important
}
html:not([data-theme="light"]) .mh-design-credit b{color:#8fb2ff!important}
html:not([data-theme="light"]) .mh-design-ban{
  background:rgba(244,98,108,.14)!important;
  border-color:rgba(244,98,108,.38)!important;
  color:#ff8b93!important
}

@media(max-width:680px){
  .mh-design-credit{font-size:10.5px!important;padding:10px 13px!important;gap:6px!important}
  .mh-design-sep{display:none!important}
  .mh-design-ban{width:100%;justify-content:center;margin-top:6px}
}

/* ============================================================
   PATCH 15 — console swatch previews exact colours + clear-btn spacing
   ============================================================ */

/* --- swatches preview EXACTLY the colours the click applies --- */
.btn.console-white{
  background:#0C1021!important;color:#ffffff!important
}
.btn.console-solarized{
  background:#002B36!important;color:#188F98!important
}
.btn.console-green{
  background:#000000!important;color:#00ff45!important
}
.btn.console-yellow{
  background:#141414!important;color:#ffcc3c!important
}
.btn.console-red{
  background:#112435!important;color:#f94747!important
}
.btn.console-blue{
  background:#FFFFFF!important;color:#3c7fff!important
}

/* neat square shape + hover lift */
.btn.console-white,.btn.console-solarized,.btn.console-green,
.btn.console-yellow,.btn.console-red,.btn.console-blue{
  width:31px!important;height:31px!important;
  display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  border-radius:9px!important;
  padding:0!important;
  margin:0 5px 0 0!important;
  border:1px solid var(--border-strong)!important;
  box-shadow:0 2px 6px rgba(0,0,0,.22)!important;
  transition:.18s
}
.btn.console-white:hover,.btn.console-solarized:hover,.btn.console-green:hover,
.btn.console-yellow:hover,.btn.console-red:hover,.btn.console-blue:hover{
  transform:translateY(-2px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 5px 12px rgba(0,0,0,.3)!important
}
/* last swatch keeps its larger right margin */
.btn.console-blue{margin-right:15px!important}

/* tiny tooltip-ish hint on hover via title attr is enough;
   give each swatch a coloured ring so the target colour is obvious */
.btn.console-white{box-shadow:0 2px 6px rgba(12,16,33,.5)!important}
.btn.console-blue{box-shadow:0 2px 6px rgba(60,127,255,.35)!important}

/* --- "Очистка консоли": give it breathing room --- */
.btn-danger.right,
.btn.btn-danger.right{
  margin-left:16px!important;
  margin-right:0!important;
  padding-left:18px!important;
  padding-right:18px!important
}
/* and a small gap before the row it sits in */
main.side_left table.table_pad td .btn-danger.right{
  margin-left:18px!important
}

/* light theme: swatches keep their own dark preview colours */
html[data-theme="light"] .btn.console-white{background:#0C1021!important;color:#ffffff!important}
html[data-theme="light"] .btn.console-solarized{background:#002B36!important;color:#188F98!important}
html[data-theme="light"] .btn.console-green{background:#000000!important;color:#00ff45!important}
html[data-theme="light"] .btn.console-yellow{background:#141414!important;color:#ffcc3c!important}
html[data-theme="light"] .btn.console-red{background:#112435!important;color:#f94747!important}
html[data-theme="light"] .btn.console-blue{background:#FFFFFF!important;color:#3c7fff!important;border-color:#cfdcee!important}

@media(max-width:680px){
  .btn.console-white,.btn.console-solarized,.btn.console-green,
  .btn.console-yellow,.btn.console-red,.btn.console-blue{
    width:28px!important;height:28px!important
  }
  .btn-danger.right,.btn.btn-danger.right{margin-left:8px!important}
}

/* ============================================================
   PATCH 16 — refined footer design credit (elegant, minimal)
   ============================================================ */

/* reset the boxed look from PATCH 14 */
.mh-design-credit{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  margin:22px auto 2px!important;
  display:block!important;
  text-align:center!important
}

/* soft gradient hairline on top */
.mh-credit-rule{
  height:1px!important;
  margin:0 auto 16px!important;
  max-width:520px!important;
  background:linear-gradient(90deg,
    transparent 0%,
    var(--border-strong) 22%,
    var(--accent) 50%,
    var(--border-strong) 78%,
    transparent 100%)!important;
  opacity:.65!important
}

/* the line itself */
.mh-credit-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:11px!important;
  flex-wrap:wrap!important;
  font:500 11px Rubik,Arial,sans-serif!important;
  letter-spacing:.55px!important;
  text-transform:uppercase!important;
  color:var(--muted)!important
}

/* small diamond ornaments */
.mh-credit-glyph{
  color:var(--accent)!important;
  font-size:8px!important;
  opacity:.55!important;
  letter-spacing:0!important;
  transform:translateY(-1px)
}

.mh-credit-main{
  color:var(--text-dim)!important;
  letter-spacing:.5px!important
}
.mh-credit-main b{
  color:var(--accent)!important;
  font-weight:700!important;
  letter-spacing:.9px!important
}

.mh-credit-dot{
  color:var(--muted)!important;
  opacity:.55!important;
  font-size:13px!important;
  letter-spacing:0!important
}

.mh-credit-copy{
  color:var(--muted)!important;
  opacity:.9!important;
  letter-spacing:.5px!important
}
.mh-credit-copy i{
  font-size:9px!important;
  opacity:.75!important;
  margin:0 2px 0 4px!important;
  color:var(--muted)!important
}

/* light theme */
html[data-theme="light"] .mh-design-credit{color:#6d81a0!important}
html[data-theme="light"] .mh-credit-main{color:#42536b!important}
html[data-theme="light"] .mh-credit-main b{color:#1d4ed8!important}
html[data-theme="light"] .mh-credit-glyph{color:#2563eb!important}
html[data-theme="light"] .mh-credit-copy{color:#7a8ca6!important}

/* dark theme */
html:not([data-theme="light"]) .mh-credit-main{color:#b8c6dc!important}
html:not([data-theme="light"]) .mh-credit-main b{color:#8fb2ff!important}
html:not([data-theme="light"]) .mh-credit-glyph{color:#5b8def!important}
html:not([data-theme="light"]) .mh-credit-copy{color:#8b9cb5!important}

/* hover: gentle glow on the brand */
.mh-credit-main b{
  transition:color .25s,text-shadow .25s
}
.mh-design-credit:hover .mh-credit-main b{
  color:var(--accent)!important;
  text-shadow:0 0 14px var(--accent-glow)
}

@media(max-width:680px){
  .mh-credit-row{
    gap:7px!important;font-size:9.5px!important;letter-spacing:.35px!important
  }
  .mh-credit-dot{display:none!important}
  .mh-credit-rule{max-width:100%!important;margin-bottom:12px!important}
}

/* ============================================================
   PATCH 17 — same clear-button spacing for css / cssold (.btn-error)
   ============================================================ */
.btn-error.right,
.btn.btn-error.right{
  margin-left:18px!important;
  margin-right:0!important;
  padding-left:18px!important;
  padding-right:18px!important
}
main.side_left table.table_pad td .btn-error.right{margin-left:18px!important}

/* make sure error = same soft look as danger on all game consoles */
.btn-error,.btn.btn-error{
  background:#c4505c!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #c4505c!important;
  border-radius:10px!important;
  box-shadow:0 2px 7px rgba(196,80,92,.22)!important;
  text-shadow:none!important;
  font:600 12px Rubik,Arial,sans-serif!important
}
.btn-error:hover,.btn.btn-error:hover{
  background:#ab4250!important;color:#ffffff!important;
  transform:translateY(-1px)
}
html:not([data-theme="light"]) .btn-error,
html:not([data-theme="light"]) .btn.btn-error{
  background:#a84452!important;border-color:#a84452!important
}

@media(max-width:680px){
  .btn-error.right,.btn.btn-error.right{margin-left:8px!important}
}

/* ============================================================
   PATCH 18 — console buttons (beats main.side_left .btn) + clear spacing
   ============================================================ */

/* ---- command buttons: visibly softer (higher specificity than PATCH 12) ---- */
main.side_left .btn.btn-primary,
main.side_left table.table_pad td .btn.btn-primary,
.server_console table.table_pad td .btn.btn-primary{
  background:#4c6fa8!important;
  background-image:none!important;
  color:#f2f6fc!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:9px!important;
  padding:8px 14px!important;
  margin:0 6px 6px 0!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.2px!important;
  text-shadow:none!important;
  box-shadow:0 1px 4px rgba(0,0,0,.18)!important;
  opacity:.92;
  transition:.18s
}
main.side_left .btn.btn-primary:hover,
.server_console table.table_pad td .btn.btn-primary:hover{
  background:#3c5b8c!important;
  color:#ffffff!important;
  opacity:1!important;
  transform:translateY(-1px)
}

/* ---- info button (Обновление) ---- */
main.side_left .btn.btn-info,
.server_console table.table_pad td .btn.btn-info{
  background:#3f7d8f!important;background-image:none!important;
  color:#eaf6f9!important;border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;padding:8px 14px!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  text-shadow:none!important;box-shadow:0 1px 4px rgba(0,0,0,.18)!important
}
main.side_left .btn.btn-info:hover{background:#326778!important;color:#ffffff!important}

/* ---- clear button: real breathing room ---- */
.server_console table.table_pad td{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important
}
.server_console table.table_pad td .btn-danger.right,
.server_console table.table_pad td .btn-error.right,
main.side_left table.table_pad td .btn-danger.right,
main.side_left table.table_pad td .btn-error.right{
  margin-left:auto!important;
  margin-right:0!important;
  padding:8px 18px!important;
  background:#a8555f!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  text-shadow:none!important;
  box-shadow:0 1px 4px rgba(0,0,0,.18)!important;
  opacity:.92
}
.server_console table.table_pad td .btn-danger.right:hover,
.server_console table.table_pad td .btn-error.right:hover{
  background:#8e444e!important;color:#ffffff!important;opacity:1!important
}

/* ---- light theme: same muted look ---- */
html[data-theme="light"] .server_console table.table_pad td .btn.btn-primary,
html[data-theme="light"] main.side_left .btn.btn-primary{
  background:#4c6fa8!important;color:#ffffff!important;
  border-color:#4c6fa8!important
}
html[data-theme="light"] .server_console table.table_pad td .btn-danger.right,
html[data-theme="light"] .server_console table.table_pad td .btn-error.right{
  background:#a8555f!important;color:#ffffff!important;border-color:#a8555f!important
}
html[data-theme="light"] .server_console table.table_pad td .btn.btn-info{
  background:#3f7d8f!important;color:#ffffff!important
}

/* ---- dark theme: slightly deeper ---- */
html:not([data-theme="light"]) .server_console table.table_pad td .btn.btn-primary{
  background:#3c5b8c!important;color:#eaf0fa!important
}
html:not([data-theme="light"]) .server_console table.table_pad td .btn-danger.right,
html:not([data-theme="light"]) .server_console table.table_pad td .btn-error.right{
  background:#8e444e!important
}

@media(max-width:680px){
  .server_console table.table_pad td{gap:5px!important}
  .server_console table.table_pad td .btn.btn-primary{padding:7px 10px!important;font-size:11px!important}
  .server_console table.table_pad td .btn-danger.right,
  .server_console table.table_pad td .btn-error.right{margin-left:0!important;width:100%!important}
}

/* ============================================================
   PATCH 19 — console colour swatches must show DIFFERENT colours
   (higher specificity than main.side_left .btn which was painting
    every .btn with the same accent background)
   ============================================================ */

/* ---- each swatch shows exactly the colours its click applies ---- */
main.side_left .btn.console-white,
.server_console .btn.console-white,
hblock_content .btn.console-white{
  background:#0C1021!important;
  background-image:none!important;
  color:#ffffff!important
}
main.side_left .btn.console-solarized,
.server_console .btn.console-solarized{
  background:#002B36!important;
  background-image:none!important;
  color:#188F98!important
}
main.side_left .btn.console-green,
.server_console .btn.console-green{
  background:#000000!important;
  background-image:none!important;
  color:#00ff45!important
}
main.side_left .btn.console-yellow,
.server_console .btn.console-yellow{
  background:#141414!important;
  background-image:none!important;
  color:#ffcc3c!important
}
main.side_left .btn.console-red,
.server_console .btn.console-red{
  background:#112435!important;
  background-image:none!important;
  color:#f94747!important
}
main.side_left .btn.console-blue,
.server_console .btn.console-blue{
  background:#FFFFFF!important;
  background-image:none!important;
  color:#3c7fff!important
}

/* ---- shape: neat squares, neutral border (not accent) ---- */
main.side_left .btn.console-white,
main.side_left .btn.console-solarized,
main.side_left .btn.console-green,
main.side_left .btn.console-yellow,
main.side_left .btn.console-red,
main.side_left .btn.console-blue{
  width:31px!important;height:31px!important;
  display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  border-radius:9px!important;
  padding:0!important;
  margin:0 6px 0 0!important;
  border:1px solid var(--border-strong)!important;
  box-shadow:0 2px 6px rgba(0,0,0,.24)!important;
  opacity:1!important;
  transition:.18s
}
main.side_left .btn.console-white:hover,
main.side_left .btn.console-solarized:hover,
main.side_left .btn.console-green:hover,
main.side_left .btn.console-yellow:hover,
main.side_left .btn.console-red:hover,
main.side_left .btn.console-blue:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 5px 13px rgba(0,0,0,.32)!important;
  opacity:1!important
}
main.side_left .btn.console-blue{margin-right:15px!important}

/* icon inside swatch = the console text colour */
main.side_left .btn.console-white i{color:#ffffff!important}
main.side_left .btn.console-solarized i{color:#188F98!important}
main.side_left .btn.console-green i{color:#00ff45!important}
main.side_left .btn.console-yellow i{color:#ffcc3c!important}
main.side_left .btn.console-red i{color:#f94747!important}
main.side_left .btn.console-blue i{color:#3c7fff!important}

/* hover ring uses each swatch's own colour, not the accent */
main.side_left .btn.console-white:hover{border-color:#ffffff!important}
main.side_left .btn.console-solarized:hover{border-color:#188F98!important}
main.side_left .btn.console-green:hover{border-color:#00ff45!important}
main.side_left .btn.console-yellow:hover{border-color:#ffcc3c!important}
main.side_left .btn.console-red:hover{border-color:#f94747!important}
main.side_left .btn.console-blue:hover{border-color:#3c7fff!important}

@media(max-width:680px){
  main.side_left .btn.console-white,
  main.side_left .btn.console-solarized,
  main.side_left .btn.console-green,
  main.side_left .btn.console-yellow,
  main.side_left .btn.console-red,
  main.side_left .btn.console-blue{
    width:28px!important;height:28px!important
  }
}

/* ============================================================
   PATCH 20 — top statistics strip (like ds-host.su)
   ============================================================ */
.mh-stats{
  display:block!important;
  width:100%!important;
  border-bottom:1px solid var(--border)!important;
  background:var(--surface)!important;
  margin:0!important;padding:0!important
}
.mh-stats .mh-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 14px!important
}
.mh-stats-list{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:0!important;
  margin:0!important;padding:0!important;
  list-style:none!important
}
.mh-stats-list li{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:2px 22px!important;
  margin:0!important;
  border-right:1px solid var(--border)!important;
  font:500 12px Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important;
  white-space:nowrap!important
}
.mh-stats-list li:first-child{padding-left:0!important}
.mh-stats-list li:last-child{
  border-right:0!important;
  padding-right:0!important
}
.mh-stats-list li i{
  color:var(--accent)!important;
  font-size:12px!important;
  opacity:.85
}
.mh-stats-list li span{
  color:var(--muted)!important;
  letter-spacing:.1px!important
}
.mh-stats-list li strong{
  color:var(--text)!important;
  font-weight:700!important;
  font-size:13.5px!important;
  letter-spacing:.2px!important
}

/* ---------- light theme ---------- */
html[data-theme="light"] .mh-stats{
  background:rgba(255,255,255,.92)!important;
  border-bottom-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-stats-list li{color:#42536b!important}
html[data-theme="light"] .mh-stats-list li span{color:#6d81a0!important}
html[data-theme="light"] .mh-stats-list li strong{color:#12213a!important}
html[data-theme="light"] .mh-stats-list li i{color:#2563eb!important}

/* ---------- dark theme ---------- */
html:not([data-theme="light"]) .mh-stats{
  background:rgba(11,18,32,.92)!important;
  border-bottom-color:rgba(125,165,225,.16)!important
}
html:not([data-theme="light"]) .mh-stats-list li{color:#a7b5ca!important}
html:not([data-theme="light"]) .mh-stats-list li span{color:#7c8da5!important}
html:not([data-theme="light"]) .mh-stats-list li strong{color:#e9eef7!important}
html:not([data-theme="light"]) .mh-stats-list li i{color:#5b8def!important}

/* numbers glow subtly on hover */
.mh-stats-list li strong{
  transition:text-shadow .25s
}
.mh-stats-list li:hover strong{
  text-shadow:0 0 12px var(--accent-glow)
}

@media(max-width:900px){
  .mh-stats .mh-wrap{padding:7px 10px!important}
  .mh-stats-list li{
    padding:2px 12px!important;
    font-size:10.5px!important;
    gap:6px!important
  }
  .mh-stats-list li strong{font-size:11.5px!important}
  .mh-stats-list li i{font-size:10px!important}
}
@media(max-width:560px){
  .mh-stats-list li{border-right:0!important;padding:3px 8px!important}
  .mh-stats-list li span{display:none!important}
}

/* ============================================================
   PATCH 21 — loader: centred circular spinner with backdrop
   (overrides egp.css which pinned 6 dots to the top-right corner)
   ============================================================ */

/* ---- full-screen dimmed backdrop ---- */
#loadinginfo{
  display:none!important;
  position:fixed!important;
  inset:0!important;
  top:0!important;left:0!important;
  width:100%!important;height:100%!important;
  z-index:9999!important;
  background:rgba(7,12,22,.55)!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:18px!important
}
#loadinginfo[style*="block"]{display:flex!important}

/* ---- the circular spinner ---- */
.loader{
  position:relative!important;
  top:auto!important;left:auto!important;
  width:74px!important;
  height:74px!important;
  margin:0 auto!important;
  z-index:10000!important
}
/* hide the 6 legacy dots — they were pinned to the top-right corner */
.loader > span{
  position:absolute!important;
  top:50%!important;left:50%!important;
  width:9px!important;height:9px!important;
  border-radius:50%!important;
  background:var(--accent)!important;
  opacity:.9!important;
  margin:0!important;
  transition:none!important;
  box-shadow:0 0 10px var(--accent-glow)
}
/* arrange them in a ring and spin */
.loader > span{
  animation:mhSpinDot 1.15s linear infinite
}
.loader > span.l-1{transform:rotate(0deg)   translateY(-28px);animation-delay:0s}
.loader > span.l-2{transform:rotate(60deg)  translateY(-28px);animation-delay:.13s}
.loader > span.l-3{transform:rotate(120deg) translateY(-28px);animation-delay:.26s}
.loader > span.l-4{transform:rotate(180deg) translateY(-28px);animation-delay:.39s}
.loader > span.l-5{transform:rotate(240deg) translateY(-28px);animation-delay:.52s}
.loader > span.l-6{transform:rotate(300deg) translateY(-28px);animation-delay:.65s}

/* soft rotating ring behind the dots */
.loader:before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  border-radius:50%!important;
  border:2px solid var(--border-strong)!important;
  border-top-color:var(--accent)!important;
  animation:mhSpinRing 1.05s linear infinite
}
.loader:after{
  content:''!important;
  position:absolute!important;
  inset:11px!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 50% 42%,var(--accent-glow),transparent 70%)!important
}

@keyframes mhSpinRing{to{transform:rotate(360deg)}}
@keyframes mhSpinDot{
  0%,100%{opacity:.25}
  40%{opacity:1}
}

/* ---- label ---- */
#loadinginfo:after{
  content:'Выполнение операции...';
  display:block!important;
  font:600 13px Rubik,Arial,sans-serif!important;
  letter-spacing:.3px!important;
  color:#ffffff!important;
  text-shadow:0 2px 10px rgba(0,0,0,.5)!important;
  margin-top:2px!important
}

/* ---- light theme: lighter backdrop, same spinner ---- */
html[data-theme="light"] #loadinginfo{background:rgba(244,248,253,.72)!important}
html[data-theme="light"] #loadinginfo:after{
  color:#12213a!important;text-shadow:none!important
}
html[data-theme="light"] .loader > span{background:#2563eb!important}
html[data-theme="light"] .loader:before{border-color:#cfdcee!important;border-top-color:#2563eb!important}

/* ---- dark theme ---- */
html:not([data-theme="light"]) #loadinginfo{background:rgba(7,12,22,.6)!important}
html:not([data-theme="light"]) .loader > span{background:#5b8def!important}
html:not([data-theme="light"]) .loader:before{border-color:rgba(125,165,225,.22)!important;border-top-color:#5b8def!important}

@media(max-width:680px){
  .loader{width:62px!important;height:62px!important}
  .loader > span{width:8px!important;height:8px!important}
  .loader > span.l-1{transform:rotate(0deg)   translateY(-23px)}
  .loader > span.l-2{transform:rotate(60deg)  translateY(-23px)}
  .loader > span.l-3{transform:rotate(120deg) translateY(-23px)}
  .loader > span.l-4{transform:rotate(180deg) translateY(-23px)}
  .loader > span.l-5{transform:rotate(240deg) translateY(-23px)}
  .loader > span.l-6{transform:rotate(300deg) translateY(-23px)}
  #loadinginfo:after{font-size:11.5px!important}
}

/* respect reduced-motion */
@media(prefers-reduced-motion:reduce){
  .loader:before,.loader > span{animation-duration:2.4s!important}
}


/* ============================================================
   PATCH 23 — bootbox dialogs + payment confirm box, both themes
   ============================================================ */

/* ---------- bootbox modal shell ---------- */
.bootbox .modal{
  border:1px solid var(--border-strong)!important;
  border-radius:15px!important;
  background:var(--surface-solid)!important;
  box-shadow:0 26px 60px rgba(0,0,0,.4)!important;
  overflow:hidden!important
}
.bootbox .modal-dialog{
  max-width:420px!important;
  margin:9vh auto!important
}
.bootbox .modal-content{
  background:var(--grad-panel)!important;
  border:0!important;
  border-radius:15px!important;
  color:var(--text)!important;
  box-shadow:none!important
}
.bootbox .modal-header,
.bootbox .modal-footer{
  background:var(--card2)!important;
  border-color:var(--border)!important;
  color:var(--text)!important;
  padding:14px 20px!important
}
.bootbox .modal-header h3,
.bootbox .modal-header h4,
.bootbox .modal-title{
  margin:0!important;
  color:var(--text)!important;
  font:700 15px Rubik,Arial,sans-serif!important;
  letter-spacing:.2px!important
}
.bootbox .modal-body{
  color:var(--text-dim)!important;
  font:400 13.5px Rubik,Arial,sans-serif!important;
  line-height:1.6!important;
  padding:18px 20px!important
}
.bootbox .modal-body h3{
  margin:0 0 12px!important;
  color:var(--text)!important;
  font:700 15px Rubik,Arial,sans-serif!important
}

/* ---------- confirm box: readable on BOTH themes ---------- */
.rp-confirm-box{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:14px 16px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:12px!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:400 13px Rubik,Arial,sans-serif!important;
  line-height:1.5!important
}
.rp-confirm-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:7px 11px!important;
  border-radius:9px!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important
}
.rp-confirm-row b{
  color:var(--muted)!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  letter-spacing:.6px!important;
  text-transform:uppercase!important
}
.rp-confirm-row em{
  color:var(--accent)!important;
  font:700 14px Rubik,Arial,sans-serif!important;
  font-style:normal!important;
  letter-spacing:.1px!important
}

/* ---------- buttons in the dialog ---------- */
.bootbox .modal-footer .btn{
  border-radius:10px!important;
  padding:9px 18px!important;
  font:600 12.5px Rubik,Arial,sans-serif!important;
  text-shadow:none!important
}
.bootbox .modal-footer .btn-primary,
.bootbox .modal-footer .btn.btn-primary{
  background:#3b6fd4!important;background-image:none!important;
  color:#ffffff!important;border:1px solid #3b6fd4!important
}
.bootbox .modal-footer .btn-primary:hover{
  background:#2f5cbb!important;color:#ffffff!important
}
.bootbox .modal-footer .btn-default,
.bootbox .modal-footer .btn.btn-default{
  background:var(--card)!important;
  color:var(--text-dim)!important;
  border:1px solid var(--border-strong)!important
}
.bootbox .modal-footer .btn-default:hover{
  color:var(--accent)!important;border-color:var(--accent)!important
}

/* ---------- backdrop ---------- */
.bootbox .modal-backdrop{
  background:rgba(7,12,22,.55)!important
}

/* ---------- light theme ---------- */
html[data-theme="light"] .bootbox .modal{
  background:#ffffff!important;
  border-color:rgba(30,60,120,.15)!important;
  box-shadow:0 26px 60px rgba(25,55,110,.22)!important
}
html[data-theme="light"] .bootbox .modal-content{background:#ffffff!important}
html[data-theme="light"] .bootbox .modal-header,
html[data-theme="light"] .bootbox .modal-footer{background:#f7fafd!important;border-color:#e2ebf5!important}
html[data-theme="light"] .bootbox .modal-body{color:#42536b!important}
html[data-theme="light"] .rp-confirm-box{background:#f7fafd!important;border-color:#dce6f0!important;color:#12213a!important}
html[data-theme="light"] .rp-confirm-row{background:#ffffff!important;border-color:#e2ebf5!important}
html[data-theme="light"] .rp-confirm-row em{color:#1d4ed8!important}
html[data-theme="light"] .bootbox .modal-backdrop{background:rgba(25,55,110,.35)!important}

/* ---------- dark theme ---------- */
html:not([data-theme="light"]) .bootbox .modal{
  background:#17223a!important;
  border-color:rgba(125,165,225,.22)!important
}
html:not([data-theme="light"]) .rp-confirm-box{background:rgba(30,42,68,.9)!important}
html:not([data-theme="light"]) .rp-confirm-row{background:rgba(24,34,58,.92)!important}
html:not([data-theme="light"]) .rp-confirm-row em{color:#8fb2ff!important}

@media(max-width:680px){
  .bootbox .modal-dialog{margin:6vh 14px!important}
  .rp-confirm-row{flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
}

/* ============================================================
   PATCH 24 — sticky header: top bar + nav follow on scroll
   ============================================================ */
.mh-sticky{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  background:transparent!important;
  padding-top:2px!important
}

/* keep the two rows looking like one solid bar when stuck */
.mh-sticky .mh-top{
  margin:0 0 6px!important;
  transition:padding .25s,margin .25s,box-shadow .25s
}
.mh-sticky .mh-header{
  margin:0 auto!important;
  transition:padding .25s,box-shadow .25s
}

/* shadow appears once scrolled (added by JS class .mh-stuck) */
.mh-sticky.mh-stuck{
  background:var(--surface)!important;
  border-bottom:1px solid var(--border)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.22)!important;
  backdrop-filter:saturate(140%) blur(10px)!important;
  -webkit-backdrop-filter:saturate(140%) blur(10px)!important
}
.mh-sticky.mh-stuck .mh-top{
  margin-bottom:5px!important;
  padding-top:6px!important;
  padding-bottom:6px!important
}
.mh-sticky.mh-stuck .mh-header{
  padding-top:8px!important;
  padding-bottom:8px!important
}

/* light theme stuck bar */
html[data-theme="light"] .mh-sticky.mh-stuck{
  background:rgba(255,255,255,.95)!important;
  border-bottom-color:rgba(30,60,120,.14)!important;
  box-shadow:0 10px 28px rgba(25,55,110,.12)!important
}

/* dark theme stuck bar */
html:not([data-theme="light"]) .mh-sticky.mh-stuck{
  background:rgba(11,18,32,.93)!important;
  border-bottom-color:rgba(125,165,225,.18)!important
}

@media(max-width:900px){
  .mh-sticky{padding-top:0!important}
  .mh-sticky.mh-stuck .mh-header{padding-top:6px!important;padding-bottom:6px!important}
}

/* ============================================================
   PATCH 25 — centred sticky header, NO darkening on scroll
   ============================================================ */

/* ---- the sticky wrapper: plain, no blur / no shadow / no tint ---- */
.mh-sticky{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important;
  padding:0!important
}

/* ---- both rows centred on the site ---- */
.mh-sticky .mh-wrap{
  max-width:1240px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important
}
.mh-sticky .mh-top{
  margin:10px auto 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important
}
.mh-sticky .mh-header{
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important
}

/* ---- when stuck: just tighten spacing, no darkening ---- */
.mh-sticky.mh-stuck{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important
}
.mh-sticky.mh-stuck .mh-top{
  margin-top:6px!important;
  margin-bottom:5px!important
}
.mh-sticky.mh-stuck .mh-header{
  padding-top:8px!important;
  padding-bottom:8px!important
}

@media(max-width:900px){
  .mh-sticky .mh-top{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important
  }
  .mh-sticky .mh-top > div{justify-content:center!important}
  .mh-sticky .mh-header{gap:10px!important}
}

/* ============================================================
   PATCH 26 — only the nav bar is sticky (top bar scrolls away)
   ============================================================ */
.mh-sticky{
  position:sticky!important;
  top:0!important;
  z-index:1000!important
}

/* nav gets a clean solid bar so content passes under it */
.mh-sticky .mh-header{
  max-width:1240px!important;
  width:100%!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  background:var(--surface-solid)!important;
  border:1px solid var(--border)!important;
  border-radius:13px!important;
  padding:10px 16px!important;
  margin-top:8px!important;
  margin-bottom:8px!important
}

/* dark theme bar */
html:not([data-theme="light"]) .mh-sticky .mh-header{
  background:rgba(14,22,38,.96)!important;
  border-color:rgba(125,165,225,.18)!important
}

/* light theme bar */
html[data-theme="light"] .mh-sticky .mh-header{
  background:rgba(255,255,255,.97)!important;
  border-color:rgba(30,60,120,.13)!important
}

/* when stuck — just tighten, no blur / no tint / no shadow */
.mh-sticky.mh-stuck .mh-header{
  margin-top:5px!important;
  margin-bottom:5px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  background:var(--surface-solid)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important
}
html:not([data-theme="light"]) .mh-sticky.mh-stuck .mh-header{background:rgba(14,22,38,.97)!important}
html[data-theme="light"] .mh-sticky.mh-stuck .mh-header{background:rgba(255,255,255,.98)!important}

/* top bar keeps its own look and simply scrolls away */
.mh-wrap.mh-top{
  max-width:1240px!important;
  margin:10px auto 0!important
}

@media(max-width:900px){
  .mh-sticky .mh-header{gap:10px!important;padding:9px 12px!important}
}

/* ============================================================
   PATCH 27 — restore natural width, no bg behind nav, wider pluginsadd
   ============================================================ */

/* ---- 1. width back to the site standard (1380px, not 1240px) ---- */
.mh-sticky .mh-header,
.mh-wrap.mh-top,
.mh-sticky .mh-wrap{
  max-width:none!important;
  width:min(1380px,calc(100% - 44px))!important;
  margin-left:auto!important;
  margin-right:auto!important
}

/* ---- 2. NO background / border / shadow behind the nav ---- */
.mh-sticky,
.mh-sticky.mh-stuck{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important
}
.mh-sticky .mh-header,
.mh-sticky.mh-stuck .mh-header{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  padding:10px 0!important;
  margin:0 auto!important
}

@media(max-width:900px){
  .mh-sticky .mh-header{padding:8px 0!important}
}

/* ---- 3. pluginsadd block = same width as the rest of the site ---- */
.plugins-add-container{
  max-width:min(1380px,calc(100% - 44px))!important;
  width:100%!important;
  margin:0 auto!important;
  box-sizing:border-box!important
}
/* its content blocks follow the same width */
.plugins-add-container .block_content,
.plugins-add-container .info-section{
  width:100%!important;
  box-sizing:border-box!important
}

@media(max-width:768px){
  .plugins-add-container{max-width:calc(100% - 24px)!important}
}

/* ============================================================
   PATCH 28 — neutralise sticky rules (header reverted), pluginsadd width
   ============================================================ */

/* the .mh-sticky wrapper no longer exists in the markup;
   these keep the page safe if any stray instance appears */
.mh-sticky{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important;
  padding:0!important
}
.mh-sticky .mh-header,
.mh-sticky.mh-stuck .mh-header{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  padding:0!important;
  margin:0 auto!important;
  max-width:none!important;
  width:min(1380px,calc(100% - 44px))!important
}
.mh-wrap.mh-top{
  max-width:none!important;
  width:min(1380px,calc(100% - 44px))!important;
  margin:10px auto 0!important
}

/* ---- pluginsadd: fill the content column (inline style sets max-width:100%) ---- */
main.side_left .plugins-add-container,
.side_left .plugins-add-container{
  max-width:100%!important;
  width:100%!important;
  margin:0 auto!important;
  box-sizing:border-box!important
}
main.side_left .plugins-add-container .block_content,
main.side_left .plugins-add-container .info-section{
  width:100%!important;
  box-sizing:border-box!important
}

/* ============================================================
   PATCH 29 — per-service icon tiles on /services?amenities
   ============================================================ */

/* base (no color-mix) so old browsers still see a tile */
.svc-ico{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:112px!important;
  border-radius:11px!important;
  margin:0 0 9px!important;
  overflow:hidden!important;
  position:relative!important;
  background:var(--card2)!important;
  border:1px solid var(--border-strong)!important
}

/* nicer gradient where color-mix is supported */
@supports (background: color-mix(in srgb, red 10%, blue)){
  .svc-ico{
    background:linear-gradient(150deg,
        color-mix(in srgb,var(--svc-tint,#4a7dff) 26%,var(--card2)) 0%,
        color-mix(in srgb,var(--svc-tint,#4a7dff) 12%,var(--card2)) 100%)!important;
    border-color:color-mix(in srgb,var(--svc-tint,#4a7dff) 34%,var(--border))!important
  }
  .svc-ico:before{
    background:radial-gradient(circle,color-mix(in srgb,var(--svc-tint,#4a7dff) 32%,transparent),transparent 70%)!important
  }
  .svc-ico i{
    filter:drop-shadow(0 4px 10px color-mix(in srgb,var(--svc-tint,#4a7dff) 40%,transparent))
  }
}

/* soft glow blob behind the glyph */
.svc-ico:before{
  content:''!important;
  position:absolute!important;
  width:96px!important;height:96px!important;
  border-radius:50%!important;
  background:rgba(120,140,200,.12)!important;
  top:-26px;right:-22px
}

/* the glyph — colour comes from the per-service tint */
.svc-ico i{
  font-size:34px!important;
  color:var(--svc-tint,var(--accent))!important;
  z-index:1
}

/* hover: tile picks up the tint */
.service_block:hover .svc-ico{
  border-color:var(--svc-tint,var(--accent))!important
}
.service_block:hover .svc-ico i{
  transform:scale(1.08);
  transition:transform .25s
}

.service_block .service_game{
  margin-top:2px!important;
  min-height:32px!important
}

/* light theme */
html[data-theme="light"] .svc-ico{
  background:var(--card-solid)!important;
  border-color:var(--border)!important
}
html[data-theme="light"] .svc-ico:before{background:rgba(120,140,200,.1)!important}

/* dark theme */
html:not([data-theme="light"]) .svc-ico{
  background:var(--card2)!important;
  border-color:var(--border-strong)!important
}

@media(max-width:680px){
  .svc-ico{height:96px!important}
  .svc-ico i{font-size:28px!important}
}

/* ============================================================
   PATCH 30 — nav: rounder corners + lighter background matching the site
   ============================================================ */

/* the header strip the nav lives in — slightly lighter than the page */
.mh-header{
  background:var(--card)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  padding:9px 18px!important
}

/* nav links: bigger radius, cleaner look */
.mh-nav a{
  border-radius:13px!important;
  padding:9px 15px!important;
  background:transparent!important
}
.mh-nav a:hover{
  background:var(--card2)!important;
  border-radius:13px!important
}
.mh-nav a.is-active{
  border-radius:13px!important;
  background:color-mix(in srgb,var(--accent) 14%,transparent)!important
}

/* ---- light theme: nav background a touch LIGHTER than the page ---- */
html[data-theme="light"] .mh-header{
  background:#fbfdff!important;                 /* lighter than --bg #f1f5fb */
  border-color:#e4edf7!important;
  box-shadow:0 6px 20px rgba(25,55,110,.07)!important
}
html[data-theme="light"] .mh-nav a:hover{background:#f2f7fd!important}
html[data-theme="light"] .mh-nav a.is-active{background:#e8f0fe!important}

/* ---- dark theme: nav a touch LIGHTER than the page bg ---- */
html:not([data-theme="light"]) .mh-header{
  background:#16223a!important;                  /* lighter than --bg #0b1220 */
  border-color:rgba(125,165,225,.2)!important;
  box-shadow:0 8px 24px rgba(2,6,18,.32)!important
}
html:not([data-theme="light"]) .mh-nav a:hover{background:#1e2c48!important}
html:not([data-theme="light"]) .mh-nav a.is-active{background:rgba(91,141,239,.18)!important}

@media(max-width:900px){
  .mh-nav a{padding:8px 11px!important;border-radius:11px!important}
  .mh-header{padding:8px 12px!important;border-radius:13px!important}
}

/* ============================================================
   PATCH 31 — nav: force rounded + lighter bg (beats body > header.mh-header)
   ============================================================ */

/* kill the blur that washed out the panel colour */
body > header.mh-header,
body > header,
.mh-header{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  background-image:none!important
}

/* light theme: panel lighter than the page bg #f1f5fb */
body > header.mh-header,
body > header,
html[data-theme="light"] .mh-header{
  background:#fcfdff!important;
  border:1px solid #e3edf8!important;
  border-radius:18px!important;
  box-shadow:0 6px 22px rgba(25,55,110,.08)!important
}

/* dark theme: panel lighter than the page bg #0b1220 */
html:not([data-theme="light"]) body > header.mh-header,
html:not([data-theme="light"]) body > header,
html:not([data-theme="light"]) .mh-header{
  background:#17233c!important;
  border:1px solid rgba(125,165,225,.22)!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(2,6,18,.36)!important
}

/* nav buttons: rounder */
.mh-nav a,
.mh-nav a:hover,
.mh-nav a.is-active,
.mh-nav a.is-current{
  border-radius:12px!important
}
.mh-nav a{
  background:transparent!important;
  border:1px solid transparent!important
}
.mh-nav a:hover{
  background:var(--card2)!important;
  border-color:var(--border)!important
}

/* active pill — solid accent with rounded look */
.mh-nav a.is-active,
.mh-nav a.is-current{
  background:var(--accent)!important;
  color:#ffffff!important;
  border-color:var(--accent)!important;
  box-shadow:0 3px 10px var(--accent-glow)!important
}
.mh-nav a.is-active:after,
.mh-nav a.is-current:after{display:none!important}

/* hover states per theme */
html[data-theme="light"] .mh-nav a:hover{
  background:#eef4fc!important;border-color:#d6e3f2!important
}
html:not([data-theme="light"]) .mh-nav a:hover{
  background:#1e2c48!important;border-color:rgba(125,165,225,.24)!important
}

@media(max-width:900px){
  body > header.mh-header,body > header,.mh-header{border-radius:15px!important;padding:12px 14px!important}
  .mh-nav a{border-radius:11px!important}
}

/* ============================================================
   PATCH 32 — nav: lighter background like the site, all 4 corners rounded
   ============================================================ */

/* ---- panel: clean, lighter than the page, 4 corners rounded ---- */
body > header.mh-header,
body > header,
.mh-header{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  background-image:none!important;
  border-radius:16px!important;
  overflow:hidden!important
}

/* light theme: panel is the lightest tone on the page */
html[data-theme="light"] body > header.mh-header,
html[data-theme="light"] body > header,
html[data-theme="light"] .mh-header{
  background:#ffffff!important;
  border:1px solid #e6eef8!important;
  box-shadow:0 4px 18px rgba(25,55,110,.07)!important
}

/* dark theme: panel a step lighter than the page bg */
html:not([data-theme="light"]) body > header.mh-header,
html:not([data-theme="light"]) body > header,
html:not([data-theme="light"]) .mh-header{
  background:#1b2740!important;
  border:1px solid rgba(130,175,235,.22)!important;
  box-shadow:0 8px 26px rgba(2,6,18,.34)!important
}

/* ---- nav buttons: all 4 corners rounded ---- */
.mh-nav a,
.mh-nav a:hover,
.mh-nav a.is-active,
.mh-nav a.is-current{
  border-radius:11px!important;
  overflow:hidden!important
}
.mh-nav a{
  background:transparent!important;
  border:1px solid transparent!important
}
.mh-nav a:hover{
  background:var(--card2)!important;
  border-color:var(--border)!important
}
.mh-nav a.is-active,
.mh-nav a.is-current{
  background:var(--accent)!important;
  color:#ffffff!important;
  border-color:var(--accent)!important;
  border-radius:11px!important;
  box-shadow:0 3px 10px var(--accent-glow)!important
}
.mh-nav a.is-active:after,
.mh-nav a.is-current:after{display:none!important}

/* brand + tool buttons get the same radius language */
.mh-icon-btn{
  border-radius:11px!important
}

/* hover tone per theme — subtle, matching the panel */
html[data-theme="light"] .mh-nav a:hover{
  background:#f2f7fd!important;border-color:#d9e6f5!important
}
html:not([data-theme="light"]) .mh-nav a:hover{
  background:#243453!important;border-color:rgba(130,175,235,.28)!important
}

@media(max-width:900px){
  body > header.mh-header,body > header,.mh-header{
    border-radius:14px!important;padding:11px 13px!important
  }
  .mh-nav a{border-radius:10px!important}
}

/* ============================================================
   PATCH 33 — /user/section/auth : hero, VK button, form polish
   ============================================================ */

.mh-auth{
  display:flex!important;
  flex-direction:column!important;
  gap:16px!important;
  color:var(--text)!important
}

/* ---------- hero / heading (was on a transparent background) ---------- */
.mh-auth .mh-section-head{
  padding:24px 26px!important;
  border:1px solid var(--border)!important;
  border-radius:18px!important;
  background:var(--grad-panel)!important;
  box-shadow:var(--shadow-sm)!important;
  position:relative!important;
  overflow:hidden!important
}
/* soft accent blob top-right */
.mh-auth .mh-section-head:before{
  content:''!important;
  position:absolute!important;
  width:190px;height:190px;
  border-radius:50%!important;
  right:-58px;top:-78px;
  background:radial-gradient(circle,var(--accent-glow),transparent 70%)!important;
  pointer-events:none
}
.mh-auth .mh-eyebrow{
  display:inline-block!important;
  padding:5px 13px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:20px!important;
  background:var(--card)!important;
  color:var(--accent)!important;
  font:700 10.5px Rubik,Arial,sans-serif!important;
  letter-spacing:1.3px!important;
  text-transform:uppercase!important;
  margin-bottom:12px!important
}
.mh-auth .mh-section-head h2{
  margin:0 0 8px!important;
  color:var(--text)!important;
  font:800 30px/1.12 Rubik,Arial,sans-serif!important;
  letter-spacing:-.5px!important
}
.mh-auth .mh-section-head p{
  margin:0!important;
  color:var(--text-dim)!important;
  font:400 13.5px Rubik,Arial,sans-serif!important
}

/* light theme hero */
html[data-theme="light"] .mh-auth .mh-section-head{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important;
  box-shadow:0 10px 30px rgba(25,55,110,.09)!important
}
html[data-theme="light"] .mh-auth .mh-section-head h2{color:#0f1c33!important}
html[data-theme="light"] .mh-eyebrow{background:#eef4ff!important;border-color:#c8dcfb!important;color:#1d4ed8!important}

/* dark theme hero */
html:not([data-theme="light"]) .mh-auth .mh-section-head{
  background:rgba(21,31,52,.92)!important;
  border-color:rgba(125,165,225,.2)!important
}
html:not([data-theme="light"]) .mh-auth .mh-section-head h2{color:#f2f6fc!important}
html:not([data-theme="light"]) .mh-eyebrow{background:rgba(30,42,68,.9)!important;border-color:rgba(125,165,225,.28)!important;color:#8fb2ff!important}

/* ---------- warning alert ---------- */
.mh-auth .alert.alert-info{
  display:flex!important;
  gap:12px!important;
  padding:15px 18px!important;
  border:1px solid var(--border-strong)!important;
  border-left:3px solid var(--accent)!important;
  border-radius:13px!important;
  background:var(--accent-glow)!important;
  box-shadow:none!important
}
.mh-auth .alert.alert-info > b{
  color:var(--accent)!important;
  font:700 12.5px Rubik,Arial,sans-serif!important;
  white-space:nowrap!important
}
.mh-auth .alert.alert-info > p{
  margin:0!important;
  color:var(--text-dim)!important;
  font:400 12.5px/1.55 Rubik,Arial,sans-serif!important
}
html[data-theme="light"] .mh-auth .alert.alert-info{background:#eef4ff!important;border-color:#c8dcfb!important;border-left-color:#2563eb!important}
html:not([data-theme="light"]) .mh-auth .alert.alert-info{background:rgba(91,141,239,.12)!important}

/* ---------- form card ---------- */
.mh-auth .mh-card{
  padding:22px 24px!important;
  border:1px solid var(--border)!important;
  border-radius:17px!important;
  background:var(--card)!important;
  box-shadow:var(--shadow-sm)!important
}
.mh-auth .form-row{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin-bottom:15px!important
}
.mh-auth .form-row label{
  color:var(--text-dim)!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  letter-spacing:.7px!important;
  text-transform:uppercase!important
}
.mh-auth .form-row input{
  width:100%!important;
  box-sizing:border-box!important;
  padding:12px 15px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:11px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font:500 14px Rubik,Arial,sans-serif!important;
  transition:.2s
}
.mh-auth .form-row input::placeholder{color:var(--muted)!important;font-weight:400!important}
.mh-auth .form-row input:focus{
  outline:none!important;
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* ---------- action row + VK button ---------- */
.mh-auth .mh-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin-top:6px!important
}

/* the VK ID widget container — give it a solid VK-blue plate so it is visible */
#vkid-widget-container,
.mh-auth #vkid-widget-container{
  flex:1 1 210px!important;
  min-width:190px!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:1px solid #0077ff!important;
  border-radius:11px!important;
  background:#0077ff!important;
  overflow:hidden!important
}
/* any button/link VKID injects */
#vkid-widget-container button,
#vkid-widget-container a,
#vkid-widget-container div{
  color:#ffffff!important
}
#vkid-widget-container button{
  background:transparent!important;
  border:0!important;
  width:100%!important;
  min-height:42px!important;
  color:#ffffff!important;
  font:600 13px Rubik,Arial,sans-serif!important;
  cursor:pointer!important
}
#vkid-widget-container button:hover{background:rgba(255,255,255,.14)!important}

/* other buttons in the row */
.mh-auth .mh-actions .mh-btn{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:11px 20px!important;
  border-radius:11px!important;
  font:600 13px Rubik,Arial,sans-serif!important;
  white-space:nowrap!important
}
.mh-auth .mh-actions .mh-btn.mh-ghost{
  background:var(--card)!important;
  color:var(--text)!important;
  border:1px solid var(--border-strong)!important
}
.mh-auth .mh-actions .mh-btn.mh-ghost:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important
}
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost){
  background:var(--accent)!important;
  color:#ffffff!important;
  border:1px solid var(--accent)!important;
  box-shadow:0 5px 16px var(--accent-glow)!important
}
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost):hover{
  background:var(--accent2)!important;
  color:#ffffff!important
}

/* Yandex button keeps a distinct look */
.mh-auth .mh-actions button.mh-ghost{
  background:var(--card)!important;
  color:var(--text)!important
}

/* ---------- bottom "register" card ---------- */
.mh-auth .mh-card.mh-center{
  text-align:center!important;
  padding:16px 20px!important
}
.mh-auth .mh-card.mh-center p{
  margin:0!important;
  color:var(--muted)!important;
  font-size:13px!important
}
.mh-auth .mh-card.mh-center a b{color:var(--accent)!important}

@media(max-width:680px){
  .mh-auth .mh-section-head{padding:18px 17px!important}
  .mh-auth .mh-section-head h2{font-size:23px!important}
  .mh-auth .mh-card{padding:17px 15px!important}
  .mh-auth .mh-actions{flex-direction:column!important;align-items:stretch!important}
  .mh-auth .mh-actions .mh-btn{width:100%!important}
  #vkid-widget-container{width:100%!important}
}

/* ============================================================
   PATCH 34 — auth: alert text visible, all buttons fixed colours
   ============================================================ */

/* ---------- ALERT: solid background, never transparent ---------- */
.alert,
.alert.alert-info,
.mh-auth .alert.alert-info{
  background:#eef3fb!important;
  background-image:none!important;
  border:1px solid #cdddf0!important;
  border-left:3px solid #2f6de0!important;
  border-radius:13px!important;
  padding:16px 19px!important;
  color:#22314a!important;
  box-shadow:none!important;
  display:block!important
}
.alert.alert-info b,
.mh-auth .alert.alert-info b,
.alert b{
  color:#1f56c4!important;
  font:700 13px Rubik,Arial,sans-serif!important;
  display:block!important;
  margin-bottom:6px!important
}
.alert.alert-info p,
.mh-auth .alert.alert-info p,
.alert p{
  margin:0!important;
  color:#3c4d68!important;
  font:400 13px/1.6 Rubik,Arial,sans-serif!important
}

/* dark theme alert */
html:not([data-theme="light"]) .alert,
html:not([data-theme="light"]) .alert.alert-info,
html:not([data-theme="light"]) .mh-auth .alert.alert-info{
  background:#1b2740!important;
  border-color:#2b3d5c!important;
  border-left-color:#6f9dff!important;
  color:#d7e1f2!important
}
html:not([data-theme="light"]) .alert.alert-info b,
html:not([data-theme="light"]) .alert b{color:#93b6ff!important}
html:not([data-theme="light"]) .alert.alert-info p,
html:not([data-theme="light"]) .alert p{color:#b0bed6!important}

/* ---------- BUTTONS: explicit colours, high specificity ---------- */

/* primary submit "Авторизоваться" */
button.mh-btn:not(.mh-ghost),
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost),
.mh-actions button.mh-btn:not(.mh-ghost),
button.mh-btn{
  background:#2f6de0!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #2f6de0!important;
  border-radius:11px!important;
  padding:11px 22px!important;
  font:600 13px Rubik,Arial,sans-serif!important;
  box-shadow:0 4px 14px rgba(47,109,224,.28)!important;
  text-shadow:none!important;
  cursor:pointer!important
}
button.mh-btn:not(.mh-ghost):hover,
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost):hover,
button.mh-btn:hover{
  background:#2557bd!important;
  color:#ffffff!important;
  border-color:#2557bd!important
}

/* ghost buttons "Восстановить доступ" / "Яндекс" */
a.mh-btn.mh-ghost,
a.mh-btn.mh-ghost:hover,
button.mh-btn.mh-ghost,
.mh-auth .mh-actions .mh-btn.mh-ghost,
.mh-auth .mh-actions button.mh-ghost,
.mh-actions .mh-btn.mh-ghost{
  background:#ffffff!important;
  background-image:none!important;
  color:#22314a!important;
  border:1px solid #cdd8e8!important;
  border-radius:11px!important;
  padding:11px 20px!important;
  font:600 13px Rubik,Arial,sans-serif!important;
  box-shadow:0 2px 8px rgba(25,55,110,.08)!important;
  text-shadow:none!important
}
a.mh-btn.mh-ghost:hover,
button.mh-btn.mh-ghost:hover,
.mh-auth .mh-actions .mh-btn.mh-ghost:hover,
.mh-auth .mh-actions button.mh-ghost:hover{
  background:#eaf1fd!important;
  color:#1f56c4!important;
  border-color:#2f6de0!important
}
/* icons/text inside ghosts must not be white */
a.mh-btn.mh-ghost i,a.mh-btn.mh-ghost span,
button.mh-btn.mh-ghost i,button.mh-btn.mh-ghost span{
  color:inherit!important
}

/* dark theme buttons */
html:not([data-theme="light"]) button.mh-btn:not(.mh-ghost),
html:not([data-theme="light"]) .mh-auth .mh-actions button.mh-btn:not(.mh-ghost),
html:not([data-theme="light"]) button.mh-btn{
  background:#3b74e0!important;border-color:#3b74e0!important;color:#ffffff!important
}
html:not([data-theme="light"]) button.mh-btn:not(.mh-ghost):hover,
html:not([data-theme="light"]) button.mh-btn:hover{
  background:#2f62c6!important;color:#ffffff!important
}
html:not([data-theme="light"]) a.mh-btn.mh-ghost,
html:not([data-theme="light"]) button.mh-btn.mh-ghost,
html:not([data-theme="light"]) .mh-auth .mh-actions .mh-btn.mh-ghost,
html:not([data-theme="light"]) .mh-auth .mh-actions button.mh-ghost{
  background:#1d2b45!important;color:#d7e1f2!important;border-color:#31476b!important
}
html:not([data-theme="light"]) a.mh-btn.mh-ghost:hover,
html:not([data-theme="light"]) button.mh-btn.mh-ghost:hover,
html:not([data-theme="light"]) .mh-auth .mh-actions button.mh-ghost:hover{
  background:#274066!important;color:#a9c4ff!important;border-color:#4d77c4!important
}

/* light theme ghost on white */
html[data-theme="light"] a.mh-btn.mh-ghost,
html[data-theme="light"] button.mh-btn.mh-ghost,
html[data-theme="light"] .mh-auth .mh-actions .mh-btn.mh-ghost,
html[data-theme="light"] .mh-auth .mh-actions button.mh-ghost{
  background:#ffffff!important;color:#22314a!important;border-color:#cdd8e8!important
}

/* VK plate stays blue */
#vkid-widget-container{
  background:#0077ff!important;
  border:1px solid #0066dd!important;
  border-radius:11px!important;
  min-height:42px!important;
  overflow:hidden!important
}
#vkid-widget-container button,
#vkid-widget-container a,
#vkid-widget-container div,
#vkid-widget-container span{
  color:#ffffff!important
}
#vkid-widget-container button{background:transparent!important;border:0!important}

/* ============================================================
   PATCH 35 — hblock_content / block_content: SOLID bg + top spacing
   (works on every page that uses these two blocks)
   ============================================================ */

/* ---- heading bar: solid, never transparent ---- */
.hblock_content,
.r_block > .hblock_content,
.block > .hblock_content,
h1.hblock_content,h2.hblock_content,h4.hblock_content,
.hblock_content.table_pad,.hblock_content.none{
  background:#1e2c48!important;
  background-image:none!important;
  background-color:#1e2c48!important;
  color:#e9eef7!important;
  border:1px solid rgba(125,165,225,.22)!important;
  border-radius:13px 13px 0 0!important;
  padding:14px 19px!important;
  margin:18px 0 0!important;
  font:600 13.5px Rubik,Arial,sans-serif!important;
  letter-spacing:-.1px!important;
  line-height:1.45!important;
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important
}

/* ---- content body: solid, attached under the heading ---- */
.block_content,
.r_block > .block_content,
.block > .block_content,
.block_content.none{
  background:#16223a!important;
  background-image:none!important;
  background-color:#16223a!important;
  color:#cdd8e8!important;
  border:1px solid rgba(125,165,225,.18)!important;
  border-top:0!important;
  border-radius:0 0 13px 13px!important;
  padding:17px 19px!important;
  margin:0 0 16px!important
}

/* text inside the content body stays readable */
.block_content td,.block_content th,.block_content p,.block_content li{
  color:#cdd8e8!important
}
.block_content a{color:#8fb2ff!important}
.block_content input,.block_content select,.block_content textarea{
  background:#101a2e!important;
  border:1px solid rgba(125,165,225,.24)!important;
  border-radius:9px!important;
  color:#e9eef7!important;
  padding:9px 12px!important
}
.block_content input:focus,.block_content textarea:focus{
  border-color:#5b8def!important;
  box-shadow:0 0 0 3px rgba(91,141,239,.22)!important;
  outline:none!important
}

/* ---- LIGHT THEME ---- */
html[data-theme="light"] .hblock_content,
html[data-theme="light"] .r_block > .hblock_content,
html[data-theme="light"] .block > .hblock_content,
html[data-theme="light"] h1.hblock_content,
html[data-theme="light"] h2.hblock_content,
html[data-theme="light"] h4.hblock_content,
html[data-theme="light"] .hblock_content.table_pad,
html[data-theme="light"] .hblock_content.none{
  background:#eaf1fb!important;
  background-color:#eaf1fb!important;
  color:#12213a!important;
  border-color:#d3e0f0!important
}
html[data-theme="light"] .block_content,
html[data-theme="light"] .r_block > .block_content,
html[data-theme="light"] .block > .block_content,
html[data-theme="light"] .block_content.none{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#2b3b55!important;
  border-color:#dce6f2!important
}
html[data-theme="light"] .block_content td,
html[data-theme="light"] .block_content th,
html[data-theme="light"] .block_content p,
html[data-theme="light"] .block_content li{color:#2b3b55!important}
html[data-theme="light"] .block_content a{color:#1d4ed8!important}
html[data-theme="light"] .block_content input,
html[data-theme="light"] .block_content select,
html[data-theme="light"] .block_content textarea{
  background:#fbfdff!important;border-color:#cfdcee!important;color:#12213a!important
}

/* ---- DARK THEME (explicit) ---- */
html:not([data-theme="light"]) .hblock_content,
html:not([data-theme="light"]) h4.hblock_content{
  background:#1e2c48!important;background-color:#1e2c48!important;
  color:#e9eef7!important;border-color:rgba(125,165,225,.22)!important
}
html:not([data-theme="light"]) .block_content{
  background:#16223a!important;background-color:#16223a!important;
  color:#cdd8e8!important;border-color:rgba(125,165,225,.18)!important
}

/* buttons inside the heading (like "Админ панель" / "Перевести деньги") */
.hblock_content .btn,
.hblock_content .btn-success,
.hblock_content .btn-primary{
  background:#2f6de0!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #2f6de0!important;
  border-radius:9px!important;
  padding:8px 15px!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  text-shadow:none!important
}
.hblock_content .btn-success{background:#2f9e6b!important;border-color:#2f9e6b!important}
.hblock_content .btn:hover{background:#2557bd!important;color:#ffffff!important}
.hblock_content .btn-success:hover{background:#27845a!important;color:#ffffff!important}

@media(max-width:680px){
  .hblock_content{padding:12px 14px!important;font-size:12.5px!important;margin-top:14px!important}
  .block_content{padding:14px!important}
}

/* ============================================================
   PATCH 36 — scroll-to-top, footer social icons, server card hovers
   ============================================================ */

/* ---------- 1. SCROLL TO TOP BUTTON ---------- */
.mh-to-top{
  position:fixed!important;
  right:22px!important;
  bottom:22px!important;
  width:46px!important;
  height:46px!important;
  border-radius:13px!important;
  border:1px solid var(--border-strong)!important;
  background:var(--accent)!important;
  color:#ffffff!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(14px)!important;
  transition:opacity .3s,transform .3s,visibility .3s,background .2s!important;
  z-index:1100!important;
  padding:0!important
}
.mh-to-top.is-visible{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important
}
.mh-to-top:hover{background:var(--accent2)!important;transform:translateY(-3px)!important}
.mh-to-top i{font-size:16px!important;color:#ffffff!important;pointer-events:none}

html[data-theme="light"] .mh-to-top{
  background:#2563eb!important;border-color:#2563eb!important;
  box-shadow:0 8px 22px rgba(37,99,239,.3)!important
}
html[data-theme="light"] .mh-to-top:hover{background:#1d4ed8!important}
html:not([data-theme="light"]) .mh-to-top{
  background:#5b8def!important;border-color:#5b8def!important
}

/* ---------- 2. FOOTER: lighter + social icons ---------- */
.mh-footer{
  margin-top:28px!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:18px!important;
  overflow:hidden!important
}

/* social icon row */
.mh-socials{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:13px 0 2px!important;
  padding:0!important;
  list-style:none!important
}
.mh-socials a{
  width:38px!important;
  height:38px!important;
  border-radius:11px!important;
  border:1px solid var(--border-strong)!important;
  background:var(--card)!important;
  color:var(--text-dim)!important;
  display:grid!important;
  place-items:center!important;
  text-decoration:none!important;
  transition:.22s
}
.mh-socials a:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-3px)
}
.mh-socials a i{font-size:15px!important;color:inherit!important}
.mh-socials .soc-vk:hover{border-color:#0077ff!important;color:#0077ff!important;background:rgba(0,119,255,.12)!important}
.mh-socials .soc-tg:hover{border-color:#229ed9!important;color:#229ed9!important;background:rgba(34,158,217,.12)!important}
.mh-socials .soc-yt:hover{border-color:#e62117!important;color:#e62117!important;background:rgba(230,33,23,.12)!important}
.mh-socials .soc-ds:hover{border-color:#5865f2!important;color:#5865f2!important;background:rgba(88,101,242,.12)!important}

html[data-theme="light"] .mh-footer{
  background:rgba(255,255,255,.96)!important;
  border-color:rgba(30,60,120,.13)!important
}
html:not([data-theme="light"]) .mh-footer{
  background:rgba(16,24,42,.92)!important;
  border-color:rgba(125,165,225,.18)!important
}

/* footer link rows a bit airier */
.mh-footer .mh-wrap > div{margin-bottom:4px}
.mh-footer a{
  padding:6px 10px!important;
  border-radius:9px!important;
  transition:.2s
}
.mh-footer a:hover{background:var(--card2)!important}

/* ---------- 3. SERVER PANEL CARD HOVERS ---------- */
.server_nav td > a{transition:background .2s,color .2s,transform .2s,border-color .2s!important}
.server_nav td > a:hover{transform:translateY(-2px)!important}

/* generic info blocks */
.block_content tr:hover,
.block_content table tr:hover{
  background:var(--accent-glow)!important;
  transition:background .18s
}

/* stat tiles / unit blocks */
.unit-stat,.mh-stat-tile,.informer,.info_version,.info_version1{
  transition:transform .24s,box-shadow .24s,border-color .24s!important
}
.unit-stat:hover,.mh-stat-tile:hover,.informer:hover,.info_version:hover,.info_version1:hover{
  transform:translateY(-3px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 16px 32px rgba(0,0,0,.22)!important
}

/* buttons in the panel lift on hover */
.block_content .btn,
.block_content .btn-short,
.block_content .btn-primary,
.block_content .btn-success{
  transition:transform .2s,box-shadow .2s,background .2s!important
}
.block_content .btn:hover,
.block_content .btn-short:hover,
.block_content .btn-primary:hover,
.block_content .btn-success:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22)!important
}

/* load bars / progress */
.unit-load-fill{transition:width .5s ease!important}

/* cards in the server header */
.hblock_content .btn{transition:transform .2s,background .2s!important}
.hblock_content .btn:hover{transform:translateY(-2px)!important}

@media(max-width:680px){
  .mh-to-top{right:14px!important;bottom:14px!important;width:42px!important;height:42px!important}
  .mh-socials{flex-wrap:wrap}
}

/* ============================================================
   PATCH 37 — "Почему мы" grid + critical CSS helpers
   ============================================================ */
.mh-why-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(232px,1fr))!important;
  gap:13px!important;
  margin:14px 0 0!important
}
.mh-why-card{
  padding:19px 18px 21px!important;
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  background:var(--card)!important;
  transition:transform .24s,box-shadow .24s,border-color .24s!important;
  position:relative!important;
  overflow:hidden!important
}
.mh-why-card:hover{
  transform:translateY(-4px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 18px 36px rgba(0,0,0,.22)!important
}
.mh-why-ico{
  width:44px!important;height:44px!important;
  display:grid!important;place-items:center!important;
  border-radius:13px!important;
  margin-bottom:13px!important;
  background:color-mix(in srgb,var(--w,#5b8def) 18%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--w,#5b8def) 34%,transparent)!important;
  color:var(--w,#5b8def)!important
}
@supports not (background: color-mix(in srgb, red 10%, blue)){
  .mh-why-ico{background:var(--accent-glow)!important;border-color:var(--border-strong)!important;color:var(--accent)!important}
}
.mh-why-ico .mh-icon{width:21px!important;height:21px!important;stroke-width:1.8}
.mh-why-card h3{
  margin:0 0 7px!important;
  font:700 14.5px Rubik,Arial,sans-serif!important;
  color:var(--text)!important;
  letter-spacing:-.1px!important
}
.mh-why-card p{
  margin:0!important;
  font:400 12.5px/1.6 Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important
}

html[data-theme="light"] .mh-why-card{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-why-card:hover{
  border-color:#2563eb!important;
  box-shadow:0 18px 34px rgba(25,55,110,.14)!important
}
html:not([data-theme="light"]) .mh-why-card{
  background:rgba(21,31,52,.9)!important
}

@media(max-width:680px){
  .mh-why-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important;gap:10px!important}
  .mh-why-card{padding:15px 14px 17px!important}
  .mh-why-card h3{font-size:13px!important}
  .mh-why-card p{font-size:11.5px!important}
}

/* ============================================================
   PATCH 38 — breadcrumbs
   ============================================================ */
.mh-crumbs{
  margin:0 0 15px!important;
  padding:0!important
}
.mh-crumbs-list{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important
}
.mh-crumb{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  font:500 11.5px Rubik,Arial,sans-serif!important
}
.mh-crumb a{
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 11px!important;
  border:1px solid var(--border)!important;
  border-radius:9px!important;
  background:var(--card)!important;
  color:var(--text-dim)!important;
  text-decoration:none!important;
  transition:.2s
}
.mh-crumb a:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important
}
.mh-crumb-sep{
  width:13px!important;height:13px!important;
  color:var(--muted)!important;
  opacity:.65
}
.mh-crumb.is-current span{
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 12px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:9px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font-weight:600!important
}

html[data-theme="light"] .mh-crumb a{
  background:rgba(255,255,255,.9)!important;
  border-color:#d6e3f2!important;
  color:#42536b!important
}
html[data-theme="light"] .mh-crumb a:hover{
  background:#eef4ff!important;color:#1d4ed8!important;border-color:#2563eb!important
}
html[data-theme="light"] .mh-crumb.is-current span{
  background:#eef4ff!important;border-color:#c8dcfb!important;color:#12213a!important
}

html:not([data-theme="light"]) .mh-crumb a{
  background:rgba(24,34,58,.9)!important;
  border-color:rgba(125,165,225,.2)!important;
  color:#b8c6dc!important
}
html:not([data-theme="light"]) .mh-crumb.is-current span{
  background:rgba(30,42,68,.92)!important;
  border-color:rgba(125,165,225,.28)!important;
  color:#e9eef7!important
}

@media(max-width:680px){
  .mh-crumbs-list{gap:3px!important}
  .mh-crumb a,.mh-crumb.is-current span{padding:4px 9px!important;font-size:10.5px!important}
  .mh-crumb-sep{width:11px!important;height:11px!important}
}

/* ============================================================
   PATCH 39 — copy-to-clipboard, scroll progress, reviews carousel
   ============================================================ */

/* ---------- 1. SCROLL PROGRESS BAR ---------- */
.mh-progress{
  position:fixed!important;
  top:0!important;left:0!important;
  height:3px!important;
  width:0;;
  background:linear-gradient(90deg,var(--accent),var(--cyan))!important;
  z-index:2000!important;
  transition:width .12s linear!important;
  box-shadow:0 0 10px var(--accent-glow)!important;
  pointer-events:none!important
}

/* ---------- 2. COPY BUTTONS ---------- */
.mh-copy{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin-left:7px!important;
  padding:5px 11px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:8px!important;
  background:var(--card)!important;
  color:var(--text-dim)!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s;
  vertical-align:middle!important
}
.mh-copy:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-1px)
}
.mh-copy.is-done{
  background:var(--ok)!important;
  border-color:var(--ok)!important;
  color:#ffffff!important
}
.mh-copy i{font-size:11px!important;color:inherit!important}

html[data-theme="light"] .mh-copy{
  background:#ffffff!important;border-color:#cfdcee!important;color:#42536b!important
}
html[data-theme="light"] .mh-copy:hover{background:#eef4ff!important;color:#1d4ed8!important;border-color:#2563eb!important}
html[data-theme="light"] .mh-copy.is-done{background:#12a866!important;border-color:#12a866!important;color:#fff!important}

/* ---------- 3. REVIEWS CAROUSEL ---------- */
.mh-reviews-track{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(292px,1fr))!important;
  gap:13px!important;
  margin:14px 0 0!important
}
.mh-review-card{
  padding:18px 18px 16px!important;
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  background:var(--card)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important;
  transition:transform .24s,box-shadow .24s,border-color .24s!important
}
.mh-review-card:hover{
  transform:translateY(-4px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 18px 36px rgba(0,0,0,.2)!important
}
.mh-review-head{display:flex!important;align-items:center!important;gap:11px!important}
.mh-review-ava{
  width:42px!important;height:42px!important;
  border-radius:12px!important;
  object-fit:cover!important;
  border:1px solid var(--border)!important;
  background:var(--card2)!important
}
.mh-review-who{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0}
.mh-review-name{
  font:700 13px Rubik,Arial,sans-serif!important;
  color:var(--text)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}
.mh-review-role{
  font:500 10.5px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important;
  letter-spacing:.3px!important
}
.mh-review-stars{margin-left:auto!important;color:#f2c14e!important;font-size:11px!important;letter-spacing:1px;flex:none}
.mh-review-text{
  margin:0!important;
  font:400 12.5px/1.62 Rubik,Arial,sans-serif!important;
  color:var(--text-dim)!important;
  flex:1!important
}
.mh-review-foot{
  display:flex!important;align-items:center!important;gap:7px!important;
  padding-top:11px!important;
  border-top:1px solid var(--border)!important;
  font:500 11px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important
}
.mh-review-foot i{color:var(--accent)!important;font-size:11px!important}

html[data-theme="light"] .mh-review-card{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-review-card:hover{
  border-color:#2563eb!important;
  box-shadow:0 18px 34px rgba(25,55,110,.14)!important
}
html:not([data-theme="light"]) .mh-review-card{
  background:rgba(21,31,52,.9)!important
}

/* loading / empty state */
.mh-reviews-note{
  margin:14px 0 0!important;
  padding:16px 18px!important;
  border:1px dashed var(--border-strong)!important;
  border-radius:13px!important;
  color:var(--muted)!important;
  font:500 12.5px Rubik,Arial,sans-serif!important;
  text-align:center!important
}

@media(max-width:680px){
  .mh-reviews-track{grid-template-columns:1fr!important}
  .mh-copy{padding:4px 9px!important;font-size:10px!important}
}

/* ============================================================
   PATCH 40 — progress bar more visible + copy buttons guaranteed
   ============================================================ */

/* thicker, brighter progress bar */
.mh-progress{
  position:fixed!important;
  top:0!important;left:0!important;
  height:4px!important;
  min-width:0;;
  background:linear-gradient(90deg,#2f6de0 0%,#5b8def 50%,#38bdf8 100%)!important;
  z-index:99999!important;
  transition:width .1s linear!important;
  box-shadow:0 0 12px rgba(91,141,239,.55),0 1px 3px rgba(0,0,0,.25)!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important
}

/* copy buttons — force visible */
.mh-copy{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin-left:8px!important;
  padding:5px 12px!important;
  border:1px solid #3b6fd4!important;
  border-radius:8px!important;
  background:#3b6fd4!important;
  color:#ffffff!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s;
  vertical-align:middle!important;
  box-shadow:0 2px 7px rgba(59,111,212,.24)!important
}
.mh-copy:hover{
  background:#2f5cbb!important;
  border-color:#2f5cbb!important;
  color:#ffffff!important;
  transform:translateY(-1px)
}
.mh-copy.is-done{
  background:#2f9e6b!important;
  border-color:#2f9e6b!important;
  color:#ffffff!important
}
.mh-copy i{font-size:11px!important;color:inherit!important}

html[data-theme="light"] .mh-copy{
  background:#2563eb!important;border-color:#2563eb!important;color:#ffffff!important
}
html[data-theme="light"] .mh-copy:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}
html:not([data-theme="light"]) .mh-copy{
  background:#3b6fd4!important;border-color:#3b6fd4!important
}

@media(max-width:680px){
  .mh-progress{height:3px!important}
}

/* ============================================================
   PATCH 41 — side-by-side width50p blocks (bans page etc.)
   ============================================================ */

/* the two floated columns become a clean 2-column grid */
.width50p{
  width:calc(50% - 8px)!important;
  float:none!important;
  display:inline-block!important;
  vertical-align:top!important;
  margin:0 0 16px!important;
  box-sizing:border-box!important
}
.width50p.left{margin-right:12px!important;float:left!important;display:block!important}
.width50p.right{margin-left:12px!important;float:right!important;display:block!important}
.width50p:last-of-type{margin-bottom:16px!important}

/* inside a floated column the heading has NO extra top margin */
.width50p > .hblock_content{
  margin:0 0 0!important;
  border-radius:13px 13px 0 0!important
}
.width50p > .block_content{
  margin:0!important;
  border-radius:0 0 13px 13px!important;
  border-top:0!important
}

/* the content box keeps a consistent height so columns align */
.width50p .height200{
  min-height:170px!important;
  max-height:280px!important;
  overflow:auto!important
}

/* clearfix after the pair so the next block starts on a new line */
.width50p.right:after{
  content:''!important;
  display:table!important;
  clear:both!important
}
.space{
  display:block!important;
  clear:both!important;
  height:14px!important
}

/* the "Инструменты" block after them spans the full width */
.width50p + .space + .hblock_content,
.space + .hblock_content{
  clear:both!important;
  margin:14px 0 0!important
}

/* when the viewport is narrow, stack the columns */
@media(max-width:1100px){
  .width50p,.width50p.left,.width50p.right{
    width:100%!important;
    float:none!important;
    display:block!important;
    margin:0 0 14px!important
  }
  .width50p > .hblock_content{border-radius:13px 13px 0 0!important}
}

/* ============================================================
   PATCH 42 — FIXES: progress bar width, copy matcher, bans grid
   ============================================================ */

/* ---------- 1. PROGRESS BAR ----------
   BUG: PATCH 39 set width:0 !important — that beats the inline style
   written by JS, so the bar stayed at 0 width and was invisible.
   Keep the initial 0 but WITHOUT !important so JS can grow it. */
.mh-progress{
  position:fixed!important;
  top:0!important;left:0!important;
  height:4px!important;
  width:0;/* no !important — JS sets inline width */
  max-width:none!important;
  background:linear-gradient(90deg,#2f6de0 0%,#5b8def 50%,#38bdf8 100%)!important;
  z-index:99999!important;
  transition:width .1s linear!important;
  box-shadow:0 0 12px rgba(91,141,239,.55)!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important
}

/* ---------- 2. COPY BUTTONS — force visible ---------- */
button.mh-copy,.mh-copy{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  gap:6px!important;
  margin-left:8px!important;
  padding:5px 12px!important;
  border:1px solid #3b6fd4!important;
  border-radius:8px!important;
  background:#3b6fd4!important;
  background-image:none!important;
  color:#ffffff!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s;
  vertical-align:middle!important;
  box-shadow:0 2px 7px rgba(59,111,212,.24)!important
}
button.mh-copy:hover,.mh-copy:hover{
  background:#2f5cbb!important;border-color:#2f5cbb!important;color:#ffffff!important
}
button.mh-copy.is-done,.mh-copy.is-done{
  background:#2f9e6b!important;border-color:#2f9e6b!important;color:#ffffff!important
}
.mh-copy i{font-size:11px!important;color:inherit!important}

/* ---------- 3. BANS PAGE: two blocks side by side, touching ---------- */
.width50p{
  width:calc(50% - 5px)!important;
  float:none!important;
  display:inline-block!important;
  vertical-align:top!important;
  margin:0!important;
  box-sizing:border-box!important
}
.width50p.left{margin-right:6px!important}
.width50p.right{margin-left:6px!important}
.width50p > .hblock_content{margin:0!important;border-radius:13px 13px 0 0!important}
.width50p > .block_content{
  margin:0!important;border-radius:0 0 13px 13px!important;border-top:0!important
}
.width50p .height200{min-height:160px!important;max-height:300px!important;overflow:auto!important}

/* make sure the pair is wrapped on one line */
main.side_left > .width50p{display:inline-block!important}

/* next block starts clean */
.space{display:block!important;clear:both!important;height:12px!important}
main.side_left > .space + .hblock_content{clear:both!important;margin-top:12px!important}

@media(max-width:1100px){
  .width50p,.width50p.left,.width50p.right{
    width:100%!important;display:block!important;margin:0 0 12px!important
  }
}

/* ============================================================
   PATCH 43 — bans page: the two blocks MUST sit on ONE line
   (inline-block broke on the whitespace between the divs;
    float:left on both with padding creates a reliable 2-col row)
   ============================================================ */
.width50p,
.width50p.left,
.width50p.right{
  float:left!important;
  width:50%!important;
  box-sizing:border-box!important;
  display:block!important;
  margin:0!important;
  padding:0 6px 0 0!important;
  vertical-align:top!important
}
.width50p.right{
  padding:0 0 0 6px!important
}

/* heading + content inside each column */
.width50p > .hblock_content{
  margin:0!important;
  border-radius:13px 13px 0 0!important
}
.width50p > .block_content{
  margin:0!important;
  border-radius:0 0 13px 13px!important;
  border-top:0!important
}
.width50p .height200{
  min-height:150px!important;
  max-height:300px!important;
  overflow:auto!important
}

/* the .space div clears the float row so the next block starts below */
.space{
  display:block!important;
  clear:both!important;
  height:12px!important
}
main.side_left > .space + .hblock_content{
  clear:both!important;
  margin-top:12px!important
}

/* narrow screens -> stack full width */
@media(max-width:1100px){
  .width50p,
  .width50p.left,
  .width50p.right{
    float:none!important;
    width:100%!important;
    padding:0!important;
    margin:0 0 12px!important
  }
}

/* ============================================================
   PATCH 44 — /section/down : build-upload page polish
   ============================================================ */

/* ---- the rules / instructions box (uk-alert) ---- */
.uk-alert{
  padding:16px 19px!important;
  border:1px solid var(--border-strong)!important;
  border-left:3px solid var(--accent)!important;
  border-radius:12px!important;
  background:var(--accent-glow)!important;
  color:var(--text-dim)!important;
  font:400 13px/1.7 Rubik,Arial,sans-serif!important
}
.uk-alert b{color:var(--text)!important;font-weight:700!important}
.uk-alert a{color:var(--accent)!important;text-decoration:underline!important}
.uk-alert a:hover{color:var(--accent2)!important}

/* numbered rules get subtle spacing */
.uk-alert br + br{content:''}

/* inline red warning paragraph -> themed */
.uk-alert p,
.uk-alert p[style*="color: red"],
.uk-alert p[style*="color:red"]{
  margin:12px 0 0!important;
  padding:11px 14px!important;
  border:1px solid var(--bad)!important;
  border-left-width:3px!important;
  border-radius:9px!important;
  background:rgba(244,98,108,.12)!important;
  color:var(--text)!important;
  font:500 12.5px/1.6 Rubik,Arial,sans-serif!important
}
.uk-alert p b,
.uk-alert p[style*="red"] b{color:var(--bad)!important}

html[data-theme="light"] .uk-alert{
  background:#eef4ff!important;border-color:#c8dcfb!important;border-left-color:#2563eb!important
}
html[data-theme="light"] .uk-alert p,
html[data-theme="light"] .uk-alert p[style*="red"]{
  background:#fdeff0!important;border-color:#f3bcc0!important
}
html:not([data-theme="light"]) .uk-alert{
  background:rgba(91,141,239,.12)!important;
  border-color:rgba(125,165,225,.22)!important
}
html:not([data-theme="light"]) .uk-alert p,
html:not([data-theme="light"]) .uk-alert p[style*="red"]{
  background:rgba(244,98,108,.14)!important;border-color:rgba(244,98,108,.4)!important
}

/* ---- the form ---- */
.block_content table.table_pad.form td{
  padding:0!important
}
.block_content table.table_pad.form label,
main.side_left label{
  display:block!important;
  margin:0 0 8px!important;
  color:var(--text)!important;
  font:600 12.5px Rubik,Arial,sans-serif!important
}
.block_content input[name="down[url]"],
.block_content input[type="text"],
main.side_left .block_content input{
  width:100%!important;
  box-sizing:border-box!important;
  padding:12px 15px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:11px!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:500 14px Rubik,Arial,sans-serif!important;
  transition:.2s
}
.block_content input::placeholder{color:var(--muted)!important;font-weight:400!important}
.block_content input:focus{
  outline:none!important;
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* ---- the submit button ---- */
.block_content input.btn-success,
.block_content input[type="submit"],
.block_content button[type="submit"]{
  margin-top:14px!important;
  padding:12px 26px!important;
  border:1px solid var(--ok)!important;
  border-radius:11px!important;
  background:var(--ok)!important;
  background-image:none!important;
  color:#ffffff!important;
  font:700 13.5px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s;
  box-shadow:0 5px 16px rgba(47,209,134,.28)!important;
  text-shadow:none!important
}
.block_content input.btn-success:hover,
.block_content input[type="submit"]:hover,
.block_content button[type="submit"]:hover{
  background:#27845a!important;
  border-color:#27845a!important;
  color:#ffffff!important;
  transform:translateY(-2px)
}

/* ---- progress / message blocks ---- */
#message{
  margin:12px 0!important;
  padding:13px 17px!important;
  border-radius:11px!important;
  font:500 13px Rubik,Arial,sans-serif!important
}
#progress-container{
  margin-top:14px!important;
  padding:15px 18px!important;
  border:1px dashed var(--border-strong)!important;
  border-radius:13px!important;
  background:var(--card)!important
}
#progress-container .hblock_content{
  margin:0 0 11px!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  font:700 12px Rubik,Arial,sans-serif!important;
  letter-spacing:.8px!important;
  text-transform:uppercase!important;
  color:var(--muted)!important;
  border-radius:0!important
}

/* progress bar inside */
#progress-container progress,
#progress-container .progress,
#progress-container [role="progressbar"]{
  width:100%!important;
  height:9px!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important
}

/* ---- the screenshot link should open nicely ---- */
.uk-alert a[target="_blank"]{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px;
  padding:2px 9px!important;
  border:1px solid var(--accent)!important;
  border-radius:7px!important;
  background:var(--accent-glow)!important;
  text-decoration:none!important;
  font-weight:600!important
}

@media(max-width:680px){
  .uk-alert{padding:13px 14px!important;font-size:12px!important}
  .block_content input.btn-success,
  .block_content input[type="submit"]{width:100%!important;justify-content:center}
}

/* ============================================================
   PATCH 45 — loading screen, popular badges, guides/status pages,
               ping calculator, locations, SLA, guarantee
   ============================================================ */

/* ---------- 1. FIRST-VISIT LOADING SCREEN ---------- */
.cs-loader{
  position:fixed!important;
  inset:0!important;
  z-index:999999!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:22px!important;
  background:radial-gradient(ellipse at 50% 40%,#16223c 0%,#0a1020 70%)!important;
  transition:opacity .55s ease,visibility .55s!important
}
.cs-loader.is-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

.cs-loader-logo{
  width:96px!important;height:96px!important;
  display:grid!important;place-items:center!important;
  border-radius:26px!important;
  background:linear-gradient(150deg,#2f6de0,#7c6df2)!important;
  box-shadow:0 22px 60px rgba(47,109,224,.4)!important;
  animation:csPulse 1.5s ease-in-out infinite!important
}
.cs-loader-logo img{width:58px!important;height:58px!important;object-fit:contain!important;filter:brightness(0) invert(1)}
.cs-loader-logo .cs-ltr{
  font:800 42px Rubik,Arial,sans-serif!important;
  color:#fff!important;letter-spacing:-1px
}

.cs-loader-ring{
  width:62px!important;height:62px!important;
  border-radius:50%!important;
  border:3px solid rgba(125,165,225,.22)!important;
  border-top-color:#5b8def!important;
  animation:csSpin .95s linear infinite!important
}

.cs-loader-text{
  font:600 12.5px Rubik,Arial,sans-serif!important;
  letter-spacing:1.6px!important;
  text-transform:uppercase!important;
  color:#8b9cb5!important
}
.cs-loader-bar{
  width:190px!important;height:4px!important;
  border-radius:4px!important;
  background:rgba(125,165,225,.2)!important;
  overflow:hidden!important
}
.cs-loader-bar i{
  display:block!important;height:100%!important;width:35%!important;
  border-radius:4px!important;
  background:linear-gradient(90deg,#2f6de0,#38bdf8)!important;
  animation:csLoad 1.15s ease-in-out infinite!important
}
@keyframes csSpin{to{transform:rotate(360deg)}}
@keyframes csPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes csLoad{0%{transform:translateX(-110%)}100%{transform:translateX(320%)}}

/* ---------- 2. "ПОПУЛЯРНЫЙ" BADGE ON SERVICE CARDS ---------- */
.service_block{position:relative!important}
.svc-hot{
  position:absolute!important;
  top:9px!important;left:9px!important;
  z-index:3!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 11px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#f2a154,#e05fb0)!important;
  color:#ffffff!important;
  font:700 9.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.7px!important;
  text-transform:uppercase!important;
  box-shadow:0 4px 12px rgba(224,95,176,.32)!important;
  pointer-events:none!important
}
.svc-hot i{font-size:9px!important;color:#fff!important}

/* ---------- 3. GUIDES / STATUS PAGE SHELL ---------- */
.mh-page-hero{
  padding:26px 26px 24px!important;
  border:1px solid var(--border)!important;
  border-radius:17px!important;
  background:var(--grad-panel)!important;
  box-shadow:var(--shadow-sm)!important;
  margin:0 0 18px!important;
  position:relative!important;
  overflow:hidden!important
}
.mh-page-hero:before{
  content:''!important;position:absolute!important;
  width:210px;height:210px;border-radius:50%!important;
  right:-70px;top:-90px;
  background:radial-gradient(circle,var(--accent-glow),transparent 70%)!important
}
.mh-page-hero .mh-eyebrow{margin-bottom:11px!important}
.mh-page-hero h1{
  margin:0 0 9px!important;
  font:800 30px/1.15 Rubik,Arial,sans-serif!important;
  letter-spacing:-.5px!important;
  color:var(--text)!important
}
.mh-page-hero p{margin:0!important;color:var(--text-dim)!important;font:400 13.5px/1.6 Rubik,Arial,sans-serif!important}

/* cards grid used by guides / status / locations */
.mh-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(258px,1fr))!important;
  gap:13px!important;
  margin:14px 0 0!important
}
.mh-item{
  padding:18px!important;
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  background:var(--card)!important;
  transition:transform .24s,box-shadow .24s,border-color .24s!important;
  display:flex!important;flex-direction:column!important;gap:10px!important
}
.mh-item:hover{
  transform:translateY(-4px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 18px 36px rgba(0,0,0,.2)!important
}
.mh-item-ico{
  width:44px!important;height:44px!important;
  border-radius:13px!important;
  display:grid!important;place-items:center!important;
  background:var(--accent-glow)!important;
  color:var(--accent)!important;
  border:1px solid var(--border-strong)!important
}
.mh-item h3{margin:0!important;font:700 14.5px Rubik,Arial,sans-serif!important;color:var(--text)!important}
.mh-item p{margin:0!important;font:400 12.5px/1.6 Rubik,Arial,sans-serif!important;color:var(--text-dim)!important}
.mh-item .mh-item-link{
  margin-top:auto!important;
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  color:var(--accent)!important;text-decoration:none!important
}
.mh-item .mh-item-link:hover{color:var(--accent2)!important}

html[data-theme="light"] .mh-item{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-page-hero{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-page-hero h1{color:#0f1c33!important}
html:not([data-theme="light"]) .mh-item{background:rgba(21,31,52,.9)!important}
html:not([data-theme="light"]) .mh-page-hero{background:rgba(21,31,52,.92)!important}

/* ---------- 4. PING CALCULATOR ---------- */
.mh-ping-list{display:flex!important;flex-direction:column!important;gap:9px!important}
.mh-ping-row{
  display:flex!important;align-items:center!important;gap:13px!important;
  padding:12px 15px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--card)!important
}
.mh-ping-flag{
  width:34px!important;height:24px!important;
  border-radius:5px!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important;
  display:grid!important;place-items:center!important;
  font-size:15px!important;flex:none
}
.mh-ping-name{flex:1!important;font:600 13px Rubik,Arial,sans-serif!important;color:var(--text)!important}
.mh-ping-val{
  font:800 15px Rubik,Arial,sans-serif!important;
  min-width:62px!important;text-align:right!important
}
.mh-ping-bar{
  width:118px!important;height:6px!important;
  border-radius:6px!important;
  background:var(--card2)!important;
  overflow:hidden!important;flex:none!important
}
.mh-ping-bar i{display:block!important;height:100%!important;border-radius:6px!important}
.mh-ping-good{color:var(--ok)!important}
.mh-ping-mid{color:#f2a154!important}
.mh-ping-bad{color:var(--bad)!important}
.mh-ping-good + .mh-ping-bar i{background:var(--ok)!important}
.mh-ping-mid + .mh-ping-bar i{background:#f2a154!important}
.mh-ping-bad + .mh-ping-bar i{background:var(--bad)!important}

/* ---------- 5. STATUS PAGE ---------- */
.mh-status-hero{
  display:flex!important;align-items:center!important;gap:15px!important;
  padding:21px 23px!important;
  border:1px solid rgba(47,209,134,.34)!important;
  border-radius:15px!important;
  background:rgba(47,209,134,.11)!important;
  margin:0 0 16px!important
}
.mh-status-dot{
  width:13px!important;height:13px!important;
  border-radius:50%!important;
  background:var(--ok)!important;
  box-shadow:0 0 0 5px rgba(47,209,134,.18)!important;
  flex:none!important;
  animation:csPulse 1.9s ease-in-out infinite!important
}
.mh-status-hero h2{margin:0!important;font:700 17px Rubik,Arial,sans-serif!important;color:var(--ok)!important}
.mh-status-hero p{margin:3px 0 0!important;font:400 12.5px Rubik,Arial,sans-serif!important;color:var(--text-dim)!important}

.mh-sla-row{
  display:flex!important;align-items:center!important;gap:13px!important;
  padding:13px 16px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--card)!important
}
.mh-sla-name{flex:1!important;font:600 13px Rubik,Arial,sans-serif!important;color:var(--text)!important}
.mh-sla-pct{font:800 15px Rubik,Arial,sans-serif!important;color:var(--ok)!important;min-width:66px!important;text-align:right!important}
.mh-sla-track{
  width:180px!important;height:7px!important;
  border-radius:7px!important;background:var(--card2)!important;overflow:hidden!important;flex:none!important
}
.mh-sla-track i{display:block!important;height:100%!important;background:var(--ok)!important;border-radius:7px!important}

/* ---------- 6. GUARANTEE BLOCK ---------- */
.mh-guarantee{
  display:flex!important;align-items:center!important;gap:17px!important;
  padding:21px 23px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:16px!important;
  background:var(--grad-panel)!important;
  box-shadow:var(--shadow-sm)!important;
  margin:16px 0 0!important
}
.mh-guarantee-ico{
  width:52px!important;height:52px!important;
  border-radius:15px!important;
  display:grid!important;place-items:center!important;
  background:rgba(47,209,134,.14)!important;
  border:1px solid rgba(47,209,134,.3)!important;
  color:var(--ok)!important;flex:none!important
}
.mh-guarantee-txt h3{margin:0 0 5px!important;font:700 15.5px Rubik,Arial,sans-serif!important;color:var(--text)!important}
.mh-guarantee-txt p{margin:0!important;font:400 12.5px/1.6 Rubik,Arial,sans-serif!important;color:var(--text-dim)!important}
.mh-guarantee-badge{
  margin-left:auto!important;flex:none!important;
  padding:9px 17px!important;border-radius:22px!important;
  background:rgba(47,209,134,.14)!important;
  border:1px solid rgba(47,209,134,.32)!important;
  color:var(--ok)!important;
  font:700 11.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.5px!important;text-transform:uppercase!important
}

@media(max-width:680px){
  .mh-page-hero{padding:19px 17px!important}
  .mh-page-hero h1{font-size:22px!important}
  .mh-guarantee{flex-direction:column!important;align-items:flex-start!important;gap:13px!important}
  .mh-guarantee-badge{margin-left:0!important}
  .mh-ping-bar,.mh-sla-track{width:88px!important}
}

/* ============================================================
   PATCH 46 — expandable guides + homepage quick links
   ============================================================ */

/* ---------- expandable guide accordion ---------- */
.mh-guides{display:flex!important;flex-direction:column!important;gap:11px!important;margin:14px 0 0!important}

.mh-guide{
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  background:var(--card)!important;
  overflow:hidden!important;
  transition:border-color .22s,box-shadow .22s!important
}
.mh-guide:hover{border-color:var(--accent)!important}
.mh-guide.is-open{border-color:var(--accent)!important;box-shadow:0 14px 32px rgba(0,0,0,.18)!important}

.mh-guide-head{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  padding:16px 18px!important;
  border:0!important;
  background:transparent!important;
  cursor:pointer!important;
  text-align:left!important;
  color:var(--text)!important;
  transition:background .2s!important
}
.mh-guide-head:hover{background:var(--accent-glow)!important}

.mh-guide-ico{
  width:42px!important;height:42px!important;
  border-radius:12px!important;
  display:grid!important;place-items:center!important;
  background:var(--accent-glow)!important;
  border:1px solid var(--border-strong)!important;
  color:var(--accent)!important;flex:none!important
}
.mh-guide-title{
  flex:1!important;
  font:700 14.5px Rubik,Arial,sans-serif!important;
  color:var(--text)!important
}
.mh-guide-time{
  font:500 11px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important;
  padding:4px 11px!important;
  border:1px solid var(--border)!important;
  border-radius:20px!important;
  background:var(--card2)!important;
  white-space:nowrap!important;flex:none!important
}
.mh-guide-arrow{
  width:26px!important;height:26px!important;
  border-radius:8px!important;
  display:grid!important;place-items:center!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important;
  color:var(--text-dim)!important;
  transition:transform .28s,background .2s!important;
  flex:none!important
}
.mh-guide.is-open .mh-guide-arrow{
  transform:rotate(180deg)!important;
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#ffffff!important
}
.mh-guide.is-open .mh-guide-arrow .mh-icon{color:#ffffff!important}

/* body */
.mh-guide-body{
  display:none!important;
  padding:2px 18px 18px 73px!important
}
.mh-guide.is-open .mh-guide-body{display:block!important}

.mh-guide-body ol{
  margin:0!important;
  padding-left:19px!important;
  color:var(--text-dim)!important;
  font:400 13px/1.72 Rubik,Arial,sans-serif!important
}
.mh-guide-body ol li{margin:0 0 8px!important}
.mh-guide-body ol li b{color:var(--text)!important;font-weight:700!important}
.mh-guide-body code{
  padding:2px 7px!important;
  border-radius:6px!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important;
  color:var(--accent)!important;
  font:500 11.5px Consolas,Monaco,monospace!important
}

.mh-guide-tip{
  display:flex!important;align-items:flex-start!important;gap:9px!important;
  margin:13px 0 0!important;
  padding:11px 14px!important;
  border:1px solid var(--border-strong)!important;
  border-left:3px solid var(--accent)!important;
  border-radius:10px!important;
  background:var(--accent-glow)!important;
  color:var(--text-dim)!important;
  font:500 12px/1.6 Rubik,Arial,sans-serif!important
}
.mh-guide-tip i{color:var(--accent)!important;margin-top:2px!important;flex:none!important}

/* themes */
html[data-theme="light"] .mh-guide{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.13)!important
}
html[data-theme="light"] .mh-guide-head:hover{background:#eef4ff!important}
html[data-theme="light"] .mh-guide-body code{background:#f4f8fd!important;border-color:#dce6f2!important;color:#1d4ed8!important}
html[data-theme="light"] .mh-guide-tip{background:#eef4ff!important;border-color:#c8dcfb!important;border-left-color:#2563eb!important}
html:not([data-theme="light"]) .mh-guide{background:rgba(21,31,52,.9)!important}
html:not([data-theme="light"]) .mh-guide-head:hover{background:rgba(91,141,239,.12)!important}

/* ---------- homepage quick links (guides / uptime) ---------- */
.mh-quick{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:16px 0 0!important
}
.mh-quick a{
  flex:1 1 232px!important;
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  padding:15px 17px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:14px!important;
  background:var(--grad-panel)!important;
  text-decoration:none!important;
  transition:transform .22s,border-color .22s,box-shadow .22s!important
}
.mh-quick a:hover{
  transform:translateY(-3px)!important;
  border-color:var(--accent)!important;
  box-shadow:0 16px 32px rgba(0,0,0,.2)!important
}
.mh-quick-ico{
  width:42px!important;height:42px!important;
  border-radius:12px!important;
  display:grid!important;place-items:center!important;
  flex:none!important
}
.mh-quick a.q-guides .mh-quick-ico{
  background:rgba(124,109,240,.15)!important;
  border:1px solid rgba(124,109,240,.32)!important;
  color:#7c6df2!important
}
.mh-quick a.q-uptime .mh-quick-ico{
  background:rgba(47,209,134,.14)!important;
  border:1px solid rgba(47,209,134,.32)!important;
  color:var(--ok)!important
}
.mh-quick-txt{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0}
.mh-quick-title{
  font:700 13.5px Rubik,Arial,sans-serif!important;
  color:var(--text)!important
}
.mh-quick-sub{
  font:400 11.5px Rubik,Arial,sans-serif!important;
  color:var(--muted)!important
}
.mh-quick-arrow{
  margin-left:auto!important;flex:none!important;
  color:var(--muted)!important
}
.mh-quick a:hover .mh-quick-arrow{color:var(--accent)!important}

html[data-theme="light"] .mh-quick a{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(30,60,120,.14)!important
}
html[data-theme="light"] .mh-quick a:hover{
  border-color:#2563eb!important;
  box-shadow:0 16px 32px rgba(25,55,110,.14)!important
}

@media(max-width:680px){
  .mh-guide-head{padding:13px 13px!important;gap:10px!important}
  .mh-guide-ico{width:36px!important;height:36px!important}
  .mh-guide-title{font-size:12.5px!important}
  .mh-guide-time{display:none!important}
  .mh-guide-body{padding:2px 13px 15px 13px!important}
  .mh-quick a{flex:1 1 100%!important}
}

/* ============================================================
   PATCH 47 — quick-link cards: proper bottom spacing
   ============================================================ */
.mh-quick{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:16px 0 26px!important;
  padding-bottom:4px!important
}
.mh-quick a{
  box-sizing:border-box!important
}

/* also give the guarantee block room after it */
.mh-guarantee{
  margin:16px 0 22px!important
}

/* and the review / why sections get consistent rhythm */
#mhx-guarantee,
#mhx-reviews,
#mhx-why,
#mhx-games{
  margin-bottom:6px!important
}

@media(max-width:680px){
  .mh-quick{margin:14px 0 22px!important;gap:10px!important}
}

/* ============================================================
   PATCH 48 — map category buttons ("Тип карт") — clickable cards
   ============================================================ */

.maps_types{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(164px,1fr))!important;
  gap:9px!important;
  padding:15px!important;
  background:var(--card)!important
}

/* one category = one clickable card */
.map-type-btn,
.map-type-btn.minimalist{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:11px 13px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--card2)!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .2s,border-color .2s,box-shadow .2s,background .2s!important;
  overflow:hidden!important;
  position:relative!important
}
.map-type-btn:hover{
  transform:translateY(-3px)!important;
  border-color:var(--accent)!important;
  background:var(--accent-glow)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.2)!important
}

/* prefix badge — the short code (DE_, AWP_, ...) */
.map-prefix{
  flex:none!important;
  min-width:52px!important;
  padding:5px 8px!important;
  border-radius:8px!important;
  background:var(--accent)!important;
  color:#ffffff!important;
  font:800 10.5px Rubik,Arial,sans-serif!important;
  letter-spacing:.5px!important;
  text-align:center!important;
  box-shadow:0 3px 9px var(--accent-glow)!important
}

/* human-readable name */
.map-name{
  flex:1!important;
  min-width:0!important;
  font:600 12.5px Rubik,Arial,sans-serif!important;
  color:var(--text)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}

/* ACTIVE category (the one currently open) */
.map-type-btn.is-active{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  box-shadow:0 8px 20px var(--accent-glow)!important
}
.map-type-btn.is-active .map-prefix{
  background:rgba(255,255,255,.22)!important;
  color:#ffffff!important;
  box-shadow:none!important
}
.map-type-btn.is-active .map-name{color:#ffffff!important}
.map-type-btn.is-active:hover{
  transform:translateY(-3px)!important;
  background:var(--accent2)!important
}

/* themes */
html[data-theme="light"] .maps_types{background:rgba(255,255,255,.95)!important}
html[data-theme="light"] .map-type-btn{
  background:#f7fafd!important;border-color:#dce6f0!important
}
html[data-theme="light"] .map-type-btn:hover{
  background:#eef4ff!important;border-color:#2563eb!important;
  box-shadow:0 12px 26px rgba(25,55,110,.14)!important
}
html[data-theme="light"] .map-prefix{
  background:#2563eb!important;color:#fff!important;
  box-shadow:0 3px 9px rgba(37,99,235,.24)!important
}
html[data-theme="light"] .map-type-btn.is-active{
  background:#2563eb!important;border-color:#2563eb!important;
  box-shadow:0 8px 20px rgba(37,99,235,.3)!important
}
html:not([data-theme="light"]) .maps_types{background:rgba(21,31,52,.9)!important}
html:not([data-theme="light"]) .map-type-btn{
  background:rgba(28,40,66,.92)!important;
  border-color:rgba(125,165,225,.18)!important
}
html:not([data-theme="light"]) .map-type-btn:hover{
  background:rgba(91,141,239,.14)!important;
  border-color:rgba(125,165,225,.36)!important
}
html:not([data-theme="light"]) .map-prefix{
  background:#5b8def!important;color:#fff!important
}

@media(max-width:680px){
  .maps_types{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:8px!important;padding:12px!important}
  .map-type-btn{padding:9px 11px!important;gap:8px!important}
  .map-prefix{min-width:44px!important;font-size:9.5px!important;padding:4px 6px!important}
  .map-name{font-size:11.5px!important}
}

/* ============================================================
   PATCH 49 — map cards: mark maps that have no install archive
   ============================================================ */

/* the marker under the map name */
.map-ok{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-top:5px!important;
  padding:2px 9px!important;
  border-radius:20px!important;
  background:rgba(47,209,134,.15)!important;
  border:1px solid rgba(47,209,134,.34)!important;
  color:var(--ok)!important;
  font:700 10px Rubik,Arial,sans-serif!important;
  letter-spacing:.3px!important
}
.map-no{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-top:5px!important;
  padding:2px 9px!important;
  border-radius:20px!important;
  background:rgba(120,140,170,.13)!important;
  border:1px solid var(--border)!important;
  color:var(--muted)!important;
  font:600 10px Rubik,Arial,sans-serif!important;
  letter-spacing:.3px!important
}

/* cards WITHOUT an archive: dimmed and unclickable */
.block_content.maps > div > div:has(.map-no){
  opacity:.5!important;
  cursor:not-allowed!important;
  filter:grayscale(.65)!important
}
.block_content.maps > div > div:has(.map-no):hover{
  transform:none!important;
  border-color:var(--border)!important
}
.block_content.maps > div > div:has(.map-no) img{opacity:.6!important}

/* light theme */
html[data-theme="light"] .map-ok{background:#e9f9f1!important;border-color:#a8e0c2!important;color:#0f8a52!important}
html[data-theme="light"] .map-no{background:#f2f5f9!important;border-color:#dce6f2!important;color:#7d8ea6!important}
html:not([data-theme="light"]) .map-ok{background:rgba(47,209,134,.16)!important;border-color:rgba(47,209,134,.38)!important}
html:not([data-theme="light"]) .map-no{background:rgba(120,140,170,.14)!important}

/* graceful fallback for browsers without :has() */
.block_content.maps .map-no{pointer-events:none!important}

/* ============================================================
   PATCH 50 — FileTP toolbar: refresh / new folder / new file
   ============================================================ */

/* the toolbar row wraps buttons + search */
.block_content.filetp{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:9px!important
}

/* buttons */
.block_content.filetp > .btn.btn-short{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:9px 16px!important;
  border-radius:10px!important;
  border:1px solid var(--border-strong)!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:.2s!important;
  float:none!important;
  margin:0!important
}
.block_content.filetp > .btn.btn-short:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-1px)
}
.block_content.filetp > .btn.btn-short:active{transform:translateY(0)}

/* primary action = "Обновить" gets accent fill */
.block_content.filetp > .btn.btn-short:first-child{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#ffffff!important;
  box-shadow:0 3px 10px var(--accent-glow)!important
}
.block_content.filetp > .btn.btn-short:first-child:hover{
  background:var(--accent2)!important;
  border-color:var(--accent2)!important;
  color:#ffffff!important
}

/* search field grows to fill remaining space */
.block_content.filetp > .filetp_find{
  flex:1 1 200px!important;
  min-width:170px!important;
  margin:0!important;
  float:none!important
}
.block_content.filetp > .filetp_find input{
  width:100%!important;
  box-sizing:border-box!important;
  padding:9px 13px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font:500 12.5px Rubik,Arial,sans-serif!important
}
.block_content.filetp > .filetp_find input::placeholder{color:var(--muted)!important}
.block_content.filetp > .filetp_find input:focus{
  outline:none!important;
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* the file table below starts on its own line */
.block_content.filetp > #filetp_block{
  flex:1 1 100%!important;
  width:100%!important;
  margin-top:11px!important
}

/* light theme */
html[data-theme="light"] .block_content.filetp > .btn.btn-short{
  background:#ffffff!important;
  border-color:#cfdcee!important;
  color:#1e293b!important
}
html[data-theme="light"] .block_content.filetp > .btn.btn-short:hover{
  background:#eef4ff!important;
  border-color:#2563eb!important;
  color:#1d4ed8!important
}
html[data-theme="light"] .block_content.filetp > .btn.btn-short:first-child{
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#ffffff!important
}
html[data-theme="light"] .block_content.filetp > .filetp_find input{
  background:#fbfdff!important;border-color:#cfdcee!important;color:#12213a!important
}

/* dark theme */
html:not([data-theme="light"]) .block_content.filetp > .btn.btn-short{
  background:rgba(28,40,66,.92)!important;
  border-color:rgba(125,165,225,.24)!important;
  color:#cdd8e8!important
}
html:not([data-theme="light"]) .block_content.filetp > .btn.btn-short:hover{
  background:rgba(91,141,239,.16)!important;
  border-color:rgba(125,165,225,.42)!important;
  color:#9fc0ff!important
}
html:not([data-theme="light"]) .block_content.filetp > .btn.btn-short:first-child{
  background:#5b8def!important;border-color:#5b8def!important;color:#ffffff!important
}
html:not([data-theme="light"]) .block_content.filetp > .filetp_find input{
  background:rgba(18,27,46,.92)!important;
  border-color:rgba(125,165,225,.24)!important;
  color:#e9eef7!important
}

@media(max-width:680px){
  .block_content.filetp{gap:7px!important}
  .block_content.filetp > .btn.btn-short{padding:8px 12px!important;font-size:11px!important}
  .block_content.filetp > .filetp_find{flex:1 1 100%!important}
}

/* ============================================================
   PATCH 52 — FileTP toolbar (final): only the file-manager block
   ============================================================ */

/* there are TWO .block_content.filetp blocks; only the one with
   #filetp_block is the file manager. Use :has() + fallback. */
.block_content.filetp{display:block!important}

.block_content.filetp:has(#filetp_block) > .btn.btn-short{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:9px 16px!important;
  border-radius:10px!important;
  border:1px solid var(--border-strong)!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:.2s!important;
  float:none!important;
  margin:0 6px 9px 0!important;
  vertical-align:middle!important
}
.block_content.filetp:has(#filetp_block) > .btn.btn-short:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-1px)
}
.block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#ffffff!important;
  box-shadow:0 3px 10px var(--accent-glow)!important
}
.block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type:hover{
  background:var(--accent2)!important;
  border-color:var(--accent2)!important;
  color:#ffffff!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find{
  display:inline-block!important;
  width:min(320px,100%)!important;
  margin:0 0 9px 0!important;
  float:none!important;
  vertical-align:middle!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find input{
  width:100%!important;box-sizing:border-box!important;
  padding:9px 13px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font:500 12.5px Rubik,Arial,sans-serif!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find input:focus{
  outline:none!important;border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* themes */
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short{
  background:#ffffff!important;border-color:#cfdcee!important;color:#1e293b!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short:hover{
  background:#eef4ff!important;border-color:#2563eb!important;color:#1d4ed8!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type{
  background:#2563eb!important;border-color:#2563eb!important;color:#ffffff!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .filetp_find input{
  background:#fbfdff!important;border-color:#cfdcee!important;color:#12213a!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short{
  background:rgba(28,40,66,.92)!important;border-color:rgba(125,165,225,.24)!important;color:#cdd8e8!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short:hover{
  background:rgba(91,141,239,.16)!important;border-color:rgba(125,165,225,.42)!important;color:#9fc0ff!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type{
  background:#5b8def!important;border-color:#5b8def!important;color:#ffffff!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .filetp_find input{
  background:rgba(18,27,46,.92)!important;border-color:rgba(125,165,225,.24)!important;color:#e9eef7!important
}

@media(max-width:680px){
  .block_content.filetp:has(#filetp_block) > .btn.btn-short{padding:8px 12px!important;font-size:11px!important}
  .block_content.filetp:has(#filetp_block) > .filetp_find{width:100%!important}
}

/* ============================================================
   PATCH 53 — FileTP: text buttons must NOT be squeezed into
   28x26 icon squares (that rule targets table-row icons)
   ============================================================ */

/* the toolbar text buttons get their real size back */
.block_content.filetp:has(#filetp_block) > .btn.btn-short,
.block_content.filetp > .btn.btn-short{
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:9px 16px!important;
  margin:0 8px 9px 0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border-radius:10px!important;
  border:1px solid var(--border-strong)!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  float:none!important;
  box-sizing:border-box!important
}
.block_content.filetp:has(#filetp_block) > .btn.btn-short:hover,
.block_content.filetp > .btn.btn-short:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important;
  transform:translateY(-1px)
}

/* "Обновить" — accent fill */
.block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type,
.block_content.filetp > .btn.btn-short:first-of-type{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#ffffff!important;
  box-shadow:0 3px 10px var(--accent-glow)!important
}
.block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type:hover,
.block_content.filetp > .btn.btn-short:first-of-type:hover{
  background:var(--accent2)!important;
  border-color:var(--accent2)!important;
  color:#ffffff!important
}

/* the search field sits next to them */
.block_content.filetp:has(#filetp_block) > .filetp_find{
  display:inline-block!important;
  width:min(320px,100%)!important;
  max-width:320px!important;
  margin:0 0 9px 0!important;
  float:none!important;
  vertical-align:middle!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find input{
  width:100%!important;box-sizing:border-box!important;
  padding:9px 13px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font:500 12.5px Rubik,Arial,sans-serif!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find input:focus{
  outline:none!important;border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* themes */
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short,
html[data-theme="light"] .block_content.filetp > .btn.btn-short{
  background:#ffffff!important;border-color:#cfdcee!important;color:#1e293b!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short:hover{
  background:#eef4ff!important;border-color:#2563eb!important;color:#1d4ed8!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type{
  background:#2563eb!important;border-color:#2563eb!important;color:#ffffff!important
}
html[data-theme="light"] .block_content.filetp:has(#filetp_block) > .filetp_find input{
  background:#fbfdff!important;border-color:#cfdcee!important;color:#12213a!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short{
  background:rgba(28,40,66,.92)!important;border-color:rgba(125,165,225,.24)!important;color:#cdd8e8!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short:hover{
  background:rgba(91,141,239,.16)!important;border-color:rgba(125,165,225,.42)!important;color:#9fc0ff!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .btn.btn-short:first-of-type{
  background:#5b8def!important;border-color:#5b8def!important;color:#ffffff!important
}
html:not([data-theme="light"]) .block_content.filetp:has(#filetp_block) > .filetp_find input{
  background:rgba(18,27,46,.92)!important;border-color:rgba(125,165,225,.24)!important;color:#e9eef7!important
}

@media(max-width:680px){
  .block_content.filetp:has(#filetp_block) > .btn.btn-short{padding:8px 12px!important;font-size:11px!important;margin-right:6px!important}
  .block_content.filetp:has(#filetp_block) > .filetp_find{width:100%!important}
}

@media(max-width:900px){
/* ============================================================
   PATCH 54 — MOBILE OVERHAUL: fix broken layout on phones
   ============================================================ */

/* ---------- global: no horizontal scroll ---------- */
html,body{
  max-width:100%!important;
  overflow-x:hidden!important
}

/* ---------- inline widths in templates (.left/.right 300/450px) ---------- */
.left[style*="width: 300px"],
.left[style*="width:300px"],
.left[style*="width: 450px"],
.left[style*="width:450px"],
.right[style*="width: 450px"],
.right[style*="width:450px"],
.right[style*="width: 530px"],
.right[style*="width:530px"],
.left[style*="width: 260px"],
.left[style*="width:260px"]{
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0 0 12px!important
}

/* ---------- tables never overflow ---------- */
table,table.table_pad,table.form,.mh-table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
  word-break:break-word!important
}
table td,table th,.table_pad td,.table_pad th{
  max-width:0!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important
}
.block_content,.block_content.filetp,#filetp_block{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important
}

/* ---------- all blocks fit the screen ---------- */
.mh-wrap{
  width:calc(100% - 24px)!important;
  min-width:0!important
}
.mh-card,.block_content,.hblock_content,.mh-page-hero,.mh-item,.mh-guide,
.mh-auth,.mh-auth .mh-card,.ultra-compact-payment,.maps_types{
  max-width:100%!important;
  box-sizing:border-box!important
}

/* ---------- header / top bar ---------- */
.mh-header{
  flex-wrap:wrap!important;
  gap:10px!important;
  padding:11px 13px!important
}
.mh-brand{font-size:21px!important;gap:9px!important}
.mh-brand img{width:38px!important;height:44px!important}
.mh-brand-name small{font-size:8px!important;letter-spacing:1px!important}
.mh-top{
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important
}
.mh-top > div{justify-content:center!important;gap:7px!important}
.mh-top > div > a{padding:7px 11px!important;font-size:11px!important}

/* ---------- nav ---------- */
.mh-nav{
  padding:0!important;
  gap:5px!important;
  width:100%!important
}
.mh-nav a{
  padding:8px 11px!important;
  font-size:11.5px!important;
  border-radius:10px!important
}

/* ---------- hero slider ---------- */
.mh-hero{min-height:330px!important}
.mh-hero-copy{padding:22px 18px!important}
.mh-hero h1,.mh-hero h2{font-size:26px!important;letter-spacing:-.6px!important;margin-bottom:11px!important}
.mh-hero-copy p{font-size:13px!important;margin-bottom:17px!important}
.mh-perks{position:static!important;width:100%!important;left:auto!important}
.mh-glass{width:100%!important}

/* ---------- sections / grids ---------- */
.mh-section-head{
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:11px!important
}
.mh-section-head h2{font-size:21px!important}
.mh-game-grid,.mh-why-grid,.mh-reviews-track,.mh-grid{
  grid-template-columns:1fr!important;
  gap:11px!important
}
.mh-filters{
  flex-wrap:wrap!important;
  gap:6px!important
}
.mh-filters button{
  padding:7px 13px!important;
  font-size:11px!important;
  flex:1 1 auto!important
}

/* ---------- content blocks ---------- */
.hblock_content{
  font-size:12.5px!important;
  padding:11px 13px!important;
  margin-top:13px!important
}
.block_content{padding:13px!important}

/* ---------- server panel nav (14 tabs) ---------- */
table.server_nav,
table.server_nav > tbody,
table.server_nav > tbody > tr{
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  gap:5px!important;
  padding:6px!important
}
table.server_nav td > a{
  padding:8px 11px!important;
  font-size:11px!important;
  white-space:nowrap!important
}

/* ---------- forms ---------- */
input,select,textarea,.form-input,.form-select,.form-textarea{
  max-width:100%!important;
  box-sizing:border-box!important;
  font-size:14px!important  /* iOS zoom fix */
}
.mh-actions{
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important
}
.mh-actions .mh-btn,.mh-actions button.mh-btn{width:100%!important;justify-content:center!important}

/* ---------- footer ---------- */
.mh-footer .mh-wrap{
  grid-template-columns:1fr!important;
  gap:16px!important
}
.mh-socials{flex-wrap:wrap!important;justify-content:center!important}

/* ---------- filetp toolbar ---------- */
.block_content.filetp:has(#filetp_block) > .btn.btn-short{
  padding:8px 12px!important;
  font-size:11px!important;
  margin:0 6px 7px 0!important
}
.block_content.filetp:has(#filetp_block) > .filetp_find{
  width:100%!important;
  margin-bottom:7px!important
}

/* ---------- categories / map cards ---------- */
.maps_types{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))!important;padding:11px!important}
.map-type-btn{padding:9px 10px!important;gap:7px!important}
.map-prefix{min-width:40px!important;font-size:9px!important;padding:3px 5px!important}
.map-name{font-size:11px!important}

/* ---------- banners / banner page ---------- */
.bn-card,.bn-hero{max-width:100%!important}
.bn-grid{grid-template-columns:1fr!important}

/* ---------- payment / replenish ---------- */
.ultra-compact-payment{padding:0!important}
.balance-card{
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:12px!important;
  padding:15px!important
}
.balance-amount{font-size:21px!important}
.payment-methods{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))!important}
.method-icon{height:48px!important}

/* ---------- modals / popups ---------- */
.popup-content{width:92%!important;padding:22px 18px!important;max-width:420px!important}
.bootbox .modal-dialog{margin:5vh 12px!important}

/* ---------- search / wiki / news ---------- */
.mh-news-full{padding:15px!important}
.mh-crumb a,.mh-crumb.is-current span{padding:4px 9px!important;font-size:10.5px!important}

/* ---------- console ---------- */
.server_console pre{
  font-size:10.5px!important;
  padding:11px!important;
  max-height:320px!important;
  overflow:auto!important
}

/* ---------- avoid 100vh bugs on iOS ---------- */
.mh-hero,.cs-loader{min-height:100svh!important}
@supports not (min-height:100svh){
  .mh-hero,.cs-loader{min-height:100vh!important}
}

/* ---------- typography safety ---------- */
h1,h2,h3,h4,p,li,td,th{
  max-width:100%!important;
  overflow-wrap:break-word!important
}


.mh-wrap,main,main.side_left,.mh-lower{
  max-width:100%!important
}

@media(max-width:400px){
  .mh-wrap{width:calc(100% - 16px)!important}
  .mh-hero h1,.mh-hero h2{font-size:22px!important}
  .mh-section-head h2{font-size:18px!important}
  .hblock_content{font-size:11.5px!important;padding:10px!important}
}

}

/* ============================================================
   PATCH 55 — server page heading: full-width background
   <h4 class="hblock_content" style="width: 97%"> left a gap
   ============================================================ */
.hblock_content,
h4.hblock_content,
h1.hblock_content,
h2.hblock_content,
.block_content + .hblock_content{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important
}

/* even if the template hardcodes 97% / 95% inline */
.hblock_content[style*="width: 97%"],
.hblock_content[style*="width:97%"],
.hblock_content[style*="width: 95%"],
.hblock_content[style*="width:95%"],
.hblock_content[style*="width: 98%"],
.hblock_content[style*="width:98%"]{
  width:100%!important
}

/* the block right under it should match exactly */
.block_content{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important
}

/* make the heading and the block sit flush (no gap between) */
.hblock_content + .block_content{
  margin-top:0!important
}

/* ============================================================
   PATCH 56 — mobile polish: buttons wrap, spacing, touch targets
   ONLY for phones/tablets (≤768px)
   ============================================================ */
@media(max-width:768px){

  /* --- page padding --- */
  .mh-wrap{width:calc(100% - 18px)!important;padding-left:0!important;padding-right:0!important}

  /* --- every button group wraps instead of squeezing --- */
  .mh-actions,
  .mh-filters,
  .block_content.filetp,
  .mh-top > div,
  .server_nav,
  .form-actions{
    flex-wrap:wrap!important;
    gap:8px!important
  }

  /* --- buttons: full-width or auto-wrap, comfortable touch size --- */
  .btn,.btn-short,.btn-max,.btn-primary,.btn-success,.btn-info,.btn-gray,
  .mh-btn,.mh-btn.mh-ghost,.mh-btn.mh-small,
  button.mh-btn,.read_more{
    min-height:42px!important;
    min-width:44px!important;
    padding:11px 15px!important;
    font-size:12.5px!important;
    border-radius:11px!important;
    justify-content:center!important;
    box-sizing:border-box!important
  }

  /* action rows: stack full-width */
  .mh-actions .mh-btn,
  .mh-actions button.mh-btn,
  .block_content input[type="submit"],
  .block_content .btn-success{
    width:100%!important;
    margin:0 0 8px!important
  }

  /* toolbar in filetp: buttons take equal width */
  .block_content.filetp:has(#filetp_block) > .btn.btn-short{
    flex:1 1 calc(50% - 6px)!important;
    width:auto!important;
    margin:0 0 8px!important;
    min-height:42px!important
  }
  .block_content.filetp:has(#filetp_block) > .filetp_find{
    flex:1 1 100%!important;
    width:100%!important;
    margin-bottom:10px!important
  }

  /* --- server panel tabs: horizontal scroll, bigger hit area --- */
  table.server_nav,
  table.server_nav > tbody,
  table.server_nav > tbody > tr{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    gap:6px!important;
    padding:7px!important;
    scrollbar-width:none!important
  }
  table.server_nav::-webkit-scrollbar{display:none!important}
  table.server_nav td > a{
    padding:10px 13px!important;
    font-size:11.5px!important;
    white-space:nowrap!important;
    min-height:40px!important
  }

  /* --- category chips (maps) --- */
  .maps_types{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))!important;gap:8px!important;padding:10px!important}
  .map-type-btn{padding:10px 9px!important;gap:6px!important;min-height:46px!important}
  .map-prefix{min-width:36px!important;font-size:8.5px!important;padding:3px 5px!important}
  .map-name{font-size:10.5px!important;white-space:normal!important;line-height:1.3!important}

  /* --- forms --- */
  input,select,textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    min-height:44px!important;
    font-size:16px!important   /* prevent iOS zoom */
  }
  .form-row{margin-bottom:14px!important}
  label{font-size:12px!important;margin-bottom:6px!important}

  /* --- tables: allow horizontal scroll instead of squishing --- */
  .block_content > table,
  .block_content table.table_pad,
  .server_list table{
    display:block!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    white-space:nowrap!important;
    width:100%!important
  }
  .block_content > table td,
  .block_content table.table_pad td,
  .server_list table td{
    white-space:nowrap!important;
    padding:9px 10px!important;
    font-size:11.5px!important
  }

  /* --- cards / blocks spacing --- */
  .mh-card,.mh-item,.mh-guide,.block_content,.hblock_content,
  .mh-page-hero,.mh-auth .mh-card,.ultra-compact-payment{
    margin-bottom:14px!important
  }
  .hblock_content{padding:12px 13px!important;font-size:13px!important;border-radius:11px 11px 0 0!important}
  .block_content{padding:14px!important;border-radius:0 0 11px 11px!important}

  /* --- hero --- */
  .mh-hero{min-height:300px!important}
  .mh-hero-copy{padding:18px 15px!important}
  .mh-hero h1,.mh-hero h2{font-size:23px!important;line-height:1.15!important}
  .mh-hero-copy p{font-size:12.5px!important;line-height:1.6!important}

  /* --- footer --- */
  .mh-footer .mh-wrap{grid-template-columns:1fr!important;gap:18px!important}
  .mh-socials{gap:9px!important;justify-content:flex-start!important}

  /* --- top bar user pills --- */
  .mh-top > div > a{
    padding:9px 12px!important;
    font-size:11.5px!important;
    min-height:38px!important;
    flex:1 1 calc(50% - 6px)!important;
    justify-content:center!important
  }

  /* --- payment cards --- */
  .payment-methods{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))!important;gap:9px!important}
  .method-card{padding:13px 9px!important}

  /* --- guides accordion --- */
  .mh-guide-head{padding:13px!important;gap:9px!important}
  .mh-guide-title{font-size:12.5px!important;line-height:1.35!important}
  .mh-guide-time{display:none!important}
  .mh-guide-body{padding:2px 13px 15px!important}
  .mh-guide-body ol{font-size:12px!important;padding-left:17px!important}

  /* --- search fields --- */
  input[type="search"],input#search,input#filetp_find,input#sum{
    width:100%!important
  }

  /* --- images never overflow --- */
  img{max-width:100%!important;height:auto!important}
  .mh-cover img,.poster img{width:100%!important;object-fit:cover!important}

  /* --- popup / modal --- */
  .popup-content{width:94%!important;padding:20px 16px!important;border-radius:16px!important}
  .bootbox .modal-dialog{margin:4vh 10px!important}
  .bootbox .modal-body{padding:15px!important;font-size:13px!important}

  /* --- console --- */
  .server_console pre{font-size:10px!important;padding:10px!important;max-height:280px!important}
}

@media(max-width:420px){
  .mh-wrap{width:calc(100% - 14px)!important}
  .btn,.btn-short,.mh-btn{padding:10px 12px!important;font-size:11.5px!important}
  .mh-hero h1,.mh-hero h2{font-size:20px!important}
  .maps_types{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important}
}

/* ============================================================
   PATCH 57 — help dialog: BBCode buttons + emoji grid
   ============================================================ */

/* --- BBCode button row --- */
.block_content .btn.btn-none{
  display:block!important;
  background:transparent!important;
  border:0!important;
  color:var(--muted)!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  letter-spacing:.6px!important;
  text-transform:uppercase!important;
  margin:0 0 8px!important;
  padding:0!important;
  text-align:left!important
}

/* the 4 bbcode buttons: one clean row */
.block_content .btn.btn-short.btn-gray.right{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:8px 15px!important;
  margin:0 7px 8px 0!important;
  border:1px solid var(--border-strong)!important;
  border-radius:9px!important;
  background:var(--card)!important;
  color:var(--text)!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  float:none!important;
  cursor:pointer!important;
  transition:.2s!important;
  min-height:38px!important
}
.block_content .btn.btn-short.btn-gray.right:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:var(--accent-glow)!important
}

/* --- emoji grid --- */
.block_content div[style*="flex-wrap: wrap"][style*="gap: 5px"]{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:12px 0 6px!important;
  padding:11px!important;
  background:var(--card2)!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important
}
/* each emoji tile */
.block_content div[onclick*="insertEmoji"]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  cursor:pointer!important;
  transition:.18s!important;
  float:none!important
}
.block_content div[onclick*="insertEmoji"]:hover{
  background:var(--accent-glow)!important;
  border-color:var(--accent)!important;
  transform:scale(1.12)
}
.block_content div[onclick*="insertEmoji"] img{
  width:24px!important;
  height:24px!important;
  display:block!important;
  object-fit:contain!important
}

/* --- send button --- */
.block_content button.btn-short.right{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px 26px!important;
  margin:10px 0 0!important;
  border:1px solid var(--accent)!important;
  border-radius:11px!important;
  background:var(--accent)!important;
  color:#ffffff!important;
  font:700 13px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  float:none!important;
  box-shadow:0 5px 16px var(--accent-glow)!important;
  transition:.2s!important
}
.block_content button.btn-short.right:hover{
  background:var(--accent2)!important;
  transform:translateY(-2px)
}

/* --- dialog messages area --- */
.help_dialog{
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important
}
.help_msg{
  padding:13px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--card)!important
}
.help_msg_ava img{width:42px!important;height:42px!important;border-radius:11px!important;object-fit:cover!important}
.help_sender a{color:var(--accent)!important;font-weight:700!important}
.help_date{color:var(--muted)!important;font-size:11px!important}
.help_data{color:var(--text-dim)!important;font-size:12.5px!important;line-height:1.6!important}

/* --- operator block --- */
#operatorBlock{
  background:var(--card)!important;
  border:1px solid var(--border-strong)!important;
  border-radius:12px!important
}
#operatorBlock .btn-short{
  background:var(--bad)!important;
  color:#ffffff!important;
  border:1px solid var(--bad)!important;
  border-radius:10px!important;
  padding:9px 17px!important;
  font:600 12px Rubik,Arial,sans-serif!important
}

/* --- themes --- */
html[data-theme="light"] .block_content .btn.btn-short.btn-gray.right{
  background:#ffffff!important;border-color:#cfdcee!important;color:#1e293b!important
}
html[data-theme="light"] .block_content .btn.btn-short.btn-gray.right:hover{
  background:#eef4ff!important;border-color:#2563eb!important;color:#1d4ed8!important
}
html[data-theme="light"] .block_content div[style*="gap: 5px"]{
  background:#f7fafd!important;border-color:#dce6f0!important
}
html[data-theme="light"] .help_msg{background:#ffffff!important;border-color:#dce6f0!important}

@media(max-width:680px){
  .block_content .btn.btn-short.btn-gray.right{padding:7px 11px!important;font-size:10.5px!important;margin:0 5px 6px 0!important}
  .block_content div[onclick*="insertEmoji"]{width:34px!important;height:34px!important;min-width:34px!important}
  .block_content div[onclick*="insertEmoji"] img{width:21px!important;height:21px!important}
  .block_content button.btn-short.right{width:100%!important;justify-content:center!important}
}

/* ============================================================
   PATCH 58 — the hint line "Выделите текст..." must have NO button box
   ============================================================ */
.block_content .btn.btn-none,
.block_content div.btn.btn-none,
main.side_left .btn.btn-none,
.btn.btn-none{
  display:block!important;
  background:transparent!important;
  background-image:none!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--muted)!important;
  font:600 11px Rubik,Arial,sans-serif!important;
  letter-spacing:.7px!important;
  text-transform:uppercase!important;
  margin:0 0 10px!important;
  padding:0!important;
  text-align:left!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  line-height:1.5!important;
  cursor:default!important
}
.block_content .btn.btn-none:hover,
.btn.btn-none:hover{
  background:transparent!important;
  color:var(--muted)!important;
  transform:none!important
}

/* ensure the buttons below it still have their boxes */
.block_content .btn.btn-short.btn-gray.right{
  background:var(--card)!important;
  border:1px solid var(--border-strong)!important
}

/* ============================================================
   PATCH 59 — avatar upload: styled drop zone + file input
   ============================================================ */

/* drop zone */
#drop-files{
  border:2px dashed var(--border-strong)!important;
  border-radius:13px!important;
  background:var(--card)!important;
  padding:18px!important;
  text-align:center!important;
  transition:.2s!important
}
#drop-files:hover,
#drop-files.dragover{
  border-color:var(--accent)!important;
  background:var(--accent-glow)!important
}
#drop-files p{
  margin:0 0 10px!important;
  color:var(--muted)!important;
  font:500 12px Rubik,Arial,sans-serif!important
}

/* file input wrapper */
#frm{
  display:flex!important;
  justify-content:center!important;
  margin:0!important
}

/* native file input -> styled button */
#drop-files input[type="file"],
#frm input[type="file"],
input#img{
  display:inline-block!important;
  width:auto!important;
  max-width:100%!important;
  padding:10px 16px!important;
  border:1px solid var(--border-strong)!important;
  border-radius:10px!important;
  background:var(--card2)!important;
  color:var(--text)!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s!important
}
#drop-files input[type="file"]:hover,
#frm input[type="file"]:hover,
input#img:hover{
  border-color:var(--accent)!important;
  background:var(--accent-glow)!important;
  color:var(--accent)!important
}
#drop-files input[type="file"]:focus,
input#img:focus{
  outline:none!important;
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-glow)!important
}

/* "Выбрать файл" button text inside the input */
#drop-files input[type="file"]::file-selector-button,
input#img::-webkit-file-upload-button,
input#img::file-selector-button{
  margin-right:11px!important;
  padding:8px 15px!important;
  border:1px solid var(--accent)!important;
  border-radius:8px!important;
  background:var(--accent)!important;
  color:#ffffff!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  cursor:pointer!important;
  transition:.2s!important
}
#drop-files input[type="file"]::file-selector-button:hover,
input#img::file-selector-button:hover,
input#img::-webkit-file-upload-button:hover{
  background:var(--accent2)!important;
  border-color:var(--accent2)!important
}

/* drop zone: drag state */
#drop-files.dragover{
  transform:scale(1.02)!important
}

/* themes */
html[data-theme="light"] #drop-files{
  background:#f7fafd!important;
  border-color:#cfdcee!important
}
html[data-theme="light"] #drop-files:hover,
html[data-theme="light"] #drop-files.dragover{
  background:#eef4ff!important;border-color:#2563eb!important
}
html[data-theme="light"] #drop-files input[type="file"],
html[data-theme="light"] input#img{
  background:#ffffff!important;border-color:#cfdcee!important;color:#1e293b!important
}
html[data-theme="light"] #drop-files p{color:#6d81a0!important}

html:not([data-theme="light"]) #drop-files{
  background:rgba(21,31,52,.9)!important;
  border-color:rgba(125,165,225,.28)!important
}
html:not([data-theme="light"]) #drop-files input[type="file"],
html:not([data-theme="light"]) input#img{
  background:rgba(28,40,66,.92)!important;
  border-color:rgba(125,165,225,.28)!important;
  color:#cdd8e8!important
}

/* the avatar preview */
#ava img,#avatar{
  border-radius:14px!important;
  border:1px solid var(--border-strong)!important;
  object-fit:cover!important;
  box-shadow:var(--shadow-sm)!important
}

@media(max-width:680px){
  #drop-files{padding:14px!important}
  #drop-files input[type="file"],input#img{width:100%!important;justify-content:center}
}

/* ============================================================
   PATCH 60 — softer, eye-friendly button colours
   (pure CSS override — nothing else is touched)
   ============================================================ */

/* ---------- soft palette (muted blues, less saturation) ---------- */
:root{
  --btn-blue:#4a74b8;         /* was #2563eb / #2f6de0 */
  --btn-blue-dark:#3c5f9a;
  --btn-blue-hover:#33528c;
  --btn-shadow:rgba(74,116,184,.22);
  --btn-ok:#3d9370;           /* was #2f9e6b */
  --btn-ok-dark:#327a5c;
  --btn-danger:#b8555f;       /* was #c4505c */
  --btn-danger-dark:#9c454f;
  --btn-info:#4c8496;         /* was #3d8ba0 */
  --btn-grey:#eef2f8;
  --btn-grey-border:#ccd7e5;
  --btn-text:#26374f;
}

/* ---------- PRIMARY / BLUE buttons ---------- */
.mh-btn,
button.mh-btn,
button.mh-btn:not(.mh-ghost),
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost),
.btn-primary,.btn-blue,
.btn.btn-primary,
.block_content input[type="submit"],
.block_content .btn-success,
.bootbox .modal-footer .btn-primary,
.mh-actions button.mh-btn{
  background:var(--btn-blue)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--btn-blue)!important;
  box-shadow:0 3px 11px var(--btn-shadow)!important;
  text-shadow:none!important
}
.mh-btn:hover,
button.mh-btn:hover,
button.mh-btn:not(.mh-ghost):hover,
.btn-primary:hover,.btn-blue:hover,
.btn.btn-primary:hover,
.block_content input[type="submit"]:hover,
.bootbox .modal-footer .btn-primary:hover{
  background:var(--btn-blue-hover)!important;
  border-color:var(--btn-blue-hover)!important;
  color:#ffffff!important
}

/* ---------- GHOST / secondary buttons ---------- */
.mh-btn.mh-ghost,
a.mh-btn.mh-ghost,
button.mh-btn.mh-ghost,
.mh-auth .mh-actions .mh-btn.mh-ghost,
.mh-auth .mh-actions button.mh-ghost,
.btn-default,.btn-gray,.btn-none,
.mh-actions .mh-btn.mh-ghost{
  background:var(--btn-grey)!important;
  background-image:none!important;
  color:var(--btn-text)!important;
  border:1px solid var(--btn-grey-border)!important;
  box-shadow:none!important;
  text-shadow:none!important
}
.mh-btn.mh-ghost:hover,
a.mh-btn.mh-ghost:hover,
button.mh-btn.mh-ghost:hover,
.mh-auth .mh-actions button.mh-ghost:hover,
.btn-default:hover,.btn-gray:hover{
  background:#e3eaf5!important;
  color:#2c4c85!important;
  border-color:#a9bdd6!important
}

/* ---------- SUCCESS / green ---------- */
.btn-success,.btn-green,
.btn.btn-success,
.block_content .btn-success,
.block_content input.btn-success{
  background:var(--btn-ok)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--btn-ok)!important;
  box-shadow:0 3px 11px rgba(61,147,112,.22)!important;
  text-shadow:none!important
}
.btn-success:hover,.btn-green:hover,
.block_content .btn-success:hover,
.block_content input.btn-success:hover{
  background:var(--btn-ok-dark)!important;
  border-color:var(--btn-ok-dark)!important
}

/* ---------- DANGER / red ---------- */
.btn-danger,.btn-error,
.btn.btn-danger,.btn.btn-error,
.block_content button.btn-error{
  background:var(--btn-danger)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--btn-danger)!important;
  box-shadow:0 3px 11px rgba(184,85,95,.22)!important;
  text-shadow:none!important
}
.btn-danger:hover,.btn-error:hover{
  background:var(--btn-danger-dark)!important;
  border-color:var(--btn-danger-dark)!important
}

/* ---------- INFO / cyan ---------- */
.btn-info,.btn.btn-info{
  background:var(--btn-info)!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid var(--btn-info)!important;
  text-shadow:none!important
}
.btn-info:hover{background:#3f6d7d!important;border-color:#3f6d7d!important}

/* ---------- WARNING / amber (soft) ---------- */
.btn-warning{
  background:#c69a45!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #c69a45!important;
  text-shadow:none!important
}
.btn-warning:hover{background:#ab8137!important;border-color:#ab8137!important}

/* ---------- DARK THEME: even softer ---------- */
html:not([data-theme="light"]) :root,
html:not([data-theme="light"]){
  --btn-blue:#4f78b5;
  --btn-blue-hover:#44689e;
}
html:not([data-theme="light"]) .mh-btn,
html:not([data-theme="light"]) button.mh-btn,
html:not([data-theme="light"]) .btn-primary,
html:not([data-theme="light"]) .btn-blue{
  background:var(--btn-blue)!important;
  border-color:var(--btn-blue)!important
}
html:not([data-theme="light"]) .mh-btn.mh-ghost,
html:not([data-theme="light"]) button.mh-btn.mh-ghost,
html:not([data-theme="light"]) .btn-gray,
html:not([data-theme="light"]) .btn-default{
  background:#20304c!important;
  border-color:#31476b!important;
  color:#c3cfe2!important
}
html:not([data-theme="light"]) .mh-btn.mh-ghost:hover,
html:not([data-theme="light"]) .btn-gray:hover{
  background:#2a3d5e!important;
  color:#a9c4ff!important;
  border-color:#4d77c4!important
}

/* ---------- LIGHT THEME ---------- */
html[data-theme="light"] .mh-btn,
html[data-theme="light"] button.mh-btn,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-blue{
  background:var(--btn-blue)!important;
  border-color:var(--btn-blue)!important
}
html[data-theme="light"] .mh-btn.mh-ghost,
html[data-theme="light"] button.mh-btn.mh-ghost{
  background:#ffffff!important;
  border-color:var(--btn-grey-border)!important;
  color:var(--btn-text)!important
}

/* ---------- accent used across the site (softened) ---------- */
.mh-nav a.is-active,
.mh-nav a.is-current{
  background:var(--btn-blue)!important;
  border-color:var(--btn-blue)!important;
  box-shadow:0 3px 10px var(--btn-shadow)!important
}

/* active category pill */
.map-type-btn.is-active{
  background:var(--btn-blue)!important;
  border-color:var(--btn-blue)!important;
  box-shadow:0 6px 16px var(--btn-shadow)!important
}
.map-type-btn.is-active .map-prefix{background:rgba(255,255,255,.22)!important}

/* swatches / filters */
.mh-filters button[aria-pressed="true"]{
  background:var(--btn-blue)!important;
  border-color:var(--btn-blue)!important;
  color:#ffffff!important
}

@media(max-width:680px){
  .mh-btn,button.mh-btn,.btn-primary,.btn-success{font-size:12px!important}
}

/* ============================================================
   PATCH 61 — unified soft button palette (high specificity)
   targets: .btn.btn-short.btn-error / btn-success / btn-info
   ============================================================ */

/* ---- ERROR / red: Выключить ---- */
.btn.btn-short.btn-error,
.btn-short.btn-error,
.btn.btn-error,
main.side_left .btn.btn-error,
.block_content .btn.btn-error{
  background:#b8555f!important;
  background-image:none!important;
  background-color:#b8555f!important;
  color:#ffffff!important;
  border:1px solid #b8555f!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(184,85,95,.22)!important;
  text-shadow:none!important;
  font:600 12px Rubik,Arial,sans-serif!important
}
.btn.btn-short.btn-error:hover,
.btn-short.btn-error:hover,
.btn.btn-error:hover{
  background:#9c454f!important;
  background-color:#9c454f!important;
  border-color:#9c454f!important;
  color:#ffffff!important
}

/* ---- SUCCESS / green: Перезапустить, Включить ---- */
.btn.btn-short.btn-success,
.btn-short.btn-success,
.btn.btn-success,
.btn.btn-short.btn-green,
.btn-short.btn-green,
.btn.btn-green,
main.side_left .btn.btn-success,
.block_content .btn.btn-success{
  background:#3d9370!important;
  background-image:none!important;
  background-color:#3d9370!important;
  color:#ffffff!important;
  border:1px solid #3d9370!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(61,147,112,.22)!important;
  text-shadow:none!important;
  font:600 12px Rubik,Arial,sans-serif!important
}
.btn.btn-short.btn-success:hover,
.btn-short.btn-success:hover,
.btn.btn-success:hover{
  background:#327a5c!important;
  background-color:#327a5c!important;
  border-color:#327a5c!important;
  color:#ffffff!important
}

/* ---- INFO / cyan-blue: Поменять карту ---- */
.btn.btn-short.btn-info,
.btn-short.btn-info,
.btn.btn-info,
main.side_left .btn.btn-info,
.block_content .btn.btn-info{
  background:#4c8496!important;
  background-image:none!important;
  background-color:#4c8496!important;
  color:#ffffff!important;
  border:1px solid #4c8496!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(76,132,150,.22)!important;
  text-shadow:none!important;
  font:600 12px Rubik,Arial,sans-serif!important
}
.btn.btn-short.btn-info:hover,
.btn-short.btn-info:hover,
.btn.btn-info:hover{
  background:#3f6d7d!important;
  background-color:#3f6d7d!important;
  border-color:#3f6d7d!important;
  color:#ffffff!important
}

/* ---- PRIMARY / blue: Заказать, Войти ---- */
.btn.btn-short.btn-primary,
.btn-short.btn-primary,
.btn.btn-primary,
.btn.btn-short.btn-blue,
.btn-short.btn-blue,
.btn.btn-blue,
main.side_left .btn.btn-primary{
  background:#4a74b8!important;
  background-image:none!important;
  background-color:#4a74b8!important;
  color:#ffffff!important;
  border:1px solid #4a74b8!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(74,116,184,.22)!important;
  text-shadow:none!important
}
.btn.btn-short.btn-primary:hover,
.btn.btn-primary:hover,
.btn.btn-blue:hover{
  background:#3c5f9a!important;
  background-color:#3c5f9a!important;
  border-color:#3c5f9a!important
}

/* ---- WARNING / soft amber ---- */
.btn.btn-warning,
.btn-short.btn-warning{
  background:#c69a45!important;
  background-image:none!important;
  color:#ffffff!important;
  border:1px solid #c69a45!important;
  border-radius:11px!important;
  text-shadow:none!important
}

/* ---- DEFAULT / grey ---- */
.btn.btn-gray,
.btn.btn-short.btn-gray,
.btn-short.btn-gray,
.btn.btn-default{
  background:#eef2f8!important;
  background-image:none!important;
  background-color:#eef2f8!important;
  color:#26374f!important;
  border:1px solid #ccd7e5!important;
  border-radius:11px!important;
  text-shadow:none!important
}
.btn.btn-gray:hover,
.btn.btn-short.btn-gray:hover{
  background:#e3eaf5!important;
  color:#2c4c85!important;
  border-color:#a9bdd6!important
}

/* ---- DARK THEME variants ---- */
html:not([data-theme="light"]) .btn.btn-short.btn-error,
html:not([data-theme="light"]) .btn.btn-error{
  background:#9c454f!important;background-color:#9c454f!important;border-color:#9c454f!important
}
html:not([data-theme="light"]) .btn.btn-short.btn-success,
html:not([data-theme="light"]) .btn.btn-success{
  background:#327a5c!important;background-color:#327a5c!important;border-color:#327a5c!important
}
html:not([data-theme="light"]) .btn.btn-short.btn-info,
html:not([data-theme="light"]) .btn.btn-info{
  background:#3f6d7d!important;background-color:#3f6d7d!important;border-color:#3f6d7d!important
}
html:not([data-theme="light"]) .btn.btn-short.btn-primary,
html:not([data-theme="light"]) .btn.btn-primary{
  background:#3c5f9a!important;background-color:#3c5f9a!important;border-color:#3c5f9a!important
}
html:not([data-theme="light"]) .btn.btn-gray,
html:not([data-theme="light"]) .btn.btn-short.btn-gray{
  background:#20304c!important;background-color:#20304c!important;
  border-color:#31476b!important;color:#c3cfe2!important
}
html:not([data-theme="light"]) .btn.btn-gray:hover{background:#2a3d5e!important;color:#a9c4ff!important}

/* ---- LIGHT THEME variants ---- */
html[data-theme="light"] .btn.btn-gray,
html[data-theme="light"] .btn.btn-short.btn-gray{
  background:#ffffff!important;background-color:#ffffff!important;
  border-color:#ccd7e5!important;color:#26374f!important
}

/* ---- generic button base: rounded + soft ---- */
.btn,.btn-short,.btn-max,.btn-none,.btn-primary,.btn-success,.btn-info,
.btn-error,.btn-danger,.btn-gray,.btn-blue,.btn-green{
  border-radius:11px!important;
  text-shadow:none!important;
  transition:.2s!important
}

/* ============================================================
   PATCH 62 — soft text + soft regular buttons (green/red kept)
   ============================================================ */

/* ---------- SOFT TEXT PALETTE ---------- */
html,
html[data-theme="light"],
html:not([data-theme="light"]){
  /* dark theme */
}
html:not([data-theme="light"]){
  --text:#c6d1e0;          /* was #e9eef7 — less bright */
  --text-dim:#93a3ba;      /* was #a7b5ca */
  --muted:#71819a;         /* was #7c8da5 */
  --accent:#6d8fc4;        /* was #5b8def — softer */
  --accent2:#5b7cb4;
  --accent-glow:rgba(109,143,196,.22);
}
html[data-theme="light"]{
  --text:#2c3d58;          /* was #12213a — less harsh */
  --text-dim:#4c5f7c;      /* was #3f5372 */
  --muted:#7a8ba6;         /* was #6d81a0 */
  --accent:#4a74b8;        /* was #2563eb — softer */
  --accent2:#3c5f9a;
  --accent-glow:rgba(74,116,184,.18);
}

/* ---------- REGULAR BUTTONS (blue/primary) — soft ---------- */
.mh-btn,
button.mh-btn,
button.mh-btn:not(.mh-ghost),
.mh-auth .mh-actions button.mh-btn:not(.mh-ghost),
.mh-actions button.mh-btn,
.btn-primary,.btn-blue,.btn.btn-primary,.btn.btn-blue,
.block_content input[type="submit"],
.bootbox .modal-footer .btn-primary,
.mh-game-body .mh-btn.mh-block,
.mh-game-body .mh-btn.mh-small.mh-block{
  background:#4a74b8!important;
  background-image:none!important;
  background-color:#4a74b8!important;
  color:#f4f7fc!important;
  border:1px solid #4a74b8!important;
  box-shadow:0 3px 11px rgba(74,116,184,.22)!important;
  text-shadow:none!important
}
.mh-btn:hover,
button.mh-btn:hover,
button.mh-btn:not(.mh-ghost):hover,
.btn-primary:hover,.btn-blue:hover,.btn.btn-primary:hover,
.block_content input[type="submit"]:hover{
  background:#3c5f9a!important;
  background-color:#3c5f9a!important;
  border-color:#3c5f9a!important;
  color:#ffffff!important
}

/* ghost / secondary */
.mh-btn.mh-ghost,
a.mh-btn.mh-ghost,
button.mh-btn.mh-ghost,
.mh-auth .mh-actions button.mh-ghost,
.btn-default,.btn-gray,.btn.btn-gray{
  background:#eef2f8!important;
  background-color:#eef2f8!important;
  color:#3a4d68!important;
  border:1px solid #c9d6e5!important;
  box-shadow:none!important;
  text-shadow:none!important
}
.mh-btn.mh-ghost:hover,
button.mh-btn.mh-ghost:hover,
.btn-gray:hover{
  background:#e2e9f3!important;
  color:#2c4c85!important;
  border-color:#a9bdd6!important
}

/* dark theme ghost */
html:not([data-theme="light"]) .mh-btn.mh-ghost,
html:not([data-theme="light"]) button.mh-btn.mh-ghost,
html:not([data-theme="light"]) .btn-gray,
html:not([data-theme="light"]) .btn.btn-gray{
  background:#223351!important;
  background-color:#223351!important;
  border-color:#334a6e!important;
  color:#b7c4d8!important
}
html:not([data-theme="light"]) .mh-btn.mh-ghost:hover,
html:not([data-theme="light"]) .btn-gray:hover{
  background:#2c4066!important;
  color:#a2bdf0!important;
  border-color:#4a6ea8!important
}

/* dark theme primary */
html:not([data-theme="light"]) .mh-btn,
html:not([data-theme="light"]) button.mh-btn,
html:not([data-theme="light"]) .btn-primary,
html:not([data-theme="light"]) .btn-blue{
  background:#4a6fa5!important;
  background-color:#4a6fa5!important;
  border-color:#4a6fa5!important;
  color:#eef3fa!important
}
html:not([data-theme="light"]) .mh-btn:hover,
html:not([data-theme="light"]) .btn-primary:hover{
  background:#3d5d8b!important;
  background-color:#3d5d8b!important;
  border-color:#3d5d8b!important
}

/* ---------- TEXT on cards / blocks — soft ---------- */
.block_content,.block_content td,.block_content p,.block_content li,
.mh-item p,.mh-guide-body,.mh-review-text,.mh-why-card p,
.help_data,.mh-news-full-body{
  color:var(--text-dim)!important
}
h1,h2,h3,h4,h5,h6,
.mh-item h3,.mh-guide-title,.mh-why-card h3,.mh-review-name,
.hblock_content,.block_content b,.block_content strong{
  color:var(--text)!important
}

/* ---------- ACTIVE states (nav / filters) — soft ---------- */
.mh-nav a.is-active,
.mh-nav a.is-current{
  background:#4a74b8!important;
  border-color:#4a74b8!important;
  color:#ffffff!important;
  box-shadow:0 3px 10px rgba(74,116,184,.22)!important
}
html:not([data-theme="light"]) .mh-nav a.is-active,
html:not([data-theme="light"]) .mh-nav a.is-current{
  background:#4a6fa5!important;border-color:#4a6fa5!important
}

.map-type-btn.is-active{
  background:#4a74b8!important;
  border-color:#4a74b8!important;
  color:#ffffff!important;
  box-shadow:0 5px 14px rgba(74,116,184,.22)!important
}
.map-type-btn.is-active .map-prefix{background:rgba(255,255,255,.22)!important;color:#ffffff!important}

.mh-filters button[aria-pressed="true"]{
  background:#4a74b8!important;
  border-color:#4a74b8!important;
  color:#ffffff!important
}
html:not([data-theme="light"]) .mh-filters button[aria-pressed="true"]{
  background:#4a6fa5!important;border-color:#4a6fa5!important
}

/* ---------- ACCENT TEXT / links — soft ---------- */
a{color:var(--accent)!important}
.mh-item .mh-item-link,.mh-review-foot i,.mh-eyebrow{color:var(--accent)!important}
.mh-design-credit b{color:var(--accent)!important}

/* ============================================================
   PATCH 63 — server page buttons (double-class) + NO hover bg
   markup: .btn.btn-blue.btn-info / .btn.btn-gray.btn-info / .btn.btn-green.btn-success
   ============================================================ */

/* ---------- Купить порт (btn-blue + btn-info) ---------- */
.btn.btn-blue.btn-info,
.btn-blue.btn-info,
.hblock_content .btn.btn-blue.btn-info{
  background:#4a74b8!important;
  background-image:none!important;
  background-color:#4a74b8!important;
  color:#f4f7fc!important;
  border:1px solid #4a74b8!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(74,116,184,.22)!important;
  text-shadow:none!important
}
.btn.btn-blue.btn-info:hover,
.btn-blue.btn-info:hover{
  background:#4a74b8!important;
  background-color:#4a74b8!important;
  border-color:#3c5f9a!important;
  color:#ffffff!important;
  box-shadow:0 5px 14px rgba(74,116,184,.28)!important
}

/* ---------- Купить IP (btn-gray + btn-info) ---------- */
.btn.btn-gray.btn-info,
.btn-gray.btn-info,
.hblock_content .btn.btn-gray.btn-info{
  background:#eef2f8!important;
  background-image:none!important;
  background-color:#eef2f8!important;
  color:#3a4d68!important;
  border:1px solid #c9d6e5!important;
  border-radius:11px!important;
  box-shadow:none!important;
  text-shadow:none!important
}
.btn.btn-gray.btn-info:hover,
.btn-gray.btn-info:hover{
  background:#eef2f8!important;
  background-color:#eef2f8!important;
  border-color:#a9bdd6!important;
  color:#2c4c85!important
}

/* ---------- Передать сервер (btn-green + btn-success) ---------- */
.btn.btn-green.btn-success,
.btn-green.btn-success,
.hblock_content .btn.btn-green.btn-success{
  background:#3d9370!important;
  background-image:none!important;
  background-color:#3d9370!important;
  color:#ffffff!important;
  border:1px solid #3d9370!important;
  border-radius:11px!important;
  box-shadow:0 3px 11px rgba(61,147,112,.22)!important;
  text-shadow:none!important
}
.btn.btn-green.btn-success:hover,
.btn-green.btn-success:hover{
  background:#3d9370!important;
  background-color:#3d9370!important;
  border-color:#327a5c!important;
  color:#ffffff!important
}

/* ---------- DARK THEME for these three ---------- */
html:not([data-theme="light"]) .btn.btn-blue.btn-info{
  background:#4a6fa5!important;background-color:#4a6fa5!important;
  border-color:#4a6fa5!important;color:#eef3fa!important
}
html:not([data-theme="light"]) .btn.btn-blue.btn-info:hover{
  background:#4a6fa5!important;background-color:#4a6fa5!important
}
html:not([data-theme="light"]) .btn.btn-gray.btn-info{
  background:#223351!important;background-color:#223351!important;
  border-color:#334a6e!important;color:#b7c4d8!important
}
html:not([data-theme="light"]) .btn.btn-gray.btn-info:hover{
  background:#223351!important;background-color:#223351!important;
  border-color:#4a6ea8!important;color:#a2bdf0!important
}
html:not([data-theme="light"]) .btn.btn-green.btn-success{
  background:#327a5c!important;background-color:#327a5c!important;
  border-color:#327a5c!important
}
html:not([data-theme="light"]) .btn.btn-green.btn-success:hover{
  background:#327a5c!important;background-color:#327a5c!important
}

/* ---------- REMOVE hover backgrounds from these (flat hover) ---------- */
.btn.btn-blue.btn-info:hover,
.btn.btn-gray.btn-info:hover,
.btn.btn-green.btn-success:hover,
.hblock_content .btn:hover{
  background-image:none!important;
  transform:none!important
}

/* ---------- generic: buttons in headings keep soft look ---------- */
.hblock_content .btn,
.hblock_content .btn-right,
.hblock_content .right{
  border-radius:11px!important;
  font:600 12px Rubik,Arial,sans-serif!important;
  text-shadow:none!important;
  margin-top:8px!important
}

/* ============================================================
   PATCH 64 — "Перейти" buttons in the server settings list
   markup: <a href="..."><div class="btn btn-short">Перейти</div></a>
   ============================================================ */

/* the buttons inside the settings table */
.block_content table.table_pad a .btn-short,
.block_content table a > .btn-short,
main.side_left table.table_pad a .btn.btn-short{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:8px 18px!important;
  border:1px solid #c9d6e5!important;
  border-radius:10px!important;
  background:#eef2f8!important;
  background-color:#eef2f8!important;
  background-image:none!important;
  color:#3a4d68!important;
  font:600 11.5px Rubik,Arial,sans-serif!important;
  text-shadow:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:.2s!important;
  white-space:nowrap!important;
  min-height:36px!important
}
.block_content table.table_pad a .btn-short:hover,
.block_content table a > .btn-short:hover,
main.side_left table.table_pad a .btn.btn-short:hover{
  background:#e2e9f3!important;
  background-color:#e2e9f3!important;
  border-color:#a9bdd6!important;
  color:#2c4c85!important;
  transform:none!important;
  box-shadow:none!important
}

/* dark theme */
html:not([data-theme="light"]) .block_content table.table_pad a .btn-short,
html:not([data-theme="light"]) .block_content table a > .btn-short,
html:not([data-theme="light"]) main.side_left table.table_pad a .btn.btn-short{
  background:#223351!important;
  background-color:#223351!important;
  border-color:#334a6e!important;
  color:#b7c4d8!important
}
html:not([data-theme="light"]) .block_content table.table_pad a .btn-short:hover,
html:not([data-theme="light"]) .block_content table a > .btn-short:hover{
  background:#2c4066!important;
  background-color:#2c4066!important;
  border-color:#4a6ea8!important;
  color:#a2bdf0!important
}

/* the icon+label rows on the left */
.block_content table.table_pad td span{
  margin-right:6px!important;
  filter:saturate(.85)
}
.block_content table.table_pad td{
  color:var(--text)!important;
  font:500 12.5px Rubik,Arial,sans-serif!important;
  padding:11px 13px!important
}

/* rows: subtle hover */
.block_content table.table_pad tr:hover td{
  background:var(--accent-glow)!important
}

@media(max-width:680px){
  .block_content table.table_pad a .btn-short{padding:7px 13px!important;font-size:11px!important}
}

/* ============================================================
   PATCH 65 — settings rows: no row-wide hover, only on the button
   ============================================================ */

/* ---- kill the row highlight that looks like a big button ---- */
.block_content table.table_pad tr:hover td,
.block_content table tr:hover td,
main.side_left table.table_pad tr:hover td,
table.table_pad tr:hover td,
tr:hover td{
  background:transparent!important;
  box-shadow:none!important;
  border-color:inherit!important
}

/* ---- the label cell: plain, no hover ---- */
.block_content table.table_pad td{
  transition:none!important;
  cursor:default!important
}

/* ---- hover ONLY on the action button ---- */
.block_content table.table_pad a .btn-short,
.block_content table.table_pad .btn.btn-short,
.block_content table.table_pad button.btn-short{
  transition:background .18s,border-color .18s,color .18s!important
}
.block_content table.table_pad a .btn-short:hover,
.block_content table.table_pad .btn.btn-short:hover,
.block_content table.table_pad button.btn-short:hover{
  background:#e2e9f3!important;
  border-color:#a9bdd6!important;
  color:#2c4c85!important;
  box-shadow:none!important;
  transform:none!important
}
html:not([data-theme="light"]) .block_content table.table_pad a .btn-short:hover,
html:not([data-theme="light"]) .block_content table.table_pad .btn.btn-short:hover{
  background:#2c4066!important;border-color:#4a6ea8!important;color:#a2bdf0!important
}

/* ---- if the whole row is a link, keep only the button reacting ---- */
.block_content table.table_pad tr a{display:inline-flex!important}
.block_content table.table_pad tr a:hover{
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important
}

/* ---- general safety: any row hover -> just subtle text, no shadow ---- */
table tr:hover,
.table_pad tr:hover{
  box-shadow:none!important;
  transform:none!important
}

/* ============================================================
   PATCH 66 — FINAL: kill ALL row hover + zebra on settings tables
   ============================================================ */

/* --- every possible row hover -> NOTHING --- */
tr:hover td,
tr:hover,
table tr:hover td,
table tr:hover,
.table_pad tr:hover td,
.table_pad tr:hover,
.block_content tr:hover,
.block_content table tr:hover,
.block_content table.table_pad tr:hover td,
.block_content.filetp table tr:hover td,
.filetp table tr:hover td,
.mh-table tr:hover td,
main.side_left table.table_pad tr:hover td,
main.side_left table tr:hover td{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:none!important;
  border-color:inherit!important;
  transform:none!important
}

/* --- kill zebra striping (thin white bands) --- */
table tr:nth-child(even) td,
table tr:nth-child(even),
.table_pad tr:nth-child(even) td,
html[data-theme="light"] table tr:nth-child(even) td,
html[data-theme="light"] table tr:nth-child(even),
html[data-theme="light"] .table_pad tr:nth-child(even) td,
html[data-theme="light"] .block_content table tr:nth-child(even) td{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important
}

/* --- hover lives ONLY on buttons/links --- */
.block_content .btn:hover,
.block_content .btn-short:hover,
.block_content button:hover,
.block_content a.btn:hover{
  box-shadow:none!important;
  transform:none!important
}

/* --- links inside rows: no row-sized hit area --- */
.block_content table.table_pad td a{
  display:inline-flex!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important
}
.block_content table.table_pad td a:hover{
  background:transparent!important;
  box-shadow:none!important
}

/* ============================================================
   PATCH 67 — the thin white strip = border on row hover
   ============================================================ */

/* --- rows: kill EVERYTHING (bg + border + outline + shadow) --- */
tr,
table tr,
.table_pad tr,
.block_content table.table_pad tr{
  transition:none!important
}
tr:hover,
table tr:hover,
.table_pad tr:hover,
.block_content table.table_pad tr:hover{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  outline-offset:0!important;
  transform:none!important
}
tr:hover td,
tr:hover th,
table tr:hover td,
table tr:hover th,
.table_pad tr:hover td,
.table_pad tr:hover th,
.block_content table.table_pad tr:hover td,
.block_content table.table_pad tr:hover th,
.block_content tr:hover td,
.block_content table tr:hover td{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  border-color:var(--border)!important;
  border-top-color:transparent!important;
  border-bottom-color:var(--border)!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
  transform:none!important
}

/* --- zebra: absolutely transparent --- */
table tr:nth-child(even) td,
table tr:nth-child(even),
.table_pad tr:nth-child(even) td,
.table_pad tr:nth-child(odd) td,
html[data-theme="light"] table tr:nth-child(even) td,
html[data-theme="light"] table tr:nth-child(even),
html[data-theme="light"] .table_pad tr:nth-child(even) td,
.block_content table.table_pad tr:nth-child(even) td,
.block_content table.table_pad tr:nth-child(odd) td{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important
}

/* --- cell borders: only subtle horizontal lines, never white bars --- */
table.table_pad td,
.block_content table.table_pad td{
  border-color:var(--border)!important;
  border-top-color:transparent!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important
}

/* --- if it's an anchor-row, no row-sized hover box --- */
.block_content table.table_pad tr a:hover{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  outline:0!important
}

/* ============================================================
   PATCH 68 — table row separators: keep them subtle, never white
   ============================================================ */

/* ---- all cell borders: muted, invisible on hover ---- */
table td,table th,
table.table_pad td,table.table_pad th,
.block_content table.table_pad td,
.block_content table td,
.block_content table th{
  border-color:var(--border)!important;
  border-bottom-color:var(--border)!important;
  border-top-color:transparent!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important
}

/* ---- on hover: separator must NOT brighten ---- */
tr:hover td,tr:hover th,
table tr:hover td,
.table_pad tr:hover td,
.block_content table.table_pad tr:hover td{
  border-color:var(--border)!important;
  border-bottom-color:var(--border)!important;
  border-top-color:transparent!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
  box-shadow:none!important;
  outline:0!important
}

/* ---- light theme: separator is soft grey, not white ---- */
html[data-theme="light"] table td,
html[data-theme="light"] table.table_pad td,
html[data-theme="light"] .block_content table.table_pad td{
  border-bottom-color:#e4edf7!important
}
html[data-theme="light"] tr:hover td,
html[data-theme="light"] table tr:hover td,
html[data-theme="light"] .block_content table.table_pad tr:hover td{
  border-bottom-color:#e4edf7!important
}

/* ---- dark theme: separator is deep blue-grey ---- */
html:not([data-theme="light"]) table td,
html:not([data-theme="light"]) table.table_pad td,
html:not([data-theme="light"]) .block_content table.table_pad td{
  border-bottom-color:rgba(125,165,225,.18)!important
}
html:not([data-theme="light"]) tr:hover td,
html:not([data-theme="light"]) .block_content table.table_pad tr:hover td{
  border-bottom-color:rgba(125,165,225,.18)!important
}

/* ---- last row: no trailing line ---- */
table tr:last-child td,
.table_pad tr:last-child td,
.block_content table.table_pad tr:last-child td{
  border-bottom-color:transparent!important
}

/* ============================================================
   PATCH 75 — MAIN PAGE DECORATIONS
   1) Stats bar (animated counters)
   2) Guarantee badges strip
   3) CTA banner before footer
   ============================================================ */

/* ===== 1. STATS BAR ===== */
.mh-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  background:var(--border,#1c2b45);border:1px solid var(--border,#1c2b45);
  border-radius:16px;overflow:hidden;margin:22px 0
}
.mh-stat{
  background:var(--card,#0e1626);padding:22px 18px;text-align:center;
  position:relative;transition:.25s
}
.mh-stat:hover{background:var(--card2,#131e33)}
.mh-stat-num{
  font:800 30px Rubik,Arial,sans-serif;letter-spacing:-.6px;
  background:linear-gradient(135deg,var(--accent,#6d8fc4),var(--cyan,#4ec7e0));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  line-height:1.1;display:flex;align-items:baseline;justify-content:center;gap:3px
}
.mh-stat-num .mh-stat-suffix{font-size:18px;font-weight:700;-webkit-text-fill-color:var(--accent,#6d8fc4)}
.mh-stat-label{
  font:500 11px Rubik,Arial,sans-serif;text-transform:uppercase;
  letter-spacing:.8px;color:var(--muted,#5a708e);margin-top:7px
}
.mh-stat-ico{
  width:34px;height:34px;border-radius:10px;margin:0 auto 11px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(109,143,196,.14);color:var(--accent,#6d8fc4)
}
.mh-stat-ico svg{width:16px;height:16px}

/* ===== 2. GUARANTEES STRIP ===== */
.mh-guarantee{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:11px;
  margin:22px 0
}
.mh-guarantee-item{
  display:flex;align-items:center;gap:11px;padding:14px 15px;
  background:linear-gradient(135deg,rgba(47,209,134,.10),rgba(78,199,224,.06));
  border:1px solid rgba(47,209,134,.22);border-radius:13px;transition:.22s
}
.mh-guarantee-item:hover{
  transform:translateY(-2px);border-color:rgba(47,209,134,.4);
  box-shadow:0 10px 28px -12px rgba(47,209,134,.35)
}
.mh-guarantee-ico{
  width:32px;height:32px;border-radius:9px;flex:none;
  background:rgba(47,209,134,.18);color:var(--ok,#2fd186);
  display:flex;align-items:center;justify-content:center
}
.mh-guarantee-ico svg{width:15px;height:15px}
.mh-guarantee-txt{flex:1;min-width:0}
.mh-guarantee-title{font:700 12px Rubik,Arial,sans-serif;color:var(--text,#c6d1e0);margin:0 0 3px;letter-spacing:.1px}
.mh-guarantee-sub{font:400 11px Rubik,Arial,sans-serif;color:var(--muted,#5a708e);margin:0;line-height:1.45}

/* ===== 3. CTA BANNER ===== */
.mh-cta{
  position:relative;overflow:hidden;border-radius:18px;margin:24px 0;
  padding:34px 32px;
  background:linear-gradient(135deg,var(--accent,#6d8fc4) 0%,var(--accent2,#4c8496) 55%,var(--cyan,#4ec7e0) 100%);
  color:#fff;display:flex;align-items:center;gap:26px;flex-wrap:wrap
}
.mh-cta:after{
  content:'';position:absolute;right:-40px;top:-40px;width:200px;height:200px;
  background:rgba(255,255,255,.1);border-radius:50%
}
.mh-cta:before{
  content:'';position:absolute;left:-30px;bottom:-60px;width:160px;height:160px;
  background:rgba(255,255,255,.08);border-radius:50%
}
.mh-cta-copy{flex:1;min-width:260px;position:relative;z-index:1}
.mh-cta-eyebrow{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px;border-radius:20px;background:rgba(255,255,255,.18);
  font:600 10.5px Rubik,Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase;
  margin-bottom:11px;backdrop-filter:blur(6px)
}
.mh-cta h2{font:800 24px Rubik,Arial,sans-serif;letter-spacing:-.3px;margin:0 0 8px;line-height:1.25}
.mh-cta p{font:400 13.5px Rubik,Arial,sans-serif;opacity:.94;margin:0;line-height:1.65}
.mh-cta-actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}
.mh-cta-btn{
  display:inline-flex;align-items:center;gap:8px;padding:13px 22px;
  border-radius:11px;font:700 13.5px Rubik,Arial,sans-serif;
  text-decoration:none;transition:.2s;white-space:nowrap
}
.mh-cta-btn-primary{
  background:#fff;color:#1b2840;box-shadow:0 10px 28px -10px rgba(0,0,0,.3)
}
.mh-cta-btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 32px -10px rgba(0,0,0,.35)}
.mh-cta-btn-ghost{
  background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(6px)
}
.mh-cta-btn-ghost:hover{background:rgba(255,255,255,.24);transform:translateY(-2px)}
.mh-cta-btn svg{width:15px;height:15px}

/* ===== responsive ===== */
@media(max-width:760px){
  .mh-stats{grid-template-columns:repeat(2,1fr)}
  .mh-stat-num{font-size:24px}
  .mh-cta{padding:26px 22px;gap:18px}
  .mh-cta h2{font-size:20px}
}
@media(max-width:460px){
  .mh-stats{grid-template-columns:1fr 1fr}
  .mh-stat{padding:16px 12px}
  .mh-stat-num{font-size:22px}
}

/* ===== light theme ===== */
html[data-theme="light"] .mh-stat{background:#ffffff}
html[data-theme="light"] .mh-stat:hover{background:#f7fafd}
html[data-theme="light"] .mh-guarantee-item{
  background:linear-gradient(135deg,#eafaf1,#e7f6fa);border-color:#bfe8d2
}
html[data-theme="light"] .mh-cta-btn-primary{background:#1b2840;color:#ffffff}
html[data-theme="light"] .mh-cta-btn-ghost{
  background:rgba(255,255,255,.18);color:#ffffff;border-color:rgba(255,255,255,.4)
}
