/* --- Danmaku & Comments Styles --- */
.comments-section {
  margin-top: 60px;
  border-top: 1px solid #e2e2e2;
  padding: 40px 16px;
}

.comments-section h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #2c2c2c;
}

.cf-comments {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  border-radius: 8px;
}

/* Danmaku overlay */
.danmaku-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let user click through to comments below */
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  font-weight: 500;
}

@media (max-width: 780px) {
  .cf-comments { height: 250px; }
  .comments-section { padding: 20px 16px; }
}

@keyframes fly-right {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
