.hub-topbar {
  justify-content: center;
}

.hub-view {
  padding: 0;
}

.hub-shell {
  min-height: calc(100svh - 76px);
  padding-top: 24px;
  padding-bottom: 28px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
}

.hub-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hub-identity-mark {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #171a1f;
  box-shadow: var(--jz-shadow-1);
}

.hub-identity-mark .logo {
  width: 55px;
  height: 55px;
}

.hub-overline {
  color: var(--jz-gold);
  font-size: 13px;
  font-weight: 900;
}

.hub-identity h1 {
  margin: 0;
  font: 900 var(--jz-fs-hero)/.92 var(--jz-font-display);
  letter-spacing: 0;
}

.hub-identity p {
  margin: 8px 0 0;
  color: var(--jz-text-2);
  font-size: var(--jz-fs-body);
  line-height: 1.7;
}

.hub-options {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hub-option {
  min-width: 0;
  min-height: 390px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  text-align: right;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto;
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .28);
  transition: transform var(--jz-t-base) var(--jz-ease), border-color var(--jz-t-base) var(--jz-ease), box-shadow var(--jz-t-base) var(--jz-ease);
}

.challenge-option {
  background: #21150f;
}

.group-option {
  background: #0e1d1d;
}

.hub-option:focus-visible {
  outline: var(--jz-focus-ring);
  outline-offset: var(--jz-focus-offset);
  border-color: rgba(255, 255, 255, .34);
}

.hub-option-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hub-challenge-art {
  background: #26180e;
}

.hub-poster {
  position: absolute;
  width: 30%;
  height: 78%;
  top: 11%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
}

.hub-poster .live-poster-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hub-poster-1 {
  right: 9%;
  transform: rotate(5deg);
}

.hub-poster-2 {
  right: 35%;
  top: 7%;
  z-index: 2;
}

.hub-poster-3 {
  right: 61%;
  transform: rotate(-5deg);
}

.hub-games-art {
  padding: 26px;
  background: #0e2020;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.hub-game-token {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--token) 48%, rgba(255, 255, 255, .14));
  border-radius: 6px;
  background: color-mix(in srgb, var(--token) 15%, #11171a);
}

.hub-game-token span {
  font-size: 28px;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .25));
}

.hub-option-copy {
  padding: 22px 24px 24px;
  display: grid;
  gap: 7px;
  position: relative;
}

.hub-option-copy small {
  color: var(--jz-gold);
  font-size: 12px;
  font-weight: 900;
}

.group-option .hub-option-copy small {
  color: #75ead8;
}

.hub-option-copy strong {
  font: 900 34px/1.2 var(--jz-font-display);
  letter-spacing: 0;
}

.hub-option-copy > span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.7;
}

.hub-option-arrow {
  position: absolute;
  left: 24px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  font-size: 21px;
  transition: transform var(--jz-t-fast) var(--jz-ease);
}

[data-view="modes"] .mode-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (hover: hover) and (pointer: fine) {
  .hub-option:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
  }

  .hub-option:hover .hub-option-arrow {
    transform: translateX(-4px);
  }
}

@media (max-width: 900px) {
  .hub-shell {
    min-height: auto;
  }

  .hub-options {
    grid-template-columns: 1fr;
  }

  .hub-option {
    min-height: 300px;
    grid-template-rows: 170px auto;
  }

  [data-view="modes"] .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hub-shell {
    padding-top: 14px;
    gap: 18px;
  }

  .hub-identity-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .hub-identity-mark .logo {
    width: 43px;
    height: 43px;
  }

  .hub-identity p {
    margin-top: 4px;
  }

  .hub-options {
    gap: 12px;
  }

  .hub-option {
    min-height: 248px;
    grid-template-rows: 128px auto;
  }

  .hub-games-art {
    padding: 14px 20px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
  }

  .hub-game-token span {
    font-size: 19px;
  }

  .hub-option-copy {
    padding: 16px 18px 18px;
  }

  .hub-option-copy strong {
    font-size: 26px;
  }

  .hub-option-copy > span {
    padding-left: 42px;
    font-size: 12px;
  }

  .hub-option-arrow {
    left: 16px;
    bottom: 20px;
  }

  [data-view="modes"] .mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1500px) {
  .hub-option {
    min-height: 500px;
  }

  .hub-option-copy strong {
    font-size: 40px;
  }

  .hub-game-token span {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-option,
  .hub-option-arrow {
    transition: none;
  }
}
