/* =============================================================================
   RWAddress™ — live-feed.css
   Vertical live feed + stats panel
   Used on: index.html (compact) and live.html (full)
   ============================================================================= */

/* ── STATS BAND ── */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 28px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.xt-value, .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ── LIVE FEED SECTION ── */
.live-feed-section {
  background: var(--bg-grey);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
}
	
.live-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.live-feed-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
  animation: live-pulse 2s infinite;
  flex-shrink: 0;
}

.live-dot.connecting {
  background: var(--text-light);
  animation: none;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
	
.live-feed-link {
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
}

.live-feed-link:hover {
  text-decoration: underline;
}

/* ── FEED LIST ── */
.live-feed-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.live-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  animation: feed-slide-in 0.35s ease;
}
	
.live-feed-item:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(31, 95, 166, 0.08);
}

.live-feed-item.is-new {
  border-color: #A5D6A7;
  background: #F1F8F1;
}

@keyframes feed-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feed-item-left { flex: 1; min-width: 0; }
	
.feed-item-addr {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
	
.live-feed-item:hover .feed-item-addr { color: var(--blue); }

.feed-item-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.feed-item-right { flex-shrink: 0; }
	
.feed-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}
	
.feed-badge.claimed   { background: #FFF3E0; color: #E56500; }
.feed-badge.unclaimed { background: #E3F2FD; color: #1565C0; }
.feed-badge.new       { background: #E8F5E9; color: #2E7D32; }

.live-feed-empty {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-light);
}

/* ── FULL LIVE PAGE ── */
&.live-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-grey);
  flex-wrap: wrap;
  gap: 12px;
}

.live-controls label {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-controls select {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
}

.live-updated { font-size: 12px; color: var(--text-light); }
	
.live-full-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .stats-band { padding: 12px 16px; }
  .stat-item { padding: 4px 16px; }
  .stat-item:nth-child(n+4) { display: none; }
  .live-feed-section { padding: 16px; }
  .live-full-list { padding: 16px 80px; }
  .live-controls { padding: 12px 16px; }
}

.feed-badge.minted { background: #E8F5E9; color: #2E7D32; }
.feed-badges { display: flex; gap: 5px; align-items: center; flex-shrink: 0; }
.claim-info { position: relative; display: inline-flex; align-items: center; }
.claim-info-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #E3F2FD; color: #1565C0; font-size: 10px; font-weight: 700; cursor: help; margin-left: 4px; flex-shrink: 0; }
.claim-tooltip { display: none; position: absolute; right: 0; top: 22px; width: 240px; background: #1a1a2e; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.5; padding: 10px 12px; border-radius: 6px; z-index: 999; box-shadow: 0 4px 16px rgba(0,0,0,0.2); text-transform: none; letter-spacing: 0; pointer-events: none; }
.claim-tooltip a { color: #90CAF9; text-decoration: underline; }
.claim-tooltip::before { content: ''; position: absolute; top: -5px; right: 6px; width: 10px; height: 10px; background: #1a1a2e; transform: rotate(45deg); }
.claim-info:hover .claim-tooltip { display: block; }