/* NEMAZING V53 — inventory + client only */
:root{--v53-purple:#6d5dfc;--v53-purple-2:#806fff;--v53-soft:#f4f2ff;--v53-text:#191b26;--v53-muted:#7b8193;--v53-line:#e3e6ef;--v53-bg:#f5f6fa;--v53-card:#fff}

/* ===== INVENTORY: remove legacy fixed-screen compression ===== */
html body.inventory-page{
  height:auto!important;
  min-height:100vh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  background:var(--v53-bg)!important;
}
html body.inventory-page .inventory-main,
html body.inventory-page .inventory-v2-main{
  height:auto!important;
  min-height:calc(100vh - 90px)!important;
  padding:30px 0 76px!important;
  overflow:visible!important;
}
html body.inventory-page .inventory-main>.container,
html body.inventory-page .inventory-main>.container.nm19-inventory-shell,
html body.inventory-page .inventory-v2-main>.container{
  width:min(1220px,calc(100% - 32px))!important;
  height:auto!important;
  min-height:0!important;
  display:block!important;
  overflow:visible!important;
}
html body.inventory-page .nm19-inventory-content,
html body.inventory-page .nm31-inventory-content{
  height:auto!important;
  min-height:0!important;
  display:block!important;
  overflow:visible!important;
}
html body.inventory-page .inventory-v2-header{
  margin-bottom:18px!important;
  align-items:center!important;
}
html body.inventory-page .inventory-v2-header h1{
  font-size:clamp(30px,4vw,50px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
}
html body.inventory-page .inventory-v2-total{
  min-width:150px!important;
  padding:16px 20px!important;
  border:1px solid var(--v53-line)!important;
  border-radius:20px!important;
  background:#fff!important;
}
html body.inventory-page .inventory-v2-toolbar,
html body.inventory-page .inventory-topbar{
  min-height:0!important;
  margin:0 0 20px!important;
  padding:10px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid var(--v53-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin;
}
html body.inventory-page .inventory-category-tabs,
html body.inventory-page .inventory-filters{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  overflow:visible!important;
  min-width:max-content!important;
}
html body.inventory-page .inventory-filter{
  flex:0 0 auto!important;
  padding:10px 13px!important;
  border:1px solid var(--v53-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#606779!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:750!important;
}
html body.inventory-page .inventory-filter.active{
  border-color:#d8d3ff!important;
  background:var(--v53-soft)!important;
  color:var(--v53-purple)!important;
  box-shadow:0 6px 18px rgba(109,93,252,.08)!important;
}
html body.inventory-page .inventory-section-heading,
html body.inventory-page .inventory-v2-section-heading{
  margin:0 0 12px!important;
  padding:0!important;
}
html body.inventory-page .inventory-section-heading h2,
html body.inventory-page .inventory-v2-section-heading h2{
  font-size:16px!important;
  line-height:1.2!important;
}
html body.inventory-page .inventory-grid,
html body.inventory-page .inventory-plates-grid,
html body.inventory-page .inventory-plate-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:none!important;
  grid-auto-flow:row!important;
  grid-auto-rows:auto!important;
  align-items:stretch!important;
  gap:14px!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  overflow:visible!important;
  position:static!important;
  transform:none!important;
}
html body.inventory-page .inventory-grid>*,
html body.inventory-page .inventory-plates-grid>*,
html body.inventory-page .inventory-plate-grid>*{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  overflow:visible!important;
}
html body.inventory-page .inventory-card,
html body.inventory-page .inventory-plate-card{
  height:auto!important;
  min-height:270px!important;
  display:flex!important;
  flex-direction:column!important;
  padding:12px!important;
  overflow:hidden!important;
  border:1px solid var(--v53-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(28,31,52,.045)!important;
  transform:none!important;
}
html body.inventory-page .inventory-card:hover,
html body.inventory-page .inventory-plate-card:hover{
  transform:translateY(-2px)!important;
  border-color:#d6d0ff!important;
  box-shadow:0 16px 36px rgba(54,46,110,.08)!important;
}
html body.inventory-page .inventory-card-image{
  flex:0 0 150px!important;
  height:150px!important;
  min-height:150px!important;
  padding:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,#f7f8fb,#f1f2f7)!important;
}
html body.inventory-page .inventory-card-image img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:0!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  background:transparent!important;
}
html body.inventory-page .inventory-card-copy{
  flex:1!important;
  min-height:0!important;
  padding:12px 2px 0!important;
}
html body.inventory-page .inventory-card-copy h3{
  margin:0!important;
  min-height:0!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:850!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block!important;
}
html body.inventory-page .inventory-card-copy p{
  margin:5px 0 0!important;
  font-size:11px!important;
  line-height:1.35!important;
  color:var(--v53-muted)!important;
}
html body.inventory-page .inventory-card-date{
  display:block!important;
  margin-top:8px!important;
  padding:0!important;
  font-size:9px!important;
  color:#9aa0ae!important;
}
html body.inventory-page .inventory-card-bottom{
  margin-top:10px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  font-size:10px!important;
}
html body.inventory-page .inventory-card-bottom>span:first-child{display:none!important}
html body.inventory-page .inventory-qty{
  width:auto!important;
  min-width:38px!important;
  min-height:30px!important;
  margin-left:auto!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  background:var(--v53-soft)!important;
  color:var(--v53-purple)!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.2!important;
}
html body.inventory-page .inventory-variants,
html body.inventory-page .inventory-choice{display:none!important}

/* Plates are allowed to breathe, not squeezed into legacy two rows. */
html body.inventory-page .inventory-plate-card{
  min-height:250px!important;
  gap:10px!important;
  padding:14px!important;
}
html body.inventory-page .inventory-plate-card-head{
  margin:0!important;
  min-height:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  font-size:11px!important;
}
html body.inventory-page .inventory-plate-country{font-size:11px!important;font-weight:850!important}
html body.inventory-page .inventory-plate-status{
  padding:6px 8px!important;
  border-radius:999px!important;
  background:var(--v53-soft)!important;
  color:var(--v53-purple)!important;
  font-size:10px!important;
  font-weight:800!important;
}
html body.inventory-page .inventory-plate-face{
  width:100%!important;
  max-width:100%!important;
  min-height:90px!important;
  margin:4px 0!important;
  transform:none!important;
  transform-origin:center!important;
}
html body.inventory-page .inventory-plate-copy{margin-top:auto!important;padding-top:4px!important}
html body.inventory-page .inventory-plate-copy h3{margin:0!important;font-size:13px!important;line-height:1.2!important}
html body.inventory-page .inventory-plate-copy p{margin:5px 0 0!important;font-size:9px!important;color:#969cab!important}
html body.inventory-page .inventory-pager{
  min-height:0!important;
  margin:24px 0 0!important;
  padding:0!important;
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
}
html body.inventory-page .site-footer{display:block!important}

/* ===== PLAY / CLIENT ===== */
body.client-page-v2{background:var(--v53-bg)!important;color:var(--v53-text)!important}
body.client-page-v2 .nm53-client-main{padding:34px 0 82px!important}
.nm53-client-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}
.nm53-client-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);
  gap:26px;
  padding:38px;
  border:1px solid var(--v53-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 50px rgba(36,39,66,.055);
}
.nm53-client-hero:before{content:"";position:absolute;right:-110px;top:-150px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(109,93,252,.18),rgba(109,93,252,0) 70%);pointer-events:none}
.nm53-client-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--v53-purple);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.nm53-client-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#28c878;box-shadow:0 0 0 5px rgba(40,200,120,.12)}
.nm53-client-hero h1{max-width:690px;margin:0;font-size:clamp(36px,5vw,62px);line-height:.98;letter-spacing:-.055em;color:var(--v53-text)}
.nm53-client-hero p{max-width:680px;margin:18px 0 0;color:#707789;font-size:15px;line-height:1.7}
.nm53-client-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.nm53-client-actions .btn{min-height:48px;padding:0 20px;border-radius:14px;font-size:13px;font-weight:850}
.nm53-client-actions .btn-primary{background:linear-gradient(135deg,var(--v53-purple),var(--v53-purple-2))!important;border-color:transparent!important;color:#fff!important;box-shadow:0 12px 28px rgba(109,93,252,.22)!important}
.nm53-client-mini{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.nm53-client-mini span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--v53-line);border-radius:999px;background:#fafaff;color:#62697a;font-size:10px;font-weight:750}
.nm53-client-mini i{width:6px;height:6px;border-radius:50%;background:#28c878}
.nm53-launcher-panel{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:24px;border:1px solid #dedaff;border-radius:22px;background:linear-gradient(145deg,#f8f7ff,#f1efff)}
.nm53-launcher-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.nm53-launcher-logo{display:flex;align-items:center;gap:11px}.nm53-launcher-logo b{font-size:14px}.nm53-launcher-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fff;color:var(--v53-purple);box-shadow:0 8px 22px rgba(70,58,150,.10);font-size:22px;font-weight:900}
.nm53-launcher-status{padding:7px 9px;border-radius:999px;background:#e8f9ef;color:#179554;font-size:9px;font-weight:900}
.nm53-launcher-progress{padding:18px;border-radius:18px;background:#fff;border:1px solid rgba(109,93,252,.12)}
.nm53-launcher-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;font-size:11px;color:#747b8c}.nm53-launcher-progress-head strong{color:var(--v53-text);font-size:12px}.nm53-launcher-bar{height:8px;border-radius:999px;background:#eceaf9;overflow:hidden}.nm53-launcher-bar span{display:block;width:72%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--v53-purple),#998cff)}
.nm53-launcher-info{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nm53-launcher-info div{padding:12px;border-radius:14px;background:rgba(255,255,255,.7);border:1px solid rgba(109,93,252,.10)}.nm53-launcher-info small{display:block;color:#9298a7;font-size:9px}.nm53-launcher-info strong{display:block;margin-top:4px;font-size:11px;color:#323645}
.nm53-client-section{margin-top:18px;padding:28px;border:1px solid var(--v53-line);border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(35,38,63,.04)}
.nm53-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.nm53-section-head h2{margin:0;font-size:24px;letter-spacing:-.035em}.nm53-section-head p{max-width:560px;margin:0;color:var(--v53-muted);font-size:11px;line-height:1.55;text-align:right}
.nm53-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nm53-feature{padding:18px;border:1px solid var(--v53-line);border-radius:17px;background:#fafbfe}.nm53-feature-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:13px;border-radius:12px;background:var(--v53-soft);color:var(--v53-purple);font-size:17px;font-weight:900}.nm53-feature strong{display:block;font-size:13px}.nm53-feature p{margin:7px 0 0;color:var(--v53-muted);font-size:10px;line-height:1.55}
.nm53-install-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.nm53-install-step{position:relative;padding:20px;border:1px solid var(--v53-line);border-radius:18px;background:#fff}.nm53-install-step b{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:10px;background:var(--v53-soft);color:var(--v53-purple);font-size:10px}.nm53-install-step strong{display:block;margin-top:16px;font-size:14px}.nm53-install-step p{margin:7px 0 0;color:var(--v53-muted);font-size:10px;line-height:1.55}
.nm53-client-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.nm53-client-card{padding:26px;border:1px solid var(--v53-line);border-radius:22px;background:#fff}.nm53-client-card h2{margin:0;font-size:20px;letter-spacing:-.03em}.nm53-client-card>p{margin:8px 0 18px;color:var(--v53-muted);font-size:11px;line-height:1.6}.nm53-checklist{display:grid;gap:9px}.nm53-check{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:13px;background:#f8f9fc}.nm53-check i{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:#ece9ff;color:var(--v53-purple);font-style:normal;font-size:10px;font-weight:900}.nm53-check div{min-width:0}.nm53-check strong{display:block;font-size:11px}.nm53-check span{display:block;margin-top:3px;color:var(--v53-muted);font-size:9px;line-height:1.45}.nm53-support-action{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

@media(max-width:1050px){html body.inventory-page .inventory-grid,html body.inventory-page .inventory-plates-grid,html body.inventory-page .inventory-plate-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.nm53-client-hero{grid-template-columns:1fr}.nm53-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){html body.inventory-page .inventory-main>.container,html body.inventory-page .inventory-v2-main>.container{width:min(100% - 20px,1220px)!important}html body.inventory-page .inventory-grid,html body.inventory-page .inventory-plates-grid,html body.inventory-page .inventory-plate-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}html body.inventory-page .inventory-card,html body.inventory-page .inventory-plate-card{min-height:230px!important;padding:10px!important}html body.inventory-page .inventory-card-image{height:125px!important;min-height:125px!important;flex-basis:125px!important}.nm53-client-shell{width:min(100% - 20px,1180px)}.nm53-client-hero{padding:24px;border-radius:22px}.nm53-client-section{padding:20px}.nm53-section-head{display:block}.nm53-section-head p{margin-top:6px;text-align:left}.nm53-install-grid,.nm53-client-two{grid-template-columns:1fr}}
@media(max-width:460px){html body.inventory-page .inventory-grid,html body.inventory-page .inventory-plates-grid,html body.inventory-page .inventory-plate-grid{grid-template-columns:1fr!important}.nm53-feature-grid{grid-template-columns:1fr}.nm53-client-actions .btn{width:100%;justify-content:center}.nm53-launcher-info{grid-template-columns:1fr}}
