/* BcMUD -- 1996 called, it wants its homepage back. */
body {
  background: #c0c0c0;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  margin: 0;
  padding: 12px;
}
a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; color: #000080; }
h1 { text-align: center; font-size: 36px; margin: 8px 0; }
h2 { font-size: 22px; border-bottom: 2px solid #000080; margin-top: 24px; }
hr { border: 0; height: 4px; border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 14px 0; }
#page { max-width: 760px; margin: 0 auto; background: #fff; border: 3px ridge #fff; padding: 12px 20px 20px; }
.banner { background: #000080; color: #ffff00; text-align: center; padding: 14px 8px; border: 3px outset #6060ff; margin-bottom: 10px; }
.banner .title { font-family: "Courier New", Courier, monospace; font-size: 44px; font-weight: bold; letter-spacing: 6px; }
.banner .sub { font-family: "Courier New", Courier, monospace; color: #fff; font-size: 15px; }
.nav { text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin: 8px 0; }
.nav a { padding: 0 6px; }
.button {
  display: inline-block; background: #c0c0c0; color: #000 !important; text-decoration: none;
  font-family: Arial, Helvetica, sans-serif; font-weight: bold; padding: 8px 22px;
  border: 3px outset #fff; cursor: pointer; font-size: 18px;
}
.button:active { border-style: inset; }
.center { text-align: center; }
.small { font-size: 12px; }
.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
table.grid { border-collapse: collapse; width: 100%; margin: 10px 0; }
table.grid th, table.grid td { border: 2px inset #c0c0c0; padding: 4px 8px; text-align: left; vertical-align: top; }
table.grid th { background: #000080; color: #fff; font-family: Arial, Helvetica, sans-serif; }
.box { border: 2px inset #c0c0c0; background: #ffffe0; padding: 8px 12px; margin: 12px 0; }
.footer { text-align: center; font-size: 12px; color: #404040; }

/* connect page */
body.connect { background: #008080; padding: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.bar { background: #c0c0c0; border-bottom: 3px ridge #fff; padding: 4px 8px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.bar button { font-family: Arial, Helvetica, sans-serif; font-size: 13px; background: #c0c0c0; border: 2px outset #fff; padding: 1px 9px; cursor: pointer; }
.bar button:active { border-style: inset; }
#status { margin-left: auto; font-weight: bold; }
#status.on { color: #006000; } #status.off { color: #a00000; }
#termwrap { flex: 1; min-height: 0; background: #000; border: 3px inset #c0c0c0; margin: 6px; padding: 4px; }
#terminal { width: 100%; height: 100%; }

.counter { display: inline-block; background: #000; border: 3px inset #c0c0c0; padding: 3px 5px; margin-top: 3px; }
.counter span { display: inline-block; width: 1.1em; margin: 0 1px; background: #200; color: #ff3030; font: bold 22px "Courier New", Courier, monospace; text-align: center; border: 1px solid #500; }
