/* Unreal Auth Dark 2.0 — scoped cinematic interface */
.unr-auth {
  --unr-accent: #b9ef37;
  --unr-accent-2: #78db22;
  --unr-accent-soft: rgba(185, 239, 55, .13);
  --unr-bg: #070907;
  --unr-panel: rgba(16, 19, 16, .96);
  --unr-panel-2: #111511;
  --unr-field: #0b0e0b;
  --unr-border: rgba(255, 255, 255, .09);
  --unr-border-hot: rgba(185, 239, 55, .48);
  --unr-text: #f5f7f2;
  --unr-muted: #8f988d;
  --unr-danger: #ff6b6b;
  --unr-warning: #ffbf5b;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1160px;
  margin: 24px auto;
  padding: 1px;
  color: var(--unr-text);
  font-family: "Play", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  box-sizing: border-box;
}

.unr-auth *,
.unr-auth *::before,
.unr-auth *::after { box-sizing: border-box; }

.unr-auth a { color: inherit; }
.unr-auth svg { display: block; }
.unr-auth__icon { width: 20px; height: 20px; flex: 0 0 auto; }

.unr-auth__ambient {
  position: absolute;
  inset: -40px;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  filter: blur(1px);
}

.unr-auth__ambient span {
  position: absolute;
  border-radius: 999px;
  opacity: .65;
  filter: blur(70px);
}

.unr-auth__ambient span:nth-child(1) {
  width: 280px;
  height: 280px;
  left: 3%;
  top: 12%;
  background: rgba(133, 221, 43, .15);
}

.unr-auth__ambient span:nth-child(2) {
  width: 220px;
  height: 220px;
  right: 4%;
  bottom: 3%;
  background: rgba(31, 104, 64, .16);
}

.unr-auth__ambient span:nth-child(3) {
  width: 140px;
  height: 140px;
  left: 48%;
  bottom: 10%;
  background: rgba(185, 239, 55, .1);
}

.unr-auth__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(480px, 1.05fr);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(185, 239, 55, .22);
  border-radius: 28px;
  background: var(--unr-bg);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, .52),
    0 0 0 1px rgba(255, 255, 255, .025) inset,
    0 0 80px rgba(166, 235, 47, .045);
}

.unr-auth__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 18%, transparent 75%, rgba(185,239,55,.035));
}

.unr-auth__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 42px 44px 36px;
  overflow: hidden;
  border-right: 1px solid var(--unr-border);
  background:
    linear-gradient(rgba(185,239,55,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,239,55,.04) 1px, transparent 1px),
    radial-gradient(circle at 45% 70%, rgba(149,230,47,.15), transparent 34%),
    linear-gradient(155deg, #101510 0%, #090b09 60%, #050705 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.unr-auth__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(185,239,55,.07) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(185,239,55,.055) 50%, transparent 50.3%);
  background-size: 168px 168px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 86%, transparent);
}

.unr-auth__brand,
.unr-auth__mobile-brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5f8f1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .17em;
}

.unr-auth__brand b,
.unr-auth__mobile-brand b { color: var(--unr-accent); font-weight: 700; }

.unr-auth__brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transform: rotate(45deg);
  border: 1px solid rgba(185,239,55,.7);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(185,239,55,.18), rgba(185,239,55,.02));
  box-shadow: 0 0 22px rgba(185,239,55,.13), inset 0 0 14px rgba(185,239,55,.08);
}

.unr-auth__brand-mark::before,
.unr-auth__brand-mark::after,
.unr-auth__brand-mark i {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--unr-accent);
  box-shadow: 0 0 13px rgba(185,239,55,.55);
}

.unr-auth__brand-mark::before { transform: translate(-6px, -6px); opacity: .38; }
.unr-auth__brand-mark::after { transform: translate(6px, 6px); opacity: .7; }
.unr-auth__brand-mark i { transform: scale(.62); }

.unr-auth__hero {
  position: relative;
  z-index: 3;
  margin-top: 76px;
}

.unr-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--unr-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.unr-auth__eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(185,239,55,.08), 0 0 16px rgba(185,239,55,.55);
}

.unr-auth__hero h2,
.unr-auth__success-card h2 {
  margin: 20px 0 18px;
  color: #f5f7f2;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.unr-auth__hero h2 { margin-top: 0; }

.unr-auth__hero h2 em,
.unr-auth__success-card h2 em {
  color: var(--unr-accent);
  font-style: normal;
  text-shadow: 0 0 30px rgba(185,239,55,.17);
}

.unr-auth__features {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 220px;
}

.unr-auth__features span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aab2a7;
  font-size: 12px;
  letter-spacing: .025em;
}

.unr-auth__features svg { width: 17px; height: 17px; color: var(--unr-accent); }

.unr-auth__art {
  position: absolute;
  left: 50%;
  bottom: 115px;
  width: 285px;
  height: 285px;
  transform: translateX(-50%);
  pointer-events: none;
}

.unr-auth__ring,
.unr-auth__core {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.unr-auth__ring--one {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(185,239,55,.16);
  box-shadow: inset 0 0 45px rgba(185,239,55,.035), 0 0 35px rgba(185,239,55,.04);
  animation: unr-spin 18s linear infinite;
}

.unr-auth__ring--one::before,
.unr-auth__ring--one::after,
.unr-auth__ring--two::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--unr-accent);
  box-shadow: 0 0 16px var(--unr-accent);
}

.unr-auth__ring--one::before { left: 21px; top: 55px; }
.unr-auth__ring--one::after { right: 36px; bottom: 38px; opacity: .4; }

.unr-auth__ring--two {
  width: 185px;
  height: 185px;
  border: 1px dashed rgba(185,239,55,.25);
  animation: unr-spin-reverse 13s linear infinite;
}

.unr-auth__ring--two::before { right: 14px; top: 35px; width: 5px; height: 5px; }

.unr-auth__core {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(185,239,55,.55);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(185,239,55,.2), rgba(8,11,8,.75));
  box-shadow: 0 0 55px rgba(185,239,55,.18), inset 0 0 30px rgba(185,239,55,.08);
  animation: unr-float 5s ease-in-out infinite;
}

.unr-auth__core::before,
.unr-auth__core::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(185,239,55,.25);
  border-radius: 14px;
}

.unr-auth__core::after { inset: 34px; background: var(--unr-accent); box-shadow: 0 0 28px rgba(185,239,55,.7); }

.unr-auth__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 52px clamp(38px, 5vw, 72px) 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(185,239,55,.055), transparent 28%),
    linear-gradient(145deg, rgba(20,24,20,.98), rgba(10,12,10,.99));
}

.unr-auth__mobile-brand { display: none; }

.unr-auth__header { margin-bottom: 24px; }
.unr-auth__header h1 {
  margin: 0;
  color: var(--unr-text);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.unr-auth__notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  color: #cad0c6;
  background: rgba(255,255,255,.035);
  font-size: 12px;
  line-height: 1.55;
  animation: unr-notice-in .35s ease both;
}

.unr-auth__notice svg { width: 18px; height: 18px; margin-top: 1px; }
.unr-auth__notice.is-success { color: #dfffb4; border-color: rgba(185,239,55,.25); background: rgba(185,239,55,.08); }
.unr-auth__notice.is-error { color: #ffd2d2; border-color: rgba(255,107,107,.28); background: rgba(255,107,107,.08); }
.unr-auth__notice.is-warning { color: #ffe0aa; border-color: rgba(255,191,91,.25); background: rgba(255,191,91,.07); }

.unr-auth__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--unr-border);
  border-radius: 13px;
  background: rgba(4, 6, 4, .72);
}

.unr-auth__tab {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 10px 15px;
  border: 0;
  border-radius: 9px;
  color: #7f887d !important;
  background: transparent;
  box-shadow: none;
  appearance: none;
  font-size: 12px;
  font-weight: 650;
  font-family: inherit;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  outline: none;
  transition: color .22s ease;
}

/* v2.3.3: isolate auth tabs from WordPress/theme button hover styles.
   The moving .unr-auth__tab-glow remains the only tab background. */
.unr-auth .unr-auth__tab:hover,
.unr-auth .unr-auth__tab:focus,
.unr-auth .unr-auth__tab:active,
.unr-auth .unr-auth__tab.is-active:hover,
.unr-auth .unr-auth__tab.is-active:focus,
.unr-auth .unr-auth__tab.is-active:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.unr-auth .unr-auth__tab:hover {
  color: #aeb6ac !important;
}

.unr-auth .unr-auth__tab.is-active,
.unr-auth .unr-auth__tab.is-active:hover,
.unr-auth .unr-auth__tab.is-active:focus,
.unr-auth .unr-auth__tab.is-active:active {
  color: #f3f6ef !important;
}

.unr-auth .unr-auth__tab:focus-visible {
  background: transparent !important;
  box-shadow: inset 0 0 0 2px rgba(185,239,55,.35) !important;
}
.unr-auth__tab-glow {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border: 1px solid rgba(185,239,55,.18);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(185,239,55,.13), rgba(185,239,55,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 0 20px rgba(185,239,55,.035);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

.unr-auth[data-active-view="register"] .unr-auth__tab-glow { transform: translateX(100%); }
.unr-auth[data-active-view="forgot"] .unr-auth__tabs,
.unr-auth[data-active-view="verify"] .unr-auth__tabs,
.unr-auth[data-active-view="reset"] .unr-auth__tabs { display: none; }

.unr-auth__view { display: none; }
.unr-auth__view.is-active { display: block; animation: unr-view-in .32s cubic-bezier(.2,.8,.2,1) both; }

.unr-auth__socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unr-auth__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  padding: 10px 16px;
  border: 1px solid var(--unr-border);
  border-radius: 11px;
  color: #dfe4dc !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.unr-auth__social svg { width: 19px; height: 19px; }
.unr-auth__social:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.unr-auth__social--yandex:hover { border-color: rgba(252,63,63,.32); }
.unr-auth__social--google:hover { border-color: rgba(66,133,244,.34); }

.unr-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #626960;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.unr-auth__divider::before,
.unr-auth__divider::after { content: ""; height: 1px; flex: 1; background: var(--unr-border); }

.unr-auth__form { margin: 0; }
.unr-auth__field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unr-auth__field { display: block; margin: 0 0 13px; }
.unr-auth__field-label,
.unr-auth__code-label {
  display: block;
  margin: 0 0 6px;
  color: #9ba397;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .045em;
}

.unr-auth__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--unr-border);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(5,7,5,.92), rgba(11,14,11,.98));
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.unr-auth__input-wrap > svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #697166;
  pointer-events: none;
  transition: color .2s ease;
}

.unr-auth__input-wrap input {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: #edf0e9 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 13px !important;
}

.unr-auth__input-wrap input::placeholder { color: #4c534a; opacity: 1; }
.unr-auth__input-wrap:focus-within {
  border-color: var(--unr-border-hot);
  background: #0c100c;
  box-shadow: 0 0 0 3px var(--unr-accent-soft), inset 0 0 22px rgba(185,239,55,.018);
}
.unr-auth__input-wrap:focus-within > svg { color: var(--unr-accent); }

.unr-auth__focus-line {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 1px;
  transform: scaleX(0);
  background: var(--unr-accent);
  box-shadow: 0 0 10px var(--unr-accent);
  transition: transform .25s ease;
}
.unr-auth__input-wrap:focus-within .unr-auth__focus-line { transform: scaleX(1); }

.unr-auth__password-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #747c71;
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.unr-auth__password-toggle:hover { color: var(--unr-accent); background: rgba(185,239,55,.07); }
.unr-auth__password-toggle svg { width: 17px; height: 17px; }

.unr-auth__field.is-invalid .unr-auth__input-wrap { border-color: rgba(255,107,107,.62); box-shadow: 0 0 0 3px rgba(255,107,107,.08); }
.unr-auth__field-error { display: none; margin: 5px 2px 0; color: #ff9292; font-size: 10px; }
.unr-auth__field.is-invalid .unr-auth__field-error { display: block; }

.unr-auth__strength {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}
.unr-auth__strength i { height: 3px; border-radius: 5px; background: #252a24; transition: background .2s ease, box-shadow .2s ease; }
.unr-auth__strength small { margin-left: 5px; color: #6f776d; font-size: 9px; }
.unr-auth__field[data-strength="1"] .unr-auth__strength i:nth-child(1) { background: var(--unr-danger); }
.unr-auth__field[data-strength="2"] .unr-auth__strength i:nth-child(-n+2) { background: var(--unr-warning); }
.unr-auth__field[data-strength="3"] .unr-auth__strength i { background: var(--unr-accent); box-shadow: 0 0 8px rgba(185,239,55,.2); }

.unr-auth__form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -1px 0 14px;
  font-size: 10px;
}
.unr-auth__view-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--unr-accent) !important;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-decoration: none !important;
  cursor: pointer;
}
.unr-auth__view-link:hover { text-decoration: underline !important; }

.unr-auth__check { display: inline-flex; align-items: center; gap: 8px; color: #7f887d; cursor: pointer; user-select: none; }
.unr-auth__check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.unr-auth__check span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
  background: #090b09;
  transition: border-color .2s ease, background .2s ease;
}
.unr-auth__check span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  transform: rotate(45deg) scale(0);
  border-right: 2px solid #0b0e0a;
  border-bottom: 2px solid #0b0e0a;
  transition: transform .16s ease;
}
.unr-auth__check input:checked + span { border-color: var(--unr-accent); background: var(--unr-accent); }
.unr-auth__check input:checked + span::after { transform: rotate(45deg) scale(1); }

.unr-auth__captcha { margin-top: 1px; }
.unr-auth__captcha-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; }
.unr-auth__captcha-row strong {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1px solid rgba(185,239,55,.15);
  border-radius: 11px;
  color: var(--unr-accent);
  background: rgba(185,239,55,.045);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}
.unr-auth__captcha-row .unr-auth__input-wrap { height: 46px; }

.unr-auth__submit {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100% !important;
  min-height: 48px;
  margin: 5px 0 0 !important;
  padding: 12px 18px !important;
  overflow: hidden;
  border: 1px solid #c6fa46 !important;
  border-radius: 11px !important;
  outline: none;
  color: #11160d !important;
  background: linear-gradient(105deg, #c8f34e, #99e42e) !important;
  box-shadow: 0 8px 24px rgba(149,220,44,.12), inset 0 1px 0 rgba(255,255,255,.34) !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.unr-auth__submit::before {
  content: "";
  position: absolute;
  top: -160%;
  left: -35%;
  width: 25%;
  height: 400%;
  transform: rotate(25deg);
  background: rgba(255,255,255,.42);
  filter: blur(7px);
  transition: left .55s ease;
}
.unr-auth__submit:hover { transform: translateY(-2px); filter: saturate(1.1); box-shadow: 0 13px 32px rgba(149,220,44,.2), inset 0 1px 0 rgba(255,255,255,.38) !important; }
.unr-auth__submit:hover::before { left: 120%; }
.unr-auth__submit:active { transform: translateY(0); }
.unr-auth__submit svg { width: 18px; height: 18px; transition: transform .2s ease; }
.unr-auth__submit:hover svg { transform: translateX(3px); }
.unr-auth__submit:disabled { opacity: .42; cursor: not-allowed; pointer-events: none; transform: none !important; filter: grayscale(.25); box-shadow: none !important; }
.unr-auth__submit.is-loading { opacity: .72; cursor: wait; pointer-events: none; }
.unr-auth__submit.is-loading svg { animation: unr-rotate 1s linear infinite; }

.unr-auth__legal { margin: 11px 10px 0; color: #596057; font-size: 9px; line-height: 1.5; text-align: center; }

.unr-auth__view-intro { margin-bottom: 22px; text-align: center; }
.unr-auth__view-intro > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 13px;
  border: 1px solid rgba(185,239,55,.3);
  border-radius: 17px;
  color: var(--unr-accent);
  background: linear-gradient(145deg, rgba(185,239,55,.13), rgba(185,239,55,.025));
  box-shadow: 0 0 30px rgba(185,239,55,.08);
}
.unr-auth__view-intro svg { width: 25px; height: 25px; }
.unr-auth__view-intro h3 { margin: 0 0 7px; color: #f1f4ee; font-size: 22px; font-weight: 620; letter-spacing: -.025em; }
.unr-auth__view-intro p { max-width: 380px; margin: 0 auto; color: var(--unr-muted); font-size: 11px; line-height: 1.65; }

.unr-auth__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  border: 0;
  color: #7f887d !important;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 10px;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .2s ease;
}
.unr-auth__back:hover { color: var(--unr-accent) !important; }
.unr-auth__back svg { width: 15px; height: 15px; }

.unr-auth__email-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: -7px auto 18px;
  padding: 7px 11px;
  border: 1px solid var(--unr-border);
  border-radius: 999px;
  color: #abb3a8;
  background: rgba(255,255,255,.028);
  font-size: 10px;
}
.unr-auth__email-chip svg { width: 14px; height: 14px; color: var(--unr-accent); }

.unr-auth__code-wrap { position: relative; margin-bottom: 16px; }
.unr-auth__code {
  width: 100% !important;
  height: 66px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid rgba(185,239,55,.24) !important;
  border-radius: 14px !important;
  outline: none !important;
  color: var(--unr-accent) !important;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(16.666% - 1px), rgba(185,239,55,.08) calc(16.666% - 1px), rgba(185,239,55,.08) 16.666%),
    rgba(5,8,5,.9) !important;
  box-shadow: inset 0 0 30px rgba(185,239,55,.025) !important;
  font: 700 26px/1 "SFMono-Regular", Consolas, monospace !important;
  letter-spacing: .72em !important;
  text-align: center;
  text-indent: .72em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.unr-auth__code:focus { border-color: var(--unr-accent) !important; box-shadow: 0 0 0 3px var(--unr-accent-soft), inset 0 0 35px rgba(185,239,55,.045) !important; }
.unr-auth__code::placeholder { color: #2d352b; opacity: 1; }

.unr-auth__resend { margin: 15px 0 0; color: #687066; font-size: 10px; text-align: center; }
.unr-auth__resend button {
  padding: 0;
  border: 0;
  color: var(--unr-accent);
  background: none;
  font: inherit;
  cursor: pointer;
}
.unr-auth__resend button:hover { text-decoration: underline; }

.unr-auth__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  color: #51574f;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.unr-auth__footer svg { width: 13px; height: 13px; color: #66705f; }

.unr-auth__shell--compact {
  display: block;
  min-height: 520px;
  background:
    linear-gradient(rgba(185,239,55,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,239,55,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(185,239,55,.14), transparent 30%),
    #080a08;
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.unr-auth__success-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 50px 24px;
  overflow: hidden;
  text-align: center;
}
.unr-auth__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 23px;
  border: 1px solid rgba(185,239,55,.45);
  border-radius: 28px;
  color: var(--unr-accent);
  background: linear-gradient(145deg, rgba(185,239,55,.16), rgba(185,239,55,.03));
  box-shadow: 0 0 45px rgba(185,239,55,.12);
  font-size: 32px;
  font-weight: 700;
}
.unr-auth__avatar i { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 28px; height: 28px; border: 4px solid #080a08; border-radius: 50%; color: #10150c; background: var(--unr-accent); }
.unr-auth__avatar i svg { width: 14px; height: 14px; }
.unr-auth__success-card h2 { margin: 14px 0 8px; font-size: clamp(31px, 4vw, 48px); }
.unr-auth__success-card > p { margin: 0; color: var(--unr-muted); font-size: 12px; }
.unr-auth__success-actions { width: min(360px, 100%); margin-top: 28px; }
.unr-auth__logout { display: inline-block; margin-top: 15px; color: #717970 !important; font-size: 10px; text-decoration: none !important; }
.unr-auth__logout:hover { color: #a8b0a5 !important; }
.unr-auth__success-orbit { position: absolute; left: 50%; top: 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); border: 1px solid rgba(185,239,55,.08); border-radius: 50%; animation: unr-spin 25s linear infinite; }
.unr-auth__success-orbit::before,
.unr-auth__success-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--unr-accent); box-shadow: 0 0 14px var(--unr-accent); }
.unr-auth__success-orbit::before { left: 29px; top: 75px; }
.unr-auth__success-orbit::after { right: 45px; bottom: 51px; opacity: .35; }

@keyframes unr-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes unr-notice-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes unr-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes unr-spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes unr-float { 0%, 100% { transform: translate(-50%, -50%) rotate(45deg) translateY(0); } 50% { transform: translate(-50%, -50%) rotate(45deg) translate(-5px, -5px); } }
@keyframes unr-rotate { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .unr-auth { max-width: 620px; }
  .unr-auth__shell { grid-template-columns: 1fr; min-height: 0; }
  .unr-auth__visual { display: none; }
  .unr-auth__panel { min-height: 680px; padding: 34px clamp(24px, 7vw, 58px) 24px; }
  .unr-auth__mobile-brand { display: flex; margin-bottom: 34px; }
  .unr-auth__mobile-brand .unr-auth__brand-mark { width: 31px; height: 31px; border-radius: 9px; }
}

@media (max-width: 560px) {
  .unr-auth { margin: 10px auto; }
  .unr-auth__shell { border-radius: 19px; }
  .unr-auth__panel { min-height: 650px; padding: 26px 18px 20px; }
  .unr-auth__mobile-brand { margin-bottom: 27px; font-size: 11px; }
  .unr-auth__header h1 { font-size: 28px; }
  .unr-auth__field-grid { grid-template-columns: 1fr; gap: 0; }
  .unr-auth__socials { gap: 8px; }
  .unr-auth__social { padding: 10px 8px; }
  .unr-auth__captcha-row { grid-template-columns: 96px 1fr; }
  .unr-auth__code { height: 60px !important; padding: 0 8px !important; font-size: 22px !important; letter-spacing: .55em !important; text-indent: .55em; }
}

@media (prefers-reduced-motion: reduce) {
  .unr-auth *,
  .unr-auth *::before,
  .unr-auth *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* v2.3.1: give non-password fields more usable text width on compact layouts. */
.unr-auth__input-wrap input:not([type="password"]) {
  padding-left: 42px !important;
  padding-right: 12px !important;
}

/* v2.3.2: registration login/e-mail rows use the full form width.
   This keeps long e-mail addresses visible instead of squeezing them into half a row. */
.unr-auth__view[data-view="register"] .unr-auth__field-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
