*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  background: #008080;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 52px;
}

/* ── Desktop ── */
.desktop {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Window ── */
.window {
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  box-shadow: 1px 1px 0 #000;
  width: 380px;
  max-width: 100%;
}

/* ── Title bar ── */
.title-bar {
  background: linear-gradient(to right, #000080, #1084d0);
  padding: 3px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.title-bar-text {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.title-icon {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 0;
}

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

.title-bar-controls button {
  width: 16px;
  height: 14px;
  font-size: 9px;
  line-height: 1;
  background: #c0c0c0;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.title-bar-controls button:active {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

/* ── Window body ── */
.window-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Profile ── */
.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-pic {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center top;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.profile-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 12px;
  color: #444;
}

/* ── Divider ── */
.divider {
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
}

/* ── File list ── */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  color: #000;
  text-decoration: none;
  font-size: 13px;
}

.file-item:hover {
  background: #000080;
  color: #fff;
}

.file-icon {
  font-size: 14px;
}

.file-item.muted {
  color: #808080;
  cursor: default;
}

/* ── Status row ── */
.status-row {
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 3px 6px;
  font-size: 11px;
  color: #444;
}

/* ── Taskbar ── */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  gap: 4px;
}

.start-btn {
  height: 28px;
  padding: 0 10px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.start-btn:active {
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.taskbar-divider {
  width: 2px;
  height: 28px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  margin: 0 2px;
}

.taskbar-window-btn {
  height: 28px;
  padding: 0 10px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 12px;
  background: #c0c0c0;
  border: 2px solid;
  display: flex;
  align-items: center;
  cursor: pointer;
  min-width: 120px;
}

.taskbar-window-btn.active {
  border-color: #808080 #fff #fff #808080;
  background: #bdbdbd;
  box-shadow: inset 1px 1px #000;
}

.taskbar-clock {
  margin-left: auto;
  height: 28px;
  padding: 0 10px;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  display: flex;
  align-items: center;
  font-size: 12px;
}
