:root,
html[data-theme="dark"] {
  --fomo-bg: #060510;
  --fomo-card: #12111a;
  --fomo-raised: #161522;
  --fomo-text: #f7f7f7;
  --fomo-muted: #9899a3;
  --fomo-line: #474b52;
  --fomo-coral: #516af6;
  --fomo-green: #21c95e;
  --fomo-red: #ff622e;
  --background-color: #060510;
  --box-color: #12111a;
  --text-color: #f7f7f7;
  --text-grey: #9899a3;
  --border-color: #474b52;
  --buy-color: #21c95e;
  --sell-color: #ff622e;
}

body.fomo-data-page {
  background: var(--fomo-bg) !important;
  color: var(--fomo-text);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
}

.fomo-data-page .layoutContainer,
.fomo-data-page .mainContent { background: var(--fomo-bg) !important; }

.fomo-data-page .header_headerContainer__r0qMJ {
  background: var(--fomo-bg) !important;
  border-bottom: 1px solid var(--fomo-line);
}

.fomo-data-page .header_headerContainer__r0qMJ > a:first-child {
  color: transparent !important;
  font-size: 0 !important;
  position: relative;
  width: 84px;
}

.fomo-data-page .header_headerContainer__r0qMJ > a:first-child::after {
  background: url("images/fomo-wordmark.svg") center/contain no-repeat;
  content: "";
  display: block;
  height: 22px;
  width: 80px;
}

.fomo-data-page .header_routeContainer__TpydG a { color: var(--fomo-muted); }
.fomo-data-page .header_routeContainer__TpydG a:hover,
.fomo-data-page .header_routeContainer__TpydG a[aria-current="page"] { color: var(--fomo-text); }

.fomo-data-page .header_tokenLink__AdXco,
.fomo-leaderboard-page .header_tokenLink__AdXco {
  background: #516af6 !important;
  border-color: #516af6 !important;
  color: #fff !important;
}

.fomo-data-page .outer-container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 34px clamp(16px, 3vw, 40px) 0;
  width: 100%;
}

.fomo-page-kicker {
  color: var(--fomo-coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.fomo-page-title { font-size: clamp(25px, 3vw, 38px) !important; font-weight: 600 !important; letter-spacing: -.035em; margin: 0; }
.fomo-page-subtitle { color: var(--fomo-muted); font-size: 13px; line-height: 1.5; margin: 7px 0 0; }

.fomo-data-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.fomo-filter,
.fomo-search,
.fomo-wallet-trigger {
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 9px;
  color: var(--fomo-text);
  font: inherit;
  font-size: 12px;
  min-height: 36px;
  outline: none;
}

.fomo-filter { padding: 0 30px 0 11px; }
.fomo-search { flex: 1 1 190px; max-width: 280px; padding: 0 12px; }
.fomo-search::placeholder { color: var(--fomo-muted); }
.fomo-wallet-trigger { cursor: pointer; padding: 0 12px; }
.fomo-filter:focus-visible,
.fomo-search:focus-visible,
.fomo-wallet-trigger:focus-visible { border-color: var(--fomo-coral); box-shadow: 0 0 0 2px rgba(81, 106, 246, .2); }

.fomo-segmented {
  align-items: center;
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 9px;
  display: flex;
  padding: 3px;
}

.fomo-segmented button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--fomo-muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 10px;
}

.fomo-segmented button.is-active { background: var(--fomo-coral); color: #fff; }

.fomo-live-pill {
  align-items: center;
  color: var(--fomo-muted);
  display: inline-flex;
  font-size: 11px;
  gap: 6px;
  margin-left: auto;
}

.fomo-live-pill::before { background: var(--fomo-green); border-radius: 50%; content: ""; height: 7px; width: 7px; }

.fomo-wallet-panel {
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 10px;
  display: none;
  margin-top: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
}
.fomo-wallet-panel.is-open { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 5px; }
.fomo-wallet-option { align-items: center; border-radius: 7px; color: var(--fomo-muted); cursor: pointer; display: flex; font-size: 12px; gap: 7px; padding: 7px; }
.fomo-wallet-option:hover { background: var(--fomo-raised); color: var(--fomo-text); }
.fomo-wallet-option input { accent-color: var(--fomo-coral); }

.fomo-trades-page .trades_kolsContainer__YZCa9 {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.fomo-trader-chip {
  align-items: center;
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 10px;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 145px;
  padding: 8px 10px;
}
.fomo-trader-chip strong { display: block; font-size: 12px; font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-trader-chip span { color: var(--fomo-muted); display: block; font-size: 10px; margin-top: 2px; }

.fomo-trades-page .home_transactionsContainer__p8yzO {
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 12px;
  margin: 16px auto 64px !important;
  max-height: none !important;
  max-width: calc(1280px - clamp(32px, 6vw, 80px));
  min-height: 360px !important;
  overflow: hidden !important;
  width: calc(100% - clamp(32px, 6vw, 80px));
}

.fomo-trade-head,
.fomo-trade-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(150px, 1.2fr) minmax(150px, 1.25fr) 95px 105px 88px 70px;
}
.fomo-trade-head { border-bottom: 1px solid var(--fomo-line); color: var(--fomo-muted); font-size: 10px; letter-spacing: .08em; padding: 11px 14px; text-transform: uppercase; }
.fomo-trade-row { border-bottom: 1px solid var(--fomo-line); color: var(--fomo-text); min-height: 62px; padding: 9px 14px; text-decoration: none; transition: background-color 140ms ease; }
.fomo-trade-row:last-child { border-bottom: 0; }
.fomo-trade-row:hover { background: var(--fomo-raised); }
.fomo-trade-person,
.fomo-trade-token { align-items: center; display: flex; gap: 9px; min-width: 0; }
.fomo-trade-copy { min-width: 0; }
.fomo-trade-copy strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-trade-copy small { color: var(--fomo-muted); display: block; font-size: 10px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-trade-side { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fomo-trade-side.is-buy { color: var(--fomo-green); }
.fomo-trade-side.is-sell { color: var(--fomo-red); }
.fomo-mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; font-variant-numeric: tabular-nums; }
.fomo-trade-time { color: var(--fomo-muted); font-size: 10px; text-align: right; }
.fomo-empty { color: var(--fomo-muted); font-size: 13px; padding: 48px 20px; text-align: center; }

.fomo-tokens-page .tokens_listContainer__F11Mr { display: grid !important; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.fomo-tokens-page .tokens_list__mPtnv {
  background: var(--fomo-card);
  border: 1px solid var(--fomo-line);
  border-radius: 12px;
  display: block !important;
  min-width: 0;
  overflow: hidden;
}
.fomo-token-column-head { align-items: center; border-bottom: 1px solid var(--fomo-line); display: flex; justify-content: space-between; padding: 12px 13px; }
.fomo-token-column-head h2 { font-size: 13px; font-weight: 600; margin: 0; }
.fomo-token-column-head span { color: var(--fomo-muted); font-size: 10px; }
.fomo-token-card { border-bottom: 1px solid var(--fomo-line); display: block; padding: 12px 13px; text-decoration: none; transition: background-color 140ms ease; }
.fomo-token-card:last-child { border-bottom: 0; }
.fomo-token-card:hover { background: var(--fomo-raised); }
.fomo-token-top { align-items: center; display: flex; gap: 9px; }
.fomo-token-logo { background: var(--fomo-raised); border-radius: 50%; height: 34px; object-fit: cover; width: 34px; }
.fomo-token-name { min-width: 0; }
.fomo-token-name strong { color: var(--fomo-text); display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-token-name small { color: var(--fomo-muted); display: block; font-size: 10px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-token-price { margin-left: auto; text-align: right; }
.fomo-token-price strong { color: var(--fomo-text); display: block; font-size: 11px; }
.fomo-token-price small { display: block; font-size: 10px; margin-top: 2px; }
.fomo-token-price small.is-up { color: var(--fomo-green); }
.fomo-token-price small.is-down { color: var(--fomo-red); }
.fomo-token-stats { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-top: 11px; }
.fomo-token-stat span { color: var(--fomo-muted); display: block; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.fomo-token-stat strong { color: var(--fomo-text); display: block; font-size: 10px; font-weight: 500; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fomo-token-activity { align-items: center; color: var(--fomo-muted); display: flex; font-size: 9px; gap: 7px; margin-top: 10px; }
.fomo-token-activity .buy { color: var(--fomo-green); }
.fomo-token-activity .sell { color: var(--fomo-red); }
.tokens_mobileSelect__2GWK6 { background: var(--fomo-card) !important; border: 1px solid var(--fomo-line) !important; color: var(--fomo-text) !important; }

@media (max-width: 900px) {
  .fomo-trade-head { display: none; }
  .fomo-trade-row { grid-template-columns: minmax(130px, 1fr) minmax(125px, 1fr) 72px 65px; }
  .fomo-trade-row > :nth-child(4), .fomo-trade-row > :nth-child(5) { display: none; }
  .fomo-tokens-page .tokens_listContainer__F11Mr { grid-template-columns: 1fr; }
  .fomo-tokens-page .tokens_list__mPtnv { display: none !important; }
  .fomo-tokens-page .tokens_list__mPtnv.tokens_show__KSp6y { display: block !important; }
}

@media (max-width: 620px) {
  .fomo-data-page .outer-container { padding-top: 24px; }
  .fomo-live-pill { margin-left: 0; }
  .fomo-trades-page .home_transactionsContainer__p8yzO { width: calc(100% - 24px); }
  .fomo-trade-row { grid-template-columns: minmax(115px, 1fr) minmax(105px, 1fr) 55px; gap: 7px; padding-inline: 10px; }
  .fomo-trade-row > :nth-child(3), .fomo-trade-row > :nth-child(4), .fomo-trade-row > :nth-child(5) { display: none; }
  .fomo-trade-copy strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .fomo-trade-row, .fomo-token-card { transition: none; }
}
