html {
  background: transparent;
  cursor: url("cursor.svg") 3 2, auto;
}

html:active,
a:hover {
  cursor: url("cursor-select.svg") 3 2, auto;
}

body {
  margin: 0;
  padding: 8px;
  color: #000;
  cursor: inherit;
  font-family: "Courier New", Courier, ui-monospace, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.35;
  max-width: 70ch;
}

body.has-ticker {
  padding-bottom: 36px;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: bold;
  color: #555;
  margin: 12px 0 28px;
}

a {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

b,
strong {
  color: #555;
}

ul {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}

li {
  white-space: nowrap;
}

p {
  margin: 0 0 1.4em;
}

hr {
  border: 0;
  border-top: 1px dashed #000;
  margin: 1.4em 0;
}

.section-heading {
  margin-bottom: 0;
}

.gap {
  height: 1.4em;
}

.dim {
  color: #666;
}

.b64 {
  margin-top: 80px;
}

.ascii-animation {
  position: absolute;
  top: 64px;
  right: 8px;
  box-sizing: border-box;
  width: calc(152ch + 12px);
  height: calc(47 * 1.1em + 12px);
  margin: 0;
  padding: 6px;
  color: #000;
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  line-height: 1.1;
  overflow: hidden;
  white-space: pre;
}

.ascii-animation.movie-art {
  width: calc(176ch + 12px);
  height: calc(79 * 1.1em + 12px);
}

#physics-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.guestbook-page {
  max-width: none;
}

.guestbook-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.guestbook-layout main,
.fish-panel {
  flex: 0 1 520px;
  min-width: 0;
}

.fish-panel {
  position: relative;
  z-index: 52;
}

.fish-panel h2 {
  margin-top: 0;
}

form {
  margin: 0 0 1.4em;
}

label {
  display: block;
  margin-bottom: 4px;
}

label ~ label {
  margin-top: 8px;
}

input[type="text"],
textarea {
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 0;
  padding: 3px;
  background: #fff;
}

textarea {
  height: 6em;
  resize: vertical;
}

button {
  font: inherit;
  color: #000;
  border: 1px solid #000;
  border-radius: 0;
  background: #eee;
  padding: 2px 10px;
  cursor: pointer;
  margin-top: 6px;
}

button:disabled {
  color: #888;
  cursor: default;
}

.hp {
  position: absolute;
  left: -9999px;
}

.entry {
  margin-bottom: 1.2em;
}

.entry .who {
  font-weight: bold;
}

.entry .when {
  color: #666;
}

.entry .msg {
  white-space: pre-wrap;
  word-wrap: break-word;
}

#status,
.fish-status {
  margin-left: 8px;
}

.fish-canvas,
.fish-preview {
  display: block;
  max-width: 100%;
  height: auto;
  background: #cfe8ff;
  border: 2px inset #888;
}

.fish-canvas {
  width: 480px;
  touch-action: none;
  cursor: crosshair;
}

.fish-preview {
  width: 240px;
  margin-bottom: 6px;
}

.fish-palette {
  margin: 6px 0;
}

.fish-swatch {
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 1px;
  border: 2px outset #ccc;
}

.fish-swatch.active {
  border: 2px inset #000;
}

.fish-layer {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 50;
}

.admin-row {
  margin-bottom: 12px;
}

.bubble-layer {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 60;
}

.cursor-bubble {
  position: fixed;
  left: 0;
  top: 0;
  color: #000;
  font-family: "Courier New", Courier, monospace;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
}

.ticker-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: #fff;
  border-top: 1px solid #000;
  overflow: hidden;
  z-index: 55;
  display: flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.ticker-bar.ready {
  opacity: 1;
}

.ticker-track,
.ticker-half,
.ticker-cycle {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ticker-sep {
  color: #666;
  white-space: pre;
}

.kelp-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 0;
  pointer-events: none;
  z-index: 40;
}

.kelp-stalk {
  position: absolute;
  bottom: 0;
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.05;
  color: #3a5a3a;
  white-space: pre;
  pointer-events: auto;
}

.apache-page {
  max-width: 96ch;
}

.apache-img {
  width: 20px;
  height: 22px;
  vertical-align: text-bottom;
  image-rendering: pixelated;
  margin-right: 4px;
}

.apache-list li {
  margin-bottom: 4px;
}

.gamefaqs-page {
  max-width: 82ch;
}

.gamefaqs-header {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.2;
  margin: 0 0 1em;
  overflow-x: auto;
}

@media (max-width: 700px) {
  .ascii-animation {
    position: static;
    margin: 32px 0 0;
    font-size: 1vw;
  }
}

@media (max-width: 600px) {
  .guestbook-layout {
    display: block;
  }

  .fish-panel {
    margin-top: 1.4em;
  }

  .kelp-stalk {
    font-size: 10px;
  }
}
