.loadingBox {
    display: flex;
    height: 100%;
    justify-content: center;
    align-content: center;
    flex: 1;
}

.productInfoContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow-x: visible;
    padding: 24px;
    padding-bottom: 0;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.productTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.productInfo {
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    line-height: normal;
    display: flex;
    flex-direction: column;

    img {
        height: auto;
        max-width: 100%;
    }

    hr {
        border: none;
        border-top: 1px solid 0, 0%, calc(calc(100% - (-1 * 16%)) - (-1 * 4%)), 1;
        clear: both;
    }

    * {
        box-sizing: border-box;
    }

    .link {
        color: #0d91ff;
    }

    .bbCodeBlock {
        border-radius: 10px;
        border: 1px solid hsl(0, 0%, calc(calc(100% - (1 * 16%)) + (1 * 6%))) !important;
    }

    .bbCodeBlock--unfurl {
        color: #141414;
        background: white;
        padding: 16px;
        width: 650px;
        max-width: 100%;
        overflow: hidden;
    }

    .contentRow-figure.contentRow-figure--fixedSmall {
        width: 60px;
    }

    .contentRow-figure {
        vertical-align: top;
        white-space: nowrap;
        word-wrap: normal;
        text-align: center;
    }

    .contentRow-main {
        flex: 1;
        min-width: 0;
        vertical-align: top;
        padding-left: 16px;
    }
}

.productInfo p {
    margin: 0;
}

.productInfoTitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
}

.productInfoAuthors {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.productInfoLink {
    color: color-mix(in srgb, var(--bg-color) 75%, var(--colorNeutralForeground1));
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease-in;
}

.productInfoLink:hover {
    color: color-mix(in srgb, var(--bg-color) 35%, var(--colorNeutralForeground1));
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.15s ease-out;
}

.productTagsContainer {
    display: flex;
    flex-direction: row;
    padding: 8px 0;
    align-items: center;
    justify-content: flex-start;
}

.previewScroller {
    margin: 10px 0;
    overflow-x: auto;
    min-height: 120px;
    padding-bottom: 8px;
}

.previewImage {
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    max-height: 250px;
    flex-shrink: 0;
    /* 防止图片被压缩 */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.productTags {
    flex-direction: column;
    align-items: center;
    min-width: 72px;
    max-height: 26px;
    display: flex;
    justify-content: center;
}

.productTags:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    padding-right: 16px;
    margin-right: 16px;
}

.productTagsTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.productTags p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    /* margin-top: 4px; */
}

.productTags span {
    font-size: 12px;
    opacity: 0.5;
}

.linearBg {
    position: absolute;
    top: 0px;
    margin-left: -17px;
    width: calc(100vw - 70px);
    height: 364px;
    pointer-events: none;
    border-radius: var(--border-radius);
    opacity: 0.35;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    mask-image: url('./linearBgMask.svg');
    mask-mode: luminance;
    mask-size: auto 100%;
}

/* .linearBgContent {
    height: 296px;
    width: 200%;
    min-width: 200%;
    max-width: 200%;
    transform: translateY(-50%);
    filter: blur(72px);
} */

.downloadBtn {
    position: relative;
    display: flex;
    flex-direction: row;
    min-width: 180px;
    height: 48px;
    border-radius: var(--borderRadiusLarge);
    font-size: 14px;
    text-align: start;
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--bg-color) 60%, black);
    background: color-mix(in srgb, var(--bg-color) 90%, var(--colorNeutralForeground1));
    overflow: hidden;
    transition: all 0.3s ease;
}

.downloadBtn:hover {
    box-shadow: 0 2px 8px var(--colorNeutralShadowKey) !important;
    filter: brightness(1.1);
    -webkit-filter: brightness(1.1);
}

.btnContent {
    padding: var(--spacingVerticalM);
    padding-bottom: 14px;
    height: 48px;
    /* position: absolute; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    margin-top: -49px;
    margin-left: -6px;
    margin-right: -6px;
    gap: 6px;
    color: white;
}

@media (prefers-color-scheme: dark) {
    .productTags:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 16px;
        margin-right: 16px;
    }

    .btnContent {
        color: black;
    }

    .dropDownMenuIcon {
        border-left: 1px solid rgba(0, 0, 0, 0.2);
    }
}

.shareBtnGroup,
.btnGroup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btnGroup {
    margin-top: 6px;
}

.shareBtnGroup button:hover {
    color: color-mix(in srgb, var(--bg-color) 75%, var(--colorNeutralForeground1));
}

@media (max-width: 768px) {
    .productInfoContainer {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        padding-bottom: 0;
        gap: 24px;
    }

    .productTagsContainer {
        width: 100%;
    }

    .productTags {
        min-width: fit-content;
        width: 100%;
    }

    .linearBg {
        margin-left: -16px;
        border-radius: 0;
        opacity: 0.25;
        width: calc(100vw);
    }

    .btnGroup {
        flex-direction: column;
        width: 100%;
    }

    .btnContent {
        align-items: center;
        justify-content: center;
    }
}