/* Shared terminal surfaces sampled from the supplied official FOMO capture. */
html:root, html body {
  --site-bg:#070611;
  --site-panel:#131218;
  --site-line:#24232e;
  --site-muted:#a4a2af;
  --site-text:#f4f3f8;
  --site-accent:#6677ff;
  --fomo-bg:var(--site-bg);
  --fomo-panel:var(--site-panel);
  --fomo-card:var(--site-panel);
  --fomo-raised:#1d1d27;
  --fomo-line:var(--site-line);
  --fomo-muted:var(--site-muted);
  --fomo-green:#00c259;
  --fomo-red:#ff622e;
  --lb-bg:var(--site-bg);
  --lb-panel:var(--site-panel);
  --lb-line:var(--site-line);
  --lb-line-strong:#363541;
  --background:var(--site-bg);
  --box-color:var(--site-panel);
  --border-color:var(--site-line);
  --text-grey:var(--site-muted);
  --buy-color:#00c259;
  --sell-color:#ff622e;
}
body .site-header {height:60px;min-height:60px;padding:8px 16px;gap:28px;}
body .site-header nav a {font-size:13px;padding:8px 12px;}
body .site-open {font-size:12px;padding:8px 12px;}
body :is(.site-header,.home-feed-filters,.highlight-card,.about-page) {font-family:Inter,system-ui,sans-serif;}
body :is(a,button,input,select,summary):focus-visible {outline:2px solid var(--site-accent);outline-offset:3px;}
body ::selection {background:#333958;color:var(--site-text);}
body :is(.home_transactionsContainer__p8yzO,.tracked-wallet-list,.top-spots-list) {scrollbar-width:thin;scrollbar-color:#363541 transparent;}

/* Edge rails use the viewport; trading tools own the center. */
body.fomo-home-page .outer-container {box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0;}
body.fomo-home-page .home_homeContainer__FSwUB {box-sizing:border-box;max-width:none;width:100%;padding:12px 12px 48px;}
body.fomo-home-page .discovery-layout {grid-template-columns:clamp(160px,12vw,224px) minmax(0,1fr) clamp(160px,12vw,224px);gap:clamp(20px,2.4vw,48px);}
body.fomo-home-page .home_homeContainer__FSwUB > h1 {font-size:19px;line-height:1.4;letter-spacing:-.02em;text-align:left!important;margin:0 calc(clamp(160px,12vw,224px) + clamp(20px,2.4vw,48px)) 18px!important;}
body.fomo-home-page #fomo-hero-eye {width:30px;height:22px;margin-left:8px;}
body.fomo-home-page .promotion-strip {margin:0!important;background:var(--site-bg);}
body.fomo-home-page .promotion-strip .top-spots-head {padding:12px;gap:8px;}
body.fomo-home-page .promotion-strip .top-spots-row {gap:8px;padding:14px 10px;}
body.fomo-home-page .promotion-strip .top-spots-title-line {flex-wrap:wrap;gap:6px;}
body.fomo-home-page .promotion-strip .top-spots-coin small {white-space:normal;line-height:1.4;}
body.fomo-home-page .promotion-strip .top-spots-coin strong {font-size:12px;}

/* Compact evidence cards: identity, period result, context, actions. */
body .trader-highlights .highlights-cards {min-height:0;}
body .trader-highlights .highlight-card.compact-top-card {grid-template-columns:30px minmax(0,1fr) auto;gap:10px 8px;padding:12px;align-items:center;}
body .trader-highlights .compact-top-card > img {width:30px;height:30px;}
body .trader-highlights .compact-top-card .highlight-identity {padding:0;}
body .trader-highlights .compact-top-card .highlight-identity > a {font-size:13px;line-height:1.4;}
body .trader-highlights .compact-top-card .highlight-result {grid-column:3;grid-row:1;text-align:right;border:0;padding:0;}
body .trader-highlights .compact-top-card .highlight-result strong {margin:0;font-size:19px;line-height:1.2;}
body .trader-highlights .compact-top-card .highlight-result small {margin-top:3px;font-size:10px;}
body .trader-highlights .compact-top-card .highlight-stats {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--site-line);padding-top:9px;}
body .trader-highlights .compact-top-card .highlight-stats > div {display:block;min-width:0;}
body .trader-highlights .compact-top-card .highlight-stats dt {font-size:10px;white-space:nowrap;}
body .trader-highlights .compact-top-card .highlight-stats dd {font-size:12px;margin:4px 0 0;line-height:1.2;}
.compact-socials {display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.4;margin-top:3px;color:var(--site-muted);}
.compact-socials a {color:var(--site-muted);text-decoration:none;}
.compact-socials a:hover {color:var(--site-text);}
body .trader-highlights .highlight-card {
  background:rgba(29,29,39,.62);
  backdrop-filter:blur(14px) saturate(115%);
  -webkit-backdrop-filter:blur(14px) saturate(115%);
  border-color:rgba(228,228,245,.12);
  box-shadow:0 6px 18px rgba(0,0,0,.13);
}
@media(prefers-reduced-transparency:reduce){body .trader-highlights .highlight-card{background:var(--site-panel);backdrop-filter:none;-webkit-backdrop-filter:none;}}
body .trader-highlights {margin-bottom:16px;}
body .highlights-controls {gap:10px;}
body .highlights-controls h2 {font-size:15px;}
body .highlights-controls select {min-height:34px;padding:6px 10px;font-size:12px;}
body .highlights-status {margin:6px 0 12px;text-align:left;font-size:11px;}
body .highlights-cards {gap:12px;min-height:190px;}
body .trader-highlights .highlight-card {grid-template-columns:34px minmax(0,1fr);gap:6px 10px;padding:12px;border-radius:8px;align-content:start;}
body .trader-highlights .highlight-rank {position:absolute;top:12px;right:12px;left:auto;border:0;padding:0;background:none;line-height:1;font-size:11px;color:var(--site-muted);}
body .trader-highlights .highlight-card > img {width:34px;height:34px;}
body .highlight-identity {padding-right:22px;}
body .trader-highlights .highlight-identity > a {font-size:14px;}
body .highlight-card small {font-size:11px;margin-top:2px;}
body .trader-highlights .highlight-result {padding:2px 0 6px;}
body .trader-highlights .highlight-result strong {font-size:clamp(16px,1.5vw,23px);margin-top:4px;letter-spacing:-.02em;}
body .highlight-stats {gap:8px;}
body .highlight-stats > div {display:flex;justify-content:space-between;align-items:center;gap:6px;}
body .highlight-stats dd {font-size:12px;margin:0;}
body .highlight-detail {min-height:0;font-size:10px;line-height:1.4;}
body .highlight-links {padding-top:4px;gap:10px;}
body .highlight-links a {min-height:28px;font-size:11px;}
body .trader-highlights .highlight-links img {width:36px;height:16px;}
body .tracked-wallets {margin-top:10px;}
body .tracked-wallets summary {min-height:28px;font-size:12px;}
body .home-feed-filters {gap:8px;margin-bottom:10px;}
body .home-feed-filters label {gap:4px;font-size:11px;}
body .home-feed-filters :is(select,input,button) {height:34px;font-size:12px;padding:6px 10px;}
body.fomo-home-page .home_transactionsContainer__p8yzO {padding:4px 12px!important;border-radius:8px;max-height:calc(100dvh - 390px)!important;min-height:240px!important;}
body.fomo-home-page .home_transactionRow__eFO_a {font-size:13px;padding:9px 0!important;gap:6px!important;}
body.fomo-home-page .home_transactionRow__eFO_a > span:last-child {font-size:11px!important;}

/* Consistent content insets on neighboring tools. */
body.fomo-tokens-page .tokens_list__mPtnv {background:transparent;border:0;border-radius:0;overflow:visible;}
body.fomo-tokens-page .fomo-token-column-head {border:0;padding:8px 0 12px;}
body.fomo-tokens-page .fomo-token-column-head h2 {font-size:16px;}
body.fomo-tokens-page .fomo-token-card {margin-bottom:10px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-panel);padding:12px;}
body.fomo-tokens-page .fomo-token-top {text-decoration:none;color:var(--site-text);min-height:40px;}
body.fomo-tokens-page .fomo-token-name strong {font-size:15px;}
body.fomo-tokens-page .fomo-token-price small {font-size:13px;font-weight:600;}
.token-holders {margin-top:12px;max-height:360px;overflow:auto;scrollbar-width:thin;}
.token-holder-head,.token-holder-row {display:grid;grid-template-columns:minmax(80px,1fr) minmax(68px,1fr) minmax(64px,.85fr);align-items:center;gap:8px;}
.token-holder-head {font-size:9px;color:var(--site-muted);padding:0 0 6px;border-bottom:1px solid var(--site-line);}
.token-holder-head > :not(:first-child) {text-align:right;}
.token-holder-row {padding:9px 0;min-height:34px;text-decoration:none;color:var(--site-text);border-bottom:1px solid var(--site-line);}
.token-holder-row:last-child {border:0;}
.token-holder-identity {display:flex;align-items:center;gap:6px;min-width:0;}
.token-holder-identity > span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;}
.token-holder-identity img {width:24px;height:24px;flex-shrink:0;border-radius:50%;}
.token-holder-row > span:not(:first-child) {text-align:right;font-variant-numeric:tabular-nums;}
.token-holder-row strong {display:block;font-size:11px;font-weight:500;}
.token-holder-row small {display:block;font-size:10px;color:var(--site-muted);margin-top:3px;}
.token-holder-empty {font-size:11px;color:var(--site-muted);margin:8px 0 2px;}
.token-holder-row:hover {background:rgba(102,119,255,.06);}
body.fomo-data-page .fomo-page-title {font-size:24px!important;line-height:1.25;letter-spacing:-.02em;}
body.fomo-data-page .fomo-page-kicker {display:none;}
body.fomo-data-page .fomo-page-subtitle {margin:6px 0 0;font-size:12px;}
body.fomo-data-page .fomo-data-toolbar {margin-top:14px;}
body.fomo-leaderboard-page .leaderboard_leaderboardBackground__N1Z6u {max-width:none;padding:16px 20px 56px;}
body.fomo-leaderboard-page .leaderboard_leaderboardBackground__N1Z6u > .leaderboard_leaderboardContainer__JEv3z {width:100%;max-width:1440px;}
body.fomo-data-page .outer-container {box-sizing:border-box;max-width:1480px;padding:18px 20px 48px;}
body.fomo-account-page .account_accountOuter__SXdWO.trader-profile {box-sizing:border-box;padding:18px 20px 56px;max-width:1480px;}
body .about-page {padding:32px 24px 64px;}
body .about-page h1 {font-size:clamp(28px,3vw,40px);margin-bottom:16px;}
body .about-page .intro {font-size:17px;}
body .about-page section {margin-top:32px;padding-top:22px;}

@media(min-width:901px) and (max-width:1150px) {
  body.fomo-home-page .discovery-layout {grid-template-columns:144px minmax(0,1fr) 144px;gap:16px;}
  body.fomo-home-page .home_homeContainer__FSwUB > h1 {margin-left:160px!important;margin-right:160px!important;}
  body .trader-highlights .highlight-card {padding:10px;gap:8px;}
  body .trader-highlights .highlight-result strong {font-size:15px;}
  body .highlight-stats dt {font-size:10px;}
}
@media(max-width:900px) {
  body.fomo-home-page .discovery-layout {display:flex;gap:16px;}
  body.fomo-home-page .home_homeContainer__FSwUB > h1 {margin:0 0 14px!important;text-align:center!important;}
  body.fomo-home-page .promotion-left {display:none;}
  body.fomo-home-page .promotion-right {width:100%;}
}
@media(max-width:700px) {
  body .site-header {height:auto;min-height:96px;gap:8px;padding:10px 12px 0;}
  body .site-header nav a {font-size:12px;padding:8px;}
  body .site-header nav {padding-bottom:6px;}
  body.fomo-home-page .home_homeContainer__FSwUB {padding:14px 12px 48px;}
  body .highlights-controls h2 {width:auto;text-align:left;margin-right:auto;}
  body .highlights-status {font-size:10px;line-height:1.4;}
  body .highlights-cards {gap:10px;}
  body .trader-highlights .highlight-card {grid-template-columns:34px minmax(0,1fr) auto;padding:12px;}
  body .trader-highlights .highlight-rank {top:8px;right:8px;font-size:10px;}
  body .highlight-identity {padding-right:0;}
  body .trader-highlights .highlight-result {grid-column:3;grid-row:1;border:0;text-align:right;padding:8px 0 0;}
  body .trader-highlights .highlight-result strong {font-size:15px;}
  body .highlight-result small {font-size:9px;}
  body .highlight-stats {grid-column:1/-1;grid-template-columns:1fr 1fr;border-top:1px solid var(--site-line);padding-top:8px;}
  body .highlight-stats > div {display:flex;align-items:center;justify-content:space-between;gap:6px;}
  body .highlight-stats dd {margin:0;}
  body .highlight-detail {min-height:0;}
  body .highlight-links a {min-height:32px;}
  body.fomo-home-page .home_transactionsContainer__p8yzO {max-height:480px!important;min-height:220px!important;}
  body.fomo-home-page .home_transactionRow__eFO_a {flex-wrap:wrap;}
  body.fomo-home-page .home_transactionRow__eFO_a > span:nth-child(2) {white-space:normal!important;min-width:0;overflow-wrap:anywhere;}
  body.fomo-leaderboard-page .leaderboard_leaderboardBackground__N1Z6u,body.fomo-data-page .outer-container,body.fomo-account-page .account_accountOuter__SXdWO.trader-profile {padding:14px 12px 52px;}
}
