/* winxp-luna
 * 记忆 XP Luna：纯色桌面 #3a6ea5（不要 Bliss 照片）、蓝窗框、绿开始、蓝任务栏。
 * 保留 .desk .taskbar .window .title-bar。Tahoma 11px。开始钮可略圆，其余 border-radius:0。
 */
html.skin-winxp-luna {
  --desk: #3a6ea5;
  --task: #245edc;
  --start: #3c8d0d;
  --title: #0a246a;
  --face: #ece9d8;
}
html.skin-winxp-luna,
html.skin-winxp-luna body,
html.skin-winxp-luna div,
html.skin-winxp-luna span,
html.skin-winxp-luna p,
html.skin-winxp-luna b,
html.skin-winxp-luna i {
  margin: 0;
  padding: 0;
}
html.skin-winxp-luna body {
  min-height: 100vh;
  background: var(--desk);
  color: #000;
  font: 11px/1.4 Tahoma, "MS Sans Serif", sans-serif;
  overflow: hidden;
}
html.skin-winxp-luna button {
  font: 11px Tahoma, sans-serif;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

html.skin-winxp-luna .desk {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 30px;
  padding: 8px;
}
html.skin-winxp-luna .icon {
  width: 74px;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px #000;
  float: left;
  margin: 6px 8px;
}
html.skin-winxp-luna .icon i {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 4px;
  background: #c3d9f0;
  border: 1px solid #1a3a6a;
}
html.skin-winxp-luna .icon i.comp {
  background: #c3d9f0 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><rect fill='%233a6ea5' x='4' y='6' width='24' height='16'/><rect fill='%23ece9d8' x='10' y='22' width='12' height='4'/></svg>");
}
html.skin-winxp-luna .icon i.ie {
  background: #c3d9f0 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle fill='%233a6ea5' cx='16' cy='16' r='10'/><circle fill='%23c3d9f0' cx='16' cy='16' r='4'/></svg>");
}

html.skin-winxp-luna .window {
  width: 560px;
  margin: 28px auto 0;
  background: var(--face);
  border: 3px solid #0058e6;
  box-shadow: 2px 2px 0 rgba(0,0,0,.35);
}

/* 腊月巡站：窄屏 375px 下窗口缩放，避免标题栏和正文裁切 */
@media (max-width: 800px) {
  html.skin-winxp-luna .window {
    width: auto;
    max-width: 100vw;
    margin: 8px 4px 0;
    box-sizing: border-box;
  }
  html.skin-winxp-luna .title-bar {
    font-size: 10px;
    padding: 0 2px;
  }
  html.skin-winxp-luna .title-bar span {
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
html.skin-winxp-luna .title-bar {
  height: 26px;
  background: var(--title);
  color: #fff;
  font: 700 11px/26px Tahoma, sans-serif;
  padding: 0 4px;
  overflow: hidden;
}
html.skin-winxp-luna .title-bar span {
  float: left;
  padding-left: 4px;
}
html.skin-winxp-luna .ctrls {
  float: right;
  padding-top: 2px;
}
html.skin-winxp-luna .ctrls b {
  float: left;
  width: 21px;
  height: 21px;
  margin-left: 2px;
  text-align: center;
  line-height: 19px;
  border: 1px solid #003c74;
  background: #1e8ae8;
  color: #fff;
  font: 11px/19px Tahoma, sans-serif;
  box-shadow: inset 1px 1px #9fc9f5, inset -1px -1px #003c74;
}
html.skin-winxp-luna .ctrls b.close {
  background: #d44;
  box-shadow: inset 1px 1px #f8a, inset -1px -1px #802;
}

html.skin-winxp-luna .menubar {
  height: 20px;
  line-height: 20px;
  background: var(--face);
  padding: 0 6px;
  border-bottom: 1px solid #aca899;
  color: #000;
}
html.skin-winxp-luna .menubar span { margin-right: 12px; }
html.skin-winxp-luna .body {
  background: #fff;
  margin: 2px;
  padding: 10px 12px;
  min-height: 180px;
  border: 1px solid #aca899;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
}
html.skin-winxp-luna .btn3d {
  height: 23px;
  padding: 0 12px;
  background: var(--face);
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf;
  font: 11px Tahoma, sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

html.skin-winxp-luna .taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: var(--task);
  color: #fff;
  overflow: hidden;
}
html.skin-winxp-luna .start {
  float: left;
  height: 26px;
  margin: 2px 4px 0 2px;
  padding: 0 16px 0 10px;
  line-height: 26px;
  background: var(--start);
  color: #fff;
  font: 700 11px/26px Tahoma, sans-serif;
  border: 1px solid #2b6a09;
  border-radius: 0 11px 11px 0;
  box-shadow: inset 1px 1px #8ed45a, inset -1px -1px #246808;
  cursor: default;
}
html.skin-winxp-luna .task {
  float: left;
  height: 22px;
  margin: 4px 2px 0;
  padding: 0 10px;
  line-height: 22px;
  background: #3d72e5;
  border: 1px solid;
  border-color: #7ba7f0 #163a9c #163a9c #7ba7f0;
  min-width: 120px;
}
html.skin-winxp-luna .tray {
  float: right;
  height: 22px;
  margin: 4px 4px 0 0;
  padding: 0 10px;
  line-height: 22px;
  background: #0f48b8;
  border: 1px solid;
  border-color: #163a9c #7ba7f0 #7ba7f0 #163a9c;
}
