
:root {
  --bg: #f4f7ff;
  --bg2: #eef3ff;
  --card: rgba(255,255,255,.88);
  --card-strong: rgba(255,255,255,.98);
  --line: rgba(91, 116, 179, .14);
  --text: #132238;
  --muted: #6b7a92;
  --shadow: 0 22px 60px rgba(39, 74, 146, .10);
  --blue: #356dff;
  --violet: #7c3aed;
  --amber: #e49b10;
  --emerald: #12a874;
  --rose: #e85d8c;
  --cyan: #0ea5c6;
  --gold: #c78717;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 42%, var(--bg2) 100%);
}
a { color: #2054d6; text-decoration: none; }
a:hover { text-decoration: underline; }
.card {
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.page-shell {
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: 18px 14px 28px;
}
.top-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #fff6d9 0%, #fff9ef 100%);
}
.notice-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(228, 155, 16, .12);
  color: #8a5a06;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.top-notice-text {
  min-width: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.65;
}
.notice-item { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-copy { font-weight: 700; }
.notice-copy-multiline {
  white-space: normal;
  line-height: 1.9;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.notice-link {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(53,109,255,.10);
  color: #2453d4;
  font-size: 12px;
  font-weight: 800;
}
.notice-link:hover { text-decoration: none; background: rgba(53,109,255,.16); }
.notice-time { color: var(--muted); font-size: 12px; }
.notice-archive-head {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.notice-archive-collapsible details { display: grid; gap: 12px; }
.notice-archive-collapsible summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,245,255,.96));
  border: 1px solid rgba(91, 116, 179, .12);
}
.notice-archive-collapsible summary::-webkit-details-marker { display: none; }
.notice-expand {
  flex: 0 0 auto;
  color: #2453d4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}
.notice-archive-collapsible details[open] .notice-expand::after { content: '（已展开）'; }
.notice-archive-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247,250,255,.98), rgba(240,246,255,.92));
  border: 1px solid rgba(91, 116, 179, .10);
}
.notice-archive-content {
  min-width: 0;
  width: 100%;
}
.hero-shell {
  position: relative;
  padding: 22px 24px 20px;
  margin-bottom: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(53,109,255,.12), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(124,58,237,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,255,.96));
}
h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; }
.hero-subtitle {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.hero-domain {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #4f5f7d;
}
.hero-update-bar {
  margin-top: 12px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(53,109,255,.08) 0%, rgba(124,58,237,.07) 100%);
  border: 1px solid rgba(83, 113, 196, .12);
}
.hero-update-label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: #5d6f95;
}
.hero-update-value {
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1f4fcf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-title-static {
  display: inline-block;
  background: linear-gradient(90deg, #346cff 0%, #12a874 35%, #f59e0b 68%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.top-nav {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,248,255,.92));
}
.nav-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #5d6f95;
  background: linear-gradient(180deg, #f6f9ff 0%, #edf3ff 100%);
  border: 1px solid rgba(103, 128, 190, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.nav-pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
  color: #35508d;
  box-shadow: 0 10px 24px rgba(54, 90, 180, .10);
}
.nav-pill.active {
  color: white;
  background: linear-gradient(135deg, #346cff 0%, #6e4cff 55%, #8b5cf6 100%);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(62, 97, 238, .26);
}

.dashboard-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-copy-btn {
  appearance: none;
  border: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #346cff 0%, #6e4cff 100%);
  box-shadow: 0 10px 24px rgba(53,109,255,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.dashboard-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(53,109,255,.24);
}

.dashboard-copy-btn.copied {
  background: linear-gradient(135deg, #12a874 0%, #0ea5c6 100%);
}
.spa-stage { display: grid; }
.view-panel { display: grid; gap: 14px; min-width: 0; }
.view-intro {
  margin: 0;
  padding: 2px 4px 0;
  color: #617392;
  font-size: 14px;
  line-height: 1.7;
}
.stats-groups {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.stats-group-block {
  padding-bottom: 16px;
}
.stats-group-head {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 12px;
}
.stats-group-head h2 {
  font-size: 22px;
}
.stats-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 16px;
}
.stats-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 16px;
}
.stats-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 16px;
}
.stats-grid-6 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0 16px;
}
.stats-grid-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0 16px;
}
.burn-stats-grid .metric-card {
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.burn-trend-card {
  padding-bottom: 8px;
}
.burn-trend-wrap {
  padding: 0 16px 4px;
}
.burn-trend-chart {
  min-height: 188px;
  border-radius: 16px;
  border: 1px solid rgba(199, 135, 23, .16);
  background: linear-gradient(180deg, rgba(255, 249, 236, .96), rgba(255, 253, 247, .88));
  overflow: hidden;
}
.burn-trend-svg {
  display: block;
  width: 100%;
  height: auto;
}
.burn-trend-axis {
  stroke: rgba(166, 125, 28, .26);
  stroke-width: 1;
}
.burn-trend-line {
  fill: none;
  stroke: #d08a16;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.burn-trend-area {
  fill: url(#burnTrendFill);
}
.burn-trend-dot {
  fill: #fff7e3;
  stroke: #c67f11;
  stroke-width: 2;
}
.burn-trend-label {
  fill: #8c6420;
  font-size: 10px;
  font-weight: 700;
}
.burn-trend-empty {
  min-height: 188px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}

.metric-card { padding: 14px 12px; min-width: 0; border-radius: 18px; }
.metric-card-pool-glow {
  position: relative;
  overflow: hidden;
}
.metric-card-pool-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 42%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(122,92,255,.1) 16%, rgba(104,209,255,.92) 48%, rgba(171,112,255,.88) 72%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 10px rgba(97, 189, 255, .45);
  animation: poolGlowSweep 4.2s linear infinite;
  pointer-events: none;
}
.metric-card-pool-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(82, 123, 255, .08), rgba(130, 91, 255, 0) 40%);
  pointer-events: none;
}
.metric-label { color: var(--muted); font-size: 12px; margin-bottom: 6px; line-height: 1.35; }
.metric-label-fanchen { color: #12a874; font-weight: 800; }
.metric-label-lingshan { color: #7c3aed; font-weight: 800; }
.metric-label-qitian {
  font-weight: 800;
  background: linear-gradient(90deg, #ff6b6b 0%, #f59e0b 28%, #22c55e 52%, #3b82f6 76%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-value { font-size: 24px; font-weight: 800; line-height: 1.08; }
.metric-small { font-size: 20px; }
.metric-tiny { font-size: 14px; line-height: 1.35; }
.metric-roll {
  animation: metricRoll .5s cubic-bezier(.2, .7, .2, 1);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

@keyframes metricRoll {
  0% {
    opacity: .15;
    transform: translateY(14px) scaleY(.92);
    filter: blur(1.5px);
  }
  55% {
    opacity: 1;
    transform: translateY(-2px) scaleY(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}
@keyframes poolGlowSweep {
  0% {
    transform: translateX(0);
    opacity: .2;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: .92;
  }
  100% {
    transform: translateX(320%);
    opacity: .2;
  }
}
.metric-status { font-size: 18px; color: var(--emerald); }
.status-bad { color: #d94e4b; }
.status-ok { color: var(--emerald); }
.rank-text { font-weight: 800; }
.rank-fanchen { color: #12a874; }
.rank-lingshan { color: #7c3aed; }
.rank-qitian {
  background: linear-gradient(90deg, #ff6b6b 0%, #f59e0b 28%, #22c55e 52%, #3b82f6 76%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.content-stack, .graph-grid, .links-grid { display: grid; gap: 14px; min-width: 0; }
.section-card {
  position: relative;
  overflow: hidden;
}
.section-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(91, 116, 179, .12);
  pointer-events: none;
}
.section-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, rgba(53,109,255,.95), rgba(53,109,255,0));
}
.section-blue::before { background: linear-gradient(90deg, rgba(53,109,255,.95), rgba(53,109,255,0)); }
.section-emerald::before { background: linear-gradient(90deg, rgba(18,168,116,.95), rgba(18,168,116,0)); }
.section-gold::before { background: linear-gradient(90deg, rgba(199,135,23,.95), rgba(199,135,23,0)); }
.section-violet::before { background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(124,58,237,0)); }
.section-cyan::before { background: linear-gradient(90deg, rgba(14,165,198,.95), rgba(14,165,198,0)); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 0;
}
.section-head h2 {
  margin: 0;
  font-size: 23px;
  grid-column: 1;
  text-align: left;
}
.hint {
  color: var(--muted);
  font-size: 13px;
  grid-column: 2;
  justify-self: end;
  white-space: nowrap;
  text-align: right;
}
.table-wrap, .placeholder-body, .page-copy {
  padding: 0 20px 20px;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.mobile-scroll-note {
  display: none;
  margin: 2px 0 8px;
  font-size: 11px;
  color: #7283a1;
  white-space: nowrap;
}
.plan-wrap {
  overflow-x: visible;
  width: 100%;
}
.drag-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  cursor: grab;
}
.drag-scroll-wrap:active { cursor: grabbing; }
table { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: fixed; }
.plan-table {
  table-layout: auto;
  width: 100%;
}
.plan-table th, .plan-table td {
  width: auto;
  white-space: nowrap;
  word-break: normal;
  padding-left: 12px;
  padding-right: 12px;
}
.plan-table th:first-child, .plan-table td:first-child { padding-left: 8px; }
.plan-table th:last-child, .plan-table td:last-child { padding-right: 8px; }
.plan-table th:nth-child(5), .plan-table td:nth-child(5) { min-width: 6.5em; }
.order-table, .top-table, .burn-table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  max-width: none;
}
.order-table th, .order-table td, .top-table th, .top-table td, .burn-table th, .burn-table td {
  white-space: nowrap;
  word-break: normal;
  padding-left: .82em;
  padding-right: .82em;
}
.order-table th:first-child, .order-table td:first-child,
.top-table th:first-child, .top-table td:first-child { padding-left: 8px; }
.order-table th:last-child, .order-table td:last-child,
.top-table th:last-child, .top-table td:last-child { padding-right: 8px; }
.order-table .col-id { min-width: 4em; }
.order-table .col-amount { min-width: 6em; }
.order-table .col-plan { min-width: 5em; }
.order-table .col-time { min-width: 10.5em; }
.order-table .col-wallet { min-width: 19em; }
.top-table .col-index { min-width: 4em; }
.top-table .col-teamstake,
.top-table .col-active,
.top-table .col-paid { min-width: 7em; }
.top-table .col-teamsize { min-width: 5em; }
.top-table .col-rank { min-width: 6em; }
.top-table .col-wallet { min-width: 19em; }
.burn-table th:nth-child(1), .burn-table td:nth-child(1) { min-width: 7em; }
.burn-table th:nth-child(2), .burn-table td:nth-child(2) { min-width: 5em; }
.burn-table th:nth-child(3), .burn-table td:nth-child(3) { min-width: 10em; }
.wallet-text {
  display: inline-block;
  min-width: max-content;
  font-variant-numeric: tabular-nums;
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  word-break: break-word;
}
th { color: #4e6286; background: #f5f8ff; font-weight: 800; font-size: 14px; }
tr:last-child td { border-bottom: none; }
.addr { word-break: break-all; }
.plan-table .addr, .order-table .addr, .top-table .addr { word-break: normal; }
.graph-grid { grid-template-columns: 1fr 1fr; }
.tree-panel { grid-column: 1 / -1; }
.block-card { padding: 0 0 16px; }
.compact-panel { min-height: 132px; }
.search-row { display: grid; gap: 12px; padding: 0 16px; }
.search-row input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 116, 179, .18);
  background: #fbfcff;
  color: var(--text);
  font-size: 14px;
}
.search-actions { display: flex; gap: 10px; }
button {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #356dff 0%, #6b57ff 100%);
  cursor: pointer;
}
.button-ghost { background: linear-gradient(135deg, #93a6d6 0%, #768abf 100%); }
.node-detail { padding: 0 16px; line-height: 1.7; }
.muted { color: var(--muted); }
.tree-root { padding: 0 16px 16px; overflow-x: auto; }
.tree { list-style: none; margin: 0; padding-left: 0; }
.tree ul { list-style: none; margin: 10px 0 0 20px; padding-left: 18px; border-left: 1px dashed rgba(124,58,237,.26); }
.tree li { margin: 10px 0; }
.node-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(91, 116, 179, .14);
  background: #fbfcff;
}
.node-row.active { outline: 2px solid rgba(53,109,255,.22); box-shadow: 0 10px 28px rgba(53,109,255,.10); }
.node-row.level-0 { background: #eef4ff; }
.node-row.level-1 { background: #f4efff; }
.node-row.level-2 { background: #eefbf6; }
.node-row.level-3 { background: #fff8ea; }
.node-row.level-4, .node-row.level-deep { background: #f8f9fd; }
.node-row.placeholder-node { background: #f5f1ff; }
.node-row.root-node { background: #eef5ff; }
.node-row.lingshan-node { box-shadow: inset 0 0 0 1px rgba(124,58,237,.18); }
.node-row.qitian-node { box-shadow: inset 0 0 0 1px rgba(245,158,11,.22), 0 8px 24px rgba(59,130,246,.08); }
.node-row.fanchen-node { box-shadow: inset 0 0 0 1px rgba(18,168,116,.12); }
.toggle {
  width: 30px; height: 30px; border-radius: 999px; padding: 0; border: 0;
  background: linear-gradient(135deg, #7c3aed, #4f46e5); color: white; font-weight: 900;
}
.toggle.placeholder { background: #d5ddef; color: #51607e; cursor: default; }
.node-title { font-weight: 800; }
.node-sub { margin-top: 3px; color: var(--muted); font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px;
  background: rgba(53,109,255,.10); color: #2d58b3; font-size: 12px; font-weight: 800;
}
.rank-placeholder { background: rgba(124,58,237,.12); color: #6d34d6; }
.rank-root { background: rgba(14,165,198,.12); color: #0d7d97; }
.badge.rank-fanchen { background: rgba(18,168,116,.12); color: #0e8b60; }
.badge.rank-lingshan { background: rgba(124,58,237,.12); color: #6d34d6; }
.badge.rank-qitian {
  background: linear-gradient(90deg, rgba(255,107,107,.18), rgba(245,158,11,.18), rgba(34,197,94,.18), rgba(59,130,246,.18), rgba(168,85,247,.18));
  color: #7a3f00;
}
.placeholder-grid, .links-grid { display: grid; gap: 14px; }
.placeholder-hero, .notice-archive-item { padding: 18px; }
.placeholder-hero h2 { margin: 0 0 8px; font-size: 24px; }
.placeholder-hero p { margin: 0; color: var(--muted); line-height: 1.7; }
.placeholder-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.placeholder-stat { padding: 16px; }
.placeholder-label { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.placeholder-value { font-size: 22px; font-weight: 800; }
.notice-list { display: grid; gap: 12px; }
.notice-archive-item { display: grid; gap: 10px; }
.notice-archive-item time { color: var(--muted); font-size: 12px; }
.link-list { margin: 0; padding: 0 18px 18px 34px; }
.link-list li { margin: 8px 0; line-height: 1.65; word-break: break-all; }
@media (max-width: 980px) {
  .stats-grid,
  .stats-grid-2,
  .stats-grid-3,
  .stats-grid-5,
  .stats-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .placeholder-stats, .graph-grid, .links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .page-shell { padding: 10px 8px 20px; }
  .top-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
  }
  .nav-pill {
    min-height: 38px;
    padding: 0 2px;
    font-size: 11px;
  }
  .view-intro { font-size: 13px; padding: 0 2px; }
  .stats-grid,
  .stats-grid-2,
  .stats-grid-3,
  .stats-grid-5,
  .stats-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 10px; }
  .stats-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { padding: 12px 10px; border-radius: 16px; }
  .metric-label { font-size: 11px; margin-bottom: 5px; }
  .metric-value { font-size: 19px; }
  .metric-small { font-size: 17px; }
  .metric-status { font-size: 16px; }
  .metric-card-compact {
    min-height: 64px;
    padding: 9px 8px;
  }
  .metric-card-compact .metric-label {
    font-size: 10px;
  }
  .metric-card-compact .metric-value {
    font-size: 15px;
  }
  .dogshit-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  h1 { font-size: 28px; }
  .hero-domain { font-size: 17px; }
  .search-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 4px;
    padding: 14px 12px 0;
  }
  .section-head h2 {
    grid-column: 1;
    width: 100%;
    text-align: left;
    font-size: 18px;
  }
  .hint {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    font-size: 11px;
    white-space: normal;
  }
  .table-wrap, .placeholder-body, .page-copy {
    padding: 0 8px 12px;
  }
  .notice-archive-collapsible summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px 12px;
  }
  .notice-expand {
    justify-self: start;
    font-size: 11px;
  }
  .notice-archive-body {
    padding: 12px;
  }
  .notice-copy-multiline {
    font-size: 13px;
    line-height: 1.9;
  }
  .mobile-scroll-note {
    display: block;
    margin: 2px 0 8px;
    font-size: 10px;
  }
  .plan-wrap {
    overflow-x: visible;
  }
  .plan-table {
    table-layout: fixed;
  }
  .plan-table th, .plan-table td {
    font-size: 10px;
    padding: 8px 3px;
  }
  .plan-table th:nth-child(1), .plan-table td:nth-child(1) { width: 14.2857%; }
  .plan-table th:nth-child(2), .plan-table td:nth-child(2) { width: 14.2857%; }
  .plan-table th:nth-child(3), .plan-table td:nth-child(3) { width: 14.2857%; }
  .plan-table th:nth-child(4), .plan-table td:nth-child(4) { width: 14.2857%; }
  .plan-table th:nth-child(5), .plan-table td:nth-child(5) {
    width: 42.8571%;
    min-width: 0;
  }
  .drag-scroll-wrap {
    padding-bottom: 2px;
    touch-action: auto;
  }
  .order-table th, .order-table td,
  .top-table th, .top-table td,
  .burn-table th, .burn-table td {
    font-size: 10px;
    padding-left: .32em;
    padding-right: .32em;
  }
  .order-table .col-id { min-width: 3em; }
  .order-table .col-amount { min-width: 4.4em; }
  .order-table .col-plan { min-width: 3.8em; }
  .order-table .col-time { min-width: 8.6em; }
  .order-table .col-wallet, .top-table .col-wallet { min-width: 19.5em; }
  .top-table .col-teamstake,
  .top-table .col-active,
  .top-table .col-paid { min-width: 4.8em; }
  .top-table .col-teamsize { min-width: 3.8em; }
  .top-table .col-rank { min-width: 4.2em; }
  .burn-table th:nth-child(1), .burn-table td:nth-child(1) { min-width: 6.6em; }
  .burn-table th:nth-child(2), .burn-table td:nth-child(2) { min-width: 4.6em; }
  .burn-table th:nth-child(3), .burn-table td:nth-child(3) { min-width: 9em; }
  .burn-trend-wrap {
    padding: 0 12px 4px;
  }
  .burn-trend-chart {
    min-height: 170px;
  }
  .burn-trend-label {
    font-size: 9px;
  }
}


.dogshit-grid .metric-card {
  min-height: 72px;
}
.dogshit-panel-compact {
  padding-bottom: 12px;
}
.dogshit-grid-compact {
  max-width: 760px;
}
.metric-card-compact {
  min-height: 72px;
  padding: 10px 10px;
}
.metric-card-compact .metric-label {
  font-size: 11px;
  margin-bottom: 4px;
}
.metric-card-compact .metric-value {
  font-size: 18px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .top-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
  .nav-pill {
    min-height: 42px;
    padding: 0 6px;
    font-size: 13px;
  }
  .stats-grid-6.dogshit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-left: 10px;
    padding-right: 10px;
  }
  .top-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
  }
  .nav-pill {
    min-height: 38px;
    padding: 0 4px;
    font-size: 12px;
    border-radius: 11px;
    letter-spacing: 0;
  }
  .stats-grid-6,
  .stats-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats-grid-6.dogshit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 4px;
  flex-wrap: wrap;
}
.news-source-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14,165,198,.10);
  color: #0b6f87;
  font-size: 12px;
  font-weight: 800;
}
.news-list {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}
.news-card {
  padding: 16px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.news-card-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}
.news-rank {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(14,165,198,.12);
  color: #0b6f87;
  font-size: 12px;
  font-weight: 800;
}
.news-title {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.news-title:hover { color: #0c7791; text-decoration: none; }
.news-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
}
.news-card-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.news-summary {
  margin: 0;
  color: #41526f;
  font-size: 14px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.news-empty {
  padding: 20px 0;
  color: var(--muted);
  text-align: center;
}
.xwatch-card {
  background: linear-gradient(180deg, rgba(246, 251, 255, .98), rgba(237, 247, 255, .94));
}
.xwatch-warning {
  margin: 0 16px 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(228, 155, 16, .10);
  border: 1px solid rgba(228, 155, 16, .18);
  color: #8a5a06;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}
.xwatch-title-wrap {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.xwatch-handle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #617392;
  font-size: 12px;
  font-weight: 700;
}
.xwatch-time {
  color: var(--muted);
}
.xwatch-bio {
  margin: 0;
  color: #5c6c88;
  font-size: 13px;
  line-height: 1.65;
}
.xwatch-original {
  margin: 0;
  color: #6a7a96;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}


.worldcup-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}
.worldcup-summary-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.worldcup-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.worldcup-group-card h3 {
  margin: 0;
  font-size: 18px;
}
.worldcup-group-card {
  border-radius: 18px;
  overflow: hidden;
}
.worldcup-group-card .section-head {
  padding-bottom: 6px;
}
.worldcup-group-wrap {
  padding: 0 10px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}
.worldcup-group-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.worldcup-group-table thead th {
  font-size: 12px;
  letter-spacing: .01em;
}
.worldcup-group-table tbody tr:nth-child(odd) {
  background: rgba(148,163,184,.08);
}
.worldcup-group-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,.72);
}
.worldcup-rank-cell, .worldcup-group-stat-cell, .worldcup-group-points-cell {
  text-align: center;
}
.worldcup-rank-cell {
  width: 38px;
  font-weight: 800;
  color: #0f766e;
}
.worldcup-group-team-cell {
  width: 40%;
}
.worldcup-group-stat-cell {
  width: 7%;
}
.worldcup-group-points-cell {
  width: 9%;
  font-weight: 800;
  color: #0b6f87;
}
.worldcup-group-teamline {
  align-items: center;
}
.worldcup-group-teamname {
  display: block;
  overflow: hidden;
  white-space: nowrap !important;
  text-overflow: ellipsis;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  line-height: 1.18;
}
.worldcup-group-wrap, .worldcup-match-wrap { padding-bottom: 8px; }
.worldcup-group-table th, .worldcup-group-table td, .worldcup-match-table th, .worldcup-match-table td {
  white-space: nowrap;
}
.worldcup-match-table {
  width: 100%;
  min-width: 740px;
}
.worldcup-match-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}
.worldcup-time-cell {
  min-width: 128px;
  white-space: normal !important;
  line-height: 1.35;
}
.worldcup-team-cell {
  min-width: 132px;
}
.worldcup-status-cell {
  min-width: 74px;
}
.worldcup-teamline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.worldcup-teamline-right { justify-content: flex-start; }
.worldcup-teamname {
  display: inline-block;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.worldcup-flag {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(15,23,42,.06);
  flex: 0 0 18px;
}
.worldcup-score-cell {
  min-width: 46px;
  text-align: center;
  font-weight: 800;
  color: #0f766e;
}
.worldcup-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14,165,198,.10);
  color: #0b6f87;
  font-size: 12px;
  font-weight: 800;
}
.worldcup-badge.live {
  background: rgba(239,68,68,.12);
  color: #b91c1c;
}
.worldcup-badge.done {
  background: rgba(16,185,129,.12);
  color: #047857;
}
.worldcup-news-list {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}
.worldcup-news-card { padding: 16px; }
.worldcup-news-summary {
  line-height: 1.55;
}
@media (max-width: 980px) {
  .worldcup-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .worldcup-summary-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .worldcup-group-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .worldcup-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 10px 10px; gap: 8px; }
  .worldcup-summary-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid-5.worldcup-summary-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 0 8px 8px;
  }
  .stats-grid-5.worldcup-summary-grid-5 .metric-card-compact {
    min-height: 58px;
    padding: 7px 4px;
    border-radius: 12px;
  }
  .stats-grid-5.worldcup-summary-grid-5 .metric-card-compact .metric-label {
    font-size: 9px;
    margin-bottom: 3px;
  }
  .stats-grid-5.worldcup-summary-grid-5 .metric-card-compact .metric-value {
    font-size: 13px;
    line-height: 1.1;
  }
  .worldcup-group-card h3 { font-size: 15px; }
  .worldcup-group-card { border-radius: 14px; }
  .worldcup-group-wrap, .worldcup-match-wrap { padding-bottom: 4px; }
  .worldcup-group-wrap { padding: 0 6px 6px; }
  .worldcup-group-table, .worldcup-match-table { font-size: 12px; }
  .worldcup-group-table th, .worldcup-group-table td, .worldcup-match-table th, .worldcup-match-table td { padding: 7px 5px; }
  .worldcup-group-table th { font-size: 11px; }
  .worldcup-group-table { min-width: 720px; }
  .worldcup-group-team-cell { width: 40%; }
  .worldcup-group-stat-cell { width: 7%; }
  .worldcup-group-points-cell { width: 9%; }
  .worldcup-rank-cell { width: 28px; }
  .worldcup-match-table { min-width: 520px; }
  .worldcup-time-cell { min-width: 86px; font-size: 11px; }
  .worldcup-team-cell { min-width: 76px; }
  .worldcup-status-cell { min-width: 50px; }
  .worldcup-flag { width: 15px; height: 15px; min-width: 15px; min-height: 15px; flex-basis: 15px; }
  .worldcup-teamline { gap: 6px; align-items: flex-start; }
  .worldcup-teamname { max-width: 54px; white-space: normal; line-height: 1.2; }
  .worldcup-group-teamname { max-width: none; }
  .worldcup-score-cell { min-width: 34px; font-size: 12px; }
  .worldcup-badge { padding: 2px 4px; font-size: 10px; }
  .worldcup-news-list { gap: 10px; padding: 0 10px 10px; }
  .worldcup-news-card { padding: 12px; }
  .worldcup-news-summary { font-size: 13px; }
}

.worldcup-match-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 16px 14px;
  flex-wrap: wrap;
}
.worldcup-match-hint {
  color: var(--muted);
  font-size: 13px;
}
.worldcup-match-toggle {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5c6 0%, #0b6f87 100%);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(14,165,198,.20);
}
.worldcup-match-toggle[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .worldcup-match-actions {
    padding: 0 10px 10px;
    align-items: stretch;
  }
  .worldcup-match-toggle {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 9px 12px;
    font-size: 12px;
  }
  .worldcup-match-hint {
    font-size: 12px;
  }
}

.binance-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.binance-filter-chip {
  border: 1px solid rgba(199,135,23,.22);
  background: rgba(255,255,255,.88);
  color: #8a5a00;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.binance-filter-chip.active {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #fff;
  border-color: transparent;
}
.binance-list {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}
.binance-card {
  padding: 16px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
}
.binance-card-head {
  display: grid;
  gap: 10px;
}
.binance-card-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.binance-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.binance-chip,
.binance-symbol-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.binance-category-chip { background: rgba(217,119,6,.12); color: #92400e; }
.binance-risk-high { background: rgba(239,68,68,.12); color: #b91c1c; }
.binance-risk-medium { background: rgba(245,158,11,.16); color: #b45309; }
.binance-risk-opportunity { background: rgba(16,185,129,.14); color: #047857; }
.binance-impact-risk { background: rgba(220,38,38,.1); color: #991b1b; }
.binance-impact-ops { background: rgba(59,130,246,.12); color: #1d4ed8; }
.binance-impact-airdrop,
.binance-impact-opportunity { background: rgba(124,58,237,.12); color: #6d28d9; }
.binance-symbol-row { display: flex; gap: 8px; flex-wrap: wrap; }
.binance-symbol-chip { background: rgba(15,23,42,.06); color: #0f172a; }
.muted-chip { color: var(--muted); }
@media (max-width: 720px) {
  .binance-filter-row { justify-content: flex-start; }
  .binance-list { padding: 0 10px 10px; gap: 10px; }
  .binance-card { padding: 12px; }
  .binance-chip, .binance-symbol-chip, .binance-filter-chip { font-size: 11px; padding: 4px 9px; }
}
