/* Johnny's guestbook. The look is lab/johnny/guestbook/guestbook-mock.png (Cowork's mock, approved by John). */
@font-face { font-family: 'PS2P'; src: url('/fonts/press-start-2p-latin-400-normal.woff2') format('woff2'); }
[hidden] { display: none !important; }
body { margin: 0; background: #000; color: #c8c8c8; font: 17px/1.35 'Times New Roman', Times, serif; }
a { color: #6fa8ff; } a:visited { color: #b18cff; }
img { image-rendering: pixelated; border: 0; }
.col { max-width: 720px; margin: 0 auto; padding: 16px 18px 26px; }
.c { text-align: center; }
h1 { margin: 10px 0 4px; font: 22px/1.5 'PS2P', monospace; color: #7dffa8; text-shadow: 2px 2px 0 #0b3d20; }
.sub { font-size: 15px; color: #8a8a8a; }
.counter { display: inline-flex; gap: 2px; vertical-align: middle; }
.counter i { font: bold 20px/26px 'Courier New', monospace; font-style: normal; color: #7dffa8; background: #111; border: 1px solid #333; width: 18px; text-align: center; }
.div { display: block; margin: 14px auto; max-width: 100%; }

/* the form: a grey 1996 form box sitting on the black page */
form.sign { background: #c0c0c0; color: #000; border: 2px outset #fff; padding: 12px 14px; margin: 16px 0 8px; font: 15px/1.3 'Times New Roman', serif; }
form.sign table { width: 100%; border-collapse: collapse; }
form.sign td { padding: 4px 6px; vertical-align: top; }
form.sign td.l { width: 190px; text-align: right; font-weight: bold; padding-top: 7px; }
form.sign input[type=text], form.sign textarea, form.sign select { font: 15px 'Courier New', monospace; border: 2px inset #fff; background: #fff; color: #000; padding: 2px 4px; }
form.sign input[type=text] { width: 260px; max-width: 100%; box-sizing: border-box; }
form.sign textarea { width: 100%; height: 110px; box-sizing: border-box; resize: vertical; }
form.sign .hint { font-size: 13px; color: #333; }
form.sign .btns { text-align: center; padding-top: 8px; }
form.sign button { font: bold 14px 'Times New Roman', serif; color: #000; background: #c0c0c0; border: 2px outset #fff; padding: 3px 14px; margin: 0 6px; cursor: pointer; }
form.sign button:active { border-style: inset; }
form.sign button:disabled { color: #808080; cursor: wait; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot: people never see it, bots fill it */
.rules { font-size: 14px; color: #8a8a8a; margin: 4px 0 0; }

/* bounce message (shown when the switchboard rejects a post, or the lines are down) */
.bounce { border: 2px solid #c8584c; background: #1a0605; color: #ff8a7a; font: 14px/1.4 'Courier New', monospace; padding: 8px 12px; margin: 10px 0; }
.bounce b { color: #fff; }

/* entries */
.entry { border-top: 1px dashed #333; padding: 10px 2px 12px; }
.entry .meta { font: 13px/1.4 'Courier New', monospace; color: #6a6a6a; }
.entry .meta .no { color: #7dffa8; }
.entry .who { margin: 4px 0 4px; overflow-wrap: anywhere; }
.entry .who b { color: #ffcf5a; }
.entry .msg { white-space: pre-wrap; overflow-wrap: anywhere; }
.entry .redact { font: 14px 'Courier New', monospace; color: #c8584c; }
.entry.seized .meta, .entry.seized .who { color: #c8584c; }
.entry.seized .bars { font: 16px/1.3 'Courier New', monospace; color: #2a2a2a; letter-spacing: 1px; overflow-wrap: anywhere; }
.note { font: 14px/1.4 'Courier New', monospace; color: #6a6a6a; text-align: center; margin: 16px 0; }
.pager { font: 14px 'Courier New', monospace; text-align: center; margin: 16px 0; }
.pager .off { color: #4a4a4a; }
.foot { font-size: 14px; color: #8a8a8a; text-align: center; }
.foot p { margin: 4px 0; }

/* phones: the labels go above their fields */
@media (max-width: 560px) {
  form.sign td, form.sign td.l { display: block; width: auto; text-align: left; padding: 2px 4px; }
  form.sign td.l { padding-top: 8px; }
}
