:root {
  --ink: #e8f0f5;
  --muted: #8c9dab;
  --faint: #52626f;
  --canvas: #07111f;
  --panel: rgba(15, 29, 45, .82);
  --panel-strong: #102337;
  --line: rgba(172, 203, 220, .14);
  --mint: #67e8c5;
  --mint-deep: #2ebf9d;
  --violet: #a27aff;
  --amber: #ffc56f;
  --danger: #ff7d8e;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: var(--sans); }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 88% 4%, rgba(65, 146, 181, .14), transparent 28rem), radial-gradient(circle at 9% 48%, rgba(100, 232, 197, .06), transparent 26rem); pointer-events: none; }
button, a { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
.shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.topbar { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.brand small { display: block; margin-top: 1px; color: var(--mint); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .13em; }
.brand-mark { position: relative; display: inline-flex; align-items: flex-end; gap: 3px; width: 24px; height: 25px; padding: 4px; border: 1px solid rgba(103, 232, 197, .6); border-radius: 6px; transform: rotate(-4deg); }
.brand-mark i { display: block; width: 3px; background: var(--mint); border-radius: 2px; }.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 12px; }.brand-mark i:nth-child(3) { height: 16px; }
.topbar-actions { display: flex; gap: 16px; align-items: center; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: transparent; font-size: 12px; }.theme-toggle:hover { color: var(--ink); background: rgba(103, 232, 197, .08); }
.local-badge { display: flex; align-items: center; gap: 7px; color: #b5c5cf; font-size: 12px; }.local-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.ghost-button, .text-button { border: 0; color: var(--mint); background: transparent; font-size: 13px; }.ghost-button { border: 1px solid rgba(103, 232, 197, .42); padding: 8px 13px; border-radius: 5px; }.ghost-button:hover { background: rgba(103, 232, 197, .1); }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) 340px; align-items: center; gap: 70px; padding: 96px 5.5% 82px; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-family: var(--mono); font-size: 11px; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; } h1 { max-width: 680px; margin-bottom: 21px; font-size: clamp(38px, 5.3vw, 67px); line-height: 1.19; letter-spacing: -.055em; } h1 em { color: var(--mint); font-style: normal; white-space: nowrap; }
.hero-copy { max-width: 600px; color: #aebdc7; font-size: 15px; line-height: 1.85; }.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; }.hero-actions a { color: #b5c5cf; font-size: 13px; text-underline-offset: 4px; }.primary-button, .secondary-button { border: 1px solid var(--mint); border-radius: 5px; background: var(--mint); color: #052018; font-weight: 700; transition: transform .2s, box-shadow .2s; }.primary-button { padding: 12px 18px; font-size: 14px; }.primary-button span { margin-left: 12px; font-size: 19px; line-height: 0; }.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(103, 232, 197, .18); }
.score-card { min-height: 298px; padding: 21px 24px; border: 1px solid rgba(103, 232, 197, .26); border-radius: 9px; background: linear-gradient(145deg, rgba(20, 47, 61, .86), rgba(10, 22, 36, .93)); box-shadow: 0 20px 55px rgba(0, 0, 0, .17); }.score-top { display: flex; justify-content: space-between; color: #c1d1da; font-size: 12px; }.score-top span:last-child { color: var(--mint); font-size: 11px; }
.score-ring { --score: 0deg; position: relative; width: 143px; height: 143px; margin: 19px auto 13px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; border-radius: 50%; background: conic-gradient(var(--mint) var(--score), rgba(208, 237, 246, .1) 0); }.score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: inherit; background: #102537; }.score-ring[data-level="medium"] { background: conic-gradient(var(--amber) var(--score), rgba(208, 237, 246, .1) 0); }.score-ring[data-level="high"] { background: conic-gradient(var(--danger) var(--score), rgba(208, 237, 246, .1) 0); }.score-ring span, .score-ring small { position: relative; z-index: 1; }.score-ring span { font-family: var(--mono); font-size: 47px; line-height: .95; letter-spacing: -.08em; }.score-ring small { align-self: center; margin: 16px 0 0 6px; color: var(--muted); font-size: 10px; }.score-card > p { margin: 0; color: var(--muted); text-align: center; font-size: 12px; }.score-scale { display: flex; justify-content: space-between; margin-top: 21px; color: var(--faint); font-size: 10px; }.score-scale span:nth-child(2) { color: #a18c66; }.score-scale span:last-child { color: #a96b72; }
.notice { display: flex; gap: 13px; align-items: center; padding: 13px 17px; border: 1px solid rgba(162, 122, 255, .25); border-radius: 6px; background: rgba(162, 122, 255, .055); color: #bdc5db; font-size: 12px; line-height: 1.7; }.notice p { margin: 0; }.notice strong { color: #d8ccff; }.notice-icon { color: var(--violet); font-size: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 83px 0 21px; }.section-heading .eyebrow { margin-bottom: 6px; }.section-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.04em; }.text-button { padding: 8px 0; }.text-button span { margin-left: 6px; font-size: 18px; }.section-note { color: var(--muted); font-size: 12px; }
.network-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }.panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, rgba(19, 38, 57, .8), rgba(12, 26, 41, .86)); }.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.panel-kicker { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }.state { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; font-size: 10px; }.state.idle { color: #90a0ac; background: rgba(143, 160, 172, .13); }.state.checking { color: #bdd1ff; background: rgba(117, 164, 255, .15); }.state.safe { color: var(--mint); background: rgba(103, 232, 197, .1); }.state.warning { color: var(--amber); background: rgba(255, 197, 111, .1); }
.ip-value { overflow: hidden; margin: 30px 0 9px; font-family: var(--mono); font-size: clamp(29px, 4vw, 43px); letter-spacing: -.07em; text-overflow: ellipsis; white-space: nowrap; }.skeleton-text { color: #647688; }.ip-meta { color: #b5c5cf; font-size: 13px; }.details-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 25px; margin: 31px 0 0; }.details-list div { min-width: 0; }.details-list dt { margin-bottom: 4px; color: var(--faint); font-size: 11px; }.details-list dd { overflow: hidden; margin: 0; color: #cbd7de; font-family: var(--mono); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.alert-panel { display: flex; flex-direction: column; }.alert-panel h3 { margin: 25px 0 7px; font-size: 19px; }.panel-description { color: var(--muted); font-size: 12px; line-height: 1.75; }.candidate-list { display: grid; gap: 7px; min-height: 56px; margin: 10px 0 17px; }.muted { color: var(--faint); font-size: 12px; }.candidate-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 4px; background: rgba(0, 0, 0, .13); }.candidate-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }.candidate-dot.risk { background: var(--amber); }.candidate-row code { overflow: hidden; color: #c8d4db; font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.candidate-row span:last-child { color: var(--muted); font-size: 10px; }.secondary-button { width: 100%; margin-top: auto; padding: 10px; background: transparent; color: var(--mint); font-size: 12px; }
.fingerprint-heading { margin-top: 82px; }.fingerprint-layout { display: grid; grid-template-columns: 330px 1fr; gap: 16px; }.fingerprint-summary { display: flex; flex-direction: column; }.hash-label { margin: 29px 0 8px; color: var(--muted); font-size: 12px; }.hash-value { display: block; overflow: hidden; padding: 11px; border: 1px solid rgba(103, 232, 197, .16); border-radius: 4px; color: var(--mint); background: #091929; font-family: var(--mono); font-size: 11px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }.fingerprint-summary .panel-description { margin: 15px 0 23px; }.fingerprint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.fingerprint-item { display: flex; min-width: 0; gap: 11px; padding: 14px 13px; border: 1px solid var(--line); border-radius: 6px; background: rgba(15, 31, 47, .52); }.fingerprint-item > span { flex: 0 0 auto; width: 25px; height: 22px; padding-top: 4px; border-radius: 3px; color: var(--mint); background: rgba(103, 232, 197, .1); text-align: center; font-family: var(--mono); font-size: 8px; }.fingerprint-item div { min-width: 0; }.fingerprint-item h3 { margin: 0 0 5px; color: #a9bac5; font-size: 11px; font-weight: 500; }.fingerprint-item p { overflow: hidden; margin: 0; color: #d1dce1; font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.local-explainer { display: grid; gap: 4px; margin: -10px 0 20px; padding: 10px; border-left: 2px solid rgba(162, 122, 255, .75); background: rgba(162, 122, 255, .07); color: #b7c2d4; font-size: 10px; line-height: 1.7; }.local-explainer strong { color: #ded3ff; font-size: 11px; }
.privacy-heading { margin-top: 76px; }.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.setting-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: rgba(15, 31, 47, .52); }.setting-card.pending { opacity: .55; }.setting-icon { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border-radius: 5px; font-size: 17px; }.setting-card.safe .setting-icon { color: var(--mint); background: rgba(103, 232, 197, .1); }.setting-card.caution .setting-icon { color: var(--amber); background: rgba(255, 197, 111, .1); }.setting-card h3 { margin: 0 0 3px; font-size: 12px; }.setting-card p { overflow: hidden; margin: 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.setting-status { margin-left: auto; color: var(--muted); font-size: 10px; }.setting-card.safe .setting-status { color: var(--mint); }.setting-card.caution .setting-status { color: var(--amber); }
.setting-card.normal .setting-icon { color: #b9c9d4; background: rgba(185, 201, 212, .1); }.setting-card.normal .setting-status { color: #a3b3be; }
.advice-heading { margin-top: 76px; }.advice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.advice-card { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: rgba(15, 31, 47, .52); }.advice-symbol { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 50%; font-family: var(--mono); font-size: 13px; font-weight: 700; }.advice-card.neutral .advice-symbol { color: #b9c9d4; background: rgba(185, 201, 212, .12); }.advice-card.caution .advice-symbol { color: var(--amber); background: rgba(255, 197, 111, .12); }.advice-card.warning .advice-symbol { color: var(--danger); background: rgba(255, 125, 142, .12); }.advice-card.safe .advice-symbol { color: var(--mint); background: rgba(103, 232, 197, .12); }.advice-card > div { min-width: 0; }.advice-tag { color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; }.advice-card h3 { margin: 6px 0; font-size: 13px; line-height: 1.5; }.advice-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.how-it-works { margin-top: 88px; padding: 39px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }.steps span { color: var(--mint); font-family: var(--mono); font-size: 12px; }.steps h3 { margin: 12px 0 7px; font-size: 16px; }.steps p { color: var(--muted); font-size: 12px; line-height: 1.75; } footer { display: flex; justify-content: space-between; padding: 27px 0 35px; color: var(--faint); font-family: var(--mono); font-size: 10px; } footer i { color: var(--mint); font-style: normal; }
.spinner { display: inline-block; width: 11px; height: 11px; margin-left: 9px; border: 2px solid #165544; border-top-color: #062e23; border-radius: 50%; vertical-align: -1px; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.state.danger { color: var(--danger); background: rgba(255, 125, 142, .11); }
.score-scale span:first-child { color: var(--danger); }.score-scale span:nth-child(2) { color: var(--amber); }.score-scale span:last-child { color: var(--mint); }
.score-deductions { display: grid; gap: 7px; margin: 15px 0 3px; }.deduction-empty { padding: 9px 10px; border: 1px dashed rgba(172, 203, 220, .17); border-radius: 5px; color: var(--faint); text-align: center; font-size: 12px; }.deduction-empty.safe { border-color: rgba(103, 232, 197, .2); color: var(--mint); background: rgba(103, 232, 197, .045); }.deduction-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 25px; gap: 8px; align-items: center; padding: 9px 9px 9px 11px; border: 1px solid; border-radius: 5px; font-size: 11px; line-height: 1.45; }.deduction-row.caution { border-color: rgba(255, 197, 111, .3); color: #f2d399; background: rgba(255, 197, 111, .06); }.deduction-row.warning { border-color: rgba(255, 125, 142, .34); color: #ffabb6; background: rgba(255, 125, 142, .06); }.deduction-row strong { font-family: var(--mono); font-size: 12px; white-space: nowrap; }.risk-help-button { display: grid; width: 25px; height: 25px; padding: 0; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; font-family: var(--mono); font-size: 13px; font-weight: 700; }.risk-help-button:hover { color: var(--ink); background: rgba(255, 255, 255, .09); }.risk-help-button:focus-visible, .dialog-close:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.risk-dialog { width: min(540px, calc(100% - 32px)); padding: 31px; border: 1px solid rgba(103, 232, 197, .3); border-radius: 10px; color: var(--ink); background: #102337; box-shadow: 0 28px 80px rgba(0, 0, 0, .52); }.risk-dialog::backdrop { background: rgba(2, 8, 16, .78); backdrop-filter: blur(5px); }.risk-dialog.warning { border-color: rgba(255, 125, 142, .45); }.risk-dialog.caution { border-color: rgba(255, 197, 111, .45); }.dialog-close { position: absolute; top: 17px; right: 17px; display: grid; width: 31px; height: 31px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 20px; line-height: 1; }.dialog-close:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }.dialog-severity { display: inline-block; margin-bottom: 11px; padding: 4px 8px; border-radius: 999px; color: var(--amber); background: rgba(255, 197, 111, .1); font-size: 11px; }.risk-dialog.warning .dialog-severity { color: var(--danger); background: rgba(255, 125, 142, .1); }.risk-dialog h2 { margin: 0 38px 25px 0; font-size: 27px; }.risk-dialog section { margin-top: 20px; }.risk-dialog h3 { margin-bottom: 8px; color: #cdd9df; font-size: 14px; }.risk-dialog p, .risk-dialog li { color: var(--muted); font-size: 13px; line-height: 1.8; }.risk-dialog p { margin-bottom: 0; }.dialog-solution { padding: 16px 18px; border-radius: 7px; background: rgba(103, 232, 197, .055); }.dialog-solution ol { margin: 0; padding-left: 21px; }.dialog-solution li + li { margin-top: 6px; }
html[data-theme="light"] { --ink: #10242b; --muted: #60737b; --faint: #83949b; --canvas: #f3f7f6; --panel: rgba(255, 255, 255, .9); --panel-strong: #ffffff; --line: rgba(25, 66, 70, .14); --mint: #087f69; --mint-deep: #08705e; --violet: #7557d6; --amber: #9b6415; --danger: #be3e50; }
html[data-theme="light"] body::before { background: radial-gradient(circle at 88% 4%, rgba(41, 144, 151, .1), transparent 28rem), radial-gradient(circle at 9% 48%, rgba(8, 127, 105, .06), transparent 26rem); }
html[data-theme="light"] .local-badge, html[data-theme="light"] .hero-actions a, html[data-theme="light"] .ip-meta { color: #526a73; }
html[data-theme="light"] .hero-copy { color: #536b74; }
html[data-theme="light"] .score-card { background: linear-gradient(145deg, rgba(235, 250, 246, .98), rgba(255, 255, 255, .98)); box-shadow: 0 20px 55px rgba(23, 63, 65, .1); }
html[data-theme="light"] .score-ring::before { background: #f9fffd; }
html[data-theme="light"] .score-top, html[data-theme="light"] .fingerprint-item p, html[data-theme="light"] .details-list dd { color: #334f59; }
html[data-theme="light"] .notice { color: #5e5870; background: rgba(117, 87, 214, .05); }
html[data-theme="light"] .panel { background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(241, 248, 247, .96)); box-shadow: 0 12px 30px rgba(23, 63, 65, .06); }
html[data-theme="light"] .hash-value { color: var(--mint); background: #edf8f5; }
html[data-theme="light"] .fingerprint-item, html[data-theme="light"] .setting-card { background: rgba(255, 255, 255, .7); }
html[data-theme="light"] .candidate-row { background: rgba(16, 54, 58, .05); }
html[data-theme="light"] .candidate-row code { color: #3d555d; }
html[data-theme="light"] .risk-dialog { background: #ffffff; box-shadow: 0 28px 80px rgba(23, 63, 65, .24); }
html[data-theme="light"] .risk-dialog h3 { color: #29444d; }
html[data-theme="light"] .dialog-solution { background: rgba(8, 127, 105, .06); }
.hero-copy { font-size: 17px; }.primary-button { font-size: 16px; }.score-card { min-height: 348px; padding: 24px 27px; }.score-top { font-size: 14px; }.score-top span:last-child { font-size: 12px; }.score-ring { width: 171px; height: 171px; margin: 20px auto 15px; }.score-ring span { font-size: 64px; }.score-ring small { margin-top: 21px; font-size: 12px; }.score-card > p { font-size: 14px; }.score-scale { font-size: 12px; }.notice { font-size: 14px; }.section-heading h2 { font-size: 30px; }.section-note { font-size: 14px; }.factor-heading { margin-top: 54px; }.score-factor-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }.factor-card { min-height: 144px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: rgba(15, 31, 47, .52); }.factor-card.pending { opacity: .62; }.factor-card.safe { border-color: rgba(103, 232, 197, .28); }.factor-card.caution { border-color: rgba(255, 197, 111, .32); }.factor-card.warning { border-color: rgba(255, 125, 142, .35); }.factor-card.normal { border-color: rgba(185, 201, 212, .2); }.factor-top { display: flex; align-items: start; justify-content: space-between; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.35; }.factor-top strong { color: #dbe7ed; font-family: var(--mono); font-size: 23px; line-height: 1; letter-spacing: -.06em; }.factor-card.safe .factor-top strong { color: var(--mint); }.factor-card.caution .factor-top strong { color: var(--amber); }.factor-card.warning .factor-top strong { color: var(--danger); }.factor-top small { color: var(--faint); font-size: 10px; font-weight: 400; letter-spacing: 0; }.factor-card h3 { margin: 20px 0 6px; font-size: 13px; }.factor-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.advice-heading { margin-top: 47px; }.panel-description { font-size: 14px; }.ip-meta { font-size: 14px; }.details-list dt { font-size: 12px; }.details-list dd { font-size: 13px; }.candidate-row code { font-size: 12px; }.candidate-row span:last-child { font-size: 11px; }.hash-label { font-size: 13px; }.hash-value { font-size: 12px; }.fingerprint-item h3 { font-size: 13px; }.fingerprint-item p { font-size: 12px; }.local-explainer { font-size: 12px; }.local-explainer strong { font-size: 13px; }.setting-card h3 { font-size: 14px; }.setting-card p { font-size: 13px; }.advice-tag { font-size: 10px; }.advice-card h3 { font-size: 16px; }.advice-card p { font-size: 13px; }.steps p { font-size: 13px; }
@media (max-width: 1050px) { .score-factor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 37px; padding: 66px 0 57px; }.score-card { max-width: 400px; }.network-grid, .fingerprint-layout { grid-template-columns: 1fr; }.fingerprint-summary { min-height: 266px; }.settings-grid, .advice-grid { grid-template-columns: 1fr; }.steps { gap: 25px; }.fingerprint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shell { width: min(100% - 28px, 1180px); }.topbar { height: 77px; }.local-badge { display: none; }.hero { padding-top: 49px; }.hero-actions { gap: 17px; }.section-heading { margin-top: 57px; }.section-heading h2 { font-size: 26px; }.network-grid { gap: 12px; }.panel { padding: 18px; }.details-list { gap: 13px; }.fingerprint-grid, .score-factor-grid { grid-template-columns: 1fr; }.section-note { display: none; }.steps { grid-template-columns: 1fr; }.how-it-works { margin-top: 58px; }.topbar-actions { gap: 0; } footer { flex-direction: column; gap: 8px; }.candidate-row { grid-template-columns: 8px minmax(0, 1fr); }.candidate-row span:last-child { grid-column: 2; } }
