.down-page {
  color: #071932;
  background: #f4f7fc;
}

.down-page .container {
  max-width: 1200px !important;
}

/* Hero */
.dc-hero {
  position: relative;
  overflow: hidden;
  max-height: 420px;
}

.dc-hero__bg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
}

.dc-hero__content {
  position: absolute;
  top: 55%;
  left: 35%;
  width: 40%;
  transform: translate(-50%, -50%);
  color: #213780;
  text-align: left;
}

.dc-hero__title {
  margin: 0 0 8px;
  font-family: "youshebiaotihei", "Microsoft YaHei", sans-serif;
  font-size: 3.5vw;
  font-weight: 400;
  line-height: 1.2;
}

.dc-hero__desc {
  margin: 0;
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 1.6;
}

/* Products */
.dc-products {
  padding: 48px 16px 24px;
  min-height: 320px;
}

.dc-section-title {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  color: #071932;
  text-align: center;
}

.dc-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0e7aff, #15c4ff);
}

@keyframes dc-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.dc-skeleton {
  border-radius: 10px;
  background: linear-gradient(90deg, #e8eef6 0%, #f5f8fc 45%, #e8eef6 90%);
  background-size: 200% 100%;
  animation: dc-skeleton-shimmer 1.4s ease-in-out infinite;
}

.dc-product-grid--loading {
  min-height: 220px;
}

.dc-product-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 210px;
}

.dc-skeleton--label {
  width: 120px;
  height: 20px;
  margin-bottom: 12px;
}

.dc-skeleton--btn {
  width: 148px;
  height: 48px;
  border-radius: 12px;
}

.dc-versions-loading {
  min-height: 520px;
}

.dc-skeleton--breadcrumb {
  width: 100%;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 10px;
}

.dc-timeline--loading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-version-skeleton {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(14, 122, 255, 0.08);
  box-shadow: 0 8px 24px rgba(14, 74, 142, 0.04);
}

.dc-version-skeleton__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-right: 2px solid #e8eef6;
}

.dc-skeleton--date {
  width: 96px;
  height: 18px;
}

.dc-skeleton--ago {
  width: 72px;
  height: 14px;
}

.dc-version-skeleton__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-skeleton--version {
  width: 88px;
  height: 24px;
}

.dc-skeleton--changelog {
  width: 100%;
  height: 96px;
  border-radius: 10px;
}

.dc-skeleton--action {
  width: 96px;
  height: 36px;
  border-radius: 999px;
}

.dc-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 32px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(14, 122, 255, 0.18);
}

.dc-empty-state p {
  margin: 0;
  font-size: 15px;
  color: #617089;
}

.dc-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 24px;
}

.dc-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 210px;
}

.dc-product-item__name {
  display: block;
  width: 100%;
  min-height: 20px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #15367a;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-product-item .btn-group {
  display: flex;
  justify-content: center;
  width: 148px;
}

.dc-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 148px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid rgba(14, 122, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #5d6f8f, #4a5d7a);
  box-shadow: 0 6px 18px rgba(14, 74, 142, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dc-product-btn:hover,
.dc-product-btn.is-active,
.dc-product-btn.show {
  color: #fff;
  background: linear-gradient(135deg, #0e7aff, #15c4ff);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(14, 122, 255, 0.28);
  transform: translateY(-2px);
}

.dc-product-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dc-product-item .dropdown-menu {
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(14, 122, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(14, 74, 142, 0.14);
}

.dc-product-item .dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #27364c;
}

.dc-product-item .dropdown-item:hover {
  color: #0e7aff;
  background: #eef4ff;
}

/* Versions */
.dc-versions {
  padding: 24px 16px 100px;
  min-height: 560px;
}

.dc-breadcrumb {
  margin: 0 0 24px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0e7aff;
  background: #eef4ff;
  border: 1px solid rgba(14, 122, 255, 0.12);
}

.dc-version-summary {
  margin: 0 0 16px;
  font-size: 13px;
  color: #617089;
  text-align: right;
}

.dc-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-version-more {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.dc-more-btn {
  min-width: 220px;
  min-height: 42px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #0e7aff, #15c4ff);
  box-shadow: 0 8px 20px rgba(14, 122, 255, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dc-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 122, 255, 0.32);
}

.dc-more-btn--ghost {
  color: #0e7aff;
  background: #fff;
  border: 1px solid rgba(14, 122, 255, 0.28);
  box-shadow: none;
}

.dc-more-btn--ghost:hover {
  background: #eef4ff;
  box-shadow: none;
}

.dc-version-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(14, 122, 255, 0.1);
  box-shadow: 0 8px 24px rgba(14, 74, 142, 0.06);
}

.dc-version-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-right: 2px solid #e8eef6;
}

.dc-version-card__date {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #071932;
}

.dc-version-card__ago {
  margin: 0;
  font-size: 13px;
  color: #617089;
}

.dc-version-card__body {
  min-width: 0;
}

.dc-version-card__version {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #0e7aff;
}

.dc-version-card__changelog {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(14, 122, 255, 0.08);
  list-style: none;
}

.dc-version-card__changelog li {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.65;
  color: #617089;
}

.dc-version-card__changelog li:last-child {
  margin-bottom: 0;
}

.dc-version-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dc-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #0e7aff, #15c4ff);
  box-shadow: 0 6px 16px rgba(14, 122, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dc-download-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 122, 255, 0.32);
}

.dc-download-btn a {
  color: inherit;
  text-decoration: none;
}

.dc-earthvis-link {
  font-size: 14px;
  font-weight: 600;
  color: #0e7aff;
  text-decoration: underline;
  cursor: pointer;
}

.dc-earthvis-link:hover {
  color: #0753c7;
}

/* Install guide */
.dc-install-guide {
  position: fixed;
  right: 20px;
  bottom: 120px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  min-height: 88px;
  padding: 12px 8px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  background: linear-gradient(180deg, #0e7aff, #0753c7);
  box-shadow: 0 12px 28px rgba(14, 122, 255, 0.35);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dc-install-guide:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(14, 122, 255, 0.4);
}

@media (max-width: 767px) {
  .dc-hero__content {
    top: 52%;
    left: 50%;
    width: 86%;
    transform: translate(-50%, -50%);
  }

  .dc-hero__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .dc-hero__desc {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .dc-product-grid {
    gap: 20px 16px;
  }

  .dc-product-item {
    width: calc(50% - 8px);
  }

  .dc-product-skeleton {
    width: calc(50% - 8px);
  }

  .dc-product-item__name {
    font-size: 12px;
  }

  .dc-version-skeleton {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dc-version-skeleton__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 2px solid #e8eef6;
  }

  .dc-version-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dc-version-card__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 2px solid #e8eef6;
  }

  .dc-install-guide {
    right: 12px;
    bottom: 80px;
    width: 64px;
    min-height: 76px;
    font-size: 11px;
  }
}
