:root {
  color-scheme: dark;
  --paper: #0d1110;
  --paper-2: #171d1a;
  --ink: #edf1ea;
  --muted: #929b95;
  --teal: #27443f;
  --bronze: #b88a4c;
  --line: #2b3430;
  --green: #65b58a;
  --red: #d27366;
}
body { background: var(--paper); }
.top-rule { background: #1d3632; }
.asset:hover, .asset.active { background: rgba(255,255,255,.055); }
.asset-view { background: #121714; }
.news-link:hover { background: rgba(255,255,255,.035); }
.empty-note { background: #121714; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.telegram-cta { box-shadow: 0 10px 30px rgba(0,200,5,.12); }

body > main { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-areas: "brand brand" "watch report" "research report"; align-items: start; padding-top: 56px; padding-bottom: 72px; }
.overview { display: contents; }
.watchlist-panel { grid-area: watch; border-top: 1px solid var(--ink); }
.report-panel { grid-area: report; min-height: 100%; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.research { grid-area: research; padding: 0; border-bottom: 1px solid var(--ink); }
.masthead { grid-template-columns: 1fr; }
.watch-row { grid-template-columns: minmax(125px, 1.2fr) .62fr .46fr .46fr .68fr .92fr .68fr; gap: 8px; }
.watch-row .market-cap, .header-row > span:nth-child(5) { text-align: right; }
.next-unlock { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; line-height: 1.15; }
.next-unlock strong { color: var(--ink); font: 600 11px/1.2 Manrope, sans-serif; }
.next-unlock small, .next-unlock em { color: var(--muted); font: 400 9px/1.25 'DM Mono', monospace; font-style: normal; }
.next-unlock.urgent strong { color: #aa4e42; }
.next-unlock.no-cliff { opacity: .7; }
.watchlist-panel { overflow: visible; }
.watchlist-panel { height: auto; min-height: 720px; }
.asset:hover, .asset.active { padding-left: 0; padding-right: 0; }
.tabs { overflow: visible; flex-wrap: wrap; }
.tab { white-space: nowrap; }
.chart-placeholder svg { display: none; }
.project-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.tab { display: inline-flex; align-items: center; gap: 7px; }
.tab img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.news-feed { margin-top: 22px; border-top: 1px solid var(--ink); }
.news-link { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 12px; min-height: 66px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.news-link > span { font: 9px 'DM Mono', monospace; color: var(--bronze); }
.news-link strong { font: 500 14px/1.4 Manrope, sans-serif; }
.news-link i { font-style: normal; color: var(--bronze); text-align: right; }
.news-link:hover { background: rgba(255,255,255,.42); }
.telegram-cta-wrap { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; }
.blurred-report { position: absolute; inset: 30px 0 0; filter: blur(6px); opacity: .48; user-select: none; pointer-events: none; }
.blurred-report::after { content: ''; position: absolute; inset: 25% -10px -20px; background: linear-gradient(180deg, rgba(244,241,232,0), var(--paper) 72%); }
.blurred-report p { margin: 0; font: 400 14px/1.65 Manrope, sans-serif; }
.blurred-report .blurred-lead { font: 500 18px/1.55 Georgia, serif; margin-bottom: 28px; }
.blurred-report section { padding: 16px 0; border-top: 1px solid var(--line); }
.blurred-report h3 { margin: 0 0 7px; color: var(--bronze); font: 500 9px/1.2 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.telegram-cta { position: relative; z-index: 3; width: min(100%, 330px); display: flex; align-items: center; justify-content: space-between; padding: 19px 20px; border: 1px solid #00c805; color: #07150a; background: #00c805; box-shadow: 0 10px 30px rgba(0,200,5,.18); text-decoration: none; font: 700 12px/1.2 Manrope, sans-serif; letter-spacing: .02em; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.telegram-cta::before { content: '✦'; color: #07150a; margin-right: 12px; }
.telegram-cta span { flex: 1; }
.telegram-cta i { color: #07150a; font-style: normal; }
.telegram-cta:hover { background: #19d423; border-color: #19d423; transform: translateY(-1px); }

@media (max-width: 950px) {
  body > main { grid-template-columns: 1fr; grid-template-areas: "brand" "watch" "research" "report"; }
  .report-panel { min-height: auto; }
  .telegram-cta-wrap { min-height: 320px; }
}

@media (max-width: 620px) {
  .watchlist-panel { height: auto; min-height: 420px; }
  .watch-row { grid-template-columns: 1fr .62fr .46fr .46fr .62fr .82fr .62fr; gap: 3px; font-size: 8px; }
  .watchlist-panel .coin strong { display: none; }
  .watchlist-panel .coin small { font-size: 8px; }
  .project-logo { width: 24px; height: 24px; }
  .next-unlock strong { font-size: 9px; }
  .next-unlock small, .next-unlock em { font-size: 7px; }
}

/* GitHub Projects-inspired interface */
:root {
  --paper: #0d1117;
  --paper-2: #21262d;
  --ink: #f0f6fc;
  --muted: #8b949e;
  --teal: #21262d;
  --bronze: #a371f7;
  --line: #30363d;
  --green: #3fb950;
  --red: #f85149;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.top-rule { display: none; }
.masthead { height: 68px; padding: 0 32px; background: #010409; border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-size: 20px; letter-spacing: 0; }
.brand svg { width: 27px; stroke: #a371f7; }
body > main { max-width: none; grid-template-columns: minmax(720px, 1.65fr) minmax(360px, .9fr); gap: 20px; padding: 24px 32px 42px; }
.panel, .research { background: #161b22; border: 1px solid var(--line) !important; border-radius: 6px; overflow: hidden; }
.panel { padding: 0; min-height: 0; }
.watchlist-panel { min-height: 0; }
.panel-heading { min-height: 58px; padding: 0 16px; background: #161b22; border-bottom: 1px solid var(--line); }
.panel-heading > div { gap: 10px; }
.panel h2 { font: 600 16px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.index { width: 20px; height: 20px; color: #a371f7; border-color: #8957e5; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.watch-row { min-height: 58px; padding: 8px 16px; gap: 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.watch-row:last-child { border-bottom: 0; }
.watch-row > * { min-height: 41px; display: flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--line); }
.watch-row > *:first-child { padding-left: 0; border-left: 0; }
.header-row { min-height: 38px; padding-top: 0; padding-bottom: 0; color: var(--muted); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.header-row > span { min-height: 38px; }
.coin { gap: 9px; }
.coin > span { align-items: flex-start; padding: 0; border: 0; }
.coin strong { color: #f0f6fc; font-weight: 600; }
.coin small { color: var(--muted); }
.coin-meta { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.asset-links { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; }
.asset-link,
.asset-links a {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 8px;
  line-height: 1;
}
.asset-links a:hover,
.asset-links a:focus-visible { border-color: currentColor; color: #111; background: rgba(255,255,255,.35); outline: none; }
.asset.active .asset-links a,
.asset:hover .asset-links a { border-color: rgba(17,17,17,.32); color: #111; }
.project-logo { width: 26px; height: 26px; background: #21262d; }
.price { justify-content: flex-end; }
.change-24, .change-30, .market-cap { justify-content: flex-end; }
.asset:hover, .asset.active { background: #1f242b; box-shadow: inset 3px 0 #a371f7; }
.next-unlock { justify-content: center; align-items: flex-start; }
.next-unlock strong { color: #f0f6fc; font-size: 11px; }
.next-unlock small, .next-unlock em { color: var(--muted); font-size: 9px; }
.next-unlock.urgent strong { color: #ff7b72; }
.report-panel { background: #161b22; }
.telegram-cta-wrap { min-height: 575px; }
.blurred-report { inset: 24px 20px 0; }
.blurred-report::after { background: linear-gradient(180deg, rgba(22,27,34,0), #161b22 76%); }
.telegram-cta { width: min(calc(100% - 40px), 330px); padding: 13px 16px; border-color: #238636; border-radius: 6px; background: #238636; color: #fff; box-shadow: none; font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.telegram-cta::before, .telegram-cta i { color: #fff; }
.telegram-cta:hover { background: #2ea043; border-color: #3fb950; transform: none; }
.research { padding: 0; }
.tabs { min-height: 52px; padding: 0 14px; gap: 8px; align-items: end; background: #161b22; border-bottom: 1px solid var(--line); }
.tab { padding: 11px 10px 12px; border-radius: 6px 6px 0 0; font-size: 12px; }
.tab:hover { background: #21262d; color: #f0f6fc; }
.tab.active { background: #21262d; color: #f0f6fc; }
.tab.active::after { height: 2px; background: #a371f7; }
.asset-view { padding: 20px; background: #0d1117; }
.asset-head h3 { font: 600 18px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.news-feed { margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.news-link { min-height: 52px; padding: 0 14px; border-color: var(--line); }
.news-link:last-child { border-bottom: 0; }
.news-link:hover { background: #161b22; }
.news-link strong { font: 500 13px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

@media (max-width: 1100px) {
  body > main { grid-template-columns: 1fr; grid-template-areas: "brand" "watch" "research" "report"; }
  .telegram-cta-wrap { min-height: 340px; }
}

@media (max-width: 720px) {
  .masthead { padding: 0 16px; }
  body > main { padding: 16px 12px 30px; }
  .watch-row { padding-left: 10px; padding-right: 10px; }
  .watch-row > * { padding-left: 5px; padding-right: 5px; }
}

/* gumterminal monochrome identity */
:root {
  --bronze: #f0f6fc;
  --green: #f0f6fc;
  --red: #9da7b1;
}
.brand { text-transform: none; }
.brand .pill-logo { width: 30px; height: 30px; fill: #ff78ad; stroke: none; }
.brand .pill-logo path { fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1.2; }
.index { color: #f0f6fc; border-color: #8b949e; }
.asset:hover, .asset.active { box-shadow: inset 3px 0 #f0f6fc; }
.tab.active::after { background: #f0f6fc; }
.positive, .negative, .next-unlock.urgent strong { color: #f0f6fc; }
.news-link > span, .news-link i { color: #f0f6fc; }
.telegram-cta { border-color: #f0f6fc; background: #f0f6fc; color: #0d1117; }
.telegram-cta::before, .telegram-cta i { color: #0d1117; }
.telegram-cta:hover { border-color: #ffffff; background: #ffffff; }

/* Single-surface mathematical terminal */
:root {
  --paper: #191919;
  --paper-2: #191919;
  --teal: #191919;
}
html, body, body > main, .panel, .research, .panel-heading, .report-panel,
.tabs, .asset-view, .news-feed, .blurred-report, .empty-note {
  background: #191919;
}
body, button, a, .panel h2, .asset-head h3, .news-link strong,
.telegram-cta, .next-unlock strong {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.panel, .research { border-radius: 0; }
.asset, .asset:hover, .asset.active {
  padding-left: 16px;
  padding-right: 16px;
  box-shadow: none;
  transform: none;
  background: var(--paper);
}
.news-link[hidden] { display: none; }
.news-link:hover { background: #242424; }
.telegram-cta {
  width: auto;
  max-width: calc(100% - 40px);
  min-height: 64px;
  padding: 18px 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: none;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
  gap: 14px;
}
.telegram-cta::before {
  content: '➤';
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #111;
  font-size: 18px;
  transform: rotate(-35deg);
}
.telegram-cta i { color: #111; }
.telegram-cta:hover { border-color: #fff; background: #f2f2f2; }
.blurred-report::after {
  background: linear-gradient(180deg, rgba(25,25,25,0), #191919 76%);
}

.terminal-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 14px;
}
.brand-identity { display: flex; align-items: center; gap: 8px; }
.terminal-brand img { width: 20px; height: 20px; }
.terminal-brand h1 {
  margin: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #f0f0f0;
  color: #f0f0f0;
  font: 500 15px/1 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: .02em;
}
.update-status {
  display: flex;
  gap: 18px;
  color: #777;
  font-size: 8px;
  letter-spacing: .06em;
  white-space: nowrap;
}
.update-status span { display: flex; gap: 6px; }
.update-status strong { color: #d8d8d8; font-weight: 500; }
@media (max-width: 620px) {
  .update-status { gap: 8px; font-size: 6px; }
  .update-status span { flex-direction: column; gap: 2px; }
}
.asset:hover { background: #242424; }
.asset.active { background: #e8e8e8; color: #111; }
.asset.active .coin strong,
.asset.active .coin small,
.asset.active .price,
.asset.active .change-24,
.asset.active .change-30,
.asset.active .market-cap,
.asset.active .next-unlock strong,
.asset.active .next-unlock small,
.asset.active .next-unlock em,
.asset.active .attention-score strong,
.asset.active .attention-score small,
.asset.active .attention-score em { color: #111; }

.attention-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
}
.attention-score strong { color: #f0f0f0; font-size: 18px; line-height: 1; }
.attention-score small, .attention-score em { color: #929292; font-size: 8px; line-height: 1.2; font-style: normal; }

body, body * {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

/* Preserve the original wordmark while the product UI uses the clearer data face. */
.terminal-brand h1 {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.watchlist-panel,
.watch-row,
.report-panel,
.telegram-cta-wrap,
.research,
.tabs,
.asset-view,
.news-feed,
.news-link {
  background-color: var(--paper);
}

.watch-row > * { background-color: transparent; }

.news-link:hover,
.tab:hover { background-color: #232323; }

.asset:hover:not(.active) {
  background-color: #ff78ad;
  color: #111;
}

.asset:hover:not(.active) .coin strong,
.asset:hover:not(.active) .coin small,
.asset:hover:not(.active) .price,
.asset:hover:not(.active) .change-24,
.asset:hover:not(.active) .change-30,
.asset:hover:not(.active) .market-cap,
.asset:hover:not(.active) .next-unlock strong,
.asset:hover:not(.active) .next-unlock small,
.asset:hover:not(.active) .next-unlock em,
.asset:hover:not(.active) .attention-score strong,
.asset:hover:not(.active) .attention-score small,
.asset:hover:not(.active) .attention-score em {
  color: #111;
}

.asset.active,
.asset.active:hover { background-color: #e8e8e8; }

.asset:not(.active) .change-24.positive,
.asset:not(.active) .change-30.positive { color: #3fb950; }
.asset:not(.active) .change-24.negative,
.asset:not(.active) .change-30.negative { color: #f85149; }

/* Editorial locked-report treatment */
.telegram-cta-wrap {
  isolation: isolate;
  min-height: 575px;
  padding: 28px;
  background: var(--paper);
}
.telegram-cta-wrap::before {
  content: '';
  position: absolute;
  inset: 22px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.018);
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 24px 60px rgba(0,0,0,.18);
  pointer-events: none;
}
.telegram-cta-wrap::after {
  content: '';
  position: absolute;
  inset: 22px;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(25,25,25,.08), rgba(25,25,25,.3) 33%, rgba(25,25,25,.48) 72%, rgba(25,25,25,.72)),
    radial-gradient(ellipse at center, rgba(25,25,25,.08) 0 18%, rgba(25,25,25,.5) 72%);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  pointer-events: none;
}
.blurred-report {
  inset: 44px 48px 36px;
  display: grid;
  align-content: start;
  padding: 30px 32px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(rgba(255,255,255,.025), rgba(255,255,255,.012)),
    repeating-linear-gradient(180deg, transparent 0 47px, rgba(255,255,255,.045) 48px);
  filter: blur(7px);
  opacity: .68;
  transform: scale(1.018);
}
.blurred-report::before {
  content: 'GUMTERMINAL / DAILY MARKET REPORT';
  display: block;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font: 600 10px/1 'IBM Plex Mono', monospace;
  letter-spacing: .12em;
}
.blurred-report::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(25,25,25,.12));
}
.blurred-report section {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-color: rgba(255,255,255,.13);
}
.blurred-report h3 { color: #fff; }
.telegram-cta {
  z-index: 4;
  width: min(calc(100% - 72px), 430px);
  max-width: none;
  min-height: 82px;
  padding: 10px 11px 10px 12px;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 2px;
  color: #f5f5f5;
  background: rgba(18,18,18,.86);
  box-shadow: 0 22px 55px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.telegram-cta::before { content: none; }
.telegram-cta-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
}
.telegram-cta-icon svg { width: 22px; height: 22px; fill: #fff; }
.telegram-cta-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.telegram-cta-copy small {
  color: #8f8f8f;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.35;
}
.telegram-cta-copy strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-transform: lowercase;
}
.telegram-cta-copy em {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.24);
  color: #bcbcbc;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.telegram-cta > i {
  flex: 0 0 32px;
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 16px;
  font-style: normal;
}
.telegram-cta:hover {
  border-color: #fff;
  background: rgba(34,34,34,.94);
  box-shadow: 0 26px 66px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.telegram-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 620px) {
  .telegram-cta-wrap { min-height: 390px; padding: 16px; }
  .telegram-cta-wrap::before, .telegram-cta-wrap::after { inset: 14px; }
  .blurred-report { inset: 28px 26px 24px; padding: 22px 20px; }
  .telegram-cta { width: calc(100% - 44px); min-height: 72px; }
  .telegram-cta-icon { flex-basis: 44px; width: 44px; height: 44px; }
  .telegram-cta-copy strong { font-size: 10px; white-space: normal; }
  .telegram-cta > i { flex-basis: 30px; width: 30px; }
}

@media (hover: hover) {
  .telegram-cta-icon,
  .telegram-cta-icon svg,
  .telegram-cta-copy strong,
  .telegram-cta-copy small,
  .telegram-cta > i {
    transition: color .22s ease, background .22s ease, border-color .22s ease, fill .22s ease, transform .22s ease;
  }

  .telegram-cta:hover {
    border-color: #ff78ad;
    background: #ff78ad;
    box-shadow: 0 30px 72px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.22);
    transform: translateY(-3px) scale(1.012);
  }

  .telegram-cta:hover .telegram-cta-icon {
    border-color: #111;
    background: transparent;
    transform: translateX(2px);
  }

  .telegram-cta:hover .telegram-cta-icon svg { fill: #111; transform: rotate(-4deg) scale(1.08); }
  .telegram-cta:hover .telegram-cta-copy strong { color: #111; }
  .telegram-cta:hover .telegram-cta-copy small { color: #555; }
  .telegram-cta:hover > i {
    border-color: rgba(0,0,0,.18);
    color: #111;
    transform: translate(2px, -2px);
  }
}
