body:has(#home:not([hidden])) {
  background: #0c0913;
}

.mast-home {
  background: #110b1cc9;
  border-color: #a487ec28;
  backdrop-filter: blur(20px) saturate(150%);
}

.mast-home .brand img {
  filter: brightness(1.6) saturate(.75);
}

.mast-home .mast-right .mast-cta {
  min-height: 38px;
  border-color: #dacbfc60;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(155deg, #fff2, #ffffff06), #19171f;
  box-shadow: inset 0 1px #fff4, 0 3px 12px #0002;
}

.mast-home .mast-right .mast-cta:hover {
  background: #3a2955;
  border-color: #dacbfcaa;
}

.home-hero {
  --hero-inset: clamp(14px, 4.2vw, 61px);
  display: block;
  padding-block: 0 clamp(25px, 5vw, 67px);
}

.hero-copy {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 71svh, 750px);
  justify-content: center;
  padding: 44px var(--hero-inset) 153px;
  border-radius: 0;
  background: transparent;
}

.hero-scene {
  position: absolute;
  z-index: -1;
  inset: 0 max(-14vw, calc((100% - 100vw) / 2)) -58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 36%, #51358b 0, #291b49 26%, transparent 61%),
    radial-gradient(ellipse at 89% 8%, #30244c, transparent 48%),
    #100c1b;
  mask-image: linear-gradient(#000, #000 68%, transparent 100%);
}

.hero-scene::before,
.hero-scene::after,
#glass-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scene::before {
  content: '';
  background:
    radial-gradient(ellipse at 73% 42%, #b699ff52, transparent 43%),
    conic-gradient(from 38deg at 76% 54%, transparent 0 11%, #a698ef35 14%, transparent 25% 49%, #f2a7ff22 56%, transparent 67%);
  transform-origin: 73% 46%;
}

.hero-scene::after {
  content: '';
  background: linear-gradient(90deg, #0e0a17a6, transparent 65%);
}

#glass-scene { display: block; }

.hero-lens {
  position: absolute;
  z-index: 1;
  width: clamp(340px, 43vw, 660px);
  right: max(3%, calc((100% - 1230px) / 2));
  top: 44%;
  transform: translate(var(--lens-x, 0px), calc(-50% + var(--lens-y, 0px))) rotate(var(--lens-tilt, 0deg));
}

.hero-lens img { display: block; width: 100%; height: auto; }

.lens-reflection {
  position: absolute;
  inset: 0;
  clip-path: ellipse(39% 38% at 49% 49%);
  mix-blend-mode: screen;
  opacity: .44;
}

.lens-reflection::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: linear-gradient(121deg, transparent 29%, #ab88f43d 43%, #faf0ff78 47%, #e2b4ff36 49%, transparent 55%);
  transform: translateX(-80%);
}

.glass-hero-type {
  position: relative;
  z-index: 1;
}

.hero-copy .hero-network {
  color: #ded1fa;
  font-size: .86rem;
  letter-spacing: .015em;
}

.hero-copy h1 {
  color: #fcf9ff;
  font-size: clamp(3.45rem, 6.45vw, 6.2rem);
  letter-spacing: -.071em;
  max-width: 6.5em;
  line-height: .96;
  margin: 20px 0 0;
}

.hero-copy h1 .hero-title-accent {
  color: #d0baff;
  white-space: normal;
  background: linear-gradient(110deg, #f8f0ff 3%, #c8adff 71%, #c7acff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy h1 .hero-title-phrase { white-space: nowrap; }

.hero-carry {
  min-height: clamp(245px, 33svh, 335px);
  margin-top: -179px;
}

.hero-dock { width: min(100%, 609px); }

.hero-dock::before {
  border-radius: 27px;
  border-color: #dfc7ff5c;
  background: linear-gradient(145deg, #402f60e8, #1b122be8 72%);
  box-shadow: inset 0 1px #fbf0ff79, 0 20px 48px #07050bb8, 0 0 56px #aa82f345;
  backdrop-filter: blur(22px) saturate(160%);
}

#home-search {
  min-height: 66px;
  padding: 6px;
  border-color: #eeebf480;
  border-radius: 21px;
  background: linear-gradient(150deg, #fff2, transparent 54%), #1f1b2acd;
  box-shadow: inset 0 1px #f4e7ff77, inset 0 -1px #f4e7ff22, 0 10px 32px #09061482;
  backdrop-filter: blur(16px) saturate(165%);
}

#home-search:focus-within,
.hero-dock[data-docked] #home-search { border-color: #ecdaffaf; }

#home-search:focus-within { outline: 2px solid #d0b4fc; }
#home-search input { font-size: 1.01rem; color: #fbf6ff; }
#home-search input::placeholder { color: #ddd0f0; }
.dock-mark { color: #dbc4ff; margin-left: 11px; }

#home-search button.primary {
  min-height: 50px;
  border-radius: 15px;
  border-color: #f8ecffbd;
  padding-inline: 19px;
  background: linear-gradient(165deg, #fff, #f0ebff 55%, #ccbfff);
  color: #24113e;
  box-shadow: inset 0 1px #fff, 0 3px 12px #140a2888;
  transition: background .24s, box-shadow .24s;
}

#home-search button.primary:hover {
  background: linear-gradient(170deg, #fff, #e0c5ff);
  box-shadow: inset 0 1px #fff, 0 3px 20px #b587ff80;
}

.hero-dock .home-quick { color: #ded0f5; }

.hero-dock .home-quick a,
.hero-dock[data-docked] .home-quick a {
  color: #f5efff;
  border-color: #d9c2ff4b;
  background: linear-gradient(160deg, #ab8cd52e, #251936a1);
  box-shadow: inset 0 1px #e3d0ff30;
}

.hero-dock .home-quick a:hover,
.hero-dock[data-docked] .home-quick a:hover {
  background: #4a3465;
  border-color: #d9c2ff92;
}

.hero-dock .matches {
  border-radius: 16px;
  border-color: #c5a5fb5c;
  background: #21162eeb;
  backdrop-filter: blur(20px);
}

.hero-discovery {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 9px;
  color: #ded2f4;
  font-size: .75rem;
  white-space: nowrap;
  border-radius: 12px;
}

.discovery-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 49px;
  border: 1px solid #e0caff4d;
  border-radius: 20px;
  background: linear-gradient(150deg, #d1b2ff29, #d1b2ff08);
  box-shadow: inset 0 1px #dfc9ff68, 0 4px 16px #05040773;
  transition: background .24s, border-color .24s;
}

.discovery-mark svg { width: 23px; height: 23px; }
.hero-discovery:hover .discovery-mark { background: #493468; border-color: #e2ceff; }

.showcase { scroll-margin-top: 88px; }
.showcase-header { margin-bottom: 20px; border-bottom-color: #b4a0dc46; }

.feature-shot {
  overflow: hidden;
  border-radius: 29px;
  border-color: color-mix(in srgb, var(--shot-accent) 35%, #1f172a);
  background:
    radial-gradient(ellipse at 85% 0, color-mix(in srgb, var(--shot-accent) 29%, transparent), transparent 66%),
    linear-gradient(139deg, #1b1426, #100c18 51%, #20162e);
  box-shadow: inset 0 1px #f6e9ff42, inset 0 -1px #f6e9ff12, 0 15px 45px #05030752;
  margin-bottom: 20px;
}

.feature-shot::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -40%;
  background: linear-gradient(118deg, transparent 39%, #e7d4ff22 49%, transparent 56%);
  pointer-events: none;
  transform: translateX(-100%);
}

.feature-visual {
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--shot-accent) 15%, transparent), transparent 85%),
    #120d1c;
  box-shadow: inset 0 1px #ead7ff3f, 0 22px 45px #08050d82;
}

.visual-head, .visual-foot {
  background: #f3e4ff0c;
  border-color: #ead7ff24;
}

.tool-mark, .feature-action, .showcase-index > a {
  border-radius: 14px;
  background: linear-gradient(150deg, #eddcff1a, #eddcff06);
  box-shadow: inset 0 1px #f6e9ff37, 0 4px 12px #0905104a;
}

.tool-mark { background: linear-gradient(145deg, color-mix(in srgb, currentColor 26%, transparent), #1d1526a6); }
.feature-action { border-radius: 999px; }
.showcase-index > a { padding: 16px; border-color: #dfc6ff46; }
.showcase-index .tool-mark { border-radius: 12px; }
.home-footer { border-top-color: #e0c5ff37; }

@media (prefers-reduced-motion: no-preference) {
  .hero-scene::before { animation: glass-caustic 16s ease-in-out alternate infinite; }
  .hero-lens .lens-float { animation: ghost-float 8s ease-in-out infinite; }
  .lens-reflection::before { animation: glass-reflect 10s .5s ease-in-out infinite; }
  .glass-hero-type { animation: glass-type-in .72s cubic-bezier(.2,.72,.25,1) both; }
  .is-visible.feature-shot::before { animation: panel-sweep 1.55s .15s cubic-bezier(.24,.6,.29,1) both; }
  .is-visible .tool-mark { animation: mark-in .57s .12s both cubic-bezier(.2,.68,.3,1); }
  .discovery-mark svg { animation: discovery-flow 2.6s ease-in-out infinite; }
}

@keyframes glass-caustic {
  from { transform: scale(.97) rotate(-5deg); opacity: .55; }
  to { transform: scale(1.12) rotate(12deg); opacity: 1; }
}
@keyframes ghost-float {
  0%, 100% { transform: translateY(6px) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes glass-reflect {
  0%, 12% { transform: translateX(-73%); }
  68%, 100% { transform: translateX(73%); }
}
@keyframes glass-type-in {
  from { opacity: .57; transform: translateY(13px); }
  to { opacity: 1; transform: none; }
}
@keyframes panel-sweep { to { transform: translateX(110%); } }
@keyframes mark-in {
  from { opacity: .5; transform: scale(.88) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes discovery-flow { 50% { transform: translateY(4px); } }

body:has(#terminal:not([hidden])) { background: #f6f6f8; }

#terminal {
  --glass-panel: #fff;
  --glass-control: #f5f5f7;
  --glass-edge: inset 0 1px #fff, 0 3px 11px #1710250b;
  --glass-rim: #e0dde7;
  position: relative;
  isolation: isolate;
  background: transparent;
}

#terminal::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: #f5f5f7;
}

#mast:not(.mast-home) {
  background: #fffffff4;
  border-color: #e4e2e9;
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 12px #17102508;
}

#mast:not(.mast-home) .brand img {
  padding: 3px;
  border-radius: 8px;
  background: #593ab0;
}

#mast:not(.mast-home) .mast-work-tools :is(a,button) {
  color: var(--ink);
  background: #f7f7f9;
  border-color: #e4e2e9;
  border-radius: 10px;
  box-shadow: inset 0 1px #fff;
}

#terminal :is(.rail,.workspace-status,.token-head,.metrics,.coin-details,.risk-hero,.intro,.matches,.rug-card,.scan-detail-drawer,.panel) {
  background: var(--glass-panel);
  border-color: var(--glass-rim);
  box-shadow: var(--glass-edge);
}

#terminal .rail { background: #ffffffeb; }

#terminal .rail-heading small { padding: 2px 7px; border-radius: 999px; background: #f5f4f7; border-color: #e5e3ea; color: var(--muted); }
#terminal .rail .trending-token .avatar { width: 32px; height: 32px; }
#terminal .rail .recent-token[aria-current] { background: #f5f2fd; border-color: #e6dff6; }

#terminal :is(.panel,.token-head,.metrics,.coin-details,.risk-hero,.rug-card,.scan-detail-drawer) { border-radius: 15px; }

#terminal :is(.token-head,.rug-card) { backdrop-filter: blur(12px); }

#terminal :is(.panel header,.chart-controls,.chart-foot,.map-foot,.graph-toolbar,.detail-tabs) {
  background: #f7f7f9;
}

#terminal :is(#search,.wallet-search,.matches,.workspace-status) {
  background: var(--glass-control);
  border-color: var(--glass-rim);
  box-shadow: var(--glass-edge);
  backdrop-filter: blur(14px);
}

#terminal :is(#search,.wallet-search) { border-radius: 13px; }
#terminal :is(#search,.wallet-search):focus-within { border-color: #8871cc; }

#terminal :is(#search,.wallet-search) button.primary {
  color: #241742;
  border-color: #ad9beb;
  border-radius: 9px;
  background: #c7b3ff;
  box-shadow: inset 0 1px #ffffffd4, 0 3px 8px #49369021;
}

#terminal :is(#search,.wallet-search) button.primary:hover {
  color: #241742;
  background: #d5c5ff;
  border-color: #9178d6;
}

#terminal #tools a:hover, #terminal #tools a[aria-current] {
  background: #eeeaf5;
  border-radius: 9px 9px 4px 4px;
  box-shadow: inset 0 1px #fff;
}

#terminal .control, #terminal button.control:not(.cell-button), #terminal .button {
  background: var(--glass-control);
  box-shadow: inset 0 1px #fff;
}

#terminal :is(.segmented,.rail-tabs) button.control:not(.cell-button):not([aria-pressed=true]) { box-shadow: none; }
#terminal .rug-readout {
  background: var(--risk-bg);
  box-shadow: inset 0 1px #fffa;
}

#terminal .graph-stage { background: #f8f7fa; }
#terminal .scan-board .chart-body { background: #fff; }
#terminal th { background: #f8f7fa; }

#terminal .workspace-status .status-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-weight: 630;
  white-space: nowrap;
}

.status-brand::before {
  content: '';
  width: 14px;
  height: 14px;
  background: center / contain no-repeat url('/ghost-labs-mark.svg?v=ghost-tools');
}

body:has(#terminal:not([hidden])) :is(#dialog,.toast) {
  background: #f7f7fa;
  border-color: #e0dde7;
  box-shadow: inset 0 1px #fff, 0 14px 48px #21163427;
  backdrop-filter: blur(18px);
}

@media (max-width: 810px) {
  .hero-copy h1 { max-width: 6.5em; font-size: clamp(3.2rem, 8.35vw, 4.4rem); }
  .hero-lens { width: clamp(330px, 53vw, 484px); right: -1%; opacity: .82; }
}

@media (max-width: 530px) {
  .hero-copy { min-height: 590px; justify-content: flex-start; padding-top: 54px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 11.5vw, 3.65rem); max-width: 7.6em; margin-top: 15px; }
  .hero-copy .hero-network { font-size: .75rem; }
  .hero-scene { background: radial-gradient(ellipse at 66% 52%, #4c3287, #27193f 42%, #110b1b 80%); mask-image: linear-gradient(#000, #000 73%, transparent); }
  .hero-scene::after { background: linear-gradient(#100a1bab, transparent 57%); }
  .hero-lens { width: min(91%, 350px); top: 57%; right: 1%; opacity: .93; }
  .hero-carry { margin-top: -133px; min-height: clamp(206px, 29svh, 244px); }
  .hero-dock::before { border-radius: 21px; }
  #home-search { min-height: 57px; border-radius: 17px; }
  #home-search input { font-size: 1rem; padding-inline: 5px; }
  #home-search button.primary { min-height: 43px; padding-inline: 11px; border-radius: 12px; font-size: .79rem; }
  .dock-mark { margin-left: 5px; }
  .feature-shot, .feature-visual { border-radius: 19px; }
  .showcase-index > a { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carry { min-height: 215px; }
  .hero-copy { padding-bottom: 193px; }
}

.tools-menu { position: relative; }
.tools-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 35px;
  padding: 5px 10px;
  border: 1px solid #d2c6ef;
  border-radius: 10px;
  background: #eee8ff;
  color: #392467;
  cursor: pointer;
  list-style: none;
  font-size: .83rem;
  font-weight: 690;
}
.tools-menu summary::-webkit-details-marker { display: none; }
.tools-menu summary:hover, .tools-menu[open] summary { border-color: #b09bdf; background: #eee7ff; }
.tools-menu summary svg { width: 18px; height: 18px; }
.tools-menu summary i {
  width: 6px;
  height: 6px;
  margin: 0 1px 3px 3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.tools-menu[open] summary i { transform: rotate(225deg); margin-bottom: -3px; }

#tools-menu-list {
  position: absolute;
  z-index: 2;
  right: 0;
  top: calc(100% + 8px);
  width: min(270px, calc(100vw - 28px));
  padding: 6px;
  border: 1px solid #ded7eb;
  border-radius: 15px;
  background: #fffffffa;
  box-shadow: 0 14px 42px #25184031;
  backdrop-filter: blur(22px);
}
#mast:not(.mast-home) #tools-menu-list a {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  font-size: .83rem;
  font-weight: 650;
}
#mast:not(.mast-home) #tools-menu-list a:is(:hover,:focus-visible,[aria-current]) {
  background: #f4effd;
  border-color: #e5daf8;
}

.scan-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  min-height: clamp(390px, 58dvh, 610px);
  margin: 0 0 12px;
  padding: clamp(22px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid #574571;
  border-radius: 24px;
  color: #fcf9ff;
  background:
    #140f1e;
  box-shadow: inset 0 1px #ead9ff64, 0 14px 32px #24123d24;
}
.scan-stage-orbit {
  position: relative;
  justify-self: center;
  width: min(100%, 345px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.scan-stage-orbit > img {
  position: relative;
  width: 25%;
  height: auto;
  padding: 6%;
  box-sizing: content-box;
  border: 1px solid #d7c2ff59;
  border-radius: 25%;
  background: #24193a;
  box-shadow: inset 0 1px #ede2ff88, 0 14px 39px #0d071eb0;
}
.scan-orbit-sweep, .scan-orbit-guide { position: absolute; width: 100%; height: 100%; inset: 0; }
.scan-orbit-sweep {
  inset: 4%;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: none;
}
.scan-orbit-guide { fill: none; stroke: #c4aafa65; }
.scan-orbit-dot { fill: #dcc9ff; stroke: #ede3ff; }
.scan-stage-body { min-width: 0; max-width: 430px; }
.scan-stage-body h2 { color: #fff; font-size: clamp(2rem, 4.34vw, 4.75rem); line-height: .93; letter-spacing: -.071em; font-weight: 665; }
.scan-stage-body p { margin-top: 9px; color: #ddcef5; font: .86rem var(--mono); overflow-wrap: anywhere; }
.scan-stage-body ul { display: grid; gap: 8px; list-style: none; padding: 0; margin: 23px 0 0; }
.scan-stage-body li {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: 23px minmax(0,1fr) auto;
  gap: 8px;
  min-height: 45px;
  padding: 6px 10px;
  border: 1px solid #d0bbf43a;
  border-radius: 10px;
  background: #f0ddff0b;
  color: #f6eeff;
  font-size: .85rem;
}
.scan-stage-body li svg { width: 22px; height: 22px; color: #bfa8f5; }
.scan-stage-body li small { color: #dac9f5; font: .67rem var(--mono); }
.scan-stage-body li[data-state=ready] small { color: #b6f0cc; }
.scan-stage-body li[data-state=missing] small { color: #ffe3b4; }
.scan-stage-body li[data-state=busy]::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: transparent;
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .scan-orbit-sweep { animation: scan-orbit-spin 3.3s linear infinite; }
  .scan-orbit-guide { animation: scan-orbit-spin 24s linear infinite reverse; }
  .scan-stage-body li[data-state=busy]::before { animation: scan-stage-sweep 1.8s ease-in-out infinite; }
  .scan-stage-body li:nth-child(2)::before { animation-delay: .13s; }
  .scan-stage-body li:nth-child(3)::before { animation-delay: .26s; }
}
@keyframes scan-orbit-spin { to { transform: rotate(1turn); } }
@keyframes scan-stage-sweep { 85%, 100% { transform: translateX(100%); } }

#terminal :is(.rug-card,.risk-hero)[data-risk] {
  --risk-bg: #553bb1;
  --risk-light: #7659ce;
  --risk-text: white;
  background: var(--risk-bg);
  color: var(--risk-text);
  border-color: color-mix(in srgb, var(--risk-light) 68%, var(--risk-bg));
  box-shadow: inset 0 1px #ffffff60, 0 8px 24px color-mix(in srgb, var(--risk-bg) 25%, transparent);
}
#terminal :is(.rug-card,.risk-hero)[data-risk=unknown] {
  --risk-bg: #e9e5f2;
  --risk-light: #f9f6ff;
  --risk-text: #392f4d;
}
#terminal :is(.rug-card,.risk-hero)[data-risk=elevated] {
  --risk-bg: #ffcb87;
  --risk-light: #ffe6b9;
  --risk-text: #492805;
}
#terminal :is(.rug-card,.risk-hero)[data-risk=high] {
  --risk-bg: #971f51;
  --risk-light: #b9406b;
}
#terminal .rug-card .rug-readout { background: transparent; box-shadow: none; padding: 14px 15px 12px; }
#terminal .rug-card .detections {
  margin: 1px 10px 10px;
  padding: 10px;
  border: 1px solid #ffffff3a;
  border-radius: 11px;
  color: var(--risk-text);
  background: #ffffff17;
  box-shadow: inset 0 1px #ffffff27;
}
#terminal .rug-card :is(.detection-head,.detection-list strong,.detection-list small,.detections .empty,.risk-link),
#terminal .risk-hero[data-risk] :is(p,strong,.warning) { color: var(--risk-text); }
#terminal .rug-card .detection-list li { border-color: color-mix(in srgb, var(--risk-text) 22%, transparent); }
#terminal .rug-card :is(.detection-head > span,.detection-list li > b) {
  color: var(--risk-text);
  background: color-mix(in srgb, var(--risk-text) 17%, transparent);
}
#terminal .rug-card .risk-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 35px;
  padding: 3px 7px;
  margin-top: 5px;
  border: 1px solid color-mix(in srgb, var(--risk-text) 34%, transparent);
  border-radius: 7px;
  text-decoration: none;
}
#terminal .rug-card .risk-link:hover { background: color-mix(in srgb, var(--risk-text) 15%, transparent); }
#terminal .rug-card .risk-link:focus-visible { outline-color: var(--risk-text); }
@media (max-width: 665px) {
  .scan-stage { grid-template-columns: 1fr; min-height: 0; gap: 14px; padding: 17px 16px 19px; }
  .scan-stage-orbit { width: min(68%,210px); }
  .scan-stage-body { width: min(100%,430px); justify-self: center; }
  .scan-stage-body ul { margin-top: 14px; gap: 6px; }
  .scan-stage-body li { min-height: 39px; }
}
@media (max-width: 530px) {
  #mast:not(.mast-home) .brand { font-size: 1rem; gap: 5px; }
  #mast:not(.mast-home) .brand img { width: 24px; height: 24px; }
  #mast .mast-work-tools { gap: 5px; }
  #mast .tools-menu summary { padding-inline: 7px; gap: 4px; min-height: 31px; font-size: .74rem; }
  #mast .tools-menu summary svg { width: 15px; height: 15px; }
  #tools-menu-list { right: auto; left: max(-100px, calc(100% - 250px)); width: min(260px, calc(100vw - 28px)); }
}

.network-logo { flex: none; width: 18px; height: 16px; object-fit: contain; }
.hero-network .network-logo { width: 21px; height: 19px; margin-right: 2px; }
.workspace-status > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.workspace-status .network-logo { width: 16px; height: 14px; }

#terminal .search-mark { flex: none; width: 18px; height: 18px; color: #68529b; }
.copy-mark { display: inline-flex; flex: none; }
.copy-mark svg, .rail-add svg { width: 14px; height: 14px; }

#terminal .avatar-brand img, .home-quick .avatar-brand img { object-fit: contain; }
#terminal .avatar-solana, #terminal .pair-icons .avatar-solana { background: #12121b; }
#terminal .avatar-solana img { width: 64%; height: 64%; inset: 18%; }
#terminal .avatar-usdc { min-width: 34px; min-height: 34px; }

#terminal .pair-icons { gap: 3px; }
#terminal .pair-icons .avatar { width: 30px; height: 30px; border-color: #e6e2ed; }
#terminal .pair-icons .avatar + .avatar { width: 32px; height: 32px; margin-left: 0; }

.venue-label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.venue-label img { flex: none; object-fit: contain; }
.chart-venue .venue-label img { width: 17px; height: 17px; }

@media (max-width: 530px) {
  #terminal .chart-pair .pair-icons .avatar { width: 23px; height: 23px; }
}
