* {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #0f172a;
  color: white;
}

body {
  overscroll-behavior: none;
  touch-action: manipulation;
  min-height: 100dvh;
}

#team-box {
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
}

.screen {
  display: none;
  width: 100%;
  height: 100%;
  padding: 20px;
}







.menu-corner-bar {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.menu-corner-left,
.menu-corner-right {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.menu-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.menu-icon-btn:hover,
.menu-icon-btn:active {
  transform: translateY(-1px) scale(1.02);
  background: rgba(255,255,255,0.16);
}

.menu-icon {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}


.menu-links{
    align-items: center;
    text-align: center;
}

button {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

#restart-btn {
  background: white;
  color: #082f49;
  font-weight: 600;
  padding-left: 90px;
  padding-right: 90px;
  margin-top: 16px;
}