:root {
  color-scheme: light;
  --desktop-bg: #008080;
  --surface: #c0c0c0;
  --surface-light: #dfdfdf;
  --surface-dark: #808080;
  --surface-deep: #404040;
  --title-bg: #000080;
  --title-text: #ffffff;
  --text: #000000;
  --muted: #444444;
  --paper: #ffffff;
  --accent: #008000;
  --button-radius: 0;
  --window-radius: 0;
  --taskbar-height: 46px;
  --font-main:
    "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.35;
  background: var(--desktop-bg);
}

body.is-dragging-window {
  user-select: none;
}

body[data-theme="win95"] {
  --desktop-bg: #008080;
  --surface: #c0c0c0;
  --surface-light: #dfdfdf;
  --surface-dark: #808080;
  --surface-deep: #404040;
  --title-bg: #000080;
  --title-text: #ffffff;
  --paper: #ffffff;
  --accent: #008000;
  --button-radius: 0;
  --window-radius: 0;
}

body[data-theme="xp"] {
  --desktop-bg:
    radial-gradient(
      ellipse at 18% 19%,
      rgba(255, 255, 255, 0.95) 0 5%,
      rgba(255, 255, 255, 0.7) 5.5% 8%,
      transparent 8.5%
    ),
    radial-gradient(
      ellipse at 31% 16%,
      rgba(255, 255, 255, 0.85) 0 4.5%,
      transparent 5%
    ),
    radial-gradient(
      ellipse at 70% 19%,
      rgba(255, 255, 255, 0.76) 0 6%,
      transparent 6.5%
    ),
    radial-gradient(
      ellipse at 82% 15%,
      rgba(255, 255, 255, 0.82) 0 4%,
      transparent 4.5%
    ),
    radial-gradient(ellipse at 50% 100%, #1d7b29 0 33%, transparent 33.5%),
    radial-gradient(ellipse at 18% 101%, #3ea038 0 38%, transparent 38.5%),
    radial-gradient(ellipse at 82% 105%, #2c8d36 0 43%, transparent 43.5%),
    linear-gradient(
      #0f72d8 0%,
      #5bbcff 44%,
      #8ed4ff 56%,
      #63b146 56%,
      #2f8729 100%
    );
  --surface: #ece9d8;
  --surface-light: #fffef4;
  --surface-dark: #7f8db9;
  --surface-deep: #3053a4;
  --title-bg: linear-gradient(90deg, #245edb, #3b8cff);
  --title-text: #ffffff;
  --paper: #fffef4;
  --accent: #3f9b34;
  --button-radius: 4px;
  --window-radius: 7px;
  --font-main: Tahoma, Arial, sans-serif;
}

body[data-theme="win10"] {
  --desktop-bg: url("wallpapers/windows-10-img0.jpg") center center / cover
    no-repeat;
  --surface: #202020;
  --surface-light: #2d2d2d;
  --surface-dark: #141414;
  --surface-deep: #000000;
  --title-bg: #202020;
  --title-text: #ffffff;
  --text: #f2f2f2;
  --muted: #c7c7c7;
  --paper: #1f1f1f;
  --accent: #0078d7;
  --button-radius: 0;
  --window-radius: 0;
  --font-main: "Segoe UI", Tahoma, Arial, sans-serif;
}

body[data-theme="win95"] .desktop-stage,
body[data-theme="xp"] .desktop-stage,
body[data-theme="win10"] .desktop-stage {
  background: var(--desktop-bg);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0;
}

pre {
  overflow: auto;
  margin: 0;
  max-height: 170px;
  padding: 10px;
  background: var(--paper);
  color: var(--text);
  white-space: pre-wrap;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.desktop-shell {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--taskbar-height);
  width: 100vw;
  height: 100vh;
}

.desktop-stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 18px;
}

.style-chooser {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.style-chooser.is-hidden {
  display: none;
}

.chooser-window {
  width: min(620px, calc(100vw - 36px));
  background: var(--surface);
  border-radius: var(--window-radius);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.38);
}

body[data-theme="win95"] .chooser-window,
body[data-theme="win95"] .style-card,
body[data-theme="win95"] .desktop-window,
body[data-theme="win95"] .system-button,
body[data-theme="win95"] .start-button,
body[data-theme="win95"] .taskbar-apps button,
body[data-theme="win95"] .window-controls button,
body[data-theme="win95"] .settings-tabs button,
body[data-theme="win95"] .start-menu {
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid var(--surface-deep);
  border-bottom: 2px solid var(--surface-deep);
}

body[data-theme="xp"] .chooser-window,
body[data-theme="win10"] .chooser-window,
body[data-theme="xp"] .desktop-window,
body[data-theme="win10"] .desktop-window {
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.style-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 154px;
  padding: 12px;
  border-radius: var(--button-radius);
  background: var(--surface-light);
  color: var(--text);
  text-align: left;
}

body[data-theme="xp"] .style-card,
body[data-theme="win10"] .style-card {
  border: 1px solid rgba(0, 0, 0, 0.28);
}

.style-card:hover,
.style-card:focus-visible {
  outline: 2px solid var(--accent);
}

.style-card.is-active {
  outline: 2px solid var(--title-bg);
}

.style-preview {
  display: block;
  height: 82px;
  border: 2px solid #000000;
}

.preview-95 {
  background:
    linear-gradient(#000080 0 18px, transparent 18px),
    linear-gradient(90deg, #c0c0c0 0 34%, #ffffff 34% 100%);
}

.preview-xp {
  border-radius: 4px;
  background:
    linear-gradient(#245edb 0 18px, transparent 18px),
    linear-gradient(135deg, #1c7ed6, #69db7c);
}

.preview-10 {
  background:
    linear-gradient(#101010 0 14px, transparent 14px),
    radial-gradient(
      ellipse at 72% 40%,
      rgba(0, 120, 215, 0.7),
      transparent 30%
    ),
    linear-gradient(135deg, #05090d, #09233d 62%, #020305);
}

.generation-note {
  margin: 14px 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.desktop-icons {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 88px;
}

.desktop-footer-file {
  right: 18px;
  bottom: 18px;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 68px;
  padding: 5px;
  border: 1px solid transparent;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  text-align: center;
  text-shadow: 1px 1px 0 #000000;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.16);
  outline: none;
}

.icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
}

.txt-file-icon {
  width: 36px;
  height: 42px;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: inset -5px 0 0 #efefef;
}

.txt-file-icon::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.txt-file-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 19px;
  height: 2px;
  background: #000000;
  box-shadow:
    0 7px 0 #000000,
    0 14px 0 #000000;
}

.settings-icon,
.info-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--surface-light);
  border: 2px solid #000000;
}

.settings-icon::after {
  content: "*";
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.info-icon::after {
  content: "i";
  font-size: 28px;
  font-weight: 900;
}

.desktop-window {
  position: absolute;
  z-index: 3;
  width: min(760px, calc(100vw - 80px));
  min-height: 180px;
  background: var(--surface);
  border-radius: var(--window-radius);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.65);
}

body[data-theme="xp"] .desktop-window,
body[data-theme="win10"] .desktop-window {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

body[data-theme="win10"] .desktop-window {
  overflow: hidden;
  border-color: #4a4a4a;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.46);
}

.window-settings {
  top: 148px;
  left: 132px;
}

.window-footer-text {
  right: 118px;
  bottom: calc(var(--taskbar-height) + 98px);
  width: min(430px, calc(100vw - 160px));
  min-height: 0;
}

.desktop-window.is-hidden {
  display: none;
}

.desktop-window.is-maximized {
  display: flex;
  flex-direction: column;
  max-width: none;
}

.desktop-window.is-maximized .window-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 31px;
  padding: 4px 5px 4px 8px;
  border-radius: calc(var(--window-radius) - 1px)
    calc(var(--window-radius) - 1px) 0 0;
  background: var(--title-bg);
  color: var(--title-text);
  cursor: move;
  font-weight: 800;
}

.desktop-window.is-dragging .window-titlebar {
  cursor: grabbing;
}

.window-controls {
  display: flex;
  gap: 3px;
}

.window-controls button {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  padding: 0;
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.window-body {
  overflow: auto;
  max-height: min(520px, calc(100vh - 160px));
  padding: 16px;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 7px;
  background: var(--surface-light);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
}

.settings-panel {
  padding: 0;
}

.settings-tabs {
  display: flex;
  gap: 0;
  padding: 10px 12px 0;
  background: var(--surface);
}

.settings-tabs button {
  position: relative;
  min-height: 34px;
  padding: 7px 15px;
  border-radius: var(--button-radius) var(--button-radius) 0 0;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

body[data-theme="xp"] .settings-tabs button,
body[data-theme="win10"] .settings-tabs button {
  border: 1px solid rgba(0, 0, 0, 0.28);
}

.settings-tabs button.is-active {
  z-index: 1;
  background: var(--paper);
}

.settings-content {
  padding: 16px;
  background: var(--paper);
  color: var(--text);
}

body[data-theme="win95"] .settings-content {
  border-top: 2px solid #ffffff;
}

.settings-page.is-hidden {
  display: none;
}

.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.system-button,
.start-button,
.taskbar-apps button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 31px;
  padding: 5px 11px;
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.system-button.is-active,
.system-button[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body[data-theme="xp"] .system-button,
body[data-theme="xp"] .start-button,
body[data-theme="xp"] .taskbar-apps button,
body[data-theme="xp"] .window-controls button {
  border: 1px solid #4169b2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="win10"] .system-button,
body[data-theme="win10"] .start-button,
body[data-theme="win10"] .taskbar-apps button,
body[data-theme="win10"] .window-controls button {
  border: 1px solid #4a4a4a;
  background: #2b2b2b;
  color: #f2f2f2;
  box-shadow: none;
}

body[data-theme="win10"] .system-button:hover,
body[data-theme="win10"] .system-button:focus-visible,
body[data-theme="win10"] .taskbar-apps button:hover,
body[data-theme="win10"] .taskbar-apps button:focus-visible {
  border-color: #5f5f5f;
  background: #3a3a3a;
  outline: none;
}

body[data-theme="win10"] .window-titlebar {
  min-height: 32px;
  padding: 0 0 0 10px;
  background: #202020;
  border-bottom: 1px solid #111111;
  font-weight: 600;
}

body[data-theme="win10"] .window-controls {
  gap: 0;
}

body[data-theme="win10"] .window-controls button {
  width: 46px;
  height: 32px;
  border: 0;
  background: transparent;
  font-weight: 500;
}

body[data-theme="win10"] .window-controls button:hover,
body[data-theme="win10"] .window-controls button:focus-visible {
  background: #3a3a3a;
}

body[data-theme="win10"] .window-controls button[data-close]:hover,
body[data-theme="win10"] .window-controls button[data-close]:focus-visible {
  background: #e81123;
  color: #ffffff;
}

body[data-theme="win10"] .window-body,
body[data-theme="win10"] .settings-content {
  background: #1f1f1f;
  color: #f2f2f2;
}

body[data-theme="win10"] .settings-tabs {
  background: #202020;
}

body[data-theme="win10"] .settings-tabs button {
  background: #2b2b2b;
  color: #f2f2f2;
}

body[data-theme="win10"] .settings-tabs button.is-active {
  background: #1f1f1f;
}

body[data-theme="win10"] .tag {
  background: #303030;
  color: #f2f2f2;
}

.general-page-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.general-page-card {
  padding: 14px;
  background: var(--surface);
  color: var(--text);
}

body[data-theme="win95"] .general-page-card {
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid var(--surface-deep);
  border-bottom: 2px solid var(--surface-deep);
}

body[data-theme="xp"] .general-page-card,
body[data-theme="win10"] .general-page-card {
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: var(--button-radius);
}

body[data-theme="win10"] .general-page-card {
  border-color: #3b3b3b;
  background: #262626;
  color: #f2f2f2;
}

.general-page-card p {
  margin-bottom: 0;
}

.general-contact-list {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 7px 12px;
  margin: 0;
}

.general-contact-list dt {
  font-weight: 800;
}

.general-contact-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.general-prompt {
  margin-top: 10px;
}

.footer-file-view {
  padding: 0;
}

.footer-text-content {
  min-height: 190px;
  max-height: min(300px, calc(100vh - 190px));
  padding: 14px;
  border: 0;
  font-size: 14px;
  line-height: 1.45;
}

.taskbar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: var(--taskbar-height);
  padding: 5px;
  background: var(--surface);
}

body[data-theme="win95"] .taskbar {
  border-top: 2px solid #ffffff;
}

body[data-theme="xp"] .taskbar {
  background:
    linear-gradient(rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(#2f75df 0%, #245ed0 42%, #1749a8 100%);
}

body[data-theme="win10"] .taskbar {
  min-height: 48px;
  background: rgba(16, 16, 16, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.windows-logo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  width: 22px;
  height: 22px;
}

.windows-logo span {
  display: block;
}

.windows-logo span:nth-child(1) {
  background: #f25022;
}

.windows-logo span:nth-child(2) {
  background: #7fba00;
}

.windows-logo span:nth-child(3) {
  background: #00a4ef;
}

.windows-logo span:nth-child(4) {
  background: #ffb900;
}

.start-mark {
  flex: 0 0 auto;
}

body[data-theme="win95"] .start-button {
  min-height: 34px;
  padding: 4px 12px 4px 7px;
  gap: 5px;
}

body[data-theme="win95"] .start-label {
  font-weight: 900;
}

body[data-theme="xp"] .start-button {
  min-height: 36px;
  border-color: #1c6a1d;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 26% 18%,
      rgba(255, 255, 255, 0.78),
      transparent 26%
    ),
    linear-gradient(#85d664 0%, #42a940 52%, #1f781d 100%);
  color: #ffffff;
  padding: 5px 18px 6px 11px;
  gap: 7px;
  font-style: italic;
  font-weight: 900;
  text-transform: lowercase;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

body[data-theme="win10"] .start-button {
  min-width: 48px;
  min-height: 38px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #ffffff;
}

body[data-theme="win10"] .start-button:hover,
body[data-theme="win10"] .start-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

body[data-theme="win95"] .start-mark,
body[data-theme="xp"] .start-mark,
body[data-theme="win10"] .start-mark {
  display: block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: none;
}

body[data-theme="win95"] .start-mark span,
body[data-theme="xp"] .start-mark span,
body[data-theme="win10"] .start-mark span {
  display: none;
}

body[data-theme="win95"] .start-mark {
  width: 28px;
  height: 22px;
  background-image: url("icons/windows-95-start.svg");
}

body[data-theme="xp"] .start-mark {
  width: 27px;
  height: 23px;
  background-image: url("icons/windows-xp-start.svg");
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.32));
}

body[data-theme="win10"] .start-mark {
  width: 20px;
  height: 20px;
  background-image: url("icons/windows-10-start.svg");
}

body[data-theme="win10"] .start-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.taskbar-apps {
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
}

.taskbar-apps button {
  min-width: 120px;
}

.taskbar-apps button.is-hidden {
  display: none;
}

.taskbar-apps button.is-active {
  background: var(--surface-light);
}

body[data-theme="win10"] .taskbar-apps button {
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  font-weight: 500;
}

body[data-theme="win10"] .taskbar-apps button.is-active {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.taskbar-clock {
  min-width: 74px;
  padding: 6px 8px;
  background: var(--surface);
  color: var(--text);
  text-align: center;
}

body[data-theme="win95"] .taskbar-clock {
  border-top: 1px solid var(--surface-deep);
  border-left: 1px solid var(--surface-deep);
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

body[data-theme="xp"] .taskbar-clock,
body[data-theme="win10"] .taskbar-clock {
  border-radius: var(--button-radius);
}

body[data-theme="win10"] .taskbar-clock {
  min-height: 38px;
  background: transparent;
  color: #ffffff;
}

.start-menu {
  position: absolute;
  left: 6px;
  bottom: calc(var(--taskbar-height) - 1px);
  z-index: 80;
  display: grid;
  grid-template-columns: 38px minmax(220px, 280px);
  min-height: 290px;
  background: var(--surface);
  border-radius: var(--window-radius);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.start-menu.is-hidden {
  display: none;
}

.start-strip {
  display: grid;
  place-items: end center;
  padding: 10px 4px;
  background: var(--title-bg);
  color: var(--title-text);
  font-weight: 900;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-items {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 8px;
}

.start-items button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.start-items button:hover,
.start-items button:focus-visible {
  background: var(--title-bg);
  color: var(--title-text);
  outline: none;
}

body[data-theme="win10"] .start-menu {
  left: 0;
  bottom: var(--taskbar-height);
  grid-template-columns: minmax(260px, 330px);
  min-height: 360px;
  background: rgba(32, 32, 32, 0.98);
  border: 1px solid #3d3d3d;
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.38);
}

body[data-theme="win10"] .start-strip {
  display: none;
}

body[data-theme="win10"] .start-items {
  gap: 0;
  padding: 8px 0;
}

body[data-theme="win10"] .start-items button {
  min-height: 46px;
  padding: 6px 14px;
  color: #f2f2f2;
  font-weight: 500;
}

body[data-theme="win10"] .start-items button:hover,
body[data-theme="win10"] .start-items button:focus-visible {
  background: #3a3a3a;
  color: #ffffff;
}

.system-tray {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tray-status {
  display: grid;
  place-items: center;
  width: 25px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: var(--button-radius);
  background: transparent;
}

.tray-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 20px;
}

.network-icon::before,
.network-icon::after,
.sound-icon::before,
.sound-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.network-icon::before {
  left: 1px;
  top: 4px;
  width: 9px;
  height: 7px;
  background: #d7eaff;
  border: 1px solid #000000;
}

.network-icon::after {
  right: 1px;
  bottom: 4px;
  width: 9px;
  height: 7px;
  background: #d7eaff;
  border: 1px solid #000000;
}

body[data-theme="win95"] .network-icon {
  color: #000000;
  background:
    linear-gradient(#000000, #000000) 10px 11px / 4px 1px no-repeat,
    linear-gradient(#000000, #000000) 12px 8px / 1px 4px no-repeat;
}

.sound-icon::before {
  left: 2px;
  top: 7px;
  width: 9px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 25%, 38% 25%, 78% 0, 78% 100%, 38% 75%, 0 75%);
}

.sound-icon::after {
  right: 2px;
  top: 5px;
  width: 9px;
  height: 12px;
  border: 1px solid currentColor;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

body[data-theme="win95"] .tray-status {
  color: #000000;
}

body[data-theme="xp"] .system-tray {
  padding: 2px 6px;
  border-radius: 13px;
  background: rgba(84, 160, 255, 0.32);
}

body[data-theme="xp"] .network-icon::before {
  background: #9ed1ff;
  border-color: #103f80;
}

body[data-theme="xp"] .network-icon::after {
  background: #75d764;
  border-color: #19571c;
}

body[data-theme="xp"] .sound-icon {
  color: #ffffff;
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.35));
}

body[data-theme="xp"] .sound-icon::after {
  border-width: 2px;
}

body[data-theme="xp"] .tray-status,
body[data-theme="win10"] .tray-status {
  color: #ffffff;
}

body[data-theme="win10"] .system-tray {
  gap: 2px;
  color: #ffffff;
}

body[data-theme="win10"] .network-icon {
  width: 22px;
  height: 20px;
  background: none;
}

body[data-theme="win10"] .network-icon::before {
  display: block;
  left: 3px;
  top: 4px;
  width: 14px;
  height: 9px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 1px;
}

body[data-theme="win10"] .network-icon::after {
  display: block;
  left: 7px;
  top: 14px;
  width: 10px;
  height: 4px;
  background:
    linear-gradient(currentColor, currentColor) 0 3px / 10px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 0 / 1px 4px no-repeat;
  border: 0;
}

body[data-theme="win10"] .sound-icon::before {
  left: 2px;
  top: 7px;
  width: 10px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 26%, 36% 26%, 76% 0, 76% 100%, 36% 74%, 0 74%);
}

body[data-theme="win10"] .sound-icon::after {
  right: 0;
  top: 3px;
  width: 9px;
  height: 14px;
  background:
    radial-gradient(
      ellipse at left center,
      transparent 0 5px,
      currentColor 5.2px 6.2px,
      transparent 6.4px
    ),
    radial-gradient(
      ellipse at left center,
      transparent 0 8px,
      currentColor 8.2px 9.2px,
      transparent 9.4px
    );
  border: 0;
  border-radius: 0;
}

body[data-theme="win10"] .settings-icon,
body[data-theme="win10"] .info-icon,
body[data-theme="win10"] .txt-file-icon {
  border: 1px solid #4a4a4a;
}

body[data-theme="win10"] .txt-file-icon {
  background: #f4f4f4;
  box-shadow: inset -5px 0 0 #dadada;
}

body[data-theme="win10"] .txt-file-icon::before {
  right: -1px;
  top: -1px;
  border-left: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
}

@media (max-width: 520px) {
  body {
    overflow: auto;
  }

  h1 {
    font-size: 23px;
  }

  .desktop-shell {
    min-height: 100vh;
    height: auto;
  }

  .desktop-stage {
    overflow: visible;
    min-height: 860px;
    padding: 12px;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  .style-card {
    min-height: auto;
  }

  .style-preview {
    height: 54px;
  }

  .desktop-icons,
  .desktop-footer-file {
    position: static;
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    width: auto;
    margin-bottom: 12px;
  }

  .desktop-icon {
    min-height: 70px;
    font-size: 13px;
  }

  .desktop-window,
  .window-settings,
  .window-footer-text {
    position: static;
    width: 100%;
    margin-bottom: 12px;
  }

  .desktop-window.is-hidden {
    display: none;
  }

  .desktop-window.is-maximized {
    width: 100% !important;
    height: auto !important;
  }

  .window-body {
    max-height: none;
    padding: 12px;
  }

  .lead {
    font-size: 15px;
  }

  .general-contact-list {
    grid-template-columns: 1fr;
  }

  .taskbar {
    position: sticky;
    bottom: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .taskbar-apps button {
    min-width: 104px;
  }

  .start-menu {
    position: fixed;
    right: 8px;
    bottom: var(--taskbar-height);
    left: 8px;
    grid-template-columns: 34px minmax(0, 1fr);
  }
}
