* {
  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;
}


.team-content {
  width: 100%;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-title {
  margin: 0 0 24px;
  font-size: 50px;
  font-weight: 900;
  text-align: center;
}

.team-info {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-info strong {
  font-size: 20px;
}

.menu-links {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}

.links-change {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(400px, 100%);
  min-height: 50px;
  text-decoration: none;
  background-color: white;
  color: #0f172a;
  border-radius: 16px;
  font-weight: 700;
}

.links-change a{
    text-decoration: none;
    color: #0f172a;
}

.team-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.team-form input,
.team-form button {
  width: 100%;
  max-width: 420px;
}

.team-form input {
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
}

.team-form button {
  padding: 14px 18px;
  border-radius: 14px;
  border: none;
  background: #38bdf8;
  color: #082f49;
  font-weight: 700;
  cursor: pointer;
}

.flash {
  margin-bottom: 16px;
  text-align: center;
}





.team-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 24px;
}

.team-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 18px;
}

.team-tab {
  border: none;
  border-radius: 14px;
  min-height: 46px;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
  text-transform: uppercase;
}

.team-tab.active {
  background: white;
  color: #082f49;
}

.team-panel {
  display: none;
}

.team-panel.active {
  display: block;
}

.team-section-title {
  margin: 0 0 16px;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 800;
}

.team-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  text-align: center;
  color: white;
  font-size: 1rem;
  outline: none;
}

.team-input::placeholder {
  color: rgba(255,255,255,0.55);
}

.team-btn {
  min-height: 52px;
  border: none;
  border-radius: 16px;
  text-transform: uppercase;
  background: white !important;
  color: #082f49 !important;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
