/* Remote gate overlay — maintenance & force update */
.t2-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(29, 78, 216, 0.35), transparent 42%),
    radial-gradient(circle at 80% 85%, rgba(25, 169, 116, 0.22), transparent 38%),
    rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
}

.t2-gate-card {
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border-radius: 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.t2-gate-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #19a974 100%);
}

.t2-gate-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.t2-gate-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
  color: #475569;
}

.t2-gate-meta {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.t2-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t2-gate-btn {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

.t2-gate-btn.secondary {
  background: #f1f5f9;
  color: #334155;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.t2-gate-btn:hover { filter: brightness(1.03); }

.t2-gate-overlay[data-kind="maintenance"] .t2-gate-logo {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.t2-gate-overlay[data-kind="update"] .t2-gate-logo {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
}
