.detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #409eff;
  text-decoration: none;
}

.breadcrumb .sep {
  color: #bbb;
}

.breadcrumb .current {
  color: #333;
}

.detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.meta-item {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.meta-item label {
  color: #999;
  margin-right: 4px;
}

.meta-item label::after {
  content: '：';
}

.meta-item .score {
  color: #f59e0b;
  font-style: normal;
  font-weight: bold;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-item {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #409eff;
  background: #ecf5ff;
  border-radius: 12px;
  line-height: 1.6;
}

.detail-cover {
  margin-bottom: 20px;
  text-align: center;
}

.detail-cover img {
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  display: inline-block;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  padding-left: 10px;
  border-left: 3px solid #409eff;
}

.detail-desc {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-desc p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.detail-remark {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-remark p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.detail-download {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.download-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.download-label {
  font-size: 14px;
  color: #666;
  min-width: 80px;
}

.download-btn {
  display: inline-block;
  padding: 8px 24px;
  background: #409eff;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.download-btn:hover {
  background: #337ecc;
}

.magnet-btn {
  background: #22c55e;
}

.magnet-btn:hover {
  background: #16a34a;
}

.detail-content {
  margin-bottom: 10px;
}

.content-body {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 10px 0;
}

.content-body p {
  margin: 8px 0;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.nav-prev,
.nav-next {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-prev:hover,
.nav-next:hover {
  border-color: #409eff;
  color: #409eff;
}

.nav-next {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 768px) {
  .detail-container {
    padding: 12px;
  }

  .detail-card {
    padding: 16px;
  }

  .detail-title {
    font-size: 18px;
  }

  .detail-meta {
    gap: 6px 14px;
  }

  .meta-item {
    font-size: 13px;
  }

  .section-title {
    font-size: 15px;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .detail-nav {
    flex-direction: column;
  }

  .nav-prev,
  .nav-next {
    max-width: 100%;
  }

  .nav-next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .detail-card {
    padding: 12px;
  }

  .detail-title {
    font-size: 17px;
  }

  .meta-item {
    font-size: 12px;
  }

  .tag-item {
    font-size: 11px;
    padding: 2px 8px;
  }

  .download-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
}
