/* =========================================================
   XP (Luna) — anniversary edition
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font-family: Tahoma, "Segoe UI", Verdana, sans-serif;
  font-size: 12px;
  color: #000;
  background: #000;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
svg, img { display: block; }

.screen { position: fixed; inset: 0; }

/* Bliss: real wallpaper if present, painted fallback underneath */
.wallpaper {
  background:
    url("../assets/wallpaper/bliss.jpg") center / cover no-repeat,
    radial-gradient(ellipse 85% 40% at 22% 98%, #4f9a2a 0 60%, transparent 61%),
    radial-gradient(ellipse 110% 46% at 70% 104%, #69b33a 0 62%, transparent 63%),
    radial-gradient(ellipse 30% 9% at 30% 30%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(ellipse 22% 7% at 74% 20%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(ellipse 18% 5% at 55% 38%, rgba(255,255,255,.6), transparent 70%),
    linear-gradient(#2a6fd8 0%, #5a9cec 35%, #a9cff4 62%, #cfe6f7 70%);
}

/* ---------------- Window chrome ---------------- */
.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #ece9d8;
  border: 3px solid #0831d9;
  border-top: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 2px 4px 14px rgba(0,0,0,.35), inset -1px -1px #00138c, inset 1px 1px #166aee;
  min-width: 220px;
}
.window.inactive { border-color: #7a96df; }
.title-bar {
  height: 30px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 0 6px;
  margin: 0 -3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0050ee 40%, #06f 88%, #06f 93%, #005bff 95%, #003dd7 96%, #003dd7);
  color: #fff;
  cursor: default;
  touch-action: none;
}
.window.inactive .title-bar {
  background: linear-gradient(180deg, #a9c0f0, #7a96df 10%, #7a96df 88%, #6a86cf);
}
.tb-icon { flex: none; width: 16px; height: 16px; }
.title-text {
  flex: 1;
  font: bold 13px "Trebuchet MS", Tahoma, sans-serif;
  text-shadow: 1px 1px #0f1089;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window.inactive .title-text { color: #d8e4f8; text-shadow: none; }
.tb-controls { display: flex; gap: 2px; }
.tb-btn {
  width: 21px; height: 21px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: linear-gradient(135deg, #3c8cff, #1655e0 60%, #0d3fbf);
  position: relative;
  padding: 0;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.25);
}
.tb-btn:hover { filter: brightness(1.15); }
.tb-btn:active { filter: brightness(.85); }
.tb-btn.close { background: linear-gradient(135deg, #f0a08a, #e0573c 45%, #c3361a); }
.tb-btn.close::before, .tb-btn.close::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 2px; background: #fff;
  transform: rotate(45deg);
}
.tb-btn.close::after { transform: rotate(-45deg); }
.tb-btn.min::before { content: ""; position: absolute; left: 4px; bottom: 4px; width: 7px; height: 3px; background: #fff; }
.tb-btn.max::before { content: ""; position: absolute; inset: 4px; border: 1px solid #fff; border-top-width: 3px; }
.window.inactive .tb-btn { opacity: .75; }

.window-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }

.window.maximized { left: 0 !important; top: 0 !important; width: 100% !important; height: calc(100% - 30px) !important; border-radius: 0; }
.window.maximized .title-bar { border-radius: 0; }
.window.minimized { display: none; }
.window.opening { animation: open .16s ease-out; }
@keyframes open { from { transform: scale(.92); opacity: 0; } }
.window.shake { animation: shake .5s; }
@keyframes shake {
  10%, 50%, 90% { transform: translate(-7px, 2px); }
  30%, 70% { transform: translate(7px, -2px); }
}

/* XP push button */
.xp-btn {
  min-width: 75px;
  padding: 4px 12px;
  border: 1px solid #003c74;
  border-radius: 3px;
  background: linear-gradient(#fff, #ecebe6 86%, #d6d0c5);
  box-shadow: inset -1px -1px #c9c3b5;
}
.xp-btn:hover { box-shadow: inset 0 0 0 2px #f9b44b; }
.xp-btn:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.xp-btn:active { background: linear-gradient(#e5e3dc, #f2f1ec); }

/* Menu bar */
.menubar { display: flex; gap: 2px; padding: 2px 4px; border-bottom: 1px solid #d8d2bd; background: #ece9d8; flex: none; }
.menubar span { padding: 2px 6px; }
.menubar span:hover { background: #316ac5; color: #fff; }

/* ---------------- Dialogs ---------------- */
.dialog .window-body { padding: 14px 14px 12px; }
.dialog-row { display: flex; gap: 14px; align-items: flex-start; }
.dialog-row p { margin: 4px 0 0; line-height: 1.5; white-space: pre-line; max-width: 340px; }
.dialog-icon { flex: none; }
.dialog-buttons { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* ---------------- Phone gate ---------------- */
#gate { display: grid; place-items: center; padding: 16px; }
.gate-dialog { position: relative; width: min(360px, 100%); }
.gate-dialog p { font-size: 13px; }
.polaroid {
  margin: 16px auto 0;
  width: 78%;
  padding: 10px 10px 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  transform: rotate(-2deg);
}
.polaroid-photo { aspect-ratio: 1; overflow: hidden; }
.polaroid-photo img, .polaroid-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { text-align: center; padding-top: 10px; font-family: "Comic Sans MS", "Bradley Hand", cursive; font-size: 15px; }
.polaroid figcaption small { display: block; font-size: 12px; color: #666; margin-top: 2px; letter-spacing: .15em; }

/* Photo placeholder */
.ph {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, #9fc4f2, #f3b9cf);
  color: #fff; font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,.3);
  padding: 8px;
}

/* ---------------- Boot ---------------- */
#boot { background: #000; color: #fff; display: grid; place-items: center; }
.boot-center { display: flex; flex-direction: column; align-items: center; gap: 70px; transform: translateY(-20px); }
.boot-logo { display: flex; align-items: flex-end; gap: 10px; }
.boot-word { position: relative; font-family: "Franklin Gothic Medium", "Trebuchet MS", Arial, sans-serif; line-height: 1; }
.boot-word small { position: absolute; top: -16px; left: 2px; font-size: 14px; }
.boot-word b { font-size: 54px; font-weight: 600; letter-spacing: -1px; }
.boot-word .xp { font-size: 26px; color: #f26522; font-style: italic; font-weight: bold; margin-left: 2px; }
.boot-bar { width: 160px; height: 18px; border: 2px solid #b2b2b2; border-radius: 4px; padding: 2px; overflow: hidden; }
.boot-blocks { display: flex; gap: 2px; height: 100%; animation: boot 1.9s linear infinite; }
.boot-blocks i {
  width: 9px; height: 100%; border-radius: 1px;
  background: linear-gradient(#2838c7, #6b8cf6 45%, #2838c7);
}
@keyframes boot { from { transform: translateX(-35px); } to { transform: translateX(160px); } }
.boot-foot { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; font-size: 12px; color: #ddd; }
.boot-foot b { font: italic bold 20px "Trebuchet MS", sans-serif; }

/* ---------------- Login ---------------- */
#login { background: #5a7edc; display: flex; flex-direction: column; color: #fff; }
.login-top { height: 78px; background: #00309c; border-bottom: 2px solid; border-image: linear-gradient(90deg, #00309c, #fff 30%, #fff 50%, #00309c) 1; flex: none; }
.login-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 10% 0%, #a2bdf5 0, #5a7edc 45%);
}
.login-left { width: 44%; display: flex; flex-direction: column; align-items: flex-end; padding-right: 36px; text-align: right; }
.login-logo { display: flex; align-items: center; gap: 8px; font-family: "Franklin Gothic Medium", "Trebuchet MS", sans-serif; }
.login-logo b { font-size: 40px; font-weight: 600; text-shadow: 1px 1px 2px rgba(0,0,0,.2); }
.login-logo sup { font-size: 20px; color: #f26522; font-style: italic; font-weight: bold; }
.login-left p { font-size: 17px; margin: 20px 0 0; }
.login-divider { width: 1px; align-self: stretch; margin: 60px 0; background: linear-gradient(transparent, #fff 30%, #fff 70%, transparent); opacity: .8; }
.login-right { width: 44%; padding-left: 36px; display: flex; flex-direction: column; gap: 10px; }
.user-card { width: 370px; border-radius: 8px; }
.user-card.active {
  background: linear-gradient(90deg, #00309c 0%, rgba(0,48,156,.85) 68%, rgba(0,48,156,0) 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.2);
  padding-bottom: 10px;
}
.user-tile {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 8px 10px;
  border: 0; border-radius: 8px;
  background: transparent; text-align: left; color: #fff;
}
.user-card:not(.active) .user-tile:hover { background: linear-gradient(90deg, #00309c, rgba(0,48,156,0)); }
.user-card.active .user-tile { align-items: flex-start; padding-bottom: 2px; }
.user-card.active .user-sub { display: none; }
.user-pic {
  width: 56px; height: 56px; flex: none;
  border: 2px solid #fff; border-radius: 5px; overflow: hidden;
  box-shadow: 0 0 0 0 #f9c84a;
}
.user-tile:hover .user-pic, .user-card.active .user-pic { border-color: #f9c84a; }
.user-pic img, .user-pic .ph { width: 100%; height: 100%; object-fit: cover; font-size: 22px; }
.user-name { font-size: 19px; display: block; }
.user-sub { display: block; font-size: 12px; opacity: .85; margin-top: 3px; }
.pw-panel { padding: 0 12px 2px 80px; margin-top: -28px; position: relative; }
.pw-label { display: block; font-size: 11px; color: #dce8ff; margin-bottom: 4px; }
.pw-row { display: flex; gap: 6px; align-items: center; }
.pw-row input {
  width: 170px; height: 24px; padding: 2px 6px;
  border: 1px solid #003c74; border-radius: 3px;
  background: #fff; color: #000;
  font: 13px Tahoma, sans-serif;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.22);
  user-select: text;
}
.pw-row input:focus { outline: none; border-color: #f9c84a; box-shadow: inset 1px 1px 2px rgba(0,0,0,.22), 0 0 0 1px rgba(249,200,74,.65); }
.pw-go, .pw-help {
  width: 24px; height: 24px; flex: none;
  border: 1px solid #fff; border-radius: 4px;
  color: #fff; font-weight: bold; font-size: 13px; line-height: 1; padding: 0;
  display: grid; place-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.pw-go { background: linear-gradient(180deg, #87e676, #3ca732 45%, #237f1c); }
.pw-help { background: linear-gradient(180deg, #6aa6ff, #2464db 45%, #1243a8); font-family: Georgia, Tahoma, serif; font-size: 14px; }
.pw-go:hover, .pw-help:hover { filter: brightness(1.12); }
.pw-go:active, .pw-help:active { filter: brightness(.9); }
.pw-hint {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 7px 11px;
  min-width: 232px;
  max-width: 260px;
  background: #ffffe1;
  color: #000;
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0,0,0,.35);
  font-size: 11px;
  line-height: 1.4;
}
.pw-hint::before {
  content: "";
  position: absolute;
  top: -7px; left: 211px;
  border: 7px solid transparent;
  border-top: 0; border-bottom-color: #000;
}
.pw-hint::after {
  content: "";
  position: absolute;
  top: -6px; left: 212px;
  border: 6px solid transparent;
  border-top: 0; border-bottom-color: #ffffe1;
}
.login-bottom {
  height: 78px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 34px; background: #00309c;
  border-top: 2px solid; border-image: linear-gradient(90deg, #00309c, #f99736 30%, #f99736 50%, #00309c) 1;
}
.login-bottom p { max-width: 300px; text-align: right; margin: 0; font-size: 12px; opacity: .9; }
.login-off { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: #fff; font-size: 14px; }
.login-off:hover { text-decoration: underline; }
.welcome {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(ellipse at 10% 0%, #a2bdf5 0, #5a7edc 45%);
  border-top: 80px solid #00309c; border-bottom: 80px solid #00309c;
}
.welcome span { font: italic bold 56px "Franklin Gothic Medium", "Trebuchet MS", sans-serif; text-shadow: 2px 2px 3px rgba(0,0,0,.3); }

/* ---------------- Desktop ---------------- */
#desktop { overflow: hidden; }
.icons { position: absolute; top: 8px; left: 6px; right: 6px; bottom: 38px; transition: opacity .1s; }
.d-icon {
  position: absolute;
  width: 84px; padding: 4px 2px; border: 0; background: none; touch-action: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #fff; text-align: center;
}
.d-icon .ic { width: 40px; height: 40px; display: grid; place-items: center; }
.d-icon .ic svg, .d-icon .ic img { width: 32px; height: 32px; filter: drop-shadow(1px 1px 1px rgba(0,0,0,.3)); }
.d-icon .lbl { font-size: 11px; line-height: 1.25; padding: 1px 3px; text-shadow: 1px 1px 1px #000, 0 0 3px #000; word-break: break-word; }
.d-icon.selected .ic { filter: brightness(.7) sepia(1) hue-rotate(180deg) saturate(3); }
.d-icon.dragging { opacity: .7; z-index: 5; }
.d-icon.selected .lbl { background: #316ac5; text-shadow: none; outline: 1px dotted #fff; }
.d-icon:focus { outline: none; }

.windows { position: absolute; inset: 0 0 30px 0; pointer-events: none; }
.windows > * { pointer-events: auto; }

/* ---------------- Taskbar ---------------- */
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  display: flex; align-items: stretch;
  background: linear-gradient(#1f2f86 0, #3165c4 3%, #3682e5 6%, #4490e6 10%, #3883e5 12%, #2b71e0 15%, #2663da 18%, #235bd6 20%, #2258d5 23%, #2157d6 38%, #245ddb 54%, #2562df 86%, #245fdc 89%, #2158d4 92%, #1d4ec0 95%, #1941a5 98%);
  z-index: 9000;
}
.start-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 0 22px 0 10px; border: 0; margin-right: 10px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(#3c8f3c, #5eb95e 8%, #4aa24a 40%, #3c903c 85%, #2f7a2f);
  box-shadow: inset -2px 0 3px rgba(0,0,0,.25), 2px 0 3px rgba(0,0,0,.3);
  color: #fff;
}
.start-btn i { font: italic bold 18px "Franklin Gothic Medium", "Trebuchet MS", sans-serif; text-shadow: 1px 1px 2px #1a4a1a; padding-right: 2px; }
.start-btn:hover, .start-btn.open { filter: brightness(1.1); }
.start-btn.open { box-shadow: inset 2px 2px 4px rgba(0,0,0,.4); }
.task-buttons { flex: 1; display: flex; gap: 3px; padding: 3px 0; min-width: 0; }
.task-btn {
  width: 160px; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0 8px;
  border: 1px solid #1c3fa8; border-radius: 3px; color: #fff;
  background: linear-gradient(#3c81f3, #2766e0);
  box-shadow: inset 1px 1px rgba(255,255,255,.25);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px;
}
.task-btn svg, .task-btn img { width: 16px; height: 16px; flex: none; }
.task-btn span { overflow: hidden; text-overflow: ellipsis; }
.task-btn.active { background: linear-gradient(#1e52b7, #1c4aa8); box-shadow: inset 1px 1px 3px rgba(0,0,0,.5); }
.task-btn:hover { filter: brightness(1.1); }
.tray {
  display: flex; align-items: center; gap: 8px; padding: 0 12px 0 10px;
  background: linear-gradient(#0c59b9, #139ee9 6%, #18b5f2 10%, #139beb 14%, #1290e8 19%, #0d8dea 63%, #0d9ff1 81%, #0f9eed 88%, #119be9 91%, #1392e2 94%, #137ed7 97%, #095bc9);
  border-left: 1px solid #1042af;
  box-shadow: inset 1px 0 1px #18bbff;
  color: #fff; font-size: 11px;
}
.tray-msn { width: 18px; height: 18px; border: 0; padding: 0; background: none; }
.tray-msn svg, .tray-msn img { width: 18px; height: 18px; }

/* Balloon */
.balloon {
  position: absolute; right: 14px; bottom: 40px; width: 290px;
  padding: 10px 12px; background: #ffffe1; color: #000;
  border: 1px solid #000; border-radius: 8px;
  box-shadow: 2px 3px 6px rgba(0,0,0,.35);
  cursor: pointer; animation: open .2s ease-out;
}
.balloon::after {
  content: ""; position: absolute; right: 58px; bottom: -12px;
  border: 12px solid transparent; border-top-color: #ffffe1; border-bottom: 0; border-right: 0;
  filter: drop-shadow(1px 1px 0 #000);
}
.balloon b { display: flex; align-items: center; gap: 6px; }
.balloon p { margin: 6px 0 0 22px; line-height: 1.4; white-space: pre-line; }
.balloon-x { position: absolute; right: 6px; top: 6px; width: 16px; height: 16px; padding: 0; border: 1px solid #aaa; border-radius: 3px; background: #fff; line-height: 12px; font-size: 13px; }

/* ---------------- Start menu ---------------- */
.start-menu {
  position: absolute; left: 0; bottom: 30px; width: 400px; z-index: 9500;
  border-radius: 8px 8px 0 0; overflow: hidden;
  border: 1px solid #0831d9; box-shadow: 2px -2px 10px rgba(0,0,0,.4);
  background: #fff; animation: open .12s ease-out;
}
.sm-head {
  display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 10px; color: #fff;
  background: linear-gradient(#1868ce, #0e60cb 12%, #0e60cb 20%, #1164cf 32%, #1667cf 33%, #1b6cd3 47%, #1e70d9 54%, #2476dc 60%, #297ae0 65%, #3482e3 77%, #3786e5 79%, #428ee9 90%, #4791eb 100%);
  border-bottom: 2px solid #e5852b;
}
.sm-head b { font: bold 15px "Trebuchet MS", sans-serif; text-shadow: 1px 1px 2px #0a3a8a; }
.sm-avatar { width: 46px; height: 46px; border: 2px solid #fff; border-radius: 4px; overflow: hidden; }
.sm-avatar img, .sm-avatar .ph { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.sm-body { display: flex; min-height: 300px; }
.sm-left, .sm-right { list-style: none; margin: 0; padding: 6px 0; }
.sm-left { flex: 1.1; background: #fff; border-right: 1px solid #95bdee; }
.sm-right { flex: 1; background: #d3e5fa; }
.sm-body li button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 5px 8px;
  border: 0; background: none; text-align: left;
}
.sm-left li button { font-weight: bold; }
.sm-left li button small { display: block; font-weight: normal; color: #777; }
.sm-right li button { color: #0c2a6b; font-weight: bold; }
.sm-body li button:hover { background: #316ac5; color: #fff; }
.sm-body li button:hover small { color: #dde; }
.sm-body li button svg, .sm-body li button img { width: 30px; height: 30px; flex: none; }
.sm-right li button svg, .sm-right li button img { width: 24px; height: 24px; }
.sm-sep { height: 1px; margin: 6px 10px; background: linear-gradient(90deg, transparent, #bbb, transparent); }
.sm-foot {
  display: flex; justify-content: flex-end; gap: 10px; padding: 6px 10px; height: 44px;
  background: linear-gradient(#4282d6, #3b85e0 3%, #418ae3 5%, #418ae3 17%, #3c87e2 21%, #3786e4 26%, #3482e3 29%, #2e7ee1 39%, #2374df 49%, #2072db 57%, #196edb 62%, #1769d5 72%, #1563d0 75%, #1157ca 87%, #1155c9 95%, #0f53c8);
}
.sm-foot button { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: #fff; padding: 2px 6px; }
.sm-foot button:hover { background: rgba(255,255,255,.15); border-radius: 3px; }

/* ---------------- Explorer ---------------- */
.explorer { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.toolbar, .addressbar { flex: none; display: flex; align-items: center; gap: 6px; padding: 3px 6px; background: #ece9d8; border-bottom: 1px solid #d8d2bd; }
.toolbar span { padding: 2px 6px; color: #444; }
.addressbar label { color: #555; }
.addressbar div { flex: 1; display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #7f9db9; padding: 2px 4px; white-space: nowrap; overflow: hidden; }
.addressbar svg, .addressbar img { width: 16px; height: 16px; }
.ex-main { flex: 1; display: flex; min-height: 0; }
.ex-side {
  width: 190px; flex: none; padding: 12px 10px; overflow: auto;
  background: linear-gradient(#7ba2e7, #6375d6);
}
.ex-panel { border-radius: 4px 4px 0 0; overflow: hidden; margin-bottom: 12px; background: #d6dff7; }
.ex-panel h4 { margin: 0; padding: 5px 8px; color: #215dc6; font-size: 11px; background: linear-gradient(90deg, #fff, #c6d3f7); }
.ex-panel div { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.ex-panel button { border: 0; background: none; padding: 0; text-align: left; color: #0c3a9a; font-size: 11px; }
.ex-panel button:hover { color: #2b70e6; text-decoration: underline; }
.ex-panel p { margin: 0; font-size: 11px; line-height: 1.45; color: #222; white-space: pre-line; }
.ex-content { flex: 1; overflow: auto; padding: 12px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; }
.ex-item {
  width: 110px; padding: 4px; border: 1px solid transparent; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11px;
  word-break: break-word;
}
.ex-item .thumb { width: 96px; height: 96px; border: 1px solid #ccc; padding: 3px; background: #fff; }
.ex-item .thumb img, .ex-item .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 11px; }
.ex-item svg, .ex-item img.ico { width: 40px; height: 40px; }
.ex-item.selected { background: #e3ecfb; border-color: #9cb9ec; }
.ex-item.selected span { background: #316ac5; color: #fff; }
.ex-empty { color: #666; padding: 20px; }
.statusbar { flex: none; padding: 3px 8px; border-top: 1px solid #d8d2bd; background: #ece9d8; color: #333; font-size: 11px; }

/* ---------------- Picture viewer ---------------- */
.viewer { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; overflow: auto; }
.viewer-stage img, .viewer-stage .ph { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.viewer-stage .ph { width: 420px; height: 300px; font-size: 18px; }
.viewer-caption { text-align: center; padding: 0 14px 10px; font-size: 13px; min-height: 28px; }
.viewer-bar { flex: none; display: flex; justify-content: center; gap: 8px; padding: 6px; background: #ece9d8; border-top: 1px solid #d8d2bd; }
.viewer-bar button {
  width: 34px; height: 28px; border: 1px solid #8c97ae; border-radius: 4px;
  background: linear-gradient(#fff, #dfe6f2); font-size: 14px; color: #1e4fb8;
}

/* ---------------- Notepad ---------------- */
.notepad { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.notepad textarea {
  flex: 1; resize: none; border: 0; border-top: 1px solid #aaa; padding: 6px 8px; margin: 0;
  font: 14px/1.55 "Lucida Console", "Courier New", monospace; color: #000; background: #fff; outline: none;
  user-select: text;
}

/* ---------------- Messenger ---------------- */
.msn { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.msn-head {
  flex: none; padding: 8px 10px; color: #fff;
  background: linear-gradient(90deg, #4d8ae0, #a8cdf5);
  display: flex; align-items: center; gap: 8px;
}
.msn-head b { font-size: 12px; }
.msn-head small { display: block; opacity: .9; font-size: 11px; }
.msn-head .pic { width: 34px; height: 34px; border: 1px solid #fff; border-radius: 3px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.msn-head .pic svg { width: 28px; height: 28px; }
.msn-log { flex: 1; overflow: auto; padding: 10px 12px; font: 13px/1.45 Tahoma, sans-serif; user-select: text; }
.msn-note { color: #777; font-style: italic; font-size: 11px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed #ccd; }
.msn-divider { text-align: center; color: #999; font-size: 11px; margin: 10px 0; }
.msn-msg { margin-bottom: 8px; animation: open .2s ease-out; }
.msn-msg .who { color: #777; }
.msn-msg .txt { padding-left: 12px; white-space: pre-wrap; }
.msn-msg.her .txt { color: #b0236b; }
.msn-msg.him .txt { color: #0c3a9a; }
.msn-msg.nudge-line { color: #777; font-style: italic; font-size: 11px; }
.msn-status { flex: none; height: 20px; padding: 2px 10px; color: #666; font-size: 11px; background: #f3f6fb; border-top: 1px solid #dde; }
.msn-compose { flex: none; display: flex; gap: 6px; padding: 6px; background: #e8eef9; border-top: 1px solid #c5d3ea; }
.msn-compose textarea { resize: none; font: 12px Tahoma, sans-serif; border: 1px solid #9cb0d4; padding: 4px 6px; flex: 1; }
.msn-compose-old { flex: 1; border: 1px solid #9cb0d4; padding: 4px 6px; font: 12px Tahoma, sans-serif; color: #888; background: #fff; }
.msn-compose .xp-btn { min-width: 60px; }

/* ---------------- Media player ---------------- */
.wmp { flex: 1; display: flex; flex-direction: column; min-height: 0; background: linear-gradient(#2c3e73, #121d3d); color: #cfe0ff; }
.wmp-main { flex: 1; min-height: 0; display: flex; }
.wmp-vis { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: radial-gradient(ellipse at 50% 100%, #1e3b7a, #050b1d 70%); }
.wmp-bars { flex: 1; display: flex; align-items: flex-end; gap: 4px; }
.wmp-bars i { flex: 1; height: 6%; border-radius: 2px 2px 0 0; background: linear-gradient(#7cf, #1d6ef0); transition: height .12s; }
.wmp-embed { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 0; }
.wmp-embed iframe { width: 100%; height: 152px; border: 0; border-radius: 10px; background: #0b1228; }
.wmp-open { align-self: flex-start; color: #9fc5ff; font-size: 11px; text-decoration: none; }
.wmp-open:hover { text-decoration: underline; color: #fff; }
.wmp-now { margin-top: 10px; font-size: 12px; }
.wmp-now b { display: block; font-size: 14px; color: #fff; }
.wmp-list { width: 220px; flex: none; margin: 0; padding: 6px 0; list-style: none; overflow: auto; background: #0d1530; border-left: 1px solid #34508f; }
.wmp-list button { width: 100%; text-align: left; border: 0; background: none; color: #cfe0ff; padding: 6px 10px; font-size: 11px; }
.wmp-list button small { display: block; color: #7f97c8; }
.wmp-list button:hover { background: #1c2c5c; }
.wmp-list button.on { background: #2b4fa0; color: #fff; }
.wmp-ctrl { flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; background: linear-gradient(#cdd6e8, #8d9bbb); }
.wmp-ctrl button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #3b4d78;
  background: radial-gradient(circle at 40% 30%, #fff, #b9c6e2 60%, #7c8db5); color: #1a2d5c; font-size: 13px;
}
.wmp-ctrl button.play { width: 44px; height: 44px; font-size: 16px; }
.wmp-msg { flex: none; padding: 3px 10px; font-size: 11px; color: #9fb4e0; background: #0d1530; min-height: 20px; }

/* ---------------- Turn off ---------------- */
.turnoff { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; background: rgba(0,0,0,.35); backdrop-filter: grayscale(1); }
.turnoff-box { width: 320px; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.5); animation: open .15s ease-out; }
.turnoff-box header { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 12px; background: #00309c; color: #fff; font-size: 17px; }
.turnoff-choices { display: flex; justify-content: space-around; padding: 26px 10px; background: linear-gradient(#7ea2ee, #5a7edc); }
.turnoff-choices button { border: 0; background: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; }
.to-icon { width: 34px; height: 34px; border-radius: 5px; border: 1px solid #fff; box-shadow: inset 0 -3px 5px rgba(0,0,0,.25); position: relative; }
.to-icon.stby { background: linear-gradient(#ffd34d, #e8a400); }
.to-icon.off { background: linear-gradient(#ff8a5c, #d23a10); }
.to-icon.restart { background: linear-gradient(#7fdc6a, #2e9a28); }
.to-icon::after { content: ""; position: absolute; inset: 8px; border: 3px solid #fff; border-radius: 50%; border-top-color: transparent; }
.turnoff-choices button:hover .to-icon { filter: brightness(1.15); }
.turnoff-box footer { display: flex; justify-content: flex-end; padding: 8px 12px; background: #00309c; }

#shutdown { background: #5a7edc; display: grid; place-items: center; color: #fff; border-top: 80px solid #00309c; border-bottom: 80px solid #00309c; }
.shutdown-msg { font-size: 20px; text-align: center; line-height: 1.6; }
.standby { position: fixed; inset: 0; z-index: 9900; background: #000; animation: fade .8s; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }


/* =========================================================
   v2: everything works
   ========================================================= */

/* ---------- Resize handles ---------- */
.rs { position: absolute; z-index: 2; }
.rs-n { top: -4px; left: 10px; right: 10px; height: 6px; cursor: ns-resize; z-index: 3; }
.rs-s { bottom: -4px; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rs-e { right: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rs-w { left: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rs-nw { left: -4px; top: -4px; width: 12px; height: 12px; cursor: nwse-resize; z-index: 3; }
.rs-ne { right: -4px; top: -4px; width: 12px; height: 12px; cursor: nesw-resize; z-index: 3; }
.rs-sw { left: -4px; bottom: -4px; width: 14px; height: 14px; cursor: nesw-resize; }
.rs-se { right: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nwse-resize; }
body.resizing, body.resizing * { user-select: none !important; }
/* XP size grip in the status bar corner */
.statusbar { position: relative; padding-right: 20px; }
.window:not(.maximized):not(.dialog) .statusbar::after {
  content: ""; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px; pointer-events: none;
  background:
    radial-gradient(circle at 1.5px 1.5px, #fff 1px, transparent 1.3px) 0 0 / 4px 4px,
    radial-gradient(circle at 1.5px 1.5px, #aca899 1px, transparent 1.3px) 1px 1px / 4px 4px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.window.maximized .rs { display: none; }
.tb-btn.help::before { content: "?"; position: absolute; inset: 0; color: #fff; font: bold 13px Tahoma; line-height: 19px; text-align: center; }
.tb-icon { cursor: default; }

/* ---------- Menus ---------- */
.menubar span.on { background: #316ac5; color: #fff; }
.menu-pop {
  position: fixed; z-index: 99999; min-width: 160px; padding: 2px;
  background: #fff; border: 1px solid #aca899; box-shadow: 2px 2px 3px rgba(0,0,0,.3);
  font-size: 11px;
}
.menu-item {
  width: 100%; display: flex; align-items: center; gap: 4px; padding: 3px 6px 3px 2px;
  border: 0; background: none; text-align: left; white-space: nowrap; font-size: 11px;
}
.menu-item.bold .mi-label { font-weight: bold; }
.mi-check { width: 16px; text-align: center; font-size: 9px; }
.mi-icon { width: 18px; display: grid; place-items: center; }
.mi-label { flex: 1; padding-right: 18px; }
.mi-key { color: inherit; opacity: .8; padding-right: 4px; }
.mi-sub { width: 10px; font-size: 8px; }
.menu-item:not(.disabled):hover, .menu-item.open { background: #316ac5; color: #fff; }
.menu-item.disabled { color: #aca899; cursor: default; }
.menu-sep { height: 1px; margin: 3px 2px; background: #aca899; }
.menu-pop.sm-sub { background: #fff; border-color: #6b8ec9; }
.menu-pop.sm-sub .menu-item { padding: 4px 8px 4px 4px; }
.menu-pop.sm-sub .mi-check { display: none; }
.menu-pop.emo-menu { min-width: 0; display: grid; grid-template-columns: repeat(4, 34px); }
.menu-pop.emo-menu .menu-item { justify-content: center; font-size: 18px; padding: 4px; }
.menu-pop.emo-menu .mi-check, .menu-pop.emo-menu .mi-key, .menu-pop.emo-menu .mi-sub { display: none; }
.menu-pop.emo-menu .mi-label { padding: 0; flex: none; }

/* ---------- Form bits ---------- */
.xp-input { font: 11px Tahoma, sans-serif; border: 1px solid #7f9db9; padding: 3px 4px; background: #fff; color: #000; user-select: text; }
select.xp-input { padding: 2px; }
.field-label { display: block; margin: 8px 0 3px; }
fieldset { border: 1px solid #d0d0bf; border-radius: 3px; margin: 8px 0; padding: 6px 10px 10px; }
legend { color: #0046d5; padding: 0 3px; }
.dialog .window-body { font-size: 11px; }
.dialog-content > p { line-height: 1.5; }
.dp-row { display: flex; gap: 10px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.center { text-align: center; }
.dialog .xp-btn { font-size: 11px; }
.dialog-buttons { justify-content: flex-end; }
.dialog-row + .dialog-buttons, .gate-dialog .dialog-buttons { justify-content: center; }
input[type="range"] { accent-color: #2b71e0; }

/* XP tabs */
.tabs { display: flex; gap: 1px; padding-left: 4px; position: relative; z-index: 1; margin-bottom: -1px; }
.tab {
  padding: 3px 8px; border: 1px solid #919b9c; border-bottom: 0; border-radius: 3px 3px 0 0;
  background: linear-gradient(#fff, #ecebe5); font-size: 11px; margin-top: 2px;
}
.tab.on { background: #fcfcfe; margin-top: 0; padding-bottom: 5px; border-top: 2px solid #ffc83c; }
.tab-panes { border: 1px solid #919b9c; background: #fcfcfe; padding: 10px; min-height: 120px; }
.tab-pane p { line-height: 1.45; margin: 4px 0 8px; }

/* Properties */
.props-head { display: flex; align-items: center; gap: 14px; }
.props-head input { flex: 1; }
.props hr { border: 0; border-top: 1px solid #d0d0bf; margin: 8px 0; }
.props dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 4px; margin: 0; }
.props dd { margin: 0; }

/* Font dialog */
.font-dlg { display: grid; grid-template-columns: 1.5fr 1fr .6fr; gap: 8px; }
.font-dlg label { display: flex; flex-direction: column; gap: 3px; }
.font-dlg select { height: 110px; }
.sample div { height: 46px; display: grid; place-items: center; background: #fff; border: 1px solid #ccc; overflow: hidden; }

/* ---------- Explorer v2 ---------- */
.toolbar { gap: 1px; padding: 2px 4px; }
.toolbar span { padding: 0; color: inherit; }
.tbtn {
  display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 6px;
  border: 1px solid transparent; border-radius: 3px; background: none; font-size: 11px; color: #000;
}
.tbtn:not(:disabled):hover { border-color: #ceceC3; background: linear-gradient(#fff, #ebeae4); box-shadow: inset 0 -1px #d8d2bd; }
.tbtn.on { border-color: #cecec3; background: #e3e1d7; box-shadow: inset 1px 1px 2px rgba(0,0,0,.12); }
.tbtn:disabled { opacity: .45; cursor: default; }
.tbtn svg { flex: none; }
.tbtn .dd { font-size: 8px; font-weight: normal; color: #555; }
.tsep { width: 1px; align-self: stretch; margin: 4px 3px; background: #c5c2b2; box-shadow: 1px 0 #fff; }
.nav { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #8fe07a, #2e9a28 70%); border: 1px solid #1d6611; }
.nav::before { content: ""; border: 6px solid transparent; }
.nav.back::before { border-right: 8px solid #fff; border-left: 0; margin-left: -2px; }
.nav.fwd::before { border-left: 8px solid #fff; border-right: 0; margin-left: 2px; }
.tbtn:disabled .nav { background: #c9c9c0; border-color: #999; }
.tbtn[data-t="up"] { position: relative; }
.up-arrow { position: absolute; left: 14px; top: 2px; font-style: normal; color: #2e9a28; font-weight: bold; font-size: 13px; text-shadow: 0 0 2px #fff; }
.views-ic { font-size: 18px; color: #2b5fb8; }
.addressbar { padding: 2px 6px; }
.addressbar .addr { flex: 1; display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #7f9db9; padding: 1px 4px; }
.addr input { flex: 1; border: 0; outline: none; font: 11px Tahoma, sans-serif; min-width: 0; user-select: text; }
.addressbar .go { width: 20px; height: 20px; border: 1px solid #1d6611; border-radius: 3px; padding: 0; background: linear-gradient(#8fe07a, #2e9a28); color: #fff; font-size: 11px; }
.go-label { font-size: 11px; padding-right: 4px; }

.ex-side { transition: width .1s; }
.ex-panel { box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.ex-panel h4 { display: flex; justify-content: space-between; cursor: pointer; }
.ex-panel h4 .chev { font-size: 9px; width: 16px; height: 16px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px #c6d3f7; }
.ex-panel.collapsed > div { display: none; }
.ex-panel.collapsed .chev { transform: rotate(180deg); }
.ex-panel button { display: flex; align-items: center; gap: 6px; }
.ex-panel button svg { flex: none; }
.ex-panel p { white-space: pre-line; }
body.classic-folders .ex-side.side-tasks { display: none; }

.side-folders { background: #fff !important; padding: 0 !important; width: 210px; border-right: 1px solid #b6b2a4; }
.tree-head { display: flex; justify-content: space-between; align-items: center; padding: 3px 6px; background: #ece9d8; border-bottom: 1px solid #b6b2a4; }
.tree-x { border: 0; background: none; font-size: 14px; padding: 0 4px; }
.tree { padding: 4px; font-size: 11px; }
.tkids { padding-left: 14px; }
.trow { display: flex; align-items: center; gap: 4px; padding: 1px 2px; white-space: nowrap; cursor: default; }
.trow:hover span { text-decoration: underline; }
.trow.cur span { background: #316ac5; color: #fff; padding: 0 2px; }
.tog { width: 11px; height: 11px; border: 1px solid #94a2b4; font: 9px/9px Tahoma; text-align: center; color: #333; background: #fff; flex: none; }
.tog:empty { border-color: transparent; background: none; }

.side-search { background: linear-gradient(#e7edfa, #ccd8f4) !important; width: 230px; }
.search-co h3 { margin: 0 0 6px; font-size: 13px; color: #215dc6; }
.search-co p { font-size: 11px; margin: 0 0 8px; }
.search-co label { display: block; font-size: 11px; margin: 8px 0 3px; }
.search-co .xp-input { width: 100%; }
.search-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }

/* views */
.ex-content { position: relative; outline: none; }
.view-tiles .ex-item { width: 230px; flex-direction: row; align-items: center; gap: 8px; text-align: left; padding: 4px; }
.tile-txt { display: flex; flex-direction: column; min-width: 0; }
.tile-txt small { color: #777; font-size: 11px; }
.view-tiles .ex-item.selected .tile-txt small { color: #dde; }
.view-tiles .ex-item.selected .nm, .view-tiles .ex-item.selected .tile-txt { background: #316ac5; color: #fff; }
.view-icons .ex-item { width: 80px; }
.view-list { flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 0 18px; }
.view-list .ex-item, .view-details .ex-item { flex-direction: row; width: auto; gap: 4px; padding: 1px 2px; text-align: left; align-items: center; }
.view-list .ex-item.selected, .view-details .ex-item.selected { background: none; border-color: transparent; }
.view-details { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0; }
.details-head, .view-details .ex-item { display: grid; grid-template-columns: minmax(180px, 2fr) 80px 140px 140px; width: 100%; }
.details-head { position: sticky; top: 0; z-index: 1; }
.details-head span { padding: 3px 6px; background: linear-gradient(#fff, #ebeadb); border-right: 1px solid #c7c5b2; border-bottom: 2px solid #d6d2c2; font-size: 11px; }
.view-details .ex-item { border: 0; padding: 1px 0; }
.view-details .cell { padding: 1px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; display: flex; align-items: center; gap: 4px; }
.view-details .cell.r { justify-content: flex-end; }
.view-details .ex-item.selected .nm, .view-list .ex-item.selected .nm { background: #316ac5; color: #fff; }
.view-details .ex-item.selected span.nm { padding: 0 2px; }
.ex-item .nm { padding: 0 2px; }
.view-thumbnails .ex-item.selected .nm, .view-icons .ex-item.selected .nm { background: #316ac5; color: #fff; }
.ex-item.selected span:not(.nm):not(.cell):not(.tile-txt) { background: none; color: inherit; }
.cp-grid .ex-item { width: 280px; }

/* ---------- Taskbar extras ---------- */
.quick { display: flex; align-items: center; gap: 1px; padding: 0 6px 0 2px; margin-right: 4px; border-right: 1px solid #1941a5; box-shadow: 1px 0 #3c81f3; }
.quick button { width: 24px; height: 24px; border: 1px solid transparent; border-radius: 3px; background: none; padding: 0; display: grid; place-items: center; }
.quick button:hover { border-color: #6aa0f0; background: rgba(255,255,255,.15); }
.tray-btn { width: 18px; height: 18px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.vol-pop {
  position: absolute; right: 50px; bottom: 34px; width: 90px; padding: 10px; z-index: 9600;
  background: #ece9d8; border: 1px solid #0831d9; box-shadow: 2px 2px 6px rgba(0,0,0,.4);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #000; font-size: 11px;
}
.vol-pop input[type="range"] { writing-mode: vertical-lr; direction: rtl; height: 110px; width: 20px; }
.band { position: fixed; border: 1px solid #316ac5; background: rgba(49,106,197,.25); pointer-events: none; z-index: 1; }

/* ---------- Start menu v2 ---------- */
.start-menu { width: 410px; }
.sm-left li button.pinned span { font-weight: bold; }
.sm-left li button.pinned small { font-weight: normal; }
.sm-all { justify-content: center !important; font-weight: bold; gap: 8px !important; }
.sm-all i { display: inline-grid; }
.sm-all.open, .sm-right li button:hover { background: #316ac5; color: #fff; }
.sm-arrow { margin-left: auto; font-size: 8px; font-style: normal; }
.sm-right li button.b { font-weight: bold; }
.sm-right li button:not(.b) { font-weight: normal; }

/* ---------- Turn off / log off boxes ---------- */
.turnoff-choices button span { display: grid; place-items: center; }
.turnoff-choices button:hover span, .turnoff-choices button:hover .to-icon { filter: brightness(1.15); }

/* ---------- Picture viewer v2 ---------- */
.viewer-stage { overflow: auto; }
.v-img { width: 100%; height: 100%; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.v-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.v-img.actual { width: auto; height: auto; margin: auto; }
.v-img.actual img { max-width: none; max-height: none; }
.v-img .ph { width: 420px; height: 300px; font-size: 18px; }
.viewer-bar { align-items: center; }
.vsep { width: 1px; height: 22px; background: #b6b2a4; margin: 0 2px; }

/* ---------- Slide show / screensaver ---------- */
.slideshow { position: fixed; inset: 0; z-index: 99990; background: #000; display: grid; place-items: center; cursor: none; }
.slideshow:not(.saver) { cursor: default; }
.ss-img { width: 100vw; height: 100vh; padding: 24px 24px 72px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ss-img.in { animation: fade 1s; }
.ss-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ss-img .ph { width: 60vw; height: 60vh; font-size: 28px; }
.ss-cap { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; color: #fff; font: 18px Georgia, serif; text-shadow: 0 1px 4px #000; }
.ss-bar { position: absolute; top: 10px; right: 10px; display: flex; gap: 2px; opacity: 0; transition: opacity .2s; padding: 4px; background: #ece9d8; border: 1px solid #888; }
.slideshow:hover .ss-bar { opacity: 1; }
.ss-bar button { width: 28px; height: 24px; border: 1px solid #8c97ae; background: linear-gradient(#fff, #dfe6f2); }
.marquee span { position: absolute; left: 100%; white-space: nowrap; color: #ff7aa8; font: italic bold 48px "Trebuchet MS", sans-serif; animation: marq 14s linear infinite; }
@keyframes marq { to { transform: translateX(calc(-100vw - 100%)); } }

/* ---------- Media player v2 ---------- */
.wmp-main { flex: 1; min-height: 0; display: flex; }
.wmp-tabs { width: 74px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; background: linear-gradient(90deg, #0d1530, #1c2c5c); }
.wmp-tabs button { border: 1px solid transparent; border-radius: 3px; background: none; color: #9fb4e0; padding: 6px 2px; font-size: 10px; line-height: 1.2; }
.wmp-tabs button:hover { color: #fff; }
.wmp-tabs button.on { background: #2b4fa0; border-color: #5d82d4; color: #fff; }
.wmp-pane { flex: 1; min-width: 0; display: flex; }
.wmp-lib { overflow: auto; background: #0d1530; }
.wmp-lib table { width: 100%; border-collapse: collapse; font-size: 11px; }
.wmp-lib th { text-align: left; padding: 4px 8px; background: #1c2c5c; color: #cfe0ff; }
.wmp-lib td { padding: 4px 8px; border-bottom: 1px solid #1c2c5c; cursor: default; }
.wmp-lib tr:hover td { background: #2b4fa0; }
.wmp-info { display: grid; place-items: center; text-align: center; background: radial-gradient(ellipse at 50% 100%, #1e3b7a, #050b1d 70%); font-size: 13px; }
.wmp-seek { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 10px; background: #0d1530; font-size: 11px; }
.wmp-seek input { flex: 1; }
.wmp-ctrl .sm { width: 26px; height: 26px; font-size: 12px; }
.wmp-ctrl .sm.on { background: radial-gradient(circle at 40% 30%, #fff, #9fd0ff 60%, #3c7be0); }
.wmp-ctrl input[type="range"] { width: 90px; }
.wsep { width: 1px; height: 26px; background: rgba(0,0,0,.2); }

/* ---------- MSN v2 ---------- */
.msnl { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.msnl-me { display: flex; align-items: center; gap: 10px; padding: 10px; background: linear-gradient(#e3ecfa, #c4d6f3); border-bottom: 1px solid #9fb6de; }
.msnl-me small { display: block; color: #2f6b20; }
.msnl-pic { width: 44px; height: 44px; border: 1px solid #7f9db9; border-radius: 4px; overflow: hidden; background: #fff; }
.msnl-pic img, .msnl-pic .ph { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.msnl-list { flex: 1; overflow: auto; padding: 8px 6px; }
.msnl-group { font-weight: bold; color: #1d3d7a; margin: 6px 4px; font-size: 11px; }
.msnl-contact { display: flex; align-items: flex-start; gap: 6px; width: 100%; padding: 3px 8px; border: 1px solid transparent; background: none; text-align: left; }
.msnl-contact:hover { background: #e3ecfb; border-color: #9cb9ec; }
.msnl-contact small { display: block; color: #777; font-style: italic; font-size: 11px; }
.msnl-tasks { border-top: 1px solid #c5d3ea; padding: 6px; display: flex; flex-direction: column; gap: 2px; background: #f3f6fb; }
.msnl-tasks button { display: flex; align-items: center; gap: 6px; border: 0; background: none; text-align: left; color: #0c3a9a; padding: 3px 4px; font-size: 11px; }
.msnl-tasks button:hover { text-decoration: underline; }
.msnl-out { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #555; }
.msn-tools { flex: none; display: flex; gap: 4px; padding: 3px 6px; background: #e8eef9; border-top: 1px solid #c5d3ea; }
.msn-tools button { border: 1px solid transparent; background: none; border-radius: 3px; padding: 2px 6px; font-size: 11px; }
.msn-tools button:hover { border-color: #9cb0d4; background: #fff; }
.msn-compose { border-top: 0; }
.msn-compose .xp-btn { align-self: stretch; }

/* ---------- Internet Explorer ---------- */
.ie, .oe { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.ie-page { flex: 1; overflow: auto; background: #fff; user-select: text; }
.ie-status { display: flex; justify-content: space-between; }
.ie-err { padding: 20px 30px; font: 13px/1.5 Tahoma, Verdana, sans-serif; max-width: 640px; }
.ie-err h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 12px; }
.ie-err hr { border: 0; border-top: 1px solid #c3c3c3; }
.ie-err .ie-code { color: #666; font-size: 11px; margin-top: 30px; }
.hp { min-height: 100%; padding: 0 0 20px; background: #000 repeating-linear-gradient(45deg, #0a0a2a 0 10px, #11113a 10px 20px); color: #fff; font-family: "Comic Sans MS", "Trebuchet MS", sans-serif; text-align: center; }
.hp-marquee { overflow: hidden; background: #ff0; color: #c00; font: bold 13px "Times New Roman", serif; padding: 3px 0; white-space: nowrap; }
.hp-marquee span { display: inline-block; padding-left: 100%; animation: hpm 16s linear infinite; }
@keyframes hpm { to { transform: translateX(-100%); } }
.hp h1 { font-size: 34px; margin: 16px 0 4px; color: #ff66cc; text-shadow: 2px 2px #00f, -1px -1px #0ff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { color: #66ffcc; } }
.hp-sub { font-size: 11px; color: #9cf; margin: 0 0 14px; }
.hp-table { margin: 0 auto; border: 3px ridge #c0c0c0; border-collapse: separate; background: #000033; width: 90%; max-width: 640px; }
.hp-table td { padding: 12px; vertical-align: top; }
.hp-nav { width: 150px; border-right: 2px dashed #ff66cc; text-align: left; }
.hp-nav b { color: #ff0; display: block; margin-bottom: 8px; }
.hp-nav a, .hp a { color: #0ff; display: block; margin: 6px 0; }
.hp-main { text-align: left; font-size: 13px; line-height: 1.5; }
.hp-photo { width: 200px; height: 160px; margin: 10px auto; border: 4px ridge #ff66cc; overflow: hidden; }
.hp-photo img, .hp-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.hp-construct { color: #fc0; font-size: 12px; }
.hp-foot { font-size: 11px; color: #888; margin-top: 16px; }

/* ---------- Outlook Express ---------- */
.oe-main { flex: 1; display: flex; min-height: 0; }
.oe-folders { width: 170px; flex: none; margin: 0; padding: 6px 0; list-style: none; border-right: 1px solid #b6b2a4; overflow: auto; }
.oe-folders button { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 3px 10px; text-align: left; font-size: 11px; }
.oe-folders button.on span { background: #316ac5; color: #fff; padding: 0 2px; }
.oe-folders .b, .oe-row.b { font-weight: bold; }
.oe-right { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.oe-list { height: 38%; overflow: auto; border-bottom: 4px solid #ece9d8; }
.oe-row { display: grid; grid-template-columns: 160px 1fr 150px; width: 100%; border: 0; background: none; text-align: left; padding: 2px 0; font-size: 11px; }
.oe-row span { padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oe-row.on { background: #316ac5; color: #fff; }
.oe-h span { background: linear-gradient(#fff, #ebeadb); border-right: 1px solid #c7c5b2; border-bottom: 2px solid #d6d2c2; padding: 3px 6px; }
.oe-empty { color: #777; padding: 10px; }
.oe-preview { flex: 1; overflow: auto; }
.oe-ph { padding: 6px 10px; background: #ece9d8; border-bottom: 1px solid #c7c5b2; line-height: 1.6; }
.oe-body { padding: 12px; white-space: pre-wrap; font: 13px/1.6 Arial, sans-serif; user-select: text; }
.oe-compose { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #ece9d8; }
.oe-compose label { display: flex; align-items: center; gap: 6px; padding: 3px 8px; }
.oe-compose label input { flex: 1; }
.oe-text { flex: 1; margin: 4px 8px 8px; resize: none; border: 1px solid #7f9db9; padding: 6px; font: 13px Arial, sans-serif; }

/* ---------- Display properties ---------- */
.monitor { width: 186px; margin: 6px auto 10px; }
.mon-screen { position: relative; height: 112px; border: 9px solid #e4e1d6; border-radius: 6px 6px 0 0; box-shadow: 0 0 0 1px #8b887d; background-size: cover; background-position: center; overflow: hidden; }
.mon-win { position: absolute; left: 30%; top: 25%; width: 45%; height: 40%; background: #ece9d8; border-top: 7px solid #0053ee; border-radius: 2px 2px 0 0; box-shadow: 1px 1px 3px rgba(0,0,0,.3); }
.mon-stand { width: 70px; height: 14px; margin: 0 auto; background: linear-gradient(#d6d2c4, #a9a596); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.appear-sample { padding: 10px; background: #3a6ea5; margin-bottom: 6px; }
.appear-sample .window { position: relative; min-width: 0; }
.wp-none { background: #3a6ea5; }
.wp-azul { background: url("../assets/wallpaper/azul.jpg") center / cover no-repeat, #2b78d0; }
.wp-autumn { background: url("../assets/wallpaper/autumn.jpg") center / cover no-repeat, #b5541a; }
.wp-rose { background: radial-gradient(ellipse at 40% 40%, #ffd1e0, #f07aa3 45%, #8c1d47); }

/* ---------- Date & Time ---------- */
.dt { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.dt fieldset { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; text-align: center; background: #fff; border: 1px solid #7f9db9; padding: 2px; font-size: 11px; }
.cal b { background: #6a86cf; color: #fff; font-weight: normal; padding: 2px 0; }
.cal span { padding: 3px 0; }
.cal .today { background: #316ac5; color: #fff; }
.cal .ann { color: #d8173f; font-weight: bold; background: #ffe3ec; }
.clock { width: 110px; height: 110px; display: block; margin: 4px auto 8px; }
.dt-note { color: #b0236b; margin: 8px 0 0; }
.tz-map { font-size: 70px; text-align: center; margin: 8px; }
.snd-list { list-style: none; padding: 0; margin: 0; border: 1px solid #7f9db9; background: #fff; }
.snd-list li { padding: 4px 6px; display: flex; align-items: center; gap: 8px; }
.snd-list button { width: 22px; height: 20px; border: 1px solid #8c97ae; border-radius: 3px; background: linear-gradient(#fff, #dfe6f2); font-size: 9px; padding: 0; }
.vol-tab { text-align: center; }
.vol-tab svg { margin: 0 auto; }

/* ---------- Control panel / users / add-remove / help / about ---------- */
.ua { flex: 1; padding: 18px 24px; background: linear-gradient(#fff, #eef3fb); overflow: auto; }
.ua h2 { color: #215dc6; font: normal 20px "Trebuchet MS", sans-serif; margin: 0 0 16px; }
.ua-list { display: flex; flex-wrap: wrap; gap: 14px; }
.ua-card { display: flex; align-items: center; gap: 12px; width: 230px; padding: 8px; border: 1px solid transparent; border-radius: 4px; background: none; text-align: left; }
.ua-card:hover { border-color: #9cb9ec; background: #e3ecfb; }
.ua-card small { display: block; color: #555; }
.ua-pic { width: 52px; height: 52px; border: 2px solid #f9c84a; border-radius: 4px; overflow: hidden; flex: none; }
.ua-pic img, .ua-pic .ph { width: 100%; height: 100%; object-fit: cover; font-size: 18px; }

.arp { flex: 1; display: flex; min-height: 0; }
.arp nav { width: 100px; flex: none; background: linear-gradient(#7ba2e7, #6375d6); padding: 8px 4px; display: flex; flex-direction: column; gap: 6px; }
.arp nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid transparent; border-radius: 3px; background: none; color: #fff; font-size: 11px; padding: 6px 2px; }
.arp nav button.on { background: rgba(255,255,255,.25); border-color: #fff; }
.arp nav button:disabled { opacity: .6; }
.arp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #fff; }
.arp-head { padding: 6px 10px; background: #ece9d8; border-bottom: 1px solid #c7c5b2; }
.arp-list { flex: 1; overflow: auto; }
.arp-item { display: grid; grid-template-columns: 40px 1fr 120px 80px; align-items: center; gap: 6px; width: 100%; padding: 6px 8px; border: 0; border-bottom: 1px solid #eee; background: none; text-align: left; }
.arp-item.on { background: #c3d3fb; }
.arp-n { font-weight: bold; }
.arp-s { font-size: 11px; color: #555; }
.arp-btns .xp-btn { min-width: 0; padding: 2px 8px; font-size: 11px; }

.sys { display: flex; gap: 16px; }
.sys-logo { padding-top: 10px; }
.sys p { margin: 0 0 10px; }
.tm-list { border: 1px solid #7f9db9; background: #fff; min-height: 120px; }
.tm-list div { display: flex; align-items: center; gap: 6px; padding: 3px 6px; }
.tm-list span { margin-left: auto; color: #555; }
.tm-foot { font-size: 11px; color: #333; margin: 8px 0 0; }

.hsc { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.hsc header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; color: #fff; background: linear-gradient(90deg, #0a246a, #3a6ee0); }
.hsc header > div:first-child { display: flex; align-items: center; gap: 10px; }
.hsc header b { font: 18px "Trebuchet MS", sans-serif; }
.hsc header small { opacity: .8; margin-left: 4px; }
.hsc-search { display: flex; align-items: center; gap: 6px; }
.hsc-search input { width: 200px; }
.hsc-search .go { width: 22px; height: 22px; border: 1px solid #1d6611; border-radius: 3px; background: linear-gradient(#8fe07a, #2e9a28); color: #fff; padding: 0; }
.hsc-main { flex: 1; display: flex; min-height: 0; }
.hsc aside { width: 260px; flex: none; padding: 12px; background: #eef3fb; border-right: 1px solid #c5d3ea; overflow: auto; }
.hsc h4 { color: #215dc6; margin: 0 0 8px; }
.hsc-topics { list-style: none; margin: 0; padding: 0; }
.hsc-topics button { display: flex; gap: 6px; align-items: flex-start; border: 0; background: none; text-align: left; color: #0c3a9a; padding: 4px 0; font-size: 12px; }
.hsc-topics button:hover { text-decoration: underline; }
.hsc-topics .none { color: #777; }
.hsc-body { flex: 1; padding: 16px 22px; overflow: auto; user-select: text; }
.hsc-body h3 { color: #215dc6; font: normal 18px "Trebuchet MS", sans-serif; margin-top: 0; }
.hsc-body p { white-space: pre-line; line-height: 1.6; font-size: 12px; }

.about-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin: -14px -14px 12px; background: linear-gradient(90deg, #0a246a, #5a7edc); color: #fff; }
.about-banner span { font-family: "Franklin Gothic Medium", "Trebuchet MS", sans-serif; font-size: 12px; }
.about-banner b { font-size: 30px; font-weight: 600; margin-left: 4px; }
.about-banner i { color: #f26522; font-weight: bold; font-size: 16px; }
.about p { line-height: 1.5; margin: 6px 0; }
.about hr { border: 0; border-top: 1px solid #d0d0bf; }

/* ---------- Colour schemes ---------- */
body.scheme-olive .title-bar, .scheme-olive .mon-win, .appear-sample.scheme-olive .title-bar { background: linear-gradient(180deg, #c6d38a, #96a85c 10%, #8a9e50 85%, #6f8340); }
body.scheme-olive .window { border-color: #8a9e50; }
body.scheme-olive .title-text, .appear-sample.scheme-olive .title-text { text-shadow: 1px 1px #4f5a2a; }
body.scheme-olive .taskbar { background: linear-gradient(#e0e8b8, #b0bf7c 8%, #94a75e 50%, #8a9e50 90%, #6f8340); }
body.scheme-olive .tray { background: linear-gradient(#d0dca2, #a9b97a); border-color: #6f8340; box-shadow: none; color: #233; }
body.scheme-olive .task-btn { background: linear-gradient(#c7d39a, #a1b46a); border-color: #6f8340; color: #233; }
body.scheme-olive .task-btn.active { background: linear-gradient(#8a9e50, #7a8e44); color: #fff; }
body.scheme-olive .sm-head, body.scheme-olive .sm-foot { background: linear-gradient(#b0bf7c, #8a9e50); }
body.scheme-olive .start-menu { border-color: #6f8340; }

body.scheme-silver .title-bar, .scheme-silver .mon-win, .appear-sample.scheme-silver .title-bar { background: linear-gradient(180deg, #fff, #e3e3ec 10%, #cdcdd9 85%, #b5b5c4); }
body.scheme-silver .title-bar .title-text, .appear-sample.scheme-silver .title-text { color: #222; text-shadow: none; }
body.scheme-silver .window { border-color: #b5b5c4; }
body.scheme-silver .taskbar { background: linear-gradient(#f4f4f8, #d9d9e3 10%, #c4c4d0 90%, #a4a4b4); }
body.scheme-silver .tray { background: linear-gradient(#fafafc, #dedee6); border-color: #9a9aac; box-shadow: none; color: #222; }
body.scheme-silver .task-btn { background: linear-gradient(#fff, #dcdce6); border-color: #9a9aac; color: #222; }
body.scheme-silver .task-btn.active { background: linear-gradient(#c4c4d0, #b0b0c0); }
body.scheme-silver .sm-head, body.scheme-silver .sm-foot { background: linear-gradient(#e6e6ee, #b5b5c4); }
body.scheme-silver .sm-head b { color: #222; text-shadow: none; }
body.scheme-silver .sm-foot button { color: #222; }
body.scheme-silver .start-menu { border-color: #9a9aac; }

body.scheme-rose .title-bar, .scheme-rose .mon-win, .appear-sample.scheme-rose .title-bar { background: linear-gradient(180deg, #ff9fc4, #e8508a 8%, #e04682 40%, #ef6a9e 88%, #c8336c 96%); }
body.scheme-rose .title-text, .appear-sample.scheme-rose .title-text { text-shadow: 1px 1px #8c1d47; }
body.scheme-rose .window { border-color: #d43c78; }
body.scheme-rose .window.inactive { border-color: #eaa0bd; }
body.scheme-rose .window.inactive .title-bar { background: linear-gradient(180deg, #fbd3e3, #eaa0bd 12%, #e69bb9); }
body.scheme-rose .taskbar { background: linear-gradient(#8c1d47, #e8508a 6%, #e04682 20%, #d43c78 85%, #a02a5a); }
body.scheme-rose .tray { background: linear-gradient(#ff8fb8, #ef6a9e 50%, #d84d84); border-color: #a02a5a; box-shadow: inset 1px 0 #ffb4d0; }
body.scheme-rose .task-btn { background: linear-gradient(#f27aa8, #df4e86); border-color: #a02a5a; }
body.scheme-rose .task-btn.active { background: linear-gradient(#b8336a, #a02a5a); }
body.scheme-rose .sm-head, body.scheme-rose .sm-foot { background: linear-gradient(#ef6a9e, #c8336c); }
body.scheme-rose .start-menu { border-color: #c8336c; }
body.scheme-rose .sm-right { background: #fde3ee; }
.appear-sample.scheme-blue .title-bar { background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0050ee 40%, #06f 88%, #06f 93%, #005bff 95%, #003dd7 96%, #003dd7); }
.appear-sample.scheme-blue .title-text { color: #fff; text-shadow: 1px 1px #0f1089; }

/* ---------- Finale: an XP welcome screen ---------- */
#finale { z-index: 9950; background: #5a7edc; display: flex; flex-direction: column; color: #fff; animation: fade 1s; overflow: hidden; }
.finale-main { position: relative; z-index: 1; }
.finale-left { width: 44%; display: flex; flex-direction: column; align-items: flex-end; padding: 0 36px 0 24px; text-align: right; }
.finale-left small { letter-spacing: .35em; font-size: 13px; opacity: .9; }
.finale-left h1 { margin: 10px 0 8px; font: italic bold clamp(32px, 3.6vw, 46px)/1.12 "Franklin Gothic Medium", "Trebuchet MS", sans-serif; text-shadow: 2px 2px 3px rgba(0,0,0,.3); max-width: 520px; }
.finale-left p { margin: 0; font-size: 16px; opacity: .95; }
.finale-right { width: 44%; padding-left: 36px; max-width: 520px; }
.finale-pair { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.finale-user { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; }
.finale-user .user-pic { width: 76px; height: 76px; border-color: #f9c84a; }
.finale-plus { filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 60% { transform: scale(1); } }
.finale-right p { font-size: 16px; line-height: 1.6; margin: 0; }
.finale-right .finale-sig { margin-top: 12px; font-style: italic; color: #fff4c2; }
#finale .login-bottom, #finale .login-top { position: relative; z-index: 1; }
.hearts { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hearts span { position: absolute; bottom: -40px; animation: rise linear forwards; }
@keyframes rise { to { transform: translateY(-110vh) rotate(25deg); opacity: 0; } }

/* =========================================================
   Windows XP cursors (assets/cursors). Arrow everywhere, like XP:
   the hand only appears on links, never on buttons or icons.
   ========================================================= */
html, body, *, *::before, *::after {
  cursor: url("../assets/cursors/arrow.png") 0 0, default !important;
  cursor: -webkit-image-set(url("../assets/cursors/arrow.png") 1x, url("../assets/cursors/arrow@2x.png") 2x) 0 0, default !important;
  cursor: image-set(url("../assets/cursors/arrow.png") 1x, url("../assets/cursors/arrow@2x.png") 2x) 0 0, default !important;
}
input[type="text"], input[type="password"], input[type="number"], input:not([type]), textarea {
  cursor: url("../assets/cursors/text.png") 15 16, text !important;
  cursor: -webkit-image-set(url("../assets/cursors/text.png") 1x, url("../assets/cursors/text@2x.png") 2x) 15 16, text !important;
  cursor: image-set(url("../assets/cursors/text.png") 1x, url("../assets/cursors/text@2x.png") 2x) 15 16, text !important;
}
a[href], .ex-panel button, .hsc-topics button, .msnl-tasks button, .hp a, .ie-err a, .user-tile, .login-off, .pw-go, .pw-help, .balloon {
  cursor: url("../assets/cursors/hand.png") 5 0, pointer !important;
  cursor: -webkit-image-set(url("../assets/cursors/hand.png") 1x, url("../assets/cursors/hand@2x.png") 2x) 5 0, pointer !important;
  cursor: image-set(url("../assets/cursors/hand.png") 1x, url("../assets/cursors/hand@2x.png") 2x) 5 0, pointer !important;
}
.rs-n, .rs-s {
  cursor: url("../assets/cursors/ns.png") 15 16, ns-resize !important;
  cursor: -webkit-image-set(url("../assets/cursors/ns.png") 1x, url("../assets/cursors/ns@2x.png") 2x) 15 16, ns-resize !important;
  cursor: image-set(url("../assets/cursors/ns.png") 1x, url("../assets/cursors/ns@2x.png") 2x) 15 16, ns-resize !important;
}
.rs-e, .rs-w {
  cursor: url("../assets/cursors/ew.png") 16 16, ew-resize !important;
  cursor: -webkit-image-set(url("../assets/cursors/ew.png") 1x, url("../assets/cursors/ew@2x.png") 2x) 16 16, ew-resize !important;
  cursor: image-set(url("../assets/cursors/ew.png") 1x, url("../assets/cursors/ew@2x.png") 2x) 16 16, ew-resize !important;
}
.rs-nw, .rs-se {
  cursor: url("../assets/cursors/nwse.png") 16 16, nwse-resize !important;
  cursor: -webkit-image-set(url("../assets/cursors/nwse.png") 1x, url("../assets/cursors/nwse@2x.png") 2x) 16 16, nwse-resize !important;
  cursor: image-set(url("../assets/cursors/nwse.png") 1x, url("../assets/cursors/nwse@2x.png") 2x) 16 16, nwse-resize !important;
}
.rs-ne, .rs-sw {
  cursor: url("../assets/cursors/nesw.png") 16 16, nesw-resize !important;
  cursor: -webkit-image-set(url("../assets/cursors/nesw.png") 1x, url("../assets/cursors/nesw@2x.png") 2x) 16 16, nesw-resize !important;
  cursor: image-set(url("../assets/cursors/nesw.png") 1x, url("../assets/cursors/nesw@2x.png") 2x) 16 16, nesw-resize !important;
}
.d-icon.dragging, .d-icon.dragging * {
  cursor: url("../assets/cursors/move.png") 15 16, move !important;
  cursor: -webkit-image-set(url("../assets/cursors/move.png") 1x, url("../assets/cursors/move@2x.png") 2x) 15 16, move !important;
  cursor: image-set(url("../assets/cursors/move.png") 1x, url("../assets/cursors/move@2x.png") 2x) 15 16, move !important;
}
body.cur-anim, body.cur-anim * { cursor: var(--c-anim) !important; }
.slideshow.saver, .slideshow.saver * { cursor: none !important; }
