html.preview-locked,
html.preview-locked body { margin: 0; background: #171a1c; color: #f4f4f1; }
html.preview-locked #root { display: none; }
.preview-gate,
.preview-gate * { box-sizing: border-box; }
.preview-gate {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 32px 40px;
  background: #171a1c;
  color: #f4f4f1;
  font: 16px/1.5 Arial, sans-serif;
}
.preview-gate-panel {
  width: min(860px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(32px, 6vh, 64px);
}
.preview-gate .preview-gate-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(310px, 38svh);
  object-fit: contain;
  filter: invert(1) contrast(1.1);
  mix-blend-mode: screen;
}
.preview-gate .preview-gate-form { display: grid; width: min(360px, 100%); margin: 0; }
.preview-gate label { font: inherit; font-size: 14px; margin: 0 0 10px; color: #dedfdd; }
.preview-gate input {
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #7b8082;
  border-radius: 0;
  background: transparent;
  color: #f4f4f1;
  font: inherit;
  font-size: 18px;
  box-shadow: none;
}
.preview-gate input:focus-visible { outline: 2px solid #f4f4f1; outline-offset: 3px; }
.preview-gate .preview-gate-message { min-height: 24px; margin: 8px 0 10px; color: #dedfdd; font: inherit; font-size: 14px; line-height: 1.5; }
.preview-gate button {
  justify-self: end;
  min-width: 104px;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid #7b8082;
  border-radius: 0;
  background: transparent;
  color: #f4f4f1;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  touch-action: manipulation;
}
.preview-gate button:hover { background: #292e31; border-color: #f4f4f1; }
.preview-gate button:focus-visible { outline: 2px solid #f4f4f1; outline-offset: 3px; }
.preview-gate button:disabled { opacity: .6; cursor: wait; }
.preview-gate-noscript { position: absolute; inset: auto 24px 16px; text-align: center; font: 14px/1.5 Arial,sans-serif; color: #dedfdd; }
@media (max-width: 600px) {
  .preview-gate { padding: 28px 24px; }
  .preview-gate-panel { gap: 40px; }
  .preview-gate .preview-gate-logo { max-height: 30svh; }
  .preview-gate .preview-gate-form { width: min(320px, 100%); }
}
@media (max-height: 500px) {
  .preview-gate { padding-block: 24px; }
  .preview-gate-panel { gap: 24px; }
  .preview-gate .preview-gate-logo { max-height: 28svh; }
}
