/* V122 — Guest home header + sticky bar above banners (fade to charcoal on scroll). */

html.co-home-sticky {
  --co-hdr-a: 0;
  --co-hdr-h: 1.4rem;
}

html.co-home-sticky,
html.co-home-sticky body {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
  position: static !important;
}

html.co-home-sticky .p8-home {
  padding-top: calc(var(--co-hdr-h, 1.4rem) + var(--co-dl-h, 0px)) !important;
}

html.co-home-sticky .p8-home__nav {
  position: fixed !important;
  top: var(--co-dl-h, 0px) !important;
  right: auto !important;
  z-index: 90 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 1.4rem;
  height: 1.4rem;
  margin: 0 !important;
  padding: 0.12rem 0.32rem !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  background: rgba(50, 55, 56, var(--co-hdr-a, 0)) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html.co-guest-header .p8-home__guest {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html.co-home-sticky .p8-home__nav-left {
  max-width: none !important;
  gap: 0.1rem;
}

html.co-home-sticky .p8-home__nav-balance,
html.co-home-sticky .p8-home__nav-tools {
  height: 0.88rem !important;
  min-height: 0.88rem !important;
}

html.co-home-sticky .p8-home__nav-icon {
  height: 0.88rem !important;
}

html.co-home-sticky .p8-home__nav-vip {
  width: 0.88rem !important;
  min-width: 0.88rem !important;
  height: 0.88rem !important;
}

.co-guest-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
  margin-left: auto;
  flex: 0 0 auto;
  min-width: 0;
}

.co-guest-nav__in,
.co-guest-nav__up {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.co-guest-nav__in {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.34667rem;
  font-weight: 800;
  padding: 0.16rem 0.16rem;
}

.co-guest-nav__up {
  background-image: linear-gradient(90deg, #24ee89, #9fe871);
  background-color: #24ee89;
  color: #10231a;
  font-size: 0.32rem;
  font-weight: 800;
  border: 0;
  border-radius: 0.24rem;
  height: 0.88rem;
  min-width: 1.84rem;
  padding: 0 0.32rem;
  box-shadow: 0 0 0.32rem rgba(35, 238, 136, 0.3), inset 0 -0.05333rem #1dca6a;
}

.co-guest-nav__up:active {
  transform: translateY(0.02rem);
}
