/* Bankr terminal interaction and layout alignment. Original Stonkinator branding. */
@font-face {
  font-family: Inter;
  src: url('/assets/inter-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --sidebar: 248px;
  --bg: #090909;
  --panel: #131313;
  --raised: #272729;
  --line: #272727;
  --muted: #a2a2a2;
  --text: #f4f4f4;
  --purple: #767676;
  --purple-hover: #8b8b8b;
  --positive: #60d9a0;
  --negative: #f07885;
  font-family: Inter, sans-serif;
}
body {
  background: var(--bg);
  font-family: Inter, sans-serif;
  font-size: 14px;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 20px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
}
button,
a {
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
button:disabled {
  cursor: not-allowed;
}
.button {
  font-size: 13px;
  border-radius: 8px;
  min-height: 38px;
  padding: 9px 14px;
}
.button.primary {
  color: #fff;
}
.button.light:hover {
  background: #fff;
}
.button.ghost:hover {
  background: #222222;
  border-color: #424242;
}
.full {
  width: 100%;
}
.icon-button {
  border-radius: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #7bdaa7;
  box-shadow: none;
}
.page {
  max-width: 1680px;
  padding: 24px 24px 64px;
}
.section {
  margin-top: 34px;
}
.section-head {
  margin-bottom: 16px;
}
.section-head h2 {
  line-height: 1.4;
}
.section-subtitle {
  color: var(--muted);
}
.view-all {
  font-size: 13px;
  color: #c2c2c2;
}
.page-footer {
  flex-wrap: wrap;
  white-space: normal;
  gap: 16px;
  margin-top: 48px;
  color: #868686;
  font-size: 11px;
}
.page-footer a {
  color: #a2a2a2;
}
/* Persistent desktop navigation and contextual headers */
.sidebar {
  background: #131313;
  width: 248px;
}
.brand-row {
  height: 64px;
  min-height: 64px;
  padding: 0 14px;
  border-bottom: 0;
}
.brand {
  gap: 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brand img {
  width: 30px;
  height: 30px;
}
.collapse-button {
  width: 28px;
  height: 28px;
}
.nav-scroll {
  padding: 8px;
  scrollbar-width: thin;
}
.new-chat {
  background: transparent;
  border: 0;
  border-radius: 6px;
  height: 40px;
  padding: 0 8px;
  font-size: 14px;
  gap: 10px;
}
.new-chat > .icon {
  padding: 5px;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: #282828;
}
.new-chat:hover {
  background: #202020;
}
.nav-group {
  margin-top: 16px;
}
.group-label {
  padding: 4px 10px 8px;
  color: #a2a2a2;
  font-size: 13px;
}
.nav-link {
  min-height: 36px;
  padding: 7px 10px;
  margin-bottom: 2px;
  font-size: 14px;
  gap: 10px;
  color: #c9c9c9;
}
.nav-link > .icon {
  width: 18px;
  height: 18px;
  color: #a2a2a2;
}
.nav-link.active {
  background: #383838;
  color: #eeeeee;
}
.nav-link.active > .icon {
  color: #d6d6d6;
}
.group-links[hidden] {
  display: none;
}
.nav-bottom {
  background: #131313;
  padding: 8px;
  border-top: 0;
}
.connect-button {
  height: 40px;
  font-size: 14px;
}
.nav-bottom .icon {
  width: 16px;
  height: 16px;
}
.sidebar.collapsed {
  width: 64px;
}
.sidebar.collapsed ~ .workspace {
  margin-left: 64px;
}
.sidebar.collapsed .brand-row {
  padding: 0 17px;
}
.sidebar.collapsed .group-links[hidden] {
  display: block;
}
.sidebar.collapsed .nav-link {
  padding: 9px;
  min-height: 38px;
}
.sidebar.collapsed .nav-scroll {
  padding: 8px;
}
.sidebar.collapsed .nav-bottom {
  padding: 8px;
}
.sidebar.collapsed .nav-group {
  margin-top: 12px;
}
.sidebar.collapsed .chat-sessions {
  display: none;
}
.topbar {
  height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid #242424;
  position: relative;
  gap: 12px;
  background: #090909;
}
.breadcrumbs {
  gap: 12px;
}
.breadcrumbs strong {
  font-size: 16px;
  color: #f4f4f4;
  font-weight: 600;
}
.topbar .button {
  min-height: 34px;
  padding: 7px 12px;
}
.home-topbar {
  display: none;
}
.sidebar.collapsed ~ .workspace .home-topbar {
  display: block;
  height: 0;
  padding: 0;
  border: 0;
  z-index: 2;
}
.home-topbar .breadcrumbs strong {
  display: none;
}
.home-topbar .expand-sidebar {
  position: absolute;
  top: 8px;
  left: 8px;
}
.chat-topbar {
  justify-content: center;
}
.chat-topbar .expand-sidebar {
  position: absolute;
  left: 16px;
}
.mobile-menu {
  display: none;
}
/* Boxed overview: copy, illustration, stats, feature, projects, tokens, ranking */
.overview-page {
  padding: 48px 32px 64px;
  max-width: 1600px;
}
.bankr-hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  min-height: 386px;
  border: 1px solid #252525;
  border-radius: 12px;
  overflow: hidden;
  background: #131313;
  isolation: isolate;
}
.bankr-hero-copy {
  padding: 32px 0 32px 32px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  background: #272727;
  border: 1px solid #343434;
  border-radius: 6px;
  font-size: 11px;
  color: #cbcbcb;
  white-space: nowrap;
}
.hero-announcement .pill {
  background: #646464;
  color: #fff;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 650;
}
.hero-announcement .icon {
  width: 13px;
  height: 13px;
}
.bankr-hero h1 {
  font-size: 36px;
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -1.2px;
  margin: 22px 0 18px;
  color: #fafafa;
}
.bankr-hero-copy > p {
  font-size: 14px;
  line-height: 1.7;
  color: #a7a7a7;
  max-width: 385px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}
.hero-actions .button {
  font-size: 12px;
  min-height: 40px;
  padding: 10px 12px;
}
.bankr-hero-art {
  position: relative;
  min-width: 0;
  background: radial-gradient(ellipse at 65% 70%, #40404045, transparent 75%);
}
.bankr-hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%);
  opacity: 0.94;
}
.bankr-hero-art .hero-stats {
  position: absolute;
  inset: auto 16px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 8px;
  border: 1px solid #ffffff1a;
  background: #131313bb;
  backdrop-filter: blur(18px);
  border-radius: 8px;
  gap: 0;
  text-align: center;
}
.hero-stat {
  display: block;
  padding: 0 6px;
  border-right: 1px solid #ffffff14;
}
.hero-stat:last-child {
  border: 0;
}
.hero-stat span {
  font-size: 10px;
  color: #bbbbbb;
  display: block;
}
.hero-stat strong {
  font-size: 19px;
  font-weight: 600;
  display: block;
  margin-top: 4px;
  color: #fff;
}
.launch-feature {
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  background: #131313;
}
.launch-feature-art {
  height: 122px;
  background:
    radial-gradient(ellipse at 78% 110%, #72727299, transparent 60%),
    linear-gradient(105deg, #1d1d1d, #3a3a3a 58%, #151515);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 28px;
}
.feature-wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}
.feature-wordmark > img {
  width: 40px;
  height: 40px;
}
.feature-wordmark > span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  border-left: 1px solid #fff4;
  padding-left: 12px;
  color: #d7d7d7;
}
.feature-rocket {
  position: absolute;
  width: 300px;
  height: 210px;
  object-fit: cover;
  right: 5%;
  top: -36px;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  opacity: 0.85;
}
.launch-feature-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.launch-feature-copy h2 {
  font-size: 16px;
  font-weight: 600;
}
.launch-feature-copy p {
  font-size: 13px;
  color: #a2a2a2;
  margin-top: 5px;
}
.home-tokens > .tabs,
.home-rankings > .tabs {
  width: max-content;
  margin-bottom: 16px;
}
.home-rankings .data-table-wrap {
  margin-top: 0;
}
.home-tokens > .count-label {
  margin-top: 12px;
  font-size: 11px;
}
.featured-grid,
.token-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-card,
.token-card {
  border: 1px solid #2b2b2b;
  background: #131313;
  border-radius: 12px;
  box-shadow: none;
  transform: none;
}
.project-card:hover,
.token-card:hover {
  border-color: #4a4a4a;
  background: #161616;
  transform: none;
}
.project-body {
  padding: 20px;
}
.project-heading {
  gap: 12px;
  min-width: 0;
}
.project-heading > .token-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.project-heading > div {
  min-width: 0;
  flex: 1;
}
.project-heading h3 {
  font-size: 15px;
  letter-spacing: -0.3px;
  color: #f4f4f4;
}
.project-heading .ticker {
  font-size: 12px;
  color: #9e9e9e;
}
.project-open {
  color: #787878;
  position: static;
  margin-left: auto;
}
.project-open .icon {
  width: 16px;
  height: 16px;
}
.project-description {
  font-size: 13px;
  color: #9e9e9e;
  min-height: 44px;
  margin: 18px 0 14px;
  line-height: 1.7;
}
.project-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.project-badges .badge {
  font-size: 10px;
  padding: 1px 6px;
  background: #292929;
  color: #c0c0c0;
}
.status-label {
  font-size: 10px;
  color: #a5a5a5;
  text-transform: capitalize;
}
.project-badges .change {
  margin-left: auto;
  font-size: 11px;
}
.project-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: #292929;
  padding-top: 14px;
  gap: 8px;
}
.project-stats span {
  color: #8a8a8a;
  font-size: 10px;
  white-space: nowrap;
}
.project-stats strong {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: #eeeeee;
}
.token-card {
  padding: 16px;
}
.token-head {
  margin-bottom: 20px;
  gap: 10px;
}
.token-head .token-avatar {
  width: 40px;
  height: 40px;
}
.token-name {
  flex: 1;
  overflow: hidden;
}
.token-name strong {
  font-size: 14px;
  font-weight: 550;
}
.token-name small {
  font-size: 11px;
  color: #939393;
  white-space: nowrap;
}
.token-name small > span {
  font-size: 9px;
  margin-left: 3px;
}
.copy-token {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.copy-token .icon {
  width: 13px;
  height: 13px;
}
.live-avatar {
  position: relative;
  overflow: hidden;
  border-color: #ffffff12;
  background: #262626;
}
.live-avatar > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.token-numbers {
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  justify-content: flex-start;
}
.token-numbers > span {
  font-size: 11px;
  color: #979797;
}
.token-numbers strong {
  font-size: 12px;
  margin-left: auto;
  color: #f4f4f4;
}
.token-numbers .change {
  font-size: 10px;
  margin-left: 0;
}
.token-numbers .change.positive {
  color: var(--positive);
}
.token-numbers .change.negative {
  color: var(--negative);
}
.token-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #272727;
  margin-top: 14px;
  padding-top: 11px;
  gap: 8px;
  font-size: 10px;
  color: #939393;
}
.quick-buy {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
}
.quick-buy button {
  background: #262626;
  border: 1px solid #343434;
  color: #d5d5d5;
  font-size: 11px;
  min-height: 29px;
  border-radius: 5px;
  padding: 4px 8px;
}
.quick-buy button:hover {
  background: #2d2d2d;
  border-color: #5f5f5f;
  color: #e8e8e8;
}
.change {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* Search, filters and dense listings */
.market-page {
  padding: 24px 18px 64px;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-box {
  height: 38px;
  min-width: 230px;
  max-width: 420px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #303030;
  border-radius: 8px;
  padding: 0 12px;
  background: #151515;
}
.search-box input {
  font-size: 13px;
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  color: #f4f4f4;
}
.search-box .icon {
  width: 16px;
  height: 16px;
  color: #919191;
}
.search-box:focus-within {
  border-color: #828282;
  outline: 1px solid #828282;
}
.search-box input:focus {
  outline: none;
}
.market-options {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tabs {
  background: #141414;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.tab {
  font-size: 12px;
  padding: 6px 11px;
  color: #a2a2a2;
}
.tab.active {
  background: #303030;
  color: #fafafa;
}
.filter-button {
  font-size: 12px;
  min-height: 36px;
}
.filter-count {
  background: #767676;
  border-radius: 4px;
  min-width: 17px;
}
.active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #a2a2a2;
  margin: -4px 0 16px;
}
.active-filters .button {
  font-size: 11px;
  min-height: 28px;
  padding: 3px 8px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: #d5d5d5;
}
.filter-check input {
  accent-color: #767676;
}
.data-table-wrap {
  border: 1px solid #292929;
  border-radius: 10px;
  overflow-x: auto;
  background: #0f0f0f;
}
.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table thead {
  background: #151515;
}
.data-table th {
  font-size: 11px;
  color: #969696;
  height: 43px;
  white-space: nowrap;
  padding: 10px 16px;
  border-color: #292929;
  font-weight: 450;
}
.data-table th button {
  background: none;
  color: inherit;
  font-size: inherit;
  white-space: nowrap;
  padding: 0;
}
.data-table td {
  padding: 12px 16px;
  border-color: #222222;
  height: 66px;
  white-space: nowrap;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.data-table tbody tr:hover {
  background: #181818;
}
.data-table .token-cell {
  gap: 12px;
  max-width: 230px;
  min-width: 160px;
  font-size: 13px;
  font-weight: 550;
}
.data-table .token-cell > div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.data-table .symbol {
  font-size: 11px;
  color: #8d8d8d;
  font-weight: 400;
  margin-top: 3px;
}
.data-table .token-avatar {
  width: 38px;
  height: 38px;
}
.data-table .rank {
  font-size: 11px;
  color: #787878;
  min-width: 16px;
}
.data-table .quick-buy {
  display: flex;
  margin: 0;
  gap: 4px;
}
.data-table .quick-buy button {
  min-width: 35px;
  padding: 4px 7px;
  font-size: 10px;
}
.list-footer {
  font-size: 11px;
  color: #9a9a9a;
  margin-top: 14px;
}
.count-label {
  color: #8a8a8a;
}
.no-results {
  padding: 35px !important;
  text-align: center;
  color: #9e9e9e;
}
.market-page .featured-grid {
  gap: 16px;
}
.market-page .project-body {
  padding: 24px;
}
.market-page .project-heading > .token-avatar {
  width: 56px;
  height: 56px;
}
/* Sign-in and assistant */
.chat-gate {
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px 96px;
}
.chat-gate > img {
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
}
.chat-gate h1 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.chat-gate p {
  font-size: 14px;
  color: #a2a2a2;
  margin: 14px 0 24px;
  line-height: 1.65;
}
.chat-gate .button {
  width: 300px;
  max-width: 100%;
  min-height: 44px;
  font-size: 14px;
}
.chat-gate > span {
  font-size: 11px;
  color: #747474;
  margin-top: 14px;
}
.chat-page {
  height: calc(100dvh - 64px);
  max-width: 850px;
  margin: auto;
}
.chat-welcome {
  padding-top: 36px;
}
.chat-welcome h1 {
  font-size: 30px;
  line-height: 1.2;
}
.chat-orbit {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
}
.chat-mascot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.chat-intro {
  display: none;
}
.chat-welcome p {
  font-size: 14px;
  color: #a2a2a2;
}
.prompt-card {
  background: #161616;
  border-color: #303030;
}
.composer {
  background: #1c1c1c;
  border-color: #373737;
}
.floating-ask {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #767676;
  border: 1px solid #949494;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px #0005;
  z-index: 25;
  padding: 13px;
}
.floating-ask > img {
  width: 36px;
  height: 36px;
}
.floating-ask > span {
  position: absolute;
  right: 75px;
  white-space: nowrap;
  display: none;
  background: #242424;
  border: 1px solid #3b3b3b;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
}
.floating-ask:hover,
.floating-ask:focus-visible {
  background: #878787;
}
.floating-ask:hover > span,
.floating-ask:focus-visible > span {
  display: block;
}
.floating-ask kbd {
  font-family: inherit;
  color: #979797;
  margin-left: 8px;
  font-size: 10px;
}
/* Pair-first trading flow */
.trade-page {
  padding: 24px 18px 64px;
}
.trade-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}
.trade-chart-column {
  min-width: 0;
}
.trade-market {
  min-height: 42px;
  margin-bottom: 16px;
}
.token-picker {
  min-height: 38px;
  border-color: #303030;
  background: #191919;
  padding: 7px 12px;
  font-size: 13px;
}
.chart-panel {
  background: #101010;
  border-color: #272727;
  border-radius: 10px;
  min-height: 365px;
  padding: 20px;
}
.pair-empty {
  height: 324px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #787878;
  font-size: 13px;
}
.pair-empty .icon {
  width: 28px;
  height: 28px;
  opacity: 0.6;
}
.chart-head {
  gap: 12px;
  flex-wrap: wrap;
}
.chart-panel .price-large {
  font-size: 26px;
}
.chart-empty {
  min-height: 220px;
  color: #8a8a8a;
  font-size: 12px;
}
.chart-empty a {
  color: #9e9e9e;
}
.chart-times,
.chart-caption {
  color: #8e8e8e;
}
.market-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.market-facts > div {
  border: 1px solid #282828;
  border-radius: 8px;
  background: #141414;
  padding: 12px;
}
.market-facts small {
  font-size: 10px;
  color: #919191;
}
.market-facts strong {
  font-size: 13px;
  margin-top: 4px;
  display: block;
}
.trade-orders {
  border: 1px solid #282828;
  border-radius: 10px;
  background: #111111;
  padding: 24px 16px;
  color: #8e8e8e;
  text-align: center;
  font-size: 12px;
  margin-top: 18px;
  min-height: 72px;
}
.trade-orders > button {
  color: #a6a6a6;
  background: none;
  padding: 0;
  font-size: 12px;
}
.trade-orders h3 {
  text-align: left;
  font-size: 14px;
  color: #e4e4e4;
}
.trade-card {
  padding: 16px;
  background: #171717;
  border: 1px solid #2c2c2c;
  border-radius: 16px;
}
.trade-card-top {
  margin-bottom: 16px;
  gap: 12px;
  justify-content: flex-start;
  color: #a2a2a2;
}
.market-mode {
  padding: 5px 10px;
  background: #2b2b2b;
  border: 1px solid #3b3b3b;
  border-radius: 6px;
  font-size: 12px;
  color: #eeeeee;
}
.trade-network {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 11px;
}
.trade-card-top > .icon-button {
  margin-left: 0;
}
.trade-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  color: #afafaf;
}
.trade-mode-row > .tabs {
  margin: 0;
  background: #202020;
}
.trade-mode-row .tab {
  padding: 5px 12px;
}
.amount-box {
  background: #252527;
  border: 1px solid #303030;
  border-radius: 10px;
  padding: 16px;
}
.amount-label {
  color: #ababaf;
  font-size: 12px;
}
.amount-box input {
  color: #f4f4f4;
  font-size: 30px;
  margin: 8px 0 0;
  padding: 0;
  line-height: 1.3;
}
.amount-box:focus-within {
  border-color: #7a7a7a;
}
.amount-box #sell-fiat {
  display: block;
  font-size: 11px;
  color: #898989;
  margin-top: 4px;
  min-height: 17px;
}
.amount-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  background: #333336;
  color: #e7e7e7;
  border: 1px solid #424242;
  padding: 5px 10px;
  border-radius: 7px;
  text-align: left;
  margin-top: 16px;
  font-size: 13px;
}
.amount-selector > .icon {
  margin-left: auto;
  width: 14px;
}
.amount-selector .token-avatar {
  width: 24px;
  height: 24px;
  font-size: 10px;
}
.amount-selector strong {
  font-weight: 550;
}
.sol-selector > span:last-child {
  margin-left: auto;
  color: #989898;
  font-size: 11px;
}
.solana-token {
  background: #151515;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #aeaeae;
  font-size: 20px;
  line-height: 1;
}
.flip-row {
  height: 10px;
}
.flip-button {
  background: #707070;
  border: 4px solid #171717;
  width: 36px;
  height: 36px;
  transform: translateY(-13px);
  border-radius: 9px;
}
.flip-button .icon {
  width: 16px;
  height: 16px;
}
.receive-amount {
  font-size: 30px;
  color: #bbbbbb;
  min-height: 45px;
  padding: 8px 0 0;
}
.amount-box > small {
  font-size: 11px;
  color: #898989;
}
.trade-info {
  color: #949494;
  font-size: 11px;
  padding: 14px 0;
}
.trade-card .button.full {
  height: 44px;
  font-size: 14px;
}
.trade-note {
  font-size: 11px;
  color: #8d8d8d;
  margin-top: 10px;
  line-height: 1.6;
}
.picker-network {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 6px 10px;
  background: #262626;
  border: 1px solid #585858;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
}
.modal-token-list > button {
  border-radius: 8px;
}
.modal-token-list > button:hover {
  background: #242424;
}
/* Match modal surfaces without changing wallet-review behavior */
dialog {
  background: #191919;
  color: #f4f4f4;
  border: 1px solid #383838;
  border-radius: 16px;
  box-shadow: 0 24px 100px #0009;
  max-width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.modal-head {
  border-color: #303030;
}
.modal-head h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.modal-head img {
  width: 28px;
  height: 28px;
}
.modal-body {
  color: #b2b2b2;
  font-size: 13px;
}
.modal-footer {
  border-color: #303030;
}
.input {
  background: #232323;
  border-color: #3c3c3c;
  border-radius: 8px;
  color: #eeeeee;
}
.input:focus {
  border-color: #8b8b8b;
}
.form-field {
  margin-bottom: 18px;
}
.info-box {
  background: #232323;
  border-color: #393939;
  color: #b5b5b5;
}
.balance-card,
.metric-card {
  background: #141414;
  border-color: #2c2c2c;
  border-radius: 12px;
}
.settings-item {
  border-color: #2d2d2d;
}
.settings-item p {
  color: #a2a2a2;
}
.motion-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.motion-animated svg {
  width: 100%;
  height: 100%;
}
.motion-off .motion-animated svg,
.motion-animated svg.asset-paused {
  animation-play-state: paused !important;
}
.loading-state .motion-animated {
  color: #979797;
}
.loading-state {
  min-height: 130px;
  font-size: 13px;
  color: #949494;
}
.badge {
  background: #292929;
}
.docs h1 {
  font-size: 24px;
}
@media (min-width: 1500px) {
  .bankr-hero-copy {
    padding: 40px;
  }
  .bankr-hero h1 {
    font-size: 42px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 10px 16px;
  }
  .bankr-hero {
    min-height: 400px;
  }
  .hero-stat strong {
    font-size: 22px;
  }
}
@media (max-width: 1150px) and (min-width: 701px) {
  .overview-page {
    padding: 32px 24px 64px;
  }
  .bankr-hero {
    grid-template-columns: 1.15fr 1fr;
    min-height: 380px;
  }
  .bankr-hero-copy {
    padding: 28px 0 28px 24px;
  }
  .bankr-hero h1 {
    font-size: 30px;
  }
  .bankr-hero-copy > p {
    font-size: 13px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    padding: 9px 10px;
    font-size: 11px;
  }
  .hero-stat strong {
    font-size: 15px;
  }
  .hero-stat span {
    font-size: 9px;
  }
  .bankr-hero-art .hero-stats {
    inset: auto 10px 16px;
    padding: 12px 3px;
  }
  .featured-grid,
  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-page > .section > .featured-grid > .project-card:nth-child(3) {
    display: none;
  }
  .trade-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 14px;
  }
  .trade-card {
    padding: 12px;
  }
  .trade-market .preview-label {
    display: none;
  }
  .price-large {
    font-size: 22px;
  }
  .trade-page .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-rocket {
    right: 0;
  }
  .feature-wordmark {
    font-size: 22px;
  }
  .feature-wordmark > span {
    font-size: 12px;
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .sidebar {
    width: 220px;
  }
  .workspace {
    margin-left: 220px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-row {
    padding: 0 10px;
  }
  .nav-link {
    font-size: 13px;
  }
  .bankr-hero {
    grid-template-columns: 1fr;
    position: relative;
  }
  .bankr-hero-copy {
    padding: 28px 28px 110px;
  }
  .bankr-hero-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 1;
  }
  .bankr-hero-art > img {
    opacity: 0.22;
    object-position: right;
    mask-image: linear-gradient(90deg, transparent, #000);
  }
  .bankr-hero-art .hero-stats {
    inset: auto 24px 20px;
  }
  .hero-stat strong {
    font-size: 20px;
  }
  .hero-stat span {
    font-size: 10px;
  }
  .trade-layout {
    grid-template-columns: 1fr;
  }
  .trade-card {
    max-width: none;
    width: 100%;
  }
  .feature-wordmark > span {
    display: none;
  }
  .feature-rocket {
    opacity: 0.5;
  }
  .market-options {
    width: 100%;
    justify-content: space-between;
  }
  .market-options .tabs {
    flex: 1;
  }
  .market-options .tab {
    flex: 1;
  }
  .table-toolbar .search-box {
    max-width: none;
  }
}
@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }
  .sidebar,
  .sidebar.collapsed {
    width: 248px;
    transform: translateX(-100%);
    z-index: 60;
    box-shadow: 16px 0 60px #0006;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar.mobile-open ~ .mobile-veil {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    backdrop-filter: blur(2px);
    z-index: 50;
  }
  .workspace,
  .sidebar.collapsed ~ .workspace {
    margin-left: 0;
  }
  .sidebar.collapsed .brand span,
  .sidebar.collapsed .collapse-button,
  .sidebar.collapsed .nav-link span,
  .sidebar.collapsed .group-label,
  .sidebar.collapsed .new-chat span,
  .sidebar.collapsed .nav-bottom .button span {
    display: initial;
  }
  .sidebar.collapsed .group-label {
    display: flex;
  }
  .sidebar.collapsed .group-links[hidden] {
    display: none;
  }
  .sidebar.collapsed .brand-row {
    padding: 0 14px;
  }
  .sidebar.collapsed .nav-link,
  .sidebar.collapsed .new-chat {
    justify-content: flex-start;
    padding: 8px 10px;
  }
  .sidebar.collapsed .nav-group {
    margin-top: 16px;
  }
  .sidebar.collapsed .nav-bottom .button {
    justify-content: center;
  }
  .topbar,
  .home-topbar,
  .sidebar.collapsed ~ .workspace .home-topbar {
    display: flex;
    position: relative;
    height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid #252525;
    justify-content: center;
    z-index: auto;
  }
  .topbar .breadcrumbs {
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .topbar .breadcrumbs strong,
  .home-topbar .breadcrumbs strong {
    display: block;
    font-size: 15px;
  }
  .topbar .mobile-menu {
    display: inline-flex;
    position: absolute;
    left: 16px;
    top: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid #3a3a3a;
    color: #d6d6d6;
    background: #171717;
  }
  .topbar .expand-sidebar {
    display: none;
  }
  .topbar .topbar-actions {
    position: absolute;
    right: 16px;
  }
  .topbar-actions .button {
    font-size: 0;
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  .topbar-actions .button .icon {
    width: 17px;
    height: 17px;
  }
  .page,
  .overview-page,
  .market-page,
  .trade-page {
    padding: 20px 16px 80px;
  }
  .bankr-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    border-radius: 12px;
    background: radial-gradient(ellipse at 100% 10%, #36363644, transparent 65%), #131313;
  }
  .bankr-hero-copy {
    padding: 24px 24px 20px;
  }
  .hero-announcement {
    font-size: 10px;
    gap: 6px;
    padding: 5px 7px;
    max-width: 100%;
  }
  .hero-announcement .pill {
    font-size: 8px;
  }
  .bankr-hero h1 {
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: -1.2px;
    margin: 22px 0 16px;
  }
  .bankr-hero-copy > p {
    font-size: 13px;
    line-height: 1.75;
    max-width: none;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 42px;
    font-size: 13px;
    padding: 10px;
  }
  .bankr-hero-art {
    height: auto;
    position: static;
    padding: 0 20px 20px;
    background: none;
  }
  .bankr-hero-art > img {
    display: none;
  }
  .bankr-hero-art .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #222222aa;
    padding: 14px 3px;
    border-color: #ffffff12;
    backdrop-filter: blur(14px);
    margin: 0;
    border-radius: 8px;
  }
  .hero-stat {
    padding: 0 4px;
    border-right: 1px solid #ffffff14;
  }
  .hero-stat span {
    font-size: 8px;
  }
  .hero-stat strong {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 5px;
  }
  .launch-feature {
    margin-top: 20px;
  }
  .launch-feature-art {
    height: 100px;
    padding: 0 20px;
  }
  .feature-wordmark {
    font-size: 20px;
    gap: 8px;
  }
  .feature-wordmark > img {
    width: 32px;
    height: 32px;
  }
  .feature-wordmark > span {
    display: none;
  }
  .feature-rocket {
    right: -40px;
    width: 210px;
    height: 170px;
    top: -32px;
    opacity: 0.5;
  }
  .launch-feature-copy {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .launch-feature-copy h2 {
    font-size: 15px;
  }
  .launch-feature-copy p {
    font-size: 12px;
    line-height: 1.65;
  }
  .launch-feature-copy .button {
    width: 100%;
  }
  .section {
    margin-top: 28px;
  }
  .section-head {
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .view-all {
    font-size: 12px;
  }
  .featured-grid,
  .token-grid,
  .trade-page .token-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .project-body,
  .market-page .project-body {
    padding: 20px;
  }
  .project-heading > .token-avatar {
    width: 48px;
    height: 48px;
  }
  .project-description {
    margin: 14px 0 12px;
    min-height: 0;
  }
  .project-badges {
    margin-bottom: 16px;
  }
  .project-stats span {
    font-size: 11px;
  }
  .project-stats strong {
    font-size: 14px;
  }
  .token-card {
    padding: 18px;
  }
  .token-head {
    margin-bottom: 18px;
  }
  .token-name strong {
    font-size: 15px;
  }
  .token-name small {
    font-size: 12px;
  }
  .token-name small > span {
    font-size: 10px;
  }
  .token-numbers > span {
    font-size: 12px;
  }
  .token-numbers strong {
    font-size: 13px;
  }
  .token-meta {
    font-size: 11px;
  }
  .quick-buy button {
    min-height: 34px;
    font-size: 12px;
  }
  .home-rankings .section-head > .source-note {
    font-size: 10px;
  }
  .home-rankings .tabs,
  .home-tokens .tabs {
    max-width: 100%;
    width: max-content;
  }
  .tabs {
    gap: 2px;
  }
  .tab {
    padding: 7px 10px;
    font-size: 12px;
  }
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }
  .search-box {
    max-width: none;
    min-width: 0;
    flex: auto;
    width: 100%;
    height: 40px;
  }
  .market-options {
    width: 100%;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
  }
  .market-options .tabs {
    flex: 1;
    min-width: 0;
    justify-content: space-between;
  }
  .market-options .tab {
    font-size: 11px;
    padding: 7px 7px;
  }
  .filter-button {
    padding: 8px;
    font-size: 11px;
    gap: 4px;
  }
  .filter-button > .icon {
    width: 13px;
    height: 13px;
  }
  .data-table-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }
  .data-table {
    min-width: 760px;
  }
  .data-table th,
  .data-table td {
    padding-left: 14px;
    padding-right: 14px;
  }
  .data-table .quick-buy button {
    min-height: 29px;
  }
  .page-footer {
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 10px;
    margin-top: 32px;
  }
  .page-footer > span {
    width: 100%;
  }
  .floating-ask {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
    border-radius: 10px;
    padding: 10px;
  }
  .floating-ask > img {
    width: 30px;
    height: 30px;
  }
  .floating-ask > span {
    right: 62px;
  }
  .chat-gate {
    min-height: calc(100dvh - 64px);
    padding-bottom: 100px;
  }
  .chat-gate > img {
    width: 60px;
    height: 60px;
  }
  .chat-page {
    height: calc(100dvh - 64px);
  }
  .chat-welcome h1 {
    font-size: 26px;
  }
  .trade-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trade-market {
    gap: 8px;
    margin-bottom: 14px;
  }
  .trade-market .preview-label {
    font-size: 9px;
    max-width: 135px;
    overflow: hidden;
  }
  .chart-panel {
    padding: 16px;
    min-height: 280px;
  }
  .pair-empty {
    height: 240px;
  }
  .chart-head {
    flex-wrap: wrap;
  }
  .chart-empty {
    min-height: 170px;
  }
  .trade-card {
    padding: 16px;
    border-radius: 14px;
    width: 100%;
    max-width: none;
  }
  .amount-box {
    padding: 16px;
  }
  .market-facts {
    gap: 8px;
  }
  .market-facts > div {
    padding: 10px;
  }
  .market-facts strong {
    font-size: 12px;
  }
  .trade-orders {
    margin-top: 14px;
    padding: 20px 12px;
  }
  .trade-card .trade-mode-row {
    margin-bottom: 16px;
  }
  .trade-mode-row .tabs {
    width: auto;
  }
  .trade-note {
    font-size: 11px;
  }
  .metric-grid,
  .balance-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  dialog {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }
  .modal-head,
  .modal-body,
  .modal-footer {
    padding: 18px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.motion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}
.motion-static {
  display: none;
  width: 100%;
  height: 100%;
}
.motion-static svg {
  width: 100%;
  height: 100%;
}
.motion-off .motion-animated {
  display: none;
}
.motion-off .motion-static {
  display: inline-flex;
}
@media (prefers-reduced-motion: reduce) {
  .motion-animated {
    display: none;
  }
  .motion-static {
    display: inline-flex;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-stats {
    backdrop-filter: none !important;
    background: #1f1f1f !important;
  }
  dialog::backdrop {
    backdrop-filter: none;
  }
}
