/* IceBlue gate — Material Design 3 aligned */
.gate-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1565C0;
  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: 36px 0 16px; }
.gate-logo-img {
  width: 88px; height: 88px; border-radius: 22px;
  object-fit: cover; display: block; margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  border: 2px solid rgba(255,255,255,0.35);
  background: #fff;
}
.gate-logo .ice {
  font-size: 32px; font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.02em;
}
.gate-logo .sub {
  font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500; margin-top: 6px;
}

.gate-title {
  font-size: 20px; font-weight: 700; text-align: center;
  margin: 20px 0 8px; line-height: 1.3;
}
.gate-lead {
  font-size: 15px; text-align: center; color: rgba(255,255,255,0.88);
  margin-bottom: 20px; line-height: 1.5; font-weight: 500;
}
.gate-warn {
  background: rgba(198, 40, 40, 0.25); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px; padding: 12px; margin-bottom: 16px;
  font-size: 14px; font-weight: 600; text-align: center;
}

.gate-steps {
  background: rgba(255,255,255,0.12); border-radius: 16px;
  padding: 16px; margin-bottom: 16px;
}
.gate-steps h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.gate-steps ol { margin: 0; padding-left: 20px; }
.gate-steps li {
  margin-bottom: 10px; font-size: 15px; line-height: 1.45; font-weight: 500;
}
.gate-steps strong { color: #fff; }

.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: 1px solid rgba(255,255,255,0.4); border-radius: 16px;
  background: rgba(0,0,0,0.12); color: #fff; margin: 12px 0;
  font-family: inherit;
}
.gate-pin:focus { outline: 2px solid #fff; border-color: transparent; }
.gate-btn {
  width: 100%; border: none; background: #2E7D32; color: #fff;
  font-size: 16px; font-weight: 600; min-height: 52px; padding: 14px;
  border-radius: 999px; cursor: pointer; margin-top: 8px; font-family: inherit;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
}
.gate-btn:disabled { opacity: 0.5; }
.gate-err {
  color: #FFCDD2; font-size: 14px; font-weight: 600;
  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;
}
