.live-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 18px;
  margin-top: 8px;
  border: 1px solid #e8e8ed;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  max-height: 440px;
  overflow-y: auto;
  z-index: 120;
  display: none;
}
.live-group-title {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.live-intent {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px 4px;
}
.live-chip, .intent-chip, .history-chip {
  display: inline-flex;
  align-items: center;
  background: #eef5ff;
  color: #0071e3;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.history-chip { background: #f5f5f7; color: #1d1d1f; }
.history-chip:hover { background: #e8e8ed; }
.live-coin, .live-country, .live-history-item, .live-all {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #1d1d1f;
  border-top: 1px solid #f3f3f5;
}
.live-coin:hover, .live-country:hover, .live-history-item:hover, .live-all:hover {
  background: #f5f5f7;
}
.live-coin img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fbfbfd;
  border-radius: 8px;
  flex-shrink: 0;
}
.live-coin-title { font-size: 13px; font-weight: 600; }
.live-coin-sub {
  font-size: 11px;
  color: #6e6e73;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
.live-muted { font-size: 11px; color: #86868b; margin-left: auto; }
.live-country { font-size: 14px; font-weight: 500; }
.live-all {
  font-size: 13px;
  font-weight: 600;
  color: #0071e3;
  justify-content: center;
}
.live-empty { padding: 18px 16px; color: #86868b; font-size: 13px; text-align: center; }

.intent-bar {
  max-width: 1200px;
  margin: 0 auto 8px;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.intent-note { font-size: 13px; color: #86868b; }

.similar-section, .history-section {
  max-width: 1200px;
  margin: 8px auto 40px;
  padding: 0 16px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 14px;
  color: #1d1d1f;
}
.coin-views { color: #86868b; white-space: nowrap; }
a.coin-card { color: inherit; text-decoration: none; display: block; }

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.search-form .search-input,
.search-form input[type="text"] {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  font-size: 16px;
}
.search-form .search-button,
.search-form button[type="submit"],
.search-form .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

html, body { overflow-x: hidden; }

@media (max-width: 480px) {
  .live-results {
    max-height: min(70vh, 380px);
    border-radius: 14px;
  }
  .live-coin-sub { max-width: 180px; }
  .live-muted { margin-left: 0; display: block; }
  .home-hints a { font-size: 12px; padding: 6px 10px; }
  .intent-bar { padding: 0 12px; }
  .similar-section, .history-section { padding: 0 12px; margin-bottom: 24px; }
  .section-title { font-size: 18px; }
}

@media (max-width: 400px) {
  .search-form {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-form .search-input,
  .search-form input[type="text"] {
    flex: 1 1 100%;
  }
  .search-form .search-button,
  .search-form button[type="submit"],
  .search-form .btn {
    width: 100%;
    justify-content: center;
  }
}
