/* =========================
OVERLAY
========================= */

.focus-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.35);

z-index: 999;

opacity: 0;
pointer-events: none;

transition: opacity 0.3s ease;
}

.focus-overlay.show {
opacity: 1;
}

/* =========================
MODULE EXIT OVERLAY
========================= */

.module-exit-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;

  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.72);

  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: 0.22s ease;
}

.module-exit-btn:hover {
  background: rgba(255,225,68,0.92);
  color: #111;
  border-color: rgba(255,225,68,0.92);
  transform: translateY(-2px);
}

.module-menu-jump {
  position: fixed;
  top: 62px;
  right: 18px;
  z-index: 1001;

  width: 36px;
  height: 36px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.70);

  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;

  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: 0.22s ease;
}

.module-menu-jump:hover {
  background: rgba(255,225,68,0.92);
  color: #111;
  border-color: rgba(255,225,68,0.92);
  transform: translateY(-2px);
}

.module-exit-box {
  position: fixed;
  inset: 0;
  z-index: 1002;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.module-exit-box.show {
  display: flex;
}

.module-exit-card {
  width: min(520px, 100%);

  padding: 40px;

  text-align: center;
}

.module-exit-card h2 {
  margin: 24px 0 16px;
}

.module-exit-card p {
  margin: 0 auto 28px;

  max-width: 420px;
}

.module-exit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  justify-content: center;
}

.module-exit-card {
  color: var(--dark);
}

.module-exit-card h2,
.module-exit-card p {
  color: var(--dark);
}
