/* =========================================================
   Nekon HUB v26.19
   Three targeted fixes only:
   1) compact/centered mobile menu chevrons
   2) stable slide 02 premium/free composition without coupon area
   3) readable wallet balance chevron
   ========================================================= */

/* ---------- MENU DROPDOWN CHEVRONS ---------- */
html.nekon-next #menu .menu-group-toggle {
  grid-template-columns: 34px minmax(0,1fr) 38px !important;
}
html.nekon-next #menu .menu-group-indicator {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  border-radius: 999px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
html.nekon-next #menu .menu-group-indicator::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: translate(-50%,-68%) rotate(45deg) !important;
  transform-origin: 50% 50% !important;
}
html.nekon-next #menu .menu-group-toggle[aria-expanded="true"] .menu-group-indicator::before {
  transform: translate(-50%,-30%) rotate(225deg) !important;
}
@media (max-width: 820px) {
  html.nekon-next #menu .menu-group-toggle {
    grid-template-columns: 38px minmax(0,1fr) 38px !important;
    min-height: 56px !important;
  }
  html.nekon-next #menu .menu-group-indicator {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}

/* ---------- TOP WALLET CHEVRON ---------- */
html.nekon-next .header-wallet-chip__chevron {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  font-size: 0 !important;
  line-height: 1 !important;
  color: var(--nova-muted) !important;
  transition: transform .18s ease !important;
}
html.nekon-next .header-wallet-chip__chevron::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: -3px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  transform-origin: center !important;
}
html.nekon-next .header-wallet-chip[aria-expanded="true"] .header-wallet-chip__chevron {
  transform: rotate(180deg) !important;
}
@media (max-width: 720px) {
  html.nekon-next .header-wallet-chip {
    grid-template-columns: minmax(0,1fr) 18px !important;
    gap: 5px !important;
  }
  html.nekon-next .header-wallet-chip__chevron {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }
}

/* ---------- SLIDE 02: PREMIUM + FREE ONLY ----------
   Do not use the Premium artwork as a full background. That made the artwork
   escape the frame and exposed the coupon area. Both existing artworks are
   now placed inside their own clipped cards. */
html.nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts,
html[data-theme="light"].nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts {
  background-image: none !important;
  background-color: transparent !important;
  overflow: hidden !important;
}
html.nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts::after,
html[data-theme="light"].nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts::after {
  background: none !important;
}
html.nekon-next .v266-slide:nth-child(2) .v266-accounts-visual {
  position: absolute !important;
  right: 4.2% !important;
  top: 12% !important;
  left: auto !important;
  bottom: auto !important;
  width: min(47%, 720px) !important;
  height: min(70%, 440px) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  transform: none !important;
  pointer-events: none !important;
}
html.nekon-next .v266-account-preview {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: #09111d !important;
  box-shadow: 0 22px 52px rgba(0,0,0,.34) !important;
}
html.nekon-next .v266-slide:nth-child(2) .v266-account-preview img,
html.nekon-next .v266-slide:nth-child(2) .v266-account-preview img:first-child,
html.nekon-next .v266-slide:nth-child(2) .v266-account-preview img:last-child {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}
/* Premium crop deliberately favors the plans/phone area and excludes the
   lower-left coupon block from the visible frame. */
html.nekon-next .v266-account-preview--premium img {
  object-position: 79% 22% !important;
  transform: scale(1.18) !important;
}
/* Free crop favors the platform logos + Nekon phone. */
html.nekon-next .v266-account-preview--free img {
  object-position: 73% 42% !important;
  transform: scale(1.12) !important;
}
html[data-theme="light"].nekon-next .v266-account-preview {
  border-color: rgba(105,91,137,.16) !important;
  box-shadow: 0 18px 42px rgba(89,72,111,.13) !important;
}

@media (max-width: 820px) {
  html.nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts,
  html[data-theme="light"].nekon-next .v266-slide:nth-child(2) .v266-slide__visual--accounts {
    display: block !important;
    padding: 0 !important;
  }
  html.nekon-next .v266-slide:nth-child(2) .v266-accounts-visual {
    top: 18px !important;
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    height: 198px !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  html.nekon-next .v266-account-preview {
    border-radius: 16px !important;
  }
  html.nekon-next .v266-account-preview--premium img {
    object-position: 80% 20% !important;
    transform: scale(1.28) !important;
  }
  html.nekon-next .v266-account-preview--free img {
    object-position: 75% 42% !important;
    transform: scale(1.20) !important;
  }
}

@media (max-width: 600px) {
  html.nekon-next .v266-slide:nth-child(2) .v266-accounts-visual {
    top: 16px !important;
    height: 184px !important;
    gap: 8px !important;
  }
}
