
/* CH12 NANA v6.2.1 HOTFIX */

/* Hide old customer-side launchers that overlap the mobile UI. */
body:not(.ch12-control-route) #nana-v6-launch,
body:not(.ch12-control-route) #ch12-future-launcher,
body:not(.ch12-control-route) #ch12-max-launcher,
body:not(.ch12-control-route) #ch12-ultra-launcher,
body:not(.ch12-control-route) #ch12-control-launcher,
body:not(.ch12-control-route) #ch12-control-launch {
  display: none !important;
}

/* Keep only one clean NANA entry button. */
#n62-card {
  right: 14px !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  width: 190px !important;
  border-radius: 22px !important;
  z-index: 250001 !important;
  transform: none !important;
}

#n62-card .n62-card-cover {
  height: 104px !important;
}

#n62-card .n62-card-body {
  padding: 12px !important;
}

#n62-card .n62-card-title {
  font-size: 18px !important;
}

#n62-card .n62-card-sub {
  display: none !important;
}

#n62-card .n62-card-actions {
  margin-top: 8px !important;
}

#n62-studio {
  z-index: 250000 !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

#n62-studio.open {
  display: block !important;
}

#n62-studio .n62-shell {
  min-height: 100dvh !important;
  box-sizing: border-box;
  padding:
    calc(12px + env(safe-area-inset-top))
    12px
    calc(18px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 700px) {
  #n62-studio .n62-head {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 8px 0 10px;
    background: rgba(5,5,10,.92);
    backdrop-filter: blur(18px);
  }

  #n62-studio .n62-brand {
    font-size: 21px !important;
  }

  #n62-studio .n62-grid {
    display: block !important;
  }

  #n62-studio .n62-hero {
    min-height: 68dvh !important;
    margin-bottom: 12px;
    background-position: 28% center !important;
  }

  #n62-studio .n62-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #n62-studio .n62-accessories {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #n62-studio .n62-chat {
    height: 44dvh !important;
  }
}
