* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #050508;
  color: #aaaaaa;
  font-family: "Courier New", Courier, monospace;
  overflow: hidden;
  user-select: none;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#bezel {
  position: relative;
  width: min(100vw, calc(100vh * 640 / 480));
  height: min(calc(100vh - 28px), calc(100vw * 480 / 640));
  background: #000;
}

#screen {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  outline: none;
  cursor: default;
}

#hint {
  height: 28px;
  line-height: 28px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #555566;
  text-align: center;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
