/* museum.css — shared stylesheet for the plaque pages and the restoration lab.
   Palette mirrors index.html's inline styles (kept in sync by hand). */
:root {
  --bg: #101418;
  --panel: #1a2129;
  --ink: #e8e6e1;
  --muted: #9aa4ae;
  --amber: #ffb454;
  --green: #7dd97d;
  --line: #2c3640;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.6 Georgia, 'Times New Roman', serif;
  padding: 0 1rem;
}
.wrap { max-width: 46rem; margin: 0 auto; }
nav.crumbs { padding: 2rem 0 0; }
nav.top {
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem;
  padding: 2rem 0 0;
  font: bold 12px Verdana, sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
}
nav.top a {
  color: var(--green); text-decoration: none;
  border-bottom: 1px dotted var(--green); padding-bottom: .15rem;
}
nav.top a:hover { color: var(--amber); border-color: var(--amber); }
nav.crumbs a {
  color: var(--green); text-decoration: none;
  border-bottom: 1px dotted var(--green); font: 13px Verdana, sans-serif;
}
nav.crumbs a:hover { color: var(--amber); border-color: var(--amber); }
header.plaquehead { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.year {
  font: bold 13px 'Courier New', monospace;
  color: var(--bg); background: var(--amber);
  display: inline-block; padding: .1rem .6rem; border-radius: 2px;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: normal; margin: .6rem 0 .4rem; }
h1 .at { color: var(--amber); }
.host { font: 13px 'Courier New', monospace; color: var(--green); }
figure.shot { margin: 2rem 0 0; }
figure.shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid #555; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
figure.shot figcaption { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: .5rem; }
section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
section h2 {
  font: bold 14px 'Courier New', monospace; letter-spacing: .15em;
  text-transform: uppercase; color: var(--amber); margin-bottom: .75rem;
}
section p { margin-bottom: .75rem; }
section .aside { color: var(--muted); font-style: italic; }
section a { color: var(--green); }
section ul { margin: 0 0 .75rem 1.2rem; }
section li { color: var(--muted); margin-bottom: .5rem; }
.doorway { padding: 2.5rem 0; text-align: center; }
.enter {
  display: inline-block; font: bold 15px Verdana, sans-serif;
  color: var(--bg); background: var(--green);
  padding: .7rem 1.4rem; border-radius: 3px; text-decoration: none;
}
.enter:hover { background: var(--amber); }
footer { padding: 1rem 0 3rem; color: var(--muted); font-size: .9rem; }
footer a {
  color: var(--green); text-decoration: none;
  border-bottom: 1px dotted var(--green);
}
footer a:hover { color: var(--amber); border-color: var(--amber); }

/* restoration lab */
.lab section h2 { font-size: 15px; }
pre {
  background: #0b0f13; border: 1px solid var(--line); border-radius: 4px;
  padding: 1rem; overflow-x: auto;
  font: 13px/1.5 'Courier New', monospace; color: var(--muted);
  margin: 0 0 .75rem;
}
code {
  font: 13px 'Courier New', monospace; color: var(--green);
  background: #10161c; padding: 0 .3rem; border-radius: 2px;
}
pre code { background: none; padding: 0; color: inherit; }
.specimen { border-left: 4px solid #a33; }
.specimen-label {
  font: bold 12px 'Courier New', monospace; color: #d77;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem;
}

/* guestbook */
.gb-entry {
  border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 4px; background: var(--panel);
  padding: 1rem 1.25rem; margin-bottom: 1rem;
}
.gb-entry .gb-head {
  font: bold 13px 'Courier New', monospace;
  color: var(--amber); margin-bottom: .4rem;
}
.gb-entry .gb-head .gb-loc { color: var(--muted); font-weight: normal; }
.gb-entry p { margin: 0; }
.gb-sign { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.gb-sign .enter { font-size: 14px; }
.gb-note { color: var(--muted); font-style: italic; font-size: .9rem; }

/* dial-up overlay (guestbook first visit) */
#dialup {
  position: fixed; inset: 0; z-index: 99;
  background: #000; color: #7dff7d;
  font: 15px/1.8 'Courier New', monospace;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
#dialup[hidden] { display: none; }
#dialup .term { width: min(34rem, 90vw); }
#dialup .bar { height: 14px; border: 1px solid #7dff7d; margin: .75rem 0; }
#dialup .bar i {
  display: block; height: 100%; width: 0; background: #7dff7d;
  animation: gb-conn 3.6s steps(24) forwards;
}
@keyframes gb-conn { to { width: 100%; } }
#dialup .skip { color: #4a7; font-size: 12px; }

/* links page */
.linklist { list-style: none; margin: 0 0 .75rem; }
.linklist li { margin-bottom: .9rem; color: var(--ink); }
.linklist .lyear {
  font: bold 12px 'Courier New', monospace;
  color: var(--amber); margin-right: .35rem;
}
.alivechip {
  font: bold 10px Verdana, sans-serif; color: var(--bg);
  background: var(--green); padding: 0 .35rem; border-radius: 2px;
  margin-left: .35rem; vertical-align: middle; white-space: nowrap;
}
.linklist .lnote { color: var(--muted); }

/* museum shop */
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .75rem; }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }
.item {
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--panel); padding: 1rem 1.25rem;
}
.item h3 { font-size: 1.05rem; font-weight: normal; margin-bottom: .3rem; }
.item p { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.item .price {
  font: bold 13px 'Courier New', monospace; color: var(--amber);
}
.item .price .vat { color: var(--muted); font-weight: normal; }
.order label {
  display: block; font: bold 12px Verdana, sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 1rem 0 .3rem;
}
.order input, .order select {
  width: 100%; max-width: 24rem; display: block;
  background: #0b0f13; color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px;
  padding: .5rem .6rem; font: 15px Georgia, serif;
}
.order input:focus, .order select:focus { outline: 1px solid var(--green); }
.order .enter { border: 0; cursor: pointer; margin-top: 1.25rem; }
#faxout { display: none; }
#faxout .dead { color: var(--amber); font-weight: bold; }
.smallprint { color: var(--muted); font-style: italic; font-size: .9rem; }

/* museum shop — 1999 Kaufhaus-Prospekt layer */
.ticker {
  overflow: hidden; white-space: nowrap;
  background: #ffe94a; color: #c00;
  font: bold 13px Verdana, sans-serif;
  border-radius: 2px; margin-bottom: 1rem;
}
.ticker span {
  display: inline-block; padding: .3rem 0 .3rem 100%;
  animation: shop-marquee 16s linear infinite;
}
@keyframes shop-marquee { to { transform: translateX(-100%); } }
.item { position: relative; border: 2px outset #4a5866; }
.item .price {
  display: inline-block; background: #ffe94a; color: #c00;
  font: bold 14px Verdana, sans-serif; padding: .15rem .5rem;
  border-radius: 2px; transform: rotate(-2deg);
}
.item .price .vat { color: #a33; font-weight: normal; font-size: 11px; }
.sticker {
  position: absolute; top: -.65rem; right: -.4rem;
  font: bold 12px Verdana, sans-serif; padding: .2rem .55rem;
  border-radius: 999px; transform: rotate(8deg);
}
.sticker.sale { background: #e33; color: #ffe94a; animation: shop-blink 1.2s steps(1) infinite; }
.sticker.neu {
  background: #ffe94a; color: #c00; transform: rotate(-7deg);
  font-family: 'Comic Sans MS', 'Comic Sans', Verdana, sans-serif;
}
.comic { font-family: 'Comic Sans MS', 'Comic Sans', cursive; }
@keyframes shop-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ticker span { animation: none; padding-left: 0; }
  .sticker.sale { animation: none; }
}
