:root {
  color-scheme: dark;
}

body,
.neko-main {
  background: #090b10 !important;
}

/* The browser is a RevPilot surface. Keep Neko as an implementation detail. */
.header .neko,
.connect .logo,
.about .logo {
  display: none !important;
}

/* Embedded sessions take control on interaction; the app owns recovery UI. */
.video-menu {
  display: none !important;
}

/* The Devbox resizes the actual X11 screen to the pane's aspect ratio. Fill
   the pane during live resizing instead of retaining Neko's previous ratio. */
.player-container {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.player-aspect {
  display: none !important;
}

/* Before control is claimed the video keeps the local pointer. Once implicit
   hosting activates, the input overlay takes over and only the remote cursor
   remains visible. */
.overlay {
  cursor: none !important;
}

.connect {
  background: rgba(5, 7, 11, 0.88) !important;
  backdrop-filter: blur(12px);
}

.connect .window {
  width: min(340px, calc(100vw - 32px)) !important;
  padding: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px !important;
  background: #11141b !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.connect .window::before {
  content: "RevPilot browser";
  display: block;
  margin-bottom: 14px;
  color: #f4f4f5;
  font: 600 18px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

.connect .window .message span {
  margin-bottom: 6px;
  color: #a1a1aa !important;
  font-size: 12px;
  line-height: 20px !important;
  text-align: left !important;
  text-transform: none !important;
}

.connect .window .message input {
  padding: 9px 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9px !important;
  background: #090b10 !important;
}

.connect .window .message button {
  margin-top: 10px !important;
  border-radius: 9px !important;
  background: #f4c542 !important;
  color: #171717 !important;
  font-size: 12px;
  text-transform: none !important;
}

.connect .window .loader .bounce1,
.connect .window .loader .bounce2 {
  background-color: #f4c542 !important;
}
