/* Shared by DoWatch and DoFetch: a dark room where only the content is lit. */
:root {
  color-scheme: dark;
  --void: #0b0c0d;
  --graphite: #15171a;
  --steel: #24272b;
  --ash: #8b9097;
  --chalk: #e8eaec;
  --signal: #f2f3f4;
  --danger: #ff8a7a;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font: 15px/1.5 var(--body);
  display: flex;
  flex-direction: column;
}
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
[hidden] { display: none !important; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 16px clamp(16px, 3vw, 32px);
}
.brand {
  font: 800 22px/1 var(--display);
  font-stretch: 112%;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand span { color: var(--ash); }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--ash);
  font-size: 13.5px;
  text-decoration: none;
}
.nav a:hover { color: var(--chalk); }
.nav a[aria-current="page"] { background: var(--steel); color: var(--chalk); }
.link-form { flex: 1 1 320px; min-width: 0; display: flex; gap: 8px; }
#link {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  background: var(--graphite);
  border: 1px solid var(--steel);
  border-radius: 6px;
  font: 13px var(--mono);
}
#link::placeholder { color: var(--ash); }
.go {
  height: 42px;
  padding: 0 20px;
  background: var(--chalk);
  color: var(--void);
  border: 0;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}
.go:hover { background: #fff; }
.go:disabled { opacity: .5; cursor: default; }
