* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

/* BASE */
body {
  margin: 0;
  background: #0b0b0e;
  color: #eaeaea;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  height: 64px;
  background: #0b0b0e;
  border-bottom: 1px solid #1f1f25;
  display: flex;
  justify-content: center;
}

.topbar-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 50px;     /* DexScreener-like */
  width: auto;
  display: block;
}


.auth-group {
  display: flex;
  gap: 10px;
}

.auth {
  background: transparent;
  color: #cfcfd6;
  border: 1px solid #2a2a33;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}

.auth.primary {
  background: #1a1a1f;
}

/* =========================
   CENTER CONTENT
========================= */

.content {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   CARD
========================= */

.card {
  width: 360px;
  background: #141417;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,.8);
}

/* CARD HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.token {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: none;
}

.title {
  font-weight: 700;
  font-size: 14px;
}

.copy {
  font-size: 12px;
  opacity: .7;
  border: 1px solid #2a2a2f;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

/* =========================
   INPUT
========================= */

input {
  width: 100%;
  background: #0f0f12;
  border: 1px solid #2a2a2f;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 14px;
}

/* =========================
   CTA
========================= */

.cta {
  width: 100%;
  background: linear-gradient(180deg,#1f1f24,#17171c);
  color: #fff;
  border: 1px solid #2a2a2f;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* =========================
   BAR
========================= */

.bar {
  height: 8px;
  background: #0f0f12;
  border-radius: 8px;
  margin: 14px 0 6px;
  overflow: hidden;
}

.bar-inner {
  width: 59%;
  height: 100%;
  background: #eaeaea;
}

/* =========================
   COUNTS
========================= */

.counts {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: .85;
}

/* =========================
   FEED
========================= */

.feed {
  margin-top: 14px;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.live {
  color: #00ff88;
  font-size: 11px;
  font-weight: 700;
}

.feed-list {
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a2a2f transparent;
}

.feed-list::-webkit-scrollbar {
  width: 6px;
}

.feed-list::-webkit-scrollbar-track {
  background: transparent;
}

.feed-list::-webkit-scrollbar-thumb {
  background-color: #2a2a2f;
  border-radius: 6px;
}

.feed-list::-webkit-scrollbar-thumb:hover {
  background-color: #3a3a42;
}

/* FEED ITEM */
.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px solid #1f1f25;
}

.addr { opacity: .8; }
.amount { opacity: .8; }

.tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
}

.yes { background: #153; color: #6f6; }
.no  { background: #311; color: #f88; }

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

  .topbar-inner {
    padding: 0 14px;
  }

  .logo {
    font-size: 14px;
  }

  .auth {
    font-size: 12px;
    padding: 6px 10px;
  }

  .content {
    align-items: flex-start;
    padding: 16px;
  }

  .card {
    width: 100%;
    max-width: 420px;
  }

  .feed-list {
    max-height: 160px;
  }
}

/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 380px) {
  .auth {
    display: none;
  }

  .logo {
    font-size: 13px;
  }
}
