:root {
  --bg-1: #040813;
  --bg-2: #060d1c;
  --bg-3: #0a1328;
  --card: rgba(8, 12, 28, 0.88);
  --card-strong: rgba(6, 10, 22, 0.96);
  --line: rgba(98, 126, 210, 0.24);
  --line-soft: rgba(98, 126, 210, 0.16);
  --text: #f2f4ff;
  --text-soft: rgba(242, 244, 255, 0.75);
  --text-muted: rgba(242, 244, 255, 0.56);
  --cyan: #6dd8ff;
  --blue: #6b8dff;
  --green: #45e3ad;
  --amber: #f6cd6a;
  --red: #ff6c92;
  --shadow: 0 22px 56px rgba(4, 3, 14, 0.62);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1300px 340px at 50% -2%, rgba(132, 96, 255, 0.3), transparent 72%),
    linear-gradient(180deg, #0d0a2b 0%, #090722 36%, #07051c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(980px 320px at 50% 3%, rgba(152, 111, 255, 0.24), transparent 74%),
    linear-gradient(180deg, rgba(116, 88, 224, 0.14), rgba(86, 66, 176, 0.05) 36%, transparent 58%);
  z-index: 0;
}

.dashboard-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1400px 520px at 50% 38%, rgba(88, 68, 176, 0.11), transparent 70%);
  z-index: -1;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
}

.brand-title {
  font-size: clamp(1.75rem, 2.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.logo-orbit {
  width: 52px;
  height: 52px;
  position: relative;
}

.logo-orbit span {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid rgba(108, 224, 255, 0.95);
  box-shadow: 0 0 10px rgba(108, 224, 255, 0.62);
}

.logo-orbit span:nth-child(1) { top: 3px; left: 6px; }
.logo-orbit span:nth-child(2) { top: 11px; right: 4px; }
.logo-orbit span:nth-child(3) { bottom: 7px; right: 11px; }
.logo-orbit span:nth-child(4) { bottom: 2px; left: 14px; }
.logo-orbit span:nth-child(5) {
  top: 19px;
  left: 19px;
  width: 13px;
  height: 13px;
  background: rgba(133, 109, 255, 0.4);
}

.scanner-loading-cell {
  padding: 1.35rem 0.72rem !important;
}

.scanner-loading-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(198, 207, 236, 0.92);
  font-weight: 600;
}

.scanner-loading-logo {
  width: 34px;
  height: 34px;
  display: inline-block;
  position: relative;
  animation: scannerSpin 1.15s linear infinite;
}

.scanner-loading-logo span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 2px solid rgba(108, 224, 255, 0.95);
  box-shadow: 0 0 10px rgba(108, 224, 255, 0.62);
}

.scanner-loading-logo span:nth-child(1) { top: 1px; left: 4px; }
.scanner-loading-logo span:nth-child(2) { top: 6px; right: 1px; }
.scanner-loading-logo span:nth-child(3) { bottom: 3px; right: 7px; }
.scanner-loading-logo span:nth-child(4) { bottom: 0; left: 10px; }
.scanner-loading-logo span:nth-child(5) {
  top: 13px;
  left: 12px;
  width: 9px;
  height: 9px;
  background: rgba(133, 109, 255, 0.4);
}

.scanner-loading-text {
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

@keyframes scannerSpin {
  to { transform: rotate(360deg); }
}

.status-pill {
  border: 1px solid var(--line);
  background: rgba(8, 13, 30, 0.84);
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.85px;
  border-radius: 12px;
  padding: 0.52rem 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.status-pill:hover {
  border-color: rgba(132, 210, 255, 0.72);
  box-shadow: 0 0 12px rgba(93, 200, 255, 0.32);
}

.status-pill-social {
  text-decoration: none;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.38rem 0.78rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13, 16, 37, 0.94), rgba(6, 10, 24, 0.9));
}

.status-pill-social i {
  font-size: 0.9rem;
  color: rgba(215, 224, 255, 0.9);
}

.status-pill-social:hover {
  color: var(--text);
  text-decoration: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.dot-green { color: var(--green); background: var(--green); }
.dot-blue { color: var(--cyan); background: var(--cyan); }
.dot-amber { color: var(--amber); background: var(--amber); }

.status-pill-maintenance {
  border-color: rgba(246, 205, 106, 0.62);
  background: linear-gradient(180deg, rgba(57, 34, 5, 0.92), rgba(33, 23, 7, 0.92));
  color: #ffe2a4;
}

.status-pill-maintenance:hover {
  border-color: rgba(250, 218, 142, 0.88);
  box-shadow: 0 0 14px rgba(246, 205, 106, 0.38);
}

.maintenance-banner {
  margin-bottom: 1rem;
  padding: 0.92rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(246, 205, 106, 0.44);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(246, 205, 106, 0.18), transparent 60%),
    linear-gradient(145deg, rgba(35, 24, 8, 0.94), rgba(17, 13, 8, 0.9));
  box-shadow: 0 14px 30px rgba(6, 4, 2, 0.42);
}

.maintenance-banner__title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #ffd48e;
}

.maintenance-banner__message {
  color: rgba(255, 236, 205, 0.95);
  font-size: 0.95rem;
}

.maintenance-banner__window {
  color: rgba(255, 216, 153, 0.84);
  font-size: 0.82rem;
}

body.maintenance-modal-open {
  overflow: hidden;
}

.maintenance-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 14, 0.74);
  backdrop-filter: blur(4px);
  z-index: 1200;
}

.maintenance-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 1210;
}

.maintenance-modal__card {
  width: min(560px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(246, 205, 106, 0.48);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(246, 205, 106, 0.18), transparent 64%),
    linear-gradient(150deg, rgba(35, 24, 8, 0.97), rgba(14, 11, 9, 0.96));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.56);
  padding: 1.2rem 1.15rem 1rem;
}

.maintenance-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(250, 213, 133, 0.48);
  padding: 0.2rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 1.1px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd48e;
  background: rgba(74, 45, 8, 0.52);
  margin-bottom: 0.72rem;
}

.maintenance-modal__title {
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.2;
  color: #ffe6b8;
  font-weight: 800;
}

.maintenance-modal__message {
  color: rgba(255, 238, 209, 0.94);
  font-size: 0.98rem;
}

.maintenance-modal__window {
  color: rgba(255, 219, 157, 0.88);
  font-size: 0.84rem;
}

.maintenance-modal__btn {
  border: 1px solid rgba(250, 213, 133, 0.55);
  background: linear-gradient(180deg, rgba(83, 53, 17, 0.92), rgba(58, 36, 10, 0.94));
  color: #ffe5b7;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  min-height: 40px;
  min-width: 130px;
  padding: 0.45rem 0.88rem;
}

.maintenance-modal__btn:hover {
  border-color: rgba(255, 224, 163, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 212, 142, 0.18), 0 8px 24px rgba(0, 0, 0, 0.32);
}

.glass-card {
  background: rgba(6, 10, 22, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(2, 4, 12, 0.46);
  backdrop-filter: blur(14px);
}

.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.widget-card {
  background: linear-gradient(160deg, rgba(10, 14, 33, 0.97), rgba(7, 10, 24, 0.95));
  border: 1px solid rgba(92, 122, 206, 0.24);
  border-radius: 14px;
  padding: 1rem 1rem 0.85rem;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  opacity: 1;
  animation: none;
}

.widget-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 85% at 50% -20%, rgba(94, 118, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.widget-card:nth-child(1) { animation-delay: 0s; }
.widget-card:nth-child(2) { animation-delay: 0s; }
.widget-card:nth-child(3) { animation-delay: 0s; }
.widget-card:nth-child(4) { animation-delay: 0s; }

.widget-card--pressure {
  border-color: rgba(129, 92, 255, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(134, 101, 255, 0.22),
    0 0 0 1px rgba(138, 103, 255, 0.16),
    0 14px 34px rgba(20, 10, 64, 0.52),
    0 0 28px rgba(101, 86, 255, 0.2);
}

.widget-card--pressure::before {
  background:
    radial-gradient(140% 90% at 50% -35%, rgba(121, 104, 255, 0.35), transparent 70%),
    radial-gradient(65% 55% at 88% 10%, rgba(68, 234, 191, 0.14), transparent 78%);
}

.widget-pressure-title {
  font-size: 1.02rem;
  letter-spacing: 1.35px;
  font-weight: 800;
  color: #84efbe;
  text-transform: uppercase;
}

.widget-pressure-title i {
  font-size: 1.2rem;
  color: #ffd16f;
}

.widget-pressure-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.widget-pressure-token-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.widget-pressure-token {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #f4f7ff;
  line-height: 1.05;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px dashed rgba(107, 120, 170, 0.28);
  padding-bottom: 0.15rem;
}

.widget-pressure-score {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.widget-pressure-value {
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 700;
  color: #67f2b2;
  text-shadow: 0 0 24px rgba(88, 255, 185, 0.2);
}

.widget-card--pressure-leader .widget-pressure-value {
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 700;
  color: #7ef0bc;
  text-shadow: 0 0 22px rgba(128, 250, 195, 0.17);
}

.widget-pressure-net {
  display: inline-flex;
  align-items: baseline;
  gap: 0.33rem;
  padding: 0.15rem 0.45rem;
  border-radius: 7px;
  background: rgba(17, 30, 47, 0.68);
  border: 1px solid rgba(95, 118, 170, 0.25);
}

.widget-pressure-net-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(198, 208, 240, 0.82);
}

.widget-pressure-net-value {
  font-size: 1.14rem;
  color: #7ff4be;
  font-weight: 700;
}

.widget-pressure-list {
  border-top: 1px solid rgba(114, 139, 205, 0.2);
  border-bottom: 1px solid rgba(114, 139, 205, 0.16);
  padding: 0.62rem 0;
  display: grid;
  gap: 0.46rem;
}

.widget-pressure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.widget-pressure-rank {
  color: rgba(214, 220, 241, 0.92);
  font-size: 1.05rem;
}

.widget-pressure-rank-net {
  color: #7df3bf;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.widget-pressure-ratio-only {
  color: #8af5c3 !important;
  font-size: 1.04rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}

.widget-pressure-signal {
  margin-top: 0.68rem;
  border: 1px solid rgba(108, 168, 199, 0.32);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(20, 47, 62, 0.64), rgba(9, 25, 38, 0.56));
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0 0.86rem;
  color: #83f2ba;
  font-size: 1.08rem;
  font-weight: 700;
}

.widget-pressure-signal i {
  font-size: 1.3rem;
}

.widget-card--pressure .widget-token-btn,
.widget-card--pressure .widget-token-link {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.widget-card--pressure .widget-token-btn:hover,
.widget-card--pressure .widget-token-link:hover {
  color: #9ef8cf;
}

.widget-card--pressure .widget-rank-link {
  color: inherit;
  text-decoration: none;
}

.widget-card--pressure .widget-rank-link:hover {
  color: #b7c8ff;
}

.widget-card--tvl-leader {
  border-color: rgba(88, 199, 186, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(105, 208, 196, 0.16),
    0 0 0 1px rgba(99, 205, 193, 0.13),
    0 14px 34px rgba(10, 36, 52, 0.44),
    0 0 24px rgba(73, 204, 188, 0.16);
}

.widget-card--tvl-leader::before {
  background:
    radial-gradient(140% 90% at 50% -35%, rgba(59, 206, 183, 0.2), transparent 72%),
    radial-gradient(65% 55% at 88% 10%, rgba(135, 244, 192, 0.12), transparent 78%);
}

.widget-card--tvl-leader .widget-pressure-title {
  color: #88f6cc;
}

.widget-card--tvl-leader .widget-pressure-title i {
  color: #88f6cc;
}

.widget-card--tvl-leader .widget-pressure-value {
  color: #90f7cc;
}

.widget-card--tvl-leader .widget-pressure-rank-net {
  color: #94f4ca;
}

.widget-card--yield {
  border-color: rgba(143, 113, 255, 0.44);
  box-shadow:
    inset 0 0 0 1px rgba(150, 119, 255, 0.17),
    0 0 0 1px rgba(145, 112, 255, 0.14),
    0 14px 34px rgba(20, 10, 64, 0.5),
    0 0 24px rgba(119, 95, 255, 0.18);
}

.widget-card--yield::before {
  background:
    radial-gradient(140% 95% at 56% -35%, rgba(132, 106, 255, 0.29), transparent 70%),
    radial-gradient(68% 58% at 90% 14%, rgba(97, 245, 201, 0.12), transparent 78%);
}

.widget-yield-title {
  font-size: 1.02rem;
  letter-spacing: 1.15px;
  font-weight: 800;
  color: #f2cf7a;
  text-transform: uppercase;
}

.widget-yield-title i {
  color: #f2cf7a;
  font-size: 1.18rem;
}

.widget-yield-main {
  margin-top: 0.28rem;
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.widget-yield-main-left {
  min-width: 0;
  flex: 1 1 auto;
}

.widget-yield-token {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.08;
  color: #f2f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-yield-main-sub {
  margin-top: 0.32rem;
  font-size: 0.92rem;
  color: rgba(196, 204, 233, 0.86);
  background: rgba(20, 26, 49, 0.52);
  border: 1px solid rgba(106, 119, 177, 0.2);
  border-radius: 7px;
  display: inline-block;
  padding: 0.13rem 0.46rem;
}

.widget-yield-score {
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 700;
  color: #7ef0bc;
  text-shadow: 0 0 22px rgba(128, 250, 195, 0.17);
}

.widget-yield-list {
  border-top: 1px solid rgba(114, 139, 205, 0.2);
  border-bottom: 1px solid rgba(114, 139, 205, 0.16);
  padding: 0.56rem 0;
  display: grid;
  gap: 0.45rem;
}

.widget-yield-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.widget-yield-row-left {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0.12rem;
}

.widget-yield-rank {
  color: rgba(225, 230, 244, 0.94);
  font-size: 1.03rem;
  line-height: 1.1;
}

.widget-yield-row-sub {
  color: rgba(178, 188, 218, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.widget-yield-rank-metric {
  color: #8af5c3;
  font-size: 1.04rem;
  font-weight: 700;
  white-space: nowrap;
}

.widget-yield-signal {
  margin-top: 0.66rem;
  border: 1px solid rgba(108, 168, 199, 0.32);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(23, 54, 70, 0.58), rgba(10, 27, 39, 0.54));
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  padding: 0 0.82rem;
  color: #9cf5c8;
  font-size: 1.06rem;
  font-weight: 700;
}

.widget-yield-signal i {
  font-size: 1.24rem;
}

.widget-card--yield .widget-token-btn,
.widget-card--yield .widget-token-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(146, 177, 255, 0.35);
}

.widget-card--yield .widget-token-btn:hover,
.widget-card--yield .widget-token-link:hover {
  color: #9ef8cf;
  border-bottom-color: rgba(146, 216, 255, 0.72);
}

.widget-card--yield .widget-rank-btn,
.widget-card--yield .widget-rank-link {
  color: inherit;
  text-decoration: none;
}

.widget-card--yield .widget-rank-btn:hover,
.widget-card--yield .widget-rank-link:hover {
  color: #b7c8ff;
}

/* Visual polish for top 3 widgets */
.widget-card--pressure,
.widget-card--yield,
.widget-card--tvl-leader {
  min-height: 300px;
  padding: 1.02rem 1.02rem 0.95rem;
  backdrop-filter: blur(16px);
}

.widget-pressure-main,
.widget-yield-main {
  margin-bottom: 0.62rem;
}

.widget-pressure-token,
.widget-yield-token {
  text-shadow: 0 0 18px rgba(180, 198, 255, 0.12);
}

.widget-pressure-value,
.widget-yield-score {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.widget-pressure-net {
  box-shadow: inset 0 0 0 1px rgba(132, 182, 255, 0.12);
}

.widget-pressure-row,
.widget-yield-row {
  padding: 0.14rem 0.28rem;
  border-radius: 8px;
  transition: background-color 0.18s ease;
}

.widget-pressure-row:hover,
.widget-yield-row:hover {
  background: rgba(84, 118, 203, 0.12);
}

.widget-pressure-signal,
.widget-yield-signal {
  position: relative;
  overflow: hidden;
}

.widget-pressure-signal::before,
.widget-yield-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(82, 162, 220, 0.08), rgba(109, 248, 193, 0.06));
  pointer-events: none;
}

.widget-card--tvl-leader .widget-pressure-value {
  color: #84f4c7;
}

.widget-card--coming-soon .widget-main {
  align-items: center;
}

.widget-card--coming-soon .widget-token {
  font-weight: 700;
}

@keyframes cardIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.widget-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.03rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.68rem;
}

.widget-head .widget-title {
  margin-bottom: 0;
}

.widget-info-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 3px;
  border: 1px solid rgba(89, 101, 152, 0.45);
  background: rgba(8, 12, 30, 0.92);
  color: rgba(201, 212, 244, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 12px rgba(2, 4, 15, 0.32);
}

.widget-info-btn:hover,
.widget-info-btn:focus-visible {
  color: #f4f6ff;
  border-color: rgba(117, 134, 198, 0.76);
  box-shadow: 0 0 0 2px rgba(102, 136, 255, 0.22);
  outline: none;
}

.widget-info-btn[data-tooltip-open="1"] {
  color: #f4f6ff;
  border-color: rgba(117, 134, 198, 0.76);
  box-shadow: 0 0 0 2px rgba(102, 136, 255, 0.22);
}

.widget-info-popover {
  position: fixed;
  z-index: 5000;
  max-width: min(420px, calc(100vw - 24px));
  border-radius: 10px;
  border: 1px solid rgba(97, 120, 190, 0.5);
  background: linear-gradient(180deg, rgba(9, 13, 34, 0.98), rgba(7, 10, 26, 0.98));
  box-shadow: 0 14px 34px rgba(2, 5, 18, 0.6);
  padding: 0.62rem 0.72rem;
  color: rgba(231, 236, 252, 0.95);
  backdrop-filter: blur(8px);
}

.widget-info-popover-line {
  font-size: 0.84rem;
  line-height: 1.35;
}

.widget-info-popover-line + .widget-info-popover-line {
  margin-top: 0.34rem;
}

.widget-title i {
  color: var(--amber);
}

.widget-card:nth-child(2) .widget-title i {
  color: #ffdf8b;
}

.widget-card:nth-child(3) .widget-title i {
  color: #75f0a6;
}

.widget-card:nth-child(4) .widget-title i {
  color: #ffd673;
}

.widget-inline-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
  margin-bottom: 0.58rem;
}

.widget-inline-field {
  display: grid;
  gap: 0.2rem;
}

.widget-inline-field span {
  font-size: 0.68rem;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  color: rgba(183, 190, 228, 0.8);
  font-weight: 600;
}

.widget-inline-input {
  width: 100%;
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(88, 116, 199, 0.38);
  background: rgba(6, 10, 24, 0.92);
  color: #ecf0ff;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.24rem 0.5rem;
  outline: none;
}

.widget-inline-input::placeholder {
  color: rgba(170, 178, 216, 0.52);
}

.widget-inline-input:focus {
  border-color: rgba(118, 206, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(118, 206, 255, 0.2);
}

.widget-inline-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(178, 212, 255, 0.9) 50%),
    linear-gradient(135deg, rgba(178, 212, 255, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.55rem;
}

.widget-main {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.widget-token {
  font-size: 1.15rem;
  font-weight: 600;
}

.widget-token-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(146, 177, 255, 0.35);
}

.widget-token-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px dashed rgba(146, 177, 255, 0.35);
}

.widget-token-link:hover {
  color: #9ed6ff;
  border-bottom-color: rgba(146, 216, 255, 0.72);
}

.widget-token-btn:hover {
  color: #9ed6ff;
  border-bottom-color: rgba(146, 216, 255, 0.72);
}

.widget-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.widget-sub {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.widget-signal {
  margin: 0.45rem 0 0.62rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 600;
}

.widget-signal.warn {
  color: var(--amber);
}

.widget-list {
  border-top: 1px solid rgba(104, 126, 196, 0.18);
  padding-top: 0.5rem;
  display: grid;
  gap: 0.18rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.widget-rank-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.widget-rank-link {
  color: inherit;
  text-decoration: none;
}

.widget-rank-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.widget-rank-link:hover {
  color: #9ed6ff;
}

.widget-rank-btn:hover {
  color: #9ed6ff;
}

.widget-rank-net {
  font-style: normal;
  color: rgba(164, 251, 213, 0.9);
}

.filter-card {
  padding: 0.9rem 1rem 1rem;
  background:
    radial-gradient(900px 220px at 50% -15%, rgba(121, 92, 234, 0.2), transparent 68%),
    linear-gradient(180deg, rgba(17, 12, 46, 0.9), rgba(11, 8, 34, 0.96));
  border-color: rgba(98, 84, 188, 0.28);
}

.filters-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.82rem;
}

.filters-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.scanner-loading-badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(210, 234, 255, 0.96);
  border: 1px solid rgba(84, 152, 231, 0.4);
  border-radius: 999px;
  background: rgba(9, 30, 65, 0.42);
  padding: 0.12rem 0.52rem;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}

.dot-spin {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid rgba(126, 222, 255, 0.35);
  border-top-color: rgba(126, 222, 255, 1);
  animation: spinDot 0.9s linear infinite;
}

@keyframes spinDot {
  to { transform: rotate(360deg); }
}

.filters-grid {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.05fr)
    minmax(170px, 1.15fr)
    minmax(130px, 0.95fr)
    minmax(170px, 1fr)
    minmax(190px, 1.25fr)
    minmax(150px, 0.9fr);
  align-items: end;
  gap: 0.65rem 0.78rem;
}

.filter-block {
  display: grid;
  gap: 0.28rem;
}

.filter-label {
  color: rgba(206, 214, 244, 0.82);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hint-icon {
  font-size: 0.68rem;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(180, 188, 255, 0.42);
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.hint-icon:hover,
.hint-icon:focus-visible,
.hint-icon[data-tooltip-open="1"] {
  color: #f4f6ff;
  border-color: rgba(117, 134, 198, 0.76);
  box-shadow: 0 0 0 2px rgba(102, 136, 255, 0.22);
  outline: none;
}

.segmented {
  display: inline-flex;
  background: rgba(10, 14, 33, 0.92);
  border: 1px solid rgba(96, 122, 214, 0.25);
  border-radius: 14px;
  overflow: hidden;
  min-height: 40px;
  width: 100%;
}

.seg-btn {
  border: 0;
  color: rgba(224, 230, 252, 0.9);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  padding: 0.48rem 0.9rem;
  transition: all 0.16s ease;
  flex: 1 1 auto;
  white-space: nowrap;
}

.seg-btn.active {
  color: #fff;
  background: linear-gradient(145deg, rgba(110, 145, 255, 0.8), rgba(95, 123, 226, 0.68));
  box-shadow: inset 0 0 12px rgba(158, 187, 255, 0.22);
}

.seg-btn:hover {
  color: #fff;
  background: rgba(83, 109, 206, 0.28);
}

.form-control {
  color: var(--text);
  background: rgba(7, 11, 27, 0.95);
  border: 1px solid rgba(95, 126, 210, 0.24);
  min-height: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
}

.form-control:focus {
  color: var(--text);
  background: rgba(8, 14, 30, 0.98);
  box-shadow: none;
  border-color: rgba(120, 200, 255, 0.72);
}

.search-wrap {
  position: relative;
  width: min(560px, 100%);
}

.search-wrap .bi-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-wrap input {
  padding-left: 2.15rem;
  padding-right: 0.8rem;
}

.filter-block-action {
  align-self: end;
}

.filter-block-action .filter-label {
  visibility: hidden;
}

.advanced-filter-btn {
  min-height: 40px;
  border: 1px solid rgba(132, 157, 243, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(111, 140, 246, 0.92), rgba(126, 159, 255, 0.86));
  color: #f3f7ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  padding: 0 1.1rem;
  width: 100%;
  transition: all 0.18s ease;
  text-transform: uppercase;
}

.advanced-filter-btn:hover {
  border-color: rgba(176, 196, 255, 0.92);
  box-shadow: 0 0 14px rgba(104, 141, 255, 0.4);
}

.advanced-filter-btn.active {
  box-shadow: inset 0 0 14px rgba(199, 182, 255, 0.24), 0 0 16px rgba(122, 114, 214, 0.34);
}

.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(3, 4, 12, 0.62);
  backdrop-filter: blur(1px);
}

.filter-drawer {
  position: fixed;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(420px, calc(100vw - 20px));
  border-radius: 12px;
  border: 1px solid rgba(139, 126, 219, 0.34);
  background:
    radial-gradient(700px 260px at 45% -20%, rgba(124, 96, 236, 0.18), transparent 66%),
    linear-gradient(180deg, rgba(28, 24, 52, 0.98), rgba(20, 18, 42, 0.98));
  box-shadow: 0 22px 52px rgba(2, 2, 8, 0.66);
  z-index: 190;
  transform: translateX(110%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.filter-drawer.open {
  transform: translateX(0);
}

.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(105, 94, 176, 0.32);
}

.filter-drawer-head h3 {
  font-size: 2rem;
  font-weight: 700;
}

.filter-drawer-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.drawer-reset-btn,
.drawer-close-btn {
  border: 0;
  background: transparent;
  color: rgba(238, 241, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
}

.drawer-reset-btn {
  color: #ff904a;
}

.drawer-close-btn:hover,
.drawer-reset-btn:hover {
  color: #ffffff;
}

.filter-drawer-body {
  overflow-y: auto;
  padding: 0.85rem 1rem 1rem;
  display: grid;
  gap: 0.84rem;
}

.drawer-range-row {
  display: grid;
  gap: 0.28rem;
}

.drawer-range-row label {
  color: rgba(232, 235, 251, 0.92);
  font-size: 1.2rem;
  font-weight: 600;
}

.drawer-range-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.46rem;
}

.drawer-range-inputs span {
  color: rgba(191, 196, 231, 0.85);
  font-size: 1.1rem;
}

.drawer-range-inputs input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(94, 126, 211, 0.26);
  background: rgba(8, 12, 27, 0.94);
  color: #e9edff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.42rem 0.72rem;
  width: 100%;
}

.drawer-range-inputs input::placeholder {
  color: rgba(171, 178, 215, 0.55);
}

.drawer-range-inputs input:focus {
  outline: none;
  border-color: rgba(250, 117, 56, 0.75);
  box-shadow: inset 0 0 0 1px rgba(250, 117, 56, 0.28);
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  background: rgba(7, 11, 24, 0.92);
  border: 1px solid rgba(95, 126, 210, 0.28);
  border-radius: 10px;
  padding: 0 0.6rem;
}

.range-wrap input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, #35b5ff, #7f67ff, #f6c866);
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(112, 190, 255, 0.7);
  background: #e3e9ff;
  box-shadow: 0 0 9px rgba(102, 188, 255, 0.7);
}

.range-wrap input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(112, 190, 255, 0.7);
  background: #e3e9ff;
}

.range-value {
  min-width: 38px;
  text-align: right;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.table-card {
  position: relative;
  padding: 0.4rem 0.9rem 0.7rem;
  background:
    radial-gradient(1200px 300px at 50% -28%, rgba(124, 96, 236, 0.14), transparent 66%),
    linear-gradient(180deg, rgba(14, 10, 38, 0.95), rgba(8, 6, 26, 0.98));
  border-color: rgba(98, 84, 188, 0.3);
}

.table-card .table-responsive {
  max-height: calc(100vh - 235px);
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}

.table-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
}

.show-more-btn {
  border: 1px solid rgba(121, 113, 203, 0.46);
  background: linear-gradient(180deg, rgba(36, 28, 83, 0.78), rgba(17, 14, 48, 0.86));
  color: #d8dcff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  padding: 0.48rem 1rem;
  transition: all 0.18s ease;
}

.show-more-btn:hover {
  border-color: rgba(153, 139, 250, 0.8);
  color: #f2f4ff;
  box-shadow: 0 0 14px rgba(122, 108, 235, 0.34);
}

.show-more-btn:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

.market-table {
  width: 100%;
  min-width: 1520px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0;
}

.market-table,
.market-table th,
.market-table td {
  border-left: 0 !important;
  border-right: 0 !important;
  outline: none;
}

.market-table thead th {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: rgba(177, 170, 214, 0.84);
  padding: 0.7rem 0.72rem;
  border-bottom: 1px solid rgba(90, 84, 160, 0.34);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(17, 12, 46, 0.98), rgba(10, 8, 30, 0.98));
}

.market-table thead th.sortable-th {
  cursor: pointer;
}

.market-table thead th.sortable-th button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.market-table thead th .hint-icon {
  width: 15px;
  height: 15px;
  font-size: 0.62rem;
  border-color: rgba(151, 156, 201, 0.42);
}

.sort-indicator {
  width: 9px;
  display: inline-block;
  color: rgba(173, 167, 214, 0.6);
}

.market-table thead th.sortable-th.active .sort-indicator {
  color: rgba(240, 242, 255, 0.95);
}

.market-table thead,
.market-table thead tr {
  position: sticky;
  top: 0;
  z-index: 19;
}

.market-table thead th:first-child {
  left: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(19, 14, 49, 0.99), rgba(12, 9, 34, 0.99));
  box-shadow: 8px 0 14px rgba(2, 2, 8, 0.28);
}

.market-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 15;
  background: linear-gradient(180deg, rgba(12, 9, 34, 0.98), rgba(8, 6, 26, 0.98));
  box-shadow: 8px 0 14px rgba(2, 2, 8, 0.24);
}

.market-table tbody td {
  padding: 0.82rem 0.72rem 0.76rem;
  font-size: 0.92rem;
  color: rgba(214, 216, 232, 0.92);
  border-bottom: 1px solid rgba(102, 108, 168, 0.24);
  background-clip: padding-box;
  white-space: nowrap;
}

.pool-parent-row {
  --parent-row-bg: #090724;
  --parent-row-hover: #0f0b30;
}

.pool-parent-row td {
  background: transparent;
}

.pool-parent-row td:first-child {
  background: linear-gradient(180deg, rgba(13, 10, 40, 0.99), rgba(9, 7, 31, 0.99));
}

.pool-parent-row:hover td {
  background: transparent;
}

.pool-parent-row:hover td:first-child {
  background: linear-gradient(180deg, rgba(17, 13, 52, 0.99), rgba(12, 9, 37, 0.99));
}

.pool-parent-row:has(.pair-toggle.expanded) td {
  box-shadow: none;
  background: linear-gradient(180deg, rgba(20, 14, 54, 0.52), rgba(13, 10, 37, 0.42));
}

.pool-parent-row:has(.pair-toggle.expanded) td:first-child {
  box-shadow:
    inset 1px 0 0 rgba(124, 108, 230, 0.45),
    8px 0 14px rgba(2, 2, 8, 0.24);
  background:
    linear-gradient(90deg, rgba(124, 108, 230, 0.16), rgba(124, 108, 230, 0.02) 42%, transparent 82%),
    linear-gradient(180deg, rgba(17, 12, 46, 0.99), rgba(12, 9, 35, 0.99));
}

.pair-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pair-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(129, 149, 219, 0.34);
  color: #d6ddff;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(29, 49, 108, 0.45), rgba(17, 28, 62, 0.4));
}

.pair-icon-fallback {
  position: relative;
  z-index: 1;
}

.pair-icon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pair-icon.loaded .pair-icon-img {
  opacity: 1;
}

.pair-text {
  color: #f1f4ff;
  font-size: 1rem;
  font-weight: 600;
}

.pair-link {
  text-decoration: none;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.pair-link:hover {
  color: #7ed4ff;
  text-shadow: 0 0 10px rgba(96, 194, 255, 0.38);
}

.pair-toggle {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(137, 127, 210, 0.42);
  background: rgba(53, 42, 102, 0.32);
  color: #d4cdff;
  display: inline-grid;
  place-items: center;
  padding: 0;
  transition: all 0.18s ease;
}

.pair-toggle:hover {
  border-color: rgba(173, 157, 255, 0.8);
  color: #f3eeff;
}

.pair-toggle i {
  font-size: 0.62rem;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}

.pair-toggle.expanded i {
  transform: rotate(90deg);
}

.pair-toggle-spacer {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.pair-children-count {
  margin-left: 0.36rem;
  color: rgba(174, 165, 224, 0.78);
  font-size: 0.74rem;
  font-weight: 600;
}

.pair-new-pool-badge {
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  height: 1.35rem;
  padding: 0 0.58rem;
  border-radius: 0.48rem;
  border: 1px solid rgba(245, 203, 118, 0.62);
  color: #f2cd84;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background:
    linear-gradient(180deg, rgba(83, 57, 12, 0.58), rgba(51, 34, 7, 0.46)),
    radial-gradient(circle at 50% 0%, rgba(255, 232, 180, 0.22), transparent 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 156, 0.28),
    0 4px 10px rgba(60, 36, 4, 0.36);
}

.pool-child-row td {
  font-size: 0.82rem;
  background: rgba(124, 92, 255, 0.2);
  border-bottom: 1px solid rgba(136, 124, 214, 0.2);
}

.pool-child-row:hover td {
  background: #7c5cff;
}

.pool-child-row td:first-child {
  background: rgba(124, 92, 255, 0.2);
  border-left: 0;
  box-shadow:
    inset 1px 0 0 rgba(123, 108, 219, 0.45),
    8px 0 14px rgba(2, 2, 8, 0.24);
}

.pool-child-row:hover td {
  background: rgba(124, 92, 255, 0.24);
}

.pool-child-row:hover td:first-child {
  background: rgba(124, 92, 255, 0.24);
}

.child-pair-cell {
  display: inline-grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: start;
  gap: 0.42rem;
  width: 100%;
  max-width: 480px;
  padding-left: 0.85rem;
  position: relative;
}

.child-pair-cell::before {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: -14px;
  bottom: -14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(165, 150, 255, 0.48), rgba(109, 92, 204, 0.14));
}

.child-branch {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid rgba(136, 124, 217, 0.36);
  background: rgba(60, 48, 127, 0.24);
  color: rgba(193, 183, 248, 0.96);
}

.child-branch i {
  font-size: 0.62rem;
}

.child-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a997ff;
  box-shadow: 0 0 9px rgba(169, 151, 255, 0.72);
}

.child-name {
  color: rgba(224, 226, 241, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.child-main {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.child-pool-id {
  padding: 0.06rem 0.42rem;
  border-radius: 7px;
  background: rgba(14, 18, 40, 0.75);
  border: 1px solid rgba(124, 151, 235, 0.35);
  color: #e7edff;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 0.72rem;
}

.child-copy {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(124, 151, 235, 0.35);
  background: rgba(18, 16, 46, 0.7);
  color: rgba(195, 205, 255, 0.9);
  transition: all 0.16s ease;
}

.child-copy i {
  font-size: 0.72rem;
}

.child-copy:hover {
  border-color: rgba(152, 186, 255, 0.7);
  color: #f4f7ff;
  box-shadow: 0 0 10px rgba(120, 170, 255, 0.3);
}

.child-copy.copied {
  border-color: rgba(105, 230, 190, 0.8);
  color: #bfffe8;
  box-shadow: 0 0 12px rgba(88, 235, 194, 0.35);
}

.child-meta,
.child-meta-badge {
  margin-top: 0;
  margin-left: 0;
  font-size: 0.72rem;
  color: rgba(182, 188, 226, 0.82);
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.12rem 0.52rem;
  border-radius: 8px;
  background: rgba(10, 12, 30, 0.55);
  border: 1px solid rgba(124, 110, 230, 0.2);
}

.child-age-badge {
  margin-left: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(197, 190, 236, 0.92);
  border: 1px solid rgba(131, 120, 205, 0.42);
  border-radius: 999px;
  background: rgba(58, 46, 118, 0.34);
  padding: 0.06rem 0.46rem;
}

.child-new-pool-badge {
  margin-left: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f2cd84;
  border: 1px solid rgba(245, 203, 118, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(83, 57, 12, 0.58), rgba(51, 34, 7, 0.46)),
    radial-gradient(circle at 50% 0%, rgba(255, 232, 180, 0.22), transparent 62%);
  padding: 0.06rem 0.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 156, 0.28),
    0 4px 10px rgba(60, 36, 4, 0.36);
}

.child-submeta {
  margin-top: 0.28rem;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.metric-good {
  color: #41e79d !important;
  font-weight: 600;
}

.metric-bad {
  color: #ff4d98 !important;
  font-weight: 600;
}

.liq-cell {
  min-width: 210px;
  display: grid;
  gap: 0.36rem;
}

.liq-cell--child {
  min-width: 168px;
  gap: 0.22rem;
}

.liq-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.36rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9px;
  border: 1px solid rgba(112, 142, 218, 0.34);
  padding: 0.18rem 0.56rem;
}

.liq-pill--child {
  font-size: 0.76rem;
  padding: 0.12rem 0.42rem;
  border-radius: 7px;
}

.liq-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.liq-pill--child::before {
  width: 6px;
  height: 6px;
}

.liq-pill.buy {
  color: #3de49d;
  background: rgba(27, 109, 84, 0.24);
  border-color: rgba(63, 206, 153, 0.34);
}

.liq-pill.sell {
  color: #ff4a9f;
  background: rgba(112, 28, 75, 0.26);
  border-color: rgba(235, 96, 165, 0.38);
}

.liq-pill.neutral {
  color: #b59fff;
  background: rgba(74, 55, 133, 0.3);
  border-color: rgba(151, 129, 226, 0.4);
}

.liq-bar {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(84, 88, 149, 0.24);
  overflow: hidden;
}

.liq-bar--child {
  max-width: 180px;
  height: 4px;
}

.liq-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.liq-bar.buy > span {
  background: linear-gradient(90deg, #41e79d, #65f2b5);
}

.liq-bar.sell > span {
  background: linear-gradient(90deg, #ff4e9f, #b54bff);
}

.liq-bar.neutral > span {
  background: linear-gradient(90deg, #ab93ff, #7e72f2);
}

.fee-value {
  color: #ecd866 !important;
  font-weight: 600;
}

.bid-value {
  color: #41e79d !important;
  font-weight: 600;
}

.ask-value {
  color: #ff4d98 !important;
  font-weight: 600;
}

.volume-value,
.tvl-value,
.fees-value,
.tvlmcap-value,
.agg-value,
.marketcap-value,
.holders-value,
.age-value,
.price-value {
  color: rgba(214, 217, 233, 0.9);
}

.fees-value {
  color: rgba(226, 228, 238, 0.95);
}

.marketcap-value,
.holders-value,
.age-value,
.price-value {
  color: rgba(198, 200, 218, 0.92);
}

.price-value {
  font-weight: 600;
}

.child-price-value {
  color: rgba(170, 172, 198, 0.7) !important;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .filters-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-shell {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .dashboard-shell > header {
    gap: 0.75rem !important;
    margin-bottom: 0.9rem !important;
  }

  .dashboard-shell > header > div:first-child {
    width: 100%;
    min-width: 0;
  }

  .dashboard-shell > header > div:last-child {
    width: 100%;
    justify-content: flex-start !important;
  }

  .filters-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.56rem;
  }

  .scanner-loading-badge {
    margin-left: 0;
  }

  .search-wrap {
    width: 100%;
  }

  .filters-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .filter-drawer {
    top: 6px;
    right: 6px;
    left: 6px;
    bottom: 6px;
    width: auto;
  }
}

@media (max-width: 720px) {
  .dashboard-shell {
    padding-left: 0.72rem !important;
    padding-right: 0.72rem !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }

  .brand-title {
    font-size: 1.8rem;
    line-height: 1.08;
  }

  .brand-subtitle {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .status-pill,
  .status-pill-social {
    font-size: 0.72rem;
    padding: 0.34rem 0.58rem;
    border-radius: 9px;
  }

  .status-pill-social i {
    font-size: 0.8rem;
  }

  .maintenance-banner {
    padding: 0.74rem 0.76rem;
    border-radius: 11px;
  }

  .maintenance-banner__title {
    font-size: 0.74rem;
    letter-spacing: 0.9px;
  }

  .maintenance-banner__message {
    font-size: 0.86rem;
  }

  .maintenance-banner__window {
    font-size: 0.75rem;
  }

  .maintenance-modal {
    padding: 0.72rem;
  }

  .maintenance-modal__card {
    padding: 0.95rem 0.84rem 0.84rem;
    border-radius: 13px;
  }

  .maintenance-modal__badge {
    font-size: 0.66rem;
    min-height: 22px;
    margin-bottom: 0.62rem;
  }

  .maintenance-modal__title {
    font-size: 1.08rem;
  }

  .maintenance-modal__message {
    font-size: 0.89rem;
  }

  .maintenance-modal__window {
    font-size: 0.77rem;
  }

  .maintenance-modal__btn {
    width: 100%;
    min-height: 42px;
  }

  .filter-card {
    padding: 0.72rem 0.72rem 0.78rem;
    border-radius: 13px;
  }

  .scanner-loading-badge {
    align-self: flex-end;
  }

  .filter-label {
    font-size: 0.68rem;
  }

  .segmented {
    min-height: 42px;
  }

  .seg-btn {
    font-size: 0.86rem;
    padding: 0.5rem 0.72rem;
  }

  .advanced-filter-btn {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .widgets-grid {
    grid-template-columns: 1fr;
  }

  .widget-card--pressure,
  .widget-card--yield,
  .widget-card--tvl-leader {
    min-height: 220px;
  }

  .widget-pressure-token {
    font-size: 1.72rem;
  }

  .widget-pressure-value {
    font-size: 2.2rem;
  }

  .widget-pressure-signal {
    min-height: 44px;
  }

  .widget-yield-token {
    font-size: 1.72rem;
  }

  .widget-yield-score {
    font-size: 2.2rem;
  }

  .widget-yield-signal {
    min-height: 44px;
  }

  .widget-inline-filters {
    grid-template-columns: 1fr;
  }

  .filters-grid {
    grid-template-columns: 1fr;
    gap: 0.58rem;
  }

  .table-card {
    padding: 0.3rem 0.45rem 0.56rem;
  }

  .table-card .table-responsive {
    max-height: min(62vh, 560px);
  }

  .market-table {
    min-width: 1180px;
  }

  .market-table thead th {
    font-size: 0.68rem;
    padding: 0.56rem 0.5rem;
  }

  .market-table tbody td {
    font-size: 0.82rem;
    padding: 0.62rem 0.5rem;
  }

  .pair-cell {
    gap: 0.35rem;
  }

  .pair-icon {
    min-width: 24px;
    height: 24px;
  }

  .pair-text {
    font-size: 0.9rem;
  }

  .pair-children-count {
    font-size: 0.66rem;
    margin-left: 0.26rem;
  }

  .pool-child-row td {
    font-size: 0.75rem;
  }

  .child-pair-cell {
    max-width: 360px;
    padding-left: 0.62rem;
    gap: 0.3rem;
  }

  .child-submeta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .liq-cell {
    min-width: 150px;
  }

  .liq-cell--child {
    min-width: 132px;
  }

  .liq-bar--child {
    max-width: 132px;
  }
}

@media (max-width: 560px) {
  .dashboard-shell {
    padding-left: 0.58rem !important;
    padding-right: 0.58rem !important;
  }

  .logo-orbit {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.55rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .search-wrap input {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .show-more-btn {
    width: 100%;
  }

  .market-table thead th:first-child,
  .market-table tbody td:first-child {
    position: static;
    left: auto;
    box-shadow: none;
    background: transparent;
  }
}
