* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; }
.site-header { background: #333; color: white; padding: 1rem 0; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center; }
.logo a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.1); }
main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.hero-section { text-align: center; padding: 2rem 0; }
.main-title { font-size: 1.8rem; margin-bottom: 1rem; }
.site-intro { max-width: 800px; margin: 0 auto; color: #666; }
.module-section { margin: 3rem 0; }
.section-title { font-size: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #333; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.video-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.video-card__link { text-decoration: none; color: inherit; display: block; }
.video-cover { position: relative; padding-top: 133%; background: #eee; overflow: hidden; }
.video-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-info { padding: 1rem; }
.video-title { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 600; }
.video-one-line { font-size: 0.9rem; color: #666; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page--with-sidebar { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; }
.layout__side--filters { background: #f5f5f5; padding: 1.5rem; border-radius: 8px; }
.page--top .top-list__items { list-style: none; }
.top-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; margin-bottom: 1rem; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.top-rank { font-size: 1.5rem; font-weight: bold; color: #ff6b6b; min-width: 40px; text-align: center; }
.top-cover { width: 80px; height: 106px; flex-shrink: 0; }
.top-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.top-info { flex: 1; }
.top-title { margin-bottom: 0.5rem; }
.top-title a { text-decoration: none; color: #333; }
.top-meta { font-size: 0.9rem; color: #999; margin-bottom: 0.3rem; }
.top-desc { font-size: 0.9rem; color: #666; }
.page--grouped .group { margin-bottom: 3rem; }
.group-title { font-size: 1.3rem; margin-bottom: 1rem; }
.video-player-section { margin-bottom: 2rem; }
.video-player-inner { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 8px; overflow: hidden; }
.player-play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.9); border: none; width: 80px; height: 80px; border-radius: 50%; cursor: pointer; font-size: 2rem; color: #333; transition: all 0.2s; }
.player-play-btn:hover { background: white; transform: translate(-50%, -50%) scale(1.1); }
.detail-header { margin: 2rem 0; }
.detail-title { font-size: 2rem; }
.detail-info { background: #f5f5f5; padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; }
.info-list { display: grid; grid-template-columns: 100px 1fr; gap: 0.5rem 1rem; }
.info-list dt { font-weight: 600; }
.detail-module { margin: 2rem 0; }
.module-title { font-size: 1.3rem; margin-bottom: 1rem; }
.module-content { line-height: 1.8; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; padding: 0.3rem 0.8rem; background: #e0e0e0; border-radius: 16px; font-size: 0.9rem; }
.related-section { margin-top: 3rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.site-footer { background: #333; color: white; padding: 2rem 0; margin-top: 4rem; text-align: center; }
@media (max-width: 768px) {
  .main-nav { gap: 0.5rem; font-size: 0.9rem; overflow-x: auto; flex-wrap: nowrap; }
  .main-nav a { padding: 0.4rem 0.6rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
  .page--with-sidebar { grid-template-columns: 1fr; }
  .video-cover { padding-top: 60%; }
  .top-item { flex-direction: column; text-align: center; }
}