/* The bot guestbook (/botcatcher/guestbook/, 2026-11-03): on top of who.css (the sub pages' shared rules: pink html,
   Courier body, lime h1 with a hard black drop, .glass, .back). Same look as the rest of the Bot Collector:
   no black boxes, text on blurred glass or lime bands, hard shadows. */
.book { max-width: 820px; }
.intro { margin: 0 0 18px; padding: 14px 16px; }
.intro p { margin: 0 0 10px; }
.intro p:last-child { margin-bottom: 0; }
.intro .taps { font-weight: 700; }
.sr { position: absolute; left: -9999px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.asleep { padding: 10px 14px; margin: 0 0 18px; background: #FBAED2; border: 2px solid #000; font-weight: 700; }

/* The plain page the server sends without script (/api/guestbook): the box and the exchanges as a list */
.box { margin: 0 0 28px; padding: 14px 16px; }
.box label { display: block; font-weight: 700; margin: 0 0 12px; }
.box textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 0; padding: 8px 10px; font: inherit; color: #000; background: rgba(255,255,255,0.6); border: 2px solid #000; min-height: 110px; resize: vertical; }
.box textarea:focus { outline: none; border-color: #000; background: #fff; }
.box button, .sign button { display: inline-block; padding: 8px 16px; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 16px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #000; background: rgb(183,255,0); border: 2px solid #000; box-shadow: 4px 4px 0 #000; cursor: pointer; }
.box button:hover, .box button:focus-visible, .sign button:hover, .sign button:focus-visible { background: #FBAED2; outline: none; }
.box button[disabled], .sign button[disabled] { opacity: 0.6; cursor: wait; }
.box.shut textarea, .box.shut button, .sign.shut textarea, .sign.shut button { opacity: 0.35; cursor: not-allowed; }
.said { margin: 12px 0 0; padding: 10px 12px; background: rgb(183,255,0); box-shadow: 4px 4px 0 #000; font-weight: 700; line-height: 1.5; }
.said.no { background: #FBAED2; }
.thread { margin: 0 0 14px; padding: 12px 16px; }
.thread .who { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.thread .turn { margin: 0 0 8px; }
.thread .turn:last-child { margin-bottom: 0; }
.thread .turn b { font-family: Impact, "Arial Narrow", Arial, sans-serif; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; }
.thread .turn.head { padding-left: 14px; border-left: 4px solid rgb(183,255,0); }
.empty { padding: 12px 16px; margin: 0 0 14px; }
.empty a { font-weight: 700; }

/* The book (2026-11-04, the artist: "like a traditional guest book with different pages"). A deep purple cover (the
   Advertising frames' purple and drop), white ruled pages with printed column headings and hot pink column rules,
   like a visitors' book; every line of text sits on a rule (--lh), so heights are whole lines. One page under 1100px,
   two side by side from there; under 600px the date and visitor go on one line above the remarks. */
.gb { max-width: 1200px; }
.gb .intro { max-width: 820px; }
.js #sign-home { display: none; }
html:not(.js) .js-only { display: none; }
#sign-home { --lh: 24px; max-width: 820px; padding: 14px 16px; margin: 0 0 20px; }
.gbook { position: relative; margin: 0 0 34px; padding: 10px; background: #5a1a8c; box-shadow: 6px 6px 0 #2a065a; perspective: 2400px; }
.spread { display: grid; grid-template-columns: minmax(0, 1fr); }
/* a click or tap on a page turns it */
.spread .page { cursor: pointer; }
.spread .sign-row, .spread .sign-row *, .spread a { cursor: auto; }
.spread a { cursor: pointer; }
/* the page turning over (index.html's flip()): a leaf with a copy of each side of the turning page */
.leaf { position: absolute; z-index: 3; pointer-events: none; transform-style: preserve-3d; }
.leaf .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf .face > .page { height: 100%; }
.leaf .f-back { transform: rotateY(180deg); }
.spread.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.opening { margin: 0; padding: 40px 20px; background: #fff; text-align: center; font-weight: 700; }
.page { --lh: 22px; --lines: 24; --c1: 0px; --c2: 0px; position: relative; box-sizing: border-box; padding: 14px 14px 8px; color: #000; background-color: #fff; font-size: 13px; line-height: var(--lh); box-shadow: 2px 2px 0 #FBAED2, 4px 4px 0 #fff, 5px 5px 0 #FBAED2; backface-visibility: hidden; }
.page.measure { visibility: hidden; }
.cols { line-height: var(--lh); border-bottom: 2px solid rgb(255,79,123); font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.cols span + span::before { content: " · "; }
.lines { min-height: calc(var(--lines) * var(--lh)); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--lh) - 1px), #FBAED2 calc(var(--lh) - 1px), #FBAED2 var(--lh)); }
.row + .row { margin-top: var(--lh); }
.row > div { min-width: 0; overflow-wrap: anywhere; }
.c-date, .c-who { display: inline; font-size: 12px; font-weight: 700; }
.c-who::before, .c-date span + span::before, .c-who span::before { content: " · "; }
.cont .c-who { display: none; }
.c-who b { font-weight: 700; }
.ct { font-style: italic; font-weight: 400; }
.c-say p { margin: 0; }
.c-say .h { padding-left: 10px; border-left: 3px solid rgb(255,79,123); }
.c-say .h b { font-family: Impact, "Arial Narrow", Arial, sans-serif; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; }
.c-say .more a { font-weight: 700; }
.pno { margin: 4px 0 0; text-align: center; font-size: 11px; line-height: 18px; min-height: 18px; }

/* the box, written straight on the page's lines */
.sign { margin: 0; }
.sign label { display: block; margin: 0; }
.sign .carry { margin: 0; font-size: 12px; font-style: italic; }
.sign .carry a { font-style: normal; font-weight: 700; }
.sign textarea { display: block; width: 100%; box-sizing: border-box; height: calc(4 * var(--lh)); margin: 0; padding: 0 4px; font: inherit; line-height: var(--lh); color: #000; background: transparent; border: 0; border-radius: 0; outline: 2px dashed rgb(255,79,123); outline-offset: -2px; resize: none; }
.sign textarea:focus { outline-style: solid; }
.sign button { margin: 8px 0 0; padding: 4px 14px; font-size: 15px; line-height: 1.2; }
.sign .said { font-size: 12px; padding: 6px 10px; margin-top: 10px; }

/* turning the pages: buttons under the book, a folded corner at each outer corner, the arrow keys, a swipe */
.turns { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 700; font-size: 12px; }
.turns .mid { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.turns .jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; }
.turns button.jump { padding: 0; font: inherit; font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; text-decoration: underline; background: none; border: 0; box-shadow: none; cursor: pointer; }
.turns button.jump:hover, .turns button.jump:focus-visible { background: rgb(183,255,0); }
.turns button.jump[disabled] { opacity: 0.4; cursor: default; text-decoration: none; }
.turns button.jump[disabled]:hover { background: none; }
.turns[hidden], .corner[hidden] { display: none; }
.turns .w { display: none; }
.turns button { padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #000; background: rgb(183,255,0); border: 2px solid #000; box-shadow: 3px 3px 0 #000; cursor: pointer; }
.turns button:hover, .turns button:focus-visible { background: #FBAED2; outline: none; }
.turns button[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }
.turns button[disabled]:hover { background: rgb(183,255,0); }
.whole { margin: 0 0 24px; font-size: 12px; }
.whole a { font-weight: 700; }
/* for programs: a closed drop-down under the book saying how to write without a browser */
.programs { max-width: 820px; margin: -14px 0 24px; padding: 8px 14px; font-size: 13px; }
.programs summary { font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; cursor: pointer; }
.programs p { margin: 8px 0 2px; }
.programs b { overflow-wrap: anywhere; }
/* the tabs on the book's bottom corners, hanging over the cover's edge */
.corner { position: absolute; bottom: -18px; z-index: 4; padding: 6px 12px; font-family: "Courier New", Courier, monospace; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.2; color: #000; background: rgb(183,255,0); border: 2px solid #000; box-shadow: 3px 3px 0 #000; cursor: pointer; }
.corner.c-back { left: 14px; }
.corner.c-fwd { right: 14px; }
.corner:hover, .corner:focus-visible { background: #FBAED2; outline: none; }
.corner[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }
.corner[disabled]:hover { background: rgb(183,255,0); }

/* from 600px: the printed columns (date, visitor, remarks), each with its rule */
@media (min-width: 600px) {
  .page { --lh: 24px; --lines: 22; --c1: 78px; --c2: 132px; padding: 18px 22px 10px; font-size: 14px; }
  .sheet { background: linear-gradient(rgb(255,79,123), rgb(255,79,123)) var(--c1) 0 / 1px 100% no-repeat, linear-gradient(rgb(255,79,123), rgb(255,79,123)) calc(var(--c1) + var(--c2)) 0 / 1px 100% no-repeat; }
  .cols, .row { display: grid; grid-template-columns: var(--c1) var(--c2) minmax(0, 1fr); }
  .cols span + span::before, .c-who::before, .c-date span + span::before, .c-who span::before { content: none; }
  .cont .c-who { display: block; }
  .cols span, .row > div { padding: 0 8px; }
  .cols span:first-child, .row > div:first-child { padding-left: 0; }
  .c-date span, .c-who b, .c-who span { display: block; }
  .pno { font-size: 12px; }
  .turns { font-size: inherit; }
  .turns .w { display: inline; }
}
@media (min-width: 768px) {
  body { padding: 20px 28px; }
}
/* from 1100px: two pages, the spine between them shaded, the page edges on the outer sides */
@media (min-width: 1100px) {
  .gbook { padding: 12px; }
  .two .page.l, .leaf .page.l { background-image: linear-gradient(to left, rgba(90,26,140,0.16), rgba(90,26,140,0) 34px); box-shadow: -2px 2px 0 #FBAED2, -4px 4px 0 #fff, -5px 5px 0 #FBAED2; }
  .two .page.r, .leaf .page.r { background-image: linear-gradient(to right, rgba(90,26,140,0.16), rgba(90,26,140,0) 34px); }
  .corner { font-size: 13px; }
  .corner.c-back { left: 24px; }
  .corner.c-fwd { right: 24px; }
}
/* her drawn title (2026-11-04), as The Bot Collector page shows its own: three quarters of --w on computers, half on phones;
   --w makes its band as tall as The Bot Collector's */
h1.hand-title { display: block; background: none; border: 0; box-shadow: none; padding: 0; text-shadow: none; line-height: 0; }
h1.hand-title img { display: block; width: calc(var(--w) * 0.75px); max-width: 100%; height: auto; }
@media (max-width: 767px) { h1.hand-title img { width: calc(var(--w) * 0.5px); } }
