/* ===== 设计变量（浅色系） ===== */
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --line: #e3e9f3;
  --line-strong: #cfd9ea;
  --text: #101a2d;
  --text-2: #334155;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --green: #0e9f6e;
  --amber: #c47b0a;
  --red: #d04747;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 45, 0.05);
  --shadow: 0 10px 30px -12px rgba(16, 26, 45, 0.14), 0 2px 6px rgba(16, 26, 45, 0.04);
}

* { box-sizing: border-box; }

/* 组件里用了 display:flex / grid，会盖掉 UA 的 [hidden]{display:none} */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -12%, #e4edff 0, transparent 60%),
    radial-gradient(760px 400px at 92% -6%, #eef2ff 0, transparent 58%),
    var(--bg);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: #eef2f9;
  color: #1e40af;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px 72px; }
.wrap.narrow { max-width: 900px; }

/* ===== 滚动 Banner ===== */
.banner {
  position: relative;
  max-width: 1060px;
  margin: 20px auto 6px;
  padding: 0 20px;
}

.banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.banner-track::-webkit-scrollbar { display: none; }

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: var(--text);
}
.banner-slide:hover { text-decoration: none; }

.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.banner-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px 10px;
  font-size: 12px;
  color: #475569;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 72%);
  border-radius: 0 0 var(--radius) var(--radius);
}

.banner-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 22px; height: 4px;
  border: 0; padding: 0;
  border-radius: 3px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.dot.is-active { background: var(--accent); width: 34px; }

/* ===== Hero ===== */
/* ===== 品牌标识 ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fdf6f0;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #33507f;
}

.hero { padding: 54px 0 30px; text-align: center; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 5.2vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.6px;
}

/* 「NAT 类型」用纯色高亮块突出，不使用文字渐变 */
.mark {
  position: relative;
  z-index: 0;
  margin-left: 0.12em;
  color: #1d4ed8;
  font-weight: 800;
}
.mark::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.04em;
  height: 0.42em;
  background: #dbeafe;
  border-radius: 3px;
  z-index: -1;
}

.grad {
  background: linear-gradient(96deg, #2563eb 0%, #6d4aff 55%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 auto 26px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

/* 居中放大的主按钮 */
.cta { display: grid; justify-items: center; gap: 12px; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, border-color 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.btn:hover { border-color: #a9bde0; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* 测试进行中：按钮里转圈 + 文案变「正在测试…」 */
.btn.is-loading:disabled { opacity: 0.92; cursor: progress; }
.btn.is-loading::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: btnSpin 0.7s linear infinite;
}
.btn-ghost.is-loading::before {
  border-color: rgba(37, 99, 235, 0.25);
  border-top-color: #2563eb;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

.btn-primary {
  border: 0;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 12px 26px -10px rgba(37, 99, 235, 0.65);
}
.btn-primary:hover { filter: brightness(1.05); border: 0; }

.btn-xl {
  min-width: 240px;
  padding: 17px 56px;
  font-size: 18px;
  letter-spacing: 1px;
  border-radius: 14px;
}

.btn-ghost { background: var(--surface); }
.btn-block { display: block; width: 100%; text-align: center; }

.tiny { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* 首页科普区底部的延伸阅读（内链有助于收录） */
.read-more { margin-top: 22px; }
.read-more h3 { font-size: 15px; margin: 0 0 10px; color: var(--text); }
.read-more ul { margin: 0; padding-left: 20px; }
.read-more li { margin: 7px 0; font-size: 14.5px; }
.read-more a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ===== 长尾文章页 ===== */
.article { padding-top: 28px; }
.article .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.article .crumbs a { color: var(--muted); }
.article .crumbs a:hover { color: var(--accent, #2563eb); }
.article h1 { font-size: 30px; line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.4px; }
.article .lead { font-size: 16px; color: var(--text-2); margin: 0 0 26px; }
.article-body { font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.article-body h2 {
  font-size: 20px; margin: 40px 0 12px; color: var(--text);
  padding-left: 12px; border-left: 4px solid var(--accent, #2563eb); line-height: 1.4;
}
.article-body h3 { font-size: 16.5px; margin: 24px 0 8px; color: var(--text); }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--accent, #2563eb); text-decoration: underline; text-underline-offset: 2px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
/* 文章里的表格列多、文案长。全局有一条 `th, td { white-space: nowrap }`（给首页那张
   五列对照表用的），这里必须把 th 和 td 都覆盖回 normal，否则整表被撑出容器、右侧被裁掉 */
.article-body table { table-layout: fixed; }
.article-body th, .article-body td { white-space: normal; word-break: break-word; }
.article-body th { background: var(--surface-2, #eef3fb); color: var(--text); font-weight: 600; }

/* 超密表：只有三列且内容短，.article-body table 是 table-layout:fixed，
   不分列宽会三等分、右半边大片空白。这里只给这一类表指定比例。 */
.article-body table.cred th:nth-child(1), .article-body table.cred td:nth-child(1) { width: 22%; }
.article-body table.cred th:nth-child(2), .article-body table.cred td:nth-child(2) { width: 34%; }
.article-body table.cred code { font-size: 14px; letter-spacing: .2px; }
.note {
  margin: 18px 0; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7;
  background: #fff8e6; border: 1px solid #f6dfae; color: #7a5a12;
}
.note b { color: #6b4c08; }
.article-cta {
  margin: 40px 0 8px; padding: 22px; border-radius: 16px; text-align: center;
  background: var(--surface-2, #eef3fb); border: 1px solid var(--line);
}
.article-cta p { margin: 0 0 14px; color: var(--text-2); }
.article-cta .btn { margin: 0 6px; }
.article-nav { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.article-nav a { color: var(--text-2); }
@media (max-width: 720px) {
  .article h1 { font-size: 24px; }
  .article-body { font-size: 15px; }
}

/* ===== 探测日志（控制台） ===== */
.panel {
  margin-top: 8px;
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.panel-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.2px;
}

.state-chip {
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}
.state-chip.is-done { background: rgba(14, 159, 110, 0.09); color: var(--green); border-color: rgba(14, 159, 110, 0.24); }
.state-chip.is-error { background: rgba(208, 71, 71, 0.09); color: var(--red); border-color: rgba(208, 71, 71, 0.26); }

.console {
  min-height: 72px;
  max-height: 210px;
  overflow-y: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.log-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-items: baseline;
  animation: logIn 0.18s ease both;
}

@keyframes logIn {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: none; }
}

.log-time { flex: 0 0 auto; width: 66px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.log-phase { flex: 0 0 auto; width: 152px; color: #7c3aed; font-weight: 600; letter-spacing: 0.2px; }
.log-text { flex: 1 1 220px; min-width: 0; word-break: break-word; color: #475569; }
.log-text:only-child { flex: 1 1 100%; color: var(--muted); }

.log-line.is-ok .log-text { color: var(--green); }
.log-line.is-warn .log-text { color: var(--amber); }
.log-line.is-bad .log-text { color: var(--red); }
.log-line.is-muted .log-text,
.log-line.is-muted .log-phase { color: var(--muted); }

/* ===== 结果 ===== */
.result {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: rise 0.35s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.result-head { display: flex; gap: 18px; align-items: center; }

.nat-badge {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 12px 14px;
  border-radius: 15px;
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #f1f5fb;
  border: 1px solid var(--line);
  color: var(--muted);
}
.nat-badge.nat1 { background: linear-gradient(160deg, #e6f9f1, #e6f2fe); color: #067a56; border-color: #bfe9d8; }
.nat-badge.nat2 { background: linear-gradient(160deg, #e8f1fe, #eef0fe); color: #1d4ed8; border-color: #c9dbfb; }
.nat-badge.nat3 { background: linear-gradient(160deg, #fdf3e3, #fdeee2); color: #a35f04; border-color: #f3dcb8; }
.nat-badge.nat4 { background: linear-gradient(160deg, #fdeaea, #f6e9f8); color: #b92f2f; border-color: #f6cdcd; }

/* 结果里的出口 IP 与归属地 */
.result-net {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.result-net b {
  color: var(--text-2);
  font-weight: 600;
}

.result-title h2 { margin: 0 0 3px; font-size: 19px; }
.result-title p { margin: 0; color: var(--muted); font-size: 13.5px; }

.table-scroll { overflow-x: auto; margin-top: 8px; }

table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
th, td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th { color: var(--muted); font-weight: 500; font-size: 12px; background: var(--surface-2); }
tbody tr:hover { background: var(--surface-2); }

/* ===== 分级引导（Canvas） ===== */
.guide {
  margin-top: 18px;
  padding: 10px 6px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: rise 0.35s ease both;
}

#guideCanvas {
  display: block;
  width: 100%;
  touch-action: manipulation;
}

.guide-cta { display: flex; justify-content: center; padding: 2px 0 12px; }

/* ===== 科普区 ===== */
.science { margin-top: 54px; }
.science h2 { font-size: 20px; margin: 0 0 14px; letter-spacing: -0.2px; }

.science-table { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.science-table th, .science-table td { white-space: normal; vertical-align: top; }
.science-table td:first-child { white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.tag-green { background: #e6f9f1; color: #067a56; }
.tag-blue { background: #e8f1fe; color: #1d4ed8; }
.tag-amber { background: #fdf3e3; color: #a35f04; }
.tag-red { background: #fdeaea; color: #b92f2f; }

.lv {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.lv-1 { background: #e6f9f1; color: #067a56; }
.lv-2 { background: #e8f1fe; color: #1d4ed8; }
.lv-3 { background: #fdf3e3; color: #a35f04; }
.lv-4 { background: #fdeaea; color: #b92f2f; }

/* ===== 商品页 ===== */
.service-hero { padding-bottom: 26px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card-primary { border-color: #c2d7fb; box-shadow: 0 14px 34px -18px rgba(37, 99, 235, 0.5); }

.card-head h2 { margin: 0 0 6px; font-size: 16.5px; }
.card-sub { margin: 0; color: var(--muted); font-size: 12.8px; }

.card-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.card-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13.2px;
}
.card-list li b { color: #a35f04; white-space: nowrap; }
.card .btn-block { margin-top: auto; }

.service-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.service-foot .tiny { margin: 0; max-width: 640px; }

/* ===== Toast ===== */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(92vw, 400px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -14px rgba(16, 26, 45, 0.34);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  pointer-events: auto;
  animation: toastIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.toast.is-warn { border-color: #f0d7a8; background: #fffdf7; }
.toast.is-error { border-color: #f3c9c9; background: #fffafa; }

.toast-icon {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--accent-soft);
  color: var(--accent);
}
.toast.is-warn .toast-icon { background: #fdf3e3; color: var(--amber); }
.toast.is-error .toast-icon { background: #fdeaea; color: var(--red); }

.toast.is-out { animation: toastOut 0.22s ease both; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(6px) scale(0.98); }
}


/* ===== 标准声明（低调但抓眼） ===== */
.trust {
  display: inline-block;
  margin: 20px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f6ff;
  border: 1px solid #dbe7fb;
  color: #4b5b73;
  font-size: 12.5px;
  line-height: 1.5;
}

.trust-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  vertical-align: 0.1em;
  border-radius: 50%;
  background: var(--accent);
  animation: trustPulse 2.6s ease-out infinite;
}

@keyframes trustPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.36); }
  70% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.term {
  position: relative;
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent);
  font-weight: 600;
  cursor: help;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.term:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

.term-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-4px);
  width: 350px;
  max-width: 84vw;
  padding: 14px 16px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 46px -16px rgba(16, 26, 45, 0.34);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.62;
  text-align: left;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 40;
}

.term-tip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-bottom-color: #ffffff;
}

.term:hover .term-tip,
.term:focus .term-tip,
.term:focus-visible .term-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tip-title {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--text);
}

.tip-row {
  display: block;
  margin-top: 5px;
  padding-left: 10px;
  position: relative;
}
.tip-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7d6ee;
}
.tip-row b {
  margin-right: 6px;
  color: #1d4ed8;
  font-weight: 600;
}


/* ===== 广告落地页 ===== */
.ad-page { max-width: 560px; margin: 0 auto; padding-bottom: 56px; }

.ad-head { text-align: center; padding: 46px 0 20px; }
.ad-head h1 {
  margin: 0;
  font-size: clamp(23px, 4.6vw, 31px);
  letter-spacing: -0.3px;
}

.ad-figure {
  /* 手机截图的竖长比例，做成居中的“手机卡片”更自然 */
  max-width: 430px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.ad-figure img { display: block; width: 100%; height: auto; }

.ad-scan {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.ad-qr {
  flex: 0 0 auto;
  width: 132px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  image-rendering: pixelated;
}

.ad-scan-text {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.75;
}
.ad-scan-text p { margin: 0; }
.ad-scan-text p + p { margin-top: 4px; }
.ad-scan-text b { color: var(--accent); }

.ad-actions { margin-top: 22px; display: flex; justify-content: center; }

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .wrap { padding: 0 15px 56px; }
  .banner { padding: 0 15px; }
  .hero { padding-top: 30px; }
  .panel, .result { padding: 16px; }
  .btn-xl { min-width: 200px; padding: 15px 40px; font-size: 17px; }
  .result-head { gap: 12px; align-items: flex-start; }
  .nat-badge { min-width: 72px; font-size: 18px; padding: 10px; }
  .log-time { width: 62px; }
  .log-phase { width: 100%; }
  .console { max-height: 180px; }
  .guide { padding: 6px 2px; }
  .ad-scan { gap: 14px; padding: 14px; }
  .ad-qr { width: 108px; }
  .ad-scan-text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
