:root {
  --face: #c0c0c0;
  --face-dark: #808080;
  --face-darker: #000000;
  --face-light: #ffffff;
  --face-highlight: #dfdfdf;
  --titlebar-l: #000080;
  --titlebar-r: #1084d0;
  --titlebar-text: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #008080; /* classic teal desktop */
  position: relative;
  overflow: hidden;
  font-family: "MS Sans Serif", "Tahoma", "Segoe UI", sans-serif;
  font-size: 13px;
}
 
.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 90vw);
  background: var(--face);
  padding: 3px;
  box-shadow:
    inset -1px -1px 0 var(--face-darker),
    inset 1px 1px 0 var(--face-highlight),
    inset -2px -2px 0 var(--face-dark),
    inset 2px 2px 0 var(--face-light);
}


.titlebar {
  height: 20px;
  background: linear-gradient(90deg, var(--titlebar-l), var(--titlebar-r));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 2px 4px;
  -webkit-user-select: none;
  user-select: none;
}

.titlebar .title {
  color: var(--titlebar-text);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}

.titlebar .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.titlebar .buttons {
  display: flex;
  gap: 2px;
}

.titlebar button {
  width: 16px;
  height: 14px;
  background: var(--face);
  border: none;
  box-shadow:
    inset -1px -1px 0 var(--face-darker),
    inset 1px 1px 0 var(--face-highlight);
  font-family: "Marlett", monospace;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: #000;
}

.titlebar button:active {
  box-shadow:
    inset 1px 1px 0 var(--face-darker),
    inset -1px -1px 0 var(--face-highlight);
}

.menubar {
  display: flex;
  gap: 14px;
  padding: 3px 6px;
  background: var(--face);
}

.menubar span {
  font-size: 13px;
}

.menubar span u {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.content {
  background: var(--face);
  padding: 2px;
}

.content-inner {
  background: var(--face-light);
  min-height: 220px;
  padding: 16px;
  box-shadow:
    inset 1px 1px 0 var(--face-dark),
    inset -1px -1px 0 var(--face-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
}

.statusbar {
  display: flex;
  padding: 3px;
  gap: 4px;
}

.statusbar .cell {
  flex: 1;
  background: var(--face);
  padding: 2px 6px;
  box-shadow:
    inset -1px -1px 0 var(--face-highlight),
    inset 1px 1px 0 var(--face-dark);
  font-size: 12px;
  color: #000;
}

.statusbar .cell:first-child {
  flex: 2;
}

.image-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.image-row img {
  max-width: 45%;
  max-height: 200px;
  object-fit: contain;
}

body {
  cursor: url('cursors/cursor.png') 0 0, auto;
}
