.login-page {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 24%, rgba(255, 255, 255, 0.96) 0 9%, transparent 32%),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.92) 0 7%, transparent 27%),
    linear-gradient(132deg, #f7faff 0%, #edf4ff 48%, #f4f8ff 100%);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(480px, 42%);
  width: min(100%, 1720px);
  height: 100svh;
  min-height: 100svh;
  margin: 0 auto;
  padding-top: clamp(42px, 6.5vh, 64px);
  padding-right: clamp(44px, 5.6vw, 96px);
  padding-bottom: clamp(42px, 6.5vh, 64px);
  padding-left: clamp(28px, 3vw, 48px);
}

.login-visual,
.login-panel {
  position: relative;
  min-width: 0;
}

.login-visual {
  min-height: 0;
}

.login-brand {
  --login-brand-size: 66px;
  --login-brand-icon-center: calc(2% + 24px);
  --login-brand-copy-left: calc(var(--login-brand-icon-center) + 64px);

  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  min-height: 64px;
  color: #10275d;
  white-space: nowrap;
}

.login-brand img {
  position: absolute;
  top: 0;
  left: var(--login-brand-icon-center);
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 14px rgba(35, 97, 194, 0.18));
  transform: translateX(-50%);
}

.login-brand b {
  position: absolute;
  top: 44px;
  left: var(--login-brand-copy-left);
  display: block;
  width: auto;
  font-size: var(--login-brand-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: left;
  transform: translateY(-50%);
}

.login-brand p {
  position: absolute;
  top: 98px;
  left: var(--login-brand-copy-left);
  color: #536d98;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-size: 25px;
}

.visual-scene {
  position: absolute;
  inset: 2% 2% 2% 0;
  min-height: 0;
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.visual-glow-one {
  top: 13%;
  left: 7%;
  width: 55%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 110px 60px rgba(255, 255, 255, 0.62);
}

.visual-glow-two {
  right: 3%;
  bottom: 10%;
  width: 44%;
  aspect-ratio: 1;
  background: rgba(224, 237, 255, 0.78);
  box-shadow: 0 0 95px 55px rgba(204, 224, 255, 0.58);
}

.visual-stage {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 5%;
  left: 3%;
  height: 27%;
  transform: perspective(760px) rotateX(60deg);
  transform-origin: center;
}

.stage-surface,
.stage-edge {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(121, 168, 236, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, 0.98), rgba(228, 239, 255, 0.9) 58%, rgba(181, 211, 253, 0.78) 100%);
  box-shadow:
    inset 0 -18px 35px rgba(37, 99, 235, 0.13),
    inset 0 9px 30px rgba(255, 255, 255, 0.96),
    0 30px 50px rgba(52, 105, 190, 0.19);
}

.stage-edge {
  inset: 11% 2% -13%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(94, 150, 239, 0.55));
  box-shadow: 0 18px 48px rgba(50, 101, 181, 0.18);
}

.visual-screen {
  position: absolute;
  z-index: 2;
  top: 37%;
  right: 14%;
  width: 56%;
  aspect-ratio: 1.58;
  border: 2px solid rgba(140, 183, 244, 0.42);
  border-radius: 25px;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.66), rgba(221, 235, 255, 0.26)),
    rgba(232, 241, 255, 0.22);
  box-shadow:
    inset 0 0 26px rgba(255, 255, 255, 0.88),
    0 28px 60px rgba(73, 126, 207, 0.2);
  transform: rotate(-6deg) skewY(1deg);
  backdrop-filter: blur(8px);
  animation: screen-breathe 7.6s ease-in-out infinite;
  will-change: transform;
}

.visual-screen::after {
  position: absolute;
  right: 11%;
  bottom: -16%;
  left: 17%;
  height: 12%;
  border-radius: 50%;
  background: rgba(95, 139, 214, 0.15);
  filter: blur(12px);
  content: "";
}

.screen-camera {
  position: absolute;
  top: 7%;
  left: 7%;
  width: 12%;
  height: 8%;
  border: 1px solid rgba(125, 166, 225, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.screen-camera::before {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(80, 133, 215, 0.52);
  transform: translateY(-50%);
  content: "";
}

.screen-play {
  position: absolute;
  top: 31%;
  left: 44%;
  display: grid;
  width: 19%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: 25%;
  background: linear-gradient(145deg, #2e8cff, #0065ed 70%);
  color: #fff;
  box-shadow:
    inset 7px 8px 14px rgba(255, 255, 255, 0.28),
    inset -8px -9px 15px rgba(0, 47, 174, 0.25),
    0 14px 26px rgba(0, 103, 240, 0.32);
  transform: rotate(8deg);
  animation: play-pulse 3.8s ease-in-out infinite;
  will-change: transform;
}

.screen-play svg {
  width: 44%;
  fill: currentColor;
  filter: drop-shadow(0 2px 3px rgba(0, 42, 126, 0.28));
}

.screen-control {
  position: absolute;
  height: 3%;
  border-radius: 999px;
  background: rgba(122, 164, 224, 0.26);
}

.screen-control-one {
  right: 8%;
  bottom: 10%;
  width: 22%;
}

.screen-control-two {
  right: 8%;
  bottom: 6%;
  width: 13%;
}

.visual-robot {
  position: absolute;
  z-index: 6;
  top: 38%;
  left: 16%;
  width: 36%;
  max-width: none;
  filter: drop-shadow(0 18px 22px rgba(48, 94, 164, 0.2));
  transform: rotate(-4deg);
  animation: robot-float 5s ease-in-out infinite;
  will-change: transform;
}

.visual-orbit {
  position: absolute;
  z-index: 5;
  top: 34%;
  right: 4%;
  left: 2%;
  height: 37%;
  border: 3px solid rgba(96, 158, 247, 0.45);
  border-right-color: rgba(0, 102, 255, 0.9);
  border-left-color: rgba(185, 214, 255, 0.8);
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(75, 148, 255, 0.18),
    inset 0 0 10px rgba(255, 255, 255, 0.7);
  transform: rotate(-10deg);
  animation: orbit-breathe 6.8s ease-in-out infinite;
}

.visual-orbit::after {
  position: absolute;
  inset: -7px 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: inherit;
  content: "";
}

.orbit-node {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(145deg, #59c7ff, #0475ee);
  box-shadow: 0 5px 12px rgba(26, 105, 220, 0.35);
  animation: orbit-node-pulse 2.8s ease-in-out infinite;
}

.orbit-node-start {
  top: 50%;
  left: -7px;
}

.orbit-node-end {
  right: 1%;
  bottom: 16%;
  animation-delay: -1.4s;
}

.media-tile {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 145, 242, 0.44);
  background: linear-gradient(145deg, rgba(69, 157, 255, 0.96), rgba(1, 94, 225, 0.95));
  color: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 5px 6px 12px rgba(255, 255, 255, 0.34),
    inset -7px -8px 15px rgba(0, 43, 159, 0.25),
    0 14px 28px rgba(23, 103, 219, 0.25);
}

.media-tile svg {
  width: 62%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.media-tile-image {
  top: 26%;
  right: 13%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 23%;
  transform: rotate(12deg);
  animation: tile-float 4.4s ease-in-out infinite;
  will-change: transform;
}

.media-tile-film {
  bottom: 13%;
  left: 11%;
  width: 14%;
  aspect-ratio: 1.15;
  overflow: hidden;
  border-radius: 15%;
  transform: rotate(-12deg);
  animation: film-float 5.6s ease-in-out -1.2s infinite;
  will-change: transform;
}

.film-perforation {
  position: absolute;
  right: 7%;
  left: 7%;
  height: 8%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 8%, transparent 8% 16%);
}

.film-perforation-top {
  top: 7%;
}

.film-perforation-bottom {
  bottom: 7%;
}

.media-tile-video {
  right: 6%;
  bottom: 23%;
  width: 13%;
  aspect-ratio: 1.18;
  border-radius: 15%;
  transform: rotate(5deg);
  animation: video-float 5s ease-in-out -2.1s infinite;
  will-change: transform;
}

.media-tile-video svg {
  width: 58%;
  fill: currentColor;
  stroke: none;
}

.clapper-top {
  position: absolute;
  right: -1px;
  bottom: 93%;
  left: -1px;
  height: 24%;
  border: 1px solid rgba(60, 128, 226, 0.38);
  border-radius: 7px 7px 2px 2px;
  background: repeating-linear-gradient(135deg, #eaf5ff 0 12%, #1677ec 12% 24%);
  transform: rotate(4deg);
  transform-origin: bottom left;
  animation: clapper-action 5s ease-in-out -1.4s infinite;
}

.media-palette {
  position: absolute;
  z-index: 7;
  right: 20%;
  bottom: 9%;
  width: 15%;
  aspect-ratio: 1.4;
  border: 1px solid rgba(116, 164, 230, 0.4);
  border-radius: 48% 44% 52% 46%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(216, 234, 255, 0.85));
  box-shadow:
    inset 4px 5px 10px rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(53, 109, 190, 0.18);
  transform: rotate(9deg);
  animation: palette-float 6.2s ease-in-out -3s infinite;
  will-change: transform;
}

.media-palette i {
  position: absolute;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #50afff, #126eec);
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.45);
}

.media-palette i:nth-child(1) {
  top: 24%;
  left: 20%;
}

.media-palette i:nth-child(2) {
  top: 16%;
  left: 45%;
}

.media-palette i:nth-child(3) {
  top: 53%;
  left: 16%;
}

.media-palette i:nth-child(4) {
  top: 62%;
  left: 40%;
}

.palette-brush {
  position: absolute;
  right: -8%;
  bottom: 35%;
  width: 54%;
  height: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c7df2 0 72%, #e9f4ff 72%);
  box-shadow: 0 3px 6px rgba(24, 98, 198, 0.22);
  transform: rotate(-36deg);
}

.visual-spark {
  position: absolute;
  z-index: 8;
  width: 18px;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #83b8ff, #176fe6);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 4px 8px rgba(18, 102, 224, 0.25));
}

.visual-spark-one {
  top: 22%;
  right: 4%;
  width: 24px;
  animation: spark-twinkle 2.8s ease-in-out infinite;
}

.visual-spark-two {
  top: 33%;
  right: 10%;
  width: 12px;
  background: #fff;
  animation: spark-twinkle 2.2s ease-in-out -1.1s infinite;
}

.visual-gem {
  position: absolute;
  z-index: 4;
  top: 32%;
  left: 2%;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(103, 156, 236, 0.32);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(178, 208, 255, 0.75));
  box-shadow:
    inset 5px 5px 10px rgba(255, 255, 255, 0.82),
    0 9px 19px rgba(68, 123, 205, 0.15);
  transform: rotate(45deg);
  animation: gem-float 5.4s ease-in-out -2.4s infinite;
  will-change: transform;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.login-card {
  width: min(100%, 610px);
  min-height: min(82vh, 500px);
  padding: clamp(58px, 8vh, 90px) clamp(42px, 3.6vw, 52px) 54px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 52px rgba(65, 108, 176, 0.16);
  backdrop-filter: blur(18px);
}

.login-heading h1 {
  color: #0c1e62;
  font-size: clamp(34px, 2.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.login-heading p {
  margin-top: 15px;
  color: #314a7e;
  font-size: 18px;
  line-height: 1.7;
}

.login-form {
  margin-top: 42px;
}

.login-field {
  position: relative;
  margin-bottom: 38px;
}

.login-field input {
  width: 100%;
  height: 66px;
  padding: 0 58px;
  border: 1px solid #cbd8eb;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.44);
  color: #11275b;
  font-size: 18px;
  outline: none;
}

.login-field input::placeholder {
  color: #53698f;
  opacity: 1;
}

.login-field input:hover {
  border-color: #a9bfdf;
}

.login-field input:focus {
  border-color: #4c8ef6;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.login-field.has-error input {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.field-icon {
  position: absolute;
  z-index: 1;
  top: 21px;
  left: 19px;
  color: #324f8c;
  pointer-events: none;
}

.field-icon svg,
.password-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.password-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #31508e;
  transition:
    color var(--duration-normal) var(--ease-standard),
    background var(--duration-normal) var(--ease-standard);
}

.password-toggle:hover {
  background: rgba(37, 99, 235, 0.07);
  color: #0b69f3;
}

.password-toggle .eye-open,
.password-toggle[aria-pressed="true"] .eye-closed {
  display: none;
}

.password-toggle[aria-pressed="true"] .eye-open {
  display: block;
}

.field-error {
  position: absolute;
  top: calc(100% + 5px);
  left: 2px;
  color: #c82626;
  font-size: 13px;
  line-height: 18px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  color: #1d2e59;
  font-size: 17px;
}

.remember-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  user-select: none;
}

.remember-option input {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.custom-checkbox {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #aebfda;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  pointer-events: none;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

.custom-checkbox svg {
  width: 13px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0;
}

.remember-option input:checked+.custom-checkbox {
  border-color: #0b70f7;
  background: #0b70f7;
}

.remember-option input:checked+.custom-checkbox svg {
  opacity: 1;
}

.remember-option input:focus-visible+.custom-checkbox {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.login-options a,
.register-prompt a {
  color: #0872f9;
  font-weight: 600;
}

.login-options a:hover,
.register-prompt a:hover {
  color: #075ed0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.login-submit {
  position: relative;
  width: 100%;
  height: 65px;
  margin-top: 42px;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(95deg, #0866ef, #087cf8);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 105, 238, 0.18);
  transition:
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    filter var(--duration-normal) var(--ease-standard);
}

.login-submit::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  content: "";
}

.login-submit:hover {
  filter: saturate(1.08);
  box-shadow: 0 15px 28px rgba(0, 105, 238, 0.25);
  transform: translateY(-1px);
}

.login-submit:hover::before {
  transform: translateX(120%);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit[aria-busy="true"] {
  cursor: progress;
  opacity: 0.82;
}

.login-status {
  min-height: 20px;
  margin-top: 12px;
  color: #536784;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.login-status[data-tone="error"] {
  color: #c82626;
}

.login-status[data-tone="success"] {
  color: #16834a;
}

.register-prompt {
  margin-top: 28px;
  color: #2e436d;
  font-size: 17px;
  text-align: center;
}

@keyframes robot-float {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-9px) rotate(-2deg);
  }
}

@keyframes tile-float {

  0%,
  100% {
    transform: translateY(0) rotate(12deg);
  }

  50% {
    transform: translateY(-8px) rotate(9deg);
  }
}

@keyframes screen-breathe {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg) skewY(1deg);
  }

  50% {
    transform: translate3d(0, -6px, 0) rotate(-5.3deg) skewY(1deg);
  }
}

@keyframes play-pulse {

  0%,
  100% {
    transform: rotate(8deg) scale(1);
  }

  50% {
    transform: rotate(8deg) scale(1.045);
  }
}

@keyframes orbit-breathe {

  0%,
  100% {
    border-color: rgba(96, 158, 247, 0.45);
    border-right-color: rgba(0, 102, 255, 0.9);
    transform: rotate(-10deg) scale(1);
  }

  50% {
    border-color: rgba(119, 176, 255, 0.58);
    border-right-color: rgba(0, 117, 255, 1);
    transform: rotate(-10deg) scale(1.006);
  }
}

@keyframes orbit-node-pulse {

  0%,
  100% {
    box-shadow: 0 5px 12px rgba(26, 105, 220, 0.35);
    transform: scale(0.9);
  }

  50% {
    box-shadow:
      0 5px 12px rgba(26, 105, 220, 0.35),
      0 0 0 6px rgba(65, 150, 255, 0.12);
    transform: scale(1);
  }
}

@keyframes film-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }

  50% {
    transform: translate3d(3px, -9px, 0) rotate(-9deg);
  }
}

@keyframes video-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(5deg);
  }

  50% {
    transform: translate3d(-2px, -8px, 0) rotate(7deg);
  }
}

@keyframes clapper-action {

  0%,
  76%,
  100% {
    transform: rotate(4deg);
  }

  82% {
    transform: rotate(-13deg);
  }

  88% {
    transform: rotate(4deg);
  }

  92% {
    transform: rotate(-4deg);
  }
}

@keyframes palette-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(9deg);
  }

  50% {
    transform: translate3d(2px, -7px, 0) rotate(6deg);
  }
}

@keyframes spark-twinkle {

  0%,
  100% {
    filter: drop-shadow(0 4px 8px rgba(18, 102, 224, 0.18));
    opacity: 0.5;
    transform: scale(0.78) rotate(0);
  }

  50% {
    filter: drop-shadow(0 4px 10px rgba(18, 102, 224, 0.42));
    opacity: 1;
    transform: scale(1.08) rotate(18deg);
  }
}

@keyframes gem-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(45deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(51deg);
  }
}

@media (max-width: 1280px) {
  .login-layout {
    grid-template-columns: minmax(0, 54%) minmax(450px, 46%);
    padding-inline: 42px;
  }

  .login-brand {
    --login-brand-icon-center: calc(7.72% + 22.56px);
  }

  .visual-scene {
    transform: scale(0.94);
    transform-origin: right center;
  }

  .login-card {
    min-height: 690px;
  }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .login-brand {
    --login-brand-size: clamp(42px, 4.6vw, 50px);
  }
}

@media (max-width: 960px) {
  .login-layout {
    display: flex;
    height: 100svh;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3.5vh, 32px);
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    width: 100%;
    justify-content: center;
  }

  .login-card {
    width: min(100%, 560px);
    min-height: 0;
    padding: clamp(34px, 6vh, 52px) clamp(28px, 5vw, 42px) clamp(26px, 4.5vh, 40px);
  }
}

@media (max-width: 600px) {
  .login-page {
    background:
      radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.98), transparent 42%),
      linear-gradient(150deg, #eef5ff, #f8fbff);
  }

  .login-layout {
    align-items: flex-start;
    padding:
      max(clamp(16px, 3.2vh, 24px), env(safe-area-inset-top)) 16px max(clamp(16px, 3.2vh, 24px), env(safe-area-inset-bottom));
  }

  .login-card {
    padding: clamp(28px, 5vh, 42px) 22px clamp(22px, 4vh, 32px);
    border-radius: 22px;
  }

  .login-heading h1 {
    font-size: 32px;
  }

  .login-heading p {
    margin-top: 10px;
    font-size: 15px;
  }

  .login-form {
    margin-top: clamp(26px, 4.8vh, 34px);
  }

  .login-field {
    margin-bottom: clamp(28px, 4.6vh, 34px);
  }

  .login-field input {
    height: 58px;
    padding-right: 52px;
    padding-left: 50px;
    font-size: 16px;
  }

  .field-icon {
    top: 18px;
    left: 16px;
  }

  .field-icon svg,
  .password-toggle svg {
    width: 22px;
    height: 22px;
  }

  .password-toggle {
    top: 6px;
    right: 6px;
  }

  .login-options,
  .register-prompt {
    font-size: 15px;
  }

  .login-submit {
    height: 58px;
    margin-top: clamp(26px, 4.8vh, 34px);
    font-size: 17px;
  }

  .register-prompt {
    margin-top: 20px;
  }
}

@media (max-height: 790px) and (min-width: 961px) {
  .login-layout {
    padding-block: 28px;
  }

  .login-visual {
    min-height: 0;
  }

  .visual-scene {
    min-height: 0;
    transform: scale(0.9);
    transform-origin: right center;
  }

  .login-brand {
    --login-brand-icon-center: calc(11.56% + 21.6px);
  }

  .login-card {
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 36px;
  }

  .login-form {
    margin-top: 32px;
  }

  .login-field {
    margin-bottom: 32px;
  }

  .login-submit {
    margin-top: 32px;
  }

  .register-prompt {
    margin-top: 18px;
  }
}

@media (max-height: 720px) {
  .login-layout {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .login-card {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .login-heading h1 {
    font-size: 30px;
  }

  .login-heading p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .login-form {
    margin-top: 24px;
  }

  .login-field {
    margin-bottom: 26px;
  }

  .login-field input {
    height: 54px;
    font-size: 16px;
  }

  .field-icon {
    top: 15px;
  }

  .field-icon svg,
  .password-toggle svg {
    width: 22px;
    height: 22px;
  }

  .password-toggle {
    top: 4px;
    right: 6px;
  }

  .login-options,
  .register-prompt {
    font-size: 15px;
  }

  .login-submit {
    height: 54px;
    margin-top: 24px;
    font-size: 16px;
  }

  .login-status {
    min-height: 16px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 16px;
  }

  .register-prompt {
    margin-top: 12px;
  }
}

@media (max-height: 540px),
(max-width: 600px) and (max-height: 620px) {
  .login-page {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  .login-layout {
    height: auto;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {

  .visual-screen,
  .screen-play,
  .visual-robot,
  .visual-orbit,
  .orbit-node,
  .media-tile,
  .clapper-top,
  .media-palette,
  .visual-spark,
  .visual-gem {
    animation: none;
  }

  .login-submit::before {
    display: none;
  }
}