/* Custom styles for syndication-based tweets */
.tweet-embed-native {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 0;
  box-shadow: var(--shadow-soft);
  margin: 1rem 0;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tweet-embed-native:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tweet-media {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.tweet-media img,
.tweet-media video {
  width: 100%;
  display: block;
}

.tweet-media video {
  max-height: 400px;
  object-fit: contain;
  background: #000;
}

.tweet-footer {
  padding: 1rem;
  font-size: 0.9rem;
}

.tweet-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tweet-footer-row:last-child {
  margin-bottom: 0;
}

.tweet-author {
  color: var(--text-primary);
  font-weight: 600;
}

.tweet-stat,
.tweet-date {
  color: var(--text-secondary);
}

.tweet-view-link {
  color: var(--accent-primary);
  font-weight: 500;
}

.tweet-footer {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Fallback for failed tweets */
.tweet-fallback {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem auto;
  max-width: 550px;
}

.tweet-fallback a {
  color: var(--accent-primary);
  text-decoration: none;
}

.tweet-fallback a:hover {
  text-decoration: underline;
}