*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0a0a0a;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.titlebar {
  height: 32px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  -webkit-app-region: drag;
  flex-shrink: 0;
  position: relative;
  z-index: 200;
}
.titlebar-title {
  font-size: 11px;
  color: #444;
}
.titlebar-controls {
  display: flex;
  -webkit-app-region: no-drag;
}
.tbtn {
  background: none;
  border: none;
  color: #666;
  font-size: 13px;
  padding: 0 12px;
  height: 32px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.tbtn:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.tbtn-close:hover {
  background: #c42b1c;
  color: #fff;
}
.screen {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.22s ease;
}
.screen.hidden {
  display: none !important;
}
