.live-browser-panel .browser-screen.gmgn-stage,
#crawlers-view .crawler-screen.gmgn-stage { position: relative; aspect-ratio: 8 / 5; min-height: 0; overflow: hidden; background: #071320; }
.live-browser-panel #page-frame.gmgn-surface,
.gmgn-stage > .gmgn-surface { position: absolute; inset: 0; display: block; width: 100%; height: 100%; color: #ecf5ff; background: radial-gradient(ellipse at 80% 12%, #12344380, transparent 55%), linear-gradient(155deg, #0c1e2f, #07131f 80%); container-type: inline-size; overflow: hidden; }
.gmgn-surface * { box-sizing: border-box; }
.gmgn-surface-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #31526a; background: #102334b8; font: 750 11px/1.3 ui-monospace, monospace; }
.gmgn-surface-head strong { color: #f5f8ff; letter-spacing: .06em; white-space: nowrap; }
.gmgn-surface-head strong span { color: #57e6f1; font-size: .85em; }
.gmgn-source-state { color: #9cb6cb; font-size: 9px; text-align: right; }
.gmgn-surface-content { padding: 20px 22px; font-size: 10px; line-height: 1.2; }
.gmgn-token-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.gmgn-section-label { display: block; color: #668ca5; font: 700 9px/1.3 ui-monospace, monospace; letter-spacing: .11em; }
.gmgn-token-title { margin: 6px 0 4px; font: 850 clamp(16px, 3cqw, 28px)/1.08 system-ui, sans-serif; letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 65cqw; }
.gmgn-token-heading p { margin: 0; color: #89a6ba; font: 11px/1.4 system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62cqw; }
.gmgn-token-mark { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #ff854f55; border-radius: 12px; color: #ffab6d; background: #ff713411; font: 800 14px system-ui, sans-serif; box-shadow: inset 0 0 14px #ff713409; }
.gmgn-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.gmgn-metric { min-width: 0; padding: 11px 13px; border: 1px solid #244158; border-radius: 7px; background: #1025388f; }
.gmgn-metric span { display: block; color: #8aa6bc; font: 10px/1.4 system-ui, sans-serif; }
.gmgn-metric strong { display: block; margin-top: 4px; color: #e9f4ff; font: 760 clamp(11px, 2cqw, 18px)/1.1 ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; }
.gmgn-address-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 8px 0; border-bottom: 1px solid #234156; color: #7ba5bf; font: 10px/1.4 ui-monospace, monospace; }
.gmgn-address-full { min-width: 0; user-select: all; overflow-wrap: anywhere; color: #d2e7f7; }
.gmgn-copy,.gmgn-help { border: 1px solid #335e74; border-radius: 5px; padding: 5px 8px; color: #80eff8; background: #10344870; cursor: pointer; font: 700 10px/1.3 system-ui, sans-serif; }
.gmgn-copy:hover,.gmgn-help:hover { border-color: #65f2ff; background: #174256; }
.gmgn-watch { margin-top: 13px; }
.gmgn-watch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
.gmgn-watch-button { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; padding: 9px 10px; border: 1px solid #26475f; border-radius: 5px; color: #98b7c9; background: #091a27; cursor: pointer; font: 10px/1.4 system-ui, sans-serif; }
.gmgn-watch-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmgn-watch-button b { flex-shrink: 0; color: #cce6f0; font: 600 10px ui-monospace, monospace; }
.gmgn-watch-button.selected { border-color: #ff87465c; background: #f4753210; color: #ffaf70; }
.gmgn-watch-button:hover { border-color: #45d5eb; }
.gmgn-surface-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; font: 10px/1.5 ui-monospace, monospace; color: #698ca5; }
.gmgn-source-link { color: #60edfa; text-decoration: none; padding: 6px 8px; border: 1px solid #2b6074; border-radius: 5px; background: #0c304470; }
.gmgn-source-link:hover { background: #164355; }
.gmgn-source-missing { color: #718da3; }
.gmgn-preview-flag { color: #ffc087; font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .045em; }
.gmgn-empty-note,.gmgn-data-note { max-width: 580px; margin: 10px 0 0; color: #7694ab; font: 11px/1.45 system-ui, sans-serif; }
.gmgn-empty-note.expanded { color: #b9d0e1; }
.gmgn-data-note { font-size: 9px; }
.gmgn-history-empty { padding: 8px 0; font-size: 12px; }
.gmgn-state-neutral { color: #ffb07a !important; }
.gmgn-surface [hidden] { display: none !important; }
.gmgn-surface a:focus-visible,.gmgn-surface button:focus-visible { outline: 2px solid #37e6ff; outline-offset: 2px; }
#crawlers-view .gmgn-tile-status { max-width: 100px; color: #97c4d8; font: 700 8px/1.4 ui-monospace, monospace; text-align: right; }
#crawlers-view .gmgn-tile-chain { color: #7999ae; font: 700 10px ui-monospace, monospace; text-transform: uppercase; }
.gmgn-mini-surface .gmgn-surface-head { padding: 8px 10px; font-size: 9px; }
.gmgn-mini-surface .gmgn-source-state { font-size: 7px; }
.gmgn-mini-surface .gmgn-surface-content { padding: 10px 12px; }
.gmgn-mini-surface .gmgn-token-title { margin-top: 3px; font-size: 17px; }
.gmgn-mini-surface .gmgn-token-heading p { font-size: 9px; }
.gmgn-mini-surface .gmgn-token-mark { width: 27px; height: 27px; border-radius: 7px; font-size: 10px; }
.gmgn-mini-surface .gmgn-section-label { font-size: 7px; }
.gmgn-mini-surface .gmgn-metrics { margin-top: 9px; gap: 5px; }
.gmgn-mini-surface .gmgn-metric { padding: 7px 8px; }
.gmgn-mini-surface .gmgn-metric span { font-size: 8px; }
.gmgn-mini-surface .gmgn-metric strong { font-size: 11px; margin-top: 3px; }
.gmgn-mini-surface .gmgn-address-row { margin-top: 6px; padding: 5px 0; font-size: 8px; }
.gmgn-mini-surface .gmgn-copy { padding: 4px 5px; font-size: 8px; }
.gmgn-mini-surface .gmgn-surface-foot { margin-top: 8px; font-size: 7px; gap: 5px; }
.gmgn-mini-surface .gmgn-source-link { padding: 4px 5px; font-size: 8px; }
.gmgn-grid-empty { grid-column: 1 / -1; padding: 38px 28px; border: 1px dashed #31576d; border-radius: 14px; background: #10263850; color: #8eabc1; }
.gmgn-grid-empty > span { color: #53ddec; font: 700 10px ui-monospace, monospace; letter-spacing: .1em; }
.gmgn-grid-empty h2 { margin: 12px 0 8px; color: #e2eef8; font-size: 21px; }
.gmgn-grid-empty p { margin: 0; line-height: 1.5; font-size: 13px; }
@container (max-width: 600px) {
  .gmgn-surface-head { padding: 8px 12px; font-size: 9px; }
  .gmgn-source-state { font-size: 7px; }
  .gmgn-surface-content { padding: 12px 13px; }
  .gmgn-token-title { font-size: 17px; }
  .gmgn-token-heading p { font-size: 9px; }
  .gmgn-token-mark { width: 30px; height: 30px; font-size: 11px; }
  .gmgn-section-label { font-size: 7px; }
  .gmgn-metrics { margin-top: 10px; gap: 5px; }
  .gmgn-metric { padding: 7px 8px; }
  .gmgn-metric span { font-size: 8px; }
  .gmgn-metric strong { margin-top: 3px; font-size: 12px; }
  .gmgn-address-row { margin-top: 6px; padding: 5px 0; font-size: 8px; }
  .gmgn-copy,.gmgn-help { padding: 4px 6px; font-size: 8px; }
  .gmgn-watch { margin-top: 8px; }
  .gmgn-watch-list { margin-top: 4px; gap: 4px; }
  .gmgn-watch-button { padding: 5px 7px; font-size: 8px; }
  .gmgn-watch-button b { font-size: 8px; }
  .gmgn-surface-foot { margin-top: 9px; font-size: 8px; }
  .gmgn-source-link { padding: 4px 6px; font-size: 8px; }
  .gmgn-empty-note,.gmgn-data-note { margin-top: 7px; font-size: 8px; }
  .gmgn-preview-flag { font-size: 8px; }
}
@container (max-width: 410px) {
  .gmgn-surface-content,.gmgn-mini-surface .gmgn-surface-content { padding: 6px 9px; font-size: 10px; line-height: 1.2; }
  .gmgn-surface-head,.gmgn-mini-surface .gmgn-surface-head { padding: 6px 9px; font-size: 8px; }
  .gmgn-token-title,.gmgn-mini-surface .gmgn-token-title { margin: 4px 0 3px; font-size: 14px; }
  .gmgn-token-heading p,.gmgn-mini-surface .gmgn-token-heading p { font-size: 8px; }
  .gmgn-token-mark,.gmgn-mini-surface .gmgn-token-mark { width: 23px; height: 23px; font-size: 9px; }
  .gmgn-metrics,.gmgn-mini-surface .gmgn-metrics { margin-top: 6px; gap: 4px; }
  .gmgn-metric,.gmgn-mini-surface .gmgn-metric { padding: 3px 6px; }
  .gmgn-metric strong,.gmgn-mini-surface .gmgn-metric strong { font-size: 10px; }
  .gmgn-address-row,.gmgn-mini-surface .gmgn-address-row { padding: 3px 0; }
  .gmgn-copy,.gmgn-help,.gmgn-mini-surface .gmgn-copy { padding: 3px 6px; }
  .gmgn-watch { display: none; }
  .gmgn-surface-foot,.gmgn-mini-surface .gmgn-surface-foot { margin-top: 5px; }
  .gmgn-source-link,.gmgn-mini-surface .gmgn-source-link { padding: 3px 5px; }
  .gmgn-data-note { display: none; }
}
@media (max-width: 640px) {
  .live-browser-panel .browser-screen.gmgn-stage,
  #crawlers-view .crawler-screen.gmgn-stage { aspect-ratio: 6 / 5; }
  @container (max-width: 410px) {
  .gmgn-surface-content,.gmgn-mini-surface .gmgn-surface-content { padding: 10px 11px; font-size: 11px; line-height: 1.25; }
  .gmgn-surface-head,.gmgn-mini-surface .gmgn-surface-head { padding: 8px 11px; font-size: 9px; }
  .gmgn-source-state,.gmgn-mini-surface .gmgn-source-state { font-size: 8px; }
  .gmgn-token-title,.gmgn-mini-surface .gmgn-token-title { margin: 4px 0 4px; font-size: 18px; }
  .gmgn-token-heading p,.gmgn-mini-surface .gmgn-token-heading p { font-size: 10px; }
  .gmgn-token-mark,.gmgn-mini-surface .gmgn-token-mark { width: 30px; height: 30px; font-size: 11px; }
  .gmgn-section-label,.gmgn-mini-surface .gmgn-section-label { font-size: 8px; }
  .gmgn-metrics,.gmgn-mini-surface .gmgn-metrics { margin-top: 10px; gap: 6px; }
  .gmgn-metric,.gmgn-mini-surface .gmgn-metric { padding: 6px 7px; }
  .gmgn-metric span,.gmgn-mini-surface .gmgn-metric span { font-size: 11px; }
  .gmgn-metric strong,.gmgn-mini-surface .gmgn-metric strong { margin-top: 4px; font-size: 13px; }
  .gmgn-address-row,.gmgn-mini-surface .gmgn-address-row { margin-top: 8px; padding: 5px 0; font-size: 10px; }
  .gmgn-copy,.gmgn-help,.gmgn-mini-surface .gmgn-copy { padding: 5px 7px; font-size: 10px; }
  .gmgn-watch { display: none; }
  .gmgn-surface-foot,.gmgn-mini-surface .gmgn-surface-foot { margin-top: 8px; font-size: 9px; gap: 8px; }
  .gmgn-source-link,.gmgn-mini-surface .gmgn-source-link { padding: 5px 7px; font-size: 10px; }
  .gmgn-data-note { display: none; }
  }
}
@media (prefers-reduced-motion: reduce) { .gmgn-surface *, .gmgn-token-tile * { scroll-behavior: auto; } }

/* The overview is our own structured data view, using the actual sampled feed. */
.gmgn-home-content .gmgn-token-heading { align-items: flex-start; }
.gmgn-home-table { margin-top: 16px; overflow: hidden; border: 1px solid #2b4b62; border-radius: 8px; background: #0c1c2ba6; }
.gmgn-home-columns,.gmgn-home-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .65fr); align-items: center; column-gap: 18px; }
.gmgn-home-columns { padding: 8px 13px; color: #8aabc3; background: #122a3db8; font: 650 10px/1.3 system-ui, sans-serif; border-bottom: 1px solid #2b4b62; }
.gmgn-home-columns > :nth-child(n+2) { text-align: right; }
.gmgn-home-row { width: 100%; min-height: 44px; padding: 7px 13px; border: 0; border-bottom: 1px solid #233f54; color: #d4e7f7; background: transparent; text-align: left; cursor: pointer; transition: background-color .12s, box-shadow .12s; }
.gmgn-home-row:last-child { border-bottom: 0; }
.gmgn-home-row:hover,.gmgn-home-row:focus-visible { background: #183950b5; box-shadow: inset 3px 0 #ff8750; }
.gmgn-home-token { display: grid; gap: 3px; min-width: 0; }
.gmgn-home-token strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eff6ff; font: 750 13px/1.15 system-ui, sans-serif; }
.gmgn-home-token small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8faac0; font: 10px/1.2 system-ui, sans-serif; }
.gmgn-home-price { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: #90f1f5; font: 700 13px/1.2 ui-monospace, monospace; }
.gmgn-home-holders { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: #c4dbea; font: 12px/1.3 ui-monospace, monospace; }
.gmgn-home-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; color: #7195ad; font: 10px/1.4 system-ui, sans-serif; }
.gmgn-home-count-mobile { display: none; }
@container (max-width: 600px) {
  .gmgn-home-table { margin-top: 10px; }
  .gmgn-home-columns,.gmgn-home-row { column-gap: 10px; padding-left: 10px; padding-right: 10px; }
  .gmgn-home-columns { padding-top: 6px; padding-bottom: 6px; font-size: 9px; }
  .gmgn-home-row { min-height: 33px; padding-top: 4px; padding-bottom: 4px; }
  .gmgn-home-token { gap: 2px; }
  .gmgn-home-token strong { font-size: 11px; }
  .gmgn-home-token small { font-size: 8px; }
  .gmgn-home-price { font-size: 11px; }
  .gmgn-home-holders { font-size: 10px; }
  .gmgn-home-note { margin-top: 6px; font-size: 9px; }
}
@media (max-width: 640px) {
  @container (max-width: 410px) {
    .gmgn-surface-content.gmgn-home-content { padding-bottom: 4px; }
    .gmgn-home-content .gmgn-token-title { font-size: 18px; }
    .gmgn-home-table { margin-top: 8px; border-radius: 6px; }
    .gmgn-home-columns,.gmgn-home-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .55fr); column-gap: 8px; padding-left: 8px; padding-right: 8px; }
    .gmgn-home-columns { padding-top: 6px; padding-bottom: 6px; font-size: 10px; }
    .gmgn-home-row { min-height: 35px; padding-top: 5px; padding-bottom: 5px; }
    .gmgn-home-row:nth-of-type(n+4) { display: none; }
    .gmgn-home-token strong { font-size: 11px; }
    .gmgn-home-token small { font-size: 8px; }
    .gmgn-home-price { font-size: 13px; }
    .gmgn-home-holders { font-size: 11px; }
    .gmgn-home-content .gmgn-surface-foot { margin-top: 8px; }
    .gmgn-home-note { margin-top: 6px; gap: 8px; font-size: 9px; }
    .gmgn-home-count-desktop { display: none; }
    .gmgn-home-count-mobile { display: inline; }
  }
}
