/*
 * Hub header 0.44.111
 * Isolado de src/styles.css para não herdar as gerações anteriores do menu.
 */

#hubView {
  --hub-page-art: url("../assets/keyart/landing-battle-v1.webp");
  --hub-page-position: center top;
  isolation: isolate;
  min-height: 100svh;
  background: #030814;
}

#hubView[data-hub-section="home"] {
  --hub-page-art: url("../assets/keyart/landing-battle-v1.webp");
  --hub-page-position: center top;
}

#hubView[data-hub-section="lobby"] {
  --hub-page-art: url("../assets/keyart/lobby-expedition-hall-v1.webp");
  --hub-page-position: center 34%;
}

#hubView[data-hub-section="journey"] {
  --hub-page-art: url("../assets/metagame/journey-world-v1.webp");
  --hub-page-position: center top;
}

#hubView[data-hub-section="pass"] {
  --hub-page-art: url("../assets/metagame/season-aurora-v1.webp");
  --hub-page-position: center top;
}

#hubView[data-hub-section="store"],
#hubView[data-hub-section="market"],
#hubView[data-hub-section="gear"],
#hubView[data-hub-section="admin"] {
  --hub-page-art: url("../assets/metagame/store-midnight-forge-v1.webp");
  --hub-page-position: center top;
}

#hubView[data-hub-section="rankings"] {
  --hub-page-art: url("../assets/keyart/lobby-expedition-hall-v1.webp");
  --hub-page-position: center 28%;
}

#hubView::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 7, 18, .3), rgba(2, 7, 18, .76) 66%, #030814 100%),
    linear-gradient(90deg, rgba(2, 7, 18, .68), rgba(2, 7, 18, .14) 64%, rgba(2, 7, 18, .5)),
    var(--hub-page-art) var(--hub-page-position) / cover no-repeat;
  content: "";
  pointer-events: none;
}

#hubView::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 20, .06), rgba(3, 8, 20, .28));
  content: "";
  pointer-events: none;
}

#hubView .hub-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100svh;
  margin: 0 !important;
  background: transparent;
}

#hubView .hub-topbar {
  display: none !important;
}

#hubView .hub-content {
  position: relative;
  z-index: 1;
}

#hubView .hub-panel[data-hub-panel="pass"],
#hubView .hub-panel[data-hub-panel="store"],
#hubView .hub-panel[data-hub-panel="market"],
#hubView .hub-panel[data-hub-panel="gear"],
#hubView .hub-panel[data-hub-panel="rankings"],
#hubView .hub-panel[data-hub-panel="admin"] {
  background-color: transparent !important;
}

#hubView .hub-panel[data-hub-panel="home"] > .hub-tutorial-banner {
  margin-top: 72px;
}

#hubView .hub-rail.hub-nav-v2 {
  position: fixed !important;
  z-index: 100 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  display: grid !important;
  grid-template-columns: 154px minmax(0, 1fr) auto 44px !important;
  grid-template-rows: 72px !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(135, 214, 240, .14) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(2, 8, 18, .56), rgba(2, 8, 18, .12)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(9px) saturate(1.08) !important;
  clip-path: none !important;
  transform: none !important;
}

#hubView .hub-nav-v2 .hub-brand {
  display: grid !important;
  width: 154px !important;
  height: 72px !important;
  padding: 2px 8px !important;
  overflow: visible !important;
  place-items: center !important;
  border: 0 !important;
  background: transparent !important;
}

#hubView .hub-nav-v2 .hub-brand::before,
#hubView .hub-nav-v2 .hub-brand::after {
  display: none !important;
}

#hubView .hub-nav-v2 .hub-brand-wordmark {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #f4f7fb !important;
  font: italic 900 1.16rem/1 "Arial Black", "Segoe UI Black", ui-sans-serif, sans-serif !important;
  letter-spacing: -.045em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .48) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

#hubView .hub-nav-v2 .hub-primary-nav {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: clamp(2px, .65vw, 10px) !important;
  min-width: 0 !important;
  height: 72px !important;
  padding: 0 8px !important;
  overflow: visible !important;
}

#hubView .hub-nav-v2 .hub-primary-nav > button,
#hubView .hub-nav-v2 .hub-nav-group > summary {
  all: unset;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 104px;
  height: 72px;
  gap: 8px;
  padding: 0 13px;
  color: #b2c2d0;
  cursor: pointer;
  user-select: none;
}

#hubView .hub-nav-v2 .hub-primary-nav > button::before,
#hubView .hub-nav-v2 .hub-primary-nav > button::after {
  display: none !important;
  content: none !important;
}

#hubView .hub-nav-v2 .hub-primary-nav > button:hover,
#hubView .hub-nav-v2 .hub-nav-group > summary:hover,
#hubView .hub-nav-v2 .hub-primary-nav > button.active,
#hubView .hub-nav-v2 .hub-nav-group[open] > summary,
#hubView .hub-nav-v2 .hub-nav-group:has(.active) > summary {
  color: #effcff;
  background: transparent !important;
  box-shadow: none !important;
}

#hubView .hub-nav-v2 .hub-primary-nav > button.active::after,
#hubView .hub-nav-v2 .hub-nav-group[open] > summary::after,
#hubView .hub-nav-v2 .hub-nav-group:has(.active) > summary::after {
  position: absolute !important;
  right: 13px !important;
  bottom: 0 !important;
  left: 13px !important;
  display: block !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: #71e8ff !important;
  box-shadow: 0 0 10px rgba(105, 231, 255, .48) !important;
  content: "" !important;
}

#hubView .hub-nav-v2 .hub-nav-icon,
#hubView .hub-nav-v2 button:hover .hub-nav-icon,
#hubView .hub-nav-v2 button.active .hub-nav-icon {
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  padding: 0 !important;
  overflow: visible !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgb(var(--nav-rgb, 105, 231, 255)) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

#hubView .hub-nav-v2 .hub-nav-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  overflow: visible !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
}

#hubView .hub-nav-v2 .hub-primary-nav small {
  all: unset;
  display: block;
  color: inherit;
  font: 780 .56rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .045em;
  white-space: nowrap;
}

#hubView .hub-nav-v2 .hub-nav-group {
  position: relative !important;
  min-width: 0 !important;
}

#hubView .hub-nav-v2 .hub-nav-chevron {
  display: block !important;
  width: 6px !important;
  height: 6px !important;
  margin: -3px 0 0 1px !important;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  color: #71879a !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: rotate(45deg) !important;
  transform-origin: center !important;
  transition: transform .16s ease, color .16s ease !important;
}

#hubView .hub-nav-v2 .hub-nav-group[open] .hub-nav-chevron {
  color: #75e9ff !important;
  transform: rotate(225deg) !important;
}

#hubView .hub-nav-v2 .hub-submenu {
  position: absolute !important;
  z-index: 120 !important;
  top: 64px !important;
  left: 50% !important;
  display: grid !important;
  width: max-content !important;
  min-width: 212px !important;
  gap: 3px !important;
  padding: 7px !important;
  overflow: visible !important;
  border: 1px solid rgba(136, 215, 241, .18) !important;
  border-radius: 12px !important;
  background: rgba(4, 13, 26, .7) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  transform: translateX(-50%) !important;
}

#hubView .hub-nav-v2 .hub-submenu::before {
  display: none !important;
}

#hubView .hub-nav-v2 .hub-submenu button {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 198px;
  height: 43px;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 8px;
  color: #c6d6e3;
  cursor: pointer;
}

#hubView .hub-nav-v2 .hub-submenu button[hidden] {
  display: none !important;
}

#hubView .hub-nav-v2 .hub-submenu button:hover,
#hubView .hub-nav-v2 .hub-submenu button.active {
  color: #f2fdff !important;
  background: rgba(var(--nav-rgb, 105, 231, 255), .1) !important;
  box-shadow: inset 2px 0 rgb(var(--nav-rgb, 105, 231, 255)) !important;
}

#hubView .hub-nav-v2 .hub-submenu button::before,
#hubView .hub-nav-v2 .hub-submenu button::after {
  display: none !important;
  content: none !important;
}

#hubView .hub-nav-v2 .hub-submenu button small {
  all: unset;
  display: block;
  color: inherit;
  font: 800 .56rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .05em;
  white-space: nowrap;
}

#hubView .hub-nav-v2 .rank-badge-nav,
#hubView .hub-nav-v2 #profileRankBadge {
  display: none !important;
}

#hubView .hub-nav-v2 > .hub-account-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 6px !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: auto !important;
}

#hubView .hub-nav-v2 > .hub-account-strip .currency {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-width: 36px;
  height: 38px;
  gap: 4px;
  padding: 0 3px;
  color: #dce8f2;
  cursor: pointer;
}

#hubView .hub-nav-v2 > .hub-account-strip .currency i {
  width: 9px !important;
  height: 9px !important;
}

#hubView .hub-nav-v2 > .hub-account-strip .currency b {
  color: inherit !important;
  font-size: .6rem !important;
}

#hubView .hub-nav-v2 > .hub-account-strip .currency small,
#hubView .hub-nav-v2 > .hub-account-strip .rank-currency {
  display: none !important;
}

#hubView .hub-nav-v2 > .hub-account-strip .profile-chip {
  all: unset;
  box-sizing: border-box;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(111, 229, 255, .22);
  border-radius: 50%;
  color: #e9fcff;
  background: rgba(8, 30, 48, .38);
  cursor: pointer;
}

#hubView .hub-nav-v2 > .hub-account-strip #profileInitial {
  all: unset !important;
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center !important;
  color: inherit !important;
  font: 850 .72rem/1 ui-sans-serif, system-ui, sans-serif !important;
}

#hubView .hub-nav-v2 > .hub-account-strip .profile-chip > span:nth-child(3),
#hubView .hub-nav-v2 > .hub-account-strip .profile-chip > i {
  display: none !important;
}

#hubView .hub-nav-v2 > .hub-exit {
  all: unset;
  box-sizing: border-box;
  display: grid;
  width: 44px;
  height: 72px;
  place-items: center;
  color: #71879a;
  cursor: pointer;
}

#hubView .hub-nav-v2 > .hub-exit:hover {
  color: #ffc27d;
}

#hubView .hub-nav-v2 > .hub-exit small {
  display: none !important;
}

#hubView .hub-nav-v2 > .hub-exit .hub-nav-icon {
  width: 24px !important;
  height: 24px !important;
  color: inherit !important;
}

@media (max-width: 1120px) and (min-width: 901px) {
  #hubView .hub-rail.hub-nav-v2 {
    grid-template-columns: 126px minmax(0, 1fr) auto 38px !important;
    padding-inline: 8px !important;
  }

  #hubView .hub-nav-v2 .hub-brand {
    width: 126px !important;
  }

  #hubView .hub-nav-v2 .hub-brand-wordmark {
    font-size: 1rem !important;
  }

  #hubView .hub-nav-v2 .hub-primary-nav > button,
  #hubView .hub-nav-v2 .hub-nav-group > summary {
    min-width: 82px;
    gap: 5px;
    padding-inline: 8px;
  }

  #hubView .hub-nav-v2 .hub-primary-nav small {
    font-size: .48rem;
  }

  #hubView .hub-nav-v2 > .hub-account-strip {
    gap: 3px !important;
    padding-inline: 2px !important;
  }
}

@media (max-width: 900px) {
  #hubView .hub-panel[data-hub-panel="home"] > .hub-tutorial-banner {
    margin-top: 64px;
  }

  #hubView .hub-rail.hub-nav-v2 {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    grid-template-rows: 64px !important;
    height: 64px !important;
    padding: 0 4px !important;
    background: linear-gradient(180deg, rgba(2, 8, 18, .54), rgba(2, 8, 18, .1)) !important;
  }

  #hubView .hub-nav-v2 .hub-brand,
  #hubView .hub-nav-v2 > .hub-exit {
    display: none !important;
  }

  #hubView .hub-nav-v2 .hub-primary-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    height: 64px !important;
    padding: 0 !important;
  }

  #hubView .hub-nav-v2 .hub-primary-nav > button,
  #hubView .hub-nav-v2 .hub-nav-group > summary {
    display: grid;
    grid-template-rows: 34px 12px;
    width: 100%;
    min-width: 0;
    height: 64px;
    gap: 0;
    padding: 5px 1px 4px;
    place-items: center;
  }

  #hubView .hub-nav-v2 .hub-primary-nav > button.active::after,
  #hubView .hub-nav-v2 .hub-nav-group[open] > summary::after,
  #hubView .hub-nav-v2 .hub-nav-group:has(.active) > summary::after {
    right: 10px !important;
    left: 10px !important;
  }

  #hubView .hub-nav-v2 .hub-nav-icon {
    grid-row: 1 !important;
    width: 27px !important;
    height: 27px !important;
    flex-basis: 27px !important;
  }

  #hubView .hub-nav-v2 .hub-nav-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  #hubView .hub-nav-v2 .hub-primary-nav small {
    grid-row: 2;
    max-width: 100%;
    overflow: hidden;
    font-size: .4rem;
    text-overflow: ellipsis;
  }

  #hubView .hub-nav-v2 .hub-nav-chevron {
    position: absolute !important;
    top: 24px !important;
    right: 8px !important;
    width: 5px !important;
    height: 5px !important;
  }

  #hubView .hub-nav-v2 .hub-submenu {
    position: fixed !important;
    top: 64px !important;
    right: 7px !important;
    left: 7px !important;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)) !important;
    width: auto !important;
    min-width: 0 !important;
    transform: none !important;
  }

  #hubView .hub-nav-v2 .hub-submenu button {
    min-width: 0;
  }

  #hubView .hub-nav-v2 > .hub-account-strip {
    display: grid !important;
    width: 46px !important;
    height: 64px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  #hubView .hub-nav-v2 > .hub-account-strip .currency,
  #hubView .hub-nav-v2 > .hub-account-strip .rank-currency {
    display: none !important;
  }

  #hubView .hub-nav-v2 > .hub-account-strip .profile-chip {
    width: 36px;
    height: 36px;
  }
}
