
:root{
  --nm27-bg:#f5f6fa;
  --nm27-card:#ffffff;
  --nm27-soft:#f3f4f8;
  --nm27-line:#e5e8ef;
  --nm27-text:#181b25;
  --nm27-muted:#727b8b;
  --nm27-purple:#6c5cf6;
  --nm27-purple-2:#8d79ff;
  --nm27-purple-soft:#efedff;
  --nm27-shadow:0 14px 38px rgba(29,37,58,.06);
}
html,html[data-theme="dark"]{color-scheme:light!important;background:var(--nm27-bg)!important}
html body,html[data-theme="dark"] body{background:var(--nm27-bg)!important;color:var(--nm27-text)!important}
html body .theme-toggle,html body #theme-toggle{display:none!important}

/* white header everywhere */
html body .site-header,
html body .site-header.scrolled,
html body .site-header.nm27-white-header{
  background:#fff!important;
  background-image:none!important;
  color:var(--nm27-text)!important;
  border:0!important;
  border-bottom:1px solid var(--nm27-line)!important;
  box-shadow:0 8px 24px rgba(31,37,58,.04)!important;
}
html body .site-header::before,
html body .site-header::after{content:none!important;display:none!important}
html body .site-header .nm23-nav,
html body .site-header .nm22-nav{
  background:#f8f8fb!important;
  border:1px solid var(--nm27-line)!important;
  box-shadow:none!important;
}
html body .site-header .nm23-nav>a,
html body .site-header .nm22-nav>a{color:#6f7788!important}
html body .site-header .nm23-nav>a.active,
html body .site-header .nm22-nav>a.active{
  color:#222633!important;
  background:#fff!important;
  box-shadow:inset 0 -2px 0 var(--nm27-purple)!important;
}
html body .site-header .account-trigger{
  background:#f4f0ff!important;
  border:1px solid #e2dcff!important;
}

/* compact client page */
.nm27-client{padding:34px 0 62px!important}
.nm27-client-card{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:16px;
  background:#fff;
  border:1px solid var(--nm27-line);
  border-radius:26px;
  box-shadow:var(--nm27-shadow);
  overflow:hidden;
}
.nm27-client-main{padding:40px;display:flex;flex-direction:column;justify-content:center}
.nm27-client-tag{
  display:flex;align-items:center;gap:10px;
  color:var(--nm27-purple);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
}
.nm27-client-tag:before{content:"";width:28px;height:2px;background:var(--nm27-purple);border-radius:999px}
.nm27-client-main h1{
  margin:14px 0 0!important;
  font-size:clamp(42px,4.5vw,64px)!important;
  line-height:.96!important;letter-spacing:-.055em!important;color:var(--nm27-text)!important;
}
.nm27-client-main p{
  margin:14px 0 0!important;max-width:650px;
  color:var(--nm27-muted)!important;font-size:14px!important;line-height:1.68!important;
}
.nm27-client-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.nm27-client-side{
  padding:26px;background:linear-gradient(145deg,#f2efff,#fbfaff);border-left:1px solid #e2dcff;
  display:flex;flex-direction:column;justify-content:center;
}
.nm27-client-side h3{margin:0 0 14px;font-size:16px}
.nm27-client-points{display:grid;gap:8px}
.nm27-client-points div{
  display:flex;align-items:center;gap:10px;padding:11px 12px;
  background:#fff;border:1px solid #e4e1ff;border-radius:13px;font-size:11px;font-weight:750;color:#5b6473;
}
.nm27-client-points b{
  width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--nm27-purple-soft);
  color:var(--nm27-purple);font-size:10px;font-weight:900;
}

/* store page */
body.store32-page .store32-main{background:transparent!important}
body.store32-page .store32-hero{padding:28px 0 12px!important;background:transparent!important;color:var(--nm27-text)!important}
body.store32-page .store32-hero-bg{display:none!important}
body.store32-page .store32-hero-inner{
  padding:30px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr)!important;
  gap:14px!important;
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:24px!important;
  box-shadow:var(--nm27-shadow)!important;
}
body.store32-page .store32-kicker{color:var(--nm27-purple)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.1em!important}
body.store32-page .store32-hero-copy h1{
  margin:8px 0 0!important;font-size:clamp(38px,4.2vw,56px)!important;
  line-height:1!important;letter-spacing:-.05em!important;color:var(--nm27-text)!important;
}
body.store32-page .store32-hero-copy p{
  margin:12px 0 0!important;max-width:640px;color:var(--nm27-muted)!important;font-size:12px!important;line-height:1.65!important;
}
body.store32-page .store32-balance{
  margin:0!important;padding:22px!important;background:linear-gradient(145deg,#f0edff,#fbf9ff)!important;
  border:1px solid #e0d9ff!important;border-radius:18px!important;box-shadow:none!important;color:var(--nm27-text)!important;
}
body.store32-page .store32-balance>span{font-size:9px!important;color:#7a719b!important;text-transform:uppercase!important;font-weight:900!important}
body.store32-page .store32-balance strong{font-size:30px!important;letter-spacing:-.04em!important}
body.store32-page .store32-balance b{color:var(--nm27-purple)!important}
body.store32-page .store32-nav{
  position:sticky!important;top:82px!important;z-index:20!important;
  padding:8px 0!important;background:rgba(245,246,250,.94)!important;border:0!important;box-shadow:none!important;
}
body.store32-page .store32-nav .container{
  width:max-content!important;max-width:calc(100% - 24px)!important;
  margin:auto!important;padding:5px!important;display:flex!important;gap:4px!important;
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:14px!important;
  box-shadow:0 8px 22px rgba(31,38,58,.04)!important;
}
body.store32-page .store32-nav a{
  padding:9px 13px!important;border-radius:10px!important;text-decoration:none!important;
  color:#6a7384!important;font-size:10px!important;font-weight:850!important;
}
body.store32-page .store32-nav a:hover,
body.store32-page .store32-nav a.active{background:var(--nm27-purple-soft)!important;color:var(--nm27-purple)!important}
body.store32-page .store32-content{padding:6px 0 58px!important}
body.store32-page .store32-section{
  margin:0 0 22px!important;padding:22px!important;background:#fff!important;border:1px solid var(--nm27-line)!important;
  border-radius:20px!important;box-shadow:none!important;
}
body.store32-page .store32-section-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 15px!important}
body.store32-page .store32-section-head h2{margin:0!important;font-size:22px!important;letter-spacing:-.03em!important}
body.store32-page .store32-section-head p{margin:0!important;color:var(--nm27-muted)!important;font-size:10px!important;line-height:1.55!important}
body.store32-page .store32-car-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
body.store32-page .store32-car-feature,
body.store32-page .store32-car-feature.store32-car-feature-reverse,
body.store32-page .store32-product-card,
body.store32-page .store32-service-card,
body.store32-page .store32-doc-card{
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:18px!important;box-shadow:none!important;overflow:hidden!important
}
body.store32-page .store32-car-media,
body.store32-page .store32-product-image{
  background:#f3f4f7!important;border:0!important
}
body.store32-page .store32-car-media{height:220px!important;padding:14px!important}
body.store32-page .store32-car-media img,
body.store32-page .store32-product-image img{width:100%!important;height:100%!important;object-fit:contain!important}
body.store32-page .store32-car-info{padding:16px!important}
body.store32-page .store32-car-info h3{font-size:18px!important}
body.store32-page .store32-car-info p,
body.store32-page .store32-product-body p{color:var(--nm27-muted)!important;font-size:10px!important;line-height:1.55!important}
body.store32-page .store32-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.store32-page .store32-product-image{height:168px!important;padding:12px!important}
body.store32-page .store32-product-body{padding:14px!important}
body.store32-page .store32-service-grid,
body.store32-page .store32-doc-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
body.store32-page .store32-service-card,
body.store32-page .store32-doc-card{padding:18px!important}
body.store32-page .store32-service-icon{background:var(--nm27-purple-soft)!important;color:var(--nm27-purple)!important;border-radius:11px!important}
body.store32-page .store32-form-box,
body.store32-page .store32-plate-builder,
body.store32-page .store32-plate-preview{
  background:#f6f7f9!important;border:1px solid var(--nm27-line)!important;border-radius:13px!important
}
body.store32-page .store32-info{
  background:#f0edff!important;border:1px solid #dfd8ff!important;border-radius:16px!important;box-shadow:none!important
}

/* contest */
body.contest-page .contest-main{background:transparent!important}
body.contest-page .contest-grid-bg{display:none!important}
body.contest-page .contest-hero{padding:28px 0 14px!important;background:transparent!important}
body.contest-page .contest-hero-inner{
  padding:30px!important;display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)!important;
  gap:14px!important;background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:24px!important;box-shadow:var(--nm27-shadow)!important;
}
body.contest-page .contest-copy h1{
  margin:8px 0 0!important;font-size:clamp(38px,4.8vw,60px)!important;line-height:.98!important;letter-spacing:-.05em!important;color:var(--nm27-text)!important
}
body.contest-page .contest-copy h1 span{color:var(--nm27-purple)!important}
body.contest-page .contest-copy p{margin:12px 0 0!important;color:var(--nm27-muted)!important;font-size:11px!important;line-height:1.6!important}
body.contest-page .contest-reward-card{
  padding:22px!important;background:linear-gradient(145deg,#f0edff,#fbfaff)!important;border:1px solid #dfd8ff!important;border-radius:18px!important;box-shadow:none!important;color:var(--nm27-text)!important
}
body.contest-page .contest-content{padding:6px 0 58px!important}
body.contest-page .contest-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:0 0 16px!important}
body.contest-page .contest-steps article,
body.contest-page .contest-panel,
body.contest-page .contest-history{
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:16px!important;box-shadow:none!important
}
body.contest-page .contest-steps article{padding:15px!important}
body.contest-page .contest-layout{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:10px!important}
body.contest-page .contest-panel,
body.contest-page .contest-history{padding:18px!important}
body.contest-page .contest-rules-panel{background:#fafaff!important}

/* roulette */
body.roulette-page .roulette-hero{padding:26px 0 8px!important;background:transparent!important}
body.roulette-page .roulette-hero .games-hero-grid{grid-template-columns:1fr!important;min-height:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.roulette-page .roulette-hero .games-hero-art,
body.roulette-page .roulette-hero .game-card-actions{display:none!important}
body.roulette-page .roulette-hero h1{margin:4px 0 0!important;font-size:36px!important;letter-spacing:-.045em!important;color:var(--nm27-text)!important}
body.roulette-page .roulette-hero p{margin:6px 0 0!important;color:var(--nm27-muted)!important;font-size:11px!important;max-width:640px!important}
body.roulette-page .roulette-main{padding:8px 0 58px!important;background:transparent!important}
body.roulette-page .roulette-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:10px!important}
body.roulette-page .roulette-stage,
body.roulette-page .roulette-info-card,
body.roulette-page .roulette-inventory-link,
body.roulette-page .roulette-showcase{
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:20px!important;box-shadow:none!important
}
body.roulette-page .roulette-stage{padding:20px!important}
body.roulette-page .roulette-stage-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important}
body.roulette-page .roulette-balance{padding:8px 11px!important;background:var(--nm27-purple-soft)!important;color:var(--nm27-purple)!important;border-radius:999px!important;font-size:10px!important;font-weight:900!important}
body.roulette-page .roulette-window{margin-top:14px!important;background:#f3f4f7!important;border:1px solid var(--nm27-line)!important;border-radius:17px!important;overflow:hidden!important}
body.roulette-page .roulette-strip{min-height:205px!important;padding:12px!important;background:#f3f4f7!important}
body.roulette-page .roulette-prize,
body.roulette-page .roulette-item{
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:14px!important;box-shadow:none!important
}
body.roulette-page .roulette-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:13px!important;padding-top:13px!important;border-top:1px solid var(--nm27-line)!important}
body.roulette-page .roulette-spin-button{min-width:190px!important}
body.roulette-page .roulette-side{display:grid!important;gap:8px!important}
body.roulette-page .roulette-info-card,
body.roulette-page .roulette-inventory-link{padding:15px!important}
body.roulette-page .roulette-showcase{margin-top:10px!important;padding:18px!important}
body.roulette-page .roulette-showcase-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}

/* account menu / profile */
body.account-page .profile-side-card,
body.account-page .account-sidebar,
body.account-page .nm19-account-sidebar,
body.account-page .cabinet-sidebar{
  background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:18px!important;box-shadow:none!important
}
body.account-page .profile-side-nav a,
body.account-page .account-sidebar a,
body.account-page .nm19-account-sidebar a,
body.account-page .cabinet-sidebar a{
  display:flex!important;align-items:center!important;gap:10px!important;
  color:#4b5363!important;text-decoration:none!important
}
body.account-page .profile-side-nav a .icon,
body.account-page .account-sidebar a .icon,
body.account-page .nm19-account-sidebar a .icon,
body.account-page .cabinet-sidebar a .icon,
body.account-page .profile-side-nav a svg,
body.account-page .account-sidebar a svg,
body.account-page .nm19-account-sidebar a svg,
body.account-page .cabinet-sidebar a svg{
  flex:0 0 auto!important
}
body.account-page .profile-side-nav a .icon,
body.account-page .account-sidebar a .icon,
body.account-page .nm19-account-sidebar a .icon,
body.account-page .cabinet-sidebar a .icon{
  width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;
  background:#f4f5f9!important;color:var(--nm27-purple)!important;
}
body.account-page .profile-side-nav a svg,
body.account-page .account-sidebar a svg,
body.account-page .nm19-account-sidebar a svg,
body.account-page .cabinet-sidebar a svg{
  width:18px!important;height:18px!important;stroke:var(--nm27-purple)!important
}

/* inventory compact */
html body.inventory-page.nm27-inventory-page{height:100vh!important;overflow:hidden!important}
html body.inventory-page.nm27-inventory-page .site-footer{display:none!important}
html body.inventory-page.nm27-inventory-page .inventory-main{
  height:calc(100vh - 176px)!important;min-height:0!important;padding:0 0 10px!important;overflow:hidden!important
}
html body.inventory-page.nm27-inventory-page .inventory-main>.container,
html body.inventory-page.nm27-inventory-page .inventory-main>.container.nm19-inventory-shell{
  height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:8px!important
}
html body.inventory-page.nm27-inventory-page .nm19-inventory-rail{display:none!important}
html body.inventory-page.nm27-inventory-page .nm19-inventory-content{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
html body.inventory-page.nm27-inventory-page .inventory-topbar{
  flex:0 0 auto!important;padding:10px 12px!important;background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:16px!important
}
html body.inventory-page.nm27-inventory-page .inventory-filters{display:flex!important;gap:4px!important;overflow:hidden!important;flex-wrap:nowrap!important}
html body.inventory-page.nm27-inventory-page .inventory-filter{padding:7px 9px!important;border:1px solid var(--nm27-line)!important;border-radius:9px!important;background:#fff!important;color:#697283!important;font-size:8px!important}
html body.inventory-page.nm27-inventory-page .inventory-filter.active{background:var(--nm27-purple-soft)!important;border-color:#ddd8ff!important;color:var(--nm27-purple)!important}
html body.inventory-page.nm27-inventory-page .inventory-grid,
html body.inventory-page.nm27-inventory-page .inventory-plates-grid{
  flex:1 1 auto!important;min-height:0!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;margin:0!important;overflow:hidden!important;transform:none!important;position:static!important
}
html body.inventory-page.nm27-inventory-page .inventory-card,
html body.inventory-page.nm27-inventory-page .inventory-plate-card{
  height:100%!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid var(--nm27-line)!important;border-radius:14px!important;box-shadow:none!important
}
html body.inventory-page.nm27-inventory-page .inventory-card-image{height:96px!important;padding:7px!important;background:#f4f5f8!important}
html body.inventory-page.nm27-inventory-page .inventory-card-image img{width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important;padding:0!important}
html body.inventory-page.nm27-inventory-page .inventory-card-copy{padding:8px 9px 4px!important}
html body.inventory-page.nm27-inventory-page .inventory-card-copy h3{margin:0!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.inventory-page.nm27-inventory-page .inventory-card-copy p{margin:3px 0 0!important;font-size:8px!important}
html body.inventory-page.nm27-inventory-page .inventory-card-date{display:none!important}
html body.inventory-page.nm27-inventory-page .inventory-card-bottom{margin-top:auto!important;padding:6px 9px 8px!important;font-size:7.5px!important}
html body.inventory-page.nm27-inventory-page .inventory-pager{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important}
html body.inventory-page.nm27-inventory-page .inventory-page-button{width:38px!important;height:38px!important;border:1px solid var(--nm27-line)!important;border-radius:10px!important;background:#fff!important}

@media(max-width:1000px){
  .nm27-client-card,
  body.store32-page .store32-hero-inner,
  body.contest-page .contest-hero-inner,
  body.contest-page .contest-layout,
  body.roulette-page .roulette-layout{grid-template-columns:1fr!important}
  .nm27-client-side{border-left:0!important;border-top:1px solid #e2dcff!important}
  body.store32-page .store32-car-list,
  body.store32-page .store32-service-grid,
  body.store32-page .store32-doc-grid{grid-template-columns:1fr!important}
  body.contest-page .contest-steps{grid-template-columns:1fr 1fr!important}
  body.roulette-page .roulette-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.store32-page .store32-product-grid{grid-template-columns:1fr!important}
  body.contest-page .contest-steps{grid-template-columns:1fr!important}
  body.roulette-page .roulette-showcase-grid{grid-template-columns:1fr 1fr!important}
  html body.inventory-page.nm27-inventory-page .inventory-grid,
  html body.inventory-page.nm27-inventory-page .inventory-plates-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
  html body.inventory-page.nm27-inventory-page .inventory-filters{overflow-x:auto!important}
}

