/* V83 — CO Games bottom tabbar surface.
   Reference-matched: floating charcoal bar, green code-drawn icons, white labels. */

html.v83-tabbar .tabbar__container-item .svg-icon,
html.v83-tabbar .tabbar__container-item .tab-icon,
html.v83-tabbar .tabbar__container-item img.tab-icon,
html.v83-tabbar .tabbar__container-item .promotion-special-icon {
  display: none !important;
}

/* Vue chrome hidden — V83 paints icon + ₹500 like the other tabs */
html.v83-tabbar .tabbar__container-item .turntableBg {
  display: none !important;
}

html.v83-tabbar .tabbar,
html.v83-tabbar #app .tabbar,
html.v83-tabbar .tabbar__container,
html.v83-tabbar #app .tabbar__container {
  overflow: visible !important;
}

html.v83-tabbar .tabbar__container,
html.v83-tabbar #app .tabbar__container {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  box-sizing: border-box;
  width: calc(10rem - 0.24rem) !important;
  max-width: calc(100% - 0.24rem) !important;
  height: 1.425rem !important;
  min-height: 0 !important;
  bottom: calc(0.15rem + env(safe-area-inset-bottom, 0px)) !important;
  padding: 0.16rem 0.06rem 0.25rem !important;
  border: 0 !important;
  border-radius: 0.45rem !important;
  background: #333738 !important;
  box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.45) !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.v83-tabbar .tabbar__container-item,
html.v83-tabbar #app .tabbar__container-item,
html.v83-tabbar #app .tabbar__items-tab {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  min-width: 44px;
  height: 100%;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  color: #73eb91 !important;
  line-height: 1;
  overflow: visible !important;
}

/* active state: soft pill only — label colour never changes */
html.v83-tabbar .tabbar__container-item::before {
  content: "";
  position: absolute;
  left: 0.06rem;
  right: 0.06rem;
  top: -0.04rem;
  bottom: -0.08rem;
  border-radius: 0.28rem;
  background: transparent;
  transition: background 0.18s ease;
  pointer-events: none;
  z-index: 0;
}

html.v83-tabbar .tabbar__container-item.v83-on::before {
  background: rgba(255, 255, 255, 0.045);
}

html.v83-tabbar .tabbar__container-item:focus-visible {
  outline: 0.04rem solid #73eb91;
  outline-offset: 0.02rem;
  border-radius: 0.3rem;
}

html.v83-tabbar .tabbar__container-item .v83-ico-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.6rem;
  height: 0.6rem;
  flex-shrink: 0;
  line-height: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.v83-tabbar .tabbar__container-item .v83-ico-wrap::before {
  content: none !important;
  display: none !important;
}

html.v83-tabbar .tabbar__container-item svg.v83-ico {
  width: 0.6rem;
  height: 0.6rem;
  display: block;
  color: #73eb91;
  transform: none !important;
}

html.v83-tabbar .tabbar__container-item.v83-on svg.v83-ico {
  filter: drop-shadow(0 0 0.14rem rgba(115, 235, 145, 0.5));
}

/* labels stay identical in every state — skip the centre ₹500 amount */
html.v83-tabbar .tabbar__container-item > span:not(.v83-ico-wrap):not(.v83-spin-wrap):not(.v83-spin-amt):not(.turntable-text),
html.v83-tabbar .tabbar__container-item.v83-on > span:not(.v83-ico-wrap):not(.v83-spin-wrap):not(.v83-spin-amt):not(.turntable-text),
html.v83-tabbar #app .tabbar__container-item > span:not(.v83-ico-wrap):not(.v83-spin-wrap):not(.v83-spin-amt):not(.turntable-text),
html.v83-tabbar #app .tabbar__container-item.active > span:not(.v83-ico-wrap):not(.v83-spin-wrap):not(.v83-spin-amt):not(.turntable-text) {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  font-size: 0.3125rem !important;
  font-weight: 800 !important;
  line-height: 1.1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* ---- centre spin: half above the bar, GET ₹500 snug under the wheel ---- */

html.v83-tabbar .tabbar__container-item:nth-of-type(3),
html.v83-tabbar .tabbar__container-item[data-v83-key="turntable"] {
  position: relative;
  z-index: 5;
  justify-content: flex-end;
  gap: 0;
  overflow: visible !important;
}

html.v83-tabbar .tabbar__container-item .v83-spin-wrap {
  position: absolute;
  left: 50%;
  bottom: 0.52rem;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: 2.12rem;
  height: auto;
  overflow: visible;
  pointer-events: none;
  flex-shrink: 0;
}

html.v83-tabbar .tabbar__container-item .v83-spin-wrap > span.v83-spin-disc {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  display: block;
  width: 2.12rem;
  height: auto;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 0.03rem 0.06rem rgba(0, 0, 0, 0.35));
}

html.v83-tabbar .tabbar__container-item img.v83-spin-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
}

html.v83-tabbar .tabbar__container-item.v83-on img.v83-spin-img,
html.v83-tabbar .tabbar__container-item.v83-on .v83-spin-wrap {
  filter: drop-shadow(0 0 0.14rem rgba(115, 235, 145, 0.5));
}

html.v83-tabbar #app .tabbar__container-item[data-v83-key="turntable"] .turntable-text,
html.v83-tabbar #app .tabbar__container-item:nth-of-type(3) .turntable-text,
html.v83-tabbar #app .tabbar__container-item[data-v83-key="turntable"] > span.v83-spin-amt,
html.v83-tabbar #app .tabbar__container-item span.v83-spin-amt.turntable-text,
html.v83-tabbar .tabbar__container-item[data-v83-key="turntable"] .turntable-text,
html.v83-tabbar .tabbar__container-item:nth-of-type(3) .turntable-text,
html.v83-tabbar .tabbar__container-item[data-v83-key="turntable"] > span:not(.v83-ico-wrap):not(.v83-spin-wrap),
html.v83-tabbar .tabbar__container-item .v83-spin-amt,
html.v83-tabbar .tabbar__container-item span.v83-spin-amt.turntable-text {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0.09rem !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 0.4rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
  color: #73eb91 !important;
  text-shadow: none;
}

html.v83-tabbar .tabbar__container-item .promotionBg {
  background: transparent !important;
  box-shadow: none !important;
}

html.v83-tabbar .tabbar__container-item .promotionBg .svg-icon {
  display: none !important;
}
