* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  display: block;
}

#user-header {
  display: none;
  position: fixed;
  top: 8px;
  right: 12px;
  z-index: 100;
  font-family: 'Courier New', monospace;
  font-size: 11px;
}

#header-profile {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid #333;
  color: #999;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

#header-profile:hover {
  border-color: #555;
  color: #ccc;
}

.header-arrow {
  font-size: 9px;
  opacity: 0.6;
}

#header-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: rgba(10, 10, 18, 0.95);
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 110px;
  overflow: hidden;
}

#header-dropdown.open {
  display: block;
}

#header-dropdown a,
#header-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  color: #999;
  text-align: left;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  text-decoration: none;
}

#header-dropdown a:hover,
#header-dropdown button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#header-admin {
  display: none;
  color: #FFD700;
}

#header-admin:hover {
  color: #FFE866;
}
