/* Terminal data lock for signed-out visitors — blur + lock overlay, no interaction. */
.k-auth-gate-host {
  position: relative;
}

/* Dashboard: one sign-in card in the right column; other zones blur only. */
#d2ColTerminal.k-auth-gate-host {
  min-height: 320px;
}

/* Sign-in card top-aligned with Daily Brief (same grid row), not vertical center of column. */
#d2ColTerminal.k-auth-gate-host > .k-auth-gate-overlay {
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
}

.k-auth-gate-host.k-auth-gate-active > :not(.k-auth-gate-overlay):not(header):not(.site-head) {
  filter: blur(5px);
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.k-auth-gate-host.k-auth-gate-active > main,
.k-auth-gate-host.k-auth-gate-active > .d2-wrap {
  filter: blur(5px);
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.k-auth-gate-overlay {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 8, 18, 0.55);
  pointer-events: auto;
  min-height: 120px;
}

/* Full-page or large empty areas: center the card on the viewport. */
.k-auth-gate-overlay--viewport {
  position: fixed;
  inset: 0;
  z-index: 500;
  padding: 24px 16px;
}

.k-auth-gate-card {
  max-width: 300px;
  text-align: center;
  padding: 16px 16px 14px;
  border-radius: 10px;
  border: 1px solid var(--k-line, #1e3a5f);
  background: var(--glass-fill-solid, #0c1428);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.k-auth-gate-title {
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--k-t1, #f3f7fb);
  margin: 0 0 12px;
}

.k-auth-gate-btn {
  display: inline-block;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--btn-fill, #346ce8);
  color: #fff;
  background: var(--btn-fill, #346ce8);
  text-decoration: none;
}

.k-auth-gate-btn:hover {
  background: var(--btn-fill-hover, #5986ec);
  border-color: var(--btn-fill-hover, #5986ec);
}
