:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #182638;
  --muted: #607084;
  --line: #d7ddd9;
  --accent: #1f5fbf;
  --accent-dark: #174885;
  --signal: #d95f34;
  --signal-soft: #f9e2d8;
  --green: #247458;
  --green-soft: #dceee4;
  --shadow: 0 14px 40px rgba(27, 44, 63, .08);
  --radius: 14px;
}

* { box-sizing: border-box; }


body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .65rem .9rem;
  background: var(--ink);
  color: white;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.site-shell { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.page-false-positives .site-header { border-bottom: 0; }
.page-false-positives .page-hero + .section,
.page-false-positives .page-hero + .section + .section { border-top: 0; }
.page-false-positives .page-hero + .section { padding-top: 0; padding-bottom: 0; }
.page-malware-activity .site-header { border-bottom: 0; }
.malware-page-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; min-width: 0; padding-bottom: .85rem; }
.malware-page-heading h1 { margin: 0; color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.12; letter-spacing: -.02em; }
.malware-section-nav { display: flex; flex-wrap: wrap; gap: .2rem; }
.malware-section-nav a { display: inline-flex; align-items: center; min-height: 28px; padding: .2rem .55rem; border-radius: 5px; color: var(--accent-dark); background: #edf4fa; font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.malware-section-nav a:hover { background: #dcecf8; text-decoration: underline; }
.malware-section-nav a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.page-malware-activity .malware-activity-section { padding-top: 0; border-top: 0; }

.brand img { display: block; width: min(244px, 52vw); height: auto; }

.site-nav { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem .7rem; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.site-nav a:hover { color: var(--accent-dark); background: #edf4fa; }
.site-nav a[aria-current] { color: white; background: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.site-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hero { padding: clamp(2.5rem, 5vw, 4rem) 0 3rem; max-width: 920px; }
.eyebrow, .section-label {
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: .8rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -.02em;
  line-height: .98;
}
.hero h1 span { color: var(--accent); }
.hero h1 .hero-detail { color: var(--signal); }
.hero-lede { max-width: 560px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  padding: .72rem 1rem;
  text-decoration: none;
  font-weight: 750;
}
.button:hover { background: var(--accent-dark); color: white; }
.text-link { font-weight: 700; }

.section { padding: 3.25rem 0; border-top: 1px solid var(--line); }
.section h2 { max-width: 720px; margin: .55rem 0 1.1rem; font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.045em; line-height: 1.05; }
.section-intro { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.stats-description { font-size: 1.15rem; }
.section-intro strong { color: var(--ink); }

.partner-note { border-left: 4px solid var(--signal); padding: .2rem 0 .2rem 1.2rem; max-width: 800px; font-size: 1.15rem; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 2rem; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.stat-value { display: block; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.stat-value[data-stat^="blocks-"] { color: #9c3d15; }
.stat-value[data-stat="queried-subdomains"] { color: #17613a; }
.stat-label { display: block; color: var(--muted); font-size: .88rem; margin-top: .7rem; }
.stats-updated { color: var(--muted); font-size: .78rem; margin-top: 1rem; }

.geo-map-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; overflow: hidden; margin-top: 2rem; border: 1px solid #233a5c; border-radius: 12px; background: #0a1730; box-shadow: 0 14px 34px rgb(10 23 48 / 18%); color: #edf5ff; }
.geo-map-stage { min-width: 0; padding: 18px 18px 12px; background: radial-gradient(circle at 55% 42%, #18375b 0, #0d2341 45%, #09172f 100%); }
.geo-map-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.geo-map-kicker { display: block; margin-bottom: 2px; color: #73dcf7; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.geo-map-header h3 { margin: 0; color: white; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.geo-map-totals { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.geo-map-totals span { padding: 4px 7px; border: 1px solid rgb(143 188 232 / 22%); border-radius: 99px; background: rgb(255 255 255 / 5%); color: #9db4ce; font-size: 10px; white-space: nowrap; }
.geo-map-scroll { overflow-x: auto; border: 1px solid rgb(143 188 232 / 16%); border-radius: 9px; background: #09172f; box-shadow: inset 0 0 40px rgb(4 11 25 / 45%); }
.geo-map { display: block; min-width: 560px; width: 100%; height: auto; }
.geo-map-background { fill: #0b1b35; }
.geo-map-land { opacity: .18; filter: invert(1); pointer-events: none; }
.geo-map-grid { stroke: #96b4d5; stroke-width: .7; stroke-opacity: .16; stroke-dasharray: 2 6; }
.geo-map-equator { stroke-opacity: .27; }
.geo-map-line { fill: none; stroke: #67c9ef; stroke-linecap: round; stroke-opacity: .48; transition: filter .16s ease, stroke .16s ease, stroke-opacity .16s ease; vector-effect: non-scaling-stroke; }
.geo-map-line:hover, .geo-map-line:focus, .geo-map-line.is-active { stroke: #f7a268; stroke-opacity: 1; filter: drop-shadow(0 0 4px rgb(247 162 104 / 80%)); outline: none; }
.geo-map-shell.geo-map-has-active .geo-map-line:not(.is-active) { stroke-opacity: .08; }
.geo-map-arrow { fill: #ff9861; }
.geo-map-source-halo { fill: #59d9ff; opacity: .13; filter: blur(1px); pointer-events: none; }
.geo-map-source { fill: #67dcfa; stroke: #d8f8ff; stroke-width: .75; cursor: help; vector-effect: non-scaling-stroke; }
.geo-map-destination-halo { fill: #ff8d58; opacity: .13; filter: blur(1px); pointer-events: none; }
.geo-map-destination { fill: #ff9966; stroke: #ffe1d3; stroke-width: .85; cursor: help; vector-effect: non-scaling-stroke; }
.geo-map-source:hover, .geo-map-source:focus, .geo-map-destination:hover, .geo-map-destination:focus { filter: drop-shadow(0 0 5px currentColor); outline: none; }
.geo-map-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.geo-map-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; color: #a9bdd3; font-size: 10px; }
.geo-map-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.geo-map-legend i { display: inline-block; flex: 0 0 auto; }
.geo-map-origin-key { width: 8px; height: 8px; border: 1px solid #d8f8ff; border-radius: 50%; background: #67dcfa; }
.geo-map-destination-key { width: 8px; height: 8px; border: 1px solid #ffe1d3; border-radius: 1px; background: #ff9966; transform: rotate(45deg); }
.geo-map-volume-key { width: 24px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, rgb(103 201 239 / 28%), #67c9ef); }
.geo-map-updated { margin: 0; color: #809bb7; font-size: 9px; text-align: right; }
.geo-map-routes { min-width: 0; padding: 18px 14px 30px; border-left: 1px solid rgb(143 188 232 / 16%); background: #0b1a33; }
.geo-map-routes-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 4px 10px; }
.geo-map-routes-heading span { color: white; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.geo-map-routes-heading small { color: #7f9ab7; font-size: 9px; }
.geo-map-region-list { display: grid; gap: 2px; margin: 0; padding: 0 4px; list-style: none; counter-reset: regions; }
.geo-map-region-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 6px 2px; border-bottom: 1px solid rgb(143 188 232 / 12%); color: #a9bdd3; font-size: 10px; }
.geo-map-region-list li { cursor: pointer; }
.geo-map-region-list li:focus-visible { border-radius: 4px; outline: 2px solid #67dcfa; outline-offset: 2px; }
.geo-map-region-list li::before { content: counter(regions, decimal-leading-zero); counter-increment: regions; color: #5e7897; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.geo-map-region-list li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e9f4ff; }
.geo-map-region-list strong { color: #8fe6fa; font-variant-numeric: tabular-nums; }
.geo-map-note { grid-column: 1 / -1; margin: 0; padding: 8px 14px 10px; border-top: 1px solid rgb(143 188 232 / 16%); color: #728daa; font-size: 9px; }
.geo-map-note a { color: #9ab6d3; }
.geo-map-tooltip { position: fixed; z-index: 1000; max-width: min(320px, calc(100vw - 16px)); padding: 9px 11px; border: 1px solid #385477; border-radius: 7px; background: #071426; box-shadow: 0 7px 20px rgb(0 0 0 / 35%); color: #edf5ff; font-size: 11px; line-height: 1.5; pointer-events: none; white-space: pre-line; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.feature-card { background: var(--surface); border-top: 3px solid var(--accent); padding: 1.35rem; }
.feature-card:nth-child(2) { border-color: var(--signal); }
.feature-card:nth-child(3) { border-color: var(--green); }
.feature-card h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.feature-card p { color: var(--muted); margin: 0; }

.activity-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.activity-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.activity-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.activity-list li span:last-child { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.activity-empty { color: var(--muted); }

.malware-report { margin-top: 2rem; }
.malware-latest-report { margin: 1.5rem 0 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #b9d5eb; border-left: 4px solid var(--signal); border-radius: 16px; background: linear-gradient(120deg, #f1f7fc, #fff 70%); box-shadow: var(--shadow); }
.malware-latest-report h2 { margin: .4rem 0 .25rem; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.035em; }
.malware-latest-report p { max-width: 72ch; color: var(--muted); line-height: 1.65; }
.malware-latest-label { color: var(--signal); font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.malware-latest-report .button { display: inline-flex; margin-top: .3rem; }
.malware-report-archive { display: grid; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.malware-report-archive-link { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); align-items: center; gap: .65rem; min-height: 2.75rem; padding: .48rem .85rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: .88rem; line-height: 1.45; text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.malware-report-archive-link:hover { border-color: #86b9dc; transform: translateY(-1px); box-shadow: 0 8px 22px rgb(16 42 67 / 8%); }
.malware-report-archive-family, .malware-activity-highlights h2 { color: #174f87; font-weight: 750; }
.malware-activity-section .malware-spike-count { color: #a34118; font-weight: 750; }
.malware-spike-list .malware-report-archive .malware-spike-baseline { color: #17613a; }
.malware-report-archive-link > span { overflow-wrap: anywhere; }
.malware-report-archive-description { color: var(--muted); font-weight: 400; }
.malware-report-archive-date { align-self: start; color: var(--muted); font: .82rem/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; text-align: left; }
.malware-report-archive-link:focus-visible { outline: 3px solid #2a8dc4; outline-offset: 3px; }
.malware-report-empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--muted); background: #f7f9fb; }
.malware-report-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.malware-report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: linear-gradient(120deg, #f1f6fb, #fff 60%); border-bottom: 1px solid var(--line); }
.malware-report-header h2, .malware-report-header h3 { margin: .3rem 0 .2rem; font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; }
.malware-report-header-meta { display: grid; justify-items: end; gap: .5rem; }
.malware-report-kicker { color: var(--signal); font: 800 .75rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.malware-preview-badge { display: inline-block; margin-left: .65rem; border: 1px solid #e7c7a1; border-radius: 999px; padding: .15rem .5rem; color: #7c4b22; background: #fff6e9; font-size: .68rem; font-weight: 700; letter-spacing: 0; vertical-align: .1em; text-transform: none; }
.malware-report-date { color: #176d86; font-weight: 700; font-size: .9rem; white-space: nowrap; padding-top: .2rem; }
.malware-report-permalink { font-size: .82rem; font-weight: 700; }
.malware-report-permalink[hidden] { display: none; }
.malware-report-aliases { color: var(--muted); margin: .5rem 0 0; font-size: .9rem; }
.malware-report-window { color: #176d86; margin: .35rem 0 0; font-size: .82rem; }
.malware-report-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.malware-report-metrics > div { display: flex; flex-direction: column; gap: .2rem; padding: 1.15rem clamp(1.25rem, 3vw, 2rem); }
.malware-report-metrics > div[hidden] { display: none; }
.spike-metrics-with-domains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 500px) {
  .spike-metrics-with-domains > div { padding-inline: .75rem; }
}
.malware-report-metrics > div + div { border-left: 1px solid var(--line); }
.malware-report-metrics strong { font: 750 clamp(1.45rem, 3vw, 2rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: -.04em; }
.malware-report-metrics span { color: var(--muted); font-size: .86rem; }
.malware-profile-summary { margin: 0; padding: 1rem clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; font-weight: 650; line-height: 1.55; }
.malware-hourly-panel { position: relative; padding: clamp(1.1rem, 2.5vw, 1.75rem); border-bottom: 1px solid var(--line); }
.malware-hourly-panel h3 { margin: 0 0 .35rem; color: var(--accent-strong, #1d6580); }
.malware-hourly-caption, .malware-hourly-commentary { margin: .45rem 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.malware-hourly-chart { display: block; width: 100%; height: auto; overflow: visible; }
.malware-hourly-grid { stroke: #d7e0e7; stroke-width: 1; }
.malware-hourly-axis { fill: var(--muted); font: 12px system-ui, sans-serif; }
.malware-hourly-line { fill: none; stroke: #128b9b; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.malware-hourly-peak { fill: #e58a37; stroke: #fff; stroke-width: 2; }
.malware-hourly-chart-title { fill: var(--ink); font: 700 13px system-ui, sans-serif; }
.malware-report-activity { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); align-items: start; gap: clamp(1rem, 2.5vw, 1.75rem); padding: clamp(1.1rem, 2.5vw, 1.75rem); border-bottom: 1px solid var(--line); }
.malware-report-content { padding: clamp(1.25rem, 3vw, 2rem); }
.malware-profile h3, .malware-profile h4, .malware-profile h5, .malware-map-panel h3, .malware-map-panel h4 { color: var(--accent-dark); margin: 0 0 .8rem; font-size: 1.03rem; }
.malware-profile h4 { margin-top: 1.25rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.malware-profile h5 { margin-top: 1rem; font-size: .94rem; }
.malware-profile-text { color: var(--muted); font-size: .9rem; line-height: 1.62; }
.malware-profile-text p { margin: .7rem 0; }
.malware-profile-text strong { color: var(--ink); font-weight: 750; }
.malware-profile-text ul, .malware-profile-text ol { margin: .55rem 0 .9rem; padding-left: 1.35rem; }
.malware-profile-text li { margin: .3rem 0; padding-left: .2rem; }
.malware-profile-text code { color: #174885; background: #edf3fb; border-radius: 4px; padding: .08rem .28rem; font-size: .88em; }
.malware-profile-timeline { margin: .9rem 0 1.1rem; }
.malware-profile-timeline h4, .malware-profile-timeline h5 { color: var(--accent-dark); }
.malware-profile-timeline ol { list-style: none; margin: .5rem 0 0 .15rem; padding: 0; border-left: 2px solid #8ccef5; }
.malware-profile-timeline li { position: relative; display: grid; grid-template-columns: minmax(6.4rem, 7.2rem) minmax(0, 1fr); align-items: start; gap: .45rem .8rem; padding: .4rem .15rem .5rem 1rem; }
.malware-profile-timeline li::before { position: absolute; top: .9rem; left: -.38rem; width: .62rem; height: .62rem; border: 2px solid var(--surface); border-radius: 50%; background: #087eae; content: ''; }
.malware-profile-timeline-date { display: inline-flex; width: fit-content; align-items: center; min-height: 1.65rem; border: 1px solid #c7d9f1; border-radius: 99px; background: #edf4fc; color: #174885; padding: .1rem .55rem; font-size: .75rem; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.malware-profile-timeline-event { min-width: 0; border: 1px solid #e2e8ef; border-radius: 8px; background: #f8fafc; color: var(--ink); padding: .55rem .7rem; }
@media (max-width: 520px) { .malware-profile-timeline li { grid-template-columns: 1fr; gap: .35rem; } }
.malware-profile-pending { color: var(--muted); font-size: .9rem; }
.malware-sources { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .75rem; font-size: .9rem; }
.malware-sources summary { cursor: pointer; font-weight: 700; }
.malware-sources ul { padding-left: 1.2rem; }
.malware-sources li { margin: .45rem 0; }
.malware-map-panel { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; padding: 1rem; }
.malware-map-panel h3, .malware-top-domains-panel h3 { margin-bottom: .55rem; }
.malware-map-scroll { position: relative; overflow-x: auto; border: 1px solid rgb(122 184 255 / 20%); border-radius: 14px; background: radial-gradient(ellipse at 50% 42%, #183d67 0%, #0c213d 53%, #071426 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), 0 12px 32px rgb(8 24 46 / 15%); }
.malware-map { display: block; width: 100%; min-width: 480px; height: auto; aspect-ratio: 900 / 420; }
.malware-map-background { fill: transparent; }
.malware-map-land { opacity: .34; filter: invert(1) sepia(.2) saturate(1.3) hue-rotate(165deg); pointer-events: none; }
.malware-map-point { fill: #56e0d0; stroke: #d8fffb; stroke-width: .9; fill-opacity: .58; transition: fill .18s ease, stroke-width .18s ease, filter .18s ease; }
.malware-map-point:focus-visible { outline: none; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 8px #42f4df); }
.malware-map-point.is-active { fill: #ff37c7; stroke: #fff; stroke-width: 2; fill-opacity: .7; filter: drop-shadow(0 0 3px #ff37c7); }
.malware-map-highlight { pointer-events: none; }
.malware-map-credit { fill: #edf5ff; font: 12px system-ui, sans-serif; paint-order: stroke; stroke: #071426; stroke-width: 1.4; }
.malware-map-credit a, .malware-map-credit a:visited { fill: #d0eaff; color: #d0eaff; text-decoration: underline; }
.malware-map-credit a:hover, .malware-map-credit a:focus-visible { fill: #fff; color: #fff; }
@media (max-width: 560px) { .malware-map-credit { font-size: 22px; } }
.malware-map-tooltip { position: absolute; z-index: 1; max-width: calc(100% - 8px); margin: 0; padding: .3rem .55rem; border-radius: 5px; background: #071426; color: #fff; box-shadow: 0 2px 8px #071426; font-size: .78rem; pointer-events: none; }
.malware-map-tooltip span { display: block; }
.malware-map-caption { color: var(--muted); font-size: .72rem; margin: .6rem 0; }
.malware-map-caption strong, .malware-map-caption time { color: var(--accent-dark); font-weight: 700; }
.malware-location-list { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: .78rem; columns: 2; column-gap: 1.4rem; }
.malware-location-list li { break-inside: avoid; margin: .2rem 0; padding: .12rem .35rem; border-radius: 7px; transition: background-color .18s ease, color .18s ease; }
.malware-location-list li::marker { color: #5a7f9f; }
.malware-top-domains-panel { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; padding: 1rem; }
.malware-top-domains-panel h3, .malware-top-domains-panel h4 { color: var(--accent-dark); margin: 0 0 .35rem; font-size: 1.03rem; }
.malware-top-domains-note { color: var(--muted); margin: 0 0 .6rem; font-size: .74rem; line-height: 1.45; }
.malware-top-domains-list { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.malware-top-domains-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .45rem; border-bottom: 1px solid var(--line); padding: .42rem 0; }
.malware-top-domain-name { overflow-x: auto; white-space: nowrap; color: var(--ink); font: 650 .8rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.malware-top-domain-count { color: var(--muted); font-size: .72rem; text-align: right; white-space: nowrap; }
.malware-location-list li.is-active { color: #4c1742; background: #fff0fb; box-shadow: inset 3px 0 #d600a9, 0 0 0 1px #edb3df; }
.malware-location-button { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: .65rem; padding: .1rem 0; border: 0; color: inherit; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.malware-location-button:focus-visible { outline: 2px solid #43bfb3; outline-offset: 2px; border-radius: 3px; }
.malware-location-name { color: #254d68; font-weight: 700; transition: color .18s ease; }
.malware-location-list li.is-active .malware-location-name { color: #a00076; }
.malware-location-button:hover .malware-location-name, .malware-location-button:focus-visible .malware-location-name { color: #087d7a; }
.malware-location-count { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.availability { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; }
.format-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.format-list span { border: 1px solid var(--line); border-radius: 99px; background: var(--surface); padding: .45rem .75rem; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .86rem; }

.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 3rem; max-width: 780px; }
.page-hero h1 { margin: .8rem 0 1rem; font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -.02em; line-height: .98; }
.page-hero p { color: var(--muted); font-size: 1.15rem; }
.copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.copy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.copy-card h2 { font-size: 1.3rem; margin-top: 0; }
.copy-card p:last-child { margin-bottom: 0; }
.contact-details { display: grid; gap: .7rem; margin-top: 1.5rem; }
.contact-details a { font-size: 1.2rem; font-weight: 700; }

.site-footer { margin-top: 4rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.site-footer-nav a { color: inherit; text-underline-offset: .18em; }
.site-footer-nav a:hover, .site-footer-nav a:focus-visible { color: var(--accent-dark); }
.site-footer-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
#report-false-positive { scroll-margin-top: 2rem; }
@media (max-width: 640px), (pointer: coarse) {
  .site-footer-nav { row-gap: .15rem; }
  .site-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 1000px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .site-nav { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .malware-page-heading { flex-basis: auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .activity-layout, .availability, .copy-grid { grid-template-columns: 1fr; }
  .malware-report-activity { grid-template-columns: 1fr; }
  .geo-map-shell { grid-template-columns: 1fr; }
  .geo-map-routes { padding-bottom: 36px; border-top: 1px solid rgb(143 188 232 / 16%); border-left: 0; }
  .geo-map-destination-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .site-shell { padding: 0 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .geo-map-stage { padding: 14px 12px 10px; }
  .geo-map-header, .geo-map-footer { display: block; }
  .geo-map-totals { justify-content: flex-start; margin-top: 10px; }
  .geo-map-updated { margin-top: 7px; text-align: left; }
  .geo-map-destination-list { grid-template-columns: 1fr; }
  .malware-report-header { flex-direction: column; }
  .malware-report-date { white-space: normal; }
  .malware-location-list { columns: 1; }
  .malware-report-header-meta { justify-items: start; }
  .malware-report-archive-link { grid-template-columns: 10rem minmax(0, 1fr); align-items: start; gap: .6rem; }
}

.malware-hourly-hover { fill: #e58a37; stroke: #fff; stroke-width: 2; pointer-events: none; }
.malware-chart-popup { position: absolute; z-index: 3; pointer-events: none; display: inline-block; padding: .45rem .7rem; margin: .5rem 0; border-radius: .35rem; background: #102a43; color: #fff; font-size: .82rem; }
.malware-chart-popup[hidden] { display: none; }
.malware-chart-frame { min-width: 0; margin: .65rem 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.malware-chart-frame > svg { margin: 0; }
.malware-chart-frame .malware-map-scroll { border: 0; border-radius: 0 0 9px 9px; box-shadow: none; }
.malware-svg-downloads { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .45rem; padding: .35rem .6rem; border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; background: #f8fafc; color: var(--muted); font-size: .8rem; }
.malware-svg-downloads .malware-chart-toolbar-heading { flex: 1 1 16rem; margin: 0 auto 0 0; color: var(--accent-dark); font-size: 1rem; line-height: 1.3; }
.malware-svg-download, .malware-show-more { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c7d9e9; background: var(--surface); color: var(--accent-dark); font: inherit; font-weight: 700; cursor: pointer; }
.malware-svg-download { min-height: 2rem; padding: .2rem .65rem; border-radius: 6px; }
.malware-svg-download:hover, .malware-show-more:hover { background: #edf4fc; border-color: #86b9dc; }
.malware-svg-download:focus-visible, .malware-show-more:focus-visible { outline: 3px solid #2a8dc4; outline-offset: 3px; }
.malware-svg-download:disabled { cursor: wait; }
.malware-download-status { color: var(--ink); }
.malware-download-status:empty { display: none; }

.malware-activity-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.malware-activity-highlights .malware-latest-report { margin: 1.5rem 0 2rem; }
.malware-latest-alert { border-left-color: #dd8541; background: linear-gradient(120deg, #fff7ed, #fff 70%); }
.malware-latest-alert .malware-latest-label { color: #a04d17; }
.malware-spike-list { margin-bottom: 2rem; }
.malware-spike-list > p { color: var(--muted); }
.malware-spike-timeline { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #c7d9e9; border-radius: 12px; background: #f7fafc; }
.malware-spike-timeline figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .6rem; color: var(--accent-dark); font-weight: 750; }
.malware-spike-timeline figcaption span { color: var(--muted); font: .78rem/1.5 ui-monospace, monospace; }
.malware-spike-timeline ol { display: flex; margin: .45rem 0; padding: .3rem 0; list-style: none; }
.malware-spike-timeline li { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.malware-spike-timeline li:not(:last-child)::after { content: ''; position: absolute; top: .7rem; left: 50%; width: 100%; height: 2px; background: #b9d5eb; }
.malware-spike-timeline li > a { position: relative; z-index: 1; display: grid; justify-items: center; gap: .1rem; min-height: 2.75rem; width: 100%; padding-inline: 0; border: 0; background: transparent; color: var(--muted); font: .75rem/1.2 ui-monospace, monospace; text-decoration: none; }
.malware-spike-timeline li > a::before { content: ''; width: .8rem; height: .8rem; margin: .26rem 0 .23rem; border: 2px solid #21638f; border-radius: 50%; background: var(--surface); }
.malware-spike-timeline li > a[aria-current] { color: var(--accent-dark); font-weight: 750; }
.malware-spike-timeline li > a[aria-current]::before { background: #21638f; box-shadow: 0 0 0 3px #d6e8f5; }
.malware-spike-timeline li > a:focus-visible { outline: 2px solid #21638f; outline-offset: 2px; border-radius: 6px; }
.malware-spike-timeline-detail { padding: .45rem .65rem; border-radius: 6px; background: #eaf2f9; color: var(--ink); font: .82rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
@media (max-width: 500px) { .malware-report-archive-link { grid-template-columns: 1fr; gap: .2rem; } .malware-spike-timeline { padding-inline: .6rem; } }
.malware-spike-row-with-chart { grid-template-columns: 12.5rem minmax(0, 1fr) 6rem; }
.malware-spike-sparkline { display: block; width: 100%; height: auto; align-self: center; justify-self: end; }
.malware-spike-sparkline path { fill: none; stroke: #087c83; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.malware-spike-sparkline circle { fill: #b65c20; }
.malware-latest-spike-chart { display: block; max-width: 12rem; margin: .5rem 0 .65rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.malware-latest-spike-chart[hidden] { display: none; }
.malware-latest-spike-chart:hover { border-color: #86b9dc; }
@media (max-width: 700px) {
  .malware-spike-row-with-chart { grid-template-columns: 10rem minmax(0, 1fr) 4rem; }
}
@media (max-width: 500px) {
  .malware-spike-row-with-chart { grid-template-columns: minmax(0, 1fr) 4rem; }
  .malware-spike-row-with-chart > time { grid-column: 1 / -1; }
}
.spike-detail-chart { display: block; width: 100%; height: auto; margin: 1rem 0; }
@media (max-width: 640px) {
    .spike-detail-chart .malware-hourly-axis { font-size: 19px; }
    .spike-detail-chart .malware-spike-reference-label { font-size: 25px; }
}
@media (max-width: 700px) { .malware-activity-highlights { grid-template-columns: 1fr; gap: 0; } .malware-activity-highlights .malware-latest-report { margin: .6rem 0; } }

.malware-global-map { margin: 1rem 0 2rem; }
.malware-global-map h2 { color: var(--accent-dark); font-size: 1.08rem; }
.malware-global-map-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: center; gap: .9rem; }
.malware-global-map-layout .malware-location-list { columns: 1; }
.malware-global-map-layout .malware-map { min-width: 0; }
.malware-global-map-note { margin: .35rem 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 800px) {
  .malware-global-map-layout { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .malware-global-map-layout .malware-location-list { columns: 2; }
}
@media (max-width: 500px) {
  .malware-global-map-layout .malware-location-list { columns: 1; }
}
.malware-activity-highlights .malware-latest-report h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.malware-activity-highlights .malware-latest-report p { font-size: .9rem; }
.malware-show-more { gap: .7rem; min-height: 2.75rem; margin: .9rem 0 0; padding: .5rem .95rem; border-radius: 9px; font-size: .9rem; }
.malware-show-more::after { content: ''; width: .4rem; height: .4rem; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-.14rem) rotate(45deg); }
.malware-show-more[hidden] { display: none; }
.malware-spike-note { color: var(--muted); font-size: .9rem; }
.malware-rss { margin-top: 2.5rem; }
.malware-rss li { margin: .5rem 0; color: var(--muted); }

.spike-chart-panel { position: relative; }

.malware-latest-report p strong { color: #176d86; font-weight: 750; }
.spike-hourly-table { border-collapse: collapse; margin-top: .6rem; font-size: .88rem; }
.spike-hourly-table th, .spike-hourly-table td { padding: .35rem .9rem .35rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.spike-hourly-table td:last-child, .spike-hourly-table th:last-child { text-align: right; }

.malware-activity-highlights h2 a { color: inherit; text-underline-offset: .14em; }
.spike-family-report-link { font-size: .47em; font-weight: 600; letter-spacing: normal; line-height: 1.4; }
.spike-detail-content { padding: clamp(.6rem, 2vw, 1.15rem) clamp(1rem, 3vw, 1.5rem); }
.spike-detail-content .malware-chart-frame { margin-top: 0; }
.spike-detail-content .malware-spike-note { margin: .6rem 0; }

.page-contact .page-hero { padding-bottom: 1.5rem; }
.page-contact .section { padding: 1.5rem 0; border-top: 0; }
