/* Smart Landing — ML recommendation widgets */

#smart-sections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.smart-section {
  margin: 48px 0;
}

.smart-section-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(88, 166, 255, 0.15);
  padding-bottom: 12px;
}

.smart-section-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e6edf3;
  margin: 0;
  letter-spacing: -0.01em;
}

.smart-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Bot card */
.smart-bot-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid rgba(88, 166, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #c9d1d9;
  transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.smart-bot-card:hover {
  transform: translateY(-2px);
  border-color: var(--bot-accent, #58a6ff);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 12px color-mix(in srgb, var(--bot-accent, #58a6ff) 25%, transparent);
}

.smart-card-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(88, 166, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.smart-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-card-body {
  flex: 1;
  min-width: 0;
}

.smart-card-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e6edf3;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smart-card-tagline {
  font-size: 0.8rem;
  color: #8b949e;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smart-card-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.smart-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(88, 166, 255, 0.1);
  color: #58a6ff;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 768px) {
  .smart-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .smart-bot-card {
    padding: 12px;
    gap: 10px;
  }

  .smart-card-avatar {
    width: 36px;
    height: 36px;
  }

  .smart-section-header h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .smart-section-grid {
    grid-template-columns: 1fr;
  }
}

/* Skeleton loading */
.smart-bot-card.skeleton {
  pointer-events: none;
}

.smart-bot-card.skeleton .smart-card-avatar,
.smart-bot-card.skeleton .smart-card-name,
.smart-bot-card.skeleton .smart-card-tagline {
  background: linear-gradient(90deg, rgba(88,166,255,0.05) 25%, rgba(88,166,255,0.1) 50%, rgba(88,166,255,0.05) 75%);
  background-size: 200% 100%;
  animation: smart-shimmer 1.5s infinite;
  border-radius: 4px;
  color: transparent;
}

@keyframes smart-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .smart-bot-card { transition: none; }
  .smart-bot-card.skeleton * { animation: none; }
}

/* ---- Hero Search Bar ---- */
.hero-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 20px;
}

.hero-search input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  font-size: 1rem;
  border: 2px solid var(--border, rgba(0,0,0,0.08));
  border-radius: 28px;
  background: var(--bg-card, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 16px center no-repeat;
  color: var(--text, #1a1a2e);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search input:focus {
  border-color: var(--accent, #2563eb);
  box-shadow: 0 0 0 4px var(--accent-glow, rgba(37,99,235,0.15));
}

.hero-search input::placeholder {
  color: var(--text-dim, #64748b);
  font-size: 0.9rem;
}

/* Search results dropdown */
.hero-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  padding: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text, #1a1a2e);
  transition: background 0.15s;
}

.search-result-item:hover {
  background: var(--bg-secondary, #f8fafc);
}

.search-result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-secondary, #f8fafc);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-match {
  font-size: 0.75rem;
  color: var(--text-dim, #64748b);
}

.search-result-score {
  font-size: 0.7rem;
  color: var(--accent, #2563eb);
  font-weight: 600;
  padding: 2px 8px;
  background: var(--accent-glow, rgba(37,99,235,0.1));
  border-radius: 12px;
  white-space: nowrap;
}

.search-hint {
  text-align: center;
  padding: 16px;
  color: var(--text-dim, #64748b);
  font-size: 0.85rem;
}

.search-category-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px 4px;
}

.search-did-you-mean {
  color: var(--accent, #2563eb);
  text-decoration: underline;
  cursor: pointer;
  text-transform: none;
  font-size: 0.85rem;
}

.search-did-you-mean:hover {
  color: var(--success, #10b981);
}

/* Synergy suggestion section */
.smart-synergy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card, #fff);
  border: 2px solid rgba(16,185,129,0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text, #1a1a2e);
}

.smart-synergy-card:hover {
  transform: translateY(-2px);
  border-color: var(--success, #10b981);
  box-shadow: 0 4px 20px rgba(16,185,129,0.15);
}

.synergy-progress-ring {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.synergy-progress-ring svg {
  transform: rotate(-90deg);
}

.synergy-progress-ring circle {
  fill: none;
  stroke-width: 4;
}

.synergy-ring-bg {
  stroke: var(--border, rgba(0,0,0,0.08));
}

.synergy-ring-fill {
  stroke: var(--success, #10b981);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.synergy-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success, #10b981);
}

.synergy-card-body {
  flex: 1;
  min-width: 0;
}

.synergy-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.synergy-card-bonus {
  font-size: 0.8rem;
  color: var(--success, #10b981);
  font-weight: 600;
}

.synergy-card-needed {
  font-size: 0.78rem;
  color: var(--text-dim, #64748b);
  margin-top: 4px;
}

.synergy-card-needed strong {
  color: var(--text, #1a1a2e);
}

/* Popular badge variant */
.smart-badge.popular {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
}

.smart-badge.synergy {
  background: rgba(16,185,129,0.1);
  color: #10b981;
}

.smart-badge.intent {
  background: rgba(139,92,246,0.1);
  color: #8b5cf6;
}

/* New Arrivals section — fresh green accent */
#smart-new-arrivals .smart-section-header {
  border-bottom-color: rgba(16, 185, 129, 0.2);
}

#smart-new-arrivals .smart-section-header h3::before {
  content: '\2728 ';
  color: #10b981;
}

#smart-new-arrivals .smart-bot-card {
  border-color: rgba(16, 185, 129, 0.08);
}

#smart-new-arrivals .smart-bot-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

/* Momentum section — amber flame accent */
#smart-momentum .smart-section-header {
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

#smart-momentum .smart-section-header h3::before {
  content: '\1F525 ';
}

#smart-momentum .smart-bot-card {
  border-color: rgba(245, 158, 11, 0.08);
}

#smart-momentum .smart-bot-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

/* Hidden Gems section — subtle gem accent */
#smart-hidden-gems .smart-section-header {
  border-bottom-color: rgba(168, 85, 247, 0.2);
}

#smart-hidden-gems .smart-section-header h3::before {
  content: '\2666 ';
  color: #a855f7;
}

#smart-hidden-gems .smart-bot-card {
  border-color: rgba(168, 85, 247, 0.08);
}

#smart-hidden-gems .smart-bot-card:hover {
  border-color: #a855f7;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

/* People Also Added section */
#smart-also-bought .smart-section-header {
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

#smart-also-bought .smart-section-header h3::before {
  content: '\1F465 ';
}

#smart-also-bought .smart-bot-card {
  border-color: rgba(245, 158, 11, 0.08);
}

#smart-also-bought .smart-bot-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

/* Because You Browsed section — indigo accent */
#smart-because-browsed .smart-section-header {
  border-bottom-color: rgba(99, 102, 241, 0.2);
}

#smart-because-browsed .smart-section-header h3::before {
  content: '\1F517 ';
  color: #6366f1;
}

#smart-because-browsed .smart-bot-card {
  border-color: rgba(99, 102, 241, 0.08);
}

#smart-because-browsed .smart-bot-card:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

/* Session Collaborative section — teal accent */
#smart-session-collab .smart-section-header {
  border-bottom-color: rgba(16, 185, 129, 0.2);
}

#smart-session-collab .smart-section-header h3::before {
  content: '\1F50D ';
  color: #10b981;
}

#smart-session-collab .smart-bot-card {
  border-color: rgba(16, 185, 129, 0.08);
}

#smart-session-collab .smart-bot-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

/* Surprise Me section — purple accent */
#smart-surprise .smart-section-header {
  border-bottom-color: rgba(168, 85, 247, 0.2);
}

#smart-surprise .smart-section-header h3::before {
  content: '\1F3B2 ';
  color: #a855f7;
}

#smart-surprise .smart-bot-card {
  border-color: rgba(168, 85, 247, 0.08);
}

#smart-surprise .smart-bot-card:hover {
  border-color: #a855f7;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

/* Section entrance animations */
.smart-section {
  animation: smart-fade-in 0.4s ease-out;
}

@keyframes smart-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .smart-section { animation: none; }
}

/* Search spotlight — highlight matching bot cards in the grid */
.landing-main.search-active .bot-card {
  opacity: 0.25;
  transform: scale(0.97);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.landing-main.search-active .bot-card.search-match {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 20px var(--card-accent, rgba(37,99,235,0.3));
  border-color: var(--card-accent, #2563eb);
}

.landing-main.search-active .bot-card.search-match .bot-card-name {
  color: var(--accent, #2563eb);
}

/* Search match count badge on category headers */
.search-match-count {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--accent, #2563eb);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  margin-left: 10px;
  font-weight: 600;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .hero-search { max-width: 100%; margin: 0 auto 16px; }
  .hero-search input { font-size: 0.9rem; padding: 12px 16px 12px 40px; }
  .hero-search-results { max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-main.search-active .bot-card { transition: none; }
}

/* ===== Team Progress Section ===== */

.smart-team-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  align-items: flex-start;
}

.smart-team-card {
  flex: 0 0 260px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(88, 166, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s, transform 0.15s;
}
.smart-team-card:hover {
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(-2px);
}
.smart-team-card.complete {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.smart-team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.smart-team-header strong {
  font-size: 0.88rem;
  color: #e6edf3;
}
.smart-team-bonus {
  font-size: 0.72rem;
  color: #10b981;
  padding: 2px 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  font-weight: 600;
}

.smart-team-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.smart-team-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.smart-team-bots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.smart-team-bot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smart-team-bot.owned {
  border-color: #10b981;
  opacity: 1;
}
.smart-team-bot.in_cart {
  border-color: #3b82f6;
  opacity: 1;
}
.smart-team-bot.needed {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.4;
}
.smart-team-bot img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.smart-team-strength {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(88, 166, 255, 0.06);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #8b949e;
  min-width: 200px;
}
.smart-team-strength strong {
  color: #58a6ff;
  font-size: 1.1rem;
}
.smart-synergy-mult {
  color: #10b981;
  font-weight: 600;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .smart-team-card { flex: 0 0 220px; }
}

/* ===== SMART BUNDLES SECTION ===== */
#smart-bundles .smart-section-header { border-bottom-color: rgba(249, 115, 22, 0.2); }
#smart-bundles .smart-section-header h3::before { content: '\1F4E6 '; color: #f97316; }
.smart-section-sub {
  font-size: 0.78rem;
  color: #8b949e;
  font-weight: 400;
  margin-left: 0.5rem;
}
.smart-bundles-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
}
.smart-bundle-card {
  flex: 0 0 320px;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(139, 148, 158, 0.15);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.15s;
}
.smart-bundle-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}
.bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bundle-name { color: #e6edf3; font-size: 0.95rem; }
.bundle-bonus {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.bundle-bots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bundle-bot {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(139, 148, 158, 0.2);
  transition: border-color 0.2s;
}
.bundle-bot:hover { border-color: #f97316; }
.bundle-bot.owned { border-color: #22c55e; }
.bundle-bot img { width: 100%; height: 100%; object-fit: cover; }
.bundle-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #22c55e;
  color: #fff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-progress { display: flex; flex-direction: column; gap: 4px; }
.bundle-bar {
  height: 4px;
  background: rgba(139, 148, 158, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.bundle-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  border-radius: 2px;
  transition: width 0.6s ease;
}
.bundle-status {
  font-size: 0.72rem;
  color: #8b949e;
}
.bundle-cta {
  display: inline-block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bundle-cta:hover { background: rgba(249, 115, 22, 0.1); color: #fbbf24; }
.bundle-complete {
  text-align: center;
  font-size: 0.78rem;
  color: #22c55e;
  font-weight: 600;
}

/* ===== NEXT BOT SECTION ===== */
#smart-next-bot .smart-section-header { border-bottom-color: rgba(34, 197, 94, 0.2); }
#smart-next-bot .smart-section-header h3::before { content: '\27A1 '; color: #22c55e; }
#smart-next-bot .smart-bot-card:hover { border-color: rgba(34, 197, 94, 0.4); }

/* ===== PERFECT PAIRS SECTION ===== */
#smart-pairs .smart-section-header { border-bottom-color: rgba(236, 72, 153, 0.2); }
#smart-pairs .smart-section-header h3::before { content: '\1F48E '; color: #ec4899; }
.smart-pairs-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
}
.smart-pair-card {
  flex: 0 0 200px;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(139, 148, 158, 0.12);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}
.smart-pair-card:hover {
  border-color: rgba(236, 72, 153, 0.35);
  transform: translateY(-2px);
}
.pair-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pair-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(139, 148, 158, 0.2);
  transition: border-color 0.2s;
}
.pair-avatar:hover { border-color: #ec4899; }
.pair-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pair-chem {
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 32px;
}
.pair-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.pair-verdict {
  font-size: 0.78rem;
  font-weight: 600;
}
.pair-synergy {
  font-size: 0.65rem;
  color: #f97316;
  background: rgba(249, 115, 22, 0.08);
  padding: 2px 8px;
  border-radius: 8px;
}

/* ===== CATEGORY INSIGHTS SECTION ===== */
#smart-categories .smart-section-header { border-bottom-color: rgba(99, 102, 241, 0.2); }
#smart-categories .smart-section-header h3::before { content: '\1F4CA '; color: #6366f1; }
.smart-cat-grid {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
}
.smart-cat-card {
  flex: 0 0 180px;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(139, 148, 158, 0.12);
  border-radius: 10px;
  padding: 0.85rem;
  text-decoration: none;
  color: #c9d1d9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.15s;
}
.smart-cat-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}
.cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-name { font-size: 0.85rem; color: #e6edf3; }
.cat-momentum { font-size: 0.9rem; }
.cat-rising { animation: catPulse 2s ease infinite; }
@keyframes catPulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.cat-cooling { opacity: 0.6; }
.cat-stats {
  display: flex;
  gap: 10px;
  font-size: 0.68rem;
  color: #8b949e;
}
.cat-avatars {
  display: flex;
  gap: 4px;
}
.cat-ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(139, 148, 158, 0.15);
}

@media (max-width: 768px) {
  .smart-bundle-card { flex: 0 0 280px; }
  .bundle-bot { width: 30px; height: 30px; }
  .smart-pair-card { flex: 0 0 170px; }
  .smart-cat-card { flex: 0 0 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-rising { animation: none; }
}

/* ===== EXPLAIN TOOLTIP ===== */
.smart-card-explain {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  max-width: 280px;
  z-index: 10;
  pointer-events: none;
  animation: explainFadeIn 0.3s ease;
}
.smart-card-explain span {
  font-size: 0.7rem;
  color: #c9d1d9;
  line-height: 1.3;
}
.smart-card-explain .explain-conf {
  color: #22c55e;
  font-weight: 600;
  font-size: 0.65rem;
  margin-top: 2px;
}
@keyframes explainFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.smart-bot-card { position: relative; }
