/* Maintenance gate: styled as an exchange trading-halt notice.
   The page behind it is inert + blurred. With JavaScript off the gate stays up. */
body.halted { overflow: hidden; }
body.halted #site {
  filter: blur(7px) saturate(.85);
  pointer-events: none;
  user-select: none;
}

.halt {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px; overflow-y: auto;
  background: rgba(23, 35, 58, .74);
  backdrop-filter: blur(3px);
}
.halt-panel {
  width: min(580px, 100%);
  background: var(--panel);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(8, 14, 28, .45);
  overflow: hidden;
}
.halt-tape {
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--halt) 0 14px, var(--ink) 14px 28px);
}
.halt-body { padding: 28px 32px 30px; }
.halt-title {
  margin: 0;
  font: 800 clamp(40px, 9vw, 58px)/.95 var(--display);
  letter-spacing: .005em;
}
.halt-title:focus { outline: none; }
.halt-bar {
  margin: 18px 0 0;
  padding: 10px 14px;
  background: var(--ink); color: var(--halt);
  font: 700 clamp(24px, 6vw, 32px)/1.1 var(--display);
  letter-spacing: .02em;
}
.halt-note { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; max-width: 46ch; }

.halt-clock {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 22px 0 0; padding: 0;
}
.halt-clock div {
  background: var(--paper); border-radius: 4px; padding: 10px 6px 8px; text-align: center;
}
.halt-clock dt { font: 700 clamp(34px, 9vw, 48px)/1 var(--display); }
.halt-clock dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }

.halt-access { margin: 22px 0 0; }
.halt-access[hidden] { display: none; }
.halt-access label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.halt-access-row { display: flex; gap: 8px; }
.halt-access input {
  flex: 1; min-width: 0; padding: 11px 14px;
  font: 600 20px var(--body); letter-spacing: .2em;
  color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 4px;
}
.halt-access button {
  padding: 0 20px; font: 600 16px var(--body);
  color: var(--panel); background: var(--ink);
  border: 0; border-radius: 4px; cursor: pointer; transition: background .15s;
}
.halt-access button:hover { background: #0d1626; }
.halt-msg { min-height: 1.4em; margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--down); }

.halt-foot { margin: 22px 0 0; font-size: 16px; }
.halt-foot a { font-weight: 600; }

.halt-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; font-size: 14px; }
.halt-legal a { color: var(--ink-2); }
