/* Shared fallback download options for users who cannot reach the direct link. */
.netdisk-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.download-section > .netdisk-download {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.netdisk-download-copy {
  display: flex;
  flex: 1 1 320px;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.netdisk-download-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ccebdd;
  font-size: 18px;
}

.netdisk-download strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.netdisk-download p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.netdisk-download-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.netdisk-download-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.netdisk-download-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.netdisk-download-link:focus-visible {
  outline: 2px solid #bfe3d3;
  outline-offset: 2px;
}

.netdisk-download-link svg {
  width: 15px;
  height: 15px;
}

.netdisk-download-code {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

p.netdisk-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin: 14px 0 0;
  color: #68746d;
  font-size: 12px;
  line-height: 1.7;
}

p.netdisk-hint a {
  color: #27604d;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

p.netdisk-hint a:hover {
  color: #173b32;
}

@media (max-width: 760px) {
  .netdisk-download {
    align-items: flex-start;
    padding: 15px;
  }

  .netdisk-download-links {
    width: 100%;
  }

  .netdisk-download-link {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .netdisk-download-links {
    flex-direction: column;
  }

  .netdisk-download-link {
    width: 100%;
    flex: 0 0 auto;
  }
}
