/* DARKNETZIP.COM design layer v2 — works within the mirrored black/purple
   identity. Adds the verification instruments: monospace host typography,
   uptime meters, status color system. Loads after _astro styles. */
:root{
  --dz-bg:#000;            /* their base */
  --dz-panel:rgba(255,255,255,.03);
  --dz-line:rgba(255,255,255,.08);
  --dz-ink:#e0e0e0;
  --dz-dim:#9aa3b2;
  --dz-purple:#8a2be2;
  --dz-neon:#FE14FF;
  --dz-ok:#3dd68c;        /* verified green — distinct from brand purple */
  --dz-warn:#e6a23c;
  --dz-off:#e05d5d;
  --dz-mono:ui-monospace,'JetBrains Mono','Cascadia Code',Consolas,Menlo,monospace;
}
::selection{background:rgba(138,43,226,.4)}
/* keyboard reachability */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--dz-neon);outline-offset:2px;border-radius:4px}
/* anchors clear the sticky chrome */
section[id]{scroll-margin-top:84px}
/* motion only where it explains a change */
@media (prefers-reduced-motion:no-preference){
  .site-link,.mirror-icon,.email-link,tr{transition:background-color .15s ease,border-color .15s ease}
  tr:hover{background:rgba(138,43,226,.06)}
}
/* ---- the verification instruments ---- */
/* status column: badge + inline uptime meter */
.badge{font-family:var(--dz-mono);font-size:.7rem;letter-spacing:.04em;font-weight:600;border-radius:3px;border-width:0 0 0 2px;border-style:solid;padding:2px 8px}
.badge.ok{border-left-color:var(--dz-ok)}
.badge.off{border-left-color:var(--dz-off)}
.badge.unknown{border-left-color:var(--dz-dim)}
/* the meter: a 56-unit bar (one unit per base32 char of an onion host),
   fill width set inline via --up from the live probe data */
.uptime-meter{position:relative;display:inline-block;width:56px;height:6px;vertical-align:middle;margin-left:8px;background:rgba(255,255,255,.08);border-radius:2px;overflow:hidden}
.uptime-meter::before{content:'';position:absolute;inset:0;width:calc(var(--up,0)*1%);background:linear-gradient(90deg,var(--dz-purple),var(--dz-ok));border-radius:2px}
.uptime-inline{font-family:var(--dz-mono);font-variant-numeric:tabular-nums;font-size:.8rem;color:var(--dz-ink);margin-left:8px;letter-spacing:.02em}
/* hostname as specimen: monospace, wrap-safe, self-evidently data */
.host{font-family:var(--dz-mono);font-size:.82rem;letter-spacing:.02em;word-break:break-all;line-height:1.5;background:var(--dz-panel);border:1px solid var(--dz-line);border-left:2px solid var(--dz-purple);border-radius:6px;padding:10px 14px;display:block;max-width:64ch}
.host a{color:var(--dz-ink);text-decoration:none}
/* page masthead spacing: let the h1 breathe above the directory */
.disclaimer-wrapper{max-width:70ch}
/* summary rows: keep their collapse behavior; tighten counts */
details.panel>summary .count{font-family:var(--dz-mono);font-size:.85em}
/* respect the environment: only animate what moves state */
@media print{
  header,footer,.nav-menu,section.contact-section,section.banners-section,section.donate-section{display:none!important}
  body{background:#fff;color:#000}
  .badge{border-left-color:#000}
}
/* mirror-card primary address: same specimen treatment as .host */
.mc-addr{font-family:var(--dz-mono);font-size:.82rem;letter-spacing:.02em;word-break:break-all}
.unzip-btn{cursor:pointer}
.unzip-toggle:checked~.unzip-btn .zipper-icon{opacity:.7}
