:root {
  --bg: #070d12;
  --card: #121a22;
  --ink: #e7eef3;
  --muted: #9aafbc;
  --line: #2a3946;
  --green: #1ed760;
  --green-ink: #062117;
  --orange: #f0a35e;
  --red: #ff8d8d;
  --shadow: 0 16px 36px rgba(0, 0, 0, .28);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .brand span, .button { font-family: Outfit, sans-serif; letter-spacing: -.02em; }
h1 { font-size: clamp(1.85rem, 4vw, 3.1rem); line-height: 1.12; margin: 0 0 10px; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.2; margin: 0 0 10px; }
h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 12px; }
a { color: #8ee7b5; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 3px solid #1ed760; outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; background: #fff; color: #062117; padding: 8px 12px; z-index: 8; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(7, 13, 18, .92); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 650; font-size: 1.15rem; }
.links { display: flex; gap: 16px; margin-inline-start: auto; }
.links a { color: #d5e4ea; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.links a[aria-current="page"] { color: #fff; }
.menu { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; min-height: 44px; padding: 0 14px; }
.lang { display: flex; align-items: center; margin: 0; }
.lang select { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #0d151c; padding: 0 8px; max-width: 132px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 12px; border: 0;
  background: var(--green); color: var(--green-ink); text-decoration: none; font-weight: 650;
}
.button:hover { filter: brightness(1.05); }
.button:active { transform: translateY(1px); }
.button.small { min-height: 44px; padding: 0 12px; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.ghost:hover { border-color: #8ee7b5; }
.hero { padding: 28px 0 20px; background: radial-gradient(700px 280px at 80% 0%, rgba(30, 215, 96, .12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 22px; align-items: start; }
.hero-copy, .scanner { grid-column: 1; }
.notes { grid-column: 2; grid-row: 1 / span 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: #8ee7b5; margin-bottom: 8px; }
.lede, .section-lead { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.trust, .hint, .tip { color: var(--muted); font-size: .95rem; }
.scanner, .stack, .progress-card, .example-card, .report-card, .card-link, .cards article, .notes {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.scanner, .stack, .progress-card, .example-card { padding: 16px; }
.notes { padding: 18px; }
.notes ul, .plain, .status-list { list-style: none; padding: 0; margin: 0; }
.notes li, .check { display: flex; gap: 10px; align-items: flex-start; }
.notes li + li { margin-top: 14px; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: #1ed760; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modes { display: flex; gap: 8px; margin-bottom: 12px; }
.modes.sub { margin-top: 4px; }
.modes button, .text {
  min-height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #0d151c; color: var(--ink); padding: 0 12px;
}
.modes button[aria-pressed="true"] { background: #1ed760; color: #062117; border-color: #1ed760; }
.label-row { display: flex; align-items: center; gap: 8px; }
.label-row label { flex: 1; margin-bottom: 0; }
.label-row .text { margin-top: 8px; }
.scanner input, select, textarea, .stack input, .stack textarea, #web-url {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: #0b1218; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
label { display: block; font-weight: 600; margin: 12px 0 6px; }
.error { min-height: 1.2em; color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.actions.tight { margin-top: 0; }
.hidden, [hidden] { display: none !important; }
.ribbon {
  display: inline-flex; margin: 0 0 10px; background: #3a2d12; color: #ffd98a;
  border-radius: 999px; padding: 4px 10px; font-size: .78rem; letter-spacing: .08em; font-weight: 700;
}
.section { padding: 36px 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.patterns { grid-template-columns: repeat(3, 1fr); }
.cards article, .card-link { padding: 16px; text-decoration: none; color: inherit; }
.card-link { display: block; }
.card-link:hover, .cards article:hover { border-color: #355446; }
.status-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.status-list strong { display: inline-block; min-width: 9.5em; }
.panel { padding: 8px 0 28px; background: radial-gradient(520px 240px at 50% 0%, rgba(30, 215, 96, .16), transparent 70%); }
.progress-card { max-width: 460px; margin: 0 auto; text-align: center; box-shadow: 0 0 0 1px rgba(30, 215, 96, .18), 0 24px 60px rgba(0, 0, 0, .35); }
.progress-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; text-align: start; }
.gauge-wrap { position: relative; width: min(280px, 100%); margin: 8px auto 0; }
.gauge { width: 100%; height: auto; display: block; }
.gauge-track, #gauge-arc { fill: none; stroke-linecap: round; stroke-width: 12; }
.gauge-track { stroke: #1c3326; }
#gauge-arc { stroke: #1ed760; stroke-dasharray: 251; stroke-dashoffset: 251; }
.gauge-mark { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; }
.gauge-readout { position: absolute; left: 0; right: 0; bottom: 6px; }
#gauge-pct { display: block; font-size: 3rem; line-height: 1; color: #f4fff8; }
#stage-label { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.pace-steps { list-style: none; padding: 0; margin: 12px 0; text-align: start; }
.pace-steps li { padding: 8px 10px; border-radius: 10px; color: #6e8492; }
.pace-steps li.active { color: #f4fff8; background: #10261a; }
.pace-steps li.done { color: #8ee7b5; }
.bar { height: 8px; background: #243140; border-radius: 999px; overflow: hidden; }
#bar-fill { display: block; height: 100%; width: 0; background: var(--green); }
#progress-done, #progress-sources { padding-inline-start: 18px; }
.guide, .prose ul, .report ul { padding-inline-start: 18px; }
.report-card { padding: 16px; margin: 14px 0; }
.report-card li.risk { color: var(--red); }
.report-card li.attention { color: var(--orange); }
.addr { overflow-wrap: anywhere; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.meta div { background: #0d151c; border-radius: 12px; padding: 12px; }
.meta dt { color: var(--muted); font-size: .85rem; }
.stack.slim { margin-top: 18px; }
.check, .choice { font-weight: 500; margin: 8px 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; }
fieldset { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; padding: 12px; }
.site-footer { border-top: 1px solid var(--line); color: #c5d4dc; padding: 28px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 18px; }
.site-footer a { color: #fff; margin-inline-end: 12px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; align-items: start; }
#web-result h2 { margin-top: 12px; }
@media (max-width: 980px) {
  .hero-grid, .split, .cards.four, .cards.patterns, .meta { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
  .menu { display: inline-flex; margin-inline-start: auto; }
  .links.open {
    display: flex; flex-direction: column; position: absolute; z-index: 6;
    top: 68px; inset-inline: 0; background: #071018; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .notes { grid-column: 1; grid-row: auto; }
}
@media (max-width: 700px) {
  .nav { min-height: 56px; }
  .links.open { top: 56px; }
  .hero { padding: 8px 0 4px; }
  h1 { font-size: 1.65rem; line-height: 1.12; margin-bottom: 6px; }
  .lede { font-size: .98rem; line-height: 1.4; margin-bottom: 8px; }
  .scanner { padding: 12px; }
  .modes { margin-bottom: 8px; }
  label { margin: 8px 0 4px; }
  .hint, .trust { font-size: .9rem; line-height: 1.35; margin-bottom: 6px; }
  .actions { margin-top: 8px; }
  .hero-grid { display: flex; flex-direction: column; }
  .notes { order: 3; }
  .cards, .cards.four, .cards.patterns, .split, .meta, .foot { grid-template-columns: 1fr; display: grid; }
  .foot { display: grid; }
  .actions .button, .section .button { width: 100%; }
  .site-header .button.small { display: none; }
  .label-row .text { min-width: 72px; }
  .status-list strong { min-width: 0; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.safety-tips-page {
  --st-primary: #2980fe;
  --st-danger-bg: #fff0f0;
  --st-danger-text: #e53e3e;
  --st-warning-bg: #fff8e1;
  --st-warning-text: #d97706;
  --st-page-bg: #faf9fe;
  --st-section-bg: #eef4ff;
  --st-card-bg: #fff;
  --st-card-border: #e5e7eb;
  --st-text: #1a1a2e;
  --st-subtle: #6b7280;
  --st-heading: #0d1b3e;
  --st-icon-bg: #e8f1ff;
  background: var(--st-page-bg);
  color: var(--st-text);
  font-family: "Noto Sans SC", Manrope, "Noto Sans TC", sans-serif;
}
.safety-tips-page a { color: var(--st-primary); }
.safety-tips-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.safety-tips-narrow { width: min(760px, calc(100% - 48px)); }
.safety-tips-pill {
  display: inline-flex; align-items: center; margin: 0 0 12px; padding: 6px 14px;
  border-radius: 999px; background: var(--st-icon-bg); color: var(--st-primary);
  font-size: 13px; font-weight: 700; line-height: 1.4;
}
.safety-tips-hero { position: relative; overflow: hidden; padding: 40px 0 60px; background: var(--st-page-bg); }
.safety-tips-hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.safety-tips-hero-title {
  margin: 8px 0 20px; color: var(--st-heading);
  font-size: clamp(42px, 5vw, 64px); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
}
.safety-tips-hero-title .line { display: block; }
.safety-tips-hero-title .warn { color: #e53834; }
.safety-tips-hero-title .line:last-child { color: var(--st-primary); }
.safety-tips-hero-desc { max-width: 560px; margin: 0 0 36px; color: var(--st-subtle); font-size: 16px; line-height: 1.85; }
.safety-tips-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.safety-tips-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 48px;
  padding: 12px 24px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; background: transparent;
}
.safety-tips-btn.is-primary { background: var(--st-primary); color: #fff; box-shadow: 0 6px 24px rgba(41, 128, 254, .25); }
.safety-tips-btn.is-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(41, 128, 254, .3); }
.safety-tips-btn.is-secondary { border-color: var(--st-primary); color: var(--st-primary); background: #fff; }
.safety-tips-btn.is-secondary:hover { background: rgba(41, 128, 254, .08); }
.safety-tips-hero-visual { display: flex; justify-content: flex-end; }
.safety-tips-hero-image-wrap { position: relative; width: 100%; max-width: 520px; }
.safety-tips-hero-image-wrap::before {
  content: ""; position: absolute; top: -24px; inset-inline-end: -24px; width: 180px; height: 180px;
  border-radius: 999px; background: radial-gradient(circle, rgba(41, 128, 254, .12), rgba(41, 128, 254, 0)); pointer-events: none;
}
.safety-tips-hero-image { position: relative; z-index: 1; width: 100%; max-width: 520px; height: auto; background: transparent; }
.safety-tips-cases, .safety-tips-guide, .safety-tips-faq { position: relative; padding: 80px 0; }
.safety-tips-cases, .safety-tips-faq { background: var(--st-page-bg); }
.safety-tips-guide { background: var(--st-section-bg); }
.safety-tips-section-head { margin: 0 auto 36px; text-align: center; }
.safety-tips-section-head h2 { color: var(--st-heading); font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 12px; }
.safety-tips-kicker { margin: 0 0 8px; color: var(--st-primary); font-size: 14px; font-weight: 700; }
.pill-icon { width: 16px; height: 16px; margin-inline-end: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.safety-tips-section-desc { max-width: 620px; margin: 0 auto; color: var(--st-subtle); }
.safety-tips-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.safety-tips-filters button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--st-card-border);
  background: #fff; color: var(--st-heading); font-weight: 700;
}
.safety-tips-filters button[aria-pressed="true"] { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.safety-tips-card-grid, .safety-tips-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.safety-tips-guide-grid { gap: 24px; }
.safety-tips-card, .safety-tips-guide-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 28px 24px;
  background: var(--st-card-bg); border: 2px solid var(--st-card-border); border-radius: 16px;
  box-shadow: 0 4px 20px rgba(41, 128, 254, .08); color: inherit; text-decoration: none; text-align: start;
}
.safety-tips-card { cursor: pointer; }
.safety-tips-card:hover, .safety-tips-guide-card:hover {
  transform: translateY(-4px); border-color: var(--st-primary); box-shadow: 0 12px 32px rgba(41, 128, 254, .18);
}
.safety-tips-card-head { display: block; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e5e7eb; }
.safety-tips-card-icon, .safety-tips-guide-icon, .safety-tips-modal-icon {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--st-icon-bg);
}
.safety-tips-card-icon, .safety-tips-modal-icon { width: 48px; height: 48px; margin-bottom: 10px; }
.safety-tips-card-icon .icon, .safety-tips-modal-icon .icon, .safety-tips-guide-icon .icon { stroke: var(--st-primary); }
.safety-tips-card-label { display: block; margin-bottom: 6px; color: var(--st-primary); font-size: 13px; font-weight: 700; }
.safety-tips-card-title, .safety-tips-guide-card h3 { display: block; color: var(--st-heading); font-size: 20px; font-weight: 800; line-height: 1.35; }
.safety-tips-card-summary {
  display: -webkit-box; min-height: 72px; margin: 0 0 18px; overflow: hidden; color: var(--st-subtle);
  font-size: 14px; line-height: 24px; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
}
.safety-tips-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.safety-tips-risk-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.safety-tips-risk-tag.is-high { background: var(--st-danger-bg); color: var(--st-danger-text); }
.safety-tips-risk-tag.is-mid { background: var(--st-warning-bg); color: var(--st-warning-text); }
.safety-tips-card-link { color: var(--st-primary); font-size: 13px; font-weight: 700; }
.safety-tips-card-link::after { content: " →"; }
.safety-tips-guide-card { min-height: 280px; text-align: center; align-items: center; }
.safety-tips-guide-badge {
  position: absolute; top: 14px; inset-inline-end: 14px; padding: 4px 10px; border-radius: 999px;
  background: var(--st-primary); color: #fff; font-size: 12px; font-weight: 800;
}
.safety-tips-guide-icon { width: 64px; height: 64px; margin: 0 auto 18px; }
.safety-tips-guide-card h3 { margin: 0 0 10px; font-size: 18px; text-align: center; }
.safety-tips-guide-card p { margin: 0 0 16px; color: var(--st-subtle); font-size: 14px; line-height: 1.75; text-align: center; }
.safety-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.safety-help p { margin: 0; color: var(--st-heading); font-weight: 700; }
.safety-faq { display: grid; gap: 10px; }
.safety-faq-item { background: #fff; border: 2px solid var(--st-card-border); border-radius: 16px; padding: 4px 16px; }
.safety-faq-item summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 800; color: var(--st-heading); }
.safety-faq-item p { color: var(--st-subtle); }
.safety-tips-convert { padding: 20px 0 80px; background: var(--st-page-bg); text-align: center; }
.safety-tips-convert h2 { color: var(--st-heading); }
.safety-tips-convert p { color: var(--st-subtle); }
.safety-tips-convert .safety-tips-hero-actions { justify-content: center; }
.safety-backdrop { display: none; position: fixed; inset: 0; z-index: 40; background: rgba(13, 27, 62, .6); backdrop-filter: blur(6px); }
.safety-backdrop.is-open, body:has(.safety-case:target) #safety-backdrop { display: block; }
.safety-case { display: none; }
.safety-case.is-modal, .safety-case:target {
  display: block; position: fixed; z-index: 50; top: 24px; left: 50%; transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border: 1px solid var(--st-card-border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2); text-align: start;
}
.safety-tips-modal-head, .safety-tips-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; }
.safety-tips-modal-head { align-items: flex-start; border-bottom: 1px solid #e5e7eb; }
.safety-tips-modal-title-wrap { display: flex; align-items: flex-start; gap: 14px; }
.safety-tips-modal-icon { flex: 0 0 48px; margin-bottom: 0; }
.safety-case h3 { margin: 0; color: var(--st-heading); font-size: 22px; font-weight: 800; }
.safety-tips-modal-subtitle { margin: 2px 0 0; color: var(--st-subtle); font-size: 13px; }
.safety-tips-modal-risk.is-high-text { color: var(--st-danger-text); font-weight: 800; }
.safety-tips-modal-risk.is-mid-text { color: var(--st-warning-text); font-weight: 800; }
.safety-tips-modal-close { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--st-subtle); font-weight: 700; text-decoration: none; }
.safety-tips-modal-body { padding: 8px 28px 20px; }
.safety-tips-modal-section + .safety-tips-modal-section { margin-top: 18px; }
.safety-tips-modal-section h4 {
  margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1.5px solid #e5e7eb;
  color: var(--st-primary); font-size: 15px; font-weight: 800;
}
.safety-tips-modal-section p, .safety-tips-modal-list { margin: 0; color: var(--st-text); font-size: 14px; line-height: 1.85; }
.safety-tips-modal-list { padding: 0; list-style: none; }
.safety-tips-modal-list li { position: relative; padding-block: 6px; padding-inline-start: 20px; }
.safety-tips-modal-list.is-safe li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #16a34a; font-weight: 800; }
.safety-tips-modal-footer { border-top: 1px solid #e5e7eb; }
.safety-tips-modal-nav {
  display: inline-flex; align-items: center; justify-content: center; min-width: 120px; min-height: 44px;
  padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff;
  color: var(--st-text); font-size: 14px; font-weight: 700; text-decoration: none;
}
.safety-tips-modal-nav:hover:not(:disabled) { border-color: var(--st-primary); color: var(--st-primary); background: rgba(41, 128, 254, .08); }
.safety-tips-modal-nav:disabled { opacity: .35; cursor: not-allowed; }
.safety-tips-modal-dots { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; gap: 8px; }
.safety-tips-modal-dot { width: 28px; height: 28px; border-radius: 999px; background: #e5e7eb; display: inline-flex; align-items: center; justify-content: center; }
.safety-tips-modal-dot .sr { position: static; width: 1px; height: 1px; }
.safety-tips-modal-dot.is-active { background: var(--st-primary); }
.safety-tips-modal-action { margin: 0; padding: 0 28px 24px; }
#cases, #guide, #safety-faq, #safety-convert { scroll-margin-top: 84px; }
body.safety-lock { overflow: hidden; }
body.safety {
  --bg: #faf9fe; --ink: #1a1a2e; --muted: #6b7280; --line: #e5e7eb; color-scheme: light;
  font-family: "Noto Sans SC", Manrope, sans-serif;
}
body.safety :focus-visible { outline-color: #2980fe; }
body.safety h1, body.safety h2, body.safety h3, body.safety .tp-name, body.safety .button { font-family: "Noto Sans SC", Manrope, sans-serif; }
body.safety .site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid #eef0f4; }
body.safety .menu { border-color: #d1d5db; color: #0d1b3e; background: #fff; }
body.safety .links { margin-inline-start: 8px; gap: 2px; align-items: center; }
body.safety .links a, body.safety .tp-drop > button, body.safety .tp-direct {
  color: #3c4a63; text-decoration: none; font-weight: 600; font-size: 14px;
}
.tp-bar { width: min(1240px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; min-height: 64px; gap: 8px; }
.tp-brand { display: inline-flex; align-items: center; gap: 8px; color: #0d1b3e; text-decoration: none; flex: 0 0 auto; }
.tp-mark { width: 34px; height: 34px; border-radius: 9px; background: #2980fe; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: -.04em; }
.tp-name { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.tp-drop { position: relative; }
.tp-drop > button, .tp-direct, .tp-icon-btn {
  min-height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center;
}
.tp-direct { padding: 0 10px; }
.tp-drop > button { padding: 0 10px; gap: 4px; }
.tp-drop > button::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #8b97a8; }
.tp-menu {
  display: none; position: absolute; top: calc(100% - 4px); inset-inline-start: 0; min-width: 168px; z-index: 8;
  padding: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(13, 27, 62, .12);
}
.tp-drop:hover .tp-menu, .tp-drop:focus-within .tp-menu, .tp-drop.is-open .tp-menu { display: grid; }
.tp-menu a { min-height: 40px; padding: 0 10px; border-radius: 8px; display: flex; align-items: center; color: #0d1b3e; }
.tp-menu a:hover { background: #e8f1ff; }
.tp-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.tp-icon-btn { width: 44px; justify-content: center; color: #0d1b3e; }
.tp-icon-btn svg, .tp-lang svg, .tp-menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.safety .tp-menu-btn { width: 44px; padding: 0; justify-content: center; }
.tp-lang { gap: 4px; color: #0d1b3e; }
body.safety .lang select { background: transparent; color: #0d1b3e; border: 0; font-weight: 700; max-width: 120px; padding-inline-start: 0; }
.tp-footer { background: #fff; border-top: 1px solid #e5e7eb; color: #1a1a2e; padding: 28px 0 40px; }
.tp-foot { align-items: flex-start; justify-content: space-between; gap: 18px; }
.tp-footer p { margin: 6px 0 0; color: #6b7280; max-width: 46ch; }
.tp-footer a { color: #0d1b3e; margin-inline-end: 14px; text-decoration: none; font-weight: 600; }
body.safety .links.open { background: #fff; border-bottom-color: #e5e7eb; }
html.safety-dark body.safety { --bg: #0e1524; --ink: #e8eef8; --muted: #9aa8bd; --line: #2a3548; color-scheme: dark; }
html.safety-dark .safety-tips-page {
  --st-page-bg: #0e1524; --st-section-bg: #121b2e; --st-card-bg: #172033; --st-card-border: #2a3548;
  --st-text: #e8eef8; --st-subtle: #9aa8bd; --st-heading: #f4f7fb; --st-icon-bg: #1c2c48;
}
html.safety-dark body.safety .site-header, html.safety-dark .tp-footer, html.safety-dark .tp-menu, html.safety-dark .safety-case.is-modal, html.safety-dark .safety-case:target { background: #121b2e; color: #e8eef8; }
html.safety-dark body.safety .links a, html.safety-dark body.safety .tp-drop > button, html.safety-dark .tp-name, html.safety-dark .tp-footer a, html.safety-dark .tp-icon-btn, html.safety-dark .tp-lang { color: #e8eef8; }
html.safety-dark body.safety .lang select { color: #e8eef8; }
html.safety-dark body.safety .links.open { background: #121b2e; }
html.safety-dark .safety-tips-btn.is-secondary { background: transparent; }
html.safety-dark .safety-faq-item, html.safety-dark .safety-tips-modal-nav { background: #172033; color: #e8eef8; }
@media (max-width: 1200px) {
  .safety-tips-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .safety-tips-hero-copy { text-align: center; }
  .safety-tips-hero-desc { margin-inline: auto; }
  .safety-tips-hero-actions, .safety-tips-hero-visual { justify-content: center; }
  .safety-tips-card-grid, .safety-tips-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .safety-tips-shell, .safety-tips-narrow { width: min(1180px, calc(100% - 32px)); }
  .safety-tips-hero { padding: 32px 0 24px; }
  .safety-tips-hero-title { font-size: 42px; }
  .safety-tips-cases, .safety-tips-guide, .safety-tips-faq { padding: 48px 0; }
  .safety-tips-card-grid, .safety-tips-guide-grid { grid-template-columns: 1fr; }
  .safety-tips-card-summary, .safety-tips-guide-card { min-height: 0; }
  .safety-case.is-modal, .safety-case:target { top: 12px; width: calc(100vw - 16px); max-height: calc(100vh - 24px); }
  .safety-tips-modal-head, .safety-tips-modal-footer, .safety-tips-modal-body, .safety-tips-modal-action { padding-left: 16px; padding-right: 16px; }
  .safety-tips-modal-footer { flex-wrap: wrap; }
  .safety-tips-modal-dots { order: -1; flex: 1 0 100%; }
  .safety-tips-modal-dot { width: 22px; height: 22px; }
  .safety-tips-modal-nav { min-width: 0; flex: 1; }
  .safety-tips-modal-list li { padding-inline-start: 20px; }
}
@media (max-width: 980px) {
  body.safety .menu { margin-inline-start: 8px; }
  body.safety .links.open { top: 64px; }
  body.safety .links.open .tp-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: transparent; display: none; }
  body.safety .links.open .tp-drop.is-open .tp-menu,
  body.safety .links.open .tp-drop:focus-within .tp-menu { display: grid; }
}
body.safety .safety-check { width: min(760px, calc(100% - 48px)); }
body.safety .safety-check .panel { background: transparent; padding: 12px 0 0; }
body.safety .safety-check .safety-scanner,
body.safety .safety-check .progress-card,
body.safety .safety-check .report-card,
body.safety .safety-check #web-result,
body.safety .safety-check #safety-report {
  background: #fff; color: #1a1a2e; border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(41, 128, 254, .08);
}
body.safety .safety-check #safety-report,
body.safety .safety-check #web-result { margin-top: 16px; padding: 16px; border-radius: 14px; text-align: start; }
body.safety .safety-check #web-result:empty { display: none; }
body.safety .safety-check #web-result h2 { margin: 0 0 8px; font-size: 1.25rem; color: #0d1b3e; }
body.safety .safety-check .safety-scanner { margin-top: 18px; }
body.safety .safety-check input,
body.safety .safety-check select,
body.safety .safety-check textarea,
body.safety .safety-check .modes.sub button,
body.safety .safety-check .text { background: #fff; color: #0d1b3e; border-color: #e5e7eb; }
body.safety .safety-check .modes.sub button[aria-pressed="true"] { background: #2980fe; color: #fff; border-color: #2980fe; }
body.safety .safety-check .button { background: #2980fe; color: #fff; }
body.safety .safety-check .button.ghost { background: #fff; color: #2980fe; border: 1px solid #2980fe; }
body.safety .safety-check #mode-wallet[aria-pressed="false"],
body.safety .safety-check #mode-scam[aria-pressed="false"] { background: #fff; color: #2980fe; border-color: #2980fe; }
body.safety .safety-check #mode-wallet[aria-pressed="true"],
body.safety .safety-check #mode-scam[aria-pressed="true"] { background: #2980fe; color: #fff; border-color: transparent; }
body.safety .safety-check .gauge-track { stroke: #e5e7eb; }
body.safety .safety-check #gauge-arc { stroke: #2980fe; }
body.safety .safety-check #gauge-pct { color: #0d1b3e; font-size: 2.4rem; }
body.safety .safety-check .pace-steps li { color: #6b7280; }
body.safety .safety-check .pace-steps li.active { color: #0d1b3e; background: #e8f1ff; }
body.safety .safety-check .pace-steps li.done { color: #2980fe; }
body.safety .safety-check .bar { background: #e5e7eb; }
body.safety .safety-check #bar-fill { background: #2980fe; }
body.safety .safety-check .hint,
body.safety .safety-check .trust,
body.safety .safety-check .eyebrow { color: #6b7280; }
body.safety .safety-check h3,
body.safety .safety-check .addr { color: #0d1b3e; }
body.safety .safety-check .report-card li.risk { color: #e53e3e; }
body.safety .safety-check .report-card li.attention { color: #d97706; }
html.safety-dark .safety-check .safety-scanner,
html.safety-dark .safety-check .progress-card,
html.safety-dark .safety-check .report-card,
html.safety-dark .safety-check #web-result,
html.safety-dark .safety-check #safety-report { background: #172033; color: #e8eef8; border-color: #2a3548; }
html.safety-dark .safety-check input,
html.safety-dark .safety-check select,
html.safety-dark .safety-check textarea,
html.safety-dark .safety-check .modes.sub button,
html.safety-dark .safety-check .text,
html.safety-dark .safety-check .button.ghost { background: #121b2e; color: #e8eef8; }
html.safety-dark .safety-check #gauge-pct,
html.safety-dark .safety-check h2,
html.safety-dark .safety-check h3,
html.safety-dark .safety-check .addr { color: #f4f7fb; }
@media (max-width: 390px) {
  .safety-tips-hero-title { font-size: 34px; }
  .safety-tips-btn { width: 100%; }
  .safety-tips-hero-actions, .safety-help { flex-direction: column; align-items: stretch; }
  .tp-name { font-size: 13px; letter-spacing: 0; }
  body.safety .lang select { max-width: 6.6em; }
}
