@import "./status.css";
@import "./emulator.css";
@import "./info.css";
@import "./start.css";
@import "./settings.css";

/* 98.css uses the actual MS Sans Serif bitmap font and pixel-exact bevels.
   Everything below is layout — the chrome comes from 98.css. */

:root {
  --win-teal: #008080;
  --win-font: "Pixelated MS Sans Serif", Arial, sans-serif;
}

* {
  user-select: none;
  cursor: default;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  background: #000;
  font-family: var(--win-font);
  -webkit-font-smoothing: none;
  image-rendering: pixelated;
}

body.paused {
  background: var(--win-teal);

  > #emulator {
    display: none;
  }
}

button:not(:disabled),
li[role="tab"],
.title-bar-controls button:not(:disabled) {
  cursor: pointer;
}

button:focus {
  outline: none;
}

/* 98.css renders button text via text-shadow (color: transparent) so the
   bitmap font stays crisp; <img> children need their own alignment. */
button img {
  height: 16px;
  width: 16px;
  margin-right: 4px;
  vertical-align: -3px;
}

p {
  font-family: var(--win-font);
  font-size: 11px;
  line-height: 1.5;
}

code {
  font-family: "Courier New", monospace;
  font-size: 11px;
}

section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
