/* Adapted from Oversight Supply, "Scribble — 404" (supply.madebyoversight.com). See INTAKE.md. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0a0a0b; color: #3b63ff; font-family: 'IBM Plex Mono', ui-monospace, monospace; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }

.sc { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.sc-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M2 20 L5 13 L16 2 L20 6 L9 17 Z' fill='none' stroke='%233b63ff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 2 20, crosshair; }
.sc-top, .sc-foot, .sc-tools { position: absolute; z-index: 2; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.sc-top { top: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; pointer-events: none; }
.sc-foot { left: 50%; top: 78%; translate: -50% 0; display: grid; gap: 10px; justify-items: center; text-align: center; white-space: nowrap; }
.sc-foot label { color: #4a5070; }
.sc-row { display: flex; gap: 10px; align-items: center; }
.sc-foot input {
  width: 200px;
  background: none;
  border: 0;
  border-bottom: 1px solid #3b63ff;
  color: #c9d4ff;
  padding: 6px 2px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-align: center;
  border-radius: 0;
}
.sc-foot input:focus { outline: none; border-bottom-color: #c9d4ff; }
.sc-foot button[type=submit] { background: none; border: 0; padding: 6px 2px; color: #c9d4ff; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.sc-foot button[type=submit]:hover { color: #fff; }
.sc-err { margin: 0; color: #c9d4ff; }
.sc-tools { left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; color: #4a5070; pointer-events: none; }
.sc-tools button {
  pointer-events: auto;
  background: none;
  border: 1px solid #3b63ff;
  color: #3b63ff;
  padding: 7px 11px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.sc-tools button:hover:not(:disabled) { background: #3b63ff; color: #0a0a0b; }
.sc-tools button:disabled { opacity: 0.35; cursor: default; }
:focus-visible { outline: 1px dashed #c9d4ff; outline-offset: 4px; }
@media (max-width: 560px) {
  .sc-foot { top: 62%; }
  .sc-tools span { display: none; }
  .sc-tools { justify-content: center; }
}
