/* Test prompt — appears after 15s on home */
.test-prompt {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.test-prompt.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.test-prompt__box {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  transform: translateY(16px);
  transition: transform 0.35s ease;
}

.test-prompt.is-visible .test-prompt__box {
  transform: translateY(0);
}

.test-prompt__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-prompt__tag {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.test-prompt__box h3 {
  margin: 0 0 14px;
  padding-right: 28px;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text);
}

.test-prompt__text {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text2);
}

.test-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.test-prompt__later {
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .test-prompt {
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
  }

  .test-prompt__box {
    width: 100%;
  }

  .test-prompt__actions .btn {
    width: 100%;
  }
}
