#global {
  isolation: isolate;
  min-height: 100svh;
  padding-top: 6.3rem !important;
  padding-bottom: 0 !important;
}

#global::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 6, 10, 0.9) 0%, rgba(2, 6, 10, 0.62) 23%, rgba(2, 6, 10, 0.12) 52%, rgba(2, 6, 10, 0.06) 100%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.28) 0%, rgba(2, 6, 10, 0.02) 40%, rgba(2, 6, 10, 0.02) 76%, rgba(2, 6, 10, 0.24) 100%);
}

#global > .absolute.inset-0,
#global > .pointer-events-none {
  display: none !important;
}

#global > .section-container {
  z-index: 5;
  width: 100%;
  max-width: none !important;
  min-height: calc(100svh - 6.3rem);
  padding-left: 82px;
  padding-right: 82px;
}

#global .section-container > .max-w-3xl {
  max-width: 760px !important;
  margin-bottom: 0 !important;
  padding-top: 0;
}

#global .section-container > .max-w-3xl .hud-label {
  display: block;
  color: hsl(var(--primary));
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

#global .section-container > .max-w-3xl h2 {
  margin-top: 2rem;
  font-size: clamp(3.8rem, 4.55vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

#global .section-container > .max-w-3xl .font-pixel-subtitle {
  margin-top: 1.35rem;
  color: hsl(48 100% 61%);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

#global .section-container > .max-w-3xl p:last-child {
  max-width: 700px;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.82;
}

#global .v2-global-original-map {
  display: none !important;
}

#global .v2-global-top-pills {
  position: absolute;
  top: 2.75rem;
  right: 62px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

#global .v2-global-top-pill {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 25%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(18, 21, 25, 0.66), rgba(7, 10, 13, 0.66));
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  backdrop-filter: blur(18px) saturate(112%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 70px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

#global .v2-global-top-pill:first-child {
  min-width: 203px;
}

#global .v2-global-top-pill:last-child {
  min-width: 267px;
}

#global .v2-global-pill-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  color: hsl(var(--primary));
}

#global .v2-global-pill-icon svg {
  width: 25px;
  height: 25px;
}

#global .v2-global-market-pills {
  position: absolute;
  left: 82px;
  right: 82px;
  bottom: 34px;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

#global .v2-global-market-pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 13, 16, 0.56);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  backdrop-filter: blur(16px) saturate(110%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 48px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#global .v2-global-market-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: hsl(var(--primary));
  transform: rotate(45deg);
}

#global .v2-global-market-dot.is-gold {
  background: hsl(48 100% 61%);
}

#global .bg-gold,
#global .v2-global-market-dot.is-gold {
  background: hsl(var(--primary)) !important;
}

html.v2-content-active #global .v2-global-top-pills,
html.v2-content-active #global .v2-global-market-pills {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms linear, transform 180ms ease;
  pointer-events: none;
}

@media (max-width: 1023px) {
  #global {
    padding-top: 6.25rem !important;
    padding-bottom: 2rem !important;
  }

  #global::before {
    background: none;
  }

  #global > .section-container {
    min-height: calc(100svh - 8.25rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #global .section-container > .max-w-3xl h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  #global .v2-global-top-pills {
    position: relative;
    top: auto;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  #global .v2-global-top-pill,
  #global .v2-global-top-pill:first-child,
  #global .v2-global-top-pill:last-child {
    min-width: 0;
    width: 100%;
    min-height: 64px;
    gap: 0.9rem;
    padding: 0 1rem 0 1.15rem;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    font-size: 1.02rem;
    font-weight: 700;
    justify-content: space-between;
  }

  #global .v2-global-top-pill > span:last-child {
    flex: 1 1 auto;
  }

  #global .v2-global-top-pill::after {
    content: ">";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid rgba(255, 122, 26, 0.42);
    border-radius: 999px;
    background: rgba(255, 122, 26, 0.08);
    color: #ff7a1a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  #global .v2-global-pill-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  #global .v2-global-pill-icon svg {
    width: 28px;
    height: 28px;
  }

  #global .v2-global-market-pills {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: min(10vh, 3.8rem);
  }

  #global .v2-global-market-pill {
    min-height: 48px;
    justify-content: center;
    gap: 0.34rem;
    padding: 0 0.82rem 0 0.56rem;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 12px 50%);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(10, 13, 16, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.24);
    font-size: 0.78rem;
    letter-spacing: 0;
  }

  #global .v2-global-market-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 640px) {
  #global .v2-global-top-pill,
  #global .v2-global-top-pill:first-child,
  #global .v2-global-top-pill:last-child {
    min-height: 60px;
    padding: 0 0.9rem 0 1rem;
    border-width: 1.5px;
    font-size: 0.96rem;
  }

  #global .v2-global-top-pill::after {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 0.92rem;
  }

  #global .v2-global-market-pills {
    margin-top: min(7vh, 2.6rem);
  }

  #global .v2-global-market-pill {
    min-height: 44px;
    padding: 0 0.72rem 0 0.46rem;
    font-size: 0.72rem;
  }

  #global .v2-global-market-dot {
    width: 7px;
    height: 7px;
  }
}
