.arcade-index {
  --arcade-header-height: calc(64px + env(safe-area-inset-top));
  --arcade-nav-glass: linear-gradient(150deg, #b9d1e31a, transparent 32%), #0c121bb3;
}
.arcade-index .right-cluster { right: calc(12px + env(safe-area-inset-right)); }
.arcade-index #nav .tab {
  --nav-glass: #111e28;
  --nav-highlight: linear-gradient(125deg, #57354f75, #27304360 70%);
  color: #ffd2eb;
  border-color: #d586b48c;
  background-color: var(--nav-glass);
  background-image: linear-gradient(155deg, #d8c5e016, transparent 55%);
  box-shadow: inset 0 1px 1px #f9c8dd2b, 0 3px 10px #05070b63;
  text-shadow: 0 1px 3px #0b1219;
}
.arcade-index #nav .tab::before { background-color: #afd1e0; }
.arcade-index #nav .tab:is([aria-current="page"],:focus-visible,.nav-pointer-hover) {
  color: #ffe5f4;
  border-color: #e8a8cc;
  background-image: var(--nav-highlight);
}
.arcade-index #nav .tab.nav-pointer-hover {
  background-image: url('/icons/nav-moustache.webp'), var(--nav-highlight);
  background-repeat: no-repeat;
}
.arcade-index .broadcast-menu-item { position: relative; }
.arcade-index .broadcast-menu-item[hidden], .arcade-index .broadcast-menu-new[hidden] { display: none; }
.arcade-index .broadcast-menu-new {
  position: absolute;
  z-index: 1;
  top: -8px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 27px;
  clip-path: polygon(50% 0,60% 15%,78% 3%,76% 24%,100% 21%,87% 42%,100% 57%,78% 63%,83% 88%,61% 80%,50% 100%,40% 83%,17% 97%,22% 72%,0 73%,12% 52%,0 37%,25% 33%,18% 10%,41% 20%);
  background: #d72b41;
  color: #fff;
  font: 800 9px system-ui, sans-serif;
  pointer-events: none;
}
@media (width >= 1025px) and (height > 400px) {
  .arcade-index .arcade-home { display: none; }
  .arcade-index .game-menu { padding-left: max(190px, 15vw); }
  .arcade-index::before {
    content: "";
    position: fixed;
    inset: var(--arcade-header-height) auto 0 0;
    width: clamp(150px, 13vw, 235px);
    background: var(--arcade-nav-glass);
    border-inline-end: 1px solid #cfd6e233;
    box-shadow: inset 0 1px 0 #d9e7f021, 8px 0 32px #05080e40;
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    pointer-events: none;
    z-index: 29;
  }
}
@media (width < 1025px), (height <= 400px) {
  .arcade-index #nav.open {
    background: linear-gradient(#06080d,#06080d) top / 100% var(--arcade-header-height) no-repeat, var(--arcade-nav-glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
  }
  .arcade-index.in-game .game-menu {
    align-items: flex-start;
    padding-top: clamp(16px, 4dvh, 32px);
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .arcade-index { --arcade-header-height: calc(54px + env(safe-area-inset-top)); }
}
