.download-list {
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
    position: relative;
    display: block;

    & .inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.6rem;

        & .left-wrap {
            width: 5.65rem;
        }

        & .right-wrap {
            width: 7.5rem;
            margin-left: auto;
            margin-right: 0;
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
        }

        & .download-items-wrap {
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        & .download-item {
            width: 6.9rem;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.3rem;
            padding: 0.3rem 0;
            position: relative;

            &:hover {
                & .title-label-wrap {
                    & .hover-text > span {
                        transform: translate(0, -250%);
                    }

                    & .hover-text::after {
                        transform: translate(-50%, -50%);
                    }
                }
            }

            &::after {
                content: "";
                background-color: var(--color-7);
                width: 100%;
                height: 1px;
                display: block;
                position: absolute;
                bottom: 0;
                left: 0;
            }

            &:first-of-type {
                &::before {
                    content: "";
                    background-color: var(--color-7);
                    width: 100%;
                    height: 1px;
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }

            & .download-item-box {
                width: 0.9rem;
                height: 0.9rem;
                display: flex;
                align-items: flex-end;
                justify-content: flex-start;
                padding: 0.15rem;
                background-color: var(--color-3);
                border-radius: 0.15rem;
            }

            & .title-label-wrap {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 0.3rem;
                width: calc(100% - 1.2rem);

                & .download-title {
                    width: calc(100% - 1.05rem);
                }

                & .hover-text {
                    position: relative;
                    overflow: hidden;
                    padding: 0.03rem 0;
                    margin: -0.03rem 0;
                    width: 0.75rem;

                    & span {
                        transition: transform 600ms var(--ease);
                        display: block;
                        position: relative;
                    }

                    &::after {
                        display: block;
                        content: attr(data-text);
                        position: absolute;
                        transform: translate(-50%, 250%);
                        transform-origin: 50% 0%;
                        top: 50%;
                        left: 50%;
                        transition: transform 600ms var(--ease);
                        width: 100%;
                        height: 100%;
                        padding: 0.03rem 0;
                    }
                }
            }
        }
    }

    &.small-title {
        margin: 0;

        & .inner {
            position: relative;
            padding: 0.3rem 0;

            &:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 0.01rem;
                background-color: rgba(0, 0, 0, 0.2);
            }

            &:after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 0.01rem;
                background-color: rgba(0, 0, 0, 0.2);
            }

            &.remove-top-border {
                &:before {
                    display: none;
                }
            }

            &.remove-bottom-border {
                &:after {
                    display: none;
                }
            }

            & .right-wrap {
                & .download-items-wrap {
                    gap: 0.1rem;

                    & .download-item {
                        width: 100%;
                        padding: 0;

                        &::after,
                        &::before {
                            display: none;
                        }
                    }
                }
            }
        }
    }

    @media screen and (max-width: 768px) {
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;

        & .inner {
            flex-direction: column;
            justify-content: flex-start;
            gap: 0.2rem;

            & .left-wrap {
                width: 100%;
            }

            & .right-wrap {
                width: 100%;
                padding-right: 0;
                margin: 0;
                gap: 0.4rem;
            }

            & .download-items-wrap {
                width: 100%;
                display: flex;
                flex-direction: column;
            }

            & .download-item {
                width: 100%;
                padding: 0.2rem 0;

                & .download-item-box {
                    border-radius: 0.1rem;
                }

                & .title-label-wrap {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;
                    gap: 0.3rem;
                    width: calc(100% - 1.2rem);
                }
            }
        }

        &.small-title {
            margin: 0;

            & .inner {
                & .right-wrap {
                    & .download-items-wrap {
                        gap: 0.2rem;

                        & .download-item {
                            width: 100%;
                            padding: 0;
                            align-items: flex-start;
                            gap: 0.2rem;

                            .download-item-box {
                                width: 0.4rem;
                                height: 0.4rem;
                                padding: 0.06rem;

                                & .file-type {
                                    font-size: 0.07rem;
                                    line-height: 0.08rem;
                                }
                            }

                            & .title-label-wrap {
                                gap: 0.2rem;
                                width: calc(100% - 0.6rem);
                                align-items: flex-start;
                            }

                            & .download-title {
                                width: 100%;
                                font-size: 0.17rem;
                                line-height: 130%;
                            }

                            & .hover-text {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
}
