body {
  margin: 0;
  background: teal;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

.archived-notice {
  background-color: black;
  color: white;
  margin: 0 -10px 10px -10px;
  width: 101%;
}
.archived-notice p {
  margin: 0;
  font-size: 12px;
  text-align: center;
}
.archived-notice a {
  color: white;
}
.archived-notice a:visited {
  color: #3CE64B;
}

.desktop-container {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100vh;
}

.taskbar {
  display: grid;
  grid-template-columns: 70px 10px 1fr 140px;
  align-items: center;
  gap: 4px;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgb(206, 206, 206);
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 3px 2px 4px;
  z-index: 3;
}

.taskbar button {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.start-btn {
  height: 26px;
  width: 70px;
}
.start-btn img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.taskbar-divider {
  border-right: rgb(121, 121, 121) 4px double;
  height: 26px;
  width: 1px;
}

.taskbar-tabs {
  display: flex;
  overflow-x: auto;
  gap: 2px;
}
.taskbar-tabs .tab {
  display: none;
}
.taskbar-tabs {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  width: 150px;
  margin-right: 2px;
}
.tab-btn img {
  height: 20px;
  margin-right: 5px;
}

.taskbar-right {
  background: silver;
  box-shadow: inset -1px -1px #dfdfdf, inset 1px 1px #444444,
              inset -2px -2px #fff, inset 2px 2px rgb(168, 168, 168);
  padding: 3px;
  display: flex;
  align-items: center;
  height: 20px;
  margin-right: 2px;
}
.taskbar-clock {
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
  margin: 0 4px 2px;
  font-size: 14px;
}

.desktop {
  position: relative;
  margin-top: -5px;
  height: calc(100vh - 40px);
  overflow: hidden;
}

.desktop-bg {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 500px;
  pointer-events: none;
}

.desktop-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon {
  position: absolute;
  background: transparent;
  border: none;
  box-shadow: none;
  color: white;
  text-align: center;
  width: 70px;
  padding: 5px 0;
  pointer-events: auto;
  z-index: 5;
  user-select: none;
  cursor: grab;
}
.icon:active {
  cursor: grabbing;
}
.icon img {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 4px;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.icon span {
  display: block;
  font-size: 12px;
  color: white;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
}
.icon.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.icon.disabled img {
  filter: grayscale(100%);
}

.window {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 3px 0;
  position: absolute;
  z-index: 20;
  display: none;
}
.window.large-window {
  width: 666px;
  margin: 50px;
}
.window.small-window {
  width: 350px;
}
.window.snake-window {
  width: 700px;
}
.window.calendar-window {
  position: fixed;
  bottom: 50px;
  right: 10px;
  width: 270px;
  padding-bottom: 4px;
}
.window.video-window {
  width: 500px;
  margin: 30px auto;
}
.window.email-window {
  width: 682px;
  margin: 50px;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #d01010;
  color: white;
  padding: 3px 4px;
  margin: 1px 4px 0 3px;
  cursor: grab;
}
.title-bar:active {
  cursor: grabbing;
}
.title-bar-text {
  font-weight: 800;
  font-size: 16px;
  margin-left: -80px;
}
.title-bar-text-savemail {
  margin-left: -480px;
}
.title-bar-text-note {
  margin-left: -80px;
}
.title-bar-text-trash {
  margin-left: -470px;
}
.title-bar-text-downloads {
  margin-left: -200px;
}
.title-bar-text-video {
  margin-left: -320px;
}
.title-bar-snake {
  background-color: green;
}
.title-bar-trash {
  background-color: #1084d0;
}
.title-bar-downloads {
  background-color: #1084d0;
}
.title-bar-video {
  background-color: rgb(58,176,255);
}
.title-bar-icon {
  margin-bottom: -4px;
}
.title-bar-controls button {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 5px 8px;
  margin-left: 2px;
  cursor: pointer;
}

#will1 {
  overflow: visible !important;
}
#will1 .emailbanners {
  overflow: visible !important;
}
#win-savemail .window-body {
  overflow: visible !important;
}

#will1 .subject {
  margin-left: -20px;
  padding-left: 20px;
  background: white;
  box-shadow: 5px 0 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

#will1 .banner {
  margin-right: -30px;
  margin-bottom: -10px;
  position: relative;
  z-index: 10;
  background: silver;
  padding-right: 30px;
}

#will1 .banner button:first-child {
  margin-left: -15px;
  position: relative;
  z-index: 11;
}

.window-bar {
  height: fit-content;
}

.banner {
  display: flex;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 2px 4px;
  background: silver;
}
.banner button {
  background: transparent;
  border: none;
  box-shadow: inset 0 0 #0a0a0a, inset 1px 0 #858585,
              inset 0 0 grey, inset 2px 0 #fff;
  padding: 5px 15px 5px 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.banner p {
  margin: 2px;
  font-size: 15px;
  cursor: pointer;
}
.banner button:hover {
  background: #0a0a0a1e;
}
.banner-justify-space {
  justify-content: space-between;
}
.banner-margin-neg {
  margin: 0 -9px;
}
.banner-flex {
  display: flex;
  gap: 2px;
}
.banner-flex-small {
  display: flex;
  gap: 2px;
}
.banner-wide-left {
  margin: 0 -50px 0 50px;
}
.banner-margin-inner {
  margin: 0 10px;
}
.banner-help {
  margin: 2px;
  font-size: 15px;
  cursor: pointer;
}
.banner-btn {
  background: transparent;
  border: none;
  box-shadow: inset 0 0 #0a0a0a, inset 1px 0 #858585,
              inset 0 0 grey, inset 2px 0 #fff;
  padding: 5px 15px 5px 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.banner2 {
  display: flex;
  justify-content: space-between;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 2px 4px;
  background: silver;
}
.banner2 button {
  background: transparent;
  border: none;
  box-shadow: inset 0 0 #0a0a0a, inset 1px 0 #858585,
              inset 0 0 grey, inset 2px 0 #fff;
  padding: 5px 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.banner2 p {
  margin: 2px;
  font-size: 15px;
}
.banner2 button:hover {
  background: #0a0a0a1e;
}

.window-body {
  margin: 0 6px 3px 5px;
  padding: 0 5px;
  background: white;
  height: 500px;
  border-right: solid #e9e9e9 1px;
  border-bottom: solid #f7f7f7 2px;
  border-left: solid #1a1a1aa4 1px;
  font-size: 12px;
  overflow: auto;
}
.window.small-window .window-body {
  height: 200px;
}
.window.snake-window .window-body {
  height: 400px;
  padding: 0;
}
.window-body-note {
  background: rgb(255,246,233);
  height: 200px;
}
.window-body-snake {
  background: black;
  padding: 0;
  
}

#win-paint .window-body {
  background: #c0c0c0 !important;
}

.window-body-video {
  background: black;
  padding: 0;
  height: fit-content;
}
.window-body-downloads {
  height: 400px;
}

.subject {
  background: white;
  overflow: hidden;
}
.subject p {
  font-size: 12px;
  background: #ffffff;
  width: 500px;
  padding: 3px 2px 2px;
  float: left;
  margin: 0;
}
.subject button {
  width: 60px;
  text-align: left;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf, inset -1px -1px grey, inset 1px 1px #fff;
  cursor: default;
  background: silver;
  border: none;
  float: left;
  line-height: 45px;
  height: 43px;
  margin-right: 4px;
}
.subject button:hover {
  background: transparent;
}
.subject a, .subject a:visited {
  color: #1084d0;
}
.subject-btn-to {
  line-height: 28px !important;
  height: 28px !important;
}
.subject-btn-subj {
  line-height: 26px !important;
  height: 26px !important;
}
.subject-p {
  font-size: 12px;
}
.subject-p-large {
  font-size: x-large;
  float: left;
}
.subject-link-small {
  font-size: small;
}
.subject-margin {
  margin: 0 190px 0 -190px;
}

.email {
  height: 360px;
  margin: 1px -6px auto auto;
  overflow-y: scroll;
}
.email-scroll {
  overflow-y: scroll;
}
.email-short {
  margin: 380px 0 0;
  height: 80px;
}
.email-auto {
  overflow-y: auto;
}
.email-scroll-long {
  overflow-y: scroll;
}
.emailbanners {
  margin: 0 -9px;
}

.mailcontent {
  display: none;
}

.headline {
  width: calc(100% + 10px) !important;
  margin: 0 -5px !important;
  background: silver;
  box-shadow: inset -1px -1px #fff, inset 1px 1px grey,
              inset -1px -1px #dfdfdf, inset 1px 1px #424242;
  cursor: pointer;
  padding: 2px 0;
  font-size: 17px;
  display: flex;
}
.headline p {
  padding-left: 2px;
  padding-top: 2px;
  margin: 0 2px 0 0;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -1px -1px grey, inset 1px 1px #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}
.headline p:last-child {
  margin-right: 0 !important;
}
.headline img {
  width: 20px;
  padding: 5px;
  margin: auto 2px;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -1px -1px grey, inset 1px 1px #fff;
}
.headline-name { width: 70px; }
.headline-email { width: 170px; }
.headline-subject { flex: 1; min-width: 200px; }
.headline-received {
  width: 140px;
  text-align: right;
  padding-right: 8px;
}

.email-folder {
  width: 100%;
}
.email-folder button {
  width: 100%;
  background: inherit;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  box-sizing: border-box;
}
.email-folder button:hover {
  background: #e9e9e9;
}
.email-folder button img {
  width: 18px;
  margin-right: 4px;
  flex-shrink: 0;
}
.email-folder button p {
  margin: 0;
  padding: 2px 6px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: solid 1px #424242;
  flex-shrink: 0;
  box-sizing: border-box;
}
.email-folder button p:first-child {
  border-left: none;
}
.email-folder button p:last-child {
  margin-right: 0;
}
.folder-name { width: 70px; }
.folder-email { width: 170px; }
.folder-subject { flex: 1; min-width: 200px; }
.folder-date {
  width: 140px;
  text-align: right;
  padding-right: 6px;
}

.can {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  justify-content: flex-start;
}
.can .icon {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 70px;
  margin: 0 !important;
  color: black;
  cursor: default;
  background: transparent;
  border: none;
  padding: 5px 0;
}
.can .icon span {
  color: black;
  text-shadow: none;
}
.can .icon img {
  cursor: default;
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 4px;
}

.image-window {
  position: absolute;
  z-index: 20;
  display: none;
  cursor: grab;
}
.image-window:active {
  cursor: grabbing;
}
.image-window .close-btn {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 21;
}
.image-win1 { margin:10px 0 0 100px; }
.image-win2 { margin:30px 0 0 70px; }
.image-win3 { margin:25px 0 0 60px; }

.popup {
  position: absolute;
  z-index: 30;
  animation: urgent 0.18s 5;
  display: none;
}
.popup p {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}
.popup-help { margin:10px auto; }
.popup-del { margin:50px auto; }
.popup-for { margin:30px auto; }
.popup-meow { margin:30px auto; }
.popup-window {
  width: 350px;
}
.popup-window.large {
  width: 450px;
}

.calendar-window table {
  border-collapse: collapse;
  background: white;
  color: black;
  width: 100%;
}
.calendar-window th {
  color: white;
  background: blue;
  padding: 2px;
}
.calendar-window td {
  text-align: center;
  padding: 2px;
}
.monHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
.monHead h2 {
  margin: 5px 0;
  font-size: 16px;
  color: blue;
  cursor: pointer;
}
.month-arrow { float:left; }
.month-title { color:blue; cursor:default; }
.calendar-table {
  background: lightgrey;
  cellspacing:4;
  cellpadding:4;
}

.month {
  display: none;
}

#blinky-icon {
  display: none;
}
#blinky-frame {
  display: none;
}
.blinky-close.old {
  display: none;
}

.spam-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.spam-popup {
  display: none;
  position: absolute;
  width: fit-content;
  pointer-events: all;
  z-index: 100;
}
.spam-popup .close-btn {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  position: absolute;
  right: 8px;
  top: 8px;
}

.spam-popup {
  cursor: grab;
}
.spam-popup:active {
  cursor: grabbing;
}

* {
  scrollbar-width: auto;
  scrollbar-color: #8c8c8c #d6d6d6;
}
*::-webkit-scrollbar {
  width: 16px;
}
*::-webkit-scrollbar-track {
  background: #dfdfdf;
}
*::-webkit-scrollbar-thumb {
  background: silver;
  border-radius: 2px;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
}

@keyframes urgent {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  75% { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}
@keyframes flash {
  0% { background: silver; }
  25% { background: #ef3030; }
  50% { background: silver; }
  75% { background: #ef3030; }
  100% { background: silver; }
}
.urgent-flash {
  animation: urgent 1s infinite, flash 1s infinite;
}

#win-email .window-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 500px;
  padding: 0 5px;
  box-sizing: border-box;
}

#win-email .email {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  height: auto;
}

.paint-window {
  width: min(862px, 95vw);
}
.paint-title-bar .title-bar-text {
  margin-left: -694px;
}
.paint-body {
  padding: 5px;
}
.paint-toolbar-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  background: silver;
  padding: 4px;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
}
.paint-tools {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.paint-tool {
  width: 32px;
  height: 32px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: silver;
  border: none;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.paint-tool.active {
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #dfdfdf,
              inset 2px 2px grey, inset -2px -2px #fff;
  background: #c0c0c0;
}
.paint-brush-size {
  display: flex;
  align-items: center;
  gap: 4px;
  background: silver;
  padding: 2px 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.paint-brush-size input {
  width: 80px;
}
.paint-current-color {
  display: flex;
  align-items: center;
  gap: 4px;
  background: silver;
  padding: 2px 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.color-preview {
  width: 24px;
  height: 20px;
  border: 2px solid #808080;
  background: black;
}
.paint-clear,
.paint-save {
  background: silver;
  border: none;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.paint-clear:active,
.paint-save:active {
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #dfdfdf,
              inset 2px 2px grey, inset -2px -2px #fff;
}
.paint-clear {
  margin-left: auto;
}
.paint-save {
  margin-left: 4px;
}
.paint-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 8px;
  background: silver;
  padding: 4px;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
}
.paint-color {
  width: 24px;
  height: 24px;
  border: 2px solid silver;
  cursor: pointer;
  padding: 0;
}
.paint-color:hover {
  border-color: white;
}
.paint-canvas {
  border: 2px solid #aaa;
  background: white;
  cursor: crosshair;
  width: 100%;
  height: auto;
  display: block;
}

.paint-font-size {
  display: flex;
  align-items: center;
  gap: 2px;
  background: silver;
  padding: 2px 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.paint-font-size input {
  width: 50px;
  background: white;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}
.paint-font-family {
  background: white;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
  padding: 2px;
  font-size: 12px;
  flex-shrink: 0;
}
.paint-undo {
  background: silver;
  border: none;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.paint-undo:active {
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #dfdfdf,
              inset 2px 2px grey, inset -2px -2px #fff;
}

.text-editor {
  position: absolute;
  display: none;
  background: transparent;
  border: 1px dashed #000;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: black;
  padding: 2px;
  outline: none;
  white-space: pre-wrap;
  word-wrap: break-word;
  z-index: 100;
  cursor: move;
  user-select: text;
  min-width: 50px;
  min-height: 1.2em;
  box-sizing: border-box;
}
.text-editor:focus {
  border: 1px dashed #000;
}

.downloads-window {
  width: 600px;
}
#win-downloads .window-body {
  height: 400px;
}
#win-downloads .address-bar-banner {
  margin: 0 -9px;
}
#win-downloads .address-button {
  float: left;
  line-height: 18px;
  height: 25px;
  width: 60px;
  text-align: left;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf, inset -1px -1px grey, inset 1px 1px #fff;
  cursor: default;
  background: silver;
  border: none;
  margin-right: 4px;
}
#win-downloads .address-bar {
  float: left;
  display: flex;
  background: white;
  height: 22px;
  margin-top: 2px;
  width: 300px;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}
#win-downloads .address-bar img {
  margin: 1px;
  height: 20px;
}
#win-downloads .address-bar p {
  margin-top: 0;
  line-height: 22px;
  font-size: 12px;
}
#win-downloads .can {
  height: 280px;
  overflow-y: auto;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}
#win-downloads .folder-item {
  position: static;
  display: inline-block;
  width: 70px;
  margin: 5px;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 5px 0;
  color: black;
}
#win-downloads .folder-item img {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 4px;
  pointer-events: none;
}
#win-downloads .folder-item span {
  display: block;
  font-size: 12px;
  color: black;
  text-shadow: none;
  word-wrap: break-word;
}
#win-downloads .folder-item.placeholder {
  opacity: 0.6;
  cursor: default;
}

/* Blinky Boo */
.blinky-boo {
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 1000;
  display: none;
}
.helpmessage {
  background: url(/images/helper_speak.png);
  width: 144px;
  height: 117px;
  display: flex;
  align-items: center;
  position: relative;
  font-size:12px;
  z-index: 0;
  background-size: contain;
  image-rendering: pixelated;
  background-repeat: no-repeat;
}
.blinky {
  background: url(/images/blinkyboo.gif);
  width: 96px;
  height: 96px;
  margin-left: 84px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  background-size: contain;
  image-rendering: pixelated;
  background-repeat: no-repeat;
  cursor: pointer;
}
#message {
  padding: 10px;
  padding-top: 2px;
  margin-top: 0px;
  height: 80px;
  font-family: 'Open Sans', sans-serif;
  overflow-y: auto;
  scrollbar-width: thin;
  width: 100%;
}
.blinky-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 1px 4px 4px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  z-index: 2;
}

#win-trash.window {
  width: 550px !important;
}
#win-trash .title-bar-text-trash {
  margin-left: 0 !important;
  text-align: left !important;
}
#win-trash .banner2 {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  padding: 2px 4px !important;
  margin: 0 !important;
  background: silver;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  width: 100% !important;
  box-sizing: border-box !important;
}
#win-trash .banner2 button {
  padding: 4px 8px !important;
  min-width: auto !important;
  flex: 0 0 auto !important;
  background: transparent;
  border: none;
  box-shadow: inset 0 0 #0a0a0a, inset 1px 0 #858585,
              inset 0 0 grey, inset 2px 0 #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
#win-trash .banner2 button p {
  margin: 0 2px !important;
  font-size: 14px;
  white-space: nowrap;
}
#win-trash .banner2 button img {
  width: 20px;
  height: 20px;
}
#win-trash .window-body {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#win-trash .banner {
  margin: 0 !important;
  padding: 2px 4px !important;
  background: silver;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-height: 28px;
}
#win-trash .address-btn {
  height: 22px !important;
  line-height: 22px !important;
  padding: 0 6px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  background: silver;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  cursor: default;
  white-space: nowrap;
}
#win-trash .address-bar {
  height: 22px !important;
  margin: 0 0 0 4px !important;
  display: flex !important;
  align-items: center !important;
  background: white;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
  box-sizing: border-box;
  overflow: hidden;
  width: 250px !important;
  max-width: 100%;
}
#win-trash .address-bar img {
  height: 20px !important;
  width: auto;
  margin: 0 2px !important;
}
#win-trash .address-bar p {
  margin: 0 !important;
  line-height: 20px !important;
  font-size: 12px !important;
  padding: 0 4px !important;
  white-space: nowrap;
}
#win-trash .can {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  padding: 8px 10px 10px 10px !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#win-trash .can .icon {
  all: initial !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 70px !important;
  margin: 0 !important;
  padding: 5px 0 !important;
  background: transparent !important;
  border: none !important;
  color: black !important;
  cursor: default !important;
  font-family: inherit;
}
#win-trash .can .icon img {
  width: 32px !important;
  height: 32px !important;
  margin: 0 auto 4px !important;
  display: block !important;
  cursor: default !important;
}
#win-trash .can .icon span {
  display: block !important;
  font-size: 12px !important;
  color: black !important;
  text-shadow: none !important;
  text-align: center !important;
  pointer-events: none !important;
}

.window.image-window .window-body img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.note-title {
  margin-top: 4px;
}
.note-text {
  font-size: 12px;
}

.snake-iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
}

.address-subject {
  background: white;
  overflow: hidden;
}
.address-btn {
  float: left;
  line-height: 18px;
  height: 25px;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf, inset -1px -1px grey, inset 1px 1px #fff;
  cursor: default;
  background: silver;
  border: none;
  margin-right: 4px;
}
.address-bar {
  float: left;
  display: flex;
  background: white;
  height: 22px;
  margin-top: 2px;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}
.address-icon {
  margin: 1px;
  height: 20px;
}
.address-text {
  margin-top: 0;
  line-height: 22px;
  font-size: 12px;
}

.subject {
  background: #c0c0c0;
  overflow: hidden;
}
.subject button {
  float: left;
  width: 60px;
  text-align: left;
  box-shadow: inset -1px -1px #424242, inset 1px 1px #dfdfdf,
              inset -1px -1px grey, inset 1px 1px #fff;
  cursor: default;
  background: silver;
  border: none;
  margin-right: 4px;
}
.subject p {
  float: left;
  background: white;
  padding: 3px 2px 2px;
  margin: 0;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}
.subject .from-btn {
  line-height: 45px;
  height: 43px;
}
.subject .to-btn {
  clear: left;
  line-height: 28px;
  height: 28px;
}
.subject .subj-btn {
  clear: left;
  line-height: 26px;
  height: 26px;
}
.subject .from-text {
  font-size: x-large;
  width: 500px;
}
.subject .to-text,
.subject .subj-text {
  font-size: 12px;
  width: 500px;
}
.subject a, .subject a:visited {
  color: #1084d0;
}
.subject a {
  font-size: small;
}

.banner-margin-neg {
  margin: 0 -9px;
}
.banner-wide-left {
  margin: 0 -50px 0 50px;
}
.banner-margin-inner {
  margin: 0 10px;
}
.email-short {
  margin: 380px 0 0;
  height: 80px;
}
.email-auto {
  overflow-y: auto;
}
.email-scroll-long {
  overflow-y: scroll;
}
.long-text {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.small-link {
  font-size: small;
}

.popup {
  position: fixed !important;
  top: 25% !important;
  left: 40% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 5000 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none;
  background: transparent;
  border: none;
}

.popup .window {
  display: block !important;
  min-width: 280px;
  background: silver;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.7);
  animation: urgent-shake 0.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  border: none;
  padding: 0px 0;
}

.popup-window p {
  padding: 20px;
  margin: 0;
  text-align: center;
  font-weight: bold;
  background: #c0c0c0;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}

.popup .title-bar {
  background: #d01010 !important;
  color: white;
  padding: 4px 6px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1px 4px 0 3px;
  cursor: default;
}

.popup .title-bar-text {
  margin-left: 0;
  font-size: 14px;
}

.popup .title-bar-controls button {
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  border: none;
  padding: 3px 6px;
  margin-left: 2px;
  cursor: pointer;
}

/* Shake animation */
@keyframes urgent-shake {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-6px, 0); }
  20% { transform: translate(6px, 0); }
  30% { transform: translate(-5px, 0); }
  40% { transform: translate(5px, 0); }
  50% { transform: translate(-4px, 0); }
  60% { transform: translate(4px, 0); }
  70% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 0); }
  90% { transform: translate(-1px, 0); }
  100% { transform: translate(0, 0); }
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;

  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 0, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.3) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.12) 0px,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 1px,
      transparent 5px
    );

  background-blend-mode: overlay, screen, screen, normal, overlay, normal;
  background-size: auto, auto, auto, auto, auto, 100% 8px;
  animation: scanlines 12s linear infinite, crt-flicker 8s infinite step-end;

  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7),
              inset 0 0 40px rgba(0, 0, 0, 0.4),
              0 0 0 2px rgba(0, 180, 0, 0.2);
  
  backdrop-filter: blur(0.4px);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

.spam-container::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9997;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc1IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wMjUiIC8+PC9zdmc+');
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

@keyframes scanlines {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 8px; }
}

@keyframes crt-flicker {
  0%, 100% { opacity: 1; }
  95% { opacity: 0.97; }
  96% { opacity: 1; }
  97% { opacity: 0.98; }
  98% { opacity: 1; }
}

.icon img,
#win-trash .can .icon img,
#win-downloads .folder-item img {
  width: auto !important;
  height: auto !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
}

/* mobile stuff */
.mobile {
  pointer-events: auto !important;
}
.mobile * {
  pointer-events: auto !important;
}

.mobile #win-paint {
  max-width: 400px !important;
  width: 90% !important;
  left: 5% !important;
}

.mobile .paint-canvas {
  touch-action: none !important;
  width: 100% !important;
  height: auto !important;
}

.mobile .paint-toolbar-row {
  flex-wrap: wrap !important;
  gap: 2px !important;
  justify-content: center !important;
}
.mobile .paint-tools {
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.mobile .paint-brush-size input {
  width: 60px !important;
}
.mobile .paint-font-size input {
  width: 40px !important;
}
.mobile .paint-font-family {
  max-width: 100px !important;
}

.mobile button,
.mobile .icon,
.mobile .tab-btn,
.mobile .banner p,
.mobile .banner-help,
.mobile .banner-btn,
.mobile .start-btn,
.mobile .paint-tool,
.mobile .paint-clear,
.mobile .paint-save,
.mobile .paint-undo {
  min-height: 44px !important;
  min-width: 44px !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

.credits-icon {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: auto;
  cursor: pointer;
  z-index: 10000;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 #000);
  transition: filter 0.2s;
}

.credits-icon:hover {
  filter:
    drop-shadow(2px 2px 0 #f00)
    drop-shadow(-2px -2px 0 #0f0)
    drop-shadow(2px -2px 0 #0ff);
}

.credits-panel {
  position: fixed;
  top: 60px;
  right: 10px;
  width: 320px;
  max-width: calc(100vw - 30px);
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 10px 15px 15px 15px;
  z-index: 10001;
  display: none;
  font-family: 'Open Sans', sans-serif;
  color: black;
  border: none;
}
.credits-panel.show {
  display: block;
}


.close-credits {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  background: silver;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
              inset -2px -2px grey, inset 2px 2px #fff;
  padding: 0 8px 4px 8px;
  line-height: 24px;
  margin-top: -5px;
  margin-right: -5px;
}
.close-credits:hover {
  background: #c0c0c0;
}


.credits-panel h4 {
  margin: 10px 0 5px 0;
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  clear: both;
}
.credits-panel h4:first-of-type {
  margin-top: 5px;
}


.credits-panel pre {
  background: white;
  padding: 8px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
  border: 1px solid #a0a0a0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
  margin: 0 0 10px 0;
}


.credits-panel a {
  display: block;
  color: #00a;
  text-decoration: none;
  padding: 4px 0;
  font-size: 13px;
  border-bottom: 1px solid #808080;
}
.credits-panel a:hover {
  background: #c0c0c0;
  color: #fff;
  text-shadow: 0 0 2px black;
}
.credits-panel a:last-child {
  border-bottom: none;
}

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

.desktop-container {
  height: 100vh;
  overflow: hidden;
}