.gate-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, #152238 0%, #1e3a5f 100%);
  color: #fff;
  overflow-y: auto;
  padding: 24px 20px 40px;
  -webkit-overflow-scrolling: touch;
}
.gate-screen[hidden] { display: none !important; }

body:not(.gate-passed) #app {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.gate-logo { text-align: center; margin: 28px 0 12px; }
.gate-logo-img {
  width: 96px; height: 96px; border-radius: 24px;
  object-fit: cover; display: block; margin: 0 auto 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border: 3px solid rgba(142, 202, 255, 0.55);
  background: #0c4a6e;
}
.gate-logo .ice { font-size: 36px; font-weight: 900; color: #8ecaff; line-height: 1.1; letter-spacing: -0.02em; }
.gate-logo .sub { font-size: 14px; color: #b0c4de; font-weight: 700; margin-top: 6px; }

.gate-title {
  font-size: 22px; font-weight: 900; text-align: center;
  margin: 16px 0 8px; line-height: 1.3;
}
.gate-lead {
  font-size: 15px; text-align: center; color: #c5d4e8;
  margin-bottom: 20px; line-height: 1.5; font-weight: 600;
}
.gate-warn {
  background: rgba(229, 57, 53, 0.25); border: 2px solid #e53935;
  border-radius: 12px; padding: 12px; margin-bottom: 16px;
  font-size: 14px; font-weight: 700; text-align: center;
}

.gate-steps {
  background: rgba(255,255,255,0.08); border-radius: 14px;
  padding: 16px; margin-bottom: 16px;
}
.gate-steps h3 { margin: 0 0 12px; font-size: 16px; font-weight: 900; }
.gate-steps ol { margin: 0; padding-left: 20px; }
.gate-steps li {
  margin-bottom: 10px; font-size: 15px; line-height: 1.45; font-weight: 600;
}
.gate-steps strong { color: #8ecaff; }

.gate-platform { display: none; }
.gate-platform.active { display: block; }

.gate-pin {
  width: 100%; font-size: 28px; letter-spacing: 8px; text-align: center;
  padding: 14px; border: 2px solid #8ecaff; border-radius: 12px;
  background: rgba(0,0,0,0.2); color: #fff; margin: 12px 0;
}
.gate-pin:focus { outline: none; border-color: #fff; }
.gate-btn {
  width: 100%; border: none; background: #00a651; color: #fff;
  font-size: 17px; font-weight: 900; padding: 16px; border-radius: 12px;
  cursor: pointer; margin-top: 8px;
}
.gate-btn:disabled { opacity: 0.5; }
.gate-err { color: #ff8a80; font-size: 14px; font-weight: 700; text-align: center; min-height: 20px; margin-top: 8px; }

.gate-icon-row {
  display: flex; justify-content: center; gap: 24px; margin: 16px 0;
  font-size: 48px;
}