:root {
  --desktop: #27c9c0;
  --desktop-dark: #1aaea8;
  --window: #ffffff;
  --window-light: #ffffff;
  --window-mid: #b9b9b9;
  --window-dark: #111;
  --window-action: #e8e8e8;
  --window-action-shadow: #7f7f7f;
  --title: #075bde;
  --title-dark: #042b8f;
  --title-bright: #2f7dff;
  --taskbar: #bfc5c9;
  --taskbar-height: 42px;
  --taskbar-safe-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  --focus: #ffd21c;
  --font: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  --portfolio-screen: #eef1ff;
  --portfolio-panel: #e2e8ff;
  --portfolio-panel-strong: #d2dcff;
  --portfolio-ink: #172543;
  --portfolio-muted: #4a5672;
  --portfolio-accent: #0b5fde;
  --portfolio-shadow: rgba(10, 41, 110, .14);
  --paper-legal: #fff8b8;
  --paper-rule: #b89a5a;
  --paper-rule-soft: #e1cc7a;
  --button-height-command: 24px;
  --button-height-command-compact: 22px;
  --button-height-taskbar: 32px;
  --button-size-window-action: 20px;
  --button-size-tool: 26px;
  --button-size-swatch: 18px;
  --button-padding-command: 3px 10px;
  --button-padding-command-compact: 2px 10px;
  --button-padding-taskbar-start: 3px 10px 3px 6px;
  --button-padding-taskbar-item: 3px 8px;
  --button-padding-dialog: 2px 8px;
  --button-font-size-command: 12px;
  --button-font-size-command-large: 14px;
  --button-font-size-compact: 11px;
  --button-font-size-tool: 11px;
  --button-shadow-raised: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid), 2px 2px 0 rgba(0, 0, 0, .16);
  --button-shadow-raised-tight: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid), 1px 1px 0 rgba(0, 0, 0, .22);
  --button-shadow-pressed: inset 1px 1px 0 var(--window-mid);
  --button-shadow-disabled: inset 1px 1px 0 #aaa;
  --chip-padding: 1px 4px;
  --chip-background: #fff;
  --chip-border: #000;
  --chip-font-size: 10px;
  --chip-font-weight: 700;
  --portfolio-viewer-nav-size: 64px;
}

* {
  box-sizing: border-box;
  scrollbar-color: #6f6f6f #d6d6d6;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

*::-webkit-scrollbar-track {
  background: #d6d6d6;
  border-radius: 0;
}

*::-webkit-scrollbar-thumb {
  background: #6f6f6f;
  border-radius: 0;
}

*::-webkit-scrollbar-corner {
  background: #d6d6d6;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: #000;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  overflow: hidden;
  color: #111;
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0;
  background: #000;
}

.boot-loader {
  display: none;
}

.boot-loader-media {
  position: absolute;
  inset: 0;
  background: #000 url("assets/dunnos-bg-d.gif") center / cover no-repeat;
  opacity: 0;
}

.boot-loader-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 1px;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: right;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .72);
  opacity: 0;
}

html.boot-loader-ready .boot-loader-media {
  animation: boot-loader-media-in .5s ease forwards;
}

html.boot-loader-ready .boot-loader-copy {
  animation: boot-loader-copy-in .5s ease .18s forwards;
}

.boot-loader-copy span {
  font-size: 12px;
  line-height: 1.1;
}

.boot-loader-copy strong {
  font-size: 28px;
  line-height: .95;
  letter-spacing: 0;
}

.boot-loader-copy small {
  font-size: 11px;
  line-height: 1.1;
}

button {
  font: inherit;
  color: inherit;
}

.ui-button,
.ui-button-compact {
  min-height: var(--button-height-command);
  padding: var(--button-padding-command);
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: inherit;
  box-shadow: var(--button-shadow-raised);
  font-family: var(--font);
  font-size: var(--button-font-size-command);
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
}

.ui-button-compact {
  min-height: var(--button-height-command-compact);
  padding: var(--button-padding-command-compact);
  font-size: var(--button-font-size-compact);
}

.ui-button-square {
  width: var(--button-size-tool);
  height: var(--button-size-tool);
  padding: 0;
}

.ui-chip {
  display: inline-block;
  padding: var(--chip-padding);
  border: 1px solid var(--chip-border);
  background: var(--chip-background);
  color: #101418;
  font-size: var(--chip-font-size);
  font-weight: var(--chip-font-weight);
  line-height: 1;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08) 0 12px, transparent 12px 32px),
    var(--desktop);
}

.desktop-wallpaper-scene-layer {
  position: absolute;
  inset: 0 0 calc(var(--taskbar-height) + var(--taskbar-safe-bottom));
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.desktop-wallpaper-scene-layer.is-active {
  display: block;
}

.desktop-wallpaper-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #07142b 0%, #0b2447 20%, #107895 54%, #5ef2e7 82%, #b5ffff 100%);
}

.desktop-wallpaper-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, .14), transparent 38%);
  mix-blend-mode: screen;
  opacity: .46;
}

.desktop-wallpaper-scene .sky-cloud,
.desktop-wallpaper-scene .sky-star {
  margin-left: 0;
  animation: none;
}

.desktop-wallpaper-track {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  animation: wallpaper-track-scroll var(--wallpaper-duration, 90s) linear infinite;
  will-change: transform;
}

.desktop-wallpaper-track--stars {
  inset: 0;
  opacity: .7;
}

.desktop-wallpaper-track--clouds-far {
  inset: 0;
  opacity: .52;
}

.desktop-wallpaper-track--clouds-mid {
  inset: 0;
  opacity: .7;
}

.desktop-wallpaper-track--clouds-near {
  inset: 0;
  opacity: .82;
}

.desktop-wallpaper-group {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
}

.desktop-wallpaper-group--clone {
  left: 50%;
}

.desktop-wallpaper-atmosphere {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: min(1300px, 120%);
  height: 34%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 100%, rgba(245, 255, 255, .72), rgba(132, 244, 255, .28) 34%, rgba(55, 195, 255, .12) 48%, transparent 72%),
    radial-gradient(circle at 50% 72%, rgba(117, 255, 244, .22), transparent 56%);
  filter: blur(4px);
}

.desktop-wallpaper-horizon-line {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 28%;
  height: 2px;
  background: rgba(228, 255, 255, .94);
  box-shadow:
    0 0 18px rgba(213, 255, 255, .8),
    0 0 48px rgba(80, 223, 255, .46);
}

.desktop-wallpaper-water {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(168, 255, 255, .26) 0%, rgba(71, 198, 255, .22) 14%, rgba(25, 125, 222, .88) 56%, #083f97 100%);
}

.desktop-wallpaper-water::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .26), transparent 28%),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .18), transparent 46%);
  opacity: .72;
}

.desktop-wallpaper-grid {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2%;
  height: 28%;
  background:
    linear-gradient(90deg, rgba(136, 255, 255, .4) 1px, transparent 1px),
    linear-gradient(180deg, rgba(136, 255, 255, .32) 1px, transparent 1px);
  background-size: clamp(36px, 7vw, 76px) clamp(18px, 3.5vw, 32px);
  transform-origin: center bottom;
  transform: perspective(320px) rotateX(72deg);
  opacity: .54;
}

.sky-effect {
  position: absolute;
  inset: 0 0 calc(var(--taskbar-height) + var(--taskbar-safe-bottom));
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  animation: sky-effect-life 10s linear forwards;
}

@keyframes boot-loader-media-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes boot-loader-copy-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes boot-loader-life {
  0%,
  83% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.sky-cloud,
.sky-star {
  position: absolute;
  display: block;
  margin-left: var(--scroll-start, 18vw);
  animation: sky-scroll 10s linear forwards;
}

.sky-cloud {
  filter: drop-shadow(0 var(--cloud-drop, 6px) 0 rgba(199, 194, 184, .68));
  image-rendering: pixelated;
}

.sky-pixel-layer {
  position: absolute;
  display: block;
  background: currentColor;
  color: #fff9e6;
  image-rendering: pixelated;
}

.sky-pixel-hi {
  color: #fffbea;
}

.sky-pixel-mid {
  color: #f1ebd8;
}

.sky-pixel-shade {
  color: #dad4c6;
}

.sky-pixel-dark {
  color: #bfc3cd;
}

.sky-pixel-line {
  color: #d2ccbd;
}

.sky-star {
  width: var(--star-p, 3px);
  height: var(--star-p, 3px);
  background: rgba(255, 255, 244, .86);
  box-shadow: 0 0 0 1px rgba(255, 255, 244, .3);
  image-rendering: pixelated;
}

.sky-star::before,
.sky-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 244, .84);
  transform: translate(-50%, -50%);
}

.sky-star::before {
  width: var(--star-arm, 14px);
  height: var(--star-p, 3px);
}

.sky-star::after {
  width: var(--star-p, 3px);
  height: var(--star-arm, 14px);
}

.sky-star-dot::before,
.sky-star-dot::after {
  display: none;
}

@keyframes sky-scroll {
  from {
    margin-left: var(--scroll-start, 18vw);
  }

  to {
    margin-left: var(--scroll-end, -24vw);
  }
}

@keyframes wallpaper-track-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes sky-effect-life {
  0%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.boot-badge {
  position: absolute;
  top: auto;
  right: 24px;
  bottom: 58px;
  z-index: 2;
  color: rgba(0, 0, 0, .38);
  text-align: right;
  pointer-events: none;
}

.boot-badge-logo {
  --badge-size: clamp(22px, 4vw, 54px);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0;
  font-size: var(--badge-size);
  font-weight: 900;
  line-height: .9;
}

.boot-badge-os {
  font-size: calc(var(--badge-size) + 8px);
}

.boot-badge small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-icons {
  position: absolute;
  inset: 0 0 calc(var(--taskbar-height) + var(--taskbar-safe-bottom));
  z-index: 2;
}

.desktop-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 82px;
  min-height: 74px;
  padding: 4px 3px;
  border: 1px solid transparent;
  background: transparent;
  text-align: center;
  cursor: default;
  touch-action: none;
  user-select: none;
}

.desktop-icon:focus,
.desktop-icon:hover {
  border-color: rgba(255, 255, 255, .7);
  outline: 1px dotted #111;
  outline-offset: -3px;
  background: rgba(7, 91, 222, .15);
}

.desktop-icon.is-selected {
  border-color: rgba(255, 255, 255, .7);
  outline: 1px dotted #111;
  outline-offset: -3px;
  background: rgba(7, 91, 222, .22);
}

.desktop-icon.is-trash-target {
  border-color: #ffd21c;
  outline: 1px dotted #111;
  outline-offset: -4px;
  background: rgba(255, 210, 28, .3);
}

.desktop-icon.is-trash-reject {
  border-color: #d42626;
  outline: 1px dotted #111;
  outline-offset: -4px;
  background: rgba(212, 38, 38, .22);
}

.desktop-icon.is-trashed {
  display: none;
}

.desktop-icon.is-snapping {
  transition: left 140ms steps(4, end), top 140ms steps(4, end);
}

.trash-icon.is-trash-full span {
  color: var(--focus);
}

.desktop-icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 4px;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .3));
  -webkit-user-drag: none;
}

.desktop-icon span {
  display: inline-block;
  max-width: 76px;
  padding: 1px 3px;
  color: #fff;
  line-height: 1.15;
  text-shadow: 1px 1px 0 #063d3c;
  overflow-wrap: anywhere;
}

.desktop-icon[data-open-window="music-window"] span {
  max-width: none;
  overflow-wrap: normal;
  white-space: nowrap;
}

.window {
  --window-footer-height: 20px;
  position: absolute;
  left: min(var(--left), calc(100vw - min(var(--width), calc(100vw - 18px)) - 8px));
  top: min(var(--top), calc(100vh - 180px));
  z-index: 5;
  width: min(var(--width), calc(100vw - 18px));
  padding-bottom: var(--window-footer-height);
  border: 1px solid #000;
  background: var(--window);
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 var(--window-mid),
    5px 5px 0 rgba(0, 0, 0, .32);
  display: none;
}

.window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--window-footer-height) - 1px);
  z-index: 0;
  border-top: 1px solid #000000;
  background: #ffffff;
  box-shadow:
    inset 1px 1px 0 var(--window-mid),
    inset -1px -1px 0 #ffffff;
  pointer-events: none;
}

.window.is-active {
  display: block;
}

.window.is-minimized {
  display: none;
}

.window.is-front {
  z-index: 20;
}

.titlebar {
  min-height: 24px;
  margin: 0;
  padding: 2px 4px 2px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  background: linear-gradient(90deg, var(--title-dark), var(--title), var(--title-bright));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(0, 0, 0, .3);
  cursor: move;
  touch-action: none;
  user-select: none;
}

.window.is-active:not(.is-front) .titlebar {
  background: linear-gradient(90deg, #4d5358, #9da4a8, #d7dcde);
}

.titlebar-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.titlebar-label img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.titlebar-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-actions {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
}

.start-button,
.task-buttons button {
  border: 1px solid #000;
  background: #fff;
  box-shadow: var(--button-shadow-raised);
}

.window-actions button {
  position: relative;
  width: var(--button-size-window-action);
  height: var(--button-size-window-action);
  padding: 0;
  border: 1px solid #000;
  background: var(--window-action);
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 var(--window-action-shadow);
  line-height: 1;
  color: transparent;
  font-size: 0;
  touch-action: manipulation;
}

.window-actions button::before,
.window-actions button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  background: #101418;
}

.window-actions [data-minimize]::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, 3px);
}

.window-actions [data-minimize]::after {
  content: none;
}

.window-actions [data-close]::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.window-actions [data-close]::after {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.window-actions button:active {
  box-shadow:
    inset 1px 1px 0 var(--window-action-shadow),
    inset -1px -1px 0 #fff;
  transform: translate(1px, 1px);
}

.start-button:active,
.task-buttons button.is-selected {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.window-body {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 11px 14px 10px;
  border-top: 1px solid #000;
  background: #fff;
}

.window-body::after {
  content: none;
}

.window-body button:not(.project-icon) {
  touch-action: manipulation;
}

.window-footer-meta {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: calc(var(--window-footer-height) - 1px);
  padding: 0 2px 1px;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.root-window .window-footer-meta,
.sdk-paint .window-footer-meta,
.dunnamp-player .window-footer-meta,
.calculator .window-footer-meta {
  color: #4b5358;
  font-size: 9px;
  font-weight: 700;
}

h1 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.05;
}

p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.usage-warning {
  position: relative;
  width: 12px;
  height: 11px;
  display: inline-block;
  margin-left: 4px;
  vertical-align: -1px;
}

.usage-warning::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid #ffd21a;
  filter: drop-shadow(0 0 0 #000);
}

.usage-warning::after {
  content: "!";
  position: absolute;
  left: 4px;
  top: 2px;
  color: #000;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.root-window {
  display: grid;
  grid-template-rows: auto auto minmax(112px, 1fr) auto;
  gap: 4px;
  min-height: 286px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
}

.root-header {
  display: grid;
  gap: 2px;
  padding: 2px;
  border: 1px solid #808080;
  background: #f6f7f2;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c5c5c5;
}

.root-header h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
}

.root-drive-list {
  display: grid;
  gap: 2px;
}

.root-drive-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  border: 1px dotted transparent;
  appearance: none;
  -webkit-appearance: none;
  color: #101820;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.root-drive-row:hover,
.root-drive-row:focus-visible,
.root-drive-row.is-selected {
  border-color: #111;
  outline: 0;
  background: #edf3ff;
}

.root-drive-row img {
  width: 24px;
  height: 24px;
  justify-self: center;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.root-drive-content {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.root-drive-name {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.root-drive-chip {
  flex: 0 0 auto;
  justify-self: end;
  font-weight: 400;
  margin-left: 4px;
  vertical-align: 1px;
}

.welcome-window {
  max-width: calc(100vw - 18px);
}

.welcome-body {
  min-height: 438px;
  padding: 10px 14px 30px;
  background: #c7c7c7;
  overflow: hidden;
}

.welcome-body h1 {
  margin: 0 0 10px;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: .95;
}

.welcome-body h1 span {
  font-size: 64px;
  font-weight: 400;
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 194px;
  gap: 16px;
  align-items: start;
}

.welcome-card {
  position: relative;
  min-height: 318px;
  padding: 18px 18px 44px;
  border: 1px solid #9a9a9a;
  background:
    radial-gradient(#f3e55c 1px, transparent 1px) 0 0 / 6px 6px,
    #fffdf0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #a0a0a0;
}

.welcome-page[hidden] {
  display: none;
}

.welcome-tip {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}

.welcome-tip img {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
}

.welcome-tip strong {
  display: block;
  margin: 5px 0 14px;
  font-size: 18px;
  line-height: 1;
}

.welcome-tip p {
  max-width: 390px;
  margin: 0;
  color: #333;
  font-size: 17px;
  line-height: 1.25;
}

.welcome-monitor {
  width: 284px;
  margin: 24px auto 0;
  padding: 18px 18px 0;
  border: 2px solid #808080;
  background: #b9b9b9;
  box-shadow: inset 2px 2px 0 #fff, 3px 3px 0 rgba(0, 0, 0, .26);
}

.welcome-monitor-screen {
  height: 132px;
  position: relative;
  border: 2px solid #f5f5f5;
  background: #338984;
  box-shadow: inset -2px -2px 0 #777;
}

.welcome-arrow {
  position: absolute;
  left: 70px;
  top: 18px;
  width: 132px;
  height: 86px;
  border-left: 22px solid #a9f5f2;
  border-bottom: 22px solid #a9f5f2;
  transform: rotate(-28deg) skew(-12deg);
}

.welcome-arrow::after {
  content: "";
  position: absolute;
  left: -38px;
  bottom: -34px;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-right: 44px solid #a9f5f2;
}

.welcome-monitor-taskbar {
  height: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -1px;
  padding: 2px 4px;
  background: #d0d0d0;
  color: #101418;
  font-size: 9px;
}

.welcome-monitor::after {
  content: "";
  display: block;
  width: 154px;
  height: 28px;
  margin: 0 auto;
  border: solid #808080;
  border-width: 0 16px 7px;
  background: #c7c7c7;
}

.welcome-monitor-image {
  display: block;
  width: min(100%, 284px);
  height: auto;
  margin: 18px auto 0;
  image-rendering: pixelated;
}

.welcome-art-image {
  display: block;
  width: min(100%, 284px);
  height: auto;
  margin: 16px auto 0;
  border: 1px solid #101418;
  box-shadow: var(--button-shadow-raised-tight);
  image-rendering: auto;
}

.welcome-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.welcome-map span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #000;
  background: #ececec;
  box-shadow: var(--button-shadow-raised-tight);
  font-weight: 700;
}

.welcome-pager {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.welcome-pager button {
  min-width: 42px;
  min-height: 18px;
  padding: 2px;
  border: 1px solid #000;
  background: #fff;
  color: #101418;
  box-shadow: var(--button-shadow-raised-tight);
  font-family: var(--font);
  font-size: 11px;
  line-height: 1;
}

.welcome-pager button:disabled {
  color: #777;
  background: #d7d7d7;
  box-shadow: var(--button-shadow-disabled);
}

.welcome-pager button + button {
  border-left: 1px solid #000;
}

.welcome-pager button:not(:disabled):active {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.welcome-sidebar {
  display: grid;
  gap: 8px;
}

.welcome-sidebar > button {
  min-height: 27px;
  border: 1px solid #777;
  background: #d0d0d0;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 #808080;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

.welcome-sidebar > button:active {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.welcome-address {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 2px solid #f5f5f5;
  box-shadow: inset 0 1px 0 #9a9a9a;
}

.welcome-address-box {
  height: 92px;
  margin-bottom: 8px;
  border: 2px solid #8a8a8a;
  background: #c7c7c7;
}

.welcome-address p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.18;
}

.welcome-dismiss {
  position: absolute;
  left: 14px;
  bottom: 5px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.welcome-dismiss input {
  width: 14px;
  height: 14px;
  margin: 0;
  appearance: none;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #fff;
}

.welcome-dismiss input:checked {
  background: #000;
}

.root-drive-bar {
  height: 7px;
  display: block;
  padding: 1px;
  border: 1px solid #6f777c;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
}

.root-drive-bar span {
  width: var(--used);
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #0a5bd8, #38a6ff);
}

.root-drive-warning .root-drive-bar span {
  background: linear-gradient(90deg, #c81414, #f04c37);
}

.root-drive-row small {
  overflow: hidden;
  color: #4b5358;
  font-size: 9px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.root-icon-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  grid-auto-rows: minmax(72px, auto);
  align-content: start;
  gap: 6px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #9a9a9a;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
}

.root-icon {
  position: relative;
}

.root-icon-warning::after {
  content: "!";
  position: absolute;
  right: 16px;
  top: 25px;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  color: #000;
  background: #ffd21a;
  border: 1px solid #000;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.root-status {
  min-height: 19px;
  overflow: hidden;
  padding: 3px 6px;
  border-top: 1px solid #9a9a9a;
  color: #4b5358;
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-body {
  display: grid;
  grid-template-rows: minmax(126px, auto) auto;
  gap: 5px;
  min-height: 150px;
}

.project-icon-grid {
  position: relative;
  min-height: 126px;
  overflow: hidden;
}

.project-folder-status {
  min-height: 19px;
  overflow: hidden;
  padding: 3px 6px;
  border-top: 1px solid #9a9a9a;
  color: #4b5358;
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 78px;
  min-height: 70px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  padding: 3px;
  border: 1px dotted transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
  text-decoration: none;
  text-align: center;
  touch-action: none;
  user-select: none;
}

.project-icon:hover,
.project-icon:focus {
  border-color: #111;
  background: rgba(237, 243, 255, .2);
  outline: none;
}

.project-icon img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.project-icon span {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.project-icon.is-project-app {
  cursor: pointer;
}

.portfolio-window .window-footer-meta,
.portfolio-archive-window .window-footer-meta,
.portfolio-viewer-window .window-footer-meta {
  color: #4b5358;
  font-size: 9px;
  font-weight: 700;
}

.portfolio-window,
.portfolio-archive-window,
.portfolio-viewer-window {
  overflow: hidden;
}

.portfolio-casefile {
  min-height: 304px;
  height: 60vh;
  max-height: 60vh;
  display: grid;
  grid-template-columns: minmax(150px, 176px) minmax(0, 1fr);
  gap: 10px;
  padding: 8px 8px 30px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .72)),
    linear-gradient(135deg, #f4f6ff, #dde6ff 54%, #f5f7ff);
}

.portfolio-casefile::after,
.portfolio-archive-body::after,
.portfolio-viewer-body::after {
  content: none;
}

.portfolio-window::after,
.portfolio-archive-window::after,
.portfolio-viewer-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 18px;
  border-top: 1px solid #000;
  background: #fff;
  box-shadow: inset 0 1px 0 var(--window-mid);
  pointer-events: none;
}

.portfolio-casefile-hero-shell,
.portfolio-casefile-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
}

.portfolio-casefile-hero-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: var(--portfolio-hero-aspect, 16 / 9);
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid #000;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, 0)),
    var(--portfolio-screen);
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #bdc7e7,
    2px 2px 0 var(--portfolio-shadow);
  transition: aspect-ratio 260ms ease;
}

.portfolio-casefile-hero-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.portfolio-casefile-hero-frame[data-portfolio-zoom-ready="true"] {
  cursor: zoom-in;
}

.portfolio-casefile-gallery-dots {
  min-height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 2px;
}

.portfolio-casefile-gallery-dot {
  width: 6px;
  height: 6px;
  min-height: 0;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.portfolio-casefile-gallery-dot.is-active {
  background: #000;
}

.portfolio-casefile-hero-empty {
  padding: 16px 12px;
  color: var(--portfolio-muted);
  font-family: "Silkscreen", var(--font);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.portfolio-casefile-hint {
  padding: 5px 6px;
  border: 1px solid #8e9cbc;
  background: #fbfcff;
  box-shadow: inset 1px 1px 0 #fff;
  color: var(--portfolio-muted);
  font-size: 10px;
  line-height: 1.25;
}

.portfolio-casefile-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--portfolio-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.portfolio-casefile-copy h2 {
  margin: 0;
  color: var(--portfolio-ink);
  font-size: 18px;
  line-height: 1.05;
}

.portfolio-casefile-summary {
  margin: 0;
  color: var(--portfolio-ink);
  font-size: 12px;
  line-height: 1.45;
}

.portfolio-casefile-summary a {
  color: var(--portfolio-accent);
  text-decoration: underline;
  text-underline-offset: 1px;
}

.portfolio-casefile-summary a:hover,
.portfolio-casefile-summary a:focus-visible {
  color: #063e97;
}

.portfolio-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.portfolio-meta-cell,
.portfolio-list-block,
.portfolio-status,
.portfolio-viewer-footer span,
.portfolio-archive-status {
  border: 1px solid #8e9cbc;
  background: #fbfcff;
  box-shadow: inset 1px 1px 0 #fff;
}

.portfolio-meta-cell {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 5px 6px;
}

.portfolio-meta-cell span,
.portfolio-list-block > span {
  color: var(--portfolio-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.portfolio-meta-cell strong {
  min-width: 0;
  overflow: hidden;
  color: var(--portfolio-ink);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-list-block {
  display: grid;
  gap: 5px;
  padding: 5px 6px;
}

.portfolio-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.portfolio-chip {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 7px;
  border: 1px solid #7589bc;
  background: linear-gradient(180deg, #fdfdff, #dce5ff);
  color: var(--portfolio-ink);
  font-size: 10px;
  line-height: 1;
  box-shadow: inset 1px 1px 0 #fff;
}

.portfolio-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-action-row button,
.portfolio-action-row a,
.portfolio-archive-controls button,
.portfolio-viewer-toolbar button,
.portfolio-viewer-footer button,
.portfolio-archive-card button {
  min-height: var(--button-height-command);
  padding: var(--button-padding-command);
  border: 1px solid #000;
  background: #fff;
  box-shadow: var(--button-shadow-raised);
  color: inherit;
  font-family: var(--font);
  font-size: var(--button-font-size-command);
  line-height: 1;
  text-decoration: none;
}

.portfolio-action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 100%;
}

.portfolio-action-row button:hover,
.portfolio-action-row button:focus,
.portfolio-action-row a:hover,
.portfolio-action-row a:focus,
.portfolio-archive-controls button:hover,
.portfolio-archive-controls button:focus,
.portfolio-viewer-toolbar button:hover,
.portfolio-viewer-toolbar button:focus,
.portfolio-viewer-footer button:hover,
.portfolio-viewer-footer button:focus,
.portfolio-viewer-poster button:hover,
.portfolio-viewer-poster button:focus {
  color: #fff;
  background: var(--title);
  outline: none;
}

.portfolio-action-row button:disabled,
.portfolio-action-row a[aria-disabled="true"],
.portfolio-archive-controls button:disabled,
.portfolio-viewer-toolbar button:disabled,
.portfolio-viewer-footer button:disabled {
  color: #777;
  background: #d7d7d7;
  box-shadow: var(--button-shadow-disabled);
  pointer-events: none;
}

.portfolio-action-row button:active,
.portfolio-action-row a:active,
.portfolio-archive-controls button:active,
.portfolio-viewer-toolbar button:active,
.portfolio-viewer-footer button:active,
.portfolio-viewer-poster button:active {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.portfolio-status,
.portfolio-archive-status,
.portfolio-viewer-footer span {
  min-height: 22px;
  overflow: hidden;
  padding: 4px 6px;
  color: var(--portfolio-muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-archive-body {
  min-height: 264px;
  height: 42vh;
  max-height: 42vh;
  display: grid;
  grid-template-rows: auto minmax(168px, 1fr) auto;
  gap: 6px;
  padding: 8px 8px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .74)),
    linear-gradient(135deg, #eef5ff, #dbe6ff 55%, #f7fbff);
}

.portfolio-archive-toolbar,
.portfolio-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.portfolio-archive-headline {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.portfolio-archive-headline strong {
  color: var(--portfolio-ink);
  font-size: 13px;
  line-height: 1.1;
}

.portfolio-archive-headline span {
  color: var(--portfolio-muted);
  font-size: 10px;
  line-height: 1.1;
}

.portfolio-archive-controls {
  display: flex;
  gap: 4px;
}

.portfolio-archive-grid {
  min-height: 168px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 176px));
  gap: 7px;
  justify-content: start;
  align-content: start;
  overflow: auto;
  padding: 2px;
}

.portfolio-archive-card {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 4px;
  border: 1px solid #7f90b7;
  background: linear-gradient(180deg, #fcfdff, #dce5ff);
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #bcc8ea,
    2px 2px 0 var(--portfolio-shadow);
}

.portfolio-archive-card button {
  min-height: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.portfolio-archive-card button:hover,
.portfolio-archive-card button:focus-visible {
  outline: 1px dotted #111;
  outline-offset: 2px;
}

.portfolio-archive-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #000;
  background: var(--portfolio-screen);
  box-shadow: inset 1px 1px 0 #fff;
}

.portfolio-archive-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-archive-thumb-empty,
.portfolio-viewer-empty {
  display: grid;
  place-items: center;
  padding: 16px 12px;
  color: var(--portfolio-muted);
  font-family: "Silkscreen", var(--font);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.portfolio-archive-card strong,
.portfolio-archive-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portfolio-archive-card strong {
  color: var(--portfolio-ink);
  font-size: 11px;
  line-height: 1.2;
}

.portfolio-archive-card span {
  color: var(--portfolio-muted);
  font-size: 10px;
  line-height: 1.1;
}

.portfolio-viewer-body {
  min-height: 0;
  height: auto;
  max-height: calc(100vh - var(--taskbar-height) - var(--taskbar-safe-bottom) - 92px);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 7px;
  padding: 9px 12px 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .76)),
    linear-gradient(135deg, #f5f7ff, #dde6ff 52%, #fafdff);
}

.portfolio-viewer-count {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 34px);
  z-index: 2;
  min-width: 0;
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  transform: translateX(-50%);
}

.portfolio-viewer-stage {
  position: relative;
  width: 100%;
  min-height: 164px;
  max-height: min(380px, calc(100vh - var(--taskbar-height) - var(--taskbar-safe-bottom) - 270px));
  aspect-ratio: var(--portfolio-viewer-aspect, 16 / 9);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  border: 1px solid #000;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)),
    var(--portfolio-screen);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c2c9e4;
  transition: aspect-ratio 260ms ease, max-height 260ms ease;
}

.portfolio-viewer-dot {
  width: 6px;
  height: 6px;
  display: block;
  border: 1px solid #000;
  background: #f9f9f9;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .28);
}

.portfolio-viewer-dot.is-active {
  background: #2b2732;
}

.portfolio-viewer-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: var(--portfolio-viewer-nav-size) 1fr var(--portfolio-viewer-nav-size);
  align-items: center;
  gap: 8px;
}

.portfolio-viewer-toolbar button {
  inline-size: var(--portfolio-viewer-nav-size);
  width: var(--portfolio-viewer-nav-size);
}

.portfolio-viewer-toolbar button:first-child {
  justify-self: start;
}

.portfolio-viewer-toolbar button:last-child {
  justify-self: end;
}

.portfolio-viewer-stage > video,
.portfolio-viewer-stage iframe,
.portfolio-viewer-embed,
.portfolio-viewer-poster {
  max-width: 100%;
  max-height: 100%;
}

.portfolio-viewer-stage > video {
  display: block;
  object-fit: contain;
  box-shadow: 2px 2px 0 var(--portfolio-shadow);
}

.portfolio-viewer-image-button {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  justify-self: stretch;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
}

.portfolio-viewer-image-button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -3px;
}

.portfolio-viewer-image-button img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  box-shadow: 2px 2px 0 var(--portfolio-shadow);
}

.portfolio-viewer-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #000;
}

.portfolio-viewer-poster {
  width: min(100%, 432px);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.portfolio-viewer-poster-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #000;
  background: #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.portfolio-viewer-poster-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-viewer-poster button {
  min-width: 104px;
}

.portfolio-viewer-footer span {
  min-width: 0;
  min-height: 74px;
  flex: 1 1 100%;
  white-space: normal;
}

.portfolio-viewer-footer button {
  flex: 0 0 auto;
}

.portfolio-viewer-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.portfolio-viewer-footer span {
  grid-column: 1 / -1;
}

.portfolio-viewer-footer button {
  grid-column: 2;
  justify-self: end;
}

.portfolio-shadowbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  padding: 16px;
  background: transparent;
}

.portfolio-shadowbox[hidden] {
  display: none;
}

.portfolio-shadowbox-viewport {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  touch-action: none;
}

.portfolio-shadowbox-viewport img {
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 112px);
  display: block;
  object-fit: contain;
  transform: scale(var(--portfolio-shadowbox-zoom, 1)) rotate(var(--portfolio-shadowbox-rotation, 0deg));
  transform-origin: center center;
  transition: transform 160ms ease;
  border: 1px solid #000;
  background: #fff;
  box-shadow:
    1px 1px 0 #fff,
    10px 10px 0 rgba(0, 0, 0, .36);
}

.portfolio-shadowbox-close {
  min-height: 30px;
  border: 1px solid #000;
  border-radius: 0;
  color: #101418;
  background: #fff;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #6f6f6f,
    2px 2px 0 rgba(0, 0, 0, .32);
  font: inherit;
}

.portfolio-shadowbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.portfolio-shadowbox-close:active {
  transform: translate(1px, 1px);
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #6f6f6f;
}

.explorer-body {
  display: grid;
  grid-template-rows: auto minmax(154px, 1fr) auto;
  gap: 5px;
  min-height: 220px;
  max-height: calc(100vh - 112px);
  overflow: hidden;
}

.explorer-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px;
  align-items: center;
}

.explorer-toolbar button {
  position: relative;
  min-height: var(--button-height-command-compact);
  padding: var(--button-padding-command-compact);
  border: 1px solid #000;
  background: #fff;
  box-shadow: var(--button-shadow-raised-tight);
  font-family: var(--font);
  font-size: var(--button-font-size-command);
  line-height: 1;
}

.explorer-back-button {
  width: 32px;
  height: var(--button-height-command-compact);
  min-height: var(--button-height-command-compact);
  display: grid;
  place-items: center;
  padding: 0;
}

.explorer-back-button span {
  width: 18px;
  height: 18px;
  display: block;
  background: url("assets/back-arrow.svg") center / contain no-repeat;
}

.explorer-back-button span::before {
  content: none;
}

.explorer-back-button:disabled span {
  opacity: .42;
}

.explorer-toolbar button:disabled {
  color: #777;
  background: #d7d7d7;
  box-shadow: var(--button-shadow-disabled);
}

.explorer-toolbar button:not(:disabled):focus-visible {
  color: #fff;
  background: var(--title);
  outline: none;
}

@media (hover: hover) {
  .explorer-toolbar button:not(:disabled):hover {
    color: #fff;
    background: var(--title);
    outline: none;
  }
}

.explorer-path {
  min-width: 0;
  overflow: hidden;
  padding: 4px 6px;
  border: 1px solid #808080;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
  font-size: 11px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explorer-icon-grid {
  min-height: 154px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  grid-auto-rows: minmax(72px, auto);
  align-content: start;
  gap: 6px;
  overflow: auto;
  padding: 4px;
  border: 1px solid #9a9a9a;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
}

.explorer-icon {
  position: relative;
  min-width: 0;
  min-height: 70px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  padding: 4px 3px;
  border: 1px dotted transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
  text-align: center;
  text-decoration: none;
  touch-action: none;
  transform: translate(var(--move-x, 0), var(--move-y, 0));
  user-select: none;
}

.explorer-icon:hover,
.explorer-icon:focus {
  border-color: #111;
  background: rgba(237, 243, 255, .2);
  outline: none;
}

.explorer-icon.is-selected {
  border-color: #111;
  background: rgba(219, 232, 255, .2);
}

.explorer-icon.is-dragging {
  z-index: 3;
}

.explorer-icon:disabled,
.explorer-icon[aria-disabled="true"] {
  color: #777;
  opacity: .5;
}

.explorer-icon img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.explorer-icon span {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.explorer-status {
  min-height: 19px;
  overflow: hidden;
  padding: 3px 6px;
  border-top: 1px solid #9a9a9a;
  color: #4b5358;
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-menu img,
.tray img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  -webkit-user-drag: none;
}

.notepad {
  --notepad-line-height: 20px;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--paper-legal) 0,
      var(--paper-legal) 18px,
      var(--paper-rule-soft) 18px,
      var(--paper-rule) 19px,
      var(--paper-legal) 20px
    );
  background-color: var(--paper-legal);
  background-attachment: local;
  background-size: 100% var(--notepad-line-height);
  min-height: 150px;
  max-height: 250px;
  overflow: auto;
}

.notepad p {
  margin: 0 0 var(--notepad-line-height);
  font-size: 13px;
  line-height: var(--notepad-line-height);
}

.text-editor {
  min-height: 230px;
  display: grid;
  grid-template-rows: minmax(156px, 1fr) auto;
  gap: 6px;
  padding: 8px 8px 8px;
  background: #d0d0d0;
}

.text-editor textarea {
  width: 100%;
  min-width: 0;
  min-height: 156px;
  resize: none;
  padding: 5px 7px;
  border: 1px solid #000;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--paper-legal) 0,
      var(--paper-legal) 18px,
      var(--paper-rule-soft) 18px,
      var(--paper-rule) 19px,
      var(--paper-legal) 20px
    );
  background-color: var(--paper-legal);
  background-attachment: local;
  background-size: 100% 20px;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #fff;
  color: #101418;
  font: 13px/20px "Courier New", monospace;
}

.text-editor textarea:focus {
  outline: 1px dotted #101418;
  outline-offset: -4px;
}

.text-editor-footer {
  min-height: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-auto-rows: 22px;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.text-editor-footer span {
  min-width: 0;
  overflow: hidden;
  padding: 3px 5px;
  border: 1px solid #808080;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-editor-footer button {
  min-height: var(--button-height-command-compact);
  height: var(--button-height-command-compact);
  border: 1px solid #000000;
  border-radius: 0;
  padding: var(--button-padding-command-compact);
  background: #ffffff;
  color: #000000;
  font-family: var(--font);
  font-size: var(--button-font-size-command);
  line-height: 1;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--window-mid);
}

.sdk-paint {
  display: grid;
  gap: 4px;
  padding: 0 0 49px;
  background: #cfcfcf;
}

.sdk-paint::after {
  bottom: 0;
}

.paint-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 5px 2px;
  border-bottom: 1px solid #7f7f7f;
  background: #cfcfcf;
}

.paint-menu-group {
  position: relative;
  display: flex;
  align-items: center;
}

.paint-menu button {
  position: relative;
  display: block;
  padding: 1px 5px;
  border: 1px solid transparent;
  background: transparent;
  font-size: var(--button-font-size-compact);
  line-height: 1.1;
  touch-action: manipulation;
}

.paint-menu button:hover,
.paint-menu button:focus {
  border-color: #000;
  background: #fff;
  outline: none;
}

.paint-file-menu {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  z-index: 85;
  min-width: 72px;
  display: grid;
  padding: 2px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .28);
}

.paint-file-menu[hidden] {
  display: none;
}

.paint-file-menu button {
  width: 100%;
  padding: 2px 16px 2px 6px;
  text-align: left;
}

.paint-file-menu button:hover,
.paint-file-menu button:focus {
  color: #fff;
  background: var(--title);
}

.sdk-paint button[data-paint-tip]::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  z-index: 90;
  display: none;
  padding: 2px 5px;
  border: 1px solid #000;
  background: #ffffd7;
  color: #101418;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .28);
  content: attr(data-paint-tip);
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.sdk-paint button[data-paint-tip]:hover::after,
.sdk-paint button[data-paint-tip]:focus-visible::after {
  display: block;
}

.paint-workspace {
  min-height: 390px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 5px;
  padding: 4px 5px 0;
}

.paint-tools {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, 26px);
  gap: 2px;
}

.paint-tools button,
.paint-size-picker button,
.paint-palette button,
.paint-actions button {
  position: relative;
  border: 1px solid #000;
  background: #ececec;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid);
  touch-action: manipulation;
}

.paint-tools button {
  width: var(--button-size-tool);
  height: var(--button-size-tool);
  position: relative;
  padding: 0;
  overflow: visible;
}

.paint-tools button.is-active,
.paint-size-picker button.is-active {
  background: #fff;
  box-shadow: inset 1px 1px 0 var(--window-mid);
}

.paint-palette button.is-active {
  border-color: #000;
  background: var(--swatch);
  box-shadow: inset 0 0 0 2px #000, inset 0 0 0 3px #fff;
}

.paint-tool-icon,
.paint-tool-icon::before,
.paint-tool-icon::after {
  position: absolute;
  display: block;
  content: "";
  box-sizing: border-box;
}

.tool-brush {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 15px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, #0a4fba 0 28%, #75c6ff 36% 58%, #08328f 66% 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .75), inset 1px 0 0 rgba(255, 255, 255, .65);
  transform: translate(-50%, -55%) rotate(35deg);
}

.tool-brush::after {
  left: -3px;
  bottom: -4px;
  width: 12px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(135deg, #e44a35 0 35%, #ffc54a 36% 56%, #1fc26a 57% 100%);
  box-shadow: 0 0 0 1px #101418;
}

.tool-calligraphy {
  left: 50%;
  top: 50%;
  width: 7px;
  height: 15px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, #111 0 35%, #6d747a 45% 58%, #050505 70%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .72);
  transform: translate(-50%, -52%) rotate(27deg);
}

.tool-calligraphy::before {
  left: -4px;
  top: -2px;
  width: 15px;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(#74caff, #0756d8);
  box-shadow: 0 0 0 1px #052e78;
  transform: skewX(-30deg);
}

.tool-calligraphy::after {
  left: -3px;
  bottom: -5px;
  width: 12px;
  height: 5px;
  border-radius: 1px 1px 5px 5px;
  background: linear-gradient(135deg, #050505, #2b2f33 55%, #050505);
  transform: skewX(-25deg);
}

.tool-eraser {
  left: 50%;
  top: 50%;
  width: 15px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, #ffe16a 0 42%, #f2f4f0 43% 100%);
  box-shadow: 0 0 0 1px #6b5b12, inset 1px 1px 0 rgba(255, 255, 255, .72);
  transform: translate(-50%, -50%) rotate(-24deg);
}

.tool-select {
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px dashed #101418;
  background: rgba(255, 255, 255, .38);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .8);
  transform: translate(-50%, -50%);
}

.tool-fill {
  left: 50%;
  top: 50%;
  width: 13px;
  height: 11px;
  border: 1px solid #101418;
  border-radius: 2px;
  background: linear-gradient(135deg, #c9fff7 0 22%, #10aaa8 23% 100%);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .75);
  transform: translate(-50%, -50%) rotate(-25deg);
}

.tool-fill::after {
  right: -5px;
  bottom: -5px;
  width: 6px;
  height: 7px;
  border-radius: 50% 50% 55% 55%;
  background: linear-gradient(#74caff, #0756d8);
  box-shadow: 0 0 0 1px #052e78;
}

.tool-spray {
  left: 48%;
  top: 58%;
  width: 12px;
  height: 9px;
  border-radius: 2px 2px 4px 4px;
  background: linear-gradient(90deg, #5a2ab8, #b892ff 46%, #7a45d8 100%);
  box-shadow: 0 0 0 1px #321078, inset 1px 1px 0 rgba(255, 255, 255, .5);
  transform: translate(-50%, -50%);
}

.tool-spray::before {
  left: 3px;
  top: -6px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(#85d8ff, #0756d8);
  box-shadow: 0 0 0 1px #052e78;
}

.tool-spray::after {
  left: 11px;
  top: -7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #0756d8;
  box-shadow: 3px 3px 0 #10aaa8, 0 6px 0 #0756d8;
}

.tool-brush,
.tool-calligraphy,
.tool-eraser,
.tool-fill,
.tool-spray {
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
}

.tool-brush::before,
.tool-brush::after,
.tool-calligraphy::before,
.tool-calligraphy::after,
.tool-eraser::before,
.tool-eraser::after,
.tool-fill::before,
.tool-fill::after,
.tool-spray::before,
.tool-spray::after {
  display: none;
}

.tool-brush {
  background-image: url("assets/icons/png/paintbrush.png");
}

.tool-calligraphy {
  background-image: url("assets/icons/png/pen.png");
}

.tool-eraser {
  background-image: url("assets/icons/png/eraser.png");
}

.tool-fill {
  background-image: url("assets/icons/png/bucket.png");
}

.tool-spray {
  background-image: url("assets/icons/png/spraycan.png");
}

.tool-logo {
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  background: #101418;
  mask: url("assets/FutureA25.svg") center / contain no-repeat;
  -webkit-mask: url("assets/FutureA25.svg") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.tool-line {
  left: 50%;
  top: 50%;
  width: 16px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(#6f7780, #101418 48%, #050505);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 -1px 0 rgba(255, 255, 255, .55);
  transform: translate(-50%, -50%) rotate(45deg);
}

.tool-rect {
  left: 50%;
  top: 50%;
  width: 16px;
  height: 12px;
  border: 2px solid #0a5bd8;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(140, 196, 255, .7));
  box-shadow: 0 0 0 1px #052e78;
  transform: translate(-50%, -50%);
}

.tool-ellipse {
  left: 50%;
  top: 50%;
  width: 16px;
  height: 12px;
  border: 2px solid #0a5bd8;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 24%, #bde6ff 25% 100%);
  box-shadow: 0 0 0 1px #052e78;
  transform: translate(-50%, -50%);
}

.paint-size-picker {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 7px;
}

.paint-size-picker button {
  min-width: 0;
  min-height: 18px;
  padding: 0;
  font-size: var(--button-font-size-tool);
}

.paint-canvas-shell {
  min-width: 0;
  width: min(100%, 392px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  padding: 8px;
  background: #f7f7f7;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid);
}

.paint-canvas-frame {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.paint-canvas-frame canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  border: 1px solid #000;
  background: #fff;
  image-rendering: pixelated;
  touch-action: none;
  cursor: crosshair;
}

.paint-palette {
  display: grid;
  grid-template-columns: repeat(8, 18px);
  grid-auto-rows: var(--button-size-swatch);
  gap: 2px;
  align-items: center;
  justify-content: end;
  padding: 4px 5px 6px;
}

.paint-palette button {
  width: var(--button-size-swatch);
  height: var(--button-size-swatch);
  padding: 0;
  background: var(--swatch);
}

.paint-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
  min-height: 21px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 2px 5px 0;
  border-top: 1px solid #808080;
  background: #cfcfcf;
  font-size: 12px;
}

.paint-actions {
  display: flex;
  gap: 4px;
}

.paint-actions button {
  min-height: 18px;
  padding: 1px 8px;
  font-size: var(--button-font-size-compact);
}

.paint-save-dialog {
  display: grid;
  gap: 8px;
  padding: 8px 10px 30px;
}

.paint-save-field {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.paint-save-field input {
  width: 100%;
  min-height: 24px;
  padding: 3px 5px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #c7c7c7;
  font: inherit;
}

.paint-save-dialog p {
  margin: 0;
  overflow: hidden;
  padding: 3px 5px;
  border: 1px solid #808080;
  background: #fff;
  box-shadow: inset 1px 1px 0 #d8d8d8;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paint-help-window {
  z-index: 80;
}

.paint-help-dialog {
  display: grid;
  gap: 5px;
  padding: 8px 10px 10px;
  font-size: 11px;
  line-height: 1.25;
}

.paint-help-dialog p {
  margin: 0;
}

.dunnamp-player {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding-bottom: 24px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
}

.dunnamp-player > * {
  min-width: 0;
  max-width: 100%;
}

.visualizer {
  --visualizer-cols: 48;
  --visualizer-rows: 28;
  width: 100%;
  height: calc((var(--visualizer-rows) * 5px) + 11px);
  min-height: 118px;
  max-height: calc(100vh - 256px);
  display: grid;
  grid-template-columns: repeat(var(--visualizer-cols), 4px);
  grid-auto-rows: 4px;
  gap: 1px;
  align-content: end;
  justify-content: center;
  padding: 4px;
  border: 1px solid #000;
  background: #252932;
  box-shadow: inset 1px 1px 0 #5b6266, inset -1px -1px 0 #000;
  overflow: hidden;
}

.visualizer span {
  width: 4px;
  height: 4px;
  display: block;
  background: #252932;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .42);
  opacity: 1;
}

.visualizer span.is-on {
  background: #f7f7f2;
  box-shadow: inset 0 0 0 1px #cfd2ce;
}

.visualizer.is-booting span.is-logo-block {
  background: #f7f7f2;
  box-shadow: inset 0 0 0 1px #cfd2ce, 0 0 5px rgba(247, 247, 242, .22);
  opacity: 0;
  transform: scale(.15);
  animation: dunnamp-logo-block-in 520ms steps(4, end) var(--boot-delay, 0ms) forwards;
}

.visualizer.is-playing span.is-on {
  background: #ffffff;
}

.visualizer.is-idle span.is-idle-block {
  background: #f7f7f2;
  box-shadow: inset 0 0 0 1px #cfd2ce, 0 0 4px rgba(247, 247, 242, .18);
  opacity: .58;
  transition: opacity 1200ms ease-in-out, background-color 1200ms ease-in-out, box-shadow 1200ms ease-in-out;
}

.visualizer.is-idle span.is-idle-dim {
  opacity: 0;
  box-shadow: none;
}

.visualizer.is-idle span.is-idle-bright {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 9px rgba(105, 255, 247, .95);
  opacity: 1;
}

.visualizer.is-playing span.is-logo-clone {
  background: #69fff7;
  box-shadow: inset 0 0 0 1px #eaffff, 0 0 var(--visualizer-bass-glow, 6px) rgba(105, 255, 247, .56);
}

.visualizer.is-playing span.is-logo-hot {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 11px rgba(105, 255, 247, .88), 0 0 15px rgba(255, 255, 255, .54);
}

.visualizer.is-playing span.is-line-dot {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #d9f7ff, 0 0 5px rgba(255, 255, 255, .48);
}

.visualizer.is-playing span.is-line-hot {
  background: #eaffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 8px rgba(255, 255, 255, .66), 0 0 12px rgba(105, 255, 247, .42);
}

.visualizer.is-playing span.is-star-dot {
  background: #dffcff;
  box-shadow: 0 0 6px rgba(105, 255, 247, .74);
  opacity: .72;
}

.visualizer.is-playing span.is-star-bright {
  background: #ffffff;
  box-shadow: 0 0 9px rgba(255, 255, 255, .9), 0 0 13px rgba(105, 255, 247, .58);
  opacity: 1;
}

.visualizer.is-playing span.is-hit-dot {
  background: #ffec6e;
  box-shadow: inset 0 0 0 1px #fff8be, 0 0 9px rgba(255, 236, 110, .72);
}

.visualizer.is-playing span.is-hit-bright {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 11px rgba(255, 236, 110, .86), 0 0 15px rgba(105, 255, 247, .44);
}

.visualizer.is-playing span.is-hit-trail {
  background: #9cff7e;
  box-shadow: 0 0 7px rgba(156, 255, 126, .62);
  opacity: .78;
}

.visualizer.is-playing span.is-hit-arrow-head {
  background: #b7ff6f;
  box-shadow: inset 0 0 0 1px #efffd6, 0 0 9px rgba(183, 255, 111, .7);
}

.visualizer.is-playing span.is-ship-pixel {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 8px rgba(255, 255, 255, .82);
}

.visualizer.is-playing span.is-ship-core {
  background: #f7f7f2;
  box-shadow: inset 0 0 0 1px #cfd2ce, 0 0 7px rgba(255, 255, 255, .68);
}

.visualizer.is-playing span.is-ship-wing {
  background: #dffcff;
}

.visualizer.is-playing span.is-ship-bullet {
  background: #ff2f2f;
  box-shadow: inset 0 0 0 1px #ffb1b1, 0 0 8px rgba(255, 47, 47, .78);
}

.visualizer.is-playing span.is-ship-impact {
  background: #ff9b9b;
  box-shadow: inset 0 0 0 1px #ffffff, 0 0 11px rgba(255, 47, 47, .9);
}

.visualizer.is-playing.has-reactive-beat {
  background: #202832;
  box-shadow: inset 1px 1px 0 #6b7378, inset -1px -1px 0 #000, 0 0 0 1px rgba(105, 255, 247, .16);
}

@keyframes dunnamp-logo-block-in {
  0% {
    opacity: 0;
    transform: scale(.15);
  }

  38% {
    opacity: 1;
    transform: scale(1.25);
    background: #69fff7;
  }

  62% {
    opacity: 1;
    transform: scale(.82);
    background: #ffffff;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    background: #f7f7f2;
  }
}

.player-screen {
  min-width: 0;
  overflow: hidden;
  padding: 4px 7px 5px;
  border: 1px solid #000;
  background: #dcebf4;
  color: #5e6870;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #8c9ba4;
  user-select: none;
}

.player-screen.is-playing .play-mark {
  width: 12px;
  height: 14px;
  border: 0;
  background:
    linear-gradient(90deg, #5e6870 0 4px, transparent 4px 8px, #5e6870 8px 12px);
}

.player-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.player-status {
  padding-bottom: 4px;
  border-bottom: 1px solid #87929a;
  font-size: 13px;
  font-weight: 700;
}

.play-mark {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  flex: 0 0 12px;
  margin: 0;
  padding: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #5e6870;
  border-right: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.play-mark:focus-visible {
  outline: 1px dotted #5e6870;
  outline-offset: 3px;
}

.battery-mark {
  position: relative;
  width: 34px;
  height: 15px;
  flex: 0 0 34px;
  border: 1px solid #5e6870;
  box-shadow: inset -6px 0 0 rgba(94, 104, 112, .18);
  --battery-level: 20px;
}

.battery-mark::before {
  content: "";
  position: absolute;
  right: -4px;
  top: 4px;
  width: 3px;
  height: 5px;
  background: #5e6870;
}

.battery-mark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: min(26px, max(2px, var(--battery-level, 20px)));
  height: 7px;
  background: #5e6870;
  transition: width 220ms steps(5, end);
}

.battery-mark.is-charging::after {
  animation: battery-charge-pulse 1.4s steps(2, end) infinite;
}

.battery-mark.is-charging .battery-bolt {
  position: absolute;
  left: 13px;
  top: 1px;
  z-index: 1;
  width: 7px;
  height: 11px;
  background: #dcebf4;
  clip-path: polygon(48% 0, 100% 0, 62% 43%, 100% 43%, 28% 100%, 48% 55%, 8% 55%);
  pointer-events: none;
}

.battery-mark.is-battery-unavailable::after {
  width: 20px;
  opacity: .72;
}

@keyframes battery-charge-pulse {
  0%,
  100% {
    opacity: .7;
  }

  50% {
    opacity: 1;
  }
}

.track-meta {
  min-width: 0;
  display: block;
  padding: 5px 0 3px;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}

.track-marquee {
  min-width: 0;
  overflow: hidden;
}

.track-marquee-track {
  display: inline-flex;
  min-width: max-content;
  animation: track-marquee 14s linear infinite;
}

.track-marquee-track span {
  flex: 0 0 auto;
  padding-right: 32px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.1;
}

.track-marquee strong {
  font-size: 14px;
  line-height: 1.05;
}

@keyframes track-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.player-controls {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.player-controls button {
  position: relative;
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  min-height: 24px;
  padding: 2px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid), 2px 2px 0 rgba(0, 0, 0, .16);
  font-weight: 700;
}

.player-controls button img {
  width: 50%;
  height: 9px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
}

.player-control-play .player-pause-icon,
.player-control-play.is-paused .player-play-icon {
  display: none;
}

.player-control-play.is-paused .player-pause-icon {
  display: block;
}

.player-controls button:active {
  box-shadow: inset 1px 1px 0 var(--window-mid);
  transform: translate(1px, 1px);
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--taskbar-safe-bottom);
  z-index: 50;
  height: var(--taskbar-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border-top: 1px solid #fff;
  background: #d0d0d0;
}

.taskbar::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--taskbar-safe-bottom);
  background: #d0d0d0;
  pointer-events: none;
}

.start-button {
  height: var(--button-height-taskbar);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--button-padding-taskbar-start);
  font-weight: 900;
}

.start-button img {
  width: 22px;
  height: 22px;
  -webkit-user-drag: none;
}

.task-buttons {
  min-width: 0;
  display: flex;
  gap: 4px;
  overflow: hidden;
}

.task-buttons button {
  max-width: 180px;
  height: var(--button-height-taskbar);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--button-padding-taskbar-item);
  overflow: hidden;
  text-align: left;
  font-size: var(--button-font-size-command);
  line-height: 1;
}

.task-buttons img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.task-buttons span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-window {
  z-index: 24;
}

.dunn-monitor-window {
  z-index: 23;
}

.dunn-monitor-window,
.dunn-monitor-window * {
  font-weight: 400;
}

.dunn-monitor-window .window-footer-meta {
  right: 8px;
  bottom: 2px;
  font-size: 10px;
  font-weight: 700;
}

.dunn-monitor-window-body {
  min-height: 244px;
  max-height: calc(100vh - 98px);
  overflow: auto;
  padding: 5px 5px 18px;
}

.dunn-monitor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, 140px);
  gap: 5px;
  align-items: start;
}

.dunn-monitor-panel {
  min-width: 0;
  padding: 4px;
  border: 1px solid #9aa0a3;
  background: #f3f4f1;
  box-shadow: inset 1px 1px 0 #fff;
}

.dunn-monitor-panel-metrics,
.dunn-monitor-panel-processes {
  display: grid;
  gap: 3px;
}

.dunn-monitor-panel-processes {
  grid-column: 1 / -1;
}

.dunn-monitor-panel-scope {
  display: grid;
  gap: 4px;
}

.dunn-monitor-metric {
  display: grid;
  gap: 2px;
}

.dunn-monitor-metric-head,
.dunn-monitor-process-row,
.dunn-monitor-status-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.dunn-monitor-metric-label,
.dunn-monitor-process-label,
.dunn-monitor-status-note {
  min-width: 0;
  overflow: hidden;
  color: #3d454a;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dunn-monitor-metric-value,
.dunn-monitor-process-value,
.dunn-monitor-status-chip {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
}

.dunn-monitor-meter {
  height: 7px;
  padding: 1px;
  border: 1px solid #6d7478;
  background: #f9faf7;
  box-shadow: inset 1px 1px 0 #d8dad5;
}

.dunn-monitor-meter span {
  width: 14%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #1d63d8, #6ac5ff);
  transition: width .16s linear;
}

.dunn-monitor-meter-audio span {
  background: linear-gradient(90deg, #88939a, #d8dce0);
}

.dunn-monitor-screen-shell {
  padding: 2px;
  border: 1px solid #000;
  background: #c3c7cb;
  box-shadow: inset 1px 1px 0 #fff;
}

.dunn-monitor-screen {
  width: 100%;
  height: 112px;
  display: block;
  border: 1px solid #111;
  background: linear-gradient(180deg, #081d4b, #071126 65%, #03060f);
  box-shadow: inset 0 0 0 1px rgba(151, 211, 255, .12);
}

.dunn-monitor-status-chip {
  max-width: 100%;
  overflow: hidden;
  padding: 3px 5px;
  border: 1px solid #616a70;
  background: #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c2c6c8;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dunn-monitor-status-chip[data-state="live"] {
  color: #0b4e9b;
}

.dunn-monitor-status-chip[data-state="surge"] {
  color: #8d4300;
  background: #fff1d7;
}

.dunn-monitor-status-chip[data-state="warning"] {
  color: #7a180f;
  background: #ffd8ca;
}

.dunn-monitor-process-row {
  padding: 1px 2px;
  border: 1px dotted transparent;
}

.dunn-monitor-process-value {
  color: #0b3d6d;
}

.dunn-monitor-process-row.is-hot {
  border-color: #111;
  background: rgba(9, 86, 192, .08);
}

.dunn-monitor-process-row.is-hot .dunn-monitor-process-value {
  color: #9d3200;
}

.dunn-maze-window .window-footer-meta {
  right: 8px;
  bottom: 2px;
  font-size: 10px;
  font-weight: 700;
}

.dunn-starfield-window .window-footer-meta {
  right: 8px;
  bottom: 2px;
  font-size: 10px;
  font-weight: 700;
}

.dunn-maze-body {
  display: grid;
  gap: 5px;
  min-height: 324px;
  max-height: calc(100vh - 96px);
  padding: 5px 5px 18px;
  overflow: hidden;
  background: #c3c7cb;
}

.dunn-starfield-body {
  display: grid;
  gap: 5px;
  min-height: 324px;
  max-height: calc(100vh - 96px);
  padding: 5px 5px 18px;
  overflow: hidden;
  background: #c3c7cb;
}

.dunn-maze-stage {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid #000;
  background: #c8b76f;
  box-shadow:
    inset 1px 1px 0 #7f7f7f,
    inset -1px -1px 0 #fff;
  overflow: hidden;
}

.dunn-starfield-stage {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid #000;
  background: #000;
  box-shadow:
    inset 1px 1px 0 #7f7f7f,
    inset -1px -1px 0 #fff;
  overflow: hidden;
}

.dunn-maze-stage canvas,
.dunn-maze-wallpaper-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  background: #c8b76f;
}

.dunn-starfield-container,
.dunn-starfield-wallpaper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  overflow: hidden;
  background: #000;
}

.dunn-starfield-stage .dunn-starfield-container,
.dunn-starfield-stage.dunn-starfield-container {
  min-height: 100%;
}

.dunn-starfield-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  background: #000;
}

.dunn-maze-status {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 2px 4px;
  border: 1px solid #858b8f;
  background: #eef0ed;
  box-shadow: inset 1px 1px 0 #fff;
  color: #30363a;
  font-size: 10px;
  line-height: 1.1;
}

.dunn-starfield-status {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 2px 4px;
  border: 1px solid #858b8f;
  background: #eef0ed;
  box-shadow: inset 1px 1px 0 #fff;
  color: #30363a;
  font-size: 10px;
  line-height: 1.1;
}

.dunn-maze-status span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dunn-starfield-status span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-wallpaper-scene--maze {
  background: #c8b76f;
}

.desktop-wallpaper-scene--maze::before {
  display: none;
}

.desktop-wallpaper-scene--starfield {
  background: #000;
}

.desktop-wallpaper-scene--starfield::before {
  display: none;
}

@media (max-width: 640px) {
  .dunn-monitor-layout {
    grid-template-columns: 1fr;
  }

  .dunn-monitor-screen {
    height: 96px;
  }

  .dunn-maze-body {
    min-height: 248px;
  }

  .dunn-starfield-body {
    min-height: 248px;
  }
}

.trash-dialog {
  display: grid;
  gap: 8px;
}

.trash-list {
  min-height: 96px;
  display: grid;
  gap: 5px;
  padding: 5px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid);
}

.trash-list-item {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 5px;
  border: 1px dotted transparent;
}

.trash-list-item img {
  width: 28px;
  height: 28px;
  -webkit-user-drag: none;
}

.trash-confirm-dialog {
  display: grid;
  gap: 8px;
}

.shutdown-confirm-dialog,
.wallpaper-confirm-dialog {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding: 8px 10px 28px;
}

.trash-confirm-dialog p {
  margin: 0;
  text-align: center;
}

.shutdown-confirm-dialog p,
.wallpaper-confirm-dialog p {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.shutdown-confirm-dialog .dialog-actions,
.wallpaper-confirm-dialog .dialog-actions {
  justify-content: center;
}

.dialog-actions button {
  min-width: 78px;
  min-height: var(--button-height-command);
  padding: var(--button-padding-command);
  border: 1px solid #000;
  background: #fff;
  box-shadow: var(--button-shadow-raised);
  font-size: var(--button-font-size-command);
  line-height: 1;
  font-weight: 700;
}

.trash-dialog .dialog-actions button,
.trash-confirm-dialog .dialog-actions button,
.shutdown-confirm-dialog .dialog-actions button,
.wallpaper-confirm-dialog .dialog-actions button {
  padding: var(--button-padding-dialog);
  font-weight: 400;
}

.explorer-icon img.is-thumbnail-icon {
  border: 1px solid #101418;
  background: #fff;
  image-rendering: auto;
  object-fit: cover;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .22);
}

.dialog-actions button:hover,
.dialog-actions button:focus {
  color: #fff;
  background: var(--title);
  outline: none;
}

.dialog-actions button:active {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.solitaire-victory-clone {
  position: fixed !important;
  z-index: 999998 !important;
  display: block !important;
  box-sizing: border-box;
  margin: 0 !important;
  pointer-events: none !important;
  user-select: none;
  transform: none !important;
  animation: none !important;
}

.solitaire-victory-clone * {
  pointer-events: none !important;
}

.calculator {
  display: grid;
  gap: 5px;
  padding: 6px 7px 20px;
  font-family: "Silkscreen", var(--font);
}

.calculator-window .titlebar {
  font-family: var(--font);
  font-size: 11px;
}

.calculator .window-footer-meta {
  font-family: var(--font);
}

.calculator-window.is-calculator-easter-egg {
  z-index: 95 !important;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: calculator-easter-egg 6.4s linear forwards;
}
.calculator-echo {
  pointer-events: none;
  opacity: 1;
  transform-origin: 50% 100%;
  animation: calculator-echo-drop 4.4s linear var(--echo-delay, 0ms) both;
  filter: contrast(1.08) saturate(1.05);
}

.calculator-echo,
.calculator-echo .window-body,
.calculator-echo .calculator-display,
.calculator-echo .calculator-keys button {
  background: #fff !important;
}

@keyframes calculator-easter-egg {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(0, 0) rotate(-8deg);
  }

  24% {
    transform: translate(0, 0) rotate(204deg);
  }

  34% {
    transform: translate(0, 0) rotate(170deg);
  }

  42% {
    transform: translate(0, 0) rotate(180deg);
  }

  58% {
    transform: translate(0, var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  66% {
    transform: translate(var(--calc-exit-x-1, 140px), calc(var(--calc-bounce-y, 360px) - var(--calc-hop-y, 72px))) rotate(180deg);
  }

  74% {
    transform: translate(var(--calc-exit-x-2, 280px), var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  82% {
    transform: translate(var(--calc-exit-x-3, 420px), calc(var(--calc-bounce-y, 360px) - var(--calc-hop-y-small, 40px))) rotate(180deg);
  }

  90% {
    transform: translate(var(--calc-exit-x-4, 560px), var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  100% {
    transform: translate(var(--calc-exit-x, 720px), var(--calc-bounce-y, 360px)) rotate(180deg);
  }
}

@keyframes calculator-echo-drop {
  0% {
    transform: translate(0, 0) rotate(180deg);
  }

  32% {
    transform: translate(0, var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  48% {
    transform: translate(var(--calc-exit-x-1, 140px), calc(var(--calc-bounce-y, 360px) - var(--calc-hop-y, 72px) - var(--echo-lift, 0px))) rotate(180deg);
  }

  64% {
    transform: translate(var(--calc-exit-x-2, 280px), var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  78% {
    transform: translate(var(--calc-exit-x-3, 420px), calc(var(--calc-bounce-y, 360px) - var(--calc-hop-y-small, 40px) - var(--echo-lift-small, 0px))) rotate(180deg);
  }

  90% {
    transform: translate(var(--calc-exit-x-4, 560px), var(--calc-bounce-y, 360px)) rotate(180deg);
  }

  100% {
    transform: translate(calc(var(--calc-exit-x, 720px) + var(--echo-x, 0px)), var(--calc-bounce-y, 360px)) rotate(180deg);
  }
}

.calculator-display {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3px 6px;
  border: 1px solid #000;
  background: #f7f7f2;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid), 1px 1px 0 rgba(0, 0, 0, .22);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-align: right;
}

.calculator-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.calculator-keys button {
  min-height: var(--button-height-command);
  padding: 1px 2px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid), 1px 1px 0 rgba(0, 0, 0, .28);
  font-family: "Silkscreen", var(--font);
  font-size: 10px;
  font-weight: 700;
  touch-action: manipulation;
}

.calculator-keys button:hover,
.calculator-keys button:focus {
  color: #fff;
  background: var(--title);
  outline: none;
}

.calculator-keys button:active {
  box-shadow: var(--button-shadow-pressed);
  transform: translate(1px, 1px);
}

.calculator-zero {
  grid-column: span 2;
}

.terminal-body {
  min-height: 236px;
  padding: 6px 6px 22px;
  background: #050805;
}

.terminal-body::after {
  background: #000;
  box-shadow: none;
}

.terminal-screen {
  position: relative;
  min-height: 208px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 8px;
  border: 1px solid #0f5f18;
  background: #000;
  color: #39ff14;
  font-family: "Courier New", "Lucida Console", monospace;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 0 4px rgba(57, 255, 20, .46);
  touch-action: manipulation;
}

.terminal-screen:focus {
  outline: 1px dotted #39ff14;
  outline-offset: -3px;
}

.terminal-output p {
  margin: 0;
  line-height: inherit;
}

.terminal-error {
  color: #9dff78;
}

.terminal-prompt-line {
  display: flex;
  align-items: baseline;
  min-height: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.terminal-prompt {
  flex: 0 0 auto;
}

.terminal-cursor {
  width: 7px;
  height: 14px;
  display: inline-block;
  margin-left: 1px;
  background: #39ff14;
  animation: terminal-cursor-blink 1s steps(2, end) infinite;
  vertical-align: -2px;
}

.terminal-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: .01;
  color: transparent;
  background: transparent;
  caret-color: transparent;
  resize: none;
  pointer-events: none;
}

.terminal-body .window-footer-meta {
  background: #000;
  color: #39ff14;
  text-shadow: 0 0 3px rgba(57, 255, 20, .5);
}

@keyframes terminal-cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.andunny-directory-popup {
  width: max-content;
  min-width: 190px;
  max-width: min(380px, calc(100vw - 24px));
  padding: 6px 7px 16px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.25;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  overflow: visible;
  overflow-wrap: anywhere;
}

.andunny-directory-title {
  margin: -6px -7px 5px;
  padding: 2px 4px 2px 8px;
  min-height: 24px;
  background: linear-gradient(90deg, var(--title-dark), var(--title), var(--title-bright));
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(0, 0, 0, .3);
}

.andunny-directory-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.andunny-directory-actions button {
  flex: 1;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 3px 4px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.andunny-directory-actions button:hover,
.andunny-directory-actions button:focus {
  background: #000000;
  color: #ffffff;
}

.andunny-directory-actions button:focus-visible {
  outline: 1px solid #39ff14;
  outline-offset: 2px;
}

.andunny-contact-dialog {
  max-height: min(548px, calc(100vh - 148px));
  padding: 8px 10px 24px;
  overflow: auto;
}

.andunny-contact-hero {
  display: grid;
  place-items: stretch;
  height: 156px;
  margin: 0 0 5px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.andunny-contact-hero img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.andunny-contact-form {
  display: grid;
  gap: 2px;
  padding-bottom: 4px;
}

.andunny-contact-field {
  display: grid;
  gap: 1px;
}

.andunny-contact-field span {
  font-size: 10px;
}

.andunny-contact-field input,
.andunny-contact-field select,
.andunny-contact-field textarea {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  min-height: 20px;
  padding: 1px 4px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.05;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}

.andunny-contact-field textarea {
  resize: vertical;
  min-height: 40px;
  touch-action: pan-y;
}

.andunny-contact-field[hidden] {
  display: none;
}

.andunny-contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.andunny-contact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.andunny-contact-socials {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-right: auto;
}

.andunny-contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent !important;
  color: #000000 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.andunny-contact-social-icon {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 80ms ease-out;
}

.andunny-contact-social-icon-youtube {
  fill: #ff0000;
}

.andunny-contact-social-icon-instagram {
  fill: url("#andunny-contact-instagram-gradient");
}

.andunny-contact-social-link:hover,
.andunny-contact-social-link:active,
.andunny-contact-social-link:focus {
  background: transparent !important;
}

.andunny-contact-social-link:hover .andunny-contact-social-icon,
.andunny-contact-social-link:active .andunny-contact-social-icon,
.andunny-contact-social-link:focus .andunny-contact-social-icon {
  transform: translateY(-1px);
}

.andunny-contact-actions .andunny-contact-submit {
  flex: 0 0 auto;
  min-height: var(--button-height-command) !important;
  padding: var(--button-padding-command) !important;
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.andunny-contact-actions .andunny-contact-submit:hover,
.andunny-contact-actions .andunny-contact-submit:active,
.andunny-contact-actions .andunny-contact-submit:focus {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.andunny-contact-actions button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.andunny-contact-status {
  min-height: 12px;
  font-size: 12px;
  color: #555555;
}

.contact-window > .window-footer-meta,
.andunny-contact-dialog .window-footer-meta {
  color: #4b5358;
  font-size: 9px;
  font-weight: 700;
}

.andunny-contact-status[data-type="success"] {
  color: #1e5bff;
}

.andunny-contact-status[data-type="error"] {
  color: #c9462d;
}

.tray {
  height: 32px;
  min-width: 104px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--window-mid);
}

.tray img {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
  -webkit-user-drag: none;
}

.tray-volume,
.tray-weather {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 2px;
  border: 1px solid transparent;
  background: transparent;
}

.tray-volume img {
  width: 11px;
  height: 11px;
}

.tray-volume:hover,
.tray-volume:focus,
.tray-weather:hover,
.tray-weather:focus {
  border-color: #8b9499 #fff #fff #8b9499;
  outline: none;
}

.weather-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.weather-temp {
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: 1;
  min-width: 10px;
  padding: 0 1px;
  color: #101418;
  background: transparent;
  font-family: "Silkscreen", var(--font);
  font-size: 9px;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  pointer-events: none;
}

.weather-temp[hidden] {
  display: none;
}

.start-menu {
  position: fixed;
  left: 4px;
  bottom: calc(var(--taskbar-height) + var(--taskbar-safe-bottom));
  z-index: 1000001;
  display: none;
  grid-template-columns: 34px 174px;
  align-items: stretch;
  border: 1px solid #000;
  background: #fff;
  box-shadow: none;
  font-size: 12px;
}

.start-menu.is-open {
  display: grid;
}

.context-menu {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 90;
  display: none;
  min-width: 176px;
  padding: 3px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .28);
}

.context-menu.is-open {
  display: block;
}

.context-menu-panel {
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-menu-divider {
  height: 1px;
  margin: 3px 2px;
  background: #9a9a9a;
}

.context-menu-row {
  width: 100%;
  min-height: 24px;
  display: grid;
  align-items: center;
  padding: 2px 22px 2px 8px;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  color: #111;
  background: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  line-height: 1.1;
  text-align: left;
}

.context-menu-row:hover,
.context-menu-row:focus {
  color: #fff;
  background: var(--title);
  outline: none;
}

.context-menu-row:disabled {
  color: #777;
  background: #d7d7d7;
}

.context-menu-row:disabled:hover,
.context-menu-row:disabled:focus {
  color: #777;
  background: #d7d7d7;
}

.start-menu-rail {
  display: grid;
  align-items: end;
  justify-items: start;
  padding: 6px 2px 8px;
  border-right: 1px solid #9a9a9a;
  background: #efefef;
  color: #c8cccf;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #80888e;
  text-orientation: mixed;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.start-menu-panel {
  min-width: 0;
  width: 174px;
  margin: 0;
  padding: 3px;
  border: 0;
  background: #fff;
  list-style: none;
}

.start-menu-submenu {
  position: absolute;
  left: calc(100% - 1px);
  top: -5px;
  z-index: 1000002;
  display: none;
  border: 1px solid #000;
}

.start-menu-node {
  position: relative;
}

.start-menu-divider {
  height: 1px;
  margin: 3px 2px;
  background: #9a9a9a;
}

.start-menu-row {
  width: 100%;
  min-height: 26px;
  display: grid;
  grid-template-columns: 22px minmax(82px, 1fr) auto;
  align-items: center;
  gap: 5px;
  padding: 1px 5px;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  color: #111;
  background: #fff;
  box-shadow: none;
  font: inherit;
  line-height: 1.1;
  text-align: left;
}

.start-menu-row.is-trashed {
  display: none;
}

.start-menu-row img {
  width: 19px;
  height: 19px;
  image-rendering: pixelated;
}

.start-menu-arrow {
  width: 0;
  height: 0;
  justify-self: end;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #101418;
}

.start-menu-node.is-open > .start-menu-row .start-menu-arrow,
.start-menu-row:hover .start-menu-arrow,
.start-menu-row:focus .start-menu-arrow {
  border-left-color: #101418;
}

.start-menu-node.is-open > .start-menu-row,
.start-menu-row:hover,
.start-menu-row:focus {
  color: #fff;
  background: var(--title);
  outline: none;
}

.start-menu-node.is-open > .start-menu-submenu {
  display: block;
}

@media (max-width: 720px) {
  .boot-loader-media {
    background-image: url("assets/dunnos-bg.gif");
  }

  .boot-loader-copy {
    right: 0;
    bottom: 0;
    padding: 20px;
  }

  .boot-loader-copy strong {
    font-size: 24px;
  }

  body {
    overflow: hidden;
  }

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

  .boot-badge {
    top: auto;
    right: 14px;
    bottom: 54px;
  }

  .desktop-icon {
    width: 76px;
  }

  .window {
    left: min(var(--mobile-left, 9px), calc(100vw - min(var(--mobile-width, 290px), calc(100vw - 16px)) - 8px));
    top: var(--mobile-top, 86px);
    width: min(var(--mobile-width, 290px), calc(100vw - 16px));
  }

  .titlebar {
    min-height: 28px;
  }

  .window-actions button {
    width: 24px;
    height: 24px;
  }

  .window-actions [data-minimize]::before {
    transform: translate(-50%, 4px);
  }

  .window-actions [data-close]::before,
  .window-actions [data-close]::after {
    width: 12px;
  }

  #about-window {
    --mobile-left: 86px;
    --mobile-top: 58px;
    --mobile-width: 268px;
  }

  #welcome-window {
    --mobile-left: 112px;
    --mobile-top: 164px;
    --mobile-width: 268px;
  }

  #explorer-window {
    --mobile-left: 10px;
    --mobile-top: 174px;
    --mobile-width: 344px;
  }

  #notes-window {
    --mobile-left: 24px;
    --mobile-top: 226px;
    --mobile-width: 286px;
  }

  #paint-window {
    --mobile-left: 8px;
    --mobile-top: 62px;
    --mobile-width: 354px;
  }

  #paint-save-window,
  #text-save-window {
    --mobile-left: 38px;
    --mobile-top: 148px;
    --mobile-width: 286px;
  }

  #paint-help-window {
    --mobile-left: 58px;
    --mobile-top: 138px;
    --mobile-width: 246px;
  }

  #music-window {
    --mobile-left: 12px;
    --mobile-top: 92px;
    --mobile-width: 330px;
  }

  #trash-window {
    --mobile-left: 46px;
    --mobile-top: 178px;
    --mobile-width: 286px;
  }

  #trash-confirm-window {
    --mobile-left: 76px;
    --mobile-top: 226px;
    --mobile-width: 220px;
  }

  #shutdown-confirm-window {
    --mobile-left: 54px;
    --mobile-top: 214px;
    --mobile-width: 256px;
  }

  #calculator-window {
    --mobile-left: 102px;
    --mobile-top: 120px;
    --mobile-width: 218px;
  }
  #terminal-window {
    --mobile-left: 10px;
    --mobile-top: 102px;
    --mobile-width: 344px;
  }

  #contact-window {
    --mobile-left: 28px;
    --mobile-top: 58px;
    --mobile-width: 304px;
  }

  .window-body {
    padding: 7px 9px 10px;
    max-height: calc(100vh - 128px);
    overflow: hidden;
  }

  .notepad p {
    font-size: 12px;
    line-height: 18px;
  }

  h1 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .root-window {
    min-height: 292px;
  }

  .root-header h1 {
    font-size: 15px;
  }

  .root-drive-row {
    grid-template-columns: 24px 1fr;
    gap: 4px;
    padding: 2px 3px;
  }

  .root-drive-row img {
    width: 22px;
    height: 22px;
  }

  .welcome-body {
    min-height: 390px;
    padding: 7px 7px 30px;
  }

  .welcome-body h1 {
    font-size: 20px;
  }

  .welcome-body h1 span {
    font-size: 30px;
  }

  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .welcome-card {
    min-height: 216px;
    padding: 8px 8px 42px;
  }

  .welcome-tip {
    grid-template-columns: 30px 1fr;
    gap: 7px;
  }

  .welcome-tip img {
    width: 28px;
    height: 28px;
  }

  .welcome-tip strong {
    margin: 1px 0 6px;
    font-size: 13px;
  }

  .welcome-tip p {
    font-size: 12px;
  }

  .welcome-monitor-image {
    width: min(100%, 150px);
    margin-top: 9px;
  }

  .welcome-art-image {
    width: min(100%, 158px);
    margin-top: 9px;
  }

  .welcome-map {
    margin-top: 12px;
    gap: 5px;
  }

  .welcome-map span {
    min-height: 30px;
    font-size: 11px;
  }

  .welcome-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welcome-sidebar > button {
    min-height: 24px;
    font-size: 12px;
  }

  .welcome-address {
    display: none;
  }

  .welcome-dismiss {
    font-size: 13px;
  }

  .root-icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
    grid-auto-rows: minmax(66px, auto);
    min-height: 112px;
    gap: 4px;
  }

  .projects-body {
    min-height: 176px;
  }

  .project-icon-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    align-content: start;
  }

  .project-icon {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 64px;
  }

  .project-icon img {
    width: 30px;
    height: 30px;
  }

  .project-icon span {
    font-size: 9px;
  }

  .project-folder-status {
    font-size: 10px;
  }

  .portfolio-casefile {
    height: 60vh;
    max-height: 60vh;
  }

  .portfolio-archive-body {
    height: 42vh;
    max-height: 42vh;
  }

  .portfolio-viewer-body {
    height: auto;
    max-height: calc(100vh - var(--taskbar-height) - var(--taskbar-safe-bottom) - 92px);
    padding: 7px 7px 28px;
  }

  .portfolio-casefile {
    grid-template-columns: 1fr;
    padding: 8px 8px 30px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .portfolio-casefile-hero-frame {
    min-height: 0;
  }

  .portfolio-meta-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-action-row a {
    justify-content: center;
    grid-column: 1 / -1;
  }

  .portfolio-archive-grid {
    grid-template-columns: repeat(2, minmax(132px, 1fr));
  }

  .portfolio-viewer-footer,
  .portfolio-archive-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-viewer-stage {
    min-height: 152px;
    max-height: calc(100vh - var(--taskbar-height) - var(--taskbar-safe-bottom) - 284px);
  }

  .portfolio-viewer-toolbar {
    grid-template-columns: minmax(82px, 108px) 1fr minmax(82px, 108px);
  }

  .portfolio-viewer-count {
    bottom: calc(100% + 26px);
  }

  .portfolio-viewer-footer button,
  .portfolio-archive-controls button {
    width: 100%;
  }

  .portfolio-viewer-toolbar button {
    width: min(100%, 108px);
  }

  .portfolio-archive-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tray img {
    width: 24px;
    height: 24px;
  }

  .start-menu {
    grid-template-columns: 32px 158px;
    font-size: 11px;
  }

  .start-menu-panel {
    width: 158px;
  }

  .start-menu-row {
    min-height: 25px;
    grid-template-columns: 20px minmax(70px, 1fr) auto;
    gap: 4px;
    padding: 1px 4px;
  }

  .start-menu-row img {
    width: 18px;
    height: 18px;
  }

  .notepad {
    --notepad-line-height: 18px;
    min-height: 104px;
  }

  .sdk-paint.window-body {
    gap: 3px;
    padding: 0 0 45px;
  }

  .sdk-paint::after {
    bottom: 0;
  }

  .paint-menu {
    padding: 2px 3px 1px;
    gap: 0;
  }

  .paint-menu button {
    padding: 1px 3px;
    font-size: 11px;
  }

  .paint-workspace {
    min-height: 292px;
    grid-template-columns: 50px 1fr;
    gap: 4px;
    padding: 3px 4px 0;
  }

  .paint-tools {
    grid-template-columns: repeat(2, 24px);
    gap: 2px;
  }

  .paint-tools button {
    width: 24px;
    height: 24px;
  }

  .paint-size-picker {
    grid-template-columns: 1fr;
    margin-top: 4px;
  }

  .paint-size-picker button {
    min-height: 17px;
    font-size: 10px;
  }

  .paint-canvas-shell {
    width: min(100%, 284px);
    padding: 4px;
  }

  .paint-palette {
    grid-template-columns: repeat(8, 15px);
    grid-auto-rows: 15px;
    gap: 2px;
    justify-content: end;
    padding: 4px 4px 6px;
  }

  .paint-palette button {
    width: 15px;
    height: 15px;
  }

  .paint-footer {
    bottom: 20px;
    min-height: 20px;
    gap: 4px;
    padding: 1px 4px 0;
    font-size: 11px;
  }

  .paint-actions {
    gap: 3px;
  }

  .paint-actions button {
    min-height: 17px;
    padding: 0 5px;
    font-size: 11px;
  }

  .contact-window .andunny-contact-dialog {
    max-height: min(540px, calc(100vh - 160px));
    padding: 6px 7px 22px;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
  }

  .andunny-contact-hero {
    height: 136px;
    margin-bottom: 3px;
  }

  .andunny-contact-form {
    gap: 2px;
  }

  .andunny-contact-actions {
    gap: 6px;
    margin-top: 10px;
  }

  .andunny-contact-socials {
    gap: 6px;
  }

  .andunny-contact-field input,
  .andunny-contact-field select,
  .andunny-contact-field textarea {
    min-height: 23px;
    font-size: 12px;
  }

  .andunny-contact-field textarea {
    min-height: 54px;
  }

  .visualizer {
    padding: 3px;
  }

  .player-screen {
    padding: 3px 6px 4px;
  }

  .player-status {
    font-size: 11px;
  }

  .track-meta {
    padding: 4px 0 2px;
  }

  .track-marquee strong {
    font-size: 14px;
  }

  .track-marquee-track span {
    font-size: 11px;
  }

  .player-controls button {
    min-height: 20px;
    padding: 2px 5px;
    font-size: 12px;
  }

  .calculator-display {
    min-height: 30px;
    font-size: 18px;
  }

  .calculator-keys {
    gap: 4px;
  }

  .calculator-keys button {
    min-height: 24px;
  }

  .terminal-body {
    min-height: 242px;
  }

  .terminal-screen {
    min-height: 216px;
    font-size: 12px;
  }

  .task-buttons button {
    max-width: 98px;
  }
}
