/* Read-only archive chrome layered over the original subsilver2 theme. */
:root {
  --archive-ink: #f8fafc;
  --archive-bg: #111827;
  --archive-accent: #93c5fd;
  --archive-muted: #6b7280;
}
html { scroll-behavior: smooth; }
body { margin: 0; }
.archive-banner {
  background: var(--archive-bg);
  color: var(--archive-ink);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 8px 14px;
  box-sizing: border-box;
}
.archive-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.archive-badge {
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
}
.archive-banner-text { flex: 1 1 320px; }
.archive-banner a, .archive-footer a { color: var(--archive-accent); }
.archive-banner-links { white-space: nowrap; }
.archive-nav {
  padding: 7px 10px;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.archive-nav a { color: #1d4ed8; text-decoration: none; }
.archive-nav a:hover { text-decoration: underline; }
.archive-date {
  padding: 4px 10px 0;
  color: #4b5563;
  font: 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: right;
}
.archive-footer {
  max-width: 1200px;
  margin: 18px auto 24px;
  padding: 10px 14px;
  color: #4b5563;
  font: 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid #d1d5db;
}
#wrapheader, #wrapcentre { max-width: 1200px; margin-left: auto; margin-right: auto; }
.postbody img, .quotecontent img, .signature img { max-width: 100%; height: auto; }
.postbody { overflow-wrap: anywhere; }
.postbody pre { overflow-x: auto; }
.archive-spoiler-label {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 6px;
  background: #e5e7eb;
  color: #374151;
  font: 11px/1.4 system-ui, sans-serif;
  border-radius: 2px;
}
.archive-embed {
  padding: 6px 8px;
  border-left: 3px solid #9ca3af;
  background: #f3f4f6;
  font-size: 12px;
}
.archive-standalone {
  background: #e5e7eb;
  color: #111827;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.archive-standalone .archive-banner { font-size: 14px; }
.archive-doc, .archive-search {
  max-width: 860px;
  margin: 24px auto 48px;
  padding: 24px 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.archive-doc h1, .archive-search h1 { margin-top: 0; }
.archive-doc h2 { margin-top: 1.6em; font-size: 1.2em; }
.archive-doc code, .archive-search code {
  background: #f3f4f6;
  padding: 0.1em 0.3em;
  border-radius: 2px;
}
.archive-note {
  margin-top: 24px;
  padding: 10px 12px;
  background: #f9fafb;
  border-left: 3px solid #9ca3af;
  color: #4b5563;
  font-size: 13px;
}
.muted { color: var(--archive-muted); }
.archive-members table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}
.archive-members th, .archive-members td {
  padding: 3px 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}
.archive-members th {
  position: sticky;
  top: 0;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.archive-members td.num, .archive-members th.num {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #4b5563;
}
.archive-members td.name { overflow-wrap: anywhere; }
.archive-members input {
  font: inherit;
  width: 260px;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #9ca3af;
  border-radius: 2px;
}
.archive-members .member-meta { color: #4b5563; font-size: 13px; }
@media (max-width: 800px) {
  #wrapcentre { width: 100% !important; }
  .archive-doc, .archive-search { margin: 12px; padding: 16px; }
  .postbody { font-size: 15px; }
  .archive-banner-links { white-space: normal; }
}
