@use '../../../../styles/_globals.scss' as *;

:host {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  padding: var(--s4);
  z-index: var(--z-focus-mode-countdown);
  pointer-events: none;
}

.message-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  width: min(90%, 28rem);
}

.prep-content {
  display: flex;
  flex-direction: column;
  gap: var(--s1);

  &.countdown-over * {
    opacity: 0;
  }

  &.countdown-over .countdown-timer {
    opacity: 1;
  }
}

.action-msg {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.go-msg {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s1);

  li {
    font-size: 18px;
  }
}

.countdown-timer {
  margin-top: 32px;
  line-height: 1;
  font-size: 48px;
  font-weight: 700;
}

focus-mode-preparation-rocket {
  max-width: min(320px, 70vw);
}
