* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      user-select: none;
      -webkit-user-select: none;
    }

    input,
    textarea {
      user-select: text;
      -webkit-user-select: text;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      background: linear-gradient(180deg, var(--page-bg-start) 0%, var(--page-bg-end) 100%);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      transition: background 0.35s ease, color 0.35s ease;
    }

    body.light-theme {
      background: #ffffff;
    }

    .login-shell {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(to right, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
      background-size: 64px 64px;
    }

    body.light-theme .login-shell {
      background: none;
    }

    .login-glow {
      position: absolute;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      filter: blur(72px);
      background: var(--page-glow);
      pointer-events: none;
    }

    .login-glow-1 {
      left: 10%;
      top: 10%;
    }

    .login-glow-2 {
      right: 10%;
      bottom: 10%;
    }

    body.light-theme .login-glow {
      display: none;
    }

    /* Card */
    .login-card {
      position: relative;
      z-index: 2;
      width: min(440px, calc(100vw - 32px));
      border: 1px solid var(--line);
      border-radius: 1rem;
      background: linear-gradient(180deg, rgba(18, 18, 20, 0.92), rgba(8, 8, 10, 0.96));
      box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      animation: cardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .login-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%, rgba(255, 255, 255, 0.01));
      pointer-events: none;
    }

    body.light-theme .login-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.98));
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    body.light-theme .login-card::before {
      display: none;
    }

    @keyframes cardEnter {
      from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Header */
    .login-header {
      padding: 1.5rem 1.75rem;
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .login-header-left {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .login-kicker {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--muted);
      font-weight: 700;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    }

    .login-header h1 {
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: var(--text);
      margin: 0;
    }

    .login-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.3rem 0.85rem;
      border-radius: 0.4rem;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      background: rgba(52, 211, 153, 0.1);
      color: var(--green);
      border: 1px solid rgba(52, 211, 153, 0.25);
    }

    .login-chip::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
      animation: chipPulse 2s ease-in-out infinite;
    }

    @keyframes chipPulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }
    }

    /* Body */
    .login-body {
      padding: 1.5rem 1.75rem;
    }

    /* Alert */
    .login-alert {
      width: 100%;
      padding: 0.65rem 1rem;
      border-radius: 0.5rem;
      font-size: 0.8rem;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 1.2rem;
      text-align: center;
      animation: alertSlide 0.25s ease-out;
    }

    @keyframes alertSlide {
      from {
        opacity: 0;
        transform: translateY(-6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .login-alert.alert-error {
      background: rgba(255, 77, 77, 0.08);
      border: 1px solid rgba(255, 77, 77, 0.25);
      color: var(--red);
    }

    .login-alert.alert-success {
      background: rgba(52, 211, 153, 0.08);
      border: 1px solid rgba(52, 211, 153, 0.25);
      color: var(--green);
    }

    /* Form */
    .login-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .login-field {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .login-field label {
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    }

    .login-input-wrap {
      position: relative;
    }

    .login-input-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      color: var(--muted);
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s ease;
    }

    .login-input-icon svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .login-input-wrap:focus-within .login-input-icon {
      color: var(--text);
    }

    .login-field input[type="text"],
    .login-field input[type="password"] {
      width: 100%;
      height: 44px;
      padding: 0 1rem 0 38px;
      border-radius: 0.5rem;
      border: 1px solid var(--line);
      background: rgba(0, 0, 0, 0.3);
      color: var(--text);
      font-size: 0.88rem;
      font-family: inherit;
      font-weight: 500;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .login-field input:focus {
      border-color: rgba(255, 255, 255, 0.25);
      box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
    }

    .login-field input::placeholder {
      color: rgba(255, 255, 255, 0.2);
    }

    body.light-theme .login-field input[type="text"],
    body.light-theme .login-field input[type="password"] {
      background: rgba(0, 0, 0, 0.03);
    }

    body.light-theme .login-field input:focus {
      border-color: rgba(0, 0, 0, 0.2);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
    }

    body.light-theme .login-field input::placeholder {
      color: rgba(0, 0, 0, 0.25);
    }

    /* Meta */
    .login-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.78rem;
      color: var(--muted);
    }

    .login-meta label {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      font-weight: 500;
    }

    .login-meta input[type="checkbox"] {
      accent-color: var(--text);
      width: 15px;
      height: 15px;
    }

    .login-meta .link-btn {
      color: var(--text);
      text-decoration: none;
      background: none;
      border: none;
      cursor: pointer;
      font-size: inherit;
      font-family: inherit;
      font-weight: 600;
      border-bottom: 1px solid var(--line);
      padding: 0;
      transition: border-color 0.2s ease;
    }

    .login-meta .link-btn:hover {
      border-color: var(--text);
    }

    /* Actions */
    .login-actions {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      margin-top: 0.75rem;
    }

    .btn-signin {
      width: 100%;
      height: 46px;
      border-radius: 0.55rem;
      border: 1px solid var(--line);
      background: var(--primary-button-gradient);
      color: var(--primary-button-text);
      font-weight: 700;
      font-size: 0.9rem;
      font-family: inherit;
      letter-spacing: 0.03em;
      cursor: pointer;
      box-shadow: 0 8px 24px var(--primary-button-glow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-signin:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px var(--primary-button-glow);
    }

    .btn-signin:active {
      transform: translateY(0) scale(0.98);
    }

    .social-row {
      display: flex;
      gap: 0.5rem;
    }

    .btn-social {
      flex: 1;
      height: 40px;
      border-radius: 0.5rem;
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.04);
      color: var(--muted);
      font-weight: 600;
      font-size: 0.78rem;
      font-family: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-social:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
      color: var(--text);
    }

    body.light-theme .btn-social {
      background: rgba(0, 0, 0, 0.03);
    }

    body.light-theme .btn-social:hover {
      background: rgba(0, 0, 0, 0.06);
      border-color: rgba(0, 0, 0, 0.12);
    }

    .btn-social svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
      flex-shrink: 0;
    }

    .btn-back {
      height: 40px;
      border-radius: 0.5rem;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--muted);
      font-weight: 600;
      font-size: 0.78rem;
      font-family: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .btn-back:hover {
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.15);
    }

    body.light-theme .btn-back:hover {
      border-color: rgba(0, 0, 0, 0.12);
    }

    .btn-back svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .login-footer {
      padding: 0.85rem 1.75rem;
      border-top: 1px solid var(--line);
      text-align: center;
      font-size: 0.68rem;
      color: var(--muted);
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      letter-spacing: 0.05em;
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-card {
      width: min(400px, calc(100vw - 40px));
      border-radius: 1rem;
      background: linear-gradient(180deg, rgba(18, 18, 20, 0.95), rgba(8, 8, 10, 0.98));
      border: 1px solid var(--line);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
      overflow: hidden;
      transform: scale(0.92) translateY(12px);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    body.light-theme .modal-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 245, 245, 0.99));
    }

    .modal-overlay.active .modal-card {
      transform: scale(1) translateY(0);
    }

    .modal-bar {
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.25rem;
      border-bottom: 1px solid var(--line);
    }

    .modal-title {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    }

    .modal-close {
      width: 24px;
      height: 24px;
      border-radius: 0.35rem;
      border: 1px solid var(--line);
      background: rgba(255, 77, 77, 0.08);
      color: var(--red);
      font-size: 0.7rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
    }

    .modal-close:hover {
      background: rgba(255, 77, 77, 0.18);
      border-color: rgba(255, 77, 77, 0.3);
    }

    .modal-body {
      padding: 1.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .modal-body h2 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    .modal-body p {
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .modal-social-row {
      display: flex;
      gap: 10px;
      width: 100%;
    }

    .btn-telegram,
    .btn-discord {
      flex: 1;
      height: 40px;
      border-radius: 0.5rem;
      border: none;
      font-weight: 700;
      font-size: 0.8rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: all 0.15s ease;
    }

    .btn-telegram {
      background: rgba(42, 171, 238, 0.15);
      color: #2AABEE;
      border: 1px solid rgba(42, 171, 238, 0.3);
    }

    .btn-telegram:hover {
      background: rgba(42, 171, 238, 0.25);
      box-shadow: 0 0 16px rgba(42, 171, 238, 0.2);
    }

    .btn-discord {
      background: rgba(88, 101, 242, 0.15);
      color: #5865F2;
      border: 1px solid rgba(88, 101, 242, 0.3);
    }

    .btn-discord:hover {
      background: rgba(88, 101, 242, 0.25);
      box-shadow: 0 0 16px rgba(88, 101, 242, 0.2);
    }

    .btn-telegram svg,
    .btn-discord svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
      flex-shrink: 0;
    }

    body {
      background: #030303;
    }

    .login-shell {
      min-height: 100vh;
      height: auto;
      gap: clamp(2.5rem, 7vw, 7rem);
      padding: 3rem clamp(1.5rem, 7vw, 7rem);
      overflow-x: hidden;
      overflow-y: auto;
      background:
        radial-gradient(ellipse 58% 48% at 0% 0%, rgba(255, 255, 255, 0.075), transparent 76%),
        radial-gradient(ellipse at 16% 48%, rgba(255, 255, 255, 0.025), transparent 34%),
        radial-gradient(ellipse at 83% 17%, rgba(255, 255, 255, 0.035), transparent 30%),
        #030303;
    }

    .login-shell::before,
    .login-shell::after {
      position: absolute;
      inset: 0;
      content: "";
      pointer-events: none;
    }

    .login-shell::before {
      opacity: 0.38;
      background-image:
        radial-gradient(1px 1px at 12% 18%, #fff 99%, transparent 100%),
        radial-gradient(1px 1px at 24% 76%, rgba(255, 255, 255, 0.8) 99%, transparent 100%),
        radial-gradient(1.5px 1.5px at 39% 27%, rgba(255, 255, 255, 0.72) 99%, transparent 100%),
        radial-gradient(1px 1px at 62% 84%, rgba(255, 255, 255, 0.75) 99%, transparent 100%),
        radial-gradient(1px 1px at 78% 34%, #fff 99%, transparent 100%),
        radial-gradient(1.5px 1.5px at 91% 68%, rgba(255, 255, 255, 0.7) 99%, transparent 100%);
      background-size: 760px 620px;
      animation: login-star-drift 100s linear infinite;
    }

    .login-shell::after {
      opacity: 0.22;
      background:
        radial-gradient(ellipse 54% 38% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 76%),
        radial-gradient(ellipse 36% 22% at 28% 12%, rgba(225, 225, 225, 0.08), transparent 78%),
        radial-gradient(ellipse 26% 11% at 84% 42%, rgba(210, 210, 210, 0.09), transparent 76%);
      filter: blur(42px);
      animation: login-nebula-drift 48s ease-in-out infinite alternate;
    }

    .login-glow {
      display: none;
    }

    .login-intro {
      position: relative;
      z-index: 1;
      width: min(420px, 38vw);
      color: #f4f4f4;
      animation: cardEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .login-brand {
      display: inline-flex;
      align-items: center;
      margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
      color: #fff;
      font-size: 0.9rem;
      font-weight: 750;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .login-brand img {
      width: 220px;
      height: 76px;
      object-fit: cover;
      transform: scale(1.1);
    }

    .login-intro-kicker {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      margin-bottom: 1.1rem;
      color: #a5a5a5;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    .login-intro-kicker::before {
      width: 1.5rem;
      height: 1px;
      background: rgba(255, 255, 255, 0.55);
      content: "";
    }

    .login-intro h2 {
      max-width: 11ch;
      margin: 0;
      color: #f7f7f7;
      font-size: clamp(2.8rem, 5.2vw, 5rem);
      font-weight: 650;
      letter-spacing: -0.075em;
      line-height: 0.98;
    }

    .login-intro h2 span {
      color: #858585;
    }

    .login-intro-copy {
      max-width: 32rem;
      margin: 1.5rem 0 0;
      color: #929292;
      font-size: 0.98rem;
      line-height: 1.8;
    }

    .login-intro-foot {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-top: 2.5rem;
      color: #777;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      font-size: 0.66rem;
      letter-spacing: 0.13em;
      text-transform: uppercase;
    }

    .login-intro-foot::before {
      width: 2rem;
      height: 1px;
      background: rgba(255, 255, 255, 0.28);
      content: "";
    }

    .login-card {
      width: min(440px, calc(100vw - 32px));
      flex: 0 0 auto;
      border-color: rgba(255, 255, 255, 0.14);
      border-radius: 1.2rem;
      background: linear-gradient(155deg, rgba(20, 20, 20, 0.97), rgba(7, 7, 7, 0.98));
      box-shadow: 0 32px 100px rgba(0, 0, 0, 0.72), inset 0 1px rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .login-card::before {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 38%);
    }

    .login-header {
      padding: 1.65rem 1.8rem;
      border-bottom-color: rgba(255, 255, 255, 0.09);
    }

    .login-kicker {
      margin-bottom: 0.35rem;
      color: #8d8d8d;
      font-size: 0.62rem;
      letter-spacing: 0.2em;
    }

    .login-header h1 {
      font-size: 1.25rem;
      letter-spacing: -0.04em;
    }

    .login-chip {
      padding: 0.4rem 0.7rem;
      border-color: rgba(255, 255, 255, 0.15);
      border-radius: 99px;
      background: rgba(255, 255, 255, 0.045);
      color: #d8d8d8;
      font-size: 0.62rem;
    }

    .login-chip::before {
      background: #cfcfcf;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.42);
    }

    .login-body {
      padding: 1.8rem;
    }

    .login-form {
      gap: 1.2rem;
    }

    .login-field {
      gap: 0.55rem;
    }

    .login-field label {
      color: #aaa;
      font-size: 0.64rem;
      letter-spacing: 0.14em;
    }

    .login-input-icon {
      left: 15px;
      width: 17px;
      height: 17px;
      color: #777;
    }

    .login-field input[type="text"],
    .login-field input[type="password"] {
      height: 50px;
      padding-left: 2.8rem;
      border-color: rgba(255, 255, 255, 0.12);
      border-radius: 0.7rem;
      background: rgba(0, 0, 0, 0.46);
      font-size: 0.86rem;
    }

    .login-field input:focus {
      border-color: rgba(255, 255, 255, 0.4);
      box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
    }

    .login-field input::placeholder {
      color: #626262;
    }

    .login-meta {
      color: #929292;
      font-size: 0.75rem;
    }

    .login-meta .link-btn {
      color: #ddd;
      border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    .login-actions {
      gap: 0.8rem;
      margin-top: 0.35rem;
    }

    .btn-signin {
      height: 50px;
      border: 0;
      border-radius: 0.7rem;
      background: linear-gradient(135deg, #f5f5f5, #c9c9c9);
      color: #080808;
      box-shadow: 0 12px 32px rgba(255, 255, 255, 0.09);
      font-size: 0.85rem;
      font-weight: 800;
    }

    .btn-signin:hover {
      box-shadow: 0 16px 38px rgba(255, 255, 255, 0.16);
    }

    .social-row {
      gap: 0.65rem;
      margin-top: 0.15rem;
    }

    .btn-social,
    .btn-back {
      height: 43px;
      border-color: rgba(255, 255, 255, 0.11);
      border-radius: 0.65rem;
      background: rgba(255, 255, 255, 0.035);
      color: #bdbdbd;
      font-size: 0.75rem;
    }

    .btn-social:hover,
    .btn-back:hover {
      border-color: rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.075);
      color: #fff;
    }

    .btn-back {
      margin-top: 0.1rem;
      background: transparent;
    }

    .login-footer {
      padding: 1rem 1.5rem;
      border-top-color: rgba(255, 255, 255, 0.09);
      color: #858585;
      font-family: inherit;
      font-size: 0.7rem;
      letter-spacing: 0.01em;
    }

    .login-alert {
      border-radius: 0.7rem;
    }

    .modal-card {
      border-color: rgba(255, 255, 255, 0.14);
      background: linear-gradient(155deg, rgba(20, 20, 20, 0.98), rgba(7, 7, 7, 0.99));
    }

    @keyframes login-star-drift {
      to {
        transform: translate3d(-32px, 22px, 0);
      }
    }

    @keyframes login-nebula-drift {
      to {
        transform: translate3d(2%, -1%, 0) scale(1.05);
      }
    }

    @media (max-width: 900px) {
      .login-shell {
        gap: 2rem;
        padding: 2.5rem 1.25rem;
      }

      .login-intro {
        width: min(340px, 40vw);
      }

      .login-brand {
        margin-bottom: 3rem;
      }
    }

    @media (max-width: 700px) {
      .login-shell {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
      }

      .login-intro {
        width: min(440px, calc(100vw - 32px));
      }

      .login-brand {
        margin-bottom: 0.75rem;
      }

      .login-brand img {
        width: 190px;
        height: 68px;
      }

      .login-intro-kicker {
        margin-bottom: 0.65rem;
        font-size: 0.58rem;
      }

      .login-intro h2 {
        max-width: 16ch;
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.02;
      }

      .login-intro-copy,
      .login-intro-foot {
        display: none;
      }

      .login-card {
        width: min(440px, calc(100vw - 32px));
      }
    }

    @media (max-height: 760px) and (min-width: 701px) {
      .login-shell {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
      }

      .login-brand {
        margin-bottom: 1rem;
      }

      .login-brand img {
        width: 190px;
        height: 68px;
      }
    }

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

      .login-shell::before,
      .login-shell::after,
      .login-card,
      .login-intro {
        animation: none;
      }
    }