.mobile-website-nav {
  display: none;
}

@media (max-width: 767px) {
  .aq-website .website-shell {
    --aq-mobile-header-height: env(safe-area-inset-top, 0px);
    --aq-mobile-nav-base-height: 14.93333vw;
    --aq-mobile-nav-height: calc(var(--aq-mobile-nav-base-height) + env(safe-area-inset-bottom, 0px));
  }

  .aq-website .website-shell > .site-header,
  .aq-website .website-shell > .to-top,
  .aq-website .website-shell:is(.website-shell--archive-home, .website-shell--archive-category, .website-shell--archive-full) .website-footer,
  .aq-website .website-shell:is(.website-shell--archive-game-detail, .website-shell--archive-trade-detail, .website-shell--archive-welfare) .mobile-website-nav {
    display: none;
  }

  .aq-website .website-shell > .website-main {
    padding-top: var(--aq-mobile-header-height);
    padding-bottom: var(--aq-mobile-nav-height);
  }

  .aq-website .website-shell:is(.website-shell--archive-home, .website-shell--archive-category, .website-shell--archive-full) > .website-main {
    width: 100%;
  }

  .aq-website .website-shell:is(.website-shell--archive-category, .website-shell--archive-game-detail, .website-shell--archive-trade-detail, .website-shell--archive-welfare) > .website-main {
    padding: 0;
  }

  /* Main.vue uses a 750px design canvas. These viewport units match its compiled app CSS. */
  .mobile-website-nav {
    position: fixed;
    z-index: 50;
    inset: auto 0 0;
    display: block;
    height: var(--aq-mobile-nav-height);
    padding: .93333vw max(4vw, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4vw, env(safe-area-inset-left, 0px));
    border-top: .5px solid #eef0f2;
    background: #fff;
    box-shadow: 0 -.53333vw 3.2vw rgba(31, 35, 41, .04);
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .mobile-website-nav > ul {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: space-around;
  }

  .mobile-website-nav > ul > li {
    display: flex;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  .aq-website .mobile-website-nav-link {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    padding: 0 .53333vw;
    border-radius: 9.06667vw;
    color: #8f959e;
    font-size: 2.66667vw;
    font-weight: 700;
    line-height: 3.73333vw;
    text-align: center;
    text-decoration: none;
  }

  .mobile-website-nav-link img {
    display: block;
    width: 6.4vw;
    height: 6.4vw;
    flex: none;
    margin-bottom: .26667vw;
    object-fit: contain;
    transition: transform .2s ease;
  }

  .mobile-website-nav .tab-sy img,
  .mobile-website-nav .tab-jy img,
  .mobile-website-nav .tab-wd img {
    margin-right: .53333vw;
  }

  .aq-website .mobile-website-nav-link.is-active {
    color: #2acbaf;
    font-weight: 600;
  }

  .mobile-website-nav-link.is-active img {
    transform: scale(1.08);
  }

  .mobile-website-nav-link:focus-visible {
    outline: 2px solid #007d6a;
    outline-offset: 2px;
  }

  .aq-website .website-shell .detail-section-nav,
  .aq-website .website-shell .reading-progress {
    top: var(--aq-mobile-header-height);
  }

  .aq-website .website-shell .detail-section {
    scroll-margin-top: calc(var(--aq-mobile-header-height) + 63px);
  }

  .aq-website .website-shell .article-content :is(h2, h3) {
    scroll-margin-top: calc(var(--aq-mobile-header-height) + 16px);
  }

  .aq-website .website-shell .site-toast {
    bottom: calc(var(--aq-mobile-nav-height) + 12px);
  }
}
