/* How it works page */
.how-it-works-content { line-height: 1.65; }
.how-it-works__heading {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 1.25rem 0 0.5rem;
}
.how-it-works__heading:first-child { margin-top: 0; }
.how-it-works__p {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0.5rem 0;
}
.how-it-works__list {
  margin: 0.5rem 0 0.75rem 1.25rem;
  font-size: 0.9375rem;
  color: #374151;
}
.how-it-works__list li { margin: 0.35rem 0; }

.dark .how-it-works__heading { color: #f1f5f9; }
.dark .how-it-works__p,
.dark .how-it-works__list { color: #cbd5e1; }

/* Polymarket-style market cards */
.market-card__btn {
  border: 1px solid transparent;
  transition: filter 0.15s, transform 0.1s;
}
.market-card__btn:active { transform: translateY(1px); }
.market-card__btn--yes {
  background: #dcfce7;
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}
.market-card__btn--yes:hover { filter: brightness(0.95); background: #16a34a; color: #fff; }
.market-card__btn--no {
  background: #fee2e2;
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
}
.market-card__btn--no:hover { filter: brightness(0.95); background: #dc2626; color: #fff; }

.dark .market-card__btn--yes { background: rgba(22, 163, 74, 0.2); color: #4ade80; }
.dark .market-card__btn--no { background: rgba(220, 38, 38, 0.2); color: #f87171; }
.dark .market-card__btn--yes:hover { background: #16a34a; color: #fff; }
.dark .market-card__btn--no:hover { background: #dc2626; color: #fff; }

.market-save-btn.is-saved { color: #f59e0b; }

/* Polymarket-style market thumbnails */
.market-thumb {
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.market-thumb--card {
  width: 3rem;
  height: 3rem;
}
.market-thumb--detail {
  width: 4rem;
  height: 4rem;
}
.market-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
  border-color: transparent;
}
.market-thumb__letter {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.market-thumb--detail .market-thumb__letter {
  font-size: 1.5rem;
}
.dark .market-thumb {
  background: #1e293b;
  border-color: #334155;
}
.dark .market-thumb--placeholder {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  border-color: transparent;
}
