/* Shared page anchor bars aligned with the homepage anchor treatment. */
:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.12rem !important;
  width: max-content !important;
  max-width: calc(100% - 1.5rem) !important;
  margin: clamp(0.95rem, 1.8vw, 1.35rem) auto clamp(1.15rem, 2vw, 1.55rem) !important;
  padding: 0.28rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(5, 7, 11, 0.88) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18) !important;
  color: #f8fafc !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
)::-webkit-scrollbar {
  display: none !important;
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab) {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.05rem !important;
  padding: 0.54rem 0.92rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab):is(.is-active, [aria-current="page"], :hover, :focus-visible) {
  background: #c7f000 !important;
  color: #111111 !important;
  transform: translateY(-1px);
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab):focus-visible {
  outline: 2px solid #c7f000 !important;
  outline-offset: 2px !important;
}

html.dark :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
html[class*="dark"] :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
body.dark :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
body.dark-mode :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
body.is-dark-theme :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
body.newsx-dark-mode :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
[data-theme="dark"] :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
),
body[class*="dark"] :is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(5, 7, 11, 0.88) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

@media (max-width: 42rem) {
  :is(
    .go-news-archive-chip-nav,
    .go-reviews-archive-chip-nav,
    .go-ca-nav,
    .go-cp-quick-nav,
    .go-vh-anchor-nav,
    .go-tech-anchor-nav,
    .go-gamehub-anchor-nav,
    .go-gh-nav,
    .go-entertainment-tabs
  ) {
    max-width: calc(100% - 1rem) !important;
    margin-top: 0.78rem !important;
    margin-bottom: 1rem !important;
  }

  :is(
    .go-news-archive-chip-nav,
    .go-reviews-archive-chip-nav,
    .go-ca-nav,
    .go-cp-quick-nav,
    .go-vh-anchor-nav,
    .go-tech-anchor-nav,
    .go-gamehub-anchor-nav,
    .go-gh-nav,
    .go-entertainment-tabs
  ) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab) {
    min-height: 1.94rem !important;
    padding: 0.48rem 0.78rem !important;
  }
}

/* Final anchor color lock: blue on light pages, green on dark pages. */
body {
  --go-page-anchor-active: #2800f0;
  --go-page-anchor-active-text: #ffffff;
  --go-page-anchor-focus: #2800f0;
}

html.dark body,
html[class*="dark"] body,
body.dark,
body.dark-mode,
body.is-dark-theme,
body.newsx-dark-mode,
body[class*="dark"],
[data-theme="dark"] body,
body[data-theme="dark"] {
  --go-page-anchor-active: #c7f000;
  --go-page-anchor-active-text: #111111;
  --go-page-anchor-focus: #c7f000;
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab):is(.is-active, [aria-current="page"], :hover, :focus-visible) {
  background: var(--go-page-anchor-active) !important;
  color: var(--go-page-anchor-active-text) !important;
}

:is(
  .go-news-archive-chip-nav,
  .go-reviews-archive-chip-nav,
  .go-ca-nav,
  .go-cp-quick-nav,
  .go-vh-anchor-nav,
  .go-tech-anchor-nav,
  .go-gamehub-anchor-nav,
  .go-gh-nav,
  .go-entertainment-tabs
) :is(a, .go-news-archive-chip, .go-reviews-archive-chip, .go-gamehub-anchor-link, .go-entertainment-tab):focus-visible {
  outline-color: var(--go-page-anchor-focus) !important;
}

.go-criticas-archive-page .go-news-archive-chip-nav.go-reviews-archive-chip-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.12rem !important;
  width: max-content !important;
  max-width: calc(100% - 1.5rem) !important;
  margin: clamp(0.95rem, 1.8vw, 1.35rem) auto clamp(1.15rem, 2vw, 1.55rem) !important;
  padding: 0.28rem !important;
  overflow-x: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(5, 7, 11, 0.88) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18) !important;
  scrollbar-width: none !important;
}

.go-criticas-archive-page .go-news-archive-chip-nav.go-reviews-archive-chip-nav .go-news-archive-chip {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.05rem !important;
  padding: 0.54rem 0.92rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.go-criticas-archive-page .go-news-archive-chip-nav.go-reviews-archive-chip-nav .go-news-archive-chip:is(.is-active, [aria-current="page"], :hover, :focus-visible) {
  background: var(--go-page-anchor-active) !important;
  color: var(--go-page-anchor-active-text) !important;
  transform: translateY(-1px) !important;
}
