/* pkgdepot.org — plain archive pages. System fonts only. */
:root {
  --paper: #fbfaf5;
  --ink: #1f2430;
  --mute: #5c6170;
  --rule: #d9d5c7;
  --accent: #8a2b2b;
  --code: #f1eee3;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Liberation Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #17181c; --ink: #e6e3da; --mute: #a3a29b; --rule: #34353b; --accent: #e08a7c; --code: #202127; }
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0 auto; max-width: 48rem; padding: 0 1.25rem 3rem; font: 17px/1.6 var(--serif); }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, table.list, .stats dd, .mark { font-family: var(--mono); }

.mast { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
  padding: 1.6rem 0 .9rem; border-bottom: 3px double var(--rule); }
.mark { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.mark a { color: var(--ink); text-decoration: none; }
.mark span { color: var(--mute); font-weight: 400; }
.mast nav { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font: 14px var(--mono); }
.mast nav a { color: var(--mute); text-decoration: none; }
.mast nav a[aria-current], .mast nav a:hover { color: var(--accent); text-decoration: underline; }

main { padding-top: 1.5rem; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: .4rem 0 1rem; font-weight: 600; }
h2 { font-size: 1.1rem; margin: 2.2rem 0 .6rem; padding-bottom: .25rem; border-bottom: 1px solid var(--rule); font-weight: 600; }
.lead p { color: var(--mute); max-width: 40rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0; margin: 1.6rem 0;
  border: 1px solid var(--rule); }
.stats div { padding: .7rem .9rem; border-right: 1px solid var(--rule); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: 13px; color: var(--mute); }
.stats dd { margin: 0; font-size: 1.15rem; }

table { border-collapse: collapse; width: 100%; }
table.list { font-size: 14px; }
.list th { text-align: left; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--ink); padding: .35rem .6rem .35rem 0; }
.list td { padding: .35rem .6rem .35rem 0; border-bottom: 1px dotted var(--rule); vertical-align: top; }
.list .num { text-align: right; white-space: nowrap; }
.list .sum { color: var(--mute); font-size: 12px; }
.rel tr.hash td { border-bottom: 1px solid var(--rule); padding-top: 0; }
.rel tr.hash code { font-size: 11.5px; color: var(--mute); word-break: break-all; }
.list tbody tr:hover td { background: var(--code); }

.facts th { text-align: left; font-weight: 400; color: var(--mute); width: 10rem; padding: .25rem 1rem .25rem 0; vertical-align: top; }
.facts td { padding: .25rem 0; }
.crumb { font: 13px var(--mono); color: var(--mute); margin: 0; }
.blurb { font-size: 1.05rem; }
.opts dt, .notes dt { font-family: var(--mono); font-size: 14px; margin-top: .5rem; }
.opts dd, .notes dd { margin: 0 0 0 1.6rem; color: var(--mute); }
pre.cmd { background: var(--code); border-left: 3px solid var(--accent); padding: .8rem 1rem; overflow-x: auto; font-size: 13px; line-height: 1.55; }
code { font-size: .9em; background: var(--code); padding: .05em .3em; }
pre code, .rel code { background: none; padding: 0; }
.aside { font-size: 15px; color: var(--mute); }
ul { padding-left: 1.2rem; }

.foot { margin-top: 3rem; padding-top: .9rem; border-top: 3px double var(--rule); font-size: 13.5px; color: var(--mute); }
.foot p { margin: .3rem 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .list .hide-s { display: none; }
  table.list { font-size: 12.5px; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--rule); }
}
