/* css/mobile-gate.css — the "please use a tablet" block screen. Same fade
 * mechanics as .sleep-overlay/.driver-info-overlay (components.css,
 * driver-info.css), positioned above both (z-index) since it should cover
 * the app regardless of what other overlay state it was in. */

.mobile-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--color-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease-standard);
}

.mobile-gate-overlay[hidden] {
  display: none;
}

.mobile-gate-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-gate-card {
  width: min(26rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  background: radial-gradient(circle at 50% 0%, var(--color-accent-faint), transparent 60%), var(--color-surface);
}

.mobile-gate-card__motif {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-accent-faint);
  margin-bottom: var(--space-xs);
}

.mobile-gate-card__motif svg {
  width: 1.6rem;
  height: 1.6rem;
}

.mobile-gate-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-title);
  color: var(--color-text-primary);
}

.mobile-gate-card__body {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  line-height: var(--leading-body);
  max-width: 32ch;
}
