
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.video-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-card h3, .video-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.video-card .meta {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.video-card .one-line {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

.video-card .tags {
  color: #0066cc;
  font-size: 13px;
  margin-top: 8px;
}

.video-list {
  list-style: none;
}

.video-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 15px;
}

.video-item:hover {
  background: #f9f9f9;
}

.video-item .rank {
  font-weight: bold;
  color: #0066cc;
  min-width: 30px;
}

.video-item a {
  flex: 1;
  font-size: 16px;
}

.video-item .year {
  color: #999;
  font-size: 14px;
}

.video-rank-list {
  list-style: none;
}

.rank-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

.rank-num {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
  min-width: 40px;
}

.rank-content {
  flex: 1;
}

.rank-content h3 {
  margin-bottom: 8px;
}

.genre-group {
  margin-bottom: 40px;
}

.genre-group h3 {
  font-size: 22px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
}

.detail-page > div {
  margin-bottom: 30px;
}

.detail-page h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0066cc;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.more-link {
  text-align: center;
  margin-top: 20px;
}

.more-link a {
  display: inline-block;
  padding: 10px 30px;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
}

.more-link a:hover {
  background: #004499;
}

.page-desc {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-card {
    padding: 15px;
  }

  .rank-item {
    padding: 15px;
  }

  .rank-num {
    font-size: 20px;
    min-width: 30px;
  }
}
