/* The Golden Unicorn BBS: the page around the terminal. Dark only, on purpose. */
:root {
  --ink: #0b0c10;
  --panel: #14161d;
  --edge: #2a2e3a;
  --text: #c9ccd6;
  --dim: #8a8f9e;
  --gold: #e8b923;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--text); }
body {
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}
header { width: 100%; max-width: 860px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 4px 0 12px; }
h1 { margin: 0; font-size: 1.35rem; font-weight: 650; letter-spacing: 0.02em; color: var(--gold); text-wrap: balance; }
h1 span { color: var(--dim); font-weight: 500; }
#status { margin: 0; color: var(--dim); font-variant-numeric: tabular-nums; }
#status.on { color: #6fd08c; }
#status.off { color: #e0a060; }
main { width: 100%; max-width: 860px; }
#frame {
  background: #000;
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
#term { margin: 0 auto; width: fit-content; max-width: 100%; }
/* The scroll-back still works with the wheel; its bar is hidden to keep the screen clean. */
#term .xterm-viewport { scrollbar-width: none; }
#term .xterm-viewport::-webkit-scrollbar { display: none; }
#actions { min-height: 2.5rem; margin: 12px 0 0; text-align: center; }
button {
  font: inherit; color: var(--ink); background: var(--gold);
  border: 0; border-radius: 6px; padding: 8px 18px; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
footer { width: 100%; max-width: 860px; color: var(--dim); font-size: 0.9rem; margin-top: 4px; }
footer p { margin: 6px 0; }
code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text); background: var(--panel); border: 1px solid var(--edge); border-radius: 4px; padding: 1px 5px; }
@media (max-width: 600px) { body { padding: 8px; } #frame { padding: 4px; border-radius: 4px; } }
