:root {
  color-scheme: dark;
  background: #050608;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  background: #050608;
}
body {
  min-height: 100dvh;
  overflow: hidden;
}
button, input { font: inherit; }
.space-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #050608;
}
#space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.genesis-reveal {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(820px, calc(100vw - 40px));
  transform: translate(-50%, -38%) scale(.985);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  transition:
    opacity 1200ms cubic-bezier(.2,.7,.1,1),
    transform 1700ms cubic-bezier(.12,.82,.16,1),
    filter 1200ms ease;
}
body.revealed .genesis-reveal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  filter: blur(0);
}
.genesis-reveal h1 {
  margin: 0 0 clamp(1.85rem, 4vw, 3.4rem);
  color: rgba(248, 250, 253, 0.96);
  font-size: clamp(3.4rem, 8.4vw, 7.4rem);
  font-weight: 340;
  line-height: .9;
  letter-spacing: clamp(.14em, 1.25vw, .19em);
  text-indent: clamp(.14em, 1.25vw, .19em);
  position: relative;
  text-shadow:
    0 0 38px rgba(191, 213, 255, .18),
    0 0 84px rgba(191, 213, 255, .07);
  transform: translateY(42px);
  opacity: 0;
  transition:
    transform 1500ms cubic-bezier(.12,.82,.16,1) 180ms,
    opacity 1000ms ease 180ms;
}
body.revealed .genesis-reveal h1 {
  transform: translateY(0);
  opacity: 1;
}
.access-form {
  width: min(760px, 100%);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 1150ms cubic-bezier(.12,.82,.16,1) 720ms,
    opacity 900ms ease 720ms;
}
body.revealed .access-form {
  opacity: 1;
  transform: translateY(0);
}
.field-row {
  display: grid;
  grid-template-columns: minmax(150px, .78fr) minmax(240px, 1.2fr) auto;
  gap: 12px;
  align-items: stretch;
}
.field-row input,
.field-row button {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(241, 245, 252, .18);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 18px 60px rgba(0, 0, 0, .25);
}
.field-row input {
  width: 100%;
  min-width: 0;
  padding: 0 1.15rem;
  color: rgba(248, 250, 253, 0.97);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  letter-spacing: .12em;
  font-size: .82rem;
}
.field-row input::placeholder {
  color: rgba(233, 239, 248, .56);
}
.field-row input:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(241, 245, 252, .26);
}
.field-row input:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(241, 245, 252, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(255, 255, 255, .05),
    0 0 0 1px rgba(241, 245, 252, .22),
    0 18px 60px rgba(0, 0, 0, .28);
}
.field-row input[aria-invalid="true"] {
  border-color: rgba(255, 140, 156, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 0 0 1px rgba(255, 140, 156, .34),
    0 18px 60px rgba(0, 0, 0, .28);
}
.field-row button {
  padding: 0 1.55rem;
  color: rgba(248, 250, 253, 0.98);
  background: rgba(255, 255, 255, 0.085);
  cursor: pointer;
  font-size: .77rem;
  font-weight: 720;
  letter-spacing: .14em;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}
.field-row button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(241, 245, 252, .30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 0 0 1px rgba(255, 255, 255, .08),
    0 22px 66px rgba(0, 0, 0, .32);
}
.field-row button:active { transform: translateY(1px); }
.field-row button:focus-visible {
  outline: 2px solid rgba(255,255,255,.86);
  outline-offset: 4px;
}
.access-status {
  min-height: 1.35rem;
  margin: .9rem 0 0;
  color: rgba(235, 241, 250, .70);
  font-size: .72rem;
  letter-spacing: .08em;
}
.access-status[data-error="true"] { color: #ff8998; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .genesis-reveal {
    width: min(92vw, 560px);
  }
  .genesis-reveal h1 {
    margin-bottom: 1.75rem;
    font-size: clamp(2.8rem, 15vw, 4.8rem);
    letter-spacing: .14em;
    text-indent: .14em;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .field-row input,
  .field-row button {
    min-height: 56px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .genesis-reveal,
  .genesis-reveal h1,
  .access-form { transition-duration: 1ms; transition-delay: 0ms; }
}


/* U7 access verification transition */
.trap-field {
  position: fixed !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.field-row button[disabled] {
  cursor: wait;
  opacity: .56;
}

body.verification-sent .access-form {
  pointer-events: none;
  animation: access-hyperspace-out 1120ms cubic-bezier(.2,.72,.05,1) forwards;
}
body.verification-sent .field-row > * {
  animation: field-hyperspace-streak 1040ms cubic-bezier(.16,.78,.08,1) forwards;
}
body.verification-sent .field-row > :nth-child(2) { animation-delay: 70ms; }
body.verification-sent .field-row > :nth-child(4) { animation-delay: 140ms; }
body.verification-sent .field-row > button { animation-delay: 210ms; }
body.verification-sent .genesis-reveal h1,
body.request-verified .genesis-reveal h1 {
  transform: translateY(-26px);
}

.submission-message {
  position: absolute;
  left: 50%;
  top: calc(50% + 96px);
  width: min(720px, 90vw);
  transform: translate(-50%, 70px) scale(.34);
  opacity: 0;
  filter: blur(20px);
  pointer-events: none;
  text-align: center;
}
.submission-message strong,
.submission-message span {
  display: block;
}
.submission-message strong {
  color: rgba(224, 237, 255, .96);
  font-size: clamp(1.25rem, 3.6vw, 2.6rem);
  font-weight: 420;
  letter-spacing: clamp(.12em, 1.6vw, .24em);
  text-indent: clamp(.12em, 1.6vw, .24em);
  text-shadow: 0 0 32px rgba(166, 205, 255, .20);
}
.submission-message span {
  margin-top: .7rem;
  color: rgba(234, 240, 249, .62);
  font-size: .76rem;
  letter-spacing: .28em;
  text-indent: .28em;
}
body.verification-sent .submission-message,
body.request-verified .submission-message,
body.verification-expired .submission-message {
  animation: message-arrives-from-depth 1560ms cubic-bezier(.08,.84,.10,1) 690ms forwards;
}
body.request-verified .access-form,
body.verification-expired .access-form { display: none; }
body.request-verified .submission-message,
body.verification-expired .submission-message { animation-delay: 320ms; }

/* U12R7 reset: one word, even tracking. Hidden gate is an independent overlay. */
.genesis-wordmark {
  display: inline-block;
  white-space: nowrap;
}
.owner-gate {
  position: absolute;
  z-index: 7;
  width: 34px;
  height: 34%;
  opacity: 0;
  pointer-events: none;
  cursor: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateX(-50%);
  -webkit-tap-highlight-color: transparent;
}
body.revealed .owner-gate { pointer-events: auto; }

@keyframes access-hyperspace-out {
  0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  22% { opacity: 1; transform: translateY(-2px) scale(.985); filter: blur(0); }
  100% { opacity: 0; transform: translateY(-28px) scale(2.05); filter: blur(18px); }
}
@keyframes field-hyperspace-streak {
  0% { opacity: 1; transform: translateX(0) scaleX(1); filter: blur(0); }
  38% { opacity: .92; transform: translateX(0) scaleX(1.05); filter: blur(1px); }
  100% { opacity: 0; transform: translateX(var(--escape-x, 0px)) scaleX(1.85); filter: blur(12px); }
}
.field-row > :nth-child(2) { --escape-x: -150px; }
.field-row > :nth-child(4) { --escape-x: 90px; }
.field-row > button { --escape-x: 180px; }

@keyframes message-arrives-from-depth {
  0% { opacity: 0; transform: translate(-50%, 70px) scale(.34); filter: blur(22px); }
  54% { opacity: .82; filter: blur(4px); }
  82% { opacity: 1; transform: translate(-50%, -4px) scale(1.025); filter: blur(0); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); filter: blur(0); }
}

@media (max-width: 700px) {
  .submission-message { top: calc(50% + 76px); }
}

@media (prefers-reduced-motion: reduce) {
  body.verification-sent .access-form,
  body.verification-sent .field-row > *,
  body.verification-sent .submission-message,
  body.request-verified .submission-message,
  body.verification-expired .submission-message {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }
}


/* U10 private-login overlay: preserve the exact settled U8/U9 background + aura. */
body.login-mode .genesis-reveal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.965);
  filter: blur(14px);
  pointer-events: none;
  transition-duration: 520ms, 720ms, 520ms;
  transition-delay: 0ms;
}
body.login-mode .owner-gate { pointer-events: none; }

.login-overlay {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: calc(50% + 44px);
  width: min(640px, calc(100vw - 40px));
  transform: translate(-50%, -44%) scale(.975);
  opacity: 0;
  filter: blur(14px);
  pointer-events: none;
  text-align: center;
  transition:
    opacity 560ms ease 220ms,
    transform 900ms cubic-bezier(.12,.82,.16,1) 160ms,
    filter 560ms ease 220ms;
}
body.login-mode .login-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.private-login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(520px, 100%);
  margin: 0 auto;
}
.private-login-form input,
.private-login-form button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(244,248,255,.20);
  border-radius: 999px;
  outline: none;
  color: rgba(244,248,255,.96);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(26px) saturate(138%);
  -webkit-backdrop-filter: blur(26px) saturate(138%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.025),
    0 18px 58px rgba(0,0,0,.20),
    0 0 36px rgba(175,211,255,.025);
}
.private-login-form input {
  padding: 0 1.35rem;
  font-size: .80rem;
  letter-spacing: .12em;
  caret-color: rgba(230,240,255,.96);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.private-login-form input::placeholder { color: rgba(232,239,250,.50); }
.private-login-form input:hover,
.private-login-form input:focus-visible {
  background: rgba(255,255,255,.055);
  border-color: rgba(232,241,255,.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.17),
    0 0 0 1px rgba(199,220,255,.08),
    0 22px 68px rgba(0,0,0,.22),
    0 0 44px rgba(168,205,255,.045);
}
.private-login-form input[aria-invalid="true"] {
  border-color: rgba(255,145,163,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 0 1px rgba(255,145,163,.14),
    0 22px 68px rgba(0,0,0,.22);
}
.private-login-form button {
  padding: 0 1.5rem;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  background: rgba(255,255,255,.028);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.private-login-form button:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(240,246,255,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 0 1px rgba(220,233,255,.05),
    0 24px 72px rgba(0,0,0,.24),
    0 0 48px rgba(174,210,255,.05);
}
.private-login-form button:active { transform: translateY(1px) scale(.998); }
.private-login-form button:focus-visible { outline: 2px solid rgba(229,239,255,.86); outline-offset: 4px; }
.private-login-form button[disabled] { opacity: .56; cursor: wait; }
.signin-status {
  min-height: 1.2rem;
  margin: .82rem 0 0;
  color: rgba(226,235,248,.60);
  font-size: .70rem;
  letter-spacing: .07em;
  line-height: 1.5;
}
.signin-status[data-error="true"] { color: rgba(255,145,163,.92); }

@media (max-width: 700px) {
  .login-overlay {
    width: min(90vw, 520px);
    top: calc(50% + 36px);
  }
  .private-login-form input,
  .private-login-form button { min-height: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .login-overlay,
  body.login-mode .genesis-reveal { transition-duration: 1ms; transition-delay: 0ms; }
}

/* U11 glass system: visual-only upgrade over the approved U10R2 space engine. */
:root {
  --glass-fill: rgba(14, 19, 28, .22);
  --glass-fill-hover: rgba(22, 29, 40, .30);
  --glass-edge: rgba(232, 242, 255, .28);
  --glass-edge-strong: rgba(241, 247, 255, .44);
  --glass-text: rgba(241, 247, 255, .94);
  --glass-muted: rgba(220, 231, 246, .58);
  --glass-error: rgba(255, 145, 163, .88);
}

.field-row input,
.field-row button,
.private-login-form input,
.private-login-form button {
  border-color: var(--glass-edge);
  color: var(--glass-text);
  background-color: var(--glass-fill);
  background-image:
    linear-gradient(112deg,
      rgba(255,255,255,.015) 0%,
      rgba(255,255,255,.035) 34%,
      rgba(227,240,255,.16) 46%,
      rgba(255,255,255,.045) 54%,
      rgba(255,255,255,.018) 72%,
      rgba(255,255,255,.012) 100%);
  background-size: 260% 100%;
  background-position: 130% 0;
  backdrop-filter: blur(30px) saturate(152%);
  -webkit-backdrop-filter: blur(30px) saturate(152%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.055),
    inset 16px 0 32px rgba(173,203,240,.018),
    0 18px 62px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.025);
  animation: glass-control-shimmer 8.4s ease-in-out infinite;
}

.field-row input,
.private-login-form input {
  background-color: rgba(13, 18, 27, .20);
}

.field-row button,
.private-login-form button {
  background-color: rgba(16, 22, 31, .16);
}

.field-row input:hover,
.field-row input:focus-visible,
.private-login-form input:hover,
.private-login-form input:focus-visible,
.field-row button:hover,
.private-login-form button:hover {
  background-color: var(--glass-fill-hover);
  border-color: var(--glass-edge-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(255,255,255,.07),
    inset 18px 0 36px rgba(187,216,255,.024),
    0 0 0 1px rgba(223,237,255,.08),
    0 22px 72px rgba(0,0,0,.32),
    0 0 38px rgba(170,205,255,.035);
}

.field-row input::placeholder,
.private-login-form input::placeholder {
  color: rgba(221, 232, 247, .52);
}

.field-row input[aria-invalid="true"],
.private-login-form input[aria-invalid="true"] {
  border-color: rgba(255,145,163,.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 0 0 1px rgba(255,145,163,.16),
    0 20px 64px rgba(0,0,0,.30);
}

.access-status[data-error="true"],
.signin-status[data-error="true"] { color: var(--glass-error); }

/* Status is deliberately sparse until the next status-design slice. */
.status-overlay {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: calc(50% + 28px);
  width: min(620px, calc(100vw - 40px));
  transform: translate(-50%, -44%) scale(.968);
  opacity: 0;
  filter: blur(14px);
  pointer-events: none;
  transition:
    opacity 620ms ease 180ms,
    transform 980ms cubic-bezier(.12,.82,.16,1) 120ms,
    filter 620ms ease 180ms;
}

.status-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 3.2rem 2.2rem;
  border: 1px solid rgba(235,244,255,.28);
  border-radius: 36px;
  background: rgba(13,18,27,.24);
  backdrop-filter: blur(34px) saturate(155%);
  -webkit-backdrop-filter: blur(34px) saturate(155%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.31),
    inset 0 -1px 0 rgba(255,255,255,.055),
    inset 28px 0 54px rgba(170,205,245,.02),
    0 28px 90px rgba(0,0,0,.34),
    0 0 72px rgba(166,202,255,.03);
  text-align: center;
}

.status-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -45%;
  background: linear-gradient(112deg,
    transparent 0 38%,
    rgba(228,241,255,.03) 44%,
    rgba(236,246,255,.20) 49%,
    rgba(228,241,255,.035) 54%,
    transparent 62% 100%);
  transform: translateX(-58%);
  animation: glass-panel-shimmer 7.2s ease-in-out infinite;
  pointer-events: none;
}

.status-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 35px;
  box-shadow:
    inset 0 18px 38px rgba(255,255,255,.018),
    inset 0 -24px 44px rgba(0,0,0,.08);
  pointer-events: none;
}

.status-panel strong {
  color: rgba(234,244,255,.94);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 360;
  letter-spacing: .24em;
  text-indent: .24em;
  text-shadow: 0 0 34px rgba(175,211,255,.15);
}

.status-panel span {
  color: rgba(218,231,248,.54);
  font-size: .72rem;
  letter-spacing: .30em;
  text-indent: .30em;
}

body.status-mode .genesis-reveal,
body.status-mode .login-overlay {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.965);
  filter: blur(14px);
  pointer-events: none;
}

body.status-mode .status-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

@keyframes glass-control-shimmer {
  0%, 16% { background-position: 132% 0; }
  46%, 100% { background-position: -72% 0; }
}

@keyframes glass-panel-shimmer {
  0%, 14% { transform: translateX(-58%); opacity: .24; }
  48% { opacity: .72; }
  70%, 100% { transform: translateX(58%); opacity: .18; }
}

@media (max-width: 700px) {
  .status-overlay { width: min(90vw, 520px); top: calc(50% + 18px); }
  .status-panel { min-height: 200px; border-radius: 30px; padding: 2.7rem 1.5rem; }
  .status-panel::after { border-radius: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .field-row input,
  .field-row button,
  .private-login-form input,
  .private-login-form button,
  .status-panel::before { animation: none; }
  .status-overlay { transition-duration: 1ms; transition-delay: 0ms; }
}

/* U12 truthful private status surface. Same space engine; no fake metrics. */
.status-overlay {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  width: min(980px, calc(100vw - 42px));
  transform: translate(-50%, -46%) scale(.975);
  opacity: 0;
  filter: blur(14px);
  pointer-events: none;
  transition:
    opacity 620ms ease 160ms,
    transform 980ms cubic-bezier(.12,.82,.16,1) 100ms,
    filter 620ms ease 160ms;
}

.status-shell,
.status-card,
.status-live,
.status-logout {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(236,244,255,.22);
  background-color: rgba(12,17,25,.27);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 0 rgba(255,255,255,.045),
    0 24px 70px rgba(0,0,0,.20);
}

.status-shell {
  border-radius: 38px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(255,255,255,.05),
    0 34px 110px rgba(0,0,0,.34),
    0 0 90px rgba(150,195,255,.03);
}

.status-shell::before,
.status-card::before,
.status-live::before,
.status-logout::before {
  content: "";
  position: absolute;
  inset: -55% -75%;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 0 42%,
    rgba(236,246,255,.025) 45%,
    rgba(244,249,255,.19) 49%,
    rgba(236,246,255,.028) 53%,
    transparent 58% 100%);
  transform: translateX(-55%);
  animation: glass-panel-shimmer 8.6s ease-in-out infinite;
}

.status-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 4px 24px;
}

.status-kicker {
  margin: 0 0 8px;
  color: rgba(224,236,252,.50);
  font-size: .70rem;
  letter-spacing: .32em;
}

.status-head h2 {
  margin: 0;
  color: rgba(234,243,255,.96);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 360;
  letter-spacing: .20em;
  text-indent: .20em;
  line-height: 1;
  text-shadow: 0 0 34px rgba(176,211,255,.14);
}

.status-live {
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(226,237,251,.72);
  font-size: .67rem;
  letter-spacing: .16em;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(226,237,251,.45);
  box-shadow: 0 0 0 4px rgba(226,237,251,.035);
}
.status-live[data-state="live"] .status-live-dot {
  background: rgba(159,255,214,.92);
  box-shadow: 0 0 14px rgba(159,255,214,.38), 0 0 0 4px rgba(159,255,214,.055);
}
.status-live[data-state="unknown"] .status-live-dot {
  background: rgba(255,190,145,.82);
  box-shadow: 0 0 14px rgba(255,190,145,.24), 0 0 0 4px rgba(255,190,145,.045);
}

.status-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.status-card {
  border-radius: 26px;
  min-height: 154px;
  padding: 22px 22px 20px;
}

.status-label {
  display: block;
  margin-bottom: 18px;
  color: rgba(218,231,248,.46);
  font-size: .65rem;
  letter-spacing: .24em;
}

.status-card strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(236,244,255,.94);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 520;
  letter-spacing: .10em;
}

.status-card p {
  margin: 0;
  color: rgba(220,231,246,.61);
  font-size: .92rem;
  line-height: 1.55;
}

.status-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px 2px;
}

.status-foot p {
  margin: 0;
  max-width: 670px;
  color: rgba(220,231,246,.58);
  font-size: .82rem;
  line-height: 1.5;
}

.status-foot p span {
  margin-right: 10px;
  color: rgba(235,244,255,.88);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .20em;
}

.status-logout {
  z-index: 1;
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 48px;
  border-radius: 999px;
  color: rgba(240,247,255,.90);
  font: inherit;
  font-size: .70rem;
  font-weight: 650;
  letter-spacing: .20em;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.status-logout:hover,
.status-logout:focus-visible {
  border-color: rgba(244,249,255,.44);
  background-color: rgba(24,31,42,.38);
}
.status-logout:active { transform: translateY(1px); }
.status-logout:focus-visible { outline: 2px solid rgba(229,239,255,.82); outline-offset: 4px; }

body.status-mode .genesis-reveal,
body.status-mode .login-overlay {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.965);
  filter: blur(14px);
  pointer-events: none;
}
body.status-mode .status-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

@media (max-width: 760px) {
  .status-overlay { width: min(92vw, 560px); }
  .status-shell { border-radius: 30px; padding: 20px; }
  .status-head { align-items: flex-start; flex-direction: column; padding-bottom: 18px; }
  .status-head h2 { font-size: clamp(2.4rem, 13vw, 3.4rem); }
  .status-live { min-height: 38px; }
  .status-grid { grid-template-columns: 1fr; gap: 10px; max-height: 50vh; overflow: auto; padding-right: 2px; }
  .status-card { min-height: 126px; border-radius: 22px; padding: 18px; }
  .status-foot { align-items: stretch; flex-direction: column; padding-top: 16px; }
  .status-logout { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .status-shell::before,
  .status-card::before,
  .status-live::before,
  .status-logout::before { animation: none; }
}
