/* browserscan.in - stylesheet
   Single file, no imports, no webfonts. System stack for instant first paint. */

:root {
  /* Instrument panel — cold, near-black, violet signal */
  --bg: #06070c;
  --bg-raised: #0d0f18;
  --bg-sunken: #030409;
  --panel: #10131f;
  --border: #1e2336;
  --border-soft: #171b2a;
  --text: #dfe3ee;
  --text-dim: #8e97b0;
  --text-faint: #626b85;
  --accent: #8b7bff;
  --accent-dim: #6a58e0;
  --accent-bg: rgba(139, 123, 255, 0.11);
  --green: #35d6a0;
  --green-bg: rgba(53, 214, 160, 0.10);
  --amber: #ffb648;
  --amber-bg: rgba(255, 182, 72, 0.10);
  --red: #ff5f6d;
  --red-bg: rgba(255, 95, 109, 0.10);
  --purple: #8b7bff;
  --purple-bg: rgba(139, 123, 255, 0.10);
  --orange: #ff9a3c;
  --orange-bg: rgba(255, 154, 60, 0.10);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --prose: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 0 0 1px rgba(139,123,255,.05), 0 10px 30px rgba(0,0,0,.5);
  --maxw: 1240px;
}

html[data-theme="light"] {
  --bg: #eceef4;
  --bg-raised: #ffffff;
  --bg-sunken: #e0e3ec;
  --panel: #ffffff;
  --border: #cdd2e0;
  --border-soft: #dfe3ec;
  --text: #12141d;
  --text-dim: #4d5468;
  --text-faint: #757d93;
  --accent: #5b46d6;
  --accent-dim: #4936b4;
  --accent-bg: rgba(91, 70, 214, 0.09);
  --green: #128a5a;
  --green-bg: rgba(18, 138, 90, 0.08);
  --amber: #a56c00;
  --amber-bg: rgba(165, 108, 0, 0.10);
  --orange: #c2620a;
  --orange-bg: rgba(194, 98, 10, 0.10);
  --red: #cc2f2f;
  --red-bg: rgba(204, 47, 47, 0.08);
  --purple: #6f42c1;
  --purple-bg: rgba(111, 66, 193, 0.08);
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 20px rgba(16,24,40,.07);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 650; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-top: 2rem; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

code, kbd, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--bg-sunken); padding: .12em .4em; border-radius: 4px; border: 1px solid var(--border-soft); }
pre {
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin: 0 0 1rem;
  line-height: 1.55;
}
pre code { background: none; border: 0; padding: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header - */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--bg); } }

.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 60px; }

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; color: var(--text); letter-spacing: -.02em; font-size: 1.02rem;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: -.03em;
}
.brand-tld { color: var(--text-faint); font-weight: 600; }

.nav { display: flex; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--text-dim); padding: .4rem .7rem; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--bg-raised); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-bg); }

.icon-btn {
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-dim); cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .sun { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: block; }

.nav-toggle { display: none; margin-left: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .site-header .wrap { position: relative; }
}

/* ------------------------------------------------------------------ hero - */

.hero { padding: 2.5rem 0 1.5rem; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-dim); background: var(--bg-raised);
  border: 1px solid var(--border); border-radius: 999px; padding: .3rem .75rem;
  margin-bottom: 1rem;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(62,207,142,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(62,207,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.lede { font-size: 1.08rem; color: var(--text-dim); max-width: 66ch; margin: 0 auto 1.5rem; }

/* --------------------------------------------------------------- buttons - */

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-raised);
  color: var(--text); font-size: .92rem; font-weight: 550; cursor: pointer;
  font-family: inherit;
}
.btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: #fff; }
.btn-sm { padding: .35rem .7rem; font-size: .84rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* --------------------------------------------------------------- verdict - */

.verdict {
  display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  text-align: left; margin: 0 auto 1.5rem; max-width: 900px;
}
@media (max-width: 640px) { .verdict { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

.gauge { position: relative; width: 132px; height: 132px; }
.gauge svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.gauge .track { stroke: var(--border); }
.gauge .fill { stroke: var(--green); transition: stroke-dashoffset .8s cubic-bezier(.22,1,.36,1), stroke .4s; }
.gauge-value {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.gauge-num { font-size: 2.1rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.gauge-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-top: .25rem; }

.verdict-title { font-size: 1.55rem; font-weight: 700; margin: 0 0 .3rem; letter-spacing: -.02em; }
.verdict-sub { color: var(--text-dim); margin: 0 0 .85rem; }

.risk-human { color: var(--green); }
.risk-likely-human { color: var(--green); }
.risk-suspicious { color: var(--amber); }
.risk-likely-automated { color: var(--orange); }
.risk-automated { color: var(--red); }
.risk-verified-bot { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; padding: .2rem .6rem;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-raised); color: var(--text-dim);
}
.chip-good { color: var(--green); background: var(--green-bg); border-color: transparent; }
.chip-warn { color: var(--amber); background: var(--amber-bg); border-color: transparent; }
.chip-bad  { color: var(--red);   background: var(--red-bg);   border-color: transparent; }
.chip-info { color: var(--accent); background: var(--accent-bg); border-color: transparent; }
.chip-purple { color: var(--purple); background: var(--purple-bg); border-color: transparent; }

/* ----------------------------------------------------------------- cards - */

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; margin-bottom: 1rem;
}
.card > h3 { margin-top: 0; display: flex; align-items: center; gap: .5rem; }
.card-note { font-size: .88rem; color: var(--text-dim); margin: -.25rem 0 1rem; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ------------------------------------------------------------ comparison - */

.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

.compare-side {
  background: var(--bg-sunken); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 1rem;
}
.compare-side h4 {
  margin: 0 0 .75rem; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-faint); font-weight: 700;
}
.compare-mid { display: grid; place-items: center; }
.compare-verdict {
  display: grid; place-items: center; gap: .3rem;
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px dashed var(--border); color: var(--text-faint);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  text-align: center; padding: .4rem;
}
.compare-verdict.match { border-color: var(--green); border-style: solid; color: var(--green); background: var(--green-bg); }
.compare-verdict.warn  { border-color: var(--amber); border-style: solid; color: var(--amber); background: var(--amber-bg); }
.compare-verdict.bad   { border-color: var(--red);   border-style: solid; color: var(--red);   background: var(--red-bg); }
@media (max-width: 720px) { .compare-verdict { width: auto; height: auto; border-radius: 999px; padding: .5rem 1rem; } }

.big-value { font-family: var(--mono); font-size: 1.15rem; font-weight: 600; word-break: break-all; }
.sub-value { font-size: .86rem; color: var(--text-dim); margin-top: .2rem; }

/* ----------------------------------------------------------------- table - */

.kv { width: 100%; border-collapse: collapse; font-size: .9rem; }
.kv tr + tr { border-top: 1px solid var(--border-soft); }
.kv th {
  text-align: left; font-weight: 550; color: var(--text-dim);
  padding: .5rem .75rem .5rem 0; vertical-align: top; width: 38%; white-space: nowrap;
}
.kv td { padding: .5rem 0; font-family: var(--mono); font-size: .86rem; word-break: break-word; }
.kv td.wrap-anywhere { overflow-wrap: anywhere; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 720px; }
table.data th {
  text-align: left; font-weight: 650; color: var(--text-dim); padding: .55rem .6rem;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--panel);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
table.data td { padding: .5rem .6rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
table.data tbody tr:hover { background: var(--bg-raised); }
table.data tr.row-bad td { background: var(--red-bg); }
table.data tr.row-warn td { background: var(--amber-bg); }
table.data tr.clickable { cursor: pointer; }

/* --------------------------------------------------------------- signals - */

.signals { list-style: none; margin: 0; padding: 0; }
.signals li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start;
  padding: .7rem 0; border-top: 1px solid var(--border-soft);
}
.signals li:first-child { border-top: 0; }
.sig-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: .5rem; background: var(--text-faint); }
.sig-dot.high { background: var(--red); }
.sig-dot.mid  { background: var(--amber); }
.sig-dot.low  { background: var(--accent); }
.sig-dot.good { background: var(--green); }
.sig-text { font-size: .92rem; }
.sig-id { font-family: var(--mono); font-size: .74rem; color: var(--text-faint); display: block; margin-top: .2rem; }
.sig-weight {
  font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--text-faint);
  white-space: nowrap; padding-top: .1rem;
}
.sig-source {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .1rem .4rem; border-radius: 4px; background: var(--bg-sunken);
  color: var(--text-faint); margin-left: .4rem; vertical-align: middle;
}

/* ------------------------------------------------------------- stat tile - */

.stat {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1rem;
}
.stat-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-faint); font-weight: 650; margin-bottom: .3rem;
}
.stat-value { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat-sub { font-size: .8rem; color: var(--text-dim); margin-top: .15rem; }

/* -------------------------------------------------------------- progress - */

.meter { height: 6px; border-radius: 999px; background: var(--bg-sunken); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* ------------------------------------------------------------- accordion - */

details.acc {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: .6rem;
}
details.acc > summary {
  cursor: pointer; padding: .85rem 1.1rem; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after {
  content: ""; width: 8px; height: 8px; flex: none;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg); transition: transform .2s;
}
details.acc[open] > summary::after { transform: rotate(-135deg); }
details.acc > .acc-body { padding: 0 1.1rem 1.1rem; }
.summary-count { font-family: var(--mono); font-size: .8rem; color: var(--text-faint); font-weight: 500; }

/* ----------------------------------------------------------------- chart - */

.chart { width: 100%; height: 110px; display: block; }
.chart .bar-total { fill: var(--accent); opacity: .28; }
.chart .bar-warn { fill: var(--amber); }
.chart .bar-bad { fill: var(--red); }

/* ------------------------------------------------------------ form bits - */

.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--text-dim); }
input[type="text"], input[type="password"], input[type="search"], select {
  background: var(--bg-sunken); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: .5rem .7rem; font: inherit; font-size: .92rem;
  width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: 1rem; }
.toolbar .field { min-width: 150px; }

/* ------------------------------------------------------ tool controls - */
/* Scoped styles for the standalone client-side tool pages. Additive: no
   existing page references these, so older cached stylesheets are unaffected. */
.tool-input, textarea.tool-input, input.tool-input {
  background: var(--bg-sunken); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: .5rem .7rem; font: inherit; font-size: .92rem;
  width: 100%; resize: vertical;
}
.tool-input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.tool-input[readonly] { color: var(--text-dim); }
.tool-label { font-size: .8rem; font-weight: 600; color: var(--text-dim); }
.tool-select { width: auto; min-width: 8rem; }
.tool-row { display: flex; gap: .5rem; align-items: stretch; }
.tool-row .tool-input { flex: 1; }
.tool-check {
  display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer;
  padding: .5rem .7rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-sunken); user-select: none;
}
.tool-check:hover { border-color: var(--accent); }
.tool-check input { width: auto; accent-color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--accent); }

/* ---------------------------------------------------------------- footer - */

.site-footer {
  border-top: 1px solid var(--border-soft); margin-top: 3rem;
  padding: 2rem 0; color: var(--text-dim); font-size: .9rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--accent); }

/* --------------------------------------------------------------- utility - */

.spinner {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid var(--border); border-top-color: var(--accent);
  animation: spin .7s linear infinite; display: inline-block; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

.loading { display: flex; align-items: center; gap: .6rem; color: var(--text-dim); padding: 1rem 0; }
.empty { text-align: center; color: var(--text-faint); padding: 2rem 1rem; font-size: .92rem; }

.badge-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .35rem;
  border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700;
}

.hr { height: 1px; background: var(--border-soft); border: 0; margin: 2rem 0; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt1 { margin-top: 1rem; } .mb1 { margin-bottom: 1rem; }
.mt2 { margin-top: 2rem; }
.small { font-size: .85rem; }

.copy-wrap { position: relative; }
.copy-btn { position: absolute; top: .5rem; right: .5rem; }

.callout {
  border-left: 3px solid var(--accent); background: var(--accent-bg);
  padding: .85rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1rem;
}
.callout.warn { border-color: var(--amber); background: var(--amber-bg); }
.callout.bad { border-color: var(--red); background: var(--red-bg); }
.callout p:last-child { margin-bottom: 0; }

.tool-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.tool-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.tool-card h3 { color: var(--text); }
.tool-card:hover h3 { color: var(--accent); }

.tag-list { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag-list span {
  font-family: var(--mono); font-size: .76rem; padding: .15rem .45rem;
  background: var(--bg-sunken); border: 1px solid var(--border-soft); border-radius: 4px;
  color: var(--text-dim);
}

@media print {
  .site-header, .site-footer, .actions, .nav { display: none; }
  body { background: #fff; color: #000; }
}


/* ============================================================
   browserscan.in — instrument-panel identity
   ============================================================ */

body { font-family: var(--prose); letter-spacing: 0; }

/* Monospace is the house voice: brand, nav, labels, headings */
.brand, .nav a, .site-header, .site-footer,
h1, h2, h3, .stat-label, .k, .key, th, .badge, .pill, .tag {
  font-family: var(--mono);
}
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 650; }

.site-header {
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
}
.brand-mark {
  border-radius: 3px !important;
  background: var(--accent) !important;
  color: #08060f !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav a { font-size: 0.83rem; letter-spacing: 0.01em; }

/* Square, dense, ruled panels — reads as an instrument rather than a card UI */
.panel, .card, .box, .result, .stat, table {
  border-radius: 4px !important;
  box-shadow: none !important;
  border: 1px solid var(--border);
}
.panel-body { padding: 1rem 1.15rem; }

/* Section labels in the style of a readout */
h2::before {
  content: "// ";
  color: var(--accent);
  opacity: 0.65;
}
.lede { font-family: var(--prose); }

/* A faint grid on the page background, like a scope */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.30;
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* blog-sticky-rail v1 */
.blog-artgrid{max-width:var(--maxw,1200px);margin:0 auto;padding:0 1.25rem}
/* The reading measure these pages never had: prose ran edge to edge. */
.blog-artgrid .post{max-width:760px;margin:0 auto}
.blog-rail{margin:32px auto 0;max-width:760px}
.blog-rail-label{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;opacity:.7;
  margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem}
.blog-rail-label::after{content:"";flex:1;height:1px;background:currentColor;opacity:.25}
.blog-rail-slot{min-height:520px}
.blog-rail-more{margin-top:1.4rem;border-top:2px solid var(--accent,#666);padding-top:.75rem}
.blog-rail-more h4{margin:0 0 .5rem;font-size:.95rem}
.blog-rail-more a{display:block;font-size:.86rem;line-height:1.4;text-decoration:none;
  padding:.5rem 0;border-bottom:1px solid rgba(128,128,128,.22)}
.blog-rail-more a:last-child{border-bottom:0}
.blog-rail-more a:hover{color:var(--accent,inherit)}
@media (min-width:1120px){
  .blog-artgrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:44px;
    align-items:start;max-width:1180px}
  .blog-artgrid .post{max-width:none;margin:0}
  .blog-rail{margin:0;max-width:none;position:sticky;top:84px;align-self:start}
}
@media (max-width:1119px){.blog-rail{position:static}}
