.motorica-trial-banner {
  position: sticky;
  inset-block-start: 0;
  z-index: 1045;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .7rem 1rem;
  background: #0d234b;
  color: #fff;
  border-block-end: 3px solid #ff6600;
  font-weight: 700;
  text-align: center;
}
.motorica-trial-banner--urgent { background: #7a2e00; }
.motorica-trial-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 12, 28, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.motorica-trial-gate__card {
  width: min(100%, 38rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(255, 102, 0, .45);
  border-radius: 1rem;
  background: var(--motorica-theme-surface, #fff);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .34);
  color: var(--motorica-theme-ink, #0d234b);
  text-align: center;
}
.motorica-trial-gate__icon { color: var(--motorica-theme-link, #ff6600); font-size: 2rem; }
.motorica-trial-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
html[dir="rtl"] .motorica-trial-banner { direction: rtl; }
@media (prefers-reduced-motion: reduce) { .motorica-trial-gate * { scroll-behavior: auto !important; } }
