/* ============================================================
   SevenTicker — FTM Moves Page (follow-the-money/index.html)
   ============================================================ */

.moves-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 48px) 64px;
}

/* ── Header ── */
.moves-page__back {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.moves-page__back:hover { color: var(--text-secondary); }

.moves-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 6px;
}

.moves-page__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ── Section ── */
.moves-section {
  margin-bottom: 48px;
}

.moves-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.moves-section__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.moves-section__title--opened { color: var(--positive); }
.moves-section__title--closed { color: var(--negative); }

.moves-section__count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Table ── */
.moves-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.moves-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.moves-table thead th {
  font-family: var(--font-heading);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.moves-table thead th:last-child { text-align: right; }

.moves-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}

.moves-table tbody tr:last-child { border-bottom: none; }

.moves-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.moves-table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  color: var(--text-secondary);
}

.moves-table tbody td:last-child { text-align: right; }

/* ── Cells ── */
.moves-td-rank { width: 40px; }

.moves-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  width: 22px;
  height: 22px;
}

.moves-td-company {
  font-size: 0.84rem;
  color: var(--text-primary);
}

.moves-td-count { width: 140px; }

.moves-count-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.moves-count {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.moves-count--all {
  color: var(--accent);
}

.moves-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.moves-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.moves-dot--opened { background: var(--positive); }
.moves-dot--closed { background: var(--negative); }

/* ── States ── */
.moves-empty {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 20px 16px;
  text-align: center;
}

/* ── Disclaimer ── */
.moves-page__disclaimer {
  margin-top: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .moves-td-count { width: auto; }

  .moves-count-wrap { gap: 6px; }

  .moves-dot { width: 6px; height: 6px; }
}
