/* A laboratory page: one parchment card on the club's dark ground.
   Same registers as the club (pinned tokens.css), nothing else borrowed. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--bg-ground);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-base);
  line-height: 1.5;
}
.specimen {
  position: relative;
  width: min(38rem, 100%);
  background: var(--bg-parchment);
  color: var(--text-parchment);
  border: 1px solid var(--border-parchment);
  outline: 1px solid var(--border-parchment);
  outline-offset: -8px;
  padding: 2.2rem 2.4rem 1.6rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.6);
}
.head {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-parchment-dim);
  border-bottom: 1px solid var(--border-parchment);
  padding-bottom: 0.6rem;
  margin: 0 0 1.3rem;
}
.head p { margin: 0; }
.head p.mono { letter-spacing: 0.1em; text-transform: none; }
h1 {
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
}
.sub { font-style: italic; color: var(--text-parchment-dim); font-size: var(--fs-lg); margin: 0.2rem 0 0; }
.fields { margin: 1.4rem 0 0; display: grid; gap: 0.55rem; }
.fields > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  border-bottom: 1px dotted var(--border-parchment);
  padding-bottom: 0.45rem;
}
.fields dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-parchment-dim);
  padding-top: 0.25rem;
  margin: 0;
}
.fields dd { margin: 0; font-size: var(--fs-lg); overflow-wrap: anywhere; }
.fields dd.mono { font-family: var(--font-mono); font-size: var(--fs-md); padding-top: 0.15rem; }
a { color: var(--green-on-parchment); font-style: italic; }
.foot {
  margin: 1.4rem 0 0;
  max-width: calc(100% - 8rem);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-parchment-dim);
}
.seal {
  position: absolute;
  right: 1.8rem;
  bottom: 1.4rem;
  width: 7.6rem;
  aspect-ratio: 1;
  border: 3px double var(--green-on-parchment);
  border-radius: 50%;
  color: var(--green-on-parchment);
  display: grid;
  place-items: center;
  transform: rotate(-14deg);
  opacity: 0.85;
  pointer-events: none;
}
.seal svg { width: 52%; height: 52%; margin-top: -0.6rem; }
.seal span {
  position: absolute;
  bottom: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.leave { margin: 1.2rem 0 0; }
.leave button {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-parchment-dim);
  background: none;
  border: 1px solid var(--border-parchment);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}
.leave button:hover { color: var(--text-parchment); border-color: var(--green-on-parchment); }
@media (max-width: 560px) {
  .specimen { padding: 1.6rem 1.3rem 1.2rem; }
  .fields > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .seal { width: 5.6rem; right: 0.9rem; bottom: 0.9rem; }
  .seal span { bottom: 0.7rem; font-size: 0.6rem; }
  .foot { max-width: calc(100% - 6rem); }
}
