
body.ui-style-3 {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
  --text-color: #333333;
  --border-color: #e0e0e0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-header, .page-header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  margin-bottom: 2rem;
}

.site-header h1, .page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline, .intro {
  font-size: 1.1rem;
  opacity: 0.9;
}

section {
  margin-bottom: 3rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

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

.video-card {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.video-card h3 a:hover {
  color: var(--primary-color);
}

.meta {
  color: #666;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.genre {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.oneline {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.link-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-box {
  padding: 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s;
}

.link-box:hover {
  background: var(--bg-color);
}

.link-box h3 a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.3rem;
}

.link-box p {
  color: #666;
  margin-top: 0.5rem;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-item {
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  background: var(--bg-color);
  border-radius: 4px;
}

.video-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.video-item h3 a:hover {
  color: var(--primary-color);
}

.summary {
  color: #555;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.more-link {
  text-align: center;
  margin-top: 2rem;
}

.more-link a {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.more-link a:hover {
  background: var(--secondary-color);
}

.video-list-full {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-item-detailed {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.video-item-detailed.with-rank .rank {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  min-width: 50px;
}

.video-item-detailed .date {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
  min-width: 60px;
}

.video-item-detailed .content {
  flex: 1;
}

.summary-short {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.detail-page {
  max-width: 900px;
}

.video-detail header h1 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.basic-info dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.8rem;
  line-height: 1.8;
}

.basic-info dt {
  font-weight: 600;
  color: var(--secondary-color);
}

.basic-info dd {
  color: #555;
}

.highlight .oneline {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.8;
}

.summary-section .summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.review-section .review {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  background: var(--bg-color);
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent-color);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.related-card {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: transform 0.3s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.related-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.related-card h3 a:hover {
  color: var(--primary-color);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--secondary-color);
  color: white;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .site-header h1, .page-header h1 {
    font-size: 1.8rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .link-boxes {
    grid-template-columns: 1fr;
  }

  .basic-info dl {
    grid-template-columns: 100px 1fr;
    gap: 0.5rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
