body { font-family: sans-serif; }
canvas { display: block; }
#viewer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
#gm-overlay {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
  z-index: 9;
}
#gm-overlay > * { pointer-events: auto; }
#hud {
  font-size: 15px;
  color: #ddd;
  background-color: rgba(0,0,0,0.6);
  text-align: center;
  align-self: center;
  width: 80%;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: pre-line;
}
#hud u { padding: 0 8px; text-decoration: none;
         border: solid; border-width: 1px 0; }
#hud s { padding: 0 8px; text-decoration: none; opacity: 0.5; }
#hud a.gm-hud-option {
  color: #7fc3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
#hud a.gm-hud-option:hover {
  color: #b7deff;
}
#hud a.gm-hud-option u,
#hud a.gm-hud-option s {
  padding: 0 6px;
  border: 0;
  text-decoration: underline;
}
#hud a.gm-hud-option u {
  color: #fff;
  opacity: 1;
}
#hud a.gm-hud-option s {
  opacity: 0.85;
}
#help {
  display: none;
  font-size: 16px;
  color: #eee;
  background-color: rgba(0,0,0,0.7);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: default;
  padding: 5px;
  border-radius: 5px;
  z-index: 9;
  white-space: pre-line;
}
#inset {
  width: 200px;
  height: 200px;
  background-color: #888;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
}
a { color: #59C; }
