.auth {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0f0f0f;
  display: table;
  width: 100%;
  height: 100%;
}
.auth__bg {
  position: absolute;
  height: 100%;
}
.auth__bg-left {
  left: 0;
  width: 71.597vw;
}
.auth__bg-right {
  width: 47.708vw;
  right: 0;
}
.auth__bg-right picture:nth-child(2) {
  display: none;
}
.auth__bg-text {
  -webkit-transform: rotate(-70deg);
  transform: rotate(-70deg);
  font-weight: 700;
  font-size: 128px;
  line-height: 100%;
  text-transform: capitalize;
  white-space: nowrap;
}
.auth .container {
  display: table-cell;
  vertical-align: middle;
}
.auth__item {
  max-width: 893px;
  margin: 30px auto;
  position: relative;
  min-height: 579px;
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.auth__item-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
}
.auth__item-bg img {
  max-height: -webkit-fill-available;
  -o-object-fit: fill;
  object-fit: fill;
}
.auth__item-bg svg {
  width: 100%;
  height: 100%;
}
.auth__item-bg svg path {
  fill: rgba(20, 20, 24, 0.78);
}
.auth__item_is-company {
  background: rgba(20, 20, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.auth__item_is-company .auth__item-bg {
  display: none;
}
.auth__item_is-company .auth__form {
  max-width: 100%;
}
.auth__item_is-company .auth__inputs {
  gap: 20px 21px;
  margin: 20px 0;
}
.auth__form {
  position: relative;
  z-index: 2;
  max-width: 451px;
  margin-left: auto;
  color: var(--f5f5f5);
  width: 100%;
}
.auth :is(h1, h2, h3, .auth__title) {
  color: var(--f5f5f5);
}
.auth__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}
.auth__subtitle {
  text-align: center;
  color: rgba(245, 245, 245, 0.72);
}
.auth a:not(.p-btn) {
  color: rgba(245, 245, 245, 0.72);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  -webkit-transition: color 0.2s ease, text-decoration-color 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition: color 0.2s ease, text-decoration-color 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition: color 0.2s ease, text-decoration-color 0.2s ease,
    box-shadow 0.2s ease;
  transition: color 0.2s ease, text-decoration-color 0.2s ease,
    box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.auth a:not(.p-btn):hover {
  color: var(--f56e0f);
  text-decoration: underline;
  text-decoration-color: currentColor;
}
.auth a:not(.p-btn):focus-visible {
  color: var(--f56e0f);
  text-decoration: underline;
  text-decoration-color: currentColor;
  outline: none;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 0 2px rgba(245, 110, 15, 0.45);
  box-shadow: 0 0 0 2px rgba(245, 110, 15, 0.45);
}
.auth__inputs {
  margin: 39px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 32px;
}
.auth__label {
  font-weight: 500;
  color: rgba(245, 245, 245, 0.92);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
}
.auth__input {
  width: 100%;
}
.auth__input .user__input-el {
  width: 100%;
}
.auth .user__input-el :is(input:not([type="hidden"]), textarea, select) {
  padding: 13.5px 15px;
  font-size: 14px;
  line-height: 129%;
  width: 100%;
  outline: none;
  resize: none;
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth .user__input-el :is(input:not([type="hidden"]), textarea, select):focus,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):focus-visible {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: #f56e0f !important;
  -webkit-box-shadow: 0 0 15px rgba(245, 110, 15, 0.2);
  box-shadow: 0 0 15px rgba(245, 110, 15, 0.2);
}
.auth .user__input-el :is(input:not([type="hidden"]), textarea, select)::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.auth .user__input-el select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.auth .user__input-el textarea {
  height: calc(100% - 32px);
}
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-webkit-autofill,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-webkit-autofill:hover,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-webkit-autofill:active,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-webkit-autofill:focus,
.auth .user__input-el :is(input:not([type="hidden"]), textarea, select):autofill,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):autofill:hover,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):autofill:active,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):autofill:focus,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-moz-autofill,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-moz-autofill:hover,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-moz-autofill:active,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-moz-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  caret-color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03) inset !important;
  -webkit-background-clip: padding-box !important;
  background-clip: padding-box !important;
}
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-webkit-autofill:focus,
.auth .user__input-el :is(input:not([type="hidden"]), textarea, select):autofill:focus,
.auth
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select):-moz-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  border-color: #f56e0f !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(255, 255, 255, 0.06) inset !important,
    0 0 15px rgba(245, 110, 15, 0.2) !important;
  box-shadow:
    0 0 0 1000px rgba(255, 255, 255, 0.06) inset !important,
    0 0 15px rgba(245, 110, 15, 0.2) !important;
}
.auth__input.error .auth__label {
  color: #ff3939;
}
.auth__input.error
  .user__input-el
  :is(input:not([type="hidden"]), textarea, select, .user-select__current) {
  border-color: #ff3939 !important;
  background: rgba(255, 57, 57, 0.05) !important;
  color: #ff3939 !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.auth__input.error .user-select__current-svg {
  -webkit-filter: none;
  filter: none;
}
.auth__input.error .user-select__current-svg path {
  fill: #ff3939;
}
.auth__input_checkbox {
  margin-top: -12px;
}
.auth__input_50 {
  width: calc(50% - 10.5px);
}
.auth__btn {
  width: 100%;
  margin-top: 20px;
}
.auth .auth__btn.p-btn {
  width: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  overflow: hidden;
  background-size: 200% 100%;
  background-position: 0% 0;
  -webkit-transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-position 0.45s ease,
    color 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-position 0.45s ease,
    color 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-position 0.45s ease,
    transform 0.3s ease,
    color 0.3s ease;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-position 0.45s ease,
    transform 0.3s ease,
    color 0.3s ease,
    -webkit-transform 0.3s ease;
}
.auth .auth__btn.p-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  -webkit-transform: translateX(-130%);
  transform: translateX(-130%);
  -webkit-transition: -webkit-transform 0.55s ease;
  transition: -webkit-transform 0.55s ease;
  transition: transform 0.55s ease;
  transition: transform 0.55s ease, -webkit-transform 0.55s ease;
  pointer-events: none;
}
.auth .auth__btn.p-btn:hover,
.auth .auth__btn.p-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background-position: 100% 0;
  -webkit-transform: scale(1.01);
  transform: scale(1.01);
  -webkit-box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 14px 30px rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 14px 30px rgba(0, 0, 0, 0.35);
}
.auth .auth__btn.p-btn:hover::before,
.auth .auth__btn.p-btn:focus-visible::before {
  -webkit-transform: translateX(140%);
  transform: translateX(140%);
}
.auth .auth__btn.p-btn:focus-visible {
  outline: none;
  -webkit-box-shadow:
    0 0 0 3px rgba(245, 110, 15, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 14px 30px rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 3px rgba(245, 110, 15, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 14px 30px rgba(0, 0, 0, 0.35);
}
.auth .auth__btn.p-btn_orange {
  border-color: var(--f56e0f);
  background: linear-gradient(110deg, #f56e0f, rgba(245, 110, 15, 0.92));
  color: #fff;
  -webkit-box-shadow:
    0 0 0 1px rgba(245, 110, 15, 0.35) inset,
    0 8px 22px rgba(245, 110, 15, 0.24);
  box-shadow:
    0 0 0 1px rgba(245, 110, 15, 0.35) inset,
    0 8px 22px rgba(245, 110, 15, 0.24);
}
.auth .auth__btn.p-btn_orange:hover,
.auth .auth__btn.p-btn_orange:focus-visible {
  color: #fff;
  border-color: var(--f56e0f);
  -webkit-box-shadow:
    0 0 0 1px rgba(245, 110, 15, 0.5) inset,
    0 0 26px rgba(245, 110, 15, 0.54),
    0 14px 30px rgba(245, 110, 15, 0.35);
  box-shadow:
    0 0 0 1px rgba(245, 110, 15, 0.5) inset,
    0 0 26px rgba(245, 110, 15, 0.54),
    0 14px 30px rgba(245, 110, 15, 0.35);
}
.auth .auth__btn.p-btn:active {
  -webkit-transform: none;
  transform: none;
  -webkit-box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.22) inset,
    0 6px 14px rgba(0, 0, 0, 0.25);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.22) inset,
    0 6px 14px rgba(0, 0, 0, 0.25);
}
.auth .auth__btn.p-btn:disabled,
.auth .auth__btn.p-btn.disabled {
  opacity: 0.56;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-box-shadow: none;
  box-shadow: none;
}
.auth .auth__btn.p-btn:disabled::before,
.auth .auth__btn.p-btn.disabled::before {
  display: none;
}
.auth__checkbox {
  display: none;
}
.auth__checkbox:checked ~ .auth__checkbox-label {
  --auth-checkbox-image: url("/static/images/auth/checkbox.fd3f89ec3d7f.svg");
}
.auth__checkbox-label {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 0;
}
.auth__checkbox-square {
  border: 1px solid var(--f56e0f);
  border-radius: 2px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: var(--auth-checkbox-image, none);
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
}
.auth__checkbox-text {
  color: rgba(245, 245, 245, 0.92);
}
.auth__message {
  font-weight: 500;
  text-align: center;
  margin-top: 6px;
  text-align: left;
}
.auth__message.error {
  font-size: 13px;
  color: #ff3939;
  padding-left: 2px;
}
.auth__restore {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 30px;
}
.auth__restore-text {
  text-align: center;
  color: rgba(245, 245, 245, 0.78);
}
.auth .user-select {
  position: relative;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.auth .user-select_input {
  width: 100%;
}
.auth .user-select.active {
  z-index: 9999;
}
.auth .user-select.active .user-select__abs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.auth .user-select.active .user-select__current-svg {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.auth .user-select__current {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 13.5px 15px !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 999 !important;
  width: 100%;
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #fff !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.auth .user-select__current-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth .user-select.active .user-select__current {
  border-color: rgba(245, 110, 15, 0.5) !important;
  -webkit-box-shadow: 0 0 15px rgba(245, 110, 15, 0.15);
  box-shadow: 0 0 15px rgba(245, 110, 15, 0.15);
  background: rgba(255, 255, 255, 0.06) !important;
}
.auth .user-select__current-svg {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
.auth .user-select__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.auth .user-select__abs {
  -webkit-transition: none;
  transition: none;
  overflow: auto;
  position: absolute;
  z-index: 22;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  margin-top: 4px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 10px;
  gap: 6px;
  display: none;
  max-height: 280px;
  overscroll-behavior: contain;
  background: rgba(20, 20, 24, 0.9) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  -webkit-box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  color: #fff !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 110, 15, 0.5) transparent;
  scrollbar-gutter: stable;
}
.auth .user-select__abs::-webkit-scrollbar {
  width: 4px !important;
}
.auth .user-select__abs::-webkit-scrollbar-track {
  background: transparent !important;
}
.auth .user-select__abs::-webkit-scrollbar-thumb {
  background-color: rgba(245, 110, 15, 0.4) !important;
  border-radius: 10px !important;
  border: none !important;
}
.auth .user-select__abs::-webkit-scrollbar-thumb:hover {
  background-color: rgba(245, 110, 15, 0.8) !important;
}
.auth .user-select__option {
  padding: 1px 10px;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  -webkit-transition: background-color 0.12s ease, color 0.12s ease;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.auth .user-select__option.selected {
  background: var(--f56e0f);
  color: var(--f5f5f5);
}
.auth .user-select__option:hover {
  background: rgba(245, 110, 15, 0.12);
}
.auth .user-select__option:active {
  background: rgba(245, 110, 15, 0.25);
}
.auth__step {
  display: none;
}
.auth__step.active {
  display: block;
}
@media screen and (width <= 1000px) {
  .auth__bg-left {
    display: none;
  }
  .auth__bg-right {
    width: 100%;
  }
  .auth__bg-right picture {
    display: none;
  }
  .auth__bg-right picture:nth-child(2) {
    display: block;
  }
  .auth__item {
    background: rgba(20, 20, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    max-width: 720px;
    border-radius: 30px;
    margin: 100px auto;
    padding: 20px;
    min-height: auto;
  }
  .auth__item-bg {
    display: none;
  }
  .auth__form {
    margin-left: 0;
    max-width: 100%;
  }
  .auth__inputs {
    gap: 20px;
    margin: 20px 0;
  }
  .auth__message {
    margin-top: 6px;
  }
  .auth__restore {
    margin: 16px 0;
  }
  .auth__input_password,
  .auth__input_password-repeat {
    width: calc(50% - 10px);
  }
}
@media screen and (width <= 576px) {
  .auth__item {
    padding: 20px 10px;
    border-radius: 20px;
  }
  .auth__title {
    font-size: 28px;
    line-height: 114%;
    margin-bottom: 4px;
  }
  .auth__input_password,
  .auth__input_password-repeat,
  .auth__input_50 {
    width: 100%;
  }
}

/* Moved from user/templates/user/base.html (batch 3) */
@media (min-width: 1001px){
        :root{
          /* геометрия */
          --left-w: 71.597%;     /* где заканчивается левая картинка (верхняя точка) */
          --cut-shift: 0%;       /* общий сдвиг диагонали вправо/влево */
          --cut-nudge: 0px;      /* МЕЛКАЯ подстройка линии (±px), чтобы "чуть-чуть" двинуть */
          --slope: -26%;         /* наклон (delta X внизу); ближе к 0 => вертикальнее */

          /* ширина области с маской (оставь как есть, если не надо шире) */
          --mask-w: 47.708%;

          /* антиартефакты (px/viewport-safe) */
          --bleedY: clamp(14px, 1.8vh, 28px);  /* вертикальный запас */
          --bleedX: 2px;                       /* заход за правый край */

          --rot-angle: -2.4deg;
          --rot-scale: 1.06;
          --rotBleedY: 24px;                   /* доп. запас по высоте из-за поворота */
          --rotBleedX: 20px;                   /* доп. запас справа из-за поворота */
        }

        .auth__bg-right{
          position: absolute !important;
          inset: 0 !important;
          width: 100% !important;
          height: 100% !important;
          pointer-events: none;
          overflow: hidden;
          background: transparent;
          z-index: 0;

          /* ЛИНИЯ СРЕЗА: вверх = left-w + cut-shift + cut-nudge
            вниз = вверх + slope; по высоте даём bleed чтобы не "треугольничало" */
          clip-path: polygon(
            calc(var(--left-w) + var(--cut-shift) + var(--cut-nudge)) calc(0% - var(--bleedY)),
            calc(100% + var(--bleedX))                                 calc(0% - var(--bleedY)),
            calc(100% + var(--bleedX))                                 calc(100% + var(--bleedY)),
            calc(var(--left-w) + var(--cut-shift) + var(--cut-nudge) + var(--slope)) calc(100% + var(--bleedY))
          );
          -webkit-clip-path: polygon(
            calc(var(--left-w) + var(--cut-shift) + var(--cut-nudge)) calc(0% - var(--bleedY)),
            calc(100% + var(--bleedX))                                 calc(0% - var(--bleedY)),
            calc(100% + var(--bleedX))                                 calc(100% + var(--bleedY)),
            calc(var(--left-w) + var(--cut-shift) + var(--cut-nudge) + var(--slope)) calc(100% + var(--bleedY))
          );
        }

        /* серый фон клина — внутри clip-path, поэтому "прямоугольник" не появится */
        .auth__bg-right::after{
          content:"";
          position:absolute;
          top:  calc(-1 * var(--bleedY));
          bottom: calc(-1 * var(--bleedY));
          left:0; right:0;
          background:#0f0f0f;
          z-index:0;
        }

        /* маска (буквы) всегда справа; добавим bleed для поворота */
        .auth__bg-right::before{
          content:"";
          position:absolute;
          right: calc(-1 * max(var(--bleedX), var(--rotBleedX)));
          top:   calc(-1 * (var(--bleedY) + var(--rotBleedY)));
          bottom:calc(-1 * (var(--bleedY) + var(--rotBleedY)));
          width: var(--mask-w);

          background-image: url("/static/images/auth/mask.b5a10751bc3b.png");
          background-repeat: no-repeat;
          background-size: cover;
          background-position: right center;

          transform-origin: right center;
          transform: rotate(var(--rot-angle)) scale(var(--rot-scale));
          backface-visibility: hidden;
          z-index:1;
        }

        .auth__bg-right picture{ display:none !important; }
        .auth__item{ position:relative; z-index:2; }
      }

      /* ===== Пример подстройки по брейкпоинтам ===== */
      @media (min-width: 2801px){
        :root{
          --slope: -21%;
          --rotBleedY: 32px;  /* больше запас сверху — не "режет" букву */
          --cut-nudge: 6px;   /* если линия чуть раньше, двинь вправо положительным значением */
        }
      }
      @media (min-width: 1601px) and (max-width: 2800px){
        :root{ --cut-nudge: 2px; --slope: -21%; }
      }
      @media (max-width: 1600px) and (min-width: 1001px){
        :root{ --cut-nudge: 0px; --slope: -21%; }
      }
      @media (max-width: 1400px) and (min-width: 1001px){
        :root{ --cut-shift: 3%;   --slope: -21%; }
      }
      @media (max-width: 1280px) and (min-width: 1001px){
        :root{ --cut-shift: 4.5%; --slope: -21%; }
      }
