/* The Slint window covers the page; the small host-state line sits above it. */
:root {
  color-scheme: dark;
  --shell-bg: #20242b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--shell-bg);
  overflow: hidden;
  font-family: system-ui, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

#canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

#host-state {
  position: fixed;
  left: 8px;
  bottom: 6px;
  z-index: 10;
  max-width: calc(100% - 16px);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(10, 12, 16, 0.72);
  color: #cfd6e2;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Host language selector: the in-app settings control for N01. It sits above
   the Slint canvas so it stays clickable, clear of the bottom status line. */
#host-controls {
  position: fixed;
  right: 8px;
  bottom: 6px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(10, 12, 16, 0.72);
  color: #cfd6e2;
  font-size: 12px;
  line-height: 18px;
}

#host-controls select {
  background: #20242b;
  color: #e6edf7;
  border: 1px solid #3a4351;
  border-radius: 3px;
  font-size: 12px;
  padding: 1px 4px;
}
