:root {
  color-scheme: light;
  --paper: #f4f7fc;
  --surface: #fff;
  --ink: #132b48;
  --muted: #52657c;
  --teal: #087e78;
  --blue: #315be8;
  --amber: #946314;
  --line: #dce4ef;
  --soft: #edf2f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button, a, summary { touch-action: manipulation; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; background: var(--surface); border: 1px solid var(--blue); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h2 { font-size: 19px; font-weight: 650; letter-spacing: -.45px; }
h3 { font-size: 15px; font-weight: 650; }
p { max-width: 78ch; }
.site-header { display: flex; align-items: center; gap: 34px; min-height: 100px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 720; letter-spacing: -.55px; }
.brand-mark { flex-shrink: 0; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.primary-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.check-control { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-size: 13px; }
.check-control input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.header-actions .check-control { margin-right: 7px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 7px; min-height: 38px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #264bc9; }
.button-secondary { color: var(--blue); background: var(--surface); border-color: #c7d3ef; }
.button-secondary:hover { background: #edf2ff; }
.button-quiet { color: var(--muted); background: transparent; border-color: var(--line); }
.button-quiet:hover { color: var(--ink); background: #eaf0f9; }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 51px 0 33px; }
h1 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 680; letter-spacing: -1.8px; line-height: 1.12; }
.hero p { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.hero .hero-aside { padding-bottom: 3px; font-size: 12px; line-height: 1.6; }
.signal-symbol { display: flex; align-items: flex-end; gap: 4px; height: 25px; margin-bottom: 12px; }
.signal-symbol i { width: 5px; background: var(--teal); border-radius: 2px; }
.signal-symbol i:nth-child(1) { height: 7px; }
.signal-symbol i:nth-child(2) { height: 12px; }
.signal-symbol i:nth-child(3) { height: 18px; }
.signal-symbol i:nth-child(4) { height: 24px; }
.snapshot { display: grid; grid-template-columns: minmax(0, 1fr) 286px; background: var(--surface); border: 1px solid #cbd6e6; border-radius: 16px; overflow: hidden; }
.connection-summary { padding: 28px 32px 25px; min-width: 0; }
.snapshot-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.snapshot-heading h2 { font-size: 14px; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.main-ip { margin-top: 20px; font-size: clamp(25px, 4.05vw, 48px); font-weight: 550; letter-spacing: -1.8px; line-height: 1.25; overflow-wrap: anywhere; }
.ip-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.main-location { margin-top: 9px; font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.snapshot-caption { margin-top: 21px; color: var(--muted); font-size: 12px; }
.risk-summary { padding: 28px 28px 24px; border-left: 1px solid var(--line); background: #f8fafd; }
.risk-summary h2 { color: var(--muted); font-size: 13px; font-weight: 550; letter-spacing: 0; }
.risk-value { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
#risk-score { font-size: 42px; font-weight: 650; letter-spacing: -1.5px; line-height: 1.2; }
.risk-scale { color: var(--muted); font-size: 13px; }
.risk-label { margin-bottom: 11px; font-size: 13px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }
.badge { display: inline-flex; align-items: center; max-width: 100%; width: fit-content; gap: 5px; padding: 4px 9px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.badge.good { color: #066e68; background: #e4f4ef; border-color: #c6e8df; }
.badge.warn { color: #80540d; background: #fff3d9; border-color: #efdcad; }
.badge.neutral { color: var(--muted); background: var(--soft); border-color: var(--line); }
.badge.bad { color: #a43c38; background: #fceceb; border-color: #f1d2cf; }
.route-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 29px 0 14px; }
.route-heading h2 { font-size: 15px; letter-spacing: -.15px; }
.route-heading p { color: var(--muted); font-size: 12px; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: #f9fbfe; overflow: hidden; }
.route-panel { min-width: 0; padding: 20px 22px 11px; }
.route-panel + .route-panel { border-left: 1px solid var(--line); }
.route-panel h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 13px; }
.route-dot { display: inline-block; width: 6px; height: 6px; border: 1.5px solid var(--blue); border-radius: 50%; }
.route-panel .reading { padding: 8px 0; font-size: 12px; }
.route-panel .readings { margin: 0; }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.section-grid { margin-top: 24px; }
.panel { min-width: 0; padding: 25px 26px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.panel-caption { color: var(--muted); font-size: 11px; white-space: nowrap; }
.readings { margin: 0; }
.reading { display: grid; grid-template-columns: minmax(110px, .85fr) minmax(0, 1.15fr); align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e9eef5; font-size: 13px; }
.reading:last-child { border-bottom: 0; }
.reading dt { color: var(--muted); overflow-wrap: anywhere; }
.reading dd { min-width: 0; margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; word-break: normal; }
.reading dd > .badge { vertical-align: middle; }
.reading dd a { overflow-wrap: anywhere; }
.panel-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
.claude-panel { margin-top: 24px; border-top: 3px solid #a4b8ec; padding-top: 23px; }
.section-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.section-intro p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.reference-links { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.reference-links a { font-size: 12px; text-decoration: none; }
.reference-links a:hover { text-decoration: underline; }
.reference-links span { margin-left: 2px; }
.claude-panel .readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.claude-panel .panel-note { max-width: none; }
.section-description { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.extended-section { padding-top: 39px; }
.local-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.browser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 20px; }
.detail-panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
summary { cursor: pointer; }
.detail-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; list-style: none; font-size: 14px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.detail-panel summary::after, .methodology summary::after { content: "+"; flex-shrink: 0; color: var(--muted); font-size: 19px; font-weight: 400; line-height: 1; }
.detail-panel[open] summary::after, .methodology[open] summary::after { content: "−"; }
.detail-panel[open] summary { padding-bottom: 12px; }
.detail-panel .readings { padding: 0 22px 10px; }
.detail-panel .reading { padding: 9px 0; font-size: 12px; }
.browser-wide { grid-column: 1 / -1; }
.browser-wide .readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.fingerprint-panel { margin-top: 20px; padding: 23px 26px 15px; border: 1px solid #d2dfed; border-radius: 8px; background: #eaf1f9; }
.fingerprint-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 13px; }
.fingerprint-intro h3 { margin-bottom: 6px; font-size: 14px; }
.fingerprint-intro p { max-width: 72ch; color: var(--muted); font-size: 12px; line-height: 1.65; }
.fingerprint-panel .reading { border-color: #d5e0ed; }
.history-section { margin-top: 38px; padding-top: 29px; border-top: 1px solid var(--line); }
.history-section .section-intro { margin-bottom: 19px; }
.history-control { color: var(--ink); font-size: 13px; }
#history-note { margin-top: 7px; }
.history-list { padding: 0; margin: 18px 0 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.history-list li { min-width: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; overflow-wrap: anywhere; }
.history-list li:last-child { border-bottom: 0; }
.history-list .empty-state { color: var(--muted); }
.noscript-note { margin-top: 22px; padding: 16px; color: var(--amber); background: #fff3d9; border: 1px solid #efdcad; border-radius: 8px; }
.site-footer { margin-top: 40px; padding-bottom: 28px; }
.methodology { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.methodology summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 550; }
.methodology-content { padding-bottom: 20px; }
.methodology-content p { max-width: 100ch; margin-bottom: 12px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.methodology-content p:last-child { margin-bottom: 0; }
.footer-line { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: var(--muted); font-size: 11px; }
.footer-line span:first-child { color: var(--ink); font-weight: 600; }
body.ip-hidden .ip-value { filter: blur(7px); user-select: none; }
@media (min-width: 1000px) { .claude-panel .readings .reading:nth-last-child(-n + 2), .browser-wide .readings .reading:nth-last-child(-n + 2) { border-bottom: 0; } }
@media (max-width: 1080px) {
  .site-header { flex-wrap: wrap; gap: 16px 32px; padding-top: 22px; padding-bottom: 20px; }
  .header-actions { margin-left: auto; }
  .primary-nav { gap: 20px; }
  .header-actions .button { padding-inline: 10px; }
  .header-actions { gap: 7px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .snapshot { grid-template-columns: minmax(0, 1fr) 260px; }
  .connection-summary { padding-inline: 26px; }
  .risk-summary { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .site-header { gap: 19px 28px; }
  .primary-nav { margin-left: auto; }
  .header-actions { flex-basis: 100%; justify-content: flex-end; }
  .header-actions .check-control { margin-right: auto; }
  .hero { padding-top: 37px; }
  .hero-aside { display: none; }
  .route-panel { padding-inline: 17px; }
  .route-panel .reading { grid-template-columns: 1fr; gap: 3px; }
  .route-panel .reading dd { text-align: left; }
  .panel { padding-inline: 21px; }
  .reading { grid-template-columns: minmax(95px, .9fr) minmax(0, 1.1fr); gap: 12px; }
  .claude-panel .section-intro { align-items: flex-start; }
  .reference-links { gap: 8px; flex-direction: column; align-items: flex-end; }
  .fingerprint-intro { align-items: flex-start; }
  .fingerprint-intro .button { flex-shrink: 1; max-width: 180px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { gap: 19px 12px; padding-top: 20px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .hero { padding: 30px 0 25px; }
  h1 { font-size: 34px; letter-spacing: -1.4px; }
  .hero p { margin-top: 14px; font-size: 14px; }
  .snapshot { grid-template-columns: 1fr; border-radius: 12px; }
  .connection-summary { padding: 23px 22px; }
  .main-ip { margin-top: 17px; font-size: clamp(24px, 6.7vw, 40px); letter-spacing: -1px; }
  .snapshot-caption { margin-top: 17px; }
  .risk-summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 22px; border-left: 0; border-top: 1px solid var(--line); }
  .risk-summary h2 { grid-column: 1; }
  .risk-value { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: center; }
  #risk-score { font-size: 30px; }
  .risk-label { grid-column: 1; margin: 0; }
  #risk-note { grid-column: 1 / -1; margin-top: 5px; }
  .route-heading { display: block; margin-top: 25px; }
  .route-heading p { margin-top: 6px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-panel { padding: 15px 20px 8px; }
  .route-panel + .route-panel { border-left: 0; border-top: 1px solid var(--line); }
  .route-panel h3 { margin-bottom: 4px; }
  .route-panel .reading { grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 12px; }
  .route-panel .reading dd { text-align: right; }
  .two-columns { grid-template-columns: 1fr; gap: 16px; }
  .section-grid, .claude-panel { margin-top: 16px; }
  .panel { padding: 22px 20px 18px; }
  h2 { font-size: 18px; }
  .section-intro { display: block; margin-bottom: 16px; }
  .reference-links { align-items: flex-start; flex-direction: row; gap: 18px; margin-top: 16px; }
  .claude-panel .readings, .browser-wide .readings { display: block; }
  .extended-section { padding-top: 30px; }
  .local-label { margin-top: 14px; }
  .browser-grid { grid-template-columns: 1fr; gap: 12px; }
  .browser-wide { grid-column: auto; }
  .detail-panel summary { padding: 18px 20px; }
  .detail-panel .readings { padding-inline: 20px; }
  .fingerprint-panel { padding: 21px 20px 13px; }
  .fingerprint-intro { display: block; }
  .fingerprint-intro .button { max-width: none; margin-top: 15px; }
  .history-section { margin-top: 29px; padding-top: 25px; }
  .history-section .section-intro { display: flex; align-items: flex-start; gap: 16px; }
  .history-section .section-intro p { max-width: 30ch; }
  .history-control { align-items: flex-start; }
  .history-control input { margin-top: 3px; }
  .site-footer { margin-top: 29px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .primary-nav { gap: 10px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 25px; height: 25px; }
  .header-actions .button { padding-inline: 9px; font-size: 12px; }
  h1 { font-size: 32px; }
  .hero-break { display: none; }
  .connection-summary, .risk-summary { padding-inline: 18px; }
  .snapshot-heading { gap: 10px; }
  .snapshot-heading h2 { font-size: 13px; }
  .panel, .fingerprint-panel { padding-inline: 18px; }
  .reading { gap: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.risk-network { margin: 0 0 9px; font-size: 12px; font-weight: 600; }
.risk-summary > a { display: inline-block; margin-top: 8px; }
.findings-panel { margin-top: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.findings-panel h2 { font-size: 14px; }
.findings-panel p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.findings-panel ul { margin: 10px 0 0; padding-left: 19px; font-size: 13px; }
.findings-panel ul:empty { display: none; }
.findings-panel li + li { margin-top: 5px; }
.findings-panel.has-findings { background: #fff9ed; border-color: #e9c784; }
.findings-panel.has-findings h2, .findings-panel.has-findings a { color: #80540d; }
.mismatch-row { background: #fff9ed; border-left: 3px solid #c58b24; padding-left: 9px; padding-right: 9px; }
.mismatch-row dt { color: #80540d; }
.readings { scroll-margin-top: 20px; }
