html, body {
  margin: 0; padding: 0;
  background: #3a3a3a; color: #ddd;
  font-family: Consolas, monospace;
  overflow: hidden; width: 100%; height: 100%;
}

#wrap { position: fixed; inset: 0; background: #3a3a3a; }

#arm {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #3a3a3a; display: block;
}

#status {
  position: fixed; bottom: 6px; right: 10px;
  font-size: 13px; color: #7f7;
  z-index: 10; background: rgba(0,0,0,0.55);
  padding: 3px 8px; border-radius: 3px;
  font-weight: bold; letter-spacing: 1px;
}
#status.warn { color: #ff0; }
#status.err  { color: #f55; }

/* ============ ÀÂÒÎÐÈÇÀÖÈß ============ */
#auth {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 20;
}

#auth-login a { display: block; line-height: 0; }
#auth-login img {
  height: 44px; display: block;
  border-radius: 4px;
  transition: filter 0.15s;
}
#auth-login img:hover { filter: brightness(1.15); }

#auth-user {
  background: rgba(0,0,0,0.75);
  padding: 6px 12px 6px 6px;
  border-radius: 6px;
  border: 1px solid #444;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
#auth-avatar {
  width: 40px; height: 40px;
  border-radius: 4px;
  border: 2px solid #666;
  display: block;
}
#auth-info { display: flex; flex-direction: column; line-height: 1.25; }
#auth-persona { color: #fff; font-weight: bold; font-size: 14px; }
#auth-status  { color: #9f9; font-size: 11px; }
#auth-status.bad { color: #f88; }

/* ============ TOAST ============ */
#toast {
  position: fixed; top: 60px; left: 50%;
  transform: translateX(-50%);
  background: rgba(200,40,40,0.95);
  color: #fff; padding: 10px 20px;
  border-radius: 4px; font-weight: bold;
  display: none; z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
#toast.show { display: block; }