@font-face {
  font-family: MercuryPixel;
  src: url('/sdk/login-surface/silkscreen.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: dark;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: #f2f1fa;
  background: #11131d;
}
* { box-sizing: border-box; }
[hidden], #status:empty { display: none !important; }
body {
  min-height: 100vh; min-height: 100svh;
  margin: 0;
  padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: grid;
  align-content: center;
  justify-items: center;
  background: radial-gradient(ellipse at 38% 42%, #252738 0%, #151722 42%, #0c0e16 90%);
}
.access {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid #424558;
  border-radius: 18px;
  background: #191c29;
  box-shadow: 0 22px 80px #07080d70;
}
.art {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(150deg, #10152c33, #080d20a8), url('/sdk/login-surface/pixel-nebula.webp') center / cover, #151b31;
}
.art::before {
  content: ""; position: absolute; inset: 0;
  background: url('/sdk/login-surface/pixel-nebula-veil.webp') center / cover;
  opacity: .28;
}
.brand {
  position: absolute; z-index: 1; left: 26px; top: 22px;
  font: 400 22px/1 MercuryPixel, monospace; letter-spacing: -.05em;
  color: #fff; text-shadow: 0 2px 7px #13152c;
}
#planet {
  position: absolute; left: -10%; bottom: -16%;
  width: 94%; height: auto; aspect-ratio: 1;
  image-rendering: pixelated;
}
.form {
  padding: 40px clamp(24px, 4vw, 44px) 23px;
  min-width: 0; display: flex; flex-direction: column; align-self: stretch;
}
h1 { margin: 0; letter-spacing: -.045em; font-size: clamp(30px, 4vw, 39px); line-height: 1.16; font-weight: 650; }
#destination { margin: 8px 0 0; color: #babccb; font-size: .94rem; overflow-wrap: anywhere; }
#destination strong { color: #dedfea; font-weight: 550; }
#auth { margin-top: 30px; }
#google { width: min(100%, 400px); min-height: 44px; color-scheme: light; }
#profile-notice, #status, noscript { font-size: .875rem; line-height: 1.55; color: #b9bbc9; }
#profile-notice { margin: 12px 0 0; }
#status, noscript { margin: 16px 0 0; }
#status[data-error] { color: #ffd2c8; }
.mode { margin: 19px 0 7px; display:flex; flex-wrap:wrap; gap: 0 6px; align-items:center; font-size:.9rem; color:#d3d3e0; }
.text-button {
  border: 0; padding: 0; min-height: 44px;
  background: transparent; color: #d5cbff; font: inherit; font-weight: 600; cursor: pointer;
}
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-button:focus-visible { outline: 2px solid #c1b8ff; outline-offset: 3px; border-radius: 2px; }
.text-button:disabled { opacity: .6; cursor: wait; }
.navigation { margin-top: auto; padding-top: 13px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:0 16px; }
.navigation button { color:#c1c3d2; font-size:.84rem; font-weight:500; }
#retry { color:#dbd3ff; }
@media (max-width: 650px) {
  body { padding: max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom)); }
  .access { width:min(430px,100%); display:block; border-radius:14px; }
  .art { min-height:0; height:clamp(106px,21svh,178px); background-position:center 42%; }
  .brand { left:22px; top:19px; font-size:19px; }
  #planet { width:56%; left:auto; right:-8%; bottom:-64%; }
  .form { padding:25px 22px 9px; }
  #auth { margin-top:23px; }
  .navigation { margin-top:6px; border-top:1px solid #363847; padding-top:2px; }
}
@media (max-height: 460px) and (min-width: 651px) {
  body { padding-block: 10px; }
  .art { min-height: 270px; }
  .form { padding-block: 16px 7px; }
  #auth { margin-top:14px; }
  .mode { margin-block:5px; }
  .navigation { padding-top:1px; }
}
