body {
  margin: 0;
  overflow: hidden;
  background-color: lightskyblue;
  font-family: "Courier New", Courier, monospace;
  background-image: radial-gradient(#ffffff66 2px, transparent 2px);
  background-size: 50px 50px;
  user-select: none;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
  cursor: grab;
}

.window {
  position: absolute;
  width: 350px;
  height: 450px;
  background: white;
  border: 3px solid #000;
  box-shadow: 5px 5px 0px #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  resize: both;
  min-width: 200px;
  min-height: 200px;
}

.window-header {
  background: #000;
  color: white;
  padding: 8px;
  cursor: grab;
  font-weight: bold;
  user-select: none;
}

.window-header:active {
  cursor: grabbing;
}

.window-content {
  padding: 15px;
  overflow: auto;
  flex-grow: 1;
  user-select: text;
}

#ghost {
  display: none;
  position: absolute;
  width: 350px;
  height: 450px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px dashed #000;
  pointer-events: none;
  z-index: 9999;
}

#ghost.invalid {
  background: rgba(255, 0, 0, 0.2);
  border-color: red;
}

.window-content img {
  max-width: 100%;
  height: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 8px;
  width: max-content;
}

.image-grid a {
  display: block;
}

.image-grid a:hover img {
  outline: 2px solid #000;
  outline-offset: -2px;
}

.image-grid img {
  display: block;
  max-width: 300px;
}

.music-entry {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #000;
}

.music-entry:last-child {
  border-bottom: none;
}

.chat-frame {
  width: 100%;
  min-height: 400px;
  border: 0;
}

.blog-post {
  margin-bottom: 24px;
}

.blog-post h2 {
  margin-bottom: 4px;
}

.blog-post time {
  font-size: 0.85em;
  color: #555;
}
