.registration-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
}

.registration-gate.is-complete { display: none; }

.registration-dialog {
  width: min(460px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  background: #0d0d0d;
  border: 1px solid #4a3b16;
  border-radius: 7px;
  padding: 30px 34px 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .7);
}

.registration-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #4a3b16;
  margin-bottom: 25px;
}

.registration-tabs span {
  position: relative;
  padding: 0 1px 13px;
  color: #78682f;
  font-size: 13px;
}

.registration-tabs .active { color: #d4af37; font-weight: 600; }
.registration-tabs .active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #d4af37;
}

.registration-kicker {
  display: block;
  margin-bottom: 8px;
  color: #8e7626;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.registration-dialog h2 {
  margin: 0 0 25px;
  color: #d4af37;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.registration-form { display: grid; gap: 17px; }
.registration-field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #d4af37;
  font-size: 11px;
  font-weight: 600;
}

.registration-field label em {
  color: #78682f;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
}

.registration-field input {
  width: 100%;
  height: 44px;
  border: 1px solid #4a3b16;
  border-radius: 3px;
  background: #080808;
  padding: 0 13px;
  color: #d4af37;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.registration-field input::placeholder { color: #706331; }
.registration-field input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}
.registration-field input.invalid { border-color: #a44338; }
.registration-rules { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.registration-rules span { color: #795044; font-size: 9px; }
.registration-rules span::before { content: 'x'; display: inline-block; margin-right: 4px; font-weight: 700; }
.registration-rules span.valid { color: #b89b4a; }
.registration-rules span.valid::before { content: '\2713'; }
.registration-rules.single-rule { min-height: 11px; }
.registration-error { min-height: 16px; margin: -3px 0 -4px; color: #d4685b; font-size: 10px; }
.registration-submit {
  width: 100%;
  height: 45px;
  border: 1px solid #d4af37;
  border-radius: 3px;
  background: #d4af37;
  color: #050505;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.registration-submit:hover { background: #e1c45a; border-color: #e1c45a; }
.registration-submit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.registration-locked { overflow: hidden; }

@media (max-width: 600px) {
  .registration-gate { padding: 12px; }
  .registration-dialog { max-height: calc(100vh - 24px); padding: 24px 20px; }
  .registration-form { gap: 14px; }
  .registration-dialog h2 { margin-bottom: 21px; font-size: 23px; }
}
