/* UNION MATCH v21 - BOT / CREATOR tablet-mobile fixed navigation */
.subpage-bottom-nav {
  display: none;
}

@media screen and (max-width: 1366px) {
  body {
    padding-top: 64px !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }

  .creator-topbar,
  .bot-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 220 !important;
    transform: none !important;
  }

  .subpage-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 220 !important;
    height: calc(68px + env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(16,18,22,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -8px 28px rgba(0,0,0,.22);
    transform: none !important;
  }

  .subpage-bottom-nav a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    color: rgba(255,255,255,.66);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .subpage-bottom-nav a.active {
    color: #fff;
    background: rgba(26,176,241,.22);
    box-shadow: inset 0 2px 0 #1ab0f1;
  }
}

@media screen and (max-width: 600px) {
  body {
    padding-top: 58px !important;
  }
}


/* =========================================================
   v21.1 SITE MENU LAYER UNIFY
   - BOT / CREATOR の三本線メニューを下部固定ナビより前面に統一
   - 表示順だけを変更。レイアウト / 機能は変更しない
   ========================================================= */
.site-menu-backdrop {
  z-index: 1190 !important;
}

.site-menu-drawer {
  z-index: 1200 !important;
}
