@font-face {
  font-family: "AIM MSSansSerif";
  src: url("assets/fonts/mssansserif-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

:root {
  --desktop: #3333cb;
  --panel: #e7e7e7;
  --panel-light: #fff;
  --panel-dark: #7a7a7a;
  --ink: #0b0b0b;
  --accent: #ffc400;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  background: var(--desktop);
  color: var(--ink);
  overflow: hidden;
}

html.custom-cursor,
html.custom-cursor * {
  cursor: var(--site-cursor-normal) !important;
}

html.custom-cursor :where(a, button, a *, button *) {
  cursor: var(--site-cursor-pointer) !important;
}

html.is-loading,
html.is-loading * {
  cursor: url("assets/cursors/busy.cur"), wait !important;
}

button,
a {
  color: inherit;
  font: inherit;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-width: 320px;
  min-height: 520px;
  overflow: hidden;
  background: var(--desktop);
}

.asset-icon {
  display: block;
  width: 29px;
  height: 29px;
  image-rendering: pixelated;
}

.shelf {
  position: absolute;
  inset: 0 auto 78px 0;
  z-index: 20;
  width: 63px;
  background: #dedede;
  border-right: 2px solid #8b8b8b;
  display: grid;
  grid-template-rows: 22px repeat(5, 50px) 1fr 54px;
}

.brand-chip,
.shelf-button,
.trash-button {
  min-width: 0;
  min-height: 0;
  padding: 3px 2px;
  border: 0;
  border-bottom: 1px solid #9b9b9b;
  border-top: 1px solid #f8f8f8;
  background: #e5e5e5;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  line-height: 1.1;
  cursor: pointer;
}

.brand-chip {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0;
}

.be-mark {
  font: bold 18px Georgia, serif;
  color: #d60000;
  text-shadow: -1px 0 #003bff;
}

.shelf-button,
.trash-button {
  display: grid;
  place-items: center;
  gap: 2px;
}

.trash-button {
  grid-row: -2 / -1;
  align-self: end;
  border-bottom: 0;
  background: transparent;
}

.window {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z);
  width: var(--w);
  min-width: 110px;
  background: var(--panel);
  border: 2px solid;
  border-color: var(--panel-light) var(--panel-dark) var(--panel-dark) var(--panel-light);
  box-shadow: 1px 1px 0 #222;
}

.window:is([data-window="terminal"], [data-window="about-me"], [data-window="resume"]) {
  min-width: 260px;
  min-height: 150px;
}

.outlook-window {
  min-width: 554px;
  min-height: 300px;
  padding: 3px 3px 5px;
  background: #c0c0c0;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #000, 1px 1px #222;
  font: 11px Arial, sans-serif;
  image-rendering: pixelated;
}

.outlook-window:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.outlook-title {
  position: relative;
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  background: #000080;
  user-select: none;
  cursor: move;
}

.outlook-title::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: url("assets/windows/outlook-97.gif") -4px -4px / 554px 300px no-repeat;
}

.outlook-title strong {
  position: absolute;
  z-index: 1;
  left: 18px;
  color: #fff;
  font: bold 11px/18px Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

.outlook-title .word-caption-buttons {
  position: relative;
  z-index: 2;
}

.outlook-menu {
  position: relative;
  flex: 0 0 22px;
  background: linear-gradient(
    to bottom,
    #bfbfbf 0 20px,
    #7f7f7f 20px 21px,
    #fff 21px 22px
  );
}

.outlook-menu::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 22px;
  background: url("assets/windows/outlook-97.gif") -4px -25px / 554px 300px no-repeat;
}

.outlook-toolbar {
  position: relative;
  flex: 0 0 29px;
  background: linear-gradient(
    to bottom,
    #bfbfbf 0 24px,
    #7f7f7f 24px 25px,
    #fff 25px 26px,
    #bfbfbf 26px
  );
}

.outlook-toolbar::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 27px;
  background: url("assets/windows/outlook-97.gif") -4px -47px / 554px 300px no-repeat;
}

.outlook-toolbar::after {
  content: "";
  position: absolute;
  right: 0;
  width: 12px;
  height: 27px;
  background: url("assets/windows/outlook-97.gif") -538px -47px / 554px 300px no-repeat;
}

.outlook-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding: 3px 1px 0 6px;
}

.outlook-sidebar {
  position: relative;
  flex: 0 0 83px;
  background: #808080;
}

.outlook-sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 154px;
  background: url("assets/windows/outlook-97.gif") -10px -79px / 554px 300px no-repeat;
}

.outlook-sidebar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38px;
  background: url("assets/windows/outlook-97.gif") -10px -233px / 554px 300px no-repeat;
}

.outlook-inbox-count {
  position: absolute;
  z-index: 1;
  top: 64px;
  left: 16px;
  display: grid;
  width: 62px;
  height: 17px;
  place-items: center;
  color: #fff;
  background: #808080;
  font-size: 11px;
}

.outlook-inbox {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding-left: 4px;
}

.outlook-heading {
  position: relative;
  flex: 0 0 27px;
  background: #c0c0c0 url("assets/windows/outlook-97.gif") -97px -79px / 554px 300px no-repeat;
}

.outlook-heading::after {
  content: "";
  position: absolute;
  right: 1px;
  width: 22px;
  height: 27px;
  background: url("assets/windows/outlook-97.gif") -526px -79px / 554px 300px no-repeat;
}

.outlook-columns {
  display: grid;
  flex: 0 0 20px;
  grid-template-columns: 16px 17px 16px minmax(125px, 1fr) minmax(115px, .8fr) 128px;
  overflow: hidden;
}

.outlook-columns span {
  position: relative;
  padding: 3px 3px 0;
  border: 1px solid;
  border-color: #fff #404040 #404040 #fff;
  background: #c0c0c0;
  white-space: nowrap;
}

.outlook-columns span:nth-child(-n+3)::after {
  content: "";
  position: absolute;
  inset: 1px;
  background-image: url("assets/windows/outlook-97.gif");
  background-size: 554px 300px;
}

.outlook-columns span:nth-child(1)::after { background-position: -98px -107px; }
.outlook-columns span:nth-child(2)::after { background-position: -114px -107px; }
.outlook-columns span:nth-child(3)::after { background-position: -131px -107px; }

.outlook-columns span:last-child::after {
  content: "▼";
  float: right;
  color: #fff;
  font-size: 9px;
  text-shadow: 1px 1px #808080;
}

.outlook-message {
  display: grid;
  grid-template-columns: 49px minmax(125px, 1fr) minmax(115px, .8fr) 128px;
  flex: 0 0 43px;
  align-items: start;
  overflow: hidden;
  padding: 3px 0;
  color: #000;
  background: #fff;
  border: 0;
  outline: 1px dotted transparent;
  outline-offset: -1px;
  cursor: default;
}

.outlook-message > span {
  width: 15px;
  height: 12px;
  margin-left: 9px;
  background: url("assets/windows/outlook-97.gif") -110px -128px / 554px 300px no-repeat;
}
.outlook-message.is-read > span {
  background: url("assets/windows/outlook-read-envelope.png") -1px -2px / 16px 16px no-repeat;
}
.outlook-message strong { min-width: 0; overflow: hidden; padding-left: 4px; font-size: 11px; text-align: left; white-space: nowrap; }
.outlook-message.is-read > strong { font-weight: 400; }
.outlook-message small {
  display: inline-block;
  margin-left: 14px;
  font: 11px Arial, sans-serif;
}
.outlook-message.is-selected {
  color: #fff;
  background: #000080;
  outline-color: #fff;
}
.outlook-empty { flex: 1 1 auto; border: 1px solid; border-color: #808080 #fff #fff #808080; background: #fff; }
.outlook-status { flex: 0 0 22px; margin-left: 6px; padding: 4px 3px 0; border: 2px inset #fff; }

.window.closable.outlook-mail-window:not(.aim-window) {
  width: 429px;
  min-width: 429px;
  height: 352px;
  min-height: 352px;
  overflow: hidden;
  border: 0;
  background: url("assets/windows/outlook-message.gif") 0 0 / 429px 352px no-repeat;
  box-shadow: none;
  font: 11px/13px Arial, Helvetica, sans-serif;
  image-rendering: pixelated;
}

.outlook-mail-dragbar {
  position: absolute;
  inset: 4px 4px auto;
  z-index: 2;
  height: 17px;
  cursor: move;
  user-select: none;
}

.outlook-mail-title {
  position: absolute;
  left: 22px;
  top: 4px;
  z-index: 3;
  width: 348px;
  height: 17px;
  overflow: hidden;
  background: #000080;
  color: #fff;
  font: bold 11px/16px Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}

.outlook-mail-window .outlook-mail-close {
  left: 405px;
  top: 5px;
  z-index: 4;
  width: 17px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
}

.outlook-mail-from,
.outlook-mail-sent,
.outlook-mail-to,
.outlook-mail-cc,
.outlook-mail-subject,
.outlook-mail-body {
  position: absolute;
  overflow: hidden;
}

.outlook-mail-from,
.outlook-mail-sent,
.outlook-mail-to,
.outlook-mail-cc,
.outlook-mail-subject {
  background: #c0c0c0;
  white-space: nowrap;
}

.outlook-mail-from {
  left: 56px;
  top: 102px;
  width: 170px;
  height: 27px;
}

.outlook-mail-from b {
  display: block;
  font-weight: 400;
}

.outlook-mail-sent { left: 264px; top: 103px; width: 145px; height: 15px; }
.outlook-mail-to { left: 56px; top: 133px; width: 340px; height: 15px; }
.outlook-mail-cc { left: 56px; top: 152px; width: 340px; height: 14px; }
.outlook-mail-subject { left: 56px; top: 171px; width: 340px; height: 14px; }

.outlook-mail-body {
  left: 13px;
  top: 189px;
  width: 384px;
  height: 149px;
  background: #fff;
  color: #000;
  font: 12px/13px "MS Sans Serif", Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
}

.window:is([data-window="terminal"], [data-window="about-me"], [data-window="resume"]):not([hidden]) {
  display: flex;
  flex-direction: column;
}

.window:is([data-window="about-me"], [data-window="resume"]) .content-pane,
.terminal-window .terminal-pane {
  flex: 1 1 auto;
  min-height: 0;
}

.window:is([data-window="about-me"], [data-window="resume"]) .content-pane {
  overflow: auto;
}

.terminal-window .terminal-pane {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.terminal-window .terminal-pane::-webkit-scrollbar {
  display: none;
}

.window-resize {
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 1px solid;
  border-color: #fff #777 #777 #fff;
  background: #d7d7d7;
  cursor: nwse-resize;
  touch-action: none;
}

.window-resize:active {
  border-color: #777 #fff #fff #777;
}

.tab-title {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 92px;
  height: 19px;
  margin: -22px 0 0 -2px;
  padding: 0 24px;
  background: var(--panel);
  border: 2px solid;
  border-color: var(--panel-light) var(--panel-dark) transparent var(--panel-light);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  cursor: move;
  user-select: none;
}

.window-close {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid;
  border-color: #fff #777 #777 #fff;
  background: #d7d7d7;
  font: bold 10px/10px Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
}

.closable .active-tab::before {
  display: none;
}

.window-close:active {
  border-color: #777 #fff #fff #777;
}

.active-tab {
  background: var(--accent);
}

.active-tab::before,
.active-tab::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  background: #ffb400;
  box-shadow: inset -1px -1px #d78b00;
}

.active-tab::before {
  left: 5px;
}

.active-tab::after {
  right: 5px;
}

.window.closable:not(.aim-window) {
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
}

.window.closable:not(.aim-window, .word-window, .notepad-window, .outlook-window) {
  padding: 3px;
}

.closable:not(.aim-window, .notepad-window) > .tab-title {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 1px 2px 1px 4px;
  align-items: center;
  border: 0;
  background: #000080;
  color: #fff;
  font: bold 11px/18px Arial, Helvetica, sans-serif;
  text-align: left;
}

.closable:not(.aim-window, .notepad-window) > .tab-title::before,
.closable:not(.aim-window, .notepad-window) > .tab-title::after {
  content: none;
  display: none;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 12px 16px;
  padding: 18px 18px 12px;
  background: #fff;
  border-right: 14px solid #f1f1f1;
}

.desktop-file {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  line-height: 1.1;
  cursor: pointer;
}

.desktop-file:focus-visible,
.shelf-button:focus-visible,
.trash-button:focus-visible {
  outline: 2px dotted #111;
  outline-offset: 1px;
}

.status-bar {
  height: 13px;
  padding-left: 4px;
  border-top: 1px solid #bdbdbd;
  background: #efefef;
  font-size: 10px;
}

.about-window {
  background: #d8d8d8;
}

.about-panel {
  min-height: 136px;
  padding: 12px 18px 14px;
  background: #050505;
  border: 2px solid #8e8e8e;
  color: #bcbcbc;
  font-size: 11px;
}

.about-panel h1 {
  margin: 0 0 2px;
  line-height: 0;
}

.about-logo img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.about-panel p {
  margin: 2px 0;
}

.about-panel .release {
  margin-top: 4px;
  font-size: 16px;
  font-style: italic;
  text-align: right;
}

.about-panel a {
  color: #d9d9d9;
}

.apps-window,
.palette-window {
  padding: 3px;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
}

.apps-window .tab-title,
.palette-window .tab-title {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 1px 4px;
  align-items: center;
  border: 0;
  background: #000080;
  color: #fff;
  font: bold 11px/18px Arial, Helvetica, sans-serif;
  text-align: left;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-auto-rows: 7px;
  gap: 1px;
  width: 100%;
  padding: 2px;
  background: #000;
  border: 2px solid;
  border-color: #777 #fff #fff #777;
}

.palette-grid button {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.palette-grid button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px #fff;
}

.color-readout {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: repeat(3, 11px);
  margin: 4px 0 0;
  font: 10px/11px "Arial Narrow", Arial, Helvetica, sans-serif;
}

.color-readout div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
}

.color-readout div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.color-readout div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.color-readout div:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.color-readout div:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.color-readout dt,
.color-readout dd {
  margin: 0;
}

.content-pane,
.terminal-pane {
  min-height: 132px;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #bbb;
  font-size: 13px;
  line-height: 1.45;
}

.content-pane h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.content-pane p,
.content-pane ul {
  margin: 8px 0;
}

.terminal-pane {
  display: flex;
  flex-direction: column;
  height: 180px;
  background: #101010;
  color: #10f06b;
  font-family: "Courier New", monospace;
}

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

.terminal-form {
  display: flex;
  flex: 0 0 auto;
  gap: 1ch;
}

.terminal-pane p {
  margin: 0 0 8px;
}

.terminal-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.politoed-swarm {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  overflow: hidden;
  pointer-events: none;
}

.politoed-runner {
  position: absolute;
  left: -64px;
  bottom: var(--lane);
  display: block;
  animation: politoed-run 3s linear var(--delay) forwards;
}

.politoed-runner img {
  display: block;
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  animation: politoed-hop var(--hop-time) ease-in-out infinite alternate;
}

@keyframes politoed-run {
  to { transform: translateX(calc(100vw + 128px)); }
}

@keyframes politoed-hop {
  to { transform: translateY(-32px); }
}

.aim-window {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.aim-sign-on-image {
  display: block;
  width: 205px;
  height: 386px;
  image-rendering: pixelated;
}

.aim-window .aim-dragbar {
  position: absolute;
  left: 3px;
  top: 3px;
  z-index: 2;
  display: block;
  width: calc(100% - 6px);
  min-width: 0;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.aim-window .window-close {
  left: auto;
  right: 1px;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
  color: transparent;
}

.aim-login-button,
.aim-buddy-button,
.aim-list-button,
.aim-buddy-tab-button {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

.aim-buddy-button,
.aim-list-button,
.aim-buddy-tab-button {
  display: none;
}

.aim-help-button {
  --aim-hover-image: url("assets/windows/aim-help-hover.png");
  left: 13px;
  top: 324px;
  width: 32px;
  height: 34px;
}

.aim-setup-button {
  --aim-hover-image: url("assets/windows/aim-setup-hover.png");
  left: 52px;
  top: 325px;
  width: 34px;
  height: 32px;
}

.aim-sign-on-button {
  --aim-hover-image: url("assets/windows/aim-sign-on-hover.png");
  left: 144px;
  top: 322px;
  width: 50px;
  height: 41px;
}

.aim-buddy-im-button {
  --aim-hover-image: url("assets/windows/aim-buddy-im-hover.png");
  left: 11px;
  top: 453px;
  width: 27px;
  height: 24px;
}

.aim-buddy-chat-button {
  --aim-hover-image: url("assets/windows/aim-buddy-chat-hover.png");
  left: 42px;
  top: 451px;
  width: 28px;
  height: 26px;
}

.aim-buddy-info-button {
  --aim-hover-image: url("assets/windows/aim-buddy-info-hover.png");
  left: 70px;
  top: 454px;
  width: 32px;
  height: 24px;
}

.aim-online-tab-button {
  left: 7px;
  top: 115px;
  width: 48px;
  height: 24px;
}

.aim-list-setup-tab-button {
  left: 55px;
  top: 115px;
  width: 69px;
  height: 24px;
}

.aim-list-left-button {
  --aim-hover-image: url("assets/windows/aim-list-left-hover.png");
  left: 9px;
  top: 451px;
  width: 25px;
  height: 26px;
}

.aim-list-middle-button {
  --aim-hover-image: url("assets/windows/aim-list-middle-hover.png");
  left: 37px;
  top: 453px;
  width: 28px;
  height: 24px;
}

.aim-list-right-button {
  --aim-hover-image: url("assets/windows/aim-list-right-hover.png");
  left: 98px;
  top: 451px;
  width: 28px;
  height: 26px;
}

.aim-login-button:hover,
.aim-login-button:focus-visible,
.aim-buddy-button:hover,
.aim-buddy-button:focus-visible,
.aim-list-button:hover,
.aim-list-button:focus-visible {
  background-image: var(--aim-hover-image);
}

.aim-login-button:focus-visible,
.aim-buddy-button:focus-visible,
.aim-list-button:focus-visible,
.aim-buddy-tab-button:focus-visible,
.aim-cancel-button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -2px;
}

.aim-window .aim-cancel-button {
  display: none;
}

.aim-window.is-connecting .aim-sign-on-image {
  height: 272px;
}

.aim-step-one-text {
  position: absolute;
  left: 4px;
  top: 209px;
  z-index: 2;
  display: none;
  width: 197px;
  height: 16px;
  background: #c0c0c0;
  font: 11px/16px "MS Sans Serif", Tahoma, sans-serif;
  text-align: center;
  pointer-events: none;
}

.aim-window.aim-step-one .aim-step-one-text {
  display: block;
}

.aim-buddy-name {
  position: absolute;
  left: 47px;
  top: 184px;
  z-index: 3;
  display: none;
  width: 90px;
  height: 14px;
  padding-left: 2px;
  background: #fff;
  color: #222;
  font: 11px/14px "AIM MSSansSerif", "MS Sans Serif", sans-serif;
  pointer-events: none;
}

.aim-buddy-contact {
  position: absolute;
  left: 34px;
  z-index: 4;
  display: none;
  width: 77px;
  height: 16px;
  padding: 0 0 0 15px;
  border: 0;
  background: transparent;
  color: transparent;
  font: 11px/16px "AIM MSSansSerif", "MS Sans Serif", sans-serif;
  text-align: left;
}

.aim-smarter-contact {
  top: 168px;
}

.aim-buddy-contact.is-selected {
  background: #ff0;
  color: #000;
}

.aim-buddy-contact:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -1px;
}

.aim-window.is-buddy-list {
  width: 220px;
}

.aim-window.is-buddy-list .aim-sign-on-image {
  width: 220px;
  height: auto;
}

.aim-window.is-buddy-list .aim-buddy-name,
.aim-window.is-buddy-list .aim-buddy-button,
.aim-window.is-buddy-list .aim-buddy-tab-button,
.aim-window.is-buddy-list .aim-buddy-contact {
  display: block;
}

.aim-window.is-list-setup {
  width: 218px;
}

.aim-window.is-list-setup .aim-sign-on-image {
  width: 218px;
}

.aim-window.is-list-setup .aim-buddy-name {
  left: 22px;
  top: 182px;
  width: 115px;
}

.aim-window.is-list-setup .aim-buddy-contact {
  left: 29px;
}

.aim-window.is-list-setup .aim-smarter-contact {
  top: 166px;
}

.aim-window.is-list-setup .aim-buddy-button {
  display: none;
}

.aim-window.is-list-setup .aim-list-button {
  display: block;
}

.aim-window.is-connecting .aim-login-button,
.aim-window.is-buddy-list .aim-login-button {
  display: none;
}

.aim-window.is-connecting .aim-cancel-button {
  display: block;
  left: 71px;
  right: auto;
  top: 231px;
  width: 60px;
  height: 24px;
}

.aim-chat-window {
  --aim-chat-gray: #e1e1e1;
  width: 399px;
  height: 321px;
  min-width: 399px;
  overflow: hidden;
  background: var(--aim-chat-gray) url("assets/windows/aim-chat-window-e1.png") 0 0 / 399px 321px no-repeat;
  image-rendering: pixelated;
}

.aim-chat-window .aim-chat-title {
  position: absolute;
  left: 3px;
  top: 5px;
  z-index: 4;
  display: block;
  width: 392px;
  height: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: bold 11px/20px Arial, "MS Sans Serif", sans-serif;
  text-align: left;
}

.aim-chat-title::before {
  content: "";
  position: absolute;
  inset: 0 50px 0 18px;
  background: linear-gradient(90deg, #0000a2, #126fc2);
}

.aim-chat-title > span {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: 21px;
  white-space: nowrap;
}

.aim-chat-window .aim-chat-title .window-close {
  right: 1px;
  top: 2px;
  z-index: 2;
}

.aim-chat-buddy-icons {
  position: absolute;
  left: 10px;
  top: 55px;
  z-index: 2;
  display: grid;
  width: 48px;
  grid-template-rows: 137px 48px;
}

.aim-chat-buddy-icons img {
  display: block;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.aim-chat-participant-icon {
  background: var(--aim-chat-gray);
}

.aim-chat-transcript {
  position: absolute;
  left: 71px;
  top: 56px;
  z-index: 2;
  width: 299px;
  height: 104px;
  padding: 3px 2px 3px 4px;
  overflow-x: hidden;
  overflow-y: scroll;
  border: 2px inset #dfdfdf;
  outline: 0;
  background: #fff;
  color: #000;
  font: 16px/19px "Times New Roman", Times, serif;
  scrollbar-width: none;
}

.aim-chat-transcript::-webkit-scrollbar {
  display: none;
}

.aim-chat-window.is-smarterchild-chat .aim-chat-transcript {
  width: 316px;
  overflow-y: auto;
}

.aim-chat-window.is-smarterchild-chat .aim-chat-scrollbar {
  display: none;
}

.aim-chat-window.is-smarterchild-chat.has-chat-overflow .aim-chat-transcript {
  width: 299px;
  overflow-y: scroll;
}

.aim-chat-window.is-smarterchild-chat.has-chat-overflow .aim-chat-scrollbar {
  display: grid;
}

.aim-chat-messages {
  min-height: 100%;
}

.aim-chat-window.is-smarterchild-chat .aim-chat-messages {
  display: none;
}

.aim-chat-sender {
  font-weight: bold;
}

.aim-chat-message + .aim-chat-message {
  margin-top: 4px;
}

.aim-chat-message.is-self .aim-chat-sender {
  color: #ff0000;
}

.aim-chat-message.is-participant .aim-chat-sender {
  color: #0000ff;
}

.aim-chat-emoticon {
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: sub;
  background: #fff;
  image-rendering: pixelated;
}

.aim-chat-scrollbar {
  position: absolute;
  left: 369px;
  top: 56px;
  z-index: 3;
  display: grid;
  width: 16px;
  height: 102px;
  grid-template-rows: 16px 70px 16px;
  background: #bbc3c4;
}

.aim-chat-scroll-button {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 0;
  background: #bbc3c4;
  box-shadow:
    inset -1px -1px #0c0c0c,
    inset 1px 1px #bbc3c4,
    inset -2px -2px #808088,
    inset 2px 2px #fff;
}

.aim-chat-scroll-button::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  border: 4px solid transparent;
  border-bottom-color: #000;
}

.aim-chat-scroll-button:last-child::before {
  top: 6px;
  border-top-color: #000;
  border-bottom-color: transparent;
}

.aim-chat-scroll-track {
  position: relative;
  display: block;
  overflow: hidden;
  background: repeating-conic-gradient(#fff 0 25%, #ccc 0 50%) 0 0 / 2px 2px;
}

.aim-chat-scroll-thumb {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 16px;
  height: 57px;
  min-height: 16px;
  border: 0;
  background: #bbc3c4;
  box-shadow:
    inset -1px -1px #0c0c0c,
    inset 1px 1px #bbc3c4,
    inset -2px -2px #808088,
    inset 2px 2px #fff;
  touch-action: none;
}

.aim-chat-compose {
  position: absolute;
  left: 71px;
  top: 192px;
  z-index: 2;
  width: 314px;
  height: 62px;
  padding: 3px;
  resize: none;
  overflow: auto;
  border: 2px inset #dfdfdf;
  outline: 0;
  background: #fff;
  color: #000;
  font: 16px/19px "Times New Roman", Times, serif;
}

.aim-chat-action {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

.aim-chat-action:hover,
.aim-chat-action:focus-visible {
  background-image: var(--aim-hover-image);
}

.aim-chat-action:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -2px;
}

.aim-chat-warn {
  --aim-hover-image: url("assets/windows/warn_hover.png");
  left: 81px;
  top: 273px;
  width: 22px;
  height: 33px;
}

.aim-chat-block {
  --aim-hover-image: url("assets/windows/block_hover.png");
  left: 113px;
  top: 274px;
  width: 24px;
  height: 31px;
}

.aim-chat-add-buddy {
  --aim-hover-image: url("assets/windows/add_buddy_hover.png");
  left: 180px;
  top: 273px;
  width: 45px;
  height: 33px;
}

.aim-chat-get-info {
  --aim-hover-image: url("assets/windows/get_info_large_hover.png");
  left: 259px;
  top: 275px;
  width: 35px;
  height: 30px;
}

.aim-chat-send {
  --aim-hover-image: url("assets/windows/send_hover.png");
  left: 341px;
  top: 266px;
  width: 31px;
  height: 35px;
}

.word-window {
  aspect-ratio: 4 / 3;
  min-width: 520px;
  max-width: 1024px;
  min-height: 390px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
}

.word-stage {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #808080;
  font-family: Arial, Helvetica, sans-serif;
}

.word-titlebar {
  display: flex;
  position: relative;
  flex: 0 0 20px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 1px 2px;
  border: 0;
  background: #000080;
  color: #fff;
  font: bold 11px/18px Arial, Helvetica, sans-serif;
  text-align: left;
}

.word-app-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-right: 3px;
  background-image: url("assets/windows/ms-word-97.png");
  background-repeat: no-repeat;
  background-size: 1024px 768px;
}

.word-title-icon {
  display: grid;
  place-items: center;
  background: #000080;
}

.word-title-icon::before {
  content: "W";
  color: #00d8b0;
  font: bold italic 16px/18px Georgia, serif;
  text-shadow: 1px 1px #004840;
}

.word-menu-icon {
  margin-right: -4px;
  background-position: -8px -20px;
}

.word-title-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.word-caption-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 1px;
  margin-left: auto;
}

.word-caption-button,
.word-window-close {
  position: relative;
  box-sizing: border-box;
  width: 18px;
  height: 16px;
  padding: 0;
  border: 1px solid;
  border-color: #fff #404040 #404040 #fff;
  background: #c0c0c0;
  color: #000;
}

.word-caption-button::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 2px;
  width: 7px;
  border-bottom: 2px solid #000;
}

.word-caption-button.restore::before {
  left: 3px;
  top: 3px;
  bottom: auto;
  width: 7px;
  height: 6px;
  border: 1px solid #000;
  box-shadow: 2px -2px 0 -1px #c0c0c0, 2px -2px 0 0 #000;
}

.word-window-close {
  left: auto;
  top: auto;
  flex: 0 0 18px;
  margin-left: 1px;
  font: bold 10px/12px Arial, Helvetica, sans-serif;
  z-index: 7;
}

.word-menu-row {
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  box-sizing: border-box;
  height: 20px;
  padding: 1px 2px;
  gap: 11px;
  overflow: hidden;
  background: #c0c0c0;
  color: #000;
  font: 11px/18px Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.word-menu-row,
.word-toolbar-art {
  cursor: move;
  user-select: none;
}

.word-toolbar-art,
.word-bottom-chrome {
  flex: 0 0 auto;
  background-color: #c0c0c0;
  background-image: url("assets/windows/ms-word-97.png");
  background-repeat: no-repeat;
  background-size: 1024px 768px;
}

.word-toolbar-art {
  position: relative;
  height: 96px;
  background-position: 0 -40px;
}

.word-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #808080;
}

.word-workspace::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 25px;
  height: min(540px, 100%);
  background: #c0c0c0 url("assets/windows/ms-word-97.png") 0 -136px / 1024px 768px no-repeat;
}

.word-ruler-extension {
  position: absolute;
  left: 0;
  top: 540px;
  bottom: 0;
  z-index: 2;
  width: 25px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, #000 0 1px, transparent 1px) 11px 10px / 5px 96px repeat-y,
    repeating-linear-gradient(to bottom, transparent 0 10px, #000 10px 11px, transparent 11px 12px) 12px 0 / 2px 100% no-repeat,
    linear-gradient(to right, #808080 0 1px, #000 1px 2px, #c0c0c0 2px 6px, #fff 6px 21px, #c0c0c0 21px);
  pointer-events: none;
}

.word-ruler-extension span {
  position: absolute;
  left: 10px;
  top: calc(53px + var(--ruler-index) * 96px);
  width: 8px;
  height: 10px;
  background: #fff;
  color: #000;
  font: 10px/10px Arial, Helvetica, sans-serif;
  text-align: center;
  transform: rotate(-90deg);
}

.word-page {
  position: absolute;
  inset: 0 99px 0 107px;
  min-width: 160px;
  overflow: auto;
  border: 1px solid #000;
  background: #fff;
  scrollbar-width: none;
}

.word-page::-webkit-scrollbar {
  display: none;
}

.resume-document {
  box-sizing: border-box;
  width: 816px;
  min-height: 100%;
  margin: 0 auto;
  padding: 22px 28px 30px;
  color: #000;
  font: 12px/1.12 "Times New Roman", Times, serif;
  letter-spacing: 0;
}

.resume-document h1,
.resume-document h2,
.resume-document p,
.resume-document ul {
  margin-top: 0;
}

.resume-document a {
  color: inherit;
  text-decoration: none;
}

.resume-header {
  text-align: center;
}

.resume-header h1 {
  margin-bottom: 2px;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.resume-section {
  margin-top: 7px;
}

.resume-section h2 {
  margin-bottom: 3px;
  border-bottom: 2px solid #000;
  font-size: 15px;
  line-height: 1.05;
}

.resume-entry {
  margin-bottom: 7px;
}

.resume-entry-heading,
.resume-entry-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.resume-entry-heading {
  font-size: 12px;
}

.resume-entry-meta {
  margin-top: 1px;
}

.resume-entry p {
  margin-bottom: 2px;
}

.resume-subheading,
.resume-project {
  text-decoration: underline;
}

.resume-project {
  margin-top: 8px;
}

.resume-document ul {
  margin-bottom: 7px;
  padding-left: 18px;
}

.resume-document li {
  padding-left: 2px;
}

.resume-skills p {
  margin-bottom: 2px;
}

.word-v-scrollbar {
  position: absolute;
  box-sizing: border-box;
  background: #ddd;
  border: 1px solid;
  border-color: #fff #555 #555 #fff;
}

.word-v-scrollbar {
  z-index: 4;
  top: 96px;
  right: 2px;
  bottom: 38px;
  width: 16px;
  border-width: 0 1px;
  border-color: transparent #000 transparent #c0c0c0;
  box-shadow: 1px 0 #dfdfdf, 2px 0 #fff;
  background: conic-gradient(#fff 25%, #c0c0c0 0 50%, #fff 0 75%, #c0c0c0 0) 0 0 / 2px 2px;
  cursor: pointer;
  touch-action: none;
}

.word-v-scrollbar:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -3px;
}

.word-v-scrollbar::before,
.word-v-scrollbar::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 1px solid;
  border-color: #fff #555 #555 #fff;
  background: #c0c0c0;
}

.word-v-scrollbar::before {
  left: 0;
  top: 0;
  width: 16px;
  height: 22px;
  border: 0;
  background: url("assets/windows/ms-word-97.png") -1006px -96px / 1024px 743px no-repeat;
}

.word-v-scrollbar::after {
  left: 0;
  bottom: 0;
  width: 16px;
  height: 81px;
  border: 0;
  background: url("assets/windows/ms-word-97.png") -1006px -611px / 1024px 743px no-repeat;
}

.word-v-scrollbar span {
  position: absolute;
  left: 0;
  top: 22px;
  z-index: 1;
  width: 16px;
  height: 15px;
  border: 1px solid;
  border-color: #fff #555 #555 #fff;
  background: #c0c0c0;
  cursor: ns-resize;
}

.word-bottom-chrome {
  position: relative;
  height: 38px;
  background: #dfdfdf url("assets/windows/ms-word-97.png") 0 -702px / 1024px 743px no-repeat;
}

.word-bottom-chrome::before,
.word-bottom-chrome::after {
  content: "";
  position: absolute;
  top: 0;
  height: 17px;
  background-image: url("assets/windows/ms-word-97.png");
  background-size: 1024px 743px;
  background-repeat: no-repeat;
}

.word-bottom-chrome::before {
  left: 0;
  right: 0;
  background-position: 0 -675px;
}

.word-bottom-chrome::after {
  right: 0;
  width: 35px;
  background-position: -989px -675px;
}

.mini-player,
.photo-grid {
  background: #fff;
  border-top: 1px solid #bbb;
}

.mini-player {
  padding: 10px;
}

.mini-display {
  min-height: 42px;
  padding: 6px 8px;
  border: 2px solid;
  border-color: #777 #fff #fff #777;
  background: #e8e8e8;
  font-size: 12px;
}

.mini-display strong,
.mini-display span {
  display: block;
}

.mini-control-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 22px;
  margin-top: 8px;
}

.mini-transport {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.mini-transport button {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 20px;
  padding: 0;
  border: 2px solid;
  border-color: #fff #777 #777 #fff;
  background: #e7e7e7;
  cursor: pointer;
}

.mini-transport button:active {
  border-color: #777 #fff #fff #777;
}

.transport-icon {
  position: relative;
  width: 13px;
  height: 10px;
}

.previous-icon::before,
.next-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 10px;
  background: #111;
}

.previous-icon::before {
  left: 0;
}

.next-icon::after {
  right: 0;
}

.previous-icon::after,
.next-icon::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.previous-icon::after {
  left: 3px;
  border-right: 8px solid #111;
}

.next-icon::before {
  right: 3px;
  border-left: 8px solid #111;
}

.mini-volume {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.mini-volume-speaker {
  width: 17px;
  height: 21px;
  object-fit: contain;
  image-rendering: pixelated;
  transform: scaleX(-1);
}

.mini-volume-meter {
  --volume: 80%;
  position: relative;
  display: block;
  width: 72px;
  height: 16px;
}

.mini-volume-meter::before,
.mini-volume-meter::after {
  content: "";
  position: absolute;
}

.mini-volume-meter::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 4px;
  border: 1px solid #111;
  background: repeating-linear-gradient(90deg, #fff 0 1px, #999 1px 2px);
  box-shadow: 1px 1px #fff;
}

.mini-volume-meter::after {
  top: 2px;
  left: clamp(0px, calc(var(--volume) - 5px), calc(100% - 10px));
  width: 8px;
  height: 12px;
  border: 1px solid #111;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #777;
}

.mini-volume-slider {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mini-volume:focus-within .mini-volume-meter::after {
  background: #d8d8d8;
  box-shadow: inset 1px 1px #777, inset -1px -1px #fff;
}

.mini-progress {
  margin-top: 8px;
}

.mini-scrubber {
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.mini-scrubber:disabled {
  cursor: default;
}

.mini-scrubber::-webkit-slider-runnable-track {
  height: 6px;
  border: 1px solid;
  border-color: #777 #fff #fff #777;
  background: #d7d7d7;
}

.mini-scrubber::-webkit-slider-thumb {
  width: 10px;
  height: 14px;
  margin-top: -5px;
  appearance: none;
  border: 1px solid;
  border-color: #fff #777 #777 #fff;
  background: #e7e7e7;
}

.mini-scrubber::-moz-range-track {
  height: 4px;
  border: 1px solid;
  border-color: #777 #fff #fff #777;
  background: #d7d7d7;
}

.mini-scrubber::-moz-range-thumb {
  width: 8px;
  height: 12px;
  border: 1px solid;
  border-color: #fff #777 #777 #fff;
  border-radius: 0;
  background: #e7e7e7;
}

.mini-time {
  display: flex;
  justify-content: space-between;
  font: 10px/1.2 "Courier New", monospace;
}

.track-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #b8b8b8;
}

.track-button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 5px 8px;
  border: 0;
  border-bottom: 1px solid #d6d6d6;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.track-list li:last-child .track-button {
  border-bottom: 0;
}

.track-button:hover {
  background: #e8e8e8;
}

.track-button.is-current {
  background: #e8e8e8;
}

.track-button[aria-pressed="true"] {
  background: #ffff80;
}

.track-icon {
  position: relative;
  width: 12px;
  height: 12px;
}

.track-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #111;
}

.track-icon.is-playing::before,
.track-icon.is-playing::after {
  top: 1px;
  width: 3px;
  height: 10px;
  border: 0;
  background: #111;
}

.track-icon.is-playing::before {
  left: 2px;
}

.track-icon.is-playing::after {
  content: "";
  position: absolute;
  left: 7px;
}

.track-copy {
  display: grid;
}

.track-copy strong {
  font-size: 11px;
}

.track-list small {
  font-size: 10px;
}

.cursor-picker {
  padding: 10px;
  background: #fff;
  border-top: 1px solid #bbb;
}

.cursor-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.cursor-option {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #fff #777 #777 #fff;
  background: #e7e7e7;
  text-align: left;
  font-size: 11px;
}

.cursor-option[aria-pressed="true"] {
  border-color: #777 #fff #fff #777;
  background: #3333cb;
  color: #fff;
}

.cursor-preview {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}

.default-cursor-preview {
  display: grid;
  place-items: center;
  font-size: 24px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 14px;
  min-height: 112px;
  padding: 22px;
}

.photo-grid .desktop-file {
  align-content: start;
}

.note-file {
  text-align: center;
}

.notepad-window {
  height: 268px;
  min-width: 280px;
  min-height: 160px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
  image-rendering: pixelated;
}

.notepad-window:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.notepad-titlebar {
  position: relative;
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 1px 2px 1px 18px;
  border: 0;
  background: #000080;
  color: #fff;
  font: bold 11px/18px Arial, Helvetica, sans-serif;
  text-align: left;
}

.notepad-titlebar::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 15px;
  height: 15px;
  background: url("assets/windows/notepad-98.png") -4px -4px no-repeat;
}

.notepad-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notepad-menu {
  display: flex;
  flex: 0 0 17px;
  gap: 13px;
  align-items: center;
  padding: 0 3px;
  font: 11px/17px Arial, Helvetica, sans-serif;
}

.notepad-page {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 2px 3px;
  resize: none;
  overflow: auto;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  outline: 0;
  background: #fff;
  color: #000;
  font: 13px/1.25 "Courier New", monospace;
  white-space: pre;
  scrollbar-color: #c0c0c0 #dfdfdf;
}

.development-info-page {
  white-space: normal;
}

.development-info-page a {
  color: #0000ee;
  text-decoration: underline;
}

.notepad-page::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.notepad-page::-webkit-scrollbar-track {
  background: #dfdfdf;
}

.notepad-page::-webkit-scrollbar-thumb {
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  background: #c0c0c0;
}

.notepad-page::-webkit-scrollbar-corner {
  background: #c0c0c0;
}

.photo-image {
  display: block;
  width: calc(100% - 16px);
  height: 420px;
  margin: 8px;
  image-rendering: pixelated;
  object-fit: cover;
  object-position: center top;
  border: 2px solid;
  border-color: #777 #fff #fff #777;
  background: #fff;
}

.album-cover-image {
  height: auto;
}

.mine-title {
  min-width: 150px;
  background: #0000a8;
  color: #fff;
}

.mine-levels button {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.mine-game {
  padding: 6px;
  background: #c0c0c0;
  border: 3px solid;
  border-color: #fff #777 #777 #fff;
}

.mine-levels {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 11px;
}

.mine-levels button.active {
  color: #0000a8;
}

.mine-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border: 3px solid;
  border-color: #777 #fff #fff #777;
}

.mine-counter {
  min-width: 38px;
  padding: 2px 4px;
  background: #111;
  color: #f00;
  font: bold 20px/1 "Courier New", monospace;
  text-align: right;
}

.mine-face {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid;
  border-color: #fff #777 #777 #fff;
  background: #d7d7d7;
  font-size: 15px;
}

.mine-face:active {
  border-color: #777 #fff #fff #777;
}

.mine-board-wrap {
  max-width: 100%;
  margin-top: 6px;
  overflow: auto;
}

.mine-board {
  display: grid;
  grid-template-columns: repeat(var(--mine-cols), 16px);
  width: max-content;
  border: 3px solid;
  border-color: #777 #fff #fff #777;
}

.mine-cell {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid;
  border-color: #fff #777 #777 #fff;
  background: #c0c0c0;
  font: bold 12px/12px Arial, Helvetica, sans-serif;
  text-align: center;
}

.mine-cell.open {
  border: 1px solid #888;
  background: #d0d0d0;
}

.mine-cell.flagged {
  color: #e00;
}

.mine-cell.mine-hit {
  background: #f00;
}

.mine-cell.n1 { color: #0000ff; }
.mine-cell.n2 { color: #008000; }
.mine-cell.n3 { color: #ff0000; }
.mine-cell.n4 { color: #000080; }
.mine-cell.n5 { color: #800000; }
.mine-cell.n6 { color: #008080; }
.mine-cell.n7 { color: #000; }
.mine-cell.n8 { color: #808080; }

.ie-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #0054c8;
  font: bold italic 28px/29px Arial, Helvetica, sans-serif;
  letter-spacing: -2px;
  text-align: center;
  text-shadow: 1px 0 #00a8e8;
}

.ie-logo::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 9px;
  width: 31px;
  height: 12px;
  border: 2px solid #e9b900;
  border-radius: 50%;
  transform: rotate(-17deg);
}

.window.ie-window {
  min-width: 648px;
  min-height: 464px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
  font-family: "AIM MSSansSerif", "MS Sans Serif", Tahoma, Arial, sans-serif;
  image-rendering: pixelated;
}

.ie-window:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.window.ie-window > .ie-reference-top {
  position: relative;
  container-type: inline-size;
  display: block;
  flex: 0 0 114px;
  width: 100%;
  min-width: 0;
  height: 114px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #c0c0c0 url("assets/windows/internet-explorer-reference.gif") 0 0 / 640px 456px no-repeat;
  color: transparent;
}

.ie-reference-top > .ie-reference-dragbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: move;
}

.ie-reference-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Match the 640px reference title bar, including when the chrome scales on mobile. */
.ie-project-title {
  position: absolute;
  inset: 0 8.125cqw auto 2.8125cqw;
  height: 2.8125cqw;
  overflow: hidden;
  background: #000080;
  color: #fff;
  font: bold 1.71875cqw/2.8125cqw Arial, Helvetica, sans-serif;
  text-align: left;
  white-space: nowrap;
}

.ie-reference-top .ie-reference-close {
  left: auto;
  right: 2px;
  top: 2px;
  width: 16px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
}

/* Cover only the address text; preserve the reference icon, border, and dropdown. */
.ie-project-address {
  position: absolute;
  appearance: none;
  top: 14.21875cqw;
  left: 11.875cqw;
  width: 78.125cqw;
  height: 2.34375cqw;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 1.71875cqw/2.34375cqw Arial, Helvetica, sans-serif;
}

.ie-project-address:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -1px;
}

.ie-document {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: scroll;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  background: #fff;
  box-shadow: inset 1px 1px #000, inset -1px -1px #c0c0c0;
  outline: 0;
  scrollbar-color: #c0c0c0 #dfdfdf;
}

.ie-document:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -3px;
}

.ie-document-content {
  min-width: 100%;
  min-height: 100%;
  background: #fff;
}

.ie-document::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background: #dfdfdf;
}

.ie-document::-webkit-scrollbar-thumb,
.ie-document::-webkit-scrollbar-button {
  border: 1px solid;
  border-color: #fff #404040 #404040 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #dfdfdf;
}

.ie-document::-webkit-scrollbar-button {
  display: block;
  width: 16px;
  height: 16px;
}

.ie-document::-webkit-scrollbar-corner {
  background: #c0c0c0;
}

.ie-reference-status {
  flex: 0 0 24px;
  width: 100%;
  height: 24px;
  background: #c0c0c0 url("assets/windows/internet-explorer-reference.gif") 0 -432px / 640px 456px no-repeat;
}
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-height: 100dvh;
    overflow-y: auto;
  }

  .desktop {
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 100dvh;
    padding:
      max(44px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      calc(72px + env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: visible;
  }

  .shelf {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    width: 100%;
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 2px solid #f8f8f8;
    border-right: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .brand-chip,
  .shelf-button,
  .trash-button {
    min-height: 56px;
    border-top: 0;
    border-right: 1px solid #9b9b9b;
    border-bottom: 0;
  }

  .trash-button {
    grid-row: auto;
    align-self: stretch;
    background: #e5e5e5;
  }

  .window {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 420px);
    max-width: 100%;
    margin: 42px auto 0;
  }

  .window.closable:not([hidden]) {
    position: fixed;
    inset:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      auto
      max(8px, env(safe-area-inset-left));
    z-index: 100;
    width: auto !important;
    min-width: 0;
    max-width: none;
    max-height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    );
    margin: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .window:is([data-window="terminal"], [data-window="about-me"], [data-window="resume"]) {
    width: auto !important;
  }

  .closable > .tab-title {
    margin-top: 0;
  }

  .window-close::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
  }

  .window-resize {
    display: none;
  }

  .terminal-window .terminal-pane {
    height: 180px;
    flex: none;
  }

  .outlook-window {
    width: auto !important;
    min-width: 0;
    height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    ) !important;
    overflow: hidden !important;
  }

  .outlook-menu,
  .outlook-toolbar,
  .outlook-sidebar,
  .outlook-heading {
    display: none;
  }

  .outlook-body {
    padding: 4px;
  }

  .outlook-inbox {
    padding-left: 0;
  }

  .outlook-columns {
    grid-template-columns: 44px minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .outlook-columns span {
    display: none;
  }

  .outlook-columns span:nth-child(1),
  .outlook-columns span:nth-child(4),
  .outlook-columns span:nth-child(5) {
    display: block;
  }

  .outlook-message {
    grid-template-columns: 44px minmax(0, .9fr) minmax(0, 1.1fr);
    flex-basis: 64px;
    min-height: 64px;
  }

  .outlook-message > strong:last-child {
    display: none;
  }

  .outlook-message strong {
    padding: 6px 4px 0;
    font-size: 12px;
  }

  .outlook-message small {
    margin-left: 0;
    font-size: 11px;
  }

  .window.closable.outlook-mail-window:not(.aim-window) {
    display: flex;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    ) !important;
    min-height: 0;
    padding: 30px 8px 8px;
    gap: 4px;
    overflow: hidden !important;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    background: #c0c0c0;
    box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
  }

  .outlook-mail-dragbar {
    inset: 4px 4px auto;
    height: 21px;
    background: #000080;
  }

  .outlook-mail-title {
    left: 8px;
    right: 48px;
    top: 6px;
    width: auto;
    height: 17px;
  }

  .outlook-mail-window .outlook-mail-close {
    left: auto;
    right: 7px;
    top: 6px;
    width: 18px;
    height: 16px;
    border: 1px solid;
    border-color: #fff #404040 #404040 #fff;
    background: #c0c0c0;
    color: #000;
    font: bold 10px/12px Arial, Helvetica, sans-serif;
  }

  .outlook-mail-from,
  .outlook-mail-sent,
  .outlook-mail-to,
  .outlook-mail-cc,
  .outlook-mail-subject,
  .outlook-mail-body {
    position: static;
    width: auto;
    height: auto;
    min-height: 24px;
    padding: 4px 6px;
    overflow: visible;
    white-space: normal;
  }

  .outlook-mail-from::before { content: "From: "; font-weight: 700; }
  .outlook-mail-sent::before { content: "Sent: "; font-weight: 700; }
  .outlook-mail-to::before { content: "To: "; font-weight: 700; }
  .outlook-mail-cc::before { content: "Cc: "; font-weight: 700; }
  .outlook-mail-subject::before { content: "Subject: "; font-weight: 700; }

  .outlook-mail-from b {
    display: inline;
  }

  .outlook-mail-from b + b {
    margin-left: 4px;
  }

  .outlook-mail-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    font: 14px/1.35 "MS Sans Serif", Arial, sans-serif;
  }

  .window.ie-window {
    height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    ) !important;
    min-width: 0;
    min-height: 0;
    overflow: hidden !important;
  }

  .window.ie-window > .ie-reference-top,
  .ie-reference-status {
    flex-basis: auto;
    height: auto;
    background-size: 100% auto;
  }

  .window.ie-window > .ie-reference-top {
    aspect-ratio: 640 / 114;
  }

  .ie-reference-status {
    aspect-ratio: 640 / 24;
    background-position: 0 100%;
  }

  .word-window {
    min-width: 0;
    min-height: 0;
    aspect-ratio: auto;
  }

  .window[data-window="resume"] {
    height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    ) !important;
    overflow: hidden !important;
  }

  .word-menu-row,
  .word-toolbar-art,
  .word-ruler-extension,
  .word-v-scrollbar,
  .word-bottom-chrome,
  .word-workspace::before {
    display: none;
  }

  .word-workspace {
    padding: 6px;
  }

  .word-page {
    position: static;
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  .resume-document {
    width: 100%;
    min-height: 100%;
    padding: 18px 16px 24px;
    font-size: 14px;
    line-height: 1.35;
  }

  .resume-header h1 {
    font-size: 22px;
  }

  .resume-section {
    margin-top: 14px;
  }

  .resume-section h2 {
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.15;
  }

  .resume-entry {
    margin-bottom: 14px;
  }

  .resume-entry-heading,
  .resume-entry-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
  }

  .resume-entry-heading {
    font-size: 14px;
  }

  .resume-document ul {
    padding-left: 20px;
  }

  .window.aim-window:not(.aim-chat-window) {
    width: 205px !important;
    margin-inline: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .aim-window.is-buddy-list:not(.aim-chat-window) {
    width: 220px !important;
  }

  .aim-window.is-list-setup:not(.aim-chat-window) {
    width: 218px !important;
  }

  .aim-window .aim-login-button {
    min-width: 44px;
    min-height: 44px;
    background-image: none !important;
  }

  .aim-window .aim-sign-on-button {
    border: 2px solid;
    border-color: #fff #777 #777 #fff;
    background: #c0c0c0 !important;
    color: #000;
    font: bold 10px/1 "MS Sans Serif", Arial, sans-serif;
  }

  .aim-window .aim-sign-on-button::before {
    content: "Sign On";
  }

  .aim-window .aim-help-button { left: 8px; top: 317px; }
  .aim-window .aim-setup-button { left: 52px; top: 317px; }

  .aim-window.is-buddy-list .aim-buddy-contact {
    left: 22px;
    width: 176px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #808080;
    background: #fff;
    color: #000;
    line-height: 38px;
  }

  .aim-window.is-buddy-list .aim-smarter-contact { top: 146px; }

  .aim-window.is-buddy-list .aim-buddy-button,
  .aim-window.is-list-setup .aim-list-button {
    top: 441px;
    width: 44px;
    height: 44px;
    background-image: none !important;
  }

  .aim-window .aim-buddy-im-button,
  .aim-window .aim-list-left-button { left: 7px; }

  .aim-window .aim-buddy-chat-button,
  .aim-window .aim-list-middle-button { left: 51px; }

  .aim-window .aim-buddy-info-button,
  .aim-window .aim-list-right-button { left: 95px; }

  .aim-chat-window {
    width: auto !important;
    min-width: 0;
    height: calc(
      100dvh - max(8px, env(safe-area-inset-top)) - 66px - env(safe-area-inset-bottom)
    ) !important;
    overflow: hidden !important;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    background: var(--aim-chat-gray);
    box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080, 1px 1px #222;
  }

  .aim-chat-window .aim-chat-title {
    left: 3px;
    right: 3px;
    top: 3px;
    width: auto;
    height: 24px;
    background: #000080;
    line-height: 24px;
  }

  .aim-chat-title::before {
    inset: 0 24px 0 18px;
  }

  .aim-chat-window .aim-chat-title .window-close {
    right: 2px;
    top: 4px;
    width: 18px;
    height: 16px;
    border: 1px solid;
    border-color: #fff #404040 #404040 #fff;
    background: #c0c0c0;
    color: #000;
  }

  .aim-chat-window .aim-chat-title .window-close::before {
    content: "x";
    display: block;
    font: bold 10px/12px Arial, sans-serif;
    text-align: center;
  }

  .aim-chat-buddy-icons,
  .aim-chat-scrollbar {
    display: none !important;
  }

  .aim-chat-transcript,
  .aim-chat-window.is-smarterchild-chat .aim-chat-transcript,
  .aim-chat-window.is-smarterchild-chat.has-chat-overflow .aim-chat-transcript {
    left: 8px;
    right: 8px;
    top: 35px;
    bottom: 174px;
    width: auto;
    height: auto;
    overflow-y: auto;
    scrollbar-width: auto;
  }

  .aim-chat-transcript::-webkit-scrollbar {
    display: initial;
  }

  .aim-chat-compose {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 58px;
    width: auto;
    height: 104px;
    font-size: 16px;
  }

  .aim-chat-action {
    top: auto;
    bottom: 7px;
    width: 16%;
    height: 44px;
    border: 2px solid;
    border-color: #fff #777 #777 #fff;
    background: #c0c0c0;
    background-image: none !important;
    color: #000;
    font: 9px/10px Arial, sans-serif;
  }

  .aim-chat-action::before {
    content: attr(aria-label);
  }

  .aim-chat-action:active {
    border-color: #777 #fff #fff #777;
  }

  .aim-chat-warn { left: 2%; }
  .aim-chat-block { left: 22%; }
  .aim-chat-add-buddy { left: 42%; }
  .aim-chat-get-info { left: 62%; }
  .aim-chat-send {
    left: 8px;
    right: 8px;
    width: auto;
  }

  .mini-control-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  .mini-transport {
    grid-column: 1;
    min-height: 44px;
    gap: 18px;
  }

  .mini-transport button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }

  .mini-volume {
    grid-column: 1;
    justify-self: stretch;
    min-height: 44px;
  }

  .mini-volume-meter {
    flex: 1 1 auto;
    height: 44px;
  }

  .mini-volume-meter::before { top: 20px; }
  .mini-volume-meter::after { top: 14px; }

  .mini-scrubber {
    height: 44px;
  }

  .track-button {
    min-height: 44px;
  }

  .palette-window {
    display: flex;
    height: min(420px, 70dvh);
    flex-direction: column;
  }

  .palette-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 44px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .notepad-page {
    overflow-x: hidden;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }

  .mine-levels {
    align-items: stretch;
    gap: 4px;
  }

  .mine-levels button {
    min-height: 44px;
    padding: 0 5px;
  }

  .mine-face {
    width: 44px;
    height: 44px;
  }

  .mine-mode-toggle {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    border: 2px solid;
    border-color: #fff #777 #777 #fff;
    background: #d7d7d7;
    font-weight: 700;
  }

  .mine-mode-toggle:active,
  .mine-mode-toggle[aria-pressed="true"] {
    border-color: #777 #fff #fff #777;
    background: #ffff80;
  }

  .mine-board-wrap {
    max-height: calc(100dvh - 238px);
    overscroll-behavior: contain;
  }

  .mine-board {
    grid-template-columns: repeat(var(--mine-cols), 30px);
  }

  .mine-cell {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 26px;
  }

  .tab-title {
    margin-top: -22px;
  }

  .closable > .tab-title,
  .word-titlebar,
  .notepad-titlebar,
  .aim-dragbar,
  .aim-chat-title {
    margin-top: 0;
  }

  .app-grid {
    grid-template-columns: repeat(3, minmax(58px, 1fr));
  }

}

@media (max-width: 700px) and (max-height: 420px) {
  .aim-window .aim-sign-on-button {
    top: auto;
    bottom: 8px;
  }
}
