:root {
  --shell-face: #ffe4f4;
  --shell-paper: #fffafd;
  --shell-shadow: #ad6a93;
  --shell-edge: #653151;
  --shell-highlight: #ffffff;
}

body, .window, .title-bar-text, button, input, .forum-username {
  font-family: Tahoma, "MS Sans Serif", sans-serif !important;
}

:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: 3px;
}

button {
  border-radius: 0;
}

.desktop {
  padding: 20px 14px;
  grid-auto-columns: 92px;
  grid-template-rows: repeat(auto-fill, 100px);
  gap: 10px;
}

.desktop>.desktop-icon {
  width: 88px;
  height: 96px;
  padding: 6px 3px;
  font: 11px/1.4 Tahoma,sans-serif;
  color: #330033;
  text-decoration: none;
  text-shadow: 0 1px #fff9;
}

.desktop>.desktop-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 7px;
}

.desktop>.desktop-icon:focus, .desktop>.desktop-icon.is-selected {
  background: #ff009930;
  border: 1px dotted #a30063;
}

.custom-folder-slot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
}

.custom-folder-slot img {
  margin: 0 !important;
}

.folder-placeholder {
  display: none;
  font: 10px Tahoma,sans-serif;
  border: 1px dashed #a30063;
  padding: 10px 6px;
  color: #7b2555;
}

.needs-icon .folder-placeholder {
  display: block;
}

.window {
  padding: 4px;
  background: var(--shell-face);
  backdrop-filter: none;
  border: 1px solid var(--shell-edge);
  box-shadow: inset 1px 1px #fff, inset -1px -1px var(--shell-shadow), 3px 4px 0 #6e164530;
  grid-template-rows: auto auto minmax(0,1fr);
}

.window .title-bar {
  background: linear-gradient(90deg,#b58fa5,#e9c8dd) !important;
  min-height: 28px;
  padding: 3px 5px !important;
  color: #fff;
  text-shadow: 1px 1px #70435f;
}

.window.is-active .title-bar {
  background: linear-gradient(90deg,#d60083,#ff66c4 75%,#ff99cc) !important;
}

.window-title {
  font: bold 12px Tahoma,sans-serif;
  letter-spacing: 0;
}

.title-bar-controls {
  gap: 3px;
}

.title-bar-controls button {
  min-width: 23px;
  min-height: 22px;
  height: 22px;
  padding: 0;
  color: #330033;
  background: var(--shell-face);
  border: 0;
  box-shadow: inset 1px 1px #fff, inset -1px -1px var(--shell-edge), inset -2px -2px var(--shell-shadow);
  font: bold 12px Tahoma,sans-serif !important;
}

.title-bar-controls button:active {
  box-shadow: inset 1px 1px var(--shell-edge);
  transform: none;
}

.window-address {
  padding: 6px 5px;
  background: var(--shell-face);
  border-bottom: 1px solid var(--shell-shadow);
  gap: 9px;
}

.window-address>.folder-path {
  padding: 4px 7px;
  background: var(--shell-paper);
  border: 0;
  box-shadow: inset 1px 1px var(--shell-shadow), inset -1px -1px #fff;
}

.window-address>span:first-child {
  font: 11px Tahoma,sans-serif;
}

.forum-layout {
  padding: 0;
  gap: 0;
  grid-template-columns: 136px minmax(0,1fr);
  background: var(--shell-paper);
}

.forum-sidebar {
  padding: 16px 10px;
  background: #ffeaf8;
  border: 0;
  border-right: 1px solid #e3b0cf;
}

.forum-avatar {
  width: 76px;
  height: 76px;
  padding: 3px;
  background: #fff;
  border: 1px solid #c98db0;
  margin: 8px 0 12px;
}

.forum-username {
  font-size: 14px;
}

.forum-title {
  font-size: 10px;
  margin: 5px 0;
}

.forum-stats {
  width: 100%;
  border-top: 1px solid #e3b0cf;
  padding-top: 10px;
  color: #75405f;
  text-align: left;
}

.forum-main {
  border: 0;
  background: var(--shell-paper);
  padding: 18px 22px;
}

.forum-main p, .about-section p {
  font-size: 13px !important;
  line-height: 1.6;
}

.forum-main h1 {
  font-size: 18px !important;
}

.window .content-area {
  background: var(--shell-paper);
}

.nav-item {
  border-radius: 0;
  padding: 10px;
  margin: 5px;
  border: 1px solid #e3b0cf;
  background: #fff9;
  box-shadow: 1px 1px #fff;
}

.nav-item:hover {
  transform: none;
  background: #ffe4f4;
}

.button-box {
  border-radius: 0;
}

.resize-edge {
  position: absolute;
  z-index: 30;
  touch-action: none;
}

.resize-n, .resize-s {
  left: 7px;
  right: 7px;
  height: 5px;
  cursor: ns-resize !important;
}

.resize-n {
  top: 0;
}

.resize-s {
  bottom: 0;
}

.resize-e, .resize-w {
  top: 7px;
  bottom: 7px;
  width: 5px;
  cursor: ew-resize !important;
}

.resize-e {
  right: 0;
}

.resize-w {
  left: 0;
}

.resize-ne, .resize-nw, .resize-se, .resize-sw {
  width: 10px;
  height: 10px;
}

.resize-ne {
  right: 0;
  top: 0;
  cursor: nesw-resize !important;
}

.resize-sw {
  left: 0;
  bottom: 0;
  cursor: nesw-resize !important;
}

.resize-nw {
  left: 0;
  top: 0;
  cursor: nwse-resize !important;
}

.resize-se {
  right: 0;
  bottom: 0;
  cursor: nwse-resize !important;
}

.window.is-resizing iframe {
  pointer-events: none;
}

#myWindow {
  --window-width: 760px;
}

#mediaLogsWindow {
  --window-width: 740px;
  height: min(470px,calc(100% - 16px));
}

.media-folder-body {
  grid-template-rows: auto auto minmax(0,1fr) auto;
  background: var(--shell-face);
}

.explorer-menubar {
  display: flex;
  gap: 1px;
  padding: 2px 4px;
  border-bottom: 1px solid #d29bbb;
}

.explorer-menubar details {
  position: relative;
}

.explorer-menubar summary {
  list-style: none;
  cursor: pointer;
  padding: 5px 10px;
  font: 11px Tahoma,sans-serif;
}

.explorer-menubar details[open]>summary {
  background: #ff99cc;
}

.explorer-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 150px;
  padding: 3px;
  background: var(--shell-face);
  border: 1px solid var(--shell-shadow);
  box-shadow: 2px 2px #65315140;
}

.explorer-menu button {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 12px;
  text-align: left;
  font-size: 11px;
}

.explorer-menu button:hover {
  background: #ff99cc;
}

.help-menu {
  width: 230px;
  padding: 12px;
  font: 11px/1.6 Tahoma,sans-serif;
}

.folder-toolbar {
  padding: 5px 8px;
  background: var(--shell-face);
}

.folder-workspace {
  grid-template-columns: 136px minmax(0,1fr);
}

.folder-file-pane {
  border: 0;
  margin: 4px;
  background: var(--shell-paper);
  box-shadow: inset 1px 1px var(--shell-shadow), inset -1px -1px #fff;
}

#media-log-links {
  padding: 16px 10px;
  gap: 8px;
}

#media-log-links .desktop-icon {
  font: 11px/1.4 Tahoma,sans-serif;
  text-decoration: none;
  min-height: 90px;
}

#media-log-links img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.folder-status {
  margin: 3px 4px 0;
  border: 0;
  padding: 0;
}

.folder-status span {
  padding: 5px 8px;
  border: 1px solid;
  border-color: #c98db0 #fff #fff #c98db0;
  flex: 1;
}

.taskbar {
  min-height: 42px;
  padding: 4px 6px;
  background: var(--shell-face);
  border-top: 2px solid #fff;
  box-shadow: 0 -1px #b97ba1;
}

.start-button {
  font: bold 13px Tahoma,sans-serif !important;
  padding: 5px 11px;
  min-height: 30px;
  background: var(--shell-face);
  border: 0;
  box-shadow: inset 1px 1px #fff,inset -1px -1px var(--shell-edge),inset -2px -2px var(--shell-shadow);
}

.start-button[aria-expanded=true] {
  box-shadow: inset 1px 1px var(--shell-shadow);
  background: #ffcde9;
}

.quick-launch {
  padding: 0 5px;
  margin: 0;
}

.quick-launch img {
  width: 22px;
  height: 22px;
}

.system-tray {
  border: 1px solid;
  border-color: #b97ba1 #fff #fff #b97ba1;
  background: #ffeff9;
}

#systemClock {
  border: 0;
  background: transparent;
  font: 11px Tahoma,sans-serif !important;
}

.start-menu {
  display: none;
  left: 4px;
  width: 270px;
  padding: 3px;
  border: 1px solid var(--shell-edge);
  box-shadow: inset 1px 1px #fff,2px -2px #65315130;
  background: var(--shell-face);
  overflow: auto;
  max-height: calc(100dvh - var(--taskbar-height) - 12px);
}

.start-menu-header {
  background: linear-gradient(90deg,#d60083,#ff66c4);
  color: #fff;
  padding: 13px 10px;
  font: bold 16px Tahoma,sans-serif;
  letter-spacing: 0;
}

.start-menu-header small {
  display: block;
  font-size: 10px;
  font-weight: normal;
  margin-top: 3px;
}

.start-menu-items {
  padding: 4px;
}

.start-group>summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 11px 10px;
  cursor: pointer;
  font: 12px Tahoma,sans-serif;
}

.start-group>summary::before {
  content: '▸';
  margin-right: 9px;
  color: #ad367b;
}

.start-group>summary span {
  margin-left: auto;
}

.start-group[open]>summary, .start-group>summary:hover {
  background: #ff99cc;
}

.start-submenu {
  padding: 2px 4px 5px 20px;
  background: #ffffff70;
}

.start-menu-item, .start-submenu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 30px;
  padding: 7px 10px;
  font: 11px Tahoma,sans-serif !important;
  text-decoration: none;
  color: #330033;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.start-menu-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.start-menu-item:hover,.start-submenu button:hover {
  background: #ff99cc;
  color: #330033;
}

.start-separator {
  border-top: 1px solid #c98db0;
  border-bottom: 1px solid white;
  margin: 5px 2px;
}

body.dark-mode {
  --shell-face: #281f29;
  --shell-paper: #211b23;
  --shell-shadow: #674357;
  --shell-edge: #120c11;
}

body.dark-mode .window.is-active .title-bar {
  background: linear-gradient(90deg,#72114e,#b63e87) !important;
}

body.dark-mode .forum-sidebar {
  background: #2c2029 !important;
}

body.dark-mode .start-menu-item,body.dark-mode .start-submenu button {
  color: #ffeaf8;
}

body.dark-mode .start-submenu {
  background: #ffffff08;
}

body.dark-mode .start-menu-item:hover,body.dark-mode .start-submenu button:hover,body.dark-mode .start-group[open]>summary {
  background: #61364f;
}

body.dark-mode .system-tray {
  background: #281f29;
}

@media(max-width:768px) {

  .desktop {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill,minmax(76px,1fr));
    grid-template-rows: none;
    grid-auto-rows: 92px;
    padding: 12px;
    gap: 5px;
  }

  .desktop>.desktop-icon {
    width: 100%;
    height: 90px;
  }

  .window {
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
    max-height: calc(100% - 12px);
  }

  .title-bar-controls button {
    min-width: 32px;
    min-height: 30px;
  }

  .resize-edge {
    display: none;
  }

  .forum-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .forum-sidebar {
    flex-direction: row;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid #e3b0cf;
    gap: 8px;
  }

  .forum-main {
    padding: 12px;
  }

  .folder-workspace {
    grid-template-columns: minmax(0,1fr);
  }

  .window-address {
    gap: 5px;
  }

  .system-tray>span {
    display: none;
  }

  .start-menu {
    width: min(290px,calc(100vw - 8px));
  }

  .start-group>summary {
    padding: 12px 10px;
  }
}

.window {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.window-chrome {
  position: relative;
  z-index: 50;
  min-width: 0;
}

.window-viewbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-bottom: 1px solid #c98db0;
  font-size: 11px;
}

.window-viewbar > span {
  margin-right: 6px;
}

.window-viewbar button {
  padding: 4px 9px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-size: 11px;
}

.window-viewbar button[aria-pressed="true"] {
  background: #ffcde9;
  border-color: #bd719d #fff #fff #bd719d;
}

.window-viewbar button:hover {
  background: #ffffff90;
}

.window-properties {
  padding: 6px 10px;
  font: 10px/1.5 Tahoma, sans-serif;
  border-bottom: 1px solid #d29bbb;
  overflow-wrap: anywhere;
}

.window-status {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px;
  font: 10px Tahoma, sans-serif;
  border-top: 1px solid #c98db0;
  color: #75405f;
}

.window-status > span:last-child {
  letter-spacing: 1px;
  font-size: 9px;
}

.media-folder-body {
  grid-template-rows: minmax(0, 1fr) auto;
}

.details-view .nav-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.details-view .nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #dfb6cf;
  box-shadow: none;
}

.details-view .nav-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin: 0;
}

.explorer-menubar summary::-webkit-details-marker {
  display: none;
}

.window, .taskbar, .start-menu {
  background: linear-gradient(135deg, #fff4fbcf, #ffd1ecc9 55%, #ffeaf8db);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  border-color: #ffffffdb #b97ba1 #b97ba1 #ffffffdb;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff70, 0 8px 24px #6e164529;
}

.window .title-bar {
  border-radius: 3px 3px 0 0;
}

.window.is-active .title-bar {
  background: linear-gradient(180deg, #ffb0dfcc, #ef5ab7dc 48%, #d92393e6 51%, #ef76bfdd) !important;
}

.window-address, .window-viewbar, .window-status {
  background: #ffffff26;
}

.window-address > .folder-path {
  background: #fffafdd9;
  border-radius: 3px;
}

.start-menu-header {
  background: linear-gradient(120deg, #ce218bcc, #f688c8aa);
}

body.dark-mode .window, body.dark-mode .taskbar, body.dark-mode .start-menu {
  background: linear-gradient(135deg, #362332ec, #241d2ae8);
}

body.dark-mode .window-viewbar button[aria-pressed="true"] {
  background: #61364f;
}

body.dark-mode .window-properties, body.dark-mode .window-status {
  color: #f6cbe4;
}

body.dark-mode .window-address > .folder-path {
  background: #211b23ed;
}

.start-menu {
  width: min(560px, calc(100vw - 12px));
}

.start-menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 10px;
}

.start-group {
  min-width: 0;
}

.start-group h2 {
  margin: 0 0 4px;
  padding: 4px 6px;
  border-bottom: 1px solid #c98db0;
  color: #8b235f;
  font: bold 10px Tahoma, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.start-submenu {
  padding: 0;
  background: transparent;
}

.start-menu-item, .start-submenu button {
  font-size: 12px !important;
  min-height: 32px;
  padding: 6px;
}

.start-separator {
  grid-column: 1 / -1;
  margin: 0;
}

body.dark-mode .start-group h2 {
  color: #ffa8d8;
}

@media (max-width: 768px) {

  .window.content-window {
    height: auto !important;
    max-height: calc(100% - 12px);
  }

  #mediaLogsWindow {
    height: min(470px, calc(100% - 12px)) !important;
  }

  .window-viewbar {
    padding: 3px 7px;
  }

  .window-viewbar button, .explorer-menubar summary {
    min-height: 30px;
  }

  .explorer-menu button {
    min-height: 36px;
  }

  .window .window-status {
    padding: 4px 8px;
  }

  .start-menu {
    width: calc(100vw - 12px);
  }

  .start-menu-items {
    gap: 8px;
    padding: 8px;
  }

  .start-menu-item, .start-submenu button {
    min-height: 38px;
  }
}

@media (prefers-reduced-transparency: reduce) {

  .window, .taskbar, .start-menu {
    background: var(--shell-face) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.window, .start-menu {
  border-radius: 16px;
  border: 1px solid #fff9;
  background: linear-gradient(135deg, #fff5fc99, #ffd4ed80 55%, #fff5fbb3);
  -webkit-backdrop-filter: blur(36px) saturate(145%);
  backdrop-filter: blur(36px) saturate(145%);
  box-shadow: inset 0 1px 0 #fffe, inset 1px 0 0 #ffffff70, inset 0 -1px 0 #ffffff80, 0 12px 36px #64103b26;
}

.taskbar {
  background: linear-gradient(180deg, #fff5fba6, #ffcde780);
  -webkit-backdrop-filter: blur(36px) saturate(145%);
  backdrop-filter: blur(36px) saturate(145%);
  border-top: 1px solid #fffc;
  box-shadow: 0 -4px 20px #64103b12;
}

.window .title-bar, .window.is-active .title-bar {
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(125deg, #e85ca5b3, #ffafd88c) !important;
  color: #562341;
  text-shadow: 0 1px #ffffff80;
}

.window.is-active .title-bar {
  background: linear-gradient(125deg, #ec5bafb8, #ffb7deaa) !important;
}

.title-bar-controls button, .start-button {
  border-radius: 6px;
  border: 1px solid #fff9;
  background: linear-gradient(#ffffffa6, #ffd3ec66);
  box-shadow: inset 0 1px #fffc, 0 2px 5px #64103b14;
}

.start-menu-header {
  border-radius: 9px 9px 4px 4px;
}

.start-menu-item, .start-submenu button, .window-viewbar button {
  border-radius: 5px;
}

.navigation-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.help-button {
  padding: 5px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: 11px Tahoma, sans-serif;
}

@media (max-width: 768px) {

  .help-button {
    min-height: 30px;
  }
}

body.dark-mode .window .title-bar {
  color: #ffeaf8;
  text-shadow: none;
}

body.dark-mode .taskbar {
  background: linear-gradient(#362332d9, #241d2ac9);
}

@media (prefers-reduced-transparency: reduce) {

  .window, .taskbar, .start-menu {
    background: var(--shell-face) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

body:not(.dark-mode) {
  --shell-face: #f6f3ec;
  --shell-paper: #fffcf6;
  --shell-shadow: #aba59e;
  --shell-edge: #77726e;
  --ink: var(--site-text);
  --rule: #77716936;
}

body:not(.dark-mode) :is(.window, .start-menu, .taskbar) {
  background: linear-gradient(145deg, #fffff9c9, #faf7ee80 50%, #fffdf7a6);
  backdrop-filter: blur(40px) saturate(80%);
  -webkit-backdrop-filter: blur(40px) saturate(80%);
  color: var(--ink);
  border-color: #fffdf8 #c6c1b9 #aaa49d #fffefa;
  box-shadow: inset 0 2px 2px #ffffffed, inset 1px 0 1px #ffffff99, inset 0 -1px 2px #ffffffb3, 0 4px 8px #30273514, 0 16px 38px #30273526;
}

body:not(.dark-mode) .window {
  border-radius: 13px;
}

body:not(.dark-mode) .window .title-bar {
  background: linear-gradient(110deg, var(--site-primary), var(--site-secondary)) !important;
  color: var(--ink);
  border-radius: 9px 9px 3px 3px;
  text-shadow: 0 1px white;
  box-shadow: inset 0 -1px var(--rule);
}

body:not(.dark-mode) .window.is-active .title-bar {
  background: linear-gradient(110deg, var(--site-primary), var(--site-secondary)) !important;
  box-shadow: inset 0 2px #ffffff8c, inset 0 -2px var(--site-accent);
}

body:not(.dark-mode) :is(.title-bar-controls button, .start-button) {
  color: var(--ink);
  background: linear-gradient(#fffefb, #e5e1d8);
  border: 1px solid #aaa59d;
  box-shadow: inset 0 1px white;
  border-radius: 4px;
}

body:not(.dark-mode) :is(.window-chrome, .window-address, .window-viewbar, .window-status, .folder-status) {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

body:not(.dark-mode) .window-address > .folder-path {
  background: #fffffbd9;
  box-shadow: inset 0 1px 3px #40392f33, 0 1px white;
}

body:not(.dark-mode) :is(.content-area, .forum-layout, .media-folder-body) {
  background: transparent;
}

body:not(.dark-mode) :is(.forum-main, .folder-file-pane) {
  background: #fffdf8ad;
}

body:not(.dark-mode) .forum-sidebar {
  background: #fffaf080;
  border-color: var(--rule);
}

body:not(.dark-mode) :is(.start-menu-header, .system-tray) {
  color: var(--ink);
  background: linear-gradient(#fffdf7, #e8e5dc);
  border-color: var(--rule);
}

body:not(.dark-mode) .start-menu-header {
  border-bottom: 1px solid var(--rule);
}

body:not(.dark-mode) .start-group h2 {
  color: #655e62;
  border-color: var(--rule);
}

body:not(.dark-mode) :is(.window-viewbar button[aria-pressed="true"], .start-menu-item:hover, .start-submenu button:hover) {
  background: #ffe1f1;
  color: #53253d;
  box-shadow: inset 0 0 0 1px #ee8dbd;
}

body:not(.dark-mode) .taskbar {
  background: linear-gradient(180deg, #ffffff38, transparent 55%),
              linear-gradient(90deg, var(--site-accent), var(--site-primary));
  color: var(--site-text);
  border-top: 1px solid #ffffffcc;
}

body:not(.dark-mode) .start-menu-header {
  background: linear-gradient(110deg, var(--site-primary), var(--site-secondary));
  color: var(--site-text);
}

body:not(.dark-mode) .system-tray {
  background: #fffaf066;
  box-shadow: inset 0 1px #ffffff99;
}

body:not(.dark-mode) .window .title-bar {
  background-image: linear-gradient(180deg, #ffffff40, transparent 65%),
                    linear-gradient(110deg, var(--site-primary), var(--site-secondary)) !important;
}

body:not(.dark-mode) .window-viewbar::before {
  content: "";
  width: 4px;
  height: 13px;
  background: repeating-linear-gradient(0deg, #aaa59c 0 1px, transparent 1px 3px);
  margin-right: 3px;
}

body:not(.dark-mode) .quick-launch {
  border-left: 1px solid var(--rule);
}

body:not(.dark-mode) .resize-se {
  background: repeating-linear-gradient(135deg, transparent 0 2px, #8b837b 2px 3px);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

@media (prefers-reduced-transparency: reduce) {

  body:not(.dark-mode) :is(.window, .taskbar, .start-menu) {
    background: var(--shell-face) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

body:not(.dark-mode) .taskbar .start-button,
body:not(.dark-mode) .taskbar .system-tray,
body:not(.dark-mode) .taskbar #systemClock {
  background: transparent;
  color: var(--site-text);
  border: 1px solid transparent;
  box-shadow: none;
}

body:not(.dark-mode) .taskbar .start-button,
body:not(.dark-mode) .taskbar .system-tray {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25);
}

body:not(.dark-mode) .taskbar .start-button:hover,
body:not(.dark-mode) .taskbar .start-button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
}

/* 13. SHARED WINDOW EXTERIOR — matched to /interests/.
   Only the shell is styled here. Content panels keep their own styles. */
body .window {
  border-radius: 0 !important;
  border: none !important;
  padding: 2px !important;
  background: rgba(255, 255, 255, .7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff,
              inset -2px -2px #808080, inset 2px 2px #dfdfdf,
              4px 4px 0 #ff0099 !important;
}
body .window .title-bar, body .window.is-active .title-bar,
body.dark-mode .window .title-bar, body.dark-mode .window.is-active .title-bar {
  border-radius: 0 !important;
  background: linear-gradient(90deg, #ff66c4, #ff99cc) !important;
  padding: 4px 6px !important;
  color: #330033;
  text-shadow: none;
  box-shadow: none;
  border: 0;
}
body .window-titlebar-icon { width: 18px; height: 18px; margin-right: 8px; filter: drop-shadow(1px 1px 0 #ff0099); }
body .title-bar-controls { gap: 2px; }
body .window-viewbar button,
body .taskbar .start-button,
body .taskbar .theme-toggle {
  border: none !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, var(--button-highlight), var(--button-face)) !important;
  color: var(--text-dark) !important;
  box-shadow: inset -1px -1px var(--button-shadow), inset 1px 1px var(--button-highlight),
              inset -2px -2px var(--button-edge), inset 2px 2px var(--button-highlight) !important;
  text-shadow: none;
}
body .title-bar-controls button {
  border: none !important;
  border-radius: 0 !important;
  background: #c0c0c0 !important;
  color: #222 !important;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff,
              inset -2px -2px #808080, inset 2px 2px #dfdfdf !important;
  text-shadow: none;
}
body .title-bar-controls button {
  min-width: 22px;
  width: 22px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  font: bold 12px/1 Tahoma, sans-serif !important;
}
body .window-viewbar button:active,
body .window-viewbar button[aria-pressed="true"],
body .taskbar .start-button:active,
body .taskbar .start-button[aria-expanded="true"],
body .taskbar .theme-toggle:active {
  box-shadow: inset -1px -1px var(--button-highlight), inset 1px 1px var(--button-shadow),
              inset -2px -2px var(--button-highlight), inset 2px 2px var(--button-edge) !important;
  transform: none;
}
body .title-bar-controls button:active {
  box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a,
              inset -2px -2px #dfdfdf, inset 2px 2px #808080 !important;
}
body .window-viewbar button[aria-pressed="true"],
body .taskbar .start-button[aria-expanded="true"] {
  background: var(--button-selected) !important;
}
body .window-viewbar button:hover,
body .taskbar .start-button:hover,
body .taskbar .theme-toggle:hover {
  background: linear-gradient(135deg, var(--button-highlight), var(--site-secondary)) !important;
}
body .window-chrome { background: #ffeaf8; color: #330033; }
body .window-address, body .window-viewbar, body .explorer-menubar,
body .window-status, body .folder-status {
  border-radius: 0;
  background: #ffeaf8;
  color: #330033;
  border-color: #d7a3c4;
}
body .window-address > .folder-path {
  border-radius: 0;
  background: #fff;
  color: #330033;
  border: none;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080,
              inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
  padding: 5px 8px;
}
body .explorer-menu { background: #ffeaf8; color: #330033; border-radius: 0; }
body .window-status, body .folder-status span {
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}
body .taskbar, body.dark-mode .taskbar {
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #ff66c4, #ff99cc) !important;
  color: #330033;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px #fff, inset 0 2px #dfdfdf, 0 -2px 0 #ff0099;
}
body .taskbar .system-tray {
  border-radius: 0;
  border: none;
  background: transparent;
  color: #330033;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}
body .taskbar #systemClock, body .taskbar .system-tray > span { color: #330033; }
body .start-menu { border-radius: 0; }
body .start-menu-header {
  border-radius: 0;
  background: linear-gradient(90deg, #ff66c4, #ff99cc);
  color: #330033;
}
body.dark-mode .window {
  background: linear-gradient(145deg, #241b25f2, #18141af2) !important;
  color: var(--text-light) !important;
  box-shadow: inset -1px -1px #000, inset 1px 1px #444,
              inset -2px -2px #222, inset 2px 2px #555,
              4px 4px 0 var(--accent-pink) !important;
}
body.dark-mode .window .title-bar,
body.dark-mode .window.is-active .title-bar {
  background: linear-gradient(90deg, var(--dark-elevated), var(--site-primary)) !important;
  color: var(--text-light) !important;
}
body.dark-mode .window-chrome,
body.dark-mode .window-address,
body.dark-mode .window-viewbar,
body.dark-mode .explorer-menubar,
body.dark-mode .window-status,
body.dark-mode .folder-status,
body.dark-mode .explorer-menu {
  background: var(--dark-surface) !important;
  color: var(--text-light) !important;
  border-color: #674357 !important;
}
body.dark-mode .window-address > .folder-path {
  background: var(--dark-base) !important;
  color: var(--text-light) !important;
}
body.dark-mode .taskbar {
  background: linear-gradient(90deg, var(--dark-surface), var(--dark-elevated)) !important;
  color: var(--text-light) !important;
  box-shadow: inset 0 1px #674357, 0 -2px 0 var(--accent-pink) !important;
}
body.dark-mode .taskbar .system-tray {
  background: var(--dark-surface) !important;
  color: var(--text-light) !important;
}
body.dark-mode .taskbar #systemClock,
body.dark-mode .taskbar .system-tray > span {
  color: var(--text-light) !important;
}
body.dark-mode .start-menu-header {
  background: linear-gradient(90deg, var(--dark-elevated), var(--site-primary)) !important;
  color: var(--text-light) !important;
}
@media (max-width: 768px) {
  body .title-bar-controls button { width: 32px; min-width: 32px; height: 30px; min-height: 30px; }
}
@media (prefers-reduced-transparency: reduce) {
  body .window { background: #fff7fc !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.dark-mode .window { background: var(--dark-surface) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@font-face {
  font-family: "PixdorTwo";
  src: url("https://poisonp1nk.art/interests/fonts/PixdorTwo.ttf")
    format("truetype");
  font-display: swap;
}

html body,
html body .window,
html body .window *,
html body .desktop-icon,
html body .start-menu,
html body .start-menu *,
html body .taskbar,
html body .taskbar *,
html body .taskbar .start-button,
html body .taskbar #systemClock {
  font-family: "PixdorTwo", Tahoma, sans-serif !important;
}