/* Generated hero artwork, confined to the Overview page. */
.intro-disclosure {
  display: contents
}

.intro-toggle {
  display: none
}

.overview-page .hero .hero-grid {
  grid-template-columns: 110px minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding-bottom: 20px
}

.overview-page .hero-game-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  align-self: start;
  margin-top: 3px
}

.overview-hero-illustration {
  min-width: 0;
  width: 100%;
  align-self: center;
  pointer-events: none
}

.overview-hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px #7540a31c)
}

.overview-page .hero .hero-copy h1 {
  font-size: 36px;
  line-height: 1.3
}

.overview-page .hero .hero-copy h1 span {
  font-size: inherit
}

@media(min-width:1450px) {
  .overview-page .hero .hero-grid {
    grid-template-columns: 120px minmax(0, 1fr) 390px;
    gap: 26px
  }

  .overview-page .hero-game-icon {
    width: 120px;
    height: 120px
  }

  .overview-page .hero .hero-copy h1 {
    font-size: 38px
  }

  .overview-hero-illustration img {
    max-height: 310px
  }
}

@media(max-width:1100px) and (min-width:801px) {
  .overview-page .hero .hero-grid {
    grid-template-columns: 88px minmax(0, 1fr) 260px;
    gap: 20px
  }

  .overview-page .hero-game-icon {
    width: 88px;
    height: 88px;
    border-radius: 21px
  }

  .overview-page .hero .hero-copy h1 {
    font-size: 30px
  }

  .overview-hero-illustration img {
    max-height: 235px
  }
}

@media(max-width:800px) {
  .overview-page .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 30%);
    gap: 12px 16px;
    align-items: start
  }

  .overview-page .hero .hero-copy {
    display: contents
  }

  .overview-page .hero-game-icon {
    grid-column: 1;
    grid-row: 1;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 13px
  }

  .overview-page .hero .hero-copy h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: 28px;
    line-height: 1.3;
    margin: 0;
    align-self: start
  }

  .overview-hero-illustration {
    grid-column: 2;
    grid-row: 1/span 2;
    align-self: center
  }

  .overview-hero-illustration img {
    max-height: 170px;
    object-fit: contain
  }

  .overview-page .hero .intro,
  .overview-page .hero .tags,
  .overview-page .hero .hero-actions {
    grid-column: 1/-1
  }
}

@media(max-width:420px) {
  .overview-page .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 12px
  }

  .overview-page .hero .hero-copy h1 {
    font-size: 25px
  }

  .overview-page .hero-game-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px
  }

  .overview-hero-illustration img {
    max-height: 135px
  }
}

.overview-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f4f3fa;
  border-bottom: 1px solid #e7e0f7
}

.overview-page .hero>.container {
  position: relative;
  z-index: 1
}

.overview-page .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--hero-banner-height, calc(100% - 108px));
  z-index: 0;
  pointer-events: none;
  background-color: #15266b;
  background-image: linear-gradient(90deg, #10154938 0%, #17174915 48%, transparent 70%), url("overview-hero-glow-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.overview-page .hero::after {
  content: none
}

.overview-page .hero .intro {
  text-shadow: 0 1px 5px #10144180
}

@media(max-width:800px) {
  .overview-page .hero::before {
    background-position: 65% center;
    background-image: linear-gradient(180deg, #11154c15, #11154c99 55%, #11154c55), url("overview-hero-glow-background.webp")
  }
}

.overview-page .hero h1,
.overview-page .hero .hero-copy h1 {
  color: #fff;
  text-shadow: 0 2px 8px #29165b15
}

.overview-page .hero .intro {
  color: #f3edff
}

@media(max-width:800px) {
  .overview-page .hero .intro-disclosure {
    display: block;
    grid-column: 1/-1;
    min-width: 0
  }

  .overview-page .hero .intro-disclosure #intro {
    margin: 0;
    line-height: 1.75
  }

  .overview-page .hero #intro.intro-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 3.5em;
    overflow: hidden
  }

  .overview-page .hero .intro-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 0;
    padding: 6px 2px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #e0d7ee;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer
  }

  .overview-page .hero .intro-toggle:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px
  }

  .overview-page .hero .intro-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px
  }

  .overview-page .hero .intro-toggle[hidden] {
    display: none
  }
}

.overview-page .hero .breadcrumbs,
.overview-page .hero .breadcrumbs a {
  color: #e6d9ff
}

.overview-page .hero .tags>span {
  background: #ffffffeb;
  border-color: #ffffffc2;
  color: #674b94;
  box-shadow: 0 3px 8px #2c17450a
}

.overview-page .hero .platform-button.android {
  background: #fff;
  color: #6035ce;
  border-color: #fff;
  box-shadow: 0 4px 14px #25133d1a
}

.overview-page .hero .platform-button.android:hover {
  background: #f2eaff;
  border-color: #f2eaff
}

.overview-page .hero .platform-button.ios {
  background: #6041b4;
  color: #fff;
  border-color: #cdb8f3
}

.overview-page .hero .platform-button.ios:hover {
  background: #52359e;
  border-color: #e0cffb
}

.overview-page .hero .stats {
  background: #fffffff5;
  border-color: #ffffffb0;
  box-shadow: 0 7px 22px #3920640a
}

.overview-page .hero .stats p {
  color: #6a617c
}

.overview-page .hero .stats strong {
  color: var(--ink)
}

.overview-page .overview-hero-illustration img {
  filter: drop-shadow(0 16px 25px #56277b25)
}

.app-preview-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #e4d8f1;
  border-radius: 10px;
  overflow: hidden;
  background: #21112b;
  cursor: zoom-in
}

.app-preview-link>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover
}

.overview-page #screenshots .preview-disclosure {
  font-size: 12px;
  line-height: 1.7;
  color: #79658c;
  margin: 14px 0 0
}

.preview-dialog {
  border: 1px solid #c4afd9;
  border-radius: 13px;
  padding: 50px 14px 14px;
  background: #fff;
  max-width: min(94vw, 680px);
  max-height: 94dvh;
  overflow: auto;
  box-shadow: 0 20px 70px #17102c55
}

.preview-dialog::backdrop {
  background: #171023bd
}

.preview-dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #ddcfee;
  background: #f6f0fc;
  color: #69429a;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  cursor: pointer
}

.preview-dialog>img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 75dvh;
  margin: auto;
  border-radius: 7px
}

.preview-dialog>p {
  font-size: 12px;
  text-align: center;
  color: #79658c;
  margin: 12px 0 0
}

@media(max-width:550px) {
  .overview-page .screenshots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px
  }

  .overview-page #screenshots .preview-disclosure {
    font-size: 12px
  }

  .preview-dialog {
    padding: 49px 10px 12px
  }

  .preview-dialog>img {
    max-height: 72dvh
  }
}

.screenshot-carousel {
  position: relative;
  min-width: 0
}

.overview-page #screenshots .screenshots-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px;
  overscroll-behavior-x: contain
}

.overview-page #screenshots .screenshots-grid::-webkit-scrollbar {
  display: none
}

.overview-page #screenshots .screenshot {
  flex: 0 0 calc((100% - 28px)/3);
  min-width: 0;
  scroll-snap-align: start
}

.screenshot-arrow {
  position: absolute;
  top: calc(50% - 36px);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d9c9f3;
  border-radius: 50%;
  background: #fff;
  color: #6035ce;
  box-shadow: 0 3px 12px #28144926;
  cursor: pointer;
  z-index: 1
}

.screenshot-arrow.previous {
  left: -12px
}

.screenshot-arrow.next {
  right: -12px
}

.screenshot-arrow svg {
  width: 21px;
  height: 21px
}

.screenshot-arrow:disabled {
  opacity: .55;
  cursor: default
}

.screenshot-arrow[hidden] {
  display: none
}

.screenshot-arrow:focus-visible,
.screenshots-grid:focus-visible {
  outline: 2px solid #6035ce;
  outline-offset: 3px
}

@media(max-width:600px) {
  .overview-page #screenshots .screenshot {
    flex-basis: 65%
  }

  .screenshot-arrow.previous {
    left: -10px
  }

  .screenshot-arrow.next {
    right: -10px
  }
}

.overview-page #collection .game-category {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0
}

.overview-page #collection .game-category-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover
}

.overview-page #collection .game-category strong {
  display: block;
  width: 100%;
  padding: 13px 8px;
  font-size: 15px;
  line-height: 1.5
}
