/* Minute of Silence styles (ideal) */

#mos-overlay.mos-overlay {
  touch-action: none;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  background: var(--mos-bg, rgba(0,0,0,.85));
  padding: 24px;
  /* Block interactions and selection */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#mos-overlay.mos-overlay.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

#mos-overlay .mos-card {
  max-width: 760px;
  width: 100%;
  text-align: center;
  color: #fff;
}

#mos-overlay .mos-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

#mos-overlay .mos-subtitle {
  font-size: 16px;
  opacity: .92;
  margin-bottom: 18px;
}

#mos-overlay .mos-timer {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 1px;
}

#mos-overlay .mos-close {
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

#mos-overlay .mos-close:hover {
  background: rgba(255,255,255,.14);
}

/* Lock page scrolling while overlay is visible */
html.mos-lock, body.mos-lock {
  overflow: hidden !important;
  height: 100% !important;
}

/* Ensure overlay blocks all interactions when visible */
#mos-overlay.mos-overlay {
  touch-action: none;
  overscroll-behavior: none;
  pointer-events: none;
}
#mos-overlay.mos-overlay.is-visible {
  pointer-events: auto;
}
