.product-wrap{
    width: 100%;
}
.product-div{
    width: 100%;
    height: 300px;
    display: flex;
    flex-flow: row;
    box-shadow: silver 0px 0px 10px;
    padding:15px;
    margin-bottom: 12px;
}
.product-div .product-div-left{
    width: 20%;min-width: 200px;
}
.product-div .product-div-right{
    width: 75%;
    max-height: 300px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.product-div .product-div-left .product-cover img{
    width: 180px; height: 270px;
    max-width: 30vw;
    max-height: 300px;
}
.product-div .product-logo{
    max-width: 30vw;
    max-height: 72px;
}
.product-div .product-logo img{
    max-height: 72px;
    max-width: 200px;
    text-align: right;
}
.product-div-right-line{
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
}
.product-div-right-line a.btn{
    color: white;
    max-width: 240px;
    max-height: 60px;
    line-height: 60px;
    padding-top: 0;padding-bottom: 0;
    text-align: center;
    vertical-align: middle;
    margin: 0 12px;
    text-transform: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.product-div-right-line a.btn:last-child{
    margin-right: 0;
}
.product-div-right-line a.btn img{
    max-width: 120px;
    max-height: 60px;
    margin: auto;
    line-height: 60px;
    text-align: center;
    vertical-align: middle;
    display: block;
}
.product-div .product-cover img:hover,.product-icon img:hover{
    transform: scale(1.02);
    transition: all 0.5s ease;
    box-shadow: goldenrod 0px 0px 10px;
}
.product-div .title {
    min-width: 200px;margin-right: 100px;
}
.product-div p {
    text-indent: 2em;
}
img, svg{
    vertical-align: baseline;
}
.product-div p{
    margin: 10px 0;
    line-height: 1.3;
}
.product-div .title.white h4{
    color: white;
}
.product-div .title.dark h4{
    color: black;
}

.product-wrap-ios{
    /*background-image: url("/images/bg4.png");*/
    background-repeat: repeat;
    text-align: center;
}
.product-wrap-ios img{
    border-radius: 2.0rem;
}
.appName{
    display:inline-block;
    font-size:1.6rem;
    height: 4.0rem;
    padding-top: 0.3rem;
}
.appDiv{
    margin:0.5rem 0 0.5rem 0;
}
.article .content{
    margin-bottom: 100px;
}
.categories-tags{
    min-height: calc(100vh - 50px);
    position: static;
}
.categories-tags .all-s{
    margin-top:50px;
}
#Mobile-Games{
    margin-top: 60px;
}
/* 自定义 TOC 样式 */
.toc {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
    padding-top: 50px;
    max-width: 20vw;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
}

.toc ul {
    list-style-type: none;
    padding-left: 0;
}

.toc .toc-item {
    margin-bottom: 5px;
}

.toc .toc-item a {
    text-decoration: none;
    color: #333;
}

.toc .toc-item a:hover {
    color: #007BFF;
}

.toc .level-1 {
    font-weight: bold;
}

.toc .level-2 {
    padding-left: 10px;
}

.toc .level-3 {
    padding-left: 20px;
}

.toc .level-4 {
    padding-left: 30px;
}
.index-wrap .product-div{
    background: radial-gradient(circle at 50% 25%, #1c1528, #100828);
    padding-top: 0;
}
.index-wrap .product-div .product-div-left{
    position: relative;
    width: 50vw;
    text-align: center;
    display: flex;flex-flow: row;
    justify-content: space-between;
    padding-top: 20px;
}
.index-wrap .product-div .product-div-left .product-cover{
    width: 25vw;
}
.index-wrap .product-div .product-div-right{
    width: 50vw;
    position: relative;
    padding-top: 50px;
}
.index-wrap .product-icon{
    width: 120px;height: 120px;
    margin: 0 10px 10px 10px;
}
.index-wrap .product-icon img{
    width: 120px;height: 120px;
}
.index-wrap .content .language{
    left:10px; right: unset;
}
.index-wrap{
    width: 100%;
    position: relative;
    display: flex;
    left: 0;
    z-index: 99;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 移动端 */
@media screen and (max-width: 1279px) {
    .toc {
        display: none;
    }
    .product-div{
        display: flex;
        flex-flow: column;
        height: 350px;
    }
    .product-div .product-div-left{
        width: 100%;min-width: 200px;padding: 0;margin: 0;
    }
    .product-div .product-div-right{
        width: 100%;
        max-height: 300px;
        display: flex;
        flex-flow: column;
        justify-content: space-between;
    }
    .product-div .product-div-left .product-cover{
        max-height: 278px;overflow: hidden;
        line-height: 278px;
        vertical-align: middle;
        text-align: center;
    }
    .product-div .product-div-left .product-cover img{
        width: 318px; height: 450px;
        max-width: 300px; max-height: 450px;
    }
    .product-div .product-logo{
        max-width: 30vw;
        max-height: 72px;
    }
    .product-div .product-logo img{
        max-height: 72px;
        max-width: 200px;
        text-align: right;
    }
    .product-div-right-line{
        display: none;
    }
    .product-button-line{
        display: flex;
        width: 100%;
    }
    .product-div-right-line a.btn{
        color: white;
        max-width: 120px;
        max-height: 40px;
        line-height: 40px;
        padding-top: 0;padding-bottom: 0;
        text-align: center;
        vertical-align: middle;
        margin: 8px 0;
        text-transform: none;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 0;
    }
    .product-div-right-line a.btn:last-child{
        margin-right: 0;font-size: 12px; padding: 4px; width: 40%;
    }
    .product-div-right-line a.btn img{
        max-width: 90px; width: auto;
        max-height: 40px;
        margin: auto;
        line-height: 40px;
        text-align: center;
        vertical-align: middle;
        display: block;
    }
    .product-div .title {
        min-width: 200px;margin-right: 100px;
    }
    figure.highlight {
        width: 311px; /* 保持原有尺寸 */
        max-width: 100%; /* 响应式约束 */
        display: inline-block; /* 或 flex */
        overflow: hidden; /* 溢出保护 */
    }

    figure.highlight table {
        width: 100% !important; /* 强制继承容器宽度 */
        table-layout: fixed; /* 关键属性 */
        border-collapse: collapse; /* 合并边框 */
    }

    figure.highlight td {
        overflow-wrap: break-word; /* 强制换行 */
        word-break: break-all; /* 中文换行 */
        padding: 0.5rem; /* 适当间距 */
    }

    figure.highlight pre {
        white-space: pre-wrap; /* 保留换行符 */
        margin: 0; /* 清除默认边距 */
    }
    figure.highlight .language{
        display: none;
    }
    .code{
        padding: 4px!important;
    }
    .code pre{
        padding: 10px;
        margin: 4px;
    }
}
