body {
  background-color: #008080;
  font-family: 'VCR OSD Mono', monospace;
  margin: 0;
  overflow-x: hidden;
}

.window {
  background: #c0c0c0;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 #000;
  padding: 5px;
}

.title-bar {
  background: linear-gradient(to right, #000080, #1084d0);
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  padding: 2px;
  display: flex;
  align-items: center;
  height: 30px;
  z-index: 1000;
}

.start-button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 2px 8px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
}

.start-button:hover {
  background: #d3d3d3;
}

.start-menu {
  position: fixed;
  bottom: 34px;
  left: 2px;
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 5px;
  z-index: 1001;
}

.menu-item {
  padding: 2px 10px;
  cursor: pointer;
}

.menu-item:hover {
  background: #000080;
  color: #fff;
}

form textarea {
  width: 100%;
  resize: none;
  font-family: 'VCR OSD Mono', monospace;
  margin-bottom: 10px;
}

form button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 5px 10px;
}

.confession {
  background: #fff;
  border: 1px solid #000;
  padding: 10px;
  margin-bottom: 10px;
}

.confession__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.confession__body span {
  flex: 1 1 auto;
}

.confession__body small {
  flex: 0 0 100%;
}

.delete-btn {
  font-family: 'VCR OSD Mono', monospace;
  padding: 2px 8px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
  margin-top: 5px;
}

.delete-btn:hover {
  background: #d3d3d3;
}

.tab-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.tab-button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 5px 10px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
}

.tab-button.active {
  background: #d3d3d3;
  border-style: inset;
}

.tab-button:hover:not(.active) {
  background: #d3d3d3;
}

.tab-content {
  padding: 10px;
}

.color-palette {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  cursor: pointer;
}

.color-swatch:hover {
  border-color: #fff;
}

.clippy {
  position: fixed;
  bottom: 40px;
  right: 10px;
  z-index: 1000;
}

.clippy-img {
  width: 80px;
  height: auto;
  cursor: pointer;
}

.clippy-message {
  position: absolute;
  bottom: 90px;
  right: 0;
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 10px;
  width: 200px;
  box-shadow: 2px 2px 0 #000;
  z-index: 1001;
}

.clippy-message button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 2px 8px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
}

.clippy-message button:hover {
  background: #d3d3d3;
}

#error-dialog {
  animation: bounce 2s 5;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

#blackjack-dialog .window-body {
  padding: 15px;
  font-family: 'VCR OSD Mono', monospace;
}

#blackjack-dialog p {
  margin: 0 0 10px 0;
}

#blackjack-dialog button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 5px 10px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
  margin-right: 5px;
}

#blackjack-dialog button:hover:not(:disabled) {
  background: #d3d3d3;
}

#blackjack-dialog button:disabled {
  background: #808080;
  cursor: not-allowed;
}

.bet-button {
  padding: 3px 8px;
  font-size: 12px;
}

#deal-button {
  font-family: 'VCR OSD Mono', monospace;
  padding: 3px 8px;
  font-size: 12px;
  background: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
  margin-left: 5px;
}

#deal-button:hover:not(:disabled) {
  background: #d3d3d3;
}

#deal-button:disabled {
  background: #808080;
  cursor: not-allowed;
}

#confession-feed {
  font-size: 18px; /* Change this value as needed */
}

@media (max-width: 600px) {
  #blackjack-dialog {
    width: 90%;
  }
  #blackjack-dialog .window-body {
    padding: 10px;
  }
  #blackjack-dialog button {
    padding: 3px 6px;
    font-size: 12px;
  }
  .bet-button {
    padding: 2px 6px;
    font-size: 10px;
  }
  #deal-button {
    padding: 2px 6px;
    font-size: 10px;
  }
}

.clippy-message span {
  display: block;
  max-height: 100px;
  overflow-y: auto;
  word-break: break-word;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .clippy-message span {
    max-height: 80px;
    font-size: 10px;
  }
}

.reaction-buttons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.like-icon, .dislike-icon {
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

.like-icon[data-disabled="true"], .dislike-icon[data-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .reaction-buttons {
    gap: 5px;
  }
  .like-icon, .dislike-icon {
    font-size: 16px;
  }
}