:root {
  --bg: #071426;
  --panel: #0b1b31;
  --panel-2: #0d2340;
  --line: rgba(104, 150, 214, .16);
  --text: #f3f7ff;
  --muted: #8fa1bb;
  --blue: #247cff;
  --cyan: #29d1ff;
  --green: #24d394;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(42, 112, 202, .16), transparent 36%),
    linear-gradient(180deg, #081425, #050b17);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}


.glass {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(16, 39, 70, .96), rgba(9, 26, 48, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.topbar {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #8ebcff);
  color: #071327;
  font-size: 9px;
  font-weight: 900;
  transform: skewY(-8deg);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 12px;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand span {
  margin-top: 2px;
  color: #8194af;
  font-size: 8px;
  letter-spacing: 0;
}

.asset-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  min-height: 110px;
  margin-top: 12px;
  padding: 13px 14px;
}

.asset-block {
  min-width: 0;
}

.asset-profit {
  border-left: 1px solid rgba(92, 141, 225, 0.35);
  padding-left: 16px;
}

.asset-block p,
.pool-copy p,
.strategy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}



.asset-block strong {
  display: block;
  margin-top: 7px;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.asset-block strong span {
  font-size: 18px;
}

.asset-block em {
  display: block;
  margin-top: 10px;
  color: #9aaabe;
  font-style: normal;
  font-size: 12px;
}

.asset-block b {
  display: block;
  margin-top: 20px;
  color: #dbe9ff;
  font-size: 12px;
}

.asset-block b span,
.asset-profit strong,
.green,
.green-small {
  color: var(--green);
}

.asset-profit strong {
  font-size: 26px;
  font-weight: 700;
}

.asset-profit b {
  margin-top: 26px;
  color: #dbe9ff;
}

.asset-profit .green-small {
  margin-top: 7px;
  font-size: 25px;
}

.system-card {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 8px;
  margin-top: 12px;
  min-height: 88px;
  padding: 12px 14px;
  overflow: hidden;
}

h2,
h3,
p {
  margin: 0;
}

.system-card h2 {
  font-size: 18px;
  font-weight: 700;
}

.system-card h2 span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.system-card p {
  margin-top: 10px;
  color: #9aaabe;
  font-size: 13px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.metrics small {
  display: block;
  color: #7d8da6;
  font-size: 11px;
}

.metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1;
}

.system-visual {
  display: grid;
  place-items: center;
}

.system-visual svg {
  width: 118px;
  height: 79px;
}

.system-visual rect,
.system-visual .radar {
  fill: rgba(32, 100, 220, 0.14);
  stroke: #3ca2ff;
  stroke-width: 2;
}

.grid-line {
  fill: none;
  stroke: rgba(87, 221, 255, 0.16);
}

.chart-path,
.system-visual circle:not(.radar) {
  fill: none;
  stroke: #60ddff;
  stroke-width: 3;
}

.system-visual circle:not(.radar) {
  fill: #66e6ff;
}

.cursor {
  fill: rgba(80, 213, 255, 0.28);
  stroke: #6eeaff;
  stroke-width: 2;
}

.pool-card {
  margin-top: 12px;
  padding: 10px 12px;
  overflow: hidden;
}

.pool-head,
.chart-top,
.strategy header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pool-head h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  line-height: 1.1;
}

.pool-head h2 em {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(43, 134, 255, 0.42);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(20, 83, 160, 0.2);
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.round-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #35d2ff, #1e63ff);
  font-size: 15px;
}

.pool-head button,
.pool-head .detail-link {
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(70, 140, 255, 0.36);
  border-radius: 6px;
  background: rgba(10, 28, 65, 0.7);
  color: #dbe9ff;
  font-size: 11px;
  text-decoration: none;
}

.pool-main {
  display: grid;
  grid-template-columns: 1fr 150px;
  min-height: 116px;
}

.pool-copy {
  padding-top: 18px;
}

.pool-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 29px;
  line-height: 1;
  font-weight: 500;
}

.pool-copy strong span {
  font-size: 11px;
  color: #9aaabe;
}

.pool-copy small {
  display: block;
  margin-top: 12px;
  color: #9aaabe;
  font-size: 11px;
}

.pool-visual {
  position: relative;
}

.pool-globe {
  position: absolute;
  right: 4px;
  top: -6px;
  width: 128px;
  filter: drop-shadow(0 0 18px rgba(34, 128, 255, 0.8));
}

.pool-coins {
  position: absolute;
  right: -2px;
  bottom: 18px;
  width: 60px;
}

.pool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4px;
  border: 1px solid rgba(53, 125, 241, 0.25);
  border-radius: 7px;
  background: rgba(6, 21, 52, 0.58);
  overflow: hidden;
  min-width: 0;
}

.pool-stats article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 7px 8px;
}

.pool-stats article + article {
  border-left: 1px solid rgba(85, 128, 194, 0.25);
}

.pool-stats p {
  color: #8fa1b9;
  font-size: 9px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pool-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pool-stats strong span,
.pool-stats small {
  display: block;
  margin-top: 4px;
  color: #7f90aa;
  font-size: 8px;
  line-height: 1.05;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pool-stats strong span {
  display: inline;
  margin-top: 0;
  font-size: 9px;
}

.pool-stats .blue {
  color: var(--blue);
}



.notice {
  margin: 0;
  padding: 6px 12px 0;
  color: #8fa1b9;
  font-size: 10px;
  line-height: 1.2;
}

.notice::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  vertical-align: -2px;
  background: #d7e7ff;
  clip-path: polygon(0 36%, 25% 36%, 55% 12%, 55% 88%, 25% 64%, 0 64%);
}

.chart-card {
  margin-top: 12px;
  padding: 12px;
}

.chart-top h2 {
  font-size: 15px;
}

.chart-top strong {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-size: 27px;
}

.chart-top nav {
  display: flex;
  gap: 16px;
  align-self: flex-start;
  min-width: 0;
}

.chart-top button {
  min-width: 34px;
  height: 24px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #7f90a9;
  font-size: 12px;
}

.chart-top .active {
  color: var(--blue);
  background: rgba(35, 103, 237, 0.34);
}

.line-chart {
  width: 100%;
  height: 150px;
  margin-top: 6px;
}

.chart-grid {
  fill: none;
  stroke: rgba(104, 143, 202, 0.18);
}

.area {
  fill: url(#areaGlow);
}

.line {
  fill: none;
  stroke: #4d8cff;
  stroke-width: 5;
  filter: drop-shadow(0 0 7px rgba(73, 129, 255, 0.9));
}

.line-chart circle {
  fill: #8ee7ff;
  stroke: #4d8cff;
  stroke-width: 3;
}

.line-chart text {
  fill: #7d8da6;
  font-size: 14px;
}

.strategy {
  margin-top: 12px;
}

.strategy header {
  padding: 0 12px 8px;
}

.strategy h2 {
  font-size: 15px;
}

.strategy a {
  color: #71839d;
  font-size: 12px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.strategy article {
  min-width: 0;
  min-height: 88px;
  padding: 10px;
}

.strategy article > div {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
}

.strategy h3 {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy article span {
  padding: 2px 6px;
  border-radius: 4px;
  color: #75a7ff;
  background: rgba(36, 94, 220, 0.28);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy p {
  margin-top: 10px;
  color: #7f90aa;
  font-size: 10px;
  font-weight: 400;
}

.strategy strong {
  display: block;
  color: var(--green);
  font-size: 20px;
}

.strategy svg {
  width: 100%;
  height: 34px;
}

.strategy path {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
}

.strategy .purple strong,
.strategy .purple path {
  color: #8b62ff;
  stroke: #a05cff;
}

.strategy .purple span {
  color: #d7a4ff;
  background: rgba(151, 70, 255, .18);
}

.strategy .gold strong,
.strategy .gold path {
  color: #f2b84f;
  stroke: #f2b84f;
}

.strategy .gold span {
  color: #f6c96d;
  background: rgba(218, 154, 47, .18);
}

.platform {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  height: 68px;
  padding: 12px 16px;
  overflow: hidden;
}

.platform strong {
  margin-right: 10px;
  font-size: 29px;
  letter-spacing: 0;
}

.platform span {
  font-size: 15px;
}

.platform p {
  margin-top: 5px;
  color: #8396af;
  font-size: 10px;
}

.brain {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(91, 165, 255, 0.9), transparent 4px) 10px 20px / 28px 22px,
    radial-gradient(circle, rgba(91, 165, 255, 0.9), transparent 4px) 8px 7px / 24px 19px,
    conic-gradient(from 30deg, rgba(65, 177, 255, 0.8), rgba(68, 98, 255, 0.1), rgba(65, 177, 255, 0.8));
  opacity: 0.72;
  filter: blur(0.2px) drop-shadow(0 0 15px rgba(55, 132, 255, 0.7));
}

@media (max-width: 380px) {
  .app-shell {
    padding-inline: 8px;
  }

  .pool-main {
    grid-template-columns: 1fr 126px;
  }

  .pool-copy strong {
    font-size: 27px;
  }

  .pool-globe {
    width: 114px;
  }

  .pool-stats article {
    grid-template-columns: minmax(0, 1fr);
    min-height: 50px;
    padding: 6px 5px;
  }

  .stat-icon {
    width: 30px;
    height: 30px;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  .pool-stats strong {
    font-size: 13px;
  }

  .pool-stats article:nth-child(4) strong {
    font-size: 12px;
  }

  .chart-top nav {
    gap: 4px;
  }

  .chart-top button {
    min-width: 30px;
    padding: 0 5px;
  }
}
