/* =========================================================
   钱包雷达 V15.0 · TRON 链上情报平台
   纯 CSS 复刻（无 Tailwind 依赖）· 深色高级风格
   主品牌色 #FF7A00
   ========================================================= */

:root {
  color-scheme: dark;
  /* V15.8 fallback：部分安卓/TG WebView 对 oklch/color-mix 支持不完整，先给 hex 兜底 */
  --background: #15161a;
  --foreground: #f4f4f5;
  --card: #1b1c21;
  --card-foreground: #f4f4f5;
  --elevated: #22232a;
  --primary: #ff7a00;
  --primary-foreground: #1c1208;
  --muted: #2a2c34;
  --muted-foreground: #a5a7ad;
  --accent: #292b33;
  --border: rgba(255,255,255,.09);
  --input: rgba(255,255,255,.12);
  --ring: #ff7a00;
  --risk-low: #37c685;
  --risk-mid: #d6a31c;
  --risk-high: #e04739;
  --pos: #37c685;
  --neg: #e04739;
  --info: #4aa3df;
  --violet: #a36cf0;
  --background: oklch(0.16 0.006 250);
  --foreground: oklch(0.97 0.003 250);
  --card: oklch(0.2 0.007 250);
  --card-foreground: oklch(0.97 0.003 250);
  --elevated: oklch(0.235 0.008 250);
  --primary: oklch(0.72 0.19 49);
  --primary-foreground: oklch(0.16 0.01 50);
  --muted: oklch(0.26 0.008 250);
  --muted-foreground: oklch(0.66 0.01 250);
  --accent: oklch(0.28 0.01 250);
  --border: oklch(1 0 0 / 9%);
  --input: oklch(1 0 0 / 12%);
  --ring: oklch(0.72 0.19 49);

  --risk-low: oklch(0.72 0.16 158);
  --risk-mid: oklch(0.78 0.15 78);
  --risk-high: oklch(0.62 0.22 18);

  --pos: oklch(0.74 0.15 158);
  --neg: oklch(0.66 0.2 18);
  --info: oklch(0.68 0.14 235);
  --violet: oklch(0.62 0.2 300);

  --radius: 0.875rem;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}
html {
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
.tnum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.bg-grid {
  background-image: linear-gradient(
      to right,
      oklch(1 0 0 / 3%) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, oklch(1 0 0 / 3%) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- 顶部工具条 + 设备切换 ---------- */
.utility-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(8px);
}
.utility-strip .brandline {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.device-switcher {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}
.device-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}
.device-switcher button.active {
  background: var(--primary);
  color: var(--primary-foreground);
}
.device-switcher svg {
  width: 14px;
  height: 14px;
}

/* ---------- 应用框架 ---------- */
.app-row {
  display: flex;
  min-height: calc(100dvh - 48px);
}
.sidebar {
  display: flex;
  width: 240px;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--card);
}
.sidebar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
.icon-badge {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.icon-badge.lg {
  width: 36px;
  height: 36px;
}
.icon-badge.soft {
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
}
.sidebar .logo p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sidebar .logo span {
  font-size: 11px;
  color: var(--muted-foreground);
}
.nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s;
}
.nav a:hover {
  background: var(--accent);
  color: var(--foreground);
}
.nav a.active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}
.nav a svg {
  width: 18px;
  height: 18px;
}
.sidebar-foot {
  margin: 0 12px 10px;
}
.tg-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--elevated);
  transition: border-color 0.15s;
}
.tg-entry:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
}
.tg-entry .meta {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}
.tg-entry .meta p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.tg-entry .meta span {
  font-size: 11px;
  color: var(--muted-foreground);
}
.icon-badge.sm {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* main column */
.main-col {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.topbar {
  position: sticky;
  top: 48px;
  z-index: 30;
  display: flex;
  height: 64px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(8px);
}
.main {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  flex: 1;
  padding: 20px 24px;
}

/* ---------- 搜索栏 ---------- */
.search {
  position: relative;
  width: 100%;
  max-width: 640px;
}
.search .field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--input);
  border-radius: 14px;
  background: var(--card);
}
.search .field:focus-within {
  border-color: var(--ring);
}
.search svg.lead {
  width: 18px;
  height: 18px;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 14px;
}
.search input::placeholder {
  color: var(--muted-foreground);
}
.search .clear {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  padding: 4px;
}
.search .clear.show {
  display: inline-flex;
}
.search .go {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ---------- 卡片 / 区块 ---------- */
.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.card-head .titles {
  flex: 1;
  min-width: 0;
}
.card-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card-head .sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-foreground);
}
.card-body {
  padding: 20px;
}
.card-body.flush {
  padding: 0;
}

/* ---------- 通用工具 ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.muted {
  color: var(--muted-foreground);
}
.pos {
  color: var(--pos);
}
.neg {
  color: var(--neg);
}
.center {
  text-align: center;
}

/* ---------- 复制地址 ---------- */
.copy-addr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.copy-addr .addr-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-addr svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.copy-addr:hover svg {
  color: var(--primary);
}
.copy-addr.copied svg {
  color: var(--pos);
}
.copy-addr .copied-tip {
  color: var(--pos);
}

/* ---------- 情报头条横幅 ---------- */
.intel-banner .addr-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.intel-banner .addr-line .meta {
  min-width: 0;
  flex: 1;
}
.intel-banner .addr-line .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.intel-banner .addr-line .value {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}
.lights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.light {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.light:last-child {
  border-right: 0;
}
.light .dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
}
.light .dot svg {
  width: 18px;
  height: 18px;
}
.light .lk {
  font-size: 12px;
  color: var(--muted-foreground);
}
.light .lv {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
}
.light .lv::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}
.tone-low {
  color: var(--risk-low);
}
.tone-low .dot {
  background: color-mix(in oklab, var(--risk-low) 15%, transparent);
  color: var(--risk-low);
}
.tone-mid {
  color: var(--risk-mid);
}
.tone-mid .dot {
  background: color-mix(in oklab, var(--risk-mid) 15%, transparent);
  color: var(--risk-mid);
}
.tone-high {
  color: var(--risk-high);
}
.tone-high .dot {
  background: color-mix(in oklab, var(--risk-high) 15%, transparent);
  color: var(--risk-high);
}

/* ---------- 资产总览 ---------- */
.assets-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--border);
}
.assets-grid .cell {
  background: var(--card);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.assets-grid .cell .k {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.assets-grid .big {
  margin: 8px 0 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.assets-grid .sub {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.assets-grid .right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: var(--card);
}
.assets-grid .right > div {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.assets-grid .right > div + div {
  border-top: 1px solid var(--border);
}
.assets-grid .m {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.assets-grid .s {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 500;
}
.flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.flows > div {
  background: var(--card);
  padding: 20px 24px;
}
.flows .k {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.flows .v {
  margin: 8px 0 2px;
  font-size: 20px;
  font-weight: 600;
}
.flows .c {
  font-size: 12px;
  color: var(--muted-foreground);
}
.flows svg {
  width: 16px;
  height: 16px;
}

/* ---------- 风险研判 ---------- */
.risk-sec {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.risk-sec:last-child {
  border-bottom: 0;
}
.risk-sec .h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}
.risk-sec .h svg {
  width: 15px;
  height: 15px;
}
.perm-state {
  display: flex;
  align-items: center;
  gap: 12px;
}
.perm-state .ps-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}
.perm-state strong {
  font-size: 15px;
}
.perm-state .ps-desc {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--elevated);
  color: var(--muted-foreground);
}
.tag.red {
  border-color: color-mix(in oklab, var(--risk-high) 40%, transparent);
  background: color-mix(in oklab, var(--risk-high) 12%, transparent);
  color: var(--risk-high);
}
.tag.amber {
  border-color: color-mix(in oklab, var(--risk-mid) 35%, transparent);
  background: color-mix(in oklab, var(--risk-mid) 12%, transparent);
  color: var(--risk-mid);
}
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.score-row .lvl {
  font-size: 18px;
  font-weight: 700;
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--elevated);
  overflow: hidden;
  margin: 10px 0;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* ---------- 账户特征 / 生命周期 ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--elevated);
  font-size: 13px;
  font-weight: 500;
}
.chip svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.life-grid > div {
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
}
.life-grid .li {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--elevated);
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.life-grid .li svg {
  width: 16px;
  height: 16px;
}
.life-grid .k {
  font-size: 12px;
  color: var(--muted-foreground);
}
.life-grid .v {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- 广告位 ---------- */
.ad {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--elevated);
  transition: border-color 0.15s;
}
.ad:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
}
.ad .tagword {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in oklab, var(--card) 80%, transparent);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.ad .ad-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  flex-shrink: 0;
}
.ad .ad-icon svg {
  width: 20px;
  height: 20px;
}
.ad .ad-meta {
  flex: 1;
  min-width: 0;
}
.ad .ad-meta p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.ad .ad-meta span {
  font-size: 12px;
  color: var(--muted-foreground);
}
.ad.compact {
  gap: 10px;
  padding: 10px;
}
.ad.compact .ad-icon {
  width: 32px;
  height: 32px;
}
.ad.compact .ad-meta p {
  font-size: 12px;
}
.ad.compact .ad-meta span {
  font-size: 11px;
}

/* ---------- 筛选 / 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--elevated);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.btn:hover {
  color: var(--foreground);
}
.btn.primary {
  border-color: transparent;
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn svg {
  width: 15px;
  height: 15px;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--elevated);
}
.segmented button {
  padding: 6px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}
.segmented button.active {
  background: var(--card);
  color: var(--foreground);
}
.select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--elevated);
  color: var(--foreground);
  font-size: 13px;
}

/* 工具栏：类型筛选 + 条数 */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--elevated);
}
.seg button {
  padding: 6px 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.seg button.active {
  background: var(--card);
  color: var(--foreground);
}
.limit-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.limit-select select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--elevated);
  color: var(--foreground);
  font-size: 13px;
  cursor: pointer;
}

/* ---------- 表格 / 卡片列表 ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.tbl th {
  text-align: left;
  padding: 12px 20px;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.tbl td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.tbl tr:last-child td {
  border-bottom: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.pill.ok {
  color: var(--risk-low);
  background: color-mix(in oklab, var(--risk-low) 14%, transparent);
}
.pill.fail {
  color: var(--risk-high);
  background: color-mix(in oklab, var(--risk-high) 14%, transparent);
}
.pill.warn {
  color: var(--risk-mid);
  background: color-mix(in oklab, var(--risk-mid) 14%, transparent);
}
.pill.sleep {
  color: var(--muted-foreground);
  background: var(--elevated);
}

.rec-cards {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.rec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--elevated);
}
.rec-card .dir {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
}
.rec-card .dir svg {
  width: 18px;
  height: 18px;
}
.rec-card .dir.in {
  background: color-mix(in oklab, var(--pos) 15%, transparent);
  color: var(--pos);
}
.rec-card .dir.out {
  background: color-mix(in oklab, var(--neg) 15%, transparent);
  color: var(--neg);
}
.rec-card .rc-mid {
  flex: 1;
  min-width: 0;
}
.rec-card .rc-amt {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 状态：加载 / 空 / 错误 ---------- */
.state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
}
.state .si {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--elevated);
  color: var(--muted-foreground);
}
.state .si svg {
  width: 24px;
  height: 24px;
}
.state h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.state p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-foreground);
  max-width: 320px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.skeleton {
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    var(--elevated) 25%,
    var(--accent) 37%,
    var(--elevated) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.hidden {
  display: none !important;
}

/* ---------- 关系图谱 ---------- */
.graph-hero {
  position: relative;
}
.graph-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.graph-stats > div {
  background: var(--card);
  padding: 14px 18px;
}
.graph-stats .k {
  font-size: 12px;
  color: var(--muted-foreground);
}
.graph-stats .v {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
}
.graph-canvas {
  position: relative;
  width: 100%;
  min-height: 420px;
}
.graph-canvas svg {
  display: block;
  width: 100%;
  height: auto;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child {
  border-bottom: 0;
}
.rank-row .idx {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--elevated);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.rank-row .rk-main {
  flex: 1;
  min-width: 0;
}
.rank-row .rk-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--elevated);
  margin-top: 6px;
  overflow: hidden;
}
.rank-row .rk-bar > i {
  display: block;
  height: 100%;
  background: var(--primary);
}
.rank-row .rk-amt {
  text-align: right;
  white-space: nowrap;
}

/* 资金画像排行行（graph.js 渲染：竖向布局） */
.rank-list .rank-row {
  display: block;
  padding: 12px 20px;
}
.rr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rr-id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rr-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.rr-amt {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.rr-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--elevated);
  margin-top: 8px;
  overflow: hidden;
}
.rr-bar > i {
  display: block;
  height: 100%;
}
.rr-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 12px;
}
.gs-cell .k {
  font-size: 12px;
  color: var(--muted-foreground);
}
.gs-cell .v {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
}

/* ---------- 两栏布局 ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.h-full {
  height: 100%;
}

/* ---------- 钱包雷达结论横条 ---------- */
.ai-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}
.ai-bar .ai-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  flex-shrink: 0;
}
.ai-bar .ai-text {
  flex: 1;
  min-width: 0;
}
.ai-bar .ai-text .lab {
  font-size: 11px;
  color: var(--muted-foreground);
}
.ai-bar .ai-text .msg {
  font-size: 14px;
  font-weight: 600;
  margin-top: 1px;
}
.ai-bar .conf {
  text-align: right;
  flex-shrink: 0;
}
.ai-bar .conf b {
  font-size: 18px;
  color: var(--primary);
}
.ai-bar .conf span {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground);
}

/* ---------- 底部导航（移动端） ---------- */
.bottom-nav {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 0;
  font-size: 11px;
  color: var(--muted-foreground);
}
.bottom-nav a.active {
  color: var(--primary);
}
.bottom-nav a svg {
  width: 20px;
  height: 20px;
}

/* ---------- TG 顶部辅助条 ---------- */
.tg-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.tg-bar .tg-title {
  text-align: center;
  line-height: 1.1;
}
.tg-bar .tg-title p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.tg-bar .tg-title span {
  font-size: 10px;
  color: var(--muted-foreground);
}
.tg-bar .lk {
  color: var(--primary);
  font-size: 14px;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
body.mode-tg .tg-bar {
  display: flex;
}

/* =========================================================
   设备 / 响应式：由 app.js 计算有效布局类
   - body.layout-desktop : 侧栏 + 顶栏（PC 呈现）
   - body.layout-mobile  : 移动单列 + 底部导航（H5 / TG 呈现）
   - body.mode-pc        : 强制 PC，窄屏横向滚动
   - body.mode-tg        : 显示 TG 辅助条
   auto 模式下，app.js 根据视口宽度在两者间切换
   ========================================================= */

/* 默认（无 JS 时）按桌面渲染，移动专属元素隐藏 */
.mobile-topbar,
.standard-bottom-nav {
  display: none;
}

/* ---------- PC 呈现 ---------- */
body.layout-desktop .sidebar-shell {
  display: flex;
}
body.layout-desktop .desktop-topbar {
  display: flex;
}
body.layout-desktop .mobile-topbar,
body.layout-desktop .standard-bottom-nav {
  display: none;
}
body.mode-pc .standard-layout {
  overflow-x: auto;
}
body.mode-pc .app-row {
  min-width: 1100px;
}

/* ---------- 移动呈现（H5 / TG / auto 窄屏） ---------- */
body.layout-mobile .sidebar-shell,
body.layout-mobile .desktop-topbar {
  display: none;
}
body.layout-mobile .standard-bottom-nav {
  display: block;
  position: sticky;
  bottom: 0;
  z-index: 30;
}
body.layout-mobile .mobile-topbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 48px;
  z-index: 30;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(8px);
}
/* 主区收窄为手机宽度并居中（避免横向溢出） */
body.layout-mobile .main-col {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: calc(100dvh - 48px);
}
body.layout-mobile .main {
  padding: 16px;
  max-width: 100%;
}
/* 所有多列在移动端折叠为单列 */
body.layout-mobile .two-col,
body.layout-mobile .col-2,
body.layout-mobile .assets-grid,
body.layout-mobile .flows,
body.layout-mobile .life-grid,
body.layout-mobile .graph-stats,
body.layout-mobile .lights {
  grid-template-columns: 1fr;
}
body.layout-mobile .assets-grid .right {
  grid-template-rows: auto auto;
}
body.layout-mobile .light {
  border-right: 0;
  border-bottom: 1px solid var(--border);
}
body.layout-mobile .light:last-child {
  border-bottom: 0;
}
/* 表格转卡片 */
body.layout-mobile table.tbl {
  display: none;
}
body.layout-mobile .rec-cards {
  display: flex;
}
body.layout-mobile .assets-grid .big {
  font-size: 34px;
}
body.layout-mobile .graph-canvas {
  min-height: 320px;
}
/* 防止任何子元素横向溢出 */
body.layout-mobile .main * {
  max-width: 100%;
}

/* =========================================================
   V15.2 正式环境修复
   1) 去除 V0 预览用 PC/H5/TG 切换器
   2) PC 端强制桌面布局，避免 localStorage 旧模式导致搜索栏/内容错位
   3) 搜索栏在 PC 端固定左侧合理宽度，移动端仍自适应
   ========================================================= */
.utility-strip-prod {
  justify-content: flex-start;
}
.utility-strip-prod .brandline {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.utility-strip-prod .device-switcher,
.device-switcher {
  display: none !important;
}
body.layout-desktop .main-col {
  min-width: 0;
  width: calc(100vw - 240px);
}
body.layout-desktop .desktop-topbar {
  width: 100%;
  justify-content: flex-start;
}
body.layout-desktop .desktop-topbar .search {
  width: min(680px, calc(100vw - 320px));
  max-width: 680px;
  margin: 0;
}
body.layout-desktop .main {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
body.layout-desktop .search .field {
  min-width: 0;
}
body.layout-desktop .search input {
  min-width: 0;
}
@media (min-width: 1024px) {
  body:not(.layout-mobile) .sidebar-shell { display: flex; }
  body:not(.layout-mobile) .desktop-topbar { display: flex; }
  body:not(.layout-mobile) .mobile-topbar,
  body:not(.layout-mobile) .standard-bottom-nav { display: none; }
}
@media (max-width: 1023px) {
  .utility-strip-prod { display: none; }
  body.layout-mobile .mobile-topbar { top: 0; }
  body.layout-mobile .main-col { min-height: 100dvh; }
}

/* =========================================================
   V15.4 PC 正式环境布局修复
   目标：顶部搜索栏与主内容卡片使用同一个 1320px 内容容器，
   避免搜索框贴左、结果卡片居中造成 PC 端错位。
   ========================================================= */
@media (min-width: 1024px) {
  body.layout-desktop .main-col {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  body.layout-desktop .desktop-topbar {
    height: 64px;
    padding: 0;
    justify-content: center;
  }

  body.layout-desktop .desktop-topbar .search {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
  }

  body.layout-desktop .desktop-topbar .search .field {
    width: min(680px, 100%);
    max-width: 680px;
  }

  body.layout-desktop .main {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* =========================================================
   V15.8 正式环境：删除顶部版本条后，桌面布局从首屏顶部开始
   ========================================================= */
.utility-strip-prod { display: none !important; height: 0 !important; padding: 0 !important; border: 0 !important; }
@media (min-width: 1024px) {
  body.layout-desktop .desktop-topbar { top: 0; }
  body.layout-desktop .sidebar-shell { top: 0; height: 100dvh; }
}

/* =========================================================
   V15.8 交互与数据适配修复
   ========================================================= */
.search .field {
  height: 52px;
  border-radius: 16px;
  padding: 0 16px;
}
.search input {
  font-size: 15px;
  line-height: 52px;
}
.search .go {
  height: 38px;
  padding: 0 18px;
  border-radius: 12px;
}
body.layout-desktop .desktop-topbar {
  height: 76px;
}
body.layout-desktop .desktop-topbar .search .field {
  width: min(780px, 100%);
  max-width: 780px;
}
.ai-insight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--primary) 12%, transparent), transparent 55%),
    var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 8%, transparent) inset;
}
.ai-insight-card .ai-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ai-insight-card .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: 0 0 auto;
}
.ai-title {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}
.ai-text {
  color: var(--foreground);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}
.ai-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: var(--muted-foreground);
  font-size: 12px;
  white-space: nowrap;
}
.ai-score strong {
  color: var(--primary);
  font-size: 22px;
}
.copy-addr.fulladdr .addr-text,
.rank-row .copy-addr.fulladdr .addr-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.node-summary .label,
.graph-canvas text {
  overflow-wrap: anywhere;
}
.tx-detail .copy-addr .addr-text {
  max-width: none;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 1023px) {
  .ai-insight-card { align-items: flex-start; flex-direction: column; }
  .ai-score { align-items: flex-start; }
  .search .field { height: 48px; }
  .search input { line-height: 48px; }
}


/* =========================================================
   V15.8 修复：三端画像边界、排行可读性、监听完整地址
   ========================================================= */
.graph-canvas {
  min-height: 460px;
  overflow: hidden;
}
.graph-canvas svg {
  max-width: 100%;
  height: 460px;
}
.rank-list .rank-row {
  padding: 14px 20px;
}
.rr-top {
  align-items: flex-start;
}
.rr-id {
  display: block;
  flex: 1;
  min-width: 0;
}
.rr-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}
.rr-id .copy-addr.fulladdr {
  display: inline-flex;
  max-width: 100%;
  vertical-align: top;
}
.rr-id .copy-addr.fulladdr .addr-text,
.watch-address .addr-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.rr-meta {
  gap: 10px;
}
.watch-card .rc-mid {
  min-width: 0;
}
.tbl .watch-address {
  max-width: 560px;
}
@media (max-width: 1023px) {
  .graph-canvas {
    min-height: 360px;
  }
  .graph-canvas svg {
    height: 360px;
  }
  .rr-top {
    display: block;
  }
  .rr-amt {
    margin-top: 8px;
    text-align: left;
  }
  .rr-meta {
    display: block;
    line-height: 1.8;
  }
}

/* ---------- V15.8 资金画像情报增强 ---------- */
.radar-result-card {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in oklab, var(--primary) 32%, var(--border));
  background:
    radial-gradient(circle at 12% 18%, color-mix(in oklab, var(--primary) 18%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in oklab, var(--card) 88%, #000), var(--card));
}
.radar-result-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 12%, transparent), transparent);
  opacity: .8;
}
.radar-result-head,
.radar-result-main,
.radar-points {
  position: relative;
  z-index: 1;
}
.radar-result-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 8px;
}
.radar-result-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .02em;
}
.radar-result-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted-foreground);
}
.radar-trust {
  margin-left: auto;
  min-width: 112px;
  text-align: right;
}
.radar-trust span,
.radar-grade span,
.radar-point span {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground);
}
.radar-trust strong {
  font-size: 24px;
  color: var(--primary);
}
.radar-result-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px 16px;
  align-items: center;
}
.radar-result-main strong {
  font-size: 20px;
}
.radar-result-main p {
  margin: 6px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}
.radar-grade {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 100px;
  text-align: center;
  background: color-mix(in oklab, var(--elevated) 70%, transparent);
}
.radar-grade b {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  color: var(--primary);
}
.radar-points {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.radar-point {
  padding: 13px 14px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.radar-point:last-child { border-right: 0; }
.radar-point strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.graph-canvas-safe {
  overflow: hidden;
  min-height: 430px;
  padding: 8px 10px;
}
.graph-canvas-safe svg { display: block; max-width: 100%; }
.graph-legend-note {
  padding: 0 20px 16px;
}
.flow-stats { grid-template-columns: repeat(4, 1fr); }
.progress-line { margin: 10px 0; }
.risk-reasons {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--elevated);
  border: 1px solid var(--border);
}
.risk-reasons p {
  margin: 5px 0;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.intel-rank-row {
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--border);
}
.intel-rank-row:last-child { border-bottom: 0; }
.rr-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.rr-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--elevated);
  color: var(--foreground);
  font-size: 12px;
  font-weight: 600;
}
.rr-address {
  margin-top: 9px;
  display: block;
  min-width: 0;
}
.rr-address .copy-addr,
.copy-addr.only-full-address {
  max-width: 100%;
  width: 100%;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--elevated) 70%, transparent);
}
.rr-address .addr-text,
.copy-addr.only-full-address .addr-text {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  text-align: left;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 12px;
  line-height: 1.45;
}
.rr-explain {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .radar-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .radar-point:nth-child(3n) { border-right: 0; }
  .flow-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .radar-result-head,
  .radar-result-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .radar-trust {
    margin-left: 0;
    text-align: left;
  }
  .radar-grade { width: 100%; text-align: left; }
  .radar-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radar-point { border-right: 1px solid var(--border); }
  .radar-point:nth-child(2n) { border-right: 0; }
  .graph-canvas-safe { min-height: 340px; padding: 0; }
  .graph-canvas-safe svg { min-width: 720px; transform: scale(.82); transform-origin: center center; }
  .flow-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   钱包雷达 V16.3 · 链上情报增强样式
   ========================================================= */
.v16-radar { border-color: color-mix(in oklab, var(--primary) 34%, var(--border)); }
.v16-verdict {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  gap: 14px;
  align-items: stretch;
  margin: 16px 0;
}
.v16-verdict > div,
.focus-score,
.radar-grade {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in oklab, var(--elevated) 62%, transparent);
  padding: 14px;
}
.v16-verdict span,
.focus-row span,
.tag-block p { display:block; color: var(--muted-foreground); font-size:12px; margin:0 0 4px; }
.v16-verdict strong { display:block; font-size:20px; color: var(--primary); }
.v16-verdict p { margin:6px 0 0; color: var(--muted-foreground); font-size:13px; }
.focus-score b { display:block; font-size:30px; line-height:1; color: var(--foreground); }
.focus-score em { display:block; margin-top:8px; color: var(--risk-mid); font-style:normal; letter-spacing:1px; }
.radar-grade b { display:block; font-size:18px; color: var(--risk-mid); }
.radar-grade small { color: var(--muted-foreground); }
.v16-findings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}
.v16-findings p,
.alert-list div,
.summary-badge,
.rank-note {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary) 7%, transparent);
  padding: 10px 12px;
  color: var(--foreground);
  font-size: 13px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border-radius: var(--radius);
}
.metric-grid .mi {
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 72%, transparent);
}
.metric-grid .mi:last-child { border-right:0; }
.metric-grid .mi span { display:block; color:var(--muted-foreground); font-size:12px; }
.metric-grid .mi strong { display:block; margin-top:4px; font-size:18px; color:var(--foreground); }
.v16-role strong { display:block; font-size:20px; color:var(--primary); margin-bottom:6px; }
.v16-role p { margin:0; color:var(--muted-foreground); }
.focus-row {
  display:flex; align-items:center; gap:10px; justify-content:space-between;
  margin:14px 0; padding:12px 14px; border:1px solid var(--border); border-radius:12px;
  background: color-mix(in oklab, var(--elevated) 60%, transparent);
}
.focus-row b { font-size:20px; color:var(--foreground); }
.focus-row em { color:var(--risk-mid); font-style:normal; letter-spacing:1px; }
.tag-block { margin-top:14px; }
.tag-block p { margin-bottom:8px; }
.alert-list { display:grid; gap:8px; }
.alert-list div { display:flex; align-items:center; gap:8px; }
.alert-list svg { color:var(--primary); flex:0 0 auto; }
.summary-badge { margin-top:12px; background: color-mix(in oklab, var(--risk-mid) 8%, transparent); }
.summary-badge b { color:var(--risk-mid); }
.rank-intel-item { padding:16px 0; border-bottom:1px solid var(--border); }
.rank-intel-item:last-child { border-bottom:0; }
.rank-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.rank-top strong { color:var(--foreground); }
.rank-top b { font-size:16px; color:var(--foreground); }
.full-address-line { margin:10px 0 8px; }
.full-address-line .copy-addr { max-width:100%; justify-content:flex-start; width:100%; background: var(--elevated); border-radius:10px; padding:8px 10px; }
.full-address-line .addr-text { white-space:normal; overflow-wrap:anywhere; text-align:left; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:12px; }
.rank-bar { height:4px; border-radius:999px; background:var(--muted); overflow:hidden; }
.rank-bar i { display:block; height:100%; border-radius:999px; }
.rank-meta { display:flex; justify-content:space-between; gap:12px; margin-top:8px; color:var(--muted-foreground); font-size:12px; }
.rank-note { margin-top:10px; color:var(--muted-foreground); }
.v16-graph { overflow:hidden; padding:0 12px; }
.tag.ok { color: var(--risk-low); border-color: color-mix(in oklab, var(--risk-low) 30%, var(--border)); background: color-mix(in oklab, var(--risk-low) 10%, transparent); }
@media (max-width: 1200px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-grid .mi:nth-child(3n) { border-right:0; }
  .v16-verdict { grid-template-columns: 1fr; }
  .v16-findings { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid .mi { border-right:1px solid var(--border); }
  .metric-grid .mi:nth-child(2n) { border-right:0; }
  .v16-graph svg { min-width: 760px; transform: scale(.78); transform-origin:center center; }
  .rank-meta { flex-direction:column; gap:3px; }
}


/* =========================================================
   钱包雷达 V16.3 · H5/TG 资金图谱左右滑动 + 缩放修复
   ========================================================= */
.graph-canvas.v16-graph,
.graph-canvas-safe.v16-graph {
  position: relative;
  overflow: hidden !important;
  padding: 0 !important;
  min-height: 520px;
}
.graph-tools {
  position: absolute;
  z-index: 5;
  right: 12px;
  top: 12px;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--card) 88%, transparent);
  backdrop-filter: blur(10px);
}
.graph-tools button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--elevated);
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.graph-tools button:hover { background: color-mix(in oklab, var(--primary) 20%, var(--elevated)); color: var(--primary); }
.graph-scroll {
  width: 100%;
  height: 520px;
  overflow: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--primary) 35%, var(--border)) transparent;
}
.graph-scroll::-webkit-scrollbar { height: 8px; width: 8px; }
.graph-scroll::-webkit-scrollbar-thumb { background: color-mix(in oklab, var(--primary) 35%, var(--border)); border-radius: 999px; }
.graph-scroll.is-dragging { cursor: grabbing; user-select: none; }
.graph-inner {
  position: relative;
  margin: 0 auto;
  min-width: 1120px;
  height: 500px;
}
.graph-inner svg {
  display: block;
  width: 1120px;
  height: 500px;
  max-width: none !important;
  transform: none !important;
}
@media (max-width: 767px) {
  .graph-canvas.v16-graph,
  .graph-canvas-safe.v16-graph {
    min-height: 460px !important;
  }
  .graph-scroll {
    height: 460px;
    padding: 0 0 10px;
  }
  .graph-inner {
    margin: 0;
  }
  .graph-tools {
    top: 10px;
    right: 10px;
  }
  .graph-tools button {
    min-width: 32px;
    height: 28px;
    font-size: 12px;
  }
}

/* =========================================================
   钱包雷达 V16.3 · 移动端图谱可读性修复
   - 移动端默认缩放 72%，最低 50%
   - 地址标签贴近节点，避免左右两端看不到地址
   - 图谱容器按 SVG 实际尺寸自适应
   ========================================================= */
@media (max-width: 767px) {
  .graph-canvas.v16-graph,
  .graph-canvas-safe.v16-graph {
    min-height: 430px !important;
  }
  .graph-scroll {
    height: 430px !important;
  }
  .graph-inner {
    margin: 0 !important;
  }
  .graph-inner svg text {
    paint-order: stroke;
    stroke: rgba(13,15,18,.65);
    stroke-width: 2px;
    stroke-linejoin: round;
  }
  .graph-tools {
    top: 8px !important;
    right: 8px !important;
  }
}

/* =========================================================
   钱包雷达 V16.6 · PC节点详情弹窗修复
   ========================================================= */
.wr-graph-node { cursor: pointer; outline: none; }
.wr-graph-node circle { transition: filter .16s ease, opacity .16s ease, stroke-width .16s ease; stroke: rgba(255,255,255,.16); }
.wr-graph-node:hover circle,
.wr-graph-node:focus circle { filter: drop-shadow(0 0 10px rgba(255,122,0,.38)); stroke: rgba(255,255,255,.5); stroke-width: 2px; }
.graph-node-pop {
  position: absolute;
  z-index: 20;
  width: 320px;
  max-width: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in oklab, var(--card) 96%, #000);
  box-shadow: 0 22px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
}
.node-detail-card { padding: 14px; }
.node-detail-title { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:10px; }
.node-detail-title span { font-weight: 800; color: var(--foreground); }
.node-detail-title small { color: var(--muted-foreground); white-space: nowrap; }
.node-full-address { margin: 8px 0 12px; }
.node-full-address .copy-addr { width: 100%; justify-content: space-between; text-align: left; padding: 10px 12px; border:1px solid var(--border); border-radius: 12px; background: var(--elevated); }
.node-full-address .addr-text { overflow-wrap:anywhere; white-space: normal; font-size: 12px; line-height:1.45; }
.node-detail-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:8px; margin: 10px 0 12px; }
.node-detail-grid div { border:1px solid var(--border); border-radius:12px; padding:9px 8px; background: rgba(255,255,255,.025); }
.node-detail-grid em { display:block; font-style:normal; color:var(--muted-foreground); font-size:11px; margin-bottom:4px; }
.node-detail-grid b { display:block; font-size:12px; color:var(--foreground); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.node-detail-actions { display:flex; gap:8px; }
.node-detail-actions .btn { flex:1; justify-content:center; }
.graph-sheet[hidden], .graph-node-pop[hidden] { display:none !important; }
.graph-sheet { position: fixed; inset: 0; z-index: 999; }
.graph-sheet-mask { position:absolute; inset:0; background: rgba(0,0,0,.48); }
.graph-sheet-panel {
  position:absolute; left:0; right:0; bottom:0;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 98%, #000);
  box-shadow: 0 -20px 60px rgba(0,0,0,.45);
  padding: 16px 14px max(18px, env(safe-area-inset-bottom));
}
.sheet-close {
  position:absolute; right:14px; top:10px;
  width:32px; height:32px; border-radius:999px;
  border:1px solid var(--border); background:var(--elevated); color:var(--foreground); font-size:20px;
}
.rank-compact .rank-top { align-items:flex-start; }
.rank-compact .rank-top > div { min-width:0; display:flex; flex-direction:column; gap:6px; }
.mini-tag {
  display:inline-flex; width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  border:1px solid color-mix(in oklab, var(--primary) 26%, var(--border));
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}
.rank-meta.compact { margin-top:10px; }
.rank-warn {
  margin-top:10px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid color-mix(in oklab, var(--risk-mid) 35%, var(--border));
  background: color-mix(in oklab, var(--risk-mid) 10%, transparent);
  color: var(--risk-mid);
  font-size:12px;
  font-weight:700;
}
.rank-intel-item .rank-note { display:none !important; }

/* V16.6: PC端节点详情弹窗修复
   避免全局 .graph-canvas svg { width:100% } 影响复制图标，导致弹窗地址竖排和图标巨大 */
.graph-node-pop .copy-addr svg,
.graph-sheet .copy-addr svg,
.node-detail-actions .btn svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  flex: 0 0 14px !important;
  transform: none !important;
}
.graph-node-pop .node-full-address .copy-addr,
.graph-sheet .node-full-address .copy-addr {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px;
}
.graph-node-pop .node-full-address .addr-text,
.graph-sheet .node-full-address .addr-text {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-height: 1.4;
}
.graph-node-pop {
  width: 380px;
  max-width: min(380px, calc(100% - 24px));
}
.graph-node-pop .node-detail-title span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .graph-sheet .node-full-address .addr-text {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
}
@media (max-width: 767px) {
  .graph-node-pop { display:none !important; }
  .node-detail-card { padding: 18px 4px 0; }
  .node-detail-title { padding-right:38px; }
  .node-detail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap:6px; }
  .node-detail-grid div { padding:8px 6px; }
  .node-detail-grid b { font-size:11px; }
  .node-detail-actions { flex-direction: row; }
  .graph-inner svg text { stroke-width: 1.3px !important; }
}

/* V16.9 三端节点详情监听提示 */
.node-detail-tip{margin:8px 0 0;color:var(--muted-foreground);font-size:11px;text-align:center;}

/* V16.9: 节点弹窗按钮状态 */
.node-detail-actions .btn[disabled]{opacity:.72;cursor:not-allowed;}
.node-detail-actions .btn.is-ok{background: color-mix(in oklab, var(--risk-low) 22%, var(--elevated)); color: var(--risk-low);}


/* 钱包雷达 V16.10 · 三端交互修复 */
body.layout-mobile .mobile-topbar .search .field {
  grid-template-columns: 24px minmax(0, 1fr) 34px 64px;
}
body.layout-mobile .mobile-topbar .search .go {
  display: inline-flex;
  height: 38px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 12px;
}
body.layout-mobile .mobile-topbar .search input { min-width: 0; }
body.layout-mobile .graph-scroll { overflow: auto !important; }
body.layout-mobile .graph-inner { margin: 0 !important; }
.node-detail-actions .btn.is-ok,
.node-detail-actions .btn:disabled { opacity: .72; cursor: not-allowed; }

/* ===== Wallet Radar Admin Hotfix V17.2 ===== */
.adminwide{max-width:none;width:100%;padding:0;margin:0;}
/* ---------- 后台样式：仅在后台容器内生效，避免污染前台三端 ---------- */
.admin-shell{min-height:100vh;display:grid;grid-template-columns:180px minmax(0,1fr);background:radial-gradient(circle at 20% 0%,rgba(49,118,255,.16),transparent 32%),#0b111c;color:#f8fafc;}
.admin-shell .admin-sidebar{position:sticky;top:0;height:100vh;padding:24px 14px;border-right:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.74);backdrop-filter:blur(16px);}
.admin-shell .admin-brand{font-size:18px;font-weight:900;color:#fff}.admin-shell .admin-sub{font-size:12px;color:#8ea0bd;margin:4px 0 18px}.admin-shell .admin-menu{display:flex;flex-direction:column;gap:10px}.admin-shell .admin-menu a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;color:#dbeafe;text-decoration:none;background:rgba(15,23,42,.5);border:1px solid rgba(148,163,184,.10);font-weight:800}.admin-shell .admin-menu a.active{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff}.admin-shell .admin-footer-note{position:absolute;bottom:18px;left:14px;right:14px;color:#8ea0bd;font-size:12px}.admin-shell .admin-main{min-width:0;padding:28px 28px 44px;}
.admin-shell .admin-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px;}
.admin-shell .admin-head h1{font-size:30px;line-height:1.15;margin:0 0 6px;font-weight:900;color:#fff;}
.admin-shell .admin-head .muted,.admin-shell .muted{color:#8ea0bd;}
.admin-shell .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;}
.admin-shell .grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.admin-shell .card{background:linear-gradient(180deg,rgba(30,41,59,.86),rgba(15,23,42,.86));border:1px solid rgba(148,163,184,.16);border-radius:18px;padding:20px;box-shadow:0 22px 60px rgba(0,0,0,.22);margin-bottom:16px;}
.admin-shell .card h2{margin:0 0 12px;font-size:18px;color:#fff;}
.admin-shell .input,.admin-shell input.input,.admin-shell textarea.input,.admin-shell select.input{width:100%;box-sizing:border-box;border:1px solid rgba(148,163,184,.22);border-radius:12px;background:#070d16;color:#f8fafc;padding:12px 14px;outline:none;}
.admin-shell .input:focus{border-color:rgba(96,165,250,.65);box-shadow:0 0 0 3px rgba(59,130,246,.16);}
.admin-shell .btn,.admin-shell button.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:12px 16px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:800;cursor:pointer;text-decoration:none;min-height:42px;}
.admin-shell .btn:hover{filter:brightness(1.08);}
.admin-shell .btn2,.admin-shell button.btn2{background:#26364f;color:#e5eefc;border:1px solid rgba(148,163,184,.12);}
.admin-shell .help{font-size:13px;color:#8ea0bd;margin:10px 0 0;}.admin-shell .green{color:#34d399}.admin-shell .red{color:#fb7185}
.admin-shell .row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid rgba(148,163,184,.12);}
.admin-shell .row:last-child{border-bottom:0}.admin-shell .row span{color:#b6c3d8}.admin-shell .row b{color:#fff}.admin-shell .copybox,.admin-shell pre.copybox{white-space:pre-wrap;word-break:break-all;overflow:auto;max-height:420px;background:#070d16;border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:14px;color:#dbeafe;font-size:13px;line-height:1.65;}
.admin-shell table{width:100%;border-collapse:collapse;}.admin-shell th,.admin-shell td{padding:12px;border-bottom:1px solid rgba(148,163,184,.12);text-align:left;}.admin-shell th{color:#cbd5e1;font-weight:800;}.admin-shell td{color:#f8fafc;}
@media(max-width:900px){.admin-shell{display:block}.admin-shell .admin-sidebar{position:relative;height:auto}.admin-shell .admin-main{padding:18px}.admin-shell .grid2,.admin-shell .grid3{grid-template-columns:1fr}.admin-shell .admin-footer-note{position:static;margin-top:16px}.admin-shell .admin-head h1{font-size:24px}}

/* V17.8：小屏幕地址中间省略，不再尾部省略；复制仍复制完整地址 */
.copy-addr.middle-compact .addr-text {
  text-overflow: clip !important;
  overflow: visible !important;
  white-space: nowrap !important;
}
@media (max-width: 540px) {
  .intel-banner .copy-addr.fulladdr,
  .watch-card .copy-addr.fulladdr,
  .table .copy-addr.fulladdr {
    max-width: 100%;
  }
}

/* V17.9 监听管理三端空状态新增入口 */
.watch-quick-card{margin-bottom:16px;border:1px solid rgba(255,122,0,.22)}
.watch-quick-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width: 720px){
  .watch-quick-card .card-head{align-items:flex-start;gap:14px}
  .watch-quick-actions{width:100%;display:grid;grid-template-columns:1fr;justify-content:stretch}
  .watch-quick-actions .btn{width:100%;justify-content:center}
}

/* V18.0：监听管理空状态只保留一个入口卡片，修复手机端文字竖排/重复错位 */
.empty-watch{padding:0 !important;margin-bottom:16px;}
.empty-watch-inner{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:34px 22px;}
.empty-watch-inner h3{margin:4px 0 0;font-size:17px;}
.empty-watch-inner p{margin:0;color:var(--muted-foreground);line-height:1.7;}
.empty-watch-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:8px;width:100%;}
.empty-watch-actions .btn{min-width:150px;justify-content:center;}
@media (max-width: 720px){
  .empty-watch-inner{align-items:stretch;text-align:left;padding:24px 18px;}
  .empty-watch-inner > svg{align-self:flex-start;}
  .empty-watch-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .empty-watch-actions .btn{width:100%;min-width:0;}
}

/* =========================================================
   V18.1：首页底部三快捷入口优化 + H5/TG 自适应修复
   ========================================================= */
.home-quick-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:20px;
  align-items:stretch;
}
.quick-action{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:76px;
  padding:16px 18px;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(180deg,color-mix(in oklab,var(--elevated) 88%,transparent),color-mix(in oklab,var(--card) 92%,transparent));
  color:var(--foreground);
  overflow:hidden;
  transition:transform .16s,border-color .16s,background .16s;
}
.quick-action:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 12% 18%,color-mix(in oklab,var(--primary) 12%,transparent),transparent 34%);
  opacity:.8;
  pointer-events:none;
}
.quick-action:hover{transform:translateY(-1px);border-color:color-mix(in oklab,var(--primary) 36%,var(--border));}
.quick-action > span{
  position:relative;
  z-index:1;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:14px;
  background:color-mix(in oklab,var(--primary) 15%,transparent);
  color:var(--primary);
}
.quick-action b,.quick-action em{position:relative;z-index:1;display:block;min-width:0;}
.quick-action b{font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.quick-action em{margin-top:4px;font-style:normal;font-size:12px;line-height:1.35;color:var(--muted-foreground);}
.quick-action.primary{border-color:color-mix(in oklab,#3b82f6 42%,var(--border));background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;}
.quick-action.primary > span{background:rgba(255,255,255,.16);color:#fff;}
.quick-action.primary em{color:rgba(255,255,255,.72);}
body.layout-mobile .home-quick-actions{grid-template-columns:1fr;gap:10px;margin-top:18px;}
body.layout-mobile .quick-action{min-height:64px;padding:14px;border-radius:16px;}
body.layout-mobile .quick-action b{font-size:14px;}
body.layout-mobile .quick-action em{font-size:11px;}
@media (max-width: 380px){
  body.layout-mobile .quick-action{gap:10px;padding:12px;}
  body.layout-mobile .quick-action > span{width:34px;height:34px;border-radius:12px;}
}

/* H5 / TG 小屏统一修复：避免卡片、按钮、地址出现错位或横向撑破 */
body.layout-mobile .main-col{max-width:100%;border-left:0;border-right:0;}
body.layout-mobile .mobile-topbar{padding-left:14px;padding-right:14px;}
body.layout-mobile .search{max-width:none;}
body.layout-mobile .search .field{border-radius:18px;padding:0 12px;gap:8px;}
body.layout-mobile .search .go{padding:0 14px;min-width:58px;}
body.layout-mobile .card{border-radius:18px;}
body.layout-mobile .card-head{flex-wrap:wrap;align-items:flex-start;}
body.layout-mobile .btn{white-space:normal;text-align:center;justify-content:center;}
body.layout-mobile .copy-addr{min-width:0;max-width:100%;}
body.layout-mobile .copy-addr .addr-text{min-width:0;}
body.layout-mobile .life-grid > div,
body.layout-mobile .assets-grid,
body.layout-mobile .flows > div{min-width:0;}

/* 底部导航固定在底部，TG/H5 不遮挡内容 */
body.layout-mobile .main{padding-bottom:calc(90px + env(safe-area-inset-bottom));}
body.layout-mobile .standard-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;background:color-mix(in oklab,var(--card) 96%,transparent);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);}
body.layout-mobile .bottom-nav{max-width:520px;margin:0 auto;border-top:0;background:transparent;}
body.layout-mobile .bottom-nav a{padding:10px 0 8px;min-width:0;}
body.layout-mobile .bottom-nav a svg{width:22px;height:22px;}

/* V18.1：监听空页面入口不重复，移动端维持横向文字 */
body.layout-mobile .empty-watch-inner{align-items:center;text-align:center;}
body.layout-mobile .empty-watch-actions .btn{white-space:nowrap;}

/* V18.2：首页返回时恢复上次查询结果提示 */
.cache-restore-tip{
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid rgba(255,122,18,.28);
  border-radius:14px;
  background:rgba(255,122,18,.08);
  color:#ffd7b0;
  font-size:13px;
  line-height:1.45;
}
@media (max-width: 640px){
  .cache-restore-tip{margin:0 0 12px;font-size:12px;border-radius:12px;}
}
