:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #131313;
  --raised: #1b1b1b;
  --line: #262626;
  --muted: #929197;
  --text: #f4f4f4;
  --purple: #828282;
  --purple-hover: #999999;
  --positive: #83d5a4;
  --negative: #ec8e97;
  --sidebar: 244px;
  font-family:
    Inter,
    Geist,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #a7a7a7;
  outline-offset: 4px;
}
button {
  border: 0;
}
button svg {
  pointer-events: none;
}
svg.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
.positive {
  color: var(--positive);
}
.negative {
  color: var(--negative);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: var(--purple);
  color: #111;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #121212;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition:
    width 0.2s,
    transform 0.2s;
}
.brand-row {
  height: 75px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.65px;
}
.brand img {
  width: 33px;
  height: 33px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.icon-button:hover {
  background: #252525;
  color: var(--text);
}
.nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 11px;
  scrollbar-width: thin;
  scrollbar-color: #303030 transparent;
}
.new-chat {
  background: #202020;
  width: 100%;
  height: 39px;
  border: 1px solid #2b2b2b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 13px;
  text-align: left;
}
.new-chat .shortcut {
  margin-left: auto;
  color: #777777;
  font-size: 11px;
}
.nav-group {
  margin-top: 22px;
}
.group-label {
  color: #a1a1a1;
  background: none;
  width: 100%;
  padding: 0 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}
.group-label .icon {
  width: 13px;
  height: 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 38px;
  border-radius: 6px;
  color: #b4b4b4;
  padding: 9px 10px;
  margin-bottom: 3px;
  font-size: 13px;
  text-align: left;
  background: none;
}
.nav-link > .icon {
  width: 17px;
  height: 17px;
  color: #919191;
}
.nav-link:hover {
  background: #202020;
  color: #fff;
}
.nav-link.active {
  color: #d8d8d8;
  background: #2e2e2e;
}
.nav-link.active .icon {
  color: #a9a9a9;
}
.badge {
  font-size: 10px;
  line-height: 17px;
  border-radius: 4px;
  background: #2a2a2a;
  color: #bcbcbc;
  padding: 0 5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav-link .badge {
  margin-left: auto;
}
.nav-group[hidden] {
  display: none;
}
.nav-bottom {
  border-top: 1px solid var(--line);
  padding: 13px 13px 15px;
  background: #121212;
}
.network-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8c8c8c;
  font-size: 11px;
  margin: 0 3px 11px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--positive);
  border-radius: 50%;
  margin-right: 6px;
}
.connect-button {
  width: 100%;
}
.sidebar.collapsed {
  width: 72px;
}
.sidebar.collapsed .brand span,
.sidebar.collapsed .collapse-button,
.sidebar.collapsed .nav-link span,
.sidebar.collapsed .group-label,
.sidebar.collapsed .new-chat span,
.sidebar.collapsed .network-note,
.sidebar.collapsed .nav-bottom .button span {
  display: none;
}
.sidebar.collapsed .brand-row {
  padding: 0 18px;
}
.sidebar.collapsed .nav-link,
.sidebar.collapsed .new-chat {
  justify-content: center;
  padding: 10px;
}
.sidebar.collapsed .nav-group {
  margin-top: 18px;
}
.sidebar.collapsed ~ .workspace {
  margin-left: 72px;
}
.sidebar.collapsed .nav-bottom {
  padding: 12px 10px;
}
.sidebar.collapsed .nav-bottom .button {
  padding: 10px;
  min-width: 0;
}
.mobile-veil {
  display: none;
}
.workspace {
  margin-left: var(--sidebar);
  min-height: 100vh;
  transition: margin-left 0.2s;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid #202020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 20px;
  background: var(--bg);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #797979;
  font-size: 12px;
}
.breadcrumbs .slash {
  color: #444444;
}
.breadcrumbs strong {
  font-size: 13px;
  font-weight: 500;
  color: #e0e0e0;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.preview-label {
  color: #a3a3a3;
  background: #171717;
  border: 1px solid #2b2b2b;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.network-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #bababa;
  font-size: 12px;
}
.solana-mark {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(#939393, #83e7bd);
  color: transparent;
  background-clip: text;
  transform: skew(-15deg);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 6px;
  background: #242424;
  border: 1px solid #303030;
  color: #eeeeee;
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: #303030;
}
.button.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: #101010;
}
.button.primary:hover {
  background: var(--purple-hover);
}
.button.light {
  background: #eeeeee;
  color: #151515;
  border-color: #eeeeee;
}
.button.ghost {
  background: transparent;
  border-color: var(--line);
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.large {
  min-height: 43px;
  padding: 12px 20px;
}
.mobile-menu {
  display: none;
}
.page {
  padding: 30px 32px 70px;
  max-width: 1640px;
  margin: 0 auto;
}
.section {
  margin-top: 32px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}
.section-head-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-subtitle {
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
}
.view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #aaaaaa;
  font-size: 12px;
  padding: 6px 0;
}
.view-all:hover {
  color: #fff;
}
.view-all .icon {
  width: 14px;
  height: 14px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: #141414;
  border: 1px solid #252525;
  border-radius: 7px;
}
.tab {
  padding: 6px 11px;
  font-size: 11px;
  background: none;
  color: #8d8d8d;
  border-radius: 4px;
  white-space: nowrap;
}
.tab.active {
  background: #282828;
  color: #e7e7e7;
}
.tab:hover {
  color: white;
}
.label-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.label-line .sample-tag {
  color: #7d7d7d;
  background: none;
  font-size: 10px;
  letter-spacing: 0.1px;
  font-weight: 400;
  white-space: nowrap;
}
.sample-tag {
  color: #a4a4a4;
  font-size: 11px;
}
.empty-state {
  text-align: center;
  border: 1px dashed #323232;
  border-radius: 12px;
  padding: 58px 20px;
  color: #8d8d8d;
}
.empty-state h2 {
  color: #e5e5e5;
  margin: 16px 0 8px;
}
.empty-state p {
  max-width: 440px;
  margin: 0 auto 22px;
  font-size: 14px;
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  color: #9e9e9e;
}
.empty-state .button {
  margin-top: 4px;
}
.hero {
  border: 1px solid #282828;
  border-radius: 12px;
  min-height: 345px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  position: relative;
  overflow: hidden;
  background: #131313;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #b7b7b7;
  border: 1px solid #353535;
  background: #1d1d1d;
  padding: 5px 9px;
  border-radius: 20px;
}
.hero-kicker .pill {
  color: #0d0d0d;
  background: #a6a6a6;
  border-radius: 15px;
  padding: 1px 6px;
  font-weight: 600;
  font-size: 9px;
}
.hero-kicker .icon {
  width: 11px;
  height: 11px;
}
.hero h1 {
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.16;
  letter-spacing: -1.7px;
  font-weight: 520;
  max-width: 490px;
  margin: 22px 0 16px;
}
.hero-copy > p {
  color: #a3a3a3;
  font-size: 13px;
  line-height: 1.8;
  max-width: 410px;
}
.hero-actions {
  display: flex;
  gap: 9px;
  margin-top: auto;
  padding-top: 26px;
}
.hero-art {
  position: relative;
  min-height: 343px;
  background:
    radial-gradient(ellipse at 60% 105%, #63636384 0, transparent 64%),
    radial-gradient(ellipse at 100% 100%, #bc774b5c, transparent 60%);
  overflow: hidden;
}
.hero-art:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#a9a9a908 1px, transparent 1px), linear-gradient(90deg, #a9a9a908 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(500px) rotateX(25deg) rotateZ(-25deg) scale(1.3);
  mask-image: linear-gradient(transparent, #000);
}
.terminal-stack {
  position: absolute;
  left: 12%;
  top: 8%;
  width: 77%;
  height: 250px;
  transform: rotate(-12deg) skew(7deg);
}
.stack-card {
  position: absolute;
  border-radius: 12px;
  border: 1px solid #696969;
  box-shadow: 0 18px 35px #0005;
  overflow: hidden;
}
.stack-code {
  inset: 76px 3px -6px 0;
  background: linear-gradient(120deg, #282828, #636363);
  padding: 15px 19px;
  color: #dedede;
  font:
    10px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.code-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.code-bar i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #bbbbbb;
}
.code-line {
  opacity: 0.6;
}
.code-line.strong {
  opacity: 1;
}
.stack-brand {
  top: 17px;
  left: 22%;
  width: 63%;
  height: 125px;
  background: linear-gradient(135deg, #c3c3c3, #909090 55%, #616161);
  border-color: #cacaca;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  transform: translateY(-3px);
  box-shadow:
    0 17px 0 -5px #454545,
    0 23px 30px #0004;
}
.stack-brand img {
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 7px 5px #2c2c2c44);
  border: 1px solid #858585;
  border-radius: 16px;
}
.stack-brand span {
  font-size: 17px;
  font-weight: 700;
  color: #262626;
  letter-spacing: -0.6px;
}
.float-label {
  position: absolute;
  color: #9f9f9f;
  font-size: 10px;
  padding: 5px 10px;
  background: #161616;
  border: 1px solid #303030;
  border-radius: 5px;
}
.float-label.one {
  right: 5%;
  top: 18px;
  transform: rotate(-12deg);
}
.float-label.two {
  left: 0;
  top: 63px;
  transform: rotate(-12deg);
}
.hero-stats {
  position: absolute;
  bottom: 22px;
  left: 6%;
  right: 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 8px;
  background: #1b1b1bc2;
  border: 1px solid #68686870;
  border-radius: 8px;
  backdrop-filter: blur(15px);
}
.hero-stat {
  padding: 0 12px;
  border-right: 1px solid #76767644;
}
.hero-stat:last-child {
  border: 0;
}
.hero-stat span {
  display: block;
  color: #bababa;
  font-size: 10px;
}
.hero-stat strong {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
.platform-banner {
  margin-top: 20px;
  border: 1px solid #2a2a2a;
  background: linear-gradient(110deg, #202020, #151515 60%, #1c1c1c);
  border-radius: 9px;
  min-height: 81px;
  padding: 18px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.platform-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #292929;
  color: #b3b3b3;
  border: 1px solid #434343;
}
.platform-symbol .icon {
  width: 22px;
  height: 22px;
}
.platform-banner h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
  font-weight: 550;
}
.platform-banner p {
  color: #9f9f9f;
  font-size: 12px;
  margin-top: 4px;
}
.platform-banner .button {
  margin-left: auto;
  background: #292929;
  border-color: #4a4a4a;
  color: #d0d0d0;
  font-size: 11px;
}
.platform-banner .soon {
  color: #9a9a9a;
  font-size: 10px;
  margin-left: 7px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.project-card {
  background: #131313;
  border: 1px solid #272727;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-align: left;
  padding: 0;
  color: inherit;
}
.project-card:hover {
  border-color: #5d5d5d;
}
.project-art {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-art .project-monogram {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -5px;
  line-height: 1;
  z-index: 1;
}
.art-orbit {
  background: radial-gradient(ellipse at 50% 90%, #4f4f4f, #232323 66%, #1c1c1c);
}
.art-orbit:before,
.art-orbit:after {
  content: '';
  position: absolute;
  width: 190px;
  height: 55px;
  border: 1px solid #a9a9a977;
  border-radius: 50%;
  transform: rotate(-22deg);
}
.art-orbit:after {
  width: 260px;
  height: 78px;
  border-color: #9797972e;
}
.art-orbit .project-monogram {
  color: #cfcfcf;
}
.art-vector {
  background: linear-gradient(120deg, #112827, #163733, #1a292a);
}
.art-vector .icon {
  width: 67px;
  height: 67px;
  stroke-width: 1;
  stroke: #a9d6c3;
}
.art-vector:after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#bfe1d20c 1px, transparent 1px), linear-gradient(90deg, #bfe1d20c 1px, transparent 1px);
  background-size: 19px 19px;
}
.art-moon {
  background: radial-gradient(ellipse at 70% 130%, #766147, #302721 65%, #241f1a);
}
.art-moon .project-monogram {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  color: #dcc8ae;
}
.featured-label {
  position: absolute;
  top: 11px;
  right: 11px;
  background: #14141477;
  color: #d0d0d0;
  border: 1px solid #fff1;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
}
.project-body {
  padding: 15px 17px;
}
.project-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.project-heading h3 {
  font-size: 14px;
  letter-spacing: -0.2px;
}
.project-heading .ticker {
  color: #868686;
  font-size: 11px;
}
.project-description {
  font-size: 11px;
  color: #939393;
  line-height: 1.7;
  margin: 7px 0 15px;
  min-height: 37px;
}
.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  border-top: 1px solid #252525;
  padding-top: 12px;
}
.project-stats span {
  font-size: 9px;
  color: #7d7d7d;
  display: block;
}
.project-stats strong {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
}
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.token-card {
  border: 1px solid #282828;
  border-radius: 8px;
  background: #131313;
  overflow: hidden;
  padding: 16px;
}
.token-card:hover {
  border-color: #494949;
}
.token-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.token-name {
  min-width: 0;
}
.token-name strong {
  font-size: 12px;
  letter-spacing: -0.1px;
  font-weight: 550;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.token-name small {
  font-size: 10px;
}
.token-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 16px;
  background: var(--avatar-bg, #262626);
  color: var(--avatar-color, #aeaeae);
  border: 1px solid #ffffff12;
}
.token-head .change {
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
}
.sparkline {
  width: 100%;
  height: 35px;
  margin: 12px 0 7px;
  display: block;
}
.token-numbers {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
}
.token-numbers span {
  font-size: 10px;
  color: #848484;
}
.token-numbers strong {
  font-size: 11px;
  font-weight: 500;
}
.quick-buy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 12px;
}
.quick-buy button {
  font-size: 10px;
  padding: 5px 2px;
  background: #222222;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
}
.quick-buy button:hover {
  background: #2d2d2d;
  color: #c6c6c6;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #222222;
  margin-top: 32px;
  padding-top: 17px;
  font-size: 10px;
  color: #6f6f6f;
}
.page-footer a:hover {
  color: #ababab;
}
.floating-ask {
  position: fixed;
  bottom: 22px;
  right: 25px;
  z-index: 20;
  background: #222222;
  box-shadow: 0 8px 35px #0005;
  border: 1px solid #4f4f4f;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.floating-ask img {
  width: 22px;
  height: 22px;
}
.floating-ask kbd {
  font-size: 10px;
  color: #9f9f9f;
  margin-left: 14px;
  border: 1px solid #4a4a4a;
  padding: 1px 5px;
  border-radius: 4px;
}
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #111111;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
.data-table th {
  font-weight: 400;
  color: #8a8a8a;
  font-size: 11px;
  padding: 13px 17px;
  background: #161616;
  border-bottom: 1px solid #282828;
}
.data-table th button {
  background: none;
  color: inherit;
  font-size: inherit;
}
.data-table td {
  padding: 13px 17px;
  border-bottom: 1px solid #212121;
}
.data-table tr:last-child td {
  border: 0;
}
.data-table tbody tr:hover {
  background: #171717;
}
.data-table .token-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.data-table .rank {
  font-size: 11px;
  color: #6c6c6c;
  width: 20px;
}
.data-table .token-avatar {
  width: 31px;
  height: 31px;
  font-size: 13px;
}
.data-table .symbol {
  font-size: 10px;
  color: #838383;
  margin-top: 1px;
}
.data-table .quick-buy {
  margin: 0;
  min-width: 145px;
}
.data-table .button {
  font-size: 10px;
  min-height: 29px;
  padding: 5px 10px;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 18px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 7px;
  padding: 0 13px;
  min-width: 220px;
  max-width: 360px;
  flex: 1;
  color: #898989;
}
.search-box input {
  border: 0;
  background: none;
  outline: none;
  width: 100%;
  color: var(--text);
  padding: 11px 0;
  font-size: 12px;
}
.search-box input:focus-visible {
  outline: 0;
}
.search-box:focus-within {
  border-color: var(--purple);
}
.count-label {
  color: #868686;
  font-size: 11px;
  margin: 12px 0;
}
.filter-select {
  padding: 9px 12px;
  background: #141414;
  color: #c0c0c0;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}
.no-results {
  padding: 35px;
  text-align: center;
  color: #9b9b9b;
}
.chat-page {
  height: calc(100dvh - 75px);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.chat-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px 28px 16px;
}
.chat-welcome {
  max-width: 660px;
  margin: 8vh auto 0;
  text-align: center;
}
.chat-welcome .brand-mark {
  width: 62px;
  height: 62px;
  box-shadow: 0 0 80px #68686830;
  border-radius: 15px;
}
.chat-welcome h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 23px 0 9px;
  letter-spacing: -1px;
}
.chat-welcome > p {
  font-size: 14px;
  color: #999999;
  max-width: 430px;
  margin: auto;
}
.prompt-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}
.prompt-card {
  padding: 16px;
  background: #131313;
  border: 1px solid #282828;
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.prompt-card:hover {
  border-color: #5f5f5f;
  background: #191919;
}
.prompt-card > .icon {
  color: #a1a1a1;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.prompt-card strong {
  font-weight: 500;
  font-size: 12px;
  display: block;
}
.prompt-card span {
  font-size: 11px;
  color: #858585;
  display: block;
  margin-top: 4px;
}
.composer-area {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 15px 25px 22px;
}
.composer {
  border: 1px solid #424242;
  background: #171717;
  border-radius: 12px;
  padding: 15px 15px 11px;
  box-shadow: 0 10px 40px #0003;
}
.composer:focus-within {
  border-color: #7e7e7e;
}
.composer textarea {
  width: 100%;
  resize: none;
  background: none;
  border: 0;
  color: #f1f1f1;
  outline: none;
  font-size: 13px;
  min-height: 45px;
  max-height: 150px;
}
.composer textarea:focus-visible {
  outline: 0;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #797979;
  font-size: 10px;
}
.composer-send {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: var(--purple);
  color: #101010;
  display: grid;
  place-items: center;
}
.composer-note {
  text-align: center;
  font-size: 10px;
  color: #696969;
  margin-top: 10px;
}
.messages {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.message {
  line-height: 1.8;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.user {
  align-self: flex-end;
  background: #242424;
  padding: 11px 17px;
  border-radius: 12px 12px 2px 12px;
  max-width: 85%;
}
.message.assistant {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.message.assistant img {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.message-content {
  flex: 1;
  min-width: 0;
}
.message-content strong {
  font-weight: 550;
}
.chat-sessions {
  margin: 14px 0 0;
  padding: 14px 9px 0;
  border-top: 1px solid #242424;
}
.chat-sessions small {
  font-size: 10px;
  color: #767676;
}
.history-item {
  background: none;
  text-align: left;
  color: #939393;
  font-size: 11px;
  padding: 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 20px;
  align-items: start;
}
.trade-market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.token-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #141414;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: left;
}
.token-picker .token-name strong {
  font-size: 14px;
}
.token-picker .icon {
  width: 13px;
  color: #7d7d7d;
}
.price-large {
  font-size: 28px;
  letter-spacing: -1px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
}
.price-row span {
  font-size: 12px;
}
.chart-panel {
  border: 1px solid #262626;
  border-radius: 10px;
  background: #101010;
  padding: 21px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-panel .sparkline {
  height: 255px;
  margin: 17px 0 3px;
  border-bottom: 1px solid #262626;
}
.chart-times {
  display: flex;
  justify-content: space-between;
  color: #6a6a6a;
  font-size: 10px;
}
.chart-caption {
  font-size: 10px;
  color: #797979;
  margin-top: 13px;
}
.trade-card {
  border: 1px solid #292929;
  background: #141414;
  border-radius: 11px;
  padding: 17px;
}
.trade-card .tabs {
  margin-bottom: 17px;
}
.trade-card .tab {
  flex: 1;
}
.trade-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #858585;
  margin-bottom: 18px;
}
.trade-card-top .badge {
  font-size: 10px;
}
.amount-box {
  padding: 17px;
  background: #222222;
  border-radius: 9px;
  border: 1px solid #2d2d2d;
}
.amount-label {
  font-size: 11px;
  color: #aeaeae;
  display: flex;
  justify-content: space-between;
}
.amount-box input {
  background: none;
  border: 0;
  font-size: 30px;
  color: #e4e4e4;
  width: 100%;
  outline: none;
  margin: 9px 0;
}
.amount-box input:focus-visible {
  outline: 0;
}
.amount-token {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #848484;
  font-size: 11px;
}
.amount-token strong {
  color: #cbcbcb;
  font-weight: 500;
}
.flip-row {
  height: 18px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.flip-button {
  width: 31px;
  height: 31px;
  background: #616161;
  border: 4px solid #141414;
  border-radius: 8px;
  transform: translateY(-7px);
  display: grid;
  place-items: center;
}
.flip-button .icon {
  width: 13px;
  height: 13px;
}
.receive-amount {
  font-size: 27px;
  min-height: 54px;
  padding: 9px 0;
  color: #d2d2d2;
}
.trade-info {
  display: flex;
  justify-content: space-between;
  color: #868686;
  font-size: 10px;
  padding: 14px 0;
}
.trade-card > .button {
  width: 100%;
  margin-top: 12px;
}
.trade-note {
  font-size: 10px;
  line-height: 1.7;
  color: #828282;
  margin: 12px 2px 0;
}
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #262626;
  font-size: 12px;
}
.balance-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px 0;
}
.balance-card,
.metric-card {
  padding: 23px;
  border: 1px solid #282828;
  border-radius: 9px;
  background: #131313;
}
.balance-card small,
.metric-card small {
  font-size: 11px;
  color: #8c8c8c;
}
.balance-card strong,
.metric-card strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  margin: 8px 0;
}
.balance-card > span,
.metric-card > span {
  font-size: 11px;
  color: #7b7b7b;
}
.wallet-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid #323232;
  border-radius: 9px;
  background: #1a1a1a;
  margin-top: 22px;
}
.wallet-banner p {
  color: #969696;
  font-size: 12px;
  margin-top: 4px;
}
.info-box {
  padding: 15px 18px;
  border: 1px solid #313131;
  background: #1a1a1a;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.8;
  color: #aaaaaa;
  margin: 18px 0;
}
.settings-list {
  margin: 22px 0;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
}
.settings-item {
  padding: 20px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 18px;
}
.settings-item:last-child {
  border: 0;
}
.settings-item > .icon {
  color: #979797;
}
.settings-item p {
  font-size: 12px;
  color: #868686;
  margin-top: 4px;
}
.settings-item .button {
  margin-left: auto;
}
.docs {
  max-width: 850px;
}
.docs h2 {
  margin: 30px 0 15px;
}
.docs p {
  font-size: 14px;
  color: #a5a5a5;
  line-height: 1.9;
}
.docs code {
  background: #222222;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 12px;
  color: #bababa;
}
.docs details {
  padding: 18px 0;
  border-bottom: 1px solid #252525;
}
.docs summary {
  cursor: pointer;
  color: #cbcbcb;
}
.docs details p {
  margin-top: 12px;
}
.docs .data-table {
  white-space: normal;
}
.docs .data-table td {
  vertical-align: top;
}
dialog {
  position: fixed;
  padding: 0;
  color: var(--text);
  background: #171717;
  border: 1px solid #363636;
  border-radius: 15px;
  max-height: 88dvh;
  width: min(520px, calc(100% - 32px));
  max-width: none;
  box-shadow: 0 30px 100px #000a;
  overflow: auto;
}
dialog::backdrop {
  background: #020202aa;
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px 25px;
  border-bottom: 1px solid #292929;
}
.modal-head img {
  width: 39px;
  height: 39px;
}
.modal-head h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.modal-head p {
  font-size: 11px;
  color: #979797;
  margin-top: 2px;
}
.modal-head .icon-button {
  margin-left: auto;
}
.modal-body {
  padding: 22px 25px;
}
.modal-body > p {
  color: #a3a3a3;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.modal-body .button.full {
  width: 100%;
  margin-top: 12px;
}
.form-field {
  display: block;
  margin-bottom: 19px;
  font-size: 12px;
  color: #d0d0d0;
}
.form-field > span {
  display: block;
  margin-bottom: 7px;
}
.form-field > small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: #848484;
}
.input,
textarea.input {
  width: 100%;
  background: #111111;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  color: #d6d6d6;
  padding: 11px 12px;
  outline: none;
  font-size: 12px;
}
.input:focus {
  border-color: #878787;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-options {
  display: flex;
  gap: 7px;
}
.field-options label {
  flex: 1;
  cursor: pointer;
}
.field-options input {
  position: absolute;
  opacity: 0;
}
.field-options span {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #323232;
  border-radius: 6px;
  background: #1c1c1c;
  color: #949494;
  font-size: 11px;
}
.field-options input:checked + span {
  border-color: #7e7e7e;
  color: #d3d3d3;
  background: #2e2e2e;
}
.field-options input:focus-visible + span {
  outline: 2px solid #a7a7a7;
  outline-offset: 3px;
}
.form-field > .upload-control {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px dashed #484848;
  border-radius: 8px;
  padding: 15px;
  color: #aaaaaa;
  font-size: 11px;
  cursor: pointer;
}
.upload-control .icon {
  width: 24px;
  height: 24px;
  color: #919191;
}
.upload-control small {
  display: block;
  color: #7b7b7b;
  font-size: 10px;
  margin-top: 3px;
}
.upload-control img {
  width: 43px;
  height: 43px;
  object-fit: cover;
  border-radius: 5px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.modal-footer {
  padding: 18px 25px;
  border-top: 1px solid #292929;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.modal-footer .button {
  flex: 1;
}
.form-error {
  color: #eda0a9;
  font-size: 12px;
  margin: 10px 0;
  min-height: 18px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 18px 0;
}
.review-grid dt {
  color: #848484;
  font-size: 11px;
}
.review-grid dd {
  margin: 3px 0 0;
  font-size: 14px;
  color: #d1d1d1;
  overflow-wrap: anywhere;
}
.command-block {
  padding: 15px;
  background: #0d0d0d;
  border: 1px solid #2e2e2e;
  border-radius: 7px;
  font:
    12px/1.9 ui-monospace,
    monospace;
  color: #b1b1b1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.modal-token-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}
.modal-token-list button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: none;
  border-radius: 6px;
  padding: 11px;
}
.modal-token-list button:hover {
  background: #242424;
}
.modal-token-list button > span:last-child {
  margin-left: auto;
  color: #9a9a9a;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 90px);
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  background: #272727;
  color: #d1d1d1;
  border: 1px solid #5c5c5c;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 7px 30px #0005;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 40px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 382px;
  }
  .hero-copy {
    padding: 36px 40px;
  }
  .hero-art {
    min-height: 380px;
  }
  .terminal-stack {
    top: 10%;
    left: 16%;
    width: 71%;
    height: 275px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .project-art {
    height: 130px;
  }
  .project-description {
    font-size: 12px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 220px;
  }
  .brand {
    font-size: 18px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page {
    padding: 24px 24px 65px;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-stats {
    left: 3%;
    right: 3%;
  }
  .hero-stat {
    padding: 0 9px;
  }
  .hero-stat strong {
    font-size: 15px;
  }
  .hero-actions {
    gap: 6px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .stack-brand {
    left: 13%;
    width: 77%;
    gap: 10px;
  }
  .stack-brand span {
    font-size: 15px;
  }
  .stack-brand img {
    width: 52px;
    height: 52px;
  }
  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trade-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .section-head-left {
    gap: 12px;
  }
  .label-line {
    gap: 7px;
  }
  .label-line h2 {
    font-size: 18px;
  }
  .project-stats {
    gap: 3px;
  }
  .project-stats strong {
    font-size: 11px;
  }
  .project-body {
    padding: 14px;
  }
  .topbar-actions {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-copy {
    padding: 23px;
  }
  .hero-art {
    min-height: 390px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 15px;
    padding: 5px 12px;
    left: 17%;
    right: 8%;
  }
  .hero-stat {
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
  }
  .hero-stat strong {
    font-size: 13px;
  }
  .terminal-stack {
    height: 220px;
    left: 3%;
    width: 88%;
    top: 30px;
  }
  .stack-brand span {
    display: none;
  }
  .stack-brand {
    left: 22%;
    width: 62%;
  }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trade-layout {
    grid-template-columns: 1fr;
  }
  .trade-card {
    max-width: none;
  }
  .balance-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .network-pill {
    display: none;
  }
}
@media (max-width: 700px) {
  :root {
    --sidebar: 244px;
  }
  .sidebar {
    visibility: hidden;
    transform: translateX(-100%);
    width: 244px !important;
  }
  .sidebar.mobile-open {
    visibility: visible;
    transform: translateX(0);
  }
  .sidebar.mobile-open ~ .mobile-veil {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 35;
    backdrop-filter: blur(3px);
  }
  .workspace,
  .sidebar.collapsed ~ .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 62px;
    padding: 0 17px;
    gap: 10px;
  }
  .breadcrumbs {
    gap: 10px;
  }
  .breadcrumbs > span:first-of-type,
  .breadcrumbs .slash {
    display: none;
  }
  .topbar-actions {
    gap: 8px;
  }
  .topbar-actions > .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 33px;
  }
  .preview-label {
    font-size: 9px;
    padding: 4px 6px;
  }
  .page {
    padding: 19px 17px 90px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 27px 25px 20px;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 380px;
    letter-spacing: -1.3px;
    margin: 20px 0 14px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 370px;
  }
  .hero-actions {
    flex-direction: row;
    padding-top: 24px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 10px 11px;
  }
  .hero-art {
    min-height: 240px;
    margin-top: -6px;
  }
  .terminal-stack {
    top: 4px;
    left: 22%;
    width: 58%;
    height: 176px;
  }
  .stack-brand {
    height: 93px;
    left: 19%;
    width: 66%;
    top: 11px;
  }
  .stack-code {
    inset: 66px 0 0;
    font-size: 8px;
    padding: 8px 14px;
  }
  .stack-brand img {
    width: 50px;
    height: 50px;
  }
  .stack-brand span {
    display: block;
    font-size: 12px;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    left: 7%;
    right: 7%;
    bottom: 17px;
    padding: 10px 5px;
  }
  .hero-stat {
    display: block;
    padding: 0 9px;
    border-right: 1px solid #76767644;
  }
  .hero-stat span {
    font-size: 9px;
  }
  .hero-stat strong {
    font-size: 15px;
  }
  .float-label.one {
    right: 9%;
    top: 8px;
  }
  .float-label.two {
    left: 9%;
    top: 55px;
  }
  .platform-banner {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .platform-symbol {
    width: 35px;
    height: 35px;
  }
  .platform-banner h3 {
    font-size: 12px;
  }
  .platform-banner p {
    font-size: 11px;
    max-width: 260px;
  }
  .platform-banner .button {
    margin-left: 47px;
    padding: 7px 11px;
    min-height: 30px;
  }
  .section {
    margin-top: 27px;
  }
  .section-head {
    align-items: flex-start;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head-left {
    gap: 11px;
  }
  .section-head .view-all {
    font-size: 10px;
    padding-top: 3px;
  }
  .label-line .sample-tag {
    font-size: 9px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .project-card {
    display: grid;
    grid-template-columns: 100px 1fr;
  }
  .project-art {
    height: 100%;
    min-height: 154px;
  }
  .project-description {
    min-height: 0;
    font-size: 11px;
    margin-bottom: 10px;
  }
  .project-art .featured-label {
    display: none;
  }
  .project-body {
    padding: 14px;
  }
  .project-stats span {
    font-size: 9px;
  }
  .project-stats strong {
    font-size: 11px;
  }
  .token-grid {
    gap: 9px;
  }
  .token-card {
    padding: 12px;
  }
  .token-avatar {
    width: 29px;
    height: 29px;
    font-size: 14px;
  }
  .token-head {
    gap: 7px;
    flex-wrap: wrap;
  }
  .token-head .change {
    font-size: 9px;
  }
  .token-name strong {
    font-size: 11px;
  }
  .quick-buy button {
    font-size: 9px;
  }
  .token-card .sparkline {
    height: 30px;
  }
  .page-footer {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .floating-ask {
    bottom: 17px;
    right: 17px;
    padding: 10px;
  }
  .floating-ask span,
  .floating-ask kbd {
    display: none;
  }
  .floating-ask img {
    width: 27px;
    height: 27px;
  }
  .table-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-box {
    min-width: 100%;
    max-width: none;
  }
  .table-toolbar .tabs {
    overflow: auto;
    max-width: 100%;
  }
  .data-table th,
  .data-table td {
    padding: 13px;
  }
  .chat-page {
    height: calc(100dvh - 62px);
    min-height: 550px;
  }
  .chat-content {
    padding: 25px 19px;
  }
  .chat-welcome {
    margin: 3vh auto 0;
  }
  .chat-welcome h1 {
    font-size: 26px;
    margin-top: 18px;
  }
  .chat-welcome > p {
    font-size: 12px;
  }
  .chat-welcome .brand-mark {
    width: 48px;
    height: 48px;
  }
  .prompt-grid {
    margin-top: 24px;
    gap: 8px;
  }
  .prompt-card {
    padding: 13px 10px;
    gap: 7px;
  }
  .prompt-card strong {
    font-size: 11px;
  }
  .prompt-card span {
    font-size: 10px;
  }
  .prompt-card > .icon {
    width: 15px;
    height: 15px;
  }
  .composer-area {
    padding: 10px 17px 17px;
  }
  .composer-note {
    font-size: 9px;
  }
  .message {
    font-size: 13px;
  }
  .chart-panel {
    padding: 16px;
  }
  .chart-panel .sparkline {
    height: 200px;
  }
  .chart-head {
    gap: 8px;
  }
  .chart-head .tabs {
    gap: 0;
  }
  .chart-head .tab {
    padding: 5px 7px;
    font-size: 10px;
  }
  .trade-layout {
    gap: 15px;
  }
  .balance-grid,
  .metric-grid {
    gap: 10px;
  }
  .balance-card,
  .metric-card {
    padding: 18px;
  }
  .balance-card strong,
  .metric-card strong {
    font-size: 22px;
  }
  .wallet-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-item {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .settings-item .button {
    margin-left: 30px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    padding: 16px 20px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .form-grid {
    gap: 10px;
  }
  .field-options span {
    font-size: 10px;
    padding: 10px 4px;
  }
  #toast {
    left: 50%;
    bottom: 75px;
  }
  .topbar .button .icon {
    width: 13px;
    height: 13px;
  }
}
@media (max-width: 380px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .topbar-actions > .preview-label {
    display: none;
  }
  .project-card {
    grid-template-columns: 78px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Live terminal additions */
.generated-hero {
  overflow: hidden;
}
.generated-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(to right, transparent, #000 13%, #000 95%, transparent);
}
.generated-hero .hero-stats {
  z-index: 2;
  background: linear-gradient(0deg, #131313 12%, #131313e8 65%, transparent);
  padding-top: 34px;
}
.live-pill,
.source-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a2a2a2;
  font-size: 11px;
  white-space: nowrap;
}
.live-pill {
  color: #acd6bd;
}
.live-avatar {
  background: #232323;
  color: #bcbcbc;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}
.live-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live-token-price {
  padding: 24px 0 20px;
  font-size: 23px;
  letter-spacing: -0.035em;
}
.live-token-price small {
  display: block;
  font-size: 10px;
  letter-spacing: 0;
  margin-top: 5px;
}
.live-project {
  display: block;
  text-align: left;
}
.live-project-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 95%, #3b3b3b55, transparent 70%), #171717;
  overflow: hidden;
}
.live-project:nth-child(3n + 2) .live-project-art {
  background: radial-gradient(ellipse at 50% 95%, #20524360, transparent 70%), #131e1b;
}
.live-project:nth-child(3n + 3) .live-project-art {
  background: radial-gradient(ellipse at 50% 95%, #73644255, transparent 70%), #1d1b16;
}
.live-project-art .token-avatar {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  font-size: 28px;
  z-index: 1;
  box-shadow: 0 10px 30px #0005;
}
.project-watermark {
  position: absolute;
  bottom: -25px;
  font-size: 105px;
  font-weight: 750;
  color: #ffffff05;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.token-name,
.project-heading h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.token-name strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-heading h3 {
  white-space: nowrap;
}
.loading-state,
.service-message {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
}
.service-message p {
  margin: 5px 0 0;
  font-size: 12px;
}
.service-message strong {
  color: var(--text);
}
.service-message .button {
  margin-left: auto;
  flex-shrink: 0;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid #82828244;
  border-top-color: #9f9f9f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.list-footer .count-label {
  margin: 0;
}
.chart-empty {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: var(--muted);
  text-align: center;
  padding: 30px;
}
.chart-empty a {
  color: #a5a5a5;
  font-size: 12px;
}
.real-chart {
  display: flex;
  height: 270px;
  padding: 20px 0 5px;
  gap: 14px;
}
.real-chart svg {
  flex: 1;
  min-width: 0;
  height: 100%;
}
.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  padding: 25px 0 23px;
  font-variant-numeric: tabular-nums;
}
.market-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 15px;
  padding: 19px;
  gap: 10px;
}
.market-facts small,
.market-facts strong {
  display: block;
}
.market-facts small {
  font-size: 10px;
  margin-bottom: 6px;
}
.market-facts strong {
  font-size: 13px;
  font-weight: 500;
}
.activity-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 17px 20px;
  text-align: left;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.activity-row:last-child {
  border: 0;
}
.activity-row:hover {
  background: var(--raised);
}
.activity-row strong,
.activity-row small {
  display: block;
}
.activity-row strong {
  font-size: 13px;
}
.activity-row small {
  font-size: 11px;
  margin-top: 4px;
}
.activity-icon {
  padding: 9px;
  border-radius: 9px;
  background: #82828214;
  color: #aeaeae;
}
.order-status {
  color: #c3c3c3;
  background: #82828216;
  border: 1px solid #82828226;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  text-transform: capitalize;
}
.activity-row .order-status {
  margin-left: auto;
}
.status-confirmed,
.status-funded {
  color: #9bd5b0;
  background: #83d5a410;
  border-color: #83d5a42c;
}
.status-failed,
.status-review_required {
  color: #edabb1;
  background: #ee899910;
  border-color: #ee89992c;
}
.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.review-grid dd {
  overflow-wrap: anywhere;
}
.receipt-link {
  display: block;
  padding: 12px 0;
  color: #bdbdbd;
}
.inline-error,
.form-error {
  color: #ecadb5;
  font-size: 12px;
  line-height: 1.6;
}
.inline-error {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 7px;
  background: #6a26321c;
  border: 1px solid #c6637526;
}
.setup-note {
  padding: 11px 15px;
  margin: 12px 0;
  background: #82828212;
  border: 1px solid #82828223;
  border-radius: 7px;
  font-size: 12px;
  color: #b5b5b5;
}
.chat-mascot {
  display: block;
  width: 170px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 10px;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 72%);
}
.chat-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 20px;
}
.chat-welcome {
  padding-top: 25px;
}
.account-empty {
  padding: 70px 25px;
}
.account-empty > .icon {
  width: 45px;
  height: 45px;
  color: #a5a5a5;
  margin-bottom: 20px;
}
.wallet-address,
.address-block {
  overflow-wrap: anywhere;
}
.address-block {
  font-family: monospace;
  background: #1a1a1a;
  border: 1px solid #2f2f2f;
  border-radius: 7px;
  padding: 15px;
  font-size: 13px;
  margin: 18px 0;
  user-select: all;
}
.wallet-options {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.launch-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -10px 0 20px;
  background: linear-gradient(90deg, #151515, #181818);
  border-radius: 9px;
  overflow: hidden;
}
.launch-intro img {
  width: 135px;
  height: 95px;
  object-fit: cover;
  mask-image: linear-gradient(to right, #000 75%, transparent);
}
.launch-intro strong {
  font-size: 14px;
}
.launch-intro p {
  font-size: 11px !important;
  margin: 5px 15px 0 0 !important;
  color: var(--muted);
}
.launch-empty {
  padding-top: 15px;
}
.launch-empty > img {
  width: 310px;
  max-width: 100%;
  height: 190px;
  object-fit: cover;
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
  margin-bottom: 12px;
}
.review-token {
  display: flex;
  gap: 15px;
  align-items: center;
}
.review-token img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}
.service-status {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
}
.settings-item > .button {
  margin-left: auto;
}
.compact-empty {
  padding: 27px;
}
.compact-empty p {
  margin: 0 auto;
  font-size: 12px;
}
.draft-card > img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}
.modal-token-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
@media (max-width: 1100px) {
  .live-pill {
    display: none;
  }
  .token-head {
    gap: 8px;
  }
  .token-head .change {
    font-size: 10px;
  }
  .live-token-price {
    font-size: 21px;
  }
}
@media (max-width: 700px) {
  .generated-hero {
    min-height: 260px;
  }
  .generated-hero > img {
    object-position: center 43%;
  }
  .live-pill {
    display: none;
  }
  .source-note {
    font-size: 10px;
  }
  .service-message {
    padding: 20px;
    flex-wrap: wrap;
  }
  .service-message > .icon {
    display: none;
  }
  .service-message .button {
    margin-left: 0;
  }
  .section-head > .source-note {
    display: none;
  }
  .chart-head {
    gap: 12px;
    flex-wrap: wrap;
  }
  .market-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .activity-row {
    padding: 13px 10px;
    gap: 9px;
  }
  .activity-row strong {
    font-size: 11px;
  }
  .activity-icon {
    padding: 6px;
  }
  .activity-row .order-status {
    font-size: 9px;
  }
  .launch-intro img {
    width: 100px;
    height: 90px;
  }
  .service-status {
    font-size: 10px;
  }
  .list-footer {
    align-items: flex-start;
  }
  .list-footer .count-label {
    font-size: 10px;
  }
  .chart-y {
    font-size: 9px;
  }
  .real-chart {
    height: 235px;
  }
  .chat-mascot {
    height: 90px;
    width: 140px;
  }
  .chat-welcome {
    padding-top: 5px;
  }
  .wallet-actions {
    flex-wrap: wrap;
  }
  .hero-stats {
    bottom: 0;
  }
  .draft-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

@media (min-width: 1101px) {
  .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Keep welcome prompts visible above the composer at normal laptop heights. */
.chat-content {
  padding-top: 18px;
}
.chat-welcome {
  margin: 0 auto;
  padding-top: 0;
}
.chat-mascot {
  height: 90px;
  width: 145px;
  margin-bottom: 0;
}
.chat-welcome h1 {
  margin-top: 8px;
}
.prompt-grid {
  margin-top: 20px;
}
@media (max-width: 700px) {
  .chat-content {
    padding-top: 16px;
  }
  .chat-mascot {
    height: 80px;
    width: 135px;
  }
  .chat-welcome h1 {
    margin-top: 6px;
  }
}

.live-avatar {
  position: relative;
}
.live-avatar img {
  position: absolute;
  inset: 0;
}
