/* Local Win98-style window subset used by the snapshot frontend. */
.window {
  position: absolute;
  min-width: 96px;
  padding: 3px;
  background: #c0c0c0;
  border-top: 1px solid #dfdfdf;
  border-left: 1px solid #dfdfdf;
  border-right: 1px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
  box-shadow: inset 1px 1px #ffffff, inset -1px -1px #808080;
  color: #000;
  font: 12px/1.2 "MS Sans Serif", Tahoma, sans-serif;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  padding: 2px 2px 2px 3px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  user-select: none;
}

.title-bar-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}

.title-bar-controls {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}

.title-bar-controls button {
  width: 16px;
  height: 14px;
  min-width: 16px;
  min-height: 14px;
  padding: 0;
  border-radius: 0;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
  background: #c0c0c0;
  color: #000;
  font: 11px/1 Arial, sans-serif;
}

.title-bar-controls button::before {
  content: "×";
}

.window-body {
  margin: 3px 0 0;
  padding: 0;
  background: #000;
}
